Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge tag 'jdk-21.0.3+9' into dragonwell_standard-21.0.3.0.3+9 #42

Merged
merged 263 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
a75b88d
8314838: 3 compiler tests ignore vm flags
GoeLin Dec 19, 2023
16875f2
8315988: Parallel: Make TestAggressiveHeap use createTestJvm
GoeLin Dec 19, 2023
9e8cee6
8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
GoeLin Dec 19, 2023
be19bda
8316973: GC: Make TestDisableDefaultGC use createTestJvm
GoeLin Dec 19, 2023
c0b78b7
8316410: GC: Make TestCompressedClassFlags use createTestJvm
GoeLin Dec 19, 2023
6f3cd91
8316028: Update FreeType to 2.13.2
GoeLin Dec 19, 2023
16554ae
8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed w…
GoeLin Dec 19, 2023
2062596
8320208: Update Public Suffix List to b5bf572
GoeLin Dec 19, 2023
c3b0c03
8319668: Fixup of jar filename typo in BadFactoryTest.sh
GoeLin Dec 19, 2023
d50fd26
8314990: Generational ZGC: Strong OopStorage stats reported as weak r…
shipilev Dec 19, 2023
ee7748a
8317300: javac erroneously allows "final" in front of a record pattern
shipilev Dec 19, 2023
80b5f72
8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializati…
shipilev Dec 19, 2023
6644066
8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecim…
shipilev Dec 19, 2023
0c92460
8309302: java/net/Socket/Timeouts.java fails with AssertionError on t…
shipilev Dec 19, 2023
5d32860
8310807: java/nio/channels/DatagramChannel/Connect.java timed out
shipilev Dec 19, 2023
b8a0d9f
8316229: Enhance class initialization logging
shipilev Dec 19, 2023
f55a91a
8319897: Move StackWatermark handling out of LockStack::contains
shipilev Dec 19, 2023
af6df77
8305971: NPE in JavacProcessingEnvironment for missing enum construct…
shipilev Dec 19, 2023
03acee8
8314578: Non-verifiable code is emitted when two guards declare patte…
shipilev Dec 19, 2023
2433635
8314220: Configurable InlineCacheBuffer size
shipilev Dec 19, 2023
c725f4b
8321374: Add a configure option to explicitly set CompanyName propert…
fthevenet Dec 19, 2023
3e4adb6
8320168: handle setsocktopt return values
MBaesken Dec 19, 2023
34fc725
8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails wi…
MBaesken Dec 20, 2023
bd552ef
8313229: DHEKeySizing.java should be modified to use TLS versions TLS…
Dec 20, 2023
9aad573
8311081: KeytoolReaderP12Test.java fail on localized Windows platform
tkiriyama Dec 20, 2023
80f129d
8311581: Remove obsolete code and comments in TestLVT.java
GoeLin Dec 21, 2023
b806f56
8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
GoeLin Dec 21, 2023
19d74b4
8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to t…
GoeLin Dec 21, 2023
20dd66b
8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTool…
GoeLin Dec 21, 2023
320cf85
8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignore…
GoeLin Dec 21, 2023
ebd5179
8314831: NMT tests ignore vm flags
GoeLin Dec 21, 2023
1545967
8313638: Add test for dump of resolved references
GoeLin Dec 21, 2023
e514578
8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ign…
GoeLin Dec 21, 2023
f4e7c0c
8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java tim…
GoeLin Dec 21, 2023
afa729c
8316446: 4 sun/management/jdp tests ignore VM flags
GoeLin Dec 21, 2023
4846aa2
8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
GoeLin Dec 21, 2023
5f7b7c5
8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
GoeLin Dec 21, 2023
4f6a2e6
8317343: GC: Make TestHeapFreeRatio use createTestJvm
GoeLin Dec 21, 2023
eb6fedc
8317317: G1: Make TestG1RemSetFlags use createTestJvm
GoeLin Dec 21, 2023
a565d49
8317316: G1: Make TestG1PercentageOptions use createTestJvm
GoeLin Dec 21, 2023
a6c2398
8317218: G1: Make TestG1HeapRegionSize use createTestJvm
GoeLin Dec 21, 2023
840724b
8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
GoeLin Dec 21, 2023
2f65dda
8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java…
GoeLin Dec 21, 2023
e0de68e
8209595: MonitorVmStartTerminate.java timed out
GoeLin Dec 21, 2023
12915c3
8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
GoeLin Dec 21, 2023
e4056b9
8321409: Console read line with zero out should zero out underlying b…
GoeLin Dec 21, 2023
636607b
8313816: Accessing jmethodID might lead to spurious crashes
Dec 21, 2023
aaee2d7
8322040: Missing array bounds check in ClassReader.parameter
cushon Dec 21, 2023
7927315
8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-…
zifeihan Dec 22, 2023
506c4de
8313854: Some tests in serviceability area fail on localized Windows …
GoeLin Dec 22, 2023
6b938b8
8310308: IR Framework: check for type and size of vector nodes
GoeLin Dec 22, 2023
0f1154d
8314320: Mark runtime/CommandLine/ tests as flagless
GoeLin Dec 22, 2023
bedc39b
8314830: runtime/ErrorHandling/ tests ignore external VM flags
GoeLin Dec 22, 2023
dd080d3
8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.…
GoeLin Dec 22, 2023
235ed4c
8317358: G1: Make TestMaxNewSize use createTestJvm
GoeLin Dec 22, 2023
c39247c
8318689: jtreg is confused when folder name is the same as the test name
GoeLin Dec 22, 2023
e579716
8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel]…
GoeLin Dec 22, 2023
561ac59
8322417: Console read line with zero out should zero out when throwin…
GoeLin Dec 22, 2023
18f2390
8322418: Problem list gc/TestAllocHumongousFragment.java subtests for…
GoeLin Dec 22, 2023
ca26279
8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
TheRealMDoerr Dec 22, 2023
8695daa
8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Dec 22, 2023
72c372f
8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
shipilev Dec 22, 2023
b64402f
8316447: 8 sun/management/jmxremote tests ignore VM flags
GoeLin Dec 23, 2023
52c0fc5
8316464: 3 sun/tools tests ignore VM flags
GoeLin Dec 23, 2023
5dad7db
8318983: Fix comment typo in PKCS12Passwd.java
GoeLin Dec 23, 2023
b9d45b1
8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java…
GoeLin Dec 24, 2023
a17d0c4
8315034: File.mkdirs() occasionally fails to create folders on Window…
GoeLin Dec 24, 2023
98c94fd
8264899: C1: -XX:AbortVMOnException does not work if all methods in t…
GoeLin Dec 28, 2023
a607f49
8316309: AArch64: VMError::print_native_stack() crashes on Java nativ…
GoeLin Dec 28, 2023
03b01a9
8304292: Memory leak related to ClassLoader::update_class_path_entry_…
GoeLin Dec 29, 2023
4c5502d
8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out …
GoeLin Dec 29, 2023
9e24862
8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseC…
GoeLin Dec 29, 2023
8517987
8312428: PKCS11 tests fail with NSS 3.91
GoeLin Dec 29, 2023
80c86c2
8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
GoeLin Dec 29, 2023
191fc6b
8316661: CompilerThread leaks CodeBlob memory when dynamically stoppi…
GoeLin Dec 29, 2023
3465179
8311588: C2: RepeatCompilation compiler directive does not choose str…
GoeLin Dec 30, 2023
98fb425
8320206: Some intrinsics/stubs missing vzeroupper on x86_64
Dec 30, 2023
24b3b2b
8322772: Clean up code after JDK-8322417
RealCLanger Dec 31, 2023
3bf9212
8314610: hotspot can't compile with the latest of gtest because of <i…
Jan 2, 2024
dc899e2
8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
mrserb Jan 2, 2024
9177319
8319137: release _object in ObjectMonitor dtor to avoid races
shipilev Jan 3, 2024
8fbd10b
8301310: The SendRawSysexMessage test may cause a JVM crash
mrserb Jan 3, 2024
966071a
8309203: C2: remove copy-by-value of GrowableArray for InterfaceSet
shipilev Jan 4, 2024
57b5147
8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: com…
Jan 4, 2024
58b1b0c
8315042: NPE in PKCS7.parseOldSignedData
mrserb Jan 4, 2024
9f60360
8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass i…
shipilev Jan 5, 2024
23a0b90
8319548: Unexpected internal name for Filler array klass causes error…
shipilev Jan 5, 2024
5f2cf88
8322159: ThisEscapeAnalyzer crashes for erroneous code
shipilev Jan 5, 2024
579c56f
8322321: Add man page doc for -XX:+VerifySharedSpaces
shipilev Jan 5, 2024
49dd575
8320921: GHA: Parallelize hotspot_compiler test jobs
shipilev Jan 5, 2024
b3344f2
8315731: Open source several Swing Text related tests
Jan 5, 2024
4bdda4b
8322583: RISC-V: Enable fast class initialization checks
zifeihan Jan 6, 2024
1f38afa
8315097: Rename createJavaProcessBuilder
GoeLin Jan 8, 2024
854c319
8319569: Several java/util tests should be updated to accept VM flags
GoeLin Jan 8, 2024
e8aa37d
8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java …
GoeLin Jan 8, 2024
c8caefa
8311279: TestStressIGVNAndCCP.java failed with different IGVN traces …
GoeLin Jan 8, 2024
db1fa92
8316594: C2 SuperWord: wrong result with hand unrolled loops
GoeLin Jan 8, 2024
307569f
8319938: TestFileChooserSingleDirectorySelection.java fails with "get…
GoeLin Jan 8, 2024
dfc9324
8319879: Stress mode to randomize incremental inlining decision
GoeLin Jan 8, 2024
d4797b7
8316693: Simplify at-requires checkDockerSupport()
GoeLin Jan 8, 2024
1e66488
8321599: Data loss in AVX3 Base64 decoding
olivergillespie Jan 8, 2024
a85f3f8
8320145: Compiler should accept final variable in Record Pattern
shipilev Jan 8, 2024
b745bb5
8319883: Zero: Use atomic built-ins for 64-bit accesses
shipilev Jan 8, 2024
1a9c7ec
8318082: ConcurrentModificationException from IndexWriter
shipilev Jan 9, 2024
e652bb7
8310844: [AArch64] C1 compilation fails because monitor offset in OSR…
shipilev Jan 9, 2024
d44b5dc
8323021: Shenandoah: Encountered reference count always attributed to…
Jan 9, 2024
c21a12d
8296631: NSS tests failing on OL9 linux-aarch64 hosts
GoeLin Jan 9, 2024
772ac17
8210410: Refactor java.util.Currency:i18n shell tests to plain java t…
GoeLin Jan 9, 2024
36c2120
8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid fo…
shipilev Jan 9, 2024
9406448
8316132: CDSProtectionDomain::get_shared_protection_domain should che…
shipilev Jan 9, 2024
d5b8c28
8322725: (tz) Update Timezone Data to 2023d
Jan 9, 2024
a1d7bcf
6928542: Chinese characters in RTF are not decoded
Jan 10, 2024
a28d29c
8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
elifaslan1 Jan 10, 2024
4537bfa
8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
elifaslan1 Jan 10, 2024
2bf21b4
8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/…
MBaesken Jan 10, 2024
1ea0d08
8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPi…
GoeLin Jan 11, 2024
2abfc99
8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java f…
GoeLin Jan 11, 2024
cd16670
8318490: Increase timeout for JDK tests that are close to the limit w…
GoeLin Jan 11, 2024
d92ff7c
8320309: AIX: pthreads created by foreign test library don't work as …
RealCLanger Jan 15, 2024
e08eb0e
8321582: yield <primitive-type>.class not parsed correctly.
shipilev Jan 15, 2024
6ee8f47
8322512: StringBuffer.repeat does not work correctly after toString()…
shipilev Jan 15, 2024
1b5aeb9
8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_d…
shipilev Jan 15, 2024
7fe7cfc
8320907: Shenandoah: Remove ShenandoahSelfFixing flag
shipilev Jan 16, 2024
b114a5e
8320877: Shenandoah: Remove ShenandoahUnloadClassesFrequency support
shipilev Jan 16, 2024
77c743e
8320888: Shenandoah: Enable ShenandoahVerifyOptoBarriers in debug builds
shipilev Jan 16, 2024
45df078
8319124: Update XML Security for Java to 3.0.3
GoeLin Jan 16, 2024
4b82978
8318971: Better Error Handling for Jar Tool When Processing Non-exist…
GoeLin Jan 16, 2024
551855c
8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously pa…
GoeLin Jan 16, 2024
f57f2cb
8321164: javac with annotation processor throws AssertionError: Filli…
shipilev Jan 16, 2024
9b5cd9d
8315594: Open source few headless Swing misc tests
Jan 17, 2024
0ac1bb7
8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
MBaesken Jan 17, 2024
b4c163d
8319372: C2 compilation fails with "Bad immediate dominator info"
shipilev Jan 17, 2024
95142cf
Merge
GoeLin Jan 17, 2024
9ca8761
8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Jan 17, 2024
fcf9ebd
8319103: Popups that request focus are not shown on Linux with Wayland
Jan 17, 2024
8d536b6
8318154: Improve stability of WheelModifier.java test
Jan 17, 2024
1e8c226
8316106: Open source few swing JInternalFrame and JMenuBar tests
Jan 17, 2024
32a4568
8318613: ChoiceFormat patterns are not well tested
Jan 17, 2024
f011538
8323428: Shenandoah: Unused memory in regions compacted during a full…
Jan 17, 2024
a51c74d
8306922: IR verification fails because IR dump is chopped up
GoeLin Jan 17, 2024
ba59249
8310923: Refactor Currency tests to use JUnit
GoeLin Jan 17, 2024
2981858
8315721: CloseRace.java#id0 fails transiently on libgraal
GoeLin Jan 17, 2024
993a746
8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
GoeLin Jan 17, 2024
0668efa
8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java i…
GoeLin Jan 17, 2024
e3084fc
8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.j…
GoeLin Jan 17, 2024
309a16e
8323659: LinkedTransferQueue add and put methods call overridable offer
ChrisHegarty Jan 18, 2024
419e016
8322098: os::Linux::print_system_memory_info enhance the THP output w…
MBaesken Jan 18, 2024
7eea17b
8311663: Additional refactoring of Locale tests to JUnit
GoeLin Jan 18, 2024
c79c5ef
8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java t…
GoeLin Jan 18, 2024
8413dc0
8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf a…
GoeLin Jan 18, 2024
0d30c8d
8318590: JButton ignores margin when painting HTML text
GoeLin Jan 18, 2024
c8f0418
8310031: Parallel: Implement better work distribution for large objec…
reinrich Jan 18, 2024
6443937
8323008: filter out harmful -std* flags added by autoconf from CXX
GoeLin Jan 18, 2024
95e36bc
8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompacti…
Jan 19, 2024
c3657ee
8317771: [macos14] Expand/collapse a JTree using keyboard freezes the…
parttimenerd Jan 19, 2024
c01bdbb
8314283: Support for NSS tests on aarch64 platforms
GoeLin Jan 19, 2024
69416f4
8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java sho…
shipilev Jan 22, 2024
e9be531
8077371: Binary files in JAXP test should be removed
GoeLin Jan 22, 2024
1dd2f2a
8169475: WheelModifier.java fails by timeout
Jan 22, 2024
ada400c
8318158: RISC-V: implement roundD/roundF intrinsics
Jan 22, 2024
fae1a03
8312416: Tests in Locale should have more descriptive names
GoeLin Jan 23, 2024
be8733b
8319213: Compatibility.java reads both stdout and stderr of JdkUtils
GoeLin Jan 23, 2024
1f9b03e
8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
GoeLin Jan 23, 2024
2697a9d
8318696: Do not use LFS64 symbols on Linux
MBaesken Jan 23, 2024
8084244
8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CD…
yaqsun Jan 23, 2024
d69a097
8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
shipilev Jan 23, 2024
ad2e114
8323243: JNI invocation of an abstract instance method corrupts the s…
shipilev Jan 23, 2024
63e52ed
8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:Comp…
shipilev Jan 24, 2024
34d97ab
8321269: Require platforms to define DEFAULT_CACHE_LINE_SIZE
shipilev Jan 24, 2024
7fcfea5
8324050: Issue store-store barrier after re-materializing objects dur…
shipilev Jan 24, 2024
90d7b17
8321120: Shenandoah: Remove ShenandoahElasticTLAB flag
shipilev Jan 24, 2024
e87638c
8321122: Shenandoah: Remove ShenandoahLoopOptsAfterExpansion flag
shipilev Jan 24, 2024
cc189ff
8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
GoeLin Jan 25, 2024
711ab38
8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTe…
Jan 25, 2024
2adc2b4
8317535: Shenandoah: Remove unused code
Jan 25, 2024
e2cabfe
8316947: Write a test to check textArea triggers MouseEntered/MouseEx…
Jan 26, 2024
bf7c218
8321480: ISO 4217 Amendment 176 Update
Jan 26, 2024
a9498e5
8322142: JFR: Periodic tasks aren't orphaned between recordings
antonha Jan 26, 2024
ca85d55
8315761: Open source few swing JList and JMenuBar tests
Jan 29, 2024
7f40804
8324659: GHA: Generic jtreg errors are not reported
shipilev Jan 29, 2024
14f62ac
8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
zifeihan Jan 29, 2024
dead333
8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Wi…
Jan 30, 2024
45b428f
8315600: Open source few more headless Swing misc tests
Jan 30, 2024
5df2a5c
8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
GoeLin Jan 30, 2024
9bc6bd6
8320943: Files/probeContentType/Basic.java fails on latest Windows 11…
GoeLin Jan 30, 2024
2518d20
8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) fa…
shipilev Jan 30, 2024
c971925
8318157: RISC-V: implement ensureMaterializedForStackWalk intrinsic
Jan 30, 2024
0466741
8315611: Open source swing text/html and tree test
Jan 31, 2024
869df3b
8323101: C2: assert(n->in(0) == nullptr) failed: divisions with zero …
shipilev Jan 31, 2024
ffab458
8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if pref…
Jan 31, 2024
c6ebfdf
8320052: Zero: Use __atomic built-ins for atomic RMW operations
shipilev Feb 3, 2024
0b79e90
8324937: GHA: Avoid multiple test suites per job
shipilev Feb 3, 2024
38c5df1
8323637: Capture hotspot replay files in GHA
shipilev Feb 3, 2024
e75ca5a
8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectoriz…
GoeLin Feb 5, 2024
f15349b
8313670: Simplify shared lib name handling code in some tests
MBaesken Feb 6, 2024
85f4f38
8322957: Generational ZGC: Relocation selection must join the STS
shipilev Feb 6, 2024
447f58c
8321410: Shenandoah: Remove ShenandoahSuspendibleWorkers flag
shipilev Feb 6, 2024
5795695
8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumb…
shipilev Feb 6, 2024
4d62dfa
8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32…
shipilev Feb 7, 2024
98e6d04
8319777: Zero: Support 8-byte cmpxchg
shipilev Feb 8, 2024
cfceb11
8323964: runtime/Thread/ThreadCountLimit.java fails intermittently on…
MBaesken Feb 8, 2024
d08f24a
8324598: use mem_unit when working with sysinfo memory and swap relat…
MBaesken Feb 8, 2024
bed2eaa
8324637: [aix] Implement support for reporting swap space in jdk.mana…
MBaesken Feb 8, 2024
0604ce7
8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3In…
mrserb Feb 8, 2024
b30f9aa
8325150: (tz) Update Timezone Data to 2024a
Feb 9, 2024
79bd47a
8318039: GHA: Bump macOS and Xcode versions
gdams Feb 12, 2024
5f32918
8323667: Library debug files contain non-reproducible full gcc includ…
Feb 12, 2024
b0e9a61
8323671: DevKit build gcc libraries contain full paths to source loca…
Feb 12, 2024
4031ff4
8324753: [AIX] adjust os_posix after JDK-8318696
MBaesken Feb 13, 2024
b9cf41d
8325194: GHA: Add macOS M1 testing
gdams Feb 13, 2024
3f35008
8323515: Create test alias "all" for all test roots
shipilev Feb 14, 2024
ecdc22e
8305962: update jcstress to 0.16
shipilev Feb 14, 2024
786c5fb
8324858: [vectorapi] Bounds checking issues when accessing memory seg…
shipilev Feb 14, 2024
24fae7a
8324514: ClassLoaderData::print_on should print address of class loader
shipilev Feb 15, 2024
3da175b
8323717: Introduce test keyword for tests that need external dependen…
shipilev Feb 15, 2024
fb19cb3
8319314: NMT detail report slow or hangs for large number of mappings
shipilev Feb 15, 2024
941ca60
8009550: PlatformPCSC should load versioned so
gnu-andrew Feb 15, 2024
1c92a05
8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
mrserb Feb 16, 2024
70fa49e
8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
mrserb Feb 16, 2024
e181516
8315602: Open source swing security manager test
Feb 19, 2024
70112e3
8315891: java/foreign/TestLinker.java failed with "error occurred whi…
shipilev Feb 19, 2024
93be33c
8325672: C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
shipilev Feb 19, 2024
4d4c47d
8320890: [AIX] Find a better way to mimic dl handle equality
Feb 19, 2024
d6f4f5e
8318737: Fallback linker passes bad JNI handle
shipilev Feb 19, 2024
a9792a8
8324874: AArch64: crypto pmull based CRC32/CRC32C intrinsics clobber …
Feb 19, 2024
4fcc5c7
8322790: RISC-V: Tune costs for shuffles with no conversion
Feb 20, 2024
90c9f70
8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTe…
Feb 21, 2024
36569de
8314629: Generational ZGC: Clearing All SoftReferences log line lacks…
Feb 21, 2024
92d533e
8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker…
Feb 21, 2024
3b4932b
8315726: Open source several AWT applet tests
Feb 22, 2024
9adc281
8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed:…
shipilev Feb 22, 2024
290cd11
8321408: Add Certainly roots R1 and E1
shipilev Feb 22, 2024
e69b611
8311893: Interactive component with ARIA role 'tabpanel' does not hav…
psoujany Feb 22, 2024
c80bb72
8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
martinuy Feb 23, 2024
2c38047
8314835: gtest wrappers should be marked as flagless
MBaesken Feb 23, 2024
8ddff70
8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
RealCLanger Feb 23, 2024
08f9237
8320303: Allow PassFailJFrame to accept single window creator
Feb 26, 2024
69aa4ab
8325470: [AIX] use fclose after fopen in read_psinfo
MBaesken Feb 26, 2024
55f9bcf
8325876: crashes in docker container tests on Linuxppc64le Power8 mac…
MBaesken Feb 26, 2024
1b7c5af
8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
mrserb Feb 26, 2024
4296ddf
8325496: Make TrimNativeHeapInterval a product switch
MBaesken Feb 27, 2024
36b5ac4
8323664: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fai…
RealCLanger Feb 27, 2024
29bf21f
8322750: Test "api/java_awt/interactive/SystemTrayTests.html" failed …
mrserb Mar 5, 2024
07fc624
8327391: Add SipHash attribution file
GoeLin Mar 15, 2024
8eba98a
8315708: Enhance HTTP/2 client usage
Jan 30, 2024
5378f80
8318340: Improve RSA key implementations
Feb 5, 2024
517bd93
8322122: Enhance generation of addresses
martinuy Feb 9, 2024
778a6c4
8319851: Improve exception logging
martinuy Feb 21, 2024
05f18b1
8329838: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for …
RealCLanger Apr 8, 2024
53fd285
Merge tag 'jdk-21.0.3+9' into dragonwell_standard-21.0.3.0.3+9
Accelerator1996 Apr 19, 2024
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
  •  
  •  
  •  
10 changes: 8 additions & 2 deletions .github/actions/get-jtreg/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, 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 @@ -56,8 +56,14 @@ runs:

- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
bash make/build.sh --jdk "$JDK"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
Expand Down
18 changes: 16 additions & 2 deletions .github/scripts/gen-test-results.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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 @@ -44,8 +44,8 @@ for test in $failures $errors; do
base_path="$(echo "$test" | tr '#' '_')"
report_file="$report_dir/$base_path.jtr"
hs_err_files=$(ls $report_dir/$base_path/hs_err*.log 2> /dev/null || true)
replay_files=$(ls $report_dir/$base_path/replay*.log 2> /dev/null || true)
echo "#### <a id="$anchor">$test"

echo '<details><summary>View test results</summary>'
echo ''
echo '```'
Expand Down Expand Up @@ -73,6 +73,20 @@ for test in $failures $errors; do
echo ''
fi

if [[ "$replay_files" != "" ]]; then
echo '<details><summary>View HotSpot replay file</summary>'
echo ''
for replay in $replay_files; do
echo '```'
echo "$replay:"
echo ''
cat "$replay"
echo '```'
done

echo '</details>'
echo ''
fi
done >> $GITHUB_STEP_SUMMARY

# With many failures, the summary can easily exceed 1024 kB, the limit set by Github
Expand Down
1 change: 1 addition & 0 deletions .github/scripts/gen-test-summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ error_count=$(echo $errors | wc -w || true)

if [[ "$failures" = "" && "$errors" = "" ]]; then
# We know something went wrong, but not what
echo 'failure=true' >> $GITHUB_OUTPUT
echo 'error-message=Unspecified test suite failure. Please see log for job for details.' >> $GITHUB_OUTPUT
exit 0
fi
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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 @@ -31,6 +31,9 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
Expand All @@ -55,7 +58,7 @@ on:
jobs:
build-macos:
name: build
runs-on: macos-11
runs-on: ${{ inputs.runs-on }}

strategy:
fail-fast: false
Expand All @@ -74,7 +77,7 @@ jobs:
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: macos-x64
platform: ${{ inputs.platform }}

- name: 'Get JTReg'
id: jtreg
Expand All @@ -87,7 +90,7 @@ jobs:
- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install make
brew install autoconf make
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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 @@ -227,7 +227,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
Expand All @@ -238,8 +239,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
Expand Down Expand Up @@ -318,7 +319,17 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13

test-macos-aarch64:
name: macos-aarch64
needs:
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14

test-windows-x64:
name: windows-x64
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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 @@ -60,7 +60,10 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
Expand All @@ -83,8 +86,20 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug

- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug

- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug

- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug

- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug

- test-name: 'hs/tier1 gc'
Expand Down Expand Up @@ -132,7 +147,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'
Expand Down
2 changes: 1 addition & 1 deletion .jcheck/conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[general]
project=jdk-updates
jbs=JDK
version=21.0.2
version=21.0.3

[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
Expand Down
11 changes: 7 additions & 4 deletions doc/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,15 @@ <h3 id="pkcs11-tests">PKCS11 Tests</h3>
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
correctly, the system property
<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu
18.04 to specify the alternative NSS lib directory. The
<code>&lt;NAME&gt;</code> component should be replaced with the name
element of the appropriate <code>@Artifact</code> class. (See
<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
Expand Down
8 changes: 5 additions & 3 deletions doc/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,16 @@ It is highly recommended to use the latest NSS version when running PKCS11
tests. Improper NSS version may lead to unexpected failures which are hard to
diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail
on Ubuntu 18.04 with the default NSS version in the system. To run these tests
correctly, the system property `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
correctly, the system property `jdk.test.lib.artifacts.<NAME>` is required on
Ubuntu 18.04 to specify the alternative NSS lib directory. The `<NAME>`
component should be replaced with the name element of the appropriate
`@Artifact` class. (See `test/jdk/sun/security/pkcs11/PKCS11Test.java`)

For example:

```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
```

For more notes about the PKCS11 tests, please refer to
Expand Down
2 changes: 2 additions & 0 deletions make/RunTests.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR
# If running on Windows, propagate the _NT_SYMBOL_PATH to enable
# symbol lookup in hserr files
# The minidumps are disabled by default on client Windows, so enable them
ifeq ($$(call isTargetOs, windows), true)
$1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH
$1_JTREG_BASIC_OPTIONS += -vmoption:-XX:+CreateCoredumpOnCrash
else ifeq ($$(call isTargetOs, linux), true)
$1_JTREG_BASIC_OPTIONS += -e:_JVM_DWARF_PATH=$$(SYMBOLS_IMAGE_DIR)
endif
Expand Down
58 changes: 56 additions & 2 deletions make/autoconf/flags-cflags.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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 @@ -117,6 +117,11 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${DEBUG_PREFIX_CFLAGS}],
IF_FALSE: [
DEBUG_PREFIX_CFLAGS=
],
IF_TRUE: [
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
]
)
fi
Expand Down Expand Up @@ -158,6 +163,55 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])

# gcc will embed the full system include paths in the debug info
# resulting in non-deterministic debug symbol files and thus
# non-reproducible native libraries if gcc includes are located
# in different paths.
# Add -fdebug-prefix-map'ings for root and gcc include paths,
# pointing to a common set of folders so that the binaries are deterministic:
# root include : /usr/include
# gcc include : /usr/local/gcc_include
# g++ include : /usr/local/gxx_include
AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
[
# Determine gcc system include paths.
# Assume default roots to start with:
GCC_ROOT_INCLUDE="/usr/include"

# Determine is sysroot or devkit specified?
if test "x$SYSROOT" != "x"; then
GCC_ROOT_INCLUDE="${SYSROOT%/}/usr/include"
fi

# Add root include mapping => /usr/include
GCC_INCLUDE_DEBUG_MAP_FLAGS="-fdebug-prefix-map=${GCC_ROOT_INCLUDE}/=/usr/include/"

# Add gcc system include mapping => /usr/local/gcc_include
# Find location of stddef.h using build C compiler
GCC_SYSTEM_INCLUDE=`$ECHO "#include <stddef.h>" | \
$CC $CFLAGS -v -E - 2>&1 | \
$GREP stddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GCC_SYSTEM_INCLUDE" != "x"; then
GCC_SYSTEM_INCLUDE=`$DIRNAME $GCC_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GCC_SYSTEM_INCLUDE}/=/usr/local/gcc_include/"
fi

# Add g++ system include mapping => /usr/local/gxx_include
# Find location of cstddef using build C++ compiler
GXX_SYSTEM_INCLUDE=`$ECHO "#include <cstddef>" | \
$CXX $CXXFLAGS -v -E -x c++ - 2>&1 | \
$GREP cstddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GXX_SYSTEM_INCLUDE" != "x"; then
GXX_SYSTEM_INCLUDE=`$DIRNAME $GXX_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GXX_SYSTEM_INCLUDE}/=/usr/local/gxx_include/"
fi

# Add to debug prefix cflags
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS $GCC_INCLUDE_DEBUG_MAP_FLAGS"
])

AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
# Set default value.
Expand Down Expand Up @@ -425,7 +479,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
Expand Down
9 changes: 9 additions & 0 deletions make/autoconf/jdk-version.m4
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(COMPANY_NAME)

# Set the JDK RC Company name
# Otherwise uses the value set for "vendor-name".
UTIL_ARG_WITH(NAME: jdk-rc-company-name, TYPE: string,
DEFAULT: $COMPANY_NAME,
DESC: [Set JDK RC company name. This is used for CompanyName properties of MS Windows binaries.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(JDK_RC_COMPANY_NAME)

# The vendor URL, if any
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
Expand Down
1 change: 1 addition & 0 deletions make/autoconf/spec.gmk.in
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
JDK_RC_COMPANY_NAME:=@JDK_RC_COMPANY_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
Expand Down
6 changes: 5 additions & 1 deletion make/autoconf/toolchain.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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 @@ -389,6 +389,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"

# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
CXX="$cxx_filtered"
])

# Check if a compiler is of the toolchain type we expect, and save the version
Expand Down
Loading
Loading