Compare commits

...

2131 Commits

Author SHA1 Message Date
Vitaly Provodin
f6418d07e2 update exclude list on results of 21.0.7_b509.40 test runs 2025-05-15 02:21:55 +04:00
Vitaly Provodin
8747ab9063 update exclude list on results of 21.0.7 test runs 2025-05-14 06:08:47 +04:00
Martin Balao
fdf1e6081b 8347847: Enhance jar file support
Backport-of: 013d9f988559bc7e29449967c4d35b80d692ef11
Reviewed-by:
2025-05-14 06:02:14 +04:00
Prasanta Sadhukhan
d63f468cd3 8343007: Enhance Buffered Image handling
Backport-of: e95aaf16aa202b49892ccb05ded783114b2d8534
2025-05-14 06:02:14 +04:00
Alexei Voitylov
b12628c81b 8342562: Enhance Deflater operations
Backport-of: 17f7df55fb762488c1054985830ea13840489df2
2025-05-14 06:02:12 +04:00
Martin Balao
086d2cedeb 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: andrew
Backport-of: 8fce5275fc
2025-05-14 06:02:11 +04:00
Alexei Voitylov
0d279123b2 8338430: Improve compiler transformations
Backport-of: 456be5090b6a181afb85d72ac8473e4df3398032
2025-05-14 06:02:10 +04:00
Alexei Voitylov
1c2ea8dc0f 8337692: Better TLS connection support
Backport-of: f06ecf8072b39ffb9eedfc629f181bd805115e0e
2025-05-14 06:02:10 +04:00
Nibedita Jena
e44715c180 8337494: Clarify JarInputStream behavior
Backport-of: 353f6e90bec7248016b2c733bae52ed6ca06fc20
2025-05-14 06:02:09 +04:00
Andrew John Hughes
2317edaa7f 8331735: UpcallLinker::on_exit races with GC when copying frame anchor 8343144: UpcallLinker::on_entry racingly clears pending exception with GC safepoints 8286875: ProgrammableUpcallHandler::on_entry/on_exit access thread fields from native
Backport-of: 461ffafeba
2025-05-14 06:02:07 +04:00
Roman Marchenko
120be053fc 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: yan
Backport-of: bdfb41f977
2025-05-14 06:02:07 +04:00
Andrew John Hughes
e9a3c71a81 8352097: (tz) zone.tab update missed in 2025a backport
Reviewed-by: serb, dcherepanov
2025-05-14 06:02:06 +04:00
Alexey Bakhtin
215c430282 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Backport-of: 6273ab97dc
2025-05-14 06:02:05 +04:00
Goetz Lindenmaier
edb45ad334 8344581: [TESTBUG] java/awt/Robot/ScreenCaptureRobotTest.java failing on macOS
Reviewed-by: mbaesken
Backport-of: 0d30b869d8
2025-05-14 06:02:05 +04:00
Goetz Lindenmaier
d193825d16 8339356: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine
Backport-of: f6e7713bb6
2025-05-14 06:02:04 +04:00
Goetz Lindenmaier
23cb92fce4 8342635: javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java creates tmp file in src dir
8342634: javax/imageio/plugins/wbmp/WBMPStreamTruncateTest.java creates temp file in src dir

Backport-of: 02ea4b548e
2025-05-14 06:02:03 +04:00
Matthias Baesken
5f1e12936e 8349039: Adjust exception No type named <ThreadType> in database
Backport-of: 669f8c0c07
2025-05-14 06:02:02 +04:00
Goetz Lindenmaier
8ee39fb255 8327476: Upgrade JLine to 3.26.1
Reviewed-by: mdoerr
Backport-of: aaa90b3005
2025-05-14 06:02:00 +04:00
Suchismith Roy
80b28b8931 8349729: [21u] AIX jtreg tests fail to compile with qvisibility=hidden
Reviewed-by: goetz
2025-05-14 06:01:58 +04:00
Goetz Lindenmaier
eb94328a40 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland
Backport-of: 6f4fc82149
2025-05-14 06:01:56 +04:00
Goetz Lindenmaier
2ae843b7fd 8346828: javax/swing/JScrollBar/4865918/bug4865918.java still fails in CI
Backport-of: 9fafd63d46
2025-05-14 06:01:55 +04:00
Goetz Lindenmaier
e451be5cc1 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI
Backport-of: a0b7c4f015
2025-05-14 06:01:55 +04:00
Goetz Lindenmaier
c907450abe 8338595: Add more linesize for MIME decoder in macro bench test Base64Decode
Backport-of: 7458952ded
2025-05-14 06:01:54 +04:00
Goetz Lindenmaier
0fd4d36350 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC
Backport-of: dab2a0b597
2025-05-14 06:01:53 +04:00
Antonio Vieiro
f970a607cf 8339728: [Accessibility,Windows,JAWS] Bug in the getKeyChar method of the AccessBridge class
Backport-of: ecdc322029
2025-05-14 06:01:52 +04:00
Goetz Lindenmaier
b599919a43 8342098: Write a test to compare the images
Backport-of: 47ebf8d868
2025-05-14 06:01:52 +04:00
Goetz Lindenmaier
4d27da9e27 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java
Backport-of: 84c99fb91f
2025-05-14 06:01:51 +04:00
Goetz Lindenmaier
ed5af9e1b3 8328730: Convert java/awt/print/bug8023392/bug8023392.html applet test to main
Backport-of: 4047a3623a
2025-05-14 06:01:50 +04:00
Matthias Baesken
b18547750a 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Backport-of: 5e92a4ceaf
2025-05-14 06:01:50 +04:00
Matthias Baesken
b0e0558169 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
Backport-of: 82e16ba248
2025-05-14 06:01:50 +04:00
Matthias Baesken
3a24254df0 8345676: [ubsan] ProcessImpl_md.c:561:40: runtime error: applying zero offset to null pointer on macOS aarch64
Backport-of: 0285020c7e
2025-05-14 06:01:49 +04:00
SendaoYan
44bfbfbbd3 8322983: Virtual Threads: exclude 2 tests
Backport-of: cf28fd4cbc
2025-05-14 06:01:48 +04:00
Matthias Baesken
c687471300 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup
Backport-of: 70eec9001a
2025-05-14 06:01:47 +04:00
Joachim Kern
cdeb3dd88e 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"
Backport-of: f9b11332ec
2025-05-14 06:01:46 +04:00
Matthias Baesken
31f2619977 8347576: Error output in libjsound has non matching format strings
Backport-of: 07a0dcbabc
2025-05-14 06:01:45 +04:00
Matthias Baesken
805630584b 8346881: [ubsan] logSelection.cpp:154:24 / logSelectionList.cpp:72:94 : runtime error: applying non-zero offset 1 to null pointer
Backport-of: 0a81676fae
2025-05-14 06:01:44 +04:00
Matthias Baesken
8241a3cd22 8345569: [ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
Backport-of: 1d2ccaeaa3
2025-05-14 06:01:43 +04:00
SendaoYan
d0eb84eee4 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk
Backport-of: a07d784919ae232a890bf79de27b8623e294ad20
2025-05-14 06:01:43 +04:00
SendaoYan
81aaab8233 8347171: (dc) java/nio/channels/DatagramChannel/InterruptibleOrNot.java fails with virtual thread factory
Backport-of: 687ea73b00fd047305bfa1dda8187276bfb68dbf
2025-05-14 06:01:42 +04:00
SendaoYan
57ff17a12d 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position
Backport-of: d562d3c7a9
2025-05-14 06:01:41 +04:00
Goetz Lindenmaier
722955d095 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
Backport-of: f2a9d26b2e
2025-05-14 06:01:40 +04:00
Goetz Lindenmaier
0622279e73 8302111: Serialization considerations
Reviewed-by: andrew
Backport-of: 369c573383
2025-05-14 06:01:39 +04:00
Matthias Baesken
96f0ce7324 8319233: AArch64: Build failure with clang due to -Wformat-nonliteral warning
Backport-of: 439ed046e4
2025-05-14 06:01:38 +04:00
SendaoYan
7f4dc2d4fa 8339834: Replace usages of -mx and -ms in some tests
Backport-of: 1d39249231
2025-05-14 06:01:38 +04:00
SendaoYan
30a21bfac2 8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Backport-of: 4d8fb80732
2025-05-14 06:01:37 +04:00
Antonio Vieiro
d6d666dab9 8346587: Distrust TLS server certificates anchored by Camerfirma Root CAs
Reviewed-by: andrew
Backport-of: d2262fe4e9b3118d4c4ab152aa2771b744398367
2025-05-14 06:01:36 +04:00
Jan Kratochvil
b694055484 8346713: [testsuite] NeverActAsServerClassMachine breaks TestPLABAdaptToMinTLABSize.java TestPinnedHumongousFragmentation.java TestPinnedObjectContents.java
Reviewed-by: abakhtin
Backport-of: 43b7e9f547
2025-05-14 06:01:36 +04:00
Goetz Lindenmaier
baee4f18f6 8345368: java/io/File/createTempFile/SpecialTempFile.java fails on Windows Server 2025
Backport-of: b0c131e872
2025-05-14 06:01:35 +04:00
Goetz Lindenmaier
748ed353fc 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Backport-of: 2e00816ac3
2025-05-14 06:01:35 +04:00
Christoph Langer
2b82cb4c9b 8349603: [21u, 17u, 11u] Update GHA JDKs after Jan/25 updates
Reviewed-by: mbaesken, sgehwolf
2025-05-14 06:01:34 +04:00
Martin Doerr
639c92295d 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Backport-of: afcc2b03af
2025-05-14 06:01:33 +04:00
Goetz Lindenmaier
4e7a5d7483 8340411: open source several 2D imaging tests
Backport-of: 8dcf7b8fa7
2025-05-14 06:01:33 +04:00
Goetz Lindenmaier
53bea417f6 8330702: Update failure handler to don't generate Error message if cores actions are empty
Backport-of: 548e95a689
2025-05-14 06:01:32 +04:00
Joachim Kern
94e92b8b6d 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: mdoerr, stuefe
Backport-of: ced9906635
2025-05-14 06:01:32 +04:00
Goetz Lindenmaier
4c4eaecc95 8347911: Limit the length of inflated text chunks
Reviewed-by: andrew
Backport-of: 398a580518
2025-05-14 06:01:31 +04:00
Goetz Lindenmaier
5506d8e956 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Backport-of: 8858de393a
2025-05-14 06:01:30 +04:00
Goetz Lindenmaier
6f01e68212 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Backport-of: 4f5a241ec1
2025-05-14 06:01:29 +04:00
Goetz Lindenmaier
ae60c44cfd 8226938: [TEST_BUG]GTK L&F: There is no Details button in FileChooser Dialog
Backport-of: fe98f86b57
2025-05-14 06:01:28 +04:00
Goetz Lindenmaier
8cfe8b939d 8340078: Open source several 2D tests
Backport-of: 88a1c0550e
2025-05-14 06:01:27 +04:00
Goetz Lindenmaier
2ed2031bb2 8332917: failure_handler should execute gdb "info threads" command on linux
Backport-of: ec88c6a872
2025-05-14 06:01:27 +04:00
Goetz Lindenmaier
1dc39205c4 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Backport-of: c2cca2ab44
2025-05-14 06:01:27 +04:00
Goetz Lindenmaier
c647530e28 8329692: Add more details to FrameStateTest.java test instructions
Backport-of: 6f98d8f58f
2025-05-14 06:01:26 +04:00
Goetz Lindenmaier
bdabaad0a1 8325042: Remove unused JVMDITools test files
Backport-of: 0cc8e5beed
2025-05-14 06:01:26 +04:00
Goetz Lindenmaier
a9724f0291 8320691: Timeout handler on Windows takes 2 hours to complete
Backport-of: 4d50df63b6
2025-05-14 06:01:25 +04:00
Sergey Bylokhov
1ae99eb9c0 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Backport-of: 6f30762356
2025-05-14 06:01:24 +04:00
Sergey Bylokhov
3377739543 8347427: JTabbedPane/8134116/Bug8134116.java has no license header
Backport-of: f67b703625
2025-05-14 06:01:24 +04:00
SendaoYan
7828e42d73 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr
Backport-of: f5ab7dff40
2025-05-14 06:01:23 +04:00
Goetz Lindenmaier
4286641a51 8343378: Exceptions in javax/management DeadLockTest.java do not cause test failure
Backport-of: 4a70c83bd0
2025-05-14 06:01:22 +04:00
Goetz Lindenmaier
948601b473 8327986: ASAN reports use-after-free in DirectivesParserTest.empty_object_vm
Reviewed-by: rrich
Backport-of: 47f33a59ea
2025-05-14 06:01:21 +04:00
Goetz Lindenmaier
b09a92c815 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main
Backport-of: 269163d509
2025-05-14 06:01:20 +04:00
Goetz Lindenmaier
aa500ad1b9 8327098: GTest needs larger combination limit
Backport-of: c901da48e3
2025-05-14 06:01:19 +04:00
Goetz Lindenmaier
30f27a5ed7 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Backport-of: 041510dc21
2025-05-14 06:01:17 +04:00
Severin Gehwolf
4962c0a6bb 8347129: cpuset cgroups controller is required for no good reason
Backport-of: 2de71d0445
2025-05-14 06:01:16 +04:00
Radek Cap
574594d423 8347965: (tz) Update Timezone Data to 2025a
Reviewed-by: andrew
Backport-of: caa3c78f78
2025-05-14 06:01:15 +04:00
Varada M
fe9729c6ac 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)
Backport-of: 8b22517cb0
2025-05-14 06:01:15 +04:00
Chen Liang
a9823a7617 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Backport-of: 7aa0cbc91d
2025-05-14 06:01:15 +04:00
Aleksey Shipilev
cdd4ceddbb 8347256: Epsilon: Demote heap size and AlwaysPreTouch warnings to info level
Backport-of: 1a0fe49732
2025-05-14 06:01:13 +04:00
William Kemper
be7d3cf1b8 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
Reviewed-by: ysr, shade
Backport-of: 6a29a8110e
2025-05-14 06:01:12 +04:00
Goetz Lindenmaier
d01a1ba084 8331977: Crash: SIGSEGV in dlerror()
Reviewed-by: rrich
Backport-of: 24530022d0
2025-05-14 06:01:11 +04:00
Goetz Lindenmaier
0c52e60fbd 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Backport-of: 4b92816743
2025-05-14 06:01:11 +04:00
Goetz Lindenmaier
2377fea5bb 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html
Backport-of: f12c370d73
2025-05-14 06:01:09 +04:00
Goetz Lindenmaier
3fb1d1c941 8341111: open source several AWT tests including menu shortcut tests
Backport-of: 04c9c5f0a7
2025-05-14 06:01:08 +04:00
Goetz Lindenmaier
3677db6fe4 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Backport-of: c43202baf6
2025-05-14 06:01:07 +04:00
Goetz Lindenmaier
ce2b182dd8 8329320: Simplify awt/print/PageFormat/NullPaper.java test
Backport-of: 5cf457b743
2025-05-14 06:01:06 +04:00
Goetz Lindenmaier
cd853cab9b 8324838: test_nmt_locationprinting.cpp broken in the gcc windows build
Backport-of: a2229b18bf
2025-05-14 06:01:04 +04:00
Radek Cap
ecd1b363d6 8343599: Kmem limit and max values swapped when printing container information
Backport-of: 6cdebf0e4c
2025-05-14 06:01:03 +04:00
Radek Cap
749d59f7d3 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Backport-of: 9267dfa63b
2025-05-14 06:01:02 +04:00
Goetz Lindenmaier
cfbffc2ae8 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04
Backport-of: 31ceec7cd5
2025-05-14 06:01:01 +04:00
Goetz Lindenmaier
eb307756c2 8341982: Simplify JButton/bug4323121.java
Backport-of: 6fa5cea984
2025-05-14 06:01:00 +04:00
Goetz Lindenmaier
1b51f01026 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Backport-of: f1f15370fa
2025-05-14 06:00:59 +04:00
Goetz Lindenmaier
1defdc552e 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Backport-of: 6bc3971f64
2025-05-14 06:00:58 +04:00
Goetz Lindenmaier
04dadab526 8341412: Various test failures after JDK-8334305
Backport-of: 49501fe9c4
2025-05-14 06:00:57 +04:00
Aleksey Shipilev
81d16baaf1 8311546: Certificate name constraints improperly validated with leading period
8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed
8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test

Reviewed-by: simonis
Backport-of: bfaf5704e7
2025-05-14 06:00:56 +04:00
Goetz Lindenmaier
07ce73da87 8334305: Remove all code for nsk.share.Log verbose mode
Backport-of: 855c8a7def
2025-05-14 06:00:55 +04:00
Goetz Lindenmaier
7f26fae918 8329322: Convert PageFormat/Orient.java to use PassFailJFrame
Backport-of: f713766cab
2025-05-14 06:00:55 +04:00
Goetz Lindenmaier
4e88189a94 8320676: Manual printer tests have no Pass/Fail buttons, instructions close set 1
Backport-of: 7eb78e3320
2025-05-14 06:00:54 +04:00
Goetz Lindenmaier
3323991407 8326525: com/sun/tools/attach/BasicTests.java does not verify AgentLoadException case
Backport-of: b8fc4186d5
2025-05-14 06:00:54 +04:00
Goetz Lindenmaier
5240971c70 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Backport-of: d97de8260c
2025-05-14 06:00:53 +04:00
Satyen Subramaniam
f8a1a9f0da 8346887: DrawFocusRect() may cause an assertion failure
Backport-of: 8eddf67c82
2025-05-14 06:00:52 +04:00
Goetz Lindenmaier
b1448d83d5 8342508: Use latch in BasicMenuUI/bug4983388.java instead of delay
Backport-of: 02ec8ca2d6
2025-05-14 06:00:51 +04:00
Goetz Lindenmaier
61fee900dd 8342498: Add test for Allocation elimination after use as alignment reference by SuperWord
Backport-of: f62fc48441
2025-05-14 06:00:49 +04:00
Goetz Lindenmaier
c066493863 8333403: Write a test to check various components events are triggered properly
Backport-of: a02d895f7a
2025-05-14 06:00:48 +04:00
Goetz Lindenmaier
49ce7206da 8340687: Open source closed frame tests #1
Backport-of: 47fcf5a3b0
2025-05-14 06:00:47 +04:00
Goetz Lindenmaier
f72f54f938 8324807: Manual printer tests have no Pass/Fail buttons, instructions close set 2
Backport-of: ed821cbe85
2025-05-14 06:00:46 +04:00
Goetz Lindenmaier
66f5959d9b 8328819: Remove applet usage from JFileChooser tests bug6698013
Backport-of: e3588bba04
2025-05-14 06:00:44 +04:00
Goetz Lindenmaier
7674aa05be 8227529: With malformed --app-image the error messages are awful
Backport-of: 56d4c33f40
2025-05-14 06:00:43 +04:00
Goetz Lindenmaier
c3139311a4 8304701: Request with timeout aborts later in-flight request on HTTP/1.1 cxn
Backport-of: bddcd086b7
2025-05-14 06:00:42 +04:00
Goetz Lindenmaier
572e9cbdda 8325529: Remove unused imports from ModuleGenerator test file
Reviewed-by: rschmelter
Backport-of: d70156d2e2
2025-05-14 06:00:41 +04:00
Goetz Lindenmaier
b7fc707ff4 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Backport-of: 777c20cb14
2025-05-14 06:00:40 +04:00
Goetz Lindenmaier
bf9f772fb9 8325659: Normalize Random usage by incubator vector tests
Backport-of: 4bba445d83
2025-05-14 06:00:39 +04:00
Goetz Lindenmaier
e143dff427 8198237: [macos] Test java/awt/Frame/ExceptionOnSetExtendedStateTest/ExceptionOnSetExtendedStateTest.java fails
Backport-of: 862e615696
2025-05-14 06:00:39 +04:00
Goetz Lindenmaier
934760a7bb 8327505: Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails
Backport-of: 2b79c22c43
2025-05-14 06:00:37 +04:00
Goetz Lindenmaier
02b8bda3f6 8327994: Update code gen in CallGeneratorHelper
Backport-of: ac2f8e5af8
2025-05-14 06:00:35 +04:00
Goetz Lindenmaier
cf0615fae5 8317636: Improve heap walking API tests to verify correctness of field indexes
Backport-of: f31957e6a1
2025-05-14 06:00:35 +04:00
Goetz Lindenmaier
0e731323e1 8320706: RuntimePackageTest.testUsrInstallDir test fails on Linux
Backport-of: 726f854b14
2025-05-14 06:00:34 +04:00
Goetz Lindenmaier
792a4e5db9 8317283: jpackage tests run osx-specific checks on windows and linux
Backport-of: 179792beb4
2025-05-14 06:00:33 +04:00
Goetz Lindenmaier
5a909601d1 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Backport-of: e5ea9aa9aa
2025-05-14 06:00:32 +04:00
Goetz Lindenmaier
c7e465a9f7 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Backport-of: 5c4f1ef746
2025-05-14 06:00:31 +04:00
Goetz Lindenmaier
27c950e40d 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main
Backport-of: ba05c6d0b6
2025-05-14 06:00:29 +04:00
Goetz Lindenmaier
4d883e622a 8314752: Use google test string comparison macros
Reviewed-by: mbaesken
Backport-of: a0d0f21f08
2025-05-14 06:00:29 +04:00
Aleksey Shipilev
bb93b4d3e3 8342988: GHA: Build JTReg in single step
Reviewed-by: serb, phh
Backport-of: 88dc655a6d
2025-05-14 06:00:28 +04:00
Liam Miller-Cushon
bef9f4bc8e 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: goetz, vromero
Backport-of: e36ce5f034
2025-05-14 06:00:27 +04:00
Fabian Meumertzheim
70afaf102c 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Backport-of: d7ef3ac0b7
2025-05-14 06:00:25 +04:00
Goetz Lindenmaier
b1b56b5275 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: mbaesken
Backport-of: cc9a8aba67
2025-05-14 06:00:24 +04:00
Goetz Lindenmaier
358081eb2d 8339524: Clean up a few ExtendedRobot tests
Backport-of: 16232578d9
2025-05-14 06:00:24 +04:00
Goetz Lindenmaier
95c1770ba8 8343396: Use OperatingSystem, Architecture, and OSVersion in jpackage tests
Backport-of: a63f501b92
2025-05-14 06:00:23 +04:00
Goetz Lindenmaier
b3e5da42d1 8340719: Open source AWT List tests
Backport-of: b11066b56b
2025-05-14 06:00:22 +04:00
Goetz Lindenmaier
8f577cdba3 8340480: Bad copyright notices in changes from JDK-8339902
Backport-of: fdc16a3734
2025-05-14 06:00:21 +04:00
Amit Kumar
b666da3562 8346847: [s390x] minimal build failure
Backport-of: 807f6f7fb8
2025-05-14 06:00:20 +04:00
Goetz Lindenmaier
634c33c350 8344326: Move jpackage tests from "jdk.jpackage.tests" package to the default package
Reviewed-by: mbaesken
Backport-of: 2c509a158f
2025-05-14 06:00:18 +04:00
Goetz Lindenmaier
e46b410ce5 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty
Reviewed-by: mbaesken
Backport-of: 0105203575
2025-05-14 06:00:17 +04:00
Goetz Lindenmaier
f448402cd4 8340313: Crash due to invalid oop in nmethod after C1 patching
Reviewed-by: mdoerr
Backport-of: 58d39c317e
2025-05-14 06:00:17 +04:00
Goetz Lindenmaier
c2c63024cd 8332158: [XWayland] test/jdk/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
Backport-of: b1b4cd429a
2025-05-14 06:00:16 +04:00
Goetz Lindenmaier
8f727c247d 8328558: Convert javax/swing/JCheckBox/8032667/bug8032667.java applet test to main
Backport-of: ef2bd57213
2025-05-14 06:00:13 +04:00
Goetz Lindenmaier
d373b5f703 8315825: Open some swing tests
Backport-of: e015e6ce28
2025-05-14 06:00:13 +04:00
Goetz Lindenmaier
3e4e98ccb7 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: mdoerr
Backport-of: bd1b942741
2025-05-14 06:00:12 +04:00
Goetz Lindenmaier
c78e714821 8335468: [XWayland] JavaFX hangs when calling java.awt.Robot.getPixelColor
Backport-of: 965aace297
2025-05-14 06:00:11 +04:00
Goetz Lindenmaier
4a5a3418d9 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only
Backport-of: 7133d1b983
2025-05-14 06:00:10 +04:00
Goetz Lindenmaier
570a47749b 8339883: Open source several AWT/2D related tests
Backport-of: b26645f64b
2025-05-14 06:00:09 +04:00
SendaoYan
edeac28017 8321818: vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'
Backport-of: ea50c54a14
2025-05-14 06:00:09 +04:00
Goetz Lindenmaier
4df2b092ad 8345414: Google CAInterop test failures
Backport-of: 8e9ba788ae
2025-05-14 06:00:07 +04:00
Goetz Lindenmaier
b374b05b39 8342602: Remove JButton/PressedButtonRightClickTest test
Backport-of: 8647c00114
2025-05-14 06:00:07 +04:00
Goetz Lindenmaier
7333852a0d 8343101: Rework BasicTest.testTemp test cases
8343178: Test BasicTest.java javac compile fails cannot find symbol

Reviewed-by: mdoerr
Backport-of: a95374f588
2025-05-14 06:00:06 +04:00
Goetz Lindenmaier
15a5ce8b1e 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Reviewed-by: mdoerr
Backport-of: fdfe503d01
2025-05-14 06:00:05 +04:00
Goetz Lindenmaier
38e5f42d0c 8328553: Get rid of JApplet in test/jdk/sanity/client/lib/SwingSet2/src/DemoModule.java
Backport-of: 7d1bbff076
2025-05-14 06:00:04 +04:00
Goetz Lindenmaier
326e7fc3dc 8333647: C2 SuperWord: some additional PopulateIndex tests
Backport-of: 487c477181
2025-05-14 06:00:04 +04:00
Goetz Lindenmaier
cc73b95d14 8326421: Add jtreg test for large arrayCopy disjoint case.
Backport-of: 73cdc9a070
2025-05-14 06:00:03 +04:00
Goetz Lindenmaier
48a05bf95e 8329210: Delete Redundant Printer Dialog Modality Test
Backport-of: 7ac2f914aa
2025-05-14 06:00:01 +04:00
Goetz Lindenmaier
9eac408e92 8315883: Open source several Swing JToolbar tests
Backport-of: 62c0a1b9ac
2025-05-14 06:00:00 +04:00
Goetz Lindenmaier
a2c87459d9 8316056: Open source several Swing JTree tests
Backport-of: 5f6cee86ef
2025-05-14 05:59:59 +04:00
SendaoYan
4054798123 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
8342145: File libCreationTimeHelper.c compile fails on Alpine

Reviewed-by: sgehwolf, goetz, phh
Backport-of: daa67f45f0
2025-05-14 05:59:58 +04:00
Goetz Lindenmaier
7dd5191607 8315952: Open source several Swing JToolbar JTooltip JTree tests
Backport-of: d2b2f6759f
2025-05-14 05:59:57 +04:00
Matthias Baesken
4d452c8a1b 8339475: Clean up return code handling for pthread calls in library coding 8341135: Incorrect format string after JDK-8339475
Reviewed-by: mdoerr
Backport-of: 2a2ecc994e
2025-05-14 05:59:56 +04:00
Goetz Lindenmaier
c6a1253a2d 8344646: The libjsig deprecation warning should go to stderr not stdout
Backport-of: efeacfee01
2025-05-14 05:59:55 +04:00
Goetz Lindenmaier
b3457f2d15 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
Backport-of: bb7a8403ba
2025-05-14 05:59:55 +04:00
Goetz Lindenmaier
de8eff5344 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Backport-of: 59ffac84d3
2025-05-14 05:59:54 +04:00
Goetz Lindenmaier
e11fdb0d81 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
Backport-of: 52c0b09b62
2025-05-14 05:59:53 +04:00
Goetz Lindenmaier
2070b1dc50 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
Backport-of: 342fe42555
2025-05-14 05:59:53 +04:00
Goetz Lindenmaier
b66cb2e562 8343128: PassFailJFrame.java test result: Error. Bad action for script: build}
Use HTML character entity in javadoc to prevent jtreg from recognising
PassFailJFrame.java as a test file.

Backport-of: 7bca0af481
2025-05-14 05:59:52 +04:00
Goetz Lindenmaier
a1b0168a64 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
Backport-of: 7e87c071b0
2025-05-14 05:59:50 +04:00
Goetz Lindenmaier
85ae419370 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Backport-of: 0853aee3b3
2025-05-14 05:59:50 +04:00
Goetz Lindenmaier
6256d3a9f2 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Backport-of: 83e9e482b1
2025-05-14 05:59:49 +04:00
Goetz Lindenmaier
3cd6a6689d 8339943: Frame not disposed in java/awt/dnd/DropActionChangeTest.java
Backport-of: fa502ecd2d
2025-05-14 05:59:48 +04:00
Goetz Lindenmaier
0d7ea364e2 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main
Backport-of: cc5cda5587
2025-05-14 05:59:47 +04:00
Goetz Lindenmaier
6dc4ebf1f6 8328130: Remove applet usage from JColorChooser tests Test4759934
Backport-of: be1dd275a4
2025-05-14 05:59:45 +04:00
Goetz Lindenmaier
adcc7d626c 8316149: Open source several Swing JTree JViewport KeyboardManager tests
8316627: JViewport Test headless failure

Reviewed-by: mbaesken
Backport-of: a021dbcb9e
2025-05-14 05:59:45 +04:00
Antonio Vieiro
7c21ecf939 8341424: GHA: Collect hs_errs from build time failures
8342704: GHA: Report truncation is broken after JDK-8341424

Reviewed-by: shade
Backport-of: bf92c49839
2025-05-14 05:59:44 +04:00
Antonio Vieiro
1d2d21c3b9 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Backport-of: 269852b906
2025-05-14 05:59:44 +04:00
Taizo Kurashige
7a53caadd7 8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows platform
Reviewed-by: asemenyuk, phh
Backport-of: 48e3b6511a
2025-05-14 05:59:43 +04:00
Goetz Lindenmaier
666996bbf4 8328827: Convert java/awt/print/PrinterJob/PrinterDialogsModalityTest/PrinterDialogsModalityTest.html applet test to main
Backport-of: db01fcd6d8
2025-05-14 05:59:42 +04:00
Goetz Lindenmaier
a41c66fbbb 8328717: Convert javax/swing/JColorChooser/8065098/bug8065098.java applet test to main
Backport-of: a1fbbffb5e
2025-05-14 05:59:41 +04:00
Goetz Lindenmaier
ad9c8fe055 8328370: Convert java/awt/print/Dialog/PrintApplet.java applet test to main
Backport-of: 476421efe5
2025-05-14 05:59:39 +04:00
Goetz Lindenmaier
91dd9c8a9c 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main
Backport-of: 4e83f4cfc7
2025-05-14 05:59:38 +04:00
Sonia Zaldana Calles
436654b0c2 8316371: Open some swing tests 6
Backport-of: d3a79b5861
2025-05-14 05:59:36 +04:00
Sonia Zaldana Calles
03c56103ae 8316218: Open some swing tests 5
Backport-of: 788e6e1548
2025-05-14 05:59:35 +04:00
Sonia Zaldana Calles
5ef329c5ac 8316146: Open some swing tests 4
Backport-of: 3105538de5
2025-05-14 05:59:33 +04:00
Sonia Zaldana Calles
9cf68fdd6a 8315882: Open some swing tests 2
Backport-of: d2d7d9a8b7
2025-05-14 05:59:32 +04:00
Goetz Lindenmaier
307d21615a 8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: mdoerr
Backport-of: c33a8f52b6
2025-05-14 05:59:32 +04:00
Goetz Lindenmaier
fb78d9b082 8341978: Improve JButton/bug4490179.java
Use latch to synchronize actions in the test.
Verify mouseButton3Released does not trigger actionPerformed
while mouse button 1 is pressed.
Ensure mouse button 1 is released.
Verify releasing mouse button 1 triggers actionPerformed.

Backport-of: 8174cbd5cb
2025-05-14 05:59:31 +04:00
Goetz Lindenmaier
663a034164 8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Backport-of: b4ab290fd7
2025-05-14 05:59:30 +04:00
Goetz Lindenmaier
129e699ea3 8339902: Open source couple TextField related tests
Backport-of: fde8508379
2025-05-14 05:59:29 +04:00
Goetz Lindenmaier
861e04baaf 8339687: Rearrange reachabilityFence()s in jdk.test.lib.util.ForceGC
Backport-of: 51b85a1f69
2025-05-14 05:59:29 +04:00
Goetz Lindenmaier
a7f14cf04d 8336692: Redo fix for JDK-8284620
Backport-of: c5b7af73d0
2025-05-14 05:59:28 +04:00
Goetz Lindenmaier
affaa2a30c 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException
Backport-of: 2a2964759c
2025-05-14 05:59:27 +04:00
Goetz Lindenmaier
dd44862129 8333360: PrintNullString.java doesn't use float arguments
Backport-of: aaaa86b571
2025-05-14 05:59:25 +04:00
Goetz Lindenmaier
a9910fa5df 8328753: Open source few Undecorated Frame tests
8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference

Reviewed-by: mdoerr
Backport-of: db159149c1
2025-05-14 05:59:24 +04:00
Matthias Baesken
3d13b06824 8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Backport-of: ec310fe809
2025-05-14 05:59:23 +04:00
Goetz Lindenmaier
a0770d5eb6 8328403: Remove applet usage from JColorChooser tests Test6977726
Backport-of: 1e76e1fdfa
2025-05-14 05:59:22 +04:00
Goetz Lindenmaier
d0a58df344 8328227: Remove applet usage from JColorChooser tests Test4887836
Backport-of: cc5b9c63cb
2025-05-14 05:59:21 +04:00
Goetz Lindenmaier
f8eff8c77d 8328719: Convert java/awt/print/PageFormat/SetOrient.html applet test to main
Backport-of: 27ac39a2bc
2025-05-14 05:59:21 +04:00
Goetz Lindenmaier
680ff35236 8328380: Remove applet usage from JColorChooser tests Test6348456
Backport-of: 78d1b90468
2025-05-14 05:59:20 +04:00
Goetz Lindenmaier
90d4179d38 8328121: Remove applet usage from JColorChooser tests Test4759306
Backport-of: fab0edc9e6
2025-05-14 05:59:20 +04:00
Goetz Lindenmaier
f76675647a 8327859: Remove applet usage from JColorChooser tests Test4319113
Backport-of: 89fb0f837b
2025-05-14 05:59:19 +04:00
Richard Reingruber
532b4d9933 8328085: C2: Use after free in PhaseChaitin::Register_Allocate()
Backport-of: 93aa7e2fcf
2025-05-14 05:59:18 +04:00
SendaoYan
809007bd2d 8343129: Disable unstable check of ThreadsListHandle.sanity_vm ThreadList values
Backport-of: 59fcfae630
2025-05-14 05:59:17 +04:00
Goetz Lindenmaier
156fe4a527 8336498: [macos] [build]: install-file macro may run into permission denied error
8342858: Make target mac-jdk-bundle fails on chmod command

Reviewed-by: lucy
Backport-of: 715fa8f9fe
2025-05-14 05:59:16 +04:00
Matthias Baesken
fc1563b679 8341820: Check return value of hcreate_r
Backport-of: 7c0dbf8e9c
2025-05-14 05:59:15 +04:00
Goetz Lindenmaier
1a11472bb5 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Backport-of: 1b104b63a9
2025-05-14 05:59:15 +04:00
SendaoYan
84913f7850 8320916: jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"
Backport-of: 693847452f
2025-05-14 05:59:14 +04:00
Goetz Lindenmaier
b2c8993b47 8346108: [21u][BACKOUT] 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: mdoerr
2025-05-14 05:59:14 +04:00
Goetz Lindenmaier
a56d1cee49 8343100: Consolidate EmptyFolderTest and EmptyFolderPackageTest jpackage tests into single java file
Backport-of: 00fe9f7bdf
2025-05-14 05:59:13 +04:00
Goetz Lindenmaier
2ac48d5f44 8343102: Remove --compress from jlink command lines from jpackage tests
Backport-of: 9e451aa365
2025-05-14 05:59:12 +04:00
Goetz Lindenmaier
c6a29e7106 8333116: test/jdk/tools/jpackage/share/ServiceTest.java test fails
Backport-of: 91ab088d5e
2025-05-14 05:59:11 +04:00
Goetz Lindenmaier
82c45dccd5 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Backport-of: 1230aed61d
2025-05-14 05:59:09 +04:00
Chad Rakoczy
e41615344e 8341194: [REDO] Implement C2 VectorizedHashCode on AArch64
Reviewed-by: phh
Backport-of: 4fc6d4135e
2025-05-14 05:59:08 +04:00
Sonia Zaldana Calles
00671ea469 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Backport-of: e203df46fa
2025-05-14 05:59:07 +04:00
Boris Ulasevich
9d0e5c7378 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic
Reviewed-by: phh
Backport-of: df599dbb9b
2025-05-14 05:59:06 +04:00
Boris Ulasevich
c1224479ed 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: phh
Backport-of: 6a9a867d64
2025-05-14 05:59:06 +04:00
Martin Doerr
a49a646a1d 8343205: CompileBroker::possibly_add_compiler_threads excessively polls available memory
Reviewed-by: phh
Backport-of: 75801992a7
2025-05-14 05:59:05 +04:00
Martin Doerr
b7c4590b2e 8343343: Misc crash dump improvements on more platforms after JDK-8294160
8343149: Cleanup os::print_tos_pc on AIX

Reviewed-by: mbaesken
Backport-of: e33dc13567
2025-05-14 05:59:05 +04:00
Goetz Lindenmaier
5e121863ff 8293345: SunPKCS11 provider checks on PKCS11 Mechanism are problematic
Backport-of: 1b476f52ba
2025-05-14 05:59:04 +04:00
SendaoYan
65bed43d16 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Backport-of: 470701f0bb
2025-05-14 05:59:03 +04:00
Richard Reingruber
4b50682772 8341715: PPC64: ObjectMonitor::_owner should be reset unconditionally in nmethod unlocking
Reviewed-by: mdoerr
Backport-of: f9208fadde
2025-05-14 05:59:03 +04:00
Goetz Lindenmaier
b8c6ef4325 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Backport-of: e94e3bba39
2025-05-14 05:59:02 +04:00
Goetz Lindenmaier
fbb46b3586 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java
Backport-of: 1447967f53
2025-05-14 05:59:02 +04:00
Goetz Lindenmaier
5872ea6921 8337951: Test sun/security/validator/samedn.sh CertificateNotYetValidException: NotBefore validation
Backport-of: a505a1dda3
2025-05-14 05:59:01 +04:00
Goetz Lindenmaier
60e6d1531f 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Backport-of: b8e8e965e5
2025-05-14 05:59:00 +04:00
Goetz Lindenmaier
17a70c300f 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
Reviewed-by: lucy
Backport-of: ed6499446d
2025-05-14 05:58:59 +04:00
Goetz Lindenmaier
1f5a97659e 8335789: [TESTBUG] XparColor.java test fails with Error. Parse Exception: Invalid or unrecognized bugid: @
Backport-of: 3733fe3a20
2025-05-14 05:58:58 +04:00
Goetz Lindenmaier
17c3d1e718 8327857: Remove applet usage from JColorChooser tests Test4222508
Backport-of: 7c6fd337d0
2025-05-14 05:58:57 +04:00
Richard Reingruber
a1d5e0afe2 8341862: PPC64: C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: ed6809666b
2025-05-14 05:58:56 +04:00
Sonia Zaldana Calles
c6d6c48bb7 8339154: Cleanups and JUnit conversion of test/jdk/java/util/zip/Available.java
Backport-of: f927c1210e
2025-05-14 05:58:55 +04:00
Sonia Zaldana Calles
3aa63f62a7 8334490: Normalize string with locale invariant toLowerCase()
Backport-of: 265a0f5547
2025-05-14 05:58:54 +04:00
Sonia Zaldana Calles
14f6dd18a9 8336012: Fix usages of jtreg-reserved properties
Backport-of: e6c5aa7a6c
2025-05-14 05:58:53 +04:00
Sonia Zaldana Calles
637ace29f9 8331993: Add counting leading/trailing zero tests for Integer
Backport-of: 675fbe699e
2025-05-14 05:58:52 +04:00
Sonia Zaldana Calles
8e205af541 8327390: JitTester: Implement temporary folder functionality
Backport-of: 5aae80304c
2025-05-14 05:58:51 +04:00
Goetz Lindenmaier
4e1c22ce61 8345370: Bump update version for OpenJDK: jdk-21.0.7
Reviewed-by: mdoerr, sgehwolf
2025-05-14 05:58:51 +04:00
Vitaly Provodin
13ed606727 update exclude list on results of 21.0.6_b509.38 test runs 2025-05-14 05:58:00 +04:00
Vitaly Provodin
c243ffd0db update exclude list on results of 21.0.6 test runs
(cherry picked from commit b8a228f20a)
2025-05-01 02:15:36 +04:00
Martin Balao
f2fa4fc9d4 8339180: Enhanced Building of Processes: Follow-on Issue
Reviewed-by: yan
Backport-of: a71624a69ec5cc8600f2a3a53c23c75b43068830
(cherry picked from commit 190e06ac55)
2025-05-01 02:15:36 +04:00
Jayathirth D V
4f31b45973 8336564: Enhance mask blit functionality redux
Backport-of: 6e7f9a23a4daf461acbc4c5a5110e19b34ced22c
(cherry picked from commit ec06f84bb4)
2025-05-01 02:15:36 +04:00
Ravi Reddy
43a45f79da 8335428: Enhanced Building of Processes
Backport-of: 978dfdf9aa95da4196055cc288c5993d4dc6ef85
(cherry picked from commit d011a5df3c)
2025-05-01 02:15:36 +04:00
Christian Hagedorn
9561f3c8e6 8330045: Enhance array handling
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: thartmann, adinn, roland
Backport-of: 727c2612766dd1737bf59fb0d9ba1e58a7b8c32b
(cherry picked from commit 238b7c7623)
2025-05-01 02:15:36 +04:00
Alexey Bakhtin
f1ce167714 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files
Reviewed-by: henryjen, goetz, mbalao
Backport-of: 158b93d19a
(cherry picked from commit 68fd2270d5)
2025-05-01 02:15:36 +04:00
Francisco Ferrari Bihurriet
281b126a2d 8342905: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501 redux
Reviewed-by: sgehwolf, mbalao
Backport-of: 872ae13471
(cherry picked from commit 52c2f8f2a4)
2025-05-01 02:15:36 +04:00
Martin Balao
4c8b221e66 8344993: [21u] [REDO] Backport JDK-8327501 and JDK-8328366 to JDK 21
Reviewed-by: sgehwolf
(cherry picked from commit c7d0df931b)
2025-05-01 02:15:36 +04:00
Goetz Lindenmaier
81eb9775b0 8322809: SystemModulesMap::classNames and moduleNames arrays do not match the order
Reviewed-by: sgehwolf, mbaesken
Backport-of: f3be138eb8
(cherry picked from commit 954de9085e)
2025-05-01 02:15:36 +04:00
SendaoYan
8faf5c9113 8344628: Test TestEnableJVMCIProduct.java run with virtual thread intermittent fails
Backport-of: 3a625f38aa
(cherry picked from commit 9b31ee2277)
2025-05-01 02:15:36 +04:00
Saint Wesonga
abb6717af1 8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set
Backport-of: 7f189a59d9ad803aee72565bc46a817d3f46f2e5
(cherry picked from commit 43e92bb6cf)
2025-05-01 02:15:36 +04:00
Amit Kumar
241fd9c58a 8342409: [s390x] C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: 9201e9fcc2
(cherry picked from commit 0facab11d8)
2025-05-01 02:15:36 +04:00
Matthias Baesken
8745a6a469 8345055: [21u] ProblemList failing rtm tests on ppc platforms
Reviewed-by: mdoerr
(cherry picked from commit 3adba13435)
2025-05-01 02:15:36 +04:00
Matthias Baesken
b576f24d11 8325906: Problemlist vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id1 until JDK-8320865 is fixed
Backport-of: 2564f0f998
(cherry picked from commit 7624219a92)
2025-05-01 02:15:35 +04:00
KIRIYAMA Takuya
66e8aeb5f3 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Backport-of: 1b0281dc77
(cherry picked from commit 8cc801a3a7)
2025-05-01 02:15:35 +04:00
SendaoYan
f31fadc3cc 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Backport-of: 752e162955
(cherry picked from commit 378b566e70)
2025-05-01 02:15:35 +04:00
SendaoYan
243dd06669 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Backport-of: e3a5e265a7
(cherry picked from commit b1e7e0c507)
2025-05-01 02:15:35 +04:00
SendaoYan
6b9b0688ce 8316893: Compile without -fno-delete-null-pointer-checks
Backport-of: 287b243221
(cherry picked from commit 9fa691deb9)
2025-05-01 02:15:35 +04:00
Antonio Vieiro
562fb82a82 8340552: Harden TzdbZoneRulesCompiler against missing zone names
Backport-of: 1bc13a1c10
(cherry picked from commit f0175adb85)
2025-05-01 02:15:35 +04:00
SendaoYan
b0673746c5 8316907: Fix nonnull-compare warnings
Backport-of: 516cfb135f
(cherry picked from commit 98af0f3acf)
2025-05-01 02:15:35 +04:00
Amit Kumar
76d6409010 8343884: [s390x] Disallow OptoScheduling
Backport-of: 7540fa2147
(cherry picked from commit 0d8f6bb0d9)
2025-05-01 02:15:35 +04:00
Sophia Guo
2712c92368 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Backport-of: 9b0a5c5cd0
(cherry picked from commit 5c9b3f7316)
2025-05-01 02:15:35 +04:00
Goetz Lindenmaier
75ac64c834 8319678: Several tests from corelibs areas ignore VM flags
Backport-of: 2e3682a7f2
(cherry picked from commit 84ea6083d7)
2025-05-01 02:15:35 +04:00
Goetz Lindenmaier
fe23d67925 8339637: (tz) Update Timezone Data to 2024b
Reviewed-by: andrew
Backport-of: 73b2341c67
(cherry picked from commit 5d7b6b8141)
2025-05-01 02:15:35 +04:00
Goetz Lindenmaier
881a6d2647 8328619: sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
Backport-of: 2af0312c95
(cherry picked from commit da1731bcc2)
2025-05-01 02:15:35 +04:00
Matthias Baesken
e403735d4f 8341722: Fix some warnings as errors when building on Linux with toolchain clang
Reviewed-by: clanger
Backport-of: e7c5bf45f7
(cherry picked from commit c068471704)
2025-05-01 02:15:35 +04:00
Alexey Bakhtin
b0db4bb8a7 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Backport-of: 9b11bd7f4a
(cherry picked from commit e0e39797a6)
2025-05-01 02:15:34 +04:00
Matthias Baesken
2db73d2d4b 8338550: Do libubsan1 installation in test container only if requested
Backport-of: 7933e45cda
(cherry picked from commit 4f27eae84b)
2025-05-01 02:15:34 +04:00
Goetz Lindenmaier
3c2b1dae81 8325525: Create jtreg test case for JDK-8325203
8336315: tools/jpackage/windows/WinChildProcessTest.java Failed: Check is calculator process is alive

Reviewed-by: lucy
Backport-of: 81a0d1ba03
(cherry picked from commit 5a367743a9)
2025-05-01 02:15:34 +04:00
Matthias Baesken
cf3a66e675 8333144: docker tests do not work when ubsan is configured
Backport-of: fbe8a81d19
(cherry picked from commit 7e792b947e)
2025-05-01 02:15:34 +04:00
William Kemper
8de0279695 8336640: Shenandoah: Parallel worker use in parallel_heap_region_iterate
Reviewed-by: shade
Backport-of: e74edbaea9
(cherry picked from commit 10fbe2c4fe)
2025-05-01 02:15:34 +04:00
Satyen Subramaniam
467743603b 8321470: ThreadLocal.nextHashCode can be static final
Backport-of: c42535f111
(cherry picked from commit 0661caffe8)
2025-05-01 02:15:34 +04:00
Martin Doerr
5d336cc9e4 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Backport-of: 4c5bc5f2f0
(cherry picked from commit 4f2535e27b)
2025-05-01 02:15:34 +04:00
Sonia Zaldana Calles
9bf35737a5 8338389: [JFR] Long strings should be added to the string pool
Backport-of: d5c6158ced
(cherry picked from commit bbddd3e71c)
2025-05-01 02:15:34 +04:00
Matthias Baesken
5bb20ed1b4 8342823: Ubsan: ciEnv.cpp:1614:65: runtime error: member call on null pointer of type 'struct CompileTask'
Backport-of: beff8bfe2a
(cherry picked from commit 72f894b40a)
2025-05-01 02:15:34 +04:00
Matthias Baesken
db9fcb6eb5 8338449: ubsan: division by zero in sharedRuntimeTrans.cpp
Reviewed-by: mdoerr
Backport-of: 37cfaa8deb
(cherry picked from commit 51773f0e61)
2025-05-01 02:15:34 +04:00
Matthias Baesken
2f790d8cd8 8336911: ZGC: Division by zero in heuristics after JDK-8332717
Backport-of: 1cc32237ae
(cherry picked from commit db82e5bd1c)
2025-05-01 02:15:34 +04:00
Amit Kumar
c89d38f217 8344164: [s390x] ProblemList hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java
Backport-of: 3245f56e53
(cherry picked from commit 16226222fb)
2025-05-01 02:15:34 +04:00
Martin Doerr
12ccd507f8 8343724: [PPC64] Disallow OptoScheduling
Backport-of: f621f26cd1
(cherry picked from commit 6205a5a135)
2025-05-01 02:15:34 +04:00
Martin Doerr
65d8e2fead 8342607: Enhance register printing on x86_64 platforms
Backport-of: d8b3685d36
(cherry picked from commit 503b6ebadf)
2025-05-01 02:15:33 +04:00
Amit Kumar
80b654e56d 8343506: [s390x] multiple test failures with ubsan
Backport-of: f6edfe58d6
(cherry picked from commit d8506d916f)
2025-05-01 02:15:33 +04:00
Goetz Lindenmaier
746f015f0f 8342183: Update tests to use stronger algorithms and keys
Backport-of: c82ad845e1
(cherry picked from commit d40225528a)
2025-05-01 02:15:33 +04:00
Goetz Lindenmaier
52ae7445d0 8342188: Update tests to use stronger key parameters and certificates
Backport-of: ae82cc1ba1
(cherry picked from commit 7b6bb3036d)
2025-05-01 02:15:33 +04:00
SendaoYan
290b8e75ac 8336257: Additional tests in jmxremote/startstop to match on PID not app name
Backport-of: 687601ebca
(cherry picked from commit 340209fea6)
2025-05-01 02:15:33 +04:00
SendaoYan
958c421e83 8319673: Few security tests ignore VM flags
Reviewed-by: lucy
Backport-of: 430290066c
(cherry picked from commit 401706d5ea)
2025-05-01 02:15:33 +04:00
Matthias Baesken
7ef5fddc9d 8318442: java/net/httpclient/ManyRequests2.java fails intermittently on Linux
Backport-of: 06d8216a4e
(cherry picked from commit c04c47e9c6)
2025-05-01 02:15:33 +04:00
Matthias Baesken
aa776f14ef 8340801: Disable ubsan checks in some awt/2d coding
Backport-of: e7cf25ce0e
(cherry picked from commit 72e6fcb7a5)
2025-05-01 02:15:33 +04:00
SendaoYan
27b4cc83c1 8339892: Several security shell tests don't set TESTJAVAOPTS
Backport-of: 8a2a75e56d
(cherry picked from commit 78ff2783a2)
2025-05-01 02:15:33 +04:00
SendaoYan
e65a606562 8207908: JMXStatusTest.java fails assertion intermittently
Backport-of: b7d0eff5ad
(cherry picked from commit 90aaf660b1)
2025-05-01 02:15:33 +04:00
SendaoYan
1efb00f8c4 8337410: The makefiles should set problemlist and adjust timeout basing on the given VM flags
Backport-of: 5e021cbcc7
(cherry picked from commit 204ebc1f01)
2025-05-01 02:15:33 +04:00
Goetz Lindenmaier
c52b847c7b 8342181: Update tests to use stronger Key and Salt size
Backport-of: f340ab2d36
(cherry picked from commit 1282ad1c08)
2025-05-01 02:15:33 +04:00
Goetz Lindenmaier
a80e39bdf4 8341927: Replace hardcoded security providers with new test.provider.name system property
8343848: Fix typo of property name in TestOAEPPadding after 8341927

Reviewed-by: lucy
Backport-of: 9a9ac1d005
(cherry picked from commit 24bb6f6d36)
2025-05-01 02:15:33 +04:00
Goetz Lindenmaier
9c4a305c1e 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Backport-of: 6f4ddc2f6b
(cherry picked from commit 50fc086cc4)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
5955fdfded 8333235: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with C1
Backport-of: f73922b27d
(cherry picked from commit 7c3dfc3d32)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
8ca4c3c368 8332112: Update nsk.share.Log to don't print summary during VM shutdown hook
Backport-of: 61aff6db15
(cherry picked from commit bd4060f99d)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
58ee074945 8330278: Have SSLSocketTemplate.doClientSide use loopback address
Backport-of: 0eff492e41
(cherry picked from commit 436fe4b8b5)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
102b99337c 8240343: JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"
Backport-of: 28b2019559
(cherry picked from commit 2408ee5585)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
1e246de5e4 8327924: Simplify TrayIconScalingTest.java
Backport-of: 1496b5de90
(cherry picked from commit a7ad219fde)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
7eacb233c9 8325038: runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages
Backport-of: b42b8886aa
(cherry picked from commit 0580c0dd3e)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
8167035b60 8308429: jvmti/StopThread/stopthrd007 failed with "NoClassDefFoundError: Could not initialize class jdk.internal.misc.VirtualThreads"
Backport-of: 0e501f66df
(cherry picked from commit 5520337c11)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
2fd2c3303c 8320575: generic type information lost on mandated parameters of record's compact constructors
Reviewed-by: mbaesken
Backport-of: 7bf1989f59
(cherry picked from commit 528439ab12)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
2db086c571 8337810: ProblemList BasicDirectoryModel/LoaderThreadCount.java on Windows
Backport-of: f92c60e1a9
(cherry picked from commit 7108e2628f)
2025-05-01 02:15:32 +04:00
SendaoYan
c2cf682aa6 8342681: TestLoadBypassesNullCheck.java fails improperly specified VM option
Backport-of: 8bcd4920f1
(cherry picked from commit cbd457ee1b)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
313d9cba0a 8341235: Improve default instruction frame title in PassFailJFrame
Backport-of: 4ba170c403
(cherry picked from commit 1683bdc17b)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
aaf6a3de08 8340799: Add border inside instruction frame in PassFailJFrame
Backport-of: 520060f79a
(cherry picked from commit 8c6936d02f)
2025-05-01 02:15:32 +04:00
Goetz Lindenmaier
02476d3d87 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Backport-of: 47c10694c6
(cherry picked from commit c0d97eafb7)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
ad5e9c6365 8339803: Acknowledge case insensitive unambiguous keywords in tzdata files
Reviewed-by: mbaesken
Backport-of: 35a94b7697
(cherry picked from commit 6a7c0fe773)
2025-05-01 02:15:31 +04:00
SendaoYan
d879a42d7f 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Backport-of: 4ae5a3e39b
(cherry picked from commit fdebf8227b)
2025-05-01 02:15:31 +04:00
Matthias Baesken
07b91c1ce7 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Reviewed-by: mdoerr, lucy
Backport-of: b557594202
(cherry picked from commit 06e47f36e9)
2025-05-01 02:15:31 +04:00
Roland Westrelin
8e0aa4b4bc 8342496: C2/Shenandoah: SEGV in compiled code when running jcstress
Backport-of: 680dc5d896
(cherry picked from commit e3b4ff0048)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
818b2db382 8340214: C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
Backport-of: ff2f39f240
(cherry picked from commit ef03bf861d)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
f604c33c52 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Backport-of: cd61f97c2d
(cherry picked from commit 9b5942bb73)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
dd4f9a0dee 8340785: Update description of PassFailJFrame and samples
Backport-of: 5063494f5b
(cherry picked from commit b6b3b7e03b)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
2063ba684f 8317116: Provide layouts for multiple test UI in PassFailJFrame
Backport-of: 85f0442727
(cherry picked from commit 4ee68640a1)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
3c501564be 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts
Backport-of: 8feabc849b
(cherry picked from commit eabe9af638)
2025-05-01 02:15:31 +04:00
Goetz Lindenmaier
8fb57821d8 8333754: Add a Test against ECDSA and ECDH NIST Test vector
Reviewed-by: mbaesken
Backport-of: fad6644eab
(cherry picked from commit e90fba3925)
2025-05-01 02:15:31 +04:00
Xiaolong Peng
d06c9e737c 8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException
Backport-of: fe0ccdf5f8
(cherry picked from commit 509b2ef013)
2025-05-01 02:15:30 +04:00
Fei Yang
e8e1f05865 8342578: GHA: RISC-V: Bootstrap using Debian snapshot is still failing
Backport-of: 239d84a82a
(cherry picked from commit 670f6e30de)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
098a3ea580 8340466: Add description for PassFailJFrame constructors
Backport-of: 3762ec3978
(cherry picked from commit f4d2f3355c)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
25bb4d6d32 8339787: Add some additional diagnostic output to java/net/ipv6tests/UdpTest.java
Backport-of: cecb0b3d11
(cherry picked from commit ee7e0b24f5)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
db1a5563f5 8340899: Remove wildcard bound in PositionWindows.positionTestWindows
Backport-of: e2626db2f0
(cherry picked from commit d0841a1833)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
f750cdaa9d 8340684: Reading from an input stream backed by a closed ZipFile has no test coverage
Backport-of: 0e0b0b0d26
(cherry picked from commit f17469333e)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
303012c4f1 8340365: Position the first window of a window list
Backport-of: e97f0fe1b4
(cherry picked from commit af02477067)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
f69cc5acb4 8340461: Amend description for logArea
Backport-of: 833ff29983
(cherry picked from commit 43c9727bef)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
e37398a61a 8340308: PassFailJFrame: Make rows default to number of lines in instructions
Backport-of: d1d824008d
(cherry picked from commit 74e072d633)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
a8f619d387 8340306: Add border around instructions in PassFailJFrame
Backport-of: 0120d3eed5
(cherry picked from commit f77ab55e07)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
7409e98164 8338759: Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
Backport-of: 118c9ade1a
(cherry picked from commit b6bc3bf8ad)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
465251a016 8340210: Add positionTestUI() to PassFailJFrame.Builder
Backport-of: f0ae90f30c
(cherry picked from commit b95a02a731)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
2e79a1ed1c 8332901: Select{Current,New}ItemTest.java for Choice don't open popup on macOS
Move SelectCurrentItemTest.java to java/awt/Choice/SelectItem/.
Move SelectNewItemTest.java to java/awt/Choice/SelectItem/.
Use latches to control test flow instead of delays.
Encapsulate the common logic in SelectCurrentItemTest.
Provide overridable checkXXX() methods to modify conditions.
Provide an overridable method which defines where to click
in the choice popup to select an item.

Backport-of: ef96a7b014
(cherry picked from commit 1f451985dd)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
3481b66b20 8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with: Invalid ECDH ServerKeyExchange signature
Reviewed-by: lucy
Backport-of: c6f0a35e9e
(cherry picked from commit f8542a9b89)
2025-05-01 02:15:30 +04:00
Goetz Lindenmaier
5f06c729c4 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
Backport-of: 0ddf54e222
(cherry picked from commit ddab2c3553)
2025-05-01 02:15:29 +04:00
Goetz Lindenmaier
b7d08dbbb5 8325851: Hide PassFailJFrame.Builder constructor
Backport-of: 3b9255eb66
(cherry picked from commit 2cc5d4c7a6)
2025-05-01 02:15:29 +04:00
Todd V. Jonker
fbe449b8f1 8342765: [21u] RTM tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: phh
(cherry picked from commit c4230c1142)
2025-05-01 02:15:29 +04:00
t.ogata
2d2747194f 8337851: Some tests have name which confuse jtreg
Backport-of: e6698f51a1
(cherry picked from commit a55a3f1912)
2025-05-01 02:15:29 +04:00
Amit Kumar
e7ba1893a1 8342962: [s390x] TestOSRLotsOfLocals.java crashes
Backport-of: 54327bc4e3
(cherry picked from commit 0e5c732936)
2025-05-01 02:15:29 +04:00
Goetz Lindenmaier
7469ee5911 8283214: [macos] Screen magnifier does not show the magnified text for JComboBox
Backport-of: de51aa19d6
(cherry picked from commit 2b34cfc91e)
2025-05-01 02:15:29 +04:00
SendaoYan
1d84a2ac6d 8313374: --enable-ccache's CCACHE_BASEDIR breaks builds
Backport-of: 571c435e1a
(cherry picked from commit 17faf5977d)
2025-05-01 02:15:29 +04:00
Martin Doerr
b626c94a70 8342701: [PPC64] TestOSRLotsOfLocals.java crashes
Backport-of: 3bba0f3dc8
(cherry picked from commit f6129c08fe)
2025-05-01 02:15:29 +04:00
Richard Reingruber
e175db8491 8334560: [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
Backport-of: 13dce296fc
(cherry picked from commit 7ccf3ca81c)
2025-05-01 02:15:29 +04:00
t.ogata
97a3d4b915 8328379: Convert URLDragTest.html applet test to main
Backport-of: fbeac98c84
(cherry picked from commit ebd57b44a7)
2025-05-01 02:15:29 +04:00
Steven Loomis
12e0e8850c 8195675: Call to insertText with single character from custom Input Method ignored
Backport-of: b8f2ec9091
(cherry picked from commit 60ef6ede11)
2025-05-01 02:15:29 +04:00
Goetz Lindenmaier
5b4c6368c7 8325506: Ensure randomness is only read from provided SecureRandom object
Reviewed-by: lucy
Backport-of: b87d9cf2c9
(cherry picked from commit 2ceb6433c4)
2025-04-30 03:59:14 +04:00
Goetz Lindenmaier
8294847b88 8320673: PageFormat/CustomPaper.java has no Pass/Fail buttons; multiple instructions
Backport-of: 0ff2deab5d
(cherry picked from commit 8e8c768f6c)
2025-04-30 03:59:13 +04:00
Goetz Lindenmaier
765a29197c 8322754: click JComboBox when dialog about to close causes IllegalComponentStateException
Backport-of: e44276989f
(cherry picked from commit c1dea4f163)
2025-04-30 03:59:12 +04:00
Goetz Lindenmaier
078f7b6387 8225220: When the Tab Policy is checked,the scroll button direction displayed incorrectly.
Backport-of: ed5b8c3a7b
(cherry picked from commit fc945c5117)
2025-04-30 03:59:12 +04:00
Jiangli Zhou
e5a1ce085e 8316428: G1: Nmethod count statistics only count last code root set iterated
Backport-of: fab372d3a2
(cherry picked from commit e3c150bd07)
2025-04-30 03:59:11 +04:00
Satyen Subramaniam
aacd752193 8333824: Unused ClassValue in VarHandles
Reviewed-by: shade
Backport-of: 7b43a8cd7c
(cherry picked from commit 83bf000a52)
2025-04-30 03:59:11 +04:00
t.ogata
90807ff905 8328242: Add a log area to the PassFailJFrame
Backport-of: 9bc1b065db
(cherry picked from commit 206a810f58)
2025-04-30 03:59:11 +04:00
Satyen Subramaniam
7e92686832 8323562: SaslInputStream.read() may return wrong value
Backport-of: 5cf7947ccd
(cherry picked from commit b95d3b4e7d)
2025-04-30 03:59:11 +04:00
Kerem Kat
f9a1b9f6bc 8311656: Shenandoah: Unused ShenandoahSATBAndRemarkThreadsClosure::_claim_token
Backport-of: 0b0e064e36
(cherry picked from commit ba1536e0bf)
2025-04-30 03:59:10 +04:00
Goetz Lindenmaier
071d613a07 8328402: Implement pausing functionality for the PassFailJFrame
Backport-of: 581b1e29ae
(cherry picked from commit bebab92f85)
2025-04-30 03:59:10 +04:00
Goetz Lindenmaier
19e1c6d091 8342669: [21u] Fix TestArrayAllocatorMallocLimit after backport of JDK-8315097
Reviewed-by: lucy
(cherry picked from commit b2db708812)
2025-04-30 03:59:10 +04:00
SendaoYan
6ba05adb4f 8341997: Tests create files in src tree instead of scratch dir
Backport-of: caa8f35ed4
(cherry picked from commit 33e9b5afeb)
2025-04-30 03:59:09 +04:00
Todd V. Jonker
1903f6c089 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option
Backport-of: 4cd8c75a55
(cherry picked from commit 55bcf1b9ca)
2025-04-30 03:59:09 +04:00
Satyen Subramaniam
45bd5e2cc7 8325610: CTW: Add StressIncrementalInlining to stress options
Reviewed-by: ysr
Backport-of: 5bf859c8e9
(cherry picked from commit d3d4186b4f)
2025-04-30 03:59:09 +04:00
Goetz Lindenmaier
cd14546eda 8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java
Backport-of: 41242cbe5d
(cherry picked from commit 4d4aaff07c)
2025-04-30 03:59:08 +04:00
SendaoYan
030de84576 8341806: Gcc version detection failure on Alinux3
Backport-of: c49ef0421f
(cherry picked from commit f282627031)
2025-04-30 03:59:08 +04:00
SendaoYan
77d89137e9 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code
Backport-of: 0be27bf0c5
(cherry picked from commit d689b3e902)
2025-04-30 03:59:08 +04:00
Boris Ulasevich
5978361a3f 8320892: AArch64: Restore FPU control state after JNI
Backport-of: 50f3124055
(cherry picked from commit 41e62297b3)
2025-04-30 03:59:07 +04:00
Satyen Subramaniam
669cbff5c7 8332866: Crash in ImageIO JPEG decoding when MEM_STATS in enabled
Backport-of: ca30726352
(cherry picked from commit 297cee6f74)
2025-04-30 03:59:07 +04:00
Todd V. Jonker
9fd810af98 8341261: Tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: phh
Backport-of: 1bdd79e7b2
(cherry picked from commit 5f5c927890)
2025-04-30 03:59:07 +04:00
Gui Cao
b6becc99fc 8342014: RISC-V: ZStoreBarrierStubC2 clobbers rflags
Reviewed-by: fyang
Backport-of: a601cd2e10
(cherry picked from commit 007b6633b0)
2025-04-30 03:59:06 +04:00
Matthias Baesken
dcd01f5ce9 8340109: Ubsan: ciEnv.cpp:1660:65: runtime error: member call on null pointer of type 'struct CompileTask'
Backport-of: efe3573b9b
(cherry picked from commit 25729b8d2c)
2025-04-30 03:59:06 +04:00
Boris Ulasevich
e81065d581 8320682: [AArch64] C1 compilation fails with "Field too big for insn"
Reviewed-by: phh
Backport-of: 69014cd55b
(cherry picked from commit 19b5c852a3)
2025-04-30 03:59:05 +04:00
Matthias Baesken
3236864bd2 8341024: [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
Backport-of: 1b46fea59c
(cherry picked from commit 7a532238c1)
2025-04-30 03:59:05 +04:00
Gui Cao
9838a97ab3 8320397: RISC-V: Avoid passing t0 as temp register to MacroAssembler:: cmpxchg_obj_header/cmpxchgptr
Backport-of: 0be0775a76
(cherry picked from commit 2f27aeccdf)
2025-04-30 03:59:05 +04:00
Martin Doerr
9d58896f1b 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method
Reviewed-by: mbaesken, lucy
Backport-of: 9a25f822fb
(cherry picked from commit 3877347eb2)
2025-04-30 03:59:04 +04:00
Gui Cao
4896361f92 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter
Reviewed-by: fjiang, fyang
Backport-of: a4ca6267e1
(cherry picked from commit 274364e0d5)
2025-04-30 03:59:04 +04:00
Goetz Lindenmaier
1875de3b9a 8342063: [21u][aix] Backport introduced redundant line in ProblemList
Reviewed-by: lucy
(cherry picked from commit e63e595d2b)
2025-04-30 03:59:03 +04:00
Boris Ulasevich
b816a2a35a 8319973: AArch64: Save and restore FPCR in the call stub
Reviewed-by: aph
(cherry picked from commit a3d31647b0)
2025-04-30 03:59:03 +04:00
Goetz Lindenmaier
640d74ba20 8340632: ProblemList java/nio/channels/DatagramChannel/ for Macos
Reviewed-by: lucy
(cherry picked from commit 60d450430a)
2025-04-30 03:59:03 +04:00
Goetz Lindenmaier
b6c1bf48ed 8323688: C2: Fix UB of jlong overflow in PhaseIdealLoop::is_counted_loop()
Backport-of: 1dd60b62e3
(cherry picked from commit 435467b7fa)
2025-04-30 03:59:02 +04:00
Goetz Lindenmaier
264ed7dda6 8340008: KeyEvent/KeyTyped/Numpad1KeyTyped.java has 15 seconds timeout
Backport-of: 3c22d83c0f
(cherry picked from commit 34f2381dc0)
2025-04-30 03:59:01 +04:00
Goetz Lindenmaier
05f6cb7a10 8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile
Backport-of: 021c2c36ac
(cherry picked from commit b17fdaef47)
2025-04-30 03:59:01 +04:00
Goetz Lindenmaier
c4e3fdaf7a 8321543: Update NSS to version 3.96
Backport-of: 6cda4c5985
(cherry picked from commit cd1fe75bab)
2025-04-30 03:59:01 +04:00
Goetz Lindenmaier
008b628e5a 8321299: runtime/logging/ClassLoadUnloadTest.java doesn't reliably trigger class unloading
Backport-of: 5cae7d20ad
(cherry picked from commit 74ab4a0c08)
2025-04-30 03:59:00 +04:00
Aleksey Shipilev
a2beb329a2 8337876: [IR Framework] Add support for IR tests with @Stable
8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build

Reviewed-by: eastigeevich, phh
Backport-of: c01f53ac2d
(cherry picked from commit 8e4f3c4694)
2025-04-30 03:58:59 +04:00
Gui Cao
972f44d892 8340590: RISC-V: C2: Small improvement to vector gather load and scatter store
Backport-of: 88801caef6
(cherry picked from commit c22ad16867)
2025-04-30 03:58:58 +04:00
Amit Kumar
529cc62594 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType'
Backport-of: 28de44da71
(cherry picked from commit 11f7306ad4)
2025-04-30 03:58:57 +04:00
SendaoYan
b71a8c1af9 8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code
Backport-of: 8e9f46a0f1
(cherry picked from commit 092f33d4c4)
2025-04-30 03:58:57 +04:00
Goetz Lindenmaier
0bd8211dc8 8313878: Exclude two compiler/rtm/locking tests on ppc64le
Backport-of: 6faea22b52
(cherry picked from commit 854a75e2ef)
2025-04-30 03:58:56 +04:00
Goetz Lindenmaier
69c09bf8a5 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program
Backport-of: 87bd6caca0
(cherry picked from commit f68339626a)
2025-04-30 03:58:55 +04:00
Goetz Lindenmaier
0cb9844bb4 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Reviewed-by: lucy
Backport-of: 9bb675f89d
(cherry picked from commit 9ccb4b683b)
2025-04-30 03:58:55 +04:00
Matthias Baesken
4c87c1ab78 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Backport-of: 4ff72dc57e
(cherry picked from commit 55f3efef74)
2025-04-30 03:58:54 +04:00
Matthias Baesken
d77be023f9 8339648: ZGC: Division by zero in rule_major_allocation_rate
Backport-of: 80db6e71b0
(cherry picked from commit f349f1384a)
2025-04-30 03:58:54 +04:00
Matthias Baesken
72e11f39c5 8340923: The class LogSelection copies uninitialized memory
Backport-of: 10da2c21a1
(cherry picked from commit 435f14c2a5)
2025-04-30 03:58:53 +04:00
Goetz Lindenmaier
a1064dba78 8340007: Refactor KeyEvent/FunctionKeyTest.java
Backport-of: 2faf8b8d58
(cherry picked from commit dcf1bac0fa)
2025-04-30 03:58:53 +04:00
Goetz Lindenmaier
8c92a5da75 8338380: Update TLSCommon/interop/AbstractServer to specify an interface to listen for connections
Backport-of: 0b5c8870e5
(cherry picked from commit d83412bef5)
2025-04-30 03:58:53 +04:00
Goetz Lindenmaier
9921db6d0a 8339560: Unaddressed comments during code review of JDK-8337664
Reviewed-by: mbaesken
Backport-of: 95d3e9d199
(cherry picked from commit f75f6c5cc0)
2025-04-30 03:58:52 +04:00
George Adams
5e0168f761 8340804: doc/building.md update Xcode instructions to note that full install is required
Reviewed-by: phh
Backport-of: b639661e79
(cherry picked from commit 9847c20426)
2025-04-30 03:58:52 +04:00
Aleksey Shipilev
bbba1d9ab8 8340418: GHA: MacOS AArch64 bundles can be removed prematurely
Backport-of: 9d76c7c60f
(cherry picked from commit e6e42f158d)
2025-04-30 03:58:52 +04:00
Matthias Baesken
4ee35a5ccd 8340387: Update OS detection code to recognize Windows Server 2025
Backport-of: 34cddfbedd
(cherry picked from commit 1dbff5ec6d)
2025-04-30 03:58:51 +04:00
Martin Doerr
141162b85a 8340657: [PPC64] SA determines wrong unextendedSP
Backport-of: 49d15edd31
(cherry picked from commit b8d0a421dc)
2025-04-30 03:58:51 +04:00
Goetz Lindenmaier
bae7339068 8338924: C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5
8335664: Parsing jsr broken: assert(bci>= 0 && bci < c->method()->code_size()) failed: index out of bounds

Backport-of: caf28d4ac5
(cherry picked from commit faa3b4a2f3)
2025-04-30 03:58:50 +04:00
Goetz Lindenmaier
a8dfeb6eb9 8324841: PKCS11 tests still skip execution
Backport-of: 9d4a4bd2c2
(cherry picked from commit 8797b1dd56)
2025-04-30 03:58:50 +04:00
Ben Taylor
d2250ae317 8321940: Improve CDSHeapVerifier in handling of interned strings
Backport-of: 4f3de09672
(cherry picked from commit 31c404d02c)
2025-04-30 03:58:49 +04:00
Liang Mao
e9d5b00316 8339725: Concurrent GC crashed due to GetMethodDeclaringClass
Reviewed-by: shade
Backport-of: c91fa278fe
(cherry picked from commit 93519265e3)
2025-04-30 03:58:49 +04:00
George Adams
9ce3e7a7e0 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver
Backport-of: 3c97d2437d
(cherry picked from commit 0b2f629f4b)
2025-04-30 03:58:48 +04:00
George Adams
432cc24db9 8340815: Add SECURITY.md file
Backport-of: 0474f020bf
(cherry picked from commit 3ae31e00a9)
2025-04-30 03:58:48 +04:00
Saint Wesonga
d190a22821 6942632: Hotspot should be able to use more than 64 logical processors on Windows
Backport-of: f15d423fb5
(cherry picked from commit 920afb8aa8)
2025-04-30 03:58:47 +04:00
Goetz Lindenmaier
e98d5fb0c2 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
Backport-of: c9bee173d6
(cherry picked from commit ae011c4eb3)
2025-04-30 03:58:47 +04:00
Goetz Lindenmaier
876d0d4e95 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Backport-of: 21e86d10a7
(cherry picked from commit 91c74e2d51)
2025-04-30 03:58:46 +04:00
Andrew Lu
c3b4419283 8320665: update jdk_core at open/test/jdk/TEST.groups
Backport-of: da7cf258bb
(cherry picked from commit b9d9f0d5dd)
2025-04-30 03:58:46 +04:00
Martin Doerr
7035389c52 8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity
Backport-of: a6754f31cf
(cherry picked from commit f6c22952cb)
2025-04-30 03:58:46 +04:00
Matthias Baesken
cf59433a29 8339731: java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings
Backport-of: ac3f92b411
(cherry picked from commit 11288cc86c)
2025-04-30 03:58:46 +04:00
Robbin Ehn
6aa0b9f036 8339741: RISC-V: C ABI breakage for integer on stack
Backport-of: bfe7f9205b
(cherry picked from commit f32eff36e9)
2025-04-30 03:58:45 +04:00
Goetz Lindenmaier
5ed6684f1b 8309218: java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC
Backport-of: b86c3b7a68
(cherry picked from commit a7930d5322)
2025-04-30 03:58:44 +04:00
Goetz Lindenmaier
9b63859052 8339384: Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
Backport-of: 2305d18e8d
(cherry picked from commit f967194702)
2025-04-30 03:58:43 +04:00
Goetz Lindenmaier
80cd1658af 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test
Backport-of: a5c2d7b305
(cherry picked from commit 5f8196d250)
2025-04-30 03:58:43 +04:00
Goetz Lindenmaier
df511ffdf3 8336240: Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException
Backport-of: 034297a6bd
(cherry picked from commit 38b9a50088)
2025-04-30 03:58:42 +04:00
Goetz Lindenmaier
8bff760f09 8335530: Java file extension missing in AuthenticatorTest
Backport-of: a537e87d2d
(cherry picked from commit 6f10aba4be)
2025-04-30 03:58:41 +04:00
Goetz Lindenmaier
bd27e32c16 8325399: Add tests for virtual threads doing Selector operations
Backport-of: 43089bf006
(cherry picked from commit 29d109d961)
2025-04-30 03:58:41 +04:00
Goetz Lindenmaier
c7f713c1f5 8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.
Backport-of: 2b4a4b7bd8
(cherry picked from commit 16b08b1e7c)
2025-04-30 03:58:40 +04:00
Amit Kumar
309197efbc 8339416: [s390x] Provide implementation for resolve_global_jobject
Backport-of: ac58b6102a
(cherry picked from commit 32888a7676)
2025-04-30 03:58:40 +04:00
Goetz Lindenmaier
3fc751149f 8332777: Update JCStress test suite
Backport-of: 11e926cf50
(cherry picked from commit ff4d0a25f6)
2025-04-30 03:58:39 +04:00
Goetz Lindenmaier
7f5ec3bd65 8326100: DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut
Backport-of: 9451677daa
(cherry picked from commit 2ea7be11b7)
2025-04-30 03:58:38 +04:00
Goetz Lindenmaier
90d3831013 8318105: [jmh] the test java.security.HSS failed with 2 active threads
Backport-of: 38c01971ff
(cherry picked from commit 61510603dd)
2025-04-30 03:58:38 +04:00
Goetz Lindenmaier
a3bb08df85 8324861: Exceptions::wrap_dynamic_exception() doesn't have ResourceMark
Backport-of: 7d1a48807a
(cherry picked from commit ae4fd77a78)
2025-04-30 03:58:37 +04:00
Goetz Lindenmaier
9c600dcf45 8321616: Retire binary test vectors in test/jdk/java/util/zip/ZipFile
8322830: Add test case for ZipFile opening a ZIP with no entries

Backport-of: 26de9e247a
(cherry picked from commit f01410276c)
2025-04-30 03:58:36 +04:00
Andrew Lu
7a4a365b0d 8320586: update manual test/jdk/TEST.groups
Backport-of: 99b9cb0a2e
(cherry picked from commit e8074d078d)
2025-04-30 03:58:36 +04:00
Todd V. Jonker
d4db30616f 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
Backport-of: 51be857f3c
(cherry picked from commit 4c1d697834)
2025-04-30 03:58:36 +04:00
Matthias Baesken
11e2454c1e 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Backport-of: cb5c60b530
(cherry picked from commit bb1a635081)
2025-04-30 03:58:35 +04:00
Goetz Lindenmaier
8c859d0070 8335267: [XWayland] move screencast tokens from .awt to .java folder
Backport-of: 088871ce36
(cherry picked from commit 41f9e1ce3b)
2025-04-30 03:58:35 +04:00
Goetz Lindenmaier
b29df3dd1d 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
8335344: test/jdk/sun/security/tools/keytool/NssTest.java fails to compile

Backport-of: b2162ba41b
(cherry picked from commit 49aa0130cf)
2025-04-30 03:58:34 +04:00
Goetz Lindenmaier
abf3cf2856 8330621: Make 5 compiler tests use ProcessTools.executeProcess
Backport-of: 5394f57f00
(cherry picked from commit d38c1d6c0d)
2025-04-30 03:58:34 +04:00
Goetz Lindenmaier
b2cabc283d 8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
Backport-of: 1b621f5527
(cherry picked from commit 7dd09c6f10)
2025-04-30 03:58:33 +04:00
Goetz Lindenmaier
3ddc348b79 8339644: Improve parsing of Day/Month in tzdata rules
Backport-of: 86a2f9c7dc
(cherry picked from commit 579ce1b0ce)
2025-04-30 03:58:33 +04:00
Andrew Lu
8e70fb56dc 8311301: MethodExitTest may fail with stack buffer overrun
Backport-of: 3d813ae39f
(cherry picked from commit 72ac6c24c0)
2025-04-30 03:58:33 +04:00
Andrew Lu
54916033bc 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
Backport-of: 2b5aec2aad
(cherry picked from commit a6524be3a1)
2025-04-30 03:58:32 +04:00
Matthias Baesken
379d81d22b 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
Backport-of: f080b4bb8a
(cherry picked from commit 1ce30fbdc2)
2025-04-30 03:58:32 +04:00
Dmitry Chuyko
b2f0f32cd1 8320192: SHAKE256 does not work correctly if n >= 137
Reviewed-by: phh
Backport-of: fcb4df26f1
(cherry picked from commit e9d223ad04)
2025-04-30 03:58:32 +04:00
Alexey Bakhtin
bacba4968d 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Reviewed-by: sgehwolf, mbalao
(cherry picked from commit 53a1f4527d)
2025-04-30 03:58:31 +04:00
Sonia Zaldana Calles
e32573e185 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Backport-of: 330e520c1d
(cherry picked from commit 29d10d37bf)
2025-04-30 03:58:31 +04:00
Andrew Lu
41d3a882b4 8337320: Update ProblemList.txt with tests known to fail on XWayland
Reviewed-by: goetz
Backport-of: ddbd7a78f1
(cherry picked from commit 6e975038fe)
2025-04-30 03:58:31 +04:00
Goetz Lindenmaier
6392c4f7ec 8335449: runtime/cds/DeterministicDump.java fails with File content different at byte ...
Backport-of: 284671a1e4
(cherry picked from commit 851eb2d800)
2025-04-30 03:58:30 +04:00
Goetz Lindenmaier
d3c2e50850 8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization
Backport-of: b3e29db144
(cherry picked from commit bc9f48a6e6)
2025-04-30 03:58:30 +04:00
Goetz Lindenmaier
e78f760925 8332724: x86 MacroAssembler may over-align code
Backport-of: 08d51003d1
(cherry picked from commit 3e23c41656)
2025-04-30 03:58:29 +04:00
Goetz Lindenmaier
0fc0b6e917 8332340: Add JavacBench as a test case for CDS
Backport-of: 7fd9d6c760
(cherry picked from commit b0276d3b16)
2025-04-30 03:58:29 +04:00
Goetz Lindenmaier
6b3a7412cd 8321550: Update several runtime/cds tests to use vm flags or mark as flagless
8329533: TestCDSVMCrash fails on libgraal
8329353: ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived

Reviewed-by: mbaesken
Backport-of: d1b51e39c9
(cherry picked from commit afbe683118)
2025-04-30 03:58:28 +04:00
Goetz Lindenmaier
d14ca7c35b 8326898: NSK tests should listen on loopback addresses only
Backport-of: 2482a505e5
(cherry picked from commit 17a80c4b86)
2025-04-30 03:58:27 +04:00
Goetz Lindenmaier
b3e34cfa4f 8328303: 3 JDI tests timed out with UT enabled
Backport-of: bc73963974
(cherry picked from commit ee24aeb402)
2025-04-30 03:58:27 +04:00
Goetz Lindenmaier
942df24237 8296787: Unify debug printing format of X.509 cert serial numbers
Backport-of: c328f9589d
(cherry picked from commit 7713fa40b9)
2025-04-30 03:58:26 +04:00
Goetz Lindenmaier
6691562a9b 8328665: serviceability/jvmti/vthread/PopFrameTest failed with a timeout
Backport-of: 70c8ff1c9a
(cherry picked from commit af3573eeb6)
2025-04-30 03:58:26 +04:00
Sergey Bylokhov
3e1d16d2fd 8312518: [macos13] setFullScreenWindow() shows black screen on macOS 13 & above
Backport-of: 999e556be4
(cherry picked from commit eb5c8d4350)
2025-04-30 03:58:25 +04:00
Fei Yang
4a8fec1543 8339548: GHA: RISC-V: Use Debian snapshot archive for bootstrap
Backport-of: 9e0ccb8bbd
(cherry picked from commit 129240f21c)
2025-04-30 03:58:24 +04:00
Boris Ulasevich
39549bac0d 8331393: AArch64: u32 _partial_subtype_ctr loaded/stored as 64
Backport-of: f215899a08
(cherry picked from commit e462a7d8bb)
2025-04-30 03:58:24 +04:00
Zdenek Zambersky
98e6b79154 8338402: GHA: some of bundles may not get removed
Backport-of: d8e4d3f2d6
(cherry picked from commit 4bddb72100)
2025-04-30 03:58:23 +04:00
SendaoYan
01682f179d 8338748: [17u,21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813
Reviewed-by: sgehwolf
(cherry picked from commit 0f1effe4d2)
2025-04-30 03:58:23 +04:00
Goetz Lindenmaier
e242c3e8b9 8331864: Update Public Suffix List to 1cbd6e7
Backport-of: b91083341a
(cherry picked from commit 8eb71b87b1)
2025-04-30 03:58:22 +04:00
Andrew Lu
6cb5d8159f 8328723: IP Address error when client enables HTTPS endpoint check on server socket
Backport-of: 1b9270ac8a
(cherry picked from commit e113ec5730)
2025-04-30 03:58:22 +04:00
Andrew Lu
9bfef94fd2 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
Backport-of: 69baa7d285
(cherry picked from commit 00448e5900)
2025-04-30 03:58:21 +04:00
Andrew Lu
b39c57b752 8326611: Clean up vmTestbase/nsk/stress/stack tests
Backport-of: 972e81d1ad
(cherry picked from commit 460a6b7fbc)
2025-04-30 03:58:18 +04:00
Jiawei Tang
c8334a96e9 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
Backport-of: 55c509708e
(cherry picked from commit d58215e759)
2025-04-30 03:58:17 +04:00
Boris Ulasevich
4289650236 8317575: AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result
Backport-of: 387504c9e4
(cherry picked from commit 6312b2efae)
2025-04-30 03:58:17 +04:00
Gui Cao
940936e56c 8339248: RISC-V: Remove li64 macro assembler routine and related code
Reviewed-by: fyang
Backport-of: 392bdd5734
(cherry picked from commit 671778afb0)
2025-04-30 03:58:17 +04:00
Matthias Baesken
9f1e200732 8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
Backport-of: 692f5cbdb9
(cherry picked from commit cc8b1066ef)
2025-04-30 03:58:16 +04:00
Fei Yang
c610d9cfd4 8337780: RISC-V: C2: Change C calling convention for sp to NS
Backport-of: 53db937dd0
(cherry picked from commit e3740d7986)
2025-04-30 03:58:16 +04:00
Matthias Baesken
686a290b21 8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Backport-of: 00aac4097a
(cherry picked from commit d788632dff)
2025-04-30 03:58:16 +04:00
Matthias Baesken
30b2e68ed5 8334567: [test] runtime/os/TestTracePageSizes move ppc handling
Backport-of: 6a5cb0b2c4
(cherry picked from commit 10087ffafe)
2025-04-30 03:58:15 +04:00
Daniel Hu
82abb699f9 8319970: AArch64: enable tests compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64
8319960: RISC-V: compiler/intrinsics/TestInteger/LongUnsignedDivMod.java failed with "counts: Graph contains wrong number of nodes"

Reviewed-by: phh
Backport-of: c80e691adf
(cherry picked from commit a2d96ac172)
2025-04-30 03:58:15 +04:00
SendaoYan
cf3578d4f0 8336854: CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
Backport-of: 39884205fb
(cherry picked from commit d364404b63)
2025-04-30 03:58:15 +04:00
Matthias Baesken
230a0c8b44 8316895: SeenThread::print_action_queue called on a null pointer
Backport-of: fd52be2a3c
(cherry picked from commit 75693fc4ad)
2025-04-30 03:58:14 +04:00
Matthias Baesken
0ba8e19f11 8338110: Exclude Fingerprinter::do_type from ubsan checks
Backport-of: 6a39014795
(cherry picked from commit 60edd5c4b8)
2025-04-30 03:58:14 +04:00
Goetz Lindenmaier
317ac4f55f 8339080: Bump update version for OpenJDK: jdk-21.0.6
Reviewed-by: sgehwolf
(cherry picked from commit 9dd1d43357)
2025-04-30 03:58:13 +04:00
Vitaly Provodin
90908bd870 update exclude list on results of 21.0.5_b509.30 test runs 2024-11-25 08:09:45 +04:00
bourgesl
84a4edc1e2 JBR-5497: revert JRSUIController changes (performOnMainThreadWaiting:YES) to avoid UI freeze but appkit violations must be fixed in follow-up fix 2024-11-23 15:51:56 +04:00
Vitaly Provodin
4940381202 update exclude list on results of 21.0.5_b509.29 test runs 2024-11-18 02:35:00 +04:00
Vitaly Provodin
58e8084ae5 update exclude list on results of 21.0.5_b509.28 test runs 2024-11-15 18:34:31 +04:00
Vitaly Provodin
2293b31855 JBR-7860 revert OpenJDK changes causing the issue with links in Quick Documentation popup
Revert "8326734: text-decoration applied to <span> lost when mixed with <u> or <s>"

This reverts commit 256f0c96c1.

Revert "8335967: "text-decoration: none" does not work with "A" HTML tags"

This reverts commit 734415d6bd.
2024-11-15 15:05:22 +04:00
Maxim Kartashev
d27c02d04e JBR-7835 macOS: raised NOFILE ulimit breaks interaction with gdb
(cherry picked from commit 41fbb57244f074a7ad044570a8417683cceae41b)
(cherry picked from commit c6485560ad)
2024-11-15 15:00:46 +04:00
Vitaly Provodin
9ecc2316d1 Revert "JBR-7438 tune updateCursorImmediately method"
This reverts commit 07ac32e2ad.
2024-11-15 15:00:35 +04:00
Dmitrii Morskii
6a84afc707 JBR-7302 added additional emptiness check in getGlyphOutlineBounds 2024-11-15 15:00:03 +04:00
Vitaly Provodin
78736c8554 update exclude list on results of 21.0.5_b631.8 test runs 2024-11-15 08:24:17 +04:00
Vitaly Provodin
5496a19863 update exclude list on results of 21.0.5 test runs 2024-11-15 08:19:25 +04:00
Vitaly Provodin
cee0d79a41 JBR-5989 Wayland: add tests introduced in 21.0.5 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance" 2024-11-15 08:19:20 +04:00
Christoph Langer
131488f7be 8341989: [21u] Back out JDK-8327501 and JDK-8328366
Reviewed-by: goetz
2024-11-15 08:12:27 +04:00
Francisco Ferrari Bihurriet
f89a1be1c1 8332644: Improve graph optimizations
Reviewed-by: mbalao, andrew
Backport-of: 7c16d649a8118d2e7ee77cedba87e620c83294b4
2024-11-15 08:12:26 +04:00
Alexei Voitylov
b70d2ffcb3 8331446: Improve deserialization support
Reviewed-by: yan, mbalao, andrew
Backport-of: 8e4a392832f83e16d521024505b52c96d0a993f2
2024-11-15 08:12:26 +04:00
Alexey Bakhtin
a5c9072628 8328726: Better Kerberos support
Reviewed-by: mbalao
Backport-of: 7325899a11f17bf4516d39495a12796385e459ed
2024-11-15 08:12:25 +04:00
Martin Balao
d28adc18da 8335713: Enhance vectorization analysis
Reviewed-by: roland
Backport-of: 3c05ad2290936ec9abc3f271cb6bf89e18c3eea7
2024-11-15 08:12:25 +04:00
Martin Balao
357a67cb3c 8328544: Improve handling of vectorization
Reviewed-by: roland, yan
Backport-of: b5174c9159fbffdf335ee6835267ba0e674cf432
2024-11-15 08:12:24 +04:00
Alexey Bakhtin
c6fe509b7f 8328286: Enhance HTTP client
Reviewed-by: mbalao
Backport-of: cf8dc79f392c8ec3414d8b36803f026852c4e386
2024-11-15 08:12:24 +04:00
Alexei Voitylov
84969b717c 8311208: Improve CDS Support
Reviewed-by: mbalao
Backport-of: 2c60805bc380945a8266112c7b5aee0498cb7d5b
2024-11-15 08:12:23 +04:00
Alexey Bakhtin
3683e58363 8307383: Enhance DTLS connections
Reviewed-by: mbaesken, andrew
Backport-of: 362dbbaa952b3d4a5270c6bfae879a12e9bdf4d1
2024-11-15 08:12:23 +04:00
Goetz Lindenmaier
335bf803b9 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mbaesken, sgehwolf
Backport-of: f554c3ffce
2024-11-15 08:12:22 +04:00
Goetz Lindenmaier
ed6ed74afa 8341057: Add 2 SSL.com TLS roots
Backport-of: 824a297aae
2024-11-15 08:12:21 +04:00
Goetz Lindenmaier
28de27c1bd 8337622: IllegalArgumentException in java.lang.reflect.Field.get
Backport-of: 41e31d6b0a
2024-11-15 08:12:20 +04:00
Goetz Lindenmaier
44ab13ede3 8329667: [macos] Issue with JTree related fix for JDK-8317771
Backport-of: 05f13e75ee
2024-11-15 08:12:20 +04:00
Goetz Lindenmaier
65777e972f 8339869: [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
Reviewed-by: sgehwolf
2024-11-15 08:12:20 +04:00
Severin Gehwolf
22adc4dbb8 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Backport-of: c89a1c35bd
2024-11-15 08:12:19 +04:00
Goetz Lindenmaier
34796d2ca8 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Backport-of: 7d49c52272
2024-11-15 08:12:18 +04:00
Goetz Lindenmaier
23469d3c02 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods
Reviewed-by: mdoerr
Backport-of: 9775d57168
2024-11-15 08:12:17 +04:00
Daniel Hu
d9fccb8614 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Backport-of: a8549b6367
2024-11-15 08:12:17 +04:00
Aleksey Shipilev
7d0668bf2c 8335409: Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665
Reviewed-by: phh, stuefe
Backport-of: 7ab96c74e2
2024-11-15 08:12:17 +04:00
Aleksey Shipilev
b59b2abaf2 8338286: GHA: Demote x86_32 to hotspot build only
Backport-of: da7311bbe3
2024-11-15 08:12:16 +04:00
Matthias Baesken
9acaa99cf2 8311306: Test com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed: out of expected range
Backport-of: e1fd663f22
2024-11-15 08:12:16 +04:00
SendaoYan
284dce7aeb 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Backport-of: bf13a4e281
2024-11-15 08:12:16 +04:00
SendaoYan
7c08e38b54 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Backport-of: 403fa3760f
2024-11-15 08:12:16 +04:00
KIRIYAMA Takuya
d90f3398d9 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Backport-of: 1fe3ada001
2024-11-15 08:12:15 +04:00
Daniel Hu
c1456044c3 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: phh
Backport-of: 60544f9088
2024-11-15 08:12:15 +04:00
Daniel Hu
dd15bbad7c 8316193: jdk/jfr/event/oldobject/TestListenerLeak.java java.lang.Exception: Could not find leak
Backport-of: f6be922952
2024-11-15 08:12:15 +04:00
KIRIYAMA Takuya
ed1d6f936d 8335743: jhsdb jstack cannot print some information on the waiting thread
Backport-of: d6c6847e32
2024-11-15 08:12:15 +04:00
SendaoYan
8b1bda0bcf 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Backport-of: fa7521b29e
2024-11-15 08:12:14 +04:00
Matthias Baesken
955ac43d48 8333149: ubsan : memset on nullptr target detected in jvmtiEnvBase.cpp get_object_monitor_usage
Backport-of: 43a2f17342
2024-11-15 08:12:14 +04:00
Matthias Baesken
2bab681f5f 8333088: ubsan: shenandoahAdaptiveHeuristics.cpp:245:44: runtime error: division by zero
Backport-of: 34eea6a5fa
2024-11-15 08:12:14 +04:00
Matthias Baesken
f1fc7c6b26 8333354: ubsan: frame.inline.hpp:91:25: and src/hotspot/share/runtime/frame.inline.hpp:88:29: runtime error: member call on null pointer of type 'const struct SmallRegisterMap'
Backport-of: 8162832832
2024-11-15 08:12:13 +04:00
Aleksey Shipilev
c023ad3aae 8330981: ZGC: Should not dedup strings in the finalizer graph
Backport-of: 2f2dc2289b
2024-11-15 08:12:13 +04:00
Aleksey Shipilev
28680c1b07 8335007: Inline OopMapCache table
Backport-of: 50dd962b0d
2024-11-15 08:12:13 +04:00
Aleksey Shipilev
fd38315b2d 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Backport-of: bfb75b9626
2024-11-15 08:12:12 +04:00
Gui Cao
b51dbd48f7 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang
Backport-of: ef7923e127
2024-11-15 08:12:12 +04:00
Andrew Lu
8b512e01a1 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Backport-of: 49eb00da8d
2024-11-15 08:12:12 +04:00
Andrew Lu
0da979f398 8309067: gtest/AsyncLogGtest.java fails again in stderrOutput_vm
Reviewed-by: phh
Backport-of: d1af748ab4
2024-11-15 08:12:11 +04:00
Aleksey Shipilev
e65a04ab81 8331572: Allow using OopMapCache outside of STW GC phases
8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572

Reviewed-by: phh
Backport-of: d999b81e71
2024-11-15 08:12:11 +04:00
Varada M
e2b6a73f76 8330520: linux clang build fails in os_linux.cpp with static_assert with no message is a C++17 extension
Reviewed-by: mdoerr
Backport-of: 4b55fe5777
2024-11-15 08:12:11 +04:00
Amos Shi
9f97757dd5 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: mdoerr
Backport-of: d82ade3545
2024-11-15 08:12:10 +04:00
Amos Shi
897482088f 8317738: CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
Backport-of: 0fd807118c
2024-11-15 08:12:10 +04:00
Amos Shi
209bbd6f4c 8325022: Incorrect error message on client authentication
Backport-of: fe78c0f191
2024-11-15 08:12:10 +04:00
SendaoYan
8ce916ded4 8331153: JFR: Improve logging of jdk/jfr/api/consumer/filestream/TestOrdered.java
Backport-of: f3bb3e2170
2024-11-15 08:12:09 +04:00
Ben Taylor
1bcc08ab93 8321206: Make Locale related system properties StaticProperty
Backport-of: 0c178beb69
2024-11-15 08:12:09 +04:00
Daniel Hu
363bdc4e38 8303920: Avoid calling out to python in DataDescriptorSignatureMissing test
Reviewed-by: shade
Backport-of: 07eaea8c25
2024-11-15 08:12:08 +04:00
Todd V. Jonker
23ae337dad 8319817: Charset constructor should make defensive copy of aliases
Backport-of: d6d7bdc774
2024-11-15 08:12:07 +04:00
Todd V. Jonker
e62aec2802 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException

Reviewed-by: phh
Backport-of: 36ac83904c
2024-11-15 08:12:07 +04:00
Matthias Baesken
cf46940fdc 8334166: Enable binary check
8332008: Enable issuestitle check

Reviewed-by: sgehwolf, shade
Backport-of: a4582a8957
2024-11-15 08:12:06 +04:00
Sergey Bylokhov
ac19945b76 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Backport-of: c7c6d47a07
2024-11-15 08:12:05 +04:00
Andrew Lu
7db5e70288 8332113: Update nsk.share.Log to be always verbose
Backport-of: 8464ce6db5
2024-11-15 08:12:04 +04:00
Andrew Lu
f5b1c925e1 8315965: Open source various AWT applet tests
Backport-of: 3b397c8552
2024-11-15 08:12:04 +04:00
Daniel Hu
8e880f370a 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: phh
Backport-of: 4676b40f17
2024-11-15 08:12:04 +04:00
Todd V. Jonker
54925efb68 8242564: javadoc crashes:: class cast exception com.sun.tools.javac.code.Symtab$6
Backport-of: 64c3642c57
2024-11-15 08:12:03 +04:00
Aleksey Shipilev
4ea0352852 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields
Reviewed-by: phh
Backport-of: 8d9ad97c29
2024-11-15 08:12:02 +04:00
Aleksey Shipilev
547d4fc82c 8336343: Add more known sysroot library locations for ALSA
Backport-of: 9e6e0a8f34
2024-11-15 08:12:02 +04:00
Zdenek Zambersky
6e30cdab40 8336928: GHA: Bundle artifacts removal broken
Backport-of: 98562166e4
2024-11-15 08:12:02 +04:00
Aleksey Shipilev
5210f16c9f 8336342: Fix known X11 library locations in sysroot
Backport-of: ee365d75cc
2024-11-15 08:12:01 +04:00
Aleksey Shipilev
3c9f49f8e7 8337283: configure.log is truncated when build dir is on different filesystem
Backport-of: 7e925d727f
2024-11-15 08:12:01 +04:00
Aleksey Shipilev
55c6a3a942 8327501: Common ForkJoinPool prevents class unloading in some cases
8328366: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501

Backport-of: 53c4714aab
2024-11-15 08:12:00 +04:00
Jiawei Tang
ea6e06cc90 8330146: assert(!_thread->is_in_any_VTMS_transition()) failed
Backport-of: c4ff58b9bc
2024-11-15 08:12:00 +04:00
Andrew Lu
3a19ee355e 8328642: Convert applet test MouseDraggedOutCauseScrollingTest.html to main
Backport-of: ab183e437c
2024-11-15 08:11:59 +04:00
Matthias Baesken
b623dcf1fb 8334618: ubsan: support setting additional ubsan check options
Backport-of: efb905e57a
2024-11-15 08:11:59 +04:00
Matthias Baesken
b42340802a 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
Backport-of: 0199fee431
2024-11-15 08:11:58 +04:00
Andrew John Hughes
bcadc8350a 8322971: KEM.getInstance() should check if a 3rd-party security provider is signed
Backport-of: 9fd855ed47
2024-11-15 08:11:58 +04:00
Matthias Baesken
bccb301f1e 8335237: ubsan: vtableStubs.hpp is_vtable_stub exclude from ubsan checks
Backport-of: 486aa11e74
2024-11-15 08:11:58 +04:00
Matthias Baesken
ed5d6758af 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Backport-of: 33fd6ae986
2024-11-15 08:11:57 +04:00
Dan Lutker
ba007b2201 8321509: False positive in get_trampoline fast path causes crash
Backport-of: 73e3e0edeb
2024-11-15 08:11:57 +04:00
Matthias Baesken
a87a2b7a4b 8331731: ubsan: relocInfo.cpp:155:30: runtime error: applying non-zero offset to null pointer
Reviewed-by: rschmelter
Backport-of: 664c993c41
2024-11-15 08:11:57 +04:00
Liang Mao
494b6dbc9c 8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_clear_all_soft_refs
Backport-of: cff9e246cc
2024-11-15 08:11:56 +04:00
Matthias Baesken
feeb1a62ec 8331854: ubsan: copy.hpp:218:10: runtime error: addition of unsigned offset to 0x7fc2b4024518 overflowed to 0x7fc2b4024510
Backport-of: 2c1b311f81
2024-11-15 08:11:56 +04:00
Andrew Lu
952d0e1437 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Backport-of: ae9f318fc3
2024-11-15 08:11:56 +04:00
Andrew Lu
f07fb9cb09 8324808: Manual printer tests have no Pass/Fail buttons, instructions close set 3
Backport-of: af7c6af0cc
2024-11-15 08:11:55 +04:00
Andrew Lu
1c02d771e5 8317112: Add screenshot for Frame/DefaultSizeTest.java
Backport-of: a36eaf03af
2024-11-15 08:11:55 +04:00
Matthias Baesken
734415d6bd 8335967: "text-decoration: none" does not work with "A" HTML tags
Backport-of: 374fca0fcb
2024-11-15 08:11:54 +04:00
luwang1103
d4e661ddeb 8324580: SIGFPE on THP initialization on kernels < 4.10
Reviewed-by: stuefe
Backport-of: a231706a06
2024-11-15 08:11:54 +04:00
Matthias Baesken
02370c0c72 8332699: ubsan: jfrEventSetting.inline.hpp:31:43: runtime error: index 163 out of bounds for type 'jfrNativeEventSetting [162]'
Backport-of: abbf45b57e
2024-11-15 08:11:54 +04:00
Matthias Baesken
94afb6ecc3 8333178: ubsan: jvmti_tools.cpp:149:16: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 880c6b42ba
2024-11-15 08:11:53 +04:00
Aleksey Shipilev
100ae1f305 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
Backport-of: 2aeb12ec03
2024-11-15 08:11:53 +04:00
Matthias Baesken
1bd298593a 8333277: ubsan: mlib_ImageScanPoly.c:292:43: runtime error: division by zero
Backport-of: 57b6481449
2024-11-15 08:11:53 +04:00
Matthias Baesken
3f38520a0d 8333363: ubsan: instanceKlass.cpp: runtime error: member call on null pointer of type 'struct AnnotationArray'
Backport-of: 46b817b749
2024-11-15 08:11:52 +04:00
Andrew Lu
0eb59dfe45 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
Backport-of: 4da28b40f0
2024-11-15 08:11:52 +04:00
Andrew Lu
ebe543092f 8325037: x86: enable and fix hotspot/jtreg/compiler/vectorization/TestRoundVectFloat.java
Backport-of: ed068469f3
2024-11-15 08:11:51 +04:00
Andrew Lu
17639cc9ee 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Backport-of: 4e8cbf884a
2024-11-15 08:11:51 +04:00
Xiaolong Peng
1efe15345c 8335904: Fix invalid comment in ShenandoahLock
Backport-of: bb1f8a1698
2024-11-15 08:11:51 +04:00
Varada M
51dd4f7f12 8308286: Fix clang warnings in linux code
Backport-of: 98a954eebc
2024-11-15 08:11:50 +04:00
Varada M
7c6d634060 8317696: Fix compilation with clang-16
Backport-of: e4329a823b
2024-11-15 08:11:50 +04:00
SendaoYan
e38dcbb962 8337038: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java shoud set as /native
Reviewed-by: mbaesken
2024-11-15 08:11:50 +04:00
luwang1103
809e38ea31 8335283: Build failure due to 'no_sanitize' attribute directive ignored
Reviewed-by: shade
Backport-of: 53242cdf9e
2024-11-15 08:11:49 +04:00
Matthias Baesken
62d83a3e5f 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
Backport-of: 113a2c028d
2024-11-15 08:11:49 +04:00
SendaoYan
2c04b569df 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Backport-of: c798316bc4
2024-11-15 08:11:49 +04:00
Matthias Baesken
45250c6a57 8326332: Unclosed inline tags cause misalignment in summary tables
Reviewed-by: rschmelter
Backport-of: a6dc4bc2b8
2024-11-15 08:11:48 +04:00
Matthias Baesken
9f6844bd09 8333361: ubsan,test : libHeapMonitorTest.cpp:518:9: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: ed149062d0
2024-11-15 08:11:48 +04:00
Aleksey Shipilev
ad6b2c3109 8334769: Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator
Backport-of: 4ebb77120a
2024-11-15 08:11:48 +04:00
john spurling
9388d6fa10 8310628: GcInfoBuilder.c missing JNI Exception checks
Backport-of: a9c0a0f6b9
2024-11-15 08:11:47 +04:00
Matthias Baesken
e80a8fee03 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
Reviewed-by: lucy
Backport-of: 31f70391e5
2024-11-15 08:11:47 +04:00
SendaoYan
3bf9fe841c 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: phh
Backport-of: 7baddc202a
2024-11-15 08:11:46 +04:00
Aleksey Shipilev
f27be3b8e8 8325542: CTW: Runner can produce negative StressSeed
Backport-of: bb675afae6
2024-11-15 08:11:45 +04:00
luwang1103
3b18ca1079 8334239: Introduce macro for ubsan method/function exclusions
Backport-of: ff30240926
2024-11-15 08:11:45 +04:00
Xiaolong Peng
40273753cd 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Reviewed-by: shade
Backport-of: 817edcb697
2024-11-15 08:11:44 +04:00
Liang Mao
9448a0b6d8 8332717: ZGC: Division by zero in heuristics
Backport-of: 2d4185f4f1
2024-11-15 08:11:43 +04:00
Thomas Stuefe
70007172d8 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Backport-of: 6a15860b12
2024-11-15 08:11:43 +04:00
Thomas Stuefe
b10c2ac7ff 8299790: os::print_hex_dump is racy
Backport-of: 8f28809aa8
2024-11-15 08:11:42 +04:00
Xiaolong Peng
48d2675039 8331405: Shenandoah: Optimize ShenandoahLock with TTAS
Reviewed-by: shade
Backport-of: c4fe5bf90c
2024-11-15 08:11:41 +04:00
Neethu Prasad
6abbe12619 8312200: Fix Parse::catch_call_exceptions memory leak
Backport-of: d33e8e6f93
2024-11-15 08:11:41 +04:00
Matthias Baesken
7b32362095 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Backport-of: 2264667bba
2024-11-15 08:11:41 +04:00
luwang1103
1b7db53936 8332818: ubsan: archiveHeapLoader.cpp:70:27: runtime error: applying non-zero offset 18446744073707454464 to null pointer
Backport-of: 6861766b63
2024-11-15 08:11:40 +04:00
Matthias Baesken
bc03a259d2 8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Backport-of: 861aefcafa
2024-11-15 08:11:40 +04:00
Matthias Baesken
78de7906b5 8334123: log the opening of Type 1 fonts
Backport-of: f8c657f671
2024-11-15 08:11:40 +04:00
luwang1103
47d51ce555 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int'
Backport-of: 0d3a3771c3
2024-11-15 08:11:39 +04:00
Matthias Baesken
05036f9ce1 8327424: ProblemList serviceability/sa/TestJmapCore.java on all platforms with ZGC
Backport-of: 0a6e64e2f5
2024-11-15 08:11:39 +04:00
Andrew Lu
9c3502c6a5 8328273: sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java failed with java.rmi.server.ExportException: Port already in use
Backport-of: a85c8493ae
2024-11-15 08:11:39 +04:00
SendaoYan
5ef2bdd05f 8322766: Micro bench SSLHandshake should use default algorithms
Backport-of: 06dd735342
2024-11-15 08:11:38 +04:00
Matthias Baesken
2065d10b99 8332424: Update IANA Language Subtag Registry to Version 2024-05-16
Backport-of: 6dac8d6452
2024-11-15 08:11:38 +04:00
Neethu Prasad
26229879ae 8315505: CompileTask timestamp printed can overflow
Backport-of: ad7a8e86e0
2024-11-15 08:11:38 +04:00
Matthias Baesken
edb0931b3a 8326129: Java Record Pattern Match leads to infinite loop
Backport-of: 93a2e773a5
2024-11-15 08:11:37 +04:00
Matthias Baesken
9e6d7f9af6 8299058: AssertionError in sun.net.httpserver.ServerImpl when connection is idle
Backport-of: 47624f6fc6
2024-11-15 08:11:37 +04:00
Andrew John Hughes
bb47495317 8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
Backport-of: ff49f677ee
2024-11-15 08:11:37 +04:00
Liming Liu
0a741a930a 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly
8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
8325218: gc/parallel/TestAlwaysPreTouchBehavior.java fails

Reviewed-by: shade
Backport-of: a65a89522d
2024-11-15 08:11:36 +04:00
Andrew Lu
d99ddcfccd 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: mbaesken
Backport-of: d3bf52628e
2024-11-15 08:11:36 +04:00
Andrew Lu
63d3e97f4a 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test
8328269: NonFocusablePopupMenuTest.java should be marked as headful

Reviewed-by: mbaesken
Backport-of: b8dfeafdfd
2024-11-15 08:11:35 +04:00
Matthias Baesken
e5895043d0 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms
8334592: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java in jdk21 on all platforms

Reviewed-by: lucy
Backport-of: 8ff10a0d35
2024-11-15 08:11:35 +04:00
Qizheng Xing
08664e8300 8335536: Fix assertion failure in IdealGraphPrinter when append is true
Backport-of: 6db4c6a772
2024-11-15 08:11:34 +04:00
Andrew Lu
aee645d2b6 8329559: Test javax/swing/JFrame/bug4419914.java failed because The End and Start buttons are not placed correctly and Tab focus does not move as expected
Backport-of: 7c1fad4fb6
2024-11-15 08:11:34 +04:00
Christoph Langer
41367dabec 8211854: [aix] java/net/ServerSocket/AcceptInheritHandle.java fails: read times out
Backport-of: cb3c45a698
2024-11-15 08:11:33 +04:00
Andrew Lu
f42b5e3cd1 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Backport-of: 50bed6c67b
2024-11-15 08:11:33 +04:00
Andrew Lu
98095853c8 8327401: Some jtreg tests fail on Wayland without any tracking bug
8312111: open/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails on ubuntu 23.04

Backport-of: 286cc163fd
2024-11-15 08:11:32 +04:00
Matthias Baesken
5a4ccb7994 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Backport-of: eeb63cd0fa
2024-11-15 08:11:32 +04:00
Andrew Lu
5b682e3716 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Backport-of: ec1664e8c9
2024-11-15 08:11:31 +04:00
Andrew Lu
58897c088b 8331798: Remove unused arg of checkErgonomics() in TestMaxHeapSizeTools.java
Backport-of: c6f611cfe0
2024-11-15 08:11:31 +04:00
Matthias Baesken
f0b990c6ac 8334653: ISO 4217 Amendment 177 Update
Backport-of: 86b0cf259f
2024-11-15 08:11:30 +04:00
SendaoYan
b3fe9e1be6 8333353: Delete extra empty line in CodeBlob.java
Backport-of: 91101f0d4f
2024-11-15 08:11:30 +04:00
SendaoYan
ef55cdd1ca 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Backport-of: f23295ec1d
2024-11-15 08:11:29 +04:00
Matthias Baesken
ba43ac0d1a 6967482: TAB-key does not work in JTables after selecting details-view in JFileChooser
8166352: FilePane.createDetailsView() removes JTable TAB, SHIFT-TAB functionality

Backport-of: 711e723819
2024-11-15 08:11:29 +04:00
Matthias Baesken
55d7607ebb 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Backport-of: e681b4e9b3
2024-11-15 08:11:28 +04:00
Andrew Lu
454c8e5997 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
Backport-of: d02cb742f7
2024-11-15 08:11:28 +04:00
Andrew Lu
e498fde3c5 8280988: [XWayland] Click on title to request focus test failures
Backport-of: f6cdcc6f65
2024-11-15 08:11:27 +04:00
Andrew Lu
f947af2183 8320675: PrinterJob/SecurityDialogTest.java hangs
Backport-of: 9f5ad43358
2024-11-15 08:11:27 +04:00
Andrew Lu
ec1abb08a8 8328238: Convert few closed manual applet tests to main
Backport-of: 68170ae222
2024-11-15 08:11:26 +04:00
Andrew Lu
737b3785e7 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
Backport-of: 01125fa21b
2024-11-15 08:11:26 +04:00
Gui Cao
c56c58f352 8333652: RISC-V: compiler/vectorapi/VectorGatherMaskFoldingTest.java fails when using RVV
Backport-of: ce5727df44
2024-11-15 08:11:25 +04:00
Matthias Baesken
cb34427164 8330063: Upgrade jQuery to 3.7.1
Reviewed-by: mdoerr
Backport-of: 46a2ce4eb4
2024-11-15 08:11:24 +04:00
Andrew Lu
6c1ad1637b 8316285: Opensource JButton manual tests
Backport-of: 9f5d2b947f
2024-11-15 08:11:24 +04:00
Andrew Lu
db19780c3c 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Backport-of: 6f7ddbec7d
2024-11-15 08:11:23 +04:00
Andrew Lu
3fc8b43621 8280990: [XWayland] XTest emulated mouse click does not bring window to front
Backport-of: d2d78ad18e
2024-11-15 08:11:23 +04:00
Sergey Bylokhov
17ca464c85 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Backport-of: b7540df6a4
2024-11-15 08:11:22 +04:00
Aleksey Shipilev
cdab7c42f4 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Backport-of: 9c89f0861c
2024-11-15 08:11:22 +04:00
Aleksey Shipilev
31596c3d56 8319818: Address GCC 13.2.0 warnings (stringop-overflow and dangling-pointer)
8320212: Disable GCC stringop-overflow warning for affected files
8326717: Disable stringop-overflow in shenandoahLock.cpp

Reviewed-by: mdoerr
Backport-of: c0507af5a4
2024-11-15 08:11:21 +04:00
lingjun.cg
99c640d5e8 8333462: Performance regression of new DecimalFormat() when compare to jdk11
Backport-of: d826127970
2024-11-15 08:11:21 +04:00
Christoph Langer
45406d8ea3 8211847: [aix] java/lang/ProcessHandle/InfoTest.java fails: "reported cputime less than expected"
Backport-of: f5213671f7
2024-11-15 08:11:20 +04:00
Xiaolong Peng
031b42b4ba 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
Backport-of: 4c79e7d59c
2024-11-15 08:11:20 +04:00
Xiaolong Peng
4b34318404 8319406: x86: Shorter movptr(reg, imm) for 32-bit immediates
Backport-of: b120a05b22
2024-11-15 08:11:20 +04:00
Thomas Stuefe
769db4964c 8330027: Identity hashes of archived objects must be based on a reproducible random seed
Reviewed-by: mdoerr
Backport-of: 9f43ce5a72
2024-11-15 08:11:20 +04:00
Xiaolong Peng
216df7954c 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Backport-of: 34f85ee94e
2024-11-15 08:11:19 +04:00
Liang Mao
bc2d5e3e08 8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Backport-of: 492e8bf563
2024-11-15 08:11:19 +04:00
Martin Doerr
616076096a 8333099: Missing check for is_LoadVector in StoreNode::Identity
Backport-of: 2ea365c945
2024-11-15 08:11:18 +04:00
Martin Doerr
5b19e3890a 8334867: Add back assertion from JDK-8325494
Reviewed-by: shade, chagedorn
2024-11-15 08:11:18 +04:00
Martin Doerr
082632f9b4 8328896: Fontmetrics for large Fonts has zero width
Backport-of: 25871af36b
2024-11-15 08:11:17 +04:00
Martin Doerr
7744943e53 8051959: Add thread and timestamp options to java.security.debug system property
Reviewed-by: mbaesken
Backport-of: 3b582dff84
2024-11-15 08:11:16 +04:00
Martin Doerr
e5a13752d3 8321176: [Screencast] make a second attempt on screencast failure
Backport-of: 92fd490f22
2024-11-15 08:11:16 +04:00
Amos Shi
c65848ff93 8315969: compiler/rangechecks/TestRangeCheckHoistingScaledIV.java: make flagless
Reviewed-by: mdoerr
Backport-of: 9598ff8386
2024-11-15 08:11:15 +04:00
Amos Shi
c95a53749c 8320608: Many jtreg printing tests are missing the @printer keyword
Backport-of: 76fea80707
2024-11-15 08:11:14 +04:00
Jaroslav Bachorik
1402a2dcdb 8329103: assert(!thread->in_asgct()) failed during multi-mode profiling
Reviewed-by: jbechberger
Backport-of: 6b1b0e9d45
2024-11-15 08:11:14 +04:00
Elif Aslan
a4b56a6655 8330849: Add test to verify memory usage with recursive locking
Backport-of: 7b2560b490
2024-11-15 08:11:14 +04:00
SendaoYan
d01ad56f59 8332248: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java failed with RuntimeException
Backport-of: 0bb5ae6451
2024-11-15 08:11:13 +04:00
Andrew Lu
a9a3e1fecc 8317372: Refactor some NumberFormat tests to use JUnit
Reviewed-by: mdoerr
Backport-of: 9622de2aa8
2024-11-15 08:11:13 +04:00
Andrew Lu
9fd4088027 8222884: ConcurrentClassDescLookup.java times out intermittently
Backport-of: bd046d9b9e
2024-11-15 08:11:13 +04:00
Andrew Lu
f6559e4c98 8328647: TestGarbageCollectorMXBean.java fails with C1-only and -Xcomp
Backport-of: bdd9438b45
2024-11-15 08:11:13 +04:00
Andrew Lu
842d0759da 8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Backport-of: 459957f30a
2024-11-15 08:11:12 +04:00
Andrew Lu
7ac95227d3 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization
Backport-of: 638708cad8
2024-11-15 08:11:12 +04:00
Aleksey Shipilev
c3aa0293e5 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Backport-of: 9f46fc2842
2024-11-15 08:11:11 +04:00
Martin Doerr
4af9371382 8325520: Vector loads and stores with indices and masks incorrectly compiled
Backport-of: 0c934ff4e2
2024-11-15 08:11:11 +04:00
Martin Doerr
0a6d3c61bf 8325494: C2: Broken graph after not skipping CastII node anymore for Assertion Predicates after JDK-8309902
Reviewed-by: mbaesken, shade
Backport-of: 9fd78022b1
2024-11-15 08:11:10 +04:00
Martin Doerr
7b264a7669 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: chagedorn
Backport-of: ef101f1bf2
2024-11-15 08:11:10 +04:00
Martin Doerr
7d3ded0b9c 8320655: awt screencast robot spin and sync issues with native libpipewire api
Backport-of: c17b8cfafe
2024-11-15 08:11:10 +04:00
Martin Doerr
6ccd00d9a9 8331011: [XWayland] TokenStorage fails under Security Manager
Backport-of: 9912abf586
2024-11-15 08:11:09 +04:00
SendaoYan
08c6e9e0bb 8334333: MissingResourceCauseTestRun.java fails if run by root
Backport-of: de8ee97718
2024-11-15 08:11:09 +04:00
Aleksey Shipilev
c0f9a144c9 8319197: Exclude hb-subset and hb-style from compilation
Backport-of: e1cae72036
2024-11-15 08:11:09 +04:00
Andrew Lu
0a2d238a95 8307778: com/sun/jdi/cds tests fail with jtreg's Virtual test thread factory
Backport-of: fe8a2aff31
2024-11-15 08:11:08 +04:00
Andrew Lu
2281c62ea3 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Backport-of: 81083a0e10
2024-11-15 08:11:08 +04:00
Andrew Lu
1196c231ad 8316306: Open source and convert manual Swing test
Backport-of: d3e8218386
2024-11-15 08:11:07 +04:00
Neethu Prasad
2b6b1f89e4 8325754: Dead AbstractQueuedSynchronizer$ConditionNodes survive minor garbage collections
Backport-of: 60cbf29250
2024-11-15 08:11:06 +04:00
Neethu Prasad
9f00164f74 8321220: JFR: RecordedClass reports incorrect modifiers
Backport-of: d5f59cf0a8
2024-11-15 08:11:05 +04:00
Neethu Prasad
1205cbbae6 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines
Backport-of: cf4ede0e54
2024-11-15 08:11:05 +04:00
Andrew Lu
f6cdd27c4b 8316211: Open source several manual applet tests
Backport-of: 2f311d59dc
2024-11-15 08:11:05 +04:00
Andrew Lu
774097f348 8283223: gc/stringdedup/TestStringDeduplicationFullGC.java#Parallel failed with "RuntimeException: String verification failed"
Backport-of: 9d441e3e56
2024-11-15 08:11:04 +04:00
Amos Shi
0807d7540a 7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Backport-of: 4785461f61
2024-11-15 08:11:04 +04:00
Amos Shi
13e5990fd1 8333398: Uncomment the commented test in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java
Backport-of: d230b30353
2024-11-15 08:11:03 +04:00
Amos Shi
61d9e98103 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Backport-of: 11a3673d42
2024-11-15 08:11:03 +04:00
Amos Shi
f1096ca01a 8316389: Open source few AWT applet tests
Backport-of: 65227a3c64
2024-11-15 08:11:02 +04:00
Amos Shi
d8194eae09 8313674: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
Backport-of: e91492ab43
2024-11-15 08:11:02 +04:00
Amos Shi
90143f8ac4 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: mdoerr
Backport-of: 343cc0ce2b
2024-11-15 08:11:01 +04:00
Amos Shi
4436ea4a9b 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Backport-of: 14193a049e
2024-11-15 08:11:01 +04:00
Amos Shi
9cf473e1a8 8325384: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java failing intermittently when main thread is a virtual thread
Backport-of: da9c23ace9
2024-11-15 08:11:00 +04:00
Amos Shi
6ae418816c 8315024: Vector API FP reduction tests should not test for exact equality
Backport-of: e6f23a90d4
2024-11-15 08:11:00 +04:00
Amos Shi
674c462cd4 8321933: TestCDSVMCrash.java spawns two processes
Backport-of: 1fde8b868a
2024-11-15 08:11:00 +04:00
Amos Shi
a725a066a5 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Backport-of: 6a35311468
2024-11-15 08:10:59 +04:00
Elif Aslan
4a5b46c42f 8314515: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
Backport-of: 35e9662767
2024-11-15 08:10:59 +04:00
Thomas Fitzsimmons
7a2df86600 8332174: Remove 2 (unpaired) RLO Unicode characters in ff_Adlm.xml
Reviewed-by: andrew
2024-11-15 08:10:59 +04:00
Sergey Bylokhov
52e5149650 8327840: Automate javax/swing/border/Test4129681.java
Backport-of: 177b8a241c
2024-11-15 08:10:58 +04:00
Elif Aslan
5396a09d49 8318605: Enable parallelism in vmTestbase/nsk/stress/stack tests
Backport-of: d9aa1deac8
2024-11-15 08:10:58 +04:00
Aleksey Shipilev
ee7e6848ab 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: mdoerr
Backport-of: 230bcb769a
2024-11-15 08:10:57 +04:00
SendaoYan
039dd26c25 8334332: TestIOException.java fails if run by root
Backport-of: 472b935b44
2024-11-15 08:10:57 +04:00
Andrew Lu
e42c89f342 8332936: Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded
Backport-of: 5ed0d52c84
2024-11-15 08:10:57 +04:00
Andrew Lu
c58e59fb6e 8331063: Some HttpClient tests don't report leaks
Backport-of: e4ed7ced75
2024-11-15 08:10:56 +04:00
Andrew Lu
7acbe0f0c5 8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
Introduce tolerance factor: count > loaderCount.size() / 2
Fail the test only if the number of snapshots with more than
2 file loader threads is greater than half of the number
of valid snapshots.

Backport-of: ffbdfffbc7
2024-11-15 08:10:56 +04:00
Martin Doerr
526a6ae864 8325083: jdk/incubator/vector/Double512VectorTests.java crashes in Assembler::vex_prefix_and_encode
Backport-of: 01060ad4ab
2024-11-15 08:10:55 +04:00
Martin Doerr
4d00323284 8330133: libj2pkcs11.so crashes on some pkcs#11 v3.0 libraries
Backport-of: d1c6cd104e
2024-11-15 08:10:55 +04:00
Martin Doerr
567c613b9f 8330819: C2 SuperWord: bad dominance after pre-loop limit adjustment with base that has CastLL after pre-loop
Reviewed-by: mbaesken
Backport-of: e681e9b4d7
2024-11-15 08:10:55 +04:00
Martin Doerr
3fe9e61419 8309621: [XWayland][Screencast] screen capture failure with sun.java2d.uiScale other than 1
Backport-of: 387896fb34
2024-11-15 08:10:54 +04:00
Andrew Lu
e70cd5ff5d 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet
Backport-of: e81374e050
2024-11-15 08:10:54 +04:00
Andrew Lu
3799420591 8320079: The ArabicBox.java test has no control buttons
Backport-of: 792fc9d114
2024-11-15 08:10:53 +04:00
Xiaolong Peng
8afd110c8d 8321025: Enable Neoverse N1 optimizations for Neoverse V2
Reviewed-by: shade
Backport-of: c9d15f7d5e
2024-11-15 08:10:53 +04:00
Martin Doerr
b946c150e8 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Backport-of: 2f04bc5f93
2024-11-15 08:10:52 +04:00
Martin Doerr
69a08a5b11 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Backport-of: 0259da9283
2024-11-15 08:10:51 +04:00
Martin Doerr
384322ef20 8308660: C2 compilation hits 'node must be dead' assert
Reviewed-by: mbaesken
Backport-of: 053ff76e14
2024-11-15 08:10:51 +04:00
Martin Doerr
421e25a9d1 8322743: C2: prevent lock region elimination in OSR compilation
Backport-of: 742c776a92
2024-11-15 08:10:50 +04:00
Aleksey Shipilev
b666ea7cd2 8329088: Stack chunk thawing races with concurrent GC stack iteration
Backport-of: 8bcd2e61ae
2024-11-15 08:10:50 +04:00
Andrew Lu
2223dad03c 8331142: Add test for number of loader threads in BasicDirectoryModel
8331495: Limit BasicDirectoryModel/LoaderThreadCount.java to Windows only

Reviewed-by: mdoerr
Backport-of: b2fb5ea13b
2024-11-15 08:10:49 +04:00
Andrew Lu
0198268d0d 8328115: Convert java/awt/font/TextLayout/TestJustification.html applet test to main
Backport-of: 0204aacb03
2024-11-15 08:10:49 +04:00
Andrew Lu
191519e966 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel
Backport-of: 9731b1c8b0
2024-11-15 08:10:48 +04:00
Andrew Lu
ee98d67d52 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main
Backport-of: df909e2f9c
2024-11-15 08:10:47 +04:00
Andrew Lu
7479950cec 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out
Backport-of: 7acfba288f
2024-11-15 08:10:47 +04:00
Andrew Lu
2163031572 8317635: Improve GetClassFields test to verify correctness of field order
Backport-of: 599560a832
2024-11-15 08:10:47 +04:00
Andrew Lu
da3ab10732 8318071: IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
Backport-of: d888b26783
2024-11-15 08:10:46 +04:00
Martin Doerr
551b7b5ad1 8323274: C2: array load may float above range check
Backport-of: 4406915ebc
2024-11-15 08:10:46 +04:00
Matthias Baesken
1311e7e7f3 8332825: ubsan: guardedMemory.cpp:35:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: be1d374bc5
2024-11-15 08:10:46 +04:00
Andrew Lu
627a0fe0c6 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
Reviewed-by: mdoerr
Backport-of: 86b27b784e
2024-11-15 08:10:45 +04:00
Andrew Lu
a7c9aeeee6 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out
Backport-of: 570ad67204
2024-11-15 08:10:45 +04:00
Sergey Bylokhov
fb8750e06a 8327787: Convert javax/swing/border/Test4129681.java applet test to main
Backport-of: ad0f329493
2024-11-15 08:10:44 +04:00
Martin Doerr
3aabcce96d 8331575: C2: crash when ConvL2I is split thru phi at LongCountedLoop
Backport-of: f398cd2250
2024-11-15 08:10:43 +04:00
Martin Doerr
01ecc67563 8322996: BoxLockNode creation fails with assert(reg < CHUNK_SIZE) failed: sanity
Backport-of: 69586e7bdf
2024-11-15 08:10:43 +04:00
Martin Doerr
a1aacbc253 8317299: safepoint scalarization doesn't keep track of the depth of the JVM state
Reviewed-by: phh
Backport-of: 6d911f68a3
2024-11-15 08:10:42 +04:00
Martin Doerr
e768a478ba 8323972: C2 compilation fails with assert(!x->as_Loop()->is_loop_nest_inner_loop()) failed: loop was transformed
Backport-of: e1b0af29e4
2024-11-15 08:10:41 +04:00
Martin Doerr
a857d504ad 8321278: C2: Partial peeling fails with assert "last_peel <- first_not_peeled"
Backport-of: af15c68f3c
2024-11-15 08:10:40 +04:00
Martin Doerr
40d7a22f92 8319793: C2 compilation fails with "Bad graph detected in build_loop_late" after JDK-8279888
Reviewed-by: mbaesken
Backport-of: b922f8d459
2024-11-15 08:10:40 +04:00
Liang Mao
1a38ab30ae 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Backport-of: 8338946a6d
2024-11-15 08:10:39 +04:00
Matthias Baesken
292fd42e03 8333724: Problem list security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#teliasonerarootcav1
Backport-of: 8ffc35d117
2024-11-15 08:10:39 +04:00
Christoph Langer
a719be9414 8330814: Cleanups for KeepAliveCache tests
Backport-of: 1e173f9d17e4a42e758217ac98aec4356acac0fa
2024-11-15 08:10:38 +04:00
Dmitry Chuyko
5d1d66c8b4 8323122: AArch64: Increase itable stub size estimate
Reviewed-by: aph
Backport-of: 36f4b34f19
2024-11-15 08:10:37 +04:00
Martin Doerr
31cf6b535f 8316756: C2 EA fails with "missing memory path" when encountering unsafe_arraycopy stub call
Backport-of: b89172149d
2024-11-15 08:10:36 +04:00
Martin Doerr
c4138f1ed5 8324174: assert(m->is_entered(current)) failed: invariant
Backport-of: 5b9b176c67
2024-11-15 08:10:36 +04:00
Martin Doerr
c842b93900 8332905: C2 SuperWord: bad AD file, with RotateRightV and first operand not a pack
Backport-of: 67d6f3ca9e
2024-11-15 08:10:35 +04:00
Martin Doerr
9b00adfc95 8327423: C2 remove_main_post_loops: check if main-loop belongs to pre-loop, not just assert
Backport-of: fadc4b197e
2024-11-15 08:10:35 +04:00
Martin Doerr
a23c9af6a9 8324969: C2: prevent elimination of unbalanced coarsened locking regions
Backport-of: b938a5c9ed
2024-11-15 08:10:34 +04:00
Martin Doerr
57357c118f 8333366: C2: CmpU3Nodes are not pushed back to worklist in PhaseCCP leading to non-fixpoint assertion failure
Reviewed-by: shade
Backport-of: 7c83d7ab53
2024-11-15 08:10:33 +04:00
Martin Doerr
4aa400b6da 8332959: C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
Reviewed-by: shade
Backport-of: e0ac8249f5
2024-11-15 08:10:33 +04:00
Martin Doerr
54a40cb7b3 8323682: C2: guard check is not generated in Arrays.copyOfRange intrinsic when allocation is eliminated by EA
Backport-of: 92f5c0be8e
2024-11-15 08:10:32 +04:00
Martin Doerr
523ef88b00 8331863: DUIterator_Fast used before it is constructed
Backport-of: 466a21d864
2024-11-15 08:10:32 +04:00
Martin Doerr
96e958ee7e 8329258: TailCall should not use frame pointer register for jump target
Backport-of: cccc95358d
2024-11-15 08:10:32 +04:00
Martin Doerr
5b5a77d29b 8324983: Race in CompileBroker::possibly_add_compiler_threads
Backport-of: 1993652653
2024-11-15 08:10:31 +04:00
Martin Doerr
3fed61a8a4 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Reviewed-by: mbaesken
Backport-of: beebce044d
2024-11-15 08:10:31 +04:00
Martin Balao
ea521c20ca 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)
Backport-of: 8a8d928898
2024-11-15 08:10:30 +04:00
Xiaolong Peng
26397d6118 8320379: C2: Sort spilling/unspilling sequence for better ld/st merging into ldp/stp on AArch64
Reviewed-by: aph
Backport-of: 3ccd02f142
2024-11-15 08:10:30 +04:00
Neethu Prasad
8bb958d468 8333716: Shenandoah: Check for disarmed method before taking the nmethod lock
Reviewed-by: shade
Backport-of: 18e7d7b5e7
2024-11-15 08:10:30 +04:00
Dmitry Chuyko
e7b6d90da5 8307352: AARCH64: Improve itable_stub
Backport-of: c664f1ca66
2024-11-15 08:10:29 +04:00
Aleksey Shipilev
4ee6bbeb0a 8325469: Freeze/Thaw code can crash in the presence of OSR frames
Reviewed-by: phh
Backport-of: fd331ff173
2024-11-15 08:10:29 +04:00
Andrew Lu
0f25490a9b 8280392: java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
Backport-of: 3f2e849c54
2024-11-15 08:10:28 +04:00
Andrew Lu
9f3c93d203 8316240: Open source several add/remove MenuBar manual tests
Backport-of: 3809d69ac4
2024-11-15 08:10:27 +04:00
Sergey Bylokhov
14c4094997 8329510: Update ProblemList for JFileChooser/8194044/FileSystemRootTest.java
Backport-of: 747582484c
2024-11-15 08:10:27 +04:00
Sergey Bylokhov
0601cb5bcf 8307193: Several Swing jtreg tests use class.forName on L&F classes
Backport-of: 9d332e6591
2024-11-15 08:10:26 +04:00
Martin Doerr
f355814539 8331626: unsafe.cpp:162:38: runtime error in index_oop_from_field_offset_long - applying non-zero offset 4563897424 to null pointer
Backport-of: 23a72a1f2f
2024-11-15 08:10:26 +04:00
Soumadipta Roy
61f590bd1b 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
Backport-of: 003e86fe38
2024-11-15 08:10:26 +04:00
Matthias Baesken
3bd116764e 8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Backport-of: 9b64ece514
2024-11-15 08:10:25 +04:00
Matthias Baesken
2494070900 8332894: ubsan: vmError.cpp:2090:26: runtime error: division by zero
Backport-of: 1b8dea4a92
2024-11-15 08:10:25 +04:00
SendaoYan
4818af4e76 8333477: Delete extra empty spaces in Makefiles
Backport-of: d130d2f4f4
2024-11-15 08:10:25 +04:00
Matthias Baesken
2ac5b75137 8332473: ubsan: growableArray.hpp:290:10: runtime error: null pointer passed as argument 1, which is declared to never be null
Backport-of: e529101ea3
2024-11-15 08:10:25 +04:00
Matthias Baesken
0eeae2d1f5 8332675: test/hotspot/jtreg/gc/testlibrary/Helpers.java compileClass javadoc does not match after 8321812
Backport-of: 1ea76d338b
2024-11-15 08:10:24 +04:00
Matthias Baesken
3b7e7836d6 8332720: ubsan: instanceKlass.cpp:3550:76: runtime error: member call on null pointer of type 'struct Array'
Backport-of: e19a421c30
2024-11-15 08:10:24 +04:00
Matthias Baesken
374a6e5068 8332589: ubsan: unix/native/libjava/ProcessImpl_md.c:562:5: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 16dba04e8d
2024-11-15 08:10:24 +04:00
Aleksey Shipilev
26415279c2 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Backport-of: 481cfc7985
2024-11-15 08:10:23 +04:00
Richard Reingruber
2f1132a8ea 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync
Reviewed-by: aph
Backport-of: 0c572566963be7f941228deda2691ce2fc456c15
2024-11-15 08:10:23 +04:00
Richard Reingruber
72d54051c0 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Backport-of: 1188d404bc4879fc388209cd32e6c4e46178e200
2024-11-15 08:10:22 +04:00
Sergey Bylokhov
82721afad4 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Backport-of: c2e01eba5a
2024-11-15 08:10:22 +04:00
Xiaolong Peng
1e13da7ab9 8331931: JFR: Avoid loading regex classes during startup
Backport-of: 242446b07f
2024-11-15 08:10:22 +04:00
Aleksey Shipilev
8e4c18b2d3 8329665: fatal error: memory leak: allocating without ResourceMark
Backport-of: e073d5b374
2024-11-15 08:10:22 +04:00
Martin Doerr
0ef05df60d 8331885: C2: meet between unloaded and speculative types is not symmetric
Backport-of: 7652f9811b
2024-11-15 08:10:21 +04:00
Martin Doerr
256f0c96c1 8326734: text-decoration applied to <span> lost when mixed with <u> or <s>
8325620: HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>

Backport-of: cd3e4c0366
2024-11-15 08:10:21 +04:00
SendaoYan
21c2a6d81a 8332499: Gtest codestrings.validate_vm fail on linux x64 when hsdis is present
Backport-of: 7dbd03388e
2024-11-15 08:10:20 +04:00
Matthias Baesken
6b04d9fc83 8331789: ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
Backport-of: 2baacfc169
2024-11-15 08:10:20 +04:00
Martin Doerr
fc2c25037d 8332885: Clarify failure_handler self-tests
Backport-of: 08891553bb
2024-11-15 08:10:20 +04:00
Andrew Lu
a70d4f45cb 8294148: Support JSplitPane for instructions and test UI
Backport-of: b419e95173
2024-11-15 08:10:19 +04:00
Andrew Lu
8bac4cb5ed 8316104: Open source several Swing SplitPane and RadioButton related tests
Backport-of: f52e500f80
2024-11-15 08:10:19 +04:00
Neethu Prasad
3a65308601 8325616: JFR ZGC Allocation Stall events should record stack traces
Backport-of: 71ff2d7177
2024-11-15 08:10:18 +04:00
Neethu Prasad
c73e368ea4 8320602: Lock contention in SchemaDVFactory.getInstance()
Backport-of: 0678253bff
2024-11-15 08:10:18 +04:00
Neethu Prasad
352fbe7c62 8329995: Restricted access to /proc can cause JFR initialization to crash
Backport-of: a92ad03946
2024-11-15 08:10:17 +04:00
Martin Doerr
2fb8604afa 8322726: C2: Unloaded signature class kills argument value
Backport-of: fa02667d83
2024-11-15 08:10:17 +04:00
Martin Doerr
f5aa5f9968 8332898: failure_handler: log directory of commands
Backport-of: 7f0ad513c3
2024-11-15 08:10:16 +04:00
Martin Doerr
0c8ec03c2f 8323801: <s> tag doesn't strikethrough the text
Backport-of: 80b63b6729
2024-11-15 08:10:16 +04:00
Andrew Lu
2dc4b0f1df 8328234: Remove unused nativeUtils files
Backport-of: dec68d7e36
2024-11-15 08:10:15 +04:00
Andrew Lu
7246998c7b 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html
Backport-of: 09439374ed
2024-11-15 08:10:15 +04:00
Andrew Lu
1d773faae8 8328561: test java/awt/Robot/ManualInstructions/ManualInstructions.java isn't used
Backport-of: bc546c21a5
2024-11-15 08:10:15 +04:00
Aleksey Shipilev
b663224947 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Backport-of: a8eacb31ab
2024-11-15 08:10:14 +04:00
Matthias Baesken
eacffc91d8 8332431: NullPointerException in JTable of SwingSet2
Backport-of: 9a83dfee14
2024-11-15 08:10:14 +04:00
Andrew Lu
db5f55cfd8 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Backport-of: 6faf05c6dd
2024-11-15 08:10:13 +04:00
Andrew Lu
bc8fd97191 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Backport-of: 24c3d86f32
2024-11-15 08:10:12 +04:00
Andrew Lu
b445b4141d 8320945: problemlist tests failing on latest Windows 11 update
Backport-of: ea6e92ed0d
2024-11-15 08:10:12 +04:00
Andrew Lu
381e03074b 8322008: Exclude some CDS tests from running with -Xshare:off
Backport-of: 4d32c607a4
2024-11-15 08:10:12 +04:00
Andrew Lu
1d3c63992d 8310201: Reduce verbose locale output in -XshowSettings launcher option
Backport-of: f6e23ae451
2024-11-15 08:10:11 +04:00
Andrew Lu
4bc0f9b93b 8323577: C2 SuperWord: remove AlignVector restrictions on IR tests added in JDK-8305055
Backport-of: 45c65e6b1a
2024-11-15 08:10:11 +04:00
Sergey Bylokhov
9a4b5330b1 8322330: JavadocHelperTest.java OOMEs with Parallel GC and ZGC
Backport-of: 52c7ff1d81
2024-11-15 08:10:11 +04:00
Liang Mao
30c8bd5e6f 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Backport-of: 060db1b2a2
2024-11-15 08:10:10 +04:00
Martin Doerr
c59e5d0160 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0
Backport-of: 6276789fb5
2024-11-15 08:10:10 +04:00
Martin Doerr
6572d26579 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
Backport-of: 7c2c24fc05
2024-11-15 08:10:10 +04:00
Martin Doerr
2bff326768 8314225: SIGSEGV in JavaThread::is_lock_owned
Backport-of: ad0b54d429
2024-11-15 08:10:09 +04:00
Martin Doerr
edca28c0cc 8331077: nroff man page update for jar tool
Backport-of: c21672d8c9
2024-11-15 08:10:08 +04:00
Martin Doerr
1ae2111815 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: bpb
Backport-of: 819f3d6fc7
2024-11-15 08:10:08 +04:00
Martin Doerr
5fd677a996 8328999: Update GIFlib to 5.2.2
Backport-of: 6969a9e0b2
2024-11-15 08:10:07 +04:00
Martin Doerr
cd2eb4e1f4 8324577: [REDO] - [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Backport-of: f1d0e715b6
2024-11-15 08:10:07 +04:00
Martin Doerr
256a29c543 8305072: Win32ShellFolder2.compareTo is inconsistent
Backport-of: 2fcb816858
2024-11-15 08:10:06 +04:00
Martin Doerr
53165a77d0 8329004: Update Libpng to 1.6.43
Backport-of: 4e4229438a
2024-11-15 08:10:06 +04:00
Martin Doerr
e39f9bec06 8328953: JEditorPane.read throws ChangedCharSetException
Backport-of: 245514da51
2024-11-15 08:10:05 +04:00
Martin Doerr
0d435485aa 8325179: Race in BasicDirectoryModel.validateFileCache
8238169: BasicDirectoryModel getDirectories and DoChangeContents.run can deadlock

Backport-of: e66788c165
2024-11-15 08:10:05 +04:00
Martin Doerr
3c5b9f5dff 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: bpb
Backport-of: 6b7c9718d6
2024-11-15 08:10:04 +04:00
Martin Doerr
a113b04b1d 8329126: No native wrappers generated anymore with -XX:-TieredCompilation after JDK-8251462
Backport-of: f2e5808b46
2024-11-15 08:10:04 +04:00
Xiaolong Peng
cadf909da3 8329134: Reconsider TLAB zapping
Backport-of: 5698f7ad29
2024-11-15 08:10:04 +04:00
Xiaolong Peng
dc9547cf4b 8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround
Reviewed-by: phh
Backport-of: 5746137e8a
2024-11-15 08:10:03 +04:00
Andrew Lu
cb746500a7 8327040: Problemlist ActionListenerCalledTwiceTest.java test failing in macos14
Backport-of: 0d35450362
2024-11-15 08:10:03 +04:00
Sergey Bylokhov
fb906fb937 8325763: Revert properties: vm.opt.x.*
Backport-of: 0aaec97527
2024-11-15 08:10:02 +04:00
Sergey Bylokhov
456f34b8eb 8310072: JComboBox/DisabledComboBoxFontTestAuto: Enabled and disabled ComboBox does not match in these LAFs: GTK+
Backport-of: eb60822a45
2024-11-15 08:10:02 +04:00
Per Minborg
a609aacde3 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Reviewed-by: mdoerr
Backport-of: 93579c29e3
2024-11-15 08:10:02 +04:00
Martin Doerr
19ffd83c53 8324668: JDWP process management needs more efficient file descriptor handling
Backport-of: a663248786
2024-11-15 08:10:02 +04:00
Martin Doerr
40a65aef85 8323670: A few client tests intermittently throw ConcurrentModificationException
Backport-of: 70e7cdcb9e
2024-11-15 08:10:01 +04:00
Martin Doerr
b06ed38a97 8319773: Avoid inflating monitors when installing hash codes for LM_LIGHTWEIGHT
Backport-of: 65a0672791
2024-11-15 08:10:01 +04:00
Martin Doerr
fe61f10d14 8326106: Write and clear stack trace table outside of safepoint
Backport-of: a776104e21
2024-11-15 08:10:00 +04:00
Martin Doerr
2e1dd0f1d5 8312229: Crash involving yield, switch and anonymous classes
Backport-of: 1f81e5b19e
2024-11-15 08:09:59 +04:00
Aleksey Shipilev
dffa1c4268 8331573: Rename CollectedHeap::is_gc_active to be explicitly about STW GCs
Reviewed-by: phh
Backport-of: 1eec30a6c0
2024-11-15 08:09:59 +04:00
SendaoYan
9d28ee4274 8331164: createJMHBundle.sh download jars fail when url needed to be redirected
Backport-of: eb88343fb7
2024-11-15 08:09:58 +04:00
Xiaolong Peng
14c82b9479 8328075: Shenandoah: Avoid forwarding when objects don't move in full-GC
Backport-of: 80ccc989a8
2024-11-15 08:09:58 +04:00
Andrew Lu
d056d0003e 8307788: vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java timed out
Backport-of: 929af9ed03
2024-11-15 08:09:57 +04:00
Andrew Lu
69e73771d8 8317288: [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab
Backport-of: db5613af89
2024-11-15 08:09:57 +04:00
Andrew Lu
5c53499ac0 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Backport-of: 1b0dd7c254
2024-11-15 08:09:56 +04:00
Sergey Bylokhov
7ee9a2b401 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Backport-of: b285ed72ae
2024-11-15 08:09:56 +04:00
Sergey Bylokhov
13cf5b2fc2 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
Backport-of: 9b1d6d66b8
2024-11-15 08:09:55 +04:00
Sergey Bylokhov
1c4d3fc0ef 8331746: Create a test to verify that the cmm id is not ignored
Backport-of: 7c750fd95b
2024-11-15 08:09:55 +04:00
Ashutosh Mehra
f957cc9044 8333093: Incorrect comment in zAddress_aarch64.cpp
Reviewed-by: stefank
Backport-of: 51ae08f72b
2024-11-15 08:09:55 +04:00
Aleksey Shipilev
766938038c 8331714: Make OopMapCache installation lock-free
Backport-of: a2584a8341
2024-11-15 08:09:54 +04:00
Liang Mao
e7a2a4c886 8330576: ZYoungCompactionLimit should have range check
Backport-of: c4f5c5140a
2024-11-15 08:09:54 +04:00
SendaoYan
4e609d2352 8318479: [jmh] the test security.CacheBench failed for multiple threads run
Backport-of: 1535528cb1
2024-11-15 08:09:53 +04:00
SendaoYan
f7b2860d14 8332490: JMH org.openjdk.bench.java.util.zip.InflaterInputStreams.inflaterInputStreamRead OOM
Backport-of: 98f6a80852
2024-11-15 08:09:53 +04:00
Christoph Langer
9c2da6bd35 8331266: Bump update version for OpenJDK: jdk-21.0.5
Reviewed-by: mdoerr, sgehwolf
2024-11-15 08:09:53 +04:00
Vladimir Dvorak
7dbc9d0e1d JBR-7447 use new method for unregister nmethods in G1
caused by JBR-7219 ("Rebasing JBR21 on top of OpenJDK 21.0.4") and changes in G1 nmethods unregister
2024-09-27 06:20:31 +04:00
Vitaly Provodin
6f18a71218 JBR-7656 migrate build platforms to OL7 2024-09-25 16:54:50 +04:00
Vitaly Provodin
324ce38514 update exclude list on results of 21.0.4_b509.17 2024-09-25 01:37:44 +04:00
Vitaly Provodin
756c7b7cff JBR-5989 Wayland: exclude tests failing on virtual agents 2024-09-25 01:31:03 +04:00
Vitaly Provodin
1014214c11 Reapply "JBR-5989 Wayland: add tests introduced in 21.0.4 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance""
This reverts commit 3ac26cf6b3.
2024-09-25 01:30:37 +04:00
Vitaly Provodin
7f5cfd77c8 JBR-7511 migrate build platforms to OL7
- modify scripts for building images from Oracle Linux 7
- update jb/build/VerifyDependencies.java to check libraries have no dependency on symbols from glibc version higher than 2.17
2024-09-24 17:41:38 +04:00
Vitaly Provodin
04855758c8 update exclude list on results of 21.0.2_b545 (21.0.4) test runs 2024-09-05 02:03:50 +04:00
Matthias Baesken
4c17d7a7e5 8333542: Breakpoint in parallel code does not work
Reviewed-by: lucy
Backport-of: b3bf31a0a0
2024-09-05 02:03:34 +04:00
Martin Balao
f56de1fd3c 8320548: Improved loop handling
Backport-of: 72eed2f709caa48c82f58fe75c7e94d2c45947e1
2024-09-05 02:03:33 +04:00
Martin Balao
dbcc225e80 8327413: Enhance compilation efficiency
Backport-of: eb1f33f525846e6020185cbc5d6e48cbc760dbb2
2024-09-05 02:03:33 +04:00
Yuri Nesterenko
5f46a25591 8324559: Improve 2D image handling
Reviewed-by: mbalao
Backport-of: 1a5a44019871c411148ca85d0491cc68d2256e4e
2024-09-05 02:03:33 +04:00
Aleksei Voitylov
d41e874da9 8323390: Enhance mask blit functionality
Reviewed-by: mbalao
Backport-of: 895893f2fbf1c521d4a263d505f0ecbda8d2eeea
2024-09-05 02:03:32 +04:00
Martin Balao
274bc58be9 8323231: Improve array management
Reviewed-by: mbaesken
Backport-of: cf20364d0cb3f182880ee91c7fb023615e27becf
2024-09-05 02:03:32 +04:00
Yuri Nesterenko
4c363d95fc 8320097: Improve Image transformations
Reviewed-by: mbalao
Backport-of: 1401634b21b76db90291011bcae68c461742e687
2024-09-05 02:03:32 +04:00
Aleksei Voitylov
2b8497c909 8325600: Better symbol storage
Reviewed-by: mbalao
Backport-of: da06689bf6fde7b6dd8efc2f0c39fc95adcdb69d
2024-09-05 02:03:32 +04:00
Aleksei Voitylov
1710cadef9 8319859: Better symbol storage
Reviewed-by: yan, mbalao
Backport-of: f7857e9106841f402ade56bad0338fc53159fb9a
2024-09-05 02:03:32 +04:00
Alexei Voitylov
93684ff2d9 8314794: Improve UTF8 String supports
Reviewed-by: mbalao, evergizova
Backport-of: ab2532d858de8d855529b6f2491f94c499f94009
2024-09-05 02:03:31 +04:00
SendaoYan
af039ea7ad 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: mdoerr
Backport-of: 8e1d2b091c
2024-09-05 02:03:31 +04:00
Martin Doerr
5aaafd5eb6 8320692: Null icon returned for .exe without custom icon
Backport-of: 6212264cc6
2024-09-05 02:03:31 +04:00
Ashutosh Mehra
e9915871f1 8330275: Crash in XMark::follow_array
Reviewed-by: stuefe
Backport-of: 42b1d858d1
2024-09-05 02:03:31 +04:00
Matthias Baesken
2267dfa8e6 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Backport-of: 377f2e538a
2024-09-05 02:03:30 +04:00
Andrew Lu
80f058a592 8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Backport-of: 5045839cb2
2024-09-05 02:03:30 +04:00
Vladimir Petko
a2eaba4353 8295111: dpkg appears to have problems resolving symbolically linked native libraries
Backport-of: 32946e1882
2024-09-05 02:03:30 +04:00
Matthias Baesken
dbb3bd7e19 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
Backport-of: c9442014e5
2024-09-05 02:03:30 +04:00
Ben Taylor
b9cab704db 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Backport-of: aca1e8365b
2024-09-05 02:03:29 +04:00
Matthias Baesken
e578e7eaea 8330464: hserr generic events - add entry for the before_exit calls
Backport-of: 45ed97f15b
2024-09-05 02:03:29 +04:00
Matthias Baesken
8ab99b4099 8329605: hs errfile generic events - move memory protections and nmethod flushes to separate sections
Backport-of: 397d948310
2024-09-05 02:03:29 +04:00
Martin Doerr
2b004f6b17 8321812: Update GC tests to use execute[Limited]TestJava
Reviewed-by: mbaesken
Backport-of: 1d1cd32bc3
2024-09-05 02:03:29 +04:00
Andrew Lu
c390295c2c 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Backport-of: e7c83ea948
2024-09-05 02:03:29 +04:00
Andrew Lu
301902f365 8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
Backport-of: a657aa38a5
2024-09-05 02:03:28 +04:00
Liang Mao
92db55b6cb 8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Backport-of: c1cfb43d8d
2024-09-05 02:03:28 +04:00
Liang Mao
f53a9dc27a 8329840: Fix ZPhysicalMemorySegment::_end type
Backport-of: b4ddddeff1
2024-09-05 02:03:28 +04:00
Andrew Lu
c7365ee34b 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Backport-of: e9eb8b98f4
2024-09-05 02:03:28 +04:00
Sergey Bylokhov
d25f94739d 8332253: Linux arm32 build fails after 8292591
Backport-of: 95f79c6787
2024-09-05 02:03:27 +04:00
SendaoYan
335f342a34 8331466: Problemlist serviceability/dcmd/gc/RunFinalizationTest.java on generic-all
Backport-of: 440782e016
2024-09-05 02:03:27 +04:00
Andrew Lu
ed291ac65c 8321107: Add more test cases for JDK-8319372
Backport-of: ecd335d8f4
2024-09-05 02:03:27 +04:00
María Arias de Reyna
b1aa32a9a2 8316138: Add GlobalSign 2 TLS root certificates
Backport-of: 4083255440
2024-09-05 02:03:27 +04:00
Andrew Lu
a68184e77a 8320715: Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16
Backport-of: 5dcf3a56cb
2024-09-05 02:03:27 +04:00
Matthias Baesken
28aeb41893 8331298: avoid alignment checks in UBSAN enabled build
Backport-of: 60b61e588c
2024-09-05 02:03:26 +04:00
Matthias Baesken
92e7e50fff 8312218: Print additional debug information when hitting assert(in_hash)
Backport-of: 7cbab1f396
2024-09-05 02:03:26 +04:00
Martin Doerr
c669600525 8308144: Uncontrolled memory consumption in SSLFlowDelegate.Reader
Backport-of: 099a8f5b2f
2024-09-05 02:03:26 +04:00
Andrew Lu
374f001dcb 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Backport-of: f50df10591
2024-09-05 02:03:26 +04:00
Matthias Baesken
8b11992a2a 8329663: hs_err file event log entry for thread adding/removing should print current thread
Backport-of: 3ebf8c9359
2024-09-05 02:03:25 +04:00
Matthias Baesken
717c401b69 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Backport-of: 5af6b45eef
2024-09-05 02:03:25 +04:00
Matthias Baesken
663a2e4b46 8331167: UBSan enabled build fails in adlc on macOS
Backport-of: 4edac349a5
2024-09-05 02:03:25 +04:00
Thomas Stuefe
5f0dcefb3d 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Backport-of: d2d37c913e
2024-09-05 02:03:25 +04:00
Aleksey Shipilev
f501c93746 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Backport-of: a7461de231
2024-09-05 02:03:25 +04:00
Andrew Lu
3ef8815ed2 8309871: jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java timed out
Backport-of: b9df827adc
2024-09-05 02:03:24 +04:00
SendaoYan
d1c00d77b2 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Backport-of: 024133b089
2024-09-05 02:03:24 +04:00
SendaoYan
afedda4ee5 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Backport-of: b6233c3de7
2024-09-05 02:03:24 +04:00
Aleksey Shipilev
f0b5dd3486 8320370: NMT: Change MallocMemorySnapshot to simplify code.
Reviewed-by: stuefe
Backport-of: a7f6016406
2024-09-05 02:03:24 +04:00
Chad Rakoczy
89b0c58738 8325621: Improve jspawnhelper version checks
Backport-of: a232e8fb4e
2024-09-05 02:03:23 +04:00
Matthias Baesken
0326c433c3 8330524: Linux ppc64le compile warning with clang in os_linux_ppc.cpp
Backport-of: 252c62a66d
2024-09-05 02:03:23 +04:00
Christoph Langer
be1a9c4533 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Backport-of: 8eac95ec3cd4b215556d788b9ade7a6e2f9deaa3
2024-09-05 02:03:23 +04:00
Christoph Langer
bfa034e6fa 8330815: Use pattern matching for instanceof in KeepAliveCache
Backport-of: 0ec3c0b1e698f7ad39b4da2edb062721e4670f58
2024-09-05 02:03:23 +04:00
Liang Mao
2ca17e98fc 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Backport-of: 762b652912
2024-09-05 02:03:23 +04:00
Liang Mao
05dcc25cc0 8319376: ParallelGC: Forwarded objects found during heap inspection
Backport-of: 59e9981ec2
2024-09-05 02:03:22 +04:00
Aleksey Shipilev
7ae0d9365d 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: rrich
Backport-of: 6af0af5934
2024-09-05 02:03:22 +04:00
Goetz Lindenmaier
c7992ab05b 8317007: Add bulk removal of dead nmethods during class unloading
Backport-of: f553819502
2024-09-05 02:03:22 +04:00
Goetz Lindenmaier
499a66418a 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: stuefe
Backport-of: 38bf1192b6
2024-09-05 02:03:22 +04:00
Alexandru C. Moraru
4ba5722dfd 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Backport-of: 63fe413d93
2024-09-05 02:03:21 +04:00
Christoph Langer
3342fac9c5 8331639: [21u]: Bump GHA bootstrap JDK to 21.0.3
Reviewed-by: sgehwolf
2024-09-05 02:03:21 +04:00
Aleksey Shipilev
791f27b785 8328938: C2 SuperWord: disable vectorization for large stride and scale
Reviewed-by: epeter, simonis
Backport-of: 2931458711
2024-09-05 02:03:21 +04:00
Amit Kumar
abc6d8d691 8310513: [s390x] Intrinsify recursive ObjectMonitor locking
Reviewed-by: lucy
Backport-of: 47df14590c
2024-09-05 02:03:21 +04:00
Amit Kumar
cada951f50 8330011: [s390x] update block-comments to make code consistent
Reviewed-by: lucy
Backport-of: 01bda278d6
2024-09-05 02:03:21 +04:00
Amit Kumar
ea0a3140b4 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: d5f3d5c8cc
2024-09-05 02:03:20 +04:00
SendaoYan
b54125ac9d 8331331: :tier1 target explanation in doc/testing.md is incorrect
Backport-of: 04271dfe7a
2024-09-05 02:03:20 +04:00
Aleksey Shipilev
897bc929f9 8328703: Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
Backport-of: 87e864bf21
2024-09-05 02:03:20 +04:00
Joachim Kern
4e4fe0d453 8329850: [AIX] Allow loading of different members of same shared library archive
Backport-of: cfd19f0176
2024-09-05 02:03:20 +04:00
Gui Cao
5531e4301a 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang
Backport-of: b0496096dc
2024-09-05 02:03:19 +04:00
Goetz Lindenmaier
584b8410ba 8317809: Insertion of free code blobs into code cache can be very slow during class unloading
Reviewed-by: phh, adinn
Backport-of: 30817b7423
2024-09-05 02:03:19 +04:00
Zhengyu Gu
6381d86bbe 8328744: Parallel: Parallel GC throws OOM before heap is fully expanded
Backport-of: bf8146eac24ba8e00d1794ef7134ecf2476cf897
2024-09-05 02:03:19 +04:00
Aleksey Shipilev
3ad30b861a 8328822: C2: "negative trip count?" assert failure in profile predicate code
Backport-of: 2ceeb6c001
2024-09-05 02:03:19 +04:00
Aleksey Shipilev
bbc3057366 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks
8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()

Backport-of: cb2a671359
2024-09-05 02:03:19 +04:00
Bernhard Urban-Forster
23c5cc4796 8326974: ODR violation in macroAssembler_aarch64.cpp
Backport-of: b972997af7
2024-09-05 02:03:18 +04:00
Zhengyu Gu
64b7721cfc 8319713: Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
Backport-of: 4bcda60266
2024-09-05 02:03:18 +04:00
Amit Kumar
46a3e5b26c 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: lucy
Backport-of: 6f6621303a
2024-09-05 02:03:18 +04:00
Aleksey Shipilev
2eb1483d26 8322962: Upcall stub might go undetected when freezing frames
Backport-of: 93feda3d9a
2024-09-05 02:03:18 +04:00
Aleksey Shipilev
9a30671887 8325095: C2: bailout message broken: ResourceArea allocated string used after free
Reviewed-by: phh
Backport-of: c589555845
2024-09-05 02:03:17 +04:00
Aleksey Shipilev
b1ffee207f 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Backport-of: 7baec66222
2024-09-05 02:03:17 +04:00
Robbin Ehn
c9d2220c3e 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Backport-of: 8990864a53
2024-09-05 02:03:17 +04:00
Goetz Lindenmaier
0b1826f10e 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lucy
Backport-of: cbe329b90a
2024-09-05 02:03:17 +04:00
SendaoYan
9231624002 8331113: createJMHBundle.sh support configurable maven repo mirror
Backport-of: ce9eac3819
2024-09-05 02:03:16 +04:00
Aleksey Shipilev
06a9df6c41 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-09-05 02:03:16 +04:00
Sergey Bylokhov
09784cb8a0 8328194: Add a test to check default rendering engine
Backport-of: c013fa1811
2024-09-05 02:03:16 +04:00
Amos Shi
1eea9ee307 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Backport-of: d1e676360d
2024-09-05 02:03:16 +04:00
María Arias de Reyna
3ebaa2487f 8320061: [nmt] Multiple issues with peak accounting
Reviewed-by: shade, stuefe
Backport-of: dc256fbc64
2024-09-05 02:03:16 +04:00
Jonathan Dowland
6411c530e6 8315889: Open source several Swing HTMLDocument related tests
Backport-of: 8f46abc938
2024-09-05 02:03:15 +04:00
Aleksey Shipilev
19361a3088 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Backport-of: 925d82931c
2024-09-05 02:03:15 +04:00
Aleksey Shipilev
90dd855d5d 8324933: ConcurrentHashTable::statistics_calculate synchronization is expensive
Backport-of: 0e2fdc95ae
2024-09-05 02:03:15 +04:00
Aleksey Shipilev
1c1c44971f 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Backport-of: da4dd7c008
2024-09-05 02:03:15 +04:00
Aleksey Shipilev
3868ebc315 8320924: Improve heap dump performance by optimizing archived object checks
Backport-of: f32ab8cc47
2024-09-05 02:03:15 +04:00
Aleksey Shipilev
94a81095cc 8320707: Virtual thread test updates
Reviewed-by: simonis
Backport-of: b67b71cd87
2024-09-05 02:03:14 +04:00
Aleksey Shipilev
fac9a3b172 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Backport-of: 4b9ec82451
2024-09-05 02:03:14 +04:00
Sonia Zaldana Calles
a03e2459a6 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Backport-of: 94b4ed5766
2024-09-05 02:03:14 +04:00
Sonia Zaldana Calles
1763f07e48 8327971: Multiple ASAN errors reported for metaspace
8327988: When running ASAN, disable dangerous NMT test

Reviewed-by: stuefe, shade
Backport-of: 9e566d76d1
2024-09-05 02:03:14 +04:00
María Arias de Reyna
23ef81ca64 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: stuefe
Backport-of: 8647f001bb
2024-09-05 02:03:13 +04:00
Sonia Zaldana Calles
e0475bb4af 8316242: Opensource SwingGraphics manual test
Backport-of: a57b9dab6c
2024-09-05 02:03:13 +04:00
Sonia Zaldana Calles
304a040727 8316154: Opensource JTextArea manual tests
Backport-of: 33c62e4fff
2024-09-05 02:03:13 +04:00
Goetz Lindenmaier
844e5025ad 8328957: Update PKCS11Test.java to not use hardcoded path
Backport-of: 16576b87b7
2024-09-05 02:03:13 +04:00
Goetz Lindenmaier
1e557351d1 8320525: G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass
Backport-of: 21d361e944
2024-09-05 02:03:12 +04:00
Goetz Lindenmaier
1521618af7 8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Backport-of: 1629a9059b
2024-09-05 02:03:12 +04:00
Amos Shi
6578743eae 8187759: Background not refreshed when painting over a transparent JFrame
Backport-of: 04d43c435d
2024-09-05 02:03:12 +04:00
Amos Shi
15bcf4dac6 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Backport-of: 8f0fb27dec
2024-09-05 02:03:12 +04:00
Amos Shi
8bcbf18b0a 8315824: Open source several Swing Text/HTML related tests
Backport-of: c11f8352e9
2024-09-05 02:03:12 +04:00
Amos Shi
19180e8c87 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Backport-of: d10f277bd3
2024-09-05 02:03:11 +04:00
Amos Shi
0e25ebe13b 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Backport-of: 31e26814db
2024-09-05 02:03:11 +04:00
Goetz Lindenmaier
878599c3e2 8327474: Review use of java.io.tmpdir in jdk tests
Backport-of: 375bfac8e7
2024-09-05 02:03:11 +04:00
Goetz Lindenmaier
60b781edaa 8328555: hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
Backport-of: 23ebd9c3c6
2024-09-05 02:03:11 +04:00
Goetz Lindenmaier
b3542657f8 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Backport-of: 85fc47c81a
2024-09-05 02:03:10 +04:00
Goetz Lindenmaier
fe74da64ad 8327486: java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
Backport-of: e21da4caac
2024-09-05 02:03:10 +04:00
Vladimir Petko
c0618c39a1 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Backport-of: d1099033ac
2024-09-05 02:03:10 +04:00
Aleksey Shipilev
2d415765a1 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Backport-of: 90ab52e598
2024-09-05 02:03:10 +04:00
Goetz Lindenmaier
d0c535baf3 8319955: Improve dependencies removal during class unloading
Reviewed-by: stuefe
Backport-of: fbe19378c3
2024-09-05 02:03:10 +04:00
Goetz Lindenmaier
54435f5ade 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: mbaesken, sgehwolf
Backport-of: 9f767aa44b
2024-09-05 02:03:09 +04:00
Goetz Lindenmaier
7efd151400 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: adinn
Backport-of: c566dfccf8
2024-09-05 02:03:09 +04:00
Goetz Lindenmaier
7a77d39229 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: roland
Backport-of: c9985720b9
2024-09-05 02:03:09 +04:00
Goetz Lindenmaier
4891787e1b 8323685: PrintSystemDictionaryAtExit has mutex rank assert
Backport-of: 2865afe759
2024-09-05 02:03:09 +04:00
Goetz Lindenmaier
ac3790ad2c 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-09-05 02:03:08 +04:00
Andrew Lu
a9571e104f 8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
Backport-of: f1a24f6d48
2024-09-05 02:03:08 +04:00
Aleksey Shipilev
a913550cc3 8318986: Improve GenericWaitBarrier performance
Backport-of: 30462f9da4
2024-09-05 02:03:08 +04:00
Gui Cao
7cea6e8e0c 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-09-05 02:03:08 +04:00
Robert Toyonaga
0b41b7d290 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
Backport-of: 65be5e0c54
2024-09-05 02:03:07 +04:00
Robert Toyonaga
30586e0f84 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Backport-of: 96530bcc07
2024-09-05 02:03:07 +04:00
Goetz Lindenmaier
6cf5e998d0 8328988: [macos14] Problem list LightweightEventTest.java which fails due to macOS bug described in JDK-8322653
Backport-of: 2374d1e334ba0528b39239a01fe52d5843e678df
2024-09-05 02:03:07 +04:00
Goetz Lindenmaier
61955eb6b3 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Backport-of: d5b95a0ed3
2024-09-05 02:03:07 +04:00
Goetz Lindenmaier
735e159481 8320714: java/util/Locale/LocaleProvidersRun.java and java/util/ResourceBundle/modules/visibility/VisibilityTest.java timeout after passing
Backport-of: 69c0b24386
2024-09-05 02:03:07 +04:00
Andrew Lu
17b359b1c2 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Backport-of: fa823bd21c
2024-09-05 02:03:06 +04:00
Severin Gehwolf
a47075365a 8329961: Buffer overflow in os::Linux::kernel_version
Backport-of: 279ed0ddd5
2024-09-05 02:03:06 +04:00
Matthias Baesken
dc96c29f65 8328589: unify os::breakpoint among posix platforms
Backport-of: 93d1700f23
2024-09-05 02:03:06 +04:00
Sidraya Jayagond
7d9be2e1ee 8329545: [s390x] Fix garbage value being passed in Argument Register
Backport-of: e0fd6c4c9e
2024-09-05 02:03:06 +04:00
Gui Cao
c3b2802a16 8329823: RISC-V: Need to sync CPU features with related JVM flags
Backport-of: b9331cd25c
2024-09-05 02:03:06 +04:00
Goetz Lindenmaier
686015d150 8320349: Simplify FileChooserSymLinkTest.java by using single-window testUI
Backport-of: b1cb37432a
2024-09-05 02:03:05 +04:00
Goetz Lindenmaier
c551ef42f1 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Backport-of: cc8f8da293
2024-09-05 02:03:05 +04:00
Goetz Lindenmaier
ca41463c0b 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Backport-of: 5a6aa569aa
2024-09-05 02:03:05 +04:00
Goetz Lindenmaier
f2945d414b 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Backport-of: 6f5c903d10
2024-09-05 02:03:05 +04:00
Goetz Lindenmaier
0b17e0d1f0 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Backport-of: 1da82a34b1
2024-09-05 02:03:04 +04:00
Christoph Langer
b72d129217 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Backport-of: 92d6fa4abec1fdf8e57723e4490be0ba4f97e59d
2024-09-05 02:03:04 +04:00
Soumadipta Roy
a7d4947131 8316608: Enable parallelism in vmTestbase/gc/vector tests
Backport-of: f61499c73f
2024-09-05 02:03:04 +04:00
Andrew Lu
7a691510d0 8281658: Add a security category to the java -XshowSettings option
Backport-of: 2e12a123c9
2024-09-05 02:03:04 +04:00
Aleksey Shipilev
150effdf28 8328702: C2: Crash during parsing because sub type check is not folded
Backport-of: e5e21a8a6e
2024-09-05 02:03:04 +04:00
Goetz Lindenmaier
4f6e77a356 8328037: Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
Backport-of: 128e60a29f
2024-09-05 02:03:03 +04:00
Goetz Lindenmaier
95f543b429 8321718: ProcessTools.executeProcess calls waitFor before logging
Backport-of: 9ab29f8dcd
2024-09-05 02:03:03 +04:00
Goetz Lindenmaier
809c6050b1 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: sgehwolf
Backport-of: 4eab39d941
2024-09-05 02:03:03 +04:00
Goetz Lindenmaier
a1a12473fa 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Backport-of: 197981b431
2024-09-05 02:03:03 +04:00
Aleksey Shipilev
f10519cfbf 8329570: G1: Excessive is_obj_dead_cond calls in verification
Backport-of: 29992e1fca
2024-09-05 02:03:03 +04:00
Amos Shi
0e60c544ee 8305645: System Tray icons get corrupted when Windows primary monitor changes
Backport-of: 6cd370e04b
2024-09-05 02:03:02 +04:00
Matthias Baesken
921a56ab35 8328604: remove on_aix() function
Backport-of: 940d1965f8
2024-09-05 02:03:02 +04:00
Gui Cao
a01bdefbf1 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: rehn
Backport-of: cbbfa0ddfb
2024-09-05 02:03:02 +04:00
Aleksey Shipilev
3365f2f537 8319650: Improve heap dump performance with class metadata caching
Reviewed-by: phh
Backport-of: 03db82818b
2024-09-05 02:03:02 +04:00
Goetz Lindenmaier
0d634995d3 8325203: System.exit(0) kills the launched 3rd party application
Backport-of: 6944537c3e
2024-09-05 02:03:02 +04:00
Elif Aslan
1805690a18 8325567: jspawnhelper without args fails with segfault
Backport-of: 2627470946
2024-09-05 02:03:01 +04:00
Goetz Lindenmaier
48a2d62412 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677
Backport-of: 4f336085d1
2024-09-05 02:03:01 +04:00
Goetz Lindenmaier
8493674f0f 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Backport-of: 9029bf644e
2024-09-05 02:03:01 +04:00
Goetz Lindenmaier
5be1728b0a 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Backport-of: 3ebe6c192a
2024-09-05 02:03:01 +04:00
Goetz Lindenmaier
204c7544ed 8321163: [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
Backport-of: 672f37324f
2024-09-05 02:03:01 +04:00
Goetz Lindenmaier
5d80e82ab0 8314975: JavadocTester should set source path if not specified
Backport-of: 2f4d601a56
2024-09-05 02:03:00 +04:00
Goetz Lindenmaier
eb5dd57735 8293069: Make -XX:+Verbose less verbose
Backport-of: 238c51e621
2024-09-05 02:03:00 +04:00
Dan Lutker
2144310e03 8294699: Launcher causes lingering busy cursor
Backport-of: d3df3eb5d7
2024-09-05 02:03:00 +04:00
Goetz Lindenmaier
dd75ea0ed1 8316460: 4 javax/management tests ignore VM flags
Backport-of: d39b7bab27
2024-09-05 02:03:00 +04:00
Goetz Lindenmaier
61192b72aa 8318962: Update ProcessTools javadoc with suggestions in 8315097
Backport-of: 7e4cb2f09d
2024-09-05 02:02:59 +04:00
Goetz Lindenmaier
41acd48583 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
Backport-of: 1696603ccd
2024-09-05 02:02:59 +04:00
Goetz Lindenmaier
2333e86d4f 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Backport-of: 89987dbf87
2024-09-05 02:02:59 +04:00
Matthias Baesken
bacd249f84 8327468: Do not restart close if errno is EINTR [macOS/linux]
Backport-of: 481c866df8
2024-09-05 02:02:59 +04:00
Matthias Baesken
d7367104ee 8328709: AIX os::get_summary_cpu_info support Power 10
Backport-of: b235682a18
2024-09-05 02:02:58 +04:00
Matthias Baesken
532bf8ac39 8328776: [AIX] remove checked_vmgetinfo, use vmgetinfo directly
Backport-of: cf9b5a71bd
2024-09-05 02:02:58 +04:00
Goetz Lindenmaier
7af63fd9d6 8319153: Fix: Class is a raw type in ProcessTools
Backport-of: 1c2ea1d27b
2024-09-05 02:02:58 +04:00
Goetz Lindenmaier
6d7c8b42ef 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Backport-of: ee9776fa23
2024-09-05 02:02:58 +04:00
Goetz Lindenmaier
e4c831f0a7 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Backport-of: 0eb0997ae4
2024-09-05 02:02:58 +04:00
Aleksey Shipilev
839cd1d95d 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-09-05 02:02:57 +04:00
Christoph Langer
b5718805c9 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
Backport-of: dcca5daaf7f51c6579369c6ba3430a3d7962dbf2
2024-09-05 02:02:57 +04:00
Goetz Lindenmaier
fe9aeba1a4 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-09-05 02:02:57 +04:00
Goetz Lindenmaier
1cef7840ea 8317350: Move code cache purging out of CodeCache::UnloadingScope
Backport-of: bd3bc2c618
2024-09-05 02:02:57 +04:00
Goetz Lindenmaier
b5c2c56069 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Backport-of: 1082c0e767
2024-09-05 02:02:56 +04:00
Goetz Lindenmaier
abffc43314 8317235: Remove Access API use in nmethod class
Backport-of: c47a0ce3f0
2024-09-05 02:02:56 +04:00
Goetz Lindenmaier
09474246a5 8316669: ImmutableOopMapSet destructor not called
Backport-of: 3d6e775d71
2024-09-05 02:02:56 +04:00
Goetz Lindenmaier
e2f4d0cfe6 8316670: Remove effectively unused nmethodBucket::_count
Backport-of: 837783c2d3
2024-09-05 02:02:56 +04:00
Goetz Lindenmaier
c8bd544ab6 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: lucy
Backport-of: 8dfde28b28
2024-09-05 02:02:56 +04:00
Goetz Lindenmaier
0ec142c5c2 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Backport-of: 347beb21aa
2024-09-05 02:02:55 +04:00
Goetz Lindenmaier
d8d58c148c 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Backport-of: 50158f393e
2024-09-05 02:02:55 +04:00
Goetz Lindenmaier
e4a75661fc 8315605: G1: Add number of nmethods in code roots scanning statistics
Backport-of: 7ef059a75c
2024-09-05 02:02:55 +04:00
Goetz Lindenmaier
b925580640 8294985: SSLEngine throws IAE during parsing of X500Principal
Backport-of: 80edd5c298
2024-09-05 02:02:55 +04:00
Aleksey Shipilev
28b517fd6b 8328592: hprof tests fail with -XX:-CompactStrings
Backport-of: bb3e84bd1f
2024-09-05 02:02:55 +04:00
Long Yang
bb428122d6 8319876: Reduce memory consumption of VM_ThreadDump::doit
Reviewed-by: phh
Backport-of: 8ec6b8de3b
2024-09-05 02:02:54 +04:00
Taizo Kurashige
d48727365d 8313710: jcmd: typo in the documentation of JFR.start and JFR.dump
Backport-of: 16d917a85f
2024-09-05 02:02:54 +04:00
Elif Aslan
478dda8816 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Backport-of: 29d462a072
2024-09-05 02:02:54 +04:00
Elif Aslan
cc2d74eae1 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Backport-of: 9688ec2d0d
2024-09-05 02:02:54 +04:00
María Arias de Reyna
7fda995722 8319437: NMT should show library names in call stacks
Backport-of: e33b6c10f8
2024-09-05 02:02:53 +04:00
Goetz Lindenmaier
91e3191b57 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Backport-of: d44aaa37f9
2024-09-05 02:02:53 +04:00
Goetz Lindenmaier
2b5d3b2db5 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Backport-of: 1612b6dc6e
2024-09-05 02:02:53 +04:00
Andrew Lu
a6fa03218e 8328812: Update and move siphash license
Backport-of: ce7ebaa606
2024-09-05 02:02:53 +04:00
Elif Aslan
9d2e8b4e56 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Backport-of: cc1800fa4d
2024-09-05 02:02:53 +04:00
Andrew Lu
da01f25337 8323994: gtest runner repeats test name for every single gtest assertion
Backport-of: 1aae980c54
2024-09-05 02:02:52 +04:00
Andrew Lu
e75f7bdc5f 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Backport-of: 1f43fa0f8b
2024-09-05 02:02:52 +04:00
Goetz Lindenmaier
6bb10f89c5 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Backport-of: 66520be7a7
2024-09-05 02:02:52 +04:00
Aleksey Shipilev
dac4a8a81f 8328825: Google CAInterop test failures
Backport-of: 70a15c7363
2024-09-05 02:02:52 +04:00
Aleksey Shipilev
e81ff32b42 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c
2024-09-05 02:02:51 +04:00
Goetz Lindenmaier
f9c28c6225 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Backport-of: 9f7094079b
2024-09-05 02:02:51 +04:00
Goetz Lindenmaier
03cde741c3 8319648: java/lang/SecurityManager tests ignore vm flags
Backport-of: 437cf354e2
2024-09-05 02:02:51 +04:00
Goetz Lindenmaier
35f11d0e48 8326948: Force English locale for timeout formatting
Backport-of: e772e78179
2024-09-05 02:02:51 +04:00
Goetz Lindenmaier
93f15d3bd6 8326824: Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java
Backport-of: 552411f832
2024-09-05 02:02:51 +04:00
Goetz Lindenmaier
6258dbe2c4 8319651: Several network tests ignore vm flags when start java process
Backport-of: 9538f5d317
2024-09-05 02:02:50 +04:00
Goetz Lindenmaier
fc1054b39e 8324236: compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
Backport-of: 72ba8178a8
2024-09-05 02:02:50 +04:00
Goetz Lindenmaier
34ebd82ef1 8319571: Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
Backport-of: b78896b9aa
2024-09-05 02:02:50 +04:00
Aleksey Shipilev
b442383d31 8328705: GHA: Cross-compilation jobs do not require build JDK
Backport-of: 29ba4b7d1e
2024-09-05 02:02:50 +04:00
Goetz Lindenmaier
fa598ef82d 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Backport-of: 52a6c37558
2024-09-05 02:02:50 +04:00
Goetz Lindenmaier
e40fc7d53f 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Backport-of: 62b7c5eaed
2024-09-05 02:02:49 +04:00
Goetz Lindenmaier
b830681e61 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-09-05 02:02:49 +04:00
Goetz Lindenmaier
0b1c937c69 8319574: Exec/process tests should be marked as flagless
Backport-of: 68110b7a82
2024-09-05 02:02:49 +04:00
Goetz Lindenmaier
ba598f2298 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Backport-of: bfbc41c1f1
2024-09-05 02:02:49 +04:00
Goetz Lindenmaier
c7d6172568 8316164: Opensource JMenuBar manual test
Backport-of: 8f4dfc443b
2024-09-05 02:02:48 +04:00
Sonia Zaldana Calles
9e56ecf693 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Backport-of: 43c6f0b588
2024-09-05 02:02:48 +04:00
Sonia Zaldana Calles
3f9fbcb91c 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Backport-of: 6c0bebccb0
2024-09-05 02:02:48 +04:00
Sonia Zaldana Calles
a68ad901e5 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-09-05 02:02:48 +04:00
Sonia Zaldana Calles
ce70daa26a 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Backport-of: c3c1d5bd12
2024-09-05 02:02:48 +04:00
Aleksey Shipilev
a870ba8c32 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Backport-of: f207aa94f9
2024-09-05 02:02:47 +04:00
Matthias Baesken
dfcf5e2c04 8328165: improve assert(idx < _maxlrg) failed: oob
Backport-of: d57bdd85ab
2024-09-05 02:02:47 +04:00
Andrew Lu
e189814f0b 8315663: Open source misc awt tests
Backport-of: a36f5a54ab
2024-09-05 02:02:47 +04:00
Andrew Lu
77d9e577e8 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Backport-of: bdd1aebea3
2024-09-05 02:02:47 +04:00
Goetz Lindenmaier
870cef7336 8325908: Finish removal of IntlTest and CollatorTest
Backport-of: 4c7b313e0d
2024-09-05 02:02:47 +04:00
Goetz Lindenmaier
66180a5117 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-09-05 02:02:46 +04:00
Aleksey Shipilev
207325f3a0 8319048: Monitor deflation unlink phase prolongs time to safepoint
Backport-of: efc392259c
2024-09-05 02:02:46 +04:00
Goetz Lindenmaier
9a2fdb8c8a 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: eebcc2181f
2024-09-05 02:02:46 +04:00
Goetz Lindenmaier
7e9dd752cc 8317631: Refactor ChoiceFormat tests to use JUnit
Backport-of: 5e8d893c48
2024-09-05 02:02:46 +04:00
Alexander Scherbatiy
4c0d8f437a 7001133: OutOfMemoryError by CustomMediaSizeName implementation
Backport-of: 10335f60f9
2024-09-05 02:02:45 +04:00
Alexander Scherbatiy
30ca43b950 8320365: IPPPrintService.getAttributes() causes blanket re-initialisation
Backport-of: 91ffdfb1fc
2024-09-05 02:02:45 +04:00
Oli Gillespie
89dca27d2e 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade
Backport-of: 8ef918d667
2024-09-05 02:02:45 +04:00
Robert Toyonaga
37409bc42d 8326529: JFR: Test for CompilerCompile events fails due to time out
Backport-of: 4dd6c44cbd
2024-09-05 02:02:45 +04:00
Goetz Lindenmaier
17c3f5af1e 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: dde519dc21
2024-09-05 02:02:44 +04:00
Goetz Lindenmaier
6b77763b7e 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Backport-of: 95310eab6c
2024-09-05 02:02:44 +04:00
Goetz Lindenmaier
18f94b19ee 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Backport-of: 868f8745fa
2024-09-05 02:02:44 +04:00
Goetz Lindenmaier
eb97c35ad4 8288989: Make tests not depend on the source code
Backport-of: 2838a916ab
2024-09-05 02:02:44 +04:00
Goetz Lindenmaier
c01fc797f0 8316696: Remove the testing base classes: IntlTest and CollatorTest
Backport-of: b859da9c54
2024-09-05 02:02:44 +04:00
Goetz Lindenmaier
9fbeb2ddc6 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Backport-of: 8d29329138
2024-09-05 02:02:43 +04:00
Goetz Lindenmaier
c335c808e8 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Backport-of: d7251c1755
2024-09-05 02:02:43 +04:00
Oli Gillespie
c4fba73c07 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-09-05 02:02:43 +04:00
Aleksey Shipilev
d8401ec94d 8325613: CTW: Stale method cleanup requires GC after Sweeper removal
Backport-of: 1281e18f14
2024-09-05 02:02:43 +04:00
Long Yang
659dd3fed1 8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Backport-of: 6f8b0a33fa
2024-09-05 02:02:43 +04:00
Aleksey Shipilev
220a734c87 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-09-05 02:02:42 +04:00
Dan Lutker
a0e47b12e5 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Reviewed-by: shade
Backport-of: 5d414da504
2024-09-05 02:02:42 +04:00
Goetz Lindenmaier
e674cc6113 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-09-05 02:02:42 +04:00
Goetz Lindenmaier
6526ff823c 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Backport-of: 3b1062d45d
2024-09-05 02:02:42 +04:00
Goetz Lindenmaier
16536dfa46 8321489: Update LCMS to 2.16
Backport-of: dc7d3b182d
2024-09-05 02:02:41 +04:00
Goetz Lindenmaier
e8762c1275 8316559: Refactor some util/Calendar tests to JUnit
Backport-of: 355811a996
2024-09-05 02:02:41 +04:00
Goetz Lindenmaier
15d7432801 8313612: Use JUnit in lib-test/jdk tests
Backport-of: a35e96a3fa
2024-09-05 02:02:41 +04:00
Goetz Lindenmaier
a5025aa8ec 8314832: Few runtime/os tests ignore vm flags
Backport-of: fc3e826692
2024-09-05 02:02:41 +04:00
Goetz Lindenmaier
db4399e534 8310818: Refactor more Locale tests to use JUnit
Backport-of: 12e9430910
2024-09-05 02:02:40 +04:00
Goetz Lindenmaier
4de1f41888 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Backport-of: 05e9c41edd
2024-09-05 02:02:40 +04:00
Goetz Lindenmaier
c9b151343a 8310234: Refactor Locale tests to use JUnit
Backport-of: dad7bd9efc
2024-09-05 02:02:40 +04:00
William Kemper
5da6be9f56 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: shade
Backport-of: 51238c4bdb
2024-09-05 02:02:40 +04:00
Andrew Lu
6a25fb1617 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Backport-of: 62c9530c05
2024-09-05 02:02:40 +04:00
William Kemper
9fe1e56d62 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: phh
Backport-of: 808a03927c
2024-09-05 02:02:39 +04:00
Matthias Baesken
198f4607af 8326496: [test] checkHsErrFileContent support printing hserr in error case
Backport-of: a065eba56d
2024-09-05 02:02:39 +04:00
Matthias Baesken
0dae46830d 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Backport-of: d0039960c4
2024-09-05 02:02:39 +04:00
Andrew Lu
06b6d84c9e 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Backport-of: 8be3e39220
2024-09-05 02:02:39 +04:00
Matthias Baesken
bd40e34d3c 8325432: enhance assert message "relocation addr must be in this section"
Backport-of: 3d3a8f0ebf
2024-09-05 02:02:38 +04:00
Suchismith Roy
13c6c26416 8320005: Allow loading of shared objects with .a extension on AIX
Backport-of: e85355ada4
2024-09-05 02:02:38 +04:00
Martin Doerr
260abc44fe 8326101: [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: e3ae81eeeee8e2b0063a576a90624dd927b512f0
2024-09-05 02:02:38 +04:00
Andrew Lu
622ee226ef 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Backport-of: f1b73350c2
2024-09-05 02:02:38 +04:00
Andrew Lu
6706fd0bb4 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Backport-of: 721bfee53a
2024-09-05 02:02:38 +04:00
Andrew Lu
7fb1fb5219 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Backport-of: 1f2922ad85
2024-09-05 02:02:37 +04:00
Sonia Zaldana Calles
257a441ec9 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: phh
Backport-of: 82796bdebb
2024-09-05 02:02:37 +04:00
Ludovic Henry
549f4285d4 8321075: RISC-V: UseSystemMemoryBarrier lacking proper OS support
Reviewed-by: rehn, fyang
Backport-of: 68eb5a1df5
2024-09-05 02:02:37 +04:00
Andrew Leonard
49feb606f9 8326685: Linux builds not reproducible if two builds configured in different build folders
Backport-of: 3b90ddfefe
2024-09-05 02:02:37 +04:00
Amos Shi
64009a9b0a 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Backport-of: f7d6d7a04f
2024-09-05 02:02:37 +04:00
Aleksey Shipilev
44cd86b609 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: phh
Backport-of: 4a16d111b1
2024-09-05 02:02:36 +04:00
Matthias Baesken
0051de1475 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Backport-of: d9ef16dbb6
2024-09-05 02:02:36 +04:00
Long Yang
3fb9d41f50 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate
Backport-of: 8dbd4b391f
2024-09-05 02:02:36 +04:00
Matthias Baesken
839055b8ba 8324834: Use _LARGE_FILES on AIX
Backport-of: 8e45182357
2024-09-05 02:02:36 +04:00
Matthias Baesken
a4bfb2451b 8327059: os::Linux::print_proc_sys_info add swappiness information
Backport-of: f3b15abcb7
2024-09-05 02:02:35 +04:00
Amos Shi
991a3cdff3 8315834: Open source several Swing JSpinner related tests
Backport-of: 4a63eb0522
2024-09-05 02:02:35 +04:00
Amos Shi
b87b117124 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Backport-of: 91d8dac9cf
2024-09-05 02:02:35 +04:00
Amos Shi
53cebbb38c 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Backport-of: cbfddf4e1d
2024-09-05 02:02:35 +04:00
Amos Shi
ca198bc3d8 8315677: Open source few swing JFileChooser and other tests
Backport-of: fe5ef5f20d
2024-09-05 02:02:35 +04:00
Martin Doerr
88841a5dec 8325326: [PPC64] Don't relocate in case of allocation failure
Backport-of: 4388095cde
2024-09-05 02:02:34 +04:00
Sonia Zaldana Calles
5049a196c3 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Backport-of: 54f09d7345
2024-09-05 02:02:34 +04:00
Goetz Lindenmaier
5e95fff892 8314828: Mark 3 jcmd command-line options test as vm.flagless
8316228: jcmd tests are broken by 8314828

Backport-of: 23fab1181b
2024-09-05 02:02:34 +04:00
Goetz Lindenmaier
481bb3d563 8320712: Rewrite BadFactoryTest in pure Java
Backport-of: 66971600f7
2024-09-05 02:02:34 +04:00
Goetz Lindenmaier
b701952dc4 8323276: StressDirListings.java fails on AIX
Backport-of: e5aed6be7a
2024-09-05 02:02:33 +04:00
Goetz Lindenmaier
e573e961e2 8322477: order of subclasses in the permits clause can differ between compilations
Reviewed-by: mdoerr
Backport-of: 5ba69e1734
2024-09-05 02:02:33 +04:00
Goetz Lindenmaier
767b286acd 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Backport-of: ace010b38a
2024-09-05 02:02:33 +04:00
Goetz Lindenmaier
7f71e087ee 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Backport-of: 704c6ea16c
2024-09-05 02:02:33 +04:00
Goetz Lindenmaier
aa717ecdab 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Backport-of: 93e82c0146
2024-09-05 02:02:33 +04:00
Goetz Lindenmaier
5a5301cd47 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Backport-of: 1664e793eb
2024-09-05 02:02:32 +04:00
Goetz Lindenmaier
4deb473d9f 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Backport-of: af7f95e24a
2024-09-05 02:02:32 +04:00
Goetz Lindenmaier
28e0e1cdfb 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Backport-of: 57fc9a3e96
2024-09-05 02:02:32 +04:00
SendaoYan
d2300deee3 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Backport-of: 432756b6e5
2024-09-05 02:02:32 +04:00
SendaoYan
2c1adbc1ec 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Backport-of: 52814994ef
2024-09-05 02:02:31 +04:00
Sonia Zaldana Calles
c4bdb3f89d 8315609: Open source few more swing text/html tests
Backport-of: a04c6c1ac6
2024-09-05 02:02:31 +04:00
Sonia Zaldana Calles
90febaeeb9 8315898: Open source swing JMenu tests
Backport-of: fecd2fd8f2
2024-09-05 02:02:31 +04:00
Andrew Lu
9cb195406a 8325972: Add -x to bash for building with LOG=debug
Backport-of: 8668198c26
2024-09-05 02:02:31 +04:00
Andrew Lu
eacf28bf62 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Backport-of: 9f0e7da64e
2024-09-05 02:02:30 +04:00
Richard Reingruber
3d69f56724 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Reviewed-by: mdoerr
2024-09-05 02:02:30 +04:00
Goetz Lindenmaier
e12455f5a6 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Backport-of: acaab6fd74
2024-09-05 02:02:30 +04:00
Oli Gillespie
6aa79b8023 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Backport-of: 69b2674c68
2024-09-05 02:02:30 +04:00
Sonia Zaldana Calles
a8b58a0a85 8320343: Generate GIF images for AbstractButton/5049549/bug5049549.java
Backport-of: 9481d06e62
2024-09-05 02:02:30 +04:00
Matthias Baesken
ffc5971ca5 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Backport-of: 9f4ec21f47
2024-09-05 02:02:29 +04:00
Aleksey Shipilev
31ed03bc34 8323519: Add applications/ctw/modules to Hotspot tiered testing
Backport-of: ba3c3bbd87
2024-09-05 02:02:29 +04:00
Andrew Lu
4fcc8a7537 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-09-05 02:02:29 +04:00
Sergey Bylokhov
94d3d2f4d2 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Backport-of: aba19334ea
2024-09-05 02:02:29 +04:00
KIRIYAMA Takuya
470a490e9e 8313394: Array Elements in OldObjectSample event has the incorrect description
Backport-of: e8c325dea3
2024-09-05 02:02:28 +04:00
Patrick Zhang
eed2c2d67c 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Backport-of: 9936aeea32
2024-09-05 02:02:28 +04:00
Liang Mao
8ed59c2113 8324123: aarch64: fix prfm literal encoding in assembler
Backport-of: bde87895c8
2024-09-05 02:02:27 +04:00
Aleksey Shipilev
d097eedf80 8322846: Running with -Djdk.tracePinnedThreads set can hang
Backport-of: faa9c6909d
2024-09-05 02:02:27 +04:00
Jiří Vaněk
8524a7450e 8323170: j2dbench is using outdated javac source/target to be able to build by itself
Backport-of: b5df2f4314
2024-09-05 02:02:26 +04:00
Aleksey Shipilev
a2602e7567 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-09-05 02:02:26 +04:00
Martin Doerr
5481368ce8 8325213: Flags introduced by configure script are not passed to ADLC build
Backport-of: 9ee9f28849
2024-09-05 02:02:25 +04:00
Aleksey Shipilev
6db51dea4f 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-09-05 02:02:25 +04:00
Aleksey Shipilev
36a6c99070 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Backport-of: 951b5f8ecb
2024-09-05 02:02:25 +04:00
Andrew Lu
5d994775fd 8316053: Open some swing tests 3
Backport-of: a2391a92cd
2024-09-05 02:02:25 +04:00
Liang Mao
6827c69352 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
Backport-of: 80642dd7af
2024-09-05 02:02:24 +04:00
Goetz Lindenmaier
3db28e415d 8326773: Bump update version for OpenJDK: jdk-21.0.4
Reviewed-by: sgehwolf
2024-09-05 02:02:24 +04:00
Vitaly Provodin
6ae7c6d124 update exclude list on results of 21.0.3_b509.15 test runs 2024-09-05 01:56:07 +04:00
Vitaly Provodin
dcfac89827 fixup! JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and pressing Alt+Enter 2024-09-04 15:46:27 +04:00
Dmitrii Morskii
0d6b46c393 JBR-7126 add more possible names for cursor arrow icon 2024-09-04 13:16:05 +04:00
Dmitrii Morskii
7e8dd46566 JBR-7438 tune updateCursorImmediately method 2024-09-04 13:15:53 +04:00
Nikita Tsarev
206ffd8e3a JBR-7478: Fix wrong timestamps on KEY_TYPED events [WLToolkit] 2024-09-04 11:03:37 +04:00
Maxim Kartashev
a888c58985 JBR-7493 Fixed the test 2024-09-04 10:37:00 +04:00
Maxim Kartashёv
85d7eb4a0e JBR-7483 Monitor resolution is incorrect in jbr 21 when scaling with gtk-xft-dpi 2024-09-04 10:36:55 +04:00
Maxim Kartashёv
0a8a871eac JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and pressing Alt+Enter 2024-09-04 10:36:49 +04:00
Maxim Kartashёv
acd734dc4e JBR-7493 Wayland: can't start in maximized state on WSL 2024-09-04 10:36:43 +04:00
Maxim Kartashёv
298e970220 JBR-7313 Wayland: error: xdg_surface buffer does not match the configured maximized state 2024-09-04 10:36:29 +04:00
Vitaly Provodin
b5db416a81 update exclude list on results of 21.0.3_b509.12 test runs 2024-08-16 14:08:15 +04:00
Dmitrii Morskii
c1096115ed JBR-6772 handled case with adding new timers after VM was suspended 2024-08-15 12:29:39 +04:00
Vitaly Provodin
3ac26cf6b3 Revert "JBR-5989 Wayland: add tests introduced in 21.0.4 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance""
This reverts commit 83d1c05a02.
2024-08-12 17:07:13 +04:00
SirYwell
fc3fc5fbf6 JBR-7442 move AllowEnhancedClassRedefinition capabilities override to use sites 2024-08-12 13:07:43 +04:00
Maxim Kartashёv
f64f1e72ac JBR-7390 Wayland: need better headless exception message 2024-08-12 13:07:43 +04:00
Vladimir Dvorak
0d42034379 JBR-7351 DCEVM: Respect explicit -XX:+ClassUnloading option
Ensure that ClassUnloading is not disabled if the -XX:+ClassUnloading flag is explicitly set by the user. Display a warning about potential instability in this configuration.
2024-08-12 13:07:43 +04:00
Maxim Kartashev
abe7a075d2 JBR-7028 Fix FPS counters for Windows 2024-08-12 13:07:43 +04:00
Maxim Kartashev
fcfd8f8e2d JBR-6830 Poor performance with KDE Plasma 6 X11
Use -Dwatch.desktop.geometry=false as a workaround until the KWin issue
is fixed
2024-08-12 13:07:43 +04:00
Vitaly Provodin
83d1c05a02 JBR-5989 Wayland: add tests introduced in 21.0.4 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance" 2024-08-12 13:07:43 +04:00
Coleen Phillimore
350837c4b2 update exclude list on results of 21.0.3_b509.4 test runs 2024-06-27 02:40:20 +04:00
Nikita Provotorov
9fc3a38dd2 JBR-7336 Any keyboard shortcut with Alt produces a Windows system sound.
fixup! JBR-7157: Alt+Shift+Enter sends KEY_TYPED Event.

Consume all WM_SYSCHAR messages (except for the Alt+Space keystroke), not allowing them to reach the system default handling routine, so the last won't make system beeps anymore after any [Shift+]Alt+<digit/letter> keystroke.

(cherry picked from commit 5d0e304db7)
(cherry picked from commit d433cc6f73)
2024-06-26 13:05:41 +04:00
Vitaly Provodin
b25af5ba17 update exclude list on results of 21.0.3_b509.1 test runs 2024-06-25 02:20:13 +04:00
Xue-Lei Andrew Fan
b5c53a5ea4 update exclude list on results of 21.0.3_b509 test runs 2024-06-22 02:22:47 +04:00
Maxim Kartashёv
13e217a8ca JBR-7259 Find Usages popup can't be resized under Wayland
Popup's positioner size has to be in sync with popup's buffer size
2024-06-21 13:56:15 +04:00
Nikita Provotorov
cbe5f7ac35 JBR-7157: Alt+Shift+Enter sends KEY_TYPED Event.
* X11 Linux part: disable posting KEY_TYPED events for VK_ENTER if any modifier except { Shift, Control, Lock, Mode Switch (a.k.a. AltGr), NumLock } is being pressed.
* Windows part: begin ignoring WM_SYSCHAR messages as MSDN instructs.
* Add a regression test.

(cherry picked from commit bacfbcd9e9)
(cherry picked from commit 876ad14545)
(cherry picked from commit 038e62308d)
(cherry picked from commit f7dbeb500d)
2024-06-19 21:17:52 +02:00
Vitaly Provodin
59735978d8 JBR-6696: fix drawableId usage + revert PrinterJob changes (non-appkit thread) 2024-06-19 13:54:28 +02:00
Vitaly Provodin
93f2675111 update exclude list on results of 21.0.3_b499.2 test runs 2024-06-18 16:20:35 +04:00
Maxim Kartashёv
e73d5f140e JBR-7254 Impossible to copy/paste files in Project tree 2024-06-18 14:04:24 +04:00
Maxim Kartashev
ffbe1c85d4 JBR-7290 Wayland: window permanently looses focus after invoking Go To Line dialog 2024-06-17 11:10:49 +04:00
Alexey Ushakov
f9ddafe25a JBR-7308 Vulkan: Build failure in vulkan enabled builds
Added missing header (jni_util.h)
2024-06-15 13:55:16 +02:00
Alexey Ushakov
f187ea1a07 JBR-7305 Vulkan: Implement FILL_SPANS primitive for flat color rendering
Implemented flat color shape rendering
2024-06-15 13:51:43 +02:00
Nikita Tsarev
ce21a7aeb3 JBR-6764: Add null check on hostAdapterLocator 2024-06-15 00:50:40 +02:00
Nikita Tsarev
1a58e7f6f0 JBR-6764: Work around IMEs breaking on macOS due to macOS JavaRuntimeSupport not reporting the correct locale in IMEs once after application startup 2024-06-15 00:49:18 +02:00
Xue-Lei Andrew Fan
fbee237cb5 update exclude list on results of 21.0.3_b480.1 test runs 2024-06-15 02:44:41 +04:00
Nikita Gubarkov
779194185a JBR-7307 Add stub for VKInstance.initNative with disabled Vulkan. 2024-06-14 23:29:58 +02:00
bourgesl
8b1b4e3b33 JBR-6696: added MTLContext CVDisplayLink checks, improved MTLLayer drawable lifecycle, hardened appkit main thread usage with ThreadUtilities instrumentation to monitor all performOnMainThread usages and report high latency tasks in LWCToolkit platform logger (use system property 'sun.awt.mac.mainThreadLatency=xx' in milliseconds), fixed few MainThread violations (PrinterView init)
(cherry picked from commit 1c5be533cb15ccacb9770090cdaed085a319e29a)
2024-06-14 16:24:19 +02:00
Nikita Gubarkov
6d7f7c9484 JBR-7237 Fix cyclic dependency of Wayland and Vulkan initialization (#396) 2024-06-14 13:22:40 +03:00
Maxim Kartashёv
24f6c0ab8a JBR-7072 Wayland: clicks on items of floating context menus are ignored (#405)
JBR-7072 Wayland: clicks on items of floating context menus are ignored
2024-06-14 10:15:47 +04:00
Alexey Ushakov
d0c49bb52c JBR-7256 Vulkan: Implement FILL_PARALLELOGRAM primitive for flat color rendering 2024-06-13 16:53:21 +02:00
Alexey Ushakov
9bdcf328f1 JBR-5063 macOS: SIGILL at [libsystem_kernel] __kill in java.lang.IllegalStateException: Error - unable to initialize Metal after recreation of graphics device. Cannot load metal library...
Add fallback to MTLCreateSystemDefaultDevice for main display
2024-06-12 17:53:36 +02:00
Sergey Shelomentsev
f570d859b7 JBR-4912 test moved from JBR repository 2024-06-12 13:25:48 +03:00
Vladimir Dvorak
0602cc501e JBR-7246 DCEVM: Fix SIGSEGV in method_hash on redefinition 2024-06-11 19:16:07 +02:00
Vladimir Dvorak
41109ce8ba JBR-7245 DCEVM: Fix multiple class modification at breakpoint
If an application is paused at a breakpoint in method M of class C and method M is modified N times, each modification triggers N redefinitions of class C. This patch fixes this bug.
2024-06-11 19:10:49 +02:00
Nikita Gubarkov
15f85125e0 JBR-7276 Keep dynamic call targets after bootstrap 2024-06-10 21:56:00 +02:00
Artem Bochkarev
0e0ebdbe0d JBR-5405: implementation of direct raster loading for VolatileImage 2024-06-10 11:07:49 +04:00
Vitaly Provodin
777948cf70 update exclude list on results of 21.0.3_b480 test runs 2024-06-08 11:15:08 +04:00
Vitaly Provodin
132791ee29 update exclude list on results of 21.0.3_b479 test runs 2024-06-08 02:52:40 +04:00
Vitaly Provodin
ec3192e03a fixup! JBR-7263 introduce /othervm for the tests specifying -Djetbrains.runtime.api.extendRegistry=true 2024-06-08 02:31:52 +04:00
bourgesl
d05e162db2 JBR-7170: fixed NPE if peer is null
(cherry picked from commit 74f4d373eeca8c1ce28fc22ee376669b1c7585ea)
2024-06-07 12:23:05 +02:00
Nikita Gubarkov
972780734a Fix WindowMoveService on Wayland 2024-06-06 18:15:17 +02:00
Nikita Gubarkov
19530bb48e JBR-7263 Refactor JBR API initialization 2024-06-06 17:41:58 +02:00
Nikita Gubarkov
1199634376 JBR-6357 JBR API v1.0.0 2024-06-05 20:12:40 +02:00
Nikita Gubarkov
1aa1c765f8 JBR-7261 Do not init JBR API registry with App classloader 2024-06-05 17:52:56 +02:00
Nikita Tsarev
620e5835b4 JBR-7133: JBR API for IME replacement range on macOS 2024-06-05 16:54:47 +02:00
Vitaly Provodin
050f0f8524 fixup! update exclude lists removing lines related to fixed issues 2024-06-05 13:41:47 +04:00
Vitaly Provodin
c4ea9d4534 update exclude lists removing lines related to fixed issues 2024-06-05 13:40:43 +04:00
Harshitha Onkar
c90d92517b 8318854: [macos14] Running any AWT app prints Secure coding warning
Reviewed-by: kcr, kizune, prr

tracked by JBR-6061
2024-06-05 13:40:43 +04:00
Nikita Gubarkov
39eecc8ce8 JBR-6357 JBR API v3
JBR API frontend is moved into a separate repository.
Rewritten proxy generation, bridges removed, invokedynamic is used instead.
Mapping is now specified using annotations.
Support for extension methods.
Support for arrays and generics.
Added JBR API implementation version.

JBR-7232 Refactor deriveFontWithFeatures & JBRFileDialog JBR API
2024-06-05 01:41:22 +02:00
Roman Shevchenko
63a3eee185 JBR-7194: extension-based filters in native file dialogs 2024-06-05 01:22:22 +02:00
Vitaly Provodin
8a985e35cb JBR-4658 add tier4_no_desktop test group 2024-06-04 08:50:43 +04:00
Vitaly Provodin
db4fb6a2ad update exclude list on results of 21.0.3_b465.3 test runs 2024-06-04 08:50:43 +04:00
Maxim Kartashev
947be2c748 JBR-7237 Separate display connect from WLToolkit initialization 2024-06-03 18:17:37 +04:00
Nikita Gubarkov
1b469ccaea JBR-7238 Fix Font serialization 2024-06-03 15:37:28 +02:00
bourgesl
2f0af4e503 JBR-7170: added explicit @available for addPresentedHandler()
(cherry picked from commit 92febf644c)
2024-06-01 14:10:12 +02:00
Vitaly Provodin
3db1865769 update exclude list on results of 21.0.3_b458.1 test runs 2024-06-01 03:19:59 +04:00
bourgesl
de2b6efa98 JBR-7170: implement FPS counters for metal using callbacks from MTLLayer presentHandler 2024-05-31 17:56:07 +02:00
Sam James
340680d3b2 8324243: Compilation failures in java.desktop module with gcc 14
Reviewed-by: jwaters, ihse, kbarrett, prr
2024-05-31 09:15:10 +02:00
Kim Barrett
0d64fee1c6 8328997: Remove unnecessary template parameter lists in GrowableArray
Reviewed-by: iwalulya, epeter
2024-05-31 09:15:10 +02:00
Jan Kratochvil
3dc09c7888 8331352: error: template-id not allowed for constructor/destructor in C++20
Reviewed-by: kbarrett, stefank
2024-05-31 09:15:10 +02:00
Maxim Kartashev
d8ece060f6 JBR-7202 wayland: memory leak when resizing windows 2024-05-31 09:12:42 +04:00
Maxim Kartashev
0aa17e5e25 JBR-7206 Wayland: Stylepad demo flickers when resizing on KDE 2024-05-31 09:12:11 +04:00
Nikita Gubarkov
c28643392f fixup! JBR-7232 Refactor deriveFontWithFeatures & JBRFileDialog JBR API 2024-05-31 00:25:54 +02:00
Nikita Gubarkov
c430c1e0b7 JBR-7232 Refactor deriveFontWithFeatures & JBRFileDialog JBR API 2024-05-30 22:01:07 +02:00
Nikita Tsarev
c5dbd5d1a3 JBR-7134: Fix InputMethodTests on macOS 2024-05-30 17:45:41 +02:00
Nikita Gubarkov
c1394c1688 JBR-5615 add sun.java2d.logDisplays VM option
It prints to stdout whenever display configuration is changed.
2024-05-30 01:05:00 +02:00
Alexey Ushakov
3f05010c31 JBR-6543 Vulkan: migrate current code to pure c (#267)
JBR-6543 Vulkan: migrate current code to pure c

Replaced C++ vulkan rendering with C one
2024-05-29 19:47:58 +02:00
Maxim Kartashev
ca6a54d1ff JBR-7209 Wayland: modernize window decorations 2024-05-29 13:17:22 +04:00
Maxim Kartashev
8afe214424 JBR-7201 Wayland: update copyright in files generated by wayland-scanner 2024-05-24 15:59:17 +04:00
Maxim Kartashev
17ef8fd65e JBR-7198 Wayland: jvm crashes under KDE
Do not copy the buffer if the drawing buffer has not been resized yet as
the size will not match that of the show buffer.
Also, properly guard against the size change by another thread while
copying.
2024-05-24 15:50:10 +04:00
Maxim Kartashev
3647144b39 Added proper copyright headers 2024-05-24 15:49:20 +04:00
Maxim Kartashev
1e3fb0289d JBR-7158 Wayland: scale with wp_viewport instead of buffer scale 2024-05-24 15:49:20 +04:00
Dmitrii Morskii
56bd776f20 JBR-7128 Use the correct WmSize event type for JFrame moved to another monitor
author: Sergei Tachenov
2024-05-23 13:20:01 +01:00
Viktor Klang
036ef4917f JBR-7182 backport 8332154: Memory leak in SynchronousQueue 2024-05-22 08:42:32 +04:00
Vitaly Provodin
2c287a5f36 update exclude list on results of 21.0.3_b453.2 test runs 2024-05-19 16:43:34 +04:00
Sergey Shelomentsev
d8c179cf77 JBR-7117 Set initial display mode after test execution 2024-05-17 16:00:47 +03:00
Maxim Kartashev
469130b7ec JBR-7151 Test PropertyPermissionOnEDT and others fail with ExceptionInInitializerError 2024-05-15 12:11:29 +04:00
Vitaly Provodin
535416746d update exclude list on results of 21.0.3_b450.1 test runs 2024-05-15 09:14:22 +04:00
Maxim Kartashev
9d011d23df JBR-7028 Implement FPS counter on Linux
Use -Dawt.window.counters to enable.
To output counters per second to stdout/stderr,
use -Dawt.window.counters=stdout or =stderr.

A counter by the name swing.RepaintManager.updateWindows
is always available for Swing applications, but it does not
accurately correspond to frames per second.

Toolkit-dependent counters provide much better accuracy.
On Wayland with memory buffers as the backend two are available:
java2d.native.frames - frames delivered to the Wayland server
java2d.native.framesDropped - fully formed frames that were not
delivered to the Wayland server
2024-05-14 20:35:07 +04:00
Maxim Kartashev
3399c59635 JBR-7047 Deadlock on git fetch on Wayland 2024-05-14 20:09:40 +04:00
Maxim Kartashev
4bd4fcabf8 JBR-6576 Wayland: exception when double-clicking dialog title bar 2024-05-14 20:08:06 +04:00
Nikita Tsarev
01df339ac6 JBR-7119: respect replacementRange in IME events on macOS 2024-05-10 23:30:56 +02:00
Dmitry Drobotov
6dfa6444b1 JBR-6808 Don't create AccessibleJTreeNode for the tree root if it's not visible
* This fixes an issue with AccessibleJTreeNode#getBounds, which adjusts the node's bounds according to the parent node. For nodes whose parent is the invisible root, getBounds was returning null, and it caused issues with assistive technology like macOS Accessibility Zoom.
* Additionally, NVDA will now report correct tree depth levels because the root node won't add to the levels count (JDK-8249806).

(cherry picked from commit f7c47bf3cf)
2024-05-10 18:02:35 +02:00
Vitaly Provodin
69866f39d9 update exclude list on results of 21.0.3_b446.1 test runs 2024-05-09 04:54:55 +04:00
Nikita Provotorov
13d8c351a2 JBR-6456 Sudden keyboard death on Linux using iBus.
Add a workaround for the iBus's bug which leads to the issue.

(cherry picked from commit b8e9dbf8c9)
2024-05-08 00:30:20 +02:00
Dmitrii Morskii
2324820a9b JBR-6376: implement detecting of OS theme on linux 2024-05-07 15:45:16 +02:00
Dmitrii Morskii
96b270b25f Revert "JBR-6372: implement detecting of OS theme on linux"
This reverts commit 51d67613bb.

Commit 51d676 has a wrong issue number in the commit message. To avoid confusion 51d676 commit reverted
2024-05-07 15:45:07 +02:00
Vitaly Provodin
d133624956 JBR-6620 restore displayMode to the state that was before running the test 2024-05-07 15:08:12 +03:00
Vitaly Provodin
9bd0b744be JBR-5989 Wayland: excluded failing tests came with 21.0.3 2024-05-04 02:11:17 +04:00
Vitaly Provodin
0d099c3d27 update exclude list on results of 21.0.3_b442.1 test runs 2024-05-04 02:11:17 +04:00
Maxim Kartashev
ebaf3f9293 JBR-5611 Window header is visible but body not on Linux Ubuntu with external display 2024-05-03 17:53:12 +04:00
Maxim Kartashev
a79bb6107a JBR-7058 Wayland: IDE hang on the popup appearance
Clean up the damage list when resizing a surface.
Additionally, clamp the damaged area before copying to its current
actual size in order to safeguard against invalid external input.
2024-05-02 15:39:37 +03:00
Nikita Gubarkov
0e564fd8b4 JBR-7046 Tolerate subpixelResolution=0 in Metal and OGL 2024-05-02 09:12:35 +02:00
tsarn
6f6aca3c5d JBR-7063: Make .getKeyChar() report chars in KEY_PRESSED/KEY_RELEASED events for compatibility [WLToolkit] (#371) 2024-04-26 10:01:10 +02:00
Nikita Gubarkov
73356a1bf3 JBR-7020 Reorder LCD glyph cache freeing and validation
1. As we started committing the command buffer on glyph cache flush, this invalidates the current encoder. We need to `MTLTR_ValidateGlyphCache` after the flush, not before.
2. There's no reason to maintain separate glyph cache invalidation logic for this singe case (which is a no-op in reality), so just free the cache instead.
2024-04-25 20:57:54 +02:00
tsarn
a4f765d3ec JBR-6848: Support extra mouse buttons for navigation [WLToolkit] 2024-04-24 12:23:42 +02:00
tsarn
176dccc958 JBR-6434: Fix pointer leave also resetting the keyboard modifiers [WLToolkit] (#370) 2024-04-24 12:23:20 +02:00
Vitaly Provodin
05ab1ba789 update exclude list on results of 21.0.3_b436.1 test runs 2024-04-24 04:42:56 +07:00
tsarn
fccbee551a JBR-7044: Reset clickCount on mouse moves [WLToolkit] 2024-04-23 11:41:28 +02:00
Nikita Tsarev
43d04546fb Disable flappy KeyCodesTest assertions, see JBR-6888 2024-04-22 19:39:00 +02:00
Vitaly Provodin
545e2a239c JBR-5989 Wayland: excluded failing tests came with 21.0.3 2024-04-22 13:49:35 +07:00
David Holmes
2ceda42bd1 update exclude list on results of 21.0.3_b436.1 test runs 2024-04-22 13:49:35 +07:00
Maxim Kartashev
473a775980 JBR-6247 Update JBR-specific tests after JDK-8314823 2024-04-20 07:23:13 +07:00
Christoph Langer
23c5a3c5c3 8329838: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.3
Reviewed-by: goetz
2024-04-20 07:23:13 +07:00
Martin Balao
8964174495 8319851: Improve exception logging
Reviewed-by: mbaesken
Backport-of: 87dfeeb14fdd0fa1648a8bec91b5b713cc2c1b83
2024-04-20 07:23:13 +07:00
Martin Balao
e5d86804a3 8322122: Enhance generation of addresses
Backport-of: 1a4a46e102a2bc282fcbec571169867d715f4ade
2024-04-20 07:23:13 +07:00
Alexey Bakhtin
d1f5aaca0e 8318340: Improve RSA key implementations
Reviewed-by: mbalao
Backport-of: 62d9cec1d6b804a70381bfb8ac902b6bb649f8ae
2024-04-20 07:23:13 +07:00
Yuri Nesterenko
d9cc5fcdd4 8315708: Enhance HTTP/2 client usage
Reviewed-by: mbalao
Backport-of: 4bd9637dfe12d330afd7409c27c5778b28a24cf4
2024-04-20 07:23:13 +07:00
Goetz Lindenmaier
5874812b42 8327391: Add SipHash attribution file
Backport-of: fcf48ab3d3
2024-04-20 07:23:13 +07:00
Sergey Bylokhov
f162e1201b 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-04-20 07:23:13 +07:00
Christoph Langer
1d93f278ea 8323664: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fails with JNI warning on some Windows configurations
Backport-of: 99c9ae127c
2024-04-20 07:23:13 +07:00
Matthias Baesken
c53ba04e8b 8325496: Make TrimNativeHeapInterval a product switch
Backport-of: d31fd78d96
2024-04-20 07:23:13 +07:00
Sergey Bylokhov
7ad185e82c 8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
Backport-of: f695ca5884
2024-04-20 07:23:13 +07:00
Matthias Baesken
4c1a32337d 8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Backport-of: ba8db1f6d7
2024-04-20 07:23:13 +07:00
Matthias Baesken
975098124f 8325470: [AIX] use fclose after fopen in read_psinfo
Backport-of: 4513da9496
2024-04-20 07:23:13 +07:00
Andrew Lu
b8a1ec948d 8320303: Allow PassFailJFrame to accept single window creator
Backport-of: 83ffc1ac94
2024-04-20 07:23:12 +07:00
Christoph Langer
4f90ef2772 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Backport-of: c2d9fa26ce
2024-04-20 07:23:12 +07:00
Matthias Baesken
da017d70e5 8314835: gtest wrappers should be marked as flagless
Backport-of: 1ea6463fbb
2024-04-20 07:23:12 +07:00
Martin Balao
6fe25eff11 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Backport-of: 0f5f3c9b97
2024-04-20 07:23:12 +07:00
Pasam Soujanya
d24c6f2a88 8311893: Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
Reviewed-by: hannesw
Backport-of: 783ae56634
2024-04-20 07:23:12 +07:00
Aleksey Shipilev
f24e7c9cf0 8321408: Add Certainly roots R1 and E1
Backport-of: f3073db42a
2024-04-20 07:23:12 +07:00
Aleksey Shipilev
7bedee58cf 8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Backport-of: 2705ed0a71
2024-04-20 07:23:12 +07:00
Andrew Lu
55f154881e 8315726: Open source several AWT applet tests
Backport-of: 1741d13b12
2024-04-20 07:23:12 +07:00
SendaoYan
70d2124c08 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Backport-of: 791b427f44
2024-04-20 07:23:12 +07:00
Liang Mao
62309db677 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId
Backport-of: 88dafe564f
2024-04-20 07:23:12 +07:00
Darragh Clarke
f33eadfeb2 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Backport-of: fbaaac63d4
2024-04-20 07:23:12 +07:00
Ilya Gavrilin
49a28d4aa9 8322790: RISC-V: Tune costs for shuffles with no conversion
Backport-of: 2acb5bd992
2024-04-20 07:23:12 +07:00
Evgeny Astigeevich
e967eecb77 8324874: AArch64: crypto pmull based CRC32/CRC32C intrinsics clobber V8-V15 registers
Backport-of: 4cd318756d
2024-04-20 07:23:12 +07:00
Aleksey Shipilev
2f3ad42146 8318737: Fallback linker passes bad JNI handle
Backport-of: 3885dc5b9a
2024-04-20 07:23:12 +07:00
Joachim Kern
39f0d950cf 8320890: [AIX] Find a better way to mimic dl handle equality
Reviewed-by: mdoerr
Backport-of: b8ae4a8c09
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
90b25ed639 8325672: C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
Backport-of: 74b90aa87e
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
127b336e15 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Backport-of: a62c48b87e
2024-04-20 07:23:11 +07:00
Amos Shi
49c5f45257 8315602: Open source swing security manager test
Backport-of: fd6442c079
2024-04-20 07:23:11 +07:00
Sergey Bylokhov
5e20db4693 8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
Backport-of: 781f368d42
2024-04-20 07:23:11 +07:00
Sergey Bylokhov
7056ef5d9a 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Backport-of: 6c7029ffd4
2024-04-20 07:23:11 +07:00
Andrew John Hughes
45b5a5c521 8009550: PlatformPCSC should load versioned so
Backport-of: 328b381075
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
70783f8246 8319314: NMT detail report slow or hangs for large number of mappings
Reviewed-by: phh
Backport-of: 9938b3f62b
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
990fed1a2c 8323717: Introduce test keyword for tests that need external dependencies
Backport-of: 12b89cd2ee
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
06a7d42da2 8324514: ClassLoaderData::print_on should print address of class loader
Backport-of: fb822e49f2
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
3204f7413f 8324858: [vectorapi] Bounds checking issues when accessing memory segments
Reviewed-by: psandoz
Backport-of: 1ae851387f
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
c0bb4c6bcc 8305962: update jcstress to 0.16
Backport-of: 292ee630ae
2024-04-20 07:23:11 +07:00
Aleksey Shipilev
780ff60a20 8323515: Create test alias "all" for all test roots
8324647: Invalid test group of lib-test after JDK-8323515

Backport-of: 8b9bf75880
2024-04-20 07:23:10 +07:00
George Adams
aeef2a3bcc 8325194: GHA: Add macOS M1 testing
8325444: GHA: JDK-8325194 causes a regression

Reviewed-by: shade
Backport-of: d1c82156ba
2024-04-20 07:23:10 +07:00
Matthias Baesken
6da55c6f97 8324753: [AIX] adjust os_posix after JDK-8318696
Backport-of: 8950d68ddb
2024-04-20 07:23:10 +07:00
Andrew Leonard
6e05b92961 8323671: DevKit build gcc libraries contain full paths to source location
Backport-of: dd0694b9cb
2024-04-20 07:23:10 +07:00
Andrew Leonard
4b2c301516 8323667: Library debug files contain non-reproducible full gcc include paths
Backport-of: 57fad67781
2024-04-20 07:23:10 +07:00
George Adams
f31ed60d2a 8318039: GHA: Bump macOS and Xcode versions
Backport-of: 605c976729
2024-04-20 07:23:10 +07:00
Dan Lutker
5365f15c57 8325150: (tz) Update Timezone Data to 2024a
Backport-of: 917838e0a5
2024-04-20 07:23:10 +07:00
Sergey Bylokhov
40073d3eb5 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph
Backport-of: afdaa2a330
2024-04-20 07:23:10 +07:00
Matthias Baesken
4cff0fa12b 8324637: [aix] Implement support for reporting swap space in jdk.management
Backport-of: 33324a59cc
2024-04-20 07:23:10 +07:00
Matthias Baesken
601e9a220e 8324598: use mem_unit when working with sysinfo memory and swap related information
Backport-of: 7a798d3ceb
2024-04-20 07:23:10 +07:00
Matthias Baesken
14b5ad9319 8323964: runtime/Thread/ThreadCountLimit.java fails intermittently on AIX
Backport-of: 3696765b7d
2024-04-20 07:23:10 +07:00
Aleksey Shipilev
8136e1cfbd 8319777: Zero: Support 8-byte cmpxchg
8320582: Zero: Misplaced CX8 enablement flag

Reviewed-by: phh
Backport-of: 6b96bb640a
2024-04-20 07:23:10 +07:00
Aleksey Shipilev
c02e531a01 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms
Backport-of: ba7d08b819
2024-04-20 07:23:10 +07:00
Aleksey Shipilev
52d4ecc0ce 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Backport-of: ac1cd31949
2024-04-20 07:23:10 +07:00
Aleksey Shipilev
103518c7ce 8321410: Shenandoah: Remove ShenandoahSuspendibleWorkers flag
Backport-of: 2830dd2a7d
2024-04-20 07:23:09 +07:00
Aleksey Shipilev
57f6a1fd20 8322957: Generational ZGC: Relocation selection must join the STS
Reviewed-by: eosterlund, stefank
Backport-of: ba23025cd8
2024-04-20 07:23:09 +07:00
Matthias Baesken
212d4739d4 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: mdoerr, lucy
Backport-of: 6dba2026d7
2024-04-20 07:23:09 +07:00
Goetz Lindenmaier
716df002bd 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: shade
Backport-of: a03954e6c5
2024-04-20 07:23:09 +07:00
Aleksey Shipilev
bd3d991648 8323637: Capture hotspot replay files in GHA
Backport-of: c84c0ab52d
2024-04-20 07:23:09 +07:00
Aleksey Shipilev
3c1b249b5a 8324937: GHA: Avoid multiple test suites per job
Backport-of: 1aba78f272
2024-04-20 07:23:09 +07:00
Aleksey Shipilev
ff10958c27 8320052: Zero: Use __atomic built-ins for atomic RMW operations
Backport-of: 020c9007f8
2024-04-20 07:23:09 +07:00
Joachim Kern
59b896f488 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-04-20 07:23:09 +07:00
Aleksey Shipilev
13a90975f4 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-04-20 07:23:09 +07:00
Amos Shi
fc728285b8 8315611: Open source swing text/html and tree test
Backport-of: ae08143d3d
2024-04-20 07:23:09 +07:00
Olga Mikhaltsova
0d5eec9b24 8318157: RISC-V: implement ensureMaterializedForStackWalk intrinsic
Backport-of: d6b4aa01a2
2024-04-20 07:23:09 +07:00
Aleksey Shipilev
07e8d4b1f1 8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
Backport-of: 6997bfc68d
2024-04-20 07:23:09 +07:00
Goetz Lindenmaier
2744698591 8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
Backport-of: 87516e29dc
2024-04-20 07:23:09 +07:00
Goetz Lindenmaier
eec0934228 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Backport-of: e8471f6bbe
2024-04-20 07:23:08 +07:00
Amos Shi
1fde35f727 8315600: Open source few more headless Swing misc tests
Backport-of: b05198a4f3
2024-04-20 07:23:08 +07:00
Amos Shi
2b67f88014 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Backport-of: 4a142c3b08
2024-04-20 07:23:08 +07:00
Gui Cao
44f4f95212 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Backport-of: e7fdac9d5c
2024-04-20 07:23:08 +07:00
Aleksey Shipilev
e564debbc6 8324659: GHA: Generic jtreg errors are not reported
Backport-of: c313d451a5
2024-04-20 07:23:08 +07:00
Andrew Lu
2514db615b 8315761: Open source few swing JList and JMenuBar tests
Backport-of: bb6b3f2486
2024-04-20 07:23:08 +07:00
Anton Hägerstrand
c146334163 8322142: JFR: Periodic tasks aren't orphaned between recordings
Backport-of: 1551928502
2024-04-20 07:23:08 +07:00
Andrew Lu
29b7d6545e 8321480: ISO 4217 Amendment 176 Update
Backport-of: 8b24851b9d
2024-04-20 07:23:08 +07:00
Andrew Lu
8b45fe6448 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Backport-of: 00ef9f9c32
2024-04-20 07:23:08 +07:00
William Kemper
0d9b6e5d3a 8317535: Shenandoah: Remove unused code
Reviewed-by: kdnilsen, ysr
Backport-of: e942f368c3
2024-04-20 07:23:08 +07:00
Liang Mao
3f8d817255 8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Backport-of: 0ad6c9e3d9
2024-04-20 07:23:08 +07:00
Goetz Lindenmaier
83f398b68b 8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
Backport-of: 6ce0ebb858
2024-04-20 07:23:08 +07:00
Aleksey Shipilev
ae36dc7f9b 8321122: Shenandoah: Remove ShenandoahLoopOptsAfterExpansion flag
Backport-of: b02fc8681e
2024-04-20 07:23:08 +07:00
Aleksey Shipilev
16de6cba03 8321120: Shenandoah: Remove ShenandoahElasticTLAB flag
Backport-of: 93b9235f19
2024-04-20 07:23:08 +07:00
Aleksey Shipilev
4f75d6b988 8324050: Issue store-store barrier after re-materializing objects during deoptimization
Reviewed-by: kvn
Backport-of: 52523d33dd
2024-04-20 07:23:07 +07:00
Aleksey Shipilev
8064a51ca2 8321269: Require platforms to define DEFAULT_CACHE_LINE_SIZE
Backport-of: a56286f7ad
2024-04-20 07:23:07 +07:00
Aleksey Shipilev
7818f9df26 8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1
Backport-of: 61d0db3838
2024-04-20 07:23:07 +07:00
Aleksey Shipilev
5a757ae67c 8323243: JNI invocation of an abstract instance method corrupts the stack
Backport-of: 71d9a83dec
2024-04-20 07:23:07 +07:00
Aleksey Shipilev
36fe1c1453 8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
Backport-of: bde650f21e
2024-04-20 07:23:07 +07:00
sunyaqi
0611c01aa2 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Backport-of: fe862639e7
2024-04-20 07:23:07 +07:00
Matthias Baesken
4e0d474eb2 8318696: Do not use LFS64 symbols on Linux
Reviewed-by: lucy
Backport-of: f4d08ccf80
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
ddecdf5783 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
8319136: Skip pkcs11 tests on linux-aarch64

Backport-of: c2e77e2f17
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
aa6c164f6e 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Backport-of: 84f4f7477c
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
66e953a966 8312416: Tests in Locale should have more descriptive names
Backport-of: a9a3463afb
2024-04-20 07:23:07 +07:00
Olga Mikhaltsova
205d8bc807 8318158: RISC-V: implement roundD/roundF intrinsics
Backport-of: 19147f326c
2024-04-20 07:23:07 +07:00
Andrew Lu
bc7548c680 8169475: WheelModifier.java fails by timeout
Backport-of: 613d32c282
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
60e0cbdfc6 8077371: Binary files in JAXP test should be removed
Backport-of: 40106422bd
2024-04-20 07:23:06 +07:00
Aleksey Shipilev
2f142c059e 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Backport-of: 50d1839d54
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
03102d6643 8314283: Support for NSS tests on aarch64 platforms
Backport-of: 2a80160960
2024-04-20 07:23:06 +07:00
Johannes Bechberger
d764f632e1 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: asemenov
Backport-of: ffa33d7b80
2024-04-20 07:23:06 +07:00
Liang Mao
ba55143c72 8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompactionLimit as percentage instead of multiples
Reviewed-by: eosterlund
Backport-of: bf813be0f3
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
9fbb6c1339 8323008: filter out harmful -std* flags added by autoconf from CXX
Backport-of: 68c4286026
2024-04-20 07:23:06 +07:00
Richard Reingruber
bf785fe967 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Backport-of: 4bfe226870
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
23c4f41d57 8318590: JButton ignores margin when painting HTML text
Backport-of: acaf2c8dcf
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
0e6029248d 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Backport-of: e2e8e8e210
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
370ea5439e 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Backport-of: dd64a4a483
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
a9400019e7 8311663: Additional refactoring of Locale tests to JUnit
Backport-of: 71cac8ce47
2024-04-20 07:23:06 +07:00
Matthias Baesken
2596cee028 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-04-20 07:23:06 +07:00
Chris Hegarty
0379ddd60d 8323659: LinkedTransferQueue add and put methods call overridable offer
Reviewed-by: shade
Backport-of: ee4d9aa4c1
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
586f29ee92 8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.java and clarify its purpose
Backport-of: f0b7eb519a
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
c3f91052dc 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Backport-of: 4c5b66dcea
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
6bb383183a 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Backport-of: 167d1c1835
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
efff28a9d8 8315721: CloseRace.java#id0 fails transiently on libgraal
Backport-of: 1be355734d
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
7b7717ca9d 8310923: Refactor Currency tests to use JUnit
Backport-of: e848d9471f
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
0c37ada897 8306922: IR verification fails because IR dump is chopped up
Backport-of: 9057b35033
2024-04-20 07:23:05 +07:00
William Kemper
302210b63f 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Backport-of: a7db4feceb
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
d2895f079b 8318613: ChoiceFormat patterns are not well tested
Backport-of: 10427c023a
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
beb9e47322 8316106: Open source few swing JInternalFrame and JMenuBar tests
Backport-of: 0775bf2f03
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
e102758c15 8318154: Improve stability of WheelModifier.java test
Backport-of: 668d4b077f
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
3ff76fd569 8319103: Popups that request focus are not shown on Linux with Wayland
Backport-of: f3ed27582e
2024-04-20 07:23:05 +07:00
William Kemper
56b0d8bdcc 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Backport-of: c4a83bd6f6
2024-04-20 07:23:05 +07:00
Aleksey Shipilev
a5ecda850e 8319372: C2 compilation fails with "Bad immediate dominator info"
Backport-of: 7766785098
2024-04-20 07:23:05 +07:00
Matthias Baesken
fef2ed8406 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Backport-of: b530c0281b
2024-04-20 07:23:04 +07:00
Andrew Lu
7a2cf7b869 8315594: Open source few headless Swing misc tests
Backport-of: 806ef0897b
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
571981a7ec 8321164: javac with annotation processor throws AssertionError: Filling jrt:/... during JarFileObject[/...]
Backport-of: 03c4595173
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
1b6879b584 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Backport-of: e3201d1d13
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
1594f942a0 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Backport-of: 8ae309ebac
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
f0030bba33 8319124: Update XML Security for Java to 3.0.3
Reviewed-by: mbaesken
Backport-of: 1c0bd81a10
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
8e40700bf2 8320888: Shenandoah: Enable ShenandoahVerifyOptoBarriers in debug builds
Backport-of: c86431767e
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
8d7359b260 8320877: Shenandoah: Remove ShenandoahUnloadClassesFrequency support
Backport-of: b65ccff357
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
a6d0b3a5d3 8320907: Shenandoah: Remove ShenandoahSelfFixing flag
Backport-of: 43c7f6a673
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
ba5d63c80e 8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Backport-of: eb9e754b3a
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
96ce5df44a 8322512: StringBuffer.repeat does not work correctly after toString() was called
Backport-of: df22fb322e
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
e8a23bc3b5 8321582: yield <primitive-type>.class not parsed correctly.
Backport-of: ce8399fd60
2024-04-20 07:23:04 +07:00
Christoph Langer
67286d2258 8320309: AIX: pthreads created by foreign test library don't work as expected
Backport-of: 8b47a14958
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
2478e2243f 8318490: Increase timeout for JDK tests that are close to the limit when run with libgraal
Backport-of: 6f263111a1
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
172de978d6 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Backport-of: b20dc1e9cd
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
083dec1ae4 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Backport-of: 0d2196f8e5
2024-04-20 07:23:03 +07:00
Matthias Baesken
8af76ba6b4 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Backport-of: a8e4229852
2024-04-20 07:23:03 +07:00
Elif Aslan
b1391484af 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Backport-of: 43f31d7385
2024-04-20 07:23:03 +07:00
Elif Aslan
2235673006 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Backport-of: cee44a6255
2024-04-20 07:23:03 +07:00
Ichiroh Takiguchi
4123aa656b 6928542: Chinese characters in RTF are not decoded
Backport-of: a26f7c03c7
2024-04-20 07:23:03 +07:00
Dan Lutker
2e7680c71a 8322725: (tz) Update Timezone Data to 2023d
Backport-of: 2a9c3589d9
2024-04-20 07:23:03 +07:00
Aleksey Shipilev
4a3564f78d 8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Backport-of: 11394828b3
2024-04-20 07:23:03 +07:00
Aleksey Shipilev
9650dffa15 8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects
Reviewed-by: eosterlund
Backport-of: be49dabd0d
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
b2bd275307 8210410: Refactor java.util.Currency:i18n shell tests to plain java tests
Backport-of: 2584bf87ae
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
d7390b9e3e 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: aph
Backport-of: 6e1aacdfba
2024-04-20 07:23:03 +07:00
William Kemper
8ae1b67fec 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Backport-of: f0e2e4311b
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
a814b1aa78 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph
Backport-of: ade21a965f
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
c093f7bbd0 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: prappo, simonis
Backport-of: fc29a2e152
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
edda7ce0d1 8319883: Zero: Use atomic built-ins for 64-bit accesses
Backport-of: 25f9af99be
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
8eddcfac13 8320145: Compiler should accept final variable in Record Pattern
Backport-of: 4ba94ef69e
2024-04-20 07:23:02 +07:00
Oli Gillespie
f4431bd5ad 8321599: Data loss in AVX3 Base64 decoding
Backport-of: 13c11487f7
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
63968bca52 8316693: Simplify at-requires checkDockerSupport()
Backport-of: 16fd43c5eb
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
97b6e64098 8319879: Stress mode to randomize incremental inlining decision
Backport-of: 303757b3a0
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
ac105a9b12 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array"
Backport-of: 4ef24e2596
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
df74973f6f 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: roland, shade
Backport-of: 3630af26e6
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
2516132174 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Backport-of: edb2be10fb
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
e287f0c50d 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Backport-of: 2cf5c2f4b6
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
186085fbc1 8319569: Several java/util tests should be updated to accept VM flags
Backport-of: 2bb4b9398d
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
6086ed2389 8315097: Rename createJavaProcessBuilder 8318964: Fix build failures caused by 8315097
Reviewed-by: mdoerr
Backport-of: d52a995f35
2024-04-20 07:23:01 +07:00
Gui Cao
8fcf0c5ccf 8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d
2024-04-20 07:23:01 +07:00
Jonathan Dowland
8890d6ecc1 8315731: Open source several Swing Text related tests
Backport-of: d475f61fd5
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
06de307e05 8320921: GHA: Parallelize hotspot_compiler test jobs
Backport-of: 694136909c
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
3dd5949031 8322321: Add man page doc for -XX:+VerifySharedSpaces
Backport-of: f7dc257a20
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
bdf68e9a2a 8322159: ThisEscapeAnalyzer crashes for erroneous code
Backport-of: 7455b1b527
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
1d1c4f09c4 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Backport-of: 05745e3f1d
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
43e6d72f4f 8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass is not initialized
Backport-of: c8ad7b7f84
2024-04-20 07:23:01 +07:00
Sergey Bylokhov
2fe34911b9 8315042: NPE in PKCS7.parseOldSignedData
Backport-of: 8c0d026d0f
2024-04-20 07:23:01 +07:00
Jonathan Dowland
4ca0af2c3e 8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: component must be showing on the screen to determine its location
Backport-of: e7486e8cfc
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
dcd554c8a8 8309203: C2: remove copy-by-value of GrowableArray for InterfaceSet
Backport-of: 21cda19d05
2024-04-20 07:23:01 +07:00
Sergey Bylokhov
e07b9edaa0 8301310: The SendRawSysexMessage test may cause a JVM crash
Backport-of: d725b73df0
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
43d0442c08 8319137: release _object in ObjectMonitor dtor to avoid races
Reviewed-by: rkennke
Backport-of: c39d001c7a
2024-04-20 07:23:00 +07:00
Sergey Bylokhov
4c0a8cd859 8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Backport-of: eb44bafe77
2024-04-20 07:23:00 +07:00
Jan Kratochvil
5c3c8607b5 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Backport-of: febc34dd28
2024-04-20 07:23:00 +07:00
Christoph Langer
57a3fc6e70 8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken
Backport-of: 32d80e2caf
2024-04-20 07:23:00 +07:00
Sandhya Viswanathan
f3d66dcc62 8320206: Some intrinsics/stubs missing vzeroupper on x86_64
Backport-of: 9b372e28ce
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
8edb40cdb3 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Backport-of: 06a1a15d01
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
d7f256b88b 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Backport-of: edcc559f09
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
9f39f1e03d 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Backport-of: 86dde5e02b
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
ad5ed23c16 8312428: PKCS11 tests fail with NSS 3.91
Backport-of: 1c598c2245
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
a434e64220 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Backport-of: d46f0fb318
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
c52d6f0b80 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Backport-of: e5744b8120
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
02b9b58f0e 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Backport-of: 88b4e3b853
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
700f80ff32 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Backport-of: 2d38495b61
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
791b2d3b6e 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
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
6c5f5b13f3 8315034: File.mkdirs() occasionally fails to create folders on Windows shared folder
Backport-of: 7ad700596f
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
d6a9216998 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Backport-of: bc5a39bb54
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
26068c1572 8318983: Fix comment typo in PKCS12Passwd.java
Backport-of: 949846986f
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
4d40c30a80 8316464: 3 sun/tools tests ignore VM flags
Backport-of: 993951b85e
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
15d50f8d2e 8316447: 8 sun/management/jmxremote tests ignore VM flags
Backport-of: 053f45695f
2024-04-20 07:22:59 +07:00
Aleksey Shipilev
67e0328fcb 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
Backport-of: 5718039a46
2024-04-20 07:22:59 +07:00
Sandhya Viswanathan
7a49498cdc 8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Reviewed-by: shade
Backport-of: 027b5dbb6a
2024-04-20 07:22:59 +07:00
Martin Doerr
b2cfe51a05 8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
Backport-of: 61653a1ff1
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
cc5fbc8d2b 8322418: Problem list gc/TestAllocHumongousFragment.java subtests for 8298781
Backport-of: 6de23bf36e
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
3af8cbde9e 8322417: Console read line with zero out should zero out when throwing exception
Backport-of: 2f917bff5c
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
ebffd876e8 8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker Initiated GC' not in the valid causes
Backport-of: 7c7f8ea30d
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
42dcf943f3 8318689: jtreg is confused when folder name is the same as the test name
Backport-of: a9b31b587c
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
dde6b83c5b 8317358: G1: Make TestMaxNewSize use createTestJvm
Backport-of: 1a098356dd
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
5c80a9cb90 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Backport-of: ca5eee2fe3
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
02b517da3e 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: shade
Backport-of: b685ee00b2
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
5ff2c8fec4 8314320: Mark runtime/CommandLine/ tests as flagless
Backport-of: f481477144
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
bb058796fd 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
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
65291fdb7a 8313854: Some tests in serviceability area fail on localized Windows platform
Backport-of: 49b29845f7
2024-04-20 07:22:58 +07:00
Gui Cao
4fb4bd3866 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Backport-of: e8768ae08d
2024-04-20 07:22:58 +07:00
Liam Miller-Cushon
89ef9aa054 8322040: Missing array bounds check in ClassReader.parameter
Reviewed-by: sgehwolf
Backport-of: 20de541b13
2024-04-20 07:22:58 +07:00
Jaroslav Bachorik
b52ecf435d 8313816: Accessing jmethodID might lead to spurious crashes
Backport-of: cdd1a6e851
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
58b0c1f06d 8321409: Console read line with zero out should zero out underlying buffer in JLine (redux)
Backport-of: 4ed38f5ad5
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
116fd3f114 8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
Backport-of: 1bb250c9e6
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
d6f78f61e4 8209595: MonitorVmStartTerminate.java timed out
Backport-of: a045258ae2
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
2c1530368e 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Backport-of: d6679031e0
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
484634ca94 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Backport-of: a949824e98
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
a717959a7b 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Backport-of: 75b37e6d7e
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
b472d38d55 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Backport-of: d8cd60588a
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
58b80bb143 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Backport-of: 5bd10521eb
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
a7ced1b435 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Backport-of: c64bd3d671
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
1540e5fbf4 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Backport-of: 6ee6171e81
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
e68b1bf9d4 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Backport-of: 7ca0ae9415
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
37d2fcdf25 8316446: 4 sun/management/jdp tests ignore VM flags
Backport-of: 5b311f20df
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
f9c5dcf2de 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Backport-of: 54028e779b
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
5835eb3610 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Backport-of: e0f8d16833
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
9c033cf099 8313638: Add test for dump of resolved references
Reviewed-by: matsaave
Backport-of: 83dca6296e
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
7195e7210a 8314831: NMT tests ignore vm flags
Backport-of: 9bf3dee242
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
9198443848 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Backport-of: 5cbff24608
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
7cbe899938 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Backport-of: 7342f5a033
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
b007db4839 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Backport-of: 87b08b6e01
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
bfe6d49ed3 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Backport-of: e9daf4a018
2024-04-20 07:22:56 +07:00
Goetz Lindenmaier
45c86073f5 8311581: Remove obsolete code and comments in TestLVT.java
Backport-of: 27de536b40
2024-04-20 07:22:56 +07:00
KIRIYAMA Takuya
a05e1c3c8b 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Backport-of: b4b2fecb42
2024-04-20 07:22:56 +07:00
Sonia Zaldana Calles
95a0b65158 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Backport-of: c698b45a7b
2024-04-20 07:22:56 +07:00
Matthias Baesken
3cd21b3a06 8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with ConnectException: Connection timed out: no further information
Backport-of: b9b82631bf
2024-04-20 07:22:56 +07:00
Matthias Baesken
eb838a10c0 8320168: handle setsocktopt return values
Backport-of: db1d82347b
2024-04-20 07:22:56 +07:00
Frederic Thevenet
cd581380d5 8321374: Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll
Backport-of: 05f950934e
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
680d61a241 8314220: Configurable InlineCacheBuffer size
Backport-of: a40d8d97e8
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
e75cb46e2c 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Backport-of: 15588e08ed
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
275748ba0c 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Backport-of: 01ea1eff66
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
7a042c7607 8319897: Move StackWatermark handling out of LockStack::contains
Backport-of: bbf52e0e4c
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
ea5508dec9 8316229: Enhance class initialization logging
Backport-of: 84124794c2
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
b01408afd5 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Backport-of: 570dffb104
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
751bd1cc89 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Backport-of: 87c79c0801
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
74c3d2e527 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Backport-of: 864a876ebf
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
6ab032e3f2 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Backport-of: 0048f1da4c
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
d69d8f11f4 8317300: javac erroneously allows "final" in front of a record pattern
Backport-of: 5ca1beb30e
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
67d7f6a5e4 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank
Backport-of: dcd6e75671
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
5bced298f8 8319668: Fixup of jar filename typo in BadFactoryTest.sh
Backport-of: 63ad868e18
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
66faff439a 8320208: Update Public Suffix List to b5bf572
Backport-of: 2b4e99140a
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
55e56a1858 8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed with SIGBUS in PcDescContainer::find_pc_desc_internal
Backport-of: 58af9aeeb0
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
10876ceb3f 8316028: Update FreeType to 2.13.2
Backport-of: 3b65b8797a
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
1bcce286e5 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Backport-of: e649c56324
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
04cb0e3c0d 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Backport-of: 5f4be8cea9
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
1d0db164ae 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Backport-of: 7e39e664cf
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
3da53bda15 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Backport-of: fbc766ee21
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
fb2d21624b 8314838: 3 compiler tests ignore vm flags
Backport-of: ab6a87e670
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
14ee317379 8314837: 5 compiled/codecache tests ignore VM flags
Backport-of: 2a11bc41ba
2024-04-20 07:22:54 +07:00
Matthias Baesken
ff16c880c7 8320383: refresh libraries cache on AIX in VMError::report
Backport-of: 26c3390421
2024-04-20 07:22:54 +07:00
Kimura Yukihiro
a63c51ee0d 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Backport-of: d051f22284
2024-04-20 07:22:54 +07:00
Joachim Kern
07cd01e408 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Reviewed-by: mbaesken, mdoerr
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
e92bb240ab 8321131: Console read line with zero out should zero out underlying buffer in JLine
Reviewed-by: mbaesken
Backport-of: bd04f91e91
2024-04-20 07:22:54 +07:00
Sonia Zaldana Calles
50bd42774a 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Backport-of: f804f8652d
2024-04-20 07:22:54 +07:00
Matthias Baesken
62c6191623 8320300: Adjust hs_err output in malloc/mmap error cases
Backport-of: 60c8d9c045
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
f6a7500dd9 8320798: Console read line with zero out should zero out underlying buffer
Backport-of: d568562966
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
c0b984a673 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Backport-of: ba645da97b
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
39db75d4e0 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Backport-of: a290256bbf
2024-04-20 07:22:54 +07:00
Martin Doerr
e349e88837 8320807: [PPC64][ZGC] C1 generates wrong code for atomics
Backport-of: 3087e14cde
2024-04-20 07:22:53 +07:00
Matthias Baesken
cd38534e32 8320898: exclude compiler/vectorapi/reshape/TestVectorReinterpret.java on ppc64(le) platforms
Backport-of: 78b6c2b408
2024-04-20 07:22:53 +07:00
Severin Gehwolf
09bf2283fa 8321894: Bump update version for OpenJDK: 21.0.3
Reviewed-by: goetz
2024-04-20 07:22:53 +07:00
Maxim Kartashev
774ecfa0cb JBR-7010 Wayland: Swing window resizing is not smooth enough 2024-04-19 12:56:20 +03:00
Sergei Tachenov
776a2c7f35 JBR-6984 Fix BoxLayout/NPECheckRequests test
It was initially written and tested on Linux, but it turns out that
on other systems validate() can be called in between init() and start()
calls, which would break the test even though BoxLayout isn't broken.
2024-04-17 12:23:08 +04:00
Vitaly Provodin
cf5483609e update exclude list on results of 21.0.2_b430.2 test runs 2024-04-16 07:43:22 +07:00
Dmitrii Morskii
51d67613bb JBR-6372: implement detecting of OS theme on linux 2024-04-12 18:33:56 +02:00
Dmitrii Morskii
48dee1515d JBR-6171 removing deadlock related to calling getCurrentServerTime 2024-04-12 18:23:27 +02:00
Vitaly Provodin
37c68cafd6 introduce jbMuslProblemList.txt exclude list 2024-04-11 16:35:59 +07:00
Sergei Tachenov
35da2d269e JBR-6771 BoxLayout throws mysterious NPEs due to previous exceptions
The checkRequests method only does layout initialization
if it isn't initialized already. However, when an exception
is thrown during the initialization, the layout may end up
in a half-initialized state.

Fix this by using the field that is initialized the last to check
if the layout is initialized. If that field is null, it may mean
that the layout isn't initialized or that the last attempt
failed midway. Then we try again. This attempt can,
of course, break for the same reason as the previous one,
but in that case we'll at least get a stack trace pointing
to a real cause of the error and not some mysterious NPE
that seems to be impossible from the logic.

The bug is that if we add a component that throws an exception
in one of its methods called by BoxLayout, then the layout may
end up in a half-initialized state that would mistakenly be considered
fully initialized. Then it would try to access some fields
and throw NPE with a stack trace that tells exactly nothing
about what went wrong and where.

This test checks for the presence of this bug by adding a broken
component to a BoxLayout and then un-breaking this component
and checking that an exception is thrown even though the component
is no longer broken.
2024-04-10 18:03:46 +04:00
Maxim Kartashev
035ccf385d JBR-6769 Make it possible to get info whether IDE is running in a virtual env
Added system property intellij.os.virtualization with possible values
"none", "Xen", "KVM", "VMWare", "HyperV"
2024-04-10 14:39:58 +04:00
Vitaly Provodin
d3bdc5491b update exclude list on results of 21.0.2_b427.6 test runs 2024-04-10 16:37:02 +07:00
Nikita Gubarkov
5eac943de6 JBR-6927 Safe asynchronous destruction of Metal graphics config. 2024-04-09 14:40:44 +02:00
Maxim Kartashev
c7468389dd JBR-6926 Wayland: fonts are aliased/grainy on first start 2024-04-05 13:59:41 +03:00
Maxim Kartashev
3144ad1b33 JBR-6920 Wayland: some IDEA popups positioned incorrectly 2024-04-05 11:41:15 +03:00
Alexey Ushakov
93a43e2977 JBR-6911 IDE crashes (EXC_BAD_ACCESS) after disconnecting the secondary display if a markdown file is opened (macOS Sonoma 14.4.1)
Corrected invalid usage of dealloc method, fixed memory leaks.
2024-04-05 09:36:35 +02:00
Vitaly Provodin
c0f413d150 JBR-6915 add the option -w into mkimages scripts 2024-04-04 05:54:26 +07:00
Vitaly Provodin
cbab59fafd update exclude list on results of 21.0.2_b421.1 test runs 2024-04-04 05:52:16 +07:00
Maxim Kartashev
317ec132e6 JBR-6847 Improve locking performance on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseCriticalSection
to revert to the old behavior
2024-03-28 21:15:06 +04:00
bourgesl
ed2fd2e1a4 8323695: RenderPerf (2D) enhancements (23.12)
(backported from commit 8b30503387)

Reviewed-by: avu, prr
2024-03-28 16:38:36 +01:00
Maxim Kartashev
1c9cb2d81c JBR-6895 Wayland: cursor changes to resize at edges even when window is maximized 2024-03-27 14:53:46 +03:00
Vitaly Provodin
f26d1e523b update exclude list on results of 21.0.2_b417.1 test runs 2024-03-27 05:20:39 +07:00
Maxim Kartashev
75a7617dd3 JBR-6884 SIGSEGV in Java_sun_java2d_wl_WLSMSurfaceData_pixelsAt 2024-03-26 15:28:44 +03:00
Volker Simonis
a946a753c2 8324241: Always record evol_method deps to avoid excessive method flushing
JBR-6826 Include JDK-8324241 in the JBR17/21 builds

Reviewed-by: eastigeevich, phh, coleenp, dlong, shade
2024-03-22 11:02:37 +03:00
Vitaly Provodin
4c8b745e4d update exclude list on results of 21.0.2_b400.1 test runs 2024-03-22 04:04:59 +07:00
Dmitrii Morskii
036ca4d18a JBR-6541 Added ability to get supported features and stylistic sets for font 2024-03-21 19:52:12 +01:00
Nikita Gubarkov
aacc225090 JBR-6723 Deal with integer overflow in DrawGlyphList with enabled subpixelResolution 2024-03-21 16:56:51 +01:00
Nikita Provotorov
5433855472 JBR-3112 Linux: Last character issue with Korean.
Only for the new mode introduced in JBR-2460 (-Djb.awt.newXimClient.preferBelowTheSpot=true): cancel text composing on each mouse press, so that preedit text stops following the caret if it's moving in response to mouse clicks.

(cherry picked from commit 156e5d9b65)
2024-03-20 20:34:54 +01:00
Maxim Kartashev
d89b396383 JBR-6448 Wayland: IDEA window looks pixelated after monitors scale was changed 2024-03-19 16:51:45 +03:00
Maxim Kartashev
241fbd07ba JBR-6814 Wayland: support sun.java2d.uiScale property 2024-03-19 16:51:45 +03:00
Nikita Provotorov
fe208fb379 JBR-3112 Linux: Last character issue with Korean.
Ignores the IM text returned from XmbLookupString/XwcLookupString if the KeyPress event which XmbResetIC was called with was synthetic and the first after a call of XmbResetIC/XwcResetIC.

(cherry picked from commit 43a9a3a17a)
2024-03-18 19:13:18 +01:00
Dominik Matta
21906cd0a9 JBR-6763 Wayland: application crashes when popup closed
Certain Wayland compositors (wlroots) invalidate xdg_surface after window with popup loses focus. Subsequent attempts to
commit the popup window fail with protocol error "xdg_surface has never been configured".

Handle popup_done event by hiding the popup window. Also emit WINDOW_CLOSING event as otherwise focus remains on the popup parent.

Co-authored-by: Maxim Kartashёv <maxim@kartashev.spb.ru>
2024-03-18 10:23:51 +04:00
Vitaly Provodin
29f7cc3c2f update exclude list on results of 21.0.2_b393.7 test runs 2024-03-15 17:19:26 +07:00
Nikita Gubarkov
35daf572c5 JBR-6723 Block on Metal config destroy 2024-03-13 15:27:00 +01:00
Fredrik Bredberg
68b02406b9 8320317: ObjectMonitor NotRunnable is not really an optimization
Reviewed-by: eosterlund, dholmes, shade, dcubed

JBR-6819 Backport 8320317
2024-03-13 10:20:28 +04:00
Nikita Gubarkov
60987b690d JBR-6723 flush vertex cache and command buffer before freeing glyph cache. (#334) 2024-03-11 17:07:43 +01:00
Alexey Ushakov
0faef7d736 JBR-4883 macOS: SIGSEGV at MTLVertexCache_FlushGlyphVertexCache
Use separate glyph cache for each MTLContext instance. Refactored MTLGlyphCache
2024-03-11 17:07:43 +01:00
Dmitry Drobotov
f1b504a331 JBR-6593 Set unique name for the AccessibleAnnouncer thread
(cherry picked from commit d7d8d9b8e4)
2024-03-08 15:38:44 +01:00
Alexey Ushakov
5ed76cdb74 JBR-6787 WLToolkit/wsl: crash in WLComponentPeer.setCursor
Added check for unavailable cursor pData
2024-03-07 18:19:21 +01:00
Alexey Ushakov
1d07842f90 JBR-6789 jbr21/wayland: update build instructions
Updated build instructions
2024-03-07 18:18:49 +01:00
Vitaly Provodin
2097f754ff fixup! JBR-6785 wsl: update build scripts for linux target 2024-03-07 16:02:56 +01:00
Alexey Ushakov
b6945e5557 JBR-6785 wsl: update build scripts for linux target
Added explicit platform target
2024-03-07 16:02:56 +01:00
Maxim Kartashev
3058c046ad JBR-6783 MouseEvent/MenuDragMouseEventAbsoluteCoordsTest/MenuDragMouseEventAbsoluteCoordsTest.java: Found one Java-level deadlock 2024-03-06 16:40:40 +03:00
Vitaly Provodin
01d4fd6334 update exclude list on results of 21.0.2_b393.6 test runs 2024-03-06 15:40:13 +07:00
Maxim Kartashev
bede4b09b7 JBR-6742 Record resident set size in JVM fatal error log 2024-03-01 09:38:12 +04:00
Maxim Kartashev
412cd7027d JBR-6504 Wayland: optional Robot capability to peek at current window's pixels 2024-03-01 08:30:36 +03:00
Alexey Ushakov
f7fffba651 JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Fix of MT access to shared data in MTLGraphicsConfigInfo
2024-02-29 17:03:32 +01:00
Maxim Kartashev
1463b89c0d JBR-5989 Wayland: added jdk_swing tests to jdk_wayland 2024-02-29 06:36:26 +03:00
Dmitry Drobotov
8cc4cd5cfd JBR-6593 Fix UI freezes with JAWS announcements
* Execute AccessibleAnnouncer.nativeAnnounce on a background thread on Windows to fix UI freezes. IntelliJ calls this method from EDT, but it doesn't need to run on EDT because on Windows it simply calls screen readers API without interacting with UI components. Additionally, when using a background thread, the JAWS SayString method, which previously could have been running for multiple seconds, is now executed immediately as expected, but the root cause of previous delays is unclear.
* In JawsAnnouncer, initialize COM library with the multithreaded model to allow executing it from different threads. Now COM is initialized and uninitialized on every call of the method as required by the [documentation](https://learn.microsoft.com/en-us/windows/win32/learnwin32/initializing-the-com-library): "Each thread that uses a COM interface must make a separate call to this function. For every successful call to CoInitializeEx, you must call CoUninitialize before the thread exits". IJawsApi COM object is still static and reused by different threads, which is allowed with a multithreaded concurrency model. It shouldn't cause issues because it has no state and only forwards calls to JAWS.
2024-02-27 18:29:33 +01:00
Vitaly Provodin
3a1387be19 update exclude list on results of 21.0.2_b381.6 test runs 2024-02-27 15:50:41 +07:00
Vladimir Dvorak
178de3522f JBR-6648 - Fix ObjectCollectedException in enhanced redefineClasses due to stale jvmtiTagMap entries 2024-02-27 09:02:51 +01:00
Maxim Kartashev
b4046e402a JBR-6737 Cannot switch projects from Window menu after minimizing them on Linux 2024-02-27 09:09:58 +04:00
Nikita Provotorov
c22c514383 JBR-3697: Letter-based command mode actions are not triggered when using Chinese input method.
Fixes different platform-specific issues with disabling/enabling input methods support via java.awt.Component#enableInputMethods(boolean):
* Windows: disabling used to require to deactivate and then activate back the app window to be performed completely ;
* macOS: disabling used to leave the input method window visible (however, it wasn't affecting the input) ;
* Linux: with fcitx5 IMF (may not be reproduced with iBus) disabling and then enabling back the input method support used to reset the used input source (keyboard layout) to a default one. It's done via disabling the current XIM when the input method support is disabled instead of disposing it .

(cherry picked from commit 2933ea89f0)

The patch also contains the fix for "JBR-6711: java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java: JButton JPanel not collected."

It unsets its references to tracked components thus not preventing GC from collecting them.

(cherry picked from commit e9aab98a6c)
2024-02-26 21:29:36 +01:00
Vladimir Dvorak
244044d19f JBR-6746 Fix linux build failing on: "error: 'this' pointer is null" 2024-02-26 21:00:34 +01:00
Dmitry Drobotov
9de3f9917b JBR-6325 Implement keyboard focus tracking for macOS Accessibility Zoom
* Call UAZoomChangeFocus function when the keyboard focus is changed or when an accessible selection event is fired. Zoom viewport fill follow the accessible frame of the newly focused component, and if it has a selected child, its frame will be passed as part that needs to be highlighted.
* Fix an exception in ComboBoxAccessibility.accessibilitySelectedChildren when its selection is nil. This happens when a combo box doesn't have a selected item, and it this case Zoom wouldn't be able to follow the combo box location.
* Move the native handler of CAccessibility.focusChanged method from the legacy JavaComponentAccessibility to the new CommonComponentAccessibility class. It calls a class method (like a static method in Java), so there is no difference in which specific class it's located, but it allows to write the new code in the appropriate class.

(cherry picked from commit 75b06421ff)
2024-02-26 20:18:51 +01:00
Dmitrii Morskii
9826950247 JBR-5500 Handled situation of processing WM_ENDSESSION in process of closing application 2024-02-26 11:18:14 +00:00
Vladimir Dvorak
a0b44f89b3 JBR-6674 Fix parallel oops iteration in dcevm redefinition
This patch addresses unsynchronized parallel access to ChangePointersObjectClosure._tmp_obj by creating a separate instance for each thread, enhancing thread safety. Additionally, it deems parallel DCEVM iteration in G1 as redundant and removes it.
2024-02-26 08:01:28 +01:00
Maxim Kartashev
f83a507492 JBR-5989 Wayland: added more tests to jdk_awt_wayland 2024-02-23 14:54:55 +03:00
Vitaly Provodin
b5996350a0 fixup! JBR-6246 add default CDS archives into jbrsdk distributions 2024-02-23 04:02:23 +07:00
Maxim Kartashev
8834d1d4b9 JBR-6519 Linux: SIGSEGV at [libwayland] wl_proxy_get_version
Guard against passing NULL to libwayland
2024-02-22 11:18:17 +03:00
Vitaly Provodin
ad7d2848de clean up Wayland exclude list 2024-02-22 05:29:15 +07:00
Maxim Kartashev
6f99b5f8b1 JBR-6736 libwakefield crashes weston 2024-02-21 18:01:28 +04:00
Maxim Kartashev
0402d11d47 JBR-6722 OutOfMemoryError: Failed to allocate Wayland surface buffer 2024-02-21 13:51:54 +03:00
Vitaly Provodin
9c4830bb43 update exclude list on results of 21.0.2_b375.1 test runs 2024-02-21 04:48:47 +07:00
Maxim Kartashev
ccb99344cd JBR-6246 Create CDS archives with jlink and do not overwrite them afterwards 2024-02-19 13:22:29 +03:00
Vladimir Dvorak
52ada6c6d4 JBR-6647 Disable check for final field access from method $$ha$clinit 2024-02-19 10:44:27 +01:00
Dmitry Drobotov
19784beb9b JBR-6472 Add default value in CAccessibility.isComboBoxEditable to avoid NPE
(cherry picked from commit 93937603b3)
2024-02-17 20:53:32 +01:00
Egor Ushakov
ff104658d6 JBR-1354 com/sun/tools/attach/PermissionTest.java: access denied ("java.util.PropertyPermission" "sun.tools.attach.tmp.only" "read")
(cherry picked from commit 3a09f6c1db)
2024-02-17 05:01:43 +07:00
Egor Ushakov
8af98d95ab JBR-1061 .attach_pid files in the working dir - flag to put .attach file in tmp dir only
(cherry picked from commit 4bd3f7835e)
2024-02-17 04:50:35 +07:00
Nikita Tsarev
0dde92980d JBR-6297: Don't check for NSInputManager wantsToHandleMouseEvents in mouseDown by default 2024-02-15 20:42:32 +01:00
Vitaly Provodin
940c5e0e1f JBR-6649 add synchronization for creating UI 2024-02-15 12:05:11 +07:00
Vitaly Provodin
e0c5898502 update exclude list on results of 21.0.2_b357.3 test runs 2024-02-15 12:05:10 +07:00
Nikita Provotorov
168e0270fe JBR-6707 Compilation errors in main branch.
Replace assert-s introduced in JBR-2460 with the project-special DASSERT-s.

The patch has been backported from the main branch for better code consistency between the branches.
2024-02-15 01:11:00 +01:00
Dmitrii Morskii
cec4ca3d38 JBR-6671 added option 'freetype.font.rendering' 2024-02-14 18:03:51 +01:00
Nikita Tsarev
70d60692f0 JBR-6704: Fix extra IME events when a ctrl shortcut causes window focus switch [macOS] 2024-02-14 13:37:00 +01:00
Alexey Ushakov
2aa3828f59 JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Performing flush of pending rendering operation before destroying MTLGraphicsConfig
2024-02-14 13:30:46 +01:00
Nikita Gubarkov
b530b4f4cb JBR-4618 Force window size update after display reconfiguration
- Re-create all GraphicsDevices on displayChanged()
2024-02-13 16:23:58 +01:00
Maxim Kartashev
79d1b6ce2f JBR-6617 Wayland: java/awt/Frame/HugeFrame/HugeFrame.java crashes JVM 2024-02-12 13:17:03 +04:00
Maxim Kartashev
93dabf3971 JBR-6598 Wayland: window gets un-maximized after switching
When the size of the buffer changes, cancel the frame callback
and make sure that the next surface commit happens with the new buffer.
2024-02-12 12:05:52 +03:00
Maxim Kartashev
e5988f7c32 JBR-6469 Wayland: java/awt/image/ColorModel/DrawCustomColorModel.java throws UnsupportedOperationException 2024-02-12 08:54:25 +03:00
Maxim Kartashev
d501835140 JBR-6467 Wayland: java/awt/GraphicsConfiguration/NormalizingTransformTest/NormalizingTransformTest.java fails 2024-02-12 08:53:32 +03:00
Vladimir Dvorak
1d45d6fbc9 JBR-6643 - fix GitHub actions builds 2024-02-09 08:29:44 +01:00
Vladimir Dvorak
b2abfd5d97 JBR-6419 - fix macos-aarch64 build problem 2024-02-08 08:51:15 +01:00
Vitaly Provodin
1d9ff70cbe update exclude list on results of 21.0.2_b351.1 test runs 2024-02-07 06:53:12 +07:00
Vitaly Provodin
0d245769ea JBR-6404 synchronize drawing and the test checking 2024-02-07 06:53:12 +07:00
Nikita Gubarkov
73099de6f8 JBR-6651 Exclude keycap emoji from EmojiVariation test. 2024-02-05 15:27:21 +01:00
Maxim Kartashev
58c242f128 JBR-6468 Wayland: java/awt/datatransfer/MimeFormatsTest.java fails by timeout
Excluded the test from jdk_awt_wayland as it can't be made to work
under Wayland.
2024-02-05 15:20:28 +04:00
Vitaly Provodin
32128820c1 update exclude list on results of 21.0.2_b346.3 test runs 2024-02-03 05:27:50 +07:00
Vladimir Dvorak
d950326ef9 JBR-6419 - resolve win+macos jdk build issues 2024-01-31 19:53:36 +01:00
Dmitrii Morskii
a1b7633997 JBR-6604 supported case when fonts directory is missing 2024-01-31 19:06:07 +01:00
Dmitry Batrak
2a504dfd37 JBR-6449 Introduce FontMetricsAccessor into JBR API
mute calculation of metrics via full text layout if overrider is installed
2024-01-31 19:07:00 +02:00
Vladimir Dvorak
b128bb4b21 JBR-6419 - support for enhanced redefinition of java.lang.Object 2024-01-29 21:20:28 +01:00
Maxim Kartashev
8b014c3f35 JBR-4203 test/hotspot/jtreg/compiler/arguments: Option should be unknown (non-X86CPU)
Added the -XX:-IgnoreUnrecognizedVMOptions option to the test driver for
command line options, since it is often used to check that a certain
option is not supported.
2024-01-25 17:06:06 +04:00
Dmitry
19c6253d8f JBR-3793 Accept unrecognized options and make them available in Java
This patch:

- Change default behavior to ignore unrecognized options (+IgnoreUnrecognizedVMOptions)

- Store all ignored values to: "java.vm.unrecognized.options" as "+BogusOption01 +BogusOption02" (space separated), see testcase

- Explicitly set -IgnoreUnrecognizedVMOptions for couple of tests, that rely on default behavior
2024-01-25 13:40:44 +04:00
Maxim Kartashev
405c272588 8319662: ForkJoinPool trims worker threads too slowly
8319498: ForkJoinPool.invoke(ForkJoinTask) does not specify behavior when task throws checked exception

Reviewed-by: alanb
2024-01-25 11:14:52 +04:00
Maxim Kartashev
3a6456e1f4 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted"
Reviewed-by: alanb
2024-01-24 18:32:40 +04:00
Vitaly Provodin
283beedc05 fixup! update exclude list on results of 21.0.2_b341.4 test runs 2024-01-24 16:10:18 +07:00
Maxim Kartashev
512c96bbfb JBR-6547 WLToolkit: no app icon in GNOME
Allow to associate the application's window with .desktop file with icon
and other info with -Dawt.app.id=... (DBus application name similar to
WM_CLASS in X
2024-01-24 12:36:24 +04:00
Vitaly Provodin
ff28bfc856 update exclude list on results of 21.0.2_b341.4 test runs 2024-01-24 07:22:30 +07:00
Maxim Kartashev
d5a81ad9ea JBR-6559 Wayland: popups may stop working after a while
Cancel the frame callback when hiding a window.
2024-01-22 19:21:33 +04:00
Dmitry Batrak
f78a30a934 JBR-6579 jb/java/api/frontend/FontMetricsAccessorTest.java: Unexpected advance returned 2024-01-22 14:10:05 +02:00
Dmitry Batrak
793c5f4c06 JBR-6579 jb/java/api/frontend/FontMetricsAccessorTest.java: Unexpected advance returned 2024-01-22 14:10:05 +02:00
Dmitry Batrak
8bf6444304 JBR-6569 macOS: SIGILL at [libsystem_kernel] __kill in This decoder will only decode classes that adopt NSSecureCoding. Class 'AWTView' does not adopt it.
(cherry picked from commit 7af653070f)
(cherry picked from commit d24a9085796b1226d72154af8914d4f39960766a)
2024-01-22 10:29:40 +02:00
Dmitry Batrak
0871a2097a JBR-6449 Introduce FontMetricsAccessor into JBR API
fix test

(cherry picked from commit 5befaea6af)
(cherry picked from commit 7433ac2df11e77ad504c15fbda045d3beb3265fb)
2024-01-19 11:12:17 +02:00
Vitaly Provodin
d3d3111348 update exclude list on results of 21.0.2_b337 test runs 2024-01-19 06:28:25 +07:00
Tobias Hartmann
b81b6fae65 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: ed9f3243f0
2024-01-17 20:31:49 +07:00
Ravi Reddy
210d8cd65e 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: coffeys, robm
2024-01-17 20:31:49 +07:00
Weijun Wang
ff7394b5ab 8320597: RSA signature verification fails on signed data that does not encode params correctly
Backport-of: 11e4a925be
2024-01-17 20:31:48 +07:00
Prajwal Kumaraswamy
8eba4f387d 8317547: Enhance TLS connection support
Backport-of: c521825a5d986e5cb823615d60e51f954c0ff4dc
2024-01-17 20:31:48 +07:00
Roman Kennke
661276c44a 8321067: Unlock experimental options in EATests.java
Reviewed-by: shade
2024-01-17 20:31:48 +07:00
Ravi Reddy
10d2f52f3f 8320001: javac crashes while adding type annotations to the return type of a constructor
Backport-of: 5e24aaf4f7
2024-01-17 20:31:47 +07:00
Christoph Langer
25f70ebdac 8320601: ProblemList java/lang/invoke/lambda/LambdaFileEncodingSerialization.java on linux-all
Backport-of: f6e5559ae9
2024-01-17 20:31:47 +07:00
Martin Doerr
f56fc1eb28 8320363: ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity
Backport-of: 6aa197667a
2024-01-17 20:31:47 +07:00
Ian Myers
6011ccf37d 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Backport-of: 0f77d250b6
2024-01-17 20:31:47 +07:00
Ian Myers
b7f5cd0a15 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Backport-of: 3f19df685c
2024-01-17 20:31:46 +07:00
Roman Kennke
06a7923a8d 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Backport-of: bd918f49d2
2024-01-17 20:31:46 +07:00
Roman Kennke
a8fc42cf6c 8318895: Deoptimization results in incorrect lightweight locking stack
Backport-of: ea1ffa3419
2024-01-17 20:31:46 +07:00
Aleksey Shipilev
f8996f7e12 8318078: ADLC: pass ASSERT and PRODUCT flags
Backport-of: 504b0bdaaa
2024-01-17 20:31:46 +07:00
Aleksey Shipilev
cfcd361a98 8319120: Unbound ScopedValue.get() throws the wrong exception
Backport-of: ee6f25b507
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
c4d71d5db9 8319195: Move most tier 1 vector API regression tests to tier 3
Backport-of: 9dc40ba48e
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
052b936fa4 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Backport-of: 59847926b6
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
f92d5acba2 8316581: Improve performance of Symbol::print_value_on()
Backport-of: 90bcdbd15f
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
9e857e860d 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Backport-of: 83b6a1278f
2024-01-17 20:31:44 +07:00
Soumadipta Roy
961b8cd6e4 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Backport-of: a564d436c7
2024-01-17 20:31:44 +07:00
Jan Lahoda
024b299f1b 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Backport-of: 45e68ae207
2024-01-17 20:31:44 +07:00
Jan Lahoda
5d0486df0c 8318144: Match on enum constants with body compiles but fails with MatchException
Backport-of: 541ff7149f
2024-01-17 20:31:43 +07:00
Aleksey Shipilev
da6e27042f 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Backport-of: ceff47b462
2024-01-17 20:31:43 +07:00
Axel Boldt-Christmas
616215122e 8319700: [AArch64] C2 compilation fails with "Field too big for insn"
Backport-of: 3787ff8d1d
2024-01-17 20:31:43 +07:00
Gui Cao
db6d77286f 8320280: RISC-V: Avoid passing t0 as temp register to MacroAssembler::lightweight_lock/unlock
Backport-of: a6098e438d
2024-01-17 20:31:43 +07:00
Matthias Baesken
ae9bc810fe 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: phh
Backport-of: 23fe2ece58
2024-01-17 20:31:42 +07:00
Erik Österlund
4cbdbd76e3 8310239: Add missing cross modifying fence in nmethod entry barriers
Backport-of: 4679e9aa00
2024-01-17 20:31:42 +07:00
Matthias Baesken
4a11ebcf53 8318587: refresh libraries cache on AIX in print_vm_info
Backport-of: cb383c05b2
2024-01-17 20:31:42 +07:00
Sandhya Viswanathan
bfb687d3a1 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: 0881f2b0c4
2024-01-17 20:31:42 +07:00
Roman Marchenko
1644b1f94c 8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ff
2024-01-17 20:31:41 +07:00
Sandhya Viswanathan
d86d172f37 8320209: VectorMaskGen clobbers rflags on x86_64
Backport-of: b05e69f789
2024-01-17 20:31:41 +07:00
Matthias Baesken
18c32c5757 8318957: enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415
2024-01-17 20:31:41 +07:00
Matthias Baesken
e7501eefe5 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Backport-of: 81db1721d4
2024-01-17 20:31:41 +07:00
Matthias Baesken
1d52123510 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Backport-of: 6d3cb459dc
2024-01-17 20:31:40 +07:00
Matthias Baesken
27c428335f 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Backport-of: 88b9cdae8f
2024-01-17 20:31:40 +07:00
Christoph Langer
42b5a9fc9a 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
2024-01-17 20:31:40 +07:00
Rajan Halade
333f6c3b5d 8319187: Add three eMudhra emSign roots
Backport-of: 0bda467f6e
2024-01-17 20:31:40 +07:00
Alexey Ivanov
1a89d6ceea 8316017: Refactor timeout handler in PassFailJFrame
Backport-of: 3abd772672
2024-01-17 20:31:39 +07:00
Aleksey Shipilev
7a8a68a665 8315545: C1: x86 cmove can use short branches
Backport-of: 6c821f5e1d
2024-01-17 20:31:39 +07:00
Aleksey Shipilev
70e800a278 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Backport-of: bd477810b1
2024-01-17 20:31:39 +07:00
Martin Doerr
e96bdac575 8316746: Top of lock-stack does not match the unlocked object
Backport-of: 7d8adfa855
2024-01-17 20:31:38 +07:00
Alexey Ivanov
81695d4d47 8316025: Use testUI() method of PassFailJFrame.Builder in FileChooserSymLinkTest.java
Backport-of: 7f47c51ace
2024-01-17 20:31:38 +07:00
Alexey Ivanov
0593574238 8294156: Allow PassFailJFrame.Builder to create test UI
Backport-of: 42b9ac8a07
2024-01-17 20:31:38 +07:00
Aleksey Shipilev
d3aaa4f656 8317834: java/lang/Thread/IsAlive.java timed out
Backport-of: 5522656af7
2024-01-17 20:31:38 +07:00
Aleksey Shipilev
3492e37ff4 8320053: GHA: Cross-compile gtest code
Backport-of: 77a6966114
2024-01-17 20:31:37 +07:00
Alexey Ivanov
459c4e7c63 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Backport-of: c587211bf8
2024-01-17 20:31:37 +07:00
Alexey Ivanov
2e9206134f 8294158: HTML formatting for PassFailJFrame instructions
Backport-of: 14090ef603
2024-01-17 20:31:37 +07:00
Shivangi Gupta
0fc37fcdd7 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
2024-01-17 20:31:36 +07:00
Alexey Ivanov
65f81bb3ad 8313643: Update HarfBuzz to 8.2.2
8319268: Build failure with GCC8.3.1 after 8313643

Reviewed-by: prr, honkar
Backport-of: 2182c93689
2024-01-17 20:31:36 +07:00
Christoph Langer
1f69507f91 8318240: [AIX] Cleaners.java test failure
Backport-of: d4b761242d
2024-01-17 20:31:36 +07:00
Christoph Langer
f212871491 8313782: Add user-facing warning if THPs are enabled but cannot be used
Backport-of: dff99f7f3d
2024-01-17 20:31:35 +07:00
Christoph Langer
7d3b58b90f 8313781: Add regression tests for large page logging and user-facing error messages
Backport-of: abad0408e8
2024-01-17 20:31:35 +07:00
Robbin Ehn
5b72940547 8315195: RISC-V: Update hwprobe query for new extensions
Backport-of: 0d4cadb824
2024-01-17 20:31:35 +07:00
Rajan Halade
a9cc6da04e 8318759: Add four DigiCert root certificates
Backport-of: 0ea58048f9
2024-01-17 20:31:35 +07:00
Sergey Bylokhov
afff0fbd4b 8312191: ColorConvertOp.filter for the default destination is too slow
Backport-of: e5f05b5a96
2024-01-17 20:31:34 +07:00
Mandy Chung
316cfd37e8 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Backport-of: 8eb6f617b3
2024-01-17 20:31:34 +07:00
Stewart X Addison
7aa3212769 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Backport-of: 6a75c2406b
2024-01-17 20:31:34 +07:00
Amit Kumar
d12e1ffa65 8317581: [s390x] Multiple test failure with LockingMode=2
Backport-of: 839cb19ec2
2024-01-17 20:31:34 +07:00
Aleksey Shipilev
94d2c538dd 8316719: C2 compilation still fails with "bad AD file"
Backport-of: 1e687b4529
2024-01-17 20:31:33 +07:00
Rajat Mahajan
82fa7b0410 8316030: Update Libpng to 1.6.40
Backport-of: 158293d251
2024-01-17 20:31:33 +07:00
Fei Yang
e7329d5b87 8319184: RISC-V: improve MD5 intrinsic
Backport-of: fa331d7128
2024-01-17 20:31:33 +07:00
Goetz Lindenmaier
e071cdabf0 8319104: GtestWrapper crashes with SIGILL in AsyncLogTest::test_asynclog_raw on AIX opt
Reviewed-by: stuefe, jkern
Backport-of: 0b58bdec71
2024-01-17 20:31:33 +07:00
Man Cao
aad4880079 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Backport-of: fda142ff6c
2024-01-17 20:31:32 +07:00
Matthias Baesken
b9ead6f141 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Backport-of: a9b41da9df
2024-01-17 20:31:32 +07:00
Amit Kumar
f373f20dbe 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Backport-of: efb7e85ecf
2024-01-17 20:31:32 +07:00
Aleksey Shipilev
e721cc26f6 8318525: Atomic gtest should run as TEST_VM to access VM capabilities
Backport-of: 744f206fef
2024-01-17 20:31:31 +07:00
Aleksey Shipilev
d61a21786e 8315920: C2: "control input must dominate current control" assert failure
Backport-of: 4e1e579e8b
2024-01-17 20:31:31 +07:00
Aleksey Shipilev
25d06dc8a5 8316436: ContinuationWrapper uses unhandled nullptr oop
Backport-of: 292aad2c49
2024-01-17 20:31:31 +07:00
Jaikiran Pai
ab82d9c84f 8312433: HttpClient request fails due to connection being considered idle and closed
Backport-of: 486c7844f9
2024-01-17 20:31:30 +07:00
Martin Doerr
ef3492fce0 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Backport-of: 7fbad4cd5e
2024-01-17 20:31:30 +07:00
Pavel Rappo
157298c9f0 8319339: Internal error on spurious markup in a hybrid snippet
Reviewed-by: jjg
Backport-of: c9077b8b81
2024-01-17 20:31:30 +07:00
Matthias Baesken
92e8cfa583 8318961: increase javacserver connection timeout values and max retry attempts
Backport-of: b9983c7229
2024-01-17 20:31:30 +07:00
Thomas Stuefe
83d49e8d18 8319922: libCreationTimeHelper.so fails to link in JDK 21
Reviewed-by: sgehwolf
2024-01-17 20:31:29 +07:00
Thomas Stuefe
18dd1aa915 8319828: runtime/NMT/VirtualAllocCommitMerge.java may fail if mixing interpreted and compiled native invocations
Backport-of: 6b21ff61da
2024-01-17 20:31:29 +07:00
Aleksey Shipilev
725c15a627 8317507: C2 compilation fails with "Exceeded _node_regs array"
Backport-of: a5818972c1
2024-01-17 20:31:29 +07:00
Johannes Bechberger
edfc0afaee 8318736: com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
Backport-of: 1a21c1a783
2024-01-17 20:31:29 +07:00
Liam Miller-Cushon
9afab6c7e8 8225377: type annotations are not visible to javac plugins across compilation boundaries
Backport-of: de6667cf11
2024-01-17 20:31:28 +07:00
Andrew Leonard
75abfa93e0 8317601: Windows build on WSL broken after JDK-8317340
Backport-of: bcc986b9d1
2024-01-17 20:31:28 +07:00
Amit Kumar
921ed065e2 8308479: [s390x] Implement alternative fast-locking scheme
Backport-of: 3fe6e0faca
2024-01-17 20:31:28 +07:00
Andrew Leonard
8c13ecedb2 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Backport-of: 353d139682
2024-01-17 20:31:28 +07:00
Christian Hagedorn
696ac52df5 8314307: Improve loop handling
Reviewed-by: thartmann
Backport-of: afe46730e2405100ab2e016c8941264336aa807d
2024-01-17 20:31:27 +07:00
Frederic Thevenet
a98dabdf6c 8317510: Change Windows debug symbol files naming to avoid losing info when an executable and a library share the same name
Backport-of: d96f38b80c
2024-01-17 20:31:27 +07:00
Aleksey Shipilev
4f7257654f 8314191: C2 compilation fails with "bad AD file"
Backport-of: 969fcdb0de
2024-01-17 20:31:27 +07:00
Aleksey Shipilev
33ef6d8695 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: epeter, phh, thartmann
Backport-of: 48f1a925e5
2024-01-17 20:31:26 +07:00
Jayathirth D V
ab4df04dfb 8318951: Additional negative value check in JPEG decoding
Backport-of: 75ce02fe74
2024-01-17 20:31:26 +07:00
Alexey Ivanov
4161de1dbc 8294535: Add screen capture functionality to PassFailJFrame
Backport-of: dbb788f34d
2024-01-17 20:31:26 +07:00
Renjith Kannath Pariyangad
285ecf85d9 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library
Backport-of: 613a3cc689
2024-01-17 20:31:25 +07:00
Rajan Halade
22c01ed770 8317374: Add Let's Encrypt ISRG Root X2
Backport-of: e6f46a4326
2024-01-17 20:31:25 +07:00
Aleksey Shipilev
f176107ab9 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Backport-of: 9def4538ab
2024-01-17 20:31:25 +07:00
Aleksey Shipilev
17d7fb4327 8318183: C2: VM may crash after hitting node limit
Backport-of: 31ef400f31
2024-01-17 20:31:25 +07:00
Aleksey Shipilev
04136e273b 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Reviewed-by: aph
Backport-of: 52ee570025
2024-01-17 20:31:24 +07:00
Aleksey Shipilev
389f36e373 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
8317335: Build on windows fails after 8316645

Reviewed-by: rehn
Backport-of: fb055e7e53
2024-01-17 20:31:24 +07:00
Aleksey Shipilev
94121b3a46 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Backport-of: 1e930db3c7
2024-01-17 20:31:24 +07:00
Evgeny Ignatenko
c295d9cd8f 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: stuefe
Backport-of: 37aed6f46d
2024-01-17 20:31:24 +07:00
Evgeny Ignatenko
4cbb928253 8318474: Fix memory reporter for thread_count
Backport-of: 0baa9ecd76
2024-01-17 20:31:23 +07:00
Fei Yang
8bbe7e62b3 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Backport-of: b2504a0f9c
2024-01-17 20:31:23 +07:00
Goetz Lindenmaier
2b4cceb479 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Backport-of: e30e356442
2024-01-17 20:31:23 +07:00
Johannes Bechberger
5306cecc06 8317920: JDWP-agent sends broken exception event with onthrow option
Backport-of: 8f4ebd8921
2024-01-17 20:31:22 +07:00
Severin Gehwolf
c34812b166 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: phh
Backport-of: 0275efac88
2024-01-17 20:31:22 +07:00
Goetz Lindenmaier
0cf609d188 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Backport-of: 7b1e2bfe0f
2024-01-17 20:31:22 +07:00
Goetz Lindenmaier
4fa1f900a1 8314242: Update applications/scimark/Scimark.java to accept VM flags
Backport-of: 6bf4a33593
2024-01-17 20:31:22 +07:00
Andrew Leonard
d8ecce3b52 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Backport-of: 242eeaea47
2024-01-17 20:31:21 +07:00
Andrew Leonard
bd758e7284 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Backport-of: 0f0c5b2d71
2024-01-17 20:31:21 +07:00
Calvin Cheung
17178ac505 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Backport-of: 9f4a9fe488
2024-01-17 20:31:21 +07:00
Aleksey Shipilev
66d5254748 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Backport-of: 4421951d8f
2024-01-17 20:31:20 +07:00
Martin Doerr
8f0c966914 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Backport-of: 6a4b665550
2024-01-17 20:31:20 +07:00
Tobias Hartmann
4f618c925e 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Backport-of: 83eb20651f
2024-01-17 20:31:20 +07:00
Frederic Thevenet
a64ae87dcc 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Backport-of: 202c0137b8
2024-01-17 20:31:20 +07:00
Matthias Baesken
51c12f79c7 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Backport-of: e1870d360e
2024-01-17 20:31:19 +07:00
Matthias Baesken
738ae887e6 8318415: Adjust describing comment of os_getChildren after 8315026
Backport-of: 47bb1a1cef
2024-01-17 20:31:19 +07:00
Thomas Stuefe
d92d5d9b9d 8318089: Class space not marked as such with NMT when CDS is off
Backport-of: c0e154c876
2024-01-17 20:31:19 +07:00
Gui Cao
5a114d1b5b 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Backport-of: 988e1dfe6e
2024-01-17 20:31:19 +07:00
Goetz Lindenmaier
5767001ef9 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Backport-of: 939d7c5d84
2024-01-17 20:31:18 +07:00
Goetz Lindenmaier
93de115d67 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Backport-of: 298dda4c98
2024-01-17 20:31:18 +07:00
Goetz Lindenmaier
1ad89ec994 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Backport-of: cfae6ef2f6
2024-01-17 20:31:18 +07:00
Aleksey Shipilev
6dd7bb019a 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Backport-of: 0a3a925ad8
2024-01-17 20:31:18 +07:00
Aleksey Shipilev
0fe4d1a02e 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Backport-of: 52983ed529
2024-01-17 20:31:17 +07:00
Aleksey Shipilev
45937e3fdf 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Backport-of: 9013b03244
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
ada8866e53 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Backport-of: 825e0ed2a1
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
5a6e543cf0 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Backport-of: dd214d0f95
2024-01-17 20:31:16 +07:00
Rob McKenna
96cdbd5850 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
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
5ddc631521 8312126: NullPointerException in CertStore.getCRLs after 8297955
Backport-of: 3c743cfea0
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
975ee0b997 8314330: java/foreign tests should respect vm flags when start new processes
Backport-of: 7b28d3608a
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
feaad1ec26 8295555: Primitive wrapper caches could be @Stable
Backport-of: f7de726bd3
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
a2e5f00e9f 8318528: Rename TestUnstructuredLocking test
Backport-of: 3f446c5156
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
b4e578da29 8318540: make test cannot run .jasm tests directly
Backport-of: bd02cfd96f
2024-01-17 20:31:14 +07:00
Aleksey Shipilev
40dd000216 8267509: Improve IllegalAccessException message to include the cause of the exception
Backport-of: 36314a90c1
2024-01-17 20:31:14 +07:00
Goetz Lindenmaier
382c027f3b 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Backport-of: 37c40a11a7
2024-01-17 20:31:14 +07:00
Sergey Bylokhov
dd7d7ea2f6 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Backport-of: eb37c7e361
2024-01-17 20:31:13 +07:00
pavel_kharskii
07058afc2f 8318137: Change milestone to fcs for all releases
Reviewed-by: coffeys, mvs, rreddy
2024-01-17 20:31:13 +07:00
Hannes Greule
322546b97b 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Backport-of: 8f5f44070a
2024-01-17 20:31:13 +07:00
Manukumar V S
4c44c4a6b3 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
2024-01-17 20:31:13 +07:00
Matthias Baesken
74c1583844 8317959: Check return values of malloc in native java.base coding
Backport-of: ff0b397e13
2024-01-17 20:31:12 +07:00
Matthias Baesken
9698262126 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Backport-of: 6d6c9008d5
2024-01-17 20:31:12 +07:00
Christoph Langer
2dfba52ee4 8310512: Cleanup indentation in jfc files
Backport-of: 3be50da636
2024-01-17 20:31:12 +07:00
Christoph Langer
eae9556217 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Backport-of: 21c2dac159
2024-01-17 20:31:12 +07:00
Sergey Bylokhov
10fa52a22d 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Backport-of: bd52bbfa27
2024-01-17 20:31:11 +07:00
Rajan Halade
c5a78f220c 8317373: Add Telia Root CA v2
Backport-of: d3ebb4a155
2024-01-17 20:31:11 +07:00
Laurent Bourgès
837178c21b 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Backport-of: a876beb63d
2024-01-17 20:31:11 +07:00
Aleksey Shipilev
baa3e01efd 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Backport-of: ea067fc3d2
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
515c9d3820 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Backport-of: f7deaf4bef
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
cc3ac70fbb 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Backport-of: fe4f90021f
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
d42ceb6d14 8315869: UseHeavyMonitors not used
Reviewed-by: phh
Backport-of: 3301fb1e8a
2024-01-17 20:31:10 +07:00
Tobias Hartmann
d79b950b37 8314468: Improve Compiler loops
Reviewed-by: jwilhelm, epeter
Backport-of: 86e71472aefc26175cfc00d44f255f64893e477b
2024-01-17 20:31:09 +07:00
Matthias Baesken
24352fc713 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Backport-of: 29348b3cf6
2024-01-17 20:31:09 +07:00
Thomas Stuefe
657092791a 8317987: C2 recompilations cause high memory footprint
Backport-of: c88b387881
2024-01-17 20:31:09 +07:00
Alexey Ivanov
fa4afa1d08 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Backport-of: 808bb1f7bc
2024-01-17 20:31:09 +07:00
Aleksey Shipilev
41a080470d 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: aph
Backport-of: b6a97c0780
2024-01-17 20:31:08 +07:00
Ludvig Janiuk
90089dd3e4 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: ihse
2024-01-17 20:31:08 +07:00
Archie Cobbs
ad721336d6 8317818: Combinatorial explosion during 'this' escape analysis
Backport-of: 17535c34bc
2024-01-17 20:31:08 +07:00
Aleksey Shipilev
8f07717a0d 8316181: Move the fast locking implementation out of the .ad files
Backport-of: b48dbf6bfa
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
fafbcf231f 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann
Backport-of: b0d6c8472f
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
3366f2cb2a 8316735: Print LockStack in hs_err files
Backport-of: 20ff603108
2024-01-17 20:31:07 +07:00
Rajan Halade
bd275d0bb7 8268916: Tests for AffirmTrust roots
Backport-of: 8c1bb2b280
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
16831cb9de 8316958: Add test for unstructured locking
Backport-of: bcafec54a5
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
05994467b8 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Backport-of: 4ea1b99c1a
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
c36cede7f4 8295068: SSLEngine throws NPE parsing CertificateRequests
Backport-of: 5667afc362
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
7171e21d5b 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Backport-of: 83edffa608
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
288accdd76 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Backport-of: e25121d1d9
2024-01-17 20:31:05 +07:00
Archie Cobbs
5e1defce38 8317336: Assertion error thrown during 'this' escape analysis
Backport-of: a8473b7079
2024-01-17 20:31:05 +07:00
Christoph Langer
343d49a4a1 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Backport-of: 1161e3da14
2024-01-17 20:31:05 +07:00
Christoph Langer
2288ef2372 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
2024-01-17 20:31:04 +07:00
Christoph Langer
05575afcb4 8312078: [PPC] JcmdScale.java Failing on AIX
Backport-of: c1a3f143bf
2024-01-17 20:31:04 +07:00
Christoph Langer
7a6043978f 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Backport-of: ca96fd3b07
2024-01-17 20:31:04 +07:00
Christoph Langer
6aaa8f6317 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Backport-of: d5c6b0d0bb
2024-01-17 20:31:04 +07:00
Rajan Halade
d670dfaa46 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
Backport-of: 9728e21db1
2024-01-17 20:31:03 +07:00
Matthias Baesken
1db2f3f6ab 8312467: relax the builddir check in make/autoconf/basic.m4
Backport-of: 6e3cc131da
2024-01-17 20:31:03 +07:00
Thomas Stuefe
9edda54114 8317772: NMT: Make peak values available in release builds
Backport-of: 32ccf018eb
2024-01-17 20:31:03 +07:00
Aleksey Shipilev
d93d3ffb3b 8315062: [GHA] get-bootjdk action should return the abolute path
Backport-of: 99ea8bf2b9
2024-01-17 20:31:03 +07:00
Aleksey Shipilev
bb3ffeb6fa 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: bpb
Backport-of: 373cdf257d
2024-01-17 20:31:02 +07:00
Aleksey Shipilev
a8cebab762 8317294: Classloading throws exceptions over already pending exceptions
Backport-of: d4c904d819
2024-01-17 20:31:02 +07:00
Daniel Fuchs
6d3817401f 8317736: Stream::handleReset locks twice
Backport-of: 508fa71753
2024-01-17 20:31:02 +07:00
Joachim Kern
961b6cd349 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Backport-of: 4d9042043e
2024-01-17 20:31:02 +07:00
Prajwal Kumaraswamy
8fb85525ab 8316976: Improve signature handling
Backport-of: ed1269b7410759e8fa0d97d85328f20d11ae8d9a
2024-01-17 20:31:01 +07:00
Christoph Langer
b536370c18 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Backport-of: ad6dce376d
2024-01-17 20:31:01 +07:00
Christoph Langer
79761e4a71 8317711: Exclude gtest/GTestWrapper.java on AIX
Backport-of: ef41aa02b8
2024-01-17 20:31:01 +07:00
Christoph Langer
2c0a95a51f 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Backport-of: fcff222f92
2024-01-17 20:31:01 +07:00
Ludvig Janiuk
a584dec284 8316906: Clarify TLABWasteTargetPercent flag
Backport-of: 77fac0f4c6
2024-01-17 20:31:00 +07:00
Aleksey Shipilev
e4b9ec73c6 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Backport-of: 7352bb9105
2024-01-17 20:31:00 +07:00
Goetz Lindenmaier
7e9b407cd1 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Backport-of: 8b4af46be4
2024-01-17 20:31:00 +07:00
Goetz Lindenmaier
f89b59ed8f 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Backport-of: 84184f9473
2024-01-17 20:30:59 +07:00
Brian Burkhalter
eafcc264c1 8313368: (fc) FileChannel.size returns 0 on block special files
Backport-of: 4ba81f631f
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
04185b9f87 8314120: Add tests for FileDescriptor.sync
Backport-of: 2e8a0ab272
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
635786a69e 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Backport-of: 4b65483921
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
94b8efda04 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Backport-of: cf74b8c2a3
2024-01-17 20:30:58 +07:00
Aleksey Shipilev
60f1193954 8316179: Use consistent naming for lightweight locking in MacroAssembler
Backport-of: 639ba13c4b
2024-01-17 20:30:58 +07:00
Aleksey Shipilev
f48301bdba 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Backport-of: 1941290b79
2024-01-17 20:30:58 +07:00
Matthias Baesken
099d9b1635 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Backport-of: 97b94cb1cd
2024-01-17 20:30:57 +07:00
Matthias Baesken
262217e14b 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Backport-of: ed2b4673de
2024-01-17 20:30:57 +07:00
Matthias Baesken
6a42d8d3eb 8312612: handle WideCharToMultiByte return values
Backport-of: d9559f9b24
2024-01-17 20:30:57 +07:00
Matthias Baesken
4953f49087 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Backport-of: 1f7dfda705
2024-01-17 20:30:57 +07:00
Aleksey Shipilev
d49fb1f141 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Backport-of: b38bcae1ba
2024-01-17 20:30:57 +07:00
Zdenek Zambersky
065f1c80be 8316540: StoreReproducibilityTest fails on some locales
Backport-of: f7578e8048
2024-01-17 20:30:56 +07:00
Soumadipta Roy
a89d6ed2e5 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Backport-of: 4415261688
2024-01-17 20:30:56 +07:00
Soumadipta Roy
8f565773ef 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Backport-of: eb1f67b160
2024-01-17 20:30:56 +07:00
Soumadipta Roy
832b7162f7 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502
2024-01-17 20:30:55 +07:00
Brian Burkhalter
6aa7c2e2f6 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Backport-of: 5cacf212f0
2024-01-17 20:30:55 +07:00
Aleksey Shipilev
8c4ebd381d 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: rkennke
Backport-of: 31c4e03d5d
2024-01-17 20:30:55 +07:00
Christoph Langer
ac3614fd56 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Backport-of: ad6df41a9e
2024-01-17 20:30:55 +07:00
Aleksei Voitylov
17dd9524cd 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Backport-of: cfcbfc6cae
2024-01-17 20:30:54 +07:00
Ilya Gavrilin
7cc20a9141 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Backport-of: 4726960fcd
2024-01-17 20:30:54 +07:00
Aleksey Shipilev
ac8e6035aa 8316514: Better diagnostic header for VtableStub
Backport-of: 6c61bc1950
2024-01-17 20:30:54 +07:00
Ludovic Henry
b7f4a135f4 8316859: RISC-V: Disable detection of V through HWCAP
Backport-of: 311c7461c8
2024-01-17 20:30:54 +07:00
Robbin Ehn
6ff3f30826 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Backport-of: 2d154fcd0d
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
4a8ced14f3 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Backport-of: 01e135c910
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
37fc05292c 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Backport-of: dcea9bf087
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
5d00ee3eb0 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Backport-of: ba1a46392f
2024-01-17 20:30:52 +07:00
Goetz Lindenmaier
58f20e3f78 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Backport-of: c6ab9c2905
2024-01-17 20:30:52 +07:00
Goetz Lindenmaier
af16c4ab8f 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Backport-of: 73d7aa1d2c
2024-01-17 20:30:52 +07:00
Vladimir Kempik
135b25c026 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
Backport-of: bd7bb67d8f
2024-01-17 20:30:52 +07:00
Fei Yang
de3f9526c1 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Backport-of: 750da00129
2024-01-17 20:30:51 +07:00
Saravana Kumar Vijayasekaran
95d358c631 8317439: Updating RE Configs for BUILD REQUEST 21.0.2+1
Reviewed-by: robm
2024-01-17 20:30:51 +07:00
Coleen Phillimore
901f93f5c3 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2024-01-17 20:30:51 +07:00
Coleen Phillimore
c4d876876b 8314295: Enhance verification of verifier
Reviewed-by: dholmes, poonam, dlong
2024-01-17 20:30:51 +07:00
Gui Cao
6a7f65ca25 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Backport-of: e39197ec62
2024-01-17 20:30:50 +07:00
Matthias Baesken
68b12a6b70 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Backport-of: aa0ebeedb1
2024-01-17 20:30:50 +07:00
Manukumar V S
0ea8abdb20 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2024-01-17 20:30:50 +07:00
Soumadipta Roy
77b781dd38 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
2024-01-17 20:30:49 +07:00
Man Cao
09ec05318a 8316468: os::write incorrectly handles partial write
Backport-of: 7ce5bd1590
2024-01-17 20:30:49 +07:00
Alexey Ivanov
fb095de54e 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
2024-01-17 20:30:49 +07:00
Matthias Baesken
752b671e6c 8313575: Refactor PKCS11Test tests
Backport-of: 7a08e6bdd6
2024-01-17 20:30:49 +07:00
Ludvig Janiuk
e20408eff3 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: coffeys, kevinw
Backport-of: 903b9e8dd9
2024-01-17 20:30:48 +07:00
Ludvig Janiuk
e71b59d7ab 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: kevinw
Backport-of: 1d0250709a
2024-01-17 20:30:48 +07:00
Matthias Baesken
0f66010cfb 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Backport-of: 3671d83c87
2024-01-17 20:30:48 +07:00
Matthias Baesken
85be5f6d67 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Backport-of: b7545a69a2
2024-01-17 20:30:48 +07:00
Matthias Baesken
cee0e157c9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Backport-of: f3aeb024d9
2024-01-17 20:30:47 +07:00
Rajat Mahajan
f5d991027b 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Backport-of: a63afa4aa6
2024-01-17 20:30:47 +07:00
Ilya Gavrilin
bba4c1fc3c 8313322: RISC-V: implement MD5 intrinsic
Backport-of: b093880acd
2024-01-17 20:30:47 +07:00
Aleksey Shipilev
0ca0d13821 8314045: ArithmeticException in GaloisCounterMode
Backport-of: f41c267f85
2024-01-17 20:30:47 +07:00
Aleksey Shipilev
9098c29c39 8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4b
2024-01-17 20:30:46 +07:00
Rajan Halade
77c5d9958c 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
Backport-of: da57d2a1eb
2024-01-17 20:30:46 +07:00
Aleksey Shipilev
e7f06a4413 8315578: PPC builds are broken after JDK-8304913
Backport-of: 9559e035d2
2024-01-17 20:30:46 +07:00
Aggelos Biboudis
4cdbfbeaff 8314632: Intra-case dominance check fails in the presence of a guard
Backport-of: 81f8c57e4a
2024-01-17 20:30:45 +07:00
Aggelos Biboudis
acc02b63c5 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Backport-of: 3b0a6d2a68
2024-01-17 20:30:45 +07:00
Daniel Fuchs
fdf56a1704 8316031: SSLFlowDelegate should not log from synchronized block
Backport-of: dc5ca1d379
2024-01-17 20:30:45 +07:00
Christoph Langer
f45312b595 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Backport-of: 2e2d49c76d
2024-01-17 20:30:45 +07:00
Christoph Langer
face1e4874 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
2024-01-17 20:30:44 +07:00
Christoph Langer
236d547320 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Backport-of: e22eb06a3b
2024-01-17 20:30:44 +07:00
Andreas Steiner
f91d47f8b3 8313244: NM flags handling in configure process
Backport-of: 12326770dc
2024-01-17 20:30:44 +07:00
Aleksey Shipilev
4e6c47a5a3 8315579: SPARC64 builds are broken after JDK-8304913
Backport-of: cfc148930b
2024-01-17 20:30:44 +07:00
Matthias Baesken
13857d3cd3 8313206: PKCS11 tests silently skip execution
Backport-of: 515add88ed
2024-01-17 20:30:43 +07:00
Chad Rakoczy
3fc92def68 8311813: C1: Uninitialized PhiResolver::_loop field
Backport-of: 489a32fe40
2024-01-17 20:30:43 +07:00
Matthias Baesken
7752965dfc 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Backport-of: 8bbebbba8f
2024-01-17 20:30:43 +07:00
Matthias Baesken
a9f34f3850 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Backport-of: 36552e7193
2024-01-17 20:30:43 +07:00
Elif Aslan
75c90691e3 8311514: Incorrect regex in TestMetaSpaceLog.java
Backport-of: 9084b6c9d5
2024-01-17 20:30:42 +07:00
Sean Coffey
939eae1fab 8316087: Test SignedLoggerFinderTest.java is still failing
Backport-of: ff240a9135
2024-01-17 20:30:42 +07:00
Sean Coffey
753785788b 8315696: SignedLoggerFinderTest.java test failed
Backport-of: e409d07ae8
2024-01-17 20:30:42 +07:00
Sean Coffey
88f129f26c 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Backport-of: 7daae1fb42
2024-01-17 20:30:41 +07:00
Aleksey Shipilev
9b5cda510c 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Backport-of: ece9bdfc83
2024-01-17 20:30:41 +07:00
Gui Cao
d062ffd38d 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Backport-of: 4070829ae5
2024-01-17 20:30:41 +07:00
Rob McKenna
dca4cbcaec 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Backport-of: 3c258ac907
2024-01-17 20:30:41 +07:00
Rob McKenna
c626930ca7 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Backport-of: d9fc6b6933
2024-01-17 20:30:40 +07:00
Rob McKenna
9d9042a047 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Backport-of: 028068a655
2024-01-17 20:30:40 +07:00
Rob McKenna
f5753ba95e 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Backport-of: 97df6cf55a
2024-01-17 20:30:40 +07:00
Aleksey Shipilev
633c0070f0 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Backport-of: 947dee7f2d
2024-01-17 20:30:40 +07:00
Matthias Baesken
9474939f15 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Backport-of: 8107eab3c0
2024-01-17 20:30:39 +07:00
Aleksey Shipilev
af543a91bd 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
2024-01-17 20:30:39 +07:00
Matthias Baesken
cb2ee2b0ac 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Backport-of: 9887cd8adc
2024-01-17 20:30:39 +07:00
Joachim Kern
083534f827 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Backport-of: 486fa08d4b
2024-01-17 20:30:38 +07:00
Jan Lahoda
38570fc4c4 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Backport-of: 87a6acbeee
2024-01-17 20:30:38 +07:00
Christoph Langer
b6e2412226 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Backport-of: 69c9ec92d0
2024-01-17 20:30:38 +07:00
William Kemper
3a8248a466 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Backport-of: 716201c77d
2024-01-17 20:30:38 +07:00
Jan Lahoda
1834eb285b 8315735: VerifyError when switch statement used with synchronized block
Backport-of: 726c9c977d
2024-01-17 20:30:37 +07:00
Sidraya Jayagond
7641d0e7fe 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Backport-of: ec1f7a8480
2024-01-17 20:30:37 +07:00
Matthias Baesken
44bceadabc 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk
Backport-of: fac9f88c52
2024-01-17 20:30:37 +07:00
Matthias Baesken
fcc0fb20e4 8311938: Add default cups include location for configure on AIX
Backport-of: c4b8574b94
2024-01-17 20:30:37 +07:00
Andreas Steiner
9955e14f83 8312466: /bin/nm usage in AIX makes needs -X64 flag
Backport-of: 44576a7cca
2024-01-17 20:30:36 +07:00
Matthias Baesken
d7b4ecaca2 8315214: Do not run sun/tools/jhsdb tests concurrently
Backport-of: 1e7e2bcf35
2024-01-17 20:30:36 +07:00
Rajat Mahajan
cf44290faa 8311585: Add JRadioButtonMenuItem to bug8031573.java
Backport-of: 4f90abaf17
2024-01-17 20:30:36 +07:00
Christian Stein
f3cd8f0ea2 8315863: [GHA] Update checkout action to use v4
Backport-of: b74805d383
2024-01-17 20:30:36 +07:00
Terry Chow
8abdd092e0 8308593: Add KEEPALIVE Extended Socket Options Support for Windows
Backport-of: f3ade388da
2024-01-17 20:30:35 +07:00
Aleksey Shipilev
726ec03261 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
Backport-of: ab12c5d32f
2024-01-17 20:30:35 +07:00
Vladimir Kempik
747b5e486a 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Backport-of: 5d3fdc1750
2024-01-17 20:30:35 +07:00
Robbin Ehn
a5ec8ea70a 8315206: RISC-V: hwprobe query is_set return wrong value
Backport-of: 876a725af9
2024-01-17 20:30:35 +07:00
Jan Lahoda
34d982cc74 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: asotona, vromero
Backport-of: 84425a6290
2024-01-17 20:30:34 +07:00
Aleksey Shipilev
2046a7ef84 8314495: Update to use jtreg 7.3.1
Reviewed-by: phh
Backport-of: c50315de8f
2024-01-17 20:30:34 +07:00
Mandy Chung
774dfe48bc 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
2024-01-17 20:30:34 +07:00
Aleksey Shipilev
fe45b485a6 8313167: Update to use jtreg 7.3
Backport-of: 9c6eb67e85
2024-01-17 20:30:33 +07:00
Rob McKenna
1fd6998976 8315688: Update jdk21u fix version to 21.0.2
Reviewed-by: mdoerr, coffeys
2024-01-17 20:29:41 +07:00
Christian Hagedorn
76cda3c028 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, sviswanathan, rhalade, kvn, dlong
Backport-of: 49ddb19972
2024-01-17 20:29:12 +07:00
Christian Hagedorn
6442e93489 8313756: [BACKOUT] 8308682: Enhance AES performance
Backport-of: 207bd00c51
2024-01-17 20:29:11 +07:00
Ramesh Bhagavatam Gangadhar
25d4eb8016 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: ssahoo
Backport-of: 8042a50b99
2024-01-17 20:29:11 +07:00
pavel_kharskii
67af6b32d5 8311681: Update the Jan CPU24_01 release date in master branch after forking Oct CPU23_10
Reviewed-by: coffeys
2024-01-17 20:29:11 +07:00
Ravi Reddy
d6fe8dcc84 8311680: Update the release version after forking Oct CPU23_10
Reviewed-by: robm
2024-01-17 20:29:11 +07:00
Sean Mullan
07165405a7 8308204: Enhanced certificate processing
Reviewed-by: jnimeh
Backport-of: ef0ea85bf1398b73bd308ba2b395c917b449aa3b
2024-01-17 20:29:10 +07:00
Vitaly Provodin
25d6e5c49f update exclude list on results of 21.0.1_b334.1 test runs 2024-01-17 20:25:38 +07:00
Dmitry Batrak
3cadc16ca0 JBR-6449 Introduce FontMetricsAccessor into JBR API
JBRE-MR-368

(cherry picked from commit f0d5a907ac)
2024-01-16 14:03:14 +02:00
Nikita Gubarkov
53f674d581 JBR-5837 retrieve up-to-date default screen device in FullscreenWindowProps test.
Calling setDisplayMode() or setFullScreenWindow() may cause display reconfiguration.
2024-01-12 18:05:10 +01:00
Dmitrii Morskii
477e644815 JBR-3098 move repaintPeer event from AppKit thread to EDT on macos 2024-01-12 17:31:02 +01:00
bourgesl
e05cf112f0 JBR-6505: removed extra setNeedDisplay() in startRedrawIfNeeded() to restore JavaDraw performance (more frames rendered than real vsync FPS)
(cherry picked from commit be91bc02530ff56c9a706f3851c003d9c1722a80)
2024-01-12 15:50:24 +01:00
Nikita Gubarkov
2790cd8b0b JBR-6264 Improved coordinate conversion in XWayland mode 2024-01-12 15:23:14 +01:00
Vitaly Provodin
45ba91253c update exclude list on results of 21.0.1_b331.1 test runs 2024-01-12 10:49:12 +07:00
Alexander Lobas
2ab60edd40 Merge pull request #265 from alexander-lobas/jbr21
Update AWTWindow.m
2024-01-11 20:42:34 +03:00
Alexander Lobas
2da0b35360 Update AWTWindow.m
Fix typo mistake
2024-01-11 20:40:44 +03:00
Dmitry Batrak
6f0fc2cc8f JBR-2651 jb/java/awt/Focus/PopupIncomingFocusTest.java intermittently fails by java.util.concurrent.TimeoutException
further attempt to stabilize test

(cherry picked from commit 50933cd23e)
(cherry picked from commit 6d2017b6a3fe9161810f2d4a550454da989ead41)
2024-01-05 12:11:47 +02:00
Maxim Kartashev
d8f2bdb21f JBR-6452 Wayland: avoid copying entire surface buffers 2024-01-03 18:28:01 +04:00
Vitaly Provodin
f132a9597f update exclude list on results of 21.0.1_b327 test runs 2024-01-03 11:05:37 +07:00
Vitaly Provodin
4f77d022aa update exclude list on results of 21.0.1_b325.2 test runs 2024-01-03 04:52:48 +07:00
Maxim Kartashev
21062b021e JBR-6452 Wayland: measure and improve surface buffer management
Improved rendering performance by
* reducing memory copy and making it more efficient,
* tying the next frame display to the frame event from Wayland,
  which dramatically reduces load for very quick Swing apps,
* limiting the number of buffers to 2.
2023-12-28 17:13:47 +04:00
Vitaly Provodin
7c4782fcf0 update exclude list on results of 21.0.1_b321.2 test runs 2023-12-28 18:09:30 +07:00
Vitaly Provodin
afa522d0b1 JBR-6454 add synchronization at disposing windows 2023-12-27 20:12:05 +07:00
bourgesl
7084e04b3d fixup! JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit acca2a46cb)
2023-12-23 14:49:52 +01:00
Alexey Ushakov
e95b9136f2 fixup! JBR-5621 Test failures with -Dsun.java2d.metal.displaySync=false 2023-12-23 12:00:34 +01:00
bourgesl
15b700cf3f JBR-6241: RenderPerf 23.12: remove older RenderPerfTest in src
(cherry picked from commit 47750067a1)
2023-12-22 16:16:02 +01:00
bourgesl
5a4f931f73 JBR-6241: RenderPerf 23.11 improvements: support parallel rendering on several frames and screens, refined Robot executor to use rounded duration (to 120Hz) and interval between viewed frames, added new command-line arguments
(cherry picked from commit 93e1f77450)
2023-12-22 16:16:02 +01:00
bourgesl
7698957b81 JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit 82c930da5f)
2023-12-22 16:15:40 +01:00
Dmitrii Morskii
317be56a4c Revert "JBR-6346 update Inter font version"
This reverts commit 0c68438ee5.
2023-12-21 19:35:28 +00:00
Alexey Ushakov
227110f74f JBR-5621 Test failures with -Dsun.java2d.metal.displaySync=false
Created intermediate buffer in the MTLLayer
Implemented frame separation of window updates for AWT and Swing
Remove frame delays as they greatly affect throughput
Fixed test/jdk/sun/java2d/GdiRendering/ClipShapeRendering.java
Resolved crash on multi-GPU systems
2023-12-21 19:32:10 +01:00
Dmitrii Morskii
d8ecbedcc3 JBR-6372 Wayland:
-correctly positioning SplashScreen on multiple monitors;
-correctly correctly handles cases of SplashScreen with gif with transparent parts;
-refactoring;
2023-12-20 16:13:18 +01:00
Alexey Ushakov
469636eebf JBR-6445 Prepare RepaintManager code for displaySync=false
Refactored AWTAccessor code
2023-12-20 11:11:11 +01:00
Maxim Kartashev
998c4c5208 JBR-6340 Popups displayed shifted after moving IDE to another monitor via shortcut with auto-maximize enabled in Mutter
Windows no longer change their "native" size when moved between monitors
with different scale on Linux. Use -Dresize.with.scale=true to revert
that.
2023-12-20 12:57:25 +04:00
Dmitry Batrak
dd80438af6 JBR-6436 crash in jb/java/awt/Focus/FullScreenFocusStealing.java and jb/java/awt/Window/FullScreenTwoFrames.java
(cherry picked from commit 98b3ac5221)
(cherry picked from commit 9d631697bf19e036dede03bd350cdeca3b672814)
2023-12-19 14:43:53 +02:00
Alexey Ushakov
8b47697a52 JBR-6433 Rounded corners of popups disappear after a while
Removed opacity from CAMetalLayer for layers with rounded corners
2023-12-18 17:24:28 +01:00
Dmitry Batrak
895efb402b JBR-5961 Wayland: can't switch between projects using menu
fix activation not working on Ubuntu 23 (mutter 45.2), after a mouse button has been pressed in the originally active window
2023-12-15 20:34:45 +02:00
Dmitry Batrak
944744c8ee JBR-2651 jb/java/awt/Focus/PopupIncomingFocusTest.java intermittently fails by java.util.concurrent.TimeoutException 2023-12-15 15:17:33 +02:00
Vitaly Provodin
bbcca84a2d update exclude list on results of 21.0.1_b310.2 test runs 2023-12-15 07:26:53 +04:00
Dmitrii Morskii
0c68438ee5 JBR-6346 update Inter font version 2023-12-14 17:32:31 +01:00
Nikita Provotorov
0d488a6314 JBR-4687: Japanese IME input window hides what is being typed.
Uses CFS_EXCLUDE instead of CFS_CANDIDATEPOS in the ::ImmSetCandidateWindow() native API, which is more powerful and allows to take into account the issue's case.

(cherry picked from commit 0afe6c37bb)
2023-12-14 14:22:39 +01:00
Alexander Lobas
e527571582 Merge pull request #261 from alexander-lobas/jbr21
JBR-6418 New macOS full-screen controls appear shifted down sometimes
2023-12-12 16:41:15 +03:00
Alexander Lobas
6cc5f2baba JBR-6418 New macOS full-screen controls appear shifted down sometimes 2023-12-12 16:40:17 +03:00
Maxim Kartashev
597d19a912 JBR-6416 Wayland: IDEA maximize button out of sync sometimes 2023-12-12 11:17:54 +04:00
Nikita Tsarev
a42b012ef0 JBR-6215: Override XToolkit's default nonintuitive behavior when translating F13-F24 keys 2023-12-09 18:41:01 +01:00
Sergey Shelomentsev
4b58f89a9a JBR-6354 fix custom title bar tests to avoid failure in MacOS 14 fullscreen mode
- moved common logic to a separate part
- moved parts of tests to swing package
2023-12-07 21:00:48 +02:00
Maxim Kartashev
df3bd87bee JBR-6391 Wayland: memory indicator tooltip flickers 2023-12-07 19:20:00 +04:00
Maxim Kartashev
0eb8209ab1 JBR-6395 8321183: Incorrect warning from cds about the modules file
Reviewed-by: ccheung, iklam
2023-12-06 12:21:33 +04:00
Vitaly Provodin
9f4e6662e9 update exclude list on results of 21.0.1_b306.2 test runs 2023-12-06 11:35:04 +07:00
Nikita Provotorov
13efa95553 JBR-6381: A lot of messages "xInputMethodConnection == NULL" in stderr.
Disables on of the printfs that causes the issue.

(cherry picked from commit c57030a2ef)
2023-12-02 00:40:30 +01:00
Nikita Provotorov
b5cf148c6a Update README.md.
Updates information about required packages for Linux development.
2023-12-01 22:29:45 +01:00
Nikita Provotorov
d04a3e17d7 Update README.md.
Adds information about 2023.2 and 2023.3 releases.

(cherry picked from commit 6aebe7dd66)
2023-12-01 22:13:05 +01:00
Vitaly Provodin
c9a508432d update exclude list on results of 21.0.1_b303.1 test runs 2023-11-28 20:37:07 +07:00
Vitaly Provodin
2787f34824 JBR-3902 create jbr_all test group 2023-11-28 20:37:07 +07:00
Nikita Provotorov
77d9ec21cf JBR-6282: java/awt/TextArea/TextAreaEditing/TextAreaEditing.java intermittently fails due to deadlock.
Makes the test invoke any UI-operation on EDT only (since AWT doesn't guarantee thread-safety of UI operations, see more at https://mail.openjdk.org/pipermail/client-libs-dev/2023-November/016172.html).

(cherry picked from commit 8dbb889509)
2023-11-27 23:40:52 +01:00
Dmitrii Morskii
69b08c737c JBR-6213 Wayland: removed blurring on cursor on multiple monitors with different scales 2023-11-27 16:36:16 +01:00
Nikita Tsarev
603cbc244f JBR-6331: Fix some memory safety issues in macOS keyboards 2023-11-27 14:03:36 +01:00
Nikita Provotorov
3a897b7784 JBR-6125: macOS14 java/awt/Window/Grab/GrabTest.java Frame can't be focused.
Fixes a data race in the test.

(cherry picked from commit 281211d5a748e460cea4f5ab1e3889ed9588df0c)
(cherry picked from commit ca5562225a)
2023-11-24 21:03:37 +01:00
Dmitry Batrak
b669d658b3 JBR-5751 java/awt/Focus/RowToleranceTransitivityTest.java: Focus got stuck while traversing.
(cherry picked from commit fb22b86eaeb61eec34d205419151ba845cdd397c)
2023-11-24 18:00:06 +02:00
Maxim Kartashev
69e5dcd065 JBR-6276 Wayland: WLToolkit logs too much
Changed the logging level for such messages to FINE
2023-11-24 17:02:35 +04:00
Vitaly Provodin
be6842220b JBR-6246 add default CDS archives into jbrsdk distributions and remove the step normalizing timestamp 2023-11-24 18:42:44 +07:00
Vitaly Provodin
9bbc81006a fixup! JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64 2023-11-24 18:42:17 +07:00
Vitaly Provodin
e413bc69d7 update exclude list on results of 21.0.1_b293.3 test runs 2023-11-23 07:06:59 +07:00
Dmitry Drobotov
983139bd89 JBR-4479 Add text caret tracking for macOS Accessibility Zoom
(cherry picked from commit 0dfbf34b37)
2023-11-21 13:44:45 +01:00
Dmitry Drobotov
556f48375a JBR-6194 Fix VoiceOver reading old JComboBox value after changing it
1. Remove `value == nil` check in ComboBoxAccessiblity.accessibilityValue to fix the issue with not updated value of combo box. With `value == nil` check, the value was not reassigned on every get request of `accessibilityValue`, but only on get `accessibilitySelectedChildren`. When changing focus by Tab, only get `accessibilityValue` is called, and because `value` is already not nil, an old value was returned.

2. Set combo box role to NSAccessibilityPopUpButtonRole if it's not editable. Setting role to popup button fixes the bug when combo box value was not updated when using VO cursor navigation. Native MacOS non-editable combo boxes and non-editable HTML <select> elements also have the "popup button" role instead of "combo box", so the role should become more clear. Popup button role additionally enables opening the combo box menu with VO+Space shortcut, and changes VO instructions to be more appropriate when combo box is focused.

3. Add test for VoiceOver-specific issues of JComboBox.

(cherry picked from commit 8982db51d7)
2023-11-21 13:44:43 +01:00
Maxim Kartashev
4a8b300f2b JBR-6316 Wayland: WLSMSurfaceData.getReplacement() throws UOE
Also fixed the keyboard repeat manager so that it does not prevent
application from shutting down.
Also improved fullscreen support.
2023-11-21 15:03:37 +04:00
Maxim Kartashev
4b7d649cd6 JBR-6321 Wayland: popup windows do not respect screen bounds 2023-11-20 17:06:17 +04:00
Maxim Kartashev
5fe3e85c91 JBR-6313 Wayland: pasting from clipboard doesn't always work
Also added a flush-to-server command following each Wayland request
2023-11-20 15:02:35 +04:00
Maxim Kartashev
dab4ca13d8 JBR-6291 runtime/cds/appcds/dynamicArchive/TestDynamicDumpAtOom.java: Attempting to acquire lock OOMEStacks_lock/safepoint out of order 2023-11-20 12:44:09 +04:00
Vitaly Provodin
1dfc0d359d update exclude list on results of 21.0.1_b293.1 test runs 2023-11-16 05:20:42 +07:00
Vitaly Provodin
354610e9c5 update exclude list on results of 21.0.1_b286.4 test runs 2023-11-15 09:41:39 +07:00
Alexey Ushakov
78be8d231c JBR-6281 Remove MTLEvent sync from Metal rendering code
Removed sync code
2023-11-14 17:14:37 +01:00
Nikita Gubarkov
6dd845c6a3 JBR-5274 recreate CGraphicsDevice if it was changed.
- AWT code heavily relies on reference comparison when updating graphics devices & configurations, so we need to actually re-create CGraphicsDevice if it was changed.

- Also do not rely on graphicsConfig.getDefaultTransform() when firing `graphicsContextScaleTransform` property change, as graphics devices are mutable and returned default transform may change over time, e.g. when device is invalidated.
2023-11-14 15:38:03 +01:00
Maxim Kartashev
3b06c8988f JBR-6193 Impossible to resize snapped IDE when native header is turned off
Drop the maximized state right before the resize operation for
undecorated windows.

Also fixes setExtendedState() to work when changing snapped window's state
(MAXIMIZED_HORIZ or MAXIMIZED_VERT) to NORMAL.
2023-11-13 12:27:57 +04:00
Maxim Kartashev
287e065beb JBR-6276 Wayland: WLToolkit logs too much 2023-11-13 12:25:39 +04:00
Nikita Provotorov
60d09c6597 fixup! JBR-5980: Pasting from clipboard not working reliably in Windows.
(also fixes JBR-6267: Image retreived from the Clipboard is not the same image that was set to the Clipboard)

- Sets the system property awt.windows.clipboard.cache.disabled to false by default ;
- Adds memory barriers around the native flag AwtClipboard::isOwner ;
- Allows back WM_ACTIVATEAPP messages to reach ::DefWindowProc .
2023-11-11 22:13:30 +01:00
Nikita Provotorov
845c60f3bb fixup! JBR-5980: Pasting from clipboard not working reliably in Windows.
Adds memory barriers around the native flag AwtClipboard::isGettingOwnership.
2023-11-11 22:13:29 +01:00
Dmitrii Morskii
5ae7a8673a fixup! JBR-5965 Wayland: implement SplashScreen 2023-11-11 13:59:16 +01:00
Vitaly Provodin
f49a25c680 update exclude list on results of 21.0.1_b280.6 test runs 2023-11-11 06:45:44 +07:00
Alexander Lobas
fb90b5c110 JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize 2023-11-10 23:57:20 +01:00
Alexander Lobas
7bd15f1934 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor 2023-11-10 23:57:20 +01:00
Alexander Lobas
d2d0488bc3 JBR-5409 "No Print Service Found" Error when saving to PDF 2023-11-10 23:52:53 +01:00
Alexander Lobas
0147cba952 JBR-5384 New UI: window header is hard to resize on the top edge, top/right corner 2023-11-10 23:52:53 +01:00
Alexander Lobas
540d5a32c4 JBR-5174 Opening project as tabs in Mac OS (version2)
JBR-5023 Configure TabbingIdentifier during create native window
JBR-5256 IDEA window resizes to zero height when exit full-screen mode with new window controls enabled
JBR-5197 Window control buttons are not visible in full-screen mode in dark themes when IDE window is focused
JBR-5175 jb/java/awt/Window/FullScreenTwoFrames.java: -[AWTWindow resetWindowFullScreeControls]: unrecognized selector sent to instance 0x60000232d5f0
JBR-5499 Window control buttons bugfix
JBR-4462 BigSur: project tab does not gain focus when click it after focusing another app
2023-11-10 23:52:52 +01:00
Alexander Lobas
54f70cfc23 JBR-4834 JBR-5139 Rounded corners on Mac OS and Windows: support custom border color 2023-11-10 23:52:11 +01:00
Dmitrii Morskii
0b777f2360 fixup! JBR-5965 Wayland: implement SplashScreen 2023-11-10 20:04:00 +01:00
Nikita Tsarev
b9b029b357 JBR-5678: Refactor Wayland keyboard support 2023-11-10 14:34:37 +01:00
Nikita Provotorov
a151e238d3 JBR-2460: Wrong position of input window and no input preview with fcitx and ubuntu 13.04.
This patch makes the fix of JBR-1573 (which caused JBR-4394) disabled by default, because it's incompatible with the native below-the-spot mode (a.k.a. over-the-spot in the X11's terminology).

(cherry picked from commit 3fe2a97aa0)
2023-11-09 22:27:16 +01:00
Nikita Provotorov
1775a1cfcf JBR-2460: Wrong position of input window and no input preview with fcitx and ubuntu 13.04.
- introduces and integrates jbNewXimClient: a new implementation of XIC creation routine (it's mostly refactoring and generalizing of AWT's existed code). Enabled by default and can be disabled via a new system property -Djb.awt.newXimClient.enabled=false ;
- introduces support of the X11's native over-the-spot input method style (it's almost the same as AWT's below-the-spot mode, but the input method's windows are drawn externally, not by AWT). Enabled by default and can be disabled via a new system property -Djb.awt.newXimClient.enabled=false. Doesn't work if -Djb.awt.newXimClient.enabled=false is set ;
- introduces sun.awt.X11.XInputMethod.ClientComponentCaretPositionTracker class that tracks all kind of events for the current client component that can lead to the caret position changing ;
- makes the XInputMethod class to update the input window's position (whenever the ClientComponentCaretPositionTracker discovers that's necessary) by setting the X11's XNSpotLocation property .

Check out the branch nprovotorov/backups/JBR-2460_wrong-position-of-input-window-and-no-input-preview for more granular patches.

(cherry picked from commit 826f75ee48)
2023-11-09 22:27:15 +01:00
Maxim Kartashev
0413f857ab JBR-6220 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java became failing by time out on Linux 2023-11-07 13:29:58 +04:00
Nikita Provotorov
ab86812e28 JBR-5980: Pasting from clipboard not working reliably in Windows.
- Disables caching of the data placed into the clipboard. The behavior is controlled by the system property "awt.windows.clipboard.cache.disabled" (=true by default) ;
- Whenever the app gets focus additionally checks if another app has modified the clipboard. The behavior is controlled by the system property "awt.windows.clipboard.extraOwnershipChecksEnabled" (=true by default) .

(cherry picked from commit 473c41003d)
2023-11-06 13:47:56 +01:00
Nikita Provotorov
dad3d32da9 JBR-5980: Pasting from clipboard not working reliably in Windows.
Marks the native flag AwtClipboard::isGettingOwnership as volatile to avoid inconsistencies of CPU caches.

(cherry picked from commit b967f5bc91)
2023-11-06 13:47:48 +01:00
Dmitrii Morskii
0ba8323f49 fixup! JBR-5965 Wayland: implement SplashScreen 2023-11-04 16:58:34 +01:00
Dmitrii Morskii
825eb901c2 JBR-5965 Wayland: implement SplashScreen 2023-11-03 14:57:46 +01:00
Vitaly Provodin
0b6e65188d update exclude list on results of 21.0.1_b277.3 test runs 2023-11-03 20:15:56 +07:00
Maxim Kartashev
8bc89f222d JBR-6253 Wayland: can't run in weston because of xdg_wm_base version 3 2023-11-01 13:06:24 +04:00
Maxim Kartashev
b82fc5f02a JBR-6212 Wayland: app does not terminate upon Wayland protocol error 2023-11-01 12:17:46 +04:00
Vladimir Kharitonov
e29b134c47 JBR-6239 sign frameworks in cef_server.app 2023-10-31 15:52:53 +01:00
Vitaly Provodin
faff43cb95 update exclude list on results of 21.0.1_b270.3 test runs 2023-10-26 16:15:45 +07:00
Vitaly Provodin
3b769c378d fixup! 8312248: Enhanced archival support redux 2023-10-26 05:39:56 +07:00
Vitaly Provodin
a73783b4c4 JBR-4154 fix extracting version info from sources 2023-10-25 09:46:40 +07:00
Vitaly Provodin
b19dd54b28 fixup! JBR-6181 add Linux executables with bundled FreeType 2023-10-25 09:46:40 +07:00
Vladimir Kozlov
c3efc147d2 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Reviewed-by: shade, vlivanov
Backport-of: cfabcbf858
2023-10-25 09:45:24 +07:00
Calvin Cheung
25bc0259d4 8314649: Enhanced archival support redux
Reviewed-by: iklam
2023-10-25 09:45:24 +07:00
Sean Mullan
29aa2eeac8 8309966: Enhanced TLS connections
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-10-25 09:45:23 +07:00
Calvin Cheung
77d852d248 8312248: Enhanced archival support redux
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-10-25 09:45:23 +07:00
pavel_kharskii
cc15e44d8b 8311682: Change milestone to fcs for all releases
Reviewed-by: coffeys
2023-10-25 09:45:23 +07:00
Prasadrao Koppula
e15c1dd7f8 8286503: Enhance security classes
Reviewed-by: wetmore
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-10-25 09:45:23 +07:00
Jan Lahoda
bd4a1c5826 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Backport-of: adfc1d6cd2
2023-10-25 09:45:23 +07:00
Jan Lahoda
aeb212950c 8315534: Incorrect warnings about implicit annotation processing
Backport-of: 94a74a0a45
2023-10-25 09:45:23 +07:00
Martin Doerr
912bdf3d8c 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Backport-of: cf2d33ca2e
2023-10-25 09:45:23 +07:00
airsquared
2319e12b5e 8309032: jpackage does not work for module projects unless --module-path is specified
Backport-of: dfe764e3f8
2023-10-25 09:45:23 +07:00
Roman Marchenko
b8b4f00c9d 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: thartmann
Backport-of: ed1ea5fe7c
2023-10-25 09:45:23 +07:00
Alexander Scherbatiy
5eed624d8a 8311033: [macos] PrinterJob does not take into account Sides attribute
Backport-of: a3d67231a7
2023-10-25 09:45:23 +07:00
Aleksey Shipilev
6a8fe5883c 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Backport-of: 145d8bc1a3
2023-10-25 09:45:23 +07:00
Tobias Hartmann
344f6a777c 8313626: C2 crash due to unexpected exception control flow
Backport-of: f8203cb272
2023-10-25 09:45:23 +07:00
Ao Qi
2efe90455c 8315020: The macro definition for LoongArch64 zero build is not accurate.
Backport-of: 725ec0ce1b
2023-10-25 09:45:23 +07:00
Thomas Stuefe
49ecaa8e75 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Backport-of: 226cdc696d
2023-10-25 09:45:22 +07:00
Aleksey Shipilev
231bec2701 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Backport-of: 76b9011c9e
2023-10-25 09:45:22 +07:00
Sergey Bylokhov
209c6bee4c 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Backport-of: 87298d2ade
2023-10-25 09:45:22 +07:00
Alexander Matveev
d0ccbbab87 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Backport-of: 57a322da9b
2023-10-25 09:45:22 +07:00
Chris Plummer
2186cf7412 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Backport-of: 38a9edfb7e
2023-10-25 09:45:22 +07:00
nibjen
25360cbb98 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-10-25 09:45:22 +07:00
Matthias Baesken
0487e52815 8313691: use close after failing os::fdopen in vmError and ciEnv
Backport-of: 96304f37f8
2023-10-25 09:45:22 +07:00
Aleksey Shipilev
9379b05ecc 8313262: C2: Sinking node may cause required cast to be dropped
Backport-of: 1cee3b9fd9
2023-10-25 09:45:22 +07:00
Oli Gillespie
7e2f8a4119 8313874: JNI NewWeakGlobalRef throws exception for null arg
Backport-of: 028b3ae1b1
2023-10-25 09:45:22 +07:00
Oli Gillespie
cfc4c050a3 8313678: SymbolTable can leak Symbols during cleanup
Backport-of: 4b2703ad39
2023-10-25 09:45:22 +07:00
Thomas Stuefe
e8db310385 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Backport-of: 7332502883
2023-10-25 09:45:22 +07:00
Andrew John Hughes
41fee9e215 8284772: GHA: Use GCC Major Version Dependencies Only
Backport-of: 7e843c22e7
2023-10-25 09:45:22 +07:00
Sidraya Jayagond
64479d7ab2 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Backport-of: 514816ed7d
2023-10-25 09:45:22 +07:00
Tyler Steele
eacc032c49 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Backport-of: 395fc78880
2023-10-25 09:45:22 +07:00
Weibing Xiao
7771b08985 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Backport-of: f2383b3cbd
2023-10-25 09:45:21 +07:00
Thomas Stuefe
df7196fbba 8312620: WSL Linux build crashes after JDK-8310233
Backport-of: 25058cd23a
2023-10-25 09:45:21 +07:00
Thomas Stuefe
2f7800d8b1 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Backport-of: 84b325b844
2023-10-25 09:45:21 +07:00
Thomas Stuefe
92e7de91ee 8303815: Improve Metaspace test speed
Backport-of: de0e46c2f6
2023-10-25 09:45:21 +07:00
Thomas Stuefe
09253b6333 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Backport-of: 94eb44b192
2023-10-25 09:45:21 +07:00
Rajan Halade
318822fc47 8314960: Add Certigna Root CA - 2
Backport-of: e9ba8d5a0e
2023-10-25 09:45:21 +07:00
Patricio Chilano Mateo
8f23b927ce 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Backport-of: 8e4240c316
2023-10-25 09:45:21 +07:00
Ben Taylor
24e0f40a32 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Backport-of: 0e2c72d7a5
2023-10-25 09:45:21 +07:00
Sean Coffey
986a132b17 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Backport-of: e554fdee25
2023-10-25 09:45:21 +07:00
Aleksey Shipilev
f52407b18e 8313701: GHA: RISC-V should use the official repository for bootstrap
Backport-of: 538f9557b8
2023-10-25 09:45:21 +07:00
Valerie Peng
17fd96ecc7 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Backport-of: ba6cdbe2c2
2023-10-25 09:45:21 +07:00
Roger Riggs
6d53ad1f88 8313312: Add missing classpath exception copyright header
Reviewed-by: bpb
Backport-of: 53ca75b18e
2023-10-25 09:45:21 +07:00
Aleksey Shipilev
81788680f8 8314020: Print instruction blocks in byte units
Backport-of: a602624ef4
2023-10-25 09:45:21 +07:00
Aleksey Shipilev
eaddbc06c1 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Backport-of: 69d900d2ce
2023-10-25 09:45:21 +07:00
Aleksey Shipilev
e6655ac474 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Backport-of: d1de3d082e
2023-10-25 09:45:20 +07:00
Alexey Ivanov
ad80a8af22 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Backport-of: 62610203f1
2023-10-25 09:45:20 +07:00
Matthias Baesken
ff79afb687 8314517: some tests fail in case ipv6 is disabled on the machine
Backport-of: 703817d21f
2023-10-25 09:45:20 +07:00
Matthias Baesken
8caae04364 8313602: increase timeout for jdk/classfile/CorpusTest.java
Backport-of: bdac348c80
2023-10-25 09:45:20 +07:00
Tyler Steele
119fa1793f 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Backport-of: fdac6a6ac8
2023-10-25 09:45:20 +07:00
Aleksey Shipilev
581a2aad23 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Backport-of: 812f475bc4
2023-10-25 09:45:20 +07:00
Aleksey Shipilev
afca23514f 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Backport-of: 20e94784c9
2023-10-25 09:45:20 +07:00
Aleksey Shipilev
dce35c74cc 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Backport-of: 735b16a696
2023-10-25 09:45:20 +07:00
Thomas Stuefe
8aa7819a6e 8310233: Fix THP detection on Linux
Backport-of: 37ca9024ef
2023-10-25 09:45:20 +07:00
David Holmes
d595bd9fa2 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Backport-of: f142470dea
2023-10-25 09:45:20 +07:00
Gui Cao
faba31cfa1 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Backport-of: a66b5df14a
2023-10-25 09:45:20 +07:00
Feilong Jiang
8ccf32d585 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Backport-of: 5c91622885
2023-10-25 09:45:20 +07:00
Valerie Peng
4f101342ca 8302017: Allocate BadPaddingException only if it will be thrown
Backport-of: c27c87786a
2023-10-25 09:45:20 +07:00
Alexander Matveev
b7792c1b7c 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
Backport-of: ec0cc6300a
2023-10-25 09:45:20 +07:00
Aggelos Biboudis
3f2a8eefe4 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Backport-of: 4331193010
2023-10-25 09:45:19 +07:00
Ben Taylor
3109817e37 8313765: Invalid CEN header (invalid zip64 extra data field size)
Backport-of: 13f6450e2e
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
572c6f273a 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Backport-of: 56a73a6f0f
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
27bc02722a 8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3e
2023-10-25 09:45:19 +07:00
Thomas Schatzl
ce2871c888 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang
Backport-of: 1925508425
2023-10-25 09:45:19 +07:00
Raffaello Giulietti
58c85dfe31 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: rriggs
Backport-of: 61c58fdd00
2023-10-25 09:45:19 +07:00
Mandy Chung
3fef4fe04c 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: phh
Backport-of: ec7da91bd8
2023-10-25 09:45:19 +07:00
Weibing Xiao
d33282c39a 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Backport-of: e56d3bc2da
2023-10-25 09:45:19 +07:00
Abhishek Kumar
6fa2c70b07 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
Backport-of: c1f4595e64
2023-10-25 09:45:19 +07:00
Matthias Baesken
3452504ee4 8311511: Improve description of NativeLibrary JFR event
Backport-of: 848abd2831
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
32aed8a740 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Backport-of: db133dbc02
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
666f684622 8314118: Update JMH devkit to 1.37
Backport-of: 06aa3c5628
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
082d242e53 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: alanb
Backport-of: fbe51e388d
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
863d0d38a0 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: stuefe
Backport-of: 117f42dbe9
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
8fb4cda937 8313307: java/util/Formatter/Padding.java fails on some Locales
Backport-of: 408987e1ca
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
5b7e8bd59c 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: valeriep
Backport-of: bed9161c81
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
b94ed3592d 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Backport-of: e8a37b90db
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
5ca9d6a458 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: stuefe
Backport-of: ad34be1f32
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
1f20ac5bd6 8293114: JVM should trim the native heap
Reviewed-by: stuefe
Backport-of: 9e4fc568a6
2023-10-25 09:45:18 +07:00
Ravi Reddy
2a592da963 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Backport-of: 8c9d091f19
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
e8ca1144e4 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Backport-of: 4b192a8dc3
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
310650a2da 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: thartmann
Backport-of: 46fbedb2be
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
2029c48fee 8313707: GHA: Bootstrap sysroots with --variant=minbase
Backport-of: 29f1d8ef50
2023-10-25 09:45:18 +07:00
Sergey Bylokhov
0a0814106a 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Backport-of: 8248e351d0
2023-10-25 09:45:18 +07:00
Tobias Hartmann
a4dba8b9a1 8312909: C1 should not inline through interface calls with non-subtype receiver
Backport-of: ab1c212ac1
2023-10-25 09:45:18 +07:00
Tobias Hartmann
852cc0d462 8304954: SegmentedCodeCache fails when using large pages
Backport-of: cad6114e1c
2023-10-25 09:45:18 +07:00
Christoph Langer
22002b37cd 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Backport-of: 7304316a8c
2023-10-25 09:45:18 +07:00
Jan Lahoda
35a47c6833 8312619: Strange error message when switching over long
Backport-of: cc2a75e11c
2023-10-25 09:45:18 +07:00
Jan Lahoda
e4e6cd9f72 8312984: javac may crash on a record pattern with too few components
Backport-of: c386091734
2023-10-25 09:45:17 +07:00
Jiangli Zhou
07fdb725ad 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-10-25 09:45:17 +07:00
Christoph Langer
feb04e1262 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Backport-of: 16134f4422
2023-10-25 09:45:17 +07:00
Christoph Langer
a9185c18aa 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-10-25 09:45:17 +07:00
Matthias Baesken
787cb82170 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Backport-of: 0328886450
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
9c01ab932c 8313428: GHA: Bump GCC versions for July 2023 updates
Backport-of: ec2f38fd38
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
4e8632a443 8312591: GCC 6 build failure after JDK-8280982
Backport-of: 9454b2bbe1
2023-10-25 09:45:17 +07:00
Vladimir Kempik
553f1a32d0 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Backport-of: d6245b6832
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
8a15b90086 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: stuefe
Backport-of: 7173c3009e
2023-10-25 09:45:17 +07:00
Tobias Hartmann
c897d45c33 8312573: Failure during CompileOnly parsing leads to ShouldNotReachHere
Reviewed-by: kvn, tholenstein
2023-10-25 09:45:17 +07:00
Matthias Baesken
072adeda9a 8312395: Improve assertions in growableArray
Backport-of: b772e67e29
2023-10-25 09:45:17 +07:00
Matthias Baesken
804501f741 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Backport-of: 9eed049098
2023-10-25 09:45:17 +07:00
Matthias Baesken
11fce43f16 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Backport-of: aa7367f1ec
2023-10-25 09:45:17 +07:00
Matthias Baesken
337e993f67 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Backport-of: a38a421f62
2023-10-25 09:45:17 +07:00
Paul Hohensee
f5c9ee7113 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Backport-of: a9d21c61fb
2023-10-25 09:45:16 +07:00
Aleksey Shipilev
6c1bc9df2e 8309746: Reconfigure check should include make/conf/version-numbers.conf
Backport-of: 955fc2faba
2023-10-25 09:45:16 +07:00
Matthias Baesken
1243d1e435 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Backport-of: a7d168b522
2023-10-25 09:45:16 +07:00
Matthias Baesken
f7e85e502e 8311285: report some fontconfig related environment variables in hs_err file
Backport-of: 0ef03f1228
2023-10-25 09:45:16 +07:00
Aleksey Shipilev
5551e8e51d 8311249: Remove unused MemAllocator::obj_memory_range
Backport-of: 711cddd899
2023-10-25 09:45:16 +07:00
Gui Cao
84aa3af790 8311923: TestIRMatching.java fails on RISC-V
Backport-of: e7adbdb1f1
2023-10-25 09:45:16 +07:00
Johny Jose
942297f61e 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-10-25 09:45:16 +07:00
Vladimir Kempik
3c9ff2c691 8311862: RISC-V: small improvements to shift immediate instructions
Backport-of: f3b96f6937
2023-10-25 09:45:16 +07:00
Feilong Jiang
6b1d4b44fc 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Backport-of: 87e6fab2c4
2023-10-25 09:45:16 +07:00
Weibing Xiao
9f599104e8 8297856: Improve handling of Bidi characters
Backport-of: 244b89fc786894cb8cca742f91875ebb98b603ff
2023-10-25 09:45:16 +07:00
Weibing Xiao
2243b952cb 8296581: Better system proxy support
Reviewed-by: coffeys
Backport-of: 111811e64245ae720a0617b7de0c52c60bb2bac1
2023-10-25 09:45:16 +07:00
Vladimir Kempik
3f274e2f69 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Backport-of: 6b94289386
2023-10-25 09:45:16 +07:00
Rob McKenna
f69c0e622e 8310171: Bump version numbers for 21.0.1
Reviewed-by: iris, erikj
2023-10-25 09:45:16 +07:00
Alexey Ushakov
8d1f3a7a9e Revert "JBR-5965 Wayland: implement SplashScreen"
This reverts commit a6588d4b45.
2023-10-22 13:42:09 +02:00
Alexey Ushakov
1dbeb23fd4 Revert "fixup! JBR-5965 Wayland: implement SplashScreen"
This reverts commit a06582873c.
2023-10-22 13:41:20 +02:00
Dmitrii Morskii
a06582873c fixup! JBR-5965 Wayland: implement SplashScreen 2023-10-21 13:11:56 +02:00
Vitaly Provodin
1e2bb86176 fixup! JBR-6181 add Linux executables with bundled FreeType 2023-10-21 15:07:40 +07:00
Konstantin Bulenkov
fa5c69eeb9 JBR-6214 [fwp jbr21] IDEA-299292 Use Inter semibold instead of Inter bold
Replaced Inter bold with semi-bold fonts
2023-10-20 17:20:01 +02:00
Dmitrii Morskii
a6588d4b45 JBR-5965 Wayland: implement SplashScreen 2023-10-18 20:02:46 +02:00
Maxim Kartashev
5b97a03736 JBR-6209 Wayland: popup windows cannot be moved 2023-10-18 19:26:36 +04:00
Nikita Gubarkov
6d87c216f5 JBR-6208 Extended glyph cache for Metal 2023-10-17 21:25:50 +02:00
Maxim Kartashev
fe1a207eb5 JBR-5977 Wayland: make undecorated windows natively resizeable 2023-10-17 16:36:03 +04:00
Maxim Kartashev
fac167c65f JBR-6207 Wayland: many popup windows positioned incorrectly
When popup's parent is also its top-level window, use that instead of
null
2023-10-17 12:40:23 +04:00
Vitaly Provodin
0861698478 JBR-6181 add Linux executables with bundled FreeType 2023-10-13 06:53:18 +04:00
Alexey Ushakov
054df02388 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request
Enabled the fix by default only for M2 and spans displays property enabled (Displays have separate spaces OFF)
2023-10-10 13:56:26 +02:00
Maxim Kartashev
e4d4fa74d2 JBR-6142 Impossible to move/resize IDE window after restart if several projects were initially opened on secondary monitor
Announce to Mutter that we are "client-decorated" when a Frame is
undecorated by setting _GTK_FRAME_EXTENTS to all zeroes.
This prevents Mutter from applying certain harmful heuristics.
2023-10-10 15:31:47 +04:00
Maxim Kartashev
8d1d4351b9 JBR-6183 Wayland: clipboard-related exception in headless environment 2023-10-10 11:43:03 +04:00
Dmitrii Morskii
246e3a3de9 JBR-6135 removed dependence on process reading TTF in fixed size chunks 2023-10-09 15:01:15 +02:00
bourgesl
1b65d2d228 JBR-6119: RenderPerf enhancements:
new executor modes (buffer & volatile), robot calibration & more statistics and CLI arguments
added version + help information, added time unit

(cherry picked from commit 2afc66470aa3d3a77ab590b9e0eb4c799be432be)
2023-10-04 20:58:39 +02:00
Alexey Ushakov
474629f98a JBR-6132 Crash in [MTLLayer blitTexture] when MTL_DEBUG_LAYER enabled
Blit operation should not be performed on textures with MTLTextureUsageRenderTarget only, so changing framebufferOnly to NO
2023-10-04 16:12:47 +02:00
Nikita Gubarkov
76c483eec1 JBR-6144 Build JBR with Vulkan support
1. Update dockerfile to checkout Vulkan headers
2. Fix --with-vulkan-include configure option
2023-10-04 14:53:17 +02:00
Alexey Ushakov
7685c6b5f9 JBR-6158 Cannot build jbr21 with wayland toolkit on wsl2
Added --with-wayland-lib option to provide custom library path
2023-10-03 19:59:01 +02:00
Maxim Kartashev
6a1c5bd43a JBR-5857 Wayland: implement clipboard support 2023-10-02 19:38:31 +04:00
Dmitry Batrak
5e738482b1 JBR-6145 [Wayland toolkit] Popup windows aren't focusable
A partial solution. Cases not still covered:
* Alt+tab from the app and back should keep popup focused if it was focused initially
* Mouse clicks between popup and owner should transfer focus as expected
2023-09-29 20:14:01 +03:00
Vitaly Provodin
17556b0ea3 update exclude list on results of 21_b243.1 test runs 2023-09-29 15:47:08 +04:00
Vitaly Provodin
7dda83bf0b JBR-6130 add VK_TAB release action 2023-09-29 15:47:08 +04:00
Maxim Kartashev
ca1889e682 JBR-6138 Wayland: utilize gtk_shell1 protocol to mark dialogs as modal 2023-09-29 09:38:21 +04:00
Maxim Kartashev
258cf006bc JBR-6117 Wayland: JVM shutdown hang 2023-09-28 09:01:26 +04:00
Nikita Provotorov
a240282285 JBR-5984: IM's candidate window is placed under popup windows.
- Implements the optional method [NSTextInputClient windowLevel] to tell the macOS IM subsystem correct level of the window;
- Adds a regression test ImWindowIsPlacedUnderPopup5984.java.

(cherry picked from commit 5a91aae9c2)
2023-09-26 22:01:45 +02:00
Dmitrii Morskii
edfe753192 JBR-6044 handle absence of fontConfig library in setupRenderingFontHints 2023-09-25 12:51:03 +02:00
Dmitrii Morskii
7d8ca546f4 JBR-6041 started using correct type inside FcPatternGetValueFuncType 2023-09-25 12:50:59 +02:00
ghostflyby
b9d1c0e801 JBR-6124 Fix macOS services writing text back to textfield 2023-09-25 11:37:53 +02:00
Dmitry Batrak
d47223ddd9 JBR-5961 Wayland: can't switch between projects using menu
prevent using a pointer to destroyed surface
2023-09-25 09:33:15 +03:00
Vitaly Provodin
862b0d9195 update exclude list on results of 21_b240.22 test runs 2023-09-22 17:31:35 +07:00
Nikita Gubarkov
0457603fb6 JBR-6098 x64 docker images with glslc. 2023-09-21 10:21:40 +02:00
Sergey Shelomentsev
12c88c770d exclude FocusTraversalOrderTest 2023-09-20 21:34:29 +03:00
Sergey Shelomentsev
ac57aef98b JBR-6060 add focus traversal order test 2023-09-20 21:21:41 +03:00
Vitaly Provodin
40da69a5fb JBR-6070 update docker images for Alpine Linux 2023-09-16 08:35:57 +07:00
Vitaly Provodin
e4596e18e9 update exclude list on results of 21_b231.1 commit test runs 2023-09-16 08:35:57 +07:00
Dmitry Batrak
a24ed041aa JBR-5961 Wayland: can't switch between projects using menu
fix typo
2023-09-15 14:45:03 +03:00
Dmitry Batrak
d0bf4506c0 JBR-5961 Wayland: can't switch between projects using menu
support Window.toFront in Wayland toolkit
2023-09-15 12:44:26 +03:00
Maxim Kartashev
836f44fded JBR-6071 Alpine Linux compilation: error: implicit declaration of function 'pthread_getname_np' 2023-09-15 12:52:05 +04:00
Vitaly Provodin
f0bbcfc492 update exclude list on results of 21.231.1 test runs 2023-09-15 04:13:18 +07:00
Maxim Kartashev
e829d44cb9 JBR-5989 Wayland: jdk_awt_wayland test group 2023-09-13 08:26:46 +04:00
Maxim Kartashev
df095ab6db JBR-6025 Wayland: miscellaneous small improvements 2023-09-13 08:26:32 +04:00
Nikita Gubarkov
c301e17244 JBR-6016 doPrivileged for JBR API internal services.
(cherry picked from commit 19917e72086f091ef845959a29e7814ff6d88aa7)
2023-09-11 15:07:25 +02:00
Alexey Ushakov
f66a111d13 JBR-6045 WLToolkit(Vulkan): Add options to select physical device
Changed access to _name field, minor corrections in verbose print
2023-09-08 12:28:07 +02:00
Vitaly Provodin
6db1b3ec3c update exclude list on results of 21_b218.1 test runs 2023-09-08 17:06:59 +07:00
Alexey Ushakov
a19d03327a JBR-6045 WLToolkit(Vulkan): Add options to select physical device
Implemented -Dsun.java2d.vulkan=True and -Dsun.java2d.vulkan.deviceNumber=n VM options
2023-09-07 21:47:40 +02:00
Dmitrii Morskii
6d63ee0477 JBR-5502: optimize stringWidth & charsWidth methods of FontDesignMetrics 2023-09-07 17:23:55 +02:00
Dmitrii Morskii
60928807c8 JBR-6018 removed incorrect test testFeaturesZeroFrac 2023-09-07 14:51:20 +02:00
Maxim Kartashev
da11c5e526 JBR-6036 Wayland: Cannot invoke "java.awt.Component.getWidth()" because "popupParent" is null
Not all POPUP Window's have their parent set. And only those who do
shall be treated as popups in the Wayland's sense.
2023-09-06 19:23:07 +04:00
Nikita Tsarev
c56af99364 JBR-6028: Check before attempting to switch to a layout that might not exist in KeyCodesTest 2023-09-06 17:01:24 +02:00
Nikita Gubarkov
492fddd948 JBR-5973 Implement rendering of no-AA shapes with Vulkan pipeline
Get rid of maxTextureSize in Vulkan code. This concept was introduced to fix macOS-specific bugs and don't map well to Vulkan implementation, as this value is tied to specific device and texture format, so get rid of it for now and see whether we need it at all.

Refactored native surface data hierarchy. There was a C-style "inheritance" model with VKSDOps having an SurfaceDataOps as its first member and conversions back and forth between them. And then also privOps - pointer to the platform-specific part (WLVK). This was refactored into plain inheritance: SurfaceDataOps -> VKSurfaceData -> VKSwapchainSurfaceData -> WLVKSurfaceData

State management, synchronization & layout transition. Now using dynamic rendering and synchronization2 extensions.
Each device has a single timeline semaphore (basically 64-bit counter), monotonically increasing as device executes our commands, allowing us to track the state of the submitted batches and reuse resources which are no longer in use.

Split command recording into primary and secondary command buffers.
This allows us to record commands "in the past", before current render pass started, which gives possibility for some heavy optimizations:
1. When we suddenly need some texture in the middle of the render pass - no need to stop render pass in order to insert necessary synchronization - we can do it as if we knew it beforehand.
2. When we draw something and then clear the surface - just erase all commands inside current render pass we recorded earlier, so the actual drawing will never happen.

Shaders are compiled with glslc or glslangValidator and bytecode is inlined directly into libawt_wlawt

Memory management via VMA, vertex buffer pool, shader push constants.

Other refactoring.
2023-09-06 15:26:12 +02:00
5862 changed files with 282118 additions and 139939 deletions

68
.github/actions/build-jtreg/action.yml vendored Normal file
View File

@@ -0,0 +1,68 @@
#
# 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
# 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 JTReg'
description: 'Build JTReg'
runs:
using: composite
steps:
- name: 'Get JTReg version configuration'
id: version
uses: ./.github/actions/config
with:
var: JTREG_VERSION
- name: 'Check cache for already built JTReg'
id: get-cached
uses: actions/cache@v4
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Upload JTReg artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
retention-days: 1

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
@@ -24,7 +24,7 @@
#
name: 'Get JTReg'
description: 'Download JTReg from cache or source location'
description: 'Get JTReg'
outputs:
path:
description: 'Path to the installed JTReg'
@@ -39,30 +39,12 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Export path to where JTReg is installed'
id: path-name

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

@@ -24,12 +24,19 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
BUILD_DIR="$(ls -d build/*)"
# Send signal to the do-build action that we failed
touch "$BUILD_DIR/build-failure"
# Collect hs_errs for build-time crashes, e.g. javac, jmod, jlink, CDS.
# These usually land in make/
hs_err_files=$(ls make/hs_err*.log 2> /dev/null || true)
(
echo '### :boom: Build failure summary'
echo ''
@@ -46,6 +53,20 @@ touch "$BUILD_DIR/build-failure"
echo '</details>'
echo ''
for hs_err in $hs_err_files; do
echo "<details><summary><b>View HotSpot error log: "$hs_err"</b></summary>"
echo ''
echo '```'
echo "$hs_err:"
echo ''
cat "$hs_err"
echo '```'
echo '</details>'
echo ''
done
echo ''
echo ':arrow_right: To see the entire test log, click the job in the list to the left. To download logs, see the `failure-logs` [artifact above](#artifacts).'
) >> $GITHUB_STEP_SUMMARY
truncate_summary

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
@@ -24,6 +24,9 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
test_suite_name=$(cat build/run-test-prebuilt/test-support/test-last-ids.txt)
@@ -44,8 +47,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,20 +76,22 @@ 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
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
echo ':arrow_right: To see the entire test log, click the job in the list to the left.' >> $GITHUB_STEP_SUMMARY
truncate_summary

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

@@ -1,10 +1,13 @@
#!/bin/bash
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# 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
@@ -21,4 +24,18 @@
# questions.
#
exclusiveAccess.dirs=.
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
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,19 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--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 +150,17 @@ 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
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
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 +168,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 +181,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 +189,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
@@ -31,7 +31,7 @@ on:
platforms:
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
required: true
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
default: 'linux-x64, linux-x86-hs, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
@@ -49,12 +49,12 @@ jobs:
### Determine platforms to include
###
select:
name: 'Select platforms'
prepare:
name: 'Prepare the run'
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-x86-hs: ${{ steps.include.outputs.linux-x86-hs }}
# additional build options for linux-x64 are disabled
# linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
@@ -65,7 +65,19 @@ jobs:
docs: ${{ steps.include.outputs.docs }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Checkout the scripts'
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
make/conf/github-actions.conf
- name: 'Build JTReg'
id: jtreg
uses: ./.github/actions/build-jtreg
# TODO: Now that we are checking out the repo scripts, we can put the following code
# into a separate file
- name: 'Check what jobs to run'
id: include
run: |
@@ -107,7 +119,7 @@ jobs:
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x86-hs=$(check_platform linux-x86-hs 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
@@ -122,83 +134,78 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
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'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
build-linux-x86-hs:
name: linux-x86-hs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
make-target: 'hotspot'
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 }}
if: needs.select.outputs.linux-x86 == 'true'
if: needs.prepare.outputs.linux-x86-hs == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -206,52 +213,48 @@ 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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
needs: prepare
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'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
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'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
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: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -259,11 +262,11 @@ jobs:
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'
if: needs.prepare.outputs.windows-x64 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
@@ -273,11 +276,11 @@ jobs:
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'
if: needs.prepare.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -287,10 +290,9 @@ 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'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -306,16 +308,6 @@ jobs:
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-linux-x86:
name: linux-x86
needs:
- build-linux-x86
uses: ./.github/workflows/test.yml
with:
platform: linux-x86
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-macos-x64:
name: macos-x64
needs:
@@ -324,7 +316,19 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13
xcode-toolset-version: '14.3.1'
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
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -343,7 +347,7 @@ jobs:
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-x86-hs
- build-linux-x64-hs-nopch
- build-linux-x64-hs-zero
- build-linux-x64-hs-minimal
@@ -354,31 +358,28 @@ jobs:
- build-windows-x64
- build-windows-aarch64
- test-linux-x64
- test-linux-x86
- test-macos-x64
- test-macos-aarch64
- test-windows-x64
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" \
# See: https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28
ALL_ARTIFACT_IDS="$(curl -sL \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts?per_page=100')"
BUNDLE_ARTIFACT_IDS="$(echo "$ALL_ARTIFACT_IDS" | jq -r -c '.artifacts | map(select(.name|startswith("bundles-"))) | .[].id')"
for id in $BUNDLE_ARTIFACT_IDS; do
echo "Removing $id"
curl -sL \
-X DELETE \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"${{ github.api_url }}/repos/${{ github.repository }}/actions/artifacts/$id" \
|| 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
@@ -37,6 +37,9 @@ on:
runs-on:
required: true
type: string
xcode-toolset-version:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -60,7 +63,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 +89,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 +123,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 +150,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_${{ 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
if: runner.os == 'macOS'
@@ -196,7 +214,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 +222,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'

1
.gitignore vendored
View File

@@ -23,3 +23,4 @@ NashornProfile.txt
/.cproject
/compile_commands.json
/.cache
/jbr-api/

View File

@@ -1,10 +1,11 @@
[general]
project=jdk
project=jdk-updates
jbs=JDK
version=21
version=21.0.7
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
warning=issuestitle,binary
[repository]
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)

View File

@@ -21,11 +21,13 @@ can be found on the [releases page](https://github.com/JetBrains/JetBrainsRuntim
## 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 |
| IDE Version | Latest JBR | Date Released |
|-------------|---------------------------------------------------------------------------------------------------------|---------------|
| 2023.3 | [17.0.9b1087.7](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.9b1087.7) | 20-Nov-2023 |
| 2023.2 | [17.0.9b1000.46](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.9b1000.46) | 01-Nov-2023 |
| 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
@@ -124,8 +126,9 @@ $ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
### 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
$ 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 libwayland-dev \
libxkbcommon-x11-0
```
Get Java 19 (for instance, [Azul Zulu Builds of OpenJDK 19](https://www.azul.com/downloads/?version=java-19-sts&os=linux&package=jdk)).

3
SECURITY.md Normal file
View File

@@ -0,0 +1,3 @@
# JDK Vulnerabilities
Please follow the process outlined in the [OpenJDK Vulnerability Policy](https://openjdk.org/groups/vulnerability/report) to disclose vulnerabilities in the JDK.

View File

@@ -569,10 +569,9 @@ be accepted by <code>configure</code>.</p>
<code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 8.</p>
<p>You will need the Xcode command line developer tools to be able to
build the JDK. (Actually, <em>only</em> the command line tools are
needed, not the IDE.) The simplest way to install these is to run:</p>
<pre><code>xcode-select --install</code></pre>
<p>You will need to download Xcode either from the App Store or specific
versions can be easily located via the <a
href="https://xcodereleases.com">Xcode Releases</a> website.</p>
<p>When updating Xcode, it is advisable to keep an older version for
building the JDK. To use a specific version of Xcode you have multiple
options:</p>

View File

@@ -366,12 +366,9 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 8.
You will need the Xcode command line developer tools to be able to build
the JDK. (Actually, *only* the command line tools are needed, not the IDE.)
The simplest way to install these is to run:
```
xcode-select --install
```
You will need to download Xcode either from the App Store or specific versions
can be easily located via the [Xcode Releases](https://xcodereleases.com)
website.
When updating Xcode, it is advisable to keep an older version for building the JDK.
To use a specific version of Xcode you have multiple options:

View File

@@ -72,6 +72,9 @@ id="toc-notes-for-specific-tests">Notes for Specific Tests</a>
<li><a href="#non-us-locale" id="toc-non-us-locale">Non-US
locale</a></li>
<li><a href="#pkcs11-tests" id="toc-pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#testing-with-alternative-security-providers"
id="toc-testing-with-alternative-security-providers">Testing with
alternative security providers</a></li>
<li><a href="#client-ui-tests" id="toc-client-ui-tests">Client UI
Tests</a></li>
</ul></li>
@@ -179,8 +182,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,14 +581,29 @@ 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="testing-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for
<code>KeyFactory</code>, <code>Cipher</code>,
<code>KeyPairGenerator</code>, <code>KeyGenerator</code>,
<code>AlgorithmParameterGenerator</code>, <code>KeyAgreement</code>,
<code>Mac</code>, <code>MessageDigest</code>, <code>SecureRandom</code>,
<code>Signature</code>, <code>AlgorithmParameters</code>,
<code>Configuration</code>, <code>Policy</code>, or
<code>SecretKeyFactory</code> objects. Specify the
<code>-Dtest.provider.name=NAME</code> property to use a different
provider for the service(s).</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the

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,19 +600,30 @@ 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
test/jdk/sun/security/pkcs11/README.
### Testing with alternative security providers
Some security tests use a hardcoded provider for `KeyFactory`, `Cipher`,
`KeyPairGenerator`, `KeyGenerator`, `AlgorithmParameterGenerator`,
`KeyAgreement`, `Mac`, `MessageDigest`, `SecureRandom`, `Signature`,
`AlgorithmParameters`, `Configuration`, `Policy`, or `SecretKeyFactory` objects.
Specify the `-Dtest.provider.name=NAME` property to use a different provider for
the service(s).
### Client UI Tests
#### System key shortcuts

1
jb/jbr-api.version Normal file
View File

@@ -0,0 +1 @@
1.0.0

View File

@@ -8,15 +8,36 @@
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
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.2-r0 \
autoconf=2.69-r2 \
bash=5.0.17-r0 \
build-base=0.5-r2 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r0 \
file=5.38-r0 \
fontconfig=2.13.1-r2 \
fontconfig-dev=2.13.1-r2 \
freetype-dev=2.10.4-r2 \
git=2.26.3-r1 \
grep=3.4-r0 \
libx11-dev=1.6.12-r1 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r0 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.0-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.4.5-r1 \
rsync=3.1.3-r3 \
tar=1.32-r2 \
wayland-dev=1.18.0-r4 \
zip=3.0-r8
# 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
COPY boot_jdk_musl_aarch64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk20/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk20
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -8,15 +8,35 @@
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
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.5-r2 \
autoconf=2.71-r0 \
bash=5.1.16-r0 \
build-base=0.5-r3 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r3 \
file=5.40-r1 \
fontconfig=2.13.1-r4 \
fontconfig-dev=2.13.1-r4 \
freetype-dev=2.10.4-r3 \
git=2.32.7-r0 \
grep=3.7-r0 \
libx11-dev=1.7.3.1-r0 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r1 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.1-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.10.41-r0 \
rsync=3.2.5-r0 \
tar=1.34-r1 \
wayland-dev=1.19.0-r0 \
zip=3.0-r9
# 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
COPY boot_jdk_musl_amd64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk20/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk20
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -6,24 +6,28 @@
# 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
FROM arm64v8/oraclelinux:7
COPY scl.repo /etc/yum.repos.d/
# 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 \
devtoolset-10-libstdc++-devel-10.2.1-11.2.0.2.el7.aarch64 \
devtoolset-10-runtime-10.1-0.el7.aarch64 \
devtoolset-10-binutils-2.35-5.el7.aarch64 \
devtoolset-10-gcc-10.2.1-11.2.0.2.el7.aarch64 \
devtoolset-10-gcc-c++-10.2.1-11.2.0.2.el7.aarch64; \
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 \
bzip2-libs-1.0.6-13.el7.aarch64 \
cups-devel-1.6.3-52.el7_9.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 \
git-1.8.3.1-25.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 \
@@ -32,15 +36,14 @@ RUN yum -y update; \
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
unzip-6.0-24.0.1.el7_9.aarch64 \
zip-3.0-11.el7.aarch64 \
wayland-devel-1.15.0-1.el7.aarch64; \
yum -y clean all
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"
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

@@ -0,0 +1,50 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_x86_64.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 amd64/oraclelinux:7
COPY scl.repo /etc/yum.repos.d/
# Install the necessary build tools
RUN yum -y update; \
yum -y install \
devtoolset-10-libstdc++-devel-10.2.1-11.1.0.1.el7.x86_64 \
devtoolset-10-runtime-10.1-0.el7.x86_64 \
devtoolset-10-binutils-2.35-5.el7.x86_64 \
devtoolset-10-gcc-10.2.1-11.2.0.1.el7.x86_64 \
devtoolset-10-gcc-c++-10.2.1-11.2.0.1.el7.x86_64; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7.x86_64 \
autoconf-2.69-11.el7.noarch \
automake-1.13.4-3.el7.noarch \
bzip2-libs-1.0.6-13.el7.x86_64 \
cups-devel-1.6.3-52.el7_9.x86_64 \
file-5.11-37.el7.x86_64 \
fontconfig-devel-2.13.0-4.3.el7.x86_64 \
freetype-devel-2.8-14.el7_9.1.x86_64 \
git-1.8.3.1-25.el7_9.x86_64 \
libtool-2.4.2-22.el7_3.x86_64 \
libXi-devel-1.7.9-1.el7.x86_64 \
libXrandr-devel-1.5.1-2.el7.x86_64 \
libXrender-devel-0.9.10-1.el7.x86_64 \
libXt-devel-1.1.5-3.el7.x86_64 \
libXtst-devel-1.2.3-1.el7.x86_64 \
make-3.82-24.el7.x86_64 \
rsync-3.1.2-12.el7_9.x86_64 \
unzip-6.0-24.0.1.el7_9.x86_64 \
zip-3.0-11.el7.x86_64 \
wayland-devel-1.15.0-1.el7.x86_64; \
yum -y clean all
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser" && \
git config --global --add safe.directory '*'
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"

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

@@ -4,10 +4,9 @@ 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_REMOTE_FILE=zulu21.36.17-ca-jdk21.0.4-linux_aarch64.tar.gz
BOOT_JDK_SHA=da3c2d7db33670bcf66532441aeb7f33dcf0d227c8dafe7ce35cee67f6829c4c
BOOT_JDK_LOCAL_FILE=boot_jdk.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
@@ -22,7 +21,7 @@ sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbrdevenv_arm64v8 -f Dockerfile.aarch64 .
docker build --no-cache -t jetbrains/runtime:jbr21env_oraclelinux7_aarch64 -f Dockerfile.oraclelinux_aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance

View File

@@ -4,10 +4,10 @@ set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl AArch64 variant
# of the JetBrains Runtime version 17.
# of the JetBrains Runtime version 21.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=6b920559abafbe9bdef386a20ecf3a2f318bc1f0d8359eb1f95aee26606bbc70
BOOT_JDK_REMOTE_FILE=zulu20.32.11-ca-jdk20.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=eec57cf744c2438f695221f041d4804de3033ad33b6dba769d3359813ba3f90d
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_aarch64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
@@ -22,7 +22,7 @@ sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_aarch64 .
docker build -t jetbrains/runtime:jbr21env_musl_aarch64 -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

View File

@@ -4,10 +4,10 @@ set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl-x64 variant
# of the JetBrains Runtime version 17.
# of the JetBrains Runtime version 21.
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=bcc5342011bd9f3643372aadbdfa68d47463ff0d8621668a0bdf2910614d95c6
BOOT_JDK_REMOTE_FILE=zulu20.32.11-ca-jdk20.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=fca5081dd6da847fcd06f5b755e58edae22d6784f21b81bf73da2b538f842c07
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_amd64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
@@ -22,7 +22,7 @@ sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jbr17buildenv -f Dockerfile.musl_x64 .
docker build -t jetbrains/runtime:jbr21env_musl_x64 -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

View File

@@ -0,0 +1,28 @@
#!/bin/bash
set -euo pipefail
set -x
# This script creates a Docker image suitable for building x86-64 variant
BOOT_JDK_REMOTE_FILE=zulu21.36.17-ca-jdk21.0.4-linux_x64.tar.gz
BOOT_JDK_SHA=318d0c2ed3c876fb7ea2c952945cdcf7decfb5264ca51aece159e635ac53d544
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 jetbrains/runtime:jbr21env_oraclelinux7_amd64 -f Dockerfile.oraclelinux_x86_64 .
# 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

@@ -0,0 +1,6 @@
[ol7_scl]
name=Oracle Linux $releasever Update 8 ($basearch) Software Collection
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL7/SoftwareCollections/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

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

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

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

@@ -5,7 +5,7 @@ set -x
function check_bundle_type_maketest() {
# check whether last char is 't', if so remove it
if [ "${bundle_type: -1}" == "t" ]; then
if [ "${bundle_type: -1}" == "t" ] && [ "${bundle_type: -2}" != "ft" ]; then
bundle_type="${bundle_type%?}"
do_maketest=1
else
@@ -17,9 +17,11 @@ function getVersionProp() {
grep "^${1}" make/conf/version-numbers.conf | cut -d'=' -f2
}
while getopts ":i?" o; do
DISABLE_WARNINGS_AS_ERRORS=""
while getopts ":iw?" o; do
case "${o}" in
i) INC_BUILD=1 ;;
w) DISABLE_WARNINGS_AS_ERRORS="--disable-warnings-as-errors" ;;
esac
done
shift $((OPTIND-1))
@@ -36,8 +38,8 @@ 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)
tag_prefix="jbr-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "$tag_prefix" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d ",")
VERSION_FEATURE=$(getVersionProp "DEFAULT_VERSION_FEATURE")
VERSION_INTERIM=$(getVersionProp "DEFAULT_VERSION_INTERIM")
VERSION_UPDATE=$(getVersionProp "DEFAULT_VERSION_UPDATE")
@@ -94,6 +96,12 @@ esac
WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS="--with-native-debug-symbols=zipped"
if [ "$bundle_type" == "nomodft" ]; then
WITH_BUNDLED_FREETYPE="--with-freetype=bundled"
else
WITH_BUNDLED_FREETYPE=""
fi
REPRODUCIBLE_BUILD_OPTS="--with-source-date=$SOURCE_DATE_EPOCH
--with-hotspot-build-time=$BUILD_TIME
--with-copyright-year=$COPYRIGHT_YEAR

View File

@@ -35,9 +35,11 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
$WITH_BUNDLED_FREETYPE \
|| do_exit $?
}
@@ -58,19 +60,20 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; 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"
$__cds_opt --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
@@ -100,16 +103,23 @@ function create_image_bundle {
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-aarch64-server-release
jbr_name_postfix=""
case "$bundle_type" in
"jcef")
do_reset_changes=1
jbr_name_postfix="_${bundle_type}"
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"nomodft" | "")
jbr_name_postfix="_ft"
;;
"fd")
do_reset_changes=1
jbr_name_postfix="_${bundle_type}"
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-aarch64-server-fastdebug
;;
@@ -133,11 +143,7 @@ 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
@@ -155,8 +161,7 @@ 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"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
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 $?

View File

@@ -25,6 +25,13 @@ source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
function do_configure {
if is_musl; then
LINUX_TARGET=""
else
LINUX_TARGET="\
--build=x86_64-unknown-linux-gnu \
--openjdk-target=x86_64-unknown-linux-gnu"
fi
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
@@ -35,9 +42,12 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$LINUX_TARGET \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
$WITH_BUNDLED_FREETYPE \
|| do_exit $?
}
@@ -58,8 +68,10 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; 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}
@@ -69,7 +81,7 @@ function create_image_bundle {
[ -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"
$__cds_opt --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
@@ -99,16 +111,23 @@ function create_image_bundle {
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86_64-server-release
jbr_name_postfix=""
case "$bundle_type" in
"jcef")
do_reset_changes=1
jbr_name_postfix="_${bundle_type}"
do_maketest=1
;;
"nomod" | "")
bundle_type=""
;;
"nomodft" | "")
jbr_name_postfix="_ft"
;;
"fd")
do_reset_changes=1
jbr_name_postfix="_${bundle_type}"
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-x86_64-server-fastdebug
;;
@@ -132,11 +151,7 @@ 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
@@ -154,8 +169,7 @@ 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"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
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 $?

View File

@@ -25,6 +25,7 @@ function do_configure {
--with-boot-jdk="$BOOT_JDK" \
$STATIC_CONF_ARGS \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
@@ -47,8 +48,10 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; 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}
@@ -58,7 +61,7 @@ function create_image_bundle {
[ -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"
$__cds_opt --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
@@ -134,8 +137,7 @@ 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"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
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 $?

View File

@@ -26,11 +26,6 @@ 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" \
@@ -43,6 +38,7 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -56,6 +52,8 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
tmp=.bundle.$$.tmp
mkdir "$tmp" || do_exit $?
@@ -70,7 +68,7 @@ function create_image_bundle {
echo Running jlink...
"$JSDK"/bin/jlink \
--module-path "$__modules_path" --no-man-pages --compress=2 \
--add-modules "$__modules" --output "$JRE_CONTENTS/Home" || do_exit $?
$__cds_opt --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
@@ -162,8 +160,7 @@ 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"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
[ -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

View File

@@ -100,7 +100,7 @@ done
log "Signing whole frameworks..."
# shellcheck disable=SC2043
if [ "$JB_SIGN" = true ]; then for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
"Contents/Frameworks/cef_server.app/Contents/Frameworks" "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

View File

@@ -49,6 +49,7 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -103,13 +104,13 @@ 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 $?
make LOG=info CONF=$RELEASE_NAME clean images test-image 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

@@ -40,6 +40,7 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -52,6 +53,8 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -59,10 +62,10 @@ function create_image_bundle {
echo Running jlink ...
${JSDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
$__cds_opt --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
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
@@ -94,13 +97,13 @@ 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 $?
make LOG=info CONF=$RELEASE_NAME clean images test-image 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

@@ -36,6 +36,7 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -48,6 +49,8 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -55,7 +58,7 @@ function create_image_bundle {
echo Running jlink ...
${JSDK}/bin/jlink \
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
$__cds_opt --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
@@ -89,13 +92,13 @@ 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 $?
make LOG=info CONF=$RELEASE_NAME clean images test-image 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

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

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

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

@@ -100,6 +100,7 @@ $(eval $(call SetupJavaCompilation, $(MODULE), \
BIN := $(if $($(MODULE)_BIN), $($(MODULE)_BIN), $(JDK_OUTPUTDIR)/modules), \
HEADERS := $(SUPPORT_OUTPUTDIR)/headers, \
CREATE_API_DIGEST := true, \
PROCESS_JBR_API := true, \
CLEAN := $(CLEAN), \
CLEAN_FILES := $(CLEAN_FILES), \
COPY := $(COPY), \

View File

@@ -84,7 +84,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
DISABLED_WARNINGS := options, \
JAVAC_FLAGS := \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
@@ -97,13 +97,21 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
DEPEND_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services/com.sun.source.util.Plugin
$(eval $(call SetupJavaCompilation, COMPILE_JBR_API_PLUGIN, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/jbrapi, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
))
$(DEPEND_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services)
PLUGINS_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services/com.sun.source.util.Plugin
$(PLUGINS_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services)
$(ECHO) build.tools.depend.Depend > $@
$(ECHO) build.tools.jbrapi.JBRApiPlugin >> $@
TARGETS += $(COMPILE_DEPEND) $(DEPEND_SERVICE_PROVIDER)
TARGETS += $(COMPILE_DEPEND) $(COMPILE_JBR_API_PLUGIN) $(PLUGINS_SERVICE_PROVIDER)
################################################################################

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

@@ -25,69 +25,49 @@
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include Utils.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_ORIGIN := https://github.com/JetBrains/JetBrainsRuntimeApi.git
JBR_API_DIR := $(TOPDIR)/jbr-api
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
ARTIFACT_NAME := jbr-api-SNAPSHOT
ifeq ($(call isBuildOsEnv, windows.cygwin windows.msys2), true)
HOME := $$USERPROFILE
M2_REPO := $(shell $(PATHTOOL) $(HOME))/.m2/repository
else ifeq ($(call isBuildOsEnv, windows.wsl1 windows.wsl2), true)
HOME := `cmd.exe /C "echo %USERPROFILE%" 2> /dev/null`
M2_REPO := $(shell $(PATHTOOL) $(HOME))/.m2/repository
else
.PHONY: $(JBR_API_VERSION_PROPERTIES)
JBR_API_FAIL_ON_HASH_MISMATCH := true
M2_REPO := $(HOME)/.m2/repository
endif
M2_ARTIFACT := $(M2_REPO)/com/jetbrains/jbr-api/SNAPSHOT
M2_POM_CONTENT := \
<?xml version="1.0" encoding="UTF-8"?> \
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" \
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> \
<modelVersion>4.0.0</modelVersion> \
<groupId>com.jetbrains</groupId> \
<artifactId>jbr-api</artifactId> \
<version>SNAPSHOT</version> \
</project> \
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, \
))
jbr-api:
if [ -d "$(JBR_API_DIR)" ]; then \
$(GIT) -C "$(JBR_API_DIR)" fetch; \
$(GIT) -C "$(JBR_API_DIR)" merge-base --is-ancestor origin/main HEAD || \
$(ECHO) "!!! Current JBR API revision is outdated, update the branch in $(JBR_API_DIR) !!!"; \
else \
$(ECHO) "JBR API directory does not exist. Initializing..."; \
$(GIT) clone "$(JBR_API_ORIGIN)" "$(JBR_API_DIR)" --config core.autocrlf=false; \
fi
$(BASH) "$(JBR_API_DIR)/tools/build.sh" dev "$(BOOT_JDK)"
if [ -d "$(M2_REPO)" ]; then \
$(MKDIR) -p $(M2_ARTIFACT); \
$(ECHO) "$(M2_POM_CONTENT)" > $(M2_ARTIFACT)/$(ARTIFACT_NAME).pom; \
$(CP) "$(JBR_API_DIR)/out/$(ARTIFACT_NAME).jar" "$(M2_ARTIFACT)"; \
$(ECHO) "Installed into local Maven repository as com.jetbrains:jbr-api:SNAPSHOT"; \
else \
$(ECHO) "No Maven repository found at $(M2_REPO) - skipping local installation"; \
fi
$(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
.PHONY: jbr-api

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -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
@@ -742,8 +743,6 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }')
JTREG_TIMEOUT_FACTOR ?= 4
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_TEST_THREAD_FACTORY ?=
@@ -800,8 +799,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
@@ -829,6 +830,24 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
JTREG_AUTO_PROBLEM_LISTS :=
JTREG_AUTO_TIMEOUT_FACTOR := 4
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
JTREG_AUTO_TIMEOUT_FACTOR := 10
endif
ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
ifneq ($$(findstring -XX:-ZGenerational, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
else
JTREG_AUTO_PROBLEM_LISTS += ProblemList-generational-zgc.txt
endif
endif
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
@@ -860,11 +879,24 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-workdir-$1:
# SetupRunJtregTestCustom might also adjust JTREG_AUTO_ variables
# so set the final results after setting values from custom setup
ifneq ($$(JTREG_AUTO_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(JTREG_AUTO_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_AUTO_PROBLEM_LISTS)) \
))
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
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 +939,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 +976,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

@@ -313,9 +313,11 @@ AC_OUTPUT
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS
CUSTOM_SUMMARY_AND_WARNINGS_HOOK
HELP_REPEAT_WARNINGS
# All output is done. Do the post-config output management.
BASIC_POST_CONFIG_OUTPUT

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, 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
@@ -770,6 +835,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# for all archs except arm and ppc, prevent gcc to omit frame pointer
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
if test "x$FLAGS_CPU" = xppc64le; then
# Little endian machine uses ELFv2 ABI.
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
$1_CFLAGS_CPU="-mcpu=pwr8"
@@ -797,15 +867,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -816,6 +877,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 +911,22 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
FILE_MACRO_CFLAGS=
]
)
if test "x$FILE_MACRO_CFLAGS" != x; then
# Add -pathmap for all VS system include paths using Windows
# full Long path name that is generated by the compiler
# Not enabled under WSL as there is no easy way to obtain the
# Windows full long paths, thus reproducible WSL builds will
# depend on building with the same VS toolchain install location.
if test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl1" && test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl2"; then
for ipath in ${$3SYSROOT_CFLAGS}; do
if test "x${ipath:0:2}" == "x-I"; then
ipath_path=${ipath#"-I"}
UTIL_FIXUP_WIN_LONG_PATH(ipath_path)
FILE_MACRO_CFLAGS="$FILE_MACRO_CFLAGS -pathmap:\"$ipath_path\"=vsi"
fi
done
fi
fi
fi
AC_MSG_CHECKING([how to prevent absolute paths in output])
@@ -926,17 +1004,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -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
@@ -514,9 +525,15 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
#
AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
UTIL_ARG_WITH(NAME: additional-ubsan-checks, TYPE: string,
DEFAULT: [],
DESC: [Customizes the ubsan checks],
OPTIONAL: true)
# 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 \
$ADDITIONAL_UBSAN_CHECKS"
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 +715,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 +864,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

@@ -70,6 +70,25 @@ AC_DEFUN_ONCE([LIB_SETUP_ALSA],
PKG_CHECK_MODULES(ALSA, alsa, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
fi
if test "x$ALSA_FOUND" = xno; then
# If we have sysroot set, and no explicit library location is set,
# look at known locations in sysroot.
if test "x$SYSROOT" != "x" && test "x${with_alsa_lib}" == x; then
if test -f "$SYSROOT/usr/lib64/libasound.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
ALSA_LIBS="-L$SYSROOT/usr/lib64 -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI -lasound"
ALSA_FOUND=yes
fi
fi
fi
if test "x$ALSA_FOUND" = xno; then
AC_CHECK_HEADERS([alsa/asoundlib.h],
[

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

55
make/autoconf/lib-dbus.m4 Normal file
View File

@@ -0,0 +1,55 @@
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, 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.
#
################################################################################
# Check if a potential dbus library match is correct and usable
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_DBUS],
[
AC_ARG_WITH(dbus-includes, [AS_HELP_STRING([--with-dbus-includes],
[specify include directories for the dbus files as list separated by space])])
if test "x$NEEDS_LIB_DBUS" = xfalse; then
DBUS_CFLAGS=
DBUS_FOUND=false
else
if test "x${with_dbus_includes}" != x; then
DBUS_FOUND=true
DBUS_CFLAGS=""
for include in $with_dbus_includes; do
DBUS_CFLAGS="${DBUS_CFLAGS}-I${include} "
done
else
PKG_CHECK_MODULES(DBUS, dbus-1, [DBUS_FOUND=true], [
DBUS_FOUND=false
AC_MSG_NOTICE([Can't find dbus-1 library. This library is needed to use some features. You can install dbus-1 library or specify include directories manually by giving --with-dbus-includes option.])
])
fi
fi
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_FOUND)
])

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

@@ -34,6 +34,9 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
(expecting the headers under PATH/include)])])
AC_ARG_WITH(wayland-include, [AS_HELP_STRING([--with-wayland-include],
[specify directory for the wayland include files])])
AC_ARG_WITH(wayland-lib, [AS_HELP_STRING([--with-wayland-lib],
[specify directory for the wayland library files])])
if test "x$NEEDS_LIB_WAYLAND" = xfalse; then
if (test "x${with_wayland}" != x && test "x${with_wayland}" != xno) || \
@@ -73,6 +76,10 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
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${with_wayland_lib}" != x; then
WAYLAND_LIBS="-L${with_wayland_lib} -lwayland-client -lwayland-cursor"
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],
@@ -97,7 +104,10 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
[specify whether we use vulkan])])
AC_ARG_WITH(vulkan-include, [AS_HELP_STRING([--with-vulkan-include],
[specify directory for the vulkan include files])])
[specify directory for the vulkan include files ({with-vulkan-include}/vulkan/vulkan.h)])])
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
@@ -117,13 +127,15 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
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"
VULKAN_ENABLED=true
],
[ AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}']) ]
)
AC_MSG_CHECKING([for vulkan.h])
if test -s "${with_vulkan_include}/vulkan/vulkan.h"; then
VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${with_vulkan_include} -DVULKAN_ENABLED"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}'])
fi
fi
if test "x$VULKAN_FOUND" = xno; then
@@ -131,7 +143,6 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
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_ENABLED=true
],
[ VULKAN_FOUND=no; break ]
)
@@ -142,7 +153,6 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
AC_CHECK_HEADERS([vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -DVULKAN_ENABLED"
VULKAN_ENABLED=true
],
[ VULKAN_FOUND=no; break ]
)
@@ -151,11 +161,32 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
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.
@@ -69,9 +71,9 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
fi
fi
fi
@@ -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

@@ -37,7 +37,7 @@ m4_include([lib-fontconfig.m4])
m4_include([lib-speechd.m4])
m4_include([lib-nvdacontrollerclient.m4])
m4_include([lib-wayland.m4])
m4_include([lib-dbus.m4])
m4_include([lib-tests.m4])
################################################################################
@@ -90,11 +90,13 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
NEEDS_LIB_FREETYPE=true
fi
# Check if alsa is needed
# Check if alsa and dbus is needed
if test "x$OPENJDK_TARGET_OS" = xlinux; then
NEEDS_LIB_ALSA=true
NEEDS_LIB_DBUS=true
else
NEEDS_LIB_ALSA=false
NEEDS_LIB_DBUS=false
fi
# Check if ffi is needed
@@ -131,12 +133,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
])
################################################################################
@@ -158,7 +154,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_SPEECHD
LIB_SETUP_NVDACONTROLLERCLIENT
LIB_SETUP_WAYLAND
LIB_SETUP_DBUS
LIB_TESTS_SETUP_GTEST
BASIC_JDKLIB_LIBS=""

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,6 +467,10 @@ UBSAN_LDFLAGS:=@UBSAN_LDFLAGS@
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
# Necessary additional compiler flags to compile dbus
DBUS_CFLAGS := @DBUS_CFLAGS@
DBUS_FOUND := @DBUS_FOUND@
# Linux speechd a11y announcer
A11Y_SPEECHD_ANNOUNCING_ENABLED:=@A11Y_SPEECHD_ANNOUNCING_ENABLED@
SPEECHD_CFLAGS:=@SPEECHD_CFLAGS@
@@ -482,6 +488,7 @@ 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
@@ -620,6 +627,7 @@ AR := @AR@
ARFLAGS:=@ARFLAGS@
NM:=@NM@
NMFLAGS:=@NMFLAGS@
STRIP:=@STRIP@
OBJDUMP:=@OBJDUMP@
CXXFILT:=@CXXFILT@
@@ -697,6 +705,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
@@ -445,6 +449,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# or look like
# gcc (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
# Copyright (C) 2020 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
COMPILER_VERSION_OUTPUT=`$COMPILER --version 2>&1`
# Check that this is likely to be GCC.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Free Software Foundation" > /dev/null
@@ -458,7 +467,8 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
$AWK -F ')' '{print [$]2}' | \
$AWK '{print [$]1}'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like
# Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
@@ -804,7 +814,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

@@ -168,6 +168,7 @@ endef
# CREATE_API_DIGEST:=Set to true to use a javac plugin to generate a public API
# hash which can be used for down stream dependencies to only rebuild
# when the API changes.
# PROCESS_JBR_API:=Set to true to use an annotation processor to generate JBR API bindings.
# KEEP_ALL_TRANSLATIONS:=Set to true to skip translation filtering
SetupJavaCompilation = $(NamedParamsMacroTemplate)
define SetupJavaCompilationBody
@@ -442,13 +443,22 @@ define SetupJavaCompilationBody
ifeq ($$($1_CREATE_API_DIGEST), true)
$1_API_DIGEST_FLAGS := \
-classpath $$(BUILDTOOLS_OUTPUTDIR)/depend \
-Xplugin:"depend $$($1_API_TARGET)" \
"-XDinternalAPIPath=$$($1_API_INTERNAL)" \
"-XDLOG_LEVEL=$(LOG_LEVEL)" \
#
$1_EXTRA_DEPS := $$(BUILDTOOLS_OUTPUTDIR)/depend/_the.COMPILE_DEPEND_batch
$1_EXTRA_DEPS := $$($1_EXTRA_DEPS) $$(BUILDTOOLS_OUTPUTDIR)/plugins/_the.COMPILE_DEPEND_batch
endif
ifeq ($$($1_PROCESS_JBR_API), true)
# Automatic path conversion doesn't work for two arguments, so call fixpath manually
$1_JBR_API_FLAGS := -Xplugin:"jbr-api $$(call FixPath, $$($1_BIN)/java.base/META-INF/jbrapi.registry) $$(call FixPath, $(TOPDIR)/jb/jbr-api.version)"
$1_EXTRA_DEPS := $$($1_EXTRA_DEPS) $$(BUILDTOOLS_OUTPUTDIR)/plugins/_the.COMPILE_JBR_API_PLUGIN_batch
endif
ifeq ($$(call Or, $$($1_CREATE_API_DIGEST) $$($1_PROCESS_JBR_API)), true)
$1_PROCESSORPATH := -processorpath $$(BUILDTOOLS_OUTPUTDIR)/plugins
endif
# Create a file with all sources, to pass to javac in an @file.
@@ -487,7 +497,7 @@ define SetupJavaCompilationBody
$$(call MakeDir, $$(@D))
$$(call ExecuteWithLog, $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$$($1_SAFE_NAME)_batch, \
$$($1_JAVAC_CMD) $$($1_FLAGS) \
$$($1_API_DIGEST_FLAGS) \
$$($1_PROCESSORPATH) $$($1_API_DIGEST_FLAGS) $$($1_JBR_API_FLAGS) \
-XDmodifiedInputs=$$($1_MODFILELIST_FIXED) \
-d $$($1_BIN) $$($1_HEADERS_ARG) @$$($1_FILELIST)) && \
$(TOUCH) $$@

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
@@ -285,6 +289,7 @@ ifeq ($(call isTargetOs, macosx), true)
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
fi
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
fi
endef

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
@@ -215,7 +215,21 @@ DEPENDENCY_TARGET_SED_PATTERN := \
# The fix-deps-file macro is used to adjust the contents of the generated make
# dependency files to contain paths compatible with make.
#
REWRITE_PATHS_RELATIVE = false
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
REWRITE_PATHS_RELATIVE = true
endif
# CCACHE_BASEDIR needs fix-deps-file as makefiles use absolute filenames for
# object files while CCACHE_BASEDIR will make ccache relativize all paths for
# its compiler. The compiler then produces relative dependency files.
# make does not know a relative and absolute filename is the same so it will
# ignore such dependencies.
ifneq ($(CCACHE), )
REWRITE_PATHS_RELATIVE = true
endif
ifeq ($(REWRITE_PATHS_RELATIVE), true)
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
MakeCommandRelative = \
$(CD) $(WORKSPACE_ROOT) && \
@@ -1050,13 +1064,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 +1118,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

@@ -56,22 +56,32 @@ define SetupTestFilesCompilationBody
$$(error There are duplicate test file names for $1: $$($1_DUPLICATED_NAMES))
endif
# Always include common test functionality
TEST_CFLAGS := -I$(TOPDIR)/test/lib/native
ifeq ($(TOOLCHAIN_TYPE), gcc)
TEST_CFLAGS += -fvisibility=hidden
TEST_LDFLAGS += -Wl,--exclude-libs,ALL
else ifeq ($(TOOLCHAIN_TYPE), clang)
TEST_CFLAGS += -fvisibility=hidden
endif
# The list to depend on starts out empty
$1 :=
ifeq ($$($1_TYPE), LIBRARY)
$1_PREFIX = lib
$1_OUTPUT_SUBDIR := lib
$1_BASE_CFLAGS := $(CFLAGS_JDKLIB)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_BASE_CFLAGS := $(CFLAGS_JDKLIB) $$(TEST_CFLAGS)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB) $$(TEST_CFLAGS)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(TEST_LDFLAGS) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_COMPILATION_TYPE := LIBRARY
$1_LOG_TYPE := library
else ifeq ($$($1_TYPE), PROGRAM)
$1_PREFIX = exe
$1_OUTPUT_SUBDIR := bin
$1_BASE_CFLAGS := $(CFLAGS_JDKEXE)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKEXE)
$1_LDFLAGS := $(LDFLAGS_JDKEXE) $(LDFLAGS_TESTEXE)
$1_BASE_CFLAGS := $(CFLAGS_JDKEXE) $$(TEST_CFLAGS)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKEXE) $$(TEST_CFLAGS)
$1_LDFLAGS := $(LDFLAGS_JDKEXE) $$(TEST_LDFLAGS) $(LDFLAGS_TESTEXE)
$1_COMPILATION_TYPE := EXECUTABLE
$1_LOG_TYPE := executable
else

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.6%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.6_7.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a2650fba422283fbed20d936ce5d2a52906a5414ec17b2f7676dddb87201dbae
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.6_7.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=4ef4083919126a3d93e603284b405c7493905497485a92b375f5d6c3e8f7e8f2
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.6%2B7/OpenJDK21U-jdk_x64_mac_hotspot_21.0.6_7.tar.gz
MACOS_X64_BOOT_JDK_SHA256=7aacfc400078ad65b7c7de3ec75ff74bf5c2077d6740b350f85ae10be4f71e76
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.6%2B7/OpenJDK21U-jdk_x64_windows_hotspot_21.0.6_7.zip
WINDOWS_X64_BOOT_JDK_SHA256=897c8eebb0f85a99ccecbd482ebae9a45d88c19d6077054f6529ebab49b6d259

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=7
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=2025-04-15
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11

File diff suppressed because it is too large Load Diff

View File

@@ -708,7 +708,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<territory type="BS">𞤄𞤢𞤸𞤢𞤥𞤢𞥄𞤧</territory>
<territory type="BT">𞤄𞤵𞥅𞤼𞤢𞥄𞤲</territory>
<territory type="BV">𞤅𞤵𞤪𞤭𞥅𞤪𞤫 𞤄𞤵𞥅𞤾𞤫𞥅</territory>
<territory type="BW">𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</territory>
<territory type="BW">𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</territory>
<territory type="BY">𞤄𞤫𞤤𞤢𞤪𞤵𞥅𞤧</territory>
<territory type="BZ">𞤄𞤫𞤤𞤭𞥅𞥁</territory>
<territory type="CA">𞤑𞤢𞤲𞤢𞤣𞤢𞥄</territory>
@@ -8278,7 +8278,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<exemplarCity>𞤐𞤵𞥅𞤳</exemplarCity>
</zone>
<zone type="America/Scoresbysund">
<exemplarCity>𞤋𞤼𞥆𞤮𞤳𞤮𞤪𞤼𞤮𞥅𞤪𞤥𞤭𞥅𞤼</exemplarCity>
<exemplarCity>𞤋𞤼𞥆𞤮𞤳𞤮𞤪𞤼𞤮𞥅𞤪𞤥𞤭𞥅𞤼</exemplarCity>
</zone>
<zone type="America/Danmarkshavn">
<exemplarCity>𞤁𞤢𞥄𞤲𞤥𞤢𞤪𞤳𞥃𞤢𞥄𞤾𞤲</exemplarCity>

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -539,6 +539,7 @@ $(BUILDDIR)/$(gcc_ver)/Makefile \
$(PATHPRE) $(ENVS) $(GCC_CFG) $(EXTRA_CFLAGS) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
--with-debug-prefix-map=$(OUTPUT_ROOT)=devkit \
--enable-languages=c,c++ \
--enable-shared \
--disable-nls \

View File

@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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,9 +26,10 @@
# Create a bundle in the build directory, containing what's needed to
# build and run JMH microbenchmarks from the OpenJDK build.
JMH_VERSION=1.36
COMMONS_MATH3_VERSION=3.2
JMH_VERSION=1.37
COMMONS_MATH3_VERSION=3.6.1
JOPT_SIMPLE_VERSION=5.0.4
MAVEN_MIRROR=${MAVEN_MIRROR:-https://repo.maven.apache.org/maven2}
BUNDLE_NAME=jmh-$JMH_VERSION.tar.gz
@@ -41,9 +42,9 @@ cd $JAR_DIR
rm -f *
fetchJar() {
url="https://repo.maven.apache.org/maven2/$1/$2/$3/$2-$3.jar"
url="${MAVEN_MIRROR}/$1/$2/$3/$2-$3.jar"
if command -v curl > /dev/null; then
curl -O --fail $url
curl -OL --fail $url
elif command -v wget > /dev/null; then
wget $url
else

View File

@@ -51,7 +51,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
endif
# Set the C++ standard
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG)
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAGS)
# NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to
# hurt.
@@ -62,7 +62,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLC_CFLAGS += -I$(TOPDIR)/src/hotspot/share
# Add file macro mappings
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS)
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
ifeq ($(UBSAN_ENABLED), true)
ADLC_CFLAGS += $(UBSAN_CFLAGS)
@@ -133,6 +133,21 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLCFLAGS += -DARM=1
endif
# Set ASSERT, NDEBUG and PRODUCT flags just like in JvmFlags.gmk
ifeq ($(DEBUG_LEVEL), release)
# release builds disable uses of assert macro from <assert.h>.
ADLCFLAGS += -DNDEBUG
# For hotspot, release builds differ internally between "optimized" and "product"
# in that "optimize" does not define PRODUCT.
ifneq ($(HOTSPOT_DEBUG_LEVEL), optimized)
ADLCFLAGS += -DPRODUCT
endif
else ifeq ($(DEBUG_LEVEL), fastdebug)
ADLCFLAGS += -DASSERT
else ifeq ($(DEBUG_LEVEL), slowdebug)
ADLCFLAGS += -DASSERT
endif
##############################################################################
# Concatenate all ad source files into a single file, which will be fed to
# adlc. Also include a #line directive at the start of every included file

View File

@@ -157,8 +157,13 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
DISABLED_WARNINGS_gcc_ad_$(HOTSPOT_TARGET_CPU_ARCH).cpp := nonnull, \
DISABLED_WARNINGS_gcc_cgroupV1Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_cgroupV2Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_handshake.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_interp_masm_x86.cpp := uninitialized, \
DISABLED_WARNINGS_gcc_jvmciCodeInstaller.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_jvmtiTagMap.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
DISABLED_WARNINGS_gcc_shenandoahLock.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_synchronizer.cpp := stringop-overflow, \
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang), \
DISABLED_WARNINGS_clang_arguments.cpp := missing-field-initializers, \
DISABLED_WARNINGS_clang_codeBuffer.cpp := tautological-undefined-compare, \
@@ -276,10 +281,10 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
define SetupOperatorNewDeleteCheck
$1.op_check: $1
$$(call ExecuteWithLog, $1.op_check, \
$$(NM) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
$$(NM) $$(NMFLAGS) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
if [ -s $1.op_check ]; then \
$$(ECHO) "$$(notdir $$<): Error: Use of global operators new and delete is not allowed in Hotspot:"; \
$$(NM) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(NM) $$(NMFLAGS) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(ECHO) "See: $$(TOPDIR)/make/hotspot/lib/CompileJvm.gmk"; \
exit 1; \
fi

View File

@@ -53,7 +53,7 @@ endif
# platform dependent.
ifeq ($(call isTargetOs, linux), true)
DUMP_SYMBOLS_CMD := $(NM) --defined-only *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) --defined-only *$(OBJ_SUFFIX)
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -67,7 +67,7 @@ ifeq ($(call isTargetOs, linux), true)
else ifeq ($(call isTargetOs, macosx), true)
# nm on macosx prints out "warning: nm: no name list" to stderr for
# files without symbols. Hide this, even at the expense of hiding real errors.
DUMP_SYMBOLS_CMD := $(NM) -Uj *$(OBJ_SUFFIX) 2> /dev/null
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -Uj *$(OBJ_SUFFIX) 2> /dev/null
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -89,7 +89,7 @@ else ifeq ($(call isTargetOs, aix), true)
# which may be installed under /opt/freeware/bin. So better use an absolute path here!
# NM=/usr/bin/nm
DUMP_SYMBOLS_CMD := $(NM) -X64 -B -C *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -B -C *$(OBJ_SUFFIX)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if (($$2="d" || $$2="D") && ($$3 ~ /^__vft/ || $$3 ~ /^gHotSpotVM/)) print $$3; \

View File

@@ -61,7 +61,7 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupCopyFiles, COPY_GTEST_PDB_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/gtest, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := jvm.pdb gtestLauncher.pdb, \
FILES := jvm.dll.pdb gtestLauncher.exe.pdb, \
)) \
$(eval TARGETS += $$(COPY_GTEST_PDB_$v)) \
) \

View File

@@ -329,7 +329,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "PrecompiledHeaderOutputFile", outDir+Util.sep+"vm.pch");
addAttr(rv, "AssemblerListingLocation", outDir);
addAttr(rv, "ObjectFileName", outDir+Util.sep);
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.pdb");
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.dll.pdb");
// Set /nologo option
addAttr(rv, "SuppressStartupBanner", "true");
// Surpass the default /Tc or /Tp.
@@ -409,7 +409,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "OutputFile", outDll);
addAttr(rv, "SuppressStartupBanner", "true");
addAttr(rv, "ModuleDefinitionFile", outDir+Util.sep+"vm.def");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.pdb");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.dll.pdb");
addAttr(rv, "SubSystem", "Windows");
addAttr(rv, "BaseAddress", "0x8000000");
addAttr(rv, "ImportLibrary", outDir+Util.sep+"jvm.lib");

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 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
@@ -32,6 +32,7 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
@@ -339,9 +340,15 @@ public class GenerateCurrencyData {
validCurrencyCodes.substring(i * 7 + 3, i * 7 + 6));
checkCurrencyCode(currencyCode);
int tableEntry = mainTable[(currencyCode.charAt(0) - 'A') * A_TO_Z + (currencyCode.charAt(1) - 'A')];
if (tableEntry == INVALID_COUNTRY_ENTRY ||
(tableEntry & SPECIAL_CASE_COUNTRY_MASK) != 0 ||
(tableEntry & SIMPLE_CASE_COUNTRY_FINAL_CHAR_MASK) != (currencyCode.charAt(2) - 'A')) {
// Do not allow a future currency to be classified as an otherCurrency,
// otherwise it will leak out into Currency:getAvailableCurrencies
boolean futureCurrency = Arrays.asList(specialCaseNewCurrencies).contains(currencyCode);
boolean simpleCurrency = (tableEntry & SIMPLE_CASE_COUNTRY_FINAL_CHAR_MASK) == (currencyCode.charAt(2) - 'A');
// If neither a simple currency, or one defined in the future
// then the current currency is applicable to be added to the otherTable
if (!futureCurrency && !simpleCurrency) {
if (otherCurrenciesCount == maxOtherCurrencies) {
throw new RuntimeException("too many other currencies");
}

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