Compare commits

...

2288 Commits

Author SHA1 Message Date
Dmitry Batrak
44f519d8c4 optimize tree implementation 2025-09-16 17:58:55 +03:00
Maxim Kartashev
40e32cb0e0 JBR-9332 Wayland: popups are not closed when parent looses focus 2025-09-16 13:44:20 +04:00
bourgesl
0a4a65421e JBR-9351 jb/java/awt/Counters/UpdateWindowsCounter.java fails by time out
Fixed Timers to be daemon
2025-09-16 07:58:47 +02:00
bourgesl
a446e58816 JBR-9350 javax/swing/JOptionPane/8081019/bug8081019.java: Cannot invoke "sun.lwawt.LWWindowPeer.getTarget()" because "this.peer" is null
Added peer null checks + use perfCountersEnabled flag
2025-09-16 07:58:47 +02:00
Maxim Kartashev
2818bb0b60 JBR-9355 Wayland: AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.XDG_CURRENT_DESKTOP") 2025-09-15 17:56:00 +04:00
Nikita Provotorov
12bbc14e5e JBR-9349 Do_Not_Use_calloc_Use_safe_Calloc_Instead: is not a member of global namespace
Refactoring the code of JBR-4478 so that C++ standard library headers get only included in AccessibleCaret.cpp and not in any headers.
2025-09-14 13:35:20 +02:00
Vitaly Provodin
6c7a65b152 fixup! update exclude list on results of 21.0.8_b1115 test 2025-09-14 02:11:55 +04:00
Vitaly Provodin
f361dbfb4e update exclude list on results of 21.0.8_b1115 test 2025-09-13 07:03:26 +04:00
bourgesl
e4fbfeb597 JBR-9283 Enhance Window counters to provide statistics
Enhanced Window counters to provide statistics (using the new marlin StatDouble class), enhanced logging code to dump regularly (10s) window stats, added shutdown hook, bumpCounter() renamed to incrementCounter(), added addStat(window, name, value) used by MTLLayer to report blitTexture & nextDrawable timings (ms), use InnocuousThread for shutdown hooks, fixed D3DSurfaceData bumpCounter() usages to incrementCounter()

(cherry picked from commit af437d9d61)
2025-09-12 15:16:57 +02:00
Vitaly Provodin
c4475ae68f update exclude list on results of 21.0.8_b1104.44 test runs 2025-09-12 13:34:31 +04:00
Nikita Gubarkov
ad45fe00e9 JBR-9111 Vulkan: Lock RQ while disposing the surface 2025-09-11 15:23:42 +02:00
Nikita Gubarkov
e2c8a4c446 JBR-9236 Vulkan: Proper builds without Vulkan 2025-09-11 11:04:56 +02:00
Nikita Tsarev
3db2ad8e7b JBR-9336: Fix build error with old wayland protocol headers [WLToolkit] 2025-09-11 08:54:37 +02:00
Maxim Kartashev
90bfdab986 JBR-9310 Wayland: Gtk-WARNING in swing app 2025-09-10 10:27:05 +04:00
Nikita Tsarev
a89c3903bc JBR-9326 Support TransferHandler.setDragImage [WLToolkit] 2025-09-09 11:08:07 +02:00
Maxim Kartashev
d26e30ea8c JBR-9302 Wayland: default window decoration to look more like KDE 2025-09-08 15:56:48 +04:00
Maxim Kartashev
bbdf8cc940 JBR-9288 Wayland: use builtin window decorations in KDE 2025-09-08 15:56:42 +04:00
Dmitry Drobotov
88f1599bad JBR-4478 Implement support for native accessible caret events on Windows
The feature adds caret tracking support for assistive tools that don't work with Java Access Bridge, specifically, for the built-in Windows Magnifier.
It works by implementing Win32 IAccessible interface for the text caret, and sending EVENT_OBJECT_LOCATIONCHANGE events whenever it changes.
It's enabled by default and can be disabled by setting `sun.awt.windows.use.native.caret.accessibility.events` property to false.
2025-09-06 17:54:39 +02:00
Vitaly Provodin
587b4d362c update exclude list on results of 21.0.8_b1097.42 test runs 2025-09-06 05:10:26 +04:00
Maxim Kartashev
547012807e JBR-9016 Make screenshot JBR API work on Windows 2025-09-05 17:35:18 +04:00
Maxim Kartashev
2d6f92627d JBR-9016 Add API for making screenshots of some regions of the application without interacting with OS 2025-09-04 13:34:57 +04:00
Maxim Kartashev
e01b9602ac JBR-9228 KDE: jb/java/awt/Toolkit/DetectingOSThemeTest.java fails 2025-09-04 11:59:02 +04:00
Maxim Kartashev
33e1d11973 JBR-9289 Wayland: re-enable window shadow by default 2025-09-03 13:21:54 +04:00
Maxim Kartashev
0948c6db81 JBR-9289 Wayland: an option to turn window shadow off
Use -Dsun.awt.wl.Shadow=false to turn all the window shadows off
2025-09-03 12:57:27 +04:00
Nikita Gubarkov
7b1aac2ec5 JBR-7334 Skip custom title bar reconfiguration if nothing changed 2025-09-01 15:18:29 +02:00
Vitaly Provodin
7c8f117efe fixup! JBR-7919 add tests for Wayland popups 2025-08-30 02:09:06 +04:00
Vitaly Provodin
0edb47a038 fixup! JBR-9238 Introduce distinct test groups for Vulkan runs 2025-08-30 02:09:06 +04:00
Vitaly Provodin
b15f66919b update exclude list on results of 21.0.8_b1095.40 test runs 2025-08-30 02:09:06 +04:00
Vladimir Lagunov
eafa414c2d JBR-9260 Different ExtendedOptions.NOSHARE_DELETE in WindowsChannelFactory
Before this commit there was a race condition: `sun.nio.fs.ExtendedOptions.InternalOption.register(java.nio.file.OpenOption)` could register only one option.

There have been two similar options:
* `sun.nio.fs.ExtendedOptions.NOSHARE_DELETE`
* `java.io.JbExtendedOpenOptions.NOSHARE_DELETE`

This led to the following failure:
```
Caused by: java.lang.UnsupportedOperationException
    at java.base/sun.nio.fs.WindowsChannelFactory$Flags.toFlags(WindowsChannelFactory.java:131)
    at java.base/sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:151)
    at java.base/sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:114)
    at java.base/java.io.IoOverNioFileSystem.initializeStreamsUsingNio0(IoOverNioFileSystem.java:294)
    at java.base/java.io.IoOverNioFileSystem.initializeStreamUsingNio(IoOverNioFileSystem.java:279)
    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:332)
```

This commit fixes the issue, now both options are supported.
2025-08-28 15:52:55 +02:00
Vladimir Lagunov
062216614e JBR-9181 IoOverNio.isAllowedInThisThread also checks IS_ENABLED_IN_GENERAL
`IoOverNio.isAllowedInThisThread` contained a bug: it could return `true` even if the feature is totally disabled.

Luckily, all usages of `IoOverNio.isAllowedInThisThread` don't exploit this bug. However, this problem can suddenly hit us later.
2025-08-28 15:40:25 +02:00
Vladimir Lagunov
694fa1425e JBR-9179 ZipFile over nio: more usages of custom nio fs 2025-08-28 15:40:25 +02:00
Maxim Kartashev
1a59ac659e JBR-9239 Wayland: IDE partially hangs on any modal dialog 2025-08-22 18:42:04 +04:00
Vitaly Provodin
e85625006e fixup! update exclude list on results of 21.0.8_b1092.38 test runs 2025-08-21 03:39:00 +04:00
Maxim Kartashev
95e65778dc JBR-9198 Incorrect reported window location when switching between maximized and full screen 2025-08-20 18:40:24 +04:00
Vitaly Provodin
799b5680a5 update exclude list on results of 21.0.8_b1092.38 test runs 2025-08-20 07:24:17 +04:00
Vitaly Provodin
965d821b6c JBR-9238 Introduce distinct test groups for Vulkan runs 2025-08-20 07:24:04 +04:00
Nikita Tsarev
abb94f9339 JBR-9243: Report key modifiers in key typed events [WLToolkit] 2025-08-18 16:53:31 +02:00
Nikita Gubarkov
aae9727100 8364434: Inconsistent BufferedContext state after GC
Reviewed-by: jdv, azvegint, avu
2025-08-14 21:17:54 +02:00
Vitaly Provodin
d509b1a721 update exclude list on results of 21.0.8_b1082.29 test runs 2025-08-14 07:35:16 +04:00
Maxim Kartashev
bac0039683 JBR-9081 Wayland: GTK title bar does not respect theme on Fedora 42 2025-08-13 15:41:46 +04:00
Maxim Kartashev
002c55361b JBR-9189 Avoid really hiding a window that was never shown 2025-08-12 17:39:14 +04:00
Maxim Kartashev
ec8e3b1323 JBR-6145 Wayland: synthetic focus for popups 2025-08-12 17:39:07 +04:00
Maxim Kartashev
970813c79e JBR-6145 Wayland: refactor surface-to-peer mapping 2025-08-12 17:39:03 +04:00
Nikita Tsarev
be4e636f82 JBR-9149: Also report lowercased mime types when offering data sources [WLToolkit] 2025-08-11 16:55:12 +02:00
Nikita Gubarkov
66bd76e105 JBR-9177 Vulkan: Align jbr21 and main (Part 5)
Fix Makefiles.
2025-08-11 16:29:55 +02:00
Nikita Gubarkov
ab1d262714 JBR-9177 Vulkan: Align jbr21 and main (Part 4)
Various cosmetic changes to match main.
2025-08-08 21:05:22 +02:00
Nikita Gubarkov
6f2fa19cde JBR-9177 Vulkan: Align jbr21 and main (Part 3)
Cleanup blit code.
2025-08-08 21:05:22 +02:00
Nikita Gubarkov
ffebc3f087 JBR-9177 Vulkan: Align jbr21 and main (Part 2)
Relocate VKRenderer_FlushDependentRenderPasses to match main (without forward declaration).
2025-08-08 21:05:21 +02:00
Nikita Gubarkov
f23e3cd7d0 JBR-9177 Vulkan: Align jbr21 and main (Part 1)
Remove unnecessary drawing-related functions & macros.
2025-08-08 21:05:21 +02:00
Nikita Gubarkov
9fee2e4475 JBR-9176 Vulkan: Refactor dynamic buffer data allocation 2025-08-08 21:05:20 +02:00
Nikita Gubarkov
26f391e23a JBR-9174 Vulkan: Cleanup image/buffer barriers 2025-08-08 21:05:20 +02:00
Nikita Gubarkov
a1dc378601 JBR-9173 Vulkan: Unify cleanup logic 2025-08-08 21:05:19 +02:00
Nikita Gubarkov
cfb8dadf75 JBR-7766 Vulkan: Fix VKTexturePool OOM
(cherry picked from commit 1a806f4f1b)
2025-08-08 21:05:19 +02:00
bourgesl
c86499ff65 JBR-7582: use completedHandler to freeDrawableCount to fix the broken cpu barrier with window-sharing and 1 external monitor as the Presented Handler is not safe enough (missing calls or delayed) + fixed J2dRlsTraceLnX usages 2025-08-08 10:56:39 +02:00
Vitaly Provodin
ecbb4f620e update exclude list on results of 21.0.8_b1073.27 test runs 2025-08-06 17:26:14 +04:00
Vladimir Lagunov
247e9d8dfb JBR-8965 java.io over nio: improve the performance of IoOverNioFileSystem.getBooleanAttributes
The new code avoids creating unnecessary exceptions.
2025-08-04 16:39:20 +02:00
Vitaly Provodin
1dc74bfda0 update exclude list on results of 21.0.7_b1070.14 test runs 2025-07-23 13:57:02 +04:00
Vitaly Provodin
19e1c593b6 update exclude list on results of 21.0.8 test runs 2025-07-23 13:57:02 +04:00
Alexey Ushakov
8c0c6ccccb JBR-8740 Vulkan: Optimize BLIT (Part 5)
Minor corrections: logging, unused code
2025-07-18 21:17:07 +02:00
Phil Race
ea0bd86859 8360147: Better Glyph drawing redux 2025-07-17 02:29:59 +04:00
Alexey Bakhtin
144355edf1 8350991: Improve HTTP client header handling
Backport-of: 3b0f6ebdf8dbaf0caf9a9ec1f201d5938f674021
2025-07-17 02:29:58 +04:00
Alexey Bakhtin
e226b2a592 8349594: Enhance TLS protocol support
Backport-of: d40052ee9789908fb7c06527ab644fdd217a6bea
2025-07-17 02:29:58 +04:00
Prasanta Sadhukhan
4caeab6ffb 8349111: Enhance Swing supports
Backport-of: 8a34c18c6593da54b6b8695d645310db95f23509
2025-07-17 02:29:57 +04:00
Phil Race
2aad127e57 8348989: Better Glyph drawing
Reviewed-by: avoitylov
Backport-of: 191c37a280faccfaecae033a68313ad06cdfc411
2025-07-17 02:29:57 +04:00
Alexey Bakhtin
f9cf89833f 8345625: Better HTTP connections 2025-07-17 02:29:56 +04:00
Liam Miller-Cushon
8587e037a3 8360406: [21u] Disable logic for attaching type annotations to class files until 8359336 is fixed
Reviewed-by: sgehwolf
2025-07-17 02:29:56 +04:00
Goetz Lindenmaier
5cedbb3fd5 8359170: Add 2 TLS and 2 CS Sectigo roots
Reviewed-by: shade
Backport-of: 9586817cea
2025-07-17 02:29:55 +04:00
Goetz Lindenmaier
b01770f5ef 8357105: C2: compilation fails with "assert(false) failed: empty program detected during loop optimization"
Backport-of: a300c35655
2025-07-17 02:29:55 +04:00
Goetz Lindenmaier
7e40a4b22b 8336587: failure_handler lldb command times out on macosx-aarch64 core file
Backport-of: 21a6cf848d
2025-07-17 02:29:54 +04:00
Goetz Lindenmaier
ca483acb7f 8202100: Merge vm/share/InMemoryJavaCompiler w/ jdk/test/lib/compiler/InMemoryJavaCompiler
Backport-of: 7404ddf24a
2025-07-17 02:29:54 +04:00
Aleksey Shipilev
2e54865a3e 8353237: [AArch64] Incorrect result of VectorizedHashCode intrinsic on Cortex-A53
Backport-of: 883e52aa10
2025-07-17 02:29:53 +04:00
Satyen Subramaniam
cfe99296c1 8343037: Missing @since tag on JColorChooser.showDialog overload
Backport-of: bd795946e7
2025-07-17 02:29:53 +04:00
Goetz Lindenmaier
00dd7bc2a5 8356096: ISO 4217 Amendment 179 Update
Reviewed-by: rrich
Backport-of: 0cb355ee92
2025-07-17 02:29:52 +04:00
Goetz Lindenmaier
b0ccd33c5a 8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey.java
Backport-of: 03f0ec4a35
2025-07-17 02:29:52 +04:00
Goetz Lindenmaier
90e832f409 8332252: Clean up vmTestbase/vm/share
Backport-of: a81e1bf1e1
2025-07-17 02:29:51 +04:00
Sergey Bylokhov
8b8bd634d4 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build
Backport-of: 5f38d1bb94
2025-07-17 02:29:51 +04:00
Goetz Lindenmaier
f22d63dee5 8353070: Clean up and open source couple AWT Graphics related tests (Part 1)
Backport-of: 5660922568
2025-07-17 02:29:50 +04:00
Goetz Lindenmaier
627b10db44 8354554: Open source several clipboard tests batch1
Backport-of: 4873eec06f
2025-07-17 02:29:49 +04:00
Goetz Lindenmaier
ef4b025904 8353685: Open some JComboBox bugs 4
Backport-of: 0b2a2f38d0
2025-07-17 02:29:49 +04:00
Goetz Lindenmaier
3ad0541878 8353446: Open source several AWT Menu tests - Batch 2
Backport-of: 17b080b2c9
2025-07-17 02:29:48 +04:00
Goetz Lindenmaier
426c7847fe 8353942: Open source Swing Tests - Set 5
Backport-of: 9a0cff692d
2025-07-17 02:29:47 +04:00
Goetz Lindenmaier
542eeb11e5 8354255: [jittester] Remove TempDir debug output
Backport-of: 1fc1cc5da9
2025-07-17 02:29:47 +04:00
Goetz Lindenmaier
0feef9f752 8347083: Incomplete logging in nsk/jvmti/ResourceExhausted/resexhausted00* tests
Backport-of: 33f9be8de7
2025-07-17 02:29:47 +04:00
Goetz Lindenmaier
b83f242c55 8347000: Bug in com/sun/net/httpserver/bugs/B6361557.java test
Backport-of: 5e6cda4799
2025-07-17 02:29:46 +04:00
Goetz Lindenmaier
81f3cdcba7 8345838: Remove the appcds/javaldr/AnonVmClassesDuringDump.java test
Reviewed-by: mbaesken
Backport-of: f8974ba718
2025-07-17 02:29:46 +04:00
Goetz Lindenmaier
265d7627a3 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Backport-of: 59407faf7b
2025-07-17 02:29:45 +04:00
Arno Zeller
f9b8310c0d 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop
Backport-of: dc881ee369
2025-07-17 02:29:45 +04:00
Goetz Lindenmaier
06449fc567 8324799: Use correct extension for C++ test headers
Reviewed-by: mbaesken
Backport-of: 998d0baab0
2025-07-17 02:29:44 +04:00
Goetz Lindenmaier
4614cc464e 8340146: ZGC: TestAllocateHeapAt.java should not run with UseLargePages
Backport-of: 4098acc200
2025-07-17 02:29:43 +04:00
Taizo Kurashige
c9c5125d67 8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Backport-of: c3de94cee1
2025-07-17 02:29:43 +04:00
Satyen Subramaniam
405463a998 8308033: The jcmd thread dump related tests should test virtual threads
Backport-of: edd47c10eb
2025-07-17 02:29:42 +04:00
Roman Marchenko
106bf79595 8297692: Avoid sending per-region GCPhaseParallel JFR events in G1ScanCollectionSetRegionClosure
Reviewed-by: phh
Backport-of: a73226b18e
2025-07-17 02:29:42 +04:00
Goetz Lindenmaier
190cfc48a4 8352908: Open source several swing tests batch1
Backport-of: a2dc9c71e4
2025-07-17 02:29:41 +04:00
Goetz Lindenmaier
cd422533d7 8353475: Open source two Swing DefaultCaret tests
Backport-of: e08441c033
2025-07-17 02:29:41 +04:00
Goetz Lindenmaier
f2bb4f3a93 8352684: Opensource JInternalFrame tests - series1
Backport-of: 66435c27b3
2025-07-17 02:29:40 +04:00
Goetz Lindenmaier
dc8b7500f2 8353320: Open source more Swing text tests
Backport-of: 74c2d8f41b
2025-07-17 02:29:40 +04:00
Goetz Lindenmaier
4c710cc3f8 8352680: Opensource few misc swing tests
Backport-of: c0b61d3b88
2025-07-17 02:29:39 +04:00
Goetz Lindenmaier
e1b630fae9 8352676: Opensource JMenu tests - series1
Backport-of: c002b97ee9
2025-07-17 02:29:38 +04:00
Goetz Lindenmaier
28edea8ac6 8350383: Test: add more test case for string compare (UL case)
Backport-of: c73fead5ca
2025-07-17 02:29:38 +04:00
Goetz Lindenmaier
df9eb4bea9 8345547: test/jdk/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java fails in ubuntu22.04
Backport-of: e46d822aeb
2025-07-17 02:29:38 +04:00
Goetz Lindenmaier
fabe81bf8f 8345447: test/jdk/javax/swing/JToolBar/4529206/bug4529206.java fails in ubuntu22.04
Backport-of: 923321cfb1
2025-07-17 02:29:37 +04:00
Goetz Lindenmaier
c6ff973222 8339769: Incorrect error message during startup if working directory does not exist
Backport-of: 65b9abaa29
2025-07-17 02:29:37 +04:00
Goetz Lindenmaier
58b883852c 8332921: Ctrl+C does not call shutdown hooks after JLine upgrade
Reviewed-by: phh
Backport-of: b3f540d354
2025-07-17 02:29:36 +04:00
Goetz Lindenmaier
76ebece1d0 8328673: Convert closed text/html/CSS manual applet test to main
Backport-of: cd534f8197
2025-07-17 02:29:36 +04:00
Goetz Lindenmaier
91aa0e8e9a 8326389: [test] improve assertEquals failure output
Backport-of: 9b1f1e5294
2025-07-17 02:29:35 +04:00
Goetz Lindenmaier
52d58dfe64 8326524: Rename agent_common.h
Backport-of: d482c1af28
2025-07-17 02:29:35 +04:00
Goetz Lindenmaier
7142a8a206 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Backport-of: 15195e6018
2025-07-17 02:29:34 +04:00
Suchismith Roy
a227f4216c 8355498: [AIX] Adapt code for C++ VLA rule
Backport-of: 2447b9812a
2025-07-17 02:29:33 +04:00
Sergey Bylokhov
c3d602ef92 8356571: Re-enable -Wtype-limits for GCC in LCMS
Reviewed-by: sgehwolf
Backport-of: 9a0e6f338f
2025-07-17 02:29:32 +04:00
Goetz Lindenmaier
e6bd89988e 8326090: Rename jvmti_aod.h
Backport-of: 27003b53bb
2025-07-17 02:29:32 +04:00
Goetz Lindenmaier
eade242ba2 8325910: Rename jnihelper.h
Backport-of: 810daf8206
2025-07-17 02:29:31 +04:00
Goetz Lindenmaier
60d0702ac9 8325458: Rename mlvmJvmtiUtils.h
Backport-of: b356fee5d8
2025-07-17 02:29:31 +04:00
Goetz Lindenmaier
c6a007a25c 8325456: Rename nsk_mutex.h
Backport-of: 10beb3184e
2025-07-17 02:29:30 +04:00
Goetz Lindenmaier
e9bb613281 8325367: Rename nsk_list.h
Backport-of: 9cccf0515e
2025-07-17 02:29:29 +04:00
Goetz Lindenmaier
67af01fbd6 8325347: Rename native_thread.h
Backport-of: f2f634448e
2025-07-17 02:29:29 +04:00
Goetz Lindenmaier
a12ec1a883 8325180: Rename jvmti_FollowRefObjects.h
Backport-of: 2d252ee06e
2025-07-17 02:29:28 +04:00
Goetz Lindenmaier
cc07defdd3 8325055: Rename Injector.h
Backport-of: 6787c4c3dd
2025-07-17 02:29:28 +04:00
Goetz Lindenmaier
6af986c080 8324880: Rename get_stack_trace.h
Backport-of: f57c7223cf
2025-07-17 02:29:28 +04:00
Goetz Lindenmaier
afd6452463 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: mdoerr
Backport-of: a6bdee48f3
2025-07-17 02:29:27 +04:00
Sergey Bylokhov
c1ded8c70d 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout
Backport-of: 375f3dc9ed
2025-07-17 02:29:26 +04:00
Satyen Subramaniam
b741a59e45 8313430: [JVMCI] fatal error: Never compilable: in JVMCI shutdown
Backport-of: acd9310234
2025-07-17 02:29:26 +04:00
Galder Zamarreño
2eeff03df6 8344925: translet-name ignored when package-name is also set
Reviewed-by: joehw
Backport-of: 3989a19957
2025-07-17 02:29:25 +04:00
Daniel Hu
6490117964 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Backport-of: ef49e6c0d7
2025-07-17 02:29:25 +04:00
Goetz Lindenmaier
2abe468fd7 8333117: Remove support of remote and manual debuggee launchers
Backport-of: 99e4d77aac
2025-07-17 02:29:24 +04:00
Goetz Lindenmaier
933d17379c 8267174: Many test files have the wrong Copyright header
Reviewed-by: mbaesken
Backport-of: 020255a72d
2025-07-17 02:29:23 +04:00
Goetz Lindenmaier
bb1eff3aad 8310643: Misformatted copyright messages in FFM
Reviewed-by: mdoerr
Backport-of: 0b4387e3a3
2025-07-17 02:29:22 +04:00
Daniel Hu
e26f3cd2f1 8210471: GZIPInputStream constructor could leak an un-end()ed Inflater
Backport-of: d9e7b7e7da
2025-07-17 02:29:22 +04:00
Satyen Subramaniam
7777f3717a 8314319: LogCompilation doesn't reset lateInlining when it encounters a failure.
Backport-of: e9e0c5699b
2025-07-17 02:29:21 +04:00
Satyen Subramaniam
650c7b81e9 8324345: Stack overflow during C2 compilation when splitting memory phi
Backport-of: fdb4350fce
2025-07-17 02:29:21 +04:00
Satyen Subramaniam
43b0424e82 8315827: Kitchensink.java and RenaissanceStressTest.java time out with jvmti module errors
Backport-of: 75a7c199d8
2025-07-17 02:29:20 +04:00
Satyen Subramaniam
032e14a673 8312246: NPE when HSDB visits bad oop
Backport-of: a7427678e1
2025-07-17 02:29:20 +04:00
Daniel Hu
ce9e7848b1 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown
Backport-of: ed0f75f266
2025-07-17 02:29:19 +04:00
Satyen Subramaniam
3fa3720a7f 8315128: jdk/jfr/event/runtime/TestResidentSetSizeEvent.java fails with "The size should be less than or equal to peak"
Backport-of: a9de5c7f13
2025-07-17 02:29:19 +04:00
Satyen Subramaniam
2b437db473 8318811: Compiler directives parser swallows a character after line comments
Backport-of: 141dae8b76
2025-07-17 02:29:19 +04:00
Satyen Subramaniam
fed7bfe117 8318509: x86 count_positives intrinsic broken for -XX:AVX3Threshold=0
Backport-of: e67550cfec
2025-07-17 02:29:18 +04:00
Goetz Lindenmaier
be13a85f12 8349492: Update sun/security/pkcs12/KeytoolOpensslInteropTest.java to use a recent Openssl version
Reviewed-by: mdoerr
Backport-of: 8d8bd0c4b3
2025-07-17 02:29:18 +04:00
Francesco Andreuzzi
6753db8547 8317264: Pattern.Bound has static fields that should be static final.
Backport-of: ecb5e8a03f
2025-07-17 02:29:17 +04:00
Goetz Lindenmaier
62e1d90661 8350498: Remove two Camerfirma root CA certificates
Backport-of: 1313349a2e
2025-07-17 02:29:17 +04:00
Goetz Lindenmaier
c67b8bd778 8348865: JButton/bug4796987.java never runs because Windows XP is unavailable
Backport-of: 650d0d954e
2025-07-17 02:29:17 +04:00
Goetz Lindenmaier
448d38480e 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Backport-of: c5ac3c4f11
2025-07-17 02:29:16 +04:00
Goetz Lindenmaier
bdd1241b4e 8347019: Test javax/swing/JRadioButton/8033699/bug8033699.java still fails: Focus is not on Radio Button Single as Expected
Backport-of: 342dec93f2
2025-07-17 02:29:16 +04:00
Goetz Lindenmaier
6e28e44d4a 8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular
Backport-of: b3e8736091
2025-07-17 02:29:15 +04:00
Goetz Lindenmaier
2f77f220ab 8341177: Opensource few List and a Window test
Backport-of: 602408e4f3
2025-07-17 02:29:15 +04:00
Goetz Lindenmaier
0835f1a737 8340407: Open source a few more Component related tests
Backport-of: a32c3b43aa
2025-07-17 02:29:14 +04:00
Goetz Lindenmaier
fb67d27c05 8338154: Fix -Wzero-as-null-pointer-constant warnings in gtest framework
Backport-of: d77e6fe45c
2025-07-17 02:29:14 +04:00
Goetz Lindenmaier
9d24a7fb86 8335836: serviceability/jvmti/StartPhase/AllowedFunctions/AllowedFunctions.java fails with unexpected exit code: 112
Backport-of: 965d6b9cbe
2025-07-17 02:29:13 +04:00
Goetz Lindenmaier
96d6ef3257 8330534: Update nsk/jdwp tests to use driver instead of othervm
Backport-of: 56e8e60792
2025-07-17 02:29:13 +04:00
Goetz Lindenmaier
95493d038b 8307824: Clean up Finalizable.java and finalize terminology in vmTestbase/nsk/share
Backport-of: 244f6ac222
2025-07-17 02:29:12 +04:00
Goetz Lindenmaier
ad5c54b8e5 8332631: Update nsk.share.jpda.BindServer to don't use finalization
Backport-of: b3b33667ad
2025-07-17 02:29:12 +04:00
Goetz Lindenmaier
7900e33468 8325682: Rename nsk_strace.h
Backport-of: 22e81810dd
2025-07-17 02:29:11 +04:00
Goetz Lindenmaier
99da6aac63 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Backport-of: 9b53251131
2025-07-17 02:29:10 +04:00
Goetz Lindenmaier
e670523bd1 8286789: Test forceEarlyReturn002.java timed out
Backport-of: c90cd2c060
2025-07-17 02:29:10 +04:00
SendaoYan
9f1ef2e6e3 8353190: Use "/native" Run Option for TestAvailableProcessors Execution
Backport-of: 34c4d895ca
2025-07-17 02:29:09 +04:00
Matthias Baesken
e64041fd71 8354802: MAX_SECS definition is unused in os_linux
Backport-of: af7a19a8cf
2025-07-17 02:29:08 +04:00
Goetz Lindenmaier
191c92ea44 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree
Reviewed-by: rschmelter
Backport-of: b737f7fb30
2025-07-17 02:29:08 +04:00
Goetz Lindenmaier
76e54c068d 8333680: com/sun/tools/attach/BasicTests.java fails with "SocketException: Permission denied: connect"
Backport-of: 17bd483ff0
2025-07-17 02:29:07 +04:00
Goetz Lindenmaier
194c55e23a 8333013: Update vmTestbase/nsk/share/LocalProcess.java to don't use finalization
Backport-of: bc7d9e3d0b
2025-07-17 02:29:07 +04:00
Satyen Subramaniam
f383b07021 8320948: NPE due to unreported compiler error
Backport-of: a9cb120d03
2025-07-17 02:29:06 +04:00
Satyen Subramaniam
ca6e9476ed 8318700: MacOS Zero cannot run gtests due to wrong JVM path
Backport-of: 744e089310
2025-07-17 02:29:06 +04:00
Satyen Subramaniam
fbabe67eb8 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug"
Backport-of: 98f0b86641
2025-07-17 02:29:05 +04:00
Daniel Hu
d0a50b7d6d 8314236: Overflow in Collections.rotate
Backport-of: 3828dc913a
2025-07-17 02:29:04 +04:00
Satyen Subramaniam
2cc460349f 8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently
Backport-of: 81484d8c05
2025-07-17 02:29:04 +04:00
Goetz Lindenmaier
413f8a8f4b 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint
Backport-of: b64cdc2813
2025-07-17 02:29:04 +04:00
Goetz Lindenmaier
fe993e3cbc 8352706: httpclient HeadTest does not run on HTTP2
Backport-of: e32a0c90fe
2025-07-17 02:29:03 +04:00
Goetz Lindenmaier
d8987ab97f 8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Backport-of: c9c3c15368
2025-07-17 02:29:03 +04:00
Goetz Lindenmaier
4f993c98a4 8343891: Test javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java failed
Backport-of: c2e14b1b30
2025-07-17 02:29:02 +04:00
Goetz Lindenmaier
60dbd8f471 8351086: (fc) Make java/nio/channels/FileChannel/BlockDeviceSize.java test manual
Backport-of: 08929134b3
2025-07-17 02:29:02 +04:00
Goetz Lindenmaier
d871037580 8350224: Test javax/swing/JComboBox/TestComboBoxComponentRendering.java fails in ubuntu 23.x and later
Reviewed-by: mdoerr
Backport-of: 4de92a40d0
2025-07-17 02:29:01 +04:00
Goetz Lindenmaier
86e2332209 8344316: security/auth/callback/TextCallbackHandler/Password.java make runnable with JTReg and add the UI
Backport-of: 82bc0a7f8c
2025-07-17 02:29:01 +04:00
Goetz Lindenmaier
a2d70dac39 8347506: Compatible OCSP readtimeout property with OCSP timeout
Backport-of: f8e81d2339
2025-07-17 02:29:00 +04:00
Goetz Lindenmaier
98ae8bc8b9 8347173: java/net/DatagramSocket/InterruptibleDatagramSocket.java fails with virtual thread factory
Backport-of: 35be4a432b
2025-07-17 02:29:00 +04:00
Goetz Lindenmaier
8d8ad29397 8347596: Update HSS/LMS public key encoding
Reviewed-by: mbaesken
Backport-of: 0ee6ba9c4c
2025-07-17 02:28:59 +04:00
Goetz Lindenmaier
9381b0792f 8347373: HTTP/2 flow control checks may count unprocessed data twice
Backport-of: 06126361db
2025-07-17 02:28:59 +04:00
Goetz Lindenmaier
47631392e5 8345341: Fix incorrect log message in JDI stop002t test
Backport-of: 42378970e1
2025-07-17 02:28:58 +04:00
Goetz Lindenmaier
ac179b56a8 8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Backport-of: 3e03e6673a
2025-07-17 02:28:58 +04:00
Goetz Lindenmaier
97c1c87b3b 8332880: JFR GCHelper class recognizes "Archive" regions as valid
Backport-of: 2cca83bc82
2025-07-17 02:28:57 +04:00
Goetz Lindenmaier
e771d7ffa1 8332641: Update nsk.share.jpda.Jdb to don't use finalization
Backport-of: f66a586614
2025-07-17 02:28:57 +04:00
Goetz Lindenmaier
0948853ccc 8327461: KeyStore getEntry is not thread-safe
Backport-of: ffd43c922e
2025-07-17 02:28:56 +04:00
Goetz Lindenmaier
1af2ad141e 8282726: java/net/vthread/BlockingSocketOps.java timeout/hang intermittently on Windows
Reviewed-by: mdoerr
Backport-of: 21a59b9f4e
2025-07-17 02:28:56 +04:00
Goetz Lindenmaier
72efa1a065 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out
Backport-of: 61ce739ac8
2025-07-17 02:28:55 +04:00
Goetz Lindenmaier
191200f8cb 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Backport-of: 4f864faf42
2025-07-17 02:28:55 +04:00
Goetz Lindenmaier
730e0866d5 8314056: Remove runtime platform check from frem/drem
Backport-of: ce2a7ea40a
2025-07-17 02:28:54 +04:00
SendaoYan
07d889f56d 8349623: [ASAN] Gtest os_linux.glibc_mallinfo_wrapper_vm fails
Backport-of: f2ffbbd70ccaaa97cb7d05c168995dd2599a3d1d
2025-07-17 02:28:54 +04:00
Satyen Subramaniam
dcb695c688 8321479: java -D-D crashes
Backport-of: dcdcd48d8f
2025-07-17 02:28:53 +04:00
Satyen Subramaniam
d7bc9600ca 8321204: C2: assert(false) failed: node should be in igvn hash table
Backport-of: d1aad71209
2025-07-17 02:28:52 +04:00
Satyen Subramaniam
a2e21d1ffd 8322141: SequenceInputStream.transferTo should not return as soon as Long.MAX_VALUE bytes have been transferred
Backport-of: 2d609557ff
2025-07-17 02:28:52 +04:00
Satyen Subramaniam
491da3f139 8325680: Uninitialised memory in deleteGSSCB of GSSLibStub.c:179
Backport-of: 419191c653
2025-07-17 02:28:51 +04:00
SendaoYan
1f9ec52f71 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing
Backport-of: ad48846edd
2025-07-17 02:28:51 +04:00
Xiaolong Peng
5445a22ff8 8350313: Include timings for leaving safepoint in safepoint logging
Reviewed-by: phh
Backport-of: 9ec46968fb
2025-07-17 02:28:50 +04:00
Satyen Subramaniam
0327078a8d 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure
Backport-of: b5212d7bfe
2025-07-17 02:28:50 +04:00
Liam Miller-Cushon
6ec72feddc 8354893: [REDO BACKPORT] javac crashes while adding type annotations to the return type of a constructor (JDK-8320001)
Reviewed-by: sgehwolf
2025-07-17 02:28:49 +04:00
Goetz Lindenmaier
d9ee002127 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
Backport-of: 32d6d03151
2025-07-17 02:28:49 +04:00
Goetz Lindenmaier
72ec605962 8352109: java/awt/Desktop/MailTest.java fails in platforms where Action.MAIL is not supported
Backport-of: c7f333888b
2025-07-17 02:28:48 +04:00
Goetz Lindenmaier
83b8abaaf6 8253440: serviceability/sa/TestJhsdbJstackLineNumbers.java failed with "Didn't find enough line numbers"
Backport-of: 0b1f57105d
2025-07-17 02:28:48 +04:00
Goetz Lindenmaier
30560fc2ce 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access
Backport-of: dafa2e55ad
2025-07-17 02:28:47 +04:00
Goetz Lindenmaier
73b5ff7bd8 8051591: Test javax/swing/JTabbedPane/8007563/Test8007563.java fails
Backport-of: 780de00922
2025-07-17 02:28:47 +04:00
Goetz Lindenmaier
ac0fbc6084 8340332: Open source mixed AWT tests - Set3
Backport-of: bfdeb33e6f
2025-07-17 02:28:46 +04:00
Goetz Lindenmaier
193c7496f0 8335684: Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java
Backport-of: 1f6e106b45
2025-07-17 02:28:45 +04:00
Goetz Lindenmaier
67cf9bb0e9 8329729: java/util/Properties/StoreReproducibilityTest.java times out
Backport-of: b81b86da98
2025-07-17 02:28:45 +04:00
Goetz Lindenmaier
1b7838f303 8200566: DistributionPointFetcher fails to fetch CRLs if the DistributionPoints field contains more than one DistributionPoint and the first one fails
Backport-of: e702646545
2025-07-17 02:28:44 +04:00
Goetz Lindenmaier
bd207f10c5 8318915: Enhance checks in BigDecimal.toPlainString()
Backport-of: a6785e4d63
2025-07-17 02:28:44 +04:00
Goetz Lindenmaier
a18253b7e5 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry
Backport-of: d2e2c4cef1
2025-07-17 02:28:43 +04:00
Goetz Lindenmaier
a034131b86 8308966: Add intrinsic for float/double modulo for x86 AVX2 and AVX512
Backport-of: 5d5ae35288
2025-07-17 02:28:42 +04:00
Martin Doerr
c764c8f690 8352512: TestVectorZeroCount: counter not reset between iterations
Backport-of: 1c0fa0af78
2025-07-17 02:28:42 +04:00
Liam Miller-Cushon
ba34ab936c 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
Backport-of: 9e282e5c96
2025-07-17 02:28:42 +04:00
Paul Hohensee
aec7f8ccc3 8343855: HTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
Reviewed-by: rkennke
Backport-of: bd6152f596
2025-07-17 02:28:41 +04:00
Severin Gehwolf
c030c1734d 8340024: In ClassReader, extract a constant for the superclass supertype_index
Backport-of: 68c4f36857
2025-07-17 02:28:41 +04:00
Liam Miller-Cushon
a79f790e26 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
Backport-of: 8d08314783
2025-07-17 02:28:40 +04:00
Liam Miller-Cushon
43dfebc8ca 8341779: [REDO BACKPORT] type annotations are not visible to javac plugins across compilation boundaries (JDK-8225377)
Reviewed-by: vromero
2025-07-17 02:28:40 +04:00
Goetz Lindenmaier
5648b7263c 8340366: Open source several AWT Dialog tests - Batch 3
Backport-of: a7d2077fe2
2025-07-17 02:28:39 +04:00
Goetz Lindenmaier
acf243c99c 8340193: Open source several AWT Dialog tests - Batch 1
Backport-of: 2d8fcc4271
2025-07-17 02:28:39 +04:00
Goetz Lindenmaier
5ed656323b 8339982: Open source several AWT Mouse tests - Batch 2
Backport-of: b6a4047387
2025-07-17 02:28:38 +04:00
Goetz Lindenmaier
ce3434b29c 8341278: Open source few TrayIcon tests - Set7
Backport-of: 4d50cbb5a7
2025-07-17 02:28:38 +04:00
Dmitry Chuyko
a6f1381cf1 8351933: Inaccurate masking of TC subfield decrement in ForkJoinPool
Reviewed-by: phh, dl
2025-07-17 02:28:37 +04:00
Goetz Lindenmaier
842e33be27 8353138: Screen capture for test TaskbarPositionTest.java, failure case
Backport-of: 05ff557dee
2025-07-17 02:28:37 +04:00
Goetz Lindenmaier
aa5752ccf2 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
Backport-of: cd9f1d3d92
2025-07-17 02:28:37 +04:00
Goetz Lindenmaier
0cac8e0f32 8350924: javax/swing/JMenu/4213634/bug4213634.java fails
Backport-of: daf0213abc
2025-07-17 02:28:36 +04:00
Andreas Steiner
1c007fd144 8335710: serviceability/dcmd/vm/SystemDumpMapTest.java and SystemMapTest.java fail on Linux Alpine after 8322475
Reviewed-by: mbaesken
Backport-of: c703d29042
2025-07-17 02:28:36 +04:00
Goetz Lindenmaier
62d7378273 8339288: Improve diagnostic logging runtime/cds/DeterministicDump.java
Backport-of: 3b283543c3
2025-07-17 02:28:35 +04:00
Goetz Lindenmaier
5ae65a008a 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended
Backport-of: 2ddaa46054
2025-07-17 02:28:35 +04:00
Goetz Lindenmaier
2422418e12 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
Backport-of: de441c2b68
2025-07-17 02:28:34 +04:00
Andreas Steiner
452e1c50eb 8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
Reviewed-by: goetz, stuefe
Backport-of: 3cce31ad88
2025-07-17 02:28:34 +04:00
Goetz Lindenmaier
fbcbca081f 8341972: java/awt/dnd/DnDRemoveFocusOwnerCrashTest.java timed out after JDK-8341257
Backport-of: 1f6bd0c3e5
2025-07-17 02:28:34 +04:00
Goetz Lindenmaier
50cebf158b 8341447: Open source closed frame tests # 5
Reviewed-by: rschmelter
Backport-of: 966eb7232f
2025-07-17 02:28:33 +04:00
Goetz Lindenmaier
920723aae8 8328301: Convert Applet test ManualHTMLDataFlavorTest.java to main program
Backport-of: f7f291c5d4
2025-07-17 02:28:33 +04:00
Bara' Hasheesh
63e780433d 8312475: org.jline.util.PumpReader signed byte problem
Backport-of: bea2d48696
2025-07-17 02:28:32 +04:00
Andreas Steiner
d37b3a376a 8322475: Extend printing for System.map
Reviewed-by: stuefe
Backport-of: 8aaec37ace
2025-07-17 02:28:32 +04:00
Daniel Hu
13b3c6f542 8136895: Writer not closed with disk full error, file resource leaked
Backport-of: d55d7e8d87
2025-07-17 02:28:31 +04:00
Paul Hohensee
ed5a052f34 8349637: Integer.numberOfLeadingZeros outputs incorrectly in certain cases
Reviewed-by: rkennke
Backport-of: 3657e92ead
2025-07-17 02:28:31 +04:00
Christoph Langer
8783d74d1a 8353709: Debug symbols bundle should contain full debug files when building --with-external-symbols-in-bundles=public
Backport-of: ef58a805c1f71b00bf61f05ffdcca66264094f5b
2025-07-17 02:28:31 +04:00
Dhamoder Nalla
d0258e490c 8338136: Hotspot should support multiple large page sizes on Windows
Backport-of: 4ded28380b
2025-07-17 02:28:30 +04:00
Satyen Subramaniam
7bc9b323ad 8327370: (ch) sun.nio.ch.Poller.register throws AssertionError
Backport-of: d2bebffb1f
2025-07-17 02:28:30 +04:00
Goetz Lindenmaier
3642d85303 8341072: Open source several AWT Canvas and Rectangle related tests
Backport-of: f6fe5eaf1a
2025-07-17 02:28:29 +04:00
Goetz Lindenmaier
8efc65fb0c 8341257: Open source few DND tests - Set1
Backport-of: cd4981c292
2025-07-17 02:28:28 +04:00
Goetz Lindenmaier
165f20b160 8339836: Open source several AWT Mouse tests - Batch 1
Backport-of: 57c859e4ad
2025-07-17 02:28:28 +04:00
Goetz Lindenmaier
6831e1541e 8340417: Open source some MenuBar tests - Set1
Backport-of: 559289487d
2025-07-17 02:28:27 +04:00
Goetz Lindenmaier
1f56b978db 8341258: Open source few various AWT tests - Set1
Backport-of: 86e3d52c70
2025-07-17 02:28:27 +04:00
Goetz Lindenmaier
66cc456f22 8341162: Open source some of the AWT window test
Backport-of: c8e70df37e
2025-07-17 02:28:27 +04:00
Goetz Lindenmaier
9b71c4e332 8341128: open source some 2d graphics tests
Backport-of: e89fd1d2ce
2025-07-17 02:28:26 +04:00
Goetz Lindenmaier
d4bfcbf040 8340077: Open source few Checkbox tests - Set2
Backport-of: 6f459aff45
2025-07-17 02:28:25 +04:00
Goetz Lindenmaier
4fecfb84af 8341148: Open source several Choice related tests
Backport-of: 19642bd383
2025-07-17 02:28:24 +04:00
Goetz Lindenmaier
141ab1c736 8341191: Open source few more AWT FileDialog tests
Backport-of: 50ec169116
2025-07-17 02:28:24 +04:00
Goetz Lindenmaier
57029a8501 8340621: Open source several AWT List tests
Backport-of: ae4d2f1590
2025-07-17 02:28:23 +04:00
Goetz Lindenmaier
9c7896fb95 8314842: zgc/genzgc tests ignore vm flags
Backport-of: ae75ca05e4
2025-07-17 02:28:23 +04:00
Goetz Lindenmaier
ad88aec022 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
Backport-of: 05dad67cc2
2025-07-17 02:28:22 +04:00
Goetz Lindenmaier
2a7afbe109 8319572: Test jdk/incubator/vector/LoadJsvmlTest.java ignores VM flags
Backport-of: d9a89c59da
2025-07-17 02:28:21 +04:00
Goetz Lindenmaier
fc13a7d1fa 8316452: java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
Backport-of: fec1d49783
2025-07-17 02:28:21 +04:00
SendaoYan
41cfe4a720 8350546: Several java/net/InetAddress tests fails UnknownHostException
Backport-of: e5e39718b304de1b916fb1b11cdadd8e7fa738ac
2025-07-17 02:28:21 +04:00
Paul Hohensee
e45c298753 8344414: ZGC: Another division by zero in rule_major_allocation_rate
Reviewed-by: cslucas, rkennke
Backport-of: 63af2f42b7
2025-07-17 02:28:20 +04:00
Paul Hohensee
feb686d8c7 8344346: java/net/httpclient/ShutdownNow.java fails with java.lang.AssertionError: client was still running, but exited after further delay: timeout should be adjusted
Reviewed-by: rkennke
Backport-of: a07b72bfcf
2025-07-17 02:28:20 +04:00
Matthias Baesken
07cdfa08eb 8323795: jcmd Compiler.codecache should print total size of code cache
Backport-of: 3742bc626e
2025-07-17 02:28:19 +04:00
Goetz Lindenmaier
9fc06ed648 8340279: Open source several AWT Dialog tests - Batch 2
Backport-of: e0dabfb4bf
2025-07-17 02:28:19 +04:00
Goetz Lindenmaier
ed94ea52d1 8340432: Open source some MenuBar tests - Set2
Backport-of: 013250e4a7
2025-07-17 02:28:18 +04:00
Goetz Lindenmaier
da03782b54 8340458: Open source additional Component tests (part 2)
Backport-of: 021bf63035
2025-07-17 02:28:18 +04:00
Goetz Lindenmaier
30e7b52618 8340639: Open source few more AWT List tests
Backport-of: dd56990962
2025-07-17 02:28:17 +04:00
Goetz Lindenmaier
07ade38c25 8339995: Open source several AWT focus tests - series 6
Backport-of: 3411f9dff7
2025-07-17 02:28:17 +04:00
Goetz Lindenmaier
1eada3c433 8340084: Open source AWT Frame related tests
Backport-of: bc7c0dc45d
2025-07-17 02:28:17 +04:00
Goetz Lindenmaier
e0347d5728 8343170: java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
Backport-of: c6317191e3
2025-07-17 02:28:16 +04:00
Goetz Lindenmaier
ca0c0372f1 8336827: compiler/vectorization/TestFloat16VectorConvChain.java timeouts on ppc64 platforms after JDK-8335860
Reviewed-by: mdoerr
Backport-of: 5b4824cf9a
2025-07-17 02:28:16 +04:00
Goetz Lindenmaier
e070b69dd1 8316324: Opensource five miscellaneous Swing tests
Backport-of: 7560dbb925
2025-07-17 02:28:15 +04:00
Goetz Lindenmaier
72e95cebc8 8335860: compiler/vectorization/TestFloat16VectorConvChain.java fails with non-standard AVX/SSE settings
Reviewed-by: mdoerr
Backport-of: 35df48e1b3
2025-07-17 02:28:15 +04:00
Patrick Zhang
2a597e13f5 8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
Backport-of: 23389d08a2b5c0840d2b18fb2e74d2d112b3192d
2025-07-17 02:28:14 +04:00
Satyen Subramaniam
7d35521e56 8329261: G1: interpreter post-barrier x86 code asserts index size of wrong buffer
Backport-of: 1131bb77ec
2025-07-17 02:28:14 +04:00
Satyen Subramaniam
cbcd0eb97f 8352716: (tz) Update Timezone Data to 2025b
Reviewed-by: serb, andrew
Backport-of: 1d205f5f07
2025-07-17 02:28:14 +04:00
Satyen Subramaniam
3a6a9ef9a0 8328864: NullPointerException in sun.security.jca.ProviderList.getService()
Backport-of: cd3a607576
2025-07-17 02:28:13 +04:00
Paul Hohensee
56552868fa 8211400: nsk.share.gc.Memory::getArrayLength returns wrong value
Backport-of: 860d49db22
2025-07-17 02:28:13 +04:00
Paul Hohensee
1c60871c97 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
Backport-of: a62a870150
2025-07-17 02:28:12 +04:00
Paul Hohensee
b5d5fd3d18 8345133: Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout
Backport-of: 153dc6d843
2025-07-17 02:28:12 +04:00
Paul Hohensee
b917359d72 8344361: Restore null return for invalid services from legacy providers
Backport-of: e20bd018c4
2025-07-17 02:28:12 +04:00
Goetz Lindenmaier
a21f1b4dc3 8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
Backport-of: f2c992c5af
2025-07-17 02:28:11 +04:00
Goetz Lindenmaier
ed0b1e7a08 8346049: jdk/test/lib/security/timestamp/TsaServer.java warnings
Backport-of: 1eb54e4228
2025-07-17 02:28:11 +04:00
Goetz Lindenmaier
ca37cccbc8 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
Backport-of: 521ed72b87
2025-07-17 02:28:10 +04:00
Goetz Lindenmaier
366b811203 8340978: Open source few DnD tests - Set6
Backport-of: 32f817a460
2025-07-17 02:28:10 +04:00
Goetz Lindenmaier
df87e4fb71 8341378: Open source few TrayIcon tests - Set8
Backport-of: b9db74a645
2025-07-17 02:28:09 +04:00
Goetz Lindenmaier
a761ba38ec 8340967: Open source few Cursor tests - Set2
Backport-of: 92cb633108
2025-07-17 02:28:09 +04:00
Goetz Lindenmaier
6b6a3bf5b0 8340555: Open source DnD tests - Set4
Backport-of: 0dd4997042
2025-07-17 02:28:09 +04:00
Goetz Lindenmaier
50a0b2dab6 8258483: [TESTBUG] gtest CollectorPolicy.young_scaled_initial_ergo_vm fails if heap is too small
Backport-of: d08b5bd9f5
2025-07-17 02:28:08 +04:00
Goetz Lindenmaier
1eb910127d 8340271: Open source several AWT Robot tests
Backport-of: bc36ace72c
2025-07-17 02:28:08 +04:00
Goetz Lindenmaier
c6f9092a13 8321931: memory_swap_current_in_bytes reports 0 as "unlimited"
Backport-of: 7777eb5e15
2025-07-17 02:28:07 +04:00
Goetz Lindenmaier
9502d750aa 8315871: Opensource five more Swing regression tests
Backport-of: be9cc73fca
2025-07-17 02:28:06 +04:00
Matthias Baesken
7cbf71d2f4 8346888: [ubsan] block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
Backport-of: ddf326b8e6
2025-07-17 02:28:06 +04:00
Matthias Baesken
72b52c568c 8330936: [ubsan] exclude function BilinearInterp and ShapeSINextSpan in libawt java2d from ubsan checks
Backport-of: 40f150d3e5
2025-07-17 02:28:06 +04:00
Goetz Lindenmaier
cce7f720fe 8340625: Open source additional Component tests (part 3)
Backport-of: ebb4759c3d
2025-07-17 02:28:05 +04:00
Goetz Lindenmaier
6334dd47af 8341239: Open source closed frame tests # 3
Backport-of: ff3e849b8a
2025-07-17 02:28:04 +04:00
Goetz Lindenmaier
8c8eaf2a6e 8340437: Open source few more AWT Frame related tests
Backport-of: 9bd478593c
2025-07-17 02:28:04 +04:00
Goetz Lindenmaier
b1ec970a4a 8340874: Open source some of the AWT Geometry/Button tests
Backport-of: e19c7d80f7
2025-07-17 02:28:03 +04:00
Satyen Subramaniam
220e8e84bb 8337681: PNGImageWriter uses much more memory than necessary
Backport-of: 89a15f1414
2025-07-17 02:28:03 +04:00
Roman Marchenko
9b436eeecb 8332506: SIGFPE In ObjectSynchronizer::is_async_deflation_needed()
Reviewed-by: phh
Backport-of: cbabc04515
2025-07-17 02:28:03 +04:00
Paul Hohensee
518845cf3a 8336042: Caller/callee param size mismatch in deoptimization causes crash
Backport-of: 20ea218ce5
2025-07-17 02:28:02 +04:00
Satyen Subramaniam
fbfd2ec061 8337981: ShenandoahHeap::is_in should check for alive regions
Backport-of: b9d49dcef2
2025-07-17 02:28:02 +04:00
Satyen Subramaniam
6aa7cbd2da 8333890: Fatal error in auto-vectorizer with float16 kernel.
Backport-of: 55fd1ed228
2025-07-17 02:28:01 +04:00
Satyen Subramaniam
c4004eaa94 8331088: Incorrect TraceLoopPredicate output
Backport-of: 19e46eed58
2025-07-17 02:28:01 +04:00
Satyen Subramaniam
fe90c5fc15 8330106: C2: VectorInsertNode::make() shouldn't call ConINode::make() directly
Backport-of: bde3fc0c03
2025-07-17 02:28:00 +04:00
Satyen Subramaniam
da86732da5 8330158: C2: Loop strip mining uses ABS with min int
Backport-of: c615c18e9f
2025-07-17 02:27:59 +04:00
Matthias Baesken
8cb0e1231d 8351665: Remove unused UseNUMA in os_aix.cpp
Backport-of: 84f87dd4e9
2025-07-17 02:27:59 +04:00
Paul Hohensee
45d040dcc1 8339538: Wrong timeout computations in DnsClient
8220213: com/sun/jndi/dns/ConfigTests/Timeout.java failed intermittent

Reviewed-by: cslucas, rkennke
Backport-of: 4beb77192f
2025-07-17 02:27:58 +04:00
Taizo Kurashige
96cdece415 8343342: java/io/File/GetXSpace.java fails on Windows with CD-ROM drive
Reviewed-by: phh
Backport-of: 40f0a398fa
2025-07-17 02:27:58 +04:00
Goetz Lindenmaier
64cdb52da9 8348598: Update Libpng to 1.6.47
Reviewed-by: mbaesken
Backport-of: 6b82b42a21
2025-07-17 02:27:57 +04:00
Goetz Lindenmaier
b7a292a8df 8348597: Update HarfBuzz to 10.4.0
Reviewed-by: phh, mbaesken
Backport-of: dbdbbd4730
2025-07-17 02:27:57 +04:00
Goetz Lindenmaier
5c3c27f338 8342376: More reliable OOM handling in ExceptionDuringDumpAtObjectsInitPhase test
Backport-of: 37aa320f57
2025-07-17 02:27:56 +04:00
Goetz Lindenmaier
f7985fd1a6 8340605: Open source several AWT PopupMenu tests
Backport-of: 822a773873
2025-07-17 02:27:55 +04:00
Goetz Lindenmaier
62eb24deb0 8340143: Open source several Java2D rendering loop tests.
Backport-of: 90c2c0b4ad
2025-07-17 02:27:55 +04:00
Goetz Lindenmaier
6d7394e2cb 8340367: Opensource few AWT image tests
Backport-of: 6c91a16f16
2025-07-17 02:27:54 +04:00
Goetz Lindenmaier
23f17dcb95 8339895: Open source several AWT focus tests - series 3
Backport-of: 94c33179b6
2025-07-17 02:27:54 +04:00
Goetz Lindenmaier
6ee36a6d1a 8339639: Opensource few AWT PopupMenu tests
Backport-of: a0794e0a05
2025-07-17 02:27:53 +04:00
Goetz Lindenmaier
877cef7101 8339148: Make os::Linux::active_processor_count() public
Backport-of: 12d060a255
2025-07-17 02:27:52 +04:00
Goetz Lindenmaier
5696ec60ee 8328484: Convert and Opensource few JFileChooser applet test to main
Backport-of: 528efe206d
2025-07-17 02:27:51 +04:00
Goetz Lindenmaier
9d482f33cb 8315951: Open source several Swing HTMLEditorKit related tests
Backport-of: d19e017d3f
2025-07-17 02:27:50 +04:00
Satyen Subramaniam
b522aa2161 8343019: Primitive caches must use boxed instances from the archive
Backport-of: 7c36fa7e17
2025-07-17 02:27:50 +04:00
Satyen Subramaniam
8401dbafbd 8333805: Replaying compilation with null static final fields results in a crash
Backport-of: fa401f37df
2025-07-17 02:27:50 +04:00
Sergey Bylokhov
eeb995e027 8270269: Desktop.browse method fails if earlier CoInitialize call as COINIT_MULTITHREADED
Backport-of: b25ed57b76
2025-07-17 02:27:49 +04:00
Satyen Subramaniam
7e418de8ae 8338314: JFR: Split JFRCheckpoint VM operation
Backport-of: 6d430f24df
2025-07-17 02:27:48 +04:00
Thomas Stuefe
e700d8cd7d 8351500: G1: NUMA migrations cause crashes in region allocation
Reviewed-by: sjohanss
Backport-of: 37ec796255
2025-07-17 02:27:48 +04:00
Daniel Hu
d2bdc15326 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).

Backport-of: 9f98136c3a
2025-07-17 02:27:48 +04:00
Goetz Lindenmaier
7ec7c264f4 8345134: Test sun/security/tools/jarsigner/ConciseJarsigner.java failed: unable to find valid certification path to requested target
Backport-of: a0f7982e44
2025-07-17 02:27:47 +04:00
Goetz Lindenmaier
467c02df90 8341373: Open source closed frame tests # 4
Backport-of: d0c5e4bc50
2025-07-17 02:27:47 +04:00
Goetz Lindenmaier
9f32bfd0bc 8341000: Open source some of the AWT Window tests
Backport-of: d3139b4c36
2025-07-17 02:27:46 +04:00
Goetz Lindenmaier
78dbd97517 8340228: Open source couple more miscellaneous AWT tests
Backport-of: f7bc9ba552
2025-07-17 02:27:46 +04:00
Goetz Lindenmaier
f32526f0df 8339906: Open source several AWT focus tests - series 4
Backport-of: 46b02f49bc
2025-07-17 02:27:45 +04:00
Goetz Lindenmaier
a24a30c6d9 8339794: Open source closed choice tests #1
Backport-of: 5e5942a282
2025-07-17 02:27:45 +04:00
Goetz Lindenmaier
02b873dfd2 8337299: vmTestbase/nsk/jdb/stop_at/stop_at002/stop_at002.java failure goes undetected
Backport-of: e2c07d5044
2025-07-17 02:27:44 +04:00
Goetz Lindenmaier
4fd0fbb143 8316388: Opensource five Swing component related regression tests
Backport-of: c05f8c7223
2025-07-17 02:27:44 +04:00
Goetz Lindenmaier
532cc346f6 8315981: Opensource five more random Swing tests
Backport-of: c43ebd34af
2025-07-17 02:27:43 +04:00
SendaoYan
917d76efb9 8342958: Use jvmArgs consistently in microbenchmarks
8343345: Use -jvmArgsPrepend when running microbenchmarks in RunTests.gmk

Reviewed-by: phh
Backport-of: 90bd544512
2025-07-17 02:27:42 +04:00
Satyen Subramaniam
5da13e50ff 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942
Backport-of: 3b1ca98642
2025-07-17 02:27:42 +04:00
Satyen Subramaniam
2c40ccbd51 8334780: Crash: assert(h_array_list.not_null()) failed: invariant
Backport-of: e7a0b5b09b
2025-07-17 02:27:42 +04:00
SendaoYan
8a5ca721ce 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
Backport-of: c14b3c228f4ed2361ace77172410a1769ff93c9b
2025-07-17 02:27:41 +04:00
Alexey Bakhtin
8d9fc196ee 8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: andrew
Backport-of: b0ac633b2d
2025-07-17 02:27:41 +04:00
Matthias Baesken
f0b3a1087c 8350786: Some java/lang jtreg tests miss requires vm.hasJFR
Backport-of: 7a47dcb97ba3f7b8bf4d9ddfa3f51c5195fe2aa2
2025-07-17 02:27:40 +04:00
Goetz Lindenmaier
404d1a307b 8352302: Test sun/security/tools/jarsigner/TimestampCheck.java is failing
Backport-of: 577ede73d8
2025-07-17 02:27:40 +04:00
Goetz Lindenmaier
495906381f 8348110: Update LCMS to 2.17
Reviewed-by: andrew
Backport-of: a23fb0af65
2025-07-17 02:27:39 +04:00
Goetz Lindenmaier
a42db951e4 8280991: [XWayland] No displayChanged event after setDisplayMode call
Backport-of: 29de20dbc2
2025-07-17 02:27:39 +04:00
Goetz Lindenmaier
b1ac1f0d8c 8345598: Upgrade NSS binaries for interop tests
Backport-of: 0f82268134
2025-07-17 02:27:38 +04:00
Goetz Lindenmaier
6bef9d2985 8350260: Improve HTML instruction formatting in PassFailJFrame
Backport-of: 014701a09b
2025-07-17 02:27:38 +04:00
Goetz Lindenmaier
5c95fe3c51 8294155: Exception thrown before awaitAndCheck hangs PassFailJFrame
Backport-of: 906358d3a1
2025-07-17 02:27:37 +04:00
Goetz Lindenmaier
c611209aee 8342524: Use latch in AbstractButton/bug6298940.java instead of delay
Backport-of: 2bd8f026db
2025-07-17 02:27:36 +04:00
Goetz Lindenmaier
686c504a2c 8343529: serviceability/sa/ClhsdbWhere.java fails AssertionFailure: Corrupted constant pool
8307318: Test serviceability/sa/ClhsdbCDSJstackPrintAll.java failed: ArrayIndexOutOfBoundsException

Reviewed-by: mbaesken
Backport-of: 21e0fb8648
2025-07-17 02:27:36 +04:00
Goetz Lindenmaier
ed59eac33b 8343936: Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java
Backport-of: 4fa760a1ed
2025-07-17 02:27:36 +04:00
Goetz Lindenmaier
d74adde192 8343103: Enable debug logging for vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java
Backport-of: 1b177ce5b7
2025-07-17 02:27:35 +04:00
Goetz Lindenmaier
62e61dff92 8340809: Open source few more AWT PopupMenu tests
Backport-of: 313f4a9621
2025-07-17 02:27:34 +04:00
Goetz Lindenmaier
5c12e677d5 8341298: Open source more AWT window tests
Backport-of: db61458da8
2025-07-17 02:27:34 +04:00
Goetz Lindenmaier
1b82307ac7 8341004: Open source AWT FileDialog related tests
Backport-of: 7d524d7e37
2025-07-17 02:27:33 +04:00
Goetz Lindenmaier
bfd5737512 8340433: Open source closed choice tests #3
Backport-of: 8c08c43a34
2025-07-17 02:27:33 +04:00
Goetz Lindenmaier
bf306f0a38 8339678: Update runtime/condy tests to be executed with VM flags
Backport-of: c3711dc909
2025-07-17 02:27:32 +04:00
Goetz Lindenmaier
d4daa4a90b 8315669: Open source several Swing PopupMenu related tests
Backport-of: 7c5f2a2db9
2025-07-17 02:27:32 +04:00
Alexey Bakhtin
e992497e67 8335181: Incorrect handling of HTTP/2 GOAWAY frames in HttpClient
Reviewed-by: andrew
Backport-of: 720b44648b
2025-07-17 02:27:31 +04:00
SendaoYan
9769f0ed0c 8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Backport-of: 959e0265cfd829a1f857835e1ee95c75b6f6c9cb
2025-07-17 02:27:30 +04:00
Dmitry Chuyko
29cd61c348 8335662: [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn
Backport-of: 401d0d6b09
2025-07-17 02:27:30 +04:00
Dmitry Chuyko
dddd47ce58 8350412: [21u] AArch64: Ambiguous frame layout leads to incorrect traces in JFR
Reviewed-by: phh
2025-07-17 02:27:29 +04:00
Alexey Bakhtin
87b93e9a4e 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: andrew
Backport-of: fc98998627
2025-07-17 02:27:29 +04:00
Satyen Subramaniam
7ef921f277 8338064: Give better error for ConcurrentHashTable corruption
Backport-of: 069e0ea69f
2025-07-17 02:27:28 +04:00
Satyen Subramaniam
becef52812 8350211: CTW: Attempt to preload all classes in constant pool
Backport-of: d13fd5738f
2025-07-17 02:27:28 +04:00
Satyen Subramaniam
afec97f568 8338202: Shenandoah: Improve handshake closure labels
Backport-of: ba69ed7c58
2025-07-17 02:27:27 +04:00
Goetz Lindenmaier
199ba65bf5 8340784: Remove PassFailJFrame constructor with screenshots
Backport-of: 50ca450417
2025-07-17 02:27:27 +04:00
Goetz Lindenmaier
2f78581cbb 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Backport-of: 5c4a387b7e
2025-07-17 02:27:26 +04:00
Goetz Lindenmaier
be714df268 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Backport-of: d002933c26
2025-07-17 02:27:25 +04:00
Goetz Lindenmaier
f219ae8e5c 8346581: JRadioButton/ButtonGroupFocusTest.java fails in CI on Linux
Backport-of: 57af52c573
2025-07-17 02:27:25 +04:00
Goetz Lindenmaier
c58b04b9d7 8334644: Automate javax/print/attribute/PageRangesException.java
Backport-of: 030149fec4
2025-07-17 02:27:24 +04:00
Goetz Lindenmaier
48420fdc13 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
Reviewed-by: rrich
Backport-of: b9b0bd0871
2025-07-17 02:27:24 +04:00
Goetz Lindenmaier
b87e32f75b 8341637: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Backport-of: ba3774dc5d
2025-07-17 02:27:23 +04:00
Goetz Lindenmaier
6871ccfd23 8340985: Open source some Desktop related tests
Backport-of: 172f74466f
2025-07-17 02:27:23 +04:00
Goetz Lindenmaier
2528868564 8340164: Open source few Component tests - Set1
Backport-of: 7e3978eab2
2025-07-17 02:27:22 +04:00
Goetz Lindenmaier
e06f3f0569 8256211: assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
Backport-of: b1163bcc88
2025-07-17 02:27:21 +04:00
Satyen Subramaniam
4b58387a6d 8309978: [x64] Fix useless padding
Backport-of: 0038491abd
2025-07-17 02:27:21 +04:00
Satyen Subramaniam
58813e3ad5 8338010: WB_IsFrameDeoptimized miss ResourceMark
Backport-of: 9f08a01cb6
2025-07-17 02:27:20 +04:00
Goetz Lindenmaier
225e9188ec 8352076: [21u] Problem list tests that fail in 21 and would be fixed by 8309622
Reviewed-by: sgehwolf
2025-07-17 02:27:20 +04:00
Goetz Lindenmaier
4bfd9f4d38 8340790: Open source several AWT Dialog tests - Batch 4
Backport-of: 6d7e67956b
2025-07-17 02:27:19 +04:00
Goetz Lindenmaier
7ec55dc72f 8340173: Open source some Component/Panel/EventQueue tests - Set2
Backport-of: 97ee8bbda2
2025-07-17 02:27:18 +04:00
Goetz Lindenmaier
9684b440c8 8340907: Open source closed frame tests # 2
Backport-of: f2a767f59b
2025-07-17 02:27:18 +04:00
Goetz Lindenmaier
b40a48a579 8340713: Open source DnD tests - Set5
Backport-of: fc7244da96
2025-07-17 02:27:17 +04:00
Goetz Lindenmaier
010d079973 8340966: Open source few Checkbox and Cursor tests - Set1
Backport-of: 3d38cd97ef
2025-07-17 02:27:16 +04:00
Goetz Lindenmaier
2c3d2995b2 8339935: Open source several AWT focus tests - series 5
Backport-of: b1f8d2ea76
2025-07-17 02:27:15 +04:00
Goetz Lindenmaier
caa065fa6f 8340393: Open source closed choice tests #2
Backport-of: a9b0f9ccbf
2025-07-17 02:27:15 +04:00
Goetz Lindenmaier
2e46b43c6b 8339984: Open source AWT MenuItem related tests
Backport-of: f4e401791e
2025-07-17 02:27:14 +04:00
Goetz Lindenmaier
a570fd8037 8339842: Open source several AWT focus tests - series 2
Backport-of: 4b7906375b
2025-07-17 02:27:14 +04:00
Goetz Lindenmaier
f5ddbed7c2 8339727: Open source several AWT focus tests - series 1
Backport-of: 358ff19633
2025-07-17 02:27:13 +04:00
Goetz Lindenmaier
7a70c48798 8328482: Convert and Open source few manual applet test to main based
Backport-of: bea9acc55a
2025-07-17 02:27:12 +04:00
Goetz Lindenmaier
53fa088f05 8328648: Remove applet usage from JFileChooser tests bug4150029
Backport-of: 021ed6aea9
2025-07-17 02:27:11 +04:00
Goetz Lindenmaier
1fb7dfc6f2 8328670: Automate and open source few closed manual applet test
Backport-of: 38e3cda442
2025-07-17 02:27:10 +04:00
Goetz Lindenmaier
4d7e0c12ad 8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: mbaesken
Backport-of: c1281e6b45
2025-07-17 02:27:10 +04:00
Goetz Lindenmaier
10099a666c 8316061: Open source several Swing RootPane and Slider related tests
Backport-of: 138542de78
2025-07-17 02:27:09 +04:00
SendaoYan
384a1e82a7 8281511: java/net/ipv6tests/UdpTest.java fails with checkTime failed
Backport-of: f1798aad038f9d17b98618225b38287704477bbd
2025-07-17 02:27:09 +04:00
Severin Gehwolf
cdaf4dae08 8303770: Remove Baltimore root certificate expiring in May 2025
Backport-of: 2371696781
2025-07-17 02:27:08 +04:00
Andreas Steiner
3ea1a8ecd5 8327169: serviceability/dcmd/vm/SystemMapTest.java and SystemDumpMapTest.java may fail after JDK-8326586
Backport-of: c434b79cff
2025-07-17 02:27:07 +04:00
Andreas Steiner
236699049b 8326586: Improve Speed of System.map
Backport-of: 37e01efb78
2025-07-17 02:27:07 +04:00
SendaoYan
c4f06ee232 8276995: Bug in jdk.jfr.event.gc.collection.TestSystemGC
Backport-of: 91ce41f96d725a02f9566f87133ed64d448c80cc
2025-07-17 02:27:05 +04:00
Sergey Bylokhov
11627dba0b 8343224: print/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4
Backport-of: b3e63631c7
2025-07-17 02:27:05 +04:00
Satyen Subramaniam
825d308a62 8350616: Skip ValidateHazardPtrsClosure in non-debug builds
Reviewed-by: shade
Backport-of: e43960a017
2025-07-17 02:27:04 +04:00
Goetz Lindenmaier
8c421bd779 8319439: Move BufferNode from PtrQueue files to new files
Reviewed-by: mdoerr
Backport-of: 1e76ba0cd0
2025-07-17 02:27:03 +04:00
Goetz Lindenmaier
065c29c56d 8315742: Open source several Swing Scroll related tests
Backport-of: f0ff001dd7
2025-07-17 02:27:02 +04:00
Satyen Subramaniam
c5a67a29b4 8346264: "Total compile time" counter should include time spent in failing/bailout compiles
Backport-of: 12700cb81b
2025-07-17 02:27:01 +04:00
Matthias Baesken
8cd89fa0df 8350201: Out of bounds access on Linux aarch64 in os::print_register_info
Backport-of: 59810ad745
2025-07-17 02:27:01 +04:00
Satyen Subramaniam
60d9182ed9 8347126: gc/stress/TestStressG1Uncommit.java gets OOM-killed
Backport-of: dff5719e6f
2025-07-17 02:27:00 +04:00
Andreas Steiner
d753165f31 8318636: Add jcmd to print annotated process memory map
Reviewed-by: stuefe
Backport-of: 6f863b2a1b
2025-07-17 02:26:59 +04:00
Goetz Lindenmaier
8c9a286b3c 8348596: Update FreeType to 2.13.3
Backport-of: 6b719eeebc
2025-07-17 02:26:58 +04:00
Goetz Lindenmaier
f7c921d8fb 8348936: [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS 8345728: [Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state
Backport-of: 1e87ff0199
2025-07-17 02:26:57 +04:00
Goetz Lindenmaier
d022fe1320 8349751: AIX build failure after upgrade pipewire to 1.3.81
Backport-of: 19c0ce43e2
2025-07-17 02:26:56 +04:00
Goetz Lindenmaier
40e8df4113 8348600: Update PipeWire to 1.3.81
Backport-of: add3cd1ca4
2025-07-17 02:26:55 +04:00
Goetz Lindenmaier
6208b7495d 8348299: Update List/ItemEventTest/ItemEventTest.java
Use thread-safe StringBuffer to track selecting/deselecting items.
Use auto waitForIdle for all events.
Log handleEvent and ItemListener.
Take screenshot of the list on failure;
Optionally take screenshot after each mouse press+release.

Backport-of: 605b53e4f8
2025-07-17 02:26:54 +04:00
Goetz Lindenmaier
9b3576d063 8341170: Open source several Choice related tests (part 2)
Backport-of: 52eded4a9c
2025-07-17 02:26:54 +04:00
Goetz Lindenmaier
43b9e9b122 8341535: sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering
Backport-of: 593c27e697
2025-07-17 02:26:53 +04:00
Goetz Lindenmaier
48322efa4d 8340560: Open Source several AWT/2D font and rendering tests
Backport-of: ade17ecb6c
2025-07-17 02:26:53 +04:00
Goetz Lindenmaier
72349bac4a 8325435: [macos] Menu or JPopupMenu not closed when main window is resized
Backport-of: 1c514b34c0
2025-07-17 02:26:52 +04:00
Goetz Lindenmaier
be6f37a409 8327071: [Testbug] g-tests for cgroup leave files in /tmp on linux
Backport-of: e889b460c0
2025-07-17 02:26:51 +04:00
Goetz Lindenmaier
0550a00b84 8316497: ColorConvertOp - typo for non-ICC conversions needs one-line fix
Backport-of: dadd9cd1e8
2025-07-17 02:26:51 +04:00
Goetz Lindenmaier
5f70545597 8315876: Open source several Swing CSS related tests
Backport-of: 833a82872c
2025-07-17 02:26:50 +04:00
Dhamoder Nalla
78ca7728c5 8348323: Corrupted timezone string in JVM crash log
Backport-of: 2bef5b4a87
2025-07-17 02:26:50 +04:00
Andrew Haley
31e3e40cce 8180450: secondary_super_cache does not scale well 8337958: Out-of-bounds array access in secondary_super_cache
Reviewed-by: adinn
Backport-of: f11a496de6
2025-07-17 02:26:49 +04:00
Sorna Sarathi N
fd388b64f6 8336499: Failure when creating non-CRT RSA private keys in SunPKCS11
Backport-of: 3251eea1f4
2025-07-17 02:26:49 +04:00
SendaoYan
e3dbe5921c 8314840: 3 gc/epsilon tests ignore external vm options
Backport-of: da8abdc0bf98e8afc9d56ffe25a8fe83ed1531a5
2025-07-17 02:26:48 +04:00
SendaoYan
8ab800c929 8349200: [JMH] time.format.ZonedDateTimeFormatterBenchmark fails
Backport-of: 9d101b2528f4bb1c4dfb74cdc5e37343b9175580
2025-07-17 02:26:47 +04:00
Aleksey Shipilev
e5e3e1300f 8279016: JFR Leak Profiler is broken with Shenandoah
8343754: Problemlist jdk/jfr/event/oldobject/TestShenandoah.java after JDK-8279016

Reviewed-by: phh, serb, ysr
Backport-of: 0be7118b2f
2025-07-17 02:26:47 +04:00
SendaoYan
1decbd702a 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Backport-of: 981d3c2b6edb8ee8233be07cd1ce682200019d1f
2025-07-17 02:26:46 +04:00
Matthias Baesken
b8254a530c 8346082: Output JVMTI agent information in hserr files
Backport-of: c75b1d4bf6
2025-07-17 02:26:45 +04:00
Martin Doerr
62a4b45e5b 8345146: [PPC64] Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: rrich
Backport-of: b42d79eb6a
2025-07-17 02:26:44 +04:00
Goetz Lindenmaier
8d80522c95 8350650: Bump update version for OpenJDK: jdk-21.0.8
Reviewed-by: clanger
2025-07-17 02:26:44 +04:00
Alexey Ushakov
1e8527ec03 JBR-8740 Vulkan: Optimize BLIT (Part 4)
Optimized validation of rendering state.
2025-07-16 19:35:35 +02:00
Alexey Ushakov
c64580b6c6 JBR-8740 Vulkan: Optimize BLIT (Part 3)
Added flush ranges for vulkan memory management
2025-07-16 19:35:35 +02:00
Alexey Ushakov
8c3f3f66bb JBR-8740 Vulkan: Optimize BLIT (Part 2)
Buffer access management refactoring
2025-07-16 19:35:35 +02:00
Maxim Kartashev
666dc515d7 JBR-6876 Wayland: GTK title bar
GTK title bar is displayed iff gtk/gdk/glib libraries are available.
Controlled with -Dsun.awt.wl.WindowDecorationStyle=[gtk|builtin].
2025-07-16 17:29:32 +04:00
Maxim Kartashev
d826711162 JBR-6876 Wayland: refactor frame decorations
Also removes decorations from fullscreen windows
2025-07-16 17:29:27 +04:00
Maxim Kartashev
cf2a6de7a5 JBR-9095 JBR API for HiDPI info 2025-07-16 14:06:24 +04:00
Alexey Ushakov
5a618298c3 JBR-8738 Vulkan: Optimize ISO_BLIT
Remove unnecessary wait
2025-07-15 15:08:31 +02:00
Vitaly Provodin
7d7a091cd8 update exclude list on results of 21.0.7_b1060.11 test runs 2025-07-15 06:48:59 +04:00
Alexey Ushakov
afe53a8a01 JBR-8740 Vulkan: Optimize BLIT (Part 1)
Clip to destination bounds
2025-07-11 14:16:45 +02:00
Vitaly Provodin
11815036f0 update exclude list on results of 21.0.7_b1058.9 test runs 2025-07-10 13:08:34 +04:00
Nikita Gubarkov
25725661ff JBR-8739 Vulkan: Optimize SURFACE_TO_SW_BLIT 2025-07-09 21:22:22 +02:00
Nikita Gubarkov
022af704ff JBR-9070 Vulkan: Add sun.java2d.vulkan=True diagnostics
(cherry picked from commit 21c40e35b0)
2025-07-09 20:43:25 +02:00
Nikita Gubarkov
9fa9603c97 JBR-8738 Vulkan: Optimize ISO_BLIT 2025-07-09 20:42:32 +02:00
Vitaly Provodin
2f00881a48 JBR-9065 split part4 onto parts 2025-07-09 08:00:08 +04:00
Vitaly Provodin
203aad0e7d update exclude list on results of 21.0.7_b1050.5 test runs 2025-07-04 15:56:19 +04:00
Vitaly Provodin
fa662e668a JBR-8626 exclude java/awt/event/HierarchyEvent/AncestorResized/AncestorResized.java from Wayland runs 2025-07-04 15:56:18 +04:00
Nikita Gubarkov
f4eed0aabf JBR-9060 Vulkan: Fix MASK_FILL artifacts
Change local maskPos calculation from integer to floating point subtraction.
2025-07-03 19:25:19 +02:00
Alexey Ushakov
c43a8e77a9 JBR-9039 Vulkan: build failure on no vulkan build
Added native stubs for non vulkan builds
2025-07-03 16:34:11 +02:00
Gustavo Fão Valvassori
44c769baf2 JBR-9035 Support RTL on Decorated Window Title Bar (#540) 2025-07-02 10:54:02 +02:00
Alexey Ushakov
d65e4f3a69 JBR-8911 Backport: 8304825: MacOS metal pipeline - window isn't painted if created during display sleep
Adjusting OpenJDK patch for display link

(cherry picked from commit d1f83aace469f3fdc7e07e00dba9348560accb32)
2025-07-01 18:36:44 +02:00
Nikita Tsarev
01a88fa82d JBR-9043: Return null from getPlatformImageBytesForFormat for images with unknown extents on macOS 2025-07-01 11:26:33 +02:00
Nikita Tsarev
224651121f JBR-9044: Use getPlatformImageBytes to transfer TIFF images on macOS 2025-06-30 14:52:10 +02:00
Nikita Tsarev
333dbcb00f JBR-8952: Respect data flavor when encoding images on macOS 2025-06-27 12:21:11 +02:00
Nikita Gubarkov
c874bfb819 JBR-8737 Vulkan: Respect nonCoherentAtomSize in allocator 2025-06-26 20:42:37 +02:00
Alexey Ushakov
f14bfe0de9 JBR-7725 Vulkan: low performance in SwingMark
Removed extra synchronization in blits and extra copy

(cherry picked from commit 5411f2a1df5e6a6ed60c27837b414799b80d6fa5)
2025-06-26 19:21:41 +02:00
Alexey Ushakov
e948e68a1c JBR-9037 Vulkan: NPE in SwingMark
Added VKOffscreenGraphicsConfig check into UnixSurfaceManagerFactory
2025-06-26 17:44:12 +02:00
Alexey Ushakov
a40497a1a1 JBR-8479 Support Vulkan accelerated mode in perf scripts
Added the new option, minor refactoring

(cherry picked from commit b894b5fa96180c43d7a3f48d5c8b3ca35628b532)
2025-06-26 17:44:12 +02:00
Vitaly Provodin
221844284c JBR-7566 apply standard measurement scripts to Render
(cherry picked from commit be24b3e8ed)
(cherry picked from commit 64e4a227097331d53d9ec35172b5dfeaaa16a5da)
2025-06-26 17:44:12 +02:00
Alexey Ushakov
8ce1865667 JBR-6612 Provide standard scripts for performance measurements
Backported J2DBench, RenderPerfTest and SwingMark scripts from main

(cherry picked from commit 6f1ecb9b47)
(cherry picked from commit 00db5a29669d23a78f7c7e23efe99df3f6ab8ba2)
(cherry picked from commit e1cf099c09)
(cherry picked from commit 559015f5493e1177a044ec848e5e414a7424c201)
(cherry picked from commit fe09bf671b)
(cherry picked from commit f6e5fa71f2ad4247adf0038efd16515fcce4fd18)
2025-06-26 17:44:12 +02:00
Maxim Kartashev
dfa2f93ded JBR-9002 Wayland: deadlock with J2DDemo 2025-06-24 17:19:31 +04:00
Maxim Kartashev
a70d004636 JBR-8994 Wayland test runs cause agents to reboot, cannot be completed 2025-06-24 17:19:27 +04:00
Maxim Kartashev
bcaea044f6 JBR-8990 Wayland: make sure activating surface is valid when performing toFront() 2025-06-24 17:19:14 +04:00
Maxim Kartashev
62e4696d1a JBR-8991 Wayland: javax/swing/JMenu/bug4342646.java: PopupMenu is incorrectly placed at left of menu 2025-06-24 17:19:09 +04:00
Maxim Kartashev
3dd9b5b323 JBR-8626 Wayland: window shadow 2025-06-24 17:19:01 +04:00
Maxim Kartashev
9d1557ed3c JBR-8626 Wayland: sub-surface support 2025-06-24 17:18:46 +04:00
Maxim Kartashev
b6f8f9f1b7 JBR-8626 Wayland: proper encapsulation for WLComponentPeer 2025-06-24 17:08:37 +04:00
Maxim Kartashev
548521e162 JBR-8626 Wayland: uniform data access synhronization for WLComponentPeer 2025-06-24 17:08:30 +04:00
Maxim Kartashev
633895e1d8 JBR-8626 Wayland: relocate rounded corner painting to WLWindowPeer 2025-06-24 17:08:25 +04:00
Maxim Kartashev
fdc9dd44b6 JBR-8626 Wayland: fall-back client-side window decorations 2025-06-24 17:08:20 +04:00
Nikita Gubarkov
677d8edb87 JBR-8682 Vulkan: logicOpEnable Validation Error
(cherry picked from commit 196038a982b4bff0f96297ffd6734a14eb48bac4)
2025-06-23 15:17:11 +02:00
Nikita Gubarkov
52b213d96c JBR-8608 Vulkan: Cleanup capability checks
(cherry picked from commit 305cf4b2526dc6189e6715e7780ec9d8be44d1c6)
2025-06-23 15:14:41 +02:00
Nikita Gubarkov
df366c74c1 JBR-8601 Vulkan: Decouple from Wayland
(cherry picked from commit 91e7cb3969e7f06914cb4202cbe183d9e93c7d56)
2025-06-23 15:04:55 +02:00
Vladimir Dvorak
fc40612222 JBR-8890 DCEVM Handle exceptions in do_topological_class_sorting() 2025-06-21 10:51:04 +02:00
Nikita Gubarkov
8b7153234f JBR-8555 Vulkan: Do not flush the surface on transform change 2025-06-20 18:30:54 +02:00
Nikita Gubarkov
26f247ffb3 JBR-8553 Vulkan: Respect filtering hints in blits 2025-06-20 18:30:14 +02:00
Nikita Gubarkov
aa20c8b9f4 JBR-8525 Vulkan: Fix offscreen surface scaling 2025-06-20 18:29:38 +02:00
Nikita Gubarkov
120dd88dd0 JBR-8485 Vulkan: Blit surface into itself 2025-06-20 18:27:28 +02:00
Nikita Gubarkov
bb371ce7b0 JBR-8478 Vulkan: Pull real supported formats from the device 2025-06-20 18:26:35 +02:00
Nikita Gubarkov
abbf53d08e JBR-8473 Vulkan: Support for various source blit formats via swizzling 2025-06-20 18:26:04 +02:00
Nikita Gubarkov
921053cda6 JBR-8472 Vulkan: Respect source alpha type in blit routines 2025-06-20 18:24:11 +02:00
Nikita Gubarkov
1b0348f1b9 JBR-8471 Vulkan: Reuse descriptor sets in blit routines 2025-06-20 17:03:28 +02:00
Nikita Gubarkov
8120022a66 JBR-8448 Vulkan: Cleanup & fix Sw->Surface blit 2025-06-20 17:01:12 +02:00
Nikita Gubarkov
ac68b628c7 JBR-8447 Vulkan: Implement multi-view images 2025-06-20 16:55:07 +02:00
Nikita Gubarkov
99d3227951 JBR-8442 Vulkan: Fix OPAQUE mode rendering 2025-06-20 16:00:20 +02:00
Nikita Gubarkov
9116f5b953 JBR-8441 Vulkan: Update CArrayUtil.h 2025-06-20 15:59:56 +02:00
Nikita Gubarkov
13ddb27c38 JBR-8440 Vulkan: Pass the surface format to native code 2025-06-20 15:58:51 +02:00
Nikita Gubarkov
6e0ea66116 JBR-8439 Vulkan: Cleanup Surface->Surface blit 2025-06-20 15:48:45 +02:00
Nikita Gubarkov
f6b0380fd9 JBR-8424 Vulkan: Format-aware Surface->Sw blit 2025-06-20 15:46:07 +02:00
Nikita Gubarkov
70a658f57a JBR-8423 Vulkan: Expose VKFormat on Java side 2025-06-20 15:43:05 +02:00
Nikita Gubarkov
8fd5f9c426 JBR-8413 Vulkan: Make surfaces VKGPU-aware 2025-06-20 14:58:38 +02:00
Nikita Gubarkov
03cf016f2d JBR-8412 Vulkan: Add generic offscreen GraphicsConfig implementation 2025-06-20 14:55:23 +02:00
Nikita Gubarkov
1e1e4b38c6 JBR-8411 Vulkan: Move generic VKGraphicsConfig implementation into shared code 2025-06-20 14:53:35 +02:00
Nikita Gubarkov
3b4da58e2c JBR-8410 Vulkan: Expose VKDevice on Java side 2025-06-20 12:54:46 +02:00
Nikita Gubarkov
1b439f8a98 JBR-8391 Vulkan: Split instance and device into separate files 2025-06-20 12:29:41 +02:00
Nikita Gubarkov
4516560f65 JBR-8363 Vulkan: Organize usage of FlushRenderPass and FlushSurface 2025-06-20 12:23:31 +02:00
Alexey Ushakov
4a94eadd90 JBR-8418 Vulkan: RenderPerfTest Image test does not work properly
Passed transform to VKRenderer code
Flush content of the destination surface
2025-06-19 18:06:01 +02:00
Alexey Ushakov
42db39fb4e JBR-8430 Vulkan: move RenderingContext into Renderer
Moved context to the VKRenderer
2025-06-19 18:04:23 +02:00
Alexey Ushakov
cb751d0b52 JBR-8398 Vulkan: refactor shader code to use transforms
Replaced normalization logic with transform matrix
2025-06-19 16:29:36 +02:00
Vitaly Provodin
f711061895 update exclude list on results of 21.0.7_b1038.54 test runs 2025-06-17 13:39:48 +04:00
Vladimir Lagunov
6d0eb24888 Revert "JBR-7700 Disable java.io over java.nio.file in JBR21 by default"
This reverts commit 54817b2e8d.
2025-06-11 13:37:46 +02:00
Vitaly Provodin
3c90ecd46c update exclude list on results of 21.0.7_b1034.51 test runs 2025-06-11 03:53:12 +04:00
Vladimir Lagunov
54817b2e8d JBR-7700 Disable java.io over java.nio.file in JBR21 by default
The feature is ready month ago, but every time some new test appears that prevents the feature from being deployed.

By disabling the flag, it becomes possible to roll out the new functionality with the ability to enable it. So, it becomes possible to start verifying the new feature easier.

Meanwhile, we'll keep trying to enable the new feature by default.
2025-06-10 15:54:30 +02:00
Vitaly Provodin
c70e17b88b update exclude list after updating agents 2025-06-07 05:07:43 +04:00
Nikita Tsarev
bcd6f0c9c0 fixup! JBR-5860: Implement drag-and-drop [WLToolkit] 2025-06-06 18:42:33 +02:00
Dmitry Drobotov
646d2e478f JBR-8490 Improve searching for scroll bars in ScrollAreaAccessibility.
Use JScrollPane.getVerticalScrollBar/getHorizontalScrollBar methods to look for scroll bars. In some cases a scroll bar might be not a direct child of the scroll area, but it can still be assigned to the vertical/horizontalScrollBar property.
2025-06-06 18:36:25 +02:00
Dmitry Drobotov
4214897d5e JBR-8408 Post accessibility value changed events for scroll bars
3rd party apps might want to subscribe for scroll bar value changed events to track scroll position. VoiceOver and Zoom don't react on these events.
2025-06-06 18:08:05 +02:00
Nikita Tsarev
189907d2ae JBR-5860: Implement drag-and-drop [WLToolkit] 2025-06-06 16:51:01 +02:00
Maxim Kartashev
4b17fcc46e JBR-8949 Wayland: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java: Wrong GTK library version: null 2025-06-06 12:19:16 +04:00
Nikita Tsarev
03804770b6 JBR-8912: Fix pasting unicode content from clipboard [WLToolkit] 2025-06-05 13:43:35 +02:00
Vladimir Dvorak
1d0cbadf05 JBR-8850 DCEVM: Enable interface replacement 2025-06-04 22:13:03 +02:00
Vladimir Dvorak
8cfd55e764 JBR-8636 DCEVM - eagerly set new_version in MagicAccessorImpl 2025-06-04 22:12:42 +02:00
Vitaly Provodin
b06068de9c JBR-8589 permit the case when lambda's parent is from the CDS archive, add omitted Outer.java 2025-06-03 14:01:42 +04:00
Vladimir Lagunov
eb027e2bc9 JBR-8859 Fix assertion in jtreg:test/jdk/com/sun/jdi/SetLocalWhileThreadInNative.java
The test relied on hard-coded constant that knows internals of FileInputStream.read calls, and these internals changed in JBR-7700.
2025-06-03 11:28:56 +02:00
Maxim Kartashev
5fbd7f38e0 JBR-7087 Wayland: enable more GTK tests 2025-06-03 10:03:19 +04:00
Maxim Kartashev
44754c75f9 JBR-8918 Wayland: javax/swing/LookAndFeel/8145547/DemandGTK2.sh fails due to no libgtk found 2025-06-03 09:59:26 +04:00
Vladimir Lagunov
0bf04b04b0 JBR-8852 Let tests that tune MaxDirectMemorySize work with io over nio
The problem is that java.nio.file always creates a direct buffer inside, and it's unavoidable. However, it's avoidable to tune java.nio.file that way, that direct buffers are never cached for latter use. This trick helps with tests that expect to be exclusive owners of the whole direct memory.
2025-06-02 18:10:12 +02:00
Vitaly Provodin
ca69af5c29 update exclude list on results of 21.0.7_b1021.38 test runs 2025-06-02 13:04:02 +04:00
Vitaly Provodin
1527cb78dd clean up fixed issues from exclude lists 2025-05-30 08:30:58 +04:00
Vitaly Provodin
bd8b5fa16f update exclude list on results of 21.0.7_b1020.35 test runs 2025-05-26 09:17:32 +04:00
Nikita Tsarev
c53afaf1c6 fixup! JBR-8833: Refactor Wayland data device abstraction [WLToolkit] 2025-05-23 18:27:35 +02:00
Sergey Shelomentsev
81b393aa37 fixup! JBR-4154 use -V to sort versions 2025-05-23 18:26:43 +03:00
Nikita Tsarev
8b4249aa00 JBR-8833: Refactor Wayland data device abstraction [WLToolkit] 2025-05-23 12:40:01 +02:00
Vitaly Provodin
a8b4f08808 fixup! JBR-4154 fix extracting version info from sources 2025-05-23 12:35:37 +04:00
Vitaly Provodin
88532ca2e1 fixup! clean up fixed issues from exclude lists 2025-05-23 09:30:08 +04:00
Vitaly Provodin
4b01cab791 clean up fixed issues from exclude lists 2025-05-23 06:18:47 +04:00
Vitaly Provodin
971aaf09d7 fixup! update exclude list on results of 21.0.7_b992.24 test runs 2025-05-23 03:50:30 +04:00
Vitaly Provodin
219ad23c66 JBR-8589 disable CDS specifically for Linux-x86 2025-05-22 02:48:11 +04:00
Vitaly Provodin
20015bc3b7 JBR-8589 replace system CDS with an actual one for IntelliJ 2025-05-21 09:20:01 +04:00
Vitaly Provodin
20bfe049b3 update exclude list on results of 21.0.7_b992.24 test runs 2025-05-21 09:12:19 +04:00
Artem Bochkarev
e32b9d4ebc fixup! JBR-8548 Add possibility to build without out-of-process part in Linux. 2025-05-21 08:17:43 +04:00
Artem Bochkarev
8ec3e80317 JBR-8548 Add possibility to build without out-of-process part in Linux. 2025-05-20 20:30:54 +04:00
Maxim Kartashev
c1325a3735 JBR-6979 Modernize more WaitForSingleObject on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseModernSynchAPI
to switch back to the original implementation
2025-05-19 17:25:34 +03:00
Maxim Kartashev
cc2280fd08 fixup! JBR-8664 Optimize sun.nio.fs.WindowsPath.compareTo 2025-05-19 17:44:06 +04:00
Maxim Kartashev
af4d8df355 JBR-8643 Wayland: popup will not appear if located outside of parent window 2025-05-19 17:27:12 +04:00
Nikita Tsarev
8fe8fb8108 JBR-8685: Add new macOS 15.4 shortcuts to the system shortcuts API 2025-05-19 11:29:07 +02:00
Vladimir Lagunov
997c61fdc5 JBR-8664 Optimize sun.nio.fs.WindowsPath.compareTo 2025-05-19 11:24:05 +04:00
Vladimir Lagunov
1651aa4318 JBR-8664 Optimize sun.nio.fs.UnixPath.compareTo 2025-05-16 10:53:40 +04:00
Vladimir Dvorak
a6cdff5987 JBR-8316 DCEVM: Allow idnum to exceed total method count 2025-05-15 18:17:40 +02:00
Maxim Kartashev
5fc78ed3da JBR-8304 Wayland: UI/UnninstallUIMemoryLeaks/UnninstallUIMemoryLeaks.java throws HeadlessException: No X11 DISPLAY variable was set
Pass JVM options to sub-tests in a more reliable and uniform fashion
2025-05-15 16:59:51 +04:00
Vladimir Dvorak
e09479f433 JBR-8636 DCEVM: Fix crashes when multiple class redefinitions are processed simultaneously 2025-05-14 20:25:07 +02:00
bourgesl
d54ab6c19b JBR-8276: fixed CPlaformWindow.flushBuffers() to use LWCTooolkit.invokeAndWait() discarded when CGDisplayRegisterReconfigurationCallback() is in progress (ThreadUtilities.blockingThread + removed isWithinPowerTransition code)
- fixed CVDisplayLink management on wake-ups/sleep and display reconfiguration
- restored opengl changes
2025-05-14 17:27:26 +02:00
bourgesl
8c3a5c3252 JBR-8278: fixed performOnMainThreadWaiting run block condition to fix FullscreenWindowProps and NoResizeEventOnDMChangeTest tests 2025-05-14 17:06:49 +02:00
Maxim Kartashev
d08c6eb496 JBR-8700 Wayland: Glitchy resize in J2Ddemo 2025-05-14 18:27:33 +04:00
Vitaly Provodin
baf55e9e53 update exclude list on results of 21.0.7_b982.16 test runs 2025-05-14 05:51:46 +04:00
Vitaly Provodin
4482618c0b update exclude list on results of 21.0.7_b968.14 test runs 2025-05-09 04:42:54 +04:00
Sergey Shelomentsev
2c7e868474 JBR-5819 fix custom title bar tests 2025-05-06 23:38:47 +03:00
Nikita Gubarkov
510b4fa816 fixup! JBR-8673 Disable watch.desktop.geometry on excessive event count 2025-05-03 12:53:40 +02:00
Nikita Tsarev
8ee1a7eece JBR-8684: Fix for a buffer overrun when reading system hotkey configuration with unexpected shortcuts on macOS 2025-04-30 11:34:20 +02:00
Vitaly Provodin
99bb681fc4 update exclude list on results of 21.0.7_b968.7 test runs 2025-04-29 04:06:19 +04:00
Nikita Gubarkov
d474af791d JBR-8673 Disable watch.desktop.geometry on excessive event count 2025-04-28 16:12:30 +02:00
Vitaly Provodin
146591e096 update exclude list on results of 21.0.7 test runs 2025-04-26 03:36:16 +04:00
Maxim Kartashev
ff557b2f73 JBR-8639 Wayland: exclude tests depending on mouseMove 2025-04-23 11:39:36 +04:00
Maxim Kartashev
ea2a91b83e JBR-8618 Wayland: GTK LaF does not change appearance when system theme changes 2025-04-23 11:22:38 +04:00
Maxim Kartashev
d26358d57c JBR-7892 Generate a descriptive error message when awt cannot be loaded 2025-04-23 11:18:41 +04:00
Sergey Shelomentsev
444b8d9d04 JBR-8632 Remove UI scales above 1.0 for tests 2025-04-22 16:07:36 +03:00
Vladimir Lagunov
a0c48294d2 JBR-7700 Classes from package java.io. use java.nio.file inside
The feature is ON by default. It can be disabled by specifying `-Djbr.java.io.use.nio=false`
2025-04-17 17:57:04 +04:00
Martin Balao
c91670346a 8347847: Enhance jar file support
Backport-of: 013d9f988559bc7e29449967c4d35b80d692ef11
Reviewed-by:
2025-04-17 09:03:49 +03:00
Prasanta Sadhukhan
57fc667fdb 8343007: Enhance Buffered Image handling
Backport-of: e95aaf16aa202b49892ccb05ded783114b2d8534
2025-04-17 09:03:49 +03:00
Alexei Voitylov
e59735f32d 8342562: Enhance Deflater operations
Backport-of: 17f7df55fb762488c1054985830ea13840489df2
2025-04-17 09:03:49 +03:00
Martin Balao
c9b65634e8 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: andrew
Backport-of: 8fce5275fc
2025-04-17 09:03:49 +03:00
Alexei Voitylov
6142b58de5 8338430: Improve compiler transformations
Backport-of: 456be5090b6a181afb85d72ac8473e4df3398032
2025-04-17 09:03:49 +03:00
Alexei Voitylov
efff1d815b 8337692: Better TLS connection support
Backport-of: f06ecf8072b39ffb9eedfc629f181bd805115e0e
2025-04-17 09:03:49 +03:00
Nibedita Jena
056e46f364 8337494: Clarify JarInputStream behavior
Backport-of: 353f6e90bec7248016b2c733bae52ed6ca06fc20
2025-04-17 09:03:49 +03:00
Andrew John Hughes
b7a165efd6 8331735: UpcallLinker::on_exit races with GC when copying frame anchor 8343144: UpcallLinker::on_entry racingly clears pending exception with GC safepoints 8286875: ProgrammableUpcallHandler::on_entry/on_exit access thread fields from native
Backport-of: 461ffafeba
2025-04-17 09:03:49 +03:00
Roman Marchenko
dc062e8f73 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: yan
Backport-of: bdfb41f977
2025-04-17 09:03:48 +03:00
Andrew John Hughes
292386aea2 8352097: (tz) zone.tab update missed in 2025a backport
Reviewed-by: serb, dcherepanov
2025-04-17 09:03:48 +03:00
Alexey Bakhtin
1e888ac836 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Backport-of: 6273ab97dc
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
770d0854a3 8344581: [TESTBUG] java/awt/Robot/ScreenCaptureRobotTest.java failing on macOS
Reviewed-by: mbaesken
Backport-of: 0d30b869d8
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
a3544617b9 8339356: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine
Backport-of: f6e7713bb6
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
ad1669d49c 8342635: javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java creates tmp file in src dir
8342634: javax/imageio/plugins/wbmp/WBMPStreamTruncateTest.java creates temp file in src dir

Backport-of: 02ea4b548e
2025-04-17 09:03:48 +03:00
Matthias Baesken
96458eba85 8349039: Adjust exception No type named <ThreadType> in database
Backport-of: 669f8c0c07
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
ae064d69b0 8327476: Upgrade JLine to 3.26.1
Reviewed-by: mdoerr
Backport-of: aaa90b3005
2025-04-17 09:03:48 +03:00
Suchismith Roy
22993e612d 8349729: [21u] AIX jtreg tests fail to compile with qvisibility=hidden
Reviewed-by: goetz
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
145d40b327 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland
Backport-of: 6f4fc82149
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
101b509203 8346828: javax/swing/JScrollBar/4865918/bug4865918.java still fails in CI
Backport-of: 9fafd63d46
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
ecdb7bcd3e 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI
Backport-of: a0b7c4f015
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
9107d9f00c 8338595: Add more linesize for MIME decoder in macro bench test Base64Decode
Backport-of: 7458952ded
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
569d32abc2 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC
Backport-of: dab2a0b597
2025-04-17 09:03:48 +03:00
Antonio Vieiro
6a0fbe9cef 8339728: [Accessibility,Windows,JAWS] Bug in the getKeyChar method of the AccessBridge class
Backport-of: ecdc322029
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
dd764e60c1 8342098: Write a test to compare the images
Backport-of: 47ebf8d868
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
fd382bd26b 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java
Backport-of: 84c99fb91f
2025-04-17 09:03:48 +03:00
Goetz Lindenmaier
950a1571f9 8328730: Convert java/awt/print/bug8023392/bug8023392.html applet test to main
Backport-of: 4047a3623a
2025-04-17 09:03:48 +03:00
Matthias Baesken
c3434f068e 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Backport-of: 5e92a4ceaf
2025-04-17 09:03:48 +03:00
Matthias Baesken
4df1d6ef46 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
Backport-of: 82e16ba248
2025-04-17 09:03:48 +03:00
Matthias Baesken
0334e25009 8345676: [ubsan] ProcessImpl_md.c:561:40: runtime error: applying zero offset to null pointer on macOS aarch64
Backport-of: 0285020c7e
2025-04-17 09:03:48 +03:00
SendaoYan
c5170498ff 8322983: Virtual Threads: exclude 2 tests
Backport-of: cf28fd4cbc
2025-04-17 09:03:48 +03:00
Matthias Baesken
fb4c755723 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup
Backport-of: 70eec9001a
2025-04-17 09:03:48 +03:00
Joachim Kern
567cbe69ee 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"
Backport-of: f9b11332ec
2025-04-17 09:03:47 +03:00
Matthias Baesken
353f9c998b 8347576: Error output in libjsound has non matching format strings
Backport-of: 07a0dcbabc
2025-04-17 09:03:47 +03:00
Matthias Baesken
4f1a1eec69 8346881: [ubsan] logSelection.cpp:154:24 / logSelectionList.cpp:72:94 : runtime error: applying non-zero offset 1 to null pointer
Backport-of: 0a81676fae
2025-04-17 09:03:47 +03:00
Matthias Baesken
022916eebe 8345569: [ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
Backport-of: 1d2ccaeaa3
2025-04-17 09:03:47 +03:00
SendaoYan
8fae2eeb7c 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk
Backport-of: a07d784919ae232a890bf79de27b8623e294ad20
2025-04-17 09:03:47 +03:00
SendaoYan
c6822cedc2 8347171: (dc) java/nio/channels/DatagramChannel/InterruptibleOrNot.java fails with virtual thread factory
Backport-of: 687ea73b00fd047305bfa1dda8187276bfb68dbf
2025-04-17 09:03:47 +03:00
SendaoYan
bd09ae2b81 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position
Backport-of: d562d3c7a9
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
f8e64d144e 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
Backport-of: f2a9d26b2e
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
25e8dee671 8302111: Serialization considerations
Reviewed-by: andrew
Backport-of: 369c573383
2025-04-17 09:03:47 +03:00
Matthias Baesken
d74327f308 8319233: AArch64: Build failure with clang due to -Wformat-nonliteral warning
Backport-of: 439ed046e4
2025-04-17 09:03:47 +03:00
SendaoYan
952026a25f 8339834: Replace usages of -mx and -ms in some tests
Backport-of: 1d39249231
2025-04-17 09:03:47 +03:00
SendaoYan
671d32af05 8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Backport-of: 4d8fb80732
2025-04-17 09:03:47 +03:00
Antonio Vieiro
667663f0ac 8346587: Distrust TLS server certificates anchored by Camerfirma Root CAs
Reviewed-by: andrew
Backport-of: d2262fe4e9b3118d4c4ab152aa2771b744398367
2025-04-17 09:03:47 +03:00
Jan Kratochvil
118ab46587 8346713: [testsuite] NeverActAsServerClassMachine breaks TestPLABAdaptToMinTLABSize.java TestPinnedHumongousFragmentation.java TestPinnedObjectContents.java
Reviewed-by: abakhtin
Backport-of: 43b7e9f547
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
3ac9c43c43 8345368: java/io/File/createTempFile/SpecialTempFile.java fails on Windows Server 2025
Backport-of: b0c131e872
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
872fd09873 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Backport-of: 2e00816ac3
2025-04-17 09:03:47 +03:00
Christoph Langer
3611c9c000 8349603: [21u, 17u, 11u] Update GHA JDKs after Jan/25 updates
Reviewed-by: mbaesken, sgehwolf
2025-04-17 09:03:47 +03:00
Martin Doerr
e55582bd5c 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Backport-of: afcc2b03af
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
4ffcc95e61 8340411: open source several 2D imaging tests
Backport-of: 8dcf7b8fa7
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
1844fefe00 8330702: Update failure handler to don't generate Error message if cores actions are empty
Backport-of: 548e95a689
2025-04-17 09:03:47 +03:00
Joachim Kern
3857c13f04 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: mdoerr, stuefe
Backport-of: ced9906635
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
06a7d486af 8347911: Limit the length of inflated text chunks
Reviewed-by: andrew
Backport-of: 398a580518
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
9aa750cf29 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Backport-of: 8858de393a
2025-04-17 09:03:47 +03:00
Goetz Lindenmaier
f30daca524 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Backport-of: 4f5a241ec1
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
6ccba42653 8226938: [TEST_BUG]GTK L&F: There is no Details button in FileChooser Dialog
Backport-of: fe98f86b57
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
df2e600cb9 8340078: Open source several 2D tests
Backport-of: 88a1c0550e
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
a7fcd521a7 8332917: failure_handler should execute gdb "info threads" command on linux
Backport-of: ec88c6a872
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
836a5d4cde 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Backport-of: c2cca2ab44
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
205360e8ae 8329692: Add more details to FrameStateTest.java test instructions
Backport-of: 6f98d8f58f
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
d2336837a1 8325042: Remove unused JVMDITools test files
Backport-of: 0cc8e5beed
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
40d5429817 8320691: Timeout handler on Windows takes 2 hours to complete
Backport-of: 4d50df63b6
2025-04-17 09:03:46 +03:00
Sergey Bylokhov
3e285747f1 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Backport-of: 6f30762356
2025-04-17 09:03:46 +03:00
Sergey Bylokhov
5af25ba580 8347427: JTabbedPane/8134116/Bug8134116.java has no license header
Backport-of: f67b703625
2025-04-17 09:03:46 +03:00
SendaoYan
b2cfcd95b3 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr
Backport-of: f5ab7dff40
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
306bf71a86 8343378: Exceptions in javax/management DeadLockTest.java do not cause test failure
Backport-of: 4a70c83bd0
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
fd8706d9e9 8327986: ASAN reports use-after-free in DirectivesParserTest.empty_object_vm
Reviewed-by: rrich
Backport-of: 47f33a59ea
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
4df9a1636e 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main
Backport-of: 269163d509
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
1dd25f3822 8327098: GTest needs larger combination limit
Backport-of: c901da48e3
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
89abffdf64 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Backport-of: 041510dc21
2025-04-17 09:03:46 +03:00
Severin Gehwolf
2241d2315e 8347129: cpuset cgroups controller is required for no good reason
Backport-of: 2de71d0445
2025-04-17 09:03:46 +03:00
Radek Cap
dc683c9f30 8347965: (tz) Update Timezone Data to 2025a
Reviewed-by: andrew
Backport-of: caa3c78f78
2025-04-17 09:03:46 +03:00
Varada M
50e6d661f1 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)
Backport-of: 8b22517cb0
2025-04-17 09:03:46 +03:00
Chen Liang
9db48a745e 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Backport-of: 7aa0cbc91d
2025-04-17 09:03:46 +03:00
Aleksey Shipilev
26676890e9 8347256: Epsilon: Demote heap size and AlwaysPreTouch warnings to info level
Backport-of: 1a0fe49732
2025-04-17 09:03:46 +03:00
William Kemper
18d095fbaf 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
Reviewed-by: ysr, shade
Backport-of: 6a29a8110e
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
9a5723ec85 8331977: Crash: SIGSEGV in dlerror()
Reviewed-by: rrich
Backport-of: 24530022d0
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
a3ba2e21da 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Backport-of: 4b92816743
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
29ef77d5e3 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html
Backport-of: f12c370d73
2025-04-17 09:03:46 +03:00
Goetz Lindenmaier
3f36dcc433 8341111: open source several AWT tests including menu shortcut tests
Backport-of: 04c9c5f0a7
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
9374aaa014 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Backport-of: c43202baf6
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
f346730792 8329320: Simplify awt/print/PageFormat/NullPaper.java test
Backport-of: 5cf457b743
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
a27abe87f4 8324838: test_nmt_locationprinting.cpp broken in the gcc windows build
Backport-of: a2229b18bf
2025-04-17 09:03:45 +03:00
Radek Cap
21cdc0c3ec 8343599: Kmem limit and max values swapped when printing container information
Backport-of: 6cdebf0e4c
2025-04-17 09:03:45 +03:00
Radek Cap
89da5437b1 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Backport-of: 9267dfa63b
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b4786a889d 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04
Backport-of: 31ceec7cd5
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b1d0d17f08 8341982: Simplify JButton/bug4323121.java
Backport-of: 6fa5cea984
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
401d2e88c7 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Backport-of: f1f15370fa
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
4514034e52 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Backport-of: 6bc3971f64
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
8df633beac 8341412: Various test failures after JDK-8334305
Backport-of: 49501fe9c4
2025-04-17 09:03:45 +03:00
Aleksey Shipilev
389e0b4bb5 8311546: Certificate name constraints improperly validated with leading period
8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed
8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test

Reviewed-by: simonis
Backport-of: bfaf5704e7
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
d4971ea6b9 8334305: Remove all code for nsk.share.Log verbose mode
Backport-of: 855c8a7def
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
7859ee7f04 8329322: Convert PageFormat/Orient.java to use PassFailJFrame
Backport-of: f713766cab
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b97af83d5e 8320676: Manual printer tests have no Pass/Fail buttons, instructions close set 1
Backport-of: 7eb78e3320
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
44f7cb9da8 8326525: com/sun/tools/attach/BasicTests.java does not verify AgentLoadException case
Backport-of: b8fc4186d5
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b0c421bf50 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Backport-of: d97de8260c
2025-04-17 09:03:45 +03:00
Satyen Subramaniam
b2aced3646 8346887: DrawFocusRect() may cause an assertion failure
Backport-of: 8eddf67c82
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b44c60e4a2 8342508: Use latch in BasicMenuUI/bug4983388.java instead of delay
Backport-of: 02ec8ca2d6
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
0e76886643 8342498: Add test for Allocation elimination after use as alignment reference by SuperWord
Backport-of: f62fc48441
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
004bc08e11 8333403: Write a test to check various components events are triggered properly
Backport-of: a02d895f7a
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
491bc38801 8340687: Open source closed frame tests #1
Backport-of: 47fcf5a3b0
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
6fc2256b92 8324807: Manual printer tests have no Pass/Fail buttons, instructions close set 2
Backport-of: ed821cbe85
2025-04-17 09:03:45 +03:00
Goetz Lindenmaier
b8a6e2f1c9 8328819: Remove applet usage from JFileChooser tests bug6698013
Backport-of: e3588bba04
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
42a9fae741 8227529: With malformed --app-image the error messages are awful
Backport-of: 56d4c33f40
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
b3381c39ba 8304701: Request with timeout aborts later in-flight request on HTTP/1.1 cxn
Backport-of: bddcd086b7
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
de9f992b12 8325529: Remove unused imports from ModuleGenerator test file
Reviewed-by: rschmelter
Backport-of: d70156d2e2
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
50aab3636d 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Backport-of: 777c20cb14
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
f6db73de79 8325659: Normalize Random usage by incubator vector tests
Backport-of: 4bba445d83
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
f4adfbf051 8198237: [macos] Test java/awt/Frame/ExceptionOnSetExtendedStateTest/ExceptionOnSetExtendedStateTest.java fails
Backport-of: 862e615696
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
c358ae8b07 8327505: Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails
Backport-of: 2b79c22c43
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
1d99eb5159 8327994: Update code gen in CallGeneratorHelper
Backport-of: ac2f8e5af8
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
7fe48b932d 8317636: Improve heap walking API tests to verify correctness of field indexes
Backport-of: f31957e6a1
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
85ced7ecb4 8320706: RuntimePackageTest.testUsrInstallDir test fails on Linux
Backport-of: 726f854b14
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
91908decc1 8317283: jpackage tests run osx-specific checks on windows and linux
Backport-of: 179792beb4
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
f9432c236c 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Backport-of: e5ea9aa9aa
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
37caf0cb8c 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Backport-of: 5c4f1ef746
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
40cb6fb0a3 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main
Backport-of: ba05c6d0b6
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
d482c14ea8 8314752: Use google test string comparison macros
Reviewed-by: mbaesken
Backport-of: a0d0f21f08
2025-04-17 09:03:44 +03:00
Aleksey Shipilev
b8bc87bfcf 8342988: GHA: Build JTReg in single step
Reviewed-by: serb, phh
Backport-of: 88dc655a6d
2025-04-17 09:03:44 +03:00
Liam Miller-Cushon
8beae071de 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: goetz, vromero
Backport-of: e36ce5f034
2025-04-17 09:03:44 +03:00
Fabian Meumertzheim
5d0b5df581 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Backport-of: d7ef3ac0b7
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
a56ad3c036 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: mbaesken
Backport-of: cc9a8aba67
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
61b1e3d432 8339524: Clean up a few ExtendedRobot tests
Backport-of: 16232578d9
2025-04-17 09:03:44 +03:00
Goetz Lindenmaier
7d718c5edc 8343396: Use OperatingSystem, Architecture, and OSVersion in jpackage tests
Backport-of: a63f501b92
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
d9197c3e62 8340719: Open source AWT List tests
Backport-of: b11066b56b
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
3872012f8f 8340480: Bad copyright notices in changes from JDK-8339902
Backport-of: fdc16a3734
2025-04-17 09:03:43 +03:00
Amit Kumar
e9cb71e779 8346847: [s390x] minimal build failure
Backport-of: 807f6f7fb8
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
f4eaf52693 8344326: Move jpackage tests from "jdk.jpackage.tests" package to the default package
Reviewed-by: mbaesken
Backport-of: 2c509a158f
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
cb5a4331ae 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty
Reviewed-by: mbaesken
Backport-of: 0105203575
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
c654f2a16e 8340313: Crash due to invalid oop in nmethod after C1 patching
Reviewed-by: mdoerr
Backport-of: 58d39c317e
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
79aac86a68 8332158: [XWayland] test/jdk/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
Backport-of: b1b4cd429a
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
9fdec5dd2c 8328558: Convert javax/swing/JCheckBox/8032667/bug8032667.java applet test to main
Backport-of: ef2bd57213
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
6279bcb27f 8315825: Open some swing tests
Backport-of: e015e6ce28
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
bba35b69f2 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: mdoerr
Backport-of: bd1b942741
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
c651b34cdf 8335468: [XWayland] JavaFX hangs when calling java.awt.Robot.getPixelColor
Backport-of: 965aace297
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
e0177f6e5a 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only
Backport-of: 7133d1b983
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
e4edfdd26e 8339883: Open source several AWT/2D related tests
Backport-of: b26645f64b
2025-04-17 09:03:43 +03:00
SendaoYan
136a4320c0 8321818: vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'
Backport-of: ea50c54a14
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
57a3798ac4 8345414: Google CAInterop test failures
Backport-of: 8e9ba788ae
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
63ace972f9 8342602: Remove JButton/PressedButtonRightClickTest test
Backport-of: 8647c00114
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
d2d5f9f9f8 8343101: Rework BasicTest.testTemp test cases
8343178: Test BasicTest.java javac compile fails cannot find symbol

Reviewed-by: mdoerr
Backport-of: a95374f588
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
cf8e85e841 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Reviewed-by: mdoerr
Backport-of: fdfe503d01
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
3b5511a0d4 8328553: Get rid of JApplet in test/jdk/sanity/client/lib/SwingSet2/src/DemoModule.java
Backport-of: 7d1bbff076
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
7353b18d6b 8333647: C2 SuperWord: some additional PopulateIndex tests
Backport-of: 487c477181
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
e6fc46301f 8326421: Add jtreg test for large arrayCopy disjoint case.
Backport-of: 73cdc9a070
2025-04-17 09:03:43 +03:00
Goetz Lindenmaier
a3d9239a12 8329210: Delete Redundant Printer Dialog Modality Test
Backport-of: 7ac2f914aa
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
d401a7c2f5 8315883: Open source several Swing JToolbar tests
Backport-of: 62c0a1b9ac
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
7380e231a7 8316056: Open source several Swing JTree tests
Backport-of: 5f6cee86ef
2025-04-17 09:03:42 +03:00
SendaoYan
283b04ec2c 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
8342145: File libCreationTimeHelper.c compile fails on Alpine

Reviewed-by: sgehwolf, goetz, phh
Backport-of: daa67f45f0
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
0aba73d012 8315952: Open source several Swing JToolbar JTooltip JTree tests
Backport-of: d2b2f6759f
2025-04-17 09:03:42 +03:00
Matthias Baesken
13218efce4 8339475: Clean up return code handling for pthread calls in library coding 8341135: Incorrect format string after JDK-8339475
Reviewed-by: mdoerr
Backport-of: 2a2ecc994e
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
3c1d37e8b4 8344646: The libjsig deprecation warning should go to stderr not stdout
Backport-of: efeacfee01
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
e6ef24750d 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
Backport-of: bb7a8403ba
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
0d2a273587 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Backport-of: 59ffac84d3
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
70db18b6ff 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
Backport-of: 52c0b09b62
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
90dd8cb4e4 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
Backport-of: 342fe42555
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
194c96397b 8343128: PassFailJFrame.java test result: Error. Bad action for script: build}
Use HTML character entity in javadoc to prevent jtreg from recognising
PassFailJFrame.java as a test file.

Backport-of: 7bca0af481
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
83ea8f675f 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
Backport-of: 7e87c071b0
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
1c381d252f 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Backport-of: 0853aee3b3
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
e3f1eb357b 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Backport-of: 83e9e482b1
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
be27e98de6 8339943: Frame not disposed in java/awt/dnd/DropActionChangeTest.java
Backport-of: fa502ecd2d
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
ce92c65703 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main
Backport-of: cc5cda5587
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
ce8180ca8b 8328130: Remove applet usage from JColorChooser tests Test4759934
Backport-of: be1dd275a4
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
221120fce5 8316149: Open source several Swing JTree JViewport KeyboardManager tests
8316627: JViewport Test headless failure

Reviewed-by: mbaesken
Backport-of: a021dbcb9e
2025-04-17 09:03:42 +03:00
Antonio Vieiro
d046a4cee8 8341424: GHA: Collect hs_errs from build time failures
8342704: GHA: Report truncation is broken after JDK-8341424

Reviewed-by: shade
Backport-of: bf92c49839
2025-04-17 09:03:42 +03:00
Antonio Vieiro
8545fe61ea 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Backport-of: 269852b906
2025-04-17 09:03:42 +03:00
Taizo Kurashige
f308148f5b 8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows platform
Reviewed-by: asemenyuk, phh
Backport-of: 48e3b6511a
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
2246df7cfb 8328827: Convert java/awt/print/PrinterJob/PrinterDialogsModalityTest/PrinterDialogsModalityTest.html applet test to main
Backport-of: db01fcd6d8
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
2e7a04b067 8328717: Convert javax/swing/JColorChooser/8065098/bug8065098.java applet test to main
Backport-of: a1fbbffb5e
2025-04-17 09:03:42 +03:00
Goetz Lindenmaier
4a83c7c75d 8328370: Convert java/awt/print/Dialog/PrintApplet.java applet test to main
Backport-of: 476421efe5
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
3257be542d 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main
Backport-of: 4e83f4cfc7
2025-04-17 09:03:41 +03:00
Sonia Zaldana Calles
0b8ea86d7a 8316371: Open some swing tests 6
Backport-of: d3a79b5861
2025-04-17 09:03:41 +03:00
Sonia Zaldana Calles
81c990b80a 8316218: Open some swing tests 5
Backport-of: 788e6e1548
2025-04-17 09:03:41 +03:00
Sonia Zaldana Calles
988131cf88 8316146: Open some swing tests 4
Backport-of: 3105538de5
2025-04-17 09:03:41 +03:00
Sonia Zaldana Calles
76341702c7 8315882: Open some swing tests 2
Backport-of: d2d7d9a8b7
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
0ddb619f43 8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: mdoerr
Backport-of: c33a8f52b6
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
44093d7670 8341978: Improve JButton/bug4490179.java
Use latch to synchronize actions in the test.
Verify mouseButton3Released does not trigger actionPerformed
while mouse button 1 is pressed.
Ensure mouse button 1 is released.
Verify releasing mouse button 1 triggers actionPerformed.

Backport-of: 8174cbd5cb
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
77778a072c 8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Backport-of: b4ab290fd7
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
01f7a964ac 8339902: Open source couple TextField related tests
Backport-of: fde8508379
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
632ccb892f 8339687: Rearrange reachabilityFence()s in jdk.test.lib.util.ForceGC
Backport-of: 51b85a1f69
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
9ac75e9ffb 8336692: Redo fix for JDK-8284620
Backport-of: c5b7af73d0
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
71fbdd34a6 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException
Backport-of: 2a2964759c
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
75a7556282 8333360: PrintNullString.java doesn't use float arguments
Backport-of: aaaa86b571
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
6aae576abc 8328753: Open source few Undecorated Frame tests
8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference

Reviewed-by: mdoerr
Backport-of: db159149c1
2025-04-17 09:03:41 +03:00
Matthias Baesken
1ac83ac0f5 8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Backport-of: ec310fe809
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
80ec23df0d 8328403: Remove applet usage from JColorChooser tests Test6977726
Backport-of: 1e76e1fdfa
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
c4655d9467 8328227: Remove applet usage from JColorChooser tests Test4887836
Backport-of: cc5b9c63cb
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
ec73856599 8328719: Convert java/awt/print/PageFormat/SetOrient.html applet test to main
Backport-of: 27ac39a2bc
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
c649bce992 8328380: Remove applet usage from JColorChooser tests Test6348456
Backport-of: 78d1b90468
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
902120df0b 8328121: Remove applet usage from JColorChooser tests Test4759306
Backport-of: fab0edc9e6
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
7e8633dcb5 8327859: Remove applet usage from JColorChooser tests Test4319113
Backport-of: 89fb0f837b
2025-04-17 09:03:41 +03:00
Richard Reingruber
b444aa497a 8328085: C2: Use after free in PhaseChaitin::Register_Allocate()
Backport-of: 93aa7e2fcf
2025-04-17 09:03:41 +03:00
SendaoYan
e3fd25c736 8343129: Disable unstable check of ThreadsListHandle.sanity_vm ThreadList values
Backport-of: 59fcfae630
2025-04-17 09:03:41 +03:00
Goetz Lindenmaier
5d5cc754d2 8336498: [macos] [build]: install-file macro may run into permission denied error
8342858: Make target mac-jdk-bundle fails on chmod command

Reviewed-by: lucy
Backport-of: 715fa8f9fe
2025-04-17 09:03:40 +03:00
Matthias Baesken
0176f5505f 8341820: Check return value of hcreate_r
Backport-of: 7c0dbf8e9c
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
b1456193a0 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Backport-of: 1b104b63a9
2025-04-17 09:03:40 +03:00
SendaoYan
6f520157d6 8320916: jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"
Backport-of: 693847452f
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
0d1be42c1f 8346108: [21u][BACKOUT] 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: mdoerr
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
ffebdca55c 8343100: Consolidate EmptyFolderTest and EmptyFolderPackageTest jpackage tests into single java file
Backport-of: 00fe9f7bdf
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
3e2f1bb259 8343102: Remove --compress from jlink command lines from jpackage tests
Backport-of: 9e451aa365
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
60d5cf1ff6 8333116: test/jdk/tools/jpackage/share/ServiceTest.java test fails
Backport-of: 91ab088d5e
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
f0cc84eb23 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Backport-of: 1230aed61d
2025-04-17 09:03:40 +03:00
Chad Rakoczy
86cb7e7b95 8341194: [REDO] Implement C2 VectorizedHashCode on AArch64
Reviewed-by: phh
Backport-of: 4fc6d4135e
2025-04-17 09:03:40 +03:00
Sonia Zaldana Calles
57d6c91584 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Backport-of: e203df46fa
2025-04-17 09:03:40 +03:00
Boris Ulasevich
6340fcdb41 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic
Reviewed-by: phh
Backport-of: df599dbb9b
2025-04-17 09:03:40 +03:00
Boris Ulasevich
2ebe44f26e 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: phh
Backport-of: 6a9a867d64
2025-04-17 09:03:40 +03:00
Martin Doerr
ac92cb538b 8343205: CompileBroker::possibly_add_compiler_threads excessively polls available memory
Reviewed-by: phh
Backport-of: 75801992a7
2025-04-17 09:03:40 +03:00
Martin Doerr
e432871e36 8343343: Misc crash dump improvements on more platforms after JDK-8294160
8343149: Cleanup os::print_tos_pc on AIX

Reviewed-by: mbaesken
Backport-of: e33dc13567
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
725ff3fcc8 8293345: SunPKCS11 provider checks on PKCS11 Mechanism are problematic
Backport-of: 1b476f52ba
2025-04-17 09:03:40 +03:00
SendaoYan
e6c9647378 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Backport-of: 470701f0bb
2025-04-17 09:03:40 +03:00
Richard Reingruber
3cf127b7ae 8341715: PPC64: ObjectMonitor::_owner should be reset unconditionally in nmethod unlocking
Reviewed-by: mdoerr
Backport-of: f9208fadde
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
aa997eea44 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Backport-of: e94e3bba39
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
71eeba1277 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java
Backport-of: 1447967f53
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
d9a2f3ae91 8337951: Test sun/security/validator/samedn.sh CertificateNotYetValidException: NotBefore validation
Backport-of: a505a1dda3
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
fe529874c7 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Backport-of: b8e8e965e5
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
bf883fc791 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
Reviewed-by: lucy
Backport-of: ed6499446d
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
071ea67a6a 8335789: [TESTBUG] XparColor.java test fails with Error. Parse Exception: Invalid or unrecognized bugid: @
Backport-of: 3733fe3a20
2025-04-17 09:03:40 +03:00
Goetz Lindenmaier
788dfd22d9 8327857: Remove applet usage from JColorChooser tests Test4222508
Backport-of: 7c6fd337d0
2025-04-17 09:03:40 +03:00
Richard Reingruber
79fb369e55 8341862: PPC64: C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: ed6809666b
2025-04-17 09:03:39 +03:00
Sonia Zaldana Calles
fdb1337845 8339154: Cleanups and JUnit conversion of test/jdk/java/util/zip/Available.java
Backport-of: f927c1210e
2025-04-17 09:03:39 +03:00
Sonia Zaldana Calles
4bb1a39674 8334490: Normalize string with locale invariant toLowerCase()
Backport-of: 265a0f5547
2025-04-17 09:03:39 +03:00
Sonia Zaldana Calles
762bd8880e 8336012: Fix usages of jtreg-reserved properties
Backport-of: e6c5aa7a6c
2025-04-17 09:03:39 +03:00
Sonia Zaldana Calles
063a01c2da 8331993: Add counting leading/trailing zero tests for Integer
Backport-of: 675fbe699e
2025-04-17 09:03:39 +03:00
Sonia Zaldana Calles
351e1ca1f5 8327390: JitTester: Implement temporary folder functionality
Backport-of: 5aae80304c
2025-04-17 09:03:39 +03:00
Goetz Lindenmaier
779c14c5a4 8345370: Bump update version for OpenJDK: jdk-21.0.7
Reviewed-by: mdoerr, sgehwolf
2025-04-17 09:03:39 +03:00
Maxim Kartashev
1a05b10b21 JBR-8210 Exclude javax/swing/JPopupMenu/7156657/bug7156657.java for WLToolkit 2025-04-15 17:20:34 +04:00
Vladimir Dvorak
c9fdf0eba5 JBR-8609 DCEVM: Fix crash during redefinition of subclass with injected fields 2025-04-14 17:57:07 +02:00
Maxim Kartashev
009e79c25d JBR-8551 Wayland: javax/swing/JSlider/TestJSliderRendering.java: The slider is not rendered properly 2025-04-14 12:20:01 +04:00
Vladimir Dvorak
116cbbbc11 JBR-8575 DCEVM: Fix crash when deleting methods from final classes 2025-04-10 21:36:29 +02:00
Vitaly Provodin
a4190e583c JBR-7797 build fastdebug without jcef
(cherry picked from commit cb322fe90d)
2025-04-09 16:31:22 +04:00
Maxim Kartashev
2f672089a5 JBR-8569 Wayland: two java/awt/Desktop tests throw java.lang.InternalError: Failed to find Wayland toolkit internal classes 2025-04-09 16:05:42 +04:00
Maxim Kartashev
b7ce4c8fb9 JBR-8572 Wayland: java/awt/Desktop/DesktopGtkLoadTest/DesktopGtkLoadTest.java: Wrong GTK library version: null 2025-04-08 17:18:40 +04:00
Vitaly Provodin
fce8863e17 fixup! update exclude list on results of 21.0.6_b946.34 test runs 2025-04-08 06:45:55 +04:00
Vitaly Provodin
5b0e5fee58 update exclude list on results of 21.0.6_b946.34 test runs 2025-04-07 13:53:49 +04:00
Vitaly Provodin
e57d489db3 fixup! JBR-7087 Wayland: GtkFileDialogPeer implementation 2025-04-05 01:34:12 +04:00
Nikita Tsarev
6f47232b48 JBR-8533: Fix wrong keys and modifiers being reported for certain non-function key combinations [WLToolkit] 2025-04-04 15:54:23 +02:00
Maxim Kartashev
7a85ad38eb JBR-7896 Wayland: Deadlock in WLClipboard
Avoid performing blocking I/O while holding a lock
2025-04-04 12:20:20 +04:00
Vitaly Provodin
dd96fe584d update exclude list by adding macosx-15.4 2025-04-02 17:36:07 +04:00
Maxim Kartashev
0c09c93635 JBR-7087 Wayland: GtkFileDialogPeer implementation 2025-04-01 15:49:42 +04:00
Maxim Kartashev
8c769bbc7c JBR-7087 Wayland: Desktop support via GNOME 2025-04-01 15:49:36 +04:00
Maxim Kartashev
2308ce139b JBR-7087 Wayland: GTKLookAndFeel support 2025-04-01 15:48:33 +04:00
Vitaly Provodin
25a97304ae update exclude list on results of 21.0.6_b942.30 test runs 2025-04-01 03:55:01 +04:00
Maxim Kartashev
edfe77a55c JBR-8436 Describe various type of github releases 2025-03-31 17:10:51 +04:00
Vitaly Provodin
aa7902f385 JBR-8315 introduce the option -c that causes builds to fail under CI if XCODE_PATH is invalid 2025-03-29 03:27:15 +04:00
Vitaly Provodin
ca2636829c fixup! update exclude list on results of 21.0.6_b929.24 test runs 2025-03-29 03:21:10 +04:00
Vitaly Provodin
58058b4e5c update exclude list on results of 21.0.6_b929.24 test runs 2025-03-26 07:40:28 +04:00
Nikita Tsarev
1ab48b4b72 JBR-8422: A temporary workaround for crash in SystemHotkey setup on macOS 15.4 beta 2025-03-24 18:57:26 +01:00
Vitaly Provodin
c5d734adcc update exclude list on results of 21.0.6_b924.15 test runs 2025-03-22 11:23:08 +04:00
Nikita Provotorov
16d6b74709 JBR-7659 [macOS] SIGILL at [CoreFoundation+0x1d47c5] CFRunLoopRunSpecific.cold.1+0xe / sun.lwawt.macosx.CAccessibility.getChildrenAndRolesRecursive (2K frames).
Fixes crashes caused by multiple javax.accessibility.AccessibleState.EXPANDED/COLLAPSED changes by making sure AppKit has not more than one event of each type being processed or pending in its queue. The logic can be rolled back via a new system property -Dsun.lwawt.macosx.CAccessible.eventsCoalescingEnabled=false.

(cherry picked from commits 84012b5f39, a2707d4e95, fa8c4705e6, a23ab5a040, fe07d2731a)
2025-03-18 08:58:32 +01:00
vlad20012
7d32ca5b3c JBR-8303 Provide JBR API method to perform GC with more intensive heap shrinking
(cherry picked from commit b9ab56b939b827c84f8c2af43480f4e673271104)
2025-03-14 09:35:16 +04:00
Vitaly Provodin
fb03844dc1 JBR-8315 specify XCODE_PATH for JBR building on macOS 2025-03-14 01:40:14 +04:00
Vitaly Provodin
370f8353a6 update exclude list on results of 21.0.6_b919.9 test runs 2025-03-11 08:00:05 +04:00
Vitaly Provodin
24654f556a update exclude list on results of 21.0.6_b913.7 test runs 2025-03-07 01:32:11 +04:00
Alexey Ushakov
8308c81a9a JBR-8201 Vulkan: crash in VKRenderer_MaskFill
Supported fully opaque mask

(cherry picked from commit 48541714e67868ff66181fce37d9f680fc428a4d)
2025-03-03 21:11:33 +01:00
Nikita Gubarkov
6793c86251 JBR-8350 Vulkan: Refactor pipeline cache & composites
This is needed for the implementation of painters (JBR-7646)
- Request pipelines one-by-one instead of a "pipeline sets"
- Split pipeline key into separate "shader" and "topology" (more items may need to be added later)
- Move management of composites into its own file
2025-03-03 20:31:29 +01:00
Nikita Gubarkov
6214b52d0a JBR-8360 Vulkan: Fix ARRAY_PUSH_BACK usage 2025-03-03 20:23:14 +01:00
Nikita Gubarkov
2e1051cd85 JBR-8359 Vulkan: Put VK_DRAW after VKRenderer_AllocateMaskFillBytes
As VKRenderer_AllocateMaskFillBytes can invalidate draw call state due to overflow, it (and future similar functions) must be called before VK_DRAW.
2025-03-03 20:21:55 +01:00
Nikita Gubarkov
224ccc0fb8 JBR-8358 Vulkan: Framebuffer destruction queue
Can be generalized to destroy arbitrary resources later.
2025-03-03 20:21:54 +01:00
Nikita Gubarkov
e957e7045e JBR-8342 Vulkan: Skip validation setup if extension is unavailable 2025-03-03 18:02:30 +01:00
Nikita Gubarkov
f747edbbdc JBR-8284 Vulkan: fix $VULKAN_SDK autoconf check. 2025-03-03 13:15:02 +01:00
Nikita Gubarkov
534b9afc34 JBR-7565 Vulkan: Implement clip 2025-03-03 13:15:01 +01:00
Nikita Gubarkov
cf90d55b49 JBR-7645 Vulkan: Implement hash table for pipeline sets 2025-03-03 13:15:01 +01:00
Nikita Gubarkov
c673e166b4 JBR-7563 Vulkan: Implement MASK_FILL
Mask bytes are copied to texel buffer to be used in shader.
Up to 256KiB (configurable) of mask can be rendered in a single draw call, with no limit on number of MASK_FILL operations in a single batch.

Also added dirty implementation of greyscale-AA DRAW_GLYPH_LIST and FILL_AAPARALLELOGRAM over MASK_FILL.

(cherry picked from commit 4651c3f096)
2025-03-03 13:12:25 +01:00
Alexey Ushakov
0828954308 JBR-8297 Vulkan: Implement ISO_BLIT
Implemented general logic of the blit, removed extra logging
Corrected clipping logic, updated regression tests
Added some flush and init code for the surfaces
2025-02-28 21:48:57 +01:00
Alexey Ushakov
163d3bf7fa fixup! JBR-8287 Vulkan: enable hw accelerated VolatileImage
Added SuppressWarnings for sun.java2d.vulkan.accelsd property access
2025-02-28 18:52:57 +01:00
Vitaly Provodin
effda670ac fixup! JBR-5989 Wayland: jdk_swing_wayland test group 2025-02-28 18:05:14 +04:00
Alexey Ushakov
d6ebb4f51b JBR-8287 Vulkan: enable hw accelerated VolatileImage
Moved robot pixel grabber into window surface data
Created offscreen surface data
Separated surfaces implementation into two files
Moved offscreen surface to the shared code
2025-02-27 20:18:16 +01:00
Nikita Gubarkov
23b0860f75 JBR-8288 Vulkan: Synchronous render queue flush.
RQ doesn't expose async flush operation. All RQ flushes wait for the queue to be drained, effectively serializing queue flusher and EDT execution while still making it prone to deadlocks.
The periodic flush feature of the queue flusher thread is of no use as well, as every observable effect of RQ operation is already immediately followed by a forced flush.
As Vulkan functions have no restriction on the calling thread, keep it simple - lock the monitor and drain the queue synchronously.

(cherry picked from commit 9e0921c4269568f60156973a804fc12d0f26ab61)
2025-02-27 20:14:35 +01:00
Vitaly Provodin
c5a3e6591e update exclude list on results of 21.0.6_b902.6 test runs 2025-02-27 02:24:01 +04:00
Vitaly Provodin
0c0dd61724 Revert "JBR-7438 tune updateCursorImmediately method"
This reverts commit 07ac32e2ad.
2025-02-25 13:46:02 +04:00
Vitaly Provodin
f5b2a21d22 Revert "JBR-7838 added getTreeLock to updateCursorImpl"
This reverts commit 5a9b8a0488.
2025-02-25 13:46:02 +04:00
Nikita Tsarev
499257dedb JBR-7994: Properly report non-base-level function keys [WLToolkit] 2025-02-24 09:44:23 +01:00
Vladimir Dvorak
5cdc148b68 JBR-8316 use the newest method version in get_line_number() 2025-02-22 13:58:18 +01:00
Vitaly Provodin
6253f4a137 update exclude list on results of 21.0.6_b898.3 test runs 2025-02-21 05:39:14 +04:00
Vitaly Provodin
c6a6803077 update exclude list on results of 21.0.6_b901 test runs 2025-02-20 10:40:53 +04:00
Vitaly Provodin
cce94c9753 fixup! JBR-8255 pass WLToolkit-related settings to subprocesses launched by tests 2025-02-20 10:21:40 +04:00
Vitaly Provodin
0b73c9acf9 update exclude list on results of 21.0.6_b872.80 test runs 2025-02-20 07:43:29 +04:00
Vladimir Kharitonov
5cc0aabee0 JBR-8118 TextureWrapperImage for MTLTexture 2025-02-19 14:48:01 +01:00
Vitaly Provodin
971e6d12ef JBR-7860 revert OpenJDK changes causing the issue with links in Quick Documentation popup
this commit reverts
8335967: "text-decoration: none" does not work with "A" HTML tags
and
8326734: text-decoration applied to <span> lost when mixed with <u> or <s>
8325620: HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>
2025-02-19 10:58:24 +04:00
Maxim Kartashev
274db75a6a JBR-8264 java/awt/Multiscreen/UpdateGCTest/UpdateGCTest.java throws StackOverflowError at WLComponentPeer.getMinimumSize 2025-02-17 16:13:01 +04:00
Maxim Kartashev
59a19cc74a 8349812: (fs) Files.newByteChannel with empty path name and CREATE_NEW throws unexpected exception
Reviewed-by: bpb
2025-02-17 11:00:12 +04:00
bourgesl
8005dc7135 JBR-5497: change the default value for the system property "awt.mac.flushBuffers.invokeLater" to 'enabled' to avoid any potential freeze (safe) until a better solution 2025-02-14 16:09:52 +01:00
Maxim Kartashev
915256eae4 JBR-8234 IDE cannot start on Wayland with large scale
Make sure the surface used for the cursor is marked as such prior to
being committed in order to receive an exception from enforcing the rule
about the buffer size having to be multiple of its scale.
2025-02-14 14:33:18 +04:00
Vitaly Provodin
cc51a11d59 JBR-8255 pass WLToolkit-related settings to subprocesses launched by tests 2025-02-14 08:46:11 +04:00
Vitaly Provodin
41d655243f JBR-8244 add logging stdout/stderr of subprocesses 2025-02-14 08:46:11 +04:00
Nikita Gubarkov
a9cc330332 JBR-8254 Buffer X11GraphicsEnvironment.rebuildDevices calls. 2025-02-13 16:54:50 +01:00
Roland Westrelin
e5e606e633 8340824: C2: Memory for TypeInterfaces not reclaimed by hashcons()
Reviewed-by: vlivanov, qamai
2025-02-13 17:18:10 +04:00
Maxim Kartashev
8c3351e860 JBR-8173 IntelliJ IDEA with WLToolkit crashes when opening Query Console of a datasource with Umlauts in its name 2025-02-13 16:47:27 +04:00
Dmitry Drobotov
61a501351a JBR-8216 Implement setAccessibilityValue method for NavigableTextAccessibility
* This method allows for third-party tools to modify text component contents through the accessibility API on macOS;
* The setAccessibilityValue method is implemented similarly to NavigableTextAccessibility.setAccessibilitySelectedText. On the Java side, it calls AccessibleEditableText.setTextContents according to the comment in JavaTextAccessibility.accessibilitySetValueAttribute;
* The isAccessibilitySelectorAllowed method is implemented similarly to JavaTextAccessibility.accessibilityIsValueAttributeSettable: it checks if the text component implements AccessibleEditableText, is enabled, and additionally checks if the editable property is true, because some components could be enabled but not editable, and we shouldn't allow setting the value in this case.
2025-02-13 04:59:58 +01:00
bourgesl
06f15d6efd JBR-5497: follow-up fix
- monitors sleep/wake-up notifications to define ThreadUtilities.isWithinPowerTransition()
- fixed CPlatformWindow.flushBuffers() to use this pwm flag to use invokeLater() when the system property '-Dawt.mac.flushBuffers.pwm=true'
- always use invokeLater() when display mirroring is enabled (i.e. '-Dawt.mac.flushBuffers.invokeLater'=[auto|default])
- always use the timeout=0.666s in CPlatformWindow.flushBuffer()
- always use the time limit=13.333s in LWCToolkit.doAWTRunLoop() to ensure avoiding any potential hangs / freezes on macOS
2025-02-12 14:53:18 +01:00
bourgesl
04db764aeb JBR-8183: get low resolution display modes (mac intel) and do not call anymore the DisplayConfiguration transaction on the main thread avoid main thread as it hangs for several seconds on macbook intel + macOS 15 2025-02-12 14:46:57 +01:00
Artem Bochkarev
b065970466 JBR-6478 Add possibility to determine builtin display under OSX 2025-02-12 13:45:08 +04:00
Maxim Kartashev
2cf42c937a JBR-7897 Tool window resizes is not smooth 2025-02-12 12:21:17 +04:00
Vitaly Provodin
6bd86bea5f update exclude list on results of 21.0.6_b872.79 test runs 2025-02-04 02:54:07 +04:00
Maxim Kartashev
f89a6626d5 JBR-8197 Wayland: Robot fails if offset in monitor configuration exists 2025-01-31 13:47:52 +04:00
Artem Bochkarev
d28f657f90 JBR-8138 Enable only 'com.apple.security.cs.allow-jit' entitlement for JCEF binaries 2025-01-31 12:05:51 +04:00
Kerem Kat
dc7af104b1 JBR-8038 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: shade, phh
Backport-of: 3c60f0b2bb
2025-01-31 02:15:14 +04:00
Roman Shevchenko
a6d06afaf2 JBR-8198: substituting empty extension with the "Unix executable" type in the macOS file dialog (#479)
(cherry picked from commit cf45f88d9d0d93bdcd09afda07c4b77857bcc5a5)
2025-01-30 17:49:43 +04:00
Vitaly Provodin
d13f7cfd9f JBR-8189 revert "8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected."
This reverts commit 488baa5150.
2025-01-30 17:47:32 +04:00
Artem Bochkarev
a4ffe583a8 JBR-8138 Disable all JCEF resctrictions except 'allow-dyld-environment-variables'
otherwise V8 can't load
(with error "V8 process OOM (Failed to reserve virtual memory for CodeRange).")
2025-01-30 09:02:29 +04:00
Maxim Kartashev
d476d58045 JBR-8066 Wayland: clipboard size is limited to 65000 symbols 2025-01-29 15:17:12 +04:00
Maxim Kartashev
65dce847fe JBR-8116 Wayland: support RounderCornersManager JBR API 2025-01-29 13:29:37 +04:00
Artem Bochkarev
1f39236c02 JBR-8138 Sign jcef binaries with separate entitlements
Revert to true the OSX entitlement "com.apple.security.cs.allow-dyld-environment-variables"
2025-01-29 10:50:28 +04:00
Nikita Gubarkov
d5f2a621eb JBR-8112 Revert swing.bufferPerWindow back to false on Windows 2025-01-29 06:41:29 +01:00
Vitaly Provodin
2c99fe8fe6 update exclude list on results of 21.0.6_b825.69 test runs 2025-01-27 14:39:35 +04:00
Vitaly Provodin
b8a228f20a update exclude list on results of 21.0.6 test runs 2025-01-27 14:38:58 +04:00
Roman Shevchenko
fc3aee933b JBR-8156 restoring WSL visibility in the folder picker mode 2025-01-27 14:08:55 +04:00
bourgesl
7dff65167d JBR-8159: kill CVDisplayLink zombies (sleep / wake-up with multiple monitors in mirroring) + deal with display link thread shutdown (destroy threads at sleep) and restart when needed 2025-01-25 14:35:25 +01:00
Sergey Shelomentsev
9351581c69 JBR-8046 repack java.base.jmod with correct module hashes after signing 2025-01-24 21:29:27 +02:00
Martin Balao
190e06ac55 8339180: Enhanced Building of Processes: Follow-on Issue
Reviewed-by: yan
Backport-of: a71624a69ec5cc8600f2a3a53c23c75b43068830
2025-01-24 18:41:40 +04:00
Jayathirth D V
ec06f84bb4 8336564: Enhance mask blit functionality redux
Backport-of: 6e7f9a23a4daf461acbc4c5a5110e19b34ced22c
2025-01-24 18:41:39 +04:00
Ravi Reddy
d011a5df3c 8335428: Enhanced Building of Processes
Backport-of: 978dfdf9aa95da4196055cc288c5993d4dc6ef85
2025-01-24 18:41:39 +04:00
Christian Hagedorn
238b7c7623 8330045: Enhance array handling
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: thartmann, adinn, roland
Backport-of: 727c2612766dd1737bf59fb0d9ba1e58a7b8c32b
2025-01-24 18:41:38 +04:00
Alexey Bakhtin
68fd2270d5 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files
Reviewed-by: henryjen, goetz, mbalao
Backport-of: 158b93d19a
2025-01-24 18:41:38 +04:00
Francisco Ferrari Bihurriet
52c2f8f2a4 8342905: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501 redux
Reviewed-by: sgehwolf, mbalao
Backport-of: 872ae13471
2025-01-24 18:41:37 +04:00
Martin Balao
c7d0df931b 8344993: [21u] [REDO] Backport JDK-8327501 and JDK-8328366 to JDK 21
Reviewed-by: sgehwolf
2025-01-24 18:41:37 +04:00
Goetz Lindenmaier
954de9085e 8322809: SystemModulesMap::classNames and moduleNames arrays do not match the order
Reviewed-by: sgehwolf, mbaesken
Backport-of: f3be138eb8
2025-01-24 18:41:37 +04:00
SendaoYan
9b31ee2277 8344628: Test TestEnableJVMCIProduct.java run with virtual thread intermittent fails
Backport-of: 3a625f38aa
2025-01-24 18:41:36 +04:00
Saint Wesonga
43e92bb6cf 8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set
Backport-of: 7f189a59d9ad803aee72565bc46a817d3f46f2e5
2025-01-24 18:41:36 +04:00
Amit Kumar
0facab11d8 8342409: [s390x] C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: 9201e9fcc2
2025-01-24 18:41:35 +04:00
Matthias Baesken
3adba13435 8345055: [21u] ProblemList failing rtm tests on ppc platforms
Reviewed-by: mdoerr
2025-01-24 18:41:35 +04:00
Matthias Baesken
7624219a92 8325906: Problemlist vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id1 until JDK-8320865 is fixed
Backport-of: 2564f0f998
2025-01-24 18:41:35 +04:00
KIRIYAMA Takuya
8cc801a3a7 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Backport-of: 1b0281dc77
2025-01-24 18:41:34 +04:00
SendaoYan
378b566e70 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Backport-of: 752e162955
2025-01-24 18:41:34 +04:00
SendaoYan
b1e7e0c507 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Backport-of: e3a5e265a7
2025-01-24 18:41:34 +04:00
SendaoYan
9fa691deb9 8316893: Compile without -fno-delete-null-pointer-checks
Backport-of: 287b243221
2025-01-24 18:41:33 +04:00
Antonio Vieiro
f0175adb85 8340552: Harden TzdbZoneRulesCompiler against missing zone names
Backport-of: 1bc13a1c10
2025-01-24 18:41:32 +04:00
SendaoYan
98af0f3acf 8316907: Fix nonnull-compare warnings
Backport-of: 516cfb135f
2025-01-24 18:41:32 +04:00
Amit Kumar
0d8f6bb0d9 8343884: [s390x] Disallow OptoScheduling
Backport-of: 7540fa2147
2025-01-24 18:41:31 +04:00
Sophia Guo
5c9b3f7316 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Backport-of: 9b0a5c5cd0
2025-01-24 18:41:31 +04:00
Goetz Lindenmaier
84ea6083d7 8319678: Several tests from corelibs areas ignore VM flags
Backport-of: 2e3682a7f2
2025-01-24 18:41:30 +04:00
Goetz Lindenmaier
5d7b6b8141 8339637: (tz) Update Timezone Data to 2024b
Reviewed-by: andrew
Backport-of: 73b2341c67
2025-01-24 18:41:30 +04:00
Goetz Lindenmaier
da1731bcc2 8328619: sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
Backport-of: 2af0312c95
2025-01-24 18:41:29 +04:00
Matthias Baesken
c068471704 8341722: Fix some warnings as errors when building on Linux with toolchain clang
Reviewed-by: clanger
Backport-of: e7c5bf45f7
2025-01-24 18:41:29 +04:00
Alexey Bakhtin
e0e39797a6 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Backport-of: 9b11bd7f4a
2025-01-24 18:41:29 +04:00
Matthias Baesken
4f27eae84b 8338550: Do libubsan1 installation in test container only if requested
Backport-of: 7933e45cda
2025-01-24 18:41:28 +04:00
Goetz Lindenmaier
5a367743a9 8325525: Create jtreg test case for JDK-8325203
8336315: tools/jpackage/windows/WinChildProcessTest.java Failed: Check is calculator process is alive

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

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

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

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

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

Backport-of: 26de9e247a
2025-01-24 18:38:16 +04:00
Andrew Lu
e8074d078d 8320586: update manual test/jdk/TEST.groups
Backport-of: 99b9cb0a2e
2025-01-24 18:38:15 +04:00
Todd V. Jonker
4c1d697834 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
Backport-of: 51be857f3c
2025-01-24 18:38:14 +04:00
Matthias Baesken
bb1a635081 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Backport-of: cb5c60b530
2025-01-24 18:38:13 +04:00
Goetz Lindenmaier
41f9e1ce3b 8335267: [XWayland] move screencast tokens from .awt to .java folder
Backport-of: 088871ce36
2025-01-24 18:38:12 +04:00
Goetz Lindenmaier
49aa0130cf 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
8335344: test/jdk/sun/security/tools/keytool/NssTest.java fails to compile

Backport-of: b2162ba41b
2025-01-24 18:38:11 +04:00
Goetz Lindenmaier
d38c1d6c0d 8330621: Make 5 compiler tests use ProcessTools.executeProcess
Backport-of: 5394f57f00
2025-01-24 18:38:11 +04:00
Goetz Lindenmaier
7dd09c6f10 8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
Backport-of: 1b621f5527
2025-01-24 18:38:10 +04:00
Goetz Lindenmaier
579ce1b0ce 8339644: Improve parsing of Day/Month in tzdata rules
Backport-of: 86a2f9c7dc
2025-01-24 18:38:09 +04:00
Andrew Lu
72ac6c24c0 8311301: MethodExitTest may fail with stack buffer overrun
Backport-of: 3d813ae39f
2025-01-24 18:38:08 +04:00
Andrew Lu
a6524be3a1 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
Backport-of: 2b5aec2aad
2025-01-24 18:38:06 +04:00
Matthias Baesken
1ce30fbdc2 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
Backport-of: f080b4bb8a
2025-01-24 18:38:06 +04:00
Dmitry Chuyko
e9d223ad04 8320192: SHAKE256 does not work correctly if n >= 137
Reviewed-by: phh
Backport-of: fcb4df26f1
2025-01-24 18:38:05 +04:00
Alexey Bakhtin
53a1f4527d 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Reviewed-by: sgehwolf, mbalao
2025-01-24 18:38:05 +04:00
Sonia Zaldana Calles
29d10d37bf 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Backport-of: 330e520c1d
2025-01-24 18:38:04 +04:00
Andrew Lu
6e975038fe 8337320: Update ProblemList.txt with tests known to fail on XWayland
Reviewed-by: goetz
Backport-of: ddbd7a78f1
2025-01-24 18:38:04 +04:00
Andrew Lu
488baa5150 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Backport-of: f0c2f09815
2025-01-24 18:38:04 +04:00
Goetz Lindenmaier
851eb2d800 8335449: runtime/cds/DeterministicDump.java fails with File content different at byte ...
Backport-of: 284671a1e4
2025-01-24 18:38:03 +04:00
Goetz Lindenmaier
bc9f48a6e6 8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization
Backport-of: b3e29db144
2025-01-24 18:38:03 +04:00
Goetz Lindenmaier
3e23c41656 8332724: x86 MacroAssembler may over-align code
Backport-of: 08d51003d1
2025-01-24 18:38:02 +04:00
Goetz Lindenmaier
b0276d3b16 8332340: Add JavacBench as a test case for CDS
Backport-of: 7fd9d6c760
2025-01-24 18:38:02 +04:00
Goetz Lindenmaier
afbe683118 8321550: Update several runtime/cds tests to use vm flags or mark as flagless
8329533: TestCDSVMCrash fails on libgraal
8329353: ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived

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

Reviewed-by: phh
Backport-of: c80e691adf
2025-01-24 18:37:50 +04:00
SendaoYan
d364404b63 8336854: CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
Backport-of: 39884205fb
2025-01-24 18:37:49 +04:00
Matthias Baesken
75693fc4ad 8316895: SeenThread::print_action_queue called on a null pointer
Backport-of: fd52be2a3c
2025-01-24 18:37:48 +04:00
Matthias Baesken
60edd5c4b8 8338110: Exclude Fingerprinter::do_type from ubsan checks
Backport-of: 6a39014795
2025-01-24 18:37:48 +04:00
Goetz Lindenmaier
9dd1d43357 8339080: Bump update version for OpenJDK: jdk-21.0.6
Reviewed-by: sgehwolf
2025-01-24 18:37:48 +04:00
Vitaly Provodin
2cb502770c JBR-8161 Move docker files under jbr-tools 2025-01-24 00:32:04 +04:00
Alexey Ushakov
b86ed20f13 JBR-8091 X: jb/java/wayland/RobotGet tests thorw java.awt.AWTException: headless environment
Do not run test logic in the headless environment
2025-01-22 14:37:57 +01:00
Alexey Ushakov
49b19e4dad JBR-7990 Vulkan: Robot pixel grabbing for Vulkan surfaces
Implemented grabbing pixels via partly supported SurfaceToSwBlit, fixed multi-monitor scenario
2025-01-22 13:03:37 +01:00
Nikita Tsarev
a8c11a6f83 JBR-5851: Fix 'DVORAK - QWERTY Cmd' layout 2025-01-21 14:31:27 +01:00
Artem Bochkarev
7b19ee3653 JBR-8138 Change OSX entitlement "com.apple.security.cs.allow-dyld-environment-variables=false" 2025-01-21 15:49:57 +04:00
Maxim Kartashev
495ebfd062 JBR-8133 Runtime crash after jfr drag and drop to IU 2025-01-21 14:04:34 +04:00
Vitaly Provodin
e54e4297d1 update exclude list on results of 21.0.5_b792.48 test runs 2025-01-21 01:39:33 +04:00
Alex Menkov
bbc30b0091 8318563: GetClassFields should not use random access to field
Reviewed-by: sspitsyn, cjplummer, fparain

AKA JBR-8153 Backport 8317692 to jbr21
2025-01-20 13:28:32 +04:00
Maxim Kartashev
b06e625923 JBR-7457 Provide JBR API method to explicitly call gc() 2025-01-17 18:21:35 +04:00
Nikita Tsarev
980b5a354c JBR-8004: Support the context menu key on macOS 2025-01-15 18:46:26 +01:00
Vitaly Provodin
8183c5b042 update exclude list on results of 21.0.5_b762.40 test runs 2025-01-15 08:32:38 +04:00
Maxim Kartashev
4c2ce96b68 JBR-8123 NPE because FileSystems.getDefault() is null with -Djava.util.zip.use.nio.for.zip.file.access=true 2025-01-14 19:59:57 +04:00
Vitaly Provodin
b715412025 update exclude list on results of 21.0.5_b762.36 test runs 2025-01-14 16:04:06 +04:00
Vitaly Provodin
0cab753fb1 update exclude list on results of 21.0.5_b750.29 test runs 2025-01-10 02:30:34 +04:00
Alan Bateman
de64e51188 8346573: Can't use custom default file system provider with custom system class loader
Reviewed-by: mkartashev, bpb
2025-01-07 17:04:36 +04:00
Vitaly Provodin
03ff99a62b Revert "JBR-8038 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed"
This reverts commit 8b0b738416.
2024-12-26 17:59:52 +04:00
Vitaly Provodin
18c3fd40ee update exclude list on results of 21.0.5_b738.27 test runs 2024-12-26 15:53:02 +04:00
Vitaly Provodin
66bd338d23 JBR-8072 move JBR docker images to registry.jetbrains.team 2024-12-26 13:54:29 +04:00
Aleksey Shipilev
8b0b738416 JBR-8038 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: eastigeevich, phh, aph
2024-12-24 04:18:24 +04:00
Maxim Kartashev
f2a562e0c0 JBR-7988 Wayland: WLPopupLocation test: incorrect size detected 2024-12-23 18:10:56 +04:00
Vladimir Lagunov
fd29e06c9c JBR-8043 Fix CSE from Files.probeContentType with overridden DefaultFileSystemProvider
Before this commit, the code `DefaultFileTypeDetector` implied that the
default file system provider is always an instance of
`UnixFileSystemProvider`. It's not true when
`-Djava.nio.file.spi.DefaultFileSystemProvider` is specified.

This commit replaces the strict class cast with a conditional one, and
the new code returns a no-op file type detector in cases when the
default file system provider is overridden.
2024-12-23 15:15:39 +04:00
bourgesl
fe55cc7bd9 JBR-8048: only log system property 'awt.mac.flushBuffers.invokeLater' if manually set 2024-12-20 21:59:00 +01:00
bourgesl
96e0246394 JBR-5497: improved system property (awt.mac.flushBuffers.invokeLater) handling to support false/auto/true modes and log used value at startup 2024-12-19 10:29:45 +01:00
Vitaly Provodin
4f2900a929 update exclude list on results of 21.0.5_b733.25 test runs 2024-12-17 04:45:48 +04:00
bourgesl
cc647987c2 JBR-5497: simple fix to avoid deadlocks on macOS + mirroring displays:
- added more instrumentation on awt threads and AWTThreading.invokeAndWait() to detect and diagnose deadlocks
- enhanced awtLockListener to adopt nanotime for time accuracy + more advanced logging (caller, wait time) with histograms
- major ThreadUtilities performOnMainThread refactoring to observe thread coordination (state, callstacks) in order to avoid deadlocks while the appkit/main thread is waiting (performOnMainThreadWaiting:YES) in conflict with LWCToolkit.invokeLater() blocked in doAWTRunLoop (2nd)
- fixed CPlatformWindow.flushBuffers() to use LWCToolkit.invokeLater() to avoid deadlocks (EDT <-> main) if the the system property '-Dawt.mac.flushBuffers.invokeLater=true'
- use the new CGraphicsDevice.IsMirroring() to enable fix in CPlatformWindow.flushBuffers() too
- removed changes for JBR-5461 + cleanup + simplified awtLock() + keep few more invokeLater() when computer returns from sleep or displayChanged() to avoid deadlocks until solved definitely
- fixed review comments
2024-12-12 10:00:28 +01:00
Maxim Kartashev
b2ba19d673 JBR-7989 Wayland: WLPopupVisibility test is failing if launched with fractional sun.java2d.uiScale
Use ceil when scaling the size, use floor when scaling the location
2024-12-10 19:08:27 +04:00
Michael McMahon
bd107d24bc 8343433: Update net.properties and java.net.http module-info.java after 8326949
Reviewed-by: dfuchs, jpai
2024-12-10 12:16:59 +04:00
Michael McMahon
c971b2d6fc 8326949: Authorization header is removed when a proxy Authenticator is set on HttpClient
Reviewed-by: dfuchs, jpai, djelinski
2024-12-10 12:16:26 +04:00
Maxim Kartashev
6b2a8b03f7 JBR-7993 Menus are not displayed directly underneath main menu if offset in monitor configuration exists 2024-12-06 16:07:50 +04:00
Vitaly Provodin
0665558bcc update exclude list on results of 21.0.5_b714.21 test runs 2024-12-05 07:15:31 +04:00
Sergey Shelomentsev
17cefef4f9 JBR-7919 add tests for Wayland popups 2024-12-03 18:42:18 +02:00
Maxim Kartashev
0d95dbe3eb JBR-7972 Wayland: EXTREME lag when scrolling through any type of list in the settings when using WLToolkit
Avoid requesting the Wayland server to change the cursor when the change
is vacuous
2024-12-03 12:12:33 +04:00
Maxim Kartashev
44fca1c619 JBR-7071 Wayland: cursor does not change when hovering over gutter icons 2024-12-02 19:10:45 +04:00
Maxim Kartashev
4a50c3cc82 JBR-7879 Wayland: Self-moving quick-doc popup in nightly
- Position popups at the exact offset given; this is achieved by
  using the XDG_POSITIONER_ANCHOR_TOP_LEFT anchor
- Update of popups location is done in sync with all other updates
  that affect the size (like the surface size update)
- Maintain a popup's location relative to the popup's parent, not
  its toplevel window
2024-12-02 12:22:54 +04:00
Maxim Kartashev
a139bc7866 JBR-7969 Wayland: some popups misplaced when maximized with fractional scale 2024-12-02 12:19:39 +04:00
Nikita Gubarkov
8e05c17afb JBR-7575 Vulkan: Implement composites (blending and XOR mode)
- Implemented dynamic pipeline compilation.
- Added 64-bit per pixel format usage in debug mode for testing.
- Now passing colors from Java to Vulkan with straight alpha.

(cherry picked from commit 3d7baad687)
2024-11-27 15:25:26 +01:00
Vitaly Provodin
6ef6b1d328 update exclude list on results of 21.0.5_b709.19 test runs 2024-11-26 17:07:45 +04:00
Nikita Gubarkov
7092fb7d71 JBR-7943 Vulkan: Provide utilities for inspecting image formats 2024-11-22 22:03:10 +01:00
Sergey Shelomentsev
2f8123cf84 JBR-7939 set max wait to 1 min for jetsign client 2024-11-22 13:40:45 +02:00
Nikita Gubarkov
f67cced4b7 JBR-7683 Revert "8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185"
This reverts commit 72305df0b5.
2024-11-21 13:05:12 +01:00
Sergey Shelomentsev
b683cca184 JBR-7867 Notarization scripts: fail build if signing of separate files are failed 2024-11-18 17:17:59 +02:00
Vitaly Provodin
362886a25d update exclude list on results of 21.0.5_b699.17 test runs 2024-11-18 12:21:23 +04:00
Dmitrii Morskii
2e06341493 JBR-7040 implemented FPS counter on D3D 2024-11-14 15:31:00 +00:00
Dmitrii Morskii
e18013369e JBR-7900 Improve logic of detecting toolkit inside registerShutdownHook 2024-11-14 14:14:04 +00:00
Dmitrii Morskii
41b0284c53 JBR-7051 Improved D3D Toolkit:
-Increased rendering performance
	-Improved text rendering quality
	-Accelerated repainting during window resizing
	-Removed unnecessary fallback to GDI rendering
	-Eliminated unnecessary hardware limitations
2024-11-13 21:32:28 +00:00
Maxim Kartashev
06402a7ec4 JBR-7859 Wayland: Unexpected focus owner set in a Window 2024-11-12 14:40:13 +04:00
Maxim Kartashev
3a0db4687d JBR-7851 Wayland: IDEA crashes if Esc is pressed to close Diff window 2024-11-12 14:40:10 +04:00
Nikita Provotorov
f287809a5a fixup! JBR-2460: Wrong position of input window and no input preview with fcitx and ubuntu 13.04.
The patch fixes "JBR-7875 src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c:2605:1: error: label ‘finally’ defined but not used [-Werror=unused-label]".

(cherry picked from commit b9e3d11c04)
2024-11-11 15:43:47 +01:00
Nikita Provotorov
d0d0fdbbf3 Revert "fixup! JBR-6456 Sudden keyboard death on Linux using iBus."
This reverts commit 7932169e25.
The issue the reverted fix was for: "JBR-7875 src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c:2605:1: error: label ‘finally’ defined but not used [-Werror=unused-label]".
The reason: the wrong commit was fixed up.
2024-11-11 15:39:12 +01:00
Dmitrii Morskii
5a9b8a0488 JBR-7838 added getTreeLock to updateCursorImpl 2024-11-11 14:18:22 +00:00
Nikita Provotorov
7932169e25 fixup! JBR-6456 Sudden keyboard death on Linux using iBus.
The patch fixes "JBR-7875 src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c:2605:1: error: label ‘finally’ defined but not used [-Werror=unused-label]".

(cherry picked from commit 17b20784fc)
2024-11-11 15:12:20 +01:00
Vitaly Provodin
b930b907eb update exclude list on results of 21.0.5_b688.15 test runs 2024-11-11 12:29:48 +04:00
Vitaly Provodin
1d3105a693 update exclude list on results of 21.0.5_b688 test runs 2024-11-09 02:05:46 +04:00
Sergey Shelomentsev
bcff636994 JBR-7856 use jmod from currently built JDK 2024-11-07 14:13:16 +02:00
Maxim Kartashev
4ec60311e5 JBR-7760 Pure wayland: incorrect popup scale 2024-11-07 13:43:56 +04:00
Alexey Ushakov
75ec0cc832 JBR-7849 Vulkan: update build documentation for jbr21 and main
Added build instruction for vulkan
2024-11-07 00:42:14 +01:00
Nikita Provotorov
54d1e9fe86 fixup! JBR-4170 Implement API for announcing
This patch fixes inconsistencies caused by incorrect forward-porting of the original patch to jbr21 branch (from jbr17 branch).

(cherry picked from commit 9a5594133c)
2024-11-06 17:13:35 +01:00
Egor Ushakov
5d387e0895 JBR-1061 .attach_pid files in the working dir - fixed incorrect cherry-pick 2024-11-05 15:17:58 +01:00
Sergey Shelomentsev
cafd577a8f fixup! JBR-7734 add zip distribution for Windows 2024-11-05 13:44:46 +02:00
Vitaly Provodin
8e89256d3e update exclude list on results of 21.0.5_b675.11 test runs 2024-11-05 13:09:36 +04:00
Nikita Gubarkov
cd328065d6 JBR-7846 Vulkan: Fix compilation in Musl Docker container 2024-11-04 18:03:21 +01:00
sergey.shelomentsev
6c252e1ae7 JBR-7800 Fix notarization of jbrsdk (sign libs and execs inside jmod files) 2024-11-04 09:56:15 +02:00
Maxim Kartashev
c6485560ad JBR-7835 macOS: raised NOFILE ulimit breaks interaction with gdb
(cherry picked from commit 41fbb57244f074a7ad044570a8417683cceae41b)
2024-11-02 08:44:08 +04:00
Vitaly Provodin
7d859509c0 JBR-6144 enable building JBR with Vulkan
(cherry picked from commit 9fe7b136598e2679dd6f4b12f959c6db0ef9bf99)
2024-11-02 01:30:17 +04:00
Nikita Gubarkov
485be93b11 JBR-7840 Vulkan: Fix compilation in Docker container 2024-11-01 21:36:50 +01:00
Dmitrii Morskii
4329a53f4b JBR-6754 setting nopixfmt in case of running on Remote Desktop 2024-11-01 16:23:16 +01:00
Dmitry Batrak
f3cc02e981 JBR-7833 Wayland: typeahead problem in a popup 2024-11-01 12:00:42 +02:00
Alexey Ushakov
96e7d6fb02 JBR-7677 Vulkan: Implement Graphics.drawImage()
Temporary fix of unexpected transparency with blit operations
2024-10-31 21:51:53 +01:00
Maxim Kartashev
e05d52da9d JBR-7811 Wayland: IDE dialogs and popups flash black before opening 2024-10-31 16:17:15 +04:00
Sergey Shelomentsev
50936c9beb JBR-7734 add zip distribution for Windows 2024-10-31 10:06:02 +02:00
Vlad Zahorodnii
5e4bbff746 8338751 JBR-7777: ConfigureNotify behavior has changed in KWin 6.2
Reviewed-by: prr, azvegint, serb
2024-10-30 13:54:53 +04:00
Vitaly Provodin
c74d599e01 update exclude list on results of 21.0.5_b662.7 test runs 2024-10-29 08:19:33 +04:00
Maxim Kartashev
cef5d86bd7 JBR-6691 test/jdk/jdk/internal/misc/VM/RuntimeArguments.java fails on Linux 2024-10-28 15:47:48 +04:00
Vitaly Provodin
fcee96fcc4 update exclude list on results of 21.0.5 test runs 2024-10-25 04:31:34 +04:00
Vitaly Provodin
04ec16eae2 JBR-5989 Wayland: add tests introduced in 21.0.5 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance" 2024-10-25 04:31:34 +04:00
Christoph Langer
f8ebb02111 8341989: [21u] Back out JDK-8327501 and JDK-8328366
Reviewed-by: goetz
2024-10-25 04:30:00 +04:00
Francisco Ferrari Bihurriet
6de92fcf24 8332644: Improve graph optimizations
Reviewed-by: mbalao, andrew
Backport-of: 7c16d649a8118d2e7ee77cedba87e620c83294b4
2024-10-25 04:29:59 +04:00
Alexei Voitylov
ada51aad63 8331446: Improve deserialization support
Reviewed-by: yan, mbalao, andrew
Backport-of: 8e4a392832f83e16d521024505b52c96d0a993f2
2024-10-25 04:29:58 +04:00
Alexey Bakhtin
e421130680 8328726: Better Kerberos support
Reviewed-by: mbalao
Backport-of: 7325899a11f17bf4516d39495a12796385e459ed
2024-10-25 04:29:58 +04:00
Martin Balao
b42d878b67 8335713: Enhance vectorization analysis
Reviewed-by: roland
Backport-of: 3c05ad2290936ec9abc3f271cb6bf89e18c3eea7
2024-10-25 04:29:57 +04:00
Martin Balao
72b4a54c1c 8328544: Improve handling of vectorization
Reviewed-by: roland, yan
Backport-of: b5174c9159fbffdf335ee6835267ba0e674cf432
2024-10-25 04:29:57 +04:00
Alexey Bakhtin
9d4075962b 8328286: Enhance HTTP client
Reviewed-by: mbalao
Backport-of: cf8dc79f392c8ec3414d8b36803f026852c4e386
2024-10-25 04:29:56 +04:00
Alexei Voitylov
a4f02c825d 8311208: Improve CDS Support
Reviewed-by: mbalao
Backport-of: 2c60805bc380945a8266112c7b5aee0498cb7d5b
2024-10-25 04:29:56 +04:00
Alexey Bakhtin
2b4de081eb 8307383: Enhance DTLS connections
Reviewed-by: mbaesken, andrew
Backport-of: 362dbbaa952b3d4a5270c6bfae879a12e9bdf4d1
2024-10-25 04:29:55 +04:00
Goetz Lindenmaier
17e41d5f7b 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mbaesken, sgehwolf
Backport-of: f554c3ffce
2024-10-25 04:29:54 +04:00
Goetz Lindenmaier
7dba6bf4c6 8341057: Add 2 SSL.com TLS roots
Backport-of: 824a297aae
2024-10-25 04:29:54 +04:00
Goetz Lindenmaier
58aaa2b6c1 8337622: IllegalArgumentException in java.lang.reflect.Field.get
Backport-of: 41e31d6b0a
2024-10-25 04:29:53 +04:00
Goetz Lindenmaier
6abc3d22f7 8329667: [macos] Issue with JTree related fix for JDK-8317771
Backport-of: 05f13e75ee
2024-10-25 04:29:53 +04:00
Goetz Lindenmaier
b13c974400 8339869: [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
Reviewed-by: sgehwolf
2024-10-25 04:29:52 +04:00
Severin Gehwolf
fcd11b7d6b 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Backport-of: c89a1c35bd
2024-10-25 04:29:51 +04:00
Goetz Lindenmaier
a0e718b957 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Backport-of: 7d49c52272
2024-10-25 04:29:51 +04:00
Goetz Lindenmaier
c4dc4c05db 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods
Reviewed-by: mdoerr
Backport-of: 9775d57168
2024-10-25 04:29:51 +04:00
Daniel Hu
27b977147b 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Backport-of: a8549b6367
2024-10-25 04:29:50 +04:00
Aleksey Shipilev
a6464ba3a6 8335409: Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665
Reviewed-by: phh, stuefe
Backport-of: 7ab96c74e2
2024-10-25 04:29:50 +04:00
Aleksey Shipilev
73acf6f1c4 8338286: GHA: Demote x86_32 to hotspot build only
Backport-of: da7311bbe3
2024-10-25 04:29:50 +04:00
Matthias Baesken
aa4e2b4fe8 8311306: Test com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed: out of expected range
Backport-of: e1fd663f22
2024-10-25 04:29:49 +04:00
SendaoYan
b2125c4108 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Backport-of: bf13a4e281
2024-10-25 04:29:49 +04:00
SendaoYan
15cbee7322 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Backport-of: 403fa3760f
2024-10-25 04:29:49 +04:00
KIRIYAMA Takuya
107dc37b4e 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Backport-of: 1fe3ada001
2024-10-25 04:29:48 +04:00
Daniel Hu
4c0e3b7ad9 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: phh
Backport-of: 60544f9088
2024-10-25 04:29:48 +04:00
Daniel Hu
e785eded1c 8316193: jdk/jfr/event/oldobject/TestListenerLeak.java java.lang.Exception: Could not find leak
Backport-of: f6be922952
2024-10-25 04:29:48 +04:00
KIRIYAMA Takuya
8d92a40389 8335743: jhsdb jstack cannot print some information on the waiting thread
Backport-of: d6c6847e32
2024-10-25 04:29:48 +04:00
SendaoYan
148721ce6e 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Backport-of: fa7521b29e
2024-10-25 04:29:48 +04:00
Matthias Baesken
6474af2519 8333149: ubsan : memset on nullptr target detected in jvmtiEnvBase.cpp get_object_monitor_usage
Backport-of: 43a2f17342
2024-10-25 04:29:47 +04:00
Matthias Baesken
7c639c6aeb 8333088: ubsan: shenandoahAdaptiveHeuristics.cpp:245:44: runtime error: division by zero
Backport-of: 34eea6a5fa
2024-10-25 04:29:47 +04:00
Matthias Baesken
0db245a15a 8333354: ubsan: frame.inline.hpp:91:25: and src/hotspot/share/runtime/frame.inline.hpp:88:29: runtime error: member call on null pointer of type 'const struct SmallRegisterMap'
Backport-of: 8162832832
2024-10-25 04:29:46 +04:00
Aleksey Shipilev
07db9458cc 8330981: ZGC: Should not dedup strings in the finalizer graph
Backport-of: 2f2dc2289b
2024-10-25 04:29:46 +04:00
Aleksey Shipilev
e7f04c161e 8335007: Inline OopMapCache table
Backport-of: 50dd962b0d
2024-10-25 04:29:46 +04:00
Aleksey Shipilev
c3bba9d8ff 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Backport-of: bfb75b9626
2024-10-25 04:29:45 +04:00
Gui Cao
8677bf7de5 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang
Backport-of: ef7923e127
2024-10-25 04:29:45 +04:00
Andrew Lu
e16f519bf7 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Backport-of: 49eb00da8d
2024-10-25 04:29:45 +04:00
Andrew Lu
7ad2bed7bc 8309067: gtest/AsyncLogGtest.java fails again in stderrOutput_vm
Reviewed-by: phh
Backport-of: d1af748ab4
2024-10-25 04:29:44 +04:00
Aleksey Shipilev
ade40fcf20 8331572: Allow using OopMapCache outside of STW GC phases
8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572

Reviewed-by: phh
Backport-of: d999b81e71
2024-10-25 04:29:44 +04:00
Varada M
9a6e66596c 8330520: linux clang build fails in os_linux.cpp with static_assert with no message is a C++17 extension
Reviewed-by: mdoerr
Backport-of: 4b55fe5777
2024-10-25 04:29:44 +04:00
Amos Shi
dc1a8c0e42 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: mdoerr
Backport-of: d82ade3545
2024-10-25 04:29:43 +04:00
Amos Shi
1a3bef4b66 8317738: CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
Backport-of: 0fd807118c
2024-10-25 04:29:43 +04:00
Amos Shi
38b972e77b 8325022: Incorrect error message on client authentication
Backport-of: fe78c0f191
2024-10-25 04:29:43 +04:00
SendaoYan
5fbae53104 8331153: JFR: Improve logging of jdk/jfr/api/consumer/filestream/TestOrdered.java
Backport-of: f3bb3e2170
2024-10-25 04:29:42 +04:00
Ben Taylor
d02a123e4b 8321206: Make Locale related system properties StaticProperty
Backport-of: 0c178beb69
2024-10-25 04:29:42 +04:00
Daniel Hu
8c8709f7be 8303920: Avoid calling out to python in DataDescriptorSignatureMissing test
Reviewed-by: shade
Backport-of: 07eaea8c25
2024-10-25 04:29:41 +04:00
Todd V. Jonker
0b6de2783b 8319817: Charset constructor should make defensive copy of aliases
Backport-of: d6d7bdc774
2024-10-25 04:29:41 +04:00
Todd V. Jonker
eb65f38652 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException

Reviewed-by: phh
Backport-of: 36ac83904c
2024-10-25 04:29:40 +04:00
Matthias Baesken
42af4b4c92 8334166: Enable binary check
8332008: Enable issuestitle check

Reviewed-by: sgehwolf, shade
Backport-of: a4582a8957
2024-10-25 04:29:40 +04:00
Sergey Bylokhov
f88cd17388 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Backport-of: c7c6d47a07
2024-10-25 04:29:39 +04:00
Andrew Lu
73acdff9d7 8332113: Update nsk.share.Log to be always verbose
Backport-of: 8464ce6db5
2024-10-25 04:29:39 +04:00
Andrew Lu
8f31addb21 8315965: Open source various AWT applet tests
Backport-of: 3b397c8552
2024-10-25 04:29:39 +04:00
Daniel Hu
eee5447893 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: phh
Backport-of: 4676b40f17
2024-10-25 04:29:38 +04:00
Todd V. Jonker
a92b0f9464 8242564: javadoc crashes:: class cast exception com.sun.tools.javac.code.Symtab$6
Backport-of: 64c3642c57
2024-10-25 04:29:38 +04:00
Aleksey Shipilev
d4ce8ac363 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields
Reviewed-by: phh
Backport-of: 8d9ad97c29
2024-10-25 04:29:37 +04:00
Aleksey Shipilev
17c6c6f8a1 8336343: Add more known sysroot library locations for ALSA
Backport-of: 9e6e0a8f34
2024-10-25 04:29:37 +04:00
Zdenek Zambersky
4ff466e32d 8336928: GHA: Bundle artifacts removal broken
Backport-of: 98562166e4
2024-10-25 04:29:37 +04:00
Aleksey Shipilev
39f73f6ed6 8336342: Fix known X11 library locations in sysroot
Backport-of: ee365d75cc
2024-10-25 04:29:36 +04:00
Aleksey Shipilev
e83847dc0b 8337283: configure.log is truncated when build dir is on different filesystem
Backport-of: 7e925d727f
2024-10-25 04:29:36 +04:00
Aleksey Shipilev
5359361e4f 8327501: Common ForkJoinPool prevents class unloading in some cases
8328366: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501

Backport-of: 53c4714aab
2024-10-25 04:29:35 +04:00
Jiawei Tang
bf605a3c06 8330146: assert(!_thread->is_in_any_VTMS_transition()) failed
Backport-of: c4ff58b9bc
2024-10-25 04:29:35 +04:00
Andrew Lu
d9d01bb828 8328642: Convert applet test MouseDraggedOutCauseScrollingTest.html to main
Backport-of: ab183e437c
2024-10-25 04:29:35 +04:00
Matthias Baesken
70a1b5a7c7 8334618: ubsan: support setting additional ubsan check options
Backport-of: efb905e57a
2024-10-25 04:29:34 +04:00
Matthias Baesken
3cedf81d7c 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
Backport-of: 0199fee431
2024-10-25 04:29:34 +04:00
Andrew John Hughes
a855484c19 8322971: KEM.getInstance() should check if a 3rd-party security provider is signed
Backport-of: 9fd855ed47
2024-10-25 04:29:34 +04:00
Matthias Baesken
467d88fa15 8335237: ubsan: vtableStubs.hpp is_vtable_stub exclude from ubsan checks
Backport-of: 486aa11e74
2024-10-25 04:29:33 +04:00
Matthias Baesken
4a1cf96d5f 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Backport-of: 33fd6ae986
2024-10-25 04:29:33 +04:00
Dan Lutker
54f4b9ba90 8321509: False positive in get_trampoline fast path causes crash
Backport-of: 73e3e0edeb
2024-10-25 04:29:33 +04:00
Matthias Baesken
b2784ebb1e 8331731: ubsan: relocInfo.cpp:155:30: runtime error: applying non-zero offset to null pointer
Reviewed-by: rschmelter
Backport-of: 664c993c41
2024-10-25 04:29:32 +04:00
Liang Mao
4e0590e9c1 8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_clear_all_soft_refs
Backport-of: cff9e246cc
2024-10-25 04:29:32 +04:00
Matthias Baesken
6ecb36096c 8331854: ubsan: copy.hpp:218:10: runtime error: addition of unsigned offset to 0x7fc2b4024518 overflowed to 0x7fc2b4024510
Backport-of: 2c1b311f81
2024-10-25 04:29:32 +04:00
Andrew Lu
a47ae0b1aa 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Backport-of: ae9f318fc3
2024-10-25 04:29:31 +04:00
Andrew Lu
cc55bbb788 8324808: Manual printer tests have no Pass/Fail buttons, instructions close set 3
Backport-of: af7c6af0cc
2024-10-25 04:29:31 +04:00
Andrew Lu
9ab2afe77d 8317112: Add screenshot for Frame/DefaultSizeTest.java
Backport-of: a36eaf03af
2024-10-25 04:29:31 +04:00
Matthias Baesken
0c31374399 8335967: "text-decoration: none" does not work with "A" HTML tags
Backport-of: 374fca0fcb
2024-10-25 04:29:31 +04:00
luwang1103
a9532dfd5d 8324580: SIGFPE on THP initialization on kernels < 4.10
Reviewed-by: stuefe
Backport-of: a231706a06
2024-10-25 04:29:30 +04:00
Matthias Baesken
f06bb52a78 8332699: ubsan: jfrEventSetting.inline.hpp:31:43: runtime error: index 163 out of bounds for type 'jfrNativeEventSetting [162]'
Backport-of: abbf45b57e
2024-10-25 04:29:30 +04:00
Matthias Baesken
760521172e 8333178: ubsan: jvmti_tools.cpp:149:16: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 880c6b42ba
2024-10-25 04:29:30 +04:00
Aleksey Shipilev
717d705d0c 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
Backport-of: 2aeb12ec03
2024-10-25 04:29:29 +04:00
Matthias Baesken
31be1cf6b0 8333277: ubsan: mlib_ImageScanPoly.c:292:43: runtime error: division by zero
Backport-of: 57b6481449
2024-10-25 04:29:29 +04:00
Matthias Baesken
9942e004b6 8333363: ubsan: instanceKlass.cpp: runtime error: member call on null pointer of type 'struct AnnotationArray'
Backport-of: 46b817b749
2024-10-25 04:29:29 +04:00
Andrew Lu
579113aeef 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
Backport-of: 4da28b40f0
2024-10-25 04:29:28 +04:00
Andrew Lu
6ecacf2ca0 8325037: x86: enable and fix hotspot/jtreg/compiler/vectorization/TestRoundVectFloat.java
Backport-of: ed068469f3
2024-10-25 04:29:28 +04:00
Andrew Lu
85a0663d45 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Backport-of: 4e8cbf884a
2024-10-25 04:29:28 +04:00
Xiaolong Peng
8e7498e315 8335904: Fix invalid comment in ShenandoahLock
Backport-of: bb1f8a1698
2024-10-25 04:29:28 +04:00
Varada M
bee6825d53 8308286: Fix clang warnings in linux code
Backport-of: 98a954eebc
2024-10-25 04:29:27 +04:00
Varada M
e05d85ea65 8317696: Fix compilation with clang-16
Backport-of: e4329a823b
2024-10-25 04:29:27 +04:00
SendaoYan
1cf79e50d7 8337038: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java shoud set as /native
Reviewed-by: mbaesken
2024-10-25 04:29:27 +04:00
luwang1103
3c785c734d 8335283: Build failure due to 'no_sanitize' attribute directive ignored
Reviewed-by: shade
Backport-of: 53242cdf9e
2024-10-25 04:29:26 +04:00
Matthias Baesken
9081f55bb8 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
Backport-of: 113a2c028d
2024-10-25 04:29:26 +04:00
SendaoYan
142eb9ccff 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Backport-of: c798316bc4
2024-10-25 04:29:26 +04:00
Matthias Baesken
28be8a4264 8326332: Unclosed inline tags cause misalignment in summary tables
Reviewed-by: rschmelter
Backport-of: a6dc4bc2b8
2024-10-25 04:29:26 +04:00
Matthias Baesken
e58503f505 8333361: ubsan,test : libHeapMonitorTest.cpp:518:9: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: ed149062d0
2024-10-25 04:29:25 +04:00
Aleksey Shipilev
5fa606a337 8334769: Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator
Backport-of: 4ebb77120a
2024-10-25 04:29:25 +04:00
john spurling
05f26e7084 8310628: GcInfoBuilder.c missing JNI Exception checks
Backport-of: a9c0a0f6b9
2024-10-25 04:29:25 +04:00
Matthias Baesken
b2b1541ab7 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
Reviewed-by: lucy
Backport-of: 31f70391e5
2024-10-25 04:29:24 +04:00
SendaoYan
3dd3ae9599 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: phh
Backport-of: 7baddc202a
2024-10-25 04:29:24 +04:00
Aleksey Shipilev
ffad939b82 8325542: CTW: Runner can produce negative StressSeed
Backport-of: bb675afae6
2024-10-25 04:29:23 +04:00
luwang1103
3d770d000a 8334239: Introduce macro for ubsan method/function exclusions
Backport-of: ff30240926
2024-10-25 04:29:23 +04:00
Xiaolong Peng
69da9d666c 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Reviewed-by: shade
Backport-of: 817edcb697
2024-10-25 04:29:23 +04:00
Liang Mao
d05b172ec7 8332717: ZGC: Division by zero in heuristics
Backport-of: 2d4185f4f1
2024-10-25 04:29:23 +04:00
Thomas Stuefe
ca6a1bba75 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Backport-of: 6a15860b12
2024-10-25 04:29:22 +04:00
Thomas Stuefe
a22123d83d 8299790: os::print_hex_dump is racy
Backport-of: 8f28809aa8
2024-10-25 04:29:22 +04:00
Xiaolong Peng
a705a698cf 8331405: Shenandoah: Optimize ShenandoahLock with TTAS
Reviewed-by: shade
Backport-of: c4fe5bf90c
2024-10-25 04:29:22 +04:00
Neethu Prasad
0488525b43 8312200: Fix Parse::catch_call_exceptions memory leak
Backport-of: d33e8e6f93
2024-10-25 04:29:21 +04:00
Matthias Baesken
c26c0e1537 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Backport-of: 2264667bba
2024-10-25 04:29:21 +04:00
luwang1103
884bfd65d8 8332818: ubsan: archiveHeapLoader.cpp:70:27: runtime error: applying non-zero offset 18446744073707454464 to null pointer
Backport-of: 6861766b63
2024-10-25 04:29:21 +04:00
Matthias Baesken
10e07f11c9 8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Backport-of: 861aefcafa
2024-10-25 04:29:20 +04:00
Matthias Baesken
9a8ce1bad8 8334123: log the opening of Type 1 fonts
Backport-of: f8c657f671
2024-10-25 04:29:20 +04:00
luwang1103
749b5c2518 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int'
Backport-of: 0d3a3771c3
2024-10-25 04:29:20 +04:00
Matthias Baesken
9f7f8136c4 8327424: ProblemList serviceability/sa/TestJmapCore.java on all platforms with ZGC
Backport-of: 0a6e64e2f5
2024-10-25 04:29:20 +04:00
Andrew Lu
e80e27fafb 8328273: sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java failed with java.rmi.server.ExportException: Port already in use
Backport-of: a85c8493ae
2024-10-25 04:29:19 +04:00
SendaoYan
a9065e0253 8322766: Micro bench SSLHandshake should use default algorithms
Backport-of: 06dd735342
2024-10-25 04:29:19 +04:00
Matthias Baesken
bf0a704ba7 8332424: Update IANA Language Subtag Registry to Version 2024-05-16
Backport-of: 6dac8d6452
2024-10-25 04:29:19 +04:00
Neethu Prasad
0c6b751dbf 8315505: CompileTask timestamp printed can overflow
Backport-of: ad7a8e86e0
2024-10-25 04:29:18 +04:00
Matthias Baesken
de25c132f2 8326129: Java Record Pattern Match leads to infinite loop
Backport-of: 93a2e773a5
2024-10-25 04:29:18 +04:00
Matthias Baesken
6c68e52879 8299058: AssertionError in sun.net.httpserver.ServerImpl when connection is idle
Backport-of: 47624f6fc6
2024-10-25 04:29:18 +04:00
Andrew John Hughes
8d36a8bb6a 8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
Backport-of: ff49f677ee
2024-10-25 04:29:17 +04:00
Liming Liu
2fecfadfc3 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly
8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
8325218: gc/parallel/TestAlwaysPreTouchBehavior.java fails

Reviewed-by: shade
Backport-of: a65a89522d
2024-10-25 04:29:17 +04:00
Andrew Lu
f8a0ca413e 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: mbaesken
Backport-of: d3bf52628e
2024-10-25 04:29:17 +04:00
Andrew Lu
f5c54c53cf 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test
8328269: NonFocusablePopupMenuTest.java should be marked as headful

Reviewed-by: mbaesken
Backport-of: b8dfeafdfd
2024-10-25 04:29:16 +04:00
Matthias Baesken
8dbbd2592b 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms
8334592: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java in jdk21 on all platforms

Reviewed-by: lucy
Backport-of: 8ff10a0d35
2024-10-25 04:29:16 +04:00
Qizheng Xing
93e13ab58c 8335536: Fix assertion failure in IdealGraphPrinter when append is true
Backport-of: 6db4c6a772
2024-10-25 04:29:16 +04:00
Andrew Lu
31419951a1 8329559: Test javax/swing/JFrame/bug4419914.java failed because The End and Start buttons are not placed correctly and Tab focus does not move as expected
Backport-of: 7c1fad4fb6
2024-10-25 04:29:15 +04:00
Christoph Langer
59cf78f08e 8211854: [aix] java/net/ServerSocket/AcceptInheritHandle.java fails: read times out
Backport-of: cb3c45a698
2024-10-25 04:29:15 +04:00
Andrew Lu
bf3942633d 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Backport-of: 50bed6c67b
2024-10-25 04:29:14 +04:00
Andrew Lu
960771ddee 8327401: Some jtreg tests fail on Wayland without any tracking bug
8312111: open/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails on ubuntu 23.04

Backport-of: 286cc163fd
2024-10-25 04:29:14 +04:00
Matthias Baesken
17c1fd2572 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Backport-of: eeb63cd0fa
2024-10-25 04:29:14 +04:00
Andrew Lu
f3349500f3 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Backport-of: ec1664e8c9
2024-10-25 04:29:14 +04:00
Andrew Lu
6c87d32486 8331798: Remove unused arg of checkErgonomics() in TestMaxHeapSizeTools.java
Backport-of: c6f611cfe0
2024-10-25 04:29:13 +04:00
Matthias Baesken
69cbde141a 8334653: ISO 4217 Amendment 177 Update
Backport-of: 86b0cf259f
2024-10-25 04:29:13 +04:00
SendaoYan
06b66833a2 8333353: Delete extra empty line in CodeBlob.java
Backport-of: 91101f0d4f
2024-10-25 04:29:12 +04:00
SendaoYan
75947a84f7 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Backport-of: f23295ec1d
2024-10-25 04:29:12 +04:00
Matthias Baesken
50862b84ec 6967482: TAB-key does not work in JTables after selecting details-view in JFileChooser
8166352: FilePane.createDetailsView() removes JTable TAB, SHIFT-TAB functionality

Backport-of: 711e723819
2024-10-25 04:29:11 +04:00
Matthias Baesken
bc4ef137dc 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Backport-of: e681b4e9b3
2024-10-25 04:29:10 +04:00
Andrew Lu
f99b03b7ca 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
Backport-of: d02cb742f7
2024-10-25 04:29:10 +04:00
Andrew Lu
d1e495702c 8280988: [XWayland] Click on title to request focus test failures
Backport-of: f6cdcc6f65
2024-10-25 04:29:09 +04:00
Andrew Lu
1e93ec60d4 8320675: PrinterJob/SecurityDialogTest.java hangs
Backport-of: 9f5ad43358
2024-10-25 04:29:09 +04:00
Andrew Lu
2b69af22bd 8328238: Convert few closed manual applet tests to main
Backport-of: 68170ae222
2024-10-25 04:29:09 +04:00
Andrew Lu
92381fd372 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
Backport-of: 01125fa21b
2024-10-25 04:29:08 +04:00
Gui Cao
fd92df9d51 8333652: RISC-V: compiler/vectorapi/VectorGatherMaskFoldingTest.java fails when using RVV
Backport-of: ce5727df44
2024-10-25 04:29:07 +04:00
Matthias Baesken
ce74e58ca8 8330063: Upgrade jQuery to 3.7.1
Reviewed-by: mdoerr
Backport-of: 46a2ce4eb4
2024-10-25 04:29:07 +04:00
Andrew Lu
a4b6eb6874 8316285: Opensource JButton manual tests
Backport-of: 9f5d2b947f
2024-10-25 04:29:06 +04:00
Andrew Lu
4ab615f5c0 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Backport-of: 6f7ddbec7d
2024-10-25 04:29:06 +04:00
Andrew Lu
ef419d15c6 8280990: [XWayland] XTest emulated mouse click does not bring window to front
Backport-of: d2d78ad18e
2024-10-25 04:29:05 +04:00
Sergey Bylokhov
16c3e9a749 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Backport-of: b7540df6a4
2024-10-25 04:29:05 +04:00
Aleksey Shipilev
65e880e700 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Backport-of: 9c89f0861c
2024-10-25 04:29:05 +04:00
Aleksey Shipilev
8814af8cf3 8319818: Address GCC 13.2.0 warnings (stringop-overflow and dangling-pointer)
8320212: Disable GCC stringop-overflow warning for affected files
8326717: Disable stringop-overflow in shenandoahLock.cpp

Reviewed-by: mdoerr
Backport-of: c0507af5a4
2024-10-25 04:29:05 +04:00
lingjun.cg
0f15c87995 8333462: Performance regression of new DecimalFormat() when compare to jdk11
Backport-of: d826127970
2024-10-25 04:29:04 +04:00
Christoph Langer
4fd24013c0 8211847: [aix] java/lang/ProcessHandle/InfoTest.java fails: "reported cputime less than expected"
Backport-of: f5213671f7
2024-10-25 04:29:04 +04:00
Xiaolong Peng
09b3eada66 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
Backport-of: 4c79e7d59c
2024-10-25 04:29:04 +04:00
Xiaolong Peng
9b4b125601 8319406: x86: Shorter movptr(reg, imm) for 32-bit immediates
Backport-of: b120a05b22
2024-10-25 04:29:03 +04:00
Thomas Stuefe
7231ee7a51 8330027: Identity hashes of archived objects must be based on a reproducible random seed
Reviewed-by: mdoerr
Backport-of: 9f43ce5a72
2024-10-25 04:29:03 +04:00
Xiaolong Peng
02a3de904f 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Backport-of: 34f85ee94e
2024-10-25 04:29:03 +04:00
Liang Mao
bdf9c6c65e 8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Backport-of: 492e8bf563
2024-10-25 04:29:02 +04:00
Martin Doerr
0c25c36393 8333099: Missing check for is_LoadVector in StoreNode::Identity
Backport-of: 2ea365c945
2024-10-25 04:29:02 +04:00
Martin Doerr
b92a636776 8334867: Add back assertion from JDK-8325494
Reviewed-by: shade, chagedorn
2024-10-25 04:29:02 +04:00
Martin Doerr
25151087a6 8328896: Fontmetrics for large Fonts has zero width
Backport-of: 25871af36b
2024-10-25 04:29:01 +04:00
Martin Doerr
108f9b1d79 8051959: Add thread and timestamp options to java.security.debug system property
Reviewed-by: mbaesken
Backport-of: 3b582dff84
2024-10-25 04:29:01 +04:00
Martin Doerr
1ab07d9ff7 8321176: [Screencast] make a second attempt on screencast failure
Backport-of: 92fd490f22
2024-10-25 04:29:01 +04:00
Amos Shi
149093fe71 8315969: compiler/rangechecks/TestRangeCheckHoistingScaledIV.java: make flagless
Reviewed-by: mdoerr
Backport-of: 9598ff8386
2024-10-25 04:29:00 +04:00
Amos Shi
2ea09316e8 8320608: Many jtreg printing tests are missing the @printer keyword
Backport-of: 76fea80707
2024-10-25 04:28:59 +04:00
Jaroslav Bachorik
9dce18b50f 8329103: assert(!thread->in_asgct()) failed during multi-mode profiling
Reviewed-by: jbechberger
Backport-of: 6b1b0e9d45
2024-10-25 04:28:59 +04:00
Elif Aslan
a0375cfe78 8330849: Add test to verify memory usage with recursive locking
Backport-of: 7b2560b490
2024-10-25 04:28:59 +04:00
SendaoYan
6eb1d34f20 8332248: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java failed with RuntimeException
Backport-of: 0bb5ae6451
2024-10-25 04:28:58 +04:00
Andrew Lu
229df35c9e 8317372: Refactor some NumberFormat tests to use JUnit
Reviewed-by: mdoerr
Backport-of: 9622de2aa8
2024-10-25 04:28:58 +04:00
Andrew Lu
1198f22bda 8222884: ConcurrentClassDescLookup.java times out intermittently
Backport-of: bd046d9b9e
2024-10-25 04:28:58 +04:00
Andrew Lu
cc0e89f614 8328647: TestGarbageCollectorMXBean.java fails with C1-only and -Xcomp
Backport-of: bdd9438b45
2024-10-25 04:28:57 +04:00
Andrew Lu
ccbcd8b97b 8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Backport-of: 459957f30a
2024-10-25 04:28:57 +04:00
Andrew Lu
b36aae659c 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization
Backport-of: 638708cad8
2024-10-25 04:28:56 +04:00
Aleksey Shipilev
e8789abf44 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Backport-of: 9f46fc2842
2024-10-25 04:28:55 +04:00
Martin Doerr
e9ca2a372a 8325520: Vector loads and stores with indices and masks incorrectly compiled
Backport-of: 0c934ff4e2
2024-10-25 04:28:55 +04:00
Martin Doerr
825acb0dc4 8325494: C2: Broken graph after not skipping CastII node anymore for Assertion Predicates after JDK-8309902
Reviewed-by: mbaesken, shade
Backport-of: 9fd78022b1
2024-10-25 04:28:54 +04:00
Martin Doerr
7a795aca67 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: chagedorn
Backport-of: ef101f1bf2
2024-10-25 04:28:54 +04:00
Martin Doerr
6a91eba26c 8320655: awt screencast robot spin and sync issues with native libpipewire api
Backport-of: c17b8cfafe
2024-10-25 04:28:53 +04:00
Martin Doerr
e9161d3aea 8331011: [XWayland] TokenStorage fails under Security Manager
Backport-of: 9912abf586
2024-10-25 04:28:53 +04:00
SendaoYan
b5ce63aae8 8334333: MissingResourceCauseTestRun.java fails if run by root
Backport-of: de8ee97718
2024-10-25 04:28:53 +04:00
Aleksey Shipilev
1d061781b3 8319197: Exclude hb-subset and hb-style from compilation
Backport-of: e1cae72036
2024-10-25 04:28:52 +04:00
Andrew Lu
3784b714e7 8307778: com/sun/jdi/cds tests fail with jtreg's Virtual test thread factory
Backport-of: fe8a2aff31
2024-10-25 04:28:52 +04:00
Andrew Lu
5fdfb08963 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Backport-of: 81083a0e10
2024-10-25 04:28:51 +04:00
Andrew Lu
d3795f0b50 8316306: Open source and convert manual Swing test
Backport-of: d3e8218386
2024-10-25 04:28:51 +04:00
Neethu Prasad
a497c58131 8325754: Dead AbstractQueuedSynchronizer$ConditionNodes survive minor garbage collections
Backport-of: 60cbf29250
2024-10-25 04:28:50 +04:00
Neethu Prasad
2659dd99b3 8321220: JFR: RecordedClass reports incorrect modifiers
Backport-of: d5f59cf0a8
2024-10-25 04:28:50 +04:00
Neethu Prasad
d51c15b24c 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines
Backport-of: cf4ede0e54
2024-10-25 04:28:49 +04:00
Andrew Lu
5823b6d2c6 8316211: Open source several manual applet tests
Backport-of: 2f311d59dc
2024-10-25 04:28:49 +04:00
Andrew Lu
ffd93e21ca 8283223: gc/stringdedup/TestStringDeduplicationFullGC.java#Parallel failed with "RuntimeException: String verification failed"
Backport-of: 9d441e3e56
2024-10-25 04:28:48 +04:00
Amos Shi
092d479ff4 7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Backport-of: 4785461f61
2024-10-25 04:28:48 +04:00
Amos Shi
890c1fb4da 8333398: Uncomment the commented test in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java
Backport-of: d230b30353
2024-10-25 04:28:48 +04:00
Amos Shi
f50f7fb922 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Backport-of: 11a3673d42
2024-10-25 04:28:47 +04:00
Amos Shi
0aaefe8c2b 8316389: Open source few AWT applet tests
Backport-of: 65227a3c64
2024-10-25 04:28:47 +04:00
Amos Shi
9545f17b35 8313674: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
Backport-of: e91492ab43
2024-10-25 04:28:46 +04:00
Amos Shi
0b3f8c7990 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: mdoerr
Backport-of: 343cc0ce2b
2024-10-25 04:28:46 +04:00
Amos Shi
b70b1df8c6 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Backport-of: 14193a049e
2024-10-25 04:28:45 +04:00
Amos Shi
2cbe185ba2 8325384: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java failing intermittently when main thread is a virtual thread
Backport-of: da9c23ace9
2024-10-25 04:28:45 +04:00
Amos Shi
5f54d970ba 8315024: Vector API FP reduction tests should not test for exact equality
Backport-of: e6f23a90d4
2024-10-25 04:28:45 +04:00
Amos Shi
0b64f0f68f 8321933: TestCDSVMCrash.java spawns two processes
Backport-of: 1fde8b868a
2024-10-25 04:28:44 +04:00
Amos Shi
3fee19b152 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Backport-of: 6a35311468
2024-10-25 04:28:44 +04:00
Elif Aslan
4995f3ae2e 8314515: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
Backport-of: 35e9662767
2024-10-25 04:28:44 +04:00
Thomas Fitzsimmons
9a74b415ac 8332174: Remove 2 (unpaired) RLO Unicode characters in ff_Adlm.xml
Reviewed-by: andrew
2024-10-25 04:28:43 +04:00
Sergey Bylokhov
e915462bf1 8327840: Automate javax/swing/border/Test4129681.java
Backport-of: 177b8a241c
2024-10-25 04:28:43 +04:00
Elif Aslan
d400446405 8318605: Enable parallelism in vmTestbase/nsk/stress/stack tests
Backport-of: d9aa1deac8
2024-10-25 04:28:43 +04:00
Aleksey Shipilev
217f4ea794 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: mdoerr
Backport-of: 230bcb769a
2024-10-25 04:28:42 +04:00
SendaoYan
0af422fe72 8334332: TestIOException.java fails if run by root
Backport-of: 472b935b44
2024-10-25 04:28:42 +04:00
Andrew Lu
c4728b265e 8332936: Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded
Backport-of: 5ed0d52c84
2024-10-25 04:28:41 +04:00
Andrew Lu
f9ce89e9f3 8331063: Some HttpClient tests don't report leaks
Backport-of: e4ed7ced75
2024-10-25 04:28:41 +04:00
Andrew Lu
a518001443 8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
Introduce tolerance factor: count > loaderCount.size() / 2
Fail the test only if the number of snapshots with more than
2 file loader threads is greater than half of the number
of valid snapshots.

Backport-of: ffbdfffbc7
2024-10-25 04:28:41 +04:00
Martin Doerr
695db97861 8325083: jdk/incubator/vector/Double512VectorTests.java crashes in Assembler::vex_prefix_and_encode
Backport-of: 01060ad4ab
2024-10-25 04:28:40 +04:00
Martin Doerr
398329a4b6 8330133: libj2pkcs11.so crashes on some pkcs#11 v3.0 libraries
Backport-of: d1c6cd104e
2024-10-25 04:28:40 +04:00
Martin Doerr
b2221facb3 8330819: C2 SuperWord: bad dominance after pre-loop limit adjustment with base that has CastLL after pre-loop
Reviewed-by: mbaesken
Backport-of: e681e9b4d7
2024-10-25 04:28:39 +04:00
Martin Doerr
fcc6486961 8309621: [XWayland][Screencast] screen capture failure with sun.java2d.uiScale other than 1
Backport-of: 387896fb34
2024-10-25 04:28:39 +04:00
Andrew Lu
a75ac27a20 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet
Backport-of: e81374e050
2024-10-25 04:28:38 +04:00
Andrew Lu
ef1460bdc0 8320079: The ArabicBox.java test has no control buttons
Backport-of: 792fc9d114
2024-10-25 04:28:38 +04:00
Xiaolong Peng
bac030ff21 8321025: Enable Neoverse N1 optimizations for Neoverse V2
Reviewed-by: shade
Backport-of: c9d15f7d5e
2024-10-25 04:28:37 +04:00
Martin Doerr
f49a1bfcf5 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Backport-of: 2f04bc5f93
2024-10-25 04:28:36 +04:00
Martin Doerr
b598d8999a 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Backport-of: 0259da9283
2024-10-25 04:28:36 +04:00
Martin Doerr
5a8146808d 8308660: C2 compilation hits 'node must be dead' assert
Reviewed-by: mbaesken
Backport-of: 053ff76e14
2024-10-25 04:28:35 +04:00
Martin Doerr
f9699b575e 8322743: C2: prevent lock region elimination in OSR compilation
Backport-of: 742c776a92
2024-10-25 04:28:35 +04:00
Aleksey Shipilev
833f53bb34 8329088: Stack chunk thawing races with concurrent GC stack iteration
Backport-of: 8bcd2e61ae
2024-10-25 04:28:34 +04:00
Andrew Lu
3f95bd363b 8331142: Add test for number of loader threads in BasicDirectoryModel
8331495: Limit BasicDirectoryModel/LoaderThreadCount.java to Windows only

Reviewed-by: mdoerr
Backport-of: b2fb5ea13b
2024-10-25 04:28:34 +04:00
Andrew Lu
a8185e0e68 8328115: Convert java/awt/font/TextLayout/TestJustification.html applet test to main
Backport-of: 0204aacb03
2024-10-25 04:28:33 +04:00
Andrew Lu
d6aa29223f 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel
Backport-of: 9731b1c8b0
2024-10-25 04:28:33 +04:00
Andrew Lu
f2642d92b5 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main
Backport-of: df909e2f9c
2024-10-25 04:28:32 +04:00
Andrew Lu
d998f885e9 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out
Backport-of: 7acfba288f
2024-10-25 04:28:32 +04:00
Andrew Lu
59ea912f39 8317635: Improve GetClassFields test to verify correctness of field order
Backport-of: 599560a832
2024-10-25 04:28:31 +04:00
Andrew Lu
5a3c1351df 8318071: IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
Backport-of: d888b26783
2024-10-25 04:28:30 +04:00
Martin Doerr
c69c7a4a23 8323274: C2: array load may float above range check
Backport-of: 4406915ebc
2024-10-25 04:28:29 +04:00
Matthias Baesken
6f13a3bb42 8332825: ubsan: guardedMemory.cpp:35:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: be1d374bc5
2024-10-25 04:28:29 +04:00
Andrew Lu
1419de81e3 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
Reviewed-by: mdoerr
Backport-of: 86b27b784e
2024-10-25 04:28:28 +04:00
Andrew Lu
3524c9c171 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out
Backport-of: 570ad67204
2024-10-25 04:28:28 +04:00
Sergey Bylokhov
88b08ef6c9 8327787: Convert javax/swing/border/Test4129681.java applet test to main
Backport-of: ad0f329493
2024-10-25 04:28:27 +04:00
Martin Doerr
dad622e07a 8331575: C2: crash when ConvL2I is split thru phi at LongCountedLoop
Backport-of: f398cd2250
2024-10-25 04:28:26 +04:00
Martin Doerr
ff10d2cd11 8322996: BoxLockNode creation fails with assert(reg < CHUNK_SIZE) failed: sanity
Backport-of: 69586e7bdf
2024-10-25 04:28:25 +04:00
Martin Doerr
85bb08b062 8317299: safepoint scalarization doesn't keep track of the depth of the JVM state
Reviewed-by: phh
Backport-of: 6d911f68a3
2024-10-25 04:28:24 +04:00
Martin Doerr
6d9b2e4c39 8323972: C2 compilation fails with assert(!x->as_Loop()->is_loop_nest_inner_loop()) failed: loop was transformed
Backport-of: e1b0af29e4
2024-10-25 04:28:23 +04:00
Martin Doerr
cd92270ffa 8321278: C2: Partial peeling fails with assert "last_peel <- first_not_peeled"
Backport-of: af15c68f3c
2024-10-25 04:28:23 +04:00
Martin Doerr
5595e0eb1a 8319793: C2 compilation fails with "Bad graph detected in build_loop_late" after JDK-8279888
Reviewed-by: mbaesken
Backport-of: b922f8d459
2024-10-25 04:28:23 +04:00
Liang Mao
cb9864ee44 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Backport-of: 8338946a6d
2024-10-25 04:28:22 +04:00
Matthias Baesken
45e13bffcc 8333724: Problem list security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#teliasonerarootcav1
Backport-of: 8ffc35d117
2024-10-25 04:28:22 +04:00
Christoph Langer
6ac6971623 8330814: Cleanups for KeepAliveCache tests
Backport-of: 1e173f9d17e4a42e758217ac98aec4356acac0fa
2024-10-25 04:28:21 +04:00
Dmitry Chuyko
0bc3813d60 8323122: AArch64: Increase itable stub size estimate
Reviewed-by: aph
Backport-of: 36f4b34f19
2024-10-25 04:28:21 +04:00
Martin Doerr
e531c549b3 8316756: C2 EA fails with "missing memory path" when encountering unsafe_arraycopy stub call
Backport-of: b89172149d
2024-10-25 04:28:20 +04:00
Martin Doerr
62b2301799 8324174: assert(m->is_entered(current)) failed: invariant
Backport-of: 5b9b176c67
2024-10-25 04:28:19 +04:00
Martin Doerr
548299619f 8332905: C2 SuperWord: bad AD file, with RotateRightV and first operand not a pack
Backport-of: 67d6f3ca9e
2024-10-25 04:28:19 +04:00
Martin Doerr
d862ea71b2 8327423: C2 remove_main_post_loops: check if main-loop belongs to pre-loop, not just assert
Backport-of: fadc4b197e
2024-10-25 04:28:18 +04:00
Martin Doerr
6a08c32941 8324969: C2: prevent elimination of unbalanced coarsened locking regions
Backport-of: b938a5c9ed
2024-10-25 04:28:17 +04:00
Martin Doerr
3e789ffe8d 8333366: C2: CmpU3Nodes are not pushed back to worklist in PhaseCCP leading to non-fixpoint assertion failure
Reviewed-by: shade
Backport-of: 7c83d7ab53
2024-10-25 04:28:17 +04:00
Martin Doerr
4584942af6 8332959: C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
Reviewed-by: shade
Backport-of: e0ac8249f5
2024-10-25 04:28:16 +04:00
Martin Doerr
c3d1ebc72b 8323682: C2: guard check is not generated in Arrays.copyOfRange intrinsic when allocation is eliminated by EA
Backport-of: 92f5c0be8e
2024-10-25 04:28:16 +04:00
Martin Doerr
c0196db04d 8331863: DUIterator_Fast used before it is constructed
Backport-of: 466a21d864
2024-10-25 04:28:15 +04:00
Martin Doerr
e9a584ea60 8329258: TailCall should not use frame pointer register for jump target
Backport-of: cccc95358d
2024-10-25 04:28:15 +04:00
Martin Doerr
9f10f32afa 8324983: Race in CompileBroker::possibly_add_compiler_threads
Backport-of: 1993652653
2024-10-25 04:28:15 +04:00
Martin Doerr
e3df281f37 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Reviewed-by: mbaesken
Backport-of: beebce044d
2024-10-25 04:28:14 +04:00
Martin Balao
85249f35a0 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)
Backport-of: 8a8d928898
2024-10-25 04:28:14 +04:00
Xiaolong Peng
0936b148da 8320379: C2: Sort spilling/unspilling sequence for better ld/st merging into ldp/stp on AArch64
Reviewed-by: aph
Backport-of: 3ccd02f142
2024-10-25 04:28:14 +04:00
Neethu Prasad
429e13f32f 8333716: Shenandoah: Check for disarmed method before taking the nmethod lock
Reviewed-by: shade
Backport-of: 18e7d7b5e7
2024-10-25 04:28:13 +04:00
Dmitry Chuyko
922c817dfa 8307352: AARCH64: Improve itable_stub
Backport-of: c664f1ca66
2024-10-25 04:28:13 +04:00
Aleksey Shipilev
4d7b0d2dd1 8325469: Freeze/Thaw code can crash in the presence of OSR frames
Reviewed-by: phh
Backport-of: fd331ff173
2024-10-25 04:28:12 +04:00
Andrew Lu
a4bc23b572 8280392: java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
Backport-of: 3f2e849c54
2024-10-25 04:28:12 +04:00
Andrew Lu
6e47006c59 8316240: Open source several add/remove MenuBar manual tests
Backport-of: 3809d69ac4
2024-10-25 04:28:11 +04:00
Sergey Bylokhov
659bec6921 8329510: Update ProblemList for JFileChooser/8194044/FileSystemRootTest.java
Backport-of: 747582484c
2024-10-25 04:28:11 +04:00
Sergey Bylokhov
a35bf43919 8307193: Several Swing jtreg tests use class.forName on L&F classes
Backport-of: 9d332e6591
2024-10-25 04:28:11 +04:00
Martin Doerr
95c0806f0c 8331626: unsafe.cpp:162:38: runtime error in index_oop_from_field_offset_long - applying non-zero offset 4563897424 to null pointer
Backport-of: 23a72a1f2f
2024-10-25 04:28:10 +04:00
Soumadipta Roy
301d30ffd1 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
Backport-of: 003e86fe38
2024-10-25 04:28:10 +04:00
Matthias Baesken
b0f2fa74d9 8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Backport-of: 9b64ece514
2024-10-25 04:28:10 +04:00
Matthias Baesken
747de774c0 8332894: ubsan: vmError.cpp:2090:26: runtime error: division by zero
Backport-of: 1b8dea4a92
2024-10-25 04:28:10 +04:00
SendaoYan
4359b76b18 8333477: Delete extra empty spaces in Makefiles
Backport-of: d130d2f4f4
2024-10-25 04:28:09 +04:00
Matthias Baesken
7bd5b84ec1 8332473: ubsan: growableArray.hpp:290:10: runtime error: null pointer passed as argument 1, which is declared to never be null
Backport-of: e529101ea3
2024-10-25 04:28:09 +04:00
Matthias Baesken
9d533fc25b 8332675: test/hotspot/jtreg/gc/testlibrary/Helpers.java compileClass javadoc does not match after 8321812
Backport-of: 1ea76d338b
2024-10-25 04:28:09 +04:00
Matthias Baesken
63b77826ae 8332720: ubsan: instanceKlass.cpp:3550:76: runtime error: member call on null pointer of type 'struct Array'
Backport-of: e19a421c30
2024-10-25 04:28:08 +04:00
Matthias Baesken
433c682ec9 8332589: ubsan: unix/native/libjava/ProcessImpl_md.c:562:5: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 16dba04e8d
2024-10-25 04:28:08 +04:00
Aleksey Shipilev
a9a27304d4 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Backport-of: 481cfc7985
2024-10-25 04:28:08 +04:00
Richard Reingruber
5f7d007374 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync
Reviewed-by: aph
Backport-of: 0c572566963be7f941228deda2691ce2fc456c15
2024-10-25 04:28:07 +04:00
Richard Reingruber
eb89c96051 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Backport-of: 1188d404bc4879fc388209cd32e6c4e46178e200
2024-10-25 04:28:07 +04:00
Sergey Bylokhov
792a9df148 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Backport-of: c2e01eba5a
2024-10-25 04:28:07 +04:00
Xiaolong Peng
3a1132ac2e 8331931: JFR: Avoid loading regex classes during startup
Backport-of: 242446b07f
2024-10-25 04:28:06 +04:00
Aleksey Shipilev
d34134e1aa 8329665: fatal error: memory leak: allocating without ResourceMark
Backport-of: e073d5b374
2024-10-25 04:28:06 +04:00
Martin Doerr
5693052b54 8331885: C2: meet between unloaded and speculative types is not symmetric
Backport-of: 7652f9811b
2024-10-25 04:28:05 +04:00
Martin Doerr
bb47acf880 8326734: text-decoration applied to <span> lost when mixed with <u> or <s>
8325620: HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>

Backport-of: cd3e4c0366
2024-10-25 04:28:05 +04:00
SendaoYan
a45813b6be 8332499: Gtest codestrings.validate_vm fail on linux x64 when hsdis is present
Backport-of: 7dbd03388e
2024-10-25 04:28:04 +04:00
Matthias Baesken
786769285f 8331789: ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
Backport-of: 2baacfc169
2024-10-25 04:28:04 +04:00
Martin Doerr
c0d8adf923 8332885: Clarify failure_handler self-tests
Backport-of: 08891553bb
2024-10-25 04:28:04 +04:00
Andrew Lu
5fb404972d 8294148: Support JSplitPane for instructions and test UI
Backport-of: b419e95173
2024-10-25 04:28:03 +04:00
Andrew Lu
96c9d27b8f 8316104: Open source several Swing SplitPane and RadioButton related tests
Backport-of: f52e500f80
2024-10-25 04:28:03 +04:00
Neethu Prasad
1ee46d2421 8325616: JFR ZGC Allocation Stall events should record stack traces
Backport-of: 71ff2d7177
2024-10-25 04:28:03 +04:00
Neethu Prasad
60050978c7 8320602: Lock contention in SchemaDVFactory.getInstance()
Backport-of: 0678253bff
2024-10-25 04:28:02 +04:00
Neethu Prasad
9a4d59af91 8329995: Restricted access to /proc can cause JFR initialization to crash
Backport-of: a92ad03946
2024-10-25 04:28:02 +04:00
Martin Doerr
8843f0e6cc 8322726: C2: Unloaded signature class kills argument value
Backport-of: fa02667d83
2024-10-25 04:28:01 +04:00
Martin Doerr
d0d55f0845 8332898: failure_handler: log directory of commands
Backport-of: 7f0ad513c3
2024-10-25 04:28:01 +04:00
Martin Doerr
f67ea481b9 8323801: <s> tag doesn't strikethrough the text
Backport-of: 80b63b6729
2024-10-25 04:28:00 +04:00
Andrew Lu
94f7d38926 8328234: Remove unused nativeUtils files
Backport-of: dec68d7e36
2024-10-25 04:28:00 +04:00
Andrew Lu
5146487f61 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html
Backport-of: 09439374ed
2024-10-25 04:28:00 +04:00
Andrew Lu
c3882e555b 8328561: test java/awt/Robot/ManualInstructions/ManualInstructions.java isn't used
Backport-of: bc546c21a5
2024-10-25 04:27:59 +04:00
Aleksey Shipilev
2fa3002c01 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Backport-of: a8eacb31ab
2024-10-25 04:27:58 +04:00
Matthias Baesken
bdd17dc97c 8332431: NullPointerException in JTable of SwingSet2
Backport-of: 9a83dfee14
2024-10-25 04:27:58 +04:00
Andrew Lu
f6ea44fe65 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Backport-of: 6faf05c6dd
2024-10-25 04:27:58 +04:00
Andrew Lu
387a59de9c 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Backport-of: 24c3d86f32
2024-10-25 04:27:57 +04:00
Andrew Lu
5c54d3e211 8320945: problemlist tests failing on latest Windows 11 update
Backport-of: ea6e92ed0d
2024-10-25 04:27:57 +04:00
Andrew Lu
9739b74602 8322008: Exclude some CDS tests from running with -Xshare:off
Backport-of: 4d32c607a4
2024-10-25 04:27:57 +04:00
Andrew Lu
fcccd01016 8310201: Reduce verbose locale output in -XshowSettings launcher option
Backport-of: f6e23ae451
2024-10-25 04:27:55 +04:00
Andrew Lu
82760f66f8 8323577: C2 SuperWord: remove AlignVector restrictions on IR tests added in JDK-8305055
Backport-of: 45c65e6b1a
2024-10-25 04:27:55 +04:00
Sergey Bylokhov
a6497f5691 8322330: JavadocHelperTest.java OOMEs with Parallel GC and ZGC
Backport-of: 52c7ff1d81
2024-10-25 04:27:55 +04:00
Liang Mao
60e39b37b2 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Backport-of: 060db1b2a2
2024-10-25 04:27:55 +04:00
Martin Doerr
56b028ef15 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0
Backport-of: 6276789fb5
2024-10-25 04:27:54 +04:00
Martin Doerr
5b863be0de 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
Backport-of: 7c2c24fc05
2024-10-25 04:27:54 +04:00
Martin Doerr
cceb5408d7 8314225: SIGSEGV in JavaThread::is_lock_owned
Backport-of: ad0b54d429
2024-10-25 04:27:53 +04:00
Martin Doerr
9c349990d0 8331077: nroff man page update for jar tool
Backport-of: c21672d8c9
2024-10-25 04:27:53 +04:00
Martin Doerr
a139fb5bc9 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: bpb
Backport-of: 819f3d6fc7
2024-10-25 04:27:52 +04:00
Martin Doerr
5870d77ae3 8328999: Update GIFlib to 5.2.2
Backport-of: 6969a9e0b2
2024-10-25 04:27:52 +04:00
Martin Doerr
2fe1ba23ca 8324577: [REDO] - [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Backport-of: f1d0e715b6
2024-10-25 04:27:51 +04:00
Martin Doerr
9943f38d56 8305072: Win32ShellFolder2.compareTo is inconsistent
Backport-of: 2fcb816858
2024-10-25 04:27:51 +04:00
Martin Doerr
890f05f4e9 8329004: Update Libpng to 1.6.43
Backport-of: 4e4229438a
2024-10-25 04:27:50 +04:00
Martin Doerr
abdd2b1474 8328953: JEditorPane.read throws ChangedCharSetException
Backport-of: 245514da51
2024-10-25 04:27:50 +04:00
Martin Doerr
ea6f8acaa8 8325179: Race in BasicDirectoryModel.validateFileCache
8238169: BasicDirectoryModel getDirectories and DoChangeContents.run can deadlock

Backport-of: e66788c165
2024-10-25 04:27:50 +04:00
Martin Doerr
487dbcdec6 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: bpb
Backport-of: 6b7c9718d6
2024-10-25 04:27:50 +04:00
Martin Doerr
29846c0e72 8329126: No native wrappers generated anymore with -XX:-TieredCompilation after JDK-8251462
Backport-of: f2e5808b46
2024-10-25 04:27:49 +04:00
Xiaolong Peng
4b15177d6d 8329134: Reconsider TLAB zapping
Backport-of: 5698f7ad29
2024-10-25 04:27:49 +04:00
Xiaolong Peng
240dd3fa33 8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround
Reviewed-by: phh
Backport-of: 5746137e8a
2024-10-25 04:27:49 +04:00
Andrew Lu
e6ecaa55e8 8327040: Problemlist ActionListenerCalledTwiceTest.java test failing in macos14
Backport-of: 0d35450362
2024-10-25 04:27:48 +04:00
Sergey Bylokhov
aa7e0c6b76 8325763: Revert properties: vm.opt.x.*
Backport-of: 0aaec97527
2024-10-25 04:27:48 +04:00
Martin Doerr
cb348aa014 8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Reviewed-by: phh
Backport-of: 632a3c56e0
2024-10-25 04:27:47 +04:00
Sergey Bylokhov
c14d29f8a6 8310072: JComboBox/DisabledComboBoxFontTestAuto: Enabled and disabled ComboBox does not match in these LAFs: GTK+
Backport-of: eb60822a45
2024-10-25 04:27:47 +04:00
Per Minborg
108270033f 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Reviewed-by: mdoerr
Backport-of: 93579c29e3
2024-10-25 04:27:47 +04:00
Martin Doerr
e34ff5bcd3 8324668: JDWP process management needs more efficient file descriptor handling
Backport-of: a663248786
2024-10-25 04:27:46 +04:00
Martin Doerr
dee9ea3f72 8323670: A few client tests intermittently throw ConcurrentModificationException
Backport-of: 70e7cdcb9e
2024-10-25 04:27:46 +04:00
Martin Doerr
3d53eb3c57 8319773: Avoid inflating monitors when installing hash codes for LM_LIGHTWEIGHT
Backport-of: 65a0672791
2024-10-25 04:27:46 +04:00
Martin Doerr
196bd55c7b 8326106: Write and clear stack trace table outside of safepoint
Backport-of: a776104e21
2024-10-25 04:27:45 +04:00
Martin Doerr
19c381c607 8312229: Crash involving yield, switch and anonymous classes
Backport-of: 1f81e5b19e
2024-10-25 04:27:45 +04:00
Aleksey Shipilev
a4abf00822 8331573: Rename CollectedHeap::is_gc_active to be explicitly about STW GCs
Reviewed-by: phh
Backport-of: 1eec30a6c0
2024-10-25 04:27:45 +04:00
SendaoYan
65411e4d6d 8331164: createJMHBundle.sh download jars fail when url needed to be redirected
Backport-of: eb88343fb7
2024-10-25 04:27:44 +04:00
Xiaolong Peng
b7f7734362 8328075: Shenandoah: Avoid forwarding when objects don't move in full-GC
Backport-of: 80ccc989a8
2024-10-25 04:27:44 +04:00
Andrew Lu
d9c6846a6b 8307788: vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java timed out
Backport-of: 929af9ed03
2024-10-25 04:27:43 +04:00
Andrew Lu
f1f903715d 8317288: [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab
Backport-of: db5613af89
2024-10-25 04:27:43 +04:00
Andrew Lu
49526c15a6 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Backport-of: 1b0dd7c254
2024-10-25 04:27:43 +04:00
Sergey Bylokhov
b5e3a5a8bc 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Backport-of: b285ed72ae
2024-10-25 04:27:42 +04:00
Sergey Bylokhov
0a48988eca 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
Backport-of: 9b1d6d66b8
2024-10-25 04:27:42 +04:00
Sergey Bylokhov
3379512339 8331746: Create a test to verify that the cmm id is not ignored
Backport-of: 7c750fd95b
2024-10-25 04:27:41 +04:00
Ashutosh Mehra
b4115fe6b0 8333093: Incorrect comment in zAddress_aarch64.cpp
Reviewed-by: stefank
Backport-of: 51ae08f72b
2024-10-25 04:27:41 +04:00
Aleksey Shipilev
62e180669d 8331714: Make OopMapCache installation lock-free
Backport-of: a2584a8341
2024-10-25 04:27:40 +04:00
Liang Mao
9b0d4afaa8 8330576: ZYoungCompactionLimit should have range check
Backport-of: c4f5c5140a
2024-10-25 04:27:40 +04:00
SendaoYan
f2db3a138e 8318479: [jmh] the test security.CacheBench failed for multiple threads run
Backport-of: 1535528cb1
2024-10-25 04:27:40 +04:00
SendaoYan
23bbe5789a 8332490: JMH org.openjdk.bench.java.util.zip.InflaterInputStreams.inflaterInputStreamRead OOM
Backport-of: 98f6a80852
2024-10-25 04:27:39 +04:00
Christoph Langer
f4fffcacff 8331266: Bump update version for OpenJDK: jdk-21.0.5
Reviewed-by: mdoerr, sgehwolf
2024-10-25 04:27:39 +04:00
Maxim Kartashev
566de7f8dc JBR-7726 X11 toolkit: Dialog buttons rendering black rectangle after hovering 2024-10-24 12:26:09 +04:00
Nikita Gubarkov
2b6d4ad971 JBR-7564 Vulkan: Fix HIDPI and multi-monitor scenarios 2024-10-23 20:44:19 +02:00
Nikita Gubarkov
f47ba753a5 JBR-7574 Vulkan: Implement memory allocator 2024-10-23 20:44:19 +02:00
Alexey Ushakov
1e8f362c8c JBR-7677 Vulkan: Implement Graphics.drawImage()
Implemented:
 - raster loading and blit primitive
 - transform for VKBlitSwToTextureViaPooledTexture
Used texture pool to get temporary image
2024-10-23 20:44:19 +02:00
Nikita Gubarkov
b4a7cb233d JBR-7572 Bring back VKBuffer functions 2024-10-23 20:44:19 +02:00
Nikita Gubarkov
bfbdba145f JBR-7644 Vulkan: Move barrier state tracking from surface into image 2024-10-23 20:44:19 +02:00
Nikita Gubarkov
61ab05abc5 JBR-7572 Vulkan: Implement vertex buffer pool
Track and reuse vertex buffers, no need to allocate and bind a new buffer on each draw.
2024-10-23 20:44:19 +02:00
Dmitrii Morskii
0794328504 JBR-7302 added additional emptiness check in getGlyphOutlineBounds 2024-10-23 19:42:02 +01:00
Maxim Kartashev
96ae4c9eab JBR-7749 Settings popup invoked from the main toolbar appears misaligned if fractional scaling set 2024-10-18 17:54:36 +04:00
Nikita Tsarev
954749ad19 JBR-7764: Disable window decorations in test/jb/java/awt/Window/RestoreFromFullScreen.java, so that the test doesn't fail spuriously on some WMs 2024-10-18 17:48:38 +04:00
Nikita Gubarkov
f547175bf2 JBR-4725 File dialog modality (#458) 2024-10-18 01:07:05 +03:00
bourgesl
d27909ade0 JBR-5497: revert JRSUIController changes (performOnMainThreadWaiting:YES) to avoid UI freeze but appkit violations must be fixed in follow-up fix 2024-10-17 17:21:55 +04:00
Maxim Kartashev
4e4e5c74c5 JBR-7544 Wayland: Cannot resize window to more that 3500px vertically 2024-10-16 13:58:08 +04:00
Maxim Kartashev
259e6e0ca8 JBR-7748 java/awt/font/JNICheck/FreeTypeScalerJNICheck.java: JNI call made without checking exceptions when required to from CallVoidMethod 2024-10-16 13:58:08 +04:00
Vitaly Provodin
68515653ec update exclude list on results of 21.0.4_b631.2 test runs 2024-10-16 08:52:53 +04:00
Maxim Kartashev
ae9aea784a JBR-7721 Copying from IntelliJ in pure Wayland on ChromeOS confuses UTF-8 and UTF-16
Avoid data flavor without an explicit charset
2024-10-14 16:44:22 +04:00
Nikita Gubarkov
6454bc7592 JBR-7733 Metal: Properly reset the current context when destroying the surface 2024-10-12 11:44:54 +02:00
Nikita Tsarev
ceda379d69 fixup! JBR-6324: JBR API for System Shortcuts (macOS) 2024-10-11 16:11:03 +02:00
Nikita Tsarev
82999dc986 JBR-6324: JBR API for System Shortcuts (macOS) 2024-10-11 16:02:34 +02:00
Nikita Gubarkov
8cf2476301 JBR-7732 JBR API: fix array conversions 2024-10-11 14:32:25 +02:00
Nikita Tsarev
8ca3afcfa3 JBR-5690: Reload next window shortcut when it changes 2024-10-10 13:27:42 +02:00
Nikita Tsarev
f0ae5c7a9b JBR-5726: Report 'Move focus to the previous window in application' system shortcut 2024-10-10 13:27:42 +02:00
Nikita Gubarkov
40b52d479b JBR-7653 Prepare Docker images for Vulkan builds 2024-10-10 13:23:34 +02:00
Nikita Gubarkov
373b9baf43 JBR-7673 Cleanup docker scripts 2024-10-10 13:23:34 +02:00
Nikita Tsarev
f7d67b622d JBR-5448: Return all shortcuts from readSystemHotkeys 2024-10-09 16:44:39 +02:00
Nikita Gubarkov
015ea7ab4c JBR-7579 Fix SurfaceManager.cacheMap retaining strong references. (#453) 2024-10-09 15:00:30 +03:00
Vitaly Provodin
af9368d66c update exclude list on results of 21.0.4_b620.4 test runs 2024-10-07 08:12:48 +04:00
Nikita Tsarev
1e1115a28e JBR-7524: Workaround for showing window tiling actions when hovering over the maximize button on macOS 2024-10-04 11:45:31 +02:00
Maxim Kartashev
3ede03b58a JBR-7504 Use accurate event serial number with the clipboard 2024-10-04 12:59:19 +04:00
Maxim Kartashev
231126c134 JBR-7504 WLToolkit - Middle click paste doesn't work properly when pasting to other applications 2024-10-04 12:58:38 +04:00
Nikita Tsarev
cb2eb9bb7f JBR-7672: Only abort key repeat when the key that is being repeated is released [WLToolkit] 2024-09-30 10:44:59 +02:00
Nikita Tsarev
022221b0bb JBR-7662: Fix key repeat manager sometimes not cancelling properly [WLToolkit] 2024-09-30 10:41:58 +02:00
Vitaly Provodin
746032ad3e JBR-7511 migrate build platforms to OL8 for the release 2024.3 2024-09-28 05:28:12 +07:00
Vitaly Provodin
6826f09811 JBR-7511 migrate build platforms to OL8
- remove Vulcan part that causing builds to fail
- modify scripts for building images from Oracle Linux 8
- update jb/build/VerifyDependencies.java to check libraries have no dependency on symbols from glibc version higher than 2.28
- rename Ubuntu2004 docker files
- upgrade wayland up to wayland-devel-1.21.0-1
2024-09-28 02:26:04 +04:00
bourgesl
5157205ed8 JBR-7616: fixed type (str) 2024-09-27 16:17:22 +02:00
Nikita Tsarev
1ccb174ecb JBR-7675: Respect disabling key repeat [WLToolkit] 2024-09-27 15:02:50 +02:00
bourgesl
226d6f982c JBR-7616: added ThreadUtilities.lwc_plog(env, formatMsg, ...) to use LWCToolkit's PlatformLogger instead of NSlog (only as fallback now) used by MTLRenderQueue, updated MTLUtils to share mtlDstTypeToStr(op)
(cherry picked from commit 6e00460b0009817593d04773516559d1ec5a9292)
2024-09-24 12:35:41 +02:00
Maxim Kartashev
5099233a6d JBR-7651 runtime/cds/appcds/complexURI/ComplexURITest.java throws java.nio.file.AccessDeniedException 2024-09-24 12:43:52 +04:00
Vladimir Dvorak
8d37639b50 JBR-7649 fix DCEVM crashes on assert() in VM_Exit 2024-09-23 19:36:39 +02:00
Vladimir Dvorak
9cfcff32c4 JBR-7523 fix ClassUnloading support in DCEVM 2024-09-23 19:36:16 +02:00
Vladimir Dvorak
ff87567544 JBR-7635 Skip rolled-back classes in search for affected classes 2024-09-23 19:35:56 +02:00
Vitaly Provodin
f912b0e071 update exclude list on results of 21.0.4_b607.1 test runs 2024-09-23 12:42:53 +04:00
Alexey Ushakov
7c057eb7f6 JBR-7588 Metal: Reuse MTLContext for all GCs of the same GPU
Implemented reference counting for shared MTLContext objects. Supported multiple display links per MTLContext. Also, works for macOS version < 10.13
2024-09-20 21:17:08 +02:00
bourgesl
d4a299a2e7 JBR-7616: improved MTLRenderQueue exception handling
(cherry picked from commit 9df0cce15d1b1773634907881d0c515a100cf412)
2024-09-16 21:57:05 +02:00
Maxim Kartashev
b5f427d580 JBR-7576 Cannot make CDS dump due to whitespaces in paths 2024-09-16 14:16:51 +04:00
Vitaly Provodin
e752f9a857 update exclude list on results of 21.0.4_b591.1 test runs 2024-09-13 04:11:28 +04:00
Maxim Kartashev
e37c2450a8 JBR-7600 Provide ability to add messages to fatal error log
Use JNU_LOG_EVENT(env, msg, ...) to save a message in the internal
JVM ring buffer that gets printed out to the Events section
of the fatal error log if JVM crashed.
2024-09-12 14:27:30 +04:00
Nikita Gubarkov
78ef30a322 JBR-7614 JBR API: fix generated proxy name clash. 2024-09-11 18:19:19 +02:00
Nikita Provotorov
6afbc34d4b JBR-5673: Wayland: support touch scrolling.
- Adding information to WLPointerEvent about wl_pointer::axis* events along the X axis;
- Introducing 'WLComponentPeer#convertPointerEventToMWEParameters' - a routine for converting WLPointerEvent parameters to parameters required for MouseWheelEvent s;
- Handling both X and Y axes within the WLPointerEvent dispatching routine.
2024-09-11 15:52:45 +02:00
Nikita Provotorov
874d5698bc JBR-7459: Wayland: touchpad scrolling is too sensitive.
- Remaking the mapping of wl_pointer::axis events values to MouseWheelEvent rotations to eliminate the touchpad scrolling behavior "the more slowly the fingers move, the more pixels are scrolled";
- Accumulating the fraction parts of wl_pointer::axis events values to improve the accuracy of touchpad scrolling;
- Distinguishing between wheel scrolling and touchpad scrolling to fine-tune MouseWheelEvent parameters for each of these cases.
2024-09-11 15:52:44 +02:00
Sergei Tachenov
dd1afa581e 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".
2024-09-09 16:00:46 +02:00
Nikita Tsarev
cd5cad7154 JBR-7594 Check for LWCToolkit in JBR TextInput API 2024-09-06 13:39:02 +02:00
Sergei Tachenov
8827281c82 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.
2024-09-05 13:49:26 +02:00
Sergei Tachenov
3c8aa5a169 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.
2024-09-05 13:49:26 +02:00
Vitaly Provodin
fe6d252047 update exclude list on results of 21.0.4_b589.3 test runs 2024-09-03 07:59:31 +04:00
Maxim Kartashev
08faf984f0 JBR-7493 Fixed the test 2024-08-30 11:57:42 +03:00
Nikita Gubarkov
1c95b96ff8 JBR-5973 Vulkan: Fix validation errors (#452)
- Added proper synchronization and image layout transitions.
- Refactored VKRenderer to hold per-device rendering context. Isolated surface rendering contexts.
- Implemented reusing of command buffers and semaphores
- Fixed surface resize, made surface initialization more robust.
- Added on-demand pipeline creation for actual surface formats.
- Added missing destruction logic.
- Added macros for easy checking of return codes, logging with source code location.
- Moved implementation details out of headers where possible. Stripped dead code.
- Implemented consistent OOM strategy from dynamic arrays and ring buffers.
2024-08-29 18:52:52 +02:00
Nikita Gubarkov
f1ad521666 JBR-7570 Implemented ring buffer. Added lazy implicit initialization for dynamic arrays. (#451) 2024-08-28 15:11:20 +02:00
Nikita Gubarkov
4a239d2c6e JBR-7568 Vulkan: Refactor VKLogicalDevice into VKDevice (#449)
* Renamed VKLogicalDevice to VKDevice for conformance and convenience.
* Refactored device->device to device->handle for clarity.
2024-08-28 12:35:38 +02:00
Nikita Gubarkov
47f236f3cc JBR-7569 Removed VMA-Hpp (#450) 2024-08-28 12:24:39 +02:00
Vitaly Provodin
7b21605ecb update exclude list on results of 21.0.4_b586.1 test runs 2024-08-27 01:05:12 +04:00
Dmitrii Morskii
ccba9acd9d JBR-7126 add more possible names for cursor arrow icon 2024-08-23 18:41:06 +01:00
Vitaly Provodin
869f0ca11f JBR-7517 build JBR artefacts with CDS archives 2024-08-22 18:04:56 +04:00
Maxim Kartashёv
133cf30195 JBR-7483 Monitor resolution is incorrect in jbr 21 when scaling with gtk-xft-dpi 2024-08-22 17:22:05 +04:00
Nikita Tsarev
210ed7aaba JBR-7529: Explicitly check for press-and-hold in performKeyEquivalent 2024-08-22 13:17:53 +02:00
Dmitrii Morskii
07ac32e2ad JBR-7438 tune updateCursorImmediately method 2024-08-21 14:36:01 +01:00
Maxim Kartashёv
6fe6b416ce JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and pressing Alt+Enter 2024-08-21 18:24:09 +04:00
Maxim Kartashёv
0c40b9514d JBR-7493 Wayland: can't start in maximized state on WSL 2024-08-21 12:44:23 +04:00
Vitaly Provodin
70d0e98389 JBR-5989 Wayland: exclude tests failing on virtual agents 2024-08-20 14:18:55 +04:00
Vitaly Provodin
89049a7d65 update exclude list on results of 21.0.4_b575.1 test runs 2024-08-20 14:18:55 +04:00
Maxim Kartashёv
90ec8da421 JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed 2024-08-20 11:48:48 +04:00
Vitaly Provodin
2348ef2e99 update exclude list on results of 21.0.4_b575 test runs 2024-08-17 02:08:15 +04:00
Maxim Kartashёv
54960903b1 JBR-7501 Wayland: SurfaceData.flush() method is mis-used 2024-08-15 18:58:19 +04:00
Vitaly Provodin
b95cee8fc2 update exclude list on results of 21.0.4_b569.1 test runs 2024-08-15 08:45:55 +04:00
Nikita Tsarev
4616ff7408 JBR-7478: Fix wrong timestamps on KEY_TYPED events [WLToolkit] 2024-08-13 13:52:56 +02:00
lbourges
777e396408 JBR-7461: Implement VKTexturePool for the linux vulkan pipeline:
- based on common AccelTexturePool
 - new VKTexturePool instance in VKLogicalDevice
 - fixed SIGSEGV in VKImage dispose
 - store device in TPI
 - indentation fixes
 - merged with latest changes for JBR-7460
 - use (ATexturePoolLock_init)(void)
 - fixed logs in lock implementations + fixed indentation
 - fixed MTLTexturePool to pre-processor conditions (not runtime) on USE_ACCEL_TEXTURE_POOL
2024-08-12 19:32:21 +02:00
Maxim Kartashёv
830fd66a48 JBR-7313 Wayland: error: xdg_surface buffer does not match the configured maximized state 2024-08-12 14:55:51 +04:00
Nikita Tsarev
53e7e4501e JBR-7426: Fix cancelling press-and-hold causing some future key events being swallowed 2024-08-09 22:40:16 +02:00
Dmitrii Morskii
42c0b92816 JBR-6772 handled case with adding new timers after VM was suspended 2024-08-08 12:07:18 +01:00
Sergey Shelomentsev
66b090fd94 update exclude list on results of 21.0.4_b558.1 test runs 2024-08-08 00:49:30 +03:00
Maxim Kartashev
2fefe69c1e JBR-7397 Wayland: make certain interfaces optional 2024-08-07 14:06:25 +04:00
Maxim Kartashёv
67995ff0a6 JBR-5956 Provide more details on assertion failure
Use JNU_RUNTIME_ASSERT(env, cond, msg) defined in jni_util.h
to crash JVM when 'cond' is not true with the given message
and source location information in the fatal error log.
2024-08-06 17:34:41 +04:00
Maxim Kartashev
63950e41f9 JBR-7397 CLion 2024.2-EAP/Wayland crashes on startup with Miriway
Check if all non-optional interfaces are supported before actually
starting to run
2024-08-06 15:35:31 +04:00
Konstantin Nisht
045a7e4e51 JBR-7466 Exception on VM startup with -Djava.util.zip.use.nio.for.zip.file.access=true 2024-08-05 14:52:35 +04:00
Vladimir Dvorak
9e54ae6019 JBR-7447 use new method for unregister nmethods in G1
caused by JBR-7219 ("Rebasing JBR21 on top of OpenJDK 21.0.4") and changes in G1 nmethods unregister
2024-08-05 10:59:40 +02:00
Sergey Shelomentsev
873bbbbf0a Update jbr-api to 1.0.2 2024-08-02 18:53:19 +03:00
Alexey Ushakov
1f4d50ec68 JBR-7452 Vulkan: Reuse VkRenderPass for multiple renderers (#428)
Moved shared VkRenderPass to the logical device
2024-08-01 13:34:25 +02:00
Nikita Tsarev
2bb26da3aa fixup! JBR-6588: JBR API for inspecting certain properties of KeyEvents 2024-08-01 12:58:49 +02:00
Nikita Tsarev
c038d78960 JBR-6588: JBR API for inspecting certain properties of KeyEvents 2024-07-31 19:07:49 +02:00
Alexey Ushakov
0d5fd3a262 JBR-7420 Vulkan: Implement DRAW_PARALLELOGRAM primitive for flat color rendering (#426)
Refactored rendering code. Provided common implementation for fill and draw operations.
2024-07-30 01:37:15 +02:00
Nikita Tsarev
0834621763 JBR-7449: Fix press-and-hold cancel keys not being swallowed by JBR 2024-07-29 17:30:04 +02:00
SirYwell
94c7666b0a JBR-7442 move AllowEnhancedClassRedefinition capabilities override to use sites 2024-07-26 23:18:29 +02:00
Nikita Gubarkov
a375bb12df 🤠 2024-07-26 15:34:40 +02:00
Nikita Gubarkov
57b9a8440d JBR-7419 Refactor Vulkan code
- Separate instance and device-specific function tables
- Avoid using device from global context when possible
- Set up debug logger
2024-07-26 15:34:40 +02:00
Vitaly Provodin
744155766c update exclude list on results of 21.0.2_b545 (21.0.4) test runs 2024-07-20 04:41:42 +04:00
Vitaly Provodin
a34e03679d JBR-5989 Wayland: add tests introduced in 21.0.4 and failing with the message "WLRobotPeer: wakefield extension not present in Wayland instance" 2024-07-20 04:41:42 +04:00
Matthias Baesken
b5d182dad5 8333542: Breakpoint in parallel code does not work
Reviewed-by: lucy
Backport-of: b3bf31a0a0
2024-07-19 16:57:06 +04:00
Christoph Langer
b1d74cfd8c 8335960: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.4
Reviewed-by: mbaesken
2024-07-19 02:14:34 +04:00
Martin Balao
da445c6087 8320548: Improved loop handling
Backport-of: 72eed2f709caa48c82f58fe75c7e94d2c45947e1
2024-07-19 02:14:20 +04:00
Martin Balao
5f511645bc 8327413: Enhance compilation efficiency
Backport-of: eb1f33f525846e6020185cbc5d6e48cbc760dbb2
2024-07-19 02:14:20 +04:00
Yuri Nesterenko
0520d877f5 8324559: Improve 2D image handling
Reviewed-by: mbalao
Backport-of: 1a5a44019871c411148ca85d0491cc68d2256e4e
2024-07-19 02:14:20 +04:00
Aleksei Voitylov
434759c5d5 8323390: Enhance mask blit functionality
Reviewed-by: mbalao
Backport-of: 895893f2fbf1c521d4a263d505f0ecbda8d2eeea
2024-07-19 02:14:19 +04:00
Martin Balao
e12dcf3508 8323231: Improve array management
Reviewed-by: mbaesken
Backport-of: cf20364d0cb3f182880ee91c7fb023615e27becf
2024-07-19 02:14:19 +04:00
Yuri Nesterenko
4cbbadb390 8320097: Improve Image transformations
Reviewed-by: mbalao
Backport-of: 1401634b21b76db90291011bcae68c461742e687
2024-07-19 02:14:18 +04:00
Aleksei Voitylov
1f26cf71e0 8325600: Better symbol storage
Reviewed-by: mbalao
Backport-of: da06689bf6fde7b6dd8efc2f0c39fc95adcdb69d
2024-07-19 02:14:18 +04:00
Aleksei Voitylov
a39bae17c1 8319859: Better symbol storage
Reviewed-by: yan, mbalao
Backport-of: f7857e9106841f402ade56bad0338fc53159fb9a
2024-07-19 02:14:12 +04:00
Alexei Voitylov
f517898e25 8314794: Improve UTF8 String supports
Reviewed-by: mbalao, evergizova
Backport-of: ab2532d858de8d855529b6f2491f94c499f94009
2024-07-19 02:14:12 +04:00
SendaoYan
f772c75686 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: mdoerr
Backport-of: 8e1d2b091c
2024-07-19 02:14:09 +04:00
Martin Doerr
ec809bd4a3 8320692: Null icon returned for .exe without custom icon
Backport-of: 6212264cc6
2024-07-19 02:14:09 +04:00
Ashutosh Mehra
dd7bf16eed 8330275: Crash in XMark::follow_array
Reviewed-by: stuefe
Backport-of: 42b1d858d1
2024-07-19 02:14:09 +04:00
Matthias Baesken
c33cf48fb2 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Backport-of: 377f2e538a
2024-07-19 02:14:09 +04:00
Andrew Lu
006df66744 8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Backport-of: 5045839cb2
2024-07-19 02:14:08 +04:00
Vladimir Petko
83c2dee7c1 8295111: dpkg appears to have problems resolving symbolically linked native libraries
Backport-of: 32946e1882
2024-07-19 02:14:08 +04:00
Matthias Baesken
abab9861e3 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
Backport-of: c9442014e5
2024-07-19 02:14:08 +04:00
Ben Taylor
21a4d7d76b 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Backport-of: aca1e8365b
2024-07-19 02:14:07 +04:00
Matthias Baesken
5a868021da 8330464: hserr generic events - add entry for the before_exit calls
Backport-of: 45ed97f15b
2024-07-19 02:14:07 +04:00
Matthias Baesken
e151c26d25 8329605: hs errfile generic events - move memory protections and nmethod flushes to separate sections
Backport-of: 397d948310
2024-07-19 02:14:06 +04:00
Martin Doerr
2c60b7a85f 8321812: Update GC tests to use execute[Limited]TestJava
Reviewed-by: mbaesken
Backport-of: 1d1cd32bc3
2024-07-19 02:14:06 +04:00
Andrew Lu
80c0fbb177 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Backport-of: e7c83ea948
2024-07-19 02:14:05 +04:00
Andrew Lu
d43671d418 8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
Backport-of: a657aa38a5
2024-07-19 02:14:04 +04:00
Liang Mao
8b00cadfd6 8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Backport-of: c1cfb43d8d
2024-07-19 02:14:04 +04:00
Liang Mao
26a5760faf 8329840: Fix ZPhysicalMemorySegment::_end type
Backport-of: b4ddddeff1
2024-07-19 02:13:59 +04:00
Andrew Lu
c62472e069 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Backport-of: e9eb8b98f4
2024-07-19 02:13:59 +04:00
Sergey Bylokhov
ea2a58e624 8332253: Linux arm32 build fails after 8292591
Backport-of: 95f79c6787
2024-07-19 02:13:58 +04:00
SendaoYan
c0330f4183 8331466: Problemlist serviceability/dcmd/gc/RunFinalizationTest.java on generic-all
Backport-of: 440782e016
2024-07-19 02:13:57 +04:00
Andrew Lu
764e4346b9 8321107: Add more test cases for JDK-8319372
Backport-of: ecd335d8f4
2024-07-19 02:13:56 +04:00
María Arias de Reyna
e5eb7d9946 8316138: Add GlobalSign 2 TLS root certificates
Backport-of: 4083255440
2024-07-19 02:13:08 +04:00
Andrew Lu
388db19279 8320715: Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16
Backport-of: 5dcf3a56cb
2024-07-19 02:13:08 +04:00
Matthias Baesken
8b7846203e 8331298: avoid alignment checks in UBSAN enabled build
Backport-of: 60b61e588c
2024-07-19 02:13:08 +04:00
Matthias Baesken
8cc49bad44 8312218: Print additional debug information when hitting assert(in_hash)
Backport-of: 7cbab1f396
2024-07-19 02:13:07 +04:00
Martin Doerr
f03cac9ff2 8308144: Uncontrolled memory consumption in SSLFlowDelegate.Reader
Backport-of: 099a8f5b2f
2024-07-19 02:13:07 +04:00
Andrew Lu
cec6f263c1 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Backport-of: f50df10591
2024-07-19 02:13:07 +04:00
Matthias Baesken
dda9d6103f 8329663: hs_err file event log entry for thread adding/removing should print current thread
Backport-of: 3ebf8c9359
2024-07-19 02:13:07 +04:00
Matthias Baesken
2f028fbae7 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Backport-of: 5af6b45eef
2024-07-19 02:13:06 +04:00
Matthias Baesken
bdcd1e4c39 8331167: UBSan enabled build fails in adlc on macOS
Backport-of: 4edac349a5
2024-07-19 02:13:06 +04:00
Thomas Stuefe
61f48f0b88 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Backport-of: d2d37c913e
2024-07-19 02:13:06 +04:00
Aleksey Shipilev
c3549f6239 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Backport-of: a7461de231
2024-07-19 02:13:06 +04:00
Andrew Lu
9e99c0fc8e 8309871: jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java timed out
Backport-of: b9df827adc
2024-07-19 02:13:05 +04:00
SendaoYan
92ffe365d4 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Backport-of: 024133b089
2024-07-19 02:13:05 +04:00
SendaoYan
c27dc3a873 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Backport-of: b6233c3de7
2024-07-19 02:13:05 +04:00
Aleksey Shipilev
84cd4fbe2c 8320370: NMT: Change MallocMemorySnapshot to simplify code.
Reviewed-by: stuefe
Backport-of: a7f6016406
2024-07-19 02:13:05 +04:00
Chad Rakoczy
383df1a2dd 8325621: Improve jspawnhelper version checks
Backport-of: a232e8fb4e
2024-07-19 02:13:04 +04:00
Matthias Baesken
b906579a1f 8330524: Linux ppc64le compile warning with clang in os_linux_ppc.cpp
Backport-of: 252c62a66d
2024-07-19 02:13:04 +04:00
Christoph Langer
3f9953eeae 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Backport-of: 8eac95ec3cd4b215556d788b9ade7a6e2f9deaa3
2024-07-19 02:13:04 +04:00
Christoph Langer
8518106781 8330815: Use pattern matching for instanceof in KeepAliveCache
Backport-of: 0ec3c0b1e698f7ad39b4da2edb062721e4670f58
2024-07-19 02:13:04 +04:00
Liang Mao
2cbde99ea7 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Backport-of: 762b652912
2024-07-19 02:13:03 +04:00
Liang Mao
d3a0e27b1c 8319376: ParallelGC: Forwarded objects found during heap inspection
Backport-of: 59e9981ec2
2024-07-19 02:13:03 +04:00
Aleksey Shipilev
b73293fa7d 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: rrich
Backport-of: 6af0af5934
2024-07-19 02:13:03 +04:00
Goetz Lindenmaier
7adfbd2a3e 8317007: Add bulk removal of dead nmethods during class unloading
Backport-of: f553819502
2024-07-19 02:13:03 +04:00
Goetz Lindenmaier
3a78dc3d6c 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: stuefe
Backport-of: 38bf1192b6
2024-07-19 02:13:02 +04:00
Alexandru C. Moraru
93f0cde18c 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Backport-of: 63fe413d93
2024-07-19 02:13:02 +04:00
Christoph Langer
40a8493648 8331639: [21u]: Bump GHA bootstrap JDK to 21.0.3
Reviewed-by: sgehwolf
2024-07-19 02:13:02 +04:00
Aleksey Shipilev
9bc7cf2b20 8328938: C2 SuperWord: disable vectorization for large stride and scale
Reviewed-by: epeter, simonis
Backport-of: 2931458711
2024-07-19 02:13:02 +04:00
Amit Kumar
844ab591b5 8310513: [s390x] Intrinsify recursive ObjectMonitor locking
Reviewed-by: lucy
Backport-of: 47df14590c
2024-07-19 02:13:01 +04:00
Amit Kumar
2c5b433600 8330011: [s390x] update block-comments to make code consistent
Reviewed-by: lucy
Backport-of: 01bda278d6
2024-07-19 02:13:01 +04:00
Amit Kumar
defae8c96e 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: d5f3d5c8cc
2024-07-19 02:13:00 +04:00
SendaoYan
23fccbe136 8331331: :tier1 target explanation in doc/testing.md is incorrect
Backport-of: 04271dfe7a
2024-07-19 02:13:00 +04:00
Aleksey Shipilev
f474814232 8328703: Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
Backport-of: 87e864bf21
2024-07-19 02:12:59 +04:00
Joachim Kern
59b6dfdde8 8329850: [AIX] Allow loading of different members of same shared library archive
Backport-of: cfd19f0176
2024-07-19 02:12:59 +04:00
Gui Cao
2a1af667e6 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang
Backport-of: b0496096dc
2024-07-19 02:12:59 +04:00
Goetz Lindenmaier
2abe325dbd 8317809: Insertion of free code blobs into code cache can be very slow during class unloading
Reviewed-by: phh, adinn
Backport-of: 30817b7423
2024-07-19 02:12:58 +04:00
Zhengyu Gu
245acdbd66 8328744: Parallel: Parallel GC throws OOM before heap is fully expanded
Backport-of: bf8146eac24ba8e00d1794ef7134ecf2476cf897
2024-07-19 02:12:58 +04:00
Aleksey Shipilev
aa05977182 8328822: C2: "negative trip count?" assert failure in profile predicate code
Backport-of: 2ceeb6c001
2024-07-19 02:12:58 +04:00
Aleksey Shipilev
6896b97ab7 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks
8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()

Backport-of: cb2a671359
2024-07-19 02:12:58 +04:00
Bernhard Urban-Forster
fc35634581 8326974: ODR violation in macroAssembler_aarch64.cpp
Backport-of: b972997af7
2024-07-19 02:12:57 +04:00
Zhengyu Gu
24e28003d8 8319713: Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
Backport-of: 4bcda60266
2024-07-19 02:12:57 +04:00
Amit Kumar
d6ff7e4a23 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: lucy
Backport-of: 6f6621303a
2024-07-19 02:12:56 +04:00
Aleksey Shipilev
0678564e9e 8322962: Upcall stub might go undetected when freezing frames
Backport-of: 93feda3d9a
2024-07-19 02:12:56 +04:00
Aleksey Shipilev
0e9d1aaafb 8325095: C2: bailout message broken: ResourceArea allocated string used after free
Reviewed-by: phh
Backport-of: c589555845
2024-07-19 02:12:56 +04:00
Aleksey Shipilev
918e730302 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Backport-of: 7baec66222
2024-07-19 02:12:56 +04:00
Robbin Ehn
e60627e900 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Backport-of: 8990864a53
2024-07-19 02:12:55 +04:00
Goetz Lindenmaier
f25d8f7df5 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lucy
Backport-of: cbe329b90a
2024-07-19 02:12:55 +04:00
SendaoYan
0c7cdb5121 8331113: createJMHBundle.sh support configurable maven repo mirror
Backport-of: ce9eac3819
2024-07-19 02:12:55 +04:00
Aleksey Shipilev
eeb8db2b06 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
8321182: SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'

Reviewed-by: phh
Backport-of: 7d82479096
2024-07-19 02:12:54 +04:00
Sergey Bylokhov
5cb988d7d8 8328194: Add a test to check default rendering engine
Backport-of: c013fa1811
2024-07-19 02:12:54 +04:00
Amos Shi
e6a939f040 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Backport-of: d1e676360d
2024-07-19 02:12:54 +04:00
María Arias de Reyna
fbe021df82 8320061: [nmt] Multiple issues with peak accounting
Reviewed-by: shade, stuefe
Backport-of: dc256fbc64
2024-07-19 02:12:53 +04:00
Jonathan Dowland
e8cedf7581 8315889: Open source several Swing HTMLDocument related tests
Backport-of: 8f46abc938
2024-07-19 02:12:53 +04:00
Aleksey Shipilev
8fccfdc808 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Backport-of: 925d82931c
2024-07-19 02:12:53 +04:00
Aleksey Shipilev
6c495147ac 8324933: ConcurrentHashTable::statistics_calculate synchronization is expensive
Backport-of: 0e2fdc95ae
2024-07-19 02:12:52 +04:00
Aleksey Shipilev
1f07a1ec6b 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Backport-of: da4dd7c008
2024-07-19 02:12:52 +04:00
Aleksey Shipilev
5d8c50a985 8320924: Improve heap dump performance by optimizing archived object checks
Backport-of: f32ab8cc47
2024-07-19 02:12:52 +04:00
Aleksey Shipilev
fe52188a97 8320707: Virtual thread test updates
Reviewed-by: simonis
Backport-of: b67b71cd87
2024-07-19 02:12:51 +04:00
Aleksey Shipilev
08726c2c3b 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Backport-of: 4b9ec82451
2024-07-19 02:12:51 +04:00
Sonia Zaldana Calles
7795d493e3 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Backport-of: 94b4ed5766
2024-07-19 02:12:51 +04:00
Sonia Zaldana Calles
f9d7d6ae62 8327971: Multiple ASAN errors reported for metaspace
8327988: When running ASAN, disable dangerous NMT test

Reviewed-by: stuefe, shade
Backport-of: 9e566d76d1
2024-07-19 02:12:50 +04:00
María Arias de Reyna
e350e83d13 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: stuefe
Backport-of: 8647f001bb
2024-07-19 02:12:50 +04:00
Sonia Zaldana Calles
ea74152ba4 8316242: Opensource SwingGraphics manual test
Backport-of: a57b9dab6c
2024-07-19 02:12:50 +04:00
Sonia Zaldana Calles
006d94e5f7 8316154: Opensource JTextArea manual tests
Backport-of: 33c62e4fff
2024-07-19 02:12:50 +04:00
Goetz Lindenmaier
d50b30f24e 8328957: Update PKCS11Test.java to not use hardcoded path
Backport-of: 16576b87b7
2024-07-19 02:12:49 +04:00
Goetz Lindenmaier
7be6dc146a 8320525: G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass
Backport-of: 21d361e944
2024-07-19 02:12:49 +04:00
Goetz Lindenmaier
e7c634367b 8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Backport-of: 1629a9059b
2024-07-19 02:12:49 +04:00
Amos Shi
d414816fa5 8187759: Background not refreshed when painting over a transparent JFrame
Backport-of: 04d43c435d
2024-07-19 02:12:48 +04:00
Amos Shi
32d8dcedeb 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Backport-of: 8f0fb27dec
2024-07-19 02:12:48 +04:00
Amos Shi
ed921ac9c3 8315824: Open source several Swing Text/HTML related tests
Backport-of: c11f8352e9
2024-07-19 02:12:48 +04:00
Amos Shi
8d391838a7 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Backport-of: d10f277bd3
2024-07-19 02:12:47 +04:00
Amos Shi
4a55cc83e4 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Backport-of: 31e26814db
2024-07-19 02:12:47 +04:00
Goetz Lindenmaier
f13e11bcb2 8327474: Review use of java.io.tmpdir in jdk tests
Backport-of: 375bfac8e7
2024-07-19 02:12:47 +04:00
Goetz Lindenmaier
2e460d1500 8328555: hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
Backport-of: 23ebd9c3c6
2024-07-19 02:12:47 +04:00
Goetz Lindenmaier
9b1554a5ba 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Backport-of: 85fc47c81a
2024-07-19 02:12:46 +04:00
Goetz Lindenmaier
4ce3da1235 8327486: java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
Backport-of: e21da4caac
2024-07-19 02:12:46 +04:00
Vladimir Petko
fcef03e4c3 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Backport-of: d1099033ac
2024-07-19 02:12:46 +04:00
Aleksey Shipilev
3d24c9849d 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Backport-of: 90ab52e598
2024-07-19 02:12:45 +04:00
Goetz Lindenmaier
422e5ad03e 8319955: Improve dependencies removal during class unloading
Reviewed-by: stuefe
Backport-of: fbe19378c3
2024-07-19 02:12:45 +04:00
Goetz Lindenmaier
5108814114 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: mbaesken, sgehwolf
Backport-of: 9f767aa44b
2024-07-19 02:12:45 +04:00
Goetz Lindenmaier
2b9241767d 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: adinn
Backport-of: c566dfccf8
2024-07-19 02:12:45 +04:00
Goetz Lindenmaier
c530c6bb03 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: roland
Backport-of: c9985720b9
2024-07-19 02:12:44 +04:00
Goetz Lindenmaier
9c7a6ec32b 8323685: PrintSystemDictionaryAtExit has mutex rank assert
Backport-of: 2865afe759
2024-07-19 02:12:43 +04:00
Goetz Lindenmaier
a0dbcc2c77 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
8318720: G1: Memory leak in G1CodeRootSet after JDK-8315503

Reviewed-by: sgehwolf, shade
Backport-of: 795e5dcc85
2024-07-19 02:12:43 +04:00
Andrew Lu
c323f46b13 8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
Backport-of: f1a24f6d48
2024-07-19 02:12:43 +04:00
Aleksey Shipilev
e684f81d59 8318986: Improve GenericWaitBarrier performance
Backport-of: 30462f9da4
2024-07-19 02:12:42 +04:00
Gui Cao
dc64782afe 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:12:41 +04:00
Robert Toyonaga
d76f62ad91 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
Backport-of: 65be5e0c54
2024-07-19 02:12:41 +04:00
Robert Toyonaga
8e68862875 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Backport-of: 96530bcc07
2024-07-19 02:12:41 +04:00
Goetz Lindenmaier
3b0802826f 8328988: [macos14] Problem list LightweightEventTest.java which fails due to macOS bug described in JDK-8322653
Backport-of: 2374d1e334ba0528b39239a01fe52d5843e678df
2024-07-19 02:12:40 +04:00
Goetz Lindenmaier
19f57666be 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Backport-of: d5b95a0ed3
2024-07-19 02:12:40 +04:00
Goetz Lindenmaier
2ffcb1efcb 8320714: java/util/Locale/LocaleProvidersRun.java and java/util/ResourceBundle/modules/visibility/VisibilityTest.java timeout after passing
Backport-of: 69c0b24386
2024-07-19 02:12:39 +04:00
Andrew Lu
d8de757534 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Backport-of: fa823bd21c
2024-07-19 02:12:39 +04:00
Severin Gehwolf
1bc480c1c1 8329961: Buffer overflow in os::Linux::kernel_version
Backport-of: 279ed0ddd5
2024-07-19 02:12:39 +04:00
Matthias Baesken
574c532ebf 8328589: unify os::breakpoint among posix platforms
Backport-of: 93d1700f23
2024-07-19 02:12:38 +04:00
Sidraya Jayagond
85d8121280 8329545: [s390x] Fix garbage value being passed in Argument Register
Backport-of: e0fd6c4c9e
2024-07-19 02:12:38 +04:00
Gui Cao
61892ddc7e 8329823: RISC-V: Need to sync CPU features with related JVM flags
Backport-of: b9331cd25c
2024-07-19 02:12:38 +04:00
Goetz Lindenmaier
a887872dbd 8320349: Simplify FileChooserSymLinkTest.java by using single-window testUI
Backport-of: b1cb37432a
2024-07-19 02:12:38 +04:00
Goetz Lindenmaier
32a25f06a1 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Backport-of: cc8f8da293
2024-07-19 02:12:37 +04:00
Goetz Lindenmaier
3f9db3eaa8 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Backport-of: 5a6aa569aa
2024-07-19 02:12:37 +04:00
Goetz Lindenmaier
9a4e1dcaf4 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Backport-of: 6f5c903d10
2024-07-19 02:12:37 +04:00
Goetz Lindenmaier
952b9b341d 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Backport-of: 1da82a34b1
2024-07-19 02:12:36 +04:00
Christoph Langer
a45e79c5ec 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Backport-of: 92d6fa4abec1fdf8e57723e4490be0ba4f97e59d
2024-07-19 02:12:36 +04:00
Soumadipta Roy
f317dace68 8316608: Enable parallelism in vmTestbase/gc/vector tests
Backport-of: f61499c73f
2024-07-19 02:12:36 +04:00
Andrew Lu
26cac65d4e 8281658: Add a security category to the java -XshowSettings option
Backport-of: 2e12a123c9
2024-07-19 02:12:36 +04:00
Aleksey Shipilev
5d72dff3c6 8328702: C2: Crash during parsing because sub type check is not folded
Backport-of: e5e21a8a6e
2024-07-19 02:12:35 +04:00
Goetz Lindenmaier
8ece167c80 8328037: Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
Backport-of: 128e60a29f
2024-07-19 02:12:35 +04:00
Goetz Lindenmaier
e37d44133a 8321718: ProcessTools.executeProcess calls waitFor before logging
Backport-of: 9ab29f8dcd
2024-07-19 02:12:35 +04:00
Goetz Lindenmaier
447ba4c7af 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: sgehwolf
Backport-of: 4eab39d941
2024-07-19 02:12:35 +04:00
Goetz Lindenmaier
3fa9b47987 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Backport-of: 197981b431
2024-07-19 02:12:34 +04:00
Aleksey Shipilev
fe544d71ea 8329570: G1: Excessive is_obj_dead_cond calls in verification
Backport-of: 29992e1fca
2024-07-19 02:12:34 +04:00
Amos Shi
20a9bdebb9 8305645: System Tray icons get corrupted when Windows primary monitor changes
Backport-of: 6cd370e04b
2024-07-19 02:12:34 +04:00
Matthias Baesken
185f109e82 8328604: remove on_aix() function
Backport-of: 940d1965f8
2024-07-19 02:12:34 +04:00
Gui Cao
c1714e7623 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: rehn
Backport-of: cbbfa0ddfb
2024-07-19 02:12:33 +04:00
Aleksey Shipilev
37ea104c5b 8319650: Improve heap dump performance with class metadata caching
Reviewed-by: phh
Backport-of: 03db82818b
2024-07-19 02:12:33 +04:00
Goetz Lindenmaier
994da4e774 8325203: System.exit(0) kills the launched 3rd party application
Backport-of: 6944537c3e
2024-07-19 02:12:33 +04:00
Elif Aslan
ec47c0e107 8325567: jspawnhelper without args fails with segfault
Backport-of: 2627470946
2024-07-19 02:12:32 +04:00
Goetz Lindenmaier
a2d956d526 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677
Backport-of: 4f336085d1
2024-07-19 02:12:32 +04:00
Goetz Lindenmaier
42c74201c7 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Backport-of: 9029bf644e
2024-07-19 02:12:32 +04:00
Goetz Lindenmaier
3dfdfc6671 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Backport-of: 3ebe6c192a
2024-07-19 02:12:32 +04:00
Goetz Lindenmaier
f40ed464dc 8321163: [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
Backport-of: 672f37324f
2024-07-19 02:12:31 +04:00
Goetz Lindenmaier
fef56b2194 8314975: JavadocTester should set source path if not specified
Backport-of: 2f4d601a56
2024-07-19 02:12:31 +04:00
Goetz Lindenmaier
56920ab04c 8293069: Make -XX:+Verbose less verbose
Backport-of: 238c51e621
2024-07-19 02:12:31 +04:00
Dan Lutker
c258b1edf1 8294699: Launcher causes lingering busy cursor
Backport-of: d3df3eb5d7
2024-07-19 02:12:31 +04:00
Goetz Lindenmaier
1d9b2ca261 8316460: 4 javax/management tests ignore VM flags
Backport-of: d39b7bab27
2024-07-19 02:12:30 +04:00
Goetz Lindenmaier
79dc605fd4 8318962: Update ProcessTools javadoc with suggestions in 8315097
Backport-of: 7e4cb2f09d
2024-07-19 02:12:30 +04:00
Goetz Lindenmaier
21976f7faa 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
Backport-of: 1696603ccd
2024-07-19 02:12:30 +04:00
Goetz Lindenmaier
49e1ed04c6 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Backport-of: 89987dbf87
2024-07-19 02:12:29 +04:00
Matthias Baesken
9a1b44814b 8327468: Do not restart close if errno is EINTR [macOS/linux]
Backport-of: 481c866df8
2024-07-19 02:12:29 +04:00
Matthias Baesken
1d6bd0aaba 8328709: AIX os::get_summary_cpu_info support Power 10
Backport-of: b235682a18
2024-07-19 02:12:29 +04:00
Matthias Baesken
c62bb40cf5 8328776: [AIX] remove checked_vmgetinfo, use vmgetinfo directly
Backport-of: cf9b5a71bd
2024-07-19 02:12:28 +04:00
Goetz Lindenmaier
3bb65dd8fd 8319153: Fix: Class is a raw type in ProcessTools
Backport-of: 1c2ea1d27b
2024-07-19 02:12:28 +04:00
Goetz Lindenmaier
44458e4210 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Backport-of: ee9776fa23
2024-07-19 02:12:28 +04:00
Goetz Lindenmaier
0153a4826f 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Backport-of: 0eb0997ae4
2024-07-19 02:12:27 +04:00
Aleksey Shipilev
3e575ebc93 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:12:27 +04:00
Christoph Langer
72305df0b5 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:12:26 +04:00
Goetz Lindenmaier
0ecdcdba5f 8317965: TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"
8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"

Backport-of: 5207443b36
2024-07-19 02:12:26 +04:00
Goetz Lindenmaier
3e44704588 8317350: Move code cache purging out of CodeCache::UnloadingScope
Backport-of: bd3bc2c618
2024-07-19 02:12:26 +04:00
Goetz Lindenmaier
37c99d7a5b 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Backport-of: 1082c0e767
2024-07-19 02:12:24 +04:00
Goetz Lindenmaier
456c4570fe 8317235: Remove Access API use in nmethod class
Backport-of: c47a0ce3f0
2024-07-19 02:12:24 +04:00
Goetz Lindenmaier
6ce2cff3fd 8316669: ImmutableOopMapSet destructor not called
Backport-of: 3d6e775d71
2024-07-19 02:12:24 +04:00
Goetz Lindenmaier
3edb5cc717 8316670: Remove effectively unused nmethodBucket::_count
Backport-of: 837783c2d3
2024-07-19 02:12:23 +04:00
Goetz Lindenmaier
552b186884 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: lucy
Backport-of: 8dfde28b28
2024-07-19 02:12:23 +04:00
Goetz Lindenmaier
553e5aaa80 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Backport-of: 347beb21aa
2024-07-19 02:12:22 +04:00
Goetz Lindenmaier
b1946ac4a1 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Backport-of: 50158f393e
2024-07-19 02:12:22 +04:00
Goetz Lindenmaier
bea4d9b77c 8315605: G1: Add number of nmethods in code roots scanning statistics
Backport-of: 7ef059a75c
2024-07-19 02:12:22 +04:00
Goetz Lindenmaier
31dac0f846 8294985: SSLEngine throws IAE during parsing of X500Principal
Backport-of: 80edd5c298
2024-07-19 02:12:21 +04:00
Aleksey Shipilev
bc88d97880 8328592: hprof tests fail with -XX:-CompactStrings
Backport-of: bb3e84bd1f
2024-07-19 02:12:21 +04:00
Long Yang
0f0fe60466 8319876: Reduce memory consumption of VM_ThreadDump::doit
Reviewed-by: phh
Backport-of: 8ec6b8de3b
2024-07-19 02:12:21 +04:00
Taizo Kurashige
a75c4e2c08 8313710: jcmd: typo in the documentation of JFR.start and JFR.dump
Backport-of: 16d917a85f
2024-07-19 02:12:21 +04:00
Elif Aslan
22c50af0b7 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Backport-of: 29d462a072
2024-07-19 02:12:20 +04:00
Elif Aslan
73a1681d51 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Backport-of: 9688ec2d0d
2024-07-19 02:12:20 +04:00
María Arias de Reyna
32a16c66bb 8319437: NMT should show library names in call stacks
Backport-of: e33b6c10f8
2024-07-19 02:12:20 +04:00
Goetz Lindenmaier
8cc9b255c6 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Backport-of: d44aaa37f9
2024-07-19 02:12:20 +04:00
Goetz Lindenmaier
7d9978b80f 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Backport-of: 1612b6dc6e
2024-07-19 02:12:20 +04:00
Andrew Lu
d180c49dc5 8328812: Update and move siphash license
Backport-of: ce7ebaa606
2024-07-19 02:12:19 +04:00
Elif Aslan
d19b48144f 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Backport-of: cc1800fa4d
2024-07-19 02:12:19 +04:00
Andrew Lu
23b61da1f9 8323994: gtest runner repeats test name for every single gtest assertion
Backport-of: 1aae980c54
2024-07-19 02:12:19 +04:00
Andrew Lu
79135863b1 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Backport-of: 1f43fa0f8b
2024-07-19 02:12:19 +04:00
Goetz Lindenmaier
9ac6777a82 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Backport-of: 66520be7a7
2024-07-19 02:12:18 +04:00
Aleksey Shipilev
29759cb098 8328825: Google CAInterop test failures
Backport-of: 70a15c7363
2024-07-19 02:12:18 +04:00
Aleksey Shipilev
3b70b6b135 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c
2024-07-19 02:12:18 +04:00
Goetz Lindenmaier
fa0003e132 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Backport-of: 9f7094079b
2024-07-19 02:12:18 +04:00
Goetz Lindenmaier
c26fb51ea3 8319648: java/lang/SecurityManager tests ignore vm flags
Backport-of: 437cf354e2
2024-07-19 02:12:18 +04:00
Goetz Lindenmaier
f8e5f2a824 8326948: Force English locale for timeout formatting
Backport-of: e772e78179
2024-07-19 02:12:17 +04:00
Goetz Lindenmaier
c7ba957da0 8326824: Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java
Backport-of: 552411f832
2024-07-19 02:12:17 +04:00
Goetz Lindenmaier
c1626fe3db 8319651: Several network tests ignore vm flags when start java process
Backport-of: 9538f5d317
2024-07-19 02:12:17 +04:00
Goetz Lindenmaier
f7e2ff254a 8324236: compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
Backport-of: 72ba8178a8
2024-07-19 02:12:17 +04:00
Goetz Lindenmaier
9e633f8ae8 8319571: Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
Backport-of: b78896b9aa
2024-07-19 02:12:16 +04:00
Aleksey Shipilev
532fc1a22c 8328705: GHA: Cross-compilation jobs do not require build JDK
Backport-of: 29ba4b7d1e
2024-07-19 02:12:16 +04:00
Goetz Lindenmaier
c6e11dc958 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Backport-of: 52a6c37558
2024-07-19 02:12:16 +04:00
Goetz Lindenmaier
7607807816 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Backport-of: 62b7c5eaed
2024-07-19 02:12:16 +04:00
Goetz Lindenmaier
7b2c47fde8 8319567: Update java/lang/invoke tests to support vm flags
8319568: Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags
8319672: Several classloader tests ignore VM flags
8319676: A couple of jdk/modules/incubator/ tests ignore VM flags
8319677: Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless

Backport-of: 1588dd934c
2024-07-19 02:12:16 +04:00
Goetz Lindenmaier
7233d66a44 8319574: Exec/process tests should be marked as flagless
Backport-of: 68110b7a82
2024-07-19 02:12:15 +04:00
Goetz Lindenmaier
ccad4eae00 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Backport-of: bfbc41c1f1
2024-07-19 02:12:15 +04:00
Goetz Lindenmaier
23b9c33c02 8316164: Opensource JMenuBar manual test
Backport-of: 8f4dfc443b
2024-07-19 02:12:15 +04:00
Sonia Zaldana Calles
773d281f48 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Backport-of: 43c6f0b588
2024-07-19 02:12:14 +04:00
Sonia Zaldana Calles
a458ea5775 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Backport-of: 6c0bebccb0
2024-07-19 02:12:14 +04:00
Sonia Zaldana Calles
b64fecd7a7 8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
8301183: (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9

Backport-of: 7004c2724d
2024-07-19 02:12:14 +04:00
Sonia Zaldana Calles
78a9caa4f1 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Backport-of: c3c1d5bd12
2024-07-19 02:12:14 +04:00
Aleksey Shipilev
1e30e695b5 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Backport-of: f207aa94f9
2024-07-19 02:12:13 +04:00
Matthias Baesken
b2c722fec3 8328165: improve assert(idx < _maxlrg) failed: oob
Backport-of: d57bdd85ab
2024-07-19 02:12:13 +04:00
Andrew Lu
a9a64247db 8315663: Open source misc awt tests
Backport-of: a36f5a54ab
2024-07-19 02:12:13 +04:00
Andrew Lu
dfb36adf13 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Backport-of: bdd1aebea3
2024-07-19 02:12:12 +04:00
Goetz Lindenmaier
eb4eb74d0b 8325908: Finish removal of IntlTest and CollatorTest
Backport-of: 4c7b313e0d
2024-07-19 02:12:12 +04:00
Goetz Lindenmaier
5d338d6fa0 8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"

Backport-of: 842b895f09
2024-07-19 02:12:12 +04:00
Aleksey Shipilev
078c542fa6 8319048: Monitor deflation unlink phase prolongs time to safepoint
Backport-of: efc392259c
2024-07-19 02:12:12 +04:00
Goetz Lindenmaier
edc8cb5adc 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: eebcc2181f
2024-07-19 02:12:11 +04:00
Goetz Lindenmaier
f914122142 8317631: Refactor ChoiceFormat tests to use JUnit
Backport-of: 5e8d893c48
2024-07-19 02:12:11 +04:00
Alexander Scherbatiy
0543242c2d 7001133: OutOfMemoryError by CustomMediaSizeName implementation
Backport-of: 10335f60f9
2024-07-19 02:12:11 +04:00
Alexander Scherbatiy
78e85192cc 8320365: IPPPrintService.getAttributes() causes blanket re-initialisation
Backport-of: 91ffdfb1fc
2024-07-19 02:12:11 +04:00
Oli Gillespie
41247561b4 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade
Backport-of: 8ef918d667
2024-07-19 02:12:10 +04:00
Robert Toyonaga
8f46286152 8326529: JFR: Test for CompilerCompile events fails due to time out
Backport-of: 4dd6c44cbd
2024-07-19 02:12:10 +04:00
Goetz Lindenmaier
b185dfbceb 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: dde519dc21
2024-07-19 02:12:10 +04:00
Goetz Lindenmaier
791ae08e47 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Backport-of: 95310eab6c
2024-07-19 02:12:10 +04:00
Goetz Lindenmaier
dfc01f174c 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Backport-of: 868f8745fa
2024-07-19 02:12:09 +04:00
Goetz Lindenmaier
7dbd81e2d0 8288989: Make tests not depend on the source code
Backport-of: 2838a916ab
2024-07-19 02:12:09 +04:00
Goetz Lindenmaier
a0c2ae8ba0 8316696: Remove the testing base classes: IntlTest and CollatorTest
Backport-of: b859da9c54
2024-07-19 02:12:09 +04:00
Goetz Lindenmaier
a01ef99baf 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Backport-of: 8d29329138
2024-07-19 02:12:08 +04:00
Goetz Lindenmaier
88ad541a7b 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Backport-of: d7251c1755
2024-07-19 02:12:08 +04:00
Oli Gillespie
e5bf38bd2f 8315559: Delay TempSymbol cleanup to avoid symbol table churn
8321276: runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"

Reviewed-by: coleenp
Backport-of: d23f4f12ad
2024-07-19 02:12:08 +04:00
Aleksey Shipilev
a9ea00a98f 8325613: CTW: Stale method cleanup requires GC after Sweeper removal
Backport-of: 1281e18f14
2024-07-19 02:12:08 +04:00
Long Yang
d8933764f5 8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Backport-of: 6f8b0a33fa
2024-07-19 02:12:07 +04:00
Aleksey Shipilev
727fa577b4 8318757: VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls
8319896: Remove monitor deflation from final audit
8320515: assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
8325437: Safepoint polling in monitor deflation can cause massive logs

Reviewed-by: stefank, adinn
Backport-of: 87be6b69fe
2024-07-19 02:12:07 +04:00
Dan Lutker
05bb294370 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Reviewed-by: shade
Backport-of: 5d414da504
2024-07-19 02:12:07 +04:00
Goetz Lindenmaier
0836c04b3e 8324632: Update Zlib Data Compression Library to Version 1.3.1
8315117: Update Zlib Data Compression Library to Version 1.3
8326351: Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1

Backport-of: b5c267fc8a
2024-07-19 02:12:06 +04:00
Goetz Lindenmaier
f12ad3ea2b 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Backport-of: 3b1062d45d
2024-07-19 02:12:06 +04:00
Goetz Lindenmaier
f3a71225e8 8321489: Update LCMS to 2.16
Backport-of: dc7d3b182d
2024-07-19 02:12:06 +04:00
Goetz Lindenmaier
130d9b7902 8316559: Refactor some util/Calendar tests to JUnit
Backport-of: 355811a996
2024-07-19 02:12:06 +04:00
Goetz Lindenmaier
ef15da0d3f 8313612: Use JUnit in lib-test/jdk tests
Backport-of: a35e96a3fa
2024-07-19 02:12:05 +04:00
Goetz Lindenmaier
b8ad9c5303 8314832: Few runtime/os tests ignore vm flags
Backport-of: fc3e826692
2024-07-19 02:12:05 +04:00
Goetz Lindenmaier
615e2eb29c 8310818: Refactor more Locale tests to use JUnit
Backport-of: 12e9430910
2024-07-19 02:12:05 +04:00
Goetz Lindenmaier
3f55ade5c2 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Backport-of: 05e9c41edd
2024-07-19 02:12:04 +04:00
Goetz Lindenmaier
87a315e943 8310234: Refactor Locale tests to use JUnit
Backport-of: dad7bd9efc
2024-07-19 02:12:04 +04:00
William Kemper
e5e9ce8637 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: shade
Backport-of: 51238c4bdb
2024-07-19 02:12:04 +04:00
Andrew Lu
3e1e3f9e04 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Backport-of: 62c9530c05
2024-07-19 02:12:04 +04:00
William Kemper
5d8f6a0ea7 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: phh
Backport-of: 808a03927c
2024-07-19 02:12:03 +04:00
Matthias Baesken
9270438afa 8326496: [test] checkHsErrFileContent support printing hserr in error case
Backport-of: a065eba56d
2024-07-19 02:12:03 +04:00
Matthias Baesken
bbc0d9fc94 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Backport-of: d0039960c4
2024-07-19 02:12:03 +04:00
Andrew Lu
a750c05e34 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Backport-of: 8be3e39220
2024-07-19 02:12:02 +04:00
Matthias Baesken
10f7e980de 8325432: enhance assert message "relocation addr must be in this section"
Backport-of: 3d3a8f0ebf
2024-07-19 02:12:02 +04:00
Suchismith Roy
ece03743d6 8320005: Allow loading of shared objects with .a extension on AIX
Backport-of: e85355ada4
2024-07-19 02:12:02 +04:00
Martin Doerr
16856d9ba1 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:12:02 +04:00
Andrew Lu
e940ccb0f0 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Backport-of: f1b73350c2
2024-07-19 02:12:01 +04:00
Andrew Lu
f327c3d862 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Backport-of: 721bfee53a
2024-07-19 02:12:01 +04:00
Andrew Lu
a754e48ef0 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Backport-of: 1f2922ad85
2024-07-19 02:12:00 +04:00
Sonia Zaldana Calles
a2bf1e7a70 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: phh
Backport-of: 82796bdebb
2024-07-19 02:12:00 +04:00
Ludovic Henry
8d65fddabb 8321075: RISC-V: UseSystemMemoryBarrier lacking proper OS support
Reviewed-by: rehn, fyang
Backport-of: 68eb5a1df5
2024-07-19 02:12:00 +04:00
Andrew Leonard
94958d3d75 8326685: Linux builds not reproducible if two builds configured in different build folders
Backport-of: 3b90ddfefe
2024-07-19 02:12:00 +04:00
Amos Shi
fc7cd01bac 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Backport-of: f7d6d7a04f
2024-07-19 02:11:59 +04:00
Aleksey Shipilev
def7862a3e 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: phh
Backport-of: 4a16d111b1
2024-07-19 02:11:59 +04:00
Matthias Baesken
05d3ae28c0 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Backport-of: d9ef16dbb6
2024-07-19 02:11:59 +04:00
Long Yang
8aa3ce1c69 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate
Backport-of: 8dbd4b391f
2024-07-19 02:11:59 +04:00
Matthias Baesken
1bbaed468a 8324834: Use _LARGE_FILES on AIX
Backport-of: 8e45182357
2024-07-19 02:11:58 +04:00
Matthias Baesken
a4c6e6deee 8327059: os::Linux::print_proc_sys_info add swappiness information
Backport-of: f3b15abcb7
2024-07-19 02:11:58 +04:00
Amos Shi
f0bb231a1f 8315834: Open source several Swing JSpinner related tests
Backport-of: 4a63eb0522
2024-07-19 02:11:58 +04:00
Amos Shi
1777289f9a 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Backport-of: 91d8dac9cf
2024-07-19 02:11:58 +04:00
Amos Shi
d82b6e6f07 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Backport-of: cbfddf4e1d
2024-07-19 02:11:57 +04:00
Amos Shi
0d2dbc9bd7 8315677: Open source few swing JFileChooser and other tests
Backport-of: fe5ef5f20d
2024-07-19 02:11:57 +04:00
Martin Doerr
748e06ac12 8325326: [PPC64] Don't relocate in case of allocation failure
Backport-of: 4388095cde
2024-07-19 02:11:57 +04:00
Sonia Zaldana Calles
7a48222ff6 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Backport-of: 54f09d7345
2024-07-19 02:11:57 +04:00
Goetz Lindenmaier
52beeab3d2 8314828: Mark 3 jcmd command-line options test as vm.flagless
8316228: jcmd tests are broken by 8314828

Backport-of: 23fab1181b
2024-07-19 02:11:56 +04:00
Goetz Lindenmaier
91b7f0e56e 8320712: Rewrite BadFactoryTest in pure Java
Backport-of: 66971600f7
2024-07-19 02:11:56 +04:00
Goetz Lindenmaier
158ae7d50b 8323276: StressDirListings.java fails on AIX
Backport-of: e5aed6be7a
2024-07-19 02:11:56 +04:00
Goetz Lindenmaier
84f5bc83ac 8322477: order of subclasses in the permits clause can differ between compilations
Reviewed-by: mdoerr
Backport-of: 5ba69e1734
2024-07-19 02:11:55 +04:00
Goetz Lindenmaier
8eb930fed9 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Backport-of: ace010b38a
2024-07-19 02:11:55 +04:00
Goetz Lindenmaier
d012e7aa84 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Backport-of: 704c6ea16c
2024-07-19 02:11:55 +04:00
Goetz Lindenmaier
df22b04492 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Backport-of: 93e82c0146
2024-07-19 02:11:54 +04:00
Goetz Lindenmaier
8c74c282a7 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Backport-of: 1664e793eb
2024-07-19 02:11:54 +04:00
Goetz Lindenmaier
0900c5b2c9 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Backport-of: af7f95e24a
2024-07-19 02:11:54 +04:00
Goetz Lindenmaier
d500d88ff0 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Backport-of: 57fc9a3e96
2024-07-19 02:11:54 +04:00
SendaoYan
1596076b7c 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Backport-of: 432756b6e5
2024-07-19 02:11:53 +04:00
SendaoYan
ec20998712 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:11:53 +04:00
Sonia Zaldana Calles
6bda3ebeb7 8315609: Open source few more swing text/html tests
Backport-of: a04c6c1ac6
2024-07-19 02:11:53 +04:00
Sonia Zaldana Calles
5365b13482 8315898: Open source swing JMenu tests
Backport-of: fecd2fd8f2
2024-07-19 02:11:52 +04:00
Andrew Lu
dae4c48c02 8325972: Add -x to bash for building with LOG=debug
Backport-of: 8668198c26
2024-07-19 02:11:52 +04:00
Andrew Lu
d46b3798e5 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Backport-of: 9f0e7da64e
2024-07-19 02:11:52 +04:00
Richard Reingruber
521633e98a 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Reviewed-by: mdoerr
2024-07-19 02:11:51 +04:00
Goetz Lindenmaier
b375610e43 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Backport-of: acaab6fd74
2024-07-19 02:11:51 +04:00
Oli Gillespie
0636be51ff 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Backport-of: 69b2674c68
2024-07-19 02:11:51 +04:00
Sonia Zaldana Calles
276cef5b35 8320343: Generate GIF images for AbstractButton/5049549/bug5049549.java
Backport-of: 9481d06e62
2024-07-19 02:11:50 +04:00
Matthias Baesken
78f7680180 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Backport-of: 9f4ec21f47
2024-07-19 02:11:50 +04:00
Aleksey Shipilev
4a3bd22382 8323519: Add applications/ctw/modules to Hotspot tiered testing
Backport-of: ba3c3bbd87
2024-07-19 02:11:50 +04:00
Andrew Lu
5413658b52 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:11:50 +04:00
Sergey Bylokhov
b237b46531 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Backport-of: aba19334ea
2024-07-19 02:11:49 +04:00
KIRIYAMA Takuya
c3a5eca3d7 8313394: Array Elements in OldObjectSample event has the incorrect description
Backport-of: e8c325dea3
2024-07-19 02:11:49 +04:00
Patrick Zhang
d08bb67c84 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Backport-of: 9936aeea32
2024-07-19 02:11:49 +04:00
Liang Mao
96a07f05ee 8324123: aarch64: fix prfm literal encoding in assembler
Backport-of: bde87895c8
2024-07-19 02:11:48 +04:00
Aleksey Shipilev
930b21cbb0 8322846: Running with -Djdk.tracePinnedThreads set can hang
Backport-of: faa9c6909d
2024-07-19 02:11:48 +04:00
Jiří Vaněk
a7eca5c5b0 8323170: j2dbench is using outdated javac source/target to be able to build by itself
Backport-of: b5df2f4314
2024-07-19 02:11:47 +04:00
Aleksey Shipilev
63f9947d78 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
8312777: notifyJvmtiMount before notifyJvmtiUnmount
8321270: Virtual Thread.yield consumes parking permit
8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
8316924: java/lang/Thread/virtual/stress/ParkALot.java times out

Backport-of: 9a83d55887
2024-07-19 02:11:47 +04:00
Martin Doerr
9d82180fe6 8325213: Flags introduced by configure script are not passed to ADLC build
Backport-of: 9ee9f28849
2024-07-19 02:11:46 +04:00
Aleksey Shipilev
cf24f9f662 8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index
8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

Reviewed-by: phh
Backport-of: e9e694f4ef
2024-07-19 02:11:46 +04:00
Aleksey Shipilev
f7582e15ec 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Backport-of: 951b5f8ecb
2024-07-19 02:11:46 +04:00
Andrew Lu
879d4c5d95 8316053: Open some swing tests 3
Backport-of: a2391a92cd
2024-07-19 02:11:45 +04:00
Liang Mao
c558c0a425 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
Backport-of: 80642dd7af
2024-07-19 02:11:45 +04:00
Goetz Lindenmaier
83a6d98073 8326773: Bump update version for OpenJDK: jdk-21.0.4
Reviewed-by: sgehwolf
2024-07-19 02:11:45 +04:00
Vitaly Provodin
7836c31c8e update exclude list on results of 21.0.3_b532.3 test runs 2024-07-18 07:10:20 +04:00
Artem Bochkarev
f9368519cd fixup! JBR-5405: supported BufImgSurfaceData 2024-07-15 09:11:11 +04:00
Konstantin Nisht
fe0853cae1 JBR-7392: Use NIO FS in ZipFile 2024-07-12 18:57:35 +04:00
Maxim Kartashёv
e63009e232 JBR-7390 Wayland: need better headless exception message 2024-07-11 11:57:45 +04:00
Vladimir Dvorak
9b7f2bfe05 JBR-7351 DCEVM: Respect explicit -XX:+ClassUnloading option
Ensure that ClassUnloading is not disabled if the -XX:+ClassUnloading flag is explicitly set by the user. Display a warning about potential instability in this configuration.
2024-07-09 21:25:34 +02:00
Artem Bochkarev
63cea5cf2d JBR-5405: supported BufImgSurfaceData 2024-07-09 10:27:34 +07:00
Vitaly Provodin
5c6f4e4fbc update exclude list on results of 21.0.3_b521.1 test runs 2024-07-09 03:17:29 +04:00
Maxim Kartashev
3fe37e1cd1 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:39:10 +04:00
Artem Bochkarev
9a2c8c6cd5 JBR-4430 Fixed execution permissions on Linux 2024-07-08 09:52:54 +04:00
Maxim Kartashev
bd0703945a JBR-7028 Fix FPS counters for Windows 2024-07-03 14:31:02 +04:00
Aleksey Shipilev
70f9bc23f3 update exclude list on results of 21.0.3_b517.1 test runs 2024-07-02 04:13:13 +04:00
bourgesl
d8dab24256 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 12:09:46 +02:00
Nikita Provotorov
61f62b37ad JBR-7336 Any keyboard shortcut with Alt produces a Windows system sound.
fixup! JBR-7157: Alt+Shift+Enter sends KEY_TYPED Event.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Backport-of: c2e77e2f17
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
aa6c164f6e 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Backport-of: 84f4f7477c
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
66e953a966 8312416: Tests in Locale should have more descriptive names
Backport-of: a9a3463afb
2024-04-20 07:23:07 +07:00
Olga Mikhaltsova
205d8bc807 8318158: RISC-V: implement roundD/roundF intrinsics
Backport-of: 19147f326c
2024-04-20 07:23:07 +07:00
Andrew Lu
bc7548c680 8169475: WheelModifier.java fails by timeout
Backport-of: 613d32c282
2024-04-20 07:23:07 +07:00
Goetz Lindenmaier
60e0cbdfc6 8077371: Binary files in JAXP test should be removed
Backport-of: 40106422bd
2024-04-20 07:23:06 +07:00
Aleksey Shipilev
2f142c059e 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Backport-of: 50d1839d54
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
03102d6643 8314283: Support for NSS tests on aarch64 platforms
Backport-of: 2a80160960
2024-04-20 07:23:06 +07:00
Johannes Bechberger
d764f632e1 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: asemenov
Backport-of: ffa33d7b80
2024-04-20 07:23:06 +07:00
Liang Mao
ba55143c72 8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompactionLimit as percentage instead of multiples
Reviewed-by: eosterlund
Backport-of: bf813be0f3
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
9fbb6c1339 8323008: filter out harmful -std* flags added by autoconf from CXX
Backport-of: 68c4286026
2024-04-20 07:23:06 +07:00
Richard Reingruber
bf785fe967 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Backport-of: 4bfe226870
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
23c4f41d57 8318590: JButton ignores margin when painting HTML text
Backport-of: acaf2c8dcf
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
0e6029248d 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Backport-of: e2e8e8e210
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
370ea5439e 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Backport-of: dd64a4a483
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
a9400019e7 8311663: Additional refactoring of Locale tests to JUnit
Backport-of: 71cac8ce47
2024-04-20 07:23:06 +07:00
Matthias Baesken
2596cee028 8322098: os::Linux::print_system_memory_info enhance the THP output with /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
8323331: fix typo hpage_pdm_size

Reviewed-by: lucy
Backport-of: b31454e362
2024-04-20 07:23:06 +07:00
Chris Hegarty
0379ddd60d 8323659: LinkedTransferQueue add and put methods call overridable offer
Reviewed-by: shade
Backport-of: ee4d9aa4c1
2024-04-20 07:23:06 +07:00
Goetz Lindenmaier
586f29ee92 8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.java and clarify its purpose
Backport-of: f0b7eb519a
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
c3f91052dc 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Backport-of: 4c5b66dcea
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
6bb383183a 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Backport-of: 167d1c1835
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
efff28a9d8 8315721: CloseRace.java#id0 fails transiently on libgraal
Backport-of: 1be355734d
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
7b7717ca9d 8310923: Refactor Currency tests to use JUnit
Backport-of: e848d9471f
2024-04-20 07:23:05 +07:00
Goetz Lindenmaier
0c37ada897 8306922: IR verification fails because IR dump is chopped up
Backport-of: 9057b35033
2024-04-20 07:23:05 +07:00
William Kemper
302210b63f 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Backport-of: a7db4feceb
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
d2895f079b 8318613: ChoiceFormat patterns are not well tested
Backport-of: 10427c023a
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
beb9e47322 8316106: Open source few swing JInternalFrame and JMenuBar tests
Backport-of: 0775bf2f03
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
e102758c15 8318154: Improve stability of WheelModifier.java test
Backport-of: 668d4b077f
2024-04-20 07:23:05 +07:00
Sonia Zaldana Calles
3ff76fd569 8319103: Popups that request focus are not shown on Linux with Wayland
Backport-of: f3ed27582e
2024-04-20 07:23:05 +07:00
William Kemper
56b0d8bdcc 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Backport-of: c4a83bd6f6
2024-04-20 07:23:05 +07:00
Aleksey Shipilev
a5ecda850e 8319372: C2 compilation fails with "Bad immediate dominator info"
Backport-of: 7766785098
2024-04-20 07:23:05 +07:00
Matthias Baesken
fef2ed8406 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Backport-of: b530c0281b
2024-04-20 07:23:04 +07:00
Andrew Lu
7a2cf7b869 8315594: Open source few headless Swing misc tests
Backport-of: 806ef0897b
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
571981a7ec 8321164: javac with annotation processor throws AssertionError: Filling jrt:/... during JarFileObject[/...]
Backport-of: 03c4595173
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
1b6879b584 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Backport-of: e3201d1d13
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
1594f942a0 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Backport-of: 8ae309ebac
2024-04-20 07:23:04 +07:00
Goetz Lindenmaier
f0030bba33 8319124: Update XML Security for Java to 3.0.3
Reviewed-by: mbaesken
Backport-of: 1c0bd81a10
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
8e40700bf2 8320888: Shenandoah: Enable ShenandoahVerifyOptoBarriers in debug builds
Backport-of: c86431767e
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
8d7359b260 8320877: Shenandoah: Remove ShenandoahUnloadClassesFrequency support
Backport-of: b65ccff357
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
a6d0b3a5d3 8320907: Shenandoah: Remove ShenandoahSelfFixing flag
Backport-of: 43c7f6a673
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
ba5d63c80e 8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Backport-of: eb9e754b3a
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
96ce5df44a 8322512: StringBuffer.repeat does not work correctly after toString() was called
Backport-of: df22fb322e
2024-04-20 07:23:04 +07:00
Aleksey Shipilev
e8a23bc3b5 8321582: yield <primitive-type>.class not parsed correctly.
Backport-of: ce8399fd60
2024-04-20 07:23:04 +07:00
Christoph Langer
67286d2258 8320309: AIX: pthreads created by foreign test library don't work as expected
Backport-of: 8b47a14958
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
2478e2243f 8318490: Increase timeout for JDK tests that are close to the limit when run with libgraal
Backport-of: 6f263111a1
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
172de978d6 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Backport-of: b20dc1e9cd
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
083dec1ae4 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Backport-of: 0d2196f8e5
2024-04-20 07:23:03 +07:00
Matthias Baesken
8af76ba6b4 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Backport-of: a8e4229852
2024-04-20 07:23:03 +07:00
Elif Aslan
b1391484af 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Backport-of: 43f31d7385
2024-04-20 07:23:03 +07:00
Elif Aslan
2235673006 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Backport-of: cee44a6255
2024-04-20 07:23:03 +07:00
Ichiroh Takiguchi
4123aa656b 6928542: Chinese characters in RTF are not decoded
Backport-of: a26f7c03c7
2024-04-20 07:23:03 +07:00
Dan Lutker
2e7680c71a 8322725: (tz) Update Timezone Data to 2023d
Backport-of: 2a9c3589d9
2024-04-20 07:23:03 +07:00
Aleksey Shipilev
4a3564f78d 8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Backport-of: 11394828b3
2024-04-20 07:23:03 +07:00
Aleksey Shipilev
9650dffa15 8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects
Reviewed-by: eosterlund
Backport-of: be49dabd0d
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
b2bd275307 8210410: Refactor java.util.Currency:i18n shell tests to plain java tests
Backport-of: 2584bf87ae
2024-04-20 07:23:03 +07:00
Goetz Lindenmaier
d7390b9e3e 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: aph
Backport-of: 6e1aacdfba
2024-04-20 07:23:03 +07:00
William Kemper
8ae1b67fec 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Backport-of: f0e2e4311b
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
a814b1aa78 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph
Backport-of: ade21a965f
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
c093f7bbd0 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: prappo, simonis
Backport-of: fc29a2e152
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
edda7ce0d1 8319883: Zero: Use atomic built-ins for 64-bit accesses
Backport-of: 25f9af99be
2024-04-20 07:23:02 +07:00
Aleksey Shipilev
8eddcfac13 8320145: Compiler should accept final variable in Record Pattern
Backport-of: 4ba94ef69e
2024-04-20 07:23:02 +07:00
Oli Gillespie
f4431bd5ad 8321599: Data loss in AVX3 Base64 decoding
Backport-of: 13c11487f7
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
63968bca52 8316693: Simplify at-requires checkDockerSupport()
Backport-of: 16fd43c5eb
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
97b6e64098 8319879: Stress mode to randomize incremental inlining decision
Backport-of: 303757b3a0
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
ac105a9b12 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array"
Backport-of: 4ef24e2596
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
df74973f6f 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: roland, shade
Backport-of: 3630af26e6
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
2516132174 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Backport-of: edb2be10fb
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
e287f0c50d 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Backport-of: 2cf5c2f4b6
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
186085fbc1 8319569: Several java/util tests should be updated to accept VM flags
Backport-of: 2bb4b9398d
2024-04-20 07:23:02 +07:00
Goetz Lindenmaier
6086ed2389 8315097: Rename createJavaProcessBuilder 8318964: Fix build failures caused by 8315097
Reviewed-by: mdoerr
Backport-of: d52a995f35
2024-04-20 07:23:01 +07:00
Gui Cao
8fcf0c5ccf 8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d
2024-04-20 07:23:01 +07:00
Jonathan Dowland
8890d6ecc1 8315731: Open source several Swing Text related tests
Backport-of: d475f61fd5
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
06de307e05 8320921: GHA: Parallelize hotspot_compiler test jobs
Backport-of: 694136909c
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
3dd5949031 8322321: Add man page doc for -XX:+VerifySharedSpaces
Backport-of: f7dc257a20
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
bdf68e9a2a 8322159: ThisEscapeAnalyzer crashes for erroneous code
Backport-of: 7455b1b527
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
1d1c4f09c4 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Backport-of: 05745e3f1d
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
43e6d72f4f 8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass is not initialized
Backport-of: c8ad7b7f84
2024-04-20 07:23:01 +07:00
Sergey Bylokhov
2fe34911b9 8315042: NPE in PKCS7.parseOldSignedData
Backport-of: 8c0d026d0f
2024-04-20 07:23:01 +07:00
Jonathan Dowland
4ca0af2c3e 8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: component must be showing on the screen to determine its location
Backport-of: e7486e8cfc
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
dcd554c8a8 8309203: C2: remove copy-by-value of GrowableArray for InterfaceSet
Backport-of: 21cda19d05
2024-04-20 07:23:01 +07:00
Sergey Bylokhov
e07b9edaa0 8301310: The SendRawSysexMessage test may cause a JVM crash
Backport-of: d725b73df0
2024-04-20 07:23:01 +07:00
Aleksey Shipilev
43d0442c08 8319137: release _object in ObjectMonitor dtor to avoid races
Reviewed-by: rkennke
Backport-of: c39d001c7a
2024-04-20 07:23:00 +07:00
Sergey Bylokhov
4c0a8cd859 8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Backport-of: eb44bafe77
2024-04-20 07:23:00 +07:00
Jan Kratochvil
5c3c8607b5 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Backport-of: febc34dd28
2024-04-20 07:23:00 +07:00
Christoph Langer
57a3fc6e70 8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken
Backport-of: 32d80e2caf
2024-04-20 07:23:00 +07:00
Sandhya Viswanathan
f3d66dcc62 8320206: Some intrinsics/stubs missing vzeroupper on x86_64
Backport-of: 9b372e28ce
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
8edb40cdb3 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Backport-of: 06a1a15d01
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
d7f256b88b 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Backport-of: edcc559f09
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
9f39f1e03d 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Backport-of: 86dde5e02b
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
ad5ed23c16 8312428: PKCS11 tests fail with NSS 3.91
Backport-of: 1c598c2245
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
a434e64220 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Backport-of: d46f0fb318
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
c52d6f0b80 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Backport-of: e5744b8120
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
02b9b58f0e 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Backport-of: 88b4e3b853
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
700f80ff32 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Backport-of: 2d38495b61
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
791b2d3b6e 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Backport-of: 826dcb5424
2024-04-20 07:23:00 +07:00
Goetz Lindenmaier
6c5f5b13f3 8315034: File.mkdirs() occasionally fails to create folders on Windows shared folder
Backport-of: 7ad700596f
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
d6a9216998 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Backport-of: bc5a39bb54
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
26068c1572 8318983: Fix comment typo in PKCS12Passwd.java
Backport-of: 949846986f
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
4d40c30a80 8316464: 3 sun/tools tests ignore VM flags
Backport-of: 993951b85e
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
15d50f8d2e 8316447: 8 sun/management/jmxremote tests ignore VM flags
Backport-of: 053f45695f
2024-04-20 07:22:59 +07:00
Aleksey Shipilev
67e0328fcb 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
Backport-of: 5718039a46
2024-04-20 07:22:59 +07:00
Sandhya Viswanathan
7a49498cdc 8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Reviewed-by: shade
Backport-of: 027b5dbb6a
2024-04-20 07:22:59 +07:00
Martin Doerr
b2cfe51a05 8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
Backport-of: 61653a1ff1
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
cc5fbc8d2b 8322418: Problem list gc/TestAllocHumongousFragment.java subtests for 8298781
Backport-of: 6de23bf36e
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
3af8cbde9e 8322417: Console read line with zero out should zero out when throwing exception
Backport-of: 2f917bff5c
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
ebffd876e8 8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker Initiated GC' not in the valid causes
Backport-of: 7c7f8ea30d
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
42dcf943f3 8318689: jtreg is confused when folder name is the same as the test name
Backport-of: a9b31b587c
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
dde6b83c5b 8317358: G1: Make TestMaxNewSize use createTestJvm
Backport-of: 1a098356dd
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
5c80a9cb90 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Backport-of: ca5eee2fe3
2024-04-20 07:22:59 +07:00
Goetz Lindenmaier
02b517da3e 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: shade
Backport-of: b685ee00b2
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
5ff2c8fec4 8314320: Mark runtime/CommandLine/ tests as flagless
Backport-of: f481477144
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
bb058796fd 8310308: IR Framework: check for type and size of vector nodes
8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake

Reviewed-by: mbaesken
Backport-of: a02d65efcc
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
65291fdb7a 8313854: Some tests in serviceability area fail on localized Windows platform
Backport-of: 49b29845f7
2024-04-20 07:22:58 +07:00
Gui Cao
4fb4bd3866 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Backport-of: e8768ae08d
2024-04-20 07:22:58 +07:00
Liam Miller-Cushon
89ef9aa054 8322040: Missing array bounds check in ClassReader.parameter
Reviewed-by: sgehwolf
Backport-of: 20de541b13
2024-04-20 07:22:58 +07:00
Jaroslav Bachorik
b52ecf435d 8313816: Accessing jmethodID might lead to spurious crashes
Backport-of: cdd1a6e851
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
58b0c1f06d 8321409: Console read line with zero out should zero out underlying buffer in JLine (redux)
Backport-of: 4ed38f5ad5
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
116fd3f114 8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
Backport-of: 1bb250c9e6
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
d6f78f61e4 8209595: MonitorVmStartTerminate.java timed out
Backport-of: a045258ae2
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
2c1530368e 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Backport-of: d6679031e0
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
484634ca94 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Backport-of: a949824e98
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
a717959a7b 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Backport-of: 75b37e6d7e
2024-04-20 07:22:58 +07:00
Goetz Lindenmaier
b472d38d55 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Backport-of: d8cd60588a
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
58b80bb143 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Backport-of: 5bd10521eb
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
a7ced1b435 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Backport-of: c64bd3d671
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
1540e5fbf4 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Backport-of: 6ee6171e81
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
e68b1bf9d4 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Backport-of: 7ca0ae9415
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
37d2fcdf25 8316446: 4 sun/management/jdp tests ignore VM flags
Backport-of: 5b311f20df
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
f9c5dcf2de 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Backport-of: 54028e779b
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
5835eb3610 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Backport-of: e0f8d16833
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
9c033cf099 8313638: Add test for dump of resolved references
Reviewed-by: matsaave
Backport-of: 83dca6296e
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
7195e7210a 8314831: NMT tests ignore vm flags
Backport-of: 9bf3dee242
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
9198443848 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Backport-of: 5cbff24608
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
7cbe899938 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Backport-of: 7342f5a033
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
b007db4839 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Backport-of: 87b08b6e01
2024-04-20 07:22:57 +07:00
Goetz Lindenmaier
bfe6d49ed3 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Backport-of: e9daf4a018
2024-04-20 07:22:56 +07:00
Goetz Lindenmaier
45c86073f5 8311581: Remove obsolete code and comments in TestLVT.java
Backport-of: 27de536b40
2024-04-20 07:22:56 +07:00
KIRIYAMA Takuya
a05e1c3c8b 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Backport-of: b4b2fecb42
2024-04-20 07:22:56 +07:00
Sonia Zaldana Calles
95a0b65158 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Backport-of: c698b45a7b
2024-04-20 07:22:56 +07:00
Matthias Baesken
3cd21b3a06 8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with ConnectException: Connection timed out: no further information
Backport-of: b9b82631bf
2024-04-20 07:22:56 +07:00
Matthias Baesken
eb838a10c0 8320168: handle setsocktopt return values
Backport-of: db1d82347b
2024-04-20 07:22:56 +07:00
Frederic Thevenet
cd581380d5 8321374: Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll
Backport-of: 05f950934e
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
680d61a241 8314220: Configurable InlineCacheBuffer size
Backport-of: a40d8d97e8
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
e75cb46e2c 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Backport-of: 15588e08ed
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
275748ba0c 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Backport-of: 01ea1eff66
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
7a042c7607 8319897: Move StackWatermark handling out of LockStack::contains
Backport-of: bbf52e0e4c
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
ea5508dec9 8316229: Enhance class initialization logging
Backport-of: 84124794c2
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
b01408afd5 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Backport-of: 570dffb104
2024-04-20 07:22:56 +07:00
Aleksey Shipilev
751bd1cc89 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Backport-of: 87c79c0801
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
74c3d2e527 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Backport-of: 864a876ebf
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
6ab032e3f2 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Backport-of: 0048f1da4c
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
d69d8f11f4 8317300: javac erroneously allows "final" in front of a record pattern
Backport-of: 5ca1beb30e
2024-04-20 07:22:55 +07:00
Aleksey Shipilev
67d7f6a5e4 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank
Backport-of: dcd6e75671
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
5bced298f8 8319668: Fixup of jar filename typo in BadFactoryTest.sh
Backport-of: 63ad868e18
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
66faff439a 8320208: Update Public Suffix List to b5bf572
Backport-of: 2b4e99140a
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
55e56a1858 8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed with SIGBUS in PcDescContainer::find_pc_desc_internal
Backport-of: 58af9aeeb0
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
10876ceb3f 8316028: Update FreeType to 2.13.2
Backport-of: 3b65b8797a
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
1bcce286e5 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Backport-of: e649c56324
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
04cb0e3c0d 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Backport-of: 5f4be8cea9
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
1d0db164ae 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Backport-of: 7e39e664cf
2024-04-20 07:22:55 +07:00
Goetz Lindenmaier
3da53bda15 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Backport-of: fbc766ee21
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
fb2d21624b 8314838: 3 compiler tests ignore vm flags
Backport-of: ab6a87e670
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
14ee317379 8314837: 5 compiled/codecache tests ignore VM flags
Backport-of: 2a11bc41ba
2024-04-20 07:22:54 +07:00
Matthias Baesken
ff16c880c7 8320383: refresh libraries cache on AIX in VMError::report
Backport-of: 26c3390421
2024-04-20 07:22:54 +07:00
Kimura Yukihiro
a63c51ee0d 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Backport-of: d051f22284
2024-04-20 07:22:54 +07:00
Joachim Kern
07cd01e408 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Reviewed-by: mbaesken, mdoerr
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
e92bb240ab 8321131: Console read line with zero out should zero out underlying buffer in JLine
Reviewed-by: mbaesken
Backport-of: bd04f91e91
2024-04-20 07:22:54 +07:00
Sonia Zaldana Calles
50bd42774a 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Backport-of: f804f8652d
2024-04-20 07:22:54 +07:00
Matthias Baesken
62c6191623 8320300: Adjust hs_err output in malloc/mmap error cases
Backport-of: 60c8d9c045
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
f6a7500dd9 8320798: Console read line with zero out should zero out underlying buffer
Backport-of: d568562966
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
c0b984a673 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Backport-of: ba645da97b
2024-04-20 07:22:54 +07:00
Goetz Lindenmaier
39db75d4e0 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Backport-of: a290256bbf
2024-04-20 07:22:54 +07:00
Martin Doerr
e349e88837 8320807: [PPC64][ZGC] C1 generates wrong code for atomics
Backport-of: 3087e14cde
2024-04-20 07:22:53 +07:00
Matthias Baesken
cd38534e32 8320898: exclude compiler/vectorapi/reshape/TestVectorReinterpret.java on ppc64(le) platforms
Backport-of: 78b6c2b408
2024-04-20 07:22:53 +07:00
Severin Gehwolf
09bf2283fa 8321894: Bump update version for OpenJDK: 21.0.3
Reviewed-by: goetz
2024-04-20 07:22:53 +07:00
Maxim Kartashev
774ecfa0cb JBR-7010 Wayland: Swing window resizing is not smooth enough 2024-04-19 12:56:20 +03:00
Sergei Tachenov
776a2c7f35 JBR-6984 Fix BoxLayout/NPECheckRequests test
It was initially written and tested on Linux, but it turns out that
on other systems validate() can be called in between init() and start()
calls, which would break the test even though BoxLayout isn't broken.
2024-04-17 12:23:08 +04:00
Vitaly Provodin
cf5483609e update exclude list on results of 21.0.2_b430.2 test runs 2024-04-16 07:43:22 +07:00
Dmitrii Morskii
51d67613bb JBR-6372: implement detecting of OS theme on linux 2024-04-12 18:33:56 +02:00
Dmitrii Morskii
48dee1515d JBR-6171 removing deadlock related to calling getCurrentServerTime 2024-04-12 18:23:27 +02:00
Vitaly Provodin
37c68cafd6 introduce jbMuslProblemList.txt exclude list 2024-04-11 16:35:59 +07:00
Sergei Tachenov
35da2d269e JBR-6771 BoxLayout throws mysterious NPEs due to previous exceptions
The checkRequests method only does layout initialization
if it isn't initialized already. However, when an exception
is thrown during the initialization, the layout may end up
in a half-initialized state.

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

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

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

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

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

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

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

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

Co-authored-by: Maxim Kartashёv <maxim@kartashev.spb.ru>
2024-03-18 10:23:51 +04:00
Vitaly Provodin
29f7cc3c2f update exclude list on results of 21.0.2_b393.7 test runs 2024-03-15 17:19:26 +07:00
8261 changed files with 344275 additions and 180181 deletions

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

@@ -0,0 +1,68 @@
#
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
name: 'Build JTReg'
description: 'Build JTReg'
runs:
using: composite
steps:
- name: 'Get JTReg version configuration'
id: version
uses: ./.github/actions/config
with:
var: JTREG_VERSION
- name: 'Check cache for already built JTReg'
id: get-cached
uses: actions/cache@v4
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Upload JTReg artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
retention-days: 1

View File

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

View File

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

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
#
name: 'Get JTReg'
description: 'Download JTReg from cache or source location'
description: 'Get JTReg'
outputs:
path:
description: 'Path to the installed JTReg'
@@ -39,30 +39,12 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Export path to where JTReg is installed'
id: path-name

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,9 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
test_suite_name=$(cat build/run-test-prebuilt/test-support/test-last-ids.txt)
@@ -44,8 +47,8 @@ for test in $failures $errors; do
base_path="$(echo "$test" | tr '#' '_')"
report_file="$report_dir/$base_path.jtr"
hs_err_files=$(ls $report_dir/$base_path/hs_err*.log 2> /dev/null || true)
replay_files=$(ls $report_dir/$base_path/replay*.log 2> /dev/null || true)
echo "#### <a id="$anchor">$test"
echo '<details><summary>View test results</summary>'
echo ''
echo '```'
@@ -73,20 +76,22 @@ for test in $failures $errors; do
echo ''
fi
if [[ "$replay_files" != "" ]]; then
echo '<details><summary>View HotSpot replay file</summary>'
echo ''
for replay in $replay_files; do
echo '```'
echo "$replay:"
echo ''
cat "$replay"
echo '```'
done
echo '</details>'
echo ''
fi
done >> $GITHUB_STEP_SUMMARY
# With many failures, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
echo ':arrow_right: To see the entire test log, click the job in the list to the left.' >> $GITHUB_STEP_SUMMARY
truncate_summary

View File

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

View File

@@ -1,10 +1,13 @@
#!/bin/bash
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -21,4 +24,18 @@
# questions.
#
exclusiveAccess.dirs=.
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
}

View File

@@ -61,27 +61,32 @@ jobs:
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: arm
gnu-arch: arm
debian-arch: armhf
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
gnu-abi: eabihf
- target-cpu: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: ppc64le
gnu-arch: powerpc64le
debian-arch: ppc64el
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: riscv64
gnu-arch: riscv64
debian-arch: riscv64
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
tolerate-sysroot-errors: true
steps:
- name: 'Checkout the JDK source'
@@ -93,13 +98,6 @@ 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
@@ -120,7 +118,7 @@ jobs:
- 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') }}
@@ -130,8 +128,10 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
@@ -140,6 +140,7 @@ jobs:
${{ matrix.debian-version }}
sysroot
${{ matrix.debian-repository }}
continue-on-error: ${{ matrix.tolerate-sysroot-errors }}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Prepare sysroot'
@@ -151,7 +152,15 @@ jobs:
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -165,7 +174,6 @@ jobs:
--disable-precompiled-headers
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}
--with-sysroot=sysroot
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
@@ -173,6 +181,7 @@ jobs:
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
- name: 'Build'
id: build
@@ -180,3 +189,4 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@ on:
platforms:
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
required: true
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
default: 'linux-x64, linux-x86-hs, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
@@ -49,12 +49,12 @@ jobs:
### Determine platforms to include
###
select:
name: 'Select platforms'
prepare:
name: 'Prepare the run'
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-x86-hs: ${{ steps.include.outputs.linux-x86-hs }}
# additional build options for linux-x64 are disabled
# linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
@@ -65,7 +65,19 @@ jobs:
docs: ${{ steps.include.outputs.docs }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Checkout the scripts'
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
make/conf/github-actions.conf
- name: 'Build JTReg'
id: jtreg
uses: ./.github/actions/build-jtreg
# TODO: Now that we are checking out the repo scripts, we can put the following code
# into a separate file
- name: 'Check what jobs to run'
id: include
run: |
@@ -107,7 +119,7 @@ jobs:
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x86-hs=$(check_platform linux-x86-hs linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
@@ -122,22 +134,22 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
build-linux-x86-hs:
name: linux-x86-hs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
make-target: 'hotspot'
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-architecture: 'i386'
@@ -147,11 +159,11 @@ jobs:
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
if: needs.prepare.outputs.linux-x86-hs == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -161,11 +173,11 @@ jobs:
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -175,11 +187,11 @@ jobs:
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -189,11 +201,11 @@ jobs:
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -204,46 +216,45 @@ jobs:
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -251,11 +262,11 @@ jobs:
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
if: needs.prepare.outputs.windows-x64 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
@@ -265,11 +276,11 @@ jobs:
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
if: needs.prepare.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -281,7 +292,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -297,16 +308,6 @@ jobs:
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-linux-x86:
name: linux-x86
needs:
- build-linux-x86
uses: ./.github/workflows/test.yml
with:
platform: linux-x86
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-macos-x64:
name: macos-x64
needs:
@@ -315,7 +316,19 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13
xcode-toolset-version: '14.3.1'
test-macos-aarch64:
name: macos-aarch64
needs:
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -334,7 +347,7 @@ jobs:
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-x86-hs
- build-linux-x64-hs-nopch
- build-linux-x64-hs-zero
- build-linux-x64-hs-minimal
@@ -345,31 +358,28 @@ jobs:
- build-windows-x64
- build-windows-aarch64
- test-linux-x64
- test-linux-x86
- test-macos-x64
- test-macos-aarch64
- test-windows-x64
steps:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v6
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'
- name: 'Remove bundle artifacts'
run: |
# Find and remove all bundle artifacts
ALL_ARTIFACT_URLS="$(curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
'${{ fromJson(steps.api.outputs.result).url }}_apis/pipelines/workflows/${{ github.run_id }}/artifacts?api-version=6.0-preview')"
BUNDLE_ARTIFACT_URLS="$(echo "$ALL_ARTIFACT_URLS" | jq -r -c '.value | map(select(.name|startswith("bundles-"))) | .[].url')"
for url in $BUNDLE_ARTIFACT_URLS; do
echo "Removing $url"
curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
-X DELETE "$url" \
# See: https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28
ALL_ARTIFACT_IDS="$(curl -sL \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts?per_page=100')"
BUNDLE_ARTIFACT_IDS="$(echo "$ALL_ARTIFACT_IDS" | jq -r -c '.artifacts | map(select(.name|startswith("bundles-"))) | .[].id')"
for id in $BUNDLE_ARTIFACT_IDS; do
echo "Removing $id"
curl -sL \
-X DELETE \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"${{ github.api_url }}/repos/${{ github.repository }}/actions/artifacts/$id" \
|| echo "Failed to remove bundle"
done

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -37,6 +37,9 @@ on:
runs-on:
required: true
type: string
xcode-toolset-version:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -60,7 +63,10 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -83,8 +89,20 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -132,7 +150,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'
@@ -196,7 +214,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -204,7 +222,7 @@ jobs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

1
.gitignore vendored
View File

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

View File

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

View File

@@ -39,6 +39,21 @@ can be found on the [releases page](https://github.com/JetBrains/JetBrainsRuntim
| 2021.1 | [11.0.11+9-b1341.60](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1248891540)| 15-Jun-2021 |
| 2020.3 | [11_0_10-b1145.115](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1249243977) | 21-Jun-2021 |
## Release Flavours
There are many kinds of JBR bundles available on the [Releases page](https://github.com/JetBrains/JetBrainsRuntime/releases):
| Flavour | Description |
|---------------|---------------------------------------------------------------------------------------------------------------|
| JBR | Contains the Java Runtime Environment (JRE) suitable to _run_ JVM-based programs. |
| JBRSDK | Contains the Software Developmet Kit (SDK) suitable to _develop_ and _run_ JVM-based programs. |
| JBR with JCEF | Contains both JBR and JCEF; this flavour is bundled by default with all IntelliJ IDEs. |
| vanilla | Contains just JBR. |
| fastdebug | The native binaries in this bundle are less optimized and are easier to debug. They also run much slower. |
| FreeType | The bundle includes the freetype library built from sources; normally, the library is provided by the system. |
| Vulkan | The bundle includes experimental Vulkan support. | |
| debug symbols | In addition to the usual contents of the bundle the debug information is also included. |
## Contents
- [Welcome to JetBrains Runtime](#welcome-to-jetbrains-runtime)
- [Why Use JetBrains Runtime?](#why-use-jetbrains-runtime)
@@ -108,36 +123,42 @@ coverage of all the details.
> It would usually have meaningful advice on how to solve the problem.
### Linux (Docker)
Create a container:
Download an image from [Docker Hub](https://hub.docker.com/repository/docker/jetbrains/runtime/general) related to your architecture:
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
$ docker pull jetbrains/runtime:oraclelinux8_aarch64
```
Run these commands in the new container:
or
```
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
$ docker pull jetbrains/runtime:oraclelinux8_x64
```
Create and run a new container from the downloaded image
```
$ docker run -v $JetBrainsRuntime:/JetBrainsRuntime -it jetbrains/runtime:oraclelinux8_[arch]
```
where `$JetBrainsRuntime` is a full path to the directory where the repository was cloned to.
Run these commands in the container:
```
# yum install java-21-openjdk-devel
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
# BOOT_JDK=/usr/lib/jvm/java-21/ ./jb/project/tools/linux/scripts/mkimages_x64.sh 99 nomod
```
### Ubuntu Linux
Install the necessary tools, libraries, and headers with:
```
$ sudo apt-get install autoconf make build-essential libwayland-dev libx11-dev libxext-dev libxrender-dev \
libxtst-dev libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev libwayland-dev \
libxkbcommon-x11-0
$ sudo wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | tee /etc/apt/trusted.gpg.d/lunarg.asc
$ sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list https://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
$ sudo apt update
$ sudo apt-get -y install openjdk-21-jdk file zip unzip autoconf make build-essential libx11-dev libxext-dev libxrender-dev \
libxtst-dev libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev libspeechd-dev libwayland-dev \
libxkbcommon-x11-0 vulkan-sdk vulkan-utility-libraries-dev
```
Get Java 19 (for instance, [Azul Zulu Builds of OpenJDK 19](https://www.azul.com/downloads/?version=java-19-sts&os=linux&package=jdk)).
Then run the following:
```
$ cd JetBrainsRuntime
$ git checkout main
$ sh ./configure
$ make images
$ cd /JetBrainsRuntime
$ BOOT_JDK=/usr/lib/jvm/java-21-openjdk-amd64 ./jb/project/tools/linux/scripts/mkimages_x64.sh 99 nomod
```
This will build the release configuration under `./build/linux-x86_64-server-release/`.
@@ -169,6 +190,18 @@ $ make images
```
This will build the release configuration under `./build/windows-x86_64-server-release/`.
#### Enable optional NVDA screen reader support
If you want to add support of a11y announcing via [NVDA screen reader](https://www.nvaccess.org/about-nvda/),
you will need to bundle the NVDA Controller Client library.
You can do it with the following steps:
1. Download the NVDA Controller Client library. You can find the link in its official README [here](https://github.com/nvaccess/nvda/blob/master/extras/controllerClient/readme.md)
2. Pass the path to the unpacked package to `configure` via an additional flag `--with-nvdacontrollerclient=<path>`.
The build system will search the required library files under `<path>/<target-arch>`.
#### Disable optional JAWS screen reader support
JBR is built with built-in support of JAWS screen reader.
If you want to disable it, run `configure` with the additional flag `--disable-jaws-client`.
### macOS
Install the following:
* Xcode command line developer tools and `autoconf` via [Homebrew](https://brew.sh/).

3
SECURITY.md Normal file
View File

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

View File

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

View File

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

View File

@@ -72,6 +72,9 @@ id="toc-notes-for-specific-tests">Notes for Specific Tests</a>
<li><a href="#non-us-locale" id="toc-non-us-locale">Non-US
locale</a></li>
<li><a href="#pkcs11-tests" id="toc-pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#testing-with-alternative-security-providers"
id="toc-testing-with-alternative-security-providers">Testing with
alternative security providers</a></li>
<li><a href="#client-ui-tests" id="toc-client-ui-tests">Client UI
Tests</a></li>
</ul></li>
@@ -179,8 +182,9 @@ more tab-completion friendly. For more complex test runs, the
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
which tests will be run. As an example, <code>:tier1</code> will expand
to
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>.
to include all subcomponent test directories that define `tier1`,
for example:
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...</code>.
You can always submit a list of fully qualified test descriptors in the
<code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
@@ -577,14 +581,29 @@ PKCS11 tests. Improper NSS version may lead to unexpected failures which
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
correctly, the system property
<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu
18.04 to specify the alternative NSS lib directory. The
<code>&lt;NAME&gt;</code> component should be replaced with the name
element of the appropriate <code>@Artifact</code> class. (See
<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="testing-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for
<code>KeyFactory</code>, <code>Cipher</code>,
<code>KeyPairGenerator</code>, <code>KeyGenerator</code>,
<code>AlgorithmParameterGenerator</code>, <code>KeyAgreement</code>,
<code>Mac</code>, <code>MessageDigest</code>, <code>SecureRandom</code>,
<code>Signature</code>, <code>AlgorithmParameters</code>,
<code>Configuration</code>, <code>Policy</code>, or
<code>SecretKeyFactory</code> objects. Specify the
<code>-Dtest.provider.name=NAME</code> property to use a different
provider for the service(s).</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the

View File

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

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

@@ -0,0 +1 @@
1.0.2

View File

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

View File

@@ -1,43 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_aarch64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/alpine:3.12
# Install the necessary build tools
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.2-r0 \
autoconf=2.69-r2 \
bash=5.0.17-r0 \
build-base=0.5-r2 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r0 \
file=5.38-r0 \
fontconfig=2.13.1-r2 \
fontconfig-dev=2.13.1-r2 \
freetype-dev=2.10.4-r2 \
git=2.26.3-r1 \
grep=3.4-r0 \
libx11-dev=1.6.12-r1 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r0 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.0-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.4.5-r1 \
rsync=3.1.3-r3 \
tar=1.32-r2 \
wayland-dev=1.18.0-r4 \
zip=3.0-r8
# Set up boot JDK for building
COPY boot_jdk_musl_aarch64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk20/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk20
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -1,42 +0,0 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_x64.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM alpine:3.14
# Install the necessary build tools
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.5-r2 \
autoconf=2.71-r0 \
bash=5.1.16-r0 \
build-base=0.5-r3 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r3 \
file=5.40-r1 \
fontconfig=2.13.1-r4 \
fontconfig-dev=2.13.1-r4 \
freetype-dev=2.10.4-r3 \
git=2.32.7-r0 \
grep=3.7-r0 \
libx11-dev=1.7.3.1-r0 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r1 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.1-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.10.41-r0 \
rsync=3.2.5-r0 \
tar=1.34-r1 \
wayland-dev=1.19.0-r0 \
zip=3.0-r9
# Set up boot JDK for building
COPY boot_jdk_musl_amd64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk20/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk20
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

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

View File

@@ -1,73 +0,0 @@
# jetbrains/runtime:jbr17env_x86_64
FROM centos:7
RUN yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7 \
autoconf-2.69-11.el7 \
automake-1.13.4-3.el7 \
bzip2-1.0.6-13.el7 \
cups-devel-1.6.3-51.el7 \
file-5.11-37.el7 \
fontconfig-devel-2.13.0-4.3.el7 \
freetype-devel-2.8-14.el7_9.1 \
giflib-devel-4.1.6-9.el7 \
git-1.8.3.1-24.el7_9 \
libtool-2.4.2-22.el7_3 \
libXi-devel-1.7.9-1.el7 \
libXrandr-devel-1.5.1-2.el7 \
libXrender-devel-0.9.10-1.el7 \
libXt-devel-1.1.5-3.el7 \
libXtst-devel-1.2.3-1.el7 \
make-3.82-24.el7 \
tar-1.26-35.el7 \
unzip-6.0-24.el7_9 \
wayland-devel-1.15.0-1.el7 \
wget-1.14-18.el7_6.1 \
which-2.20-7.el7 \
zip-3.0-11.el7 \
python3-3.6.8-17.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"
# Build GLSLC
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.5/cmake-3.27.5-linux-x86_64.tar.gz \
&& echo 138c68addae825b16ed78d792dafef5e0960194833f48bd77e7e0429c6bc081c *cmake-3.27.5-linux-x86_64.tar.gz | sha256sum -c - \
&& tar -xzf cmake-3.27.5-linux-x86_64.tar.gz \
&& rm cmake-3.27.5-linux-x86_64.tar.gz \
&& git clone https://github.com/google/shaderc --branch v2023.6 \
&& cd shaderc \
&& ./utils/git-sync-deps \
&& mkdir build \
&& cd build \
&& /cmake-3.27.5-linux-x86_64/bin/cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DSHADERC_SKIP_TESTS=ON \
-DSHADERC_SKIP_EXAMPLES=ON \
-DSHADERC_SKIP_COPYRIGHT_CHECK=ON \
.. \
&& make install
ENV PATH="/cmake-3.27.5-linux-x86_64/bin::${PATH}"
# Checkout Vulkan headers
RUN mkdir /vulkan \
&& cd /vulkan \
&& git init \
&& git remote add -f origin https://github.com/KhronosGroup/Vulkan-Headers.git \
&& git fetch origin \
&& git checkout v1.3.265 -- include \
&& rm -r .git \
&& mkdir /vulkan_hpp \
&& cd /vulkan_hpp \
&& git init \
&& git remote add -f origin https://github.com/KhronosGroup/Vulkan-Hpp.git \
&& git fetch origin \
&& git checkout v1.3.265 -- vulkan \
&& rm -r .git

View File

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

View File

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

View File

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

View File

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

View File

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

@@ -17,9 +17,13 @@ function getVersionProp() {
grep "^${1}" make/conf/version-numbers.conf | cut -d'=' -f2
}
while getopts ":i?" o; do
DISABLE_WARNINGS_AS_ERRORS=""
CONTINUOUS_INTEGRATION=""
while getopts ":iwc?" o; do
case "${o}" in
i) INC_BUILD=1 ;;
w) DISABLE_WARNINGS_AS_ERRORS="--disable-warnings-as-errors" ;;
c) CONTINUOUS_INTEGRATION=1 ;;
esac
done
shift $((OPTIND-1))
@@ -36,8 +40,6 @@ architecture=${3:-x64} # aarch64 or x64
check_bundle_type_maketest
tag_prefix="jbr-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "$tag_prefix" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d ",")
VERSION_FEATURE=$(getVersionProp "DEFAULT_VERSION_FEATURE")
VERSION_INTERIM=$(getVersionProp "DEFAULT_VERSION_INTERIM")
VERSION_UPDATE=$(getVersionProp "DEFAULT_VERSION_UPDATE")
@@ -45,8 +47,15 @@ VERSION_PATCH=$(getVersionProp "DEFAULT_VERSION_PATCH")
[[ $VERSION_UPDATE = 0 ]] && JBSDK_VERSION="$VERSION_FEATURE" || JBSDK_VERSION="${VERSION_FEATURE}.${VERSION_INTERIM}.${VERSION_UPDATE}"
[[ $VERSION_PATCH = 0 ]] || JBSDK_VERSION="${VERSION_FEATURE}.${VERSION_INTERIM}.${VERSION_UPDATE}.${VERSION_PATCH}"
echo "##teamcity[setParameter name='env.JBSDK_VERSION' value='${JBSDK_VERSION}']"
JDK_BUILD_NUMBER=${JDK_BUILD_NUMBER:=$(echo $OPENJDK_TAG | awk -F "-|[+]" '{print $3}')}
tag_prefix="jbr-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "${tag_prefix}${JBSDK_VERSION}" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -V -f | tail -n 1 | tr -d ",")
JDK_BUILD_NUMBER=$(echo $OPENJDK_TAG | awk -F "-|[+]" '{print $3}')
[ -z $JDK_BUILD_NUMBER ] && JDK_BUILD_NUMBER=1
re='^[0-9]+$'
if ! [[ $JDK_BUILD_NUMBER =~ $re ]] ; then
echo "error: JDK_BUILD_NUMBER Not a number: $JDK_BUILD_NUMBER"
JDK_BUILD_NUMBER=1
fi
echo "##teamcity[setParameter name='env.JDK_UPDATE_NUMBER' value='${JDK_BUILD_NUMBER}']"
VENDOR_NAME="JetBrains s.r.o."

View File

@@ -35,6 +35,8 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
--with-vulkan \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -62,7 +64,7 @@ function create_image_bundle {
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
__cds_opt="--generate-cds-archive"
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}aarch64-${fastdebug_infix}b${build_number}
@@ -85,6 +87,7 @@ function create_image_bundle {
# 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 ...
@@ -138,7 +141,7 @@ JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
if [ "$bundle_type" == "jcef" ]; 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
@@ -151,7 +154,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
@@ -160,8 +163,7 @@ if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-aarch64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -32,6 +32,13 @@ function do_configure {
--build=x86_64-unknown-linux-gnu \
--openjdk-target=x86_64-unknown-linux-gnu"
fi
if [ -n "${JCEF_BUILD_LEGACY:-}" ]; then
WITH_VULKAN=""
else
WITH_VULKAN="--with-vulkan"
fi
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
@@ -42,7 +49,9 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$WITH_VULKAN \
$LINUX_TARGET \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -70,7 +79,7 @@ function create_image_bundle {
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
__cds_opt="--generate-cds-archive"
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x64-${fastdebug_infix}b${build_number}
@@ -93,6 +102,9 @@ function create_image_bundle {
# 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
if [ ! -n "${JCEF_BUILD_LEGACY:-}" ]; then
[ -f "$IMAGES_DIR"/"$__root_dir"/lib/cef_server ] && chmod a+x "$IMAGES_DIR"/"$__root_dir"/lib/cef_server
fi
echo Creating "$JBR".tar.gz ...
@@ -146,7 +158,7 @@ JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
if [ "$bundle_type" == "jcef" ]; 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
@@ -159,7 +171,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
# create sdk image bundle
modules=$(cat $JSDK/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
if [ "$bundle_type" == "jcef" ]|| [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" $JBRSDK_BUNDLE $JSDK_MODS_DIR "$modules" || do_exit $?
@@ -168,8 +180,7 @@ if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-x64-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -12,6 +12,7 @@ set -x
#
source jb/project/tools/common/scripts/common.sh
ENABLE_CDS="no"
function do_configure {
linux32 bash configure \
@@ -24,7 +25,8 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
$STATIC_CONF_ARGS \
--enable-cds=yes \
--enable-cds=$ENABLE_CDS \
$DISABLE_WARNINGS_AS_ERRORS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
@@ -50,7 +52,7 @@ function create_image_bundle {
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "${ENABLE_CDS}" == "yes" ] && __cds_opt="--generate-cds-archive"
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
JBR=${__bundle_name}-${JBSDK_VERSION}-linux-${libc_type_suffix}x86-${fastdebug_infix}b${build_number}
@@ -136,8 +138,7 @@ if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-linux-${libc_type_suffix}test-x86-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -34,7 +34,23 @@ else
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
"$JETSIGN_CLIENT" -log-format text -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"
max_attempts=3
attempt=1
while [ $attempt -le $max_attempts ]; do
if "$JETSIGN_CLIENT" -log-format text -max-wait 1m -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"; then
break
else
if [ $attempt -eq $max_attempts ]; then
echo "Failed to sign after $max_attempts attempts"
exit 1
fi
echo "Attempt $attempt failed, retrying in 5 seconds..."
sleep 5
((attempt++))
fi
done
# SRE-1223 (Codesign removes execute bits in executable files) workaround
chmod "$(stat -f %A "$pathToBeSigned")" "$pathSigned"
if isMacOsBinary "$pathSigned"; then

View File

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

View File

@@ -24,6 +24,25 @@ source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
BOOT_JDK=${BOOT_JDK:=$(/usr/libexec/java_home -v 17)}
XCODE_PATH=${XCODE_PATH:-}
if [ -d "$XCODE_PATH" ]; then
WITH_XCODE_PATH="--with-xcode-path=$XCODE_PATH"
else
if [ -z "${CONTINUOUS_INTEGRATION:-}" ]; then
WITH_XCODE_PATH=""
if [ -n "${XCODE_PATH}" ]; then
echo "XCode not found in the directory: ${XCODE_PATH}"
echo "default XCode will be used"
fi
else
if [ -z "${XCODE_PATH}" ]; then
echo "specify XCode via setting XCODE_PATH"
else
echo "XCode not found in the directory: ${XCODE_PATH}"
fi
do_exit 1
fi
fi
function do_configure {
sh configure \
@@ -38,9 +57,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_XCODE_PATH \
|| do_exit $?
}
@@ -52,7 +73,7 @@ function create_image_bundle {
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
__cds_opt="--generate-cds-archive"
tmp=.bundle.$$.tmp
mkdir "$tmp" || do_exit $?
@@ -135,9 +156,11 @@ JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
if [ "$bundle_type" == "jcef" ]; 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
fi
jbr_name_postfix="_${bundle_type}"
else
@@ -150,7 +173,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
# create sdk image bundle
modules=$(cat "$JSDK"/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?
@@ -159,8 +182,7 @@ if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=${JBRSDK_BUNDLE}-${JBSDK_VERSION}-osx-test-${architecture}-b${build_number}
echo Creating "$JBRSDK_TEST" ...
[ $do_reset_changes -eq 1 ] && git checkout HEAD jb/project/tools/common/modules.list src/java.desktop/share/classes/module-info.java
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
make test-image CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
COPYFILE_DISABLE=1 tar -pczf "$JBRSDK_TEST".tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -30,11 +30,34 @@ trap "rm -f \"$PWD/tmp_key\"" INT EXIT RETURN
echo -n "${APPLE_PRIVATE_KEY}" > tmp_key
log "Notarizing $APP_PATH..."
xcrun notarytool submit --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" "$APP_PATH" 2>&1 | tee "notarytool.submit.out"
xcrun notarytool submit --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" "$APP_PATH" 2>&1 --wait| tee "notarytool.submit.out"
REQUEST_ID="$(grep -e " id: " "notarytool.submit.out" | grep -oE '([0-9a-f-]{36})'| head -n1)"
xcrun notarytool wait "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" --timeout 6h ||:
xcrun notarytool log "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" developer_log.json ||:
xcrun notarytool info "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}"
waitOutput=$(xcrun notarytool wait "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" --timeout 6h)
if [ $? -ne 0 ]; then
log "Notarizing failed (wait command)"
echo "$waitOutput"
exit 1
else
echo "$waitOutput"
fi
logOutout=$(xcrun notarytool log "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" developer_log.json)
if [ $? -ne 0 ]; then
log "Notarizing failed (log command)"
echo "$logOutout"
exit 1
else
echo "$logOutout"
fi
infoOUtput=$(xcrun notarytool info "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}")
if [ $? -ne 0 ]; then
log "Notarizing failed (info command)"
echo "$infoOUtput"
exit 1
else
echo "$infoOUtput"
fi
log "Notarizing finished"

View File

@@ -43,18 +43,104 @@ find "$APPLICATION_PATH" -name '*.cstemp' -exec rm '{}' \;
log "Signing libraries and executables..."
# -perm +111 searches for executables
for f in \
"Contents/Home/lib" "Contents/MacOS" \
"Contents/Home/Frameworks" \
"Contents/Frameworks"; do
"Contents/Home/lib" "Contents/MacOS"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "*.node" -o -perm +111 \) \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
-exec sh -c '"$1" --timestamp -v -s "$2" --options=runtime --force --entitlements "$3" "$4" || exit 1' sh "$SIGN_UTILITY" "$JB_DEVELOPER_CERT" "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
log "Signing JCEF libraries and executables..."
if [ -d "$APPLICATION_PATH/Contents/Frameworks" ]; then
find "$APPLICATION_PATH/Contents/Frameworks" \
-type f \( -name "*.dylib" -o -perm +111 \) \
-exec sh -c '"$1" --timestamp -v -s "$2" --options=runtime --force --entitlements "$3" "$4" || exit 1' sh "$SIGN_UTILITY" "$JB_DEVELOPER_CERT" "$SCRIPT_DIR/entitlements_jcef.xml" {} \;
fi
log "Signing jmod files"
JMODS_DIR="$APPLICATION_PATH/Contents/Home/jmods"
JMOD_EXE="$BOOT_JDK/bin/jmod"
if [ -d "$JMODS_DIR" ]; then
log "processing jmods"
for jmod_file in "$JMODS_DIR"/*.jmod; do
log "Processing $jmod_file"
TMP_DIR="$JMODS_DIR/tmp"
rm -rf "$TMP_DIR"
mkdir "$TMP_DIR"
log "Unzipping $jmod_file"
$JMOD_EXE extract --dir "$TMP_DIR" "$jmod_file" >/dev/null
log "Signing dylibs in $TMP_DIR"
find "$TMP_DIR" \
-type f \( -name "*.dylib" -o -name "*.so" -o -perm +111 -o -name jarsigner -o -name jdeps -o -name jpackageapplauncher -o -name jspawnhelper -o -name jar -o -name javap -o -name jdeprscan -o -name jfr -o -name rmiregistry -o -name java -o -name jhsdb -o -name jstatd -o -name jstatd -o -name jpackage -o -name keytool -o -name jmod -o -name jlink -o -name jimage -o -name jstack -o -name jcmd -o -name jps -o -name jmap -o -name jstat -o -name jinfo -o -name jshell -o -name jwebserver -o -name javac -o -name serialver -o -name jrunscript -o -name jdb -o -name jconsole -o -name javadoc \) \
-exec sh -c '"$1" --timestamp -v -s "$2" --options=runtime --force --entitlements "$3" "$4" || exit 1' sh "$SIGN_UTILITY" "$JB_DEVELOPER_CERT" "$SCRIPT_DIR/entitlements.xml" {} \;
log "Removing $jmod_file"
rm -f "$jmod_file"
cmd="$JMOD_EXE create --class-path $TMP_DIR/classes"
# Check each directory and add to the command if it exists
[ -d "$TMP_DIR/bin" ] && cmd="$cmd --cmds $TMP_DIR/bin"
[ -d "$TMP_DIR/conf" ] && cmd="$cmd --config $TMP_DIR/conf"
[ -d "$TMP_DIR/lib" ] && cmd="$cmd --libs $TMP_DIR/lib"
[ -d "$TMP_DIR/include" ] && cmd="$cmd --header-files $TMP_DIR/include"
[ -d "$TMP_DIR/legal" ] && cmd="$cmd --legal-notices $TMP_DIR/legal"
[ -d "$TMP_DIR/man" ] && cmd="$cmd --man-pages $TMP_DIR/man"
log "Creating jmod file"
log "$cmd"
# Add the output file
cmd="$cmd $jmod_file"
# Execute the command
eval $cmd
log "Removing $TMP_DIR"
rm -rf "$TMP_DIR"
done
log "Repack java.base.jmod with new hashes of modules"
hash_modules=$($JMOD_EXE describe $JMODS_DIR/java.base.jmod | grep hashes | awk '{print $2}' | tr '\n' '|' | sed s/\|$//) || exit $?
TMP_DIR="$JMODS_DIR/tmp"
rm -rf "$TMP_DIR"
mkdir "$TMP_DIR"
jmod_file="$JMODS_DIR/java.base.jmod"
log "Unzipping $jmod_file"
$JMOD_EXE extract --dir "$TMP_DIR" "$jmod_file" >/dev/null
log "Removing java.base.jmod"
rm -f "$jmod_file"
cmd="$JMOD_EXE create --class-path $TMP_DIR/classes --hash-modules \"$hash_modules\" --module-path $JMODS_DIR"
# Check each directory and add to the command if it exists
[ -d "$TMP_DIR/bin" ] && cmd="$cmd --cmds $TMP_DIR/bin"
[ -d "$TMP_DIR/conf" ] && cmd="$cmd --config $TMP_DIR/conf"
[ -d "$TMP_DIR/lib" ] && cmd="$cmd --libs $TMP_DIR/lib"
[ -d "$TMP_DIR/include" ] && cmd="$cmd --header-files $TMP_DIR/include"
[ -d "$TMP_DIR/legal" ] && cmd="$cmd --legal-notices $TMP_DIR/legal"
[ -d "$TMP_DIR/man" ] && cmd="$cmd --man-pages $TMP_DIR/man"
log "Creating jmod file"
log "$cmd"
# Add the output file
cmd="$cmd $jmod_file"
# Execute the command
eval $cmd
log "Removing $TMP_DIR"
rm -rf "$TMP_DIR"
else
echo "Directory '$JMODS_DIR' does not exist. Skipping signing of jmod files."
fi
log "Signing libraries in jars in $APPLICATION_PATH"
# todo: add set -euo pipefail; into the inner sh -c
@@ -73,10 +159,7 @@ find "$APPLICATION_PATH" -name '*.jar' \
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "jattach" \) \
-exec "$SIGN_UTILITY" --timestamp \
--force \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
-exec sh -c '"$1" --timestamp --force -v -s "$2" --options=runtime --entitlements "$3" "$4" || exit 1' sh "$SIGN_UTILITY" "$JB_DEVELOPER_CERT" "$SCRIPT_DIR/entitlements.xml" {} \;
(cd jarfolder; zip -q -r -o -0 ../jar.jar .)
mv jar.jar "$file"
@@ -91,16 +174,14 @@ 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 -perm +111 \) \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
-exec sh -c '"$1" --timestamp -v -s "$2" --options=runtime --force --entitlements "$3" "$4" || exit 1' sh "$SIGN_UTILITY" "$JB_DEVELOPER_CERT" "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
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
"Contents/Frameworks/cef_server.app/Contents/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
@@ -109,7 +190,7 @@ if [ "$JB_SIGN" = true ]; then for f in \
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
--entitlements "$SCRIPT_DIR/entitlements_jcef.xml" tmp-to-sign.tar.gz || exit 1
rm -rf "$line"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$line")"
rm -f tmp-to-sign.tar.gz
@@ -118,16 +199,14 @@ if [ "$JB_SIGN" = true ]; then for f in \
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
if [ -d "$APPLICATION_PATH/Contents/Frameworks" ]; then
find "$APPLICATION_PATH/Contents/Frameworks" -name '*.framework' -maxdepth 1 | while read -r line
do
log "Checking '$line':"
codesign --verify --deep --strict --verbose=4 "$line"
done
fi
log "Signing whole app..."
if [ "$JB_SIGN" = true ]; then
@@ -135,7 +214,7 @@ if [ "$JB_SIGN" = true ]; then
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz || exit 1
rm -rf "$APPLICATION_PATH"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$APPLICATION_PATH")"
rm -f tmp-to-sign.tar.gz
@@ -143,7 +222,7 @@ else
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" "$APPLICATION_PATH"
--entitlements "$SCRIPT_DIR/entitlements.xml" "$APPLICATION_PATH" || exit 1
fi
BUILD_NAME="$(basename "$APPLICATION_PATH")"

View File

@@ -38,9 +38,6 @@ BUILD_NAME="$(ls "$EXPLODED")"
#sed -i '' s/BNDL/APPL/ $EXPLODED/$BUILD_NAME/Contents/Info.plist
rm -f $EXPLODED/$BUILD_NAME/Contents/CodeResources
rm "$INPUT_FILE"
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
fi
log "$INPUT_FILE extracted and removed"
@@ -108,9 +105,37 @@ set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
"$SCRIPT_DIR/notarize.sh" "$PKG_NAME"
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH" ||:
xcrun stapler staple "$PKG_NAME" ||:
appStaplerOutput=$(xcrun stapler staple "$APPLICATION_PATH")
if [ $? -ne 0 ]; then
log "Stapling application failed"
echo "$appStaplerOutput"
exit 1
else
echo "$appStaplerOutput"
fi
log "Stapling package..."
pkgStaplerOutput=$(xcrun stapler staple "$PKG_NAME")
if [ $? -ne 0 ]; then
log "Stapling package failed"
echo "$pkgStaplerOutput"
exit 1
else
echo "$pkgStaplerOutput"
fi
# Verify stapling
log "Verifying stapling..."
if ! stapler validate "$APPLICATION_PATH"; then
log "Stapling verification failed for application"
exit 1
fi
if ! stapler validate "$PKG_NAME"; then
log "Stapling verification failed for package"
exit 1
fi
else
log "Notarization disabled"
log "Stapling disabled"
@@ -118,11 +143,6 @@ fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
#cd "$EXPLODED"
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $APPLICATION_PATH/Contents/Home
fi
if [[ "$APPLICATION_PATH" != "$EXPLODED/$BUILD_NAME" ]]; then
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
else
@@ -133,4 +153,4 @@ log "Zipping $BUILD_NAME to $INPUT_FILE ..."
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"
log "Done"

View File

@@ -0,0 +1,267 @@
prog.verbose=disabled
prog.printresults=enabled
global.env.outputwidth=640
global.env.outputheight=480
global.env.runcount=5
global.env.repcount=0
global.env.testtime=2500
global.results.workunits=units
global.results.timeunits=sec
global.results.ratio=unitspersec
global.dest.offscreen=disabled
global.dest.frame.defaultframe=enabled
global.dest.frame.transframe=disabled
global.dest.frame.shapedframe=disabled
global.dest.frame.shapedtransframe=disabled
global.dest.compatimg.compatimg=disabled
global.dest.compatimg.opqcompatimg=disabled
global.dest.compatimg.bmcompatimg=disabled
global.dest.compatimg.transcompatimg=disabled
global.dest.volimg.volimg=disabled
global.dest.volimg.opqvolimg=disabled
global.dest.volimg.bmvolimg=disabled
global.dest.volimg.transvolimg=disabled
global.dest.bufimg.IntXrgb=disabled
global.dest.bufimg.IntArgb=disabled
global.dest.bufimg.IntArgbPre=disabled
global.dest.bufimg.3ByteBgr=disabled
global.dest.bufimg.ByteIndexed=disabled
global.dest.bufimg.ByteGray=disabled
global.dest.bufimg.4ByteAbgr=disabled
global.dest.bufimg.4ByteAbgrPre=disabled
global.dest.bufimg.custom=disabled
graphics.opts.anim=2
graphics.opts.sizes=250
graphics.opts.alpharule=SrcOver
graphics.opts.transform=ident
graphics.opts.extraalpha=Off
graphics.opts.xormode=Off
graphics.opts.clip=Off
graphics.opts.renderhint=Default
graphics.render.opts.paint=random
graphics.render.opts.alphacolor=Off
graphics.render.opts.antialias=On
graphics.render.opts.stroke=width1
graphics.render.tests.drawLine=disabled
graphics.render.tests.drawLineHoriz=disabled
graphics.render.tests.drawLineVert=disabled
graphics.render.tests.fillRect=disabled
graphics.render.tests.drawRect=disabled
graphics.render.tests.fillOval=disabled
graphics.render.tests.drawOval=disabled
graphics.render.tests.fillPoly=disabled
graphics.render.tests.drawPoly=enabled
graphics.render.tests.shape.fillCubic=disabled
graphics.render.tests.shape.drawCubic=disabled
graphics.render.tests.shape.fillEllipse2D=disabled
graphics.render.tests.shape.drawEllipse2D=disabled
graphics.imaging.src.offscr.opaque=disabled
graphics.imaging.src.offscr.bitmask=disabled
graphics.imaging.src.offscr.translucent=disabled
graphics.imaging.src.opqcompatimg.opaque=disabled
graphics.imaging.src.opqcompatimg.bitmask=disabled
graphics.imaging.src.opqcompatimg.translucent=disabled
graphics.imaging.src.bmcompatimg.opaque=disabled
graphics.imaging.src.bmcompatimg.bitmask=disabled
graphics.imaging.src.bmcompatimg.translucent=disabled
graphics.imaging.src.transcompatimg.opaque=disabled
graphics.imaging.src.transcompatimg.bitmask=disabled
graphics.imaging.src.transcompatimg.translucent=disabled
graphics.imaging.src.opqvolimg.opaque=disabled
graphics.imaging.src.opqvolimg.bitmask=disabled
graphics.imaging.src.opqvolimg.translucent=disabled
graphics.imaging.src.bmvolimg.opaque=disabled
graphics.imaging.src.bmvolimg.bitmask=disabled
graphics.imaging.src.bmvolimg.translucent=disabled
graphics.imaging.src.transvolimg.opaque=disabled
graphics.imaging.src.transvolimg.bitmask=disabled
graphics.imaging.src.transvolimg.translucent=disabled
graphics.imaging.src.bufimg.IntXrgb.opaque=disabled
graphics.imaging.src.bufimg.IntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.IntXrgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgb.opaque=disabled
graphics.imaging.src.bufimg.IntArgb.bitmask=disabled
graphics.imaging.src.bufimg.IntArgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.IntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.IntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.ByteGray.opaque=disabled
graphics.imaging.src.bufimg.ByteGray.bitmask=disabled
graphics.imaging.src.bufimg.ByteGray.translucent=disabled
graphics.imaging.src.bufimg.3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.3ByteBgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgr.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgr.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.translucent=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.opaque=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.bitmask=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.translucent=disabled
graphics.imaging.benchmarks.opts.interpolation=Nearest neighbor
graphics.imaging.benchmarks.opts.touchsrc=Off
graphics.imaging.benchmarks.tests.drawimage=disabled
graphics.imaging.benchmarks.tests.drawimagebg=disabled
graphics.imaging.benchmarks.tests.drawimagescaleup=disabled
graphics.imaging.benchmarks.tests.drawimagescaledown=disabled
graphics.imaging.benchmarks.tests.drawimagescalesplit=disabled
graphics.imaging.benchmarks.tests.drawimagetxform=disabled
graphics.imaging.imageops.opts.op=convolve3x3zero
graphics.imaging.imageops.tests.graphics2d.drawimageop=disabled
graphics.imaging.imageops.tests.bufimgop.filternull=disabled
graphics.imaging.imageops.tests.bufimgop.filtercached=disabled
graphics.imaging.imageops.tests.rasterop.filternull=disabled
graphics.imaging.imageops.tests.rasterop.filtercached=disabled
graphics.misc.copytests.copyAreaVert=disabled
graphics.misc.copytests.copyAreaHoriz=disabled
graphics.misc.copytests.copyAreaDiag=disabled
pixel.opts.renderto=Off
pixel.opts.renderfrom=Off
pixel.src.1BitBinary=disabled
pixel.src.2BitBinary=disabled
pixel.src.4BitBinary=disabled
pixel.src.ByteIndexed=disabled
pixel.src.ByteGray=disabled
pixel.src.Short555=disabled
pixel.src.Short565=disabled
pixel.src.ShortGray=disabled
pixel.src.3ByteBgr=disabled
pixel.src.4ByteAbgr=disabled
pixel.src.IntXrgb=disabled
pixel.src.IntXbgr=disabled
pixel.src.IntArgb=disabled
pixel.bimgtests.getrgb=disabled
pixel.bimgtests.setrgb=disabled
pixel.rastests.getdataelem=disabled
pixel.rastests.setdataelem=disabled
pixel.rastests.getpixel=disabled
pixel.rastests.setpixel=disabled
pixel.dbtests.getelem=disabled
pixel.dbtests.setelem=disabled
text.opts.data.tlength=16
text.opts.data.tscript=english
text.opts.font.fname=serif,physical
text.opts.font.fstyle=0
text.opts.font.fsize=13.0
text.opts.font.ftx=Identity
text.opts.graphics.textaa=Off
text.opts.graphics.tfm=Off
text.opts.graphics.gaa=Off
text.opts.graphics.gtx=Identity
text.opts.advopts.gvstyle=0
text.opts.advopts.tlruns=1
text.opts.advopts.maptype=FONT
text.Rendering.tests.drawString=disabled
text.Rendering.tests.drawChars=disabled
text.Rendering.tests.drawBytes=disabled
text.Rendering.tests.drawGlyphVectors=disabled
text.Rendering.tests.drawTextLayout=disabled
text.Measuring.tests.stringWidth=disabled
text.Measuring.tests.stringBounds=disabled
text.Measuring.tests.charsWidth=disabled
text.Measuring.tests.charsBounds=disabled
text.Measuring.tests.fontcandisplay=disabled
text.Measuring.tests.gvWidth=disabled
text.Measuring.tests.gvLogicalBounds=disabled
text.Measuring.tests.gvVisualBounds=disabled
text.Measuring.tests.gvPixelBounds=disabled
text.Measuring.tests.gvOutline=disabled
text.Measuring.tests.gvGlyphLogicalBounds=disabled
text.Measuring.tests.gvGlyphVisualBounds=disabled
text.Measuring.tests.gvGlyphPixelBounds=disabled
text.Measuring.tests.gvGlyphOutline=disabled
text.Measuring.tests.gvGlyphTransform=disabled
text.Measuring.tests.gvGlyphMetrics=disabled
text.Measuring.tests.tlAdvance=disabled
text.Measuring.tests.tlAscent=disabled
text.Measuring.tests.tlBounds=disabled
text.Measuring.tests.tlGetCaretInfo=disabled
text.Measuring.tests.tlGetNextHit=disabled
text.Measuring.tests.tlGetCaretShape=disabled
text.Measuring.tests.tlGetLogicalHighlightShape=disabled
text.Measuring.tests.tlHitTest=disabled
text.Measuring.tests.tlOutline=disabled
text.construction.tests.gvfromfontstring=disabled
text.construction.tests.gvfromfontchars=disabled
text.construction.tests.gvfromfontci=disabled
text.construction.tests.gvfromfontglyphs=disabled
text.construction.tests.gvfromfontlayout=disabled
text.construction.tests.tlfromfont=disabled
text.construction.tests.tlfrommap=disabled
imageio.opts.size=250
imageio.opts.content=photo
imageio.input.opts.general.source.file=disabled
imageio.input.opts.general.source.url=disabled
imageio.input.opts.general.source.byteArray=disabled
imageio.input.opts.imageio.useCache=Off
imageio.input.image.toolkit.opts.format=
imageio.input.image.toolkit.tests.createImage=disabled
imageio.input.image.imageio.opts.format=
imageio.input.image.imageio.tests.imageioRead=disabled
imageio.input.image.imageio.reader.opts.seekForwardOnly=On
imageio.input.image.imageio.reader.opts.ignoreMetadata=On
imageio.input.image.imageio.reader.opts.installListener=Off
imageio.input.image.imageio.reader.tests.read=disabled
imageio.input.image.imageio.reader.tests.getImageMetadata=disabled
imageio.input.stream.tests.construct=disabled
imageio.input.stream.tests.read=disabled
imageio.input.stream.tests.readByteArray=disabled
imageio.input.stream.tests.readFullyByteArray=disabled
imageio.input.stream.tests.readBit=disabled
imageio.input.stream.tests.readByte=disabled
imageio.input.stream.tests.readUnsignedByte=disabled
imageio.input.stream.tests.readShort=disabled
imageio.input.stream.tests.readUnsignedShort=disabled
imageio.input.stream.tests.readInt=disabled
imageio.input.stream.tests.readUnsignedInt=disabled
imageio.input.stream.tests.readFloat=disabled
imageio.input.stream.tests.readLong=disabled
imageio.input.stream.tests.readDouble=disabled
imageio.input.stream.tests.skipBytes=disabled
imageio.output.opts.general.dest.file=disabled
imageio.output.opts.general.dest.byteArray=disabled
imageio.output.opts.imageio.useCache=Off
imageio.output.image.imageio.opts.format=
imageio.output.image.imageio.tests.imageioWrite=disabled
imageio.output.image.imageio.writer.opts.installListener=Off
imageio.output.image.imageio.writer.tests.write=disabled
imageio.output.stream.tests.construct=disabled
imageio.output.stream.tests.write=disabled
imageio.output.stream.tests.writeByteArray=disabled
imageio.output.stream.tests.writeBit=disabled
imageio.output.stream.tests.writeByte=disabled
imageio.output.stream.tests.writeShort=disabled
imageio.output.stream.tests.writeInt=disabled
imageio.output.stream.tests.writeFloat=disabled
imageio.output.stream.tests.writeLong=disabled
imageio.output.stream.tests.writeDouble=disabled
cmm.opts.profiles=1001
cmm.colorconv.data.fromRGB=disabled
cmm.colorconv.data.toRGB=disabled
cmm.colorconv.data.fromCIEXYZ=disabled
cmm.colorconv.data.toCIEXYZ=disabled
cmm.colorconv.ccop.ccopOptions.size=250
cmm.colorconv.ccop.ccopOptions.content=photo
cmm.colorconv.ccop.ccopOptions.srcType=INT_RGB
cmm.colorconv.ccop.ccopOptions.dstType=INT_RGB
cmm.colorconv.ccop.op_img=disabled
cmm.colorconv.ccop.op_rst=disabled
cmm.colorconv.ccop.op_draw=disabled
cmm.colorconv.embed.embedOptions.Images=512x512
cmm.colorconv.embed.embd_img_read=disabled
cmm.profiles.getHeader=disabled
cmm.profiles.getNumComponents=disabled

View File

@@ -0,0 +1,267 @@
prog.verbose=disabled
prog.printresults=enabled
global.env.outputwidth=640
global.env.outputheight=480
global.env.runcount=5
global.env.repcount=0
global.env.testtime=2500
global.results.workunits=units
global.results.timeunits=sec
global.results.ratio=unitspersec
global.dest.offscreen=disabled
global.dest.frame.defaultframe=enabled
global.dest.frame.transframe=disabled
global.dest.frame.shapedframe=disabled
global.dest.frame.shapedtransframe=disabled
global.dest.compatimg.compatimg=disabled
global.dest.compatimg.opqcompatimg=disabled
global.dest.compatimg.bmcompatimg=disabled
global.dest.compatimg.transcompatimg=disabled
global.dest.volimg.volimg=disabled
global.dest.volimg.opqvolimg=disabled
global.dest.volimg.bmvolimg=disabled
global.dest.volimg.transvolimg=disabled
global.dest.bufimg.IntXrgb=disabled
global.dest.bufimg.IntArgb=disabled
global.dest.bufimg.IntArgbPre=disabled
global.dest.bufimg.3ByteBgr=disabled
global.dest.bufimg.ByteIndexed=disabled
global.dest.bufimg.ByteGray=disabled
global.dest.bufimg.4ByteAbgr=disabled
global.dest.bufimg.4ByteAbgrPre=disabled
global.dest.bufimg.custom=disabled
graphics.opts.anim=2
graphics.opts.sizes=250
graphics.opts.alpharule=SrcOver
graphics.opts.transform=ident
graphics.opts.extraalpha=Off
graphics.opts.xormode=Off
graphics.opts.clip=Off
graphics.opts.renderhint=Default
graphics.render.opts.paint=random
graphics.render.opts.alphacolor=Off
graphics.render.opts.antialias=Off
graphics.render.opts.stroke=width1
graphics.render.tests.drawLine=disabled
graphics.render.tests.drawLineHoriz=disabled
graphics.render.tests.drawLineVert=disabled
graphics.render.tests.fillRect=disabled
graphics.render.tests.drawRect=disabled
graphics.render.tests.fillOval=disabled
graphics.render.tests.drawOval=disabled
graphics.render.tests.fillPoly=disabled
graphics.render.tests.drawPoly=enabled
graphics.render.tests.shape.fillCubic=disabled
graphics.render.tests.shape.drawCubic=disabled
graphics.render.tests.shape.fillEllipse2D=disabled
graphics.render.tests.shape.drawEllipse2D=disabled
graphics.imaging.src.offscr.opaque=disabled
graphics.imaging.src.offscr.bitmask=disabled
graphics.imaging.src.offscr.translucent=disabled
graphics.imaging.src.opqcompatimg.opaque=disabled
graphics.imaging.src.opqcompatimg.bitmask=disabled
graphics.imaging.src.opqcompatimg.translucent=disabled
graphics.imaging.src.bmcompatimg.opaque=disabled
graphics.imaging.src.bmcompatimg.bitmask=disabled
graphics.imaging.src.bmcompatimg.translucent=disabled
graphics.imaging.src.transcompatimg.opaque=disabled
graphics.imaging.src.transcompatimg.bitmask=disabled
graphics.imaging.src.transcompatimg.translucent=disabled
graphics.imaging.src.opqvolimg.opaque=disabled
graphics.imaging.src.opqvolimg.bitmask=disabled
graphics.imaging.src.opqvolimg.translucent=disabled
graphics.imaging.src.bmvolimg.opaque=disabled
graphics.imaging.src.bmvolimg.bitmask=disabled
graphics.imaging.src.bmvolimg.translucent=disabled
graphics.imaging.src.transvolimg.opaque=disabled
graphics.imaging.src.transvolimg.bitmask=disabled
graphics.imaging.src.transvolimg.translucent=disabled
graphics.imaging.src.bufimg.IntXrgb.opaque=disabled
graphics.imaging.src.bufimg.IntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.IntXrgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgb.opaque=disabled
graphics.imaging.src.bufimg.IntArgb.bitmask=disabled
graphics.imaging.src.bufimg.IntArgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.IntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.IntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.ByteGray.opaque=disabled
graphics.imaging.src.bufimg.ByteGray.bitmask=disabled
graphics.imaging.src.bufimg.ByteGray.translucent=disabled
graphics.imaging.src.bufimg.3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.3ByteBgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgr.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgr.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.translucent=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.opaque=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.bitmask=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.translucent=disabled
graphics.imaging.benchmarks.opts.interpolation=Nearest neighbor
graphics.imaging.benchmarks.opts.touchsrc=Off
graphics.imaging.benchmarks.tests.drawimage=disabled
graphics.imaging.benchmarks.tests.drawimagebg=disabled
graphics.imaging.benchmarks.tests.drawimagescaleup=disabled
graphics.imaging.benchmarks.tests.drawimagescaledown=disabled
graphics.imaging.benchmarks.tests.drawimagescalesplit=disabled
graphics.imaging.benchmarks.tests.drawimagetxform=disabled
graphics.imaging.imageops.opts.op=convolve3x3zero
graphics.imaging.imageops.tests.graphics2d.drawimageop=disabled
graphics.imaging.imageops.tests.bufimgop.filternull=disabled
graphics.imaging.imageops.tests.bufimgop.filtercached=disabled
graphics.imaging.imageops.tests.rasterop.filternull=disabled
graphics.imaging.imageops.tests.rasterop.filtercached=disabled
graphics.misc.copytests.copyAreaVert=disabled
graphics.misc.copytests.copyAreaHoriz=disabled
graphics.misc.copytests.copyAreaDiag=disabled
pixel.opts.renderto=Off
pixel.opts.renderfrom=Off
pixel.src.1BitBinary=disabled
pixel.src.2BitBinary=disabled
pixel.src.4BitBinary=disabled
pixel.src.ByteIndexed=disabled
pixel.src.ByteGray=disabled
pixel.src.Short555=disabled
pixel.src.Short565=disabled
pixel.src.ShortGray=disabled
pixel.src.3ByteBgr=disabled
pixel.src.4ByteAbgr=disabled
pixel.src.IntXrgb=disabled
pixel.src.IntXbgr=disabled
pixel.src.IntArgb=disabled
pixel.bimgtests.getrgb=disabled
pixel.bimgtests.setrgb=disabled
pixel.rastests.getdataelem=disabled
pixel.rastests.setdataelem=disabled
pixel.rastests.getpixel=disabled
pixel.rastests.setpixel=disabled
pixel.dbtests.getelem=disabled
pixel.dbtests.setelem=disabled
text.opts.data.tlength=16
text.opts.data.tscript=english
text.opts.font.fname=serif,physical
text.opts.font.fstyle=0
text.opts.font.fsize=13.0
text.opts.font.ftx=Identity
text.opts.graphics.textaa=Off
text.opts.graphics.tfm=Off
text.opts.graphics.gaa=Off
text.opts.graphics.gtx=Identity
text.opts.advopts.gvstyle=0
text.opts.advopts.tlruns=1
text.opts.advopts.maptype=FONT
text.Rendering.tests.drawString=disabled
text.Rendering.tests.drawChars=disabled
text.Rendering.tests.drawBytes=disabled
text.Rendering.tests.drawGlyphVectors=disabled
text.Rendering.tests.drawTextLayout=disabled
text.Measuring.tests.stringWidth=disabled
text.Measuring.tests.stringBounds=disabled
text.Measuring.tests.charsWidth=disabled
text.Measuring.tests.charsBounds=disabled
text.Measuring.tests.fontcandisplay=disabled
text.Measuring.tests.gvWidth=disabled
text.Measuring.tests.gvLogicalBounds=disabled
text.Measuring.tests.gvVisualBounds=disabled
text.Measuring.tests.gvPixelBounds=disabled
text.Measuring.tests.gvOutline=disabled
text.Measuring.tests.gvGlyphLogicalBounds=disabled
text.Measuring.tests.gvGlyphVisualBounds=disabled
text.Measuring.tests.gvGlyphPixelBounds=disabled
text.Measuring.tests.gvGlyphOutline=disabled
text.Measuring.tests.gvGlyphTransform=disabled
text.Measuring.tests.gvGlyphMetrics=disabled
text.Measuring.tests.tlAdvance=disabled
text.Measuring.tests.tlAscent=disabled
text.Measuring.tests.tlBounds=disabled
text.Measuring.tests.tlGetCaretInfo=disabled
text.Measuring.tests.tlGetNextHit=disabled
text.Measuring.tests.tlGetCaretShape=disabled
text.Measuring.tests.tlGetLogicalHighlightShape=disabled
text.Measuring.tests.tlHitTest=disabled
text.Measuring.tests.tlOutline=disabled
text.construction.tests.gvfromfontstring=disabled
text.construction.tests.gvfromfontchars=disabled
text.construction.tests.gvfromfontci=disabled
text.construction.tests.gvfromfontglyphs=disabled
text.construction.tests.gvfromfontlayout=disabled
text.construction.tests.tlfromfont=disabled
text.construction.tests.tlfrommap=disabled
imageio.opts.size=250
imageio.opts.content=photo
imageio.input.opts.general.source.file=disabled
imageio.input.opts.general.source.url=disabled
imageio.input.opts.general.source.byteArray=disabled
imageio.input.opts.imageio.useCache=Off
imageio.input.image.toolkit.opts.format=
imageio.input.image.toolkit.tests.createImage=disabled
imageio.input.image.imageio.opts.format=
imageio.input.image.imageio.tests.imageioRead=disabled
imageio.input.image.imageio.reader.opts.seekForwardOnly=On
imageio.input.image.imageio.reader.opts.ignoreMetadata=On
imageio.input.image.imageio.reader.opts.installListener=Off
imageio.input.image.imageio.reader.tests.read=disabled
imageio.input.image.imageio.reader.tests.getImageMetadata=disabled
imageio.input.stream.tests.construct=disabled
imageio.input.stream.tests.read=disabled
imageio.input.stream.tests.readByteArray=disabled
imageio.input.stream.tests.readFullyByteArray=disabled
imageio.input.stream.tests.readBit=disabled
imageio.input.stream.tests.readByte=disabled
imageio.input.stream.tests.readUnsignedByte=disabled
imageio.input.stream.tests.readShort=disabled
imageio.input.stream.tests.readUnsignedShort=disabled
imageio.input.stream.tests.readInt=disabled
imageio.input.stream.tests.readUnsignedInt=disabled
imageio.input.stream.tests.readFloat=disabled
imageio.input.stream.tests.readLong=disabled
imageio.input.stream.tests.readDouble=disabled
imageio.input.stream.tests.skipBytes=disabled
imageio.output.opts.general.dest.file=disabled
imageio.output.opts.general.dest.byteArray=disabled
imageio.output.opts.imageio.useCache=Off
imageio.output.image.imageio.opts.format=
imageio.output.image.imageio.tests.imageioWrite=disabled
imageio.output.image.imageio.writer.opts.installListener=Off
imageio.output.image.imageio.writer.tests.write=disabled
imageio.output.stream.tests.construct=disabled
imageio.output.stream.tests.write=disabled
imageio.output.stream.tests.writeByteArray=disabled
imageio.output.stream.tests.writeBit=disabled
imageio.output.stream.tests.writeByte=disabled
imageio.output.stream.tests.writeShort=disabled
imageio.output.stream.tests.writeInt=disabled
imageio.output.stream.tests.writeFloat=disabled
imageio.output.stream.tests.writeLong=disabled
imageio.output.stream.tests.writeDouble=disabled
cmm.opts.profiles=1001
cmm.colorconv.data.fromRGB=disabled
cmm.colorconv.data.toRGB=disabled
cmm.colorconv.data.fromCIEXYZ=disabled
cmm.colorconv.data.toCIEXYZ=disabled
cmm.colorconv.ccop.ccopOptions.size=250
cmm.colorconv.ccop.ccopOptions.content=photo
cmm.colorconv.ccop.ccopOptions.srcType=INT_RGB
cmm.colorconv.ccop.ccopOptions.dstType=INT_RGB
cmm.colorconv.ccop.op_img=disabled
cmm.colorconv.ccop.op_rst=disabled
cmm.colorconv.ccop.op_draw=disabled
cmm.colorconv.embed.embedOptions.Images=512x512
cmm.colorconv.embed.embd_img_read=disabled
cmm.profiles.getHeader=disabled
cmm.profiles.getNumComponents=disabled

View File

@@ -0,0 +1,267 @@
prog.verbose=disabled
prog.printresults=enabled
global.env.outputwidth=640
global.env.outputheight=480
global.env.runcount=5
global.env.repcount=0
global.env.testtime=2500
global.results.workunits=units
global.results.timeunits=sec
global.results.ratio=unitspersec
global.dest.offscreen=disabled
global.dest.frame.defaultframe=enabled
global.dest.frame.transframe=disabled
global.dest.frame.shapedframe=disabled
global.dest.frame.shapedtransframe=disabled
global.dest.compatimg.compatimg=disabled
global.dest.compatimg.opqcompatimg=disabled
global.dest.compatimg.bmcompatimg=disabled
global.dest.compatimg.transcompatimg=disabled
global.dest.volimg.volimg=disabled
global.dest.volimg.opqvolimg=disabled
global.dest.volimg.bmvolimg=disabled
global.dest.volimg.transvolimg=disabled
global.dest.bufimg.IntXrgb=disabled
global.dest.bufimg.IntArgb=disabled
global.dest.bufimg.IntArgbPre=disabled
global.dest.bufimg.3ByteBgr=disabled
global.dest.bufimg.ByteIndexed=disabled
global.dest.bufimg.ByteGray=disabled
global.dest.bufimg.4ByteAbgr=disabled
global.dest.bufimg.4ByteAbgrPre=disabled
global.dest.bufimg.custom=disabled
graphics.opts.anim=2
graphics.opts.sizes=250
graphics.opts.alpharule=SrcOver
graphics.opts.transform=ident
graphics.opts.extraalpha=Off
graphics.opts.xormode=Off
graphics.opts.clip=Off
graphics.opts.renderhint=Default
graphics.render.opts.paint=single
graphics.render.opts.alphacolor=Off
graphics.render.opts.antialias=Off
graphics.render.opts.stroke=width1
graphics.render.tests.drawLine=disabled
graphics.render.tests.drawLineHoriz=disabled
graphics.render.tests.drawLineVert=disabled
graphics.render.tests.fillRect=disabled
graphics.render.tests.drawRect=disabled
graphics.render.tests.fillOval=disabled
graphics.render.tests.drawOval=disabled
graphics.render.tests.fillPoly=disabled
graphics.render.tests.drawPoly=enabled
graphics.render.tests.shape.fillCubic=disabled
graphics.render.tests.shape.drawCubic=disabled
graphics.render.tests.shape.fillEllipse2D=disabled
graphics.render.tests.shape.drawEllipse2D=disabled
graphics.imaging.src.offscr.opaque=disabled
graphics.imaging.src.offscr.bitmask=disabled
graphics.imaging.src.offscr.translucent=disabled
graphics.imaging.src.opqcompatimg.opaque=disabled
graphics.imaging.src.opqcompatimg.bitmask=disabled
graphics.imaging.src.opqcompatimg.translucent=disabled
graphics.imaging.src.bmcompatimg.opaque=disabled
graphics.imaging.src.bmcompatimg.bitmask=disabled
graphics.imaging.src.bmcompatimg.translucent=disabled
graphics.imaging.src.transcompatimg.opaque=disabled
graphics.imaging.src.transcompatimg.bitmask=disabled
graphics.imaging.src.transcompatimg.translucent=disabled
graphics.imaging.src.opqvolimg.opaque=disabled
graphics.imaging.src.opqvolimg.bitmask=disabled
graphics.imaging.src.opqvolimg.translucent=disabled
graphics.imaging.src.bmvolimg.opaque=disabled
graphics.imaging.src.bmvolimg.bitmask=disabled
graphics.imaging.src.bmvolimg.translucent=disabled
graphics.imaging.src.transvolimg.opaque=disabled
graphics.imaging.src.transvolimg.bitmask=disabled
graphics.imaging.src.transvolimg.translucent=disabled
graphics.imaging.src.bufimg.IntXrgb.opaque=disabled
graphics.imaging.src.bufimg.IntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.IntXrgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgb.opaque=disabled
graphics.imaging.src.bufimg.IntArgb.bitmask=disabled
graphics.imaging.src.bufimg.IntArgb.translucent=disabled
graphics.imaging.src.bufimg.IntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.IntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.IntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.ByteGray.opaque=disabled
graphics.imaging.src.bufimg.ByteGray.bitmask=disabled
graphics.imaging.src.bufimg.ByteGray.translucent=disabled
graphics.imaging.src.bufimg.3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.3ByteBgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgr.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgr.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgr.translucent=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.opaque=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.bitmask=disabled
graphics.imaging.src.bufimg.4ByteAbgrPre.translucent=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.opaque=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.bitmask=disabled
graphics.imaging.src.bufimg.ByteIndexedBm.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntXrgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgb.translucent=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.opaque=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.bitmask=disabled
graphics.imaging.src.bufimg.unmanagedIntArgbPre.translucent=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.opaque=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.bitmask=disabled
graphics.imaging.src.bufimg.unmanaged3ByteBgr.translucent=disabled
graphics.imaging.benchmarks.opts.interpolation=Nearest neighbor
graphics.imaging.benchmarks.opts.touchsrc=Off
graphics.imaging.benchmarks.tests.drawimage=disabled
graphics.imaging.benchmarks.tests.drawimagebg=disabled
graphics.imaging.benchmarks.tests.drawimagescaleup=disabled
graphics.imaging.benchmarks.tests.drawimagescaledown=disabled
graphics.imaging.benchmarks.tests.drawimagescalesplit=disabled
graphics.imaging.benchmarks.tests.drawimagetxform=disabled
graphics.imaging.imageops.opts.op=convolve3x3zero
graphics.imaging.imageops.tests.graphics2d.drawimageop=disabled
graphics.imaging.imageops.tests.bufimgop.filternull=disabled
graphics.imaging.imageops.tests.bufimgop.filtercached=disabled
graphics.imaging.imageops.tests.rasterop.filternull=disabled
graphics.imaging.imageops.tests.rasterop.filtercached=disabled
graphics.misc.copytests.copyAreaVert=disabled
graphics.misc.copytests.copyAreaHoriz=disabled
graphics.misc.copytests.copyAreaDiag=disabled
pixel.opts.renderto=Off
pixel.opts.renderfrom=Off
pixel.src.1BitBinary=disabled
pixel.src.2BitBinary=disabled
pixel.src.4BitBinary=disabled
pixel.src.ByteIndexed=disabled
pixel.src.ByteGray=disabled
pixel.src.Short555=disabled
pixel.src.Short565=disabled
pixel.src.ShortGray=disabled
pixel.src.3ByteBgr=disabled
pixel.src.4ByteAbgr=disabled
pixel.src.IntXrgb=disabled
pixel.src.IntXbgr=disabled
pixel.src.IntArgb=disabled
pixel.bimgtests.getrgb=disabled
pixel.bimgtests.setrgb=disabled
pixel.rastests.getdataelem=disabled
pixel.rastests.setdataelem=disabled
pixel.rastests.getpixel=disabled
pixel.rastests.setpixel=disabled
pixel.dbtests.getelem=disabled
pixel.dbtests.setelem=disabled
text.opts.data.tlength=16
text.opts.data.tscript=english
text.opts.font.fname=serif,physical
text.opts.font.fstyle=0
text.opts.font.fsize=13.0
text.opts.font.ftx=Identity
text.opts.graphics.textaa=Off
text.opts.graphics.tfm=Off
text.opts.graphics.gaa=Off
text.opts.graphics.gtx=Identity
text.opts.advopts.gvstyle=0
text.opts.advopts.tlruns=1
text.opts.advopts.maptype=FONT
text.Rendering.tests.drawString=disabled
text.Rendering.tests.drawChars=disabled
text.Rendering.tests.drawBytes=disabled
text.Rendering.tests.drawGlyphVectors=disabled
text.Rendering.tests.drawTextLayout=disabled
text.Measuring.tests.stringWidth=disabled
text.Measuring.tests.stringBounds=disabled
text.Measuring.tests.charsWidth=disabled
text.Measuring.tests.charsBounds=disabled
text.Measuring.tests.fontcandisplay=disabled
text.Measuring.tests.gvWidth=disabled
text.Measuring.tests.gvLogicalBounds=disabled
text.Measuring.tests.gvVisualBounds=disabled
text.Measuring.tests.gvPixelBounds=disabled
text.Measuring.tests.gvOutline=disabled
text.Measuring.tests.gvGlyphLogicalBounds=disabled
text.Measuring.tests.gvGlyphVisualBounds=disabled
text.Measuring.tests.gvGlyphPixelBounds=disabled
text.Measuring.tests.gvGlyphOutline=disabled
text.Measuring.tests.gvGlyphTransform=disabled
text.Measuring.tests.gvGlyphMetrics=disabled
text.Measuring.tests.tlAdvance=disabled
text.Measuring.tests.tlAscent=disabled
text.Measuring.tests.tlBounds=disabled
text.Measuring.tests.tlGetCaretInfo=disabled
text.Measuring.tests.tlGetNextHit=disabled
text.Measuring.tests.tlGetCaretShape=disabled
text.Measuring.tests.tlGetLogicalHighlightShape=disabled
text.Measuring.tests.tlHitTest=disabled
text.Measuring.tests.tlOutline=disabled
text.construction.tests.gvfromfontstring=disabled
text.construction.tests.gvfromfontchars=disabled
text.construction.tests.gvfromfontci=disabled
text.construction.tests.gvfromfontglyphs=disabled
text.construction.tests.gvfromfontlayout=disabled
text.construction.tests.tlfromfont=disabled
text.construction.tests.tlfrommap=disabled
imageio.opts.size=250
imageio.opts.content=photo
imageio.input.opts.general.source.file=disabled
imageio.input.opts.general.source.url=disabled
imageio.input.opts.general.source.byteArray=disabled
imageio.input.opts.imageio.useCache=Off
imageio.input.image.toolkit.opts.format=
imageio.input.image.toolkit.tests.createImage=disabled
imageio.input.image.imageio.opts.format=
imageio.input.image.imageio.tests.imageioRead=disabled
imageio.input.image.imageio.reader.opts.seekForwardOnly=On
imageio.input.image.imageio.reader.opts.ignoreMetadata=On
imageio.input.image.imageio.reader.opts.installListener=Off
imageio.input.image.imageio.reader.tests.read=disabled
imageio.input.image.imageio.reader.tests.getImageMetadata=disabled
imageio.input.stream.tests.construct=disabled
imageio.input.stream.tests.read=disabled
imageio.input.stream.tests.readByteArray=disabled
imageio.input.stream.tests.readFullyByteArray=disabled
imageio.input.stream.tests.readBit=disabled
imageio.input.stream.tests.readByte=disabled
imageio.input.stream.tests.readUnsignedByte=disabled
imageio.input.stream.tests.readShort=disabled
imageio.input.stream.tests.readUnsignedShort=disabled
imageio.input.stream.tests.readInt=disabled
imageio.input.stream.tests.readUnsignedInt=disabled
imageio.input.stream.tests.readFloat=disabled
imageio.input.stream.tests.readLong=disabled
imageio.input.stream.tests.readDouble=disabled
imageio.input.stream.tests.skipBytes=disabled
imageio.output.opts.general.dest.file=disabled
imageio.output.opts.general.dest.byteArray=disabled
imageio.output.opts.imageio.useCache=Off
imageio.output.image.imageio.opts.format=
imageio.output.image.imageio.tests.imageioWrite=disabled
imageio.output.image.imageio.writer.opts.installListener=Off
imageio.output.image.imageio.writer.tests.write=disabled
imageio.output.stream.tests.construct=disabled
imageio.output.stream.tests.write=disabled
imageio.output.stream.tests.writeByteArray=disabled
imageio.output.stream.tests.writeBit=disabled
imageio.output.stream.tests.writeByte=disabled
imageio.output.stream.tests.writeShort=disabled
imageio.output.stream.tests.writeInt=disabled
imageio.output.stream.tests.writeFloat=disabled
imageio.output.stream.tests.writeLong=disabled
imageio.output.stream.tests.writeDouble=disabled
cmm.opts.profiles=1001
cmm.colorconv.data.fromRGB=disabled
cmm.colorconv.data.toRGB=disabled
cmm.colorconv.data.fromCIEXYZ=disabled
cmm.colorconv.data.toCIEXYZ=disabled
cmm.colorconv.ccop.ccopOptions.size=250
cmm.colorconv.ccop.ccopOptions.content=photo
cmm.colorconv.ccop.ccopOptions.srcType=INT_RGB
cmm.colorconv.ccop.ccopOptions.dstType=INT_RGB
cmm.colorconv.ccop.op_img=disabled
cmm.colorconv.ccop.op_rst=disabled
cmm.colorconv.ccop.op_draw=disabled
cmm.colorconv.embed.embedOptions.Images=512x512
cmm.colorconv.embed.embd_img_read=disabled
cmm.profiles.getHeader=disabled
cmm.profiles.getNumComponents=disabled

View File

@@ -0,0 +1,137 @@
export LC_ALL=C
ST=1 # sleep between iterations
# number of iterations (jvm spawned)
N=5
# number of repeats (within jvm)
R=3
type datamash 2>&1 > /dev/null ; ec=$?
if [ $ec -ne 0 ] ; then
echo "Missing datamash utility"
exit 1
fi
DATAMASH_CMD="datamash --format=%.2f -H count x min x q1 x median x q3 x max x mad x"
J2D_OPTS=""
OS=""
case "$OSTYPE" in
linux*) echo "Linux"
;;
darwin*) echo "OSX"
;;
*) echo "unknown: $OSTYPE"
exit 1
;;
esac
read -r -d '' RENDER_OPS_DOC << EOM
rendering_options:
-opengl # OpenGL pipeline (windows, linux, macOS)
-metal # Metal pipeline (macOS)
-vulkan # Vulkan pipeline (WLToolkit)
-accelsd # Vulkan full acceleration (WLToolkit, Vulkan)
-devnum num # Provide Vulkan device for rendering
-tk tk_name # AWT toolkit (linux: WLToolkit|XToolkit)
-scale # UI scale
-N num # Number of iterations (JVM runs)
-R num # Number of repeats in the test
EOM
while [ $# -ge 1 ] ; do
case "$1" in
-opengl) J2D_OPTS=$J2D_OPTS" -Dsun.java2d.opengl=true"
shift
;;
-metal) J2D_OPTS=$J2D_OPTS" -Dsun.java2d.metal=true"
shift
;;
-vulkan) J2D_OPTS=$J2D_OPTS" -Dsun.java2d.vulkan=true"
shift
;;
-accelsd) J2D_OPTS=$J2D_OPTS" -Dsun.java2d.vulkan.accelsd=true"
shift
;;
-devnum) shift
if [ $# -ge 1 ] ; then
J2D_OPTS=$J2D_OPTS" -Dsun.java2d.vulkan.deviceNumber="$1
shift
else
echo "Invalid parameters for -devnum option. Use: -devnum num"
exit 1
fi
;;
-tk) shift
if [ $# -ge 1 ] ; then
J2D_OPTS=$J2D_OPTS" -Dawt.toolkit.name="$1
shift
else
echo "Invalid parameters for -tk option. Use: -tk tkname"
exit 1
fi
;;
-N) shift
if [ $# -ge 1 ] ; then
N=$1
shift
else
echo "Invalid parameters for -N option. Use: -N <number>"
exit 1
fi
;;
-R) shift
if [ $# -ge 1 ] ; then
R=$1
shift
else
echo "Invalid parameters for -R option. Use: -R <number>"
exit 1
fi
;;
-scale) shift
if [ $# -ge 1 ] ; then
J2D_OPTS=$J2D_OPTS" -Dsun.java2d.uiScale="$1
shift
else
echo "Invalid parameters for -scale option. Use: -scale scale"
exit 1
fi
;;
-dSync) shift
if [ $# -ge 1 ] ; then
J2D_OPTS=$J2D_OPTS" -Dsun.java2d.metal.displaySync="$1
shift
else
echo "Invalid parameters for -dSync option. Use: -dSync [true|false]"
exit 1
fi
;;
-jdk) shift
if [ $# -ge 1 ] ; then
JAVA=$1/bin/java
shift
else
echo "Invalid parameters for -jdk option"
exit 1
fi
;;
*) break
;;
esac
done
if [ -z "$JAVA" ] ; then
BUILD_DIR=`find $BASE_DIR/../../../../build -name '*-release' -type d | head -n 1`
JAVA=`find $BUILD_DIR/images/jdk -name java -type f | head -n 1`
fi
JAVA_HOME=`dirname $JAVA`/../
"$JAVA" -version
LANG=C
WS_ROOT=$BASE_DIR/../../../..
echo "N: $N"
echo "R: $R"
echo "J2D_OPTS: $J2D_OPTS"

View File

@@ -0,0 +1,53 @@
#!/bin/bash
BASE_DIR=$(dirname "$0")
source $BASE_DIR/run_inc.sh
J2DBENCH_DIR=$WS_ROOT/src/demo/share/java2d/J2DBench
if [ -z "$J2DBENCH" ]; then
if [ ! -f "$J2DBENCH_DIR/dist/J2DBench.jar" ]; then
PATH=$JAVA_HOME/bin:$PATH make -C $J2DBENCH_DIR
fi
if [ ! -f "$J2DBENCH_DIR/dist/J2DBench.jar" ]; then
echo "Cannot build J2DBench. You may use J2DBench env variable instead pointing to the J2DBench.jar."
exit 1
fi
J2DBENCH=$J2DBENCH_DIR/dist/J2DBench.jar
fi
if [ $# -ne 1 ] ; then
echo "Usage: run_j2b.sh [rendering_options] bench_name"
echo
echo "bench_name: poly250 poly250-rand_col poly250-AA-rand_col"
echo ""
echo "$RENDER_OPS_DOC"
exit 2
fi
if [ ! -f "$BASE_DIR/j2dbopts_$1.txt" ]; then
echo "Unknown test: $1"
exit 1
fi
OPTS="j2dbopts_$1.txt"
#OPTS=j2dbopts_poly250.txt
#OPTS=j2dbopts_poly250-rand_col.txt
#OPTS=j2dbopts_poly250-AA-rand_col.txt
echo "OPTS: $OPTS"
for i in `seq $N`; do
if [ $i -eq 1 ]; then
echo x
fi
echo `$JAVA $J2D_OPTS -jar $J2DBENCH \
-batch -loadopts $BASE_DIR/$OPTS -saveres pl.res \
-title pl -desc pl | awk '/averaged/{print $3}' | head -n1`
if [ $i -ne $N ]; then
sleep $ST
fi
done | $DATAMASH_CMD | expand -t12

88
jb/project/tools/perf/run_rp.sh Executable file
View File

@@ -0,0 +1,88 @@
#!/bin/bash
#set -euo pipefail
#set -x
BASE_DIR=$(dirname "$0")
source $BASE_DIR/run_inc.sh
RENDERPERFTEST_DIR=$WS_ROOT/test/jdk/performance/client/RenderPerfTest
RENDERPERFTEST=""
if [ -z "$RENDERPERFTEST" ]; then
if [ ! -f "$RENDERPERFTEST_DIR/dist/RenderPerfTest.jar" ]; then
PATH=$JAVA_HOME/bin:$PATH make -C $RENDERPERFTEST_DIR
fi
if [ ! -f "$RENDERPERFTEST_DIR/dist/RenderPerfTest.jar" ]; then
echo "Cannot build RenderPerfTest. You may use RENDERPERFTEST env variable instead pointing to the RenderPerfTest.jar."
exit 1
fi
RENDERPERFTEST=$RENDERPERFTEST_DIR/dist/RenderPerfTest.jar
fi
TRACE=false
# removes leading hyphen
mode_param="${1/-}"
MODE="Robot"
while [ $# -ge 1 ] ; do
case "$1" in
-onscreen) MODE="Robot"
shift
;;
-volatile) MODE="Volatile"
shift
;;
-buffer) MODE="Buffer"
shift
;;
*) break
;;
esac
done
if [[ ($# -eq 1 && "$1" == "-help") || ($# -eq 0) ]] ; then
echo "Usage: run_rp.sh [rp_rendering_mode] [rendering_options] bench_name"
echo
echo "bench_name: ArgbSurfaceBlitImage ArgbSwBlitImage BgrSurfaceBlitImage BgrSwBlitImage"
echo " Image ImageAA Image_XOR VolImage VolImageAA"
echo " ClipFlatBox ClipFlatBoxAA ClipFlatOval ClipFlatOvalAA"
echo " FlatBox FlatBoxAA FlatOval FlatOvalAA FlatOval_XOR FlatQuad FlatQuadAA"
echo " RotatedBox RotatedBoxAA RotatedBox_XOR RotatedOval RotatedOvalAA"
echo " WiredBox WiredBoxAA WiredBubbles WiredBubblesAA WiredQuad WiredQuadAA"
echo " Lines LinesAA Lines_XOR"
echo " TextGray TextLCD TextLCD_XOR TextNoAA TextNoAA_XOR"
echo " LargeTextGray LargeTextLCD LargeTextNoAA WhiteTextGray WhiteTextLCD WhiteTextNoAA"
echo " LinGrad3RotatedOval LinGrad3RotatedOvalAA LinGradRotatedOval LinGradRotatedOvalAA"
echo " RadGrad3RotatedOval RadGrad3RotatedOvalAA"
echo ""
echo "rp_rendering_mode: "
echo " -onscreen : rendering to the window and check it using Robot"
echo " -volatile : rendering to volatile image (default)"
echo " -buffer : rendering to buffered image"
echo "$RENDER_OPS_DOC"
exit 2
fi
OPTS=""
# use time + repeat
OPTS="$OPTS -t -n=$N -e$MODE $1"
echo "OPTS: $OPTS"
echo "Unit: Milliseconds (not FPS), lower is better"
for i in `seq $R` ; do
if [ $i -eq 1 ]; then
echo x
fi
# echo "[debug] " + "test run"
# $JAVA $J2D_OPTS -DTRACE=$TRACE \
# -jar $RENDERPERFTEST $OPTS 2>&1 | awk '/'$1'/{print $3 }' | tee test_run.log
$JAVA $J2D_OPTS -DTRACE=$TRACE \
-jar $RENDERPERFTEST $OPTS -v 2>&1 | tee render_$1_${mode_param}_$i.log | grep -v "^#" | tail -n 1 | \
awk '{print $3 }'
if [ $i -ne $N ]; then
sleep $ST
fi
done | $DATAMASH_CMD | expand -t12 | tee render_$1_${mode_param}.log

39
jb/project/tools/perf/run_sm.sh Executable file
View File

@@ -0,0 +1,39 @@
#!/bin/bash
BASE_DIR=$(dirname "$0")
source $BASE_DIR/run_inc.sh
SWINGMARK_DIR=$WS_ROOT/test/jdk/performance/client/SwingMark
if [ -z "$SWINGMARK" ]; then
if [ ! -f "$SWINGMARK_DIR/dist/SwingMark.jar" ]; then
PATH=$JAVA_HOME/bin:$PATH make -C $SWINGMARK_DIR
fi
if [ ! -f "$SWINGMARK_DIR/dist/SwingMark.jar" ]; then
echo "Cannot build SwingMark. You may use SWINGMARK env variable instead pointing to the SwingMark.jar."
exit 1
fi
SWINGMARK=$SWINGMARK_DIR/dist/SwingMark.jar
fi
if [ $# -eq 1 -a "$1" == "--help" ] ; then
shift
echo "Usage: run_sm [rendering_options]"
echo ""
echo "$RENDER_OPS_DOC"
exit 0
fi
for i in `seq $N` ; do
if [ $i -eq 1 ]; then
echo x
fi
# SwingMark gives 1 global 'Score: <value>'
echo `$JAVA $J2D_OPTS -jar $BASE_DIR/../../../../test/jdk/performance/client/SwingMark/dist/SwingMark.jar \
-r $R -q -lf javax.swing.plaf.metal.MetalLookAndFeel | awk '/Score/{print $2}'`
if [ $i -ne $N ]; then
sleep $ST
fi
done | $DATAMASH_CMD | expand -t12

View File

@@ -49,6 +49,7 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -103,13 +104,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
@@ -126,12 +127,13 @@ if [ $? -eq 0 ]; then
fi
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
update_jsdk_mods "$BUILD_JDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not unchanged
if [ "$bundle_type" == "jcef" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module_aarch64.patch || do_exit $?
update_jsdk_mods "$BUILD_JDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not unchanged
cat $JCEF_PATH/jcef.version >> $JSDK/release
fi
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
@@ -143,7 +145,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g) || do_exit $?
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?

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 $?
@@ -53,7 +54,7 @@ function create_image_bundle {
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
__cds_opt="--generate-cds-archive"
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x64-${fastdebug_infix}b${build_number}
@@ -96,13 +97,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
@@ -119,12 +120,13 @@ if [ $? -eq 0 ]; then
fi
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
if [ "$bundle_type" == "jcef" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
cat $JCEF_PATH/jcef.version >> $JSDK/release
fi
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi
@@ -136,7 +138,7 @@ create_image_bundle "jbr${jbr_name_postfix}" "jbr" $JSDK_MODS_DIR "$modules" ||
# create sdk image bundle
modules=$(cat ${JSDK}/release | grep MODULES | sed s/MODULES=//g | sed s/' '/','/g | sed s/\"//g | sed s/\\r//g | sed s/\\n//g)
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "$JBRSDK_BUNDLE" ]; then
modules=${modules},$(get_mods_list "$JCEF_PATH"/jmods)
fi
create_image_bundle "$JBRSDK_BUNDLE${jbr_name_postfix}" "$JBRSDK_BUNDLE" "$JSDK_MODS_DIR" "$modules" || do_exit $?

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 $?
@@ -49,7 +50,7 @@ function create_image_bundle {
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
__cds_opt="--generate-cds-archive"
[ "$bundle_type" == "fd" ] && [ "$__arch_name" == "$JBRSDK_BUNDLE" ] && __bundle_name=$__arch_name && fastdebug_infix="fastdebug-"
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-x86-${fastdebug_infix}b${build_number}
@@ -91,13 +92,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
@@ -109,9 +110,11 @@ JSDK_MODS_DIR=$IMAGES_DIR/jmods
JBRSDK_BUNDLE=jbrsdk
if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
if [ "$bundle_type" == "jcef" ]; then
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
update_jsdk_mods "$JSDK" "$JCEF_PATH"/jmods "$JSDK"/jmods "$JSDK_MODS_DIR" || do_exit $?
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
fi
jbr_name_postfix="_${bundle_type}"
else

View File

@@ -29,8 +29,11 @@ function pack_jbr {
__root_dir=${__bundle_name}-${JBSDK_VERSION}-windows-aarch64-${fastdebug_infix}b${build_number}
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/$__root_dir
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
echo Creating $JBR.zip ...
/usr/bin/zip -r $JBR.zip $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
@@ -51,7 +54,6 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-aarch64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -31,6 +31,9 @@ function pack_jbr {
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/$__root_dir
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
echo Creating $JBR.zip ...
/usr/bin/zip -r $JBR.zip $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
@@ -51,7 +54,6 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -27,6 +27,9 @@ function pack_jbr {
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/$__root_dir
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR $__root_dir || do_exit $?
echo Creating $JBR.zip ...
/usr/bin/zip -r $JBR.zip $__root_dir || do_exit $?
}
[ "$bundle_type" == "nomod" ] && bundle_type=""
@@ -47,7 +50,6 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x86-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $BASE_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -242,7 +242,10 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
)
JDK_SYMBOLS_BUNDLE_FILES := \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
$(filter-out \
%.stripped.pdb, \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR)) \
)
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))

View File

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

View File

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

View File

@@ -68,7 +68,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
-Duser.language=en -Duser.country=US \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist $(LOG_DEBUG)
build.tools.classlist.HelloClasslist jdk/src/classes/build/tools/classlist/clear.classlist $(LOG_DEBUG)
$(GREP) -v HelloClasslist $@.raw > $@.interim
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedClassListFile=$@.interim -XX:SharedArchiveFile=$@.jsa \
@@ -79,7 +79,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
-Duser.language=en -Duser.country=US \
--module-path $(SUPPORT_OUTPUTDIR)/classlist.jar \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
build.tools.classlist.HelloClasslist jdk/src/classes/build/tools/classlist/clear.classlist \
2> $(LINK_OPT_DIR)/stderr > $(JLI_TRACE_FILE) \
|| ( \
exitcode=$$? ; \

View File

@@ -25,69 +25,49 @@
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include Utils.gmk
JBR_API_ROOT_DIR := $(TOPDIR)/src/jetbrains.api
JBR_API_TOOLS_DIR := $(JBR_API_ROOT_DIR)/tools
JBR_API_SRC_DIR := $(JBR_API_ROOT_DIR)/src
JBR_API_OUTPUT_DIR := $(OUTPUTDIR)/jbr-api
JBR_API_GENSRC_DIR := $(JBR_API_OUTPUT_DIR)/gensrc
JBR_API_BIN_DIR := $(JBR_API_OUTPUT_DIR)/bin
JBR_API_VERSION_PROPERTIES := $(JBR_API_ROOT_DIR)/version.properties
JBR_API_VERSION_GENSRC := $(JBR_API_OUTPUT_DIR)/jbr-api.version
JBR_API_GENSRC_BATCH := $(JBR_API_VERSION_GENSRC)
JBR_API_ORIGIN := https://github.com/JetBrains/JetBrainsRuntimeApi.git
JBR_API_DIR := $(TOPDIR)/jbr-api
JBR_API_SRC_FILES := $(call FindFiles, $(JBR_API_SRC_DIR))
JBR_API_GENSRC_FILES := $(foreach f, $(call FindFiles, $(JBR_API_SRC_DIR)), \
$(JBR_API_GENSRC_DIR)/$(call RelativePath, $f, $(JBR_API_SRC_DIR)))
ifeq ($(JBR_API_JBR_VERSION),)
JBR_API_JBR_VERSION := DEVELOPMENT
JBR_API_FAIL_ON_HASH_MISMATCH := false
ARTIFACT_NAME := jbr-api-SNAPSHOT
ifeq ($(call isBuildOsEnv, windows.cygwin windows.msys2), true)
HOME := $$USERPROFILE
M2_REPO := $(shell $(PATHTOOL) $(HOME))/.m2/repository
else ifeq ($(call isBuildOsEnv, windows.wsl1 windows.wsl2), true)
HOME := `cmd.exe /C "echo %USERPROFILE%" 2> /dev/null`
M2_REPO := $(shell $(PATHTOOL) $(HOME))/.m2/repository
else
.PHONY: $(JBR_API_VERSION_PROPERTIES)
JBR_API_FAIL_ON_HASH_MISMATCH := true
M2_REPO := $(HOME)/.m2/repository
endif
M2_ARTIFACT := $(M2_REPO)/com/jetbrains/jbr-api/SNAPSHOT
M2_POM_CONTENT := \
<?xml version="1.0" encoding="UTF-8"?> \
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" \
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> \
<modelVersion>4.0.0</modelVersion> \
<groupId>com.jetbrains</groupId> \
<artifactId>jbr-api</artifactId> \
<version>SNAPSHOT</version> \
</project> \
ARCHIVE_BUILD_JBR_API_BIN := $(JBR_API_BIN_DIR)
$(eval $(call SetupJavaCompilation, BUILD_JBR_API, \
SMALL_JAVA := true, \
COMPILER := bootjdk, \
SRC := $(JBR_API_GENSRC_DIR), \
EXTRA_FILES := $(JBR_API_GENSRC_FILES), \
BIN := $(JBR_API_BIN_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api.jar, \
))
jbr-api:
if [ -d "$(JBR_API_DIR)" ]; then \
$(GIT) -C "$(JBR_API_DIR)" fetch; \
$(GIT) -C "$(JBR_API_DIR)" merge-base --is-ancestor origin/main HEAD || \
$(ECHO) "!!! Current JBR API revision is outdated, update the branch in $(JBR_API_DIR) !!!"; \
else \
$(ECHO) "JBR API directory does not exist. Initializing..."; \
$(GIT) clone "$(JBR_API_ORIGIN)" "$(JBR_API_DIR)" --config core.autocrlf=false; \
fi
$(BASH) "$(JBR_API_DIR)/tools/build.sh" dev "$(BOOT_JDK)"
if [ -d "$(M2_REPO)" ]; then \
$(MKDIR) -p $(M2_ARTIFACT); \
$(ECHO) "$(M2_POM_CONTENT)" > $(M2_ARTIFACT)/$(ARTIFACT_NAME).pom; \
$(CP) "$(JBR_API_DIR)/out/$(ARTIFACT_NAME).jar" "$(M2_ARTIFACT)"; \
$(ECHO) "Installed into local Maven repository as com.jetbrains:jbr-api:SNAPSHOT"; \
else \
$(ECHO) "No Maven repository found at $(M2_REPO) - skipping local installation"; \
fi
$(eval $(call SetupJarArchive, BUILD_JBR_API_SOURCES_JAR, \
DEPENDENCIES := $(JBR_API_GENSRC_FILES), \
SRCS := $(JBR_API_GENSRC_DIR), \
JAR := $(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar, \
SUFFIXES := .java, \
BIN := $(JBR_API_BIN_DIR), \
))
# Grouped targets may not be supported, so hack dependencies: sources -> version file -> generated sources
$(JBR_API_VERSION_GENSRC): $(JBR_API_SRC_FILES) $(JBR_API_VERSION_PROPERTIES) $(JBR_API_TOOLS_DIR)/Gensrc.java
$(ECHO) Generating sources for JBR API
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/Gensrc.java" \
"$(TOPDIR)/src" "$(JBR_API_OUTPUT_DIR)" "$(JBR_API_JBR_VERSION)"
$(JBR_API_GENSRC_FILES): $(JBR_API_VERSION_GENSRC)
$(TOUCH) $@
jbr-api-check-version: $(JBR_API_GENSRC_FILES) $(JBR_API_VERSION_PROPERTIES)
$(JAVA_CMD) $(JAVA_FLAGS_SMALL) "$(JBR_API_TOOLS_DIR)/CheckVersion.java" \
"$(JBR_API_ROOT_DIR)" "$(JBR_API_GENSRC_DIR)" "$(JBR_API_FAIL_ON_HASH_MISMATCH)"
jbr-api: $(BUILD_JBR_API) $(BUILD_JBR_API_SOURCES_JAR) jbr-api-check-version
.PHONY: jbr-api jbr-api-check-version
ifneq ($(JBR_API_CONF_FILE),)
$(JBR_API_CONF_FILE): $(JBR_API_GENSRC_FILES)
$(ECHO) "VERSION=`$(CAT) $(JBR_API_VERSION_GENSRC)`" > $(JBR_API_CONF_FILE)
$(ECHO) "JAR=$(JBR_API_OUTPUT_DIR)/jbr-api.jar" >> $(JBR_API_CONF_FILE)
$(ECHO) "SOURCES_JAR=$(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar" >> $(JBR_API_CONF_FILE)
jbr-api: $(JBR_API_CONF_FILE)
.PHONY: $(JBR_API_CONF_FILE)
endif
.PHONY: jbr-api

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -602,7 +602,7 @@ define SetupRunMicroTestBody
$1_JMH_JVM_ARGS += $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
endif
$1_MICRO_VM_OPTIONS := -jvmArgs $(call ShellQuote,$$($1_JMH_JVM_ARGS))
$1_MICRO_VM_OPTIONS := -jvmArgsPrepend $(call ShellQuote,$$($1_JMH_JVM_ARGS))
ifneq ($$(MICRO_ITER), )
$1_MICRO_ITER := -i $$(MICRO_ITER)
@@ -743,8 +743,6 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }')
JTREG_TIMEOUT_FACTOR ?= 4
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_TEST_THREAD_FACTORY ?=
@@ -801,8 +799,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR
# If running on Windows, propagate the _NT_SYMBOL_PATH to enable
# symbol lookup in hserr files
# The minidumps are disabled by default on client Windows, so enable them
ifeq ($$(call isTargetOs, windows), true)
$1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH
$1_JTREG_BASIC_OPTIONS += -vmoption:-XX:+CreateCoredumpOnCrash
else ifeq ($$(call isTargetOs, linux), true)
$1_JTREG_BASIC_OPTIONS += -e:_JVM_DWARF_PATH=$$(SYMBOLS_IMAGE_DIR)
endif
@@ -830,6 +830,28 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
JTREG_AUTO_PROBLEM_LISTS :=
JTREG_AUTO_TIMEOUT_FACTOR := 4
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
JTREG_AUTO_TIMEOUT_FACTOR := 10
endif
ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
ifneq ($$(findstring -XX:-ZGenerational, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
else
JTREG_AUTO_PROBLEM_LISTS += ProblemList-generational-zgc.txt
endif
endif
ifneq ($$(findstring -XX:+UseShenandoahGC, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
endif
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
@@ -861,6 +883,18 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
# SetupRunJtregTestCustom might also adjust JTREG_AUTO_ variables
# so set the final results after setting values from custom setup
ifneq ($$(JTREG_AUTO_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(JTREG_AUTO_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_AUTO_PROBLEM_LISTS)) \
))
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
# Setup flags for C/C++ compiler
#
###############################################################################
################################################################################
#
# How to compile shared libraries.
#
@@ -37,7 +37,10 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
# --disable-new-dtags forces use of RPATH instead of RUNPATH for rpaths.
# This protects internal library dependencies within the JDK from being
# overridden using LD_LIBRARY_PATH. See JDK-8326891 for more information.
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1 -Wl,--disable-new-dtags'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -63,6 +66,9 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
if test "x$OPENJDK_TARGET_OS" = xlinux; then
SET_EXECUTABLE_ORIGIN="$SET_EXECUTABLE_ORIGIN -Wl,--disable-new-dtags"
fi
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -117,6 +123,16 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${DEBUG_PREFIX_CFLAGS}],
IF_FALSE: [
DEBUG_PREFIX_CFLAGS=
],
IF_TRUE: [
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
# Add debug prefix map for OUTPUTDIR to handle the scenario when
# it is not located within WORKSPACE_ROOT
outputdir_slash="${OUTPUTDIR%/}/"
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS -fdebug-prefix-map=${outputdir_slash}="
]
)
fi
@@ -158,6 +174,55 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
# gcc will embed the full system include paths in the debug info
# resulting in non-deterministic debug symbol files and thus
# non-reproducible native libraries if gcc includes are located
# in different paths.
# Add -fdebug-prefix-map'ings for root and gcc include paths,
# pointing to a common set of folders so that the binaries are deterministic:
# root include : /usr/include
# gcc include : /usr/local/gcc_include
# g++ include : /usr/local/gxx_include
AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
[
# Determine gcc system include paths.
# Assume default roots to start with:
GCC_ROOT_INCLUDE="/usr/include"
# Determine is sysroot or devkit specified?
if test "x$SYSROOT" != "x"; then
GCC_ROOT_INCLUDE="${SYSROOT%/}/usr/include"
fi
# Add root include mapping => /usr/include
GCC_INCLUDE_DEBUG_MAP_FLAGS="-fdebug-prefix-map=${GCC_ROOT_INCLUDE}/=/usr/include/"
# Add gcc system include mapping => /usr/local/gcc_include
# Find location of stddef.h using build C compiler
GCC_SYSTEM_INCLUDE=`$ECHO "#include <stddef.h>" | \
$CC $CFLAGS -v -E - 2>&1 | \
$GREP stddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GCC_SYSTEM_INCLUDE" != "x"; then
GCC_SYSTEM_INCLUDE=`$DIRNAME $GCC_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GCC_SYSTEM_INCLUDE}/=/usr/local/gcc_include/"
fi
# Add g++ system include mapping => /usr/local/gxx_include
# Find location of cstddef using build C++ compiler
GXX_SYSTEM_INCLUDE=`$ECHO "#include <cstddef>" | \
$CXX $CXXFLAGS -v -E -x c++ - 2>&1 | \
$GREP cstddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GXX_SYSTEM_INCLUDE" != "x"; then
GXX_SYSTEM_INCLUDE=`$DIRNAME $GXX_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GXX_SYSTEM_INCLUDE}/=/usr/local/gxx_include/"
fi
# Add to debug prefix cflags
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS $GCC_INCLUDE_DEBUG_MAP_FLAGS"
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
# Set default value.
@@ -425,13 +490,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
CFLAGS_OS_DEF_JVM="-DAIX"
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -770,6 +835,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# for all archs except arm and ppc, prevent gcc to omit frame pointer
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
if test "x$FLAGS_CPU" = xppc64le; then
# Little endian machine uses ELFv2 ABI.
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
$1_CFLAGS_CPU="-mcpu=pwr8"
@@ -797,15 +867,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -943,17 +1004,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -190,6 +190,16 @@ 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=auto
fi
# Compress jars
COMPRESS_JARS=false
@@ -514,9 +524,15 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
#
AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
UTIL_ARG_WITH(NAME: additional-ubsan-checks, TYPE: string,
DEFAULT: [],
DESC: [Customizes the ubsan checks],
OPTIONAL: true)
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment \
$ADDITIONAL_UBSAN_CHECKS"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
@@ -698,10 +714,10 @@ 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],
DEFAULT_DESC: [disabled except on linux-aarch64],
CHECKING_MSG: [if compatible cds region alignment enabled],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if CDS archive is available])

View File

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

View File

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

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

114
make/autoconf/lib-vulkan.m4 Normal file
View File

@@ -0,0 +1,114 @@
#
# Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2025, JetBrains s.r.o.. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup vulkan
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_VULKAN],
[
AC_ARG_WITH(vulkan, [AS_HELP_STRING([--with-vulkan],
[specify whether we use vulkan])])
AC_ARG_WITH(vulkan-include, [AS_HELP_STRING([--with-vulkan-include],
[specify directory for the vulkan include files ({with-vulkan-include}/vulkan/vulkan.h)])])
AC_ARG_WITH(vulkan-shader-compiler, [AS_HELP_STRING([--with-vulkan-shader-compiler],
[specify which shader compiler to use: glslc/glslangValidator])])
VULKAN_ENABLED=false
VULKAN_FLAGS=
# Find Vulkan SDK
if test "x$NEEDS_LIB_VULKAN" = xtrue || test "x${with_vulkan}" = xyes || test "x${with_vulkan_include}" != x ; then
# Check custom directory
if test "x${with_vulkan_include}" != x; then
AC_MSG_CHECKING([for ${with_vulkan_include}/vulkan/vulkan.h])
if test -s "${with_vulkan_include}/vulkan/vulkan.h"; then
VULKAN_ENABLED=true
VULKAN_FLAGS="-I${with_vulkan_include}"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}'])
fi
fi
# Check $VULKAN_SDK
if test "x$VULKAN_ENABLED" = xfalse && test "x${VULKAN_SDK}" != x; then
AC_MSG_CHECKING([for ${VULKAN_SDK}/include/vulkan/vulkan.h])
if test -s "${VULKAN_SDK}/include/vulkan/vulkan.h"; then
VULKAN_ENABLED=true
VULKAN_FLAGS="-I${VULKAN_SDK}/include"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
fi
# Check default /usr/include location
if test "x$VULKAN_ENABLED" = xfalse; then
AC_CHECK_HEADERS([vulkan/vulkan.h],
[ VULKAN_ENABLED=true ], [ break ]
)
fi
if test "x$VULKAN_ENABLED" = xfalse; then
# Vulkan SDK not found
HELP_MSG_MISSING_DEPENDENCY([vulkan])
AC_MSG_ERROR([Could not find vulkan! $HELP_MSG ])
fi
fi
# Find shader compiler - glslc or glslangValidator
if test "x$VULKAN_ENABLED" = xtrue; then
SHADER_COMPILER=
# Check glslc
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslc); then
UTIL_LOOKUP_PROGS(GLSLC, glslc)
SHADER_COMPILER="$GLSLC"
VULKAN_SHADER_COMPILER="glslc --target-env=vulkan1.2 -mfmt=num -o"
fi
# Check glslangValidator
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslangValidator) && \
test "x$SHADER_COMPILER" = x; then
UTIL_LOOKUP_PROGS(GLSLANG, glslangValidator)
SHADER_COMPILER="$GLSLANG"
VULKAN_SHADER_COMPILER="glslangValidator --target-env vulkan1.2 -x -o"
fi
if test "x$SHADER_COMPILER" = x; then
# Compiler not found
VULKAN_ENABLED=false
VULKAN_FLAGS=
AC_MSG_ERROR([Can't find vulkan shader compiler])
fi
fi
AC_SUBST(VULKAN_ENABLED)
AC_SUBST(VULKAN_FLAGS)
AC_SUBST(VULKAN_SHADER_COMPILER)
])

View File

@@ -45,8 +45,6 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
fi
WAYLAND_CFLAGS=
WAYLAND_LIBS=
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
WAYLAND_FOUND=no
@@ -79,7 +77,7 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
if test "x${with_wayland_lib}" != x; then
WAYLAND_LIBS="-L${with_wayland_lib} -lwayland-client -lwayland-cursor"
fi
if test "x$WAYLAND_FOUND" = xno; then
# Are the wayland headers installed in the default /usr/include location?
AC_CHECK_HEADERS([wayland-client.h wayland-cursor.h],
@@ -97,117 +95,7 @@ AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
AC_MSG_ERROR([Could not find wayland! $HELP_MSG ])
fi
# Checking for vulkan sdk
AC_ARG_WITH(vulkan, [AS_HELP_STRING([--with-vulkan],
[specify whether we use vulkan])])
AC_ARG_WITH(vulkan-include, [AS_HELP_STRING([--with-vulkan-include],
[specify directory for the vulkan include files ({with-vulkan-include}/vulkan/vulkan.h)])])
AC_ARG_WITH(vulkan-hpp, [AS_HELP_STRING([--with-vulkan-hpp],
[specify directory for the vulkan-hpp include files ({with-vulkan-hpp}/vulkan/vulkan_raii.hpp)])])
AC_ARG_WITH(vulkan-shader-compiler, [AS_HELP_STRING([--with-vulkan-shader-compiler],
[specify which shader compiler to use: glslc/glslangValidator])])
if test "x$SUPPORTS_LIB_VULKAN" = xfalse; then
if (test "x${with_vulkan}" != x && test "x${with_vulkan}" != xno) || \
(test "x${with_vulkan_include}" != x && test "x${with_vulkan_include}" != xno); then
AC_MSG_WARN([[vulkan not used, so --with-vulkan-include is ignored]])
fi
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
# Do not build vulkan rendering pipeline by default
if (test "x${with_vulkan}" = x && test "x${with_vulkan_include}" = x) || \
test "x${with_vulkan}" = xno || test "x${with_vulkan_include}" = xno ; then
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
VULKAN_FOUND=no
if test "x${with_vulkan_include}" != x; then
AC_MSG_CHECKING([for vulkan.h])
if test -s "${with_vulkan_include}/vulkan/vulkan.h"; then
VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${with_vulkan_include} -DVULKAN_ENABLED"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}'])
fi
AC_MSG_CHECKING([for vulkan_raii.hpp])
if test "x${with_vulkan_hpp}" != x; then
VULKAN_FLAGS="-I${with_vulkan_hpp} ${VULKAN_FLAGS}"
VULKAN_HPP_DIR=${with_vulkan_hpp}
else
VULKAN_HPP_DIR=${with_vulkan_include}
fi
if test -s "$VULKAN_HPP_DIR/vulkan/vulkan_raii.hpp"; then
VULKAN_FOUND=yes
AC_MSG_RESULT([yes])
else
VULKAN_FOUND=no
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'vulkan/vulkan_raii.hpp' under '$VULKAN_HPP_DIR'])
fi
fi
AC_LANG_PUSH([C++])
if test "x$VULKAN_FOUND" = xno; then
# Check vulkan sdk location
AC_CHECK_HEADERS([$VULKAN_SDK/include/vulkan/vulkan.h $VULKAN_SDK/include/vulkan/vulkan_raii.hpp],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${VULKAN_SDK}/include -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
# Check default /usr/include location
AC_CHECK_HEADERS([vulkan/vulkan.h vulkan/vulkan_raii.hpp],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
AC_LANG_POP([C++])
if test "x$VULKAN_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([vulkan])
AC_MSG_ERROR([Could not find vulkan! $HELP_MSG ])
else
# Find shader compiler - glslc or glslangValidator
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslc); then
UTIL_LOOKUP_PROGS(GLSLC, glslc)
SHADER_COMPILER="$GLSLC"
VULKAN_SHADER_COMPILER="glslc --target-env=vulkan1.2 -mfmt=num -o"
fi
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslangValidator) && \
test "x$SHADER_COMPILER" = x; then
UTIL_LOOKUP_PROGS(GLSLANG, glslangValidator)
SHADER_COMPILER="$GLSLANG"
VULKAN_SHADER_COMPILER="glslangValidator --target-env vulkan1.2 -x -o"
fi
if test "x$SHADER_COMPILER" != x; then
VULKAN_ENABLED=true
else
AC_MSG_ERROR([Can't find shader compiler])
fi
fi
fi
fi
fi
AC_SUBST(VULKAN_FLAGS)
AC_SUBST(VULKAN_SHADER_COMPILER)
AC_SUBST(VULKAN_ENABLED)
AC_SUBST(WAYLAND_CFLAGS)
AC_SUBST(WAYLAND_LIBS)
])

View File

@@ -71,9 +71,9 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
fi
fi
fi

View File

@@ -33,11 +33,11 @@ m4_include([lib-freetype.m4])
m4_include([lib-hsdis.m4])
m4_include([lib-std.m4])
m4_include([lib-x11.m4])
m4_include([lib-fontconfig.m4])
m4_include([lib-speechd.m4])
m4_include([lib-nvdacontrollerclient.m4])
m4_include([lib-dbus.m4])
m4_include([lib-vulkan.m4])
m4_include([lib-wayland.m4])
m4_include([lib-tests.m4])
################################################################################
@@ -51,22 +51,23 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
NEEDS_LIB_X11=false
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
elif test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
# No X11 support needed when building headless only
NEEDS_LIB_X11=false
# All other instances need X11, even if building headless only, libawt still
# needs X11 headers.
NEEDS_LIB_X11=true
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
else
# All other instances need X11 and wayland, even if building headless only, libawt still
# needs X11 headers.
NEEDS_LIB_X11=true
NEEDS_LIB_SPEECHD=true
NEEDS_LIB_WAYLAND=true
SUPPORTS_LIB_VULKAN=true
fi
# Vulkan is not built by default
NEEDS_LIB_VULKAN=false
# Check if fontconfig is needed
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
# No fontconfig support on windows or macosx
@@ -90,11 +91,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
@@ -151,8 +154,9 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_X11
LIB_SETUP_SPEECHD
LIB_SETUP_NVDACONTROLLERCLIENT
LIB_SETUP_VULKAN
LIB_SETUP_WAYLAND
LIB_SETUP_DBUS
LIB_TESTS_SETUP_GTEST
BASIC_JDKLIB_LIBS=""
@@ -191,7 +195,7 @@ 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 powrprof.lib uuid.lib \
ws2_32.lib winmm.lib version.lib psapi.lib"
ws2_32.lib winmm.lib version.lib psapi.lib Synchronization.lib"
fi
LIB_SETUP_JVM_LIBS(BUILD)
LIB_SETUP_JVM_LIBS(TARGET)

View File

@@ -191,6 +191,7 @@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
JDK_RC_COMPANY_NAME:=@JDK_RC_COMPANY_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -466,6 +467,10 @@ UBSAN_LDFLAGS:=@UBSAN_LDFLAGS@
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
# Necessary additional compiler flags to compile dbus
DBUS_CFLAGS := @DBUS_CFLAGS@
DBUS_FOUND := @DBUS_FOUND@
# Linux speechd a11y announcer
A11Y_SPEECHD_ANNOUNCING_ENABLED:=@A11Y_SPEECHD_ANNOUNCING_ENABLED@
SPEECHD_CFLAGS:=@SPEECHD_CFLAGS@
@@ -482,9 +487,9 @@ A11Y_JAWS_ANNOUNCING_ENABLED:=@A11Y_JAWS_ANNOUNCING_ENABLED@
WAYLAND_CFLAGS:=@WAYLAND_CFLAGS@
WAYLAND_LIBS:=@WAYLAND_LIBS@
VULKAN_ENABLED:=@VULKAN_ENABLED@
VULKAN_FLAGS:=@VULKAN_FLAGS@
VULKAN_SHADER_COMPILER:=@VULKAN_SHADER_COMPILER@
VULKAN_ENABLED:=@VULKAN_ENABLED@
# The lowest required version of macosx
MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -389,6 +389,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
CXX="$cxx_filtered"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -445,6 +449,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# or look like
# gcc (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
# Copyright (C) 2020 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
COMPILER_VERSION_OUTPUT=`$COMPILER --version 2>&1`
# Check that this is likely to be GCC.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Free Software Foundation" > /dev/null
@@ -458,7 +467,8 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
$AWK -F ')' '{print [$]2}' | \
$AWK '{print [$]1}'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like
# Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -199,7 +199,7 @@ AC_DEFUN([UTIL_GET_NON_MATCHING_VALUES],
if test -z "$legal_values"; then
$1="$2"
else
result=`$GREP -Fvx "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fvx -- "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -226,7 +226,7 @@ AC_DEFUN([UTIL_GET_MATCHING_VALUES],
if test -z "$illegal_values"; then
$1=""
else
result=`$GREP -Fx "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fx -- "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -152,6 +152,10 @@ define SetupLogging
endif
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
SHELL := $$(SHELL) -x
endif
ifeq ($$(LOG_LEVEL), trace)
SHELL_NO_RECURSE := $$(SHELL)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make
@@ -285,6 +289,7 @@ ifeq ($(call isTargetOs, macosx), true)
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
fi
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
fi
endef

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,13 +29,17 @@ GTEST_VERSION=1.13.0
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=bb863b2d542976d1ae4b7b81af3e78b1e4247a64644350b552d298d8dc5980dc
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.6_7.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a2650fba422283fbed20d936ce5d2a52906a5414ec17b2f7676dddb87201dbae
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.6_7.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=4ef4083919126a3d93e603284b405c7493905497485a92b375f5d6c3e8f7e8f2
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=47cf960d9bb89dbe987535a389f7e26c42de7c984ef5108612d77c81aa8cc6a4
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_mac_hotspot_21.0.6_7.tar.gz
MACOS_X64_BOOT_JDK_SHA256=7aacfc400078ad65b7c7de3ec75ff74bf5c2077d6740b350f85ae10be4f71e76
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=c92fae5e42b9aecf444a66c8ec563c652f60b1e231dfdd33a4f5a3e3603058fb
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_windows_hotspot_21.0.6_7.zip
WINDOWS_X64_BOOT_JDK_SHA256=897c8eebb0f85a99ccecbd482ebae9a45d88c19d6077054f6529ebab49b6d259

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -539,6 +539,7 @@ $(BUILDDIR)/$(gcc_ver)/Makefile \
$(PATHPRE) $(ENVS) $(GCC_CFG) $(EXTRA_CFLAGS) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
--with-debug-prefix-map=$(OUTPUT_ROOT)=devkit \
--enable-languages=c,c++ \
--enable-shared \
--disable-nls \

View File

@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
JMH_VERSION=1.37
COMMONS_MATH3_VERSION=3.6.1
JOPT_SIMPLE_VERSION=5.0.4
MAVEN_MIRROR=${MAVEN_MIRROR:-https://repo.maven.apache.org/maven2}
BUNDLE_NAME=jmh-$JMH_VERSION.tar.gz
@@ -41,9 +42,9 @@ cd $JAR_DIR
rm -f *
fetchJar() {
url="https://repo.maven.apache.org/maven2/$1/$2/$3/$2-$3.jar"
url="${MAVEN_MIRROR}/$1/$2/$3/$2-$3.jar"
if command -v curl > /dev/null; then
curl -O --fail $url
curl -OL --fail $url
elif command -v wget > /dev/null; then
wget $url
else

View File

@@ -51,7 +51,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
endif
# Set the C++ standard
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG)
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAGS)
# NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to
# hurt.

View File

@@ -57,7 +57,8 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBGTEST, \
$(GTEST_FRAMEWORK_SRC)/googletest/src \
$(GTEST_FRAMEWORK_SRC)/googlemock/src, \
INCLUDE_FILES := gtest-all.cc gmock-all.cc, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral maybe-uninitialized, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral \
maybe-uninitialized zero-as-null-pointer-constant, \
DISABLED_WARNINGS_clang := undef unused-result format-nonliteral, \
CFLAGS := $(JVM_CFLAGS) \
-I$(GTEST_FRAMEWORK_SRC)/googletest \

View File

@@ -157,8 +157,13 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
DISABLED_WARNINGS_gcc_ad_$(HOTSPOT_TARGET_CPU_ARCH).cpp := nonnull, \
DISABLED_WARNINGS_gcc_cgroupV1Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_cgroupV2Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_handshake.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_interp_masm_x86.cpp := uninitialized, \
DISABLED_WARNINGS_gcc_jvmciCodeInstaller.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_jvmtiTagMap.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
DISABLED_WARNINGS_gcc_shenandoahLock.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_synchronizer.cpp := stringop-overflow, \
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang), \
DISABLED_WARNINGS_clang_arguments.cpp := missing-field-initializers, \
DISABLED_WARNINGS_clang_codeBuffer.cpp := tautological-undefined-compare, \

View File

@@ -36,6 +36,8 @@ import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.net.InetAddress;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
@@ -153,6 +155,20 @@ public class HelloClasslist {
// an inconsistency in the classlist between builds (see JDK-8295951).
// To avoid the problem, load the class explicitly.
Class<?> striped64Class = Class.forName("java.util.concurrent.atomic.Striped64$Cell");
Files.lines(Path.of(args[0])).forEach(line -> {
if (line.isEmpty() || line.charAt(0) == '#') {
return;
}
try {
int index = line.indexOf(' ');
if (index <= 0) {
return;
}
String className = line.substring(0, index).replace('/', '.');
Class.forName(className);
} catch (Exception e) {
}
});
}
public HelloClasslist() {}

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,451 @@
package build.tools.jbrapi;
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.tree.Tree;
import com.sun.source.util.*;
import javax.lang.model.element.*;
import javax.lang.model.type.ArrayType;
import javax.lang.model.type.DeclaredType;
import javax.lang.model.type.ExecutableType;
import javax.lang.model.type.TypeMirror;
import javax.lang.model.util.ElementScanner14;
import javax.lang.model.util.Elements;
import javax.lang.model.util.Types;
import javax.tools.Diagnostic;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.OverlappingFileLockException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.*;
import java.util.concurrent.locks.LockSupport;
import java.util.stream.Collectors;
public class JBRApiPlugin implements Plugin {
enum Binding {
SERVICE,
PROVIDES,
PROVIDED,
TWO_WAY
}
record DiagnosticTree(CompilationUnitTree root, Tree tree) {}
record TypeBinding(DiagnosticTree diagnostic, TypeElement element, String currentType, String bindType, Binding binding) {}
record MethodBinding(DiagnosticTree diagnostic, ExecutableElement element, Registry.StaticDescriptor currentMethod, Registry.StaticMethod bindMethod) {}
final Map<String, TypeBinding> typeBindings = new HashMap<>();
final List<MethodBinding> methodBindings = new ArrayList<>();
Elements elements;
Trees trees;
Types types;
class Registry {
record Type(String type, Binding binding) {}
record StaticMethod(String type, String name) {}
record StaticDescriptor(StaticMethod method, String descriptor) {}
final Map<String, Type> types = new HashMap<>();
final Map<StaticDescriptor, StaticMethod> methods = new HashMap<>();
final Set<Object> internal = new HashSet<>();
void validateInternal(DiagnosticTree diagnostic, String currentType, Binding binding, TypeElement bindType) {
if (bindType.getKind() != ElementKind.CLASS && bindType.getKind() != ElementKind.INTERFACE) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid JBR API binding:" + currentType + " -> " +
bindType.getQualifiedName().toString() + " (not a class or interface)",
diagnostic.tree, diagnostic.root);
} else if (bindType.getModifiers().contains(Modifier.FINAL) || bindType.getModifiers().contains(Modifier.SEALED)) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid JBR API binding:" + currentType + " -> " +
bindType.getQualifiedName().toString() + " (not inheritable)",
diagnostic.tree, diagnostic.root);
}
if (binding != Binding.SERVICE) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid JBR API binding:" + currentType + " -> " +
bindType.getQualifiedName().toString() + " (internal, non-service)",
diagnostic.tree, diagnostic.root);
}
}
void validateInternalMethod(DiagnosticTree diagnostic, StaticDescriptor currentMethod, TypeElement bindType, String bindMethod) {
boolean methodFound = false;
for (Element m : bindType.getEnclosedElements()) {
if (m.getKind() == ElementKind.METHOD &&
!m.getModifiers().contains(Modifier.STATIC) &&
!m.getModifiers().contains(Modifier.FINAL) &&
m.getSimpleName().contentEquals(bindMethod) &&
descriptor(m.asType()).equals(currentMethod.descriptor)) {
methodFound = true;
}
}
if (!methodFound) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid static binding: " +
currentMethod.method.type + "#" + currentMethod.method.name + " -> " +
bindType.getQualifiedName().toString() + "#" + bindMethod +
" (no matching method found, type conversions are not allowed for internal bindings)",
diagnostic.tree, diagnostic.root);
}
}
List<String> addBindings() {
List<String> unresolvedErrors = new ArrayList<>();
List<TypeBinding> addedTypes = new ArrayList<>();
List<MethodBinding> addedMethods = new ArrayList<>();
Set<Object> validated = new HashSet<>();
// Remove changed bindings.
for (TypeBinding type : typeBindings.values()) {
if (type.bindType != null) addedTypes.add(type);
types.remove(type.currentType);
}
for (MethodBinding method : methodBindings) {
if (method.bindMethod != null) addedMethods.add(method);
methods.remove(method.currentMethod);
}
methods.entrySet().removeIf(m -> typeBindings.containsKey(m.getKey().method.type));
// Build inverse binding map.
Map<String, String> inverseTypes = types.entrySet().stream().collect(Collectors.toMap(
e -> e.getValue().type, Map.Entry::getKey, (a, b) -> {
unresolvedErrors.add("Conflicting JBR API binding: " + a + " and "+ b + " binds to the same type");
return a + "," + b;
}));
Map<StaticDescriptor, StaticMethod> inverseMethods = methods.entrySet().stream().collect(Collectors.toMap(
e -> new StaticDescriptor(e.getValue(), e.getKey().descriptor), e -> e.getKey().method, (a, b) -> {
unresolvedErrors.add("Conflicting JBR API binding: " +
a.type + "#" + a.name + " and "+ b.type + "#" + b.name + " binds to the same method");
return new StaticMethod(a.type + "," + b.type, a.name + "," + b.name);
}));
// Add new bindings.
for (TypeBinding type : addedTypes) types.put(type.currentType, new Type(type.bindType, type.binding));
for (MethodBinding method : addedMethods) methods.put(method.currentMethod, method.bindMethod);
// Validate type bindings.
for (TypeBinding type : addedTypes) {
String inv = inverseTypes.get(type.bindType);
if (inv != null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"Conflicting JBR API binding: " + type.currentType + " -> " + type.bindType + " <- " + inv,
type.diagnostic.tree, type.diagnostic.root);
inverseTypes.put(type.bindType, inv + "," + type.currentType);
} else inverseTypes.put(type.bindType, type.currentType);
Type next = types.get(type.bindType);
if (next != null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"Conflicting JBR API binding: " + type.currentType + " -> " + type.bindType + " -> " + next,
type.diagnostic.tree, type.diagnostic.root);
}
String prev = inverseTypes.get(type.currentType);
if (prev != null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"Conflicting JBR API binding: " + prev + " -> " + type.currentType + " -> " + type.bindType,
type.diagnostic.tree, type.diagnostic.root);
}
if (validated.add(type.currentType)) {
TypeElement bindElement = elements.getTypeElement(type.bindType);
if (bindElement != null) {
internal.add(type.currentType);
validateInternal(type.diagnostic, type.currentType, type.binding, bindElement);
}
}
}
// Validate method bindings.
for (MethodBinding method : addedMethods) {
StaticDescriptor invDescriptor = new StaticDescriptor(method.bindMethod, method.currentMethod.descriptor);
StaticMethod inv = inverseMethods.get(invDescriptor);
if (inv != null) {
trees.printMessage(Diagnostic.Kind.ERROR, "Conflicting JBR API binding: " +
method.currentMethod.method.type + "#" + method.currentMethod.method.name + " -> " +
method.bindMethod.type + "#" + method.bindMethod.name + " <- " +
inv.type + "#" + inv.name,
method.diagnostic.tree, method.diagnostic.root);
inverseMethods.put(invDescriptor, new StaticMethod(
inv.type + "," + method.currentMethod.method.type, inv.name + "," + method.currentMethod.method.name));
} else inverseMethods.put(invDescriptor, method.currentMethod.method);
if (validated.add(method.currentMethod)) {
TypeElement bindElement = elements.getTypeElement(method.bindMethod.type);
if (bindElement != null) {
internal.add(method.currentMethod);
validateInternalMethod(method.diagnostic, method.currentMethod, bindElement, method.bindMethod.name);
}
}
}
// [Re]validate remaining.
types.forEach((k, v) -> {
if (validated.add(k)) {
TypeBinding type = typeBindings.get(v.type);
if (type != null) {
internal.add(k);
validateInternal(type.diagnostic, k, v.binding, type.element);
} else if (elements.getTypeElement(v.type) != null) {
internal.add(k); // Couldn't validate, but at least found the type.
if (v.binding != Binding.SERVICE) {
unresolvedErrors.add("Invalid JBR API binding:" + k + " -> " + v.type + " (internal, non-service)");
}
}
}
});
methods.forEach((k, v) -> {
if (validated.add(k)) {
TypeBinding type = typeBindings.get(v.type);
if (type != null) {
internal.add(k);
validateInternalMethod(type.diagnostic, k, type.element, v.name);
} else if (elements.getTypeElement(v.type) != null) {
internal.add(k); // Couldn't validate, but at least found the type.
}
}
});
return unresolvedErrors;
}
void read(RandomAccessFile file) throws IOException {
String s;
while ((s = file.readLine()) != null) {
String[] tokens = s.split(" ");
switch (tokens[0]) {
case "TYPE" -> {
types.put(tokens[1], new Type(tokens[2], Binding.valueOf(tokens[3])));
if (tokens.length > 4 && tokens[4].equals("INTERNAL")) internal.add(tokens[1]);
}
case "STATIC" -> {
StaticDescriptor descriptor = new StaticDescriptor(new StaticMethod(
tokens[1], tokens[2]), tokens[3]);
methods.put(descriptor, new StaticMethod(tokens[4], tokens[5]));
if (tokens.length > 6 && tokens[6].equals("INTERNAL")) internal.add(descriptor);
}
}
}
}
void write(RandomAccessFile file) throws IOException {
for (var t : types.entrySet()) {
file.writeBytes("TYPE " + t.getKey() + " " + t.getValue().type + " " + t.getValue().binding +
(internal.contains(t.getKey()) ? " INTERNAL\n" : "\n"));
}
for (var t : methods.entrySet()) {
file.writeBytes("STATIC " + t.getKey().method.type + " " + t.getKey().method.name + " " +
t.getKey().descriptor + " " + t.getValue().type + " " + t.getValue().name +
(internal.contains(t.getKey()) ? " INTERNAL\n" : "\n"));
}
}
}
String descriptor(TypeMirror t) {
return switch (t.getKind()) {
case VOID -> "V";
case BOOLEAN -> "Z";
case BYTE -> "B";
case CHAR -> "C";
case SHORT -> "S";
case INT -> "I";
case LONG -> "J";
case FLOAT -> "F";
case DOUBLE -> "D";
case ARRAY -> "[" + descriptor(((ArrayType) t).getComponentType());
case DECLARED -> "L" + elements.getBinaryName((TypeElement) ((DeclaredType) t).asElement())
.toString().replace('.', '/') + ";";
case EXECUTABLE -> "(" + ((ExecutableType) t).getParameterTypes().stream().map(this::descriptor)
.collect(Collectors.joining()) + ")" + descriptor(((ExecutableType) t).getReturnType());
case TYPEVAR, WILDCARD, UNION, INTERSECTION -> descriptor(types.erasure(t));
default -> throw new RuntimeException("Cannot generate descriptor for type: " + t);
};
}
Registry.StaticDescriptor staticDescriptor(String type, ExecutableElement e) {
return new Registry.StaticDescriptor(new Registry.StaticMethod(type, e.getSimpleName().toString()), descriptor(e.asType()));
}
AnnotationValue annotationValue(AnnotationMirror m) {
if (m == null) return null;
return m.getElementValues().entrySet().stream()
.filter(t -> t.getKey().getSimpleName().contentEquals("value"))
.map(Map.Entry::getValue).findFirst().orElseThrow();
}
static boolean isJavaIdentifier(String name, int from, int to) {
if (!Character.isJavaIdentifierStart(name.charAt(from))) return false;
for (int i = from + 1; i < to; i++) {
if (!Character.isJavaIdentifierPart(name.charAt(i))) return false;
}
return true;
}
static boolean isJavaIdentifier(String name) {
if (name == null || name.isEmpty()) return false;
return isJavaIdentifier(name, 0, name.length());
}
static boolean isJavaTypeIdentifier(String name) {
if (name == null || name.isEmpty()) return false;
for (int i = 0; i < name.length();) {
int next = name.indexOf('.', i);
if (next == -1) next = name.length();
if (!isJavaIdentifier(name, i, next)) return false;
i = next + 1;
}
return true;
}
void scan(CompilationUnitTree root, Element e) {
// Get current type name.
String currentType;
if (e.getKind() == ElementKind.CLASS || e.getKind() == ElementKind.INTERFACE) {
currentType = ((TypeElement) e).getQualifiedName().toString();
} else if (e.getKind() == ElementKind.METHOD && e.getModifiers().contains(Modifier.STATIC)) {
currentType = ((QualifiedNameable) e.getEnclosingElement()).getQualifiedName().toString();
} else currentType = null;
// Find the annotation.
AnnotationMirror providedMirror = null, providesMirror = null, serviceMirror = null;
for (AnnotationMirror m : elements.getAllAnnotationMirrors(e)) {
switch (m.getAnnotationType().toString()) {
case "com.jetbrains.exported.JBRApi.Provided" -> providedMirror = m;
case "com.jetbrains.exported.JBRApi.Provides" -> providesMirror = m;
case "com.jetbrains.exported.JBRApi.Service" -> serviceMirror = m;
}
}
AnnotationMirror mirror = null;
AnnotationValue value = null;
Binding binding = null;
if (serviceMirror != null) {
if (providesMirror == null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"@Service also requires @Provides", trees.getTree(e, serviceMirror), root);
return;
}
if (providedMirror != null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"@Service cannot be used with @Provided", trees.getTree(e, serviceMirror), root);
return;
}
value = annotationValue(mirror = providesMirror);
binding = Binding.SERVICE;
} else if (providesMirror != null) {
value = annotationValue(mirror = providesMirror);
if (providedMirror != null) {
AnnotationValue v = annotationValue(providedMirror);
if (!value.getValue().toString().equals(v.getValue().toString())) {
trees.printMessage(Diagnostic.Kind.ERROR,
"@Provided and @Provides doesn't match", trees.getTree(e, mirror, value), root);
return;
}
binding = Binding.TWO_WAY;
} else binding = Binding.PROVIDES;
} else if (providedMirror != null) {
value = annotationValue(mirror = providedMirror);
binding = Binding.PROVIDED;
}
if (value != null && value.getValue().toString().isEmpty()) {
trees.printMessage(Diagnostic.Kind.ERROR,
"Empty JBR API binding",
trees.getTree(e, mirror, value), root);
return;
}
if (currentType == null) {
if (value != null) {
trees.printMessage(Diagnostic.Kind.ERROR,
"JBR API annotations are only allowed on classes, interfaces and static methods",
trees.getTree(e, mirror), root);
}
return;
}
if (value != null && e.getKind() == ElementKind.METHOD && binding != Binding.PROVIDES) {
trees.printMessage(Diagnostic.Kind.ERROR,
"Only @Provides is allowed for static methods",
trees.getTree(e, mirror), root);
return;
}
// Determine class/method names.
String bindType = null, bindMethod = null;
if (value != null) {
bindType = value.getValue().toString();
if (e.getKind() == ElementKind.METHOD) {
int splitIndex = bindType.indexOf('#');
if (splitIndex != -1) {
bindMethod = bindType.substring(splitIndex + 1);
bindType = bindType.substring(0, splitIndex);
if (!isJavaIdentifier(bindMethod)) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid method identifier: " + bindMethod,
trees.getTree(e, mirror, value), root);
return;
}
} else bindMethod = e.getSimpleName().toString();
}
if (!isJavaTypeIdentifier(bindType)) {
trees.printMessage(Diagnostic.Kind.ERROR, "Invalid type identifier: " + bindType,
trees.getTree(e, mirror, value), root);
return;
}
if (Character.isUpperCase(bindType.charAt(0))) bindType = "com.jetbrains." + bindType; // Short form
}
// Add entry.
DiagnosticTree diagnostic = new DiagnosticTree(root, trees.getTree(e, mirror, value));
if (e.getKind() == ElementKind.METHOD) {
ExecutableElement m = (ExecutableElement) e;
methodBindings.add(new MethodBinding(diagnostic, m, staticDescriptor(currentType, m),
bindType == null ? null : new Registry.StaticMethod(bindType, bindMethod)));
} else {
typeBindings.put(currentType, new TypeBinding(diagnostic, (TypeElement) e, currentType, bindType, binding));
}
}
@Override
public String getName() {
return "jbr-api";
}
@Override
public void init(JavacTask jt, String... args) {
Path output = Path.of(args[0]);
String implVersion;
try {
implVersion = Files.readString(Path.of(args[1])).strip();
} catch (IOException e) {
throw new RuntimeException(e);
}
elements = jt.getElements();
trees = Trees.instance(jt);
types = jt.getTypes();
jt.addTaskListener(new TaskListener() {
@Override
public void finished(TaskEvent te) {
if (te.getKind() == TaskEvent.Kind.ANALYZE && te.getTypeElement() != null) {
new ElementScanner14<Void, CompilationUnitTree>() {
@Override
public Void visitModule(ModuleElement e, CompilationUnitTree unused) { return null; }
@Override
public Void visitPackage(PackageElement e, CompilationUnitTree unused) { return null; }
@Override
public Void scan(Element e, CompilationUnitTree root) {
JBRApiPlugin.this.scan(root, e);
e.accept(this, root);
return null;
}
}.scan(te.getTypeElement(), te.getCompilationUnit());
} else if (te.getKind() == TaskEvent.Kind.COMPILATION) {
try (RandomAccessFile file = new RandomAccessFile(output.toFile(), "rw");
FileChannel channel = file.getChannel()) {
for (;;) {
try { if (channel.lock() != null) break; } catch (OverlappingFileLockException ignore) {}
LockSupport.parkNanos(10_000000);
}
Registry r = new Registry();
r.read(file);
var unresolvedErrors = r.addBindings();
file.setLength(0);
file.writeBytes("VERSION " + implVersion + "\n");
r.write(file);
if (!unresolvedErrors.isEmpty()) {
throw new RuntimeException(String.join("\n", unresolvedErrors));
}
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
});
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@@ -273,7 +273,7 @@ public final class TzdbZoneRulesCompiler {
// link version-region-rules
out.writeShort(builtZones.size());
for (Map.Entry<String, ZoneRules> entry : builtZones.entrySet()) {
int regionIndex = Arrays.binarySearch(regionArray, entry.getKey());
int regionIndex = findRegionIndex(regionArray, entry.getKey());
int rulesIndex = rulesList.indexOf(entry.getValue());
out.writeShort(regionIndex);
out.writeShort(rulesIndex);
@@ -281,8 +281,8 @@ public final class TzdbZoneRulesCompiler {
// alias-region
out.writeShort(links.size());
for (Map.Entry<String, String> entry : links.entrySet()) {
int aliasIndex = Arrays.binarySearch(regionArray, entry.getKey());
int regionIndex = Arrays.binarySearch(regionArray, entry.getValue());
int aliasIndex = findRegionIndex(regionArray, entry.getKey());
int regionIndex = findRegionIndex(regionArray, entry.getValue());
out.writeShort(aliasIndex);
out.writeShort(regionIndex);
}
@@ -294,6 +294,14 @@ public final class TzdbZoneRulesCompiler {
}
}
private static int findRegionIndex(String[] regionArray, String region) {
int index = Arrays.binarySearch(regionArray, region);
if (index < 0) {
throw new IllegalArgumentException("Unknown region: " + region);
}
return index;
}
/** Whether to output verbose messages. */
private boolean verbose;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 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
@@ -164,7 +164,8 @@ class TzdbZoneRulesProvider {
}
continue;
}
if (line.startsWith("Zone")) { // parse Zone line
int token0len = tokens.length > 0 ? tokens[0].length() : line.length();
if (line.regionMatches(true, 0, "Zone", 0, token0len)) { // parse Zone line
String name = tokens[1];
if (excludedZones.contains(name)){
continue;
@@ -182,13 +183,13 @@ class TzdbZoneRulesProvider {
if (zLine.parse(tokens, 2)) {
openZone = null;
}
} else if (line.startsWith("Rule")) { // parse Rule line
} else if (line.regionMatches(true, 0, "Rule", 0, token0len)) { // parse Rule line
String name = tokens[1];
if (!rules.containsKey(name)) {
rules.put(name, new ArrayList<RuleLine>(10));
}
rules.get(name).add(new RuleLine().parse(tokens));
} else if (line.startsWith("Link")) { // parse link line
} else if (line.regionMatches(true, 0, "Link", 0, token0len)) { // parse link line
if (tokens.length >= 3) {
String realId = tokens[1];
String aliasId = tokens[2];
@@ -304,7 +305,7 @@ class TzdbZoneRulesProvider {
month = parseMonth(tokens[off++]);
if (off < tokens.length) {
String dayRule = tokens[off++];
if (dayRule.startsWith("last")) {
if (dayRule.regionMatches(true, 0, "last", 0, 4)) {
dayOfMonth = -1;
dayOfWeek = parseDayOfWeek(dayRule.substring(4));
adjustForwards = false;
@@ -355,42 +356,45 @@ class TzdbZoneRulesProvider {
}
int parseYear(String year, int defaultYear) {
switch (year.toLowerCase()) {
case "min": return 1900;
case "max": return Year.MAX_VALUE;
case "only": return defaultYear;
}
int len = year.length();
if (year.regionMatches(true, 0, "minimum", 0, len)) return 1900;
if (year.regionMatches(true, 0, "maximum", 0, len)) return Year.MAX_VALUE;
if (year.regionMatches(true, 0, "only", 0, len)) return defaultYear;
return Integer.parseInt(year);
}
Month parseMonth(String mon) {
switch (mon) {
case "Jan": return Month.JANUARY;
case "Feb": return Month.FEBRUARY;
case "Mar": return Month.MARCH;
case "Apr": return Month.APRIL;
case "May": return Month.MAY;
case "Jun": return Month.JUNE;
case "Jul": return Month.JULY;
case "Aug": return Month.AUGUST;
case "Sep": return Month.SEPTEMBER;
case "Oct": return Month.OCTOBER;
case "Nov": return Month.NOVEMBER;
case "Dec": return Month.DECEMBER;
}
int len = mon.length();
if (mon.regionMatches(true, 0, "January", 0, len)) return Month.JANUARY;
if (mon.regionMatches(true, 0, "February", 0, len)) return Month.FEBRUARY;
if (mon.regionMatches(true, 0, "March", 0, len)) return Month.MARCH;
if (mon.regionMatches(true, 0, "April", 0, len)) return Month.APRIL;
if (mon.regionMatches(true, 0, "May", 0, len)) return Month.MAY;
if (mon.regionMatches(true, 0, "June", 0, len)) return Month.JUNE;
if (mon.regionMatches(true, 0, "July", 0, len)) return Month.JULY;
if (mon.regionMatches(true, 0, "August", 0, len)) return Month.AUGUST;
if (mon.regionMatches(true, 0, "September", 0, len)) return Month.SEPTEMBER;
if (mon.regionMatches(true, 0, "October", 0, len)) return Month.OCTOBER;
if (mon.regionMatches(true, 0, "November", 0, len)) return Month.NOVEMBER;
if (mon.regionMatches(true, 0, "December", 0, len)) return Month.DECEMBER;
throw new IllegalArgumentException("Unknown month: " + mon);
}
DayOfWeek parseDayOfWeek(String dow) {
switch (dow) {
case "Mon": return DayOfWeek.MONDAY;
case "Tue": return DayOfWeek.TUESDAY;
case "Wed": return DayOfWeek.WEDNESDAY;
case "Thu": return DayOfWeek.THURSDAY;
case "Fri": return DayOfWeek.FRIDAY;
case "Sat": return DayOfWeek.SATURDAY;
case "Sun": return DayOfWeek.SUNDAY;
}
int len = dow.length();
if (dow.regionMatches(true, 0, "Monday", 0, len)) return DayOfWeek.MONDAY;
if (dow.regionMatches(true, 0, "Tuesday", 0, len)) return DayOfWeek.TUESDAY;
if (dow.regionMatches(true, 0, "Wednesday", 0, len)) return DayOfWeek.WEDNESDAY;
if (dow.regionMatches(true, 0, "Thursday", 0, len)) return DayOfWeek.THURSDAY;
if (dow.regionMatches(true, 0, "Friday", 0, len)) return DayOfWeek.FRIDAY;
if (dow.regionMatches(true, 0, "Saturday", 0, len)) return DayOfWeek.SATURDAY;
if (dow.regionMatches(true, 0, "Sunday", 0, len)) return DayOfWeek.SUNDAY;
throw new IllegalArgumentException("Unknown day-of-week: " + dow);
}

View File

@@ -78,7 +78,8 @@ ifeq ($(call isTargetOs, macosx aix linux), true)
NAME := jspawnhelper, \
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/jspawnhelper, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKEXE) -I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
CFLAGS := $(CFLAGS_JDKEXE) $(VERSION_CFLAGS) \
-I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
EXTRA_OBJECT_FILES := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjava/childproc$(OBJ_SUFFIX), \
LDFLAGS := $(LDFLAGS_JDKEXE), \
OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE), \

View File

@@ -59,8 +59,10 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
CFLAGS := $(CFLAGS_JDKLIB) \
$(LIBJAVA_CFLAGS), \
jdk_util.c_CFLAGS := $(VERSION_CFLAGS), \
ProcessImpl_md.c_CFLAGS := $(VERSION_CFLAGS), \
WARNINGS_AS_ERRORS_xlc := false, \
DISABLED_WARNINGS_gcc_ProcessImpl_md.c := unused-result, \
DISABLED_WARNINGS_clang_jni_util.c := format-nonliteral, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_macosx := -L$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/, \

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