Compare commits

..

1451 Commits

Author SHA1 Message Date
Albert Mingkun Yang
fb4098ff1a 8317730: Change byte_size to return size_t
Reviewed-by: coleenp, kbarrett
2023-10-10 11:55:07 +00:00
Thomas Stuefe
c2abf120bc 8261894: Remove support for UseSHM
Reviewed-by: dholmes, ayang
2023-10-10 11:10:17 +00:00
Thomas Stuefe
ad7a8e86e0 8315505: CompileTask timestamp printed can overflow
Reviewed-by: thartmann
2023-10-10 07:28:51 +00:00
Christoph Langer
fcff222f92 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Reviewed-by: aivanov
2023-10-10 07:06:32 +00:00
Christoph Langer
ef41aa02b8 8317711: Exclude gtest/GTestWrapper.java on AIX
Reviewed-by: mbaesken
2023-10-10 07:05:53 +00:00
Christoph Langer
ad6dce376d 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Reviewed-by: sspitsyn
2023-10-10 07:05:31 +00:00
Kevin Driver
e882718a60 8314199: Initial size PBEKeyFactory#validTypes is not up-to-date
Reviewed-by: jnimeh
2023-10-10 05:43:12 +00:00
Serguei Spitsyn
d313915974 8316233: VirtualThreadStart events should not be thread-filtered
Reviewed-by: lmesnik, amenkov, cjplummer
2023-10-10 03:06:16 +00:00
Leonid Mesnik
053f45695f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-09 23:10:29 +00:00
Leonid Mesnik
5b311f20df 8316446: 4 sun/management/jdp tests ignore VM flags
Reviewed-by: cjplummer, kevinw
2023-10-09 23:09:39 +00:00
Justin Lu
8e0686b065 8317633: Modernize text.testlib.HexDumpReader
Reviewed-by: lancea, naoto, mli
2023-10-09 22:57:09 +00:00
Justin Lu
5e8d893c48 8317631: Refactor ChoiceFormat tests to use JUnit
Reviewed-by: naoto
2023-10-09 22:37:41 +00:00
Soumadipta Roy
f61499c73f 8316608: Enable parallelism in vmTestbase/gc/vector tests
Reviewed-by: shade, lmesnik
2023-10-09 18:55:35 +00:00
Jonathan Gibbons
3ff5a781db 8317693: Unused parameter to Tokens.Token.comment method
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +00:00
Daniel Fuchs
508fa71753 8317736: Stream::handleReset locks twice
Reviewed-by: ccleary, djelinski, jpai, vtewari
2023-10-09 16:31:34 +00:00
Naoto Sato
1f06325142 8317471: ListFormat::parseObject() spec can be improved on parsePosition valid values
Reviewed-by: iris, lancea, joehw, mli
2023-10-09 16:29:40 +00:00
Doug Simon
a07a4a3a59 8317422: [JVMCI] concurrency issue in MethodData creation
Reviewed-by: never, thartmann
2023-10-09 12:52:28 +00:00
Daniel Lundén
7ff19383fd 8310727: C2: *_of() methods in PhaseIterGVN should use uint for the node index
Reviewed-by: thartmann
2023-10-09 11:20:26 +00:00
Albert Mingkun Yang
a57ae7e7d4 8317594: G1: Refactor find_empty_from_idx_reverse
Reviewed-by: tschatzl, iwalulya
2023-10-09 10:39:34 +00:00
Varada M
6ddbfaae49 8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
Reviewed-by: dholmes, amitkumar
2023-10-09 09:24:42 +00:00
Thomas Schatzl
0cf1a558ba 8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
Reviewed-by: coleenp, ayang
2023-10-09 08:27:56 +00:00
Andrew Leonard
bcc986b9d1 8317601: Windows build on WSL broken after JDK-8317340
Reviewed-by: djelinski, erikj
2023-10-09 07:41:31 +00:00
Vyom Tewari
460ebcd9cb 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Reviewed-by: dfuchs
2023-10-08 05:13:00 +00:00
Joe Darcy
dc4bc4f084 8306819: Consider disabling the compiler's default active annotation processing
Reviewed-by: vromero
2023-10-06 21:45:58 +00:00
vamsi-parasa
a4e9168bab 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays)
Reviewed-by: jbhateja, sviswanathan, psandoz, kvn
2023-10-06 20:15:30 +00:00
Brian Burkhalter
6c6beba256 8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException
Reviewed-by: alanb, lancea
2023-10-06 17:46:03 +00:00
Raffaello Giulietti
b62e774e6a 8317515: Unify the code of the parse*() families of methods in j.l.Integer and j.l.Long
Reviewed-by: redestad
2023-10-06 16:20:21 +00:00
Mikael Vidstedt
a64794b1ed 8317560: Change to Xcode 14.3.1 for building on macOS at Oracle
Reviewed-by: erikj
2023-10-06 16:11:58 +00:00
Albert Mingkun Yang
b3cc0c8431 8317318: Serial: Change GenCollectedHeap to SerialHeap in whitebox
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:38 +00:00
Albert Mingkun Yang
691db5df73 8317592: Serial: Remove Space::toContiguousSpace
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:16 +00:00
Tobias Hartmann
ec9ba5dae9 8317660: [BACKOUT] 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: ayang
2023-10-06 10:56:00 +00:00
Damon Fenacci
7162624d70 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: thartmann, aph
2023-10-06 09:14:03 +00:00
Damon Fenacci
f0d66d1fd3 8317502: Add asserts to check for non-null in ciInstance::java_lang_Class_klass
Reviewed-by: kvn, thartmann
2023-10-06 08:57:08 +00:00
Ben Perez
991ce84e09 4964430: (spec) missing IllegalStateException exception requirement for javax.crypto.Cipher.doFinal
Reviewed-by: mullan, valeriep
2023-10-06 03:07:23 +00:00
Naoto Sato
8a30c2a9b2 8317443: StackOverflowError on calling ListFormat::getInstance() for Norwegian locales
Reviewed-by: joehw
2023-10-05 23:06:20 +00:00
Alexey Ivanov
a1c9587c27 8313348: Fix typo in JFormattedTextField: 'it self'
Reviewed-by: honkar, dnguyen, psadhukhan
2023-10-05 14:40:15 +00:00
Zhengyu Gu
a8eacb31ab 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Reviewed-by: coleenp, fparain
2023-10-05 13:41:11 +00:00
Daniel Fuchs
4c5b66dcea 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Reviewed-by: djelinski
2023-10-05 10:44:05 +00:00
Fredrik Bredberg
42be23877c 8316523: Relativize esp in interpreter frames (PowerPC only)
Reviewed-by: mdoerr, eosterlund
2023-10-05 10:14:08 +00:00
Ludvig Janiuk
a250ae4d1b 8317039: Enable specifying the JDK used to run jtreg
Reviewed-by: erikj
2023-10-05 07:54:34 +00:00
Emanuel Peter
1ed9c76ec8 8309204: Obsolete DoReserveCopyInSuperWord
Reviewed-by: kvn, thartmann
2023-10-05 07:01:18 +00:00
Emanuel Peter
3630af26e6 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: kvn, thartmann
2023-10-05 06:46:44 +00:00
Thomas Stuefe
c6c69b579c 8314654: Metaspace: move locking out of MetaspaceArena
Reviewed-by: adinn, jsjolen
2023-10-05 06:02:02 +00:00
Alisen Chung
3105538de5 8316146: Open some swing tests 4
Reviewed-by: honkar, aivanov, prr
2023-10-04 19:38:26 +00:00
Mandy Chung
36314a90c1 8267509: Improve IllegalAccessException message to include the cause of the exception
Reviewed-by: liach, naoto
2023-10-04 18:39:25 +00:00
Calvin Cheung
ddacf92713 8305765: CompressedClassPointers.java is unreliable due to ASLR
Reviewed-by: iklam
2023-10-04 17:27:33 +00:00
Albert Mingkun Yang
4195246fba 8317354: Serial: Move DirtyCardToOopClosure to gc/serial folder
Reviewed-by: tschatzl, iwalulya
2023-10-04 14:15:10 +00:00
Roland Westrelin
0a3a925ad8 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann
2023-10-04 12:06:52 +00:00
Roland Westrelin
b0d6c8472f 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann, kvn
2023-10-04 12:06:31 +00:00
Daniel Skantz
a8549b6367 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Reviewed-by: rcastanedalo, epeter, thartmann
2023-10-04 11:58:16 +00:00
Yudi Zheng
9718f490fb 8317452: [JVMCI] Export symbols used by lightweight locking to JVMCI compilers.
Reviewed-by: dnsimon
2023-10-04 10:18:39 +00:00
Maurizio Cimadamore
0d4de8a71f 8316971: Add Lint warning for restricted method calls
Reviewed-by: ihse, vromero
2023-10-04 09:36:53 +00:00
Aleksey Shipilev
d4c904d819 8317294: Classloading throws exceptions over already pending exceptions
Reviewed-by: dholmes, coleenp
2023-10-04 07:58:41 +00:00
Emanuel Peter
48f1a925e5 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: kvn, thartmann
2023-10-04 07:54:30 +00:00
Varada M
0b0f8b55a6 8219652: [aix] Tests failing with JNI attach problems.
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-10-04 06:07:14 +00:00
Mark Powers
8c0d026d0f 8315042: NPE in PKCS7.parseOldSignedData
Reviewed-by: valeriep, weijun
2023-10-04 00:23:42 +00:00
Alex Menkov
f7deaf4bef 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Reviewed-by: cjplummer, lmesnik, sspitsyn
2023-10-03 19:35:51 +00:00
Daniel D. Daugherty
8ff10a0d35 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317448: ProblemList compiler/interpreter/TestVerifyStackAfterDeopt.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms

Reviewed-by: thartmann
2023-10-03 19:18:27 +00:00
Naoto Sato
1809b8cdd6 8317265: ListFormat::format specification could be made clearer regarding handling IllegalArgumentException.
Reviewed-by: joehw
2023-10-03 18:32:57 +00:00
Vladimir Kozlov
cfabcbf858 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: thartmann, vlivanov, epeter
2023-10-03 18:18:26 +00:00
Justin Lu
b859da9c54 8316696: Remove the testing base classes: IntlTest and CollatorTest
Reviewed-by: naoto
2023-10-03 16:38:17 +00:00
Swati Sharma
b438cffdb9 8314085: Fixing scope from benchmark to thread for JMH tests having shared state
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: sviswanathan, ecaspole
2023-10-03 16:01:36 +00:00
Jiangli Zhou
ae796a4e10 8316923: Add DEF_STATIC_JNI_OnLoad for librmi
Reviewed-by: alanb
2023-10-03 15:33:48 +00:00
Leonid Mesnik
89987dbf87 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Reviewed-by: cjplummer, amenkov
2023-10-03 15:03:47 +00:00
Leonid Mesnik
0e501f66df 8308429: jvmti/StopThread/stopthrd007 failed with "NoClassDefFoundError: Could not initialize class jdk.internal.misc.VirtualThreads"
Reviewed-by: dholmes, sspitsyn
2023-10-03 15:03:21 +00:00
Thomas Schatzl
c47a0ce3f0 8317235: Remove Access API use in nmethod class
Reviewed-by: kbarrett, thartmann
2023-10-03 14:31:12 +00:00
Andrew Leonard
353d139682 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Reviewed-by: erikj
2023-10-03 14:00:00 +00:00
Glavo
3bcfac18c3 8317246: Cleanup java.net.URLEncoder and URLDecoder use of file.encoding property
Reviewed-by: rriggs, naoto
2023-10-03 10:34:12 +00:00
Nick Gasson
b6a97c0780 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: rkennke, aph
2023-10-03 08:17:51 +00:00
Daniel Jeliński
287b243221 8316893: Compile without -fno-delete-null-pointer-checks
Reviewed-by: kbarrett, erikj
2023-10-03 05:54:33 +00:00
David Holmes
26c21f50a3 8314294: Unsafe::allocateMemory and Unsafe::freeMemory are slower than malloc/free
Reviewed-by: shade, dlong
2023-10-03 04:38:36 +00:00
Mark Powers
6e1aacdfba 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: valeriep
2023-10-02 22:43:48 +00:00
Weijun Wang
d2e2c4cef1 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry
Reviewed-by: djelinski, mullan
2023-10-02 21:53:12 +00:00
Zhengyu Gu
e25121d1d9 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Reviewed-by: shade
2023-10-02 20:21:58 +00:00
Archie Cobbs
5c8366eea4 8268622: Performance issues in javac Name class
Reviewed-by: vromero
2023-10-02 20:15:43 +00:00
Mourad Abbay
ad81abd2db 8317034: Remove redundant type cast in the java.util.stream package
Reviewed-by: psandoz
2023-10-02 20:13:46 +00:00
Weijun Wang
d7d1d42b67 8316771: Krb5.java has not defined messages for all error codes
Reviewed-by: mullan
2023-10-02 19:55:22 +00:00
Weijun Wang
f985006142 8309356: Read files in includedir in alphanumeric order
Reviewed-by: mullan
2023-10-02 18:12:06 +00:00
Soumadipta Roy
a564d436c7 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Reviewed-by: shade, mli, lmesnik, tschatzl
2023-10-02 15:17:02 +00:00
Doug Simon
878d27dba1 8317273: compiler/codecache/OverflowCodeCacheTest.java fails transiently on Graal
Reviewed-by: never, thartmann
2023-10-02 14:18:27 +00:00
Albert Mingkun Yang
2637e8ddc4 8317314: Remove unimplemented ObjArrayKlass::oop_oop_iterate_elements_bounded
Reviewed-by: dcubed
2023-10-02 13:16:49 +00:00
Daniel Fuchs
8093563bce 8317295: ResponseSubscribers.SubscriberAdapter should call the finisher function asynchronously
Reviewed-by: djelinski
2023-10-02 13:06:43 +00:00
Daniel Jeliński
516cfb135f 8316907: Fix nonnull-compare warnings
Reviewed-by: kbarrett, jsjolen
2023-10-02 10:01:44 +00:00
Michal Sobierski
59847926b6 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Reviewed-by: shade, rhalade, valeriep
2023-10-02 09:56:14 +00:00
Emanuel Peter
eeb63cd0fa 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Reviewed-by: kvn, chagedorn
2023-10-02 08:03:10 +00:00
Ludvig Janiuk
69489427e9 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: erikj, jwaters
2023-10-02 07:40:11 +00:00
Thomas Schatzl
795e5dcc85 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-10-02 07:35:02 +00:00
Roberto Castañeda Lozano
207819a05e 8315604: IGV: dump and visualize node bottom and phase types
Co-authored-by: Tobias Holenstein <tholenstein@openjdk.org>
Reviewed-by: thartmann, chagedorn, tholenstein
2023-10-02 07:03:40 +00:00
Justin Lu
8fcf70e931 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes
Reviewed-by: naoto, darcy
2023-10-02 05:06:45 +00:00
Kim Barrett
93f662f4fc 8317335: Build on windows fails after 8316645
Reviewed-by: lmesnik
2023-10-01 20:01:09 +00:00
Robbin Ehn
b8fa6c23f5 8316186: RISC-V: Remove PlatformCmpxchg<4>
Reviewed-by: fyang, mli
2023-10-01 16:33:54 +00:00
Robbin Ehn
fb055e7e53 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
Reviewed-by: ihse, fyang, luhenry, mli
2023-10-01 16:32:05 +00:00
Jaikiran Pai
009f5e1fa1 8317141: Remove unused validIndex method from URLClassPath$JarLoader
Reviewed-by: alanb, lancea, dfuchs
2023-09-30 01:06:16 +00:00
Kevin Driver
47569a256c 8295919: java.security.MessageDigest.isEqual does not adhere to @implNote
Reviewed-by: mullan
2023-09-29 18:47:47 +00:00
Alexey Semenyuk
5a6aa569aa 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Reviewed-by: almatvee
2023-09-29 17:17:54 +00:00
Naoto Sato
014c95a54d 8317126: Redundant entries in Windows tzmappings file
Reviewed-by: lancea, iris, joehw
2023-09-29 16:36:29 +00:00
Mourad Abbay
fa0697a637 8316998: Remove redundant type arguments in the java.util.stream package
Reviewed-by: psandoz
2023-09-29 15:36:16 +00:00
Brian Burkhalter
49376e4452 8316000: File.setExecutable silently fails if file does not exist
Reviewed-by: alanb
2023-09-29 15:03:10 +00:00
Doug Simon
a185be0346 8317139: [JVMCI] oop handles clearing message pollutes event log
Reviewed-by: never, thartmann
2023-09-29 14:59:33 +00:00
Alexey Semenyuk
179792beb4 8317283: jpackage tests run osx-specific checks on windows and linux
Reviewed-by: almatvee
2023-09-29 14:53:42 +00:00
Roman Kennke
bd918f49d2 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Reviewed-by: cjplummer, dholmes
2023-09-29 11:14:13 +00:00
Afshin Zafari
c45308afac 8301327: convert assert to guarantee in Handle_IDiv_Exception
Reviewed-by: dnsimon, dholmes
2023-09-29 07:05:24 +00:00
Vladimir Kempik
bd7bb67d8f 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
2023-09-29 05:15:23 +00:00
Jaikiran Pai
0259da9283 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Reviewed-by: djelinski, wetmore
2023-09-29 05:00:02 +00:00
Justin Lu
355811a996 8316559: Refactor some util/Calendar tests to JUnit
Reviewed-by: naoto, lancea
2023-09-28 23:51:12 +00:00
Eamonn McManus
ecb5e8a03f 8317264: Pattern.Bound has static fields that should be static final.
Reviewed-by: psandoz
2023-09-28 23:01:18 +00:00
Mourad Abbay
f2c221def1 8317119: Remove unused imports in the java.util.stream package
Reviewed-by: naoto, iris, psandoz
2023-09-28 22:07:12 +00:00
Alexey Ivanov
09dad0e96b 8313810: BoxLayout uses <blockquote> instead of list for layout options
8313811: Improve description of how BoxLayout lays out components

Reviewed-by: prr
2023-09-28 19:46:07 +00:00
Alexey Ivanov
73a47f0c4a 4622866: javax.swing.text.Document.remove(int, int) has a misleading picture
Reviewed-by: prr
2023-09-28 19:28:37 +00:00
Aleksei Voitylov
cfcbfc6cae 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Reviewed-by: simonis, rgiulietti, rriggs
2023-09-28 18:11:40 +00:00
Leonid Mesnik
ca5eee2fe3 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Reviewed-by: cjplummer, sspitsyn
2023-09-28 17:15:40 +00:00
Albert Mingkun Yang
060db1b2a2 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Reviewed-by: tschatzl, iwalulya
2023-09-28 17:13:10 +00:00
Naoto Sato
3481a48571 8316974: ListFormat creation is unsuccessful for some of the supported Locales
Reviewed-by: joehw, rriggs
2023-09-28 16:04:46 +00:00
Matthias Baesken
29348b3cf6 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Reviewed-by: ihse, erikj
2023-09-28 15:53:03 +00:00
Ian Myers
3f19df685c 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Reviewed-by: shade, tschatzl
2023-09-28 15:52:36 +00:00
Daniel Fuchs
fc98998627 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: djelinski
2023-09-28 13:32:38 +00:00
Ashutosh Mehra
065203d44a 8313631: SA: stack trace printed using "where" command does not show class name
Reviewed-by: cjplummer, dholmes
2023-09-28 13:32:15 +00:00
Coleen Phillimore
0c55887bfb 8309599: WeakHandle and OopHandle release should clear obj pointer
Reviewed-by: dholmes, kbarrett
2023-09-28 12:00:20 +00:00
Lutz Schmidt
1230aed61d 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Reviewed-by: kvn, mdoerr
2023-09-28 11:50:51 +00:00
Albert Mingkun Yang
d0c1444d92 8316957: Serial: Change GenCollectedHeap to SerialHeap inside gc/serial folder
Reviewed-by: iwalulya, tschatzl
2023-09-28 11:49:03 +00:00
Matthias Baesken
bc5a39bb54 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Reviewed-by: mdoerr
2023-09-28 11:42:59 +00:00
Alexey Ivanov
3481ecb255 8316159: Update BoxLayout sample image for crisper edges
Move all rectangles half a pixel to make edges crisp

Reviewed-by: prr
2023-09-28 11:31:46 +00:00
Maurizio Cimadamore
798125152b 8316970: Add internal annotation to mark restricted methods
Reviewed-by: jvernee, iris, alanb
2023-09-28 09:49:57 +00:00
Ludvig Janiuk
77fac0f4c6 8316906: Clarify TLABWasteTargetPercent flag
Reviewed-by: ayang, iwalulya, tschatzl
2023-09-28 08:02:10 +00:00
Robbin Ehn
2d154fcd0d 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Reviewed-by: luhenry, fyang
2023-09-28 05:47:33 +00:00
Jaikiran Pai
42924ed4e5 8316946: jtreg failure handler pages are mislabelling the jcmd/thread/dump_to_file results.
Reviewed-by: dholmes
2023-09-28 05:42:26 +00:00
Daniel Jeliński
384d2ea6d1 8316125: Windows call_stub unnecessarily saves xmm16-31 when UseAVX>=3
Reviewed-by: jvernee, kvn, sviswanathan
2023-09-28 04:16:54 +00:00
Jean-Philippe Bempel
84390dd063 8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java fails intermittently
Reviewed-by: coleenp, dholmes
2023-09-28 02:43:41 +00:00
Ioi Lam
52073b27a3 8316994: Avoid modifying ClassLoader and Module objects during -Xshare:dump
Reviewed-by: matsaave, ccheung
2023-09-28 01:47:54 +00:00
Mikael Vidstedt
83c0e45160 8306630: Bump minimum boot jdk to JDK 21
Reviewed-by: darcy, erikj, iris, shade
2023-09-28 00:17:31 +00:00
Alisen Chung
d3a79b5861 8316371: Open some swing tests 6
Reviewed-by: dnguyen, prr
2023-09-27 23:20:29 +00:00
Ilya Gavrilin
750da00129 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Reviewed-by: fyang, luhenry
2023-09-27 17:07:10 +00:00
Thomas Schatzl
b8cec480f8 8315848: G1: Rename rs_ prefix to card_rs in analytics
Reviewed-by: ayang, lkorinth
2023-09-27 17:05:58 +00:00
Kevin Walls
5350fd6173 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization
Reviewed-by: lmesnik, cjplummer
2023-09-27 15:55:12 +00:00
Thomas Schatzl
edcc559f09 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Reviewed-by: kvn, thartmann
2023-09-27 15:14:57 +00:00
Roger Riggs
1be355734d 8315721: CloseRace.java#id0 fails transiently on libgraal
Reviewed-by: lancea, jpai
2023-09-27 13:30:35 +00:00
Fredrik Bredberg
347bd15e49 8315966: Relativize initial_sp in interpreter frames
Reviewed-by: fyang, mdoerr, pchilanomate
2023-09-27 13:15:07 +00:00
Alan Bateman
b24ad7cf57 8316924: java/lang/Thread/virtual/stress/ParkALot.java times out
Reviewed-by: jpai
2023-09-27 12:54:29 +00:00
Christoph Langer
ad6df41a9e 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Reviewed-by: mbaesken, aivanov
2023-09-27 12:37:39 +00:00
Afshin Zafari
45a145e5bc 8299915: Remove ArrayAllocatorMallocLimit and associated code
Reviewed-by: dholmes, coleenp
2023-09-27 08:27:02 +00:00
Axel Boldt-Christmas
50a7a04e9a 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists
Reviewed-by: cjplummer, dholmes
2023-09-27 08:16:34 +00:00
Daniel Jeliński
fee9d3362c 8293176: SSLEngine handshaker does not send an alert after a bad parameters
Reviewed-by: mdonovan, jnimeh
2023-09-27 07:33:52 +00:00
Daniel Jeliński
fd52be2a3c 8316895: SeenThread::print_action_queue called on a null pointer
Reviewed-by: coleenp, dholmes
2023-09-27 07:31:44 +00:00
Gui Cao
e39197ec62 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-27 07:18:42 +00:00
Matthias Baesken
b659e0343a 8316897: tools/jpackage/junit tests fail on AIX after JDK-8316547
Reviewed-by: cstein, asemenyuk, almatvee
2023-09-27 06:43:50 +00:00
Prasanta Sadhukhan
83806abe44 6450193: After the first Serialization, JTableHeader does not uninstall its UI
Reviewed-by: aivanov
2023-09-27 04:28:10 +00:00
Alexander Zvegintsev
2f311d59dc 8316211: Open source several manual applet tests
Reviewed-by: honkar, aivanov
2023-09-26 21:24:07 +00:00
Alexander Zvegintsev
65227a3c64 8316389: Open source few AWT applet tests
Reviewed-by: dnguyen, abhiscxk, aivanov
2023-09-26 21:23:34 +00:00
Alisen Chung
788e6e1548 8316218: Open some swing tests 5
Reviewed-by: prr, dnguyen
2023-09-26 20:52:04 +00:00
Leonid Mesnik
ee9776fa23 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Reviewed-by: amenkov, cjplummer
2023-09-26 18:35:13 +00:00
Brian Burkhalter
36ac83904c 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Reviewed-by: alanb
2023-09-26 15:27:44 +00:00
Amit Kumar
efb7e85ecf 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: mdoerr, lucy
2023-09-26 15:02:49 +00:00
Roland Westrelin
4e1e579e8b 8315920: C2: "control input must dominate current control" assert failure
Reviewed-by: thartmann, chagedorn
2023-09-26 14:32:54 +00:00
Matthias Baesken
1f7dfda705 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Reviewed-by: lucy
2023-09-26 14:01:45 +00:00
Martin Doerr
20ff603108 8316735: Print LockStack in hs_err files
Reviewed-by: dholmes, mbaesken
2023-09-26 13:33:33 +00:00
Albert Mingkun Yang
e510dee162 8316098: Revise signature of numa_get_leaf_groups
Reviewed-by: tschatzl, coleenp
2023-09-26 12:56:59 +00:00
Albert Mingkun Yang
1513e7910f 8316940: Serial: Remove unused declarations in genCollectedHeap
Reviewed-by: stefank, tschatzl
2023-09-26 12:56:24 +00:00
Roland Westrelin
52983ed529 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Reviewed-by: chagedorn, thartmann
2023-09-26 06:55:01 +00:00
Per Minborg
9e6cb62048 8316851: Add @sealedGraph to Executable
Reviewed-by: darcy
2023-09-26 06:00:58 +00:00
Amit Kumar
3fe6e0faca 8308479: [s390x] Implement alternative fast-locking scheme
Reviewed-by: lucy, mdoerr
2023-09-26 03:40:11 +00:00
David Holmes
e2e8e8e210 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Reviewed-by: chagedorn, pchilanomate
2023-09-25 23:42:17 +00:00
Sergey Bylokhov
0dce4c1758 8313220: Remove Windows specific workaround in LCMS.c for _snprintf
Reviewed-by: prr
2023-09-25 23:01:19 +00:00
Sergey Bylokhov
e5f05b5a96 8312191: ColorConvertOp.filter for the default destination is too slow
Reviewed-by: prr
2023-09-25 20:54:00 +00:00
Alexander Zuev
be9cc73fca 8315871: Opensource five more Swing regression tests
Reviewed-by: dnguyen, prr
2023-09-25 18:30:49 +00:00
Alexey Ivanov
b65f4f7220 8313403: Remove unused 'mask' field from JFormattedTextField
Reviewed-by: prr, honkar
2023-09-25 18:06:53 +00:00
Naoto Sato
e3201d1d13 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Reviewed-by: jlu, alanb
2023-09-25 18:03:52 +00:00
Liam Miller-Cushon
9291b46bcf 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
Reviewed-by: cjplummer, amenkov
2023-09-25 16:43:20 +00:00
Mourad Abbay
afa48333ab 8271268: Fix Javadoc links for Stream.mapMulti
Reviewed-by: liach, psandoz
2023-09-25 16:38:31 +00:00
Elif Aslan
9688ec2d0d 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Reviewed-by: shade, egahlin
2023-09-25 15:01:17 +00:00
Ian Myers
0f77d250b6 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Reviewed-by: shade, weijun
2023-09-25 13:12:41 +00:00
Ludovic Henry
311c7461c8 8316859: RISC-V: Disable detection of V through HWCAP
Reviewed-by: rehn, fyang
2023-09-25 12:21:47 +00:00
Andrew Leonard
0f0c5b2d71 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Reviewed-by: erikj
2023-09-25 08:35:53 +00:00
Thomas Schatzl
3d6e775d71 8316669: ImmutableOopMapSet destructor not called
Reviewed-by: thartmann, jvernee, kvn
2023-09-25 06:38:11 +00:00
Thomas Schatzl
837783c2d3 8316670: Remove effectively unused nmethodBucket::_count
Reviewed-by: kvn, dlong
2023-09-25 06:36:14 +00:00
Andrey Turbanov
89e068bc19 8316556: Fix typos in java.desktop
Reviewed-by: prr, aivanov
2023-09-25 06:32:40 +00:00
Hao Sun
481cfc7985 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: aph, dlong
2023-09-25 05:38:51 +00:00
Tejesh R
f0ff001dd7 8315742: Open source several Swing Scroll related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-25 05:35:35 +00:00
Alisen Chung
a2391a92cd 8316053: Open some swing tests 3
Reviewed-by: dnguyen, prr
2023-09-23 05:42:07 +00:00
Alisen Chung
d2d7d9a8b7 8315882: Open some swing tests 2
Reviewed-by: honkar, prr
2023-09-23 04:45:16 +00:00
Coleen Phillimore
68a9c81040 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Reviewed-by: dcubed, iklam
2023-09-22 21:58:01 +00:00
Alisen Chung
e015e6ce28 8315825: Open some swing tests
Reviewed-by: abhiscxk, prr
2023-09-22 20:51:14 +00:00
Chris Plummer
9aaac2eee3 8301639: JDI and JDWP specs should clarify potential deadlock issues with method invocation
Reviewed-by: dholmes, alanb
2023-09-22 20:29:00 +00:00
Hannes Wallnöfer
6b8261b8d6 8315464: Uncouple AllClassesIndexWriter from IndexBuilder
Reviewed-by: jjg
2023-09-22 19:17:40 +00:00
Mandy Chung
9b65b7ddbe 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447
Reviewed-by: bchristi
2023-09-22 18:38:06 +00:00
Ben Perez
53516aed38 8304956: Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback
Reviewed-by: hchao, mullan
2023-09-22 17:31:57 +00:00
Brian Burkhalter
373cdf257d 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: lancea, djelinski, rriggs
2023-09-22 17:24:05 +00:00
Naoto Sato
f7578e8048 8316540: StoreReproducibilityTest fails on some locales
Reviewed-by: joehw, jlu, jpai, alanb
2023-09-22 16:53:56 +00:00
Joe Darcy
b66ded9a5b 8316688: Widen allowable error bound of Math.hypot
Reviewed-by: bpb, rgiulietti
2023-09-22 16:35:55 +00:00
Aleksey Shipilev
6c61bc1950 8316514: Better diagnostic header for VtableStub
Reviewed-by: thartmann, kvn
2023-09-22 16:24:06 +00:00
Martin Doerr
c90d63105c 8315750: Update subtype check profile collection on PPC following 8308869
Reviewed-by: rrich, lucy
2023-09-22 13:21:10 +00:00
Alexey Ivanov
00f585bd22 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Reviewed-by: azvegint, prr, goetz
2023-09-22 12:47:01 +00:00
Claes Redestad
c24c66db97 8316681: Rewrite URLEncoder.encode to use small reusable buffers
Reviewed-by: dfuchs, rriggs
2023-09-22 09:41:01 +00:00
Xin Liu
bd2439f3fc 8316702: Only evaluate buffer when IGVPrintLevelOption >= 5
Reviewed-by: chagedorn, thartmann
2023-09-22 08:35:35 +00:00
Tobias Hartmann
4b65483921 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Reviewed-by: roland, chagedorn
2023-09-22 08:30:49 +00:00
Severin Gehwolf
7352bb9105 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Reviewed-by: shade
2023-09-22 08:12:51 +00:00
Yi-Fan Tsai
343cc0ce2b 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: kvn, thartmann
2023-09-22 07:57:05 +00:00
Stefan Karlsson
fe862639e7 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Reviewed-by: aboldtch, serb
2023-09-22 06:38:45 +00:00
Jie Fu
775e22a8a6 8316699: TestDynamicConstant.java fails with release VMs
Reviewed-by: dholmes
2023-09-22 02:14:52 +00:00
Mandy Chung
a1e03463ac 8316698: build failure caused by JDK-8316456
Reviewed-by: dcubed, dholmes
2023-09-22 00:10:06 +00:00
Mandy Chung
c72f00463f 8316456: StackWalker may skip Continuation::yield0 frame mistakenly
Reviewed-by: rpressler, pchilanomate
2023-09-21 23:10:49 +00:00
Alex Menkov
041510dc21 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Reviewed-by: cjplummer, lmesnik
2023-09-21 22:24:24 +00:00
Justin Lu
ef49e6c0d7 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Reviewed-by: naoto
2023-09-21 21:31:37 +00:00
Justin Lu
496264c1f9 8316435: sun.util.calendar.CalendarSystem subclassing should be restricted
Reviewed-by: naoto
2023-09-21 21:31:07 +00:00
Daniel D. Daugherty
1100dbc6b2 8316695: ProblemList serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java
Reviewed-by: ccheung, kbarrett
2023-09-21 20:59:30 +00:00
Damon Nguyen
d3e8218386 8316306: Open source and convert manual Swing test
Reviewed-by: honkar, azvegint
2023-09-21 19:37:47 +00:00
Joe Wang
4e5717754a 8316383: NullPointerException in AbstractSAXParser after JDK-8306632
Reviewed-by: lancea, naoto
2023-09-21 19:17:24 +00:00
Alexander Zvegintsev
3b397c8552 8315965: Open source various AWT applet tests
Reviewed-by: honkar, psadhukhan
2023-09-21 18:28:19 +00:00
Sean Mullan
c698b45a7b 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Reviewed-by: jnimeh
2023-09-21 17:31:46 +00:00
Sacha Coppey
015f6f5d94 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments
Reviewed-by: dnsimon, psandoz
2023-09-21 17:00:46 +00:00
Damon Nguyen
83b01cf3c2 8311922: [macOS] right-Option key fails to generate release event
Reviewed-by: honkar, prr
2023-09-21 16:42:14 +00:00
Doug Simon
542b3000f0 8315954: getArgumentValues002.java fails on Graal
Reviewed-by: never, fparain
2023-09-21 16:28:44 +00:00
Daniel Jeliński
063790012d 8316433: net.dll should delay load winhttp.dll
Reviewed-by: erikj, ihse
2023-09-21 15:43:05 +00:00
Thomas Schatzl
90bcdbd15f 8316581: Improve performance of Symbol::print_value_on()
Reviewed-by: shade, coleenp, dholmes
2023-09-21 14:47:06 +00:00
Doug Simon
8350268c05 8316453: [JVMCI] Using Xcomp on jargraal must eagerly initialize JVMCI
Reviewed-by: never, thartmann
2023-09-21 14:29:06 +00:00
Alexander Zvegintsev
3809d69ac4 8316240: Open source several add/remove MenuBar manual tests
Reviewed-by: honkar, psadhukhan
2023-09-21 13:57:28 +00:00
Jorn Vernee
38bf1192b6 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: dholmes, djelinski
2023-09-21 13:54:35 +00:00
Daniel Jeliński
349723cb8d 8315739: Missing null check in os::vm_min_address
Reviewed-by: dholmes, jvernee
2023-09-21 12:43:53 +00:00
Daniel Jeliński
8cbe42b94a 8316421: libjava should load shell32.dll eagerly
Reviewed-by: erikj, jwaters, jvernee
2023-09-21 12:39:03 +00:00
Matthias Baesken
378bcd5985 8316595: Alpine build fails after JDK-8314021
Reviewed-by: dholmes, yyang
2023-09-21 12:24:51 +00:00
Coleen Phillimore
b3d75fe12e 8310874: Runthese30m crashes with klass should be in the placeholders during verification
Reviewed-by: dholmes, iklam
2023-09-21 12:17:34 +00:00
Martin Doerr
6a4b665550 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Reviewed-by: goetz, mbaesken
2023-09-21 12:06:27 +00:00
Claes Redestad
913e43fea9 8316582: Minor startup regression in 22-b15 due JDK-8310929
Reviewed-by: liach, rriggs
2023-09-21 09:36:28 +00:00
Sergei Tachenov
23ed890f3f 6415065: Submenu is shown on wrong screen in multiple monitor environment
Reviewed-by: prr
2023-09-21 09:00:26 +00:00
Christian Hagedorn
ca47f5f06d 8316105: C2: Back to back Parse Predicates from different loops but with same deopt reason are wrongly grouped together
Reviewed-by: roland, thartmann, kvn
2023-09-21 08:56:31 +00:00
Chen Liang
1749ba265b 8311084: Add typeSymbol() API for applicable constant pool entries
Reviewed-by: briangoetz, asotona
2023-09-21 08:05:01 +00:00
Abhishek Kumar
9f5d2b947f 8316285: Opensource JButton manual tests
Reviewed-by: psadhukhan, tr
2023-09-21 06:35:34 +00:00
Qing Xiao
a35e96a3fa 8313612: Use JUnit in lib-test/jdk tests
Reviewed-by: cstein, asotona
2023-09-21 06:24:49 +00:00
Deepa Kumari
bee7524251 8315786: [AIX] Build Disk Local Detection Issue with GNU-utils df on AIX
Reviewed-by: tsteele, erikj, amitkumar
2023-09-21 06:01:49 +00:00
Roberto Castañeda Lozano
ceff47b462 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: ayang, thartmann, kvn
2023-09-21 05:49:09 +00:00
Jean-Philippe Bempel
df4a25b41c 8308762: Metaspace leak with Instrumentation.retransform
Reviewed-by: dholmes, coleenp
2023-09-21 05:16:07 +00:00
David Holmes
84124794c2 8316229: Enhance class initialization logging
Reviewed-by: shade, coleenp
2023-09-21 00:50:33 +00:00
Damon Nguyen
c04c9ea361 8316627: JViewport Test headless failure
Reviewed-by: dcubed, prr
2023-09-20 22:11:27 +00:00
Brian Burkhalter
5cacf212f0 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Reviewed-by: alanb
2023-09-20 20:42:31 +00:00
Erik Joelsson
3461c7b165 8316532: Native library copying in BuildMicrobenchmark.gmk cause dups on macOS
Reviewed-by: ihse, redestad
2023-09-20 20:36:16 +00:00
Coleen Phillimore
3301fb1e8a 8315869: UseHeavyMonitors not used
Reviewed-by: dcubed, alanb
2023-09-20 19:09:02 +00:00
Leonid Mesnik
54028e779b 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Reviewed-by: dholmes, kevinw, dcubed
2023-09-20 18:13:45 +00:00
Naoto Sato
7c991cc567 8296246: Update Unicode Data Files to Version 15.1.0
Reviewed-by: erikj, joehw, srl, rriggs
2023-09-20 17:39:57 +00:00
Damon Nguyen
a021dbcb9e 8316149: Open source several Swing JTree JViewport KeyboardManager tests
Reviewed-by: psadhukhan, tr
2023-09-20 16:19:37 +00:00
Daniel D. Daugherty
455cfae1e1 8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Reviewed-by: dholmes, rkennke, stefank
2023-09-20 15:27:27 +00:00
Coleen Phillimore
9e00949a26 8316427: Duplicated code for {obj,type}ArrayKlass::array_klass
Reviewed-by: dholmes, adinn
2023-09-20 14:38:04 +00:00
Alexander Zuev
c43ebd34af 8315981: Opensource five more random Swing tests
Reviewed-by: tr, azvegint
2023-09-20 14:31:42 +00:00
Leo Korinth
e30e356442 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Reviewed-by: ihse, erikj
2023-09-20 13:04:45 +00:00
Erik Joelsson
242eeaea47 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Reviewed-by: jwaters, ihse
2023-09-20 12:48:19 +00:00
Tim Prinzing
b275bdd9b5 8308995: Update Network IO JFR events to be static mirror events
Reviewed-by: egahlin, alanb
2023-09-20 12:34:08 +00:00
Matthias Baesken
e1870d360e 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Reviewed-by: mdoerr, chagedorn
2023-09-20 09:08:52 +00:00
Aleksey Shipilev
ec74194cb7 8316546: Backout JDK-8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: dholmes
2023-09-20 05:33:36 +00:00
Alexey Semenyuk
2568188630 8316547: Use JUnit.dir jtreg property with jpackage JUnit tests
Reviewed-by: almatvee
2023-09-19 21:43:35 +00:00
Harshitha Onkar
833a82872c 8315876: Open source several Swing CSS related tests
Reviewed-by: azvegint, dnguyen, aivanov
2023-09-19 20:41:57 +00:00
Man Cao
7ce5bd1590 8316468: os::write incorrectly handles partial write
Reviewed-by: dholmes, shade
2023-09-19 20:06:40 +00:00
Harshitha Onkar
d19e017d3f 8315951: Open source several Swing HTMLEditorKit related tests
Reviewed-by: dnguyen, aivanov
2023-09-19 18:42:56 +00:00
Damon Nguyen
62c0a1b9ac 8315883: Open source several Swing JToolbar tests
Reviewed-by: honkar, aivanov
2023-09-19 18:28:37 +00:00
Harshitha Onkar
0c972468e7 8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp
Reviewed-by: aivanov, serb
2023-09-19 17:37:49 +00:00
Damon Nguyen
d2b2f6759f 8315952: Open source several Swing JToolbar JTooltip JTree tests
Reviewed-by: aivanov, honkar
2023-09-19 17:34:03 +00:00
Damon Nguyen
5f6cee86ef 8316056: Open source several Swing JTree tests
Reviewed-by: honkar, aivanov
2023-09-19 16:56:12 +00:00
Mikhailo Seledtsov
b685ee00b2 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: dholmes, lmesnik
2023-09-19 16:42:23 +00:00
Leonid Mesnik
e0f8d16833 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Reviewed-by: cjplummer
2023-09-19 16:35:50 +00:00
Leonid Mesnik
7b1e2bfe0f 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Reviewed-by: dholmes
2023-09-19 16:33:31 +00:00
Rajan Halade
da57d2a1eb 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
2023-09-19 16:11:23 +00:00
Albert Mingkun Yang
a6d120d4df 8316513: Serial: Remove unused invalidate_remembered_set
Reviewed-by: tschatzl
2023-09-19 15:20:51 +00:00
Adam Farley
607bd4ed84 8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt
Reviewed-by: clanger, erikj
2023-09-19 14:13:40 +00:00
Glavo
f25c920fd3 8314774: Optimize URLEncoder
Reviewed-by: redestad, dfuchs
2023-09-19 13:49:58 +00:00
Tejesh R
7c5f2a2db9 8315669: Open source several Swing PopupMenu related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-19 13:36:16 +00:00
Per Minborg
cf74b8c2a3 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Alan Bateman
4461eeb31d 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Reviewed-by: sspitsyn, rpressler
2023-09-19 10:58:12 +00:00
Andrew Haley
670b4567cf 8315038: Capstone disassembler stops when it sees a bad instruction
Reviewed-by: jvernee, shade
2023-09-19 09:16:57 +00:00
Thomas Schatzl
fab372d3a2 8316428: G1: Nmethod count statistics only count last code root set iterated
Reviewed-by: iwalulya, ayang
2023-09-19 08:30:17 +00:00
Andrey Turbanov
283c360392 8314877: Make fields final in 'java.net' package
Reviewed-by: jpai
2023-09-19 08:26:25 +00:00
Albert Mingkun Yang
86115c2a2e 8316420: Serial: Remove unused GenCollectedHeap::oop_iterate
Reviewed-by: stefank, tschatzl
2023-09-19 08:25:52 +00:00
Thomas Schatzl
d038571213 8030815: Code roots are not accounted for in region prediction
Reviewed-by: iwalulya, ayang
2023-09-19 08:23:57 +00:00
Tejesh R
138542de78 8316061: Open source several Swing RootPane and Slider related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:33 +00:00
Tejesh R
f52e500f80 8316104: Open source several Swing SplitPane and RadioButton related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:01 +00:00
Yi Yang
3760a0448d 8314021: HeapDump: Optimize segmented heap file merging phase
Reviewed-by: amenkov, kevinw
2023-09-19 02:03:15 +00:00
Calvin Cheung
f226ceb435 8316440: LambdasInTwoArchives.java failed to find WhiteBox.class
Reviewed-by: iklam
2023-09-19 00:12:36 +00:00
Damon Nguyen
24c3d86f32 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Reviewed-by: honkar, aivanov
2023-09-18 23:08:26 +00:00
Justin Lu
373e37bf13 8313813: Field sun.util.calendar.CalendarDate#forceStandardTime is never set
Reviewed-by: aturbanov, naoto
2023-09-18 22:08:17 +00:00
Joe Darcy
5308bbbcf8 8246280: Refine API to model sealed classes and interfaces in javax.lang.model
Reviewed-by: vromero, jjg
2023-09-18 20:40:01 +00:00
Alexey Semenyuk
dcea9bf087 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Reviewed-by: almatvee
2023-09-18 20:19:36 +00:00
Alexey Semenyuk
1b104b63a9 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Reviewed-by: almatvee
2023-09-18 20:12:38 +00:00
Aleksey Shipilev
4421951d8f 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Reviewed-by: lmesnik, cjplummer
2023-09-18 18:29:33 +00:00
shaojin.wensj
f09b7af685 8311220: Optimization for StringLatin UpperLower
Reviewed-by: redestad, liach
2023-09-18 17:04:50 +00:00
Christoph Langer
2e2d49c76d 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Reviewed-by: mbaesken
2023-09-18 12:31:36 +00:00
Christoph Langer
bf9d1e2071 8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX
Reviewed-by: alanb
2023-09-18 12:31:14 +00:00
Joachim Kern
21c2dac159 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Reviewed-by: dholmes, mbaesken
2023-09-18 11:57:48 +00:00
Albert Mingkun Yang
ecce2afc1a 8316357: Serial: Remove unused GenCollectedHeap::space_containing
Reviewed-by: tschatzl
2023-09-18 11:36:42 +00:00
Nikita Sakharin
3828dc913a 8314236: Overflow in Collections.rotate
Co-authored-by: Nikita Sakharin <17588081+nikita-sakharin@users.noreply.github.com>
Reviewed-by: shade, smarks
2023-09-18 09:20:11 +00:00
Adam Sotona
1203e11a8d 8294969: Convert jdk.jdeps javap to use the Classfile API
Reviewed-by: vromero
2023-09-18 08:35:31 +00:00
Leo Korinth
fbc766ee21 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-18 07:14:53 +00:00
Matthias Baesken
aa0ebeedb1 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Reviewed-by: lucy, clanger
2023-09-18 07:01:48 +00:00
Aleksey Shipilev
ca3fe7b3fd 8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: phh, vlivanov
2023-09-18 05:53:12 +00:00
Alan Bateman
f44032969f 8316391: (zipfs) ZipFileSystem.readFullyAt does not tolerate short reads
Reviewed-by: jpai, lancea
2023-09-17 11:53:12 +00:00
Doug Simon
4b8f5d031a 8316273: JDK-8315818 broke JVMCIPrintProperties on libgraal
Reviewed-by: never, kvn
2023-09-16 21:31:23 +00:00
Christoph Langer
e62419823a 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
Reviewed-by: alanb
2023-09-16 21:08:49 +00:00
Pavel Rappo
c92bdb0e91 8316187: Modernize examples in StringTokenizer and {Date,Number}Format
Reviewed-by: naoto
2023-09-16 07:51:34 +00:00
Harshitha Onkar
8f46abc938 8315889: Open source several Swing HTMLDocument related tests
Reviewed-by: tr, azvegint
2023-09-15 20:32:38 +00:00
Chris Plummer
00504472b9 8316148: Remove sun/tools/jhsdb/JStackStressTest.java from problem list
Reviewed-by: dholmes
2023-09-15 20:22:03 +00:00
Pavel Rappo
149acd186e 8316207: Fix typos in java.io.StreamTokenizer
Reviewed-by: naoto
2023-09-15 17:32:41 +00:00
Daniel Fuchs
dc5ca1d379 8316031: SSLFlowDelegate should not log from synchronized block
Reviewed-by: djelinski
2023-09-15 17:21:27 +00:00
Brian Burkhalter
8dfde28b28 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: alanb
2023-09-15 15:15:46 +00:00
Sean Mullan
3c743cfea0 8312126: NullPointerException in CertStore.getCRLs after 8297955
Reviewed-by: weijun
2023-09-15 13:12:15 +00:00
Albert Mingkun Yang
bd268137ed 8316295: Serial: Remove empty Generation::promotion_failure_occurred
Reviewed-by: tschatzl
2023-09-15 11:39:16 +00:00
Feilong Jiang
42dc6b5d3a 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: fyang
2023-09-15 10:04:43 +00:00
Roman Kennke
31c4e03d5d 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: jsjolen, eosterlund
2023-09-15 09:48:58 +00:00
Andrey Turbanov
89cb290bb0 8312165: Fix typos in java.desktop Swing
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2023-09-15 09:18:28 +00:00
Alan Bateman
25f32f3538 8316160: Remove sun.misc.Unsafe.{shouldBeInitialized,ensureClassInitialized}
Reviewed-by: rriggs, mchung, jpai
2023-09-15 09:09:21 +00:00
Leo Korinth
86dde5e02b 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-15 08:59:48 +00:00
Daniel Fuchs
4f864faf42 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Reviewed-by: jpai
2023-09-15 08:30:18 +00:00
Gui Cao
4070829ae5 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-15 07:42:23 +00:00
Aleksey Shipilev
d575968b4b 8316178: Better diagnostic header for CodeBlobs
Reviewed-by: thartmann, kvn
2023-09-15 07:14:35 +00:00
Abhishek Kumar
bfbc41c1f1 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Reviewed-by: kizune, tr
2023-09-15 06:23:20 +00:00
Abhishek Kumar
0775bf2f03 8316106: Open source few swing JInternalFrame and JMenuBar tests
Reviewed-by: kizune, tr
2023-09-15 06:18:36 +00:00
Tejesh R
4a63eb0522 8315834: Open source several Swing JSpinner related tests
Reviewed-by: psadhukhan, abhiscxk
2023-09-15 06:08:27 +00:00
Per Minborg
8dc2d9280e 8316190: Improve MemorySegment::toString
Reviewed-by: rriggs
2023-09-15 05:43:57 +00:00
Jayathirth D V
783e44d07e 8316326: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all again
Reviewed-by: dholmes
2023-09-15 03:04:28 +00:00
Pengfei Li
96781ba33d 8312332: C2: Refactor SWPointer out from SuperWord
Reviewed-by: epeter, kvn
2023-09-15 01:02:44 +00:00
Justin Lu
b55e418a07 8301991: Convert l10n properties resource bundles to UTF-8 native
Reviewed-by: naoto
2023-09-14 22:19:18 +00:00
Harshitha Onkar
d475f61fd5 8315731: Open source several Swing Text related tests
Reviewed-by: psadhukhan, tr
2023-09-14 22:03:03 +00:00
Soumadipta Roy
4415261688 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: martin, shade
2023-09-14 19:22:31 +00:00
Adam Sotona
b2e91060db 8313452: Improve Classfile API attributes handling safety
Reviewed-by: briangoetz
2023-09-14 18:52:51 +00:00
Chris Plummer
2a6fb9ce59 8316147: Remove serviceability/sa/TestJhsdbJstackMixed.java from -Xcomp problem list
Reviewed-by: lmesnik
2023-09-14 18:52:24 +00:00
Adam Sotona
ca747f09b6 8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
Reviewed-by: briangoetz
2023-09-14 18:30:39 +00:00
Adam Sotona
6d47fc6d5b 8313258: RuntimeInvisibleTypeAnnotationsAttribute.annotations() API Index out of Bound error
Reviewed-by: briangoetz
2023-09-14 18:29:01 +00:00
Adam Sotona
c7d306c65c 8315541: Classfile API TypeAnnotation.TargetInfo factory methods accept null labels
Reviewed-by: briangoetz
2023-09-14 18:27:12 +00:00
Harshitha Onkar
c11f8352e9 8315824: Open source several Swing Text/HTML related tests
Reviewed-by: psadhukhan, azvegint
2023-09-14 17:51:54 +00:00
Mandy Chung
5cea53d372 8315810: Reimplement sun.reflect.ReflectionFactory::newConstructorForSerialization with method handles
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: rriggs
2023-09-14 16:10:55 +00:00
Soumadipta Roy
eb1f67b160 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Reviewed-by: shade, lmesnik
2023-09-14 15:59:13 +00:00
Prasanta Sadhukhan
a57b9dab6c 8316242: Opensource SwingGraphics manual test
Reviewed-by: kizune, abhiscxk
2023-09-14 15:50:03 +00:00
Albert Mingkun Yang
3abe7982bf 8316115: Parallel: Fix -Wconversion warnings around NUMA node ID
Reviewed-by: shade, tschatzl
2023-09-14 14:49:40 +00:00
Matias Saavedra Silva
83dca6296e 8313638: Add test for dump of resolved references
Reviewed-by: ccheung, iklam
2023-09-14 14:30:14 +00:00
Robbin Ehn
cfa89012ab 8315338: RISC-V: Change flags for stable extensions to non-experimental
Reviewed-by: fyang, luhenry, fjiang
2023-09-14 13:50:49 +00:00
Soumadipta Roy
edd454b502 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Reviewed-by: shade, tschatzl
2023-09-14 12:21:45 +00:00
Albert Mingkun Yang
de9b971c2e 8315933: Serial: Remove empty Generation::ensure_parsability
Reviewed-by: tschatzl, sjohanss
2023-09-14 12:06:25 +00:00
Stefan Karlsson
b48dbf6bfa 8316181: Move the fast locking implementation out of the .ad files
Reviewed-by: thartmann, rkennke, fyang
2023-09-14 11:50:24 +00:00
Prasanta Sadhukhan
8f4dfc443b 8316164: Opensource JMenuBar manual test
Reviewed-by: tr, jdv
2023-09-14 10:21:44 +00:00
Prasanta Sadhukhan
33c62e4fff 8316154: Opensource JTextArea manual tests
Reviewed-by: abhiscxk, jdv
2023-09-14 10:09:08 +00:00
Andrey Turbanov
14408bc8f8 8315973: Remove unused fields from ThreadLocalRandom
Reviewed-by: jpai
2023-09-14 09:01:13 +00:00
Kevin Walls
903b9e8dd9 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: lmesnik, cjplummer
2023-09-14 07:06:20 +00:00
Stefan Karlsson
639ba13c4b 8316179: Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: rkennke, coleenp, dholmes
2023-09-14 07:02:29 +00:00
Leonid Mesnik
11d431b2c4 8316228: jcmd tests are broken by 8314828
Reviewed-by: dholmes
2023-09-14 01:20:24 +00:00
Sergey Bylokhov
eb37c7e361 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Reviewed-by: shade
2023-09-13 23:40:44 +00:00
Leonid Mesnik
23fab1181b 8314828: Mark 3 jcmd command-line options test as vm.flagless
Reviewed-by: cjplummer
2023-09-13 22:52:01 +00:00
Alexander Zvegintsev
1741d13b12 8315726: Open source several AWT applet tests
Reviewed-by: psadhukhan, aivanov
2023-09-13 22:23:27 +00:00
Claes Redestad
92ad4a2399 8315789: Minor HexFormat performance improvements
Reviewed-by: rriggs
2023-09-13 20:58:23 +00:00
Justin Lu
ce93d27fe5 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
2023-09-13 20:32:21 +00:00
Aggelos Biboudis
3b0a6d2a68 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Reviewed-by: mcimadamore, vromero
2023-09-13 15:09:01 +00:00
Sean Coffey
ff240a9135 8316087: Test SignedLoggerFinderTest.java is still failing
Reviewed-by: dfuchs
2023-09-13 15:05:46 +00:00
Ludovic Henry
a731a24c93 8315934: RISC-V: Disable conservative fences per vendor
Reviewed-by: rehn, mli, fyang
2023-09-13 14:54:43 +00:00
Albert Mingkun Yang
b3dad2443a 8316021: Serial: Remove unused Generation::post_compact
Reviewed-by: tschatzl
2023-09-13 13:40:54 +00:00
Per Minborg
f9ab115acb 8316050: Use hexadecimal encoding in MemorySegment::toString
Reviewed-by: rriggs, mcimadamore
2023-09-13 12:45:54 +00:00
Emanuel Peter
f804f8652d 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Reviewed-by: chagedorn, kvn
2023-09-13 10:47:20 +00:00
shaojin.wensj
f8df754b9a 8311207: Cleanup for Optimization for UUID.toString
Reviewed-by: liach, rriggs
2023-09-13 08:25:13 +00:00
Abhishek Kumar
fecd2fd8f2 8315898: Open source swing JMenu tests
Reviewed-by: serb
2023-09-13 07:42:53 +00:00
Abhishek Kumar
bb6b3f2486 8315761: Open source few swing JList and JMenuBar tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:35:01 +00:00
Aleksey Shipilev
2d168c5734 8313202: MutexLocker should disallow null Mutexes
Reviewed-by: dholmes, coleenp, dcubed
2023-09-13 07:32:54 +00:00
Matthias Baesken
36552e7193 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Reviewed-by: clanger
2023-09-13 07:29:10 +00:00
Abhishek Kumar
fe5ef5f20d 8315677: Open source few swing JFileChooser and other tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:27:18 +00:00
Aleksey Shipilev
ece9bdfc83 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Reviewed-by: rkennke, zgu
2023-09-13 06:04:10 +00:00
Prasanta Sadhukhan
a36f5a54ab 8315663: Open source misc awt tests
Reviewed-by: tr, jdv
2023-09-13 05:25:25 +00:00
Robbin Ehn
cbbfa0ddfb 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: fyang, luhenry
2023-09-13 04:59:19 +00:00
Robbin Ehn
1ebf510e5a 8315743: RISC-V: Cleanup masm lr()/sc() methods
Reviewed-by: fyang, luhenry
2023-09-13 04:58:49 +00:00
Sergey Bylokhov
bd52bbfa27 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Reviewed-by: lmesnik, dholmes
2023-09-13 02:33:03 +00:00
Justin Lu
dde11551e2 8315946: DecimalFormat and CompactNumberFormat do allow U+FFFE and U+FFFF in the pattern
Reviewed-by: naoto
2023-09-12 22:59:34 +00:00
Erik Joelsson
a9679acd5c 8253620: Debug symbols for tests missing on macos and windows
Reviewed-by: dholmes, ihse, jwaters
2023-09-12 20:17:52 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Naoto Sato
ac2dfe45d1 8313865: Always true condition in sun.nio.cs.CharsetMapping#readINDEXC2B
Reviewed-by: aturbanov, vtewari, rriggs, iris
2023-09-12 18:19:07 +00:00
Aleksey Shipilev
947dee7f2d 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Reviewed-by: jpai, aefimov, dfuchs
2023-09-12 18:13:55 +00:00
Andrew Haley
1d702d28b6 8313800: AArch64: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: cjplummer
2023-09-12 16:49:55 +00:00
shaojin.wensj
e0845163aa 8315968: Move java.util.Digits to jdk.internal.util and refactor to reduce duplication
Reviewed-by: rriggs, liach, redestad
2023-09-12 16:35:01 +00:00
Mandy Chung
d75d9774c8 8285447: StackWalker minimal batch size should be optimized for getCallerClass
Reviewed-by: simonis
2023-09-12 16:24:16 +00:00
Mikhailo Seledtsov
fc3e826692 8314832: Few runtime/os tests ignore vm flags
Reviewed-by: dholmes, lmesnik
2023-09-12 14:40:06 +00:00
Thomas Schatzl
347beb21aa 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Reviewed-by: coleenp
2023-09-12 13:34:04 +00:00
Thomas Schatzl
50158f393e 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Reviewed-by: coleenp
2023-09-12 12:38:38 +00:00
Doug Simon
6f2684b7ba 8315948: JDK-8315818 broke Xcomp on libgraal
Reviewed-by: never, thartmann
2023-09-12 12:02:34 +00:00
Prasanta Sadhukhan
8b4f9a88e6 8315990: Amend problemlisted tests to proper position
Reviewed-by: aivanov
2023-09-12 11:47:07 +00:00
Jiangli Zhou
455c471ee3 8313277: Resolve multiple definition of 'normalize' when statically linking JDK native libraries with user code
Co-authored-by: Chris Moon <cjmoon@google.com>
Reviewed-by: dholmes, stuefe, sspitsyn
2023-09-12 09:06:08 +00:00
Christian Hagedorn
3b422d0dc1 8316094: Problemlist compiler/rangechecks/TestRangeCheckHoistingScaledIV.java
Reviewed-by: thartmann
2023-09-12 08:54:59 +00:00
Pavel Rappo
f55e799491 8316038: Fix doc typos in java.io.Console and java.util.Scanner
Reviewed-by: bpb, naoto, iris
2023-09-12 08:11:24 +00:00
Albert Mingkun Yang
94800781ea 8315550: G1: Fix -Wconversion warnings in g1NUMA
Reviewed-by: tschatzl, iwalulya
2023-09-12 07:40:29 +00:00
Alan Bateman
d08258f735 8315938: Deprecate for removal Unsafe methods that have standard APIs for many releases
Reviewed-by: mchung, psandoz, iris
2023-09-12 07:19:05 +00:00
Serguei Spitsyn
fda142ff6c 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Reviewed-by: lmesnik, amenkov
2023-09-12 02:46:47 +00:00
Naoto Sato
d0be73a780 8041488: Locale-Dependent List Patterns
Reviewed-by: joehw, rriggs
2023-09-11 16:48:22 +00:00
Aleksey Shipilev
dd214d0f95 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Reviewed-by: lmesnik, cjplummer
2023-09-11 16:41:35 +00:00
Soumadipta Roy
877731d2a2 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Reviewed-by: shade, kevinw, cjplummer, lmesnik
2023-09-11 16:34:56 +00:00
Albert Mingkun Yang
d06a564328 8315765: G1: Incorrect use of G1LastPLABAverageOccupancy
Reviewed-by: iwalulya, tschatzl
2023-09-11 14:42:10 +00:00
Aleksei Efimov
66b6a5a84f 8277954: Replace use of monitors with explicit locks in the JDK LDAP provider implementation
Reviewed-by: dfuchs
2023-09-11 14:05:48 +00:00
shaojin.wensj
4cb4637b79 8315970: Big-endian issues after JDK-8310929
Reviewed-by: mdoerr
2023-09-11 13:39:26 +00:00
Prasanta Sadhukhan
ae08143d3d 8315611: Open source swing text/html and tree test
Reviewed-by: jdv
2023-09-11 13:23:47 +00:00
Albert Mingkun Yang
7b3e6970a6 8315855: G1: Revise signature of set_humongous_candidate
Reviewed-by: tschatzl, iwalulya
2023-09-11 12:45:31 +00:00
Aleksey Shipilev
1941290b79 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Reviewed-by: rriggs, jpai
2023-09-11 12:08:31 +00:00
Albert Mingkun Yang
996b3362bf 8315781: Reduce the max value of GCDrainStackTargetSize
Reviewed-by: tschatzl, iwalulya
2023-09-11 11:07:21 +00:00
Ludovic Henry
35bccacb66 8315841: RISC-V: Check for hardware TSO support
Reviewed-by: vkempik, rehn, fyang
2023-09-11 09:02:40 +00:00
Prasanta Sadhukhan
a04c6c1ac6 8315609: Open source few more swing text/html tests
Reviewed-by: jdv
2023-09-11 07:06:41 +00:00
Vladimir Petko
dab1c213fd 8314491: Linux: jexec launched via PATH fails to find java
Reviewed-by: dholmes, rriggs
2023-09-10 23:20:49 +00:00
Alan Bateman
9a83d55887 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
Reviewed-by: pchilanomate, mgronlun, sspitsyn
2023-09-10 14:57:40 +00:00
Jorn Vernee
68f69417c7 8314452: Explicitly indicate inlining success/failure in PrintInlining
Reviewed-by: kvn, shade, thartmann
2023-09-09 10:32:23 +00:00
Kim Barrett
b482e6d902 8315580: Remove unused java_lang_String::set_value_raw()
Reviewed-by: shade, ayang
2023-09-09 01:28:20 +00:00
Justin Lu
9b0da48915 8315410: Undocumented exceptions in java.text.StringCharacterIterator
Reviewed-by: naoto
2023-09-08 23:05:00 +00:00
Joe Darcy
578ded4645 8312418: Add Elements.getEnumConstantBody
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2023-09-08 22:06:24 +00:00
Joe Wang
dccf670492 8306632: Add a JDK Property for specifying DTD support
Reviewed-by: lancea, smarks
2023-09-08 20:24:23 +00:00
Maurizio Cimadamore
a62c48b87e 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Reviewed-by: sundar, jvernee, pminborg
2023-09-08 16:36:21 +00:00
Aleksey Shipilev
9559e035d2 8315578: PPC builds are broken after JDK-8304913
Reviewed-by: mdoerr, rriggs
2023-09-08 15:11:17 +00:00
Sean Coffey
e409d07ae8 8315696: SignedLoggerFinderTest.java test failed
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-09-08 14:25:58 +00:00
Evgeny Nikitin
ab6a87e670 8314838: 3 compiler tests ignore vm flags
Reviewed-by: eastigeevich, kvn, lmesnik
2023-09-08 14:09:10 +00:00
Markus Grönlund
b3dfc399da 8315930: Revert "8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native"
Reviewed-by: egahlin
2023-09-08 12:27:01 +00:00
Doug Simon
ebc718f5c0 8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal
Reviewed-by: never
2023-09-08 11:55:54 +00:00
Albert Mingkun Yang
4a6bd81432 8315854: G1: Remove obsolete comment in G1ReclaimEmptyRegionsTask
Reviewed-by: iwalulya, tschatzl
2023-09-08 11:26:58 +00:00
Boris Ulasevich
c664f1ca66 8307352: AARCH64: Improve itable_stub
Reviewed-by: simonis, eastigeevich, aph
2023-09-08 09:59:23 +00:00
Thomas Schatzl
8ddf9eac00 8315686: G1: Disallow evacuation of marking regions in a Prepare Mixed gc
Reviewed-by: ayang, iwalulya
2023-09-08 08:44:46 +00:00
Thomas Schatzl
7ef059a75c 8315605: G1: Add number of nmethods in code roots scanning statistics
Reviewed-by: iwalulya, ayang
2023-09-08 08:44:22 +00:00
Aleksey Shipilev
825e0ed2a1 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Reviewed-by: phh, lmesnik
2023-09-08 08:34:05 +00:00
Roland Westrelin
dac1727956 8308869: C2: use profile data in subtype checks when profile has more than one class
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, thartmann
2023-09-08 07:48:05 +00:00
Alan Bateman
3c258ac907 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Reviewed-by: mchung, amenkov, jpai
2023-09-08 04:40:01 +00:00
Tejesh R
3a00ec8639 8312075: FileChooser.win32.newFolder is not updated when changing Locale
Reviewed-by: aivanov, abhiscxk
2023-09-08 04:26:14 +00:00
Prasanta Sadhukhan
806ef0897b 8315594: Open source few headless Swing misc tests
Reviewed-by: azvegint
2023-09-08 03:44:15 +00:00
shaojin.wensj
4b43c25fe3 8310929: Optimization for Integer.toString
Reviewed-by: redestad, rriggs
2023-09-08 02:13:52 +00:00
Mandy Chung
111ecdbaf5 8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException

Reviewed-by: coleenp, dfuchs, bchristi
2023-09-07 21:37:40 +00:00
William Kemper
716201c77d 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Reviewed-by: kdnilsen, ysr
2023-09-07 21:14:28 +00:00
Patricio Chilano Mateo
4c6d7fc258 8315795: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java fails after JDK-8305507
Reviewed-by: dcubed
2023-09-07 20:12:04 +00:00
Daniel D. Daugherty
7e7ab6ee1b 8315877: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-aarch64
8315879: ProblemList java/awt/PopupMenu/PopupMenuLocation.java on macosx-aarch64

Reviewed-by: azvegint, rriggs, ccheung
2023-09-07 20:10:00 +00:00
Ioi Lam
0c865a75e6 8315637: JDK-8314249 broke libgraal
Reviewed-by: dnsimon, matsaave
2023-09-07 18:30:09 +00:00
Matias Saavedra Silva
683672c0bb 8292692: Move MethodCounters inline functions out of method.hpp
Reviewed-by: iklam, ccheung, kvn
2023-09-07 17:15:18 +00:00
Mikhailo Seledtsov
9bf3dee242 8314831: NMT tests ignore vm flags
Reviewed-by: lmesnik, stuefe, gziemski
2023-09-07 17:12:46 +00:00
Christian Stein
b74805d383 8315863: [GHA] Update checkout action to use v4
Reviewed-by: shade
2023-09-07 16:15:09 +00:00
Markus Grönlund
1cae0f53a9 8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
Reviewed-by: mbaesken, egahlin
2023-09-07 16:12:55 +00:00
Qing Xiao
8f7e29b2cd 8313422: test/langtools/tools/javac 144 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-09-07 15:37:25 +00:00
Ilya Gavrilin
8557205a82 8312569: RISC-V: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: luhenry, fjiang, fyang
2023-09-07 15:26:55 +00:00
Qing Xiao
2fd870a74f 8315444: Convert test/jdk/tools to Classfile API
Reviewed-by: asotona
2023-09-07 15:02:13 +00:00
Aggelos Biboudis
81f8c57e4a 8314632: Intra-case dominance check fails in the presence of a guard
Reviewed-by: vromero
2023-09-07 12:51:37 +00:00
Per Minborg
b408a82f9b 8314260: Unable to load system libraries on Windows when using a SecurityManager
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-09-07 11:52:14 +00:00
Jan Lahoda
726c9c977d 8315735: VerifyError when switch statement used with synchronized block
Reviewed-by: vromero
2023-09-07 11:08:55 +00:00
Prasanta Sadhukhan
fd6442c079 8315602: Open source swing security manager test
Reviewed-by: kizune, aivanov
2023-09-07 10:16:06 +00:00
Thomas Obermeier
e22eb06a3b 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Reviewed-by: alanb, mdoerr, clanger
2023-09-07 08:42:55 +00:00
Matthias Baesken
9887cd8adc 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Reviewed-by: mdoerr
2023-09-07 07:36:08 +00:00
Matthias Baesken
8107eab3c0 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Reviewed-by: lucy, asemenyuk
2023-09-07 07:30:32 +00:00
Daniel Jeliński
ab28300a42 8315698: Crash when comparing BasicType as int after JDK-8310577
Reviewed-by: dlong, kvn, coleenp
2023-09-07 04:52:18 +00:00
Prasanta Sadhukhan
b05198a4f3 8315600: Open source few more headless Swing misc tests
Reviewed-by: aivanov
2023-09-07 03:49:42 +00:00
Prasanta Sadhukhan
4127fbb9ed 8315606: Open source few swing text/html tests
Reviewed-by: aivanov
2023-09-07 03:41:24 +00:00
Saint Wesonga
9402548546 8268719: Force execution (and source) code page used when compiling on Windows
Reviewed-by: jwaters, erikj
2023-09-07 03:03:22 +00:00
Justin Lu
86a18f5e2e 8314604: j.text.DecimalFormat behavior regarding patterns is not clear
Reviewed-by: naoto
2023-09-06 18:02:39 +00:00
Aleksey Shipilev
bd477810b1 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Reviewed-by: iveresov, chagedorn, thartmann
2023-09-06 15:37:33 +00:00
Calvin Cheung
25e85db61c 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump
Reviewed-by: iklam
2023-09-06 15:37:03 +00:00
singhnitin
024133b089 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Reviewed-by: dhanalla, thartmann
2023-09-06 11:36:13 +00:00
Albert Mingkun Yang
62a953f402 8315689: G1: Remove unused init_hash_seed
Reviewed-by: tschatzl
2023-09-06 09:36:18 +00:00
Aleksey Shipilev
cfc148930b 8315579: SPARC64 builds are broken after JDK-8304913
Reviewed-by: rriggs, phh
2023-09-06 08:27:11 +00:00
Martin Doerr
f6c203e616 8314949: linux PPC64 Big Endian: Implementation of Foreign Function & Memory API
Reviewed-by: mcimadamore, jvernee
2023-09-06 08:26:48 +00:00
Pavel Rappo
a01b3fb8e9 8288660: JavaDoc should be more helpful if it doesn't recognize a tag
Reviewed-by: jjg
2023-09-06 07:51:14 +00:00
Roland Westrelin
ba1a46392f 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Reviewed-by: chagedorn, kvn, thartmann
2023-09-06 07:25:22 +00:00
Roman Marchenko
a258fc443f 8315648: Add test for JDK-8309979 changes
Reviewed-by: cjplummer
2023-09-06 07:19:53 +00:00
Vladimir Kempik
5d3fdc1750 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Reviewed-by: fyang
2023-09-06 06:49:10 +00:00
Leonid Mesnik
5cbff24608 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: cjplummer, dcubed
2023-09-06 00:02:54 +00:00
Rajan Halade
7a08e6bdd6 8313575: Refactor PKCS11Test tests
Reviewed-by: valeriep
2023-09-05 23:08:25 +00:00
Alex Menkov
d3ee704b28 8315563: Remove references to JDK-8226420 from problem list
Reviewed-by: kevinw, cjplummer
2023-09-05 22:46:15 +00:00
Tobias Hotz
aba89f20bf 8312213: Remove unnecessary TEST instructions on x86 when flags reg will already be set
Reviewed-by: jvernee, dlong
2023-09-05 22:08:20 +00:00
Ioi Lam
1f4cdb327f 8315127: CDSMapTest fails with incorrect number of oop references
Reviewed-by: ccheung
2023-09-05 20:56:09 +00:00
Rajan Halade
939d7c5d84 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Reviewed-by: mullan
2023-09-05 17:51:12 +00:00
Daniel D. Daugherty
ebe3127734 8315717: ProblemList serviceability/sa/TestHeapDumpForInvokeDynamic.java with ZGC
Reviewed-by: thartmann, azvegint, kevinw
2023-09-05 17:48:43 +00:00
Quan Anh Mai
969fcdb0de 8314191: C2 compilation fails with "bad AD file"
Reviewed-by: thartmann, chagedorn
2023-09-05 16:15:54 +00:00
Wojciech Kudla
cef9fff067 8305507: Add support for grace period before AbortVMOnSafepointTimeout triggers
Reviewed-by: dholmes, pchilanomate
2023-09-05 14:12:45 +00:00
Matthias Baesken
ed2b4673de 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Reviewed-by: erikj
2023-09-05 12:48:03 +00:00
Christian Hagedorn
4b445753e6 8305637: Remove Opaque1 nodes for Parse Predicates and clean up useless predicate elimination
Reviewed-by: roland, kvn
2023-09-05 12:45:55 +00:00
Afshin Zafari
8647f001bb 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: gziemski, jsjolen
2023-09-05 11:05:49 +00:00
Ivan Walulya
5a2e151d48 8315548: G1: Document why VM_G1CollectForAllocation::doit() may allocate without completing a GC
Reviewed-by: tschatzl
2023-09-05 10:12:24 +00:00
Aleksey Shipilev
9013b03244 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Reviewed-by: stuefe, lmesnik
2023-09-05 10:08:35 +00:00
Adam Sotona
744b3970f9 8312491: Update Classfile API snippets and examples
Reviewed-by: jlahoda
2023-09-05 08:48:39 +00:00
Christoph Langer
69c9ec92d0 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Reviewed-by: mbaesken, azeller
2023-09-05 08:30:03 +00:00
Roland Westrelin
fe4f90021f 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Reviewed-by: thartmann, chagedorn
2023-09-05 07:32:51 +00:00
Matthias Baesken
8bbebbba8f 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Reviewed-by: clanger, lucy
2023-09-05 07:06:37 +00:00
Per Minborg
f292268268 8315454: Add a way to create an immutable snapshot of a BitSet
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2023-09-05 06:43:00 +00:00
Roland Westrelin
9def4538ab 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Reviewed-by: chagedorn, kvn
2023-09-04 15:18:39 +00:00
Aleksey Shipilev
6c821f5e1d 8315545: C1: x86 cmove can use short branches
Reviewed-by: adinn, kvn
2023-09-04 11:02:52 +00:00
Doug Simon
d7e4087faf 8315369: [JVMCI] failure to attach to a libgraal isolate during shutdown should not be fatal
Reviewed-by: never
2023-09-04 10:19:18 +00:00
Doug Simon
d1cabe4f22 8315566: [JVMCI] deadlock in JVMCI startup when bad option specified
Reviewed-by: thartmann, never
2023-09-04 10:17:23 +00:00
Jan Lahoda
94a74a0a45 8315534: Incorrect warnings about implicit annotation processing
Reviewed-by: darcy
2023-09-04 10:06:20 +00:00
Jan Lahoda
84425a6290 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: vromero
2023-09-04 09:14:16 +00:00
Jan Lahoda
3094fd1ac5 8314662: jshell shows duplicated signatures of javap
Reviewed-by: asotona, cstein
2023-09-04 08:36:41 +00:00
Roberto Castañeda Lozano
0d52c82ed1 8310220: IGV: dump graph after each IGVN step at level 4
Reviewed-by: chagedorn, tholenstein
2023-09-04 07:41:41 +00:00
Jan Lahoda
adfc1d6cd2 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Reviewed-by: vromero
2023-09-04 07:17:28 +00:00
Christian Hagedorn
2dc930de12 8314997: Missing optimization opportunities due to missing try_clean_mem_phi() calls
Reviewed-by: roland, kvn, thartmann
2023-09-04 06:53:19 +00:00
Aleksey Shipilev
ab12c5d32f 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
2023-09-04 06:02:03 +00:00
Leonid Mesnik
ba8d5c2206 8315582: Exclude compiler/codecache/CodeCacheFullCountTest.java with Xcomp
Reviewed-by: thartmann
2023-09-04 05:25:34 +00:00
Yi Yang
75d4ac2659 8311775: [TEST] duplicate verifyHeapDump in several tests
Reviewed-by: kevinw, amenkov, cjplummer
2023-09-04 01:56:13 +00:00
Rajat Mahajan
4f90abaf17 8311585: Add JRadioButtonMenuItem to bug8031573.java
Reviewed-by: honkar, aivanov
2023-09-01 21:49:49 +00:00
Yi-Fan Tsai
2a11bc41ba 8314837: 5 compiled/codecache tests ignore VM flags
Reviewed-by: kvn, lmesnik
2023-09-01 20:41:45 +00:00
Erik Joelsson
2f7c65ec48 8303427: Fixpath confused if unix root contains "/jdk"
Reviewed-by: mikael
2023-09-01 17:12:56 +00:00
Xin Liu
e9e0c5699b 8314319: LogCompilation doesn't reset lateInlining when it encounters a failure.
Reviewed-by: ecaspole, kvn
2023-09-01 16:54:55 +00:00
Abhishek Kumar
56b8db11c3 8258970: Disabled JPasswordField foreground color is wrong with GTK LAF
Reviewed-by: tr, dnguyen, psadhukhan
2023-09-01 15:26:25 +00:00
Robbin Ehn
0d4cadb824 8315195: RISC-V: Update hwprobe query for new extensions
Reviewed-by: fyang, fjiang, luhenry
2023-09-01 14:40:29 +00:00
Albert Mingkun Yang
b4f7069c5b 8315446: G1: Remove unused G1AllocRegion::attempt_allocation
Reviewed-by: iwalulya, tschatzl
2023-09-01 13:46:41 +00:00
Claes Redestad
cf02cf31da 8315098: Improve URLEncodeDecode microbenchmark
Reviewed-by: ecaspole, dfuchs
2023-09-01 11:18:05 +00:00
Thomas Stuefe
c32e340d94 8315321: [aix] os::attempt_reserve_memory_at must map at the requested address or fail
Reviewed-by: mdoerr
2023-09-01 11:05:34 +00:00
Daniel Jeliński
42f5b9e7aa 8315436: HttpsServer does not send TLS alerts
Reviewed-by: dfuchs, michaelm
2023-09-01 10:19:53 +00:00
Fredrik Bredberg
033f311abc 8315069: Relativize extended_sp in interpreter frames
Reviewed-by: haosun, aph, fyang
2023-09-01 08:35:49 +00:00
Adam Sotona
c2e01eba5a 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Reviewed-by: alanb, mchung
2023-09-01 08:33:33 +00:00
Thomas Stuefe
81b5d2211e 8315459: Print G1 reserved and committed sizes as separate items in VM.info and hs_err
Reviewed-by: ayang, tschatzl
2023-09-01 08:01:39 +00:00
Cesar Soares Lucas
764f65c8b4 8315278: Patch 'print-targets' target to print targets separated by new line
Reviewed-by: erikj, ksakata
2023-09-01 06:06:35 +00:00
Justin Lu
7754ac0506 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
2023-08-31 23:02:26 +00:00
John Jiang
2264667bba 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Reviewed-by: jnimeh
2023-08-31 22:26:48 +00:00
Justin Lu
d5973bdb98 6333341: [BI] Doc: java.text.BreakIterator class specification is unclear
Reviewed-by: naoto
2023-08-31 21:43:09 +00:00
Brian Burkhalter
63f561fac2 8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Reviewed-by: alanb
2023-08-31 21:14:22 +00:00
Valerie Peng
2436fb010e 8312306: Add more Reference.reachabilityFence() calls to the security classes using Cleaner
Reviewed-by: ascarpino
2023-08-31 20:40:25 +00:00
Gerard Ziemski
351c31ea58 8315378: [BACKOUT] runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: stuefe, ccheung
2023-08-31 20:38:41 +00:00
Andrey Turbanov
c12ca885cc 8312521: Unused field LocaleProviderAdapter#defaultLocaleProviderAdapter could be removed
Reviewed-by: naoto
2023-08-31 20:10:15 +00:00
Alex Menkov
b38bcae1ba 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Reviewed-by: sspitsyn, lmesnik
2023-08-31 19:18:18 +00:00
Mandy Chung
c8acab1d91 8315413: Remove special filtering of Continuation.yield0 in StackWalker
Reviewed-by: alanb
2023-08-31 16:11:03 +00:00
Oliver Kopp
ea5aa61c8c 8315383: jlink SystemModulesPlugin incorrectly parses the options
Reviewed-by: mchung
2023-08-31 16:10:44 +00:00
Andrew Haley
29ff1e45b9 8315445: 8314748 causes crashes in x64 builds
Reviewed-by: chagedorn, shade
2023-08-31 12:51:29 +00:00
Aleksey Shipilev
145d8bc1a3 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Reviewed-by: phh, egahlin
2023-08-31 11:15:09 +00:00
Thomas Obermeier
486fa08d4b 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Reviewed-by: clanger, mbaesken
2023-08-31 09:51:13 +00:00
Albert Mingkun Yang
b0353addf2 8315242: G1: Fix -Wconversion warnings around GCDrainStackTargetSize
Reviewed-by: tschatzl, mli
2023-08-31 09:49:16 +00:00
Andrew Haley
b594f01fe4 8314748: 1-10% regressions on Crypto micros
Reviewed-by: chagedorn, adinn, kvn, sviswanathan
2023-08-31 08:31:31 +00:00
shiker
39f181337b 8315318: Typo in comment on sun.nio.ch.Net.unblock4
Reviewed-by: mbaesken, vtewari
2023-08-31 08:28:11 +00:00
Ivan Walulya
47aa6f3a65 8315219: G1: Improve allocator pathological case where it keeps doing direct allocations instead of retiring a PLAB
Reviewed-by: tschatzl, ayang, mli
2023-08-31 08:04:47 +00:00
Leonid Mesnik
218829e0a2 8315421: [BACKOUT] 8314834 serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: dholmes
2023-08-31 02:33:38 +00:00
Justin Lu
3c8a6678fe 8314611: Provide more explicative error message parsing Currencies
Reviewed-by: naoto
2023-08-30 23:40:34 +00:00
Jonathan Gibbons
df5e6e5d48 8315248: AssertionError in Name.compareTo
Reviewed-by: vromero
2023-08-30 21:52:31 +00:00
Daniel D. Daugherty
3eac8905ae 8315061: Make LockingMode a product flag
Reviewed-by: ccheung
2023-08-30 20:20:17 +00:00
Kim Barrett
8419a53bf1 8315072: Remove unneeded AdaptivePaddedAverage::operator new
Reviewed-by: tschatzl, iwalulya
2023-08-30 19:51:23 +00:00
Alex Menkov
c90cd2c060 8286789: Test forceEarlyReturn002.java timed out
Reviewed-by: lmesnik, sspitsyn
2023-08-30 18:28:43 +00:00
Thomas Stuefe
89d18ea40f 8312018: Improve reservation of class space and CDS
8313669: Reduced chance for zero-based nKlass encoding since JDK-8296565

Reviewed-by: iklam, adinn
2023-08-30 17:51:28 +00:00
Brian Burkhalter
dd64a4a483 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Reviewed-by: rriggs
2023-08-30 16:58:16 +00:00
Leonid Mesnik
8e4cda063c 8314834: serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-08-30 16:14:07 +00:00
Leonid Mesnik
1ea6463fbb 8314835: gtest wrappers should be marked as flagless
Reviewed-by: dholmes, stuefe
2023-08-30 16:12:17 +00:00
Leonid Mesnik
93e82c0146 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Reviewed-by: sspitsyn, kevinw
2023-08-30 16:11:56 +00:00
Sean Coffey
7daae1fb42 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-08-30 12:54:57 +00:00
Lance Andersen
6701eba736 8315117: Update Zlib Data Compression Library to Version 1.3
Reviewed-by: alanb
2023-08-30 11:45:38 +00:00
Qing Xiao
e29f0c2d75 8297777: Convert jdk.jlink StringSharingPlugin to use Class File API
Reviewed-by: asotona
2023-08-30 11:26:29 +00:00
Afshin Zafari
bf63945ad1 8298992: runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: gziemski, stuefe
2023-08-30 11:11:44 +00:00
Albert Mingkun Yang
cb3f9680d3 8314651: G1: Fix -Wconversion warnings in static fields of HeapRegion
Reviewed-by: tschatzl, iwalulya
2023-08-30 09:36:34 +00:00
Robbin Ehn
876a725af9 8315206: RISC-V: hwprobe query is_set return wrong value
Reviewed-by: luhenry, fyang
2023-08-30 08:56:50 +00:00
Roland Westrelin
ed1ea5fe7c 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: kvn, chagedorn
2023-08-30 07:52:05 +00:00
Matthias Baesken
f3aeb024d9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Reviewed-by: stuefe, rriggs
2023-08-30 06:46:51 +00:00
Matthias Baesken
1e7e2bcf35 8315214: Do not run sun/tools/jhsdb tests concurrently
Reviewed-by: alanb, cjplummer
2023-08-30 06:41:43 +00:00
Scott Gibbons
ce2a7ea40a 8314056: Remove runtime platform check from frem/drem
Reviewed-by: sviswanathan, jbhateja
2023-08-30 01:28:27 +00:00
Valerie Peng
1c598c2245 8312428: PKCS11 tests fail with NSS 3.91
Reviewed-by: ssahoo, rhalade
2023-08-29 22:08:34 +00:00
Chris Plummer
b2728cb139 8189685: need PerfMemory class update and a volatile_static_field support in VMStructs
Reviewed-by: ysuenaga, dholmes, sspitsyn
2023-08-29 20:55:11 +00:00
Albert Mingkun Yang
e22762c010 8314932: G1: Fix -Wconversion warnings for simple cases inside g1 folder
Reviewed-by: tschatzl, iwalulya
2023-08-29 16:04:50 +00:00
Thomas Schatzl
762b652912 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Reviewed-by: kbarrett, ayang
2023-08-29 14:20:11 +00:00
Pavel Rappo
a4e97aa4eb 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note
Reviewed-by: rriggs, azvegint, kevinw
2023-08-29 12:00:19 +00:00
Emmy
5cc64cc27a 8309463: IGV: Dynamic graph layout algorithm
Reviewed-by: tholenstein, rcastanedalo, chagedorn
2023-08-29 09:52:41 +00:00
Kevin Walls
1d0250709a 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: msheppar, sspitsyn
2023-08-29 08:54:00 +00:00
Sergey Tsypanov
93188bd80c 8314569: (fs) Improve normalization of UnixPath for input with trailing slashes
Reviewed-by: alanb, bpb, rriggs
2023-08-29 08:39:42 +00:00
Albert Mingkun Yang
8b8182db59 8315087: G1: Use uint for G1 flags indicating percentage
Reviewed-by: tschatzl, kbarrett
2023-08-29 08:01:35 +00:00
Feilong Jiang
3dc266c58b 8315070: RISC-V: Clean up platform dependent inline headers
Reviewed-by: fyang, rehn
2023-08-29 02:43:44 +00:00
Hao Sun
25f5df2af2 8315073: Zero build on macOS fails after JDK-8303852
Reviewed-by: jiefu, fyang
2023-08-29 02:12:37 +00:00
Pengfei Li
a03954e6c5 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: kvn, thartmann, epeter, chagedorn
2023-08-29 01:39:54 +00:00
Pengfei Li
e5ea9aa9aa 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Reviewed-by: epeter, kvn
2023-08-29 01:34:33 +00:00
Calvin Cheung
1cb2cc6587 8308464: Shared array class should not always be loaded in boot loader
Reviewed-by: dholmes, iklam
2023-08-28 22:05:15 +00:00
Erik Joelsson
69d1feb83f 8315060: Out of tree incremental build fails with ccache
Reviewed-by: kbarrett, dholmes
2023-08-28 20:56:31 +00:00
Joe Darcy
8e2a533df6 8315137: Add explicit override RecordComponentElement.asType()
Reviewed-by: jjg
2023-08-28 20:43:54 +00:00
Justin Lu
b4b2fecb42 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Reviewed-by: lancea, jpai, weijun
2023-08-28 20:36:32 +00:00
lawrence.andrews
31e26814db 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Reviewed-by: honkar, aivanov
2023-08-28 20:31:02 +00:00
Alisen Chung
21916f32c0 8139208: [macosx] Issue with setExtendedState of JFrame
Reviewed-by: honkar, dnguyen, azvegint
2023-08-28 20:17:40 +00:00
Xin Liu
99ea8bf2b9 8315062: [GHA] get-bootjdk action should return the abolute path
Reviewed-by: clanger, erikj
2023-08-28 15:59:24 +00:00
Vicente Romero
acb24bf354 8315116: fix minor issue in copyright header introduced by JDK-8269957 that is breaking the build
Reviewed-by: jjg, dcubed
2023-08-28 15:43:41 +00:00
Archie Cobbs
11da15d142 8269957: facilitate alternate impls of NameTable and Name
Reviewed-by: jjg, vromero
2023-08-28 14:48:45 +00:00
Ao Qi
725ec0ce1b 8315020: The macro definition for LoongArch64 zero build is not accurate.
Reviewed-by: erikj, fyang
2023-08-28 11:10:53 +00:00
Roberto Castañeda Lozano
1c3177eea7 8315029: [BACKOUT] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Reviewed-by: chagedorn, mdoerr
2023-08-28 11:08:44 +00:00
Albert Mingkun Yang
dd23f7d5cd 8315039: Parallel: Remove unimplemented PSYoungGen::oop_iterate
Reviewed-by: kbarrett, tschatzl
2023-08-28 10:51:00 +00:00
Christian Hagedorn
5c4f1dc43e 8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake
Reviewed-by: kvn, mdoerr
2023-08-28 10:30:48 +00:00
Martin Doerr
cf2d33ca2e 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Reviewed-by: thartmann, lucy
2023-08-28 10:14:19 +00:00
Darragh Clarke
1664e793eb 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Reviewed-by: dfuchs, jpai
2023-08-28 10:03:42 +00:00
Pavel Rappo
0901d75e07 8314762: Make {@Incubating} conventional
Reviewed-by: jjg, iris, chegar
2023-08-28 09:38:02 +00:00
Daniel Jeliński
12de9b0225 8314148: Fix variable scope in SunMSCAPI
Reviewed-by: valeriep
2023-08-28 05:27:25 +00:00
Amit Kumar
7fbad4cd5e 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Reviewed-by: dholmes, stefank
2023-08-28 03:34:20 +00:00
Ioi Lam
752a438f99 8314684: Add overview docs to loaderConstraints.cpp
Reviewed-by: ccheung, dholmes
2023-08-27 03:44:38 +00:00
Doug Simon
acd9310234 8313430: [JVMCI] fatal error: Never compilable: in JVMCI shutdown
Reviewed-by: never, kvn, shade
2023-08-26 10:13:23 +00:00
Chris Plummer
8a5db6bab3 8237542: JMapHeapConfigTest.java doesn't work with negative jlong values
Reviewed-by: sspitsyn, shade
2023-08-25 23:16:02 +00:00
Chris Plummer
d0cc0439c0 8314550: [macosx-aarch64] serviceability/sa/TestJmapCore.java fails with "sun.jvm.hotspot.debugger.UnmappedAddressException: 801000800"
Reviewed-by: dholmes, iklam, stuefe
2023-08-25 21:14:33 +00:00
Erik Joelsson
837d2e1cac 8314483: Optionally override copyright header in generated source
Reviewed-by: dholmes, iris
2023-08-25 20:42:14 +00:00
Erik Joelsson
320162395d 8310454: Introduce static-libs-graal bundle
Reviewed-by: jiangli
2023-08-25 20:35:40 +00:00
Rajan Halade
e9ba8d5a0e 8314960: Add Certigna Root CA - 2
Reviewed-by: mullan
2023-08-25 18:17:27 +00:00
Quan Anh Mai
837cf85f7d 8312547: Max/Min nodes Value implementation could be improved
Reviewed-by: thartmann, kvn
2023-08-25 17:48:27 +00:00
Leonid Mesnik
7342f5a033 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Reviewed-by: cjplummer
2023-08-25 16:18:45 +00:00
Roberto Castañeda Lozano
f139f30695 8315033: Problemlist java/lang/template/StringTemplateTest.java
Reviewed-by: chagedorn
2023-08-25 15:27:24 +00:00
Weibing Xiao
f2383b3cbd 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Reviewed-by: aefimov, msheppar
2023-08-25 12:20:18 +00:00
Jonas Norlinder
dcd6e75671 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank, eosterlund
2023-08-25 08:10:09 +00:00
Roberto Castañeda Lozano
002b594870 8312749: Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: thartmann, ayang, kvn
2023-08-25 07:18:34 +00:00
Jie Fu
d024059174 8314951: VM build without C2 still fails after JDK-8313530
Reviewed-by: dnsimon, kvn
2023-08-25 04:59:19 +00:00
Brian Burkhalter
2624324ac2 8219567: Name of first parameter of RandomAccessFile(String,String) is inconsistent
Reviewed-by: jlu, vtewari, rriggs, jpai
2023-08-24 18:18:16 +00:00
Patricio Chilano Mateo
8e4240c316 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Reviewed-by: rpressler, aph
2023-08-24 18:08:16 +00:00
Alan Bateman
d9fc6b6933 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Reviewed-by: aturbanov, shade, dfuchs
2023-08-24 16:51:20 +00:00
Vyom Tewari
acaab6fd74 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Reviewed-by: dfuchs
2023-08-24 15:46:44 +00:00
Aleksey Shipilev
76b9011c9e 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Reviewed-by: fyang
2023-08-24 13:49:22 +00:00
Vladimir Petko
e36620d80e 8314554: Debian/Ubuntu should not link OpenJDK with --as-needed link option
Reviewed-by: erikj
2023-08-24 12:27:52 +00:00
Matthias Baesken
97b94cb1cd 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Reviewed-by: jpai, shade, vtewari
2023-08-24 10:44:09 +00:00
Doug Simon
75e19e0d5e 8314819: [JVMCI] HotSpotJVMCIRuntime.lookupType throws unexpected ClassNotFoundException
Reviewed-by: never, thartmann
2023-08-24 10:12:16 +00:00
Gergö Barany
c418933d32 8313530: VM build without C2 fails after JDK-8312579
Reviewed-by: dnsimon, haosun, jiefu, kvn
2023-08-24 08:05:33 +00:00
Thomas Stuefe
de0e46c2f6 8303815: Improve Metaspace test speed
Reviewed-by: stefank, dholmes
2023-08-24 05:38:43 +00:00
Thomas Stuefe
3699666c93 8313319: [linux] mmap should use MAP_FIXED_NOREPLACE if available
Reviewed-by: jsjolen, dholmes
2023-08-24 05:16:58 +00:00
Koichi Sakata
3285a1efc8 8314555: Build with mawk fails on Windows
Reviewed-by: erikj
2023-08-24 00:32:31 +00:00
David Holmes
4a50e87592 8303852: current_stack_region() gets called twice unnecessarily
Reviewed-by: stuefe, pchilanomate
2023-08-23 22:51:31 +00:00
Kim Barrett
c077be4768 8314694: Separate checked_cast from globalDefinitions.hpp
Reviewed-by: stuefe, coleenp, sspitsyn
2023-08-23 22:32:37 +00:00
Andrey Turbanov
68815d54c1 8314734: Remove unused field TypeVariableImpl.EMPTY_ANNOTATION_ARRAY
Reviewed-by: bpb, darcy
2023-08-23 20:41:28 +00:00
Alexander Matveev
57a322da9b 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Reviewed-by: asemenyuk
2023-08-23 20:22:12 +00:00
Chris Plummer
38a9edfb7e 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Reviewed-by: dholmes, kevinw
2023-08-23 20:11:10 +00:00
Chris Plummer
2c60cadfde 8280743: HSDB "Monitor Cache Dump" command might throw NPE
Reviewed-by: kevinw, sspitsyn
2023-08-23 19:12:35 +00:00
Ben Perez
9435cd1916 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range.
Reviewed-by: mullan, valeriep
2023-08-23 18:10:11 +00:00
lawrence.andrews
dbb788f34d 8294535: Add screen capture functionality to PassFailJFrame
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, honkar
2023-08-23 17:48:07 +00:00
Andrey Turbanov
fae3b02aeb 8314746: Remove unused private put* methods from DirectByteBufferR
Reviewed-by: alanb, bpb
2023-08-23 17:36:46 +00:00
Brian Burkhalter
096b7ff097 8314810: (fs) java/nio/file/Files/CopyInterference.java should use TestUtil::supportsLinks
Reviewed-by: aturbanov, alanb
2023-08-23 15:31:33 +00:00
Alexey Ivanov
62610203f1 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Reviewed-by: prr, serb
2023-08-23 11:48:22 +00:00
Matthias Baesken
703817d21f 8314517: some tests fail in case ipv6 is disabled on the machine
Reviewed-by: mdoerr, lucy, jpai, dfuchs
2023-08-23 10:44:40 +00:00
Thomas Schatzl
742e319a21 8314157: G1: "yielded" is not initialized on some paths after JDK-8140326
Reviewed-by: ayang, iwalulya
2023-08-23 09:45:25 +00:00
Roland Westrelin
1cee3b9fd9 8313262: C2: Sinking node may cause required cast to be dropped
Reviewed-by: chagedorn, thartmann
2023-08-23 08:59:36 +00:00
Tobias Holenstein
f8203cb272 8313626: C2 crash due to unexpected exception control flow
Reviewed-by: thartmann, chagedorn
2023-08-23 08:47:33 +00:00
Aleksey Shipilev
2be469f89e 8314743: Use of uninitialized local in SR_initialize after JDK-8314114
Reviewed-by: dholmes, coleenp
2023-08-23 07:17:29 +00:00
Jan Kratochvil
571c435e1a 8313374: --enable-ccache's CCACHE_BASEDIR breaks builds
Reviewed-by: erikj
2023-08-23 06:26:18 +00:00
Kimura Yukihiro
d1de3d082e 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Reviewed-by: shade, thartmann
2023-08-23 06:04:28 +00:00
Thomas Stuefe
a0d0f21f08 8314752: Use google test string comparison macros
Reviewed-by: coleenp, kbarrett
2023-08-23 05:26:05 +00:00
Andrew John Hughes
7e843c22e7 8284772: GHA: Use GCC Major Version Dependencies Only
Reviewed-by: jwaters, shade, stuefe, erikj, serb
Backport-of: 62defc3dfc4b9ba5adfe3189f34fe8b3f59b94a0
2023-08-23 03:28:23 +00:00
Valerie Peng
ba6cdbe2c2 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Reviewed-by: mbaesken, jnimeh
2023-08-22 23:49:03 +00:00
Calvin Cheung
9f4a9fe488 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Reviewed-by: iklam, matsaave
2023-08-22 22:37:16 +00:00
Chris Plummer
7c169a426f 8312232: Remove sun.jvm.hotspot.runtime.VM.buildLongFromIntsPD()
Reviewed-by: lmesnik, kevinw
2023-08-22 20:57:11 +00:00
Brian Burkhalter
2eae13c669 8214248: (fs) Files:mismatch spec clarifications
Reviewed-by: alanb
2023-08-22 19:04:46 +00:00
Albert Mingkun Yang
ce1ded1a4f 8314749: Remove unimplemented _Copy_conjoint_oops_atomic
Reviewed-by: dcubed
2023-08-22 17:23:37 +00:00
Albert Mingkun Yang
32bf468c3b 8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data
Reviewed-by: kbarrett, tschatzl
2023-08-22 17:21:44 +00:00
Alexey Ivanov
eb065726f2 8313408: Use SVG for BoxLayout example
Reviewed-by: serb, tr, prr
2023-08-22 17:14:29 +00:00
Thomas Stuefe
20e94784c9 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Reviewed-by: mbaesken, mdoerr, shade
2023-08-22 14:00:47 +00:00
Aleksey Shipilev
69d900d2ce 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Reviewed-by: andrew, erikj
2023-08-22 13:37:21 +00:00
Pavel Rappo
f39fc0aa2d 8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
2023-08-22 13:02:53 +00:00
Daohan Qu
6b9df037e4 8311240: Eliminate usage of testcases.jar from TestMetaSpaceLog.java
Reviewed-by: ayang, tschatzl
2023-08-22 12:51:59 +00:00
bobpengxie
3e1b1bf94e 8314688: VM build without C1 fails after JDK-8313372
Reviewed-by: yzheng, dnsimon, haosun
2023-08-22 09:21:25 +00:00
Cesar Soares Lucas
02ef859f79 8313689: C2: compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java fails intermittently with -XX:-TieredCompilation
Reviewed-by: kvn, thartmann
2023-08-22 07:58:51 +00:00
Julian Waters
ab86d23adf 8250269: Replace ATTRIBUTE_ALIGNED with alignas
Reviewed-by: rkennke, kbarrett
2023-08-22 06:12:28 +00:00
Gui Cao
a66b5df14a 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Reviewed-by: fyang, dzhang
2023-08-22 02:47:52 +00:00
Sergey Bylokhov
87298d2ade 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Reviewed-by: prr
2023-08-22 01:44:16 +00:00
Daniel D. Daugherty
78f74bc8ff 8314672: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all and windows-x64
Reviewed-by: azvegint
2023-08-21 17:13:48 +00:00
Leo Korinth
17a19dc060 8311639: Replace currentTimeMillis() with nanoTime() in jtreg/gc
Reviewed-by: stefank, ayang
2023-08-21 12:19:36 +00:00
Albert Mingkun Yang
0b3f452d25 8314161: G1: Fix -Wconversion warnings in G1CardSetConfiguration::_bitmap_hash_mask
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:17:38 +00:00
Albert Mingkun Yang
abac60851c 8313962: G1: Refactor G1ConcurrentMark::_num_concurrent_workers
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:15:26 +00:00
Aleksey Shipilev
812f475bc4 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Reviewed-by: cjplummer, sspitsyn
2023-08-21 09:02:01 +00:00
Thomas Schatzl
8939d15d92 8314100: G1: Improve collection set candidate selection code
Reviewed-by: ayang, iwalulya
2023-08-21 08:28:31 +00:00
Sidraya
ec1f7a8480 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: amitkumar, jvernee, mdoerr
2023-08-21 07:15:25 +00:00
Christian Stein
c50315de8f 8314495: Update to use jtreg 7.3.1
Reviewed-by: dholmes, erikj, iris, jpai
2023-08-21 06:30:56 +00:00
Alan Bateman
ed0f75f266 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown
Reviewed-by: psandoz
2023-08-19 18:42:43 +00:00
Xin Liu
febc34dd28 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Reviewed-by: jiefu, stuefe
2023-08-19 17:42:30 +00:00
Leonid Mesnik
58f5826ff4 8311222: strace004 can fail due to unexpected stack length after JDK-8309408
Reviewed-by: dholmes, alanb
2023-08-19 01:46:40 +00:00
Tyler Steele
395fc78880 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Reviewed-by: mbaesken, alanb, mdoerr
2023-08-18 20:11:24 +00:00
Leonid Mesnik
f481477144 8314320: Mark runtime/CommandLine/ tests as flagless
Reviewed-by: dholmes
2023-08-18 17:53:07 +00:00
Chris Plummer
fbe28ee90d 8314481: JDWPTRANSPORT_ERROR_INTERNAL code in socketTransport.c can never be executed
Reviewed-by: dcubed, sspitsyn
2023-08-18 17:46:36 +00:00
Mandy Chung
50a2ce01f4 8310815: Clarify the name of the main class, services and provider classes in module descriptor
8314449: Clarify the name of the declaring class of StackTraceElement

Reviewed-by: alanb
2023-08-18 17:10:39 +00:00
Pavel Rappo
aecbb1b5c3 8314448: Coordinate DocLint and JavaDoc to report on unknown tags
Reviewed-by: jjg
2023-08-18 16:40:51 +00:00
Fredrik Bredberg
bcba5e9785 8313419: Template interpreter produces no safepoint check for return bytecodes
Reviewed-by: pchilanomate
2023-08-18 14:33:03 +00:00
Fredrik Bredberg
c36e009772 8308984: Relativize last_sp (and top_frame_sp) in interpreter frames
Reviewed-by: pchilanomate, aph, haosun
2023-08-18 14:29:28 +00:00
Tyler Steele
fdac6a6ac8 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Reviewed-by: clanger, stuefe
2023-08-18 13:58:58 +00:00
Coleen Phillimore
752121114f 8314265: Fix -Wconversion warnings in miscellaneous runtime code
Reviewed-by: stuefe, dholmes, chagedorn
2023-08-18 12:06:02 +00:00
Alexander Zvegintsev
2f04bc5f93 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Reviewed-by: serb, prr
2023-08-18 10:44:20 +00:00
Andrei Rybak
33d5dfdab3 8314543: gitattributes: make diffs easier to read
Git supports special hunk headers for several languages in diff output,
which make it easier to read diffs of files in that language, generated
by Git (git-diff, git-show, `git log -p`, etc).  For details, see
`git help gitattributes` or the online documentation.[1]

Add entries to the root .gitattributes file to support showing the hunk
headers for Java, C, C++, Markdown, Shell script, HTML, and CSS.  This
makes it easier to read diffs generated by Git.

[1] https://git-scm.com/docs/gitattributes

Reviewed-by: erikj, ksakata
2023-08-18 07:48:50 +00:00
Matthias Baesken
5058854b86 8314389: AttachListener::pd_set_flag obsolete
Reviewed-by: cjplummer, mdoerr, sspitsyn
2023-08-18 06:45:18 +00:00
Thomas Stuefe
891c3f4cca 8307356: Metaspace: simplify BinList handling
Reviewed-by: rkennke, coleenp
2023-08-18 05:51:05 +00:00
Ioi Lam
0299364d85 8314249: Refactor handling of invokedynamic in JVMCI ConstantPool
Reviewed-by: dnsimon, coleenp
2023-08-17 22:52:05 +00:00
Justin Lu
96778dd549 8314169: Combine related RoundingMode logic in j.text.DigitList
Reviewed-by: naoto
2023-08-17 22:41:21 +00:00
Harshitha Onkar
808bb1f7bc 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Reviewed-by: dnguyen, serb
2023-08-17 20:37:06 +00:00
Joe Darcy
6445314fec 8314477: Improve definition of "prototypical type"
Reviewed-by: prappo
2023-08-17 20:25:46 +00:00
Andrey Turbanov
d27daf01d6 8314129: Make fields final in java.util.Scanner
Reviewed-by: stsypanov, liach, alanb
2023-08-17 18:32:06 +00:00
Andrey Turbanov
a8ab3be371 8314261: Make fields final in sun.net.www
Reviewed-by: redestad, jpai, dfuchs
2023-08-17 17:54:02 +00:00
Joe Darcy
3bb8afba69 8314489: Add javadoc index entries for java.lang.Math terms
Reviewed-by: alanb
2023-08-17 17:32:49 +00:00
Daniel D. Daugherty
2505cebc5d 8314533: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all with ZGC
Reviewed-by: azvegint
2023-08-17 17:05:54 +00:00
Erik Joelsson
b33ff30d70 8313661: [REDO] Relax prerequisites for java.base-jmod target
Reviewed-by: alanb
2023-08-17 16:54:36 +00:00
Chris Plummer
62ca00158c 8313357: Revisit requiring SA tests on OSX to either run as root or use sudo
Reviewed-by: dholmes, amenkov
2023-08-17 15:26:45 +00:00
Chris Plummer
388dcff725 8282712: VMConnection.open() does not detect if VM failed to be created, resulting in NPE
Reviewed-by: sspitsyn, amenkov
2023-08-17 15:09:09 +00:00
Robbin Ehn
e8f6b3e497 8314268: Missing include in assembler_riscv.hpp
Reviewed-by: shade, fyang
2023-08-17 14:45:59 +00:00
Claes Redestad
c634bdf9d9 8314444: Update jib-profiles.js to use JMH 1.37 devkit
Reviewed-by: shade, mikael, erikj
2023-08-17 11:54:24 +00:00
Per Minborg
2b81885f78 8314071: Test java/foreign/TestByteBuffer.java timed out
Reviewed-by: mcimadamore
2023-08-17 11:31:09 +00:00
Cristian Vat
32efd23c5d 8311939: Excessive allocation of Matcher.groups array
Reviewed-by: rriggs, igraves
2023-08-17 11:27:39 +00:00
Alan Bateman
ed585d16b9 8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined
Reviewed-by: psandoz
2023-08-17 08:02:53 +00:00
Pavel Rappo
6f1071f5ed 8314213: DocLint should warn about unknown standard tags
Reviewed-by: jjg
2023-08-17 07:43:07 +00:00
Aggelos Biboudis
4331193010 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Reviewed-by: jlahoda
2023-08-17 07:33:16 +00:00
Andrey Turbanov
249dc37426 8314321: Remove unused field jdk.internal.util.xml.impl.Attrs.mAttrIdx
Reviewed-by: alanb, vtewari, bpb
2023-08-17 07:13:38 +00:00
Sergey Bylokhov
b78f5a1068 8314076: ICC_ColorSpace#minVal/maxVal have the opposite description
Reviewed-by: azvegint
2023-08-17 05:33:44 +00:00
Kim Barrett
2a1176b544 8314276: Improve PtrQueue API around size/capacity
Reviewed-by: iwalulya, tschatzl
2023-08-17 05:06:11 +00:00
Joe Darcy
0c3bc71d24 8281169: Expand discussion of elements and types
Reviewed-by: mcimadamore, prappo
2023-08-16 20:31:51 +00:00
Ben Perez
f143380d01 8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile
Reviewed-by: mullan
2023-08-16 19:56:13 +00:00
Brian Burkhalter
6b396da278 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified
Reviewed-by: alanb
2023-08-16 17:53:56 +00:00
Leonid Mesnik
7b28d3608a 8314330: java/foreign tests should respect vm flags when start new processes
Reviewed-by: jvernee
2023-08-16 17:49:38 +00:00
Glavo
b32d6411c4 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
Reviewed-by: naoto
2023-08-16 17:37:21 +00:00
Lance Andersen
13f6450e2e 8313765: Invalid CEN header (invalid zip64 extra data field size)
Reviewed-by: simonis, alanb, coffeys
2023-08-16 15:42:36 +00:00
Ralf Schmelter
24e896d7c9 8310275: Bug in assignment operator of ReservedMemoryRegion
Reviewed-by: jsjolen, dholmes, stuefe
2023-08-16 15:00:50 +00:00
Thomas Schatzl
1925508425 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang, iwalulya
2023-08-16 12:08:56 +00:00
Raffaello Giulietti
b80001de0c 8314209: Wrong @since tag for RandomGenerator::equiDoubles
Reviewed-by: alanb
2023-08-16 08:21:34 +00:00
Matthias Baesken
ef6db5c299 8314211: Add NativeLibraryUnload event
Reviewed-by: stuefe, mdoerr
2023-08-16 07:39:42 +00:00
Christian Hagedorn
49ddb19972 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, aph, sviswanathan, rhalade, kvn, dlong
2023-08-16 07:21:04 +00:00
Emanuel Peter
d46f0fb318 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Reviewed-by: chagedorn, thartmann
2023-08-16 07:15:43 +00:00
Aleksey Shipilev
38687f1a3e 8314262: GHA: Cut down cross-compilation sysroots deeper
Reviewed-by: erikj
2023-08-16 07:04:25 +00:00
Aleksey Shipilev
a602624ef4 8314020: Print instruction blocks in byte units
Reviewed-by: stuefe, fyang
2023-08-16 07:02:48 +00:00
Christian Hagedorn
0b12480de8 8314233: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: unexpected
Reviewed-by: thartmann, kvn
2023-08-16 06:58:23 +00:00
Tom Rodriguez
e1fdef5613 8314324: "8311557: [JVMCI] deadlock with JVMTI thread suspension" causes various failures
Reviewed-by: cjplummer, thartmann
2023-08-16 06:06:59 +00:00
Prasanta Sadhukhan
2bd2faeb76 4346610: Adding JSeparator to JToolBar "pushes" buttons added after separator to edge
Reviewed-by: tr, aivanov, dnguyen
2023-08-16 05:35:40 +00:00
Thomas Stuefe
6a15860b12 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Reviewed-by: mbaesken, shade
2023-08-16 05:14:40 +00:00
Leonid Mesnik
6bf4a33593 8314242: Update applications/scimark/Scimark.java to accept VM flags
Reviewed-by: dholmes
2023-08-16 00:15:55 +00:00
Christoph Schwentker
bc8e9f44a3 8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder
Reviewed-by: mchung
2023-08-15 22:34:37 +00:00
Chris Plummer
0f5e030bad 8309335: Get rid of use of reflection to call Thread.isVirtual() in nsk/jdi/EventRequestManager/stepRequests/stepreq001t.java
Reviewed-by: lmesnik, sspitsyn, alanb
2023-08-15 20:55:27 +00:00
Mikael Vidstedt
f66c73d34b 8314166: Update googletest to v1.14.0
Reviewed-by: kbarrett, stuefe, shade, erikj
2023-08-15 19:52:56 +00:00
Gerard Ziemski
f239954657 8310134: NMT: thread count in Thread section of VM.native_memory output confusing with virtual threads
Reviewed-by: jsjolen, dholmes, alanb
2023-08-15 17:06:28 +00:00
Aleksey Shipilev
2e8a0ab272 8314120: Add tests for FileDescriptor.sync
Reviewed-by: alanb, bpb
2023-08-15 16:11:09 +00:00
Ioi Lam
80809ef4cc 8314248: Remove HotSpotConstantPool::isResolvedDynamicInvoke
Reviewed-by: thartmann, dnsimon
2023-08-15 15:54:44 +00:00
Tom Rodriguez
004651ddc2 8311557: [JVMCI] deadlock with JVMTI thread suspension
Reviewed-by: thartmann, dnsimon
2023-08-15 15:44:33 +00:00
Coleen Phillimore
9ded86821b 8314114: Fix -Wconversion warnings in os code, primarily linux
Reviewed-by: dholmes, dlong
2023-08-15 11:05:31 +00:00
Emanuel Peter
a02d65efcc 8310308: IR Framework: check for type and size of vector nodes
Reviewed-by: chagedorn, thartmann
2023-08-15 10:08:51 +00:00
Thomas Stuefe
dff99f7f3d 8313782: Add user-facing warning if THPs are enabled but cannot be used
Reviewed-by: dholmes, sjohanss
2023-08-15 09:09:02 +00:00
Dmitry Cherepanov
f4e72c58d7 8313949: Missing word in GPLv2 license text in StackMapTableAttribute.java
Reviewed-by: iris
2023-08-15 08:43:38 +00:00
Matthias Baesken
6338927221 8314197: AttachListener::pd_find_operation always returning nullptr
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-08-15 07:48:38 +00:00
David Holmes
b7dee213df 8314244: Incorrect file headers in new tests from JDK-8312597
Reviewed-by: lmesnik, kvn
2023-08-15 04:29:25 +00:00
Fei Gao
37c6b23f5b 8308340: C2: Idealize Fma nodes
Reviewed-by: kvn, epeter
2023-08-15 01:04:22 +00:00
Yasumasa Suenaga
583cb754f3 8313406: nep_invoker_blob can be simplified more
Reviewed-by: jvernee, vlivanov
2023-08-14 23:12:42 +00:00
Ben Taylor
0074b48ad7 8312597: Convert TraceTypeProfile to UL
Reviewed-by: shade, phh
2023-08-14 22:50:37 +00:00
Sean Mullan
1f1c5c6f8d 8314241: Add test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java to ProblemList
Reviewed-by: dcubed, dholmes
2023-08-14 22:23:11 +00:00
David Holmes
f142470dea 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Reviewed-by: stefank, pchilanomate, dcubed, rehn
2023-08-14 21:18:57 +00:00
Ben Perez
595fdd36c5 8314059: Remove PKCS7.verify()
Reviewed-by: mullan
2023-08-14 18:39:18 +00:00
Kimura Yukihiro
49b29845f7 8313854: Some tests in serviceability area fail on localized Windows platform
Reviewed-by: amenkov, cjplummer
2023-08-14 18:26:55 +00:00
Brian Burkhalter
c132176b93 8114830: (fs) Files.copy fails due to interference from something else changing the file system
Reviewed-by: alanb, vtewari
2023-08-14 17:48:50 +00:00
Weibing Xiao
e56d3bc2da 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Reviewed-by: vtewari, msheppar, aefimov
2023-08-14 17:38:53 +00:00
Oli Gillespie
4b2703ad39 8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: coleenp, dholmes, shade
2023-08-14 15:58:03 +00:00
Liam Miller-Cushon
f41c267f85 8314045: ArithmeticException in GaloisCounterMode
Co-authored-by: Ioana Nedelcu <ioannanedelcu@google.com>
Reviewed-by: ascarpino
2023-08-14 15:51:18 +00:00
Ioi Lam
911d1dbbf7 8314078: HotSpotConstantPool.lookupField() asserts due to field changes in ConstantPool.cpp
Reviewed-by: dnsimon, coleenp
2023-08-14 15:37:44 +00:00
Christian Stein
6574dd796d 8314025: Remove JUnit-based test in java/lang/invoke from problem list
Reviewed-by: dholmes, jpai
2023-08-14 13:38:22 +00:00
Christian Hagedorn
207bd00c51 8313756: [BACKOUT] 8308682: Enhance AES performance
Reviewed-by: thartmann
2023-08-14 12:08:16 +00:00
Afshin Zafari
823f5b930c 8308850: Change JVM options with small ranges that get -Wconversion warnings to 32 bits
Reviewed-by: dholmes, coleenp, dlong
2023-08-14 11:57:17 +00:00
Albert Mingkun Yang
5bfb82e6fa 8314119: G1: Fix -Wconversion warnings in G1CardSetInlinePtr::card_pos_for
Reviewed-by: tschatzl, kbarrett
2023-08-14 11:08:31 +00:00
Aleksey Shipilev
06aa3c5628 8314118: Update JMH devkit to 1.37
Reviewed-by: erikj, redestad
2023-08-14 10:04:55 +00:00
Yudi Zheng
4164693f3b 8313372: [JVMCI] Export vmIntrinsics::is_intrinsic_available results to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-08-14 08:56:15 +00:00
Stefan Karlsson
049b55f24e 8314019: Add gc logging to jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java
Reviewed-by: aboldtch, eosterlund
2023-08-14 08:45:16 +00:00
Christian Hagedorn
a39ed1087b 8314116: C2: assert(false) failed: malformed control flow after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:15:02 +00:00
Christian Hagedorn
1de5bf1ce9 8314106: C2: assert(is_valid()) failed: must be valid after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:14:42 +00:00
Feilong Jiang
5c91622885 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Reviewed-by: fyang
2023-08-14 07:50:43 +00:00
Andrey Turbanov
6bbcef5315 8313948: Remove unnecessary static fields defaultUpper/defaultLower in sun.net.PortConfig
Reviewed-by: dfuchs
2023-08-14 07:04:29 +00:00
Andrey Turbanov
b88c273503 8313743: Make fields final in sun.nio.ch
Reviewed-by: bpb
2023-08-14 07:04:05 +00:00
Alexander Matveev
ec0cc6300a 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
2023-08-11 21:00:52 +00:00
Man Cao
7332502883 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Reviewed-by: shade, stuefe
2023-08-11 20:43:31 +00:00
Chris Plummer
8f1c134848 8313798: [aarch64] sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java sometimes times out on aarch64
Reviewed-by: kevinw, sspitsyn
2023-08-11 18:09:44 +00:00
Andreas Steiner
12326770dc 8313244: NM flags handling in configure process
Reviewed-by: clanger, jwaters, mbaesken, erikj
2023-08-11 13:21:46 +00:00
Albert Mingkun Yang
6ffc0324dc 8314113: G1: Remove unused G1CardSetInlinePtr::card_at
Reviewed-by: tschatzl
2023-08-11 12:19:39 +00:00
Johan Sjölen
62adeb08c3 8311648: Refactor the Arena/Chunk/ChunkPool interface
Reviewed-by: stuefe, coleenp
2023-08-11 09:32:45 +00:00
Ioi Lam
43462a36ab 8313224: Avoid calling JavaThread::current() in MemAllocator::Allocation constructor
Reviewed-by: tschatzl, coleenp
2023-08-11 03:39:39 +00:00
Mark Powers
9abb2a559e 8312461: JNI warnings in SunMSCApi provider
Reviewed-by: valeriep, djelinski
2023-08-10 23:43:38 +00:00
Jesse Glick
42758cb889 8312882: Update the CONTRIBUTING.md with pointers to lifecycle of a PR
Reviewed-by: erikj, jwilhelm
2023-08-10 22:26:32 +00:00
Calvin Cheung
88b4e3b853 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Reviewed-by: dholmes, iklam
2023-08-10 20:02:27 +00:00
Doug Simon
6f5c903d10 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Reviewed-by: never, thartmann
2023-08-10 18:53:02 +00:00
Damon Nguyen
d97de8260c 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Reviewed-by: honkar, serb
2023-08-10 17:52:28 +00:00
Xue-Lei Andrew Fan
79be8d9383 8312259: StatusResponseManager unused code clean up
Reviewed-by: mpowers, jnimeh
2023-08-10 17:15:56 +00:00
Tom Rodriguez
1875b2872b 8314061: [JVMCI] DeoptimizeALot stress logic breaks deferred barriers
Reviewed-by: thartmann, dnsimon
2023-08-10 16:40:28 +00:00
Coleen Phillimore
bd1b942741 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: dlong, iklam
2023-08-10 15:25:00 +00:00
Leonid Mesnik
9b53251131 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
2023-08-10 15:18:57 +00:00
Leonid Mesnik
e7c83ea948 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Reviewed-by: kvn, thartmann
2023-08-10 15:18:34 +00:00
Matthias Baesken
23fe2ece58 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: mdoerr
2023-08-10 12:06:43 +00:00
Coleen Phillimore
f47767ffef 8313882: Fix -Wconversion warnings in runtime code
Reviewed-by: pchilanomate, dlong, dholmes
2023-08-10 11:57:25 +00:00
Jaikiran Pai
0cb9ab04f4 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails
Reviewed-by: dfuchs, aefimov, alanb
2023-08-10 10:01:46 +00:00
Oli Gillespie
028b3ae1b1 8313874: JNI NewWeakGlobalRef throws exception for null arg
Reviewed-by: dholmes, kbarrett, shade
2023-08-10 08:51:50 +00:00
Doug Simon
83adaf5477 8313421: [JVMCI] avoid locking class loader in CompilerToVM.lookupType
Reviewed-by: never, thartmann
2023-08-10 08:17:03 +00:00
Per Minborg
35b60f925a 8298095: Refine implSpec for SegmentAllocator
Reviewed-by: mcimadamore
2023-08-10 07:57:19 +00:00
Matthias Baesken
6dba2026d7 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: cjplummer, sspitsyn
2023-08-10 07:23:24 +00:00
Thomas Stuefe
8f28809aa8 8299790: os::print_hex_dump is racy
Reviewed-by: shade, dholmes
2023-08-10 07:21:47 +00:00
Axel Boldt-Christmas
e080a0b4c0 8311508: ZGC: RAII use of IntelJccErratumAlignment
Reviewed-by: stefank, shade, tschatzl
2023-08-10 07:18:31 +00:00
Axel Boldt-Christmas
242a2e63df 8308843: Generational ZGC: Remove gc/z/TestHighUsage.java
Reviewed-by: ayang, tschatzl
2023-08-10 07:16:36 +00:00
Sergey Tsypanov
c822183e98 8313768: Reduce interaction with volatile field in j.u.l.StreamHandler
Reviewed-by: dfuchs, jpai
2023-08-10 05:50:19 +00:00
Alexandre Iline
cd16158edb 8314075: Update JCov version for JDK 22
Reviewed-by: serb
2023-08-10 00:43:28 +00:00
Joe Darcy
c307391ab1 8307184: Incorrect/inconsistent specification and implementation for Elements.getDocComment
Reviewed-by: vromero, jjg
2023-08-09 21:17:10 +00:00
Pavel Rappo
593ba2fe47 8313693: Introduce an internal utility for the Damerau–Levenshtein distance calculation
Reviewed-by: jlahoda, jjg
2023-08-09 16:08:23 +00:00
Christian Stein
360f65d7b1 8314022: Problem-list tests failing with jtreg 7.3
Reviewed-by: dholmes
2023-08-09 14:00:21 +00:00
Markus Grönlund
0eb0997ae4 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Reviewed-by: egahlin
2023-08-09 13:34:04 +00:00
Pavel Rappo
19ae62ae2c 8311170: Simplify and modernize equals and hashCode in security area
Reviewed-by: djelinski, rriggs, valeriep
2023-08-09 12:34:40 +00:00
Daniel Jeliński
e9f751ab16 8311247: Some cpp files are compiled with -std:c11 flag
Reviewed-by: aivanov, jwaters, prr, erikj
2023-08-09 12:26:32 +00:00
Erik Gahlin
213d3c449a 8313891: JFR: Incorrect exception message for RecordedObject::getInt
Reviewed-by: mgronlun
2023-08-09 11:46:25 +00:00
Richard Startin
0e2c72d7a5 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Reviewed-by: coleenp, aph, stuefe
2023-08-09 11:23:32 +00:00
Hannes Wallnöfer
52ec4bcb1b 8303056: Improve support for Unicode characters and digits in JavaDoc search
Reviewed-by: jjg
2023-08-09 09:50:21 +00:00
Albert Mingkun Yang
9cf12bb977 8313922: Remove unused WorkerPolicy::_debug_perturbation
Reviewed-by: tschatzl
2023-08-09 09:13:34 +00:00
Matthias Baesken
6e3cc131da 8312467: relax the builddir check in make/autoconf/basic.m4
Reviewed-by: clanger, erikj
2023-08-09 07:08:52 +00:00
Hannes Wallnöfer
77e5739f60 8310118: Resource files should be moved to appropriate directories
Reviewed-by: jjg
2023-08-09 07:01:15 +00:00
Matthias Baesken
96304f37f8 8313691: use close after failing os::fdopen in vmError and ciEnv
Reviewed-by: dholmes, thartmann
2023-08-09 06:54:15 +00:00
Leonid Mesnik
3fb4805b1a 8307462: [REDO] VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann
2023-08-09 06:29:42 +00:00
Stefan Karlsson
0a42c44bf8 8313954: Add gc logging to vmTestbase/vm/gc/containers/Combination05
Reviewed-by: tschatzl, lmesnik
2023-08-09 06:16:39 +00:00
Stefan Karlsson
735b16a696 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Reviewed-by: stuefe, shade, coleenp
2023-08-09 06:16:18 +00:00
Tobias Hartmann
d3b578f1c9 8313345: SuperWord fails due to CMove without matching Bool pack
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Hannes Greule <hannesgreule@outlook.de>
Reviewed-by: chagedorn, epeter, hgreule
2023-08-09 05:16:02 +00:00
Yi Yang
31a307f2fb 8306441: Two phase segmented heap dump
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Reviewed-by: amenkov, kevinw
2023-08-09 01:58:57 +00:00
Rajan Halade
515add88ed 8313206: PKCS11 tests silently skip execution
Reviewed-by: ssahoo, mullan
2023-08-08 20:21:16 +00:00
Jim Laskey
6864441163 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
2023-08-08 19:33:44 +00:00
Jorn Vernee
509f80bb04 8313889: Fix -Wconversion warnings in foreign benchmarks
Reviewed-by: pminborg, mcimadamore
2023-08-08 13:59:35 +00:00
Coleen Phillimore
5c3041ce83 8313435: Clean up unused default methods code
Reviewed-by: kbarrett, iklam
2023-08-08 12:12:57 +00:00
Coleen Phillimore
8752d4984a 8313785: Fix -Wconversion warnings in prims code
Reviewed-by: sspitsyn, dlong
2023-08-08 11:51:42 +00:00
Andrey Turbanov
41bdcded65 8313875: Use literals instead of static fields in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown
Reviewed-by: redestad, darcy, bpb, rgiulietti
2023-08-08 11:38:15 +00:00
Markus Grönlund
091e65e95b 8313552: Fix -Wconversion warnings in JFR code
Reviewed-by: coleenp
2023-08-08 11:01:59 +00:00
Thomas Schatzl
7e209528d3 8140326: G1: Consider putting regions where evacuation failed into next collection set
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-08-08 10:29:14 +00:00
Stefan Karlsson
28fd7a1739 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: ayang, aboldtch, tschatzl
2023-08-08 09:57:52 +00:00
Jan Lahoda
a1115a7a39 8312204: unexpected else with statement causes compiler crash
Reviewed-by: vromero
2023-08-08 09:28:21 +00:00
Jan Lahoda
87a6acbeee 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Reviewed-by: vromero
2023-08-08 08:49:39 +00:00
Chris Plummer
87b08b6e01 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Reviewed-by: sspitsyn, lmesnik
2023-08-07 18:51:29 +00:00
Alex Menkov
83edffa608 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Reviewed-by: sspitsyn, eosterlund
2023-08-07 18:27:33 +00:00
Justin Lu
1da82a34b1 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Reviewed-by: naoto, iris
2023-08-07 17:10:27 +00:00
Christian Stein
9c6eb67e85 8313167: Update to use jtreg 7.3
Reviewed-by: jjg, iris
2023-08-07 16:09:23 +00:00
Qing Xiao
380418fad0 8295058: test/langtools/tools/javac 116 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-08-07 15:49:11 +00:00
Antonios Printezis
4726960fcd 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Reviewed-by: luhenry, fyang
2023-08-07 14:17:44 +00:00
Per Minborg
bbbfa217a0 8313880: Incorrect copyright header in jdk/java/foreign/TestFree.java after JDK-8310643
Reviewed-by: thartmann
2023-08-07 12:34:52 +00:00
Coleen Phillimore
0bb6af3bc0 8313791: Fix just zPage.inline.hpp and xPage.inline.hpp
Reviewed-by: stefank, tschatzl
2023-08-07 12:06:41 +00:00
Aleksey Shipilev
4b192a8dc3 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Reviewed-by: thartmann, chagedorn
2023-08-07 11:26:08 +00:00
Per Minborg
0b4387e3a3 8310643: Misformatted copyright messages in FFM
Reviewed-by: jvernee
2023-08-07 10:58:11 +00:00
Aleksey Shipilev
538f9557b8 8313701: GHA: RISC-V should use the official repository for bootstrap
Reviewed-by: clanger, fyang
2023-08-07 10:48:11 +00:00
Aleksey Shipilev
226cdc696d 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Reviewed-by: dholmes, stuefe
2023-08-07 10:45:14 +00:00
Christian Hagedorn
dc01604756 8305636: Expand and clean up predicate classes and move them into separate files
Reviewed-by: thartmann, roland
2023-08-07 09:14:16 +00:00
Prasanta Sadhukhan
a38fdaf18d 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key.
Reviewed-by: abhiscxk, dnguyen, prr, serb
2023-08-07 09:12:33 +00:00
Abhishek Kumar
c1f4595e64 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
2023-08-07 05:02:16 +00:00
Julian Waters
90d795abf1 8313141: Missing check for os_thread type in os_windows.cpp
Reviewed-by: dholmes, mgronlun
2023-08-05 05:24:08 +00:00
Christoph Langer
6d18529616 8313795: Fix for JDK-8313564 breaks ppc and s390x builds
Reviewed-by: stuefe
2023-08-04 22:33:36 +00:00
Matias Saavedra Silva
ad6e9e75bf 8313554: Fix -Wconversion warnings for ResolvedFieldEntry
Reviewed-by: coleenp, dlong
2023-08-04 20:24:50 +00:00
danthe1st
b463c6d3b0 8311517: Add performance information to ArrayList javadoc
Reviewed-by: smarks, bpb
2023-08-04 20:21:25 +00:00
Stuart Marks
b2add96c35 8159527: Collections mutator methods should all be marked as optional operations
Reviewed-by: naoto, bpb
2023-08-04 19:27:56 +00:00
Ashutosh Mehra
873d117932 8312623: SA add NestHost and NestMembers attributes when dumping class
Reviewed-by: cjplummer, sspitsyn, stuefe
2023-08-04 18:42:37 +00:00
Thomas Stuefe
017e0c7850 8310388: Shenandoah: Auxiliary bitmap is not madvised for THP
Reviewed-by: shade, kdnilsen
2023-08-04 18:40:16 +00:00
Coleen Phillimore
f66cd5008d 8313564: Fix -Wconversion warnings in classfile code
Reviewed-by: matsaave, dholmes
2023-08-04 14:06:16 +00:00
Aleksey Shipilev
e8a37b90db 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Reviewed-by: thartmann, rkennke
2023-08-04 09:53:20 +00:00
Aleksey Shipilev
29f1d8ef50 8313707: GHA: Bootstrap sysroots with --variant=minbase
Reviewed-by: clanger, fyang
2023-08-04 09:11:32 +00:00
Raffaello Giulietti
61c58fdd00 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: alanb, smarks
2023-08-04 07:11:18 +00:00
Matthias Baesken
5d232959c2 8313251: Add NativeLibraryLoad event
Reviewed-by: jbechberger, egahlin, dholmes
2023-08-04 07:03:25 +00:00
Andreas Steiner
c4b8574b94 8311938: Add default cups include location for configure on AIX
Reviewed-by: clanger, mbaesken, jwaters
2023-08-04 06:56:12 +00:00
Qing Xiao
10a2605884 8294979: test/jdk/tools/jlink 3 test classes use ASM library
Reviewed-by: mchung, ksakata
2023-08-04 05:13:57 +00:00
KIRIYAMA Takuya
e8c325dea3 8313394: Array Elements in OldObjectSample event has the incorrect description
Reviewed-by: egahlin
2023-08-04 03:19:53 +00:00
Joe Wang
d60352e26f 8311006: missing @since info in jdk.xml.dom
Reviewed-by: iris, naoto, lancea
2023-08-03 21:49:05 +00:00
Tobias Hartmann
4577147993 8313712: [BACKOUT] 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: mikael
2023-08-03 18:08:29 +00:00
Tejesh R
bb3aac6063 8301606: JFileChooser file chooser details view "size" label cut off in Metal Look&Feel
Reviewed-by: aivanov, abhiscxk
2023-08-03 16:09:47 +00:00
Matthias Baesken
0f2fce7168 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: thartmann, lucy
2023-08-03 12:02:52 +00:00
Tobias Hartmann
ab1c212ac1 8312909: C1 should not inline through interface calls with non-subtype receiver
Reviewed-by: kvn, chagedorn
2023-08-03 11:02:42 +00:00
Jan Lahoda
c386091734 8312984: javac may crash on a record pattern with too few components
Reviewed-by: vromero
2023-08-03 08:37:15 +00:00
Thomas Stuefe
3212b64f8e 8313582: Problemlist failing test on linux x86
Reviewed-by: tschatzl
2023-08-03 08:32:13 +00:00
Matthias Baesken
bdac348c80 8313602: increase timeout for jdk/classfile/CorpusTest.java
Reviewed-by: clanger
2023-08-03 08:12:20 +00:00
Prasanta Sadhukhan
58906bf8fb 4893524: Swing drop targets should call close() on transferred readers and streams
Reviewed-by: serb, tr, aivanov
2023-08-03 07:23:19 +00:00
Jaikiran Pai
3c920f9cc6 8313274: [BACKOUT] Relax prerequisites for java.base-jmod target
Reviewed-by: dholmes
2023-08-03 07:15:21 +00:00
Amit Kumar
53ca75b18e 8313312: Add missing classpath exception copyright header
Reviewed-by: rriggs, asotona
2023-08-03 05:47:22 +00:00
Tejesh R
87d7e976cb 8311031: JTable header border vertical lines are not aligned with data grid lines
Reviewed-by: abhiscxk, psadhukhan, aivanov
2023-08-03 04:44:41 +00:00
Sergey Bylokhov
8248e351d0 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Reviewed-by: shade, prr
2023-08-02 23:37:35 +00:00
Jonathan Gibbons
6d180d5fbf 8313349: Introduce abstract void HtmlDocletWriter.buildPage()
Reviewed-by: prappo
2023-08-02 21:59:22 +00:00
Jim Laskey
bc1d2eac9a 8312821: Javac accepts char literal as template
Reviewed-by: jlahoda
2023-08-02 21:01:44 +00:00
Matias Saavedra Silva
cff25dd574 8306582: Remove MetaspaceShared::exit_after_static_dump()
Reviewed-by: iklam, alanb, ccheung
2023-08-02 17:11:22 +00:00
Brian Burkhalter
4ba81f631f 8313368: (fc) FileChannel.size returns 0 on block special files
Reviewed-by: vtewari, alanb
2023-08-02 15:25:59 +00:00
Deepa Kumari
c1a3f143bf 8312078: [PPC] JcmdScale.java Failing on AIX
Reviewed-by: stuefe, tsteele
2023-08-02 14:39:33 +00:00
Cesar Soares Lucas
6446792327 8312617: SIGSEGV in ConnectionGraph::verify_ram_nodes
Reviewed-by: kvn, thartmann
2023-08-02 14:27:07 +00:00
Antonios Printezis
b093880acd 8313322: RISC-V: implement MD5 intrinsic
Reviewed-by: luhenry, rehn
2023-08-02 13:17:00 +00:00
Stefan Karlsson
19e2c8c321 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: stuefe, tschatzl, eosterlund
2023-08-02 12:13:47 +00:00
Aleksey Shipilev
46fbedb2be 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: phh, thartmann
2023-08-02 11:21:34 +00:00
Alan Bateman
6faf05c6dd 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Reviewed-by: jpai, mchung
2023-08-02 10:40:25 +00:00
Albert Mingkun Yang
5d1b911c92 8310311: Serial: move Generation::contribute_scratch to DefNewGeneration
Reviewed-by: tschatzl, kbarrett
2023-08-02 09:17:41 +00:00
Aleksey Shipilev
9454b2bbe1 8312591: GCC 6 build failure after JDK-8280982
Reviewed-by: jiefu, prr
2023-08-02 07:00:37 +00:00
Jenny Shivayogi
6a853bba09 8311821: Simplify ParallelGCThreadsConstraintFunc after CMS removal
Reviewed-by: kbarrett, shade, tschatzl
2023-08-02 07:00:13 +00:00
Daniel Jeliński
e8471f6bbe 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Reviewed-by: mullan
2023-08-02 05:45:24 +00:00
Joe Wang
528596fa93 8310991: missing @since tags in java.xml
Reviewed-by: iris, naoto, lancea
2023-08-02 01:37:40 +00:00
Jim Laskey
f14245b388 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jlahoda, mcimadamore, vromero
2023-08-02 00:47:20 +00:00
Justin Lu
9b55e9a706 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto
2023-08-01 23:16:39 +00:00
John Jiang
28be34c1b9 8313226: Redundant condition test in X509CRLImpl
Reviewed-by: jnimeh
2023-08-01 22:35:27 +00:00
Calvin Cheung
dc14247077 8309240: Array classes should be stored in dynamic CDS archive
Reviewed-by: iklam
2023-08-01 22:08:55 +00:00
Calvin Cheung
bf7077752a 8312181: CDS dynamic dump crashes when verifying unlinked class from static archive
Reviewed-by: iklam, matsaave
2023-08-01 20:31:25 +00:00
Ashutosh Mehra
7ba8c69a2c 8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976
Reviewed-by: chagedorn, dlong, shade
2023-08-01 19:26:45 +00:00
Aleksey Shipilev
ec2f38fd38 8313428: GHA: Bump GCC versions for July 2023 updates
Reviewed-by: clanger, mbaesken, stuefe
2023-08-01 16:03:24 +00:00
Thomas Obermeier
98a915a54c 8313256: Exclude failing multicast tests on AIX
Reviewed-by: clanger
2023-08-01 15:31:54 +00:00
Christoph Langer
94b50b714a 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken, alanb
2023-08-01 13:45:10 +00:00
Coleen Phillimore
ee3e0917b3 8313249: Fix -Wconversion warnings in verifier code
Reviewed-by: matsaave, iklam, dlong
2023-08-01 11:59:11 +00:00
Joshua Cao
e36960ec6d 8312420: Integrate Graal's blender micro benchmark
Reviewed-by: dnsimon, thartmann, ksakata
2023-08-01 10:48:38 +00:00
Tejesh R
0a3c6d6bd0 8280482: Window transparency bug on Linux
Reviewed-by: dnguyen, azvegint
2023-08-01 04:28:42 +00:00
Matias Saavedra Silva
c91a3002fb 8307312: Replace "int which" with "int cp_index" in constantPool
Reviewed-by: coleenp, dholmes, iklam
2023-07-31 20:23:59 +00:00
Jim Laskey
6af0af5934 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: naoto, rriggs, mchung, liach
2023-07-31 19:11:14 +00:00
Matias Saavedra Silva
86783b9851 8301996: Move field resolution information out of the cpCache
Co-authored-by: Gui Cao <gcao@openjdk.org>
Co-authored-by: Dingli Zhang <dzhang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: coleenp, fparain
2023-07-31 18:41:38 +00:00
Thomas Stuefe
5362ec9c6e 8312492: Remove THP sanity checks at VM startup
Reviewed-by: dholmes, coleenp
2023-07-31 16:51:29 +00:00
Hai-May Chao
e47a84f23d 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: mullan, mbaesken
2023-07-31 15:18:04 +00:00
Gerard Ziemski
78f67993f8 8293972: runtime/NMT/NMTInitializationTest.java#default_long-off failed with "Suspiciously long bucket chains in lookup table."
Reviewed-by: stuefe, dholmes
2023-07-31 15:12:22 +00:00
Qing Xiao
97b688340e 8295059: test/langtools/tools/javap 12 test classes use com.sun.tools.classfile library
Reviewed-by: asotona
2023-07-31 15:03:05 +00:00
Matthias Baesken
3671d83c87 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Reviewed-by: clanger
2023-07-31 14:57:28 +00:00
Matias Saavedra Silva
b60e0adad6 8313207: Remove MetaspaceShared::_has_error_classes
Reviewed-by: ccheung, iklam
2023-07-31 13:44:38 +00:00
Aleksey Shipilev
408987e1ca 8313307: java/util/Formatter/Padding.java fails on some Locales
Reviewed-by: jlu, naoto
2023-07-31 08:35:31 +00:00
Jorn Vernee
6fca289887 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: mcimadamore, vlivanov
2023-07-31 08:01:17 +00:00
John Jiang
f8c2b7fee1 8313231: Redundant if statement in ZoneInfoFile
Reviewed-by: jiefu, scolebourne
2023-07-31 07:49:10 +00:00
Christoph Langer
807ca2d3a1 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
2023-07-31 07:42:37 +00:00
Thomas Stuefe
ad34be1f32 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: dholmes, shade
2023-07-29 05:36:58 +00:00
Vladimir Kempik
d6245b6832 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fyang
2023-07-28 21:55:33 +00:00
Jonathan Gibbons
402cb6a550 8312201: Clean up common behavior in "page writers" and "member writers"
8284447: Remove the unused NestedClassWriter interface

Reviewed-by: prappo
2023-07-28 17:48:31 +00:00
Justin Lu
23755f90c9 8312411: MessageFormat.formatToCharacterIterator() can be improved
Reviewed-by: naoto
2023-07-28 17:33:20 +00:00
Jonathan Gibbons
e2cb0bc6f1 8313204: Inconsistent order of sections in generated class documentation
Reviewed-by: hannesw, prappo
2023-07-28 17:05:37 +00:00
Jonathan Gibbons
4ae75cab53 8313253: Rename methods in javadoc Comparators class
Reviewed-by: hannesw, prappo
2023-07-28 16:39:33 +00:00
Coleen Phillimore
e897041770 8312262: Klass::array_klass() should return ArrayKlass pointer
Reviewed-by: dlong, ccheung
2023-07-28 16:32:06 +00:00
Justin Lu
a9a3463afb 8312416: Tests in Locale should have more descriptive names
Reviewed-by: lancea, naoto
2023-07-28 16:27:06 +00:00
Matthias Baesken
d9559f9b24 8312612: handle WideCharToMultiByte return values
Reviewed-by: clanger
2023-07-28 13:45:19 +00:00
Matthias Baesken
34173ff0d1 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: egahlin
2023-07-28 13:31:13 +00:00
Coleen Phillimore
47c4b992b4 8312121: Fix -Wconversion warnings in tribool.hpp
Reviewed-by: dlong, dholmes
2023-07-28 12:08:24 +00:00
Alexander Scherbatiy
a3d67231a7 8311033: [macos] PrinterJob does not take into account Sides attribute
Reviewed-by: prr, serb
2023-07-28 10:25:22 +00:00
Kevin Walls
4ae5a3e39b 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Reviewed-by: cjplummer, sspitsyn
2023-07-28 09:44:04 +00:00
Damon Fenacci
cad6114e1c 8304954: SegmentedCodeCache fails when using large pages
Reviewed-by: stuefe, thartmann
2023-07-28 09:09:48 +00:00
Leonid Mesnik
ba645da97b 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Reviewed-by: dholmes
2023-07-28 02:01:48 +00:00
Valerie Peng
c27c87786a 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: xuelei
2023-07-27 21:24:03 +00:00
Jiangli Zhou
c55d29ff11 8312626: Resolve multiple definition of 'start_timer' when statically linking JDK native libraries with user code
Reviewed-by: serb
2023-07-27 19:12:46 +00:00
Alexey Semenyuk
0ca2bfd779 8311104: dangling-gsl warning in libwixhelper.cpp
Reviewed-by: almatvee
2023-07-27 16:07:54 +00:00
Thomas Obermeier
c05ba48b60 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs, clanger
2023-07-27 15:45:20 +00:00
Kevin Walls
169b6e3cff 8313174: Create fewer predictable port clashes in management tests
Reviewed-by: cjplummer, amenkov
2023-07-27 15:40:13 +00:00
Roger Riggs
8650026ff1 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: bpb, scolebourne, prappo, naoto
2023-07-27 14:01:25 +00:00
Thomas Stuefe
25058cd23a 8312620: WSL Linux build crashes after JDK-8310233
Reviewed-by: dholmes, djelinski
2023-07-27 13:45:36 +00:00
Richard Reingruber
8661b8e115 8312495: assert(0 <= i && i < _len) failed: illegal index after JDK-8287061 on big endian platforms
Reviewed-by: clanger, kvn, dlong
2023-07-27 13:40:23 +00:00
Jaikiran Pai
486c7844f9 8312433: HttpClient request fails due to connection being considered idle and closed
Reviewed-by: djelinski
2023-07-27 12:14:14 +00:00
Gergö Barany
271417a0e1 8312579: [JVMCI] JVMCI support for virtual Vector API objects
Reviewed-by: dnsimon, never
2023-07-27 10:48:18 +00:00
Andreas Steiner
44576a7cca 8312466: /bin/nm usage in AIX makes needs -X64 flag
Reviewed-by: mbaesken, stuefe, jwaters
2023-07-27 10:37:40 +00:00
Doug Simon
86821a7ce8 8312235: [JVMCI] ConstantPool should not force eager resolution
Reviewed-by: never, matsaave
2023-07-27 08:39:32 +00:00
Eric Nothum
7cbab1f396 8312218: Print additional debug information when hitting assert(in_hash)
Reviewed-by: chagedorn, thartmann
2023-07-27 07:29:23 +00:00
Roland Westrelin
01e135c910 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Reviewed-by: chagedorn, kvn, thartmann
2023-07-27 07:24:46 +00:00
Matthias Baesken
b7545a69a2 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Reviewed-by: stuefe
2023-07-27 07:06:32 +00:00
Sean Coffey
36d578cddb 8311653: Modify -XshowSettings launcher behavior
Reviewed-by: mchung, rriggs
2023-07-27 06:33:27 +00:00
Paul Hohensee
a9d21c61fb 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Reviewed-by: dholmes, sspitsyn, shade
2023-07-26 19:30:21 +00:00
Rajan Halade
4c2e54fb05 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mullan
2023-07-26 16:55:29 +00:00
John Jiang
830413f19a 8313087: DerValue::toString should output a hex view of the values in byte array
Reviewed-by: mullan
2023-07-26 15:16:52 +00:00
Brian Burkhalter
74121930e3 4800398: (ch spec) Clarify Channels.newChannel(InputStream) spec
Reviewed-by: alanb
2023-07-26 15:07:18 +00:00
Christian Stein
e7726fbd69 8313155: Problem list some JUnit-based tests in test/jdk/java/lang/invoke
Reviewed-by: dholmes, jpai
2023-07-26 13:42:10 +00:00
Hannes Wallnöfer
02a04731b1 8312445: Array types in annotation elements show square brackets twice
Reviewed-by: prappo
2023-07-26 13:04:39 +00:00
Erik Gahlin
c22cadf32f 8312526: Test dk/jfr/event/oldobject/TestHeapDeep.java failed: Could not find ChainNode
Reviewed-by: mgronlun
2023-07-26 10:47:25 +00:00
Jan Lahoda
cc2a75e11c 8312619: Strange error message when switching over long
Reviewed-by: vromero
2023-07-26 10:35:15 +00:00
Jan Lahoda
1f81e5b19e 8312229: Crash involving yield, switch and anonymous classes
Reviewed-by: vromero
2023-07-26 09:44:50 +00:00
Jaikiran Pai
e9daf4a018 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Reviewed-by: kevinw, cjplummer, dholmes
2023-07-26 07:34:52 +00:00
Thomas Stuefe
117f42dbe9 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: kevinw, dholmes
2023-07-26 05:46:13 +00:00
Coleen Phillimore
2d05d3545c 8312979: Fix assembler_aarch64.hpp after JDK-8311847
Reviewed-by: dlong
2023-07-25 21:33:54 +00:00
Vladimir Petko
78a8a99d99 8312488: tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Reviewed-by: asemenyuk, almatvee
2023-07-25 20:12:23 +00:00
Joe Darcy
cb82c954e3 8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies
Reviewed-by: jjg, jlahoda
2023-07-25 18:57:32 +00:00
Justin Lu
c6396dceb9 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto
2023-07-25 18:26:23 +00:00
Jiangli Zhou
36f3bae556 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Reviewed-by: dholmes, coleenp, iklam
2023-07-25 16:37:51 +00:00
Anthony Scarpino
e554fdee25 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Reviewed-by: hchao, valeriep
2023-07-25 15:48:31 +00:00
Doug Simon
9606cbcd23 8312524: [JVMCI] serviceability/dcmd/compiler/CompilerQueueTest.java fails
Reviewed-by: never, thartmann
2023-07-25 13:12:42 +00:00
Jaikiran Pai
91fe032327 8312818: Incorrect format specifier in a HttpClient log message
Reviewed-by: djelinski
2023-07-25 11:00:33 +00:00
Matthias Baesken
bd098806f7 8312512: sspi.cpp avoid some NULL checks related to free and delete
Reviewed-by: djelinski
2023-07-25 10:56:23 +00:00
Erik Gahlin
b35ccb27c3 8312533: JFR: No message for JFR.view when data is missing
Reviewed-by: mgronlun
2023-07-25 09:58:29 +00:00
Aleksey Shipilev
ea067fc3d2 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Reviewed-by: prr, serb
2023-07-25 08:46:12 +00:00
Chad Rakoczy
9999838156 8311646: ZGC: LIR_OpZStoreBarrier::_info shadows LIR_Op::_info
Reviewed-by: kbarrett, eosterlund, ksakata
2023-07-25 06:04:42 +00:00
John Jiang
d63bff672f 8312578: Redundant javadoc in X400Address
Reviewed-by: xuelei, hchao
2023-07-24 22:12:28 +00:00
Dean Long
d0761c19d1 8312077: Fix signed integer overflow, final part
Reviewed-by: kvn, amitkumar
2023-07-24 20:40:08 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Ioi Lam
8008e27c55 8308903: Print detailed info for Java objects in -Xlog:cds+map
Reviewed-by: stuefe, ccheung
2023-07-24 17:56:42 +00:00
Sergey Tsypanov
d8f2e9ae3b 8310530: PipedOutputStream.flush() accesses sink racily
Reviewed-by: dfuchs, bpb, liach, rriggs
2023-07-24 16:24:40 +00:00
sunyaqi
fac9f88c52 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk, almatvee
2023-07-24 16:22:57 +00:00
Varada M
d5c6b0d0bb 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Reviewed-by: stuefe
2023-07-24 15:35:22 +00:00
Per Minborg
d1cc278260 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: jvernee
2023-07-24 15:00:47 +00:00
Erik Gahlin
3caf64e065 8309238: jdk/jfr/tool/TestView.java failed with "exitValue = 134"
Reviewed-by: mgronlun
2023-07-24 14:32:17 +00:00
Michael McMahon
298dda4c98 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Reviewed-by: aefimov, msheppar
2023-07-24 14:13:44 +00:00
Coleen Phillimore
7dd47998f0 8311847: Fix -Wconversion for assembler.hpp emit_int8,16 callers
Reviewed-by: dlong, aph
2023-07-24 12:09:27 +00:00
Prasanta Sadhukhan
197981b431 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Reviewed-by: azvegint, tr
2023-07-24 09:22:14 +00:00
Eric Nothum
04f39e1f1e 8310316: Failing HotSpot Compiler directives are too verbose
Reviewed-by: thartmann, chagedorn
2023-07-24 09:17:09 +00:00
Terry Chow
f3ade388da 8308593: Add Keepalive Extended Socket Options Support for Windows
Reviewed-by: michaelm, djelinski, vtewari
2023-07-24 09:03:10 +00:00
Tejesh R
ab821aa24f 6442919: JFilechooser popup still left-to-right when JFilechooser is set to right-to-left
Reviewed-by: serb, abhiscxk
2023-07-24 08:23:05 +00:00
Andreas Steiner
0328886450 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Reviewed-by: stuefe, mbaesken, clanger, vtewari
2023-07-24 06:24:00 +00:00
Thomas Stuefe
0487aa61c6 8312530: Problemlist runtime/os/TestTrimNative.java
Reviewed-by: dcubed
2023-07-23 06:33:15 +00:00
Doug Lea
8d1ab57065 8301341: LinkedTransferQueue does not respect timeout for poll()
8300663: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=true i=0 j=1"
8267502: JDK-8246677 caused 16x performance regression in SynchronousQueue

Reviewed-by: alanb
2023-07-22 10:41:42 +00:00
William Kemper
bfa76dffb5 8311978: Shenandoah: Create abstraction over heap metrics for heuristics
Reviewed-by: ysr, phh, shade
2023-07-21 21:47:20 +00:00
Jonathan Gibbons
3c644dc586 8312044: Simplify toolkit Builder/Writer world
Reviewed-by: prappo
2023-07-21 18:51:06 +00:00
Andrey Turbanov
f4ba7b2198 8312414: Make java.util.ServiceLoader.LANG_ACCESS final
Reviewed-by: alanb, jpai
2023-07-21 16:49:37 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Matthew Donovan
8042a50b99 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: djelinski
2023-07-21 14:45:59 +00:00
Thomas Stuefe
84b325b844 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Reviewed-by: dholmes, poonam
2023-07-21 14:19:57 +00:00
Jaikiran Pai
842d6329cf 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
Reviewed-by: alanb, cjplummer, dholmes
2023-07-21 12:58:20 +00:00
Thomas Stuefe
9e4fc568a6 8293114: JVM should trim the native heap
Reviewed-by: shade, rehn, dholmes
2023-07-21 12:22:03 +00:00
Markus Grönlund
59f66a3b83 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
2023-07-21 12:21:35 +00:00
Erik Gahlin
8cd43bff3c 8312474: JFR: Improve logging to diagnose event stream timeout
Reviewed-by: mgronlun
2023-07-21 08:09:52 +00:00
Ashutosh Mehra
3e8f1eb820 8311976: Inconsistency in usage of CITimeVerbose to generate compilation logs
Reviewed-by: kvn, thartmann
2023-07-21 05:25:31 +00:00
Eric Liu
d4aacdb446 8306136: [vectorapi] Intrinsics of VectorMask.laneIsSet()
Reviewed-by: psandoz, xgong
2023-07-21 03:26:30 +00:00
Serguei Spitsyn
783de32b6a 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: dholmes, pchilanomate
2023-07-20 22:40:18 +00:00
John Jiang
4e8f331a80 8312443: sun.security should use toLowerCase(Locale.ROOT)
Reviewed-by: xuelei
2023-07-20 21:48:19 +00:00
Mandy Chung
d7b9416406 8199149: Improve the exception message thrown by VarHandle of unsupported operation
Reviewed-by: liach, jvernee
2023-07-20 20:21:32 +00:00
Daniel Jeliński
354c6605e3 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb, valeriep
2023-07-20 16:39:17 +00:00
Naoto Sato
bae2247938 8308591: JLine as the default Console provider
Reviewed-by: alanb
2023-07-20 16:11:13 +00:00
Matthias Baesken
b772e67e29 8312395: Improve assertions in growableArray
Reviewed-by: dholmes, stuefe
2023-07-20 15:06:59 +00:00
Pavel Rappo
9fa944e63f 8312019: Simplify and modernize java.util.BitSet.equals
Reviewed-by: rriggs, martin
2023-07-20 13:54:45 +00:00
Alexander Zvegintsev
fe41910141 8312459: Problem list java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java for macOS
Reviewed-by: psadhukhan
2023-07-20 13:36:45 +00:00
Matthew Donovan
8d29329138 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Reviewed-by: xuelei, jpai
2023-07-20 11:07:23 +00:00
Thomas Stuefe
94eb44b192 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Reviewed-by: dholmes, shade
2023-07-20 10:23:35 +00:00
Pengfei Li
32833285bf 8311130: AArch64: Sync SVE related CPU features with VM options
Reviewed-by: aph, xgong
2023-07-20 09:35:45 +00:00
Sergey Nazarkin
a7427678e1 8312246: NPE when HSDB visits bad oop
Reviewed-by: cjplummer, sspitsyn
2023-07-20 09:21:23 +00:00
Wojciech Kudla
37c756a7be 8305506: Add support for fractional values of SafepointTimeoutDelay
Reviewed-by: mdoerr, dholmes
2023-07-20 05:10:39 +00:00
airsquared
dfe764e3f8 8309032: jpackage does not work for module projects unless --module-path is specified
Reviewed-by: asemenyuk, almatvee
2023-07-20 02:14:19 +00:00
Joe Darcy
61ab27087e 8310835: Address gaps in -Xlint:serial checks
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Chen Liang
5d57b5c2f0 6983726: Reimplement MethodHandleProxies.asInterfaceInstance
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: jvernee, mchung
2023-07-20 00:59:28 +00:00
Justin Lu
71cac8ce47 8311663: Additional refactoring of Locale tests to JUnit
Reviewed-by: naoto
2023-07-19 20:22:40 +00:00
Daohan Qu
aa23fd98f5 8311879: SA ClassWriter generates invalid invokedynamic code
Reviewed-by: matsaave, cjplummer, coleenp
2023-07-19 19:25:40 +00:00
Sidraya
6f6621303a 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: stuefe, amitkumar, tsteele
2023-07-19 18:49:24 +00:00
Pavel Rappo
b5b6f4e7a7 8312164: Refactor Arrays.hashCode for long, boolean, double, float, and Object arrays
Reviewed-by: rriggs, vtewari
2023-07-19 17:21:19 +00:00
Raffaello Giulietti
14cf035681 8302987: Add uniform and spatially equidistributed bounded double streams to RandomGenerator
Reviewed-by: darcy
2023-07-19 16:48:54 +00:00
Thomas Stuefe
d1c788c52b 8312392: ARM32 build broken since 8311035
Reviewed-by: shade
2023-07-19 16:14:25 +00:00
Ashutosh Mehra
c1190375fc 8311971: SA's ConstantPool.java uses incorrect computation to read long value in the constant pool
Reviewed-by: cjplummer, dholmes, stuefe
2023-07-19 14:24:16 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Gui Cao
e7adbdb1f1 8311923: TestIRMatching.java fails on RISC-V
Reviewed-by: fyang
2023-07-19 13:14:03 +00:00
Roland Westrelin
c6ab9c2905 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Reviewed-by: kvn, thartmann, chagedorn
2023-07-19 11:31:49 +00:00
Johan Sjölen
d33e8e6f93 8312200: Fix Parse::catch_call_exceptions memory leak
Reviewed-by: kvn, thartmann
2023-07-19 09:03:53 +00:00
Daniel Jeliński
f677793d02 8312190: Fix c++11-narrowing warnings in hotspot code
Reviewed-by: dholmes, kbarrett
2023-07-19 07:49:52 +00:00
Jie Fu
82612e2725 8312329: Minimal build failure after JDK-8311541
Reviewed-by: dholmes, amitkumar
2023-07-19 04:58:22 +00:00
Julian Waters
702fea8deb 8312147: Dynamic Exception Specification warnings are no longer required after JDK-8311380
Reviewed-by: prr, serb
2023-07-19 00:44:43 +00:00
Joe Darcy
e5ecbff69e 8312203: Improve specification of Array.newInstance
Reviewed-by: bpb, mchung
2023-07-18 22:40:12 +00:00
David Holmes
c2f421b8bf 8311541: JavaThread::print_jni_stack doesn't support native stacks on all platforms
Reviewed-by: pchilanomate, shade, stuefe
2023-07-18 22:04:37 +00:00
Sergey Bylokhov
e31df3a774 6211126: ICC_ColorSpace.toCIEXYZ(float[]): NPE is not specified
6211139: ICC_ColorSpace.toRGB(float[]): NPE is not specified

Reviewed-by: prr
2023-07-18 21:51:11 +00:00
Sergey Bylokhov
7d9f5afea1 6211202: ColorSpace.getInstance(int): IAE is not specified
Reviewed-by: prr
2023-07-18 21:46:02 +00:00
Valerie Peng
28c4d196cf 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: ascarpino, xuelei, mullan
2023-07-18 21:35:41 +00:00
Christian Hagedorn
5c4623b360 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-18 21:17:09 +00:00
Jan Lahoda
cb5f1b72e1 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-18 21:17:09 +00:00
Calvin Cheung
925138a942 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-18 21:17:08 +00:00
Brian Burkhalter
889c663a0e 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:17:08 +00:00
Ioi Lam
be70bc1c58 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-18 21:17:08 +00:00
Hai-May Chao
ecd0bc1d62 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:17:08 +00:00
Lance Andersen
fff7e1ad00 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:17:07 +00:00
Michael McMahon
4ae3d8f2cd 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:17:07 +00:00
Tobias Hartmann
34dbb22505 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Tobias Hartmann
5e47b8e5e6 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Jamil Nimeh
282a93a4cc 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-18 21:17:06 +00:00
Alex Menkov
af5bf81754 8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Reviewed-by: sspitsyn, dholmes
2023-07-18 20:16:41 +00:00
Mandy Chung
b4dce0d624 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: liach, rriggs, bchristi
2023-07-18 16:07:35 +00:00
Markus Grönlund
9905f75822 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
2023-07-18 16:00:30 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Aggelos Biboudis
1fc726a8b3 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
2023-07-18 11:41:36 +00:00
Matthew Donovan
b20dc1e9cd 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Reviewed-by: jnimeh
2023-07-18 10:45:41 +00:00
Hao Sun
4b9ec82451 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Reviewed-by: mseledtsov, lmesnik
2023-07-18 05:58:31 +00:00
Jaikiran Pai
8ec136e6f0 8312072: Deprecate for removal the -Xnoagent option
Reviewed-by: alanb, dholmes, cjplummer
2023-07-18 05:41:37 +00:00
Alan Bateman
fbe51e388d 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: shade, bpb
2023-07-18 05:13:14 +00:00
Chen Liang
201e3bcf52 8291065: Creating a VarHandle for a static field triggers class initialization
Reviewed-by: mchung, psandoz
2023-07-18 00:58:25 +00:00
Cesar Soares Lucas
a53345ad03 8287061: Support for rematerializing scalar replaced objects participating in allocation merges
Reviewed-by: kvn, vlivanov
2023-07-17 23:01:35 +00:00
Serguei Spitsyn
3236ba0be4 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: dholmes
2023-07-17 22:50:25 +00:00
Pavel Rappo
5cc71f817f 8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Justin Lu
6a09992dbd 8311968: Clarify Three-letter time zone IDs in java.util.TimeZone
Reviewed-by: naoto, lancea
2023-07-17 21:00:49 +00:00
Anthony Scarpino
6ae152d1be 8312196: ProblemList test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java
Reviewed-by: darcy
2023-07-17 20:37:40 +00:00
Joe Darcy
295ae1190d 8312195: Changes in JDK-8284493 use wrong copyright syntax
Reviewed-by: rriggs
2023-07-17 19:44:08 +00:00
Chris Hennick
f975be44a8 8284493: Improve computeNextExponential tail performance and accuracy
Reviewed-by: darcy
2023-07-17 19:19:13 +00:00
Anthony Scarpino
e737968792 8308398: Move SunEC crypto provider into java.base
Reviewed-by: valeriep, alanb
2023-07-17 17:38:54 +00:00
Jorn Vernee
69a46c25cc 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Reviewed-by: mcimadamore
2023-07-17 14:53:37 +00:00
Chen Liang
3fb9d117e3 8311172: Classfile.PREVIEW_MINOR_VERSION doesn't match that read from class files
Reviewed-by: asotona
2023-07-17 11:53:32 +00:00
Matthew Donovan
afcf8e4751 8290005: com/sun/jndi/ldap/LdapCBPropertiesTest.java failling with NullPointerException
Reviewed-by: jnimeh, xuelei
2023-07-17 11:16:19 +00:00
Prasanta Sadhukhan
acf591e856 8140527: JInternalFrame has incorrect title button width
8139392: JInternalFrame has incorrect padding

Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, tr
2023-07-17 08:40:10 +00:00
Sean Coffey
f6e23ae451 8310201: Reduce verbose locale output in -XshowSettings launcher option
Reviewed-by: jpai
2023-07-17 08:28:16 +00:00
Jan Lahoda
a4412166ec 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-17 08:19:51 +00:00
Jan Lahoda
1c9691b1f7 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey
2023-07-17 06:43:16 +00:00
Thomas Stuefe
37ca9024ef 8310233: Fix THP detection on Linux
Reviewed-by: jsjolen, dholmes
2023-07-17 04:56:10 +00:00
Jaikiran Pai
81c4e8f916 8304006: jlink should create the jimage file in the native endian for the target platform
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: alanb, mchung, rriggs
2023-07-16 07:11:39 +00:00
Ludovic Henry
e8f66bf88c 8310949: RISC-V: Initialize UseUnalignedAccesses
Reviewed-by: rehn, vkempik, fyang
2023-07-15 06:50:21 +00:00
Joe Darcy
19691fab48 6361826: (reflect) provide method for mapping strings to class object for primitive types
Reviewed-by: rriggs, mchung
2023-07-14 20:18:23 +00:00
Chris Plummer
c84866ac0d 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: kevinw, sspitsyn
2023-07-14 18:39:34 +00:00
Alan Bateman
0d2196f8e5 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Reviewed-by: jpai
2023-07-14 16:01:26 +00:00
Ilya Gavrilin
f3b96f6937 8311862: RISC-V: small improvements to shift immediate instructions
Reviewed-by: luhenry, fjiang, fyang
2023-07-14 14:32:40 +00:00
Doug Simon
a63f865feb 8311946: add support for libgraal specific jtreg tests
Reviewed-by: kvn, thartmann
2023-07-14 14:10:10 +00:00
Leslie Zhai
167d1c1835 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Reviewed-by: jiefu, stuefe, shade
2023-07-14 13:54:46 +00:00
Markus Grönlund
7539cc092d 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin, thartmann
2023-07-14 10:46:49 +00:00
Jan Lahoda
d1fa1a8686 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
2023-07-14 09:54:56 +00:00
Thomas Stuefe
4676b40f17 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: dnsimon, dholmes
2023-07-14 08:49:05 +00:00
Jan Lahoda
bbb7ce5137 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-14 08:21:48 +00:00
Sean Coffey
2e12a123c9 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: rriggs, mullan
2023-07-14 07:31:09 +00:00
Jenny Shivayogi
43099a85b1 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: phh, shade, jlahoda
2023-07-13 22:09:21 +00:00
Liam Miller-Cushon
c7c6d47a07 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Reviewed-by: prr, serb
2023-07-13 19:36:36 +00:00
Matthew Donovan
af7f95e24a 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Reviewed-by: jnimeh
2023-07-13 17:52:27 +00:00
Ashutosh Mehra
c710e71178 8311102: Write annotations in the classfile dumped by SA
Reviewed-by: cjplummer, stuefe
2023-07-13 17:14:30 +00:00
Markus Grönlund
61932f49a5 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
2023-07-13 16:50:16 +00:00
Viktor Klang
8c9d091f19 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Reviewed-by: stefank, alanb
2023-07-13 14:25:50 +00:00
Matthias Baesken
b587fc51a8 8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX
Reviewed-by: alanb, vtewari
2023-07-13 14:02:52 +00:00
Coleen Phillimore
135f64e603 8311583: tableswitch broken by JDK-8310577
Reviewed-by: dholmes, dlong
2023-07-13 13:20:52 +00:00
Markus Grönlund
6895debf66 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin, mseledtsov
2023-07-13 12:13:44 +00:00
Leo Korinth
bb5278d98a 8311239: GC: Remove trailing blank lines in source files
Reviewed-by: tschatzl, aboldtch, mli
2023-07-13 08:53:36 +00:00
Alan Bateman
92a04e201e 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
2023-07-13 07:33:01 +00:00
Erik Gahlin
f60c1f9bc4 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
2023-07-13 07:27:16 +00:00
Yudi Zheng
1b0dd7c254 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Reviewed-by: dnsimon, iklam
2023-07-13 07:20:18 +00:00
Matthias Baesken
a38a421f62 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
2023-07-13 07:11:14 +00:00
Matthias Baesken
812dadb0f9 8311788: ClassLoadUnloadTest fails on AIX after JDK-8193513
Reviewed-by: lucy, stuefe
2023-07-13 07:05:57 +00:00
Serguei Spitsyn
11a5115caf 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: lmesnik, cjplummer
2023-07-13 01:55:37 +00:00
Pengfei Li
a38582e941 8311691: C2: Remove legacy code related to PostLoopMultiversioning
Reviewed-by: kvn, sviswanathan
2023-07-13 01:45:52 +00:00
David Holmes
38f74125d1 8311609: [windows] Native stack printing lacks source information for dynamically loaded dlls
Reviewed-by: stuefe, iklam
2023-07-13 01:21:06 +00:00
Jonathan Gibbons
e51472e9a8 8309566: Migrate away from TagletWriter and TagletWriterImpl
8311974: Clean up Utils.getBlockTags

Reviewed-by: prappo
2023-07-13 01:03:52 +00:00
Julian Waters
fb90af881b 8311380: Prepare java.desktop for C++17
Reviewed-by: azvegint
2023-07-13 00:58:51 +00:00
Stuart Marks
743e8b8e0a 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: psandoz
2023-07-12 23:45:42 +00:00
David Holmes
372d0cf752 8311545: Allow test symbol files to be kept in the test image
Reviewed-by: mikael
2023-07-12 23:01:54 +00:00
Chad Rakoczy
489a32fe40 8311813: C1: Uninitialized PhiResolver::_loop field
Reviewed-by: thartmann, shade
2023-07-12 19:24:18 +00:00
Rajan Halade
119cc495fc 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
2023-07-12 18:15:20 +00:00
Brian Burkhalter
ed9337e665 8155902: DataOuputStream should clarify that it might write primitive types as multiple byte groups
Reviewed-by: alanb, djelinski, lancea, rriggs
2023-07-12 18:14:56 +00:00
Stuart Marks
f82c8184b2 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: rriggs
2023-07-12 16:10:41 +00:00
Alan Bateman
7304316a8c 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Reviewed-by: jpai
2023-07-12 15:44:41 +00:00
Matthias Baesken
aa7367f1ec 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Reviewed-by: jbechberger, stuefe
2023-07-12 10:39:28 +00:00
Thomas Stuefe
753bd563ec 8311870: Split CompressedKlassPointers from compressedOops.hpp
Reviewed-by: iklam, rkennke
2023-07-12 09:06:53 +00:00
Chad Rakoczy
0b0e064e36 8311656: Shenandoah: Unused ShenandoahSATBAndRemarkThreadsClosure::_claim_token
Reviewed-by: ysr, shade
2023-07-12 07:29:52 +00:00
Rajan Halade
fd7fddb6ed 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: xuelei, mullan
2023-07-11 23:53:40 +00:00
Justin Lu
d82ade3545 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: naoto
2023-07-11 20:43:03 +00:00
Alexey Ivanov
aac903dbfb 8311805: Clean up ScrollPane: drop redundant initialiser, mark scroller final
Reviewed-by: azvegint, serb, prr
2023-07-11 19:41:42 +00:00
Alex Menkov
15195e6018 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Reviewed-by: sspitsyn, cjplummer
2023-07-11 17:31:21 +00:00
Justin Lu
6cb9ec32a6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto
2023-07-11 17:12:02 +00:00
Jenny Shivayogi
401c3dea5d 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: shade, simonis, alanb, rriggs
2023-07-11 16:55:23 +00:00
Jiangli Zhou
e154b0d6cd 8311606: Change read_icc_profile() to static function in java.desktop/share/native/libjavajpeg/imageioJPEG.c
Reviewed-by: serb
2023-07-11 16:53:44 +00:00
Swati Sharma
a03a3a43bb 8311178: JMH tests don't scale well when sharing output buffers
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli
2023-07-11 16:14:33 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Roland Westrelin
caadad4fdc 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: kvn, vlivanov, thartmann, simonis
2023-07-11 15:59:17 +00:00
Alexey Ivanov
b3f34039fe 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: prr, honkar, serb
2023-07-11 13:43:15 +00:00
Erik Gahlin
a1cfc96954 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
2023-07-11 11:03:36 +00:00
Hao Sun
4b1403d06b 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: aboldtch, fyang, kbarrett, tschatzl
2023-07-10 22:00:31 +00:00
Eirik Bjorsnos
940a4e12d1 8304503: Modernize debugging jvm args in demo netbeans projects
Reviewed-by: prr
2023-07-10 21:48:03 +00:00
Patricio Chilano Mateo
57e7e82fa1 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: dholmes, coleenp
2023-07-10 19:09:27 +00:00
Naoto Sato
63f32fbe97 8311528: Remove IDE specific SuppressWarnings
Reviewed-by: lancea, bpb, jlu
2023-07-10 17:07:26 +00:00
Liam Miller-Cushon
b285ed72ae 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Reviewed-by: prr
2023-07-10 16:13:06 +00:00
Maurizio Cimadamore
6569b252b9 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
2023-07-10 15:04:21 +00:00
Alan Bateman
623cfcd04b 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: dfuchs, jpai
2023-07-10 12:33:29 +00:00
Christian Hagedorn
06a1a15d01 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Reviewed-by: thartmann
2023-07-10 07:44:16 +00:00
Ioi Lam
581f90e242 8311604: Simplify NOCOOPS requested addresses for archived heap objects
Reviewed-by: ccheung
2023-07-09 15:18:46 +00:00
Doug Simon
4a1fcb6063 8193513: add support for printing a stack trace on class loading
Reviewed-by: dholmes, iklam, coleenp
2023-07-08 07:56:28 +00:00
Leonid Mesnik
292ee630ae 8305962: update jcstress to 0.16
Reviewed-by: shade
2023-07-07 19:14:17 +00:00
Justin Lu
12e9430910 8310818: Refactor more Locale tests to use JUnit
Reviewed-by: lancea, naoto
2023-07-07 19:12:13 +00:00
Kevin Driver
5667afc362 8295068: SSLEngine throws NPE parsing CertificateRequests
Reviewed-by: xuelei
2023-07-07 16:55:26 +00:00
Daniel Jeliński
34004e1666 8311575: Fix invalid format parameters
Reviewed-by: dholmes, kbarrett, mli
2023-07-07 12:14:16 +00:00
Daohan Qu
9084b6c9d5 8311514: Incorrect regex in TestMetaSpaceLog.java
Reviewed-by: stuefe
2023-07-07 11:49:29 +00:00
Matthias Baesken
0ef03f1228 8311285: report some fontconfig related environment variables in hs_err file
Reviewed-by: clanger, stuefe
2023-07-07 10:27:51 +00:00
Johan Sjölen
92ca670bf3 8310170: Use sp's argument to improve performance of outputStream::indent and remove SP_USE_TABS
Reviewed-by: shade, dholmes, stuefe
2023-07-07 09:24:30 +00:00
Matthias Baesken
25cbe85d6f 8310550: Adjust references to rt.jar
Reviewed-by: erikj, clanger
2023-07-07 06:57:23 +00:00
Matthias Baesken
848abd2831 8311511: Improve description of NativeLibrary JFR event
Reviewed-by: clanger, jbechberger
2023-07-07 06:55:32 +00:00
Prasanta Sadhukhan
6485b7d0d3 6875229: Wrong placement of icons in JTabbedPane in Nimbus
Reviewed-by: honkar, abhiscxk, dnguyen, jdv
2023-07-07 02:55:42 +00:00
Daohan Qu
27de536b40 8311581: Remove obsolete code and comments in TestLVT.java
Reviewed-by: coleenp, jwaters
2023-07-07 01:43:44 +00:00
Justin Lu
e848d9471f 8310923: Refactor Currency tests to use JUnit
Reviewed-by: naoto, lancea
2023-07-07 01:32:59 +00:00
Patricio Chilano Mateo
0c86c31bcc 8302351: "assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite
Reviewed-by: dcubed, sspitsyn, dlong
2023-07-06 19:15:45 +00:00
Oliver Kopp
ec7da91bd8 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: mchung
2023-07-06 16:08:36 +00:00
Johan Sjölen
97e99f01d4 8311087: PhiNode::wait_for_region_igvn should break early
Reviewed-by: thartmann, chagedorn
2023-07-06 12:27:13 +00:00
Aleksey Shipilev
7173c3009e 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: dholmes, stuefe
2023-07-06 10:38:34 +00:00
Daniel Jeliński
356067d03f 8311489: Remove unused dirent_md files
Reviewed-by: bpb
2023-07-06 10:24:47 +00:00
Daniel Jeliński
3d813ae39f 8311301: MethodExitTest may fail with stack buffer overrun
Reviewed-by: kevinw, dholmes, cjplummer, sspitsyn
2023-07-06 08:52:28 +00:00
Hannes Wallnöfer
0741cd3289 8311264: JavaDoc index comparator is not transitive
Reviewed-by: jjg
2023-07-06 07:08:20 +00:00
Christian Hagedorn
edb2be10fb 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Reviewed-by: thartmann
2023-07-06 06:32:05 +00:00
Naoto Sato
d072c40ff1 8311183: Remove unused mapping test files
Reviewed-by: lancea, bpb
2023-07-05 23:27:36 +00:00
Joakim Nordström
66d2736521 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: egahlin
2023-07-05 22:26:57 +00:00
Thomas Stuefe
0616648c59 8311035: CDS should not use dump time JVM narrow Klass encoding to pre-compute Klass ids
Reviewed-by: iklam
2023-07-05 19:51:27 +00:00
Roger Riggs
6eba096ca2 8310999: Add @since info in jdk.jsobject files
Reviewed-by: lancea, joehw, bpb, iris, prr
2023-07-05 18:21:48 +00:00
Jatin Bhateja
6ebb0e3bd4 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: thartmann, chagedorn
2023-07-05 15:37:38 +00:00
Pavel Rappo
2cffef2120 8311290: Improve java.lang.ref.Cleaner rendered documentation
Reviewed-by: rriggs
2023-07-05 14:10:44 +00:00
Coleen Phillimore
22e17c29a2 8311180: Remove unused unneeded definitions from globalDefinitions
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: dholmes, aboldtch
2023-07-05 12:37:38 +00:00
Coleen Phillimore
cf82e3152b 8311077: Fix -Wconversion warnings in jvmti code
Reviewed-by: fparain, matsaave, dholmes
2023-07-05 12:30:07 +00:00
Conor Cleary
00ac46c06d 8310645: CancelledResponse.java does not use HTTP/2 when testing the HttpClient
Reviewed-by: dfuchs
2023-07-05 11:04:10 +00:00
Jatin Bhateja
d6578bff1c 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: sviswanathan, xgong, thartmann
2023-07-05 05:46:24 +00:00
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Darragh Clarke
607ddaa0e6 8310997: missing @since tags in jdk.httpserver
Reviewed-by: dfuchs
2023-07-04 12:19:44 +00:00
Darragh Clarke
7655b487da 8311001: missing @since info in jdk.net
Reviewed-by: dfuchs
2023-07-04 12:19:23 +00:00
Aleksey Shipilev
711cddd899 8311249: Remove unused MemAllocator::obj_memory_range
Reviewed-by: tschatzl
2023-07-04 09:01:47 +00:00
Sidraya Jayagond
514816ed7d 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Reviewed-by: amitkumar, lucy
2023-07-04 04:35:18 +00:00
Xiaohong Gong
60544f9088 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: epeter, chagedorn
2023-07-04 01:35:03 +00:00
Vladimir Petko
0916e6a603 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
2023-07-03 22:25:20 +00:00
Harshitha Onkar
d8a012161a 8311109: tautological-compare warning in awt_Win32GraphicsDevice.cpp
Reviewed-by: aivanov
2023-07-03 20:43:17 +00:00
Mandy Chung
b9198f9931 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: dholmes, darcy
2023-07-03 16:04:35 +00:00
Axel Boldt-Christmas
f393975d1b 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: stefank, ayang
2023-07-03 14:06:58 +00:00
Erik Gahlin
ba974d5c62 8310661: JFR: Replace JVM.getJVM() with JVM
Reviewed-by: mgronlun
2023-07-03 12:19:57 +00:00
Leo Korinth
496f94b488 8311086: Remove jtreg/gc/startup_warnings
Reviewed-by: ayang, mli, kbarrett, tschatzl
2023-07-03 11:11:05 +00:00
Renjith Kannath Pariyangad
9d2e0b2a80 8307934: JRobot.moveMouseTo must access component on EDT
Reviewed-by: aivanov
2023-07-03 10:32:47 +00:00
Darragh Clarke
87c79c0801 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Reviewed-by: alanb, dfuchs
2023-07-03 10:03:54 +00:00
Daohan Qu
8e0ca8e05c 8310331: JitTester: Exclude java.lang.Math.random
Reviewed-by: thartmann, chagedorn
2023-07-03 08:59:35 +00:00
Daniel Jeliński
055b4b426c 8310948: Fix ignored-qualifiers warning in Hotspot
Reviewed-by: kbarrett, dholmes
2023-07-03 07:51:38 +00:00
Emanuel Peter
2c29705d7b 8309660: C2: failed: XMM register should be 0-15 (UseKNLSetting and ConvF2HF)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: sviswanathan, jbhateja
2023-07-03 06:50:16 +00:00
David Holmes
52ee570025 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: aph, thartmann
2023-07-03 04:23:58 +00:00
Robbin Ehn
faf1b822d0 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, stuefe, fyang
2023-07-02 16:15:28 +00:00
Daniel D. Daugherty
0e3d91dc21 8311215: [BACKOUT] JDK-8047998 Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: jiefu
2023-07-01 15:55:29 +00:00
Daohan Qu
09a4924015 8311145: Remove check_with_errno duplicates
Reviewed-by: rehn, stuefe
2023-07-01 08:45:24 +00:00
Guoxiong Li
8abb9f590f 8047998: Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: ayang, tschatzl
2023-07-01 08:01:22 +00:00
Xin Liu
d2e1159300 8311125: Remove unused parameter 'phase' in AllocateNode::Ideal_allocation
Reviewed-by: chagedorn, kvn
2023-07-01 07:25:26 +00:00
Chen Liang
8c8e9d911d 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
2023-06-30 23:37:53 +00:00
Daniel D. Daugherty
140b70fb29 8311186: ProblemList javax/management/remote/mandatory/subjectDelegation/SubjectDelegation1Test.java on linux-aarch64
8311189: disable gc/z/TestHighUsage.java
8311190: ProblemList javax/management/remote/mandatory/connection/DeadLockTest.java with virtual threads on windows-x64
8311191: ProblemList javax/management/remote/mandatory/connection/ConnectionTest.java with virtual threads on windows-x64
8311193: ProblemList vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java on linux-all
8311195: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java with Xcomp on macosx-x64

Reviewed-by: lmesnik
2023-06-30 21:43:09 +00:00
Serguei Spitsyn
971c2efb69 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate, cjplummer, lmesnik
2023-06-30 20:58:15 +00:00
Doug Simon
f6bdccb45c 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: never, kvn
2023-06-30 20:10:24 +00:00
Joe Darcy
456bf115aa 8310173: Update --release 21 symbol information for JDK 21 build 29
Reviewed-by: iris
2023-06-30 19:11:40 +00:00
Kevin Walls
19601ebe91 8310993: Missing @since tags in jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-06-30 17:49:56 +00:00
Daniel Fuchs
e8ff74c7e8 8310987: Missing @since tag(s) in java/util/logging/ErrorManager.java
Reviewed-by: lancea, iris
2023-06-30 16:06:50 +00:00
Pavel Rappo
e3a7e020d2 8311162: Simplify and modernize equals and hashCode for java.net
Reviewed-by: dfuchs, michaelm, msheppar
2023-06-30 15:17:23 +00:00
Eric Caspole
430d6b61c5 8309976: Add microbenchmark for stressing code cache
Reviewed-by: redestad, shade
2023-06-30 15:02:45 +00:00
Albert Mingkun Yang
33011ea19b 8310946: G1: Refactor G1Policy::next_gc_should_be_mixed
Reviewed-by: tschatzl, kbarrett
2023-06-30 12:23:18 +00:00
Matthias Baesken
a7d168b522 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Reviewed-by: sspitsyn, tschatzl
2023-06-30 11:35:02 +00:00
Kevin Walls
c08c9831df 8311000: missing @since info in jdk.management
Reviewed-by: rriggs, mli
2023-06-30 08:28:19 +00:00
Kevin Walls
660cd256b7 8310988: Missing @since tags in java.management.rmi
Reviewed-by: rriggs, alanb, jjg, mli
2023-06-30 08:26:44 +00:00
Axel Boldt-Christmas
2a9e2f614f 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: kbarrett, tschatzl
2023-06-30 08:10:09 +00:00
Gui Cao
77e7b6d2a1 8311074: RISC-V: Fix -Wconversion warnings in some code header files
Reviewed-by: fyang, coleenp
2023-06-30 00:16:57 +00:00
Roger Riggs
11fd34e196 8310241: OffsetDateTime compareTo redundant computation
Reviewed-by: naoto
2023-06-29 21:05:37 +00:00
Joe Darcy
d97966266e 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: bpb, jlaskey, mchung
2023-06-29 20:31:57 +00:00
Naoto Sato
a995aa6cd1 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond
Reviewed-by: iris, rriggs, jpai
2023-06-29 16:15:02 +00:00
Roland Westrelin
26efff7586 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: kvn, chagedorn
2023-06-29 15:05:49 +00:00
Ashutosh Mehra
05c2b6cd47 8309979: BootstrapMethods attribute is missing in class files recreated by SA
Reviewed-by: cjplummer, kevinw
2023-06-29 14:16:15 +00:00
shaojin.wensj
20f7d05ef2 8310502: Optimization for j.l.Long.fastUUID()
Reviewed-by: liach, alanb
2023-06-29 13:37:32 +00:00
Chen Liang
07734f6dde 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields
Reviewed-by: asotona
2023-06-29 12:32:52 +00:00
Damon Fenacci
e5744b8120 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Reviewed-by: thartmann, dholmes
2023-06-29 12:07:54 +00:00
Artem Semenov
98a954eebc 8308286: Fix clang warnings in linux code
Reviewed-by: avu, djelinski
2023-06-29 09:07:34 +00:00
Nikita Gubarkov
f842ec48b1 8305667: Some fonts installed in user directory are not detected on Windows
Reviewed-by: avu, prr
2023-06-29 08:28:22 +00:00
Roland Westrelin
690d626995 8307927: C2: "malformed control flow" with irreducible loop
Reviewed-by: thartmann, epeter
2023-06-29 07:43:46 +00:00
Roland Westrelin
be64d3ac3c 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: thartmann, kvn
2023-06-29 07:41:04 +00:00
Eric Nothum
b2eae16c45 8295191: IR framework timeout options expect ms instead of s
Reviewed-by: chagedorn, kvn, thartmann
2023-06-29 06:59:12 +00:00
Daniel Jeliński
af319d963f 8311064: Windows builds fail without precompiled headers after JDK-8310728
Reviewed-by: dholmes
2023-06-29 06:05:53 +00:00
Chen Liang
cbf418a486 8311020: Typo cleanup in Classfile API
Reviewed-by: asotona
2023-06-29 05:44:02 +00:00
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Ioi Lam
cf8d706300 8308463: Refactor regenerated class handling in lambdaFormInvokers.cpp
Reviewed-by: coleenp, dholmes, matsaave
2023-06-29 04:28:30 +00:00
Glavo
6f58ab2bb9 8301569: jmod list option and jimage list --help not interpreted correctly on turkish locale
Reviewed-by: mchung, naoto, jpai
2023-06-29 01:34:26 +00:00
Jaikiran Pai
8f5a38488c 8311032: Empty value for java.protocol.handler.pkgs system property can lead to unnecessary classloading attempts of protocol handlers
Reviewed-by: dfuchs
2023-06-29 01:30:46 +00:00
Ioi Lam
ded137073a 8309811: BytecodePrinter cannot handle unlinked classes
Reviewed-by: coleenp, fparain
2023-06-28 22:50:24 +00:00
Johan Sjölen
02b17d793b 8310264: In PhaseChaitin::Split defs and phis are leaked
Reviewed-by: thartmann, chagedorn, kvn
2023-06-28 21:20:35 +00:00
Rajat Mahajan
a63afa4aa6 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Reviewed-by: aivanov, achung
2023-06-28 21:07:24 +00:00
Joe Darcy
3df36c4f10 8310061: Note if implicit annotation processing is being used
Reviewed-by: briangoetz, vromero, jjg
2023-06-28 21:00:28 +00:00
Dean Long
da0f8325de 8310606: Fix signed integer overflow, part 3
Reviewed-by: kvn, thartmann
2023-06-28 20:31:08 +00:00
Alisen Chung
f0c2f09815 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Reviewed-by: dmarkov, honkar
2023-06-28 20:17:00 +00:00
Coleen Phillimore
9f46fc2842 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Reviewed-by: iklam, fparain
2023-06-28 19:42:33 +00:00
Jorn Vernee
7fffdb5e60 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
2023-06-28 17:32:33 +00:00
Justin Gu
b6c789faad 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: coleenp, matsaave, dholmes
2023-06-28 17:10:16 +00:00
Jesse Glick
9f98136c3a 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).

Reviewed-by: dfuchs, michaelm
2023-06-28 15:33:37 +00:00
Aleksey Shipilev
46e4ee1e80 8310974: NMT: Arena diffs miss the scale
Reviewed-by: zgu, stuefe
2023-06-28 14:07:58 +00:00
Pavel Rappo
f17bfeec61 8311034: Fix typo in javac man page
Reviewed-by: hannesw
2023-06-28 13:48:16 +00:00
Johan Sjölen
2ccdd29206 8299825: Move StdoutLog and StderrLog to LogConfiguration
Reviewed-by: dholmes, azafari
2023-06-28 13:31:14 +00:00
Erik Gahlin
e3f18af1df 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
2023-06-28 12:29:43 +00:00
Coleen Phillimore
08c51f25d2 8310920: Fix -Wconversion warnings in command line flags
Reviewed-by: iklam, dholmes
2023-06-28 12:24:39 +00:00
Coleen Phillimore
c2e9485481 8310921: Fix -Wconversion warnings from GenerateOopMap
Reviewed-by: iklam, dholmes
2023-06-28 12:23:04 +00:00
Thomas Stuefe
ef71c3215e 8310110: Shenandoah: Trace page sizes
Reviewed-by: shade, rkennke
2023-06-28 11:57:20 +00:00
Eric Nothum
c3f10e8479 8307625: Redundant receiver null check in LibraryCallKit::generate_method_call
Reviewed-by: thartmann, chagedorn
2023-06-28 07:25:20 +00:00
Matthias Baesken
39c104df44 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: lucy, clanger, cjplummer
2023-06-28 06:51:05 +00:00
Emanuel Peter
526dba1a29 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn, chagedorn
2023-06-28 05:52:26 +00:00
Daniel Jeliński
48e61c1df5 8310728: Enable Zc:inline flag in Visual Studio build
Reviewed-by: erikj
2023-06-28 04:11:11 +00:00
Vyom Tewari
56a73a6f0f 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Reviewed-by: djelinski, michaelm, alanb
2023-06-28 02:49:52 +00:00
Hao Sun
afdaa2a330 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph, fyang
2023-06-28 02:00:09 +00:00
Roger Riggs
7f09435367 8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()
Reviewed-by: naoto, mchung, bpb, lancea
2023-06-27 20:54:53 +00:00
Jorn Vernee
f07e396bda 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
2023-06-27 20:40:04 +00:00
Alex Menkov
a97f98fb8a 8310585: GetThreadState spec mentions undefined JVMTI_THREAD_STATE_MONITOR_WAITING
Reviewed-by: sspitsyn, cjplummer
2023-06-27 20:35:03 +00:00
Phil Race
2cf5c2f4b6 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Reviewed-by: azvegint
2023-06-27 20:19:56 +00:00
Tom Rodriguez
269852b906 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Reviewed-by: cjplummer, sspitsyn
2023-06-27 19:57:06 +00:00
Joe Darcy
4bce38c6d7 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: bpb, rriggs, mchung
2023-06-27 19:30:59 +00:00
Jim Laskey
315242b741 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: alanb, darcy, iris, lancea
2023-06-27 18:45:37 +00:00
Roger Riggs
d6dd0dc3e0 8308452: Extend internal Architecture enum with byte order and address size
Reviewed-by: mdoerr, jpai, mchung, amitkumar
2023-06-27 17:49:09 +00:00
Lance Andersen
fb283dff04 8310828: java.sql java.sql.rowset packages have no @since info
Reviewed-by: naoto, iris, darcy, bpb
2023-06-27 17:22:41 +00:00
Naoto Sato
ec45bd64d5 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs, darcy, iris, lancea
2023-06-27 16:13:20 +00:00
Chen Liang
2bd4136bdb 8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Afshin Zafari
7ce967a10c 8281455: Change JVM options with small ranges from 64 to 32 bits, for gc_globals.hpp
Reviewed-by: tschatzl, coleenp
2023-06-27 15:54:55 +00:00
Pavel Rappo
f6133edb08 8310890: Normalize identifier names
Reviewed-by: naoto, rriggs
2023-06-27 15:47:29 +00:00
Brian Burkhalter
58bb6555e7 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer
Reviewed-by: rriggs, lancea, alanb
2023-06-27 15:28:01 +00:00
Jaikiran Pai
05e9c41edd 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Reviewed-by: dfuchs
2023-06-27 11:01:09 +00:00
David Leopoldseder
15878360bf 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: dnsimon, never
2023-06-27 08:29:55 +00:00
Daniel Skantz
73d7aa1d2c 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Reviewed-by: thartmann, rcastanedalo
2023-06-27 07:05:48 +00:00
Adam Sotona
990e3a700d 8308899: Introduce Classfile context and improve Classfile options
8306650: Improve control of stack maps generation in Classfile API
8308646: Typo in ConstantValueAttribute

Reviewed-by: mcimadamore
2023-06-27 05:05:17 +00:00
Tejesh R
79c056ec8b 8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen
Reviewed-by: azvegint, serb
2023-06-27 04:56:21 +00:00
changpeng1997
45b581b7d5 8309583: AArch64: Optimize firstTrue() when amount of elements < 8
Reviewed-by: aph, eliu
2023-06-27 04:10:38 +00:00
Feilong Jiang
87e6fab2c4 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Reviewed-by: fyang, rehn
2023-06-27 01:49:58 +00:00
David Holmes
39fa4e6371 8310489: New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed
Reviewed-by: coleenp
2023-06-27 00:13:42 +00:00
Jonathan Gibbons
46add3f8e3 8310909: java.io.InvalidObjectException has redundant @since tag
Reviewed-by: lancea, naoto, bpb, darcy, iris
2023-06-26 22:24:32 +00:00
Jonathan Gibbons
8f5b6771b8 8310908: Non-standard @since tag in com.sun.java.accessibility.util.package-info
Reviewed-by: bpb, iris, aivanov
2023-06-26 22:22:49 +00:00
Chen Liang
a197ee797b 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
2023-06-26 22:07:35 +00:00
Mandy Chung
7c6a28fd0c 8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242
Reviewed-by: dholmes
2023-06-26 21:25:09 +00:00
Mandy Chung
7db2f08756 8310242: Clarify the name parameter to Class::forName
Reviewed-by: rriggs, liach, alanb, dholmes
2023-06-26 19:56:24 +00:00
Sergey Tsypanov
297c799631 8301492: Modernize equals() method of ResourceBundle.CacheKey and Bundles.CacheKey
Reviewed-by: prappo, naoto
2023-06-26 19:41:43 +00:00
Archie Cobbs
a08352f621 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
2023-06-26 19:05:00 +00:00
Jatin Bhateja
ff9a754109 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: thartmann, sviswanathan
2023-06-26 18:35:03 +00:00
Joe Darcy
815ac6eeb3 8310907: Add missing file
Reviewed-by: jjg
2023-06-26 18:14:32 +00:00
Joe Darcy
289f218a32 8310861: Improve location reporting for javac serial lint warnings
Reviewed-by: jlahoda
2023-06-26 16:56:40 +00:00
Brian Burkhalter
d32eb015f0 8310682: No package-info (and @since) for package jdk.nio.mapmode
Reviewed-by: alanb
2023-06-26 16:28:48 +00:00
Weijun Wang
e624484ecf 8308540: On Kerberos TGT referral, if krb5.conf is missing realm, bad exception message
Reviewed-by: xuelei
2023-06-26 15:55:36 +00:00
Varada M
5ff42d1429 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: dholmes, gziemski
2023-06-26 14:28:40 +00:00
Gui Cao
24abd1054e 8310192: RISC-V: Merge vector min & max instructs with similar match rules
Reviewed-by: luhenry, fyang
2023-06-26 13:20:35 +00:00
Dingli Zhang
3357867928 8310276: RISC-V: Make use of shadd macro-assembler function when possible
Reviewed-by: fyang, luhenry, fjiang, vkempik
2023-06-26 12:47:41 +00:00
Albert Mingkun Yang
c1c5bd0faf 8310541: G1: Remove redundant check in G1Policy::need_to_start_conc_mark
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:15:41 +00:00
Albert Mingkun Yang
5271f4def6 8310354: G1: Annotate G1MMUTracker::when_sec with const
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:14:00 +00:00
Prasanta Sadhukhan
a420ff48da 6664309: Docking point of a floating toolbar changes after closing
Reviewed-by: tr, prr
2023-06-26 09:24:07 +00:00
Kevin Walls
a96e92c83d 8310816: GcInfoBuilder float/double signature mismatch
Reviewed-by: mchung, dholmes
2023-06-26 08:35:52 +00:00
Thomas Schatzl
c23794f882 8308633: Increase precision of timestamps in g1 log
Reviewed-by: ayang, kbarrett
2023-06-26 07:51:22 +00:00
Thomas Schatzl
9397094692 8310540: G1: Verification should use raw oop decode functions
Reviewed-by: ayang, kbarrett
2023-06-26 07:49:51 +00:00
Jaikiran Pai
013367b483 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
2023-06-26 06:25:08 +00:00
Emanuel Peter
9057b35033 8306922: IR verification fails because IR dump is chopped up
Reviewed-by: chagedorn, thartmann
2023-06-26 06:11:32 +00:00
Julian Waters
8242c647b9 8310863: Build failure after JDK- 8305341
Reviewed-by: dholmes
2023-06-26 05:38:04 +00:00
Julian Waters
78c3831701 8305341: Alignment should be enforced by alignas instead of compiler specific attributes
Reviewed-by: mdoerr
2023-06-25 23:49:49 +00:00
Julian Waters
c92b049db7 8308780: Fix the Java Integer types on Windows
Reviewed-by: dholmes, djelinski, aivanov
2023-06-25 23:41:54 +00:00
Joe Darcy
0db63ec76d 8310571: Use inline @return tag on java.util.Objects
Reviewed-by: smarks
2023-06-23 22:55:06 +00:00
Justin Lu
dad7bd9efc 8310234: Refactor Locale tests to use JUnit
Reviewed-by: naoto
2023-06-23 21:33:49 +00:00
Joe Darcy
69f3114c41 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
2023-06-23 21:21:41 +00:00
Ioi Lam
bfcca5eff9 8310494: Do not include constantPool.hpp from instanceKlass.hpp
Reviewed-by: stefank, coleenp
2023-06-23 19:42:57 +00:00
Joe Darcy
0314292cb2 8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives
Reviewed-by: prappo
2023-06-23 19:35:57 +00:00
Kevin Walls
a9c0a0f6b9 8310628: GcInfoBuilder.c missing JNI Exception checks
Reviewed-by: mchung, dholmes
2023-06-23 17:42:13 +00:00
Mandy Chung
556831d1bf 8310460: Remove jdeps -profile option
Reviewed-by: alanb
2023-06-23 17:03:02 +00:00
Coleen Phillimore
d91d0d3011 8310537: Fix -Wconversion warnings in gcUtil.hpp
Reviewed-by: ayang, aboldtch
2023-06-23 15:57:16 +00:00
Ben Perez
7628da2008 8279254: PKCS9Attribute SigningTime always encoded in UTFTime
Reviewed-by: jnimeh
2023-06-23 15:31:16 +00:00
Jamil Nimeh
5ca4cdd2ca 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, mbaesken
2023-06-23 14:52:12 +00:00
Jie Fu
e78fd46679 8310735: Build failure after JDK-8310577 with GCC8
Reviewed-by: lucy
2023-06-23 14:08:56 +00:00
Christian Stein
4bf78162c5 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: mchung, alanb
2023-06-23 11:09:37 +00:00
Alexander Zuev
d1d2b55ce0 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: abhiscxk, asemenov, prr, serb
2023-06-23 10:11:25 +00:00
Thomas Stuefe
d6685f0869 8310510: Remove WordsPerLong
Reviewed-by: mdoerr
2023-06-23 10:07:32 +00:00
Eric Nothum
31dcda5d67 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: thartmann, chagedorn
2023-06-23 07:25:34 +00:00
Daohan Qu
4772893127 8310581: retry_class_loading_during_parsing() is not used
Reviewed-by: kvn, thartmann
2023-06-23 06:32:36 +00:00
Coleen Phillimore
5a82fa3bb2 8310577: Fix -Wconversion warnings in interpreter and oops
Reviewed-by: fparain, matsaave
2023-06-22 19:37:01 +00:00
Matthew Donovan
130a9f1387 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: rhalade
2023-06-22 18:43:27 +00:00
Joe Darcy
0e4fde3d30 8310453: Update javadoc of java.lang.Object
Reviewed-by: rriggs, alanb
2023-06-22 16:38:39 +00:00
Coleen Phillimore
230bcb769a 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: aph, fparain
2023-06-22 14:22:02 +00:00
Daohan Qu
370b8b2644 8310618: Test serviceability/sa/ClhsdbDumpclass.java fails after 8242152: 'StackMapTable:' missing from stdout/stderr
Reviewed-by: kevinw, dholmes
2023-06-22 13:15:27 +00:00
Per Minborg
5a30fb6664 8310591: Missing @since tags in java.lang.foreign
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Erik Gahlin
8976ebf0ec 8310561: JFR: Unify decodeDescriptors(String, String)
Reviewed-by: mgronlun
2023-06-22 10:09:15 +00:00
Matthias Baesken
7da3f1999f 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: weijun
2023-06-22 07:08:54 +00:00
Daohan Qu
8e047029e8 8242152: SA does not include StackMapTables when dumping .class files
Reviewed-by: cjplummer, sspitsyn
2023-06-22 06:45:19 +00:00
Serguei Spitsyn
3bc475ee65 8309909: remove test nsk.jvmti test objmonusage006 from ProblemList-Virtual.txt
Reviewed-by: cjplummer
2023-06-22 06:40:17 +00:00
Alan Bateman
3661cdee1b 8309853: StructuredTaskScope.join description improvements
Reviewed-by: rpressler, darcy
2023-06-22 04:29:13 +00:00
Daniel D. Daugherty
ac44ef19d5 8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all
Reviewed-by: dholmes, mikael
2023-06-21 21:07:04 +00:00
Christoph Langer
3be50da636 8310512: Cleanup indentation in jfc files
Reviewed-by: egahlin
2023-06-21 20:04:03 +00:00
Jonathan Gibbons
f286e5a5e1 8310575: no @since for StandardDoclet
Reviewed-by: darcy
2023-06-21 19:56:51 +00:00
Erik Joelsson
16a34e8e1e 8310384: Add hooks for custom image creation
Reviewed-by: mikael, alanb
2023-06-21 18:28:19 +00:00
Jonathan Gibbons
226c6a097d 8309883: no @since info in com.sun.tools.javac package-info.java, Main.java
Reviewed-by: iris, darcy
2023-06-21 18:00:14 +00:00
Coleen Phillimore
fd1163d5f1 8310332: Fix -Wconversion warnings in MethodData
Reviewed-by: aph, fparain
2023-06-21 17:58:29 +00:00
Erik Joelsson
72501cf767 8310379: Relax prerequisites for java.base-jmod target
Reviewed-by: mikael
2023-06-21 17:18:15 +00:00
Erik Gahlin
59c6c0e1b7 8310335: JFR: Modernize collections and switch statements
Reviewed-by: mgronlun
2023-06-21 15:07:42 +00:00
Damon Fenacci
826dcb5424 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Reviewed-by: thartmann, amitkumar, fyang, mdoerr
2023-06-21 12:27:02 +00:00
Erik Gahlin
658c3374d8 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
2023-06-21 11:47:25 +00:00
Coleen Phillimore
70e1c92a7f 8310297: assert(static_cast<T1>(result) == thing) with ctw
Reviewed-by: iklam, dholmes
2023-06-21 11:45:37 +00:00
Erik Joelsson
574c6f0ebf 8310376: Extend SetupTarget macro with DIR parameter
Reviewed-by: mikael
2023-06-21 09:57:49 +00:00
Erik Joelsson
7ea22cd385 8310369: UTIL_ARG_WITH fails when arg is disabled
Reviewed-by: mikael
2023-06-21 09:57:26 +00:00
Jan Lahoda
01623f6a57 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
2023-06-21 09:16:12 +00:00
Jan Lahoda
a15db1a56c 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
2023-06-21 09:15:48 +00:00
Tobias Hartmann
67fbd87378 8310143: RandomCommandsTest fails due to unexpected VM exit code after JDK-8282797
Reviewed-by: rcastanedalo, chagedorn
2023-06-21 07:05:41 +00:00
Matthias Baesken
9eed049098 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Reviewed-by: erikj
2023-06-21 06:49:24 +00:00
Julian Waters
3faba07ae3 8307145: windowsaccessbridge.dll erroneously includes private methods in its C API
Reviewed-by: djelinski
2023-06-21 06:43:03 +00:00
Emanuel Peter
886ac1c261 8308606: C2 SuperWord: remove alignment checks when not required
Reviewed-by: fgao, kvn, pli
2023-06-21 06:40:50 +00:00
Thomas Stuefe
47d00a4cbe 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: simonis, rriggs
2023-06-21 04:55:43 +00:00
Jorn Vernee
e022e87654 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
2023-06-21 00:03:13 +00:00
David Holmes
45eaf5edd8 8298443: Remove expired flags in JDK 22
Reviewed-by: coleenp, iklam
2023-06-20 23:14:33 +00:00
Ioi Lam
28415adb79 8310225: Reduce inclusion of oopMapCache.hpp and generateOopMap.hpp
Reviewed-by: stuefe, coleenp
2023-06-20 23:12:49 +00:00
David Holmes
4c3efb3910 8309034: NoClassDefFoundError when initializing Long$LongCache
Reviewed-by: coleenp, fparain
2023-06-20 21:58:31 +00:00
Justin Lu
11201067a8 8310458: Fix build failure caused by JDK-8310049
Reviewed-by: rriggs, naoto
2023-06-20 18:16:33 +00:00
Justin Lu
09174e0c99 8310049: Refactor Charset tests to use JUnit
Reviewed-by: lancea, naoto
2023-06-20 17:21:00 +00:00
Daniel Fuchs
99d2a9afa9 8310330: HttpClient: debugging interestOps/readyOps could cause exceptions and smaller cleanup
Reviewed-by: djelinski
2023-06-20 15:51:43 +00:00
Robbin Ehn
31b6fd775f 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: fjiang, stuefe, fyang, luhenry
2023-06-20 15:12:46 +00:00
Eric Nothum
4a9cc8a000 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: roland, chagedorn
2023-06-20 13:52:45 +00:00
Stefan Karlsson
4e4e586dac 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: eosterlund, aboldtch
2023-06-20 13:46:49 +00:00
Coleen Phillimore
e1906e7641 8310027: Fix -Wconversion warnings in nmethod and compiledMethod related code
Reviewed-by: kvn, fparain
2023-06-20 13:35:11 +00:00
Jan Lahoda
4ca548fe74 8310326: Incorrect position of the synthetic unnamed class
Reviewed-by: jlaskey
2023-06-20 10:34:52 +00:00
Axel Boldt-Christmas
a0595761ef 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: stefank, eosterlund, stuefe
2023-06-20 10:08:13 +00:00
Thomas Schatzl
9a68ec8bb2 8219357: G1: G1GCPhaseTimes::debug_phase uses unnecessary ResourceMark
Reviewed-by: shade, ayang
2023-06-20 09:46:56 +00:00
Damon Fenacci
087887286d 8310020: MacroAssembler::call_VM(_leaf) doesn't consistently check for conflict with C calling convention.
Reviewed-by: thartmann, fyang, mdoerr, amitkumar
2023-06-20 07:40:46 +00:00
Jan Lahoda
79069c5e74 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
2023-06-20 07:02:49 +00:00
David Holmes
96a7db7b3c 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: stuefe
2023-06-20 06:43:21 +00:00
David Holmes
b2e86aef65 8304478: Initial nroff manpage generation for JDK 22
Reviewed-by: alanb, sspitsyn, mchung, lancea
2023-06-19 22:30:50 +00:00
Michael McMahon
7b45c8fc3a 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
Reviewed-by: alanb
2023-06-19 21:35:58 +00:00
Ao Qi
137a5f7c2c 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade, rriggs
2023-06-19 21:05:55 +00:00
Roger Riggs
33c6ec9d4e 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: phh, shade, aoqi
2023-06-19 18:29:14 +00:00
Erik Gahlin
e08e94f1b9 8310266: JFR: Refactor after 'view' command
Reviewed-by: mgronlun
2023-06-19 17:46:23 +00:00
Daniel Fuchs
f8f8bfbea1 8309939: HttpClient should not use Instant.now() as Instant source for deadlines
Reviewed-by: djelinski
2023-06-19 13:26:26 +00:00
Erik Gahlin
7d4b77ad9e 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: shade, mgronlun
2023-06-19 11:41:10 +00:00
Albert Mingkun Yang
b896e3e02a 8310146: Removing unused PerfLongVariant::_sampled
Reviewed-by: tschatzl
2023-06-19 11:08:07 +00:00
Prasanta Sadhukhan
d2a858e173 7083187: Class CSS.CssValue is missing implementations of equals() and hashCode()
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, prr
2023-06-19 08:52:06 +00:00
Erik Österlund
4229baf9b6 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
2023-06-19 07:05:06 +00:00
Roland Westrelin
266f9838ee 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: kvn, thartmann
2023-06-19 07:02:10 +00:00
Matthias Baesken
6a63badd8e 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb, cjplummer
2023-06-19 06:39:58 +00:00
Thomas Stuefe
6473a7df20 8310107: os::trace_page_sizes_for_requested_size should name alignment as requested page size
Reviewed-by: stefank, dholmes
2023-06-19 06:00:50 +00:00
Tobias Hartmann
02aaab12e3 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: roland, shade
2023-06-19 05:08:45 +00:00
Gergö Barany
492d25c8df 8309601: [JVMCI] AMD64#getLargestStorableKind returns incorrect mask kind
Reviewed-by: dnsimon, never
2023-06-19 02:28:05 +00:00
Jaikiran Pai
959a61fdd4 8310259: Pin msys2/setup-msys2 github action to a specific commit
Reviewed-by: cstein, stuefe
2023-06-17 06:02:40 +00:00
Archie Cobbs
bcc4d36857 8309511: Regression test ExtraImportSemicolon.java refers to the wrong bug
Reviewed-by: vromero
2023-06-16 22:49:22 +00:00
Coleen Phillimore
71baf00a2d 8309605: StubRoutines are not used by SA
Reviewed-by: cjplummer
2023-06-16 20:04:08 +00:00
Daniel D. Daugherty
16134f4422 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mikael
2023-06-16 17:38:01 +00:00
Alexey Ivanov
d6c2ee3448 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
2023-06-16 17:24:07 +00:00
Ben Perez
4eb4f20ae2 8308808: SunMSCAPI public keys returns internal key array
Reviewed-by: mullan
2023-06-16 16:46:54 +00:00
Liam Miller-Cushon
53abba3a5a 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled
Co-authored-by: Paula Toth <paulatoth@google.com>
Reviewed-by: vromero
2023-06-16 16:43:22 +00:00
Joe Darcy
cf8d0b0537 8309964: Use directed inheritDoc for javax.lang.model API
Reviewed-by: vromero
2023-06-16 16:43:00 +00:00
Ioi Lam
a45f92961b 8310076: Reduce inclusion of bytecodeStream.hpp
Reviewed-by: dholmes, coleenp
2023-06-16 15:26:26 +00:00
Hannes Wallnöfer
21f6d83358 8309471: Limit key characters in static index pages
Reviewed-by: jjg
2023-06-16 15:04:07 +00:00
Andrew Haley
44a8aa0691 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
Reviewed-by: alanb
2023-06-16 12:21:11 +00:00
Per Minborg
b412fc79c3 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
2023-06-16 11:42:55 +00:00
Thomas Schatzl
fb024fde7b 8248149: G1: change _cleaning_claimed from int to bool
Reviewed-by: lkorinth, ayang, kbarrett
2023-06-16 10:04:17 +00:00
Christian Stein
c2b043e6cd 8310183: Update GitHub Actions to use boot JDK for building jtreg
Reviewed-by: shade
2023-06-16 09:58:19 +00:00
Eric Nothum
238c51e621 8293069: Make -XX:+Verbose less verbose
Reviewed-by: thartmann, chagedorn
2023-06-16 09:57:57 +00:00
Kevin Walls
8c9b85a990 8303916: ThreadLists.java inconsistent results
Reviewed-by: cjplummer, dholmes, lmesnik
2023-06-16 08:40:16 +00:00
Alan Bateman
227656f3a9 8309408: Thread.sleep cleanup
Reviewed-by: dholmes, stefank
2023-06-16 07:26:27 +00:00
Aggelos Biboudis
32243ef47d 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: vromero, jlahoda
2023-06-16 07:03:28 +00:00
sunyaqi
cfae6ef2f6 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Reviewed-by: alanb
2023-06-16 06:15:55 +00:00
Jaikiran Pai
db133dbc02 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Reviewed-by: wetmore, xuelei
2023-06-16 05:38:10 +00:00
Joe Darcy
353e581a53 8309747: Update --release 21 symbol information for JDK 21 build 27
Reviewed-by: iris
2023-06-15 23:36:27 +00:00
Phil Race
d3d0dbc363 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: avu, azvegint
2023-06-15 22:47:57 +00:00
Kim Barrett
92167505b2 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl, ayang
2023-06-15 22:23:26 +00:00
Man Cao
5c705166da 8309688: Data race on java.io.ClassCache$CacheRef.strongReferent
Reviewed-by: rriggs, shade
2023-06-15 20:13:36 +00:00
Justin Lu
81bfd78901 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
2023-06-15 19:43:07 +00:00
Matthew Donovan
9f64a64376 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
2023-06-15 19:15:30 +00:00
Aleksey Shipilev
4a5475ce04 8309953: Strengthen and optimize oopDesc age methods
Reviewed-by: mdoerr, rkennke, tschatzl, stefank
2023-06-15 19:13:24 +00:00
Chris Plummer
79ff72a776 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: lmesnik, kevinw
2023-06-15 19:11:12 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Julian Waters
653a8d0cce 8310129: SetupNativeCompilation LIBS should match the order of the other parameters
Reviewed-by: erikj
2023-06-15 16:29:31 +00:00
Quan Anh Mai
947f14977a 8308444: LoadStoreNode::result_not_used() is too conservative
Reviewed-by: kvn, thartmann
2023-06-15 16:00:18 +00:00
Doug Simon
8b4af46be4 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Reviewed-by: dholmes
2023-06-15 15:53:08 +00:00
Vladimir Kozlov
0038491abd 8309978: [x64] Fix useless padding
Reviewed-by: chagedorn, thartmann, shade
2023-06-15 15:32:45 +00:00
Albert Mingkun Yang
5f3613e060 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl, iwalulya
2023-06-15 12:01:02 +00:00
Roberto Castañeda Lozano
83d92672d4 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann, kvn
2023-06-15 10:08:28 +00:00
Martin Doerr
de8aca27ba 8307907: [ppc] Remove RTM locking implementation
Reviewed-by: mbaesken, rrich, stuefe
2023-06-15 09:52:31 +00:00
Johan Sjölen
4c0e164238 8309717: C2: Remove Arena::move_contents usage
Reviewed-by: thartmann, kvn
2023-06-15 08:36:35 +00:00
Vladimir Kempik
6b94289386 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Reviewed-by: luhenry, fjiang, fyang
2023-06-15 06:22:21 +00:00
Kim Barrett
181845ae46 8309899: Rename PtrQueueSet::buffer_size()
Reviewed-by: tschatzl, ayang
2023-06-14 22:01:44 +00:00
Ioi Lam
931625a930 8309808: BytecodeTracer prints wrong BSM for invokedynamic
Reviewed-by: coleenp, matsaave
2023-06-14 21:14:01 +00:00
Harshitha Onkar
ee4ab6709e 8309958: Incorrect @since tag format in Container.java
Reviewed-by: dmarkov
2023-06-14 19:49:24 +00:00
Aleksey Shipilev
57b8251241 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: wkemper, zgu, ysr
2023-06-14 16:57:15 +00:00
Erik Joelsson
955fc2faba 8309746: Reconfigure check should include make/conf/version-numbers.conf
Reviewed-by: mikael
2023-06-14 13:27:19 +00:00
Erik Joelsson
554b4d7243 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
2023-06-14 13:26:54 +00:00
Erik Gahlin
84d010a24b 8309928: JFR: View issues
Reviewed-by: mgronlun
2023-06-14 12:26:51 +00:00
Erik Gahlin
9872a14192 8309959: JFR: Display N/A for missing data amount
Reviewed-by: mgronlun, stuefe
2023-06-14 12:05:27 +00:00
Jorn Vernee
4c18b9e1fa 8309880: Add support for linking libffi on Windows and Mac
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2023-06-14 12:03:42 +00:00
Jim Laskey
1d1ed0d8f7 8309957: Rename JDK-8309595 test to conform
Reviewed-by: rriggs
2023-06-14 11:58:03 +00:00
Vladimir Petko
e3d6fc875b 8309847: FrameForm and RegisterForm constructors should initialize all members
Reviewed-by: kvn, thartmann
2023-06-14 11:47:02 +00:00
Martin Doerr
bd79db3930 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: dholmes, stuefe
2023-06-14 08:28:39 +00:00
Stefan Karlsson
63fe413d93 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Reviewed-by: aboldtch, kbarrett
2023-06-14 06:30:05 +00:00
Jaikiran Pai
ba837b4bfa 8309910: Introduce jdk.internal.net.http.HttpConnection.getSNIServerNames() method
Reviewed-by: dfuchs
2023-06-14 01:37:45 +00:00
Ioi Lam
5d193193a3 8309878: Reduce inclusion of resolvedIndyEntry.hpp
Reviewed-by: coleenp, sspitsyn, matsaave
2023-06-14 00:16:12 +00:00
Christian Stein
8aad881e80 8309934: Update GitHub Actions to use JDK 17 for building jtreg
Reviewed-by: erikj
2023-06-13 20:32:29 +00:00
Mandy Chung
9bfe415f66 8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Raffaello Giulietti
bfef3c3e80 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: lancea
2023-06-13 18:40:47 +00:00
Chris Plummer
d7251c1755 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Reviewed-by: sspitsyn, kevinw
2023-06-13 18:07:43 +00:00
Jonathan Gibbons
b5b5b7ce72 8309884: missing @since tags in com.sun.source.*
Reviewed-by: darcy
2023-06-13 17:40:34 +00:00
Chen Liang
75dcc4ef94 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
2023-06-13 17:05:52 +00:00
Ben Perez
bed9161c81 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: weijun
2023-06-13 16:34:58 +00:00
Tobias Hartmann
3eec179c72 8309854: ciReplay TestServerVM test fails with Graal
Reviewed-by: chagedorn, kvn
2023-06-13 16:13:42 +00:00
Calvin Cheung
14010876dc 8309753: Include array classes in the output of -XX:+PrintSharedArchiveAndExit
Reviewed-by: iklam, matsaave
2023-06-13 15:54:31 +00:00
Stuart Marks
e138685648 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: darcy, bpb, jpai, rriggs
2023-06-13 15:16:28 +00:00
Doug Simon
c0aa6bf4fe 8309390: [JVMCI] improve copying system properties into libgraal
Reviewed-by: never, kvn
2023-06-13 14:45:33 +00:00
Albert Mingkun Yang
63843b1153 8309907: Remove unused _print_gc_overhead_limit_would_be_exceeded
Reviewed-by: tschatzl
2023-06-13 14:01:53 +00:00
Eric Nothum
6d05360bec 8304403: Remove unused methods in RangeCheckElimination::Bound
Reviewed-by: chagedorn, thartmann
2023-06-13 13:45:59 +00:00
Ivan Bereziuk
9b0baa10b9 8306281: function isWsl() returns false on WSL2
Reviewed-by: erikj
2023-06-13 12:40:54 +00:00
Leo Korinth
c884862ad2 8309468: Remove jvmti Allocate locker test case
Reviewed-by: dholmes, lmesnik, sspitsyn
2023-06-13 12:31:20 +00:00
Markus Grönlund
05f896a153 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
2023-06-13 11:47:47 +00:00
Yudi Zheng
4f23fc1f27 8309671: Avoid using jvmci.Compiler property to determine if Graal is enabled
Reviewed-by: dnsimon, sspitsyn
2023-06-13 09:02:37 +00:00
Chen Liang
1a9edb8df9 8309838: Classfile API Util.toBinaryName and other cleanup
Reviewed-by: asotona
2023-06-13 08:57:47 +00:00
Per Minborg
f7de726bd3 8295555: Primitive wrapper caches could be @Stable
Reviewed-by: rriggs
2023-06-13 08:39:00 +00:00
Albert Mingkun Yang
5d716121c1 8309852: G1: Remove unnecessary assert_empty in G1ParScanThreadStateSet destructor
Reviewed-by: tschatzl
2023-06-13 07:54:13 +00:00
Albert Mingkun Yang
23a54f3701 8309538: G1: Move total collection increment from Cleanup to Remark
Reviewed-by: tschatzl, iwalulya
2023-06-13 07:53:34 +00:00
Jaikiran Pai
57fc9a3e96 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Reviewed-by: alanb, mchung
2023-06-13 00:54:35 +00:00
Harshitha Onkar
2dca5ae4fd 8299052: ViewportOverlapping test fails intermittently on Win10 & Win11
Reviewed-by: aivanov
2023-06-12 23:11:52 +00:00
Ashutosh Mehra
3028295fdd 8309065: Move the logic to determine archive heap location from CDS to G1 GC
Reviewed-by: iklam, tschatzl, stuefe
2023-06-12 22:08:47 +00:00
Xue-Lei Andrew Fan
80a8144af5 8309867: redundant class field RSAPadding.md
Reviewed-by: hchao, weijun, valeriep
2023-06-12 20:42:53 +00:00
Ben Perez
3c15ad8d47 8307144: namedParams in XECParameters and EdDSAParameters can be private final
Reviewed-by: jnimeh, xuelei, mullan
2023-06-12 19:45:06 +00:00
Joe Darcy
3ce1240ca1 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
2023-06-12 18:14:27 +00:00
Chris Plummer
1612b6dc6e 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Reviewed-by: sspitsyn, lmesnik
2023-06-12 18:07:40 +00:00
Jiangli Zhou
45414fc2df 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: erikj
2023-06-12 16:22:24 +00:00
Maurizio Cimadamore
a6ad42e00e 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
Guoxiong Li
07275072aa 8272147: Consolidate preserved marks handling with other STW collectors
Reviewed-by: tschatzl, ayang, rkennke
2023-06-12 15:52:33 +00:00
Guoxiong Li
6cd166a284 8309403: Serial: Remove the useless adaptive size policy in GenCollectedHeap
Reviewed-by: ayang, tschatzl
2023-06-12 15:52:08 +00:00
Scott Gibbons
5d5ae35288 8308966: Add intrinsic for float/double modulo for x86 AVX2 and AVX512
Co-authored-by: Marius Cornea <marius.cornea@intel.com>
Reviewed-by: jbhateja, sviswanathan
2023-06-12 15:06:42 +00:00
Zhengyu Gu
8e4e6b056c 8309761: Leak class loader constraints
Reviewed-by: coleenp, jsjolen
2023-06-12 14:03:17 +00:00
Albert Mingkun Yang
fdaa2c4083 8309306: G1: Move is_obj_dead from HeapRegion to G1CollectedHeap
Reviewed-by: tschatzl, iwalulya
2023-06-12 11:13:05 +00:00
Christian Hagedorn
4bc6bbb23f 8309814: [IR Framework] Dump socket output string in which IR encoding was not found
Reviewed-by: rcastanedalo
2023-06-12 10:46:36 +00:00
JoKern65
cf9e6353cc 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken, mdoerr, clanger
2023-06-12 10:01:13 +00:00
Jaikiran Pai
268ec61d4f 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: mchung, alanb
2023-06-12 09:45:07 +00:00
Prasanta Sadhukhan
4d4706967d 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme
Reviewed-by: tr, aivanov
2023-06-12 08:49:57 +00:00
Jan Lahoda
408cadb351 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
2023-06-12 08:15:53 +00:00
Emanuel Peter
6c3e621f98 8308749: C2 failed: regular loops only (counted loop inside infinite loop)
Reviewed-by: kvn, chagedorn
2023-06-12 07:40:58 +00:00
Tobias Holenstein
f5cbe53fdd 8027711: Unify wildcarding syntax for CompileCommand and CompileOnly
Reviewed-by: kvn, thartmann, chagedorn
2023-06-12 07:39:23 +00:00
Matthias Baesken
4d66d97745 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: alanb, cjplummer, sspitsyn
2023-06-12 07:07:38 +00:00
Matthias Baesken
3981297fd3 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr, clanger, azvegint
2023-06-12 06:56:16 +00:00
Ioi Lam
16c3d53b1b 8308603: Removing do_pending_ref/enclosing_ref from MetaspaceClosure
Reviewed-by: ccheung
2023-06-10 19:32:47 +00:00
Kim Barrett
b94b679e9a 8309627: Incorrect sorting of DirtyCardQueue buffers
Reviewed-by: ayang, shade
2023-06-10 17:08:46 +00:00
Daniel D. Daugherty
aace3dc28c 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: amenkov
2023-06-10 02:02:34 +00:00
Kevin Driver
80edd5c298 8294985: SSLEngine throws IAE during parsing of X500Principal
Reviewed-by: wetmore, xuelei, mullan
2023-06-09 23:31:12 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Coleen Phillimore
beec734fdd 8309692: Fix -Wconversion warnings in javaClasses
Reviewed-by: fparain, matsaave
2023-06-09 20:03:48 +00:00
Joe Darcy
7d82479096 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg
2023-06-09 19:56:14 +00:00
Alexander Zvegintsev
f5ec93eb88 8309745: Problem list open client tests failing on Ubuntu_23.04
Reviewed-by: aivanov
2023-06-09 19:53:12 +00:00
Chris Hegarty
cee5724d09 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: rriggs, uschindler, psandoz
2023-06-09 19:25:21 +00:00
Matias Saavedra Silva
7d6f97d04d 8309673: Refactor ref_at methods in SA ConstantPool
Reviewed-by: coleenp, fparain, iklam
2023-06-09 19:08:38 +00:00
Joe Darcy
7a970b251d 8309310: Update --release 21 symbol information for JDK 21 build 26
Reviewed-by: iris
2023-06-09 18:53:48 +00:00
Chris Plummer
84184f9473 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Reviewed-by: sspitsyn, kevinw
2023-06-09 18:01:22 +00:00
Mandy Chung
679a6d8935 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: dnsimon, alanb
2023-06-09 16:44:56 +00:00
Harshitha Onkar
6cd370e04b 8305645: System Tray icons get corrupted when Windows primary monitor changes
Reviewed-by: serb, aivanov
2023-06-09 16:11:46 +00:00
Darragh Clarke
a48bcf3671 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
2023-06-09 14:06:00 +00:00
Tobias Holenstein
c052756154 8282797: CompileCommand parsing errors should exit VM
Reviewed-by: kvn, chagedorn, thartmann
2023-06-09 13:01:02 +00:00
Claes Redestad
dc842e8587 8309665: Simplify Arrays.copyOf/-Range methods
Reviewed-by: jlaskey, rriggs, alanb
2023-06-09 09:57:39 +00:00
Alan Bateman
307085618d 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: jpai
2023-06-09 08:33:18 +00:00
Alan Bateman
97df6cf55a 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Reviewed-by: rpressler, dholmes, jpai
2023-06-09 07:30:03 +00:00
Serguei Spitsyn
f91e9ba757 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer, amenkov
2023-06-09 06:12:48 +00:00
Eric Nothum
0a697e73d5 8307620: [IR Framework] Readme mentions JTREG_WHITE_LIST_FLAGS instead of JTREG_WHITELIST_FLAGS
Reviewed-by: rcastanedalo, chagedorn
2023-06-09 06:09:56 +00:00
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Stefan Karlsson
c4e6542514 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: aboldtch, dcubed
2023-06-08 19:41:26 +00:00
Jonathan Gibbons
34f0a6ec6a 8305593: Add @spec tags in java.desktop
Reviewed-by: prr
2023-06-08 19:00:19 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Alan Bateman
b2a5271e74 8309196: Remove Thread.countStackFrames
Reviewed-by: rriggs, mchung, dholmes, jpai, iris
2023-06-08 17:28:04 +00:00
Tom Rodriguez
bb966827ac 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: dnsimon, kvn
2023-06-08 16:11:33 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
6584 changed files with 192230 additions and 162877 deletions

9
.gitattributes vendored
View File

@@ -1 +1,10 @@
* -text
*.java diff=java
*.c diff=cpp
*.h diff=cpp
*.cpp diff=cpp
*.hpp diff=cpp
*.md diff=markdown
*.sh diff=bash
*.html diff=html
*.css diff=css

View File

@@ -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
@@ -104,6 +104,6 @@ runs:
- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/bootjdk/jdk" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -40,7 +40,7 @@ runs:
var: GTEST_VERSION
- name: 'Checkout GTest source'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: google/googletest
ref: 'v${{ steps.version.outputs.value }}'

View File

@@ -47,7 +47,7 @@ runs:
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}

View File

@@ -31,12 +31,6 @@ on:
gcc-major-version:
required: true
type: string
apt-gcc-version:
required: true
type: string
apt-gcc-cross-version:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -86,13 +80,12 @@ jobs:
- target-cpu: riscv64
gnu-arch: riscv64
debian-arch: riscv64
debian-repository: https://deb.debian.org/debian-ports
debian-keyring: /usr/share/keyrings/debian-ports-archive-keyring.gpg
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -114,12 +107,11 @@ jobs:
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install \
gcc-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
g++-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
debian-ports-archive-keyring
gcc-${{ inputs.gcc-major-version }} \
g++-${{ inputs.gcc-major-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
- name: 'Check cache for sysroot'
@@ -138,9 +130,9 @@ jobs:
sudo debootstrap
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
--resolve-deps
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
--variant=minbase
${{ matrix.debian-version }}
sysroot
${{ matrix.debian-repository }}
@@ -153,7 +145,8 @@ jobs:
sudo chown ${USER} -R sysroot
rm -rf sysroot/{dev,proc,run,sys,var}
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,udev,systemd}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'

View File

@@ -49,9 +49,6 @@ on:
required: false
type: string
default: ''
apt-gcc-version:
required: true
type: string
apt-architecture:
required: false
type: string
@@ -81,7 +78,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -114,7 +111,7 @@ jobs:
fi
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }}=${{ inputs.apt-gcc-version }} g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }}=${{ inputs.apt-gcc-version }} libxrandr-dev${{ steps.arch.outputs.suffix }} libxtst-dev${{ steps.arch.outputs.suffix }} libcups2-dev${{ steps.arch.outputs.suffix }} libasound2-dev${{ steps.arch.outputs.suffix }} ${{ inputs.apt-extra-packages }}
sudo apt-get install gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} libxrandr-dev${{ steps.arch.outputs.suffix }} libxtst-dev${{ steps.arch.outputs.suffix }} libcups2-dev${{ steps.arch.outputs.suffix }} libasound2-dev${{ steps.arch.outputs.suffix }} ${{ inputs.apt-extra-packages }}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
- name: 'Configure'

View File

@@ -68,7 +68,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk

View File

@@ -79,7 +79,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2

View File

@@ -130,7 +130,6 @@ jobs:
with:
platform: linux-x64
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
@@ -144,11 +143,10 @@ jobs:
platform: linux-x86
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -163,7 +161,6 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -178,7 +175,6 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -193,7 +189,6 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -209,7 +204,6 @@ jobs:
# Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -223,8 +217,6 @@ jobs:
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-gcc-cross-version: '10.4.0-4ubuntu1~22.04cross1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
@@ -290,7 +282,6 @@ jobs:
# build JDK, and we do not need the additional testing of the graphs.
extra-conf-options: '--disable-full-docs'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'

View File

@@ -105,7 +105,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2

View File

@@ -1,7 +1,7 @@
[general]
project=jdk-updates
project=jdk
jbs=JDK
version=21.0.1
version=22
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists

View File

@@ -1,3 +1,3 @@
# Contributing to the JDK
Please see <https://openjdk.org/contribute> for how to contribute.
Please see the [OpenJDK Developers Guide](https://openjdk.org/guide/).

View File

@@ -324,7 +324,8 @@ GB of free disk space is required.</p>
<p>Even for 32-bit builds, it is recommended to use a 64-bit build
machine, and instead create a 32-bit target using
<code>--with-target-bits=32</code>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of
RAM. (The more cores to use, the more memory you need.) At least 6 GB of
@@ -366,7 +367,7 @@ to date at the time of writing.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Mac OS X 10.13 (High Sierra)</td>
<td>macOS 13 (Ventura)</td>
</tr>
<tr class="odd">
<td>Windows</td>
@@ -401,7 +402,8 @@ to the build system, e.g. in arguments to <code>configure</code>. So,
use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than
<code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this
conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
is required for building the JDK on Windows. If you have a 64-bit OS, we
@@ -462,9 +464,8 @@ this makes it difficult for a project such as the JDK to keep pace with
a continuously updated machine running macOS. See the section on <a
href="#apple-xcode">Apple Xcode</a> on some strategies to deal with
this.</p>
<p>It is recommended that you use at least Mac OS X 10.13 (High Sierra).
At the time of writing, the JDK has been successfully compiled on macOS
10.12 (Sierra).</p>
<p>It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.</p>
<p>The standard macOS environment contains the basic tooling needed to
build, but for external libraries a package manager is recommended. The
JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but
@@ -543,7 +544,7 @@ to compile successfully without issues.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Apple Xcode 10.1 (using clang 10.0.0)</td>
<td>Apple Xcode 14.3.1 (using clang 14.0.3)</td>
</tr>
<tr class="odd">
<td>Windows</td>
@@ -1113,13 +1114,13 @@ just unpacked.</p>
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 minimum supported
version of Google Test is 1.13.0, whose source code can be obtained:</p>
version of Google Test is 1.14.0, 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/v1.13.0">here</a></li>
<li>or by checking out <code>v1.13.0</code> tag of
href="https://github.com/google/googletest/releases/tag/v1.14.0">here</a></li>
<li>or by checking out <code>v1.14.0</code> tag of
<code>googletest</code> project:
<code>git clone -b v1.13.0 https://github.com/google/googletest</code></li>
<code>git clone -b v1.14.0 https://github.com/google/googletest</code></li>
</ul>
<p>To execute the most basic tests (tier 1), use:</p>
<pre><code>make run-test-tier1</code></pre>
@@ -2255,18 +2256,7 @@ However, please bear in mind that the JDK is a massive project, and we
must ask you to follow our rules and guidelines to be able to accept
your contribution.</p>
<p>The official place to start is the <a
href="http://openjdk.org/contribute/">'How to contribute' page</a>.
There is also an official (but somewhat outdated and skimpy on details)
<a href="http://openjdk.org/guide/">Developer's Guide</a>.</p>
<p>If this seems overwhelming to you, the Adoption Group is there to
help you! A good place to start is their <a
href="https://wiki.openjdk.org/display/Adoption/New+Contributor">'New
Contributor' page</a>, or start reading the comprehensive <a
href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting
Started Kit</a>. The Adoption Group will also happily answer any
questions you have about contributing. Contact them by <a
href="http://mail.openjdk.org/mailman/listinfo/adoption-discuss">mail</a>
or <a href="http://openjdk.org/irc/">IRC</a>.</p>
href="https://openjdk.org/guide/">OpenJDK Developers Guide</a>.</p>
<h2 id="editing-this-document">Editing this document</h2>
<p>If you want to contribute changes to this document, edit
<code>doc/building.md</code> and then run

View File

@@ -167,7 +167,7 @@ time of writing.
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| macOS | macOS 13 (Ventura) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
@@ -270,8 +270,8 @@ difficult for a project such as the JDK to keep pace with a continuously updated
machine running macOS. See the section on [Apple Xcode](#apple-xcode) on some
strategies to deal with this.
It is recommended that you use at least Mac OS X 10.13 (High Sierra). At the time
of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).
It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.
The standard macOS environment contains the basic tooling needed to build, but
for external libraries a package manager is recommended. The JDK uses
@@ -337,7 +337,7 @@ issues.
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------ |
| Linux | gcc 11.2.0 |
| macOS | Apple Xcode 10.1 (using clang 10.0.0) |
| macOS | Apple Xcode 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 update 17.1.0 |
All compilers are expected to be able to compile to the C99 language standard,
@@ -884,11 +884,11 @@ Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
Building of Hotspot Gtest suite requires the source code of Google
Test framework. The top directory, which contains both `googletest`
and `googlemock` directories, should be specified via `--with-gtest`.
The minimum supported version of Google Test is 1.13.0, whose source
The minimum supported version of Google Test is 1.14.0, whose source
code can be obtained:
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.13.0)
* or by checking out `v1.13.0` tag of `googletest` project: `git clone -b v1.13.0 https://github.com/google/googletest`
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.14.0)
* or by checking out `v1.14.0` tag of `googletest` project: `git clone -b v1.14.0 https://github.com/google/googletest`
To execute the most basic tests (tier 1), use:
```
@@ -2032,20 +2032,7 @@ First of all: Thank you! We gladly welcome your contribution.
However, please bear in mind that the JDK is a massive project, and we must ask
you to follow our rules and guidelines to be able to accept your contribution.
The official place to start is the ['How to contribute' page](
http://openjdk.org/contribute/). There is also an official (but somewhat
outdated and skimpy on details) [Developer's Guide](
http://openjdk.org/guide/).
If this seems overwhelming to you, the Adoption Group is there to help you! A
good place to start is their ['New Contributor' page](
https://wiki.openjdk.org/display/Adoption/New+Contributor), or start
reading the comprehensive [Getting Started Kit](
https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/). The
Adoption Group will also happily answer any questions you have about
contributing. Contact them by [mail](
http://mail.openjdk.org/mailman/listinfo/adoption-discuss) or [IRC](
http://openjdk.org/irc/).
The official place to start is the [OpenJDK Developers Guide](https://openjdk.org/guide/).
## Editing this document

View File

@@ -478,6 +478,27 @@ endif
################################################################################
ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_GRAAL_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR))
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)
endif
$(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_GRAAL_BUNDLE, \
BUNDLE_NAME := $(STATIC_LIBS_GRAAL_BUNDLE_NAME), \
FILES := $(STATIC_LIBS_GRAAL_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_LIBS_GRAAL_IMAGE_DIR), \
SUBDIR := $(STATIC_LIBS_GRAAL_BUNDLE_SUBDIR), \
))
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
@@ -490,8 +511,9 @@ docs-jdk-bundles: $(DOCS_JDK_TARGETS)
docs-javase-bundles: $(DOCS_JAVASE_TARGETS)
docs-reference-bundles: $(DOCS_REFERENCE_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles \
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
static-libs-bundles jcov-bundles
static-libs-bundles static-libs-graal-bundles jcov-bundles

View File

@@ -66,11 +66,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
# In order to get a specific ordering it's necessary to specify the total
# ordering of tags as the tags are otherwise ordered in order of definition.
JAVADOC_TAGS := \
-tag beaninfo:X \
-tag revised:X \
-tag since.unbundled:X \
-tag Note:X \
-tag ToDo:X \
-tag 'apiNote:a:API Note:' \
-tag 'implSpec:a:Implementation Requirements:' \
-tag 'implNote:a:Implementation Note:' \

View File

@@ -43,10 +43,10 @@ $(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
TARGETS += $(COPY_JDK_IMG)
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS, \
SRC := $(STATIC_LIBS_IMAGE_DIR)/lib, \
SRC := $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib, \
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)/lib)), \
$(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib)), \
))
TARGETS += $(COPY_STATIC_LIBS)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
JDK_TARGETS :=
JRE_TARGETS :=
@@ -39,7 +40,7 @@ $(eval $(call IncludeCustomExtension, Images-pre.gmk))
################################################################################
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
ALL_MODULES := $(call FindAllModules) $(EXTRA_MODULES)
$(eval $(call ReadImportMetaData))
@@ -54,7 +55,10 @@ JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
JMODS_DIRS := $(EXTRA_JMODS_DIR) $(IMAGES_OUTPUTDIR)/jmods
JDK_JMODS := $(foreach m, $(JDK_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JRE_JMODS := $(foreach m, $(JRE_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=
@@ -71,7 +75,7 @@ JLINK_ORDER_RESOURCES += \
#
JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(IMAGES_OUTPUTDIR)/jmods \
--module-path $(call PathList, $(JMODS_DIRS)) \
--endian $(OPENJDK_TARGET_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
@@ -87,12 +91,15 @@ endif
JLINK_DISABLE_WARNINGS := | ( $(GREP) -v -e "WARNING: Using incubator module" || test "$$?" = "1" )
JDK_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk
JRE_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JDK_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST, $(JDK_IMAGE_SUPPORT_DIR)/_jlink_jdk.vardeps), \
OUTPUT_DIR := $(JDK_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $(JDK_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JDK_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
$(JLINK_JDK_EXTRA_OPTS) --output $(JDK_IMAGE_DIR) \
@@ -103,10 +110,10 @@ JLINK_JDK_TARGETS := $(jlink_jdk)
$(eval $(call SetupExecute, jlink_jre, \
WARN := Creating legacy jre image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JRE_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JRE_MODULES_LIST, $(JRE_IMAGE_SUPPORT_DIR)/_jlink_jre.vardeps), \
OUTPUT_DIR := $(JRE_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $(JRE_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JRE_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) --output $(JRE_IMAGE_DIR), \
@@ -142,7 +149,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jdk), \
OUTPUT_FILE := $$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $$(JDK_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
@@ -155,7 +162,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jre), \
OUTPUT_FILE := $$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $$(JRE_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JRE_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -138,7 +138,10 @@ ifeq ($(HAS_SPEC),)
# The spec files depend on the autoconf source code. This check makes sure
# the configuration is up to date after changes to configure.
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*))
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
version-numbers.conf branding.conf)))
ifeq ($(CONF_CHECK), fail)
@echo Error: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -46,8 +46,10 @@ JIMAGE_PKGS := \
jdk/internal/jrtfs \
#
# Compile jrt-fs.jar with the interim compiler, as it
# ends up in the image, this will ensure reproducible classes
$(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
COMPILER := bootjdk, \
COMPILER := interim, \
DISABLED_WARNINGS := options, \
TARGET_RELEASE := $(TARGET_RELEASE_JDK8), \
SRC := $(TOPDIR)/src/java.base/share/classes, \

View File

@@ -233,6 +233,7 @@ ALL_TARGETS += $(LAUNCHER_TARGETS)
HOTSPOT_VARIANT_TARGETS := $(addprefix hotspot-, $(JVM_VARIANTS))
HOTSPOT_VARIANT_GENSRC_TARGETS := $(addsuffix -gensrc, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_LIBS_TARGETS := $(addsuffix -libs, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_STATIC_LIBS_TARGETS := $(addsuffix -static-libs, $(HOTSPOT_VARIANT_TARGETS))
define DeclareHotspotGensrcRecipe
hotspot-$1-gensrc:
@@ -251,6 +252,14 @@ endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
define DeclareHotspotStaticLibsRecipe
hotspot-$1-static-libs:
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f lib/CompileLibraries.gmk \
JVM_VARIANT=$1 STATIC_LIBS=true)
endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotStaticLibsRecipe,$v)))
$(eval $(call SetupTarget, hotspot-ide-project, \
MAKEFILE := ide/visualstudio/hotspot/CreateVSProject, \
DEPS := hotspot exploded-image, \
@@ -298,7 +307,7 @@ $(eval $(call SetupTarget, eclipse-shared-mixed-env, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS)
$(HOTSPOT_VARIANT_LIBS_TARGETS) $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS)
################################################################################
# Help and user support
@@ -462,6 +471,12 @@ $(eval $(call SetupTarget, symbols-image, \
$(eval $(call SetupTarget, static-libs-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-graal-image, \
))
$(eval $(call SetupTarget, mac-jdk-bundle, \
@@ -489,7 +504,7 @@ $(eval $(call SetupTarget, exploded-image-optimize, \
$(eval $(call SetupTarget, graal-builder-image, \
MAKEFILE := GraalBuilderImage, \
DEPS := jdk-image static-libs-image, \
DEPS := jdk-image static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
@@ -836,6 +851,12 @@ $(eval $(call SetupTarget, static-libs-bundles, \
DEPS := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-bundles, \
MAKEFILE := Bundles, \
TARGET := static-libs-graal-bundles, \
DEPS := static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
$(eval $(call SetupTarget, jcov-bundles, \
MAKEFILE := Bundles, \
@@ -889,6 +910,7 @@ else
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v-gensrc: java.base-copy buildtools-hotspot) \
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
$(eval hotspot-$v-static-libs: hotspot-$v-gensrc java.base-copy) \
)
# If not already set, set the JVM variant target so that the JVM will be built.
@@ -951,11 +973,15 @@ else
jdk.compiler-gendata: $(GENSRC_MODULEINFO_TARGETS)
# Declare dependencies between jmod targets.
# java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
# java.base jmod needs jrt-fs.jar and access to the jmods for all non
# upgradeable modules and their transitive dependencies.
# When creating the BUILDJDK, we don't need to add hashes to java.base, thus
# we don't need to depend on all other jmods
ifneq ($(CREATING_BUILDJDK), true)
java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
java.base-jmod: jrtfs-jar $(addsuffix -jmod, $(filter-out java.base, $(sort \
$(foreach m, $(filter-out $(call FindAllUpgradeableModules), $(JMOD_MODULES)), \
$m $(call FindTransitiveDepsForModules, $m) \
))))
endif
# If not already set, set the JVM target so that the JVM will be built.
@@ -1047,7 +1073,9 @@ else
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: $(STATIC_LIBS_TARGETS)
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
bootcycle-images: jdk-image
@@ -1097,6 +1125,7 @@ hotspot: $(HOTSPOT_VARIANT_TARGETS)
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-libs: hotspot-$v-libs) \
$(eval hotspot-gensrc: hotspot-$v-gensrc) \
$(eval hotspot-static-libs: hotspot-$v-static-libs) \
)
gensrc: $(GENSRC_TARGETS)
@@ -1259,7 +1288,8 @@ all-images: product-images test-image all-docs-images
# all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
hotspot-gensrc gensrc gendata \
copy java libs static-libs launchers jmods \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image runnable-buildjdk \
@@ -1401,13 +1431,13 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
# are internal only, to support Init.gmk.
print-targets:
@$(ECHO) $(sort $(ALL_TARGETS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_TARGETS))))
print-modules:
@$(ECHO) $(sort $(ALL_MODULES))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_MODULES))))
print-tests:
@$(ECHO) $(sort $(ALL_NAMED_TESTS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_NAMED_TESTS))))
create-main-targets-include:
$(call LogInfo, Generating main target list)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -38,11 +38,16 @@ _MAINSUPPORT_GMK := 1
# TARGET the makefile target
# ARGS arguments to the makefile
# DEPS the target(s) this new rule depends on
# DIR the directory of the makefile (defaults to $(TOPDIR)/make)
#
SetupTarget = $(NamedParamsMacroTemplate)
define SetupTargetBody
ifeq ($$($1_DIR), )
$1_DIR := $(TOPDIR)/make
endif
$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
+($(CD) $$($1_DIR) && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
ALL_TARGETS += $1

View File

@@ -178,7 +178,8 @@ ifeq ($(TEST_JOBS), 0)
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
c = c + 0.5; \
printf "%d", c; \
}')
endif
@@ -800,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
@@ -860,11 +863,12 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-workdir-$1:
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -907,7 +911,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-workdir-$1
run-test-$1: pre-run-test clean-outputdirs-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -944,9 +948,9 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1 clean-workdir-$1
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
TEST_TARGETS += parse-test-$1
endef

View File

@@ -122,6 +122,7 @@ $(eval $(call SetupVariable,JT_HOME))
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
$(eval $(call SetupVariable,JTREG_JAVA,$(BOOT_JDK)/bin/java))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -248,6 +249,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
TOPDIR := $(TOPDIR), \
OUTPUTDIR := $(OUTPUTDIR), \
BOOT_JDK := $(BOOT_JDK), \
JTREG_JAVA := $(FIXPATH) $(JTREG_JAVA), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -38,19 +38,43 @@ ALL_MODULES = $(call FindAllModules)
TARGETS :=
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_IMAGE_DIR)/lib
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
endif
# Copy JDK static libs to the image.
$(foreach m, $(ALL_MODULES), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
FLATTEN := true, \
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
DEST := $(IMAGE_DEST_DIR), \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
$(eval STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$m)) \
)
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
# Copy libjvm static library to the image.
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static, \
DEST := $(IMAGE_DEST_DIR)/$v, \
FILES := $(wildcard $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static/*$(STATIC_LIBRARY_SUFFIX)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$v)) \
$(eval HOTSPOT_VARIANT_STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$v)) \
)
endif
################################################################################
static-libs-image: $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS) $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
all: $(TARGETS)
.PHONY: all

View File

@@ -76,8 +76,8 @@ TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_class
-Dkeystore.pkcs12.macAlgorithm=NONE \
build.tools.generatecacerts.GenerateCacerts
TOOL_GENERATEEMOJIDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateemojidata.GenerateEmojiData
TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateextraproperties.GenerateExtraProperties
TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible
@@ -137,4 +137,7 @@ PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpa
##########################################################################################
# Hook to include the corresponding custom post file, if present.
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))
endif # _TOOLS_GMK

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -41,7 +41,6 @@ $(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
modules/java.base/sun/security/internal/interfaces \
modules/java.base/sun/security/internal/spec \
modules/java.base/com/sun/crypto/provider \
modules/jdk.crypto.ec/sun/security/ec \
modules/jdk.crypto.mscapi/sun/security/mscapi \
modules/jdk.crypto.cryptoki/sun/security/pkcs11 \
modules/jdk.crypto.cryptoki/sun/security/pkcs11/wrapper \

View File

@@ -406,9 +406,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# WARNING: This might be a bad thing to do. You need to be sure you want to
# have a configuration in this directory. Do some sanity checks!
if test ! -e "$OUTPUTDIR/spec.gmk"; then
# If we have a spec.gmk, we have run here before and we are OK. Otherwise, check for
# other files
if test ! -e "$OUTPUTDIR/spec.gmk" && test ! -e "$OUTPUTDIR/configure-support/generated-configure.sh"; then
# If we have a spec.gmk or configure-support/generated-configure.sh,
# we have run here before and we are OK. Otherwise, check for other files
files_present=`$LS $OUTPUTDIR`
# Configure has already touched config.log and confdefs.h in the current dir when this check
# is performed.
@@ -423,8 +423,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_MSG_NOTICE([Current directory is $CONFIGURE_START_DIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
AC_MSG_NOTICE([(as opposed to creating a configuration in <src_root>/build/<conf-name>).])
AC_MSG_NOTICE([However, this directory is not empty. This is not allowed, since it could])
AC_MSG_NOTICE([seriously mess up just about everything.])
AC_MSG_NOTICE([However, this directory is not empty, additionally to some allowed files])
AC_MSG_NOTICE([it contains $filtered_files.])
AC_MSG_NOTICE([This is not allowed, since it could seriously mess up just about everything.])
AC_MSG_NOTICE([Try 'cd $TOPDIR' and restart configure])
AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
AC_MSG_ERROR([Will not continue creating configuration in $CONFIGURE_START_DIR])
@@ -478,7 +479,7 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
# df on AIX does not understand -l. On modern AIXes it understands "-T local" which
# is the same. On older AIXes we just continue to live with a "not local build" warning.
if test "x$OPENJDK_TARGET_OS" = xaix; then
if "$DF -T local > /dev/null 2>&1"; then
if $DF -T local > /dev/null 2>&1; then
DF_LOCAL_ONLY_OPTION='-T local'
else # AIX may use GNU-utils instead
DF_LOCAL_ONLY_OPTION='-l'

View File

@@ -243,8 +243,11 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
fi
fi
# The CCACHE_BASEDIR needs to end with '/' as ccache will otherwise think
# directories next to it, that have the base dir name as a prefix, are sub
# directories of CCACHE_BASEDIR.
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR \
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$TOPDIR $CCACHE"
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$WORKSPACE_ROOT/ $CCACHE"
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1

View File

@@ -560,8 +560,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:wchar_t-"
# The -utf-8 option sets source and execution character sets to UTF-8 to enable correct
# compilation of all source files regardless of the active code page on Windows.
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -Zc:wchar_t-"
fi
# CFLAGS C language level for JDK sources (hotspot only uses C++)
@@ -797,15 +799,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -816,6 +809,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
REPRODUCIBLE_CFLAGS=
]
)
AC_SUBST(REPRODUCIBLE_CFLAGS)
fi
# Prevent the __FILE__ macro from generating absolute paths into the built
@@ -849,6 +843,22 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
FILE_MACRO_CFLAGS=
]
)
if test "x$FILE_MACRO_CFLAGS" != x; then
# Add -pathmap for all VS system include paths using Windows
# full Long path name that is generated by the compiler
# Not enabled under WSL as there is no easy way to obtain the
# Windows full long paths, thus reproducible WSL builds will
# depend on building with the same VS toolchain install location.
if test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl1" && test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl2"; then
for ipath in ${$3SYSROOT_CFLAGS}; do
if test "x${ipath:0:2}" == "x-I"; then
ipath_path=${ipath#"-I"}
UTIL_FIXUP_WIN_LONG_PATH(ipath_path)
FILE_MACRO_CFLAGS="$FILE_MACRO_CFLAGS -pathmap:\"$ipath_path\"=vsi"
fi
done
fi
fi
fi
AC_MSG_CHECKING([how to prevent absolute paths in output])
@@ -926,17 +936,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -60,7 +60,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Add -z,defs, to forbid undefined symbols in object files.
# add -z,relro (mark relocations read only) for all libs
# add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
# add --no-as-needed to disable default --as-needed link flag on some GCC toolchains
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-as-needed"
# Linux : remove unused code+data in link step
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
@@ -72,9 +73,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY=""
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
@@ -161,6 +167,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Export some intermediate variables for compatibility
LDFLAGS_CXX_JDK="$BASIC_LDFLAGS_ONLYCXX $BASIC_LDFLAGS_ONLYCXX_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY"
AC_SUBST(LDFLAGS_CXX_JDK)
AC_SUBST(LDFLAGS_CXX_PARTIAL_LINKING)
])
################################################################################

View File

@@ -88,6 +88,16 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
AC_SUBST(RCFLAGS)
])
AC_DEFUN([FLAGS_SETUP_NMFLAGS],
[
# On AIX, we need to set NM flag -X64 for processing 64bit object files
if test "x$OPENJDK_TARGET_OS" = xaix; then
NMFLAGS="-X64"
fi
AC_SUBST(NMFLAGS)
])
################################################################################
# platform independent
AC_DEFUN([FLAGS_SETUP_ASFLAGS],

View File

@@ -301,6 +301,7 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(MACHINE_FLAG)
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)
@@ -428,6 +429,7 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
FLAGS_SETUP_ARFLAGS
FLAGS_SETUP_STRIPFLAGS
FLAGS_SETUP_RCFLAGS
FLAGS_SETUP_NMFLAGS
FLAGS_SETUP_ASFLAGS
FLAGS_SETUP_ASFLAGS_CPU_DEP([TARGET])

View File

@@ -822,6 +822,9 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
$RM "$CODESIGN_TESTFILE"
$TOUCH "$CODESIGN_TESTFILE"
CODESIGN_SUCCESS=false
$ECHO "check codesign, calling $CODESIGN $PARAMS $CODESIGN_TESTFILE" >&AS_MESSAGE_LOG_FD
eval \"$CODESIGN\" $PARAMS \"$CODESIGN_TESTFILE\" 2>&AS_MESSAGE_LOG_FD \
>&AS_MESSAGE_LOG_FD && CODESIGN_SUCCESS=true
$RM "$CODESIGN_TESTFILE"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -68,12 +68,20 @@ AC_DEFUN_ONCE([LIB_SETUP_CUPS],
fi
fi
if test "x$CUPS_FOUND" = xno; then
# Are the cups headers installed in the default /usr/include location?
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
# Are the cups headers installed in the default AIX or /usr/include location?
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
AC_CHECK_HEADERS([/opt/freeware/include/cups/cups.h /opt/freeware/include/cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS="-I/opt/freeware/include"
DEFAULT_CUPS=yes
])
else
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
fi
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])

View File

@@ -57,7 +57,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
if test "x${with_libffi}" != x; then
LIBFFI_LIB_PATH="${with_libffi}/lib"
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
else
LIBFFI_LIBS="${with_libffi}/lib/libffi.lib"
fi
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
fi
@@ -67,7 +71,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIB_PATH="${with_libffi_lib}"
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
else
LIBFFI_LIBS="${with_libffi_lib}/libffi.lib"
fi
LIBFFI_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
@@ -106,12 +114,13 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $LIBFFI_LIBS"
AC_MSG_CHECKING([if libffi works])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
[
ffi_call(NULL, NULL, NULL, NULL);
@@ -120,9 +129,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[LIBFFI_WORKS=yes],
[LIBFFI_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBFFI_WORKS])
if test "x$LIBFFI_WORKS" = xno; then
@@ -130,39 +136,71 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
# Check if FFI_GO_CLOSURES is properly defined. On some distributions, notably MacOS AArch64,
# ffitarget.h (included from ffi.h) does not explicitly define FFI_GO_CLOSURES. This makes the
# further include of ffi.h trigger the "FFI_GO_CLOSURES is undefined" warning, which fails
# the build when warnings are fatal.
AC_MSG_CHECKING([for FFI_GO_CLOSURES definition])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <ffi.h>
#ifndef FFI_GO_CLOSURES
#error "FFI_GO_CLOSURES is not defined"
#endif
][])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no, defining])
LIBFFI_CFLAGS="$LIBFFI_CFLAGS -DFFI_GO_CLOSURES=0"
]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
# Find the libffi.so.X to bundle
if test "x${ENABLE_LIBFFI_BUNDLING}" = "xtrue"; then
if test "x${OPENJDK_TARGET_OS}" = "xmacosx"; then
LIBFFI_LIB_FILE_NAME=libffi.?.dylib
elif test "x${OPENJDK_TARGET_OS}" = "xwindows"; then
LIBFFI_LIB_FILE_NAME=libffi.dll
else
LIBFFI_LIB_FILE_NAME=libffi.so.?
fi
AC_MSG_CHECKING([for libffi lib file location])
if test "x${LIBFFI_LIB_PATH}" != x; then
if test -e ${LIBFFI_LIB_PATH}/libffi.so.?; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/libffi.so.?"
if test -e ${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling in ${LIBFFI_LIB_PATH}])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling in ${LIBFFI_LIB_PATH}])
fi
else
# If we don't have an explicit path, look in a few obvious places
if test "x${OPENJDK_TARGET_CPU}" = "xx86"; then
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64" || test "x${OPENJDK_TARGET_CPU}" = "xaarch64"; then
if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
else
# Fallback on the default /usr/lib dir
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
fi
fi

View File

@@ -28,8 +28,8 @@
################################################################################
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.2
GTEST_MINIMUM_VERSION=1.13.0
JTREG_MINIMUM_VERSION=7.3.1
GTEST_MINIMUM_VERSION=1.14.0
###############################################################################
#
@@ -227,12 +227,48 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
UTIL_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
# Specify a JDK for running jtreg. Defaults to the BOOT_JDK.
AC_ARG_WITH(jtreg-jdk, [AS_HELP_STRING([--with-jdk],
[path to JDK for running jtreg @<:@BOOT_JDK@:>@])])
AC_MSG_CHECKING([for jtreg jdk])
if test "x${with_jtreg_jdk}" != x; then
if test "x${with_jtreg_jdk}" = xno; then
AC_MSG_RESULT([no, jtreg jdk not specified])
elif test "x${with_jtreg_jdk}" = xyes; then
AC_MSG_RESULT([not specified])
AC_MSG_ERROR([--with-jtreg-jdk needs a value])
else
JTREG_JDK="${with_jtreg_jdk}"
AC_MSG_RESULT([$JTREG_JDK])
UTIL_FIXUP_PATH(JTREG_JDK)
if test ! -f "$JTREG_JDK/bin/java"; then
AC_MSG_ERROR([Could not find jtreg java at $JTREG_JDK/bin/java])
fi
fi
else
JTREG_JDK="${BOOT_JDK}"
AC_MSG_RESULT([no, using BOOT_JDK])
fi
JTREG_JAVA="$JTREG_JDK/bin/java"
UTIL_FIXUP_PATH(JTREG_JAVA)
JTREG_JAVA="$FIXPATH $JTREG_JAVA"
AC_SUBST([JTREG_JAVA])
# Verify jtreg version
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([jtreg jar existence])
if test ! -f "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([Could not find jtreg jar at $JT_HOME/lib/jtreg.jar])
fi
AC_MSG_CHECKING([jtreg version number])
# jtreg -version looks like this: "jtreg 6.1+1-19"
# Extract actual version part ("6.1" in this case)
jtreg_version_full=`$JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2`
jtreg_version_full=$($JTREG_JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2)
jtreg_version=${jtreg_version_full/%+*}
AC_MSG_RESULT([$jtreg_version])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -35,6 +35,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
X_CFLAGS=
X_LIBS=
else
x_libraries_orig="$x_libraries"
if test "x${with_x}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
@@ -48,6 +49,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
fi
if test "x$x_libraries" = xNONE; then
x_libraries="${with_x}/lib"
x_libraries_orig="$x_libraries"
fi
else
# Check if the user has specified sysroot, but not --with-x, --x-includes or --x-libraries.
@@ -82,8 +84,8 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
# this doesn't make sense so we remove it; same for sysroot (devkit).
if test "x$COMPILE_TYPE" = xcross || (test "x$SYSROOT" != "x" && test "x$x_libraries_orig" = xNONE); then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi

View File

@@ -108,12 +108,6 @@ AC_DEFUN([LIB_SETUP_JVM_LIBS],
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
fi
# Because RISC-V only has word-sized atomics, it requires libatomic where
# other common architectures do not, so link libatomic by default.
if test "x$OPENJDK_$1_OS" = xlinux && test "x$OPENJDK_$1_CPU" = xriscv64; then
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
])
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -567,8 +567,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xppc64le; then
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xriscv64; then
HOTSPOT_$1_CPU_DEFINE=RISCV64
@@ -577,10 +575,14 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=SPARC
elif test "x$OPENJDK_$1_CPU" = xppc; then
HOTSPOT_$1_CPU_DEFINE=PPC32
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xs390; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xs390x; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xloongarch64; then
HOTSPOT_$1_CPU_DEFINE=LOONGARCH64
elif test "x$OPENJDK_$1_CPU" != x; then
HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
fi
@@ -660,11 +662,10 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
PLATFORM_CHECK_DEPRECATION
])
AC_DEFUN_ONCE([PLATFORM_CHECK_DEPRECATION],
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
AC_REQUIRE([PLATFORM_EXTRACT_TARGET_AND_BUILD])
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])

View File

@@ -424,6 +424,7 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
BRANCH_PROTECTION_CFLAGS := @BRANCH_PROTECTION_CFLAGS@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
@@ -546,6 +547,8 @@ JVM_LIBS := @JVM_LIBS@
BASIC_ASFLAGS := @BASIC_ASFLAGS@
MACHINE_FLAG := @MACHINE_FLAG@
# These flags might contain variables set by a custom extension that is included later.
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
@@ -572,6 +575,9 @@ JDKEXE_LIBS:=@JDKEXE_LIBS@
# LDFLAGS specific to C++ linking.
LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
# LDFLAGS specific to partial linking.
LDFLAGS_CXX_PARTIAL_LINKING:=@LDFLAGS_CXX_PARTIAL_LINKING@
# Sometimes a different linker is needed for c++ libs
LDCXX := @LDCXX@
# The flags for linking libstdc++ linker.
@@ -601,6 +607,7 @@ AR := @AR@
ARFLAGS:=@ARFLAGS@
NM:=@NM@
NMFLAGS:=@NMFLAGS@
STRIP:=@STRIP@
OBJDUMP:=@OBJDUMP@
CXXFILT:=@CXXFILT@
@@ -659,6 +666,8 @@ JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
BUILDJDK_JAVA_FLAGS_SMALL:=@BUILDJDK_JAVA_FLAGS_SMALL@
JAVA_TOOL_FLAGS_SMALL:=@JAVA_TOOL_FLAGS_SMALL@
JTREG_JAVA:=@JTREG_JAVA@
# The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk
# for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD
# versions of the variables directly.
@@ -928,6 +937,10 @@ DOCS_OUTPUTDIR := $(DOCS_JDK_IMAGE_DIR)
STATIC_LIBS_IMAGE_SUBDIR := static-libs
STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR)
# Graal static libs image
STATIC_LIBS_GRAAL_IMAGE_SUBDIR := static-libs-graal
STATIC_LIBS_GRAAL_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_GRAAL_IMAGE_SUBDIR)
# Graal builder image
GRAAL_BUILDER_IMAGE_SUBDIR := graal-builder-jdk
GRAAL_BUILDER_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(GRAAL_BUILDER_IMAGE_SUBDIR)
@@ -974,6 +987,7 @@ DOCS_JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_JAVASE_BUNDLE_NAME := javase-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_REFERENCE_BUNDLE_NAME := jdk-reference-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
STATIC_LIBS_GRAAL_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs-graal$(DEBUG_PART).tar.gz
JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)

View File

@@ -804,7 +804,11 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
case $TOOLCHAIN_TYPE in
gcc|clang)
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, c++filt)
if test "x$OPENJDK_TARGET_OS" = xaix; then
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, ibm-llvm-cxxfilt)
else
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, c++filt)
fi
;;
esac
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -509,7 +509,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
FAILURE="Directory $1 does not exist or is not readable"
fi
if test "[x]ARG_CHECK_FOR_FILES" != x; then
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
for file in ARG_CHECK_FOR_FILES; do
found_files=$($ECHO $(ls $1/$file 2> /dev/null))
if test "x$found_files" = x; then
@@ -781,25 +781,25 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
else
AC_MSG_RESULT([$ARG_RESULT, $REASON])
fi
fi
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
ARG_CHECK_VALUE
ARG_CHECK_VALUE
ARG_RESULT="$RESULT"
fi
ARG_RESULT="$RESULT"
fi
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
fi
fi
# Execute result payloads, if present

View File

@@ -118,6 +118,24 @@ AC_DEFUN([UTIL_FIXUP_PATH],
fi
])
##############################################################################
# Fixup path to be a Windows full long path
# Note: Only supported with cygwin/msys2 (cygpath tool)
AC_DEFUN([UTIL_FIXUP_WIN_LONG_PATH],
[
# Only process if variable expands to non-empty
path="[$]$1"
if test "x$path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
win_path=$($PATHTOOL -wl "$path")
if test "x$win_path" != "x$path"; then
$1="$win_path"
fi
fi
fi
])
###############################################################################
# Check if the given file is a unix-style or windows-style executable, that is,
# if it expects paths in unix-style or windows-style.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -48,12 +48,12 @@ define GetSymbols
$(SED) -e 's/#.*//;s/global://;s/local://;s/\;//;s/^[ ]*/_/;/^_$$$$/d' | \
$(EGREP) -v "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" > \
$$(@D)/$$(basename $$(@F)).symbols || true; \
$(NM) $$($1_TARGET) | $(GREP) " T " | \
$(NM) $(NMFLAGS) $$($1_TARGET) | $(GREP) " T " | \
$(EGREP) "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" | \
$(CUT) -d ' ' -f 3 >> $$(@D)/$$(basename $$(@F)).symbols || true;\
else \
$(ECHO) "Getting symbols from nm"; \
$(NM) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
$(NM) $(NMFLAGS) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
$(EGREP) -v "non-external|private extern|__TEXT,__eh_frame" | \
$(SED) -e 's/.* //' > $$(@D)/$$(basename $$(@F)).symbols; \
fi
@@ -215,7 +215,24 @@ DEPENDENCY_TARGET_SED_PATTERN := \
# The fix-deps-file macro is used to adjust the contents of the generated make
# dependency files to contain paths compatible with make.
#
REWRITE_PATHS_RELATIVE = false
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
REWRITE_PATHS_RELATIVE = true
endif
# CCACHE_BASEDIR needs fix-deps-file as makefiles use absolute filenames for
# object files while CCACHE_BASEDIR will make ccache relativize all paths for
# its compiler. The compiler then produces relative dependency files.
# make does not know a relative and absolute filename is the same so it will
# ignore such dependencies. This only applies when the OUTPUTDIR is inside
# the WORKSPACE_ROOT.
ifneq ($(CCACHE), )
ifneq ($(filter $(WORKSPACE_ROOT)/%, $(OUTPUTDIR)), )
REWRITE_PATHS_RELATIVE = true
endif
endif
ifeq ($(REWRITE_PATHS_RELATIVE), true)
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
MakeCommandRelative = \
$(CD) $(WORKSPACE_ROOT) && \
@@ -500,7 +517,7 @@ endef
# used both for C and C++.
# LIBS_<toolchain> the libraries to link to for the specified toolchain,
# used both for C and C++.
# LIBS_<OS>_<toolchain> the libraries to link to for the specified target
# LIBS_<toolchain>_<OS> the libraries to link to for the specified target
# OS and toolchain, used both for C and C++.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
@@ -548,6 +565,7 @@ endef
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
# BUILD_INFO_LOG_MACRO Overrides log level of the build info log message, default LogWarn
# STATIC_LIB_EXCLUDE_OBJS exclude objects that matches from static library
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
@@ -726,6 +744,12 @@ define SetupNativeCompilationBody
endif
# Sort to remove duplicates and provide a reproducible order on the input files to the linker.
$1_ALL_OBJS := $$(sort $$($1_EXPECTED_OBJS) $$($1_EXTRA_OBJECT_FILES))
ifeq ($(STATIC_LIBS), true)
# Exclude the object files that match with $1_STATIC_LIB_EXCLUDE_OBJS.
ifneq ($$($1_STATIC_LIB_EXCLUDE_OBJS), )
$1_ALL_OBJS := $$(call not-containing, $$($1_STATIC_LIB_EXCLUDE_OBJS), $$($1_ALL_OBJS))
endif
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS, TOOLCHAIN_TYPE and
# OPENJDK_TARGET_OS plus OPENJDK_TARGET_CPU pair dependent variables for CFLAGS.
@@ -1024,12 +1048,11 @@ define SetupNativeCompilationBody
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and TOOLCHAIN_TYPE
# dependent variables for LDFLAGS and LIBS, and additionally the pair dependent
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS for LDFLAGS, or OPENJDK_TARGET_OS plus
# TOOLCHAIN_TYPE for LIBS
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS
$1_EXTRA_LDFLAGS += $$($1_LDFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_LDFLAGS_$(TOOLCHAIN_TYPE)) $$($1_LDFLAGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
$1_EXTRA_LIBS += $$($1_LIBS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LIBS_$(OPENJDK_TARGET_OS)) \
$$($1_LIBS_$(OPENJDK_TARGET_OS)_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE))
$$($1_LIBS_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
ifneq ($$($1_REAL_MAPFILE), )
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
@@ -1130,9 +1153,60 @@ define SetupNativeCompilationBody
endif
endif
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
# If we are building static library, 'AR' on macosx/aix may not support @-file.
ifeq ($$($1_TYPE), STATIC_LIBRARY)
ifeq ($(call isTargetOs, macosx aix), true)
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
ifeq ($$($1_TYPE), STATIC_LIBRARY)
# Include partial linking when building the static library with clang on linux.
ifeq ($(call isTargetOs, linux), true)
ifneq ($(findstring $(TOOLCHAIN_TYPE), clang), )
$1_ENABLE_PARTIAL_LINKING := true
endif
endif
$1_VARDEPS := $$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $$($1_LIBS) \
$$($1_EXTRA_LIBS)
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_VARDEPS += $$($1_LD) $$($1_SYSROOT_LDFLAGS)
endif
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1145,11 +1219,35 @@ define SetupNativeCompilationBody
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_VARDEPS_FILE) $$(STATIC_MAPFILE_DEP)
$1_AR_OBJ_ARG := $$($1_LD_OBJ_ARG)
# With clang on linux, partial linking is enabled and 'AR' takes the output
# object from the partial linking step.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_TARGET_RELOCATABLE := $$($1_OBJECT_DIR)/$$($1_PREFIX)$$($1_NAME)_relocatable$(OBJ_SUFFIX)
$1_AR_OBJ_ARG := $$($1_TARGET_RELOCATABLE)
endif
$$($1_TARGET): $$($1_TARGET_DEPS)
ifneq ($$($1_OBJ_FILE_LIST), )
ifeq ($$($1_LINK_OBJS_RELATIVE), true)
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS_RELATIVE, $$($1_OBJ_FILE_LIST)))
else
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS, $$($1_OBJ_FILE_LIST)))
endif
endif
$$(call LogInfo, Building static library $$($1_BASENAME))
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
# Do partial linking.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_partial_link, \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_LD) $(LDFLAGS_CXX_PARTIAL_LINKING) $$($1_SYSROOT_LDFLAGS) \
$(LD_OUT_OPTION)$$($1_TARGET_RELOCATABLE) \
$$($1_LD_OBJ_ARG))
endif
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_ALL_OBJS) \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_AR_OBJ_ARG) \
$$($1_RES))
ifeq ($(STATIC_BUILD), true)
ifeq ($$($1_USE_MAPFILE_FOR_SYMBOLS), true)
@@ -1201,40 +1299,6 @@ define SetupNativeCompilationBody
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$$($1_REAL_MAPFILE) $$($1_VARDEPS_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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
@@ -87,6 +87,15 @@ define SetupTestFilesCompilationBody
$1_BUILD_INFO := $$($1_OUTPUT_DIR)/_$1-build-info.marker
# Tests are built with internal debug symbols where supported.
# With Visual Studio or on macosx, we revert to external.
$1_COPY_DEBUG_SYMBOLS := false
ifeq ($(TOOLCHAIN_TYPE), microsoft)
$1_COPY_DEBUG_SYMBOLS := true
else ifeq ($(call isTargetOs, macosx), true)
$1_COPY_DEBUG_SYMBOLS := true
endif
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
@@ -106,7 +115,7 @@ define SetupTestFilesCompilationBody
LIBS := $$($1_LIBS_$$(name)), \
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
COPY_DEBUG_SYMBOLS := $$($1_COPY_DEBUG_SYMBOLS), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -36,7 +36,6 @@ DOCS_MODULES= \
jdk.charsets \
jdk.compiler \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.editpad \
jdk.hotspot.agent \

View File

@@ -25,17 +25,17 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.13.0
JTREG_VERSION=7.2+1
GTEST_VERSION=1.14.0
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=bb863b2d542976d1ae4b7b81af3e78b1e4247a64644350b552d298d8dc5980dc
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a30c454a9bef8f46d5f1bf3122830014a8fbe7ac03b5f8729bc3add4b92a1d0a
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=47cf960d9bb89dbe987535a389f7e26c42de7c984ef5108612d77c81aa8cc6a4
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=af32e84c11009f72f783fdcdc9917efc277893988f097e198e2576875d1e88c1
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=c92fae5e42b9aecf444a66c8ec563c652f60b1e231dfdd33a4f5a3e3603058fb
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=5434faaf029e66e7ce6e75770ca384de476750984a7d2881ef7686894c4b4944

View File

@@ -390,8 +390,8 @@ var getJibProfilesCommon = function (input, data) {
};
};
common.boot_jdk_version = "20";
common.boot_jdk_build_number = "36";
common.boot_jdk_version = "21";
common.boot_jdk_build_number = "35";
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -463,7 +463,8 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_32bit),
configure_args: concat(common.configure_args_32bit,
"--enable-deprecated-ports"),
},
"windows-aarch64": {
@@ -944,10 +945,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ],
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
labels: "test"
}
};
profiles = concatObjects(profiles, testOnlyProfiles);
@@ -1083,7 +1081,7 @@ var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.1",
macosx: "Xcode14.3.1+1.0",
windows_x64: "VS2022-17.1.0+1.1",
linux_aarch64: input.build_cpu == "x64" ? "gcc11.2.0-OL7.6+1.1" : "gcc11.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
@@ -1187,9 +1185,9 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "jpg",
product: "jtreg",
version: "7.2",
version: "7.3.1",
build_number: "1",
file: "bundles/jtreg-7.2+1.zip",
file: "bundles/jtreg-7.3.1+1.zip",
environment_name: "JT_HOME",
environment_path: input.get("jtreg", "home_path") + "/bin",
configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),
@@ -1198,12 +1196,12 @@ var getJibProfilesDependencies = function (input, common) {
jmh: {
organization: common.organization,
ext: "tar.gz",
revision: "1.35+1.0"
revision: "1.37+1.0"
},
jcov: {
organization: common.organization,
revision: "3.0-14-jdk-asm+1.0",
revision: "3.0-15-jdk-asm+1.0",
ext: "zip",
environment_name: "JCOV_HOME",
},
@@ -1269,7 +1267,7 @@ var getJibProfilesDependencies = function (input, common) {
gtest: {
organization: common.organization,
ext: "tar.gz",
revision: "1.13.0+1.0"
revision: "1.14.0+1.0"
},
libffi: {
@@ -1519,7 +1517,7 @@ var getVersionNumbers = function () {
var isWsl = function (input) {
return ( input.build_osenv == "wsl"
|| (input.build_os == "linux"
&& java.lang.System.getProperty("os.version").contains("Microsoft")));
&& java.lang.System.getProperty("os.version").toLowerCase().contains("microsoft")));
}
var error = function (s) {

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -77,7 +77,6 @@ PLATFORM_MODULES= \
jdk.accessibility \
jdk.charsets \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.httpserver \
jdk.jsobject \

View File

@@ -26,17 +26,17 @@
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=21
DEFAULT_VERSION_FEATURE=22
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=1
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-10-17
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2024-03-19
DEFAULT_VERSION_CLASSFILE_MAJOR=66 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21"
DEFAULT_JDK_SOURCE_TARGET_VERSION=21
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="21 22"
DEFAULT_JDK_SOURCE_TARGET_VERSION=22
DEFAULT_PROMOTED_VERSION_PRE=ea

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 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
@@ -40,7 +40,7 @@ public class $NAME_CLZ$ extends Charset implements HistoricallyNamedCharset
}
public String historicalName() {
return "$NAME_HIS$";
return "$NAME_HIST$";
}
public boolean contains(Charset cs) {

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
# used in jdk8.
############################### sbcs #########################################
#
# clzName csName hisName containASCII pkg
# clzName csName histName containASCII pkg
#
IBM437 IBM437 Cp437 false sun.nio.cs
IBM737 x-IBM737 Cp737 false sun.nio.cs
@@ -46,7 +46,7 @@ IBM1112 x-IBM1112 Cp1112 false sun.nio.cs.ext
IBM1122 x-IBM1122 Cp1122 false sun.nio.cs.ext
IBM1123 x-IBM1123 Cp1123 false sun.nio.cs.ext
IBM1124 x-IBM1124 Cp1124 false sun.nio.cs.ext
# map tables for 1140-1149 are updated manualy with the u+20ac entry
# map tables for 1140-1149 are updated manually with the u+20ac entry
IBM1140 IBM01140 Cp1140 false sun.nio.cs.ext
IBM1141 IBM01141 Cp1141 false sun.nio.cs.ext
IBM1142 IBM01142 Cp1142 false sun.nio.cs.ext
@@ -85,7 +85,7 @@ IBM875 x-IBM875 Cp875 false sun.nio.cs.ext
IBM918 IBM918 Cp918 false sun.nio.cs.ext
IBM921 x-IBM921 Cp921 false sun.nio.cs.ext
IBM922 x-IBM922 Cp922 false sun.nio.cs.ext
# use name as hisname as well, cs did not support hisname prevously
# use name as histname as well, cs did not support histname previously
ISO_8859_11 x-iso-8859-11 x-iso-8859-11 true sun.nio.cs.ext
ISO_8859_3 ISO-8859-3 ISO8859_3 true sun.nio.cs.ext
ISO_8859_6 ISO-8859-6 ISO8859_6 true sun.nio.cs.ext
@@ -113,7 +113,7 @@ TIS_620 TIS-620 TIS620 true sun.nio.cs.ext
#
############################### dbcs #########################################
#
#clzName csName hisName dbtype pkg ascii b1min b1max b2min b2max
#clzName csName histName dbtype pkg ascii b1min b1max b2min b2max
#
Big5 Big5 Big5 basic sun.nio.cs.ext true 0xa1 0xf9 0x40 0xfe
Johab x-Johab x-Johab basic sun.nio.cs.ext true 0x84 0xf9 0x31 0xfe

View File

@@ -57,6 +57,7 @@ JVM_DumpAllStacks
JVM_DumpClassListToFile
JVM_DumpDynamicArchive
JVM_DumpThreads
JVM_ExpandStackFrameInfo
JVM_FillInStackTrace
JVM_FindClassFromCaller
JVM_FindClassFromClass
@@ -200,7 +201,7 @@ JVM_SetNativeThreadName
JVM_SetPrimitiveArrayElement
JVM_SetStackWalkContinuation
JVM_SetThreadPriority
JVM_Sleep
JVM_SleepNanos
JVM_StartThread
JVM_SupportsCX8
JVM_TotalMemory

View File

@@ -26,8 +26,8 @@
# Create a bundle in the build directory, containing what's needed to
# build and run JMH microbenchmarks from the OpenJDK build.
JMH_VERSION=1.36
COMMONS_MATH3_VERSION=3.2
JMH_VERSION=1.37
COMMONS_MATH3_VERSION=3.6.1
JOPT_SIMPLE_VERSION=5.0.4
BUNDLE_NAME=jmh-$JMH_VERSION.tar.gz

View File

@@ -38,6 +38,38 @@
# Note that the libtool and texinfo packages are needed to build libffi
# $ sudo apt install libtool texinfo
# Note that while the build system supports linking against libffi on Windows (x64),
# I couldn't get this script working with a Windows devkit, and instead had to manually create
# a libffi bundle for Windows. The steps I took were as follows:
#
# 1. run 'x64 Native Tools Command Prompt for VS 2022'. After that, cl.exe and link.exe should be on path
#
# 2. in the same shell, run `ucrt64` (this is one of the shell environments that comes with MSYS2).
# This should carry over the environment set up by the VS dev prompt into the ucrt64 prompt.
#
# 3. then, in the libffi repo root folder:
# 3.a run `autogen.sh`
# 3.b run:
# ```
# bash configure \
# CC="/path/to/libffi/msvcc.sh -m64" \
# CXX="/path/to/libffi/msvcc.sh -m64" \
# CPPFLAGS="-DFFI_BUILDING_DLL" \
# --disable-docs \
# --prefix=<install dest>
# ```
# (`<install dest>` can be whatever you like. That's what you point `--with-libffi` to).
#
# 4. run `make install`. This should create the `<install dest>` directory with the files:
# `include/ffi.h`, `include/ffitarget.h`, `lib/libffi.dll`. It also creates a `lib/libffi.lib` file,
# but it is of the wrong file type, `DLL` rather than `LIBRARY`.
#
# 5. Manually create a working `.lib` file (in the <install dest>/lib dir):
# 5.a use `dumpbin /exports libffi.dll` to get a list of exported symbols
# 5.b put them in a `libffi.def` file: `EXPORTS` on the first line, then a symbol on each line following
# 5.c run `lib /def:libffi.def /machine:x64 /out:libffi.lib` to create the right `.lib` file (`lib` is a visual studio tool)
#
LIBFFI_VERSION=3.4.2
BUNDLE_NAME=libffi-$LIBFFI_VERSION.tar.gz
@@ -49,6 +81,7 @@ SRC_DIR="$OUTPUT_DIR/src"
DOWNLOAD_DIR="$OUTPUT_DIR/download"
INSTALL_DIR="$OUTPUT_DIR/install"
IMAGE_DIR="$OUTPUT_DIR/image"
OS_NAME=$(uname -s)
USAGE="$0 <devkit dir>"
@@ -81,8 +114,33 @@ cd $LIBFFI_DIR
if [ ! -e $LIBFFI_DIR/configure ]; then
bash ./autogen.sh
fi
case $OS_NAME in
Linux)
CC=$DEVKIT_DIR/bin/gcc
CXX=$DEVKIT_DIR/bin/g++
# For Linux/x86 it's under /lib/ instead of /lib64/
LIB_FOLDER=lib64
LIB_NAME=libffi.so*
;;
Darwin)
CC=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
CXX=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
LIB_FOLDER=lib
LIB_NAME=libffi.*.dylib
;;
*)
echo " Unsupported OS: $OS_NAME"
exit 1
;;
esac
# For Linux/x86, add --build=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
bash ./configure --prefix=$INSTALL_DIR CC=$DEVKIT_DIR/bin/gcc CXX=$DEVKIT_DIR/bin/g++
bash ./configure \
--disable-docs \
--prefix=$INSTALL_DIR \
CC=$CC \
CXX=$CXX
# Run with nice to keep system usable during build.
nice make $MAKE_ARGS install
@@ -90,10 +148,9 @@ nice make $MAKE_ARGS install
mkdir -p $IMAGE_DIR
# Extract what we need into an image
if [ ! -e $IMAGE_DIR/lib/libffi.so ]; then
echo "Copying libffi.so* to image"
echo "Copying ${LIB_NAME} to image"
mkdir -p $IMAGE_DIR/lib
# For Linux/x86 it's under /lib/ instead of /lib64/
cp -a $INSTALL_DIR/lib64/libffi.so* $IMAGE_DIR/lib/
cp -a $INSTALL_DIR/${LIB_FOLDER}/${LIB_NAME} $IMAGE_DIR/lib/
fi
if [ ! -e $IMAGE_DIR/include/ ]; then
echo "Copying include to image"

View File

@@ -106,8 +106,8 @@ for ex in $EXCLUDE_DIRS; do
done
echo "Copying Xcode.app..."
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
################################################################################
@@ -119,8 +119,8 @@ echo "Generating devkit.info..."
rm -f $DEVKIT_ROOT/devkit.info
echo-info "# This file describes to configure how to interpret the contents of this devkit"
echo-info "DEVKIT_NAME=\"Xcode $XCODE_VERSION (devkit)\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode.app/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_EXTRA_PATH=\"\$DEVKIT_TOOLCHAIN_PATH\""
################################################################################

View File

@@ -62,7 +62,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLC_CFLAGS += -I$(TOPDIR)/src/hotspot/share
# Add file macro mappings
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS)
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
ifeq ($(UBSAN_ENABLED), true)
ADLC_CFLAGS += $(UBSAN_CFLAGS)

View File

@@ -84,11 +84,11 @@ CFLAGS_VM_VERSION := \
# Disabled warnings
DISABLED_WARNINGS_gcc := array-bounds comment delete-non-virtual-dtor \
empty-body ignored-qualifiers implicit-fallthrough int-in-bool-context \
empty-body implicit-fallthrough int-in-bool-context \
maybe-uninitialized missing-field-initializers parentheses \
shift-negative-value unknown-pragmas
DISABLED_WARNINGS_clang := ignored-qualifiers sometimes-uninitialized \
DISABLED_WARNINGS_clang := sometimes-uninitialized \
missing-braces delete-non-abstract-non-virtual-dtor unknown-pragmas
ifneq ($(DEBUG_LEVEL), release)
@@ -139,6 +139,13 @@ JVM_STRIPFLAGS ?= $(STRIPFLAGS)
# This source set is reused so save in cache.
$(call FillFindCache, $(JVM_SRC_DIRS))
# The global operator new functions defined in operator_new.cpp are intended
# to detect and prevent the VM code from calling them. See more details in
# operator_new.cpp. Exclude operator_new.o when statically linking the VM
# code with JDK natives, as the JDK natives might need to call the global
# operator new.
LIBJVM_STATIC_EXCLUDE_OBJS := operator_new.o
################################################################################
# Now set up the actual compilation of the main hotspot native library
@@ -190,6 +197,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
RC_FILEDESC := $(HOTSPOT_VM_DISTRO) $(OPENJDK_TARGET_CPU_BITS)-Bit $(JVM_VARIANT) VM, \
PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBJVM_STATIC_EXCLUDE_OBJS), \
))
# Always recompile abstract_vm_version.cpp if libjvm needs to be relinked. This ensures
@@ -276,10 +284,10 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
define SetupOperatorNewDeleteCheck
$1.op_check: $1
$$(call ExecuteWithLog, $1.op_check, \
$$(NM) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
$$(NM) $$(NMFLAGS) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
if [ -s $1.op_check ]; then \
$$(ECHO) "$$(notdir $$<): Error: Use of global operators new and delete is not allowed in Hotspot:"; \
$$(NM) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(NM) $$(NMFLAGS) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(ECHO) "See: $$(TOPDIR)/make/hotspot/lib/CompileJvm.gmk"; \
exit 1; \
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -53,7 +53,7 @@ endif
# platform dependent.
ifeq ($(call isTargetOs, linux), true)
DUMP_SYMBOLS_CMD := $(NM) --defined-only *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) --defined-only *$(OBJ_SUFFIX)
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -67,7 +67,7 @@ ifeq ($(call isTargetOs, linux), true)
else ifeq ($(call isTargetOs, macosx), true)
# nm on macosx prints out "warning: nm: no name list" to stderr for
# files without symbols. Hide this, even at the expense of hiding real errors.
DUMP_SYMBOLS_CMD := $(NM) -Uj *$(OBJ_SUFFIX) 2> /dev/null
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -Uj *$(OBJ_SUFFIX) 2> /dev/null
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -89,7 +89,7 @@ else ifeq ($(call isTargetOs, aix), true)
# which may be installed under /opt/freeware/bin. So better use an absolute path here!
# NM=/usr/bin/nm
DUMP_SYMBOLS_CMD := $(NM) -X64 -B -C *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -B -C *$(OBJ_SUFFIX)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if (($$2="d" || $$2="D") && ($$3 ~ /^__vft/ || $$3 ~ /^gHotSpotVM/)) print $$3; \
@@ -118,7 +118,7 @@ else ifeq ($(call isTargetOs, windows), true)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if ($$7 ~ /??_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
if ($$7 ~ /\?\?_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
}'
else

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -242,7 +242,7 @@
</nbjpdastart>
<property
name="@{jpda.jvmargs.property}"
value="-Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=${jpda.address}"
value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"
/>
</sequential>
</macrodef>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 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
@@ -29,7 +29,7 @@ class Charset {
String pkgName;
String clzName;
String csName;
String hisName;
String histName;
String type;
String os;
boolean isASCII;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 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
@@ -43,7 +43,7 @@ public class DBCS {
{
String clzName = cs.clzName;
String csName = cs.csName;
String hisName = cs.hisName;
String histName = cs.histName;
String pkgName = cs.pkgName;
boolean isASCII = cs.isASCII;
int b1Min = cs.b1Min;
@@ -152,8 +152,8 @@ public class DBCS {
Scanner s = new Scanner(new File(srcDir, template));
PrintStream ops = new PrintStream(new FileOutputStream(
new File(dstDir, clzName + ".java")));
if (hisName == null)
hisName = "";
if (histName == null)
histName = "";
// (5) c2b replacement, only used for JIs0208/0212, which
// are two pure db charsets so default '3f' does not work
@@ -174,7 +174,7 @@ public class DBCS {
continue;
}
line = line.replace("$PACKAGE$" , pkgName)
.replace("$IMPLEMENTS$", (hisName == null)?
.replace("$IMPLEMENTS$", (histName == null)?
"" : "implements HistoricallyNamedCharset")
.replace("$NAME_CLZ$", clzName)
.replace("$NAME_ALIASES$",
@@ -189,8 +189,8 @@ public class DBCS {
"return ((cs.name().equals(\"US-ASCII\")) || (cs instanceof " + clzName + "));":
"return (cs instanceof " + clzName + ");"))
.replace("$HISTORICALNAME$",
(hisName == null)? "" :
" public String historicalName() { return \"" + hisName + "\"; }")
(histName == null)? "" :
" public String historicalName() { return \"" + histName + "\"; }")
.replace("$DECTYPE$", type)
.replace("$ENCTYPE$", type)
.replace("$B1MIN$" , "0x" + Integer.toString(b1Min, 16))

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 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
@@ -155,7 +155,7 @@ public class Main {
throw new RuntimeException("Error: incorrect charset line [" + line + "]");
}
if ((cs = charsets.get(tokens[2])) != null) {
throw new RuntimeException("Error: deplicate charset line [" + line + "]");
throw new RuntimeException("Error: duplicate charset line [" + line + "]");
}
cs = new Charset();
cs.csName = tokens[1];
@@ -179,8 +179,8 @@ public class Main {
case "os":
cs.os = tokens[2];
break;
case "hisname":
cs.hisName = tokens[2];
case "histname":
cs.histName = tokens[2];
break;
case "ascii":
cs.isASCII = Boolean.parseBoolean(tokens[2]);
@@ -229,7 +229,7 @@ public class Main {
static void verbose(Charset cs) {
System.out.printf("%s, %s, %s, %s, %s %b%n",
cs.clzName, cs.csName, cs.hisName, cs.pkgName, cs.type, cs.isASCII);
cs.clzName, cs.csName, cs.histName, cs.pkgName, cs.type, cs.isASCII);
}
static int toInteger(String s) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 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
@@ -43,7 +43,7 @@ public class SBCS {
{
String clzName = cs.clzName;
String csName = cs.csName;
String hisName = cs.hisName;
String histName = cs.histName;
String pkgName = cs.pkgName;
boolean isASCII = cs.isASCII;
boolean isLatin1Decodable = true;
@@ -170,8 +170,8 @@ public class SBCS {
line = line.replace("$NAME_ALIASES$",
"ExtendedCharsets.aliasesFor(\"" + csName + "\")");
}
if (line.indexOf("$NAME_HIS$", i) != -1) {
line = line.replace("$NAME_HIS$", hisName);
if (line.indexOf("$NAME_HIST$", i) != -1) {
line = line.replace("$NAME_HIST$", histName);
}
if (line.indexOf("$CONTAINS$", i) != -1) {
if (isASCII)

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@@ -108,6 +108,12 @@ class Bundle {
"narrow.Eras"
};
static final String[] LIST_PATTERN_KEYS = {
"ListPatterns_standard",
"ListPatterns_or",
"ListPatterns_unit",
};
// DateFormatItem prefix
static final String DATEFORMATITEM_KEY_PREFIX = "DateFormatItem.";
static final String DATEFORMATITEM_INPUT_REGIONS_PREFIX = "DateFormatItemInputRegions.";

View File

@@ -114,6 +114,7 @@ public class CLDRConverter {
private static Set<String> AVAILABLE_TZIDS;
static int copyrightYear;
static String jdkHeaderTemplate;
private static String zoneNameTempFile;
private static String tzDataDir;
private static final Map<String, String> canonicalTZMap = new HashMap<>();
@@ -229,6 +230,10 @@ public class CLDRConverter {
tzDataDir = args[++i];
break;
case "-jdk-header-template":
jdkHeaderTemplate = Files.readString(Paths.get(args[++i]));
break;
case "-help":
usage();
System.exit(0);
@@ -304,7 +309,9 @@ public class CLDRConverter {
+ "\t-year year copyright year in output%n"
+ "\t-zntempfile template file for java.time.format.ZoneName.java%n"
+ "\t-tzdatadir tzdata directory for java.time.format.ZoneName.java%n"
+ "\t-utf8 use UTF-8 rather than \\uxxxx (for debug)%n");
+ "\t-utf8 use UTF-8 rather than \\uxxxx (for debug)%n"
+ "\t-jdk-header-template <file>%n"
+ "\t\t override default GPL header with contents of file%n");
}
static void info(String fmt, Object... args) {
@@ -614,7 +621,14 @@ public class CLDRConverter {
*/
static void handleAliases(Map<String, Object> bundleMap) {
for (String key : aliases.keySet()) {
var source = bundleMap.get(aliases.get(key));
var sourceKey = aliases.get(key);
if (key.startsWith("ListPatterns_")) {
String k;
while ((k = aliases.get(sourceKey)) != null) {
sourceKey = k;
}
}
var source = bundleMap.get(sourceKey);
if (source != null) {
if (bundleMap.get(key) instanceof String[] sa) {
// fill missing elements in case of String array
@@ -864,6 +878,7 @@ public class CLDRConverter {
"DayPeriodRules",
"DateFormatItemInputRegions.allowed",
"DateFormatItemInputRegions.preferred",
"ListPatterns",
};
static final Set<String> availableSkeletons = new HashSet<>();
@@ -928,6 +943,14 @@ public class CLDRConverter {
formatData.put(k + ".NumberElements", neNew);
});
}
// ListPatterns
for (var lpKey : Bundle.LIST_PATTERN_KEYS) {
copyIfPresent(map, lpKey, formatData);
copyIfPresent(map, lpKey + "-short", formatData);
copyIfPresent(map, lpKey + "-narrow", formatData);
}
return formatData;
}
@@ -1161,6 +1184,8 @@ public class CLDRConverter {
Files.createDirectories(Paths.get(DESTINATION_DIR, "windows", "conf"));
Files.write(Paths.get(DESTINATION_DIR, "windows", "conf", "tzmappings"),
handlerWinZones.keySet().stream()
.filter(k -> k.endsWith(":001") ||
!handlerWinZones.get(k).equals(handlerWinZones.get(k.replaceFirst(":\\w{2,3}$", ":001"))))
.map(k -> k + ":" + handlerWinZones.get(k) + ":")
.sorted(new Comparator<String>() {
public int compare(String t1, String t2) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@@ -35,6 +35,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
@@ -812,6 +813,7 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
&& ((currentContainer.getqName().equals("decimalFormatLength"))
|| (currentContainer.getqName().equals("currencyFormat"))
|| (currentContainer.getqName().equals("percentFormat"))
|| (currentContainer.getqName().equals("listPattern"))
|| (currentCalendarType != null && !currentCalendarType.lname().startsWith("islamic-")))) { // ignore islamic variants
pushAliasEntry(qName, attributes, attributes.getValue("path"));
} else {
@@ -820,6 +822,28 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
}
break;
// ListPatterns
case "listPattern":
currentStyle = Optional.ofNullable(attributes.getValue("type")).orElse("standard");
pushStringArrayEntry(qName, attributes, "ListPatterns_" + currentStyle, 5);
break;
case "listPatternPart":
type = attributes.getValue("type");
pushStringArrayElement(qName, attributes,
switch (type) {
case "start" -> 0;
case "middle" -> 1;
case "end" -> 2;
case "2" -> 3;
case "3" -> 4;
default -> throw new IllegalArgumentException(
"""
The "type" attribute value for "listPatternPart" element is not recognized: %s
""".formatted(type)
);
});
break;
default:
// treat anything else as a container
pushContainer(qName, attributes);
@@ -973,6 +997,9 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
"NumberPatterns/" +
(type.equals("standard") ? containerqName.replaceFirst("Format", "") : type);
break;
case "listPattern":
keyName = type;
break;
default:
keyName = "";
break;
@@ -1035,6 +1062,19 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
return toJDKKey(qName, "", style);
}
// listPattern
if (path.indexOf("../listPattern") != -1) {
typeKey = "[@type='";
start = path.indexOf(typeKey);
String style;
if (start != -1) {
style = "ListPatterns_" + path.substring(start + typeKey.length(), path.indexOf("']", start));
} else {
style = "ListPatterns_standard";
}
return toJDKKey(qName, "", style);
}
return calType + "." + toJDKKey(qName, context, width);
}
@@ -1107,6 +1147,10 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
case "timeFormatLength":
currentStyle = "";
break;
case "listPattern":
currentStyle = "";
putIfEntry();
break;
default:
putIfEntry();
}
@@ -1128,6 +1172,12 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
toJDKKey(containerqName, "", kc.getKey()),
getTarget(entry.getKey(), "", "", "")
);
} else if (containerqName.equals("listPattern")) {
var sae = (StringArrayEntry)entry.getParent();
CLDRConverter.aliases.put(
toJDKKey(containerqName, "", sae.getKey()),
getTarget(entry.getKey(), "", "", "")
);
} else {
Set<String> keyNames = populateAliasKeys(containerqName, currentContext, currentWidth);
if (!keyNames.isEmpty()) {

View File

@@ -174,7 +174,7 @@ class ResourceBundleGenerator implements BundleGenerator {
try (PrintWriter out = new PrintWriter(file, encoding)) {
// Output copyright headers
out.println(CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear));
out.println(getOpenJDKCopyright());
out.println(CopyrightHeaders.getUnicodeCopyright());
if (useJava) {
@@ -294,7 +294,7 @@ class ResourceBundleGenerator implements BundleGenerator {
CLDRConverter.info("Generating file " + file);
try (PrintWriter out = new PrintWriter(file, "us-ascii")) {
out.printf(CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear));
out.printf(getOpenJDKCopyright());
out.printf("""
package sun.util.%s;
@@ -448,4 +448,12 @@ class ResourceBundleGenerator implements BundleGenerator {
});
return tags;
}
private static String getOpenJDKCopyright() {
if (CLDRConverter.jdkHeaderTemplate != null) {
return String.format(CLDRConverter.jdkHeaderTemplate, CLDRConverter.copyrightYear);
} else {
return CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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
@@ -25,6 +25,7 @@
package build.tools.compileproperties;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
@@ -33,6 +34,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
@@ -220,8 +224,8 @@ public class CompileProperties {
System.out.println("parsing: " + propertiesPath);
}
Properties p = new Properties();
try {
p.load(new FileInputStream(propertiesPath));
try (BufferedReader input = Files.newBufferedReader(Path.of(propertiesPath))) {
p.load(input);
} catch ( FileNotFoundException e ) {
ok = false;
error("Cannot find file " + propertiesPath, e);
@@ -267,7 +271,7 @@ public class CompileProperties {
Writer writer = null;
try {
writer = new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(outputPath), "8859_1"));
new OutputStreamWriter(new FileOutputStream(outputPath), StandardCharsets.US_ASCII));
MessageFormat format = new MessageFormat(FORMAT);
writer.write(format.format(new Object[] { packageString, className, superClass, data }));
} catch ( IOException e ) {

View File

@@ -64,7 +64,7 @@ public class PropList {
int i, j;
BufferedReader sbfr = new BufferedReader(new FileReader(file));
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s*;\\s+(\\w+)\\s+#.*").matcher("");
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s*;\\s+(\\w+)[;\\s].*").matcher("");
String line = null;
int lineNo = 0;
while ((line = sbfr.readLine()) != null) {

View File

@@ -0,0 +1,169 @@
/*
* Copyright (c) 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package build.tools.generateextraproperties;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* Parses extra properties files of UCD, and replaces the placeholders in
* the given template source file with the generated conditions, then emits
* .java files. For example, if the properties file has:
* <blockquote>
* 0009..000D ; Type (; Value)
* 0020 ; Type (; Value)
* 2000..200A ; Type (; Value)
* </blockquote>
* and the template file contains
* <blockquote>
* %%%Type(=Value)%%%
* </blockquote>
* then the generated .java file would have the following in place:
* <blockquote>
* (cp >= 0x0009 && cp <= 0x000D) ||
* cp == 0x0020 ||
* (cp >= 0x2000 && cp <= 0x200A);
* </blockquote>
* Note that those in parentheses in the properties file and the
* template file are optional.
*
* Arguments to this utility:
* args[0]: Full path string to the template file
* args[1]: Full path string to the properties file
* args[2]: Full path string to the generated .java file
* args[3...]: Names of the property to generate the conditions
*/
public class GenerateExtraProperties {
public static void main(String[] args) {
var templateFile = Paths.get(args[0]);
var propertiesFile = Paths.get(args[1]);
var gensrcFile = Paths.get(args[2]);
var propertyNames = Arrays.copyOfRange(args, 3, args.length);
var replacementMap = new HashMap<String, String>();
try {
for (var propertyName: propertyNames) {
var pn = "; " + propertyName.replaceFirst("=", "; ");
List<Range> ranges = Files.lines(propertiesFile)
.filter(Predicate.not(l -> l.startsWith("#") || l.isBlank()))
.filter(l -> l.contains(pn))
.map(l -> new Range(l.replaceFirst(" .*", "")))
.sorted()
.collect(ArrayList<Range>::new,
(list, r) -> {
// collapsing consecutive pictographic ranges
int lastIndex = list.size() - 1;
if (lastIndex >= 0) {
Range lastRange = list.get(lastIndex);
if (lastRange.last + 1 == r.start) {
list.set(lastIndex, new Range(lastRange.start, r.last));
return;
}
}
list.add(r);
},
ArrayList<Range>::addAll);
replacementMap.put("%%%" + propertyName + "%%%",
ranges.stream()
.map(GenerateExtraProperties::rangeToString)
.collect(Collectors.joining(" ||\n", "", ";")));
}
// Generate .java file
Files.write(gensrcFile,
Files.lines(templateFile)
.flatMap(l -> Stream.of(replacementMap.getOrDefault(l.trim(), l)))
.collect(Collectors.toList()),
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
} catch (IOException e) {
e.printStackTrace();
}
}
static String rangeToString(Range r) {
if (r.start == r.last) {
return (" ".repeat(12) + "cp == 0x" + toHexString(r.start));
} else if (r.start == r.last - 1) {
return " ".repeat(12) + "cp == 0x" + toHexString(r.start) + " ||\n" +
" ".repeat(12) + "cp == 0x" + toHexString(r.last);
} else {
return " ".repeat(11) + "(cp >= 0x" + toHexString(r.start) +
" && cp <= 0x" + toHexString(r.last) + ")";
}
}
static int toInt(String hexStr) {
return Integer.parseUnsignedInt(hexStr, 16);
}
static String toHexString(int cp) {
String ret = Integer.toUnsignedString(cp, 16).toUpperCase();
if (ret.length() < 4) {
ret = "0".repeat(4 - ret.length()) + ret;
}
return ret;
}
static class Range implements Comparable<Range> {
int start;
int last;
Range (int start, int last) {
this.start = start;
this.last = last;
}
Range (String input) {
input = input.replaceFirst("\\s#.*", "");
start = toInt(input.replaceFirst("[\\s\\.].*", ""));
last = input.contains("..") ?
toInt(input.replaceFirst(".*\\.\\.", "")
.replaceFirst(";.*", "").trim())
: start;
}
@Override
public String toString() {
return "Start: " + toHexString(start) + ", Last: " + toHexString(last);
}
@Override
public int compareTo(Range other) {
return Integer.compare(start, other.start);
}
}
}

View File

@@ -53,21 +53,38 @@ import java.util.regex.Pattern;
public class EquivMapsGenerator {
public static void main(String[] args) throws Exception {
if (args.length != 3) {
int i = 0;
boolean valid = true;
if (args.length != 5 && args.length !=3) {
valid = false;
} else if (args.length == 5) {
if ("-jdk-header-template".equals(args[i])) {
jdkHeaderTemplate = Files.readString(Paths.get(args[++i]));
i++;
} else {
valid = false;
}
}
if (!valid) {
System.err.println("Usage: java EquivMapsGenerator"
+ " [-jdk-header-template <file>]"
+ " language-subtag-registry.txt LocaleEquivalentMaps.java copyrightYear");
System.exit(1);
}
copyrightYear = Integer.parseInt(args[2]);
readLSRfile(args[0]);
String lsrFile = args[i++];
String outputFile = args[i++];
copyrightYear = Integer.parseInt(args[i++]);
readLSRfile(lsrFile);
// Builds the maps from the IANA data
generateEquivalentMap();
// Writes the maps out to LocaleEquivalentMaps.java
generateSourceCode(args[1]);
generateSourceCode(outputFile);
}
private static String LSRrevisionDate;
private static int copyrightYear;
private static String jdkHeaderTemplate;
private static Map<String, StringBuilder> initialLanguageMap =
new TreeMap<>();
private static Map<String, StringBuilder> initialRegionVariantMap =
@@ -225,6 +242,7 @@ public class EquivMapsGenerator {
try (BufferedWriter writer = Files.newBufferedWriter(
Paths.get(fileName))) {
writer.write(getOpenJDKCopyright());
writer.write("\n");
writer.write(HEADER_TEXT);
writer.write(getMapsText());
writer.write(getLSRText());
@@ -241,7 +259,8 @@ public class EquivMapsGenerator {
}
private static String getOpenJDKCopyright() {
return String.format(Locale.US, COPYRIGHT, copyrightYear);
return String.format(Locale.US,
(jdkHeaderTemplate != null ? jdkHeaderTemplate : COPYRIGHT), copyrightYear);
}
private static final String COPYRIGHT =
@@ -270,7 +289,6 @@ public class EquivMapsGenerator {
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
""";
private static final String HEADER_TEXT =

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 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
@@ -52,7 +52,7 @@ public class Incubating implements Taglet {
@Override
public String getName() {
return "Incubating";
return "incubating";
}
private static final String MESSAGE =

View File

@@ -3700,8 +3700,8 @@ public class CreateSymbols {
Function<String, MethodParam> string2Param =
p -> {
int sep = p.indexOf(':');
return new MethodParam(Integer.parseInt(p.substring(0, sep)),
p.substring(sep + 1));
return new MethodParam(Integer.parseInt(p.substring(0, sep), 16),
p.substring(sep + 1));
};
methodParameters =
deserializeList(inMethodParameters).stream()

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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
@@ -25,6 +25,7 @@
package compileproperties;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
@@ -33,6 +34,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
@@ -199,8 +203,8 @@ public class CompileProperties {
boolean ok = true;
log.verbose("parsing: " + propertiesPath);
Properties p = new Properties();
try {
p.load(new FileInputStream(propertiesPath));
try (BufferedReader input = Files.newBufferedReader(Path.of(propertiesPath))) {
p.load(input);
} catch ( FileNotFoundException e ) {
ok = false;
log.error("Cannot find file " + propertiesPath, e);
@@ -246,7 +250,7 @@ public class CompileProperties {
Writer writer = null;
try {
writer = new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(outputPath), "8859_1"));
new OutputStreamWriter(new FileOutputStream(outputPath), StandardCharsets.US_ASCII));
MessageFormat format = new MessageFormat(FORMAT);
writer.write(format.format(new Object[] { packageString, className, superClass, data }));
} catch ( IOException e ) {

View File

@@ -35,6 +35,7 @@ include gensrc/GensrcExceptions.gmk
include gensrc/GensrcVarHandles.gmk
include gensrc/GensrcModuleLoaderMap.gmk
include gensrc/GensrcScopedMemoryAccess.gmk
include gensrc/GensrcRegex.gmk
# GensrcLocaleData.gmk does not set TARGETS, so we must choose which targets
# to include.

View File

@@ -23,7 +23,7 @@
# questions.
#
DISABLED_WARNINGS_java += this-escape
DISABLED_WARNINGS_java += this-escape restricted
DOCLINT += -Xdoclint:all/protected \
'-Xdoclint/package:java.*,javax.*'

View File

@@ -52,7 +52,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
DISABLED_WARNINGS_microsoft_ResolverConfigurationImpl.c := 4996, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll \
-delayload:winhttp.dll, \
LIBS_unix := -ljvm -ljava, \
LIBS_linux := $(LIBDL), \
LIBS_aix := $(LIBDL),\
@@ -226,9 +227,30 @@ ifeq ($(ENABLE_FALLBACK_LINKER), true)
NAME := fallbackLinker, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBFFI_CFLAGS), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBFFI_LIBS), \
LIBS_windows := $(LIBFFI_LIBS) ws2_32.lib, \
))
TARGETS += $(BUILD_LIBFALLBACKLINKER)
endif
################################################################################
ifeq ($(call isTargetOs, linux)+$(call isTargetCpu, x86_64)+$(INCLUDE_COMPILER2)+$(filter $(TOOLCHAIN_TYPE), gcc), true+true+true+gcc)
$(eval $(call SetupJdkLibrary, BUILD_LIB_SIMD_SORT, \
NAME := simdsort, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
OPTIMIZATION := HIGH, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBCXX), \
LIBS_linux := -lc -lm -ldl, \
))
TARGETS += $(BUILD_LIB_SIMD_SORT)
endif
################################################################################

View File

@@ -52,9 +52,7 @@ $(eval $(call SetupTextFileProcessing, BUILD_VERSION_JAVA, \
# Normalize OPENJDK_TARGET_CPU name to match jdk.internal.util.Architecture enum
ifneq ($(filter $(OPENJDK_TARGET_CPU), ppc64le), )
OPENJDK_TARGET_ARCH_CANONICAL = ppc64
else ifneq ($(filter $(OPENJDK_TARGET_CPU), s390x), )
ifneq ($(filter $(OPENJDK_TARGET_CPU), s390x), )
OPENJDK_TARGET_ARCH_CANONICAL = s390
else ifneq ($(filter $(OPENJDK_TARGET_CPU), x86_64 amd64), )
OPENJDK_TARGET_ARCH_CANONICAL = x64

View File

@@ -0,0 +1,46 @@
#
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Rules to create java files under
# $(SUPPORT_OUTPUTDIR)/gensrc/java.base/jdk/internal/util/regex/
#
GENSRC_INDICCONJUNCTBREAK := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/jdk/internal/util/regex/IndicConjunctBreak.java
INDICCONJUNCTBREAKTEMP := $(MODULE_SRC)/share/classes/jdk/internal/util/regex/IndicConjunctBreak.java.template
INDICCONJUNCTBREAKPROPS := $(MODULE_SRC)/share/data/unicodedata/DerivedCoreProperties.txt
INDICCONJUNCTBREAKPARAMS := InCB=Linker InCB=Extend InCB=Consonant
$(GENSRC_INDICCONJUNCTBREAK): $(BUILD_TOOLS_JDK) $(INDICCONJUNCTBREAKTEMP) $(INDICCONJUNCTBREAKPROPS)
$(call LogInfo, Generating $@)
$(call MakeTargetDir)
$(TOOL_GENERATEEXTRAPROPERTIES) \
$(INDICCONJUNCTBREAKTEMP) \
$(INDICCONJUNCTBREAKPROPS) \
$(GENSRC_INDICCONJUNCTBREAK) \
$(INDICCONJUNCTBREAKPARAMS)
TARGETS += $(GENSRC_INDICCONJUNCTBREAK)

View File

@@ -64,7 +64,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_macosx := -L$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/, \
LDFLAGS_windows := -delayload:shell32.dll, \
LIBS_unix := -ljvm, \
LIBS_linux := $(LIBDL), \
LIBS_aix := $(LIBDL) $(LIBM),\
@@ -72,7 +71,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
-framework Foundation \
-framework SystemConfiguration, \
LIBS_windows := jvm.lib \
shell32.lib delayimp.lib \
shell32.lib ole32.lib \
advapi32.lib version.lib, \
))
@@ -153,15 +152,19 @@ endif
LIBJLI_CFLAGS += $(LIBZ_CFLAGS)
ifneq ($(USE_EXTERNAL_LIBZ), true)
# Extra files from the zlib.
LIBJLI_EXTRA_FILE_LIST := inflate.c inftrees.c inffast.c zadler32.c zcrc32.c zutil.c
LIBJLI_EXTRA_FILES += \
$(addprefix $(TOPDIR)/src/java.base/share/native/libzip/zlib/, \
inflate.c \
inftrees.c \
inffast.c \
zadler32.c \
zcrc32.c \
zutil.c \
)
$(LIBJLI_EXTRA_FILE_LIST))
# Do not include these libz objects in the static libjli library.
# When statically linking the java launcher with all JDK and VM
# static libraries, we use the --whole-archive linker option.
# The duplicate objects in different static libraries cause linking
# errors due to duplicate symbols.
LIBJLI_STATIC_EXCLUDE_OBJS := $(subst .c,$(OBJ_SUFFIX),$(LIBJLI_EXTRA_FILE_LIST))
endif
$(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
@@ -180,6 +183,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
LIBS_aix := $(LIBDL),\
LIBS_macosx := -framework Cocoa -framework Security -framework ApplicationServices, \
LIBS_windows := advapi32.lib comctl32.lib user32.lib, \
STATIC_LIB_EXCLUDE_OBJS := $(LIBJLI_STATIC_EXCLUDE_OBJS), \
))
TARGETS += $(BUILD_LIBJLI)

View File

@@ -141,8 +141,7 @@ endif
# pick them up since they aren't generated when the source dirs are
# searched and they aren't referenced by any other classes so they won't
# be picked up by implicit compilation. On a rebuild, they are picked up
# and compiled. Exclude them here to produce the same rt.jar as the old
# build does when building just once.
# and compiled.
EXCLUDE_FILES += \
javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \

View File

@@ -132,6 +132,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
EXCLUDE_FILES := $(LIBAWT_EXFILES), \
OPTIMIZATION := HIGHEST, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBAWT_EXTRA_HEADER_DIRS), \
DISABLED_WARNINGS_gcc_awt_LoadLibrary.c := unused-result, \
DISABLED_WARNINGS_gcc_debug_mem.c := format-nonliteral, \
@@ -221,6 +222,14 @@ ifeq ($(call isTargetOs, windows macosx), false)
LIBAWT_XAWT_LIBS += -lpthread
endif
# These are the object files provided by the awt native
# library. Do not include these external (non-awt_xawt library)
# objects in the static library. When statically linking the java
# launcher with all JDK and VM static libraries, we use the
# --whole-archive linker option. The duplicate objects in different
# static libraries cause linking errors due to duplicate symbols.
LIBAWT_XAWT_STATIC_EXCLUDE_OBJS := systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_XAWT, \
NAME := awt_xawt, \
EXTRA_SRC := $(LIBAWT_XAWT_EXTRA_SRC), \
@@ -237,12 +246,21 @@ ifeq ($(call isTargetOs, windows macosx), false)
DISABLED_WARNINGS_gcc_gtk3_interface.c := parentheses type-limits unused-function, \
DISABLED_WARNINGS_gcc_OGLBufImgOps.c := format-nonliteral, \
DISABLED_WARNINGS_gcc_OGLPaints.c := format-nonliteral, \
DISABLED_WARNINGS_gcc_screencast_pipewire.c := undef, \
DISABLED_WARNINGS_gcc_screencast_portal.c := undef, \
DISABLED_WARNINGS_gcc_sun_awt_X11_GtkFileDialogPeer.c := parentheses, \
DISABLED_WARNINGS_gcc_X11SurfaceData.c := implicit-fallthrough pointer-to-int-cast, \
DISABLED_WARNINGS_gcc_XlibWrapper.c := type-limits pointer-to-int-cast, \
DISABLED_WARNINGS_gcc_XRBackendNative.c := maybe-uninitialized, \
DISABLED_WARNINGS_gcc_XToolkit.c := unused-result, \
DISABLED_WARNINGS_gcc_XWindow.c := unused-function, \
DISABLED_WARNINGS_clang_awt_Taskbar.c := parentheses, \
DISABLED_WARNINGS_clang_gtk2_interface.c := parentheses, \
DISABLED_WARNINGS_clang_gtk3_interface.c := parentheses, \
DISABLED_WARNINGS_clang_OGLBufImgOps.c := format-nonliteral, \
DISABLED_WARNINGS_clang_OGLPaints.c := format-nonliteral, \
DISABLED_WARNINGS_clang_screencast_pipewire.c := format-nonliteral, \
DISABLED_WARNINGS_clang_sun_awt_X11_GtkFileDialogPeer.c := parentheses, \
DISABLED_WARNINGS_clang_aix := deprecated-non-prototype, \
DISABLED_WARNINGS_clang_aix_awt_Taskbar.c := parentheses, \
DISABLED_WARNINGS_clang_aix_OGLPaints.c := format-nonliteral, \
@@ -255,6 +273,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
$(call SET_SHARED_LIBRARY_ORIGIN) \
-L$(INSTALL_LIBRARIES_HERE), \
LIBS := $(X_LIBS) $(LIBAWT_XAWT_LIBS), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_XAWT_STATIC_EXCLUDE_OBJS), \
))
$(BUILD_LIBAWT_XAWT): $(call FindLib, java.base, java)
@@ -378,6 +397,14 @@ ifeq ($(call isTargetOs, windows macosx), false)
LIBAWT_HEADLESS_CFLAGS := $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) $(X_CFLAGS) \
-DHEADLESS=true
# These are the object files provided by the awt native
# library. Do not include these external (non-awt_headless library)
# objects in the static library. When statically linking the java
# launcher with all JDK and VM static libraries, we use the
# --whole-archive linker option. The duplicate objects in different
# static libraries cause linking errors due to duplicate symbols.
LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS := systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
NAME := awt_headless, \
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
@@ -393,6 +420,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
LIBS_unix := -lawt -ljvm -ljava, \
LIBS_linux := $(LIBM) $(LIBDL), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS), \
))
$(BUILD_LIBAWT_HEADLESS): $(BUILD_LIBAWT)
@@ -421,6 +449,7 @@ else
LIBFREETYPE_LIBS := -lfreetype
endif
# gcc_ftobjs.c := maybe-uninitialized required for GCC 7 builds.
$(eval $(call SetupJdkLibrary, BUILD_LIBFREETYPE, \
NAME := freetype, \
OPTIMIZATION := HIGHEST, \
@@ -429,6 +458,7 @@ else
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
DISABLED_WARNINGS_gcc := dangling-pointer stringop-overflow, \
DISABLED_WARNINGS_gcc_ftobjs.c := maybe-uninitialized, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
))
@@ -466,7 +496,7 @@ else
LIBFONTMANAGER_EXCLUDE_FILES += libharfbuzz/hb-ft.cc
HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \
unused-result array-bounds
unused-result array-bounds parentheses
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
# expansion-to-defined required for GCC 9 builds. Not required for GCC 10+.
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type expansion-to-defined dangling-reference
@@ -584,7 +614,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupJdkLibrary, BUILD_LIBJAWT, \
NAME := jawt, \
OPTIMIZATION := LOW, \
CFLAGS := $(CXXFLAGS_JDKLIB) \
CFLAGS := $(CFLAGS_JDKLIB) \
$(LIBJAWT_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
$(LIBJAWT_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBJAWT_EXTRA_HEADER_DIRS), \
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
@@ -767,6 +799,8 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBSPLASHSCREEN_HEADER_DIRS), \
DISABLED_WARNINGS_gcc_dgif_lib.c := sign-compare, \
DISABLED_WARNINGS_gcc_jcmaster.c := implicit-fallthrough, \

View File

@@ -33,6 +33,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJ2GSS, \
CFLAGS := $(CFLAGS_JDKLIB), \
DISABLED_WARNINGS_gcc := undef, \
DISABLED_WARNINGS_clang_aix := undef, \
DISABLED_WARNINGS_clang := undef, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBDL), \
@@ -44,8 +45,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupJdkLibrary, BUILD_LIBSSPI_BRIDGE, \
NAME := sspi_bridge, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) \
-I$(TOPDIR)/src/java.security.jgss/share/native/libj2gss, \
EXTRA_HEADER_DIRS := libj2gss, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := Secur32.lib, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -43,6 +43,9 @@ ifeq ($(call isTargetOs, windows), true)
CFLAGS := $(filter-out -Zc:wchar_t-, $(CFLAGS_JDKEXE)) -Zc:wchar_t \
-analyze- -Od -Gd -D_WINDOWS \
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
CXXFLAGS := $(filter-out -Zc:wchar_t-, $(CXXFLAGS_JDKEXE)) -Zc:wchar_t \
-analyze- -Od -Gd -D_WINDOWS \
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS := advapi32.lib version.lib user32.lib, \
@@ -65,6 +68,7 @@ ifeq ($(call isTargetOs, windows), true)
SRC := $(ACCESSIBILITY_SRCDIR)/jaccessinspector $(ACCESSIBILITY_SRCDIR)/common \
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
LIBS := advapi32.lib user32.lib, \
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccessinspector/jaccessinspectorWindow.rc, \
@@ -86,6 +90,7 @@ ifeq ($(call isTargetOs, windows), true)
SRC := $(ACCESSIBILITY_SRCDIR)/jaccesswalker $(ACCESSIBILITY_SRCDIR)/common \
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
LIBS := advapi32.lib comctl32.lib gdi32.lib user32.lib, \
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccesswalker/jaccesswalkerWindow.rc, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -43,6 +43,8 @@ ifeq ($(call isTargetOs, windows), true)
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
CFLAGS := $(filter-out -MD, $(CFLAGS_JDKLIB)) -MT \
-DACCESSBRIDGE_ARCH_$2, \
CXXFLAGS := $(filter-out -MD, $(CXXFLAGS_JDKLIB)) -MT \
-DACCESSBRIDGE_ARCH_$2, \
EXTRA_HEADER_DIRS := \
include/bridge \
java.desktop:include, \
@@ -70,6 +72,8 @@ ifeq ($(call isTargetOs, windows), true)
DISABLED_WARNINGS_microsoft_WinAccessBridge.cpp := 4302 4311, \
CFLAGS := $(CFLAGS_JDKLIB) \
-DACCESSBRIDGE_ARCH_$2, \
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
-DACCESSBRIDGE_ARCH_$2, \
EXTRA_HEADER_DIRS := \
include/bridge, \
LDFLAGS := $(LDFLAGS_JDKLIB) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -33,6 +33,7 @@ ifeq ($(call isTargetOs, windows), true)
NAME := sunmscapi, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := crypt32.lib advapi32.lib ncrypt.lib, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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
@@ -61,6 +61,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
OPTIMIZATION := HIGH, \
DISABLED_WARNINGS_gcc := sign-compare, \
DISABLED_WARNINGS_gcc_ps_core.c := pointer-arith, \
DISABLED_WARNINGS_clang_ps_core.c := pointer-arith, \
DISABLED_WARNINGS_clang := sign-compare, \
DISABLED_WARNINGS_clang_libproc_impl.c := format-nonliteral, \
DISABLED_WARNINGS_clang_sadis.c := format-nonliteral, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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
@@ -65,6 +65,8 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGE_APPLAUNCHEREXE, \
INCLUDE_FILES := $(JPACKAGE_APPLAUNCHER_INCLUDE_FILES), \
TOOLCHAIN := $(JPACKAGE_APPLAUNCHER_TOOLCHAIN), \
OPTIMIZATION := LOW, \
DISABLED_WARNINGS_clang_LinuxPackage.c := format-nonliteral, \
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
CXXFLAGS := $(call JpackageWithStaticCrt, $(CXXFLAGS_JDKEXE)) \
$(JPACKAGE_APPLAUNCHER_INCLUDES), \
CFLAGS := $(call JpackageWithStaticCrt, $(CFLAGS_JDKEXE)) \
@@ -103,6 +105,8 @@ ifeq ($(call isTargetOs, linux), true)
EXCLUDE_FILES := LinuxLauncher.c LinuxPackage.c, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
OPTIMIZATION := LOW, \
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
DISABLED_WARNINGS_clang_tstrings.cpp := format-nonliteral, \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
CFLAGS := $(CFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
LDFLAGS := $(LDFLAGS_JDKLIB), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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
@@ -44,6 +44,7 @@ endif
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_EXT, \
NAME := management_ext, \
OPTIMIZATION := $(LIBMANAGEMENT_EXT_OPTIMIZATION), \
DISABLED_WARNINGS_clang_UnixOperatingSystem.c := format-nonliteral, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBMANAGEMENT_EXT_CFLAGS), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \

View File

@@ -326,7 +326,9 @@ function convert_path() {
suffix="${BASH_REMATCH[6]}"
# We only believe this is a path if the first part is an existing directory
if [[ -d "/$firstdir" ]]; then
# and the prefix is not a subdirectory in the current working directory. Remove
# any part leading up to a : or = in the prefix before checking.
if [[ -d "/$firstdir" && ! -d "${prefix##*:}" && ! -d "${prefix##*=}" ]]; then
if [[ $ENVROOT == "" ]]; then
if [[ $QUIET != true ]]; then
echo fixpath: failure: Path "'"$pathmatch"'" cannot be converted to Windows path >&2

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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
@@ -91,7 +91,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
SMALL_JAVA := false, \
CLASSPATH := $(MICROBENCHMARK_CLASSPATH), \
DISABLED_WARNINGS := this-escape processing rawtypes cast serial preview, \
DISABLED_WARNINGS := restricted this-escape processing rawtypes cast serial preview, \
SRC := $(MICROBENCHMARK_SRC), \
BIN := $(MICROBENCHMARK_CLASSES), \
JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED \
@@ -105,6 +105,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
--add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
--add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \
--add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
--add-exports java.base/jdk.internal.event=ALL-UNNAMED \
--enable-preview, \
JAVA_FLAGS := --add-modules jdk.unsupported --limit-modules java.management \
--add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
@@ -155,10 +156,10 @@ $(eval $(call SetupTestFilesCompilation, BUILD_MICROBENCHMARK_LIBRARIES, \
# Setup copy of native dependencies to image output dir
$(eval $(call SetupCopyFiles, COPY_MICROBENCHMARK_NATIVE, \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT), \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT)/lib, \
DEST := $(MICROBENCHMARK_IMAGE_DIR)/native, \
FILES := $(BUILD_MICROBENCHMARK_LIBRARIES), \
FLATTEN := true, \
FILES := $(filter $(MICROBENCHMARK_NATIVE_OUTPUT)/lib/%, \
$(BUILD_MICROBENCHMARK_LIBRARIES)), \
))
all: $(MICROBENCHMARK_JAR) $(BUILD_MICROBENCHMARK_LIBRARIES) $(COPY_MICROBENCHMARK_NATIVE)

View File

@@ -94,11 +94,6 @@ MLVM_STRESS_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
-I$(VM_TESTBASE_DIR)/nsk/share/jni
NSK_GC_LOCK_JVMTI_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/gc/lock/jvmti \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
-I$(VM_TESTBASE_DIR)/nsk/share/jni
NSK_GC_LOCK_JNI_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/gc/lock/jni \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
@@ -172,8 +167,6 @@ BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libIndyRedefineClass := $(MLVM_JVMTI_INCLUD
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libnativeAndMH := $(MLVM_STRESS_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libJVMTIAllocLocker := $(NSK_GC_LOCK_JVMTI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libBooleanArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libByteArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libCharArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
@@ -867,8 +860,9 @@ BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exesigtest := -ljvm
ifeq ($(call isTargetOs, windows), true)
BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libTestPsig.c libnativeStack.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libTestPsig.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack := jvm.lib
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := jvm.lib
else
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := -ljvm
@@ -1510,6 +1504,8 @@ else
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libCompleteExit += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack += -lpthread
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeGetCreatedJavaVMs := -ljvm -lpthread
BUILD_HOTSPOT_JTREG_EXCLUDE += libNativeException.c
endif
ifeq ($(ASAN_ENABLED), true)

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=Diese Demoeingabemethode kann nicht direkt als Anwendung ausgef\u00FChrt werden.\nIn der Datei README.html in diesem Verzeichnis erfahren Sie, wie Sie diese \nEingabemethode verwenden.
warning=Diese Demoeingabemethode kann nicht direkt als Anwendung ausgeführt werden.\nIn der Datei README.html in diesem Verzeichnis erfahren Sie, wie Sie diese \nEingabemethode verwenden.

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=\u3053\u308C\u306F\u30C7\u30E2\u7528\u306E\u5165\u529B\u30E1\u30BD\u30C3\u30C9\u3067\u3059\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3068\u3057\u3066\u5358\u4F53\u3067\u5B9F\u884C\u3059\u308B\n\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u3053\u306E\u5165\u529B\u30E1\u30BD\u30C3\u30C9\u306E\u4F7F\u7528\u65B9\u6CD5\u306B\u3064\u3044\u3066\u306F\u3001\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\n\u306B\u3042\u308BREADME.html\u3092\u3054\u89A7\u304F\u3060\u3055\u3044\u3002
warning=これはデモ用の入力メソッドです。アプリケーションとして単体で実行する\nことはできません。この入力メソッドの使用方法については、このディレクトリ\nにあるREADME.htmlをご覧ください。

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=\u8FD9\u662F\u6F14\u793A\u8F93\u5165\u6CD5; \u4E0D\u80FD\u5C06\u5176\u76F4\u63A5\u4F5C\u4E3A\u5E94\u7528\u7A0B\u5E8F\u6765\u8FD0\u884C\u3002\n\u8BF7\u9605\u8BFB\u6B64\u76EE\u5F55\u4E2D\u7684 README.html \u6587\u4EF6\u4EE5\u4E86\u89E3\u5982\u4F55\u4F7F\u7528\n\u6B64\u8F93\u5165\u6CD5\u3002
warning=这是演示输入法; 不能将其直接作为应用程序来运行。\n请阅读此目录中的 README.html 文件以了解如何使用\n此输入法。

View File

@@ -125,7 +125,7 @@ public class BigContrastMetalTheme extends ContrastMetalTheme {
table.put("TextField.border", textBorder);
table.put("PasswordField.border", textBorder);
table.put("TextArea.border", textBorder);
table.put("TextPane.font", textBorder);
table.put("TextPane.font", controlFont);
table.put("ScrollPane.border", blackLineBorder);

Some files were not shown because too many files have changed in this diff Show More