Compare commits

...

1857 Commits

Author SHA1 Message Date
Sergei Tachenov
c2ca28038b JBR-7586 Fix title click ungrab when an active user component is clicked
Swing requires that clicking frame decorations should cause the window
to be ungrabbed. However, if a custom title is used, and that title contains
user-provided components, then clicking such components should not
cause the window to be ungrabbed, otherwise a menu located in a custom
title behaves incorrectly.

Fix by using the same logic as for the native actions, such as moving the window.
If the native actions are allowed, then ungrabbing is allowed as well.
Otherwise, do not ungrab, let the component behave like it's located in the client area.

The fix is supplemented with a new regression test "test/jdk/jb/javax/swing/CustomTitleBar/JMenuClickToCloseTest.java".

(cherry picked from commit 55b668410b)
2024-09-09 15:59:47 +02:00
Sergei Tachenov
6bc977736d JBR-7484 Update the cursor on mouse entered/exited
AppKit resets the cursor on native mouse entered/exited events. Depending on the order of events, it may end up setting the wrong cursor. So update it forcibly on such events.

(cherry picked from commit c3a5385b11)
2024-09-05 13:16:03 +02:00
Sergei Tachenov
68f7e69059 JBR-7481 Work around mouse entered/exited bug
To fix missing mouse entered/exited events when
using rounded corners, we keep track of mouse moved events. When a mouse moved event is detected, and the current peer under the cursor belongs to a different window, we send fake mouse entered/exit events to the old and new windows. We also filter late mouse exited events.

The workaround is enabled by default with the VM option "awt.mac.enableMouseEnteredExitedWorkaround" to disable it in case something breaks.

About the test:
Use the robot to find the points when the mouse
entered event is sent to the popup when the mouse
enters through a rounded corner, and the similar
point for entering the outer window when exiting
through such a corner.

Once the points are found, move the mouse back
and forth to that point, but not beyond.
The correct behavior is that when the mouse
enters the popup, a mouse exited event is sent
to the outer frame and vice versa.
Therefore, every mouse entered/exited event
should be received exactly once.

Use reflection to set the rounded corners,
as JBR API isn't available in tests.

(cherry picked from commit efd180adf0)
2024-09-05 13:16:03 +02:00
Dmitrii Morskii
e93bdd994b JBR-7438 tune updateCursorImmediately method 2024-08-21 14:32:41 +01:00
Dmitrii Morskii
7191ab7ce2 JBR-6772 handled case with adding new timers after VM was suspended 2024-08-08 11:42:09 +01:00
Vitaly Provodin
d71b8ab3fb update exclude list on results of 17.0.12_b1336 (17.0.12) test runs 2024-07-20 12:26:35 +04:00
Dmitry Batrak
e3a77c04c9 JBR-5751 java/awt/Focus/RowToleranceTransitivityTest.java: Focus got stuck while traversing. 2024-07-19 06:44:11 +04:00
Christoph Langer
c78bb21879 8335963: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.12
Reviewed-by: mbaesken
2024-07-19 02:25:47 +04:00
Martin Balao
50590d2aa2 8320548: Improved loop handling
Backport-of: 72eed2f709caa48c82f58fe75c7e94d2c45947e1
2024-07-19 02:25:47 +04:00
Martin Balao
c24b869b61 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
Reviewed-by: roland
Backport-of: cc894d849a
2024-07-19 02:25:47 +04:00
Martin Balao
b2781f0d4a 8327413: Enhance compilation efficiency
Backport-of: eb1f33f525846e6020185cbc5d6e48cbc760dbb2
2024-07-19 02:25:47 +04:00
Yuri Nesterenko
8117b90c9f 8324559: Improve 2D image handling
Reviewed-by: mbalao
Backport-of: 1a5a44019871c411148ca85d0491cc68d2256e4e
2024-07-19 02:25:47 +04:00
Alexei Voitylov
7501c4869c 8323390: Enhance mask blit functionality
Reviewed-by: mbalao
Backport-of: 895893f2fbf1c521d4a263d505f0ecbda8d2eeea
2024-07-19 02:25:46 +04:00
Martin Balao
a6c8941678 8323231: Improve array management
Reviewed-by: mbaesken
Backport-of: cf20364d0cb3f182880ee91c7fb023615e27becf
2024-07-19 02:25:46 +04:00
Yuri Nesterenko
b04abc169a 8320097: Improve Image transformations
Reviewed-by: mbalao
Backport-of: 1401634b21b76db90291011bcae68c461742e687
2024-07-19 02:25:46 +04:00
Alexei Voitylov
e95a730e0d 8325600: Better symbol storage
Reviewed-by: mbalao
Backport-of: da06689bf6fde7b6dd8efc2f0c39fc95adcdb69d
2024-07-19 02:25:46 +04:00
Alexei Voitylov
6c91c6db00 8319859: Better symbol storage
Reviewed-by: yan, mbalao
Backport-of: f7857e9106841f402ade56bad0338fc53159fb9a
2024-07-19 02:25:45 +04:00
Alexei Voitylov
4eedbc8fbd 8314794: Improve UTF8 String supports
Reviewed-by: mbalao, evergizova
Backport-of: ab2532d858de8d855529b6f2491f94c499f94009
2024-07-19 02:25:45 +04:00
SendaoYan
17054a0be2 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: mdoerr
Backport-of: 8e1d2b091c
2024-07-19 02:25:45 +04:00
Martin Doerr
c343380505 8325203: System.exit(0) kills the launched 3rd party application
Backport-of: b9ca253228
2024-07-19 02:25:45 +04:00
Martin Doerr
f4ced0f753 8294699: Launcher causes lingering busy cursor
Backport-of: d3df3eb5d7
2024-07-19 02:25:45 +04:00
Ben Taylor
5b1f1d00af 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Backport-of: aca1e8365b
2024-07-19 02:25:44 +04:00
Rinku Kumar Maurya
a29800725b 8289643: File descriptor leak with ProcessBuilder.startPipeline
8290885: java/lang/ProcessBuilder/PipelineLeaksFD.java fail: More or fewer pipes than expected

Reviewed-by: shade
Backport-of: 620c8a045f
2024-07-19 02:25:44 +04:00
SendaoYan
c08d9a6132 8314835: gtest wrappers should be marked as flagless
Backport-of: 1ea6463fbb
2024-07-19 02:25:44 +04:00
Andrew Lu
299a05c8ab 8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
Backport-of: a657aa38a5
2024-07-19 02:25:44 +04:00
Aleksey Shipilev
808e086ef7 8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
Backport-of: a385142398
2024-07-19 02:25:43 +04:00
Thomas Fitzsimmons
a5462c8e91 8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls
Reviewed-by: andrew
Backport-of: d7298245d6
2024-07-19 02:25:43 +04:00
Andrew Lu
4d69c1094b 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Backport-of: e7c83ea948
2024-07-19 02:25:43 +04:00
Andrew Lu
42f15c1185 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Backport-of: e9eb8b98f4
2024-07-19 02:25:43 +04:00
Andrew Lu
333197f6d9 8321107: Add more test cases for JDK-8319372
Backport-of: ecd335d8f4
2024-07-19 02:25:42 +04:00
Elif Aslan
deec2f0538 8273153: Consolidate file_exists into os:file_exists
Backport-of: 9732fbe428
2024-07-19 02:25:42 +04:00
María Arias de Reyna
91bc33df7b 8316138: Add GlobalSign 2 TLS root certificates
Reviewed-by: mdoerr
Backport-of: 4083255440
2024-07-19 02:25:42 +04:00
Jan Kratochvil
f0511223f5 8324243: Compilation failures in java.desktop module with gcc 14
Reviewed-by: mdoerr
Backport-of: 8e5f6ddb68
2024-07-19 02:25:42 +04:00
Christoph Langer
266407595f 8330815: Use pattern matching for instanceof in KeepAliveCache
Backport-of: ddecbe5201
2024-07-19 02:25:42 +04:00
Jan Kratochvil
fa59070a61 8331352: error: template-id not allowed for constructor/destructor in C++20
Reviewed-by: mdoerr
Backport-of: 45792c5829
2024-07-19 02:25:41 +04:00
Jan Kratochvil
2560577163 8328997: Remove unnecessary template parameter lists in GrowableArray
Reviewed-by: mdoerr
Backport-of: 3d2283800a
2024-07-19 02:25:41 +04:00
Jan Kratochvil
95431fd113 8319268: Build failure with GCC8.3.1 after 8313643
Reviewed-by: mbaesken
Backport-of: ec79ab4b3c
2024-07-19 02:25:41 +04:00
Christoph Langer
3e2243af69 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Reviewed-by: mbaesken
Backport-of: c12dfc3571
2024-07-19 02:25:38 +04:00
Liang Mao
038624f1a3 8305819: LogConfigurationTest intermittently fails on AArch64
Reviewed-by: mdoerr
Backport-of: 911cc7cb07
2024-07-19 02:25:36 +04:00
Thomas Stuefe
647e233c10 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Backport-of: d2d37c913e
2024-07-19 02:25:36 +04:00
Andrew Lu
bd99036e53 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Backport-of: f50df10591
2024-07-19 02:25:36 +04:00
Sonia Zaldana Calles
0f0da73ef4 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Reviewed-by: mdoerr
Backport-of: 43c6f0b588
2024-07-19 02:25:36 +04:00
Martin Doerr
554c10b1a3 8302907: [PPC64] Use more constexpr in class Register
Backport-of: 180b94c73e
2024-07-19 02:25:35 +04:00
Andrew Lu
d0dfdb11d8 8280835: jdk/javadoc/tool/CheckManPageOptions.java depends on source hierarchy
Backport-of: 6d242e4065
2024-07-19 02:25:35 +04:00
Andrew Lu
4511207465 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError
Backport-of: f12200cd11
2024-07-19 02:25:35 +04:00
Roman Marchenko
346f7fa206 8286490: JvmtiEventControllerPrivate::set_event_callbacks CLEARING_MASK computation is incorrect
Reviewed-by: phh
Backport-of: a0cccb5479
2024-07-19 02:25:35 +04:00
Amit Kumar
62b177e40b 8307423: [s390x] Represent Registers as values
Reviewed-by: lucy
Backport-of: 8bbd264c6e
2024-07-19 02:25:34 +04:00
SendaoYan
9117ee5783 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Backport-of: b6233c3de7
2024-07-19 02:25:34 +04:00
SendaoYan
e30fc3547f 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Backport-of: 024133b089
2024-07-19 02:25:34 +04:00
Amit Kumar
2d618c17aa 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Reviewed-by: lucy
Backport-of: d5f3d5c8cc
2024-07-19 02:25:34 +04:00
Martin Doerr
b4d5c78c7d 8297445: PPC64: Represent Registers as values
Reviewed-by: mbaesken
Backport-of: 9c77e41b81
2024-07-19 02:25:33 +04:00
Alexandru C. Moraru
8ba772a72f 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Backport-of: 63fe413d93
2024-07-19 02:25:33 +04:00
Alexandru C. Moraru
1ed94fb4ba 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Backport-of: 4421951d8f
2024-07-19 02:25:33 +04:00
Goetz Lindenmaier
4cd21f203d 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: mbaesken
Backport-of: b6ecca1268
2024-07-19 02:25:33 +04:00
Andrew Lu
5d69e29eaf 8042380: Test javax/swing/JFileChooser/4524490/bug4524490.java fails with InvocationTargetException
Backport-of: 510003cfe3
2024-07-19 02:25:32 +04:00
Christoph Langer
84008b5e45 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
Reviewed-by: mbaesken
Backport-of: 012dafee5b
2024-07-19 02:25:32 +04:00
Martin Doerr
d65fbda554 8272315: Improve assert_different_registers
Backport-of: 93cab7d07d
2024-07-19 02:25:32 +04:00
Amit Kumar
a75871d233 8298413: [s390] CPUInfoTest fails due to uppercase feature string
Reviewed-by: lucy
Backport-of: 9dad874ff9
2024-07-19 02:25:32 +04:00
Christoph Langer
a4977fab48 8331641: [17u]: Bump GHA bootstrap JDK to 17.0.11
Reviewed-by: sgehwolf
2024-07-19 02:25:31 +04:00
Gui Cao
96a1ba4094 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang
Backport-of: b0496096dc
2024-07-19 02:25:31 +04:00
Christoph Langer
72a42afac6 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Backport-of: fbb424f95d
2024-07-19 02:25:31 +04:00
Robert Toyonaga
de95768cc5 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Backport-of: 96530bcc07
2024-07-19 02:25:31 +04:00
Matthias Baesken
860163c5ef 8272916: Copyright year was modified unintentionally in jlink.properties and ImagePluginStack.java
Backport-of: c547ead493
2024-07-19 02:25:31 +04:00
Matthias Baesken
f67c1aec04 8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms
Backport-of: 83020617e7
2024-07-19 02:25:30 +04:00
Aleksey Shipilev
652f4e3fa2 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Backport-of: 7baec66222
2024-07-19 02:25:30 +04:00
Robbin Ehn
83a481cf01 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Backport-of: 8990864a53
2024-07-19 02:25:30 +04:00
SendaoYan
2dd6c1e152 8331113: createJMHBundle.sh support configurable maven repo mirror
Backport-of: ce9eac3819
2024-07-19 02:25:30 +04:00
Matthias Baesken
7050a91d6e 8264322: Generate CDS archive when creating custom JDK image
Backport-of: f608e81ad8
2024-07-19 02:25:29 +04:00
Sergey Bylokhov
5a2377045c 8328194: Add a test to check default rendering engine
Backport-of: c013fa1811
2024-07-19 02:25:29 +04:00
Amos Shi
38f196ee77 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Backport-of: 8f0fb27dec
2024-07-19 02:25:29 +04:00
Amos Shi
4140e1c0ed 8315889: Open source several Swing HTMLDocument related tests
Backport-of: 8f46abc938
2024-07-19 02:25:29 +04:00
Amos Shi
c5b178e605 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Reviewed-by: mdoerr
Backport-of: 925d82931c
2024-07-19 02:25:29 +04:00
Amos Shi
08514c0e5d 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Backport-of: 50d1839d54
2024-07-19 02:25:28 +04:00
Amos Shi
bd624330b6 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Backport-of: da4dd7c008
2024-07-19 02:25:28 +04:00
Amos Shi
54d94a1897 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Backport-of: d1e676360d
2024-07-19 02:25:28 +04:00
Sonia Zaldana Calles
945eee9403 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Reviewed-by: lucy
Backport-of: 6c0bebccb0
2024-07-19 02:25:27 +04:00
Roman Marchenko
6f7a68942b 8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Backport-of: a39cf2e3b2
2024-07-19 02:25:09 +04:00
Robert Toyonaga
0cc3a593ad 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
Backport-of: 65be5e0c54
2024-07-19 02:25:09 +04:00
Aleksey Shipilev
4b87d2143b 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Reviewed-by: stuefe
Backport-of: 90ab52e598
2024-07-19 02:25:08 +04:00
Amos Shi
3083433c20 8318854: [macos14] Running any AWT app prints Secure coding warning
Backport-of: 940f67c1a6
2024-07-19 02:25:08 +04:00
Aleksey Shipilev
c92d237968 8329570: G1: Excessive is_obj_dead_cond calls in verification
Reviewed-by: phh
Backport-of: 29992e1fca
2024-07-19 02:25:08 +04:00
Amos Shi
ac52264705 8283349: Robustness improvements to java/util/prefs/AddNodeChangeListener.jar
Backport-of: 656cba7af3
2024-07-19 02:25:08 +04:00
Amos Shi
efbdd47081 8302069: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java update
Backport-of: 1c7b09bc23
2024-07-19 02:25:07 +04:00
Amos Shi
2a0ca1c24f 8315609: Open source few more swing text/html tests
Backport-of: a04c6c1ac6
2024-07-19 02:25:07 +04:00
Amos Shi
3efadb4eb0 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Backport-of: 31e26814db
2024-07-19 02:25:07 +04:00
Amos Shi
5791c93cd2 8305874: Open source AWT Key, Text Event related tests
Backport-of: d6cf4aa155
2024-07-19 02:25:07 +04:00
Amos Shi
09b1021b62 8187759: Background not refreshed when painting over a transparent JFrame
Backport-of: 04d43c435d
2024-07-19 02:25:07 +04:00
Amos Shi
cd2bd1ea57 8306634: Open source AWT Event related tests
Backport-of: 9ed456fac8
2024-07-19 02:25:06 +04:00
Amos Shi
2ef573aabb 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Backport-of: bfbc41c1f1
2024-07-19 02:25:06 +04:00
Amos Shi
0b3f2e945e 8316242: Opensource SwingGraphics manual test
Backport-of: a57b9dab6c
2024-07-19 02:25:06 +04:00
Amos Shi
d40c234572 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Backport-of: d10f277bd3
2024-07-19 02:25:06 +04:00
Amos Shi
323a238eed 8316154: Opensource JTextArea manual tests
Backport-of: 33c62e4fff
2024-07-19 02:25:05 +04:00
Amos Shi
53ab43d55d 8315824: Open source several Swing Text/HTML related tests
Backport-of: c11f8352e9
2024-07-19 02:25:05 +04:00
Amos Shi
f4acb1b417 8306067: Open source AWT Graphics,GridBagLayout related tests
8306838: GetGraphicsTest needs to be headful

Backport-of: d53a5eed0f
2024-07-19 02:25:05 +04:00
Goetz Lindenmaier
c330ac2e00 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

Reviewed-by: lucy
Backport-of: 7004c2724d
2024-07-19 02:25:05 +04:00
Goetz Lindenmaier
876d49432f 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Backport-of: 52a6c37558
2024-07-19 02:25:05 +04:00
Andrew Lu
06a5ac0943 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: lucy
Backport-of: 2e12a123c9
2024-07-19 02:25:04 +04:00
Aleksey Shipilev
7ec6b6ce0a 8319048: Monitor deflation unlink phase prolongs time to safepoint
Reviewed-by: phh
Backport-of: efc392259c
2024-07-19 02:25:04 +04:00
Andrew Lu
fd8c25b404 8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
Backport-of: f1a24f6d48
2024-07-19 02:25:04 +04:00
Andrew Lu
a66821ffa4 8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
Reviewed-by: lucy
Backport-of: 6ce0ebb858
2024-07-19 02:25:04 +04:00
Gui Cao
1c0dac4483 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-07-19 02:25:03 +04:00
Andrew Lu
97a5b1a8a5 8316017: Refactor timeout handler in PassFailJFrame
Backport-of: 3abd772672
2024-07-19 02:25:03 +04:00
Andrew Lu
a140c02c68 8316164: Opensource JMenuBar manual test
Backport-of: 8f4dfc443b
2024-07-19 02:25:03 +04:00
Goetz Lindenmaier
04a838437d 8328988: [macos14] Problem list LightweightEventTest.java which fails due to macOS bug described in JDK-8322653
Backport-of: 2374d1e334ba0528b39239a01fe52d5843e678df
2024-07-19 02:25:03 +04:00
Goetz Lindenmaier
e6fb3c2120 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Reviewed-by: mbaesken
Backport-of: d44aaa37f9
2024-07-19 02:25:03 +04:00
Goetz Lindenmaier
228f50a14f 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Backport-of: d5b95a0ed3
2024-07-19 02:25:02 +04:00
Goetz Lindenmaier
d4b8f2e66e 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Backport-of: 95310eab6c
2024-07-19 02:25:02 +04:00
Goetz Lindenmaier
d33c936dc1 8286311: remove boilerplate from use of runTests
Reviewed-by: lucy, phh
Backport-of: 2294f225c0
2024-07-19 02:25:02 +04:00
Andrew Lu
3f74fb24d4 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Backport-of: fa823bd21c
2024-07-19 02:25:01 +04:00
Gui Cao
3e9859768f 8329823: RISC-V: Need to sync CPU features with related JVM flags
Backport-of: b9331cd25c
2024-07-19 02:25:01 +04:00
Goetz Lindenmaier
c8b8037698 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Backport-of: cc8f8da293
2024-07-19 02:25:01 +04:00
Goetz Lindenmaier
c92507d804 8309527: Improve test proxy performance
Backport-of: fadcd65018
2024-07-19 02:25:01 +04:00
Goetz Lindenmaier
efe6b6c246 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Backport-of: ac1597bcc7
2024-07-19 02:25:00 +04:00
Goetz Lindenmaier
29027f47f1 8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2
Backport-of: 50a995f03a
2024-07-19 02:25:00 +04:00
Goetz Lindenmaier
67d0fbde07 8297695: Fix typos in test/langtools files
Backport-of: e10778acce
2024-07-19 02:25:00 +04:00
Christoph Langer
e886542a16 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
Backport-of: dcca5daaf7f51c6579369c6ba3430a3d7962dbf2
2024-07-19 02:25:00 +04:00
Soumadipta Roy
c2ed3da7a4 8316608: Enable parallelism in vmTestbase/gc/vector tests
Backport-of: f61499c73f
2024-07-19 02:25:00 +04:00
Amos Shi
20b612b16a 8315834: Open source several Swing JSpinner related tests
Backport-of: 4a63eb0522
2024-07-19 02:24:59 +04:00
Amos Shi
f5f8ba318c 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: phh
Backport-of: 82796bdebb
2024-07-19 02:24:59 +04:00
Amos Shi
a7efda8c6f 8305645: System Tray icons get corrupted when Windows primary monitor changes
Backport-of: 6cd370e04b
2024-07-19 02:24:59 +04:00
Matthias Baesken
91de18cbcc 8325432: enhance assert message "relocation addr must be in this section"
Backport-of: 3d3a8f0ebf
2024-07-19 02:24:59 +04:00
Gui Cao
e80a06942c 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: rehn
Backport-of: cbbfa0ddfb
2024-07-19 02:24:58 +04:00
Goetz Lindenmaier
4693bc157c 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Backport-of: 1da82a34b1
2024-07-19 02:24:58 +04:00
Goetz Lindenmaier
d26d64fcb5 8310818: Refactor more Locale tests to use JUnit
Reviewed-by: lucy
Backport-of: 12e9430910
2024-07-19 02:24:58 +04:00
Aleksey Shipilev
cd4ab5273b 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-07-19 02:24:58 +04:00
Goetz Lindenmaier
b2316617fe 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Backport-of: d6679031e0
2024-07-19 02:24:57 +04:00
Goetz Lindenmaier
72d498c103 8308021: Update IANA Language Subtag Registry to Version 2023-05-11
Backport-of: 34468e1c91
2024-07-19 02:24:57 +04:00
Goetz Lindenmaier
2473050fd7 8306031: Update IANA Language Subtag Registry to Version 2023-04-13
Reviewed-by: mbaesken
Backport-of: 00b1eacad6
2024-07-19 02:24:57 +04:00
Goetz Lindenmaier
8fc7dee31c 8295026: Remove unused fields in StyleSheet
Backport-of: be3b335452
2024-07-19 02:24:56 +04:00
Matthias Baesken
0df0cba7b6 8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Backport-of: ba8db1f6d7
2024-07-19 02:24:55 +04:00
Matthias Baesken
c581d25546 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Backport-of: 9f4ec21f47
2024-07-19 02:24:55 +04:00
Matthias Baesken
0b377328f5 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Backport-of: d9ef16dbb6
2024-07-19 02:24:55 +04:00
Goetz Lindenmaier
0c12d6d81e 8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: lucy
Backport-of: f92d095e16
2024-07-19 02:24:54 +04:00
Goetz Lindenmaier
05f5abf382 8303457: Introduce convenience test library APIs for creating test servers for tests in test/jdk/java/net/httpclient
Reviewed-by: lucy
Backport-of: 72de24e59a
2024-07-19 02:24:54 +04:00
Goetz Lindenmaier
b5c9a08bc5 8290126: Add a check in JavadocTester for "javadoc should not crash"
Backport-of: 0fb9469d93
2024-07-19 02:24:54 +04:00
Goetz Lindenmaier
ed3f693ea8 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Backport-of: e9daf4a018
2024-07-19 02:24:54 +04:00
Goetz Lindenmaier
65f8fefb3d 8309630: Clean up tests that reference deploy modules
Backport-of: e8a59843f2
2024-07-19 02:24:53 +04:00
Goetz Lindenmaier
e19c00ac96 8304761: Update IANA Language Subtag Registry to Version 2023-03-22
Backport-of: 3b88b2a9f8
2024-07-19 02:24:53 +04:00
Goetz Lindenmaier
861d8b689e 8294137: Review running times of java.math tests
Backport-of: 51035a75e4
2024-07-19 02:24:53 +04:00
Goetz Lindenmaier
e5148a776d 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test
Backport-of: ccfe1675a2
2024-07-19 02:24:53 +04:00
Goetz Lindenmaier
ea766633ff 8302512: Update IANA Language Subtag Registry to Version 2023-02-14
Backport-of: f612dcfebe
2024-07-19 02:24:53 +04:00
Goetz Lindenmaier
4279c681b7 8296190: TestMD5Intrinsics and TestMD5MultiBlockIntrinsics don't test the intrinsics
Backport-of: f43bb9feaa
2024-07-19 02:24:52 +04:00
Matthias Baesken
4d4b72435d 8275334: Move class loading Events to a separate section in hs_err files
Backport-of: bb7dacdc78
2024-07-19 02:24:52 +04:00
Francisco Ferrari Bihurriet
41802b4300 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Reviewed-by: mbalao
Backport-of: 0f5f3c9b97
2024-07-19 02:24:52 +04:00
Robert Toyonaga
464649f67f 8326529: JFR: Test for CompilerCompile events fails due to time out
Backport-of: 4dd6c44cbd
2024-07-19 02:24:52 +04:00
Sonia Zaldana Calles
100cdd10fc 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Reviewed-by: stuefe
Backport-of: acaab6fd74
2024-07-19 02:24:51 +04:00
Elif Aslan
a770ed3c2b 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Backport-of: 29d462a072
2024-07-19 02:24:51 +04:00
María Arias de Reyna
4f31856de1 8280377: MethodHandleProxies does not correctly invoke default methods with varags
Reviewed-by: aph
Backport-of: a183bfb436
2024-07-19 02:24:51 +04:00
Andrew Lu
80c7ec7b48 8306714: Open source few Swing event and AbstractAction tests
Backport-of: 31a73b0d70
2024-07-19 02:24:51 +04:00
Andrew Lu
3c3df11370 8305942: Open source several AWT Focus related tests
Backport-of: 8346ae2bc1
2024-07-19 02:24:50 +04:00
Andrew Lu
b65597ed4a 8305943: Open source few AWT Focus related tests
Backport-of: 64ed816ad9
2024-07-19 02:24:50 +04:00
Goetz Lindenmaier
bbc5cbcbed 8297292: java/nio/channels/FileChannel/FileExtensionAndMap.java is too slow
Backport-of: 84e47996e8
2024-07-19 02:24:50 +04:00
Goetz Lindenmaier
9cd3ccd9da 8163229: several regression tests have a main method that is never executed
Backport-of: 382fe51b6d
2024-07-19 02:24:50 +04:00
Goetz Lindenmaier
a55a3feb10 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect"
Backport-of: 0dce5b811d
2024-07-19 02:24:50 +04:00
Goetz Lindenmaier
ee241669d7 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test
Backport-of: 6d0fbb2c49
2024-07-19 02:24:49 +04:00
Goetz Lindenmaier
079c895f35 8296137: diags-examples.xml is broken
Backport-of: f8b2574ebc
2024-07-19 02:24:49 +04:00
Goetz Lindenmaier
b616be271e 8163921: HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC
Backport-of: 28796cbd1d
2024-07-19 02:24:49 +04:00
Matthias Baesken
26f240ba38 8328165: improve assert(idx < _maxlrg) failed: oob
Backport-of: d57bdd85ab
2024-07-19 02:24:49 +04:00
Suchismith Roy
34730e9381 8320005: Allow loading of shared objects with .a extension on AIX
Backport-of: e85355ada4
2024-07-19 02:24:49 +04:00
Andrew Lu
fa0b378784 8328812: Update and move siphash license
Backport-of: ce7ebaa606
2024-07-19 02:24:48 +04:00
Goetz Lindenmaier
dde19668ae 8276227: ciReplay: SIGSEGV if classfile for replay compilation is not present after JDK-8275868
Reviewed-by: mdoerr
Backport-of: a1f4c428ba
2024-07-19 02:24:48 +04:00
Andrew John Hughes
d15920d18f 8286045: Use ForceGC for cleaner test cases
Reviewed-by: mbaesken, yan
Backport-of: 7eb15593e1
2024-07-19 02:24:48 +04:00
Goetz Lindenmaier
079cb9cb44 8275868: ciReplay: Inlining fails with "unloaded signature classes" due to wrong protection domains
Reviewed-by: mdoerr
Backport-of: 5bb1992b84
2024-07-19 02:24:48 +04:00
Elif Aslan
207909cb9d 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Backport-of: cc1800fa4d
2024-07-19 02:24:47 +04:00
Goetz Lindenmaier
2f0a864125 8213714: AttachingConnector/attach/attach001 failed due to "bind failed: Address already in use"
Backport-of: b62e742045
2024-07-19 02:24:47 +04:00
Goetz Lindenmaier
edbd06d4de 8295944: Move the Http2TestServer and related classes into a package of its own
Reviewed-by: lucy
Backport-of: 8a47429dc0
2024-07-19 02:24:47 +04:00
Andrew Lu
02ed07b5bf 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Backport-of: 1f43fa0f8b
2024-07-19 02:24:47 +04:00
Andrew Lu
8036cc75a0 8323994: gtest runner repeats test name for every single gtest assertion
Backport-of: 1aae980c54
2024-07-19 02:24:46 +04:00
Goetz Lindenmaier
9ca5982e28 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Backport-of: 66520be7a7
2024-07-19 02:24:46 +04:00
Aleksey Shipilev
af0c2c83c4 8328825: Google CAInterop test failures
Backport-of: 70a15c7363
2024-07-19 02:24:46 +04:00
Aleksey Shipilev
ef758793bf 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c
2024-07-19 02:24:46 +04:00
Aleksey Shipilev
13aaa32617 8328705: GHA: Cross-compilation jobs do not require build JDK
Backport-of: 29ba4b7d1e
2024-07-19 02:24:46 +04:00
Goetz Lindenmaier
1878de6a8a 8280546: Remove hard-coded 127.0.0.1 loopback address
Backport-of: b5de2cc9d3
2024-07-19 02:24:46 +04:00
Goetz Lindenmaier
c5b4c6507b 8260540: serviceability/jdwp/AllModulesCommandTest.java failed with "Debuggee error: 'ERROR: transport error 202: bind failed: Address already in use'"
Reviewed-by: lucy
Backport-of: 7a23c9cbb7
2024-07-19 02:24:45 +04:00
Aleksey Shipilev
543eb3712e 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Backport-of: f207aa94f9
2024-07-19 02:24:45 +04:00
Matthias Baesken
97b7f15254 8327059: os::Linux::print_proc_sys_info add swappiness information
Backport-of: f3b15abcb7
2024-07-19 02:24:45 +04:00
Andrew Lu
c81313480d 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Backport-of: bdd1aebea3
2024-07-19 02:24:45 +04:00
Andrew Lu
7385131de8 8315663: Open source misc awt tests
Backport-of: a36f5a54ab
2024-07-19 02:24:45 +04:00
Goetz Lindenmaier
e01b7e6301 8314832: Few runtime/os tests ignore vm flags
Backport-of: fc3e826692
2024-07-19 02:24:44 +04:00
Goetz Lindenmaier
c1b9464dad 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

Reviewed-by: mbaesken
Backport-of: 6d8d049e4a
2024-07-19 02:24:44 +04:00
Goetz Lindenmaier
b28b1128be 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Backport-of: 3f6a3545a2
2024-07-19 02:24:44 +04:00
Goetz Lindenmaier
e7f12be98b 8297449: Update JInternalFrame Metal Border code
Backport-of: 09629570f5
2024-07-19 02:24:44 +04:00
William Kemper
489d813860 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: shade
Backport-of: 51238c4bdb
2024-07-19 02:24:44 +04:00
Christoph Langer
8c00a30341 8313307: java/util/Formatter/Padding.java fails on some Locales
Backport-of: bd634d2ec7
2024-07-19 02:24:43 +04:00
Goetz Lindenmaier
ec26edcafb 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: eebcc2181f
2024-07-19 02:24:43 +04:00
Goetz Lindenmaier
4f2a007162 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Reviewed-by: lucy, shade
Backport-of: dde519dc21
2024-07-19 02:24:43 +04:00
Dan Lutker
0a02a887bb 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Backport-of: 5d414da504
2024-07-19 02:24:43 +04:00
Goetz Lindenmaier
4383d8e8d6 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Backport-of: 868f8745fa
2024-07-19 02:24:43 +04:00
Goetz Lindenmaier
78e1656001 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Backport-of: 8d29329138
2024-07-19 02:24:42 +04:00
Goetz Lindenmaier
59b6ed07ca 8015739: Background of JInternalFrame is located out of JInternalFrame
Backport-of: f857f795a9
2024-07-19 02:24:42 +04:00
Martin Doerr
d3ca876d73 8326101: [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: e3ae81eeeee8e2b0063a576a90624dd927b512f0
2024-07-19 02:24:42 +04:00
Martin Doerr
c2efbf3d6b 8325326: [PPC64] Don't relocate in case of allocation failure
Backport-of: 4388095cde
2024-07-19 02:24:42 +04:00
Goetz Lindenmaier
79462fd32a 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Backport-of: 3b1062d45d
2024-07-19 02:24:42 +04:00
Goetz Lindenmaier
6adafec277 8290901: Reduce use of -source in langtools tests
Backport-of: cc2861a993
2024-07-19 02:24:41 +04:00
Goetz Lindenmaier
d303e3c1da 8321489: Update LCMS to 2.16
Backport-of: dc7d3b182d
2024-07-19 02:24:41 +04:00
Goetz Lindenmaier
43a9cf1ea1 8289401: Add dump output to TestRawRSACipher.java
Backport-of: 7b3bf97760
2024-07-19 02:24:41 +04:00
Goetz Lindenmaier
fcf3d42fda 8285452: Add a new test library API to replace a file content using FileUtils.java
Backport-of: 0462d5a252
2024-07-19 02:24:41 +04:00
Richard Startin
cc1202ad39 8286740: JFR: Active Setting event emitted incorrectly
Reviewed-by: jbachorik
Backport-of: 24cab0af32
2024-07-19 02:24:40 +04:00
Sergey Nazarkin
5d35431f32 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Backport-of: 984003d5c9
2024-07-19 02:24:40 +04:00
Andrew Lu
65135f47fa 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Backport-of: 62c9530c05
2024-07-19 02:24:40 +04:00
Amos Shi
b48142c131 8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
Reviewed-by: mdoerr
Backport-of: 87516e29dc
2024-07-19 02:24:40 +04:00
Matthias Baesken
db351cf92e 8324598: use mem_unit when working with sysinfo memory and swap related information
Backport-of: 7a798d3ceb
2024-07-19 02:24:39 +04:00
Andrew Lu
772b24eaa6 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
8319136: Skip pkcs11 tests on linux-aarch64

Backport-of: 1f9b03e597
2024-07-19 02:24:39 +04:00
Andrew Lu
9159994f9c 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Backport-of: 8be3e39220
2024-07-19 02:24:39 +04:00
Sonia Zaldana Calles
67fc86fc06 8315898: Open source swing JMenu tests
Backport-of: fecd2fd8f2
2024-07-19 02:24:39 +04:00
Matthias Baesken
8c17e56b9e 8299858: [Metrics] Swap memory limit reported incorrectly when too large
Backport-of: 64ddf9536f
2024-07-19 02:24:39 +04:00
Andrew Lu
b259af1f7b 8314283: Support for NSS tests on aarch64 platforms
Backport-of: 2a80160960
2024-07-19 02:24:38 +04:00
Andrew Lu
dc2b38de49 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Backport-of: 721bfee53a
2024-07-19 02:24:38 +04:00
Andrew Lu
d7c97089d1 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Backport-of: f1b73350c2
2024-07-19 02:24:38 +04:00
Andrew Lu
041be68333 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Backport-of: 1f2922ad85
2024-07-19 02:24:38 +04:00
Goetz Lindenmaier
fd14f87660 8319372: C2 compilation fails with "Bad immediate dominator info"
Reviewed-by: phh
Backport-of: 7766785098
2024-07-19 02:24:38 +04:00
Goetz Lindenmaier
146f1b4e43 8301381: Verify DTLS 1.0 cannot be negotiated
Backport-of: 18e2446420
2024-07-19 02:24:37 +04:00
Goetz Lindenmaier
9dfb997688 8256660: Disable DTLS 1.0
Backport-of: 16744b3449
2024-07-19 02:24:37 +04:00
Amos Shi
8505987c2f 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Reviewed-by: mdoerr
Backport-of: f7d6d7a04f
2024-07-19 02:24:37 +04:00
Amos Shi
2f6b4b9342 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Backport-of: cbfddf4e1d
2024-07-19 02:24:37 +04:00
Amos Shi
3940908aea 8315677: Open source few swing JFileChooser and other tests
Backport-of: fe5ef5f20d
2024-07-19 02:24:37 +04:00
Amos Shi
0bdb0d0ab9 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Backport-of: 91d8dac9cf
2024-07-19 02:24:36 +04:00
Goetz Lindenmaier
76af20b69a 8291753: Add JFR event for GC CPU Time
Reviewed-by: phh
Backport-of: 14eb5ad0dc
2024-07-19 02:24:36 +04:00
Richard Reingruber
7137160909 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Reviewed-by: phh
Backport-of: 4bfe226870
2024-07-19 02:24:36 +04:00
Goetz Lindenmaier
63a36bc317 8320712: Rewrite BadFactoryTest in pure Java
Backport-of: 66971600f7
2024-07-19 02:24:36 +04:00
SendaoYan
f9bb7ca3a4 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Backport-of: 52814994ef
2024-07-19 02:24:35 +04:00
Goetz Lindenmaier
76ea193372 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Backport-of: 57fc9a3e96
2024-07-19 02:24:35 +04:00
Richard Reingruber
ef1cbe4ce6 8282094: [REDO] Parallel: Refactor PSCardTable::scavenge_contents_parallel
Reviewed-by: phh, zgu
Backport-of: 22b93a31c9
2024-07-19 02:24:35 +04:00
Andrew Lu
955c134fca 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Backport-of: 9f0e7da64e
2024-07-19 02:24:35 +04:00
Andrew Lu
c1bff30d86 8325972: Add -x to bash for building with LOG=debug
Backport-of: 8668198c26
2024-07-19 02:24:35 +04:00
Andrew Lu
73bcd048e3 8320303: Allow PassFailJFrame to accept single window creator
Backport-of: 83ffc1ac94
2024-07-19 02:24:34 +04:00
Andrew Lu
74b187b396 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-07-19 02:24:34 +04:00
Richard Reingruber
cde886a5c7 8278893: Parallel: Remove GCWorkerDelayMillis
Backport-of: ff5d41762d
2024-07-19 02:24:34 +04:00
Richard Reingruber
8effb90cca 8280030: [REDO] Parallel: More precise boundary in ObjectStartArray::object_starts_in_range
Reviewed-by: phh, zgu
Backport-of: 496baada10
2024-07-19 02:24:34 +04:00
Goetz Lindenmaier
5f2e2278f8 8272651: G1 heap region info print order changed by JDK-8269914
Reviewed-by: rrich
Backport-of: f11e099a14
2024-07-19 02:24:34 +04:00
Patrick Zhang
6f0cf625e8 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Reviewed-by: shade
Backport-of: 9936aeea32
2024-07-19 02:24:33 +04:00
Aleksey Shipilev
4038fca197 8323519: Add applications/ctw/modules to Hotspot tiered testing
Backport-of: ba3c3bbd87
2024-07-19 02:24:33 +04:00
Amit Kumar
a9557833de 8272903: Missing license header in ArenaAllocator.java
Backport-of: 96614da025
2024-07-19 02:24:33 +04:00
Sergey Bylokhov
6b2dd1dead 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Reviewed-by: phh
Backport-of: aba19334ea
2024-07-19 02:24:33 +04:00
Goetz Lindenmaier
a3447d3b32 8269914: Factor out heap printing for G1 young and full gc
8270018: Add scoped object for g1 young gc JFR notification

Reviewed-by: phh
Backport-of: c93204ce3d
2024-07-19 02:24:32 +04:00
Pasam Soujanya
063441e208 8311893: Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
Reviewed-by: hannesw
Backport-of: 783ae56634
2024-07-19 02:24:32 +04:00
Matthias Baesken
52fe45f483 8325496: Make TrimNativeHeapInterval a product switch
Reviewed-by: lucy
Backport-of: 4296ddfc63
2024-07-19 02:24:32 +04:00
Martin Doerr
f96fd3415a 8325213: Flags introduced by configure script are not passed to ADLC build
Backport-of: 9ee9f28849
2024-07-19 02:24:32 +04:00
Aleksey Shipilev
372c11f8cd 8323717: Introduce test keyword for tests that need external dependencies
Reviewed-by: phh
Backport-of: 12b89cd2ee
2024-07-19 02:24:32 +04:00
Goetz Lindenmaier
56caec6089 8326942: [17u] Backout "8325254: CKA_TOKEN private and secret keys are not necessarily sensitive"
Reviewed-by: lucy
2024-07-19 02:24:31 +04:00
Aleksey Shipilev
d7ec9b82b8 8324050: Issue store-store barrier after re-materializing objects during deoptimization
Reviewed-by: kvn
Backport-of: 52523d33dd
2024-07-19 02:24:31 +04:00
Aleksey Shipilev
6758cc0579 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Backport-of: 951b5f8ecb
2024-07-19 02:24:31 +04:00
Andrew Lu
48660c6de3 8294156: Allow PassFailJFrame.Builder to create test UI
Backport-of: 42b9ac8a07
2024-07-19 02:24:30 +04:00
Andrew Lu
71b3f56ce4 8316053: Open some swing tests 3
Backport-of: a2391a92cd
2024-07-19 02:24:30 +04:00
Andrew Lu
f46500a53a 8315726: Open source several AWT applet tests
Backport-of: 1741d13b12
2024-07-19 02:24:30 +04:00
Martin Balao
c3304950e3 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Backport-of: 0f5f3c9b97
2024-07-19 02:24:29 +04:00
Goetz Lindenmaier
4cc98d7a68 8326794: Bump update version for OpenJDK: jdk-17.0.12
Reviewed-by: shade, lucy
2024-07-19 02:24:29 +04:00
Artem Bochkarev
a59c6ed845 fixup! JBR-5405: supported BufImgSurfaceData 2024-07-15 09:10:13 +04:00
Vitaly Provodin
fa56168a83 update exclude list on results of 17.0.11_b1331 test runs 2024-07-12 07:15:02 +04:00
Artem Bochkarev
eee1d3c819 JBR-5405: supported BufImgSurfaceData
(cherry picked from commit 2c732683ce02d7bd1da27f09f6bee9a57eba3b9b)
2024-07-09 10:30:41 +07:00
Maxim Kartashev
716baf3c23 JBR-6830 Poor performance with KDE Plasma 6 X11
Use -Dwatch.desktop.geometry=false as a workaround until the KWin issue
is fixed
2024-07-08 15:41:07 +04:00
Vitaly Provodin
4eb73ff227 update exclude list on results of 17.0.11_b1325.1 test runs 2024-07-02 04:12:37 +04:00
bourgesl
87d84c94d3 JBR-4530: make opengl & metal handle colorMatching on non-SRGB profile consistently (controlled by the system property 'sun.java2d.osx.colorMatching') + updated MacOSLayerColorTest to test color matching setting on OpenGL & Metal pipelines 2024-06-26 15:35:11 +02:00
Nikita Provotorov
d433cc6f73 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)
2024-06-25 23:39:53 +02:00
Nikita Gubarkov
5a78e0df16 JBR-7350 log JBR API warnings only in verbose mode 2024-06-25 17:45:04 +02:00
Vitaly Provodin
8e8ca38bfa update exclude list on results of 17.0.11_b1320.1 test runs 2024-06-25 07:34:09 +04:00
Nikita Provotorov
841577e22e 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:19:42 +02:00
Vitaly Provodin
73f9afb718 update exclude list on results of 17.0.11_b1312.2 test runs 2024-06-15 02:45:42 +04:00
Alexey Ushakov
5121501639 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-13 02:22:51 +02:00
Vladimir Dvorak
d68f8bbb4d 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-12 12:58:56 +02:00
Sergey Shelomentsev
1e8633a805 JBR-4912 test moved from JBR repository 2024-06-12 13:25:03 +03:00
Nikita Gubarkov
ecea302acc JBR-7276 Keep dynamic call targets after bootstrap 2024-06-10 21:55:14 +02:00
Vitaly Provodin
1c89f40aaa update exclude list on results of 17.0.11_b1312 test runs 2024-06-08 11:20:49 +04:00
Vitaly Provodin
5f1d896b6f fixup! JBR-7263 introduce /othervm for the tests specifying -Djetbrains.runtime.api.extendRegistry=true 2024-06-08 02:56:07 +04:00
Nikita Gubarkov
ceb9ce92bc JBR-7263 Refactor JBR API initialization 2024-06-06 17:41:14 +02:00
Nikita Gubarkov
4b77031fa0 JBR-6357 JBR API v1.0.0 2024-06-05 20:13:53 +02:00
Nikita Gubarkov
e58645a922 JBR-7261 Do not init JBR API registry with App classloader 2024-06-05 17:53:50 +02:00
Nikita Tsarev
100508e8c2 JBR-7133: JBR API for IME replacement range on macOS 2024-06-05 16:53:58 +02:00
Nikita Gubarkov
f44c819dd9 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 02:24:27 +02:00
Roman Shevchenko
30371f901f JBR-7194: extension-based filters in native file dialogs 2024-06-05 01:19:48 +02:00
Vitaly Provodin
bd49573825 update exclude list on results of 17.0.11_b1300.1 test runs 2024-06-05 02:39:43 +04:00
Nikita Gubarkov
f7bd1518c2 JBR-7238 Fix Font serialization 2024-06-03 15:39:14 +02:00
Vitaly Provodin
a656580a06 update exclude list on results of 17.0.11_b1296.1 test runs 2024-06-01 03:23:37 +04:00
Nikita Gubarkov
05cda0c705 fixup! JBR-5615 add sun.java2d.logDisplays VM option 2024-05-31 10:48:28 +02:00
Nikita Gubarkov
258949a1ef fixup! JBR-7232 Refactor deriveFontWithFeatures & JBRFileDialog JBR API 2024-05-31 00:26:48 +02:00
Nikita Gubarkov
1925355e36 JBR-7232 Refactor deriveFontWithFeatures & JBRFileDialog JBR API 2024-05-30 22:01:54 +02:00
Nikita Tsarev
2049c27971 JBR-7134: Fix InputMethodTests on macOS 2024-05-30 17:37:33 +02:00
Nikita Gubarkov
fcc52f482a JBR-5615 add sun.java2d.logDisplays VM option
It prints to stdout whenever display configuration is changed.
2024-05-30 01:06:26 +02:00
Dmitrii Morskii
b86ff0c215 JBR-7128 Use the correct WmSize event type for JFrame moved to another monitor
author: Sergei Tachenov
2024-05-23 11:34:59 +01:00
Sergey Shelomentsev
f4b9cb47ec JBR-7117 Set initial display mode after test execution 2024-05-17 16:00:08 +03:00
Nikita Tsarev
1c9e5f52e7 JBR-7119: respect replacementRange in IME events on macOS 2024-05-10 23:32:25 +02:00
Dmitry Drobotov
f7c47bf3cf 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).
2024-05-10 18:00:26 +02:00
Nikita Provotorov
b8e9dbf8c9 JBR-6456 Sudden keyboard death on Linux using iBus.
Add a workaround for the iBus's bug which leads to the issue.
2024-05-07 23:55:47 +02:00
Vitaly Provodin
da04a7546e JBR-6620 restore displayMode to the state that was before running the test 2024-05-07 15:07:31 +03:00
Dmitrii Morskii
693fe435f7 JBR-6376: implement detecting of OS theme on linux 2024-05-06 19:55:56 +02:00
Dmitrii Morskii
f66e589ce0 Revert "JBR-6372: implement detecting of OS theme on linux"
This reverts commit 7803214b5c.
2024-05-06 19:55:22 +02:00
Maxim Kartashev
c8c4ac1c9a jb/branchdiff.py is a lot faster 2024-05-04 02:15:02 +04:00
Maxim Kartashev
1b5242e6a9 jb/branchdiff.py to warn if it can't differentiate between commits 2024-05-04 02:15:02 +04:00
Maxim Kartashev
b9e80c2784 jb/branchdiff.py script to help with release branches 2024-05-04 02:15:02 +04:00
Vitaly Provodin
923018b33b update exclude list on results of 17.0.11_b1286.1 test runs 2024-05-04 02:15:02 +04:00
Maxim Kartashev
695c8ed961 JBR-5611 Window header is visible but body not on Linux Ubuntu with external display 2024-05-03 17:56:15 +04:00
Nikita Gubarkov
8a7482a624 JBR-7046 Tolerate subpixelResolution=0 in Metal and OGL 2024-05-02 09:11:47 +02:00
Nikita Gubarkov
54a7172299 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:56:51 +02:00
Vitaly Provodin
03912794ab update exclude list on results of 17.0.11_b1281.1 test runs 2024-04-24 04:45:11 +07:00
Nikita Tsarev
20d0aeefd5 Disable flappy KeyCodesTest assertions, see JBR-6888 2024-04-22 19:38:44 +02:00
Christoph Langer
156ce15275 8329836: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.11
Reviewed-by: goetz
2024-04-19 15:36:14 +07:00
Martin Balao
f2e1645f50 8319851: Improve exception logging
Reviewed-by: mbaesken
Backport-of: 87dfeeb14fdd0fa1648a8bec91b5b713cc2c1b83
2024-04-19 15:36:04 +07:00
Martin Balao
1c948e7fde 8322122: Enhance generation of addresses
Backport-of: 1a4a46e102a2bc282fcbec571169867d715f4ade
2024-04-19 15:36:04 +07:00
Alexey Bakhtin
883d8c47f0 8318340: Improve RSA key implementations
Reviewed-by: mbalao
Backport-of: 62d9cec1d6b804a70381bfb8ac902b6bb649f8ae
2024-04-19 15:36:04 +07:00
Yuri Nesterenko
de6e2dbe71 8315708: Enhance HTTP/2 client usage
Reviewed-by: mbalao
Backport-of: 4bd9637dfe12d330afd7409c27c5778b28a24cf4
2024-04-19 15:36:03 +07:00
Goetz Lindenmaier
7567ce40f9 8327391: Add SipHash attribution file
Backport-of: fcf48ab3d3
2024-04-19 15:36:03 +07:00
Goetz Lindenmaier
b9ec2903d5 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Backport-of: f38add6f8d
2024-04-19 15:36:03 +07:00
Sergey Bylokhov
298eb33da3 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-19 15:36:03 +07:00
Goetz Lindenmaier
4f5fc8574e 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: mbaesken
Backport-of: 646b666a26
2024-04-19 15:36:03 +07:00
Christoph Langer
bdc87c40f6 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Backport-of: c2d9fa26ce
2024-04-19 15:36:02 +07:00
Goetz Lindenmaier
794f6972ac 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Backport-of: 39c104df44
2024-04-19 15:36:02 +07:00
Goetz Lindenmaier
ccfeb28318 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Backport-of: bc31ccc95b
2024-04-19 15:36:02 +07:00
Sergey Bylokhov
e16f7cb4c3 8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
Backport-of: f695ca5884
2024-04-19 15:36:02 +07:00
Aleksey Shipilev
e4076462e6 8305962: update jcstress to 0.16
Backport-of: 292ee630ae
2024-04-19 15:36:01 +07:00
Aleksey Shipilev
02a029592b 8323515: Create test alias "all" for all test roots
8324647: Invalid test group of lib-test after JDK-8323515

Reviewed-by: phh
Backport-of: 8b9bf75880
2024-04-19 15:36:01 +07:00
Andrew Lu
94b5ce7ebf 8294158: HTML formatting for PassFailJFrame instructions
Backport-of: 14090ef603
2024-04-19 15:36:01 +07:00
Andrew Lu
de90d67c85 8294535: Add screen capture functionality to PassFailJFrame
Backport-of: dbb788f34d
2024-04-19 15:36:01 +07:00
Goetz Lindenmaier
e7fa0e07bd 8288846: misc tests fail "assert(ms < 1000) failed: Un-interruptable sleep, short time use only"
Backport-of: 6037ccdd50
2024-04-19 15:36:00 +07:00
Goetz Lindenmaier
627f045c3a 8290041: ModuleDescriptor.hashCode is inconsistent
Backport-of: 4cc6cb9d9d
2024-04-19 15:36:00 +07:00
Aleksey Shipilev
b355a00381 8321408: Add Certainly roots R1 and E1
Reviewed-by: goetz
Backport-of: f3073db42a
2024-04-19 15:36:00 +07:00
SendaoYan
aff45070c9 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Backport-of: 791b427f44
2024-04-19 15:36:00 +07:00
Andrew Lu
3f921c4125 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: mbaesken
Backport-of: b685ee00b2
2024-04-19 15:36:00 +07:00
Johannes Bechberger
ceaaf2c04d 8325585: Remove no longer necessary calls to set/unset-in-asgct flag in JDK 17
Reviewed-by: rschmelter
2024-04-19 15:35:59 +07:00
Darragh Clarke
bea2ea5627 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Backport-of: fbaaac63d4
2024-04-19 15:35:59 +07:00
Zdenek Zambersky
e20718729f 8306408: Fix the format of several tables in building.md
Reviewed-by: andrew
Backport-of: 26755a9686
2024-04-19 15:35:59 +07:00
Darragh Clarke
0adee38a83 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Backport-of: a48bcf3671
2024-04-19 15:35:59 +07:00
Andrew Lu
ec4d59e5fd 8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1
Backport-of: 61d0db3838
2024-04-19 15:35:58 +07:00
Amos Shi
c1c3956f98 8315602: Open source swing security manager test
Backport-of: fd6442c079
2024-04-19 15:35:58 +07:00
Amos Shi
4363a43693 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Reviewed-by: mbaesken
Backport-of: 4a142c3b08
2024-04-19 15:35:58 +07:00
Sergey Bylokhov
fc42102143 8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
Backport-of: 781f368d42
2024-04-19 15:35:57 +07:00
Jaikiran Pai
2218f19f3b 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: phh
Backport-of: 3ccb3c0e09
2024-04-19 15:35:57 +07:00
Goetz Lindenmaier
591de61c4b 8290203: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java on linux-all
Backport-of: ce36f6ea85
2024-04-19 15:35:57 +07:00
Sergey Bylokhov
437aed186a 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Backport-of: 6c7029ffd4
2024-04-19 15:35:57 +07:00
Aleksey Shipilev
00466cd448 8324514: ClassLoaderData::print_on should print address of class loader
Backport-of: fb822e49f2
2024-04-19 15:35:57 +07:00
Matthias Baesken
6bbc995766 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

Backport-of: 419e01685b
2024-04-19 15:35:56 +07:00
Matthias Baesken
b20605804d 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Reviewed-by: lucy
Backport-of: a8e4229852
2024-04-19 15:35:56 +07:00
Dan Lutker
c37328a75b 8325150: (tz) Update Timezone Data to 2024a
Reviewed-by: phh
Backport-of: 917838e0a5
2024-04-19 15:35:56 +07:00
Aleksey Shipilev
be376587ee 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Backport-of: ac1cd31949
2024-04-19 15:35:56 +07:00
Andrew Lu
a1d7792f64 8321480: ISO 4217 Amendment 176 Update
Reviewed-by: mbaesken
Backport-of: 8b24851b9d
2024-04-19 15:35:55 +07:00
Matthias Baesken
b8491a8d5d 8320168: handle setsocktopt return values
Backport-of: db1d82347b
2024-04-19 15:35:55 +07:00
Aleksey Shipilev
47c58a9eb9 8323637: Capture hotspot replay files in GHA
Backport-of: c84c0ab52d
2024-04-19 15:35:55 +07:00
Aleksey Shipilev
a5a527163d 8324937: GHA: Avoid multiple test suites per job
Backport-of: 1aba78f272
2024-04-19 15:35:55 +07:00
Andrew Lu
cecc0b9e05 8310923: Refactor Currency tests to use JUnit
Reviewed-by: mbaesken
Backport-of: e848d9471f
2024-04-19 15:35:54 +07:00
Matthias Baesken
337b1e231a 8280241: (aio) AsynchronousSocketChannel init fails in IPv6 only Windows env
Backport-of: 36fbec78be
2024-04-19 15:35:54 +07:00
Amos Shi
80afae3bd8 8315611: Open source swing text/html and tree test
Backport-of: ae08143d3d
2024-04-19 15:35:54 +07:00
Elif Aslan
770f2df53f 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Backport-of: 43f31d7385
2024-04-19 15:35:54 +07:00
William Kemper
07780d9a0d 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: phh
Backport-of: 808a03927c
2024-04-19 15:35:54 +07:00
Goetz Lindenmaier
fa85acc304 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Backport-of: bc5a39bb54
2024-04-19 15:35:53 +07:00
Liang Mao
21ce5bb712 8276125: RunThese24H.java SIGSEGV in JfrThreadGroup::thread_group_id
Backport-of: a885aab696
2024-04-19 15:35:53 +07:00
Amos Shi
2b4f63cc15 8209595: MonitorVmStartTerminate.java timed out
Backport-of: a045258ae2
2024-04-19 15:35:53 +07:00
Amos Shi
09abd8b1b5 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Backport-of: b4b2fecb42
2024-04-19 15:35:53 +07:00
Amos Shi
dd37e50485 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Backport-of: 570dffb104
2024-04-19 15:35:52 +07:00
Amos Shi
752a5cca70 8315600: Open source few more headless Swing misc tests
Backport-of: b05198a4f3
2024-04-19 15:35:52 +07:00
Amos Shi
199d656c86 8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: component must be showing on the screen to determine its location
Backport-of: e7486e8cfc
2024-04-19 15:35:52 +07:00
Amos Shi
4eaad3c216 8316106: Open source few swing JInternalFrame and JMenuBar tests
Backport-of: 0775bf2f03
2024-04-19 15:35:52 +07:00
Severin Gehwolf
09b59e303e 8319922: libCreationTimeHelper.so fails to link in JDK 21
Backport-of: ccc2fd0cd3
2024-04-19 15:35:52 +07:00
María Arias de Reyna
55d0f7d5ab 8261404: Class.getReflectionFactory() is not thread-safe
Backport-of: 905b763942
2024-04-19 15:35:51 +07:00
Gui Cao
dfeb189a4c 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Backport-of: e7fdac9d5c
2024-04-19 15:35:51 +07:00
Severin Gehwolf
e5f4b58dd9 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: stuefe
Backport-of: 0275efac88
2024-04-19 15:35:51 +07:00
Aleksey Shipilev
f5d73f5a81 8324659: GHA: Generic jtreg errors are not reported
Backport-of: c313d451a5
2024-04-19 15:35:51 +07:00
Andrew Lu
0f3b87c498 8309870: Using -proc:full should be considered requesting explicit annotation processing
Backport-of: 3ce1240ca1
2024-04-19 15:35:50 +07:00
Andrew Lu
f68ad57ef4 8315761: Open source few swing JList and JMenuBar tests
Backport-of: bb6b3f2486
2024-04-19 15:35:50 +07:00
Elif Aslan
353ae682a6 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Reviewed-by: shade
Backport-of: cee44a6255
2024-04-19 15:35:50 +07:00
Goetz Lindenmaier
8269aca7c3 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Backport-of: 6e1aacdfba
2024-04-19 15:35:50 +07:00
Andrew Lu
96b3df071f 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Backport-of: 00ef9f9c32
2024-04-19 15:35:49 +07:00
Goetz Lindenmaier
2fb2d8d410 8210410: Refactor java.util.Currency:i18n shell tests to plain java tests
Reviewed-by: lucy
Backport-of: 2584bf87ae
2024-04-19 15:35:49 +07:00
Goetz Lindenmaier
9f9b36f82e 8313575: Refactor PKCS11Test tests
Backport-of: 7a08e6bdd6
2024-04-19 15:35:49 +07:00
Goetz Lindenmaier
4f47c699cc 8306014: Update javax.net.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Backport-of: 705ad7d829
2024-04-19 15:35:49 +07:00
Goetz Lindenmaier
50b2d9d46b 8281585: Remove unused imports under test/lib and jtreg/gc
Reviewed-by: lucy
Backport-of: 2604a88fbb
2024-04-19 15:35:48 +07:00
Andrew Lu
05b0085d17 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Backport-of: 2cf5c2f4b6
2024-04-19 15:35:48 +07:00
Andrew Lu
a014a2baba 8308245: Add -proc:full to describe current default annotation processing policy
Backport-of: 42ecc8a37f
2024-04-19 15:35:48 +07:00
William Kemper
c254b2d9bb 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Backport-of: c4a83bd6f6
2024-04-19 15:35:48 +07:00
Andrew John Hughes
56fcdf5be0 8324184: Windows VS2010 build failed with "error C2275: 'int64_t'"
Reviewed-by: sgehwolf
2024-04-19 15:35:47 +07:00
Matthias Baesken
2d67649c9b 8272811: Document the effects of building with _GNU_SOURCE in os_posix.hpp
Backport-of: c4c76e2f34
2024-04-19 15:35:47 +07:00
Matthias Baesken
9a8e2b1cf6 8281543: Remove unused code/headerfile dtraceAttacher.hpp
Backport-of: bc43320fd3
2024-04-19 15:35:47 +07:00
Aleksey Shipilev
6034a0012d 8323243: JNI invocation of an abstract instance method corrupts the stack
Backport-of: 71d9a83dec
2024-04-19 15:35:47 +07:00
Ben Taylor
e890b3c574 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Backport-of: 8eb6f617b3
2024-04-19 15:35:46 +07:00
Jonathan Dowland
3dcc64ae74 8322321: Add man page doc for -XX:+VerifySharedSpaces
Reviewed-by: shade
Backport-of: f7dc257a20
2024-04-19 15:35:46 +07:00
Goetz Lindenmaier
2ad794eee5 8318490: Increase timeout for JDK tests that are close to the limit when run with libgraal
Backport-of: 6f263111a1
2024-04-19 15:35:46 +07:00
Goetz Lindenmaier
1ee0c9ab44 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Backport-of: 84f4f7477c
2024-04-19 15:35:45 +07:00
Goetz Lindenmaier
fa93d6a60f 8312428: PKCS11 tests fail with NSS 3.91
Backport-of: 1c598c2245
2024-04-19 15:35:45 +07:00
Goetz Lindenmaier
b3225ab21c 8317039: Enable specifying the JDK used to run jtreg
8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039

Backport-of: 2545f55e50
2024-04-19 15:35:45 +07:00
Goetz Lindenmaier
9a7f179af1 8313206: PKCS11 tests silently skip execution
Reviewed-by: mdoerr
Backport-of: 515add88ed
2024-04-19 15:35:45 +07:00
Goetz Lindenmaier
b606edf240 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Backport-of: 8042a50b99
2024-04-19 15:35:44 +07:00
Goetz Lindenmaier
06fa983f48 8311581: Remove obsolete code and comments in TestLVT.java
Backport-of: 27de536b40
2024-04-19 15:35:44 +07:00
Ludovic Henry
38812606fe 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
Reviewed-by: rehn
Backport-of: 2f1c65486b
2024-04-19 15:35:44 +07:00
Andrew Lu
6b890178ed 8169475: WheelModifier.java fails by timeout
Backport-of: 613d32c282
2024-04-19 15:35:44 +07:00
Goetz Lindenmaier
35b3e890e2 8319124: Update XML Security for Java to 3.0.3
Reviewed-by: mbaesken
Backport-of: 45df078510
2024-04-19 15:35:44 +07:00
Johannes Bechberger
541811b321 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: asemenov
Backport-of: ffa33d7b80
2024-04-19 15:35:05 +07:00
Goetz Lindenmaier
5ae4d73252 8323008: filter out harmful -std* flags added by autoconf from CXX
Backport-of: 68c4286026
2024-04-19 15:31:20 +07:00
Matthias Baesken
f92f1ba8a3 8320300: Adjust hs_err output in malloc/mmap error cases
Reviewed-by: lucy
Backport-of: 60c8d9c045
2024-04-19 15:31:20 +07:00
Goetz Lindenmaier
881ca21da9 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Backport-of: 8ae309ebac
2024-04-19 15:31:19 +07:00
Goetz Lindenmaier
8720cc39e8 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Reviewed-by: mdoerr
Backport-of: e3201d1d13
2024-04-19 15:31:19 +07:00
Goetz Lindenmaier
cf6755081b 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Backport-of: 167d1c1835
2024-04-19 15:31:18 +07:00
Goetz Lindenmaier
eca94d4426 8323806: [17u] VS2017 build fails with warning after 8293117.
Reviewed-by: mbaesken, shade
2024-04-19 15:31:18 +07:00
Goetz Lindenmaier
a84365f20c 8305972: Update XML Security for Java to 3.0.2
Reviewed-by: mbaesken
Backport-of: f0aebc8141
2024-04-19 15:31:18 +07:00
William Kemper
1144650510 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Backport-of: a7db4feceb
2024-04-19 15:31:17 +07:00
Andrew Lu
b10b53bce2 8315594: Open source few headless Swing misc tests
Backport-of: 806ef0897b
2024-04-19 15:31:16 +07:00
Andrew Lu
8ab6207a74 8318154: Improve stability of WheelModifier.java test
Backport-of: 668d4b077f
2024-04-19 15:31:16 +07:00
Sergey Bylokhov
a86d006f47 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Backport-of: cf9e6353cc
2024-04-19 15:31:16 +07:00
Goetz Lindenmaier
69b5fa75cd 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Backport-of: 354c6605e3
2024-04-19 15:31:15 +07:00
Goetz Lindenmaier
e00814fe92 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Backport-of: 87c79c0801
2024-04-19 15:31:15 +07:00
Goetz Lindenmaier
1a4e6e9313 8272853: improve JavadocTester.runTests
Reviewed-by: phh
Backport-of: b0028a459c
2024-04-19 15:31:15 +07:00
Dmitry Chuyko
1b6a59c37e 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph
Backport-of: ade21a965f
2024-04-19 15:31:15 +07:00
Goetz Lindenmaier
722422f854 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: shade
Backport-of: 18e97aa217
2024-04-19 15:31:15 +07:00
Gui Cao
0c0800d974 8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d
2024-04-19 15:31:14 +07:00
Ichiroh Takiguchi
b81d547594 6928542: Chinese characters in RTF are not decoded
Reviewed-by: phh
Backport-of: a26f7c03c7
2024-04-19 15:31:14 +07:00
Dan Lutker
f679d7432d 8322725: (tz) Update Timezone Data to 2023d
Reviewed-by: shade
Backport-of: 2a9c3589d9
2024-04-19 15:31:14 +07:00
William Kemper
d80312c99b 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Backport-of: f0e2e4311b
2024-04-19 15:31:14 +07:00
Christoph Langer
89efb2b416 8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken
Backport-of: 24b3b2b66f
2024-04-19 15:31:14 +07:00
Oli Gillespie
4acf98ef62 8321599: Data loss in AVX3 Base64 decoding
Reviewed-by: shade, phh
Backport-of: 13c11487f7
2024-04-19 15:31:13 +07:00
Goetz Lindenmaier
55a2171a44 8316693: Simplify at-requires checkDockerSupport()
Backport-of: 16fd43c5eb
2024-04-19 15:31:13 +07:00
Goetz Lindenmaier
40d0d51520 8303605: Memory leaks in Metaspace gtests
Reviewed-by: mdoerr
Backport-of: ddcb369cea
2024-04-19 15:31:13 +07:00
Aleksey Shipilev
155aeaf49d 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Reviewed-by: kvn
Backport-of: ed9f3243f0
2024-04-19 15:31:13 +07:00
Goetz Lindenmaier
1499d8c398 8278028: [test-library] Warnings cleanup of the test library
Reviewed-by: mdoerr
Backport-of: 03f647f4bb
2024-04-19 15:31:12 +07:00
Jonathan Dowland
741cab5606 8315731: Open source several Swing Text related tests
Backport-of: d475f61fd5
2024-04-19 15:31:12 +07:00
Aleksey Shipilev
2e4bdfbd11 8320921: GHA: Parallelize hotspot_compiler test jobs
Backport-of: 694136909c
2024-04-19 15:31:12 +07:00
Aleksey Shipilev
1a03f0b08d 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Reviewed-by: aph
Backport-of: 7a1cb64bc1
2024-04-19 15:31:12 +07:00
Andrew Lu
b8c2800dce 8320208: Update Public Suffix List to b5bf572
Reviewed-by: mdoerr
Backport-of: 2b4e99140a
2024-04-19 15:31:11 +07:00
Sergey Bylokhov
e2ebb5ab24 8315042: NPE in PKCS7.parseOldSignedData
Backport-of: 8c0d026d0f
2024-04-19 15:31:11 +07:00
Matthias Baesken
7e1c69daf8 8318957: Enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415
2024-04-19 15:31:11 +07:00
Aleksey Shipilev
f6a1597ffb 8322968: [17u] Amend Atomics gtest with 1-byte tests
Reviewed-by: fyang
2024-04-19 15:31:11 +07:00
Aleksey Shipilev
e45b8ad53f 8286312: Stop mixing signed and unsigned types in bit operations
Backport-of: 39f4434f44
2024-04-19 15:31:11 +07:00
Aleksey Shipilev
ac6f0191a0 8283626: AArch64: Set relocInfo::offset_unit to 4
Backport-of: ab17f88f6c
2024-04-19 15:31:10 +07:00
Aleksey Shipilev
58de9fbd05 8205076: [17u] Inet6AddressImpl.c: lookupIfLocalHost accesses int InetAddress.preferIPv6Address as a boolean
Reviewed-by: phh
2024-04-19 15:31:10 +07:00
Aleksey Shipilev
974db11e4e 8318183: C2: VM may crash after hitting node limit
Reviewed-by: phh
Backport-of: 31ef400f31
2024-04-19 15:31:10 +07:00
Aleksey Shipilev
1fbb6ff8bd 8318961: increase javacserver connection timeout values and max retry attempts
Reviewed-by: mbaesken
Backport-of: b9983c7229
2024-04-19 15:31:10 +07:00
Sergey Bylokhov
3c7106bda2 8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Backport-of: eb44bafe77
2024-04-19 15:31:09 +07:00
Aleksey Shipilev
fcb0c58110 8307926: Support byte-sized atomic bitset operations
Backport-of: 646747fd7c
2024-04-19 15:31:09 +07:00
Goetz Lindenmaier
6790484c75 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Backport-of: 0a3a925ad8
2024-04-19 15:31:09 +07:00
Goetz Lindenmaier
2669682ae9 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Backport-of: 86dde5e02b
2024-04-19 15:31:09 +07:00
Goetz Lindenmaier
e64526dc14 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Backport-of: b2240bf870
2024-04-19 15:31:09 +07:00
Goetz Lindenmaier
b0749e3212 8322417: Console read line with zero out should zero out when throwing exception
Reviewed-by: mbaesken
Backport-of: 2f917bff5c
2024-04-19 15:31:08 +07:00
Amos Shi
ad41c0c640 8281377: Remove vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Deadlock/JavaDeadlock001/TestDescription.java from problemlist.
Backport-of: 1dfc94dd56
2024-04-19 15:31:08 +07:00
Andrew Lu
84687be2cf 8316028: Update FreeType to 2.13.2
Backport-of: 3b65b8797a
2024-04-19 15:31:08 +07:00
Goetz Lindenmaier
6d27d317bf 8315034: File.mkdirs() occasionally fails to create folders on Windows shared folder
Backport-of: 7ad700596f
2024-04-19 15:31:07 +07:00
Goetz Lindenmaier
13024d1bcb 8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
Reviewed-by: roland
Backport-of: 1bb250c9e6
2024-04-19 15:31:07 +07:00
Goetz Lindenmaier
02ded4c017 8318983: Fix comment typo in PKCS12Passwd.java
Backport-of: 949846986f
2024-04-19 15:31:07 +07:00
Goetz Lindenmaier
f936620f8b 8319668: Fixup of jar filename typo in BadFactoryTest.sh
Backport-of: 63ad868e18
2024-04-19 15:31:07 +07:00
Goetz Lindenmaier
c091003288 8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed with SIGBUS in PcDescContainer::find_pc_desc_internal
Backport-of: 16554ae23c
2024-04-19 15:31:06 +07:00
Goetz Lindenmaier
63a73bcf39 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: roland
Backport-of: 48f1a925e5
2024-04-19 15:31:06 +07:00
Goetz Lindenmaier
08e700038b 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Backport-of: ca5eee2fe3
2024-04-19 15:31:06 +07:00
Goetz Lindenmaier
dde917d8f9 8315920: C2: "control input must dominate current control" assert failure
Reviewed-by: roland
Backport-of: 4e1e579e8b
2024-04-19 15:31:06 +07:00
Gui Cao
bdc9e11286 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Backport-of: e8768ae08d
2024-04-19 15:31:05 +07:00
Jaroslav Bachorik
b420de637a 8313816: Accessing jmethodID might lead to spurious crashes
Reviewed-by: phh
Backport-of: cdd1a6e851
2024-04-19 15:31:05 +07:00
Goetz Lindenmaier
0c98a3e943 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-19 15:31:05 +07:00
Goetz Lindenmaier
29c634dbe8 8318689: jtreg is confused when folder name is the same as the test name
Backport-of: a9b31b587c
2024-04-19 15:31:05 +07:00
Goetz Lindenmaier
eed5ad035b 8305356: Fix ignored bad CompileCommands in tests
Backport-of: 0e0c022b1f
2024-04-19 15:31:04 +07:00
Goetz Lindenmaier
1690e28920 8278363: Create extented container test groups
Backport-of: 3d61372ba5
2024-04-19 15:31:03 +07:00
Goetz Lindenmaier
471a41d048 8274621: NullPointerException because listenAddress[0] is null
Backport-of: 5bbc8d3cb2
2024-04-19 15:31:03 +07:00
Kimura Yukihiro
093697b4c9 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Reviewed-by: phh
Backport-of: d051f22284
2024-04-19 15:31:02 +07:00
Matthias Baesken
069d2ab4b6 8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with ConnectException: Connection timed out: no further information
Backport-of: b9b82631bf
2024-04-19 15:31:01 +07:00
Matthias Baesken
3a688793ea 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Backport-of: 81db1721d4
2024-04-19 15:31:01 +07:00
Goetz Lindenmaier
705262906e 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Backport-of: c1f4595e64
2024-04-19 15:31:00 +07:00
Andrew Lu
64a26c0786 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Backport-of: ba645da97b
2024-04-19 15:30:59 +07:00
Sonia Zaldana Calles
90badd6743 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Backport-of: 864a876ebf
2024-04-19 15:30:59 +07:00
Sonia Zaldana Calles
135343f5f3 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Backport-of: 0048f1da4c
2024-04-19 15:30:59 +07:00
Aleksey Shipilev
68755d549d 8314220: Configurable InlineCacheBuffer size
Reviewed-by: phh
Backport-of: a40d8d97e8
2024-04-19 15:30:59 +07:00
Sandhya Viswanathan
2ab2c602e5 8318562: Computational test more than 2x slower when AVX instructions are used
Reviewed-by: shade
Backport-of: 0881f2b0c4
2024-04-19 15:30:59 +07:00
Aleksey Shipilev
7118baf4cc 8317507: C2 compilation fails with "Exceeded _node_regs array"
Backport-of: a5818972c1
2024-04-19 15:30:58 +07:00
Sandhya Viswanathan
69dedc4d6c 8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Backport-of: 027b5dbb6a
2024-04-19 15:30:58 +07:00
Sonia Zaldana Calles
dcf0d2811b 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Backport-of: a290256bbf
2024-04-19 15:30:58 +07:00
Aleksey Shipilev
e4cfea9ae9 8293117: Add atomic bitset functions
Backport-of: 8a70664e52
2024-04-19 15:30:58 +07:00
Aleksey Shipilev
e9b4d16221 8295068: SSLEngine throws NPE parsing CertificateRequests
Backport-of: 5667afc362
2024-04-19 15:30:58 +07:00
Aleksey Shipilev
be91508875 8274632: Possible pointer overflow in PretouchTask chunk claiming
Backport-of: a914ee7216
2024-04-19 15:30:57 +07:00
Liam Miller-Cushon
13fdfdf8f3 8320001: javac crashes while adding type annotations to the return type of a constructor
Reviewed-by: vromero
Backport-of: 5e24aaf4f7
2024-04-19 15:30:57 +07:00
Goetz Lindenmaier
4dfdd6ae0a 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Backport-of: d1d2b55ce0
2024-04-19 15:30:57 +07:00
Goetz Lindenmaier
55bacae387 8320798: Console read line with zero out should zero out underlying buffer
Reviewed-by: mbaesken
Backport-of: d568562966
2024-04-19 15:30:57 +07:00
Goetz Lindenmaier
a97e48923f 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change
Backport-of: eefbaa2956
2024-04-19 15:30:57 +07:00
Goetz Lindenmaier
7041ba1a71 8297968: Crash in PrintOptoAssembly
Backport-of: c69aa42d02
2024-04-19 15:30:56 +07:00
Goetz Lindenmaier
9cf76a2f0a 8273454: C2: Transform (-a)*(-b) into a*b
8274060: C2: Incorrect computation after JDK-8273454

Reviewed-by: shade
Backport-of: 7c9868c0b3
2024-04-19 15:30:56 +07:00
Sonia Zaldana Calles
7c71b1d4da 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: phh
Backport-of: 4b02956d42
2024-04-19 15:30:56 +07:00
Goetz Lindenmaier
68cc5f57e4 7167356: (javac) investigate failing tests in JavacParserTest
Backport-of: 07fb4f9a0b
2024-04-19 15:30:56 +07:00
Goetz Lindenmaier
2a4d3f6b8d 8294254: [macOS] javax/swing/plaf/aqua/CustomComboBoxFocusTest.java failure
Backport-of: 358ac07255
2024-04-19 15:30:55 +07:00
Goetz Lindenmaier
452b95fa0b 8274634: Use String.equals instead of String.compareTo in java.desktop
Reviewed-by: aturbanov
Backport-of: 6726c592ed
2024-04-19 15:30:55 +07:00
Aleksey Shipilev
c21ae354e8 8295124: Atomic::add to pointer type may return wrong value
Backport-of: 1164258ec7
2024-04-19 15:30:55 +07:00
Aleksey Shipilev
858d66728f 8271616: oddPart in MutableBigInteger::mutableModInverse contains info on final result
Backport-of: a8408708b0
2024-04-19 15:30:55 +07:00
Aleksey Shipilev
e5aa2f5049 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Backport-of: 59847926b6
2024-04-19 15:30:55 +07:00
Liam Miller-Cushon
f91cf7623e 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: vromero
Backport-of: de6667cf11
2024-04-19 15:30:54 +07:00
Aleksey Shipilev
c7cec41780 8271118: C2: StressGCM should have higher priority than frequency-based policy
Backport-of: ed1cb24027
2024-04-19 15:30:54 +07:00
Aleksey Shipilev
06054e5e55 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Backport-of: e25121d1d9
2024-04-19 15:30:54 +07:00
Aleksey Shipilev
05aea604d0 8292458: Atomic operations on scoped enums don't build with clang
Backport-of: f85411f24a
2024-04-19 15:30:54 +07:00
Goetz Lindenmaier
305a933c22 8310838: Correct range notations in MethodTypeDesc specification
Backport-of: a197ee797b
2024-04-19 15:30:53 +07:00
Sergey Bylokhov
3f3e2b08a9 8301310: The SendRawSysexMessage test may cause a JVM crash
Backport-of: d725b73df0
2024-04-19 15:30:53 +07:00
Sonia Zaldana Calles
e1e8e67dc5 8283994: Make Xerces DatatypeException stackless
Reviewed-by: phh
Backport-of: 85f8d14edf
2024-04-19 15:30:53 +07:00
Goetz Lindenmaier
e5c2b3582a 8299494: Test vmTestbase/nsk/stress/except/except011.java failed: ExceptionInInitializerError: target class not found
Backport-of: bbde2158d1
2024-04-19 15:30:53 +07:00
Goetz Lindenmaier
8f2f7c0574 8300269: The selected item in an editable JComboBox with titled border is not visible in Aqua LAF
Backport-of: ef6200c727
2024-04-19 15:30:52 +07:00
Goetz Lindenmaier
05d8f3e06d 8286846: test/jdk/javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on mac aarch64
Backport-of: d7341ae42e
2024-04-19 15:30:52 +07:00
Paul Hohensee
3e7ac69eda 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Reviewed-by: simonis
Backport-of: a9d21c61fb
2024-04-19 15:30:52 +07:00
Paul Hohensee
1fce476a4b 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: simonis
Backport-of: 3eced01f9e
2024-04-19 15:30:52 +07:00
Volker Simonis
b11716cf2e 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Backport-of: 401c3dea5d
2024-04-19 15:30:51 +07:00
Goetz Lindenmaier
8c8719cb4e 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Backport-of: db133dbc02
2024-04-19 15:30:51 +07:00
Goetz Lindenmaier
a2b3536096 7148092: [macosx] When Alt+down arrow key is pressed, the combobox popup does not appear.
Backport-of: c42ef70a45
2024-04-19 15:30:51 +07:00
Goetz Lindenmaier
5ae6639d62 8054572: [macosx] JComboBox paints the border incorrectly
Backport-of: 8082c24a0d
2024-04-19 15:30:50 +07:00
Goetz Lindenmaier
992e2271ac 8290399: [macos] Aqua LAF does not fire an action event if combo box menu is displayed
Backport-of: 93f96d8c9e
2024-04-19 15:30:50 +07:00
Goetz Lindenmaier
3ab0353b32 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS
Backport-of: 81d7475d20
2024-04-19 15:30:50 +07:00
Volker Simonis
c8b660af40 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: shade
Backport-of: 39f6d807db
2024-04-19 15:30:49 +07:00
Goetz Lindenmaier
9e0d9fa5a8 8313643: Update HarfBuzz to 8.2.2
Reviewed-by: lucy
Backport-of: 2182c93689
2024-04-19 15:30:49 +07:00
Roman Marchenko
5b0e780514 8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ff
2024-04-19 15:30:48 +07:00
Goetz Lindenmaier
4bd88e1fb3 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Reviewed-by: phh
Backport-of: 9f4a9fe488
2024-04-19 15:30:48 +07:00
Goetz Lindenmaier
9678c91448 8301306: java/net/httpclient/* fail with -Xcomp
8301787: java/net/httpclient/SpecialHeadersTest failing after JDK-8301306

Reviewed-by: lucy
Backport-of: 6f9106e0d0
2024-04-19 15:30:48 +07:00
Goetz Lindenmaier
19afbe1144 8269258: java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
Backport-of: 37921e3080
2024-04-19 15:30:48 +07:00
Goetz Lindenmaier
c333989e98 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library
Backport-of: 613a3cc689
2024-04-19 15:30:48 +07:00
Goetz Lindenmaier
18f836bb07 8318951: Additional negative value check in JPEG decoding
Backport-of: 75ce02fe74
2024-04-19 15:30:47 +07:00
Goetz Lindenmaier
7322c05f41 8316030: Update Libpng to 1.6.40
Backport-of: 158293d251
2024-04-19 15:30:47 +07:00
Goetz Lindenmaier
2f71a983c9 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Backport-of: 7352bb9105
2024-04-19 15:30:47 +07:00
Goetz Lindenmaier
0c7ac79ceb 8308043: Deadlock in TestCSLocker.java due to blocking GC while allocating
Backport-of: 285c833ffa
2024-04-19 15:30:47 +07:00
Goetz Lindenmaier
65c241c864 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Backport-of: 2179a8f2d6
2024-04-19 15:30:46 +07:00
Goetz Lindenmaier
9016a011ec 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
Backport-of: 2613b94f28
2024-04-19 15:30:46 +07:00
Goetz Lindenmaier
36132cecf6 8292946: GC lock/jni/jnilock001 test failed "assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed()) failed: Twice in a row"
Backport-of: 9833c025fd
2024-04-19 15:30:46 +07:00
Goetz Lindenmaier
a7b90e6d9b 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"
Backport-of: 7b81a9c75d
2024-04-19 15:30:46 +07:00
Dmitry Chuyko
43207fa878 8287832: jdk/jfr/event/runtime/TestActiveSettingEvent.java failed with "Expected two batches of Active Setting events"
Reviewed-by: phh
Backport-of: 4df4a1f8e2
2024-04-19 15:30:45 +07:00
Matthias Baesken
755d80e0f2 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Backport-of: a9b41da9df
2024-04-19 15:30:45 +07:00
Johannes Bechberger
d45e3470ad 8318736: com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
Reviewed-by: mbaesken
Backport-of: 1a21c1a783
2024-04-19 15:30:45 +07:00
David Alvarez
86ad8b3ad4 8317960: [17u] Excessive CPU usage on AbstractQueuedSynchronized.isEnqueued
Reviewed-by: phh
2024-04-19 15:30:45 +07:00
Dmitry Chuyko
fda4c75f4f 8295274: HelidonAppTest.java fails "assert(event->should_commit()) failed: invariant" from compiled frame"
Backport-of: 21e4f06ada
2024-04-19 15:30:45 +07:00
Dmitry Chuyko
2752a875e5 8288663: JFR: Disabling the JfrThreadSampler commits only a partially disabled state
Reviewed-by: phh
Backport-of: a7df5a4063
2024-04-19 15:30:44 +07:00
Martin Doerr
4598134dc2 8320363: ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity
Backport-of: 6aa197667a
2024-04-19 15:30:44 +07:00
Goetz Lindenmaier
49982bd9de 8320885: Bump update version for OpenJDK: jdk-17.0.11
Reviewed-by: shade
2024-04-19 15:30:44 +07:00
Sergei Tachenov
07710816d1 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:24:06 +04:00
Maxim Kartashev
c35e66d2eb JBR-3645 Tool to support keeping JBR in sync with OpenJDK 2024-04-17 09:52:54 +07:00
Vitaly Provodin
a6c085bbce update exclude list on results of 17.0.10_b1278.1 test runs 2024-04-16 07:43:43 +07:00
Vitaly Provodin
0331beca29 introduce jbMuslProblemList.txt exclude list 2024-04-13 07:44:29 +07:00
Dmitrii Morskii
7803214b5c JBR-6372: implement detecting of OS theme on linux 2024-04-12 18:17:01 +02:00
Dmitrii Morskii
f9c2f1efb7 JBR-6171 removing deadlock related to calling getCurrentServerTime 2024-04-12 18:15:10 +02:00
Sergei Tachenov
8fd1b68ba2 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:06:32 +04:00
Maxim Kartashev
cc61ce7786 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:32:57 +04:00
Nikita Gubarkov
29c4a5114a JBR-6927 Safe asynchronous destruction of Metal graphics config. 2024-04-09 14:39:42 +02:00
Vitaly Provodin
cf9c2d037a update exclude list on results of 17.0.10_b1273.2 test runs 2024-04-09 07:17:46 +07:00
Alexey Ushakov
fea8d6e0eb 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:39:32 +02:00
Vitaly Provodin
dad48f28b4 JBR-6915 add the option -w into mkimages scripts 2024-04-04 10:05:27 +07:00
Vitaly Provodin
858f5d2af7 update exclude list on results of 17.0.10_b1266.1 test runs 2024-04-04 05:50:42 +07:00
bourgesl
808ec8d565 Merge remote-tracking branch 'origin/jbr17' into jbr17 2024-03-28 18:29:00 +01:00
Laurent Bourgès
e30894160c 8323695: RenderPerf (2D) enhancements (23.12)
Reviewed-by: avu, prr

(cherry picked from commit 8b30503387)
2024-03-28 18:24:35 +01:00
Maxim Kartashev
f2fb83b9a8 JBR-6847 Improve locking performance on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseCriticalSection
to revert to the old behavior
2024-03-28 21:18:06 +04:00
Vitaly Provodin
4e192c9f27 update exclude list on results of 17.0.10_b1264.2 test runs 2024-03-27 05:19:12 +07:00
Volker Simonis
b378aeae13 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 12:44:39 +04:00
Dmitrii Morskii
3decb31d9a JBR-6541 Added ability to get supported features and stylistic sets for font 2024-03-21 19:38:18 +01:00
Nikita Gubarkov
772c328093 JBR-6723 Deal with integer overflow in DrawGlyphList with enabled subpixelResolution 2024-03-21 16:56:10 +01:00
Nikita Provotorov
156e5d9b65 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 6130273864)
2024-03-20 20:32:49 +01:00
Vitaly Provodin
9dbbb5841e update exclude list on results of 17.0.10_b1249.1 test runs 2024-03-19 07:37:22 +07:00
Nikita Provotorov
43a9a3a17a 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 086e590c7f)
(cherry picked from commit 6005f69e5c)
2024-03-18 19:08:15 +01:00
Vitaly Provodin
9a9f6c3e57 update exclude list on results of 17.0.10_b1207.12 test runs 2024-03-18 09:39:02 +07:00
Vitaly Provodin
e4e4cdea2a update exclude list on results of 17.0.10_b1242.1 test runs 2024-03-14 15:40:27 +07:00
Nikita Gubarkov
99f479c037 JBR-6723 Block on Metal config destroy 2024-03-13 15:26:08 +01:00
Fredrik Bredberg
0f37369f00 8320317: ObjectMonitor NotRunnable is not really an optimization
Reviewed-by: eosterlund, dholmes, shade, dcubed

JBR-6819 Backport 8320317
2024-03-13 12:11:58 +04:00
Nikita Gubarkov
4f5094f985 JBR-6723 flush vertex cache and command buffer before freeing glyph cache. (#334) 2024-03-11 14:55:28 +01:00
Dmitry Drobotov
d7d8d9b8e4 JBR-6593 Set unique name for the AccessibleAnnouncer thread 2024-03-07 14:17:08 +01:00
Vitaly Provodin
252ec1f0be update exclude list on results of 17.0.10_b1230.2 test runs 2024-03-04 16:53:15 +04:00
Maxim Kartashev
3248ccb203 JBR-6742 Record resident set size in JVM fatal error log 2024-03-01 09:52:51 +04:00
Artem Bochkarev
6c6b11d8d5 JBR-4430 Fixed execution permissions on Linux 2024-02-29 21:25:18 +04:00
Alexey Ushakov
aac4fbae3c JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Fix of MT access to shared data in MTLGraphicsConfigInfo
2024-02-29 17:36:09 +01:00
Vladimir Dvorak
aaaad6b152 JBR-6647 Disable check for final field access from method $$ha$clinit 2024-02-28 09:06:12 +01:00
Dmitry Drobotov
b80b620642 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.

(cherry picked from commit 8cc4cd5cfd)
2024-02-27 17:35:23 +01:00
Vitaly Provodin
a86fb87ec1 update exclude list on results of 17.0.10_b1211.9 test runs 2024-02-27 15:48:28 +07:00
Maxim Kartashev
5a462bc4ba JBR-6737 Cannot switch projects from Window menu after minimizing them on Linux 2024-02-27 09:12:16 +04:00
Vladimir Dvorak
470857e6ea JBR-6746 Fix linux build failing on: "error: 'this' pointer is null" 2024-02-26 20:47:39 +01:00
Dmitry Drobotov
75b06421ff 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.
2024-02-26 20:10:36 +01:00
Dmitrii Morskii
54a944b2af JBR-5500 Handled situation of processing WM_ENDSESSION in process of closing application 2024-02-26 11:17:36 +00:00
Vitaly Provodin
0c4fe90ff4 fixup! JBR-6246 add default CDS archives into jbrsdk distributions 2024-02-23 04:02:01 +07:00
Vitaly Provodin
ec2fac0b5a update exclude list on results of 17.0.10_b1207.2 test runs 2024-02-21 04:45:21 +07:00
Nikita Provotorov
e9aab98a6c JBR-6711: java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java: JButton JPanel not collected.
Fixes the patch of JBR-3697 so that sun.awt.X11InputMethodBase#removeNotify unsets its references to tracked components thus not preventing GC from collecting them.

(cherry picked from commit a40a99e6c0)
2024-02-19 16:40:18 +01:00
Maxim Kartashev
78c5a56adb JBR-6246 Create CDS archives with -Xshare:dump 2024-02-19 13:23:33 +03:00
Vladimir Dvorak
9bea6a0004 JBR-6648 - Fix ObjectCollectedException in enhanced redefineClasses due to stale jvmtiTagMap entries 2024-02-19 10:47:44 +01:00
Dmitry Drobotov
93937603b3 JBR-6472 Add default value in CAccessibility.isComboBoxEditable to avoid NPE 2024-02-17 19:59:35 +01:00
Egor Ushakov
2f54c24249 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 04:33:53 +07:00
Egor Ushakov
2fa63cd0bc 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:33:43 +07:00
Nikita Provotorov
2933ea89f0 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 f473fa15a1)
(cherry picked from commit 38b521feac)
(cherry picked from commit b508993b60)
(cherry picked from commit 8e2db04c49)
2024-02-16 08:14:24 +01:00
Nikita Tsarev
3c2cbecc64 JBR-6297: Don't check for NSInputManager wantsToHandleMouseEvents in mouseDown by default 2024-02-15 20:42:49 +01:00
Vitaly Provodin
0c3c809646 JBR-6649 add synchronization for creating UI 2024-02-15 12:06:08 +07:00
Nikita Provotorov
853f700b76 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:07:28 +01:00
Dmitrii Morskii
cd1d10b4bd JBR-6671 added option 'freetype.font.rendering' 2024-02-14 18:03:28 +01:00
Alexey Ushakov
b9e7fffc5c JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Performing flush of pending rendering operation before destroying MTLGraphicsConfig
2024-02-14 15:05:10 +01:00
Nikita Tsarev
6c6c95f7f0 JBR-6704: Fix extra IME events when a ctrl shortcut causes window focus switch [macOS] 2024-02-14 13:35:21 +01:00
Nikita Gubarkov
7756d7a9d2 JBR-4618 Force window size update after display reconfiguration
- Re-create all GraphicsDevices on displayChanged()
2024-02-13 16:08:44 +01:00
Vitaly Provodin
83dfcc6e8b update exclude list on results of 17.0.10_b1186.1 test runs 2024-02-13 07:39:01 +07:00
Vladimir Dvorak
7be14a878a JBR-6643 - additional fix for GitHub actions ZERO build 2024-02-07 22:39:51 +01:00
Vitaly Provodin
adbb5cc60a JBR-6404 synchronize drawing and the test checking 2024-02-07 06:55:04 +07:00
Nikita Gubarkov
841963a9be JBR-6651 Exclude keycap emoji from EmojiVariation test. 2024-02-05 15:26:10 +01:00
Vladimir Dvorak
d33e29fc2b JBR-6643 - fix GitHub actions builds 2024-02-05 12:18:11 +01:00
Vladimir Dvorak
14b8ec25fa JBR-6419 - fix macos-aarch64 build problem 2024-02-05 12:13:36 +01:00
Vladimir Dvorak
ef5b549b5a JBR-6419 - support for enhanced redefinition of java.lang.Object 2024-02-05 12:13:36 +01:00
Vitaly Provodin
d31a706e91 update exclude list on results of 17.0.10_b1171.14 test runs 2024-02-05 10:23:16 +07:00
Atrem Bochkarev
57f9dbecdb fixup! JBR-5405: make compilable in linux 2024-02-03 18:27:11 +03:00
Artem Bochkarev
fee7ff0c6c fixup! JBR-5405: make compilable in linux 2024-02-01 07:54:41 +04:00
Dmitrii Morskii
e120030e90 JBR-6604 supported case when fonts directory is missing 2024-01-31 18:45:40 +01:00
Dmitry Batrak
20468cf28b JBR-6449 Introduce FontMetricsAccessor into JBR API
mute calculation of metrics via full text layout if overrider is installed
2024-01-31 18:45:47 +02:00
Artem Bochkarev
c771ad6ad3 fixup! JBR-5405: reset gl context before processing and restore after 2024-01-31 14:43:29 +04:00
Vitaly Provodin
9403395d26 update exclude list on results of 17.0.10_b1169.7 test runs 2024-01-24 15:31:40 +07:00
Vitaly Provodin
0eaafd1262 update exclude list on results of 17.0.9_b1087.17 commit test runs 2024-01-24 07:29:02 +07:00
Dmitry Batrak
0460118960 JBR-6579 jb/java/api/frontend/FontMetricsAccessorTest.java: Unexpected advance returned 2024-01-22 13:53:44 +02:00
Dmitry Batrak
ea2c4bfc83 JBR-6579 jb/java/api/frontend/FontMetricsAccessorTest.java: Unexpected advance returned 2024-01-22 11:41:53 +02:00
Dmitry Batrak
7af653070f JBR-6569 macOS: SIGILL at [libsystem_kernel] __kill in This decoder will only decode classes that adopt NSSecureCoding. Class 'AWTView' does not adopt it. 2024-01-22 10:22:22 +02:00
Dmitry Batrak
5befaea6af JBR-6449 Introduce FontMetricsAccessor into JBR API
fix test
2024-01-19 11:06:51 +02:00
Ajit Ghaisas
b150e0e6ef update exclude list on results of 17.0.10_b1168 test runs 2024-01-19 06:10:35 +07:00
Alexey Bakhtin
4ec4e665e6 8320597: RSA signature verification fails on signed data that does not encode params correctly
Reviewed-by: mbalao
Backport-of: 11e4a925be
2024-01-18 04:18:50 +07:00
Alexey Bakhtin
91573abaab 8317547: Enhance TLS connection support 2024-01-18 04:18:50 +07:00
Weijun Wang
e9b0b6c854 8316976: Improve signature handling
Reviewed-by:
2024-01-18 04:18:49 +07:00
Yuri Nesterenko
2b3ac6256c 8314468: Improve Compiler loops
Backport-of: 2621f68c06
2024-01-18 04:18:49 +07:00
Roland Westrelin
80c0dca4e8 8314307: Improve loop handling
Reviewed-by: mbalao, fferrari
2024-01-18 04:18:49 +07:00
Coleen Phillimore
42425fcd47 8314295: Enhance verification of verifier
Reviewed-by: dholmes, poonam, dlong
2024-01-18 04:18:48 +07:00
Alexey Bakhtin
78c7a4d461 8308204: Enhanced certificate processing
Backport-of: ef0ea85bf1398b73bd308ba2b395c917b449aa3b
2024-01-18 04:18:48 +07:00
Saint Wesonga
97a161e87c 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: bstafford, mbalao
Backport-of: 334b977259
2024-01-18 04:18:48 +07:00
Lance Andersen
ce2f836140 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
2024-01-18 04:18:48 +07:00
Christoph Langer
d3ed7b8612 8320601: ProblemList java/lang/invoke/lambda/LambdaFileEncodingSerialization.java on linux-all
Backport-of: ab7380e2d9
2024-01-18 04:18:47 +07:00
Martin Balao
5cab854d9a 8271566: DSA signature length value is not accurate in P11Signature
Reviewed-by: adinn
Backport-of: ea8d3c92c6
2024-01-18 04:18:47 +07:00
Andrew Lu
bd48eb839f 8319187: Add three eMudhra emSign roots
Reviewed-by: mbaesken
Backport-of: 0bda467f6e
2024-01-18 04:18:47 +07:00
Soumadipta Roy
dcf3eec4db 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Backport-of: a564d436c7
2024-01-18 04:18:47 +07:00
Francisco Ferrari Bihurriet
e6054b007c 8277307: Pre shared key sent under both session_ticket and pre_shared_key extensions
Backport-of: 4662e06bff
2024-01-18 04:18:46 +07:00
Sandhya Viswanathan
cda2954a13 8320209: VectorMaskGen clobbers rflags on x86_64
Backport-of: b05e69f789
2024-01-18 04:18:46 +07:00
Goetz Lindenmaier
91573407f6 8293343: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java failed with "Agent communication error: java.io.EOFException"
8293335: sun/management/jmxremote/bootstrap/RmiBootstrapTest.java#id1failed with "Agent communication error: java.io.EOFException"

Backport-of: 91c9091d7e
2024-01-18 04:18:46 +07:00
Christoph Langer
e941459a96 8313781: Add regression tests for large page logging and user-facing error messages
Backport-of: 99d260c0cc
2024-01-18 04:18:46 +07:00
Christoph Langer
c27e9b5b9f 8313782: Add user-facing warning if THPs are enabled but cannot be used
Backport-of: 44b5b81f76
2024-01-18 04:18:45 +07:00
Martin Doerr
570a533af2 8316746: Top of lock-stack does not match the unlocked object
Reviewed-by: rrich
Backport-of: 7d8adfa855
2024-01-18 04:18:45 +07:00
Ludovic Henry
e9d3b2791d 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: vkempik, rehn
Backport-of: 5f1d762750
2024-01-18 04:18:45 +07:00
Roman Kennke
6652da60ad 8279856: Parallel: Use PreservedMarks to record promotion-failed objects
Backport-of: 16ec47d5e5
2024-01-18 04:18:45 +07:00
Goetz Lindenmaier
f1267ca967 8262186: Call X509KeyManager.chooseClientAlias once for all key types
Reviewed-by: phh
Backport-of: 3d657eb0a6
2024-01-18 04:18:44 +07:00
Goetz Lindenmaier
064aaad37b 8302109: Trivial fixes to btree tests
Backport-of: 97d0c8720d
2024-01-18 04:18:44 +07:00
Goetz Lindenmaier
2980220059 8292067: Convert test/sun/management/jmxremote/bootstrap shell tests to java version
Backport-of: 3993a1f9ea
2024-01-18 04:18:44 +07:00
Aleksey Shipilev
c0d7fd0938 8320053: GHA: Cross-compile gtest code
Backport-of: 77a6966114
2024-01-18 04:18:44 +07:00
Aleksey Shipilev
c858b523b6 8317834: java/lang/Thread/IsAlive.java timed out
Backport-of: 5522656af7
2024-01-18 04:18:43 +07:00
Gui Cao
4757d06627 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
Reviewed-by: luhenry, fyang
Backport-of: fb055e7e53
2024-01-18 04:18:43 +07:00
Stewart X Addison
e64ada25e5 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Backport-of: 6a75c2406b
2024-01-18 04:18:43 +07:00
Goetz Lindenmaier
c13e01a527 8318759: Add four DigiCert root certificates
Reviewed-by: mbaesken
Backport-of: 0ea58048f9
2024-01-18 04:18:42 +07:00
Goetz Lindenmaier
dbb2b0da0d 8307311: Timeouts on one macOS 12.6.1 host of two Swing JTableHeader tests
Backport-of: b3cb82b859
2024-01-18 04:18:42 +07:00
Goetz Lindenmaier
96b1742580 8294402: Add diagnostic logging to VMProps.checkDockerSupport
Backport-of: 03d613bbab
2024-01-18 04:18:42 +07:00
Robbin Ehn
4f16da1d86 8315195: RISC-V: Update hwprobe query for new extensions
Backport-of: 0d4cadb824
2024-01-18 04:18:42 +07:00
Gui Cao
d6baec1061 8319184: RISC-V: improve MD5 intrinsic
Backport-of: fa331d7128
2024-01-18 04:18:41 +07:00
Goetz Lindenmaier
1b9b0decc6 8285785: CheckCleanerBound test fails with PasswordCallback object is not released
Reviewed-by: mbaesken
Backport-of: b9d1e85151
2024-01-18 04:18:41 +07:00
Goetz Lindenmaier
04e3162f10 8268433: serviceability/dcmd/framework/VMVersionTest.java fails with Unable to send object throw not established PipeIO Listener Thread connection
Backport-of: 280f2d57d1
2024-01-18 04:18:41 +07:00
Andrew John Hughes
40c37b8123 8312126: NullPointerException in CertStore.getCRLs after 8297955
Backport-of: 3c743cfea0
2024-01-18 04:18:41 +07:00
Robbin Ehn
9a5e7e82c0 8309258: RISC-V: Add riscv_hwprobe syscall
8315206: RISC-V: hwprobe query is_set return wrong value
8316859: RISC-V: Disable detection of V through HWCAP

Reviewed-by: fyang
Backport-of: 31b6fd775f
2024-01-18 04:18:40 +07:00
Feilong Jiang
69b831f479 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Reviewed-by: fyang
Backport-of: b2504a0f9c
2024-01-18 04:18:40 +07:00
Goetz Lindenmaier
7fbe8c6d02 8317374: Add Let's Encrypt ISRG Root X2
Reviewed-by: mdoerr
Backport-of: e6f46a4326
2024-01-18 04:18:40 +07:00
Goetz Lindenmaier
4f8105269e 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Backport-of: e30e356442
2024-01-18 04:18:40 +07:00
Sergey Bylokhov
ffb3e9e316 8276819: javax/print/PrintServiceLookup/FlushCustomClassLoader.java fails to free
Backport-of: 7c2c58587d
2024-01-18 04:18:39 +07:00
Sergey Bylokhov
3f1883be14 8273831: PrintServiceLookup spawns 2 threads in the current classloader, getting orphaned
Backport-of: 687567822a
2024-01-18 04:18:39 +07:00
Goetz Lindenmaier
19eb05342f 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Backport-of: 7b1e2bfe0f
2024-01-18 04:18:39 +07:00
Goetz Lindenmaier
bcaaf859ed 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Backport-of: 939d7c5d84
2024-01-18 04:18:39 +07:00
Goetz Lindenmaier
e228e4d82a 8314242: Update applications/scimark/Scimark.java to accept VM flags
Backport-of: 6bf4a33593
2024-01-18 04:18:38 +07:00
Goetz Lindenmaier
5e3b62f396 8307123: Fix deprecation warnings in DPrinter
Backport-of: b76f320e76
2024-01-18 04:18:38 +07:00
Goetz Lindenmaier
c9ca4fb26e 8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates unnecessary core file
Backport-of: 188911c925
2024-01-18 04:18:38 +07:00
Johannes Bechberger
0b353c661f 8317920: JDWP-agent sends broken exception event with onthrow option
Reviewed-by: phh
2024-01-18 04:18:38 +07:00
Aleksey Shipilev
5b4ac0d3d6 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Backport-of: 83eb20651f
2024-01-18 04:18:37 +07:00
Goetz Lindenmaier
ba33e7a004 8317327: Remove JT_JAVA dead code in jib-profiles.js
Backport-of: 69489427e9
2024-01-18 04:18:37 +07:00
Goetz Lindenmaier
1df9bd3678 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Backport-of: 298dda4c98
2024-01-18 04:18:37 +07:00
Goetz Lindenmaier
957740ba81 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Backport-of: cfae6ef2f6
2024-01-18 04:18:37 +07:00
Goetz Lindenmaier
230a826eee 8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display
Backport-of: d1026720d3
2024-01-18 04:18:37 +07:00
Goetz Lindenmaier
a8e573536e 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Backport-of: fffa73c1ef
2024-01-18 04:18:36 +07:00
Goetz Lindenmaier
254da2b498 8271826: mark hotspot runtime/condy tests which ignore external VM flags
Backport-of: d3b40cb683
2024-01-18 04:18:36 +07:00
Ludovic Henry
c9780b85cc 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: stuefe
Backport-of: 47d00a4cbe
2024-01-18 04:18:36 +07:00
Goetz Lindenmaier
f7f82d66d1 8318855: Extra file added by mistake during the backport of JDK-8283326
Reviewed-by: mdoerr
2024-01-18 04:18:36 +07:00
Frederic Thevenet
c42866954a 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Backport-of: 202c0137b8
2024-01-18 04:18:35 +07:00
Gui Cao
4745843ca3 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Reviewed-by: fyang
Backport-of: 988e1dfe6e
2024-01-18 04:18:35 +07:00
Matthias Baesken
f1f84a54aa 8312467: relax the builddir check in make/autoconf/basic.m4
Backport-of: 6e3cc131da
2024-01-18 04:18:35 +07:00
Matthias Baesken
d9a4791d0d 8312612: handle WideCharToMultiByte return values
Backport-of: d9559f9b24
2024-01-18 04:18:35 +07:00
Terry Chow
3048ec453f 8308593: Add KEEPALIVE Extended Socket Options Support for Windows
Reviewed-by: djelinski, phh
Backport-of: f3ade388da
2024-01-18 04:18:34 +07:00
Goetz Lindenmaier
c59032824a 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Backport-of: 37c40a11a7
2024-01-18 04:18:34 +07:00
Goetz Lindenmaier
53cda2b439 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Backport-of: 1925508425
2024-01-18 04:18:34 +07:00
Goetz Lindenmaier
263a999560 6445283: ProgressMonitorInputStream not large file aware (>2GB)
Backport-of: a17fce7507
2024-01-18 04:18:34 +07:00
Matthias Baesken
c47fde5b32 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Backport-of: ed2b4673de
2024-01-18 04:18:33 +07:00
Matthias Baesken
1577ec0e3b 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Backport-of: b7545a69a2
2024-01-18 04:18:33 +07:00
Matthias Baesken
559da43f48 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Backport-of: 97b94cb1cd
2024-01-18 04:18:33 +07:00
Goetz Lindenmaier
91794c7d31 8317373: Add Telia Root CA v2
Reviewed-by: phh
Backport-of: d3ebb4a155
2024-01-18 04:18:33 +07:00
Goetz Lindenmaier
3216a30641 8308910: Allow executeAndLog to accept running process
Reviewed-by: lucy
Backport-of: 024d9b131d
2024-01-18 04:18:32 +07:00
Goetz Lindenmaier
3d8d43cec4 8291911: java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
8298619: java/io/File/GetXSpace.java is failing
8305646: compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
8309216: Cast from jchar* to char* in test java/io/GetXSpace.java

Reviewed-by: lucy
Backport-of: 749335d34a
2024-01-18 04:18:32 +07:00
Goetz Lindenmaier
36908d2e55 8228990: JFR: TestNetworkUtilizationEvent.java expects 2+ Network interfaces on Linux but finding 1
Backport-of: e21b527b18
2024-01-18 04:18:32 +07:00
Goetz Lindenmaier
42bd9acadb 8273456: Do not hold ttyLock around stack walking
8273629: compiler/uncommontrap/TestDeoptOOM.java fails with release VMs

Reviewed-by: lucy, phh
Backport-of: 461a467f91
2024-01-18 04:18:32 +07:00
Matthias Baesken
514eea56ee 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Backport-of: 3671d83c87
2024-01-18 04:18:31 +07:00
Matthias Baesken
4b507b21fc 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Backport-of: 8bbebbba8f
2024-01-18 04:18:31 +07:00
Aleksey Shipilev
e68509206d 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Backport-of: f7deaf4bef
2024-01-18 04:18:31 +07:00
Aleksey Shipilev
d67de872b1 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Reviewed-by: phh
Backport-of: ea067fc3d2
2024-01-18 04:18:31 +07:00
Goetz Lindenmaier
20cefd13ed 8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java
Backport-of: 5e001d6ff3
2024-01-18 04:18:31 +07:00
Goetz Lindenmaier
bf84ffadbd 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails
Backport-of: f80faced6e
2024-01-18 04:18:30 +07:00
Goetz Lindenmaier
35e6506081 8239801: [macos] java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java fails
Backport-of: b6dddf4ce6
2024-01-18 04:18:30 +07:00
Goetz Lindenmaier
c37b8443ec 8293563: [macos-aarch64] SA core file tests failing with sun.jvm.hotspot.oops.UnknownOopException
Reviewed-by: lucy
Backport-of: 76f1865124
2024-01-18 04:18:30 +07:00
Goetz Lindenmaier
adf6a60dc6 8176567: nsk/jdi/ReferenceType/instances/instances002: TestFailure: Unexpected size of referenceType.instances(nsk.share.jdi.TestInterfaceImplementer1): 11, expected: 10
Backport-of: 46fd683820
2024-01-18 04:18:30 +07:00
Goetz Lindenmaier
40b517ce8a 8275329: ZGC: vmTestbase/gc/gctests/SoftReference/soft004/soft004.java fails with assert(_phases->length() <= 1000) failed: Too many recored phases?
Backport-of: 6b833db3f9
2024-01-18 04:18:29 +07:00
Matthias Baesken
f103f2fc45 8311511: Improve description of NativeLibrary JFR event
Backport-of: 848abd2831
2024-01-18 04:18:29 +07:00
Goetz Lindenmaier
543632bb96 8268916: Tests for AffirmTrust roots
Backport-of: 8c1bb2b280
2024-01-18 04:18:29 +07:00
Goetz Lindenmaier
52c88af7a3 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Backport-of: 9728e21db1
2024-01-18 04:18:29 +07:00
Goetz Lindenmaier
e1e097e048 8291154: Create a non static nested class without enclosing class throws VerifyError
Backport-of: f96aee7401
2024-01-18 04:18:28 +07:00
Goetz Lindenmaier
af5f6fdaa8 8275333: Print count in "Too many recored phases?" assert
Backport-of: 45ebf85ca9
2024-01-18 04:18:28 +07:00
Matthias Baesken
73f84e1916 8312395: Improve assertions in growableArray
Reviewed-by: clanger
Backport-of: b772e67e29
2024-01-18 04:18:28 +07:00
Deepa Kumari
b08c2dfe78 8312078: [PPC] JcmdScale.java Failing on AIX
Backport-of: c1a3f143bf
2024-01-18 04:18:28 +07:00
amosshi
8f6994c67f 8297296: java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails with "No MouseReleased event on label!"
Reviewed-by: goetz
Backport-of: 0ed6d0b456
2024-01-18 04:18:27 +07:00
Ralf Schmelter
166c6940f9 8297142: jdk/jfr/event/runtime/TestShutdown.java fails on Linux ppc64le and Linux aarch64
Backport-of: bde0e35ded
2024-01-18 04:18:27 +07:00
Goetz Lindenmaier
c4860b7c11 8306280: Open source several choice AWT tests
Backport-of: d03128d0e5
2024-01-18 04:18:27 +07:00
Goetz Lindenmaier
a34df011cc 8262901: [macos_aarch64] NativeCallTest expected:<-3.8194101E18> but was:<3.02668882E10>
8296821: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java fails after JDK-8262901

Reviewed-by: lucy
Backport-of: 6b456f7a9b
2024-01-18 04:18:27 +07:00
Matthias Baesken
4e7373b602 8315214: Do not run sun/tools/jhsdb tests concurrently
Reviewed-by: mdoerr
Backport-of: 1e7e2bcf35
2024-01-18 04:18:26 +07:00
Olga Mikhaltsova
51cd0eff51 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Reviewed-by: vkempik
Backport-of: d6245b6832
2024-01-18 04:18:26 +07:00
Aleksey Shipilev
9e516548d8 8315062: [GHA] get-bootjdk action should return the abolute path
Reviewed-by: xliu
Backport-of: 99ea8bf2b9
2024-01-18 04:18:26 +07:00
Sonia Zaldana Calles
9e013bb57a 8302525: Write a test to check various components send Events while mouse and key are used simultaneously
Backport-of: c7517b3dec
2024-01-18 04:18:26 +07:00
amosshi
c7d8ae1c85 8300259: Add test coverage for processing of pending block files in signed JARs
Backport-of: c129ce4660
2024-01-18 04:18:25 +07:00
amosshi
c03add1fd8 8301570: Test runtime/jni/nativeStack/ needs to detach the native thread
Backport-of: d269ebbad2
2024-01-18 04:18:25 +07:00
amosshi
7fbb069279 8300272: Improve readability of the test JarWithOneNonDisabledDigestAlg
Backport-of: cf46004f27
2024-01-18 04:18:25 +07:00
amosshi
e313dcb5c0 8296275: Write a test to verify setAccelerator method of JMenuItem
Backport-of: b005013a00
2024-01-18 04:18:25 +07:00
Matthias Baesken
4ef434f73b 8313691: use close after failing os::fdopen in vmError and ciEnv
Backport-of: 96304f37f8
2024-01-18 04:18:24 +07:00
Matthias Baesken
ff97b0a986 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Backport-of: 9eed049098
2024-01-18 04:18:24 +07:00
Thomas Stuefe
6faa5aad6f 8317772: NMT: Make peak values available in release builds
Backport-of: 32ccf018eb
2024-01-18 04:18:24 +07:00
Goetz Lindenmaier
eb7ce1c0c9 8041447: Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
Backport-of: 2c52cf0746
2024-01-18 04:18:24 +07:00
Goetz Lindenmaier
ed98f2ae5b 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
Backport-of: 2f83b5c487
2024-01-18 04:18:23 +07:00
Goetz Lindenmaier
10800552ce 8270199: Most SA tests are skipped on macosx-aarch64 because all executables are signed
Reviewed-by: lucy
Backport-of: 16e0ad0ad0
2024-01-18 04:18:23 +07:00
Christoph Langer
080a7c7870 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Backport-of: 7d0a937446
2024-01-18 04:18:23 +07:00
Christoph Langer
eb530b199d 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Backport-of: 064a21d6d7
2024-01-18 04:18:23 +07:00
Ilya Gavrilin
2f61a16abe 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Backport-of: 4726960fcd
2024-01-18 04:18:23 +07:00
Goetz Lindenmaier
ba9e613dd5 8316906: Clarify TLABWasteTargetPercent flag
Backport-of: 77fac0f4c6
2024-01-18 04:18:22 +07:00
Goetz Lindenmaier
05a8507644 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Reviewed-by: lucy
Backport-of: dcea9bf087
2024-01-18 04:18:22 +07:00
Goetz Lindenmaier
acf0e33685 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Backport-of: 8b4af46be4
2024-01-18 04:18:22 +07:00
Goetz Lindenmaier
68dc583fa1 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Backport-of: 84184f9473
2024-01-18 04:18:22 +07:00
Goetz Lindenmaier
d7fa10f27e 8308116: jdk.test.lib.compiler.InMemoryJavaCompiler.compile does not close files
Reviewed-by: lucy
Backport-of: e9320f31dc
2024-01-18 04:18:21 +07:00
Goetz Lindenmaier
8aea0088d5 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: lucy
Backport-of: 824a5e4c60
2024-01-18 04:18:21 +07:00
Goetz Lindenmaier
2907df4b90 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Backport-of: f835aaafc7
2024-01-18 04:18:21 +07:00
Goetz Lindenmaier
9aaad3128f 8294881: test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003/TestDescription.java fails
Backport-of: 216c6f6340
2024-01-18 04:18:20 +07:00
Goetz Lindenmaier
63676fda8a 8287596: Reorg jdk.test.lib.util.ForceGC
Reviewed-by: lucy
Backport-of: 82a8bd7e92
2024-01-18 04:18:20 +07:00
Goetz Lindenmaier
cdea6017f0 8273921: Refactor NSK/JDI tests to create thread using factory
Backport-of: a72c8aa6ad
2024-01-18 04:18:20 +07:00
Olga Mikhaltsova
e607132564 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Reviewed-by: vkempik
Backport-of: 6b94289386
2024-01-18 04:18:19 +07:00
Goetz Lindenmaier
b416ccf40f 8287671: Adjust ForceGC to invoke System::gc fewer times for negative case
8287867: Bad merge of jdk/test/lib/util/ForceGC.java causing test compilation error

Backport-of: 2e332c2760
2024-01-18 04:18:19 +07:00
Goetz Lindenmaier
4302b2bbc0 8266593: vmTestbase/nsk/jvmti/PopFrame/popframe011 fails with "assert(java_thread == _state->get_thread()) failed: Must be"
Backport-of: 32839ba012
2024-01-18 04:18:19 +07:00
Jenny Shivayogi
f45661f900 8272998: ImageIO.read() throws incorrect exception type
Backport-of: 6ad6b1c454
2024-01-18 04:18:19 +07:00
Mat Carter
0bab361fde 8303607: SunMSCAPI provider leaks memory and keys
Backport-of: c51d40cfeb
2024-01-18 04:18:19 +07:00
Soumadipta Roy
6c26b12173 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: phh
Backport-of: 4415261688
2024-01-18 04:18:18 +07:00
Goetz Lindenmaier
675a769054 8311585: Add JRadioButtonMenuItem to bug8031573.java
Backport-of: 4f90abaf17
2024-01-18 04:18:18 +07:00
Goetz Lindenmaier
7143f25dd1 8308223: failure handler missed jcmd.vm.info command
Backport-of: 563152f32d
2024-01-18 04:18:18 +07:00
Goetz Lindenmaier
5ca933d3ff 8290909: MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN"
Backport-of: 3601e30df7
2024-01-18 04:18:18 +07:00
Goetz Lindenmaier
9e73976342 8298868: Update EngineCloseOnAlert.java for changes to TLS implementation
Backport-of: 7fd440d97c
2024-01-18 04:18:17 +07:00
Olga Mikhaltsova
e3c06858a1 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled
Reviewed-by: vkempik
Backport-of: 3709344166
2024-01-18 04:18:17 +07:00
Goetz Lindenmaier
d6a9cd82a9 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Backport-of: 8c9d091f19
2024-01-18 04:18:17 +07:00
Goetz Lindenmaier
5ea364c2e9 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2024-01-18 04:18:17 +07:00
Goetz Lindenmaier
5f3eee4fa9 8309104: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal
Backport-of: 11fb5b2209
2024-01-18 04:18:16 +07:00
Goetz Lindenmaier
1011efbd8b 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Backport-of: a5343fa605
2024-01-18 04:18:16 +07:00
Goetz Lindenmaier
182865de79 8258951: java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"
Backport-of: db9834ff82
2024-01-18 04:18:16 +07:00
Goetz Lindenmaier
a9b31fcd4f 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Backport-of: ba1a46392f
2024-01-18 04:18:16 +07:00
Goetz Lindenmaier
cc66eeeb8e 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Backport-of: 01e135c910
2024-01-18 04:18:15 +07:00
Goetz Lindenmaier
96cda7a0cb 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Backport-of: c6ab9c2905
2024-01-18 04:18:15 +07:00
Goetz Lindenmaier
02f88265fa 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Backport-of: 73d7aa1d2c
2024-01-18 04:18:15 +07:00
Goetz Lindenmaier
47c42732a7 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Backport-of: 682359cb48
2024-01-18 04:18:15 +07:00
Goetz Lindenmaier
c4c70508f6 8307403: java/util/zip/DeInflate.java timed out
Backport-of: d22bcc813e
2024-01-18 04:18:14 +07:00
Goetz Lindenmaier
216e93c9ba 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Backport-of: 35e75c131d
2024-01-18 04:18:14 +07:00
Goetz Lindenmaier
8358eaa1d9 8305505: NPE in javazic compiler
Backport-of: 544bd260b6
2024-01-18 04:18:14 +07:00
Goetz Lindenmaier
7d70af072f 8298298: NMT: count deltas are printed with 32-bit signed size
Reviewed-by: lucy, stuefe
Backport-of: f729f5b6d0
2024-01-18 04:18:14 +07:00
Goetz Lindenmaier
e644bcb630 8301377: adjust timeout for JLI GetObjectSizeIntrinsicsTest.java subtest again
8302607: increase timeout for ContinuousCallSiteTargetChange.java
8305502: adjust timeouts in three more M&M tests

Backport-of: 4b23bef51d
2024-01-18 04:18:13 +07:00
Goetz Lindenmaier
cbd98f723c 8298872: Update CheckStatus.java for changes to TLS implementation
Backport-of: e7247b10cc
2024-01-18 04:18:13 +07:00
Goetz Lindenmaier
4dfd5dfe1b 8298874: Update TestAllSuites.java for TLS v1.2 and 1.3
Backport-of: 3361a26df4
2024-01-18 04:18:13 +07:00
Christoph Langer
9c6b6699cb 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Backport-of: f4550497ea
2024-01-18 04:18:13 +07:00
Soumadipta Roy
29043ceaa9 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Backport-of: eb1f67b160
2024-01-18 04:18:12 +07:00
Goetz Lindenmaier
345bc829c0 8297958: NMT: Display peak values
Backport-of: 336d230a39
2024-01-18 04:18:12 +07:00
Goetz Lindenmaier
a30ae24192 8292072: NMT: repurpose Tracking overhead counter as global malloc counter
Reviewed-by: lucy
Backport-of: 1c1c4410b2
2024-01-18 04:18:12 +07:00
Goetz Lindenmaier
d1da4df30d 8281015: Further simplify NMT backend
Reviewed-by: lucy
Backport-of: b96b743727
2024-01-18 04:18:12 +07:00
Soumadipta Roy
9c6a5bed32 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502
2024-01-18 04:18:11 +07:00
Aleksey Shipilev
be28150eeb 8316514: Better diagnostic header for VtableStub
Backport-of: 6c61bc1950
2024-01-18 04:18:11 +07:00
Fei Yang
c16e801fa5 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Backport-of: 750da00129
2024-01-18 04:18:11 +07:00
Goetz Lindenmaier
16d3c78656 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest
8297367: disable TestRedirectLinks.java in slowdebug mode

Backport-of: 6e5470525d
2024-01-18 04:18:11 +07:00
Goetz Lindenmaier
b4e509ea88 8299748: java/util/zip/Deinflate.java failing on s390x
Backport-of: fee02f0668
2024-01-18 04:18:10 +07:00
Goetz Lindenmaier
19304ffa8d 8298869: Update ConnectionTest.java for changes to TLS implementation
Backport-of: d6007a356f
2024-01-18 04:18:10 +07:00
Goetz Lindenmaier
ff96793208 8298873: Update IllegalRecordVersion.java for changes to TLS implementation
8301189: validate-source fails after JDK-8298873

Backport-of: fc26d3e577
2024-01-18 04:18:10 +07:00
Goetz Lindenmaier
30fbe4a8a3 8198668: MemoryPoolMBean/isUsageThresholdExceeded/isexceeded001/TestDescription.java still failing
Backport-of: d1249aa5cb
2024-01-18 04:18:10 +07:00
Goetz Lindenmaier
70a3541280 8271887: mark hotspot runtime/CDSCompressedKPtrs tests which ignore external VM flags
Backport-of: a3b0143970
2024-01-18 04:18:09 +07:00
Goetz Lindenmaier
30cd5a43cc 8271828: mark hotspot runtime/classFileParserBug tests which ignore external VM flags
Backport-of: e49b7d958c
2024-01-18 04:18:09 +07:00
Goetz Lindenmaier
8dc55a13df 8271829: mark hotspot runtime/Throwable tests which ignore external VM flags
Backport-of: 659498a07f
2024-01-18 04:18:09 +07:00
Goetz Lindenmaier
7b3211b6b5 8296437: NMT incurs costs if disabled
Backport-of: 9f8b6d2aa6
2024-01-18 04:18:09 +07:00
Andrew John Hughes
69d8c519f2 8308592: Framework for CA interoperability testing
Backport-of: da57d2a1eb
2024-01-18 04:18:08 +07:00
Goetz Lindenmaier
77899799a3 8298867: Basics.java fails with SSL handshake exception
Backport-of: 06f9374e0c
2024-01-18 04:18:08 +07:00
Goetz Lindenmaier
3a666bf8a1 8293156: Dcmd VM.classloaders fails to print the full hierarchy
Backport-of: c6be2cd347
2024-01-18 04:18:08 +07:00
Goetz Lindenmaier
7493a5e0cf 8283670: gtest os.release_multi_mappings_vm is still racy
Backport-of: 2e9fd56524
2024-01-18 04:18:08 +07:00
Matthias Baesken
87283d927f 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Backport-of: 8107eab3c0
2024-01-18 04:18:07 +07:00
Johannes Bechberger
88c74601a5 8307732: build-test-lib is broken
8274345: make build-test-lib is broken
8303922: build-test-lib target is broken

Reviewed-by: shade
Backport-of: 0da48f19cb
2024-01-18 04:18:07 +07:00
Ralf Schmelter
e5827b21c3 8289745: JfrStructCopyFailed uses heap words instead of bytes for object sizes
Backport-of: 7f0e9bd632
2024-01-18 04:18:07 +07:00
Aleksey Shipilev
e4b17784a1 8276054: JMH benchmarks for Fences
Backport-of: 5a768f75c9
2024-01-18 04:18:07 +07:00
Aleksey Shipilev
025b2de8aa 8300997: Add curl support to createJMHBundle.sh
Backport-of: 61775c85b0
2024-01-18 04:18:07 +07:00
Ilya Gavrilin
cd666bea6e 8313322: RISC-V: implement MD5 intrinsic
Reviewed-by: fyang
Backport-of: b093880acd
2024-01-18 04:18:06 +07:00
Andrew Lu
a899c9aeab 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Backport-of: 87a6acbeee
2024-01-18 04:18:06 +07:00
Goetz Lindenmaier
0ce7612aa3 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-18 04:18:06 +07:00
Goetz Lindenmaier
7a773dd690 8304174: Remove delays from httpserver tests
Backport-of: 450567031e
2024-01-18 04:18:06 +07:00
Goetz Lindenmaier
34a258b680 8298735: Some tools/jpackage/windows/* tests fails with jtreg test timeout
Backport-of: 3c99e786ab
2024-01-18 04:18:05 +07:00
Goetz Lindenmaier
72bab2382d 8249826: 5 javax/net/ssl/SSLEngine tests use @ignore w/o bug-id
Backport-of: bf9a8ce0bb
2024-01-18 04:18:05 +07:00
Goetz Lindenmaier
20576a3b5f 8297798: Timeout with DTLSOverDatagram test template
Backport-of: 4b313b51b1
2024-01-18 04:18:05 +07:00
Goetz Lindenmaier
48c16d2aa5 8292261: adjust timeouts in JLI GetObjectSizeIntrinsicsTest.java
Backport-of: 8a0c3e53d5
2024-01-18 04:18:05 +07:00
Goetz Lindenmaier
f671447bff 8288961: jpackage: test MSI installation fix
Backport-of: c67149be4b
2024-01-18 04:18:04 +07:00
Goetz Lindenmaier
20dc83057b 8286475: Drop --enable-preview from instanceof pattern matching related tests
Backport-of: 8c977050aa
2024-01-18 04:18:04 +07:00
Goetz Lindenmaier
9ff9c92395 8286473: Drop --enable-preview from Record related tests
Backport-of: 73c5e993e1
2024-01-18 04:18:04 +07:00
Goetz Lindenmaier
36de11e9a4 8282011: test/jdk/tools/jpackage/windows/WinL10nTest.java test fails if light.exe is not in %PATH%
Backport-of: 0b00ce17cd
2024-01-18 04:18:04 +07:00
Goetz Lindenmaier
e2595fc67e 8281874: Can't unpack msi installers from test/jdk/tools/jpackage/windows/test/jdk/tools/jpackage/windows/WinShortcutPromptTest.java test
Backport-of: 81645521c8
2024-01-18 04:18:03 +07:00
Goetz Lindenmaier
4e3beeea16 8275440: Remove VirtualSpaceList::is_full()
Backport-of: c9e65f8ef9
2024-01-18 04:18:03 +07:00
Goetz Lindenmaier
dd74e5d361 8274211: Test man page that options are documented
Backport-of: 734d1fbd33
2024-01-18 04:18:03 +07:00
Goetz Lindenmaier
9e8a07ea48 8272291: mark hotspot runtime/logging tests which ignore external VM flags
Backport-of: 05d64da7f3
2024-01-18 04:18:03 +07:00
Goetz Lindenmaier
a2bd0702cb 8272552: mark hotspot runtime/cds tests which ignore external VM flags
Backport-of: 989f39f810
2024-01-18 04:18:02 +07:00
Matthias Baesken
ad82733d2d 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Backport-of: acf28f4cd9
2024-01-18 04:18:02 +07:00
Soumadipta Roy
aabc0ee26e 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
2024-01-18 04:18:02 +07:00
Goetz Lindenmaier
cd4a92beee 8271892: mark hotspot runtime/PrintStringTableStats/PrintStringTableStatsTest.java test as ignoring external VM flags
Backport-of: 9654fd73cd
2024-01-18 04:18:02 +07:00
Goetz Lindenmaier
a8c820c486 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped"
Backport-of: 256b52387b
2024-01-18 04:18:01 +07:00
Goetz Lindenmaier
c3b9b296eb 8289584: (fs) Print size values in java/nio/file/FileStore/Basic.java when they differ by > 1GiB
Backport-of: e291a67e96
2024-01-18 04:18:01 +07:00
Goetz Lindenmaier
508cf441d3 8286969: Add a new test library API to execute kinit in SecurityTools.java
Backport-of: dbda0e2bda
2024-01-18 04:18:01 +07:00
Goetz Lindenmaier
84c04b12fd 8285867: Convert applet manual tests SelectionVisible.java to Frame and automate
Backport-of: 44a60ce172
2024-01-18 04:18:01 +07:00
Goetz Lindenmaier
d1c470f447 8286474: Drop --enable-preview from Sealed Classes related tests
Backport-of: d547a707bf
2024-01-18 04:18:00 +07:00
Goetz Lindenmaier
c4534c3525 8202790: DnD test DisposeFrameOnDragTest.java does not clean up
Backport-of: 102a305f73
2024-01-18 04:18:00 +07:00
Goetz Lindenmaier
2f41285420 8271073: Improve testing with VM option VerifyArchivedFields
Reviewed-by: lucy
Backport-of: b98290444a
2024-01-18 04:18:00 +07:00
Goetz Lindenmaier
a8ed22a0cf 8272551: mark hotspot runtime/modules tests which ignore external VM flags
Backport-of: fe72197102
2024-01-18 04:18:00 +07:00
Goetz Lindenmaier
439e5acfd0 8272099: mark hotspot runtime/Monitor tests which ignore external VM flags
Backport-of: c495ede2c2
2024-01-18 04:17:59 +07:00
Goetz Lindenmaier
1df3ca46a1 8271904: mark hotspot runtime/ClassFile tests which ignore external VM flags
Backport-of: e882087f7a
2024-01-18 04:17:59 +07:00
Goetz Lindenmaier
15a54a9704 8271905: mark hotspot runtime/Metaspace tests which ignore external VM flags
Backport-of: 3ab95d1917
2024-01-18 04:17:59 +07:00
Goetz Lindenmaier
afc3af0030 8271893: mark hotspot runtime/PerfMemDestroy/PerfMemDestroy.java test as ignoring external VM flags
Backport-of: 359c7084a1
2024-01-18 04:17:59 +07:00
Masanori Yano
33327afe2c 8293579: tools/jpackage/share/jdk/jpackage/tests/UnicodeArgsTest.java fails on Japanese Windows platform
Backport-of: 121d4a5119
2024-01-18 04:17:58 +07:00
Elif Aslan
c54229b748 8276036: The value of full_count in the message of insufficient codecache is wrong
Backport-of: 61cb4bc6b0
2024-01-18 04:17:58 +07:00
Aleksey Shipilev
3791eb5d3f 8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4b
2024-01-18 04:17:58 +07:00
Aleksey Shipilev
502616179b 8314045: ArithmeticException in GaloisCounterMode
Backport-of: f41c267f85
2024-01-18 04:17:57 +07:00
Goetz Lindenmaier
191e7c5276 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
8315696: SignedLoggerFinderTest.java test failed
8316087: Test SignedLoggerFinderTest.java is still failing

Reviewed-by: lucy
Backport-of: 7daae1fb42
2024-01-18 04:17:57 +07:00
Goetz Lindenmaier
ee9f0d3d85 8292636: (dc) Problem listing of java/nio/channels/DatagramChannel/Unref.java has incorrect issue ID
Backport-of: 5ca268ca65
2024-01-18 04:17:57 +07:00
Goetz Lindenmaier
d41d4e379b 8193543: Regression automated test '/open/test/jdk/java/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java' fails
Backport-of: 08024d9583
2024-01-18 04:17:57 +07:00
Goetz Lindenmaier
b49e7a20cc 8271891: mark hotspot runtime/Safepoint tests which ignore external VM flags
Backport-of: 6c17e6deb2
2024-01-18 04:17:56 +07:00
Goetz Lindenmaier
4b1b24372a 8271890: mark hotspot runtime/Dictionary tests which ignore external VM flags
Backport-of: cdf3d55c82
2024-01-18 04:17:56 +07:00
Goetz Lindenmaier
f0e292351a 8271824: mark hotspot runtime/CompressedOops tests which ignore external VM flags
Backport-of: 9e769090a0
2024-01-18 04:17:56 +07:00
Goetz Lindenmaier
e72dfb7320 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Backport-of: f2383b3cbd
2024-01-18 04:17:56 +07:00
Goetz Lindenmaier
e42aab53cd 8288325: [windows] Actual and Preferred Size of AWT Non-resizable frame are different
Backport-of: eca9749da0
2024-01-18 04:17:55 +07:00
Goetz Lindenmaier
f895223d70 8273522: Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap
Reviewed-by: lucy
Backport-of: 922e86f4ff
2024-01-18 04:17:55 +07:00
Elif Aslan
93f86ba494 8311514: Incorrect regex in TestMetaSpaceLog.java
Backport-of: 9084b6c9d5
2024-01-18 04:17:55 +07:00
Chad Rakoczy
feede25916 8311813: C1: Uninitialized PhiResolver::_loop field
Backport-of: 489a32fe40
2024-01-18 04:17:55 +07:00
Aleksey Shipilev
29e64c7a70 8315863: [GHA] Update checkout action to use v4
Backport-of: b74805d383
2024-01-18 04:17:54 +07:00
Sergey Chernyshev
fcc0ace7c0 8168469: Memory leak in JceSecurity
Backport-of: a284920b34
2024-01-18 04:17:54 +07:00
Goetz Lindenmaier
1f97ee1928 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Reviewed-by: phh
Backport-of: 38a9edfb7e
2024-01-18 04:17:54 +07:00
Goetz Lindenmaier
f5f2c756b5 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Backport-of: e56d3bc2da
2024-01-18 04:17:54 +07:00
Goetz Lindenmaier
15745e7d1e 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Reviewed-by: phh
Backport-of: a63afa4aa6
2024-01-18 04:17:53 +07:00
Goetz Lindenmaier
889b5e16d4 8265586: [windows] last button is not shown in AWT Frame with BorderLayout and MenuBar set.
8288993: Make AwtFramePackTest generic by removing @requires tag

Backport-of: bbaeacb597
2024-01-18 04:17:53 +07:00
Goetz Lindenmaier
211e614bd1 8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"

Backport-of: 0f3d3ac32c
2024-01-18 04:17:53 +07:00
Goetz Lindenmaier
7212ed80ed 8270447: [IR Framework] Add missing compilation level restriction when using FlipC1C2 stress option
Backport-of: 36aefa351a
2024-01-18 04:17:53 +07:00
Goetz Lindenmaier
01d691f5f6 8247351: [aarch64] NullPointerException during stack walking (clhsdb "where -a")
Backport-of: 357fe09f2e
2024-01-18 04:17:52 +07:00
Long Yang
bb24505f51 8312065: Socket.connect does not timeout when profiling
Reviewed-by: phh, vtewari, apangin
2024-01-18 04:17:52 +07:00
Goetz Lindenmaier
0257422324 8312909: C1 should not inline through interface calls with non-subtype receiver
Reviewed-by: phh
Backport-of: ab1c212ac1
2024-01-18 04:17:52 +07:00
Goetz Lindenmaier
0494e2b1df 8312573: Failure during CompileOnly parsing leads to ShouldNotReachHere
Reviewed-by: phh
Backport-of: 6f76b65ace
2024-01-18 04:17:52 +07:00
Goetz Lindenmaier
229d82eb2d 8304954: SegmentedCodeCache fails when using large pages
Reviewed-by: phh
Backport-of: cad6114e1c
2024-01-18 04:17:51 +07:00
Goetz Lindenmaier
940f27bbf3 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Backport-of: e554fdee25
2024-01-18 04:17:51 +07:00
Goetz Lindenmaier
b6b9e1f4da 8301065: Handle control characters in java_lang_String::print
Backport-of: 41d6be4d80
2024-01-18 04:17:51 +07:00
Goetz Lindenmaier
2f0426b4b5 8299255: Unexpected round errors in FreetypeFontScaler
Backport-of: 26868c1ac4
2024-01-18 04:17:51 +07:00
Goetz Lindenmaier
5b7618ff6b 8232933: Javac inferred type does not conform to equality constraint
Reviewed-by: vromero
Backport-of: 7a85441a85
2024-01-18 04:17:50 +07:00
Ao Qi
77f42b77ee 8315020: The macro definition for LoongArch64 zero build is not accurate.
Reviewed-by: fyang
Backport-of: 725ec0ce1b
2024-01-18 04:17:50 +07:00
Christoph Langer
cdd6e68234 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Backport-of: 69c9ec92d0
2024-01-18 04:17:50 +07:00
Matthias Baesken
341028f68b 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Backport-of: 9887cd8adc
2024-01-18 04:17:50 +07:00
Goetz Lindenmaier
836e276e40 8301701: java/net/DatagramSocket/DatagramSocketMulticasting.java should be hardened
Reviewed-by: phh
Backport-of: 5feb13b55d
2024-01-18 04:17:49 +07:00
Chad Rakoczy
9ec30b5cd1 8285516: clearPassword should be called in a finally try block
Backport-of: 36e4df9d66
2024-01-18 04:17:49 +07:00
Evgeny Astigeevich
46ecfe9ff4 8276711: compiler/codecache/cli tests failing when SegmentedCodeCache used with -Xint
Backport-of: 7822cbce10
2024-01-18 04:17:49 +07:00
Christoph Langer
aeaeac42c0 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Backport-of: 117f42dbe9
2024-01-18 04:17:49 +07:00
airsquared
052a4b29f4 8309032: jpackage does not work for module projects unless --module-path is specified
Backport-of: dfe764e3f8
2024-01-18 04:17:49 +07:00
Aleksey Shipilev
eb094630bc 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: phh
Backport-of: ab12c5d32f
2024-01-18 04:17:48 +07:00
Aleksey Shipilev
72c3b5173f 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Backport-of: 61932f49a5
2024-01-18 04:17:48 +07:00
Aleksey Shipilev
7409b8bdaf 8271886: mark hotspot runtime/InvocationTests tests which ignore external VM flags
Backport-of: ff7431eafe
2024-01-18 04:17:48 +07:00
Roman Marchenko
b45f7ed360 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Backport-of: ed1ea5fe7c
2024-01-18 04:17:47 +07:00
Paul Hohensee
4608318a57 8299677: Formatter.format might take a long time to format an integer or floating-point
Reviewed-by: mdoerr
Backport-of: 33412c102c
2024-01-18 04:17:47 +07:00
Aleksey Shipilev
0260e5c949 8314495: Update to use jtreg 7.3.1
Reviewed-by: mdoerr, clanger
Backport-of: c50315de8f
2024-01-18 04:17:47 +07:00
Christoph Langer
c826c2aea9 8207166: jdk/jshell/JdiHangingLaunchExecutionControlTest.java - launch timeout
Backport-of: 02dce24b59
2024-01-18 04:17:47 +07:00
Andrew John Hughes
55e9a90632 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Backport-of: e47a84f23d
2024-01-18 04:17:47 +07:00
Thomas Stuefe
db6b4e1405 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Backport-of: 7332502883
2024-01-18 04:17:46 +07:00
Aleksey Shipilev
2df09ec159 8313626: C2 crash due to unexpected exception control flow
Backport-of: f8203cb272
2024-01-18 04:17:46 +07:00
Aleksey Shipilev
00cead832e 8286430: make test TEST="gtest:<sometag>" exits with error when it shouldn't
Backport-of: 63a1ec6e7c
2024-01-18 04:17:46 +07:00
Thomas Stuefe
99750ae231 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Backport-of: 226cdc696d
2024-01-18 04:17:46 +07:00
Thomas Stuefe
d073aa25ba 8312620: WSL Linux build crashes after JDK-8310233
Backport-of: 25058cd23a
2024-01-18 04:17:45 +07:00
Sergey Bylokhov
95777b6217 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Backport-of: 87298d2ade
2024-01-18 04:17:45 +07:00
Thomas Stuefe
998b8f7265 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Backport-of: 84b325b844
2024-01-18 04:17:45 +07:00
Thomas Stuefe
0d6be5703e 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Backport-of: 94eb44b192
2024-01-18 04:17:45 +07:00
Aleksey Shipilev
dc85e43445 8295229: Try to verify gtest version
Backport-of: cd1357b0af
2024-01-18 04:17:44 +07:00
Thomas Stuefe
55af258cce 8310233: Fix THP detection on Linux
Reviewed-by: phh
Backport-of: 37ca9024ef
2024-01-18 04:17:44 +07:00
Aleksey Shipilev
c84deb160b 8292717: Clean up checking of testing requirements in configure
Reviewed-by: clanger
Backport-of: 16593cf51c
2024-01-18 04:17:44 +07:00
Goetz Lindenmaier
c50bb348d9 8312974: Bump update version for OpenJDK: jdk-17.0.10
Reviewed-by: shade
2024-01-18 04:17:29 +07:00
Vitaly Provodin
ae229c71dc update exclude list on results of 17.0.9_b1166.2 test runs 2024-01-17 10:26:05 +07:00
Dmitry Batrak
f0d5a907ac JBR-6449 Introduce FontMetricsAccessor into JBR API
JBRE-MR-368
2024-01-16 13:17:23 +02:00
Nikita Gubarkov
b0a73e2a33 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:45 +01:00
Dmitrii Morskii
358c3d9baa JBR-3098 move repaintPeer event from AppKit thread to EDT on macos 2024-01-12 17:29:50 +01:00
bourgesl
2fd95d7128 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 16:21:16 +01:00
bourgesl
afbe939af6 fixup! JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit acca2a46cb)
2024-01-12 16:20:56 +01:00
bourgesl
a398bc0185 JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit 82c930da5f)
2024-01-12 16:20:50 +01:00
Nikita Gubarkov
d4a3e05d36 JBR-6264 Improved coordinate conversion in XWayland mode 2024-01-12 14:07:32 +01:00
Alexander Lobas
4b5c1f574b fixup! JBR-5174 Opening project as tabs in Mac OS (version2) 2024-01-12 15:55:20 +07:00
Vitaly Provodin
bdbe119934 update exclude list on results of 17.0.9_b1162.4 test runs 2024-01-12 10:50:08 +07:00
Dmitry Batrak
50933cd23e JBR-2651 jb/java/awt/Focus/PopupIncomingFocusTest.java intermittently fails by java.util.concurrent.TimeoutException
further attempt to stabilize test
2024-01-05 12:04:30 +02:00
Vitaly Provodin
45025a5027 update exclude list on results of 17.0.9_b1160.1 test runs 2024-01-03 05:05:40 +07:00
Vitaly Provodin
5305726ece update exclude list on results of 17.0.9_b1143.1 test runs 2023-12-28 18:10:18 +07:00
Artem Bochkarev
05a8ff9117 fixup! JBR-5405: implementation of direct raster loading for VolatileImage 2023-12-28 10:16:27 +04:00
Vitaly Provodin
57c6cbe325 JBR-6454 add synchronization at disposing windows 2023-12-27 19:49:31 +07:00
Artem Bochkarev
c5ba5ff4c8 fixup! JBR-5405: implementation of direct raster loading for VolatileImage 2023-12-26 17:56:11 +04:00
Artem Bochkarev
95ada30c3f JBR-5405: implementation of direct raster loading for VolatileImage 2023-12-26 14:14:37 +04:00
bourgesl
49b53da483 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 + RenderPerf 23.12: remove older RenderPerfTest in src 2023-12-22 16:32:29 +01:00
Dmitrii Morskii
84c635c405 Revert "JBR-6346 update Inter font version"
This reverts commit 8238bbcd4c.
2023-12-21 19:32:13 +00:00
Maxim Kartashev
2be22e8578 JBR-6370 IDEA hanged while browsing exceptions in EA
Avoid using the second lock in addition to AWT_LOCK
2023-12-20 18:17:44 +04:00
Maxim Kartashev
74b52f068b 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:55:03 +04:00
Dmitry Batrak
98b3ac5221 JBR-6436 crash in jb/java/awt/Focus/FullScreenFocusStealing.java and jb/java/awt/Window/FullScreenTwoFrames.java 2023-12-19 14:39:40 +02:00
Alexey Ushakov
5c7ffa6578 JBR-6433 Rounded corners of popups disappear after a while
Removed opacity from CAMetalLayer for layers with rounded corners
2023-12-18 17:22:22 +01:00
Dmitry Batrak
abfc3e2e79 JBR-2651 jb/java/awt/Focus/PopupIncomingFocusTest.java intermittently fails by java.util.concurrent.TimeoutException 2023-12-15 15:15:05 +02:00
Vitaly Provodin
2127a64497 update exclude list on results of 17.0.9_b1128.2 test runs 2023-12-15 07:23:02 +04:00
Dmitrii Morskii
8238bbcd4c JBR-6346 update Inter font version 2023-12-14 17:28:24 +01:00
Nikita Provotorov
0afe6c37bb 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.
2023-12-14 14:07:10 +01:00
Alexander Lobas
ab95964027 Merge pull request #260 from alexander-lobas/jbr17
JBR-6418 New macOS full-screen controls appear shifted down sometimes
2023-12-12 16:32:13 +03:00
Alexander Lobas
15ff5a8489 JBR-6418 New macOS full-screen controls appear shifted down sometimes 2023-12-12 16:30:37 +03:00
Nikita Tsarev
0262d7e646 JBR-6215: Override XToolkit's default nonintuitive behavior when translating F13-F24 keys 2023-12-09 18:40:16 +01:00
Sergey Shelomentsev
773ceb5f73 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 18:23:28 +02:00
Maxim Kartashev
02a5148e02 JBR-6395 Incorrect warning from cds about the modules file 2023-12-06 13:16:05 +04:00
Vitaly Provodin
86a7c75cc2 update exclude list on results of 17.0.9_b1124.1 test runs 2023-12-06 11:34:00 +07:00
Nikita Provotorov
c57030a2ef JBR-6381: A lot of messages "xInputMethodConnection == NULL" in stderr.
Disables on of the printfs that causes the issue.
2023-12-02 00:35:06 +01:00
Nikita Provotorov
6aebe7dd66 Update README.md.
Adds information about 2023.2 and 2023.3 releases.
2023-12-01 22:03:27 +01:00
Vitaly Provodin
78265ab6a4 update exclude list on results of 17.0.9_b1122.1 test runs 2023-11-28 20:38:47 +07:00
Nikita Provotorov
fe849d2ea0 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:10:17 +01:00
Nikita Tsarev
d8ae52aeb0 JBR-6331: Fix some memory safety issues in macOS keyboards 2023-11-27 12:46:38 +01:00
Nikita Provotorov
ca5562225a 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)
2023-11-24 20:56:03 +01:00
Dmitry Batrak
9e65e2391a JBR-5751 java/awt/Focus/RowToleranceTransitivityTest.java: Focus got stuck while traversing. 2023-11-24 18:01:15 +02:00
Vitaly Provodin
133a99192a JBR-6246 add default CDS archives into jbrsdk distributions and remove the step normalizing timestamp 2023-11-24 18:44:35 +07:00
Vitaly Provodin
b00a6465bb JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64 2023-11-24 18:44:10 +07:00
Vitaly Provodin
cc03cf1117 update exclude list on results of 17.0.9_b1109.1 test runs 2023-11-23 07:04:41 +07:00
Alexander Lobas
c13eb3036f Merge pull request #258 from alexander-lobas/jbr17
JBR-6327 macOS full screen controls are shifted down after exitting d…
2023-11-21 17:20:08 +03:00
Alexander Lobas
4dd5ea93bb JBR-6327 macOS full screen controls are shifted down after exitting distraction free mode 2023-11-21 17:18:25 +03:00
Dmitry Drobotov
0dfbf34b37 JBR-4479 Add text caret tracking for macOS Accessibility Zoom 2023-11-21 13:31:49 +01:00
Dmitry Drobotov
8982db51d7 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.
2023-11-21 13:29:05 +01:00
Vitaly Provodin
9a5348efce update exclude list on results of 17.0.9_b1109.1 test runs 2023-11-16 05:19:54 +07:00
Vitaly Provodin
8617cb5c67 update exclude list on results of 17.0.9_b1106.1 test runs 2023-11-15 09:44:57 +07:00
Nikita Gubarkov
1d5bc2152d 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:58 +01:00
Maxim Kartashev
d2f126115a 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:30:58 +04:00
Nikita Provotorov
3169523d80 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 03:19:25 +01:00
Nikita Provotorov
c48f588cb5 fixup! JBR-5980: Pasting from clipboard not working reliably in Windows.
Adds memory barriers around the native flag AwtClipboard::isGettingOwnership.
2023-11-11 03:17:21 +01:00
Nikita Provotorov
3fe2a97aa0 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).
2023-11-09 21:25:44 +01:00
Nikita Provotorov
826f75ee48 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.
2023-11-09 21:25:43 +01:00
Maxim Kartashev
c452e2f5ad JBR-6220 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java became failing by time out on Linux 2023-11-07 13:28:47 +04:00
Nikita Provotorov
473c41003d 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) .
2023-11-06 13:00:23 +01:00
Nikita Provotorov
b967f5bc91 JBR-5980: Pasting from clipboard not working reliably in Windows.
Marks the native flag AwtClipboard::isGettingOwnership as volatile to avoid inconsistencies of CPU caches.
2023-11-06 13:00:10 +01:00
Vladimir Kharitonov
af3326b1b8 JBR-6239 sign frameworks in cef_server.app 2023-10-31 15:52:15 +01:00
Vitaly Provodin
d56e00e293 update exclude list on results of 17.0.9_b1087.3 test runs 2023-10-26 16:04:02 +07:00
Vitaly Provodin
9deb12dbc1 fixup! JBR-6181 add Linux executables with bundled FreeType 2023-10-25 09:48:26 +07:00
Christoph Langer
61e94d9aa7 8317643: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.9
Reviewed-by: goetz
2023-10-22 06:29:05 +07:00
Goetz Lindenmaier
21bae46b74 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Backport-of: cfabcbf858
2023-10-22 06:28:42 +07:00
Yuri Nesterenko
e9d6e1150b 8317040: Exclude cleaner test failing on older releases
Reviewed-by: mbalao, andrew, clanger
2023-10-22 06:28:42 +07:00
Yuri Nesterenko
f1a34f4390 8286503: Enhance security classes
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-10-22 06:28:42 +07:00
Yuri Nesterenko
1748b24292 8284910: Buffer clean in PasswordCallback
Reviewed-by: mbalao
Backport-of: 89fd6d34f8
2023-10-22 06:28:42 +07:00
Martin Balao
f092a3c76e 8314649: Enhanced archival support redux
Reviewed-by: andrew
Backport-of: 1e16543a60
2023-10-22 06:28:41 +07:00
Martin Balao
656f7a2fa8 8312248: Enhanced archival support redux
Reviewed-by: andrew
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-10-22 06:28:41 +07:00
Alexey Bakhtin
ebfacdd637 8309966: Enhanced TLS connections
Reviewed-by: mbalao
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-10-22 06:28:41 +07:00
Aleksei Voitylov
7b42048439 8297856: Improve handling of Bidi characters
Reviewed-by: mbalao
Backport-of: 244b89fc786894cb8cca742f91875ebb98b603ff
2023-10-22 06:28:41 +07:00
Aleksei Voitylov
a8ad988250 8296581: Better system proxy support
Reviewed-by: mbalao
Backport-of: 111811e64245ae720a0617b7de0c52c60bb2bac1
2023-10-22 06:28:40 +07:00
Goetz Lindenmaier
a2703112f2 8317700: [17u] Undo backport 8317674 of 8316566 which was pushed to wrong repo.
Reviewed-by: rehn, fyang
2023-10-22 06:28:40 +07:00
Robbin Ehn
e4f8d7e13e 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Backport-of: 2d154fcd0d
2023-10-22 06:28:40 +07:00
Goetz Lindenmaier
bbc4ad42d0 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-22 06:28:40 +07:00
Martin Doerr
fcf052df4c 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Backport-of: cf2d33ca2e
2023-10-22 06:28:40 +07:00
Martin Doerr
0a79213fa1 8314960: Add Certigna Root CA - 2
Reviewed-by: mbaesken
Backport-of: e9ba8d5a0e
2023-10-22 06:28:39 +07:00
Aleksey Shipilev
6feda5ca88 8313262: C2: Sinking node may cause required cast to be dropped
Backport-of: 1cee3b9fd9
2023-10-22 06:28:39 +07:00
Aleksey Shipilev
449452f051 8314020: Print instruction blocks in byte units
Reviewed-by: phh
Backport-of: a602624ef4
2023-10-22 06:28:39 +07:00
Oli Gillespie
54f8a715b9 8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: phh, shade
Backport-of: 4b2703ad39
2023-10-22 06:28:39 +07:00
Oli Gillespie
53b3caa58b 8313874: JNI NewWeakGlobalRef throws exception for null arg
Reviewed-by: phh
Backport-of: 028b3ae1b1
2023-10-22 06:28:38 +07:00
Matthias Baesken
4943dc0720 8314517: some tests fail in case ipv6 is disabled on the machine
Reviewed-by: mdoerr
Backport-of: 703817d21f
2023-10-22 06:28:38 +07:00
Andrew John Hughes
f56d537424 8284772: GHA: Use GCC Major Version Dependencies Only
Reviewed-by: shade
Backport-of: 62defc3dfc4b9ba5adfe3189f34fe8b3f59b94a0
2023-10-22 06:28:38 +07:00
Alexander Scherbatiy
1267ca63db 8311033: [macos] PrinterJob does not take into account Sides attribute
Backport-of: a3d67231a7
2023-10-22 06:28:38 +07:00
Alexander Scherbatiy
26f6377c7e 8295737: macOS: Print content cut off when width > height with portrait orientation
Backport-of: d00a767047
2023-10-22 06:28:38 +07:00
Kimura Yukihiro
fb92bdaf15 8313815: The exception messages printed by jcmd ManagementAgent.start are corrupted on Japanese Windows
Reviewed-by: kevinw, cjplummer, phh
2023-10-22 06:28:37 +07:00
Aleksey Shipilev
4679b41038 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Reviewed-by: stuefe
Backport-of: 20e94784c9
2023-10-22 06:28:37 +07:00
Aleksey Shipilev
5922c0aa67 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: mdoerr
Backport-of: ad34be1f32
2023-10-22 06:28:37 +07:00
Aleksey Shipilev
9d30d3d16c 8293114: JVM should trim the native heap
Reviewed-by: stuefe
Backport-of: 9e4fc568a6
2023-10-22 06:28:37 +07:00
Matthias Baesken
fd0610c2ce 8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0
Backport-of: d24b7b7026
2023-10-22 06:28:36 +07:00
Aleksey Shipilev
7900d3e4fe 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Reviewed-by: stuefe
Backport-of: 69d900d2ce
2023-10-22 06:28:36 +07:00
Aleksey Shipilev
bcd3447253 8313701: GHA: RISC-V should use the official repository for bootstrap
Reviewed-by: phh
Backport-of: 538f9557b8
2023-10-22 06:28:36 +07:00
Aleksey Shipilev
4429c3cf44 8283724: Incorrect description for jtreg-failure-handler option
Backport-of: 0901548833
2023-10-22 06:28:36 +07:00
Andrey Turbanov
458ab075d4 8299827: Add resolved IP address in connection exception for sockets
Backport-of: 92d8326e40
2023-10-22 06:28:36 +07:00
Dan Lutker
56a216b3d6 8314552: Fix javadoc tests to work with jtreg 7
Reviewed-by: phh, shade, andrew
2023-10-22 06:28:35 +07:00
Aleksey Shipilev
3343389d77 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Backport-of: 812f475bc4
2023-10-22 06:28:35 +07:00
Aleksey Shipilev
90652ce3bb 8293851: hs_err should print more stack in hex dump
Backport-of: cbd0688b32
2023-10-22 06:28:35 +07:00
Aleksey Shipilev
69df79f5a7 8314658: [17u] GHA: Sync up debian-version for cross-builds
Reviewed-by: phh
2023-10-22 06:28:35 +07:00
Fei Yang
41d05bc30d 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Backport-of: 87e6fab2c4
2023-10-22 06:28:35 +07:00
Feilong Jiang
9b4bffb101 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Backport-of: 5c91622885
2023-10-22 06:28:34 +07:00
Aleksey Shipilev
218e204ea5 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Reviewed-by: phh
Backport-of: 56a73a6f0f
2023-10-22 06:28:34 +07:00
Aleksey Shipilev
2e840ca335 8284273: Early crashes in os::print_context on AArch64
Reviewed-by: stuefe
Backport-of: 83cec4b6cc
2023-10-22 06:28:34 +07:00
Aleksey Shipilev
09e6240c6a 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Backport-of: 4b192a8dc3
2023-10-22 06:28:34 +07:00
Aleksey Shipilev
14d856ae03 8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3e
2023-10-22 06:28:33 +07:00
Aleksey Shipilev
e485d28c23 8314118: Update JMH devkit to 1.37
Backport-of: 06aa3c5628
2023-10-22 06:28:33 +07:00
Dingli Zhang
bf63b4b812 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V
Reviewed-by: fyang
Backport-of: 61bb014a86
2023-10-22 06:28:33 +07:00
Ralf Schmelter
5d058bf401 8293166: jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64
Reviewed-by: mdoerr
Backport-of: 5551cb66ba
2023-10-22 06:28:33 +07:00
Ben Taylor
9935db6805 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Reviewed-by: stuefe
Backport-of: 0e2c72d7a5
2023-10-22 06:28:33 +07:00
Aleksey Shipilev
e89301f8e7 8313402: C1: Incorrect LoadIndexed value numbering
Backport-of: 46fbedb2be
2023-10-22 06:28:32 +07:00
Aleksey Shipilev
7cb3236126 8294941: GHA: Cut down cross-compilation sysroots
Backport-of: a1747ef81a
2023-10-22 06:28:32 +07:00
Aleksey Shipilev
b6933a389f 8294956: GHA: qemu-debootstrap is deprecated, use the regular one
Backport-of: c5f462e83b
2023-10-22 06:28:32 +07:00
Aleksey Shipilev
53c5a43b83 8299330: Minor improvements in MSYS2 Workflow handling
Backport-of: cf00d09c8c
2023-10-22 06:28:32 +07:00
Aleksey Shipilev
cc9979a6c0 8294149: JMH 1.34 and later requires jopt-simple 5.0.4
8277427: Update jib-profiles.js to use JMH 1.33 devkit
8280032: Update jib-profiles.js to use JMH 1.34 devkit

Backport-of: 2283c3244f
2023-10-22 06:28:31 +07:00
Aleksey Shipilev
4704be6dc1 8304353: Add lib-test tier1 testing in GHA
Backport-of: 57276101df
2023-10-22 06:28:31 +07:00
Martin Doerr
cad64b1981 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Backport-of: 4c2e54fb05
2023-10-22 06:28:31 +07:00
Aleksey Shipilev
11f7f14e63 8297350: Update JMH devkit to 1.36
Backport-of: f26bd4e0e8
2023-10-22 06:28:31 +07:00
Aleksey Shipilev
f6aceaabf2 8293107: GHA: Bump to Ubuntu 22.04
8293098: GHA: Harmonize GCC version handling for host and cross builds
8293361: GHA: dump config.log in case of configure failure
8295213: Run GHA manually with user-specified make and configure arguments
8313428: GHA: Bump GCC versions for July 2023 updates
8313707: GHA: Bootstrap sysroots with --variant=minbase

Reviewed-by: clanger
Backport-of: d7536588b3
2023-10-22 06:28:31 +07:00
Martin Doerr
6f16932c91 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Backport-of: c84866ac0d
2023-10-22 06:28:30 +07:00
Martin Doerr
c32aec87d6 8308090: Add container tests for on-the-fly resource quota updates
Backport-of: dc8bc6c98c
2023-10-22 06:28:30 +07:00
Martin Doerr
0729444ffb 8156889: ListKeychainStore.sh fails in some virtualized environments
Backport-of: 82c8b28f40
2023-10-22 06:28:30 +07:00
Martin Doerr
e65449afc3 8308232: nsk/jdb tests don't pass -verbose flag to the debuggee
Backport-of: c6f20db945
2023-10-22 06:28:30 +07:00
Martin Doerr
7f9f729e54 8255548: Missing coverage for javax.xml.crypto.dom.DOMCryptoContext
Backport-of: 76cda9f44a
2023-10-22 06:28:30 +07:00
Martin Doerr
81e1c15a3e 6381945: (cal) Japanese calendar unit test system should avoid multiple static imports
Backport-of: f79b3d42f0
2023-10-22 06:28:29 +07:00
Martin Doerr
7351d1afa5 8307079: Update test java/awt/Choice/DragOffNoSelect.java
Backport-of: 89711f3767
2023-10-22 06:28:29 +07:00
Martin Doerr
1ac6d3006e 8301167: Update VerifySignedJar to actually exercise and test verification
Backport-of: 05ea083b05
2023-10-22 06:28:29 +07:00
Sergey Bylokhov
e778d26422 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
Backport-of: d4a795d75a
2023-10-22 06:28:29 +07:00
Christoph Langer
555c1c3b4f 8302182: Update Public Suffix List to 88467c9
Backport-of: 01b8512911
2023-10-22 06:28:28 +07:00
Martin Doerr
65f79bdeb2 8309095: Remove UTF-8 character from TaskbarPositionTest.java
Backport-of: 07f2070411
2023-10-22 06:28:28 +07:00
Martin Doerr
c6a0181325 8267860: Off-by-one bug when searching arrays in AlpnGreaseTest
Backport-of: 2adef6a1f8
2023-10-22 06:28:28 +07:00
Martin Doerr
8b55a056da 8195589: T6587786.java failed after JDK-8189997
Backport-of: 21b62fef33
2023-10-22 06:28:28 +07:00
Martin Doerr
05fe1d5e78 8289797: tools/launcher/I18NArgTest.java fails on Japanese Windows environment
Backport-of: a11477ce25
2023-10-22 06:28:28 +07:00
Sergey Bylokhov
e8713d23aa 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Backport-of: 8248e351d0
2023-10-22 06:28:27 +07:00
Sonia Zaldana Calles
16ae10eee5 8273803: Zero: Handle "zero" variant in CommandLineOptionTest.java
Backport-of: 2d13fb21af
2023-10-22 06:28:27 +07:00
Aleksey Shipilev
e5a7cc0605 8307766: Linux: Provide the option to override the timer slack
Backport-of: 7173c3009e
2023-10-22 06:28:27 +07:00
Gui Cao
41559c686e 8311923: TestIRMatching.java fails on RISC-V
Reviewed-by: phh, fyang
Backport-of: e7adbdb1f1
2023-10-22 06:28:27 +07:00
Tyler Steele
ccff52f91e 8307603: [AIX] Broken build after JDK-8307301
Backport-of: bb3e44d8b6
2023-10-22 06:28:27 +07:00
Aleksey Shipilev
9d77723693 8309746: Reconfigure check should include make/conf/version-numbers.conf
Reviewed-by: mbaesken
Backport-of: 955fc2faba
2023-10-22 06:28:26 +07:00
Ralf Schmelter
33bceb5b7c 8289917: Metadata for regionsRefilled of G1EvacuationStatistics event is wrong
Backport-of: 728157fa03
2023-10-22 06:28:26 +07:00
Goetz Lindenmaier
e3ff1a429f 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: lucy
Backport-of: 66d2736521
2023-10-22 06:28:26 +07:00
Goetz Lindenmaier
2af5f83dcb 8301367: Add exception handler method to the BaseLdapServer
Backport-of: 03b23a1e1b
2023-10-22 06:28:26 +07:00
Goetz Lindenmaier
8f8394f07f 8299617: CurrencySymbols.properties is missing the copyright notice
Backport-of: d5b80abcbf
2023-10-22 06:28:25 +07:00
Goetz Lindenmaier
30ac0e230f 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout
Backport-of: 82561de722
2023-10-22 06:28:25 +07:00
Goetz Lindenmaier
a28392d56d 8293177: Verify version numbers in legal files
Backport-of: 69ede5baed
2023-10-22 06:28:25 +07:00
Goetz Lindenmaier
db6c9e77b4 8289510: Improve test coverage for XPath Axes: namespace
Backport-of: 3d254d3c8e
2023-10-22 06:28:25 +07:00
i556354
9102b6c585 8270331: [TESTBUG] Error: Not a test or directory containing tests: java/awt/print/PrinterJob/InitToBlack.java
Backport-of: 2ef9767aae
2023-10-22 06:28:25 +07:00
i556354
eeb4f6a56d 8307165: java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
Backport-of: 14df5c130e
2023-10-22 06:28:24 +07:00
Aleksey Shipilev
b813bf11de 8296796: Provide clean, platform-agnostic interface to C-heap trimming
Reviewed-by: stuefe
Backport-of: 0845b39caf
2023-10-22 06:28:24 +07:00
Matthias Baesken
3b31ef9de5 8311285: report some fontconfig related environment variables in hs_err file
Backport-of: 0ef03f1228
2023-10-22 06:28:24 +07:00
Goetz Lindenmaier
2d861503ed 8301269: Update Commons BCEL to Version 6.7.0
Reviewed-by: mdoerr
Backport-of: 6a44120a16
2023-10-22 06:28:24 +07:00
Feilong Jiang
80ed097617 8312511: GHA: Bump cross-compile runner to Ubuntu 22.04
Reviewed-by: shade
2023-10-22 06:28:23 +07:00
Nagata, Haruhito
27858de10f 8302161: Upgrade jQuery UI to version 1.13.2
8293180: JQuery UI license file not updated

Reviewed-by: mdoerr
Backport-of: 404d5bddb9
2023-10-22 06:28:23 +07:00
Goetz Lindenmaier
b3c673e743 8305670: Performance regression in LockSupport.unpark with lots of idle threads
Reviewed-by: mdoerr
Backport-of: f030937a51
2023-10-22 06:28:23 +07:00
Goetz Lindenmaier
6847a435e5 8292683: Remove BadKeyUsageTest.java from Problem List
Backport-of: df5209e70f
2023-10-22 06:28:23 +07:00
Goetz Lindenmaier
9256549ba6 8275662: remove test/lib/sun/hotspot
Reviewed-by: mdoerr
Backport-of: 0c37008917
2023-10-22 06:28:22 +07:00
Goetz Lindenmaier
4b76a70f61 8281717: Cover logout method for several LoginModule
8284090: com/sun/security/auth/module/AllPlatforms.java fails to compile

Reviewed-by: mdoerr
Backport-of: fbb8ca55a8
2023-10-22 06:28:22 +07:00
Ben Taylor
bfa0a17452 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: simonis
Backport-of: caadad4fdc
2023-10-22 06:28:22 +07:00
Roman Kennke
23611fd5a8 8276333: jdk/jfr/event/oldobject/TestLargeRootSet.java failed "assert(!contains(edge->reference())) failed: invariant"
Reviewed-by: phh
Backport-of: 65ca0a5776
2023-10-22 06:28:22 +07:00
Roman Kennke
5b596cf707 8275415: Prepare Leak Profiler for Lilliput
Backport-of: c41ce6d159
2023-10-22 06:28:21 +07:00
Martin Doerr
b7bb7b3bde 8306881: Update FreeType to 2.13.0
Backport-of: 723582c524
2023-10-22 06:28:21 +07:00
George Adams
79c03e19d6 8286623: Bundle zlib by default with JDK on macos aarch64
Backport-of: c3bade2e08
2023-10-22 06:28:21 +07:00
Goetz Lindenmaier
204e9a892e 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: lucy
Backport-of: fd7fddb6ed
2023-10-22 06:28:21 +07:00
Goetz Lindenmaier
34fedbf44c 8312029: Add CriticalNative tests to ProblemList for 8312028
Reviewed-by: lucy
2023-10-22 06:28:20 +07:00
Goetz Lindenmaier
4d659ba35e 8308803: Improve java/util/UUID/UUIDTest.java
Backport-of: 4460429d7a
2023-10-22 06:28:20 +07:00
Goetz Lindenmaier
2bd34a053f 8302736: Major performance regression in Math.log on aarch64
Reviewed-by: lucy
Backport-of: 466ec300fc
2023-10-22 06:28:20 +07:00
Goetz Lindenmaier
861cf72a61 8307653: Adjust delay time and gc log argument in TestAbortOnVMOperationTimeout
Backport-of: 4f355c3525
2023-10-22 06:28:20 +07:00
Goetz Lindenmaier
47159946f0 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out
Backport-of: f22d157e55
2023-10-22 06:28:20 +07:00
Goetz Lindenmaier
c68a5ce953 8305766: ProblemList runtime/CompressedOops/CompressedClassPointers.java
Backport-of: f45b01f883
2023-10-22 06:28:19 +07:00
Goetz Lindenmaier
89d21a094b 8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
Reviewed-by: phh
Backport-of: ceca198ef2
2023-10-22 06:28:19 +07:00
Goetz Lindenmaier
05d10da6bc 8307067: remove broken EnableThreadSMRExtraValidityChecks option
Backport-of: 5e26e64cbf
2023-10-22 06:28:19 +07:00
Ben Taylor
2c7c994cf1 8308283: Build failure with GCC12 & GCC13
Reviewed-by: phh
Backport-of: bfc3ccd90d
2023-10-22 06:28:19 +07:00
Goetz Lindenmaier
4f7567dffe 8275303: sun/java2d/pipe/InterpolationQualityTest.java fails with D3D basic render driver
Backport-of: bc0379ea1a
2023-10-22 06:28:18 +07:00
Goetz Lindenmaier
bc727165be 8297923: java.awt.ScrollPane broken after multiple scroll up/down
8310054: ScrollPane insets are incorrect
8311689: Wrong visible amount in Adjustable of ScrollPane

Backport-of: ea41907396
2023-10-22 06:28:18 +07:00
Vladimir Kempik
444edc153d 8311862: RISC-V: small improvements to shift immediate instructions
Backport-of: f3b96f6937
2023-10-22 06:28:18 +07:00
Ben Taylor
f793ce9ed9 8307147: [x86] Dangling pointer warning for Assembler::_attributes
Reviewed-by: phh
Backport-of: 3599448ad8
2023-10-22 06:28:18 +07:00
Ben Taylor
86e876bb47 8289512: Fix GCC 12 warnings for adlc output_c.cpp
Backport-of: a8fe2d97a2
2023-10-22 06:28:18 +07:00
Jenny Shivayogi
83c0c3a5fe 8306060: Open source few AWT Insets related tests
Backport-of: 9a68d1d952
2023-10-22 06:28:17 +07:00
Goetz Lindenmaier
9a36772d45 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: roland
Backport-of: 4a9cc8a000
2023-10-22 06:28:17 +07:00
Goetz Lindenmaier
6cf445acef 8309119: [17u/11u] Redo JDK-8297951: C2: Create skeleton predicates for all If nodes in loop predication
Reviewed-by: mdoerr
2023-10-22 06:28:17 +07:00
Goetz Lindenmaier
3c2148b172 8307683: Loop Predication should not hoist range checks with trap on success projection by negating their condition
Reviewed-by: roland
Backport-of: dfd3da3f52
2023-10-22 06:28:17 +07:00
Chad Rakoczy
00f3dbf5fc 8307555: Reduce memory reads in x86 MD5 intrinsic
Backport-of: 43c8c650af
2023-10-22 06:28:16 +07:00
Goetz Lindenmaier
5c56dacca5 8310259: Pin msys2/setup-msys2 github action to a specific commit
Reviewed-by: mbaesken
Backport-of: 959a61fdd4
2023-10-22 06:28:16 +07:00
Goetz Lindenmaier
03cff0381c 8308192: Error in parsing replay file when staticfield is an array of single dimension
Backport-of: d3feedf511
2023-10-22 06:28:16 +07:00
Goetz Lindenmaier
48fe2a88b0 8301097: Update GHA XCode to 12.5.1
Backport-of: b8e5abc1e8
2023-10-22 06:28:16 +07:00
Dhamoder Nalla
067cdc925b 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Backport-of: 749d480193
2023-10-22 06:28:16 +07:00
Xin Liu
3e850a9197 8267517: async logging for stdout and stderr
Reviewed-by: shade
Backport-of: 7aff03aee1
2023-10-22 06:28:15 +07:00
Goetz Lindenmaier
199cc83ce1 8292716: Configure should check that jtreg is of the required version
8292763: JDK-8292716 breaks configure without jtreg

Reviewed-by: shade
Backport-of: 486f90c134
2023-10-22 06:28:15 +07:00
Goetz Lindenmaier
8d3a91d03a 8303154: Investigate and improve instruction cache flushing during compilation
Backport-of: b7945bc9e5
2023-10-22 06:28:15 +07:00
Goetz Lindenmaier
8184a01371 8180266: Convert sun/security/provider/KeyStore/DKSTest.sh to Java Jtreg Test
Backport-of: 7f313b0cef
2023-10-22 06:28:15 +07:00
Goetz Lindenmaier
444de0fd1f 8225012: sanity/client/SwingSet/src/ToolTipDemoTest.java fails on Windows
Backport-of: 1f521a1204
2023-10-22 06:28:14 +07:00
Fei Yang
402350a19c 8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V
Backport-of: 5e196b4b8e
2023-10-22 06:28:14 +07:00
Feilong Jiang
a3706ef243 8283929: GHA: Add RISC-V build config
Reviewed-by: vkempik
Backport-of: 85d4b49151
2023-10-22 06:28:14 +07:00
i556354
8a7c7660b1 8305421: Work around JDK-8305420 in CDSJDITest.java
Backport-of: 9ce5fdc962
2023-10-22 06:28:14 +07:00
Jenny Shivayogi
650de8e00b 8306566: Open source several clipboard AWT tests
Backport-of: 136dad7197
2023-10-22 06:28:14 +07:00
Jenny Shivayogi
4f1f757c4f 8306076: Open source AWT misc tests
Backport-of: f7d45b85a5
2023-10-22 06:28:13 +07:00
i556354
1df90a7c24 8306636: Disable compiler/c2/Test6905845.java with -XX:TieredStopAtLevel=3
Backport-of: 4900517479
2023-10-22 06:28:13 +07:00
Yi-Fan Tsai
779d501f0e 8299158: Improve MD5 intrinsic on AArch64
Reviewed-by: phh
Backport-of: c6588d5bb3
2023-10-22 06:28:13 +07:00
Goetz Lindenmaier
0ed39ee6ba 8306718: Optimize and opensource some old AWT tests
Backport-of: 9beae21864
2023-10-22 06:28:13 +07:00
Goetz Lindenmaier
6b30424ef9 8285980: Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
Reviewed-by: phh
Backport-of: 1f9f8738f3
2023-10-22 06:28:13 +07:00
Goetz Lindenmaier
99d7262ad9 8306137: Open source several AWT ScrollPane related tests
Backport-of: 4becb7bcb6
2023-10-22 06:28:12 +07:00
Matthias Baesken
d372076ab9 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Backport-of: 7da3f1999f
2023-10-22 06:28:12 +07:00
Alexey Bakhtin
3f21a79921 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: phh
Backport-of: 26b111d714
2023-10-22 06:28:12 +07:00
Goetz Lindenmaier
d298b7b39d 8306765: Some client related jtreg problem list entries are malformed
Backport-of: 36d61c3106
2023-10-22 06:28:12 +07:00
Aleksey Shipilev
944ceb2c3f 8278141: LIR_OpLoadKlass::_info shadows the field of the same name from LIR_Op
Backport-of: 0e7b6bcd82
2023-10-22 06:28:12 +07:00
Aleksey Shipilev
9d690de4a4 8277860: PPC: Remove duplicate info != NULL check
Backport-of: ce0234b47d
2023-10-22 06:28:11 +07:00
Sergey Nazarkin
a9fb594933 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Backport-of: d8af7a6014
2023-10-22 06:28:11 +07:00
Goetz Lindenmaier
01f5bd7725 6176679: Application freezes when copying an animated gif image to the system clipboard
Backport-of: 6c71859ac2
2023-10-22 06:28:11 +07:00
Goetz Lindenmaier
3ef2b66562 8299713: Test javax/swing/JTableHeader/6889007/bug6889007.java failed: Wrong type of cursor
Backport-of: b54c4a33c6
2023-10-22 06:28:11 +07:00
Goetz Lindenmaier
f21755dc92 8304314: StackWalkTest.java fails after CODETOOLS-7903373
Backport-of: d5a150706e
2023-10-22 06:28:10 +07:00
Aleksey Shipilev
8655fe2e9d 8307348: Parallelize heap walk for ObjectCount(AfterGC) JFR event collection
Reviewed-by: ogillespie, phh
Backport-of: 540c706bbc
2023-10-22 06:28:10 +07:00
Aleksey Shipilev
2b1bbc1347 8311249: Remove unused MemAllocator::obj_memory_range
Reviewed-by: phh
Backport-of: 711cddd899
2023-10-22 06:28:10 +07:00
Aleksey Shipilev
d019fffc3c 8268852: AsyncLogWriter should not overide is_Named_thread()
Backport-of: 02c9bf087e
2023-10-22 06:28:10 +07:00
Chad Rakoczy
6325f51055 8307299: Move more DnD tests to open
Backport-of: 950c5df859
2023-10-22 06:28:10 +07:00
Chad Rakoczy
7e77e4cccc 8307083: Open source some drag and drop tests 3
Backport-of: 1b154e4fd3
2023-10-22 06:28:09 +07:00
Chad Rakoczy
fab0a2d1a9 8306812: Open source several AWT Miscellaneous tests
Backport-of: c494770ca0
2023-10-22 06:28:09 +07:00
Goetz Lindenmaier
78a01f7e88 8289547: Update javax/swing/Popup/TaskbarPositionTest.java
Backport-of: d73fc70ea2
2023-10-22 06:28:09 +07:00
Goetz Lindenmaier
3a8ae81ce7 8307078: Opensource and clean up five more AWT Focus related tests
Backport-of: 6d6f726b74
2023-10-22 06:28:09 +07:00
Goetz Lindenmaier
1e7f6d5eed 8306638: Open source some AWT tests related to datatransfer and Toolkit
Backport-of: 2210e06788
2023-10-22 06:28:08 +07:00
Aleksey Shipilev
8abe7d7b9c 8276696: ParallelObjectIterator freed at the wrong time in VM_HeapDumper
Reviewed-by: ogillespie, phh
Backport-of: f4dc03ea6d
2023-10-22 06:28:08 +07:00
Aleksey Shipilev
011458dd22 8280885: Shenandoah: Some tests failed with "EA: missing allocation reference path"
Backport-of: ab638341de
2023-10-22 06:28:08 +07:00
Aleksey Shipilev
3d6d2b297f 8308766: TLAB initialization may cause div by zero
Backport-of: 96ed1392d1
2023-10-22 06:28:08 +07:00
Aleksey Shipilev
ac04e0f9e6 8300693: Lower the compile threshold and reduce the iterations of warmup loop in VarHandles tests
Backport-of: 86fed79670
2023-10-22 06:28:07 +07:00
Aleksey Shipilev
e1c5c135e9 8171221: Remove -XX:+CheckMemoryInitialization
Backport-of: 65c8dbe693
2023-10-22 06:28:07 +07:00
Martin Doerr
15baae99a6 8300405: Screen capture for test JFileChooserSetLocationTest.java, failure case
Backport-of: db8fa1be05
2023-10-22 06:28:07 +07:00
Aleksey Shipilev
f02f664710 8284760: Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()
Backport-of: 2ba5cc4163
2023-10-22 06:28:07 +07:00
Aleksey Shipilev
07cd5c4a80 8270894: Use acquire semantics in ObjectSynchronizer::read_stable_mark()
Reviewed-by: phh, rkennke
Backport-of: f22619032d
2023-10-22 06:28:07 +07:00
Aleksey Shipilev
5f8d6fcf4a 8270794: Avoid loading Klass* twice in TypeArrayKlass::oop_size()
Backport-of: ea49691f1d
2023-10-22 06:28:06 +07:00
Martin Doerr
c3466be289 8300098: java/util/concurrent/ConcurrentHashMap/ConcurrentAssociateTest.java fails with internal timeout when executed with TieredCompilation1/3
Backport-of: ecf8842cd2
2023-10-22 06:28:06 +07:00
Martin Doerr
4418a7f0c8 8293811: Provide a reason for PassFailJFrame.forceFail
Reviewed-by: mbaesken, shade
Backport-of: 64b96e5cf5
2023-10-22 06:28:06 +07:00
Martin Doerr
ddd429f84c 8282404: DrawStringWithInfiniteXform.java failed with "RuntimeException: drawString with InfiniteXform transform takes long time"
Backport-of: a53be204cb
2023-10-22 06:28:06 +07:00
Christoph Langer
fb61de1665 8291444: GHA builds/tests won't run manually if disabled from automatic running
Backport-of: 5c0ff26f32
2023-10-22 06:28:06 +07:00
Matthias Baesken
22e715e995 8308872: enhance logging and some exception in krb5/Config.java
Backport-of: 70670b4af6
2023-10-22 06:28:05 +07:00
Goetz Lindenmaier
76f9d18d87 8306135: Clean up and open source some AWT tests
Backport-of: 4ad3ac6317
2023-10-22 06:28:05 +07:00
Goetz Lindenmaier
3e27d6efe8 8306575: Clean up and open source four Dialog related tests
Backport-of: 8d696aea9e
2023-10-22 06:28:05 +07:00
Matthias Baesken
9c00be67a0 8303047: avoid NULL after 8301661
Backport-of: 221f34634d
2023-10-22 06:28:05 +07:00
Martin Doerr
fb832c87f8 8290469: Add new positioning options to PassFailJFrame test framework
Reviewed-by: mbaesken
Backport-of: 568be58e85
2023-10-22 06:28:04 +07:00
Goetz Lindenmaier
85ad6276dd 8306682: Open source a few more AWT Choice tests
Backport-of: f39641ccbd
2023-10-22 06:28:04 +07:00
Goetz Lindenmaier
424351d798 8306484: Open source several AWT Choice jtreg tests
Backport-of: b5362dadc5
2023-10-22 06:28:04 +07:00
Goetz Lindenmaier
b18f47c41e 8306430: Open source some AWT tests related to TextComponent and Toolkit
Backport-of: 36ec05d52a
2023-10-22 06:28:04 +07:00
Goetz Lindenmaier
5c418a4ec9 8306372: Open source AWT CardLayout and Checkbox tests
Backport-of: 781d6d793a
2023-10-22 06:28:04 +07:00
Goetz Lindenmaier
f292af5fa7 8306134: Open source some AWT tests relating to Button and a few other classes
Backport-of: fdb4bafa31
2023-10-22 06:28:03 +07:00
Goetz Lindenmaier
9bcc087c98 8289077: Add manual tests to open
Backport-of: 787e16bb44
2023-10-22 06:28:03 +07:00
Goetz Lindenmaier
96d219307d 8301074: Replace NULL with nullptr in share/opto/
Reviewed-by: mdoerr
Backport-of: 5726d31e56
2023-10-22 06:28:03 +07:00
Martin Doerr
7bb5b14139 8269466: Factor out the common code for initializing and starting internal VM JavaThreads
Reviewed-by: mbaesken
Backport-of: 4107dcf6ec
2023-10-22 06:28:02 +07:00
Martin Doerr
f7327fd751 8297887: Update Siphash
Backport-of: bacf652311
2023-10-22 06:28:02 +07:00
Sergey Bylokhov
52794dd9bc 8297681: Unnecessary color conversion during 4BYTE_ABGR_PRE to INT_ARGB_PRE blit
Backport-of: 8ffed34e1d
2023-10-22 06:28:02 +07:00
Aleksey Shipilev
bca9913f31 8307156: native_thread not protected by TLH
Reviewed-by: phh, mgronlun
Backport-of: 0c6529d2d3
2023-10-22 06:28:02 +07:00
Aleksey Shipilev
cfb8d5b26c 8290464: Optimize ResourceArea zapping on ResourceMark release
Backport-of: 7841e5cc38
2023-10-22 06:28:02 +07:00
Sergey Bylokhov
d0a60de2ed 8295812: Skip the "half float" support in LittleCMS during the build
Backport-of: f0a6e71e4d
2023-10-22 06:28:01 +07:00
Sergey Bylokhov
ef5328dbbc 8308152: PropertyDescriptor should work with overridden generic getter method
Backport-of: 73dd03cc5a
2023-10-22 06:28:01 +07:00
Aleksey Shipilev
b2d5dff5ad 8310126: C1: Missing receiver null check in Reference::get intrinsic
Backport-of: 02aaab12e3
2023-10-22 06:28:01 +07:00
Aleksey Shipilev
dc92abcbb6 8305425: Thread.isAlive0 doesn't need to call into the VM
Reviewed-by: phh, mdoerr
Backport-of: 35cb303a2c
2023-10-22 06:28:01 +07:00
Martin Doerr
6e04456212 8289238: Refactoring changes to PassFailJFrame Test Framework
Reviewed-by: mbaesken, phh
Backport-of: 15efb2bdeb
2023-10-22 06:28:00 +07:00
Martin Doerr
3d00cdcf68 8305950: Have -XshowSettings option display tzdata version
Backport-of: 07f55c5ea2
2023-10-22 06:28:00 +07:00
Martin Doerr
17c3eafa49 8298974: Add ftcolor.c to imported freetype sources
Backport-of: 05f9e7676e
2023-10-22 06:27:42 +07:00
William Kemper
8868232a13 8287227: Shenandoah: A couple of virtual thread tests failed with iu mode even without Loom enabled.
Backport-of: 210a06a287
2023-10-22 06:25:42 +07:00
William Kemper
c0ef6cc95f 8277654: Shenandoah: Don't produce new memory state in C2 LRB runtime call
Backport-of: 3d39f09c6c
2023-10-22 06:25:42 +07:00
Martin Doerr
6e07a8ea35 8229147: Linux os::create_thread() overcounts guardpage size with newer glibc (>=2.27)
Reviewed-by: mbaesken
Backport-of: 9ebcda2165
2023-10-22 06:25:42 +07:00
Martin Doerr
3a469d160a 8303215: Make thread stacks not use huge pages
Backport-of: 59d9d9fcb9
2023-10-22 06:25:41 +07:00
Martin Doerr
fbf39c42c6 8306428: RunThese30M.java crashed with assert(early->flag() == current->flag() || early->flag() == mtNone)
Reviewed-by: mbaesken
Backport-of: ca54f4e007
2023-10-22 06:25:41 +07:00
Martin Doerr
92c1474b18 8308643: Incorrect value of 'used' jvmstat counter
Backport-of: 92167505b2
2023-10-22 06:25:41 +07:00
Martin Doerr
ae055660e5 8306281: function isWsl() returns false on WSL2
Backport-of: 9b0baa10b9
2023-10-22 06:25:41 +07:00
Martin Doerr
2ea804ac7a 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: phh
Backport-of: bd79db3930
2023-10-22 06:25:41 +07:00
Martin Doerr
e31c274246 8153837: AArch64: Handle special cases for MaxINode & MinINode
Backport-of: b3684f4bac
2023-10-22 06:25:40 +07:00
Aleksey Shipilev
7507bf0b44 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: mgronlun
Backport-of: 05f896a153
2023-10-22 06:25:40 +07:00
Goetz Lindenmaier
f4674ac05b 8307301: Update HarfBuzz to 7.2.0
Backport-of: d8b230c384
2023-10-22 06:25:40 +07:00
Goetz Lindenmaier
5119a5c6a9 8307604: gcc12 based Alpine build broken build after JDK-8307301
Reviewed-by: mdoerr
Backport-of: d2e0e534d7
2023-10-22 06:25:40 +07:00
Goetz Lindenmaier
d6dd29e68d 8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: shade
Backport-of: 64c0962866
2023-10-22 06:25:39 +07:00
Goetz Lindenmaier
3a096816a1 8292182: [TESTLIB] Enhance JAXPPolicyManager to setup required permissions for jtreg version 7 jar
Backport-of: aa5b718933
2023-10-22 06:25:39 +07:00
Martin Doerr
a99e0da332 8306435: Juggle04/TestDescription.java should be a booleanArr test and not a byteArr one
Backport-of: ce493dda90
2023-10-22 06:25:39 +07:00
Martin Doerr
1990cb26b7 8304845: Update PCSC-Lite for Suse Linux to 1.9.9 and fix incomplete license wording
Backport-of: 33d6614150
2023-10-22 06:25:39 +07:00
Martin Doerr
84de67bb34 8040793: vmTestbase/nsk/monitoring/stress/lowmem fails on calling isCollectionUsageThresholdExceeded()
Backport-of: 0025764ec0
2023-10-22 06:25:38 +07:00
Martin Doerr
c2784bfeea 8300659: Refactor TestMemoryAwareness to use WhiteBox api for host values
Backport-of: 3c61d5aa48
2023-10-22 06:25:38 +07:00
Martin Doerr
43e41acbf1 8283056: show abstract machine code in hs-err for all VM crashes
Backport-of: 69e4e338b1
2023-10-22 06:25:38 +07:00
William Kemper
bb909edcd0 8267188: gc/stringdedup/TestStringDeduplicationInterned.java fails with Shenandoah
Reviewed-by: phh, shade
Backport-of: 7212561dd1
2023-10-22 06:25:38 +07:00
Martin Doerr
90cea97164 8263044: jdk/jfr/jvm/TestDumpOnCrash.java timed out
Backport-of: 94ec729faa
2023-10-22 06:25:38 +07:00
Martin Doerr
09daa52fd0 8274986: max code printed in hs-err logs should be configurable
Reviewed-by: mbaesken
Backport-of: 33050f8013
2023-10-22 06:25:37 +07:00
Martin Doerr
1640b9b373 8252713: jtreg time out of CtrlASCII.java seems to hang the Xserver.
Backport-of: 6d6046b379
2023-10-22 06:25:37 +07:00
Martin Doerr
e52c4d7f97 8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null(v)) failed: narrow klass value can never be zero
Backport-of: fb6fd03233
2023-10-22 06:25:37 +07:00
Aleksey Shipilev
80581817a8 8293012: ConstantPool::print_on can crash if _cache is NULL
Backport-of: 9424d6d487
2023-10-22 06:25:37 +07:00
Aleksey Shipilev
e820354f16 8309956: Shenandoah: Strengthen the mark word check in string dedup
Backport-of: 57b8251241
2023-10-22 06:25:37 +07:00
Aleksey Shipilev
85d75c3a11 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Backport-of: 96a7db7b3c
2023-10-22 06:25:36 +07:00
Martin Doerr
dcedeac7d6 8282665: [REDO] ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
Backport-of: d07f7c76c5
2023-10-22 06:25:36 +07:00
Martin Doerr
17f2dc9e0d 8272586: emit abstract machine code in hs-err logs
8275031: runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present
8277102: Dubious PrintCompilation output

Reviewed-by: mbaesken
Backport-of: b60837a7d5
2023-10-22 06:25:36 +07:00
Martin Doerr
28e9e0b0c0 8289688: jfr command hangs when it processes invalid file
Backport-of: dd9bd31b86
2023-10-22 06:25:36 +07:00
Martin Doerr
25e5210602 8286481: Exception printed to stdout on Windows when storing transparent image in clipboard
Backport-of: 5264881a15
2023-10-22 06:25:35 +07:00
Aleksey Shipilev
78048de418 8306738: Select num workers for safepoint ParallelCleanupTask
Reviewed-by: phh
Backport-of: 672bade522
2023-10-22 06:25:35 +07:00
William Kemper
63e82d5f54 8293252: Shenandoah: ThreadMXBean synchronizer tests crash with aggressive heuristics
Backport-of: 3675f4c2af
2023-10-22 06:25:35 +07:00
Frederic Thevenet
7d0e5b7edc 8309959: JFR: Display N/A for missing data amount
Reviewed-by: stuefe, sgehwolf
Backport-of: 9872a14192
2023-10-22 06:25:35 +07:00
Aleksey Shipilev
da5103e807 8295811: serviceability/sa/TestObjectAlignment.java fails on x86_32
Backport-of: 7cbf6721dc
2023-10-22 06:25:35 +07:00
Aleksey Shipilev
9278f021bf 8295657: SA: Allow larger object alignments
Backport-of: dfd2d83144
2023-10-22 06:25:34 +07:00
Aleksey Shipilev
7279689127 8272654: Mark word accesses should not use Access API
Reviewed-by: phh
Backport-of: a81e5e9353
2023-10-22 06:25:34 +07:00
Frederic Thevenet
237ff02fda 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, sgehwolf
Backport-of: a1ab377d99
2023-10-22 06:25:34 +07:00
Aleksey Shipilev
d3649d6ea5 8279545: Buffer overrun in reverse_words of sharedRuntime_x86_64.cpp:3517
Backport-of: 35734ad080
2023-10-22 06:25:34 +07:00
Goetz Lindenmaier
4461a17f74 8305815: Update Libpng to 1.6.39
Backport-of: 14874779ee
2023-10-22 06:25:34 +07:00
Goetz Lindenmaier
a5f39ba11d 8292315: Tests should not rely on specific JAR file names (hotspot)
Reviewed-by: phh
Backport-of: 62a7fc60d3
2023-10-22 06:25:33 +07:00
Goetz Lindenmaier
b2f72a1350 8292316: Tests should not rely on specific JAR file names (jpackage)
Backport-of: 45c3e898ed
2023-10-22 06:25:33 +07:00
Goetz Lindenmaier
69d3294d8f 8285756: clean up use of bad arguments for @clean in langtools tests
Backport-of: 3312d8c620
2023-10-22 06:25:33 +07:00
Goetz Lindenmaier
d90e08c6fb 8286620: Create regression test for verifying setMargin() of JRadioButton
Backport-of: 67f1bd7ff1
2023-10-22 06:25:33 +07:00
Goetz Lindenmaier
d040df54e0 8280396: G1: Full gc mark stack draining should prefer to make work available to other threads
Backport-of: 674a97b27e
2023-10-22 06:25:32 +07:00
Goetz Lindenmaier
ca64dfcc30 8281507: Two javac tests have bad jtreg @clean tags
Backport-of: 86723d4892
2023-10-22 06:25:32 +07:00
Goetz Lindenmaier
700566dbdb 8209398: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
Backport-of: d64820dfef
2023-10-22 06:25:32 +07:00
Goetz Lindenmaier
2725897898 8267341: macos attempt_reserve_memory_at(arg1, arg2, true) failure
8271898: disable os.release_multi_mappings_vm on macOS-X64

Reviewed-by: lucy
Backport-of: d1efb0cc56
2023-10-22 06:25:32 +07:00
Goetz Lindenmaier
531fdf8901 8278456: Define jtreg jdk_desktop test group time-based sub-tasks for use by headful testing.
Backport-of: 81c56c700a
2023-10-22 06:25:31 +07:00
Scott Gibbons
9b4780a120 8300584: Accelerate AVX-512 CRC32C for small buffers
Reviewed-by: sgibbons, phh
Backport-of: 7c2f77a422
2023-10-22 06:25:31 +07:00
Goetz Lindenmaier
ecc9595f2d 8289748: C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM
8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work

Reviewed-by: roland
Backport-of: 97c611d029
2023-10-22 06:25:31 +07:00
Goetz Lindenmaier
5f8f765c98 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: mdoerr
Backport-of: e7795851d2
2023-10-22 06:25:31 +07:00
Matthias Baesken
d15ab8c1c7 8309340: Provide sctpHandleSocketErrorWithMessage
Reviewed-by: mdoerr
Backport-of: 3b85f84f02
2023-10-22 06:25:30 +07:00
Goetz Lindenmaier
365e6a45e8 8302150: Speed up compiler/codegen/Test7100757.java
Backport-of: 16a4f02f2d
2023-10-22 06:25:30 +07:00
Goetz Lindenmaier
9591af2038 8282651: ZGC: vmTestbase/gc/ArrayJuggle/ tests fails intermittently with exit code 97
Backport-of: 1f438a8a70
2023-10-22 06:25:30 +07:00
Goetz Lindenmaier
866e50c2b0 8299962: Speed up compiler/intrinsics/unsafe/DirectByteBufferTest.java and HeapByteBufferTest.java
Backport-of: 7c1ebcc4ce
2023-10-22 06:25:30 +07:00
Goetz Lindenmaier
34d3be2264 8298921: Create a regression test for JDK-8139581
Backport-of: 834e50e9ef
2023-10-22 06:25:29 +07:00
Matthias Baesken
acb0a3d205 8305858: Resolve multiple definition of 'handleSocketError' when statically linking with JDK native libraries
Backport-of: 2bbbff209d
2023-10-22 06:25:29 +07:00
Zdenek Zambersky
4602376f98 8309138: Fix container tests for jdks with symlinked conf dir
Backport-of: ec55539534
2023-10-22 06:25:29 +07:00
Kirill A. Korinsky
df7c60374b 8305995: Footprint regression from JDK-8224957
Backport-of: 7551529854
2023-10-22 06:25:29 +07:00
Matthias Baesken
4a0cb255b0 8308300: enhance exceptions in MappedMemoryUtils.c
Backport-of: 69f508a2ac
2023-10-22 06:25:28 +07:00
Matthias Baesken
43f8c5f14c 8309297: Adjust ShenandoahHeap print_heap_regions_on
Backport-of: 9233dcc838
2023-10-22 06:25:28 +07:00
Aleksey Shipilev
d292286e49 8307395: Add missing STS to Shenandoah
Reviewed-by: rkennke
Backport-of: 3968ab5db5
2023-10-22 06:25:28 +07:00
Matthias Baesken
555caf6686 8308156: VerifyCACerts.java misses blank in error output
Backport-of: 5a92aae1d9
2023-10-22 06:25:28 +07:00
Ningsheng Jian
c6992f210a 8307572: AArch64: Vector registers are clobbered by some macroassemblers
Reviewed-by: aph
Backport-of: 33d9a85730
2023-10-22 06:25:28 +07:00
Oli Gillespie
d8e46dc105 8304976: Optimize DateTimeFormatterBuilder.ZoneTextPrinterParser.getTree()
Reviewed-by: shade, stsypanov, phh
Backport-of: 438c969b7b
2023-10-22 06:25:27 +07:00
Matthias Baesken
1dd6a3fdaf 8269091: javax/sound/sampled/Clip/SetPositionHang.java failed with ArrayIndexOutOfBoundsException: Array index out of range: -4
Backport-of: 1a7b70a8be
2023-10-22 06:25:27 +07:00
Matthias Baesken
9b27778d76 8283756: (zipfs) ZipFSOutputStreamTest.testOutputStream should only check inflated bytes
Backport-of: 0c472c8a4f
2023-10-22 06:25:27 +07:00
Aleksey Shipilev
db72722f21 8301187: Memory leaks in OopMapCache
Backport-of: e2a3b20ca8
2023-10-22 06:25:27 +07:00
Aleksey Shipilev
e9f74daf1c 8300053: Shenandoah: Handle more GCCauses in ShenandoahControlThread::request_gc
Backport-of: cac72a6018
2023-10-22 06:25:26 +07:00
Aleksey Shipilev
b644a1e974 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)"
Backport-of: c16eb89ce0
2023-10-22 06:25:26 +07:00
Aleksey Shipilev
5d929ed419 8292698: Improve performance of DataInputStream
Backport-of: 74a51ccc86
2023-10-22 06:25:26 +07:00
Goetz Lindenmaier
d972faa607 8309107: Bump update version for OpenJDK: jdk-17.0.9
Reviewed-by: mdoerr
2023-10-22 06:25:07 +07:00
Vitaly Provodin
fa2c6a1a03 fixup! JBR-6181 add Linux executables with bundled FreeType 2023-10-21 15:06:36 +07:00
Nikita Gubarkov
242d98ded9 JBR-6208 Extended glyph cache for Metal 2023-10-17 12:18:29 +02:00
Vitaly Provodin
be797450aa JBR-6181 add Linux executables with bundled FreeType 2023-10-13 06:54:55 +04:00
Alexey Ushakov
8d7ef47e99 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-12 12:31:12 +02:00
Maxim Kartashev
9e0238b23d 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:37:48 +04:00
Dmitrii Morskii
1764efd82c JBR-6135 removed dependence on process reading TTF in fixed size chunks 2023-10-09 15:00:24 +02:00
bourgesl
d49ed11c67 fixup! JBR-6119: RenderPerf enhancements: new executor modes (buffer & volatile), robot calibration & more statistics and CLI arguments added version + help information, added time unit 2023-10-04 21:08:39 +02:00
bourgesl
efe5e7df82 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 21:04:34 +02:00
Alexey Ushakov
49855c5eae 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:31:54 +02:00
Vitaly Provodin
2c2e0495e7 JBR-6130 add VK_TAB release action 2023-09-29 01:33:41 +04:00
Vitaly Provodin
ec02179191 update exclude list on results of 17.0.8.1_b1063.1 test runs 2023-09-27 10:46:05 +07:00
Aleksey Shipilev
f0bcaac37e 8277417: C1 LIR instruction for load-klass
Backport-of: 99e4bda303
2023-09-27 06:56:25 +07:00
Nikita Provotorov
f23b698867 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 21:53:36 +02:00
Dmitrii Morskii
c9ef2094bb JBR-6044 handle absence of fontConfig library in setupRenderingFontHints 2023-09-25 12:36:01 +02:00
Dmitrii Morskii
352ecc734e JBR-6041 started using correct type inside FcPatternGetValueFuncType 2023-09-25 12:35:53 +02:00
ghostflyby
eaf54c376a JBR-6124 Fix macOS services writing text back to textfield 2023-09-25 11:38:33 +02:00
Vitaly Provodin
b215a498ce update exclude list on results of 17.0.8.1_b1062.8 test runs 2023-09-22 17:34:12 +07:00
Sergey Shelomentsev
3939ba1019 exclude FocusTraversalOrderTest 2023-09-20 21:35:35 +03:00
Sergey Shelomentsev
b3f592763f JBR-6060 add focus traversal order test 2023-09-20 21:21:10 +03:00
Vitaly Provodin
2a7bcda498 update exclude list on results of 17.0.8.1_b1059.3 test runs 2023-09-15 04:12:42 +07:00
Nikita Gubarkov
72057e07ce JBR-6016 doPrivileged for JBR API internal services.
(cherry picked from commit 19917e72086f091ef845959a29e7814ff6d88aa7)
2023-09-11 15:08:22 +02:00
Vitaly Provodin
91f2bdc3e0 update exclude list on results of 17.0.8_b1053.1 test runs 2023-09-08 17:06:06 +07:00
Dmitrii Morskii
03a24669ad JBR-5502: optimize stringWidth & charsWidth methods of FontDesignMetrics 2023-09-07 17:03:02 +02:00
Dmitrii Morskii
6f8d203c3e JBR-6018 removed incorrect test testFeaturesZeroFrac 2023-09-07 14:50:32 +02:00
Nikita Tsarev
ca3bc76bf0 JBR-6028: Check before attempting to switch to a layout that might not exist in KeyCodesTest 2023-09-06 17:00:40 +02:00
Ben Taylor
7143a33a6f 8313765: Invalid CEN header (invalid zip64 extra data field size)
Reviewed-by: simonis
Backport-of: 13f6450e2e
2023-09-05 06:49:41 +07:00
Ben Taylor
a506b74390 8314677: Bump update version for OpenJDK: jdk-17.0.8.1
Reviewed-by: simonis, goetz
2023-09-05 06:49:41 +07:00
Vitaly Provodin
5c1b303693 JBR-6008 Update JetBrains Mono fonts to v2.304 2023-09-02 05:57:09 +07:00
Vitaly Provodin
59858fdd3a update exclude list on results of 17.0.8_b1048.1 test runs 2023-09-02 05:56:29 +07:00
Maxim Kartashev
a7d6226673 JBR-6002 Linux: maximized window goes fullscreen after being moved between monitors 2023-09-01 10:03:19 +04:00
Maxim Kartashev
78bb738abd JBR-5971 Wayland: support WindowMove JBR API
Updated the XToolkit implementation to match API changes required for
WLToolkit
2023-08-29 10:45:25 +04:00
Dmitrii Morskii
6227fe00c8 JBR-5844: fix case with non-scalable face 2023-08-28 19:31:37 +02:00
Dmitrii Morskii
90b997935a JBR-5804: refactoring of freetypeScaler and moving fontconfig's logic in separate file 2023-08-28 18:40:17 +02:00
Vitaly Provodin
cfa5829cb9 update exclude list on results of 17.0.8_b1044.4 test runs 2023-08-25 17:35:25 +07:00
Dmitry Batrak
eedd728f53 JBR-5931 Add a counter for toolkit generated AWT events
update the fix, so that reflection isn't require to access the counter from IDE code
2023-08-24 15:56:19 +03:00
Sergei Tachenov
9ac4d0f3b3 JBR-5824 Ensure popup menus are on the correct screen
This is a very old bug, JDK-6415065.

What happens here is that when the position
of a popup menu is calculated, it can expand
above or below, depending on the position
of the parent menu, the item being expanded
and the size of the submenu and screen resolution.

If the menu decides to expand above,
the position calculation in JMenu.getPopupMenuOrigin
may yield a coordinate above the current screen.
Later, JPopupMenu.adjustPopupLocationToFitScreen
tries to fit the entire menu into the screen.
However, it has no idea which screen is correct,
as all it has is an (x, y) location. If that
location is invalid, it may correct it by
fitting it into the screen. However, if it is
valid, but located on an incorrect screen,
then the whole logic goes awry and the menu
is fitted into the wrong screen.

Fix by pre-adjusting the Y location to fit
into the correct screen in JMenu.getPopupMenuOrigin,
where the correct screen is still known.
The resulting location may still not be final,
as the menu's height needs to be taken into
account as well, but that's exactly what
JPopupMenu.adjustPopupLocationToFitScreen does.
Since the coordinate is on the correct screen now,
it fits the menu into the same screen, which
guarantees it'll be the correct one.
2023-08-22 12:30:58 +04:00
Dmitry Batrak
c8e3353140 JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there 2023-08-21 13:35:47 +03:00
Vitaly Provodin
e8ea8259dd update exclude list on results of 17.0.8_b1041.2 test runs (follow up) 2023-08-17 17:42:12 +07:00
Vitaly Provodin
ed8e703551 update exclude list on results of 17.0.8_b1041.2 test runs 2023-08-17 11:05:14 +07:00
Dmitry Batrak
2752412c77 JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw 2023-08-16 15:25:04 +03:00
Sergey Nazarkin
3f7a6e46a3 8288719: [arm32] SafeFetch32 thumb interleaving causes random crashes
8284997: arm32 build crashes since JDK-8283326
8285675: Temporary fix for arm32 SafeFetch

Reviewed-by: stuefe
Backport-of: 26c03c1860
2023-08-15 05:45:49 +07:00
Sergey Nazarkin
e847ecdb99 8283326: Implement SafeFetch statically
Reviewed-by: stuefe
Backport-of: bdf8a2a205
2023-08-15 05:45:43 +07:00
Fei Yang
64173c43ce 8276799: Implementation of JEP 422: Linux/RISC-V Port
8282306: os::is_first_C_frame(frame*) crashes on invalid link access
8282477: [x86, aarch64] vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler
8283865: riscv: Break down -XX:+UseRVB into seperate options for each bitmanip extension
8284068: riscv: should call Atomic::release_store in JavaThread::set_thread_state
8284937: riscv: should not allocate special register for temp
8285303: riscv: Incorrect register mask in call_native_base
8287418: riscv: Fix correctness issue of MacroAssembler::movptr
8297644: RISC-V: Compilation error when shenandoah is disabled
8291952: riscv: Remove PRAGMA_NONNULL_IGNORED
8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops*
8285699: riscv: Provide information when hitting a HaltNode
8285711: riscv: RVC: Support disassembler show-bytes option
8287425: Remove unnecessary register push for MacroAssembler::check_klass_subtype_slow_path
8287552: riscv: Fix comment typo in li64
8287970: riscv: jdk/incubator/vector/*VectorTests failing
8290137: riscv: small refactoring for add_memory_int32/64
8290164: compiler/runtime/TestConstantsInError.java fails on riscv
8290496: riscv: Fix build warnings-as-errors with GCC 11
8291893: riscv: remove fence.i used in user space
8291947: riscv: fail to build after JDK-8290840
8292867: RISC-V: Simplify weak CAS return value handling
8293050: RISC-V: Remove redundant non-null assertions about macro-assembler
8293100: RISC-V: Need to save and restore callee-saved FloatRegisters in StubGenerator::generate_call_stub
8293474: RISC-V: Unify the way of moving function pointer
8293524: RISC-V: Use macro-assembler functions as appropriate
8293566: RISC-V: Clean up push and pop registers
8294012: RISC-V: get/put_native_u8 missing the case when address&7 is 6
8294083: RISC-V: Minimal build failed with --disable-precompiled-headers
8294086: RISC-V: Cleanup InstructionMark usages in the backend
8294087: RISC-V: RVC: Fix a potential alignment issue and add more alignment assertions for the patchable calls/nops
8294187: RISC-V: Unify all relocations for the backend into AbstractAssembler::relocate()
8294366: RISC-V: Partially mark out incompressible regions
8294430: RISC-V: Small refactoring for movptr_with_offset
8294492: RISC-V: Use li instead of patchable movptr at non-patchable callsites
8294679: RISC-V: Misc crash dump improvements
8295110: RISC-V: Mark out relocations as incompressible
8295270: RISC-V: Clean up and refactoring for assembler functions
8295396: RISC-V: Cleanup useless CompressibleRegions
8295926: RISC-V: C1: Fix LIRGenerator::do_LibmIntrinsic
8295968: RISC-V: Rename some assembler intrinsic functions for RVV 1.0
8296435: RISC-V: Small refactoring for increment/decrement
8296447: RISC-V: Make the operands order of vrsub_vx/vrsub_vi consistent with RVV 1.0 spec
8296448: RISC-V: Fix temp usages of heapbase register killed by MacroAssembler::en/decode_klass_not_null
8296602: RISC-V: improve performance of copy_memory stub
8296771: RISC-V: C2: assert(false) failed: bad AD file
8296916: RISC-V: Move some small macro-assembler functions to header file
8297359: RISC-V: improve performance of floating Max Min intrinsics
8297697: RISC-V: Add support for SATP mode detection
8301067: RISC-V: better error message when reporting unsupported satp modes
8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension
8299168: RISC-V: Fix MachNode size mismatch for MacroAssembler::_verify_oops*
8299847: RISC-V: Improve PrintOptoAssembly output of CMoveI/L nodes
8300109: RISC-V: Improve code generation for MinI/MaxI nodes
8301033: RISC-V: Handle special cases for MinI/MaxI nodes for Zbb
8301036: RISC-V: Factor out functions baseOffset & baseOffset32 from MacroAssembler
8301153: RISC-V: pipeline class for several instructions is not set correctly
8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule
8301628: RISC-V: c2 fix pipeline class for several instructions
8301818: RISC-V: Factor out function mvw from MacroAssembler
8302114: RISC-V: Several foreign jtreg tests fail with debug build after JDK-8301818
8301852: RISC-V: Optimize class atomic when order is memory_order_relaxed
8302289: RISC-V: Use bgez instruction in arraycopy_simple_check when possible
8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
8305006: Use correct register in riscv_enc_fast_unlock()
8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
8305112: RISC-V: Typo fix for RVC description
8305512: RISC-V: Enable RVC extension by default on supported hardware
8305728: RISC-V: Use bexti instruction to do single-bit testing
8306667: RISC-V: Fix storeImmN0 matching rule by using zr register
8307150: RISC-V: Remove remaining StoreLoad barrier with UseCondCardMark for Serial/Parallel GC
8307446: RISC-V: Improve performance of floating point to integer conversion
8307651: RISC-V: stringL_indexof_char instruction has wrong format string
8308089: [riscv-port-jdk17u] Intrinsify Unsafe.storeStoreFence
8308277: RISC-V: Improve vectorization of Match.sqrt() on floats
8308997: RISC-V: Sign extend when comparing 32-bit value with zero instead of testing the sign bit
8309427: [riscv-port-jdk17u] Remove unused RoundDoubleModeV C2 node
8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
8285630: Fix a configure error in RISC-V cross build
8277417: C1 LIR instruction for load-klass

Reviewed-by: vkempik, goetz, shade, yadongwang, fjiang, luhenry
Backport-of: 5905b02c0e
2023-08-15 05:45:15 +07:00
Dmitry Batrak
a724abc6f5 JBR-5931 Add a counter for toolkit generated AWT events 2023-08-11 22:23:28 +03:00
Vitaly Provodin
d26a19c187 update exclude list on results of 17.0.8_b1038.3 test runs 2023-08-07 05:58:41 +07:00
Dmitrii Morskii
36cf861aac JBR-5724: fixed serialization and backward compatibility of Font 2023-08-02 12:29:13 +02:00
Vitaly Provodin
11113008c8 update exclude list on results of 17.0.7_b1034.2 test runs 2023-08-02 09:58:05 +07:00
Dmitry Batrak
55598693c3 JBR-5823 IDEA crashes when '-Dmain.thread.as.edt=true' vmoption is set and VoiceOver is enabled
done as part of JBR-4993 Support using 'main' thread as EDT on macOS
2023-08-01 21:19:01 +03:00
Dmitrii Morskii
7ba046a156 JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale 2023-07-31 16:16:45 +02:00
Christoph Langer
e861712bea 8311467: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.8
Reviewed-by: goetz
2023-07-23 08:03:18 +07:00
Andrew Haley
6f2f19e722 8308682: Enhance AES performance
Reviewed-by: adinn
Backport-of: ff9eac237d434b51e22ae55cf95595731a2e676c
2023-07-23 05:36:35 +07:00
Martin Balao
4e76175851 8305312: Enhanced path handling
Reviewed-by: yan
Backport-of: cb7cef2b85264c2bd2d00f1c0e5010969aa618d3
2023-07-23 05:36:35 +07:00
Martin Balao
f011d26954 8304468: Better array usages
Reviewed-by: mbaesken
Backport-of: cb7cef2b85264c2bd2d00f1c0e5010969aa618d3
2023-07-23 05:36:34 +07:00
Martin Balao
067e2c62c4 8304460: Improve array usages
Reviewed-by: yan
Backport-of: 45a4e33d424fa953ce40edd9cff023f8bb0d04e1
2023-07-23 05:36:34 +07:00
Aleksei Voitylov
f1a420b206 8303376: Better launching of JDI
Reviewed-by: yan, mbalao
Backport-of: 96cae3b3bc39898a60071369f8264e8503df32a0
2023-07-23 05:36:34 +07:00
Yuri Nesterenko
3ad32534fe 8302483: Enhance ZIP performance
Reviewed-by: mbalao
Backport-of: 05661fdcb4ced0c7c2e9eab3464c2447f38c94c3
2023-07-23 05:36:34 +07:00
Ekaterina Vergizova
b4cfa9a6a1 8302475: Enhance HTTP client file downloading
Reviewed-by: mbalao
Backport-of: 1d26da2ef83de0c76f3c4b85c98c6c30d2e3aaf3
2023-07-23 05:36:33 +07:00
Alexei Voitylov
7a5e9e0339 8300596: Enhance Jar Signature validation
Reviewed-by: yan, mbalao
Backport-of: a099d8bf015950db7f0b0ca792e4a9dc951a15cf
2023-07-23 05:36:33 +07:00
Aleksei Voitylov
a3a6a062f8 8300285: Enhance TLS data handling
Reviewed-by: yan, mbalao
Backport-of: 3d6dc4022049fb83b92ba94150ba2c073de88892
2023-07-23 05:36:33 +07:00
Sergey Bylokhov
b4b19c9c89 8298676: Enhanced Look and Feel
Reviewed-by: mbalao
Backport-of: 932ee4043e4a4a262a4c0b747f1367858f55198e
2023-07-23 05:36:33 +07:00
Roman Marchenko
6cd47d5ba9 8296565: Enhanced archival support
Reviewed-by: mbalao
Backport-of: 4706e8d4a2e7df021085933f3b3e96a26385a449
2023-07-23 05:36:32 +07:00
Olga Mikhaltsova
ac99bb6ee3 8294323: Improve Shared Class Data
Reviewed-by: mbalao
Backport-of: a231b27b7bbd03b5c439583b278f045c8b84f55f
2023-07-23 05:36:32 +07:00
Christoph Langer
4f010280b6 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Backport-of: ac41c03003
2023-07-23 05:36:32 +07:00
Severin Gehwolf
8e55072f29 8308884: [17u/11u] Backout JDK-8297951
This reverts commit 08e30d0b37

Reviewed-by: shade
2023-07-23 05:36:32 +07:00
Goetz Lindenmaier
af469d0f5a 8287876: The recently de-problemlisted TestTitledBorderLeak test is unstable
Backport-of: bf439f8c93
2023-07-23 05:36:31 +07:00
Goetz Lindenmaier
a435bf557f 8308880: [17u] micro bench ZoneStrings missed in backport of 8278434
Reviewed-by: shade
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
109a5a1e7c 8293492: ShenandoahControlThread missing from hs-err log and thread dump
Reviewed-by: phh
Backport-of: 85ec1f8d02
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
6514695e5b 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Backport-of: cf6b9eb8c8
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
645b1f00ea 8293295: Add type check asserts to java_lang_ref_Reference accessors
Reviewed-by: phh
Backport-of: 32f4dc8403
2023-07-23 05:36:30 +07:00
Aleksey Shipilev
caeda299bf 8294183: AArch64: Wrong macro check in SharedRuntime::generate_deopt_blob
Backport-of: f3ba332fdc
2023-07-23 05:36:30 +07:00
Ningsheng Jian
c011d20d59 8274243: Implement fast-path for ASCII-compatible CharsetEncoders on aarch64
Backport-of: ddddec7d74
2023-07-23 05:36:30 +07:00
Alexey Bakhtin
f826a974f0 8303809: Dispose context in SPNEGO NegotiatorImpl
Backport-of: 10f1674625
2023-07-23 05:36:29 +07:00
Andrew John Hughes
50cbcf90fd 8301119: Support for GB18030-2022
Reviewed-by: sgehwolf
Backport-of: a253b46021
2023-07-23 05:36:29 +07:00
Aleksey Shipilev
a62c2cf297 8286331: jni_GetStringUTFChars() uses wrong heap allocator
Backport-of: b0d2b0a355
2023-07-23 05:36:29 +07:00
Aleksey Shipilev
7eb91cfbd7 8286346: 3-parameter version of AllocateHeap should not ignore AllocFailType
Backport-of: 64b05ccbed
2023-07-23 05:36:28 +07:00
Matthias Baesken
f88071c8d9 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Backport-of: 9145670354
2023-07-23 05:36:28 +07:00
Aleksey Shipilev
0ae395bb50 8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses
Backport-of: c0623972cf
2023-07-23 05:36:28 +07:00
Aleksey Shipilev
912e20a9d3 8283520: JFR: Memory leak in dcmd_arena
Backport-of: 6a8be358d2
2023-07-23 05:36:28 +07:00
Victor Rudometov
735c9b1d60 8307128: Open source some drag and drop tests 4
8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg `@requires` clause

Reviewed-by: phh
Backport-of: 98294242a9
2023-07-23 05:36:27 +07:00
Aleksey Shipilev
fdf9368f83 8294717: (bf) DirectByteBuffer constructor will leak if allocating Deallocator or Cleaner fails with OOME
Backport-of: 4cbac40de9
2023-07-23 05:36:27 +07:00
Alexey Pavlyutkin
82ddad690c 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: goetz
Backport-of: da044dd569
2023-07-23 05:36:27 +07:00
Aleksey Shipilev
e68148daea 8275287: Relax memory ordering constraints on updating instance class and array class counters
Backport-of: 002c538bc0
2023-07-23 05:36:27 +07:00
Arno Zeller
3c8d6b1bea 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Backport-of: 5c7ede94ae
2023-07-23 05:36:26 +07:00
Aleksey Shipilev
77c9100a53 8274615: Support relaxed atomic add for linux-aarch64
Reviewed-by: aph
Backport-of: 8de26361f7
2023-07-23 05:36:26 +07:00
Matthias Baesken
c2117edf82 8307135: java/awt/dnd/NotReallySerializableTest/NotReallySerializableTest.java failed
Backport-of: d43a5a289f
2023-07-23 05:36:26 +07:00
Aleksey Shipilev
f549be550b 8227060: Optimize safepoint cleanup subtask order
Reviewed-by: phh
Backport-of: 96a542feb2
2023-07-23 05:36:26 +07:00
Victor Rudometov
6a0d02b33e 8306640: Open source several AWT TextArea related tests
Backport-of: 169a7c27a7
2023-07-23 05:36:25 +07:00
Goetz Lindenmaier
1a243cbdd4 8308554: [17u] Fix commit of 8286191. vm.musl was not removed from ExternalEditorTest
Reviewed-by: shade
2023-07-23 05:36:25 +07:00
Victor Rudometov
3988526c25 8306752: Open source several container and component AWT tests
Backport-of: 88d9ebf8e8
2023-07-23 05:36:25 +07:00
Victor Rudometov
9384d4ed10 8306755: Open source few Swing JComponent and AbstractButton tests
Backport-of: f3e8bd1d11
2023-07-23 05:36:25 +07:00
Victor Rudometov
0a474dc859 8306683: Open source several clipboard and color AWT tests
Backport-of: 1c2dadc31e
2023-07-23 05:36:24 +07:00
Victor Rudometov
71432ce15b 8306652: Open source AWT MenuItem related tests
Backport-of: ed1ebd242a
2023-07-23 05:36:24 +07:00
Victor Rudometov
6e4c8dc082 8306409: Open source AWT KeyBoardFocusManger, LightWeightComponent related tests
Backport-of: 732179ca84
2023-07-23 05:36:24 +07:00
Victor Rudometov
c59a2ee398 8306850: Open source AWT Modal related tests
Backport-of: 41ba05e450
2023-07-23 05:36:24 +07:00
Victor Rudometov
d1e1cfea52 8306072: Open source several AWT MouseInfo related tests
Backport-of: 44d9f55d0b
2023-07-23 05:36:23 +07:00
Victor Rudometov
d2b940e5b2 8307080: Open source some more JComboBox jtreg tests
Backport-of: b8de39431d
2023-07-23 05:36:23 +07:00
Victor Rudometov
a4db19bd62 8306133: Open source few AWT Drag & Drop related tests
Backport-of: ec5c7926f3
2023-07-23 05:36:23 +07:00
Victor Rudometov
21838d035f 8306681: Open source more AWT DnD related tests
Backport-of: 05af487a2d
2023-07-23 05:36:23 +07:00
Victor Rudometov
3586b74821 8306955: Open source several JComboBox jtreg tests
Backport-of: 1f689241cf
2023-07-23 05:36:22 +07:00
Victor Rudometov
f12d205a72 8306432: Open source several AWT Text Component related tests
Backport-of: 485a0691f4
2023-07-23 05:36:22 +07:00
Victor Rudometov
dce0f07dd6 8306954: Open source five Focus related tests
Backport-of: 6d6d00b69c
2023-07-23 05:36:22 +07:00
Jiangli Zhou
44b0960e51 8307134: Add GTS root CAs
Reviewed-by: phh
Backport-of: 03030d47eb
2023-07-23 05:36:22 +07:00
Alexey Pavlyutkin
97f5c5d9a9 8268582: javadoc throws NPE with --ignore-source-errors option
Backport-of: 0dfb3a705d
2023-07-23 05:36:21 +07:00
Aleksey Shipilev
7fdebe0aba 8287854: Dangling reference in ClassVerifier::verify_class
Backport-of: 3fa99844a6
2023-07-23 05:36:21 +07:00
Alexey Pavlyutkin
5bc3878fbc 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Backport-of: d7c283a081
2023-07-23 05:36:21 +07:00
Alexey Pavlyutkin
92b2b70e08 8296343: CPVE thrown on missing content-length in OCSP response
Backport-of: 1a3cb8c501
2023-07-23 05:36:20 +07:00
Aleksey Shipilev
73cad0a7be 8261495: Shenandoah: reconsider update references memory ordering
Backport-of: a96012a7af
2023-07-23 05:36:20 +07:00
Aleksey Shipilev
54e8ec9cc0 8297154: Improve safepoint cleanup logging
Backport-of: 086763a629
2023-07-23 05:36:20 +07:00
Victor Rudometov
0e916db5ee 8306753: Open source several container AWT tests
Backport-of: b372f28ad4
2023-07-23 05:36:20 +07:00
William Kemper
075eee455f 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: phh
Backport-of: 8f816bbd28f2b771f2b070f49718a492c1a0771a
2023-07-23 05:36:19 +07:00
Christoph Langer
7e2f94c91f 8284331: Add sanity check for signal handler modification warning.
Reviewed-by: kevinw
Backport-of: 116763cb5d
2023-07-23 05:36:19 +07:00
Christoph Langer
f3ad8ce483 8276058: Some swing test fails on specific CI macos system
8277407: javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java fails to compile after JDK-8276058

Backport-of: 91607436b7
2023-07-23 05:36:19 +07:00
Jonathan Dowland
5051a280d7 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: andrew
Backport-of: 6b9b7d1d92
2023-07-23 05:36:19 +07:00
Victor Rudometov
554de9298a 8306489: Open source AWT List related tests
Backport-of: 82a8e91ef7
2023-07-23 05:36:18 +07:00
Victor Rudometov
d58c7e2416 8307133: Open source some JTable jtreg tests
Backport-of: 5ca0b08a75
2023-07-23 05:36:18 +07:00
Victor Rudometov
31b0feb1ef 8306943: Open source several dnd AWT tests
Backport-of: 2adb3b409e
2023-07-23 05:36:18 +07:00
Victor Rudometov
88daae5b6a 8307381: Open Source JFrame, JIF related Swing Tests
Backport-of: 4386d42d31
2023-07-23 05:36:17 +07:00
Victor Rudometov
4746b4260f 8306871: Open source more AWT Drag & Drop tests
Backport-of: b5a48277ab
2023-07-23 05:36:17 +07:00
Victor Rudometov
cb72db3a48 8306941: Open source several datatransfer and dnd AWT tests
Backport-of: 3d3eaed913
2023-07-23 05:36:17 +07:00
Victor Rudometov
50efe6d821 8307130: Open source few Swing JMenu tests
Backport-of: d9052b9466
2023-07-23 05:36:17 +07:00
Oli Gillespie
09f89aa192 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Backport-of: 3f1927a7f3
2023-07-23 05:36:16 +07:00
Soumadipta Roy
8d160e91d0 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: ogillespie, shade
Backport-of: 73ac710533
2023-07-23 05:36:16 +07:00
Victor Rudometov
7d9f5330c3 8306996: Open source Swing MenuItem related tests
Backport-of: 73491fa452
2023-07-23 05:36:16 +07:00
ktakakuri
66a00ab911 8248001: javadoc generates invalid HTML pages whose ftp:// links are broken
Backport-of: bb95dda0ac
2023-07-23 05:36:16 +07:00
Matthias Baesken
7ddf5e3532 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mdoerr
Backport-of: c7e1df8328
2023-07-23 05:36:15 +07:00
Andrei Pangin
55c80b1d18 8299544: Improve performance of CRC32C intrinsics (non-AVX-512) for small inputs
Reviewed-by: phh
Backport-of: 8c70bf3fff
2023-07-23 05:36:15 +07:00
Martin Doerr
caf87ab345 8295974: jni_FatalError and Xcheck:jni warnings should print the native stack when there are no Java frames
Reviewed-by: rrich
Backport-of: 375743336d
2023-07-23 05:36:15 +07:00
Matthias Baesken
4ed4559256 8305975: Add TWCA Global Root CA
Reviewed-by: mdoerr
Backport-of: 82ccfe3a21
2023-07-23 05:36:15 +07:00
Matthias Baesken
d2c81a7de0 8282201: Consider removal of expiry check in VerifyCACerts.java test
Backport-of: 5b43804b79
2023-07-23 05:36:14 +07:00
Martin Doerr
1a01ef95f5 8305088: SIGSEGV in Method::is_method_handle_intrinsic
Reviewed-by: mbaesken
2023-07-23 05:36:14 +07:00
Matthias Baesken
d908229023 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Backport-of: 3c7ab80501
2023-07-23 05:36:14 +07:00
Matthias Baesken
bcc3d4b373 8304867: Explicitly disable dtrace for ppc builds
Reviewed-by: clanger
Backport-of: ff368d504e
2023-07-23 05:36:14 +07:00
Goetz Lindenmaier
a46b191abc 8297587: Upgrade JLine to 3.22.0
Reviewed-by: mbaesken
Backport-of: 4619e8bae8
2023-07-23 05:36:13 +07:00
Richard Reingruber
7b9dfada86 8301216: ForkJoinPool invokeAll() ignores timeout
Reviewed-by: clanger
2023-07-23 05:36:13 +07:00
Goetz Lindenmaier
88c03c2166 8296934: Write a test to verify whether Undecorated Frame can be iconified or not
Backport-of: 7845b0d7b4
2023-07-23 05:36:13 +07:00
Goetz Lindenmaier
9909bde9f6 8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower than expected
Backport-of: 6ccee83958
2023-07-23 05:36:13 +07:00
Andrew Dinn
c641b18d61 8307331: Correctly update line maps when class redefine rewrites bytecodes
Backport-of: f94f957734
2023-07-23 05:36:12 +07:00
Matthias Baesken
0502c843ce 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Backport-of: ebba42ac52
2023-07-23 05:36:12 +07:00
Guoxiong Li
afe4d826f0 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Backport-of: 49726ee3a9
2023-07-23 05:36:12 +07:00
Goetz Lindenmaier
9af5ec6db0 8299570: [JVMCI] Insufficient error handling when CodeBuffer is exhausted
Reviewed-by: shade
Backport-of: ad326fc62b
2023-07-23 05:36:12 +07:00
Goetz Lindenmaier
c149bff710 8302508: Add timestamp to the output TraceCompilerThreads
Reviewed-by: shade
Backport-of: f813dc7183
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
d7e0b0873f 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter
Backport-of: ea83cb960d
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
9db43aed24 8289509: Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling
Backport-of: 1961e81e02
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
6212570509 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM
Backport-of: 319faa5afc
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
98a4704448 8292990: Improve test coverage for XPath Axes: parent
Backport-of: e393973761
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
f45434b60b 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName
Backport-of: 1451642317
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
f21b08dc14 8286398: Address possibly lossy conversions in jdk.internal.le
Backport-of: e534c133af
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
a129b899eb 8286191: misc tests fail due to JDK-8285987
Reviewed-by: mbaesken
Backport-of: de8f4d01b2
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
c693444c91 8285987: executing shell scripts without #! fails on Alpine linux
Backport-of: 9d2f591e6a
2023-07-23 05:36:09 +07:00
Goetz Lindenmaier
3bcfdad24b 8283057: Update GCC to version 11.2.0 for Oracle builds on Linux
Reviewed-by: mbaesken
Backport-of: 8384ac4ed3
2023-07-23 05:36:09 +07:00
Goetz Lindenmaier
d74bddbf52 8275735: [linux] Remove deprecated Metrics api (kernel memory limit)
Backport-of: 9971a2cab3
2023-07-23 05:36:09 +07:00
Tyler Steele
da8187c618 8304291: [AIX] Broken build after JDK-8301998
Backport-of: 310aa93478
2023-07-23 05:36:09 +07:00
Aleksey Shipilev
34a9b20139 8306825: Monitor deflation might be accidentally disabled by zero intervals
Backport-of: a6b4f25bd5
2023-07-23 05:36:08 +07:00
Aleksey Shipilev
256ddef413 8306774: Make runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java more reliable
Reviewed-by: serb, simonis
Backport-of: 9ad6dc881d
2023-07-23 05:36:08 +07:00
Aleksey Shipilev
94f275b084 8305994: Guarantee eventual async monitor deflation
Reviewed-by: eastigeevich, simonis
Backport-of: 6b81342c22
2023-07-23 05:36:08 +07:00
Christoph Langer
5da74d1d8f 8257856: Make ClassFileVersionsTest.java robust to JDK version updates
Reviewed-by: mbaesken
Backport-of: 8b042d14b7
2023-07-23 05:36:08 +07:00
Goetz Lindenmaier
912f129cf7 8303508: Vector.lane() gets wrong value on x86
Backport-of: d61de141eb
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
72d70c63d3 8303069: Memory leak in CompilerOracle::parse_from_line
Backport-of: 384a8b85a7
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
552d442bc0 8303564: C2: "Bad graph detected in build_loop_late" after a CMove is wrongly split thru phi
Backport-of: 5e232cf0a9
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
a68d284910 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: shade
Backport-of: 3f2d929dc3
2023-07-23 05:36:06 +07:00
Alexey Pavlyutkin
a511096129 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: phh, stuefe
Backport-of: a00f5d24d3
2023-07-23 05:36:06 +07:00
Sergey Nazarkin
e31b7d1ff2 8305481: gtest is_first_C_frame failing on ARM
Backport-of: 0243da2e4a
2023-07-23 05:36:06 +07:00
Goetz Lindenmaier
e16d0ceb45 8297955: LDAP CertStore should use LdapName and not String for DNs
8224768: Test ActalisCA.java fails

Backport-of: df9aad018a
2023-07-23 05:36:05 +07:00
Goetz Lindenmaier
3c2cd38b32 8303476: Add the runtime version in the release file of a JDK image
Backport-of: 32247c336a
2023-07-23 05:36:05 +07:00
Goetz Lindenmaier
81002724de 8287897: Augment src/jdk.internal.le/share/legal/jline.md with information on 4th party dependencies
Backport-of: bc28baeba9
2023-07-23 05:36:05 +07:00
Matthias Baesken
0b48a73e62 8303822: gtestMain should give more helpful output
Backport-of: 0f26d09da8
2023-07-23 05:36:05 +07:00
Aleksey Shipilev
bae4ce550a 8301190: [vectorapi] The typeChar of LaneType is incorrect when default locale is tr
Backport-of: c3ff151457
2023-07-23 05:36:04 +07:00
Christoph Langer
0fa19b7177 8289735: UTIL_LOOKUP_PROGS fails on pathes with space
8306976: UTIL_REQUIRE_SPECIAL warning on grep

Reviewed-by: mbaesken
Backport-of: bad6aa68e4
2023-07-23 05:36:04 +07:00
Thomas Stuefe
7f2f49f12a 8306883: Thread stacksize is reported with wrong units in os::create_thread logging
Backport-of: 27c5c1070a
2023-07-23 05:36:04 +07:00
William Kemper
3804b82d6b 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: shade
Backport-of: 793da60ee8
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
cb73ec982d 8303130: Document required Accessibility permissions on macOS
Reviewed-by: dmarkov
Backport-of: a10d5ac61b
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
480fdc7f30 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Backport-of: cd77fcfb5f
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
784cef6826 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Backport-of: 47ca5773a5
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
c195c415b8 8300079: SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument
Reviewed-by: mdoerr
Backport-of: 45e4e00981
2023-07-23 05:36:02 +07:00
Christoph Langer
f8ef78382d 8306664: GHA: Update MSVC version to latest stepping
Reviewed-by: shade
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
5388dcf611 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: rrich
Backport-of: 3cc459b6c2
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
0dd0e8b40f 8293858: Change PKCS7 code to use default SecureRandom impl instead of SHA1PRNG
Backport-of: 2157145766
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
b8f5ed026b 8254711: Add java.security.Provider.getService JFR Event
8294673: JFR: Add SecurityProviderService#threshold to TestActiveSettingEvent.java

Reviewed-by: mbaesken
Backport-of: bc2af47e1e
2023-07-23 05:36:01 +07:00
Anton Kozlov
63479998e3 8306768: CodeCache Analytics reports wrong threshold
Reviewed-by: phh
2023-07-23 05:36:01 +07:00
Aleksey Shipilev
2234417d3b 8296545: C2 Blackholes should allow load optimizations
Reviewed-by: mdoerr
Backport-of: eab0ada3a1
2023-07-23 05:36:01 +07:00
Christoph Langer
b7cbf486eb 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Backport-of: d980cb4879
2023-07-23 05:36:00 +07:00
Aleksey Shipilev
0e387a45d3 8283566: G1: Improve G1BarrierSet::enqueue performance
Reviewed-by: tschatzl
Backport-of: 6ebf845ff7
2023-07-23 05:36:00 +07:00
Aleksey Shipilev
468ce2c9eb 8252990: Intrinsify Unsafe.storeStoreFence
Backport-of: b7a06be98d
2023-07-23 05:36:00 +07:00
Goetz Lindenmaier
7075d0d785 8302594: use-after-free in Node::destruct
Backport-of: 2e3cea01da
2023-07-23 05:36:00 +07:00
Goetz Lindenmaier
d6107bc8e7 8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Backport-of: 1ef9f6507b
2023-07-23 05:35:59 +07:00
Goetz Lindenmaier
b7b14ce36c 8301338: Identical branch conditions in CompileBroker::print_heapinfo
Reviewed-by: mbaesken
Backport-of: d583767bf1
2023-07-23 05:35:59 +07:00
Goetz Lindenmaier
55ad383a13 8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts
Backport-of: da38d43fcc
2023-07-23 05:35:59 +07:00
Aleksey Shipilev
9dcc493683 8278146: G1: Rework VM_G1Concurrent VMOp to clearly identify it as pause
Reviewed-by: tschatzl
Backport-of: 3a1fca3adf
2023-07-23 05:35:58 +07:00
Masanori Yano
8d5ef9d938 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
Backport-of: d91e227abb
2023-07-23 05:35:58 +07:00
Goetz Lindenmaier
b246b394d7 8301998: Update HarfBuzz to 7.0.1
8304295: harfbuzz build fails with GCC 7 after JDK-8301998

Reviewed-by: phh
Backport-of: f5c8b68c1c
2023-07-23 05:35:58 +07:00
Christoph Langer
ae74b4933e 8306543: GHA: MSVC installation is failing
Backport-of: 5a00617b1b
2023-07-23 05:35:57 +07:00
Andrei Pangin
626d4e2e47 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: thartmann, shade
Backport-of: 94eda53d98
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
2d1699f8ec 8305400: ISO 4217 Amendment 175 Update
Backport-of: 7cf24d1c06
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
b17d874b4d 8304683: Memory leak in WB_IsMethodCompatible
Backport-of: 760c0128a4
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
f5b1b7f999 8304134: jib bootstrapper fails to quote filename when checking download filetype
Backport-of: 75168eaca3
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
909af5be46 8303482: Update LCMS to 2.15
Backport-of: c073ef2ed5
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
d325a62c46 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: mdoerr
Backport-of: 9fdbf3cfc4
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
8a28dfd28e 8302151: BMPImageReader throws an exception reading BMP images
Backport-of: aa10f0d3ee
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
e563aa74f3 8178806: Better exception logging in crypto code
Backport-of: b814cfc39d
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
56fdf88e8a 8301123: Enable Symbol refcounting underflow checks in PRODUCT
Backport-of: fccf818972
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
fa481bed5e 8297730: C2: Arraycopy intrinsic throws incorrect exception
Backport-of: 5a478ef775
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
8bacccb4da 8300823: UB: Compile::_phase_optimize_finished is initialized too late
Backport-of: e4252bb914
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
da1d6f3acf 8299179: ArrayFill with store on backedge needs to reduce length by 1
Backport-of: d716ec5d30
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
fdc23a96c3 8299259: C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE
Backport-of: 8b0133f276
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
0e68aff288 8296318: use-def assert: special case undetected loops nested in infinite loops
Backport-of: 736fcd49f7
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
cb2da35151 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS
Reviewed-by: mdoerr
Backport-of: 8962c723a8
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
bc8ca432c5 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]"
Backport-of: 9f94cbec51
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
9555b1043d 8285635: javax/swing/JRootPane/DefaultButtonTest.java failed with Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
Backport-of: 79c0092125
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
64bbc69476 8289949: Improve test coverage for XPath: operators
Backport-of: f6b6360155
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f47bb0b324 8277775: Fixup bugids in RemoveDropTargetCrashTest.java - add 4357905
Backport-of: 22347e46f7
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f15d48558c 8282704: runtime/Thread/StopAtExit.java may leak memory
Backport-of: 3f923b82c3
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f4992570d0 8273909: vmTestbase/nsk/jdi/Event/request/request001 can still fail with "ERROR: new event is not ThreadStartEvent"
Backport-of: 5fde4b64e2
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
3c06052b09 8270434: JDI+UT: Unexpected event in JDI tests
Backport-of: 8c022e2c17
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
649803df7e 8270869: G1ServiceThread may not terminate
Backport-of: 7f35e5bac9
2023-07-23 05:35:51 +07:00
Goetz Lindenmaier
823d9b0e88 8268298: jdk/jfr/api/consumer/log/TestVerbosity.java fails: unexpected log message
Backport-of: 06d26208c5
2023-07-23 05:35:51 +07:00
Sergey Bylokhov
74e2d20b57 8298887: On the latest macOS+XCode the Robot API may report wrong colors
Reviewed-by: phh
Backport-of: 50120396b6
2023-07-23 05:35:51 +07:00
Aleksey Shipilev
05b61d2ab9 8269821: Remove is-queue-active check in inner loop of write_ref_array_pre_work
Reviewed-by: tschatzl
Backport-of: 675a9520b2
2023-07-23 05:35:51 +07:00
Goetz Lindenmaier
ed822ac285 8299959: C2: CmpU::Value must filter overflow computation against local sub computation
Backport-of: 5f66024e95
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
f8ea6c9331 8297000: [jib] Add more friendly warning for proxy issues
Backport-of: 0d93ab9dff
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
1f0c564bcb 8295564: Norwegian Nynorsk Locale is missing formatting
Reviewed-by: andrew
Backport-of: b37421e757
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
f2f2db8236 8294906: Memory leak in PKCS11 NSS TLS server
Backport-of: 94caecbe57
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
d45d91c7ce 8292755: Non-default method in interface leads to a stack overflow in JShell
Backport-of: 2a3879180e
2023-07-23 05:35:49 +07:00
Goetz Lindenmaier
c90b6899e2 8287007: [cgroups] Consistently use stringStream throughout parsing code
Backport-of: e0baf012b1
2023-07-23 05:35:49 +07:00
Goetz Lindenmaier
2ee968b9d9 8287246: DSAKeyValue should check for missing params instead of relying on KeyFactory provider
Backport-of: f235955eef
2023-07-23 05:35:49 +07:00
Jaroslav Bachorik
036fe2e7fd 8245877: assert(_value != __null) failed: resolving NULL _value in JvmtiExport::post_compiled_method_load
Backport-of: b969136b9f
2023-07-23 05:35:49 +07:00
Andrew John Hughes
ee13c52118 8305113: (tz) Update Timezone Data to 2023c
Reviewed-by: phh
Backport-of: ed9592c6e8
2023-07-23 05:35:48 +07:00
Goetz Lindenmaier
b2c97200f4 8288589: Files.readString ignores encoding errors for UTF-16
Backport-of: 2728770e3d
2023-07-23 05:35:48 +07:00
Thomas Stuefe
070b037306 8305711: Arm: C2 always enters slowpath for monitorexit
Backport-of: c67bbcea92
2023-07-23 05:35:47 +07:00
Joshua Cao
fa2a359245 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: phh
Backport-of: 9e20382311
2023-07-23 05:35:47 +07:00
Andrew John Hughes
1fe0dd5b50 8274864: Remove Amman/Cairo hacks in ZoneInfoFile
Backport-of: ec199072c5
2023-07-23 05:35:47 +07:00
Ilarion Nakonechnyy
731ed02fef 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: phh
Backport-of: 5685107579
2023-07-23 05:35:47 +07:00
Dan Lutker
7c420c8c5f 8293887: AArch64 build failure with GCC 12 due to maybe-uninitialized warning in libfdlibm k_rem_pio2.c
Backport-of: 02ea338177
2023-07-23 05:35:46 +07:00
Dan Lutker
893cc4537a 8294281: Allow warnings to be disabled on a per-file basis
Backport-of: e45f3d5176
2023-07-23 05:35:46 +07:00
Glavo
dbbb55de86 8278834: Error "Cannot read field "sym" because "this.lvar[od]" is null" when compiling
Reviewed-by: phh
Backport-of: be0538d7c8
2023-07-23 05:35:46 +07:00
Martin Doerr
22abe3272e 8304880: [PPC64] VerifyOops code in C1 doesn't work with ZGC
Reviewed-by: rrich
Backport-of: 695683b5b1
2023-07-23 05:35:46 +07:00
Goetz Lindenmaier
a8669849c9 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Backport-of: 8dc4437d00
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
4fa2317aaa 8291638: Keep-Alive timeout of 0 should close connection immediately
Backport-of: 26ac836636
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
b23fb48384 8282227: Locale information for nb is not working properly
Backport-of: 3d07b3c7f0
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
175f3a2e3b 8275721: Name of UTC timezone in a locale changes depending on previous code
Backport-of: 543d1a8cf4
2023-07-23 05:35:45 +07:00
Matthias Baesken
f132881f29 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: phh
Backport-of: 63d4afbeb1
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
ae59792000 8291226: Create Test Cases to cover scenarios for JDK-8278067
Backport-of: 86ec158dfb
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
77dcf04580 8291637: HttpClient default keep alive timeout not followed if server sends invalid value
Backport-of: b17a745d7f
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
209c44faa2 8287541: Files.writeString fails to throw IOException for charset "windows-1252"
Backport-of: 6fb84e2c91
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
066dbcbb7e 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Backport-of: cc7560e995
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
2cfca521e8 8283062: Uninitialized warnings in libgtest with GCC 11.2
Backport-of: a244051a8c
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
8d19648c96 8282077: PKCS11 provider C_sign() impl should handle CKR_BUFFER_TOO_SMALL error
Backport-of: d7f31d0d53
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
4ea4c810b6 8268288: jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.java fails with "Error: ShouldNotReachHere()"
Reviewed-by: mbaesken
Backport-of: 0a09092631
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
a0e33fd5d1 8302849: SurfaceManager might expose partially constructed object
Backport-of: 63ef214328
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
28746d6124 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Backport-of: a43931b79c
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
bd9136978e 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
Reviewed-by: phh
Backport-of: 78b1686c15
2023-07-23 05:35:41 +07:00
Matthias Baesken
496e7a545b 8303575: adjust Xen handling on Linux aarch64
Reviewed-by: clanger
Backport-of: 8eaf84f094
2023-07-23 05:35:41 +07:00
Matthias Baesken
a80b946148 8300042: Improve CPU related JFR events descriptions
Backport-of: e326b86d37
2023-07-23 05:35:41 +07:00
Matthias Baesken
cc8e82817b 8303576: addIdentitiesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Backport-of: a7e308ab6e
2023-07-23 05:35:40 +07:00
Goetz Lindenmaier
101b44c281 8292301: [REDO v2] C2 crash when allocating array of size too large
Reviewed-by: roland, mdoerr
Backport-of: 1ea0d6b424
2023-07-23 05:35:40 +07:00
Matthias Baesken
0ea456001a 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Backport-of: ebac7eec8e
2023-07-23 05:35:40 +07:00
Matthias Baesken
fc278cf7dd 8303949: gcc10 warning Linux ppc64le - note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
Reviewed-by: phh
Backport-of: a32ee5dd8b
2023-07-23 05:35:40 +07:00
Matthias Baesken
d4a5ee319d 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Backport-of: b51ea4204e
2023-07-23 05:35:39 +07:00
Matthias Baesken
df9d061819 8301050: Detect Xen Virtualization on Linux aarch64
Reviewed-by: clanger
Backport-of: 11804b246e
2023-07-23 05:35:39 +07:00
Ravali Yatham
320a02fd3c 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: mchung, phh
Backport-of: 9f9d678591
2023-07-23 05:35:39 +07:00
Johannes Bechberger
2dbad060cb 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Backport-of: db483a38a8
2023-07-23 05:35:38 +07:00
Man Cao
9d6cb36161 8303937: Corrupted heap dumps due to missing retries for os::write()
Reviewed-by: clanger
Backport-of: bf16b5b988
2023-07-23 05:35:38 +07:00
Sergey Bylokhov
38bcd2ba63 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Backport-of: cfb0a25a4e
2023-07-23 05:35:38 +07:00
Sergey Bylokhov
8efe8917ca 8270859: Post JEP 411 refactoring: client libs with maximum covering > 10K
Backport-of: 90cd2fa164
2023-07-23 05:35:38 +07:00
Vladimir Kempik
a4a6e0a6c8 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures
Backport-of: 6e6202c14d
2023-07-23 05:35:37 +07:00
Goetz Lindenmaier
df534dd672 8303433: Bump update version for OpenJDK: jdk-17.0.8
Reviewed-by: rrich
2023-07-23 05:35:37 +07:00
Vitaly Provodin
6298a9d861 update exclude list on results of 17.0.7_b1030.2 test runs 2023-07-21 06:42:08 +07:00
Maxim Kartashev
967210f131 JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.
2023-07-13 11:52:46 +04:00
bourgesl
ec80533eae fixup! JBR-5625: use sun.java2d.metal.colorMatching=true by default (current metal behaviour) 2023-07-12 21:12:56 +02:00
Vitaly Provodin
87c753ee01 update exclude list on results of 17.0.7_b1027.5 test runs 2023-07-11 16:27:08 +07:00
Vitaly Provodin
37467684d4 update exclude list on results of 17.0.7_b1023.3 test runs (follow up) 2023-07-07 19:30:26 +07:00
Vitaly Provodin
01e230a9d8 update exclude list on results of 17.0.7_b1023.3 test runs (follow up) 2023-07-07 07:22:34 +07:00
Alexey Ushakov
54928df298 JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance
2023-07-06 19:07:47 +02:00
Maxim Kartashev
d86b0671a9 JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr 2023-07-06 11:23:28 +04:00
Vitaly Provodin
b8dcdcde67 update exclude list on results of 17.0.7_b1023.3 test runs 2023-07-05 05:48:14 +07:00
bourgesl
ec605cbf20 fixup! JBR-5625: use CGColorSpaceCopyName() available since macOS 10.6 in MTLLayer
(cherry picked from commit 4ec4f728f4461a0c173bb80cd3f3c9652f267f4f)
2023-07-01 12:33:32 +02:00
bourgesl
8126139d6a JBR-5625: disable color-matching (colorspace = nil) in MTLLayer by default (see new system property 'sun.java2d.metal.colorMatching=true/false') + added new MetalLayerColorTest 2023-06-30 18:06:28 +02:00
Vitaly Provodin
994168c829 update exclude list on results of 17.0.7_b1014.2 test runs 2023-06-30 18:36:19 +07:00
Maxim Kartashev
7098b2a081 JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
2023-06-28 11:47:51 +04:00
Sergey Shelomentsev
ba68026993 fixup! JBR-5746 add mouse events logging 2023-06-27 23:17:37 +03:00
Dmitrii Morskii
e4e9a016e0 fixup! JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-26 17:58:18 +02:00
Dmitry Batrak
924d8258fc JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events 2023-06-26 12:09:27 +03:00
Alexey Ushakov
45b0c16363 JBR-5704 displaySyncOFF: javax/swing/JDialog/Transparency/TransparencyTest.java: JDialog transparency lost upon iconify/deiconify sequence
Corrected startRedraw method to call setNeedsDisplay in displaySync=false mode

(cherry picked from commit bd291402b1)
2023-06-23 19:24:14 +02:00
Alexey Ushakov
eb438186f4 JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary
2023-06-23 19:02:00 +02:00
Maxim Kartashev
695598f50a JBR-5722 vmTestbase/vm/gc/compact/Compact_TwoFields_InternedStrings: SIGSEGV at Symbol::as_klass_external_name(char*, int)
Do not use print_native_stack() when recording OOME stacks as it is
designed to be used only in the context of a fatal error reporting where
induced crash is tolerated.
Also, fixed the mutex to use more appropriate attributes.
2023-06-23 12:58:09 +04:00
Dmitry Batrak
576d818e54 JBR-5684 Focus state is broken after closing of modal dialog in an inactive application 2023-06-23 11:26:41 +03:00
Nikita Provotorov
fb12990a98 JBR-5762 Sometimes naturally generated MOUSE_DRAGGED events don't contain the pressed button's modifier.
Enforce keeping the pressed button in the modifiers for MOUSE_DRAGGED events. This is under a (default enabled) system property "awt.mac.enforceMouseModifiersForMouseDragged".
2023-06-22 18:29:03 +03:00
Maxim Kartashev
7814b100f3 JBR-5761 Make error printing more robust during early stages of VM initialization 2023-06-21 19:49:26 +04:00
Dmitrii Morskii
5ef38ed8fa JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-20 19:27:34 +02:00
Sergey Shelomentsev
503ff435f3 JBR-5746 wait for menu visibility of fail the test 2023-06-20 18:42:23 +03:00
Vitaly Provodin
9e2b36f851 update exclude list on results of 17.0.7_b985.2 test runs 2023-06-17 04:50:49 +07:00
Nikita Tsarev
ffd4d15a97 JBR-5379: Ignore input events only on permament focus loss 2023-06-16 15:19:05 +02:00
Prasanta Sadhukhan
024bf7ea1a 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
(cherry picked from commit 8346ae2bc1)
2023-06-13 22:26:28 +03:00
Damon Nguyen
f07fcaa150 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
(cherry picked from commit 418a82551a)
2023-06-13 22:26:20 +03:00
Vitaly Provodin
19ad2c2e41 update exclude list on results of 17.0.7_b979.4 test runs 2023-06-10 05:26:21 +07:00
Nikita Gubarkov
dec2a4ea61 JBR-5637 Linux: force release grabs before doing _NET_WM_MOVERESIZE. 2023-06-06 22:05:15 +02:00
Sergey Shelomentsev
c4b0af93c9 fixup! JBR-5670 restore original display mode 2023-06-06 19:16:29 +03:00
Sergey Shelomentsev
fa3071a8bb JBR-5701 update source and target java version in J2DBench build file 2023-06-06 15:54:53 +03:00
Sergey Shelomentsev
934219ee41 JBR-2870 add resression test for JPopupMenu
- verify that the popup menu is usable if overlaps WM's dock panel of the bottom of screen
2023-06-06 11:42:18 +03:00
Sergey Bylokhov
95f5df40c1 8287761: Make the logging of J2DBench stable
Reviewed-by: aghaisas, prr
2023-06-02 22:17:38 +03:00
Nikita Tsarev
b9af936110 JBR-5630: vmoption to change dead key reporting behavior on macOS 2023-06-02 17:18:26 +02:00
Nikita Tsarev
a015cccddc JBR-5469: Fix NextAppWinKey behavior with certain keys 2023-06-02 17:18:26 +02:00
Nikita Tsarev
228529b24f JBR-5558: macOS keyboard rewrite 2 2023-06-02 17:18:20 +02:00
Vladislav Rassokhin
d05a3770f0 JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit 4e2fa80e86)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
d2eb357bcc JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit ebb82ed952)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
8730ade05b tools/mac/scripts: minor improvements
* don't move into itself
* use `PKG_NAME` variable instead of `${APP_NAME}.pkg`
* cleanup sign.sh
* add `SCRIPT_VERBOSE` env variable to control `set -x`

(cherry picked from commit 45a9853b23)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
b69f01fa9b JBR-5600 Staple .pkg with signature
(cherry picked from commit e1dc322fd3)
2023-06-02 20:35:11 +07:00
Vladislav Rassokhin
e9ae158f79 JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit f0f1734d50)
2023-06-02 20:35:11 +07:00
Vladislav Rassokhin
c803113d4b JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 9cbf4e489b)
2023-06-02 20:35:11 +07:00
Sergey Shelomentsev
7fef5c3f09 JBR-5670 restore initial display mode after test execution 2023-06-02 14:28:58 +03:00
Sergey Shelomentsev
d8a57d0f7b JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window 2023-06-02 14:28:52 +03:00
Alexey Ushakov
25a4e749ad JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID

(cherry picked from commit 9ba9286595)
2023-05-31 12:44:14 +02:00
Nikita Provotorov
cba981df4b JBR-5668: The implementation of a11y announcing for macOS crashes with -Xcheck:jni.
- Create a global reference of the passed to EDT accessible object (the local reference) to use it in the AppKit thread ;
- Enable -Xcheck:jni in the tests ;
- Make the tests handle the problematic case .
2023-05-30 17:01:18 +03:00
Sergey Shelomentsev
c229e13d3c JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest 2023-05-29 18:39:48 +03:00
Sergey Shelomentsev
7b2806d3fa JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking
2023-05-29 18:39:43 +03:00
Sergey Shelomentsev
a61c48d9f7 remove jb/java/awt/CustomTitleBar/MouseEventsOnClientArea.java 2023-05-29 17:16:42 +03:00
Sergey Shelomentsev
494235b0ca JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events
2023-05-29 17:15:45 +03:00
Sergey Shelomentsev
78bf69d7a8 remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java 2023-05-29 15:28:39 +03:00
Sergey Shelomentsev
df5b1f9100 JBR-4494 pass ui scale options for child process 2023-05-29 15:28:18 +03:00
bourgesl
d3d6de0551 JBR-5651: Improved MTLVertexCache to merge consecutive full-tiles ie use 1 larger quad instead of many quads per row, full-tile is only using 1x1 pixel (full), applied to color, gradient & texture paints + fixed clang warnings
(cherry picked from commit ff9ecea896)
2023-05-24 11:24:36 +02:00
bourgesl
868bb8da72 JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer
(cherry picked from commit 071d81d294)
2023-05-24 11:24:36 +02:00
Vitaly Provodin
47845c22e1 update exclude list on results of 17.0.7_b953.1 test runs 2023-05-19 18:39:23 +07:00
ngubarkov
e805830832 JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer. 2023-05-18 22:38:54 +03:00
Maxim Kartashev
34d7fab3ca JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()
2023-05-18 17:39:20 +04:00
Vitaly Provodin
a7252d53ed JBR-5627 add regression test AsyncProfilerRunnerTest 2023-05-18 05:11:00 +07:00
Maxim Kartashev
6b6d32529d JBR-5631 Refactor Dockerfile for x64 builds 2023-05-16 07:15:32 +07:00
Vitaly Provodin
756792c03e JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17 2023-05-12 19:16:35 +07:00
Alexey Ushakov
2ac8a86475 JBR-5580 J2DBench: ~15% drop performance  because of non optimal synchronization in metal (MBP 16'' x64)
Replaced NSMutableArray with NSMutableSet, removed unnecessary __block modifier.
2023-05-10 21:09:05 +02:00
Alexey Ushakov
4959205a1f JBR-5580 J2DBench: ~15% drop performance because of non optimal synchronization in metal (MBP 16'' x64)
Removed NSLock and moved all operations to the AppKit thread
2023-05-04 15:29:03 +02:00
bourgesl
ac97530bd0 JBR-5170: improved color maskFill performance: using a new MaskColorBuffer and a specific shader (vert_txt_col)
fix crash in J2DDemo with advanced paints + artefacts with texture background
(cherry picked from commit 9c1f618e1a6239ad8c400d7b94ccd4a885ec02d7)
(cherry picked from commit c352cfb25d7f8188540b094bb484f7f438142be4)
2023-05-03 17:16:52 +02:00
Vitaly Provodin
30aa7f033a update exclude list on results of 17.0.6_b929.7 test runs 2023-04-27 16:44:49 +07:00
Alexey Ushakov
df1fdb86db JBR-5559 SwingMark performance drop after removing additional command queue
Added command queue and provided synchronization between the command queues
2023-04-24 20:40:44 +02:00
Vitaly Provodin
772f1d5b6d rebase exclude-list on top of 17.0.7 2023-04-21 10:40:27 +07:00
Nikita Provotorov
a7afa5c2e9 JBR-5536: Crash on macOS bad JNI lookup in Java_sun_swing_AccessibleAnnouncer_nativeAnnounce
Stop using the JNIEnv instance bound to EDT in the AppKit thread.

(cherry picked from commit 0f49341f4d)
2023-04-20 19:23:21 +03:00
Christoph Langer
900625970e 8299597: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.7
Reviewed-by: goetz
2023-04-20 16:33:19 +07:00
Alexei Voitylov
d0692a98f2 8299129: Enhance NameService lookups
Reviewed-by: mbalao
Backport-of: 1aef50354aaa0831b58de81db3d6bf30b9a277d1
2023-04-20 16:33:17 +07:00
Aleksei Voitylov
5d59973f1e 8298667: Improved path handling
Reviewed-by: mbalao
Backport-of: 900abc284669d1aadeac8026ad618c9f1dc553a6
2023-04-20 16:33:16 +07:00
Alexey Bakhtin
496485fce6 8298310: Enhance TLS session negotiation
Reviewed-by: mbalao
Backport-of: 9a14b363feaaa1a1831fcc8620d41b4db2e0110a
2023-04-20 16:33:14 +07:00
Anton Kozlov
6f614aade2 8298191: Enhance object reclamation process
Reviewed-by: johnc, rkennke
2023-04-20 16:33:13 +07:00
Martin Balao
f9b8bd6daa 8297371: Improve UTF8 representation redux
Reviewed-by: yan
Backport-of: a44eb133d3cdb190abb0210c201e315d94d09dc7
2023-04-20 16:33:12 +07:00
Yuri Nesterenko
8fc1c93ec6 8296832: Improve Swing platform support
Reviewed-by: mbalao
Backport-of: a81c810a76d91b79917417ed22e5e5aa530690ca
2023-04-20 16:33:09 +07:00
Ekaterina Vergizova
52f38235fe 8296692: Improve String platform support
Reviewed-by: mbalao
Backport-of: ed8643947e21263588cb6e9202efb3a30f450c4e
2023-04-20 16:33:08 +07:00
Olga Mikhaltsova
34fdbbf6bd 8296684: Improve String platform support
Reviewed-by: mbalao
Backport-of: 9ae682726873de27cef4d3bd5523713f4ff98266
2023-04-20 16:33:05 +07:00
Martin Balao
1a147cb908 8296676: Improve String platform support
Reviewed-by: mbaesken
Backport-of: d083a3c21e8849ed2a8b79aba37b46d921886a05
2023-04-20 16:33:04 +07:00
Aleksei Voitylov
66cf0de971 8295304: Runtime support improvements
Reviewed-by: mbalao
Backport-of: 9c31d51bd5fc17e3914142c2461f3abfe71651d0
2023-04-20 16:33:01 +07:00
Martin Balao
310542c500 8294474: Better AES support
Reviewed-by: mbaesken
Backport-of: 0c534f3309a308e89363ec69dee74d95fd9647a4
2023-04-20 16:33:01 +07:00
Martin Balao
3c9b76b51f 8288436: Improve Xalan supports
Reviewed-by: mbaesken
Backport-of: 6899dff264c9030a3016e292c3f3f6738bde97cc
2023-04-20 16:33:00 +07:00
Martin Balao
8b35b260ae 8287404: Improve ping times
Reviewed-by: mbaesken
Backport-of: 5a054b372dbd751fe1b312375153f13e70d7131f
2023-04-20 16:32:57 +07:00
Severin Gehwolf
63aae7da49 8304871: Use default visibility for static library builds
Backport-of: f0dba218ac
2023-04-20 16:32:54 +07:00
Goetz Lindenmaier
18995093dc 8289511: Improve test coverage for XPath Axes: child
Backport-of: cfe9026fe0
2023-04-20 16:32:53 +07:00
Goetz Lindenmaier
e2613ebd40 8284524: Create an automated test for JDK-4422362
Backport-of: b9de0a7556
2023-04-20 16:32:52 +07:00
Goetz Lindenmaier
4171612b70 8284767: Create an automated test for JDK-4422535
Backport-of: 5ae4320921
2023-04-20 16:32:49 +07:00
Goetz Lindenmaier
d6bcd7f41f 8210927: JDB tests do not update source path after doing a redefine class
Backport-of: 61ac53f6e5
2023-04-20 16:32:48 +07:00
Goetz Lindenmaier
6332555187 8048190: NoClassDefFoundError omits original ExceptionInInitializerError
Reviewed-by: phh
Backport-of: 464e874a5c
2023-04-20 16:32:45 +07:00
Goetz Lindenmaier
f2c60fa302 8290197: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension
Backport-of: 44fb92e2aa
2023-04-20 16:32:45 +07:00
Masanori Yano
d655c3a940 8213531: Test javax/swing/border/TestTitledBorderLeak.java fails
Reviewed-by: phh
Backport-of: 07d24509a6
2023-04-20 16:32:44 +07:00
bell-sw
3f51662b74 Revert "JBR-2207 TitledBorder leaks PropertyChangeListener"
This reverts commit dca1987fb5.
2023-04-20 16:32:41 +07:00
Goetz Lindenmaier
923551fa2b 8294548: Problem list SA core file tests on macosx-x64 due to JDK-8294316
Reviewed-by: clanger
Backport-of: 545ded1a82
2023-04-20 16:32:38 +07:00
George Adams
2462aad3e8 8302879: doc/building.md update link to jtreg builds
Reviewed-by: clanger
Backport-of: bb3dfd6adb
2023-04-20 16:32:37 +07:00
Adam Sotona
8373821a3f 8293000: Review running times of jshell regression tests
Backport-of: b4e1e416da
2023-04-20 16:32:34 +07:00
Scott Gibbons
70bb937db3 8280703: CipherCore.doFinal(...) causes potentially massive byte[] allocations during decryption
Backport-of: 409382ba4b
2023-04-20 16:32:33 +07:00
Anton Kozlov
ae215fe8e8 8289647: AssertionError during annotation processing of record related tests
Reviewed-by: phh
Backport-of: 64a1a08ff9
2023-04-20 16:32:32 +07:00
Shruthi
25fa75dc87 8266974: duplicate property key in java.sql.rowset resource bundle
Backport-of: e3d5c9e7c4
2023-04-20 16:32:30 +07:00
Shruthi
1dca113b39 8300751: [17u] Remove duplicate entry in javac.properties
Reviewed-by: clanger
2023-04-20 16:32:28 +07:00
Goetz Lindenmaier
0a76322a79 8245654: Add Certigna Root CA
Reviewed-by: phh
Backport-of: 8c87a67419
2023-04-20 16:32:27 +07:00
Goetz Lindenmaier
b88ea4667d 8294902: Undefined Behavior in C2 regalloc with null references
Reviewed-by: rrich, phh
Backport-of: 0bbc4181cd
2023-04-20 16:32:26 +07:00
Goetz Lindenmaier
de2c623007 8251177: [macosx] The text "big" is truncated in JTabbedPane
Backport-of: 16ebe40a1b
2023-04-20 16:32:24 +07:00
Radim Vansa
6c8b2fbec8 8272702: Resolving URI relative path with no / may lead to incorrect toString
Reviewed-by: phh
Backport-of: 79597f1ea6
2023-04-20 16:32:21 +07:00
Victor Rudometov
68fe4c31c4 8299970: Speed up compiler/arraycopy/TestArrayCopyConjoint.java
Backport-of: 5d39d14522
2023-04-20 16:32:20 +07:00
Patrick Zhang
f0162cda25 8298472: AArch64: Detect Ampere-1 and Ampere-1A CPUs and set default options
Reviewed-by: aph, goetz
Backport-of: 7068457436
2023-04-20 16:32:19 +07:00
Victor Rudometov
64dc8f17c2 8302152: Speed up tests with infinite loops, sleep less
Backport-of: a9a53f417d
2023-04-20 16:32:19 +07:00
Victor Rudometov
e0c0d316d9 8301342: Prefer ArrayList to LinkedList in LayoutComparator
Backport-of: d67bfe21a2
2023-04-20 16:32:16 +07:00
Goetz Lindenmaier
0de40cda7c 8288332: Tier1 validate-source fails after 8279614
Backport-of: e90b579b29
2023-04-20 16:32:15 +07:00
Christoph Langer
90984b3309 8302692: [17u] Update GHA Boot JDK to 17.0.6
Reviewed-by: mbaesken, sgehwolf
2023-04-20 16:32:14 +07:00
Ekaterina Vergizova
7a31688f2c 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Backport-of: 7dfe75cf55
2023-04-20 16:32:11 +07:00
Roman Marchenko
3a6778fa06 8297437: javadoc cannot link to old docs (with old style anchors)
Reviewed-by: phh
Backport-of: 15a1488401
2023-04-20 16:32:10 +07:00
Goetz Lindenmaier
fae1b1ee46 8282958: Rendering Issues with Borders on Windows High-DPI systems
Backport-of: 9911405e54
2023-04-20 16:32:08 +07:00
Goetz Lindenmaier
b13ddad0e0 8295777: java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver
Backport-of: 65c84e0cf8
2023-04-20 16:32:07 +07:00
Goetz Lindenmaier
021733d4b8 8294958: java/net/httpclient/ConnectTimeout tests are slow
Backport-of: fe70487d0b
2023-04-20 16:32:03 +07:00
Goetz Lindenmaier
02f7771288 8279614: The left line of the TitledBorder is not painted on 150 scale factor
Backport-of: b42c1ad108
2023-04-20 16:32:03 +07:00
Goetz Lindenmaier
18abd53ce6 8281170: Test jdk/tools/jpackage/windows/WinInstallerIconTest always fails on Windows 11
Backport-of: bb4dece246
2023-04-20 16:32:02 +07:00
Matthias Baesken
f054e01c3a 8300266: Detect Virtualization on Linux aarch64
Reviewed-by: clanger
Backport-of: 544c16e0bd
2023-04-20 16:32:01 +07:00
Goetz Lindenmaier
21265896a8 8288415: java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS machines
Backport-of: a2f67660f0
2023-04-20 16:32:00 +07:00
Matthias Baesken
70767fc3c4 8300205: Swing test bug8078268 make latch timeout configurable
Backport-of: e82dc6935b
2023-04-20 16:31:59 +07:00
Matthias Baesken
0151a0e1c6 8299957: Enhance error logging in instrument coding with additional jplis_assert_msg
Backport-of: be8e6d05db
2023-04-20 16:31:59 +07:00
Goetz Lindenmaier
5eae54e3a1 8299671: Speed up compiler/intrinsics/string/TestStringLatin1IndexOfChar.java
Backport-of: d2827ec8f7
2023-04-20 16:31:56 +07:00
Goetz Lindenmaier
d5ed027ce7 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Backport-of: e5edb10dc5
2023-04-20 16:31:56 +07:00
Goetz Lindenmaier
4a2b947b91 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent
Backport-of: 7d20a60a98
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
e13b2f029b 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
Backport-of: 8effaa8f1f
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
a015d43872 8186765: Speed up test sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
Backport-of: 43dbf5899b
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
0337c7906f 8295774: Write a test to verify List sends ItemEvent/ActionEvent
Backport-of: 2a79dfc1f9
2023-04-20 16:31:54 +07:00
Goetz Lindenmaier
53bc836b44 8295000: java/util/Formatter/Basic test cleanup
Backport-of: 78763fc8e0
2023-04-20 16:31:54 +07:00
Goetz Lindenmaier
76d36c0d99 8296675: Exclude linux-aarch64 in NSS tests
Backport-of: fa8a8668a6
2023-04-20 16:31:53 +07:00
Goetz Lindenmaier
8e9efd3df3 8292328: AccessibleActionsTest.java test instruction for show popup on JLabel did not specify shift key
Backport-of: df53fa752a
2023-04-20 16:31:53 +07:00
Goetz Lindenmaier
066bc464d0 8293819: sun/util/logging/PlatformLoggerTest.java failed with "RuntimeException: Retrieved backing PlatformLogger level null is not the expected CONFIG"
Backport-of: 11e7d53b23
2023-04-20 16:31:52 +07:00
Goetz Lindenmaier
ef44768e0b 8286030: Avoid JVM crash when containers share the same /tmp dir
Reviewed-by: stuefe
Backport-of: 84f23149e2
2023-04-20 16:31:52 +07:00
Goetz Lindenmaier
4583ca7e27 8290083: ResponseBodyBeforeError: AssertionError or SSLException: Unsupported or unrecognized SSL message
Backport-of: 3b9059a147
2023-04-20 16:31:51 +07:00
Goetz Lindenmaier
f6bc44b1e4 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
Backport-of: 7c26ddb575
2023-04-20 16:31:50 +07:00
Matthias Baesken
3c335c155f 8301170: perfMemory_windows.cpp add free_security_attr to early returns
Backport-of: 810c8a271b
2023-04-20 16:31:49 +07:00
Yuri Nesterenko
a84e3fa3d9 8301760: Fix possible leak in SpNegoContext dispose
Backport-of: 3f3356bcbd
2023-04-20 16:31:49 +07:00
Goetz Lindenmaier
160757aa9d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx
8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes

Reviewed-by: phh
Backport-of: 99a6c47855
2023-04-20 16:31:48 +07:00
Goetz Lindenmaier
c222614261 8286962: java/net/httpclient/ServerCloseTest.java failed once with ConnectException
Backport-of: 13d4ddc35b
2023-04-20 16:31:47 +07:00
Radim Vansa
75e929e395 8296329: jar validator doesn't account for minor class file version
Reviewed-by: yan
Backport-of: faf48e61be
2023-04-20 16:31:46 +07:00
Radim Vansa
bc92df8dca 8300590: [JVMCI] BytecodeFrame.equals is broken
Reviewed-by: phh
Backport-of: 06394ee8b1
2023-04-20 16:31:45 +07:00
Thomas Stuefe
e2e5dc76fd 8294677: chunklevel::MAX_CHUNK_WORD_SIZE too small for some applications
Reviewed-by: phh, xliu
Backport-of: 2292ce137c
2023-04-20 16:31:44 +07:00
Ichiroh Takiguchi
c70077b8fc 8299194: CustomTzIDCheckDST.java may fail at future date
Backport-of: 5e2de89628
2023-04-20 16:31:43 +07:00
Victor Rudometov
9c9562ee02 8290836: Improve test coverage for XPath functions: String Functions
8290837: Improve test coverage for XPath functions: Boolean Functions
8290838: Improve test coverage for XPath functions: Number Functions

Backport-of: d889264c61
2023-04-20 16:31:41 +07:00
Victor Rudometov
72f1a2c993 8299296: Write a test to verify the components selection sends ItemEvent
Backport-of: 5ae6de859d
2023-04-20 16:31:40 +07:00
Goetz Lindenmaier
81b4281e92 8293326: jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java slow on Windows
Backport-of: 205f992e9e
2023-04-20 16:31:39 +07:00
Goetz Lindenmaier
d0abe6db1a 8289400: Improve com/sun/jdi/TestScaffold error reporting
Backport-of: da99e3e829
2023-04-20 16:31:38 +07:00
Goetz Lindenmaier
a0f9ab9efc 8292066: Convert TestInputArgument.sh and TestSystemLoadAvg.sh to java version
Backport-of: 032be168b5
2023-04-20 16:31:37 +07:00
Goetz Lindenmaier
1502e7f7ce 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases
Backport-of: e8bc87956a
2023-04-20 16:31:37 +07:00
Goetz Lindenmaier
6554c72f6b 8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different
Backport-of: 4772354f4c
2023-04-20 16:31:36 +07:00
Goetz Lindenmaier
b25c18220b 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended
Backport-of: 7ec0132ad3
2023-04-20 16:31:36 +07:00
Goetz Lindenmaier
0e0077c7d9 8287593: ShortResponseBody could be made more resilient to rogue connections
Reviewed-by: chegar
Backport-of: 9ccae7078e
2023-04-20 16:31:35 +07:00
Victor Rudometov
5de6ce7c6a 8289948: Improve test coverage for XPath functions: Node Set Functions
Backport-of: 57bf603b73
2023-04-20 16:31:34 +07:00
Goetz Lindenmaier
42c95806c7 8289440: Remove vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded003 from ProblemList.txt
Backport-of: 00d06d4a82
2023-04-20 16:31:34 +07:00
Goetz Lindenmaier
8ad886bdf9 8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
Backport-of: 784fa0add7
2023-04-20 16:31:33 +07:00
Goetz Lindenmaier
db710e4bd4 8209935: Test to cover CodeSource.getCodeSigners()
Backport-of: 0cb0ecf443
2023-04-20 16:31:33 +07:00
Goetz Lindenmaier
f662daffbe 8271838: AmazonCA.java interop test fails
Backport-of: 512db0ff31
2023-04-20 16:31:32 +07:00
Goetz Lindenmaier
ffb2a09fa5 8286154: Fix 3rd party notices in test files
Backport-of: 1277f5d84e
2023-04-20 16:31:30 +07:00
Goetz Lindenmaier
1dd897755a 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java
Backport-of: 8a662105c2
2023-04-20 16:31:30 +07:00
Ekaterina Vergizova
bb9e11570d 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4
Reviewed-by: phh
Backport-of: 0eeaf6b219
2023-04-20 16:31:29 +07:00
Thomas Stuefe
b27e7941fc 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: mbaesken
Backport-of: 5a036ace01
2023-04-20 16:31:28 +07:00
Ekaterina Vergizova
701d831ae0 8298129: Let checkpoint event sizes grow beyond u4 limit
Reviewed-by: phh
Backport-of: ea108f504c
2023-04-20 16:31:28 +07:00
Christoph Langer
6b5b96bd55 8301397: [11u, 17u] Bump jtreg to fix issue with build JDK 11.0.18
Reviewed-by: goetz
2023-04-20 16:31:27 +07:00
Elif Aslan
15f32a9080 8280007: Enable Neoverse N1 optimizations for Arm Neoverse V1 & N2
Backport-of: f823bed043
2023-04-20 16:31:27 +07:00
Goetz Lindenmaier
8dd1056831 8294160: misc crash dump improvements
Reviewed-by: rrich
Backport-of: 6f8f28e756
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
14a8c0d05d 8230374: maxOutputSize, instead of javatest.maxOutputSize, should be used in TEST.properties
Backport-of: 04d8069bac
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
99d49ce7c4 8285965: TestScenarios.java does not check for "<!-- safepoint while printing -->" correctly
Backport-of: 6e3e470dac
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
66bfd52996 8286873: Improve websocket test execution time
Backport-of: d24c84e768
2023-04-20 16:31:25 +07:00
Goetz Lindenmaier
3e6a9d540a 8284115: [IR Framework] Compilation is not found due to rare safepoint while dumping PrintIdeal/PrintOptoAssembly
Backport-of: 3984253800
2023-04-20 16:31:23 +07:00
Thomas Stuefe
4cc6061658 8275704: Metaspace::contains() should be threadsafe
Backport-of: d9b0138d7d
2023-04-20 16:31:22 +07:00
Thomas Stuefe
6929c3d910 8276086: Increase size of metaspace mappings
Backport-of: e89b2c040c
2023-04-20 16:31:22 +07:00
Ben Taylor
37ceb1d373 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros
Backport-of: f8f46305ef
2023-04-20 16:31:21 +07:00
Dan Lutker
c1e8c0dd10 8300692: GCC 12 reports some compiler warnings in bundled freetype
Reviewed-by: serb
Backport-of: a6c2a2ae79
2023-04-20 16:31:21 +07:00
Dan Lutker
ac56d16938 8286694: Incorrect argument processing in java launcher
Backport-of: 26c7c92bc9
2023-04-20 16:31:21 +07:00
Thomas Stuefe
52cf5b885b 8275582: Don't purge metaspace mapping lists
Backport-of: 3ff085e296
2023-04-20 16:31:20 +07:00
Thomas Stuefe
f9b6827972 8293466: libjsig should ignore non-modifying sigaction calls
Backport-of: b1ed40a87a
2023-04-20 16:31:20 +07:00
Thomas Stuefe
ac7bea4752 8293493: Signal Handlers printout should show signal block state
Backport-of: d14e96d970
2023-04-20 16:31:20 +07:00
Johan Sjölen
717434b0a0 8293691: converting a defined BasicType value to a string should not crash the VM
Reviewed-by: phh
Backport-of: f2a32d996a
2023-04-20 16:31:19 +07:00
Thomas Stuefe
94254edef0 8277946: NMT: Remove VM.native_memory shutdown jcmd command option
Reviewed-by: mbaesken
Backport-of: abaa073bcb
2023-04-20 16:31:19 +07:00
Sergey Bylokhov
c6ba480936 8280048: Missing comma in copyright header
Backport-of: 9a18190a4f
2023-04-20 16:31:18 +07:00
Goetz Lindenmaier
12bf663cba 8231491: JDI tc02x004 failed again due to wrong # of breakpoints
Backport-of: e2cfe2e14a
2023-04-20 16:31:16 +07:00
Goetz Lindenmaier
83dfbf1f13 8282771: Create test case for JDK-8262981
Backport-of: 8db5247ebc
2023-04-20 16:31:15 +07:00
Goetz Lindenmaier
b5df6520d8 8285690: CloneableReference subtest should not throw CloneNotSupportedException
Backport-of: 2d8d140214
2023-04-20 16:31:14 +07:00
Masanori Yano
e4684919ec 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)
Backport-of: e5041ae3d4
2023-04-20 16:31:11 +07:00
Yasumasa Suenaga
9df8194d81 8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #
Reviewed-by: phh
Backport-of: e3791ecfe4
2023-04-20 16:31:10 +07:00
Sergey Bylokhov
13810be7ab 6528710: sRGB-ColorSpace to sRGB-ColorSpace Conversion
Backport-of: abeddab991
2023-04-20 16:31:09 +07:00
Sergey Bylokhov
9806d6ee46 8294705: Disable an assertion in test/jdk/java/util/DoubleStreamSums/CompensatedSums.java
Backport-of: c08ff2c7b8
2023-04-20 16:31:09 +07:00
Yasumasa Suenaga
028fd89fc6 8286562: GCC 12 reports some compiler warnings
Backport-of: 410a25d59a
2023-04-20 16:31:08 +07:00
Victor Rudometov
292d82d7f5 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs
Backport-of: b5ee3d1f2a
2023-04-20 16:31:08 +07:00
Goetz Lindenmaier
f053c18fcd 8300773: Address the inconsistency between the constant array and pool size
Reviewed-by: mbaesken
2023-04-20 16:31:07 +07:00
Goetz Lindenmaier
c1f734abf0 8208077: File.listRoots performance degradation
Backport-of: 5b0af1a80b
2023-04-20 16:31:07 +07:00
Goetz Lindenmaier
a100a42741 8295685: Update Libpng to 1.6.38
Backport-of: b685fc2de4
2023-04-20 16:31:06 +07:00
Goetz Lindenmaier
2313c7cfc4 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top
Reviewed-by: rrich
Backport-of: a57392390b
2023-04-20 16:31:06 +07:00
Goetz Lindenmaier
b71afabb37 8287180: Update IANA Language Subtag Registry to Version 2022-08-08
Reviewed-by: stuefe
Backport-of: 992f209def
2023-04-20 16:31:05 +07:00
Goetz Lindenmaier
f07f5e07cd 8292033: Move jdk.X509Certificate event logic to JCA layer
Reviewed-by: mbaesken
Backport-of: 102b2b32fe
2023-04-20 16:31:03 +07:00
Yasumasa Suenaga
618629caba 8286705: GCC 12 reports use-after-free potential bugs
Backport-of: 0e4bece5b5
2023-04-20 16:31:01 +07:00
Goetz Lindenmaier
0d0a6bcd90 8287754: Update jib GNU make dependency on Windows to latest cygwin build
Backport-of: af2de975cb
2023-04-20 16:31:00 +07:00
Severin Gehwolf
2dc3ac6c2a 8300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems
Backport-of: dea58efb62
2023-04-20 16:31:00 +07:00
Goetz Lindenmaier
9fad79410a 8272985: Reference discovery is confused about atomicity and degree of parallelism
Backport-of: fb5b144eca
2023-04-20 16:30:57 +07:00
Christoph Langer
2120f98cd5 8300490: Spaces in name of MacOS Code Signing Identity are not correctly handled after JDK-8293550
Backport-of: 62a2f2327a
2023-04-20 16:30:56 +07:00
Goetz Lindenmaier
b4823f0e26 8300642: [17u,11u] Fix DEFAULT_PROMOTED_VERSION_PRE=ea for -dev
Reviewed-by: clanger
2023-04-20 16:30:56 +07:00
Christoph Langer
a1f10594e9 8285919: Remove debug printout from JDK-8285093
Backport-of: 64225e1999
2023-04-20 16:30:56 +07:00
Aleksey Shipilev
417d1d9979 8282143: Objects.requireNonNull should be ForceInline
Backport-of: fc52a2182a
2023-04-20 16:30:55 +07:00
Aleksey Shipilev
eabbe2d51f 8285755: JDK-8285093 changed the default for --with-output-sync
Backport-of: ccf0e8bf90
2023-04-20 16:30:55 +07:00
Matthias Baesken
0464692a3c 8299657: sun/tools/jhsdb/SAGetoptTest.java fails after 8299470
Backport-of: 1ca31d34fc
2023-04-20 16:30:54 +07:00
Matthias Baesken
f726d0ca57 8299470: sun/jvm/hotspot/SALauncher.java handling of negative rmiport args
Backport-of: 2ccdefc81c
2023-04-20 16:30:54 +07:00
Goetz Lindenmaier
ed87aa09ce 8283719: java/util/logging/CheckZombieLockTest.java failing intermittently
Backport-of: 74835f7389
2023-04-20 16:30:53 +07:00
Goetz Lindenmaier
a6b5fcf668 8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException
Backport-of: f9f439a19d
2023-04-20 16:30:53 +07:00
Goetz Lindenmaier
8f0a5b9dbd 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors
8298568: Fastdebug build fails after JDK-8296389

Reviewed-by: rrich
Backport-of: fabda24696
2023-04-20 16:30:52 +07:00
Goetz Lindenmaier
1d2e293fc4 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination
Backport-of: d562d3fcbe
2023-04-20 16:30:49 +07:00
Goetz Lindenmaier
07641a8987 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph
Reviewed-by: phh
Backport-of: 49b86224aa
2023-04-20 16:30:49 +07:00
Goetz Lindenmaier
a839e213b8 8278961: Enable debug logging in java/net/DatagramSocket/SendDatagramToBadAddress.java
Reviewed-by: rrich
Backport-of: c17a0122c4
2023-04-20 16:30:48 +07:00
Goetz Lindenmaier
aba45b52f1 8273154: Provide a JavadocTester method for non-overlapping, unordered output matching
Backport-of: ce3ed65ac3
2023-04-20 16:30:48 +07:00
Goetz Lindenmaier
b055fc7fd2 8254267: javax/xml/crypto/dsig/LogParameters.java failed with "RuntimeException: Unexpected log output:"
Backport-of: 40d69f0c41
2023-04-20 16:30:47 +07:00
Severin Gehwolf
17465e0178 8295211: Fix autoconf 2.71 warning "AC_CHECK_HEADERS: you should use literals"
Backport-of: c357b5908a
2023-04-20 16:30:47 +07:00
Matthias Baesken
7860669056 8279351: [TESTBUG] SADebugDTest.java does not handle "Address already in use" error
Backport-of: d1e6f26160
2023-04-20 16:30:46 +07:00
Sergey Bylokhov
76d1e413e8 8299789: Compilation of gtest causes build to fail if runtime libraries are in different dirs
Backport-of: c8a8388aba
2023-04-20 16:30:46 +07:00
Matthias Baesken
97162686f7 8299424: containers/docker/TestMemoryWithCgroupV1.java fails on SLES12 ppc64le when testing Memory and Swap Limit
Backport-of: 95d4db3a92
2023-04-20 16:30:46 +07:00
Richard Reingruber
a0239b6422 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode
Backport-of: 08d3ef4fe6
2023-04-20 16:30:45 +07:00
Matthias Baesken
074d8403ff 8299520: TestPrintXML.java output error messages in case compare fails
Backport-of: ea25a561c5
2023-04-20 16:30:45 +07:00
Goetz Lindenmaier
f4e3595bf5 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead
Backport-of: 94575d14f4
2023-04-20 16:30:44 +07:00
Goetz Lindenmaier
09ad9ee0bf 8297951: C2: Create skeleton predicates for all If nodes in loop predication
Backport-of: 0bd04a6589
2023-04-20 16:30:44 +07:00
Matthias Baesken
e59085dfd2 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
Backport-of: c2e3d72848
2023-04-20 16:30:43 +07:00
Goetz Lindenmaier
db8cbd07bf 8296619: Upgrade jQuery to 3.6.1
Reviewed-by: mbaesken
Backport-of: 6a7a0db587
2023-04-20 16:30:39 +07:00
Goetz Lindenmaier
eb43ebd80d 8286707: JFR: Don't commit JFR internal jdk.JavaMonitorWait events
Backport-of: fc889577ea
2023-04-20 16:30:38 +07:00
Goetz Lindenmaier
f41fd2eab4 8267038: Update IANA Language Subtag Registry to Version 2022-03-02
Backport-of: 7b19226be2
2023-04-20 16:30:36 +07:00
Goetz Lindenmaier
f42620ce24 8295788: C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node"
Backport-of: 761a4f4852
2023-04-20 16:30:35 +07:00
Thomas Stuefe
c4e3948186 8284165: Add pid to process reaper thread name
Reviewed-by: phh
Backport-of: 9561b5e041
2023-04-20 16:30:33 +07:00
Thomas Stuefe
c99a576581 8284726: Print active locale settings in hs_err reports and in VM.info
Backport-of: 6ce4e755a4
2023-04-20 16:30:33 +07:00
Thomas Stuefe
75af5747bf 8290067: Show stack dimensions in UL logging when attaching threads
Backport-of: 7ff19694df
2023-04-20 16:30:32 +07:00
Matthias Baesken
e67c1b511c 8297523: Various GetPrimitiveArrayCritical miss result - NULL check
Backport-of: 27b339d189
2023-04-20 16:30:31 +07:00
Aleksey Shipilev
77251da4af 8280784: VM_Cleanup unnecessarily processes all thread oops
Reviewed-by: stefank
Backport-of: 8a3cca09ba
2023-04-20 16:30:31 +07:00
Goetz Lindenmaier
1cfdcfea83 8297088: Update LCMS to 2.14
Reviewed-by: phh
Backport-of: 2c692aa356
2023-04-20 16:30:28 +07:00
Thomas Stuefe
34d53bb77b 8277822: Remove debug-only heap overrun checks in os::malloc and friends
Reviewed-by: phh
Backport-of: 39b1d75f25
2023-04-20 16:30:28 +07:00
Severin Gehwolf
5baa1245a1 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: phh, clanger
Backport-of: cf93933e21
2023-04-20 16:30:27 +07:00
Goetz Lindenmaier
d372290e1d 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception
Backport-of: 952e100551
2023-04-20 16:30:27 +07:00
Goetz Lindenmaier
4b8988e2fd 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
Backport-of: 2f47f83add
2023-04-20 16:30:26 +07:00
Goetz Lindenmaier
e7b39759c1 8296912: C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1
Backport-of: 502fa3eeea
2023-04-20 16:30:23 +07:00
Goetz Lindenmaier
851d9e20d4 8276064: CheckCastPP with raw oop input floats below a safepoint
Backport-of: cd9c688bfc
2023-04-20 16:30:22 +07:00
Thomas Stuefe
5ed9af5b57 8275320: NMT should perform buffer overrun checks
8275320: NMT should perform buffer overrun checks
8275301: Unify C-heap buffer overrun checks into NMT

Reviewed-by: goetz
Backport-of: cf7adae633
2023-04-20 16:30:21 +07:00
Severin Gehwolf
8e8be6dc8b 8298108: Add a regression test for JDK-8297684
Backport-of: 4da8411674
2023-04-20 16:30:18 +07:00
Goetz Lindenmaier
f55f2b4afa 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address
Backport-of: abe532a89c
2023-04-20 16:30:17 +07:00
Goetz Lindenmaier
84aa45f0c5 8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
Reviewed-by: mdoerr
Backport-of: 8aa1526b44
2023-04-20 16:30:17 +07:00
Goetz Lindenmaier
437233f643 8292177: InitialSecurityProperty JFR event
Reviewed-by: mbaesken
Backport-of: 8c40b7dc8c
2023-04-20 16:30:16 +07:00
Goetz Lindenmaier
56c78acb51 8286800: Assert in PhaseIdealLoop::dump_real_LCA is too strong
Backport-of: decb1b79bc
2023-04-20 16:30:16 +07:00
Goetz Lindenmaier
2176c971e5 8294947: Use 64bit atomics in patch_verified_entry on x86_64
Backport-of: d0fae43e89
2023-04-20 16:30:15 +07:00
Goetz Lindenmaier
2b4493a45d 8294217: Assertion failure: parsing found no loops but there are some
Backport-of: 8c472e4816
2023-04-20 16:30:15 +07:00
Goetz Lindenmaier
5dcf1b2aea 8292159: TYPE_USE annotations on generic type arguments of record components discarded
Backport-of: 4d9a1cd26f
2023-04-20 16:30:14 +07:00
Goetz Lindenmaier
6bee3f9eec 8294538: missing is_unloading() check in SharedRuntime::fixup_callers_callsite()
Backport-of: b5efa2afe2
2023-04-20 16:30:14 +07:00
Goetz Lindenmaier
1149d8f8bd 8295414: [Aarch64] C2: assert(false) failed: bad AD file
Backport-of: d3eba859f9
2023-04-20 16:30:11 +07:00
Goetz Lindenmaier
f977d5b993 8280868: LineBodyHandlerTest.java creates and discards too many clients
Backport-of: 47800bf3da
2023-04-20 16:30:11 +07:00
Goetz Lindenmaier
d0524425a2 8280553: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java can fail if GC occurs
Backport-of: be9f984cae
2023-04-20 16:30:10 +07:00
Goetz Lindenmaier
56dc620484 8270476: Make floating-point test infrastructure more lambda and method reference friendly
Backport-of: 40a2ce2033
2023-04-20 16:30:10 +07:00
Goetz Lindenmaier
98c3fc3000 8212961: [TESTBUG] vmTestbase/nsk/stress/jni/ native code cleanup
Backport-of: fde183130b
2023-04-20 16:30:09 +07:00
Aleksey Shipilev
8ef13c5034 8277485: Zero: Fix _fast_{i,f}access_0 bytecodes handling
Backport-of: 0a9e76c4f9
2023-04-20 16:30:09 +07:00
Aleksey Shipilev
d74b6fe091 8008243: Zero: Implement fast bytecodes
Backport-of: e4362007da
2023-04-20 16:30:08 +07:00
Matthias Baesken
fb5aa3063d 8298035: Provide better descriptions for JIT compiler JFR events
Reviewed-by: mdoerr
Backport-of: 58170f657c
2023-04-20 16:30:08 +07:00
Sergey Bylokhov
3ad087ddaa 8280132: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Backport-of: 2f46af05ce
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
68f83592c1 8295066: Folding of loads is broken in C2 after JDK-8242115
Backport-of: 58a7141a0d
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
7ee50572e2 8242115: C2 SATB barriers are not safepoint-safe
Reviewed-by: mdoerr
Backport-of: c6e3daa5fa
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
ec72b673d1 8294378: URLPermission constructor exception when using tr locale
Backport-of: ff2c987669
2023-04-20 16:30:06 +07:00
Goetz Lindenmaier
7911d3d3ff 8296136: Use correct register in aarch64_enc_fast_unlock()
Reviewed-by: rkennke
Backport-of: 7619602c36
2023-04-20 16:30:06 +07:00
Goetz Lindenmaier
80aee1087f 8293531: C2: some vectorapi tests fail assert "Not monotonic" with flag -XX:TypeProfileLevel=222
Backport-of: 0043d58c5d
2023-04-20 16:30:04 +07:00
Goetz Lindenmaier
2a5920b517 8290964: C2 compilation fails with assert "non-reduction loop contains reduction nodes"
Backport-of: 4bdd1c9148
2023-04-20 16:30:03 +07:00
Goetz Lindenmaier
beb0848e2c 8292780: misc tests failed "assert(false) failed: graph should be schedulable"
Backport-of: 16047e8308
2023-04-20 16:30:02 +07:00
Goetz Lindenmaier
e058ce1f0a 8293996: C2: fix and simplify IdealLoopTree::do_remove_empty_loop
Backport-of: dd51f7e0b7
2023-04-20 16:30:01 +07:00
Goetz Lindenmaier
fa4499517c 8292602: ZGC: C2 late barrier analysis uses invalid dominator information
Backport-of: eec992c6b0
2023-04-20 16:30:01 +07:00
Goetz Lindenmaier
b08e24ca46 8292297: Fix up loading of override java.security properties file
Reviewed-by: mdoerr, mbaesken
Backport-of: 1f9ff41312
2023-04-20 16:30:00 +07:00
Goetz Lindenmaier
0469c792de 8281122: [IR Framework] Cleanup IR matching code in preparation for JDK-8280378
Reviewed-by: mdoerr
Backport-of: 2da677793f
2023-04-20 16:30:00 +07:00
Goetz Lindenmaier
c87e00ec73 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Backport-of: 251351f494
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
f0c10fb393 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases
Backport-of: 76fe03fe01
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
e7b1e5db38 8258512: serviceability/sa/TestJmapCore.java timed out on macOS 10.13.6
Backport-of: 19ce33d5e7
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
c8af6e78c4 8270156: Add "randomness" and "stress" keys to JTreg tests which use StressGCM, StressLCM and/or StressIGVN
Backport-of: 653a612a5a
2023-04-20 16:29:56 +07:00
Matthias Baesken
45c9dea79c 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent
Backport-of: d490f15e3b
2023-04-20 16:29:55 +07:00
Matthias Baesken
47e0eed693 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c
Backport-of: 98fa48c330
2023-04-20 16:29:54 +07:00
Martin Doerr
2b80ff9a55 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic
8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently

Reviewed-by: kvn, mbaesken
Backport-of: cd2182a996
2023-04-20 16:29:52 +07:00
Matthias Baesken
ac37cea2b5 8297959: Provide better descriptions for some Operating System JFR events
Backport-of: dea2161f06
2023-04-20 16:29:52 +07:00
Matthias Baesken
09a31ac954 8297480: GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check
Backport-of: 2f8a5c2eca
2023-04-20 16:29:51 +07:00
Sergey Bylokhov
d4b75401cc 8288854: getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
Backport-of: cfc9a881af
2023-04-20 16:29:51 +07:00
Yi-Fan Tsai
20cd244401 8296548: Improve MD5 intrinsic for x86_64
Backport-of: 6ead2b0195
2023-04-20 16:29:50 +07:00
Goetz Lindenmaier
ee54e291a8 8295530: Update Zlib Data Compression Library to Version 1.2.13
Backport-of: 0c13d66622
2023-04-20 16:29:47 +07:00
Goetz Lindenmaier
c54b498058 8275173: testlibrary_tests/ir_framework/tests/TestCheckedTests.java fails after JDK-8274911
Backport-of: 451a296510
2023-04-20 16:29:46 +07:00
Goetz Lindenmaier
97120af230 8287217: C2: PhaseCCP: remove not visited nodes, prevent type inconsistency
Backport-of: 379f3094db
2023-04-20 16:29:46 +07:00
Goetz Lindenmaier
b987dcb41f 8065097: [macosx] javax/swing/Popup/TaskbarPositionTest.java fails because Popup is one pixel off
Backport-of: 649f2d8835
2023-04-20 16:29:43 +07:00
Goetz Lindenmaier
ab57b3e1b1 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"
Backport-of: df125f680b
2023-04-20 16:29:41 +07:00
Sergey Bylokhov
c2fdeaf9ce 8298027: Remove SCCS id's from awt jtreg tests
Backport-of: ba2d28e911
2023-04-20 16:29:39 +07:00
Sergey Bylokhov
d4c0b04169 8293767: AWT test TestSinhalaChar.java has old SCCS markings
Backport-of: 141d5f5dee
2023-04-20 16:29:38 +07:00
Goetz Lindenmaier
09ddf661b7 8293562: KeepAliveCache Blocks Threads while Closing Connections
Backport-of: 03f25a9c69
2023-04-20 16:29:38 +07:00
Goetz Lindenmaier
19b3fd283d 8289508: Improve test coverage for XPath Axes: ancestor, ancestor-or-self, preceding, and preceding-sibling
Backport-of: caae53f4da
2023-04-20 16:29:37 +07:00
Goetz Lindenmaier
9b26a3bd5e 8292660: C2: blocks made unreachable by NeverBranch-to-Goto conversion are removed incorrectly
Backport-of: 730ced9a10
2023-04-20 16:29:36 +07:00
Goetz Lindenmaier
15a3620e7d 8292877: java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
Backport-of: 251bff6bee
2023-04-20 16:29:36 +07:00
Goetz Lindenmaier
2f4fb61ef0 8292285: C2: remove unreachable block after NeverBranch-to-Goto conversion
Backport-of: a25e1dc53c
2023-04-20 16:29:35 +07:00
Goetz Lindenmaier
0fe0531f09 8155246: Throw error if default java.security file is missing
Backport-of: 9d7c13eb14
2023-04-20 16:29:35 +07:00
Goetz Lindenmaier
1000476b18 8288130: compiler error with AP and explicit record accessor
Backport-of: 53b37fe153
2023-04-20 16:29:34 +07:00
Goetz Lindenmaier
43bad30026 8285399: JNI exception pending in awt_GraphicsEnv.c:1432
Backport-of: c156bcc599
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
fdea5d44fb 8282577: ICC_Profile.setData(int, byte[]) invalidates the profile
Backport-of: f66070b00d
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
438d248e61 8279119: src/jdk.hotspot.agent/doc/index.html file contains references to scripts that no longer exist
Backport-of: 2a59ebbba3
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
a06e1b752f 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"
Backport-of: f623460668
2023-04-20 16:29:30 +07:00
Goetz Lindenmaier
a103c4fa4c 8244669: convert clhsdb "mem" command from javascript to java
Reviewed-by: clanger
Backport-of: eaefb1a1ed
2023-04-20 16:29:30 +07:00
Goetz Lindenmaier
91291fa460 8279024: Remove javascript references from clhsdb.html
Backport-of: d0ea7c9db9
2023-04-20 16:29:29 +07:00
Goetz Lindenmaier
6d3bf3ff85 8262386: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out
Backport-of: 46684a4efa
2023-04-20 16:29:28 +07:00
Goetz Lindenmaier
6d41078bef 8271471: [IR Framework] Rare occurrence of "<!-- safepoint while printing -->" in PrintIdeal/PrintOptoAssembly can let tests fail
Backport-of: 3677734584
2023-04-20 16:29:28 +07:00
Chris Hegarty
ed605fcedc 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes
Backport-of: a7d6de71bb
2023-04-20 16:29:28 +07:00
Nagata, Haruhito
fbd5be5bc7 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: clanger
Backport-of: 7d545084f4
2023-04-20 16:29:27 +07:00
Aleksei Voitylov
aae3943681 8288005: HotSpot build with disabled PCH fails for Windows AArch64
Backport-of: b2a58bec4a
2023-04-20 16:29:25 +07:00
Christoph Langer
8ef6207bca 8298527: Cygwin's uname -m returns different string than before
Reviewed-by: mbaesken
Backport-of: 51f0a1ce4b
2023-04-20 16:29:24 +07:00
Christoph Langer
4074102222 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
Backport-of: 909d0cb4d9
2023-04-20 16:29:24 +07:00
Alan Bateman
340f644e50 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds
Reviewed-by: andrew
Backport-of: 5f63f7a742
2023-04-20 16:29:24 +07:00
Matthias Baesken
de7911cd93 8296611: Problemlist several sun/security tests until JDK-8295343 is resolved
Backport-of: d6e2d0d03d
2023-04-20 16:29:23 +07:00
Denghui Dong
86e74f6413 8283870: jdeprscan --help causes an exception when the locale is ja, zh_CN or de
Reviewed-by: clanger
Backport-of: ef25e189c7
2023-04-20 16:29:22 +07:00
Jatin Bhateja
444a9bb87f 8290322: Optimize Vector.rearrange over byte vectors for AVX512BW targets.
Reviewed-by: phh, sviswanathan
Backport-of: 38a81913d3
2023-04-20 16:29:22 +07:00
Sergey Bylokhov
781c40d66c 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86
Backport-of: 2bb727c4ea
2023-04-20 16:29:22 +07:00
Richard Reingruber
6981f7b010 8294580: frame::interpreter_frame_print_on() crashes if free BasicObjectLock exists in frame
Backport-of: bdb4ed0fb1
2023-04-20 16:29:21 +07:00
Christoph Langer
45f2354759 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation
Backport-of: d624debe23
2023-04-20 16:29:21 +07:00
Sergey Bylokhov
31937aef18 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters
Backport-of: 87f00f4a1b
2023-04-20 16:29:20 +07:00
Christoph Langer
0316fc5c0b 8296904: Improve handling of macos xcode toolchain
Reviewed-by: mbaesken
Backport-of: 470f3424fc
2023-04-20 16:29:19 +07:00
Ben Taylor
6a20c49d91 8297211: Expensive fillInStackTrace operation in HttpURLConnection.getOutputStream0 when no content-length in response
Backport-of: 392ac7055d
2023-04-20 16:29:19 +07:00
Goetz Lindenmaier
b4e5759db8 8297259: Bump update version for OpenJDK: jdk-17.0.7
Reviewed-by: shade
2023-04-20 16:29:18 +07:00
Vitaly Provodin
01c67b6671 update exclude list on results of 17.0.6_b922.2 test runs 2023-04-20 16:27:53 +07:00
Maxim Kartashev
bbf143b9e2 JBR-5480 Fixed Windows debug build 2023-04-19 08:31:27 +04:00
Maxim Kartashev
dc2c9dff56 JBR-5480 Fixed build failue with LLVM compilers 2023-04-18 20:04:33 +04:00
Maxim Kartashev
2c45589b97 JBR-5480 Include more information in OOME crash reports 2023-04-18 16:40:19 +04:00
Dmitrii Morskii
940d18be5a JBR-5548 fix BadSerializationTest 2023-04-17 18:34:30 +02:00
Alexander Lobas
6dfff5881a Merge pull request #228 from alexander-lobas/jbr17
JBR-5546 Iterating open windows with cmd backtick on Mac forces minim…
2023-04-14 17:25:43 +03:00
Alexander Lobas
14efb05bc5 JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize 2023-04-14 17:22:40 +03:00
Vitaly Provodin
6c590bd8df update exclude list on results of 17.0.6_b918.1 test runs 2023-04-14 21:00:51 +07:00
Vitaly Provodin
7071647f61 JBR-5510 eclude tests failing on ArchLinux (5.18.2-arch1-1) 2023-04-14 21:00:21 +07:00
Dmitrii Morskii
172514a2ce JBR-5246 add OpenType's features support 2023-04-14 12:18:49 +02:00
Maxim Kartashev
a6023fa92c JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case 2023-04-10 19:02:10 +04:00
Vitaly Provodin
78bd65c9ab update exclude list on results of 17.0.6_b912.4 test runs 2023-04-07 17:49:59 +07:00
Sergey Shelomentsev
fd99763c05 JBR-5505 update exclude list for a11y testing on Windows 2023-04-07 13:01:44 +03:00
Sergey Shelomentsev
0e9ee41fe7 JBR-5397 update exclude list for a11y testing on MacOS 2023-04-07 13:01:36 +03:00
Alexander Lobas
468f97e2c1 Merge pull request #226 from alexander-lobas/jbr17
JBR-5499 Window control buttons bugfix
2023-04-06 20:21:11 +03:00
Alexander Lobas
88faed720b JBR-5499 Window control buttons bugfix 2023-04-06 20:17:39 +03:00
Alexander Lobas
c8efacbdf2 JBR-5499 Window control buttons bugfix 2023-04-06 20:15:15 +03:00
Alexander Lobas
ef2ff1cc91 Merge pull request #225 from alexander-lobas/jbr17
JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor
2023-04-06 15:49:46 +03:00
Alexander Lobas
cd924a15b5 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor 2023-04-06 15:47:44 +03:00
Alexander Lobas
d31cd8c115 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor 2023-04-06 15:46:13 +03:00
Nikita Gubarkov
5746ed2ce1 JBR-5238 Disable AwtWindow::CheckWindowDPIChange() hack on Aero Snap. 2023-04-05 16:53:30 +03:00
Vladimir Dvorak
e4c0e8649f JBR-5464 Fix native method registration 2023-04-02 09:15:37 +02:00
Dmitry Batrak
acde759572 JBR-5458 Exception at dialog closing 2023-03-31 20:55:59 +03:00
Nikita Gubarkov
c1870bc0da JBR-5414 Add awt.lock.fair system property for enabling fair awtLock().
(cherry picked from commit aa24f103e8446da65d65e14ea75a4cff94a1d8fa)
2023-03-30 23:29:23 +03:00
Sergey Shelomentsev
2a2843b2c3 JBR-5441 fix wait for idle 2023-03-30 21:31:26 +03:00
Sergey Shelomentsev
66c04a301f JBR-5440 fix calculations for double click location 2023-03-30 15:48:21 +03:00
Artem Bochkarev
5d61c1b261 JBR-5426 write JCEF version info inside release file 2023-03-30 14:31:25 +04:00
Maxim Kartashev
24775c16fb JBR-5431 Include memory used by JNI references into crash reports 2023-03-30 09:03:45 +04:00
Maxim Kartashev
c9d7f9fc1c JBR-5445 JBRApiTest test fails on development builds 2023-03-29 19:24:29 +04:00
ngubarkov
2182376910 JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit c51695d830dd3daf0021180ee974a3c11d03b6a8)
2023-03-29 16:27:53 +03:00
Maxim Kartashev
2474e4aac4 JBR-5084 Add ability to log additional data to jstack output
The data can be provided via this JBR API call:
JBR.getJstack().includeInfoFrom(Supplier<String>)
2023-03-29 12:18:38 +04:00
Sergey Shelomentsev
699acf0baa JBR-5433 add typing latency text for JTextArea 2023-03-27 21:30:12 +03:00
Alexey Ushakov
b7f9907609 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Revert "Present layer content using a Core Animation transaction" because of regression in fullscreen mode on MBP 16' M1 MAX

(cherry picked from commit 9312830177)
2023-03-27 15:27:47 +02:00
ngubarkov
d32481eb18 JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode. 2023-03-27 15:45:45 +03:00
ngubarkov
890d575910 JBR-5265 Workaround incorrect position of content window in queryXLocation. 2023-03-27 15:45:45 +03:00
Vitaly Provodin
2a30174bdc update exclude list: exclude java/awt/event/KeyEvent/KeyTyped/CtrlSpace.java on macosx-all due to JBR-3817 2023-03-25 07:50:45 +07:00
Maxim Kartashev
54fc47205f JBR-5230 Wanted: an ability to use Unix Domain sockets with overridden default NIO file system 2023-03-24 13:53:57 +04:00
ngubarkov
f304a92f9f JBR-5316 Fix fractional scaling HIDPI. 2023-03-22 22:55:26 +02:00
Sergey Shelomentsev
321f596b6f add ComboBoxTransparentTittleBarTest 2023-03-21 22:15:39 +02:00
Nikita Gubarkov
914b709227 JBR-5417 Revert "JBR-3388: Fixed wrong graphic config in Component on primary display change" 2023-03-21 14:25:19 +02:00
ngubarkov
166aaec4ee JBR-5417 Fix flickering in multi-monitor setups on Linux. 2023-03-20 22:30:21 +02:00
Alexander Lobas
7c8f279144 Merge pull request #223 from alexander-lobas/jbr17
JBR-5409 "No Print Service Found" Error when saving to PDF
2023-03-17 21:32:50 +03:00
Alexander Lobas
4568e0f575 JBR-5409 "No Print Service Found" Error when saving to PDF 2023-03-17 21:31:45 +03:00
Vitaly Provodin
1c659bb0c6 update exclude list on results of 17.0.6_b882.1 test runs 2023-03-17 18:41:34 +04:00
Sergey Shelomentsev
d14715d9cb fix controls width calculation 2023-03-16 03:22:59 +02:00
Sergey Shelomentsev
2fbcefc34d split ActionListenerTest 2023-03-16 03:22:56 +02:00
Sergey Shelomentsev
c3dff36d30 JBR-5345 native controls detection and scale fixes 2023-03-16 00:02:26 +02:00
Nikita Gubarkov
9186cd0af3 JBR-5285 Add doPrivileged for WFramePeer#WIN11_OR_NEWER os.name & os.version check. 2023-03-15 23:21:44 +02:00
Nikita Gubarkov
544c64bea6 JBR-5284 Do not reset custom title bar controls state in WmMouseMove. 2023-03-15 23:21:44 +02:00
Alexey Ushakov
66db1e3a7a JBR-5330 Blank Welcome screen after moving to another display
Initialize currentDisplayID on AWTWindow creation
2023-03-14 17:47:25 +01:00
Nikita Tsarev
1cb0c9e5f3 JBR-5369: Update failing tests list in response to macOS keyboard support rewrite 2023-03-14 14:41:41 +01:00
Nikita Tsarev
40f71a4331 JBR-5295: Fix wrong keycodes for non-letter keys that lack a corresponding VK_ constant on macOS 2023-03-14 14:39:26 +01:00
Vitaly Provodin
de919cc050 update exclude list on results of 17.0.6_b878.1 test runs 2023-03-11 04:04:46 +07:00
Alexander Lobas
420aa78847 Merge pull request #221 from alexander-lobas/jbr17
JBR-5384 New UI: window header is hard to resize on the top edge, top…
2023-03-10 00:12:51 +03:00
Alexander Lobas
bb5aaad31f JBR-5384 New UI: window header is hard to resize on the top edge, top/right corner 2023-03-10 00:11:32 +03:00
Alexey Ushakov
e06fc3ca97 JBR-4883 macOS: SIGSEGV at MTLVertexCache_FlushGlyphVertexCache
Use separate glyph cache for each MTLContext instance. Refactored MTLGlyphCache
2023-03-09 18:03:43 +01:00
Dmitry Batrak
1cd36c4c48 JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5341 'Show usages' navigates to another project's window

Now, the custom NSEvent isn't linked to a particular AWTEvent, the latter is retrieved from EventQueue at dispatching time,
so the event priorities are taken into account.
2023-03-03 21:44:58 +02:00
Vitaly Provodin
b66a03cdb9 update exclude list on results of 17.0.6_b866.1 test runs 2023-03-03 18:57:12 +07:00
Sergey Shelomentsev
e33aaf4114 JBR-5350 Separate test for Mac OS 2023-03-02 09:12:59 +02:00
Sergey Shelomentsev
560c3a0274 JBR-5346 run MaximizedCustomDecorationsTest on windows/mac only 2023-02-28 16:18:28 +02:00
Sergey Shelomentsev
ae1f9d3c4d JBR-5350 fix FrameNativeControlTest checks on MacOS 2023-02-28 16:06:34 +02:00
Sergey Shelomentsev
6c36e6ac98 JBR-5344 fix incorrectly specified VM options 2023-02-28 16:02:16 +02:00
Vitaly Provodin
6ba1b438cc update exclude list on results of 17.0.6_b855.1 test runs 2023-02-24 20:01:20 +07:00
Dmitry Batrak
563b2cca0e JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5292 Heavyweight components are not painted sometimes after adding to hierarchy in main.thread.as.edt=true mode

alternative solution, which doesn't cause deadlocks
2023-02-24 09:50:00 +02:00
Dmitry Batrak
b46c99c9ca Merge remote-tracking branch 'origin/jbr17' into jbr17 2023-02-22 16:08:36 +02:00
Dmitry Batrak
333b56ebf5 JBR-4993 Support using 'main' thread as EDT on macOS
avoid deadlock when java.awt.Robot is used on multiple threads simultaneously
2023-02-22 16:08:25 +02:00
Dmitry Batrak
b339932323 JBR-4993 Support using 'main' thread as EDT on macOS
further fixes for JBR-5236 Deadlock when UI is initialized from a background thread in main.thread.as.edt=true mode
2023-02-22 16:07:08 +02:00
Alexey Ushakov
20e2651c58 JBR-5321 Menu sometimes rendered as empty frame with Dsun.java2d.metal.displaySync=true
(cherry picked from commit 2935bdec77ef07e90a97ea34fa2d6aeabffcf424)
2023-02-22 13:38:23 +01:00
Sergey Shelomentsev
b99211af7b JBR-5313 fix broken custom decoration tests on Windows 2023-02-21 16:42:56 +02:00
Sergey Shelomentsev
3ed5412a11 JBR-5253 Use new JBR API for custom decorations 2023-02-21 12:00:38 +02:00
Dmitry Batrak
3518340a13 JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5245 JOptionPane.showInternal...Dialog methods don't work in main.thread.as.edt=true mode
2023-02-20 13:03:24 +02:00
Dmitry Batrak
8ffe20fe4d JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5242 SecondaryLoopTest.java test fails in main.thread.as.edt=true mode
2023-02-20 11:23:21 +02:00
Vitaly Provodin
b2a144adeb JBR-5300 move jbr-api.jar into test artefact 2023-02-18 08:12:35 +07:00
Vitaly Provodin
6911b6b03e update exclude list on results of 17.0.6_b837.3 test runs 2023-02-18 08:09:21 +07:00
Dmitry Batrak
331813009d JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5236 Deadlock when UI is initialized from a background thread in main.thread.as.edt=true mode
2023-02-17 13:03:04 +02:00
Dmitry Batrak
d9549b011c JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5307 Window content is blinking when showing on Retina screen in main.thread.as.edt=true mode
2023-02-17 10:39:35 +02:00
Dmitry Batrak
3cc128d1a8 JBR-4993 Support using 'main' thread as EDT on macOS
fix for JBR-5292 Heavyweight components are not painted sometimes after adding to hierarchy in main.thread.as.edt=true mode
2023-02-16 21:01:07 +02:00
Sergey Shelomentsev
59c93d8775 fixup! JBR-5300 Change source code and test files to use GPL license 2023-02-16 17:51:54 +02:00
Dmitry Batrak
43ebbe3cd1 JBR-5300 Change source code and test files to use GPL license
fix copyright profile in generated IDE project
2023-02-16 11:55:15 +02:00
Dmitry Batrak
6c898a14b5 JBR-5300 Change source code and test files to use GPL license
fix for the different comment format
2023-02-15 23:15:46 +02:00
Sergey Shelomentsev
411cda99c3 set version for building jbr-api 2023-02-15 21:27:24 +02:00
Lance Andersen
e1d756d6f7 JBR-5302: 8263940: NPE when creating default file system when default file system provider is packaged as JAR file on class path
Reviewed-by: naoto, bpb, iris, joehw
(cherry picked from commit 717792c3b7)
2023-02-15 18:08:56 +07:00
Sergey Shelomentsev
25cf9ac4ce git rid of build jbr api scripts 2023-02-15 11:37:58 +02:00
Dmitry Batrak
eeafae198b JBR-5300 Change source code and test files to use GPL license 2023-02-15 09:35:39 +02:00
Vitaly Provodin
801302de36 clean up exclude lists 2023-02-15 07:47:08 +07:00
Vitaly Provodin
9194a7c685 update exclude list on results of 17.0.6_b829.1 test runs 2023-02-15 07:11:27 +07:00
Nikita Gubarkov
791934a178 JBR-5284 Use ChildWindowFromPointEx instead of RealChildWindowFromPoint in ScreenToBottommostChild 2023-02-14 16:11:19 +02:00
Alexander Lobas
62aec8f216 Merge pull request #217 from alexander-lobas/jbr17
JBR-5256 IDEA window resizes to zero height when exit full-screen mod…
2023-02-14 16:15:27 +03:00
Alexander Lobas
1890f6ba9c JBR-5256 IDEA window resizes to zero height when exit full-screen mode with new window controls enabled 2023-02-14 16:14:07 +03:00
Sergey Shelomentsev
cb0dc40bf6 JBR-5194 add regression tests for custom decorations support 2023-02-14 13:51:41 +02:00
Sergey Shelomentsev
5076d06f6e build jbr-api as a part of bundle build 2023-02-14 11:36:42 +02:00
Vitaly Provodin
365ec06712 Update README.md 2023-02-14 11:52:02 +07:00
Artem Semenov
c9d5e563d4 JBR-5289 If the label has the role of a hyperlink, VO still pronounces it as plain text (#215) 2023-02-14 00:08:17 +04:00
Dmitry Batrak
a1d06b1d77 JBR-4993 Support using 'main' thread as EDT on macOS
fix menu bar logic (java/awt/MenuBar/TestNoScreenMenuBar.java test)
2023-02-13 14:05:55 +02:00
6995 changed files with 336132 additions and 130816 deletions

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -65,7 +65,7 @@ runs:
- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}
@@ -104,6 +104,6 @@ runs:
- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/bootjdk/jdk" >> $GITHUB_OUTPUT
shell: bash

View File

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

View File

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

View File

@@ -41,13 +41,13 @@ runs:
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}

View File

@@ -30,15 +30,15 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
uses: msys2/setup-msys2@v2
uses: msys2/setup-msys2@v2.22.0
with:
install: 'autoconf tar unzip zip make'
path-type: minimal
location: msys2
location: ${{ runner.tool_cache }}/msys2
# We can't run bash until this is completed, so stick with pwsh
- name: 'Set MSYS2 path'
run: |
# Prepend msys2/msys64/usr/bin to the PATH
echo "$env:GITHUB_WORKSPACE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
echo "$env:RUNNER_TOOL_CACHE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
shell: pwsh

View File

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

View File

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

View File

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

View File

@@ -29,22 +29,22 @@ on:
workflow_call:
inputs:
gcc-major-version:
required: true
type: string
extra-conf-options:
required: false
type: string
default: '10'
apt-gcc-version:
configure-arguments:
required: false
type: string
default: '10.3.0-1ubuntu1~20.04'
apt-gcc-cross-suffix:
make-arguments:
required: false
type: string
default: 'cross1'
jobs:
build-cross-compile:
name: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
@@ -54,24 +54,43 @@ jobs:
- arm
- s390x
- ppc64le
- riscv64
include:
- target-cpu: aarch64
debian-arch: arm64
gnu-arch: aarch64
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: arm
debian-arch: armhf
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
debian-arch: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: ppc64le
debian-arch: ppc64el
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://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
@@ -79,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'
@@ -93,16 +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-version }}${{ inputs.apt-gcc-cross-suffix }} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-version }}${{ inputs.apt-gcc-cross-suffix }} \
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') }}
@@ -112,15 +128,18 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo qemu-debootstrap
sudo debootstrap
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
--resolve-deps
buster
--variant=minbase
${{ matrix.debian-version }}
sysroot
https://httpredir.debian.org/debian/
${{ matrix.debian-repository }}
continue-on-error: ${{ matrix.tolerate-sysroot-errors }}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Prepare sysroot'
@@ -128,8 +147,16 @@ jobs:
# Prepare sysroot and remove unused files to minimize cache
sudo chroot sysroot symlinks -cr .
sudo chown ${USER} -R sysroot
rm -rf sysroot/{dev,proc,run,sys}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
rm -rf sysroot/{dev,proc,run,sys,var}
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -137,18 +164,24 @@ 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 }}
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-10
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-10
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 }}
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
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
uses: ./.github/actions/do-build
with:
make-target: 'hotspot'
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

@@ -42,20 +42,30 @@ on:
required: false
type: string
default: '[ "debug", "release" ]'
apt-gcc-version:
gcc-major-version:
required: true
type: string
gcc-package-suffix:
required: false
type: string
default: ''
apt-architecture:
required: false
type: string
apt-extra-packages:
required: false
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-linux:
name: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
@@ -68,7 +78,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -101,8 +111,8 @@ jobs:
fi
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install gcc-${{ inputs.apt-gcc-version }} g++-${{ 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 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
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'
run: >
@@ -115,13 +125,16 @@ jobs:
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-zlib=system
${{ inputs.extra-conf-options }}
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -45,6 +45,12 @@ on:
xcode-toolset-version:
required: true
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-macos:
@@ -62,7 +68,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -97,13 +103,16 @@ jobs:
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-zlib=system
${{ inputs.extra-conf-options }}
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -48,6 +48,12 @@ on:
msvc-toolset-architecture:
required: true
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -73,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
@@ -92,12 +98,26 @@ jobs:
id: gtest
uses: ./.github/actions/get-gtest
- name: 'Check toolchain installed'
id: toolchain-check
run: |
set +e
'/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
if [ $? -eq 0 ]; then
echo "Toolchain is already installed"
echo "toolchain-installed=true" >> $GITHUB_OUTPUT
else
echo "Toolchain is not yet installed"
echo "toolchain-installed=false" >> $GITHUB_OUTPUT
fi
- name: 'Install toolchain and dependencies'
run: |
# Run Visual Studio Installer
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
modify --quiet --installPath 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise' \
modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
if: steps.toolchain-check.outputs.toolchain-installed != 'true'
- name: 'Configure'
run: >
@@ -110,17 +130,21 @@ jobs:
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
${{ inputs.extra-conf-options }}
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
env:
# We need a minimal PATH on Windows
# Set PATH to "", so just GITHUB_PATH is included
PATH: ''
shell: env /usr/bin/bash --login -eo pipefail {0}
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -36,6 +36,12 @@ on:
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'
configure-arguments:
description: 'Additional configure arguments'
required: false
make-arguments:
description: 'Additional make arguments'
required: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -49,7 +55,7 @@ jobs:
select:
name: 'Select platforms'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
@@ -71,19 +77,17 @@ jobs:
# 'false' otherwise.
# arg $1: platform name or names to look for
function check_platform() {
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
echo 'false'
return
fi
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
elif [[ $GITHUB_EVENT_NAME == push ]]; then
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
else
echo 'Internal error in GHA'
exit 1
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
>&2 echo 'JDK_SUBMIT_FILTER is set and not a "submit/" branch'
echo 'false'
return
else
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
fi
fi
normalized_input="$(echo ,$input, | tr -d ' ')"
@@ -123,9 +127,10 @@ jobs:
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
apt-gcc-version: '10=10.3.0-1ubuntu1~20.04'
# 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'
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
@@ -133,12 +138,15 @@ jobs:
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
apt-gcc-version: '10-multilib'
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
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'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
build-linux-x64-hs-nopch:
@@ -149,8 +157,10 @@ jobs:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
apt-gcc-version: '10=10.3.0-1ubuntu1~20.04'
gcc-major-version: '10'
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'
build-linux-x64-hs-zero:
@@ -161,8 +171,10 @@ jobs:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
apt-gcc-version: '10=10.3.0-1ubuntu1~20.04'
gcc-major-version: '10'
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'
build-linux-x64-hs-minimal:
@@ -173,8 +185,10 @@ jobs:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
apt-gcc-version: '10=10.3.0-1ubuntu1~20.04'
gcc-major-version: '10'
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'
build-linux-x64-hs-optimized:
@@ -186,16 +200,21 @@ jobs:
make-target: 'hotspot'
# Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
debug-levels: '[ "debug" ]'
apt-gcc-version: '10=10.3.0-1ubuntu1~20.04'
gcc-major-version: '10'
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'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
build-macos-x64:
@@ -204,7 +223,9 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '11.7'
xcode-toolset-version: '12.5.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
build-macos-aarch64:
@@ -213,8 +234,10 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.4'
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
build-windows-x64:
@@ -223,8 +246,10 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
msvc-toolset-version: '14.25'
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
build-windows-aarch64:
@@ -237,6 +262,8 @@ jobs:
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
###
@@ -251,7 +278,7 @@ jobs:
with:
platform: linux-x64
bootjdk-platform: linux-x64
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
test-linux-x86:
name: linux-x86
@@ -261,7 +288,7 @@ jobs:
with:
platform: linux-x86
bootjdk-platform: linux-x64
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
test-macos-x64:
name: macos-x64
@@ -286,7 +313,7 @@ jobs:
# Remove bundles so they are not misconstrued as binary distributions from the JDK project
remove-bundles:
name: 'Remove bundle artifacts'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: always()
needs:
- build-linux-x64
@@ -309,7 +336,7 @@ jobs:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'

View File

@@ -60,10 +60,14 @@ 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'
- 'lib-test/tier1'
include:
- test-name: 'jdk/tier1 part 1'
@@ -82,8 +86,20 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -98,9 +114,13 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_serviceability'
debug-suffix: -debug
- test-name: 'lib-test/tier1'
test-suite: 'test/lib-test/:tier1'
debug-suffix: -debug
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -191,7 +211,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -199,7 +219,7 @@ jobs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

3
.gitignore vendored
View File

@@ -18,5 +18,8 @@ NashornProfile.txt
/src/utils/LogCompilation/target/
/.project/
/.settings/
/compile_commands.json
/.cache
*.class
.idea/workspace.xml
/jbr-api/

View File

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

View File

@@ -9,11 +9,13 @@ It includes a number of enhancements in font rendering, ligatures, HiDPI support
Download the latest releases of JetBrains Runtime to use with JetBrains IDEs. The full list
can be found on the [releases page](https://github.com/JetBrains/JetBrainsRuntime/releases).
| IDE Version | Latest JBR | Date Released |
| --- |--------------------------------------------------------------------------------------------------------|---------------|
| 2023.1 | [17.0.6-b802.4](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b802.4) | 09-Feb-2023 |
| 2022.3 | [17.0.5-b653.25](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.5b653.25) | 10-Jan-2023 |
| 2022.2 | [17.0.5-b469.71](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.5b469.71) | 14-Nov-2022 |
| 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.1](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b829.1) | 14-Feb-2023 |
| 2022.3 | [17.0.5-b653.25](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.5b653.25) | 10-Jan-2023 |
| 2022.2 | [17.0.5-b469.71](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.5b469.71) | 14-Nov-2022 |
## Contents

View File

@@ -128,6 +128,15 @@ install_jib() {
exit 1
fi
fi
# Want to check the filetype using file, to see if we got served a HTML error page.
# This is sensitive to the filename containing a specific string, but good enough.
file "${installed_jib_script}.gz" | grep "gzip compressed data" > /dev/null
if [ $? -ne 0 ]; then
echo "Warning: ${installed_jib_script}.gz is not a gzip file."
echo "If you are behind a proxy you may need to configure exceptions using no_proxy."
echo "The download URL was: ${jib_url}"
exit 1
fi
echo "Extracting JIB bootstrap script"
rm -f "${installed_jib_script}"
gunzip "${installed_jib_script}.gz"

View File

@@ -175,22 +175,22 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Vendor/version used</th>
<th>Operating system</th>
<th>Vendor/version used</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.6</td>
<td>Linux</td>
<td>Oracle Enterprise Linux 6.4 / 7.6</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Mac OS X 10.13 (High Sierra)</td>
<td>macOS</td>
<td>Mac OS X 10.13 (High Sierra)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Windows Server 2012 R2</td>
<td>Windows</td>
<td>Windows Server 2012 R2</td>
</tr>
</tbody>
</table>
@@ -240,26 +240,26 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Supported toolchain</th>
<th>Operating system</th>
<th>Supported toolchain</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc, clang</td>
<td>Linux</td>
<td>gcc, clang</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Apple Xcode (using clang)</td>
<td>macOS</td>
<td>Apple Xcode (using clang)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">AIX</td>
<td style="text-align: left;">IBM XL C/C++</td>
<td>AIX</td>
<td>IBM XL C/C++</td>
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio</td>
<td>Windows</td>
<td>Microsoft Visual Studio</td>
</tr>
</tbody>
</table>
@@ -267,41 +267,45 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Toolchain version</th>
<th>Operating system</th>
<th>Toolchain version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc 10.2.0</td>
<td>Linux</td>
<td>gcc 11.2.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Apple Xcode 10.1 (using clang 10.0.0)</td>
<td>macOS</td>
<td>Apple Xcode 10.1 (using clang 10.0.0)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2022 update 17.1.0</td>
<td>Windows</td>
<td>Microsoft Visual Studio 2022 update 17.1.0</td>
</tr>
</tbody>
</table>
<p>All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 5.0. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 10.2 of gcc.</p>
<p>The JDK is currently known to be able to compile with at least version 11.2 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.5. Older versions will not be accepted by <code>configure</code>.</p>
<p>To use clang instead of gcc on Linux, use <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 lines developers tools to be able to build the JDK. (Actually, <em>only</em> the command lines tools are needed, not the IDE.) The simplest way to install these is to run:</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>It is advisable to keep an older version of Xcode for building the JDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin</code></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>
<ul>
<li>Use <code>xcode-select -s</code> before running <code>configure</code>, e.g. <code>xcode-select -s /Applications/Xcode13.1.app</code>. The drawback is that the setting is system wide and you may have to revert it after an OpenJDK build.</li>
<li>Use configure option <code>--with-xcode-path</code>, e.g. <code>configure --with-xcode-path=/Applications/Xcode13.1.app</code> This allows using a specific Xcode version for an OpenJDK build, independently of the active Xcode version by <code>xcode-select</code>.</li>
</ul>
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and the JDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019 (16.8 or higher). For all other platforms the minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. For all platforms the maximum accepted version of Visual Studio is 2019.</p>
<p>The minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. The maximum accepted version of Visual Studio is 2019.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2017</code>.</p>
<p>If you have Visual Studio installed but <code>configure</code> fails to detect it, it may be because of <a href="#spaces-in-path">spaces in path</a>.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
@@ -510,7 +514,7 @@
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a href="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>
@@ -541,27 +545,27 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Supported devkit targets</th>
<th>Supported devkit targets</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86_64-linux-gnu</td>
<td>x86_64-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">aarch64-linux-gnu</td>
<td>aarch64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">arm-linux-gnueabihf</td>
<td>arm-linux-gnueabihf</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64-linux-gnu</td>
<td>ppc64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">ppc64le-linux-gnu</td>
<td>ppc64le-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">s390x-linux-gnu</td>
<td>s390x-linux-gnu</td>
</tr>
</tbody>
</table>
@@ -675,103 +679,103 @@ ls build/linux-aarch64-server-release/</code></pre></li>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Target</th>
<th style="text-align: left;">Debian tree</th>
<th style="text-align: left;">Debian arch</th>
<th style="text-align: left;"><code>--openjdk-target=...</code></th>
<th>Target</th>
<th>Debian tree</th>
<th>Debian arch</th>
<th><code>--openjdk-target=...</code></th>
<th><code>--with-jvm-variants=...</code></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">i386</td>
<td style="text-align: left;">i386-linux-gnu</td>
<td>x86</td>
<td>buster</td>
<td>i386</td>
<td>i386-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">arm</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">armhf</td>
<td style="text-align: left;">arm-linux-gnueabihf</td>
<td>arm</td>
<td>buster</td>
<td>armhf</td>
<td>arm-linux-gnueabihf</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">aarch64</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">arm64</td>
<td style="text-align: left;">aarch64-linux-gnu</td>
<td>aarch64</td>
<td>buster</td>
<td>arm64</td>
<td>aarch64-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64le</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">ppc64el</td>
<td style="text-align: left;">powerpc64le-linux-gnu</td>
<td>ppc64le</td>
<td>buster</td>
<td>ppc64el</td>
<td>powerpc64le-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">s390x-linux-gnu</td>
<td>s390x</td>
<td>buster</td>
<td>s390x</td>
<td>s390x-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">mipsle</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">mipsel</td>
<td style="text-align: left;">mipsel-linux-gnu</td>
<td>mipsle</td>
<td>buster</td>
<td>mipsel</td>
<td>mipsel-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">mips64le</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">mips64el</td>
<td style="text-align: left;">mips64el-linux-gnueabi64</td>
<td>mips64le</td>
<td>buster</td>
<td>mips64el</td>
<td>mips64el-linux-gnueabi64</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">armel</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">arm</td>
<td style="text-align: left;">arm-linux-gnueabi</td>
<td>armel</td>
<td>buster</td>
<td>arm</td>
<td>arm-linux-gnueabi</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">ppc</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">powerpc</td>
<td style="text-align: left;">powerpc-linux-gnu</td>
<td>ppc</td>
<td>sid</td>
<td>powerpc</td>
<td>powerpc-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64be</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">ppc64</td>
<td style="text-align: left;">powerpc64-linux-gnu</td>
<td>ppc64be</td>
<td>sid</td>
<td>ppc64</td>
<td>powerpc64-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">m68k</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">m68k</td>
<td style="text-align: left;">m68k-linux-gnu</td>
<td>m68k</td>
<td>sid</td>
<td>m68k</td>
<td>m68k-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">alpha</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">alpha</td>
<td style="text-align: left;">alpha-linux-gnu</td>
<td>alpha</td>
<td>sid</td>
<td>alpha</td>
<td>alpha-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">sh4</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">sh4</td>
<td style="text-align: left;">sh4-linux-gnu</td>
<td>sh4</td>
<td>sid</td>
<td>sh4</td>
<td>sh4-linux-gnu</td>
<td>zero</td>
</tr>
</tbody>

View File

@@ -154,11 +154,11 @@ This table lists the OS versions used by Oracle when building the JDK. Such
information is always subject to change, but this table is up to date at the
time of writing.
Operating system Vendor/version used
----------------- -------------------------------------------------------
Linux Oracle Enterprise Linux 6.4 / 7.6
macOS Mac OS X 10.13 (High Sierra)
Windows Windows Server 2012 R2
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
used at Oracle, where header files and external libraries from an older version
@@ -305,12 +305,12 @@ be able to run on the target platform. In theory, toolchain and operating
system should be independent factors, but in practice there's more or less a
one-to-one correlation between target operating system and toolchain.
Operating system Supported toolchain
------------------ -------------------------
Linux gcc, clang
macOS Apple Xcode (using clang)
AIX IBM XL C/C++
Windows Microsoft Visual Studio
| Operating system | Supported toolchain |
| ------------------ | ------------------------- |
| Linux | gcc, clang |
| macOS | Apple Xcode (using clang) |
| AIX | IBM XL C/C++ |
| Windows | Microsoft Visual Studio |
Please see the individual sections on the toolchains for version
recommendations. As a reference, these versions of the toolchains are used, at
@@ -319,11 +319,11 @@ possible to compile the JDK with both older and newer versions, but the closer
you stay to this list, the more likely you are to compile successfully without
issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 10.2.0
macOS Apple Xcode 10.1 (using clang 10.0.0)
Windows Microsoft Visual Studio 2022 update 17.1.0
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------ |
| Linux | gcc 11.2.0 |
| macOS | Apple Xcode 10.1 (using clang 10.0.0) |
| Windows | Microsoft Visual Studio 2022 update 17.1.0 |
All compilers are expected to be able to compile to the C99 language standard,
as some C99 features are used in the source code. Microsoft Visual Studio
@@ -335,7 +335,7 @@ features that it does support.
The minimum accepted version of gcc is 5.0. Older versions will generate a warning
by `configure` and are unlikely to work.
The JDK is currently known to be able to compile with at least version 10.2 of
The JDK is currently known to be able to compile with at least version 11.2 of
gcc.
In general, any version between these two should be usable.
@@ -351,20 +351,20 @@ 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 lines developers tools to be able to build
the JDK. (Actually, *only* the command lines tools are needed, not the IDE.)
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
```
It is advisable to keep an older version of Xcode for building the JDK when
updating Xcode. This [blog page](
http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html) has
good suggestions on managing multiple Xcode versions. To use a specific version
of Xcode, use `xcode-select -s` before running `configure`, or use
`--with-toolchain-path` to point to the version of Xcode to use, e.g.
`configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin`
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:
* Use `xcode-select -s` before running `configure`, e.g. `xcode-select -s /Applications/Xcode13.1.app`. The drawback is that the setting
is system wide and you may have to revert it after an OpenJDK build.
* Use configure option `--with-xcode-path`, e.g. `configure --with-xcode-path=/Applications/Xcode13.1.app`
This allows using a specific Xcode version for an OpenJDK build, independently of the active Xcode version by `xcode-select`.
If you have recently (inadvertently) updated your OS and/or Xcode version, and
the JDK can no longer be built, please see the section on [Problems with the
@@ -848,7 +848,7 @@ containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.
@@ -957,14 +957,14 @@ https://sourceware.org/autobook/autobook/autobook_17.html). If no
targets are given, a native toolchain for the current platform will be
created. Currently, at least the following targets are known to work:
Supported devkit targets
-------------------------
x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
ppc64-linux-gnu
ppc64le-linux-gnu
s390x-linux-gnu
| Supported devkit targets |
| ------------------------ |
| x86_64-linux-gnu |
| aarch64-linux-gnu |
| arm-linux-gnueabihf |
| ppc64-linux-gnu |
| ppc64le-linux-gnu |
| s390x-linux-gnu |
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or
"Fedora" (if not specified "OEL6" will be the default). If the base OS
@@ -1184,21 +1184,21 @@ it might require a little nudge with:
Architectures that are known to successfully cross-compile like this are:
Target Debian tree Debian arch `--openjdk-target=...` `--with-jvm-variants=...`
------------ ------------ ------------- ------------------------ --------------
x86 buster i386 i386-linux-gnu (all)
arm buster armhf arm-linux-gnueabihf (all)
aarch64 buster arm64 aarch64-linux-gnu (all)
ppc64le buster ppc64el powerpc64le-linux-gnu (all)
s390x buster s390x s390x-linux-gnu (all)
mipsle buster mipsel mipsel-linux-gnu zero
mips64le buster mips64el mips64el-linux-gnueabi64 zero
armel buster arm arm-linux-gnueabi zero
ppc sid powerpc powerpc-linux-gnu zero
ppc64be sid ppc64 powerpc64-linux-gnu (all)
m68k sid m68k m68k-linux-gnu zero
alpha sid alpha alpha-linux-gnu zero
sh4 sid sh4 sh4-linux-gnu zero
| Target | Debian tree | Debian arch | `--openjdk-target=...` | `--with-jvm-variants=...` |
| ------------ | ------------ | ------------- | ------------------------ | ------------------------- |
| x86 | buster | i386 | i386-linux-gnu | (all) |
| arm | buster | armhf | arm-linux-gnueabihf | (all) |
| aarch64 | buster | arm64 | aarch64-linux-gnu | (all) |
| ppc64le | buster | ppc64el | powerpc64le-linux-gnu | (all) |
| s390x | buster | s390x | s390x-linux-gnu | (all) |
| mipsle | buster | mipsel | mipsel-linux-gnu | zero |
| mips64le | buster | mips64el | mips64el-linux-gnueabi64 | zero |
| armel | buster | arm | arm-linux-gnueabi | zero |
| ppc | sid | powerpc | powerpc-linux-gnu | zero |
| ppc64be | sid | ppc64 | powerpc64-linux-gnu | (all) |
| m68k | sid | m68k | m68k-linux-gnu | zero |
| alpha | sid | alpha | alpha-linux-gnu | zero |
| sh4 | sid | sh4 | sh4-linux-gnu | zero |
### Building for ARM/aarch64

View File

@@ -88,6 +88,7 @@ $ make exploded-test TEST=tier2</code></pre>
<p>Individual JTReg tests or directories containing JTReg tests can also be specified, like <code>test/hotspot/jtreg/native_sanity/JniVersion.java</code> or <code>hotspot/jtreg/native_sanity</code>. Just like for test root selection, you can either specify an absolute path (which can even point to JTReg tests outside the source tree), or a path relative to either the JDK top directory or the <code>test</code> directory. <code>hotspot</code> can be used as an alias for <code>hotspot/jtreg</code> here as well.</p>
<p>As long as the test groups or test paths can be uniquely resolved, you do not need to enter the <code>jtreg:</code> prefix. If this is not possible, or if you want to use a fully qualified test descriptor, add <code>jtreg:</code>, e.g. <code>jtreg:test/hotspot/jtreg/native_sanity</code>.</p>
<h3 id="gtest">Gtest</h3>
<p><strong>Note:</strong> To be able to run the Gtest suite, you need to configure your build to be able to find a proper version of the gtest source. For details, see the section <a href="building.html#running-tests">&quot;Running Tests&quot; in the build documentation</a>.</p>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all tests. This is specified by just <code>gtest</code>, or as a fully qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of tests, for instance <code>gtest:LogDecorations</code> or <code>gtest:LogDecorations.level_test_vm</code>. This can be particularly useful if you want to run a shaky test repeatedly.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
@@ -236,20 +237,45 @@ TEST FAILURE</code></pre>
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>
<h3 id="pkcs11-tests">PKCS11 Tests</h3>
<p>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 <code>test.nss.lib.paths</code> is required on Ubuntu 18.04 to specify the alternative NSS lib directories.</p>
<p>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 <<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu 18.04 to specify the alternative NSS lib directories.The<code>&lt;NAME&gt;</code> component should be replaced with the name element of the appropriate <code>@Artifact</code> class. (See<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<h5 id="macos">MacOS</h5>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect &quot;Turn keyboard access on or off&quot; option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<h5 id="linux">Linux</h5>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<h5 id="windows">Windows</h5>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for &quot;Turn off Windows key hotkeys&quot; and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
<h4 id="robot-api">Robot API</h4>
<p>Most automated Client UI tests use <code>Robot</code> API to control
the UI. Usually, the default operating system settings need to be
adjusted for Robot to work correctly. The detailed steps how to access
and update these settings for different platforms are provided
below.</p>
<h5 id="macos-1">macOS</h5>
<p><code>Robot</code> is not permitted to control your Mac by default
since macOS 10.15. To allow it, choose Apple menu -&gt; System Settings,
click Privacy &amp; Security; then click Accessibility and ensure the
following apps are allowed to control your computer: <em>Java</em> and
<em>Terminal</em>. If the tests are run from an IDE, the IDE should be
granted this permission too.</p>
<h5 id="windows-1">Windows</h5>
<p>On Windows if Cygwin terminal is used to run the tests, there is a
delay in focus transfer. Usually it causes automated UI test failure. To
disable the delay, type <code>regedit</code> in the Search and then
select Registry Editor; navigate to the following key:
<code>HKEY_CURRENT_USER\Control Panel\Desktop</code>; make sure the
<code>ForegroundLockTimeout</code> value is set to 0.</p>
<p>Additional information about Client UI tests configuration for
various operating systems can be obtained at <a
href="https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements">Automated
client GUI testing system set up requirements</a></p>
</body>
</html>

View File

@@ -142,6 +142,11 @@ use a fully qualified test descriptor, add `jtreg:`, e.g.
### Gtest
**Note:** To be able to run the Gtest suite, you need to configure your build to
be able to find a proper version of the gtest source. For details, see the
section ["Running Tests" in the build
documentation](building.html#running-tests).
Since the Hotspot Gtest suite is so quick, the default is to run all tests.
This is specified by just `gtest`, or as a fully qualified test descriptor
`gtest:all`.
@@ -531,14 +536,16 @@ It is highly recommended to use the latest NSS version when running PKCS11
tests. Improper NSS version may lead to unexpected failures which are hard to
diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail
on Ubuntu 18.04 with the default NSS version in the system. To run these tests
correctly, the system property `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
correctly, the system property `jdk.test.lib.artifacts.<NAME>` is required on
Ubuntu 18.04 to specify the alternative NSS lib directory. The `<NAME>`
component should be replaced with the name element of the appropriate
`@Artifact` class. (See `test/jdk/sun/security/pkcs11/PKCS11Test.java`)
For example:
```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
```
For more notes about the PKCS11 tests, please refer to
@@ -546,12 +553,14 @@ test/jdk/sun/security/pkcs11/README.
### Client UI Tests
#### System key shortcuts
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to
disable system key shortcuts prior testing. The steps to access and disable
system key shortcuts for various platforms are provided below.
#### MacOS
##### macOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
@@ -564,12 +573,12 @@ test correctly the default global key shortcut should be disabled using the
steps described above, and then deselect "Turn keyboard access on or off"
option which is responsible for `CTRL + F1` combination.
#### Linux
##### Linux
Open the Activities overview and start typing Settings; Choose Settings, click
Devices, then click Keyboard; set or override desired shortcut.
#### Windows
##### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to User
Configuration -> Administrative Templates -> Windows Components -> File
@@ -578,6 +587,33 @@ double click on it; enable or disable hotkeys.
Note: restart is required to make the settings take effect.
#### Robot API
Most automated Client UI tests use `Robot` API to control the UI. Usually,
the default operating system settings need to be adjusted for Robot
to work correctly. The detailed steps how to access and update these settings
for different platforms are provided below.
##### macOS
`Robot` is not permitted to control your Mac by default since
macOS 10.15. To allow it, choose Apple menu -> System Settings, click
Privacy & Security; then click Accessibility and ensure the following apps are
allowed to control your computer: *Java* and *Terminal*. If the tests are run
from an IDE, the IDE should be granted this permission too.
##### Windows
On Windows if Cygwin terminal is used to run the tests, there is a delay in
focus transfer. Usually it causes automated UI test failure. To disable the
delay, type `regedit` in the Search and then select Registry Editor; navigate
to the following key: `HKEY_CURRENT_USER\Control Panel\Desktop`; make sure
the `ForegroundLockTimeout` value is set to 0.
Additional information about Client UI tests configuration for various operating
systems can be obtained at [Automated client GUI testing system set up
requirements](https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements)
---
# Override some definitions in the global css file that are not optimal for
# this document.

274
jb/branchdiff.py Executable file
View File

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

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

@@ -0,0 +1 @@
1.0.0

230
jb/jdkdiff.py Executable file
View File

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

View File

@@ -1,13 +0,0 @@
# jetbrains/runtime:jbr15env
FROM centos:7
RUN yum -y install centos-release-scl
RUN yum -y install devtoolset-8
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel libXrandr-devel libXi-devel git
# Install Java 16
RUN wget https://cdn.azul.com/zulu/bin/zulu16.28.11-ca-jdk16.0.0-linux_x64.tar.gz \
-O - | tar xz -C /
RUN mv /zulu16.28.11-ca-jdk16.0.0-linux_x64 /jdk16.0.0
ENV PATH /opt/rh/devtoolset-8/root/usr/bin:$PATH
RUN mkdir .git
RUN git config user.email "teamcity@jetbrains.com"
RUN git config user.name "builduser"

View File

@@ -5,44 +5,42 @@
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/ubuntu:focal-20211006
# jetbrains/runtime:jbr17env_aarch64
FROM arm64v8/centos:7
# Install the necessary build tools
RUN export DEBIAN_FRONTEND=noninteractive \
export DEBCONF_NONINTERACTIVE_SEEN=true && \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
apt-get update -qy && \
apt-get install -qy \
autoconf \
build-essential \
bzip2 \
file \
g++-10=10.3.0-1ubuntu1~20.04 \
gcc-10=10.3.0-1ubuntu1~20.04 \
git \
libasound2-dev \
libcups2-dev \
libfontconfig1-dev \
libx11-dev \
libxext-dev \
libxrandr-dev \
libxrender-dev \
libxt-dev \
libxtst-dev \
make \
rsync \
tar \
unzip \
zip && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 && \
apt-get clean -qy && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN yum -y update; \
yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7.aarch64 \
autoconf-2.69-11.el7.noarch \
automake-1.13.4-3.el7.noarch \
bzip2-1.0.6-13.el7.aarch64 \
cups-devel-1.6.3-51.el7.aarch64 \
file-5.11-37.el7.aarch64 \
fontconfig-devel-2.13.0-4.3.el7.aarch64 \
freetype-devel-2.8-14.el7_9.1.aarch64 \
giflib-devel-4.1.6-9.el7.aarch64 \
git-1.8.3.1-24.el7_9.aarch64 \
libtool-2.4.2-22.el7_3.aarch64 \
libXi-devel-1.7.9-1.el7.aarch64 \
libXrandr-devel-1.5.1-2.el7.aarch64 \
libXrender-devel-0.9.10-1.el7.aarch64 \
libXt-devel-1.1.5-3.el7.aarch64 \
libXtst-devel-1.2.3-1.el7.aarch64 \
make-3.82-24.el7.aarch64 \
rsync-3.1.2-12.el7_9.aarch64 \
tar-1.26-35.el7.aarch64 \
unzip-6.0-24.el7_9.aarch64 \
wayland-devel-1.15.0-1.el7 \
zip-3.0-11.el7.aarch64; \
yum -y clean all
# Set up boot JDK for building
COPY boot_jdk.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk.tar.gz && rm /jdk17/boot_jdk.tar.gz
ENV BOOT_JDK=/jdk17
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,36 @@
# jetbrains/runtime:jbr17env_x86_64
FROM centos:7
RUN yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7 \
autoconf-2.69-11.el7 \
automake-1.13.4-3.el7 \
bzip2-1.0.6-13.el7 \
cups-devel-1.6.3-51.el7 \
file-5.11-37.el7 \
fontconfig-devel-2.13.0-4.3.el7 \
freetype-devel-2.8-14.el7_9.1 \
giflib-devel-4.1.6-9.el7 \
git-1.8.3.1-24.el7_9 \
libtool-2.4.2-22.el7_3 \
libXi-devel-1.7.9-1.el7 \
libXrandr-devel-1.5.1-2.el7 \
libXrender-devel-0.9.10-1.el7 \
libXt-devel-1.1.5-3.el7 \
libXtst-devel-1.2.3-1.el7 \
make-3.82-24.el7 \
tar-1.26-35.el7 \
unzip-6.0-24.el7_9 \
wayland-devel-1.15.0-1.el7 \
wget-1.14-18.el7_6.1 \
which-2.20-7.el7 \
zip-3.0-11.el7
RUN mkdir .git && \
git config user.email "teamcity@jetbrains.com" && \
git config user.name "builduser"
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin::${PATH}"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"

View File

@@ -1,3 +0,0 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

View File

@@ -1,9 +0,0 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

View File

@@ -1,3 +0,0 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

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))
@@ -90,6 +92,15 @@ case "$OS_NAME" in
;;
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
WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS="--with-native-debug-symbols=zipped"
REPRODUCIBLE_BUILD_OPTS="--enable-reproducible-build

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 $?
}
@@ -65,7 +67,6 @@ function create_image_bundle {
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 \
@@ -78,11 +79,14 @@ function create_image_bundle {
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
"$IMAGES_DIR"/"$__root_dir"/bin/java -Xshare:dump
"$IMAGES_DIR"/"$__root_dir"/bin/java -Xshare:dump -XX:-UseCompressedOops
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/cef_server ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/cef_server
echo Creating "$JBR".tar.gz ...
@@ -100,16 +104,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,10 +144,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}"
else
jbr_name_postfix=""
cat $JCEF_PATH/jcef.version >> $JSDK/release
fi
# create runtime image bundle
@@ -154,7 +162,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 CONF=$RELEASE_NAME || do_exit $?
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

@@ -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 $?
}
@@ -77,11 +79,14 @@ function create_image_bundle {
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
"$IMAGES_DIR"/"$__root_dir"/bin/java -Xshare:dump
"$IMAGES_DIR"/"$__root_dir"/bin/java -Xshare:dump -XX:-UseCompressedOops
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
# jmod does not preserve file permissions (JDK-8173610)
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/jcef_helper
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/cef_server ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/cef_server
echo Creating "$JBR".tar.gz ...
@@ -99,16 +104,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,10 +144,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}"
else
jbr_name_postfix=""
cat $JCEF_PATH/jcef.version >> $JSDK/release
fi
# create runtime image bundle
@@ -153,7 +162,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 CONF=$RELEASE_NAME || do_exit $?
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 $?
@@ -66,6 +67,7 @@ function create_image_bundle {
mv release "$IMAGES_DIR"/"$__root_dir"/release
cp $IMAGES_DIR/jdk/lib/src.zip "$IMAGES_DIR"/"$__root_dir"/lib
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
"$IMAGES_DIR"/"$__root_dir"/bin/java -Xshare:dump
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
@@ -134,7 +136,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 CONF=$RELEASE_NAME || do_exit $?
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

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

View File

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

View File

@@ -29,44 +29,28 @@ BOOT_JDK=${BOOT_JDK:=$(/usr/libexec/java_home -v 16)}
function do_configure {
if [[ "${architecture}" == *aarch64* ]]; then
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="${JDK_BUILD_NUMBER}" \
--with-version-opt=b"${build_number}" \
--with-boot-jdk="$BOOT_JDK" \
--with-macosx-version-max="${MACOSX_VERSION_MAX:="11.00.00"}" \
--disable-hotspot-gtest --disable-javac-server --disable-full-docs --disable-manpages \
--enable-cds=no \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
MACOSX_VERSION_MAX="11.00.00"
else
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--with-macosx-version-max="${MACOSX_VERSION_MAX:="10.12.00"}" \
--enable-cds=yes \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
MACOSX_VERSION_MAX="10.12.00"
fi
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-macosx-bundle-name-base=${VENDOR_VERSION_STRING} \
--with-macosx-bundle-id-base="com.jetbrains.jbr" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--with-macosx-version-max="${MACOSX_VERSION_MAX}" \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
}
function create_image_bundle {
@@ -98,9 +82,15 @@ function create_image_bundle {
mv release $JRE_CONTENTS/Home/release
cp $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home/lib/src.zip $JRE_CONTENTS/Home/lib
copy_jmods "$__modules" "$__modules_path" "$JRE_CONTENTS"/Home/jmods
"$JRE_CONTENTS"/Home/bin/java -Xshare:dump
"$JRE_CONTENTS"/Home/bin/java -Xshare:dump -XX:-UseCompressedOops
zip_native_debug_symbols $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk "${JBR}_diz"
fi
if [ "$bundle_type" == "jcef" ]; then
cat $JCEF_PATH/jcef.version >> "$JRE_CONTENTS/Home/release"
fi
cp -R "$JSDK"/../MacOS "$JRE_CONTENTS"
cp "$JSDK"/../Info.plist "$JRE_CONTENTS"
@@ -178,7 +168,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 CONF=$RELEASE_NAME || do_exit $?
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

@@ -1,21 +1,17 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
set -x
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
APP_DIRECTORY=$1
APPL_USER=$2
APPL_PASSWORD=$3
APP_NAME=$4
BUNDLE_ID=$5
FAKE_ROOT="${6:-fake-root}"
APP_PATH=$1
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
echo "Usage: $0 AppDirectory Username Password"
if [[ -z "$APP_PATH" ]]; then
echo "Usage: $0 AppPath"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
if [[ ! -f "$APP_PATH" ]]; then
echo "AppName '$APP_PATH' does not exist or not a file"
exit 1
fi
@@ -23,99 +19,22 @@ function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
function publish-log() {
id=$1
file=$2
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
}
function altool-upload() {
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
OLD_HOME="$HOME"
export HOME="$FAKE_ROOT/home"
export TMPDIR="$FAKE_ROOT/tmp"
mkdir -p "$HOME"
mkdir -p "$TMPDIR"
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
# Reduce amount of downloads, cache transporter libraries
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
if [[ -f "$shared_itmstransporter" ]]; then
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
fi
# For some reason altool prints everything to stderr, not stdout
set +e
xcrun altool --notarize-app \
--username "$APPL_USER" --password "$APPL_PASSWORD" \
--primary-bundle-id "$BUNDLE_ID" \
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
unset TMPDIR
export HOME="$OLD_HOME"
set -e
}
# check required parameters
: "${APPLE_ISSUER_ID}"
: "${APPLE_KEY_ID}"
: "${APPLE_PRIVATE_KEY}"
#immediately exit script with an error if a command fails
set -euo pipefail
# shellcheck disable=SC2064
trap "rm -f \"$PWD/tmp_key\"" INT EXIT RETURN
echo -n "${APPLE_PRIVATE_KEY}" > tmp_key
#file="$APP_NAME.zip"
log "Notarizing $APP_PATH..."
xcrun notarytool submit --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" "$APP_PATH" 2>&1 | tee "notarytool.submit.out"
REQUEST_ID="$(grep -e " id: " "notarytool.submit.out" | grep -oE '([0-9a-f-]{36})'| head -n1)"
#log "Zipping $file..."
#rm -rf "$file"
#ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY" "$file"
xcrun notarytool wait "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" --timeout 6h ||:
xcrun notarytool log "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" developer_log.json ||:
xcrun notarytool info "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}"
log "Notarizing $APP_NAME..."
rm -rf "altool.init.out" "altool.check.out"
altool-upload "$APP_NAME"
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
if [ -z "$notarization_info" ]; then
log "Faile to read RequestUUID from altool.init.out"
exit 10
fi
PATH="$PATH:/usr/local/bin/"
log "Notarization request sent, awaiting response"
spent=0
while true; do
# For some reason altool prints everything to stderr, not stdout
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
log "Current status: $status"
if [ "$status" = "invalid" ]; then
log "Notarization failed"
ec=1
elif [ "$status" = "success" ]; then
log "Notarization succeeded"
ec=0
else
if [ "$status" != "in progress" ]; then
log "Unknown notarization status, waiting more, altool output:"
cat "altool.check.out"
fi
if [[ $spent -gt 60 ]]; then
log "Waiting time out (apx 60 minutes)"
ec=2
break
fi
sleep 60
((spent += 1))
continue
fi
developer_log="developer_log.json"
log "Fetching $developer_log"
# TODO: Replace cut with trim or something better
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
wget "$url" -O "$developer_log" && cat "$developer_log" || true
if [ $ec != 0 ]; then
log "Publishing $developer_log"
publish-log "$notarization_info" "$developer_log"
fi
break
done
cat "altool.check.out"
rm -rf "altool.init.out" "altool.check.out"
exit $ec
log "Notarizing finished"

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
#immediately exit script with an error if a command fails
set -euo pipefail
set -x
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
@@ -17,7 +17,7 @@ JB_INSTALLER_CERT=$6
NOTARIZE=$7
BUNDLE_ID=$8
cd "$(dirname "$0")"
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
@@ -44,7 +44,8 @@ fi
log "$INPUT_FILE extracted and removed"
APP_NAME=$(echo ${INPUT_FILE} | awk -F".tar" '{ print $1 }')
APP_NAME=$(basename "$INPUT_FILE" | awk -F".tar" '{ print $1 }')
PKG_NAME="$APP_NAME.pkg"
APPLICATION_PATH=$EXPLODED/$(ls $EXPLODED)
find "$APPLICATION_PATH/Contents/Home/bin" \
@@ -73,16 +74,18 @@ if [[ $non_plist -gt 0 ]]; then
exit 1
fi
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
fi
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
./sign.sh "$APPLICATION_PATH" "$APP_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
"$SCRIPT_DIR/sign.sh" "$APPLICATION_PATH" "$PKG_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
@@ -104,19 +107,10 @@ set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
# shellcheck disable=SC1090
source "$HOME/.notarize_token"
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
FAKE_ROOT="$(pwd)/fake-root"
mkdir -p "$FAKE_ROOT"
echo "Notarization will use fake root: $FAKE_ROOT"
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME.pkg" "$BUNDLE_ID" "$FAKE_ROOT"
rm -rf "$FAKE_ROOT"
set +e
"$SCRIPT_DIR/notarize.sh" "$PKG_NAME"
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH"
xcrun stapler staple "$APPLICATION_PATH" ||:
xcrun stapler staple "$PKG_NAME" ||:
else
log "Notarization disabled"
log "Stapling disabled"
@@ -129,7 +123,11 @@ log "Zipping $BUILD_NAME to $INPUT_FILE ..."
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $APPLICATION_PATH/Contents/Home
fi
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
if [[ "$APPLICATION_PATH" != "$EXPLODED/$BUILD_NAME" ]]; then
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
else
echo "No move, source == destination: $APPLICATION_PATH"
fi
tar -pczvf $INPUT_FILE --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"

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 || 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 || 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
@@ -126,6 +127,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

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 $?
@@ -61,8 +62,8 @@ function create_image_bundle {
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
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
@@ -70,6 +71,8 @@ function create_image_bundle {
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods
"$__root_dir"/bin/java -Xshare:dump
"$__root_dir"/bin/java -Xshare:dump -XX:-UseCompressedOops
fi
}
@@ -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 || 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 || 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
@@ -117,6 +120,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

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 $?
@@ -66,6 +67,7 @@ function create_image_bundle {
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods
"$__root_dir"/bin/java -Xshare:dump
fi
}
@@ -89,13 +91,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 || 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 || 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

@@ -32,6 +32,8 @@ function pack_jbr {
[ "$bundle_type" == "nomod" ] && bundle_type=""
JBRSDK_BUNDLE=jbrsdk
RELEASE_NAME=windows-x86_64-server-release
IMAGES_DIR=build/$RELEASE_NAME/images
BASE_DIR=.
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "dcevm" ] || [ "$bundle_type" == "fd" ]; then

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

@@ -75,17 +75,25 @@ $(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, \
))
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) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -138,7 +138,10 @@ ifeq ($(HAS_SPEC),)
# The spec files depend on the autoconf source code. This check makes sure
# the configuration is up to date after changes to configure.
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*))
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
version-numbers.conf branding.conf)))
ifeq ($(CONF_CHECK), fail)
@echo Error: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."

View File

@@ -1,84 +1,74 @@
#
# Copyright 2000-2021 JetBrains s.r.o.
# Copyright 2000-2023 JetBrains s.r.o.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 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.
#
# http://www.apache.org/licenses/LICENSE-2.0
# 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).
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
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
$(ECHO) "Building JBR API requires at least Java 18, so using \$$JAVA_HOME instead of boot JDK"
$(BASH) "$(JBR_API_DIR)/tools/build.sh" dev "$(JAVA_HOME)"
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

@@ -51,6 +51,7 @@ define create-info-file
$(if $(VENDOR_VERSION_STRING), \
$(call info-file-item, "IMPLEMENTOR_VERSION", "$(VENDOR_VERSION_STRING)"))
$(call info-file-item, "JAVA_VERSION_DATE", "$(VERSION_DATE)")
$(call info-file-item, "JAVA_RUNTIME_VERSION", "$(VERSION_STRING)")
$(call info-file-item, "OS_NAME", "$(RELEASE_FILE_OS_NAME)")
$(call info-file-item, "OS_ARCH", "$(RELEASE_FILE_OS_ARCH)")
$(call info-file-item, "LIBC", "$(RELEASE_FILE_LIBC)")

View File

@@ -523,7 +523,7 @@ define SetupRunGtestTestBody
$$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))))
$$(if $$(wildcard $$($1_RESULT_FILE)), \
$$(eval $1_TOTAL := $$(shell $$(AWK) '/==========.* tests? from .* \
test cases? ran/ { print $$$$2 }' $$($1_RESULT_FILE))) \
test (cases?|suites?) ran/ { print $$$$2 }' $$($1_RESULT_FILE))) \
$$(if $$($1_TOTAL), , $$(eval $1_TOTAL := 0)) \
$$(eval $1_PASSED := $$(shell $$(AWK) '/\[ PASSED \] .* tests?./ \
{ print $$$$4 }' $$($1_RESULT_FILE))) \
@@ -785,8 +785,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JDK8_HOME=$$(BOOT_JDK)
# 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
endif
$1_JTREG_BASIC_OPTIONS += \
@@ -850,11 +852,12 @@ define SetupRunJtregTestBody
endif
endif
clean-workdir-$1:
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -896,7 +899,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) \
@@ -933,9 +936,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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, 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,7 @@ include JavaCompilation.gmk
include Modules.gmk
SRC_ZIP_WORK_DIR := $(SUPPORT_OUTPUTDIR)/src
$(if $(filter $(TOPDIR)/%, $(SUPPORT_OUTPUTDIR)), $(eval SRC_ZIP_BASE := $(TOPDIR)), $(eval SRC_ZIP_BASE := $(SUPPORT_OUTPUTDIR)))
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, ZipSource.gmk))
@@ -45,10 +46,10 @@ ALL_MODULES := $(FindAllModules)
# again to create src.zip.
$(foreach m, $(ALL_MODULES), \
$(foreach d, $(call FindModuleSrcDirs, $m), \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$d)/$m) \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$(patsubst $(SUPPORT_OUTPUTDIR)/%,%,$d))/$m) \
$(if $(SRC_GENERATED), , \
$(eval $$($d_TARGET): $d ; \
$$(if $(filter $(TOPDIR)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
$$(if $(filter $(SRC_ZIP_BASE)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
) \
) \
$(eval SRC_ZIP_SRCS += $$($d_TARGET)) \

View File

@@ -55,6 +55,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
###############################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Save the current directory this script was started from
@@ -212,6 +213,18 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],$with_toolchain_path)]
)
AC_ARG_WITH([xcode-path], [AS_HELP_STRING([--with-xcode-path],
[set up toolchain on Mac OS using a path to an Xcode installation])])
if test "x$with_xcode_path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],
$with_xcode_path/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$with_xcode_path/Contents/Developer/usr/bin)
else
AC_MSG_WARN([Option --with-xcode-path is only valid on Mac OS, ignoring.])
fi
fi
AC_ARG_WITH([extra-path], [AS_HELP_STRING([--with-extra-path],
[prepend these directories to the default path])],
[UTIL_PREPEND_TO_PATH([EXTRA_PATH],$with_extra_path)]
@@ -222,7 +235,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
# If not, detect if Xcode is installed by running xcodebuild -version
# if no Xcode installed, xcodebuild exits with 1
# if Xcode is installed, even if xcode-select is misconfigured, then it exits with 0
if test "x$DEVKIT_ROOT" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
if test "x$DEVKIT_ROOT" != x || test "x$TOOLCHAIN_PATH" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
# We need to use xcodebuild in the toolchain dir provided by the user
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild, $TOOLCHAIN_PATH)
if test x$XCODEBUILD = x; then
@@ -345,9 +358,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.
@@ -362,8 +375,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

@@ -24,8 +24,8 @@
#
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
# Setup the most fundamental tools, used for setting up build platform and
# path handling.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Bootstrapping: These tools are needed by UTIL_LOOKUP_PROGS
@@ -37,7 +37,28 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_CHECK_NONEMPTY(FILE)
AC_PATH_PROGS(LDD, ldd)
# First are all the fundamental required tools.
# Required tools
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
])
###############################################################################
# Setup further tools that should be resolved early but after setting up
# build platform and path handling.
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
[
# Required tools
UTIL_REQUIRE_PROGS(BASH, bash)
UTIL_REQUIRE_PROGS(CAT, cat)
UTIL_REQUIRE_PROGS(CHMOD, chmod)
@@ -45,7 +66,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(CUT, cut)
UTIL_REQUIRE_PROGS(DATE, date)
UTIL_REQUIRE_PROGS(DIFF, gdiff diff)
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(EXPR, expr)
UTIL_REQUIRE_PROGS(FIND, find)
UTIL_REQUIRE_PROGS(GUNZIP, gunzip)
@@ -67,26 +87,18 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(TAR, gtar tar)
UTIL_REQUIRE_PROGS(TEE, tee)
UTIL_REQUIRE_PROGS(TOUCH, touch)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
UTIL_REQUIRE_PROGS(XARGS, xargs)
# Then required tools that require some special treatment.
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(FGREP, [AC_PROG_FGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Optional tools, we can do without them
UTIL_LOOKUP_PROGS(DF, df)
UTIL_LOOKUP_PROGS(NICE, nice)
UTIL_LOOKUP_PROGS(READLINK, greadlink readlink)
# These are only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
# For compare.sh only
UTIL_LOOKUP_PROGS(CMP, cmp)
@@ -161,7 +173,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
[
# Check if make supports the output sync option and if so, setup using it.
UTIL_ARG_WITH(NAME: output-sync, TYPE: literal,
VALID_VALUES: [none recurse line target], DEFAULT: recurse,
VALID_VALUES: [none recurse line target], DEFAULT: none,
OPTIONAL: true, ENABLED_DEFAULT: true,
ENABLED_RESULT: OUTPUT_SYNC_SUPPORTED,
CHECKING_MSG: [for make --output-sync value],

View File

@@ -29,7 +29,40 @@
# and fix the broken property, if needed.
DIR=`dirname $0`
OUT=`. $DIR/autoconf-config.guess`
OUT=`. $DIR/autoconf-config.guess 2> /dev/null`
# Handle some cases that autoconf-config.guess is not capable of
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
# Test and fix little endian MIPS.
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
# Test and fix little endian PowerPC64.
elif [ `uname -m` = ppc64le ]; then
OUT=powerpc64le-unknown-linux-gnu
# Test and fix LoongArch64.
elif [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
# Test and fix RISC-V.
elif [ `uname -m` = riscv64 ]; then
OUT=riscv64-unknown-linux-gnu
fi
# Test and fix cygwin machine arch .x86_64
elif [[ `uname -s` = CYGWIN* ]]; then
if [ `uname -m` = ".x86_64" ]; then
OUT=x86_64-unknown-cygwin
fi
fi
if [ "x$OUT" = x ]; then
# Run autoconf-config.guess again to get the error message.
. $DIR/autoconf-config.guess > /dev/null
else
printf "guessed by custom config.guess... " >&2
fi
fi
# Detect C library.
# Use '-gnu' suffix on systems that use glibc.
@@ -81,36 +114,6 @@ if test $? = 0; then
OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'`
fi
# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then
OUT=powerpc64le-unknown-linux-gnu
fi
fi
fi
# Test and fix little endian MIPS.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
fi
fi
fi
# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi
# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, 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,6 +46,13 @@ if echo $* | grep pc-msys >/dev/null ; then
exit
fi
# Canonicalize for riscv which autoconf-config.sub doesn't handle
if echo $* | grep '^riscv\(32\|64\)-linux' >/dev/null ; then
result=`echo $@ | sed 's/linux/unknown-linux/'`
echo $result
exit
fi
# Filter out everything that doesn't begin with "aarch64-"
if ! echo $* | grep '^aarch64-' >/dev/null ; then
. $DIR/autoconf-config.sub "$@"
@@ -78,4 +85,3 @@ result=`echo $result | sed "s/^arm-/aarch64-/"`
echo $result
exit $exitcode

View File

@@ -86,6 +86,7 @@ PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
# Continue setting up basic stuff. Most remaining code require fundamental tools.
BASIC_SETUP_PATHS
BASIC_SETUP_TOOLS
# Check if it's a pure open build or if custom sources are to be used.
JDKOPT_SETUP_OPEN_OR_CUSTOM
@@ -190,18 +191,15 @@ TOOLCHAIN_POST_DETECTION
TOOLCHAIN_SETUP_BUILD_COMPILERS
TOOLCHAIN_MISC_CHECKS
# Setup the JTReg Regression Test Harness.
TOOLCHAIN_SETUP_JTREG
# Setup the Java Microbenchmark Harness (JMH)
LIB_TESTS_SETUP_JMH
# Setup Jib dependency tool
TOOLCHAIN_SETUP_JIB
# After toolchain setup, we need to process some flags to be able to continue.
FLAGS_POST_TOOLCHAIN
# Setup the tools needed to test the JDK (JTReg Regression Test Harness,
# Java Microbenchmark Harness (JMH) and the Jib dependency tool).
LIB_TESTS_SETUP_JTREG
LIB_TESTS_SETUP_JMH
LIB_TESTS_SETUP_JIB
# Now we can test some aspects on the target using configure macros.
PLATFORM_SETUP_OPENJDK_TARGET_BITS
PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
@@ -246,7 +244,8 @@ HOTSPOT_SETUP_MISC
#
###############################################################################
JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER
LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER
JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS
JDKOPT_ENABLE_DISABLE_MANPAGES

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, 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
@@ -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'
@@ -55,6 +58,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'
@@ -171,6 +177,8 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
if test "x$TOOLCHAIN_VERSION" = x2017; then
# VS2017 incorrectly triggers this warning for constexpr
DISABLED_WARNINGS+=" 4307"
# VS2017 incorrectly triggers this warning for static cast (test_atomic.cpp)
DISABLED_WARNINGS+=" 4309"
fi
;;
@@ -188,6 +196,10 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
DISABLED_WARNINGS="unused-parameter unused"
# gcc10/11 on ppc generate lots of abi warnings about layout of aggregates containing vectors
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
DISABLED_WARNINGS="$DISABLED_WARNINGS psabi"
fi
;;
clang)
@@ -641,7 +653,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \
-DJNIEXPORT='__attribute__((visibility(\"hidden\")))'"
-DJNIEXPORT='__attribute__((visibility(\"default\")))'"
else
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
fi

View File

@@ -489,14 +489,14 @@ UTIL_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
UTIL_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
PREFIX: ARG_PREFIX)
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
PREFIX: ARG_PREFIX)
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
supports=no

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, 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
@@ -204,6 +204,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
@@ -564,29 +575,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JLINK_OPTIONS],
AC_SUBST(JLINK_KEEP_PACKAGED_MODULES)
])
################################################################################
#
# Check if building of the jtreg failure handler should be enabled.
#
AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER],
[
UTIL_ARG_ENABLE(NAME: jtreg-failure-handler, DEFAULT: auto,
RESULT: BUILD_FAILURE_HANDLER,
DESC: [enable keeping of packaged modules in jdk image],
DEFAULT_DESC: [enabled if jtreg is present],
CHECKING_MSG: [if the jtreg failure handler should be built],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if the jtreg failure handler is available])
if test "x$JT_HOME" != "x"; then
AC_MSG_RESULT([yes])
else
AVAILABLE=false
AC_MSG_RESULT([no (jtreg not present)])
fi
])
AC_SUBST(BUILD_FAILURE_HANDLER)
])
################################################################################
#
# Enable or disable generation of the classlist at build time
@@ -669,7 +657,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],
@@ -812,7 +800,10 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
$RM "$CODESIGN_TESTFILE"
$TOUCH "$CODESIGN_TESTFILE"
CODESIGN_SUCCESS=false
$CODESIGN $PARAMS "$CODESIGN_TESTFILE" 2>&AS_MESSAGE_LOG_FD \
$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"
AC_MSG_CHECKING([$MESSAGE])
@@ -825,7 +816,7 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
AC_DEFUN([JDKOPT_CHECK_CODESIGN_HARDENED],
[
JDKOPT_CHECK_CODESIGN_PARAMS([-s "$MACOSX_CODESIGN_IDENTITY" --option runtime],
JDKOPT_CHECK_CODESIGN_PARAMS([-s \"$MACOSX_CODESIGN_IDENTITY\" --option runtime],
[if codesign with hardened runtime is possible])
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, 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
@@ -248,8 +248,11 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
[
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
AC_MSG_CHECKING([for dtrace tool])
if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_CHECKING([for dtrace tool and platform support])
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
AVAILABLE=false
elif test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_RESULT([$DTRACE])
else
AC_MSG_RESULT([no])
@@ -308,7 +311,8 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_SHENANDOAHGC],
AC_MSG_CHECKING([if platform is supported by Shenandoah])
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" || \
test "x$OPENJDK_TARGET_CPU" = "xppc64le"; then
test "x$OPENJDK_TARGET_CPU" = "xppc64le" || \
test "x$OPENJDK_TARGET_CPU" = "xriscv64"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU])
@@ -358,7 +362,8 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_ZGC],
AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
AVAILABLE=false
fi
elif test "x$OPENJDK_TARGET_CPU" = "xppc64le"; then
elif test "x$OPENJDK_TARGET_CPU" = "xppc64le" || \
test "x$OPENJDK_TARGET_CPU" = "xriscv64"; then
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
AC_MSG_RESULT([yes])
else

View File

@@ -166,7 +166,9 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
DEFAULT_ZLIB=system
if test "x$OPENJDK_TARGET_OS" = xwindows -o "x$OPENJDK_TARGET_OS" = xaix; then
# On windows and aix default is bundled, on others default is system
# On windows and aix default is bundled
DEFAULT_ZLIB=bundled
elif test "x$OPENJDK_TARGET_OS" = xmacosx -a "x$OPENJDK_TARGET_CPU" = xaarch64; then
DEFAULT_ZLIB=bundled
fi

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2022, 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
@@ -23,6 +23,13 @@
# questions.
#
################################################################################
# Setup libraries and functionalities needed to test the JDK.
################################################################################
# Minimum supported version
JTREG_MINIMUM_VERSION=7.3.1
###############################################################################
#
# Setup and check for gtest framework source files
@@ -47,9 +54,25 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_GTEST],
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'googlemock/include/gmock/gmock.h' under ${with_gtest} given with the --with-gtest option.])
else
GTEST_FRAMEWORK_SRC=${with_gtest}
GTEST_FRAMEWORK_SRC=$with_gtest
AC_MSG_RESULT([$GTEST_FRAMEWORK_SRC])
UTIL_FIXUP_PATH([GTEST_FRAMEWORK_SRC])
# Try to verify version. We require 1.8.1, but this can not be directly
# determined. :-( Instead, there are different, incorrect version
# numbers we can look for.
GTEST_VERSION_1="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -E -e 's/set\(GOOGLETEST_VERSION (.*)\)/\1/'`"
if test "x$GTEST_VERSION_1" != "x1.9.0"; then
AC_MSG_ERROR([gtest at $GTEST_FRAMEWORK_SRC does not seem to be version 1.8.1])
fi
# We cannot grep for "AC_IN*T" as a literal since then m4 will treat it as a macro
# and expand it.
# Additional [] needed to keep m4 from mangling shell constructs.
[ GTEST_VERSION_2="`$GREP -A1 ^.C_INIT $GTEST_FRAMEWORK_SRC/configure.ac | $TAIL -n 1 | $SED -E -e 's/ +\[(.*)],/\1/'`" ]
if test "x$GTEST_VERSION_2" != "x1.8.0"; then
AC_MSG_ERROR([gtest at $GTEST_FRAMEWORK_SRC does not seem to be version 1.8.1 B])
fi
fi
fi
fi
@@ -118,3 +141,198 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JMH],
AC_SUBST(JMH_COMMONS_MATH_JAR)
AC_SUBST(JMH_VERSION)
])
# Setup the JTReg Regression Test Harness.
AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
[
AC_ARG_WITH(jtreg, [AS_HELP_STRING([--with-jtreg],
[Regression Test Harness @<:@probed@:>@])])
if test "x$with_jtreg" = xno; then
# jtreg disabled
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
if test -d "$with_jtreg"; then
# An explicit path is specified, use it.
JT_HOME="$with_jtreg"
else
case "$with_jtreg" in
*.zip )
JTREG_SUPPORT_DIR=$CONFIGURESUPPORT_OUTPUTDIR/jtreg
$RM -rf $JTREG_SUPPORT_DIR
$MKDIR -p $JTREG_SUPPORT_DIR
$UNZIP -qq -d $JTREG_SUPPORT_DIR $with_jtreg
# Try to find jtreg to determine JT_HOME path
JTREG_PATH=`$FIND $JTREG_SUPPORT_DIR | $GREP "/bin/jtreg"`
if test "x$JTREG_PATH" != x; then
JT_HOME=$($DIRNAME $($DIRNAME $JTREG_PATH))
fi
;;
* )
;;
esac
fi
UTIL_FIXUP_PATH([JT_HOME])
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
fi
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg is not a valid jtreg home])
fi
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([$JT_HOME])
else
# Try to locate jtreg using the JT_HOME environment variable
if test "x$JT_HOME" != x; then
# JT_HOME set in environment, use it
if test ! -d "$JT_HOME"; then
AC_MSG_WARN([Ignoring JT_HOME pointing to invalid directory: $JT_HOME])
JT_HOME=
else
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME])
JT_HOME=
else
AC_MSG_NOTICE([Located jtreg using JT_HOME from environment])
fi
fi
fi
if test "x$JT_HOME" = x; then
# JT_HOME is not set in environment, or was deemed invalid.
# Try to find jtreg on path
UTIL_LOOKUP_PROGS(JTREGEXE, jtreg)
if test "x$JTREGEXE" != x; then
# That's good, now try to derive JT_HOME
JT_HOME=`(cd $($DIRNAME $JTREGEXE)/.. && pwd)`
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring jtreg from path since a valid jtreg home cannot be found])
JT_HOME=
else
AC_MSG_NOTICE([Located jtreg using jtreg executable in path])
fi
fi
fi
AC_MSG_CHECKING([for jtreg test harness])
if test "x$JT_HOME" != x; then
AC_MSG_RESULT([$JT_HOME])
else
AC_MSG_RESULT([no, not found])
if test "x$with_jtreg" = xyes; then
AC_MSG_ERROR([--with-jtreg was specified, but no jtreg found.])
fi
fi
fi
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=$($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])
# This is a simplified version of TOOLCHAIN_CHECK_COMPILER_VERSION
comparable_actual_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$jtreg_version"`
comparable_minimum_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$JTREG_MINIMUM_VERSION"`
if test $comparable_actual_version -lt $comparable_minimum_version ; then
AC_MSG_ERROR([jtreg version is too old, at least version $JTREG_MINIMUM_VERSION is required])
fi
fi
])
# Setup the JIB dependency resolver
AC_DEFUN_ONCE([LIB_TESTS_SETUP_JIB],
[
AC_ARG_WITH(jib, [AS_HELP_STRING([--with-jib],
[Jib dependency management tool @<:@not used@:>@])])
if test "x$with_jib" = xno || test "x$with_jib" = x; then
# jib disabled
AC_MSG_CHECKING([for jib])
AC_MSG_RESULT(no)
elif test "x$with_jib" = xyes; then
AC_MSG_ERROR([Must supply a value to --with-jib])
else
JIB_HOME="${with_jib}"
AC_MSG_CHECKING([for jib])
AC_MSG_RESULT(${JIB_HOME})
if test ! -d "${JIB_HOME}"; then
AC_MSG_ERROR([--with-jib must be a directory])
fi
JIB_JAR=$(ls ${JIB_HOME}/lib/jib-*.jar)
if test ! -f "${JIB_JAR}"; then
AC_MSG_ERROR([Could not find jib jar file in ${JIB_HOME}])
fi
fi
AC_SUBST(JIB_HOME)
])
################################################################################
#
# Check if building of the jtreg failure handler should be enabled.
#
AC_DEFUN_ONCE([LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER],
[
UTIL_ARG_ENABLE(NAME: jtreg-failure-handler, DEFAULT: auto,
RESULT: BUILD_FAILURE_HANDLER,
DESC: [enable building of the jtreg failure handler],
DEFAULT_DESC: [enabled if jtreg is present],
CHECKING_MSG: [if the jtreg failure handler should be built],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if the jtreg failure handler is available])
if test "x$JT_HOME" != "x"; then
AC_MSG_RESULT([yes])
else
AVAILABLE=false
AC_MSG_RESULT([no (jtreg not present)])
fi
])
AC_SUBST(BUILD_FAILURE_HANDLER)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -35,6 +35,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
X_CFLAGS=
X_LIBS=
else
x_libraries_orig="$x_libraries"
if test "x${with_x}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
@@ -48,6 +49,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
fi
if test "x$x_libraries" = xNONE; then
x_libraries="${with_x}/lib"
x_libraries_orig="$x_libraries"
fi
else
# Check if the user has specified sysroot, but not --with-x, --x-includes or --x-libraries.
@@ -82,8 +84,8 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
# this doesn't make sense so we remove it; same for sysroot (devkit).
if test "x$COMPILE_TYPE" = xcross || (test "x$SYSROOT" != "x" && test "x$x_libraries_orig" = xNONE); then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
@@ -96,24 +98,29 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
HEADERS_TO_CHECK="X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h"
# There is no Xrandr extension on AIX
if test "x$OPENJDK_TARGET_OS" = xaix; then
# There is no Xrandr extension on AIX. Code is duplicated to avoid autoconf
# 2.71+ warning "AC_CHECK_HEADERS: you should use literals"
X_CFLAGS="$X_CFLAGS -DNO_XRANDR"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
else
HEADERS_TO_CHECK="$HEADERS_TO_CHECK X11/extensions/Xrandr.h"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h X11/extensions/Xrandr.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([$HEADERS_TO_CHECK],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -34,6 +34,7 @@ m4_include([lib-x11.m4])
m4_include([lib-fontconfig.m4])
m4_include([lib-speechd.m4])
m4_include([lib-nvdacontrollerclient.m4])
m4_include([lib-dbus.m4])
m4_include([lib-tests.m4])
################################################################################
@@ -79,11 +80,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
@@ -117,6 +120,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_MISC_LIBS
LIB_SETUP_SPEECHD
LIB_SETUP_NVDACONTROLLERCLIENT
LIB_SETUP_DBUS
LIB_TESTS_SETUP_GTEST
BASIC_JDKLIB_LIBS=""
@@ -167,8 +171,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
wsock32.lib winmm.lib version.lib psapi.lib"
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib powrprof.lib uuid.lib \
ws2_32.lib winmm.lib version.lib psapi.lib"
fi
JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -561,6 +561,8 @@ 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" = xriscv64; then
HOTSPOT_$1_CPU_DEFINE=RISCV64
# The cpu defines below are for zero, we don't support them directly.
elif test "x$OPENJDK_$1_CPU" = xsparc; then
@@ -571,8 +573,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xs390x; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xriscv64; then
HOTSPOT_$1_CPU_DEFINE=RISCV
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
@@ -632,6 +634,7 @@ AC_DEFUN([PLATFORM_SET_MODULE_TARGET_OS_VALUES],
])
#%%% Build and target systems %%%
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
[
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
@@ -718,7 +721,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
#
# Is the target little of big endian?
# Is the target little or big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])

View File

@@ -447,6 +447,10 @@ endif
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@
@@ -676,6 +680,9 @@ JAR = $(JAR_CMD)
JLINK = $(JLINK_CMD)
JMOD = $(JMOD_CMD) $(JAVA_TOOL_FLAGS_SMALL)
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, 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
@@ -369,6 +369,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
@@ -991,123 +995,3 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
fi
AC_SUBST(HOTSPOT_TOOLCHAIN_TYPE)
])
# Setup the JTReg Regression Test Harness.
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JTREG],
[
AC_ARG_WITH(jtreg, [AS_HELP_STRING([--with-jtreg],
[Regression Test Harness @<:@probed@:>@])])
if test "x$with_jtreg" = xno; then
# jtreg disabled
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
if test -d "$with_jtreg"; then
# An explicit path is specified, use it.
JT_HOME="$with_jtreg"
else
case "$with_jtreg" in
*.zip )
JTREG_SUPPORT_DIR=$CONFIGURESUPPORT_OUTPUTDIR/jtreg
$RM -rf $JTREG_SUPPORT_DIR
$MKDIR -p $JTREG_SUPPORT_DIR
$UNZIP -qq -d $JTREG_SUPPORT_DIR $with_jtreg
# Try to find jtreg to determine JT_HOME path
JTREG_PATH=`$FIND $JTREG_SUPPORT_DIR | $GREP "/bin/jtreg"`
if test "x$JTREG_PATH" != x; then
JT_HOME=$($DIRNAME $($DIRNAME $JTREG_PATH))
fi
;;
* )
;;
esac
fi
UTIL_FIXUP_PATH([JT_HOME])
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
fi
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg is not a valid jtreg home])
fi
AC_MSG_CHECKING([for jtreg test harness])
AC_MSG_RESULT([$JT_HOME])
else
# Try to locate jtreg using the JT_HOME environment variable
if test "x$JT_HOME" != x; then
# JT_HOME set in environment, use it
if test ! -d "$JT_HOME"; then
AC_MSG_WARN([Ignoring JT_HOME pointing to invalid directory: $JT_HOME])
JT_HOME=
else
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring JT_HOME which is not a valid jtreg home: $JT_HOME])
JT_HOME=
else
AC_MSG_NOTICE([Located jtreg using JT_HOME from environment])
fi
fi
fi
if test "x$JT_HOME" = x; then
# JT_HOME is not set in environment, or was deemed invalid.
# Try to find jtreg on path
UTIL_LOOKUP_PROGS(JTREGEXE, jtreg)
if test "x$JTREGEXE" != x; then
# That's good, now try to derive JT_HOME
JT_HOME=`(cd $($DIRNAME $JTREGEXE)/.. && pwd)`
if test ! -e "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_WARN([Ignoring jtreg from path since a valid jtreg home cannot be found])
JT_HOME=
else
AC_MSG_NOTICE([Located jtreg using jtreg executable in path])
fi
fi
fi
AC_MSG_CHECKING([for jtreg test harness])
if test "x$JT_HOME" != x; then
AC_MSG_RESULT([$JT_HOME])
else
AC_MSG_RESULT([no, not found])
if test "x$with_jtreg" = xyes; then
AC_MSG_ERROR([--with-jtreg was specified, but no jtreg found.])
fi
fi
fi
UTIL_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
])
# Setup the JIB dependency resolver
AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JIB],
[
AC_ARG_WITH(jib, [AS_HELP_STRING([--with-jib],
[Jib dependency management tool @<:@not used@:>@])])
if test "x$with_jib" = xno || test "x$with_jib" = x; then
# jib disabled
AC_MSG_CHECKING([for jib])
AC_MSG_RESULT(no)
elif test "x$with_jib" = xyes; then
AC_MSG_ERROR([Must supply a value to --with-jib])
else
JIB_HOME="${with_jib}"
AC_MSG_CHECKING([for jib])
AC_MSG_RESULT(${JIB_HOME})
if test ! -d "${JIB_HOME}"; then
AC_MSG_ERROR([--with-jib must be a directory])
fi
JIB_JAR=$(ls ${JIB_HOME}/lib/jib-*.jar)
if test ! -f "${JIB_JAR}"; then
AC_MSG_ERROR([Could not find jib jar file in ${JIB_HOME}])
fi
fi
AC_SUBST(JIB_HOME)
])

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
@@ -52,7 +52,7 @@ m4_include([util_paths.m4])
AC_DEFUN([UTIL_DEFUN_NAMED],
[
AC_DEFUN($1, [
m4_foreach(arg, m4_split(m4_normalize($2)), [
m4_foreach([arg], m4_split(m4_normalize($2)), [
m4_if(m4_bregexp(arg, [^\*]), -1,
[
m4_set_add(legal_named_args, arg)
@@ -64,13 +64,18 @@ AC_DEFUN([UTIL_DEFUN_NAMED],
)
])
m4_foreach([arg], [$3], [
m4_if(m4_bregexp(arg, [: ]), -1, m4_define([arg], m4_bpatsubst(arg, [:], [: ])))
m4_define(arg_name, m4_substr(arg, 0, m4_bregexp(arg, [: ])))
# Delicate quoting and unquoting sequence to ensure the actual value is passed along unchanged
# For details on how this works, see https://git.openjdk.org/jdk/pull/11458#discussion_r1038173051
# WARNING: Proceed at the risk of your own sanity, getting this to work has made me completely
# incapable of feeling love or any other positive emotion
# ~Julian
m4_foreach([arg], m4_dquote(m4_dquote_elt($3)), [
m4_if(m4_index(arg, [: ]), -1, [m4_define([arg], m4_dquote(m4_bpatsubst(m4_dquote(arg), [:], [: ])))])
m4_define(arg_name, m4_substr(arg, 0, m4_index(arg, [: ])))
m4_set_contains(legal_named_args, arg_name, [],[AC_MSG_ERROR([Internal error: m4_if(arg_name, , arg, arg_name) is not a valid named argument to [$1]. Valid arguments are 'm4_set_contents(defined_args, [ ]) m4_set_contents(legal_named_args, [ ])'.])])
m4_set_remove(required_named_args, arg_name)
m4_set_remove(legal_named_args, arg_name)
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_substr(arg, m4_incr(m4_incr(m4_bregexp(arg, [: ])))), [^\s*], []))
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_bpatsubst(m4_dquote(m4_dquote(arg)), arg_name[: ]), [^\s*]))
m4_set_add(defined_args, arg_name)
m4_undefine([arg_name])
])
@@ -194,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
])
@@ -221,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
])
@@ -376,18 +381,18 @@ UTIL_DEFUN_NAMED([UTIL_ARG_ENABLE],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Enable the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Enable the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --enable-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --enable-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_define([ARG_IF_ENABLED], m4_if(ARG_IF_ENABLED, , :, ARG_IF_ENABLED))
m4_define([ARG_IF_DISABLED], m4_if(ARG_IF_DISABLED, , :, ARG_IF_DISABLED))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
m4_if(ARG_IF_ENABLED, , [m4_define([ARG_IF_ENABLED], [:])])
m4_if(ARG_IF_DISABLED, , [m4_define([ARG_IF_DISABLED], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -650,21 +655,21 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Give a value for the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Give a value for the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --with-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --with-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
m4_define([ARG_HAS_AUTO_BLOCK], m4_if(ARG_IF_AUTO, , false, true))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_CHECK_VALUE], m4_if(ARG_CHECK_VALUE, , :, ARG_CHECK_VALUE))
m4_define([ARG_CHECK_FOR_FILES], m4_if(ARG_CHECK_FOR_FILES, , :, ARG_CHECK_FOR_FILES))
m4_define([ARG_IF_AUTO], m4_if(ARG_IF_AUTO, , :, ARG_IF_AUTO))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_CHECK_VALUE, , [m4_define([ARG_CHECK_VALUE], [:])])
m4_if(ARG_CHECK_FOR_FILES, , [m4_define([ARG_CHECK_FOR_FILES], [:])])
m4_if(ARG_IF_AUTO, , [m4_define([ARG_IF_AUTO], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -702,7 +707,6 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
ARG_CHECK_AVAILABLE
# Check if the option should be turned on
echo check msg:ARG_CHECKING_MSG:
AC_MSG_CHECKING(ARG_CHECKING_MSG)
if test x$AVAILABLE = xfalse; then

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
@@ -435,11 +436,20 @@ define SetupJavaCompilationBody
ifeq ($$($1_CREATE_API_DIGEST), true)
$1_API_DIGEST_FLAGS := \
-classpath $$(BUILDTOOLS_OUTPUTDIR)/depend \
-Xplugin:"depend $$($1_API_TARGET)" \
#
$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.
@@ -456,7 +466,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) \
-d $$($1_BIN) $$($1_HEADERS_ARG) @$$($1_FILELIST)) && \
$(TOUCH) $$@

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, 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
@@ -153,6 +153,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
@@ -307,17 +311,36 @@ endef
# There are two versions, either creating a relative or an absolute link. Be
# careful when using this on Windows since the symlink created is only valid in
# the unix emulation environment.
define link-file-relative
# In msys2 we use mklink /J because its ln would perform a deep copy of the target.
# This inhibits performance and can lead to issues with long paths. With mklink /J
# relative linking does not work, so we handle the link as absolute path.
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $(call RelativePath, $<, $(@D)))' '$(call DecodeSpace, $@)'
endef
endef
endif
define link-file-absolute
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'
endef
endef
endif
################################################################################

View File

@@ -257,7 +257,7 @@ ifeq ($(HAS_FILE_FUNCTION), true)
else
# Use printf to get consistent behavior on all platforms.
WriteFile = \
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) > $2)
$(shell $(PRINTF) "%s\n" $(strip $(call ShellQuote, $1)) > $2)
endif
# Param 1 - Text to write
@@ -268,5 +268,5 @@ ifeq ($(HAS_FILE_FUNCTION), true)
else
# Use printf to get consistent behavior on all platforms.
AppendFile = \
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2)
$(shell $(PRINTF) "%s\n" $(strip $(call ShellQuote, $1)) >> $2)
endif

View File

@@ -343,10 +343,15 @@ define SetupCompileNativeFileBody
endif
endif
ifneq ($(DISABLE_WARNING_PREFIX), )
$1_WARNINGS_FLAGS := $$(addprefix $(DISABLE_WARNING_PREFIX), \
$$($$($1_BASE)_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$$($1_FILENAME)))
endif
$1_BASE_CFLAGS := $$($$($1_BASE)_CFLAGS) $$($$($1_BASE)_EXTRA_CFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_WARNINGS_FLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS) $$($1_WARNINGS_FLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), )

View File

@@ -26,16 +26,16 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.8.1
JTREG_VERSION=6.1+2
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz
LINUX_X64_BOOT_JDK_SHA256=288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_x64_linux_hotspot_17.0.11_9.tar.gz
LINUX_X64_BOOT_JDK_SHA256=aa7fb6bb342319d227a838af5c363bfa1b4a670c209372f9e6585bd79da6220c
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_windows_hotspot_17.0.2_8.zip
WINDOWS_X64_BOOT_JDK_SHA256=d083479ca927dce2f586f779373d895e8bf668c632505740279390384edf03fa
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_x64_windows_hotspot_17.0.11_9.zip
WINDOWS_X64_BOOT_JDK_SHA256=fdd6664d4131370398fbc8bfbb7b46dbfec4a22a090a511fe5c379dae188c390
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_mac_hotspot_17.0.2_8.tar.gz
MACOS_X64_BOOT_JDK_SHA256=3630e21a571b7180876bf08f85d0aac0bdbb3267b2ae9bd242f4933b21f9be32
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_x64_mac_hotspot_17.0.11_9.tar.gz
MACOS_X64_BOOT_JDK_SHA256=f8b96724618f4df557c47f11048d1084e98ed3eb87f0dbd5b84f768a80c3348e

View File

@@ -67,6 +67,7 @@
* input.build_osenv
* input.build_osenv_cpu
* input.build_osenv_platform
* input.build_osenv_version
*
* For more complex nested attributes, there is a method "get":
*
@@ -456,7 +457,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "macosx",
target_cpu: "aarch64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system",
configure_args: concat(common.configure_args_64bit,
"--with-macosx-version-max=11.00.00"),
},
@@ -916,10 +917,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);
@@ -1047,10 +1045,10 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc10.3.0-OL6.4+1.0",
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.0",
windows_x64: "VS2022-17.1.0+1.0",
linux_aarch64: "gcc10.3.0-OL7.6+1.0",
linux_aarch64: "gcc11.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc8.2.0-Fedora27+1.0",
linux_s390x: "gcc8.2.0-Fedora27+1.0"
@@ -1098,9 +1096,23 @@ var getJibProfilesDependencies = function (input, common) {
environment_path: common.boot_jdk_home + "/bin"
}
var makeBinDir = (input.build_os == "windows"
? input.get("gnumake", "install_path") + "/cygwin/bin"
: input.get("gnumake", "install_path") + "/bin");
var makeRevision = "4.0+1.0";
var makeBinSubDir = "/bin";
var makeModule = "gnumake-" + input.build_platform;
if (input.build_os == "windows") {
makeModule = "gnumake-" + input.build_osenv_platform;
if (input.build_osenv == "cygwin") {
var versionArray = input.build_osenv_version.split(/\./);
var majorVer = parseInt(versionArray[0]);
var minorVer = parseInt(versionArray[1]);
if (majorVer > 3 || (majorVer == 3 && minorVer >= 3)) {
makeRevision = "4.3+1.0";
} else {
makeBinSubDir = "/cygwin/bin";
}
}
}
var makeBinDir = input.get("gnumake", "install_path") + makeBinSubDir;
var dependencies = {
boot_jdk: boot_jdk,
@@ -1141,9 +1153,9 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "jpg",
product: "jtreg",
version: "6",
version: "7.3.1",
build_number: "1",
file: "bundles/jtreg-6+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"),
@@ -1152,7 +1164,7 @@ var getJibProfilesDependencies = function (input, common) {
jmh: {
organization: common.organization,
ext: "tar.gz",
revision: "1.28+1.0"
revision: "1.35+1.0"
},
jcov: {
@@ -1172,18 +1184,12 @@ var getJibProfilesDependencies = function (input, common) {
gnumake: {
organization: common.organization,
ext: "tar.gz",
revision: "4.0+1.0",
module: (input.build_os == "windows"
? "gnumake-" + input.build_osenv_platform
: "gnumake-" + input.build_platform),
revision: makeRevision,
module: makeModule,
configure_args: "MAKE=" + makeBinDir + "/make",
environment: {
"MAKE": makeBinDir + "/make"
},
environment_path: makeBinDir
},
@@ -1468,7 +1474,7 @@ var getVersionNumbers = function () {
var isWsl = function (input) {
return ( input.build_osenv == "wsl"
|| (input.build_os == "linux"
&& java.lang.System.getProperty("os.version").contains("Microsoft")));
&& java.lang.System.getProperty("os.version").toLowerCase().contains("microsoft")));
}
var error = function (s) {

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 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
@@ -28,12 +28,12 @@
DEFAULT_VERSION_FEATURE=17
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=6
DEFAULT_VERSION_UPDATE=12
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-01-17
DEFAULT_VERSION_DATE=2024-07-16
DEFAULT_VERSION_CLASSFILE_MAJOR=61 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11

View File

@@ -0,0 +1,20 @@
Owner: CN=Certainly Root E1, O=Certainly, C=US
Issuer: CN=Certainly Root E1, O=Certainly, C=US
Serial number: 62533b1470333275cf98d9ab9bfccf8
Valid from: Thu Apr 01 00:00:00 GMT 2021 until: Sun Apr 01 00:00:00 GMT 2046
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIIB9zCCAX2gAwIBAgIQBiUzsUcDMydc+Y2aub/M+DAKBggqhkjOPQQDAzA9MQsw
CQYDVQQGEwJVUzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0YWlu
bHkgUm9vdCBFMTAeFw0yMTA0MDEwMDAwMDBaFw00NjA0MDEwMDAwMDBaMD0xCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlDZXJ0YWlubHkxGjAYBgNVBAMTEUNlcnRhaW5s
eSBSb290IEUxMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3m/4fxzf7flHh4axpMCK
+IKXgOqPyEpeKn2IaKcBYhSRJHpcnqMXfYqGITQYUBsQ3tA3SybHGWCA6TS9YBk2
QNYphwk8kXr2vBMj3VlOBF7PyAIcGFPBMdjaIOlEjeR2o0IwQDAOBgNVHQ8BAf8E
BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ygYy2R17ikq6+2uI1g4
hevIIgcwCgYIKoZIzj0EAwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozm
ut6Dacpps6kFtZaSF4fC0urQe87YQVt8rgIwRt7qy12a7DLCZRawTDBcMPPaTnOG
BtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Certainly Root R1, O=Certainly, C=US
Issuer: CN=Certainly Root R1, O=Certainly, C=US
Serial number: 8e0ff94b907168653354f4d44439b7e0
Valid from: Thu Apr 01 00:00:00 GMT 2021 until: Sun Apr 01 00:00:00 GMT 2046
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFRzCCAy+gAwIBAgIRAI4P+UuQcWhlM1T01EQ5t+AwDQYJKoZIhvcNAQELBQAw
PTELMAkGA1UEBhMCVVMxEjAQBgNVBAoTCUNlcnRhaW5seTEaMBgGA1UEAxMRQ2Vy
dGFpbmx5IFJvb3QgUjEwHhcNMjEwNDAxMDAwMDAwWhcNNDYwNDAxMDAwMDAwWjA9
MQswCQYDVQQGEwJVUzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0
YWlubHkgUm9vdCBSMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANA2
1B/q3avk0bbm+yLA3RMNansiExyXPGhjZjKcA7WNpIGD2ngwEc/csiu+kr+O5MQT
vqRoTNoCaBZ0vrLdBORrKt03H2As2/X3oXyVtwxwhi7xOu9S98zTm/mLvg7fMbed
aFySpvXl8wo0tf97ouSHocavFwDvA5HtqRxOcT3Si2yJ9HiG5mpJoM610rCrm/b0
1C7jcvk2xusVtyWMOvwlDbMicyF0yEqWYZL1LwsYpfSt4u5BvQF5+paMjRcCMLT5
r3gajLQ2EBAHBXDQ9DGQilHFhiZ5shGIXsXwClTNSaa/ApzSRKft43jvRl5tcdF5
cBxGX1HpyTfcX35pe0HfNEXgO4T0oYoKNp43zGJS4YkNKPl6I7ENPT2a/Z2B7yyQ
wHtETrtJ4A5KVpK8y7XdeReJkd5hiXSSqOMyhb5OhaRLWcsrxXiOcVTQAjeZjOVJ
6uBUcqQRBi8LjMFbvrWhsFNunLhgkR9Za/kt9JQKl7XsxXYDVBtlUrpMklZRNaBA
2CnbrlJ2Oy0wQJuK0EJWtLeIAaSHO1OWzaMWj/Nmqhexx2DgwUMFDO6bW2BvBlyH
Wyf5QBGenDPBt+U1VwV/J84XIIwc/PH72jEpSe31C4SnT8H2TsIonPru4K8H+zMR
eiFPCyEQtkA6qyI6BJyLm4SGcprSp6XEtHWRqSsjAgMBAAGjQjBAMA4GA1UdDwEB
/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTgqj8ljZ9EXME66C6u
d0yEPmcM9DANBgkqhkiG9w0BAQsFAAOCAgEAuVevuBLaV4OPaAszHQNTVfSVcOQr
PbA56/qJYv331hgELyE03fFo8NWWWt7CgKPBjcZq91l3rhVkz1t5BXdm6ozTaw3d
8VkswTOlMIAVRQdFGjEitpIAq5lNOo93r6kiyi9jyhXWx8bwPWz8HA2YEGGeEaIi
1wrykXprOQ4vMMM2SZ/g6Q8CRFA3lFV96p/2O7qUpUzpvD5RtOjKkjZUbVwlKNrd
rRT90+7iIgXr0PK3aBLXWopBGsaSpVo7Y0VPv+E6dyIvXL9G+VoDhRNCX8reU9di
taY1BMJH/5n9hN9czulegChB8n3nHpDYT3Y+gjwN/KUD+nsa2UUeYNrEjvn8K8l7
lcUq/6qJ34IxD3L/DCfXCh5WAFAeDJDBlrXYFIW7pw0WwfgHJBu6haEaBQmAupVj
yTrsJZ9/nbqkRxWbRHDxakvWOF5D8xh+UG7pWijmZeZ3Gzr9Hb4DJqPb1OG7fpYn
Kx3upPvaJVQTA945xsMfTZDsjxtK0hzthZU4UHlG1sGQUDGpXJpuHfUzVounmdLy
yCwzk5Iwx06MZTMQZBf9JBeW0Y3COmor6xOLRPIh80oat3df1+2IpHLlOR+Vnb5n
wXARPbv0+Em34yaXOp/SX3z7wJl8OSngex2/DaeP0ik0biQVy96QXr8axGbqwua6
OV+KmalBWQewLK8=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=Certigna, O=Dhimyotis, C=FR
Issuer: CN=Certigna, O=Dhimyotis, C=FR
Serial number: fedce3010fc948ff
Valid from: Fri Jun 29 15:13:05 GMT 2007 until: Tue Jun 29 15:13:05 GMT 2027
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNV
BAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4X
DTA3MDYyOTE1MTMwNVoXDTI3MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQ
BgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwIQ2VydGlnbmEwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7qXOEm7RFHYeGifBZ4
QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyHGxny
gQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbw
zBfsV1/pogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q
130yGLMLLGq/jj8UEYkgDncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2
JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKfIrjxwo1p3Po6WAbfAgMBAAGjgbwwgbkw
DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQtCRZvgHyUtVF9lo53BEw
ZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJBgNVBAYT
AkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzj
AQ/JSP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG
9w0BAQUFAAOCAQEAhQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8h
bV6lUmPOEvjvKtpv6zf+EwLHyzs+ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFnc
fca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1kluPBS1xp81HlDQwY9qcEQCYsuu
HWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY1gkIl2PlwS6w
t0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw
WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,43 @@
Owner: CN=Certigna Root CA, OU=0002 48146308100036, O=Dhimyotis, C=FR
Issuer: CN=Certigna Root CA, OU=0002 48146308100036, O=Dhimyotis, C=FR
Serial number: cae91b89f155030da3e6416dc4e3a6e1
Valid from: Tue Oct 01 08:32:27 GMT 2013 until: Sat Oct 01 08:32:27 GMT 2033
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIGWzCCBEOgAwIBAgIRAMrpG4nxVQMNo+ZBbcTjpuEwDQYJKoZIhvcNAQELBQAw
WjELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczEcMBoGA1UECwwTMDAw
MiA0ODE0NjMwODEwMDAzNjEZMBcGA1UEAwwQQ2VydGlnbmEgUm9vdCBDQTAeFw0x
MzEwMDEwODMyMjdaFw0zMzEwMDEwODMyMjdaMFoxCzAJBgNVBAYTAkZSMRIwEAYD
VQQKDAlEaGlteW90aXMxHDAaBgNVBAsMEzAwMDIgNDgxNDYzMDgxMDAwMzYxGTAX
BgNVBAMMEENlcnRpZ25hIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw
ggIKAoICAQDNGDllGlmx6mQWDoyUJJV8g9PFOSbcDO8WV43X2KyjQn+Cyu3NW9sO
ty3tRQgXstmzy9YXUnIo245Onoq2C/mehJpNdt4iKVzSs9IGPjA5qXSjklYcoW9M
CiBtnyN6tMbaLOQdLNyzKNAT8kxOAkmhVECe5uUFoC2EyP+YbNDrihqECB63aCPu
I9Vwzm1RaRDuoXrC0SIxwoKF0vJVdlB8JXrJhFwLrN1CTivngqIkicuQstDuI7pm
TLtipPlTWmR7fJj6o0ieD5Wupxj0auwuA0Wv8HT4Ks16XdG+RCYyKfHx9WzMfgIh
C59vpD++nVPiz32pLHxYGpfhPTc3GGYo0kDFUYqMwy3OU4gkWGQwFsWq4NYKpkDf
ePb1BHxpE4S80dGnBs8B92jAqFe7OmGtBIyT46388NtEbVncSVmurJqZNjBBe3Yz
IoejwpKGbvlw7q6Hh5UbxHq9MfPU0uWZ/75I7HX1eBYdpnDBfzwboZL7z8g81sWT
Co/1VTp2lc5ZmIoJlXcymoO6LAQ6l73UL77XbJuiyn1tJslV1c/DeVIICZkHJC1k
JWumIWmbat10TWuXekG9qxf5kBdIjzb5LdXF2+6qhUVB+s06RbFo5jZMm5BX7CO5
hwjCxAnxl4YqKE3idMDaxIzb3+KhF1nOJFl0Mdp//TBt2dzhauH8XwIDAQABo4IB
GjCCARYwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE
FBiHVuBud+4kNTxOc5of1uHieX4rMB8GA1UdIwQYMBaAFBiHVuBud+4kNTxOc5of
1uHieX4rMEQGA1UdIAQ9MDswOQYEVR0gADAxMC8GCCsGAQUFBwIBFiNodHRwczov
L3d3d3cuY2VydGlnbmEuZnIvYXV0b3JpdGVzLzBtBgNVHR8EZjBkMC+gLaArhilo
dHRwOi8vY3JsLmNlcnRpZ25hLmZyL2NlcnRpZ25hcm9vdGNhLmNybDAxoC+gLYYr
aHR0cDovL2NybC5kaGlteW90aXMuY29tL2NlcnRpZ25hcm9vdGNhLmNybDANBgkq
hkiG9w0BAQsFAAOCAgEAlLieT/DjlQgi581oQfccVdV8AOItOoldaDgvUSILSo3L
6btdPrtcPbEo/uRTVRPPoZAbAh1fZkYJMyjhDSSXcNMQH+pkV5a7XdrnxIxPTGRG
HVyH41neQtGbqH6mid2PHMkwgu07nM3A6RngatgCdTer9zQoKJHyBApPNeNgJgH6
0BGM+RFq7q89w1DTj18zeTyGqHNFkIwgtnJzFyO+B2XleJINugHA64wcZr+shncB
lA2c5uk5jR+mUYyZDDl34bSb+hxnV29qao6pK0xXeXpXIs/NX2NGjVxZOob4Mkdi
o2cNGJHc+6Zr9UhhcyNZjgKnvETq9Emd8VRY+WCv2hikLyhF3HqgiIZd8zvn/yk1
gPxkQ5Tm4xxvvq0OKmOZK8l+hfZx6AYDlf7ej0gcWtSS6Cvu5zHbugRqh5jnxV/v
faci9wHYTfmJ0A6aBVmknpjZbyvKcL5kwlWj9Omvw5Ip3IgWJJk8jSaYtlu3zM63
Nwf9JtmYhST/WSMDmu2dnajkXjjO11INb9I/bbEFa0nOipFGc/T2L/Coc3cOZayh
jWZSaX5LaAzHHjcng6WMxwLkFM1JAbBzs/3GkDpv0mztO+7skb6iQ12LAEpmJURw
3kAP+HwV96LOPNdeE4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,21 @@
Owner: CN=DigiCert CS ECC P384 Root G5, O="DigiCert, Inc.", C=US
Issuer: CN=DigiCert CS ECC P384 Root G5, O="DigiCert, Inc.", C=US
Serial number: 3698fe712d519f3ced0fdb7b1643011
Valid from: Fri Jan 15 00:00:00 GMT 2021 until: Sun Jan 14 23:59:59 GMT 2046
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICFjCCAZ2gAwIBAgIQA2mP5xLVGfPO0P23sWQwETAKBggqhkjOPQQDAzBNMQsw
CQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMTHERp
Z2lDZXJ0IENTIEVDQyBQMzg0IFJvb3QgRzUwHhcNMjEwMTE1MDAwMDAwWhcNNDYw
MTE0MjM1OTU5WjBNMQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIElu
Yy4xJTAjBgNVBAMTHERpZ2lDZXJ0IENTIEVDQyBQMzg0IFJvb3QgRzUwdjAQBgcq
hkjOPQIBBgUrgQQAIgNiAAR/FK2Ftpf9AiE1TWDoOJOTmz0FEG2v0/7v+rv7c5nz
7DISjcdouIveiaKIVHeNuyF+M5VWlgno1YyhBLibbhkAYuhCKKZYN4QZVSZ7Mzdn
8ppyraGurgBCPBx+uHqeIZyjQjBAMB0GA1UdDgQWBBTwjJhxOThlwjobphdmHcjt
Zd6SNjAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQD
AwNnADBkAjAjb+EAGSZQ5EYgZYs3p8/rBuHMMskqoewyDXOiHgIcNWEqTmmrOXft
l4jAfWvqid0CMEPx0VijdT6Gm7ZVEYsX9z3+CmnFf07GdRtalMvqERHGCCKI3tB6
oqV56OMhp80Tsw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=DigiCert CS RSA4096 Root G5, O="DigiCert, Inc.", C=US
Issuer: CN=DigiCert CS RSA4096 Root G5, O="DigiCert, Inc.", C=US
Serial number: 6cee131be6d55c807f7c0c7fb44e620
Valid from: Fri Jan 15 00:00:00 GMT 2021 until: Sun Jan 14 23:59:59 GMT 2046
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFZDCCA0ygAwIBAgIQBs7hMb5tVcgH98DH+0TmIDANBgkqhkiG9w0BAQwFADBM
MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJDAiBgNVBAMT
G0RpZ2lDZXJ0IENTIFJTQTQwOTYgUm9vdCBHNTAeFw0yMTAxMTUwMDAwMDBaFw00
NjAxMTQyMzU5NTlaMEwxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwg
SW5jLjEkMCIGA1UEAxMbRGlnaUNlcnQgQ1MgUlNBNDA5NiBSb290IEc1MIICIjAN
BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtjNzgNhiA3AULBEcOV58rnyDhh3+
Ji9MJK2L6oNfqbw9W/wLmEwCRzDs4v7s6DRbZl6/O9cspiX/jFmz3+rafCnZRlBy
CB1u0RsK3R/NmYn6Dw9zxOGcHXUyzW+X2ipqlbJsyQnQ6gt7fRcGSZnv1t7gyFPU
rsZ38Ya7Ixy4wN9Z94590e+C5iaLWji1/3XVstlPCfM3iFDaEaSKFBTRUwQAffNq
RBj+UHAyBxyomg46HcUKH24LJmm3PKJXcCyG+kxulalYQ7msEtb/P+3XQxdrTM6e
xJCr//oQUJqjkFfW54wQrp8WGs81HX/Xdu2KnDWnKLinXSH8MDfd3ggZTxXG56ba
kEeO95RTTI5TAr79meXqhtCvAwLTm6qT8asojiAB/0z7zLcpQPWHpBITBR9DbtdR
UJ84tCDtFwkSj8y5Ga+fzb5pEdOvVRBtF4Z5llLGsgCd5a84sDX0iGuPDgQ9fO6v
zdNqEErGzYbKIj2hSlz7Dv+I31xip8C5HtmsbH44N/53kyXChYpPtTcGWgaBFPHO
lJ2ZkeoyWs5nPW4EZq0MTy2jLvee9Xid9wr9fo/jQopVlrzxnzct/J5flf6MGBv8
jv1LkK/XA2gSY6zik6eiywTlT2TOA/rGFJ/Zi+jM1GKMa+QALBmfGgbGMYFU+1Mk
mq9Vmbqdda64wt0CAwEAAaNCMEAwHQYDVR0OBBYEFGgBk7HSSkBCaZRGLBxaiKkl
tEdPMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEB
DAUAA4ICAQCS/O64AnkXAlF9IcVJZ6ek8agkOOsMaOpaQmuc9HPBaUotszcFUEKY
kp4GeSwuBpn2798roM2zkgGDtaDLJ7U8IxqYSaLsLZmlWUOs0rGT1lfXHLyT1sZA
4bNvGVW3E9flQzOktavL2sExZA101iztw41u67uvGUdhYS3A9AW5b3jcOvdCQGVT
kb2ZDZOSVKapN1krm8uZxrw99wSE8JQzHQ+CWjnLLkXDKBmjspuYyPwxa2CP9umG
KLzgPH10XRaJW2kkxxCLxEu7Nk/UWT/DsKSRmfgu0UoBnfWIEu+/WhFqWU9Za1pn
84+0Ew/A2C89KHKqGX8RfWpbn5XnX7eUT/E+oVr/Lcyd3yd3jzJzHGcKdvP6XLG/
vB29DCibsscXZwszD8O9Ntz7ukILq+2Ew2LWhBapsQdrqW7uxs/msEQpwvCzYYAq
i2/SFFwlh1Rk86RMwaH4p2vq/uo6/HnbDo/cxvPJ1Gze6YOhjh0i7Mk6sgB73Dun
Qhp/3IupET2Op8Agb10JXUNE5o9mzKlbB/Hvm3oOs1ThlP0OLMaT11X9cZg1uAlK
/8YpKCz2Ui3bFBiSJ+IWfozK1GG+goeR65g3P79fXXc/NKwbOEOraHKZMh46Ghml
ozhMI9ej58zVKpIXkAtaS70WvfuGauKJmezkoFUYyaMIHxPgMghy0A==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,21 @@
Owner: CN=DigiCert TLS ECC P384 Root G5, O="DigiCert, Inc.", C=US
Issuer: CN=DigiCert TLS ECC P384 Root G5, O="DigiCert, Inc.", C=US
Serial number: 9e09365acf7d9c8b93e1c0b042a2ef3
Valid from: Fri Jan 15 00:00:00 GMT 2021 until: Sun Jan 14 23:59:59 GMT 2046
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQsw
CQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURp
Z2lDZXJ0IFRMUyBFQ0MgUDM4NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2
MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkRpZ2lDZXJ0LCBJ
bmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQgUm9vdCBHNTB2MBAG
ByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1TzvdlHJS
7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp
0zVozptjn4S1mU1YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICIS
B4CIfBFqMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49
BAMDA2gAMGUCMQCJao1H5+z8blUD2WdsJk6Dxv3J+ysTvLd6jLRl0mlpYxNjOyZQ
LgGheQaRnUi/wr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIxAJSdYsiJvRmEFOml+wG4
DXZDjC5Ty3zfDBeWUA==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=DigiCert TLS RSA4096 Root G5, O="DigiCert, Inc.", C=US
Issuer: CN=DigiCert TLS RSA4096 Root G5, O="DigiCert, Inc.", C=US
Serial number: 8f9b478a8fa7eda6a333789de7ccf8a
Valid from: Fri Jan 15 00:00:00 GMT 2021 until: Sun Jan 14 23:59:59 GMT 2046
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFZjCCA06gAwIBAgIQCPm0eKj6ftpqMzeJ3nzPijANBgkqhkiG9w0BAQwFADBN
MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMT
HERpZ2lDZXJ0IFRMUyBSU0E0MDk2IFJvb3QgRzUwHhcNMjEwMTE1MDAwMDAwWhcN
NDYwMTE0MjM1OTU5WjBNMQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQs
IEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0MDk2IFJvb3QgRzUwggIi
MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz0PTJeRGd/fxmgefM1eS87IE+
ajWOLrfn3q/5B03PMJ3qCQuZvWxX2hhKuHisOjmopkisLnLlvevxGs3npAOpPxG0
2C+JFvuUAT27L/gTBaF4HI4o4EXgg/RZG5Wzrn4DReW+wkL+7vI8toUTmDKdFqgp
wgscONyfMXdcvyej/Cestyu9dJsXLfKB2l2w4SMXPohKEiPQ6s+d3gMXsUJKoBZM
pG2T6T867jp8nVid9E6P/DsjyG244gXazOvswzH016cpVIDPRFtMbzCe88zdH5RD
nU1/cHAN1DrRN/BsnZvAFJNY781BOHW8EwOVfH/jXOnVDdXifBBiqmvwPXbzP6Po
sMH976pXTayGpxi0KcEsDr9kvimM2AItzVwv8n/vFfQMFawKsPHTDU9qTXeXAaDx
Zre3zu/O7Oyldcqs4+Fj97ihBMi8ez9dLRYiVu1ISf6nL3kwJZu6ay0/nTvEF+cd
Lvvyz6b84xQslpghjLSR6Rlgg/IwKwZzUNWYOwbpx4oMYIwo+FKbbuH2TbsGJJvX
KyY//SovcfXWJL5/MZ4PbeiPT02jP/816t9JXkGPhvnxd3lLG7SjXi/7RgLQZhNe
XoVPzthwiHvOAbWWl9fNff2C+MIkwcoBOU+NosEUQB+cZtUMCUbW8tDRSHZWOkPL
tgoRObqME2wGtZ7P6wIDAQABo0IwQDAdBgNVHQ4EFgQUUTMc7TZArxfTJc1paPKv
TiM+s0EwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcN
AQEMBQADggIBAGCmr1tfV9qJ20tQqcQjNSH/0GEwhJG3PxDPJY7Jv0Y02cEhJhxw
GXIeo8mH/qlDZJY6yFMECrZBu8RHANmfGBg7sg7zNOok992vIGCukihfNudd5N7H
PNtQOa27PShNlnx2xlv0wdsUpasZYgcYQF+Xkdycx6u1UQ3maVNVzDl92sURVXLF
O4uJ+DQtpBflF+aZfTCIITfNMBc9uPK8qHWgQ9w+iUuQrm0D4ByjoJYJu32jtyoQ
REtGBzRj7TG5BO6jm5qu5jF49OokYTurWGT/u4cnYiWB39yhL/btp/96j1EuMPik
AdKFOV8BmZZvWltwGUb+hmA+rYAQCd05JS9Yf7vSdPD3Rh9GOUrYU9DzLjtxpdRv
/PNn5AeP3SYZ4Y1b+qOTEZvpyDrDVWiakuFSdjjo4bq9+0/V77PnSIMx8IIh47a+
p6tv75/fTM8BuGJqIz3nCU2AG3swpMPdB380vqQmsvZB6Akd4yCYqjdP//fx4ilw
MUc/dNAUFvohigLVigmUdy7yWSiLfFCSCmZ4OIN1xLVaqBHG5cGdZlXPU8Sv13WF
qUITVuwhd4GTWgzqltlJyqEI8pc7bZsEGCREjnwB8twl2F6GmrE52/WRMmrRpnCK
ovfepEWFJqgejF0pW8hL2JpqA15w8oVPbEtoL8pU9ozaMv7Da4M/OMZ+
-----END CERTIFICATE-----

View File

@@ -0,0 +1,22 @@
Owner: CN=emSign ECC Root CA - G3, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Issuer: CN=emSign ECC Root CA - G3, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Serial number: 3cf607a968700eda8b84
Valid from: Sun Feb 18 18:30:00 GMT 2018 until: Wed Feb 18 18:30:00 GMT 2043
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQG
EwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNo
bm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g
RzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4MTgzMDAwWjBrMQswCQYDVQQGEwJJ
TjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9s
b2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0
WXTsuwYc58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xyS
fvalY8L1X44uT6EYGQIrMgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuB
zhccLikenEhjQjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggq
hkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+DCBeQyh+KTOgNG3qxrdWB
CUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7jHvrZQnD
+JbNR6iC8hZVdyR+EhCVBCyj
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=emSign Root CA - G1, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Issuer: CN=emSign Root CA - G1, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Serial number: 31f5e4620c6c58edd6d8
Valid from: Sun Feb 18 18:30:00 GMT 2018 until: Wed Feb 18 18:30:00 GMT 2043
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDlDCCAnygAwIBAgIKMfXkYgxsWO3W2DANBgkqhkiG9w0BAQsFADBnMQswCQYD
VQQGEwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBU
ZWNobm9sb2dpZXMgTGltaXRlZDEcMBoGA1UEAxMTZW1TaWduIFJvb3QgQ0EgLSBH
MTAeFw0xODAyMTgxODMwMDBaFw00MzAyMTgxODMwMDBaMGcxCzAJBgNVBAYTAklO
MRMwEQYDVQQLEwplbVNpZ24gUEtJMSUwIwYDVQQKExxlTXVkaHJhIFRlY2hub2xv
Z2llcyBMaW1pdGVkMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEcxMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk0u76WaK7p1b1TST0Bsew+eeuGQz
f2N4aLTNLnF115sgxk0pvLZoYIr3IZpWNVrzdr3YzZr/k1ZLpVkGoZM0Kd0WNHVO
8oG0x5ZOrRkVUkr+PHB1cM2vK6sVmjM8qrOLqs1D/fXqcP/tzxE7lM5OMhbTI0Aq
d7OvPAEsbO2ZLIvZTmmYsvePQbAyeGHWDV/D+qJAkh1cF+ZwPjXnorfCYuKrpDhM
tTk1b+oDafo6VGiFbdbyL0NVHpENDtjVaqSW0RM8LHhQ6DqS0hdW5TUaQBw+jSzt
Od9C4INBdN+jzcKGYEho42kLVACL5HZpIQ15TjQIXhTCzLG3rdd8cIrHhQIDAQAB
o0IwQDAdBgNVHQ4EFgQU++8Nhp6w492pufEhF38+/PB3KxowDgYDVR0PAQH/BAQD
AgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAFn/8oz1h31x
PaOfG1vR2vjTnGs2vZupYeveFix0PZ7mddrXuqe8QhfnPZHr5X3dPpzxz5KsbEjM
wiI/aTvFthUvozXGaCocV685743QNcMYDHsAVhzNixl03r4PEuDQqqE/AjSxcM6d
GNYIAwlG7mDgfrbESQRRfXBgvKqy/3lyeqYdPV8q+Mri/Tm3R7nrft8EI6/6nAYH
6ftjk4BAtcZsCjEozgyfz7MjNYBBjWzEN3uBL4ChQEKF6dk4jeihU80Bv2noWgby
RQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx
iN66zB+Afko=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,39 @@
Owner: CN=emSign Root CA - G2, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Issuer: CN=emSign Root CA - G2, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN
Serial number: 864dbf0fe35ed77d8ed8
Valid from: Sun Feb 18 18:30:00 GMT 2018 until: Wed Feb 18 18:30:00 GMT 2043
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFlTCCA32gAwIBAgILAIZNvw/jXtd9jtgwDQYJKoZIhvcNAQEMBQAwZzELMAkG
A1UEBhMCSU4xEzARBgNVBAsTCmVtU2lnbiBQS0kxJTAjBgNVBAoTHGVNdWRocmEg
VGVjaG5vbG9naWVzIExpbWl0ZWQxHDAaBgNVBAMTE2VtU2lnbiBSb290IENBIC0g
RzIwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4MTgzMDAwWjBnMQswCQYDVQQGEwJJ
TjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9s
b2dpZXMgTGltaXRlZDEcMBoGA1UEAxMTZW1TaWduIFJvb3QgQ0EgLSBHMjCCAiIw
DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMNwGIWW2kHfHK+sXTNwxF07K+IV
ySTuyFM2r1v002wUfcdT+zs5OM5QbMYFFnedXQI6gCFLsjKrcaej48Zt37OyEb3i
aPs7CsP4kAyTwzKH9aZe6gXYHrJq40/ZVMNcQVI2PcIp40B/SAN2gUZ+ZaUtIOvV
jEx26/ebNaXRIsthlkOG/caB+QRwDw1tl7338Zlv0M2oTBUy4B3e7dGP5pgXH71M
jqHPCoNo+xv9f0NTBT+hUDa8h8wUtcGQq9CDeJTpjWcD2bP2AMdVG6oVpMAUeUzo
cCyglvtFdUMjggxBbw4qhau1HXPG8Ot9hwL7ZMi8tkTzrvUIxxb8G9LF/7kKeCE7
tGZaVzDTnXuifl3msR4ErHsQ4P7lVu2AIjIAhrAXoedDidb7pMcf7TABdrYUT1Jo
G/AiK+J9jO6GTjeADD4LMDSBZhHMuBK/PJ/g0kGBt+/C1L+/HURzQhJkMlRnM6Rv
XoCtfKopSlns5trZmTi971Wjbn88QXP61lGpBCUPwCjs7rpOYvSUJtI+lcbF+37q
kIqOXYkVT3cupDSpw+H89kFtj5GKY+Xny4LxY+3IvDIRiyd6ky1DPj713DI0yqve
EpsIr3A0PdwuyUI7CS1jg0NnGFT6Xxyr0xB+VDt83FJYW8v16k2pbaQ4kVxA3aXd
X9dZYyVR1S59KM75AgMBAAGjQjBAMB0GA1UdDgQWBBTt7E1FYRgo57MjKBEcTaUn
DV7s9DAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0B
AQwFAAOCAgEACFC/ilQg8KTCVBxFJW/sazomkS0kNYbEIZg4B3obqwsJ7SX98z8Z
gfzBpz0nYClwwJjWbFN1R2zY8pCEot6/dgmA8Vbq0GxhwPM5YN/SZquNyRIxO3cU
dlAcwf+vSezdVCf9wOzvSAF3q0a5ljvbdbNJNpfScQVp7UUd5sBsZk8jXO1KQ/go
/Vf/GDPnrIFmxpAIGE3sgnO8lAv9FzUaAeuv7HWe47xN9J7+bQzF93yHuIXACPTL
pQHhg2zMv5C7BAbuDHfbj1Cu294Z832yhSfBcziWGskOvl3es2EcHytbS9c9P+0z
Mpka7zGC1FHrvLb/FoduH86TeZt0QjZ6pcplNzoaxDnDvzTJ6CC2Eny+qH/APFCu
VUv5/wjwF+HPm8Pup2ARj9cEp92+0qcerfHacNq5hMeGZdbA/dzdUR/5z5zXdxAk
nl8mcfGb0eMNSTXQmmB/i4AecNnr72uYjzlaXUGYN7Nrb6XouG0pnh0/BBtWWp0U
ShIPpWEAqs7RJBj6+1ZUYXZ4ObrCw962DxhN2p19Hxw9LtuUUcLqqTPrFXYvwO4t
ouj7KJnAkaTUfXGdEaFVtFig1EA30WzJY2X1vAQ7hVnniCjgaXAGqjsU6sklNM9n
xDx5rFCCCEtj9Kh8UHjGK2QqgP5kwgttjOApQMaCoezMfK4KD7WpOXU=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=GlobalSign Root E46, O=GlobalSign nv-sa, C=BE
Issuer: CN=GlobalSign Root E46, O=GlobalSign nv-sa, C=BE
Serial number: 11d2bbba336ed4bce62468c50d841d98e843
Valid from: Wed Mar 20 00:00:00 GMT 2019 until: Tue Mar 20 00:00:00 GMT 2046
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICCzCCAZGgAwIBAgISEdK7ujNu1LzmJGjFDYQdmOhDMAoGCCqGSM49BAMDMEYx
CzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQD
ExNHbG9iYWxTaWduIFJvb3QgRTQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAw
MDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2Ex
HDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBFNDYwdjAQBgcqhkjOPQIBBgUrgQQA
IgNiAAScDrHPt+ieUnd1NPqlRqetMhkytAepJ8qUuwzSChDH2omwlwxwEwkBjtjq
R+q+soArzfwoDdusvKSGN+1wCAB16pMLey5SnCNoIwZD7JIvU4Tb+0cUB+hflGdd
yXqBPCCjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1Ud
DgQWBBQxCpCPtsad0kRLgLWi5h+xEk8blTAKBggqhkjOPQQDAwNoADBlAjEA31SQ
7Zvvi5QCkxeCmb6zniz2C5GMn0oUsfZkvLtoURMMA/cVi4RguYv/Uo7njLwcAjA8
+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+CAezNIm8BZ/3Hobui3A=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=GlobalSign Root R46, O=GlobalSign nv-sa, C=BE
Issuer: CN=GlobalSign Root R46, O=GlobalSign nv-sa, C=BE
Serial number: 11d2bbb9d723189e405f0a9d2dd0df2567d1
Valid from: Wed Mar 20 00:00:00 GMT 2019 until: Tue Mar 20 00:00:00 GMT 2046
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFWjCCA0KgAwIBAgISEdK7udcjGJ5AXwqdLdDfJWfRMA0GCSqGSIb3DQEBDAUA
MEYxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYD
VQQDExNHbG9iYWxTaWduIFJvb3QgUjQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMy
MDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYt
c2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBSNDYwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQCsrHQy6LNl5brtQyYdpokNRbopiLKkHWPd08EsCVeJ
OaFV6Wc0dwxu5FUdUiXSE2te4R2pt32JMl8Nnp8semNgQB+msLZ4j5lUlghYruQG
vGIFAha/r6gjA7aUD7xubMLL1aa7DOn2wQL7Id5m3RerdELv8HQvJfTqa1VbkNud
316HCkD7rRlr+/fKYIje2sGP1q7Vf9Q8g+7XFkyDRTNrJ9CG0Bwta/OrffGFqfUo
0q3v84RLHIf8E6M6cqJaESvWJ3En7YEtbWaBkoe0G1h6zD8K+kZPTXhc+CtI4wSE
y132tGqzZfxCnlEmIyDLPRT5ge1lFgBPGmSXZgjPjHvjK8Cd+RTyG/FWaha/LIWF
zXg4mutCagI0GIMXTpRW+LaCtfOW3T3zvn8gdz57GSNrLNRyc0NXfeD412lPFzYE
+cCQYDdF3uYM2HSNrpyibXRdQr4G9dlkbgIQrImwTDsHTUB+JMWKmIJ5jqSngiCN
I/onccnfxkF0oE32kRbcRoxfKWMxWXEM2G/CtjJ9++ZdU6Z+Ffy7dXxd7Pj2Fxzs
x2sZy/N78CsHpdlseVR2bJ0cpm4O6XkMqCNqo98bMDGfsVR7/mrLZqrcZdCinkqa
ByFrgY/bxFn63iLABJzjqls2k+g9vXqhnQt2sQvHnf3PmKgGwvgqo6GDoLclcqUC
4wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV
HQ4EFgQUA1yrc4GHqMywptWU4jaWSf8FmSwwDQYJKoZIhvcNAQEMBQADggIBAHx4
7PYCLLtbfpIrXTncvtgdokIzTfnvpCo7RGkerNlFo048p9gkUbJUHJNOxO97k4Vg
JuoJSOD1u8fpaNK7ajFxzHmuEajwmf3lH7wvqMxX63bEIaZHU1VNaL8FpO7XJqti
2kM3S+LGteWygxk6x9PbTZ4IevPuzz5i+6zoYMzRx6Fcg0XERczzF2sUyQQCPtIk
pnnpHs6i58FZFZ8d4kuaPp92CC1r2LpXFNqD6v6MVenQTqnMdzGxRBF6XLE+0xRF
FRhiJBPSy03OXIPBNvIQtQ6IbbjhVp+J3pZmOUdkLG5NrmJ7v2B0GbhWrJKsFjLt
rWhV/pi60zTe9Mlhww6G9kuEYO4Ne7UyWHmRVSyBQ7N0H3qqJZ4d16GLuc1CLgSk
ZoNNiTW2bKg2SnkheCLQQrzRQDGQob4Ez8pn7fXwgNNgyYMqIgXQBztSvwyeqiv5
u+YfjyW6hY0XHgL+XVAEV8/+LbzvXMAaq7afJMbfc2hIkCwU9D9SGuTSyxTDYWnP
4vkYxboznxSjBF25cfe1lNj2M8FawTSLfJvdkzrnE6JwYZ+vj+vYxXX4M2bUdGc6
N3ec592kD3ZDZopD8p/7DEJ4Y9HiD2971KE9dJeFt0g5QdYg/NA6s/rob8SKunE3
vouXsXgxT7PntgMTzlSdriVZzH81Xwj3QEUxeCp6
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=GTS Root R1, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R1, O=Google Trust Services LLC, C=US
Serial number: 203e5936f31b01349886ba217
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQsw
CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
MBIGA1UEAxMLR1RTIFJvb3QgUjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw
MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp
Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx9vaMf/vo
27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7w
Cl7raKb0xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjw
TcLCeoiKu7rPWRnWr4+wB7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0Pfybl
qAj+lug8aJRT7oM6iCsVlgmy4HqMLnXWnOunVmSPlk9orj2XwoSPwLxAwAtcvfaH
szVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq0SPly4cpk9+aCEI3oncKKiPo4Zor8
Y/kB+Xj9e1x3+naH+uzfsQ55lVe0vSbv1gHR6xYKu44LtcXFilWr06zqkUspzBmk
MiVOKvFlRNACzqrOSbTqn3yDsEB750Orp2yjj32JgfpMpf/VjsPOS+C12LOORc92
wO1AK/1TD7Cn1TsNsYqiA94xrcx36m97PtbfkSIS5r762DL8EGMUUXLeXdYWk70p
aDPvOmbsB4om3xPXV2V4J95eSRQAogB/mqghtqmxlbCluQ0WEdrHbEg8QOB+DVrN
VjzRlwW5y0vtOUucxD/SVRNuJLDWcfr0wbrM7Rv1/oFB2ACYPTrIrnqYNxgFlQID
AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E
FgQU5K8rJnEaK0gnhS9SZizv8IkTcT4wDQYJKoZIhvcNAQEMBQADggIBAJ+qQibb
C5u+/x6Wki4+omVKapi6Ist9wTrYggoGxval3sBOh2Z5ofmmWJyq+bXmYOfg6LEe
QkEzCzc9zolwFcq1JKjPa7XSQCGYzyI0zzvFIoTgxQ6KfF2I5DUkzps+GlQebtuy
h6f88/qBVRRiClmpIgUxPoLW7ttXNLwzldMXG+gnoot7TiYaelpkttGsN/H9oPM4
7HLwEXWdyzRSjeZ2axfG34arJ45JK3VmgRAhpuo+9K4l/3wV3s6MJT/KYnAK9y8J
ZgfIPxz88NtFMN9iiMG1D53Dn0reWVlHxYciNuaCp+0KueIHoI17eko8cdLiA6Ef
MgfdG+RCzgwARWGAtQsgWSl4vflVy2PFPEz0tv/bal8xa5meLMFrUKTX5hgUvYU/
Z6tGn6D/Qqc6f1zLXbBwHSs09dR2CQzreExZBfMzQsNhFRAbd03OIozUhfJFfbdT
6u9AWpQKXCBfTkBdYiJ23//OYb2MI3jSNwLgjt7RETeJ9r/tSQdirpLsQBqvFAnZ
0E6yove+7u7Y/9waLd64NnHi/Hm3lCXRSHNboTXns5lndcEZOitHTtNCjv0xyBZm
2tIMPNuzjsmhDYAPexZ3FL//2wmUspO8IFgV6dtxQ/PeEMMA3KgqlbbC1j+Qa3bb
bP6MvPJwNQzcmRk13NfIRmPVNnGuV/u3gm3c
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=GTS Root R2, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R2, O=Google Trust Services LLC, C=US
Serial number: 203e5aec58d04251aab1125aa
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFVzCCAz+gAwIBAgINAgPlrsWNBCUaqxElqjANBgkqhkiG9w0BAQwFADBHMQsw
CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
MBIGA1UEAxMLR1RTIFJvb3QgUjIwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw
MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp
Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjIwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQDO3v2m++zsFDQ8BwZabFn3GTXd98GdVarTzTukk3LvCvpt
nfbwhYBboUhSnznFt+4orO/LdmgUud+tAWyZH8QiHZ/+cnfgLFuv5AS/T3KgGjSY
6Dlo7JUle3ah5mm5hRm9iYz+re026nO8/4Piy33B0s5Ks40FnotJk9/BW9BuXvAu
MC6C/Pq8tBcKSOWIm8Wba96wyrQD8Nr0kLhlZPdcTK3ofmZemde4wj7I0BOdre7k
RXuJVfeKH2JShBKzwkCX44ofR5GmdFrS+LFjKBC4swm4VndAoiaYecb+3yXuPuWg
f9RhD1FLPD+M2uFwdNjCaKH5wQzpoeJ/u1U8dgbuak7MkogwTZq9TwtImoS1mKPV
+3PBV2HdKFZ1E66HjucMUQkQdYhMvI35ezzUIkgfKtzra7tEscszcTJGr61K8Yzo
dDqs5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqjx5RW
Ir9qS34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsRnTKa
G73VululycslaVNVJ1zgyjbLiGH7HrfQy+4W+9OmTN6SpdTi3/UGVN4unUu0kzCq
gc7dGtxRcw1PcOnlthYhGXmy5okLdWTK1au8CcEYof/UVKGFPP0UJAOyh9OktwID
AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E
FgQUu//KjiOfT5nK2+JopqUVJxce2Q4wDQYJKoZIhvcNAQEMBQADggIBAB/Kzt3H
vqGf2SdMC9wXmBFqiN495nFWcrKeGk6c1SuYJF2ba3uwM4IJvd8lRuqYnrYb/oM8
0mJhwQTtzuDFycgTE1XnqGOtjHsB/ncw4c5omwX4Eu55MaBBRTUoCnGkJE+M3DyC
B19m3H0Q/gxhswWV7uGugQ+o+MePTagjAiZrHYNSVc61LwDKgEDg4XSsYPWHgJ2u
NmSRXbBoGOqKYcl3qJfEycel/FVL8/B/uWU9J2jQzGv6U53hkRrJXRqWbTKH7QMg
yALOWr7Z6v2yTcQvG99fevX4i8buMTolUVVnjWQye+mew4K6Ki3pHrTgSAai/Gev
HyICc/sgCq+dVEuhzf9gR7A/Xe8bVr2XIZYtCtFenTgCR2y59PYjJbigapordwj6
xLEokCZYCDzifqrXPW+6MYgKBesntaFJ7qBFVHvmJ2WZICGoo7z7GJa7Um8M7YNR
TOlZ4iBgxcJlkoKM8xAfDoqXvneCbT+PHV28SSe9zE8P4c52hgQjxcCMElv924Sg
JPFI/2R80L5cFtHvma3AH/vLrrw4IgYmZNralw4/KBVEqE8AyvCazM90arQ+POuV
7LXTWtiBmelDGDfrs7vRWGJB82bSj6p4lVQgw1oudCvV0b4YacCs1aTPObpRhANl
6WLAYv7YTVWW4tAR+kg0Eeye7QUd5MjWHYbL
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=GTS Root R3, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R3, O=Google Trust Services LLC, C=US
Serial number: 203e5b882eb20f825276d3d66
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYD
VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG
A1UEAxMLR1RTIFJvb3QgUjMwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw
WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz
IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjOPQIBBgUrgQQAIgNi
AAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout736G
jOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL2
4CejQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
BBTB8Sa6oC2uhYHP0/EqEr24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7
VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azTL818+FsuVbu/3ZL3pAzcMeGiAjEA/Jdm
ZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV11RZt+cRLInUue4X
-----END CERTIFICATE-----

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