Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
611 commits
Select commit Hold shift + click to select a range
95726bf
8276105: C2: Conv(D|F)2(I|L)Nodes::Ideal should handle rounding corre…
shipilev Nov 16, 2021
1d11bcd
8273486: Zero: Handle DiagnoseSyncOnValueBasedClasses VM option
shipilev Nov 16, 2021
e7e83d5
8272369: java/io/File/GetXSpace.java failed with "RuntimeException: j…
akashche Nov 16, 2021
9ff9e62
8271315: Redo: Nimbus JTree renderer properties persist across L&F ch…
akashche Nov 16, 2021
e8eec1f
8273595: tools/jpackage tests do not work on apt-based Linux distros …
theaoqi Nov 16, 2021
e5c70af
8276854: Windows GHA builds fail due to broken Cygwin
shipilev Nov 16, 2021
816b5cd
8263059: security/infra/java/security/cert/CertPathValidator/certific…
shipilev Nov 16, 2021
f9eed14
8275766: (tz) Update Timezone Data to 2021e
Nov 16, 2021
6351767
Merge
robm-openjdk Nov 16, 2021
95573d4
8268882: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()…
TheRealMDoerr Nov 17, 2021
f1a8a22
8276205: Shenandoah: CodeCache_lock should always be held for initial…
zhengyu123 Nov 17, 2021
076941f
8271567: AArch64: AES Galois CounterMode (GCM) interleaved implementa…
Nov 18, 2021
b7c7b84
8271071: accessibility of a table on macOS lacks cell navigation
savoptik Nov 19, 2021
ddc81f2
8274383: JNI call of getAccessibleSelection on a wrong thread
savoptik Nov 19, 2021
7326f39
8276306: jdk/jshell/CustomInputToolBuilder.java fails intermittently …
shipilev Nov 19, 2021
e4cc0c1
8276805: java/awt/print/PrinterJob/CheckPrivilege.java fails due to d…
shipilev Nov 19, 2021
687dd87
8276845: (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
shipilev Nov 19, 2021
397bf95
8275604: Zero: Reformat opclabels_data
shipilev Nov 19, 2021
85f315b
8272854: split runtime/CommandLine/PrintTouchedMethods.java test
shipilev Nov 19, 2021
0e896e7
8277029: JMM GetDiagnosticXXXInfo APIs should verify output array sizes
tstuefe Nov 19, 2021
fdcc3f1
8233020: (fs) UnixFileSystemProvider should use StaticProperty.userDi…
akashche Nov 19, 2021
55f8d8c
8271308: (fc) FileChannel.transferTo() transfers no more than Integer…
akashche Nov 19, 2021
19201da
8276905: Use appropriate macosx_version_minimum value while compiling…
jayathirthrao Nov 19, 2021
acecce5
8276801: gc/stress/CriticalNativeStress.java fails intermittently wit…
zhengyu123 Nov 19, 2021
38db452
8272170: Missing memory barrier when checking active state for regions
Nov 19, 2021
6aa02d7
8275703: System.loadLibrary fails on Big Sur for libraries hidden fro…
Nov 19, 2021
2d69b2d
8277224: sun.security.pkcs.PKCS9Attributes.toString() throws NPE
coffeys Nov 19, 2021
66c051a
8275426: PretouchTask num_chunks calculation can overflow
shipilev Nov 22, 2021
01a9e63
8276864: Update boot JDKs to 17.0.1 in GHA
shipilev Nov 22, 2021
716eeb0
8275226: Shenandoah: Relax memory constraint for worker claiming task…
shipilev Nov 22, 2021
562cb4a
8274942: AssertionError at jdk.compiler/com.sun.tools.javac.util.Asse…
lgxbslgx Nov 23, 2021
03ef5a9
8273235: tools/launcher/HelpFlagsTest.java Fails on Windows 32bit
Nov 23, 2021
7ffac79
8277195: missing CAccessibility definition in [CommonComponentAccessi…
savoptik Nov 23, 2021
d998761
8276139: TestJpsHostName.java not reliable, better to expand HostIden…
DamonFool Nov 23, 2021
6f2bdc0
8274736: Concurrent read/close of SSLSockets causes SSLSessions to be…
Nov 23, 2021
dc7216a
8275811: Incorrect instance to dispose
coffeys Nov 23, 2021
d2d734c
8276927: [ppc64] Port shenandoahgc to linux on ppc64le
TheRealMDoerr Nov 23, 2021
9be7550
8272095: ProblemList java/nio/channels/FileChannel/Transfer2GPlus.jav…
akashche Nov 23, 2021
c47e233
8140241: (fc) Data transfer from FileChannel to itself causes hang in…
akashche Nov 23, 2021
ed45df2
8277212: GC accidentally cleans valid megamorphic vtable inline caches
stefank Nov 23, 2021
8571633
8277093: Vector should throw ClassNotFoundException for a missing cla…
Nov 23, 2021
07eac08
Merge
robm-openjdk Nov 23, 2021
57e6e61
8264293: Create implementation for NSAccessibilityMenu protocol peer
Nov 23, 2021
63981ab
8275819: [TableRowAccessibility accessibilityChildren] method is inef…
Nov 23, 2021
f1d9e37
8275809: crash in [CommonComponentAccessibility getCAccessible:withEnv:]
Nov 23, 2021
846bf12
8272047: java/nio/channels/FileChannel/Transfer2GPlus.java failed wit…
akashche Nov 23, 2021
865d24c
8273678: TableAccessibility and TableRowAccessibility miss autorelease
savoptik Nov 24, 2021
79ede93
8271323: [TESTBUG] serviceability/sa/ClhsdbCDSCore.java fails with -X…
Nov 24, 2021
6da0c63
8272859: Javadoc external links should only have feature version numb…
coffeys Nov 24, 2021
e533d7b
8264297: Create implementation for NSAccessibilityProgressIndicator p…
Nov 24, 2021
2f51d80
8275071: [macos] A11y cursor gets stuck when combobox is closed
Nov 24, 2021
d1df469
Merge
robm-openjdk Nov 24, 2021
670d73e
8276774: Cookie stored in CookieHandler not sent if user headers cont…
Nov 24, 2021
14a1f2a
8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
cl4es Nov 24, 2021
565ec1a
8275863: Use encodeASCII for ASCII-compatible DoubleByte encodings
cl4es Nov 24, 2021
a1049e8
8275720: CommonComponentAccessibility.createWithParent isWrapped caus…
Nov 26, 2021
cd6234d
8274716: JDWP Spec: the description for the Dispose command confuses …
reinrich Nov 26, 2021
1e4ec1d
8274265: Suspicious string concatenation in logTestUtils.inline.hpp
MBaesken Nov 29, 2021
5406f14
8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run…
akashche Nov 29, 2021
e80c9fb
Merge
robm-openjdk Nov 30, 2021
a6c3b5d
8277981: String Deduplication table is never cleaned up due to bad de…
shipilev Dec 1, 2021
fbb7f2d
8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWro…
Dec 6, 2021
aa11a93
8277529: SIGSEGV in C2 CompilerThread Node::rematerialize() compiling…
Dec 7, 2021
6f0f426
Merge
robm-openjdk Dec 7, 2021
2e9b271
8278822: Bump update version for OpenJDK: jdk-17.0.3
GoeLin Dec 17, 2021
c0ab12d
8269175: [macosx-aarch64] wrong CPU speed in hs_err file
Dec 20, 2021
cb06a20
8275586: Zero: Simplify interpreter initialization
shipilev Dec 20, 2021
5ea8f48
8277385: Zero: Enable CompactStrings support
shipilev Dec 20, 2021
cc4a0b1
8278016: Add compiler tests to tier{2,3}
shipilev Dec 21, 2021
4b3a9e3
8277992: Add fast jdk_svc subtests to jdk:tier3
shipilev Dec 22, 2021
6634879
8278116: runtime/modules/LoadUnloadModuleStress.java has duplicate -Xmx
shipilev Dec 22, 2021
13d3046
8278115: gc/stress/gclocker/TestGCLockerWithSerial.java has duplicate…
shipilev Dec 22, 2021
79d97c4
8272327: Shenandoah: Avoid enqueuing duplicate string candidates
shipilev Dec 22, 2021
311bb85
8247980: Exclusive execution of java/util/stream tests slows down tier1
shipilev Dec 22, 2021
515d412
8273351: bad tag in jdk.random module-info.java
shipilev Dec 22, 2021
83f1749
8273162: AbstractSplittableWithBrineGenerator does not create a rando…
shipilev Dec 22, 2021
2cac565
8273704: DrawStringWithInfiniteXform.java failed : drawString with In…
GoeLin Dec 22, 2021
c9ebb93
8275650: Problemlist java/io/File/createTempFile/SpecialTempFile.java…
GoeLin Dec 22, 2021
93234a4
8276177: nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorru…
zhengyu123 Dec 22, 2021
9d0bfe1
8265150: AsyncGetCallTrace crashes on ResourceMark
zhengyu123 Dec 22, 2021
81cd594
8276314: [JVMCI] check alignment of call displacement during code ins…
Dec 23, 2021
d8a22d6
8277777: [Vector API] assert(r->is_XMMRegister()) failed: must be in …
DamonFool Dec 27, 2021
5287dae
8274795: AArch64: avoid spilling and restoring r18 in macro assembler
lewurm Dec 28, 2021
4a38659
8274658: ISO 4217 Amendment 170 Update
GoeLin Dec 28, 2021
15f2406
8274714: Incorrect verifier protected access error message
GoeLin Dec 28, 2021
6aa60ac
8277441: CompileQueue::add fails with assert(_last->next() == __null)…
GoeLin Dec 28, 2021
d30b6e4
8277328: jdk/jshell/CommandCompletionTest.java failures on Windows
MBaesken Dec 29, 2021
38fdf4f
8276623: JDK-8275650 accidentally pushed "out" file
GoeLin Dec 29, 2021
3adb3dd
8278099: two sun/security/pkcs11/Signature tests failed with Assertio…
GoeLin Dec 29, 2021
f016e60
8275610: C2: Object field load floats above its null check resulting …
GoeLin Dec 29, 2021
493a78a
8270874: JFrame paint artifacts when dragged from standard monitor to…
mrserb Dec 29, 2021
dcd9821
8272167: AbsPathsInImage.java should skip *.dSYM directories
mrserb Dec 29, 2021
611a0ea
8273895: compiler/ciReplay/TestVMNoCompLevel.java fails due to wrong …
GoeLin Dec 31, 2021
38f01a7
8275536: Add test to check that File::lastModified returns same time …
GoeLin Dec 31, 2021
0a538a0
8276662: Scalability bottleneck in SymbolTable::lookup_common()
shipilev Jan 3, 2022
8ce6877
8279011: JFR: JfrChunkWriter incorrectly handles int64_t chunk size a…
shipilev Jan 3, 2022
256356d
8274130: C2: MulNode::Ideal chained transformations may act on wrong …
shipilev Jan 3, 2022
7daca99
8275326: C2: assert(no_dead_loop) failed: dead loop detected
GoeLin Jan 5, 2022
8e6ed88
8239502: [TEST_BUG] Test javax/swing/text/FlowView/6318524/bug6318524…
GoeLin Jan 5, 2022
ccb5f86
8273634: [TEST_BUG] Improve javax/swing/text/ParagraphView/6364882/bu…
GoeLin Jan 5, 2022
a471f7a
8275800: Redefinition leaks MethodData::_extra_data_lock
GoeLin Jan 5, 2022
bd28050
8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should on…
GoeLin Jan 5, 2022
775e81d
8273933: [TESTBUG] Test must run without preallocated exceptions
GoeLin Jan 5, 2022
0ccdda4
8274465: Fix javax/swing/text/ParagraphView/6364882/bug6364882.java f…
GoeLin Jan 5, 2022
9acabeb
8278104: C1 should support the compiler directive 'BreakAtExecute'
lgxbslgx Jan 5, 2022
ca59b64
8277342: vmTestbase/nsk/stress/strace/strace004.java fails with SIGSE…
zhengyu123 Jan 5, 2022
4a188e9
8277919: OldObjectSample event causing bloat in the class constant po…
Jan 6, 2022
de2e289
8278239: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine failed w…
GoeLin Jan 6, 2022
3b5fc8c
8278824: Uneven work distribution when scanning heap roots in G1
Jan 6, 2022
e54e3c4
8278627: Shenandoah: TestHeapDump test failed
zhengyu123 Jan 6, 2022
5ea822c
8278987: RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in _…
Jan 6, 2022
3d3533a
8279379: GHA: Print tests that are in error
shipilev Jan 7, 2022
3de6b2c
8266490: Extend the OSContainer API to support the pids controller of…
MBaesken Jan 10, 2022
744d785
8279225: [arm32] C1 longs comparison operation destroys argument regi…
shipilev Jan 10, 2022
7554d8c
8278020: ~13% variation in Renaissance-Scrabble
shipilev Jan 10, 2022
db0b611
8278384: Bytecodes::result_type() for arraylength returns T_VOID inst…
zhengyu123 Jan 10, 2022
ab0ade6
8272398: Update DockerTestUtils.buildJdkDockerImage()
MBaesken Jan 11, 2022
e8b4d82
8244602: Add JTREG_REPEAT_COUNT to repeat execution of a test
shipilev Jan 11, 2022
a9b245b
8269523: runtime/Safepoint/TestAbortOnVMOperationTimeout.java failed …
GoeLin Jan 11, 2022
832a570
8269037: jsig/Testjsig.java doesn't have to be restricted to linux only
GoeLin Jan 11, 2022
6c0f974
8262134: compiler/uncommontrap/TestDeoptOOM.java failed with "guarant…
GoeLin Jan 11, 2022
d716c2b
8278758: runtime/BootstrapMethod/BSMCalledTwice.java fails with relea…
GoeLin Jan 11, 2022
7f684c3
8273682: Upgrade Jline to 3.20.0
zhengyu123 Jan 11, 2022
6884635
8279300: [arm32] SIGILL when running GetObjectSizeIntrinsicsTest
Jan 11, 2022
9f97c82
8276654: element-list order is non deterministic
Jan 11, 2022
75f8752
8225559: assertion error at TransTypes.visitApply
cushon Jan 11, 2022
8d7a6e5
8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
shipilev Jan 12, 2022
2886a4d
8277447: Hotspot C1 compiler crashes on Kotlin suspend fun with loop
GoeLin Jan 13, 2022
30c263c
8278871: [JVMCI] assert((uint)reason < 2* _trap_hist_limit) failed: oob
GoeLin Jan 13, 2022
2e5c400
8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
GoeLin Jan 13, 2022
f652b44
8269849: vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescri…
GoeLin Jan 13, 2022
061bf8f
8273526: Extend the OSContainer API pids controller with pids.current
MBaesken Jan 14, 2022
3c279bd
8277846: Implement fast-path for ASCII-compatible CharsetEncoders on …
TheRealMDoerr Jan 14, 2022
4b5b58d
8273366: [testbug] javax/swing/UIDefaults/6302464/bug6302464.java fai…
parttimenerd Jan 14, 2022
0130fdc
8273967: gtest os.dll_address_to_function_and_library_name_vm fails o…
parttimenerd Jan 14, 2022
fc92adc
8276764: Enable deterministic file content ordering for Jar and Jmod
Jan 14, 2022
78e2153
8274506: TestPids.java and TestPidsLimit.java fail with podman run as…
MBaesken Jan 14, 2022
84457e5
8278309: [windows] use of uninitialized OSThread::_state
tstuefe Jan 14, 2022
e92b2bc
8269206: A small typo in comment in test/lib/sun/hotspot/WhiteBox.java
GoeLin Jan 14, 2022
e965881
8263567: gtests don't terminate the VM safely
GoeLin Jan 15, 2022
3354244
8271202: C1: assert(false) failed: live_in set of first block must be…
GoeLin Jan 15, 2022
d1d0b08
8279412: [JVMCI] failed speculations list must outlive any nmethod th…
GoeLin Jan 15, 2022
6f644e0
8273277: C2: Move conditional negation into rc_predicate
GoeLin Jan 17, 2022
69d296d
8279833: Loop optimization issue in String.encodeUTF8_UTF16
GoeLin Jan 17, 2022
2137e83
8277069: [REDO] JDK-8276743 Make openjdk build Zip Archive generation…
Jan 17, 2022
f749fc7
8280002: jmap -histo may leak stream
tstuefe Jan 18, 2022
d3eb0a2
8279998: PPC64 debug builds fail with "untested: RangeCheckStub: pred…
shipilev Jan 18, 2022
761e298
8276766: Enable jar and jmod to produce deterministic timestamped con…
Jan 18, 2022
c7329f3
8186670: Implement _onSpinWait() intrinsic for AArch64
eastig Jan 18, 2022
3ca676c
8269032: Stringdedup tests are failing if the ergonomically select GC…
GoeLin Jan 19, 2022
36fc98b
8273341: Update Siphash to version 1.0
GoeLin Jan 19, 2022
5e93008
Merge
GoeLin Jan 20, 2022
fe1d8e9
8277137: Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 f…
eastig Jan 20, 2022
43ddf82
8277503: compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java f…
eastig Jan 20, 2022
7273556
8273433: Enable parallelism in vmTestbase_nsk_sysdict tests
shipilev Jan 21, 2022
a39960a
8278389: SuspendibleThreadSet::_suspend_all should be volatile/atomic
shipilev Jan 21, 2022
17cdd90
8273438: Enable parallelism in vmTestbase/metaspace/stressHierarchy t…
shipilev Jan 21, 2022
55fb592
8273972: Multi-core choke point in CMM engine (LCMSTransform.doTransf…
mrserb Jan 21, 2022
25a418d
8278344: sun/security/pkcs12/KeytoolOpensslInteropTest.java test fail…
MBaesken Jan 25, 2022
6315ce3
8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch…
shipilev Jan 25, 2022
28dcaf3
8272553: several hotspot runtime/CommandLine tests don't check exit code
GoeLin Jan 25, 2022
59d39ef
8236505: Mark jdk/editpad/EditPadTest.java as @headful
GoeLin Jan 25, 2022
0a1419c
8253197: vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.…
GoeLin Jan 25, 2022
3d6f331
8177814: jdk/editpad is not in jdk TEST.groups
GoeLin Jan 25, 2022
0cc9d30
8275082: Update XML Security for Java to 2.3.0
MBaesken Jan 26, 2022
096c31c
8276057: Update JMH devkit to 1.33
shipilev Jan 26, 2022
a93e5ef
8275608: runtime/Metaspace/elastic/TestMetaspaceAllocationMT2 too slow
tstuefe Jan 26, 2022
9378f26
8278241: Implement JVM SpinPause on linux-aarch64
eastig Jan 26, 2022
49cf332
8251216: Implement MD5 intrinsics on AArch64
Jan 26, 2022
b23271b
8274753: ZGC: SEGV in MetaspaceShared::link_shared_classes
tstuefe Jan 27, 2022
3bd7875
8279445: Update JMH devkit to 1.34
shipilev Jan 28, 2022
d34650a
8279076: C2: Bad AD file when matching SqrtF with UseSSE=0
shipilev Jan 28, 2022
7a5a8ab
8280526: x86_32 Math.sqrt performance regression with -XX:UseSSE={0,1}
shipilev Jan 31, 2022
22a6279
8279924: [PPC64, s390] implement frame::is_interpreted_frame_valid ch…
TheRealMDoerr Jan 31, 2022
ac8a550
8280155: [PPC64, s390] frame size checks are not yet correct
TheRealMDoerr Jan 31, 2022
cb769c0
8269616: serviceability/dcmd/framework/VMVersionTest.java fails with …
GoeLin Feb 1, 2022
c581598
8273381: Assert in PtrQueueBufferAllocatorTest.stress_free_list_alloc…
GoeLin Feb 1, 2022
869bb36
8280414: Memory leak in DefaultProxySelector
MBaesken Feb 1, 2022
952f9c7
8275645: [JVMCI] avoid unaligned volatile reads on AArch64
GoeLin Feb 1, 2022
592adc8
8278604: SwingSet2 table demo does not have accessible description se…
savoptik Feb 1, 2022
45002c0
8277497: Last column cell in the JTable row is read as empty cell
savoptik Feb 1, 2022
c03b95d
8279124: VM does not handle SIGQUIT during initialization
Feb 1, 2022
6cacf9a
8278381: [GCC 11] Address::make_raw() does not initialize rspec
Feb 2, 2022
0b51fe2
8271506: Add ResourceHashtable support for deleting selected entries
GoeLin Feb 3, 2022
e459c8c
8275874: [JVMCI] only support aligned reads in c2v_readFieldValue
GoeLin Feb 3, 2022
5d54bf5
8274944: AppCDS dump causes SEGV in VM thread while adjusting lambda …
GoeLin Feb 3, 2022
ff3eec1
8275847: Scheduling fails with "too many D-U pinch points" on small m…
GoeLin Feb 3, 2022
27cbe24
8271056: C2: "assert(no_dead_loop) failed: dead loop detected" due to…
GoeLin Feb 3, 2022
f723588
8275643: C2's unaryOp vector intrinsic does not properly handle LongV…
GoeLin Feb 3, 2022
cd73095
8277449: compiler/vectorapi/TestLongVectorNeg.java fails with release…
GoeLin Feb 3, 2022
dba064a
8277180: Intrinsify recursive ObjectMonitor locking for C2 x64 and A64
Feb 3, 2022
c36c1c2
8279702: [macosx] ignore xcodebuild warnings on M1
lewurm Feb 4, 2022
bda9cb4
8273387: remove some unreferenced gtk-related functions
MBaesken Feb 4, 2022
0965996
8274750: java/io/File/GetXSpace.java failed: '/dev': 191488 != 190976
GoeLin Feb 8, 2022
5159ffd
8190748: java/text/Format/DateFormat/DateFormatTest.java and NonGrego…
GoeLin Feb 8, 2022
f391654
8275330: C2: assert(n->is_Root() || n->is_Region() || n->is_Phi() ||…
GoeLin Feb 9, 2022
a5d00fb
8281061: [s390] JFR runs into assertions while validating interpreter…
TheRealMDoerr Feb 10, 2022
2965051
8277299: STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIc…
aamarsh Feb 14, 2022
87010e7
8271199: Mutual TLS handshake fails signing client certificate with c…
Feb 14, 2022
6cee018
8272600: (test) Use native "sleep" in Basic.java
GoeLin Feb 14, 2022
ec1733d
8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10
GoeLin Feb 14, 2022
8207e69
8272541: Incorrect overflow test in Toom-Cook branch of BigInteger mu…
gnu-andrew Feb 14, 2022
7833c7d
8280373: Update Xalan serializer / SystemIDResolver to align with JDK…
MBaesken Feb 15, 2022
a7010a2
8279385: [test] Adjust sun/security/pkcs12/KeytoolOpensslInteropTest…
MBaesken Feb 15, 2022
ab3dd20
8273655: content-types.properties files are missing some common types
MBaesken Feb 15, 2022
2011c35
8274562: (fs) UserDefinedFileAttributeView doesn't correctly determin…
GoeLin Feb 15, 2022
0e5810d
8274171: java/nio/file/Files/probeContentType/Basic.java failed on "C…
MBaesken Feb 16, 2022
a59e8cb
8278346: java/nio/file/Files/probeContentType/Basic.java fails on Lin…
MBaesken Feb 17, 2022
d54675b
8274524: SSLSocket.close() hangs if it is called during the ssl hands…
Feb 17, 2022
63fe160
8277762: Allow configuration of HOTSPOT_BUILD_USER
Feb 17, 2022
f6afde2
8278080: Add --with-cacerts-src='user cacerts folder' to enable deter…
Feb 18, 2022
cf55b1b
8279695: [TESTBUG] modify compiler/loopopts/TestSkeletonPredicateNega…
Feb 21, 2022
f7f0b31
8270117: Broken jtreg link in "Building the JDK" page
Feb 21, 2022
5de8b78
8277488: Add expiry exception for Digicert (geotrustglobalca) expirin…
MBaesken Feb 22, 2022
9bb8b7f
8271721: Split gc/g1/TestMixedGCLiveThreshold into separate tests
tstuefe Feb 23, 2022
0c6e662
8277383: VM.metaspace optionally show chunk freelist details
tstuefe Feb 23, 2022
56f0c53
8278163: --with-cacerts-src variable resolved after GenerateCacerts r…
Feb 23, 2022
6650652
8281460: Let ObjectMonitor have its own NMT category
tstuefe Feb 25, 2022
df5a29c
8278185: Custom JRE cannot find non-ASCII named module inside
Feb 25, 2022
fc57ee6
8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 sta…
macarte Feb 28, 2022
90d83a2
8272866: java.util.random package summary contains incorrect mixing f…
GoeLin Feb 28, 2022
9e9c150
8276841: Add support for Visual Studio 2022
MBaesken Feb 28, 2022
c2a62d7
8279669: test/jdk/com/sun/jdi/TestScaffold.java uses wrong condition
zzambers Feb 28, 2022
6ce19ed
8282219: jdk/java/lang/ProcessBuilder/Basic.java fails on AIX
Mar 1, 2022
8e13d2f
8274471: Add support for RSASSA-PSS in OCSP Response
Mar 1, 2022
51e7af2
8276141: XPathFactory set/getProperty method
GoeLin Mar 1, 2022
47f29a3
8277795: ldap connection timeout not honoured under contention
GoeLin Mar 1, 2022
c3ea7ca
8282761: XPathFactoryImpl remove setProperty and getProperty methods
GoeLin Mar 17, 2022
57f64cc
8269938: Enhance XML processing passes redux
martinuy Jan 31, 2022
59761fe
8272261: Improve JFR recording file processing
olivergillespie Nov 22, 2021
91e98b6
8272588: Enhanced recording parsing
martinuy Feb 1, 2022
37a86ea
8272594: Better record of recordings
martinuy Feb 1, 2022
47a269a
8275151: Improved Object Identification
Jan 14, 2022
0aff75f
8277227: Better identification of OIDs
Jan 11, 2022
2d4103a
8277233: Improve ECDSA signature support
Jan 10, 2022
32a5e5d
8277672: Better invocation handler handling
Jan 31, 2022
c9f7051
8278356: Improve file creation
martinuy Jan 25, 2022
1420a1e
8282397: createTempFile method of java.io.File is failing when called…
martinuy Mar 9, 2022
713f9fb
8272255: Completely handle MIDI files
mrserb Jan 26, 2022
a1533c7
8274221: More definite BER encodings
alvdavi Jan 11, 2022
09e3031
8278798: Improve supported intrinsic
martinuy Jan 7, 2022
5829a66
8278805: Enhance BMP image loading
Jan 14, 2022
463ce03
8281388: Change wrapping of EncryptedPrivateKeyInfo
martinuy Feb 9, 2022
a61b441
8278972: Improve URL supports
Jan 28, 2022
d19834f
8282300: Throws NamingException instead of InvalidNameException after…
Mar 1, 2022
38b7732
8270504: Better Xpath expression handling
Mar 4, 2022
f11bb89
8278449: Improve keychain support
Jan 15, 2022
e58378a
8284548: Invalid XPath expression causes StringIndexOutOfBoundsException
RealCLanger Apr 8, 2022
c1a8749
8284920: Incorrect Token type causes XPath expression to return empty…
AntonKozlov Apr 15, 2022
3625385
Merge tag 'jdk-17.0.3-ga' into upstream-update
gnu-andrew Jun 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
121 changes: 108 additions & 13 deletions .github/workflows/submit.yml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .jcheck/conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[general]
project=jdk
project=jdk-updates
jbs=JDK
version=17.0.3

[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
Expand Down
2 changes: 1 addition & 1 deletion doc/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ <h4 id="advanced-make-control-variables">Advanced Make Control Variables</h4>
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a href="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>
Expand Down
2 changes: 1 addition & 1 deletion doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ containing `lib/jtreg.jar` etc.

The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact).
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.

Expand Down
18 changes: 17 additions & 1 deletion doc/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ <h1 class="title">Testing the JDK</h1>
<li><a href="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#common-test-groups">Common Test Groups</a></li>
<li><a href="#jtreg">JTReg</a></li>
<li><a href="#gtest">Gtest</a></li>
<li><a href="#microbenchmarks">Microbenchmarks</a></li>
Expand Down Expand Up @@ -67,6 +68,19 @@ <h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the <code>test</code> make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, <code>test-only</code> can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
<p>Ideally, all tests are run for every change but this may not be practical due to the limited testing resources, the scope of the change, etc.</p>
<p>The source tree currently defines a few common test groups in the relevant <code>TEST.groups</code> files. There are test groups that cover a specific component, for example <code>hotspot_gc</code>. It is a good idea to look into <code>TEST.groups</code> files to get a sense what tests are relevant to a particular JDK component.</p>
<p>Component-specific tests may miss some unintended consequences of a change, so other tests should also be run. Again, it might be impractical to run all tests, and therefore <em>tiered</em> test groups exist. Tiered test groups are not component-specific, but rather cover the significant parts of the entire JDK.</p>
<p>Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain progressively more thorough, slower, and sometimes less stable tests, or the tests that require special configuration.</p>
<p>Contributors are expected to run the tests for the areas that are changed, and the first N tiers they can afford to run, but at least tier1.</p>
<p>A brief description of the tiered test groups:</p>
<ul>
<li><p><code>tier1</code>: This is the lowest test tier. Multiple developers run these tests every day. Because of the widespread use, the tests in <code>tier1</code> are carefully selected and optimized to run fast, and to run in the most stable manner. The test failures in <code>tier1</code> are usually followed up on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows, if enabled, run <code>tier1</code> tests.</p></li>
<li><p><code>tier2</code>: This test group covers even more ground. These contain, among other things, tests that either run for too long to be at <code>tier1</code>, or may require special configuration, or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components (for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful tests, the tests for corner cases not covered by previous tiers, plus the tests that require GUIs. As such, this suite should either be run with low concurrency (<code>TEST_JOBS=1</code>), or without headful tests (<code>JTREG_KEYWORDS=\!headful</code>), or both.</p></li>
<li><p><code>tier4</code>: This test group includes every other test not covered by previous tiers. It includes, for example, <code>vmTestbase</code> suites for Hotspot, which run for many hours even on large machines. It also runs GUI tests, so the same <code>TEST_JOBS</code> and <code>JTREG_KEYWORDS</code> caveats apply.</p></li>
</ul>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot:tier1</code>, <code>test/jdk:jdk_util</code> or <code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can be specified either as an absolute path, or a path relative to the JDK top directory, or the <code>test</code> directory. For simplicity, the hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can be abbreviated as just <code>hotspot</code>.</p>
Expand Down Expand Up @@ -179,7 +193,9 @@ <h4 id="launcher_options">LAUNCHER_OPTIONS</h4>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
<p>Retry failed tests up to a set number of times, until they pass. This allows to pass the tests with intermittent failures. Defaults to 0.</p>
<h4 id="repeat_count">REPEAT_COUNT</h4>
<p>Repeat the tests up to a set number of times, stopping at first failure. This helps to reproduce intermittent test failures. Defaults to 0.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
Expand Down
56 changes: 55 additions & 1 deletion doc/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,52 @@ jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.

### Common Test Groups

Ideally, all tests are run for every change but this may not be practical due to the limited
testing resources, the scope of the change, etc.

The source tree currently defines a few common test groups in the relevant `TEST.groups`
files. There are test groups that cover a specific component, for example `hotspot_gc`.
It is a good idea to look into `TEST.groups` files to get a sense what tests are relevant
to a particular JDK component.

Component-specific tests may miss some unintended consequences of a change, so other
tests should also be run. Again, it might be impractical to run all tests, and therefore
_tiered_ test groups exist. Tiered test groups are not component-specific, but rather cover
the significant parts of the entire JDK.

Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to
contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain
progressively more thorough, slower, and sometimes less stable tests, or the tests that require
special configuration.

Contributors are expected to run the tests for the areas that are changed, and the first N tiers
they can afford to run, but at least tier1.

A brief description of the tiered test groups:

- `tier1`: This is the lowest test tier. Multiple developers run these tests every day.
Because of the widespread use, the tests in `tier1` are carefully selected and optimized to run
fast, and to run in the most stable manner. The test failures in `tier1` are usually followed up
on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows,
if enabled, run `tier1` tests.

- `tier2`: This test group covers even more ground. These contain, among other things,
tests that either run for too long to be at `tier1`, or may require special configuration,
or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components
(for example, XML).

- `tier3`: This test group includes more stressful tests, the tests for corner cases
not covered by previous tiers, plus the tests that require GUIs. As such, this suite
should either be run with low concurrency (`TEST_JOBS=1`), or without headful tests
(`JTREG_KEYWORDS=\!headful`), or both.

- `tier4`: This test group includes every other test not covered by previous tiers. It includes,
for example, `vmTestbase` suites for Hotspot, which run for many hours even on large
machines. It also runs GUI tests, so the same `TEST_JOBS` and `JTREG_KEYWORDS` caveats
apply.

### JTReg

JTReg tests can be selected either by picking a JTReg test group, or a selection
Expand Down Expand Up @@ -373,7 +419,15 @@ modules. If multiple modules are specified, they should be separated by space

#### RETRY_COUNT

Retry failed tests up to a set number of times. Defaults to 0.
Retry failed tests up to a set number of times, until they pass.
This allows to pass the tests with intermittent failures.
Defaults to 0.

#### REPEAT_COUNT

Repeat the tests up to a set number of times, stopping at first failure.
This helps to reproduce intermittent test failures.
Defaults to 0.

### Gtest keywords

Expand Down
10 changes: 5 additions & 5 deletions make/Main.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ $(eval $(call SetupTarget, vscode-project-ccls, \
# aren't built until after libjava and libjvm are available to link to.
$(eval $(call SetupTarget, demos-jdk, \
MAKEFILE := CompileDemos, \
DEPS := java.base-libs exploded-image, \
DEPS := java.base-libs exploded-image buildtools-jdk, \
))

$(eval $(call SetupTarget, test-image-demos-jdk, \
Expand Down Expand Up @@ -383,12 +383,12 @@ bootcycle-images:

$(eval $(call SetupTarget, zip-security, \
MAKEFILE := ZipSecurity, \
DEPS := java.base-java java.security.jgss-java java.security.jgss-libs, \
DEPS := buildtools-jdk java.base-java java.security.jgss-java java.security.jgss-libs, \
))

$(eval $(call SetupTarget, zip-source, \
MAKEFILE := ZipSource, \
DEPS := gensrc, \
DEPS := buildtools-jdk gensrc, \
))

$(eval $(call SetupTarget, jrtfs-jar, \
Expand Down Expand Up @@ -508,13 +508,13 @@ $(eval $(call SetupTarget, docs-jdk-index, \
$(eval $(call SetupTarget, docs-zip, \
MAKEFILE := Docs, \
TARGET := docs-zip, \
DEPS := docs-jdk, \
DEPS := docs-jdk buildtools-jdk, \
))

$(eval $(call SetupTarget, docs-specs-zip, \
MAKEFILE := Docs, \
TARGET := docs-specs-zip, \
DEPS := docs-jdk-specs, \
DEPS := docs-jdk-specs buildtools-jdk, \
))

$(eval $(call SetupTarget, update-build-docs, \
Expand Down
23 changes: 22 additions & 1 deletion make/RunTests.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ $(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT MAX_OUTPUT, \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS, \
))
Expand Down Expand Up @@ -744,6 +744,15 @@ define SetupRunJtregTestBody
JTREG_RETAIN ?= fail,error
JTREG_RUN_PROBLEM_LISTS ?= false
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0

ifneq ($$(JTREG_RETRY_COUNT), 0)
ifneq ($$(JTREG_REPEAT_COUNT), 0)
$$(info Error: Cannot use both JTREG_RETRY_COUNT and JTREG_REPEAT_COUNT together.)
$$(info Please choose one or the other.)
$$(error Cannot continue)
endif
endif

ifneq ($$(JTREG_LAUNCHER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += $$(JTREG_LAUNCHER_OPTIONS)
Expand Down Expand Up @@ -866,6 +875,18 @@ define SetupRunJtregTestBody
done
endif

ifneq ($$(JTREG_REPEAT_COUNT), 0)
$1_COMMAND_LINE := \
for i in {1..$$(JTREG_REPEAT_COUNT)}; do \
$$(PRINTF) "\nRepeating Jtreg run: $$$$i out of $$(JTREG_REPEAT_COUNT)\n"; \
$$($1_COMMAND_LINE); \
if [ "`$$(CAT) $$($1_EXITCODE)`" != "0" ]; then \
$$(PRINTF) "\nFailures detected, no more repeats.\n"; \
break; \
fi; \
done
endif

run-test-$1: pre-run-test clean-workdir-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
Expand Down
2 changes: 2 additions & 0 deletions make/ToolsJdk.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_class
TOOL_GENERATEEMOJIDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateemojidata.GenerateEmojiData

TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible

# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
# and nbproject/project.properties in the same dir. Needs to be looked at.
Expand Down
7 changes: 1 addition & 6 deletions make/autoconf/basic.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -94,11 +94,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],

# Locate the directory of this script.
AUTOCONF_DIR=$TOPDIR/make/autoconf

# Setup username (for use in adhoc version strings etc)
# Outer [ ] to quote m4.
[ USERNAME=`$ECHO "$USER" | $TR -d -c '[a-z][A-Z][0-9]'` ]
AC_SUBST(USERNAME)
])

###############################################################################
Expand Down
9 changes: 9 additions & 0 deletions make/autoconf/build-aux/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ if [ "x$OUT" = x ]; then
fi
fi

# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi

# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then
Expand Down
4 changes: 2 additions & 2 deletions make/autoconf/flags-other.m4
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS],

# Fix linker warning.
# Code taken from make/autoconf/flags-cflags.m4 and adapted.
JVM_BASIC_ASFLAGS+="-DMAC_OS_X_VERSION_MIN_REQUIRED=$MACOSX_VERSION_MIN_NODOTS \
JVM_BASIC_ASFLAGS+=" -DMAC_OS_X_VERSION_MIN_REQUIRED=$MACOSX_VERSION_MIN_NODOTS \
-mmacosx-version-min=$MACOSX_VERSION_MIN"

if test -n "$MACOSX_VERSION_MAX"; then
JVM_BASIC_ASFLAGS+="$OS_CFLAGS \
JVM_BASIC_ASFLAGS+=" $OS_CFLAGS \
-DMAC_OS_X_VERSION_MAX_ALLOWED=$MACOSX_VERSION_MAX_NODOTS"
fi
fi
Expand Down
18 changes: 9 additions & 9 deletions make/autoconf/help.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -42,21 +42,21 @@ AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
PKGHANDLER_COMMAND=

case $PKGHANDLER in
apt-get)
*apt-get)
apt_help $MISSING_DEPENDENCY ;;
yum)
*yum)
yum_help $MISSING_DEPENDENCY ;;
brew)
*brew)
brew_help $MISSING_DEPENDENCY ;;
port)
*port)
port_help $MISSING_DEPENDENCY ;;
pkgutil)
*pkgutil)
pkgutil_help $MISSING_DEPENDENCY ;;
pkgadd)
*pkgadd)
pkgadd_help $MISSING_DEPENDENCY ;;
zypper)
*zypper)
zypper_help $MISSING_DEPENDENCY ;;
pacman)
*pacman)
pacman_help $MISSING_DEPENDENCY ;;
esac

Expand Down
17 changes: 17 additions & 0 deletions make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,23 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
fi
AC_SUBST(CACERTS_FILE)

# Choose cacerts source folder for user provided PEM files
AC_ARG_WITH(cacerts-src, [AS_HELP_STRING([--with-cacerts-src],
[specify alternative cacerts source folder containing certificates])])
CACERTS_SRC=""
AC_MSG_CHECKING([for cacerts source])
if test "x$with_cacerts_src" == x; then
AC_MSG_RESULT([default])
else
CACERTS_SRC=$with_cacerts_src
if test ! -d "$CACERTS_SRC"; then
AC_MSG_RESULT([fail])
AC_MSG_ERROR([Specified cacerts source folder "$CACERTS_SRC" does not exist])
fi
AC_MSG_RESULT([$CACERTS_SRC])
fi
AC_SUBST(CACERTS_SRC)

# Enable or disable unlimited crypto
UTIL_ARG_ENABLE(NAME: unlimited-crypto, DEFAULT: true, RESULT: UNLIMITED_CRYPTO,
DESC: [enable unlimited crypto policy])
Expand Down
11 changes: 11 additions & 0 deletions make/autoconf/jdk-version.m4
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(HOTSPOT_VM_DISTRO)

# Setup username (for use in adhoc version strings etc)
AC_ARG_WITH([build-user], [AS_HELP_STRING([--with-build-user],
[build username to use in version strings])])
if test "x$with_build_user" != x; then
USERNAME="$with_build_user"
else
# Outer [ ] to quote m4.
[ USERNAME=`$ECHO "$USER" | $TR -d -c '[a-z][A-Z][0-9]'` ]
fi
AC_SUBST(USERNAME)

# Set the JDK RC name
AC_ARG_WITH(jdk-rc-name, [AS_HELP_STRING([--with-jdk-rc-name],
[Set JDK RC name. This is used for FileDescription and ProductName properties
Expand Down
Loading