Compare commits

..

2810 Commits

Author SHA1 Message Date
Christoph Langer
d6e8788ca8 8335960: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.4
Reviewed-by: mbaesken
2024-07-09 10:07:16 +02:00
Martin Balao
dafbd18099 8320548: Improved loop handling
Backport-of: 72eed2f709caa48c82f58fe75c7e94d2c45947e1
2024-07-05 08:14:14 +02:00
Martin Balao
e69045fe08 8327413: Enhance compilation efficiency
Backport-of: eb1f33f525846e6020185cbc5d6e48cbc760dbb2
2024-06-26 20:26:11 +02:00
Yuri Nesterenko
23b87539d8 8324559: Improve 2D image handling
Reviewed-by: mbalao
Backport-of: 1a5a44019871c411148ca85d0491cc68d2256e4e
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
32a9294393 8323390: Enhance mask blit functionality
Reviewed-by: mbalao
Backport-of: 895893f2fbf1c521d4a263d505f0ecbda8d2eeea
2024-06-26 20:26:11 +02:00
Martin Balao
9e0a9cea81 8323231: Improve array management
Reviewed-by: mbaesken
Backport-of: cf20364d0cb3f182880ee91c7fb023615e27becf
2024-06-26 20:26:11 +02:00
Yuri Nesterenko
28773f3706 8320097: Improve Image transformations
Reviewed-by: mbalao
Backport-of: 1401634b21b76db90291011bcae68c461742e687
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
6a682ce8b2 8325600: Better symbol storage
Reviewed-by: mbalao
Backport-of: da06689bf6fde7b6dd8efc2f0c39fc95adcdb69d
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
9862eb38f3 8319859: Better symbol storage
Reviewed-by: yan, mbalao
Backport-of: f7857e9106841f402ade56bad0338fc53159fb9a
2024-06-26 20:26:10 +02:00
Alexei Voitylov
2586c32d2f 8314794: Improve UTF8 String supports
Reviewed-by: mbalao, evergizova
Backport-of: ab2532d858de8d855529b6f2491f94c499f94009
2024-06-26 20:26:10 +02:00
SendaoYan
a0b3c6cd86 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: mdoerr
Backport-of: 8e1d2b091c
2024-06-25 03:55:51 +00:00
Martin Doerr
2971cb5769 8320692: Null icon returned for .exe without custom icon
Backport-of: 6212264cc6
2024-05-29 06:56:33 +00:00
Ashutosh Mehra
60402f88b5 8330275: Crash in XMark::follow_array
Reviewed-by: stuefe
Backport-of: 42b1d858d1
2024-05-28 18:36:04 +00:00
Matthias Baesken
2e327a9a98 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Backport-of: 377f2e538a
2024-05-28 07:14:05 +00:00
Andrew Lu
a0376cd8f8 8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Backport-of: 5045839cb2
2024-05-28 02:00:44 +00:00
Vladimir Petko
58c19a6051 8295111: dpkg appears to have problems resolving symbolically linked native libraries
Backport-of: 32946e1882
2024-05-27 22:15:42 +00:00
Matthias Baesken
00d3ca21cc 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
Backport-of: c9442014e5
2024-05-27 10:17:18 +00:00
Ben Taylor
4b1d95c73c 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Backport-of: aca1e8365b
2024-05-23 20:29:02 +00:00
Matthias Baesken
d986096302 8330464: hserr generic events - add entry for the before_exit calls
Backport-of: 45ed97f15b
2024-05-23 12:27:11 +00:00
Matthias Baesken
20da646c37 8329605: hs errfile generic events - move memory protections and nmethod flushes to separate sections
Backport-of: 397d948310
2024-05-23 12:25:50 +00:00
Martin Doerr
9035981eca 8321812: Update GC tests to use execute[Limited]TestJava
Reviewed-by: mbaesken
Backport-of: 1d1cd32bc3
2024-05-23 09:24:54 +00:00
Andrew Lu
a4d2a5aaca 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Backport-of: e7c83ea948
2024-05-23 09:21:34 +00:00
Andrew Lu
201e663ee2 8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
Backport-of: a657aa38a5
2024-05-23 09:21:16 +00:00
Liang Mao
fe4a2ae570 8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Backport-of: c1cfb43d8d
2024-05-23 08:47:30 +00:00
Liang Mao
cdfe2f44f6 8329840: Fix ZPhysicalMemorySegment::_end type
Backport-of: b4ddddeff1
2024-05-23 08:47:16 +00:00
Andrew Lu
acff39d922 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Backport-of: e9eb8b98f4
2024-05-23 02:00:35 +00:00
Sergey Bylokhov
a1e0c5db74 8332253: Linux arm32 build fails after 8292591
Backport-of: 95f79c6787
2024-05-21 20:38:56 +00:00
SendaoYan
8ff816356a 8331466: Problemlist serviceability/dcmd/gc/RunFinalizationTest.java on generic-all
Backport-of: 440782e016
2024-05-21 20:19:51 +00:00
Andrew Lu
c44d4e936f 8321107: Add more test cases for JDK-8319372
Backport-of: ecd335d8f4
2024-05-21 09:56:22 +00:00
María Arias de Reyna
ff295b7fc4 8316138: Add GlobalSign 2 TLS root certificates
Backport-of: 4083255440
2024-05-17 14:07:38 +00:00
Andrew Lu
2dc90b5151 8320715: Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16
Backport-of: 5dcf3a56cb
2024-05-17 08:05:35 +00:00
Matthias Baesken
9047499a46 8331298: avoid alignment checks in UBSAN enabled build
Backport-of: 60b61e588c
2024-05-17 07:54:12 +00:00
Matthias Baesken
f953b8a1da 8312218: Print additional debug information when hitting assert(in_hash)
Backport-of: 7cbab1f396
2024-05-17 07:45:55 +00:00
Martin Doerr
0a2e2e707d 8308144: Uncontrolled memory consumption in SSLFlowDelegate.Reader
Backport-of: 099a8f5b2f
2024-05-16 21:52:11 +00:00
Andrew Lu
6b0467c473 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Backport-of: f50df10591
2024-05-16 02:02:08 +00:00
Matthias Baesken
87fe0d28ed 8329663: hs_err file event log entry for thread adding/removing should print current thread
Backport-of: 3ebf8c9359
2024-05-15 11:48:42 +00:00
Matthias Baesken
9b8f98871a 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Backport-of: 5af6b45eef
2024-05-15 11:43:03 +00:00
Matthias Baesken
30f0779c73 8331167: UBSan enabled build fails in adlc on macOS
Backport-of: 4edac349a5
2024-05-15 11:41:41 +00:00
Jan Kratochvil
fdb82f42f1 8328997: Remove unnecessary template parameter lists in GrowableArray
Backport-of: 3d2283800a
2024-05-15 11:05:49 +00:00
Jan Kratochvil
87318f8783 8331352: error: template-id not allowed for constructor/destructor in C++20
Backport-of: 45792c5829
2024-05-15 11:05:31 +00:00
Thomas Stuefe
59ca0093a8 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Backport-of: d2d37c913e
2024-05-15 10:14:41 +00:00
Aleksey Shipilev
2429a90044 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Backport-of: a7461de231
2024-05-15 09:16:28 +00:00
Andrew Lu
5b5d778e43 8309871: jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java timed out
Backport-of: b9df827adc
2024-05-15 08:37:09 +00:00
Jan Kratochvil
035e314467 8324243: Compilation failures in java.desktop module with gcc 14
Backport-of: 8e5f6ddb68
2024-05-14 09:05:36 +00:00
SendaoYan
fbb0f4c464 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Backport-of: 024133b089
2024-05-13 20:22:20 +00:00
SendaoYan
bddd6a7f61 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Backport-of: b6233c3de7
2024-05-13 20:22:03 +00:00
Aleksey Shipilev
153de5aeba 8320370: NMT: Change MallocMemorySnapshot to simplify code.
Reviewed-by: stuefe
Backport-of: a7f6016406
2024-05-13 09:02:17 +00:00
Chad Rakoczy
fa874b3d90 8325621: Improve jspawnhelper version checks
Backport-of: a232e8fb4e
2024-05-13 09:00:54 +00:00
Matthias Baesken
e3a9226e0d 8330524: Linux ppc64le compile warning with clang in os_linux_ppc.cpp
Backport-of: 252c62a66d
2024-05-10 06:41:33 +00:00
Christoph Langer
c12dfc3571 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Backport-of: 8eac95ec3cd4b215556d788b9ade7a6e2f9deaa3
2024-05-09 09:38:35 +00:00
Christoph Langer
ddecbe5201 8330815: Use pattern matching for instanceof in KeepAliveCache
Backport-of: 0ec3c0b1e698f7ad39b4da2edb062721e4670f58
2024-05-09 09:38:17 +00:00
Liang Mao
93d091ad35 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Backport-of: 762b652912
2024-05-07 13:20:39 +00:00
Liang Mao
41fda4a528 8319376: ParallelGC: Forwarded objects found during heap inspection
Backport-of: 59e9981ec2
2024-05-07 13:17:45 +00:00
Aleksey Shipilev
ec6b326010 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: rrich
Backport-of: 6af0af5934
2024-05-07 09:47:45 +00:00
Goetz Lindenmaier
92b43c570e 8317007: Add bulk removal of dead nmethods during class unloading
Backport-of: f553819502
2024-05-07 08:20:13 +00:00
Goetz Lindenmaier
ed2f5a8d64 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: stuefe
Backport-of: 38bf1192b6
2024-05-07 08:19:02 +00:00
Alexandru C. Moraru
7a400f2a59 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Backport-of: 63fe413d93
2024-05-06 11:49:36 +00:00
Christoph Langer
16ba673e14 8331639: [21u]: Bump GHA bootstrap JDK to 21.0.3
Reviewed-by: sgehwolf
2024-05-06 08:39:15 +00:00
Aleksey Shipilev
2b858f5bde 8328938: C2 SuperWord: disable vectorization for large stride and scale
Reviewed-by: epeter, simonis
Backport-of: 2931458711
2024-05-06 08:37:55 +00:00
Amit Kumar
915988281c 8310513: [s390x] Intrinsify recursive ObjectMonitor locking
Reviewed-by: lucy
Backport-of: 47df14590c
2024-05-06 08:27:43 +00:00
Amit Kumar
3ff5359693 8330011: [s390x] update block-comments to make code consistent
Reviewed-by: lucy
Backport-of: 01bda278d6
2024-05-06 08:17:00 +00:00
Amit Kumar
abbad92894 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: d5f3d5c8cc
2024-05-06 08:15:30 +00:00
SendaoYan
3770c28c05 8331331: :tier1 target explanation in doc/testing.md is incorrect
Backport-of: 04271dfe7a
2024-05-06 08:13:04 +00:00
Aleksey Shipilev
021372c76d 8328703: Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
Backport-of: 87e864bf21
2024-05-06 08:07:34 +00:00
Joachim Kern
d459ae9dc9 8329850: [AIX] Allow loading of different members of same shared library archive
Backport-of: cfd19f0176
2024-05-06 06:30:01 +00:00
Gui Cao
835d016ade 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang
Backport-of: b0496096dc
2024-05-05 04:27:07 +00:00
Goetz Lindenmaier
3bb8eeed48 8317809: Insertion of free code blobs into code cache can be very slow during class unloading
Reviewed-by: phh, adinn
Backport-of: 30817b7423
2024-05-03 06:22:47 +00:00
Zhengyu Gu
a4d8d061a8 8328744: Parallel: Parallel GC throws OOM before heap is fully expanded
Backport-of: bf8146eac24ba8e00d1794ef7134ecf2476cf897
2024-05-02 14:14:09 +00:00
Aleksey Shipilev
87d5da4f4f 8328822: C2: "negative trip count?" assert failure in profile predicate code
Backport-of: 2ceeb6c001
2024-05-02 12:27:14 +00:00
Aleksey Shipilev
3892078094 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks
8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()

Backport-of: cb2a671359
2024-05-02 08:27:12 +00:00
Bernhard Urban-Forster
3ab3f52b27 8326974: ODR violation in macroAssembler_aarch64.cpp
Backport-of: b972997af7
2024-04-30 19:35:53 +00:00
Zhengyu Gu
5d5c67898a 8319713: Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
Backport-of: 4bcda60266
2024-04-30 14:03:17 +00:00
Amit Kumar
56a90908c3 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: lucy
Backport-of: 6f6621303a
2024-04-30 09:00:13 +00:00
Aleksey Shipilev
c922c50bad 8322962: Upcall stub might go undetected when freezing frames
Backport-of: 93feda3d9a
2024-04-29 16:04:13 +00:00
Aleksey Shipilev
cbd30c952d 8325095: C2: bailout message broken: ResourceArea allocated string used after free
Reviewed-by: phh
Backport-of: c589555845
2024-04-29 15:43:14 +00:00
Aleksey Shipilev
75ac9e858f 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Backport-of: 7baec66222
2024-04-29 13:45:03 +00:00
Robbin Ehn
a0e8de81ea 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Backport-of: 8990864a53
2024-04-29 10:01:27 +00:00
Goetz Lindenmaier
e7ebae54a7 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lucy
Backport-of: cbe329b90a
2024-04-29 09:19:40 +00:00
SendaoYan
d8bc9e4410 8331113: createJMHBundle.sh support configurable maven repo mirror
Backport-of: ce9eac3819
2024-04-29 08:34:48 +00:00
Aleksey Shipilev
d1b97d4737 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
8321182: SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'

Reviewed-by: phh
Backport-of: 7d82479096
2024-04-29 08:33:59 +00:00
Sergey Bylokhov
e59f4fa6b2 8328194: Add a test to check default rendering engine
Backport-of: c013fa1811
2024-04-29 04:13:55 +00:00
Amos Shi
6f07ee48ed 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Backport-of: d1e676360d
2024-04-28 21:48:57 +00:00
María Arias de Reyna
262cacb238 8320061: [nmt] Multiple issues with peak accounting
Reviewed-by: shade, stuefe
Backport-of: dc256fbc64
2024-04-26 11:14:49 +00:00
Jonathan Dowland
1d01cd7361 8315889: Open source several Swing HTMLDocument related tests
Backport-of: 8f46abc938
2024-04-26 09:17:02 +00:00
Aleksey Shipilev
2331bc75b0 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Backport-of: 925d82931c
2024-04-25 09:30:25 +00:00
Aleksey Shipilev
68d0925b09 8324933: ConcurrentHashTable::statistics_calculate synchronization is expensive
Backport-of: 0e2fdc95ae
2024-04-25 08:55:45 +00:00
Aleksey Shipilev
2626d73689 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Backport-of: da4dd7c008
2024-04-25 08:11:14 +00:00
Aleksey Shipilev
9c0e18c2bb 8320924: Improve heap dump performance by optimizing archived object checks
Backport-of: f32ab8cc47
2024-04-25 08:11:01 +00:00
Aleksey Shipilev
41237fce95 8320707: Virtual thread test updates
Reviewed-by: simonis
Backport-of: b67b71cd87
2024-04-25 08:02:16 +00:00
Aleksey Shipilev
955fcc11f8 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Backport-of: 4b9ec82451
2024-04-25 08:00:19 +00:00
Sonia Zaldana Calles
031acf1c9f 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Backport-of: 94b4ed5766
2024-04-23 13:29:53 +00:00
Sonia Zaldana Calles
324cef1ce3 8327971: Multiple ASAN errors reported for metaspace
8327988: When running ASAN, disable dangerous NMT test

Reviewed-by: stuefe, shade
Backport-of: 9e566d76d1
2024-04-23 10:59:24 +00:00
María Arias de Reyna
ac402fb4ba 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: stuefe
Backport-of: 8647f001bb
2024-04-23 10:54:33 +00:00
Sonia Zaldana Calles
febbf357f5 8316242: Opensource SwingGraphics manual test
Backport-of: a57b9dab6c
2024-04-23 10:45:50 +00:00
Sonia Zaldana Calles
18616558d3 8316154: Opensource JTextArea manual tests
Backport-of: 33c62e4fff
2024-04-23 10:45:34 +00:00
Goetz Lindenmaier
a36d3deaec 8328957: Update PKCS11Test.java to not use hardcoded path
Backport-of: 16576b87b7
2024-04-23 07:36:01 +00:00
Goetz Lindenmaier
bb046b70fb 8320525: G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass
Backport-of: 21d361e944
2024-04-23 07:34:12 +00:00
Goetz Lindenmaier
ffdde9c2fe 8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Backport-of: 1629a9059b
2024-04-23 07:32:07 +00:00
Amos Shi
d11a065405 8187759: Background not refreshed when painting over a transparent JFrame
Backport-of: 04d43c435d
2024-04-23 07:17:34 +00:00
Amos Shi
5880551e78 8318854: [macos14] Running any AWT app prints Secure coding warning
Backport-of: 940f67c1a6
2024-04-23 07:16:59 +00:00
Amos Shi
b56b6f53ae 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Backport-of: 8f0fb27dec
2024-04-23 07:15:34 +00:00
Amos Shi
8e438ab8c7 8315824: Open source several Swing Text/HTML related tests
Backport-of: c11f8352e9
2024-04-23 07:14:53 +00:00
Amos Shi
1f43e2f864 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Backport-of: d10f277bd3
2024-04-23 07:14:16 +00:00
Amos Shi
a6931db9ee 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Backport-of: 31e26814db
2024-04-23 07:13:37 +00:00
Goetz Lindenmaier
af6c585423 8327474: Review use of java.io.tmpdir in jdk tests
Backport-of: 375bfac8e7
2024-04-22 14:01:24 +00:00
Goetz Lindenmaier
62993e7a1b 8328555: hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
Backport-of: 23ebd9c3c6
2024-04-22 13:59:03 +00:00
Goetz Lindenmaier
9b04df20e0 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Backport-of: 85fc47c81a
2024-04-22 13:57:10 +00:00
Goetz Lindenmaier
d19b1a4ccc 8327486: java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
Backport-of: e21da4caac
2024-04-22 13:55:30 +00:00
Vladimir Petko
667513aeb1 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Backport-of: d1099033ac
2024-04-22 08:53:37 +00:00
Aleksey Shipilev
515783b86c 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Backport-of: 90ab52e598
2024-04-22 07:47:02 +00:00
Goetz Lindenmaier
7c6379146e 8319955: Improve dependencies removal during class unloading
Reviewed-by: stuefe
Backport-of: fbe19378c3
2024-04-19 10:56:07 +00:00
Goetz Lindenmaier
2a3c4fc1e4 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: mbaesken, sgehwolf
Backport-of: 9f767aa44b
2024-04-19 10:54:43 +00:00
Goetz Lindenmaier
5a94e48505 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: adinn
Backport-of: c566dfccf8
2024-04-19 10:53:13 +00:00
Goetz Lindenmaier
41c8606efb 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: roland
Backport-of: c9985720b9
2024-04-19 10:51:55 +00:00
Goetz Lindenmaier
f341621cc7 8323685: PrintSystemDictionaryAtExit has mutex rank assert
Backport-of: 2865afe759
2024-04-19 10:47:23 +00:00
Goetz Lindenmaier
e63addbc4d 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
8318720: G1: Memory leak in G1CodeRootSet after JDK-8315503

Reviewed-by: sgehwolf, shade
Backport-of: 795e5dcc85
2024-04-19 10:14:36 +00:00
Andrew Lu
686399a5be 8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
Backport-of: f1a24f6d48
2024-04-19 09:50:37 +00:00
Aleksey Shipilev
6c5500bba6 8318986: Improve GenericWaitBarrier performance
Backport-of: 30462f9da4
2024-04-19 09:48:40 +00:00
Gui Cao
f0f2e70f84 8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations
8316186: RISC-V: Remove PlatformCmpxchg<4>
8330242: RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp

Reviewed-by: fyang
Backport-of: a089ed2b92
2024-04-19 09:46:54 +00:00
Goetz Lindenmaier
7743b6ca05 Merge 2024-04-17 11:34:36 +00:00
Robert Toyonaga
8fa8e02de9 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
Backport-of: 65be5e0c54
2024-04-16 15:10:52 +00:00
Robert Toyonaga
fc7d8f80d9 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Backport-of: 96530bcc07
2024-04-16 15:09:33 +00:00
Goetz Lindenmaier
b980e1c5d6 8328988: [macos14] Problem list LightweightEventTest.java which fails due to macOS bug described in JDK-8322653
Backport-of: 2374d1e334ba0528b39239a01fe52d5843e678df
2024-04-16 08:27:51 +00:00
Goetz Lindenmaier
e9e042b2d9 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Backport-of: d5b95a0ed3
2024-04-16 08:26:38 +00:00
Goetz Lindenmaier
f95de5b202 8320714: java/util/Locale/LocaleProvidersRun.java and java/util/ResourceBundle/modules/visibility/VisibilityTest.java timeout after passing
Backport-of: 69c0b24386
2024-04-16 08:25:15 +00:00
Andrew Lu
0dd4808640 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Backport-of: fa823bd21c
2024-04-16 01:57:57 +00:00
Severin Gehwolf
f5c0d7824f 8329961: Buffer overflow in os::Linux::kernel_version
Backport-of: 279ed0ddd5
2024-04-15 08:24:02 +00:00
Matthias Baesken
eec41a48a8 8328589: unify os::breakpoint among posix platforms
Backport-of: 93d1700f23
2024-04-15 07:39:08 +00:00
Sidraya Jayagond
807f21d698 8329545: [s390x] Fix garbage value being passed in Argument Register
Backport-of: e0fd6c4c9e
2024-04-12 08:54:17 +00:00
Gui Cao
1825464160 8329823: RISC-V: Need to sync CPU features with related JVM flags
Backport-of: b9331cd25c
2024-04-11 12:41:04 +00:00
Goetz Lindenmaier
db750ffb89 8320349: Simplify FileChooserSymLinkTest.java by using single-window testUI
Backport-of: b1cb37432a
2024-04-11 09:56:47 +00:00
Goetz Lindenmaier
dc53669291 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Backport-of: cc8f8da293
2024-04-11 09:55:24 +00:00
Goetz Lindenmaier
db8ea85c7d 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Backport-of: 5a6aa569aa
2024-04-11 09:26:56 +00:00
Goetz Lindenmaier
d1caa3fdf8 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Backport-of: 6f5c903d10
2024-04-11 09:25:20 +00:00
Goetz Lindenmaier
c993c0cd99 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Backport-of: 1da82a34b1
2024-04-11 09:20:06 +00:00
Christoph Langer
fbb424f95d 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Backport-of: 92d6fa4abec1fdf8e57723e4490be0ba4f97e59d
2024-04-11 08:38:52 +00:00
Soumadipta Roy
ba4ad2b487 8316608: Enable parallelism in vmTestbase/gc/vector tests
Backport-of: f61499c73f
2024-04-11 07:09:54 +00:00
Andrew Lu
fb10dd97ed 8281658: Add a security category to the java -XshowSettings option
Backport-of: 2e12a123c9
2024-04-11 02:01:33 +00:00
Aleksey Shipilev
249d89632c 8328702: C2: Crash during parsing because sub type check is not folded
Backport-of: e5e21a8a6e
2024-04-10 18:13:01 +00:00
Goetz Lindenmaier
6f609576d5 8328037: Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
Backport-of: 128e60a29f
2024-04-10 09:58:59 +00:00
Goetz Lindenmaier
c254affaf2 8321718: ProcessTools.executeProcess calls waitFor before logging
Backport-of: 9ab29f8dcd
2024-04-10 09:57:44 +00:00
Goetz Lindenmaier
38a2173d54 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: sgehwolf
Backport-of: 4eab39d941
2024-04-10 09:46:29 +00:00
Goetz Lindenmaier
e0d2248145 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Backport-of: 197981b431
2024-04-10 09:45:21 +00:00
Aleksey Shipilev
8173c6489d 8329570: G1: Excessive is_obj_dead_cond calls in verification
Backport-of: 29992e1fca
2024-04-10 06:43:01 +00:00
Amos Shi
e95e6feed5 8305645: System Tray icons get corrupted when Windows primary monitor changes
Backport-of: 6cd370e04b
2024-04-09 18:16:23 +00:00
Matthias Baesken
88abc6adb5 8328604: remove on_aix() function
Backport-of: 940d1965f8
2024-04-09 08:53:55 +00:00
Gui Cao
fd507393b4 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: rehn
Backport-of: cbbfa0ddfb
2024-04-09 08:40:49 +00:00
Aleksey Shipilev
d5f44dcae2 8319650: Improve heap dump performance with class metadata caching
Reviewed-by: phh
Backport-of: 03db82818b
2024-04-09 05:58:24 +00:00
Goetz Lindenmaier
b9ca253228 8325203: System.exit(0) kills the launched 3rd party application
Backport-of: 6944537c3e
2024-04-08 20:55:58 +00:00
Elif Aslan
1c4479fd39 8325567: jspawnhelper without args fails with segfault
Backport-of: 2627470946
2024-04-08 20:21:25 +00:00
Goetz Lindenmaier
35f291b957 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677
Backport-of: 4f336085d1
2024-04-08 12:24:51 +00:00
Goetz Lindenmaier
2a56bfbb6a 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Backport-of: 9029bf644e
2024-04-08 12:23:36 +00:00
Goetz Lindenmaier
d5c170ac5c 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Backport-of: 3ebe6c192a
2024-04-08 12:21:53 +00:00
Goetz Lindenmaier
e5ee283bc9 8321163: [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
Backport-of: 672f37324f
2024-04-08 12:20:02 +00:00
Goetz Lindenmaier
3b3ec13364 8314975: JavadocTester should set source path if not specified
Backport-of: 2f4d601a56
2024-04-08 12:18:26 +00:00
Goetz Lindenmaier
e5c1031e1f 8293069: Make -XX:+Verbose less verbose
Backport-of: 238c51e621
2024-04-08 12:13:21 +00:00
Dan Lutker
8ed46c2b0e 8294699: Launcher causes lingering busy cursor
Backport-of: d3df3eb5d7
2024-04-08 06:58:00 +00:00
Christoph Langer
05f18b1062 8329838: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.3
Reviewed-by: goetz
2024-04-08 08:22:11 +02:00
Goetz Lindenmaier
e1f8f838d7 8316460: 4 javax/management tests ignore VM flags
Backport-of: d39b7bab27
2024-04-05 19:12:41 +00:00
Goetz Lindenmaier
85ca789303 8318962: Update ProcessTools javadoc with suggestions in 8315097
Backport-of: 7e4cb2f09d
2024-04-05 19:11:13 +00:00
Goetz Lindenmaier
40b1c4b3c8 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
Backport-of: 1696603ccd
2024-04-05 19:09:59 +00:00
Goetz Lindenmaier
ccaa6d7ebf 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Backport-of: 89987dbf87
2024-04-05 19:08:31 +00:00
Matthias Baesken
b80fb5e6d4 8327468: Do not restart close if errno is EINTR [macOS/linux]
Backport-of: 481c866df8
2024-04-05 06:50:18 +00:00
Matthias Baesken
bdf57475ef 8328709: AIX os::get_summary_cpu_info support Power 10
Backport-of: b235682a18
2024-04-05 06:47:31 +00:00
Matthias Baesken
c05f3bf4a4 8328776: [AIX] remove checked_vmgetinfo, use vmgetinfo directly
Backport-of: cf9b5a71bd
2024-04-05 06:44:49 +00:00
Goetz Lindenmaier
1563c54a7f 8319153: Fix: Class is a raw type in ProcessTools
Backport-of: 1c2ea1d27b
2024-04-04 20:55:16 +00:00
Goetz Lindenmaier
702d337294 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Backport-of: ee9776fa23
2024-04-04 20:53:40 +00:00
Goetz Lindenmaier
74dcc30d5f 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Backport-of: 0eb0997ae4
2024-04-04 20:49:48 +00:00
Aleksey Shipilev
fbc5871c08 8328638: Fallback option for POST-only OCSP requests
8329213: Better validation for com.sun.security.ocsp.useget option

Reviewed-by: serb
Backport-of: 614db2ea9e
2024-04-04 16:08:27 +00:00
Martin Balao
778a6c4030 8319851: Improve exception logging
Reviewed-by: mbaesken
Backport-of: 87dfeeb14fdd0fa1648a8bec91b5b713cc2c1b83
2024-04-03 16:49:53 +02:00
Christoph Langer
78e35ea113 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
Backport-of: dcca5daaf7f51c6579369c6ba3430a3d7962dbf2
2024-04-03 12:08:11 +00:00
Goetz Lindenmaier
620250b8e6 8317965: TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"
8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"

Backport-of: 5207443b36
2024-04-03 09:48:18 +00:00
Goetz Lindenmaier
d2c6be9425 8317350: Move code cache purging out of CodeCache::UnloadingScope
Backport-of: bd3bc2c618
2024-04-03 09:46:34 +00:00
Goetz Lindenmaier
c094d7e42f 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Backport-of: 1082c0e767
2024-04-03 09:45:32 +00:00
Goetz Lindenmaier
0839687095 8317235: Remove Access API use in nmethod class
Backport-of: c47a0ce3f0
2024-04-03 09:40:16 +00:00
Goetz Lindenmaier
32ab4a2ab6 8316669: ImmutableOopMapSet destructor not called
Backport-of: 3d6e775d71
2024-04-03 09:30:21 +00:00
Goetz Lindenmaier
7c5ff9aac5 8316670: Remove effectively unused nmethodBucket::_count
Backport-of: 837783c2d3
2024-04-03 09:28:57 +00:00
Goetz Lindenmaier
92b237c461 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: lucy
Backport-of: 8dfde28b28
2024-04-03 09:26:28 +00:00
Goetz Lindenmaier
618a7baa1f 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Backport-of: 347beb21aa
2024-04-03 09:11:38 +00:00
Goetz Lindenmaier
8d3151f098 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Backport-of: 50158f393e
2024-04-03 09:08:52 +00:00
Goetz Lindenmaier
fa5cc58822 8315605: G1: Add number of nmethods in code roots scanning statistics
Backport-of: 7ef059a75c
2024-04-03 09:00:18 +00:00
Goetz Lindenmaier
80cf08aa0b 8294985: SSLEngine throws IAE during parsing of X500Principal
Backport-of: 80edd5c298
2024-04-03 08:58:07 +00:00
Aleksey Shipilev
9e6fb8287a 8328592: hprof tests fail with -XX:-CompactStrings
Backport-of: bb3e84bd1f
2024-04-03 06:50:39 +00:00
Long Yang
342ae64964 8319876: Reduce memory consumption of VM_ThreadDump::doit
Reviewed-by: phh
Backport-of: 8ec6b8de3b
2024-04-03 01:27:52 +00:00
Taizo Kurashige
4c7b1d93d9 8313710: jcmd: typo in the documentation of JFR.start and JFR.dump
Backport-of: 16d917a85f
2024-04-02 09:13:22 +00:00
Elif Aslan
0bbb8033ab 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Backport-of: 29d462a072
2024-04-02 09:11:43 +00:00
Elif Aslan
f5dfd8be58 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Backport-of: 9688ec2d0d
2024-04-02 09:11:30 +00:00
María Arias de Reyna
d17aa5ed00 8319437: NMT should show library names in call stacks
Backport-of: e33b6c10f8
2024-04-02 08:40:56 +00:00
Goetz Lindenmaier
2800d8bc70 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Backport-of: d44aaa37f9
2024-04-01 16:25:08 +00:00
Goetz Lindenmaier
245de5938d 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Backport-of: 1612b6dc6e
2024-04-01 16:21:29 +00:00
Andrew Lu
6791646b9f 8328812: Update and move siphash license
Backport-of: ce7ebaa606
2024-04-01 01:57:12 +00:00
Elif Aslan
c263bc5ee7 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Backport-of: cc1800fa4d
2024-03-28 18:11:31 +00:00
Andrew Lu
0bfb53c878 8323994: gtest runner repeats test name for every single gtest assertion
Backport-of: 1aae980c54
2024-03-28 07:59:55 +00:00
Andrew Lu
7751996220 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Backport-of: 1f43fa0f8b
2024-03-28 07:59:30 +00:00
Goetz Lindenmaier
e3f36477d4 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Backport-of: 66520be7a7
2024-03-27 10:02:16 +00:00
Martin Balao
517bd93d01 8322122: Enhance generation of addresses
Backport-of: 1a4a46e102a2bc282fcbec571169867d715f4ade
2024-03-27 07:55:30 +01:00
Alexey Bakhtin
5378f80a1d 8318340: Improve RSA key implementations
Reviewed-by: mbalao
Backport-of: 62d9cec1d6b804a70381bfb8ac902b6bb649f8ae
2024-03-27 07:26:13 +01:00
Yuri Nesterenko
8eba98ad61 8315708: Enhance HTTP/2 client usage
Reviewed-by: mbalao
Backport-of: 4bd9637dfe12d330afd7409c27c5778b28a24cf4
2024-03-26 22:44:18 +01:00
Aleksey Shipilev
f2a013bd33 8328825: Google CAInterop test failures
Backport-of: 70a15c7363
2024-03-26 11:05:42 +00:00
Aleksey Shipilev
a2557bbe1a 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c
2024-03-26 08:19:04 +00:00
Goetz Lindenmaier
c33815ad3c 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Backport-of: 9f7094079b
2024-03-25 18:03:02 +00:00
Goetz Lindenmaier
660c00a7fc 8319648: java/lang/SecurityManager tests ignore vm flags
Backport-of: 437cf354e2
2024-03-25 18:00:58 +00:00
Goetz Lindenmaier
bb2ddc0818 8326948: Force English locale for timeout formatting
Backport-of: e772e78179
2024-03-25 17:59:04 +00:00
Goetz Lindenmaier
aa1fe7a120 8326824: Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java
Backport-of: 552411f832
2024-03-25 17:58:45 +00:00
Goetz Lindenmaier
1dfda33a1f 8319651: Several network tests ignore vm flags when start java process
Backport-of: 9538f5d317
2024-03-25 17:56:54 +00:00
Goetz Lindenmaier
2836734607 8324236: compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
Backport-of: 72ba8178a8
2024-03-25 17:55:22 +00:00
Goetz Lindenmaier
098656d11e 8319571: Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
Backport-of: b78896b9aa
2024-03-25 17:54:59 +00:00
Aleksey Shipilev
438c41afd0 8328705: GHA: Cross-compilation jobs do not require build JDK
Backport-of: 29ba4b7d1e
2024-03-25 17:51:32 +00:00
Goetz Lindenmaier
dbb3dfdd42 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Backport-of: 52a6c37558
2024-03-25 17:51:15 +00:00
Goetz Lindenmaier
d59d00d50f 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Backport-of: 62b7c5eaed
2024-03-25 17:49:27 +00:00
Goetz Lindenmaier
998ba93ace 8319567: Update java/lang/invoke tests to support vm flags
8319568: Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags
8319672: Several classloader tests ignore VM flags
8319676: A couple of jdk/modules/incubator/ tests ignore VM flags
8319677: Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless

Backport-of: 1588dd934c
2024-03-25 17:45:56 +00:00
Goetz Lindenmaier
bb8b64635c 8319574: Exec/process tests should be marked as flagless
Backport-of: 68110b7a82
2024-03-25 14:34:14 +00:00
Goetz Lindenmaier
f96f632e6a 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Backport-of: bfbc41c1f1
2024-03-25 14:32:45 +00:00
Goetz Lindenmaier
6b85c74f3b 8316164: Opensource JMenuBar manual test
Backport-of: 8f4dfc443b
2024-03-25 14:31:00 +00:00
Sonia Zaldana Calles
7d4a6fc01b 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Backport-of: 43c6f0b588
2024-03-25 13:31:15 +00:00
Sonia Zaldana Calles
3050bf3bd0 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Backport-of: 6c0bebccb0
2024-03-25 10:28:27 +00:00
Sonia Zaldana Calles
5694ad27ab 8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
8301183: (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9

Backport-of: 7004c2724d
2024-03-25 10:28:09 +00:00
Sonia Zaldana Calles
39f717876a 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Backport-of: c3c1d5bd12
2024-03-25 10:26:41 +00:00
Aleksey Shipilev
8c6e32dc0e 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Backport-of: f207aa94f9
2024-03-25 08:53:01 +00:00
Matthias Baesken
77d6dfd854 8328165: improve assert(idx < _maxlrg) failed: oob
Backport-of: d57bdd85ab
2024-03-22 08:26:13 +00:00
Andrew Lu
bac3b94c10 8315663: Open source misc awt tests
Backport-of: a36f5a54ab
2024-03-22 02:12:50 +00:00
Andrew Lu
9228cdda84 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Backport-of: bdd1aebea3
2024-03-22 02:12:22 +00:00
Goetz Lindenmaier
d9539f599a 8325908: Finish removal of IntlTest and CollatorTest
Backport-of: 4c7b313e0d
2024-03-21 12:28:48 +00:00
Goetz Lindenmaier
8ecc67bdb8 8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"

Backport-of: 842b895f09
2024-03-21 12:25:04 +00:00
Aleksey Shipilev
cc918abe2f 8319048: Monitor deflation unlink phase prolongs time to safepoint
Backport-of: efc392259c
2024-03-21 09:49:41 +00:00
Goetz Lindenmaier
376f880a6d Merge 2024-03-20 10:27:35 +00:00
Goetz Lindenmaier
6a89849e11 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: eebcc2181f
2024-03-20 08:59:10 +00:00
Goetz Lindenmaier
f17d3863c1 8317631: Refactor ChoiceFormat tests to use JUnit
Backport-of: 5e8d893c48
2024-03-20 08:55:19 +00:00
Alexander Scherbatiy
93a4707f13 7001133: OutOfMemoryError by CustomMediaSizeName implementation
Backport-of: 10335f60f9
2024-03-19 17:36:25 +00:00
Alexander Scherbatiy
6b0cfd441e 8320365: IPPPrintService.getAttributes() causes blanket re-initialisation
Backport-of: 91ffdfb1fc
2024-03-19 15:17:21 +00:00
Oli Gillespie
eaa8ed9900 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade
Backport-of: 8ef918d667
2024-03-19 14:14:56 +00:00
Robert Toyonaga
c8ddf40f1a 8326529: JFR: Test for CompilerCompile events fails due to time out
Backport-of: 4dd6c44cbd
2024-03-19 14:10:38 +00:00
Goetz Lindenmaier
eb4f76e5b8 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: dde519dc21
2024-03-19 14:07:09 +00:00
Goetz Lindenmaier
196a851b13 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Backport-of: 95310eab6c
2024-03-19 14:04:58 +00:00
Goetz Lindenmaier
700fd39911 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Backport-of: 868f8745fa
2024-03-19 14:02:50 +00:00
Goetz Lindenmaier
6632caa01a 8288989: Make tests not depend on the source code
Backport-of: 2838a916ab
2024-03-19 13:58:25 +00:00
Goetz Lindenmaier
81f621d83d 8316696: Remove the testing base classes: IntlTest and CollatorTest
Backport-of: b859da9c54
2024-03-19 13:56:13 +00:00
Goetz Lindenmaier
dc6afd04f8 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Backport-of: 8d29329138
2024-03-19 13:55:07 +00:00
Goetz Lindenmaier
b3e81769c1 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Backport-of: d7251c1755
2024-03-19 13:51:40 +00:00
Oli Gillespie
06e4cf37df 8315559: Delay TempSymbol cleanup to avoid symbol table churn
8321276: runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"

Reviewed-by: coleenp
Backport-of: d23f4f12ad
2024-03-19 11:33:17 +00:00
Aleksey Shipilev
9e1840f952 8325613: CTW: Stale method cleanup requires GC after Sweeper removal
Backport-of: 1281e18f14
2024-03-19 09:20:43 +00:00
Long Yang
2de8cfaa2e 8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Backport-of: 6f8b0a33fa
2024-03-19 08:35:23 +00:00
Aleksey Shipilev
d1af31b609 8318757: VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls
8319896: Remove monitor deflation from final audit
8320515: assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
8325437: Safepoint polling in monitor deflation can cause massive logs

Reviewed-by: stefank, adinn
Backport-of: 87be6b69fe
2024-03-18 08:59:10 +00:00
Goetz Lindenmaier
07fc624683 8327391: Add SipHash attribution file
Backport-of: fcf48ab3d3
2024-03-15 08:50:52 +00:00
Dan Lutker
cc65d0da53 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Reviewed-by: shade
Backport-of: 5d414da504
2024-03-14 22:18:52 +00:00
Goetz Lindenmaier
6d8d049e4a 8324632: Update Zlib Data Compression Library to Version 1.3.1
8315117: Update Zlib Data Compression Library to Version 1.3
8326351: Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1

Backport-of: b5c267fc8a
2024-03-14 20:22:26 +00:00
Goetz Lindenmaier
5431b82d06 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Backport-of: 3b1062d45d
2024-03-14 20:18:46 +00:00
Goetz Lindenmaier
5762df6f81 8321489: Update LCMS to 2.16
Backport-of: dc7d3b182d
2024-03-14 20:16:38 +00:00
Goetz Lindenmaier
a69c4370a7 8316559: Refactor some util/Calendar tests to JUnit
Backport-of: 355811a996
2024-03-14 20:14:53 +00:00
Goetz Lindenmaier
390e647d41 8313612: Use JUnit in lib-test/jdk tests
Backport-of: a35e96a3fa
2024-03-14 20:13:46 +00:00
Goetz Lindenmaier
539b04edc4 8314832: Few runtime/os tests ignore vm flags
Backport-of: fc3e826692
2024-03-14 20:12:15 +00:00
Goetz Lindenmaier
0d3a4e294a 8310818: Refactor more Locale tests to use JUnit
Backport-of: 12e9430910
2024-03-14 20:10:46 +00:00
Goetz Lindenmaier
166aad07e0 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Backport-of: 05e9c41edd
2024-03-14 20:09:15 +00:00
Goetz Lindenmaier
58b3403ada 8310234: Refactor Locale tests to use JUnit
Backport-of: dad7bd9efc
2024-03-14 20:08:02 +00:00
William Kemper
e3b6098b4c 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: shade
Backport-of: 51238c4bdb
2024-03-14 17:09:38 +00:00
Andrew Lu
93fd1a1d5c 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Backport-of: 62c9530c05
2024-03-14 09:04:45 +00:00
William Kemper
ad5a0878db 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: phh
Backport-of: 808a03927c
2024-03-13 16:08:48 +00:00
Matthias Baesken
608c98de87 8326496: [test] checkHsErrFileContent support printing hserr in error case
Backport-of: a065eba56d
2024-03-13 10:31:27 +00:00
Matthias Baesken
d42da09461 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Backport-of: d0039960c4
2024-03-13 08:53:04 +00:00
Andrew Lu
2a6688f6ce 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Backport-of: 8be3e39220
2024-03-13 08:22:44 +00:00
Matthias Baesken
da02da7dd3 8325432: enhance assert message "relocation addr must be in this section"
Backport-of: 3d3a8f0ebf
2024-03-13 08:20:11 +00:00
Suchismith Roy
c80be84cdd 8320005: Allow loading of shared objects with .a extension on AIX
Backport-of: e85355ada4
2024-03-12 12:23:16 +00:00
Martin Doerr
44fdfc7e91 8326101: [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: e3ae81eeeee8e2b0063a576a90624dd927b512f0
2024-03-12 12:15:26 +00:00
Andrew Lu
c8e9f1d5d3 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Backport-of: f1b73350c2
2024-03-12 09:23:54 +00:00
Andrew Lu
7f5afa186a 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Backport-of: 721bfee53a
2024-03-12 09:23:28 +00:00
Andrew Lu
7505194e6b 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Backport-of: 1f2922ad85
2024-03-12 02:17:55 +00:00
Sonia Zaldana Calles
779204c941 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: phh
Backport-of: 82796bdebb
2024-03-11 22:22:14 +00:00
Ludovic Henry
d4e336d4b7 8321075: RISC-V: UseSystemMemoryBarrier lacking proper OS support
Reviewed-by: rehn, fyang
Backport-of: 68eb5a1df5
2024-03-11 13:14:15 +00:00
Andrew Leonard
e2858b5c98 8326685: Linux builds not reproducible if two builds configured in different build folders
Backport-of: 3b90ddfefe
2024-03-11 11:01:27 +00:00
Amos Shi
8f08066962 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Backport-of: f7d6d7a04f
2024-03-11 09:21:38 +00:00
Aleksey Shipilev
a75d19dea5 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: phh
Backport-of: 4a16d111b1
2024-03-11 09:18:50 +00:00
Matthias Baesken
c0b5fdf0f2 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Backport-of: d9ef16dbb6
2024-03-11 08:24:52 +00:00
Long Yang
50f447c5f4 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate
Backport-of: 8dbd4b391f
2024-03-11 08:16:55 +00:00
Matthias Baesken
3086ed8864 8324834: Use _LARGE_FILES on AIX
Backport-of: 8e45182357
2024-03-11 08:15:08 +00:00
Matthias Baesken
83cc4cb50d 8327059: os::Linux::print_proc_sys_info add swappiness information
Backport-of: f3b15abcb7
2024-03-11 08:08:50 +00:00
Amos Shi
624e6034a7 8315834: Open source several Swing JSpinner related tests
Backport-of: 4a63eb0522
2024-03-08 05:42:31 +00:00
Amos Shi
066af44353 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Backport-of: 91d8dac9cf
2024-03-08 05:39:48 +00:00
Amos Shi
8e439ba64a 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Backport-of: cbfddf4e1d
2024-03-08 05:39:33 +00:00
Amos Shi
9a8d91a99f 8315677: Open source few swing JFileChooser and other tests
Backport-of: fe5ef5f20d
2024-03-08 05:38:20 +00:00
Martin Doerr
c4c4b22c0b 8325326: [PPC64] Don't relocate in case of allocation failure
Backport-of: 4388095cde
2024-03-08 05:37:04 +00:00
Sonia Zaldana Calles
c26cad3027 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Backport-of: 54f09d7345
2024-03-07 15:10:20 +00:00
Goetz Lindenmaier
315d051f68 8314828: Mark 3 jcmd command-line options test as vm.flagless
8316228: jcmd tests are broken by 8314828

Backport-of: 23fab1181b
2024-03-07 11:42:14 +00:00
Goetz Lindenmaier
ab6e02744f 8320712: Rewrite BadFactoryTest in pure Java
Backport-of: 66971600f7
2024-03-07 10:44:22 +00:00
Goetz Lindenmaier
40f0254b43 8323276: StressDirListings.java fails on AIX
Backport-of: e5aed6be7a
2024-03-07 10:40:54 +00:00
Goetz Lindenmaier
d4823c21e1 8322477: order of subclasses in the permits clause can differ between compilations
Reviewed-by: mdoerr
Backport-of: 5ba69e1734
2024-03-07 10:35:32 +00:00
Goetz Lindenmaier
0b01febb9e 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Backport-of: ace010b38a
2024-03-07 10:33:50 +00:00
Goetz Lindenmaier
e7994c1d6a 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Backport-of: 704c6ea16c
2024-03-07 10:30:39 +00:00
Goetz Lindenmaier
5838aed21e 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Backport-of: 93e82c0146
2024-03-07 10:29:30 +00:00
Goetz Lindenmaier
45e20c5a5c 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Backport-of: 1664e793eb
2024-03-07 10:28:18 +00:00
Goetz Lindenmaier
22672926ea 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Backport-of: af7f95e24a
2024-03-07 10:27:09 +00:00
Goetz Lindenmaier
47c67bda68 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Backport-of: 57fc9a3e96
2024-03-07 10:23:44 +00:00
SendaoYan
e328bf37fc 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Backport-of: 432756b6e5
2024-03-07 10:14:45 +00:00
SendaoYan
5c3dfe46a5 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Backport-of: 52814994ef
2024-03-07 10:13:07 +00:00
Sonia Zaldana Calles
e8d2535856 8315609: Open source few more swing text/html tests
Backport-of: a04c6c1ac6
2024-03-07 10:12:05 +00:00
Sonia Zaldana Calles
555f824c76 8315898: Open source swing JMenu tests
Backport-of: fecd2fd8f2
2024-03-07 10:11:51 +00:00
Andrew Lu
bfaec80e80 8325972: Add -x to bash for building with LOG=debug
Backport-of: 8668198c26
2024-03-07 08:07:50 +00:00
Andrew Lu
e071843318 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Backport-of: 9f0e7da64e
2024-03-07 08:07:18 +00:00
Richard Reingruber
ad1d32484a 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Reviewed-by: mdoerr
2024-03-06 09:05:25 +00:00
Goetz Lindenmaier
930344ad6f Merge 2024-03-06 08:19:55 +00:00
Goetz Lindenmaier
4244cb0d99 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Backport-of: acaab6fd74
2024-03-05 11:57:40 +00:00
Oli Gillespie
d6ad625603 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Backport-of: 69b2674c68
2024-03-05 10:55:30 +00:00
Sergey Bylokhov
29bf21fd99 8322750: Test "api/java_awt/interactive/SystemTrayTests.html" failed because A blue ball icon is added outside of the system tray
Backport-of: 5a988a5087
2024-03-05 03:24:52 +00:00
Sonia Zaldana Calles
2d62854922 8320343: Generate GIF images for AbstractButton/5049549/bug5049549.java
Backport-of: 9481d06e62
2024-03-04 17:50:11 +00:00
Matthias Baesken
fdbed07d38 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Backport-of: 9f4ec21f47
2024-03-04 11:46:03 +00:00
Aleksey Shipilev
dbcce04ae9 8323519: Add applications/ctw/modules to Hotspot tiered testing
Backport-of: ba3c3bbd87
2024-03-04 11:19:49 +00:00
Andrew Lu
500d85aad7 8318580: "javax/swing/MultiMonitor/MultimonVImage.java failing with Error. Can't find library: /open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
Backport-of: e4803e0cbf
2024-03-04 03:09:00 +00:00
Sergey Bylokhov
ee6445c495 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Backport-of: aba19334ea
2024-03-02 02:44:31 +00:00
KIRIYAMA Takuya
94634c08e6 8313394: Array Elements in OldObjectSample event has the incorrect description
Backport-of: e8c325dea3
2024-03-01 15:15:17 +00:00
Patrick Zhang
4243aed457 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Backport-of: 9936aeea32
2024-03-01 09:39:07 +00:00
Liang Mao
e667521b09 8324123: aarch64: fix prfm literal encoding in assembler
Backport-of: bde87895c8
2024-02-29 16:27:30 +00:00
Aleksey Shipilev
76ebcc19d7 8322846: Running with -Djdk.tracePinnedThreads set can hang
Backport-of: faa9c6909d
2024-02-29 09:24:54 +00:00
Jiří Vaněk
2d791b8b85 8323170: j2dbench is using outdated javac source/target to be able to build by itself
Backport-of: b5df2f4314
2024-02-28 17:50:25 +00:00
Aleksey Shipilev
3eb5517b73 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
8312777: notifyJvmtiMount before notifyJvmtiUnmount
8321270: Virtual Thread.yield consumes parking permit
8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
8316924: java/lang/Thread/virtual/stress/ParkALot.java times out

Backport-of: 9a83d55887
2024-02-28 15:36:10 +00:00
Martin Doerr
cea29fe9f0 8325213: Flags introduced by configure script are not passed to ADLC build
Backport-of: 9ee9f28849
2024-02-28 08:26:29 +00:00
Aleksey Shipilev
677556d2ec 8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index
8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

Reviewed-by: phh
Backport-of: e9e694f4ef
2024-02-28 08:04:42 +00:00
Aleksey Shipilev
8ac431347f 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Backport-of: 951b5f8ecb
2024-02-28 07:39:55 +00:00
Andrew Lu
dc8759c631 8316053: Open some swing tests 3
Backport-of: a2391a92cd
2024-02-28 07:05:02 +00:00
Liang Mao
ef13a82916 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
Backport-of: 80642dd7af
2024-02-28 02:50:14 +00:00
Goetz Lindenmaier
64b70beeb3 8326773: Bump update version for OpenJDK: jdk-21.0.4
Reviewed-by: sgehwolf
2024-02-27 18:54:59 +00:00
Christoph Langer
36b5ac46ed 8323664: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fails with JNI warning on some Windows configurations
Backport-of: 99c9ae127c
2024-02-27 09:50:34 +00:00
Matthias Baesken
4296ddfc63 8325496: Make TrimNativeHeapInterval a product switch
Backport-of: d31fd78d96
2024-02-27 09:24:21 +00:00
Sergey Bylokhov
1b7c5aff86 8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
Backport-of: f695ca5884
2024-02-26 18:15:04 +00:00
Matthias Baesken
55f9bcf0bd 8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Backport-of: ba8db1f6d7
2024-02-26 11:03:01 +00:00
Matthias Baesken
69aa4ab1f5 8325470: [AIX] use fclose after fopen in read_psinfo
Backport-of: 4513da9496
2024-02-26 10:53:01 +00:00
Andrew Lu
08f9237234 8320303: Allow PassFailJFrame to accept single window creator
Backport-of: 83ffc1ac94
2024-02-26 07:21:51 +00:00
Christoph Langer
8ddff70215 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Backport-of: c2d9fa26ce
2024-02-23 09:11:27 +00:00
Matthias Baesken
2c38047019 8314835: gtest wrappers should be marked as flagless
Backport-of: 1ea6463fbb
2024-02-23 07:50:28 +00:00
Martin Balao
c80bb728db 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Backport-of: 0f5f3c9b97
2024-02-23 07:43:47 +00:00
Pasam Soujanya
e69b61133b 8311893: Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
Reviewed-by: hannesw
Backport-of: 783ae56634
2024-02-22 13:43:14 +00:00
Aleksey Shipilev
290cd1171f 8321408: Add Certainly roots R1 and E1
Backport-of: f3073db42a
2024-02-22 09:25:00 +00:00
Aleksey Shipilev
9adc281a50 8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Backport-of: 2705ed0a71
2024-02-22 09:24:47 +00:00
Andrew Lu
3b4932b0b3 8315726: Open source several AWT applet tests
Backport-of: 1741d13b12
2024-02-22 09:07:53 +00:00
SendaoYan
92d533e782 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Backport-of: 791b427f44
2024-02-21 13:55:18 +00:00
Liang Mao
36569de5e4 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId
Backport-of: 88dafe564f
2024-02-21 09:53:47 +00:00
Darragh Clarke
90c9f70e7c 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Backport-of: fbaaac63d4
2024-02-21 09:52:36 +00:00
Ilya Gavrilin
4fcc5c7486 8322790: RISC-V: Tune costs for shuffles with no conversion
Backport-of: 2acb5bd992
2024-02-20 11:26:42 +00:00
Evgeny Astigeevich
a9792a8420 8324874: AArch64: crypto pmull based CRC32/CRC32C intrinsics clobber V8-V15 registers
Backport-of: 4cd318756d
2024-02-19 15:47:35 +00:00
Aleksey Shipilev
d6f4f5ed74 8318737: Fallback linker passes bad JNI handle
Backport-of: 3885dc5b9a
2024-02-19 15:40:29 +00:00
Joachim Kern
4d4c47d92f 8320890: [AIX] Find a better way to mimic dl handle equality
Reviewed-by: mdoerr
Backport-of: b8ae4a8c09
2024-02-19 09:51:00 +00:00
Aleksey Shipilev
93be33ca28 8325672: C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
Backport-of: 74b90aa87e
2024-02-19 08:30:01 +00:00
Aleksey Shipilev
70112e33ae 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Backport-of: a62c48b87e
2024-02-19 07:32:55 +00:00
Amos Shi
e181516611 8315602: Open source swing security manager test
Backport-of: fd6442c079
2024-02-19 07:32:36 +00:00
Sergey Bylokhov
70fa49ed58 8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
Backport-of: 781f368d42
2024-02-16 17:21:56 +00:00
Sergey Bylokhov
1c92a05724 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Backport-of: 6c7029ffd4
2024-02-16 02:30:51 +00:00
Andrew John Hughes
941ca60ac4 8009550: PlatformPCSC should load versioned so
Backport-of: 328b381075
2024-02-15 13:41:02 +00:00
Aleksey Shipilev
fb19cb3c35 8319314: NMT detail report slow or hangs for large number of mappings
Reviewed-by: phh
Backport-of: 9938b3f62b
2024-02-15 09:07:51 +00:00
Aleksey Shipilev
3da175b2de 8323717: Introduce test keyword for tests that need external dependencies
Backport-of: 12b89cd2ee
2024-02-15 08:49:49 +00:00
Aleksey Shipilev
24fae7abaa 8324514: ClassLoaderData::print_on should print address of class loader
Backport-of: fb822e49f2
2024-02-15 08:49:33 +00:00
Aleksey Shipilev
786c5fb1e5 8324858: [vectorapi] Bounds checking issues when accessing memory segments
Reviewed-by: psandoz
Backport-of: 1ae851387f
2024-02-14 11:53:34 +00:00
Aleksey Shipilev
ecdc22eafb 8305962: update jcstress to 0.16
Backport-of: 292ee630ae
2024-02-14 11:42:59 +00:00
Aleksey Shipilev
3f3500811d 8323515: Create test alias "all" for all test roots
8324647: Invalid test group of lib-test after JDK-8323515

Backport-of: 8b9bf75880
2024-02-14 11:41:40 +00:00
George Adams
b9cf41daf1 8325194: GHA: Add macOS M1 testing
8325444: GHA: JDK-8325194 causes a regression

Reviewed-by: shade
Backport-of: d1c82156ba
2024-02-13 10:58:45 +00:00
Matthias Baesken
4031ff4518 8324753: [AIX] adjust os_posix after JDK-8318696
Backport-of: 8950d68ddb
2024-02-13 08:54:01 +00:00
Andrew Leonard
b0e9a61a52 8323671: DevKit build gcc libraries contain full paths to source location
Backport-of: dd0694b9cb
2024-02-12 15:28:21 +00:00
Andrew Leonard
5f32918870 8323667: Library debug files contain non-reproducible full gcc include paths
Backport-of: 57fad67781
2024-02-12 15:18:02 +00:00
George Adams
79bd47a78c 8318039: GHA: Bump macOS and Xcode versions
Backport-of: 605c976729
2024-02-12 10:41:33 +00:00
Dan Lutker
b30f9aaf7a 8325150: (tz) Update Timezone Data to 2024a
Backport-of: 917838e0a5
2024-02-09 22:36:15 +00:00
Sergey Bylokhov
0604ce7f38 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph
Backport-of: afdaa2a330
2024-02-08 20:45:30 +00:00
Matthias Baesken
bed2eaa5a8 8324637: [aix] Implement support for reporting swap space in jdk.management
Backport-of: 33324a59cc
2024-02-08 11:25:07 +00:00
Matthias Baesken
d08f24a25c 8324598: use mem_unit when working with sysinfo memory and swap related information
Backport-of: 7a798d3ceb
2024-02-08 10:22:27 +00:00
Matthias Baesken
cfceb1186b 8323964: runtime/Thread/ThreadCountLimit.java fails intermittently on AIX
Backport-of: 3696765b7d
2024-02-08 10:20:57 +00:00
Aleksey Shipilev
98e6d04946 8319777: Zero: Support 8-byte cmpxchg
8320582: Zero: Misplaced CX8 enablement flag

Reviewed-by: phh
Backport-of: 6b96bb640a
2024-02-08 09:27:12 +00:00
Aleksey Shipilev
4d62dfa318 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms
Backport-of: ba7d08b819
2024-02-07 07:44:27 +00:00
Aleksey Shipilev
57956950c9 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Backport-of: ac1cd31949
2024-02-06 15:59:55 +00:00
Aleksey Shipilev
447f58cf94 8321410: Shenandoah: Remove ShenandoahSuspendibleWorkers flag
Backport-of: 2830dd2a7d
2024-02-06 15:58:04 +00:00
Aleksey Shipilev
85f4f38ca5 8322957: Generational ZGC: Relocation selection must join the STS
Reviewed-by: eosterlund, stefank
Backport-of: ba23025cd8
2024-02-06 15:56:37 +00:00
Matthias Baesken
f15349b1e8 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: mdoerr, lucy
Backport-of: 6dba2026d7
2024-02-06 12:56:35 +00:00
Goetz Lindenmaier
e75ca5a3d2 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: shade
Backport-of: a03954e6c5
2024-02-05 12:38:47 +00:00
Aleksey Shipilev
38c5df13ab 8323637: Capture hotspot replay files in GHA
Backport-of: c84c0ab52d
2024-02-03 21:38:25 +00:00
Aleksey Shipilev
0b79e90dd8 8324937: GHA: Avoid multiple test suites per job
Backport-of: 1aba78f272
2024-02-03 21:37:10 +00:00
Aleksey Shipilev
c6ebfdfe97 8320052: Zero: Use __atomic built-ins for atomic RMW operations
Backport-of: 020c9007f8
2024-02-03 10:00:21 +00:00
Joachim Kern
ffab458d5c 8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case
Backport-of: 22642ff0aa
2024-01-31 13:06:43 +00:00
Aleksey Shipilev
869df3bf7c 8323101: C2: assert(n->in(0) == nullptr) failed: divisions with zero check should already have bailed out earlier in split-if
Backport-of: 7e0a4ed629
2024-01-31 12:58:02 +00:00
Amos Shi
0466741713 8315611: Open source swing text/html and tree test
Backport-of: ae08143d3d
2024-01-31 12:53:26 +00:00
Olga Mikhaltsova
c971925a87 8318157: RISC-V: implement ensureMaterializedForStackWalk intrinsic
Backport-of: d6b4aa01a2
2024-01-30 21:13:28 +00:00
Aleksey Shipilev
2518d2039f 8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
Backport-of: 6997bfc68d
2024-01-30 09:46:49 +00:00
Goetz Lindenmaier
9bc6bd6d87 8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
Backport-of: 87516e29dc
2024-01-30 09:26:43 +00:00
Goetz Lindenmaier
5df2a5c7ec 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Backport-of: e8471f6bbe
2024-01-30 09:25:25 +00:00
Amos Shi
45b428fc97 8315600: Open source few more headless Swing misc tests
Backport-of: b05198a4f3
2024-01-30 08:18:38 +00:00
Amos Shi
dead33343c 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Backport-of: 4a142c3b08
2024-01-30 08:17:14 +00:00
Gui Cao
14f62ace5f 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Backport-of: e7fdac9d5c
2024-01-29 14:30:16 +00:00
Aleksey Shipilev
7f40804afd 8324659: GHA: Generic jtreg errors are not reported
Backport-of: c313d451a5
2024-01-29 09:12:28 +00:00
Andrew Lu
ca85d55062 8315761: Open source few swing JList and JMenuBar tests
Backport-of: bb6b3f2486
2024-01-29 08:23:20 +00:00
Anton Hägerstrand
a9498e516a 8322142: JFR: Periodic tasks aren't orphaned between recordings
Backport-of: 1551928502
2024-01-26 16:11:50 +00:00
Andrew Lu
bf7c218392 8321480: ISO 4217 Amendment 176 Update
Backport-of: 8b24851b9d
2024-01-26 02:17:35 +00:00
Andrew Lu
e2cabfe1ad 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Backport-of: 00ef9f9c32
2024-01-26 02:15:51 +00:00
William Kemper
2adc2b4f8a 8317535: Shenandoah: Remove unused code
Reviewed-by: kdnilsen, ysr
Backport-of: e942f368c3
2024-01-25 20:10:08 +00:00
Liang Mao
711ab38435 8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Backport-of: 0ad6c9e3d9
2024-01-25 09:20:49 +00:00
Goetz Lindenmaier
cc189ffc09 8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
Backport-of: 6ce0ebb858
2024-01-25 09:05:51 +00:00
Aleksey Shipilev
e87638c321 8321122: Shenandoah: Remove ShenandoahLoopOptsAfterExpansion flag
Backport-of: b02fc8681e
2024-01-24 19:24:23 +00:00
Aleksey Shipilev
90d7b17f5e 8321120: Shenandoah: Remove ShenandoahElasticTLAB flag
Backport-of: 93b9235f19
2024-01-24 17:36:18 +00:00
Aleksey Shipilev
7fcfea5292 8324050: Issue store-store barrier after re-materializing objects during deoptimization
Reviewed-by: kvn
Backport-of: 52523d33dd
2024-01-24 16:56:45 +00:00
Aleksey Shipilev
34d97ab142 8321269: Require platforms to define DEFAULT_CACHE_LINE_SIZE
Backport-of: a56286f7ad
2024-01-24 12:40:13 +00:00
Aleksey Shipilev
63e52ed061 8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1
Backport-of: 61d0db3838
2024-01-24 12:39:51 +00:00
Aleksey Shipilev
ad2e114174 8323243: JNI invocation of an abstract instance method corrupts the stack
Backport-of: 71d9a83dec
2024-01-23 08:38:59 +00:00
Aleksey Shipilev
d69a0978cc 8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
Backport-of: bde650f21e
2024-01-23 08:26:16 +00:00
sunyaqi
80842442da 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Backport-of: fe862639e7
2024-01-23 08:25:41 +00:00
Matthias Baesken
2697a9d1c2 8318696: Do not use LFS64 symbols on Linux
Reviewed-by: lucy
Backport-of: f4d08ccf80
2024-01-23 08:06:13 +00:00
Goetz Lindenmaier
1f9b03e597 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
8319136: Skip pkcs11 tests on linux-aarch64

Backport-of: c2e77e2f17
2024-01-23 08:05:52 +00:00
Goetz Lindenmaier
be8733b8b6 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Backport-of: 84f4f7477c
2024-01-23 07:59:56 +00:00
Goetz Lindenmaier
fae1a03073 8312416: Tests in Locale should have more descriptive names
Backport-of: a9a3463afb
2024-01-23 07:55:18 +00:00
Olga Mikhaltsova
ada400cffe 8318158: RISC-V: implement roundD/roundF intrinsics
Backport-of: 19147f326c
2024-01-22 10:37:22 +00:00
Andrew Lu
1dd2f2a8aa 8169475: WheelModifier.java fails by timeout
Backport-of: 613d32c282
2024-01-22 08:43:56 +00:00
Goetz Lindenmaier
e9be531942 8077371: Binary files in JAXP test should be removed
Backport-of: 40106422bd
2024-01-22 08:43:37 +00:00
Aleksey Shipilev
69416f4880 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Backport-of: 50d1839d54
2024-01-22 08:18:10 +00:00
Goetz Lindenmaier
c01bdbbfb1 8314283: Support for NSS tests on aarch64 platforms
Backport-of: 2a80160960
2024-01-19 15:48:23 +00:00
Johannes Bechberger
c3657ee028 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: asemenov
Backport-of: ffa33d7b80
2024-01-19 15:47:54 +00:00
Liang Mao
95e36bc7e9 8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompactionLimit as percentage instead of multiples
Reviewed-by: eosterlund
Backport-of: bf813be0f3
2024-01-19 09:35:01 +00:00
Goetz Lindenmaier
644393769f 8323008: filter out harmful -std* flags added by autoconf from CXX
Backport-of: 68c4286026
2024-01-18 16:03:23 +00:00
Richard Reingruber
c8f04185f1 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Backport-of: 4bfe226870
2024-01-18 14:54:00 +00:00
Goetz Lindenmaier
0d30c8d497 8318590: JButton ignores margin when painting HTML text
Backport-of: acaf2c8dcf
2024-01-18 14:23:09 +00:00
Goetz Lindenmaier
8413dc0020 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Backport-of: e2e8e8e210
2024-01-18 14:21:36 +00:00
Goetz Lindenmaier
c79c5efa4d 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Backport-of: dd64a4a483
2024-01-18 14:21:00 +00:00
Goetz Lindenmaier
7eea17b847 8311663: Additional refactoring of Locale tests to JUnit
Backport-of: 71cac8ce47
2024-01-18 14:18:41 +00:00
Matthias Baesken
419e01685b 8322098: os::Linux::print_system_memory_info enhance the THP output with /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
8323331: fix typo hpage_pdm_size

Reviewed-by: lucy
Backport-of: b31454e362
2024-01-18 08:36:12 +00:00
Chris Hegarty
309a16e609 8323659: LinkedTransferQueue add and put methods call overridable offer
Reviewed-by: shade
Backport-of: ee4d9aa4c1
2024-01-18 03:49:26 +00:00
Goetz Lindenmaier
e3084fc360 8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.java and clarify its purpose
Backport-of: f0b7eb519a
2024-01-17 21:31:45 +00:00
Goetz Lindenmaier
0668efa6a4 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Backport-of: 4c5b66dcea
2024-01-17 21:26:50 +00:00
Goetz Lindenmaier
993a746e7d 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Backport-of: 167d1c1835
2024-01-17 21:22:47 +00:00
Goetz Lindenmaier
2981858526 8315721: CloseRace.java#id0 fails transiently on libgraal
Backport-of: 1be355734d
2024-01-17 21:22:16 +00:00
Goetz Lindenmaier
ba59249dc9 8310923: Refactor Currency tests to use JUnit
Backport-of: e848d9471f
2024-01-17 21:16:20 +00:00
Goetz Lindenmaier
a51c74db29 8306922: IR verification fails because IR dump is chopped up
Backport-of: 9057b35033
2024-01-17 21:14:23 +00:00
William Kemper
f0115385b6 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Backport-of: a7db4feceb
2024-01-17 18:17:10 +00:00
Sonia Zaldana Calles
32a4568ec4 8318613: ChoiceFormat patterns are not well tested
Backport-of: 10427c023a
2024-01-17 16:11:17 +00:00
Sonia Zaldana Calles
1e8c226da5 8316106: Open source few swing JInternalFrame and JMenuBar tests
Backport-of: 0775bf2f03
2024-01-17 16:10:55 +00:00
Sonia Zaldana Calles
8d536b6f10 8318154: Improve stability of WheelModifier.java test
Backport-of: 668d4b077f
2024-01-17 16:07:45 +00:00
Sonia Zaldana Calles
fcf9ebde63 8319103: Popups that request focus are not shown on Linux with Wayland
Backport-of: f3ed27582e
2024-01-17 16:07:18 +00:00
William Kemper
9ca8761555 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Backport-of: c4a83bd6f6
2024-01-17 16:02:41 +00:00
Goetz Lindenmaier
95142cf93b Merge 2024-01-17 15:51:29 +00:00
Aleksey Shipilev
b4c163d07b 8319372: C2 compilation fails with "Bad immediate dominator info"
Backport-of: 7766785098
2024-01-17 15:18:32 +00:00
Matthias Baesken
0ac1bb75a0 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Backport-of: b530c0281b
2024-01-17 08:34:31 +00:00
Andrew Lu
9b5cd9dc43 8315594: Open source few headless Swing misc tests
Backport-of: 806ef0897b
2024-01-17 08:01:56 +00:00
Rob McKenna
375769c698 Merge 2024-01-16 16:19:00 +00:00
Aleksey Shipilev
f57f2cbaa0 8321164: javac with annotation processor throws AssertionError: Filling jrt:/... during JarFileObject[/...]
Backport-of: 03c4595173
2024-01-16 16:06:21 +00:00
Goetz Lindenmaier
551855c0dd 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Backport-of: e3201d1d13
2024-01-16 14:25:09 +00:00
Goetz Lindenmaier
4b829786cc 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Backport-of: 8ae309ebac
2024-01-16 09:04:12 +00:00
Goetz Lindenmaier
45df078510 8319124: Update XML Security for Java to 3.0.3
Reviewed-by: mbaesken
Backport-of: 1c0bd81a10
2024-01-16 09:02:01 +00:00
Aleksey Shipilev
77c743e527 8320888: Shenandoah: Enable ShenandoahVerifyOptoBarriers in debug builds
Backport-of: c86431767e
2024-01-16 08:34:04 +00:00
Aleksey Shipilev
b114a5e6a0 8320877: Shenandoah: Remove ShenandoahUnloadClassesFrequency support
Backport-of: b65ccff357
2024-01-16 08:33:39 +00:00
Aleksey Shipilev
7fe7cfce82 8320907: Shenandoah: Remove ShenandoahSelfFixing flag
Backport-of: 43c7f6a673
2024-01-16 08:22:56 +00:00
Aleksey Shipilev
1b5aeb9260 8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Backport-of: eb9e754b3a
2024-01-15 19:20:02 +00:00
Aleksey Shipilev
6ee8f47772 8322512: StringBuffer.repeat does not work correctly after toString() was called
Backport-of: df22fb322e
2024-01-15 19:17:46 +00:00
Aleksey Shipilev
e08eb0ec01 8321582: yield <primitive-type>.class not parsed correctly.
Backport-of: ce8399fd60
2024-01-15 15:16:06 +00:00
Christoph Langer
d92ff7c35a 8320309: AIX: pthreads created by foreign test library don't work as expected
Backport-of: 8b47a14958
2024-01-15 15:15:45 +00:00
Goetz Lindenmaier
cd166703a2 8318490: Increase timeout for JDK tests that are close to the limit when run with libgraal
Backport-of: 6f263111a1
2024-01-11 07:30:30 +00:00
Goetz Lindenmaier
2abfc99d2c 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Backport-of: b20dc1e9cd
2024-01-11 07:26:44 +00:00
Goetz Lindenmaier
1ea0d08048 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Backport-of: 0d2196f8e5
2024-01-11 07:23:14 +00:00
Matthias Baesken
2bf21b4c87 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Backport-of: a8e4229852
2024-01-10 15:30:14 +00:00
Elif Aslan
4537bfa9cc 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Backport-of: 43f31d7385
2024-01-10 12:19:49 +00:00
Elif Aslan
a28d29c53b 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Backport-of: cee44a6255
2024-01-10 12:19:24 +00:00
Ichiroh Takiguchi
a1d7bcfd07 6928542: Chinese characters in RTF are not decoded
Backport-of: a26f7c03c7
2024-01-10 01:06:36 +00:00
Dan Lutker
d5b8c283ba 8322725: (tz) Update Timezone Data to 2023d
Backport-of: 2a9c3589d9
2024-01-09 17:24:59 +00:00
Aleksey Shipilev
9406448ce2 8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Backport-of: 11394828b3
2024-01-09 17:21:55 +00:00
Aleksey Shipilev
36c21207f5 8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects
Reviewed-by: eosterlund
Backport-of: be49dabd0d
2024-01-09 16:24:15 +00:00
Goetz Lindenmaier
772ac17887 8210410: Refactor java.util.Currency:i18n shell tests to plain java tests
Backport-of: 2584bf87ae
2024-01-09 15:32:17 +00:00
Goetz Lindenmaier
c21a12d441 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: aph
Backport-of: 6e1aacdfba
2024-01-09 15:17:46 +00:00
William Kemper
d44b5dc7a6 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Backport-of: f0e2e4311b
2024-01-09 09:09:35 +00:00
Aleksey Shipilev
e652bb72d0 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph
Backport-of: ade21a965f
2024-01-09 09:05:49 +00:00
Aleksey Shipilev
1a9c7ec2af 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: prappo, simonis
Backport-of: fc29a2e152
2024-01-09 08:48:29 +00:00
Aleksey Shipilev
b745bb515f 8319883: Zero: Use atomic built-ins for 64-bit accesses
Backport-of: 25f9af99be
2024-01-08 16:36:50 +00:00
Aleksey Shipilev
a85f3f8300 8320145: Compiler should accept final variable in Record Pattern
Backport-of: 4ba94ef69e
2024-01-08 12:08:42 +00:00
Oli Gillespie
1e6648867b 8321599: Data loss in AVX3 Base64 decoding
Backport-of: 13c11487f7
2024-01-08 10:33:59 +00:00
Goetz Lindenmaier
d4797b711e 8316693: Simplify at-requires checkDockerSupport()
Backport-of: 16fd43c5eb
2024-01-08 09:22:39 +00:00
Goetz Lindenmaier
dfc93243a8 8319879: Stress mode to randomize incremental inlining decision
Backport-of: 303757b3a0
2024-01-08 09:20:45 +00:00
Goetz Lindenmaier
307569f2c3 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array"
Backport-of: 4ef24e2596
2024-01-08 09:20:22 +00:00
Goetz Lindenmaier
db1fa92d74 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: roland, shade
Backport-of: 3630af26e6
2024-01-08 09:13:52 +00:00
Goetz Lindenmaier
c8caefa5c3 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Backport-of: edb2be10fb
2024-01-08 09:08:51 +00:00
Goetz Lindenmaier
e8aa37dbe6 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Backport-of: 2cf5c2f4b6
2024-01-08 09:07:11 +00:00
Goetz Lindenmaier
854c3191c3 8319569: Several java/util tests should be updated to accept VM flags
Backport-of: 2bb4b9398d
2024-01-08 07:15:16 +00:00
Goetz Lindenmaier
1f38afa6c6 8315097: Rename createJavaProcessBuilder
8318964: Fix build failures caused by 8315097

Reviewed-by: mdoerr
Backport-of: d52a995f35
2024-01-08 07:03:44 +00:00
Gui Cao
4bdda4b597 8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d
2024-01-06 12:14:33 +00:00
Tobias Hartmann
1c7197fe3b 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: ed9f3243f0
2024-01-05 17:57:50 +00:00
Jonathan Dowland
b3344f2422 8315731: Open source several Swing Text related tests
Backport-of: d475f61fd5
2024-01-05 15:32:31 +00:00
Aleksey Shipilev
49dd575df9 8320921: GHA: Parallelize hotspot_compiler test jobs
Backport-of: 694136909c
2024-01-05 09:59:39 +00:00
Aleksey Shipilev
579c56f0a5 8322321: Add man page doc for -XX:+VerifySharedSpaces
Backport-of: f7dc257a20
2024-01-05 09:59:30 +00:00
Aleksey Shipilev
5f2cf881b1 8322159: ThisEscapeAnalyzer crashes for erroneous code
Backport-of: 7455b1b527
2024-01-05 09:59:16 +00:00
Aleksey Shipilev
23a0b90597 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Backport-of: 05745e3f1d
2024-01-05 09:58:45 +00:00
Aleksey Shipilev
9f6036053e 8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass is not initialized
Backport-of: c8ad7b7f84
2024-01-05 09:58:07 +00:00
Sergey Bylokhov
58b1b0cc35 8315042: NPE in PKCS7.parseOldSignedData
Backport-of: 8c0d026d0f
2024-01-04 19:17:58 +00:00
Jonathan Dowland
57b5147260 8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: component must be showing on the screen to determine its location
Backport-of: e7486e8cfc
2024-01-04 09:11:43 +00:00
Aleksey Shipilev
966071a5f1 8309203: C2: remove copy-by-value of GrowableArray for InterfaceSet
Backport-of: 21cda19d05
2024-01-04 09:02:59 +00:00
Sergey Bylokhov
8fbd10bc5d 8301310: The SendRawSysexMessage test may cause a JVM crash
Backport-of: d725b73df0
2024-01-03 21:00:07 +00:00
Ravi Reddy
f423faa3e0 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Backport-of: 18e97aa217
2024-01-03 14:13:43 +00:00
Ravi Reddy
18e97aa217 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: coffeys, robm
2024-01-03 13:30:55 +00:00
Aleksey Shipilev
9177319843 8319137: release _object in ObjectMonitor dtor to avoid races
Reviewed-by: rkennke
Backport-of: c39d001c7a
2024-01-03 12:38:24 +00:00
Sergey Bylokhov
dc899e2be2 8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Backport-of: eb44bafe77
2024-01-02 20:55:12 +00:00
Jan Kratochvil
3bf9212d43 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Backport-of: febc34dd28
2024-01-02 16:58:26 +00:00
Christoph Langer
24b3b2b66f 8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken
Backport-of: 32d80e2caf
2023-12-31 09:26:48 +00:00
Sandhya Viswanathan
98fb42563a 8320206: Some intrinsics/stubs missing vzeroupper on x86_64
Backport-of: 9b372e28ce
2023-12-30 17:36:23 +00:00
Goetz Lindenmaier
3465179458 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Backport-of: 06a1a15d01
2023-12-30 15:12:11 +00:00
Goetz Lindenmaier
191fc6b50a 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Backport-of: edcc559f09
2023-12-29 14:13:29 +00:00
Goetz Lindenmaier
80c86c2e65 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Backport-of: 86dde5e02b
2023-12-29 14:13:10 +00:00
Goetz Lindenmaier
8517987ac1 8312428: PKCS11 tests fail with NSS 3.91
Backport-of: 1c598c2245
2023-12-29 14:11:10 +00:00
Goetz Lindenmaier
9e24862644 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Backport-of: d46f0fb318
2023-12-29 14:09:16 +00:00
Goetz Lindenmaier
4c5502d9ad 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Backport-of: e5744b8120
2023-12-29 14:07:47 +00:00
Goetz Lindenmaier
03b01a93bc 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Backport-of: 88b4e3b853
2023-12-29 14:07:25 +00:00
Goetz Lindenmaier
a607f49ca2 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Backport-of: 2d38495b61
2023-12-28 12:26:10 +00:00
Goetz Lindenmaier
98c94fd1b9 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Backport-of: 826dcb5424
2023-12-28 12:25:47 +00:00
Goetz Lindenmaier
a17d0c4b3d 8315034: File.mkdirs() occasionally fails to create folders on Windows shared folder
Backport-of: 7ad700596f
2023-12-24 10:45:39 +00:00
Goetz Lindenmaier
b9d45b1539 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Backport-of: bc5a39bb54
2023-12-24 10:44:02 +00:00
Goetz Lindenmaier
5dad7db84b 8318983: Fix comment typo in PKCS12Passwd.java
Backport-of: 949846986f
2023-12-23 10:56:36 +00:00
Goetz Lindenmaier
52c0fc5c60 8316464: 3 sun/tools tests ignore VM flags
Backport-of: 993951b85e
2023-12-23 10:54:44 +00:00
Goetz Lindenmaier
b64402f41f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Backport-of: 053f45695f
2023-12-23 10:51:09 +00:00
Aleksey Shipilev
72c372fe7f 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
Backport-of: 5718039a46
2023-12-22 18:11:36 +00:00
Sandhya Viswanathan
8695daa275 8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Reviewed-by: shade
Backport-of: 027b5dbb6a
2023-12-22 18:11:19 +00:00
Martin Doerr
ca26279e36 8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
Backport-of: 61653a1ff1
2023-12-22 15:54:59 +00:00
Goetz Lindenmaier
18f23901cc 8322418: Problem list gc/TestAllocHumongousFragment.java subtests for 8298781
Backport-of: 6de23bf36e
2023-12-22 10:27:14 +00:00
Goetz Lindenmaier
561ac59dca 8322417: Console read line with zero out should zero out when throwing exception
Backport-of: 2f917bff5c
2023-12-22 10:25:11 +00:00
Goetz Lindenmaier
e579716e51 8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker Initiated GC' not in the valid causes
Backport-of: 7c7f8ea30d
2023-12-22 10:23:03 +00:00
Goetz Lindenmaier
c39247c5a6 8318689: jtreg is confused when folder name is the same as the test name
Backport-of: a9b31b587c
2023-12-22 10:20:59 +00:00
Goetz Lindenmaier
235ed4c888 8317358: G1: Make TestMaxNewSize use createTestJvm
Backport-of: 1a098356dd
2023-12-22 10:19:07 +00:00
Goetz Lindenmaier
dd080d3b5b 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Backport-of: ca5eee2fe3
2023-12-22 10:15:46 +00:00
Goetz Lindenmaier
bedc39b750 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: shade
Backport-of: b685ee00b2
2023-12-22 10:11:57 +00:00
Goetz Lindenmaier
0f1154dc5c 8314320: Mark runtime/CommandLine/ tests as flagless
Backport-of: f481477144
2023-12-22 10:10:00 +00:00
Goetz Lindenmaier
6b938b8e77 8310308: IR Framework: check for type and size of vector nodes
8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake

Reviewed-by: mbaesken
Backport-of: a02d65efcc
2023-12-22 10:08:10 +00:00
Goetz Lindenmaier
506c4de9a2 8313854: Some tests in serviceability area fail on localized Windows platform
Backport-of: 49b29845f7
2023-12-22 10:05:08 +00:00
Gui Cao
7927315fb1 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Backport-of: e8768ae08d
2023-12-22 01:51:36 +00:00
Liam Miller-Cushon
aaee2d7507 8322040: Missing array bounds check in ClassReader.parameter
Reviewed-by: sgehwolf
Backport-of: 20de541b13
2023-12-21 16:26:46 +00:00
Jaroslav Bachorik
636607b6bb 8313816: Accessing jmethodID might lead to spurious crashes
Backport-of: cdd1a6e851
2023-12-21 13:28:58 +00:00
Goetz Lindenmaier
e4056b9cee 8321409: Console read line with zero out should zero out underlying buffer in JLine (redux)
Backport-of: 4ed38f5ad5
2023-12-21 11:36:29 +00:00
Goetz Lindenmaier
12915c3a20 8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
Backport-of: 1bb250c9e6
2023-12-21 11:24:48 +00:00
Goetz Lindenmaier
e0de68e320 8209595: MonitorVmStartTerminate.java timed out
Backport-of: a045258ae2
2023-12-21 11:23:08 +00:00
Goetz Lindenmaier
2f65dda068 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Backport-of: d6679031e0
2023-12-21 11:22:52 +00:00
Goetz Lindenmaier
840724babc 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Backport-of: a949824e98
2023-12-21 11:20:27 +00:00
Goetz Lindenmaier
a6c2398ff9 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Backport-of: 75b37e6d7e
2023-12-21 11:18:24 +00:00
Goetz Lindenmaier
a565d4978f 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Backport-of: d8cd60588a
2023-12-21 11:16:24 +00:00
Goetz Lindenmaier
eb6fedc2fa 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Backport-of: 5bd10521eb
2023-12-21 11:14:10 +00:00
Goetz Lindenmaier
4f6a2e6de6 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Backport-of: c64bd3d671
2023-12-21 11:12:18 +00:00
Goetz Lindenmaier
5f7b7c5cd1 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Backport-of: 6ee6171e81
2023-12-21 11:10:21 +00:00
Goetz Lindenmaier
4846aa25f9 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Backport-of: 7ca0ae9415
2023-12-21 11:08:11 +00:00
Goetz Lindenmaier
afa729ceef 8316446: 4 sun/management/jdp tests ignore VM flags
Backport-of: 5b311f20df
2023-12-21 11:06:04 +00:00
Goetz Lindenmaier
f4e7c0c8e0 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Backport-of: 54028e779b
2023-12-21 11:04:17 +00:00
Goetz Lindenmaier
e51457885e 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Backport-of: e0f8d16833
2023-12-21 11:02:21 +00:00
Goetz Lindenmaier
1545967936 8313638: Add test for dump of resolved references
Reviewed-by: matsaave
Backport-of: 83dca6296e
2023-12-21 11:00:03 +00:00
Goetz Lindenmaier
ebd5179aa2 8314831: NMT tests ignore vm flags
Backport-of: 9bf3dee242
2023-12-21 10:58:09 +00:00
Goetz Lindenmaier
320cf855a7 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Backport-of: 5cbff24608
2023-12-21 10:48:28 +00:00
Goetz Lindenmaier
20dd66b207 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Backport-of: 7342f5a033
2023-12-21 10:35:21 +00:00
Goetz Lindenmaier
19d74b451a 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Backport-of: 87b08b6e01
2023-12-21 10:29:52 +00:00
Goetz Lindenmaier
b806f56f54 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Backport-of: e9daf4a018
2023-12-21 10:10:32 +00:00
Goetz Lindenmaier
80f129da20 8311581: Remove obsolete code and comments in TestLVT.java
Backport-of: 27de536b40
2023-12-21 10:08:50 +00:00
KIRIYAMA Takuya
9aad573ac8 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Backport-of: b4b2fecb42
2023-12-20 23:00:00 +00:00
Sonia Zaldana Calles
bd552ef842 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Backport-of: c698b45a7b
2023-12-20 15:23:27 +00:00
Matthias Baesken
34fc725b82 8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with ConnectException: Connection timed out: no further information
Backport-of: b9b82631bf
2023-12-20 11:32:33 +00:00
Matthias Baesken
3e4adb6fd4 8320168: handle setsocktopt return values
Backport-of: db1d82347b
2023-12-19 15:14:09 +00:00
Frederic Thevenet
c725f4bdcb 8321374: Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll
Backport-of: 05f950934e
2023-12-19 13:55:57 +00:00
Aleksey Shipilev
2433635872 8314220: Configurable InlineCacheBuffer size
Backport-of: a40d8d97e8
2023-12-19 13:21:33 +00:00
Aleksey Shipilev
03acee85e6 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Backport-of: 15588e08ed
2023-12-19 10:30:03 +00:00
Aleksey Shipilev
af6df7743b 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Backport-of: 01ea1eff66
2023-12-19 10:29:40 +00:00
Aleksey Shipilev
f55a91a5d1 8319897: Move StackWatermark handling out of LockStack::contains
Backport-of: bbf52e0e4c
2023-12-19 10:23:39 +00:00
Aleksey Shipilev
b8a0d9faaf 8316229: Enhance class initialization logging
Backport-of: 84124794c2
2023-12-19 10:23:22 +00:00
Aleksey Shipilev
5d328605f0 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Backport-of: 570dffb104
2023-12-19 10:21:28 +00:00
Aleksey Shipilev
0c924607ae 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Backport-of: 87c79c0801
2023-12-19 10:21:13 +00:00
Aleksey Shipilev
6644066557 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Backport-of: 864a876ebf
2023-12-19 10:19:34 +00:00
Aleksey Shipilev
80b5f72ccd 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Backport-of: 0048f1da4c
2023-12-19 10:19:17 +00:00
Aleksey Shipilev
ee7748a3d3 8317300: javac erroneously allows "final" in front of a record pattern
Backport-of: 5ca1beb30e
2023-12-19 10:17:28 +00:00
Aleksey Shipilev
d50fd26002 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank
Backport-of: dcd6e75671
2023-12-19 10:12:07 +00:00
Goetz Lindenmaier
c3b0c03df3 8319668: Fixup of jar filename typo in BadFactoryTest.sh
Backport-of: 63ad868e18
2023-12-19 09:24:53 +00:00
Goetz Lindenmaier
20625961d4 8320208: Update Public Suffix List to b5bf572
Backport-of: 2b4e99140a
2023-12-19 09:21:42 +00:00
Goetz Lindenmaier
16554ae23c 8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed with SIGBUS in PcDescContainer::find_pc_desc_internal
Backport-of: 58af9aeeb0
2023-12-19 09:17:51 +00:00
Goetz Lindenmaier
6f3cd91942 8316028: Update FreeType to 2.13.2
Backport-of: 3b65b8797a
2023-12-19 09:14:14 +00:00
Goetz Lindenmaier
c0b78b79fe 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Backport-of: e649c56324
2023-12-19 09:08:21 +00:00
Goetz Lindenmaier
be19bda590 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Backport-of: 5f4be8cea9
2023-12-19 09:06:14 +00:00
Goetz Lindenmaier
9e8cee6ea3 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Backport-of: 7e39e664cf
2023-12-19 09:02:10 +00:00
Goetz Lindenmaier
16875f218b 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Backport-of: fbc766ee21
2023-12-19 08:59:49 +00:00
Goetz Lindenmaier
a75b88dc58 8314838: 3 compiler tests ignore vm flags
Backport-of: ab6a87e670
2023-12-19 08:58:02 +00:00
Goetz Lindenmaier
fc49ca39a4 8314837: 5 compiled/codecache tests ignore VM flags
Backport-of: 2a11bc41ba
2023-12-19 08:56:21 +00:00
Matthias Baesken
4f17ea72c8 8320383: refresh libraries cache on AIX in VMError::report
Backport-of: 26c3390421
2023-12-19 08:23:07 +00:00
Kimura Yukihiro
947dfc488b 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Backport-of: d051f22284
2023-12-18 15:53:37 +00:00
Joachim Kern
dcf6eea1e5 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Reviewed-by: mbaesken, mdoerr
2023-12-18 11:04:32 +00:00
Goetz Lindenmaier
fccb0a150a 8321131: Console read line with zero out should zero out underlying buffer in JLine
Reviewed-by: mbaesken
Backport-of: bd04f91e91
2023-12-16 10:39:39 +00:00
Sonia Zaldana Calles
db343c902d 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Backport-of: f804f8652d
2023-12-15 16:53:25 +00:00
Matthias Baesken
63aecc5e8a 8320300: Adjust hs_err output in malloc/mmap error cases
Backport-of: 60c8d9c045
2023-12-15 08:00:38 +00:00
Goetz Lindenmaier
e8cf56c21f 8320798: Console read line with zero out should zero out underlying buffer
Backport-of: d568562966
2023-12-14 20:13:17 +00:00
Goetz Lindenmaier
d65289db63 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Backport-of: ba645da97b
2023-12-14 20:11:05 +00:00
Goetz Lindenmaier
901048b43f 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Backport-of: a290256bbf
2023-12-14 19:21:25 +00:00
robm
53118a3a58 Merge 2023-12-14 17:39:06 +00:00
Martin Doerr
0106db077b 8320807: [PPC64][ZGC] C1 generates wrong code for atomics
Backport-of: 3087e14cde
2023-12-14 16:33:27 +00:00
Matthias Baesken
0e0e89779f 8320898: exclude compiler/vectorapi/reshape/TestVectorReinterpret.java on ppc64(le) platforms
Backport-of: 78b6c2b408
2023-12-14 15:03:48 +00:00
Weijun Wang
60b6a6693b 8320597: RSA signature verification fails on signed data that does not encode params correctly
Backport-of: 11e4a925be
2023-12-14 13:06:35 +00:00
Severin Gehwolf
fb34573636 8321894: Bump update version for OpenJDK: 21.0.3
Reviewed-by: goetz
2023-12-13 14:54:42 +00:00
Prajwal Kumaraswamy
e831175ecf 8317547: Enhance TLS connection support
Backport-of: c521825a5d986e5cb823615d60e51f954c0ff4dc
2023-12-06 04:38:14 +00:00
robm
03c3ae13e5 Merge 2023-11-30 15:26:32 +00:00
Roman Kennke
ba79073da5 8321067: Unlock experimental options in EATests.java
Reviewed-by: shade
2023-11-30 14:15:10 +00:00
robm
ffa6fe561c Merge 2023-11-29 20:38:59 +00:00
Rob McKenna
759298364c 8320001: javac crashes while adding type annotations to the return type of a constructor
Reviewed-by: vromero
Backport-of: 5e24aaf4f7
2023-11-29 20:09:12 +00:00
Ravi Reddy
7c1c76d587 8320001: javac crashes while adding type annotations to the return type of a constructor
Backport-of: 5e24aaf4f7
2023-11-29 09:36:51 +00:00
Christoph Langer
ab7380e2d9 8320601: ProblemList java/lang/invoke/lambda/LambdaFileEncodingSerialization.java on linux-all
Backport-of: f6e5559ae9
2023-11-28 10:32:54 +00:00
Martin Doerr
f8706d1d9b 8320363: ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity
Backport-of: 6aa197667a
2023-11-27 22:12:59 +00:00
Ian Myers
f3ff69acea 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Backport-of: 0f77d250b6
2023-11-27 16:25:28 +00:00
Ian Myers
2e5519002f 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Backport-of: 3f19df685c
2023-11-27 16:25:03 +00:00
Roman Kennke
593ef7c16f 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Backport-of: bd918f49d2
2023-11-27 16:16:43 +00:00
Roman Kennke
0f7bbe1fa3 8318895: Deoptimization results in incorrect lightweight locking stack
Backport-of: ea1ffa3419
2023-11-27 16:14:23 +00:00
Aleksey Shipilev
cae6460973 8318078: ADLC: pass ASSERT and PRODUCT flags
Backport-of: 504b0bdaaa
2023-11-27 16:12:15 +00:00
Aleksey Shipilev
19ce3ec39e 8319120: Unbound ScopedValue.get() throws the wrong exception
Backport-of: ee6f25b507
2023-11-27 15:58:49 +00:00
Aleksey Shipilev
f5045fcca4 8319195: Move most tier 1 vector API regression tests to tier 3
Backport-of: 9dc40ba48e
2023-11-27 15:58:31 +00:00
Aleksey Shipilev
e86ae80a69 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Backport-of: 59847926b6
2023-11-27 15:56:39 +00:00
Aleksey Shipilev
4d5ceb41aa 8316581: Improve performance of Symbol::print_value_on()
Backport-of: 90bcdbd15f
2023-11-27 15:56:09 +00:00
Aleksey Shipilev
1326d00e5a 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Backport-of: 83b6a1278f
2023-11-27 15:55:46 +00:00
Soumadipta Roy
1f7b17d261 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Backport-of: a564d436c7
2023-11-27 15:53:31 +00:00
Jan Lahoda
4022eacddb 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Backport-of: 45e68ae207
2023-11-27 14:15:42 +00:00
Jan Lahoda
b42280b8d2 8318144: Match on enum constants with body compiles but fails with MatchException
Backport-of: 541ff7149f
2023-11-27 14:15:23 +00:00
Aleksey Shipilev
f01df290a9 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Backport-of: ceff47b462
2023-11-27 11:35:28 +00:00
Axel Boldt-Christmas
afc506e93a 8319700: [AArch64] C2 compilation fails with "Field too big for insn"
Backport-of: 3787ff8d1d
2023-11-27 09:06:05 +00:00
Gui Cao
3df010f444 8320280: RISC-V: Avoid passing t0 as temp register to MacroAssembler::lightweight_lock/unlock
Backport-of: a6098e438d
2023-11-27 06:00:28 +00:00
Matthias Baesken
ecb199ad28 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: phh
Backport-of: 23fe2ece58
2023-11-24 08:11:20 +00:00
Erik Österlund
220b36c93c 8310239: Add missing cross modifying fence in nmethod entry barriers
Backport-of: 4679e9aa00
2023-11-22 08:43:13 +00:00
Matthias Baesken
d7a3ac72ca 8318587: refresh libraries cache on AIX in print_vm_info
Backport-of: cb383c05b2
2023-11-21 16:40:07 +00:00
Sandhya Viswanathan
0941f2ce67 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: 0881f2b0c4
2023-11-21 10:59:15 +00:00
Roman Marchenko
e7bd0ab30d 8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ff
2023-11-21 10:39:26 +00:00
Sandhya Viswanathan
21a003ae8d 8320209: VectorMaskGen clobbers rflags on x86_64
Backport-of: b05e69f789
2023-11-21 10:18:53 +00:00
Matthias Baesken
689b90da7d 8318957: enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415
2023-11-21 09:11:57 +00:00
Matthias Baesken
cf187a19e1 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Backport-of: 81db1721d4
2023-11-21 09:08:31 +00:00
Matthias Baesken
73d59d0c69 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Backport-of: 6d3cb459dc
2023-11-21 09:01:23 +00:00
rreddy
c67abe1691 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-21 08:57:41 +00:00
Matthias Baesken
53fec1baf6 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Backport-of: 88b9cdae8f
2023-11-21 08:55:03 +00:00
Christoph Langer
177d994848 8306561: Possible out of bounds access in print_pointer_information
8319542: Fix boundaries of region to be tested with os::is_readable_range

Reviewed-by: mbaesken
Backport-of: d6ce62ebc0
2023-11-21 08:18:48 +00:00
Rajan Halade
a9f71e9207 8319187: Add three eMudhra emSign roots
Backport-of: 0bda467f6e
2023-11-20 17:56:32 +00:00
Alexey Ivanov
16039585d2 8316017: Refactor timeout handler in PassFailJFrame
Backport-of: 3abd772672
2023-11-20 15:56:18 +00:00
Aleksey Shipilev
e79ebc7ba1 8315545: C1: x86 cmove can use short branches
Backport-of: 6c821f5e1d
2023-11-20 15:55:40 +00:00
Aleksey Shipilev
44bb402e35 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Backport-of: bd477810b1
2023-11-20 15:55:01 +00:00
Martin Doerr
7588fce7d2 8316746: Top of lock-stack does not match the unlocked object
Backport-of: 7d8adfa855
2023-11-20 15:35:11 +00:00
Alexey Ivanov
1d128dc0f4 8316025: Use testUI() method of PassFailJFrame.Builder in FileChooserSymLinkTest.java
Backport-of: 7f47c51ace
2023-11-20 15:32:37 +00:00
Alexey Ivanov
3c124e3bd5 8294156: Allow PassFailJFrame.Builder to create test UI
Backport-of: 42b9ac8a07
2023-11-20 15:22:50 +00:00
Aleksey Shipilev
4558e49939 8317834: java/lang/Thread/IsAlive.java timed out
Backport-of: 5522656af7
2023-11-20 15:16:35 +00:00
Aleksey Shipilev
3fcc7ea128 8320053: GHA: Cross-compile gtest code
Backport-of: 77a6966114
2023-11-20 15:16:10 +00:00
Alexey Ivanov
8de7b61b2f 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Backport-of: c587211bf8
2023-11-20 15:08:44 +00:00
Alexey Ivanov
6453e64f4d 8294158: HTML formatting for PassFailJFrame instructions
Backport-of: 14090ef603
2023-11-20 14:57:13 +00:00
Shivangi Gupta
2545f55e50 8317039: Enable specifying the JDK used to run jtreg
8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039

Reviewed-by: erikj
Backport-of: a250ae4d1b
2023-11-17 14:08:40 +00:00
Alexey Ivanov
321ba681bc 8313643: Update HarfBuzz to 8.2.2
8319268: Build failure with GCC8.3.1 after 8313643

Reviewed-by: prr, honkar
Backport-of: 2182c93689
2023-11-17 14:03:28 +00:00
Christoph Langer
ffa87b5e3f 8318240: [AIX] Cleaners.java test failure
Backport-of: d4b761242d
2023-11-17 10:54:01 +00:00
Christoph Langer
44b5b81f76 8313782: Add user-facing warning if THPs are enabled but cannot be used
Backport-of: dff99f7f3d
2023-11-17 10:51:32 +00:00
Christoph Langer
99d260c0cc 8313781: Add regression tests for large page logging and user-facing error messages
Backport-of: abad0408e8
2023-11-17 10:51:09 +00:00
Robbin Ehn
3c712edc87 8315195: RISC-V: Update hwprobe query for new extensions
Backport-of: 0d4cadb824
2023-11-17 07:15:22 +00:00
Rajan Halade
cb352c25ba 8318759: Add four DigiCert root certificates
Backport-of: 0ea58048f9
2023-11-17 05:10:58 +00:00
Sergey Bylokhov
d603f8ae9d 8312191: ColorConvertOp.filter for the default destination is too slow
Backport-of: e5f05b5a96
2023-11-16 23:08:00 +00:00
Mandy Chung
245885bd96 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Backport-of: 8eb6f617b3
2023-11-16 17:10:40 +00:00
Stewart X Addison
71eec789fc 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Backport-of: 6a75c2406b
2023-11-16 12:03:21 +00:00
Amit Kumar
fb9bd49aee 8317581: [s390x] Multiple test failure with LockingMode=2
Backport-of: 839cb19ec2
2023-11-16 11:56:21 +00:00
Aleksey Shipilev
a25ea4c755 8316719: C2 compilation still fails with "bad AD file"
Backport-of: 1e687b4529
2023-11-16 11:53:52 +00:00
Rajat Mahajan
015dab9a0a 8316030: Update Libpng to 1.6.40
Backport-of: 158293d251
2023-11-15 20:34:14 +00:00
Fei Yang
dfca3b9540 8319184: RISC-V: improve MD5 intrinsic
Backport-of: fa331d7128
2023-11-15 08:16:26 +00:00
Goetz Lindenmaier
8998f6ff99 8319104: GtestWrapper crashes with SIGILL in AsyncLogTest::test_asynclog_raw on AIX opt
Reviewed-by: stuefe, jkern
Backport-of: 0b58bdec71
2023-11-15 07:26:01 +00:00
Man Cao
1ba77d9bab 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Backport-of: fda142ff6c
2023-11-14 21:36:15 +00:00
Matthias Baesken
81eaed20cb 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Backport-of: a9b41da9df
2023-11-14 14:52:39 +00:00
Amit Kumar
545b1fef0e 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Backport-of: efb7e85ecf
2023-11-14 14:47:23 +00:00
Aleksey Shipilev
67f5d7bb6e 8318525: Atomic gtest should run as TEST_VM to access VM capabilities
Backport-of: 744f206fef
2023-11-14 14:45:28 +00:00
Aleksey Shipilev
cd4ce011d4 8315920: C2: "control input must dominate current control" assert failure
Backport-of: 4e1e579e8b
2023-11-14 14:45:08 +00:00
Aleksey Shipilev
fb7d8584ba 8316436: ContinuationWrapper uses unhandled nullptr oop
Backport-of: 292aad2c49
2023-11-14 14:44:51 +00:00
Jaikiran Pai
bac4829e05 8312433: HttpClient request fails due to connection being considered idle and closed
Backport-of: 486c7844f9
2023-11-14 14:39:32 +00:00
Martin Doerr
3515f60e77 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Backport-of: 7fbad4cd5e
2023-11-14 14:37:04 +00:00
Pavel Rappo
daf76ebc27 8319339: Internal error on spurious markup in a hybrid snippet
Reviewed-by: jjg
Backport-of: c9077b8b81
2023-11-14 13:37:23 +00:00
Matthias Baesken
be539fdaea 8318961: increase javacserver connection timeout values and max retry attempts
Backport-of: b9983c7229
2023-11-14 12:56:11 +00:00
rreddy
dad0e860e4 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-14 12:27:14 +00:00
Thomas Stuefe
ccc2fd0cd3 8319922: libCreationTimeHelper.so fails to link in JDK 21
Reviewed-by: sgehwolf
2023-11-14 12:13:32 +00:00
Thomas Stuefe
0049afbb47 8319828: runtime/NMT/VirtualAllocCommitMerge.java may fail if mixing interpreted and compiled native invocations
Backport-of: 6b21ff61da
2023-11-14 12:13:16 +00:00
Aleksey Shipilev
c9520790be 8317507: C2 compilation fails with "Exceeded _node_regs array"
Backport-of: a5818972c1
2023-11-10 09:49:07 +00:00
Johannes Bechberger
525d22007e 8318736: com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
Backport-of: 1a21c1a783
2023-11-10 09:47:10 +00:00
Liam Miller-Cushon
e00c9bb25f 8225377: type annotations are not visible to javac plugins across compilation boundaries
Backport-of: de6667cf11
2023-11-10 09:17:52 +00:00
Andrew Leonard
b174d5e186 8317601: Windows build on WSL broken after JDK-8317340
Backport-of: bcc986b9d1
2023-11-09 16:56:30 +00:00
Amit Kumar
54fbd4baa6 8308479: [s390x] Implement alternative fast-locking scheme
Backport-of: 3fe6e0faca
2023-11-09 15:31:54 +00:00
Andrew Leonard
5cb041ebab 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Backport-of: 353d139682
2023-11-09 15:29:23 +00:00
Christian Hagedorn
10ccbebc8f 8314307: Improve loop handling
Reviewed-by: thartmann
Backport-of: afe46730e2405100ab2e016c8941264336aa807d
2023-11-09 13:12:36 +00:00
Frederic Thevenet
32987b7ef0 8317510: Change Windows debug symbol files naming to avoid losing info when an executable and a library share the same name
Backport-of: d96f38b80c
2023-11-09 07:54:51 +00:00
Aleksey Shipilev
37888d2912 8314191: C2 compilation fails with "bad AD file"
Backport-of: 969fcdb0de
2023-11-09 07:29:49 +00:00
Aleksey Shipilev
90088898d4 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: epeter, phh, thartmann
Backport-of: 48f1a925e5
2023-11-09 07:28:09 +00:00
Jayathirth D V
0e2a520b03 8318951: Additional negative value check in JPEG decoding
Backport-of: 75ce02fe74
2023-11-09 04:41:59 +00:00
Alexey Ivanov
0679922ec8 8294535: Add screen capture functionality to PassFailJFrame
Backport-of: dbb788f34d
2023-11-08 17:42:35 +00:00
Renjith Kannath Pariyangad
7f02e4a812 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library
Backport-of: 613a3cc689
2023-11-08 17:42:03 +00:00
Rajan Halade
6632c8a391 8317374: Add Let's Encrypt ISRG Root X2
Backport-of: e6f46a4326
2023-11-08 17:34:23 +00:00
Aleksey Shipilev
243142cf0f 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Backport-of: 9def4538ab
2023-11-08 15:15:22 +00:00
Aleksey Shipilev
b93d884b49 8318183: C2: VM may crash after hitting node limit
Backport-of: 31ef400f31
2023-11-08 14:56:32 +00:00
Aleksey Shipilev
fb355df80d 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Reviewed-by: aph
Backport-of: 52ee570025
2023-11-08 14:56:12 +00:00
Aleksey Shipilev
50c34cad95 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
8317335: Build on windows fails after 8316645

Reviewed-by: rehn
Backport-of: fb055e7e53
2023-11-08 14:52:04 +00:00
Aleksey Shipilev
eb8267d98e 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Backport-of: 1e930db3c7
2023-11-08 14:51:43 +00:00
Evgeny Ignatenko
31c759dd7e 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: stuefe
Backport-of: 37aed6f46d
2023-11-08 13:34:12 +00:00
Evgeny Ignatenko
6bd2c5aaa9 8318474: Fix memory reporter for thread_count
Backport-of: 0baa9ecd76
2023-11-08 13:33:53 +00:00
Fei Yang
7091631c5f 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Backport-of: b2504a0f9c
2023-11-08 13:18:53 +00:00
Goetz Lindenmaier
421bf8a6b1 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Backport-of: e30e356442
2023-11-08 07:32:06 +00:00
Johannes Bechberger
337271f833 8317920: JDWP-agent sends broken exception event with onthrow option
Backport-of: 8f4ebd8921
2023-11-07 08:35:09 +00:00
rreddy
2bc004b022 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-07 06:52:42 +00:00
Severin Gehwolf
4cf572e3b9 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: phh
Backport-of: 0275efac88
2023-11-06 13:16:57 +00:00
Goetz Lindenmaier
4bbea6dde3 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Backport-of: 7b1e2bfe0f
2023-11-06 08:16:52 +00:00
Goetz Lindenmaier
4a6c0d8f52 8314242: Update applications/scimark/Scimark.java to accept VM flags
Backport-of: 6bf4a33593
2023-11-06 07:56:08 +00:00
Andrew Leonard
504f4a0c6f 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Backport-of: 242eeaea47
2023-11-03 18:20:20 +00:00
Andrew Leonard
e2b89c76e7 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Backport-of: 0f0c5b2d71
2023-11-03 16:22:30 +00:00
Calvin Cheung
892938dc66 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Backport-of: 9f4a9fe488
2023-11-03 16:09:06 +00:00
Aleksey Shipilev
844c32a313 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Backport-of: 4421951d8f
2023-11-03 13:32:34 +00:00
Martin Doerr
3552d5a898 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Backport-of: 6a4b665550
2023-11-03 13:25:05 +00:00
Tobias Hartmann
b743ba8148 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Backport-of: 83eb20651f
2023-11-03 13:18:10 +00:00
Frederic Thevenet
e371a3d92f 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Backport-of: 202c0137b8
2023-11-02 09:02:59 +00:00
Matthias Baesken
07a1490e71 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Backport-of: e1870d360e
2023-11-02 08:29:49 +00:00
Matthias Baesken
bb7c86f9b4 8318415: Adjust describing comment of os_getChildren after 8315026
Backport-of: 47bb1a1cef
2023-11-02 08:23:50 +00:00
Thomas Stuefe
bb8db719e6 8318089: Class space not marked as such with NMT when CDS is off
Backport-of: c0e154c876
2023-11-02 07:47:45 +00:00
rreddy
5c4039cff7 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-02 06:57:01 +00:00
Gui Cao
6e217669ff 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Backport-of: 988e1dfe6e
2023-11-02 02:03:40 +00:00
Goetz Lindenmaier
a96de29fee 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Backport-of: 939d7c5d84
2023-11-01 20:27:30 +00:00
Goetz Lindenmaier
05deef8600 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Backport-of: 298dda4c98
2023-11-01 20:26:50 +00:00
Goetz Lindenmaier
599b30d1e0 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Backport-of: cfae6ef2f6
2023-11-01 20:24:29 +00:00
Aleksey Shipilev
de57df40bf 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Backport-of: 0a3a925ad8
2023-11-01 14:08:25 +00:00
Aleksey Shipilev
c3c2b9f42d 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Backport-of: 52983ed529
2023-11-01 14:08:07 +00:00
Aleksey Shipilev
ae5b92c652 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Backport-of: 9013b03244
2023-11-01 14:01:10 +00:00
Aleksey Shipilev
3e46e29dc1 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Backport-of: 825e0ed2a1
2023-11-01 14:00:52 +00:00
Aleksey Shipilev
50e1a34582 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Backport-of: dd214d0f95
2023-11-01 14:00:37 +00:00
Rob McKenna
bbc5ad7574 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
Backport-of: 8d1ab57065
2023-11-01 13:46:43 +00:00
Aleksey Shipilev
69adcc680f 8312126: NullPointerException in CertStore.getCRLs after 8297955
Backport-of: 3c743cfea0
2023-11-01 13:40:47 +00:00
Aleksey Shipilev
a81130048e 8314330: java/foreign tests should respect vm flags when start new processes
Backport-of: 7b28d3608a
2023-11-01 13:38:31 +00:00
Aleksey Shipilev
067cd17c6c 8295555: Primitive wrapper caches could be @Stable
Backport-of: f7de726bd3
2023-11-01 13:38:07 +00:00
Aleksey Shipilev
9405b0c47f 8318528: Rename TestUnstructuredLocking test
Backport-of: 3f446c5156
2023-11-01 13:37:46 +00:00
Aleksey Shipilev
502d30b4a1 8318540: make test cannot run .jasm tests directly
Backport-of: bd02cfd96f
2023-11-01 13:37:13 +00:00
Aleksey Shipilev
1f75ab296b 8267509: Improve IllegalAccessException message to include the cause of the exception
Backport-of: 36314a90c1
2023-11-01 13:36:57 +00:00
Goetz Lindenmaier
f4ed66ee82 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Backport-of: 37c40a11a7
2023-10-29 20:44:57 +00:00
Sergey Bylokhov
305e9ec007 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Backport-of: eb37c7e361
2023-10-26 16:41:43 +00:00
pavel_kharskii
5c79703f35 8318137: Change milestone to fcs for all releases
Reviewed-by: coffeys, mvs, rreddy
2023-10-26 10:53:34 +00:00
Hannes Greule
c5a6a74a2f 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Backport-of: 8f5f44070a
2023-10-26 07:35:56 +00:00
Manukumar V S
5ebc02b149 8317751: ProblemList ConsumeForModalDialogTest.java, MenuItemActivatedTest.java & MouseModifiersUnitTest_Standard.java for windows
8317964: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java fails on macosx-all after JDK-8317751

Reviewed-by: aivanov, dmarkov
Backport-of: f40ea5109e
2023-10-25 15:52:02 +00:00
Matthias Baesken
5dd22a9bef 8317959: Check return values of malloc in native java.base coding
Backport-of: ff0b397e13
2023-10-25 06:49:31 +00:00
Matthias Baesken
e3a2eebd87 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Backport-of: 6d6c9008d5
2023-10-25 06:49:00 +00:00
Christoph Langer
bcd73c513a 8310512: Cleanup indentation in jfc files
Backport-of: 3be50da636
2023-10-25 06:39:24 +00:00
Christoph Langer
b7e0c4a94b 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Backport-of: 21c2dac159
2023-10-25 06:38:50 +00:00
Sergey Bylokhov
eb6ea916d2 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Backport-of: bd52bbfa27
2023-10-24 18:35:37 +00:00
Rajan Halade
00698a48c5 8317373: Add Telia Root CA v2
Backport-of: d3ebb4a155
2023-10-24 16:51:25 +00:00
Laurent Bourgès
0fc04fb17d 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Backport-of: a876beb63d
2023-10-24 16:03:30 +00:00
Aleksey Shipilev
2bf263d423 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Backport-of: ea067fc3d2
2023-10-24 15:40:25 +00:00
Aleksey Shipilev
9f0d9ca663 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Backport-of: f7deaf4bef
2023-10-24 15:37:26 +00:00
Aleksey Shipilev
294c19d954 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Backport-of: fe4f90021f
2023-10-24 15:36:55 +00:00
Aleksey Shipilev
2bef0bbb20 8315869: UseHeavyMonitors not used
Reviewed-by: phh
Backport-of: 3301fb1e8a
2023-10-24 15:36:25 +00:00
Tobias Hartmann
2621f68c06 8314468: Improve Compiler loops
Reviewed-by: jwilhelm, epeter
Backport-of: 86e71472aefc26175cfc00d44f255f64893e477b
2023-10-20 10:54:34 +00:00
Matthias Baesken
5121ee686b 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Backport-of: 29348b3cf6
2023-10-20 06:46:09 +00:00
Thomas Stuefe
0af96a8993 8317987: C2 recompilations cause high memory footprint
Backport-of: c88b387881
2023-10-20 05:38:20 +00:00
Alexey Ivanov
418a199560 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Backport-of: 808bb1f7bc
2023-10-19 18:47:45 +00:00
Aleksey Shipilev
fd329f2a37 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: aph
Backport-of: b6a97c0780
2023-10-19 18:45:46 +00:00
Ludvig Janiuk
abfe95025d 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: ihse
2023-10-19 18:39:04 +00:00
Archie Cobbs
b59b560a2a 8317818: Combinatorial explosion during 'this' escape analysis
Backport-of: 17535c34bc
2023-10-19 18:37:08 +00:00
Aleksey Shipilev
c41fc4a973 8316181: Move the fast locking implementation out of the .ad files
Backport-of: b48dbf6bfa
2023-10-19 18:34:35 +00:00
Aleksey Shipilev
876f78e312 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann
Backport-of: b0d6c8472f
2023-10-19 18:32:10 +00:00
Aleksey Shipilev
61ec9854c5 8316735: Print LockStack in hs_err files
Backport-of: 20ff603108
2023-10-19 18:31:41 +00:00
Rajan Halade
055cfe0094 8268916: Tests for AffirmTrust roots
Backport-of: 8c1bb2b280
2023-10-19 18:31:27 +00:00
Aleksey Shipilev
dc8603cb4c 8316958: Add test for unstructured locking
Backport-of: bcafec54a5
2023-10-19 18:31:05 +00:00
Aleksey Shipilev
94bb191b42 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Backport-of: 4ea1b99c1a
2023-10-19 18:30:16 +00:00
Aleksey Shipilev
7b4ab28552 8295068: SSLEngine throws NPE parsing CertificateRequests
Backport-of: 5667afc362
2023-10-19 18:29:38 +00:00
Aleksey Shipilev
87ca29312f 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Backport-of: 83edffa608
2023-10-19 18:28:23 +00:00
Aleksey Shipilev
55d0c79089 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Backport-of: e25121d1d9
2023-10-19 18:26:14 +00:00
robm
e796082e57 Merge 2023-10-18 13:12:04 +00:00
Archie Cobbs
8047100e66 8317336: Assertion error thrown during 'this' escape analysis
Backport-of: a8473b7079
2023-10-17 08:32:28 +00:00
Christoph Langer
a2092fe573 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Backport-of: 1161e3da14
2023-10-17 05:10:05 +00:00
Christoph Langer
ddc51f22f6 8219652: [aix] Tests failing with JNI attach problems.
8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
8317790: Fix Bug entry for exclusion of runtime/jni/terminatedThread/TestTerminatedThread.java on AIX

Reviewed-by: mbaesken
Backport-of: 0b0f8b55a6
2023-10-17 05:09:30 +00:00
rreddy
a4e78f30fc Merge remote-tracking branch 'jdk21u/master' 2023-10-17 05:09:29 +00:00
Christoph Langer
acbd31b853 8312078: [PPC] JcmdScale.java Failing on AIX
Backport-of: c1a3f143bf
2023-10-17 05:08:19 +00:00
Christoph Langer
0ce6596180 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Backport-of: ca96fd3b07
2023-10-17 05:07:48 +00:00
Christoph Langer
d5f2752f6a 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Backport-of: d5c6b0d0bb
2023-10-17 05:07:17 +00:00
Rajan Halade
d47d9ef999 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
Backport-of: 9728e21db1
2023-10-16 16:30:12 +00:00
Matthias Baesken
65941f8d31 8312467: relax the builddir check in make/autoconf/basic.m4
Backport-of: 6e3cc131da
2023-10-16 14:30:12 +00:00
Thomas Stuefe
1deb1e2e52 8317772: NMT: Make peak values available in release builds
Backport-of: 32ccf018eb
2023-10-16 14:19:51 +00:00
Aleksey Shipilev
252fe467be 8315062: [GHA] get-bootjdk action should return the abolute path
Backport-of: 99ea8bf2b9
2023-10-16 14:09:28 +00:00
Aleksey Shipilev
017b78b3cc 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: bpb
Backport-of: 373cdf257d
2023-10-16 14:08:52 +00:00
Aleksey Shipilev
3123caa6f6 8317294: Classloading throws exceptions over already pending exceptions
Backport-of: d4c904d819
2023-10-16 14:08:10 +00:00
Daniel Fuchs
fe29973a1e 8317736: Stream::handleReset locks twice
Backport-of: 508fa71753
2023-10-16 13:49:43 +00:00
Joachim Kern
3a21544d3d 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Backport-of: 4d9042043e
2023-10-16 13:49:02 +00:00
Prajwal Kumaraswamy
f281d5a444 8316976: Improve signature handling
Backport-of: ed1269b7410759e8fa0d97d85328f20d11ae8d9a
2023-10-13 14:44:39 +00:00
Christoph Langer
7d0a937446 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Backport-of: ad6dce376d
2023-10-11 05:54:43 +00:00
Christoph Langer
9feae27840 8317711: Exclude gtest/GTestWrapper.java on AIX
Backport-of: ef41aa02b8
2023-10-11 05:47:11 +00:00
Christoph Langer
064a21d6d7 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Backport-of: fcff222f92
2023-10-11 05:45:09 +00:00
Ludvig Janiuk
3dc3c7601c 8316906: Clarify TLABWasteTargetPercent flag
Backport-of: 77fac0f4c6
2023-10-10 19:50:15 +00:00
Aleksey Shipilev
2f6d7adbd1 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Backport-of: 7352bb9105
2023-10-10 18:22:41 +00:00
Goetz Lindenmaier
f73a8e1368 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Backport-of: 8b4af46be4
2023-10-10 18:12:30 +00:00
Goetz Lindenmaier
ac6d84cb90 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Backport-of: 84184f9473
2023-10-10 18:09:49 +00:00
Brian Burkhalter
edc15aa6ed 8313368: (fc) FileChannel.size returns 0 on block special files
Backport-of: 4ba81f631f
2023-10-10 14:33:23 +00:00
Aleksey Shipilev
e22d333feb 8314120: Add tests for FileDescriptor.sync
Backport-of: 2e8a0ab272
2023-10-10 07:16:42 +00:00
Aleksey Shipilev
1bcaff307e 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Backport-of: 4b65483921
2023-10-10 06:54:08 +00:00
Aleksey Shipilev
f2cb058bf8 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Backport-of: cf74b8c2a3
2023-10-10 06:52:15 +00:00
Aleksey Shipilev
cbde98cb07 8316179: Use consistent naming for lightweight locking in MacroAssembler
Backport-of: 639ba13c4b
2023-10-10 06:51:43 +00:00
Aleksey Shipilev
7e1755d301 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Backport-of: 1941290b79
2023-10-10 06:46:43 +00:00
Vladimir Kozlov
060c4f7589 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Reviewed-by: shade, vlivanov
Backport-of: cfabcbf858
2023-10-05 13:08:46 +00:00
Matthias Baesken
643914ddb4 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Backport-of: 97b94cb1cd
2023-10-05 12:07:44 +00:00
Matthias Baesken
9caf6c6c7a 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Backport-of: ed2b4673de
2023-10-05 12:03:09 +00:00
Matthias Baesken
bd4e7067e8 8312612: handle WideCharToMultiByte return values
Backport-of: d9559f9b24
2023-10-05 11:33:15 +00:00
Matthias Baesken
2184afed8e 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Backport-of: 1f7dfda705
2023-10-05 11:28:44 +00:00
Aleksey Shipilev
f49acbbbf1 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Backport-of: b38bcae1ba
2023-10-05 07:35:05 +00:00
Zdenek Zambersky
667e639964 8316540: StoreReproducibilityTest fails on some locales
Backport-of: f7578e8048
2023-10-05 07:34:32 +00:00
rreddy
f0be683ef8 Merge remote-tracking branch 'jdk21u/master' 2023-10-05 05:49:06 +00:00
Soumadipta Roy
d9bb3caf4d 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Backport-of: 4415261688
2023-10-04 22:31:49 +00:00
Soumadipta Roy
66c77d9502 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Backport-of: eb1f67b160
2023-10-04 21:07:35 +00:00
Soumadipta Roy
90f456c574 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502
2023-10-04 17:59:30 +00:00
Brian Burkhalter
834c45ccc6 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Backport-of: 5cacf212f0
2023-10-04 17:38:06 +00:00
Vladimir Kozlov
e76be61923 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Reviewed-by: shade, vlivanov
Backport-of: cfabcbf858
2023-10-04 16:51:52 +00:00
Aleksey Shipilev
60001763df 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: rkennke
Backport-of: 31c4e03d5d
2023-10-04 12:22:04 +00:00
Christoph Langer
f4550497ea 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Backport-of: ad6df41a9e
2023-10-04 10:47:39 +00:00
Aleksei Voitylov
6a4e492019 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Backport-of: cfcbfc6cae
2023-10-04 10:13:25 +00:00
Ilya Gavrilin
915892d5c7 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Backport-of: 4726960fcd
2023-10-04 09:19:47 +00:00
Aleksey Shipilev
c1f13ea2cf 8316514: Better diagnostic header for VtableStub
Backport-of: 6c61bc1950
2023-10-04 08:58:54 +00:00
Ludovic Henry
69af26c48c 8316859: RISC-V: Disable detection of V through HWCAP
Backport-of: 311c7461c8
2023-10-04 08:23:05 +00:00
Robbin Ehn
9ffec67a3f 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Backport-of: 2d154fcd0d
2023-10-04 08:20:42 +00:00
Goetz Lindenmaier
90d4ff6175 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Backport-of: 01e135c910
2023-10-04 07:18:14 +00:00
Goetz Lindenmaier
610f164454 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Backport-of: dcea9bf087
2023-10-04 07:10:49 +00:00
Goetz Lindenmaier
67d2836de2 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Backport-of: ba1a46392f
2023-10-04 07:08:37 +00:00
Goetz Lindenmaier
bbfbc7b347 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Backport-of: c6ab9c2905
2023-10-04 07:06:29 +00:00
Goetz Lindenmaier
48fa33a958 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Backport-of: 73d7aa1d2c
2023-10-04 07:04:28 +00:00
Vladimir Kempik
89103c6818 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
Backport-of: bd7bb67d8f
2023-10-04 06:56:36 +00:00
Fei Yang
b4bb944796 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Backport-of: 750da00129
2023-10-04 01:10:52 +00:00
Saravana Kumar Vijayasekaran
65ae942188 8317439: Updating RE Configs for BUILD REQUEST 21.0.2+1
Reviewed-by: robm
2023-10-03 16:17:14 +00:00
Coleen Phillimore
4d078930ee 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2023-10-02 18:48:54 +00:00
Coleen Phillimore
08980a0a60 8314295: Enhance verification of verifier
Reviewed-by: dholmes, poonam, dlong
2023-09-29 13:01:13 +00:00
Gui Cao
b12961d94d 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Backport-of: e39197ec62
2023-09-28 15:34:05 +00:00
Manukumar V S
b0ad09d24d 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2023-09-28 15:08:50 +00:00
Matthias Baesken
8f05d86191 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Backport-of: aa0ebeedb1
2023-09-28 14:22:48 +00:00
Manukumar V S
d3c89cd722 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2023-09-28 13:37:35 +00:00
Soumadipta Roy
3130e03843 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
2023-09-26 14:44:03 +00:00
Man Cao
ea00fcab99 8316468: os::write incorrectly handles partial write
Backport-of: 7ce5bd1590
2023-09-25 20:07:05 +00:00
Alexey Ivanov
e2f32f1abd 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Backport-of: 00f585bd22
2023-09-25 14:19:55 +00:00
Matthias Baesken
be274aaa03 8313575: Refactor PKCS11Test tests
Backport-of: 7a08e6bdd6
2023-09-25 13:47:36 +00:00
Ludvig Janiuk
ccf8451691 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: coffeys, kevinw
Backport-of: 903b9e8dd9
2023-09-25 13:33:45 +00:00
Ludvig Janiuk
768592a52f 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: kevinw
Backport-of: 1d0250709a
2023-09-25 07:56:41 +00:00
Matthias Baesken
86a1a44a62 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Backport-of: 3671d83c87
2023-09-25 07:07:27 +00:00
Matthias Baesken
c6ff3f7cf7 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Backport-of: b7545a69a2
2023-09-25 07:03:49 +00:00
Matthias Baesken
3b589198f3 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Backport-of: f3aeb024d9
2023-09-25 06:54:42 +00:00
Rajat Mahajan
9983caa261 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Backport-of: a63afa4aa6
2023-09-22 17:56:42 +00:00
Ilya Gavrilin
4eafc454c2 8313322: RISC-V: implement MD5 intrinsic
Backport-of: b093880acd
2023-09-22 17:34:57 +00:00
Aleksey Shipilev
305be8f768 8314045: ArithmeticException in GaloisCounterMode
Backport-of: f41c267f85
2023-09-22 15:36:42 +00:00
Aleksey Shipilev
487a726c52 8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4b
2023-09-22 15:36:10 +00:00
Rajan Halade
3b690f1964 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
Backport-of: da57d2a1eb
2023-09-22 15:29:36 +00:00
Aleksey Shipilev
e2bfc22b64 8315578: PPC builds are broken after JDK-8304913
Backport-of: 9559e035d2
2023-09-22 15:17:45 +00:00
Aggelos Biboudis
fa642371ad 8314632: Intra-case dominance check fails in the presence of a guard
Backport-of: 81f8c57e4a
2023-09-22 08:00:05 +00:00
Aggelos Biboudis
742ff74e59 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Backport-of: 3b0a6d2a68
2023-09-22 07:58:11 +00:00
Daniel Fuchs
cea40621b0 8316031: SSLFlowDelegate should not log from synchronized block
Backport-of: dc5ca1d379
2023-09-21 14:23:11 +00:00
Christoph Langer
c0adad2f03 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Backport-of: 2e2d49c76d
2023-09-21 13:14:41 +00:00
Christoph Langer
c86bad51a8 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX

Reviewed-by: mbaesken
Backport-of: e62419823a
2023-09-21 13:12:41 +00:00
Christoph Langer
b9f54bd0a7 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Backport-of: e22eb06a3b
2023-09-21 13:12:12 +00:00
Andreas Steiner
f33c9a39fa 8313244: NM flags handling in configure process
Backport-of: 12326770dc
2023-09-21 12:34:37 +00:00
Aleksey Shipilev
b8c5a9ae1a 8315579: SPARC64 builds are broken after JDK-8304913
Backport-of: cfc148930b
2023-09-21 12:08:37 +00:00
Matthias Baesken
2155ada9f6 8313206: PKCS11 tests silently skip execution
Backport-of: 515add88ed
2023-09-21 12:07:57 +00:00
Chad Rakoczy
2f3e151106 8311813: C1: Uninitialized PhiResolver::_loop field
Backport-of: 489a32fe40
2023-09-20 15:40:40 +00:00
Matthias Baesken
fc11f381e8 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Backport-of: 8bbebbba8f
2023-09-20 14:15:09 +00:00
Matthias Baesken
acd23acf80 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Backport-of: 36552e7193
2023-09-20 07:29:26 +00:00
Elif Aslan
46f210c4a1 8311514: Incorrect regex in TestMetaSpaceLog.java
Backport-of: 9084b6c9d5
2023-09-19 19:21:02 +00:00
Sean Coffey
f885c25dc5 8316087: Test SignedLoggerFinderTest.java is still failing
Backport-of: ff240a9135
2023-09-19 16:11:09 +00:00
Sean Coffey
23125787f0 8315696: SignedLoggerFinderTest.java test failed
Backport-of: e409d07ae8
2023-09-19 16:00:27 +00:00
Sean Coffey
51d738b6b1 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Backport-of: 7daae1fb42
2023-09-19 15:47:37 +00:00
Aleksey Shipilev
ad222a46f9 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Backport-of: ece9bdfc83
2023-09-19 07:13:29 +00:00
Gui Cao
1899ad0731 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Backport-of: 4070829ae5
2023-09-19 06:37:17 +00:00
robm
587a7ca82e Merge 2023-09-18 23:20:31 +00:00
Calvin Cheung
9ebc5ac923 8314649: Enhanced archival support redux
Reviewed-by: iklam
2023-09-18 23:17:21 +00:00
Sean Mullan
86a1699e5f 8309966: Enhanced TLS connections
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-09-18 23:17:16 +00:00
Calvin Cheung
5f5061fea8 8312248: Enhanced archival support redux
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-09-18 23:16:59 +00:00
pavel_kharskii
091ebfa5b6 8311682: Change milestone to fcs for all releases
Reviewed-by: coffeys
2023-09-18 23:14:30 +00:00
Prasadrao Koppula
b29310664f 8286503: Enhance security classes
Reviewed-by: wetmore
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-09-18 23:14:27 +00:00
Rob McKenna
b8f0f91e4f 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Backport-of: 3c258ac907
2023-09-15 19:07:20 +00:00
Rob McKenna
84cde0f4fb 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Backport-of: d9fc6b6933
2023-09-15 19:03:09 +00:00
Rob McKenna
dfc32a08d9 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Backport-of: 028068a655
2023-09-15 18:39:06 +00:00
Rob McKenna
918ce3e9f5 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Backport-of: 97df6cf55a
2023-09-15 18:30:37 +00:00
Aleksey Shipilev
5524b5e2e8 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Backport-of: 947dee7f2d
2023-09-14 08:48:56 +00:00
Matthias Baesken
42e5cd806a 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Backport-of: 8107eab3c0
2023-09-13 14:58:24 +00:00
Aleksey Shipilev
88633d9661 8308452: Extend internal Architecture enum with byte order and address size
8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()

Backport-of: d6dd0dc3e0
2023-09-13 14:35:23 +00:00
Matthias Baesken
0294541d69 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Backport-of: 9887cd8adc
2023-09-13 14:18:54 +00:00
Joachim Kern
3eaecb05dc 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Backport-of: 486fa08d4b
2023-09-13 14:02:14 +00:00
Jan Lahoda
efd090a6a0 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Backport-of: 87a6acbeee
2023-09-13 13:37:07 +00:00
Christoph Langer
f6426fa38e 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Backport-of: 69c9ec92d0
2023-09-13 10:02:53 +00:00
William Kemper
9b983f30bd 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Backport-of: 716201c77d
2023-09-12 16:56:24 +00:00
Jan Lahoda
1dac78c38e 8315735: VerifyError when switch statement used with synchronized block
Backport-of: 726c9c977d
2023-09-12 09:22:50 +00:00
Sidraya Jayagond
27f635fabe 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Backport-of: ec1f7a8480
2023-09-12 09:07:09 +00:00
Matthias Baesken
acf28f4cd9 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk
Backport-of: fac9f88c52
2023-09-12 07:26:26 +00:00
Matthias Baesken
292ac0f7ba 8311938: Add default cups include location for configure on AIX
Backport-of: c4b8574b94
2023-09-12 07:16:01 +00:00
Andreas Steiner
d99b62b62f 8312466: /bin/nm usage in AIX makes needs -X64 flag
Backport-of: 44576a7cca
2023-09-12 07:13:28 +00:00
Matthias Baesken
2d8be5c74e 8315214: Do not run sun/tools/jhsdb tests concurrently
Backport-of: 1e7e2bcf35
2023-09-12 07:07:50 +00:00
Rajat Mahajan
82bb82a6e2 8311585: Add JRadioButtonMenuItem to bug8031573.java
Backport-of: 4f90abaf17
2023-09-11 18:10:48 +00:00
Christian Stein
8565c71036 8315863: [GHA] Update checkout action to use v4
Backport-of: b74805d383
2023-09-11 10:17:34 +00:00
Terry Chow
19279305d5 8308593: Add KEEPALIVE Extended Socket Options Support for Windows
Backport-of: f3ade388da
2023-09-11 09:45:33 +00:00
Aleksey Shipilev
3973d5ec59 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
Backport-of: ab12c5d32f
2023-09-11 09:18:15 +00:00
Vladimir Kempik
9343d4666a 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Backport-of: 5d3fdc1750
2023-09-08 20:25:59 +00:00
Robbin Ehn
8477ff8570 8315206: RISC-V: hwprobe query is_set return wrong value
Backport-of: 876a725af9
2023-09-06 13:11:35 +00:00
Jan Lahoda
aef25fcac1 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: asotona, vromero
Backport-of: 84425a6290
2023-09-06 07:18:56 +00:00
Aleksey Shipilev
6e54e82865 8314495: Update to use jtreg 7.3.1
Reviewed-by: phh
Backport-of: c50315de8f
2023-09-05 15:27:41 +00:00
Mandy Chung
b207ce7761 8315383: jlink SystemModulesPlugin incorrectly parses the options
8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder

Reviewed-by: phh
Backport-of: ea5aa61c8c
2023-09-05 15:27:07 +00:00
Aleksey Shipilev
f1e8b19f8b 8313167: Update to use jtreg 7.3
Backport-of: 9c6eb67e85
2023-09-05 14:21:35 +00:00
Rob McKenna
f07c8f2116 8315688: Update jdk21u fix version to 21.0.2
Reviewed-by: mdoerr, coffeys
2023-09-05 13:01:52 +00:00
rreddy
a19f2fdbad Merge remote-tracking branch 'jdk21u/master' 2023-09-05 07:52:10 +00:00
Jan Lahoda
49bef915bc 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Backport-of: adfc1d6cd2
2023-09-05 07:25:02 +00:00
Jan Lahoda
a4d64abf2a 8315534: Incorrect warnings about implicit annotation processing
Backport-of: 94a74a0a45
2023-09-05 07:23:04 +00:00
rreddy
7c83730233 Merge remote-tracking branch 'upstream/master' 2023-09-05 06:46:55 +00:00
Martin Doerr
fbc194a333 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Backport-of: cf2d33ca2e
2023-09-04 20:15:14 +00:00
airsquared
b86a0ce1b6 8309032: jpackage does not work for module projects unless --module-path is specified
Backport-of: dfe764e3f8
2023-09-04 18:29:47 +00:00
Roman Marchenko
efb11c1b18 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: thartmann
Backport-of: ed1ea5fe7c
2023-09-04 12:50:00 +00:00
Alexander Scherbatiy
91e37e9056 8311033: [macos] PrinterJob does not take into account Sides attribute
Backport-of: a3d67231a7
2023-09-04 10:13:05 +00:00
Aleksey Shipilev
72980bd898 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Backport-of: 145d8bc1a3
2023-09-04 06:38:37 +00:00
Tobias Hartmann
233076e534 8313626: C2 crash due to unexpected exception control flow
Backport-of: f8203cb272
2023-09-01 06:14:24 +00:00
Ao Qi
33ce611eb7 8315020: The macro definition for LoongArch64 zero build is not accurate.
Backport-of: 725ec0ce1b
2023-09-01 03:40:17 +00:00
Thomas Stuefe
5589b9ec51 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Backport-of: 226cdc696d
2023-08-31 15:05:45 +00:00
Aleksey Shipilev
5cd6929a2c 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Backport-of: 76b9011c9e
2023-08-31 08:01:35 +00:00
rreddy
d35bbe7796 Merge remote-tracking branch 'upstream/master' 2023-08-31 05:00:31 +00:00
Sergey Bylokhov
70c05d1b07 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Backport-of: 87298d2ade
2023-08-31 04:03:11 +00:00
Alexander Matveev
d55535d2e8 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Backport-of: 57a322da9b
2023-08-30 21:26:44 +00:00
Chris Plummer
bb1adb1d3d 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Backport-of: 38a9edfb7e
2023-08-30 18:50:25 +00:00
nibjen
c7cff818b5 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: hchao
Backport-of: e47a84f23d
2023-08-30 17:32:02 +00:00
Matthias Baesken
071ec8d04b 8313691: use close after failing os::fdopen in vmError and ciEnv
Backport-of: 96304f37f8
2023-08-30 12:50:13 +00:00
Aleksey Shipilev
511224ac14 8313262: C2: Sinking node may cause required cast to be dropped
Backport-of: 1cee3b9fd9
2023-08-30 05:55:56 +00:00
Oli Gillespie
42aec91488 8313874: JNI NewWeakGlobalRef throws exception for null arg
Backport-of: 028b3ae1b1
2023-08-29 13:53:10 +00:00
Oli Gillespie
c1892758ce 8313678: SymbolTable can leak Symbols during cleanup
Backport-of: 4b2703ad39
2023-08-29 13:52:32 +00:00
Thomas Stuefe
af9d11eb22 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Backport-of: 7332502883
2023-08-29 10:03:54 +00:00
Andrew John Hughes
77b5fa2d9b 8284772: GHA: Use GCC Major Version Dependencies Only
Backport-of: 7e843c22e7
2023-08-29 02:30:56 +00:00
Sidraya Jayagond
8bf3ba34b5 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Backport-of: 514816ed7d
2023-08-28 21:20:52 +00:00
Tyler Steele
2408df237e 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Backport-of: 395fc78880
2023-08-28 21:14:53 +00:00
Weibing Xiao
1f5ba7a8d6 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Backport-of: f2383b3cbd
2023-08-28 16:00:05 +00:00
Thomas Stuefe
34e9be5154 8312620: WSL Linux build crashes after JDK-8310233
Backport-of: 25058cd23a
2023-08-28 15:42:25 +00:00
Thomas Stuefe
4cca633e37 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Backport-of: 84b325b844
2023-08-28 15:34:42 +00:00
Thomas Stuefe
89234bc31d 8303815: Improve Metaspace test speed
Backport-of: de0e46c2f6
2023-08-28 15:32:21 +00:00
Thomas Stuefe
3f889a8d25 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Backport-of: 94eb44b192
2023-08-26 05:33:05 +00:00
Rajan Halade
4909911fde 8314960: Add Certigna Root CA - 2
Backport-of: e9ba8d5a0e
2023-08-25 20:06:49 +00:00
Patricio Chilano Mateo
f5eef2021a 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Backport-of: 8e4240c316
2023-08-25 19:50:55 +00:00
Ben Taylor
46ce5553e4 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Backport-of: 0e2c72d7a5
2023-08-25 19:50:22 +00:00
Sean Coffey
b96aa3c42e 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Backport-of: e554fdee25
2023-08-25 18:22:06 +00:00
Aleksey Shipilev
a34b844428 8313701: GHA: RISC-V should use the official repository for bootstrap
Backport-of: 538f9557b8
2023-08-25 17:00:23 +00:00
Valerie Peng
c849fa5b1f 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Backport-of: ba6cdbe2c2
2023-08-24 19:28:05 +00:00
Roger Riggs
4729fad053 8313312: Add missing classpath exception copyright header
Reviewed-by: bpb
Backport-of: 53ca75b18e
2023-08-24 18:05:16 +00:00
Aleksey Shipilev
7a2aa86680 8314020: Print instruction blocks in byte units
Backport-of: a602624ef4
2023-08-24 13:00:16 +00:00
Aleksey Shipilev
17a7fc316d 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Backport-of: 69d900d2ce
2023-08-24 12:59:45 +00:00
Aleksey Shipilev
f6bd1691f4 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Backport-of: d1de3d082e
2023-08-24 12:59:05 +00:00
Christian Hagedorn
c577a11ce9 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, sviswanathan, rhalade, kvn, dlong
Backport-of: 49ddb19972
2023-08-24 12:34:55 +00:00
Alexey Ivanov
6588678b81 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Backport-of: 62610203f1
2023-08-24 12:23:17 +00:00
Matthias Baesken
5c84a01a45 8314517: some tests fail in case ipv6 is disabled on the machine
Backport-of: 703817d21f
2023-08-24 07:41:02 +00:00
Matthias Baesken
5ad0c0c3f1 8313602: increase timeout for jdk/classfile/CorpusTest.java
Backport-of: bdac348c80
2023-08-24 07:30:25 +00:00
Tyler Steele
82d7bc57b7 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Backport-of: fdac6a6ac8
2023-08-24 06:13:43 +00:00
Aleksey Shipilev
c17b5d7588 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Backport-of: 812f475bc4
2023-08-24 06:08:16 +00:00
Aleksey Shipilev
f07aa56445 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Backport-of: 20e94784c9
2023-08-24 06:07:02 +00:00
Aleksey Shipilev
1c3409b3a5 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Backport-of: 735b16a696
2023-08-24 06:06:29 +00:00
Thomas Stuefe
d6a4e469e4 8310233: Fix THP detection on Linux
Backport-of: 37ca9024ef
2023-08-24 05:47:45 +00:00
David Holmes
3d38c53c34 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Backport-of: f142470dea
2023-08-23 22:23:16 +00:00
Calvin Cheung
1e16543a60 8314649: Enhanced archival support redux
Reviewed-by: iklam
2023-08-23 18:38:58 +00:00
Christian Hagedorn
1cab474f04 8313756: [BACKOUT] 8308682: Enhance AES performance
Backport-of: 207bd00c51
2023-08-23 09:23:05 +00:00
Gui Cao
89aea0dace 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Backport-of: a66b5df14a
2023-08-23 06:27:00 +00:00
rreddy
79b83426d6 Merge remote-tracking branch 'upstream/master' 2023-08-22 13:20:38 +00:00
Rob McKenna
e1ef69abba Merge 2023-08-22 12:42:24 +00:00
rreddy
aad67869f3 Merge remote-tracking branch 'upstream/master' 2023-08-22 08:01:09 +00:00
Feilong Jiang
8792922fc7 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Backport-of: 5c91622885
2023-08-22 02:46:54 +00:00
Valerie Peng
334b977259 8302017: Allocate BadPaddingException only if it will be thrown
Backport-of: c27c87786a
2023-08-22 00:17:02 +00:00
Alexander Matveev
16fa05594c 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
Backport-of: ec0cc6300a
2023-08-21 20:59:31 +00:00
Aggelos Biboudis
8a09253221 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Backport-of: 4331193010
2023-08-21 19:16:21 +00:00
Ben Taylor
9d1d5e78c6 8313765: Invalid CEN header (invalid zip64 extra data field size)
Backport-of: 13f6450e2e
2023-08-21 17:13:36 +00:00
Aleksey Shipilev
32a1c79066 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Backport-of: 56a73a6f0f
2023-08-21 15:43:30 +00:00
Aleksey Shipilev
04adfb390c 8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3e
2023-08-21 14:37:00 +00:00
Thomas Schatzl
be077e0667 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang
Backport-of: 1925508425
2023-08-18 11:44:54 +00:00
Raffaello Giulietti
c3eda1c529 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: rriggs
Backport-of: 61c58fdd00
2023-08-17 19:10:50 +00:00
Mandy Chung
1e81fa55d5 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: phh
Backport-of: ec7da91bd8
2023-08-17 16:11:09 +00:00
Weibing Xiao
d37d019be2 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Backport-of: e56d3bc2da
2023-08-16 15:28:05 +00:00
Rob McKenna
9c24db165b Merge 2023-08-16 13:13:14 +00:00
Abhishek Kumar
f7626de5d1 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
Backport-of: c1f4595e64
2023-08-16 06:19:08 +00:00
Matthias Baesken
956d563e3c 8311511: Improve description of NativeLibrary JFR event
Backport-of: 848abd2831
2023-08-15 07:09:54 +00:00
Aleksey Shipilev
afd6c7a0bc 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Backport-of: db133dbc02
2023-08-15 07:06:19 +00:00
Aleksey Shipilev
56e6e4544c 8314118: Update JMH devkit to 1.37
Backport-of: 06aa3c5628
2023-08-15 07:02:56 +00:00
Aleksey Shipilev
8912d3e589 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: alanb
Backport-of: fbe51e388d
2023-08-15 07:00:00 +00:00
Aleksey Shipilev
b06ee413fb 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: stuefe
Backport-of: 117f42dbe9
2023-08-15 06:59:29 +00:00
Aleksey Shipilev
bd634d2ec7 8313307: java/util/Formatter/Padding.java fails on some Locales
Backport-of: 408987e1ca
2023-08-15 06:58:24 +00:00
Aleksey Shipilev
bdf9f4b6cc 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: valeriep
Backport-of: bed9161c81
2023-08-15 06:57:50 +00:00
Aleksey Shipilev
f67c241842 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Backport-of: e8a37b90db
2023-08-10 12:05:45 +00:00
Aleksey Shipilev
fc624dfa2a 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: stuefe
Backport-of: ad34be1f32
2023-08-10 12:02:57 +00:00
Aleksey Shipilev
a094e937bf 8293114: JVM should trim the native heap
Reviewed-by: stuefe
Backport-of: 9e4fc568a6
2023-08-10 11:56:27 +00:00
Ravi Reddy
588036aa26 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Backport-of: 8c9d091f19
2023-08-10 11:46:41 +00:00
Aleksey Shipilev
fd1f47c64a 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Backport-of: 4b192a8dc3
2023-08-10 11:46:01 +00:00
Daniel D. Daugherty
890adb6410 8314062: ProblemList jdk/jfr/tool/TestView.java on macosx-x64
Reviewed-by: naoto
2023-08-09 20:19:41 +00:00
Stefan Karlsson
8002b3e3f1 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: aboldtch, tschatzl
Backport-of: 28fd7a1739
2023-08-09 20:11:53 +00:00
Jim Laskey
c746fc013c 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
Backport-of: 6864441163
2023-08-09 15:13:37 +00:00
Sean Mullan
fc9a6f0ac8 8309966: Enhanced TLS connections
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-08-09 14:41:09 +00:00
Jim Laskey
a07353053d 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jjg, vromero
Backport-of: f14245b388
2023-08-09 10:46:42 +00:00
Aleksey Shipilev
fd7a104beb 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: thartmann
Backport-of: 46fbedb2be
2023-08-09 08:23:43 +00:00
Aleksey Shipilev
134e2702e6 8313707: GHA: Bootstrap sysroots with --variant=minbase
Backport-of: 29f1d8ef50
2023-08-09 08:21:54 +00:00
Tobias Hartmann
01a5df689b 8313345: SuperWord fails due to CMove without matching Bool pack
Reviewed-by: chagedorn
Backport-of: d3b578f1c9
2023-08-09 07:56:41 +00:00
Sergey Bylokhov
51d128dafd 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Backport-of: 8248e351d0
2023-08-08 17:41:14 +00:00
Calvin Cheung
cb01f421db 8312248: Enhanced archival support redux
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-08-08 15:11:39 +00:00
Tobias Hartmann
7350b3f5c3 8312909: C1 should not inline through interface calls with non-subtype receiver
Backport-of: ab1c212ac1
2023-08-08 14:21:56 +00:00
Tobias Hartmann
515387d71f 8304954: SegmentedCodeCache fails when using large pages
Backport-of: cad6114e1c
2023-08-08 14:21:17 +00:00
Christoph Langer
a21ad5503a 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Backport-of: 7304316a8c
2023-08-08 12:03:32 +00:00
rreddy
412d02d9de Merge remote-tracking branch 'upstream/master' 2023-08-08 11:33:44 +00:00
Rob McKenna
aafd687cb5 Merge 2023-08-08 10:53:05 +00:00
Jesper Wilhelmsson
bfe037a476 8312985: Remove EA from the JDK 21 version string with first RC promotion on August 10, 2023
Reviewed-by: mikael
2023-08-07 23:39:12 +00:00
Jan Lahoda
f65c4503a8 8312619: Strange error message when switching over long
Backport-of: cc2a75e11c
2023-08-07 08:17:36 +00:00
Jan Lahoda
8ebd234cbf 8312984: javac may crash on a record pattern with too few components
Backport-of: c386091734
2023-08-07 07:10:23 +00:00
Jiangli Zhou
6dc4a07556 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Backport-of: 36f3bae556
2023-08-05 03:11:08 +00:00
Stefan Karlsson
4273487ee2 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: eosterlund
Backport-of: 19e2c8c321
2023-08-04 11:33:06 +00:00
Christoph Langer
90249f0add 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Backport-of: 16134f4422
2023-08-04 09:58:07 +00:00
Christoph Langer
b0da6c16bb 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all

Reviewed-by: mbaesken, alanb
Backport-of: 44a8aa0691
2023-08-04 09:57:33 +00:00
Justin Lu
fd789db510 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto, iris
Backport-of: 9b55e9a706
2023-08-03 20:49:36 +00:00
Matthias Baesken
0346a3469b 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Backport-of: 0328886450
2023-08-03 15:37:43 +00:00
Aleksey Shipilev
40092ed235 8313428: GHA: Bump GCC versions for July 2023 updates
Backport-of: ec2f38fd38
2023-08-03 15:35:31 +00:00
Aleksey Shipilev
230df9923e 8312591: GCC 6 build failure after JDK-8280982
Backport-of: 9454b2bbe1
2023-08-03 15:34:23 +00:00
Vladimir Kempik
89875df834 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Backport-of: d6245b6832
2023-08-03 15:25:11 +00:00
Matthias Baesken
46dd7333a6 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: clanger
Backport-of: 34173ff0d1
2023-08-03 08:47:02 +00:00
Christoph Langer
f532042919 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mbaesken
Backport-of: 4c2e54fb05
2023-08-03 07:40:21 +00:00
Christoph Langer
610812d474 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: mbaesken
Backport-of: d1cc278260
2023-08-03 07:39:47 +00:00
Christoph Langer
f87a70debe 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: mbaesken
Backport-of: 5ff42d1429
2023-08-03 07:37:42 +00:00
Jorn Vernee
20ca0465b5 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: thartmann, mcimadamore
Backport-of: 6fca289887
2023-08-02 10:58:43 +00:00
Aleksey Shipilev
53aceba71e 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: stuefe
Backport-of: 7173c3009e
2023-08-02 08:18:53 +00:00
Christoph Langer
c3519d0e53 8313256: Exclude failing multicast tests on AIX
Reviewed-by: mbaesken
Backport-of: 98a915a54c
2023-08-02 07:32:20 +00:00
Christoph Langer
5a74a8d6c3 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken
Backport-of: 94b50b714a
2023-08-02 07:31:52 +00:00
Tobias Hartmann
6f76b65ace 8312573: Failure during CompileOnly parsing leads to ShouldNotReachHere
Reviewed-by: kvn, tholenstein
2023-08-02 06:36:48 +00:00
Justin Lu
f34ac12aa7 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto, iris
Backport-of: c6396dceb9
2023-08-01 23:00:14 +00:00
Roger Riggs
a228185ebb 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: naoto
Backport-of: 8650026ff1
2023-08-01 14:35:29 +00:00
rreddy
50f35bda85 Merge remote-tracking branch 'upstream/master' 2023-08-01 12:33:52 +00:00
Rob McKenna
5c6cd06177 Merge 2023-08-01 11:07:51 +00:00
Christoph Langer
731b2e94b9 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
Backport-of: 807ca2d3a1
2023-08-01 07:39:35 +00:00
Matthias Baesken
d65f1c8bcb 8312395: Improve assertions in growableArray
Backport-of: b772e67e29
2023-08-01 07:29:18 +00:00
Matthias Baesken
e9e15202b6 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Backport-of: 9eed049098
2023-08-01 07:12:42 +00:00
Matthias Baesken
22e162d62e 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Backport-of: 4c2e54fb05
2023-08-01 07:12:13 +00:00
Matthias Baesken
f020851dd8 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Backport-of: aa7367f1ec
2023-08-01 07:09:39 +00:00
David Holmes
0439d58422 8300937: Update nroff pages in JDK 21 before RC
Reviewed-by: mchung, iris, egahlin
2023-07-31 21:09:44 +00:00
Matthias Baesken
6b738ad192 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Backport-of: a38a421f62
2023-07-31 14:46:52 +00:00
Paul Hohensee
a892672f4e 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Backport-of: a9d21c61fb
2023-07-31 14:25:22 +00:00
Ramesh Bhagavatam Gangadhar
11dbcf1799 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: ssahoo
Backport-of: 8042a50b99
2023-07-30 06:11:05 +00:00
Sergey Bylokhov
bb63b79112 8313260: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on linux-x86
Reviewed-by: clanger
2023-07-28 15:52:39 +00:00
Aleksey Shipilev
24fe96b920 8309746: Reconfigure check should include make/conf/version-numbers.conf
Backport-of: 955fc2faba
2023-07-28 08:36:56 +00:00
Matthias Baesken
bb234a0c5e 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Backport-of: a7d168b522
2023-07-28 07:11:57 +00:00
Tobias Hartmann
f242c3b9f8 8313241: Temporarily disable "malformed control flow" assert to reduce noise
Reviewed-by: chagedorn, kvn, dcubed
2023-07-28 06:59:52 +00:00
Matthias Baesken
75a792b16b 8311285: report some fontconfig related environment variables in hs_err file
Backport-of: 0ef03f1228
2023-07-28 06:42:32 +00:00
Christoph Langer
1c875fd499 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs
Backport-of: c05ba48b60
2023-07-27 21:41:56 +00:00
Markus Grönlund
3e9344a554 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
Backport-of: 59f66a3b83
2023-07-27 16:57:33 +00:00
Daniel D. Daugherty
a10dbcecdb 8313208: ProblemList java/util/concurrent/tck/JSR166TestCase.java on select platforms
Reviewed-by: darcy
2023-07-26 19:28:12 +00:00
Daniel D. Daugherty
f666e60681 8313193: ProblemList java/util/concurrent/SynchronousQueue/Fairness.java on X64
Reviewed-by: rriggs
2023-07-26 18:51:40 +00:00
pavel_kharskii
2f36f36caa 8311681: Update the Jan CPU24_01 release date in master branch after forking Oct CPU23_10
Reviewed-by: coffeys
2023-07-26 15:54:56 +00:00
rreddy
73d42ba9f1 Merge 2023-07-26 12:00:56 +00:00
Aleksey Shipilev
e04b3061fc 8311249: Remove unused MemAllocator::obj_memory_range
Backport-of: 711cddd899
2023-07-26 11:01:47 +00:00
Rob McKenna
ffdf7acd8c Merge 2023-07-25 11:23:22 +00:00
Ravi Reddy
e636945921 8311680: Update the release version after forking Oct CPU23_10
Reviewed-by: robm
2023-07-25 05:58:50 +00:00
Serguei Spitsyn
817dc554e5 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: cjplummer
Backport-of: 783de32b6a
2023-07-25 00:11:16 +00:00
Daniel Jeliński
aae2cbd308 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb
Backport-of: 354c6605e3
2023-07-24 10:09:19 +00:00
Prasadrao Koppula
8b7afecff1 8286503: Enhance security classes
Reviewed-by: wetmore
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-07-21 15:13:34 +00:00
Gui Cao
e106280251 8311923: TestIRMatching.java fails on RISC-V
Backport-of: e7adbdb1f1
2023-07-20 14:24:16 +00:00
Sean Mullan
ff5d9695f6 8308204: Enhanced certificate processing
Reviewed-by: jnimeh
Backport-of: ef0ea85bf1398b73bd308ba2b395c917b449aa3b
2023-07-20 12:23:27 +00:00
Johny Jose
7f658ce078 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: jpai, coffeys
Backport-of: 268ec61d4f
2023-07-20 07:40:37 +00:00
Valerie Peng
6786fa4bfd 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: mullan, ascarpino, xuelei
Backport-of: 28c4d196cf
2023-07-20 01:23:53 +00:00
Chris Plummer
fde53fc715 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: sspitsyn
Backport-of: c84866ac0d
2023-07-19 19:14:33 +00:00
Vladimir Kempik
1776b3d231 8311862: RISC-V: small improvements to shift immediate instructions
Backport-of: f3b96f6937
2023-07-19 12:09:58 +00:00
Jan Lahoda
6d9da7ce62 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: a4412166ec
2023-07-19 08:47:20 +00:00
Aggelos Biboudis
48760d7a04 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
Backport-of: 1fc726a8b3
2023-07-19 07:37:21 +00:00
Christian Hagedorn
8198737220 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-18 21:31:32 +00:00
Jan Lahoda
445099f87d 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-18 21:31:31 +00:00
Calvin Cheung
52c00a1490 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-18 21:31:31 +00:00
Brian Burkhalter
f629339124 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:31:31 +00:00
Ioi Lam
4e9e598da0 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-18 21:31:31 +00:00
Hai-May Chao
3ecfeb9183 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:31:31 +00:00
Lance Andersen
2905dfd58c 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:31:31 +00:00
Michael McMahon
19790ded95 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:31:31 +00:00
Tobias Hartmann
7459f74afe 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:31:31 +00:00
Tobias Hartmann
241f3fdc3b 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:31:30 +00:00
Jamil Nimeh
f026904c83 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-18 21:31:30 +00:00
Serguei Spitsyn
9a19016bec 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: amenkov
Backport-of: 3236ba0be4
2023-07-18 20:40:09 +00:00
Serguei Spitsyn
e3cfb56d8f 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: amenkov
Backport-of: 11a5115caf
2023-07-18 20:36:21 +00:00
Markus Grönlund
36aae5f36a 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
Backport-of: 9905f75822
2023-07-18 19:26:17 +00:00
Jan Lahoda
7a5d6f90f0 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: bbb7ce5137
2023-07-18 17:50:16 +00:00
Mandy Chung
b8eddabac0 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: darcy
Backport-of: b4dce0d624
2023-07-18 16:48:52 +00:00
Joakim Nordström
b380d1b3d8 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: mgronlun
Backport-of: 66d2736521
2023-07-18 10:22:24 +00:00
Jan Lahoda
b6827ff331 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
Backport-of: d1fa1a8686
2023-07-18 08:22:37 +00:00
Jan Lahoda
a08c6b9b2e 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey, iris
Backport-of: 1c9691b1f7
2023-07-18 08:22:06 +00:00
Jim Laskey
4fcb0b28d7 8312098: Update man page for javadoc
Reviewed-by: darcy
2023-07-14 15:54:51 +00:00
Aleksey Shipilev
49479dbe59 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: rriggs
Backport-of: 43099a85b1
2023-07-14 14:49:40 +00:00
Markus Grönlund
c199b8c761 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin
Backport-of: 7539cc092d
2023-07-14 12:49:08 +00:00
Markus Grönlund
fd949c74ad 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
Backport-of: 61932f49a5
2023-07-14 11:08:37 +00:00
Alan Bateman
281aee968a 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
Backport-of: 92a04e201e
2023-07-14 05:13:10 +00:00
Justin Lu
d370b96fb6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto, lancea, iris
Backport-of: 6cb9ec32a6
2023-07-13 22:41:15 +00:00
Stuart Marks
b4f19f57e1 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: rriggs
Backport-of: 743e8b8e0a
2023-07-13 18:02:45 +00:00
Erik Gahlin
65ed787646 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
Backport-of: f60c1f9bc4
2023-07-13 16:54:36 +00:00
Markus Grönlund
2475bba4ce 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin
Backport-of: 6895debf66
2023-07-13 14:55:26 +00:00
Aleksey Shipilev
99d87e9097 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: alanb
Backport-of: 401c3dea5d
2023-07-13 11:58:11 +00:00
Vladimir Petko
d174dde161 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
Backport-of: 0916e6a603
2023-07-13 08:34:33 +00:00
Tobias Hartmann
f79247584e 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: chagedorn
Backport-of: caadad4fdc
2023-07-13 08:30:36 +00:00
Robbin Ehn
5f1d762750 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, fyang
Backport-of: faf1b822d0
2023-07-13 07:29:56 +00:00
Stuart Marks
f6ad56bcbc 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: naoto, bpb
Backport-of: f82c8184b2
2023-07-12 22:59:15 +00:00
Rajan Halade
82c8b28f40 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
Backport-of: 119cc495fc
2023-07-12 18:48:28 +00:00
Rajan Halade
72cf3c958f 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: mullan
Backport-of: fd7fddb6ed
2023-07-12 18:17:54 +00:00
Patricio Chilano Mateo
dd48ed821b 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: coleenp
Backport-of: 57e7e82fa1
2023-07-12 14:28:25 +00:00
Alan Bateman
3bb375080f 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: darcy, iris, lancea
Backport-of: 623cfcd04b
2023-07-12 06:49:37 +00:00
Maurizio Cimadamore
ca10804155 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
Backport-of: 6569b252b9
2023-07-11 21:43:50 +00:00
Alexey Ivanov
480dc220bf 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: honkar, azvegint, prr
Backport-of: b3f34039fe
2023-07-11 18:44:52 +00:00
Patricio Chilano Mateo
308b4c63cb 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: coleenp
Backport-of: 0c86c31bcc
2023-07-11 13:56:12 +00:00
Erik Gahlin
c97db0db84 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
Backport-of: a1cfc96954
2023-07-11 12:43:52 +00:00
Hao Sun
8808ec3fbc 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: tschatzl
Backport-of: 4b1403d06b
2023-07-11 07:58:48 +00:00
Erik Joelsson
99ae133f51 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
Backport-of: 554b4d7243
2023-07-09 06:21:38 +00:00
Zhengyu Gu
413ee9f003 8309761: Leak class loader constraints
Reviewed-by: coleenp
Backport-of: 8e4e6b056c
2023-07-07 16:47:20 +00:00
Naoto Sato
773bb0a7f1 8311183: Remove unused mapping test files
Reviewed-by: lancea
Backport-of: d072c40ff1
2023-07-07 15:48:20 +00:00
Thomas Stuefe
6ef8016838 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: rriggs
Backport-of: 47d00a4cbe
2023-07-07 13:42:54 +00:00
Tobias Hartmann
2d7ed1898b 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: epeter
Backport-of: 31dcda5d67
2023-07-07 07:08:43 +00:00
Coleen Phillimore
98ad856a98 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: iklam
Backport-of: b6c789faad
2023-07-06 19:45:48 +00:00
Tobias Hartmann
830279e054 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: chagedorn
Backport-of: 15878360bf
2023-07-06 12:54:48 +00:00
Hannes Wallnöfer
fb7fd58126 8311264: JavaDoc index comparator is not transitive
Reviewed-by: prappo
Backport-of: 0741cd3289
2023-07-06 12:26:14 +00:00
Pavel Rappo
bfed32bd09 8311122: Fix typos in java.base
Reviewed-by: iris
Backport-of: 7b3c2dc5f4
2023-07-06 10:43:41 +00:00
Tobias Hartmann
c86f4dea95 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: chagedorn
Backport-of: 6ebb0e3bd4
2023-07-06 07:42:12 +00:00
Tobias Hartmann
0ee169f14b 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: chagedorn
Backport-of: d6578bff1c
2023-07-06 06:29:41 +00:00
Serguei Spitsyn
f24c5540ff 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate
Backport-of: 971c2efb69
2023-07-06 01:09:48 +00:00
Rajan Halade
604e03de78 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
Backport-of: 9f64a64376
2023-07-05 17:47:20 +00:00
rreddy
8b587288b4 Merge remote-tracking branch 'jdk21u/master' 2023-07-05 09:47:57 +00:00
Rob McKenna
4078fb9472 Merge 2023-07-04 23:32:45 +00:00
Axel Boldt-Christmas
c9111d57ce 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: ayang
Backport-of: f393975d1b
2023-07-04 12:45:35 +00:00
Matthias Baesken
8d6ef6fd5b 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: clanger
Backport-of: 7da3f1999f
2023-07-04 07:43:12 +00:00
Mandy Chung
205dffe383 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: iris
Backport-of: b9198f9931
2023-07-03 20:58:14 +00:00
Tobias Hartmann
6de4e8f601 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: chagedorn
Backport-of: f6bdccb45c
2023-07-03 10:37:40 +00:00
Matthias Baesken
6f3f4aa293 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: cjplummer
Backport-of: 39c104df44
2023-07-03 06:58:57 +00:00
Feilong Jiang
59c18f14c2 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Backport-of: 87e6fab2c4
2023-07-01 04:29:08 +00:00
Chen Liang
8088bc4033 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
Backport-of: 8c8e9d911d
2023-07-01 02:44:28 +00:00
Chen Liang
bbcabe4200 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
Backport-of: a197ee797b
2023-07-01 02:44:03 +00:00
Daniel D. Daugherty
35d592e39d 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
Backport-of: 140b70fb29
2023-06-30 22:34:06 +00:00
Axel Boldt-Christmas
6d2f34fcff 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: stefank
Backport-of: 2a9e2f614f
2023-06-30 13:16:03 +00:00
Tobias Hartmann
3210d32088 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: chagedorn
Backport-of: 26efff7586
2023-06-30 10:26:14 +00:00
Joe Darcy
60db329e4c 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: prappo
Backport-of: d97966266e
2023-06-29 20:52:42 +00:00
Tobias Hartmann
91598a94f2 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: chagedorn
Backport-of: be64d3ac3c
2023-06-29 13:01:02 +00:00
Erik Gahlin
5a31ab2820 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
Backport-of: e3f18af1df
2023-06-29 10:57:43 +00:00
Joe Darcy
e67393fd30 8310061: Note if implicit annotation processing is being used
Reviewed-by: vromero
Backport-of: 3df36c4f10
2023-06-29 00:09:38 +00:00
Jorn Vernee
722794f920 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
Backport-of: f07e396bda
2023-06-28 19:19:33 +00:00
Jorn Vernee
45f252b7f9 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
Backport-of: 7fffdb5e60
2023-06-28 18:30:15 +00:00
Tobias Hartmann
687863d900 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn
Backport-of: 526dba1a29
2023-06-28 18:26:40 +00:00
Rajan Halade
ed98bd7dbd 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: valeriep, hchao
Backport-of: 130a9f1387
2023-06-28 18:21:33 +00:00
Archie Cobbs
359bd63b15 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
Backport-of: a08352f621
2023-06-28 15:48:05 +00:00
Pavel Rappo
ccacc2b4da 8311034: Fix typo in javac man page
Reviewed-by: rriggs
Backport-of: f17bfeec61
2023-06-28 14:22:02 +00:00
Kevin Walls
8d9ebb6981 8303916: ThreadLists.java inconsistent results
Reviewed-by: sspitsyn
Backport-of: 8c9b85a990
2023-06-28 08:30:13 +00:00
Stefan Karlsson
0903c8dd60 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: ayang
Backport-of: 4e4e586dac
2023-06-28 07:35:18 +00:00
Tobias Hartmann
9998c07bd9 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: kvn
Backport-of: ff9a754109
2023-06-28 05:19:09 +00:00
Joe Darcy
3248daee85 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: mchung
Backport-of: 4bce38c6d7
2023-06-27 19:56:34 +00:00
Jim Laskey
033060b22b 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: darcy
Backport-of: 315242b741
2023-06-27 19:12:26 +00:00
Naoto Sato
df26258d80 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs
Backport-of: ec45bd64d5
2023-06-27 18:07:18 +00:00
Robbin Ehn
087d4a8c04 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: luhenry, fyang
Backport-of: 31b6fd775f
2023-06-27 14:10:09 +00:00
Mandy Chung
6a4552c9a8 8310242: Clarify the name parameter to Class::forName
8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242

Reviewed-by: dholmes
Backport-of: 7db2f08756
2023-06-27 01:59:58 +00:00
Joe Darcy
71a41f7e71 8310861: Improve location reporting for javac serial lint warnings
8310907: Add missing file

Reviewed-by: jlahoda
Backport-of: 289f218a32
2023-06-26 22:35:37 +00:00
Christian Stein
cdb8c70727 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: jjg
Backport-of: 4bf78162c5
2023-06-26 20:29:40 +00:00
Hannes Wallnöfer
8748b462db 8309471: Limit key characters in static index pages
Reviewed-by: jjg
Backport-of: 21f6d83358
2023-06-26 15:51:37 +00:00
Jaikiran Pai
63d419edd1 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
Backport-of: 013367b483
2023-06-26 10:09:11 +00:00
Frederic Thevenet
f0e80fa1a1 8309959: JFR: Display N/A for missing data amount
Reviewed-by: egahlin
Backport-of: 9872a14192
2023-06-26 08:22:35 +00:00
Joe Darcy
7489967d6a 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
Backport-of: 69f3114c41
2023-06-23 23:05:10 +00:00
Jamil Nimeh
17b6f7b9a5 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, hchao
Backport-of: 5ca4cdd2ca
2023-06-23 21:59:55 +00:00
Daniel D. Daugherty
af3a56e569 8310822: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on generic-x64
Reviewed-by: iris, lmesnik
2023-06-23 19:52:37 +00:00
Alexander Zuev
1bcf00167f 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: prr
Backport-of: d1d2b55ce0
2023-06-23 19:48:06 +00:00
Weibing Xiao
0ca350d002 8297856: Improve handling of Bidi characters
Backport-of: 244b89fc786894cb8cca742f91875ebb98b603ff
2023-06-23 14:54:42 +00:00
Sergey Bylokhov
8b127262a3 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: djelinski, michaelm
Backport-of: bdd81b3182
2023-06-23 11:36:39 +00:00
Alan Bateman
e86d765b22 8309853: StructuredTaskScope.join description improvements
Reviewed-by: darcy
Backport-of: 3661cdee1b
2023-06-23 04:43:52 +00:00
Erik Gahlin
2f1af3cff8 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
Backport-of: 658c3374d8
2023-06-22 09:38:03 +00:00
Axel Boldt-Christmas
6317249b50 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: eosterlund
Backport-of: a0595761ef
2023-06-22 08:43:35 +00:00
Tobias Hartmann
55aa4cb48a 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: chagedorn, dlong
Backport-of: bb966827ac
2023-06-22 05:48:55 +00:00
Tobias Hartmann
5357bcd776 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: chagedorn, dlong
Backport-of: 266f9838ee
2023-06-22 05:48:15 +00:00
Tobias Hartmann
7621d988f9 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: chagedorn, dlong
Backport-of: 4a9cc8a000
2023-06-22 05:47:41 +00:00
Tobias Hartmann
89ac41be57 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: chagedorn, dlong
Backport-of: 02aaab12e3
2023-06-22 05:47:11 +00:00
Jan Lahoda
789b2fc4f2 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
Backport-of: a15db1a56c
2023-06-22 04:24:53 +00:00
Jan Lahoda
ceadaece94 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
Backport-of: 01623f6a57
2023-06-22 04:24:20 +00:00
Serguei Spitsyn
f8a38eecc6 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer
Backport-of: f91e9ba757
2023-06-22 03:32:14 +00:00
Chris Plummer
722b512c40 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: kevinw, sspitsyn
Backport-of: 79ff72a776
2023-06-21 17:13:00 +00:00
Darragh Clarke
a4159ddaa2 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
Backport-of: a48bcf3671
2023-06-21 15:10:45 +00:00
Jorn Vernee
3985a4d534 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
Backport-of: e022e87654
2023-06-21 14:53:04 +00:00
Weibing Xiao
eccef0eef4 8296581: Better system proxy support
Reviewed-by: coffeys
Backport-of: 111811e64245ae720a0617b7de0c52c60bb2bac1
2023-06-21 13:36:34 +00:00
Vladimir Kempik
79d44fdebc 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Backport-of: 6b94289386
2023-06-21 12:34:04 +00:00
Matthias Baesken
1fc60429a1 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb
Backport-of: 6a63badd8e
2023-06-21 09:02:06 +00:00
Per Minborg
ef0357f6cb 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
Backport-of: b412fc79c3
2023-06-21 08:13:09 +00:00
Matthias Baesken
60cae33c46 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: lucy, alanb
Backport-of: 4d66d97745
2023-06-21 07:48:06 +00:00
Alexey Ivanov
beb0d9579b 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
Backport-of: d6c2ee3448
2023-06-20 19:20:18 +00:00
Roger Riggs
e0cc40108a 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 33c6ec9d4e
2023-06-20 17:39:44 +00:00
Glavo
7e788939d3 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 137a5f7c2c
2023-06-20 16:27:48 +00:00
Rob McKenna
d02c85b56b Merge 2023-06-20 15:52:44 +00:00
David Holmes
fb6f5f1b82 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: shade
Backport-of: 96a7db7b3c
2023-06-20 12:10:07 +00:00
Jim Laskey
7ca0f1460c 8309957: Rename JDK-8309595 test to conform
Reviewed-by: prappo
Backport-of: 1d1ed0d8f7
2023-06-20 12:02:35 +00:00
Jim Laskey
bfffd8b608 8309595: Allow javadoc to process unnamed classes
Reviewed-by: prappo
Backport-of: 0be39054a6
2023-06-20 11:40:09 +00:00
Jan Lahoda
ede16cd19e 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
Backport-of: 79069c5e74
2023-06-20 10:34:00 +00:00
Jaikiran Pai
08965e646e 8310259: Pin msys2/setup-msys2 github action to a specific commit
8309934: Update GitHub Actions to use JDK 17 for building jtreg

Reviewed-by: cstein, clanger
Backport-of: 959a61fdd4
2023-06-20 01:08:56 +00:00
Erik Gahlin
e0d3706f9e 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: mgronlun
Backport-of: 7d4b77ad9e
2023-06-19 15:29:05 +00:00
Erik Österlund
14c5091a9f 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
Backport-of: 4229baf9b6
2023-06-19 14:53:11 +00:00
Erik Gahlin
36e3fe914c 8309928: JFR: View issues
Reviewed-by: mgronlun
Backport-of: 84d010a24b
2023-06-19 11:25:27 +00:00
Albert Mingkun Yang
4d81b8998a 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl
2023-06-19 11:09:04 +00:00
Kim Barrett
ace56237d3 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl
Backport-of: 92167505b2
2023-06-19 08:41:55 +00:00
Phil Race
3698a022ff 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: azvegint
Backport-of: d3d0dbc363
2023-06-16 22:44:44 +00:00
Justin Lu
a1c1d97a4e 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
Backport-of: 81bfd78901
2023-06-16 21:11:00 +00:00
Aggelos Biboudis
aced11446e 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: jlahoda
Backport-of: 32243ef47d
2023-06-16 10:10:02 +00:00
Rob McKenna
40eb08d43f 8310171: Bump version numbers for 21.0.1
Reviewed-by: iris, erikj
2023-06-16 00:00:41 +00:00
Roberto Castañeda Lozano
39e98e7bbf 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann
Backport-of: 83d92672d4
2023-06-15 12:09:27 +00:00
Martin Doerr
07d20dc86a 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: mbaesken
Backport-of: bd79db3930
2023-06-15 10:49:49 +00:00
Aleksey Shipilev
0ac92753dd 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: rkennke
Backport-of: 57b8251241
2023-06-15 07:51:16 +00:00
Chen Liang
6711041f55 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
Backport-of: 75dcc4ef94
2023-06-14 00:01:24 +00:00
Stuart Marks
f7cd0aec92 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: rriggs
Backport-of: e138685648
2023-06-13 21:09:38 +00:00
Raffaello Giulietti
e18993c006 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: bpb
Backport-of: bfef3c3e80
2023-06-13 19:06:24 +00:00
Mandy Chung
3363050f9e 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: alanb
Backport-of: 679a6d8935
2023-06-13 16:48:42 +00:00
Markus Grönlund
ea4ab656b0 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
Backport-of: 05f896a153
2023-06-13 12:34:06 +00:00
Martin Doerr
08eff92b5e 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken
Backport-of: cf9e6353cc
2023-06-13 08:27:55 +00:00
Jan Lahoda
83ea293581 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
Backport-of: 408cadb351
2023-06-13 07:33:27 +00:00
Joe Darcy
b743405033 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
Backport-of: 3ce1240ca1
2023-06-12 20:03:42 +00:00
Maurizio Cimadamore
20371fd918 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:24:51 +00:00
Chris Hegarty
73a9f486ae 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: uschindler, rriggs
Backport-of: cee5724d09
2023-06-12 15:07:02 +00:00
Matthias Baesken
005006e7c4 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr
Backport-of: 3981297fd3
2023-06-12 14:41:57 +00:00
Daniel D. Daugherty
4bf6babda5 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: darcy
Backport-of: aace3dc28c
2023-06-10 16:36:39 +00:00
Daniel D. Daugherty
406ba341fe 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: darcy
Backport-of: 307085618d
2023-06-10 01:13:01 +00:00
Stefan Karlsson
430ffe7ae6 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: dcubed
Backport-of: c4e6542514
2023-06-08 20:02:55 +00:00
Stefan Karlsson
bb377b2673 8306841: Generational ZGC: NMT reports Java heap size larger than max heap size
Reviewed-by: eosterlund, stuefe
2023-06-08 14:06:27 +00:00
Chen Liang
ac3ce2bf75 8304425: ClassHierarchyResolver from Reflection
Reviewed-by: asotona
2023-06-08 07:29:56 +00:00
Aggelos Biboudis
79a4ac791c 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
2023-06-08 07:25:25 +00:00
Nagata-Haruhito
9d64a9d220 8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
2023-06-08 07:03:29 +00:00
Serguei Spitsyn
5af9d2a0ac 8309602: update JVMTI history table for jdk 21
Reviewed-by: alanb, iris
2023-06-08 04:04:05 +00:00
David Holmes
6646272a05 8308764: Reporting errors from create_vm may crash
Reviewed-by: stuefe, coleenp, kbarrett
2023-06-08 03:30:11 +00:00
Sergey Bylokhov
73dd03cc5a 8308152: PropertyDescriptor should work with overridden generic getter method
Reviewed-by: azvegint
2023-06-08 02:51:36 +00:00
Martin Balao
760cb04a2e 8309569: sun/security/pkcs11/Signature/TestRSAKeyLength.java fails after JDK-8301553
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: valeriep
2023-06-08 01:24:26 +00:00
Mandy Chung
e8a59843f2 8309630: Clean up tests that reference deploy modules
Reviewed-by: bchristi
2023-06-08 01:00:44 +00:00
Raffaello Giulietti
90027ff204 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
2023-06-07 21:39:53 +00:00
Alexey Ivanov
ea41907396 8297923: java.awt.ScrollPane broken after multiple scroll up/down
Reviewed-by: honkar, prr, serb
2023-06-07 21:18:50 +00:00
Yudi Zheng
99749c597b 8309562: [JVMCI] Export symbols used by VirtualThread notifyJvmti intrinsics to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-06-07 21:18:03 +00:00
Eric Nothum
92beb85510 8309474: [IR Framework] Wrong @ForceCompile link in README
Reviewed-by: chagedorn, thartmann
2023-06-07 20:16:51 +00:00
Daniel D. Daugherty
6402004852 8256302: releasing oopStorage when deflating allows for faster deleting
Reviewed-by: dholmes, rehn, coleenp
2023-06-07 19:59:13 +00:00
Mandy Chung
02bce0b145 8309532: java/lang/Class/getDeclaredField/FieldSetAccessibleTest should filter modules that depend on JVMCI
Reviewed-by: alanb, dfuchs
2023-06-07 18:44:27 +00:00
Joe Darcy
4ffc8cc216 8309574: Improve core reflection tests for JEP 445
Reviewed-by: mchung
2023-06-07 18:11:56 +00:00
Chris Plummer
e3f3ac0825 8309420: com/sun/jdi/StepTest.java fails with virtual thread wrapper
Reviewed-by: sspitsyn, amenkov
2023-06-07 18:03:49 +00:00
Chris Plummer
c38abbfcaa 8309510: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:57:23 +00:00
Joe Darcy
c24b0bada2 8309503: Improve javax.lang.model tests for JEP 445
Reviewed-by: jlahoda, jjg, jlaskey
2023-06-07 17:55:47 +00:00
Chris Plummer
a54f4d4ab9 8309509: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java fails with virtual test thread factory
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:49:05 +00:00
Daniel D. Daugherty
33bb64f24f 8309614: [BACKOUT] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: azvegint
2023-06-07 15:17:43 +00:00
JoKern65
5b147eb5e4 8308288: Fix xlc17 clang warnings and build errors in hotspot
Reviewed-by: goetz, mbaesken
2023-06-07 13:44:42 +00:00
JoKern65
89f5bacaf6 8309225: Fix xlc17 clang 15 warnings in security and servicability
Reviewed-by: goetz, mdoerr, clanger
2023-06-07 13:42:42 +00:00
JoKern65
6eddbe26dd 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
2023-06-07 13:42:03 +00:00
Serguei Spitsyn
177e8327d6 8307153: JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: amenkov, cjplummer
2023-06-07 13:16:40 +00:00
Aleksey Shipilev
f0236edfba 8309543: Micro-optimize x86 assembler UseCondCardMark
Reviewed-by: kvn, mdoerr
2023-06-07 13:11:32 +00:00
Alexander Zvegintsev
9d7bf5329e 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots
Reviewed-by: prr, kizune, psadhukhan
2023-06-07 13:08:11 +00:00
Frederic Thevenet
a1ab377d99 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, mgronlun
2023-06-07 12:58:57 +00:00
Jorn Vernee
c49129f545 8308445: Linker should check that capture state segment is big enough
Reviewed-by: mcimadamore
2023-06-07 12:25:28 +00:00
Jorn Vernee
fa791119f0 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Jim Laskey
16ebf47fe3 8309594: Cleanup naming in JavacParser related to unnamed classes
Reviewed-by: jlahoda
2023-06-07 11:54:50 +00:00
Stefan Karlsson
5722903d53 8307374: Add a JFR event for tracking RSS
Reviewed-by: stuefe, rcastanedalo
2023-06-07 11:41:20 +00:00
Eric Nothum
1de40f360f 8302145: ddepth should be uint in PhaseIdealLoop::register_node()
Reviewed-by: chagedorn, thartmann
2023-06-07 11:39:31 +00:00
Jim Laskey
a6726b66db 8309568: javac crashes attempting to -Xprint on a class file of an unnamed class
Reviewed-by: darcy, jlahoda
2023-06-07 11:34:23 +00:00
Boris Ulasevich
8cdd95e8a2 8305959: x86: Improve itable_stub
Reviewed-by: phh, shade, aph
2023-06-07 11:27:52 +00:00
Matthias Baesken
9233dcc838 8309297: Adjust ShenandoahHeap print_heap_regions_on
Reviewed-by: ysr, mdoerr
2023-06-07 10:51:10 +00:00
Dhamoder Nalla
749d480193 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
2023-06-07 09:50:08 +00:00
Jaikiran Pai
3ccb3c0e09 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: djelinski, dfuchs
2023-06-07 09:44:14 +00:00
Serguei Spitsyn
a25b7b8b55 8295976: GetThreadListStackTraces returns wrong state for blocked VirtualThread
Reviewed-by: cjplummer, amenkov
2023-06-07 07:51:37 +00:00
Daniel Jeliński
fadcd65018 8309527: Improve test proxy performance
Reviewed-by: dfuchs, jpai
2023-06-07 07:51:05 +00:00
Christian Hagedorn
0ed4af76c0 8309472: IGV: Add dump_igv(custom_name) for improved debugging
Reviewed-by: roland, thartmann
2023-06-07 07:38:21 +00:00
Alan Bateman
f1c7afcc3f 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: psandoz, dfuchs, mchung
2023-06-07 06:41:09 +00:00
Ichiroh Takiguchi
a08c5cb3f1 8307953: [AIX] C locale's font setting was changed by JEP 400
Reviewed-by: naoto, prr
2023-06-06 22:20:03 +00:00
Daniel D. Daugherty
0ceb43227d 8309570: ProblemList sun/security/pkcs11/Signature/TestRSAKeyLength.java
Reviewed-by: jjg, darcy
2023-06-06 22:08:43 +00:00
Chris Plummer
65bdbc7a8c 8309396: com/sun/jdi/JdbMethodExitTest.java fails with virtual threads due to a bug in determining the main thread id
Reviewed-by: amenkov, sspitsyn
2023-06-06 21:57:18 +00:00
Martin Balao
4a75fd462c 8301553: Support Password-Based Cryptography in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2023-06-06 19:39:34 +00:00
Hannes Wallnöfer
0a4f9ad637 8292157: Incorrect error: "block element not allowed within inline element <a>"
Reviewed-by: jjg
2023-06-06 19:33:35 +00:00
Chris Plummer
16ab7bfe22 8309505: com/sun/jdi/MethodEntryExitEvents.java due to finding wrong main thread
Reviewed-by: amenkov, sspitsyn
2023-06-06 18:34:18 +00:00
Joe Darcy
d82436e4e3 8295071: Spec Clarification : ClassFileFormatVersion: System property java.class.version | Java class format version number
Reviewed-by: iris, alanb, rriggs
2023-06-06 18:33:42 +00:00
Chris Plummer
571fbdc311 8309506: com/sun/jdi/MultiBreakpointsTest.java fails with virtual test thread factory
Reviewed-by: amenkov, sspitsyn
2023-06-06 18:17:47 +00:00
Joe Darcy
7d1147ee5c 8309554: Update descriptions in SourceVersion
Reviewed-by: jlaskey, jjg, rriggs
2023-06-06 18:16:44 +00:00
Stuart Marks
9526190863 8307840: SequencedMap view method specification and implementation adjustments
Reviewed-by: darcy, alanb
2023-06-06 17:02:32 +00:00
Mandy Chung
74dc50b7f0 8301721: lookup.findSpecial fails on Object method call from interface
Reviewed-by: alanb
2023-06-06 16:19:46 +00:00
Doug Simon
0f0fda7abc 8309542: compiler/jvmci/TestEnableJVMCIProduct.java fails with "JVMCI compiler 'graal' specified by jvmci.Compiler not found"
Reviewed-by: kvn, never
2023-06-06 16:12:37 +00:00
Chen Liang
38cef2adbd 8309413: Improve the performance of MethodTypeDesc::descriptorString
8304932: MethodTypeDescImpl can be mutated by argument passed to MethodTypeDesc.of

Reviewed-by: mchung
2023-06-06 15:56:36 +00:00
Tom Rodriguez
7edd0540e0 8309501: Remove workaround in bin/idea.sh for non standard JVMCI file layout
Reviewed-by: dnsimon, erikj
2023-06-06 15:53:54 +00:00
Brian Burkhalter
9188142698 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
2023-06-06 15:15:32 +00:00
Brian Burkhalter
d709c25cbf 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists
Reviewed-by: alanb
2023-06-06 15:14:57 +00:00
Jim Laskey
ca6f07f9ab 8309534: @JEP(number=430, title="String Templates") should use default status
Reviewed-by: alanb
2023-06-06 13:01:04 +00:00
Rudi Horn
8f0839bc55 8308748: JNU_GetStringPlatformChars may write to String's internal memory array
Reviewed-by: dholmes, rriggs, alanb
2023-06-06 12:58:24 +00:00
Pavel Rappo
01455a07a7 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
2023-06-06 10:06:52 +00:00
Gui Cao
7d25bf7722 8309419: RISC-V: Relax register constraint for AddReductionVF & AddReductionVD nodes
Reviewed-by: fyang, luhenry, yzhu
2023-06-06 09:19:27 +00:00
Dingli Zhang
5146a58249 8309418: RISC-V: Make use of vl1r.v & vfabs.v pseudo-instructions where appropriate
Reviewed-by: fyang, luhenry, gcao
2023-06-06 09:07:39 +00:00
Maxim Kartashev
41bf2ad159 8308875: java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java failed with 'Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null'
Reviewed-by: avu, prr
2023-06-06 08:26:01 +00:00
quadhier
a7a0913005 8309346: Extend hs_err logging for all VM operations deriving from VM_GC_Operation
Reviewed-by: tschatzl, stefank
2023-06-06 07:29:25 +00:00
Matthias Baesken
3b85f84f02 8309340: Provide sctpHandleSocketErrorWithMessage
Reviewed-by: clanger
2023-06-06 07:08:10 +00:00
Alan Bateman
2e9eff5641 8309406: Change jdk.trackAllThreads to default to true
Reviewed-by: rpressler, mchung, cjplummer
2023-06-06 06:01:38 +00:00
Stuart Marks
6d155a47f1 8308167: SequencedMap::firstEntry throws NPE when first entry has null key or value
Reviewed-by: bchristi
2023-06-06 00:19:50 +00:00
Serguei Spitsyn
4b1534989b 8304438: jcmd JVMTI.agent_load should obey EnableDynamicAgentLoading
Reviewed-by: cjplummer, alanb, amenkov
2023-06-06 00:00:11 +00:00
Doug Simon
b3c9d6785e 8309136: [JVMCI] add -XX:+UseGraalJIT flag
Reviewed-by: dholmes, kvn
2023-06-05 20:47:50 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Calvin Cheung
e970ddbc60 8309170: CDS archive heap is always relocated for larger heap
Reviewed-by: stuefe, iklam
2023-06-05 18:33:54 +00:00
Adam Sotona
4b8922f576 8308842: Consolidate exceptions thrown from Class-File API
Reviewed-by: briangoetz
2023-06-05 18:25:51 +00:00
Joe Darcy
2b38343e4d 8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
Reviewed-by: prappo
2023-06-05 16:36:19 +00:00
Alexander Zvegintsev
73352b68c4 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction
Reviewed-by: prr, psadhukhan
2023-06-05 16:34:45 +00:00
Antonios Printezis
5cd8af7622 8308726: RISC-V: avoid unnecessary slli in the vectorized arraycopy stubs for bytes
Reviewed-by: fyang, luhenry
2023-06-05 15:40:10 +00:00
Antonios Printezis
80232b7e75 8308969: make test-prebuilt doesn't return the correct exit code
Reviewed-by: erikj
2023-06-05 15:35:42 +00:00
changpeng1997
6d511f1376 8309129: AArch64: guarantee(T != T2S) failed: "incorrect arrangement" after JDK-8307795
Reviewed-by: thartmann, xgong, eastigeevich
2023-06-05 11:32:53 +00:00
Jan Lahoda
9be5769a68 8291966: SwitchBootstrap.typeSwitch could be faster
Reviewed-by: asotona
2023-06-05 10:48:25 +00:00
Hannes Wallnöfer
db0857ddd8 8306578: Report error if no label given in @see and {@link} when no default is available
Reviewed-by: jjg
2023-06-05 09:39:19 +00:00
Prasanta Sadhukhan
8c9d21e519 8296920: Regression Test DialogOrient.java fails on MacOS
Reviewed-by: honkar, dnguyen, achung, jdv
2023-06-05 09:15:13 +00:00
Christoph Langer
ac41c03003 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Reviewed-by: mbaesken, weijun
2023-06-05 08:36:47 +00:00
David Leopoldseder
11fb5b2209 8309104: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal
Reviewed-by: dnsimon, thartmann
2023-06-05 07:54:42 +00:00
Vladimir Kempik
a02d8001fa 8309405: RISC-V: is_deopt may produce unaligned memory read
Reviewed-by: fyang, luhenry
2023-06-05 07:30:28 +00:00
Roberto Castañeda Lozano
3fa776d66a 8302673: [SuperWord] MaxReduction and MinReduction should vectorize for int
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: epeter, kvn
2023-06-05 07:08:33 +00:00
Emanuel Peter
22a9a86be0 8309268: C2: "assert(in_bb(n)) failed: must be" after JDK-8306302
Reviewed-by: rcastanedalo, kvn, thartmann
2023-06-05 06:43:13 +00:00
Jan Lahoda
b6c9232b8b 8305225: A service broken error despite annotation processor generating it if directives listed
Reviewed-by: asotona
2023-06-05 06:30:44 +00:00
Jan Lahoda
05fb6c6648 8309336: Incorrect switch in enum not reported properly
Reviewed-by: vromero
2023-06-05 06:25:00 +00:00
Gui Cao
08c91c2212 8309332: RISC-V: Improve PrintOptoAssembly output of vector nodes
Reviewed-by: yzhu, fyang
2023-06-05 00:18:51 +00:00
Chris Plummer
ecb17532dc 8309334: ProcessTools.main() does not properly set thread names when using the virtual thread wrapper
Reviewed-by: amenkov, lmesnik, sspitsyn, alanb
2023-06-04 18:18:11 +00:00
Jaikiran Pai
ac1597bcc7 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
2023-06-04 09:48:11 +00:00
Chris Plummer
fdb5893bf0 8309391: Remove non-failing tests from test/jdk/ProblemList-Virtual.txt
Reviewed-by: dcubed, lmesnik
2023-06-03 20:26:46 +00:00
Guoxiong Li
6edd786bf6 8309265: Serial: Remove the code related to GC overheap limit
Reviewed-by: ayang, tschatzl
2023-06-03 03:45:21 +00:00
Dingli Zhang
61bb014a86 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V
Reviewed-by: luhenry, yzhu, fyang, fjiang
2023-06-03 02:27:18 +00:00
Alex Menkov
62c935d4fa 8308978: regression with a deadlock involving FollowReferences
Reviewed-by: sspitsyn, lmesnik
2023-06-02 22:02:04 +00:00
Joe Wang
aff9cea054 8303530: Redefine JAXP Configuration File
Reviewed-by: naoto, lancea, alanb, smarks
2023-06-02 20:09:44 +00:00
Chris Plummer
1bb037bdc6 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit
Reviewed-by: sspitsyn, lmesnik, amenkov
2023-06-02 19:09:56 +00:00
Mandy Chung
a23bbea959 8309241: ClassForNameLeak fails intermittently as the class loader hasn't been unloaded
Reviewed-by: dnsimon, bchristi
2023-06-02 18:12:19 +00:00
Daniel Fuchs
931913fbb2 8309200: java/net/httpclient/ExecutorShutdown fails intermittently, if connection closed during upgrade
Reviewed-by: jpai, djelinski
2023-06-02 14:34:54 +00:00
Andrew Haley
dc21e8aa83 8296411: AArch64: Accelerated Poly1305 intrinsics
Reviewed-by: redestad, adinn
2023-06-02 14:28:44 +00:00
Poonam Bajaj
59d9d9fcb9 8303215: Make thread stacks not use huge pages
Reviewed-by: stuefe, dholmes
2023-06-02 13:32:22 +00:00
Albert Mingkun Yang
cb1e5e3f0f 8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen
Reviewed-by: tschatzl
2023-06-02 12:47:17 +00:00
Stefan Karlsson
e8268d9163 8309210: Extend VM Operations hs_err logging
Reviewed-by: dholmes, stuefe, eosterlund, sjohanss
2023-06-02 12:06:31 +00:00
Christian Hagedorn
7dbdad50a6 8308892: Bad graph detected in build_loop_late after JDK-8305635
Reviewed-by: rcastanedalo, roland, thartmann
2023-06-02 12:00:11 +00:00
Severin Gehwolf
dc8bc6c98c 8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
2023-06-02 08:58:20 +00:00
Jan Kratochvil
73e7af9e28 8309287: Add fontconfig requirement to building.md for Debian
Reviewed-by: erikj
2023-06-02 08:41:28 +00:00
Sibabrata Sahoo
aeb53e67f9 8308711: Develop additional Tests for KEM implementation
Reviewed-by: weijun
2023-06-02 08:13:12 +00:00
JoKern65
dcd9590fed 8309224: Fix xlc17 clang 15 warnings in java.desktop
Reviewed-by: prr, goetz
2023-06-02 07:34:24 +00:00
Erik Österlund
8f1ce78907 8308752: Generational ZGC: Avoid final marking through stack chunks
Reviewed-by: stefank, aboldtch
2023-06-02 06:54:20 +00:00
Axel Boldt-Christmas
7b0a33600e 8308387: CLD created and unloading list sharing _next node pointer leads to concurrent YC missing CLD roots
Reviewed-by: stefank, coleenp, dholmes, eosterlund
2023-06-02 06:35:24 +00:00
Roberto Castañeda Lozano
60f3b87d96 8309295: C2: MaxNode::signed_min() returns nullptr for int operands
Reviewed-by: thartmann
2023-06-02 06:34:15 +00:00
Aggelos Biboudis
8007599756 8309093: Underscore with brackets
Reviewed-by: jlahoda
2023-06-02 06:14:57 +00:00
Alan Bateman
5bd2af26e6 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents
Reviewed-by: sspitsyn, cjplummer
2023-06-02 05:57:01 +00:00
Tejesh R
325940b091 8307105: JFileChooser InvalidPathException when selecting some system folders on Windows
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-06-02 04:29:33 +00:00
Matias Saavedra Silva
101bf2290d 8308891: TestCDSVMCrash.java needs @requires vm.cds
Reviewed-by: dcubed
2023-06-01 20:37:21 +00:00
Doug Simon
2bb1972483 8308954: [JVMCI] code installation increments decompile_count for call_site_target_value failures
Reviewed-by: never
2023-06-01 19:24:07 +00:00
Martin Doerr
0ab09630c6 8308469: [PPC64] Implement alternative fast-locking scheme
Reviewed-by: rrich, lucy
2023-06-01 17:24:50 +00:00
Zdenek Zambersky
ec55539534 8309138: Fix container tests for jdks with symlinked conf dir
Reviewed-by: sgehwolf
2023-06-01 16:25:53 +00:00
Chris Plummer
e8271649e0 8309146: extend JDI StackFrame.setValue() and JDWP StackFrame.setValues minimal support for virtual threads
Reviewed-by: sspitsyn, alanb
2023-06-01 15:33:20 +00:00
Chen Liang
be36096a19 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe
Reviewed-by: stsypanov, redestad
2023-06-01 15:31:51 +00:00
Chris Plummer
c6f20db945 8308232: nsk/jdb tests don't pass -verbose flag to the debuggee
Reviewed-by: sspitsyn, lmesnik
2023-06-01 15:28:58 +00:00
Mark Powers
d987176412 8307794: Test for HSS/LMS Signature Verification
Reviewed-by: mullan
2023-06-01 14:09:36 +00:00
Ferenc Rakoczi
050425b141 8298127: HSS/LMS Signature Verification
Reviewed-by: weijun, mullan
2023-06-01 12:31:07 +00:00
Adam Sotona
a6109bf1ea 8308856: jdk.internal.classfile.impl.EntryMap::nextPowerOfTwo math problem
Reviewed-by: jlahoda
2023-06-01 11:50:20 +00:00
Jan Lahoda
6adc242cf3 8308943: jdk.internal.le build fails on AIX
Reviewed-by: asotona
2023-06-01 11:14:12 +00:00
Volker Simonis
39f6d807db 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: stuefe, rriggs
2023-06-01 10:56:31 +00:00
Aleksey Shipilev
4460429d7a 8308803: Improve java/util/UUID/UUIDTest.java
Reviewed-by: jpai, rriggs
2023-06-01 08:55:56 +00:00
Christian Hagedorn
dfd3da3f52 8307683: Loop Predication should not hoist range checks with trap on success projection by negating their condition
Reviewed-by: thartmann, roland
2023-06-01 08:04:45 +00:00
Thomas Schatzl
96ed1392d1 8308766: TLAB initialization may cause div by zero
Reviewed-by: shade, ayang
2023-06-01 06:57:45 +00:00
Yanhong Zhu
6c7225f819 8303417: RISC-V: Merge vector instructs with similar match rules
Reviewed-by: fyang, rehn, dzhang
2023-06-01 02:44:08 +00:00
Hao Sun
a46b5acc15 8308503: AArch64: SIGILL when running with -XX:UseBranchProtection=pac-ret on hardware without PAC feature
Reviewed-by: aph, ngasson, dlong
2023-05-31 23:49:13 +00:00
Sandhya Viswanathan
f9ad7df4da 8300865: C2: product reduction in ProdRed_Double is not vectorized
Reviewed-by: fgao, epeter, kvn
2023-05-31 22:39:54 +00:00
Justin King
8eda97dc8d 8305320: DbgStrings and AsmRemarks are leaking
Reviewed-by: coleenp, fparain
2023-05-31 21:41:46 +00:00
Jonathan Gibbons
09514745fc 8309150: Need to escape " inside attribute values
Reviewed-by: prappo
2023-05-31 21:20:05 +00:00
David Holmes
0119969816 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341
Reviewed-by: dcubed, gziemski
2023-05-31 21:13:30 +00:00
Dean Long
f8a924a749 8308975: Fix signed integer overflow in compiler code, part 2
Reviewed-by: aph, coleenp, kvn
2023-05-31 20:51:53 +00:00
Chris Plummer
5531f6ba1b 8308819: add JDWP and JDI virtual thread support for ThreadReference.ForceEarlyReturn
Reviewed-by: sspitsyn, alanb
2023-05-31 20:50:22 +00:00
Daniel D. Daugherty
e42a4b659a 8309236: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC and Generational ZGC again
Reviewed-by: bpb, azvegint
2023-05-31 20:41:11 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Roger Riggs
c3cd481a9a 8304914: Use OperatingSystem, Architecture, and Version in jpackage
Reviewed-by: asemenyuk
2023-05-31 19:32:21 +00:00
Chris Plummer
eae1f59da9 8309159: Some minor comment and code cleanup in jdk/com/sun/jdi/PopFramesTest.java
Reviewed-by: sspitsyn, lmesnik
2023-05-31 17:38:18 +00:00
Daniel D. Daugherty
45473ef235 8309230: ProblemList jdk/incubator/vector/Float64VectorTests.java on aarch64
8309231: ProblemList vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java

Reviewed-by: darcy
2023-05-31 16:50:09 +00:00
Chen Liang
78aa5f3fc1 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
2023-05-31 16:28:26 +00:00
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +00:00
Naoto Sato
1264902517 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
2023-05-31 15:56:40 +00:00
Matthias Baesken
70670b4af6 8308872: enhance logging and some exception in krb5/Config.java
Reviewed-by: weijun
2023-05-31 14:43:07 +00:00
Matias Saavedra Silva
024d9b131d 8308910: Allow executeAndLog to accept running process
Reviewed-by: ccheung, iklam
2023-05-31 13:50:04 +00:00
Emanuel Peter
25b9803056 8308917: C2 SuperWord::output: assert before bailout with CountedLoopReserveKit
Reviewed-by: kvn, thartmann
2023-05-31 13:17:45 +00:00
Yadong Wang
d66b6d8fd2 8308765: RISC-V: Expand size of stub routines for zgc only
Reviewed-by: fjiang, fyang
2023-05-31 13:13:20 +00:00
Daniel Fuchs
4aea7dab15 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently
Reviewed-by: jpai
2023-05-31 10:49:20 +00:00
Albert Mingkun Yang
a990322429 8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable
Reviewed-by: dholmes
2023-05-31 10:19:58 +00:00
Aggelos Biboudis
4f3a95af2f 8309054: Parsing of erroneous patterns succeeds
Reviewed-by: jlahoda
2023-05-31 09:37:58 +00:00
Johan Sjölen
4f16161607 8309044: Replace NULL with nullptr, final sweep of hotspot code
Reviewed-by: stefank, dholmes, kvn, amitkumar
2023-05-31 09:19:47 +00:00
Leo Korinth
88236263dc 8309048: Remove malloc locker test case
Reviewed-by: dholmes, tschatzl, coleenp, lmesnik
2023-05-31 08:53:47 +00:00
Kim Barrett
927a9ed683 8240774: [REDO] G1DirtyCardQueue destructor has useless flush
Reviewed-by: dholmes, ayang, tschatzl
2023-05-31 01:52:05 +00:00
Dingli Zhang
119994f3ce 8308997: RISC-V: Sign extend when comparing 32-bit value with zero instead of testing the sign bit
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-31 01:31:50 +00:00
Leonid Mesnik
327733c93d 8308986: Disable svc tests failing with virtual thread factory
Reviewed-by: dholmes, dcubed, sspitsyn
2023-05-31 00:11:05 +00:00
David Holmes
1e6770fb97 8308341: JNI_GetCreatedJavaVMs returns a partially initialized JVM
Reviewed-by: jsjolen, gziemski
2023-05-30 22:46:06 +00:00
Joe Darcy
cb40db052c 8309134: Augment test/langtools/tools/javac/versions/Versions.java for JDK 21 language changes
Reviewed-by: jjg
2023-05-30 21:58:50 +00:00
Mandy Chung
de7fd1c306 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
2023-05-30 21:01:12 +00:00
Valerie Peng
7891de331a 8297885: misc sun/security/pkcs11 tests timed out
Reviewed-by: xuelei
2023-05-30 17:50:53 +00:00
Roger Riggs
323d6ceda6 8308960: Decouple internal Version and OperatingSystem classes
Reviewed-by: mchung
2023-05-30 17:07:02 +00:00
Joe Darcy
1b8e6bf31c 8308987: Update java.lang.Class to use javadoc snippets
Reviewed-by: alanb
2023-05-30 16:47:02 +00:00
Daniel Fuchs
04b0e785f6 8307648: java/net/httpclient/ExpectContinueTest.java timed out
Reviewed-by: djelinski
2023-05-30 16:32:11 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Brian Burkhalter
21af8bae38 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
2023-05-30 16:16:45 +00:00
Jorn Vernee
804f198c73 8308992: New test TestHFA fails with zero
Reviewed-by: mcimadamore
2023-05-30 15:28:40 +00:00
Jasmine Karthikeyan
fb0b1f0c23 8051725: Improve expansion of Conv2B nodes in the middle-end
Reviewed-by: thartmann, qamai, sviswanathan
2023-05-30 14:11:12 +00:00
Paul Hohensee
3eced01f9e 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: dholmes, mchung
2023-05-30 13:44:02 +00:00
Jie Fu
15e028530a 8309110: Build failure after JDK-8307795 due to warnings in micro-benchmark StoreMaskTrueCount.java
Reviewed-by: thartmann
2023-05-30 13:43:14 +00:00
Antonios Printezis
4526282266 8308977: gtest:codestrings fails on riscv
Reviewed-by: fyang
2023-05-30 13:08:15 +00:00
changpeng1997
f600d0369a 8307795: AArch64: Optimize VectorMask.truecount() on Neon
Reviewed-by: aph, eliu
2023-05-30 12:45:33 +00:00
Renjith
07f2070411 8309095: Remove UTF-8 character from TaskbarPositionTest.java
Reviewed-by: aivanov
2023-05-30 12:11:34 +00:00
Maurizio Cimadamore
2b186e246e 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Reviewed-by: jvernee
2023-05-30 10:24:10 +00:00
Erik Österlund
78aac241b8 8308881: Strong CLD oop handle roots are demoted to non-roots concurrently
Reviewed-by: stefank, coleenp
2023-05-30 07:29:46 +00:00
Emanuel Peter
1f1f604071 8302670: use-after-free related to PhaseIterGVN interaction with Unique_Node_List and Node_Stack
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: thartmann, chagedorn, jcking
2023-05-30 07:14:50 +00:00
Tobias Hartmann
d35a550f6d 8309077: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: chagedorn
2023-05-30 05:36:46 +00:00
Gui Cao
457e1cb827 8308817: RISC-V: Support VectorTest node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-30 00:39:53 +00:00
Ioi Lam
7508d9f9e0 8308906: Make CIPrintCompilerName a diagnostic flag
Reviewed-by: kvn, stuefe
2023-05-29 20:25:57 +00:00
Prasanta Sadhukhan
a4bae3a9e2 8309060: Compilation Error in javax/swing/event/FocusEventCauseTest.java
Reviewed-by: abhiscxk, aivanov
2023-05-29 18:25:19 +00:00
Renjith
d73fc70ea2 8289547: Update javax/swing/Popup/TaskbarPositionTest.java
Reviewed-by: aivanov, dmarkov, honkar
2023-05-29 12:52:15 +00:00
Markus Grönlund
7cf6eecdc8 8307488: Incorrect weight of the first ObjectAllocationSample JFR event
Reviewed-by: egahlin
2023-05-29 10:53:08 +00:00
Doug Simon
a5d8d59469 8308930: [JVMCI] TestUncaughtErrorInCompileMethod times out
Reviewed-by: never
2023-05-29 10:04:31 +00:00
Prasanta Sadhukhan
70130d3b16 8306119: Many components respond to a mouse event by requesting focus without supplying the MOUSE_EVENT cause
Reviewed-by: jdv
2023-05-29 08:40:13 +00:00
Albert Mingkun Yang
6360b49931 8308948: Remove unimplemented ThreadLocalAllocBuffer::reset
Reviewed-by: tschatzl
2023-05-29 08:06:41 +00:00
Dingli Zhang
e21f865d84 8308915: RISC-V: Improve temporary vector register usage avoiding the use of v0
Reviewed-by: yzhu, fyang
2023-05-29 01:03:01 +00:00
Christian Stein
547a8b40b3 8306560: Add TOOLING.jsh load file
Reviewed-by: jlahoda
2023-05-28 08:14:37 +00:00
Gerard Ziemski
ca54f4e007 8306428: RunThese30M.java crashed with assert(early->flag() == current->flag() || early->flag() == mtNone)
Reviewed-by: jsjolen, stuefe
2023-05-27 18:28:49 +00:00
Erik Gahlin
5fdb22f911 8308876: JFR: Deserialization of EventTypeInfo uses incorrect attribute names
Reviewed-by: mgronlun
2023-05-27 06:18:26 +00:00
Serguei Spitsyn
bd113ee048 8308814: extend SetLocalXXX minimal support for virtual threads
Reviewed-by: cjplummer
2023-05-27 02:43:50 +00:00
Hannes Wallnöfer
a92363461d 8286470: Support searching for sections in class/package javadoc
Reviewed-by: jjg
2023-05-26 18:36:45 +00:00
Calvin Cheung
55d297fdda 8308594: Use atomic bitset function for PackageEntry::_defined_by_cds_in_class_path
Reviewed-by: coleenp, lfoltan
2023-05-26 18:04:01 +00:00
Xue-Lei Andrew Fan
c72b547425 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
2023-05-26 16:47:39 +00:00
Erik Gahlin
77c5adb09e 8308935: jdk.management.jfr.RecordingInfo.toString() lacks test coverage
Reviewed-by: mgronlun
2023-05-26 16:00:12 +00:00
Ashutosh Mehra
ce5251aff7 8308657: ReplayInline is not availabe in production build
Reviewed-by: kvn, roland, thartmann
2023-05-26 14:48:14 +00:00
Stefan Karlsson
cc0976bf7f 8308589: gc/cslocker/TestCSLocker.java timed out
Reviewed-by: eosterlund
2023-05-26 13:51:31 +00:00
Kevin Walls
17ef8a44a9 8299665: /proc/self/stat parsing in libmanagement broken by execname with spaces
Reviewed-by: sspitsyn, amenkov
2023-05-26 10:51:39 +00:00
Tejesh R
c494770ca0 8306812: Open source several AWT Miscellaneous tests
Reviewed-by: psadhukhan
2023-05-26 10:50:49 +00:00
Erik Österlund
d3b9b364da 8308009: Generational ZGC: OOM before clearing all SoftReferences
Reviewed-by: stefank, aboldtch
2023-05-26 10:12:50 +00:00
Roland Westrelin
bac02b6e9d 8305189: C2 failed "assert(_outcnt==1) failed: not unique"
Reviewed-by: chagedorn, thartmann
2023-05-26 09:04:31 +00:00
Johan Sjölen
62537d200f 8299974: Replace NULL with nullptr in share/adlc/
Reviewed-by: dlong, kvn
2023-05-26 08:44:01 +00:00
Doug Simon
f09345b3a4 8308931: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: thartmann
2023-05-26 08:14:26 +00:00
Stefan Karlsson
7c072dbd9d 8308844: ProblemList gc/z/TestHighUsage.java with Generational ZGC on windows x64
Reviewed-by: aboldtch, tschatzl
2023-05-26 07:52:53 +00:00
Tejesh R
4becb7bcb6 8306137: Open source several AWT ScrollPane related tests
Reviewed-by: aivanov
2023-05-26 07:50:10 +00:00
Roland Westrelin
199b1bf500 8308583: SIGSEGV in GraphKit::gen_checkcast
Reviewed-by: thartmann, kvn, never
2023-05-26 07:03:35 +00:00
Justin Lu
46c4da7fdd 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
2023-05-25 21:54:58 +00:00
Daniel D. Daugherty
ee321c70e5 8308907: ProblemList java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java on linux-x64
8308908: ProblemList javax/sound/sampled/Clip/ClipIsRunningAfterStop.java on linux-x64
8308909: ProblemList sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java on linux-x64

Reviewed-by: mikael
2023-05-25 21:35:50 +00:00
Calvin Cheung
dc7683a051 8308073: ClassLoaderExt::append_boot_classpath should handle dynamic archive
Reviewed-by: iklam, matsaave
2023-05-25 21:26:54 +00:00
Erik Gahlin
4870234552 8304375: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Expected at least some events to be out of order! Reuse = false"
Reviewed-by: mgronlun
2023-05-25 21:01:37 +00:00
Ashutosh Mehra
7d2a7ce240 8308672: Add version number in the replay file generated by DumpInline
Reviewed-by: kvn
2023-05-25 18:31:56 +00:00
Naoto Sato
27ba8bd4ed 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
2023-05-25 17:20:02 +00:00
Doug Simon
89b3c375ac 8307125: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hits assert(!Continuation::is_frame_in_continuation(thread(), fr())) failed: No support for deferred values in continuations
Reviewed-by: never
2023-05-25 16:26:26 +00:00
Erik Gahlin
98acce13d5 8306703: JFR: Summary views
Reviewed-by: mgronlun
2023-05-25 15:39:45 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Tyler Steele
48d21bd089 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
2023-05-25 14:59:11 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Erik Gahlin
90e57fd5a9 8308335: JFR: Remove @Experimental from Virtual Threads events
Reviewed-by: alanb, mgronlun
2023-05-25 12:19:38 +00:00
Albert Mingkun Yang
7e2e05d836 8308098: G1: Remove redundant checks in G1ObjectCountIsAliveClosure
Reviewed-by: tschatzl, iwalulya
2023-05-25 11:59:01 +00:00
Coleen Phillimore
2599ada152 8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
2023-05-25 11:52:40 +00:00
Roberto Castañeda Lozano
5a0a238f67 8308746: C2 IR test failures for TestFpMinMaxReductions.java with SSE2
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: chagedorn, thartmann
2023-05-25 11:07:10 +00:00
Pavel Rappo
38367d3c3a 8308735: Typos in parameter names
Reviewed-by: naoto, iris, bpb
2023-05-25 10:22:41 +00:00
Christian Hagedorn
4f096eb7c9 8305635: Replace Parse Predicate IfNode with new ParsePredicateNode and route predicate queries through dedicated classes
Reviewed-by: thartmann, kvn
2023-05-25 09:40:19 +00:00
Sergey Bylokhov
f27bc59f85 8307132: Cleanup the code of sun.java2d.cmm.lcms package
Reviewed-by: prr
2023-05-25 09:36:12 +00:00
Jaikiran Pai
426ebf4fe9 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible
Reviewed-by: lmesnik
2023-05-25 09:23:48 +00:00
Axel Boldt-Christmas
8d8153e98a 8307958: Metaspace verification is slow causing extreme class unloading times
Reviewed-by: stuefe, coleenp
2023-05-25 09:03:30 +00:00
Christian Stein
d87713440a 8144891: ToolBox should use java.nio.file.Path internally, instead of java.io.File
Reviewed-by: jjg
2023-05-25 08:56:42 +00:00
Leo Korinth
aaa61899c9 8308506: Reduce testing time by removing combinations tested
Reviewed-by: tschatzl, lmesnik
2023-05-25 08:56:07 +00:00
Aggelos Biboudis
4500bb7a67 8308727: Compiler should accept final unnamed variables in try-with-resources
Reviewed-by: jlahoda
2023-05-25 08:10:02 +00:00
Hannes Wallnöfer
3272e2597a 8305710: Line breaks in search tags cause invalid JSON in index file
Reviewed-by: jjg
2023-05-25 07:40:44 +00:00
Hannes Wallnöfer
3f4abff59c 8305958: Use links instead of buttons for auto-generated header links
Reviewed-by: jjg
2023-05-25 07:30:03 +00:00
Adam Sotona
bfcae68ed1 8308549: Classfile API should fail to generate over-sized Code attribute
Reviewed-by: mchung
2023-05-25 07:13:33 +00:00
Vladimir Kempik
2a18e537d6 8308656: RISC-V: vstring_compare doesnt manifest usage of all vector registers
Reviewed-by: yzhu, fyang
2023-05-25 05:08:39 +00:00
Guoxiong Li
a291f002cd 8288619: Unexpected parsing for @see
Reviewed-by: jjg
2023-05-25 03:25:50 +00:00
Serguei Spitsyn
89b99143ac 8308400: add ForceEarlyReturn support for virtual threads
Reviewed-by: alanb, lmesnik
2023-05-25 02:29:22 +00:00
Chen Liang
1451ac1770 8307652: sealed class hierarchy graph doesn't distinguish non-sealed classes
Reviewed-by: pminborg, jjg
2023-05-24 21:03:47 +00:00
Alex Menkov
207fbcb083 8299414: JVMTI FollowReferences should support references from VirtualThread stack
Reviewed-by: sspitsyn, kevinw
2023-05-24 20:26:10 +00:00
Jim Laskey
b44fa365ca 8308040: Evaluate new public types in non-public classes
Reviewed-by: rriggs, darcy
2023-05-24 19:08:39 +00:00
Tom Rodriguez
ac89e3045b 8308291: compiler/jvmci/meta/ProfilingInfoTest.java fails with -XX:TieredStopAtLevel=1
Reviewed-by: kvn, chagedorn
2023-05-24 18:39:30 +00:00
Coleen Phillimore
bacf652311 8297887: Update Siphash
Reviewed-by: lfoltan
2023-05-24 18:07:03 +00:00
Chris Plummer
89f2d458a2 8308237: add JDWP and JDI virtual thread support for ThreadReference.PopFrames
8308481: JDI TestScaffold does not support passing app arguments to the debuggee
8305632: Test com/sun/jdi/PopAndInvokeTest.java fails with OpaqueFrameException

Reviewed-by: alanb, sspitsyn, lmesnik
2023-05-24 16:54:05 +00:00
Erik Gahlin
d10467e27b 8307738: JFR: EventStream.openRepository() drops events
Reviewed-by: mgronlun
2023-05-24 16:38:50 +00:00
Daniel Fuchs
736b90d54b 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
Reviewed-by: jpai
2023-05-24 14:23:24 +00:00
Martin Doerr
7764f46e9e 8308761: New test TestHFA needs adaptation for JDK-8308276
Reviewed-by: mcimadamore, mbaesken
2023-05-24 13:45:57 +00:00
Maxim Kartashev
d7245f70e7 8305578: X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions
Reviewed-by: avu, serb
2023-05-24 12:48:37 +00:00
Viktor Klang
544978cb76 8298066: java/util/concurrent/locks/Lock/OOMEInAQS.java timed out
Reviewed-by: alanb
2023-05-24 12:41:27 +00:00
Thomas Schatzl
65c8dbe693 8171221: Remove -XX:+CheckMemoryInitialization
Reviewed-by: ayang, shade
2023-05-24 12:02:04 +00:00
Xiaolin Zheng
2d4d850813 8308091: Remove unused iRegIHeapbase() matching operand
Reviewed-by: fyang, thartmann
2023-05-24 09:42:26 +00:00
Emanuel Peter
b7a84b0fd7 8308758: Problemlist compiler/c2/irTests/TestVectorConditionalMove.java
Reviewed-by: chagedorn
2023-05-24 09:38:45 +00:00
Martin Doerr
20f15352a3 8303040: linux PPC64le: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: jvernee, rrich
2023-05-24 08:38:34 +00:00
Tobias Holenstein
466ec300fc 8302736: Major performance regression in Math.log on aarch64
Reviewed-by: thartmann, dlong, aph
2023-05-24 07:29:25 +00:00
Doug Simon
05c095cf39 8308151: [JVMCI] capture JVMCI exceptions in hs-err
Reviewed-by: never
2023-05-24 07:15:12 +00:00
Emanuel Peter
beb75e651f 8306302: C2 Superword fix: use VectorMaskCmp and VectorBlend instead of CMoveVF/D
Reviewed-by: fgao, jbhateja
2023-05-24 07:00:27 +00:00
Jamil Nimeh
2836c34b64 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
2023-05-23 21:32:28 +00:00
Chen Liang
8ffa264cf0 8306698: Add overloads to MethodTypeDesc::of
Reviewed-by: mchung
2023-05-23 21:26:25 +00:00
Valerie Peng
6b27dad76e 8301154: SunPKCS11 KeyStore deleteEntry results in dangling PrivateKey entries
Reviewed-by: weijun, hchao
2023-05-23 21:11:38 +00:00
Daniel D. Daugherty
ed0e956fc2 8308716: ProblemList java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java with genzgc on windows-x64
8308718: ProblemList three mlvm/indy/func/jvmti tests on windows-x64 in Xcomp mode
8308720: ProblemList java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java on macosx-x64

Reviewed-by: azvegint, darcy
2023-05-23 20:43:20 +00:00
Afshin Zafari
bddf48380e 8303942: os::write should write completely
Reviewed-by: coleenp, iklam, dholmes, mgronlun
2023-05-23 17:08:08 +00:00
Quan Anh Mai
ab241b3428 8306706: Support out-of-line code generation for MachNodes
Reviewed-by: thartmann, kvn
2023-05-23 17:06:25 +00:00
Brian Burkhalter
710453c676 8308016: Use snippets in java.io package
Reviewed-by: rriggs
2023-05-23 16:00:40 +00:00
Axel Boldt-Christmas
e9320f31dc 8308116: jdk.test.lib.compiler.InMemoryJavaCompiler.compile does not close files
Reviewed-by: lmesnik, stefank, jlahoda
2023-05-23 15:33:08 +00:00
changpeng1997
97d3b2731e 8307523: [vectorapi] Optimize MaskFromLongBenchmark.java
Reviewed-by: qamai, xgong, ngasson
2023-05-23 14:46:55 +00:00
Jamil Nimeh
bb0ff48aa9 8305091: Change ChaCha20 cipher init behavior to match AES-GCM
Reviewed-by: djelinski, ascarpino
2023-05-23 14:31:08 +00:00
Jan Kratochvil
c0c4d77192 8308544: Fix compilation regression from JDK-8306983 on musl libc
Reviewed-by: bpb, stuefe
2023-05-23 13:50:58 +00:00
Daniel Fuchs
9e196b3631 8308565: HttpClient: Sanitize logging while stopping
Reviewed-by: jpai
2023-05-23 12:07:23 +00:00
Daniel Fuchs
582ddeb2b2 8308545: java/net/httpclient/ShutdownNow.java fails with "stream 1 cancelled"
Reviewed-by: jpai
2023-05-23 12:02:58 +00:00
Jan Lahoda
1cfb265bef 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method
Reviewed-by: vromero, godin
2023-05-23 11:47:00 +00:00
Per Minborg
eb11508eff 8308281: Java snippets in the FFM API need to be updated
Reviewed-by: mcimadamore
2023-05-23 11:29:05 +00:00
Emanuel Peter
26227a6ff8 8305073: Fix VerifyLoopOptimizations - step 2 - verify idom
Reviewed-by: chagedorn, thartmann, kvn
2023-05-23 11:25:01 +00:00
Aggelos Biboudis
80d7de7074 8305582: Compiler crash when compiling record patterns with var
Reviewed-by: vromero, jlahoda
2023-05-23 11:18:55 +00:00
Axel Boldt-Christmas
e55961331e 8308500: ZStatSubPhase::register_start should not call register_gc_phase_start if ZAbort::should_abort()
Reviewed-by: stefank, eosterlund
2023-05-23 10:45:01 +00:00
Emanuel Peter
bdd240283e 8260943: C2 SuperWord: Remove dead vectorization optimization added by 8076284
Reviewed-by: kvn, thartmann
2023-05-23 09:51:19 +00:00
Amit Kumar
4f0f776187 8308403: [s390x] separate remaining_cargs from z_abi_160
Reviewed-by: mdoerr, lucy
2023-05-23 08:32:27 +00:00
Emanuel Peter
06b0a5e038 8302652: [SuperWord] Reduction should happen after loop, when possible
Reviewed-by: kvn, pli, jbhateja, sviswanathan
2023-05-23 08:05:13 +00:00
Matthias Baesken
69f508a2ac 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
2023-05-23 07:43:14 +00:00
Adam Sotona
c4408278d1 8308093: Disable language preview features use in JDK
Reviewed-by: liach, erikj, alanb, darcy
2023-05-23 07:23:37 +00:00
Doug Simon
422128b70a 8306992: [JVMCI] mitigate more against JVMCI related OOME causing VM to exit
Reviewed-by: never
2023-05-23 07:20:00 +00:00
Alan Bateman
fe8c689eee 8308038: java/util/concurrent/ThreadPerTaskExecutor/ThreadPerTaskExecutorTest.java timed out
Reviewed-by: dfuchs, jpai
2023-05-23 07:05:44 +00:00
Alan Bateman
ada416e66c 8308235: ThreadContainer registry accumulates weak refs
Reviewed-by: jpai
2023-05-23 07:05:07 +00:00
Ichiroh Takiguchi
5d8ba938be 8308046: Move Solaris related charsets from java.base to jdk.charsets module
Reviewed-by: naoto
2023-05-23 00:41:59 +00:00
Thomas Stuefe
878162b362 8306507: [linux] Print number of memory mappings in error reports
Reviewed-by: adinn, sgehwolf
2023-05-22 19:59:02 +00:00
Johan Sjölen
90d5041b6a 8300086: Replace NULL with nullptr in share/c1/
Reviewed-by: thartmann, chagedorn
2023-05-22 19:41:59 +00:00
Yi-Fan Tsai
8474e693b4 8308465: Reduce memory accesses in AArch64 MD5 intrinsic
Reviewed-by: aph, phh
2023-05-22 16:53:23 +00:00
quadhier
f99ad11dd1 8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
2023-05-22 16:51:20 +00:00
Joe Darcy
d77a41033a 8308388: Update description of SourceVersion.RELEASE_21
Reviewed-by: iris
2023-05-22 16:30:37 +00:00
Matias Saavedra Silva
3f4cfbdd36 8307190: Refactor ref_at methods in Constant Pool
Reviewed-by: coleenp, iklam
2023-05-22 16:27:17 +00:00
Jiangli Zhou
491bdeaa90 8308458: Windows build failure with disassembler.cpp(792): warning C4267: '=': conversion from 'size_t' to 'int'
Reviewed-by: jiefu
2023-05-22 16:24:45 +00:00
Calvin Cheung
b58980b73d 8308034: Some CDS tests need to use @requires vm.flagless
Reviewed-by: iklam
2023-05-22 15:53:04 +00:00
George Adams
29b8d3d9e7 8307573: Implementation of JEP 449: Deprecate the Windows 32-bit x86 Port for Removal
Reviewed-by: erikj
2023-05-22 15:44:52 +00:00
Maurizio Cimadamore
5fc9b5787d 8308276: Change layout API to work with bytes, not bits
Reviewed-by: psandoz, pminborg
2023-05-22 14:57:00 +00:00
Maurizio Cimadamore
91aeb5de58 8287834: Add SymbolLookup::or method
Reviewed-by: psandoz
2023-05-22 14:51:09 +00:00
Thomas Obermeier
4f88437b7f 8307908: [ppc] Add failing RTM tests to ProblemList until 8307907 is fixed.
Reviewed-by: clanger, goetz
2023-05-22 12:37:43 +00:00
Andrew Leonard
dc30e68651 8308407: libjvm library not reproducibly comparable between vendors
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: andrew, dholmes
2023-05-22 12:23:45 +00:00
Matthew Donovan
18e2446420 8301381: Verify DTLS 1.0 cannot be negotiated
Reviewed-by: xuelei
2023-05-22 12:03:13 +00:00
Prasanta Sadhukhan
b3cb82b859 8307311: Timeouts on one macOS 12.6.1 host of two Swing JTableHeader tests
Reviewed-by: dnguyen, azvegint
2023-05-22 11:42:11 +00:00
Alexander Zvegintsev
3d550f7485 8280993: [XWayland] Popup is not closed on click outside of area controlled by XWayland
Reviewed-by: prr
2023-05-22 11:37:12 +00:00
Darragh Clarke
05e99db466 7065228: To interpret case-insensitive string locale independently
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
2023-05-22 10:53:59 +00:00
Jan Lahoda
a9705196ce 8306983: Do not invoke external programs when switch terminal to raw mode on selected platforms
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: erikj, vromero, bpb
2023-05-22 10:39:26 +00:00
Andrey Turbanov
6b65e5754c 8305785: Avoid redundant HashMap.containsKey call in java.util.regex
Reviewed-by: stsypanov, jpai
2023-05-22 10:27:13 +00:00
Erik Österlund
8011ba74a2 8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
2023-05-22 10:20:45 +00:00
Aggelos Biboudis
8aa50288a1 8302344: Compiler Implementation for Unnamed patterns and variables (Preview)
8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
2023-05-22 08:52:36 +00:00
Leo Korinth
b588797900 8307804: Reorganize ArrayJuggle test cases
Reviewed-by: dholmes, lmesnik
2023-05-22 08:17:53 +00:00
Serguei Spitsyn
928fcf9751 8308000: add PopFrame support for virtual threads
Reviewed-by: lmesnik, alanb
2023-05-22 07:34:35 +00:00
Emanuel Peter
41beb448d2 8308084: C2 fix idom bug in PhaseIdealLoop::create_new_if_for_predicate
Reviewed-by: chagedorn, thartmann, kvn
2023-05-22 06:26:55 +00:00
Emanuel Peter
b6a9f5c304 8307619: C2 failed: Not monotonic (AndI CastII LShiftI) in TestShiftCastAndNotification.java
Reviewed-by: chagedorn, thartmann
2023-05-22 06:23:19 +00:00
Jan Lahoda
eaa80ad08c 8300543: Compiler Implementation for Pattern Matching for switch
8300545: Compiler Implementation for Record Patterns

Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, mcimadamore
2023-05-22 04:24:06 +00:00
Ioi Lam
5ccc962942 8308342: Remove MetaspaceClosure::Ref::keep_after_pushing()
Reviewed-by: ccheung
2023-05-21 05:32:36 +00:00
Daniel D. Daugherty
a0f4a948bb 8307783: runtime/reflect/ReflectOutOfMemoryError.java timed out
8308468: ProblemList containers/docker/TestMemoryAwareness.java on linux-x64
8308470: ProblemList javax/management/remote/mandatory/connection/BrokenConnectionTest.java on linux-all
8308471: ProblemList javax/management/remote/mandatory/loading/MissingClassTest.java on windows-x64 w/ loom
8308472: ProblemList javax/management/remote/mandatory/loading/RMIDownloadTest.java on windows-x64 w/ loom
8308473: ProblemList java/lang/instrument/NativeMethodPrefixAgent.java with loom

Reviewed-by: lmesnik
2023-05-20 16:40:05 +00:00
Kevin Walls
939344b843 8304685: Fix whitespace parsing in libjdwp
Reviewed-by: cjplummer, amenkov, sspitsyn
2023-05-19 18:57:55 +00:00
Leonid Mesnik
241455fcd1 8307962: Exclude gc/g1/TestSkipRebuildRemsetPhase.java fails with virtual test thread factory
Reviewed-by: sspitsyn
2023-05-19 18:42:23 +00:00
Justin Lu
34468e1c91 8308021: Update IANA Language Subtag Registry to Version 2023-05-11
Reviewed-by: lancea, naoto
2023-05-19 18:22:50 +00:00
Weijun Wang
f0aebc8141 8305972: Update XML Security for Java to 3.0.2
Reviewed-by: mullan
2023-05-19 17:46:41 +00:00
Coleen Phillimore
265f40b4f7 8308396: Fix offset_of conversion warnings in runtime code
Reviewed-by: amitkumar, jsjolen, fparain
2023-05-19 17:16:04 +00:00
Brian Burkhalter
a5343fa605 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
2023-05-19 15:37:37 +00:00
Maurizio Cimadamore
44218b1c9e 8308248: Revisit alignment of layout constants on 32-bit platforms
Reviewed-by: psandoz, pminborg
2023-05-19 14:28:14 +00:00
Adam Sotona
80ef5c228b 8308410: broken compilation of test\jdk\tools\launcher\exeJliLaunchTest.c
Reviewed-by: alanb
2023-05-19 13:11:41 +00:00
Kick-it11
326d778ccf 8306057: False arguments calling dispatch_base for aarch64
Reviewed-by: aph, fyang
2023-05-19 12:59:46 +00:00
Jie Fu
690d3969b8 8308408: Build failure with -Werror=maybe-uninitialized in libjli/java.c with GCC8
Reviewed-by: alanb
2023-05-19 11:13:37 +00:00
Adam Sotona
fa14314853 8303669: SelectVersion indexes past the end of the argv array
Reviewed-by: vromero
2023-05-19 08:09:37 +00:00
Raffaello Giulietti
25868b95ee 8132995: Matcher$ImmutableMatchResult should be optimized to reduce space usage
Reviewed-by: redestad, smarks
2023-05-19 08:04:32 +00:00
Aleksey Shipilev
6765761075 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey
Reviewed-by: xuelei
2023-05-19 06:53:50 +00:00
Dingli Zhang
97ade57fb2 8307609: RISC-V: Added support for Extract, Compress, Expand and other nodes for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-19 03:09:13 +00:00
Feilong Jiang
e520cdc882 8308277: RISC-V: Improve vectorization of Match.sqrt() on floats
Reviewed-by: fyang
2023-05-19 00:49:28 +00:00
Leonid Mesnik
42948c04b9 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks
Reviewed-by: sspitsyn, cjplummer
2023-05-18 23:57:10 +00:00
Chris Plummer
4a6d6d5a59 8308187: jdi/EventSet/resume/resume008 failed with "EventHandler> Unexpected event: ThreadStartEvent in thread resume008-thread0"
Reviewed-by: dcubed
2023-05-18 22:08:10 +00:00
Weijun Wang
148df533af 8308010: X509Key and PKCS8Key allows garbage bytes at the end
Reviewed-by: mullan
2023-05-18 21:23:29 +00:00
Ashutosh Mehra
d3feedf511 8308192: Error in parsing replay file when staticfield is an array of single dimension
Reviewed-by: thartmann, kvn
2023-05-18 19:50:05 +00:00
Alexander Zvegintsev
02dc95e6b9 8308370: Fix build failures related to the java.awt.Robot documentation
Reviewed-by: dcubed
2023-05-18 18:51:46 +00:00
Alexander Zvegintsev
21aa057faf 8307779: Relax the java.awt.Robot specification
Reviewed-by: mkartashev, prr
2023-05-18 18:14:05 +00:00
Joe Darcy
42ecc8a37f 8308245: Add -proc:full to describe current default annotation processing policy
Reviewed-by: vromero
2023-05-18 17:05:28 +00:00
Calvin Cheung
bb24c36759 8279993: Assert that a shared class is not loaded more than once
Reviewed-by: iklam, stuefe
2023-05-18 16:02:55 +00:00
Alisen Chung
1b154e4fd3 8307083: Open source some drag and drop tests 3
Reviewed-by: prr, serb
2023-05-18 15:45:12 +00:00
Jasmine Karthikeyan
cc5c9b5da2 8305787: Wrong debugging information printed with TraceOptoOutput
Reviewed-by: thartmann, kvn
2023-05-18 15:09:45 +00:00
Thomas Stuefe
808dc1b047 8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
2023-05-18 14:01:08 +00:00
Amit Kumar
a58e0ca9d2 8308347: [s390x] build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 13:51:34 +00:00
bobpengxie
bfc3ccd90d 8308283: Build failure with GCC12 & GCC13
Reviewed-by: erikj, jiefu
2023-05-18 12:26:45 +00:00
Jan Kratochvil
57b8ed1398 8308290: Add fontconfig requirement to building.md
Reviewed-by: erikj
2023-05-18 08:48:16 +00:00
Chen Liang
3c9ec26370 8306457: Classfile API components implementations should not be exposed
Reviewed-by: asotona
2023-05-18 06:54:01 +00:00
Adam Sotona
f4f5542f8d 8306842: Classfile API performance improvements
Reviewed-by: redestad
2023-05-18 06:02:47 +00:00
Thomas Stuefe
95da499ef2 8308285: Assert on -Xshare:dump when running with -Xlog:cds=trace
Reviewed-by: ccheung, iklam
2023-05-18 05:47:23 +00:00
Ioi Lam
6f75dd8741 8308236: Remove SystemDictionaryShared::clone_dumptime_tables()
Reviewed-by: vlivanov, ccheung
2023-05-18 04:10:49 +00:00
Boris Ulasevich
83c096d6e2 8308270: ARM32 build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 03:14:38 +00:00
Jiangli Zhou
902585bec1 8308110: Resolve multiple definition of 'JNI_OnLoad_jsound' linking error
Reviewed-by: alanb, rasbold
2023-05-17 21:04:34 +00:00
Eric Caspole
6073edf3cd 8307483: New micros for j.u.c.LockSupport
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: shade, redestad
2023-05-17 20:39:26 +00:00
Patricio Chilano Mateo
24094482f0 8307365: JvmtiStressModule hit SIGSEGV in JvmtiEventControllerPrivate::recompute_thread_enabled
Reviewed-by: sspitsyn, dcubed, lmesnik
2023-05-17 20:16:21 +00:00
Alisen Chung
950c5df859 8307299: Move more DnD tests to open
Reviewed-by: prr, serb
2023-05-17 18:57:59 +00:00
Leonid Mesnik
8bedf2efd7 8308292: Problemlist vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java
Reviewed-by: sspitsyn
2023-05-17 17:24:38 +00:00
Brian Burkhalter
6d4782bc73 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Joe Darcy
f57c78337e 8308239: Tighten up accessibility of nested classes in java.lang.invoke
Reviewed-by: alanb
2023-05-17 15:31:03 +00:00
Martin Doerr
64f6681cc7 8308246: PPC64le build broken after JDK-8304913
Reviewed-by: shade, mbaesken
2023-05-17 15:10:46 +00:00
Adam Sotona
5763be7267 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
2023-05-17 12:45:19 +00:00
JoKern65
c7951cf674 8306304: Fix xlc17 clang warnings in ppc and aix code
Reviewed-by: erikj, tsteele, mbaesken
2023-05-17 11:48:56 +00:00
Erik Österlund
285c833ffa 8308043: Deadlock in TestCSLocker.java due to blocking GC while allocating
Reviewed-by: stefank, ayang, tschatzl
2023-05-17 11:47:30 +00:00
Jaikiran Pai
1a6f9810cd 8308185: Update Http2TestServerConnection to use SSLSocket.startHandshake()
Reviewed-by: djelinski
2023-05-17 10:06:22 +00:00
Aleksey Shipilev
b300e73a4a 8308088: Improve class check in CollectedHeap::is_oop
Reviewed-by: zgu, tschatzl, ayang, stuefe
2023-05-17 09:19:08 +00:00
Axel Boldt-Christmas
e34ecc97e6 8296469: Instrument VMError::report with reentrant iteration step for register and stack printing
Reviewed-by: eosterlund, stuefe
2023-05-17 07:07:41 +00:00
Matthias Baesken
5a92aae1d9 8308156: VerifyCACerts.java misses blank in error output
Reviewed-by: mullan, rhalade
2023-05-17 06:42:19 +00:00
Guoxiong Li
2f1c65486b 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
Reviewed-by: cjplummer, kevinw
2023-05-17 03:07:56 +00:00
Ashutosh Mehra
d3e5065284 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive
Reviewed-by: coleenp, iklam
2023-05-16 22:36:44 +00:00
Leonid Mesnik
563152f32d 8308223: failure handler missed jcmd.vm.info command
Reviewed-by: stefank
2023-05-16 19:44:38 +00:00
Erik Helin
cb8b8cdd68 8307458: Add periodic heap usage JFR events
Reviewed-by: stefank, aboldtch
2023-05-16 18:53:58 +00:00
Naoto Sato
f9a785e855 8307547: Support variant collations
Reviewed-by: srl, jlu, alanb
2023-05-16 18:00:45 +00:00
Justin Lu
4e92991809 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
2023-05-16 17:10:21 +00:00
Chris Plummer
64d5157116 8306467: Fix nsk/jdb/kill/kill001 to work with new JVMTI StopThread support for virtual threads.
Reviewed-by: sspitsyn, amenkov
2023-05-16 17:02:12 +00:00
Coleen Phillimore
488330d53b 8307533: Use atomic bitset functions for metadata flags
Reviewed-by: ccheung, kbarrett
2023-05-16 16:46:09 +00:00
Stefan Karlsson
60ab1358da 8308097: Generational ZGC: Update constructor syntax
Reviewed-by: eosterlund, aboldtch
2023-05-16 16:13:58 +00:00
Stefan Karlsson
599fa774b8 8308092: Replace NULL with nullptr in gc/x
Reviewed-by: eosterlund, aboldtch, tschatzl, dholmes
2023-05-16 16:12:20 +00:00
Stefan Karlsson
682359cb48 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Reviewed-by: kbarrett, tschatzl
2023-05-16 16:04:18 +00:00
Johan Sjölen
9d5bab11f0 8300081: Replace NULL with nullptr in share/asm/
Reviewed-by: coleenp
2023-05-16 15:40:39 +00:00
Amit Kumar
41ee125a0f 8278411: Implement UseHeavyMonitors consistently, s390 port
Reviewed-by: mdoerr, stuefe, lucy
2023-05-16 15:25:19 +00:00
Stefan Karlsson
316bc79e0e 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
Reviewed-by: dcubed
2023-05-16 14:48:46 +00:00
Calvin Cheung
8686a36b40 8307315: Missing ResourceMark in CDS and JVMTI code
Reviewed-by: coleenp, iklam
2023-05-16 14:42:33 +00:00
Christoph Dreis
23cbb2d170 8306860: Avoid unnecessary allocation in List.map() when list is empty
Reviewed-by: vromero
2023-05-16 14:22:40 +00:00
Leonid Mesnik
be54b54fb3 8307369: Add execution of all svc tests in CI
Reviewed-by: cjplummer, sspitsyn
2023-05-16 13:39:04 +00:00
Christian Hagedorn
19c8c30d1c 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
Reviewed-by: epeter, thartmann, roland
2023-05-16 13:30:07 +00:00
Daniel Fuchs
72294c5402 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
Reviewed-by: djelinski, michaelm
2023-05-16 09:13:17 +00:00
Doug Simon
c9b6bb5bd7 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
Reviewed-by: thartmann
2023-05-16 08:50:22 +00:00
Kevin Walls
0790f704fd 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
Reviewed-by: dholmes, cjplummer
2023-05-16 08:28:53 +00:00
Serguei Spitsyn
c2ef302468 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
Reviewed-by: cjplummer, lmesnik
2023-05-16 07:20:01 +00:00
Jaikiran Pai
d22bcc813e 8307403: java/util/zip/DeInflate.java timed out
Reviewed-by: simonis, lancea
2023-05-16 05:06:46 +00:00
Jayathirth D V
2210e06788 8306638: Open source some AWT tests related to datatransfer and Toolkit
Reviewed-by: prr, serb, dnguyen
2023-05-16 04:09:08 +00:00
Ioi Lam
05b51c75b9 8307567: Avoid relocating global roots to metaspaceObjs in CDS dump
Reviewed-by: matsaave, ccheung
2023-05-16 01:40:07 +00:00
Justin Lu
316837226e 8306597: Improve string formatting in EquivMapsGenerator.java
Reviewed-by: naoto
2023-05-15 23:19:02 +00:00
Joe Darcy
7b0b9b570b 8308049: Refactor nested class declarations in FdLibm.java
Reviewed-by: smarks
2023-05-15 20:09:12 +00:00
Chris Plummer
cc80ada739 8306593: Fix nsk/jdi/stop/stop001 for virtual threads and remove from problem list
Reviewed-by: lmesnik, sspitsyn
2023-05-15 18:59:08 +00:00
Yi-Fan Tsai
43c8c650af 8307555: Reduce memory reads in x86 MD5 intrinsic
Reviewed-by: simonis, phh
2023-05-15 18:41:53 +00:00
Roger Riggs
01892f9c6e 8304913: Use OperatingSystem, Architecture, and Version in jlink
Reviewed-by: jpai, alanb, mchung
2023-05-15 18:03:24 +00:00
Roger Riggs
0f7b1c549f 8299340: CreateProcessW lpCommandLine must be mutable
Reviewed-by: naoto
2023-05-15 18:02:43 +00:00
Ioi Lam
57e7a3fbea 8307959: Remove explicit type casts from SerializeClosure::do_xxx() calls
Reviewed-by: matsaave, ccheung
2023-05-15 16:33:37 +00:00
Stefan Karlsson
97b2ca3de7 8307997: gtest:ZIndexDistributorTest fails on PPC64
Reviewed-by: mdoerr
2023-05-15 13:52:34 +00:00
Aleksey Shipilev
ffab1ea9e7 8308086: GHA: x86_32 host configuration failing with unmet dependencies
Reviewed-by: stuefe
2023-05-15 13:51:04 +00:00
Tobias Hartmann
ad348a8cec 8303512: Race condition when computing is_loaded property of TypePtr::InterfaceSet
Reviewed-by: roland, qamai, kvn
2023-05-15 11:06:20 +00:00
gaogao-mem
911cc7cb07 8305819: LogConfigurationTest intermittently fails on AArch64
Reviewed-by: aph, dholmes, xliu
2023-05-15 09:16:32 +00:00
Tobias Hartmann
8d49ba9e8d 8308072: [BACKOUT] update for deprecated sprintf for src/utils
Reviewed-by: iris
2023-05-15 05:42:23 +00:00
Julian Waters
0ee196bef1 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows
Reviewed-by: stuefe
2023-05-14 13:57:42 +00:00
Vladimir Kempik
3709344166 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fjiang, fyang
2023-05-14 06:56:03 +00:00
Kim Barrett
646747fd7c 8307926: Support byte-sized atomic bitset operations
Reviewed-by: aboldtch, coleenp
2023-05-13 23:03:06 +00:00
Daniel D. Daugherty
f030937a51 8305670: Performance regression in LockSupport.unpark with lots of idle threads
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: rehn, dholmes
2023-05-13 14:44:57 +00:00
Daniel D. Daugherty
ceca198ef2 8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
Reviewed-by: dholmes, rehn, apangin
2023-05-13 14:41:19 +00:00
Daniel D. Daugherty
5e26e64cbf 8307067: remove broken EnableThreadSMRExtraValidityChecks option
Reviewed-by: coleenp, dholmes, sspitsyn, rehn
2023-05-13 14:39:58 +00:00
Thomas Stuefe
e54051ae9e 8307935: Class space argument processing can be simplified
Reviewed-by: stefank, coleenp
2023-05-13 06:35:17 +00:00
Valerie Peng
46e3d24a6f 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
2023-05-12 23:00:00 +00:00
Alisen Chung
3bf3876185 8307297: Move some DnD tests to open
Reviewed-by: prr, serb
2023-05-12 21:23:25 +00:00
Chen Liang
d8afc7beeb 8300204: Sealed-class hierarchy graph missing nodes
Reviewed-by: jjg
2023-05-12 20:59:31 +00:00
Chris Plummer
38838b344a 8307480: Improve SA "transported core" documentation for windows
Reviewed-by: sspitsyn, kevinw, poonam
2023-05-12 20:36:38 +00:00
Jonathan Gibbons
9842ff4129 8306607: Apply 80-column output to javac supported version output
Reviewed-by: darcy
2023-05-12 20:29:06 +00:00
Chris Plummer
d809823fe4 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
Reviewed-by: sspitsyn, alanb
2023-05-12 20:05:21 +00:00
Justin Lu
4441a2306f 6714245: [Col] Collator - Faster Comparison for identical strings.
Reviewed-by: rriggs, naoto
2023-05-12 19:58:37 +00:00
Sergey Chernyshev
a284920b34 8168469: Memory leak in JceSecurity
Reviewed-by: valeriep
2023-05-12 19:24:45 +00:00
Jonathan Gibbons
7455bb23c1 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
Reviewed-by: jlaskey, darcy
2023-05-12 17:18:37 +00:00
Maurizio Cimadamore
6ebea8973f 8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
Reviewed-by: jvernee
2023-05-12 16:18:00 +00:00
Daniel Fuchs
3c68c352fc 8307535: java.util.logging.Handlers should be more VirtualThread friendly
Reviewed-by: jpai
2023-05-12 15:24:11 +00:00
Brian Burkhalter
9fa8b9a4a6 8307409: Refactor usage examples to use @snippet in the java.nio packages
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Thomas Schatzl
e512a20679 8306541: Refactor collection set candidate handling to prepare for JDK-8140326
Reviewed-by: iwalulya, ayang
2023-05-12 15:07:48 +00:00
Xue-Lei Andrew Fan
4b0f4213a5 8307855: update for deprecated sprintf for src/utils
Reviewed-by: thartmann
2023-05-12 14:52:28 +00:00
Afshin Zafari
39dc40fed4 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Reviewed-by: coleenp, thartmann
2023-05-12 14:25:46 +00:00
Albert Mingkun Yang
f7bbbc6590 8307808: G1: Remove partial object-count report after gc
Reviewed-by: tschatzl, iwalulya
2023-05-12 13:13:34 +00:00
Maurizio Cimadamore
13a3fce29e 8307961: java/foreign/enablenativeaccess/TestEnableNativeAccess.java fails with ShouldNotReachHere
Reviewed-by: jvernee
2023-05-12 10:38:27 +00:00
Kim Barrett
f09a0f5ca7 8307806: Rename Atomic::fetch_and_add and friends
Reviewed-by: stefank, dholmes
2023-05-12 09:50:52 +00:00
Yasumasa Suenaga
b6bcbc0cbc 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo
Reviewed-by: stuefe, sgehwolf, rcastanedalo, dholmes
2023-05-12 08:48:29 +00:00
Afshin Zafari
e1e758a7b4 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
Reviewed-by: coleenp, dholmes
2023-05-12 07:32:46 +00:00
Thomas Schatzl
1ce1611ead 8307518: Remove G1 workaround in jstat about zero sized generation sizes
Reviewed-by: kbarrett, ayang
2023-05-12 07:23:28 +00:00
Xiaolin Zheng
e32de7efd6 8306667: RISC-V: Fix storeImmN0 matching rule by using zr register
Reviewed-by: shade, gli, fyang
2023-05-12 07:10:53 +00:00
Matthias Baesken
f3bd031ccd 8307891: ProblemList gtest/NMTGtest.java subtests on aix
Reviewed-by: mdoerr, lucy
2023-05-12 07:06:45 +00:00
JoKern65
5f1f9460d7 8307520: set minimum supported CPU architecture to Power8 on AIX
Reviewed-by: mbaesken, erikj
2023-05-12 07:02:45 +00:00
Jie Fu
ccb4dd6144 8307969: [zgc] Missing includes in gc/z/zTracer.cpp
Reviewed-by: stefank
2023-05-12 06:31:09 +00:00
Abhishek Kumar
73491fa452 8306996: Open source Swing MenuItem related tests
Reviewed-by: dnguyen, honkar, psadhukhan
2023-05-12 02:52:43 +00:00
Ningsheng Jian
33d9a85730 8307572: AArch64: Vector registers are clobbered by some macroassemblers
Reviewed-by: aph, adinn
2023-05-12 02:05:18 +00:00
Daniel D. Daugherty
9a7b4431ec 8307966: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-x64
Reviewed-by: naoto, lmesnik
2023-05-12 00:51:49 +00:00
Chris Plummer
54c06d2d91 8307559: Add better checking in com/sun/jdi tests for debuggee exiting unexpectedly with an exception
Reviewed-by: kevinw, lmesnik
2023-05-11 23:16:22 +00:00
Jie Fu
ce5907727e 8307945: Build of Client VM is broken after JDK-8307058
Reviewed-by: kvn
2023-05-11 22:35:40 +00:00
Matias Saavedra Silva
a667213ec5 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java
Reviewed-by: ccheung, iklam
2023-05-11 19:37:16 +00:00
Joe Darcy
29b8242e07 8307954: Update string template regression tests to be robust on release updates
Reviewed-by: jlaskey
2023-05-11 18:22:10 +00:00
Guoxiong Li
4f355c3525 8307653: Adjust delay time and gc log argument in TestAbortOnVMOperationTimeout
Reviewed-by: dholmes, dcubed
2023-05-11 18:21:30 +00:00
Xue-Lei Andrew Fan
15358636cf 8307848: update for deprecated sprintf for jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-05-11 18:09:43 +00:00
Xue-Lei Andrew Fan
cbecf422df 8307850: update for deprecated sprintf for jdk.jdi
Reviewed-by: cjplummer
2023-05-11 18:07:54 +00:00
Dean Long
7fcb0fdcd4 8307139: Fix signed integer overflow in compiler code, part 1
Reviewed-by: thartmann, rcastanedalo, kvn
2023-05-11 18:06:43 +00:00
Robert Toyonaga
5d6cce0f85 8307298: JFR: Ensure jdk.jfr.internal.TypeLibrary is initialized only once
Reviewed-by: sgehwolf, egahlin
2023-05-11 18:05:58 +00:00
Serguei Spitsyn
51b8f3cfb9 8306034: add support of virtual threads to JVMTI StopThread
Reviewed-by: cjplummer
2023-05-11 17:48:39 +00:00
Chris Plummer
489658dbd2 8307885: com/sun/jdi/ConnectedVMs.java fails with "Invalid debuggee exitValue: 0"
Reviewed-by: kevinw, sspitsyn
2023-05-11 17:07:27 +00:00
Daniel Fuchs
9ad38cbeaf 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances
Reviewed-by: aefimov, jpai
2023-05-11 16:31:04 +00:00
Fredrik Bredberg
2bf7ac58b7 8297657: name demangling intermittently fails
Reviewed-by: stefank, coleenp
2023-05-11 14:02:54 +00:00
Stefan Karlsson
d20034b09c 8307058: Implementation of Generational ZGC
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Erik Helin <ehelin@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: eosterlund, aboldtch, rcastanedalo
2023-05-11 13:59:37 +00:00
Yudi Zheng
0cbfbc400a 8307813: [JVMCI] Export markWord::lock_mask_in_place to JVMCI compilers.
Reviewed-by: dnsimon, kvn, never
2023-05-11 10:38:28 +00:00
Maurizio Cimadamore
ba9714d44c 8307610: Linker::nativeLinker should not be restricted (mainline)
Reviewed-by: jvernee
2023-05-11 09:45:45 +00:00
Thomas Stuefe
ecc1d85dbe 8307869: Remove unnecessary log statements from arm32 fastlocking code
Reviewed-by: shade
2023-05-11 09:24:30 +00:00
JoKern65
08fa269886 8307349: Support xlc17 clang toolchain on AIX
Reviewed-by: erikj, mbaesken
2023-05-11 07:40:38 +00:00
Thomas Stuefe
8ac7186331 8305416: runtime/Thread/TestAlwaysPreTouchStacks.java failed with "Did not find expected NMT output"
Reviewed-by: dholmes, gziemski
2023-05-11 04:50:37 +00:00
Thomas Stuefe
984fbbbcab 8307810: Consistently use LockingMode instead of UseHeavyMonitors
Reviewed-by: dcubed, mdoerr, dholmes, amitkumar
2023-05-11 04:47:14 +00:00
Feilong Jiang
39f4e4d3c3 8307758: RISC-V: Improve bit test code introduced by JDK-8291555
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang
2023-05-11 01:32:29 +00:00
David Holmes
3cb606ef5b 8306965: osThread allocation failures should not abort the VM
Reviewed-by: lfoltan
2023-05-11 00:51:15 +00:00
Justin Lu
4795c395e9 8281103: Give example for Locale that is English and follows the ISO standards
Reviewed-by: rriggs, lancea, naoto
2023-05-10 23:57:48 +00:00
Jonathan Gibbons
958d4a7505 8307563: make most fields final in JavacTrees
Reviewed-by: vromero
2023-05-10 22:23:04 +00:00
Jonathan Gibbons
f250ab2c2a 8307377: Remove use of tagName from TagletWriterImpl.linkSeeReferenceOutput
Reviewed-by: hannesw
2023-05-10 22:05:58 +00:00
Ashutosh Mehra
cc9f7ad9ce 8307765: DynamicArchiveHeader contents are missing in CDS mapfile
Reviewed-by: iklam, ccheung
2023-05-10 21:51:36 +00:00
Daniel D. Daugherty
edc4adb77e 8307860: [BACKOUT] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj
2023-05-10 21:08:28 +00:00
Daniel D. Daugherty
df90df298e 8307857: validate-source fails after JDK-8306758
Reviewed-by: rriggs, cjplummer
2023-05-10 19:38:24 +00:00
Chris Plummer
268836482d 8306758: com/sun/jdi/ConnectedVMs.java fails with "Non-zero debuggee exitValue: 143"
Reviewed-by: amenkov, sspitsyn
2023-05-10 19:09:24 +00:00
Jiangli Zhou
1964954da9 8307194: Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj, sgehwolf
2023-05-10 17:26:02 +00:00
Kevin Walls
9af1787ebe 8307244: Remove redundant class RMIIIOPServerImpl
Reviewed-by: sspitsyn, dfuchs, alanb
2023-05-10 16:44:49 +00:00
Viktor Klang
8a95020ab6 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
2023-05-10 16:29:34 +00:00
Archie Cobbs
0198afca3a 8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
2023-05-10 16:24:00 +00:00
Daniel D. Daugherty
1bca05eace 8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg @requires clause
Reviewed-by: rriggs, azvegint
2023-05-10 14:40:56 +00:00
Johan Sjölen
cc396895e5 8300245: Replace NULL with nullptr in share/jfr/
Reviewed-by: mgronlun, coleenp
2023-05-10 12:35:21 +00:00
Coleen Phillimore
4251b56214 8306843: JVMTI tag map extremely slow after JDK-8292741
Reviewed-by: sspitsyn, iklam
2023-05-10 12:32:06 +00:00
Afshin Zafari
ab34cb98c8 8305082: Remove finalize() from test/hotspot/jtreg/runtime/linkResolver/InterfaceObjectTest.java
Reviewed-by: coleenp, dholmes
2023-05-10 12:20:00 +00:00
Johannes Bechberger
0da48f19cb 8307732: build-test-lib is broken
Reviewed-by: erikj, djelinski
2023-05-10 12:13:22 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Aleksei Efimov
da2c930262 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner
Reviewed-by: alanb, dfuchs, djelinski
2023-05-10 09:39:00 +00:00
Oli Gillespie
540c706bbc 8307348: Parallelize heap walk for ObjectCount(AfterGC) JFR event collection
Reviewed-by: shade, ayang, tschatzl
2023-05-10 08:54:18 +00:00
Fredrik Bredberg
d993432d44 8306930: Incorrect assert in BitMap::count_one_bits
Reviewed-by: stefank, tschatzl, kbarrett
2023-05-10 07:55:11 +00:00
Tobias Hotz
4b4c80bb31 8307351: (CmpI/L(AndI/L reg1 reg2)) on x86 can be optimized
Reviewed-by: sviswanathan, qamai, thartmann
2023-05-10 05:48:02 +00:00
Feilong Jiang
d3e6d04e3e 8307651: RISC-V: stringL_indexof_char instruction has wrong format string
Reviewed-by: fyang
2023-05-10 03:10:31 +00:00
Serguei Spitsyn
2be1f10fec 8307399: get rid of compatibility ThreadStart/ThreadEnd events for virtual threads
Reviewed-by: alanb, pchilanomate, cjplummer
2023-05-10 01:48:03 +00:00
Alex Menkov
f5a6b7f7c0 8306027: Clarify JVMTI heap functions spec about virtual thread stack.
Reviewed-by: alanb, sspitsyn
2023-05-09 21:14:17 +00:00
Leonid Mesnik
a1c3adb88d 8307370: Add tier1 testing with thread factory in CI
Reviewed-by: sspitsyn
2023-05-09 21:03:25 +00:00
Roger Riggs
356667f155 8307466: java.time.Instant calculation bug in until and between methods
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: scolebourne, naoto
2023-05-09 20:51:33 +00:00
Alisen Chung
723582c524 8306881: Update FreeType to 2.13.0
Reviewed-by: prr, dnguyen
2023-05-09 19:30:50 +00:00
Alisen Chung
98294242a9 8307128: Open source some drag and drop tests 4
Reviewed-by: prr
2023-05-09 19:14:12 +00:00
Leonid Mesnik
7f05f6f7c7 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes
Reviewed-by: alanb
2023-05-09 18:06:40 +00:00
Thiago Henrique Hüpner
dde557e312 8304148: Remapping a class with Invokedynamic constant loses static bootstrap arguments
Reviewed-by: asotona
2023-05-09 17:33:27 +00:00
Justin Lu
82bcee76ea 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
2023-05-09 17:15:06 +00:00
Leonid Mesnik
3aff5eacbd 8307486: ProcessTools.java should wait until vthread is completed before checking exceptions
Reviewed-by: dholmes, alanb
2023-05-09 16:36:21 +00:00
Xue-Lei Andrew Fan
44fa12e751 8303830: update for deprecated sprintf for jdk.accessibility
Reviewed-by: kizune
2023-05-09 15:49:28 +00:00
Viktor Klang
fdbfc8a73b 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
2023-05-09 15:37:23 +00:00
Matthew Donovan
5842fd5beb 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-09 14:25:40 +00:00
Axel Boldt-Christmas
672bade522 8306738: Select num workers for safepoint ParallelCleanupTask
Reviewed-by: shade, coleenp, tschatzl
2023-05-09 14:04:26 +00:00
Adam Sotona
a05560d993 8305990: Stripping debug info of ASM 9.5 fails
Reviewed-by: mcimadamore
2023-05-09 13:13:17 +00:00
Josef Eisl
040cb7b5a9 8307588: [JVMCI] HotSpotConstantPool#lookupBootstrapMethodInvocation broken by JDK-8301995
Reviewed-by: dnsimon, never, kvn
2023-05-09 12:29:27 +00:00
Maurizio Cimadamore
f92d095e16 8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: jvernee
2023-05-09 11:11:15 +00:00
Maurizio Cimadamore
7a3bea1f6a 8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
Reviewed-by: jvernee
2023-05-09 11:09:39 +00:00
Roland Westrelin
d2b3eef0f2 8307131: C2: assert(false) failed: malformed control flow
Reviewed-by: kvn, chagedorn, thartmann
2023-05-09 09:54:22 +00:00
Chen Liang
cd5d0ff5b2 8304031: Classfile API cannot encode Primitive Class as Condy
Reviewed-by: asotona
2023-05-09 09:14:18 +00:00
Sean Coffey
07f55c5ea2 8305950: Have -XshowSettings option display tzdata version
Reviewed-by: rriggs
2023-05-09 06:05:58 +00:00
Damon Nguyen
d9052b9466 8307130: Open source few Swing JMenu tests
Reviewed-by: prr
2023-05-08 22:29:48 +00:00
Tom Rodriguez
5e1fe43080 8299229: [JVMCI] add support for UseZGC
Reviewed-by: eosterlund, kvn
2023-05-08 18:40:18 +00:00
Damon Nguyen
14df5c130e 8307165: java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
Reviewed-by: prr
2023-05-08 17:56:27 +00:00
Roman Kennke
7f6358a8b5 8291555: Implement alternative fast-locking scheme
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: dcubed, stuefe, shade, dholmes, dlong
2023-05-08 17:51:39 +00:00
Volker Simonis
4116b109f0 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
2023-05-08 14:56:05 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Conor Cleary
ad90fb6da3 8293786: HttpClient will not send more than 64 kb of data from the 2nd request in http2
Reviewed-by: dfuchs, djelinski
2023-05-08 14:49:43 +00:00
Fredrik Bredberg
5a259d875e 8303153: Native interpreter frame missing mirror
Reviewed-by: coleenp, fyang
2023-05-08 14:44:54 +00:00
Darragh Clarke
4b02956d42 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: djelinski, dfuchs
2023-05-08 14:33:44 +00:00
Tyler Steele
9f34e4f8d9 8304434: [AIX] Update minimum xlclang version
Reviewed-by: erikj, mbaesken
2023-05-08 14:29:51 +00:00
Matthias Baesken
d2e0e534d7 8307604: gcc12 based Alpine build broken build after JDK-8307301
Reviewed-by: lucy, mdoerr, erikj
2023-05-08 14:16:08 +00:00
Zhengyu Gu
e91f0d3dba 8307571: Remove unused SomeConstants in WatcherThread class
Reviewed-by: dholmes
2023-05-08 14:10:14 +00:00
Dingli Zhang
26755a9686 8306408: Fix the format of several tables in building.md
Reviewed-by: erikj
2023-05-08 14:00:05 +00:00
Jie Fu
64c0962866 8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: erikj
2023-05-08 13:56:45 +00:00
Matthias Baesken
bb3e44d8b6 8307603: [AIX] Broken build after JDK-8307301
Reviewed-by: mdoerr
2023-05-08 12:24:41 +00:00
Arno Zeller
5c7ede94ae 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Reviewed-by: stuefe, cjplummer
2023-05-08 08:36:52 +00:00
Albert Mingkun Yang
89b7d07597 8307100: Remove ReferentBasedDiscovery reference discovery policy
Reviewed-by: kbarrett, dholmes, tschatzl
2023-05-08 08:31:04 +00:00
Hannes Wallnöfer
f6ea89795b 8306285: Missing file in search test
Reviewed-by: jjg
2023-05-08 08:03:49 +00:00
Stefan Karlsson
33245d6b38 8307517: Add VMErrorCallback infrastructure to extend hs_err dumping
Reviewed-by: eosterlund, aboldtch, dholmes, stuefe
2023-05-08 07:58:06 +00:00
Stefan Karlsson
7a1cb64bc1 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Reviewed-by: dholmes, eosterlund
2023-05-08 07:54:08 +00:00
Stefan Karlsson
68f385c1ca 8307428: jstat tests doesn't tolerate dash in the O column
Reviewed-by: kevinw, cjplummer
2023-05-08 07:52:25 +00:00
Amit Kumar
8bbd264c6e 8307423: [s390x] Represent Registers as values
Reviewed-by: mdoerr, lucy
2023-05-08 07:51:29 +00:00
Stefan Karlsson
959e62ca3e 8307521: Introduce check_oop infrastructure to check oops in the oop class
Reviewed-by: eosterlund, aboldtch, coleenp
2023-05-08 07:48:45 +00:00
Emanuel Peter
ad0e5a99ca 8304720: SuperWord::schedule should rebuild C2-graph from SuperWord dependency-graph
Reviewed-by: kvn, fgao
2023-05-08 06:09:10 +00:00
Gui Cao
495f2688d6 8306966: RISC-V: Support vector cast node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-08 01:15:12 +00:00
changpeng1997
0dca573ca5 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE
Reviewed-by: aph, eliu
2023-05-06 07:20:20 +00:00
Alexander Zvegintsev
3d3eaed913 8306941: Open source several datatransfer and dnd AWT tests
Reviewed-by: prr
2023-05-06 02:16:32 +00:00
Feilong Jiang
1f57ce0a06 8307446: RISC-V: Improve performance of floating point to integer conversion
Reviewed-by: fyang, vkempik, gli
2023-05-06 01:23:40 +00:00
Ioi Lam
4e4828eaff 8307553: Remove dead code MetaspaceClosure::push_method_entry
Reviewed-by: coleenp, ccheung
2023-05-06 01:20:03 +00:00
Alexander Zvegintsev
7d58978f62 8280031: Deprecate GTK2 for removal
Reviewed-by: prr
2023-05-05 20:16:26 +00:00
Weijun Wang
b5922c3b86 8305846: Support compilation in Proc test utility
Reviewed-by: valeriep
2023-05-05 20:03:11 +00:00
Oli Gillespie
73ac710533 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: alanb
2023-05-05 19:36:35 +00:00
Leonid Mesnik
e2b1013f11 8306326: [BACKOUT] 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann, kvn
2023-05-05 18:57:33 +00:00
Harshitha Onkar
4386d42d31 8307381: Open Source JFrame, JIF related Swing Tests
Reviewed-by: dnguyen, kizune
2023-05-05 18:12:48 +00:00
Matias Saavedra Silva
27764e6035 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Reviewed-by: iklam, ccheung
2023-05-05 18:06:19 +00:00
Rajat Mahajan
6c71859ac2 6176679: Application freezes when copying an animated gif image to the system clipboard
Reviewed-by: aivanov, dmarkov
2023-05-05 18:03:58 +00:00
Calvin Cheung
65a54883b3 8306712: CDS DeterministicDump.java test fails with -XX:+UseStringDeduplication
Reviewed-by: iklam, matsaave
2023-05-05 17:39:40 +00:00
Harshitha Onkar
d8b230c384 8307301: Update HarfBuzz to 7.2.0
Reviewed-by: prr
2023-05-05 17:33:25 +00:00
Damon Nguyen
b5a48277ab 8306871: Open source more AWT Drag & Drop tests
Reviewed-by: prr
2023-05-05 16:28:03 +00:00
Maurizio Cimadamore
47422be2d1 8307375: Alignment check on layouts used as sequence element is not correct
Reviewed-by: jvernee
2023-05-05 15:59:13 +00:00
Roman Kennke
3968ab5db5 8307395: Add missing STS to Shenandoah
Reviewed-by: shade
2023-05-05 15:56:10 +00:00
Roman Kennke
12d6ec66a6 8307236: Rendezvous GC threads under STS for monitor deflation
Reviewed-by: eosterlund, shade
2023-05-05 14:35:33 +00:00
Matias Saavedra Silva
6fe959c62d 8307306: Change some ConstantPool::name_ref_at calls to uncached_name_ref_at
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: coleenp, fparain
2023-05-05 14:24:40 +00:00
Matthew Donovan
3f6a3545a2 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Reviewed-by: ssahoo, jnimeh
2023-05-05 14:17:00 +00:00
Afshin Zafari
f143bf7c45 8305084: Remove the removal warnings for finalize() from test/hotspot/jtreg/serviceability/dcmd/gc/FinalizerInfoTest.java and RunFinalizationTest.java
Reviewed-by: dholmes, cjplummer
2023-05-05 13:22:01 +00:00
Weibing Xiao
746f8d1333 8305714: Add an extra test for JDK-8292755
Reviewed-by: coffeys
2023-05-05 13:19:20 +00:00
Afshin Zafari
1a1ce66dc9 8305080: Suppress the 'removal' warning for finalize() from test/hotspot/jtreg/compiler/jvmci/common/testcases that used in compiler/jvmci/compilerToVM/ tests
Reviewed-by: dnsimon, coleenp
2023-05-05 13:12:19 +00:00
Adam Sotona
3b430b9f73 8250596: Update remaining manpage references from "OS X" to "macOS"
Reviewed-by: mullan, cjplummer, dholmes, sspitsyn
2023-05-05 08:54:53 +00:00
Johan Sjölen
948f3b3c24 8301493: Replace NULL with nullptr in cpu/aarch64
Reviewed-by: tschatzl, gziemski, dholmes
2023-05-05 08:54:05 +00:00
Andrew Dinn
f94f957734 8307331: Correctly update line maps when class redefine rewrites bytecodes
Reviewed-by: sspitsyn
2023-05-05 07:50:21 +00:00
Thomas Schatzl
302bc2fd7f 8307421: Fix comment in g1CollectionSetChooser.hpp after JDK-8306836
Reviewed-by: shade
2023-05-05 06:36:08 +00:00
Kim Barrett
e19cf26d65 8307196: Dangling pointer warning for MetadataAllocationRequest
Reviewed-by: dholmes, eosterlund
2023-05-05 06:20:32 +00:00
William Kemper
1b143ba787 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: kdnilsen, stefank
2023-05-05 05:43:05 +00:00
Leonid Mesnik
a44e8908a1 8307308: Add serviceability_ttf_virtual group to exclude jvmti tests developed for virtual threads
Reviewed-by: sspitsyn
2023-05-05 00:43:59 +00:00
Eric Liu
46df171d53 8304948: [vectorapi] C2 crashes when expanding VectorBox
Reviewed-by: thartmann, qamai
2023-05-05 00:34:12 +00:00
Daniel D. Daugherty
111858f3ff 8307489: ProblemList jdk/incubator/vector/LoadJsvmlTest.java on windows-x64
8307490: ProblemList sun/security/pkcs11/Cipher/TestKATForGCM.java on linux-x64 and macosx-x64
8307491: ProblemList sanity/client/SwingSet/src/EditorPaneDemoTest.java on linux-x64

Reviewed-by: darcy
2023-05-04 21:32:35 +00:00
Kevin Driver
197d0cc603 8294983: SSLEngine throws ClassCastException during handshake
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: wetmore, xuelei
2023-05-04 19:25:01 +00:00
Coleen Phillimore
a87262efb2 8307295: Add warning to not create new ACC flags
Reviewed-by: dholmes, fparain
2023-05-04 17:42:14 +00:00
Markus Grönlund
0c6529d2d3 8307156: native_thread not protected by TLH
Reviewed-by: coleenp, dcubed
2023-05-04 17:26:31 +00:00
Phil Race
5ca0b08a75 8307133: Open source some JTable jtreg tests
Reviewed-by: serb
2023-05-04 16:44:24 +00:00
Alexander Zvegintsev
2adb3b409e 8306943: Open source several dnd AWT tests
Reviewed-by: prr, serb
2023-05-04 15:39:08 +00:00
Chen Liang
dc4096ce13 8304937: BufferedFieldBuilder.Model missing writeTo(DirectClassBuilder)
Reviewed-by: asotona
2023-05-04 13:24:08 +00:00
Stefan Johansson
29233e0a00 8307448: Test RedefineSharedClassJFR fail due to wrong assumption
Reviewed-by: eosterlund, coleenp
2023-05-04 12:48:56 +00:00
Stefan Johansson
408cec516b 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
Reviewed-by: coleenp, sspitsyn
2023-05-04 11:00:44 +00:00
Maurizio Cimadamore
cecf817f5e 8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
Reviewed-by: jvernee
2023-05-04 09:44:31 +00:00
Oli Gillespie
3f1927a7f3 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Reviewed-by: tschatzl, shade, ayang
2023-05-04 09:19:19 +00:00
Kevin Walls
e206d57bfc 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: dcubed
2023-05-04 06:31:15 +00:00
Abhishek Kumar
82a8e91ef7 8306489: Open source AWT List related tests
Reviewed-by: prr, serb
2023-05-04 06:08:31 +00:00
Tejesh R
465bdd9e41 8307091: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: prr, dnguyen
2023-05-04 04:52:00 +00:00
Leonid Mesnik
caee1beaaf 8307305: Update debugger tests to support JTREG_TEST_THREAD_FACTORY mode
Reviewed-by: cjplummer
2023-05-04 03:51:24 +00:00
Kim Barrett
3599448ad8 8307147: [x86] Dangling pointer warning for Assembler::_attributes
Reviewed-by: dholmes, aph
2023-05-04 02:08:07 +00:00
Leonid Mesnik
64ac9a05e8 8306946: jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
Reviewed-by: dholmes
2023-05-04 01:10:54 +00:00
Jiangli Zhou
03030d47eb 8307134: Add GTS root CAs
Co-authored-by: Andy Warner <awarner@google.com>
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Reviewed-by: mullan, rhalade
2023-05-03 21:09:22 +00:00
jeremy
63cd0a36da 4200096: OffScreenImageSource.removeConsumer NullPointerException
Reviewed-by: prr, serb
2023-05-03 20:48:07 +00:00
Kevin Driver
db8b3cd084 8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Reviewed-by: coffeys, wetmore
2023-05-03 20:47:23 +00:00
Martin Desruisseaux
dcb2f3f502 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface
Reviewed-by: prr
2023-05-03 20:45:57 +00:00
Harshitha Onkar
14874779ee 8305815: Update Libpng to 1.6.39
Reviewed-by: prr
2023-05-03 19:39:12 +00:00
Matthew Donovan
705ad7d829 8306014: Update javax.net.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-03 18:00:10 +00:00
Jonathan Gibbons
3930709af4 8068925: Add @Override in javax.tools classes
Reviewed-by: darcy, iris
2023-05-03 17:32:24 +00:00
Thomas Schatzl
fc76687c2f 8306836: Remove pinned tag for G1 heap regions
Reviewed-by: ayang, cjplummer, sspitsyn
2023-05-03 13:50:02 +00:00
Roland Westrelin
ccf91f881c 8306933: C2: "assert(false) failed: infinite loop" failure
Reviewed-by: chagedorn, thartmann
2023-05-03 11:14:53 +00:00
Emanuel Peter
e9807a4b0f 8306042: C2: failed: Missed optimization opportunity in PhaseCCP (adding LShift->Cast->Add notification)
Reviewed-by: thartmann, chagedorn, kvn
2023-05-03 10:45:30 +00:00
Aleksey Shipilev
fcb280a48b 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
Reviewed-by: dholmes, alanb
2023-05-03 09:39:57 +00:00
Albert Mingkun Yang
891530fbc9 8307005: Make CardTableBarrierSet::initialize non-virtual
Reviewed-by: dholmes
2023-05-03 09:26:27 +00:00
Roland Westrelin
e0774bed2d 8306997: C2: "malformed control flow" assert due to missing safepoint on backedge with a switch
Reviewed-by: thartmann, kvn
2023-05-03 08:29:01 +00:00
Erik Österlund
462b1df758 8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock
Reviewed-by: stefank, aboldtch, coleenp, dholmes
2023-05-03 08:16:15 +00:00
Adam Sotona
c8f37564bf 8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
2023-05-03 06:34:58 +00:00
Feilong Jiang
0b5b6429a0 8307150: RISC-V: Remove remaining StoreLoad barrier with UseCondCardMark for Serial/Parallel GC
Reviewed-by: shade, fyang
2023-05-03 02:23:41 +00:00
Damon Nguyen
418a82551a 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
2023-05-02 23:45:44 +00:00
Eamonn McManus
74667e3d56 8303919: Instant.ofEpochMilli says it can throw an exception that it can't
Reviewed-by: rriggs
2023-05-02 23:26:01 +00:00
Harshitha Onkar
76991c8129 8282232: [Win] GetMousePositionWithPopup test fails due to wrong mouse position
Reviewed-by: prr
2023-05-02 23:22:17 +00:00
Stuart Marks
05b9b5821d 8302496: Runtime.exit incorrectly says it never throws an exception
Reviewed-by: alanb
2023-05-02 23:19:30 +00:00
Kim Barrett
8a70664e52 8293117: Add atomic bitset functions
Reviewed-by: shade, coleenp, dholmes
2023-05-02 21:27:01 +00:00
Liam Miller-Cushon
8c106b0c8e 8303784: no-@Target annotations should be applicable to type parameter declarations
Reviewed-by: vromero
2023-05-02 18:19:03 +00:00
Jonathan Gibbons
b76f320e76 8307123: Fix deprecation warnings in DPrinter
Reviewed-by: vromero
2023-05-02 16:54:39 +00:00
Jorn Vernee
a8bf2acb7d 8304888: Add dedicated VMProps for linker and fallback linker
Reviewed-by: alanb, mcimadamore
2023-05-02 13:56:32 +00:00
Johan Sjölen
75a4edca6b 8301223: Replace NULL with nullptr in share/gc/g1/
Reviewed-by: tschatzl, kbarrett
2023-05-02 13:04:14 +00:00
Yoshiki Sato
544bd260b6 8305505: NPE in javazic compiler
Reviewed-by: naoto
2023-05-02 12:42:15 +00:00
Thomas Stuefe
ea9201f420 8306510: Print number of threads and stack sizes in error reports
Reviewed-by: gziemski, dholmes
2023-05-02 12:18:23 +00:00
Fredrik Bredberg
a8d16dea8e 8300197: Freeze/thaw an interpreter frame using a single copy_to_chunk() call
Reviewed-by: rrich, pchilanomate, fyang
2023-05-02 12:14:12 +00:00
Jorn Vernee
1532a1b0bd 8307164: TestSegmentCopy times out (mainline)
Reviewed-by: mcimadamore
2023-05-02 10:42:49 +00:00
Martin Doerr
860bf9b35f 8307104: [AIX] VM crashes with UseRTMLocking on Power10
Reviewed-by: clanger, lucy
2023-05-02 09:19:49 +00:00
Alan Bateman
86f97fe70c 8305919: java/lang/Thread/virtual/HoldsLock.java#id0 failed, ThreadInfo.getLockInfo() return null
Reviewed-by: jpai
2023-05-02 07:20:19 +00:00
Joe Wang
2179a8f2d6 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Reviewed-by: naoto
2023-05-02 03:12:06 +00:00
Serguei Spitsyn
1227a275a1 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
2023-05-02 02:40:50 +00:00
Vicente Romero
35e75c131d 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Reviewed-by: jjg
2023-05-01 20:28:50 +00:00
Sergey Tsypanov
561ec9c5a0 8300818: Reduce complexity of padding with DateTimeFormatter
Reviewed-by: redestad, rriggs
2023-05-01 18:24:07 +00:00
Chris Plummer
ae5f678fba 8282384: [LOOM] Need test for ThreadReference.interrupt() on a vthread
Reviewed-by: lmesnik, sspitsyn
2023-05-01 18:13:11 +00:00
Rajan Halade
c7e1df8328 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mullan
2023-05-01 18:03:54 +00:00
Roger Riggs
6acf032db8 8306678: Replace use of os.version with an internal Version record
Reviewed-by: mchung
2023-05-01 17:56:04 +00:00
Roger Riggs
f00a748bc5 8304915: Create jdk.internal.util.Architecture enum and apply
Reviewed-by: erikj, mdoerr, amitkumar
2023-05-01 15:22:07 +00:00
Jorn Vernee
7d07d19523 8305201: Improve error message for GroupLayouts that are too large on SysV
Reviewed-by: mcimadamore
2023-05-01 14:12:51 +00:00
Jorn Vernee
67dd841432 8305093: Linker cache should not take layout names into account
Reviewed-by: mcimadamore
2023-05-01 13:41:00 +00:00
Archie Cobbs
d437c61f5b 8305672: Surprising definite assignment error after JDK-8043179
Reviewed-by: kcr, vromero
2023-05-01 13:23:37 +00:00
Jorn Vernee
b39a9bffda 8301703: java.base jdk.internal.foreign.abi.BindingSpecializer uses ASM to generate classes
Reviewed-by: mcimadamore, asotona
2023-05-01 13:15:16 +00:00
Jorn Vernee
1de1a38859 8303002: Reject packed structs from linker
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking

Reviewed-by: mcimadamore
2023-05-01 13:00:41 +00:00
Coleen Phillimore
316d303c1d 8306851: Move Method access flags
Reviewed-by: cjplummer, dholmes, dnsimon, matsaave, fparain
2023-05-01 11:33:22 +00:00
Aleksey Shipilev
a6b4f25bd5 8306825: Monitor deflation might be accidentally disabled by zero intervals
Reviewed-by: dcubed, eastigeevich, phh
2023-05-01 07:56:07 +00:00
Prasanta Sadhukhan
2d7c50791b 8305778: javax/swing/JTableHeader/6884066/bug6884066.java: Unexpected header's value; index = 4 value = E
Reviewed-by: serb, jdv
2023-05-01 04:49:40 +00:00
Prasanta Sadhukhan
e1b06eac72 8305780: javax/swing/JTable/7068740/bug7068740.java fails on Ubunutu 20.04
Reviewed-by: serb, tr
2023-05-01 04:45:38 +00:00
Prasanta Sadhukhan
b54c4a33c6 8299713: Test javax/swing/JTableHeader/6889007/bug6889007.java failed: Wrong type of cursor
Reviewed-by: serb, tr
2023-05-01 04:41:22 +00:00
Hannes Greule
b3dbf28bc0 8292275: javac does not emit SYNTHETIC and MANDATED flags for parameters by default
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: vromero, jwaters
2023-04-30 07:34:09 +00:00
Alexander Zuev
6d6d00b69c 8306954: Open source five Focus related tests
Reviewed-by: prr
2023-04-29 18:19:11 +00:00
Lance Andersen
bb7608bacc 8307088: Allow the jdbc.drivers system property to be searchable
Reviewed-by: naoto, joehw
2023-04-29 14:37:13 +00:00
SirYwell
a2d3fc83b0 8304837: Classfile API throws IOOBE for MethodParameters attribute without parameter names
Reviewed-by: asotona, jwaters, vromero
2023-04-29 07:48:14 +00:00
Sergey Bylokhov
d43a5a289f 8307135: java/awt/dnd/NotReallySerializableTest/NotReallySerializableTest.java failed
Reviewed-by: jiefu, prr
2023-04-29 01:29:13 +00:00
Phil Race
1f689241cf 8306955: Open source several JComboBox jtreg tests
Reviewed-by: kizune
2023-04-28 22:42:11 +00:00
Phil Race
b8de39431d 8307080: Open source some more JComboBox jtreg tests
Reviewed-by: kizune
2023-04-28 22:39:17 +00:00
Jorn Vernee
4818c798bc 8307110: zero build broken after JDK-8304265
Reviewed-by: erikj
2023-04-28 21:43:33 +00:00
Stuart Marks
da9efee1c2 8296935: Arrays.asList() can return a List that throws undocumented ArrayStoreException
Reviewed-by: rriggs, lancea
2023-04-28 19:45:29 +00:00
Damon Nguyen
05af487a2d 8306681: Open source more AWT DnD related tests
Reviewed-by: prr, serb
2023-04-28 19:20:16 +00:00
Damon Nguyen
ec5c7926f3 8306133: Open source few AWT Drag & Drop related tests
Reviewed-by: prr, psadhukhan
2023-04-28 19:16:12 +00:00
Alexander Zuev
6d6f726b74 8307078: Opensource and clean up five more AWT Focus related tests
Reviewed-by: serb, prr
2023-04-28 18:46:48 +00:00
Phil Race
89711f3767 8307079: Update test java/awt/Choice/DragOffNoSelect.java
Reviewed-by: azvegint, serb
2023-04-28 18:17:24 +00:00
Weijun Wang
9ff555083a 8307077: Convert CRLF to LF in java.xml.crypto
Reviewed-by: mullan
2023-04-28 16:24:50 +00:00
Madjosz
f83e7302c1 8302983: ZoneRulesProvider.registerProvider() twice will remove provider
Reviewed-by: naoto
2023-04-28 16:23:13 +00:00
Rajan Halade
82ccfe3a21 8305975: Add TWCA Global Root CA
Reviewed-by: mullan
2023-04-28 16:18:02 +00:00
Dean Long
a177152f22 8306331: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Reviewed-by: thartmann, chagedorn
2023-04-28 15:48:39 +00:00
Calvin Cheung
e1196584d5 8303475: potential null pointer dereference in filemap.cpp
Reviewed-by: dholmes
2023-04-28 15:45:44 +00:00
Coleen Phillimore
cf799ba232 8306950: [REDO] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
2023-04-28 15:14:30 +00:00
Tejesh R
485a0691f4 8306432: Open source several AWT Text Component related tests
Reviewed-by: prr
2023-04-28 14:35:16 +00:00
Tejesh R
169a7c27a7 8306640: Open source several AWT TextArea related tests
Reviewed-by: prr, serb
2023-04-28 14:27:38 +00:00
JoKern65
5d9baa2f93 8306672: support offset in dll_address_to_library_name on AIX
Reviewed-by: stuefe, clanger, mbaesken
2023-04-28 13:07:53 +00:00
Antonios Printezis
83a98c66f1 8307063: When cross-compiling with hsdis/binutils, buildjdk creation fails
Reviewed-by: erikj
2023-04-28 12:31:48 +00:00
Jie Fu
452cb8432f 8307103: Two TestMetaspaceAllocationMT tests fail after JDK-8306696
Reviewed-by: dholmes
2023-04-28 12:27:16 +00:00
Amit Kumar
fee02f0668 8299748: java/util/zip/Deinflate.java failing on s390x
Reviewed-by: jpai, lancea, simonis, aturbanov
2023-04-28 11:55:59 +00:00
Aleksei Voitylov
60a29a668c 8305387: JDK-8301995 breaks arm 32-bit
Reviewed-by: shade, matsaave
2023-04-28 09:41:55 +00:00
Matthias Baesken
3d9d84b742 8307006: ProblemList gtest/NMTGtest.java on aix
Reviewed-by: mdoerr
2023-04-28 06:50:06 +00:00
Afshin Zafari
84df74ca39 8305079: Remove finalize() from compiler/c2/Test719030
Reviewed-by: thartmann, coleenp
2023-04-28 06:32:25 +00:00
Thomas Stuefe
0b5c504ad0 8306696: Remove MetaspaceReclaimPolicy=aggressive and obsolete MetaspaceReclaimPolicy
Reviewed-by: dholmes, rkennke, coleenp
2023-04-28 06:08:24 +00:00
Richard Reingruber
eb3af8abe9 8306901: Macro offset_of confuses Eclipse CDT
Reviewed-by: stuefe, kbarrett
2023-04-28 06:06:56 +00:00
Kim Barrett
d3abfec8b7 8305566: Change StringDedup thread to derive from JavaThread
Reviewed-by: stefank, cjplummer, tschatzl
2023-04-28 03:11:00 +00:00
Justin Lu
f3c90f0445 8306711: Improve diagnosis of IntlTest framework
Reviewed-by: naoto, lancea
2023-04-28 00:16:29 +00:00
Roger Riggs
b827ce8334 8298993: (process) java/lang/ProcessBuilder/UnblockSignals.java fails
Reviewed-by: bchristi
2023-04-27 20:36:40 +00:00
Jonathan Gibbons
7871390930 8306952: improve generic signature of internal DCInlineTag class
Reviewed-by: iris
2023-04-27 19:13:03 +00:00
Naoto Sato
6983d05b73 8306927: Collator treats "v" and "w" as the same letter for Swedish language locale.
Reviewed-by: jlu, iris, joehw
2023-04-27 18:12:41 +00:00
Brian Burkhalter
80fae514b1 8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Reviewed-by: alanb
2023-04-27 17:20:08 +00:00
Raffaello Giulietti
eb358619df 8205592: BigDecimal.doubleValue() is depressingly slow
Reviewed-by: darcy
2023-04-27 17:01:56 +00:00
Abhishek Kumar
41ba05e450 8306850: Open source AWT Model related tests
Reviewed-by: serb, azvegint
2023-04-27 15:59:42 +00:00
Jiangli Zhou
fed262a9cf 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher
Reviewed-by: alanb
2023-04-27 15:57:51 +00:00
Albert Mingkun Yang
96cdf93b42 8306833: Change CardTable::_covered to static array
Reviewed-by: tschatzl, kbarrett
2023-04-27 11:40:50 +00:00
Roberto Castañeda Lozano
1be80a4445 8287087: C2: perform SLP reduction analysis on-demand
Reviewed-by: epeter, jbhateja, thartmann
2023-04-27 09:39:53 +00:00
bobpengxie
ba43649530 8306976: UTIL_REQUIRE_SPECIAL warning on grep
Reviewed-by: clanger, mbaesken
2023-04-27 09:19:13 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Daniel Fuchs
41d58533ac 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close
Reviewed-by: jpai, djelinski
2023-04-27 08:25:40 +00:00
Thomas Schatzl
d94ce6566d 8306858: Remove some remnants of CMS from SA agent
Reviewed-by: shade, cjplummer, kbarrett, ysr
2023-04-27 07:28:06 +00:00
Thomas Stuefe
a83c02fe2c 8306654: Disable NMT location_printing_cheap_dead_xx tests again
Reviewed-by: dholmes
2023-04-27 07:26:34 +00:00
Dmitry Cherepanov
de0c05da07 6995195: Static initialization deadlock in sun.java2d.loops.Blit and GraphicsPrimitiveMgr
Reviewed-by: serb, aivanov
2023-04-27 07:06:24 +00:00
Axel Boldt-Christmas
748476fd80 8306732: TruncatedSeq::predict_next() attempts linear regression with only one data point
Reviewed-by: tschatzl, kbarrett
2023-04-27 06:56:22 +00:00
Thomas Stuefe
27c5c1070a 8306883: Thread stacksize is reported with wrong units in os::create_thread logging
Reviewed-by: shade
2023-04-27 04:57:29 +00:00
David Holmes
9ebcda2165 8229147: Linux os::create_thread() overcounts guardpage size with newer glibc (>=2.27)
Reviewed-by: shade, stuefe
2023-04-26 22:47:54 +00:00
Archie Cobbs
1e4eafb4fe 8071693: Introspector ignores default interface methods
Reviewed-by: prr, aivanov, serb
2023-04-26 22:45:10 +00:00
Ioi Lam
750bece0c2 8305771: SA ClassWriter.java fails to skip overpass methods
Reviewed-by: kevinw, cjplummer
2023-04-26 20:54:39 +00:00
Coleen Phillimore
b81c9c8442 8306951: [BACKOUT] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dcubed
2023-04-26 20:03:47 +00:00
Abhishek Kumar
732179ca84 8306409: Open source AWT KeyBoardFocusManger, LightWeightComponent related tests
Reviewed-by: psadhukhan, tr, serb
2023-04-26 19:07:25 +00:00
Chris Plummer
38cc0391f3 8306705: com/sun/jdi/PopAndInvokeTest.java fails with NativeMethodException
Reviewed-by: lmesnik, amenkov, sspitsyn
2023-04-26 17:32:05 +00:00
Weijun Wang
01b8512911 8302182: Update Public Suffix List to 88467c9
Reviewed-by: mullan
2023-04-26 17:30:22 +00:00
Justin Lu
8e36c05d6c 8305853: java/text/Format/DateFormat/DateFormatRegression.java fails with "Uncaught exception thrown in test method Test4089106"
Reviewed-by: naoto, lancea
2023-04-26 16:53:43 +00:00
Brian Burkhalter
d0e8aec041 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])
Reviewed-by: liach, alanb
2023-04-26 16:37:18 +00:00
Amit Kumar
a18191fee8 8302328: [s390x] Simplify asm_assert definition
Reviewed-by: lucy, mdoerr
2023-04-26 16:06:55 +00:00
Jiangli Zhou
9bc6a212f7 8306033: Resolve multiple definition of 'throwIOException' and friends when statically linking with JDK native libraries
Reviewed-by: alanb
2023-04-26 16:04:48 +00:00
Xin Liu
35e802374c 8306872: Rename Node_Array::Size()
Reviewed-by: kvn, thartmann, shade
2023-04-26 16:02:53 +00:00
Leonid Mesnik
2e340e855b 8233725: ProcessTools.startProcess() has output issues when using an OutputAnalyzer at the same time
Reviewed-by: cjplummer, sspitsyn
2023-04-26 14:53:33 +00:00
Amit Kumar
35e7bc21d3 8306855: [s390x] fix difference in abi sizes
Reviewed-by: mdoerr, lucy
2023-04-26 11:12:42 +00:00
Aleksey Shipilev
9ad6dc881d 8306774: Make runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java more reliable
Reviewed-by: stuefe, dcubed
2023-04-26 11:11:54 +00:00
Albert Mingkun Yang
c5910fa065 8306749: Make CardTable::invalidate non-virtual
Reviewed-by: tschatzl
2023-04-26 10:58:50 +00:00
Ivan Walulya
86f41a4c42 8306735: G1: G1FullGCScope remove unnecessary member _explicit_gc
Reviewed-by: ayang, tschatzl
2023-04-26 10:09:56 +00:00
Martin Doerr
d74769826d 8306823: Native memory leak in SharedRuntime::notify_jvmti_unmount/mount.
Reviewed-by: pchilanomate, sspitsyn
2023-04-26 08:29:06 +00:00
Roberto Castañeda Lozano
8d899925dc 8298189: Regression in SPECjvm2008-MonteCarlo for pre-Cascade Lake Intel processors
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Reviewed-by: shade, thartmann, kvn
2023-04-26 08:25:11 +00:00
Tejesh R
44d9f55d0b 8306072: Open source several AWT MouseInfo related tests
Reviewed-by: serb, psadhukhan
2023-04-26 05:44:13 +00:00
Emanuel Peter
cc894d849a 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
Reviewed-by: roland, kvn, chagedorn, thartmann
2023-04-26 05:42:26 +00:00
Abhishek Kumar
ed1ebd242a 8306652: Open source AWT MenuItem related tests
Reviewed-by: prr, psadhukhan
2023-04-26 05:17:48 +00:00
Prasanta Sadhukhan
f3e8bd1d11 8306755: Open source few Swing JComponent and AbstractButton tests
Reviewed-by: prr
2023-04-26 03:13:56 +00:00
Dingli Zhang
1c1a73f715 8302908: RISC-V: Support masked vector arithmetic instructions for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang, yzhu
2023-04-26 02:24:49 +00:00
Chen Liang
adf62febe6 8304918: Remove unused decl field from AnnotatedType implementations
Reviewed-by: stsypanov, darcy
2023-04-25 23:24:08 +00:00
Justin Lu
00b1eacad6 8306031: Update IANA Language Subtag Registry to Version 2023-04-13
Reviewed-by: naoto
2023-04-25 20:32:24 +00:00
Alexander Zvegintsev
88d9ebf8e8 8306752: Open source several container and component AWT tests
Reviewed-by: prr
2023-04-25 20:27:34 +00:00
Alexander Zvegintsev
1c2dadc31e 8306683: Open source several clipboard and color AWT tests
Reviewed-by: prr
2023-04-25 20:26:45 +00:00
Alexander Zvegintsev
b372f28ad4 8306753: Open source several container AWT tests
Reviewed-by: prr
2023-04-25 20:25:16 +00:00
Brian Burkhalter
e3ccaa6541 8306623: (bf) CharBuffer::allocate throws unexpected exception type with some CharSequences
Reviewed-by: alanb, lancea
2023-04-25 20:18:19 +00:00
Joe Darcy
d819debaa5 8304423: Refactor FdLibm.java
Reviewed-by: bpb
2023-04-25 19:33:22 +00:00
Aleksey Shipilev
28829f308f 8306734: Shenandoah: Missing barriers on deoptimization path
Reviewed-by: eosterlund, rkennke
2023-04-25 18:46:55 +00:00
Alexander Zuev
9beae21864 8306718: Optimize and opensource some old AWT tests
Reviewed-by: prr
2023-04-25 18:32:03 +00:00
Phil Race
36d61c3106 8306765: Some client related jtreg problem list entries are malformed
Reviewed-by: iris
2023-04-25 18:10:52 +00:00
Zhengyu Gu
5f4965d422 8306687: Relax memory ordering constraints on metaspace atomic counters
Reviewed-by: shade, minqi
2023-04-25 17:55:57 +00:00
Valerie Peng
33d6614150 8304845: Update PCSC-Lite for Suse Linux to 1.9.9 and fix incomplete license wording
Reviewed-by: manc, mullan
2023-04-25 17:48:42 +00:00
Eirik Bjorsnos
c92883a3d5 8306772: Remove sun.security.x509.CertException, sun.security.x509.CertParseError
Reviewed-by: mullan
2023-04-25 16:33:24 +00:00
Quan Anh Mai
0ff3a2784e 8306008: Several Vector API tests fail for client VM after JDK-8304450
Reviewed-by: psandoz
2023-04-25 16:13:45 +00:00
Quan Anh Mai
e8f62de1cf 8304676: [vectorapi] x86_32: Crash in Assembler::kmovql(Address, KRegister)
Reviewed-by: shade, thartmann, jbhateja
2023-04-25 16:13:03 +00:00
Daniel Fuchs
98e8616a0c 8301169: java/net/httpclient/ThrowingSubscribersAsInputStream.java,ThrowingSubscribersAsInputStreamAsync.java, and other httpclient tests failing on windows: Unable to establish loopback connection
Reviewed-by: aefimov, djelinski
2023-04-25 15:48:12 +00:00
Prasanta Sadhukhan
07ea445b43 8306838: GetGraphicsTest needs to be headful
Reviewed-by: jiefu, dcubed
2023-04-25 15:29:28 +00:00
Stuart Marks
17ce0976e4 8266571: Sequenced Collections
Reviewed-by: alanb
2023-04-25 15:19:08 +00:00
Christoph Langer
bad6aa68e4 8289735: UTIL_LOOKUP_PROGS fails on pathes with space
Reviewed-by: erikj, mbaesken
2023-04-25 14:20:50 +00:00
Roger Riggs
5f50e991ca 8306770: (fs) Remove obsolete os.version check from sun.nio.fs.BsdFileStore.supportsFileAttributeView
Reviewed-by: bpb, iris, lancea, alanb
2023-04-25 14:07:28 +00:00
Albert Mingkun Yang
9d1fe6565c 8306740: G1: Change G1CardSetHashTableScan to lambda
Reviewed-by: kbarrett, tschatzl
2023-04-25 13:35:38 +00:00
Thomas Schatzl
a4a5385831 8306733: Remove template parameter of G1DetermineCompactionQueueClosure::free_pinned_region
Reviewed-by: ayang, iwalulya
2023-04-25 10:39:45 +00:00
Ivan Walulya
a98f58756d 8306766: Reduce heap size for TestJNICriticalStressTest
Reviewed-by: ayang, tschatzl
2023-04-25 10:27:22 +00:00
Prasanta Sadhukhan
d53a5eed0f 8306067: Open source AWT Graphics,GridBagLayout related tests
Reviewed-by: serb
2023-04-25 08:55:00 +00:00
Dmitry Cherepanov
f968da97a5 8305352: updateIconImages may lead to deadlock after JDK-8276849
Reviewed-by: aivanov, serb
2023-04-25 06:56:32 +00:00
Aleksey Shipilev
2985738f15 8306773: Problemlist jdk/incubator/vector/ShortMaxVectorTests.java on x86_32
Reviewed-by: kvn
2023-04-25 05:59:09 +00:00
Prasanta Sadhukhan
31a73b0d70 8306714: Open source few Swing event and AbstractAction tests
Reviewed-by: serb, prr
2023-04-25 04:54:56 +00:00
Kim Barrett
8063aa2e4a 8306695: Divide by zero in G1Policy::logged_cards_processing_time
Reviewed-by: iwalulya, tschatzl
2023-04-25 04:19:32 +00:00
Christian Stein
2471919020 8304036: Use CommandLine class from shared module
Reviewed-by: jjg, mchung
2023-04-25 04:16:58 +00:00
Phil Race
f39641ccbd 8306682: Open source a few more AWT Choice tests
Reviewed-by: serb
2023-04-25 02:46:13 +00:00
Phil Race
b5362dadc5 8306484: Open source several AWT Choice jtreg tests
Reviewed-by: serb
2023-04-25 02:45:22 +00:00
Coleen Phillimore
2ea62c1369 8303276: Secondary assertion failure in AdapterHandlerLibrary::contains during crash reporting
Reviewed-by: iklam, stuefe
2023-04-24 21:23:56 +00:00
Tyler Steele
0dc03c9d54 8305922: [aix,linux] Avoid comparing 'this' to nullptr
Reviewed-by: mdoerr, dholmes
2023-04-24 20:32:49 +00:00
Daniel D. Daugherty
328e512d12 8306780: ProblemList java/lang/Thread/virtual/HoldsLock.java#id0 in Xcomp
Reviewed-by: darcy
2023-04-24 19:35:51 +00:00
Aleksey Shipilev
937dd3456c 8306775: Problemlist runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java
Reviewed-by: dcubed
2023-04-24 19:29:42 +00:00
Michael McMahon
314db55f6d 8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Aleksey Shipilev
6b81342c22 8305994: Guarantee eventual async monitor deflation
Reviewed-by: simonis, stuefe, dcubed
2023-04-24 17:02:59 +00:00
Kevin Walls
41d6be4d80 8301065: Handle control characters in java_lang_String::print
Reviewed-by: iklam, dholmes
2023-04-24 16:33:54 +00:00
Daniel D. Daugherty
4b23bef51d 8301377: adjust timeout for JLI GetObjectSizeIntrinsicsTest.java subtest again
8302607: increase timeout for ContinuousCallSiteTargetChange.java
8305502: adjust timeouts in three more M&M tests

Reviewed-by: naoto, lmesnik, thartmann
2023-04-24 16:10:44 +00:00
Naoto Sato
f32adaf89f 8304836: Make MALLOC_MIN4 macro more robust
Reviewed-by: bchristi
2023-04-24 15:37:35 +00:00
Christian Stein
2763cf14e6 8304896: Update to use jtreg 7.2
Reviewed-by: erikj, lmesnik, iris
2023-04-24 15:36:19 +00:00
Johan Sjölen
b2ccc9731e 8306444: Don't leak memory in PhaseChaitin::PhaseChaitin
Reviewed-by: kvn, roland
2023-04-24 15:13:24 +00:00
Christoph Langer
d980cb4879 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Reviewed-by: shade, goetz
2023-04-24 15:00:09 +00:00
Matias Saavedra Silva
62acc882bf 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread
Reviewed-by: ccheung
2023-04-24 14:13:53 +00:00
Coleen Phillimore
7400aff3b8 8305252: make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
2023-04-24 12:55:15 +00:00
Vladimir Kempik
f239695b56 8305056: Avoid unaligned access in emit_intX methods if it's unsupported
Reviewed-by: aph
2023-04-24 11:31:49 +00:00
Alexander Zvegintsev
136dad7197 8306566: Open source several clipboard AWT tests
Reviewed-by: serb
2023-04-24 10:56:50 +00:00
Albert Mingkun Yang
30fa50d158 8305062: Refactor CardTable::resize_covered_region
Reviewed-by: tschatzl, iwalulya
2023-04-24 10:27:16 +00:00
Ivan Walulya
4a9f8efa86 8057586: Explicit GC ignored if GCLocker is active
Reviewed-by: tschatzl, ayang
2023-04-24 08:47:23 +00:00
Leo Korinth
ce493dda90 8306435: Juggle04/TestDescription.java should be a booleanArr test and not a byteArr one
Reviewed-by: tschatzl, lmesnik, shade
2023-04-24 08:02:40 +00:00
Prasanta Sadhukhan
f7d45b85a5 8306076: Open source AWT misc tests
Reviewed-by: serb
2023-04-24 07:51:47 +00:00
Ramkumar Sunderbabu
4900517479 8306636: Disable compiler/c2/Test6905845.java with -XX:TieredStopAtLevel=3
Reviewed-by: kvn
2023-04-24 02:19:10 +00:00
Afshin Zafari
0f51e63263 8305590: Remove nothrow exception specifications from operator new
Reviewed-by: coleenp, kbarrett
2023-04-23 15:20:18 +00:00
Alexander Zuev
8d696aea9e 8306575: Clean up and open source four Dialog related tests
Reviewed-by: prr
2023-04-22 00:14:51 +00:00
Harshitha Onkar
9ed456fac8 8306634: Open source AWT Event related tests
Reviewed-by: prr, serb
2023-04-21 23:56:04 +00:00
Calvin Cheung
b2240bf870 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Reviewed-by: iklam
2023-04-21 22:11:40 +00:00
Mikael Vidstedt
cb158ffb8a 8296153: Bump minimum boot jdk to JDK 20
Reviewed-by: erikj, darcy, iris
2023-04-21 20:51:50 +00:00
Sergey Bylokhov
117c5b116b 8279216: Investigate implementation of premultiplied alpha in the Little-CMS 2.13
Reviewed-by: prr
2023-04-21 19:17:39 +00:00
Ioi Lam
723037a79d 8298048: Combine CDS archive heap into a single block
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: matsaave, tschatzl
2023-04-21 15:29:45 +00:00
Thomas Schatzl
d518dbf726 8306440: Rename PSS:_num_optional_regions to _max_num_optional_regions
Reviewed-by: ayang, iwalulya
2023-04-21 14:16:34 +00:00
Thomas Schatzl
9cd5741c14 8306436: Rename PSS*:_n_workers to PSS*:_num_workers
Reviewed-by: ayang, iwalulya
2023-04-21 14:05:16 +00:00
Johan Sjölen
6e77e14fdb 8306456: Don't leak _worklist's memory in PhaseLive::compute
Reviewed-by: kvn, dlong
2023-04-21 13:36:36 +00:00
Leonid Mesnik
be6031b87d 8303703: Add support of execution tests using virtual thread factory jtreg plugin
Reviewed-by: erikj, jpai
2023-04-21 13:31:45 +00:00
Christoph Langer
5a00617b1b 8306543: GHA: MSVC installation is failing
Reviewed-by: shade, mdoerr
2023-04-21 11:34:36 +00:00
Oli Gillespie
3da987adac 8306075: Micro-optimize Enum.hashCode
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: redestad, shade, rriggs, liach, apangin, jvernee
2023-04-21 09:51:36 +00:00
Doug Simon
fdaabd6eec 8306581: JVMCI tests failed when run with -XX:TypeProfileLevel=222 after JDK-8303431
Reviewed-by: never, kvn
2023-04-21 07:13:50 +00:00
Jayathirth D V
36ec05d52a 8306430: Open source some AWT tests related to TextComponent and Toolkit
Reviewed-by: serb
2023-04-21 05:38:17 +00:00
Prasanta Sadhukhan
8346ae2bc1 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
2023-04-21 02:51:12 +00:00
Prasanta Sadhukhan
9a68d1d952 8306060: Open source few AWT Insets related tests
Reviewed-by: serb, prr
2023-04-21 02:42:55 +00:00
sunguoyun
2c70828e7d 8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
Reviewed-by: dholmes, fyang, aph
2023-04-21 00:47:24 +00:00
Justin Lu
ffb2494de4 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
2023-04-20 21:20:08 +00:00
Justin Lu
174c1a6d53 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
2023-04-20 21:11:00 +00:00
Coleen Phillimore
f63362310e 8306474: Move InstanceKlass read-only flags
Reviewed-by: jrose, dholmes
2023-04-20 19:20:03 +00:00
Coleen Phillimore
afd2501fcc 8306482: Remove unused Method AccessFlags
Reviewed-by: dholmes, matsaave
2023-04-20 19:13:14 +00:00
Harshitha Onkar
d6cf4aa155 8305874: Open source AWT Key, Text Event related tests
Reviewed-by: azvegint
2023-04-20 18:34:19 +00:00
Xin Liu
9412c0a2ca 8297302: gtest/AsyncLogGtest.java fails AsyncLogTest.stdoutOutput_vm
Reviewed-by: dholmes, shade
2023-04-20 17:02:53 +00:00
Peter Hofer
20b1d19d26 8305746: InitializeEncoding should cache Charset object instead of charset name
Reviewed-by: naoto
2023-04-20 16:11:29 +00:00
Brian Burkhalter
955abcae55 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
Reviewed-by: alanb
2023-04-20 15:38:11 +00:00
Lance Andersen
c6a288dcd6 8305945: (zipfs) Opening a directory to get input stream produces incorrect exception message
Reviewed-by: naoto, cstein
2023-04-20 14:09:25 +00:00
Albert Mingkun Yang
73018b39cd 8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
2023-04-20 13:02:36 +00:00
Zixian Cai
33a7978e85 8306538: Zero variant build failure after JDK-8257967
Reviewed-by: shade, dholmes
2023-04-20 12:41:50 +00:00
Amit Kumar
9c2e5b3871 8306459: s390x: Replace NULL to nullptr
Reviewed-by: mdoerr
2023-04-20 12:28:26 +00:00
Stefan Karlsson
6a7dff30ed 8305880: Loom: Avoid putting stale object pointers in oops
Reviewed-by: eosterlund, aboldtch
2023-04-20 09:18:28 +00:00
Matthias Baesken
310aa93478 8304291: [AIX] Broken build after JDK-8301998
Reviewed-by: mdoerr, tsteele, prr
2023-04-20 07:07:00 +00:00
Prasanta Sadhukhan
64ed816ad9 8305943: Open source few AWT Focus related tests
Reviewed-by: prr, serb
2023-04-20 02:35:05 +00:00
Jaikiran Pai
b8f0a668dd 8041676: remove the java.compiler system property
Reviewed-by: dholmes, alanb, rriggs, iris
2023-04-20 01:49:31 +00:00
Phil Race
781d6d793a 8306372: Open source AWT CardLayout and Checkbox tests
Reviewed-by: serb, honkar
2023-04-19 20:53:51 +00:00
Alexander Zvegintsev
d03128d0e5 8306280: Open source several choice AWT tests
Reviewed-by: jdv, prr, serb
2023-04-19 18:55:13 +00:00
Aleksey Shipilev
e764e9b740 8306452: Fix Amazon copyright in JDK-8305425 test
Reviewed-by: simonis
2023-04-19 18:36:07 +00:00
William Kemper
ed34e7f5ae 8306321: Add an accessor for the top of a PLAB
Reviewed-by: shade, ysr
2023-04-19 18:32:48 +00:00
Phil Race
fdb4bafa31 8306134: Open source some AWT tests relating to Button and a few other classes
Reviewed-by: azvegint
2023-04-19 17:37:16 +00:00
Alexander Zuev
4ad3ac6317 8306135: Clean up and open source some AWT tests
Reviewed-by: azvegint
2023-04-19 16:56:00 +00:00
Naoto Sato
85de01e676 8306323: Update license files in CLDR v43
Reviewed-by: lancea, srl, iris
2023-04-19 16:04:58 +00:00
Doug Simon
48fd4f2bd3 8303431: [JVMCI] libgraal annotation API
Reviewed-by: kvn, never, darcy
2023-04-19 16:01:57 +00:00
Oliver Kopp
c57af319f6 8306038: SystemModulesPlugin generates code that doesn't pop when return value not used
Reviewed-by: alanb, mchung
2023-04-19 15:56:34 +00:00
Fredrik Bredberg
a31a11f44a 8306006: strace001.java fails due to unknown methods on stack
Reviewed-by: rehn, alanb, dholmes
2023-04-19 15:04:27 +00:00
Coleen Phillimore
ddb86469e0 8306123: Move InstanceKlass writeable flags
Reviewed-by: iklam, fparain
2023-04-19 14:06:02 +00:00
Coleen Phillimore
1a41e12c22 8306310: Move is_shared Klass flag
Reviewed-by: iklam, fparain
2023-04-19 14:04:19 +00:00
Markus Grönlund
c738c8ea3e 8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Reviewed-by: sspitsyn, dholmes, mbaesken
2023-04-19 10:59:10 +00:00
William Kemper
9fb53adfe0 8305716: Enhancements for printing age tables
Reviewed-by: kdnilsen, ysr, tschatzl
2023-04-19 07:43:36 +00:00
Matthias Baesken
ebba42ac52 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
2023-04-19 07:22:56 +00:00
Richard Reingruber
42b7260e8b 8306111: PPC64: RT call after thaw with exception requires larger ABI section
Reviewed-by: mdoerr
2023-04-19 07:18:26 +00:00
Ioi Lam
c7faf60201 8305757: Call Method::compute_has_loops_flag() when creating CDS archive
Reviewed-by: coleenp, ccheung
2023-04-19 02:53:02 +00:00
Aleksei Efimov
eb8d8cdddd 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
2023-04-18 23:21:21 +00:00
Kevin Walls
77df3152c8 8296692: Improve String platform support
Reviewed-by: rhalade, amenkov, michaelm
2023-04-18 23:21:21 +00:00
Sean Mullan
f098b490f1 8298310: Enhance TLS session negotiation
Reviewed-by: rhalade, mschoene, weijun, ascarpino
2023-04-18 23:21:21 +00:00
Prasanta Sadhukhan
9e56d100df 8296832: Improve Swing platform support
Reviewed-by: skoivu, kizune, rhalade, prr
2023-04-18 23:21:21 +00:00
Joe Wang
2e5700a92c 8288436: Improve Xalan supports
Reviewed-by: smarks, ahgross, rhalade, lancea, naoto
2023-04-18 23:21:21 +00:00
Kevin Walls
b1c34c03d7 8296684: Improve String platform support
Reviewed-by: amenkov, michaelm, rhalade
2023-04-18 23:21:20 +00:00
Jamil Nimeh
14aad787a8 8294474: Better AES support
Reviewed-by: ahgross, ascarpino
2023-04-18 23:21:20 +00:00
Brian Burkhalter
a0f7ae1a95 8298667: Improved path handling
Reviewed-by: rhalade, alanb
2023-04-18 23:21:20 +00:00
Michael McMahon
ec119716e5 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Naoto Sato
5ec0120152 8297371: Improve UTF8 representation redux
Reviewed-by: rhalade, bchristi
2023-04-18 23:21:20 +00:00
Ian Graves
3656939a6a 8295304: Runtime support improvements
Reviewed-by: rhalade, rriggs, bchristi
2023-04-18 23:21:20 +00:00
Daniel Jeliński
c06135b5a6 8287404: Improve ping times
Reviewed-by: alanb, dfuchs, rhalade
2023-04-18 23:21:20 +00:00
Calvin Cheung
1b5d35ad2c 8306059: improve the reliability of TestSerialGCWithCDS.java and ArchiveRelocationTest.java tests
Reviewed-by: iklam
2023-04-18 21:23:42 +00:00
Markus Grönlund
0f3828dddd 8306282: Build failure linux-arm32-open-cmp-baseline after JDK-8257967
Reviewed-by: egahlin, iklam
2023-04-18 16:00:40 +00:00
Aleksey Shipilev
803680f17a 8306289: 32-bit build failures after JDK-8303422
Reviewed-by: jiefu, zgu
2023-04-18 15:33:39 +00:00
Daniel Jeliński
e97fe081ad 8306279: Build failure after JDK-8299592
Reviewed-by: thartmann
2023-04-18 12:55:14 +00:00
Matthias Baesken
3c7ab80501 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Reviewed-by: lucy, aivanov
2023-04-18 11:10:57 +00:00
Daniel Jeliński
3bba899574 8299592: Fix and reenable warnings in java.desktop native code compilation
Reviewed-by: ihse, aivanov
2023-04-18 09:43:08 +00:00
Johan Sjölen
896207de14 8306077: Replace NEW_ARENA_ARRAY with NEW_RESOURCE_ARRAY when applicable in opto
Reviewed-by: thartmann
2023-04-18 09:00:20 +00:00
Johan Sjölen
54f7b6ca34 8301497: Replace NULL with nullptr in cpu/s390
Reviewed-by: amitkumar, coleenp
2023-04-18 08:59:31 +00:00
Roland Westrelin
8ecb5dfa34 8305781: compiler/c2/irTests/TestVectorizationMultiInvar.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, kvn
2023-04-18 08:54:55 +00:00
Guoxiong Li
49726ee3a9 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Reviewed-by: kvn, thartmann
2023-04-18 08:01:32 +00:00
Richard Reingruber
445ebef437 8305668: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2
Reviewed-by: mdoerr
2023-04-18 06:59:51 +00:00
Matias Saavedra Silva
e3ece365ce 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
Reviewed-by: iklam, coleenp, fparain
2023-04-17 21:38:46 +00:00
Brent Christian
bb1a7bb3e1 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
Reviewed-by: kbarrett, alanb, bpb
2023-04-17 20:40:47 +00:00
Brian Burkhalter
8858d54342 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
Reviewed-by: alanb
2023-04-17 20:17:23 +00:00
Jonathan Gibbons
525a91e3fa 8305673: Convert DocCommentParser to use enhanced switch
Reviewed-by: hannesw
2023-04-17 19:04:31 +00:00
Phil Race
6831f9db8b 8278583: Open source SwingMark - Swing performance benchmark
Reviewed-by: serb, aghaisas, avu
2023-04-17 18:03:29 +00:00
Tom Rodriguez
497f9e760d 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
Reviewed-by: eosterlund, dnsimon
2023-04-17 16:45:56 +00:00
Naoto Sato
4ed933cf77 8296248: Update CLDR to Version 43.0
Reviewed-by: joehw
2023-04-17 16:35:36 +00:00
Patricio Chilano Mateo
7360960454 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
Reviewed-by: rrich, rehn
2023-04-17 14:40:29 +00:00
Albert Mingkun Yang
cc60f2ff3f 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:27:13 +00:00
Albert Mingkun Yang
fb58d77e92 8305192: serial GC fails "assert(Universe::on_page_boundary(bottom) && Universe::on_page_boundary(end)) failed: invalid space boundaries"
Reviewed-by: iwalulya, tschatzl
2023-04-17 12:23:17 +00:00
Kirill A. Korinsky
7551529854 8305995: Footprint regression from JDK-8224957
Reviewed-by: kvn, thartmann
2023-04-17 12:22:26 +00:00
Erik Österlund
02347d0cec 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Reviewed-by: kvn, rcastanedalo, aph, mdoerr
2023-04-17 12:14:57 +00:00
Erik Österlund
2240c7ec2f 8305543: Ensure GC barriers for arraycopy on AArch64 use caller saved neon temp registers
Reviewed-by: rcastanedalo, aph
2023-04-17 12:13:12 +00:00
Albert Mingkun Yang
1958f0e8bd 8305233: G1: Refactor G1ClearCardTableTask
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:00:01 +00:00
Albert Mingkun Yang
dbd2b5f89f 8305892: G1: Fix G1MMUTracker::when_sec documentation
Reviewed-by: iwalulya, tschatzl
2023-04-17 11:59:11 +00:00
Emanuel Peter
c0b4957fcc 8305740: C2: add print statements to assert: Can't determine return type.
Reviewed-by: kvn, thartmann
2023-04-17 10:32:32 +00:00
Markus Grönlund
5c95bb1c51 8257967: JFR: Events for loaded agents
Reviewed-by: dholmes, sspitsyn
2023-04-17 10:25:36 +00:00
Varada M
2a062f1654 8305089: Implement missing socket options on AIX
Reviewed-by: erikj, jpai, vtewari, djelinski, dfuchs
2023-04-17 07:30:23 +00:00
Eirik Bjorsnos
7f56de8f78 8306036: Use @apiNote in String.toLowerCase, String.toUpperCase
Reviewed-by: alanb, jpai
2023-04-17 05:24:50 +00:00
Valerie Peng
e575924131 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex
Reviewed-by: mpowers, weijun
2023-04-17 04:47:40 +00:00
Kim Barrett
caa841d9a5 8306029: ProblemList runtime/ErrorHandling/TestDwarf.java on linux
Reviewed-by: stuefe
2023-04-15 05:15:10 +00:00
Jiangli Zhou
314bad3613 8305935: Resolve multiple definition of 'jmm_<interface|version>' when statically linking with JDK native libraries
Reviewed-by: dholmes
2023-04-14 21:13:11 +00:00
William Kemper
793da60ee8 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: rkennke, ysr
2023-04-14 20:37:35 +00:00
Afshin Zafari
2cc4bf1a9d 8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
2023-04-14 17:52:17 +00:00
Julian Waters
5a7886575e 8304930: Enable Link Time Optimization as an option for Visual C++
Reviewed-by: erikj
2023-04-14 17:18:28 +00:00
Roger Riggs
30a140b5a2 8304912: Use OperatingSystem enum in java.desktop module
Reviewed-by: bpb, prr, aturbanov
2023-04-14 16:42:18 +00:00
Coleen Phillimore
1fd400608e 8305405: Compile_lock not needed in Universe::genesis()
Reviewed-by: dholmes, fparain
2023-04-14 15:34:29 +00:00
Coleen Phillimore
ebeee6dce8 8305404: Compile_lock not needed for InstanceKlass::implementor()
Reviewed-by: eosterlund, fparain
2023-04-14 15:32:51 +00:00
Johan Sjölen
d2ce04bb10 8301496: Replace NULL with nullptr in cpu/riscv
Reviewed-by: dholmes, fyang
2023-04-14 09:53:46 +00:00
Viktor Klang
54bf370079 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
2023-04-14 09:16:16 +00:00
Johan Sjölen
0826ceee65 8301495: Replace NULL with nullptr in cpu/ppc
Reviewed-by: rrich, mdoerr, tsteele
2023-04-14 08:54:53 +00:00
Leo Korinth
c0c31224db 8305618: Move gcold out of tier1
Reviewed-by: lmesnik, shade
2023-04-14 08:50:31 +00:00
sunguoyun
3651b92229 8305944: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: stefank, tschatzl
2023-04-14 08:48:44 +00:00
Richard Reingruber
12358e6c94 8305934: PPC64: Disable VMContinuations on Big Endian
Reviewed-by: mdoerr, tsteele
2023-04-14 06:42:55 +00:00
Sergey Tsypanov
287bb06def 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
2023-04-14 06:21:39 +00:00
David Holmes
8a1639d49b 8305936: JavaThread::create_system_thread_object has unused is_visible argument
Reviewed-by: alanb, kbarrett
2023-04-13 23:10:18 +00:00
Matthew Donovan
76cda9f44a 8255548: Missing coverage for javax.xml.crypto.dom.DOMCryptoContext
Reviewed-by: rhalade, mullan
2023-04-13 20:37:39 +00:00
Kevin Driver
b60604e8eb 8305794: Unused interface sun.security.util.PermissionFactory can be removed
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: mullan, aturbanov
2023-04-13 18:46:21 +00:00
Leonid Mesnik
92521b100f 8305875: Test TraceVirtualThreadLocals should be run with continuations only
Reviewed-by: alanb
2023-04-13 16:39:25 +00:00
Leonid Mesnik
00eb348a52 8305937: com/sun/jdi/SetLocalWhileThreadInNative.java fails with -XX:+TieredCompilation
Reviewed-by: dcubed
2023-04-13 16:02:17 +00:00
Daniel D. Daugherty
1385c3d2f1 8305966: ProblemList com/sun/jdi/JdbLastErrorTest.java on windows-x64
Reviewed-by: alanb
2023-04-13 15:50:24 +00:00
Daniel Fuchs
90b4006bce 8305847: Improve diagnosability and resilience of HttpClient::close tests
Reviewed-by: jpai, djelinski
2023-04-13 15:27:45 +00:00
Harshitha Onkar
d7dc474a5a 8305712: [MacOS] Deprecated Cocoa-NSEvent names
Reviewed-by: dmarkov, prr
2023-04-13 15:26:47 +00:00
Archie L. Cobbs
e0620b8e05 8296420: javac has long lines in its command-line help
Reviewed-by: jjg
2023-04-13 15:08:55 +00:00
Jonathan Dowland
6b9b7d1d92 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: stuefe
2023-04-13 12:02:14 +00:00
Jim Laskey
2060c8ea14 8305688: jdk build --with-memory-size=1024 broken by JDK-8305100
Reviewed-by: martin
2023-04-13 11:42:00 +00:00
Jaikiran Pai
646b666a26 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: dfuchs
2023-04-13 09:41:01 +00:00
Thomas Stuefe
fb9a29d732 8305414: gtest/NMTGtests.java is failing various sub-tests
Reviewed-by: rkennke, adinn
2023-04-13 07:47:34 +00:00
Quan Anh Mai
e846a1d700 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, xgong, jbhateja, vlivanov
2023-04-13 07:02:28 +00:00
Jaikiran Pai
3f36dd811e 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Eirik Bjorsnos
425ef0685c 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
2023-04-12 21:44:21 +00:00
Jiangli Zhou
2bbbff209d 8305858: Resolve multiple definition of 'handleSocketError' when statically linking with JDK native libraries
Reviewed-by: alanb
2023-04-12 20:42:05 +00:00
Leonid Mesnik
bc15163386 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[])
Reviewed-by: cjplummer, dholmes
2023-04-12 17:44:38 +00:00
quadhier
19380d74e4 8305324: C2: Wrong execution of vectorizing Interger.reverseBytes
Reviewed-by: kvn, pli
2023-04-12 17:08:26 +00:00
Bill Huang
87017b5199 8295859: Update Manual Test Groups
Reviewed-by: msheppar
2023-04-12 16:08:34 +00:00
Quan Anh Mai
99a9dbc8f1 8305783: x86_64: Optimize AbsI and AbsL
Reviewed-by: jkarthikeyan, thartmann
2023-04-12 13:48:52 +00:00
Johannes Bechberger
d8af7a6014 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Reviewed-by: dholmes, stuefe, mbaesken
2023-04-12 06:49:10 +00:00
Pengfei Li
b9bdbe9ab3 8305524: AArch64: Fix arraycopy issue on SVE caused by matching rule vmask_gen_sub
Reviewed-by: aph, xgong
2023-04-12 03:15:39 +00:00
Xin Liu
82e8b0332b 8305203: Simplify trimming operation in Region::Ideal
Reviewed-by: thartmann, kvn
2023-04-12 00:37:15 +00:00
Bill Huang
27cf63853c 8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
Reviewed-by: msheppar
2023-04-11 21:39:03 +00:00
Justin King
42fa000a7d 8305484: Compiler::init_c1_runtime unnecessarily uses an Arena that lives for the lifetime of the process
Reviewed-by: thartmann, kvn
2023-04-11 19:50:01 +00:00
Brian Burkhalter
475e9a7cad 8305809: (fs) Review obsolete Linux kernel dependency on os.version (Unix kernel 2.6.39)
Reviewed-by: rriggs, alanb
2023-04-11 16:59:11 +00:00
Alexey Semenyuk
1de772cd89 8294806: jpackaged-app ignores splash screen from jar file
Reviewed-by: almatvee
2023-04-11 16:16:07 +00:00
Thomas Schatzl
d9db90636f 8305368: G1 remset chunk claiming may use relaxed memory ordering
Reviewed-by: ayang, iwalulya
2023-04-11 16:06:10 +00:00
Thomas Schatzl
c789d24039 8305370: Inconsistent use of for_young_only_phase parameter in G1 predictions
Reviewed-by: iwalulya, kbarrett
2023-04-11 16:04:12 +00:00
Aleksei Voitylov
c6d7cf6b48 8305663: Wrong iteration order of pause array in g1MMUTracker
Reviewed-by: ayang, tschatzl
2023-04-11 16:03:13 +00:00
Jiangli Zhou
ce4b995556 8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries
Reviewed-by: alanb, kevinw
2023-04-11 15:05:44 +00:00
Tom Rodriguez
12946f5748 8305419: JDK-8301995 broke building libgraal
Reviewed-by: matsaave, dnsimon, thartmann
2023-04-11 14:55:55 +00:00
Mark Powers
9486969bd3 8302696: Revert API signature changes made in JDK-8285504 and JDK-8285263
Reviewed-by: mullan
2023-04-11 14:42:44 +00:00
Matias Saavedra Silva
628a3f173a 8304738: UnregisteredClassesTable_lock never created
Reviewed-by: iklam, jcking, dholmes
2023-04-11 14:03:10 +00:00
Leonid Mesnik
7a5597c34f 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: kvn, sspitsyn
2023-04-11 13:55:20 +00:00
Chen Liang
e5ce7d9e43 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc
Reviewed-by: mchung
2023-04-11 13:40:56 +00:00
Julian Waters
cd7d53c88c 8304717: Declaration aliasing between boolean and jboolean is wrong
Reviewed-by: dholmes
2023-04-11 06:52:34 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Matthew Donovan
39398075b7 8182621: JSSE should reject empty TLS plaintexts
Reviewed-by: xuelei
2023-04-11 04:21:17 +00:00
Feilong Jiang
137513025d 8305728: RISC-V: Use bexti instruction to do single-bit testing
Reviewed-by: fyang, yzhu
2023-04-11 03:00:54 +00:00
Eirik Bjorsnos
4485737e9b 8304501: Remove orphaned demo netbeans projects
Reviewed-by: serb
2023-04-11 00:17:02 +00:00
Chen Liang
0ff2ff6789 8305807: Spurious right brace in ConstantDescs field Javadocs
Reviewed-by: mchung, iris
2023-04-10 22:54:32 +00:00
Justin Lu
2aeb0e5267 6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
2023-04-10 21:47:16 +00:00
Justin Lu
42965d390c 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Reviewed-by: naoto
2023-04-10 21:46:31 +00:00
Mandy Chung
a43a17c8ea 8305808: Typo in javadoc of ConstantDescs::BSM_VARHANDLE_STATIC_FIELD
Reviewed-by: rriggs, iris
2023-04-10 20:50:50 +00:00
Roger Riggs
ba90dc7795 8304911: Use OperatingSystem enum in some modules
Reviewed-by: naoto, lancea, iris, jpai
2023-04-10 15:51:01 +00:00
Lance Andersen
76975da59e 8305758: Update the JAR tool man page to indicate -i/--generate-file is deprecated
Reviewed-by: alanb, jpai
2023-04-10 14:11:51 +00:00
Eirik Bjorsnos
0d45a524b3 8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
2023-04-10 11:23:21 +00:00
Vladimir Petko
0243da2e4a 8305481: gtest is_first_C_frame failing on ARM
Reviewed-by: stuefe
2023-04-10 09:21:23 +00:00
Eirik Bjorsnos
a8e3a2dd2f 8205129: Remove java.lang.Compiler
Reviewed-by: alanb, jpai
2023-04-10 08:32:19 +00:00
Prasanta Sadhukhan
db174a15d1 4825182: DefaultBoundedRangeModel.setMinimum() changes extent unnecessarily
Reviewed-by: prr
2023-04-10 07:21:23 +00:00
Ajit Ghaisas
969a6b9fd7 8304825: MacOS metal pipeline - window isn't painted if created during display sleep
Reviewed-by: kcr, avu, prr
2023-04-10 04:52:35 +00:00
Weijun Wang
97276859ab 8305310: Calculate PublicKey from PrivateKey
Reviewed-by: mullan
2023-04-10 00:55:16 +00:00
Andrey Turbanov
50d7335206 8305696: (zipfs) Avoid redundant LinkedHashMap.containsKey call ZipFileSystem.makeParentDirs
Reviewed-by: alanb, jpai, lancea
2023-04-09 11:21:48 +00:00
Jaikiran Pai
ec9d816abf 6441827: Documentation mentions nonexistent NullReferenceException
Reviewed-by: iris
2023-04-09 01:30:47 +00:00
Joshua Cao
9e20382311 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: erikj, jwaters
2023-04-08 13:17:33 +00:00
Ioi Lam
f45b01f883 8305766: ProblemList runtime/CompressedOops/CompressedClassPointers.java
Reviewed-by: cjplummer
2023-04-08 03:29:27 +00:00
Jonathan Gibbons
a8871f5d26 8305407: ExternalSpecsWriter should ignore white-space differences in spec titles
Reviewed-by: hannesw
2023-04-07 14:15:46 +00:00
Roland Westrelin
6b2a86a65e 8300257: C2: vectorization fails on some simple Memory Segment loops
Reviewed-by: kvn, thartmann
2023-04-07 12:51:44 +00:00
Nikita Gubarkov
dc81603cbf 8305666: Add system property for fair AWT lock
Reviewed-by: prr
2023-04-07 10:06:51 +00:00
Thomas Stuefe
c67bbcea92 8305711: Arm: C2 always enters slowpath for monitorexit
Reviewed-by: shade, kvn
2023-04-07 05:57:16 +00:00
Guoxiong Li
ce6e7461dc 8305118: Add RISC-V related content to building.md
Reviewed-by: erikj
2023-04-07 00:58:36 +00:00
Joshua Cao
314e9b3dcc 8300829: Make CtwRunner available as an independent tool
Reviewed-by: xliu, phh
2023-04-07 00:28:04 +00:00
Kevin Walls
0a34018797 8305680: Remove Permissions from jcmd help output
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:56 +00:00
Kevin Walls
8db1dd0258 8305622: Remove Permission details from jcmd man page
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:08 +00:00
Chris Plummer
1d517afbd4 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table
Reviewed-by: sspitsyn, lmesnik
2023-04-06 19:13:27 +00:00
Viktor Klang
08fbb7bb5e 8272119: Typo in JDK documentation (a -> an)
Reviewed-by: dfuchs, mchung, iris
2023-04-06 15:50:13 +00:00
Quan Anh Mai
536ad9df1a 8305461: [vectorapi] Add VectorMask::xor
Reviewed-by: psandoz
2023-04-06 15:33:16 +00:00
Leonid Mesnik
ddd50d0db3 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"
Reviewed-by: cjplummer, sspitsyn
2023-04-06 14:11:40 +00:00
Matias Saavedra Silva
ce10460e94 8274166: Some CDS tests ignore -Dtest.cds.runtime.options
Reviewed-by: dholmes, iklam, aturbanov
2023-04-06 13:59:08 +00:00
Sergey Tsypanov
e52a2aeeac 8304745: Lazily initialize byte[] in java.io.BufferedInputStream
Reviewed-by: liach, bpb, jpai
2023-04-06 11:17:21 +00:00
Daniel Fuchs
6580c4e631 8267140: Support closing the HttpClient by making it auto-closable
Reviewed-by: jpai
2023-04-06 10:05:20 +00:00
Tingjun Yuan
b5ea140dff 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
2023-04-06 06:35:19 +00:00
Vladimir Petko
a6a3cf485d 8305480: test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java failing on 32 bit arm
Reviewed-by: stuefe, dholmes
2023-04-06 05:06:15 +00:00
Leonid Mesnik
35d22930bb 8305607: Remove some unused test parameters in com/sun/jdi tests
Reviewed-by: sspitsyn, amenkov, cjplummer
2023-04-06 03:32:12 +00:00
Serguei Spitsyn
5764119024 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads
Reviewed-by: dholmes, alanb
2023-04-06 01:30:31 +00:00
Mandy Chung
312702567a 8305600: java/lang/invoke/lambda/LogGeneratedClassesTest.java fails after JDK-8304846 and JDK-8202110
Reviewed-by: jvernee
2023-04-05 22:40:55 +00:00
David Holmes
35cb303a2c 8305425: Thread.isAlive0 doesn't need to call into the VM
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, coleenp, alanb
2023-04-05 21:54:38 +00:00
Daniel D. Daugherty
b5d204c3a4 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp
8305679: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-aarch64 with ZGC

Reviewed-by: mikael
2023-04-05 21:24:55 +00:00
Brian Burkhalter
507c49a3ab 8305664: [BACKOUT] (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-04-05 20:17:07 +00:00
Brian Burkhalter
39f12a88e7 8305596: (fc) Two java/nio/channels tests fail after JDK-8303260
Reviewed-by: alanb
2023-04-05 20:16:13 +00:00
Naoto Sato
44f33ad1a9 8304982: Emit warning for removal of COMPAT provider
Reviewed-by: alanb
2023-04-05 16:06:23 +00:00
Naoto Sato
ee3023359c 8305107: Emoji related binary properties in RegEx
Reviewed-by: iris, rriggs, jpai
2023-04-05 16:04:27 +00:00
Jonathan Gibbons
5919fad1f4 8305591: Cleanup use of newline flag in DocCommentParser
Reviewed-by: hannesw
2023-04-05 15:36:25 +00:00
Jonathan Gibbons
022290bdbd 8305620: Missing break in DocCommentParser inlineWord()
Reviewed-by: iris
2023-04-05 14:39:51 +00:00
Daniel D. Daugherty
2e59d21e56 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads
Reviewed-by: thartmann
2023-04-05 14:04:08 +00:00
Nikita Gubarkov
f69d88c57f 8301616: Drag & maximize to another monitor places window incorrectly (Windows)
Reviewed-by: avu, aivanov, serb
2023-04-05 13:41:51 +00:00
Matthias Baesken
a3137c750f 8305646: compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
Reviewed-by: alanb, shade
2023-04-05 13:27:16 +00:00
Adam Sotona
78ff454f19 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors
Reviewed-by: cjplummer, fparain
2023-04-05 13:19:27 +00:00
Tobias Holenstein
9f587d272f 8305644: IGV: Node text not updated when switching from/to CFG view
Reviewed-by: rcastanedalo, chagedorn
2023-04-05 12:09:27 +00:00
Jan Lahoda
4bf1987856 8296454: System.console() shouldn't return null in jshell
Reviewed-by: vromero
2023-04-05 10:35:01 +00:00
Jan Lahoda
2aec910ea4 8304883: Record Deconstruction causes bytecode error
Reviewed-by: vromero
2023-04-05 10:29:22 +00:00
Tobias Holenstein
0e0c022b1f 8305356: Fix ignored bad CompileCommands in tests
Reviewed-by: thartmann, chagedorn
2023-04-05 09:35:45 +00:00
Prasanta Sadhukhan
b659c35395 8068824: Exception thrown in JTableHeader after clicking on popupmenu opened with right-click on header
Reviewed-by: abhiscxk, aghaisas
2023-04-05 05:41:30 +00:00
Emanuel Peter
83a924a100 8304042: C2 SuperWord: schedule must remove packs with cyclic dependencies
Reviewed-by: kvn, thartmann
2023-04-05 04:52:11 +00:00
Abhishek Kumar
0ec3d2e363 7124527: [macosx] SwingSet2, label is not read by VoiceOver when focus is on textfield for Internalframe and Table demo.
Reviewed-by: asemenov, serb
2023-04-05 04:28:00 +00:00
Yoshiki Sato
ed9592c6e8 8305113: (tz) Update Timezone Data to 2023c
Reviewed-by: naoto, andrew, serb
2023-04-05 01:19:00 +00:00
Kevin Walls
15fa78e6e7 8305237: CompilerDirectives DCmds permissions correction
Reviewed-by: cjplummer, sspitsyn
2023-04-04 22:16:50 +00:00
Justin Lu
7cf24d1c06 8305400: ISO 4217 Amendment 175 Update
Reviewed-by: naoto
2023-04-04 21:02:33 +00:00
Justin Lu
a324fa2639 8225641: Calendar.roll(int field) does not work correctly for WEEK_OF_YEAR
Reviewed-by: naoto
2023-04-04 21:01:24 +00:00
Mandy Chung
3399fbf9fa 8305602: ProblemList java/lang/invoke/lambda/LogGeneratedClassesTest.java
Reviewed-by: dcubed
2023-04-04 19:10:44 +00:00
Brian Burkhalter
94a05e0caa 8305599: (fc) Temporarily problem-list java/nio/channels/{AsyncCloseAndInterrupt.java, FileChannel/Transfer.java}
Reviewed-by: alanb
2023-04-04 18:23:31 +00:00
Raffaello Giulietti
7c650489d2 8305343: BigDecimal.fractionOnly() erroneously returns true for large scale value
Reviewed-by: darcy
2023-04-04 18:09:04 +00:00
Mandy Chung
dd59471798 8304846: Provide a shared utility to dump generated classes defined via Lookup API
Reviewed-by: jvernee
2023-04-04 18:07:02 +00:00
Coleen Phillimore
2ee4245105 8305509: C1 fails "assert(k != nullptr) failed: illegal use of unloaded klass"
Reviewed-by: dcubed
2023-04-04 16:31:21 +00:00
Brian Burkhalter
7baccd9ee2 8303260: (fc) FileChannel::transferFrom should support position > size()
Reviewed-by: alanb
2023-04-04 15:57:56 +00:00
Brian Burkhalter
3ef834fc6f 8298619: java/io/File/GetXSpace.java is failing
Reviewed-by: rriggs
2023-04-04 15:56:51 +00:00
Leonid Mesnik
c59411929d 8305511: Remove ignore from com/sun/jdi/PopAndInvokeTest.java
Reviewed-by: cjplummer, sspitsyn
2023-04-04 14:39:56 +00:00
Amit Kumar
62bd2ebac4 8303147: [s390x] fast & slow debug builds are broken
Reviewed-by: mdoerr
2023-04-04 14:28:09 +00:00
Deepa Kumari
f9ed825266 8303082: [AIX] Missing C++ name demangling with XLClang++
Reviewed-by: tsteele, mdoerr, stuefe
2023-04-04 14:26:24 +00:00
Jonathan Gibbons
73a084c24e 8305504: stutter typo in java.compiler files
Reviewed-by: darcy, iris
2023-04-04 14:08:30 +00:00
Thomas Stuefe
7b922104f5 8305525: Problemlist runtime/ErrorHandling/TestDwarf on x86
Reviewed-by: shade
2023-04-04 13:11:53 +00:00
Coleen Phillimore
5881b099f6 8305500: SystemDictionary::find_placeholder/find_class declared but not used
Reviewed-by: iklam, dholmes
2023-04-04 12:14:06 +00:00
Markus Grönlund
7ca2aec34c 8304033: JFR: Missing thread
Reviewed-by: egahlin, dholmes
2023-04-04 10:55:21 +00:00
Markus Grönlund
ac01e24eaf 8305242: Remove non-invariant assert(EventThreadDump::is_enabled())
Reviewed-by: egahlin
2023-04-04 10:53:46 +00:00
Jie Fu
a663d5d694 8305520: ToggleNotifyJvmtiTest.java fails with release VMs
Reviewed-by: sspitsyn
2023-04-04 07:33:21 +00:00
Emanuel Peter
24c6af0637 8173709: Fix VerifyLoopOptimizations - step 1 - minimal infrastructure
Reviewed-by: kvn, chagedorn, thartmann
2023-04-04 06:28:57 +00:00
David Holmes
a7546b3a16 8304996: Add missing HandleMarks
Reviewed-by: coleenp, shade, iklam
2023-04-04 02:04:47 +00:00
Eric Liu
ac898e9051 8303278: Imprecise bottom type of ExtractB/UB
Reviewed-by: qamai, thartmann
2023-04-04 01:18:10 +00:00
Serguei Spitsyn
a1a9ec6e46 8297286: runtime/vthread tests crashing after JDK-8296324
Reviewed-by: lmesnik, pchilanomate, cjplummer
2023-04-04 00:46:43 +00:00
Jonathan Gibbons
c6bd489cc8 8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Joe Darcy
ccbb0e8d89 8303798: REDO - Remove fdlibm C sources
Reviewed-by: alanb, iris, jwaters, erikj, kvn, dholmes
2023-04-03 23:57:01 +00:00
Ioi Lam
9ce5fdc962 8305421: Work around JDK-8305420 in CDSJDITest.java
Reviewed-by: cjplummer
2023-04-03 22:28:58 +00:00
Coleen Phillimore
b062b1bd81 8304743: Compile_lock and SystemDictionary updates
Reviewed-by: vlivanov, dholmes, dlong
2023-04-03 20:25:36 +00:00
Joe Darcy
df819cfa5a 8304945: StringBuilder and StringBuffer should implement Appendable explicitly
Reviewed-by: alanb, rriggs
2023-04-03 17:19:44 +00:00
Thomas Stuefe
312bbe7d75 8305485: Problemlist runtime/Thread/TestAlwaysPreTouchStacks.java
Reviewed-by: shade
2023-04-03 16:58:54 +00:00
Sergey Tsypanov
50e31e06d7 8305442: (bf) Direct and view implementations of CharBuffer.toString(int, int) do not need to catch SIOBE
Reviewed-by: alanb, bpb
2023-04-03 16:16:05 +00:00
Eirik Bjorsnos
85e3974470 8304014: Convert test/jdk/java/util/zip/ZipFile/CorruptedZipFiles.java to junit
Reviewed-by: lancea
2023-04-03 16:11:37 +00:00
Markus KARG
40aea04680 8278268: (ch) InputStream returned by Channels.newInputStream should have fast path for FileChannel targets
Reviewed-by: bpb
2023-04-03 15:45:29 +00:00
Jim Laskey
9b9b5a7a5c 8302323: Add repeat methods to StringBuilder/StringBuffer
Reviewed-by: tvaleev, redestad
2023-04-03 15:29:21 +00:00
Daniel D. Daugherty
dd7ca757a7 8305478: [REDO] disable gtest/NMTGtests.java sub-tests failing due to JDK-8305414
Reviewed-by: stuefe
2023-04-03 15:04:08 +00:00
Daniel Jeliński
f9827ad172 8288109: HttpExchangeImpl.setAttribute does not allow null value after JDK-8266897
Reviewed-by: dfuchs, jpai
2023-04-03 14:57:03 +00:00
Daniel D. Daugherty
6010de0f1d 8305417: disable gtest/NMTGtests.java sub-tests failing due to JDK-8305414
Reviewed-by: alanb
2023-04-03 13:52:14 +00:00
Matias Saavedra Silva
127afd3445 8241613: Suspicious calls to MacroAssembler::null_check(Register, offset)
Reviewed-by: dholmes, coleenp, fparain, adinn
2023-04-03 12:59:02 +00:00
Fredrik Bredberg
33d09e587a 8305247: On RISC-V generate_fixed_frame() sometimes generate a relativized locals value which is way too large
Reviewed-by: fyang, rehn
2023-04-03 12:38:13 +00:00
Jim Laskey
790acedaab 8305100: [REDO] Clean up JavadocTokenizer
Reviewed-by: jjg
2023-04-03 11:40:21 +00:00
Hannes Wallnöfer
2e91585ac9 8303123: Add line break opportunity to single type parameters
Reviewed-by: jjg
2023-04-03 10:39:56 +00:00
Hannes Wallnöfer
094e03de6a 8299718: JavaDoc: Buttons to copy specific documentation URL are not accessible
Reviewed-by: jjg
2023-04-03 10:37:19 +00:00
Martin Doerr
4de24cdbe6 8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag
Reviewed-by: dholmes, rehn
2023-04-03 09:37:16 +00:00
Erik Gahlin
336a23e70a 8303229: JFR: Preserve disk repository after exit
Reviewed-by: dholmes, mgronlun
2023-04-03 08:55:45 +00:00
Abhishek Kumar
ecec611af6 8283404: [macos] a11y : Screen magnifier does not show JMenu name
Reviewed-by: serb
2023-04-03 05:36:04 +00:00
Julian Waters
aa762102e9 8304893: Link Time Optimization with gcc can be faster
Reviewed-by: dholmes, erikj
2023-04-02 06:54:09 +00:00
Thomas Stuefe
b8c748dbe4 8294266: Add a way to pre-touch java thread stacks
Reviewed-by: rehn, gziemski
2023-04-02 06:21:30 +00:00
Thomas Stuefe
41a3db267d 8304815: Use NMT for more precise hs_err location printing
Reviewed-by: jsjolen, rkennke
2023-04-02 06:19:07 +00:00
Joshua Cao
34e66ce1ef 8304295: harfbuzz build fails with GCC 7 after JDK-8301998
Reviewed-by: shade, erikj, serb, jwaters
2023-04-01 14:36:52 +00:00
Afshin Zafari
a19b28ab3e 8297539: Use PrimitiveConversions::cast for local uses of the int<->float union conversion trick
Reviewed-by: coleenp, kbarrett, dholmes
2023-04-01 01:02:05 +00:00
Archie L. Cobbs
8eb4e7e07e 8277501: Revisit PathFileObject.getCharContent and friends
Reviewed-by: vromero, jjg
2023-03-31 23:17:56 +00:00
Joe Darcy
abfb900829 8304028: Port fdlibm IEEEremainder to Java
Reviewed-by: bpb
2023-03-31 19:48:03 +00:00
Martin Buchholz
a565be4dc5 8297605: improve DelayQueue removal method javadoc
Reviewed-by: alanb
2023-03-31 18:11:53 +00:00
Chen Liang
cccb0191a3 8304928: Optimize ClassDesc.resolveConstantDesc
Reviewed-by: mchung
2023-03-31 17:45:54 +00:00
Chen Liang
bdbf8fc61d 8303930: Fix ConstantUtils.skipOverFieldSignature void case return value
Reviewed-by: mchung
2023-03-31 17:14:44 +00:00
Amit Kumar
4a5d7ca7d9 8305227: [s390x] build broken after JDK-8231349
Reviewed-by: shade, lucy, kvn
2023-03-31 16:57:46 +00:00
Erik Gahlin
dae1ab3aad 8304844: JFR: Missing disk parameter in ActiveRecording event
Reviewed-by: mgronlun
2023-03-31 15:50:33 +00:00
Doug Simon
e012685051 8305066: [JVMCI] guarantee(ik->is_initialized()) failed: java/lang/Long$LongCache must be initialized
Reviewed-by: never, iveresov
2023-03-31 15:23:45 +00:00
Justin King
fe42312f9b 8304820: Statically allocate ObjectSynchronizer mutexes
Reviewed-by: dcubed, dholmes
2023-03-31 14:28:22 +00:00
Daniel Fuchs
2f36eb0121 8305323: Update java/net/httpclient/ContentLengthHeaderTest.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-31 13:48:20 +00:00
Tobias Holenstein
049b953f8f 8305223: IGV: mark osr compiled graphs with [OSR] in the name
Reviewed-by: thartmann, rcastanedalo, eliu
2023-03-31 12:10:21 +00:00
Roberto Castañeda Lozano
345669c29d 8302738: IGV: refine 'Simplify graph' filter
Reviewed-by: tholenstein, chagedorn
2023-03-31 12:03:47 +00:00
Fei Gao
dea9db2d0a 8305055: IR check fails on some aarch64 platforms
Reviewed-by: epeter, thartmann
2023-03-31 09:15:24 +00:00
Richard Reingruber
c8f3a97d46 8305171: PPC: Should use IMA::load_resolved_indy_entry() in TIG::generate_return_entry_for()
Reviewed-by: mdoerr
2023-03-31 08:59:02 +00:00
Amit Kumar
7fe5bd2bec 8305174: disable dtrace for s390x builds
Reviewed-by: erikj, lucy, mbaesken
2023-03-31 07:46:50 +00:00
Jaikiran Pai
787832a586 8304988: unnecessary dash in @param gives double-dash in docs
Reviewed-by: alanb, cjplummer
2023-03-31 04:59:53 +00:00
Dingli Zhang
a144c713b7 8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
Reviewed-by: fjiang, fyang
2023-03-31 01:22:54 +00:00
Justin Lu
d8158897c3 8304993: bad sentence break in DateFormat
Reviewed-by: rriggs, naoto, lancea, iris
2023-03-30 22:34:42 +00:00
Justin Lu
5f7b4b8e75 8305111: Locale.lookupTag has typo in parameter
Reviewed-by: lancea, iris, naoto
2023-03-30 22:33:59 +00:00
Xin Liu
83cf28f996 8305142: Can't bootstrap ctw.jar
Reviewed-by: shade, phh
2023-03-30 16:53:33 +00:00
Brian Burkhalter
05cc02b243 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-03-30 16:44:01 +00:00
Sergey Bylokhov
d2df36b073 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null)
Reviewed-by: prr
2023-03-30 16:12:25 +00:00
Mandy Chung
1d7bb1ffa0 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE
Reviewed-by: darcy, jpai, alanb
2023-03-30 16:07:47 +00:00
Per Minborg
9df2060059 8305157: The java.util.Arrays class should be declared final
Reviewed-by: alanb, rriggs, bpb
2023-03-30 09:24:35 +00:00
Ilya Korennoy
b261e6c43f 8304445: Remaining uses of NULL in ciInstanceKlass.cpp
Reviewed-by: thartmann
2023-03-30 08:57:25 +00:00
Tobias Holenstein
2c38e67b29 8302644: IGV: Apply filters per graph tab and not globally
Reviewed-by: rcastanedalo, chagedorn, thartmann
2023-03-30 08:12:10 +00:00
Severin Gehwolf
f0dba218ac 8304871: Use default visibility for static library builds
Reviewed-by: erikj, dholmes
2023-03-30 08:01:36 +00:00
Emanuel Peter
77811fa39b 8305222: Change unique_ctrl_out_or_null to unique_ctrl_out in PhaseCFG::convert_NeverBranch_to_Goto
Reviewed-by: kvn, thartmann
2023-03-30 07:26:38 +00:00
Daniel Jeliński
2d607c9cd1 8262294: java/net/httpclient/ProxyAuthDisabledSchemes.java fails with HTTP/1.1 parser received no bytes
Reviewed-by: dfuchs, jpai
2023-03-30 05:15:19 +00:00
Kim Barrett
b3ff8d1c89 8303805: [REDO] JDK-8302189 and JDK-8302799
Reviewed-by: dholmes, coleenp
2023-03-29 23:45:03 +00:00
Ioi Lam
b524a74165 8301106: Allow archived Java strings to be moved by GC
Reviewed-by: dholmes
2023-03-29 23:42:52 +00:00
Chris Plummer
9643f654da 8304436: com/sun/jdi/ThreadMemoryLeakTest.java fails with "OutOfMemoryError: Java heap space" with ZGC
8304449: com/sun/jdi/ThreadMemoryLeakTest.java times out

Reviewed-by: lmesnik, dcubed
2023-03-29 23:29:30 +00:00
Daniel Fuchs
69152c3b18 8305202: Fix Copyright Header in ZonedDateTimeFormatterBenchmark
Reviewed-by: rriggs, naoto, dcubed
2023-03-29 19:12:02 +00:00
Sergey Tsypanov
438c969b7b 8304976: Optimize DateTimeFormatterBuilder.ZoneTextPrinterParser.getTree()
Reviewed-by: naoto
2023-03-29 18:32:14 +00:00
Roger Riggs
d063b8964f 8303392: Runtime.exec and ProcessBuilder.start should use System logger
Reviewed-by: stuefe, alanb, mullan
2023-03-29 17:32:46 +00:00
SUN Guoyun
be764a711c 8302814: Delete unused CountLoopEnd instruct with CmpX
Reviewed-by: kvn, fjiang
2023-03-29 17:18:59 +00:00
Kim Barrett
34f4d7f4ad 8304759: Add BitMap iterators
Reviewed-by: stefank, aboldtch, tschatzl
2023-03-29 17:18:16 +00:00
Harshitha Onkar
42df1a99b7 8304991: Redundant hyphen in @param results in double-dash in javadocs
Reviewed-by: psadhukhan
2023-03-29 16:50:24 +00:00
Naoto Sato
e3855d0054 8304840: Dangling CharacterCodingException in a few javadoc descriptions
Reviewed-by: alanb, iris, rriggs, jpai
2023-03-29 16:19:44 +00:00
Bhavana Kilambi
67274906ae 8303161: [vectorapi] VectorMask.cast narrow operation returns incorrect value with SVE
Reviewed-by: eliu, xgong, ngasson
2023-03-29 16:12:56 +00:00
Naoto Sato
f07decb74b 8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException
Reviewed-by: alanb, bpb
2023-03-29 16:08:57 +00:00
Thomas Schatzl
014c658708 8305086: G1 Redirty Cards phase printed twice
Reviewed-by: ayang, kbarrett
2023-03-29 15:21:02 +00:00
Lance Andersen
2fa09333ef 8304990: unnecessary dash in @param gives double-dash in docs
Reviewed-by: bpb, naoto
2023-03-29 14:52:11 +00:00
Daniel Fuchs
e56bcb04b1 8305095: Update java/net/httpclient/CustomRequestPublisher.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-29 09:46:15 +00:00
Xiaolin Zheng
09852884cc 8304681: compiler/sharedstubs/SharedStubToInterpTest.java fails after JDK-8304387
Reviewed-by: eastigeevich, kvn, shade
2023-03-29 08:29:03 +00:00
Matthias Baesken
ff368d504e 8304867: Explicitly disable dtrace for ppc builds
Reviewed-by: erikj, shade, lucy
2023-03-29 06:55:51 +00:00
Xiaolin Zheng
96fa2751e8 8305112: RISC-V: Typo fix for RVC description
Reviewed-by: dholmes
2023-03-29 02:53:58 +00:00
Jonathan Gibbons
7239150f8a 8305094: typo (missing *) in doc comment
Reviewed-by: iris
2023-03-28 20:58:57 +00:00
Matias Saavedra Silva
3fbbfd1749 8301995: Move invokedynamic resolution information out of ConstantPoolCacheEntry
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Dingli Zhang <dzhang@openjdk.org>
Co-authored-by: Gui Cao <gcao@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: coleenp, dnsimon, fparain, gcao, aph, fyang, amitkumar, lucy
2023-03-28 19:50:38 +00:00
Daniel Fuchs
50a995f03a 8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2
Reviewed-by: jpai
2023-03-28 18:58:29 +00:00
Raffaello Giulietti
ca745cb426 8291598: Matcher.appendReplacement should not create new StringBuilder instances
Reviewed-by: rriggs
2023-03-28 17:55:23 +00:00
Jim Laskey
1683a63a7d 8305098: [Backout] JDK-8303912 Clean up JavadocTokenizer
Reviewed-by: jjg, mcimadamore
2023-03-28 17:48:59 +00:00
Jan Lahoda
fab23577ab 8304498: JShell does not switch to raw mode when there is no /bin/test
Reviewed-by: coffeys, vromero
2023-03-28 16:56:28 +00:00
Jim Laskey
1fc218c58b 8303912: Clean up JavadocTokenizer
Reviewed-by: vromero, jjg
2023-03-28 16:36:07 +00:00
Archie L. Cobbs
c1f5ca115d 8303623: Compiler should disallow non-standard UTF-8 string encodings
Reviewed-by: vromero
2023-03-28 16:14:37 +00:00
Martin Doerr
695683b5b1 8304880: [PPC64] VerifyOops code in C1 doesn't work with ZGC
Reviewed-by: shade
2023-03-28 15:45:34 +00:00
Jonathan Gibbons
83ce65e12c 8305004: add @spec tags to langtools modules
Reviewed-by: iris
2023-03-28 14:52:22 +00:00
Justin King
32ef452132 8304884: Update Bytecodes data to be mostly compile time constants
Reviewed-by: coleenp, dholmes
2023-03-28 14:17:03 +00:00
Per Minborg
927e674c12 8300977: Retire java.io.ExpiringCache
Reviewed-by: alanb, jpai
2023-03-28 13:15:19 +00:00
Jaikiran Pai
c90699eae7 8304989: unnecessary dash in @param gives double-dash in docs
Reviewed-by: lancea
2023-03-28 12:02:27 +00:00
Sergey Tsypanov
395a4ce0dd 8304591: (fs) UnixPath.stringValue need not be volatile
Reviewed-by: alanb, bpb, shade
2023-03-28 11:14:09 +00:00
Per Minborg
60640a216d 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream
Reviewed-by: alanb
2023-03-28 10:58:52 +00:00
Daniel Jeliński
cddaf686e1 8304962: sun/net/www/http/KeepAliveCache/B5045306.java: java.lang.RuntimeException: Failed: Initial Keep Alive Connection is not being reused
Reviewed-by: jpai
2023-03-28 08:57:02 +00:00
nbauma109
a06f46196a 8303214: Typo in java.util.Collections#synchronizedNavigableMap javadoc
Reviewed-by: martin, smarks, aturbanov
2023-03-28 08:47:55 +00:00
Albert Mingkun Yang
7987ad427b 8304412: Serial: Refactor old generation cards update after Full GC
Reviewed-by: tschatzl, kbarrett
2023-03-28 07:24:33 +00:00
Daniel Jeliński
3c4cd50e3c 8304963: HttpServer closes connection after processing HEAD after JDK-7026262
Reviewed-by: dfuchs
2023-03-28 06:12:30 +00:00
Eirik Bjorsnos
4f625c0b9a 8304543: Modernize debugging jvm args in test/hotspot/jtreg/vmTestbase/nsk/jdi/Argument/value/value004.java
Reviewed-by: dholmes, cjplummer, alanb
2023-03-28 04:21:15 +00:00
Archie L. Cobbs
426025aab4 8303526: Changing "arbitrary" Name.compareTo() ordering breaks the regression suite
Reviewed-by: vromero
2023-03-28 03:39:29 +00:00
Matias Saavedra Silva
6aec6f3a84 8304931: vm/concepts/methods/methods001/methods00101m1/methods00101m1 failures with already pending exception
Reviewed-by: coleenp, dholmes
2023-03-27 22:12:36 +00:00
David Holmes
63ce88b5fb 8304147: JVM crash during shutdown when dumping dynamic archive
Reviewed-by: ccheung, matsaave, coleenp
2023-03-27 22:05:23 +00:00
Serguei Spitsyn
554bccf046 8304448: Kitchensink failed: assert(!thread->is_in_any_VTMS_transition()) failed: class prepare events are not allowed in any VTMS transition
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: rpressler, alanb
2023-03-27 21:44:48 +00:00
Justin Lu
3b88b2a9f8 8304761: Update IANA Language Subtag Registry to Version 2023-03-22
Reviewed-by: naoto
2023-03-27 21:37:16 +00:00
Justin Lu
f8e8fc7e29 8177352: Calendar.getDisplayName(s) in non-lenient mode inconsistent, does not match spec
Reviewed-by: naoto
2023-03-27 21:36:14 +00:00
Archie L. Cobbs
14b970dc9e 8296656: java.lang.NoClassDefFoundError exception on running fully legitimate code
8287885: Local classes cause ClassLoader error if the type names are similar but not same

Reviewed-by: vromero
2023-03-27 21:33:01 +00:00
Damon Nguyen
80e2d52f76 8302558: Editable JComboBox's popup blocks user from seeing characters in Aqua look and feel
Reviewed-by: psadhukhan, azvegint
2023-03-27 19:03:56 +00:00
Roger Riggs
6c3b10fb1d 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Damon Nguyen
87b314a985 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color
Reviewed-by: honkar, kizune, psadhukhan
2023-03-27 17:04:20 +00:00
Jonathan Gibbons
2f34687ec1 8304689: Add hidden option to disable external spec page
Reviewed-by: erikj, hannesw
2023-03-27 15:42:10 +00:00
Julian Waters
6b2f34f88a 8304718: GetIntArrayElements should not be passed JNI_FALSE
Reviewed-by: serb
2023-03-27 15:12:20 +00:00
Jan Lahoda
138cdc9283 8304694: Runtime exception thrown when break stmt is missing
Reviewed-by: vromero
2023-03-27 15:01:45 +00:00
Eirik Bjorsnos
46b0602376 8304547: Remove checking of -Djava.compiler in src/jdk.jdi/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java
Reviewed-by: dholmes, cjplummer, alanb
2023-03-27 14:32:41 +00:00
Justin King
8d423f7305 8304723: Statically allocate global mutexes
8304736: Heap_lock is created twice

Reviewed-by: coleenp, dholmes, tschatzl
2023-03-27 14:12:58 +00:00
Justin King
20830883df 8304828: Lots of constant static data not declared static const in cpu/x86
Reviewed-by: dholmes, kvn
2023-03-27 14:03:04 +00:00
Prasanta Sadhukhan
0712adc2dd 7169951: SwingSet2 throws NullPointerException with Nimbus L&F
Reviewed-by: abhiscxk, jdv
2023-03-27 10:17:27 +00:00
Bhavana Kilambi
de1c12ed63 8301012: [vectorapi]: Intrinsify CompressBitsV/ExpandBitsV and add the AArch64 SVE backend implementation
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: ngasson, eliu, thartmann
2023-03-27 08:50:05 +00:00
Thomas Schatzl
10fa7d1f9b 8304804: Remove develop flag G1VerifyCTCleanup
Reviewed-by: ayang, kbarrett
2023-03-27 08:33:57 +00:00
Thomas Schatzl
4acf20df7b 8304809: Remove develop flag G1ExitOnExpansionFailure
Reviewed-by: ayang, kbarrett
2023-03-27 08:17:43 +00:00
Daniel Jeliński
a5ffa079a0 7026262: HttpServer: improve handling of finished HTTP exchanges
Reviewed-by: dfuchs, michaelm
2023-03-27 05:22:45 +00:00
Eirik Bjorsnos
65e01da925 8304013: Add a fast, non-manual alternative to test/jdk/java/util/zip/ZipFile/TestTooManyEntries
Reviewed-by: lancea, martin
2023-03-26 23:00:15 +00:00
Quan Anh Mai
38e17148fa 8304258: x86: Improve the code generation of VectorRearrange with int and float
Reviewed-by: kvn, jbhateja, sviswanathan
2023-03-25 05:30:16 +00:00
Weijun Wang
765a94258d 8304136: Match allocation and free in sspi.cpp
Reviewed-by: djelinski
2023-03-24 18:40:07 +00:00
Ian Graves
3f59b75bd8 8304898: Fix Copyright Headers for JLink Source Files
Reviewed-by: iris, mchung
2023-03-24 18:32:27 +00:00
Kim Barrett
501b606816 8298725: Add BitMap support for reverse iteration
Reviewed-by: stefank, aboldtch, tschatzl
2023-03-24 18:17:45 +00:00
Abhishek Kumar
97649489d0 8273986: JEditorPane HTML Demo - Accessibility issues
Reviewed-by: kizune, serb
2023-03-24 16:16:16 +00:00
Zdenek Zambersky
57276101df 8304353: Add lib-test tier1 testing in GHA
Reviewed-by: shade, ihse
2023-03-24 16:04:16 +00:00
Matias Saavedra Silva
d8ba227aa4 8304069: ClassFileParser has ad-hoc hashtables
Reviewed-by: coleenp, dholmes
2023-03-24 15:45:18 +00:00
Brian Burkhalter
9a8a60f7d6 8304833: (fc) Remove dead code in sun.nio.ch.FileChannelImpl::implCloseChannel
Reviewed-by: alanb
2023-03-24 14:52:58 +00:00
Archie L. Cobbs
f96aee7401 8291154: Create a non static nested class without enclosing class throws VerifyError
Reviewed-by: vromero
2023-03-24 14:13:21 +00:00
Coleen Phillimore
4ec720db9f 8297977: vmTestbase/nsk/stress/except/except012.java fails with unexpected Exception
Reviewed-by: mseledtsov, lmesnik
2023-03-24 13:23:40 +00:00
Thomas Schatzl
13dd19aac2 8304802: After JDK-8297639 the flag G1UsePreventiveGC needs to be added to the obsoletion table
Reviewed-by: ayang, dholmes
2023-03-24 12:04:23 +00:00
Jatin Bhateja
d61de141eb 8303508: Vector.lane() gets wrong value on x86
Reviewed-by: eliu, thartmann
2023-03-24 11:19:07 +00:00
Fei Gao
941a7ac7da 8304301: Remove the global option SuperWordMaxVectorSize
Reviewed-by: sviswanathan, kvn
2023-03-24 07:47:44 +00:00
Archie L. Cobbs
ac6af6a640 7176515: ExceptionInInitializerError for an enum with multiple switch statements
8299760: ExceptionInInitializerError for an enum with multiple switch statements, follow-up

Reviewed-by: vromero
2023-03-23 21:17:47 +00:00
Justin Lu
dd23ee9e87 8303917: Update ISO 639 language codes table
Reviewed-by: naoto
2023-03-23 21:15:40 +00:00
Viktor Klang
6f67abd352 8304557: java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out
Reviewed-by: jpai
2023-03-23 20:43:45 +00:00
Thomas Schatzl
568dd57d0d 8304716: Clean up G1Policy::calc_max_old_cset_length()
Reviewed-by: ayang, iwalulya
2023-03-23 19:38:24 +00:00
Ian Graves
af0504e3f3 8304691: Remove jlink --post-process-path option
Reviewed-by: mchung
2023-03-23 19:17:07 +00:00
Vladimir Kozlov
3859faf183 8231349: Move intrinsic stubs generation to compiler runtime initialization code
Reviewed-by: redestad, vlivanov
2023-03-23 19:15:34 +00:00
Thomas Schatzl
f37674a8f7 8304711: Combine G1 root region abort and wait into a single method
Reviewed-by: ayang, iwalulya
2023-03-23 19:14:24 +00:00
Thomas Schatzl
7f9e691630 8304712: Only pass total number of regions into G1Policy::calc_min_old_cset_length
Reviewed-by: ayang, iwalulya
2023-03-23 19:13:28 +00:00
Brian Burkhalter
51035a75e4 8294137: Review running times of java.math tests
Reviewed-by: darcy
2023-03-23 18:01:12 +00:00
Brian Burkhalter
46cca1a4c5 4842457: (bf spec) Clarify meaning of "(optional operation)"
Reviewed-by: alanb
2023-03-23 18:00:07 +00:00
Archie L. Cobbs
6fa25cc134 8184444: The compiler error "variable not initialized in the default constructor" is not apt in case of static final variables
Reviewed-by: vromero
2023-03-23 16:06:47 +00:00
Archie L. Cobbs
4b8f7db6be 8027682: javac wrongly accepts semicolons in package and import decls
Reviewed-by: vromero
2023-03-23 16:04:35 +00:00
Archie L. Cobbs
c00d0885ae 8043179: Lambda expression can mutate final field
Reviewed-by: vromero
2023-03-23 15:59:51 +00:00
Daniel Jeliński
147f3473d4 8219083: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java failed in same binary run on windows x64
Reviewed-by: dfuchs
2023-03-23 15:45:14 +00:00
Coleen Phillimore
bf917ba6af 8304687: Move add_to_hierarchy
Reviewed-by: dholmes, fparain
2023-03-23 13:47:06 +00:00
Jan Lahoda
63d4afbeb1 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: vromero, darcy
2023-03-23 08:35:25 +00:00
Prasanta Sadhukhan
e2cfcfbfa9 6817009: Action.SELECTED_KEY not toggled when using key binding
Reviewed-by: tr, jdv
2023-03-23 07:50:57 +00:00
Emanuel Peter
af4d5600e3 8303951: Add asserts before record_method_not_compilable where possible
Reviewed-by: kvn, thartmann
2023-03-23 07:44:18 +00:00
Prasanta Sadhukhan
c4338620b7 6245410: javax.swing.text.html.CSS.Attribute: BACKGROUND_POSITION is not w3c spec compliant
Reviewed-by: aivanov
2023-03-23 02:58:01 +00:00
Archie L. Cobbs
91f407d6fe 8029301: Confusing error message for array creation method reference
Reviewed-by: vromero
2023-03-22 21:00:27 +00:00
Leonid Mesnik
e73411a235 8304376: Rename t1/t2 classes in com/sun/jdi/CLETest.java to avoid class duplication error in IDE
Reviewed-by: sspitsyn, cjplummer
2023-03-22 18:25:41 +00:00
Chen Liang
a2d8f634de 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized
Reviewed-by: mchung
2023-03-22 16:19:34 +00:00
Jan Kratochvil
37774556da 8302191: Performance degradation for float/double modulo on Linux
Reviewed-by: dholmes, sviswanathan
2023-03-22 15:55:57 +00:00
Justin King
760c0128a4 8304683: Memory leak in WB_IsMethodCompatible
Reviewed-by: thartmann
2023-03-22 15:28:44 +00:00
Ludvig Janiuk
75168eaca3 8304134: jib bootstrapper fails to quote filename when checking download filetype
Reviewed-by: erikj
2023-03-22 14:58:34 +00:00
Johan Sjölen
4154a980ca 8301498: Replace NULL with nullptr in cpu/x86
Reviewed-by: dholmes, kvn
2023-03-22 14:18:40 +00:00
Coleen Phillimore
ddf1e34c1a 8304089: Convert TraceDependencies to UL
Reviewed-by: vlivanov, dholmes
2023-03-22 12:33:00 +00:00
Adam Sotona
358c61b58d 8294972: Convert jdk.jlink internal plugins to use the Classfile API
Reviewed-by: mchung, alanb
2023-03-22 12:12:14 +00:00
Albert Mingkun Yang
c74507eeb3 8304657: G1: Rename set_state_empty to set_state_untracked
Reviewed-by: tschatzl
2023-03-22 10:12:38 +00:00
Albert Mingkun Yang
ca94287d2b 8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Reviewed-by: tschatzl, ysr
2023-03-22 10:11:55 +00:00
Daniel Jeliński
eda0065107 8304286: java/net/SocketOption/OptionsTest.java failing after JDK-8302659
Reviewed-by: dfuchs
2023-03-22 08:42:39 +00:00
Wang Haomin
c039d26603 8303804: Fix some errors of If-VectorTest and CMove-VectorTest
Reviewed-by: qamai, thartmann
2023-03-22 07:36:11 +00:00
Adam Sotona
0156909ab3 8304502: Classfile API class hierarchy makes assumptions when class is not resolved
Reviewed-by: jpai
2023-03-22 06:13:34 +00:00
Chris Plummer
0deb648985 8290200: com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
Reviewed-by: amenkov, lmesnik, sspitsyn, dcubed
2023-03-21 18:00:35 +00:00
Chen Liang
019fcd819c 8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
2023-03-21 16:16:08 +00:00
Christian Hagedorn
d6f20e2fbf 8304680: Problemlist compiler/sharedstubs/SharedStubToInterpTest.java
Reviewed-by: thartmann
2023-03-21 16:05:42 +00:00
Chen Liang
d788a1bb80 8304180: Constant Descriptors for MethodHandles::classData and classDataAt
Reviewed-by: jvernee, mchung
2023-03-21 14:55:17 +00:00
Coleen Phillimore
bbde2158d1 8299494: Test vmTestbase/nsk/stress/except/except011.java failed: ExceptionInInitializerError: target class not found
Reviewed-by: dholmes, dcubed
2023-03-21 13:18:44 +00:00
Xiaolin Zheng
1c04686cd6 8304387: Fix positions of shared static stubs / trampolines
Reviewed-by: adinn, fyang
2023-03-21 11:27:54 +00:00
Matthias Baesken
c65bb2c58e 8304334: java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java times out on slow platforms
Reviewed-by: lucy, serb, prr
2023-03-21 09:13:01 +00:00
Raffaello Giulietti
4bf1fbb06d 8303648: Add String.indexOf(String str, int beginIndex, int endIndex)
Reviewed-by: rriggs
2023-03-21 08:43:23 +00:00
Jan Lahoda
c4df9b5f17 8304537: Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor
Reviewed-by: vromero, erikj
2023-03-21 07:33:56 +00:00
Jasmine K
a6b72f56f5 8304230: LShift ideal transform assertion
Reviewed-by: thartmann
2023-03-21 06:03:05 +00:00
Varada M
a72ba38347 8303948: HsErrFileUtils.checkHsErrFileContent() fails to check the last pattern.
Reviewed-by: dholmes, stuefe
2023-03-21 05:45:58 +00:00
Mandy Chung
bbca7c3ede 8304542: Convert use of internal VM::classFileVersion to ClassFileFormatVersion
Reviewed-by: alanb
2023-03-20 23:24:49 +00:00
Naoto Sato
f593a6b52e 8303018: Unicode Emoji Properties
Reviewed-by: prr, erikj, rriggs
2023-03-20 20:20:19 +00:00
Serguei Spitsyn
bc0ed730f2 8304303: implement VirtualThread class notifyJvmti methods as C2 intrinsics
Reviewed-by: vlivanov, lmesnik
2023-03-20 19:55:16 +00:00
Kim Barrett
2d0d057d66 8304016: Add BitMap find_last suite of functions
Reviewed-by: stefank, aboldtch
2023-03-20 19:23:38 +00:00
Maurizio Cimadamore
42723dcb18 8304420: Regression ~11% with Javac-Generates on all platforms in b14
Reviewed-by: vromero
2023-03-20 18:44:20 +00:00
Julian Waters
19f2edd9b7 8304541: Modules THROW_MSG_ should return nullptr instead of JNI_FALSE
Reviewed-by: coleenp
2023-03-20 18:13:05 +00:00
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Tyler Steele
4c8c9935eb 8304364: [AIX] Build erroneously determines build disk is non-local when using GNU-utils df on AIX
Reviewed-by: erikj
2023-03-20 17:13:35 +00:00
Thomas Schatzl
4ed7350573 8304393: Provide method to iterate over regions of humongous object in G1
Reviewed-by: iwalulya, ayang
2023-03-20 16:25:53 +00:00
Matias Saavedra Silva
eb73fa833c 8301715: CDS should be disabled in exploded JDK
Reviewed-by: ccheung, coleenp
2023-03-20 15:21:10 +00:00
Jonathan Gibbons
80e979720a 8304433: cleanup sentence breaker code in DocTreeMaker
Reviewed-by: hannesw
2023-03-20 15:14:25 +00:00
Archie L. Cobbs
c396f1ed8b 8304443: bootcycle builds fail after JDK-8015831
Reviewed-by: vromero
2023-03-20 14:33:16 +00:00
Viktor Klang
ded6a81319 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Reviewed-by: jpai, alanb
2023-03-20 13:55:47 +00:00
Albert Mingkun Yang
652bda0af8 8304411: Remove unused CardTable::clear
Reviewed-by: tschatzl
2023-03-20 11:15:29 +00:00
Daniel Jeliński
450567031e 8304174: Remove delays from httpserver tests
Reviewed-by: jpai, dfuchs
2023-03-20 09:31:33 +00:00
Feilong Jiang
c09f83ec25 8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
2023-03-20 00:53:52 +00:00
Archie L. Cobbs
e339e183c1 7016187: javac -h could generate conflict .h for inner class and class name with '_'
Reviewed-by: vromero
2023-03-18 17:32:00 +00:00
Chris Plummer
033c0b17cb 8304437: ProblemList com/sun/jdi/ThreadMemoryLeadTest.java with ZGC
Reviewed-by: jpai, dcubed
2023-03-18 17:08:00 +00:00
Yudi Zheng
7503ecc0f1 8304138: [JVMCI] Test FailedSpeculation existence before appending.
Reviewed-by: kvn, dnsimon
2023-03-18 09:41:39 +00:00
Chris Plummer
f8482c20f4 8297638: Memory leak in case of many started-dead threads
Reviewed-by: amenkov, sspitsyn
2023-03-18 00:23:58 +00:00
Alexander Matveev
c56f011baa 8298995: tools/jpackage/share/AddLauncherTest.java#id1 failed "AddLauncherTest.test; checks=53"
Reviewed-by: asemenyuk
2023-03-18 00:02:23 +00:00
Archie L. Cobbs
254288a518 8014021: TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested
Reviewed-by: vromero, jlahoda
2023-03-17 22:12:09 +00:00
Archie L. Cobbs
8f5bb538ab 8015831: Add lint check for calling overridable methods from a constructor
6557145: Warn about calling abstract methods in constructors

Reviewed-by: ihse, vromero, mcimadamore
2023-03-17 22:05:50 +00:00
Archie L. Cobbs
b085ab9316 8180387: com.sun.source.util.JavacTask should have a protected constructor.
Reviewed-by: vromero
2023-03-17 20:52:38 +00:00
Frederic Parain
bfb812a8ff 8292818: replace 96-bit representation for field metadata with variable-sized streams
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, coleenp, cjplummer, dnsimon
2023-03-17 20:18:36 +00:00
Coleen Phillimore
932be3542d 8298469: Obsolete legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: dholmes, fparain
2023-03-17 18:56:05 +00:00
Alex Menkov
02a4ee206a 8303921: serviceability/sa/UniqueVtableTest.java timed out
Reviewed-by: cjplummer, sspitsyn
2023-03-17 18:23:03 +00:00
Naoto Sato
4486f1b720 8304367: jlink --include-locales=* attempts to parse non .class resource files with classfile reader
Reviewed-by: mchung, lancea, jpai
2023-03-17 15:44:38 +00:00
Leonid Mesnik
8d2ebf248e 8303697: ProcessTools doesn't print last line of process output
Reviewed-by: dholmes, stuefe
2023-03-17 13:45:41 +00:00
Leonid Mesnik
d5a150706e 8304314: StackWalkTest.java fails after CODETOOLS-7903373
Reviewed-by: alanb, mchung
2023-03-17 13:43:54 +00:00
Damon Fenacci
384a8b85a7 8303069: Memory leak in CompilerOracle::parse_from_line
Reviewed-by: thartmann, jcking
2023-03-17 13:24:55 +00:00
Afshin Zafari
6dd6c15ed4 8301684: Fix test code to not get finalizer deprecation warnings
Reviewed-by: coleenp, dholmes
2023-03-17 13:21:47 +00:00
Afshin Zafari
cb4ae1922d 8292059: Do not inline InstanceKlass::allocate_instance()
Reviewed-by: coleenp, stefank
2023-03-17 13:20:58 +00:00
Adam Sotona
b2639e1d62 8304164: jdk/classfile/CorpusTest.java still fails after JDK-8303910
Reviewed-by: jpai
2023-03-17 11:47:11 +00:00
Johan Sjölen
620564ac61 8304130: Add runtime/StackGuardPages/TestStackGuardPagesNative.java to ProblemList.txt
Reviewed-by: dcubed
2023-03-17 10:07:37 +00:00
Richard Reingruber
9d518c528b 8299375: [PPC64] GetStackTraceSuspendedStressTest tries to deoptimize frame with invalid fp
Reviewed-by: mdoerr
2023-03-17 08:45:17 +00:00
Matthias Baesken
ebac7eec8e 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Reviewed-by: asemenyuk, almatvee
2023-03-17 07:55:55 +00:00
Kosta Stojiljkovic
36995c5a75 8304242: CPUInfoTest fails because "serialize" CPU feature is not known
Reviewed-by: kvn, sviswanathan, thartmann
2023-03-17 06:20:24 +00:00
Prasanta Sadhukhan
6b42275461 7154070: in SwingSet2, switching between LaFs it's easy to lose JTable dividers
6788475: Changing to Nimbus LAF and back doesn't reset look and feel of JTable completely

Reviewed-by: tr, abhiscxk, honkar, jdv
2023-03-17 03:35:01 +00:00
Pavel Rappo
8eed7dea7b 8304146: Refactor VisibleMemberTable (LocalMemberTable)
Reviewed-by: jjg
2023-03-16 22:23:41 +00:00
David Holmes
a487a270dc 8303150: DCmd framework unnecessarily creates a DCmd instance on registration
Reviewed-by: fparain, stuefe, kevinw
2023-03-16 21:00:21 +00:00
Chen Liang
2e987d798a 8304360: Test to ensure ConstantDescs fields work
Reviewed-by: mchung, jvernee
2023-03-16 20:55:29 +00:00
Jaikiran Pai
2f23c80e0d 8304225: Remove javax/script/Test7.java from ProblemList
Reviewed-by: naoto
2023-03-16 15:33:31 +00:00
Ivan Walulya
96889bf3e4 8191565: Last-ditch Full GC should also move humongous objects
Reviewed-by: tschatzl, sjohanss
2023-03-16 14:15:39 +00:00
Albert Mingkun Yang
f629152021 8304055: G1: Remove OldGCAllocRegion::release
Reviewed-by: iwalulya, tschatzl
2023-03-16 13:16:32 +00:00
Albert Mingkun Yang
b5108b4f37 8303749: Serial: Use more strict card table API
Reviewed-by: tschatzl, iwalulya
2023-03-16 13:15:46 +00:00
Chen Liang
7dbab81d3c 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField
Reviewed-by: jvernee
2023-03-16 12:31:01 +00:00
Jorn Vernee
d4eb395335 8303684: Lift upcall sharing mechanism to AbstractLinker (mainline)
Reviewed-by: mcimadamore
2023-03-16 12:27:25 +00:00
Per Minborg
dfc7214a3e 8304283: Modernize the switch statements in jdk.internal.foreign
Reviewed-by: mcimadamore
2023-03-16 12:11:10 +00:00
Ilya Korennoy
7277bb19f1 8293324: ciField.hpp has two methods to return field's offset
Reviewed-by: thartmann
2023-03-16 08:38:22 +00:00
Damon Fenacci
b7945bc9e5 8303154: Investigate and improve instruction cache flushing during compilation
Reviewed-by: thartmann, kvn
2023-03-16 08:28:55 +00:00
Abhishek Kumar
eefbaa2956 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change
Reviewed-by: serb, asemenov
2023-03-16 05:00:40 +00:00
changpeng1997
42dd9077a0 8302906: AArch64: Add SVE backend support for vector unsigned comparison
Reviewed-by: aph, eliu
2023-03-16 04:16:04 +00:00
Jorn Vernee
2b81faeb35 8303022: "assert(allocates2(pc)) failed: not in CodeBuffer memory" When linking downcall handle
Reviewed-by: kvn, vlivanov
2023-03-15 23:43:18 +00:00
Weijun Wang
be08a256ab 8304264: Debug messages always show up for NativeGSS
Reviewed-by: mullan
2023-03-15 21:22:53 +00:00
Daniel Jeliński
1ae69e3e91 8304287: Problemlist java/net/SocketOption/OptionsTest.java
Reviewed-by: dfuchs
2023-03-15 20:51:22 +00:00
Vladimir Kozlov
116627dfb0 8304267: JDK-8303415 missed change in Zero Interpreter
Reviewed-by: dcubed
2023-03-15 18:08:10 +00:00
Matthew Donovan
824a5e4c60 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: rhalade
2023-03-15 17:39:11 +00:00
Leonid Mesnik
7ad48ea3ad 8300317: vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
Reviewed-by: dholmes, mseledtsov
2023-03-15 17:15:51 +00:00
Rich DiCroce
35a2969057 8302659: Modernize Windows native code for NetworkInterface
Reviewed-by: ihse, djelinski, alanb, michaelm
2023-03-15 17:06:32 +00:00
Emanuel Peter
01e6920581 8298935: fix independence bug in create_pack logic in SuperWord::find_adjacent_refs
Reviewed-by: kvn, jbhateja
2023-03-15 14:02:45 +00:00
Julian Waters
3d77e217b2 8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP
Reviewed-by: kbarrett, dholmes
2023-03-15 13:34:48 +00:00
Johan Sjölen
e3777b0c49 8270865: Print process ID with -Xlog:os
Reviewed-by: dholmes, ccheung
2023-03-15 10:46:51 +00:00
Arno Zeller
349139b2cc 8304030: Configure call fails on AIX when using --with-gtest option.
Reviewed-by: mbaesken, erikj
2023-03-15 07:55:07 +00:00
Adam Sotona
714b5f036f 8294962: Convert java.base/jdk.internal.module package to use the Classfile API to modify and write module-info.class
Reviewed-by: alanb, mchung
2023-03-15 07:09:55 +00:00
Alexandre Iline
065d3e0d58 8304171: Fix layout of JCov instrumented bundle on Mac OS
Reviewed-by: erikj
2023-03-14 23:36:57 +00:00
Leonid Mesnik
cd41c69d44 8303705: Field sleeper.started should be volatile JdbLockTestTarg.java
Reviewed-by: dholmes
2023-03-14 21:52:34 +00:00
Harshitha Onkar
f5c8b68c1c 8301998: Update HarfBuzz to 7.0.1
Reviewed-by: erikj, prr
2023-03-14 20:18:44 +00:00
Daniel D. Daugherty
617c15f5a1 8304172: ProblemList serviceability/sa/UniqueVtableTest.java
8304175: ProblemList compiler/vectorapi/VectorLogicalOpIdentityTest.java on 2 platforms

Reviewed-by: azvegint
2023-03-14 20:09:51 +00:00
Pavel Rappo
f81e1def8f 8303882: Refactor some iterators in jdk.compiler
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
2023-03-14 18:36:46 +00:00
Julian Waters
45809fd0c0 8295884: Implement IDE support for Eclipse
Reviewed-by: erikj
2023-03-14 17:32:25 +00:00
Daniel Jeliński
baf11e734f 8303814: getLastErrorString should avoid charset conversions
Reviewed-by: naoto, cjplummer, rriggs
2023-03-14 17:18:56 +00:00
Calvin Cheung
830fd41346 8302795: Shared archive failed on old version class with jsr bytecode
Reviewed-by: minqi, matsaave
2023-03-14 17:15:19 +00:00
Kevin Walls
4e631fa43f 8298966: Deprecate JMX Subject Delegation and the method JMXConnector.getMBeanServerConnection(Subject) for removal.
Reviewed-by: mchung, dfuchs
2023-03-14 16:59:27 +00:00
Alexey Bakhtin
10f1674625 8303809: Dispose context in SPNEGO NegotiatorImpl
Reviewed-by: dfuchs, weijun
2023-03-14 16:41:09 +00:00
Hannes Wallnöfer
9f9ab02ff6 8303895: Simplify and clean up LinkFactory code
Reviewed-by: prappo
2023-03-14 16:20:35 +00:00
Thomas Stuefe
a00f5d24d3 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: dholmes, rkennke
2023-03-14 15:51:20 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Christian Hagedorn
c466cdf973 8299546: C2: MulLNode::mul_ring() wrongly returns bottom type due to casting errors with large numbers
Reviewed-by: iveresov, kvn, qamai
2023-03-14 14:57:47 +00:00
Coleen Phillimore
55aa122462 8304059: Use InstanceKlass in dependencies
Reviewed-by: vlivanov, thartmann
2023-03-14 13:27:55 +00:00
Vladimir Kozlov
ec1eb00ed3 8303415: Add VM_Version::is_intrinsic_supported(id)
Reviewed-by: thartmann, dholmes
2023-03-14 12:20:14 +00:00
Eirik Bjorsnos
31680b2bcf 8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options
Reviewed-by: weijun
2023-03-14 11:48:59 +00:00
Ivan Walulya
0cc0f063e2 8304015: G1: Metaspace-induced GCs should not trigger maximal compaction
Reviewed-by: ayang, tschatzl
2023-03-14 10:46:16 +00:00
Adam Sotona
43eca1dcb1 8303910: jdk/classfile/CorpusTest.java failed 1 of 6754 tests
Reviewed-by: jpai
2023-03-14 08:36:05 +00:00
Matthias Baesken
b6d70f2c49 8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
Reviewed-by: chagedorn
2023-03-14 08:08:28 +00:00
Julian Waters
2bb990edde 8301244: Tidy up compiler specific warnings files
Reviewed-by: kbarrett, dholmes
2023-03-14 07:24:18 +00:00
Alisen Chung
c073ef2ed5 8303482: Update LCMS to 2.15
Reviewed-by: serb, prr, dnguyen
2023-03-14 04:04:19 +00:00
Feilong Jiang
49181b81dd 8303955: RISC-V: Factor out the tmp parameter from copy_memory and copy_memory_v
Reviewed-by: fyang, yzhu
2023-03-14 00:55:21 +00:00
Pavel Rappo
7bbc5e0efb 8300517: Refactor VisibleMemberTable (method members)
Reviewed-by: jjg
2023-03-13 20:53:52 +00:00
Patricio Chilano Mateo
a8f662ecb2 8303908: Add missing check in VTMS_transition_disable_for_all() for suspend mode
Reviewed-by: sspitsyn, dholmes
2023-03-13 20:15:23 +00:00
Ilarion Nakonechnyy
5685107579 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: coleenp, dholmes
2023-03-13 17:26:25 +00:00
Justin King
671a45219f 8303606: Memory leaks in Arguments::parse_each_vm_init_arg
Reviewed-by: dholmes, fparain
2023-03-13 16:23:34 +00:00
Adam Sotona
a95bc7acd0 8294974: Convert jdk.jshell/jdk.jshell.execution.LocalExecutionControl to use the Classfile API to instrument classes
Reviewed-by: jlahoda
2023-03-13 15:53:01 +00:00
Alexey Ivanov
f835aaafc7 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Reviewed-by: prr, tr, serb
2023-03-13 15:05:15 +00:00
Daniel Fuchs
466ffebcae 8303965: java.net.http.HttpClient should reset the stream if response headers contain malformed header fields
Reviewed-by: jpai
2023-03-13 14:24:56 +00:00
Andrey Turbanov
431e702b67 8303213: Avoid AtomicReference in TextComponentPrintable
Reviewed-by: serb, aivanov
2023-03-13 13:08:52 +00:00
Albert Mingkun Yang
4cf4c599b9 8303824: Parallel: Use more strict card table API
Reviewed-by: tschatzl, iwalulya, ysr
2023-03-13 11:30:52 +00:00
Jasmine K
8e41bf222f 8303238: Create generalizations for existing LShift ideal transforms
Reviewed-by: redestad, thartmann
2023-03-13 11:10:42 +00:00
Thomas Schatzl
805a4e6806 8303883: Confusing parameter name in G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes
Reviewed-by: ayang, iwalulya
2023-03-13 11:06:20 +00:00
Adam Sotona
25e7ac226a 8294966: Convert jdk.jartool/sun.tools.jar.FingerPrint to use the ClassFile API to parse JAR entries
Reviewed-by: mchung
2023-03-13 10:13:45 +00:00
Thomas Schatzl
3018b4705e 8303969: Limit printed failures within an object during G1 heap verification
Reviewed-by: ayang, iwalulya
2023-03-13 09:57:24 +00:00
Thomas Schatzl
b575e54bc9 8303963: Replace various encodings of UINT/SIZE_MAX in gc code
Reviewed-by: ayang, kbarrett
2023-03-13 09:56:40 +00:00
Robbin Ehn
c183fce954 8300926: Several startup regressions ~6-70% in 21-b6 all platforms
Reviewed-by: eosterlund, dcubed, coleenp
2023-03-13 09:34:00 +00:00
Tomas Zezula
31e1e3975b 8303646: [JVMCI] Add possibility to lookup ResolvedJavaType from jclass.
Reviewed-by: never
2023-03-13 08:41:40 +00:00
Tomas Zezula
1148a659a8 8303678: [JVMCI] Add possibility to convert object JavaConstant to jobject.
Reviewed-by: never
2023-03-13 08:40:12 +00:00
Daniel Skantz
d20bde29f2 8294715: Add IR checks to the reduction vectorization tests
Reviewed-by: rcastanedalo, epeter
2023-03-13 07:33:46 +00:00
Eirik Bjorsnos
c313e1ac7b 8303922: build-test-lib target is broken
Reviewed-by: erikj, jwaters
2023-03-11 18:44:47 +00:00
Daniel D. Daugherty
fbc76c2c78 8304017: ProblemList com/sun/jdi/InvokeHangTest.java on windows-x64 in vthread mode
8304018: ProblemList javax/swing/JColorChooser/Test6827032.java on windows-x64
8304019: ProblemList java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java on windows-x64

Reviewed-by: stuefe
2023-03-11 17:38:47 +00:00
Julian Waters
a06426a52f 8274400: HotSpot Style Guide should permit use of alignof
Reviewed-by: kbarrett, kvn, dholmes, dcubed
2023-03-11 14:36:56 +00:00
Feilong Jiang
98a7a60fcb 8303863: RISC-V: TestArrayStructs.java fails after JDK-8303604
Reviewed-by: jvernee, fyang
2023-03-11 04:48:06 +00:00
Alexander Matveev
0a4d54f7ce 8299779: Test tools/jpackage/share/jdk/jpackage/tests/MainClassTest.java timed out
Reviewed-by: asemenyuk
2023-03-11 01:04:13 +00:00
Kim Barrett
2116928528 8303900: Rename BitMap search functions
Reviewed-by: stefank, aboldtch
2023-03-10 21:16:56 +00:00
Daniel D. Daugherty
d7f4221bfe 8304005: ProblemList serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java on linux-x64 in Xcomp mode
Reviewed-by: rriggs
2023-03-10 20:10:50 +00:00
Stuart Marks
94de0a73de 8302513: remove sun.awt.util.IdentityLinkedList
Reviewed-by: serb, prr, aivanov
2023-03-10 18:58:44 +00:00
Man Cao
bf16b5b988 8303937: Corrupted heap dumps due to missing retries for os::write()
Reviewed-by: cjplummer, dholmes
2023-03-10 18:14:09 +00:00
Justin Lu
6f54eda4a4 8299088: ClassLoader::defineClass2 throws OOME but JNI exception pending thrown by getUTF
Reviewed-by: mchung, naoto
2023-03-10 17:40:10 +00:00
Justin Lu
a3358b10ca 8303853: Update ISO 3166 country codes table
Reviewed-by: naoto
2023-03-10 17:39:13 +00:00
Matias Saavedra Silva
206661d45f 8281941: Change CDS warning messages to use Unified Logging
Reviewed-by: dholmes, ccheung
2023-03-10 17:11:48 +00:00
Erik Gahlin
9dd7b87997 8303674: JFR: TypeLibrary class not thread safe
Reviewed-by: mgronlun
2023-03-10 17:09:56 +00:00
Matias Saavedra Silva
c26e1d0148 8303495: Unused path parameter in ClassLoader::add_to_app_classpath_entries(JavaThread* current, char* path, ...)
Reviewed-by: ccheung, dholmes
2023-03-10 16:31:41 +00:00
Matias Saavedra Silva
548d552bc1 8303548: Arguments::get_default_shared_archive_path() should cache the result for future use
Reviewed-by: ccheung, dholmes
2023-03-10 16:30:48 +00:00
Viktor Klang
f2a36b4b52 8302666: Replace CHM with VarHandle in ForeachOrderedTask
Reviewed-by: psandoz
2023-03-10 16:01:12 +00:00
Matthias Baesken
a32ee5dd8b 8303949: gcc10 warning Linux ppc64le - note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
Reviewed-by: erikj, mdoerr
2023-03-10 15:57:30 +00:00
Tobias Holenstein
01312a002b 8300821: UB: Applying non-zero offset to non-null pointer 0xfffffffffffffffe produced null pointer
Reviewed-by: kvn, thartmann
2023-03-10 15:39:45 +00:00
Jorn Vernee
6d30bbe62c 8303001: Add test for re-entrant upcalls
Reviewed-by: mcimadamore
2023-03-10 14:42:54 +00:00
Matthew Donovan
de9f3b6aac 8296400: pointCrlIssuers might be null in DistributionPointFetcher::verifyURL
Reviewed-by: weijun
2023-03-10 14:10:41 +00:00
Maurizio Cimadamore
b9951dd639 8303820: Simplify type metadata
Reviewed-by: vromero
2023-03-10 13:12:50 +00:00
Hannes Wallnöfer
75d630621c 8303349: Simplify link format for generic types in index pages
Reviewed-by: jjg
2023-03-10 11:07:14 +00:00
Adam Sotona
b1d89f3066 8294971: jdk.jlink jdk.tools.jimage.JImageTask is using ASM to verify classes
Reviewed-by: mchung
2023-03-10 10:15:37 +00:00
Matthias Baesken
0f26d09da8 8303822: gtestMain should give more helpful output
Reviewed-by: lmesnik
2023-03-10 08:27:19 +00:00
David Holmes
e26cc52600 8303624: The java.lang.Thread.FieldHolder can be null for JNI attaching threads
Reviewed-by: alanb, dcubed
2023-03-10 03:08:26 +00:00
Viktor Klang
d06308c54a 8302360: Atomic*.compareAndExchange Javadoc unclear
Reviewed-by: martin, dholmes
2023-03-10 00:31:04 +00:00
Patricio Chilano Mateo
8b740b4609 8302779: HelidonAppTest.java fails with "assert(_cb == CodeCache::find_blob(pc())) failed: Must be the same" or SIGSEGV
Reviewed-by: coleenp, sspitsyn
2023-03-09 22:53:44 +00:00
Christoph Langer
562c8fc668 8303691: Fedora based devkit build should load more packages from archive location
Reviewed-by: mbaesken, erikj
2023-03-09 21:59:12 +00:00
Alex Menkov
e930b63a8f 8303924: ProblemList serviceability/sa/UniqueVtableTest.java on Linux
Reviewed-by: dcubed
2023-03-09 21:57:15 +00:00
Chris Plummer
af0ca78a8f 8303609: ProblemList serviceability/sa/TestSysProps.java with ZGC
Reviewed-by: dcubed
2023-03-09 21:56:08 +00:00
Chris Plummer
8b0eb7299a 8289765: JDI EventSet/resume/resume008 failed with "ERROR: suspendCounts don't match for : VirtualThread-unparker"
Reviewed-by: sspitsyn, kevinw
2023-03-09 21:55:15 +00:00
Johan Sjölen
5726d31e56 8301074: Replace NULL with nullptr in share/opto/
Reviewed-by: kvn, jwilhelm
2023-03-09 20:28:26 +00:00
Justin King
a9dba56568 8300783: Consolidate byteswap implementations
Reviewed-by: kbarrett, kvn
2023-03-09 19:39:07 +00:00
Adam Sotona
769e740181 8303915: javadoc build failure after JDK-8294959
Reviewed-by: jjg
2023-03-09 19:24:50 +00:00
Alex Menkov
f9aadb943c 8303489: Add a test to verify classes in vmStruct have unique vtables
Reviewed-by: cjplummer, sspitsyn
2023-03-09 19:13:02 +00:00
Adam Sotona
595645c76d 8294959: java.base java.lang.Module uses ASM to load module-info.class
Reviewed-by: mchung
2023-03-09 18:12:35 +00:00
Thomas Schatzl
68b5eef44f 8303334: Further improve liveness/remembered set verification for G1
Reviewed-by: ayang, iwalulya
2023-03-09 16:59:46 +00:00
Julian Waters
3227b49a7a 8303760: Visual Studio should use the primary variant in the IDE
Reviewed-by: erikj
2023-03-09 16:07:16 +00:00
Leonid Mesnik
cdcf5c1ed8 8303702: Provide ThreadFactory to create platform/virtual threads for com/sun/jdi tests
Reviewed-by: cjplummer, sspitsyn
2023-03-09 15:44:03 +00:00
Adam Sotona
4655b790d0 8294982: Implementation of Classfile API
Reviewed-by: ihse, psandoz, mcimadamore
2023-03-09 15:23:03 +00:00
Pavel Rappo
1e9942aa11 8303881: Mixed, minor cleanup in jdk.compiler
Reviewed-by: mcimadamore
2023-03-09 13:43:36 +00:00
Albert Mingkun Yang
7e01534590 8303467: Serial: Refactor reference processor
Reviewed-by: tschatzl, iwalulya
2023-03-09 13:40:10 +00:00
Jatin Bhateja
713def0bf2 8303105: LoopRangeStrideTest fails IR verification on x86
Reviewed-by: thartmann
2023-03-09 12:05:29 +00:00
Ahmed Muhsin
34a92466a6 8274264: Not all of G1 young collection verification honors the verification type
Reviewed-by: ayang, tschatzl
2023-03-09 09:39:39 +00:00
Matthias Baesken
a7e308ab6e 8303576: addIdentitiesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: weijun
2023-03-09 08:36:24 +00:00
Alan Bateman
dd79410824 8303509: Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled
Reviewed-by: djelinski, michaelm
2023-03-09 08:13:57 +00:00
Roland Westrelin
dc523a58a6 8300258: C2: vectorization fails on simple ByteBuffer loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn
2023-03-09 08:00:24 +00:00
Roland Westrelin
5e232cf0a9 8303564: C2: "Bad graph detected in build_loop_late" after a CMove is wrongly split thru phi
Reviewed-by: kvn, thartmann
2023-03-09 07:59:32 +00:00
Vladimir Kozlov
8cfd74f76a 8302976: C2 intrinsification of Float.floatToFloat16 and Float.float16ToFloat yields different result than the interpreter
Reviewed-by: sviswanathan, jbhateja, vlivanov
2023-03-09 03:26:38 +00:00
Justin Lu
02875e77fd 8171156: Class java.util.LocaleISOData has outdated information for country Code NP
Reviewed-by: naoto
2023-03-09 00:09:39 +00:00
Doug Simon
ad326fc62b 8299570: [JVMCI] Insufficient error handling when CodeBuffer is exhausted
Reviewed-by: never, adinn, aph
2023-03-08 22:33:42 +00:00
Eirik Bjorsnos
05ceb37a2c 8303833: java.util.LocaleISOData has wrong comments for 'Norwegian Bokmål' and 'Volapük'
Reviewed-by: naoto
2023-03-08 21:25:21 +00:00
Daniel D. Daugherty
25de2228ac 8303839: [BACKOUT] JDK-8302799 and JDK-8302189
Reviewed-by: dholmes
2023-03-08 21:23:28 +00:00
Rajan Halade
5b43804b79 8282201: Consider removal of expiry check in VerifyCACerts.java test
Reviewed-by: xuelei, mullan
2023-03-08 21:09:44 +00:00
Vladimir Kozlov
f813dc7183 8302508: Add timestamp to the output TraceCompilerThreads
Reviewed-by: thartmann
2023-03-08 18:23:39 +00:00
Hannes Wallnöfer
404d5bddb9 8302161: Upgrade jQuery UI to version 1.13.2
Reviewed-by: jjg
2023-03-08 17:15:43 +00:00
Xue-Lei Andrew Fan
d287a5e9d8 8303617: update for deprecated sprintf for jdk.jdwp.agent
Reviewed-by: cjplummer, sspitsyn
2023-03-08 16:07:04 +00:00
Justin King
ddcb369cea 8303605: Memory leaks in Metaspace gtests
Reviewed-by: stuefe, dholmes
2023-03-08 15:38:39 +00:00
Daniel Fuchs
56512cfe1f 8303682: Simplify HttpClient DebugLogger
Reviewed-by: jpai
2023-03-08 13:52:52 +00:00
Matthias Baesken
8eaf84f094 8303575: adjust Xen handling on Linux aarch64
Reviewed-by: lucy, mdoerr
2023-03-08 11:38:37 +00:00
Tobias Holenstein
d988252378 8303443: IGV: Syntax highlighting and resizing for filter editor
Reviewed-by: rcastanedalo, thartmann
2023-03-08 10:52:05 +00:00
Kevin Walls
afda8fbf0b 8303136: MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded005 failed with "isCollectionUsageThresholdExceeded() returned true, while threshold = 1 and used = 0"
Reviewed-by: cjplummer, sspitsyn
2023-03-08 08:20:27 +00:00
Andrey Turbanov
1d071d0817 8303690: Prefer ArrayList to LinkedList in com.sun.jmx.mbeanserver.Introspector
Reviewed-by: stsypanov, kevinw, cjplummer, sspitsyn
2023-03-08 07:20:21 +00:00
Prasanta Sadhukhan
09d469e5ad 8252255: Blurry rendering of SwingNode with HiDPI scaling in JavaFX
Reviewed-by: kcr, aghaisas
2023-03-08 06:55:17 +00:00
David Holmes
21a6ab1e3e 8303799: [BACKOUT] JDK-8302801 Remove fdlibm C sources
Reviewed-by: darcy, bpb
2023-03-08 02:39:14 +00:00
Kim Barrett
5fa9bd4582 8302189: Mark assertion failures noreturn
8302799: Refactor Debugging variable usage for noreturn crash reporting

Reviewed-by: dholmes, coleenp
2023-03-08 02:37:06 +00:00
Erik Gahlin
9b10c69475 8303622: JFR: Missing message with Objects.requireNonNull
Reviewed-by: mgronlun
2023-03-07 23:32:09 +00:00
David Holmes
d7298245d6 8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: kbarrett, djelinski
2023-03-07 22:56:33 +00:00
David Holmes
5f1108f8f0 8303151: DCmd framework cleanups
Reviewed-by: jsjolen, stuefe, yyang
2023-03-07 22:54:07 +00:00
Erik Gahlin
32f4d8b5ea 8303681: JFR: RemoteRecordingStream::setMaxAge() should accept null
Reviewed-by: mgronlun
2023-03-07 22:32:45 +00:00
Ravali Yatham
9f9d678591 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: alanb, mchung
2023-03-07 22:31:50 +00:00
Joe Darcy
b5b5cba7fe 8302801: Remove fdlibm C sources
Reviewed-by: bpb, dholmes, alanb, kvn
2023-03-07 22:28:12 +00:00
Yudi Zheng
4d4eadeae3 8302452: [JVMCI] Export _poly1305_processBlocks, JfrThreadLocal fields to JVMCI compiler.
Reviewed-by: dnsimon, never
2023-03-07 18:44:01 +00:00
Justin Lu
f1f4e1de44 6453901: (cal) clean up sun.util.calendar classes
Reviewed-by: naoto, lancea
2023-03-07 18:30:28 +00:00
Justin Lu
acf899612f 8303275: Use {@Return and @linkplain in Locale and related classes
Reviewed-by: naoto
2023-03-07 18:18:59 +00:00
Ian Graves
ac3ab5b007 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
2023-03-07 17:20:04 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Johan Sjölen
43288bbd68 8301477: Replace NULL with nullptr in os/aix
Reviewed-by: stuefe, coleenp, tsteele
2023-03-07 13:16:34 +00:00
Kim Barrett
008c5eb4dd 8303621: BitMap::iterate should support lambdas and other function objects
Reviewed-by: aboldtch, tschatzl, stefank
2023-03-07 12:59:26 +00:00
Amit Kumar
52d3008773 8303497: [s390x] ProblemList TestUnreachableInnerLoop.java
Reviewed-by: thartmann
2023-03-07 08:57:27 +00:00
Roland Westrelin
3f2d929dc3 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: kvn, thartmann
2023-03-07 08:37:37 +00:00
Albert Mingkun Yang
7fbfc884f0 8303534: Merge CompactibleSpace into ContiguousSpace
Reviewed-by: cjplummer, tschatzl
2023-03-07 08:12:26 +00:00
Johan Sjölen
97c25df4b8 8204550: NMT: RegionIterator does not need to keep _current_size
Reviewed-by: stuefe, gziemski
2023-03-07 07:24:54 +00:00
Tobias Hartmann
94eda53d98 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: kvn, roland
2023-03-07 06:59:23 +00:00
Mat Carter
c51d40cfeb 8303607: SunMSCAPI provider leaks memory and keys
Reviewed-by: weijun
2023-03-07 02:12:30 +00:00
Jonathan Gibbons
f64ed09e9a 8303540: Eliminate unnecessary reference to javac internal class
Reviewed-by: hannesw
2023-03-06 22:13:52 +00:00
Matthew Donovan
ccfe1675a2 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test
Reviewed-by: dfuchs, smarks
2023-03-06 19:18:45 +00:00
Naoto Sato
cfb0a25a4e 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Reviewed-by: iris, jpai, rriggs, lancea
2023-03-06 17:22:52 +00:00
Weijun Wang
a97271e3b5 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded
Reviewed-by: mullan
2023-03-06 16:20:14 +00:00
Doug Simon
cac81ddc92 8303577: [JVMCI] OOME causes crash while translating exceptions
Reviewed-by: kvn, never
2023-03-06 16:10:02 +00:00
Leonid Mesnik
877ab659b9 8303264: Refactor nsk/stress/strace to extract shared and remove redundant code
Reviewed-by: mseledtsov, dholmes
2023-03-06 15:33:55 +00:00
Leonid Mesnik
ae8730fd62 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-06 15:32:01 +00:00
Jorn Vernee
5977f266d0 8303604: Passing by-value structs whose size is not power of 2 doesn't work on all platforms (mainline)
Reviewed-by: mcimadamore
2023-03-06 15:18:39 +00:00
Jorn Vernee
dccfe8a2ee 8303582: Reduce duplication in jdk/java/foreign tests
Reviewed-by: mcimadamore
2023-03-06 14:52:04 +00:00
Afshin Zafari
8e2014527e 8300654: Remove JVMFlag::flag_error_str as it is unused
Reviewed-by: dholmes, fparain
2023-03-06 12:46:18 +00:00
Erik Österlund
bdffe460cd 8301222: Generalize check_release_entry in OopStorage
Reviewed-by: tschatzl, kbarrett
2023-03-06 11:14:32 +00:00
Albert Mingkun Yang
ec4e8aa4f7 8303244: G1: call CardTable::clear_MemRegion directly
Reviewed-by: ysr, kbarrett
2023-03-06 10:46:16 +00:00
Prasanta Sadhukhan
5753ab5c47 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to show opaque button"
Reviewed-by: tr, jdv
2023-03-06 10:20:23 +00:00
Andrey Turbanov
fa1cebedb5 8303266: Prefer ArrayList to LinkedList in JImageTask
Reviewed-by: jlaskey
2023-03-06 08:42:41 +00:00
Erik Österlund
5f153e056b 8302780: Add support for vectorized arraycopy GC barriers
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: ayang, fyang, rcastanedalo, aph
2023-03-06 07:58:23 +00:00
Alexander Scherbatiy
d00a767047 8295737: macOS: Print content cut off when width > height with portrait orientation
Reviewed-by: prr
2023-03-06 07:48:37 +00:00
Alexander Scherbatiy
15c76e4c02 8301254: UNIX sun/font coding does not detect SuSE in openSUSE Leap distribution
Reviewed-by: prr
2023-03-06 07:40:38 +00:00
Chris Plummer
3eff1a0225 8303630: Move nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java back to general problem list
Reviewed-by: dholmes
2023-03-06 07:16:18 +00:00
Yi Yang
10d6a8e66a 8299518: HotSpotVirtualMachine shared code across different platforms
Reviewed-by: cjplummer, dholmes
2023-03-06 02:02:29 +00:00
Fei Yang
148900c2dc 8303562: Remove obsolete comments in os::pd_attempt_reserve_memory_at
Reviewed-by: stuefe
2023-03-06 00:33:46 +00:00
Joe Darcy
1bb39a95eb 8302027: Port fdlibm trig functions (sin, cos, tan) to Java
Reviewed-by: bpb
2023-03-04 23:52:03 +00:00
Doug Simon
9fdbf3cfc4 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: kvn
2023-03-04 21:52:06 +00:00
Alan Bateman
629a9053f0 8303242: ThreadMXBean issues with virtual threads
Reviewed-by: mchung, pchilanomate
2023-03-04 07:33:33 +00:00
Raffaello Giulietti
5b2e2e4695 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Reviewed-by: rriggs, alanb
2023-03-03 20:51:13 +00:00
Matias Saavedra Silva
cd4b88d0d2 8292269: Replace FileMapInfo::fail_continue() with Unified Logging
Reviewed-by: iklam, dholmes, ccheung
2023-03-03 19:00:27 +00:00
Brian Burkhalter
ae290541d1 8303175: (fs) Deprecate com.sun.nio.file.SensitivityWatchEventModifier for removal
Reviewed-by: lancea, alanb
2023-03-03 18:38:13 +00:00
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Roger Riggs
99443142cc 8303587: Remove VMOutOfMemoryError001 test from the problem list after 8303198
Reviewed-by: cjplummer
2023-03-03 18:28:06 +00:00
Xue-Lei Andrew Fan
a50dc67a4f 8303527: update for deprecated sprintf for jdk.hotspot.agent
Reviewed-by: cjplummer
2023-03-03 18:11:48 +00:00
Justin King
40c5edfcc4 8303181: Memory leak in ClassLoaderExt::setup_app_search_path
Reviewed-by: ccheung, dholmes
2023-03-03 18:07:40 +00:00
Chris Plummer
29ee7c3b70 8303523: Cleanup problem listing of nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java
Reviewed-by: dholmes, kevinw
2023-03-03 17:38:29 +00:00
Justin Lu
e3016c1142 8303472: Display name for region TR
Reviewed-by: naoto
2023-03-03 17:18:44 +00:00
Afshin Zafari
ae797c64af 8301117: Remove old_size param from ResizeableResourceHashtable::resize()
Reviewed-by: dholmes, coleenp
2023-03-03 16:45:58 +00:00
Afshin Zafari
5085bd5f05 8297936: Use reachabilityFence to manage liveness in ClassUnload tests
Reviewed-by: coleenp, dholmes
2023-03-03 16:44:27 +00:00
Roger Riggs
379f2061aa 8303198: System and Runtime.exit() resilience to logging errors
Reviewed-by: dholmes, jpai, alanb
2023-03-03 16:14:45 +00:00
Doug Simon
80739e11b5 8279619: [JVMCI] improve EncodedSpeculationReason
Reviewed-by: never
2023-03-03 15:52:46 +00:00
Glavo
7449e1c661 8299807: newStringNoRepl should avoid copying arrays for ASCII compatible charsets
Reviewed-by: rriggs
2023-03-03 15:41:03 +00:00
Jorn Vernee
c6de66c03f 8303516: HFAs with nested structs/unions/arrays not handled correctly on AArch64
Reviewed-by: mcimadamore
2023-03-03 14:33:56 +00:00
Daniel Fuchs
cbdc7a6f88 8303481: CancelRequestTest assertTrue failing with AssertionError due to java.util.concurrent.CompletionException: java.io.EOFException: EOF reached while reading
Reviewed-by: jpai, djelinski
2023-03-03 13:18:23 +00:00
Amit Kumar
8bf084ced9 8303499: [s390x] ProblemList StressStackOverflow
Reviewed-by: alanb
2023-03-03 13:17:31 +00:00
Afshin Zafari
ff364c1906 8301622: ProcessTools.java compilation gets ThreadDeath deprecation warning
Reviewed-by: dholmes, alanb
2023-03-03 13:16:43 +00:00
Sean Mullan
df9aad018a 8297955: LDAP CertStore should use LdapName and not String for DNs
Reviewed-by: weijun, rhalade
2023-03-03 13:06:11 +00:00
changpeng1997
d23a8bfb14 8297753: AArch64: Add optimized rules for vector compare with zero on NEON
Reviewed-by: aph
2023-03-03 12:11:10 +00:00
Vicente Romero
339ca88783 8303539: javadoc typos in Attr
Reviewed-by: iris, jjg
2023-03-03 10:32:35 +00:00
Pavel Rappo
e1745bc981 8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
2023-03-03 09:12:14 +00:00
Yi Yang
c961a918ad 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field
Reviewed-by: kvn, thartmann
2023-03-03 02:00:45 +00:00
Hao Sun
35003b5f7b 8302830: AArch64: Fix the mismatch between cas.m4 and aarch64.ad
Reviewed-by: aph, xgong
2023-03-03 01:24:12 +00:00
Yi-Fan Tsai
f3abc4063d 8302783: Improve CRC32C intrinsic with crypto pmull on AArch64
Reviewed-by: simonis, phh
2023-03-02 22:38:58 +00:00
Justin Lu
45d8a175b1 8303405: fix @returnss typo in ReflectionFactory
Reviewed-by: jpai, mchung, martin, iris, lancea, naoto
2023-03-02 20:23:04 +00:00
Xue-Lei Andrew Fan
e7113dc8a5 8302495: update for deprecated sprintf for java.desktop
Reviewed-by: prr
2023-03-02 18:56:05 +00:00
Daniel Jeliński
843d632ad4 8303442: Clean up w2k_lsa_auth linker parameters
Reviewed-by: erikj
2023-03-02 18:54:27 +00:00
Andrey Turbanov
d4dcba0463 8303267: Prefer ArrayList to LinkedList in ConcurrentLocksPrinter
Reviewed-by: cjplummer, sspitsyn
2023-03-02 18:40:29 +00:00
Mikhailo Seledtsov
2c7d2c0ea9 8303411: JFR problem list entry for JDK-8247776 should be removed
Reviewed-by: lmesnik
2023-03-02 18:38:50 +00:00
Naoto Sato
0b63557941 8303039: Utilize coverageLevels.txt
Reviewed-by: iris, joehw
2023-03-02 18:31:53 +00:00
Mandy Chung
32247c336a 8303476: Add the runtime version in the release file of a JDK image
Reviewed-by: erikj
2023-03-02 17:05:01 +00:00
Chris Plummer
0926d0cbce 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java
Reviewed-by: amenkov, kevinw, lmesnik
2023-03-02 16:03:38 +00:00
Matthias Baesken
b51ea4204e 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: clanger, mdoerr, weijun
2023-03-02 14:21:06 +00:00
Saint Wesonga
fb13063943 8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
Reviewed-by: jvernee
2023-03-02 13:26:27 +00:00
Thomas Stuefe
c9afd55ed6 8302820: Remove costs for NMTPreInit when NMT is off
Reviewed-by: jsjolen, adinn
2023-03-02 13:21:25 +00:00
Jaikiran Pai
72de24e59a 8303457: Introduce convenience test library APIs for creating test servers for tests in test/jdk/java/net/httpclient
Reviewed-by: dfuchs
2023-03-02 11:24:06 +00:00
Kim Barrett
3091744fff 8303418: Improve parameter and variable names in BitMap
Reviewed-by: tschatzl, aboldtch
2023-03-02 09:43:56 +00:00
Jan Lahoda
dbb562d3b1 8303355: The Depend plugin does fully recompile when primitive type changes
Reviewed-by: erikj, vromero
2023-03-02 09:41:11 +00:00
Jan Lahoda
4619e8bae8 8297587: Upgrade JLine to 3.22.0
Reviewed-by: vromero
2023-03-02 08:27:44 +00:00
Emanuel Peter
99f5687eb1 8302144: Move ZeroTLABTest.java to tier3
Reviewed-by: thartmann, kvn
2023-03-02 07:22:21 +00:00
Tyler Steele
dc08216f0e 8303186: Missing Classpath exception from Continuation.c
Reviewed-by: dholmes, jpai
2023-03-02 01:06:02 +00:00
Erik Gahlin
d10d40a5b2 8303077: JFR: Add example usage to jdk.jfr
Reviewed-by: mgronlun
2023-03-01 22:54:03 +00:00
Valerie Peng
394eac850c 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers
Reviewed-by: weijun
2023-03-01 22:40:50 +00:00
David Holmes
6e19387f29 8303070: Memory leak in DCmdArgument<char*>::parse_value
Reviewed-by: fparain, jcking, jsjolen, eosterlund, coleenp
2023-03-01 21:45:11 +00:00
Eirik Bjorsnos
9fc518ff8c 8303401: Add a Vector API equalsIgnoreCase micro benchmark
Reviewed-by: ecaspole, sviswanathan, psandoz
2023-03-01 18:18:36 +00:00
Justin Lu
05faa7321b 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
2023-03-01 18:13:42 +00:00
Justin King
4c985e527a 8303183: Memory leak in Arguments::init_shared_archive_paths
Reviewed-by: jsjolen, ccheung, dholmes
2023-03-01 15:52:49 +00:00
Albert Mingkun Yang
6af17c1b7d 8303362: Serial: Move CardTableRS to serial directory
Reviewed-by: tschatzl, kbarrett
2023-03-01 15:15:22 +00:00
Ivan Walulya
c1e77e0564 8303252: G1: Return early from Full-GC if no regions are selected for compaction.
Reviewed-by: tschatzl, ayang
2023-03-01 13:52:21 +00:00
Thomas Schatzl
8b86e1ee11 8303344: After JDK-8302760, G1 heap verification does not exit VM after errors
Reviewed-by: iwalulya, ayang
2023-03-01 12:34:53 +00:00
Thomas Schatzl
4c5d9cfc64 8303013: Always do remembered set verification during G1 Full GC
Reviewed-by: ayang, iwalulya
2023-03-01 12:34:02 +00:00
Doug Simon
2451c5a462 8303357: [JVMCI] thread is _thread_in_vm when committing JFR compilation event
Reviewed-by: never, kvn
2023-03-01 10:47:49 +00:00
Kim Barrett
539a4951ee 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting
Reviewed-by: coleenp, stuefe
2023-03-01 10:19:28 +00:00
Roland Westrelin
6b07243f56 8301630: C2: 8297933 broke type speculation in some cases
Reviewed-by: chagedorn, thartmann
2023-03-01 09:36:22 +00:00
Leonid Mesnik
3aeefbf1de 8303421: [BACKOUT] 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-01 05:21:45 +00:00
Leonid Mesnik
1fdaf252b6 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes, rriggs
2023-03-01 00:50:35 +00:00
Mikael Vidstedt
65da2c5d2d 8303412: Update linux_x64-to-linux_aarch64 cross compilation devkit at Oracle
Reviewed-by: dholmes
2023-03-01 00:48:59 +00:00
Justin Lu
7e47d51e10 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
2023-03-01 00:36:22 +00:00
Andrey Turbanov
881517586d 8303216: Prefer ArrayList to LinkedList in sun.net.httpserver.ServerImpl
Reviewed-by: jpai, vtewari, stsypanov, dfuchs
2023-02-28 20:21:07 +00:00
Dmitry Markov
a10d5ac61b 8303130: Document required Accessibility permissions on macOS
Reviewed-by: erikj, aivanov, prr, serb
2023-02-28 19:50:49 +00:00
Julian Waters
50dc041ee6 8303227: JniObjWithEnv should be NullablePointer compliant
Reviewed-by: asemenyuk
2023-02-28 18:35:40 +00:00
Joe Darcy
61e8867591 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
2023-02-28 18:33:53 +00:00
Erik Gahlin
6423065b7d 8303261: JFR: jdk/jfr/api/consumer/streaming/TestJVMCrash.java doesn't retry
Reviewed-by: mgronlun
2023-02-28 16:42:19 +00:00
Pavel Rappo
dc5ea6aeb5 8303350: Fix mistyped {@code}
Reviewed-by: jpai
2023-02-28 15:40:05 +00:00
Jie Fu
4a415ad584 8303351: [IR Framework] Add missing cpu feature avx512bw after JDK-8302681
Reviewed-by: epeter, thartmann
2023-02-28 14:44:38 +00:00
Albert Mingkun Yang
30302d185a 8303250: Call ct_max_alignment_constraint using the base class
Reviewed-by: kbarrett, tschatzl
2023-02-28 13:39:58 +00:00
Lutz Schmidt
e144783eb2 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls
Reviewed-by: mbaesken, mdoerr
2023-02-28 12:52:00 +00:00
Darragh Clarke
5feb13b55d 8301701: java/net/DatagramSocket/DatagramSocketMulticasting.java should be hardened
Reviewed-by: dfuchs
2023-02-28 06:51:37 +00:00
Archie L. Cobbs
1e3c9fd67e 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
2023-02-28 03:33:14 +00:00
Kim Barrett
14a014d430 8302124: HotSpot Style Guide should permit noreturn attribute
Reviewed-by: dcubed, iveresov, dholmes, tschatzl, jwaters, kvn
2023-02-28 01:59:03 +00:00
Erik Gahlin
bca60f4767 8303249: JFR: Incorrect description of dumponexit
Reviewed-by: mgronlun
2023-02-27 22:33:34 +00:00
David Holmes
f7f10367b2 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program
Reviewed-by: jsjolen, tschatzl, chagedorn
2023-02-27 21:38:12 +00:00
Ian Graves
784f7b1462 8293667: Align jlink's --compress option with jmod's --compress option
Reviewed-by: mchung
2023-02-27 21:05:36 +00:00
Erik Gahlin
54603aa1b7 8303208: JFR: 'jfr print' displays incorrect timestamps
Reviewed-by: mgronlun
2023-02-27 18:13:27 +00:00
Roger Riggs
4c169d2d7c 8303253: Remove unnecessary calls to super() in java.time value based classes
Reviewed-by: naoto, mchung, lancea
2023-02-27 18:10:40 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Brian Burkhalter
42330d28da 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
2023-02-27 17:11:29 +00:00
Naoto Sato
a253b46021 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
2023-02-27 16:35:59 +00:00
Archie L. Cobbs
55e6bb6b85 8302685: Some javac unit tests aren't reliably closing open files
Reviewed-by: darcy, vromero
2023-02-27 16:21:57 +00:00
Matias Saavedra Silva
f5a12768fb 8262895: [macos_aarch64] runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Reviewed-by: dholmes, coleenp
2023-02-27 15:53:33 +00:00
Julian Waters
2fe4e5f8d7 8303169: Remove Windows specific workaround from libdt
Reviewed-by: cjplummer, sspitsyn, clanger
2023-02-27 15:35:58 +00:00
Johan Sjölen
f2b03f9a2c 8303051: Stop saving 5 chunks in each ChunkPool
Reviewed-by: rehn, coleenp
2023-02-27 11:05:07 +00:00
Erik Gahlin
fbc036e745 8303135: JFR: Log periodic events using periodic tag
Reviewed-by: mgronlun
2023-02-27 09:47:01 +00:00
Prasanta Sadhukhan
dbb5581eba 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished
Reviewed-by: aivanov, serb
2023-02-27 09:19:57 +00:00
Darragh Clarke
306134dcf9 8300792: Refactor examples in java.net.http to use @snippet
Reviewed-by: dfuchs, jpai
2023-02-27 09:18:56 +00:00
Daniel Jeliński
a2c5a4ac9e 8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
Reviewed-by: dfuchs
2023-02-27 07:52:03 +00:00
Damon Fenacci
db217c9ad6 8292583: Comment for ciArrayKlass::make is wrong
Reviewed-by: thartmann, rcastanedalo
2023-02-27 07:33:13 +00:00
Emanuel Peter
2613b94f28 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
Reviewed-by: kvn, vlivanov
2023-02-27 07:16:59 +00:00
Emanuel Peter
d2660a6915 8303045: Remove RegionNode::LoopStatus::NeverIrreducibleEntry assert with wrong assumption
Reviewed-by: chagedorn, kvn
2023-02-27 07:15:27 +00:00
Emanuel Peter
1794f49751 8302681: [IR Framework] Only allow cpuFeatures from a verified list
Reviewed-by: thartmann, pli, chagedorn, kvn
2023-02-27 07:12:18 +00:00
Sergey Bylokhov
a43931b79c 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Reviewed-by: dholmes
2023-02-26 23:36:59 +00:00
Andrey Turbanov
2fb1e3b7e7 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer
Reviewed-by: serb, dnguyen
2023-02-25 13:40:32 +00:00
Andrey Turbanov
3a9f491caa 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
Reviewed-by: dfuchs, jpai, alanb
2023-02-25 13:39:36 +00:00
Andrey Turbanov
1dbd18ac63 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
2023-02-25 13:38:47 +00:00
Alan Bateman
2e78d838a5 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
2023-02-25 07:48:57 +00:00
Eirik Bjorsnos
17e3769ed7 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
2023-02-25 07:48:03 +00:00
Leonid Mesnik
b4ea80731c 8288912: vmTestbase/nsk/stress/strace/strace002.java fails with Unexpected method name: currentCarrierThread
Reviewed-by: dholmes
2023-02-24 19:38:55 +00:00
Brian Burkhalter
ccf3340e82 8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
2023-02-24 19:02:12 +00:00
Justin King
83d77b1cbb 8303072: Memory leak in exeNullCallerTest.cpp
Reviewed-by: dholmes
2023-02-24 15:49:00 +00:00
Julian Waters
7d8b8ba9c4 8303131: pandoc.exe mangles all processed html files
Reviewed-by: erikj
2023-02-24 08:47:41 +00:00
Thomas Stuefe
8f7c4969c2 8302810: NMT gtests don't correctly check for marked ranges
Reviewed-by: gziemski, dholmes
2023-02-24 07:58:25 +00:00
Damon Nguyen
1a07871454 8302173: Button border overlaps with button icon on macOS system LaF
Reviewed-by: honkar, psadhukhan
2023-02-23 20:41:25 +00:00
Erik Gahlin
796cdd52f5 8302677: JFR: Cache label and contentType in EventType and ValueDescriptor
Reviewed-by: mgronlun
2023-02-23 20:12:54 +00:00
Erik Gahlin
6b24b4a70f 8302821: JFR: Periodic task thread spins after recording has stopped
Reviewed-by: mgronlun
2023-02-23 19:53:21 +00:00
Evgeny Nikitin
4d33fbd582 8303089: [jittester] Add time limit to IRTree generation
Reviewed-by: iveresov, lmesnik
2023-02-23 19:51:02 +00:00
Justin Lu
f612dcfebe 8302512: Update IANA Language Subtag Registry to Version 2023-02-14
Reviewed-by: naoto
2023-02-23 19:05:40 +00:00
Leonid Mesnik
6397cb611a 8301200: Don't scale timeout stress with timeout factor
Reviewed-by: lkorinth
2023-02-23 18:20:53 +00:00
Mikhailo Seledtsov
71dd7eaf7f 8303085: Runtime problem list cleanup
Reviewed-by: lmesnik, dholmes
2023-02-23 18:02:43 +00:00
Erik Gahlin
4b6acad0bd 8302883: JFR: Improve periodic events
Reviewed-by: mgronlun
2023-02-23 17:20:53 +00:00
Daniel D. Daugherty
a2471b37e3 8303125: ProblemList vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
Reviewed-by: jdv
2023-02-23 17:07:52 +00:00
Christoph Dreis
58ca711a97 8303078: Reduce allocations when pretty printing JCTree during compilation
Reviewed-by: jjg, vromero
2023-02-23 15:25:05 +00:00
Justin King
2cf8b8607d 8303071: Memory leaks in libjdwp
Reviewed-by: sspitsyn
2023-02-23 15:23:03 +00:00
Stefan Karlsson
f113b04ab9 8302927: Unproblemlist Fuzz.java from ProblemList-zgc.txt again
Reviewed-by: sjohanss, eosterlund
2023-02-23 14:07:37 +00:00
Claes Redestad
1bab93b2d0 8303073: (bf) Temporarily reinstate private DirectByteBuffer(long, int) constructor
Reviewed-by: alanb, bpb
2023-02-23 10:31:14 +00:00
Matthias Baesken
221f34634d 8303047: avoid NULL after 8301661
Reviewed-by: mdoerr, kbarrett, dholmes
2023-02-23 08:08:25 +00:00
Thomas Stuefe
23e9d9d3ee 8302811: NMT.random_reallocs_vm fails if NMT is off
Reviewed-by: jsjolen, sgehwolf
2023-02-23 06:44:10 +00:00
Joe Darcy
fcaf871408 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
2023-02-22 22:49:59 +00:00
Albert Mingkun Yang
07e976ac26 8303081: Serial: Remove unused VM_MarkSweep
Reviewed-by: tschatzl
2023-02-22 18:28:17 +00:00
Julian Waters
8de841dd19 8302667: Improve message format when failing to load symbols or libraries
Reviewed-by: mchung
2023-02-22 17:42:34 +00:00
Glavo
f893d2315d 8303024: (fs) WindowsFileSystem.supportedFileAttributeViews can use Set.of
Reviewed-by: bpb
2023-02-22 17:16:49 +00:00
Thomas Schatzl
d7ada66129 8303084: G1 Heap region liveness verification has inverted return value
Reviewed-by: ayang
2023-02-22 17:08:24 +00:00
Thomas Schatzl
5d7e7e28b1 8302760: Improve liveness/remembered set verification for G1
Reviewed-by: kbarrett, iwalulya
2023-02-22 16:11:41 +00:00
Albert Mingkun Yang
b0e0f37d73 8303067: G1: Remove unimplemented G1FullGCScope::heap_transition
Reviewed-by: tschatzl
2023-02-22 15:57:08 +00:00
Thomas Schatzl
1a62a1229a 8302880: Fix includes in g1ConcurrentMarkObjArrayProcessor files
Reviewed-by: ayang, kbarrett
2023-02-22 15:47:29 +00:00
Thomas Schatzl
ee37af47cd 8302975: Remove redundant mark verification during G1 Full GC
Reviewed-by: ayang, kbarrett
2023-02-22 15:45:12 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Sergey Tsypanov
25bfed3b12 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Albert Mingkun Yang
0d5f7439a4 8303054: Remove unused variables in GCTraceTimeLoggerImpl::log_end
Reviewed-by: tschatzl
2023-02-22 12:49:40 +00:00
Albert Mingkun Yang
adc29c36e1 8302878: Group cmdline heap size checking together
Reviewed-by: kbarrett, iwalulya
2023-02-22 12:48:31 +00:00
Daniel Fuchs
575484806c 8299338: AssertionError in ResponseSubscribers$HttpResponseInputStream::onSubscribe
Reviewed-by: jpai
2023-02-22 12:43:55 +00:00
Per Minborg
63ef214328 8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
2023-02-22 11:45:51 +00:00
Roberto Castañeda Lozano
30b2ac4a28 8302873: ZGC: dump barrier data in C2 Mach nodes
Reviewed-by: thartmann, kvn
2023-02-22 10:59:15 +00:00
Per Minborg
861eea9bd4 8302858: Polish FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2023-02-22 10:33:58 +00:00
Per Minborg
60a358172a 8302856: Typo in FlightRecorderMXBeanImpl
Reviewed-by: kevinw, egahlin
2023-02-22 10:29:40 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Kevin Walls
5e1d1b7940 8302870: More information needed from failures in vmTestbase ThreadUtils.waitThreadState
Reviewed-by: dholmes, sspitsyn
2023-02-22 09:29:57 +00:00
Severin Gehwolf
7f35389533 8302888: containers/docker/TestJcmd.java fails when run as root under podman
Reviewed-by: dholmes
2023-02-22 08:35:10 +00:00
Alan Bateman
b6ecca1268 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
2023-02-22 08:13:06 +00:00
Richard Reingruber
f54e1080c5 8302831: PPC: compiler/codecache/TestStressCodeBuffers.java fails after JDK-8301819
Reviewed-by: mdoerr
2023-02-22 06:29:48 +00:00
Julian Waters
cba817ae59 8302838: jabswitch main() should avoid calling exit explicitly
Reviewed-by: serb
2023-02-22 06:27:52 +00:00
Prasanta Sadhukhan
2c52cf0746 8041447: Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
Reviewed-by: tr, serb
2023-02-22 06:13:09 +00:00
Martin Doerr
180b94c73e 8302907: [PPC64] Use more constexpr in class Register
Reviewed-by: rrich
2023-02-22 02:24:38 +00:00
Mikael Vidstedt
f319c92bd0 8303016: Invalid escapes in grep patterns
Reviewed-by: erikj
2023-02-21 22:10:36 +00:00
Eirik Bjorsnos
e950b95486 8303033: Build failure with the micro bench mark
Reviewed-by: naoto
2023-02-21 21:39:35 +00:00
Albert Mingkun Yang
dcd773ac5c 8302864: Parallel: Remove PSVirtualSpace::pointer_delta
Reviewed-by: tschatzl, kbarrett
2023-02-21 21:24:22 +00:00
Serguei Spitsyn
46f25250bd 8299240: rank of JvmtiVTMSTransition_lock can be safepoint
Reviewed-by: dholmes, coleenp, pchilanomate
2023-02-21 21:22:49 +00:00
Justin King
ce6de37172 8303010: Add /DEBUG to LDFLAGS for MSVC with ASan
Reviewed-by: erikj
2023-02-21 21:15:43 +00:00
Mikael Vidstedt
729c26f70e 8303020: Remove carriage return in pandoc version string
Reviewed-by: iris, lancea, erikj
2023-02-21 21:00:38 +00:00
Eirik Bjorsnos
ef1f7bd3b8 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
2023-02-21 20:54:36 +00:00
Christian Stein
1ea5f9f7cd 8302789: (fs) Files.copy should include unsupported copy option in exception message
Reviewed-by: alanb, bpb, lancea
2023-02-21 19:03:26 +00:00
Joe Darcy
dfce4e1943 8302800: Augment NaN handling tests of FDLIBM methods
Reviewed-by: bpb
2023-02-21 18:31:22 +00:00
Glavo
5489c821dc 8302603: Use Set.of in java.nio.charset.Charset
Reviewed-by: stsypanov, alanb, naoto
2023-02-21 17:35:52 +00:00
Roger Riggs
10b4cc9eb4 8301627: System.exit and Runtime.exit debug logging
Reviewed-by: alanb, chegar
2023-02-21 15:37:08 +00:00
Johannes Bechberger
db483a38a8 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Reviewed-by: jvernee, dholmes, rrich
2023-02-21 14:33:02 +00:00
Tobias Holenstein
02eb240c71 8302846: IGV: Zoom stuck when zooming out on large graphs
Reviewed-by: rcastanedalo, thartmann
2023-02-21 13:48:49 +00:00
Claes Redestad
92dfa1175e 8302863: Speed up String::encodeASCII using countPositives
Reviewed-by: alanb
2023-02-21 13:31:15 +00:00
Pavel Rappo
8b20aa919b 8302981: Fix a typo in the doc comment for java.lang.Record.equals
Reviewed-by: jpai
2023-02-21 13:11:26 +00:00
Julian Waters
644fe0a994 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Reviewed-by: jlahoda
2023-02-21 11:58:44 +00:00
Stefan Karlsson
60e6378925 8302977: ZGC: Doesn't support gc/TestVerifySubSet.java
Reviewed-by: tschatzl
2023-02-21 11:04:43 +00:00
Stefan Karlsson
fef1910277 8299777: Test runtime/NMT/BaselineWithParameter.java timed out
Reviewed-by: gziemski, iklam, dholmes
2023-02-21 10:58:36 +00:00
Albert Mingkun Yang
622f5604c1 8302886: Parallel: Remove unimplemented methods in ParCompactionManager
Reviewed-by: tschatzl
2023-02-21 09:26:47 +00:00
Albert Mingkun Yang
9fd77c7b9b 8302868: Serial: Remove CardTableRS::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:51 +00:00
Albert Mingkun Yang
f35cf79b51 8302867: G1: Removing unused variable in G1CardTable::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:07 +00:00
Stefan Karlsson
63a3501273 8302741: ZGC: Remove Universe::verify calls
Reviewed-by: ayang, tschatzl
2023-02-21 08:23:28 +00:00
Matthias Baesken
9145670354 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Reviewed-by: ihse, lucy, dholmes
2023-02-21 08:17:56 +00:00
Jayathirth D V
aa10f0d3ee 8302151: BMPImageReader throws an exception reading BMP images
Reviewed-by: serb, tr
2023-02-21 07:30:17 +00:00
Emanuel Peter
16a4f02f2d 8302150: Speed up compiler/codegen/Test7100757.java
Reviewed-by: kvn, thartmann
2023-02-21 07:16:51 +00:00
Emanuel Peter
17274c72a9 8302146: Move TestOverloadCompileQueues.java to tier3
Reviewed-by: kvn, thartmann
2023-02-21 07:13:33 +00:00
Tejesh R
29f392e434 8299522: Incorrect size of Approve button in custom JFileChooser
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-02-21 05:19:07 +00:00
Gui Cao
43c71ddf92 8302453: RISC-V: Add support for small width vector operations
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: yzhu, fyang
2023-02-21 01:39:13 +00:00
David Holmes
91a2b5ec6f 8302905: arm32 Raspberry Pi OS build broken by JDK-8301494
Reviewed-by: mikael, martin
2023-02-21 01:23:06 +00:00
George Adams
bb3dfd6adb 8302879: doc/building.md update link to jtreg builds
Reviewed-by: sgehwolf, clanger
2023-02-20 21:58:55 +00:00
sunguoyun
36a0822633 8302369: Reduce the stack size of the C1 compiler
Reviewed-by: dlong
2023-02-20 19:28:09 +00:00
Justin King
0bf3a53e01 8302599: Extend ASan support to Microsoft Visual C++
Reviewed-by: erikj, stuefe, ihse
2023-02-20 18:37:16 +00:00
ravi.ra.gupta
c7517b3dec 8302525: Write a test to check various components send Events while mouse and key are used simultaneously
Reviewed-by: serb
2023-02-20 18:32:00 +00:00
Alexey Bakhtin
9a797228f3 8299234: JMX Repository.query performance
Reviewed-by: dfuchs, kevinw
2023-02-20 17:52:54 +00:00
Severin Gehwolf
e47e9ec05b 8300658: memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
Reviewed-by: jsjolen, iklam
2023-02-20 17:07:04 +00:00
Roman Kennke
7cf7e0a20b 8302070: Factor null-check into load_klass() calls
Reviewed-by: phh, coleenp
2023-02-20 15:13:36 +00:00
Prasanta Sadhukhan
e731695217 8302882: Newly added test javax/swing/JFileChooser/JFileChooserFontReset.java fails with HeadlessException
Reviewed-by: jdv
2023-02-20 14:47:45 +00:00
Johan Sjölen
b5a7426996 8301749: Tracking malloc pooled memory size
Reviewed-by: dholmes, stuefe
2023-02-20 14:23:54 +00:00
Albert Mingkun Yang
6ac5e05c58 8302068: Serial: Refactor oop closures used in Young GC
Reviewed-by: tschatzl, iwalulya
2023-02-20 14:07:45 +00:00
Pengfei Li
71cf7c4409 8302518: Add missing Op_RoundDoubleMode in VectorNode::vector_operands()
Reviewed-by: kvn, jbhateja
2023-02-20 12:08:03 +00:00
Thomas Schatzl
98716e2b25 8302709: Remove explicit remembered set verification in G1
Reviewed-by: ayang, iwalulya
2023-02-20 11:22:04 +00:00
Ludovic Henry
303c61f3ca 8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
Reviewed-by: fyang
2023-02-20 10:48:27 +00:00
Thomas Schatzl
7c40c8af69 8302312: Make ParGCRareEvent_lock G1 specific
Reviewed-by: sjohanss, kbarrett
2023-02-20 10:45:40 +00:00
Thomas Schatzl
593bec685e 8302122: Parallelize TLAB retirement in prologue in G1
8297611: G1: Merge tlab and per-thread dirty card log flushing

Reviewed-by: kbarrett, ayang
2023-02-20 10:23:00 +00:00
Thomas Schatzl
e971f90a0b 8302206: Factor out duplicate G1VerificationClosure
Reviewed-by: kbarrett, ayang
2023-02-20 10:21:21 +00:00
Ivan Walulya
eaae0baeba 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points.
Reviewed-by: ayang, sjohanss, tschatzl
2023-02-20 08:43:02 +00:00
Emanuel Peter
7e08275cc1 8302668: [TESTBUG] Tests require feature sse4_1 which does not exist, should be sse4.1
Reviewed-by: kvn, thartmann
2023-02-20 08:41:40 +00:00
Emanuel Peter
5c0f50bc01 8295979: [IR Framework] Improve IR matching warning
Reviewed-by: thartmann, kvn
2023-02-20 08:40:11 +00:00
Tobias Holenstein
743a85db06 8302656: Missing spaces in output of -XX:+CIPrintMethodCodes
Reviewed-by: kvn, thartmann
2023-02-20 08:35:30 +00:00
Prasanta Sadhukhan
432cf68c4d 6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
2023-02-20 08:17:00 +00:00
Richard Reingruber
2009dc2b73 8302462: [REDO] 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: tschatzl, ayang
2023-02-20 06:47:57 +00:00
Ioi Lam
7abe26935a 8302781: CDS archive heap not reproducible after JDK-8296344
Reviewed-by: dcubed
2023-02-19 05:59:12 +00:00
Claes Redestad
d6716d2e54 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
2023-02-18 15:17:57 +00:00
Thomas Stuefe
53be5dc486 8302812: JDK-8302455 broke ClassLoaderStatsTest on 32-bit
Reviewed-by: dcubed
2023-02-18 14:52:26 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
Jaikiran Pai
f82385e587 8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
2023-02-18 11:58:05 +00:00
Jaikiran Pai
43cf8b3d80 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +00:00
Serguei Spitsyn
6b082fb3c6 8302615: make JVMTI thread cpu time functions optional for virtual threads
Reviewed-by: alanb
2023-02-17 21:49:14 +00:00
Sandhya Viswanathan
7c60b9c98f 8302358: Behavior of adler32 changes after JDK-8300208
Reviewed-by: kvn, jbhateja
2023-02-17 21:31:42 +00:00
Calvin Cheung
86b9fce980 8301992: Embed SymbolTable CHT node
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: coleenp, iklam
2023-02-17 19:51:12 +00:00
Mikhailo Seledtsov
03d613bbab 8294402: Add diagnostic logging to VMProps.checkDockerSupport
Reviewed-by: dholmes, lmesnik
2023-02-17 19:37:02 +00:00
Ioi Lam
a263f28368 8302777: CDS should not relocate heap if mapping fails
Reviewed-by: ccheung
2023-02-17 19:34:26 +00:00
Archie L. Cobbs
a917fb3fcf 7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
2023-02-17 16:55:35 +00:00
Ludvig Janiuk
6120319afd 8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
2023-02-17 14:57:00 +00:00
Albert Mingkun Yang
fef3eab9bd 8302734: Parallel: Remove unused LGRPSpace::_invalid_region
Reviewed-by: tschatzl
2023-02-17 14:47:03 +00:00
Albert Mingkun Yang
ea5bfea333 8302661: Parallel: Remove PSVirtualSpace::is_aligned
Reviewed-by: stefank, tschatzl
2023-02-17 14:46:23 +00:00
Daniel Fuchs
edf238b65e 8302635: Race condition in HttpBodySubscriberWrapper when cancelling request
Reviewed-by: jpai
2023-02-17 14:43:58 +00:00
Tobias Holenstein
cd77fcfb5f 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Reviewed-by: kvn, thartmann
2023-02-17 14:27:17 +00:00
Tobias Holenstein
57c9bc39cd 8302335: IGV: Bytecode not showing
Reviewed-by: rcastanedalo, thartmann, xliu
2023-02-17 14:26:37 +00:00
Yi-Fan Tsai
57fde75b2a 8302113: Improve CRC32 intrinsic with crypto pmull on AArch64
Reviewed-by: simonis
2023-02-17 14:23:33 +00:00
Richard Reingruber
b8c9d6cdf6 8302158: PPC: test/jdk/jdk/internal/vm/Continuation/Fuzz.java: AssertionError: res: false shouldPin: false
Reviewed-by: goetz, mdoerr
2023-02-17 13:20:08 +00:00
Jan Lahoda
dc55a7fc87 8302202: Incorrect desugaring of null-allowed nested patterns
Reviewed-by: vromero
2023-02-17 12:55:47 +00:00
Johan Sjölen
c4ffe4bf63 8301494: Replace NULL with nullptr in cpu/arm
Reviewed-by: dholmes, coleenp
2023-02-17 11:24:41 +00:00
Albert Mingkun Yang
4f1cffd52c 8302674: Parallel: Remove unused methods in MutableNUMASpace
Reviewed-by: tschatzl
2023-02-17 10:39:58 +00:00
Johan Sjölen
c91cd2814b 8301481: Replace NULL with nullptr in os/windows
Reviewed-by: coleenp, dholmes
2023-02-17 09:41:12 +00:00
Damon Fenacci
47ca5773a5 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Reviewed-by: thartmann, kvn
2023-02-17 09:10:20 +00:00
Ioi Lam
49eb68ba95 8296158: Refactor the verification of CDS region checksum
Reviewed-by: ccheung, matsaave
2023-02-17 07:21:26 +00:00
Joe Darcy
655a71277d 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
2023-02-17 03:22:06 +00:00
David Holmes
b242eef93e 8280419: Remove dead code related to VerifyThread and verify_thread()
Reviewed-by: stuefe, lucy
2023-02-17 02:00:32 +00:00
Valerie Peng
4ce493f09e 8302225: SunJCE Provider doesn't validate key sizes when using 'constrained' transforms for AES/KW and AES/KWP
Reviewed-by: xuelei
2023-02-16 21:58:34 +00:00
Magnus Ihse Bursie
a39cf2e3b2 8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Reviewed-by: erikj
2023-02-16 19:32:38 +00:00
Vicente Romero
de80dd9c15 8296010: AssertionError in annotationTargetType
Reviewed-by: jjg
2023-02-16 19:06:26 +00:00
Julian Waters
e5042dd483 8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
2023-02-16 18:56:59 +00:00
Daniel D. Daugherty
574b48c692 8302678: validate_source fails after JDK-8293313
Reviewed-by: bpb
2023-02-16 17:13:16 +00:00
Thomas Stuefe
90e092280f 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken
2023-02-16 16:14:05 +00:00
Erik Gahlin
f558a6c599 8298276: JFR: Update NMT events to make use of common periodic timestamp feature
Reviewed-by: mgronlun
2023-02-16 15:49:05 +00:00
Archie L. Cobbs
a58fa6e73e 8302514: Misleading error generated when empty class file encountered
Reviewed-by: vromero, jwaters
2023-02-16 14:48:39 +00:00
Justin King
3cc459b6c2 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: kvn, thartmann
2023-02-16 14:40:38 +00:00
Justin King
2e3cea01da 8302594: use-after-free in Node::destruct
Reviewed-by: kvn, thartmann
2023-02-16 14:14:46 +00:00
Tobias Holenstein
9b911b492f 8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work
Reviewed-by: kvn, thartmann
2023-02-16 13:51:11 +00:00
Tobias Holenstein
c29a136787 8291735: methods_do() always run at exit
Reviewed-by: coleenp, kvn
2023-02-16 12:55:01 +00:00
Albert Mingkun Yang
687a461276 8302464: Parallel: Remove unreachable code in callers of numa_has_static_binding
Reviewed-by: lkorinth, tschatzl
2023-02-16 11:48:56 +00:00
Tejesh R
84c058bb63 8300549: JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode
Reviewed-by: aivanov, abhiscxk
2023-02-16 11:10:25 +00:00
Tobias Holenstein
e045af4c92 8297031: IGV: Copy extracted nodes and layout for cloned graph
Reviewed-by: rcastanedalo, thartmann
2023-02-16 10:20:59 +00:00
Severin Gehwolf
53ae4c07fd 8300645: Handle julong values in logging of GET_CONTAINER_INFO macros
Reviewed-by: iklam
2023-02-16 10:08:54 +00:00
Tobias Hartmann
c77f64420a 8302625: Bad copyright line after JDK-8302385
Reviewed-by: mikael
2023-02-16 07:31:55 +00:00
Thomas Stuefe
519229db3c 8302385: Remove MetaspaceReclaimPolicy=none
Reviewed-by: iklam, dholmes
2023-02-16 07:01:10 +00:00
Thomas Stuefe
6e2d3c6c45 8302455: VM.classloader_stats memory size values are wrong
Reviewed-by: coleenp, dholmes
2023-02-16 06:56:38 +00:00
Vicente Romero
1480d418e3 8208470: Type annotations on inner type that is an array component
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2023-02-16 04:01:12 +00:00
Ioi Lam
573c316c57 8224980: FLAG_SET_ERGO silently ignores invalid values
Reviewed-by: iveresov, dholmes
2023-02-16 03:44:48 +00:00
Joe Darcy
3ba156082b 8302026: Port fdlibm inverse trig functions (asin, acos, atan) to Java
Reviewed-by: bpb
2023-02-15 22:16:30 +00:00
Claes Redestad
861e302011 8302163: Speed up various String comparison methods with ArraysSupport.mismatch
Reviewed-by: stsypanov, rriggs, alanb
2023-02-15 21:52:41 +00:00
Mandy Chung
50dcc2aec5 8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
2023-02-15 18:29:26 +00:00
Albert Mingkun Yang
28f5250fa5 8302127: Remove unused arg in write_ref_field_post
Reviewed-by: phh, kbarrett
2023-02-15 14:34:30 +00:00
Johan Sjölen
0c9658446d 8301225: Replace NULL with nullptr in share/gc/shenandoah/
Reviewed-by: wkemper, kdnilsen, rkennke
2023-02-15 13:40:34 +00:00
Sean Mullan
26b111d714 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: xuelei
2023-02-15 13:25:50 +00:00
Michael McMahon
52388179e6 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
2023-02-15 10:19:49 +00:00
Severin Gehwolf
11194e8b82 8302325: Wrong comment in java.base/share/native/libjimage/imageFile.hpp
Reviewed-by: alanb, jlaskey
2023-02-15 09:54:47 +00:00
Scott Gibbons
33bec20710 8300808: Accelerate Base64 on x86 for AVX2
Reviewed-by: jbhateja, redestad, sviswanathan
2023-02-15 09:26:10 +00:00
Emanuel Peter
46bcc4901e 8302147: Speed up compiler/jvmci/compilerToVM/IterateFramesNative.java
Reviewed-by: kvn, thartmann
2023-02-15 07:36:53 +00:00
Emanuel Peter
a9a53f417d 8302152: Speed up tests with infinite loops, sleep less
Reviewed-by: thartmann, kvn
2023-02-15 07:35:23 +00:00
Justin King
98a392c4fc 8302102: Disable ASan for SafeFetch and os::print_hex_dump
Reviewed-by: dholmes, stuefe
2023-02-15 06:42:27 +00:00
Thomas Stuefe
9ccf8ad91f 8302129: Make MetaspaceReclaimPolicy a diagnostic switch
Reviewed-by: dholmes, coleenp
2023-02-15 06:36:16 +00:00
Ioi Lam
bdcbafb219 8296344: Remove dependency on G1 for writing the CDS archive heap
Reviewed-by: ayang, tschatzl, ccheung
2023-02-15 05:12:39 +00:00
Kim Barrett
f1d76fa925 8302262: Remove -XX:SuppressErrorAt develop option
Reviewed-by: stuefe, dholmes, tschatzl
2023-02-15 00:44:02 +00:00
Mandy Chung
9c202a5a8f 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
2023-02-14 21:15:14 +00:00
Vicente Romero
ca73f7e80f 8301374: NullPointerException in MemberEnter.checkReceiver
Reviewed-by: jlahoda
2023-02-14 18:59:37 +00:00
Brian Burkhalter
5b2d430131 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Xue-Lei Andrew Fan
f7dee77d73 8301274: update for deprecated sprintf for security components
Reviewed-by: ascarpino
2023-02-14 15:37:47 +00:00
Xue-Lei Andrew Fan
ec901f28c3 8301279: update for deprecated sprintf for management components
Reviewed-by: kevinw, dholmes
2023-02-14 15:36:09 +00:00
Erik Gahlin
8933c2d06a 8298278: JFR: Turn MEMFLAGS into a type for use with the NativeMemoryUsage events
Reviewed-by: sjohanss
2023-02-14 15:02:58 +00:00
Robbin Ehn
77519e5f4f 8302354: InstanceKlass init state/thread should be atomic
Reviewed-by: coleenp, dholmes
2023-02-14 14:38:46 +00:00
Vicente Romero
2ef001e097 8207017: Type annotations on anonymous classes in initializer blocks not written to class file
Reviewed-by: jlahoda
2023-02-14 14:27:29 +00:00
Johan Sjölen
8c2c8b3f7f 8295344: Harden runtime/StackGuardPages/TestStackGuardPages.java
Reviewed-by: dholmes, rehn
2023-02-14 13:11:44 +00:00
Hannes Wallnöfer
6d4b02b6c9 8302324: Inheritance tree does not show correct type parameters/arguments
Reviewed-by: prappo
2023-02-14 12:42:59 +00:00
Ekaterina Vergizova
7dfe75cf55 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Reviewed-by: mgronlun
2023-02-14 11:02:39 +00:00
Jie Fu
66742c83d4 8302368: [ZGC] Client build fails after JDK-8300255
Reviewed-by: fyang, eosterlund
2023-02-14 10:57:49 +00:00
Albert Mingkun Yang
7c50ab1612 8225409: G1: Remove the Hot Card Cache
Reviewed-by: tschatzl, iwalulya
2023-02-14 10:18:43 +00:00
Conor Cleary
92474f13f0 8301243: java/net/httpclient/http2/IdleConnectionTimeoutTest.java intermittent failure
Reviewed-by: dfuchs
2023-02-14 09:41:36 +00:00
Severin Gehwolf
ee5f6e156d 8302337: JDK crashes if lib/modules contains non-zero byte containing ATTRIBUTE_END
Reviewed-by: stuefe, jlaskey, alanb
2023-02-14 09:27:36 +00:00
Erik Österlund
7f71a1040d 8301874: BarrierSetC2 should assign barrier data to stores
Reviewed-by: rcastanedalo, kvn
2023-02-14 09:18:48 +00:00
Eirik Bjorsnos
d782125c8f 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
2023-02-14 06:58:56 +00:00
4439 changed files with 106271 additions and 179151 deletions

View File

@@ -66,7 +66,7 @@ runs:
shell: bash
- name: 'Upload build logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-logs-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: failure-logs
@@ -74,7 +74,7 @@ runs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about build failures'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: core.setFailed('Build failed. See summary for details.')
if: steps.check.outputs.failure == 'true'

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
@@ -65,7 +65,7 @@ runs:
- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}
@@ -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

@@ -48,14 +48,14 @@ runs:
steps:
- name: 'Download bundles artifact'
id: download-bundles
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true
- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -41,13 +41,13 @@ runs:
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: jtreg/installed
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 }}
@@ -56,8 +56,14 @@ runs:
- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
bash make/build.sh --jdk "$JDK"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src

View File

@@ -30,8 +30,7 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
# use a specific release of msys2/setup-msys2 to prevent jtreg build failures on newer release
uses: msys2/setup-msys2@7efe20baefed56359985e327d329042cde2434ff
uses: msys2/setup-msys2@v2.22.0
with:
install: 'autoconf tar unzip zip make'
path-type: minimal

View File

@@ -69,7 +69,7 @@ runs:
shell: bash
- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -44,8 +44,8 @@ for test in $failures $errors; do
base_path="$(echo "$test" | tr '#' '_')"
report_file="$report_dir/$base_path.jtr"
hs_err_files=$(ls $report_dir/$base_path/hs_err*.log 2> /dev/null || true)
replay_files=$(ls $report_dir/$base_path/replay*.log 2> /dev/null || true)
echo "#### <a id="$anchor">$test"
echo '<details><summary>View test results</summary>'
echo ''
echo '```'
@@ -73,6 +73,20 @@ for test in $failures $errors; do
echo ''
fi
if [[ "$replay_files" != "" ]]; then
echo '<details><summary>View HotSpot replay file</summary>'
echo ''
for replay in $replay_files; do
echo '```'
echo "$replay:"
echo ''
cat "$replay"
echo '```'
done
echo '</details>'
echo ''
fi
done >> $GITHUB_STEP_SUMMARY
# With many failures, the summary can easily exceed 1024 kB, the limit set by Github

View File

@@ -42,6 +42,7 @@ error_count=$(echo $errors | wc -w || true)
if [[ "$failures" = "" && "$errors" = "" ]]; then
# We know something went wrong, but not what
echo 'failure=true' >> $GITHUB_OUTPUT
echo 'error-message=Unspecified test suite failure. Please see log for job for details.' >> $GITHUB_OUTPUT
exit 0
fi

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
@@ -67,32 +61,36 @@ jobs:
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: arm
gnu-arch: arm
debian-arch: armhf
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
gnu-abi: eabihf
- target-cpu: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: ppc64le
gnu-arch: powerpc64le
debian-arch: ppc64el
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- 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
tolerate-sysroot-errors: true
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -100,12 +98,9 @@ jobs:
with:
platform: linux-x64
# Use linux-x64 JDK bundle as build JDK
- name: 'Get build JDK'
id: buildjdk
uses: ./.github/actions/get-bundles
with:
platform: linux-x64
- name: 'Get GTest'
id: gtest
uses: ./.github/actions/get-gtest
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
@@ -114,17 +109,16 @@ 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'
id: get-cached-sysroot
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
@@ -134,16 +128,18 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
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 }}
continue-on-error: ${{ matrix.tolerate-sysroot-errors }}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Prepare sysroot'
@@ -153,8 +149,14 @@ 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}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -162,12 +164,12 @@ jobs:
--with-conf-name=linux-${{ matrix.target-cpu }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--with-zlib=system
--enable-debug
--disable-precompiled-headers
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}
--with-sysroot=sysroot
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
@@ -175,6 +177,7 @@ jobs:
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
- name: 'Build'
id: build
@@ -182,3 +185,4 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,9 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -55,7 +58,7 @@ on:
jobs:
build-macos:
name: build
runs-on: macos-11
runs-on: ${{ inputs.runs-on }}
strategy:
fail-fast: false
@@ -68,13 +71,13 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: macos-x64
platform: ${{ inputs.platform }}
- name: 'Get JTReg'
id: jtreg
@@ -87,7 +90,7 @@ jobs:
- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install make
brew install autoconf make
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,10 @@
name: 'OpenJDK GHA Sanity Checks'
on:
push:
branches-ignore:
- master
- pr/*
workflow_dispatch:
inputs:
platforms:
@@ -55,8 +59,7 @@ jobs:
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
# additional build options for linux-x64 are disabled
# linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
@@ -127,11 +130,9 @@ 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
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
if: needs.select.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
@@ -141,11 +142,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 }}
@@ -160,7 +160,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 }}
@@ -175,7 +174,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 }}
@@ -190,7 +188,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 }}
@@ -206,7 +203,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 }}
@@ -216,12 +212,9 @@ jobs:
name: linux-cross-compile
needs:
- select
- build-linux-x64
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'
@@ -232,7 +225,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
@@ -243,8 +237,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
@@ -287,7 +281,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'
@@ -324,7 +317,17 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13
test-macos-aarch64:
name: macos-aarch64
needs:
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
test-windows-x64:
name: windows-x64
@@ -362,7 +365,7 @@ jobs:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'

View File

@@ -1,270 +0,0 @@
#
# Copyright 2000-2023 JetBrains s.r.o.
# 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.
#
name: 'Build OpenJDK on pull request'
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
###
### Determine platforms to include
###
select:
name: 'Select platforms'
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
windows-x64: ${{ steps.include.outputs.windows-x64 }}
windows-aarch64: ${{ steps.include.outputs.windows-aarch64 }}
windows-x86: ${{ steps.include.outputs.windows-x86 }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Check what jobs to run'
id: include
run: |
# Determine which platform jobs to run
# Returns 'true' if the input platform list matches any of the platform monikers given as argument,
# 'false' otherwise.
# arg $1: platform name or names to look for
function check_platform() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
elif [[ $GITHUB_EVENT_NAME == push ]]; then
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
>&2 echo 'JDK_SUBMIT_FILTER is set and not a "submit/" branch'
echo 'false'
return
else
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
fi
fi
normalized_input="$(echo ,$input, | tr -d ' ')"
if [[ "$normalized_input" == ",," ]]; then
# For an empty input, assume all platforms should run
echo 'true'
return
else
# Check for all acceptable platform names
for part in $* ; do
if echo "$normalized_input" | grep -q -e ",$part," ; then
echo 'true'
return
fi
done
fi
echo 'false'
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
echo "macos-aarch64=$(check_platform macos-aarch64 macos aarch64)" >> $GITHUB_OUTPUT
echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
echo "windows-x86=$(check_platform windows-x86 windows x86)" >> $GITHUB_OUTPUT
echo "windows-aarch64=$(check_platform windows-aarch64 windows aarch64)" >> $GITHUB_OUTPUT
echo "docs=$(check_platform docs)" >> $GITHUB_OUTPUT
###
### Build jobs
###
build-linux-x64:
name: linux-x64
needs: select
uses: ./.github/workflows/build-linux.yml
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
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
build-linux-x86:
name: linux-x86
needs: select
uses: ./.github/workflows/build-linux.yml
with:
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'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
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'
build-macos-x64:
name: macos-x64
needs: select
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
build-windows-x86:
name: windows-x86
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x86
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x86 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
debug-levels: '[ "debug" ]'
make-target: 'docs-jdk-bundles'
# Make sure we never try to make full docs, since that would require a
# 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'
# Remove bundles so they are not misconstrued as binary distributions from the JDK project
remove-bundles:
name: 'Remove bundle artifacts'
runs-on: ubuntu-22.04
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-cross-compile
- build-macos-x64
- build-macos-aarch64
- build-windows-x64
- build-windows-aarch64
- build-windows-x86
steps:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v6
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'
- name: 'Remove bundle artifacts'
run: |
# Find and remove all bundle artifacts
ALL_ARTIFACT_URLS="$(curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
'${{ fromJson(steps.api.outputs.result).url }}_apis/pipelines/workflows/${{ github.run_id }}/artifacts?api-version=6.0-preview')"
BUNDLE_ARTIFACT_URLS="$(echo "$ALL_ARTIFACT_URLS" | jq -r -c '.value | map(select(.name|startswith("bundles-"))) | .[].url')"
for url in $BUNDLE_ARTIFACT_URLS; do
echo "Removing $url"
curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
-X DELETE "$url" \
|| echo "Failed to remove bundle"
done

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
@@ -60,7 +60,10 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -83,8 +86,20 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -105,7 +120,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -132,7 +147,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'
@@ -196,7 +211,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -204,7 +219,7 @@ jobs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

View File

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

222
README.md
View File

@@ -1,216 +1,12 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Welcome to the JDK!
# Welcome to JetBrains Runtime!
For build instructions please see the
[online documentation](https://openjdk.org/groups/build/doc/building.html),
or either of these files:
JetBrains Runtime is a fork of [OpenJDK](https://github.com/openjdk/jdk) available for Windows, Mac OS X, and Linux.
It supports enhanced class redefinition ([DCEVM](https://ssw.jku.at/dcevm/)),
features optional [JCEF](https://github.com/JetBrains/jcef), a framework for embedding Chromium-based browsers,
includes a number of improvements in font rendering, keyboards support,
windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration
and bugfixes not yet present in OpenJDK.
- [doc/building.html](doc/building.html) (html version)
- [doc/building.md](doc/building.md) (markdown version)
> **_NOTE_**: This is a **development** branch that is periodically synchronized with
> the [OpenJDK master](https://github.com/openjdk/jdk/tree/master) branch.
>
Release builds are based on these branches:
* [jbr11](https://github.com/JetBrains/JetBrainsRuntime/tree/jbr11) (JDK 11)
* [jbr17](https://github.com/JetBrains/JetBrainsRuntime/tree/jbr17) (JDK 17)
Download the latest releases of JetBrains Runtime to use with JetBrains IDEs. The full list
can be found on the [releases page](https://github.com/JetBrains/JetBrainsRuntime/releases).
## Releases based on JDK 17
| IDE Version | Latest JBR | Date Released |
|-------------|--------------------------------------------------------------------------------------------------------|---------------|
| 2023.1 | [17.0.6-b829.5](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b829.5) | 01-Mar-2023 |
| 2022.3 | [17.0.6-b653.34](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b653.34) | 28-Feb-2023 |
| 2022.2 | [17.0.6-b469.82](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b469.82) | 06-Mar-2023 |
## Releases based on JDK 11
| IDE Version | Latest JBR | Date Released |
|-------------|-------------------------------------------------------------------------------------------------------|---------------|
| 2022.1 | [11_0_16-b2043.64](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_16b2043.64) | 10-Nov-2022 |
| 2021.3 | [11_0_14_1-b1751.46](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_14_1b1751.46) | 21-Feb-2022 |
| 2021.2 | [11_0_13-b1504.49](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jb11_0_13-b1504.49) | 15-Nov-2021 |
| 2021.1 | [11.0.11+9-b1341.60](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1248891540)| 15-Jun-2021 |
| 2020.3 | [11_0_10-b1145.115](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1249243977) | 21-Jun-2021 |
## Contents
- [Welcome to JetBrains Runtime](#welcome-to-jetbrains-runtime)
- [Why Use JetBrains Runtime?](#why-use-jetbrains-runtime)
- [Products Built on JetBrains Runtime](#products-built-on-jetbrains-runtime)
- [Getting Sources](#getting-sources)
- [macOS, Linux](#macos-linux)
- [Windows](#sources-windows)
- [Configuring the Build Environment](#configuring-the-build-environment)
- [Linux (Docker)](#linux-docker)
- [Ubuntu Linux](#ubuntu-linux)
- [Windows](#build-windows)
- [macOS](#macos)
- [Developing](#developing)
- [Contributing](#contributing)
- [Resources](#resources)
## Why Use JetBrains Runtime?
* **Embedded browser**: JetBrains Runtime includes the Java Chromium Embedded Framework ([JCEF](https://github.com/JetBrains/jcef)), which
enables you to embed a Chromium-based browsers in your JVM-based application.
To use it, [download a build with JCEF](https://github.com/JetBrains/JetBrainsRuntime/releases).
* **Enhanced class re-definition** with the [DCEVM](https://ssw.jku.at/dcevm/) technology that makes it easier to reload
changed code without restarting JVM; this feature needs to be explicitly enabled with `-XX:+AllowEnhancedClassRedefinition`.
* **Better FPS performance** for graphics-intensive applications.
* **Improved font rendering**, **keyboard input** (such as shortcuts and multinational keyboards),
**HiDPI** and **accessibility** support.
* **Robust desktop experience**: GUI-related fixes often reach JetBrains Runtime much earlier than the corresponding version of OpenJDK.
## Products Built on JetBrains Runtime
* [Android Studio](https://developer.android.com/studio). The official IDE for Google's Android operating system.
* [CLion](https://www.jetbrains.com/clion/). A cross-platform IDE for C and C++ from JetBrains.
* [DataGrip](https://www.jetbrains.com/datagrip/). The IDE for Databases and SQL from JetBrains.
* [GoLand](https://www.jetbrains.com/go/). The cross-platform Go IDE from JetBrains.
* [IntelliJ IDEA](https://www.jetbrains.com/idea/). The IDE for JVM from JetBrains.
* [JProfiler](https://www.ej-technologies.com/products/jprofiler/overview.html). The Java profiler.
* [PhpStorm](https://www.jetbrains.com/phpstorm/). The PHP IDE from JetBrains.
* [PyCharm](https://www.jetbrains.com/pycharm/). The Python IDE from JetBrains.
* [Rider](https://www.jetbrains.com/rider/). The cross-platform .NET IDE from JetBrains.
* [RubyMine](https://www.jetbrains.com/ruby/). The Ruby and Rails IDE from JetBrains.
* [Toolbox App](https://www.jetbrains.com/toolbox-app/). JetBrains IDE manager.
* [WebStorm](https://www.jetbrains.com/webstorm/). The JavaScript IDE from JetBrains.
* [YourKit](https://www.yourkit.com/). Java and .NET profilers.
## Getting Sources
### macOS, Linux
```
git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git
cd JetBrainsRuntime
git checkout jbr21
```
### Windows
<a name="sources-windows"></a>
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
cd JetBrainsRuntime
git checkout jbr21
```
## Configuring the Build Environment
Here are quick per-platform instructions for those who can't wait to get started.
Please refer to [OpenJDK build docs](https://openjdk.java.net/groups/build/doc/building.html) for in-depth
coverage of all the details.
> **_TIP:_** To get a preliminary report of what's missing, run `./configure` and check its output.
> It would usually have meaningful advice on how to solve the problem.
### Linux (Docker)
Create a container:
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
```
Run these commands in the new container:
```
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
```
### Ubuntu Linux
Install the necessary tools, libraries, and headers with:
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev \
libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev
```
Get Java 19 (for instance, [Azul Zulu Builds of OpenJDK 19](https://www.azul.com/downloads/?version=java-19-sts&os=linux&package=jdk)).
Then run the following:
```
$ cd JetBrainsRuntime
$ git checkout main
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/linux-x86_64-server-release/`.
### Windows
<a name="build-windows"></a>
Install the following:
* [Cygwin x64](http://www.cygwin.com/).
Required packages: `autoconf`, `binutils`, `cpio`, `diffutils`, `file`, `gawk`, `gcc-core`, `make`, `m4`, `unzip`, `zip`.
Install those together with Cygwin.
* [Visual Studio compiler toolset](https://visualstudio.microsoft.com/downloads/).
Install with the desktop development kit, which includes Windows SDK and compilers.
Visual Studio 2019 is supported by default.
* Java 19 (for instance, [Azul Zulu Builds of OpenJDK 19](https://www.azul.com/downloads/?version=java-19-sts&os=windows&package=jdk)).
If you have problems while configuring, read [Java tips on Cygwin](http://horstmann.com/articles/cygwin-tips.html).
From the command line:
```
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
```
The first command sets up environment variables, the second starts a Cygwin shell with the proper environment.
In the Cygwin shell:
```
$ cd JetBrainsRuntime
$ git checkout main
$ bash configure --with-toolchain-version=2019
$ make images
```
This will build the release configuration under `./build/windows-x86_64-server-release/`.
### macOS
Install the following:
* Xcode command line developer tools and `autoconf` via [Homebrew](https://brew.sh/).
* Java 19 (for instance, [Azul Zulu Builds of OpenJDK 19](https://www.azul.com/downloads/?version=java-19-sts&os=macos&package=jdk)).
From the command line:
```
$ cd JetBrainsRuntime
$ git checkout main
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/macosx-x86_64-server-release/`.
## Developing
You can use [CLion](https://www.jetbrains.com/clion/) to develop native parts of the JetBrains Runtime and
[IntelliJ IDEA](https://www.jetbrains.com/idea/) for the parts written in Java.
Both require projects to be created.
### CLion
Run
```
$ make compile-commands
```
in the git root and open the resulting `build/.../compile_commands.json` file as a project.
Then use `Tools | Compilation Database | Change Project Root` to point to git root of this repository.
See also this detailed step-by-step tutorial for all platforms:
[How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).
### IDEA
Run
```
$ sh ./bin/idea.sh
```
in the git root to generate project files (add `--help` for options). If you have multiple
configurations (for example, `release` and `fastdebug`), supply the `--conf <conf_name>` argument.
Then open the git root directory as a project in IDEA.
## Contributing
We are happy to receive your pull requests!
Before you submit one, please sign our [Contributor License Agreement (CLA)](https://www.jetbrains.com/agreements/cla/).
## Resources
* [JetBrains Runtime on GitHub](https://github.com/JetBrains/JetBrainsRuntime).
* [OpenJDK build instructions](https://openjdk.java.net/groups/build/doc/building.html).
* [OpenJDK test instructions](https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html#running-tests).
* [How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).
See <https://openjdk.org/> for more information about the OpenJDK
Community and the JDK and see <https://bugs.openjdk.org> for JDK issue
tracking.

View File

@@ -25,26 +25,7 @@
# Shell script for generating an IDEA project from a given list of modules
usage() {
echo "Usage: $0 [-h|--help] [-q|--quiet] [-a|--absolute-paths] [-r|--root <path>] [-o|--output <path>] [-c|--conf <conf_name>] [modules...]"
echo " -h | --help"
echo " -q | --quiet
No stdout output"
echo " -a | --absolute-paths
Use absolute paths to this jdk, so that generated .idea
project files can be moved independently of jdk sources"
echo " -r | --root <path>
Project content root
Default: $TOPLEVEL_DIR"
echo " -o | --output <path>
Where .idea directory with project files will be generated
(e.g. using '-o .' will place project files in './.idea')
Default: same as --root"
echo " -c | --conf <conf_name>
make configuration (release, slowdebug etc)"
echo " [modules...]
Generate project modules for specific java modules
(e.g. 'java.base java.desktop')
Default: all existing modules (java.* and jdk.*)"
echo "usage: $0 [-h|--help] [-v|--verbose] [-o|--output <path>] [-c|--conf <conf_name>] [modules]+"
exit 1
}
@@ -52,13 +33,10 @@ SCRIPT_DIR=`dirname $0`
#assume TOP is the dir from which the script has been called
TOP=`pwd`
cd $SCRIPT_DIR; SCRIPT_DIR=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd .. ; TOPLEVEL_DIR=`pwd`
fi
cd $TOP;
VERBOSE=true
ABSOLUTE_PATHS=false
IDEA_OUTPUT=$TOP/.idea
VERBOSE="false"
CONF_ARG=
while [ $# -gt 0 ]
do
@@ -67,24 +45,14 @@ do
usage
;;
-q | --quiet )
VERBOSE=false
;;
-a | --absolute-paths )
ABSOLUTE_PATHS=true
;;
-r | --root )
TOPLEVEL_DIR="$2"
shift
-v | --vebose )
VERBOSE="true"
;;
-o | --output )
IDEA_OUTPUT="$2/.idea"
IDEA_OUTPUT=$2/.idea
shift
;;
-c | --conf )
CONF_ARG="CONF_NAME=$2"
shift
@@ -101,17 +69,20 @@ do
shift
done
if [ "x$IDEA_OUTPUT" = "x" ] ; then
IDEA_OUTPUT="$TOPLEVEL_DIR/.idea"
if [ -e $IDEA_OUTPUT ] ; then
rm -r $IDEA_OUTPUT
fi
mkdir -p $IDEA_OUTPUT || exit 1
cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd $SCRIPT_DIR/..
TOPLEVEL_DIR=`pwd`
cd $IDEA_OUTPUT
fi
mkdir -p $IDEA_OUTPUT || exit 1
cd "$TOP" ; cd $TOPLEVEL_DIR; TOPLEVEL_DIR=`pwd`
cd "$TOP" ; cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
cd ..; IDEA_OUTPUT_PARENT=`pwd`
cd "$SCRIPT_DIR/.." ; OPENJDK_DIR=`pwd`
IDEA_MAKE="$OPENJDK_DIR/make/ide/idea/jdk"
MAKE_DIR="$SCRIPT_DIR/../make"
IDEA_MAKE="$MAKE_DIR/ide/idea/jdk"
IDEA_TEMPLATE="$IDEA_MAKE/template"
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
@@ -123,31 +94,31 @@ if [ -d "$TEMPLATES_OVERRIDE" ] ; then
done
fi
if [ "$VERBOSE" = true ] ; then
echo "Will generate IDEA project files in \"$IDEA_OUTPUT\" for project \"$TOPLEVEL_DIR\""
if [ "$VERBOSE" = "true" ] ; then
echo "output dir: $IDEA_OUTPUT"
echo "idea template dir: $IDEA_TEMPLATE"
fi
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I "$OPENJDK_DIR" idea TOPLEVEL_DIR="$TOPLEVEL_DIR" \
MAKEOVERRIDES= IDEA_OUTPUT_PARENT="$IDEA_OUTPUT_PARENT" OUT="$IDEA_OUTPUT/env.cfg" MODULES="$*" $CONF_ARG || exit 1
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" $CONF_ARG || exit 1
cd $SCRIPT_DIR
. $IDEA_OUTPUT/env.cfg
# Expect MODULES, MODULE_NAMES, RELATIVE_PROJECT_DIR, RELATIVE_BUILD_DIR to be set
if [ "xMODULES" = "x" ] ; then
echo "FATAL: MODULES is empty" >&2; exit 1
# Expect MODULE_ROOTS, MODULE_NAMES, BOOT_JDK & SPEC to be set
if [ "x$MODULE_ROOTS" = "x" ] ; then
echo "FATAL: MODULE_ROOTS is empty" >&2; exit 1
fi
if [ "x$MODULE_NAMES" = "x" ] ; then
echo "FATAL: MODULE_NAMES is empty" >&2; exit 1
fi
if [ "x$RELATIVE_PROJECT_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_PROJECT_DIR is empty" >&2; exit 1
if [ "x$BOOT_JDK" = "x" ] ; then
echo "FATAL: BOOT_JDK is empty" >&2; exit 1
fi
if [ "x$RELATIVE_BUILD_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_BUILD_DIR is empty" >&2; exit 1
if [ "x$SPEC" = "x" ] ; then
echo "FATAL: SPEC is empty" >&2; exit 1
fi
if [ -d "$TOPLEVEL_DIR/.hg" ] ; then
@@ -158,43 +129,6 @@ if [ -d "$TOPLEVEL_DIR/.git" ] ; then
VCS_TYPE="Git"
fi
if [ "$ABSOLUTE_PATHS" = true ] ; then
if [ "x$PATHTOOL" != "x" ]; then
PROJECT_DIR="`$PATHTOOL -am $OPENJDK_DIR`"
TOPLEVEL_PROJECT_DIR="`$PATHTOOL -am $TOPLEVEL_DIR`"
else
PROJECT_DIR="$OPENJDK_DIR"
TOPLEVEL_PROJECT_DIR="$TOPLEVEL_DIR"
fi
MODULE_DIR="$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="$TOPLEVEL_PROJECT_DIR"
cd "$IDEA_OUTPUT_PARENT" && cd "$RELATIVE_BUILD_DIR" && BUILD_DIR="`pwd`"
CLION_SCRIPT_TOPDIR="$OPENJDK_DIR"
CLION_PROJECT_DIR="$PROJECT_DIR"
else
if [ "$RELATIVE_PROJECT_DIR" = "." ] ; then
PROJECT_DIR=""
else
PROJECT_DIR="/$RELATIVE_PROJECT_DIR"
fi
if [ "$RELATIVE_TOPLEVEL_PROJECT_DIR" = "." ] ; then
TOPLEVEL_PROJECT_DIR=""
else
TOPLEVEL_PROJECT_DIR="/$RELATIVE_TOPLEVEL_PROJECT_DIR"
fi
MODULE_DIR="\$MODULE_DIR\$$PROJECT_DIR"
PROJECT_DIR="\$PROJECT_DIR\$$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="\$MODULE_DIR\$$TOPLEVEL_PROJECT_DIR"
TOPLEVEL_PROJECT_DIR="\$PROJECT_DIR\$$TOPLEVEL_PROJECT_DIR"
BUILD_DIR="\$PROJECT_DIR\$/$RELATIVE_BUILD_DIR"
CLION_SCRIPT_TOPDIR="$CLION_RELATIVE_PROJECT_DIR"
CLION_PROJECT_DIR="\$PROJECT_DIR\$/$CLION_SCRIPT_TOPDIR"
fi
if [ "$VERBOSE" = true ] ; then
echo "Project root: $PROJECT_DIR"
echo "Generating IDEA project files..."
fi
### Replace template variables
NUM_REPLACEMENTS=0
@@ -218,106 +152,116 @@ add_replacement() {
eval TO$NUM_REPLACEMENTS='$2'
}
add_replacement "###PATHTOOL###" "$PATHTOOL"
add_replacement "###CLION_SCRIPT_TOPDIR###" "$CLION_SCRIPT_TOPDIR"
add_replacement "###CLION_PROJECT_DIR###" "$CLION_PROJECT_DIR"
add_replacement "###PROJECT_DIR###" "$PROJECT_DIR"
add_replacement "###MODULE_DIR###" "$MODULE_DIR"
add_replacement "###TOPLEVEL_PROJECT_DIR###" "$TOPLEVEL_PROJECT_DIR"
add_replacement "###TOPLEVEL_MODULE_DIR###" "$TOPLEVEL_MODULE_DIR"
add_replacement "###MODULE_NAMES###" "$MODULE_NAMES"
add_replacement "###VCS_TYPE###" "$VCS_TYPE"
add_replacement "###BUILD_DIR###" "$BUILD_DIR"
add_replacement "###RELATIVE_BUILD_DIR###" "$RELATIVE_BUILD_DIR"
if [ "x$PATHTOOL" != "x" ]; then
add_replacement "###BASH_RUNNER_PREFIX###" "\$PROJECT_DIR\$/.idea/bash.bat"
else
add_replacement "###BASH_RUNNER_PREFIX###" ""
fi
if [ "x$PATHTOOL" != "x" ]; then
SPEC_DIR=`dirname $SPEC`
if [ "x$CYGPATH" != "x" ]; then
add_replacement "###BUILD_DIR###" "`$CYGPATH -am $SPEC_DIR`"
add_replacement "###IMAGES_DIR###" "`$CYGPATH -am $SPEC_DIR`/images/jdk"
add_replacement "###ROOT_DIR###" "`$CYGPATH -am $TOPLEVEL_DIR`"
add_replacement "###IDEA_DIR###" "`$CYGPATH -am $IDEA_OUTPUT`"
if [ "x$JT_HOME" = "x" ]; then
add_replacement "###JTREG_HOME###" ""
else
add_replacement "###JTREG_HOME###" "`$PATHTOOL -am $JT_HOME`"
add_replacement "###JTREG_HOME###" "`$CYGPATH -am $JT_HOME`"
fi
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
add_replacement "###BUILD_DIR###" "`wslpath -am $SPEC_DIR`"
add_replacement "###IMAGES_DIR###" "`wslpath -am $SPEC_DIR`/images/jdk"
add_replacement "###ROOT_DIR###" "`wslpath -am $TOPLEVEL_DIR`"
add_replacement "###IDEA_DIR###" "`wslpath -am $IDEA_OUTPUT`"
if [ "x$JT_HOME" = "x" ]; then
add_replacement "###JTREG_HOME###" ""
else
add_replacement "###JTREG_HOME###" "`wslpath -am $JT_HOME`"
fi
else
add_replacement "###BUILD_DIR###" "$SPEC_DIR"
add_replacement "###JTREG_HOME###" "$JT_HOME"
add_replacement "###IMAGES_DIR###" "$SPEC_DIR/images/jdk"
add_replacement "###ROOT_DIR###" "$TOPLEVEL_DIR"
add_replacement "###IDEA_DIR###" "$IDEA_OUTPUT"
fi
MODULE_IMLS=""
TEST_MODULE_DEPENDENCIES=""
for module in $MODULE_NAMES; do
MODULE_IMLS="$MODULE_IMLS<module fileurl=\"file://\$PROJECT_DIR$/.idea/$module.iml\" filepath=\"\$PROJECT_DIR$/.idea/$module.iml\" /> "
TEST_MODULE_DEPENDENCIES="$TEST_MODULE_DEPENDENCIES<orderEntry type=\"module\" module-name=\"$module\" scope=\"TEST\" /> "
SOURCE_PREFIX="<sourceFolder url=\"file://"
SOURCE_POSTFIX="\" isTestSource=\"false\" />"
for root in $MODULE_ROOTS; do
if [ "x$CYGPATH" != "x" ]; then
root=`$CYGPATH -am $root`
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
root=`wslpath -am $root`
fi
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
done
add_replacement "###MODULE_IMLS###" "$MODULE_IMLS"
add_replacement "###TEST_MODULE_DEPENDENCIES###" "$TEST_MODULE_DEPENDENCIES"
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
replace_template_dir "$IDEA_OUTPUT"
### Generate module project files
### Compile the custom Logger
if [ "$VERBOSE" = true ] ; then
echo "Generating project modules:"
fi
(
DEFAULT_IFS="$IFS"
IFS='#'
for value in $MODULES; do
(
eval "$value"
if [ "$VERBOSE" = true ] ; then
echo " $module"
fi
MAIN_SOURCE_DIRS=""
CONTENT_ROOTS=""
IFS=' '
for dir in $moduleSrcDirs; do
case $dir in
"src/"*) MAIN_SOURCE_DIRS="$MAIN_SOURCE_DIRS <sourceFolder url=\"file://$MODULE_DIR/$dir\" isTestSource=\"false\" />" ;;
*"/support/gensrc/$module") ;; # Exclude generated sources to avoid module-info conflicts, see https://youtrack.jetbrains.com/issue/IDEA-185108
*) CONTENT_ROOTS="$CONTENT_ROOTS <content url=\"file://$MODULE_DIR/$dir\">\
<sourceFolder url=\"file://$MODULE_DIR/$dir\" isTestSource=\"false\" generated=\"true\" /></content>" ;;
esac
done
if [ "x$MAIN_SOURCE_DIRS" != "x" ] ; then
CONTENT_ROOTS="<content url=\"file://$MODULE_DIR/src/$module\">$MAIN_SOURCE_DIRS</content>$CONTENT_ROOTS"
fi
add_replacement "###MODULE_CONTENT_ROOTS###" "$CONTENT_ROOTS"
DEPENDENCIES=""
for dep in $moduleDependencies; do
case $MODULE_NAMES in # Exclude skipped modules from dependencies
*"$dep"*) DEPENDENCIES="$DEPENDENCIES<orderEntry type=\"module\" module-name=\"$dep\" /> "
esac
done
add_replacement "###DEPENDENCIES###" "$DEPENDENCIES"
cp "$IDEA_OUTPUT/module.iml" "$IDEA_OUTPUT/$module.iml"
IFS="$DEFAULT_IFS"
replace_template_file "$IDEA_OUTPUT/$module.iml"
)
done
)
rm "$IDEA_OUTPUT/module.iml"
CLASSES=$IDEA_OUTPUT/classes
### Create shell script runner for Windows
if [ "x$PATHTOOL" != "x" ]; then
echo "@echo off" > "$IDEA_OUTPUT/bash.bat"
if [ "x$WSL_DISTRO_NAME" != "x" ] ; then
echo "wsl -d $WSL_DISTRO_NAME --cd \"%cd%\" -e %*" >> "$IDEA_OUTPUT/bash.bat"
if [ "x$ANT_HOME" = "x" ] ; then
# try some common locations
if [ -f "/usr/share/ant/lib/ant.jar" ] ; then
ANT_HOME="/usr/share/ant"
else
echo "$WINENV_ROOT\bin\bash.exe -l -c \"cd %CD:\=/%/ && %*\"" >> "$IDEA_OUTPUT/bash.bat"
try_ant=$(ls /opt/homebrew/Cellar/ant/*/libexec/lib/ant.jar 2> /dev/null | sort -r | head -n 1)
if [ "x$try_ant" != "x" ] ; then
ANT_HOME=$(cd $(dirname $try_ant)/.. && pwd)
else
try_ant=$(ls /usr/local/Cellar/ant/*/libexec/lib/ant.jar 2> /dev/null | sort -r | head -n 1)
if [ "x$try_ant" != "x" ] ; then
ANT_HOME=$(cd $(dirname $try_ant)/.. && pwd)
fi
fi
fi
else
if [ ! -f "$ANT_HOME/lib/ant.jar" ] ; then
echo "FATAL: ANT_HOME is incorrect. Try removing it and use autodetection, or fix the value" >&2; exit 1
fi
fi
if [ "x$ANT_HOME" = "x" ] ; then
echo "FATAL: cannot find ant. Try setting ANT_HOME." >&2; exit 1
fi
CP=$ANT_HOME/lib/ant.jar
rm -rf $CLASSES; mkdir $CLASSES
# If we have a Windows boot JDK, we need a .exe suffix
if [ -e "$BOOT_JDK/bin/java.exe" ] ; then
JAVAC=javac.exe
else
JAVAC=javac
fi
if [ "$VERBOSE" = true ] ; then
IDEA_PROJECT_DIR="`dirname $IDEA_OUTPUT`"
if [ "x$PATHTOOL" != "x" ]; then
IDEA_PROJECT_DIR="`$PATHTOOL -am $IDEA_PROJECT_DIR`"
fi
echo "
Now you can open \"$IDEA_PROJECT_DIR\" as IDEA project
You can also run 'bash \"$IDEA_OUTPUT/jdk-clion/update-project.sh\"' to generate Clion project"
fi
# If we are on WSL, the boot JDK might be either Windows or Linux,
# and we need to use realpath instead of CYGPATH to make javac work on both.
# We need to handle this case first since CYGPATH might be set on WSL.
if [ "x$WSL_DISTRO_NAME" != "x" ]; then
JAVAC_SOURCE_FILE=`realpath --relative-to=./ $IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java`
JAVAC_SOURCE_PATH=`realpath --relative-to=./ $IDEA_OUTPUT/src`
JAVAC_CLASSES=`realpath --relative-to=./ $CLASSES`
ANT_TEMP=`mktemp -d -p ./`
cp $ANT_HOME/lib/ant.jar $ANT_TEMP/ant.jar
JAVAC_CP=$ANT_TEMP/ant.jar
elif [ "x$CYGPATH" != "x" ] ; then ## CYGPATH may be set in env.cfg
JAVAC_SOURCE_FILE=`$CYGPATH -am $IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java`
JAVAC_SOURCE_PATH=`$CYGPATH -am $IDEA_OUTPUT/src`
JAVAC_CLASSES=`$CYGPATH -am $CLASSES`
JAVAC_CP=`$CYGPATH -am $CP`
else
JAVAC_SOURCE_FILE=$IDEA_OUTPUT/src/idea/IdeaLoggerWrapper.java
JAVAC_SOURCE_PATH=$IDEA_OUTPUT/src
JAVAC_CLASSES=$CLASSES
JAVAC_CP=$CP
fi
$BOOT_JDK/bin/$JAVAC -d $JAVAC_CLASSES -sourcepath $JAVAC_SOURCE_PATH -cp $JAVAC_CP $JAVAC_SOURCE_FILE
if [ "x$WSL_DISTRO_NAME" != "x" ]; then
rm -rf $ANT_TEMP
fi

0
configure vendored Executable file → Normal file
View File

View File

@@ -179,8 +179,9 @@ more tab-completion friendly. For more complex test runs, the
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
which tests will be run. As an example, <code>:tier1</code> will expand
to
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>.
to include all subcomponent test directories that define `tier1`,
for example:
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...</code>.
You can always submit a list of fully qualified test descriptors in the
<code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
@@ -577,12 +578,15 @@ PKCS11 tests. Improper NSS version may lead to unexpected failures which
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
correctly, the system property
<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu
18.04 to specify the alternative NSS lib directory. The
<code>&lt;NAME&gt;</code> component should be replaced with the name
element of the appropriate <code>@Artifact</code> class. (See
<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>

View File

@@ -102,11 +102,11 @@ test runs, the `test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1
jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.
example, `:tier1` will expand to include all subcomponent test directories
that define `tier1`, for example: `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...`. You
can always submit a list of fully qualified test descriptors in the `TEST`
variable if you want to shortcut the parser.
### Common Test Groups
@@ -600,14 +600,16 @@ It is highly recommended to use the latest NSS version when running PKCS11
tests. Improper NSS version may lead to unexpected failures which are hard to
diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail
on Ubuntu 18.04 with the default NSS version in the system. To run these tests
correctly, the system property `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
correctly, the system property `jdk.test.lib.artifacts.<NAME>` is required on
Ubuntu 18.04 to specify the alternative NSS lib directory. The `<NAME>`
component should be replaced with the name element of the appropriate
`@Artifact` class. (See `test/jdk/sun/security/pkcs11/PKCS11Test.java`)
For example:
```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
```
For more notes about the PKCS11 tests, please refer to

View File

@@ -1,238 +0,0 @@
#!/usr/bin/env python3
import argparse
import os.path
import sys
import subprocess
def fatal(msg):
sys.stderr.write(f"[fatal] {msg}\n")
sys.exit(1)
def verbose(options, *msg):
if options.verbose:
sys.stderr.write(f"[verbose] ")
sys.stderr.write(*msg)
sys.stderr.write('\n')
def first_line(str):
return "" if not str else str.splitlines()[0]
class Options:
def __init__(self):
ap = argparse.ArgumentParser(description="Show commit differences between branches of JBR git repos",
epilog="Example: %(prog)s --from origin/jbr17 --to jbr17.b469 --path "
"src/hotspot --limit 200")
ap.add_argument('--jbr', dest='jbrpath', help='path to JBR git root', required=True)
ap.add_argument('--from', dest='frombranch', help='branch to take commits from', required=True)
ap.add_argument('--to', dest='tobranch', help='branch to apply new commits to', required=True)
ap.add_argument('--path', dest='path', help='limit to changes in this path (relative to git root)')
ap.add_argument('--limit', dest='limit', help='limit to this many log entries in --jdk repo', type=int, default=-1)
ap.add_argument('--html', dest="ishtml", help="print out HTML rather than plain text", action='store_true')
ap.add_argument('-o', dest="output", help="print the list of missing commits to this file"
" to be used as exclude list later")
ap.add_argument('--exclude', dest='exclude', help='exclude commits listed in the given file '
'(can use edited -o output file as input here)')
ap.add_argument('-v', dest='verbose', help="verbose output", default=False, action='store_true')
args = ap.parse_args()
if not os.path.isdir(args.jbrpath):
fatal(f"{args.jbrpath} not a directory")
if not git_is_available():
fatal("can't run git commands; make sure git is in PATH")
self.frombranch = args.frombranch
self.tobranch = args.tobranch
self.jbrpath = args.jbrpath
self.path = args.path
self.limit = args.limit
self.exclude = args.exclude
self.output = args.output
self.ishtml = args.ishtml
self.verbose = args.verbose
class GitRepo:
def __init__(self, rootpath):
self.rootpath = rootpath
def run_git_cmd(self, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
p = subprocess.run(args, capture_output=True, text=True)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
return p.stdout
def save_git_cmd(self, fname, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
with open(fname, "w") as stdout_file:
p = subprocess.run(args, stdout=stdout_file)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
def current_branch(self):
branch_name = self.run_git_cmd(["branch", "--show-current"]).strip()
return branch_name
def log(self, branch, path=None, limit=None):
cmds = ["log", "--no-decorate", branch]
if limit:
cmds.extend(["-n", str(limit)])
if path:
cmds.append(path)
full_log = self.run_git_cmd(cmds)
return full_log
class Commit:
def __init__(self, lines):
self.sha = lines[0].split()[1]
self.message = ""
self.bugid = ""
# Commit message starts after one blank line
read_message = False
for l in lines:
if read_message:
self.message = l.strip()
t = self.message.split(' ')
if len(t) > 1:
bugid = t[0]
if bugid.startswith("fixup"):
bugid = t[1]
bugid = bugid.strip(":")
if bugid.startswith("JBR-") or bugid.isnumeric():
self.bugid = bugid
break
if not read_message and l == "":
read_message = True
class History:
def __init__(self, log):
log_itr = iter(log.splitlines())
self.commits = []
commit_lines = []
for line in log_itr:
if line.startswith("commit ") and len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
commit_lines = []
commit_lines.append(line)
if len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
def contains(self, str):
return any(str in commit.message for commit in self.commits)
def size(self):
return len(self.commits)
def print_explanation(options, jbr):
verbose(options, f"Reading history from '{jbr.rootpath}'")
if options.path:
verbose(options, f"\t(only under '{options.path}')")
if options.limit > 0:
verbose(options, f"\t(up to '{options.limit}' commits)")
verbose(options, f"Searching for missing fixes in '{options.tobranch}' compared with '{options.frombranch}'")
def git_is_available():
p = None
try:
p = subprocess.run(["git", "--help"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except:
pass
return p is not None and p.returncode == 0
def main():
check_python_min_requirements()
options = Options()
jbr = GitRepo(options.jbrpath)
print_explanation(options, jbr)
commits_to_save = []
try:
log_from = jbr.log(options.frombranch, options.path, options.limit)
log_to = jbr.log(options.tobranch, options.path, options.limit)
history_from = History(log_from)
history_to = History(log_to)
verbose(options, f"Read {history_from.size()} commits from '{options.frombranch}', {history_to.size()} from {options.tobranch}")
exclude_list=[]
if options.exclude:
with open(options.exclude, "r") as exclude_file:
l = exclude_file.read().split('\n')
exclude_list = list(filter(lambda line: not line.startswith("#"), l))
for c in history_from.commits:
if c.message:
verbose(options, f"Looking for commit '{c.message}'")
if c.message in exclude_list:
verbose(options, "...nope, in exclude list")
continue
if not history_to.contains(c.message):
commits_to_save.append(c)
except KeyboardInterrupt:
fatal("Interrupted")
print_out_commits(options, commits_to_save)
save_commits_to_file(commits_to_save, options)
def save_commits_to_file(commits_to_save, options):
if len(commits_to_save) > 0 and options.output:
print()
with open(options.output, "w") as out:
for i, c in enumerate(reversed(commits_to_save)):
print(f"# {c.sha}", file=out)
print(c.message, file=out)
def print_out_commits(options, commits_to_save):
if options.ishtml:
print("<html><body>")
print(f"<p><b>Commits on <code>{options.frombranch}</code>"
f" missing from <code>{options.tobranch}</code></b></p></h1>")
if len(commits_to_save) > 0:
for c in sorted(commits_to_save, key=lambda commit: commit.bugid):
if options.ishtml:
msg = c.message
bugurl = ""
if c.bugid:
if c.bugid.isnumeric():
bugurl = f"https://bugs.openjdk.org/browse/JDK-{c.bugid}"
elif c.bugid.startswith("JBR-"):
bugurl = f"https://youtrack.jetbrains.com/issue/{c.bugid}"
if len(bugurl) > 0:
msg = msg.replace(c.bugid, f"<a href='{bugurl}'>{c.bugid}</a>")
sha = f"<a href='https://jetbrains.team/p/jbre/repositories/jbr/commits?commits={c.sha}'>" \
f"{c.sha[0:8]}</a>"
print(f"<li>{msg} ({sha})</li>")
else:
print(f"{c.message} ({c.sha[0:8]})")
if options.ishtml:
print("</body></html>")
def check_python_min_requirements():
if sys.version_info < (3, 6):
fatal("Minimum version 3.6 is required to run this script")
if __name__ == '__main__':
main()

View File

@@ -1,12 +0,0 @@
#!/bin/bash
if [[ -z "$1" ]]; then
SCANNER=wayland-scanner
else
SCANNER="$1"
fi
set -ex
"$SCANNER" client-header src/java.desktop/share/native/libwakefield/protocol/wakefield.xml src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.h
"$SCANNER" private-code src/java.desktop/share/native/libwakefield/protocol/wakefield.xml src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.c

View File

@@ -1,230 +0,0 @@
#!/usr/bin/env python3
import argparse
import math
import os.path
import sys
import subprocess
def fatal(msg):
sys.stderr.write(f"[fatal] {msg}\n")
sys.exit(1)
def verbose(options, *msg):
if options.verbose:
sys.stdout.write(f"[verbose] ")
sys.stdout.write(*msg)
sys.stdout.write('\n')
def first_line(str):
return "" if not str else str.splitlines()[0]
class Options:
def __init__(self):
ap = argparse.ArgumentParser(description="Show bugfixes differences between JBR and OpenJDK git repos",
epilog="Example: %(prog)s --jdk ./jdk11u/ --jbr ./JetBrainsRuntime/ --path src/hotspot --limit 200")
ap.add_argument('--jdk', dest='jdkpath', help='path to OpenJDK git repo', required=True)
ap.add_argument('--jbr', dest='jbrpath', help='path to JBR git repo', required=True)
ap.add_argument('--path', dest='path', help='limit to changes in this path (relative to git root)')
ap.add_argument('--limit', dest='limit', help='limit to this many log entries in --jdk repo', type=int, default=-1)
ap.add_argument('-o', dest="output_dir", help="save patches to this directory (created if necessary)")
ap.add_argument('-v', dest='verbose', help="verbose output", default=False, action='store_true')
args = ap.parse_args()
if not os.path.isdir(args.jdkpath):
fatal(f"{args.jdkpath} not a directory")
if not os.path.isdir(args.jbrpath):
fatal(f"{args.jbrpath} not a directory")
if not git_is_available():
fatal("can't run git commands; make sure git is in PATH")
self.jdkpath = args.jdkpath
self.jbrpath = args.jbrpath
self.path = args.path
self.limit = args.limit
self.output_dir = args.output_dir
self.verbose = args.verbose
class GitRepo:
def __init__(self, rootpath):
self.rootpath = rootpath
def run_git_cmd(self, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
p = subprocess.run(args, capture_output=True, text=True)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
return p.stdout
def save_git_cmd(self, fname, git_args):
args = ["git", "-C", self.rootpath]
args.extend(git_args)
# print(f"Runnig git cmd '{' '.join(args)}'")
with open(fname, "w") as stdout_file:
p = subprocess.run(args, stdout=stdout_file)
if p.returncode != 0:
fatal(f"git returned non-zero code in {self.rootpath} ({first_line(p.stderr)})")
def current_branch(self):
branch_name = self.run_git_cmd(["branch", "--show-current"]).strip()
return branch_name
def log(self, path=None, limit=None):
cmds = ["log", "--no-decorate"]
if limit:
cmds.extend(["-n", str(limit)])
if path:
cmds.append(path)
full_log = self.run_git_cmd(cmds)
return full_log
class Commit:
def __init__(self, lines):
self.sha = lines[0].split()[1]
self.message = ""
self.bugid = None
# Commit message starts after one blank line
read_message = False
for l in lines:
if read_message:
self.message += l + "\n"
if not read_message and l == "":
read_message = True
if self.message and self.message != "" and ":" in self.message:
maybe_bugid = self.message.split(":")[0].strip()
if 10 >= len(maybe_bugid) >= 4:
self.bugid = maybe_bugid
class History:
def __init__(self, log):
log_itr = iter(log.splitlines())
self.commits = []
commit_lines = []
for line in log_itr:
if line.startswith("commit ") and len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
commit_lines = []
commit_lines.append(line)
if len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
def contains(self, str):
return any(str in commit.message for commit in self.commits)
def size(self):
return len(self.commits)
def print_explanation(options, jdk, jbr):
verbose(options, f"Reading history from '{jdk.rootpath}' on branch '{jdk.current_branch()}'")
if options.path:
verbose(options, f"\t(only under '{options.path}')")
verbose(options, f"Searching for same fixes in '{jbr.rootpath}' on branch '{jbr.current_branch()}'")
def git_is_available():
p = None
try:
p = subprocess.run(["git", "--help"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except:
pass
return p is not None and p.returncode == 0
def main():
check_python_min_requirements()
options = Options()
jdk = GitRepo(options.jdkpath)
jbr = GitRepo(options.jbrpath)
print_explanation(options, jdk, jbr)
commits_to_save = []
try:
jdk_log = jdk.log(options.path, options.limit)
jdk_history = History(jdk_log)
jbr_log = jbr.log(options.path)
jbr_history = History(jbr_log)
verbose(options, f"Read {jdk_history.size()} commits in JDK, {jbr_history.size()} in JBR")
for c in jdk_history.commits:
if c.bugid:
verbose(options, f"Looking for bugfix for {c.bugid}")
if not jbr_history.contains(c.bugid):
commits_to_save.append(c)
print(f"[note] Fix for {c.bugid} not found in JBR ({jbr.rootpath})")
print(f" commit {c.sha}")
print(f" {first_line(c.message).strip()}")
except KeyboardInterrupt:
fatal("Interrupted")
if len(commits_to_save) > 0 and options.output_dir:
print()
if not os.path.exists(options.output_dir):
verbose(options, f"Creating output directory {options.output_dir}")
os.makedirs(options.output_dir)
nzeroes = len(str(len(commits_to_save)))
for i, c in enumerate(reversed(commits_to_save)):
fname = os.path.join(options.output_dir, f"{str(i).zfill(nzeroes)}-{c.bugid}.patch")
print(f"[note] {c.bugid} saved as {fname}")
fname = os.path.abspath(fname)
jdk.save_git_cmd(fname, ["format-patch", "-1", c.sha, "--stdout"])
script_fname = os.path.join(options.output_dir, "apply.sh")
with open(script_fname, "w") as script_file:
print(apply_script_code.format(os.path.abspath(jbr.rootpath), os.path.abspath(options.output_dir)),
file=script_file)
print(f"[note] Execute 'bash {script_fname}' to apply patches to {jbr.rootpath}")
def check_python_min_requirements():
if sys.version_info < (3, 6):
fatal("Minimum version 3.6 is required to run this script")
apply_script_code = """
#!/bin/bash
GITROOT={0}
PATCHROOT={1}
cd $PATCHROOT || exit 1
PATCHES=$(find $PATCHROOT -name '*.patch' | sort -n)
for P in $PATCHES; do
git -C $GITROOT am $P
if [ $? != 0 ]; then
mv "$P" "$P.failed"
echo "[ERROR] Patch $P did not apply cleanly. Try applying it manually."
echo "[NOTE] Execute this script to apply the remaining patches."
exit 1
else
mv "$P" "$P.done"
fi
done
echo "[NOTE] Done applying patches; check $PATCHROOT for .patch and .patch.failed to see if all have been applied."
"""
if __name__ == '__main__':
main()

View File

@@ -1,46 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_aarch64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
# jetbrains/runtime:jbr17env_aarch64
FROM arm64v8/centos:7
# Install the necessary build tools
RUN yum -y update; \
yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7.aarch64 \
autoconf-2.69-11.el7.noarch \
automake-1.13.4-3.el7.noarch \
bzip2-1.0.6-13.el7.aarch64 \
cups-devel-1.6.3-51.el7.aarch64 \
file-5.11-37.el7.aarch64 \
fontconfig-devel-2.13.0-4.3.el7.aarch64 \
freetype-devel-2.8-14.el7_9.1.aarch64 \
giflib-devel-4.1.6-9.el7.aarch64 \
git-1.8.3.1-24.el7_9.aarch64 \
libtool-2.4.2-22.el7_3.aarch64 \
libXi-devel-1.7.9-1.el7.aarch64 \
libXrandr-devel-1.5.1-2.el7.aarch64 \
libXrender-devel-0.9.10-1.el7.aarch64 \
libXt-devel-1.1.5-3.el7.aarch64 \
libXtst-devel-1.2.3-1.el7.aarch64 \
make-3.82-24.el7.aarch64 \
rsync-3.1.2-12.el7_9.aarch64 \
tar-1.26-35.el7.aarch64 \
unzip-6.0-24.el7_9.aarch64 \
wayland-devel-1.15.0-1.el7 \
zip-3.0-11.el7.aarch64; \
yum -y clean all
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin:${PATH}"
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -1,22 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_aarch64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/alpine:3.12
# Install the necessary build tools
RUN apk --no-cache add --update bash grep tar zip bzip2 rsync fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_aarch64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk17/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -1,22 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_x64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM alpine:3.14
# Install the necessary build tools
RUN apk --no-cache add --update bash grep tar zip bzip2 rsync fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_amd64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk17/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -1,55 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_x86.sh script.
# Pull a concrete version of Linux that does NOT receive updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
#FROM i386/ubuntu:xenial
#FROM i386/ubuntu:bionic
FROM i386/ubuntu:focal
RUN linux32 \
apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN export DEBIAN_FRONTEND=noninteractive \
export DEBCONF_NONINTERACTIVE_SEEN=true && \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
linux32 \
apt-get -y install \
autoconf \
build-essential \
curl \
file \
git \
libx11-dev \
libxext-dev \
libxrender-dev \
libxrandr-dev \
libxtst-dev \
libxt-dev \
libcups2-dev \
libasound2-data \
# libpng12-0 \
libasound2 \
libfreetype6 \
libfontconfig1-dev \
libasound2-dev \
rsync \
unzip \
zip
RUN linux32 \
apt-get -y install \
g++-10 \
gcc-10 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 && \
apt-get clean -qy && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set up boot JDK for building
COPY boot_jdk_x86.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_x86.tar.gz && rm /jdk17/boot_jdk_x86.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -1,36 +0,0 @@
# jetbrains/runtime:jbr17env_x86_64
FROM centos:7
RUN yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7 \
autoconf-2.69-11.el7 \
automake-1.13.4-3.el7 \
bzip2-1.0.6-13.el7 \
cups-devel-1.6.3-51.el7 \
file-5.11-37.el7 \
fontconfig-devel-2.13.0-4.3.el7 \
freetype-devel-2.8-14.el7_9.1 \
giflib-devel-4.1.6-9.el7 \
git-1.8.3.1-24.el7_9 \
libtool-2.4.2-22.el7_3 \
libXi-devel-1.7.9-1.el7 \
libXrandr-devel-1.5.1-2.el7 \
libXrender-devel-0.9.10-1.el7 \
libXt-devel-1.1.5-3.el7 \
libXtst-devel-1.2.3-1.el7 \
make-3.82-24.el7 \
tar-1.26-35.el7 \
unzip-6.0-24.el7_9 \
wayland-devel-1.15.0-1.el7 \
wget-1.14-18.el7_6.1 \
which-2.20-7.el7 \
zip-3.0-11.el7
RUN mkdir .git && \
git config user.email "teamcity@jetbrains.com" && \
git config user.name "builduser"
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin::${PATH}"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"

View File

@@ -1,29 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# This script creates a Docker image suitable for building AArch64 variant
# of the JetBrains Runtime "dev" version.
BOOT_JDK_REMOTE_FILE=zulu17.30.15-ca-jdk17.0.1-linux_aarch64.tar.gz
BOOT_JDK_SHA=4d9c9116eb0cdd2d7fb220d6d27059f4bf1b7e95cc93d5512bd8ce3791af86c7
BOOT_JDK_LOCAL_FILE=boot_jdk.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbrdevenv_arm64v8 -f Dockerfile.aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -1,29 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl AArch64 variant
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=6b920559abafbe9bdef386a20ecf3a2f318bc1f0d8359eb1f95aee26606bbc70
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_aarch64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -1,29 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl-x64 variant
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=bcc5342011bd9f3643372aadbdfa68d47463ff0d8621668a0bdf2910614d95c6
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_amd64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_x64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -1,26 +0,0 @@
#!/bin/bash -x
# This script creates a Docker image suitable for building x86 variant
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu17.34.19-ca-jdk17.0.3-linux_i686.tar.gz
BOOT_JDK_SHA=1c35c374ba0001e675d6e80819d5be900c4e141636d5e484992a8c550be14481
BOOT_JDK_LOCAL_FILE=boot_jdk_x86.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
# Obtain "boot JDK" from outside of the container.
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE
else
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jetbrains/runtime:jbr17env_x86 -f Dockerfile.x86 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -1 +0,0 @@
JetBrainsRuntime

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})([A-Z]+\-\d+)(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://youtrack.jetbrains.com/issue/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})(?:JDK-)?(\d{7})(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://bugs.openjdk.java.net/browse/JDK-$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/src/jetbrains.api">
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/templates" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="inheritedJdk" />
</component>
</module>

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/jdk.iml" filepath="$PROJECT_DIR$/.idea/jdk.iml" />
###MODULE_IMLS###
<module fileurl="file://$PROJECT_DIR$/.idea/jetbrains.api.iml" filepath="$PROJECT_DIR$/.idea/jetbrains.api.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/test.iml" filepath="$PROJECT_DIR$/.idea/test.iml" />
</modules>
</component>
</project>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})([A-Z]+\-\d+)(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://youtrack.jetbrains.com/issue/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="(?:^|\s|\p{Punct})(?:JDK-)?(\d{7})(?=$|\s|\p{Punct})" />
<option name="linkRegexp" value="https://bugs.openjdk.java.net/browse/JDK-$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -1,135 +0,0 @@
apply plugin: 'java'
import org.gradle.internal.os.OperatingSystem
repositories {
mavenCentral()
}
def test_jvm = {
if (project.hasProperty('jbsdkhome')) {
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
} else {
if (OperatingSystem.current().isMacOsX()) {
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.4.jdk/Contents/Home/bin/java').absolutePath
} else if (OperatingSystem.current().isLinux()) {
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
} else {
file('../../../build/windows-x86_64-normal-server-release/images/jdk/bin/java.exe').absolutePath
}
}
}
dependencies {
testCompile('junit:junit:4.12'){
exclude group: 'org.hamcrest'
}
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'net.java.dev.jna:jna:4.4.0'
testCompile 'com.twelvemonkeys.imageio:imageio-tiff:3.3.2'
testCompile 'org.apache.commons:commons-lang3:3.0'
}
def jdk_modules = ["java.base", "java.logging", "java.prefs",
"java.se.ee", "java.sql", "java.datatransfer",
"java.management", "java.rmi", "java.security.jgss",
"java.sql.rowset", "java.desktop", "java.management.rmi",
"java.scripting", "java.security.sasl", "java.transaction",
"java.instrument", "java.naming", "java.se",
"java.smartcardio", "java.xml.crypto"]
def jdk_class_dirs = []
jdk_modules.collect(jdk_class_dirs) {
new File("../../../src/" + it + "/share/classes")
}
if (OperatingSystem.current().isMacOsX())
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/macosx/classes"
}
else if (OperatingSystem.current().isLinux()) {
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/solaris/classes"
}
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/unix/classes"
}
} else
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/windows/classes"
}
sourceSets.main.java.srcDirs = jdk_class_dirs
sourceSets {
test {
java {
srcDir "../../../test/jdk/jbu"
}
}
}
test.dependsOn.clear()
test.dependsOn tasks.compileTestJava
test {
systemProperty "jb.java2d.metal", "true"
systemProperty "testdata", file('../../../test/jdk/jbu/testdata').absolutePath
// Generate golden images for DroidFontTest and MixedTextTest
// systemProperty "gentestdata", ""
// Enable Java2D logging (https://confluence.jetbrains.com/display/JRE/Java2D+Rendering+Logging)
// systemProperty "sun.java2d.trace", "log"
// systemProperty "sun.java2d.trace", "log,pimpl"
outputs.upToDateWhen { false }
executable = test_jvm()
// Enable async/dtrace profiler
jvmArgs "-XX:+PreserveFramePointer"
// Enable native J2D logging (only in debug build)
// Can be turned on for J2D by adding "#define DEBUG 1" into jdk/src/share/native/sun/java2d/Trace.h
// environment 'J2D_TRACE_LEVEL', '4'
}
def buildDir = project.buildscript.sourceFile.parentFile.parentFile.parentFile.parentFile
def make_cmd = "make"
if (OperatingSystem.current().isWindows()) {
def cyg_make_cmd = new File("c:/cygwin64/bin/make.exe")
if (cyg_make_cmd.exists()) make_cmd = cyg_make_cmd.absolutePath
}
def test_run = false
task make_images {
doLast {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
}
task make_clean {
doLast {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
task run_test {
doLast {
test_run = true
}
}
tasks.cleanTest.dependsOn tasks.run_test
classes.dependsOn.clear()
classes.dependsOn tasks.make_images
tasks.cleanClasses.dependsOn tasks.make_clean

View File

@@ -1,54 +0,0 @@
java.base,
java.compiler,
java.datatransfer,
java.desktop,
java.instrument,
java.logging,
java.management,
java.management.rmi,
java.naming,
java.net.http,
java.prefs,
java.rmi,
java.scripting,
java.se,
java.security.jgss,
java.security.sasl,
java.smartcardio,
java.sql,
java.sql.rowset,
java.transaction.xa,
java.xml,
java.xml.crypto,
jdk.accessibility,
jdk.attach,
jdk.charsets,
jdk.compiler,
jdk.crypto.cryptoki,
jdk.crypto.ec,
jdk.dynalink,
jdk.httpserver,
jdk.internal.ed,
jdk.internal.le,
jdk.internal.vm.ci,
jdk.javadoc,
jdk.jdi,
jdk.jdwp.agent,
jdk.jfr,
jdk.jsobject,
jdk.localedata,
jdk.management,
jdk.management.agent,
jdk.management.jfr,
jdk.naming.dns,
jdk.naming.rmi,
jdk.net,
jdk.sctp,
jdk.security.auth,
jdk.security.jgss,
jdk.unsupported,
jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
jdk.jcmd

View File

@@ -1,18 +0,0 @@
#!/bin//bash
set -euo pipefail
# $1 - Boot JDK
# $2 - JBR part of API version
cd "`dirname "$0"`/../../../../.."
PWD="`pwd`"
CONF="$PWD/build/jbr-api.conf"
./configure --with-debug-level=release --with-boot-jdk=$1 || exit $?
make jbr-api CONF=release MAKEOVERRIDES= "JBR_API_CONF_FILE=$CONF" JBR_API_JBR_VERSION=$2 || exit $?
. $CONF || exit $?
echo "##teamcity[buildNumber '$VERSION']"
cp "$JAR" ./jbr-api-${VERSION}.jar || exit $?
cp "$SOURCES_JAR" ./jbr-api-${VERSION}-sources.jar || exit $?
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}.jar']"
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}-sources.jar']"

View File

@@ -1,175 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
function check_bundle_type_maketest() {
# check whether last char is 't', if so remove it
if [ "${bundle_type: -1}" == "t" ]; then
bundle_type="${bundle_type%?}"
do_maketest=1
else
do_maketest=0
fi
}
function getVersionProp() {
grep "^${1}" make/conf/version-numbers.conf | cut -d'=' -f2
}
while getopts ":i?" o; do
case "${o}" in
i) INC_BUILD=1 ;;
esac
done
shift $((OPTIND-1))
if [[ $# -lt 2 ]]; then
echo "Required at least two arguments: build_number bundle_type"
exit 1
fi
build_number=$1
bundle_type=$2
# shellcheck disable=SC2034
architecture=${3:-x64} # aarch64 or x64
check_bundle_type_maketest
tag_prefix="jdk-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "$tag_prefix" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | tr -d ',' | sort -t "-" -k 2 -g | tail -n 1)
VERSION_FEATURE=$(getVersionProp "DEFAULT_VERSION_FEATURE")
VERSION_INTERIM=$(getVersionProp "DEFAULT_VERSION_INTERIM")
VERSION_UPDATE=$(getVersionProp "DEFAULT_VERSION_UPDATE")
VERSION_PATCH=$(getVersionProp "DEFAULT_VERSION_PATCH")
[[ $VERSION_UPDATE = 0 ]] && JBSDK_VERSION="$VERSION_FEATURE" || JBSDK_VERSION="${VERSION_FEATURE}.${VERSION_INTERIM}.${VERSION_UPDATE}"
[[ $VERSION_PATCH = 0 ]] || JBSDK_VERSION="${VERSION_FEATURE}.${VERSION_INTERIM}.${VERSION_UPDATE}.${VERSION_PATCH}"
echo "##teamcity[setParameter name='env.JBSDK_VERSION' value='${JBSDK_VERSION}']"
JDK_BUILD_NUMBER=${JDK_BUILD_NUMBER:=$(echo $OPENJDK_TAG | awk -F "-|[+]" '{print $3}')}
[ -z $JDK_BUILD_NUMBER ] && JDK_BUILD_NUMBER=1
echo "##teamcity[setParameter name='env.JDK_UPDATE_NUMBER' value='${JDK_BUILD_NUMBER}']"
VENDOR_NAME="JetBrains s.r.o."
VENDOR_VERSION_STRING="JBR-${JBSDK_VERSION}+${JDK_BUILD_NUMBER}-${build_number}"
[ -z "$bundle_type" ] || VENDOR_VERSION_STRING="${VENDOR_VERSION_STRING}-${bundle_type}"
do_reset_changes=0
do_reset_dcevm=0
HEAD_REVISION=0
STATIC_CONF_ARGS=""
common_conf_props_file="jb/project/tools/common/static_conf_args.txt"
if [[ -f "$common_conf_props_file" ]]; then
STATIC_CONF_ARGS=$(<$common_conf_props_file)
fi
OS_NAME=$(uname -s)
# Enable reproducible builds
TZ=UTC
export TZ
SOURCE_DATE_EPOCH="$(git log -1 --pretty=%ct)"
export SOURCE_DATE_EPOCH
COPYRIGHT_YEAR=""
BUILD_TIME=""
TOUCH_TIME=""
REPRODUCIBLE_TAR_OPTS=""
case "$OS_NAME" in
Linux)
COPYRIGHT_YEAR="$(date --utc --date=@$SOURCE_DATE_EPOCH +%Y)"
BUILD_TIME="$(date --utc --date=@$SOURCE_DATE_EPOCH +%F)"
REPRODUCIBLE_TAR_OPTS="--mtime=@$SOURCE_DATE_EPOCH --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime"
;;
CYGWIN*)
COPYRIGHT_YEAR="$(date --utc --date=@$SOURCE_DATE_EPOCH +%Y)"
BUILD_TIME="$(date --utc --date=@$SOURCE_DATE_EPOCH +%F)"
REPRODUCIBLE_TAR_OPTS="--mtime=@$SOURCE_DATE_EPOCH --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime"
;;
Darwin)
COPYRIGHT_YEAR="$(date -u -r $SOURCE_DATE_EPOCH +%Y)"
BUILD_TIME="$(date -u -r $SOURCE_DATE_EPOCH +%F)"
TOUCH_TIME="$(date -u -r $SOURCE_DATE_EPOCH +%Y%m%d%H%M.%S)"
REPRODUCIBLE_TAR_OPTS="--uid 0 --gid 0 --numeric-owner"
;;
esac
WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS="--with-native-debug-symbols=zipped"
REPRODUCIBLE_BUILD_OPTS="--with-source-date=$SOURCE_DATE_EPOCH
--with-hotspot-build-time=$BUILD_TIME
--with-copyright-year=$COPYRIGHT_YEAR
--disable-absolute-paths-in-output
--with-build-user=builduser"
function zip_native_debug_symbols() {
image_bundle_path=$(echo $1 | cut -d"/" -f-4)
jdk_name=$(echo $1 | cut -d"/" -f5)
jbr_diz_name=$2
[ -d "dizfiles" ] && rm -rf dizfiles
mkdir dizfiles
rsync_target="../../../../dizfiles"
[ -z "$jdk_name" ] && rsync_target=$rsync_target"/"$jbr_diz_name
(cd $image_bundle_path && find . -name '*.diz' -exec rsync -R {} $rsync_target \;)
[ ! -z "$jdk_name" ] && mv dizfiles/$jdk_name dizfiles/$jbr_diz_name
(cd dizfiles && find $jbr_diz_name -print0 | COPYFILE_DISABLE=1 \
tar --no-recursion --null -T - -czf ../"$jbr_diz_name".tar.gz) || do_exit $?
}
function do_exit() {
exit_code=$1
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
if [ $do_reset_dcevm -eq 1 ]; then
[ ! -z $HEAD_REVISION ] && git reset --hard $HEAD_REVISION
fi
exit "$exit_code"
}
function update_jsdk_mods() {
__jsdk=$1
__jcef_mods=$2
__orig_jsdk_mods=$3
__updated_jsdk_mods=$4
# re-create java.desktop.jmod with updated module-info.class
tmp=.java.desktop.$$.tmp
mkdir "$tmp" || exit $?
"$__jsdk"/bin/jmod extract --dir "$tmp" "$__orig_jsdk_mods"/java.desktop.jmod || exit $?
"$__jsdk"/bin/javac \
--patch-module java.desktop="$__orig_jsdk_mods"/java.desktop.jmod \
--module-path "$__jcef_mods" -d "$tmp"/classes src/java.desktop/share/classes/module-info.java || exit $?
"$__jsdk"/bin/jmod \
create --class-path "$tmp"/classes --config "$tmp"/conf --header-files "$tmp"/include --legal-notice "$tmp"/legal --libs "$tmp"/lib \
java.desktop.jmod || exit $?
mv java.desktop.jmod "$__updated_jsdk_mods" || exit $?
rm -rf "$tmp"
# re-create java.base.jmod with updated hashes
tmp=.java.base.$$.tmp
mkdir "$tmp" || exit $?
hash_modules=$("$__jsdk"/bin/jmod describe "$__orig_jsdk_mods"/java.base.jmod | grep hashes | awk '{print $2}' | tr '\n' '|' | sed s/\|$//) || exit $?
"$__jsdk"/bin/jmod extract --dir "$tmp" "$__orig_jsdk_mods"/java.base.jmod || exit $?
rm "$__updated_jsdk_mods"/java.base.jmod || exit $? # temp exclude from path
"$__jsdk"/bin/jmod \
create --module-path "$__updated_jsdk_mods" --hash-modules "$hash_modules" \
--class-path "$tmp"/classes --cmds "$tmp"/bin --config "$tmp"/conf --header-files "$tmp"/include --legal-notice "$tmp"/legal --libs "$tmp"/lib \
java.base.jmod || exit $?
mv java.base.jmod "$__updated_jsdk_mods" || exit $?
rm -rf "$tmp"
}
function get_mods_list() {
__mods=$1
echo $(ls $__mods) | sed s/\.jmod/,/g | sed s/,$//g | sed s/' '//g
}
function copy_jmods() {
__mods_list=$1
__jmods_from=$2
__jmods_to=$3
mkdir -p $__jmods_to
echo "${__mods_list}," | while read -d, mod; do cp $__jmods_from/$mod.jmod $__jmods_to/; done
}

View File

@@ -1 +0,0 @@
--with-vendor-vm-bug-url=https://youtrack.jetbrains.com/issues/JBR

View File

@@ -1,165 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_aarch64
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_aarch64}
function do_configure {
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
}
function is_musl {
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -z $libc ]; then
# This is not Musl, return 1 == false
return 1
fi
return 0
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
libc_type_suffix=''
fastdebug_infix=''
if is_musl; then libc_type_suffix='musl-' ; fi
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}aarch64-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}aarch64-${fastdebug_infix:-}b${build_number}
echo Running jlink....
[ -d "$IMAGES_DIR"/"$__root_dir" ] && rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
$JSDK/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$IMAGES_DIR"/"$__root_dir"
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$IMAGES_DIR"/"$__root_dir"/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' "$IMAGES_DIR"/"$__root_dir"/release > release
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper
echo Creating "$JBR".tar.gz ...
(cd "$IMAGES_DIR" &&
find "$__root_dir" -print0 | LC_ALL=C sort -z | \
tar $REPRODUCIBLE_TAR_OPTS \
--no-recursion --null -T - -cf "$JBR".tar) || do_exit $?
mv "$IMAGES_DIR"/"$JBR".tar ./"$JBR".tar
[ -f "$JBR".tar.gz ] && rm "$JBR.tar.gz"
touch -c -d "@$SOURCE_DATE_EPOCH" "$JBR".tar
gzip "$JBR".tar || do_exit $?
rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-aarch64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-aarch64-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
update_jsdk_mods $JSDK $JCEF_PATH/jmods $JSDK/jmods $JSDK_MODS_DIR || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-aarch64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?
fi
do_exit 0

View File

@@ -1,164 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_x64
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
function do_configure {
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
}
function is_musl {
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -z $libc ]; then
# This is not Musl, return 1 == false
return 1
fi
return 0
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
libc_type_suffix=''
fastdebug_infix=''
if is_musl; then libc_type_suffix='musl-' ; fi
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x64-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x64-${fastdebug_infix:-}b${build_number}
echo Running jlink....
[ -d "$IMAGES_DIR"/"$__root_dir" ] && rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
$JSDK/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$IMAGES_DIR"/"$__root_dir"
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$IMAGES_DIR"/"$__root_dir"/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' "$IMAGES_DIR"/"$__root_dir"/release > release
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper
echo Creating "$JBR".tar.gz ...
(cd "$IMAGES_DIR" &&
find "$__root_dir" -print0 | LC_ALL=C sort -z | \
tar $REPRODUCIBLE_TAR_OPTS \
--no-recursion --null -T - -cf "$JBR".tar) || do_exit $?
mv "$IMAGES_DIR"/"$JBR".tar ./"$JBR".tar
[ -f "$JBR".tar.gz ] && rm "$JBR.tar.gz"
touch -c -d "@$SOURCE_DATE_EPOCH" "$JBR".tar
gzip "$JBR".tar || do_exit $?
#rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86_64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-x86_64-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods $JSDK $JCEF_PATH/jmods $JSDK/jmods $JSDK_MODS_DIR || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-x64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?
fi
do_exit 0

View File

@@ -1,144 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
source jb/project/tools/common/scripts/common.sh
function do_configure {
linux32 bash configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
$STATIC_CONF_ARGS \
--enable-cds=yes \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
}
function is_musl {
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -z $libc ]; then
# This is not Musl, return 1 == false
return 1
fi
return 0
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
libc_type_suffix=''
fastdebug_infix=''
if is_musl; then libc_type_suffix='musl-' ; fi
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x86-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x86-${fastdebug_infix:-}b${build_number}
echo Running jlink....
[ -d "$IMAGES_DIR"/"$__root_dir" ] && rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
$JSDK/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$IMAGES_DIR"/"$__root_dir"
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$IMAGES_DIR"/"$__root_dir"/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' "$IMAGES_DIR"/"$__root_dir"/release > release
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper
echo Creating "$JBR".tar.gz ...
(cd "$IMAGES_DIR" &&
find "$__root_dir" -print0 | LC_ALL=C sort -z | \
tar $REPRODUCIBLE_TAR_OPTS \
--no-recursion --null -T - -cf "$JBR".tar) || do_exit $?
mv "$IMAGES_DIR"/"$JBR".tar ./"$JBR".tar
[ -f "$JBR".tar.gz ] && rm "$JBR.tar.gz"
touch -c -d "@$SOURCE_DATE_EPOCH" "$JBR".tar
gzip "$JBR".tar || do_exit $?
rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86-server-release
case "$bundle_type" in
"jcef")
echo "not implemented" && do_exit 1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-x86-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(grep -v "jdk.internal.vm" jb/project/tools/common/modules.list | xargs | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-x86-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?
fi
do_exit 0

View File

@@ -1,47 +0,0 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
source "$SCRIPT_DIR/jetsign-common.sh" || exit 1
function isMacOsBinary() {
file "$1" | grep -q 'Mach-O'
}
function isSigned() {
codesign --verify "$1" >/dev/null 2>&1 && ! grep -q Signature=adhoc < <(codesign --display --verbose "$1" 2>&1)
}
# last argument is a path to be signed
pathToBeSigned="$(pwd)/${*: -1}"
jetSignArgs=("${@:1:$#-1}")
if [[ ! -f "$pathToBeSigned" ]]; then
echo "$pathToBeSigned is missing or not a file"
exit 1
elif isSigned "$pathToBeSigned" && ! isForced "${jetSignArgs[@]}" ; then
echo "Already signed: $pathToBeSigned"
elif [[ "$JETSIGN_CLIENT" == "null" ]]; then
echo "JetSign client is missing, cannot proceed with signing"
exit 1
elif ! isMacOsBinary "$pathToBeSigned" && [[ "$pathToBeSigned" != *.sit ]] && [[ "$pathToBeSigned" != *.tar.gz ]]; then
echo "$pathToBeSigned won't be signed, assumed not to be a macOS executable"
else
if isMacOsBinary "$pathToBeSigned" && ! isSigned "$pathToBeSigned" ; then
echo "Unsigned macOS binary: $pathToBeSigned"
fi
workDir=$(dirname "$pathToBeSigned")
pathSigned="$workDir/signed/${pathToBeSigned##*/}"
jetSignExtensions=$(jetSignExtensions "${jetSignArgs[@]}")
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
"$JETSIGN_CLIENT" -log-format text -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"
# SRE-1223 (Codesign removes execute bits in executable files) workaround
chmod "$(stat -f %A "$pathToBeSigned")" "$pathSigned"
if isMacOsBinary "$pathSigned"; then
isSigned "$pathSigned"
fi
rm "$pathToBeSigned"
mv "$pathSigned" "$pathToBeSigned"
rm -rf "$workDir/signed"
)
fi

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>

View File

@@ -1,63 +0,0 @@
#!/bin/bash
set -euo pipefail
function isForced() {
for arg in "$@"; do
if [[ "$arg" == --force ]]; then
return 0
fi
done
return 1
}
function jetSignExtensions() {
args=("$@")
((lastElementIndex=${#args[@]}-1))
for index in "${!args[@]}"; do
arg=${args[$index]}
case "$arg" in
--sign | -s)
echo -n 'mac_codesign_identity='
continue
;;
--entitlements)
echo -n 'mac_codesign_entitlements='
continue
;;
--options=runtime)
echo -n 'mac_codesign_options=runtime'
;;
--force)
echo -n 'mac_codesign_force=true'
;;
--timestamp | --verbose | -v)
continue
;;
*)
echo -n "$arg"
;;
esac
if [[ $index != "$lastElementIndex" ]]; then
echo -n ","
fi
done
}
# See jetbrains.sign.util.FileUtil.contentType
function jetSignContentType() {
case "${1##*/}" in
*.sit)
echo -n 'application/x-mac-app-zip'
;;
*.tar.gz)
echo -n 'application/x-mac-app-targz'
;;
*.pkg)
echo -n 'application/x-mac-pkg'
;;
*)
echo -n 'application/x-mac-app-bin'
;;
esac
}

View File

@@ -1,171 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_mac
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
BOOT_JDK=${BOOT_JDK:=$(/usr/libexec/java_home -v 17)}
function do_configure {
if [[ "${architecture}" == *aarch64* ]]; then
ENABLE_CDS="--enable-cds=no"
else
ENABLE_CDS="--enable-cds=yes"
fi
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
fastdebug_infix=''
tmp=.bundle.$$.tmp
mkdir "$tmp" || do_exit $?
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-osx-${architecture}-${fastdebug_infix:-}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-osx-${architecture}-${fastdebug_infix:-}b${build_number}
JRE_CONTENTS=$tmp/$__root_dir/Contents
mkdir -p "$JRE_CONTENTS" || do_exit $?
echo Running jlink...
"$JSDK"/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$JRE_CONTENTS/Home" || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> "$JRE_CONTENTS/Home/release"
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $JRE_CONTENTS/Home/release > release
mv release $JRE_CONTENTS/Home/release
cp $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home/lib/src.zip $JRE_CONTENTS/Home/lib
copy_jmods "$__modules" "$__modules_path" "$JRE_CONTENTS"/Home/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk "${JBR}_diz"
fi
if [ "$bundle_type" == "jcef" ]; then
cat $JCEF_PATH/jcef.version >> "$JRE_CONTENTS/Home/release"
fi
cp -R "$JSDK"/../MacOS "$JRE_CONTENTS"
cp "$JSDK"/../Info.plist "$JRE_CONTENTS"
[ -n "$bundle_type" ] && (cp -a $JCEF_PATH/Frameworks "$JRE_CONTENTS" || do_exit $?)
echo Creating "$JBR".tar.gz ...
# Normalize timestamp
find "$tmp"/"$__root_dir" -print0 | xargs -0 touch -c -h -t "$TOUCH_TIME"
(cd "$tmp" &&
find "$__root_dir" -print0 | LC_ALL=C sort -z | \
COPYFILE_DISABLE=1 tar $REPRODUCIBLE_TAR_OPTS --no-recursion --null -T - \
-czf "$JBR".tar.gz --exclude='*.dSYM' --exclude='man') || do_exit $?
mv "$tmp"/"$JBR".tar.gz "$JBR".tar.gz
rm -rf "$tmp"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
CONF_ARCHITECTURE=x86_64
if [[ "${architecture}" == *aarch64* ]]; then
CONF_ARCHITECTURE=aarch64
fi
RELEASE_NAME=macosx-${CONF_ARCHITECTURE}-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=1
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=macosx-${CONF_ARCHITECTURE}-server-fastdebug
JBSDK=macosx-${architecture}-server-release
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat "$JSDK"/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-osx-test-${architecture}-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
COPYFILE_DISABLE=1 tar -pczf "$JBRSDK_TEST".tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi
do_exit 0

View File

@@ -1,40 +0,0 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
APP_PATH=$1
if [[ -z "$APP_PATH" ]]; then
echo "Usage: $0 AppPath"
exit 1
fi
if [[ ! -f "$APP_PATH" ]]; then
echo "AppName '$APP_PATH' does not exist or not a file"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
# check required parameters
: "${APPLE_ISSUER_ID}"
: "${APPLE_KEY_ID}"
: "${APPLE_PRIVATE_KEY}"
# shellcheck disable=SC2064
trap "rm -f \"$PWD/tmp_key\"" INT EXIT RETURN
echo -n "${APPLE_PRIVATE_KEY}" > tmp_key
log "Notarizing $APP_PATH..."
xcrun notarytool submit --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" "$APP_PATH" 2>&1 | tee "notarytool.submit.out"
REQUEST_ID="$(grep -e " id: " "notarytool.submit.out" | grep -oE '([0-9a-f-]{36})'| head -n1)"
xcrun notarytool wait "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" --timeout 6h ||:
xcrun notarytool log "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" developer_log.json ||:
xcrun notarytool info "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}"
log "Notarizing finished"

View File

@@ -1,41 +0,0 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
source "$SCRIPT_DIR/jetsign-common.sh" || exit 1
function isSigned() {
pkgutil --check-signature "$1" >/dev/null 2>&1 && grep -q "signed by a developer certificate" < <(pkgutil --check-signature "$1" 2>&1)
}
# second last argument is a path to be signed
pathToBeSigned="$(pwd)/${*:(-2):1}"
# last argument is a path to signed file
pathOut="$(pwd)/${*:(-1)}"
jetSignArgs=("${@:1:$#-2}")
if [[ ! -f "$pathToBeSigned" ]]; then
echo "$pathToBeSigned is missing or not a file"
exit 1
elif isSigned "$pathToBeSigned" && ! isForced "${jetSignArgs[@]}" ; then
echo "Already signed: $pathToBeSigned"
elif [[ "$JETSIGN_CLIENT" == "null" ]]; then
echo "JetSign client is missing, cannot proceed with signing"
exit 1
elif [[ "$pathToBeSigned" != *.pkg ]]; then
echo "$pathToBeSigned won't be signed, assumed not to be a macOS package"
else
if ! isSigned "$pathToBeSigned" ; then
echo "Unsigned macOS package: $pathToBeSigned"
fi
workDir=$(dirname "$pathToBeSigned")
pathSigned="$workDir/signed/${pathToBeSigned##*/}"
jetSignExtensions=$(jetSignExtensions "${jetSignArgs[@]}")
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
"$JETSIGN_CLIENT" -log-format text -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"
isSigned "$pathSigned"
rm -f "$pathOut"
mv "$pathSigned" "$pathOut"
rm -rf "$workDir/signed"
)
fi

View File

@@ -1,162 +0,0 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
if [[ $# -lt 5 ]]; then
echo "Usage: $0 AppDirectory AppName BundleId CertificateID InstallerCertificateID"
exit 1
fi
APPLICATION_PATH=$1
PKG_NAME=$2
BUNDLE_ID=$3
JB_DEVELOPER_CERT=$4
JB_INSTALLER_CERT=$5
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
# Use JetBrains sign utility if it's available
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
JB_SIGN=false
SIGN_UTILITY="codesign"
PRODUCTSIGN_UTILITY="productsign"
else
JB_SIGN=true
SIGN_UTILITY="$SCRIPT_DIR/codesign.sh"
PRODUCTSIGN_UTILITY="$SCRIPT_DIR/productsign.sh"
fi
if [[ ! -d "$APPLICATION_PATH" ]]; then
echo "AppDirectory '$APPLICATION_PATH' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
# Cleanup files left from previous sign attempt (if any)
find "$APPLICATION_PATH" -name '*.cstemp' -exec rm '{}' \;
log "Signing libraries and executables..."
# -perm +111 searches for executables
for f in \
"Contents/Home/lib" "Contents/MacOS" \
"Contents/Home/Frameworks" \
"Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "*.node" -o -perm +111 \) \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
log "Signing libraries in jars in $APPLICATION_PATH"
# todo: add set -euo pipefail; into the inner sh -c
# `-e` prevents `grep -q && printf` loginc
# with `-o pipefail` there's no input for 'while' loop
find "$APPLICATION_PATH" -name '*.jar' \
-exec sh -c "set -u; unzip -l \"\$0\" | grep -q -e '\.dylib\$' -e '\.jnilib\$' -e '\.so\$' -e '\.tbd\$' -e '^jattach\$' && printf \"\$0\0\" " {} \; |
while IFS= read -r -d $'\0' file; do
log "Processing libraries in $file"
rm -rf jarfolder jar.jar
mkdir jarfolder
filename="${file##*/}"
log "Filename: $filename"
cp "$file" jarfolder && (cd jarfolder && jar xf "$filename" && rm "$filename")
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "jattach" \) \
-exec "$SIGN_UTILITY" --timestamp \
--force \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
(cd jarfolder; zip -q -r -o -0 ../jar.jar .)
mv jar.jar "$file"
done
rm -rf jarfolder jar.jar
log "Signing other files..."
# shellcheck disable=SC2043
for f in \
"Contents/Home/bin"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -perm +111 \) \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
log "Signing whole frameworks..."
# shellcheck disable=SC2043
if [ "$JB_SIGN" = true ]; then for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \( -name '*.framework' -o -name '*.app' \) -maxdepth 1 | while read -r line
do
log "Signing '$line':"
tar -pczf tmp-to-sign.tar.gz -C "$(dirname "$line")" "$(basename "$line")"
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
rm -rf "$line"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$line")"
rm -f tmp-to-sign.tar.gz
done
fi
done; fi
log "Checking framework signatures..."
for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" -name '*.framework' -maxdepth 1 | while read -r line
do
log "Checking '$line':"
codesign --verify --deep --strict --verbose=4 "$line"
done
fi
done
log "Signing whole app..."
if [ "$JB_SIGN" = true ]; then
tar -pczf tmp-to-sign.tar.gz --exclude='man' -C "$(dirname "$APPLICATION_PATH")" "$(basename "$APPLICATION_PATH")"
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
rm -rf "$APPLICATION_PATH"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$APPLICATION_PATH")"
rm -f tmp-to-sign.tar.gz
else
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" "$APPLICATION_PATH"
fi
BUILD_NAME="$(basename "$APPLICATION_PATH")"
log "Creating $PKG_NAME..."
rm -rf "$PKG_NAME"
mkdir -p unsigned
pkgbuild --identifier $BUNDLE_ID --root $APPLICATION_PATH \
--install-location /Library/Java/JavaVirtualMachines/${BUILD_NAME} unsigned/${PKG_NAME}
log "Signing $PKG_NAME..."
"$PRODUCTSIGN_UTILITY" --timestamp --sign "$JB_INSTALLER_CERT" unsigned/${PKG_NAME} ${PKG_NAME}
log "Verifying java is not broken"
find "$APPLICATION_PATH" \
-type f -name 'java' -perm +111 -exec {} -version \;

View File

@@ -1,136 +0,0 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
INPUT_FILE=$1
EXPLODED=$2.exploded
BACKUP_JMODS=$2.backup
USERNAME=$3
PASSWORD=$4
CODESIGN_STRING=$5
JB_INSTALLER_CERT=$6
NOTARIZE=$7
BUNDLE_ID=$8
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
log "Deleting $EXPLODED ..."
if test -d "$EXPLODED"; then
find "$EXPLODED" -mindepth 1 -maxdepth 1 -exec chmod -R u+wx '{}' \;
fi
rm -rf "$EXPLODED"
mkdir "$EXPLODED"
rm -rf "$BACKUP_JMODS"
mkdir "$BACKUP_JMODS"
log "Unzipping $INPUT_FILE to $EXPLODED ..."
tar -xzvf "$INPUT_FILE" --directory $EXPLODED
BUILD_NAME="$(ls "$EXPLODED")"
#sed -i '' s/BNDL/APPL/ $EXPLODED/$BUILD_NAME/Contents/Info.plist
rm -f $EXPLODED/$BUILD_NAME/Contents/CodeResources
rm "$INPUT_FILE"
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
fi
log "$INPUT_FILE extracted and removed"
APP_NAME=$(basename "$INPUT_FILE" | awk -F".tar" '{ print $1 }')
PKG_NAME="$APP_NAME.pkg"
APPLICATION_PATH=$EXPLODED/$(ls $EXPLODED)
find "$APPLICATION_PATH/Contents/Home/bin" \
-maxdepth 1 -type f -name '*.jnilib' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Linking $file"
b="$(basename "$file" .jnilib)"
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
fi
done
find "$APPLICATION_PATH/Contents/" \
-maxdepth 1 -type f -name '*.txt' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Moving $file"
mv "$file" "$APPLICATION_PATH/Contents/Resources"
fi
done
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
if [[ $non_plist -gt 0 ]]; then
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
exit 1
fi
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
fi
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
"$SCRIPT_DIR/sign.sh" "$APPLICATION_PATH" "$PKG_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
if [ $attempt -eq $limit ]; then
set -e
fi
log "Signing failed, wait for 30 sec and try to sign again"
sleep 30
else
log "Signing done"
codesign -v "$APPLICATION_PATH" -vvvvv
log "Check sign done"
spctl -a -v $APPLICATION_PATH
((attempt += limit))
fi
done
set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
"$SCRIPT_DIR/notarize.sh" "$PKG_NAME"
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH" ||:
xcrun stapler staple "$PKG_NAME" ||:
else
log "Notarization disabled"
log "Stapling disabled"
fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
#cd "$EXPLODED"
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $APPLICATION_PATH/Contents/Home
fi
if [[ "$APPLICATION_PATH" != "$EXPLODED/$BUILD_NAME" ]]; then
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
else
echo "No move, source == destination: $APPLICATION_PATH"
fi
tar -pczvf $INPUT_FILE --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

@@ -1,30 +0,0 @@
diff --git jb/project/tools/common/modules.list jb/project/tools/common/modules.list
index 522acb7cb43..c40e689d5de 100644
--- jb/project/tools/common/modules.list
+++ jb/project/tools/common/modules.list
@@ -51,4 +51,7 @@ jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef,
+gluegen.rt,
+jogl.all
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index 897647ee368..781d1809493 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -116,7 +116,11 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef,
+ jogl.all;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

View File

@@ -1,30 +0,0 @@
diff --git jb/project/tools/common/modules.list jb/project/tools/common/modules.list
index 522acb7..c40e689 100644
--- jb/project/tools/common/modules.list
+++ jb/project/tools/common/modules.list
@@ -51,4 +51,7 @@ jdk.unsupported.desktop,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef,
+gluegen.rt,
+jogl.all
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index 897647e..781d180 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -116,7 +116,11 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef,
+ jogl.all;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

View File

@@ -1,162 +0,0 @@
#!/bin/bash
set -euo pipefail
TC_PRINT=0
# Always print TeamCity service messages if running under TeamCity
[[ -n "${TEAMCITY_VERSION:-}" ]] && TC_PRINT=1
while getopts ":t" o; do
case "${o}" in
t) TC_PRINT=1 ;;
*);;
esac
done
shift $((OPTIND-1))
NEWFILEPATH="$1"
CONFIGID="$2"
BUILDID="$3"
TOKEN="$4"
if [ ! -f "$NEWFILEPATH" ]; then
echo "File not found: $NEWFILEPATH"
exit 1
fi
#
# Get the size of new artifact
#
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*)
NEWFILESIZE=$(stat -c%s "$NEWFILEPATH")
;;
Darwin*)
NEWFILESIZE=$(stat -f%z "$NEWFILEPATH")
;;
CYGWIN*)
NEWFILESIZE=$(stat -c%s "$NEWFILEPATH")
;;
MINGW*)
NEWFILESIZE=$(stat -c%s "$NEWFILEPATH")
;;
*)
echo "Unknown machine: ${unameOut}"
exit 1
esac
FILENAME=$(basename "${NEWFILEPATH}")
#
# Get pattern of artifact name
# Base filename pattern: <BUNDLE_TYPE>-<JDK_VERSION>-<OS>-<ARCH>-b<BUILD>.tar.gz: jbr_dcevm-17.0.2-osx-x64-b1234.tar.gz
# BUNDLE_TYPE: jbr, jbrsdk, jbr_dcevm, jbrsdk_jcef etc.
# OS_ARCH_PATTERN - <os_architecture>: osx-x64, linux-aarch64, linux-musl-x64, windows-x64 etc.
BUNDLE_TYPE=jbrsdk
OS_ARCH_PATTERN=""
FILE_EXTENSION=tar.gz
re='(jbr[a-z_]*).*-[0-9_\.]+-(.+)-b[0-9]+(.+)'
if [[ $FILENAME =~ $re ]]; then
BUNDLE_TYPE=${BASH_REMATCH[1]}
OS_ARCH_PATTERN=${BASH_REMATCH[2]}
FILE_EXTENSION=${BASH_REMATCH[3]}
else
echo "File name $FILENAME does not match regex $re"
exit 1
fi
function test_started_msg() {
if [ $TC_PRINT -eq 1 ]; then
echo "##teamcity[testStarted name='$1']"
fi
}
function test_failed_msg() {
if [ $TC_PRINT -eq 1 ]; then
echo "##teamcity[testFailed name='$1' message='$2']"
fi
}
function test_finished_msg() {
if [ $TC_PRINT -eq 1 ]; then
echo "##teamcity[testFinished name='$1']"
fi
}
test_name="${BUNDLE_TYPE}_${OS_ARCH_PATTERN//\-/_}${FILE_EXTENSION//\./_}"
test_started_msg "$test_name"
echo "BUNDLE_TYPE: $BUNDLE_TYPE"
echo "OS_ARCH_PATTERN: $OS_ARCH_PATTERN"
echo "FILE_EXTENSION: $FILE_EXTENSION"
echo "Size of $FILENAME is $NEWFILESIZE bytes"
#
# Get previous successful build ID
# Example:
# CONFIGID=IntellijCustomJdk_Jdk17_Master_LinuxX64jcef
# BUILDID=12345678
#
# expected return value
# id="123".number="567"
#
CURL_RESPONSE=$(curl -sSL --header "Authorization: Bearer $TOKEN" "https://buildserver.labs.intellij.net/app/rest/builds/?locator=buildType:(id:$CONFIGID),status:success,count:1,finishDate:(build:$BUILDID,condition:before)")
re='id=\"([0-9]+)\".+number=\"([0-9\.]+)\"'
# ID: Previous successful build id
ID=0
if [[ $CURL_RESPONSE =~ $re ]]; then
ID=${BASH_REMATCH[1]}
echo "Previous build ID: $ID"
echo "Previous build number: ${BASH_REMATCH[2]}"
else
msg="ERROR: cannot find previous build"
echo "$msg"
echo "$CURL_RESPONSE"
test_failed_msg "$test_name" "$msg"
test_finished_msg "$test_name"
exit 1
fi
#
# Get artifacts from previous successful build
#
# expected return value
# name="jbrsdk_jcef*.tar.gz size="123'
#
CURL_RESPONSE=$(curl -sSL --header "Authorization: Bearer $TOKEN" "https://buildserver.labs.intellij.net/app/rest/builds/$ID?fields=id,number,artifacts(file(name,size))")
echo "Artifacts of the previous build:"
echo "$CURL_RESPONSE"
# Find binary size (in response) with reg exp
re="name=\"(${BUNDLE_TYPE}[^\"]+${OS_ARCH_PATTERN}[^\"]+${FILE_EXTENSION})\" size=\"([0-9]+)\""
if [[ $CURL_RESPONSE =~ $re ]]; then
prevFileName=${BASH_REMATCH[1]}
echo "Previous artifact name: $prevFileName"
prevFileSize=${BASH_REMATCH[2]}
echo "Previous artifact size: $prevFileSize"
((allowedSize=prevFileSize+prevFileSize/20)) # use 5% threshold
echo "Allowed size: $allowedSize"
if [[ "$NEWFILESIZE" -gt "$allowedSize" ]]; then
msg="ERROR: new size is significantly greater than previous size (need to investigate)"
echo "$msg"
test_failed_msg "$test_name" "$msg"
test_finished_msg "$test_name"
exit 1
else
echo "PASSED"
test_finished_msg "$test_name"
fi
else
msg="ERROR: cannot find string with size in xml response:"
echo "Regex: $re"
echo "$msg"
echo "$CURL_RESPONSE"
test_failed_msg "$test_name" "$msg"
test_finished_msg "$test_name"
exit 1
fi

View File

@@ -1,93 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
usage ()
{
echo "Usage: perfcmp.sh [options] <test_results_cur> <test_results_ref> <results> <test_prefix> <noHeaders>"
echo "Options:"
echo -e " -h, --help\tdisplay this help"
echo -e " -tc\tprint teacmity statistic"
echo -e "test_results_cur - the file with metrics values for the current measuring"
echo -e "test_results_ref - the file with metrics values for the reference measuring"
echo -e "results - results of comaprison"
echo -e "test_prefix - specifys measuring type, makes sense for enabled -tc, by default no prefixes"
echo -e "noHeaders - by default 1-st line contains headers"
echo -e ""
echo -e "test_results_* files content should be in csv format with header and tab separator:"
echo -e "The 1-st column is the test name"
echo -e "The 2-st column is the test value"
echo -e ""
echo -e "Example:"
echo -e "Test Value"
echo -e "Testname 51.54"
}
while [ -n "$1" ]
do
case "$1" in
-h | --help) usage
exit 1 ;;
-tc) tc=1
shift
break ;;
*) break;;
esac
done
if [[ "$#" < "3" ]]; then
echo "Error: Invalid arguments"
usage
exit 1
fi
curFile=$1
refFile=$2
resFile=$3
testNamePrefix=$4
noHeaders=$5
echo $curFile
echo $refFile
echo $resFile
curValues=`cat "$curFile" | cut -f 2 | tr -d '\t'`
if [ -z $noHeaders ]; then
curValuesHeader=`echo "$curValues" | head -n +1`_cur
header=`cat "$refFile" | head -n +1 | awk -F'\t' -v x=$curValuesHeader '{print " "$1"\t"$2"_ref\t"x"\tratio"}'`
testContent=`paste -d '\t' $refFile <(echo "$curValues") | tail -n +2`
else
testContent=`paste -d '\t' $refFile <(echo "$curValues") | tail -n +1`
fi
testContent=`echo "$testContent" | tr "," "." | awk -F'\t' '{
if ($3>$2+$2*0.1) {
print "* "$1"\t"$2"\t"$3"\t"(($2>0)?$3/$2:"-")
} else {
print " "$1"\t"$2"\t"$3"\t"(($2>0)?$3/$2:"-")
}
}'`
if [ -z $noHeaders ]; then
echo "$header" > $resFile
fi
echo "$testContent" >> $resFile
cat "$resFile" | tr '\t' ';' | column -t -s ';' | tee $resFile
if [ -z $tc ]; then
exit 0
fi
failed=0
echo "$testContent" 2>&1 | (
while read -r s; do
testname=`echo "$s" | cut -f 1 | tr -d "[:space:]" | tr -d "*"`
duration=`echo "$s" | cut -f 3`
echo "$s" | cut -c1 | grep -c "*" && failed=1
echo \#\#teamcity[testStarted name=\'$testNamePrefix$testname\']
echo "===>$s"
echo \#\#teamcity[buildStatisticValue key=\'$testNamePrefix$testname\' value=\'$duration\']
[ $failed -eq 1 ] && echo \#\#teamcity[testFailed name=\'$testNamePrefix$testname\' message=\'$s\']
echo \#\#teamcity[testFinished name=\'$testNamePrefix$testname\' duration=\'$duration\']
failed=0
done
)

View File

@@ -1,151 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_aarch64
if [ -z "$BUILD_JDK" ]; then
echo "BUILD_JDK environment variable must be specified and point to a JDK built from the current sources" \
" and is able to run on the build system. See OpenJDK documentation for --with-build-jdk for more info."
exit 1
fi
source jb/project/tools/common/scripts/common.sh
WORK_DIR=$(pwd)
JCEF_PATH=${JCEF_PATH:=$WORK_DIR/jcef_win_aarch64}
NVDA_PATH=${NVDA_PATH:=$WORK_DIR/nvda_controllerClient}
function do_configure {
sh ./configure \
--enable-option-checking=fatal \
--openjdk-target=aarch64-unknown-cygwin \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-toolchain-version=$TOOLCHAIN_VERSION \
--with-boot-jdk=$BOOT_JDK \
--with-build-jdk=$BUILD_JDK \
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-aarch64-${fastdebug_infix}b${build_number}
echo Running jlink ...
${BUILD_JDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $__root_dir/release > release
mv release $__root_dir/release
cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods
fi
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-aarch64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=0
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=0
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-aarch64-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
fi
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
where cygpath
if [ $? -eq 0 ]; then
JCEF_PATH="$(cygpath -w $JCEF_PATH | sed 's/\\/\//g')"
fi
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
update_jsdk_mods "$BUILD_JDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
modules+=",jdk.crypto.mscapi"
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
do_exit 0

View File

@@ -1,142 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_x64
source jb/project/tools/common/scripts/common.sh
WORK_DIR=$(pwd)
JCEF_PATH=${JCEF_PATH:=$WORK_DIR/jcef_win_x64}
NVDA_PATH=${NVDA_PATH:=$WORK_DIR/nvda_controllerClient}
function do_configure {
sh ./configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-toolchain-version=$TOOLCHAIN_VERSION \
--with-boot-jdk=$BOOT_JDK \
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x64-${fastdebug_infix}b${build_number}
echo Running jlink ...
${JSDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $__root_dir/release > release
mv release $__root_dir/release
cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods
fi
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-x86_64-server-release
case "$bundle_type" in
"jcef")
do_reset_changes=0
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=0
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-x86_64-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
fi
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
where cygpath
if [ $? -eq 0 ]; then
JCEF_PATH="$(cygpath -w $JCEF_PATH | sed 's/\\/\//g')"
fi
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(xargs < jb/project/tools/common/modules.list | sed s/" "//g) || do_exit $?
modules+=",jdk.crypto.mscapi"
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g)
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
do_exit 0

View File

@@ -1,131 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
source jb/project/tools/common/scripts/common.sh
WORK_DIR=$(pwd)
NVDA_PATH=${NVDA_PATH:=$WORK_DIR/nvda_controllerClient}
function do_configure {
sh ./configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-toolchain-version=$TOOLCHAIN_VERSION \
--with-boot-jdk=$BOOT_JDK \
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
}
function create_image_bundle {
__bundle_name=$1
__arch_name=$2
__modules_path=$3
__modules=$4
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x86-${fastdebug_infix}b${build_number}
echo Running jlink ...
${JSDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $__root_dir/release > release
mv release $__root_dir/release
cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods
fi
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-x86_64-server-release
case "$bundle_type" in
"jcef")
echo "not implemented" && do_exit 1
;;
"nomod" | "")
bundle_type=""
;;
"fd")
do_reset_changes=0
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-x86_64-server-fastdebug
;;
esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
fi
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
# create runtime image bundle
modules=$(grep -v "jdk.internal.vm" jb/project/tools/common/modules.list | xargs | sed s/" "//g) || do_exit $?
modules+=",jdk.crypto.mscapi"
create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" || do_exit $?
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g)
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
do_exit 0

View File

@@ -1,57 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script packs test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
source jb/project/tools/common/scripts/common.sh
[ "$bundle_type" == "jcef" ] && do_maketest=1
function pack_jbr {
__bundle_name=$1
__arch_name=$2
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-windows-aarch64-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-aarch64-${fastdebug_infix}b${build_number}
echo Creating $JBR.tar.gz ...
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
JBRSDK_BUNDLE=jbrsdk
RELEASE_NAME=windows-aarch64-server-release
IMAGES_DIR=build/$RELEASE_NAME/images
BASE_DIR=.
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
pack_jbr jbr${jbr_name_postfix} jbr
pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-aarch64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -1,57 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script packs test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
source jb/project/tools/common/scripts/common.sh
[ "$bundle_type" == "jcef" ] && do_maketest=1
function pack_jbr {
__bundle_name=$1
__arch_name=$2
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-windows-x64-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x64-${fastdebug_infix}b${build_number}
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/$__root_dir
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
JBRSDK_BUNDLE=jbrsdk
RELEASE_NAME=windows-x86_64-server-release
IMAGES_DIR=build/$RELEASE_NAME/images
BASE_DIR=.
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
pack_jbr jbr${jbr_name_postfix} jbr
pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -1,53 +0,0 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
source jb/project/tools/common/scripts/common.sh
[ "$bundle_type" == "jcef" ] && echo "not implemented" && do_exit 1
function pack_jbr {
__bundle_name=$1
__arch_name=$2
fastdebug_infix=''
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-windows-x86-${fastdebug_infix}b${build_number}
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x86-${fastdebug_infix}b${build_number}
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/$__root_dir
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
JBRSDK_BUNDLE=jbrsdk
RELEASE_NAME=windows-x86_64-server-release
IMAGES_DIR=build/$RELEASE_NAME/images
BASE_DIR=.
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then
jbr_name_postfix="_${bundle_type}"
else
jbr_name_postfix=""
fi
pack_jbr jbr${jbr_name_postfix} jbr
pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x86-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $BASE_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

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
@@ -81,13 +81,11 @@ endif
ifneq ($(CMDS_DIR), )
DEPS += $(call FindFiles, $(CMDS_DIR))
ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+public)
# For public debug symbols on Windows, we have to use stripped pdbs, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
FILES_CMDS := $(filter-out %.pdb, $(call FindFiles, $(CMDS_DIR))) \
$(filter-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR)))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
@@ -96,18 +94,6 @@ ifneq ($(CMDS_DIR), )
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+full)
# For full debug symbols on Windows, we have to filter out a few launcher pdbs
# where there's a lib that goes by the same name
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(filter-out %jimage.pdb %jpackage.pdb %java.pdb, \
$(call FindFiles, $(CMDS_DIR))), \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else
JMOD_FLAGS += --cmds $(CMDS_DIR)
endif

View File

@@ -267,9 +267,6 @@ else
endif
endif
FILTERED_PDBS := %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb \
%jimage.pdb %jpackage.pdb %java.pdb %jimage.map %jpackage.map %java.map
# Param 1 - either JDK or JRE
SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \
@@ -283,8 +280,8 @@ SetupCopyDebuginfo = \
$(eval $(call SetupCopyFiles, COPY_$1_CMDS_DEBUGINFO_$m, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds/$m, \
DEST := $($1_IMAGE_DIR)/$(CMDS_TARGET_SUBDIR), \
FILES := $(filter-out $(FILTERED_PDBS), $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m)), \
FILES := $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m), \
)) \
$(eval $1_TARGETS += $$(COPY_$1_CMDS_DEBUGINFO_$m)) \
)

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,93 +0,0 @@
#
# Copyright 2000-2023 JetBrains s.r.o.
# 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.
#
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
JBR_API_ROOT_DIR := $(TOPDIR)/src/jetbrains.api
JBR_API_TOOLS_DIR := $(JBR_API_ROOT_DIR)/tools
JBR_API_SRC_DIR := $(JBR_API_ROOT_DIR)/src
JBR_API_OUTPUT_DIR := $(OUTPUTDIR)/jbr-api
JBR_API_GENSRC_DIR := $(JBR_API_OUTPUT_DIR)/gensrc
JBR_API_BIN_DIR := $(JBR_API_OUTPUT_DIR)/bin
JBR_API_VERSION_PROPERTIES := $(JBR_API_ROOT_DIR)/version.properties
JBR_API_VERSION_GENSRC := $(JBR_API_OUTPUT_DIR)/jbr-api.version
JBR_API_GENSRC_BATCH := $(JBR_API_VERSION_GENSRC)
JBR_API_SRC_FILES := $(call FindFiles, $(JBR_API_SRC_DIR))
JBR_API_GENSRC_FILES := $(foreach f, $(call FindFiles, $(JBR_API_SRC_DIR)), \
$(JBR_API_GENSRC_DIR)/$(call RelativePath, $f, $(JBR_API_SRC_DIR)))
ifeq ($(JBR_API_JBR_VERSION),)
JBR_API_JBR_VERSION := DEVELOPMENT
JBR_API_FAIL_ON_HASH_MISMATCH := false
else
.PHONY: $(JBR_API_VERSION_PROPERTIES)
JBR_API_FAIL_ON_HASH_MISMATCH := true
endif
ARCHIVE_BUILD_JBR_API_BIN := $(JBR_API_BIN_DIR)
$(eval $(call SetupJavaCompilation, BUILD_JBR_API, \
SMALL_JAVA := true, \
COMPILER := bootjdk, \
SRC := $(JBR_API_GENSRC_DIR), \
EXTRA_FILES := $(JBR_API_GENSRC_FILES), \
BIN := $(JBR_API_BIN_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api.jar, \
))
$(eval $(call SetupJarArchive, BUILD_JBR_API_SOURCES_JAR, \
DEPENDENCIES := $(JBR_API_GENSRC_FILES), \
SRCS := $(JBR_API_GENSRC_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar, \
SUFFIXES := .java, \
BIN := $(JBR_API_BIN_DIR), \
))
# Grouped targets may not be supported, so hack dependencies: sources -> version file -> generated sources
$(JBR_API_VERSION_GENSRC): $(JBR_API_SRC_FILES) $(JBR_API_VERSION_PROPERTIES) $(JBR_API_TOOLS_DIR)/Gensrc.java
$(ECHO) Generating sources for JBR API
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/Gensrc.java" \
"$(TOPDIR)/src" "$(JBR_API_OUTPUT_DIR)" "$(JBR_API_JBR_VERSION)"
$(JBR_API_GENSRC_FILES): $(JBR_API_VERSION_GENSRC)
$(TOUCH) $@
jbr-api-check-version: $(JBR_API_GENSRC_FILES) $(JBR_API_VERSION_PROPERTIES)
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/CheckVersion.java" \
"$(JBR_API_ROOT_DIR)" "$(JBR_API_GENSRC_DIR)" "$(JBR_API_FAIL_ON_HASH_MISMATCH)"
jbr-api: $(BUILD_JBR_API) $(BUILD_JBR_API_SOURCES_JAR) jbr-api-check-version
.PHONY: jbr-api jbr-api-check-version
ifneq ($(JBR_API_CONF_FILE),)
$(JBR_API_CONF_FILE): $(JBR_API_GENSRC_FILES)
$(ECHO) "VERSION=`$(CAT) $(JBR_API_VERSION_GENSRC)`" > $(JBR_API_CONF_FILE)
$(ECHO) "JAR=$(JBR_API_OUTPUT_DIR)/jbr-api.jar" >> $(JBR_API_CONF_FILE)
$(ECHO) "SOURCES_JAR=$(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar" >> $(JBR_API_CONF_FILE)
jbr-api: $(JBR_API_CONF_FILE)
.PHONY: $(JBR_API_CONF_FILE)
endif

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

@@ -1414,14 +1414,6 @@ create-main-targets-include:
@$(ECHO) ALL_MAIN_TARGETS := $(sort $(ALL_TARGETS)) > \
$(MAKESUPPORT_OUTPUTDIR)/main-targets.gmk
################################################################################
# JBR API
$(eval $(call SetupTarget, jbr-api, \
MAKEFILE := JBRApi, \
TARGET := jbr-api \
))
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Main-post.gmk))

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
@@ -356,7 +357,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
$(subst .jasm,,$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1))))))
# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling
@@ -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_JDK,$(BOOT_JDK)))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -157,6 +158,10 @@ ifeq ($(UNAME_OS), CYGWIN)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.cygwin
else ifeq ($(UNAME_OS), MINGW64)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.msys2
else
OPENJDK_TARGET_OS_TYPE:=unix
ifeq ($(UNAME_OS), Linux)
@@ -169,6 +174,9 @@ else
OPENJDK_TARGET_OS_ENV := $(OPENJDK_TARGET_OS)
endif
# Sanity check env detection
$(info Detected target OS, type and env: [$(OPENJDK_TARGET_OS)] [$(OPENJDK_TARGET_OS_TYPE)] [$(OPENJDK_TARGET_OS_ENV)])
# Assume little endian unless otherwise specified
OPENJDK_TARGET_CPU_ENDIAN := little
@@ -248,6 +256,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
TOPDIR := $(TOPDIR), \
OUTPUTDIR := $(OUTPUTDIR), \
BOOT_JDK := $(BOOT_JDK), \
JTREG_JDK := $(JTREG_JDK), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \

View File

@@ -124,6 +124,8 @@ JAR := $(FIXPATH) $(JAR_CMD)
JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD)
JTREG_JAVA := $(FIXPATH) $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
################################################################################
# Some common tools. Assume most common name and no path.

View File

@@ -88,9 +88,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP, \
SRC := $(SUPPORT_OUTPUTDIR), \
INCLUDE_FILES := modules_libs/java.security.jgss/w2k_lsa_auth.dll \
modules_libs/java.security.jgss/w2k_lsa_auth.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.map \
modules_libs/java.security.jgss/w2k_lsa_auth.pdb, \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.map \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb, \
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)

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])

View File

@@ -89,8 +89,8 @@ AC_DEFUN([BASIC_SETUP_PATHS_WINDOWS],
WINENV_TEMP_DIR=$($PATHTOOL -u $($CMD /q /c echo %TEMP% 2> /dev/null) | $TR -d '\r\n')
AC_MSG_RESULT([$WINENV_TEMP_DIR])
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl1" || test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl2"; then
# Don't trust the current directory for WSL, but change to an OK temp dir
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl2"; then
# Don't trust the current directory for WSL2, but change to an OK temp dir
cd "$WINENV_TEMP_DIR"
# Bring along confdefs.h or autoconf gets all confused
cp "$CONFIGURE_START_DIR/confdefs.h" "$WINENV_TEMP_DIR"
@@ -228,7 +228,7 @@ AC_DEFUN([BASIC_WINDOWS_FINALIZE_FIXPATH],
# Platform-specific finalization
AC_DEFUN([BASIC_WINDOWS_FINALIZE],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl1" || test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl2"; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl2"; then
# Change back from temp dir
cd $CONFIGURE_START_DIR
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
# Setup flags for C/C++ compiler
#
###############################################################################
################################################################################
#
# How to compile shared libraries.
#
@@ -37,7 +37,10 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
# --disable-new-dtags forces use of RPATH instead of RUNPATH for rpaths.
# This protects internal library dependencies within the JDK from being
# overridden using LD_LIBRARY_PATH. See JDK-8326891 for more information.
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1 -Wl,--disable-new-dtags'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -63,6 +66,9 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
if test "x$OPENJDK_TARGET_OS" = xlinux; then
SET_EXECUTABLE_ORIGIN="$SET_EXECUTABLE_ORIGIN -Wl,--disable-new-dtags"
fi
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -117,6 +123,16 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${DEBUG_PREFIX_CFLAGS}],
IF_FALSE: [
DEBUG_PREFIX_CFLAGS=
],
IF_TRUE: [
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
# Add debug prefix map for OUTPUTDIR to handle the scenario when
# it is not located within WORKSPACE_ROOT
outputdir_slash="${OUTPUTDIR%/}/"
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS -fdebug-prefix-map=${outputdir_slash}="
]
)
fi
@@ -158,6 +174,55 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
# gcc will embed the full system include paths in the debug info
# resulting in non-deterministic debug symbol files and thus
# non-reproducible native libraries if gcc includes are located
# in different paths.
# Add -fdebug-prefix-map'ings for root and gcc include paths,
# pointing to a common set of folders so that the binaries are deterministic:
# root include : /usr/include
# gcc include : /usr/local/gcc_include
# g++ include : /usr/local/gxx_include
AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
[
# Determine gcc system include paths.
# Assume default roots to start with:
GCC_ROOT_INCLUDE="/usr/include"
# Determine is sysroot or devkit specified?
if test "x$SYSROOT" != "x"; then
GCC_ROOT_INCLUDE="${SYSROOT%/}/usr/include"
fi
# Add root include mapping => /usr/include
GCC_INCLUDE_DEBUG_MAP_FLAGS="-fdebug-prefix-map=${GCC_ROOT_INCLUDE}/=/usr/include/"
# Add gcc system include mapping => /usr/local/gcc_include
# Find location of stddef.h using build C compiler
GCC_SYSTEM_INCLUDE=`$ECHO "#include <stddef.h>" | \
$CC $CFLAGS -v -E - 2>&1 | \
$GREP stddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GCC_SYSTEM_INCLUDE" != "x"; then
GCC_SYSTEM_INCLUDE=`$DIRNAME $GCC_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GCC_SYSTEM_INCLUDE}/=/usr/local/gcc_include/"
fi
# Add g++ system include mapping => /usr/local/gxx_include
# Find location of cstddef using build C++ compiler
GXX_SYSTEM_INCLUDE=`$ECHO "#include <cstddef>" | \
$CXX $CXXFLAGS -v -E -x c++ - 2>&1 | \
$GREP cstddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GXX_SYSTEM_INCLUDE" != "x"; then
GXX_SYSTEM_INCLUDE=`$DIRNAME $GXX_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GXX_SYSTEM_INCLUDE}/=/usr/local/gxx_include/"
fi
# Add to debug prefix cflags
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS $GCC_INCLUDE_DEBUG_MAP_FLAGS"
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
# Set default value.
@@ -425,13 +490,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
CFLAGS_OS_DEF_JVM="-DAIX"
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -816,6 +881,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 +915,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])

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

@@ -428,6 +428,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

@@ -190,6 +190,17 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
fi
AC_SUBST(INCLUDE_SA)
# Setup default CDS alignment. On platforms where one build may run on machines with different
# page sizes, the JVM choses a compatible alignment to fit all possible page sizes. This slightly
# increases archive size.
# The only platform having this problem at the moment is Linux on aarch64, which may encounter
# three different page sizes: 4K, 64K, and if run on Mac m1 hardware, 16K.
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=false
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=true
fi
AC_SUBST(COMPATIBLE_CDS_ALIGNMENT_DEFAULT)
# Compress jars
COMPRESS_JARS=false
@@ -234,31 +245,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
fi
AC_SUBST(HOTSPOT_OVERRIDE_LIBPATH)
# Should we build the client for the JAWS screen reader?
if test "x$OPENJDK_TARGET_OS" = xwindows; then
AC_MSG_CHECKING([if JAWS client support is enabled])
A11Y_JAWS_ANNOUNCING_ENABLED=true
AC_ARG_ENABLE(
[jaws-client],
[AS_HELP_STRING([--disable-jaws-client], [Set to disable to exclude the client for the JAWS screen reader from the build])],
[
if test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
AC_MSG_WARN([--[enable|disable]-jaws-client[=*] flags are ignored for headless builds])
elif test "x$enableval" != xyes; then
A11Y_JAWS_ANNOUNCING_ENABLED=false
fi
]
)
if test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
A11Y_JAWS_ANNOUNCING_ENABLED=false
fi
AC_MSG_RESULT([$A11Y_JAWS_ANNOUNCING_ENABLED])
else
A11Y_JAWS_ANNOUNCING_ENABLED=false
fi
AC_SUBST(A11Y_JAWS_ANNOUNCING_ENABLED)
])
###############################################################################
@@ -516,7 +502,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
@@ -698,7 +684,7 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
[
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
DESC: [enable use alternative compatible cds core region alignment],
DEFAULT_DESC: [disabled],
@@ -847,6 +833,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

@@ -110,6 +110,15 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(COMPANY_NAME)
# Set the JDK RC Company name
# Otherwise uses the value set for "vendor-name".
UTIL_ARG_WITH(NAME: jdk-rc-company-name, TYPE: string,
DEFAULT: $COMPANY_NAME,
DESC: [Set JDK RC company name. This is used for CompanyName properties of MS Windows binaries.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(JDK_RC_COMPANY_NAME)
# The vendor URL, if any
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.

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

@@ -1,121 +0,0 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, JetBrains s.r.o.. 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.
#
################################################################################
# Setup nvdacontrollerclient (The library for communication with
# NVDA - a screen reader for Microsoft Windows)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_NVDACONTROLLERCLIENT], [
# To enable NVDA, user specifies neither --with-nvdacontrollerclient or
# a pair (--with-nvdacontrollerclient-include, --with-nvdacontrollerclient-lib)
AC_ARG_WITH(nvdacontrollerclient, [AS_HELP_STRING([--with-nvdacontrollerclient],
[specify prefix directory for the NVDA Controller Client library package
(expecting headers and libs under PATH/<target-arch>/)])])
AC_ARG_WITH(nvdacontrollerclient-include, [AS_HELP_STRING([--with-nvdacontrollerclient-include],
[specify directory for the NVDA Controller Client include files])])
AC_ARG_WITH(nvdacontrollerclient-lib, [AS_HELP_STRING([--with-nvdacontrollerclient-lib],
[specify directory for the NVDA Controller Client library])])
NVDACONTROLLERCLIENT_FOUND=no
NVDACONTROLLERCLIENT_LIB=
NVDACONTROLLERCLIENT_DLL=
NVDACONTROLLERCLIENT_CFLAGS=
if test "x${NEEDS_LIB_NVDACONTROLLERCLIENT}" = "xtrue" ; then
if (test "x${with_nvdacontrollerclient_include}" = "x" && test "x${with_nvdacontrollerclient_lib}" != "x") || \
(test "x${with_nvdacontrollerclient_include}" != "x" && test "x${with_nvdacontrollerclient_lib}" = "x") ; then
AC_MSG_ERROR([Must specify both or neither of --with-nvdacontrollerclient-include and --with-nvdacontrollerclient-lib])
elif (test "x${with_nvdacontrollerclient}" != "x" && test "x${with_nvdacontrollerclient_include}" != "x") ; then
AC_MSG_ERROR([Must specify either --with-nvdacontrollerclient or a pair (--with-nvdacontrollerclient-include, --with-nvdacontrollerclient-lib)])
fi
if (test "x${with_nvdacontrollerclient}" != "x") || \
(test "x${with_nvdacontrollerclient_include}" != "x" && test "x${with_nvdacontrollerclient_lib}" != "x") ; then
AC_MSG_CHECKING([for nvdacontrollerclient])
if test "x${OPENJDK_TARGET_OS}" != "xwindows" ; then
AC_MSG_ERROR([--with-nvdacontrollerclient[-*] flags are applicable only to Windows builds])
fi
if test "x${OPENJDK_TARGET_CPU_ARCH}" = "xaarch64" ; then
NVDACONTROLLERCLIENT_BIN_BASENAME="nvdaControllerClient32"
NVDACONTROLLERCLIENT_ARCHDIR="arm64"
elif test "x${OPENJDK_TARGET_CPU_ARCH}" = "xx86" && test "x${OPENJDK_TARGET_CPU_BITS}" = "x64" ; then
NVDACONTROLLERCLIENT_BIN_BASENAME="nvdaControllerClient64"
NVDACONTROLLERCLIENT_ARCHDIR="x64"
elif test "x${OPENJDK_TARGET_CPU_ARCH}" = "xx86" && test "x${OPENJDK_TARGET_CPU_BITS}" = "x32" ; then
NVDACONTROLLERCLIENT_BIN_BASENAME="nvdaControllerClient32"
NVDACONTROLLERCLIENT_ARCHDIR="x86"
else
AC_MSG_ERROR([The nvdacontrollerclient library exists only for x86_32, x86_64, AArch64 architectures])
fi
if test "x${with_nvdacontrollerclient}" != "x" ; then
# NVDACONTROLLERCLIENT_ARCHDIR is used only here
NVDACONTROLLERCLIENT_INC_PATH="${with_nvdacontrollerclient}/${NVDACONTROLLERCLIENT_ARCHDIR}"
NVDACONTROLLERCLIENT_BIN_PATH="${with_nvdacontrollerclient}/${NVDACONTROLLERCLIENT_ARCHDIR}"
else
NVDACONTROLLERCLIENT_INC_PATH="${with_nvdacontrollerclient_include}"
NVDACONTROLLERCLIENT_BIN_PATH="${with_nvdacontrollerclient_lib}"
fi
POTENTIAL_NVDACONTROLLERCLIENT_DLL="${NVDACONTROLLERCLIENT_BIN_PATH}/${NVDACONTROLLERCLIENT_BIN_BASENAME}.dll"
POTENTIAL_NVDACONTROLLERCLIENT_LIB="${NVDACONTROLLERCLIENT_BIN_PATH}/${NVDACONTROLLERCLIENT_BIN_BASENAME}.lib"
POTENTIAL_NVDACONTROLLERCLIENT_EXP="${NVDACONTROLLERCLIENT_BIN_PATH}/${NVDACONTROLLERCLIENT_BIN_BASENAME}.exp"
if ! test -s "${POTENTIAL_NVDACONTROLLERCLIENT_DLL}" || \
! test -s "${POTENTIAL_NVDACONTROLLERCLIENT_LIB}" || \
! test -s "${POTENTIAL_NVDACONTROLLERCLIENT_EXP}" ; then
AC_MSG_ERROR([Could not find ${NVDACONTROLLERCLIENT_BIN_BASENAME}.dll and/or ${NVDACONTROLLERCLIENT_BIN_BASENAME}.lib and/or ${NVDACONTROLLERCLIENT_BIN_BASENAME}.exp inside ${NVDACONTROLLERCLIENT_BIN_PATH}])
fi
if ! test -s "${NVDACONTROLLERCLIENT_INC_PATH}/nvdaController.h" ; then
AC_MSG_ERROR([Could not find the header file nvdaController.h inside ${NVDACONTROLLERCLIENT_INC_PATH}])
fi
NVDACONTROLLERCLIENT_CFLAGS="-I${NVDACONTROLLERCLIENT_INC_PATH}"
NVDACONTROLLERCLIENT_DLL="${POTENTIAL_NVDACONTROLLERCLIENT_DLL}"
NVDACONTROLLERCLIENT_LIB="${POTENTIAL_NVDACONTROLLERCLIENT_LIB}"
NVDACONTROLLERCLIENT_FOUND=yes
AC_MSG_RESULT([includes at ${NVDACONTROLLERCLIENT_INC_PATH} ; binaries at ${NVDACONTROLLERCLIENT_BIN_PATH}])
fi
elif test "x${with_nvdacontrollerclient}" != "x" || \
test "x${with_nvdacontrollerclient_include}" != "x" || test "x${with_nvdacontrollerclient_lib}" != "x" ; then
AC_MSG_WARN([[nvdacontrollerclient is not used, so --with-nvdacontrollerclient[-*] is ignored]])
fi
if test "x${NVDACONTROLLERCLIENT_FOUND}" = "xyes" ; then
A11Y_NVDA_ANNOUNCING_ENABLED=true
else
A11Y_NVDA_ANNOUNCING_ENABLED=false
fi
AC_SUBST(A11Y_NVDA_ANNOUNCING_ENABLED)
AC_SUBST(NVDACONTROLLERCLIENT_CFLAGS)
AC_SUBST(NVDACONTROLLERCLIENT_DLL)
AC_SUBST(NVDACONTROLLERCLIENT_LIB)
])

View File

@@ -1,92 +0,0 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, JetBrains s.r.o.. 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.
#
################################################################################
# Setup speechd
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_SPEECHD],
[
AC_ARG_WITH(speechd, [AS_HELP_STRING([--with-speechd],
[specify prefix directory for the libspeechd package
(expecting the headers under PATH/include); required for AccessibleAnnouncer to work])])
AC_ARG_WITH(speechd-include, [AS_HELP_STRING([--with-speechd-include],
[specify directory for the speechd include files])])
if test "x$NEEDS_LIB_SPEECHD" = xfalse || test "x${with_speechd}" = xno || \
test "x${with_speechd_include}" = xno; then
if (test "x${with_speechd}" != x && test "x${with_speechd}" != xno) || \
(test "x${with_speechd_include}" != x && test "x${with_speechd_include}" != xno); then
AC_MSG_WARN([[speechd not used, so --with-speechd[-*] is ignored]])
fi
A11Y_SPEECHD_ANNOUNCING_ENABLED=false
SPEECHD_CFLAGS=
SPEECHD_LIBS=
else
SPEECHD_FOUND=no
if test "x${with_speechd}" != x && test "x${with_speechd}" != xyes; then
AC_MSG_CHECKING([for speechd header and library])
if test -s "${with_speechd}/include/libspeechd.h"; then
SPEECHD_CFLAGS="-I${with_speechd}/include"
SPEECHD_LIBS="-L${with_speechd}/lib -lspeechd"
SPEECHD_FOUND=yes
AC_MSG_RESULT([$SPEECHD_FOUND])
else
AC_MSG_ERROR([Can't find 'include/libspeechd.h' under ${with_speechd} given with the --with-speechd option.])
fi
fi
if test "x${with_speechd_include}" != x; then
AC_MSG_CHECKING([for speechd headers])
if test -s "${with_speechd_include}/libspeechd.h"; then
SPEECHD_CFLAGS="-I${with_speechd_include}"
SPEECHD_FOUND=yes
AC_MSG_RESULT([$SPEECHD_FOUND])
else
AC_MSG_ERROR([Can't find 'include/libspeechd.h' under ${with_speechd} given with the --with-speechd-include option.])
fi
fi
if test "x$SPEECHD_FOUND" = xno; then
# Are the libspeechd headers installed in the default /usr/include location?
AC_CHECK_HEADERS([libspeechd.h],
[ SPEECHD_FOUND=yes ],
[ SPEECHD_FOUND=no; break ]
)
if test "x$SPEECHD_FOUND" = xyes; then
SPEECHD_CFLAGS=
SPEECHD_LIBS="-lspeechd"
fi
fi
if test "x$SPEECHD_FOUND" = xno; then
A11Y_SPEECHD_ANNOUNCING_ENABLED=false
else
A11Y_SPEECHD_ANNOUNCING_ENABLED=true
fi
fi
AC_SUBST(A11Y_SPEECHD_ANNOUNCING_ENABLED)
AC_SUBST(SPEECHD_CFLAGS)
AC_SUBST(SPEECHD_LIBS)
])

View File

@@ -28,7 +28,7 @@
################################################################################
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.2
JTREG_MINIMUM_VERSION=7.3.1
GTEST_MINIMUM_VERSION=1.13.0
###############################################################################
@@ -227,12 +227,47 @@ 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
UTIL_FIXUP_PATH(JTREG_JDK)
AC_SUBST([JTREG_JDK])
# For use in the configure script
JTREG_JAVA="$FIXPATH $JTREG_JDK/bin/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,183 +0,0 @@
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, JetBrains s.r.o.. 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.
#
################################################################################
# Setup wayland
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
[
AC_ARG_WITH(wayland, [AS_HELP_STRING([--with-wayland],
[specify prefix directory for the wayland package
(expecting the headers under PATH/include)])])
AC_ARG_WITH(wayland-include, [AS_HELP_STRING([--with-wayland-include],
[specify directory for the wayland include files])])
if test "x$NEEDS_LIB_WAYLAND" = xfalse; then
if (test "x${with_wayland}" != x && test "x${with_wayland}" != xno) || \
(test "x${with_wayland_include}" != x && test "x${with_wayland_include}" != xno); then
AC_MSG_WARN([[wayland not used, so --with-wayland[-*] is ignored]])
fi
WAYLAND_CFLAGS=
WAYLAND_LIBS=
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
WAYLAND_FOUND=no
if test "x${with_wayland}" = xno || test "x${with_wayland_include}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of wayland. Remove the --without-wayland option.])
fi
if test "x${with_wayland}" != x; then
AC_MSG_CHECKING([for wayland headers])
if test -s "${with_wayland}/include/wayland-client.h" && test -s "${with_wayland}/include/wayland-cursor.h"; then
WAYLAND_CFLAGS="-I${with_wayland}/include"
WAYLAND_LIBS="-L${with_wayland}/lib -lwayland-client -lwayland-cursor"
WAYLAND_FOUND=yes
AC_MSG_RESULT([$WAYLAND_FOUND])
else
AC_MSG_ERROR([Can't find 'include/wayland-client.h' and 'include/wayland-cursor.h' under ${with_wayland} given with the --with-wayland option.])
fi
fi
if test "x${with_wayland_include}" != x; then
AC_MSG_CHECKING([for wayland headers])
if test -s "${with_wayland_include}/wayland-client.h" && test -s "${with_wayland_include}/wayland-cursor.h"; then
WAYLAND_CFLAGS="-I${with_wayland_include}"
WAYLAND_FOUND=yes
AC_MSG_RESULT([$WAYLAND_FOUND])
else
AC_MSG_ERROR([Can't find 'wayland-client.h' and 'wayland-cursor.h' under ${with_wayland_include} given with the --with-wayland-include option.])
fi
fi
if test "x$WAYLAND_FOUND" = xno; then
# Are the wayland headers installed in the default /usr/include location?
AC_CHECK_HEADERS([wayland-client.h wayland-cursor.h],
[ WAYLAND_FOUND=yes ],
[ WAYLAND_FOUND=no; break ]
)
if test "x$WAYLAND_FOUND" = xyes; then
WAYLAND_CFLAGS=
WAYLAND_LIBS="-lwayland-client -lwayland-cursor"
DEFAULT_WAYLAND=yes
fi
fi
if test "x$WAYLAND_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([wayland])
AC_MSG_ERROR([Could not find wayland! $HELP_MSG ])
fi
# Checking for vulkan sdk
AC_ARG_WITH(vulkan, [AS_HELP_STRING([--with-vulkan],
[specify whether we use vulkan])])
AC_ARG_WITH(vulkan-include, [AS_HELP_STRING([--with-vulkan-include],
[specify directory for the vulkan include files])])
AC_ARG_WITH(vulkan-shader-compiler, [AS_HELP_STRING([--with-vulkan-shader-compiler],
[specify which shader compiler to use: glslc/glslangValidator])])
if test "x$SUPPORTS_LIB_VULKAN" = xfalse; then
if (test "x${with_vulkan}" != x && test "x${with_vulkan}" != xno) || \
(test "x${with_vulkan_include}" != x && test "x${with_vulkan_include}" != xno); then
AC_MSG_WARN([[vulkan not used, so --with-vulkan-include is ignored]])
fi
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
# Do not build vulkan rendering pipeline by default
if (test "x${with_vulkan}" = x && test "x${with_vulkan_include}" = x) || \
test "x${with_vulkan}" = xno || test "x${with_vulkan_include}" = xno ; then
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
VULKAN_FOUND=no
if test "x${with_vulkan_include}" != x; then
AC_CHECK_HEADERS([${with_vulkan_include}/include/vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${with_vulkan_include}/include -DVULKAN_ENABLED"
],
[ AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}']) ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
# Check vulkan sdk location
AC_CHECK_HEADERS([$VULKAN_SDK/include/vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${VULKAN_SDK}/include -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
# Check default /usr/include location
AC_CHECK_HEADERS([vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([vulkan])
AC_MSG_ERROR([Could not find vulkan! $HELP_MSG ])
else
# Find shader compiler - glslc or glslangValidator
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslc); then
UTIL_LOOKUP_PROGS(GLSLC, glslc)
SHADER_COMPILER="$GLSLC"
VULKAN_SHADER_COMPILER="glslc --target-env=vulkan1.2 -mfmt=num -o"
fi
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslangValidator) && \
test "x$SHADER_COMPILER" = x; then
UTIL_LOOKUP_PROGS(GLSLANG, glslangValidator)
SHADER_COMPILER="$GLSLANG"
VULKAN_SHADER_COMPILER="glslangValidator --target-env vulkan1.2 -x -o"
fi
if test "x$SHADER_COMPILER" != x; then
VULKAN_ENABLED=true
else
AC_MSG_ERROR([Can't find shader compiler])
fi
fi
fi
fi
fi
AC_SUBST(VULKAN_FLAGS)
AC_SUBST(VULKAN_SHADER_COMPILER)
AC_SUBST(VULKAN_ENABLED)
AC_SUBST(WAYLAND_CFLAGS)
AC_SUBST(WAYLAND_LIBS)
])

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

@@ -33,10 +33,6 @@ m4_include([lib-freetype.m4])
m4_include([lib-hsdis.m4])
m4_include([lib-std.m4])
m4_include([lib-x11.m4])
m4_include([lib-fontconfig.m4])
m4_include([lib-speechd.m4])
m4_include([lib-nvdacontrollerclient.m4])
m4_include([lib-wayland.m4])
m4_include([lib-tests.m4])
@@ -45,26 +41,14 @@ m4_include([lib-tests.m4])
################################################################################
AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
[
# Check if X11, wayland and vulkan is needed
# Check if X11 is needed
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
# No X11 and wayland support on windows or macosx
# No X11 support on windows or macosx
NEEDS_LIB_X11=false
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
elif test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
# No X11 support needed when building headless only
NEEDS_LIB_X11=false
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
else
# All other instances need X11 and wayland, even if building headless only, libawt still
# All other instances need X11, even if building headless only, libawt still
# needs X11 headers.
NEEDS_LIB_X11=true
NEEDS_LIB_SPEECHD=true
NEEDS_LIB_WAYLAND=true
SUPPORTS_LIB_VULKAN=true
fi
# Check if fontconfig is needed
@@ -103,13 +87,6 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
else
NEEDS_LIB_FFI=false
fi
# Check if nvdacontrollerclient is needed
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$ENABLE_HEADLESS_ONLY" != xtrue; then
NEEDS_LIB_NVDACONTROLLERCLIENT=true
else
NEEDS_LIB_NVDACONTROLLERCLIENT=false
fi
])
################################################################################
@@ -131,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
])
################################################################################
@@ -155,9 +126,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_LIBFFI
LIB_SETUP_MISC_LIBS
LIB_SETUP_X11
LIB_SETUP_SPEECHD
LIB_SETUP_NVDACONTROLLERCLIENT
LIB_SETUP_WAYLAND
LIB_TESTS_SETUP_GTEST

View File

@@ -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

View File

@@ -191,6 +191,7 @@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
JDK_RC_COMPANY_NAME:=@JDK_RC_COMPANY_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -424,6 +425,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@
@@ -465,26 +467,6 @@ UBSAN_LDFLAGS:=@UBSAN_LDFLAGS@
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
# Linux speechd a11y announcer
A11Y_SPEECHD_ANNOUNCING_ENABLED:=@A11Y_SPEECHD_ANNOUNCING_ENABLED@
SPEECHD_CFLAGS:=@SPEECHD_CFLAGS@
SPEECHD_LIBS:=@SPEECHD_LIBS@
# Windows NVDA a11y announcer
A11Y_NVDA_ANNOUNCING_ENABLED:=@A11Y_NVDA_ANNOUNCING_ENABLED@
NVDACONTROLLERCLIENT_CFLAGS:=@NVDACONTROLLERCLIENT_CFLAGS@
NVDACONTROLLERCLIENT_DLL:=@NVDACONTROLLERCLIENT_DLL@
NVDACONTROLLERCLIENT_LIB:=@NVDACONTROLLERCLIENT_LIB@
# Windows the client for the JAWS screen reader
A11Y_JAWS_ANNOUNCING_ENABLED:=@A11Y_JAWS_ANNOUNCING_ENABLED@
WAYLAND_CFLAGS:=@WAYLAND_CFLAGS@
WAYLAND_LIBS:=@WAYLAND_LIBS@
VULKAN_FLAGS:=@VULKAN_FLAGS@
VULKAN_SHADER_COMPILER:=@VULKAN_SHADER_COMPILER@
VULKAN_ENABLED:=@VULKAN_ENABLED@
# The lowest required version of macosx
MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# The highest allowed version of macosx
@@ -621,6 +603,7 @@ AR := @AR@
ARFLAGS:=@ARFLAGS@
NM:=@NM@
NMFLAGS:=@NMFLAGS@
STRIP:=@STRIP@
OBJDUMP:=@OBJDUMP@
CXXFILT:=@CXXFILT@
@@ -698,6 +681,9 @@ JAR = $(JAR_CMD)
JLINK = $(JLINK_CMD)
JMOD = $(JMOD_CMD)
JTREG_JDK := @JTREG_JDK@
JTREG_JAVA = @FIXPATH@ $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
BUILD_JAVAC=@FIXPATH@ $(BUILD_JDK)/bin/javac

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -389,6 +389,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
CXX="$cxx_filtered"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -804,7 +808,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, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -199,7 +199,7 @@ AC_DEFUN([UTIL_GET_NON_MATCHING_VALUES],
if test -z "$legal_values"; then
$1="$2"
else
result=`$GREP -Fvx "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fvx -- "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -226,7 +226,7 @@ AC_DEFUN([UTIL_GET_MATCHING_VALUES],
if test -z "$illegal_values"; then
$1=""
else
result=`$GREP -Fx "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fx -- "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])

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

@@ -98,7 +98,7 @@ GLOBAL_VERSION_INFO_RESOURCE := $(TOPDIR)/src/java.base/windows/native/common/ve
JDK_RCFLAGS=$(RCFLAGS) \
-D"JDK_VERSION_STRING=$(VERSION_STRING)" \
-D"JDK_COMPANY=$(COMPANY_NAME)" \
-D"JDK_COMPANY=$(JDK_RC_COMPANY_NAME)" \
-D"JDK_VER=$(VERSION_NUMBER_FOUR_POSITIONS)" \
-D"JDK_COPYRIGHT=Copyright \xA9 $(COPYRIGHT_YEAR)" \
-D"JDK_NAME=$(JDK_RC_NAME) $(VERSION_SHORT)" \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -152,6 +152,10 @@ define SetupLogging
endif
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
SHELL := $$(SHELL) -x
endif
ifeq ($$(LOG_LEVEL), trace)
SHELL_NO_RECURSE := $$(SHELL)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make

View File

@@ -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
@@ -1050,13 +1050,13 @@ define SetupNativeCompilationBody
ifneq ($$($1_TYPE), STATIC_LIBRARY)
# Generate debuginfo files.
ifeq ($(call isTargetOs, windows), true)
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map"
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map"
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).stripped.pdb"
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).stripped.pdb"
endif
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb \
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map
else ifeq ($(call isTargetOs, linux), true)
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
@@ -1104,7 +1104,11 @@ define SetupNativeCompilationBody
$1 += $$($1_DEBUGINFO_FILES)
ifeq ($$($1_ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
ifeq ($(call isTargetOs, windows), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).diz
else
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
endif
$1 += $$($1_DEBUGINFO_ZIP)
# The dependency on TARGET is needed for debuginfo files

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,16 +26,20 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.13.0
JTREG_VERSION=7.2+1
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://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_linux_hotspot_21.0.3_9.tar.gz
LINUX_X64_BOOT_JDK_SHA256=fffa52c22d797b715a962e6c8d11ec7d79b90dd819b5bc51d62137ea4b22a340
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://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_mac_hotspot_21.0.3_9.tar.gz
MACOS_X64_BOOT_JDK_SHA256=f777103aab94330d14a29bd99f3a26d60abbab8e2c375cec9602746096721a7c
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.3_9.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=b6be6a9568be83695ec6b7cb977f4902f7be47d74494c290bc2a5c3c951e254f
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://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_windows_hotspot_21.0.3_9.zip
WINDOWS_X64_BOOT_JDK_SHA256=c43a66cff7a403d56c5c5e1ff10d3d5f95961abf80f97f0e35380594909f0e4d

View File

@@ -945,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);
@@ -1188,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"),

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,12 +28,12 @@
DEFAULT_VERSION_FEATURE=21
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_UPDATE=4
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-09-19
DEFAULT_VERSION_DATE=2024-07-16
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11

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