Compare commits

...

5640 Commits

Author SHA1 Message Date
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
Nikita Gubarkov
35daf572c5 JBR-6723 Block on Metal config destroy 2024-03-13 15:27:00 +01:00
Fredrik Bredberg
68b02406b9 8320317: ObjectMonitor NotRunnable is not really an optimization
Reviewed-by: eosterlund, dholmes, shade, dcubed

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

(cherry picked from commit 2933ea89f0)

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

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

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

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

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

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

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

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

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

(cherry picked from commit 5befaea6af)
(cherry picked from commit 7433ac2df11e77ad504c15fbda045d3beb3265fb)
2024-01-19 11:12:17 +02:00
Vitaly Provodin
d3d3111348 update exclude list on results of 21.0.2_b337 test runs 2024-01-19 06:28:25 +07:00
Tobias Hartmann
b81b6fae65 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: ed9f3243f0
2024-01-17 20:31:49 +07:00
Ravi Reddy
210d8cd65e 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: coffeys, robm
2024-01-17 20:31:49 +07:00
Weijun Wang
ff7394b5ab 8320597: RSA signature verification fails on signed data that does not encode params correctly
Backport-of: 11e4a925be
2024-01-17 20:31:48 +07:00
Prajwal Kumaraswamy
8eba4f387d 8317547: Enhance TLS connection support
Backport-of: c521825a5d986e5cb823615d60e51f954c0ff4dc
2024-01-17 20:31:48 +07:00
Roman Kennke
661276c44a 8321067: Unlock experimental options in EATests.java
Reviewed-by: shade
2024-01-17 20:31:48 +07:00
Ravi Reddy
10d2f52f3f 8320001: javac crashes while adding type annotations to the return type of a constructor
Backport-of: 5e24aaf4f7
2024-01-17 20:31:47 +07:00
Christoph Langer
25f70ebdac 8320601: ProblemList java/lang/invoke/lambda/LambdaFileEncodingSerialization.java on linux-all
Backport-of: f6e5559ae9
2024-01-17 20:31:47 +07:00
Martin Doerr
f56fc1eb28 8320363: ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity
Backport-of: 6aa197667a
2024-01-17 20:31:47 +07:00
Ian Myers
6011ccf37d 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Backport-of: 0f77d250b6
2024-01-17 20:31:47 +07:00
Ian Myers
b7f5cd0a15 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Backport-of: 3f19df685c
2024-01-17 20:31:46 +07:00
Roman Kennke
06a7923a8d 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Backport-of: bd918f49d2
2024-01-17 20:31:46 +07:00
Roman Kennke
a8fc42cf6c 8318895: Deoptimization results in incorrect lightweight locking stack
Backport-of: ea1ffa3419
2024-01-17 20:31:46 +07:00
Aleksey Shipilev
f8996f7e12 8318078: ADLC: pass ASSERT and PRODUCT flags
Backport-of: 504b0bdaaa
2024-01-17 20:31:46 +07:00
Aleksey Shipilev
cfcd361a98 8319120: Unbound ScopedValue.get() throws the wrong exception
Backport-of: ee6f25b507
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
c4d71d5db9 8319195: Move most tier 1 vector API regression tests to tier 3
Backport-of: 9dc40ba48e
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
052b936fa4 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Backport-of: 59847926b6
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
f92d5acba2 8316581: Improve performance of Symbol::print_value_on()
Backport-of: 90bcdbd15f
2024-01-17 20:31:45 +07:00
Aleksey Shipilev
9e857e860d 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Backport-of: 83b6a1278f
2024-01-17 20:31:44 +07:00
Soumadipta Roy
961b8cd6e4 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Backport-of: a564d436c7
2024-01-17 20:31:44 +07:00
Jan Lahoda
024b299f1b 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Backport-of: 45e68ae207
2024-01-17 20:31:44 +07:00
Jan Lahoda
5d0486df0c 8318144: Match on enum constants with body compiles but fails with MatchException
Backport-of: 541ff7149f
2024-01-17 20:31:43 +07:00
Aleksey Shipilev
da6e27042f 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Backport-of: ceff47b462
2024-01-17 20:31:43 +07:00
Axel Boldt-Christmas
616215122e 8319700: [AArch64] C2 compilation fails with "Field too big for insn"
Backport-of: 3787ff8d1d
2024-01-17 20:31:43 +07:00
Gui Cao
db6d77286f 8320280: RISC-V: Avoid passing t0 as temp register to MacroAssembler::lightweight_lock/unlock
Backport-of: a6098e438d
2024-01-17 20:31:43 +07:00
Matthias Baesken
ae9bc810fe 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: phh
Backport-of: 23fe2ece58
2024-01-17 20:31:42 +07:00
Erik Österlund
4cbdbd76e3 8310239: Add missing cross modifying fence in nmethod entry barriers
Backport-of: 4679e9aa00
2024-01-17 20:31:42 +07:00
Matthias Baesken
4a11ebcf53 8318587: refresh libraries cache on AIX in print_vm_info
Backport-of: cb383c05b2
2024-01-17 20:31:42 +07:00
Sandhya Viswanathan
bfb687d3a1 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: 0881f2b0c4
2024-01-17 20:31:42 +07:00
Roman Marchenko
1644b1f94c 8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ff
2024-01-17 20:31:41 +07:00
Sandhya Viswanathan
d86d172f37 8320209: VectorMaskGen clobbers rflags on x86_64
Backport-of: b05e69f789
2024-01-17 20:31:41 +07:00
Matthias Baesken
18c32c5757 8318957: enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415
2024-01-17 20:31:41 +07:00
Matthias Baesken
e7501eefe5 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Backport-of: 81db1721d4
2024-01-17 20:31:41 +07:00
Matthias Baesken
1d52123510 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Backport-of: 6d3cb459dc
2024-01-17 20:31:40 +07:00
Matthias Baesken
27c428335f 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Backport-of: 88b9cdae8f
2024-01-17 20:31:40 +07:00
Christoph Langer
42b5a9fc9a 8306561: Possible out of bounds access in print_pointer_information
8319542: Fix boundaries of region to be tested with os::is_readable_range

Reviewed-by: mbaesken
Backport-of: d6ce62ebc0
2024-01-17 20:31:40 +07:00
Rajan Halade
333f6c3b5d 8319187: Add three eMudhra emSign roots
Backport-of: 0bda467f6e
2024-01-17 20:31:40 +07:00
Alexey Ivanov
1a89d6ceea 8316017: Refactor timeout handler in PassFailJFrame
Backport-of: 3abd772672
2024-01-17 20:31:39 +07:00
Aleksey Shipilev
7a8a68a665 8315545: C1: x86 cmove can use short branches
Backport-of: 6c821f5e1d
2024-01-17 20:31:39 +07:00
Aleksey Shipilev
70e800a278 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Backport-of: bd477810b1
2024-01-17 20:31:39 +07:00
Martin Doerr
e96bdac575 8316746: Top of lock-stack does not match the unlocked object
Backport-of: 7d8adfa855
2024-01-17 20:31:38 +07:00
Alexey Ivanov
81695d4d47 8316025: Use testUI() method of PassFailJFrame.Builder in FileChooserSymLinkTest.java
Backport-of: 7f47c51ace
2024-01-17 20:31:38 +07:00
Alexey Ivanov
0593574238 8294156: Allow PassFailJFrame.Builder to create test UI
Backport-of: 42b9ac8a07
2024-01-17 20:31:38 +07:00
Aleksey Shipilev
d3aaa4f656 8317834: java/lang/Thread/IsAlive.java timed out
Backport-of: 5522656af7
2024-01-17 20:31:38 +07:00
Aleksey Shipilev
3492e37ff4 8320053: GHA: Cross-compile gtest code
Backport-of: 77a6966114
2024-01-17 20:31:37 +07:00
Alexey Ivanov
459c4e7c63 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Backport-of: c587211bf8
2024-01-17 20:31:37 +07:00
Alexey Ivanov
2e9206134f 8294158: HTML formatting for PassFailJFrame instructions
Backport-of: 14090ef603
2024-01-17 20:31:37 +07:00
Shivangi Gupta
0fc37fcdd7 8317039: Enable specifying the JDK used to run jtreg
8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039

Reviewed-by: erikj
Backport-of: a250ae4d1b
2024-01-17 20:31:36 +07:00
Alexey Ivanov
65f81bb3ad 8313643: Update HarfBuzz to 8.2.2
8319268: Build failure with GCC8.3.1 after 8313643

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

Reviewed-by: rehn
Backport-of: fb055e7e53
2024-01-17 20:31:24 +07:00
Aleksey Shipilev
94121b3a46 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Backport-of: 1e930db3c7
2024-01-17 20:31:24 +07:00
Evgeny Ignatenko
c295d9cd8f 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: stuefe
Backport-of: 37aed6f46d
2024-01-17 20:31:24 +07:00
Evgeny Ignatenko
4cbb928253 8318474: Fix memory reporter for thread_count
Backport-of: 0baa9ecd76
2024-01-17 20:31:23 +07:00
Fei Yang
8bbe7e62b3 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Backport-of: b2504a0f9c
2024-01-17 20:31:23 +07:00
Goetz Lindenmaier
2b4cceb479 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Backport-of: e30e356442
2024-01-17 20:31:23 +07:00
Johannes Bechberger
5306cecc06 8317920: JDWP-agent sends broken exception event with onthrow option
Backport-of: 8f4ebd8921
2024-01-17 20:31:22 +07:00
Severin Gehwolf
c34812b166 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: phh
Backport-of: 0275efac88
2024-01-17 20:31:22 +07:00
Goetz Lindenmaier
0cf609d188 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Backport-of: 7b1e2bfe0f
2024-01-17 20:31:22 +07:00
Goetz Lindenmaier
4fa1f900a1 8314242: Update applications/scimark/Scimark.java to accept VM flags
Backport-of: 6bf4a33593
2024-01-17 20:31:22 +07:00
Andrew Leonard
d8ecce3b52 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Backport-of: 242eeaea47
2024-01-17 20:31:21 +07:00
Andrew Leonard
bd758e7284 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Backport-of: 0f0c5b2d71
2024-01-17 20:31:21 +07:00
Calvin Cheung
17178ac505 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Backport-of: 9f4a9fe488
2024-01-17 20:31:21 +07:00
Aleksey Shipilev
66d5254748 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Backport-of: 4421951d8f
2024-01-17 20:31:20 +07:00
Martin Doerr
8f0c966914 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Backport-of: 6a4b665550
2024-01-17 20:31:20 +07:00
Tobias Hartmann
4f618c925e 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Backport-of: 83eb20651f
2024-01-17 20:31:20 +07:00
Frederic Thevenet
a64ae87dcc 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Backport-of: 202c0137b8
2024-01-17 20:31:20 +07:00
Matthias Baesken
51c12f79c7 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Backport-of: e1870d360e
2024-01-17 20:31:19 +07:00
Matthias Baesken
738ae887e6 8318415: Adjust describing comment of os_getChildren after 8315026
Backport-of: 47bb1a1cef
2024-01-17 20:31:19 +07:00
Thomas Stuefe
d92d5d9b9d 8318089: Class space not marked as such with NMT when CDS is off
Backport-of: c0e154c876
2024-01-17 20:31:19 +07:00
Gui Cao
5a114d1b5b 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Backport-of: 988e1dfe6e
2024-01-17 20:31:19 +07:00
Goetz Lindenmaier
5767001ef9 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Backport-of: 939d7c5d84
2024-01-17 20:31:18 +07:00
Goetz Lindenmaier
93de115d67 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Backport-of: 298dda4c98
2024-01-17 20:31:18 +07:00
Goetz Lindenmaier
1ad89ec994 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Backport-of: cfae6ef2f6
2024-01-17 20:31:18 +07:00
Aleksey Shipilev
6dd7bb019a 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Backport-of: 0a3a925ad8
2024-01-17 20:31:18 +07:00
Aleksey Shipilev
0fe4d1a02e 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Backport-of: 52983ed529
2024-01-17 20:31:17 +07:00
Aleksey Shipilev
45937e3fdf 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Backport-of: 9013b03244
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
ada8866e53 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Backport-of: 825e0ed2a1
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
5a6e543cf0 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Backport-of: dd214d0f95
2024-01-17 20:31:16 +07:00
Rob McKenna
96cdbd5850 8301341: LinkedTransferQueue does not respect timeout for poll()
8300663: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=true i=0 j=1"
8267502: JDK-8246677 caused 16x performance regression in SynchronousQueue

Reviewed-by: alanb
Backport-of: 8d1ab57065
2024-01-17 20:31:16 +07:00
Aleksey Shipilev
5ddc631521 8312126: NullPointerException in CertStore.getCRLs after 8297955
Backport-of: 3c743cfea0
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
975ee0b997 8314330: java/foreign tests should respect vm flags when start new processes
Backport-of: 7b28d3608a
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
feaad1ec26 8295555: Primitive wrapper caches could be @Stable
Backport-of: f7de726bd3
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
a2e5f00e9f 8318528: Rename TestUnstructuredLocking test
Backport-of: 3f446c5156
2024-01-17 20:31:15 +07:00
Aleksey Shipilev
b4e578da29 8318540: make test cannot run .jasm tests directly
Backport-of: bd02cfd96f
2024-01-17 20:31:14 +07:00
Aleksey Shipilev
40dd000216 8267509: Improve IllegalAccessException message to include the cause of the exception
Backport-of: 36314a90c1
2024-01-17 20:31:14 +07:00
Goetz Lindenmaier
382c027f3b 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Backport-of: 37c40a11a7
2024-01-17 20:31:14 +07:00
Sergey Bylokhov
dd7d7ea2f6 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Backport-of: eb37c7e361
2024-01-17 20:31:13 +07:00
pavel_kharskii
07058afc2f 8318137: Change milestone to fcs for all releases
Reviewed-by: coffeys, mvs, rreddy
2024-01-17 20:31:13 +07:00
Hannes Greule
322546b97b 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Backport-of: 8f5f44070a
2024-01-17 20:31:13 +07:00
Manukumar V S
4c44c4a6b3 8317751: ProblemList ConsumeForModalDialogTest.java, MenuItemActivatedTest.java & MouseModifiersUnitTest_Standard.java for windows
8317964: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java fails on macosx-all after JDK-8317751

Reviewed-by: aivanov, dmarkov
Backport-of: f40ea5109e
2024-01-17 20:31:13 +07:00
Matthias Baesken
74c1583844 8317959: Check return values of malloc in native java.base coding
Backport-of: ff0b397e13
2024-01-17 20:31:12 +07:00
Matthias Baesken
9698262126 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Backport-of: 6d6c9008d5
2024-01-17 20:31:12 +07:00
Christoph Langer
2dfba52ee4 8310512: Cleanup indentation in jfc files
Backport-of: 3be50da636
2024-01-17 20:31:12 +07:00
Christoph Langer
eae9556217 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Backport-of: 21c2dac159
2024-01-17 20:31:12 +07:00
Sergey Bylokhov
10fa52a22d 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Backport-of: bd52bbfa27
2024-01-17 20:31:11 +07:00
Rajan Halade
c5a78f220c 8317373: Add Telia Root CA v2
Backport-of: d3ebb4a155
2024-01-17 20:31:11 +07:00
Laurent Bourgès
837178c21b 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Backport-of: a876beb63d
2024-01-17 20:31:11 +07:00
Aleksey Shipilev
baa3e01efd 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Backport-of: ea067fc3d2
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
515c9d3820 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Backport-of: f7deaf4bef
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
cc3ac70fbb 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Backport-of: fe4f90021f
2024-01-17 20:31:10 +07:00
Aleksey Shipilev
d42ceb6d14 8315869: UseHeavyMonitors not used
Reviewed-by: phh
Backport-of: 3301fb1e8a
2024-01-17 20:31:10 +07:00
Tobias Hartmann
d79b950b37 8314468: Improve Compiler loops
Reviewed-by: jwilhelm, epeter
Backport-of: 86e71472aefc26175cfc00d44f255f64893e477b
2024-01-17 20:31:09 +07:00
Matthias Baesken
24352fc713 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Backport-of: 29348b3cf6
2024-01-17 20:31:09 +07:00
Thomas Stuefe
657092791a 8317987: C2 recompilations cause high memory footprint
Backport-of: c88b387881
2024-01-17 20:31:09 +07:00
Alexey Ivanov
fa4afa1d08 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Backport-of: 808bb1f7bc
2024-01-17 20:31:09 +07:00
Aleksey Shipilev
41a080470d 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: aph
Backport-of: b6a97c0780
2024-01-17 20:31:08 +07:00
Ludvig Janiuk
90089dd3e4 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: ihse
2024-01-17 20:31:08 +07:00
Archie Cobbs
ad721336d6 8317818: Combinatorial explosion during 'this' escape analysis
Backport-of: 17535c34bc
2024-01-17 20:31:08 +07:00
Aleksey Shipilev
8f07717a0d 8316181: Move the fast locking implementation out of the .ad files
Backport-of: b48dbf6bfa
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
fafbcf231f 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann
Backport-of: b0d6c8472f
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
3366f2cb2a 8316735: Print LockStack in hs_err files
Backport-of: 20ff603108
2024-01-17 20:31:07 +07:00
Rajan Halade
bd275d0bb7 8268916: Tests for AffirmTrust roots
Backport-of: 8c1bb2b280
2024-01-17 20:31:07 +07:00
Aleksey Shipilev
16831cb9de 8316958: Add test for unstructured locking
Backport-of: bcafec54a5
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
05994467b8 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Backport-of: 4ea1b99c1a
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
c36cede7f4 8295068: SSLEngine throws NPE parsing CertificateRequests
Backport-of: 5667afc362
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
7171e21d5b 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Backport-of: 83edffa608
2024-01-17 20:31:06 +07:00
Aleksey Shipilev
288accdd76 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Backport-of: e25121d1d9
2024-01-17 20:31:05 +07:00
Archie Cobbs
5e1defce38 8317336: Assertion error thrown during 'this' escape analysis
Backport-of: a8473b7079
2024-01-17 20:31:05 +07:00
Christoph Langer
343d49a4a1 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Backport-of: 1161e3da14
2024-01-17 20:31:05 +07:00
Christoph Langer
2288ef2372 8219652: [aix] Tests failing with JNI attach problems.
8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
8317790: Fix Bug entry for exclusion of runtime/jni/terminatedThread/TestTerminatedThread.java on AIX

Reviewed-by: mbaesken
Backport-of: 0b0f8b55a6
2024-01-17 20:31:04 +07:00
Christoph Langer
05575afcb4 8312078: [PPC] JcmdScale.java Failing on AIX
Backport-of: c1a3f143bf
2024-01-17 20:31:04 +07:00
Christoph Langer
7a6043978f 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Backport-of: ca96fd3b07
2024-01-17 20:31:04 +07:00
Christoph Langer
6aaa8f6317 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Backport-of: d5c6b0d0bb
2024-01-17 20:31:04 +07:00
Rajan Halade
d670dfaa46 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
Backport-of: 9728e21db1
2024-01-17 20:31:03 +07:00
Matthias Baesken
1db2f3f6ab 8312467: relax the builddir check in make/autoconf/basic.m4
Backport-of: 6e3cc131da
2024-01-17 20:31:03 +07:00
Thomas Stuefe
9edda54114 8317772: NMT: Make peak values available in release builds
Backport-of: 32ccf018eb
2024-01-17 20:31:03 +07:00
Aleksey Shipilev
d93d3ffb3b 8315062: [GHA] get-bootjdk action should return the abolute path
Backport-of: 99ea8bf2b9
2024-01-17 20:31:03 +07:00
Aleksey Shipilev
bb3ffeb6fa 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: bpb
Backport-of: 373cdf257d
2024-01-17 20:31:02 +07:00
Aleksey Shipilev
a8cebab762 8317294: Classloading throws exceptions over already pending exceptions
Backport-of: d4c904d819
2024-01-17 20:31:02 +07:00
Daniel Fuchs
6d3817401f 8317736: Stream::handleReset locks twice
Backport-of: 508fa71753
2024-01-17 20:31:02 +07:00
Joachim Kern
961b6cd349 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Backport-of: 4d9042043e
2024-01-17 20:31:02 +07:00
Prajwal Kumaraswamy
8fb85525ab 8316976: Improve signature handling
Backport-of: ed1269b7410759e8fa0d97d85328f20d11ae8d9a
2024-01-17 20:31:01 +07:00
Christoph Langer
b536370c18 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Backport-of: ad6dce376d
2024-01-17 20:31:01 +07:00
Christoph Langer
79761e4a71 8317711: Exclude gtest/GTestWrapper.java on AIX
Backport-of: ef41aa02b8
2024-01-17 20:31:01 +07:00
Christoph Langer
2c0a95a51f 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Backport-of: fcff222f92
2024-01-17 20:31:01 +07:00
Ludvig Janiuk
a584dec284 8316906: Clarify TLABWasteTargetPercent flag
Backport-of: 77fac0f4c6
2024-01-17 20:31:00 +07:00
Aleksey Shipilev
e4b9ec73c6 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Backport-of: 7352bb9105
2024-01-17 20:31:00 +07:00
Goetz Lindenmaier
7e9b407cd1 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Backport-of: 8b4af46be4
2024-01-17 20:31:00 +07:00
Goetz Lindenmaier
f89b59ed8f 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Backport-of: 84184f9473
2024-01-17 20:30:59 +07:00
Brian Burkhalter
eafcc264c1 8313368: (fc) FileChannel.size returns 0 on block special files
Backport-of: 4ba81f631f
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
04185b9f87 8314120: Add tests for FileDescriptor.sync
Backport-of: 2e8a0ab272
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
635786a69e 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Backport-of: 4b65483921
2024-01-17 20:30:59 +07:00
Aleksey Shipilev
94b8efda04 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Backport-of: cf74b8c2a3
2024-01-17 20:30:58 +07:00
Aleksey Shipilev
60f1193954 8316179: Use consistent naming for lightweight locking in MacroAssembler
Backport-of: 639ba13c4b
2024-01-17 20:30:58 +07:00
Aleksey Shipilev
f48301bdba 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Backport-of: 1941290b79
2024-01-17 20:30:58 +07:00
Matthias Baesken
099d9b1635 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Backport-of: 97b94cb1cd
2024-01-17 20:30:57 +07:00
Matthias Baesken
262217e14b 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Backport-of: ed2b4673de
2024-01-17 20:30:57 +07:00
Matthias Baesken
6a42d8d3eb 8312612: handle WideCharToMultiByte return values
Backport-of: d9559f9b24
2024-01-17 20:30:57 +07:00
Matthias Baesken
4953f49087 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Backport-of: 1f7dfda705
2024-01-17 20:30:57 +07:00
Aleksey Shipilev
d49fb1f141 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Backport-of: b38bcae1ba
2024-01-17 20:30:57 +07:00
Zdenek Zambersky
065f1c80be 8316540: StoreReproducibilityTest fails on some locales
Backport-of: f7578e8048
2024-01-17 20:30:56 +07:00
Soumadipta Roy
a89d6ed2e5 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Backport-of: 4415261688
2024-01-17 20:30:56 +07:00
Soumadipta Roy
8f565773ef 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Backport-of: eb1f67b160
2024-01-17 20:30:56 +07:00
Soumadipta Roy
832b7162f7 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502
2024-01-17 20:30:55 +07:00
Brian Burkhalter
6aa7c2e2f6 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Backport-of: 5cacf212f0
2024-01-17 20:30:55 +07:00
Aleksey Shipilev
8c4ebd381d 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: rkennke
Backport-of: 31c4e03d5d
2024-01-17 20:30:55 +07:00
Christoph Langer
ac3614fd56 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Backport-of: ad6df41a9e
2024-01-17 20:30:55 +07:00
Aleksei Voitylov
17dd9524cd 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Backport-of: cfcbfc6cae
2024-01-17 20:30:54 +07:00
Ilya Gavrilin
7cc20a9141 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Backport-of: 4726960fcd
2024-01-17 20:30:54 +07:00
Aleksey Shipilev
ac8e6035aa 8316514: Better diagnostic header for VtableStub
Backport-of: 6c61bc1950
2024-01-17 20:30:54 +07:00
Ludovic Henry
b7f4a135f4 8316859: RISC-V: Disable detection of V through HWCAP
Backport-of: 311c7461c8
2024-01-17 20:30:54 +07:00
Robbin Ehn
6ff3f30826 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Backport-of: 2d154fcd0d
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
4a8ced14f3 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Backport-of: 01e135c910
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
37fc05292c 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Backport-of: dcea9bf087
2024-01-17 20:30:53 +07:00
Goetz Lindenmaier
5d00ee3eb0 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Backport-of: ba1a46392f
2024-01-17 20:30:52 +07:00
Goetz Lindenmaier
58f20e3f78 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Backport-of: c6ab9c2905
2024-01-17 20:30:52 +07:00
Goetz Lindenmaier
af16c4ab8f 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Backport-of: 73d7aa1d2c
2024-01-17 20:30:52 +07:00
Vladimir Kempik
135b25c026 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
Backport-of: bd7bb67d8f
2024-01-17 20:30:52 +07:00
Fei Yang
de3f9526c1 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Backport-of: 750da00129
2024-01-17 20:30:51 +07:00
Saravana Kumar Vijayasekaran
95d358c631 8317439: Updating RE Configs for BUILD REQUEST 21.0.2+1
Reviewed-by: robm
2024-01-17 20:30:51 +07:00
Coleen Phillimore
901f93f5c3 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2024-01-17 20:30:51 +07:00
Coleen Phillimore
c4d876876b 8314295: Enhance verification of verifier
Reviewed-by: dholmes, poonam, dlong
2024-01-17 20:30:51 +07:00
Gui Cao
6a7f65ca25 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Backport-of: e39197ec62
2024-01-17 20:30:50 +07:00
Matthias Baesken
68b12a6b70 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Backport-of: aa0ebeedb1
2024-01-17 20:30:50 +07:00
Manukumar V S
0ea8abdb20 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2024-01-17 20:30:50 +07:00
Soumadipta Roy
77b781dd38 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
2024-01-17 20:30:49 +07:00
Man Cao
09ec05318a 8316468: os::write incorrectly handles partial write
Backport-of: 7ce5bd1590
2024-01-17 20:30:49 +07:00
Alexey Ivanov
fb095de54e 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Backport-of: 00f585bd22
2024-01-17 20:30:49 +07:00
Matthias Baesken
752b671e6c 8313575: Refactor PKCS11Test tests
Backport-of: 7a08e6bdd6
2024-01-17 20:30:49 +07:00
Ludvig Janiuk
e20408eff3 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: coffeys, kevinw
Backport-of: 903b9e8dd9
2024-01-17 20:30:48 +07:00
Ludvig Janiuk
e71b59d7ab 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: kevinw
Backport-of: 1d0250709a
2024-01-17 20:30:48 +07:00
Matthias Baesken
0f66010cfb 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Backport-of: 3671d83c87
2024-01-17 20:30:48 +07:00
Matthias Baesken
85be5f6d67 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Backport-of: b7545a69a2
2024-01-17 20:30:48 +07:00
Matthias Baesken
cee0e157c9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Backport-of: f3aeb024d9
2024-01-17 20:30:47 +07:00
Rajat Mahajan
f5d991027b 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Backport-of: a63afa4aa6
2024-01-17 20:30:47 +07:00
Ilya Gavrilin
bba4c1fc3c 8313322: RISC-V: implement MD5 intrinsic
Backport-of: b093880acd
2024-01-17 20:30:47 +07:00
Aleksey Shipilev
0ca0d13821 8314045: ArithmeticException in GaloisCounterMode
Backport-of: f41c267f85
2024-01-17 20:30:47 +07:00
Aleksey Shipilev
9098c29c39 8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4b
2024-01-17 20:30:46 +07:00
Rajan Halade
77c5d9958c 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
Backport-of: da57d2a1eb
2024-01-17 20:30:46 +07:00
Aleksey Shipilev
e7f06a4413 8315578: PPC builds are broken after JDK-8304913
Backport-of: 9559e035d2
2024-01-17 20:30:46 +07:00
Aggelos Biboudis
4cdbfbeaff 8314632: Intra-case dominance check fails in the presence of a guard
Backport-of: 81f8c57e4a
2024-01-17 20:30:45 +07:00
Aggelos Biboudis
acc02b63c5 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Backport-of: 3b0a6d2a68
2024-01-17 20:30:45 +07:00
Daniel Fuchs
fdf56a1704 8316031: SSLFlowDelegate should not log from synchronized block
Backport-of: dc5ca1d379
2024-01-17 20:30:45 +07:00
Christoph Langer
f45312b595 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Backport-of: 2e2d49c76d
2024-01-17 20:30:45 +07:00
Christoph Langer
face1e4874 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX

Reviewed-by: mbaesken
Backport-of: e62419823a
2024-01-17 20:30:44 +07:00
Christoph Langer
236d547320 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Backport-of: e22eb06a3b
2024-01-17 20:30:44 +07:00
Andreas Steiner
f91d47f8b3 8313244: NM flags handling in configure process
Backport-of: 12326770dc
2024-01-17 20:30:44 +07:00
Aleksey Shipilev
4e6c47a5a3 8315579: SPARC64 builds are broken after JDK-8304913
Backport-of: cfc148930b
2024-01-17 20:30:44 +07:00
Matthias Baesken
13857d3cd3 8313206: PKCS11 tests silently skip execution
Backport-of: 515add88ed
2024-01-17 20:30:43 +07:00
Chad Rakoczy
3fc92def68 8311813: C1: Uninitialized PhiResolver::_loop field
Backport-of: 489a32fe40
2024-01-17 20:30:43 +07:00
Matthias Baesken
7752965dfc 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Backport-of: 8bbebbba8f
2024-01-17 20:30:43 +07:00
Matthias Baesken
a9f34f3850 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Backport-of: 36552e7193
2024-01-17 20:30:43 +07:00
Elif Aslan
75c90691e3 8311514: Incorrect regex in TestMetaSpaceLog.java
Backport-of: 9084b6c9d5
2024-01-17 20:30:42 +07:00
Sean Coffey
939eae1fab 8316087: Test SignedLoggerFinderTest.java is still failing
Backport-of: ff240a9135
2024-01-17 20:30:42 +07:00
Sean Coffey
753785788b 8315696: SignedLoggerFinderTest.java test failed
Backport-of: e409d07ae8
2024-01-17 20:30:42 +07:00
Sean Coffey
88f129f26c 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Backport-of: 7daae1fb42
2024-01-17 20:30:41 +07:00
Aleksey Shipilev
9b5cda510c 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Backport-of: ece9bdfc83
2024-01-17 20:30:41 +07:00
Gui Cao
d062ffd38d 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Backport-of: 4070829ae5
2024-01-17 20:30:41 +07:00
Rob McKenna
dca4cbcaec 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Backport-of: 3c258ac907
2024-01-17 20:30:41 +07:00
Rob McKenna
c626930ca7 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Backport-of: d9fc6b6933
2024-01-17 20:30:40 +07:00
Rob McKenna
9d9042a047 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Backport-of: 028068a655
2024-01-17 20:30:40 +07:00
Rob McKenna
f5753ba95e 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Backport-of: 97df6cf55a
2024-01-17 20:30:40 +07:00
Aleksey Shipilev
633c0070f0 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Backport-of: 947dee7f2d
2024-01-17 20:30:40 +07:00
Matthias Baesken
9474939f15 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Backport-of: 8107eab3c0
2024-01-17 20:30:39 +07:00
Aleksey Shipilev
af543a91bd 8308452: Extend internal Architecture enum with byte order and address size
8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()

Backport-of: d6dd0dc3e0
2024-01-17 20:30:39 +07:00
Matthias Baesken
cb2ee2b0ac 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Backport-of: 9887cd8adc
2024-01-17 20:30:39 +07:00
Joachim Kern
083534f827 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Backport-of: 486fa08d4b
2024-01-17 20:30:38 +07:00
Jan Lahoda
38570fc4c4 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Backport-of: 87a6acbeee
2024-01-17 20:30:38 +07:00
Christoph Langer
b6e2412226 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Backport-of: 69c9ec92d0
2024-01-17 20:30:38 +07:00
William Kemper
3a8248a466 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Backport-of: 716201c77d
2024-01-17 20:30:38 +07:00
Jan Lahoda
1834eb285b 8315735: VerifyError when switch statement used with synchronized block
Backport-of: 726c9c977d
2024-01-17 20:30:37 +07:00
Sidraya Jayagond
7641d0e7fe 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Backport-of: ec1f7a8480
2024-01-17 20:30:37 +07:00
Matthias Baesken
44bceadabc 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk
Backport-of: fac9f88c52
2024-01-17 20:30:37 +07:00
Matthias Baesken
fcc0fb20e4 8311938: Add default cups include location for configure on AIX
Backport-of: c4b8574b94
2024-01-17 20:30:37 +07:00
Andreas Steiner
9955e14f83 8312466: /bin/nm usage in AIX makes needs -X64 flag
Backport-of: 44576a7cca
2024-01-17 20:30:36 +07:00
Matthias Baesken
d7b4ecaca2 8315214: Do not run sun/tools/jhsdb tests concurrently
Backport-of: 1e7e2bcf35
2024-01-17 20:30:36 +07:00
Rajat Mahajan
cf44290faa 8311585: Add JRadioButtonMenuItem to bug8031573.java
Backport-of: 4f90abaf17
2024-01-17 20:30:36 +07:00
Christian Stein
f3cd8f0ea2 8315863: [GHA] Update checkout action to use v4
Backport-of: b74805d383
2024-01-17 20:30:36 +07:00
Terry Chow
8abdd092e0 8308593: Add KEEPALIVE Extended Socket Options Support for Windows
Backport-of: f3ade388da
2024-01-17 20:30:35 +07:00
Aleksey Shipilev
726ec03261 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
Backport-of: ab12c5d32f
2024-01-17 20:30:35 +07:00
Vladimir Kempik
747b5e486a 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Backport-of: 5d3fdc1750
2024-01-17 20:30:35 +07:00
Robbin Ehn
a5ec8ea70a 8315206: RISC-V: hwprobe query is_set return wrong value
Backport-of: 876a725af9
2024-01-17 20:30:35 +07:00
Jan Lahoda
34d982cc74 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: asotona, vromero
Backport-of: 84425a6290
2024-01-17 20:30:34 +07:00
Aleksey Shipilev
2046a7ef84 8314495: Update to use jtreg 7.3.1
Reviewed-by: phh
Backport-of: c50315de8f
2024-01-17 20:30:34 +07:00
Mandy Chung
774dfe48bc 8315383: jlink SystemModulesPlugin incorrectly parses the options
8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder

Reviewed-by: phh
Backport-of: ea5aa61c8c
2024-01-17 20:30:34 +07:00
Aleksey Shipilev
fe45b485a6 8313167: Update to use jtreg 7.3
Backport-of: 9c6eb67e85
2024-01-17 20:30:33 +07:00
Rob McKenna
1fd6998976 8315688: Update jdk21u fix version to 21.0.2
Reviewed-by: mdoerr, coffeys
2024-01-17 20:29:41 +07:00
Christian Hagedorn
76cda3c028 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, sviswanathan, rhalade, kvn, dlong
Backport-of: 49ddb19972
2024-01-17 20:29:12 +07:00
Christian Hagedorn
6442e93489 8313756: [BACKOUT] 8308682: Enhance AES performance
Backport-of: 207bd00c51
2024-01-17 20:29:11 +07:00
Ramesh Bhagavatam Gangadhar
25d4eb8016 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: ssahoo
Backport-of: 8042a50b99
2024-01-17 20:29:11 +07:00
pavel_kharskii
67af6b32d5 8311681: Update the Jan CPU24_01 release date in master branch after forking Oct CPU23_10
Reviewed-by: coffeys
2024-01-17 20:29:11 +07:00
Ravi Reddy
d6fe8dcc84 8311680: Update the release version after forking Oct CPU23_10
Reviewed-by: robm
2024-01-17 20:29:11 +07:00
Sean Mullan
07165405a7 8308204: Enhanced certificate processing
Reviewed-by: jnimeh
Backport-of: ef0ea85bf1398b73bd308ba2b395c917b449aa3b
2024-01-17 20:29:10 +07:00
Vitaly Provodin
25d6e5c49f update exclude list on results of 21.0.1_b334.1 test runs 2024-01-17 20:25:38 +07:00
Dmitry Batrak
3cadc16ca0 JBR-6449 Introduce FontMetricsAccessor into JBR API
JBRE-MR-368

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Backport-of: 4331193010
2023-10-25 09:45:19 +07:00
Ben Taylor
3109817e37 8313765: Invalid CEN header (invalid zip64 extra data field size)
Backport-of: 13f6450e2e
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
572c6f273a 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Backport-of: 56a73a6f0f
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
27bc02722a 8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3e
2023-10-25 09:45:19 +07:00
Thomas Schatzl
ce2871c888 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang
Backport-of: 1925508425
2023-10-25 09:45:19 +07:00
Raffaello Giulietti
58c85dfe31 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: rriggs
Backport-of: 61c58fdd00
2023-10-25 09:45:19 +07:00
Mandy Chung
3fef4fe04c 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: phh
Backport-of: ec7da91bd8
2023-10-25 09:45:19 +07:00
Weibing Xiao
d33282c39a 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Backport-of: e56d3bc2da
2023-10-25 09:45:19 +07:00
Abhishek Kumar
6fa2c70b07 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
Backport-of: c1f4595e64
2023-10-25 09:45:19 +07:00
Matthias Baesken
3452504ee4 8311511: Improve description of NativeLibrary JFR event
Backport-of: 848abd2831
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
32aed8a740 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Backport-of: db133dbc02
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
666f684622 8314118: Update JMH devkit to 1.37
Backport-of: 06aa3c5628
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
082d242e53 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: alanb
Backport-of: fbe51e388d
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
863d0d38a0 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: stuefe
Backport-of: 117f42dbe9
2023-10-25 09:45:19 +07:00
Aleksey Shipilev
8fb4cda937 8313307: java/util/Formatter/Padding.java fails on some Locales
Backport-of: 408987e1ca
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
5b7e8bd59c 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: valeriep
Backport-of: bed9161c81
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
b94ed3592d 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Backport-of: e8a37b90db
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
5ca9d6a458 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: stuefe
Backport-of: ad34be1f32
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
1f20ac5bd6 8293114: JVM should trim the native heap
Reviewed-by: stuefe
Backport-of: 9e4fc568a6
2023-10-25 09:45:18 +07:00
Ravi Reddy
2a592da963 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Backport-of: 8c9d091f19
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
e8ca1144e4 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Backport-of: 4b192a8dc3
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
310650a2da 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: thartmann
Backport-of: 46fbedb2be
2023-10-25 09:45:18 +07:00
Aleksey Shipilev
2029c48fee 8313707: GHA: Bootstrap sysroots with --variant=minbase
Backport-of: 29f1d8ef50
2023-10-25 09:45:18 +07:00
Sergey Bylokhov
0a0814106a 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Backport-of: 8248e351d0
2023-10-25 09:45:18 +07:00
Tobias Hartmann
a4dba8b9a1 8312909: C1 should not inline through interface calls with non-subtype receiver
Backport-of: ab1c212ac1
2023-10-25 09:45:18 +07:00
Tobias Hartmann
852cc0d462 8304954: SegmentedCodeCache fails when using large pages
Backport-of: cad6114e1c
2023-10-25 09:45:18 +07:00
Christoph Langer
22002b37cd 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Backport-of: 7304316a8c
2023-10-25 09:45:18 +07:00
Jan Lahoda
35a47c6833 8312619: Strange error message when switching over long
Backport-of: cc2a75e11c
2023-10-25 09:45:18 +07:00
Jan Lahoda
e4e6cd9f72 8312984: javac may crash on a record pattern with too few components
Backport-of: c386091734
2023-10-25 09:45:17 +07:00
Jiangli Zhou
07fdb725ad 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Backport-of: 36f3bae556
2023-10-25 09:45:17 +07:00
Christoph Langer
feb04e1262 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Backport-of: 16134f4422
2023-10-25 09:45:17 +07:00
Christoph Langer
a9185c18aa 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all

Reviewed-by: mbaesken, alanb
Backport-of: 44a8aa0691
2023-10-25 09:45:17 +07:00
Matthias Baesken
787cb82170 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Backport-of: 0328886450
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
9c01ab932c 8313428: GHA: Bump GCC versions for July 2023 updates
Backport-of: ec2f38fd38
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
4e8632a443 8312591: GCC 6 build failure after JDK-8280982
Backport-of: 9454b2bbe1
2023-10-25 09:45:17 +07:00
Vladimir Kempik
553f1a32d0 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Backport-of: d6245b6832
2023-10-25 09:45:17 +07:00
Aleksey Shipilev
8a15b90086 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: stuefe
Backport-of: 7173c3009e
2023-10-25 09:45:17 +07:00
Tobias Hartmann
c897d45c33 8312573: Failure during CompileOnly parsing leads to ShouldNotReachHere
Reviewed-by: kvn, tholenstein
2023-10-25 09:45:17 +07:00
Matthias Baesken
072adeda9a 8312395: Improve assertions in growableArray
Backport-of: b772e67e29
2023-10-25 09:45:17 +07:00
Matthias Baesken
804501f741 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Backport-of: 9eed049098
2023-10-25 09:45:17 +07:00
Matthias Baesken
11fce43f16 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Backport-of: aa7367f1ec
2023-10-25 09:45:17 +07:00
Matthias Baesken
337e993f67 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Backport-of: a38a421f62
2023-10-25 09:45:17 +07:00
Paul Hohensee
f5c9ee7113 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Backport-of: a9d21c61fb
2023-10-25 09:45:16 +07:00
Aleksey Shipilev
6c1bc9df2e 8309746: Reconfigure check should include make/conf/version-numbers.conf
Backport-of: 955fc2faba
2023-10-25 09:45:16 +07:00
Matthias Baesken
1243d1e435 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Backport-of: a7d168b522
2023-10-25 09:45:16 +07:00
Matthias Baesken
f7e85e502e 8311285: report some fontconfig related environment variables in hs_err file
Backport-of: 0ef03f1228
2023-10-25 09:45:16 +07:00
Aleksey Shipilev
5551e8e51d 8311249: Remove unused MemAllocator::obj_memory_range
Backport-of: 711cddd899
2023-10-25 09:45:16 +07:00
Gui Cao
84aa3af790 8311923: TestIRMatching.java fails on RISC-V
Backport-of: e7adbdb1f1
2023-10-25 09:45:16 +07:00
Johny Jose
942297f61e 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: jpai, coffeys
Backport-of: 268ec61d4f
2023-10-25 09:45:16 +07:00
Vladimir Kempik
3c9ff2c691 8311862: RISC-V: small improvements to shift immediate instructions
Backport-of: f3b96f6937
2023-10-25 09:45:16 +07:00
Feilong Jiang
6b1d4b44fc 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Backport-of: 87e6fab2c4
2023-10-25 09:45:16 +07:00
Weibing Xiao
9f599104e8 8297856: Improve handling of Bidi characters
Backport-of: 244b89fc786894cb8cca742f91875ebb98b603ff
2023-10-25 09:45:16 +07:00
Weibing Xiao
2243b952cb 8296581: Better system proxy support
Reviewed-by: coffeys
Backport-of: 111811e64245ae720a0617b7de0c52c60bb2bac1
2023-10-25 09:45:16 +07:00
Vladimir Kempik
3f274e2f69 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Backport-of: 6b94289386
2023-10-25 09:45:16 +07:00
Rob McKenna
f69c0e622e 8310171: Bump version numbers for 21.0.1
Reviewed-by: iris, erikj
2023-10-25 09:45:16 +07:00
Alexey Ushakov
8d1f3a7a9e Revert "JBR-5965 Wayland: implement SplashScreen"
This reverts commit a6588d4b45.
2023-10-22 13:42:09 +02:00
Alexey Ushakov
1dbeb23fd4 Revert "fixup! JBR-5965 Wayland: implement SplashScreen"
This reverts commit a06582873c.
2023-10-22 13:41:20 +02:00
Dmitrii Morskii
a06582873c fixup! JBR-5965 Wayland: implement SplashScreen 2023-10-21 13:11:56 +02:00
Vitaly Provodin
1e2bb86176 fixup! JBR-6181 add Linux executables with bundled FreeType 2023-10-21 15:07:40 +07:00
Konstantin Bulenkov
fa5c69eeb9 JBR-6214 [fwp jbr21] IDEA-299292 Use Inter semibold instead of Inter bold
Replaced Inter bold with semi-bold fonts
2023-10-20 17:20:01 +02:00
Dmitrii Morskii
a6588d4b45 JBR-5965 Wayland: implement SplashScreen 2023-10-18 20:02:46 +02:00
Maxim Kartashev
5b97a03736 JBR-6209 Wayland: popup windows cannot be moved 2023-10-18 19:26:36 +04:00
Nikita Gubarkov
6d87c216f5 JBR-6208 Extended glyph cache for Metal 2023-10-17 21:25:50 +02:00
Maxim Kartashev
fe1a207eb5 JBR-5977 Wayland: make undecorated windows natively resizeable 2023-10-17 16:36:03 +04:00
Maxim Kartashev
fac167c65f JBR-6207 Wayland: many popup windows positioned incorrectly
When popup's parent is also its top-level window, use that instead of
null
2023-10-17 12:40:23 +04:00
Vitaly Provodin
0861698478 JBR-6181 add Linux executables with bundled FreeType 2023-10-13 06:53:18 +04:00
Alexey Ushakov
054df02388 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request
Enabled the fix by default only for M2 and spans displays property enabled (Displays have separate spaces OFF)
2023-10-10 13:56:26 +02:00
Maxim Kartashev
e4d4fa74d2 JBR-6142 Impossible to move/resize IDE window after restart if several projects were initially opened on secondary monitor
Announce to Mutter that we are "client-decorated" when a Frame is
undecorated by setting _GTK_FRAME_EXTENTS to all zeroes.
This prevents Mutter from applying certain harmful heuristics.
2023-10-10 15:31:47 +04:00
Maxim Kartashev
8d1d4351b9 JBR-6183 Wayland: clipboard-related exception in headless environment 2023-10-10 11:43:03 +04:00
Dmitrii Morskii
246e3a3de9 JBR-6135 removed dependence on process reading TTF in fixed size chunks 2023-10-09 15:01:15 +02:00
bourgesl
1b65d2d228 JBR-6119: RenderPerf enhancements:
new executor modes (buffer & volatile), robot calibration & more statistics and CLI arguments
added version + help information, added time unit

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

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

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

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

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

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

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

Other refactoring.
2023-09-06 15:26:12 +02:00
Alexey Ushakov
f5a72877ba JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Protected surfaceAssigned from MT access
2023-09-06 12:47:38 +02:00
Alexey Ushakov
081bc495a1 JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Skip sending paint events for not configured peers
2023-09-05 21:51:27 +02:00
Maxim Kartashev
56ce6657e8 JBR-5968 Wayland: support PERPIXEL_TRANSLUCENT 2023-09-05 12:11:27 +04:00
Vitaly Provodin
c7eaed89c2 JBR-6008 Update JetBrains Mono fonts to v2.304 2023-09-05 06:03:50 +07:00
Maxim Kartashev
07b83bad84 JBR-6002 Linux: maximized window goes fullscreen after being moved between monitors 2023-09-01 10:00:31 +04:00
Maxim Kartashev
703e87cc3a JBR-5971 JBR API hash update
Updated the JBR API hash because of changes in comments
in the WindowMove API.
2023-08-30 11:52:39 +04:00
Dmitrii Morskii
dabd52c312 JBR-5844: fix case with non-scalable face 2023-08-29 14:36:46 +02:00
Dmitrii Morskii
574c6d97e9 JBR-5804: refactoring of freetypeScaler and moving fontconfig's logic in separate file 2023-08-29 14:36:02 +02:00
Maxim Kartashev
8ff96bc79f JBR-5971 Wayland: support WindowMove JBR API 2023-08-29 10:48:18 +04:00
Vitaly Provodin
f600c73328 update exclude list on results of 21_b205.2 test runs 2023-08-25 17:33:22 +07:00
Nikita Tsarev
94d6344b43 JBR-5963: Fix RobotKeyboard test and implement getLockingKeyState 2023-08-24 20:06:00 +02:00
Maxim Kartashev
3834f6c24e JBR-5962 Wayland: fix the main event loop to allow for secondary queues
Return READ_RESULT_FINISHED_NO_EVENTS from WLToolkit.readEvents() in
case of poll returning with no new data (i.e. via timeout).
2023-08-23 15:32:12 +04:00
Sergei Tachenov
a4e4430a5a JBR-5824 Ensure popup menus are on the correct screen
This is a very old bug, JDK-6415065.

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

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

Fix by pre-adjusting the Y location to fit
into the correct screen in JMenu.getPopupMenuOrigin,
where the correct screen is still known.
The resulting location may still not be final,
as the menu's height needs to be taken into
account as well, but that's exactly what
JPopupMenu.adjustPopupLocationToFitScreen does.
Since the coordinate is on the correct screen now,
it fits the menu into the same screen, which
guarantees it'll be the correct one.
2023-08-22 12:19:23 +04:00
Dmitry Batrak
f85dae83df JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there
(cherry picked from commit ff8fa489f8e1e16cb055cc56f1b441018c2f495c)
2023-08-21 13:39:53 +03:00
Vitaly Provodin
6b64fe9b77 update exclude list on results of 21_b202.1 test runs 2023-08-18 05:07:02 +07:00
Nikita Tsarev
85fb38c9a9 Regenerate wakefield-client-protocol using an older wayland-scanner to temporarily fix build problems 2023-08-17 15:56:48 +02:00
Dmitry Batrak
bcd4b38663 JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw
(cherry picked from commit 81d531fb9f7496498fcab1f0e76554885941f16c)
2023-08-16 15:27:02 +03:00
Nikita Tsarev
77bccaf640 JBR-5676: Support emulating input events in Wakefield 2023-08-15 12:37:27 +02:00
Vitaly Provodin
27bb9662b2 update exclude list on results of 21_b199.2 test runs 2023-08-12 06:58:24 +07:00
Daniel D. Daugherty
cd18df6c66 8314062: ProblemList jdk/jfr/tool/TestView.java on macosx-x64
Reviewed-by: naoto
2023-08-12 06:47:32 +07:00
Stefan Karlsson
0795b7e7e1 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: aboldtch, tschatzl
Backport-of: 28fd7a1739
2023-08-12 06:47:32 +07:00
Jim Laskey
04e3cc31e8 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
Backport-of: 6864441163
2023-08-12 06:47:32 +07:00
Jim Laskey
82f1a2ce4a 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jjg, vromero
Backport-of: f14245b388
2023-08-12 06:47:31 +07:00
Tobias Hartmann
64c0d8c181 8313345: SuperWord fails due to CMove without matching Bool pack
Reviewed-by: chagedorn
Backport-of: d3b578f1c9
2023-08-12 06:47:31 +07:00
Jesper Wilhelmsson
33e83936c6 8312985: Remove EA from the JDK 21 version string with first RC promotion on August 10, 2023
Reviewed-by: mikael
2023-08-12 06:47:31 +07:00
Stefan Karlsson
c702e89c52 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: eosterlund
Backport-of: 19e2c8c321
2023-08-12 06:47:31 +07:00
Nikita Tsarev
7159ccf83c JBR-5900: Fix deadlock when enabling the Wakefield extension 2023-08-10 12:47:58 +02:00
Nikita Tsarev
7971b98a99 JBR-5896: Fix WLToolkit being instantiated twice 2023-08-10 12:46:09 +02:00
Dmitrii Morskii
8907bf5479 JBR-5724: fixed serialization and backward compatibility of Font 2023-08-08 13:28:41 +02:00
Dmitry Batrak
c7cd32a03d JBR-5823 IDEA crashes when '-Dmain.thread.as.edt=true' vmoption is set and VoiceOver is enabled
done as part of JBR-4993 Support using 'main' thread as EDT on macOS

(cherry picked from commit 55598693c3)
(cherry picked from commit 2d8d56b5d61bd219b084fc50faea738f625be922)
2023-08-04 10:52:54 +03:00
Justin Lu
6b7bbe79cb 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto, iris
Backport-of: 9b55e9a706
2023-08-04 10:27:06 +07:00
Matthias Baesken
43b4cd00e2 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: clanger
Backport-of: 34173ff0d1
2023-08-04 10:27:06 +07:00
Christoph Langer
2506bc3cca 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mbaesken
Backport-of: 4c2e54fb05
2023-08-04 10:27:05 +07:00
Christoph Langer
12378c2123 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: mbaesken
Backport-of: d1cc278260
2023-08-04 10:27:05 +07:00
Christoph Langer
eb483848b6 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: mbaesken
Backport-of: 5ff42d1429
2023-08-04 10:27:05 +07:00
Jorn Vernee
7219fde797 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: thartmann, mcimadamore
Backport-of: 6fca289887
2023-08-04 10:27:04 +07:00
Christoph Langer
ea2647d428 8313256: Exclude failing multicast tests on AIX
Reviewed-by: mbaesken
Backport-of: 98a915a54c
2023-08-04 10:27:04 +07:00
Christoph Langer
46f0a568e1 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken
Backport-of: 94b50b714a
2023-08-04 10:27:04 +07:00
Justin Lu
b19d723ace 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto, iris
Backport-of: c6396dceb9
2023-08-04 10:27:04 +07:00
Roger Riggs
46270d5867 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: naoto
Backport-of: 8650026ff1
2023-08-04 10:27:04 +07:00
Christoph Langer
4e12f81c86 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
Backport-of: 807ca2d3a1
2023-08-04 10:27:03 +07:00
David Holmes
fba7b16b07 8300937: Update nroff pages in JDK 21 before RC
Reviewed-by: mchung, iris, egahlin
2023-08-04 10:27:03 +07:00
Dmitrii Morskii
81e97c5f8a JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale 2023-07-31 16:18:04 +02:00
Sergey Bylokhov
e71048d298 8313260: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on linux-x86
Reviewed-by: clanger
2023-07-31 12:16:48 +07:00
Tobias Hartmann
11ca5e8d6d 8313241: Temporarily disable "malformed control flow" assert to reduce noise
Reviewed-by: chagedorn, kvn, dcubed
2023-07-31 12:16:48 +07:00
Christoph Langer
52fd37a490 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs
Backport-of: c05ba48b60
2023-07-31 12:16:48 +07:00
Markus Grönlund
84e548697f 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
Backport-of: 59f66a3b83
2023-07-31 12:16:47 +07:00
Daniel D. Daugherty
f058b31cf8 8313208: ProblemList java/util/concurrent/tck/JSR166TestCase.java on select platforms
Reviewed-by: darcy
2023-07-31 12:16:47 +07:00
Daniel D. Daugherty
302f9d6e63 8313193: ProblemList java/util/concurrent/SynchronousQueue/Fairness.java on X64
Reviewed-by: rriggs
2023-07-31 12:16:47 +07:00
Serguei Spitsyn
c72add02ac 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: cjplummer
Backport-of: 783de32b6a
2023-07-31 12:16:47 +07:00
Daniel Jeliński
6517cc564e 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb
Backport-of: 354c6605e3
2023-07-31 12:16:46 +07:00
Vitaly Provodin
fd1cc0b6a5 update exclude list on results of 21_b195.1 test runs 2023-07-31 12:14:36 +07:00
Valerie Peng
4d790c2be4 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: mullan, ascarpino, xuelei
Backport-of: 28c4d196cf
2023-07-22 05:17:34 +07:00
Chris Plummer
23234a83b6 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: sspitsyn
Backport-of: c84866ac0d
2023-07-22 05:17:34 +07:00
Jan Lahoda
b1fac6f358 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: a4412166ec
2023-07-22 05:17:34 +07:00
Aggelos Biboudis
1d9dde2a3c 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
Backport-of: 1fc726a8b3
2023-07-22 05:17:33 +07:00
Christian Hagedorn
1ccadbd336 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-22 05:17:33 +07:00
Jan Lahoda
87aa435e4d 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-22 05:17:33 +07:00
Calvin Cheung
3351ece9ac 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-22 05:17:33 +07:00
Brian Burkhalter
076cfd1f77 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-22 05:17:32 +07:00
Ioi Lam
40206536c7 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-22 05:17:32 +07:00
Hai-May Chao
0c743f785d 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-22 05:17:32 +07:00
Lance Andersen
bc11ed4114 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-22 05:17:32 +07:00
Michael McMahon
c620b0ce4a 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-22 05:17:31 +07:00
Tobias Hartmann
864686aa78 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-22 05:17:31 +07:00
Tobias Hartmann
16bf733fc8 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-22 05:17:31 +07:00
Jamil Nimeh
96854ead11 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-22 05:17:31 +07:00
Serguei Spitsyn
7ab527590a 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: amenkov
Backport-of: 3236ba0be4
2023-07-22 05:17:30 +07:00
Serguei Spitsyn
861b95bf9d 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: amenkov
Backport-of: 11a5115caf
2023-07-22 05:17:30 +07:00
Markus Grönlund
8023b5101c 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
Backport-of: 9905f75822
2023-07-22 05:17:30 +07:00
Jan Lahoda
7f40dd0b44 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: bbb7ce5137
2023-07-22 05:17:30 +07:00
Mandy Chung
d551c2c7ee 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: darcy
Backport-of: b4dce0d624
2023-07-22 05:17:29 +07:00
Joakim Nordström
0c4c702c27 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: mgronlun
Backport-of: 66d2736521
2023-07-22 05:17:29 +07:00
Jan Lahoda
8182a51a93 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
Backport-of: d1fa1a8686
2023-07-22 05:17:29 +07:00
Jan Lahoda
f825086114 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey, iris
Backport-of: 1c9691b1f7
2023-07-22 05:17:29 +07:00
Jim Laskey
c9bd5f53fb 8312098: Update man page for javadoc
Reviewed-by: darcy
2023-07-22 05:17:28 +07:00
Aleksey Shipilev
8c6bdeee6d 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: rriggs
Backport-of: 43099a85b1
2023-07-22 05:17:28 +07:00
Markus Grönlund
139beb92aa 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin
Backport-of: 7539cc092d
2023-07-22 05:17:28 +07:00
Vitaly Provodin
dfcb233c88 update exclude list on results of 21_b190.1 test runs 2023-07-22 05:16:24 +07:00
Maxim Kartashev
fc7e7f0725 JBR-5861 Wayland: minimum necessary stubs to run IDEA 2023-07-21 17:15:58 +04:00
Markus Grönlund
706e410826 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
Backport-of: 61932f49a5
2023-07-14 19:40:06 +07:00
Alan Bateman
728fde56c3 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
Backport-of: 92a04e201e
2023-07-14 19:40:06 +07:00
Justin Lu
6519ab02b2 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto, lancea, iris
Backport-of: 6cb9ec32a6
2023-07-14 19:40:05 +07:00
Stuart Marks
7ccfa3ca9c 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: rriggs
Backport-of: 743e8b8e0a
2023-07-14 19:40:05 +07:00
Erik Gahlin
bd472d7169 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
Backport-of: f60c1f9bc4
2023-07-14 19:40:05 +07:00
Markus Grönlund
1a7156370e 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin
Backport-of: 6895debf66
2023-07-14 19:40:04 +07:00
Aleksey Shipilev
15e83af59e 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: alanb
Backport-of: 401c3dea5d
2023-07-14 19:40:04 +07:00
Vladimir Petko
d2a9b2c5b9 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
Backport-of: 0916e6a603
2023-07-14 19:40:04 +07:00
Tobias Hartmann
4e5e35a1e3 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: chagedorn
Backport-of: caadad4fdc
2023-07-14 19:40:03 +07:00
Robbin Ehn
2b30ddf722 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, fyang
Backport-of: faf1b822d0
2023-07-14 19:40:03 +07:00
Stuart Marks
c8230b05b7 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: naoto, bpb
Backport-of: f82c8184b2
2023-07-14 19:40:03 +07:00
Rajan Halade
93aa8f21cf 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
Backport-of: 119cc495fc
2023-07-14 19:40:03 +07:00
Rajan Halade
77262d47c4 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: mullan
Backport-of: fd7fddb6ed
2023-07-14 19:40:02 +07:00
Patricio Chilano Mateo
4cb3d4858b 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: coleenp
Backport-of: 57e7e82fa1
2023-07-14 19:40:02 +07:00
Alan Bateman
31ee3ceb12 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: darcy, iris, lancea
Backport-of: 623cfcd04b
2023-07-14 19:40:02 +07:00
Maurizio Cimadamore
0ecca996a0 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
Backport-of: 6569b252b9
2023-07-14 19:40:02 +07:00
Alexey Ivanov
c1172de798 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: honkar, azvegint, prr
Backport-of: b3f34039fe
2023-07-14 19:40:01 +07:00
Patricio Chilano Mateo
bc8b3fb572 8302351: "assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite
Reviewed-by: coleenp
Backport-of: 0c86c31bcc
2023-07-14 19:40:01 +07:00
Erik Gahlin
6be2cd7480 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
Backport-of: a1cfc96954
2023-07-14 19:40:01 +07:00
Hao Sun
9ff86192c4 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: tschatzl
Backport-of: 4b1403d06b
2023-07-14 19:40:01 +07:00
Erik Joelsson
8081944830 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
Backport-of: 554b4d7243
2023-07-14 19:40:00 +07:00
Zhengyu Gu
5dad107712 8309761: Leak class loader constraints
Reviewed-by: coleenp
Backport-of: 8e4e6b056c
2023-07-14 19:40:00 +07:00
Naoto Sato
31d1ffbf21 8311183: Remove unused mapping test files
Reviewed-by: lancea
Backport-of: d072c40ff1
2023-07-14 19:40:00 +07:00
Thomas Stuefe
8de2ce735a 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: rriggs
Backport-of: 47d00a4cbe
2023-07-14 19:39:59 +07:00
Maxim Kartashev
8d90bd6d5d JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.
2023-07-13 11:54:22 +04:00
bourgesl
71e1ff1b1a fixup! JBR-5625: use sun.java2d.metal.colorMatching=true by default (current metal behaviour) 2023-07-12 21:10:29 +02:00
Vitaly Provodin
c024fc4ad9 update exclude list on results of 21_b185.5 test runs 2023-07-11 16:14:08 +07:00
Alexey Ushakov
7c0beaa530 JBR-5831 Compile failure after applying JDK-8309140 (ResourceHashtable failed ...)
Fixed compile issue
2023-07-10 20:12:22 +02:00
Alexey Ushakov
c423b9bc2e JBR-5645 Provide basic classes for Vulkan rendering pipeline
Fix compilation failure on macos
2023-07-10 14:10:05 +02:00
Tobias Hartmann
eb957de688 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: epeter
Backport-of: 31dcda5d67
2023-07-07 19:40:57 +07:00
Coleen Phillimore
1063d09924 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: iklam
Backport-of: b6c789faad
2023-07-07 19:40:49 +07:00
Tobias Hartmann
039c82b4f6 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: chagedorn
Backport-of: 15878360bf
2023-07-07 19:32:57 +07:00
Hannes Wallnöfer
c07097a888 8311264: JavaDoc index comparator is not transitive
Reviewed-by: prappo
Backport-of: 0741cd3289
2023-07-07 19:32:57 +07:00
Pavel Rappo
299f672e2a 8311122: Fix typos in java.base
Reviewed-by: iris
Backport-of: 7b3c2dc5f4
2023-07-07 19:32:57 +07:00
Tobias Hartmann
a3bcdeacfe 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: chagedorn
Backport-of: 6ebb0e3bd4
2023-07-07 19:32:56 +07:00
Tobias Hartmann
ba6ffccf8b 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: chagedorn
Backport-of: d6578bff1c
2023-07-07 19:32:56 +07:00
Serguei Spitsyn
cd7d0d50d8 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate
Backport-of: 971c2efb69
2023-07-07 19:32:56 +07:00
Rajan Halade
98bf58e13d 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
Backport-of: 9f64a64376
2023-07-07 19:32:55 +07:00
Axel Boldt-Christmas
2cedb9d3bb 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: ayang
Backport-of: f393975d1b
2023-07-07 19:32:55 +07:00
Matthias Baesken
b2bc6893ea 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: clanger
Backport-of: 7da3f1999f
2023-07-07 19:32:55 +07:00
Mandy Chung
90974afeba 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: iris
Backport-of: b9198f9931
2023-07-07 19:32:55 +07:00
Tobias Hartmann
0019cdf781 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: chagedorn
Backport-of: f6bdccb45c
2023-07-07 19:32:54 +07:00
Matthias Baesken
e7e9c3492f 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: cjplummer
Backport-of: 39c104df44
2023-07-07 19:32:54 +07:00
Chen Liang
26863d19fc 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
Backport-of: 8c8e9d911d
2023-07-07 19:32:54 +07:00
Chen Liang
44fe0a12c6 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
Backport-of: a197ee797b
2023-07-07 19:32:54 +07:00
Daniel D. Daugherty
ff0d766ef6 8311186: ProblemList javax/management/remote/mandatory/subjectDelegation/SubjectDelegation1Test.java on linux-aarch64
8311189: disable gc/z/TestHighUsage.java
8311190: ProblemList javax/management/remote/mandatory/connection/DeadLockTest.java with virtual threads on windows-x64
8311191: ProblemList javax/management/remote/mandatory/connection/ConnectionTest.java with virtual threads on windows-x64
8311193: ProblemList vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java on linux-all
8311195: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java with Xcomp on macosx-x64

Reviewed-by: lmesnik
Backport-of: 140b70fb29
2023-07-07 19:32:53 +07:00
Axel Boldt-Christmas
917c3597ed 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: stefank
Backport-of: 2a9e2f614f
2023-07-07 19:32:53 +07:00
Vitaly Provodin
59edee4716 update exclude list on results of 21_b173.1 test runs (follow up) 2023-07-07 19:32:02 +07:00
Vitaly Provodin
28edf9aa51 update exclude list on results of 21_b173.1 test runs (follow up) 2023-07-07 07:24:39 +07:00
Alexey Ushakov
dd761c3138 JBR-5645 Provide basic classes for Vulkan rendering pipeline
Implemented shared classes for cross-platform vulkan implementation and some support for wayland toolkit
2023-07-06 20:07:51 +02:00
Alexey Ushakov
79263e5875 JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance
2023-07-06 19:21:35 +02:00
Vitaly Provodin
4eaaf559e5 update exclude list on results of 21_b173.1 test runs 2023-07-05 05:53:19 +07:00
Maxim Kartashev
470c36bbd8 JBR-5661 Wayland: implement heavy-weight popup windows 2023-07-04 09:29:37 +04:00
bourgesl
5473bc5596 fixup! JBR-5625: use CGColorSpaceCopyName() available since macOS 10.6 in MTLLayer
(cherry picked from commit 4ec4f728f4461a0c173bb80cd3f3c9652f267f4f)
2023-07-01 12:34:42 +02:00
bourgesl
3027b5e95c JBR-5625: disable color-matching (colorspace = nil) in MTLLayer by default (see new system property 'sun.java2d.metal.colorMatching=true/false') + added new MetalLayerColorTest 2023-06-30 18:19:34 +02:00
Tobias Hartmann
2ee44fface 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: chagedorn
Backport-of: 26efff7586
2023-06-30 20:00:06 +07:00
Joe Darcy
b0eb2a22e2 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: prappo
Backport-of: d97966266e
2023-06-30 20:00:06 +07:00
Tobias Hartmann
4956bcb3d4 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: chagedorn
Backport-of: be64d3ac3c
2023-06-30 20:00:05 +07:00
Erik Gahlin
b632a89ba5 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
Backport-of: e3f18af1df
2023-06-30 20:00:05 +07:00
Joe Darcy
0be7c6e827 8310061: Note if implicit annotation processing is being used
Reviewed-by: vromero
Backport-of: 3df36c4f10
2023-06-30 20:00:05 +07:00
Jorn Vernee
ea0b791f94 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
Backport-of: f07e396bda
2023-06-30 20:00:05 +07:00
Jorn Vernee
c35e073cd9 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
Backport-of: 7fffdb5e60
2023-06-30 20:00:04 +07:00
Tobias Hartmann
be708c5de0 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn
Backport-of: 526dba1a29
2023-06-30 20:00:04 +07:00
Rajan Halade
05af322e8a 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: valeriep, hchao
Backport-of: 130a9f1387
2023-06-30 20:00:04 +07:00
Archie Cobbs
4ade52291c 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
Backport-of: a08352f621
2023-06-30 20:00:04 +07:00
Pavel Rappo
59ff7acff6 8311034: Fix typo in javac man page
Reviewed-by: rriggs
Backport-of: f17bfeec61
2023-06-30 20:00:03 +07:00
Kevin Walls
5c3fe85288 8303916: ThreadLists.java inconsistent results
Reviewed-by: sspitsyn
Backport-of: 8c9b85a990
2023-06-30 20:00:03 +07:00
Stefan Karlsson
c01213983c 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: ayang
Backport-of: 4e4e586dac
2023-06-30 20:00:03 +07:00
Tobias Hartmann
dc28c85058 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: kvn
Backport-of: ff9a754109
2023-06-30 20:00:02 +07:00
Joe Darcy
5b7b91f80b 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: mchung
Backport-of: 4bce38c6d7
2023-06-30 20:00:02 +07:00
Jim Laskey
4da9ef9367 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: darcy
Backport-of: 315242b741
2023-06-30 20:00:02 +07:00
Naoto Sato
c31883d7ae 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs
Backport-of: ec45bd64d5
2023-06-30 20:00:01 +07:00
Robbin Ehn
7ce6caddcc 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: luhenry, fyang
Backport-of: 31b6fd775f
2023-06-30 20:00:01 +07:00
Mandy Chung
449333a596 8310242: Clarify the name parameter to Class::forName
8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242

Reviewed-by: dholmes
Backport-of: 7db2f08756
2023-06-30 20:00:01 +07:00
Joe Darcy
938ce68fac 8310861: Improve location reporting for javac serial lint warnings
8310907: Add missing file

Reviewed-by: jlahoda
Backport-of: 289f218a32
2023-06-30 20:00:01 +07:00
Christian Stein
b135da3050 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: jjg
Backport-of: 4bf78162c5
2023-06-30 20:00:00 +07:00
Hannes Wallnöfer
2e9c2f2d2f 8309471: Limit key characters in static index pages
Reviewed-by: jjg
Backport-of: 21f6d83358
2023-06-30 20:00:00 +07:00
Jaikiran Pai
5072c3ddf8 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
Backport-of: 013367b483
2023-06-30 20:00:00 +07:00
Frederic Thevenet
4bf9d30bc1 8309959: JFR: Display N/A for missing data amount
Reviewed-by: egahlin
Backport-of: 9872a14192
2023-06-30 20:00:00 +07:00
Joe Darcy
509d789d2e 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
Backport-of: 69f3114c41
2023-06-30 19:59:59 +07:00
Jamil Nimeh
872410a552 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, hchao
Backport-of: 5ca4cdd2ca
2023-06-30 19:59:59 +07:00
Daniel D. Daugherty
0304e5af2d 8310822: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on generic-x64
Reviewed-by: iris, lmesnik
2023-06-30 19:59:59 +07:00
Alexander Zuev
a29a052655 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: prr
Backport-of: d1d2b55ce0
2023-06-30 19:59:58 +07:00
Sergey Bylokhov
eec4c76e76 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: djelinski, michaelm
Backport-of: bdd81b3182
2023-06-30 19:57:41 +07:00
Vitaly Provodin
dc913b2ba1 update exclude list on results of 21_b173.1 test runs 2023-06-30 18:39:23 +07:00
Maxim Kartashev
725fe7afce JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
2023-06-28 11:47:22 +04:00
Sergey Shelomentsev
4bf6cbc0ab fixup! JBR-5746 add mouse events logging 2023-06-27 23:18:08 +03:00
Dmitrii Morskii
c6ddc37179 fixup! JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-26 18:00:30 +02:00
Dmitry Batrak
25f8116d68 JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events
(cherry picked from commit 64dad2a50a)
2023-06-26 12:10:40 +03:00
Alexey Ushakov
4583bce7fb JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary
2023-06-23 18:49:40 +02:00
Alan Bateman
45badf7fdf 8309853: StructuredTaskScope.join description improvements
Reviewed-by: darcy
Backport-of: 3661cdee1b
(cherry picked from commit e86d765b22)
2023-06-23 17:27:48 +07:00
Erik Gahlin
3b2662040d 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
Backport-of: 658c3374d8
(cherry picked from commit 2f1af3cff8)
2023-06-23 17:27:47 +07:00
Axel Boldt-Christmas
b84f104c8f 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: eosterlund
Backport-of: a0595761ef
(cherry picked from commit 6317249b50)
2023-06-23 17:27:47 +07:00
Tobias Hartmann
6827cc7db7 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: chagedorn, dlong
Backport-of: bb966827ac
(cherry picked from commit 55aa4cb48a)
2023-06-23 17:27:47 +07:00
Tobias Hartmann
5731093e0a 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: chagedorn, dlong
Backport-of: 266f9838ee
(cherry picked from commit 5357bcd776)
2023-06-23 17:27:47 +07:00
Tobias Hartmann
1aeac500dc 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: chagedorn, dlong
Backport-of: 4a9cc8a000
(cherry picked from commit 7621d988f9)
2023-06-23 17:27:46 +07:00
Tobias Hartmann
03e282b3fe 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: chagedorn, dlong
Backport-of: 02aaab12e3
(cherry picked from commit 89ac41be57)
2023-06-23 17:27:46 +07:00
Jan Lahoda
5789ab8533 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
Backport-of: a15db1a56c
(cherry picked from commit 789b2fc4f2)
2023-06-23 17:27:46 +07:00
Jan Lahoda
53d980bdd3 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
Backport-of: 01623f6a57
(cherry picked from commit ceadaece94)
2023-06-23 17:27:46 +07:00
Serguei Spitsyn
585cabc4db 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer
Backport-of: f91e9ba757
(cherry picked from commit f8a38eecc6)
2023-06-23 17:27:45 +07:00
Chris Plummer
f85ef6c00e 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: kevinw, sspitsyn
Backport-of: 79ff72a776
(cherry picked from commit 722b512c40)
2023-06-23 17:27:45 +07:00
Darragh Clarke
ce3fdae3dc 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
Backport-of: a48bcf3671
(cherry picked from commit a4159ddaa2)
2023-06-23 17:27:45 +07:00
Jorn Vernee
7e94035ac4 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
Backport-of: e022e87654
(cherry picked from commit 3985a4d534)
2023-06-23 17:27:44 +07:00
Matthias Baesken
9bdd685eb4 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb
Backport-of: 6a63badd8e
(cherry picked from commit 1fc60429a1)
2023-06-23 17:27:44 +07:00
Per Minborg
2851c2edac 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
Backport-of: b412fc79c3
(cherry picked from commit ef0357f6cb)
2023-06-23 17:27:44 +07:00
Matthias Baesken
c33f76cf13 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: lucy, alanb
Backport-of: 4d66d97745
(cherry picked from commit 60cae33c46)
2023-06-23 17:27:44 +07:00
Alexey Ivanov
f4298d9a3a 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
Backport-of: d6c2ee3448
(cherry picked from commit beb0d9579b)
2023-06-23 17:27:43 +07:00
Roger Riggs
9173dcad30 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 33c6ec9d4e
(cherry picked from commit e0cc40108a)
2023-06-23 17:27:43 +07:00
Glavo
01f0ecaaac 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 137a5f7c2c
(cherry picked from commit 7e788939d3)
2023-06-23 17:27:43 +07:00
David Holmes
dea70ad99a 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: shade
Backport-of: 96a7db7b3c
(cherry picked from commit fb6f5f1b82)
2023-06-23 17:27:43 +07:00
Jim Laskey
8bfeab18aa 8309957: Rename JDK-8309595 test to conform
Reviewed-by: prappo
Backport-of: 1d1ed0d8f7
(cherry picked from commit 7ca0f1460c)
2023-06-23 17:27:42 +07:00
Jim Laskey
c6fededaba 8309595: Allow javadoc to process unnamed classes
Reviewed-by: prappo
Backport-of: 0be39054a6
(cherry picked from commit bfffd8b608)
2023-06-23 17:27:42 +07:00
Jan Lahoda
4e9fb05ba8 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
Backport-of: 79069c5e74
(cherry picked from commit ede16cd19e)
2023-06-23 17:27:42 +07:00
Jaikiran Pai
a4e0bd5eb4 8310259: Pin msys2/setup-msys2 github action to a specific commit
8309934: Update GitHub Actions to use JDK 17 for building jtreg

Reviewed-by: cstein, clanger
Backport-of: 959a61fdd4
(cherry picked from commit 08965e646e)
2023-06-23 17:27:41 +07:00
Erik Gahlin
576518769f 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: mgronlun
Backport-of: 7d4b77ad9e
(cherry picked from commit e0d3706f9e)
2023-06-23 17:27:41 +07:00
Erik Österlund
e958446d7e 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
Backport-of: 4229baf9b6
(cherry picked from commit 14c5091a9f)
2023-06-23 17:27:41 +07:00
Erik Gahlin
d04865c7f6 8309928: JFR: View issues
Reviewed-by: mgronlun
Backport-of: 84d010a24b
(cherry picked from commit 36e3fe914c)
2023-06-23 17:27:40 +07:00
Albert Mingkun Yang
d520d33e04 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl
(cherry picked from commit 4d81b8998a)
2023-06-23 17:27:40 +07:00
Kim Barrett
84850c23d0 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl
Backport-of: 92167505b2
(cherry picked from commit ace56237d3)
2023-06-23 17:27:40 +07:00
Phil Race
ce5125a90f 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: azvegint
Backport-of: d3d0dbc363
(cherry picked from commit 3698a022ff)
2023-06-23 17:27:40 +07:00
Justin Lu
385c581b56 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
Backport-of: 81bfd78901
(cherry picked from commit a1c1d97a4e)
2023-06-23 17:27:39 +07:00
Maxim Kartashev
cb9c3217e1 JBR-5722 vmTestbase/vm/gc/compact/Compact_TwoFields_InternedStrings: SIGSEGV at Symbol::as_klass_external_name(char*, int)
Do not use print_native_stack() when recording OOME stacks as it is
designed to be used only in the context of a fatal error reporting where
induced crashes are tolerated.
2023-06-23 12:59:41 +04:00
Dmitry Batrak
82383cef3c JBR-5684 Focus state is broken after closing of modal dialog in an inactive application
(cherry picked from commit f1feadc9e5)
2023-06-23 11:38:46 +03:00
Nikita Provotorov
f3580cb167 JBR-5762 Sometimes naturally generated MOUSE_DRAGGED events don't contain the pressed button's modifier.
Enforce keeping the pressed button in the modifiers for MOUSE_DRAGGED events. This is under a (default enabled) system property "awt.mac.enforceMouseModifiersForMouseDragged".

(cherry picked from commit fb12990a98)
2023-06-22 19:06:14 +03:00
Dmitrii Morskii
6c1d3527ef JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-22 16:02:39 +02:00
Dmitrii Morskii
864dcab9d8 JBR-5548 fix BadSerializationTest 2023-06-22 15:55:12 +02:00
Vitaly Provodin
c66295a92f update exclude list on results of 21_b163.1 test runs 2023-06-22 16:38:37 +07:00
Vitaly Provodin
b2af077f9f update exclude list on results of 21_b156.4 test runs 2023-06-22 16:31:37 +07:00
Maxim Kartashev
ca4d3ddb25 JBR-5761 Make error printing more robust during early stages of VM initialization 2023-06-21 19:41:38 +04:00
Sergey Shelomentsev
5fd56485aa JBR-5746 wait for menu visibility of fail the test 2023-06-20 18:42:51 +03:00
Vitaly Provodin
528f36f7b7 fixup! JBR-5246 add OpenType's features support (follow up) 2023-06-17 06:38:04 +07:00
Vitaly Provodin
883a78fb2f fixup! JBR-5246 add OpenType's features support 2023-06-17 05:49:16 +07:00
Vitaly Provodin
2613211eed fixup! JBR-5480 Include more information in OOME crash reports 2023-06-17 05:33:13 +07:00
Nikita Tsarev
985ff0d80b JBR-5379: Ignore input events only on permament focus loss 2023-06-16 15:19:45 +02:00
Vitaly Provodin
d44783df44 fixup! update exclude list on results of 21_b156.4 test runs 2023-06-16 17:48:06 +07:00
Aggelos Biboudis
3090a44d42 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: jlahoda
Backport-of: 32243ef47d
(cherry picked from commit aced11446e)
2023-06-16 17:21:06 +07:00
Roberto Castañeda Lozano
0802b1573b 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann
Backport-of: 83d92672d4
(cherry picked from commit 39e98e7bbf)
2023-06-16 17:21:06 +07:00
Martin Doerr
577b7a1383 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: mbaesken
Backport-of: bd79db3930
(cherry picked from commit 07d20dc86a)
2023-06-16 17:21:05 +07:00
Aleksey Shipilev
155bca2d23 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: rkennke
Backport-of: 57b8251241
(cherry picked from commit 0ac92753dd)
2023-06-16 17:21:05 +07:00
Chen Liang
acfdfe9169 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
Backport-of: 75dcc4ef94
(cherry picked from commit 6711041f55)
2023-06-16 17:21:05 +07:00
Stuart Marks
4f67e453b9 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: rriggs
Backport-of: e138685648
(cherry picked from commit f7cd0aec92)
2023-06-16 17:21:04 +07:00
Raffaello Giulietti
7f45827674 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: bpb
Backport-of: bfef3c3e80
(cherry picked from commit e18993c006)
2023-06-16 17:21:04 +07:00
Mandy Chung
3100171558 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: alanb
Backport-of: 679a6d8935
(cherry picked from commit 3363050f9e)
2023-06-16 17:21:04 +07:00
Markus Grönlund
6f792f56d2 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
Backport-of: 05f896a153
(cherry picked from commit ea4ab656b0)
2023-06-16 17:21:03 +07:00
Martin Doerr
84b4a719ba 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken
Backport-of: cf9e6353cc
(cherry picked from commit 08eff92b5e)
2023-06-16 17:21:03 +07:00
Jan Lahoda
ef2a69875a 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
Backport-of: 408cadb351
(cherry picked from commit 83ea293581)
2023-06-16 17:21:03 +07:00
Joe Darcy
a8c6a1c33f 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
Backport-of: 3ce1240ca1
(cherry picked from commit b743405033)
2023-06-16 17:21:02 +07:00
Maurizio Cimadamore
705d70071f 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
(cherry picked from commit 20371fd918)
2023-06-16 17:21:02 +07:00
Chris Hegarty
b7eb3b0594 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: uschindler, rriggs
Backport-of: cee5724d09
(cherry picked from commit 73a9f486ae)
2023-06-16 17:21:02 +07:00
Matthias Baesken
7d17695ec3 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr
Backport-of: 3981297fd3
(cherry picked from commit 005006e7c4)
2023-06-16 17:21:01 +07:00
Daniel D. Daugherty
73622ef2c1 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: darcy
Backport-of: aace3dc28c
(cherry picked from commit 4bf6babda5)
2023-06-16 17:21:01 +07:00
Daniel D. Daugherty
552735c1c5 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: darcy
Backport-of: 307085618d
(cherry picked from commit 406ba341fe)
2023-06-16 17:21:01 +07:00
Vitaly Provodin
a2e0786c22 update exclude list on results of 21_b156.4 test runs 2023-06-15 10:21:29 +07:00
Vitaly Provodin
16d12c8519 update exclude list on results of 21_b150.1 test 2023-06-10 05:25:09 +07:00
Stefan Karlsson
8be1389399 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: dcubed
Backport-of: c4e6542514
(cherry picked from commit 430ffe7ae6)
2023-06-09 16:09:23 +07:00
Stefan Karlsson
eaa7382eea 8306841: Generational ZGC: NMT reports Java heap size larger than max heap size
Reviewed-by: eosterlund, stuefe
(cherry picked from commit bb377b2673)
2023-06-09 16:09:22 +07:00
Chen Liang
73e8bb0fba 8304425: ClassHierarchyResolver from Reflection
Reviewed-by: asotona
(cherry picked from commit ac3ce2bf75)
2023-06-09 16:09:21 +07:00
Aggelos Biboudis
fc978710d3 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
(cherry picked from commit 79a4ac791c)
2023-06-09 16:09:20 +07:00
Nagata-Haruhito
49881fbaf1 8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
(cherry picked from commit 9d64a9d220)
2023-06-09 16:09:19 +07:00
Serguei Spitsyn
aaba13d513 8309602: update JVMTI history table for jdk 21
Reviewed-by: alanb, iris
(cherry picked from commit 5af9d2a0ac)
2023-06-09 16:09:18 +07:00
David Holmes
fb3766b94c 8308764: Reporting errors from create_vm may crash
Reviewed-by: stuefe, coleenp, kbarrett
(cherry picked from commit 6646272a05)
2023-06-09 16:09:17 +07:00
Sergey Bylokhov
9a5f0e005d 8308152: PropertyDescriptor should work with overridden generic getter method
Reviewed-by: azvegint
(cherry picked from commit 73dd03cc5a)
2023-06-09 16:09:16 +07:00
Martin Balao
7ac0d737ea 8309569: sun/security/pkcs11/Signature/TestRSAKeyLength.java fails after JDK-8301553
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: valeriep
(cherry picked from commit 760cb04a2e)
2023-06-09 16:09:15 +07:00
Mandy Chung
1217047ff0 8309630: Clean up tests that reference deploy modules
Reviewed-by: bchristi
(cherry picked from commit e8a59843f2)
2023-06-09 16:09:14 +07:00
Raffaello Giulietti
a2a7a996d3 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
(cherry picked from commit 90027ff204)
2023-06-09 16:09:13 +07:00
Alexey Ivanov
4d19663847 8297923: java.awt.ScrollPane broken after multiple scroll up/down
Reviewed-by: honkar, prr, serb
(cherry picked from commit ea41907396)
2023-06-09 16:09:12 +07:00
Yudi Zheng
bf5816390b 8309562: [JVMCI] Export symbols used by VirtualThread notifyJvmti intrinsics to JVMCI compilers.
Reviewed-by: dnsimon, kvn
(cherry picked from commit 99749c597b)
2023-06-09 16:09:12 +07:00
Eric Nothum
28ac4647f8 8309474: [IR Framework] Wrong @ForceCompile link in README
Reviewed-by: chagedorn, thartmann
(cherry picked from commit 92beb85510)
2023-06-09 16:09:11 +07:00
Daniel D. Daugherty
17ce7e4035 8256302: releasing oopStorage when deflating allows for faster deleting
Reviewed-by: dholmes, rehn, coleenp
(cherry picked from commit 6402004852)
2023-06-09 16:09:10 +07:00
Mandy Chung
0941211777 8309532: java/lang/Class/getDeclaredField/FieldSetAccessibleTest should filter modules that depend on JVMCI
Reviewed-by: alanb, dfuchs
(cherry picked from commit 02bce0b145)
2023-06-09 16:09:09 +07:00
Joe Darcy
bdc07abb13 8309574: Improve core reflection tests for JEP 445
Reviewed-by: mchung
(cherry picked from commit 4ffc8cc216)
2023-06-09 16:09:08 +07:00
Chris Plummer
b4dfcb4160 8309420: com/sun/jdi/StepTest.java fails with virtual thread wrapper
Reviewed-by: sspitsyn, amenkov
(cherry picked from commit e3f3ac0825)
2023-06-09 16:09:07 +07:00
Chris Plummer
bfe5ca05e6 8309510: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method
Reviewed-by: sspitsyn, amenkov
(cherry picked from commit c38abbfcaa)
2023-06-09 16:09:06 +07:00
Joe Darcy
d2285b5d5d 8309503: Improve javax.lang.model tests for JEP 445
Reviewed-by: jlahoda, jjg, jlaskey
(cherry picked from commit c24b0bada2)
2023-06-09 16:09:05 +07:00
Chris Plummer
31d20952c0 8309509: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java fails with virtual test thread factory
Reviewed-by: sspitsyn, amenkov
(cherry picked from commit a54f4d4ab9)
2023-06-09 16:09:04 +07:00
Daniel D. Daugherty
60584a8cf8 8309614: [BACKOUT] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: azvegint
(cherry picked from commit 33bb64f24f)
2023-06-09 16:09:03 +07:00
JoKern65
ce7e174e01 8308288: Fix xlc17 clang warnings and build errors in hotspot
Reviewed-by: goetz, mbaesken
(cherry picked from commit 5b147eb5e4)
2023-06-09 16:09:02 +07:00
JoKern65
7884a8a411 8309225: Fix xlc17 clang 15 warnings in security and servicability
Reviewed-by: goetz, mdoerr, clanger
(cherry picked from commit 89f5bacaf6)
2023-06-09 16:09:01 +07:00
JoKern65
e78673adbe 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
(cherry picked from commit 6eddbe26dd)
2023-06-09 16:09:01 +07:00
Serguei Spitsyn
3a08166477 8307153: JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: amenkov, cjplummer
(cherry picked from commit 177e8327d6)
2023-06-09 16:09:00 +07:00
Aleksey Shipilev
d61653478d 8309543: Micro-optimize x86 assembler UseCondCardMark
Reviewed-by: kvn, mdoerr
(cherry picked from commit f0236edfba)
2023-06-09 16:08:59 +07:00
Alexander Zvegintsev
1a77364d8b 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots
Reviewed-by: prr, kizune, psadhukhan
(cherry picked from commit 9d7bf5329e)
2023-06-09 16:08:57 +07:00
Frederic Thevenet
af828a181b 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, mgronlun
(cherry picked from commit a1ab377d99)
2023-06-09 16:08:56 +07:00
Jorn Vernee
8307442519 8308445: Linker should check that capture state segment is big enough
Reviewed-by: mcimadamore
(cherry picked from commit c49129f545)
2023-06-09 16:08:56 +07:00
Jorn Vernee
8fc758cbad 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
(cherry picked from commit fa791119f0)
2023-06-09 16:08:55 +07:00
Jim Laskey
5ae6f19643 8309594: Cleanup naming in JavacParser related to unnamed classes
Reviewed-by: jlahoda
(cherry picked from commit 16ebf47fe3)
2023-06-09 16:08:53 +07:00
Stefan Karlsson
646a548111 8307374: Add a JFR event for tracking RSS
Reviewed-by: stuefe, rcastanedalo
(cherry picked from commit 5722903d53)
2023-06-09 16:08:52 +07:00
Eric Nothum
1e4caafc2b 8302145: ddepth should be uint in PhaseIdealLoop::register_node()
Reviewed-by: chagedorn, thartmann
(cherry picked from commit 1de40f360f)
2023-06-09 16:08:51 +07:00
Jim Laskey
9ca08e4cbb 8309568: javac crashes attempting to -Xprint on a class file of an unnamed class
Reviewed-by: darcy, jlahoda
(cherry picked from commit a6726b66db)
2023-06-09 16:08:50 +07:00
Boris Ulasevich
8654d31807 8305959: x86: Improve itable_stub
Reviewed-by: phh, shade, aph
(cherry picked from commit 8cdd95e8a2)
2023-06-09 16:08:49 +07:00
Matthias Baesken
001aa3e47d 8309297: Adjust ShenandoahHeap print_heap_regions_on
Reviewed-by: ysr, mdoerr
(cherry picked from commit 9233dcc838)
2023-06-09 16:08:48 +07:00
Dhamoder Nalla
f352d1ab9c 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
(cherry picked from commit 749d480193)
2023-06-09 16:08:47 +07:00
Jaikiran Pai
c8d47bafae 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: djelinski, dfuchs
(cherry picked from commit 3ccb3c0e09)
2023-06-09 16:08:46 +07:00
Serguei Spitsyn
dfc51517ef 8295976: GetThreadListStackTraces returns wrong state for blocked VirtualThread
Reviewed-by: cjplummer, amenkov
(cherry picked from commit a25b7b8b55)
2023-06-09 16:08:45 +07:00
Daniel Jeliński
b0f3a1eb5b 8309527: Improve test proxy performance
Reviewed-by: dfuchs, jpai
(cherry picked from commit fadcd65018)
2023-06-09 16:08:44 +07:00
Christian Hagedorn
970d3642af 8309472: IGV: Add dump_igv(custom_name) for improved debugging
Reviewed-by: roland, thartmann
(cherry picked from commit 0ed4af76c0)
2023-06-09 16:08:43 +07:00
Alan Bateman
4b3e0b1253 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

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

Reviewed-by: mchung
(cherry picked from commit 38cef2adbd)
2023-06-09 16:08:29 +07:00
Tom Rodriguez
9eb805a955 8309501: Remove workaround in bin/idea.sh for non standard JVMCI file layout
Reviewed-by: dnsimon, erikj

(cherry picked from commit 7edd0540e0)
2023-06-09 16:07:32 +07:00
Brian Burkhalter
bf01aee27c 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
(cherry picked from commit 9188142698)
2023-06-09 15:48:53 +07:00
Brian Burkhalter
bc05047270 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists
Reviewed-by: alanb
(cherry picked from commit d709c25cbf)
2023-06-09 15:48:52 +07:00
Jim Laskey
cb27e98475 8309534: @JEP(number=430, title="String Templates") should use default status
Reviewed-by: alanb
(cherry picked from commit ca6f07f9ab)
2023-06-09 15:48:51 +07:00
Rudi Horn
e31b6113bc 8308748: JNU_GetStringPlatformChars may write to String's internal memory array
Reviewed-by: dholmes, rriggs, alanb
(cherry picked from commit 8f0839bc55)
2023-06-09 15:48:50 +07:00
Pavel Rappo
4efd0f3cf4 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
(cherry picked from commit 01455a07a7)
2023-06-09 15:48:49 +07:00
Gui Cao
6a7b7f2b35 8309419: RISC-V: Relax register constraint for AddReductionVF & AddReductionVD nodes
Reviewed-by: fyang, luhenry, yzhu
(cherry picked from commit 7d25bf7722)
2023-06-09 15:48:48 +07:00
Dingli Zhang
1fdd194889 8309418: RISC-V: Make use of vl1r.v & vfabs.v pseudo-instructions where appropriate
Reviewed-by: fyang, luhenry, gcao
(cherry picked from commit 5146a58249)
2023-06-09 15:48:47 +07:00
Maxim Kartashev
0f31f6da89 8308875: java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java failed with 'Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null'
Reviewed-by: avu, prr
(cherry picked from commit 41bf2ad159)
2023-06-09 15:48:46 +07:00
quadhier
11aab9e6d7 8309346: Extend hs_err logging for all VM operations deriving from VM_GC_Operation
Reviewed-by: tschatzl, stefank
(cherry picked from commit a7a0913005)
2023-06-09 15:48:45 +07:00
Matthias Baesken
d422f0b9d3 8309340: Provide sctpHandleSocketErrorWithMessage
Reviewed-by: clanger
(cherry picked from commit 3b85f84f02)
2023-06-09 15:48:44 +07:00
Alan Bateman
72c9cb13ee 8309406: Change jdk.trackAllThreads to default to true
Reviewed-by: rpressler, mchung, cjplummer
(cherry picked from commit 2e9eff5641)
2023-06-09 15:48:43 +07:00
Stuart Marks
ab21d919fd 8308167: SequencedMap::firstEntry throws NPE when first entry has null key or value
Reviewed-by: bchristi
(cherry picked from commit 6d155a47f1)
2023-06-09 15:48:42 +07:00
Serguei Spitsyn
3dfe49cc40 8304438: jcmd JVMTI.agent_load should obey EnableDynamicAgentLoading
Reviewed-by: cjplummer, alanb, amenkov
(cherry picked from commit 4b1534989b)
2023-06-09 15:48:41 +07:00
Doug Simon
58770321c4 8309136: [JVMCI] add -XX:+UseGraalJIT flag
Reviewed-by: dholmes, kvn
(cherry picked from commit b3c9d6785e)
2023-06-09 15:48:40 +07:00
Jim Laskey
977d4f91c1 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
(cherry picked from commit 98b53c06cf)
2023-06-09 15:48:39 +07:00
Calvin Cheung
f506bf05bd 8309170: CDS archive heap is always relocated for larger heap
Reviewed-by: stuefe, iklam
(cherry picked from commit e970ddbc60)
2023-06-09 15:48:38 +07:00
Adam Sotona
8d5c2d2f5d 8308842: Consolidate exceptions thrown from Class-File API
Reviewed-by: briangoetz
(cherry picked from commit 4b8922f576)
2023-06-09 15:48:37 +07:00
Joe Darcy
390b5f1381 8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
Reviewed-by: prappo
(cherry picked from commit 2b38343e4d)
2023-06-09 15:48:36 +07:00
Alexander Zvegintsev
4fa45eb884 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction
Reviewed-by: prr, psadhukhan
(cherry picked from commit 73352b68c4)
2023-06-09 15:48:35 +07:00
Antonios Printezis
146554306d 8308726: RISC-V: avoid unnecessary slli in the vectorized arraycopy stubs for bytes
Reviewed-by: fyang, luhenry
(cherry picked from commit 5cd8af7622)
2023-06-09 15:48:34 +07:00
Antonios Printezis
44026a6630 8308969: make test-prebuilt doesn't return the correct exit code
Reviewed-by: erikj
(cherry picked from commit 80232b7e75)
2023-06-09 15:48:33 +07:00
changpeng1997
854531785f 8309129: AArch64: guarantee(T != T2S) failed: "incorrect arrangement" after JDK-8307795
Reviewed-by: thartmann, xgong, eastigeevich
(cherry picked from commit 6d511f1376)
2023-06-09 15:48:32 +07:00
Jan Lahoda
87fbbb8c87 8291966: SwitchBootstrap.typeSwitch could be faster
Reviewed-by: asotona
(cherry picked from commit 9be5769a68)
2023-06-09 15:48:31 +07:00
Hannes Wallnöfer
d0078e8b61 8306578: Report error if no label given in @see and {@link} when no default is available
Reviewed-by: jjg
(cherry picked from commit db0857ddd8)
2023-06-09 15:48:30 +07:00
Prasanta Sadhukhan
3ffa1f0667 8296920: Regression Test DialogOrient.java fails on MacOS
Reviewed-by: honkar, dnguyen, achung, jdv
(cherry picked from commit 8c9d21e519)
2023-06-09 15:48:29 +07:00
Christoph Langer
3e0ad99cdf 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Reviewed-by: mbaesken, weijun
(cherry picked from commit ac41c03003)
2023-06-09 15:48:29 +07:00
David Leopoldseder
d21848f653 8309104: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal
Reviewed-by: dnsimon, thartmann
(cherry picked from commit 11fb5b2209)
2023-06-09 15:48:28 +07:00
Vladimir Kempik
32d52e41fd 8309405: RISC-V: is_deopt may produce unaligned memory read
Reviewed-by: fyang, luhenry
(cherry picked from commit a02d8001fa)
2023-06-09 15:48:27 +07:00
Roberto Castañeda Lozano
b0bb7c39b3 8302673: [SuperWord] MaxReduction and MinReduction should vectorize for int
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: epeter, kvn
(cherry picked from commit 3fa776d66a)
2023-06-09 15:48:26 +07:00
Emanuel Peter
382b9dd374 8309268: C2: "assert(in_bb(n)) failed: must be" after JDK-8306302
Reviewed-by: rcastanedalo, kvn, thartmann
(cherry picked from commit 22a9a86be0)
2023-06-09 15:48:25 +07:00
Jan Lahoda
cf2316d47f 8305225: A service broken error despite annotation processor generating it if directives listed
Reviewed-by: asotona
(cherry picked from commit b6c9232b8b)
2023-06-09 15:48:24 +07:00
Jan Lahoda
e96bf21262 8309336: Incorrect switch in enum not reported properly
Reviewed-by: vromero
(cherry picked from commit 05fb6c6648)
2023-06-09 15:48:23 +07:00
Gui Cao
7fca1a198a 8309332: RISC-V: Improve PrintOptoAssembly output of vector nodes
Reviewed-by: yzhu, fyang
(cherry picked from commit 08c91c2212)
2023-06-09 15:48:22 +07:00
Chris Plummer
3a41c7cddd 8309334: ProcessTools.main() does not properly set thread names when using the virtual thread wrapper
Reviewed-by: amenkov, lmesnik, sspitsyn, alanb
(cherry picked from commit ecb17532dc)
2023-06-09 15:48:21 +07:00
Jaikiran Pai
9664b866e2 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
(cherry picked from commit ac1597bcc7)
2023-06-09 15:48:20 +07:00
Chris Plummer
716ad3a93b 8309391: Remove non-failing tests from test/jdk/ProblemList-Virtual.txt
Reviewed-by: dcubed, lmesnik
(cherry picked from commit fdb5893bf0)
2023-06-09 15:48:19 +07:00
Guoxiong Li
1e252c1e57 8309265: Serial: Remove the code related to GC overheap limit
Reviewed-by: ayang, tschatzl
(cherry picked from commit 6edd786bf6)
2023-06-09 15:48:18 +07:00
Dingli Zhang
95ee9cafa5 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V
Reviewed-by: luhenry, yzhu, fyang, fjiang
(cherry picked from commit 61bb014a86)
2023-06-09 15:48:17 +07:00
Alex Menkov
8c7c91a6fa 8308978: regression with a deadlock involving FollowReferences
Reviewed-by: sspitsyn, lmesnik
(cherry picked from commit 62c935d4fa)
2023-06-09 15:48:16 +07:00
Joe Wang
2ae3bbee63 8303530: Redefine JAXP Configuration File
Reviewed-by: naoto, lancea, alanb, smarks
(cherry picked from commit aff9cea054)
2023-06-09 15:48:15 +07:00
Chris Plummer
21ad939f7b 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit
Reviewed-by: sspitsyn, lmesnik, amenkov
(cherry picked from commit 1bb037bdc6)
2023-06-09 15:48:14 +07:00
Mandy Chung
6713afaa28 8309241: ClassForNameLeak fails intermittently as the class loader hasn't been unloaded
Reviewed-by: dnsimon, bchristi
(cherry picked from commit a23bbea959)
2023-06-09 15:48:13 +07:00
Daniel Fuchs
0e61326a75 8309200: java/net/httpclient/ExecutorShutdown fails intermittently, if connection closed during upgrade
Reviewed-by: jpai, djelinski
(cherry picked from commit 931913fbb2)
2023-06-09 15:48:12 +07:00
Andrew Haley
389dc61519 8296411: AArch64: Accelerated Poly1305 intrinsics
Reviewed-by: redestad, adinn
(cherry picked from commit dc21e8aa83)
2023-06-09 15:48:11 +07:00
Poonam Bajaj
d5381fc93e 8303215: Make thread stacks not use huge pages
Reviewed-by: stuefe, dholmes
(cherry picked from commit 59d9d9fcb9)
2023-06-09 15:48:08 +07:00
Albert Mingkun Yang
40e00d8a46 8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen
Reviewed-by: tschatzl
(cherry picked from commit cb1e5e3f0f)
2023-06-09 15:48:06 +07:00
Stefan Karlsson
cc21938e01 8309210: Extend VM Operations hs_err logging
Reviewed-by: dholmes, stuefe, eosterlund, sjohanss
(cherry picked from commit e8268d9163)
2023-06-09 15:48:05 +07:00
Christian Hagedorn
2f3d643ce9 8308892: Bad graph detected in build_loop_late after JDK-8305635
Reviewed-by: rcastanedalo, roland, thartmann
(cherry picked from commit 7dbdad50a6)
2023-06-09 15:48:04 +07:00
Severin Gehwolf
9153f78d16 8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
(cherry picked from commit dc8bc6c98c)
2023-06-09 15:48:03 +07:00
Jan Kratochvil
3119ba47fd 8309287: Add fontconfig requirement to building.md for Debian
Reviewed-by: erikj
(cherry picked from commit 73e7af9e28)
2023-06-09 15:48:01 +07:00
Sibabrata Sahoo
c2d74a9e26 8308711: Develop additional Tests for KEM implementation
Reviewed-by: weijun
(cherry picked from commit aeb53e67f9)
2023-06-09 15:48:00 +07:00
JoKern65
43797eed21 8309224: Fix xlc17 clang 15 warnings in java.desktop
Reviewed-by: prr, goetz

(cherry picked from commit dcd9590fed)
2023-06-09 15:44:31 +07:00
Erik Österlund
1514affc90 8308752: Generational ZGC: Avoid final marking through stack chunks
Reviewed-by: stefank, aboldtch
(cherry picked from commit 8f1ce78907)
2023-06-09 15:31:46 +07:00
Axel Boldt-Christmas
92039362c6 8308387: CLD created and unloading list sharing _next node pointer leads to concurrent YC missing CLD roots
Reviewed-by: stefank, coleenp, dholmes, eosterlund
(cherry picked from commit 7b0a33600e)
2023-06-09 15:31:45 +07:00
Roberto Castañeda Lozano
06ad013a7c 8309295: C2: MaxNode::signed_min() returns nullptr for int operands
Reviewed-by: thartmann
(cherry picked from commit 60f3b87d96)
2023-06-09 15:31:44 +07:00
Aggelos Biboudis
afb7b0644b 8309093: Underscore with brackets
Reviewed-by: jlahoda
(cherry picked from commit 8007599756)
2023-06-09 15:31:43 +07:00
Alan Bateman
6b9258f66f 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents
Reviewed-by: sspitsyn, cjplummer
(cherry picked from commit 5bd2af26e6)
2023-06-09 15:31:42 +07:00
Tejesh R
7c1cd7cdde 8307105: JFileChooser InvalidPathException when selecting some system folders on Windows
Reviewed-by: aivanov, abhiscxk, dnguyen
(cherry picked from commit 325940b091)
2023-06-09 15:31:41 +07:00
Matias Saavedra Silva
2472c1fc8e 8308891: TestCDSVMCrash.java needs @requires vm.cds
Reviewed-by: dcubed
(cherry picked from commit 101bf2290d)
2023-06-09 15:31:40 +07:00
Doug Simon
4d170d845e 8308954: [JVMCI] code installation increments decompile_count for call_site_target_value failures
Reviewed-by: never
(cherry picked from commit 2bb1972483)
2023-06-09 15:31:39 +07:00
Martin Doerr
d2217a7566 8308469: [PPC64] Implement alternative fast-locking scheme
Reviewed-by: rrich, lucy
(cherry picked from commit 0ab09630c6)
2023-06-09 15:31:38 +07:00
Zdenek Zambersky
5d03f413cb 8309138: Fix container tests for jdks with symlinked conf dir
Reviewed-by: sgehwolf
(cherry picked from commit ec55539534)
2023-06-09 15:31:37 +07:00
Chris Plummer
6d0ebf2abc 8309146: extend JDI StackFrame.setValue() and JDWP StackFrame.setValues minimal support for virtual threads
Reviewed-by: sspitsyn, alanb
(cherry picked from commit e8271649e0)
2023-06-09 15:31:37 +07:00
Chen Liang
51dc034412 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe
Reviewed-by: stsypanov, redestad
(cherry picked from commit be36096a19)
2023-06-09 15:31:35 +07:00
Chris Plummer
be55ae01dc 8308232: nsk/jdb tests don't pass -verbose flag to the debuggee
Reviewed-by: sspitsyn, lmesnik
(cherry picked from commit c6f20db945)
2023-06-09 15:31:34 +07:00
Mark Powers
e2ddcd8f0e 8307794: Test for HSS/LMS Signature Verification
Reviewed-by: mullan
(cherry picked from commit d987176412)
2023-06-09 15:31:33 +07:00
Ferenc Rakoczi
3916d25e0d 8298127: HSS/LMS Signature Verification
Reviewed-by: weijun, mullan
(cherry picked from commit 050425b141)
2023-06-09 15:31:32 +07:00
Adam Sotona
716c092251 8308856: jdk.internal.classfile.impl.EntryMap::nextPowerOfTwo math problem
Reviewed-by: jlahoda
(cherry picked from commit a6109bf1ea)
2023-06-09 15:31:32 +07:00
Jan Lahoda
d979d0dbc9 8308943: jdk.internal.le build fails on AIX
Reviewed-by: asotona
(cherry picked from commit 6adc242cf3)
2023-06-09 15:31:30 +07:00
Volker Simonis
6b1ad5666d 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: stuefe, rriggs
(cherry picked from commit 39f6d807db)
2023-06-09 15:31:29 +07:00
Aleksey Shipilev
35332fdf98 8308803: Improve java/util/UUID/UUIDTest.java
Reviewed-by: jpai, rriggs
(cherry picked from commit 4460429d7a)
2023-06-09 15:31:29 +07:00
Christian Hagedorn
a369ad132d 8307683: Loop Predication should not hoist range checks with trap on success projection by negating their condition
Reviewed-by: thartmann, roland
(cherry picked from commit dfd3da3f52)
2023-06-09 15:31:28 +07:00
Thomas Schatzl
5416fd0860 8308766: TLAB initialization may cause div by zero
Reviewed-by: shade, ayang
(cherry picked from commit 96ed1392d1)
2023-06-09 15:31:27 +07:00
Yanhong Zhu
b6b598bf96 8303417: RISC-V: Merge vector instructs with similar match rules
Reviewed-by: fyang, rehn, dzhang
(cherry picked from commit 6c7225f819)
2023-06-09 15:31:26 +07:00
Hao Sun
6f9c4e6159 8308503: AArch64: SIGILL when running with -XX:UseBranchProtection=pac-ret on hardware without PAC feature
Reviewed-by: aph, ngasson, dlong
(cherry picked from commit a46b5acc15)
2023-06-09 15:31:25 +07:00
Sandhya Viswanathan
d46d643a7a 8300865: C2: product reduction in ProdRed_Double is not vectorized
Reviewed-by: fgao, epeter, kvn
(cherry picked from commit f9ad7df4da)
2023-06-09 15:31:24 +07:00
Justin King
d5f89fea9f 8305320: DbgStrings and AsmRemarks are leaking
Reviewed-by: coleenp, fparain
(cherry picked from commit 8eda97dc8d)
2023-06-09 15:31:23 +07:00
Jonathan Gibbons
e0e58b0062 8309150: Need to escape " inside attribute values
Reviewed-by: prappo
(cherry picked from commit 09514745fc)
2023-06-09 15:31:22 +07:00
David Holmes
dc9d1d5014 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341
Reviewed-by: dcubed, gziemski
(cherry picked from commit 0119969816)
2023-06-09 15:31:21 +07:00
Dean Long
70624cf111 8308975: Fix signed integer overflow in compiler code, part 2
Reviewed-by: aph, coleenp, kvn
(cherry picked from commit f8a924a749)
2023-06-09 15:31:20 +07:00
Chris Plummer
b29ceb9e4f 8308819: add JDWP and JDI virtual thread support for ThreadReference.ForceEarlyReturn
Reviewed-by: sspitsyn, alanb
(cherry picked from commit 5531f6ba1b)
2023-06-09 15:31:19 +07:00
Daniel D. Daugherty
4640b9537d 8309236: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC and Generational ZGC again
Reviewed-by: bpb, azvegint
(cherry picked from commit e42a4b659a)
2023-06-09 15:31:18 +07:00
Brian Burkhalter
67b9d9b261 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
(cherry picked from commit 8dbd384003)
2023-06-09 15:31:17 +07:00
Roger Riggs
8de7a796c7 8304914: Use OperatingSystem, Architecture, and Version in jpackage
Reviewed-by: asemenyuk
(cherry picked from commit c3cd481a9a)
2023-06-09 15:31:16 +07:00
Chris Plummer
d501322e41 8309159: Some minor comment and code cleanup in jdk/com/sun/jdi/PopFramesTest.java
Reviewed-by: sspitsyn, lmesnik
(cherry picked from commit eae1f59da9)
2023-06-09 15:31:15 +07:00
Daniel D. Daugherty
1868e69088 8309230: ProblemList jdk/incubator/vector/Float64VectorTests.java on aarch64
8309231: ProblemList vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java

Reviewed-by: darcy
(cherry picked from commit 45473ef235)
2023-06-09 15:31:12 +07:00
Chen Liang
efd81cb6ba 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
(cherry picked from commit 78aa5f3fc1)
2023-06-09 15:31:10 +07:00
Xue-Lei Andrew Fan
7bfc3ad6f7 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
(cherry picked from commit 42ca6e6942)
2023-06-09 15:31:09 +07:00
Naoto Sato
9c12ec1bcb 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
(cherry picked from commit 1264902517)
2023-06-09 15:31:08 +07:00
Matthias Baesken
fffcd2f3ab 8308872: enhance logging and some exception in krb5/Config.java
Reviewed-by: weijun
(cherry picked from commit 70670b4af6)
2023-06-09 15:31:07 +07:00
Matias Saavedra Silva
a006a7d290 8308910: Allow executeAndLog to accept running process
Reviewed-by: ccheung, iklam
(cherry picked from commit 024d9b131d)
2023-06-09 15:31:06 +07:00
Emanuel Peter
7703b7df22 8308917: C2 SuperWord::output: assert before bailout with CountedLoopReserveKit
Reviewed-by: kvn, thartmann
(cherry picked from commit 25b9803056)
2023-06-09 15:31:05 +07:00
Yadong Wang
b7edca769a 8308765: RISC-V: Expand size of stub routines for zgc only
Reviewed-by: fjiang, fyang
(cherry picked from commit d66b6d8fd2)
2023-06-09 15:31:03 +07:00
Daniel Fuchs
d6c485a0c4 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently
Reviewed-by: jpai
(cherry picked from commit 4aea7dab15)
2023-06-09 15:31:02 +07:00
Albert Mingkun Yang
e1fd31b718 8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable
Reviewed-by: dholmes
(cherry picked from commit a990322429)
2023-06-09 15:31:01 +07:00
Aggelos Biboudis
d6876c3c1a 8309054: Parsing of erroneous patterns succeeds
Reviewed-by: jlahoda
(cherry picked from commit 4f3a95af2f)
2023-06-09 15:30:59 +07:00
Johan Sjölen
7fe7c61596 8309044: Replace NULL with nullptr, final sweep of hotspot code
Reviewed-by: stefank, dholmes, kvn, amitkumar
(cherry picked from commit 4f16161607)
2023-06-09 15:30:58 +07:00
Leo Korinth
cd98db8b1e 8309048: Remove malloc locker test case
Reviewed-by: dholmes, tschatzl, coleenp, lmesnik
(cherry picked from commit 88236263dc)
2023-06-09 15:30:56 +07:00
Kim Barrett
7685dde64d 8240774: [REDO] G1DirtyCardQueue destructor has useless flush
Reviewed-by: dholmes, ayang, tschatzl
(cherry picked from commit 927a9ed683)
2023-06-09 15:30:55 +07:00
Dingli Zhang
fd68ea8d69 8308997: RISC-V: Sign extend when comparing 32-bit value with zero instead of testing the sign bit
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fjiang, fyang
(cherry picked from commit 119994f3ce)
2023-06-09 15:30:53 +07:00
Leonid Mesnik
f60435a570 8308986: Disable svc tests failing with virtual thread factory
Reviewed-by: dholmes, dcubed, sspitsyn
(cherry picked from commit 327733c93d)
2023-06-09 15:30:52 +07:00
Alexey Ushakov
3ed5db8e59 JBR-5704 displaySyncOFF: javax/swing/JDialog/Transparency/TransparencyTest.java: JDialog transparency lost upon iconify/deiconify sequence
Corrected startRedraw method to call setNeedsDisplay in displaySync=false mode

(cherry picked from commit bd291402b1)
2023-06-08 12:43:48 +02:00
Nikita Gubarkov
31bec5b54b JBR-5637 Linux: force release grabs before doing _NET_WM_MOVERESIZE. 2023-06-06 22:06:16 +02:00
Sergey Shelomentsev
258e860c9c fixup! JBR-5670 restore original display mode 2023-06-06 21:55:52 +03:00
Sergey Shelomentsev
559499ef3d JBR-5701 update source and target java version in J2DBench build file 2023-06-06 15:54:06 +03:00
Sergey Shelomentsev
7bd0a4f9b8 JBR-2870 add resression test for JPopupMenu
- verify that the popup menu is usable if overlaps WM's dock panel of the bottom of screen
2023-06-06 11:42:43 +03:00
Nikita Tsarev
34f54e4e9e JBR-5630: vmoption to change dead key reporting behavior on macOS 2023-06-02 17:38:29 +02:00
Nikita Tsarev
d9e8213d6a JBR-5469: Fix NextAppWinKey behavior with certain keys 2023-06-02 17:38:23 +02:00
Nikita Tsarev
f45ba83159 JBR-5558: macOS keyboard rewrite 2 2023-06-02 17:38:17 +02:00
Maxim Kartashev
7d51b5d1c0 JBR-5666 Wayland: WLToolkit doesn't work with weston
Multiple Wayland buffers support.
2023-06-02 19:05:40 +04:00
Vladislav Rassokhin
473c0e7675 JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit 4e2fa80e86)
2023-06-02 20:33:46 +07:00
Vladislav Rassokhin
c0fc88ae56 JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit ebb82ed952)
2023-06-02 20:33:45 +07:00
Vladislav Rassokhin
3c0fb6c09d tools/mac/scripts: minor improvements
* don't move into itself
* use `PKG_NAME` variable instead of `${APP_NAME}.pkg`
* cleanup sign.sh
* add `SCRIPT_VERBOSE` env variable to control `set -x`

(cherry picked from commit 45a9853b23)
2023-06-02 20:33:45 +07:00
Vladislav Rassokhin
6411043581 JBR-5600 Staple .pkg with signature
(cherry picked from commit e1dc322fd3)
2023-06-02 20:33:45 +07:00
Vladislav Rassokhin
5761732efc JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit f0f1734d50)
2023-06-02 20:33:44 +07:00
Vladislav Rassokhin
ae867dd13d JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 9cbf4e489b)
2023-06-02 20:33:44 +07:00
David Holmes
8c4aed5120 8308341: JNI_GetCreatedJavaVMs returns a partially initialized JVM
Reviewed-by: jsjolen, gziemski
(cherry picked from commit 1e6770fb97)
2023-06-02 18:39:01 +07:00
Joe Darcy
e1fde81faa 8309134: Augment test/langtools/tools/javac/versions/Versions.java for JDK 21 language changes
Reviewed-by: jjg
(cherry picked from commit cb40db052c)
2023-06-02 18:39:01 +07:00
Mandy Chung
447d381f5d 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
(cherry picked from commit de7fd1c306)
2023-06-02 18:38:59 +07:00
Valerie Peng
bc28eab97d 8297885: misc sun/security/pkcs11 tests timed out
Reviewed-by: xuelei
(cherry picked from commit 7891de331a)
2023-06-02 18:38:59 +07:00
Roger Riggs
ce6acc93c2 8308960: Decouple internal Version and OperatingSystem classes
Reviewed-by: mchung
(cherry picked from commit 323d6ceda6)
2023-06-02 18:38:58 +07:00
Joe Darcy
e219466fe1 8308987: Update java.lang.Class to use javadoc snippets
Reviewed-by: alanb
(cherry picked from commit 1b8e6bf31c)
2023-06-02 18:38:58 +07:00
Daniel Fuchs
7fb6eff67d 8307648: java/net/httpclient/ExpectContinueTest.java timed out
Reviewed-by: djelinski
(cherry picked from commit 04b0e785f6)
2023-06-02 18:38:57 +07:00
Weijun Wang
f81bdb9fbf 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
(cherry picked from commit 6b90b0519e)
2023-06-02 18:38:57 +07:00
Brian Burkhalter
a07e48d26e 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
(cherry picked from commit 21af8bae38)
2023-06-02 18:38:56 +07:00
Jorn Vernee
82be64576d 8308992: New test TestHFA fails with zero
Reviewed-by: mcimadamore
(cherry picked from commit 804f198c73)
2023-06-02 18:38:56 +07:00
Jasmine Karthikeyan
53be7e77af 8051725: Improve expansion of Conv2B nodes in the middle-end
Reviewed-by: thartmann, qamai, sviswanathan
(cherry picked from commit fb0b1f0c23)
2023-06-02 18:38:55 +07:00
Paul Hohensee
cddee5368d 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: dholmes, mchung
(cherry picked from commit 3eced01f9e)
2023-06-02 18:38:54 +07:00
Jie Fu
b608a35ff5 8309110: Build failure after JDK-8307795 due to warnings in micro-benchmark StoreMaskTrueCount.java
Reviewed-by: thartmann
(cherry picked from commit 15e028530a)
2023-06-02 18:38:54 +07:00
Antonios Printezis
6769e5140a 8308977: gtest:codestrings fails on riscv
Reviewed-by: fyang
(cherry picked from commit 4526282266)
2023-06-02 18:38:53 +07:00
changpeng1997
6aebb8deb0 8307795: AArch64: Optimize VectorMask.truecount() on Neon
Reviewed-by: aph, eliu
(cherry picked from commit f600d0369a)
2023-06-02 18:38:53 +07:00
Renjith
f077c476aa 8309095: Remove UTF-8 character from TaskbarPositionTest.java
Reviewed-by: aivanov
(cherry picked from commit 07f2070411)
2023-06-02 18:38:52 +07:00
Maurizio Cimadamore
e1a635436f 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Reviewed-by: jvernee
(cherry picked from commit 2b186e246e)
2023-06-02 18:38:52 +07:00
Erik Österlund
227afcd6d9 8308881: Strong CLD oop handle roots are demoted to non-roots concurrently
Reviewed-by: stefank, coleenp
(cherry picked from commit 78aac241b8)
2023-06-02 18:38:51 +07:00
Emanuel Peter
0e6521ce9c 8302670: use-after-free related to PhaseIterGVN interaction with Unique_Node_List and Node_Stack
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: thartmann, chagedorn, jcking
(cherry picked from commit 1f1f604071)
2023-06-02 18:38:51 +07:00
Tobias Hartmann
ffd88cefa8 8309077: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: chagedorn
(cherry picked from commit d35a550f6d)
2023-06-02 18:38:50 +07:00
Gui Cao
68d42b43d4 8308817: RISC-V: Support VectorTest node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fjiang, fyang
(cherry picked from commit 457e1cb827)
2023-06-02 18:38:50 +07:00
Ioi Lam
96216a61b3 8308906: Make CIPrintCompilerName a diagnostic flag
Reviewed-by: kvn, stuefe
(cherry picked from commit 7508d9f9e0)
2023-06-02 18:38:49 +07:00
Prasanta Sadhukhan
1906a97381 8309060: Compilation Error in javax/swing/event/FocusEventCauseTest.java
Reviewed-by: abhiscxk, aivanov
(cherry picked from commit a4bae3a9e2)
2023-06-02 18:38:49 +07:00
Renjith
7496c13940 8289547: Update javax/swing/Popup/TaskbarPositionTest.java
Reviewed-by: aivanov, dmarkov, honkar
(cherry picked from commit d73fc70ea2)
2023-06-02 18:38:48 +07:00
Markus Grönlund
ff6d2f47da 8307488: Incorrect weight of the first ObjectAllocationSample JFR event
Reviewed-by: egahlin
(cherry picked from commit 7cf6eecdc8)
2023-06-02 18:38:47 +07:00
Doug Simon
df91c85273 8308930: [JVMCI] TestUncaughtErrorInCompileMethod times out
Reviewed-by: never
(cherry picked from commit a5d8d59469)
2023-06-02 18:38:47 +07:00
Prasanta Sadhukhan
f497bf3056 8306119: Many components respond to a mouse event by requesting focus without supplying the MOUSE_EVENT cause
Reviewed-by: jdv
(cherry picked from commit 70130d3b16)
2023-06-02 18:38:46 +07:00
Albert Mingkun Yang
a62ae67460 8308948: Remove unimplemented ThreadLocalAllocBuffer::reset
Reviewed-by: tschatzl
(cherry picked from commit 6360b49931)
2023-06-02 18:38:45 +07:00
Dingli Zhang
7c364e3436 8308915: RISC-V: Improve temporary vector register usage avoiding the use of v0
Reviewed-by: yzhu, fyang
(cherry picked from commit e21f865d84)
2023-06-02 18:38:45 +07:00
Christian Stein
43d4facc14 8306560: Add TOOLING.jsh load file
Reviewed-by: jlahoda
(cherry picked from commit 547a8b40b3)
2023-06-02 18:38:44 +07:00
Gerard Ziemski
4c0961db3e 8306428: RunThese30M.java crashed with assert(early->flag() == current->flag() || early->flag() == mtNone)
Reviewed-by: jsjolen, stuefe
(cherry picked from commit ca54f4e007)
2023-06-02 18:38:44 +07:00
Erik Gahlin
25d3c8e6c2 8308876: JFR: Deserialization of EventTypeInfo uses incorrect attribute names
Reviewed-by: mgronlun
(cherry picked from commit 5fdb22f911)
2023-06-02 18:38:43 +07:00
Serguei Spitsyn
dc514f00cd 8308814: extend SetLocalXXX minimal support for virtual threads
Reviewed-by: cjplummer
(cherry picked from commit bd113ee048)
2023-06-02 18:38:43 +07:00
Hannes Wallnöfer
a272dbdf55 8286470: Support searching for sections in class/package javadoc
Reviewed-by: jjg
(cherry picked from commit a92363461d)
2023-06-02 18:38:43 +07:00
Calvin Cheung
1d5e9ef6b5 8308594: Use atomic bitset function for PackageEntry::_defined_by_cds_in_class_path
Reviewed-by: coleenp, lfoltan
(cherry picked from commit 55d297fdda)
2023-06-02 18:38:42 +07:00
Xue-Lei Andrew Fan
694d482fa3 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
(cherry picked from commit c72b547425)
2023-06-02 18:38:42 +07:00
Erik Gahlin
7372da0fe2 8308935: jdk.management.jfr.RecordingInfo.toString() lacks test coverage
Reviewed-by: mgronlun
(cherry picked from commit 77c5adb09e)
2023-06-02 18:38:41 +07:00
Ashutosh Mehra
dc4ef0f0e8 8308657: ReplayInline is not availabe in production build
Reviewed-by: kvn, roland, thartmann
(cherry picked from commit ce5251aff7)
2023-06-02 18:38:41 +07:00
Stefan Karlsson
0f27f4b246 8308589: gc/cslocker/TestCSLocker.java timed out
Reviewed-by: eosterlund
(cherry picked from commit cc0976bf7f)
2023-06-02 18:38:40 +07:00
Kevin Walls
66520b30af 8299665: /proc/self/stat parsing in libmanagement broken by execname with spaces
Reviewed-by: sspitsyn, amenkov
(cherry picked from commit 17ef8a44a9)
2023-06-02 18:38:40 +07:00
Tejesh R
7b58f3c48b 8306812: Open source several AWT Miscellaneous tests
Reviewed-by: psadhukhan
(cherry picked from commit c494770ca0)
2023-06-02 18:38:39 +07:00
Erik Österlund
375c694d9b 8308009: Generational ZGC: OOM before clearing all SoftReferences
Reviewed-by: stefank, aboldtch
(cherry picked from commit d3b9b364da)
2023-06-02 18:38:39 +07:00
Roland Westrelin
213b6712f7 8305189: C2 failed "assert(_outcnt==1) failed: not unique"
Reviewed-by: chagedorn, thartmann
(cherry picked from commit bac02b6e9d)
2023-06-02 18:38:38 +07:00
Johan Sjölen
6b9daf666e 8299974: Replace NULL with nullptr in share/adlc/
Reviewed-by: dlong, kvn
(cherry picked from commit 62537d200f)
2023-06-02 18:38:38 +07:00
Doug Simon
61c1759200 8308931: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: thartmann
(cherry picked from commit f09345b3a4)
2023-06-02 18:38:37 +07:00
Stefan Karlsson
1046189abe 8308844: ProblemList gc/z/TestHighUsage.java with Generational ZGC on windows x64
Reviewed-by: aboldtch, tschatzl
(cherry picked from commit 7c072dbd9d)
2023-06-02 18:38:37 +07:00
Tejesh R
bbc192bc8f 8306137: Open source several AWT ScrollPane related tests
Reviewed-by: aivanov
(cherry picked from commit 4becb7bcb6)
2023-06-02 18:38:36 +07:00
Roland Westrelin
042814e6e7 8308583: SIGSEGV in GraphKit::gen_checkcast
Reviewed-by: thartmann, kvn, never
(cherry picked from commit 199b1bf500)
2023-06-02 18:38:36 +07:00
Sergey Shelomentsev
bd49544ff5 JBR-5670 restore initial display mode after test execution 2023-06-02 14:29:28 +03:00
Sergey Shelomentsev
e0f6c712cb JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window 2023-06-02 14:29:24 +03:00
Maxim Kartashev
2626653c5d JBR-5658 Wayland: incorrect scaling of window content
The buffer scale is changed atomically with the size.
WLGraphicsConfig made immutable and is re-created when scaling changes.
WLGraphicsDevice is also re-created when its position changes.
2023-06-01 13:24:53 +04:00
Alexey Ushakov
faead95d98 JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID

(cherry picked from commit 9ba9286595)
2023-05-31 14:34:33 +02:00
Nikita Provotorov
55c8a871ec JBR-5668: The implementation of a11y announcing for macOS crashes with -Xcheck:jni.
- Create a global reference of the passed to EDT accessible object (the local reference) to use it in the AppKit thread ;
- Enable -Xcheck:jni in the tests ;
- Make the tests handle the problematic case .

(cherry picked from commit cba981df4b)
2023-05-30 17:53:16 +03:00
Sergey Shelomentsev
23f2a642dc JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest 2023-05-29 18:40:16 +03:00
Sergey Shelomentsev
6092ee64de JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking
2023-05-29 18:40:12 +03:00
Sergey Shelomentsev
c5cdfd13aa remove jb/java/awt/CustomTitleBar/MouseEventsOnClientArea.java 2023-05-29 17:18:31 +03:00
Sergey Shelomentsev
69fcc807ed JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events
2023-05-29 17:17:22 +03:00
Sergey Shelomentsev
c2d200da0b remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java 2023-05-29 15:29:35 +03:00
Sergey Shelomentsev
120f6a977c JBR-4494 pass ui scale options for child process 2023-05-29 15:29:30 +03:00
Justin Lu
71d23799bc 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
(cherry picked from commit 46c4da7fdd)
2023-05-26 19:27:21 +03:00
Daniel D. Daugherty
3eeec554d3 8308907: ProblemList java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java on linux-x64
8308908: ProblemList javax/sound/sampled/Clip/ClipIsRunningAfterStop.java on linux-x64
8308909: ProblemList sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java on linux-x64

Reviewed-by: mikael
(cherry picked from commit ee321c70e5)
2023-05-26 19:27:21 +03:00
Calvin Cheung
e42a8cf256 8308073: ClassLoaderExt::append_boot_classpath should handle dynamic archive
Reviewed-by: iklam, matsaave
(cherry picked from commit dc7683a051)
2023-05-26 19:27:20 +03:00
Erik Gahlin
817a6d5c5e 8304375: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Expected at least some events to be out of order! Reuse = false"
Reviewed-by: mgronlun
(cherry picked from commit 4870234552)
2023-05-26 19:27:20 +03:00
Ashutosh Mehra
b75a6280ea 8308672: Add version number in the replay file generated by DumpInline
Reviewed-by: kvn
(cherry picked from commit 7d2a7ce240)
2023-05-26 19:27:19 +03:00
Naoto Sato
fded148865 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
(cherry picked from commit 27ba8bd4ed)
2023-05-26 19:27:19 +03:00
Doug Simon
887d28aca1 8307125: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hits assert(!Continuation::is_frame_in_continuation(thread(), fr())) failed: No support for deferred values in continuations
Reviewed-by: never
(cherry picked from commit 89b3c375ac)
2023-05-26 19:27:18 +03:00
Erik Gahlin
3a552cc9a2 8306703: JFR: Summary views
Reviewed-by: mgronlun
(cherry picked from commit 98acce13d5)
2023-05-26 19:27:18 +03:00
Maurizio Cimadamore
07352f7a9c 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
(cherry picked from commit 534de6d8ae)
2023-05-26 19:27:17 +03:00
Tyler Steele
7a01257890 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
(cherry picked from commit 48d21bd089)
2023-05-26 19:27:17 +03:00
Michael McMahon
58fcc3e546 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto

(cherry picked from commit e7edf8d145)
2023-05-26 19:27:02 +03:00
Erik Gahlin
8016e48d24 8308335: JFR: Remove @Experimental from Virtual Threads events
Reviewed-by: alanb, mgronlun
(cherry picked from commit 90e57fd5a9)
2023-05-26 19:20:53 +03:00
Albert Mingkun Yang
8c09a8d7b5 8308098: G1: Remove redundant checks in G1ObjectCountIsAliveClosure
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit 7e2e05d836)
2023-05-26 19:20:52 +03:00
Coleen Phillimore
d89bb15be6 8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
(cherry picked from commit 2599ada152)
2023-05-26 19:20:51 +03:00
Roberto Castañeda Lozano
4441fc361e 8308746: C2 IR test failures for TestFpMinMaxReductions.java with SSE2
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: chagedorn, thartmann
(cherry picked from commit 5a0a238f67)
2023-05-26 19:20:51 +03:00
Pavel Rappo
30d8a28973 8308735: Typos in parameter names
Reviewed-by: naoto, iris, bpb
(cherry picked from commit 38367d3c3a)
2023-05-26 19:20:49 +03:00
Christian Hagedorn
749ffd5c0e 8305635: Replace Parse Predicate IfNode with new ParsePredicateNode and route predicate queries through dedicated classes
Reviewed-by: thartmann, kvn
(cherry picked from commit 4f096eb7c9)
2023-05-26 19:20:48 +03:00
Sergey Bylokhov
eca25204b0 8307132: Cleanup the code of sun.java2d.cmm.lcms package
Reviewed-by: prr
(cherry picked from commit f27bc59f85)
2023-05-26 19:20:48 +03:00
Jaikiran Pai
16d485b39a 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible
Reviewed-by: lmesnik
(cherry picked from commit 426ebf4fe9)
2023-05-26 19:20:47 +03:00
Axel Boldt-Christmas
796eb11233 8307958: Metaspace verification is slow causing extreme class unloading times
Reviewed-by: stuefe, coleenp
(cherry picked from commit 8d8153e98a)
2023-05-26 19:20:45 +03:00
Christian Stein
bcb1637ec5 8144891: ToolBox should use java.nio.file.Path internally, instead of java.io.File
Reviewed-by: jjg
(cherry picked from commit d87713440a)
2023-05-26 19:20:44 +03:00
Leo Korinth
05a8c43bd2 8308506: Reduce testing time by removing combinations tested
Reviewed-by: tschatzl, lmesnik
(cherry picked from commit aaa61899c9)
2023-05-26 19:20:43 +03:00
Aggelos Biboudis
54f4f334aa 8308727: Compiler should accept final unnamed variables in try-with-resources
Reviewed-by: jlahoda
(cherry picked from commit 4500bb7a67)
2023-05-26 19:20:41 +03:00
Hannes Wallnöfer
5a6f831906 8305710: Line breaks in search tags cause invalid JSON in index file
Reviewed-by: jjg
(cherry picked from commit 3272e2597a)
2023-05-26 19:20:40 +03:00
Hannes Wallnöfer
68b6723341 8305958: Use links instead of buttons for auto-generated header links
Reviewed-by: jjg
(cherry picked from commit 3f4abff59c)
2023-05-26 19:20:40 +03:00
Adam Sotona
aa90bcc0f8 8308549: Classfile API should fail to generate over-sized Code attribute
Reviewed-by: mchung
(cherry picked from commit bfcae68ed1)
2023-05-26 19:20:39 +03:00
Vladimir Kempik
87dc6004e7 8308656: RISC-V: vstring_compare doesnt manifest usage of all vector registers
Reviewed-by: yzhu, fyang
(cherry picked from commit 2a18e537d6)
2023-05-26 19:20:38 +03:00
Guoxiong Li
72fbf5db95 8288619: Unexpected parsing for @see
Reviewed-by: jjg
(cherry picked from commit a291f002cd)
2023-05-26 19:20:37 +03:00
Serguei Spitsyn
ac96444ba5 8308400: add ForceEarlyReturn support for virtual threads
Reviewed-by: alanb, lmesnik
(cherry picked from commit 89b99143ac)
2023-05-26 19:20:36 +03:00
Chen Liang
a6dd1f22e4 8307652: sealed class hierarchy graph doesn't distinguish non-sealed classes
Reviewed-by: pminborg, jjg
(cherry picked from commit 1451ac1770)
2023-05-26 19:20:35 +03:00
Alex Menkov
e3c8db0437 8299414: JVMTI FollowReferences should support references from VirtualThread stack
Reviewed-by: sspitsyn, kevinw
(cherry picked from commit 207fbcb083)
2023-05-26 19:20:35 +03:00
Jim Laskey
3ff2db0179 8308040: Evaluate new public types in non-public classes
Reviewed-by: rriggs, darcy
(cherry picked from commit b44fa365ca)
2023-05-26 19:20:34 +03:00
Tom Rodriguez
71a4a029d4 8308291: compiler/jvmci/meta/ProfilingInfoTest.java fails with -XX:TieredStopAtLevel=1
Reviewed-by: kvn, chagedorn
(cherry picked from commit ac89e3045b)
2023-05-26 19:20:34 +03:00
Coleen Phillimore
daef083984 8297887: Update Siphash
Reviewed-by: lfoltan
(cherry picked from commit bacf652311)
2023-05-26 19:20:33 +03:00
Chris Plummer
5b8d406a04 8308237: add JDWP and JDI virtual thread support for ThreadReference.PopFrames
8308481: JDI TestScaffold does not support passing app arguments to the debuggee
8305632: Test com/sun/jdi/PopAndInvokeTest.java fails with OpaqueFrameException

Reviewed-by: alanb, sspitsyn, lmesnik
(cherry picked from commit 89f2d458a2)
2023-05-26 19:20:32 +03:00
Erik Gahlin
9921c84601 8307738: JFR: EventStream.openRepository() drops events
Reviewed-by: mgronlun
(cherry picked from commit d10467e27b)
2023-05-26 19:20:32 +03:00
Daniel Fuchs
928c2a5eb1 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
Reviewed-by: jpai
(cherry picked from commit 736b90d54b)
2023-05-26 19:20:31 +03:00
Martin Doerr
7a59c80189 8308761: New test TestHFA needs adaptation for JDK-8308276
Reviewed-by: mcimadamore, mbaesken
(cherry picked from commit 7764f46e9e)
2023-05-26 19:20:30 +03:00
Vitaly Provodin
d35559a45a fixup! IDEA-141456 Multimonitor HIDPI support for Linux 2023-05-26 19:19:55 +03:00
Maxim Kartashev
ef548335c4 8305578: X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions
Reviewed-by: avu, serb

(cherry picked from commit d7245f70e7)
2023-05-26 19:19:05 +03:00
Maxim Kartashev
cd781631a8 Revert "JBR-3688 PyCharm incredibly slow with fakexrandr"
This reverts commit 0aef3419
2023-05-26 19:11:50 +03:00
Vitaly Provodin
85f65db694 Revert "JBR-3813 Regression after fix for JBR-3688"
This reverts commit bc957c83b7.
2023-05-26 19:10:01 +03:00
Vitaly Provodin
a3045012ed Revert "JBR-3916 Deadlock in pGetBounds() on Linux"
This reverts commit 603509c6c4.
2023-05-26 19:09:49 +03:00
Viktor Klang
5de91a382c 8298066: java/util/concurrent/locks/Lock/OOMEInAQS.java timed out
Reviewed-by: alanb
(cherry picked from commit 544978cb76)
2023-05-26 19:07:22 +03:00
Thomas Schatzl
d64497e9a6 8171221: Remove -XX:+CheckMemoryInitialization
Reviewed-by: ayang, shade
(cherry picked from commit 65c8dbe693)
2023-05-26 19:07:22 +03:00
Xiaolin Zheng
d97eb806e1 8308091: Remove unused iRegIHeapbase() matching operand
Reviewed-by: fyang, thartmann
(cherry picked from commit 2d4d850813)
2023-05-26 19:07:21 +03:00
Emanuel Peter
3e8bcf5bae 8308758: Problemlist compiler/c2/irTests/TestVectorConditionalMove.java
Reviewed-by: chagedorn
(cherry picked from commit b7a84b0fd7)
2023-05-26 19:07:20 +03:00
Martin Doerr
8ba055c53b 8303040: linux PPC64le: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: jvernee, rrich
(cherry picked from commit 20f15352a3)
2023-05-26 19:07:19 +03:00
Tobias Holenstein
cc25f90747 8302736: Major performance regression in Math.log on aarch64
Reviewed-by: thartmann, dlong, aph
(cherry picked from commit 466ec300fc)
2023-05-26 19:07:18 +03:00
Doug Simon
b0c8a2522f 8308151: [JVMCI] capture JVMCI exceptions in hs-err
Reviewed-by: never
(cherry picked from commit 05c095cf39)
2023-05-26 19:07:18 +03:00
Emanuel Peter
b6432122b3 8306302: C2 Superword fix: use VectorMaskCmp and VectorBlend instead of CMoveVF/D
Reviewed-by: fgao, jbhateja
(cherry picked from commit beb75e651f)
2023-05-26 19:07:17 +03:00
Jamil Nimeh
f15bdf80a1 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
(cherry picked from commit 2836c34b64)
2023-05-26 19:07:16 +03:00
Chen Liang
0313218064 8306698: Add overloads to MethodTypeDesc::of
Reviewed-by: mchung
(cherry picked from commit 8ffa264cf0)
2023-05-26 19:07:15 +03:00
Valerie Peng
e1d80270e5 8301154: SunPKCS11 KeyStore deleteEntry results in dangling PrivateKey entries
Reviewed-by: weijun, hchao
(cherry picked from commit 6b27dad76e)
2023-05-26 19:07:15 +03:00
Daniel D. Daugherty
3dc13d4f76 8308716: ProblemList java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java with genzgc on windows-x64
8308718: ProblemList three mlvm/indy/func/jvmti tests on windows-x64 in Xcomp mode
8308720: ProblemList java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java on macosx-x64

Reviewed-by: azvegint, darcy
(cherry picked from commit ed0e956fc2)
2023-05-26 19:07:14 +03:00
Afshin Zafari
497683df17 8303942: os::write should write completely
Reviewed-by: coleenp, iklam, dholmes, mgronlun
(cherry picked from commit bddf48380e)
2023-05-26 19:07:13 +03:00
Quan Anh Mai
f7d1ab24b0 8306706: Support out-of-line code generation for MachNodes
Reviewed-by: thartmann, kvn
(cherry picked from commit ab241b3428)
2023-05-26 19:07:12 +03:00
Brian Burkhalter
d1301e4a06 8308016: Use snippets in java.io package
Reviewed-by: rriggs
(cherry picked from commit 710453c676)
2023-05-26 19:07:12 +03:00
Axel Boldt-Christmas
b40d6fe963 8308116: jdk.test.lib.compiler.InMemoryJavaCompiler.compile does not close files
Reviewed-by: lmesnik, stefank, jlahoda
(cherry picked from commit e9320f31dc)
2023-05-26 19:07:11 +03:00
changpeng1997
172745cbee 8307523: [vectorapi] Optimize MaskFromLongBenchmark.java
Reviewed-by: qamai, xgong, ngasson
(cherry picked from commit 97d3b2731e)
2023-05-26 19:07:10 +03:00
Jamil Nimeh
872a8f2c57 8305091: Change ChaCha20 cipher init behavior to match AES-GCM
Reviewed-by: djelinski, ascarpino
(cherry picked from commit bb0ff48aa9)
2023-05-26 19:07:09 +03:00
Jan Kratochvil
a19b282537 8308544: Fix compilation regression from JDK-8306983 on musl libc
Reviewed-by: bpb, stuefe
(cherry picked from commit c0c4d77192)
2023-05-26 19:07:07 +03:00
Daniel Fuchs
a80f5b32d3 8308565: HttpClient: Sanitize logging while stopping
Reviewed-by: jpai
(cherry picked from commit 9e196b3631)
2023-05-26 19:07:07 +03:00
Daniel Fuchs
6100f2ab46 8308545: java/net/httpclient/ShutdownNow.java fails with "stream 1 cancelled"
Reviewed-by: jpai
(cherry picked from commit 582ddeb2b2)
2023-05-26 19:07:06 +03:00
Jan Lahoda
a17ef3c75c 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method
Reviewed-by: vromero, godin
(cherry picked from commit 1cfb265bef)
2023-05-26 19:07:06 +03:00
Per Minborg
f610888b50 8308281: Java snippets in the FFM API need to be updated
Reviewed-by: mcimadamore
(cherry picked from commit eb11508eff)
2023-05-26 19:07:06 +03:00
Emanuel Peter
bf1604fedf 8305073: Fix VerifyLoopOptimizations - step 2 - verify idom
Reviewed-by: chagedorn, thartmann, kvn
(cherry picked from commit 26227a6ff8)
2023-05-26 19:07:05 +03:00
Aggelos Biboudis
056d810845 8305582: Compiler crash when compiling record patterns with var
Reviewed-by: vromero, jlahoda
(cherry picked from commit 80d7de7074)
2023-05-26 19:07:05 +03:00
Axel Boldt-Christmas
0808e432e9 8308500: ZStatSubPhase::register_start should not call register_gc_phase_start if ZAbort::should_abort()
Reviewed-by: stefank, eosterlund
(cherry picked from commit e55961331e)
2023-05-26 19:07:04 +03:00
Emanuel Peter
eb8d934a73 8260943: C2 SuperWord: Remove dead vectorization optimization added by 8076284
Reviewed-by: kvn, thartmann
(cherry picked from commit bdd240283e)
2023-05-26 19:07:04 +03:00
Amit Kumar
6352e7439a 8308403: [s390x] separate remaining_cargs from z_abi_160
Reviewed-by: mdoerr, lucy
(cherry picked from commit 4f0f776187)
2023-05-26 19:07:03 +03:00
Emanuel Peter
c545837a06 8302652: [SuperWord] Reduction should happen after loop, when possible
Reviewed-by: kvn, pli, jbhateja, sviswanathan
(cherry picked from commit 06b0a5e038)
2023-05-26 19:07:03 +03:00
Matthias Baesken
64b7431be4 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
(cherry picked from commit 69f508a2ac)
2023-05-26 19:07:01 +03:00
Adam Sotona
b5671ea52e 8308093: Disable language preview features use in JDK
Reviewed-by: liach, erikj, alanb, darcy
(cherry picked from commit c4408278d1)
2023-05-26 19:07:00 +03:00
Doug Simon
29ea3ef3eb 8306992: [JVMCI] mitigate more against JVMCI related OOME causing VM to exit
Reviewed-by: never
(cherry picked from commit 422128b70a)
2023-05-26 19:07:00 +03:00
Alan Bateman
bfa616e392 8308038: java/util/concurrent/ThreadPerTaskExecutor/ThreadPerTaskExecutorTest.java timed out
Reviewed-by: dfuchs, jpai
(cherry picked from commit fe8c689eee)
2023-05-26 19:06:59 +03:00
Alan Bateman
0cb7356888 8308235: ThreadContainer registry accumulates weak refs
Reviewed-by: jpai
(cherry picked from commit ada416e66c)
2023-05-26 19:06:59 +03:00
Ichiroh Takiguchi
c8344e2ee1 8308046: Move Solaris related charsets from java.base to jdk.charsets module
Reviewed-by: naoto
(cherry picked from commit 5d8ba938be)
2023-05-26 19:06:58 +03:00
Thomas Stuefe
82bf297c7d 8306507: [linux] Print number of memory mappings in error reports
Reviewed-by: adinn, sgehwolf
(cherry picked from commit 878162b362)
2023-05-26 19:06:58 +03:00
Johan Sjölen
cf0039ee07 8300086: Replace NULL with nullptr in share/c1/
Reviewed-by: thartmann, chagedorn
(cherry picked from commit 90d5041b6a)
2023-05-26 19:06:57 +03:00
Yi-Fan Tsai
cde240a2e1 8308465: Reduce memory accesses in AArch64 MD5 intrinsic
Reviewed-by: aph, phh
(cherry picked from commit 8474e693b4)
2023-05-26 19:06:57 +03:00
quadhier
7ef704d8d1 8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
(cherry picked from commit f99ad11dd1)
2023-05-26 19:06:57 +03:00
Joe Darcy
3dbf6f50c3 8308388: Update description of SourceVersion.RELEASE_21
Reviewed-by: iris
(cherry picked from commit d77a41033a)
2023-05-26 19:06:56 +03:00
Matias Saavedra Silva
512e4ae94b 8307190: Refactor ref_at methods in Constant Pool
Reviewed-by: coleenp, iklam
(cherry picked from commit 3f4cfbdd36)
2023-05-26 19:06:56 +03:00
Jiangli Zhou
19331d45c1 8308458: Windows build failure with disassembler.cpp(792): warning C4267: '=': conversion from 'size_t' to 'int'
Reviewed-by: jiefu
(cherry picked from commit 491bdeaa90)
2023-05-26 19:06:55 +03:00
Calvin Cheung
b97a6c9b4a 8308034: Some CDS tests need to use @requires vm.flagless
Reviewed-by: iklam
(cherry picked from commit b58980b73d)
2023-05-26 19:06:54 +03:00
George Adams
41c0897ad5 8307573: Implementation of JEP 449: Deprecate the Windows 32-bit x86 Port for Removal
Reviewed-by: erikj
(cherry picked from commit 29b8d3d9e7)
2023-05-26 19:06:53 +03:00
Maurizio Cimadamore
e86614a3a2 8308276: Change layout API to work with bytes, not bits
Reviewed-by: psandoz, pminborg
(cherry picked from commit 5fc9b5787d)
2023-05-26 19:06:52 +03:00
Maurizio Cimadamore
fec208a6b1 8287834: Add SymbolLookup::or method
Reviewed-by: psandoz
(cherry picked from commit 91aeb5de58)
2023-05-26 19:06:51 +03:00
Thomas Obermeier
d1228ae376 8307908: [ppc] Add failing RTM tests to ProblemList until 8307907 is fixed.
Reviewed-by: clanger, goetz
(cherry picked from commit 4f88437b7f)
2023-05-26 19:06:51 +03:00
Andrew Leonard
8694368a2a 8308407: libjvm library not reproducibly comparable between vendors
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: andrew, dholmes

(cherry picked from commit dc30e68651)
2023-05-26 19:06:11 +03:00
Matthew Donovan
069dc80037 8301381: Verify DTLS 1.0 cannot be negotiated
Reviewed-by: xuelei
(cherry picked from commit 18e2446420)
2023-05-26 19:05:16 +03:00
Prasanta Sadhukhan
a9e7af0243 8307311: Timeouts on one macOS 12.6.1 host of two Swing JTableHeader tests
Reviewed-by: dnguyen, azvegint
(cherry picked from commit b3cb82b859)
2023-05-26 19:05:16 +03:00
Alexander Zvegintsev
2d8a54a61e 8280993: [XWayland] Popup is not closed on click outside of area controlled by XWayland
Reviewed-by: prr
(cherry picked from commit 3d550f7485)
2023-05-26 19:05:16 +03:00
Darragh Clarke
5f957dec3e 7065228: To interpret case-insensitive string locale independently
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
(cherry picked from commit 05e99db466)
2023-05-26 19:05:15 +03:00
Jan Lahoda
ae64dbb4f2 8306983: Do not invoke external programs when switch terminal to raw mode on selected platforms
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: erikj, vromero, bpb
(cherry picked from commit a9705196ce)
2023-05-26 19:05:14 +03:00
Andrey Turbanov
92f5d6be02 8305785: Avoid redundant HashMap.containsKey call in java.util.regex
Reviewed-by: stsypanov, jpai
(cherry picked from commit 6b65e5754c)
2023-05-26 19:05:14 +03:00
Erik Österlund
0f3393da8e 8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
(cherry picked from commit 8011ba74a2)
2023-05-26 19:05:13 +03:00
Aggelos Biboudis
653e101c31 8302344: Compiler Implementation for Unnamed patterns and variables (Preview)
8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
(cherry picked from commit 8aa50288a1)
2023-05-26 19:05:12 +03:00
Leo Korinth
a9bdb0b7ce 8307804: Reorganize ArrayJuggle test cases
Reviewed-by: dholmes, lmesnik
(cherry picked from commit b588797900)
2023-05-26 19:05:11 +03:00
Serguei Spitsyn
eaacef32ac 8308000: add PopFrame support for virtual threads
Reviewed-by: lmesnik, alanb
(cherry picked from commit 928fcf9751)
2023-05-26 19:05:11 +03:00
Emanuel Peter
25e58cbfcf 8308084: C2 fix idom bug in PhaseIdealLoop::create_new_if_for_predicate
Reviewed-by: chagedorn, thartmann, kvn
(cherry picked from commit 41beb448d2)
2023-05-26 19:05:10 +03:00
Emanuel Peter
70dfc4f612 8307619: C2 failed: Not monotonic (AndI CastII LShiftI) in TestShiftCastAndNotification.java
Reviewed-by: chagedorn, thartmann
(cherry picked from commit b6a9f5c304)
2023-05-26 19:05:09 +03:00
Jan Lahoda
81d068fba0 8300543: Compiler Implementation for Pattern Matching for switch
8300545: Compiler Implementation for Record Patterns

Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, mcimadamore
(cherry picked from commit eaa80ad08c)
2023-05-26 19:05:08 +03:00
Ioi Lam
603dd11d81 8308342: Remove MetaspaceClosure::Ref::keep_after_pushing()
Reviewed-by: ccheung
(cherry picked from commit 5ccc962942)
2023-05-26 19:05:07 +03:00
Daniel D. Daugherty
e2adef86a0 8307783: runtime/reflect/ReflectOutOfMemoryError.java timed out
8308468: ProblemList containers/docker/TestMemoryAwareness.java on linux-x64
8308470: ProblemList javax/management/remote/mandatory/connection/BrokenConnectionTest.java on linux-all
8308471: ProblemList javax/management/remote/mandatory/loading/MissingClassTest.java on windows-x64 w/ loom
8308472: ProblemList javax/management/remote/mandatory/loading/RMIDownloadTest.java on windows-x64 w/ loom
8308473: ProblemList java/lang/instrument/NativeMethodPrefixAgent.java with loom

Reviewed-by: lmesnik
(cherry picked from commit a0f4a948bb)
2023-05-26 19:05:06 +03:00
Kevin Walls
0b6eca5c69 8304685: Fix whitespace parsing in libjdwp
Reviewed-by: cjplummer, amenkov, sspitsyn
(cherry picked from commit 939344b843)
2023-05-26 19:05:05 +03:00
Leonid Mesnik
1717ea49f0 8307962: Exclude gc/g1/TestSkipRebuildRemsetPhase.java fails with virtual test thread factory
Reviewed-by: sspitsyn
(cherry picked from commit 241455fcd1)
2023-05-26 19:05:05 +03:00
Justin Lu
144255ab1f 8308021: Update IANA Language Subtag Registry to Version 2023-05-11
Reviewed-by: lancea, naoto
(cherry picked from commit 34468e1c91)
2023-05-26 19:05:04 +03:00
Weijun Wang
aa4a00e69c 8305972: Update XML Security for Java to 3.0.2
Reviewed-by: mullan
(cherry picked from commit f0aebc8141)
2023-05-26 19:05:03 +03:00
Coleen Phillimore
a5213b8796 8308396: Fix offset_of conversion warnings in runtime code
Reviewed-by: amitkumar, jsjolen, fparain
(cherry picked from commit 265f40b4f7)
2023-05-26 19:05:02 +03:00
Brian Burkhalter
5a386f99da 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
(cherry picked from commit a5343fa605)
2023-05-26 19:05:01 +03:00
Maurizio Cimadamore
7e606a8d34 8308248: Revisit alignment of layout constants on 32-bit platforms
Reviewed-by: psandoz, pminborg
(cherry picked from commit 44218b1c9e)
2023-05-26 19:05:01 +03:00
Adam Sotona
395438c8c8 8308410: broken compilation of test\jdk\tools\launcher\exeJliLaunchTest.c
Reviewed-by: alanb
(cherry picked from commit 80ef5c228b)
2023-05-26 19:05:00 +03:00
Kick-it11
64fcdd888a 8306057: False arguments calling dispatch_base for aarch64
Reviewed-by: aph, fyang
(cherry picked from commit 326d778ccf)
2023-05-26 19:04:59 +03:00
Jie Fu
9afd832971 8308408: Build failure with -Werror=maybe-uninitialized in libjli/java.c with GCC8
Reviewed-by: alanb
(cherry picked from commit 690d3969b8)
2023-05-26 19:04:58 +03:00
Adam Sotona
25c19f9b3d 8303669: SelectVersion indexes past the end of the argv array
Reviewed-by: vromero
(cherry picked from commit fa14314853)
2023-05-26 19:04:58 +03:00
Raffaello Giulietti
9644542832 8132995: Matcher$ImmutableMatchResult should be optimized to reduce space usage
Reviewed-by: redestad, smarks
(cherry picked from commit 25868b95ee)
2023-05-26 19:04:57 +03:00
Aleksey Shipilev
949c2b8700 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey
Reviewed-by: xuelei
(cherry picked from commit 6765761075)
2023-05-26 19:04:56 +03:00
Dingli Zhang
36edb447b4 8307609: RISC-V: Added support for Extract, Compress, Expand and other nodes for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang
(cherry picked from commit 97ade57fb2)
2023-05-26 19:04:56 +03:00
Feilong Jiang
b8c24f8e88 8308277: RISC-V: Improve vectorization of Match.sqrt() on floats
Reviewed-by: fyang
(cherry picked from commit e520cdc882)
2023-05-26 19:04:55 +03:00
Maxim Kartashev
9631478eac JBR-5656 Builds of JDK 21 are reproducible by default 2023-05-26 11:15:26 +04:00
bourgesl
ed0651cbfd JBR-5651: Improved MTLVertexCache to merge consecutive full-tiles ie use 1 larger quad instead of many quads per row, full-tile is only using 1x1 pixel (full), applied to color, gradient & texture paints + fixed clang warnings
(cherry picked from commit ff9ecea896)
2023-05-24 11:22:54 +02:00
bourgesl
1ec3aa5ead JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer
(cherry picked from commit 071d81d294)
2023-05-24 11:22:54 +02:00
Maxim Kartashev
fc1bdbb506 JBR-5657 Wayland: sometimes there's a deadlock at the start
Don't exit from toolkit initialization until all the necessary
information has been received from the Wayland server.
2023-05-20 18:49:37 +04:00
Maxim Kartashev
4edf0ca518 JBR-5655 java/awt/Toolkit/Wayland/WaylandToolkit.java: WLToolkit not found
WLToolkit made operational in headless mode
2023-05-20 11:40:29 +04:00
Vitaly Provodin
6fd5df6487 update exclude list on results of 21_b126.4 test runs 2023-05-19 18:27:27 +07:00
Leonid Mesnik
98a2ea3f16 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks
Reviewed-by: sspitsyn, cjplummer
(cherry picked from commit 42948c04b9)
2023-05-19 18:27:26 +07:00
Chris Plummer
3f056f3a19 8308187: jdi/EventSet/resume/resume008 failed with "EventHandler> Unexpected event: ThreadStartEvent in thread resume008-thread0"
Reviewed-by: dcubed
(cherry picked from commit 4a6d6d5a59)
2023-05-19 18:27:26 +07:00
Weijun Wang
a668c42a78 8308010: X509Key and PKCS8Key allows garbage bytes at the end
Reviewed-by: mullan
(cherry picked from commit 148df533af)
2023-05-19 18:27:26 +07:00
Ashutosh Mehra
dc16767f05 8308192: Error in parsing replay file when staticfield is an array of single dimension
Reviewed-by: thartmann, kvn
(cherry picked from commit d3feedf511)
2023-05-19 18:27:26 +07:00
Alexander Zvegintsev
0c055f4dc6 8308370: Fix build failures related to the java.awt.Robot documentation
Reviewed-by: dcubed
(cherry picked from commit 02dc95e6b9)
2023-05-19 18:27:26 +07:00
Alexander Zvegintsev
6b87ca01b5 8307779: Relax the java.awt.Robot specification
Reviewed-by: mkartashev, prr
(cherry picked from commit 21aa057faf)
2023-05-19 18:27:26 +07:00
Joe Darcy
37cd365248 8308245: Add -proc:full to describe current default annotation processing policy
Reviewed-by: vromero
(cherry picked from commit 42ecc8a37f)
2023-05-19 18:27:26 +07:00
Calvin Cheung
c20e192b25 8279993: Assert that a shared class is not loaded more than once
Reviewed-by: iklam, stuefe
(cherry picked from commit bb24c36759)
2023-05-19 18:27:25 +07:00
Alisen Chung
aacb764042 8307083: Open source some drag and drop tests 3
Reviewed-by: prr, serb
(cherry picked from commit 1b154e4fd3)
2023-05-19 18:27:25 +07:00
Jasmine Karthikeyan
2262680d26 8305787: Wrong debugging information printed with TraceOptoOutput
Reviewed-by: thartmann, kvn
(cherry picked from commit cc5c9b5da2)
2023-05-19 18:27:25 +07:00
Thomas Stuefe
8d8702a623 8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
(cherry picked from commit 808dc1b047)
2023-05-19 18:27:25 +07:00
Amit Kumar
621bcfced0 8308347: [s390x] build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
(cherry picked from commit a58e0ca9d2)
2023-05-19 18:27:25 +07:00
bobpengxie
86f11f343b 8308283: Build failure with GCC12 & GCC13
Reviewed-by: erikj, jiefu
(cherry picked from commit bfc3ccd90d)
2023-05-19 18:27:25 +07:00
Jan Kratochvil
4cf585eb70 8308290: Add fontconfig requirement to building.md
Reviewed-by: erikj
(cherry picked from commit 57b8ed1398)
2023-05-19 18:27:24 +07:00
Chen Liang
3628f36eb6 8306457: Classfile API components implementations should not be exposed
Reviewed-by: asotona
(cherry picked from commit 3c9ec26370)
2023-05-19 18:27:24 +07:00
Adam Sotona
452e1fd380 8306842: Classfile API performance improvements
Reviewed-by: redestad
(cherry picked from commit f4f5542f8d)
2023-05-19 18:27:24 +07:00
Thomas Stuefe
bfd86a3fed 8308285: Assert on -Xshare:dump when running with -Xlog:cds=trace
Reviewed-by: ccheung, iklam
(cherry picked from commit 95da499ef2)
2023-05-19 18:27:24 +07:00
Ioi Lam
61cce239a6 8308236: Remove SystemDictionaryShared::clone_dumptime_tables()
Reviewed-by: vlivanov, ccheung
(cherry picked from commit 6f75dd8741)
2023-05-19 18:27:24 +07:00
Boris Ulasevich
c30206e95a 8308270: ARM32 build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
(cherry picked from commit 83c096d6e2)
2023-05-19 18:27:24 +07:00
Jiangli Zhou
b608584fb0 8308110: Resolve multiple definition of 'JNI_OnLoad_jsound' linking error
Reviewed-by: alanb, rasbold
(cherry picked from commit 902585bec1)
2023-05-19 18:27:23 +07:00
Eric Caspole
134856e157 8307483: New micros for j.u.c.LockSupport
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: shade, redestad
(cherry picked from commit 6073edf3cd)
2023-05-19 18:27:23 +07:00
Patricio Chilano Mateo
dd92009413 8307365: JvmtiStressModule hit SIGSEGV in JvmtiEventControllerPrivate::recompute_thread_enabled
Reviewed-by: sspitsyn, dcubed, lmesnik
(cherry picked from commit 24094482f0)
2023-05-19 18:27:23 +07:00
Alisen Chung
e2941849e7 8307299: Move more DnD tests to open
Reviewed-by: prr, serb
(cherry picked from commit 950c5df859)
2023-05-19 18:27:23 +07:00
Leonid Mesnik
c822dc3ba1 8308292: Problemlist vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java
Reviewed-by: sspitsyn
(cherry picked from commit 8bedf2efd7)
2023-05-19 18:27:23 +07:00
Brian Burkhalter
41521b99c7 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
(cherry picked from commit 6d4782bc73)
2023-05-19 18:27:23 +07:00
Joe Darcy
e246e0c1c3 8308239: Tighten up accessibility of nested classes in java.lang.invoke
Reviewed-by: alanb
(cherry picked from commit f57c78337e)
2023-05-19 18:27:22 +07:00
Martin Doerr
343bfc2727 8308246: PPC64le build broken after JDK-8304913
Reviewed-by: shade, mbaesken
(cherry picked from commit 64f6681cc7)
2023-05-19 18:27:22 +07:00
Adam Sotona
90780f5a48 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
(cherry picked from commit 5763be7267)
2023-05-19 18:27:22 +07:00
JoKern65
dec40473d0 8306304: Fix xlc17 clang warnings in ppc and aix code
Reviewed-by: erikj, tsteele, mbaesken
(cherry picked from commit c7951cf674)
2023-05-19 18:27:22 +07:00
Erik Österlund
71c8d83019 8308043: Deadlock in TestCSLocker.java due to blocking GC while allocating
Reviewed-by: stefank, ayang, tschatzl
(cherry picked from commit 285c833ffa)
2023-05-19 18:27:22 +07:00
Jaikiran Pai
e3d9bbfd8d 8308185: Update Http2TestServerConnection to use SSLSocket.startHandshake()
Reviewed-by: djelinski
(cherry picked from commit 1a6f9810cd)
2023-05-19 18:27:22 +07:00
Aleksey Shipilev
25991e6163 8308088: Improve class check in CollectedHeap::is_oop
Reviewed-by: zgu, tschatzl, ayang, stuefe
(cherry picked from commit b300e73a4a)
2023-05-19 18:27:21 +07:00
Axel Boldt-Christmas
fbb35a42aa 8296469: Instrument VMError::report with reentrant iteration step for register and stack printing
Reviewed-by: eosterlund, stuefe

(cherry picked from commit e34ecc97e6)
2023-05-19 18:27:21 +07:00
Matthias Baesken
5ae3e58ae1 8308156: VerifyCACerts.java misses blank in error output
Reviewed-by: mullan, rhalade
(cherry picked from commit 5a92aae1d9)
2023-05-19 18:27:21 +07:00
Guoxiong Li
7c0bcfe51f 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
Reviewed-by: cjplummer, kevinw
(cherry picked from commit 2f1c65486b)
2023-05-19 18:27:21 +07:00
Ashutosh Mehra
3defc7aed7 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive
Reviewed-by: coleenp, iklam
(cherry picked from commit d3e5065284)
2023-05-19 18:27:21 +07:00
Leonid Mesnik
7909ddd8e1 8308223: failure handler missed jcmd.vm.info command
Reviewed-by: stefank
(cherry picked from commit 563152f32d)
2023-05-19 18:27:21 +07:00
Erik Helin
579ea03965 8307458: Add periodic heap usage JFR events
Reviewed-by: stefank, aboldtch
(cherry picked from commit cb8b8cdd68)
2023-05-19 18:27:20 +07:00
Naoto Sato
6bc1cbe2be 8307547: Support variant collations
Reviewed-by: srl, jlu, alanb
(cherry picked from commit f9a785e855)
2023-05-19 18:27:20 +07:00
Justin Lu
c6167ce338 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
(cherry picked from commit 4e92991809)
2023-05-19 18:27:20 +07:00
Chris Plummer
69f68bebe1 8306467: Fix nsk/jdb/kill/kill001 to work with new JVMTI StopThread support for virtual threads.
Reviewed-by: sspitsyn, amenkov
(cherry picked from commit 64d5157116)
2023-05-19 18:27:20 +07:00
Coleen Phillimore
1fbb56d122 8307533: Use atomic bitset functions for metadata flags
Reviewed-by: ccheung, kbarrett
(cherry picked from commit 488330d53b)
2023-05-19 18:27:20 +07:00
Stefan Karlsson
2315d604eb 8308097: Generational ZGC: Update constructor syntax
Reviewed-by: eosterlund, aboldtch
(cherry picked from commit 60ab1358da)
2023-05-19 18:27:20 +07:00
Stefan Karlsson
8dc4ccabac 8308092: Replace NULL with nullptr in gc/x
Reviewed-by: eosterlund, aboldtch, tschatzl, dholmes
(cherry picked from commit 599fa774b8)
2023-05-19 18:27:19 +07:00
Stefan Karlsson
376f6e619f 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Reviewed-by: kbarrett, tschatzl
(cherry picked from commit 682359cb48)
2023-05-19 18:27:19 +07:00
Johan Sjölen
b0ec881d16 8300081: Replace NULL with nullptr in share/asm/
Reviewed-by: coleenp
(cherry picked from commit 9d5bab11f0)
2023-05-19 18:27:19 +07:00
Amit Kumar
26a11ed22b 8278411: Implement UseHeavyMonitors consistently, s390 port
Reviewed-by: mdoerr, stuefe, lucy
(cherry picked from commit 41ee125a0f)
2023-05-19 18:27:19 +07:00
Stefan Karlsson
ee6d267603 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
Reviewed-by: dcubed
(cherry picked from commit 316bc79e0e)
2023-05-19 18:27:19 +07:00
Calvin Cheung
f1b191ceb1 8307315: Missing ResourceMark in CDS and JVMTI code
Reviewed-by: coleenp, iklam
(cherry picked from commit 8686a36b40)
2023-05-19 18:27:19 +07:00
Christoph Dreis
45d10ac8aa 8306860: Avoid unnecessary allocation in List.map() when list is empty
Reviewed-by: vromero
(cherry picked from commit 23cbb2d170)
2023-05-19 18:27:19 +07:00
Leonid Mesnik
379c09d0ba 8307369: Add execution of all svc tests in CI
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit be54b54fb3)
2023-05-19 18:27:18 +07:00
Christian Hagedorn
84f8b1ccc5 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
Reviewed-by: epeter, thartmann, roland
(cherry picked from commit 19c8c30d1c)
2023-05-19 18:27:18 +07:00
Daniel Fuchs
e3c0e7b9bf 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
Reviewed-by: djelinski, michaelm
(cherry picked from commit 72294c5402)
2023-05-19 18:27:18 +07:00
Doug Simon
3fbc2c1dc0 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
Reviewed-by: thartmann
(cherry picked from commit c9b6bb5bd7)
2023-05-19 18:27:18 +07:00
Kevin Walls
96d13c0647 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
Reviewed-by: dholmes, cjplummer
(cherry picked from commit 0790f704fd)
2023-05-19 18:27:18 +07:00
Serguei Spitsyn
3110867ca4 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
Reviewed-by: cjplummer, lmesnik
(cherry picked from commit c2ef302468)
2023-05-19 18:27:18 +07:00
Jaikiran Pai
82988fbe46 8307403: java/util/zip/DeInflate.java timed out
Reviewed-by: simonis, lancea
(cherry picked from commit d22bcc813e)
2023-05-19 18:27:17 +07:00
Jayathirth D V
a608326e99 8306638: Open source some AWT tests related to datatransfer and Toolkit
Reviewed-by: prr, serb, dnguyen
(cherry picked from commit 2210e06788)
2023-05-19 18:27:17 +07:00
Ioi Lam
122882d78e 8307567: Avoid relocating global roots to metaspaceObjs in CDS dump
Reviewed-by: matsaave, ccheung
(cherry picked from commit 05b51c75b9)
2023-05-19 18:27:17 +07:00
Justin Lu
ebbdcbb37e 8306597: Improve string formatting in EquivMapsGenerator.java
Reviewed-by: naoto
(cherry picked from commit 316837226e)
2023-05-19 18:27:17 +07:00
Joe Darcy
de6ada7596 8308049: Refactor nested class declarations in FdLibm.java
Reviewed-by: smarks
(cherry picked from commit 7b0b9b570b)
2023-05-19 18:27:17 +07:00
Chris Plummer
2eb5f2d683 8306593: Fix nsk/jdi/stop/stop001 for virtual threads and remove from problem list
Reviewed-by: lmesnik, sspitsyn
(cherry picked from commit cc80ada739)
2023-05-19 18:27:17 +07:00
Yi-Fan Tsai
e4edaddf8b 8307555: Reduce memory reads in x86 MD5 intrinsic
Reviewed-by: simonis, phh
(cherry picked from commit 43c8c650af)
2023-05-19 18:27:16 +07:00
Roger Riggs
6dbcd811be 8304913: Use OperatingSystem, Architecture, and Version in jlink
Reviewed-by: jpai, alanb, mchung
(cherry picked from commit 01892f9c6e)
2023-05-19 18:27:16 +07:00
Roger Riggs
1176cade28 8299340: CreateProcessW lpCommandLine must be mutable
Reviewed-by: naoto
(cherry picked from commit 0f7b1c549f)
2023-05-19 18:27:16 +07:00
Ioi Lam
e6bb5af04a 8307959: Remove explicit type casts from SerializeClosure::do_xxx() calls
Reviewed-by: matsaave, ccheung
(cherry picked from commit 57e7a3fbea)
2023-05-19 18:27:16 +07:00
Stefan Karlsson
013e4fba33 8307997: gtest:ZIndexDistributorTest fails on PPC64
Reviewed-by: mdoerr
(cherry picked from commit 97b2ca3de7)
2023-05-19 18:27:16 +07:00
Aleksey Shipilev
691290ae33 8308086: GHA: x86_32 host configuration failing with unmet dependencies
Reviewed-by: stuefe
(cherry picked from commit ffab1ea9e7)
2023-05-19 18:27:16 +07:00
Tobias Hartmann
59616f27a1 8303512: Race condition when computing is_loaded property of TypePtr::InterfaceSet
Reviewed-by: roland, qamai, kvn
(cherry picked from commit ad348a8cec)
2023-05-19 18:27:16 +07:00
gaogao-mem
d0b4f64a08 8305819: LogConfigurationTest intermittently fails on AArch64
Reviewed-by: aph, dholmes, xliu
(cherry picked from commit 911cc7cb07)
2023-05-19 18:27:15 +07:00
Tobias Hartmann
fb6c77d2b8 8308072: [BACKOUT] update for deprecated sprintf for src/utils
Reviewed-by: iris
(cherry picked from commit 8d49ba9e8d)
2023-05-19 18:27:15 +07:00
Julian Waters
edd439a447 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows
Reviewed-by: stuefe
(cherry picked from commit 0ee196bef1)
2023-05-19 18:27:15 +07:00
Vladimir Kempik
265cec2ade 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fjiang, fyang
(cherry picked from commit 3709344166)
2023-05-19 18:27:15 +07:00
Kim Barrett
a8ea4958bf 8307926: Support byte-sized atomic bitset operations
Reviewed-by: aboldtch, coleenp
(cherry picked from commit 646747fd7c)
2023-05-19 18:27:15 +07:00
Daniel D. Daugherty
7a864c4d7f 8305670: Performance regression in LockSupport.unpark with lots of idle threads
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: rehn, dholmes
(cherry picked from commit f030937a51)
2023-05-19 18:27:15 +07:00
Daniel D. Daugherty
5933fcc5c3 8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
Reviewed-by: dholmes, rehn, apangin
(cherry picked from commit ceca198ef2)
2023-05-19 18:27:14 +07:00
Daniel D. Daugherty
54576b581c 8307067: remove broken EnableThreadSMRExtraValidityChecks option
Reviewed-by: coleenp, dholmes, sspitsyn, rehn
(cherry picked from commit 5e26e64cbf)
2023-05-19 18:27:14 +07:00
Thomas Stuefe
db6227531f 8307935: Class space argument processing can be simplified
Reviewed-by: stefank, coleenp
(cherry picked from commit e54051ae9e)
2023-05-19 18:27:14 +07:00
Valerie Peng
dcc4dceba0 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
(cherry picked from commit 46e3d24a6f)
2023-05-19 18:27:14 +07:00
Alisen Chung
16198adeee 8307297: Move some DnD tests to open
Reviewed-by: prr, serb
(cherry picked from commit 3bf3876185)
2023-05-19 18:27:14 +07:00
Chen Liang
a75ec1f616 8300204: Sealed-class hierarchy graph missing nodes
Reviewed-by: jjg
(cherry picked from commit d8afc7beeb)
2023-05-19 18:27:14 +07:00
Chris Plummer
092bd789b3 8307480: Improve SA "transported core" documentation for windows
Reviewed-by: sspitsyn, kevinw, poonam
(cherry picked from commit 38838b344a)
2023-05-19 18:27:14 +07:00
Jonathan Gibbons
2430a4e07b 8306607: Apply 80-column output to javac supported version output
Reviewed-by: darcy
(cherry picked from commit 9842ff4129)
2023-05-19 18:27:13 +07:00
Chris Plummer
64a41c0da8 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
Reviewed-by: sspitsyn, alanb
(cherry picked from commit d809823fe4)
2023-05-19 18:27:13 +07:00
Justin Lu
90d87aeb0f 6714245: [Col] Collator - Faster Comparison for identical strings.
Reviewed-by: rriggs, naoto
(cherry picked from commit 4441a2306f)
2023-05-19 18:27:13 +07:00
Sergey Chernyshev
c05328d452 8168469: Memory leak in JceSecurity
Reviewed-by: valeriep
(cherry picked from commit a284920b34)
2023-05-19 18:27:13 +07:00
Jonathan Gibbons
cf05e3bf3f 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
Reviewed-by: jlaskey, darcy
(cherry picked from commit 7455bb23c1)
2023-05-19 18:27:13 +07:00
Maurizio Cimadamore
7a9bb8aac7 8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
Reviewed-by: jvernee
(cherry picked from commit 6ebea8973f)
2023-05-19 18:27:13 +07:00
Daniel Fuchs
36eb775c20 8307535: java.util.logging.Handlers should be more VirtualThread friendly
Reviewed-by: jpai
(cherry picked from commit 3c68c352fc)
2023-05-19 18:27:12 +07:00
Brian Burkhalter
147967a5d1 8307409: Refactor usage examples to use @snippet in the java.nio packages
Reviewed-by: alanb, rriggs
(cherry picked from commit 9fa8b9a4a6)
2023-05-19 18:27:12 +07:00
Thomas Schatzl
662662d1ef 8306541: Refactor collection set candidate handling to prepare for JDK-8140326
Reviewed-by: iwalulya, ayang
(cherry picked from commit e512a20679)
2023-05-19 18:27:12 +07:00
Xue-Lei Andrew Fan
34a31ac23a 8307855: update for deprecated sprintf for src/utils
Reviewed-by: thartmann
(cherry picked from commit 4b0f4213a5)
2023-05-19 18:27:12 +07:00
Afshin Zafari
24f5219624 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Reviewed-by: coleenp, thartmann
(cherry picked from commit 39dc40fed4)
2023-05-19 18:27:12 +07:00
Albert Mingkun Yang
76bdc0719d 8307808: G1: Remove partial object-count report after gc
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit f7bbbc6590)
2023-05-19 18:27:12 +07:00
Maurizio Cimadamore
709ed06a24 8307961: java/foreign/enablenativeaccess/TestEnableNativeAccess.java fails with ShouldNotReachHere
Reviewed-by: jvernee
(cherry picked from commit 13a3fce29e)
2023-05-19 18:27:12 +07:00
Kim Barrett
7adf53a730 8307806: Rename Atomic::fetch_and_add and friends
Reviewed-by: stefank, dholmes
(cherry picked from commit f09a0f5ca7)
2023-05-19 18:27:11 +07:00
Yasumasa Suenaga
069db40b53 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo
Reviewed-by: stuefe, sgehwolf, rcastanedalo, dholmes
(cherry picked from commit b6bcbc0cbc)
2023-05-19 18:27:11 +07:00
Afshin Zafari
8c5bc4b49a 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
Reviewed-by: coleenp, dholmes
(cherry picked from commit e1e758a7b4)
2023-05-19 18:27:11 +07:00
Thomas Schatzl
85f40189c9 8307518: Remove G1 workaround in jstat about zero sized generation sizes
Reviewed-by: kbarrett, ayang
(cherry picked from commit 1ce1611ead)
2023-05-19 18:27:11 +07:00
Xiaolin Zheng
fb84ad2a5e 8306667: RISC-V: Fix storeImmN0 matching rule by using zr register
Reviewed-by: shade, gli, fyang
(cherry picked from commit e32de7efd6)
2023-05-19 18:27:11 +07:00
Matthias Baesken
1736f0e326 8307891: ProblemList gtest/NMTGtest.java subtests on aix
Reviewed-by: mdoerr, lucy
(cherry picked from commit f3bd031ccd)
2023-05-19 18:27:11 +07:00
JoKern65
4585113c85 8307520: set minimum supported CPU architecture to Power8 on AIX
Reviewed-by: mbaesken, erikj
(cherry picked from commit 5f1f9460d7)
2023-05-19 18:27:10 +07:00
Jie Fu
a5d77d92b2 8307969: [zgc] Missing includes in gc/z/zTracer.cpp
Reviewed-by: stefank
(cherry picked from commit ccb4dd6144)
2023-05-19 18:27:10 +07:00
Abhishek Kumar
f6f56793e4 8306996: Open source Swing MenuItem related tests
Reviewed-by: dnguyen, honkar, psadhukhan
(cherry picked from commit 73491fa452)
2023-05-19 18:27:10 +07:00
Ningsheng Jian
7b6f536d5b 8307572: AArch64: Vector registers are clobbered by some macroassemblers
Reviewed-by: aph, adinn
(cherry picked from commit 33d9a85730)
2023-05-19 18:27:10 +07:00
Daniel D. Daugherty
f8a6030118 8307966: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-x64
Reviewed-by: naoto, lmesnik
(cherry picked from commit 9a7b4431ec)
2023-05-19 18:27:10 +07:00
Chris Plummer
e935ea772d 8307559: Add better checking in com/sun/jdi tests for debuggee exiting unexpectedly with an exception
Reviewed-by: kevinw, lmesnik
(cherry picked from commit 54c06d2d91)
2023-05-19 18:27:10 +07:00
Jie Fu
21ed164c32 8307945: Build of Client VM is broken after JDK-8307058
Reviewed-by: kvn
(cherry picked from commit ce5907727e)
2023-05-19 18:27:09 +07:00
Matias Saavedra Silva
d72f6cf369 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java
Reviewed-by: ccheung, iklam
(cherry picked from commit a667213ec5)
2023-05-19 18:27:09 +07:00
Joe Darcy
9c85f94c0c 8307954: Update string template regression tests to be robust on release updates
Reviewed-by: jlaskey
(cherry picked from commit 29b8242e07)
2023-05-19 18:27:09 +07:00
Guoxiong Li
bad88f29f8 8307653: Adjust delay time and gc log argument in TestAbortOnVMOperationTimeout
Reviewed-by: dholmes, dcubed
(cherry picked from commit 4f355c3525)
2023-05-19 18:27:09 +07:00
Xue-Lei Andrew Fan
47cde5c203 8307848: update for deprecated sprintf for jdk.attach
Reviewed-by: sspitsyn, cjplummer
(cherry picked from commit 15358636cf)
2023-05-19 18:27:09 +07:00
Xue-Lei Andrew Fan
04d35043f0 8307850: update for deprecated sprintf for jdk.jdi
Reviewed-by: cjplummer
(cherry picked from commit cbecf422df)
2023-05-19 18:27:09 +07:00
Dean Long
b7d2359913 8307139: Fix signed integer overflow in compiler code, part 1
Reviewed-by: thartmann, rcastanedalo, kvn
(cherry picked from commit 7fcb0fdcd4)
2023-05-19 18:27:08 +07:00
Robert Toyonaga
6e1bb82a57 8307298: JFR: Ensure jdk.jfr.internal.TypeLibrary is initialized only once
Reviewed-by: sgehwolf, egahlin
(cherry picked from commit 5d6cce0f85)
2023-05-19 18:27:08 +07:00
Serguei Spitsyn
75f4298063 8306034: add support of virtual threads to JVMTI StopThread
Reviewed-by: cjplummer
(cherry picked from commit 51b8f3cfb9)
2023-05-19 18:27:08 +07:00
Chris Plummer
ecbf0af211 8307885: com/sun/jdi/ConnectedVMs.java fails with "Invalid debuggee exitValue: 0"
Reviewed-by: kevinw, sspitsyn
(cherry picked from commit 489658dbd2)
2023-05-19 18:27:08 +07:00
Daniel Fuchs
3da61968f5 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances
Reviewed-by: aefimov, jpai
(cherry picked from commit 9ad38cbeaf)
2023-05-19 18:27:08 +07:00
Fredrik Bredberg
29e20aed33 8297657: name demangling intermittently fails
Reviewed-by: stefank, coleenp
(cherry picked from commit 2bf7ac58b7)
2023-05-19 18:27:07 +07:00
Stefan Karlsson
2d468db9cf 8307058: Implementation of Generational ZGC
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Erik Helin <ehelin@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: eosterlund, aboldtch, rcastanedalo
(cherry picked from commit d20034b09c)
2023-05-19 18:27:07 +07:00
Yudi Zheng
c386ee37c9 8307813: [JVMCI] Export markWord::lock_mask_in_place to JVMCI compilers.
Reviewed-by: dnsimon, kvn, never
(cherry picked from commit 0cbfbc400a)
2023-05-19 18:27:07 +07:00
Maurizio Cimadamore
1f6ed7400a 8307610: Linker::nativeLinker should not be restricted (mainline)
Reviewed-by: jvernee
(cherry picked from commit ba9714d44c)
2023-05-19 18:27:07 +07:00
Thomas Stuefe
f4db47b017 8307869: Remove unnecessary log statements from arm32 fastlocking code
Reviewed-by: shade
(cherry picked from commit ecc1d85dbe)
2023-05-19 18:27:07 +07:00
JoKern65
8ff640e3ed 8307349: Support xlc17 clang toolchain on AIX
Reviewed-by: erikj, mbaesken
(cherry picked from commit 08fa269886)
2023-05-19 18:27:06 +07:00
Thomas Stuefe
64dc32ea41 8305416: runtime/Thread/TestAlwaysPreTouchStacks.java failed with "Did not find expected NMT output"
Reviewed-by: dholmes, gziemski
(cherry picked from commit 8ac7186331)
2023-05-19 18:27:06 +07:00
Thomas Stuefe
3e254f1c9e 8307810: Consistently use LockingMode instead of UseHeavyMonitors
Reviewed-by: dcubed, mdoerr, dholmes, amitkumar
(cherry picked from commit 984fbbbcab)
2023-05-19 18:27:06 +07:00
Feilong Jiang
abd60979ef 8307758: RISC-V: Improve bit test code introduced by JDK-8291555
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang
(cherry picked from commit 39f4e4d3c3)
2023-05-19 18:27:06 +07:00
David Holmes
cddf753428 8306965: osThread allocation failures should not abort the VM
Reviewed-by: lfoltan
(cherry picked from commit 3cb606ef5b)
2023-05-19 18:27:06 +07:00
Justin Lu
e5108cb4c0 8281103: Give example for Locale that is English and follows the ISO standards
Reviewed-by: rriggs, lancea, naoto
(cherry picked from commit 4795c395e9)
2023-05-19 18:27:06 +07:00
Jonathan Gibbons
4ac510fe46 8307563: make most fields final in JavacTrees
Reviewed-by: vromero
(cherry picked from commit 958d4a7505)
2023-05-19 18:27:05 +07:00
Jonathan Gibbons
3d54f031f2 8307377: Remove use of tagName from TagletWriterImpl.linkSeeReferenceOutput
Reviewed-by: hannesw
(cherry picked from commit f250ab2c2a)
2023-05-19 18:27:05 +07:00
Ashutosh Mehra
bcf29793c4 8307765: DynamicArchiveHeader contents are missing in CDS mapfile
Reviewed-by: iklam, ccheung
(cherry picked from commit cc9f7ad9ce)
2023-05-19 18:27:05 +07:00
Daniel D. Daugherty
8bc911f28c 8307860: [BACKOUT] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj
(cherry picked from commit edc4adb77e)
2023-05-19 18:27:05 +07:00
Daniel D. Daugherty
2dfeb7b894 8307857: validate-source fails after JDK-8306758
Reviewed-by: rriggs, cjplummer
(cherry picked from commit df90df298e)
2023-05-19 18:27:05 +07:00
Chris Plummer
c6c8a86fb7 8306758: com/sun/jdi/ConnectedVMs.java fails with "Non-zero debuggee exitValue: 143"
Reviewed-by: amenkov, sspitsyn
(cherry picked from commit 268836482d)
2023-05-19 18:27:05 +07:00
Jiangli Zhou
f01f03421a 8307194: Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj, sgehwolf
(cherry picked from commit 1964954da9)
2023-05-19 18:27:04 +07:00
Kevin Walls
39a828fcf0 8307244: Remove redundant class RMIIIOPServerImpl
Reviewed-by: sspitsyn, dfuchs, alanb
(cherry picked from commit 9af1787ebe)
2023-05-19 18:27:04 +07:00
Viktor Klang
781496d2ec 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
(cherry picked from commit 8a95020ab6)
2023-05-19 18:27:04 +07:00
Archie Cobbs
06d8d90ebb 8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
(cherry picked from commit 0198afca3a)
2023-05-19 18:27:04 +07:00
Daniel D. Daugherty
2ce4be5c24 8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg @requires clause
Reviewed-by: rriggs, azvegint
(cherry picked from commit 1bca05eace)
2023-05-19 18:27:04 +07:00
Johan Sjölen
13c9196187 8300245: Replace NULL with nullptr in share/jfr/
Reviewed-by: mgronlun, coleenp
(cherry picked from commit cc396895e5)
2023-05-19 18:27:04 +07:00
Coleen Phillimore
20fa1ff156 8306843: JVMTI tag map extremely slow after JDK-8292741
Reviewed-by: sspitsyn, iklam
(cherry picked from commit 4251b56214)
2023-05-19 18:27:03 +07:00
Afshin Zafari
d45b1dca8e 8305082: Remove finalize() from test/hotspot/jtreg/runtime/linkResolver/InterfaceObjectTest.java
Reviewed-by: coleenp, dholmes
(cherry picked from commit ab34cb98c8)
2023-05-19 18:27:03 +07:00
Johannes Bechberger
9c591e37b2 8307732: build-test-lib is broken
Reviewed-by: erikj, djelinski
(cherry picked from commit 0da48f19cb)
2023-05-19 18:27:03 +07:00
Jim Laskey
6496dc2db6 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
(cherry picked from commit 4aa65cbeef)
2023-05-19 18:27:03 +07:00
Aleksei Efimov
e58fdb1ed9 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner
Reviewed-by: alanb, dfuchs, djelinski
(cherry picked from commit da2c930262)
2023-05-19 18:27:03 +07:00
Oli Gillespie
ee0cf64ec2 8307348: Parallelize heap walk for ObjectCount(AfterGC) JFR event collection
Reviewed-by: shade, ayang, tschatzl
(cherry picked from commit 540c706bbc)
2023-05-19 18:27:03 +07:00
Fredrik Bredberg
b2047c390a 8306930: Incorrect assert in BitMap::count_one_bits
Reviewed-by: stefank, tschatzl, kbarrett
(cherry picked from commit d993432d44)
2023-05-19 18:27:02 +07:00
Tobias Hotz
bd4cb3ec6b 8307351: (CmpI/L(AndI/L reg1 reg2)) on x86 can be optimized
Reviewed-by: sviswanathan, qamai, thartmann
(cherry picked from commit 4b4c80bb31)
2023-05-19 18:27:02 +07:00
Feilong Jiang
4d61b26940 8307651: RISC-V: stringL_indexof_char instruction has wrong format string
Reviewed-by: fyang
(cherry picked from commit d3e6d04e3e)
2023-05-19 18:27:02 +07:00
Serguei Spitsyn
80b574815a 8307399: get rid of compatibility ThreadStart/ThreadEnd events for virtual threads
Reviewed-by: alanb, pchilanomate, cjplummer
(cherry picked from commit 2be1f10fec)
2023-05-19 18:27:02 +07:00
Alex Menkov
31c5283018 8306027: Clarify JVMTI heap functions spec about virtual thread stack.
Reviewed-by: alanb, sspitsyn
(cherry picked from commit f5a6b7f7c0)
2023-05-19 18:27:02 +07:00
Leonid Mesnik
65357d44da 8307370: Add tier1 testing with thread factory in CI
Reviewed-by: sspitsyn
(cherry picked from commit a1c3adb88d)
2023-05-19 18:27:02 +07:00
Roger Riggs
7acffbe68e 8307466: java.time.Instant calculation bug in until and between methods
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: scolebourne, naoto
(cherry picked from commit 356667f155)
2023-05-19 18:27:01 +07:00
Alisen Chung
c66d3c27f7 8306881: Update FreeType to 2.13.0
Reviewed-by: prr, dnguyen
(cherry picked from commit 723582c524)
2023-05-19 18:27:01 +07:00
Alisen Chung
43e5822132 8307128: Open source some drag and drop tests 4
Reviewed-by: prr
(cherry picked from commit 98294242a9)
2023-05-19 18:27:01 +07:00
Leonid Mesnik
82447d7e12 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes
Reviewed-by: alanb
(cherry picked from commit 7f05f6f7c7)
2023-05-19 18:27:01 +07:00
Thiago Henrique Hüpner
3dcdccbd44 8304148: Remapping a class with Invokedynamic constant loses static bootstrap arguments
Reviewed-by: asotona
(cherry picked from commit dde557e312)
2023-05-19 18:27:01 +07:00
Justin Lu
8647dd2a36 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
(cherry picked from commit 82bcee76ea)
2023-05-19 18:27:00 +07:00
Leonid Mesnik
fefb1ff415 8307486: ProcessTools.java should wait until vthread is completed before checking exceptions
Reviewed-by: dholmes, alanb
(cherry picked from commit 3aff5eacbd)
2023-05-19 18:27:00 +07:00
Xue-Lei Andrew Fan
0999c40aa6 8303830: update for deprecated sprintf for jdk.accessibility
Reviewed-by: kizune
(cherry picked from commit 44fa12e751)
2023-05-19 18:27:00 +07:00
Viktor Klang
8b896995de 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
(cherry picked from commit fdbfc8a73b)
2023-05-19 18:27:00 +07:00
Matthew Donovan
ce0803e9ba 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
(cherry picked from commit 5842fd5beb)
2023-05-19 18:27:00 +07:00
Axel Boldt-Christmas
f35cee62a3 8306738: Select num workers for safepoint ParallelCleanupTask
Reviewed-by: shade, coleenp, tschatzl
(cherry picked from commit 672bade522)
2023-05-19 18:27:00 +07:00
Adam Sotona
e889481596 8305990: Stripping debug info of ASM 9.5 fails
Reviewed-by: mcimadamore
(cherry picked from commit a05560d993)
2023-05-19 18:27:00 +07:00
Josef Eisl
2b8b6f87ba 8307588: [JVMCI] HotSpotConstantPool#lookupBootstrapMethodInvocation broken by JDK-8301995
Reviewed-by: dnsimon, never, kvn
(cherry picked from commit 040cb7b5a9)
2023-05-19 18:26:59 +07:00
Maurizio Cimadamore
5141c38d45 8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: jvernee
(cherry picked from commit f92d095e16)
2023-05-19 18:26:59 +07:00
Maurizio Cimadamore
be2dc1e946 8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
Reviewed-by: jvernee
(cherry picked from commit 7a3bea1f6a)
2023-05-19 18:26:59 +07:00
Roland Westrelin
832e0936a4 8307131: C2: assert(false) failed: malformed control flow
Reviewed-by: kvn, chagedorn, thartmann
(cherry picked from commit d2b3eef0f2)
2023-05-19 18:26:59 +07:00
Chen Liang
3350208342 8304031: Classfile API cannot encode Primitive Class as Condy
Reviewed-by: asotona
(cherry picked from commit cd5d0ff5b2)
2023-05-19 18:26:59 +07:00
Sean Coffey
26135a9b02 8305950: Have -XshowSettings option display tzdata version
Reviewed-by: rriggs
(cherry picked from commit 07f55c5ea2)
2023-05-19 18:26:59 +07:00
Damon Nguyen
7805a97c32 8307130: Open source few Swing JMenu tests
Reviewed-by: prr
(cherry picked from commit d9052b9466)
2023-05-19 18:26:58 +07:00
Tom Rodriguez
b742c86e71 8299229: [JVMCI] add support for UseZGC
Reviewed-by: eosterlund, kvn
(cherry picked from commit 5e1fe43080)
2023-05-19 18:26:58 +07:00
Damon Nguyen
ea41491f42 8307165: java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
Reviewed-by: prr
(cherry picked from commit 14df5c130e)
2023-05-19 18:26:58 +07:00
Roman Kennke
615e7b8e92 8291555: Implement alternative fast-locking scheme
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: dcubed, stuefe, shade, dholmes, dlong

(cherry picked from commit 7f6358a8b5)
2023-05-19 18:26:58 +07:00
Volker Simonis
cf51f63cd8 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
(cherry picked from commit 4116b109f0)
2023-05-19 18:26:58 +07:00
Raffaello Giulietti
294548cce6 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
(cherry picked from commit 93ee19f58a)
2023-05-19 18:26:58 +07:00
Conor Cleary
e3236a1c00 8293786: HttpClient will not send more than 64 kb of data from the 2nd request in http2
Reviewed-by: dfuchs, djelinski
(cherry picked from commit ad90fb6da3)
2023-05-19 18:26:57 +07:00
Fredrik Bredberg
a39de464c1 8303153: Native interpreter frame missing mirror
Reviewed-by: coleenp, fyang
(cherry picked from commit 5a259d875e)
2023-05-19 18:26:57 +07:00
Darragh Clarke
f0ed74f621 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: djelinski, dfuchs
(cherry picked from commit 4b02956d42)
2023-05-19 18:26:57 +07:00
Tyler Steele
b7c1c12b8d 8304434: [AIX] Update minimum xlclang version
Reviewed-by: erikj, mbaesken
(cherry picked from commit 9f34e4f8d9)
2023-05-19 18:26:57 +07:00
Matthias Baesken
657148f37b 8307604: gcc12 based Alpine build broken build after JDK-8307301
Reviewed-by: lucy, mdoerr, erikj
(cherry picked from commit d2e0e534d7)
2023-05-19 18:26:57 +07:00
Zhengyu Gu
dc306be636 8307571: Remove unused SomeConstants in WatcherThread class
Reviewed-by: dholmes
(cherry picked from commit e91f0d3dba)
2023-05-19 18:26:57 +07:00
Dingli Zhang
e2263259d4 8306408: Fix the format of several tables in building.md
Reviewed-by: erikj
(cherry picked from commit 26755a9686)
2023-05-19 18:26:56 +07:00
Jie Fu
23a05bfac2 8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: erikj
(cherry picked from commit 64c0962866)
2023-05-19 18:26:56 +07:00
Matthias Baesken
57fd03dabf 8307603: [AIX] Broken build after JDK-8307301
Reviewed-by: mdoerr
(cherry picked from commit bb3e44d8b6)
2023-05-19 18:26:56 +07:00
Arno Zeller
e29828d686 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Reviewed-by: stuefe, cjplummer
(cherry picked from commit 5c7ede94ae)
2023-05-19 18:26:56 +07:00
Albert Mingkun Yang
b1614ffbb7 8307100: Remove ReferentBasedDiscovery reference discovery policy
Reviewed-by: kbarrett, dholmes, tschatzl
(cherry picked from commit 89b7d07597)
2023-05-19 18:26:56 +07:00
Hannes Wallnöfer
a5fbd144dd 8306285: Missing file in search test
Reviewed-by: jjg
(cherry picked from commit f6ea89795b)
2023-05-19 18:26:56 +07:00
Stefan Karlsson
c72505b97e 8307517: Add VMErrorCallback infrastructure to extend hs_err dumping
Reviewed-by: eosterlund, aboldtch, dholmes, stuefe

(cherry picked from commit 33245d6b38)
2023-05-19 18:26:56 +07:00
Stefan Karlsson
02c0d4bb6d 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Reviewed-by: dholmes, eosterlund
(cherry picked from commit 7a1cb64bc1)
2023-05-19 18:26:55 +07:00
Stefan Karlsson
e8f9e711ae 8307428: jstat tests doesn't tolerate dash in the O column
Reviewed-by: kevinw, cjplummer
(cherry picked from commit 68f385c1ca)
2023-05-19 18:26:55 +07:00
Amit Kumar
0ec1b84a52 8307423: [s390x] Represent Registers as values
Reviewed-by: mdoerr, lucy
(cherry picked from commit 8bbd264c6e)
2023-05-19 18:26:55 +07:00
Stefan Karlsson
e83b0f8775 8307521: Introduce check_oop infrastructure to check oops in the oop class
Reviewed-by: eosterlund, aboldtch, coleenp
(cherry picked from commit 959e62ca3e)
2023-05-19 18:26:55 +07:00
Emanuel Peter
d8b5086c60 8304720: SuperWord::schedule should rebuild C2-graph from SuperWord dependency-graph
Reviewed-by: kvn, fgao
(cherry picked from commit ad0e5a99ca)
2023-05-19 18:26:55 +07:00
Gui Cao
018b432012 8306966: RISC-V: Support vector cast node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fyang, fjiang
(cherry picked from commit 495f2688d6)
2023-05-19 18:26:55 +07:00
changpeng1997
c98461d3c0 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE
Reviewed-by: aph, eliu
(cherry picked from commit 0dca573ca5)
2023-05-19 18:26:54 +07:00
Alexander Zvegintsev
98f81dac77 8306941: Open source several datatransfer and dnd AWT tests
Reviewed-by: prr
(cherry picked from commit 3d3eaed913)
2023-05-19 18:26:54 +07:00
Feilong Jiang
84f6f7962c 8307446: RISC-V: Improve performance of floating point to integer conversion
Reviewed-by: fyang, vkempik, gli
(cherry picked from commit 1f57ce0a06)
2023-05-19 18:26:54 +07:00
Ioi Lam
56df1904c2 8307553: Remove dead code MetaspaceClosure::push_method_entry
Reviewed-by: coleenp, ccheung
(cherry picked from commit 4e4828eaff)
2023-05-19 18:26:54 +07:00
Alexander Zvegintsev
867d426cc6 8280031: Deprecate GTK2 for removal
Reviewed-by: prr
(cherry picked from commit 7d58978f62)
2023-05-19 18:26:54 +07:00
Weijun Wang
73261bc63f 8305846: Support compilation in Proc test utility
Reviewed-by: valeriep
(cherry picked from commit b5922c3b86)
2023-05-19 18:26:54 +07:00
Oli Gillespie
ed3e731e0b 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: alanb
(cherry picked from commit 73ac710533)
2023-05-19 18:26:53 +07:00
Leonid Mesnik
7023baef82 8306326: [BACKOUT] 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann, kvn
(cherry picked from commit e2b1013f11)
2023-05-19 18:26:53 +07:00
Harshitha Onkar
a14554e4e3 8307381: Open Source JFrame, JIF related Swing Tests
Reviewed-by: dnguyen, kizune
(cherry picked from commit 4386d42d31)
2023-05-19 18:26:53 +07:00
Matias Saavedra Silva
c0d30b3981 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Reviewed-by: iklam, ccheung
(cherry picked from commit 27764e6035)
2023-05-19 18:26:53 +07:00
Rajat Mahajan
05175760d7 6176679: Application freezes when copying an animated gif image to the system clipboard
Reviewed-by: aivanov, dmarkov
(cherry picked from commit 6c71859ac2)
2023-05-19 18:26:53 +07:00
Calvin Cheung
10616cf6a5 8306712: CDS DeterministicDump.java test fails with -XX:+UseStringDeduplication
Reviewed-by: iklam, matsaave
(cherry picked from commit 65a54883b3)
2023-05-19 18:26:53 +07:00
Harshitha Onkar
fd44499547 8307301: Update HarfBuzz to 7.2.0
Reviewed-by: prr
(cherry picked from commit d8b230c384)
2023-05-19 18:26:52 +07:00
Damon Nguyen
fe2df03908 8306871: Open source more AWT Drag & Drop tests
Reviewed-by: prr
(cherry picked from commit b5a48277ab)
2023-05-19 18:26:52 +07:00
Maurizio Cimadamore
53cc70028e 8307375: Alignment check on layouts used as sequence element is not correct
Reviewed-by: jvernee
(cherry picked from commit 47422be2d1)
2023-05-19 18:26:52 +07:00
Roman Kennke
27b101baeb 8307395: Add missing STS to Shenandoah
Reviewed-by: shade
(cherry picked from commit 3968ab5db5)
2023-05-19 18:26:52 +07:00
Roman Kennke
e158cbd329 8307236: Rendezvous GC threads under STS for monitor deflation
Reviewed-by: eosterlund, shade
(cherry picked from commit 12d6ec66a6)
2023-05-19 18:26:52 +07:00
Matias Saavedra Silva
3baf56f829 8307306: Change some ConstantPool::name_ref_at calls to uncached_name_ref_at
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: coleenp, fparain
(cherry picked from commit 6fe959c62d)
2023-05-19 18:26:52 +07:00
Matthew Donovan
10b51569a1 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Reviewed-by: ssahoo, jnimeh
(cherry picked from commit 3f6a3545a2)
2023-05-19 18:26:51 +07:00
Afshin Zafari
0fbe5ae376 8305084: Remove the removal warnings for finalize() from test/hotspot/jtreg/serviceability/dcmd/gc/FinalizerInfoTest.java and RunFinalizationTest.java
Reviewed-by: dholmes, cjplummer
(cherry picked from commit f143bf7c45)
2023-05-19 18:26:51 +07:00
Weibing Xiao
3c6757251c 8305714: Add an extra test for JDK-8292755
Reviewed-by: coffeys
(cherry picked from commit 746f8d1333)
2023-05-19 18:26:51 +07:00
Afshin Zafari
e4fa8e26be 8305080: Suppress the 'removal' warning for finalize() from test/hotspot/jtreg/compiler/jvmci/common/testcases that used in compiler/jvmci/compilerToVM/ tests
Reviewed-by: dnsimon, coleenp
(cherry picked from commit 1a1ce66dc9)
2023-05-19 18:26:51 +07:00
Adam Sotona
39dd2ab756 8250596: Update remaining manpage references from "OS X" to "macOS"
Reviewed-by: mullan, cjplummer, dholmes, sspitsyn
(cherry picked from commit 3b430b9f73)
2023-05-19 18:26:51 +07:00
Johan Sjölen
cce7e49451 8301493: Replace NULL with nullptr in cpu/aarch64
Reviewed-by: tschatzl, gziemski, dholmes
(cherry picked from commit 948f3b3c24)
2023-05-19 18:26:51 +07:00
Andrew Dinn
3911f60ab6 8307331: Correctly update line maps when class redefine rewrites bytecodes
Reviewed-by: sspitsyn
(cherry picked from commit f94f957734)
2023-05-19 18:26:50 +07:00
Thomas Schatzl
85359356fd 8307421: Fix comment in g1CollectionSetChooser.hpp after JDK-8306836
Reviewed-by: shade
(cherry picked from commit 302bc2fd7f)
2023-05-19 18:26:50 +07:00
Kim Barrett
b4dc0e324e 8307196: Dangling pointer warning for MetadataAllocationRequest
Reviewed-by: dholmes, eosterlund
(cherry picked from commit e19cf26d65)
2023-05-19 18:26:50 +07:00
William Kemper
f59066b595 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: kdnilsen, stefank
(cherry picked from commit 1b143ba787)
2023-05-19 18:26:50 +07:00
Leonid Mesnik
ea0ff7ede6 8307308: Add serviceability_ttf_virtual group to exclude jvmti tests developed for virtual threads
Reviewed-by: sspitsyn
(cherry picked from commit a44e8908a1)
2023-05-19 18:26:49 +07:00
Eric Liu
bc024a40ff 8304948: [vectorapi] C2 crashes when expanding VectorBox
Reviewed-by: thartmann, qamai
(cherry picked from commit 46df171d53)
2023-05-19 18:26:49 +07:00
ngubarkov
d95f8e7a79 JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer. 2023-05-18 22:40:11 +03:00
Maxim Kartashev
0b0ad45a66 JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()
2023-05-18 19:15:27 +04:00
Vitaly Provodin
b2fd90ab79 JBR-5627 add regression test AsyncProfilerRunnerTest 2023-05-18 05:50:34 +07:00
Maxim Kartashev
de8ed02350 JBR-5631 Refactor Dockerfile for x64 builds 2023-05-16 07:21:47 +07:00
Artem Bochkarev
a79cc2c72e JBR-5426 write JCEF version info inside release file 2023-05-16 05:24:36 +07:00
Vitaly Provodin
442df3d1f5 JBR-5286 make windows-aarch64 building script identical to the same script in jbr17 2023-05-16 05:24:36 +07:00
Vitaly Provodin
debf7e9f98 fixup! JBR-3639 add jbrsdk tarballs for dcevm, jcef builds 2023-05-16 05:24:35 +07:00
Vitaly Provodin
5f314ef826 JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17 2023-05-13 05:03:00 +07:00
Daniel D. Daugherty
7b30b303f1 8307489: ProblemList jdk/incubator/vector/LoadJsvmlTest.java on windows-x64
8307490: ProblemList sun/security/pkcs11/Cipher/TestKATForGCM.java on linux-x64 and macosx-x64
8307491: ProblemList sanity/client/SwingSet/src/EditorPaneDemoTest.java on linux-x64

Reviewed-by: darcy
(cherry picked from commit 111858f3ff)
2023-05-12 18:26:39 +07:00
Kevin Driver
8a896a2a4a 8294983: SSLEngine throws ClassCastException during handshake
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: wetmore, xuelei
(cherry picked from commit 197d0cc603)
2023-05-12 18:26:36 +07:00
Coleen Phillimore
52c2ee83a2 8307295: Add warning to not create new ACC flags
Reviewed-by: dholmes, fparain
(cherry picked from commit a87262efb2)
2023-05-12 18:26:36 +07:00
Markus Grönlund
e2364ca15d 8307156: native_thread not protected by TLH
Reviewed-by: coleenp, dcubed
(cherry picked from commit 0c6529d2d3)
2023-05-12 18:26:34 +07:00
Phil Race
69be4ec1c7 8307133: Open source some JTable jtreg tests
Reviewed-by: serb
(cherry picked from commit 5ca0b08a75)
2023-05-12 18:26:34 +07:00
Alexander Zvegintsev
03a8558c31 8306943: Open source several dnd AWT tests
Reviewed-by: prr, serb
(cherry picked from commit 2adb3b409e)
2023-05-12 18:26:33 +07:00
Chen Liang
27aea0c548 8304937: BufferedFieldBuilder.Model missing writeTo(DirectClassBuilder)
Reviewed-by: asotona
(cherry picked from commit dc4096ce13)
2023-05-12 18:26:32 +07:00
Stefan Johansson
0c2f927a43 8307448: Test RedefineSharedClassJFR fail due to wrong assumption
Reviewed-by: eosterlund, coleenp
(cherry picked from commit 29233e0a00)
2023-05-12 18:26:31 +07:00
Stefan Johansson
57e773f2a2 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
Reviewed-by: coleenp, sspitsyn
(cherry picked from commit 408cec516b)
2023-05-12 18:26:28 +07:00
Maurizio Cimadamore
8e1bc1c458 8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
Reviewed-by: jvernee
(cherry picked from commit cecf817f5e)
2023-05-12 18:26:27 +07:00
Oli Gillespie
fd68860c86 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Reviewed-by: tschatzl, shade, ayang
(cherry picked from commit 3f1927a7f3)
2023-05-12 18:26:27 +07:00
Kevin Walls
f113bb4820 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: dcubed
(cherry picked from commit e206d57bfc)
2023-05-12 18:26:26 +07:00
Abhishek Kumar
f82f6111b7 8306489: Open source AWT List related tests
Reviewed-by: prr, serb
(cherry picked from commit 82a8e91ef7)
2023-05-12 18:26:25 +07:00
Tejesh R
c71fba3977 8307091: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: prr, dnguyen
(cherry picked from commit 465bdd9e41)
2023-05-12 18:26:24 +07:00
Leonid Mesnik
ef9401e84d 8307305: Update debugger tests to support JTREG_TEST_THREAD_FACTORY mode
Reviewed-by: cjplummer
(cherry picked from commit caee1beaaf)
2023-05-12 18:26:22 +07:00
Kim Barrett
70040e319e 8307147: [x86] Dangling pointer warning for Assembler::_attributes
Reviewed-by: dholmes, aph
(cherry picked from commit 3599448ad8)
2023-05-12 18:26:21 +07:00
Leonid Mesnik
f04ef8297c 8306946: jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
Reviewed-by: dholmes
(cherry picked from commit 64ac9a05e8)
2023-05-12 18:26:19 +07:00
Jiangli Zhou
cbaaf4f844 8307134: Add GTS root CAs
Co-authored-by: Andy Warner <awarner@google.com>
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Reviewed-by: mullan, rhalade
(cherry picked from commit 03030d47eb)
2023-05-12 18:26:17 +07:00
jeremy
ec24a7c4d1 4200096: OffScreenImageSource.removeConsumer NullPointerException
Reviewed-by: prr, serb
(cherry picked from commit 63cd0a36da)
2023-05-12 18:26:17 +07:00
Kevin Driver
7bc3b19e0f 8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Reviewed-by: coffeys, wetmore
(cherry picked from commit db8b3cd084)
2023-05-12 18:26:16 +07:00
Martin Desruisseaux
7ca21d91a9 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface
Reviewed-by: prr
(cherry picked from commit dcb2f3f502)
2023-05-12 18:26:15 +07:00
Harshitha Onkar
ee167db850 8305815: Update Libpng to 1.6.39
Reviewed-by: prr
(cherry picked from commit 14874779ee)
2023-05-12 18:26:15 +07:00
Matthew Donovan
92810163c7 8306014: Update javax.net.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
(cherry picked from commit 705ad7d829)
2023-05-12 18:26:14 +07:00
Jonathan Gibbons
a691d63dc0 8068925: Add @Override in javax.tools classes
Reviewed-by: darcy, iris
(cherry picked from commit 3930709af4)
2023-05-12 18:26:11 +07:00
Thomas Schatzl
67de9c6eeb 8306836: Remove pinned tag for G1 heap regions
Reviewed-by: ayang, cjplummer, sspitsyn
(cherry picked from commit fc76687c2f)
2023-05-12 18:26:11 +07:00
Roland Westrelin
1b87c6e4b3 8306933: C2: "assert(false) failed: infinite loop" failure
Reviewed-by: chagedorn, thartmann
(cherry picked from commit ccf91f881c)
2023-05-12 18:26:10 +07:00
Emanuel Peter
938c352c23 8306042: C2: failed: Missed optimization opportunity in PhaseCCP (adding LShift->Cast->Add notification)
Reviewed-by: thartmann, chagedorn, kvn
(cherry picked from commit e9807a4b0f)
2023-05-12 18:26:09 +07:00
Aleksey Shipilev
2403d3d428 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
Reviewed-by: dholmes, alanb
(cherry picked from commit fcb280a48b)
2023-05-12 18:26:08 +07:00
Albert Mingkun Yang
ae8ad4985e 8307005: Make CardTableBarrierSet::initialize non-virtual
Reviewed-by: dholmes
(cherry picked from commit 891530fbc9)
2023-05-12 18:26:07 +07:00
Roland Westrelin
1eb7bd7f1e 8306997: C2: "malformed control flow" assert due to missing safepoint on backedge with a switch
Reviewed-by: thartmann, kvn
(cherry picked from commit e0774bed2d)
2023-05-12 18:26:06 +07:00
Erik Österlund
694d972ec1 8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock
Reviewed-by: stefank, aboldtch, coleenp, dholmes
(cherry picked from commit 462b1df758)
2023-05-12 18:26:06 +07:00
Adam Sotona
26b9dd886f 8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
(cherry picked from commit c8f37564bf)
2023-05-12 18:26:03 +07:00
Feilong Jiang
93385e47cb 8307150: RISC-V: Remove remaining StoreLoad barrier with UseCondCardMark for Serial/Parallel GC
Reviewed-by: shade, fyang
(cherry picked from commit 0b5b6429a0)
2023-05-12 18:26:02 +07:00
Damon Nguyen
fbc6c448e5 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
(cherry picked from commit 418a82551a)
2023-05-12 18:26:02 +07:00
Eamonn McManus
88f62f43ac 8303919: Instant.ofEpochMilli says it can throw an exception that it can't
Reviewed-by: rriggs
(cherry picked from commit 74667e3d56)
2023-05-12 18:26:01 +07:00
Harshitha Onkar
6086889326 8282232: [Win] GetMousePositionWithPopup test fails due to wrong mouse position
Reviewed-by: prr
(cherry picked from commit 76991c8129)
2023-05-12 18:26:00 +07:00
Stuart Marks
ebb83e1b4b 8302496: Runtime.exit incorrectly says it never throws an exception
Reviewed-by: alanb
(cherry picked from commit 05b9b5821d)
2023-05-12 18:25:59 +07:00
Kim Barrett
09d7c5ea9b 8293117: Add atomic bitset functions
Reviewed-by: shade, coleenp, dholmes
(cherry picked from commit 8a70664e52)
2023-05-12 18:25:59 +07:00
Liam Miller-Cushon
ed2bce3823 8303784: no-@Target annotations should be applicable to type parameter declarations
Reviewed-by: vromero
(cherry picked from commit 8c106b0c8e)
2023-05-12 18:25:58 +07:00
Jonathan Gibbons
45dccbb5b0 8307123: Fix deprecation warnings in DPrinter
Reviewed-by: vromero
(cherry picked from commit b76f320e76)
2023-05-12 18:25:57 +07:00
Jorn Vernee
0665ffd29a 8304888: Add dedicated VMProps for linker and fallback linker
Reviewed-by: alanb, mcimadamore

(cherry picked from commit a8bf2acb7d)
2023-05-12 18:25:55 +07:00
Johan Sjölen
9bde756cae 8301223: Replace NULL with nullptr in share/gc/g1/
Reviewed-by: tschatzl, kbarrett
(cherry picked from commit 75a4edca6b)
2023-05-12 18:24:34 +07:00
Yoshiki Sato
00552d7eb9 8305505: NPE in javazic compiler
Reviewed-by: naoto
(cherry picked from commit 544bd260b6)
2023-05-12 18:24:33 +07:00
Thomas Stuefe
115fe21fdd 8306510: Print number of threads and stack sizes in error reports
Reviewed-by: gziemski, dholmes
(cherry picked from commit ea9201f420)
2023-05-12 18:24:32 +07:00
Fredrik Bredberg
9037884829 8300197: Freeze/thaw an interpreter frame using a single copy_to_chunk() call
Reviewed-by: rrich, pchilanomate, fyang
(cherry picked from commit a8d16dea8e)
2023-05-12 18:24:31 +07:00
Jorn Vernee
34b83dd5ed 8307164: TestSegmentCopy times out (mainline)
Reviewed-by: mcimadamore
(cherry picked from commit 1532a1b0bd)
2023-05-12 18:24:31 +07:00
Martin Doerr
ae2d88ba27 8307104: [AIX] VM crashes with UseRTMLocking on Power10
Reviewed-by: clanger, lucy
(cherry picked from commit 860bf9b35f)
2023-05-12 18:24:30 +07:00
Alan Bateman
aa9337be85 8305919: java/lang/Thread/virtual/HoldsLock.java#id0 failed, ThreadInfo.getLockInfo() return null
Reviewed-by: jpai
(cherry picked from commit 86f97fe70c)
2023-05-12 18:24:29 +07:00
Joe Wang
d6e5e9317c 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Reviewed-by: naoto
(cherry picked from commit 2179a8f2d6)
2023-05-12 18:24:29 +07:00
Serguei Spitsyn
3c499bbd39 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
(cherry picked from commit 1227a275a1)
2023-05-12 18:24:27 +07:00
Vicente Romero
f1e9a05810 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Reviewed-by: jjg
(cherry picked from commit 35e75c131d)
2023-05-12 18:24:26 +07:00
Sergey Tsypanov
8f1b429b4d 8300818: Reduce complexity of padding with DateTimeFormatter
Reviewed-by: redestad, rriggs
(cherry picked from commit 561ec9c5a0)
2023-05-12 18:24:25 +07:00
Chris Plummer
23754a9dd8 8282384: [LOOM] Need test for ThreadReference.interrupt() on a vthread
Reviewed-by: lmesnik, sspitsyn
(cherry picked from commit ae5f678fba)
2023-05-12 18:24:25 +07:00
Rajan Halade
018a52ff18 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mullan
(cherry picked from commit c7e1df8328)
2023-05-12 18:24:24 +07:00
Roger Riggs
d9f0afa25c 8306678: Replace use of os.version with an internal Version record
Reviewed-by: mchung
(cherry picked from commit 6acf032db8)
2023-05-12 18:24:24 +07:00
Roger Riggs
74e905d658 8304915: Create jdk.internal.util.Architecture enum and apply
Reviewed-by: erikj, mdoerr, amitkumar
(cherry picked from commit f00a748bc5)
2023-05-12 18:24:23 +07:00
Jorn Vernee
8e29b77ced 8305201: Improve error message for GroupLayouts that are too large on SysV
Reviewed-by: mcimadamore
(cherry picked from commit 7d07d19523)
2023-05-12 18:24:22 +07:00
Jorn Vernee
46d33db4d9 8305093: Linker cache should not take layout names into account
Reviewed-by: mcimadamore
(cherry picked from commit 67dd841432)
2023-05-12 18:24:22 +07:00
Archie Cobbs
fb75a79956 8305672: Surprising definite assignment error after JDK-8043179
Reviewed-by: kcr, vromero
(cherry picked from commit d437c61f5b)
2023-05-12 18:24:21 +07:00
Jorn Vernee
0b02b1363e 8301703: java.base jdk.internal.foreign.abi.BindingSpecializer uses ASM to generate classes
Reviewed-by: mcimadamore, asotona
(cherry picked from commit b39a9bffda)
2023-05-12 18:24:21 +07:00
Jorn Vernee
60229388ad 8303002: Reject packed structs from linker
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking

Reviewed-by: mcimadamore
(cherry picked from commit 1de1a38859)
2023-05-12 18:24:20 +07:00
Coleen Phillimore
52350f68fe 8306851: Move Method access flags
Reviewed-by: cjplummer, dholmes, dnsimon, matsaave, fparain

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

Reviewed-by: naoto, lmesnik, thartmann
(cherry picked from commit 4b23bef51d)
2023-04-29 14:22:13 +07:00
Naoto Sato
f0c746bc21 8304836: Make MALLOC_MIN4 macro more robust
Reviewed-by: bchristi
(cherry picked from commit f32adaf89f)
2023-04-29 14:22:12 +07:00
Christian Stein
5dd8ca744c 8304896: Update to use jtreg 7.2
Reviewed-by: erikj, lmesnik, iris
(cherry picked from commit 2763cf14e6)
2023-04-29 14:22:12 +07:00
Johan Sjölen
efcb8c9b7d 8306444: Don't leak memory in PhaseChaitin::PhaseChaitin
Reviewed-by: kvn, roland
(cherry picked from commit b2ccc9731e)
2023-04-29 14:22:11 +07:00
Christoph Langer
5af5b403e8 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Reviewed-by: shade, goetz
(cherry picked from commit d980cb4879)
2023-04-29 14:22:11 +07:00
Matias Saavedra Silva
170d21d238 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread
Reviewed-by: ccheung
(cherry picked from commit 62acc882bf)
2023-04-29 14:22:10 +07:00
Coleen Phillimore
09718f988e 8305252: make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
(cherry picked from commit 7400aff3b8)
2023-04-29 14:22:08 +07:00
Vladimir Kempik
6ea4a1509a 8305056: Avoid unaligned access in emit_intX methods if it's unsupported
Reviewed-by: aph
(cherry picked from commit f239695b56)
2023-04-29 14:22:07 +07:00
Alexander Zvegintsev
eb50066601 8306566: Open source several clipboard AWT tests
Reviewed-by: serb
(cherry picked from commit 136dad7197)
2023-04-29 14:22:04 +07:00
Albert Mingkun Yang
7d97abe701 8305062: Refactor CardTable::resize_covered_region
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit 30fa50d158)
2023-04-29 14:22:02 +07:00
Ivan Walulya
90b1c7cbd5 8057586: Explicit GC ignored if GCLocker is active
Reviewed-by: tschatzl, ayang
(cherry picked from commit 4a9f8efa86)
2023-04-29 14:22:00 +07:00
Leo Korinth
8c0137a378 8306435: Juggle04/TestDescription.java should be a booleanArr test and not a byteArr one
Reviewed-by: tschatzl, lmesnik, shade
(cherry picked from commit ce493dda90)
2023-04-29 14:21:58 +07:00
Prasanta Sadhukhan
0987207460 8306076: Open source AWT misc tests
Reviewed-by: serb
(cherry picked from commit f7d45b85a5)
2023-04-29 14:21:57 +07:00
Ramkumar Sunderbabu
f328f3e82b 8306636: Disable compiler/c2/Test6905845.java with -XX:TieredStopAtLevel=3
Reviewed-by: kvn
(cherry picked from commit 4900517479)
2023-04-29 14:21:56 +07:00
Afshin Zafari
1e8abbb628 8305590: Remove nothrow exception specifications from operator new
Reviewed-by: coleenp, kbarrett
(cherry picked from commit 0f51e63263)
2023-04-29 14:21:54 +07:00
Alexander Zuev
0a46626324 8306575: Clean up and open source four Dialog related tests
Reviewed-by: prr
(cherry picked from commit 8d696aea9e)
2023-04-29 14:21:52 +07:00
Harshitha Onkar
ec060f8935 8306634: Open source AWT Event related tests
Reviewed-by: prr, serb
(cherry picked from commit 9ed456fac8)
2023-04-29 14:21:49 +07:00
Calvin Cheung
9a57c3f9f4 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Reviewed-by: iklam
(cherry picked from commit b2240bf870)
2023-04-29 14:21:48 +07:00
Mikael Vidstedt
da66521d12 8296153: Bump minimum boot jdk to JDK 20
Reviewed-by: erikj, darcy, iris
(cherry picked from commit cb158ffb8a)
2023-04-29 14:21:47 +07:00
Sergey Bylokhov
abf7ec1840 8279216: Investigate implementation of premultiplied alpha in the Little-CMS 2.13
Reviewed-by: prr
(cherry picked from commit 117c5b116b)
2023-04-29 14:21:46 +07:00
Ioi Lam
b49748ba13 8298048: Combine CDS archive heap into a single block
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: matsaave, tschatzl
(cherry picked from commit 723037a79d)
2023-04-29 14:21:44 +07:00
Thomas Schatzl
807a4bdfa1 8306440: Rename PSS:_num_optional_regions to _max_num_optional_regions
Reviewed-by: ayang, iwalulya
(cherry picked from commit d518dbf726)
2023-04-29 14:21:43 +07:00
Thomas Schatzl
442ff1a4b1 8306436: Rename PSS*:_n_workers to PSS*:_num_workers
Reviewed-by: ayang, iwalulya
(cherry picked from commit 9cd5741c14)
2023-04-29 14:21:42 +07:00
Johan Sjölen
d2baadc727 8306456: Don't leak _worklist's memory in PhaseLive::compute
Reviewed-by: kvn, dlong
(cherry picked from commit 6e77e14fdb)
2023-04-29 14:21:39 +07:00
Leonid Mesnik
6ad7f6426d 8303703: Add support of execution tests using virtual thread factory jtreg plugin
Reviewed-by: erikj, jpai
(cherry picked from commit be6031b87d)
2023-04-29 14:21:39 +07:00
Christoph Langer
33f18e80aa 8306543: GHA: MSVC installation is failing
Reviewed-by: shade, mdoerr
(cherry picked from commit 5a00617b1b)
2023-04-29 14:21:37 +07:00
Oli Gillespie
5aaea7d8af 8306075: Micro-optimize Enum.hashCode
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: redestad, shade, rriggs, liach, apangin, jvernee
(cherry picked from commit 3da987adac)
2023-04-29 14:21:37 +07:00
Doug Simon
43c8da250a 8306581: JVMCI tests failed when run with -XX:TypeProfileLevel=222 after JDK-8303431
Reviewed-by: never, kvn
(cherry picked from commit fdaabd6eec)
2023-04-29 14:21:36 +07:00
Jayathirth D V
5a0279bcd6 8306430: Open source some AWT tests related to TextComponent and Toolkit
Reviewed-by: serb
(cherry picked from commit 36ec05d52a)
2023-04-29 14:21:35 +07:00
Prasanta Sadhukhan
c4293be7f0 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
(cherry picked from commit 8346ae2bc1)
2023-04-29 14:21:33 +07:00
Prasanta Sadhukhan
ae80b24805 8306060: Open source few AWT Insets related tests
Reviewed-by: serb, prr
(cherry picked from commit 9a68d1d952)
2023-04-29 14:21:32 +07:00
sunguoyun
23edcceeee 8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
Reviewed-by: dholmes, fyang, aph
(cherry picked from commit 2c70828e7d)
2023-04-29 14:21:32 +07:00
Vitaly Provodin
8dfe3d7031 update exclude list on results of 93.3 test runs 2023-04-29 14:20:29 +07:00
Alexey Ushakov
2dc675a13e JBR-5559 SwingMark performance drop after removing additional command queue
Added command queue and provided synchronization between the command queues
2023-04-24 21:23:46 +02:00
Justin Lu
1b1fc1b62d 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
(cherry picked from commit ffb2494de4)
2023-04-21 15:54:15 +07:00
Justin Lu
0ca4ef68a5 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
(cherry picked from commit 174c1a6d53)
2023-04-21 15:54:13 +07:00
Coleen Phillimore
92f530cc81 8306474: Move InstanceKlass read-only flags
Reviewed-by: jrose, dholmes
(cherry picked from commit f63362310e)
2023-04-21 15:54:12 +07:00
Coleen Phillimore
89a9b6c5af 8306482: Remove unused Method AccessFlags
Reviewed-by: dholmes, matsaave
(cherry picked from commit afd2501fcc)
2023-04-21 15:54:10 +07:00
Harshitha Onkar
db06d8446a 8305874: Open source AWT Key, Text Event related tests
Reviewed-by: azvegint
(cherry picked from commit d6cf4aa155)
2023-04-21 15:54:09 +07:00
Xin Liu
aecc055e21 8297302: gtest/AsyncLogGtest.java fails AsyncLogTest.stdoutOutput_vm
Reviewed-by: dholmes, shade
(cherry picked from commit 9412c0a2ca)
2023-04-21 15:54:08 +07:00
Peter Hofer
b95c307019 8305746: InitializeEncoding should cache Charset object instead of charset name
Reviewed-by: naoto

(cherry picked from commit 20b1d19d26)
2023-04-21 15:54:08 +07:00
Brian Burkhalter
f1adbbaf15 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
Reviewed-by: alanb
(cherry picked from commit 955abcae55)
2023-04-21 15:52:55 +07:00
Lance Andersen
35b0a5c57c 8305945: (zipfs) Opening a directory to get input stream produces incorrect exception message
Reviewed-by: naoto, cstein
(cherry picked from commit c6a288dcd6)
2023-04-21 15:52:54 +07:00
Albert Mingkun Yang
c66a66103c 8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
(cherry picked from commit 73018b39cd)
2023-04-21 15:52:53 +07:00
Zixian Cai
f90ea696b8 8306538: Zero variant build failure after JDK-8257967
Reviewed-by: shade, dholmes
(cherry picked from commit 33a7978e85)
2023-04-21 15:52:52 +07:00
Amit Kumar
9088ddc325 8306459: s390x: Replace NULL to nullptr
Reviewed-by: mdoerr
(cherry picked from commit 9c2e5b3871)
2023-04-21 15:52:51 +07:00
Stefan Karlsson
059d223144 8305880: Loom: Avoid putting stale object pointers in oops
Reviewed-by: eosterlund, aboldtch
(cherry picked from commit 6a7dff30ed)
2023-04-21 15:52:49 +07:00
Matthias Baesken
4dd49b5017 8304291: [AIX] Broken build after JDK-8301998
Reviewed-by: mdoerr, tsteele, prr
(cherry picked from commit 310aa93478)
2023-04-21 15:52:42 +07:00
Prasanta Sadhukhan
47e90b514b 8305943: Open source few AWT Focus related tests
Reviewed-by: prr, serb
(cherry picked from commit 64ed816ad9)
2023-04-21 15:52:39 +07:00
Jaikiran Pai
02a5753746 8041676: remove the java.compiler system property
Reviewed-by: dholmes, alanb, rriggs, iris
(cherry picked from commit b8f0a668dd)
2023-04-21 15:52:37 +07:00
Phil Race
8e5bd2d995 8306372: Open source AWT CardLayout and Checkbox tests
Reviewed-by: serb, honkar
(cherry picked from commit 781d6d793a)
2023-04-21 15:52:36 +07:00
Alexander Zvegintsev
0db73d4b72 8306280: Open source several choice AWT tests
Reviewed-by: jdv, prr, serb
(cherry picked from commit d03128d0e5)
2023-04-21 15:52:34 +07:00
Aleksey Shipilev
7c25901a8f 8306452: Fix Amazon copyright in JDK-8305425 test
Reviewed-by: simonis
(cherry picked from commit e764e9b740)
2023-04-21 15:52:32 +07:00
William Kemper
4407bd050b 8306321: Add an accessor for the top of a PLAB
Reviewed-by: shade, ysr
(cherry picked from commit ed34e7f5ae)
2023-04-21 15:52:31 +07:00
Phil Race
e6b6795832 8306134: Open source some AWT tests relating to Button and a few other classes
Reviewed-by: azvegint
(cherry picked from commit fdb4bafa31)
2023-04-21 15:52:30 +07:00
Alexander Zuev
1537f60136 8306135: Clean up and open source some AWT tests
Reviewed-by: azvegint
(cherry picked from commit 4ad3ac6317)
2023-04-21 15:52:28 +07:00
Naoto Sato
db76ae6b4e 8306323: Update license files in CLDR v43
Reviewed-by: lancea, srl, iris
(cherry picked from commit 85de01e676)
2023-04-21 15:52:23 +07:00
Doug Simon
611e0d408a 8303431: [JVMCI] libgraal annotation API
Reviewed-by: kvn, never, darcy
(cherry picked from commit 48fd4f2bd3)
2023-04-21 15:52:20 +07:00
Oliver Kopp
d40a19c48a 8306038: SystemModulesPlugin generates code that doesn't pop when return value not used
Reviewed-by: alanb, mchung
(cherry picked from commit c57af319f6)
2023-04-21 15:52:18 +07:00
Fredrik Bredberg
ecfa9a1a31 8306006: strace001.java fails due to unknown methods on stack
Reviewed-by: rehn, alanb, dholmes
(cherry picked from commit a31a11f44a)
2023-04-21 15:52:17 +07:00
Coleen Phillimore
bb0cc82e04 8306123: Move InstanceKlass writeable flags
Reviewed-by: iklam, fparain
(cherry picked from commit ddb86469e0)
2023-04-21 15:52:14 +07:00
Coleen Phillimore
c3e23e65d5 8306310: Move is_shared Klass flag
Reviewed-by: iklam, fparain
(cherry picked from commit 1a41e12c22)
2023-04-21 15:52:12 +07:00
Markus Grönlund
2ce74d7866 8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Reviewed-by: sspitsyn, dholmes, mbaesken
(cherry picked from commit c738c8ea3e)
2023-04-21 15:52:10 +07:00
William Kemper
a97a73899d 8305716: Enhancements for printing age tables
Reviewed-by: kdnilsen, ysr, tschatzl
(cherry picked from commit 9fb53adfe0)
2023-04-21 15:52:09 +07:00
Matthias Baesken
b5878e02f8 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
(cherry picked from commit ebba42ac52)
2023-04-21 15:52:07 +07:00
Richard Reingruber
9cc5ecd88c 8306111: PPC64: RT call after thaw with exception requires larger ABI section
Reviewed-by: mdoerr
(cherry picked from commit 42b7260e8b)
2023-04-21 15:52:06 +07:00
Ioi Lam
5f0f0df184 8305757: Call Method::compute_has_loops_flag() when creating CDS archive
Reviewed-by: coleenp, ccheung
(cherry picked from commit c7faf60201)
2023-04-21 15:52:06 +07:00
Aleksei Efimov
ee0d9478d8 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
(cherry picked from commit eb8d8cdddd)
2023-04-21 15:52:04 +07:00
Kevin Walls
b4d202c16b 8296692: Improve String platform support
Reviewed-by: rhalade, amenkov, michaelm
(cherry picked from commit 77df3152c8)
2023-04-21 15:52:03 +07:00
Sean Mullan
2cff57af94 8298310: Enhance TLS session negotiation
Reviewed-by: rhalade, mschoene, weijun, ascarpino
(cherry picked from commit f098b490f1)
2023-04-21 15:52:03 +07:00
Prasanta Sadhukhan
bd652d4731 8296832: Improve Swing platform support
Reviewed-by: skoivu, kizune, rhalade, prr

(cherry picked from commit 9e56d100df)
2023-04-21 15:52:02 +07:00
Joe Wang
9e232ab1c9 8288436: Improve Xalan supports
Reviewed-by: smarks, ahgross, rhalade, lancea, naoto
(cherry picked from commit 2e5700a92c)
2023-04-21 15:51:15 +07:00
Kevin Walls
6fd980af6d 8296684: Improve String platform support
Reviewed-by: amenkov, michaelm, rhalade
(cherry picked from commit b1c34c03d7)
2023-04-21 15:51:12 +07:00
Jamil Nimeh
7fe114705b 8294474: Better AES support
Reviewed-by: ahgross, ascarpino
(cherry picked from commit 14aad787a8)
2023-04-21 15:51:11 +07:00
Brian Burkhalter
ab75b8ffba 8298667: Improved path handling
Reviewed-by: rhalade, alanb
(cherry picked from commit a0f7ae1a95)
2023-04-21 15:51:07 +07:00
Michael McMahon
e5769b7548 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
(cherry picked from commit ec119716e5)
2023-04-21 15:51:06 +07:00
Naoto Sato
673d28bbbb 8297371: Improve UTF8 representation redux
Reviewed-by: rhalade, bchristi
(cherry picked from commit 5ec0120152)
2023-04-21 15:51:05 +07:00
Ian Graves
cb4ee7b55b 8295304: Runtime support improvements
Reviewed-by: rhalade, rriggs, bchristi
(cherry picked from commit 3656939a6a)
2023-04-21 15:51:04 +07:00
Daniel Jeliński
95037ac55d 8287404: Improve ping times
Reviewed-by: alanb, dfuchs, rhalade
(cherry picked from commit c06135b5a6)
2023-04-21 15:51:03 +07:00
Calvin Cheung
af01f7a440 8306059: improve the reliability of TestSerialGCWithCDS.java and ArchiveRelocationTest.java tests
Reviewed-by: iklam
(cherry picked from commit 1b5d35ad2c)
2023-04-21 15:51:03 +07:00
Markus Grönlund
f0152ba580 8306282: Build failure linux-arm32-open-cmp-baseline after JDK-8257967
Reviewed-by: egahlin, iklam
(cherry picked from commit 0f3828dddd)
2023-04-21 15:51:02 +07:00
Aleksey Shipilev
98162a00ca 8306289: 32-bit build failures after JDK-8303422
Reviewed-by: jiefu, zgu
(cherry picked from commit 803680f17a)
2023-04-21 15:51:01 +07:00
Daniel Jeliński
1931158d63 8306279: Build failure after JDK-8299592
Reviewed-by: thartmann
(cherry picked from commit e97fe081ad)
2023-04-21 15:51:01 +07:00
Matthias Baesken
e77e7203b5 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Reviewed-by: lucy, aivanov
(cherry picked from commit 3c7ab80501)
2023-04-21 15:51:00 +07:00
Daniel Jeliński
1c1d9cffea 8299592: Fix and reenable warnings in java.desktop native code compilation
Reviewed-by: ihse, aivanov
(cherry picked from commit 3bba899574)
2023-04-21 15:50:58 +07:00
Johan Sjölen
351f8ce855 8306077: Replace NEW_ARENA_ARRAY with NEW_RESOURCE_ARRAY when applicable in opto
Reviewed-by: thartmann
(cherry picked from commit 896207de14)
2023-04-21 15:50:57 +07:00
Johan Sjölen
f654af382d 8301497: Replace NULL with nullptr in cpu/s390
Reviewed-by: amitkumar, coleenp
(cherry picked from commit 54f7b6ca34)
2023-04-21 15:50:56 +07:00
Roland Westrelin
1f23b8b84a 8305781: compiler/c2/irTests/TestVectorizationMultiInvar.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, kvn
(cherry picked from commit 8ecb5dfa34)
2023-04-21 15:50:55 +07:00
Guoxiong Li
dd51b5f5b8 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Reviewed-by: kvn, thartmann
(cherry picked from commit 49726ee3a9)
2023-04-21 15:50:53 +07:00
Richard Reingruber
a8858ccf5d 8305668: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2
Reviewed-by: mdoerr
(cherry picked from commit 445ebef437)
2023-04-21 15:50:52 +07:00
Matias Saavedra Silva
ace497ad53 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
Reviewed-by: iklam, coleenp, fparain
(cherry picked from commit e3ece365ce)
2023-04-21 15:50:46 +07:00
Brent Christian
70696029f1 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
Reviewed-by: kbarrett, alanb, bpb
(cherry picked from commit bb1a7bb3e1)
2023-04-21 15:50:45 +07:00
Brian Burkhalter
c4fc9325c1 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
Reviewed-by: alanb
(cherry picked from commit 8858d54342)
2023-04-21 15:50:42 +07:00
Jonathan Gibbons
7b1174d082 8305673: Convert DocCommentParser to use enhanced switch
Reviewed-by: hannesw
(cherry picked from commit 525a91e3fa)
2023-04-21 15:50:41 +07:00
Phil Race
16f8d6ee00 8278583: Open source SwingMark - Swing performance benchmark
Reviewed-by: serb, aghaisas, avu
(cherry picked from commit 6831f9db8b)
2023-04-21 15:50:39 +07:00
Tom Rodriguez
cec2e055a7 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
Reviewed-by: eosterlund, dnsimon
(cherry picked from commit 497f9e760d)
2023-04-21 15:50:37 +07:00
Naoto Sato
9ba715db97 8296248: Update CLDR to Version 43.0
Reviewed-by: joehw
(cherry picked from commit 4ed933cf77)
2023-04-21 15:50:34 +07:00
Patricio Chilano Mateo
b3bef0ce6e 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
Reviewed-by: rrich, rehn
(cherry picked from commit 7360960454)
2023-04-21 15:50:32 +07:00
Albert Mingkun Yang
bd833fd288 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit cc60f2ff3f)
2023-04-21 15:50:31 +07:00
Albert Mingkun Yang
3f4727acd3 8305192: serial GC fails "assert(Universe::on_page_boundary(bottom) && Universe::on_page_boundary(end)) failed: invalid space boundaries"
Reviewed-by: iwalulya, tschatzl
(cherry picked from commit fb58d77e92)
2023-04-21 15:50:30 +07:00
Kirill A. Korinsky
a9c712a776 8305995: Footprint regression from JDK-8224957
Reviewed-by: kvn, thartmann
(cherry picked from commit 7551529854)
2023-04-21 15:50:30 +07:00
Erik Österlund
f3c3939d6d 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Reviewed-by: kvn, rcastanedalo, aph, mdoerr
(cherry picked from commit 02347d0cec)
2023-04-21 15:50:29 +07:00
Erik Österlund
1c3bcb0f5b 8305543: Ensure GC barriers for arraycopy on AArch64 use caller saved neon temp registers
Reviewed-by: rcastanedalo, aph
(cherry picked from commit 2240c7ec2f)
2023-04-21 15:50:29 +07:00
Albert Mingkun Yang
32006580cb 8305233: G1: Refactor G1ClearCardTableTask
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit 1958f0e8bd)
2023-04-21 15:50:28 +07:00
Albert Mingkun Yang
ba36732bc9 8305892: G1: Fix G1MMUTracker::when_sec documentation
Reviewed-by: iwalulya, tschatzl
(cherry picked from commit dbd2b5f89f)
2023-04-21 15:50:27 +07:00
Emanuel Peter
f3da8a95ed 8305740: C2: add print statements to assert: Can't determine return type.
Reviewed-by: kvn, thartmann
(cherry picked from commit c0b4957fcc)
2023-04-21 15:50:27 +07:00
Markus Grönlund
37abc47d7b 8257967: JFR: Events for loaded agents
Reviewed-by: dholmes, sspitsyn

(cherry picked from commit 5c95bb1c51)
2023-04-21 15:50:09 +07:00
Varada M
e59b78d73d 8305089: Implement missing socket options on AIX
Reviewed-by: erikj, jpai, vtewari, djelinski, dfuchs
(cherry picked from commit 2a062f1654)
2023-04-21 13:38:02 +07:00
Eirik Bjorsnos
72a23b05ca 8306036: Use @apiNote in String.toLowerCase, String.toUpperCase
Reviewed-by: alanb, jpai
(cherry picked from commit 7f56de8f78)
2023-04-21 13:38:02 +07:00
Valerie Peng
420b739ccb 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex
Reviewed-by: mpowers, weijun
(cherry picked from commit e575924131)
2023-04-21 13:38:01 +07:00
Kim Barrett
216e83e455 8306029: ProblemList runtime/ErrorHandling/TestDwarf.java on linux
Reviewed-by: stuefe
(cherry picked from commit caa841d9a5)
2023-04-21 13:38:01 +07:00
Jiangli Zhou
da22aefbca 8305935: Resolve multiple definition of 'jmm_<interface|version>' when statically linking with JDK native libraries
Reviewed-by: dholmes
(cherry picked from commit 314bad3613)
2023-04-21 13:38:01 +07:00
William Kemper
1733e8a03b 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: rkennke, ysr
(cherry picked from commit 793da60ee8)
2023-04-21 13:38:01 +07:00
Afshin Zafari
7be54e286e 8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
(cherry picked from commit 2cc4bf1a9d)
2023-04-21 13:38:01 +07:00
Julian Waters
b4bd7dc71b 8304930: Enable Link Time Optimization as an option for Visual C++
Reviewed-by: erikj
(cherry picked from commit 5a7886575e)
2023-04-21 13:38:01 +07:00
Roger Riggs
7d960103af 8304912: Use OperatingSystem enum in java.desktop module
Reviewed-by: bpb, prr, aturbanov

(cherry picked from commit 30a140b5a2)
2023-04-21 13:38:00 +07:00
Coleen Phillimore
829a354e57 8305405: Compile_lock not needed in Universe::genesis()
Reviewed-by: dholmes, fparain
(cherry picked from commit 1fd400608e)
2023-04-21 13:38:00 +07:00
Coleen Phillimore
d5c8957b6a 8305404: Compile_lock not needed for InstanceKlass::implementor()
Reviewed-by: eosterlund, fparain
(cherry picked from commit ebeee6dce8)
2023-04-21 13:38:00 +07:00
Johan Sjölen
0258116b86 8301496: Replace NULL with nullptr in cpu/riscv
Reviewed-by: dholmes, fyang
(cherry picked from commit d2ce04bb10)
2023-04-21 13:38:00 +07:00
Viktor Klang
5d9a27d37d 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
(cherry picked from commit 54bf370079)
2023-04-21 13:38:00 +07:00
Johan Sjölen
c362744f90 8301495: Replace NULL with nullptr in cpu/ppc
Reviewed-by: rrich, mdoerr, tsteele
(cherry picked from commit 0826ceee65)
2023-04-21 13:38:00 +07:00
Leo Korinth
a3e83e4ff0 8305618: Move gcold out of tier1
Reviewed-by: lmesnik, shade
(cherry picked from commit c0c31224db)
2023-04-21 13:37:59 +07:00
sunguoyun
936e51a044 8305944: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: stefank, tschatzl
(cherry picked from commit 3651b92229)
2023-04-21 13:37:59 +07:00
Richard Reingruber
78eaa28982 8305934: PPC64: Disable VMContinuations on Big Endian
Reviewed-by: mdoerr, tsteele
(cherry picked from commit 12358e6c94)
2023-04-21 13:37:59 +07:00
Sergey Tsypanov
9f0410d62a 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
(cherry picked from commit 287bb06def)
2023-04-21 13:37:59 +07:00
David Holmes
bed0893359 8305936: JavaThread::create_system_thread_object has unused is_visible argument
Reviewed-by: alanb, kbarrett
(cherry picked from commit 8a1639d49b)
2023-04-21 13:37:59 +07:00
Matthew Donovan
a00586c4a6 8255548: Missing coverage for javax.xml.crypto.dom.DOMCryptoContext
Reviewed-by: rhalade, mullan
(cherry picked from commit 76cda9f44a)
2023-04-21 13:37:58 +07:00
Kevin Driver
3522db32f2 8305794: Unused interface sun.security.util.PermissionFactory can be removed
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: mullan, aturbanov
(cherry picked from commit b60604e8eb)
2023-04-21 13:37:58 +07:00
Leonid Mesnik
1cc1e609bc 8305875: Test TraceVirtualThreadLocals should be run with continuations only
Reviewed-by: alanb
(cherry picked from commit 92521b100f)
2023-04-21 13:37:58 +07:00
Leonid Mesnik
5a03246d00 8305937: com/sun/jdi/SetLocalWhileThreadInNative.java fails with -XX:+TieredCompilation
Reviewed-by: dcubed
(cherry picked from commit 00eb348a52)
2023-04-21 13:37:58 +07:00
Daniel D. Daugherty
4f51d6df9f 8305966: ProblemList com/sun/jdi/JdbLastErrorTest.java on windows-x64
Reviewed-by: alanb
(cherry picked from commit 1385c3d2f1)
2023-04-21 13:37:57 +07:00
Daniel Fuchs
bfe5724d39 8305847: Improve diagnosability and resilience of HttpClient::close tests
Reviewed-by: jpai, djelinski
(cherry picked from commit 90b4006bce)
2023-04-21 13:37:57 +07:00
Harshitha Onkar
f4c9b7e3c1 8305712: [MacOS] Deprecated Cocoa-NSEvent names
Reviewed-by: dmarkov, prr

(cherry picked from commit d7dc474a5a)
2023-04-21 13:37:57 +07:00
Archie L. Cobbs
8429c79e46 8296420: javac has long lines in its command-line help
Reviewed-by: jjg
(cherry picked from commit e0620b8e05)
2023-04-21 13:37:57 +07:00
Jonathan Dowland
4a3334fc5c 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: stuefe

(cherry picked from commit 6b9b7d1d92)
2023-04-21 13:37:57 +07:00
Jim Laskey
016bd4a82b 8305688: jdk build --with-memory-size=1024 broken by JDK-8305100
Reviewed-by: martin
(cherry picked from commit 2060c8ea14)
2023-04-21 13:37:56 +07:00
Jaikiran Pai
8b35d1b299 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: dfuchs
(cherry picked from commit 646b666a26)
2023-04-21 13:37:56 +07:00
Thomas Stuefe
135d612cfe 8305414: gtest/NMTGtests.java is failing various sub-tests
Reviewed-by: rkennke, adinn
(cherry picked from commit fb9a29d732)
2023-04-21 13:37:56 +07:00
Quan Anh Mai
74268ae241 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, xgong, jbhateja, vlivanov
(cherry picked from commit e846a1d700)
2023-04-21 13:37:56 +07:00
Jaikiran Pai
80613aa68d 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
(cherry picked from commit 3f36dd811e)
2023-04-21 13:37:55 +07:00
Eirik Bjorsnos
fcb6b65f7b 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
(cherry picked from commit 425ef0685c)
2023-04-21 13:37:55 +07:00
Jiangli Zhou
e869c0babe 8305858: Resolve multiple definition of 'handleSocketError' when statically linking with JDK native libraries
Reviewed-by: alanb
(cherry picked from commit 2bbbff209d)
2023-04-21 13:37:55 +07:00
Leonid Mesnik
788b75c950 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[])
Reviewed-by: cjplummer, dholmes
(cherry picked from commit bc15163386)
2023-04-21 13:37:55 +07:00
quadhier
1a2ec3f853 8305324: C2: Wrong execution of vectorizing Interger.reverseBytes
Reviewed-by: kvn, pli
(cherry picked from commit 19380d74e4)
2023-04-21 13:37:54 +07:00
Bill Huang
15bb85e97f 8295859: Update Manual Test Groups
Reviewed-by: msheppar
(cherry picked from commit 87017b5199)
2023-04-21 13:37:54 +07:00
Quan Anh Mai
9dd246e989 8305783: x86_64: Optimize AbsI and AbsL
Reviewed-by: jkarthikeyan, thartmann
(cherry picked from commit 99a9dbc8f1)
2023-04-21 13:37:54 +07:00
Johannes Bechberger
1b96ad7949 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Reviewed-by: dholmes, stuefe, mbaesken
(cherry picked from commit d8af7a6014)
2023-04-21 13:37:54 +07:00
Pengfei Li
bc2c2465a8 8305524: AArch64: Fix arraycopy issue on SVE caused by matching rule vmask_gen_sub
Reviewed-by: aph, xgong
(cherry picked from commit b9bdbe9ab3)
2023-04-21 13:37:54 +07:00
Xin Liu
568b827b3a 8305203: Simplify trimming operation in Region::Ideal
Reviewed-by: thartmann, kvn
(cherry picked from commit 82e8b0332b)
2023-04-21 13:37:53 +07:00
Maxim Kartashev
893f7b5d46 Wayland: fix AWT initialization on macOS 2023-04-21 10:35:02 +04:00
Nikita Provotorov
0bc4cab153 JBR-5536: Crash on macOS bad JNI lookup in Java_sun_swing_AccessibleAnnouncer_nativeAnnounce
Stop using the JNIEnv instance bound to EDT in the AppKit thread.

(cherry picked from commit 0f49341f4d)
2023-04-20 21:55:54 +03:00
Maxim Kartashev
cf8cfad297 JBR-5480 Fixed Windows debug build 2023-04-19 08:28:56 +04:00
Maxim Kartashev
fe683e690c Wayland: fixed build errors on macOS 2023-04-18 23:39:18 +04:00
Maxim Kartashev
ea36848090 JBR-5480 Fixed build failue with LLVM compilers 2023-04-18 20:05:33 +04:00
Maxim Kartashev
ed9811850b JBR-5480 Include more information in OOME crash reports 2023-04-18 14:13:43 +04:00
Maxim Kartashev
b2e9bc1700 Wayland: fixed build errors with older versions of Wayland 2023-04-18 12:52:57 +04:00
Sergey Shelomentsev
6494427822 JBR-5313 fix broken custom decoration tests on Windows 2023-04-18 10:33:37 +03:00
Vitaly Provodin
7fb03188a8 update exclude list on results of 61.1 test runs 2023-04-14 21:22:49 +07:00
Vitaly Provodin
068c17a152 JBR-5510 eclude tests failing on ArchLinux (5.18.2-arch1-1) 2023-04-14 21:11:52 +07:00
Dmitrii Morskii
b5b59d1c14 JBR-5246 add OpenType's features support 2023-04-14 12:46:07 +02:00
Alexey Ushakov
d825a61e2d Initial version of WLToolkit and Vulkan support
Co-authored-by: Dmitry Batrak <Dmitry.Batrak@jetbrains.com>
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
Co-authored-by: Maxim Kartashev <maxim.kartashev@jetbrains.com>
2023-04-13 17:29:04 +04:00
Bill Huang
e29e7af525 8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
Reviewed-by: msheppar
(cherry picked from commit 27cf63853c)
2023-04-13 10:58:55 +07:00
Justin King
18746e71b2 8305484: Compiler::init_c1_runtime unnecessarily uses an Arena that lives for the lifetime of the process
Reviewed-by: thartmann, kvn
(cherry picked from commit 42fa000a7d)
2023-04-13 10:58:55 +07:00
Brian Burkhalter
04ffdce191 8305809: (fs) Review obsolete Linux kernel dependency on os.version (Unix kernel 2.6.39)
Reviewed-by: rriggs, alanb
(cherry picked from commit 475e9a7cad)
2023-04-13 10:58:54 +07:00
Alexey Semenyuk
44b95cd2ef 8294806: jpackaged-app ignores splash screen from jar file
Reviewed-by: almatvee
(cherry picked from commit 1de772cd89)
2023-04-13 10:58:54 +07:00
Thomas Schatzl
2e7f7a7e1f 8305368: G1 remset chunk claiming may use relaxed memory ordering
Reviewed-by: ayang, iwalulya
(cherry picked from commit d9db90636f)
2023-04-13 10:58:53 +07:00
Thomas Schatzl
a062e70931 8305370: Inconsistent use of for_young_only_phase parameter in G1 predictions
Reviewed-by: iwalulya, kbarrett
(cherry picked from commit c789d24039)
2023-04-13 10:58:53 +07:00
Aleksei Voitylov
919386cd70 8305663: Wrong iteration order of pause array in g1MMUTracker
Reviewed-by: ayang, tschatzl
(cherry picked from commit c6d7cf6b48)
2023-04-13 10:58:53 +07:00
Jiangli Zhou
0e776045d2 8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries
Reviewed-by: alanb, kevinw
(cherry picked from commit ce4b995556)
2023-04-13 10:58:52 +07:00
Tom Rodriguez
8a9a80ae54 8305419: JDK-8301995 broke building libgraal
Reviewed-by: matsaave, dnsimon, thartmann
(cherry picked from commit 12946f5748)
2023-04-13 10:58:52 +07:00
Mark Powers
9c1ee8f69a 8302696: Revert API signature changes made in JDK-8285504 and JDK-8285263
Reviewed-by: mullan
(cherry picked from commit 9486969bd3)
2023-04-13 10:58:51 +07:00
Matias Saavedra Silva
8c0a9351ab 8304738: UnregisteredClassesTable_lock never created
Reviewed-by: iklam, jcking, dholmes
(cherry picked from commit 628a3f173a)
2023-04-13 10:58:51 +07:00
Leonid Mesnik
a2a2f85454 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: kvn, sspitsyn
(cherry picked from commit 7a5597c34f)
2023-04-13 10:58:50 +07:00
Chen Liang
efca97af15 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc
Reviewed-by: mchung
(cherry picked from commit e5ce7d9e43)
2023-04-13 10:58:50 +07:00
Julian Waters
63ba1acbdd 8304717: Declaration aliasing between boolean and jboolean is wrong
Reviewed-by: dholmes
(cherry picked from commit cd7d53c88c)
2023-04-13 10:58:49 +07:00
Alan Bateman
fe53c523d2 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
(cherry picked from commit 2586f36120)
2023-04-13 10:58:48 +07:00
Matthew Donovan
dc3946f226 8182621: JSSE should reject empty TLS plaintexts
Reviewed-by: xuelei
(cherry picked from commit 39398075b7)
2023-04-13 10:58:47 +07:00
Feilong Jiang
671fee67fc 8305728: RISC-V: Use bexti instruction to do single-bit testing
Reviewed-by: fyang, yzhu
(cherry picked from commit 137513025d)
2023-04-13 10:58:47 +07:00
Eirik Bjorsnos
3c9eb7398d 8304501: Remove orphaned demo netbeans projects
Reviewed-by: serb
(cherry picked from commit 4485737e9b)
2023-04-13 10:58:46 +07:00
Chen Liang
a22f3a210f 8305807: Spurious right brace in ConstantDescs field Javadocs
Reviewed-by: mchung, iris
(cherry picked from commit 0ff2ff6789)
2023-04-13 10:58:46 +07:00
Justin Lu
8c22b06294 6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
(cherry picked from commit 2aeb0e5267)
2023-04-13 10:58:45 +07:00
Justin Lu
218c8984db 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Reviewed-by: naoto
(cherry picked from commit 42965d390c)
2023-04-13 10:58:45 +07:00
Mandy Chung
9b0f94573a 8305808: Typo in javadoc of ConstantDescs::BSM_VARHANDLE_STATIC_FIELD
Reviewed-by: rriggs, iris
(cherry picked from commit a43a17c8ea)
2023-04-13 10:58:45 +07:00
Roger Riggs
c6d7e563bf 8304911: Use OperatingSystem enum in some modules
Reviewed-by: naoto, lancea, iris, jpai
(cherry picked from commit ba90dc7795)
2023-04-13 10:58:44 +07:00
Lance Andersen
0e17375610 8305758: Update the JAR tool man page to indicate -i/--generate-file is deprecated
Reviewed-by: alanb, jpai
(cherry picked from commit 76975da59e)
2023-04-13 10:58:43 +07:00
Eirik Bjorsnos
9724e38a2f 8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
(cherry picked from commit 0d45a524b3)
2023-04-13 10:58:43 +07:00
Vladimir Petko
1834343462 8305481: gtest is_first_C_frame failing on ARM
Reviewed-by: stuefe
(cherry picked from commit 0243da2e4a)
2023-04-13 10:58:42 +07:00
Eirik Bjorsnos
fc8906044f 8205129: Remove java.lang.Compiler
Reviewed-by: alanb, jpai
(cherry picked from commit a8e3a2dd2f)
2023-04-13 10:58:42 +07:00
Prasanta Sadhukhan
5d7d85bd73 4825182: DefaultBoundedRangeModel.setMinimum() changes extent unnecessarily
Reviewed-by: prr
(cherry picked from commit db174a15d1)
2023-04-13 10:58:41 +07:00
Weijun Wang
69221c7333 8305310: Calculate PublicKey from PrivateKey
Reviewed-by: mullan
(cherry picked from commit 97276859ab)
2023-04-13 10:57:40 +07:00
Andrey Turbanov
0b56c7ebbe 8305696: (zipfs) Avoid redundant LinkedHashMap.containsKey call ZipFileSystem.makeParentDirs
Reviewed-by: alanb, jpai, lancea
(cherry picked from commit 50d7335206)
2023-04-13 10:57:40 +07:00
Jaikiran Pai
dec1694bbb 6441827: Documentation mentions nonexistent NullReferenceException
Reviewed-by: iris
(cherry picked from commit ec9d816abf)
2023-04-13 10:57:39 +07:00
Joshua Cao
ef6404b8b3 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: erikj, jwaters
(cherry picked from commit 9e20382311)
2023-04-13 10:57:38 +07:00
Ioi Lam
552ff88f5d 8305766: ProblemList runtime/CompressedOops/CompressedClassPointers.java
Reviewed-by: cjplummer
(cherry picked from commit f45b01f883)
2023-04-13 10:57:38 +07:00
Jonathan Gibbons
cb577f9bca 8305407: ExternalSpecsWriter should ignore white-space differences in spec titles
Reviewed-by: hannesw
(cherry picked from commit a8871f5d26)
2023-04-13 10:57:37 +07:00
Roland Westrelin
122447d061 8300257: C2: vectorization fails on some simple Memory Segment loops
Reviewed-by: kvn, thartmann
(cherry picked from commit 6b2a86a65e)
2023-04-13 10:57:37 +07:00
Nikita Gubarkov
261f6ce836 8305666: Add system property for fair AWT lock
Reviewed-by: prr
(cherry picked from commit dc81603cbf)
2023-04-13 10:57:04 +07:00
Thomas Stuefe
841145f62f 8305711: Arm: C2 always enters slowpath for monitorexit
Reviewed-by: shade, kvn
(cherry picked from commit c67bbcea92)
2023-04-13 10:56:47 +07:00
Guoxiong Li
6ca264004c 8305118: Add RISC-V related content to building.md
Reviewed-by: erikj
(cherry picked from commit ce6e7461dc)
2023-04-13 10:56:46 +07:00
Joshua Cao
e1bfbbe4b4 8300829: Make CtwRunner available as an independent tool
Reviewed-by: xliu, phh
(cherry picked from commit 314e9b3dcc)
2023-04-13 10:56:45 +07:00
Kevin Walls
2ebe5d1ac6 8305680: Remove Permissions from jcmd help output
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit 0a34018797)
2023-04-13 10:43:17 +07:00
Kevin Walls
e5797bf834 8305622: Remove Permission details from jcmd man page
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit 8db1dd0258)
2023-04-13 10:43:17 +07:00
Chris Plummer
f54d46459a 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table
Reviewed-by: sspitsyn, lmesnik
(cherry picked from commit 1d517afbd4)
2023-04-13 10:43:16 +07:00
Viktor Klang
330408188c 8272119: Typo in JDK documentation (a -> an)
Reviewed-by: dfuchs, mchung, iris
(cherry picked from commit 08fbb7bb5e)
2023-04-13 10:43:16 +07:00
Quan Anh Mai
76b8ae08fb 8305461: [vectorapi] Add VectorMask::xor
Reviewed-by: psandoz
(cherry picked from commit 536ad9df1a)
2023-04-13 10:43:16 +07:00
Leonid Mesnik
721bab7bca 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit ddd50d0db3)
2023-04-13 10:43:16 +07:00
Matias Saavedra Silva
67e44296ef 8274166: Some CDS tests ignore -Dtest.cds.runtime.options
Reviewed-by: dholmes, iklam, aturbanov
(cherry picked from commit ce10460e94)
2023-04-13 10:43:16 +07:00
Sergey Tsypanov
e4e5ec343a 8304745: Lazily initialize byte[] in java.io.BufferedInputStream
Reviewed-by: liach, bpb, jpai
(cherry picked from commit e52a2aeeac)
2023-04-13 10:43:16 +07:00
Daniel Fuchs
0dea589c47 8267140: Support closing the HttpClient by making it auto-closable
Reviewed-by: jpai
(cherry picked from commit 6580c4e631)
2023-04-13 10:43:15 +07:00
Tingjun Yuan
64f3b054ff 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
(cherry picked from commit b5ea140dff)
2023-04-13 10:43:15 +07:00
Vladimir Petko
00c86ac3af 8305480: test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java failing on 32 bit arm
Reviewed-by: stuefe, dholmes
(cherry picked from commit a6a3cf485d)
2023-04-13 10:43:15 +07:00
Leonid Mesnik
f877a4085b 8305607: Remove some unused test parameters in com/sun/jdi tests
Reviewed-by: sspitsyn, amenkov, cjplummer
(cherry picked from commit 35d22930bb)
2023-04-13 10:43:15 +07:00
Serguei Spitsyn
11c2b0207b 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads
Reviewed-by: dholmes, alanb
(cherry picked from commit 5764119024)
2023-04-13 10:43:15 +07:00
Mandy Chung
74f178dec9 8305600: java/lang/invoke/lambda/LogGeneratedClassesTest.java fails after JDK-8304846 and JDK-8202110
Reviewed-by: jvernee
(cherry picked from commit 312702567a)
2023-04-13 10:43:15 +07:00
David Holmes
4ef9ae9516 8305425: Thread.isAlive0 doesn't need to call into the VM
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, coleenp, alanb
(cherry picked from commit 35cb303a2c)
2023-04-13 10:43:15 +07:00
Daniel D. Daugherty
ef6b151a31 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp
8305679: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-aarch64 with ZGC

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

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

Reviewed-by: vromero
(cherry picked from commit 14b970dc9e)
2023-04-13 10:42:52 +07:00
Damon Nguyen
8e1aaf6f29 8302558: Editable JComboBox's popup blocks user from seeing characters in Aqua look and feel
Reviewed-by: psadhukhan, azvegint
(cherry picked from commit 80e2d52f76)
2023-04-13 10:42:52 +07:00
Roger Riggs
71b7c31631 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
(cherry picked from commit 6c3b10fb1d)
2023-04-13 10:42:52 +07:00
Damon Nguyen
5cc904f2f6 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color
Reviewed-by: honkar, kizune, psadhukhan
(cherry picked from commit 87b314a985)
2023-04-13 10:42:52 +07:00
Jonathan Gibbons
2217cabc74 8304689: Add hidden option to disable external spec page
Reviewed-by: erikj, hannesw
(cherry picked from commit 2f34687ec1)
2023-04-13 10:42:51 +07:00
Julian Waters
992e060471 8304718: GetIntArrayElements should not be passed JNI_FALSE
Reviewed-by: serb
(cherry picked from commit 6b2f34f88a)
2023-04-13 10:42:51 +07:00
Jan Lahoda
b6a2caf7dd 8304694: Runtime exception thrown when break stmt is missing
Reviewed-by: vromero
(cherry picked from commit 138cdc9283)
2023-04-13 10:42:51 +07:00
Eirik Bjorsnos
fdf64a8f5e 8304547: Remove checking of -Djava.compiler in src/jdk.jdi/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java
Reviewed-by: dholmes, cjplummer, alanb
(cherry picked from commit 46b0602376)
2023-04-13 10:42:51 +07:00
Justin King
0f273fe5d6 8304723: Statically allocate global mutexes
8304736: Heap_lock is created twice

Reviewed-by: coleenp, dholmes, tschatzl

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

Reviewed-by: vromero
(cherry picked from commit ac6af6a640)
2023-04-13 10:42:48 +07:00
Justin Lu
8495ded689 8303917: Update ISO 639 language codes table
Reviewed-by: naoto
(cherry picked from commit dd23ee9e87)
2023-04-13 10:42:47 +07:00
Viktor Klang
70b3dcb4dc 8304557: java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out
Reviewed-by: jpai
(cherry picked from commit 6f67abd352)
2023-04-13 10:42:47 +07:00
Thomas Schatzl
3783284869 8304716: Clean up G1Policy::calc_max_old_cset_length()
Reviewed-by: ayang, iwalulya
(cherry picked from commit 568dd57d0d)
2023-04-13 10:42:47 +07:00
Ian Graves
ff7bb3b6c1 8304691: Remove jlink --post-process-path option
Reviewed-by: mchung
(cherry picked from commit af0504e3f3)
2023-04-13 10:42:47 +07:00
Vladimir Kozlov
82947b54dd 8231349: Move intrinsic stubs generation to compiler runtime initialization code
Reviewed-by: redestad, vlivanov
(cherry picked from commit 3859faf183)
2023-04-13 10:42:47 +07:00
Thomas Schatzl
289605891e 8304711: Combine G1 root region abort and wait into a single method
Reviewed-by: ayang, iwalulya
(cherry picked from commit f37674a8f7)
2023-04-13 10:42:47 +07:00
Thomas Schatzl
142de3f84c 8304712: Only pass total number of regions into G1Policy::calc_min_old_cset_length
Reviewed-by: ayang, iwalulya
(cherry picked from commit 7f9e691630)
2023-04-13 10:42:46 +07:00
Brian Burkhalter
48dae282e9 8294137: Review running times of java.math tests
Reviewed-by: darcy
(cherry picked from commit 51035a75e4)
2023-04-13 10:42:46 +07:00
Brian Burkhalter
4df608c0eb 4842457: (bf spec) Clarify meaning of "(optional operation)"
Reviewed-by: alanb
(cherry picked from commit 46cca1a4c5)
2023-04-13 10:42:46 +07:00
Archie L. Cobbs
85de5fe7bf 8184444: The compiler error "variable not initialized in the default constructor" is not apt in case of static final variables
Reviewed-by: vromero
(cherry picked from commit 6fa25cc134)
2023-04-13 10:42:46 +07:00
Archie L. Cobbs
b05a088adc 8027682: javac wrongly accepts semicolons in package and import decls
Reviewed-by: vromero
(cherry picked from commit 4b8f7db6be)
2023-04-13 10:42:46 +07:00
Archie L. Cobbs
e3adb66d7b 8043179: Lambda expression can mutate final field
Reviewed-by: vromero
(cherry picked from commit c00d0885ae)
2023-04-13 10:42:46 +07:00
Daniel Jeliński
9be2be0a39 8219083: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java failed in same binary run on windows x64
Reviewed-by: dfuchs
(cherry picked from commit 147f3473d4)
2023-04-13 10:42:46 +07:00
Coleen Phillimore
4b82aff54f 8304687: Move add_to_hierarchy
Reviewed-by: dholmes, fparain

(cherry picked from commit bf917ba6af)
2023-04-13 10:42:45 +07:00
Jan Lahoda
74012ac22b 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: vromero, darcy
(cherry picked from commit 63d4afbeb1)
2023-04-13 10:42:45 +07:00
Prasanta Sadhukhan
78ba26d001 6817009: Action.SELECTED_KEY not toggled when using key binding
Reviewed-by: tr, jdv
(cherry picked from commit e2cfcfbfa9)
2023-04-13 10:42:45 +07:00
Emanuel Peter
20db172c94 8303951: Add asserts before record_method_not_compilable where possible
Reviewed-by: kvn, thartmann
(cherry picked from commit af4d5600e3)
2023-04-13 10:42:45 +07:00
Prasanta Sadhukhan
7c28e64889 6245410: javax.swing.text.html.CSS.Attribute: BACKGROUND_POSITION is not w3c spec compliant
Reviewed-by: aivanov
(cherry picked from commit c4338620b7)
2023-04-13 10:42:45 +07:00
Archie L. Cobbs
822963c0b2 8029301: Confusing error message for array creation method reference
Reviewed-by: vromero
(cherry picked from commit 91f407d6fe)
2023-04-13 10:42:44 +07:00
Leonid Mesnik
ec3c79427e 8304376: Rename t1/t2 classes in com/sun/jdi/CLETest.java to avoid class duplication error in IDE
Reviewed-by: sspitsyn, cjplummer
(cherry picked from commit e73411a235)
2023-04-13 10:42:44 +07:00
Chen Liang
372b42dacf 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized
Reviewed-by: mchung
(cherry picked from commit a2d8f634de)
2023-04-13 10:42:44 +07:00
Jan Kratochvil
ac496f72f2 8302191: Performance degradation for float/double modulo on Linux
Reviewed-by: dholmes, sviswanathan
(cherry picked from commit 37774556da)
2023-04-13 10:42:44 +07:00
Justin King
e9800edf2e 8304683: Memory leak in WB_IsMethodCompatible
Reviewed-by: thartmann
(cherry picked from commit 760c0128a4)
2023-04-13 10:42:44 +07:00
Ludvig Janiuk
ac36267b12 8304134: jib bootstrapper fails to quote filename when checking download filetype
Reviewed-by: erikj
(cherry picked from commit 75168eaca3)
2023-04-13 10:42:44 +07:00
Johan Sjölen
7a205e6ecd 8301498: Replace NULL with nullptr in cpu/x86
Reviewed-by: dholmes, kvn
(cherry picked from commit 4154a980ca)
2023-04-13 10:42:43 +07:00
Coleen Phillimore
98e5e9d981 8304089: Convert TraceDependencies to UL
Reviewed-by: vlivanov, dholmes
(cherry picked from commit ddf1e34c1a)
2023-04-13 10:42:43 +07:00
Adam Sotona
8a3942879d 8294972: Convert jdk.jlink internal plugins to use the Classfile API
Reviewed-by: mchung, alanb
(cherry picked from commit 358c61b58d)
2023-04-13 10:42:43 +07:00
Albert Mingkun Yang
38a2b37786 8304657: G1: Rename set_state_empty to set_state_untracked
Reviewed-by: tschatzl
(cherry picked from commit c74507eeb3)
2023-04-13 10:42:42 +07:00
Albert Mingkun Yang
a632b29807 8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Reviewed-by: tschatzl, ysr
(cherry picked from commit ca94287d2b)
2023-04-13 10:42:42 +07:00
Daniel Jeliński
c07af0be2b 8304286: java/net/SocketOption/OptionsTest.java failing after JDK-8302659
Reviewed-by: dfuchs
(cherry picked from commit eda0065107)
2023-04-13 10:42:42 +07:00
Wang Haomin
105a955d78 8303804: Fix some errors of If-VectorTest and CMove-VectorTest
Reviewed-by: qamai, thartmann
(cherry picked from commit c039d26603)
2023-04-13 10:42:42 +07:00
Adam Sotona
457079db85 8304502: Classfile API class hierarchy makes assumptions when class is not resolved
Reviewed-by: jpai
(cherry picked from commit 0156909ab3)
2023-04-13 10:42:41 +07:00
Chris Plummer
7196707dd0 8290200: com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
Reviewed-by: amenkov, lmesnik, sspitsyn, dcubed
(cherry picked from commit 0deb648985)
2023-04-13 10:42:41 +07:00
Chen Liang
faed1b9e7c 8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
(cherry picked from commit 019fcd819c)
2023-04-13 10:42:41 +07:00
Christian Hagedorn
4e9a3156b4 8304680: Problemlist compiler/sharedstubs/SharedStubToInterpTest.java
Reviewed-by: thartmann
(cherry picked from commit d6f20e2fbf)
2023-04-13 10:42:41 +07:00
Chen Liang
5b092754d2 8304180: Constant Descriptors for MethodHandles::classData and classDataAt
Reviewed-by: jvernee, mchung
(cherry picked from commit d788a1bb80)
2023-04-13 10:42:41 +07:00
Coleen Phillimore
30e8054cb8 8299494: Test vmTestbase/nsk/stress/except/except011.java failed: ExceptionInInitializerError: target class not found
Reviewed-by: dholmes, dcubed
(cherry picked from commit bbde2158d1)
2023-04-13 10:42:41 +07:00
Xiaolin Zheng
fde0fc8dff 8304387: Fix positions of shared static stubs / trampolines
Reviewed-by: adinn, fyang
(cherry picked from commit 1c04686cd6)
2023-04-13 10:42:40 +07:00
Matthias Baesken
016d719397 8304334: java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java times out on slow platforms
Reviewed-by: lucy, serb, prr
(cherry picked from commit c65bb2c58e)
2023-04-13 10:42:40 +07:00
Raffaello Giulietti
7355b52c89 8303648: Add String.indexOf(String str, int beginIndex, int endIndex)
Reviewed-by: rriggs
(cherry picked from commit 4bf1fbb06d)
2023-04-13 10:42:40 +07:00
Jan Lahoda
200d2a065f 8304537: Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor
Reviewed-by: vromero, erikj
(cherry picked from commit c4df9b5f17)
2023-04-13 10:42:40 +07:00
Jasmine K
cba0f0d156 8304230: LShift ideal transform assertion
Reviewed-by: thartmann
(cherry picked from commit a6b72f56f5)
2023-04-13 10:42:40 +07:00
Varada M
2714091bd5 8303948: HsErrFileUtils.checkHsErrFileContent() fails to check the last pattern.
Reviewed-by: dholmes, stuefe
(cherry picked from commit a72ba38347)
2023-04-13 10:42:39 +07:00
Vitaly Provodin
010ecf92da fixup! Added JBR API 2023-04-13 10:42:39 +07:00
Mandy Chung
c1dc56d300 8304542: Convert use of internal VM::classFileVersion to ClassFileFormatVersion
Reviewed-by: alanb
(cherry picked from commit bbca7c3ede)
2023-04-13 10:42:39 +07:00
Naoto Sato
7ecf40de94 8303018: Unicode Emoji Properties
Reviewed-by: prr, erikj, rriggs
(cherry picked from commit f593a6b52e)
2023-04-13 10:42:39 +07:00
Serguei Spitsyn
fdfeedd327 8304303: implement VirtualThread class notifyJvmti methods as C2 intrinsics
Reviewed-by: vlivanov, lmesnik
(cherry picked from commit bc0ed730f2)
2023-04-13 10:42:39 +07:00
Kim Barrett
54dde4eaad 8304016: Add BitMap find_last suite of functions
Reviewed-by: stefank, aboldtch
(cherry picked from commit 2d0d057d66)
2023-04-13 10:42:39 +07:00
Maurizio Cimadamore
5486602524 8304420: Regression ~11% with Javac-Generates on all platforms in b14
Reviewed-by: vromero
(cherry picked from commit 42723dcb18)
2023-04-13 10:42:38 +07:00
Julian Waters
85113292ea 8304541: Modules THROW_MSG_ should return nullptr instead of JNI_FALSE
Reviewed-by: coleenp
(cherry picked from commit 19f2edd9b7)
2023-04-13 10:42:38 +07:00
Mandy Chung
e6619d7f0f 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
(cherry picked from commit 622f239448)
2023-04-13 10:42:38 +07:00
Tyler Steele
a6e7576ef9 8304364: [AIX] Build erroneously determines build disk is non-local when using GNU-utils df on AIX
Reviewed-by: erikj
(cherry picked from commit 4c8c9935eb)
2023-04-13 10:42:38 +07:00
Thomas Schatzl
cbd7882da1 8304393: Provide method to iterate over regions of humongous object in G1
Reviewed-by: iwalulya, ayang
(cherry picked from commit 4ed7350573)
2023-04-13 10:42:38 +07:00
Matias Saavedra Silva
8c8629d66c 8301715: CDS should be disabled in exploded JDK
Reviewed-by: ccheung, coleenp
(cherry picked from commit eb73fa833c)
2023-04-13 10:42:37 +07:00
Jonathan Gibbons
355c580bda 8304433: cleanup sentence breaker code in DocTreeMaker
Reviewed-by: hannesw
(cherry picked from commit 80e979720a)
2023-04-13 10:42:37 +07:00
Archie L. Cobbs
db28a91fab 8304443: bootcycle builds fail after JDK-8015831
Reviewed-by: vromero
(cherry picked from commit c396f1ed8b)
2023-04-13 10:42:37 +07:00
Viktor Klang
381e7b9556 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Reviewed-by: jpai, alanb
(cherry picked from commit ded6a81319)
2023-04-13 10:42:37 +07:00
Albert Mingkun Yang
c06a86519f 8304411: Remove unused CardTable::clear
Reviewed-by: tschatzl
(cherry picked from commit 652bda0af8)
2023-04-13 10:42:37 +07:00
Daniel Jeliński
d990ff430b 8304174: Remove delays from httpserver tests
Reviewed-by: jpai, dfuchs
(cherry picked from commit 450567031e)
2023-04-13 10:42:36 +07:00
Feilong Jiang
f9dce4809a 8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
(cherry picked from commit c09f83ec25)
2023-04-13 10:42:36 +07:00
Archie L. Cobbs
8d6d49a272 7016187: javac -h could generate conflict .h for inner class and class name with '_'
Reviewed-by: vromero
(cherry picked from commit e339e183c1)
2023-04-13 10:42:36 +07:00
Chris Plummer
dbe02ebb50 8304437: ProblemList com/sun/jdi/ThreadMemoryLeadTest.java with ZGC
Reviewed-by: jpai, dcubed
(cherry picked from commit 033c0b17cb)
2023-04-13 10:42:36 +07:00
Yudi Zheng
34438da9fb 8304138: [JVMCI] Test FailedSpeculation existence before appending.
Reviewed-by: kvn, dnsimon
(cherry picked from commit 7503ecc0f1)
2023-04-13 10:42:36 +07:00
Chris Plummer
ecf685872f 8297638: Memory leak in case of many started-dead threads
Reviewed-by: amenkov, sspitsyn
(cherry picked from commit f8482c20f4)
2023-04-13 10:42:35 +07:00
Alexander Matveev
8c92ebab8f 8298995: tools/jpackage/share/AddLauncherTest.java#id1 failed "AddLauncherTest.test; checks=53"
Reviewed-by: asemenyuk
(cherry picked from commit c56f011baa)
2023-04-13 10:42:35 +07:00
Archie L. Cobbs
c40ebf6e9f 8014021: TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested
Reviewed-by: vromero, jlahoda
(cherry picked from commit 254288a518)
2023-04-13 10:42:35 +07:00
Archie L. Cobbs
b3362c9611 8015831: Add lint check for calling overridable methods from a constructor
6557145: Warn about calling abstract methods in constructors

Reviewed-by: ihse, vromero, mcimadamore
(cherry picked from commit 8f5bb538ab)
2023-04-13 10:42:35 +07:00
Archie L. Cobbs
704a673e01 8180387: com.sun.source.util.JavacTask should have a protected constructor.
Reviewed-by: vromero
(cherry picked from commit b085ab9316)
2023-04-13 10:42:35 +07:00
Maxim Kartashev
422fdf94b0 JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case 2023-04-10 18:46:29 +04:00
Frederic Parain
bb9f30424f 8292818: replace 96-bit representation for field metadata with variable-sized streams
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, coleenp, cjplummer, dnsimon
2023-04-10 15:04:00 +02:00
Vladimir Dvorak
080d12f48d JBR-5183 - ref openjdk/8292818 - special access flags removed 2023-04-10 14:48:46 +02:00
Tingjun Yuan
233957e1eb 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
2023-04-10 14:48:06 +02:00
Maxim Kartashev
989a28c80f JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr 2023-04-10 10:13:24 +04:00
Coleen Phillimore
50cb4ab53b 8298469: Obsolete legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: dholmes, fparain

(cherry picked from commit 932be3542d)
2023-04-09 09:13:36 +07:00
Alex Menkov
1842b6a831 8303921: serviceability/sa/UniqueVtableTest.java timed out
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit 02a4ee206a)
2023-04-09 09:07:43 +07:00
Naoto Sato
77605fc323 8304367: jlink --include-locales=* attempts to parse non .class resource files with classfile reader
Reviewed-by: mchung, lancea, jpai
(cherry picked from commit 4486f1b720)
2023-04-09 09:07:42 +07:00
Leonid Mesnik
31abaf4304 8303697: ProcessTools doesn't print last line of process output
Reviewed-by: dholmes, stuefe
(cherry picked from commit 8d2ebf248e)
2023-04-09 09:07:41 +07:00
Leonid Mesnik
8306ef5103 8304314: StackWalkTest.java fails after CODETOOLS-7903373
Reviewed-by: alanb, mchung
(cherry picked from commit d5a150706e)
2023-04-09 09:07:39 +07:00
Damon Fenacci
a184e6b364 8303069: Memory leak in CompilerOracle::parse_from_line
Reviewed-by: thartmann, jcking
(cherry picked from commit 384a8b85a7)
2023-04-09 09:07:37 +07:00
Afshin Zafari
6828358eaa 8301684: Fix test code to not get finalizer deprecation warnings
Reviewed-by: coleenp, dholmes
(cherry picked from commit 6dd6c15ed4)
2023-04-09 09:07:36 +07:00
Afshin Zafari
85f391aef2 8292059: Do not inline InstanceKlass::allocate_instance()
Reviewed-by: coleenp, stefank
(cherry picked from commit cb4ae1922d)
2023-04-09 09:07:34 +07:00
Adam Sotona
f991c6c31e 8304164: jdk/classfile/CorpusTest.java still fails after JDK-8303910
Reviewed-by: jpai
(cherry picked from commit b2639e1d62)
2023-04-09 09:07:32 +07:00
Johan Sjölen
d10019f897 8304130: Add runtime/StackGuardPages/TestStackGuardPagesNative.java to ProblemList.txt
Reviewed-by: dcubed
(cherry picked from commit 620564ac61)
2023-04-09 09:07:30 +07:00
Richard Reingruber
c02ee26c05 8299375: [PPC64] GetStackTraceSuspendedStressTest tries to deoptimize frame with invalid fp
Reviewed-by: mdoerr
(cherry picked from commit 9d518c528b)
2023-04-09 09:07:29 +07:00
Matthias Baesken
af2b2958c6 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Reviewed-by: asemenyuk, almatvee
(cherry picked from commit ebac7eec8e)
2023-04-09 09:07:27 +07:00
Kosta Stojiljkovic
15f998d2d6 8304242: CPUInfoTest fails because "serialize" CPU feature is not known
Reviewed-by: kvn, sviswanathan, thartmann
(cherry picked from commit 36995c5a75)
2023-04-09 09:07:26 +07:00
Prasanta Sadhukhan
0c80292fab 7154070: in SwingSet2, switching between LaFs it's easy to lose JTable dividers
6788475: Changing to Nimbus LAF and back doesn't reset look and feel of JTable completely

Reviewed-by: tr, abhiscxk, honkar, jdv
(cherry picked from commit 6b42275461)
2023-04-09 09:07:25 +07:00
Pavel Rappo
9c9d9f575a 8304146: Refactor VisibleMemberTable (LocalMemberTable)
Reviewed-by: jjg
(cherry picked from commit 8eed7dea7b)
2023-04-09 09:07:24 +07:00
David Holmes
3410cb59d5 8303150: DCmd framework unnecessarily creates a DCmd instance on registration
Reviewed-by: fparain, stuefe, kevinw
(cherry picked from commit a487a270dc)
2023-04-09 09:07:24 +07:00
Chen Liang
032637611e 8304360: Test to ensure ConstantDescs fields work
Reviewed-by: mchung, jvernee
(cherry picked from commit 2e987d798a)
2023-04-09 09:07:23 +07:00
Jaikiran Pai
8190db36ea 8304225: Remove javax/script/Test7.java from ProblemList
Reviewed-by: naoto
(cherry picked from commit 2f23c80e0d)
2023-04-09 09:07:23 +07:00
Ivan Walulya
dbd2782aed 8191565: Last-ditch Full GC should also move humongous objects
Reviewed-by: tschatzl, sjohanss

(cherry picked from commit 96889bf3e4)
2023-04-09 09:07:13 +07:00
Albert Mingkun Yang
7f0e11a2ff 8304055: G1: Remove OldGCAllocRegion::release
Reviewed-by: iwalulya, tschatzl
(cherry picked from commit f629152021)
2023-04-09 08:36:00 +07:00
Albert Mingkun Yang
aadcb3fb23 8303749: Serial: Use more strict card table API
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit b5108b4f37)
2023-04-09 08:35:59 +07:00
Chen Liang
18aaac1387 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField
Reviewed-by: jvernee
(cherry picked from commit 7dbab81d3c)
2023-04-09 08:35:58 +07:00
Jorn Vernee
2f12efbff9 8303684: Lift upcall sharing mechanism to AbstractLinker (mainline)
Reviewed-by: mcimadamore
(cherry picked from commit d4eb395335)
2023-04-09 08:35:58 +07:00
Per Minborg
e2079c110b 8304283: Modernize the switch statements in jdk.internal.foreign
Reviewed-by: mcimadamore
(cherry picked from commit dfc7214a3e)
2023-04-09 08:35:57 +07:00
Ilya Korennoy
cc11833dce 8293324: ciField.hpp has two methods to return field's offset
Reviewed-by: thartmann
(cherry picked from commit 7277bb19f1)
2023-04-09 08:35:57 +07:00
Damon Fenacci
4b23cf8c74 8303154: Investigate and improve instruction cache flushing during compilation
Reviewed-by: thartmann, kvn
(cherry picked from commit b7945bc9e5)
2023-04-09 08:35:55 +07:00
Abhishek Kumar
5b8bbfb931 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change
Reviewed-by: serb, asemenov
(cherry picked from commit eefbaa2956)
2023-04-09 08:35:53 +07:00
changpeng1997
a412a38ad7 8302906: AArch64: Add SVE backend support for vector unsigned comparison
Reviewed-by: aph, eliu
(cherry picked from commit 42dd9077a0)
2023-04-09 08:35:52 +07:00
Jorn Vernee
4bb8136cad 8303022: "assert(allocates2(pc)) failed: not in CodeBuffer memory" When linking downcall handle
Reviewed-by: kvn, vlivanov
(cherry picked from commit 2b81faeb35)
2023-04-09 08:35:51 +07:00
Weijun Wang
e6a7398b33 8304264: Debug messages always show up for NativeGSS
Reviewed-by: mullan
(cherry picked from commit be08a256ab)
2023-04-09 08:35:50 +07:00
Daniel Jeliński
7ce3c3a48c 8304287: Problemlist java/net/SocketOption/OptionsTest.java
Reviewed-by: dfuchs
(cherry picked from commit 1ae69e3e91)
2023-04-09 08:35:49 +07:00
Vladimir Kozlov
3f4ede1228 8304267: JDK-8303415 missed change in Zero Interpreter
Reviewed-by: dcubed
(cherry picked from commit 116627dfb0)
2023-04-09 08:35:48 +07:00
Matthew Donovan
26486ba9cf 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: rhalade
(cherry picked from commit 824a5e4c60)
2023-04-09 08:35:41 +07:00
Leonid Mesnik
8c5204e7b1 8300317: vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
Reviewed-by: dholmes, mseledtsov
(cherry picked from commit 7ad48ea3ad)
2023-04-09 08:35:39 +07:00
Rich DiCroce
979a019155 8302659: Modernize Windows native code for NetworkInterface
Reviewed-by: ihse, djelinski, alanb, michaelm
(cherry picked from commit 35a2969057)
2023-04-09 08:35:36 +07:00
Emanuel Peter
9c4dc04f4e 8298935: fix independence bug in create_pack logic in SuperWord::find_adjacent_refs
Reviewed-by: kvn, jbhateja
(cherry picked from commit 01e6920581)
2023-04-09 08:35:35 +07:00
Julian Waters
3f93227718 8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP
Reviewed-by: kbarrett, dholmes
(cherry picked from commit 3d77e217b2)
2023-04-09 08:35:34 +07:00
Johan Sjölen
86cb03f542 8270865: Print process ID with -Xlog:os
Reviewed-by: dholmes, ccheung
(cherry picked from commit e3777b0c49)
2023-04-09 08:35:32 +07:00
Arno Zeller
4d0e709f64 8304030: Configure call fails on AIX when using --with-gtest option.
Reviewed-by: mbaesken, erikj
(cherry picked from commit 349139b2cc)
2023-04-09 08:35:31 +07:00
Adam Sotona
c3a0f57bea 8294962: Convert java.base/jdk.internal.module package to use the Classfile API to modify and write module-info.class
Reviewed-by: alanb, mchung
(cherry picked from commit 714b5f036f)
2023-04-09 08:35:31 +07:00
Alexandre Iline
f92870a651 8304171: Fix layout of JCov instrumented bundle on Mac OS
Reviewed-by: erikj
(cherry picked from commit 065d3e0d58)
2023-04-09 08:35:29 +07:00
Leonid Mesnik
a1e51a1ff4 8303705: Field sleeper.started should be volatile JdbLockTestTarg.java
Reviewed-by: dholmes
(cherry picked from commit cd41c69d44)
2023-04-09 08:35:28 +07:00
Harshitha Onkar
fdff88860a 8301998: Update HarfBuzz to 7.0.1
Reviewed-by: erikj, prr
(cherry picked from commit f5c8b68c1c)
2023-04-09 08:35:24 +07:00
Daniel D. Daugherty
15af2e6197 8304172: ProblemList serviceability/sa/UniqueVtableTest.java
8304175: ProblemList compiler/vectorapi/VectorLogicalOpIdentityTest.java on 2 platforms

Reviewed-by: azvegint
(cherry picked from commit 617c15f5a1)
2023-04-09 08:35:23 +07:00
Pavel Rappo
be2d39b422 8303882: Refactor some iterators in jdk.compiler
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
(cherry picked from commit f81e1def8f)
2023-04-09 08:35:22 +07:00
Julian Waters
3c868f652f 8295884: Implement IDE support for Eclipse
Reviewed-by: erikj

(cherry picked from commit 45809fd0c0)
2023-04-09 08:35:22 +07:00
Daniel Jeliński
4475061aed 8303814: getLastErrorString should avoid charset conversions
Reviewed-by: naoto, cjplummer, rriggs
(cherry picked from commit baf11e734f)
2023-04-09 08:34:33 +07:00
Calvin Cheung
d76c71c743 8302795: Shared archive failed on old version class with jsr bytecode
Reviewed-by: minqi, matsaave
(cherry picked from commit 830fd41346)
2023-04-09 08:34:32 +07:00
Kevin Walls
9b02abdb39 8298966: Deprecate JMX Subject Delegation and the method JMXConnector.getMBeanServerConnection(Subject) for removal.
Reviewed-by: mchung, dfuchs
(cherry picked from commit 4e631fa43f)
2023-04-09 08:34:16 +07:00
Alexey Bakhtin
d08e7d141f 8303809: Dispose context in SPNEGO NegotiatorImpl
Reviewed-by: dfuchs, weijun
(cherry picked from commit 10f1674625)
2023-04-09 08:34:16 +07:00
Hannes Wallnöfer
94990b88ce 8303895: Simplify and clean up LinkFactory code
Reviewed-by: prappo
(cherry picked from commit 9f9ab02ff6)
2023-04-09 08:34:15 +07:00
Thomas Stuefe
7b5cf38285 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: dholmes, rkennke
(cherry picked from commit a00f5d24d3)
2023-04-09 08:34:15 +07:00
Jamil Nimeh
c6e0fbd956 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
(cherry picked from commit da044dd569)
2023-04-09 08:34:14 +07:00
Christian Hagedorn
7698a4cf53 8299546: C2: MulLNode::mul_ring() wrongly returns bottom type due to casting errors with large numbers
Reviewed-by: iveresov, kvn, qamai
(cherry picked from commit c466cdf973)
2023-04-09 08:34:14 +07:00
Coleen Phillimore
d4fc984bb9 8304059: Use InstanceKlass in dependencies
Reviewed-by: vlivanov, thartmann
(cherry picked from commit 55aa122462)
2023-04-09 08:34:12 +07:00
Vladimir Kozlov
0296c7f697 8303415: Add VM_Version::is_intrinsic_supported(id)
Reviewed-by: thartmann, dholmes
(cherry picked from commit ec1eb00ed3)
2023-04-09 08:34:11 +07:00
Eirik Bjorsnos
bc0f71bf42 8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options
Reviewed-by: weijun
(cherry picked from commit 31680b2bcf)
2023-04-09 08:34:09 +07:00
Ivan Walulya
10b133112a 8304015: G1: Metaspace-induced GCs should not trigger maximal compaction
Reviewed-by: ayang, tschatzl
(cherry picked from commit 0cc0f063e2)
2023-04-09 08:34:08 +07:00
Adam Sotona
14d083c2ef 8303910: jdk/classfile/CorpusTest.java failed 1 of 6754 tests
Reviewed-by: jpai
(cherry picked from commit 43eca1dcb1)
2023-04-09 08:34:07 +07:00
Matthias Baesken
54933abffc 8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
Reviewed-by: chagedorn
(cherry picked from commit b6d70f2c49)
2023-04-09 08:34:06 +07:00
Julian Waters
fb1feaaa37 8301244: Tidy up compiler specific warnings files
Reviewed-by: kbarrett, dholmes
(cherry picked from commit 2bb990edde)
2023-04-09 08:34:05 +07:00
Alisen Chung
c88cf8a482 8303482: Update LCMS to 2.15
Reviewed-by: serb, prr, dnguyen
(cherry picked from commit c073ef2ed5)
2023-04-09 08:34:04 +07:00
Feilong Jiang
b080b5f97b 8303955: RISC-V: Factor out the tmp parameter from copy_memory and copy_memory_v
Reviewed-by: fyang, yzhu
(cherry picked from commit 49181b81dd)
2023-04-09 08:34:03 +07:00
Pavel Rappo
028ee0dd1a 8300517: Refactor VisibleMemberTable (method members)
Reviewed-by: jjg
(cherry picked from commit 7bbc5e0efb)
2023-04-09 08:34:02 +07:00
Patricio Chilano Mateo
8b4f5eeb4f 8303908: Add missing check in VTMS_transition_disable_for_all() for suspend mode
Reviewed-by: sspitsyn, dholmes
(cherry picked from commit a8f662ecb2)
2023-04-09 08:34:01 +07:00
Ilarion Nakonechnyy
1a344b8ecd 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: coleenp, dholmes
(cherry picked from commit 5685107579)
2023-04-09 08:34:01 +07:00
Justin King
855076e436 8303606: Memory leaks in Arguments::parse_each_vm_init_arg
Reviewed-by: dholmes, fparain
(cherry picked from commit 671a45219f)
2023-04-09 08:34:00 +07:00
Adam Sotona
8632cf69f4 8294974: Convert jdk.jshell/jdk.jshell.execution.LocalExecutionControl to use the Classfile API to instrument classes
Reviewed-by: jlahoda
(cherry picked from commit a95bc7acd0)
2023-04-09 08:34:00 +07:00
Alexey Ivanov
93f37e54a1 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Reviewed-by: prr, tr, serb

(cherry picked from commit f835aaafc7)
2023-04-09 08:33:59 +07:00
Daniel Fuchs
a35eae7f52 8303965: java.net.http.HttpClient should reset the stream if response headers contain malformed header fields
Reviewed-by: jpai
(cherry picked from commit 466ffebcae)
2023-04-09 08:31:46 +07:00
Andrey Turbanov
29ab4c3c42 8303213: Avoid AtomicReference in TextComponentPrintable
Reviewed-by: serb, aivanov
(cherry picked from commit 431e702b67)
2023-04-09 08:31:46 +07:00
Albert Mingkun Yang
c636f28393 8303824: Parallel: Use more strict card table API
Reviewed-by: tschatzl, iwalulya, ysr
(cherry picked from commit 4cf4c599b9)
2023-04-09 08:31:45 +07:00
Jasmine K
47a71c8aac 8303238: Create generalizations for existing LShift ideal transforms
Reviewed-by: redestad, thartmann
(cherry picked from commit 8e41bf222f)
2023-04-09 08:31:45 +07:00
Thomas Schatzl
ede04aef2a 8303883: Confusing parameter name in G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes
Reviewed-by: ayang, iwalulya
(cherry picked from commit 805a4e6806)
2023-04-09 08:31:44 +07:00
Adam Sotona
460b1a02fd 8294966: Convert jdk.jartool/sun.tools.jar.FingerPrint to use the ClassFile API to parse JAR entries
Reviewed-by: mchung
(cherry picked from commit 25e7ac226a)
2023-04-09 08:31:44 +07:00
Thomas Schatzl
e173983252 8303969: Limit printed failures within an object during G1 heap verification
Reviewed-by: ayang, iwalulya
(cherry picked from commit 3018b4705e)
2023-04-09 08:31:44 +07:00
Thomas Schatzl
5b8e810161 8303963: Replace various encodings of UINT/SIZE_MAX in gc code
Reviewed-by: ayang, kbarrett
(cherry picked from commit b575e54bc9)
2023-04-09 08:31:43 +07:00
Vladimir Dvorak
609cfba72f JBR-5183 - add new DeoptimizationScope from openjdk 2023-04-08 20:15:00 +02:00
Robbin Ehn
f6ed2b217c 8300926: Several startup regressions ~6-70% in 21-b6 all platforms
Reviewed-by: eosterlund, dcubed, coleenp
2023-04-08 19:51:44 +02:00
Tomas Zezula
ab95a18b44 8303646: [JVMCI] Add possibility to lookup ResolvedJavaType from jclass.
Reviewed-by: never
(cherry picked from commit 31e1e3975b)
2023-04-08 04:40:43 +07:00
Tomas Zezula
67ee8abe6a 8303678: [JVMCI] Add possibility to convert object JavaConstant to jobject.
Reviewed-by: never
(cherry picked from commit 1148a659a8)
2023-04-08 04:40:43 +07:00
Daniel Skantz
eb40e2c4b5 8294715: Add IR checks to the reduction vectorization tests
Reviewed-by: rcastanedalo, epeter
(cherry picked from commit d20bde29f2)
2023-04-08 04:40:41 +07:00
Eirik Bjorsnos
c03d9a1d35 8303922: build-test-lib target is broken
Reviewed-by: erikj, jwaters
(cherry picked from commit c313e1ac7b)
2023-04-08 04:40:41 +07:00
Daniel D. Daugherty
40f7ba9393 8304017: ProblemList com/sun/jdi/InvokeHangTest.java on windows-x64 in vthread mode
8304018: ProblemList javax/swing/JColorChooser/Test6827032.java on windows-x64
8304019: ProblemList java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java on windows-x64

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

Reviewed-by: dholmes, coleenp
(cherry picked from commit 5fa9bd4582)
2023-04-08 04:38:35 +07:00
Erik Gahlin
865734eafe 8303622: JFR: Missing message with Objects.requireNonNull
Reviewed-by: mgronlun
(cherry picked from commit 9b10c69475)
2023-04-08 04:38:33 +07:00
David Holmes
d6d89ca837 8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: kbarrett, djelinski
(cherry picked from commit d7298245d6)
2023-04-08 04:38:33 +07:00
David Holmes
bae4b9b831 8303151: DCmd framework cleanups
Reviewed-by: jsjolen, stuefe, yyang
(cherry picked from commit 5f1108f8f0)
2023-04-08 04:38:31 +07:00
Erik Gahlin
0df9b5aeab 8303681: JFR: RemoteRecordingStream::setMaxAge() should accept null
Reviewed-by: mgronlun
(cherry picked from commit 32f4d8b5ea)
2023-04-08 04:38:31 +07:00
Ravali Yatham
7609acdf32 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: alanb, mchung
(cherry picked from commit 9f9d678591)
2023-04-08 04:38:29 +07:00
Joe Darcy
e3ae771ddb 8302801: Remove fdlibm C sources
Reviewed-by: bpb, dholmes, alanb, kvn
(cherry picked from commit b5b5cba7fe)
2023-04-08 04:38:28 +07:00
Yudi Zheng
8a001403c3 8302452: [JVMCI] Export _poly1305_processBlocks, JfrThreadLocal fields to JVMCI compiler.
Reviewed-by: dnsimon, never
(cherry picked from commit 4d4eadeae3)
2023-04-08 04:38:28 +07:00
Justin Lu
930a4e6b13 6453901: (cal) clean up sun.util.calendar classes
Reviewed-by: naoto, lancea
(cherry picked from commit f1f4e1de44)
2023-04-08 04:38:27 +07:00
Justin Lu
1e0de7e009 8303275: Use {@Return and @linkplain in Locale and related classes
Reviewed-by: naoto
(cherry picked from commit acf899612f)
2023-04-08 04:38:27 +07:00
Ian Graves
4cec7f2d9a 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
(cherry picked from commit ac3ab5b007)
2023-04-08 04:38:26 +07:00
Pavel Rappo
32cc508f76 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse

(cherry picked from commit 45a616a891)
2023-04-08 04:37:10 +07:00
Johan Sjölen
6ed5f1aed6 8301477: Replace NULL with nullptr in os/aix
Reviewed-by: stuefe, coleenp, tsteele
(cherry picked from commit 43288bbd68)
2023-04-07 20:44:40 +07:00
Kim Barrett
31eb316de5 8303621: BitMap::iterate should support lambdas and other function objects
Reviewed-by: aboldtch, tschatzl, stefank
(cherry picked from commit 008c5eb4dd)
2023-04-07 20:44:39 +07:00
Amit Kumar
00aa39117b 8303497: [s390x] ProblemList TestUnreachableInnerLoop.java
Reviewed-by: thartmann
(cherry picked from commit 52d3008773)
2023-04-07 20:44:37 +07:00
Roland Westrelin
084a0925c0 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: kvn, thartmann
(cherry picked from commit 3f2d929dc3)
2023-04-07 20:44:37 +07:00
Albert Mingkun Yang
26ba5c07fc 8303534: Merge CompactibleSpace into ContiguousSpace
Reviewed-by: cjplummer, tschatzl

(cherry picked from commit 7fbfc884f0)
2023-04-07 20:44:36 +07:00
Johan Sjölen
cc4c1474f0 8204550: NMT: RegionIterator does not need to keep _current_size
Reviewed-by: stuefe, gziemski
(cherry picked from commit 97c25df4b8)
2023-04-07 19:57:52 +07:00
Tobias Hartmann
61fc19fc17 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: kvn, roland
(cherry picked from commit 94eda53d98)
2023-04-07 19:57:51 +07:00
Mat Carter
888fae5dac 8303607: SunMSCAPI provider leaks memory and keys
Reviewed-by: weijun
(cherry picked from commit c51d40cfeb)
2023-04-07 19:57:49 +07:00
Jonathan Gibbons
2a0ab100ce 8303540: Eliminate unnecessary reference to javac internal class
Reviewed-by: hannesw
(cherry picked from commit f64ed09e9a)
2023-04-07 19:57:48 +07:00
Matthew Donovan
e371ba49a7 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test
Reviewed-by: dfuchs, smarks
(cherry picked from commit ccfe1675a2)
2023-04-07 19:57:45 +07:00
Naoto Sato
76a2d9b990 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Reviewed-by: iris, jpai, rriggs, lancea
(cherry picked from commit cfb0a25a4e)
2023-04-07 19:57:44 +07:00
Weijun Wang
54ce5c27ea 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded
Reviewed-by: mullan
(cherry picked from commit a97271e3b5)
2023-04-07 19:57:43 +07:00
Doug Simon
cc5be6245f 8303577: [JVMCI] OOME causes crash while translating exceptions
Reviewed-by: kvn, never
(cherry picked from commit cac81ddc92)
2023-04-07 19:57:38 +07:00
Leonid Mesnik
9b165d463a 8303264: Refactor nsk/stress/strace to extract shared and remove redundant code
Reviewed-by: mseledtsov, dholmes
(cherry picked from commit 877ab659b9)
2023-04-07 19:57:34 +07:00
Leonid Mesnik
b27e205b67 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
(cherry picked from commit ae8730fd62)
2023-04-07 19:57:33 +07:00
Jorn Vernee
5d547da954 8303604: Passing by-value structs whose size is not power of 2 doesn't work on all platforms (mainline)
Reviewed-by: mcimadamore
(cherry picked from commit 5977f266d0)
2023-04-07 19:57:31 +07:00
Jorn Vernee
bd65a061d8 8303582: Reduce duplication in jdk/java/foreign tests
Reviewed-by: mcimadamore
(cherry picked from commit dccfe8a2ee)
2023-04-07 19:57:29 +07:00
Afshin Zafari
0376e28cb1 8300654: Remove JVMFlag::flag_error_str as it is unused
Reviewed-by: dholmes, fparain
(cherry picked from commit 8e2014527e)
2023-04-07 19:57:27 +07:00
Erik Österlund
0df0dcc86b 8301222: Generalize check_release_entry in OopStorage
Reviewed-by: tschatzl, kbarrett
(cherry picked from commit bdffe460cd)
2023-04-07 19:57:25 +07:00
Albert Mingkun Yang
f8bd030298 8303244: G1: call CardTable::clear_MemRegion directly
Reviewed-by: ysr, kbarrett
(cherry picked from commit ec4e8aa4f7)
2023-04-07 19:57:23 +07:00
Prasanta Sadhukhan
52ad2fa77c 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to show opaque button"
Reviewed-by: tr, jdv
(cherry picked from commit 5753ab5c47)
2023-04-07 19:57:20 +07:00
Andrey Turbanov
5a3e06f017 8303266: Prefer ArrayList to LinkedList in JImageTask
Reviewed-by: jlaskey
(cherry picked from commit fa1cebedb5)
2023-04-07 19:57:19 +07:00
Erik Österlund
7e7650a1ad 8302780: Add support for vectorized arraycopy GC barriers
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: ayang, fyang, rcastanedalo, aph
(cherry picked from commit 5f153e056b)
2023-04-07 19:57:17 +07:00
Alexander Scherbatiy
63623ff541 8295737: macOS: Print content cut off when width > height with portrait orientation
Reviewed-by: prr
(cherry picked from commit d00a767047)
2023-04-07 19:57:15 +07:00
Alexander Scherbatiy
9fd20e43eb 8301254: UNIX sun/font coding does not detect SuSE in openSUSE Leap distribution
Reviewed-by: prr
(cherry picked from commit 15c76e4c02)
2023-04-07 19:57:14 +07:00
Chris Plummer
041cb900c6 8303630: Move nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java back to general problem list
Reviewed-by: dholmes
(cherry picked from commit 3eff1a0225)
2023-04-07 19:57:13 +07:00
Yi Yang
fa8e2b85de 8299518: HotSpotVirtualMachine shared code across different platforms
Reviewed-by: cjplummer, dholmes
(cherry picked from commit 10d6a8e66a)
2023-04-07 19:57:13 +07:00
Fei Yang
edf783ad9a 8303562: Remove obsolete comments in os::pd_attempt_reserve_memory_at
Reviewed-by: stuefe
(cherry picked from commit 148900c2dc)
2023-04-07 19:57:12 +07:00
Joe Darcy
0336c0966e 8302027: Port fdlibm trig functions (sin, cos, tan) to Java
Reviewed-by: bpb
(cherry picked from commit 1bb39a95eb)
2023-04-07 19:57:09 +07:00
Doug Simon
a8ec2602e2 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: kvn
(cherry picked from commit 9fdbf3cfc4)
2023-04-07 19:57:02 +07:00
Alan Bateman
7d5e03a8b3 8303242: ThreadMXBean issues with virtual threads
Reviewed-by: mchung, pchilanomate
(cherry picked from commit 629a9053f0)
2023-04-07 19:56:59 +07:00
Raffaello Giulietti
3a85c9f7ea 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Reviewed-by: rriggs, alanb
(cherry picked from commit 5b2e2e4695)
2023-04-07 19:56:57 +07:00
Matias Saavedra Silva
503cb635d4 8292269: Replace FileMapInfo::fail_continue() with Unified Logging
Reviewed-by: iklam, dholmes, ccheung
(cherry picked from commit cd4b88d0d2)
2023-04-07 19:56:55 +07:00
Brian Burkhalter
e88270fa51 8303175: (fs) Deprecate com.sun.nio.file.SensitivityWatchEventModifier for removal
Reviewed-by: lancea, alanb
(cherry picked from commit ae290541d1)
2023-04-07 19:56:52 +07:00
Brian Burkhalter
7a2ae0234b 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
(cherry picked from commit a04b1049ff)
2023-04-07 19:56:49 +07:00
Roger Riggs
dd94945f89 8303587: Remove VMOutOfMemoryError001 test from the problem list after 8303198
Reviewed-by: cjplummer
(cherry picked from commit 99443142cc)
2023-04-07 19:56:47 +07:00
Xue-Lei Andrew Fan
1953539bfd 8303527: update for deprecated sprintf for jdk.hotspot.agent
Reviewed-by: cjplummer
(cherry picked from commit a50dc67a4f)
2023-04-07 19:56:45 +07:00
Justin King
33d4f54bfd 8303181: Memory leak in ClassLoaderExt::setup_app_search_path
Reviewed-by: ccheung, dholmes
(cherry picked from commit 40c5edfcc4)
2023-04-07 19:56:43 +07:00
Chris Plummer
7925c398d4 8303523: Cleanup problem listing of nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java
Reviewed-by: dholmes, kevinw
(cherry picked from commit 29ee7c3b70)
2023-04-07 19:56:40 +07:00
Justin Lu
7d89dfe0b9 8303472: Display name for region TR
Reviewed-by: naoto
(cherry picked from commit e3016c1142)
2023-04-07 19:56:38 +07:00
Afshin Zafari
70dbe20e2c 8301117: Remove old_size param from ResizeableResourceHashtable::resize()
Reviewed-by: dholmes, coleenp
(cherry picked from commit ae797c64af)
2023-04-07 19:56:36 +07:00
Afshin Zafari
f026e35092 8297936: Use reachabilityFence to manage liveness in ClassUnload tests
Reviewed-by: coleenp, dholmes
(cherry picked from commit 5085bd5f05)
2023-04-07 19:56:34 +07:00
Roger Riggs
d050f57f0f 8303198: System and Runtime.exit() resilience to logging errors
Reviewed-by: dholmes, jpai, alanb
(cherry picked from commit 379f2061aa)
2023-04-07 19:56:33 +07:00
Doug Simon
f9fe01f256 8279619: [JVMCI] improve EncodedSpeculationReason
Reviewed-by: never
(cherry picked from commit 80739e11b5)
2023-04-07 19:56:32 +07:00
Glavo
79ac69c412 8299807: newStringNoRepl should avoid copying arrays for ASCII compatible charsets
Reviewed-by: rriggs
(cherry picked from commit 7449e1c661)
2023-04-07 19:56:30 +07:00
Jorn Vernee
ec53d0cb5c 8303516: HFAs with nested structs/unions/arrays not handled correctly on AArch64
Reviewed-by: mcimadamore
(cherry picked from commit c6de66c03f)
2023-04-07 19:56:29 +07:00
Daniel Fuchs
27bce1828e 8303481: CancelRequestTest assertTrue failing with AssertionError due to java.util.concurrent.CompletionException: java.io.EOFException: EOF reached while reading
Reviewed-by: jpai, djelinski
(cherry picked from commit cbdc7a6f88)
2023-04-07 19:56:27 +07:00
Amit Kumar
6eedba1820 8303499: [s390x] ProblemList StressStackOverflow
Reviewed-by: alanb
(cherry picked from commit 8bf084ced9)
2023-04-07 19:56:26 +07:00
Afshin Zafari
e7093d80b3 8301622: ProcessTools.java compilation gets ThreadDeath deprecation warning
Reviewed-by: dholmes, alanb
(cherry picked from commit ff364c1906)
2023-04-07 19:56:24 +07:00
Sean Mullan
fb22bc68fa 8297955: LDAP CertStore should use LdapName and not String for DNs
Reviewed-by: weijun, rhalade
(cherry picked from commit df9aad018a)
2023-04-07 19:56:22 +07:00
changpeng1997
3036cf1408 8297753: AArch64: Add optimized rules for vector compare with zero on NEON
Reviewed-by: aph
(cherry picked from commit d23a8bfb14)
2023-04-07 19:56:22 +07:00
Vicente Romero
5b5b65cc51 8303539: javadoc typos in Attr
Reviewed-by: iris, jjg
(cherry picked from commit 339ca88783)
2023-04-07 19:56:21 +07:00
Pavel Rappo
36e7162788 8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
(cherry picked from commit e1745bc981)
2023-04-07 19:56:20 +07:00
Yi Yang
c432c85feb 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field
Reviewed-by: kvn, thartmann
(cherry picked from commit c961a918ad)
2023-04-07 19:56:20 +07:00
Hao Sun
7a460b7f11 8302830: AArch64: Fix the mismatch between cas.m4 and aarch64.ad
Reviewed-by: aph, xgong
(cherry picked from commit 35003b5f7b)
2023-04-07 19:56:19 +07:00
Sergey Shelomentsev
e3d14e116c JBR-5505 update exclude list for a11y testing on Windows 2023-04-07 13:02:21 +03:00
Sergey Shelomentsev
f806731d98 JBR-5397 update exclude list for a11y testing on MacOS 2023-04-07 13:02:15 +03:00
Vladimir Dvorak
e2b67bb46d JBR-5183 clean DCEVM code separation in standard jdk code + typo fix 2023-04-05 18:55:36 +02:00
Nikita Gubarkov
1ff4742c50 JBR-5238 Disable AwtWindow::CheckWindowDPIChange() hack on Aero Snap. 2023-04-05 16:54:19 +03:00
Vladimir Dvorak
a70ed21975 JBR-5464 Fix native method registration 2023-04-04 19:44:04 +02:00
Dmitry Batrak
4b8f93d782 JBR-5458 Exception at dialog closing
(cherry picked from commit acde759572)
2023-03-31 21:10:24 +03:00
Nikita Gubarkov
e808f12ee4 JBR-5414 Add awt.lock.fair system property for enabling fair awtLock().
(cherry picked from commit aa24f103e8446da65d65e14ea75a4cff94a1d8fa)
2023-03-30 23:30:43 +03:00
Sergey Shelomentsev
1c42fadb25 JBR-5441 fix wait for idle 2023-03-30 21:31:45 +03:00
Sergey Shelomentsev
26d93b189e JBR-5440 fix calculations for double click location 2023-03-30 15:48:53 +03:00
Maxim Kartashev
4445998aeb JBR-5431 Include memory used by JNI references into crash reports 2023-03-30 08:48:54 +04:00
Maxim Kartashev
8047330661 JBR-5445 JBRApiTest test fails on development builds 2023-03-29 19:25:48 +04:00
ngubarkov
b695a707eb JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit c51695d830dd3daf0021180ee974a3c11d03b6a8)
2023-03-29 16:27:19 +03:00
Maxim Kartashev
4b1ad2e7fe JBR-5084 Add ability to log additional data to jstack output
The data can be provided via this JBR API call:
JBR.getJstack().includeInfoFrom(Supplier<String>)
2023-03-29 10:14:25 +04:00
Sergey Shelomentsev
8fd3b86ce6 JBR-5433 add typing latency text for JTextArea 2023-03-27 21:30:43 +03:00
Alexey Ushakov
08f979c5a3 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Revert "Present layer content using a Core Animation transaction" because of regression in fullscreen mode on MBP 16' M1 MAX

(cherry picked from commit 9312830177)
2023-03-27 15:47:16 +02:00
ngubarkov
add73eca25 JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode. 2023-03-27 15:24:03 +03:00
ngubarkov
0b84556c32 JBR-5265 Workaround incorrect position of content window in queryXLocation. 2023-03-27 15:24:03 +03:00
Vitaly Provodin
e2f9344aa7 update exclude list on results of 21.37 test runs 2023-03-24 19:02:38 +07:00
Maxim Kartashev
9ff5e36e64 JBR-5230 Wanted: an ability to use Unix Domain sockets with overridden default NIO file system 2023-03-24 14:03:27 +04:00
ngubarkov
6306d4a603 JBR-5316 Fix fractional scaling HIDPI. 2023-03-22 22:56:15 +02:00
Sergey Shelomentsev
3ab1e63caf fixup! JBR-4875 set proper OS to run ComboBoxTransparentTittleBarTest 2023-03-21 22:16:57 +02:00
ngubarkov
fbeaa8fb33 JBR-5417 Fix flickering in multi-monitor setups on Linux. 2023-03-20 22:31:19 +02:00
Vitaly Provodin
ee8b0d6e1d JBR-5194 move jbr-api.jar into test artefact 2023-03-17 18:45:55 +04:00
Sergey Shelomentsev
07c91bbd3b Don't trigger workflow on push 2023-03-16 16:03:02 +02:00
Sergey Shelomentsev
30564b5f80 JBR-5253 Use new JBR API for custom decorations 2023-03-16 16:03:02 +02:00
Sergey Shelomentsev
171b12a1cb JBR-5318 add Github workflow usage for pull requests pre-commit testing 2023-03-16 16:03:02 +02:00
Maxim Kartashev
3cebc05ae8 README.md moved to the root directory and updated 2023-03-16 10:08:15 +04:00
Sergey Shelomentsev
952b2615ed fix controls width calculation 2023-03-16 03:22:31 +02:00
Sergey Shelomentsev
d13c3629cc split ActionListenerTest 2023-03-16 03:22:28 +02:00
Sergey Shelomentsev
23fedcf940 JBR-5345 native controls detection and scale fixes 2023-03-16 00:03:22 +02:00
Nikita Gubarkov
5c962ccb98 JBR-5285 Add doPrivileged for WFramePeer#WIN11_OR_NEWER os.name & os.version check. 2023-03-15 23:23:29 +02:00
Nikita Gubarkov
7dd7110aca JBR-5284 Do not reset custom title bar controls state in WmMouseMove. 2023-03-15 23:23:28 +02:00
Nikita Tsarev
79445591f5 JBR-5369: Update failing tests list in response to macOS keyboard support rewrite 2023-03-15 14:18:52 +01:00
Nikita Tsarev
ad3d6aed23 JBR-5295: Fix wrong keycodes for non-letter keys that lack a corresponding VK_ constant on macOS 2023-03-15 14:18:02 +01:00
Alexey Ushakov
8ba48b30d7 JBR-5330 Blank Welcome screen after moving to another display
Initialize currentDisplayID on AWTWindow creation

(cherry picked from commit 2c39a86f76)
2023-03-14 18:01:11 +01:00
Vitaly Provodin
b5841511a3 update exclude list on results of 21_b28.1 test runs 2023-03-11 04:19:43 +07:00
Yi-Fan Tsai
cdb9263935 8302783: Improve CRC32C intrinsic with crypto pmull on AArch64
Reviewed-by: simonis, phh
(cherry picked from commit f3abc4063d)
2023-03-05 08:36:01 +07:00
Justin Lu
6d1fc9e235 8303405: fix @returnss typo in ReflectionFactory
Reviewed-by: jpai, mchung, martin, iris, lancea, naoto
(cherry picked from commit 45d8a175b1)
2023-03-05 08:36:01 +07:00
Xue-Lei Andrew Fan
612d900a12 8302495: update for deprecated sprintf for java.desktop
Reviewed-by: prr
(cherry picked from commit e7113dc8a5)
2023-03-05 08:36:01 +07:00
Daniel Jeliński
5dda0a7aa6 8303442: Clean up w2k_lsa_auth linker parameters
Reviewed-by: erikj
(cherry picked from commit 843d632ad4)
2023-03-05 08:36:01 +07:00
Andrey Turbanov
f2fffcd720 8303267: Prefer ArrayList to LinkedList in ConcurrentLocksPrinter
Reviewed-by: cjplummer, sspitsyn
(cherry picked from commit d4dcba0463)
2023-03-05 08:36:01 +07:00
Mikhailo Seledtsov
f3978b9968 8303411: JFR problem list entry for JDK-8247776 should be removed
Reviewed-by: lmesnik
(cherry picked from commit 2c7d2c0ea9)
2023-03-05 08:36:01 +07:00
Naoto Sato
53532a3bf4 8303039: Utilize coverageLevels.txt
Reviewed-by: iris, joehw
(cherry picked from commit 0b63557941)
2023-03-05 08:36:00 +07:00
Mandy Chung
56e75b0566 8303476: Add the runtime version in the release file of a JDK image
Reviewed-by: erikj
(cherry picked from commit 32247c336a)
2023-03-05 08:36:00 +07:00
Chris Plummer
63e1b66691 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java
Reviewed-by: amenkov, kevinw, lmesnik
(cherry picked from commit 0926d0cbce)
2023-03-05 08:36:00 +07:00
Matthias Baesken
9d4d4439dc 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: clanger, mdoerr, weijun
(cherry picked from commit b51ea4204e)
2023-03-05 08:36:00 +07:00
Saint Wesonga
a64dbc71e6 8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
Reviewed-by: jvernee
(cherry picked from commit fb13063943)
2023-03-05 08:36:00 +07:00
Thomas Stuefe
74d232aeb3 8302820: Remove costs for NMTPreInit when NMT is off
Reviewed-by: jsjolen, adinn
(cherry picked from commit c9afd55ed6)
2023-03-05 08:36:00 +07:00
Jaikiran Pai
2d56703166 8303457: Introduce convenience test library APIs for creating test servers for tests in test/jdk/java/net/httpclient
Reviewed-by: dfuchs
(cherry picked from commit 72de24e59a)
2023-03-05 08:36:00 +07:00
Kim Barrett
4a99661c66 8303418: Improve parameter and variable names in BitMap
Reviewed-by: tschatzl, aboldtch
(cherry picked from commit 3091744fff)
2023-03-05 08:35:59 +07:00
Jan Lahoda
cfcd38f023 8303355: The Depend plugin does fully recompile when primitive type changes
Reviewed-by: erikj, vromero
(cherry picked from commit dbb562d3b1)
2023-03-05 08:35:59 +07:00
Jan Lahoda
fa5050232e 8297587: Upgrade JLine to 3.22.0
Reviewed-by: vromero
(cherry picked from commit 4619e8bae8)
2023-03-05 08:35:59 +07:00
Emanuel Peter
8c11fbd82d 8302144: Move ZeroTLABTest.java to tier3
Reviewed-by: thartmann, kvn
(cherry picked from commit 99f5687eb1)
2023-03-05 08:35:59 +07:00
Tyler Steele
cd7d386977 8303186: Missing Classpath exception from Continuation.c
Reviewed-by: dholmes, jpai
(cherry picked from commit dc08216f0e)
2023-03-05 08:35:59 +07:00
Erik Gahlin
9ae1ec4c3c 8303077: JFR: Add example usage to jdk.jfr
Reviewed-by: mgronlun
(cherry picked from commit d10d40a5b2)
2023-03-05 08:35:59 +07:00
Valerie Peng
1a0eaaee9e 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers
Reviewed-by: weijun
(cherry picked from commit 394eac850c)
2023-03-05 08:35:58 +07:00
David Holmes
841ce9c38a 8303070: Memory leak in DCmdArgument<char*>::parse_value
Reviewed-by: fparain, jcking, jsjolen, eosterlund, coleenp
(cherry picked from commit 6e19387f29)
2023-03-05 08:35:58 +07:00
Eirik Bjorsnos
a6a194dd39 8303401: Add a Vector API equalsIgnoreCase micro benchmark
Reviewed-by: ecaspole, sviswanathan, psandoz
(cherry picked from commit 9fc518ff8c)
2023-03-05 08:35:58 +07:00
Justin Lu
348c14b8b8 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
(cherry picked from commit 05faa7321b)
2023-03-05 08:35:58 +07:00
Justin King
abb786db96 8303183: Memory leak in Arguments::init_shared_archive_paths
Reviewed-by: jsjolen, ccheung, dholmes
(cherry picked from commit 4c985e527a)
2023-03-05 08:35:58 +07:00
Albert Mingkun Yang
bc0735befe 8303362: Serial: Move CardTableRS to serial directory
Reviewed-by: tschatzl, kbarrett
(cherry picked from commit 6af17c1b7d)
2023-03-05 08:35:58 +07:00
Ivan Walulya
83ea15a83e 8303252: G1: Return early from Full-GC if no regions are selected for compaction.
Reviewed-by: tschatzl, ayang

(cherry picked from commit c1e77e0564)
2023-03-05 08:35:58 +07:00
Thomas Schatzl
92dfd0e641 8303344: After JDK-8302760, G1 heap verification does not exit VM after errors
Reviewed-by: iwalulya, ayang
(cherry picked from commit 8b86e1ee11)
2023-03-05 08:35:57 +07:00
Thomas Schatzl
05d56b61c6 8303013: Always do remembered set verification during G1 Full GC
Reviewed-by: ayang, iwalulya
(cherry picked from commit 4c5d9cfc64)
2023-03-05 08:35:57 +07:00
Doug Simon
2cf4a934ba 8303357: [JVMCI] thread is _thread_in_vm when committing JFR compilation event
Reviewed-by: never, kvn
(cherry picked from commit 2451c5a462)
2023-03-05 08:35:57 +07:00
Kim Barrett
11541fdad8 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting
Reviewed-by: coleenp, stuefe
(cherry picked from commit 539a4951ee)
2023-03-05 08:35:57 +07:00
Roland Westrelin
a16859ab4b 8301630: C2: 8297933 broke type speculation in some cases
Reviewed-by: chagedorn, thartmann
(cherry picked from commit 6b07243f56)
2023-03-05 08:35:57 +07:00
Leonid Mesnik
53e14e4b61 8303421: [BACKOUT] 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
(cherry picked from commit 3aeefbf1de)
2023-03-05 08:35:57 +07:00
Leonid Mesnik
99075cb564 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes, rriggs
(cherry picked from commit 1fdaf252b6)
2023-03-05 08:35:56 +07:00
Mikael Vidstedt
ef1683ef8c 8303412: Update linux_x64-to-linux_aarch64 cross compilation devkit at Oracle
Reviewed-by: dholmes
(cherry picked from commit 65da2c5d2d)
2023-03-05 08:35:56 +07:00
Justin Lu
bdd41cd1a7 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
(cherry picked from commit 7e47d51e10)
2023-03-05 08:35:56 +07:00
Andrey Turbanov
56669e9e09 8303216: Prefer ArrayList to LinkedList in sun.net.httpserver.ServerImpl
Reviewed-by: jpai, vtewari, stsypanov, dfuchs
(cherry picked from commit 881517586d)
2023-03-05 08:35:56 +07:00
Dmitry Markov
5e661ed623 8303130: Document required Accessibility permissions on macOS
Reviewed-by: erikj, aivanov, prr, serb
(cherry picked from commit a10d5ac61b)
2023-03-05 08:35:56 +07:00
Julian Waters
9f272ec7b9 8303227: JniObjWithEnv should be NullablePointer compliant
Reviewed-by: asemenyuk
(cherry picked from commit 50dc041ee6)
2023-03-05 08:35:56 +07:00
Joe Darcy
8d1afac841 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
(cherry picked from commit 61e8867591)
2023-03-05 08:35:56 +07:00
Erik Gahlin
1f6f2c09c4 8303261: JFR: jdk/jfr/api/consumer/streaming/TestJVMCrash.java doesn't retry
Reviewed-by: mgronlun
(cherry picked from commit 6423065b7d)
2023-03-05 08:35:55 +07:00
Pavel Rappo
2ac7969c38 8303350: Fix mistyped {@code}
Reviewed-by: jpai
(cherry picked from commit dc5ea6aeb5)
2023-03-05 08:35:55 +07:00
Jie Fu
d4f14f8854 8303351: [IR Framework] Add missing cpu feature avx512bw after JDK-8302681
Reviewed-by: epeter, thartmann
(cherry picked from commit 4a415ad584)
2023-03-05 08:35:55 +07:00
Albert Mingkun Yang
5b3d6e7dc6 8303250: Call ct_max_alignment_constraint using the base class
Reviewed-by: kbarrett, tschatzl
(cherry picked from commit 30302d185a)
2023-03-05 08:35:55 +07:00
Lutz Schmidt
a19b914dcb 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls
Reviewed-by: mbaesken, mdoerr
(cherry picked from commit e144783eb2)
2023-03-05 08:35:55 +07:00
Darragh Clarke
a513ce31b2 8301701: java/net/DatagramSocket/DatagramSocketMulticasting.java should be hardened
Reviewed-by: dfuchs
(cherry picked from commit 5feb13b55d)
2023-03-05 08:35:55 +07:00
Archie L. Cobbs
304fa73195 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
(cherry picked from commit 1e3c9fd67e)
2023-03-05 08:35:54 +07:00
Kim Barrett
639400089a 8302124: HotSpot Style Guide should permit noreturn attribute
Reviewed-by: dcubed, iveresov, dholmes, tschatzl, jwaters, kvn
(cherry picked from commit 14a014d430)
2023-03-05 08:35:54 +07:00
Erik Gahlin
5765538d66 8303249: JFR: Incorrect description of dumponexit
Reviewed-by: mgronlun
(cherry picked from commit bca60f4767)
2023-03-05 08:35:54 +07:00
David Holmes
99c43ed87d 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program
Reviewed-by: jsjolen, tschatzl, chagedorn
(cherry picked from commit f7f10367b2)
2023-03-05 08:35:54 +07:00
Ian Graves
32d5ea9c87 8293667: Align jlink's --compress option with jmod's --compress option
Reviewed-by: mchung
(cherry picked from commit 784f7b1462)
2023-03-05 08:35:54 +07:00
Erik Gahlin
1206116021 8303208: JFR: 'jfr print' displays incorrect timestamps
Reviewed-by: mgronlun
(cherry picked from commit 54603aa1b7)
2023-03-05 08:35:54 +07:00
Roger Riggs
9bb83fd912 8303253: Remove unnecessary calls to super() in java.time value based classes
Reviewed-by: naoto, mchung, lancea
(cherry picked from commit 4c169d2d7c)
2023-03-05 08:35:54 +07:00
David M. Lloyd
abd6cbf3c9 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
(cherry picked from commit b527edd338)
2023-03-05 08:35:53 +07:00
Brian Burkhalter
e2e6419537 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
(cherry picked from commit 42330d28da)
2023-03-05 08:35:53 +07:00
Naoto Sato
c349ae994f 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
(cherry picked from commit a253b46021)
2023-03-05 08:35:53 +07:00
Archie L. Cobbs
785021ee61 8302685: Some javac unit tests aren't reliably closing open files
Reviewed-by: darcy, vromero
(cherry picked from commit 55e6bb6b85)
2023-03-05 08:35:53 +07:00
Matias Saavedra Silva
6f8a4d52d6 8262895: [macos_aarch64] runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Reviewed-by: dholmes, coleenp
(cherry picked from commit f5a12768fb)
2023-03-05 08:35:53 +07:00
Julian Waters
a8ef9f0b6d 8303169: Remove Windows specific workaround from libdt
Reviewed-by: cjplummer, sspitsyn, clanger
(cherry picked from commit 2fe4e5f8d7)
2023-03-05 08:35:53 +07:00
Johan Sjölen
021f28427a 8303051: Stop saving 5 chunks in each ChunkPool
Reviewed-by: rehn, coleenp
(cherry picked from commit f2b03f9a2c)
2023-03-05 08:35:52 +07:00
Erik Gahlin
84a849724e 8303135: JFR: Log periodic events using periodic tag
Reviewed-by: mgronlun
(cherry picked from commit fbc036e745)
2023-03-05 08:35:52 +07:00
Prasanta Sadhukhan
c908175dee 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished
Reviewed-by: aivanov, serb
(cherry picked from commit dbb5581eba)
2023-03-05 08:35:52 +07:00
Darragh Clarke
d97685926d 8300792: Refactor examples in java.net.http to use @snippet
Reviewed-by: dfuchs, jpai
(cherry picked from commit 306134dcf9)
2023-03-05 08:35:52 +07:00
Daniel Jeliński
5f86b926c8 8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
Reviewed-by: dfuchs
(cherry picked from commit a2c5a4ac9e)
2023-03-05 08:35:52 +07:00
Damon Fenacci
d7a996fa99 8292583: Comment for ciArrayKlass::make is wrong
Reviewed-by: thartmann, rcastanedalo
(cherry picked from commit db217c9ad6)
2023-03-05 08:35:52 +07:00
Emanuel Peter
933144a841 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
Reviewed-by: kvn, vlivanov
(cherry picked from commit 2613b94f28)
2023-03-05 08:35:51 +07:00
Emanuel Peter
9d39a22a17 8303045: Remove RegionNode::LoopStatus::NeverIrreducibleEntry assert with wrong assumption
Reviewed-by: chagedorn, kvn
(cherry picked from commit d2660a6915)
2023-03-05 08:35:51 +07:00
Emanuel Peter
318dd2f1bd 8302681: [IR Framework] Only allow cpuFeatures from a verified list
Reviewed-by: thartmann, pli, chagedorn, kvn
(cherry picked from commit 1794f49751)
2023-03-05 08:35:51 +07:00
Sergey Bylokhov
b20288a66c 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Reviewed-by: dholmes
(cherry picked from commit a43931b79c)
2023-03-05 08:35:51 +07:00
Andrey Turbanov
05aa08f5b6 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer
Reviewed-by: serb, dnguyen
(cherry picked from commit 2fb1e3b7e7)
2023-03-05 08:35:51 +07:00
Andrey Turbanov
449a08f473 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
Reviewed-by: dfuchs, jpai, alanb
(cherry picked from commit 3a9f491caa)
2023-03-05 08:35:51 +07:00
Andrey Turbanov
526a06e7bf 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
(cherry picked from commit 1dbd18ac63)
2023-03-05 08:35:51 +07:00
Alan Bateman
189ecd876e 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
(cherry picked from commit 2e78d838a5)
2023-03-05 08:35:50 +07:00
Eirik Bjorsnos
fbab3486a5 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
(cherry picked from commit 17e3769ed7)
2023-03-05 08:35:50 +07:00
Leonid Mesnik
980c398d1a 8288912: vmTestbase/nsk/stress/strace/strace002.java fails with Unexpected method name: currentCarrierThread
Reviewed-by: dholmes
(cherry picked from commit b4ea80731c)
2023-03-05 08:35:50 +07:00
Brian Burkhalter
0af7cc9873 8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
(cherry picked from commit ccf3340e82)
2023-03-05 08:35:50 +07:00
Justin King
37706f7594 8303072: Memory leak in exeNullCallerTest.cpp
Reviewed-by: dholmes
(cherry picked from commit 83d77b1cbb)
2023-03-05 08:35:50 +07:00
Julian Waters
ab508f5c4b 8303131: pandoc.exe mangles all processed html files
Reviewed-by: erikj
(cherry picked from commit 7d8b8ba9c4)
2023-03-05 08:35:50 +07:00
Thomas Stuefe
c9ab82d08f 8302810: NMT gtests don't correctly check for marked ranges
Reviewed-by: gziemski, dholmes
(cherry picked from commit 8f7c4969c2)
2023-03-05 08:35:49 +07:00
Damon Nguyen
1ecdf7e66b 8302173: Button border overlaps with button icon on macOS system LaF
Reviewed-by: honkar, psadhukhan
(cherry picked from commit 1a07871454)
2023-03-05 08:35:49 +07:00
Erik Gahlin
34210543ad 8302677: JFR: Cache label and contentType in EventType and ValueDescriptor
Reviewed-by: mgronlun
(cherry picked from commit 796cdd52f5)
2023-03-05 08:35:49 +07:00
Erik Gahlin
0446bc02f6 8302821: JFR: Periodic task thread spins after recording has stopped
Reviewed-by: mgronlun
(cherry picked from commit 6b24b4a70f)
2023-03-05 08:35:49 +07:00
Evgeny Nikitin
702b511444 8303089: [jittester] Add time limit to IRTree generation
Reviewed-by: iveresov, lmesnik
(cherry picked from commit 4d33fbd582)
2023-03-05 08:35:49 +07:00
Justin Lu
c7ae0495a3 8302512: Update IANA Language Subtag Registry to Version 2023-02-14
Reviewed-by: naoto
(cherry picked from commit f612dcfebe)
2023-03-05 08:35:49 +07:00
Leonid Mesnik
b58027e9bc 8301200: Don't scale timeout stress with timeout factor
Reviewed-by: lkorinth
(cherry picked from commit 6397cb611a)
2023-03-05 08:35:49 +07:00
Mikhailo Seledtsov
c89619366f 8303085: Runtime problem list cleanup
Reviewed-by: lmesnik, dholmes
(cherry picked from commit 71dd7eaf7f)
2023-03-05 08:35:48 +07:00
Erik Gahlin
44d7c145dd 8302883: JFR: Improve periodic events
Reviewed-by: mgronlun
(cherry picked from commit 4b6acad0bd)
2023-03-05 08:35:48 +07:00
Daniel D. Daugherty
dd8bbdad1c 8303125: ProblemList vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
Reviewed-by: jdv
(cherry picked from commit a2471b37e3)
2023-03-05 08:35:48 +07:00
Christoph Dreis
eaf48fd944 8303078: Reduce allocations when pretty printing JCTree during compilation
Reviewed-by: jjg, vromero
(cherry picked from commit 58ca711a97)
2023-03-05 08:35:48 +07:00
Justin King
fabcc60ba5 8303071: Memory leaks in libjdwp
Reviewed-by: sspitsyn
(cherry picked from commit 2cf8b8607d)
2023-03-05 08:35:48 +07:00
Stefan Karlsson
938e76ad59 8302927: Unproblemlist Fuzz.java from ProblemList-zgc.txt again
Reviewed-by: sjohanss, eosterlund
(cherry picked from commit f113b04ab9)
2023-03-05 08:35:48 +07:00
Claes Redestad
b5de73b78c 8303073: (bf) Temporarily reinstate private DirectByteBuffer(long, int) constructor
Reviewed-by: alanb, bpb
(cherry picked from commit 1bab93b2d0)
2023-03-05 08:35:48 +07:00
Matthias Baesken
a37e124669 8303047: avoid NULL after 8301661
Reviewed-by: mdoerr, kbarrett, dholmes
(cherry picked from commit 221f34634d)
2023-03-05 08:35:47 +07:00
Thomas Stuefe
55e42f436c 8302811: NMT.random_reallocs_vm fails if NMT is off
Reviewed-by: jsjolen, sgehwolf
(cherry picked from commit 23e9d9d3ee)
2023-03-05 08:35:47 +07:00
Joe Darcy
5c12616f29 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
(cherry picked from commit fcaf871408)
2023-03-05 08:35:47 +07:00
Albert Mingkun Yang
20ca991114 8303081: Serial: Remove unused VM_MarkSweep
Reviewed-by: tschatzl

(cherry picked from commit 07e976ac26)
2023-03-05 08:35:47 +07:00
Julian Waters
1915e933ce 8302667: Improve message format when failing to load symbols or libraries
Reviewed-by: mchung
(cherry picked from commit 8de841dd19)
2023-03-05 08:35:47 +07:00
Glavo
cdbc468c15 8303024: (fs) WindowsFileSystem.supportedFileAttributeViews can use Set.of
Reviewed-by: bpb
(cherry picked from commit f893d2315d)
2023-03-05 08:35:47 +07:00
Thomas Schatzl
7151464459 8303084: G1 Heap region liveness verification has inverted return value
Reviewed-by: ayang
(cherry picked from commit d7ada66129)
2023-03-05 08:35:46 +07:00
Thomas Schatzl
e2e187858b 8302760: Improve liveness/remembered set verification for G1
Reviewed-by: kbarrett, iwalulya
(cherry picked from commit 5d7e7e28b1)
2023-03-05 08:35:46 +07:00
Albert Mingkun Yang
22ee99e1ce 8303067: G1: Remove unimplemented G1FullGCScope::heap_transition
Reviewed-by: tschatzl
(cherry picked from commit b0e0f37d73)
2023-03-05 08:35:46 +07:00
Thomas Schatzl
45ac40047b 8302880: Fix includes in g1ConcurrentMarkObjArrayProcessor files
Reviewed-by: ayang, kbarrett
(cherry picked from commit 1a62a1229a)
2023-03-05 08:35:46 +07:00
Thomas Schatzl
8c8fa0886f 8302975: Remove redundant mark verification during G1 Full GC
Reviewed-by: ayang, kbarrett
(cherry picked from commit ee37af47cd)
2023-03-05 08:35:46 +07:00
Patricio Chilano Mateo
18491876fd 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
(cherry picked from commit 83bea26df4)
2023-03-05 08:35:46 +07:00
Sergey Tsypanov
0dac92c123 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Reviewed-by: alanb, jwaters
(cherry picked from commit 25bfed3b12)
2023-03-05 08:35:46 +07:00
Albert Mingkun Yang
ad8f6507ac 8303054: Remove unused variables in GCTraceTimeLoggerImpl::log_end
Reviewed-by: tschatzl
(cherry picked from commit 0d5f7439a4)
2023-03-05 08:35:45 +07:00
Albert Mingkun Yang
ac8349bc9c 8302878: Group cmdline heap size checking together
Reviewed-by: kbarrett, iwalulya
(cherry picked from commit adc29c36e1)
2023-03-05 08:35:45 +07:00
Daniel Fuchs
8044e5e001 8299338: AssertionError in ResponseSubscribers$HttpResponseInputStream::onSubscribe
Reviewed-by: jpai
(cherry picked from commit 575484806c)
2023-03-05 08:35:45 +07:00
Per Minborg
11dd9f0e1e 8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
(cherry picked from commit 63ef214328)
2023-03-05 08:35:45 +07:00
Roberto Castañeda Lozano
7b77b2bf3f 8302873: ZGC: dump barrier data in C2 Mach nodes
Reviewed-by: thartmann, kvn
(cherry picked from commit 30b2ac4a28)
2023-03-05 08:35:45 +07:00
Per Minborg
445b14718f 8302858: Polish FlightRecorderMXBeanImpl
Reviewed-by: egahlin
(cherry picked from commit 861eea9bd4)
2023-03-05 08:35:45 +07:00
Per Minborg
2a405294bf 8302856: Typo in FlightRecorderMXBeanImpl
Reviewed-by: kevinw, egahlin
(cherry picked from commit 60a358172a)
2023-03-05 08:35:44 +07:00
Tagir F. Valeev
df28978170 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
(cherry picked from commit 3f3a1f534b)
2023-03-05 08:35:44 +07:00
Kevin Walls
37fa5f420b 8302870: More information needed from failures in vmTestbase ThreadUtils.waitThreadState
Reviewed-by: dholmes, sspitsyn
(cherry picked from commit 5e1d1b7940)
2023-03-05 08:35:44 +07:00
Severin Gehwolf
9641cf935f 8302888: containers/docker/TestJcmd.java fails when run as root under podman
Reviewed-by: dholmes
(cherry picked from commit 7f35389533)
2023-03-05 08:35:44 +07:00
Alan Bateman
446b73523a 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
(cherry picked from commit b6ecca1268)
2023-03-05 08:35:44 +07:00
Richard Reingruber
0eeb76c094 8302831: PPC: compiler/codecache/TestStressCodeBuffers.java fails after JDK-8301819
Reviewed-by: mdoerr
(cherry picked from commit f54e1080c5)
2023-03-05 08:35:44 +07:00
Julian Waters
a6b54194be 8302838: jabswitch main() should avoid calling exit explicitly
Reviewed-by: serb
(cherry picked from commit cba817ae59)
2023-03-05 08:35:44 +07:00
Prasanta Sadhukhan
b75f8ff512 8041447: Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
Reviewed-by: tr, serb
(cherry picked from commit 2c52cf0746)
2023-03-05 08:35:43 +07:00
Martin Doerr
e5b3175b10 8302907: [PPC64] Use more constexpr in class Register
Reviewed-by: rrich
(cherry picked from commit 180b94c73e)
2023-03-05 08:35:43 +07:00
Mikael Vidstedt
b6793fa2fe 8303016: Invalid escapes in grep patterns
Reviewed-by: erikj
(cherry picked from commit f319c92bd0)
2023-03-05 08:35:43 +07:00
Eirik Bjorsnos
b189165e85 8303033: Build failure with the micro bench mark
Reviewed-by: naoto
(cherry picked from commit e950b95486)
2023-03-05 08:35:43 +07:00
Albert Mingkun Yang
99ec8924fb 8302864: Parallel: Remove PSVirtualSpace::pointer_delta
Reviewed-by: tschatzl, kbarrett
(cherry picked from commit dcd773ac5c)
2023-03-05 08:35:43 +07:00
Serguei Spitsyn
1a7c50da9f 8299240: rank of JvmtiVTMSTransition_lock can be safepoint
Reviewed-by: dholmes, coleenp, pchilanomate
(cherry picked from commit 46f25250bd)
2023-03-05 08:35:43 +07:00
Justin King
7a90faa7d0 8303010: Add /DEBUG to LDFLAGS for MSVC with ASan
Reviewed-by: erikj
(cherry picked from commit ce6de37172)
2023-03-05 08:35:42 +07:00
Mikael Vidstedt
168a949582 8303020: Remove carriage return in pandoc version string
Reviewed-by: iris, lancea, erikj
(cherry picked from commit 729c26f70e)
2023-03-05 08:35:42 +07:00
Eirik Bjorsnos
81c88d05f6 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
(cherry picked from commit ef1f7bd3b8)
2023-03-05 08:35:42 +07:00
Christian Stein
d25373ba65 8302789: (fs) Files.copy should include unsupported copy option in exception message
Reviewed-by: alanb, bpb, lancea
(cherry picked from commit 1ea5f9f7cd)
2023-03-05 08:35:42 +07:00
Joe Darcy
4070fab5f0 8302800: Augment NaN handling tests of FDLIBM methods
Reviewed-by: bpb
(cherry picked from commit dfce4e1943)
2023-03-05 08:35:42 +07:00
Glavo
d185a67394 8302603: Use Set.of in java.nio.charset.Charset
Reviewed-by: stsypanov, alanb, naoto
(cherry picked from commit 5489c821dc)
2023-03-05 08:35:42 +07:00
Roger Riggs
38c44caef8 8301627: System.exit and Runtime.exit debug logging
Reviewed-by: alanb, chegar
(cherry picked from commit 10b4cc9eb4)
2023-03-05 08:35:41 +07:00
Johannes Bechberger
71648e5c4c 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Reviewed-by: jvernee, dholmes, rrich
(cherry picked from commit db483a38a8)
2023-03-05 08:35:41 +07:00
Tobias Holenstein
a3714f45ae 8302846: IGV: Zoom stuck when zooming out on large graphs
Reviewed-by: rcastanedalo, thartmann
(cherry picked from commit 02eb240c71)
2023-03-05 08:35:41 +07:00
Claes Redestad
3329b267c6 8302863: Speed up String::encodeASCII using countPositives
Reviewed-by: alanb
(cherry picked from commit 92dfa1175e)
2023-03-05 08:35:41 +07:00
Pavel Rappo
3b8fa92f59 8302981: Fix a typo in the doc comment for java.lang.Record.equals
Reviewed-by: jpai
(cherry picked from commit 8b20aa919b)
2023-03-05 08:35:41 +07:00
Julian Waters
f652a73ebe 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Reviewed-by: jlahoda
(cherry picked from commit 644fe0a994)
2023-03-05 08:35:41 +07:00
Stefan Karlsson
05d233d5f6 8302977: ZGC: Doesn't support gc/TestVerifySubSet.java
Reviewed-by: tschatzl
(cherry picked from commit 60e6378925)
2023-03-05 08:35:40 +07:00
Stefan Karlsson
5f64946299 8299777: Test runtime/NMT/BaselineWithParameter.java timed out
Reviewed-by: gziemski, iklam, dholmes
(cherry picked from commit fef1910277)
2023-03-05 08:35:40 +07:00
Albert Mingkun Yang
f06f0c2eb2 8302886: Parallel: Remove unimplemented methods in ParCompactionManager
Reviewed-by: tschatzl
(cherry picked from commit 622f5604c1)
2023-03-05 08:35:40 +07:00
Albert Mingkun Yang
f60c58ac91 8302868: Serial: Remove CardTableRS::initialize
Reviewed-by: tschatzl
(cherry picked from commit 9fd77c7b9b)
2023-03-05 08:35:40 +07:00
Albert Mingkun Yang
a769e4f423 8302867: G1: Removing unused variable in G1CardTable::initialize
Reviewed-by: tschatzl
(cherry picked from commit f35cf79b51)
2023-03-05 08:35:40 +07:00
Stefan Karlsson
130899a342 8302741: ZGC: Remove Universe::verify calls
Reviewed-by: ayang, tschatzl
(cherry picked from commit 63a3501273)
2023-03-05 08:35:40 +07:00
Matthias Baesken
51fbf45a15 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Reviewed-by: ihse, lucy, dholmes
(cherry picked from commit 9145670354)
2023-03-05 08:35:39 +07:00
Jayathirth D V
128ea64fd5 8302151: BMPImageReader throws an exception reading BMP images
Reviewed-by: serb, tr
(cherry picked from commit aa10f0d3ee)
2023-03-05 08:35:39 +07:00
Emanuel Peter
5914be1caf 8302150: Speed up compiler/codegen/Test7100757.java
Reviewed-by: kvn, thartmann
(cherry picked from commit 16a4f02f2d)
2023-03-05 08:35:39 +07:00
Emanuel Peter
33d1a0f76c 8302146: Move TestOverloadCompileQueues.java to tier3
Reviewed-by: kvn, thartmann
(cherry picked from commit 17274c72a9)
2023-03-05 08:35:39 +07:00
Tejesh R
76c7c50b6a 8299522: Incorrect size of Approve button in custom JFileChooser
Reviewed-by: aivanov, abhiscxk, dnguyen
(cherry picked from commit 29f392e434)
2023-03-05 08:35:39 +07:00
Gui Cao
1ef4bd88f0 8302453: RISC-V: Add support for small width vector operations
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: yzhu, fyang
(cherry picked from commit 43c71ddf92)
2023-03-05 08:35:39 +07:00
David Holmes
99c3219336 8302905: arm32 Raspberry Pi OS build broken by JDK-8301494
Reviewed-by: mikael, martin
(cherry picked from commit 91a2b5ec6f)
2023-03-05 08:35:38 +07:00
George Adams
90a09c2913 8302879: doc/building.md update link to jtreg builds
Reviewed-by: sgehwolf, clanger
(cherry picked from commit bb3dfd6adb)
2023-03-05 08:35:38 +07:00
sunguoyun
667b88de5d 8302369: Reduce the stack size of the C1 compiler
Reviewed-by: dlong
(cherry picked from commit 36a0822633)
2023-03-05 08:35:38 +07:00
Justin King
9a92bf547a 8302599: Extend ASan support to Microsoft Visual C++
Reviewed-by: erikj, stuefe, ihse
(cherry picked from commit 0bf3a53e01)
2023-03-05 08:35:38 +07:00
ravi.ra.gupta
7a1901ceb3 8302525: Write a test to check various components send Events while mouse and key are used simultaneously
Reviewed-by: serb
(cherry picked from commit c7517b3dec)
2023-03-05 08:35:38 +07:00
Alexey Bakhtin
1837a36cd2 8299234: JMX Repository.query performance
Reviewed-by: dfuchs, kevinw
(cherry picked from commit 9a797228f3)
2023-03-05 08:35:38 +07:00
Severin Gehwolf
7b4f18ebf0 8300658: memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
Reviewed-by: jsjolen, iklam
(cherry picked from commit e47e9ec05b)
2023-03-05 08:35:38 +07:00
Roman Kennke
871ff41acf 8302070: Factor null-check into load_klass() calls
Reviewed-by: phh, coleenp
(cherry picked from commit 7cf7e0a20b)
2023-03-05 08:35:37 +07:00
Prasanta Sadhukhan
5f02471699 8302882: Newly added test javax/swing/JFileChooser/JFileChooserFontReset.java fails with HeadlessException
Reviewed-by: jdv
(cherry picked from commit e731695217)
2023-03-05 08:35:37 +07:00
Johan Sjölen
a9dbc65d8f 8301749: Tracking malloc pooled memory size
Reviewed-by: dholmes, stuefe
(cherry picked from commit b5a7426996)
2023-03-05 08:35:37 +07:00
Vitaly Provodin
2b83bed5a8 JBR-5183 Serial: Refactor oop closures used in Young GC 2023-03-05 08:35:37 +07:00
Albert Mingkun Yang
e1168e317c 8302068: Serial: Refactor oop closures used in Young GC
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit 6ac5e05c58)
2023-03-04 13:33:06 +07:00
Pengfei Li
b553da5f0b 8302518: Add missing Op_RoundDoubleMode in VectorNode::vector_operands()
Reviewed-by: kvn, jbhateja
(cherry picked from commit 71cf7c4409)
2023-03-04 13:33:05 +07:00
Thomas Schatzl
dae28264f9 8302709: Remove explicit remembered set verification in G1
Reviewed-by: ayang, iwalulya
(cherry picked from commit 98716e2b25)
2023-03-04 13:33:05 +07:00
Ludovic Henry
3bc2f10854 8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
Reviewed-by: fyang
(cherry picked from commit 303c61f3ca)
2023-03-04 13:33:04 +07:00
Thomas Schatzl
8fdb11cb77 8302312: Make ParGCRareEvent_lock G1 specific
Reviewed-by: sjohanss, kbarrett
(cherry picked from commit 7c40c8af69)
2023-03-04 13:33:04 +07:00
Thomas Schatzl
2481d0a8e6 8302122: Parallelize TLAB retirement in prologue in G1
8297611: G1: Merge tlab and per-thread dirty card log flushing

Reviewed-by: kbarrett, ayang
(cherry picked from commit 593bec685e)
2023-03-04 13:33:03 +07:00
Thomas Schatzl
df73c178b2 8302206: Factor out duplicate G1VerificationClosure
Reviewed-by: kbarrett, ayang
(cherry picked from commit e971f90a0b)
2023-03-04 13:33:03 +07:00
Ivan Walulya
58ca9ecac7 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points.
Reviewed-by: ayang, sjohanss, tschatzl

(cherry picked from commit eaae0baeba)
2023-03-04 13:33:02 +07:00
Emanuel Peter
e19c4240c6 8302668: [TESTBUG] Tests require feature sse4_1 which does not exist, should be sse4.1
Reviewed-by: kvn, thartmann
(cherry picked from commit 7e08275cc1)
2023-03-04 13:30:07 +07:00
Emanuel Peter
b26dac8d42 8295979: [IR Framework] Improve IR matching warning
Reviewed-by: thartmann, kvn
(cherry picked from commit 5c0f50bc01)
2023-03-04 13:30:07 +07:00
Tobias Holenstein
41a06866c0 8302656: Missing spaces in output of -XX:+CIPrintMethodCodes
Reviewed-by: kvn, thartmann
(cherry picked from commit 743a85db06)
2023-03-04 13:30:06 +07:00
Prasanta Sadhukhan
6a089dc0b2 6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
(cherry picked from commit 432cf68c4d)
2023-03-04 13:30:05 +07:00
Richard Reingruber
a161701774 8302462: [REDO] 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: tschatzl, ayang
(cherry picked from commit 2009dc2b73)
2023-03-04 13:30:05 +07:00
Ioi Lam
f0c672e28d 8302781: CDS archive heap not reproducible after JDK-8296344
Reviewed-by: dcubed
(cherry picked from commit 7abe26935a)
2023-03-04 13:30:04 +07:00
Claes Redestad
ef56815632 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
(cherry picked from commit d6716d2e54)
2023-03-04 13:30:04 +07:00
Thomas Stuefe
d2fe0d4496 8302812: JDK-8302455 broke ClassLoaderStatsTest on 32-bit
Reviewed-by: dcubed
(cherry picked from commit 53be5dc486)
2023-03-04 13:30:03 +07:00
Eirik Bjorsnos
e01837a42e 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
(cherry picked from commit 78f71b4d41)
2023-03-04 13:30:03 +07:00
Jaikiran Pai
cc86e4f23a 8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
(cherry picked from commit f82385e587)
2023-03-04 13:30:02 +07:00
Jaikiran Pai
72bf1b4562 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
(cherry picked from commit 43cf8b3d80)
2023-03-04 13:30:02 +07:00
Serguei Spitsyn
5cb828436c 8302615: make JVMTI thread cpu time functions optional for virtual threads
Reviewed-by: alanb
(cherry picked from commit 6b082fb3c6)
2023-03-04 13:30:01 +07:00
Sandhya Viswanathan
5ff6b031f0 8302358: Behavior of adler32 changes after JDK-8300208
Reviewed-by: kvn, jbhateja
(cherry picked from commit 7c60b9c98f)
2023-03-04 13:29:59 +07:00
Calvin Cheung
fb55e1e23b 8301992: Embed SymbolTable CHT node
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: coleenp, iklam
(cherry picked from commit 86b9fce980)
2023-03-04 13:29:58 +07:00
Mikhailo Seledtsov
9e086e8405 8294402: Add diagnostic logging to VMProps.checkDockerSupport
Reviewed-by: dholmes, lmesnik
(cherry picked from commit 03d613bbab)
2023-03-04 13:29:57 +07:00
Ioi Lam
18677037ea 8302777: CDS should not relocate heap if mapping fails
Reviewed-by: ccheung
(cherry picked from commit a263f28368)
2023-03-04 13:29:56 +07:00
Archie L. Cobbs
adfd1a5baf 7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
(cherry picked from commit a917fb3fcf)
2023-03-04 13:29:56 +07:00
Ludvig Janiuk
b47b04c9a9 8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
(cherry picked from commit 6120319afd)
2023-03-04 13:29:55 +07:00
Albert Mingkun Yang
1372db82a3 8302734: Parallel: Remove unused LGRPSpace::_invalid_region
Reviewed-by: tschatzl
(cherry picked from commit fef3eab9bd)
2023-03-04 13:29:53 +07:00
Albert Mingkun Yang
3827b6407d 8302661: Parallel: Remove PSVirtualSpace::is_aligned
Reviewed-by: stefank, tschatzl
(cherry picked from commit ea5bfea333)
2023-03-04 13:29:53 +07:00
Daniel Fuchs
44e2809f9d 8302635: Race condition in HttpBodySubscriberWrapper when cancelling request
Reviewed-by: jpai
(cherry picked from commit edf238b65e)
2023-03-04 13:29:52 +07:00
Tobias Holenstein
1c70c14246 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Reviewed-by: kvn, thartmann
(cherry picked from commit cd77fcfb5f)
2023-03-04 13:29:51 +07:00
Tobias Holenstein
4b759a63c9 8302335: IGV: Bytecode not showing
Reviewed-by: rcastanedalo, thartmann, xliu
(cherry picked from commit 57c9bc39cd)
2023-03-04 13:29:51 +07:00
Yi-Fan Tsai
fc8f2d72ea 8302113: Improve CRC32 intrinsic with crypto pmull on AArch64
Reviewed-by: simonis
(cherry picked from commit 57fde75b2a)
2023-03-04 13:29:51 +07:00
Richard Reingruber
3faea1a84b 8302158: PPC: test/jdk/jdk/internal/vm/Continuation/Fuzz.java: AssertionError: res: false shouldPin: false
Reviewed-by: goetz, mdoerr
(cherry picked from commit b8c9d6cdf6)
2023-03-04 13:29:50 +07:00
Jan Lahoda
b7b66977c9 8302202: Incorrect desugaring of null-allowed nested patterns
Reviewed-by: vromero
(cherry picked from commit dc55a7fc87)
2023-03-04 13:29:48 +07:00
Johan Sjölen
df173b121c 8301494: Replace NULL with nullptr in cpu/arm
Reviewed-by: dholmes, coleenp
(cherry picked from commit c4ffe4bf63)
2023-03-04 13:29:47 +07:00
Albert Mingkun Yang
77b5b80c38 8302674: Parallel: Remove unused methods in MutableNUMASpace
Reviewed-by: tschatzl
(cherry picked from commit 4f1cffd52c)
2023-03-04 13:29:47 +07:00
Johan Sjölen
1fb4e57197 8301481: Replace NULL with nullptr in os/windows
Reviewed-by: coleenp, dholmes

(cherry picked from commit c91cd2814b)
2023-03-04 13:29:46 +07:00
Damon Fenacci
9d8a402569 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Reviewed-by: thartmann, kvn
(cherry picked from commit 47ca5773a5)
2023-03-04 13:27:49 +07:00
Ioi Lam
1bd8fe66e8 8296158: Refactor the verification of CDS region checksum
Reviewed-by: ccheung, matsaave
(cherry picked from commit 49eb68ba95)
2023-03-04 13:27:48 +07:00
Joe Darcy
a7d131f0e6 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
(cherry picked from commit 655a71277d)
2023-03-04 13:27:48 +07:00
David Holmes
073f68edb0 8280419: Remove dead code related to VerifyThread and verify_thread()
Reviewed-by: stuefe, lucy
(cherry picked from commit b242eef93e)
2023-03-04 13:27:47 +07:00
Valerie Peng
693ca15a30 8302225: SunJCE Provider doesn't validate key sizes when using 'constrained' transforms for AES/KW and AES/KWP
Reviewed-by: xuelei
(cherry picked from commit 4ce493f09e)
2023-03-04 13:27:47 +07:00
Magnus Ihse Bursie
c7dae0f76b 8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Reviewed-by: erikj
(cherry picked from commit a39cf2e3b2)
2023-03-04 13:27:46 +07:00
Vicente Romero
1e75fb8a4c 8296010: AssertionError in annotationTargetType
Reviewed-by: jjg
(cherry picked from commit de80dd9c15)
2023-03-04 13:27:46 +07:00
Julian Waters
be23595d16 8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
(cherry picked from commit e5042dd483)
2023-03-04 13:27:45 +07:00
Daniel D. Daugherty
17fa431a15 8302678: validate_source fails after JDK-8293313
Reviewed-by: bpb
(cherry picked from commit 574b48c692)
2023-03-04 13:27:45 +07:00
Thomas Stuefe
0ea2e94b73 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken

(cherry picked from commit 90e092280f)
2023-03-04 13:27:44 +07:00
Erik Gahlin
1f3ad5c22e 8298276: JFR: Update NMT events to make use of common periodic timestamp feature
Reviewed-by: mgronlun
(cherry picked from commit f558a6c599)
2023-03-04 13:13:06 +07:00
Archie L. Cobbs
75afd724cd 8302514: Misleading error generated when empty class file encountered
Reviewed-by: vromero, jwaters
(cherry picked from commit a58fa6e73e)
2023-03-04 13:13:05 +07:00
Justin King
e5a9e30d10 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: kvn, thartmann
(cherry picked from commit 3cc459b6c2)
2023-03-04 13:13:04 +07:00
Justin King
b710c970b2 8302594: use-after-free in Node::destruct
Reviewed-by: kvn, thartmann
(cherry picked from commit 2e3cea01da)
2023-03-04 13:13:04 +07:00
Tobias Holenstein
d033368450 8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work
Reviewed-by: kvn, thartmann
(cherry picked from commit 9b911b492f)
2023-03-04 13:13:03 +07:00
Tobias Holenstein
55a82c3289 8291735: methods_do() always run at exit
Reviewed-by: coleenp, kvn
(cherry picked from commit c29a136787)
2023-03-04 13:13:02 +07:00
Albert Mingkun Yang
b4af29941e 8302464: Parallel: Remove unreachable code in callers of numa_has_static_binding
Reviewed-by: lkorinth, tschatzl
(cherry picked from commit 687a461276)
2023-03-04 13:13:01 +07:00
Tejesh R
ba46211b67 8300549: JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode
Reviewed-by: aivanov, abhiscxk
(cherry picked from commit 84c058bb63)
2023-03-04 13:13:01 +07:00
Tobias Holenstein
c62406108e 8297031: IGV: Copy extracted nodes and layout for cloned graph
Reviewed-by: rcastanedalo, thartmann
(cherry picked from commit e045af4c92)
2023-03-04 13:13:00 +07:00
Severin Gehwolf
7ae82c8286 8300645: Handle julong values in logging of GET_CONTAINER_INFO macros
Reviewed-by: iklam
(cherry picked from commit 53ae4c07fd)
2023-03-04 13:12:59 +07:00
Tobias Hartmann
df9149ec76 8302625: Bad copyright line after JDK-8302385
Reviewed-by: mikael
(cherry picked from commit c77f64420a)
2023-03-04 13:12:59 +07:00
Thomas Stuefe
4390648918 8302385: Remove MetaspaceReclaimPolicy=none
Reviewed-by: iklam, dholmes
(cherry picked from commit 519229db3c)
2023-03-04 13:12:58 +07:00
Thomas Stuefe
3d7bae6121 8302455: VM.classloader_stats memory size values are wrong
Reviewed-by: coleenp, dholmes
(cherry picked from commit 6e2d3c6c45)
2023-03-04 13:12:57 +07:00
Vicente Romero
79d1c4c648 8208470: Type annotations on inner type that is an array component
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
(cherry picked from commit 1480d418e3)
2023-03-04 13:12:56 +07:00
Ioi Lam
3506e343bc 8224980: FLAG_SET_ERGO silently ignores invalid values
Reviewed-by: iveresov, dholmes
(cherry picked from commit 573c316c57)
2023-03-04 13:12:55 +07:00
Joe Darcy
24726d7dc6 8302026: Port fdlibm inverse trig functions (asin, acos, atan) to Java
Reviewed-by: bpb
(cherry picked from commit 3ba156082b)
2023-03-04 13:12:55 +07:00
Claes Redestad
aaedc0d821 8302163: Speed up various String comparison methods with ArraysSupport.mismatch
Reviewed-by: stsypanov, rriggs, alanb
(cherry picked from commit 861e302011)
2023-03-04 13:12:54 +07:00
Mandy Chung
051afbb8b7 8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
(cherry picked from commit 50dcc2aec5)
2023-03-04 13:12:53 +07:00
Albert Mingkun Yang
8a95ce02a1 8302127: Remove unused arg in write_ref_field_post
Reviewed-by: phh, kbarrett
(cherry picked from commit 28f5250fa5)
2023-03-04 13:12:52 +07:00
Johan Sjölen
ed6c442762 8301225: Replace NULL with nullptr in share/gc/shenandoah/
Reviewed-by: wkemper, kdnilsen, rkennke
(cherry picked from commit 0c9658446d)
2023-03-04 13:12:51 +07:00
Sean Mullan
fa600bab73 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: xuelei
(cherry picked from commit 26b111d714)
2023-03-04 13:12:51 +07:00
Michael McMahon
fd9ca2ec97 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
(cherry picked from commit 52388179e6)
2023-03-04 13:12:50 +07:00
Severin Gehwolf
7784841363 8302325: Wrong comment in java.base/share/native/libjimage/imageFile.hpp
Reviewed-by: alanb, jlaskey
(cherry picked from commit 11194e8b82)
2023-03-04 13:12:49 +07:00
Scott Gibbons
5f39d4af08 8300808: Accelerate Base64 on x86 for AVX2
Reviewed-by: jbhateja, redestad, sviswanathan
(cherry picked from commit 33bec20710)
2023-03-04 13:12:49 +07:00
Emanuel Peter
16698ca913 8302147: Speed up compiler/jvmci/compilerToVM/IterateFramesNative.java
Reviewed-by: kvn, thartmann
(cherry picked from commit 46bcc4901e)
2023-03-04 13:12:48 +07:00
Emanuel Peter
c2f77d5943 8302152: Speed up tests with infinite loops, sleep less
Reviewed-by: thartmann, kvn
(cherry picked from commit a9a53f417d)
2023-03-04 13:12:47 +07:00
Justin King
219af25410 8302102: Disable ASan for SafeFetch and os::print_hex_dump
Reviewed-by: dholmes, stuefe

(cherry picked from commit 98a392c4fc)
2023-03-04 13:12:30 +07:00
Thomas Stuefe
db3bb466be 8302129: Make MetaspaceReclaimPolicy a diagnostic switch
Reviewed-by: dholmes, coleenp
(cherry picked from commit 9ccf8ad91f)
2023-03-04 12:35:59 +07:00
Ioi Lam
aac5370065 8296344: Remove dependency on G1 for writing the CDS archive heap
Reviewed-by: ayang, tschatzl, ccheung
(cherry picked from commit bdcbafb219)
2023-03-04 12:35:59 +07:00
Kim Barrett
29ce2d49cc 8302262: Remove -XX:SuppressErrorAt develop option
Reviewed-by: stuefe, dholmes, tschatzl
(cherry picked from commit f1d76fa925)
2023-03-04 12:35:58 +07:00
Mandy Chung
09675a9b9e 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
(cherry picked from commit 9c202a5a8f)
2023-03-04 12:35:57 +07:00
Vicente Romero
84726c7c84 8301374: NullPointerException in MemberEnter.checkReceiver
Reviewed-by: jlahoda
(cherry picked from commit ca73f7e80f)
2023-03-04 12:35:57 +07:00
Brian Burkhalter
be1001f499 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
(cherry picked from commit 5b2d430131)
2023-03-04 12:35:56 +07:00
Xue-Lei Andrew Fan
a62ecc6b80 8301274: update for deprecated sprintf for security components
Reviewed-by: ascarpino
(cherry picked from commit f7dee77d73)
2023-03-04 12:35:55 +07:00
Xue-Lei Andrew Fan
bce9d36393 8301279: update for deprecated sprintf for management components
Reviewed-by: kevinw, dholmes
(cherry picked from commit ec901f28c3)
2023-03-04 12:35:55 +07:00
Erik Gahlin
ec07f7e56e 8298278: JFR: Turn MEMFLAGS into a type for use with the NativeMemoryUsage events
Reviewed-by: sjohanss
(cherry picked from commit 8933c2d06a)
2023-03-04 12:35:54 +07:00
Robbin Ehn
6aedcf778d 8302354: InstanceKlass init state/thread should be atomic
Reviewed-by: coleenp, dholmes
(cherry picked from commit 77519e5f4f)
2023-03-04 12:35:53 +07:00
Vicente Romero
eb91a96ff9 8207017: Type annotations on anonymous classes in initializer blocks not written to class file
Reviewed-by: jlahoda
(cherry picked from commit 2ef001e097)
2023-03-04 12:35:52 +07:00
Johan Sjölen
99d435dac0 8295344: Harden runtime/StackGuardPages/TestStackGuardPages.java
Reviewed-by: dholmes, rehn
(cherry picked from commit 8c2c8b3f7f)
2023-03-04 12:35:51 +07:00
Hannes Wallnöfer
2ee996abbc 8302324: Inheritance tree does not show correct type parameters/arguments
Reviewed-by: prappo
(cherry picked from commit 6d4b02b6c9)
2023-03-04 12:35:50 +07:00
Ekaterina Vergizova
8302bd3f80 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Reviewed-by: mgronlun
(cherry picked from commit 7dfe75cf55)
2023-03-04 12:35:50 +07:00
Jie Fu
e68adefd0e 8302368: [ZGC] Client build fails after JDK-8300255
Reviewed-by: fyang, eosterlund
(cherry picked from commit 66742c83d4)
2023-03-04 12:35:49 +07:00
Albert Mingkun Yang
be2cc5614f 8225409: G1: Remove the Hot Card Cache
Reviewed-by: tschatzl, iwalulya
(cherry picked from commit 7c50ab1612)
2023-03-04 12:35:48 +07:00
Conor Cleary
eef2b501bb 8301243: java/net/httpclient/http2/IdleConnectionTimeoutTest.java intermittent failure
Reviewed-by: dfuchs
(cherry picked from commit 92474f13f0)
2023-03-04 12:35:47 +07:00
Severin Gehwolf
315ff06011 8302337: JDK crashes if lib/modules contains non-zero byte containing ATTRIBUTE_END
Reviewed-by: stuefe, jlaskey, alanb
(cherry picked from commit ee5f6e156d)
2023-03-04 12:35:46 +07:00
Erik Österlund
266cc785b0 8301874: BarrierSetC2 should assign barrier data to stores
Reviewed-by: rcastanedalo, kvn
(cherry picked from commit 7f71a1040d)
2023-03-04 12:35:46 +07:00
Eirik Bjorsnos
90c66367c4 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
(cherry picked from commit d782125c8f)
2023-03-04 12:35:45 +07:00
Vitaly Provodin
78c0afe4f5 update exclude list on results of 21_b24.2 test runs 2023-03-04 05:17:54 +07:00
Sergey Shelomentsev
81602f10e6 JBR-5350 Separate test for Mac OS 2023-03-02 09:13:24 +02:00
Sergey Shelomentsev
a24b572105 JBR-5350 fix FrameNativeControlTest checks on MacOS 2023-02-28 20:32:04 +02:00
Sergey Shelomentsev
69cad4eb9e JBR-5344 fix incorrectly specified VM options 2023-02-28 20:31:49 +02:00
Sergey Shelomentsev
7a63a54009 JBR-5346 fix MaximizedCustomDecorationsTest test failure (move to the new JBR API) 2023-02-28 16:24:17 +02:00
Vitaly Provodin
b3c1036696 update exclude list on results of 17.0.6_b855.1 test runs
(cherry picked from commit 4c676cc2df0c319fc275589086a939237851fbc5)
2023-02-24 20:11:20 +07:00
Sergey Shelomentsev
0d992a1075 fixup! JBR-5300 Change source code and test files to use GPL license 2023-02-16 18:19:14 +02:00
Dmitry Batrak
b05c0b000c JBR-5300 Change source code and test files to use GPL license
fix copyright profile in generated IDE project

(cherry picked from commit 43ebbe3cd1)
2023-02-16 14:03:21 +02:00
Dmitry Batrak
3c8fedae6d JBR-5300 Change source code and test files to use GPL license
fix for the different comment format
2023-02-15 23:13:42 +02:00
Dmitry Batrak
5c80600323 JBR-5300 Change source code and test files to use GPL license 2023-02-15 12:47:06 +02:00
Vitaly Provodin
0cc88c6189 clean up exclude lists 2023-02-15 10:30:01 +07:00
Vladimir Dvorak
f1dddd1402 JBR-5183 - fix compilation on win - using size_t 2023-02-15 05:50:07 +07:00
Vladimir Dvorak
dd1f913a6b JBR-5183 - fix error: invalid use of incomplete type 'struct Atomic::StoreImpl 2023-02-15 05:50:06 +07:00
Vladimir Dvorak
241c900339 JBR-5183 - fix error: invalid use of incomplete type 'struct Atomic::StoreImpl 2023-02-15 05:50:06 +07:00
Vladimir Dvorak
542c868809 JBR-5183 - fix windows build 2023-02-15 05:50:05 +07:00
Vladimir Dvorak
d92cf744c7 JBR-5183 - nullptr in VM_EnhancedRedefineClasses 2023-02-15 05:50:04 +07:00
Vladimir Dvorak
a64b53548f JBR-5183 - fix compilation locking 2023-02-15 05:50:03 +07:00
Vladimir Dvorak
2808c46322 JBR-5183 fix G1GC forward pointer check 2023-02-15 05:50:03 +07:00
Vladimir Dvorak
78f0c0f12e JBR-5183 fix problem with _first_dead in serial GC 2023-02-15 05:50:02 +07:00
Vladimir Dvorak
88eb51b2e3 JBR-5183 fix bug from dcevm21 merge resolving 2023-02-15 05:50:01 +07:00
Vladimir Dvorak
ff005b3c82 JBR-5183 use sorted static fields in class comparison 2023-02-15 05:50:01 +07:00
Vladimir Dvorak
ae1c6e2721 JBR-5183 do not use EnhancedRedefineClasses_lock 2023-02-15 05:50:00 +07:00
Vladimir Dvorak
3229e3a7c9 JBR-5183 fix assert in make_jmethod_id 2023-02-15 05:50:00 +07:00
Vladimir Dvorak
7a44b5eb6a JBR-5183 remove VM_ThreadsSuspendJVMTI 2023-02-15 05:49:59 +07:00
Vladimir Dvorak
e482723604 JBR-5183 fix dcevm21 issues after merge dcevm17 updates 2023-02-15 05:49:58 +07:00
Vladimir Dvorak
38711119a3 JBR-5183 dcevm17 squashed commits
JBR-3111 Update class in all dictionaries where it was already defined

This patch keeps compatibility with std redefinition, that does not
create a new Klass, but modifies it, then it is modified in all
dictionaries containing this class.

Add ClassLoaderDataGraph_lock to define new class in enhanced
redefiniton

ClassLoaderDataGraph locking for introduced in redefinition in
java.version>11
JBR-3140 - support for modularized HotswapAgent

Add -XX:HotswapAgent=[disabled,fatjar.core]

Support for redefinition of Well Known classses (java.*,jdk.*, sun.*)

Fix fastdebug compilation issues - cast_to_oop
JBR-3458: Skip dynamic proxy classes based on com.sun.proxy
JBR-3459: Fix race condition in ClassLoaderDataGraph::classes_do

InstanceKlass in ClassLoaderData can be uninitialized when
ClassLoaderDataGraph::classes_do is called. Using
ClassLoaderDataGraph::dictionary_classes_do is safe but problem is still
persisting with anonymous classes.

Fix compilation problems

Fix dcevm issues related to refactorization of Thread to JavaThread
Fix init_method_MemberName after Thread to JavaThread refactorization
Fix "implicit conversion of NULL constant to 'bool'"
Fix, pass SystemDictionary::resolve_from_stream cl_info param
Search for affected classes in all initialized classes in cld

Fix also case when lambda interface is redefined. Lambda class is
missing in cld dictionary since it is hidden since j17
Fix compilation issue
Remove duplicated lambdaFormInvokers.cpp

JBR-3867 - update keys of jvmti TAG map after redefinition

jdwp keeps relation class_ptr->class_ref in jvmti tag. class_ptr is used
as a tag key, tag value is refnode. There are new class_ptrs after
redefinition, therefore jdwp redefinition method update all affected
keys in the tag map.
JBR-3867 - fix msvc compilation issue with non const array on stack
Attempt to fix JBR-3887
JBR-3937 Fix crashes in C1/C2 compilers

There is a race condition in enhanced redefinition with C1/C2. Therefore
the patch stops C1/C2 compilation before redefinition and release after
redefinition finishing. There is no performance impact since dcevm
flushes all code cache.

Fix line ending CRLF->LF
G1 fixes, code cleanup
JBR-3867 - fix dcevm redefinition stops due the not updated weak oops

Dcevm must update also oops in weak storage using WeakProcessor. Oops
storage is new concept in java17.
JBR-4018 - fix zero variant compilation issues

JBR-3997 - fix _invokehandle and _invokedynamic race conditions

Old clear mechanism of CpCacheEntry has cleared partially _flags and the
entire _f1, but both values could be later used in interpreter for
invocation. It ended up with various types of crashes. To prevent dcevm
crashes, we keep the old _f1 and _flags values until they are resolved
again. We need a new flag 'is_f1_null_dcevm_shift' indicating that _f1
is NULL (while f1 keeps old value).

JBR-4053 - Fix fastdebug compilation issue
JBR-4125 - fix wrong addition of java.lang.Object as superclass
JBR-4110 - disable UseEmptySlotsInSupers

dcevm instance transformation expects increasing field's offset when
fields of class are iterated. This ordering is no more valid if
UseEmptySlotsInSupers=true.
JBR-4148 - removed meaningless copying of data to itself
JBR-4312 - fix crash call ResolvedMethodTable from ServiceThread

adjust_metod_entries_dcevm incorrectly changed the hashes of resolved
method oops stored in ResolvedMethodTable. Now all oops of old methods
are first removed, then updated and then added to table again
JBR-4352 - fix AARCH64 compilation issues

- use correct INCLUDE_JFR condition for jfr code
- exclude jvmtiEnhancedRedefineClasses.cpp if INCLUDE_JVMTI=0
Remove version-numbers left over from the merge of dcevm17
JBR-4392 - use only loaded classes when collecting affected classes
JBR-4386 - disable AllowEnhancedClassRedefinition in jfr
2023-02-15 05:49:58 +07:00
Vladimir Dvorak
bc08286f7c JBR-5183 fix dcevm21 compilation issues 2023-02-15 05:47:59 +07:00
Vladimir Dvorak
7fbd0b7bbf JBR-5183 pre-dcevm17 squashed commits
dcevm11 fixes

1. We need to set classRedefinitionCount on new class, not old class.

2.Fix crashes in MetadataOnStackMark::~MetadataOnSta

MetadataOnStackMark should not remove dcevm stuff. It was added
accidentaly in dcevm9 and never was part of doit() in previous versions.

3. Fix problem with nested members

Reported at :
https://stackoverflow.com/questions/53370380/hotswapagent-incompatibleclasschangeerror-type-headerpanel1-is-not-a-nest-mem

4. Use init_mark_raw()

method changed since j8 - it used init_mark()

5. Fix methodHandles and fieldHandles

6. Code cleanup

7. Fix force_forward in dead space

8. Fix check_class

9. increment_class_counter() using orig dcevm code

Probably it is cause of SISEGV on:
_
VM_EnhancedRedefineClasses::redefine_single_class->java_mirror()

10 Fix 11.0.7 compilation issues

11. Refactor ClearCpoolCacheAndUnpatch

12. not nullable oop_store_not_null() method+handle NULL in mem_name in
dmh

13. Use INCLUDE_CDS condition on "UseSharedSpaces" block from master

14. Add codecache flush optimization, but just flush all cache.

15. Cleanup

16. Use original code for adjust_method_entries in standard redefinition

17. iterate old method version only in dcevm

18. Revert code for !AllowEnhancedClassRedefinition

19. Code cleanup

20. Activate cpCache definition asserts for !dcevm

21. Skip GC runs for redefinitions without instance size change

22. This is the 2nd commit message:

23. dcevm15 - Cleanup code related to removed CMS

Fix class cast exception on redefinition of class A, that is superclass
of B that has anonymous class C

Support for Lambda class redefinition

Fix "no original bytecode found" error if method with bkp is missing

Sometimes IDE can deploy class with erroneous method, such method has
n bytecode, but breakpoint position can still exist.

Replace deleted method with Universe::throw_no_such_method_error

+ Change log level in advanced redefinition
- Change log level for "Comparing different class ver.." to debug
- Fix adjust_method_entries_dcevm logging levels and severity
Support for G1 gc

AllowEnhancedClassRedefinition is false (disabled) by default

Set HOTSPOT_VM_DISTRO=Dynamic Code Evolution

Clear dcevm code separation

Fix LoadedClassesClosure - fixes problems with remote debugging

dcevm15 - fix java15 compilation issues
dcevm15 - add ClassLoaderDataGraph_lock on
ClassLoaderDataGraph::classes_do

ClassLoaderDataGraph::classes_do and need safepoint or lock,
find_sorted_affected_classes is not in safepoint therefore it must be
locked
ClassLoaderDataGraph::rollback_redefinition need safepoint too
dcevm15 - fix Universe::root_oops_do

Removed ClassLoaderDataGraph::cld_do was cause of crashes due multiple
oop patching. ClassLoaderDataGraph::cld_do replaced in dcevm15
previously used and removed SystemDictionary:oops_do
dcevm15 - check if has_nestmate_access_to has newest host class
dcevm15 - mark_as_scavengable only alive methods
dcevm15 - fix hidded classes

dcevm15 - DON'T clear F2 in CP cache after indy unevolving

It's not clear why it was cleared in dcevm7-11
Cleanup and review comments
Disable AllowEnhancedClassRedefinition in flight recorder

dcevm17 - fix compilation issues

Fix crash on GrowableArray allocation in C_HEAP
Rename confusing method name old_if_redefined to old_if_redefining
Check InstanceKlass::has_nestmate_access_to with active classes

Dcevm can leave old host in nested class if nested class is not
redefined together with host class
2023-02-15 05:47:57 +07:00
Nikita Gubarkov
da208cfd3b fixup! JBR-5124 Rewrite custom decorations support
JBR-5284 Use ChildWindowFromPointEx instead of RealChildWindowFromPoint in ScreenToBottommostChild
2023-02-14 16:09:58 +02:00
Sergey Shelomentsev
74a565f497 JBR-5194 add regressions tests for custom decorations support 2023-02-14 13:53:23 +02:00
Sergey Shelomentsev
141863c6a7 build jbr-api as a part of bundle build 2023-02-14 11:35:57 +02:00
Vitaly Provodin
f426770547 Update README.md 2023-02-14 13:53:37 +07:00
Vitaly Provodin
60ed456ff2 Update README.md 2023-02-14 07:08:22 +01:00
Artem Semenov
4d36e8402d JBR-5289 If the label has the role of a hyperlink, VO still pronounces it as plain text (#215) 2023-02-14 07:08:22 +01:00
Alexey Ushakov
66c715aff2 JBR-5279 restore saving jbr native symbols bin/server/jvm.pdb 2023-02-14 07:08:21 +01:00
Sergey Shelomentsev
f9483c9624 JBR-4875 update test to use new JBR API window custom decorations 2023-02-14 07:08:21 +01:00
Nikita Gubarkov
22ab2ad28c JBR-5186 Make MouseInfo.getPointerInfo more robust
Do not search for the containing monitor in MouseInfo.getPointerInfo, this must be handled by peers (yes, this goes against the spec of MouseInfoPeer.fillPointWithCoords).

JBR-5268 Fix coordinates conversion in XMouseInfoPeer.fillPointWithCoords
2023-02-14 07:08:21 +01:00
Vitaly Provodin
bf2765f51f Update README.md 2023-02-14 07:08:21 +01:00
Nikita Tsarev
63818ace02 JBR-5254: Fix Caps Lock not working properly on certain Chinese IMs 2023-02-14 07:08:21 +01:00
Nikita Tsarev
b403e715fe Revert "8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout"
This reverts commit 5049cad2b0.

After JBR-5173 this workaround is no longer necessary
2023-02-14 07:08:21 +01:00
Artem Semenov
18c4329c5b JBR-5269 Announcement priorities not set correctly (#214) 2023-02-14 07:08:21 +01:00
Nikita Tsarev
c4c6188d66 JBR-5233 Setup/teardown necessary keyboard layouts in macOS keyboard tests 2023-02-14 07:08:21 +01:00
Vitaly Provodin
807e13572d Update README.md 2023-02-14 07:08:21 +01:00
Artem Semenov
dccad6e581 JBR-5248 exception in accessible announcing 2023-02-14 07:08:21 +01:00
Vitaly Provodin
765d1a4267 update exclude list on results of 21_b9 test runs 2023-02-14 07:08:21 +01:00
Vitaly Provodin
4d800adf77 JBR-5217 enable NVDA support in Windows builds 2023-02-14 07:08:21 +01:00
Nikita Gubarkov
fd5b0c16e0 JBR-5124 Rewrite custom decorations support
JBR API v0.0.8
Added new WindowDecorations API, deprecated old CustomWindowDecoration.

JBR-4641 JBR-4630 Fix client area calculation with custom decorations on Windows.

- Window insets are rounded up, which causes visible & unusable border in fullscreen on some scales, round down instead.

- Clipping in Swing components sometimes cuts what it shouldn't, fixed.
2023-02-14 07:08:21 +01:00
Nikita Gubarkov
133f2ea840 JBR-5238 do not reshape maximized window in AwtWindow::CheckWindowDPIChange() 2023-02-14 07:08:21 +01:00
Alexey Ushakov
bf47a26bd5 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Use one display link thread per MTLContext. Adjust refresh rate with current display.
2023-02-14 07:08:20 +01:00
Nikita Tsarev
66d2a2d96b JBR-5173 macOS keyboard support rewrite 2023-02-14 07:08:20 +01:00
Nikita Tsarev
9a7ffa4375 Revert "macOS national keyboard support"
This reverts commit 21bffd06bc.
2023-02-14 07:08:20 +01:00
Vitaly Provodin
2ca85d6437 Update README.md 2023-02-14 07:08:20 +01:00
AMPivovarov
5e2e64a5e0 JBR-5213 JBR API v0.0.9 - add GraphicsUtils (#208)
* relax type constraints in BltBufferStrategy.getDrawGraphics
2023-02-14 07:08:20 +01:00
Artem Semenov
a846c3310a JBR-5221 Add announcing to JBRAPI 2023-02-14 07:08:20 +01:00
Vitaly Provodin
cfdb4697ee update exclude list on results of 21_b8 test runs 2023-02-14 07:08:20 +01:00
Artem Semenov
dd86f0f78e JBR-4170 Implement API for announcing 2023-02-14 07:08:20 +01:00
Alexey Ushakov
74945485e5 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Present layer content using a Core Animation transaction
2023-02-14 07:08:20 +01:00
Vitaly Provodin
402c9b9d26 update exclude list on results of 21_b7 test runs 2023-02-14 07:08:20 +01:00
Vitaly Provodin
471a2258e3 update exclude list on results of stability checking runs due to 8253184 2023-02-14 07:08:20 +01:00
Alexey Ushakov
d1080c9fb0 JBR-5193 Do not use extra commandQueue in metal pipeline
Removed extra command queue
2023-02-14 07:08:20 +01:00
Artem Bochkarev
09a3535b44 JBR-3575 use flag processEvents in LWCToolkit.invokeAndWait 2023-02-14 07:08:20 +01:00
Vitaly Provodin
9ee4153e1e exclude several tests from runs on machines with enabled VoiceOver 2023-02-14 07:08:20 +01:00
Anton Tarasov
254c24ddbf JBR-4355 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java: # C [libobjc.A.dylib+0x90ff] objc_release+0x1f
(cherry picked from commit c0b2b59d4a)
2023-02-14 07:08:20 +01:00
Anton Tarasov
310dc08a14 JBR-4362 [mac] system menu opens with duplicated items
(cherry picked from commit e32defe49d)
2023-02-14 07:08:20 +01:00
Anton Tarasov
08835173a1 JBR-4328 remove LWCToolkit.unsafeNonblockingExecute
(cherry picked from commit 9a3f31a6c4)
2023-02-14 07:08:19 +01:00
Anton Tarasov
2fbfd7c122 JBR-4134 PyCharm is slow and unusable on MacBook Pro with M1
(cherry picked from commit 36190505f5)
2023-02-14 07:08:19 +01:00
Anton Tarasov
b7109d6dff JBR-4284 Sub items of main menu options are not displayed
A regression of JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss

(cherry picked from commit c464e4748e)
2023-02-14 07:08:19 +01:00
Anton Tarasov
932518d0bc JBR-4119 UI freezes at sun.lwawt.macosx.CAccessibility.getChildrenAndRoles
(cherry picked from commit 6ba79774d8)
2023-02-14 07:08:19 +01:00
Anton Tarasov
fd0ea75465 JBR-4106 PyCharm hangs with 100% CPU usage on one core 2023-02-14 07:08:19 +01:00
Anton Tarasov
52d35ff880 JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss
including JBR-4543 (NPE: IdeEventQueue.lambda$getNextEvent$0)
2023-02-14 07:08:19 +01:00
Anton Tarasov
5777456c33 JBR-3413 use timeout in CAccessibility.invokeAndWait
(cherry picked from commit e7009db076)
2023-02-14 07:08:19 +01:00
Vitaly Provodin
c2f75a9b3a update exclude list on results of 21_b1447 test runs 2023-02-14 07:08:19 +01:00
Vitaly Provodin
d3675e414f Update README.md 2023-02-14 07:08:19 +01:00
Vitaly Provodin
08234b4ac6 update exclude list on results of main.1441 test runs 2023-02-14 07:08:19 +01:00
Alexey Ushakov
7498aed8d3 JBR-5157 Idea hangs on opening editor context menu
Removed displaySync start from completion block in commitCommandBuffer
2023-02-14 07:08:19 +01:00
Alexey Ushakov
79afdd64be JBR-5112 Large bold square whitespaces after waking up the laptop / connecting display
Clear primary surface data of VolatileSurfaceManager on display change event
2023-02-14 07:08:19 +01:00
Alexey Ushakov
4cce38a29c JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Restored missing update calls. Corrected licenses
2023-02-14 07:08:19 +01:00
Alexey Ushakov
79593759a1 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Added sun.java2d.metal.displaySync property to disable (false) displaySync update method
2023-02-14 07:08:19 +01:00
Alexey Ushakov
4a44284191 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Remove displaysync
2023-02-14 07:08:19 +01:00
Artem Semenov
11412dbc70 JBR-5118 VoiceOver does not speak the label associated with the combobox (#194)
JBR-5118 VoiceOver does not speak the label associated with the combobox
2023-02-14 07:08:18 +01:00
Artem Semenov
88b6a8e17e JBR-4235 Context menu not readable after opening on Mac OS 2023-02-14 07:08:18 +01:00
Artem Semenov
fca3fbe87a JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees. 2023-02-14 07:08:18 +01:00
Artem Semenov
ad6a7e9b20 JBR-3868 Combobox list is not voiced of VoiceOver 2023-02-14 07:08:18 +01:00
Alexey Ushakov
506fbcf875 JBR-5041 macOS: SIGSEGV at [libawt_lwawt] getRenderEncoder:(dstOps == NULL)
Protected code from using NULL dstOps
2023-02-14 07:08:18 +01:00
Alexey Ushakov
1adb036de9 JBR-4856 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Clear glyph caches after switching contexts. Keep encoders in sync with graphics devices. Minor refactoring
2023-02-14 07:08:18 +01:00
Nikita Provotorov
870d05baa3 JBR-5107, JBR-5114: SIGILL/OOM from Java_sun_lwawt_macosx_LWCToolkit_getKeyboardLayoutNativeId.
A theoretical fix, it should:
- Catch any NSException (as it was initially expected);
- Probably fix possible memory leaks (by moving the layoutId var inside autoreleasepool).
2023-02-14 07:08:18 +01:00
Dmitry Batrak
a6a96e7019 JBR-5109 New frame doesn't get focused sometimes if it's shown right after popup is closed
(cherry picked from commit 693d317c0c)
2023-02-14 07:08:18 +01:00
Vitaly Provodin
be21ef6b0d Update README.md 2023-02-14 07:08:18 +01:00
Alexey Ushakov
c41854d67d JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Do not fire deliverChangeBackingProperties notification for the view if there is no change between layer and window scales. Also, do not fire displayChanged for display profile only changes.
2023-02-14 07:08:18 +01:00
Nikita Provotorov
c1fef82400 JBR-5075: macOS: KEY_PRESSED event for "Cmd N" is not emitted if used as a JMenuItem accelerator and apple.laf.useScreenMenuBar=true.
- Improves the fix of JBR-3544 to allow "Cmd N" and "Ctrl N" to reach AWT if they're actually the ones which were pressed.
- Adds a regression test.

(cherry picked from commit 61a1b70d73)
2023-02-14 07:08:18 +01:00
Dmitry Batrak
9fe0b53657 JBR-5095 Incorrect initial window's location under GNOME
(cherry picked from commit 6995ce47fd)

with fix for JBR-5189 Can't exit fullscreen mode on ubuntu 22.10

(cherry picked from commit b933660cf1)
2023-02-14 07:08:18 +01:00
Victor Kropp
5b6f4ff3fb Update README.md
Mention Toolbox App in the list of applications built on JetBrains Runtime.

(cherry picked from commit cfa9789515)
2023-02-14 07:08:18 +01:00
Nikita Provotorov
08d1f10951 Update README.md
Replaced jbr-dev to main and other minor fixes.
2023-02-14 07:08:18 +01:00
Vitaly Provodin
68a744c9d5 update exclude list on results of 17.0.5_b721.3 test runs 2023-02-14 07:08:18 +01:00
Alexey Ushakov
78ae98929d JBR-5073 [Double-Monitor] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java: Wrong location
Added check for nil displayID of the window
2023-02-14 07:08:18 +01:00
Nikita Tsarev
135c286dd8 JBR-4990: Undo changes to ExtendedKeyCodes 2023-02-14 07:08:17 +01:00
Vitaly Provodin
a3f84a4922 update exclude list on results of 17.0.5_b712.2 test runs 2023-02-14 07:08:17 +01:00
Vitaly Provodin
fcadc68575 JBR-4956 reduce width of screenshot by one pixel to exclude caret 2023-02-14 07:08:17 +01:00
ngubarkov
78ca759b6d IDEA-141456 Multimonitor HIDPI support for Linux 2023-02-14 07:08:17 +01:00
ngubarkov
0551e1969c JBR-4840 cache screen resolution in XToolkit 2023-02-14 07:08:17 +01:00
Vitaly Provodin
df45e522bd JBR-5058 set default locale as UK for RenderPerf 2023-02-14 07:08:17 +01:00
Alexey Ushakov
8d8ed97e91 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Moving NSWindowDidChangeScreenNotification handler to AWTWindow

fixup! JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
2023-02-14 07:08:17 +01:00
Dmitry Batrak
03b88d30f5 JBR-5045 Invisible component can break focus cycle
(cherry picked from commit 0f57a27879)
2023-02-14 07:08:17 +01:00
Alexey Ushakov
b9b2f22a34 JBR-5025 Reduce latency during display reconfiguration in Metal
Moved metal load library checks to CGraphicsEnvironment
2023-02-14 07:08:17 +01:00
Maxim Kartashev
d97276a462 JBR-4544 Enable OpenGL pipeline by default for Wayland sessions
The OpenGL pipeline is enabled only if all of the following is true:
- WAYLAND is detected,
- VMWare virtualization is detected,
- rendering pipeline is not a software one (llvmpipe).
As a side effect, a system property 'jbr.virtualization.information'
is set to the value of detected virtualization type. The value is the
same as provided by JFR.
2023-02-14 07:08:17 +01:00
Nikita Tsarev
ad02d532cd JBR-3860: Fix shortcut behavior when Shift is the only modifier 2023-02-14 07:08:17 +01:00
Vitaly Provodin
a1868506e6 Update README.md 2023-02-14 07:08:17 +01:00
builduser
5a4b47061e JBR-5008 remove extra file jb/java/awt/font/DrawTest.java from colliding group 2023-02-14 07:08:17 +01:00
Vitaly Provodin
9451db44ac Update README.md 2023-02-14 07:08:17 +01:00
Vitaly Provodin
c34784dc93 update exclude list on results of 17.0.5_b691.6 test runs 2023-02-14 07:08:17 +01:00
Vitaly Provodin
fe6d355fd8 Update README.md 2023-02-14 07:08:16 +01:00
Nikita Tsarev
601c5e4ca5 JBR-4990: Fix regression tests for national keyboard layouts on macOS 2023-02-14 07:08:16 +01:00
Alexey Ushakov
f8a671912b JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Replace multiple CHANGE_SCREEN notifications fired around the same time with just one
2023-02-14 07:08:16 +01:00
Dmitry Batrak
a206e2d7fa JBR-4988 Transient Z-order violations on macOS
(cherry picked from commit bcba97511c)
2023-02-14 07:08:16 +01:00
Maxim Kartashev
a3cc396874 JBR-4982 keycode_cache.c:60:37: error: format '%d' expects argument of type 'int', but argument 3 has type 'KeySym' 2023-02-14 07:08:16 +01:00
Vitaly Provodin
821ffa5cd8 JBR-4947 update alpine x64 image up to 3.14 2023-02-14 07:08:16 +01:00
Vitaly Provodin
27ff5e3cf4 update exclude list on results of 17.0.5_b469.67 test runs 2023-02-14 07:08:16 +01:00
Vitaly Provodin
06c3e02e3e Update README.md 2023-02-14 07:08:16 +01:00
Alexey Ushakov
8b185d7232 JBR-4950 src\java.desktop\windows\native\libawt\windows\awt_FileDialog.cpp: warning C4267: '+=': conversion from 'size_t' to 'UINT', possible loss of data
Added casts to resolve warnings
2023-02-14 07:08:16 +01:00
Vitaly Provodin
1cf4e2ca2d update Commit and Full testing exclude list on results of jbr17.668 test runs 2023-02-14 07:08:16 +01:00
Maxim Kartashev
e99480d17d JBR-4951 In function 'convert_to_java_array': error: comparison of integer expressions of different signedness 2023-02-14 07:08:16 +01:00
Alexey Ushakov
934f308d5b JBR-4859 jbr17: compiler warnings with Xcode 14.0.1 (14A400)
Disabled warnings for liblcms and liblwawt
2023-02-14 07:08:16 +01:00
Vitaly Provodin
27d124d22f JBR-4089 add modules sun.awt sun.awt.image sun.java2d 2023-02-14 07:08:16 +01:00
Vitaly Provodin
604a298350 update exclude list for Commit testing 2023-02-14 07:08:16 +01:00
Vitaly Provodin
32910740fb exclude tests failing because of JBR-4933, JBR-4934 2023-02-14 07:08:16 +01:00
Alexey Ushakov
b6585c6f89 JBR-4666 java.lang.InternalError: Error - unable to initialize Metal after recreation of graphics device.
Reverted fix of the JRE-359 (CGraphicsEnvironment.getDefaultScreenDevice() returns null)
Logged exception after first attempt to create graphics device
2023-02-14 07:08:15 +01:00
Alexey Ushakov
515d2da7cb JBR-4731 SIGILL caused by NPE Cannot invoke "java.awt.GraphicsConfiguration.getDevice()" because "config" is null
Handled null device in platform window
2023-02-14 07:08:15 +01:00
Maxim Kartashev
9aa232b266 Move JBR README.md to .github/ 2023-02-14 07:08:15 +01:00
Svyatoslav Vlasov
d5f3419495 Add ProjectorUtils to jbr-api (#181)
* Add ProjectorUtils to jbr-api

Co-authored-by: Sviatoslav Vlasov <Sviatoslav.Vlasov@jetbrains.com>
2023-02-14 07:08:15 +01:00
Nikita Tsarev
58ff8ddb5e JBR-3941 Make apple.awt.captureNextAppWinKey default to false 2023-02-14 07:08:15 +01:00
Vitaly Provodin
799efec576 JBR-4912 jb/java/api/frontend/CustomTitleBarDoubleClick.java intermittently throws java.awt.AWTError 2023-02-14 07:08:15 +01:00
Maxim Kartashev
831b6356ed exclude java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java due to JBR-4880 on windows 2023-02-14 07:08:15 +01:00
Alexey Ushakov
2bb498ebc8 JBR-4710 macOS: SIGSEGV at sun.java2d.metal.MTLLayer.blitTexture
Added check for disposed texture in the MTLLayer
2023-02-14 07:08:15 +01:00
Nikita Gubarkov
ff18dfb03d JBR-4890 Fix variation selectors font fallback on macOS
If font for a given variation selector not found, try without variation selector
2023-02-14 07:08:15 +01:00
Artem Bochkarev
fc9fb83990 JBR-4907 remove custom view for osx system menu items
Just revert "JBR-3131: support custom view for system menu items"
2023-02-14 07:08:15 +01:00
Vitaly Provodin
d5d3db289a exclude java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java due to JBR-4905 on windows&linux 2023-02-14 07:08:15 +01:00
Alexey Ushakov
994dec962b JBR-4897 Reconnecting multiscreen monitor displays blank IDE
Handled NSWindowDidChangeScreenNotification, resolved race condition in window peer displayChanged listener
2023-02-14 07:08:15 +01:00
Vitaly Provodin
7f589fa99f exclude jb/java/jcef/HandleJSQueryTest3314.sh due to JBR-4866 on linux 2023-02-14 07:08:15 +01:00
Vitaly Provodin
01af7005a0 exclude some tests due to JBR-4880 on windows 2023-02-14 07:08:15 +01:00
Vitaly Provodin
90c54a3fc1 exclude javax/swing/JInternalFrame/8020708/bug8020708.java due to JBR-4879 on windows 2023-02-14 07:08:15 +01:00
Vitaly Provodin
549a467322 exclude java/awt tests which do not close child processes/windows 2023-02-14 07:08:15 +01:00
Vitaly Provodin
e5ceba75d8 exclude java/awt/FullScreen/NoResizeEventOnDMChangeTest/NoResizeEventOnDMChangeTest.java and java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 7188711 on linux-all
j
2023-02-14 07:08:14 +01:00
Maxim Kartashev
de0e30386f JBR-4877 WARNING: JNI local refs: 33, exceeds capacity: 32 2023-02-14 07:08:14 +01:00
Artem Bochkarev
e9d9f15178 JBR-4876 remove test duplicates
Since next jcef tests were moved into junit suite (inside jcef repository):
 HandleJSQueryTest
 JCEFStartupTest
 LoadPageWithoutUI
 MouseEventAfterHideAndShowBrowserTest
 MouseEventScenario
 MouseEventTest
2023-02-14 07:08:14 +01:00
Vitaly Provodin
58e3d90405 JBR-4875 jb/javax/swing/JComboBox/ComboBoxTransparentTittleBarTest.java checks dragging JFrame with Combobox 2023-02-14 07:08:14 +01:00
Dmitry Batrak
1a918b28da JBR-4871 Closed project leaked via KeyboardFocusManager#newFocusOwner
(cherry picked from commit 50c0ce58d3)
2023-02-14 07:08:14 +01:00
Maxim Kartashev
3ab62a3b50 JBR-4839 Report if wrong shared library is detected at run time 2023-02-14 07:08:14 +01:00
Maxim Kartashev
4e0544e86e JBR-4848 Cannot invoke "javax.swing.JTextField.getCaret()" because the return value of "java.lang.ref.WeakReference.get()" is null 2023-02-14 07:08:14 +01:00
Alexey Ushakov
774156640c JBR-4590 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Invalidate glyph cache cell info after switching MTLContext
2023-02-14 07:08:14 +01:00
Nikita Gubarkov
4b37a8ba11 Added Clion project setup 2023-02-14 07:08:14 +01:00
Nikita Gubarkov
cd9d7fd6e6 Updated IDEA project setup 2023-02-14 07:08:14 +01:00
Nikita Gubarkov
6466af1e8d JBR-4815 force hinting for non-antialiased text 2023-02-14 07:08:14 +01:00
Maxim Kartashev
7b2e9d0051 jb/branchdiff.py script to help with release branches 2023-02-14 07:08:14 +01:00
Nikita Gubarkov
11aed9096e JBR-3677 check AppleActionOnDoubleClick property for custom window decorations on macOS 2023-02-14 07:08:14 +01:00
Alexander Lobas
8e4d4cd331 JBR-4787 Rounded corners for native windows 2023-02-14 07:08:14 +01:00
Vitaly Provodin
524679411d updated JTreg exclude list 2023-02-14 07:08:14 +01:00
Maxim Kartashev
2c1fe95d6f JBR-3862 Implement native WatchService on MacOS
The watch service is based on FSEvents API that notifies about file
system changes at a directory level. It is possible to go back to
using the old polling watch service with -Dwatch.service.polling=true.

Features include:
- support for FILE_TREE option (recursive directory watching),
- minimum necessary I/O (no filesystem access more than once
  unless needed),
- one thread ("run loop") per WatchService instance,
- changes are detected by comparing file modification times with
  millisecond precision,
- a directory tree snapshot is taken at the time of WatchKey creation
  and can take a long time (proportional to the number of files).
2023-02-14 07:08:13 +01:00
Alexey Ushakov
6d4edf3f04 JBR-4696 macOS: NPE in -[AWTView viewDidChangeBackingProperties]
Added null pointer checks
2023-02-14 07:08:13 +01:00
MonoBot
0bb32a4ac5 JBR-4809 Update the bundled JetBrains Mono font version
Fonts release 2.242

(cherry picked from commit 641424a3e3)
2023-02-14 07:08:13 +01:00
Alexey Ushakov
f29f0af163 JBR-4680 idea window flickers while changing the screen brightness
Update insets in separate notification
2023-02-14 07:08:13 +01:00
Maxim Kartashev
38c1546476 JBR-4562 JBR-4610 Generate hs_err file on SIGABRT
Supported on Linux and MacOS only.
Controlled by -Djbr.catch.SIGABRT=true option; off by default.
2023-02-14 07:08:13 +01:00
Alexey Ushakov
aea5bb7c96 JBR-4807 RenderPerf: Provide tests for VolatileImage rendering
Added VolImage and VolImageAA test cases
2023-02-14 07:08:13 +01:00
Maxim Kartashev
6c7c661459 JBR-4626 MacOS aarch64: SIGSEGV at RenderCache.get / ScaledBlit.getFromCache
Avoid C2-compiled loop crashes by replacing the handcrafted MRU cache
with a more modern LinkedHashMap-based one.
2023-02-14 07:08:13 +01:00
Alexey Ushakov
ee6157f40f JBR-4588 macOS: SIGILL at [libsystem_kernel] __kill in CCE: class sun.java2d.opengl.CGLGraphicsConfig cannot be cast to class sun.java2d.metal.MTLGraphicsConfig
Moved tryLoadMetalLibrary under RQ lock.
Added more diagnostics.
2023-02-14 07:08:13 +01:00
Nikita Gubarkov
23663f1d1d Allow registering multiple implementations for JBR API services
This greatly reduces boilerplate when dealing with platform-specific code, one can specify multiple target implementation classes, one per platform. First found will be used.

Also added JBRApi.ServiceNotAvailableException to give services ability to validate any custom condition they want.
2023-02-14 07:08:13 +01:00
Denis Fokin
5f819d17cd JBR-4788 "Activate window by mouse hover" Windows option isn't supported by JBR 17
backport JBR-1991 (Focus problems in Windows with X-Mouse style focus) from JBR 11

(cherry picked from commit c8ad353f45)
(cherry picked from commit a52ed88377)
2023-02-14 07:08:13 +01:00
Alexey Ushakov
5438582ff6 JBR-4784 Extra allocations of MTLRenderPipelineDescriptor affects performance in metal pipeline
Remove extra allocations
2023-02-14 07:08:13 +01:00
Alexey Ushakov
a963718f67 JBR-4774 macOS: SIGILL at [libsystem_kernel] __kill in NPE / VolatileSurfaceManager.displayChanged / __displaycb_handle_block_invoke
Guarded against multiple displayChanged() notifications
2023-02-14 07:08:13 +01:00
Dmitry Batrak
54412d4593 JBR-4782 Synergy keyboard/mouse input: window disabled after bringing IntelliJ into focus
(cherry picked from commit f863a14b19)
2023-02-14 07:08:13 +01:00
Alexey Ushakov
d956c9fbfd JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Do not use hinting for generating outlines
2023-02-14 07:08:13 +01:00
Alexey Ushakov
12721c7e83 JBR-3100 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.LWComponentPeer.windowToLocal
Added null check
2023-02-14 07:08:13 +01:00
Alexey Ushakov
d33a4eb42c JBR-4774 macOS: SIGILL at [libsystem_kernel] __kill in NPE / VolatileSurfaceManager.displayChanged / __displaycb_handle_block_invoke
Added null check
2023-02-14 07:08:12 +01:00
Alexey Ushakov
fd8cc47e53 JBR-3102 Exception in NSApplicationAWT: Invalid parameter not satisfying: !isnan(newOrigin.y)
Handled NAN values with some defaults
2023-02-14 07:08:12 +01:00
Vladislav Rassokhin
2ff8f319c1 JBR-4263 Improve check_jbr_size.sh
* Fix shellcheck inspections
* Don't silently fail if TOKEN is incorrect
2023-02-14 07:08:12 +01:00
Alexey Ushakov
1eeb9f7b73 JBR-4764 RenderPerfTest: provide more reliable data and convenient representation
Added the median instead of the mean (can be enabled using -DuseMean=true)
Provided sorted output and removed FPS suffix
2023-02-14 07:08:12 +01:00
Maxim Kartashev
bbec84b9c2 JBR API v0.0.4
JBR-4746 Added jetbrains.api.verifyBytecode VM option for generated bytecode verification

JBR-4753 Added JBR API for custom desktop actions

Added jetbrains.api.verbose system property for easier JBR API troubleshooting

Also fixed dependency scanning optimization by allowing search in known proxy interfaces outside com.jetbrains

JBR-3511 Way to customize implementation of java.awt.Desktop.browse()

Provided Desktop.setDesktopActionsHandler() and DesktopActionsHandler
interface, which methods will be invoked instead of the standard actions
provided that DesktopActionsHandler.isSupported() is true for the
corresponding action.
2023-02-14 07:08:12 +01:00
Maxim Kartashev
e00cf6bb79 JBR-3101 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.macosx.CPlatformComponent.setBounds
After CPlatformComponent.setBounds() was changed to allow for platformWindow.getPeer() == null, a few exceptions appeared that suggest platformWindow can also be null. This commit safeguards against this situation as well.

It seems that this can only be the case if the instance is created from outside of JDK, so Objects.requireNonNull() may help to catch the perpetrator.
2023-02-14 07:08:12 +01:00
Dmitry Batrak
f466a94036 JBR-4720 Focus state is broken after certain operations when VoiceOver is enabled
(cherry picked from commit dc1b49b5a6)
2023-02-14 07:08:12 +01:00
Dmitry Batrak
157b869b2d JBR-4673 Focus moves to another application on file dialog closing
(cherry picked from commit 7468974488)
2023-02-14 07:08:12 +01:00
Dmitry Batrak
f4824594fc JBR-4665 Focus 'jitter' on window showing in WSLg
(cherry picked from commit 9b32c2a577)
2023-02-14 07:08:12 +01:00
Nikita Gubarkov
a9fa41d862 JBR-2523 JBR-2917 Fix emoji, ZWJ and font fallback
Implement rendering of colored outlines and bitmap glyphs in OutlineTextRenderer
Add Segoe UI Emoji to font fallback on Windows
Require layout for some emoji-related unicodes
Fix variation selectors and ZWJ
2023-02-14 07:08:12 +01:00
Alexey Ushakov
53ff9e6be3 JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Returning devanagari subset back for ja.UTF-8 to get non-null font name from WFontConfiguration.getTextComponentFontName(). It is a regression from JDK-8208179.

(cherry picked from commit b51254a975)
2023-02-14 07:08:12 +01:00
Dmitry Batrak
017c51c8cb JBR-1987 Korean/Thai characters not printed properly in annotation tooltip (e.g. spellchecker)
This changes the fonts JDK uses for font fallback on Windows. These used to be DokChampa (for Thai) and Batang/Gulim/Gulim (for Korean).
Those fonts are not available by default on Windows 10, user needs to install supplementary font language packs to get them.
Now the following fonts will be used - Tahoma (for Thai) and Malgun Gothic (for Korean). They are available by default
on Windows 7, 8 and 10.

port from JBR 11 to JBR 15 (cherry picked from commit 850653192b)

cherry picked from commit 2bf43a57ab

Kept only Thai-related changes - Korean-related issues are now fixed in OpenJDK as per JDK-8190907
2023-02-14 07:08:12 +01:00
artem.bochkarev
556f0c301b JBR-4581 JCEF tests fail due to compilation errors
The problem was in commit "JBR-4512 windows: include pdb-files into jbrsdk": rsync can replace file lib/modules.
rsync is replaced with cp
2023-02-14 07:08:12 +01:00
Vitaly Provodin
6975132042 exclude sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java on linux-all due to 8252812 2023-02-14 07:08:12 +01:00
Vitaly Provodin
597a911cda exclude sanity/client/SwingSet/src/ColorChooserDemoTest.java on windows-all due to 8278582 2023-02-14 07:08:12 +01:00
Alexey Ushakov
8135f44823 JBR-4636 Some JWindow tests failed due to wrong scaling
Take into account custom scale via sun.java2d.uiScale
2023-02-14 07:08:11 +01:00
Nikita Gubarkov
50ee1e7a0a 8289189: Fix ./configure on WSL1 2023-02-14 07:08:11 +01:00
Alexey Ushakov
9b52164930 JBR-4619 Window content scale wrong after disconnecting external display / waking OS from sleep
Use viewDidChangeBackingProperties notification to adjust a window layer scale
2023-02-14 07:08:11 +01:00
Vitaly Provodin
ab4b770a5f exclude vmTestbase/vm/jit/LongTransitions due to 8271615 on macOS 2023-02-14 07:08:11 +01:00
Maxim Kartashev
42ea7b173f JBR-4602 Unexpected NoSuchFileException running Rider test
This reverts commits for JBR-3680, JBR-4118, and JBR-4485.
2023-02-14 07:08:11 +01:00
Nikita Gubarkov
7a4c5b8773 JBR-4373 Add mapping for .NewYork-* and .SFArabic-* system fonts 2023-02-14 07:08:11 +01:00
Alexander Lobas
511de77f0f JBR-4563 Rounded corners for native Window on Mac OS (#156)
* JBR-4563 Rounded corners for native Window on Mac OS
2023-02-14 07:08:11 +01:00
Alexander Lobas
01b33b06f0 JBR-4563 Rounded corners for native Window on Mac OS 2023-02-14 07:08:11 +01:00
Alexander Lobas
86b23c6e04 JBR-4305 (#119)
* IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode

* IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode

* JBR-4305 IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode

* JBR-4305 IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode
2023-02-14 07:08:11 +01:00
Alexey Ushakov
a9ae6228f6 JBR-4588 macOS: SIGILL at [libsystem_kernel] __kill in CCE: class sun.java2d.opengl.CGLGraphicsConfig cannot be cast to class sun.java2d.metal.MTLGraphicsConfig
Prevent fall back to OpenGL if Metal has been used before
2023-02-14 07:08:11 +01:00
Alexey Ushakov
0825a4fc27 JBR-4591 macOS: SIGILL at [libsystem_kernel] __kill in -[__NSMallocBlock__ removeFromSuperview]: unrecognized selector sent to instance
Verified if windowDragView is present
2023-02-14 07:08:11 +01:00
Artem Bochkarev
747c0010fd JBR-4475: fixed browsers numeration in test
theoretically it can cause 2 requests with the same query_id: "cef_query_2" (when first browser finishes loading after the creation of second one)
2023-02-14 07:08:11 +01:00
Artem Bochkarev
a6fe2cc0c4 JBR-4456: fixed HandleJSQueryTest
first invocation of dispatch(WindowEvent.WINDOW_CLOSING) calls System.exit() internally (because of setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE))
2023-02-14 07:08:11 +01:00
Vitaly Provodin
1050c04ae7 exclude javax/swing/JToolBar/4529206/bug4529206.java due to 8288707 on linux 2023-02-14 07:08:11 +01:00
Vitaly Provodin
f4c79871fc enabling dtrace-tests: added dtrace keyword
(cherry picked from commit 0b5119ca89)
2023-02-14 07:08:11 +01:00
Maxim Kartashev
1467e4b435 JBR-3101 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.macosx.CPlatformComponent.setBounds
CWarningWindow doesn't have a peer, so accomodated for that in
CPlatformComponent.setBounds().
2023-02-14 07:08:11 +01:00
Maxim Kartashev
5eb46a99bd JBR-4485 Windows: EXCEPTION_ACCESS_VIOLATION at sun.nio.fs.WindowsDirectoryStream$WindowsDirectoryIterator.readNextEntry
As a precaution, range-check the offset returned by WinAPI before
using it to read raw memory with Unsafe.
2023-02-14 07:08:10 +01:00
Vitaly Provodin
7a983d897d JBR-4570 improve synchronization and increase waiting time 2023-02-14 07:08:10 +01:00
Maxim Kartashev
39a2607fe6 JBR-3323 Exclude parts of VM code from sanitizer checks
Exclude VM error-reporting code that treats memory as a raw sequence of
bytes from address sanitizer checks. This is needed to only get true
reports when running tests against the --enable-asan build.
2023-02-14 07:08:10 +01:00
Dmitry Batrak
098add36c1 JBR-4552 Windows revert back after initial move/resize in Cygwin/X
(cherry picked from commit 6dc194e089)
2023-02-14 07:08:10 +01:00
Manuel Unterhofer
3c2a822eac FL-11598 Fix accidental reset of window configuration for custom decoration on macOS
This also aligns the handling of the style mask with how the other settings are applied: It uses a client property now. This property is now also applied directly on peer initialization so that there is no need to re-apply, and the window directly appears in the correct configuration.
2023-02-14 07:08:10 +01:00
Nikita Provotorov
13aefa8a4e JBR-4394, IDEA-246833: refactoring and blocking the fix of JBR-1573 to recreate IMs and ICs during preediting.
(cherry picked from commits 7a36587db8d3d5a63c5691243cd5bf56733c06e6, 321a4a3f83)
2023-02-14 07:08:10 +01:00
Nikita Provotorov
a7347a95d5 JBR-4394, IDEA-246833: fixup of JBR-2444.
(cherry picked from commit ef262dc8bb)
2023-02-14 07:08:10 +01:00
Dmitry Batrak
8ba61f32ee JBR-4537 Popup windows shown for a background window cause app icon to blink in taskbar on KDE 2023-02-14 07:08:10 +01:00
Dmitry Batrak
5541725e72 JBR-4535 Popup windows disappear on mouse hover when 'Focus strictly under mouse' policy is used in KDE 2023-02-14 07:08:10 +01:00
Alexey Ushakov
4655a237d7 JBR-3828 restore details for Java exceptions in crash dumps handled by ObjC
Added exception.toString() to jbr_err_* log

(cherry picked from commit 478bd6cdd7)

Added java stack of the exception to jbr_err_* log

(cherry picked from commit e97f728e93)

Also return the static string "OutOfMemoryError" in case of that
exception has been thrown in order to avoid crashing while reporting an
exception in an out-of-memory situation.
2023-02-14 07:08:10 +01:00
Maxim Kartashev
157c925030 JBR-1430 (8195129) Windows: use UTF16 version of Win32 API to load DLL
Also correct library name encoding in exception messages.
2023-02-14 07:08:10 +01:00
Vitaly Provodin
cefb810b73 exclude jb/java/awt/Window/ZOrderOnModalDialogActivation.java from S2 runs on Windows and Linux 2023-02-14 07:08:10 +01:00
Vitaly Provodin
4589dc44db exclude javax/swing/plaf/nimbus/TestNimbusOverride.java on windows due to 8253184 2023-02-14 07:08:10 +01:00
Vitaly Provodin
72785efcdc exclude java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java on linux-aarch64 only due to 8266283 2023-02-14 07:08:10 +01:00
Artem Bochkarev
1d40158c8a JBR-4473: fixed native part of SystemHotkeyReader 2023-02-14 07:08:10 +01:00
Dmitry Batrak
e858203a4f JBR-1740 Menu remains open when application loses focus
(cherry picked from commit f987d22cd2)
2023-02-14 07:08:09 +01:00
Vitaly Provodin
6369f2d7f6 exclude Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java from S2 runs due to 8286840 2023-02-14 07:08:09 +01:00
Vitaly Provodin
0ddff1234a exclude java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java due to 8282232 2023-02-14 07:08:09 +01:00
Maxim Kartashev
8745a4ae2b JBR-4471 Linux: popup appears on wrong screen after desktop scale change
When screen scale changes, the cached screen bounds must be explicitly
updated. Call resetBoundsCache() whenever X11GraphicsDevice.scale has
changed.
2023-02-14 07:08:09 +01:00
Manuel Unterhofer
f3fcd807dd Merge fullscreen handlers for transparent title bar into existing ones 2023-02-14 07:08:09 +01:00
Manuel Unterhofer
77d4db6ffc FL-11420 Fix view hierarchy restoration for full-screen mode on macOS 2023-02-14 07:08:09 +01:00
Nikita Gubarkov
c8fa7aa298 JBR-4364 Port macOS native file dialog patches
IDEA-146669 Enable Mac native file dialogs
IDEA-159507 Mac native dialogs: multiple open dialogs are possible
JBR-1784 File dialogs aren't themed on macOS
JBR-1752 Floating windows overlap modal dialogs
JBR-2005: don't set appearance of file chooser if OSX version < 10.14
JBR-4546 Focus is not returned back to IDE after closing "Open" dialog
2023-02-14 07:08:09 +01:00
Dmitry Batrak
ca67337212 JBR-4463 Activating app-modal dialog brings all app windows to front
(cherry picked from commit 2b05925276)

includes fix for JBR-4642 regression: "focus follows mouse" broken for modals, I need to click into them

(cherry picked from commits c55bf03680, ec748f84fb)

includes fix for JBR-4957 regression: "Modal dialog is hidden by sibling popup on Linux"

(cherry picked from commit ea8da3cbe5)

includes fix for JBR-4968: jb/java/awt/Window/ModalDialogAndPopup.java intermittently fails by TimeoutException

(cherry picked from commit 2e9ab0cb06)
2023-02-14 07:08:09 +01:00
Maxim Kartashev
7250987848 JBR-4464 Error building latest jbr-dev after JDK-8285730 2023-02-14 07:08:09 +01:00
Maxim Kartashev
a51aa0f266 JBR-4118 NIO methods fail on Google Drive's virtual volume
If NtQueryDirectoryFile() failed with STATUS_INVALID_PARAMETER,
try again asking for less information with the FileDirectoryInformation
option as "information class". This option works on a mounted
Google Drive, but it doesn't provide file ids, which speed
up file listing. So it is used only as a fall-back solution.

(cherry picked from commit 82693aa985)
2023-02-14 07:08:09 +01:00
Maxim Kartashev
2eea7928b2 JBR-3680 Cherry-pick Google's NIO patches to get faster file listing
Fix regression introduced by Google's NIO patches:
- do not attempt to get the next entry after the directory stream has
been closed already,
- fix FaultyFileSystem that is used in StreamTest.java to throw
the right exception even when getFileAttributeView() is used instead of
readAttributes(),
- removed unnecessary type cast that caused a compilation warning.

Added a test for walking a directory with a non-latin name.

(cherry picked from commit 152a4e886d)
2023-02-14 07:08:09 +01:00
Renaud Paquay
ff867e6e11 JBR-3680 Improve performance of WindowsDirectoryStream
Use `NtQueryDirectoryInformation` instead of `FindFirst/FindNext` to
retrieve the list of entries of a directory.

`NtQueryDirectionInformation` has 2 main benefits over
`FindFist`/`FindNext`:

* Performance is about 40% faster

* Each retrieved entry retrieved contains a 64-bit `FileId` in addition
  to the usual attributes, ensuring that returned `java.nio.Path`
  instances hold onto a `BasicFileAttributes` instance that exposes a
  non-null `java.nio.file.attribute.BasicFileAttributes.fileKey()`.

This change also requires creating a new WindowsFileKey class, similar
to UnixFileKey class, so that
`java.nio.file.attribute.BasicFileAttributes.fileKey()` can return an
Object instance that can be used to compare files for equality.

With this change, the Windows implementation of Files.walkFileTree is
about 40% faster when the FOLLOW_LINKS option is not used, and about
2.5x faster when the FOLLOW_LINKS option is used.

When the FOLLOW_LINKS option is used, most calls to
`Files.isSameFile`, which is expensive as it requires 2 file I/O
operations, are avoided because the Path entries returned by the
new WindowsDirectoryStream implementation now contain a non-null
BasicFileAttributes.fileKey(). The remaining calls to
`Files.isSameFile` are performed when Files.walkFileTree need
to compare the initial directory with other entries.

Change-Id: Id79d89d477a6d5dcf151c63a9d6072c6f7ef43b2

(AKA JBR-3680 Cherry-pick Google's NIO patches to get faster file listing)

(cherry picked from commit 7c2d7541ba)
2023-02-14 07:08:09 +01:00
Maxim Kartashev
952dd446d8 JBR-3498 Windows: exception when trying to delete a directory with a trailing space
Allow Windows Path to have a trailing space despite Windows naming conventions
discouraging it. Many programs - including Explorer - successfully work
with such files or directories.
2023-02-14 07:08:09 +01:00
Dmitry Batrak
16d2d264f9 JBR-1518 JBR 11 does not support chain of popups on Linux
(cherry picked from commit 849356ee01)
2023-02-14 07:08:09 +01:00
Dmitry Batrak
9abf4ef397 JBR-4306 Robot doesn't work as expected in some cases on macOS
(cherry picked from commits 7d69734465, 0f33031484, 3b5ded0d02)
2023-02-14 07:08:09 +01:00
Ryan Osial
5a4335cb43 Cache results of font-config pattern search for reuse
(cherry picked from commit 432f637904)
(cherry picked from commit 17bc232f6f)
2023-02-14 07:08:08 +01:00
Maxim Kartashev
d076cbf283 JBR-3948 Linux: SIGSEGV at [libawt_xawt] Java_sun_awt_X11_XInputMethod_createXICNative
The crashes begin with the call to getDefaultConfig() in
createStatusWindow() returning garbage. With 8280468 fixed, there aren't
many reasons left for it to do so; it must be that the argument to the
call (the screen number) is out of range.

This change eliminates the possibilities to get an absolutely incorrect
screen number by checking the return values of several Xlib functions,
which, when fail, will leave their outgoing arguments uninitialized.
This, in turn, can lead to reading some random memory resulting in
equally random screen number that is later being fed to
getDefaultConfig().

Although on modern systems with Xinerama there should really be no
screen other than zero, as the last resort, this number is also
range-checked in getDefaultConfig() itself.
2023-02-14 07:08:08 +01:00
Anton Tarasov
181812cb85 JBR-4389 [update_1] IDEA UI font becomes too large after disconnecting the external monitor / sleep 2023-02-14 07:08:08 +01:00
Anton Tarasov
702d8b46d2 JBR-4389 IDEA UI font becomes too large after disconnecting the external monitor / sleep 2023-02-14 07:08:08 +01:00
Dmitry Batrak
69c063626f remove duplicate bundled JetBrains Mono bold italic font
following JBR-4402

(cherry picked from commit b7e5d3cfcf)
2023-02-14 07:08:08 +01:00
Dmitry Batrak
8e50000e6e JBR-4402 The wrong text is rendered in editor 2023-02-14 07:08:08 +01:00
Vitaly Provodin
d5474f8c6e JBR-4297 add a regression test
(cherry picked from commit 8e94fff6aa)
2023-02-14 07:08:08 +01:00
Konstantin Bulenkov
7ce116c659 Update JetBrains Mono font to 2.225 2023-02-14 07:08:08 +01:00
Alexey Ushakov
e3734a942d JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Resolved merge artifact after applying IDEA-57233 fix
2023-02-14 07:08:08 +01:00
Alexey Ushakov
9b77e8b599 JBR-3843 IDE text is misaligned vertically when using Consolas font
Use usWinAscent/usWinDescent for metrics on Windows
2023-02-14 07:08:08 +01:00
Alexey Ushakov
33d3093bf7 JBR-1110 [JDK11] java/awt/font/Outline/OutlineInvarianceTest.java: Failed for font java.awt.Font[family=Dialog,name=MS Gothic,style=bold,size=30]
Replaced FT_LOAD_NO_HINTING mode for non AA rendering with FT_LOAD_TARGET_LIGHT

(cherry picked from commit 3368768244)
2023-02-14 07:08:08 +01:00
Alexey Ushakov
e478d7d634 JBR-2000 RM 2019.3.1 font rendering regression, normal text is heavier
Added -Djava2d.font.loadFontConfig=bundled to force loading bundled font.conf

(cherry picked from commit 788e078f64)
2023-02-14 07:08:08 +01:00
Dmitry Batrak
c3932e5ac0 JBR-4346 [Xfce] Windows are moved unexpectedly between workspaces when modal dialog is shown
(cherry picked from commits ad299f1e74, 800220af16)
2023-02-14 07:08:08 +01:00
Alexey Ushakov
8589deef2c JBR-3827 SIGILL at [libsystem_kernel] __kill in Java Exception at -[CDragSource convertData:]
Added check for drag source
2023-02-14 07:08:08 +01:00
Alexey Ushakov
9b4323ce50 JBR-3366 SIGILL at [libsystem_kernel] __kill in NSWindowStyleMaskFullScreen cleared on a window outside of a full screen transition
Wrapped the native exception and added logging

JBR-4882 Unable to exit fullscreen mode after Presentation mode was entered (and exited) on macOS

(cherry picked from commit d57e8b631b)
2023-02-14 07:08:08 +01:00
Alexey Ushakov
6e70ad4ea5 JBR-3365 SIGILL at [libsystem_kernel] __kill in java.lang.RuntimeException: Failed to convert, no screen / primaryScreen
Wrapped the native exception and added logging
2023-02-14 07:08:07 +01:00
Dmitry Batrak
c0f124f2a6 JBR-3751 Window content isn't rendered with some window managers on Linux
(cherry picked from commit 8d22e4dcb0)

includes fix for JBR-5046 Incorrect initial window's location in Xfce

(cherry picked from commits 234e705134, 02bc54f864)
2023-02-14 07:08:07 +01:00
Vitaly Provodin
abd3c30969 JBR-4294 split desktop tests to more groups for Commit testing 2023-02-14 07:08:07 +01:00
Dmitry Batrak
92b743749c JBR-4281 Window losing focus isn't detected in some cases on macOS
(cherry picked from commit 363650bbf4)

with JBR-4638 Regression: Unable to enter emoji in editor via Emoji & Symbols on macOS

(cherry picked from commit 8b9a00915d)

with JBR-4652 With multiple projects open non-fullscreen, right-click on Dock icon to select the project from the context menu doesn't switch to that project

(cherry picked from commit e34677587d)

with JBR-5134 Input methods can't be dynamically disabled on a focused JComponent

(cherry picked from commit 0a3f4b206d)
2023-02-14 07:08:07 +01:00
greg
e9d57062eb macOS: add methods to setup transparent titlebar with custom height (#100)
* macOS: add methods to setup transparent titlebar with custom height

* make windowTransparentTitleBarHeight CPlatfromWindow property

* add windowTransparentTitleBarHeight test

* Prevent mouseUp events on the transparent header on macOS when the window is being dragged

Co-authored-by: Manuel Unterhofer <manuel.unterhofer@jetbrains.com>

Custom macOS window decorations via JBR API

JBR-4460 Fix window drag with custom decorations on macOS

JBR-4553 Add logging to setUpTransparentTitleBar and resetTitleBar
2023-02-14 07:08:07 +01:00
Denis Fokin
9fce14cd4e JBR-4038 [JBR17] Force Touch events are not supported on macOS
Added missing files and handlers from JBR11
2023-02-14 07:08:07 +01:00
Alexey Ushakov
37770a7d43 JBR-3901 jbr-dev compile problem
Added transient keyword
2023-02-14 07:08:07 +01:00
Alexander Lobas
6c81b19cc9 JBR-2893 Big Sur: Add support of opening project as tabs IDEA-257932 Big Sur: IDEA hangs after closing a project tab after exiting and entering full screen
Converted JNF to JNIUtilites

(cherry picked from commit f02e31a440)
(cherry-picked from commit a84736ebcc)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
5c3387c78c JBR-3676 WINDOW_ACTIVATED/DEACTIVATED events sent to a frame when child window closes on macOS
(cherry-picked from commit 824f9ebec3)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
24b43c92d9 JBR-3611, JBR-3633, JBR-3666, JBR-3663, JBR-3671, JBR-3673, JBR-4181, JBR-4186, JBR-4893 Interoperability with macOS desktop spaces
(cherry-picked from commits 43fdd6cd26, 75335543f2, a156c6b9bf, 9fdc75969b, 1dcc612a81, 93588d0738, 94a3885bbe, c040e05703, 67b6cd871f, 9040fd56cd, 6349b86b7f)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
402f8cae06 refactor nativeCreateNSWindow call wrapping
as part of JBR-3017

(cherry picked from commit eeef67a335)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
751b86bf40 remove excessive wrapping with AccessController (AWTThreading does it internally now)
as part of JBR-3017

(cherry picked from commit f1dd523ba8)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
8cfefb2e56 JBR-2971 Log more information about window creation and property changes
(cherry picked from commit 9d86b4d235)
2023-02-14 07:08:07 +01:00
Dmitry Batrak
9c5e8f6fa9 JBR-2533 Popup is not focused on click when switching from another application on macOS
(cherry picked from commits d9ff151211, 67b174dc8c, 72b0add80c, 21af1eba85, 2f1d317d87, 6dd334f9f0, cd863bac0d, 010f6fc951, 25e087d269, parts of 7d5ac56b6c, cd6dd5c3cf, e8bbd8ffdd)

with fix for JBR-3640 (java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java: window Open button lost focus when it should not) and JBR-3979 (Focus is not transferred to parent window)
2023-02-14 07:08:07 +01:00
Nikita Provotorov
002a9d2014 JBR-4271: JBR17 and dev built without --with-vendor-name parameter have invalid value of the java.vm.vendor property.
Changes the default JBR's vendor from "Oracle Corporation" to "JetBrains s.r.o.".

(cherry picked from commit 0cb7b4565c)
2023-02-14 07:08:07 +01:00
Nikita Gubarkov
2cd49e2f27 JBR API v0.0.3
JBR-4228 report HTMINBUTTON, HTMAXBUTTON, HTCLOSE, HTMENU, HTCAPTION targets via JBR API & handle corresponding non-client mouse events for windows with custom decoration
2023-02-14 07:08:06 +01:00
Alexey Ushakov
7b35178518 JBR-4224 java/awt/image/VolatileImage/GradientPaints.java: Number of mismatches (300000) exceeds limit (54000) with tolerance=5
Updated reg test to handle contentLost event
2023-02-14 07:08:06 +01:00
Vitaly Provodin
55e34222f0 exclude javax/swing/border/TestTitledBorderLeak.java on windows due to 8213531 2023-02-14 07:08:06 +01:00
Ivan Lopatin
3dbdbc9859 Scale2: exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8279190 on macosx-all 2023-02-14 07:08:06 +01:00
Nikita Provotorov
f19398ccab JBR-3299: The test /jb/sun/awt/macos/NationalLayoutTest/Layout_ABC.java fails on MacOS.
Fixes the Layout_*.java tests by giving them to know the <Ctrl + key> combinations can generate KEY_TYPED event.

(cherry picked from commit eae5198b20)
2023-02-14 07:08:06 +01:00
Vitaly Provodin
e402d9f5bf exclude java/awt/Frame/FrameSetSizeStressTest/FrameSetSizeStressTest.java on Wayland
sun/security/pkcs11/Signature/TestDSAKeyLength.java                                 8279941 linux-all
2023-02-14 07:08:06 +01:00
Alexey Ushakov
329c442ed1 JBR-4112 macOS: SIGILL at [libsystem_kernel] __kill in OOME: Java heap space at java.awt.image.DataBufferInt.<init>
Reg test update: replace management api with jfr
2023-02-14 07:08:06 +01:00
Nikita Provotorov
d803f02162 JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
This commit reverts the fix of JDK-8041928 and disables its regression tests.

(cherry picked from commit ba5209ec06)
2023-02-14 07:08:06 +01:00
Nikita Provotorov
bbd68b2b84 JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
Renames the test AltGrMustGenerateAltGrModifierTest3838.java to AltGrMustGenerateAltGrModifierTest4207.java.

(cherry picked from commit ed60a9c2bd)
2023-02-14 07:08:06 +01:00
Maxim Kartashev
cc6c8b595b JBR-4173 Tier1 test failures in jdk/javadoc/doclet/testModules
Introduction of JBR API changed the order of modules appearing in Java
Doc. This commit updates the corresponding tests to match the current
output with JBR API.

(cherry picked from commit 609406c21b)
2023-02-14 07:08:06 +01:00
Nikita Gubarkov
a0dd769d56 JBR-2567 Fix max file path buffer size for fontpath.c 2023-02-14 07:08:06 +01:00
Vitaly Provodin
d1466efbf6 exclude sun/security/pkcs11/Signature/TestDSAKeyLength.java on Ubuntu 21.04 due to 8279941 2023-02-14 07:08:06 +01:00
Anton Tarasov
7331633884 JBR-4204 provide an option to disable a11y support on macOS
(cherry picked from commit ee3c56abdc)
2023-02-14 07:08:06 +01:00
Vitaly Provodin
f9d56bdc8c exclude two swing tests on Windows due to JBR-4197 2023-02-14 07:08:06 +01:00
Alexey Ushakov
7b824ee581 JBR-4112 macOS: SIGILL at [libsystem_kernel] __kill in OOME: Java heap space at java.awt.image.DataBufferInt.<init>
Removed double allocation of surface data
2023-02-14 07:08:06 +01:00
Alexey Ushakov
382dd4f516 JBR-4187 java/awt/GraphicsDevice/DisplayModes/UnknownRefrshRateTest.java.UnknownRefrshRateTest fails on mac
Constrained display modes count used by the test
2023-02-14 07:08:06 +01:00
Alexey Ushakov
255abd12fe JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext
2023-02-14 07:08:05 +01:00
Alexey Ushakov
57d69ce841 JBR-4174 java/awt/FullScreen/FullScreenInsets/FullScreenInsets.java fails on mac aarch64
Hide cursor to fix OGL&Metal Robot issue (it reads cursor image). Added tolerance to fix Metal Robot inaccuracy.
2023-02-14 07:08:05 +01:00
Artem Semenov
d365607439 JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu 2023-02-14 07:08:05 +01:00
Alexey Ushakov
7d9e9c7fff JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT
2023-02-14 07:08:05 +01:00
Vitaly Provodin
ac9dfd3e8c JBR-4169 add jdk.javadoc into JBR 2023-02-14 07:08:05 +01:00
Alexey Ushakov
47202187cb JBR-4150 IDE regularly locks up at sun.lwawt.macosx.LWCToolkit.getScreenInsets
Restored caching screen insets. Added handling of dock resize.
2023-02-14 07:08:05 +01:00
Vitaly Provodin
f98fdd12ff exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256 2023-02-14 07:08:05 +01:00
Vitaly Provodin
4c130dd06d exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190 2023-02-14 07:08:05 +01:00
Vitaly Provodin
6553ce9056 exclude java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 827361 2023-02-14 07:08:05 +01:00
Vitaly Provodin
e1c98528f5 add exclude list for Wayland failures 2023-02-14 07:08:05 +01:00
Vitaly Provodin
7fb4631838 exclude javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation /JComboBoxPopupLocation.java on macOS due to 8194945 2023-02-14 07:08:05 +01:00
Vitaly Provodin
e3f3d7f2f6 exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029 2023-02-14 07:08:05 +01:00
Maxim Kartashev
8f79fe93b0 JBR-3948 Linux: SIGSEGV at [libawt_xawt] Java_sun_awt_X11_XInputMethod_createXICNative
The problem: the crashes occur in createStatusWindow() when calls like
adata->AwtColorMatch() end up going to 0x0 pc or some random inaccessible
memory. The only reason for that seems to be the
getDefaultConfig(screen) returning either NULL or garbage. That, in turn, probably
happens because of the wrong screen number provided. Before JBR-3623 was
fixed, awt_numScreens could've changed between the time the screen
number was chosen and the getDefaultConfig() call. After JBR-3623 was
fixed, this change is protected with the AWT lock, which this code
holds.
The fix: obtain the screen number via the Xlib API rather than the
ad-hoc loop though the root windows and return NULL if
getDefaultConfig() doesn't return useable data.

(cherry picked from commit 3d23e8d6a5)
2023-02-14 07:08:05 +01:00
Vitaly Provodin
3d00e1d65a add exclude list for Scale2 test runs 2023-02-14 07:08:05 +01:00
Vitaly Provodin
1882c46170 exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231 2023-02-14 07:08:05 +01:00
Alexey Ushakov
1fe379232c JBR-3773 M1 java/awt/Window/WindowAppearanceTest/WindowAppearanceTest.java: : Incorrect color java.awt.Color[r=75,g=74,b=72]at (140,5)
Added more variants of colors for unfocused and focused titles
2023-02-14 07:08:04 +01:00
Artem Semenov
4bf42b9601 JBR-3775 Optimize the algorithm for obtaining tree elements 2023-02-14 07:08:04 +01:00
Nikita Gubarkov
04bdad2e01 JBR API v0.0.2
Added file dialog customization via JBR API & fixed bugs in windows common item dialog
2023-02-14 07:08:04 +01:00
Vitaly Provodin
2489208171 JBR-3931 add the module jdk.unsupported.desktop into jbr
(cherry picked from commit 32def2fd42)
2023-02-14 07:08:04 +01:00
Alexey Ushakov
cfe791bef4 JBR-4111 [JBR17] Make possible to select files and directories independently
Implemented apple.awt.fileDialogForFiles property
2023-02-14 07:08:04 +01:00
Vitaly Provodin
0c569f6046 enable fixed tests to regular runs 2023-02-14 07:08:04 +01:00
Vitaly Provodin
5f6372b7eb exclude javax/swing tests on mac-aarch64 due to 8277816 2023-02-14 07:08:04 +01:00
Aleksandr Veselov
587c479b6c JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen 2023-02-14 07:08:04 +01:00
Alexey Ushakov
68e9183424 JBR-4060 [JBR17+Metal] Flickering on button's shadow
Removed unnecessary global flag. Optimized mask cache texture clearing code.
2023-02-14 07:08:04 +01:00
Alexey Ushakov
30035ef882 JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader
2023-02-14 07:08:04 +01:00
Alexey Ushakov
bf4141838e JBR-3872 [JBR17+Metal] Wrong color for scrollbars and inlay hints
Corrected typo in setTxtUniforms and fixed alpha blending in frag_gmc_text shader
2023-02-14 07:08:04 +01:00
Alexey Ushakov
f52fbd7425 JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Implemented gamma correction using the same approach that we did for OGL grayscale text rendering (OGLTextRenderer.c)
Optimized shader performance
2023-02-14 07:08:04 +01:00
Alexey Ushakov
61c7792a77 JBR-4104 jbr-dev compilation failure
Corrected suppress warnings
2023-02-14 07:08:04 +01:00
Dmitry Batrak
59693d9b43 JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters
(cherry picked from commit 4fde082d53)
2023-02-14 07:08:04 +01:00
Maxim Kartashev
28cf1e5ea2 JBR-3899 SIGSEGV at [libjvm] _ZN23JfrNetworkInterfaceName11on_rotationEv
Prevent JfrNetworkInterfaceName::on_rotation() to dereference a
potentially NULL pointer.

(cherry picked from commit b2a9372d70)
2023-02-14 07:08:04 +01:00
Dmitry Batrak
51a53b12cd JBR-4021 Unexpected focus event order on window showing
(cherry picked from commit 2a398ebb24)

includes fix for JBR-4131 Popup doesn't get focus if created from context menu

(cherry picked from commit 685562aafc)
2023-02-14 07:08:04 +01:00
Maxim Kartashev
a61c0693fa JBR-4020 Test ObsoleteFlagErrorMessage fails after +IgnoreUnrecognizedVMOptions has become the default
(cherry picked from commit ae5963a094)
2023-02-14 07:08:03 +01:00
Maxim Kartashev
012529b681 JBR-3923 Internal Error in c1_Instruction.cpp
Make C1 hotspot compiler bail out during CFG construction if there's a
cycle in the graph that isn't a natural loop and that has led to an
unexpected state of stack/locals like missing a phi function.

This is a temporary measure that lets hotspot continue working
even after encountering such bytecode patterns. The full solution
will probably involve more sophisticated CFG checks.

(cherry picked from commit aa0b61cb75)
2023-02-14 07:08:03 +01:00
Vitaly Provodin
2bd4bbf738 exclude tests spontaneously creating windows during test execution 2023-02-14 07:08:03 +01:00
Maxim Kartashev
40ce2beab2 JBR-2755 IDE UI became slow via remote X Server connection from Windows
When XGetImage() calls become slow in a remote X11 session, fake
XGetImage() with client-side XCreateImage() that is filled with some
background color. The color is chosen from several top left corner
pixels of the "slow" images obtained with XGetImage().

This feature activates in a remote X11 session only and is
controlled with -Dremote.x11.workaround={true|false|auto}.
2023-02-14 07:08:03 +01:00
Alexey Ushakov
52f56fc14b JBR-3924 CMD+Tilda does not switch app windows
Introduced vm property to disable capturing of next app window shortcut
2023-02-14 07:08:03 +01:00
Nikita Gubarkov
16032b1aa7 JBR-2917 Added emoji support for Windows
JBR-3951 Pass real glyph type from native code instead of guessing it by rowBytes & width
2023-02-14 07:08:03 +01:00
Pavel
cf2318c99e JBR-3926 make AwtComponent transparent for hit events by default
* JBR-3926 make AwtComponent transparent for hit events by default

* [WIP] pass hittest event to frame only if custom decoration is enabled and frame ready to handle it
(cherry picked from commit c0e26ff5d5)
2023-02-14 07:08:03 +01:00
Maxim Kartashev
4ff6434286 JBR-3896 Abysmally slow input and UI performance since upgrade to IU-213.4928.7 from previous 2021.3 EAP version
The slowness was the result of XWM.getInsetsFromExtents() repeated
attempts to acquire frame extents from a property that under Sway is
simply unavailable. Each attempt added at least 20ms to every re-draw.

Prior to (repeatedly) checking for NET_FRAME_EXTENTS property of a
window, check that the property is supported by the window manager.

(cherry picked from commit b40cc1c791)
2023-02-14 07:08:03 +01:00
Maxim Kartashev
603509c6c4 JBR-3916 Deadlock in pGetBounds() on Linux
The deadlock occurred because one thread was holding the AWT lock and
waiting for boundsCacheLock in resetBoundsCache() and the other vice
versa stuck in pGetBounds() owning boundsCacheLock and waiting for the
AWT lock.

The solution is to get rid of boundsCacheLock altogether. It was
introduced in order to never return null from getBoundsCached() so that
resetBoundsCache() wouldn't interfere. But the same effect can be
achieved by simply using a local variable to hold a copy of the current
bounds. The worst case scenario now is that two threads update
boundsCached immediately one after another (if they both have observed
the null value there at about the same time), but that's harmless as
pGetBounds() grabs the AWT lock when necessary.

(cherry picked from commit dc6ad31524)
2023-02-14 07:08:03 +01:00
Dmitry Batrak
8696332e6b log LWCToolkit invokeAndWait requests
as part of JBR-3017, to make investigation of similar issues simpler in the future

(cherry-picked from commit a7fd723e43)
2023-02-14 07:08:03 +01:00
Alexey Ushakov
3dab3a5563 JRE-202 Deadlock in CGLGraphicsConfig.getCGLConfigInfo
Added processing system events while waiting for OGLRenderQueue.lock
Moved getCGLConfigInfo logic execution to AppKit thread so, awt lock is
 taken on one thread

(cherry picked from commit d1c8bf03e1bd41cb075aa73cc39558103af7fe1a)
(cherry picked from commit 6bf9f31986be64acf3755b34568802f9960a66ec)
(cherry picked from commit 4e21d67e0369bffac45662c63699b39946218a7a)
2023-02-14 07:08:03 +01:00
Alexey Ushakov
be0abc9fda JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit

(cherry picked from commit 28774d6878)
2023-02-14 07:08:03 +01:00
Alexander Lobas
e7453ea3f8 JBR-3660 PhpStorm 2021.2 crashes on selecting iCloud Drive directory in Open dialog
(cherry picked from commit f5434bcaaf)
2023-02-14 07:08:03 +01:00
Alexander Lobas
87de8a28db JBR-3629 SIGILL at [libsystem_kernel] __kill NPE at com.intellij.openapi.options.SchemeImportUtil$1.isFileSelectable / -[CFileDialog askFilenameFilter:]
(cherry picked from commit 86c13ecaed)
2023-02-14 07:08:03 +01:00
Alexander Lobas
2871806442 JBR-3443 Native file dialog on OSX enable filename filter by VM option
(cherry-picked from commit f10e324538)
2023-02-14 07:08:03 +01:00
Alexander Lobas
720da6289c JBR-3442 Native file dialog on OSX (for open file) doesn't allow pasting path
(cherry-picked from commit 7d8cc524ca)
2023-02-14 07:08:02 +01:00
Maxim Kartashev
331fc8f9a8 Revert "JBR-2755 IDE UI became slow via remote X Server connection from Windows"
This reverts commit cd9138844da770ae60806fd7dbc1e85c773882a8.
2023-02-14 07:08:02 +01:00
Konstantin Aleev
694b80c461 fix memory leaks in AccessibleJTree
(cherry picked from commit 561a7b8def)
2023-02-14 07:08:02 +01:00
Maxim Kartashev
2f13716160 JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, make 3
attempts at getting the insets with a small but increasing pause
in between them.
2023-02-14 07:08:02 +01:00
Maxim Kartashev
e3edd61b35 Revert "JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled"
This reverts commit 8e7aed70976ec0f90c736d86b9cd3e9cf09ff6d4.
2023-02-14 07:08:02 +01:00
Nikita Provotorov
f7a30dab87 JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Add regression test.

(cherry picked from commit 8df43eef4b)
2023-02-14 07:08:02 +01:00
Maxim Kartashev
cc5e08665a JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, add an
artificial delay if getInsets() is called too soon.
2023-02-14 07:08:02 +01:00
Alexey Ushakov
3abbc25d13 JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Added regression test to compare OGL and Metal text rendering
2023-02-14 07:08:02 +01:00
Artem Bochkarev
f210934679 JBR-1762: request focus of immediate parent when dispose popup
because requesting focus for frame-parent causes to close whole popup chain

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

(cherry picked from commit 0efbe5d9b9)
2023-02-14 07:08:02 +01:00
Dmitry Batrak
af60b8e4ce JBR-2759 Typeahead issue on Linux
(cherry picked from commits 76bdaf1131, b20c56ff3e, c9609330f2, a170b4e4ae)
2023-02-14 07:08:02 +01:00
Artem Bochkarev
10bffb49fd JBR-1762: request focus of immediate parent when dispose popup
because requesting focus for frame-parent causes to close whole popup chain

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

(cherry picked from commit 0efbe5d9b9)
2023-02-14 07:08:02 +01:00
Maxim Kartashev
bc957c83b7 JBR-3813 Regression after fix for JBR-3688
1. Cached bounds and insets must be cloned before return because they
aren't immutable objects.
2. Fixed the deadlock in resetBoundsCache() by synchronizing on a dedicated
lock.

(cherry picked from commit cd5314db8b)
2023-02-14 07:08:02 +01:00
Renaud Paquay
e8c37b471a Add BasicWithKeyFileAttributeView interface
This new interface is similar to `BasicFileAttributeView` except it
gives implementations a hint that the fileKey() should be acquired
even at some performance cost.

`FileTreeWalker` uses this new interface to request a file key
in addition to regular file attributes so that file equality can
be efficiently performed when checking for loops during file
tree traversal.

This makes `FileTreeWalker` about 2x faster when traversing non
trivial file system trees with the FOLLOW_LINKS option.

Change-Id: I8de047c8fc241dbab9ad57c5e361118a3a94893d

(AKA JBR-3680 Cherry-pick Google's NIO patches to get faster file listing)

(cherry picked from commit 6d1c3f06c4)
2023-02-14 07:08:02 +01:00
Ivan Migalev
de4ee8a18e JBR-3785: don't touch the active keyboard layout on input method activation / deactivation.
origin PR: github.com/JetBrains/JetBrainsRuntime/pull/78.

(cherry picked from commit 2f772fd1a2)
2023-02-14 07:08:02 +01:00
Dmitry Batrak
715fb037a4 JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE
(cherry picked from commit 0bf13985d5)
2023-02-14 07:08:02 +01:00
Maxim Kartashev
0aef341920 JBR-3688 PyCharm incredibly slow with fakexrandr
Cache screen bounds and insets and (conservatively) reset those caches
upon any possibility of a change.
This feature can be disabled with -Dx11.cache.screen.insets=false and
-Dx11.cache.screen.bounds=false.

Based on commit accef6f21e.
2023-02-14 07:08:01 +01:00
Maxim Kartashev
236ed4d152 JBR-3772 java/beans/PropertyEditor/TestFontClass.java: access denied ("java.util.PropertyPermission" "sun.awt.x11.trace" "read")
Instead of using System.getProperty() directly, wrap the call into
GetPropertyAction and use AccessController to execute it.
2023-02-14 07:08:01 +01:00
Dmitry Batrak
08d028e079 JBR-3504 a11y focus is set on the wrong element when opening popups
(cherry-picked from commit a69e12e0d2)
2023-02-14 07:08:01 +01:00
Maxim Kartashev
d735a612d3 JBR-3665 Typing is slow in remote X session
Only call XGetKeyboardMapping() once for all valid codes and cache the
resulting table. Use the cache on the subsequent calls to
keycodeToKeysym().
2023-02-14 07:08:01 +01:00
Maxim Kartashev
476f331bf5 JBR-2273 JBR musl port
Detect if we're running on a musl-based system by checking for the presence
of the libgcompat.so glibc compatibility library in the process' map.
If so, java is re-started with LD_LIBRARY_PATH set to point to the right
directory with libjvm.so. This works around the problem with the musl
dynamic library loader.

(based on commit 13a904ddb5)
2023-02-14 07:08:01 +01:00
Alexey Ushakov
bf33665705 Added support for otf into the build scripts. Updated prebuild maps.
Applied code from jbr-dev
2023-02-14 07:08:01 +01:00
Konstantin Bulenkov
6b600464d9 bundle Inter font 2023-02-14 07:08:01 +01:00
Maxim Kartashev
3911cc82b8 JBR-3664 Logging for communications with X server
Introduced logging controlled with -Dsun.awt.x11.trace.
Currently, only looks at the AWT lock and reports methods holding it
sorted by average hold time.

(based on commit 792a58ea0e)
(based on commit 770b4dc9c1)
2023-02-14 07:08:01 +01:00
Dmitry Batrak
1cd7066c7a JBR-3726 Modal windows 'disappear' on minimize in KDE
(cherry picked from commits d9baf2d9db, 9c2841028f, 5c4fd9ceaf, f0ed32fca4)
2023-02-14 07:08:01 +01:00
Maxim Kartashev
a8e9ae3001 JBR-3542 Fix -Xcheck:jni warnings
Fixes warnings coming from JBR-specific code in addition to those fixed
by 8269223.
2023-02-14 07:08:01 +01:00
Dmitry Batrak
0a2a54e32b JBR-3706 Toggling full screen mode for two frames doesn't work on macOS if invoked without delay
(cherry picked from commit 28cfc4815f)
2023-02-14 07:08:01 +01:00
Dmitry Batrak
b65b1f4462 JBR-3686 Background window steals focus when converted to full screen on macOS
(cherry-picked from commit 07a5b9672e)
2023-02-14 07:08:01 +01:00
Dmitry Batrak
ab3898117b JBR-3662, JBR-3672 Focus jumps to another project tab after closing modal dialog
(cherry picked from commit bfd01081c3, 2a71dc5981)
2023-02-14 07:08:01 +01:00
Nikita Gubarkov
d1e764b756 JBR-3648 Replace CacheCellInfo usages with MTLCacheCellInfo in metal rendering code 2023-02-14 07:08:01 +01:00
Dmitry Batrak
3b0cfd52bb JBR-3642 java/awt/Window/8159168/SetShapeTest.java fails on macOS-x64 & macOS-aarch64
make sure jb/java/awt/Focus/Typeahead* tests still pass

includes fixes for JBR-3786 javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on MacOS by timeout
(cherry picked from commit f5c5388fb5)

and JBR-4113 java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java fails by time out on macOS

(cherry picked from commit d8d4c55a61)
2023-02-14 07:08:00 +01:00
Anton Tarasov
bedb045e65 JBR-1834 [linux] runtime hidpi switch is broken
(cherry picked from commit eaa04303a7)
2023-02-14 07:08:00 +01:00
Anton Tarasov
a7e772c642 JBR-1429 Scale is huge due to GDK_SCALE
(cherry-picked from commit 1c3477df2e)
2023-02-14 07:08:00 +01:00
Anton Tarasov
a0761f2b92 JBR-1365 force IDE-managed HiDPI on Linux for fractional scales
(cherry picked from commit f092ff3962)
2023-02-14 07:08:00 +01:00
Anton Tarasov
d7b921fdd7 Allow HiDPI mode on Linux 2023-02-14 07:08:00 +01:00
Anton Tarasov
5e65503b43 JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly 2023-02-14 07:08:00 +01:00
Anton Tarasov
32556baa8c JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.
2023-02-14 07:08:00 +01:00
Vitaly.Provodin
ed846227df add 32-sizes for native data types
(cherry picked from commit 3a79870da8)
2023-02-14 07:08:00 +01:00
Nikita Gubarkov
a6680b7afe Added JBR-specific .idea project files 2023-02-14 07:08:00 +01:00
Alexey Ushakov
53622442f6 JBR-3344 "Exit Full Screen" action doesn't work, the only way is mouse click on window's native "green" button.
Restored JBR-1931 fix partially reverted by JBR-1718

(cherry picked from commit c0be778e20)
2023-02-14 07:08:00 +01:00
Anton Tarasov
cacb09924d JBR-3337 jb/java/jcef/HandleJSQueryTest3314.sh: fails on macOS-aarch64 with "JS Query was not handled in 2nd opened browser"
(cherry picked from commit 8678f41971)
2023-02-14 07:08:00 +01:00
Anton Tarasov
ee4af7e41d JBR-3545 Window.setMinimumSize does not respect DPI scaling
(cherry picked from commit 9b4f72ad18)
2023-02-14 07:08:00 +01:00
Denis Fokin
bbb01f565f JRE-408 JBR-3515 fix NullPointerException in MetalRootPaneUI.installWindowListeners
(cherry picked from commit 584d554af529cff445b0f09bc2d57be55e138b7a)
(cherry picked from commit 6a42bb54bd)
2023-02-14 07:08:00 +01:00
Elena Sayapina
dc86126023 JBR-2657 [TESTBUG] ChainOfPopupsFocusTest misbehaving on Windows
- changed open popup shortcut from Ctrl+N to Ctrl+M, so no new explorer windows appear if desktop gets focused by error
- added a click on the main test frame, so it gets focus when running from background cygwin process on Windows, otherwise it just flashes on the taskbar

(cherry picked from commit eda8e4d50e)
2023-02-14 07:08:00 +01:00
Maxim Kartashev
0d56a31d55 JBR-3572 Wayland: java/awt/Window/WindowTitleVisibleTest/WindowTitleVisibleTestLinuxGnome.java: title bar shown and hidden are the same.
Exclude the test when running under XWayland that doesn't implement
screen capture necessary for the test to function.
2023-02-14 07:08:00 +01:00
Denis Konoplev
17b1e9dfba EA-252361: Check window for null
(cherry picked from commit 23a7dbd486)
2023-02-14 07:08:00 +01:00
Artem Bochkarev
6457a6ca54 JBR-3131: support custom view for system menu items
(cherry picked from commit 78d509ac0f)
2023-02-14 07:07:59 +01:00
Artem Bochkarev
d99c4c0a15 JBR-3127: set NSWindowAllowsImplicitFullScreen=NO
fixed JBR-3127 Modal dialogs invoked from modal or floating dialogs are opened in full screen

(cherry picked from commit 0b8ff1a7e6)

JBR-3127: add possibility to load NSJavaVirtualMachine

JavaVM framework is deprecated but this class is still checked by AppKit, see https://youtrack.jetbrains.com/issue/JBR-3127#focus=Comments-27-4684465.0-0

(cherry picked from commit be6a2c4f0c)
2023-02-14 07:07:59 +01:00
Nikita Gubarkov
d8a5f092fc JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c 2023-02-14 07:07:59 +01:00
Dmitry Batrak
865495ffa5 JBR-3024 Popups are shown with 1x1 size sometimes
test case only

(cherry picked part of commit ee298f5287)
2023-02-14 07:07:59 +01:00
Vitaly Provodin
001a12e6c7 JBR-3314 add regression test
(cherry picked from commit c81adfed61)
2023-02-14 07:07:59 +01:00
Ivan Migalev
8227f6194f JBR-3227 Reload type of required native file dialogs each time a file dialog is requested
(cherry picked from commit 26dd87ab7c)
2023-02-14 07:07:59 +01:00
Ivan Migalev
4a811bd9ff JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled
(cherry picked from commit 442bb7eecc)
2023-02-14 07:07:59 +01:00
Alexey Ushakov
703b185681 JBR-2996 M1 warnings: CoreText note: Client requested name “.SFCompact-Black”, it will get Times-Roman rather than the intended font
Cached system fonts family names

(cherry picked from commit 56629e4c90)
2023-02-14 07:07:59 +01:00
Alexey Ushakov
87a34df746 JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Initiate move/resize event on first appearance of window having FULL_WINDOW_CONTENT property set

(cherry picked from commit a6ea081ba2)
2023-02-14 07:07:59 +01:00
Dmitry Batrak
e0f596a36c JBR-3017 Focus issue in presence of third-party accessibility tool
use the new invocation approach for 'makeKeyAndOrderFront' as well, as it can also cause synchronous back-calls to accessibility subsystem, and change the global call order unexpectedly

this commit fixes TypeaheadSetVisibleTest and TypeaheadToFrontTest, when they are run with AltTab active

Guard against possible deadlocks, if UI-related methods are invoked not on EDT.
Sample deadlock scenario:
* Application thread attempts to show the window, this involves calling CWrapper.NSWindow.makeKeyAndOrderFront under AWT tree lock, which blocks till 'makeKeyAndOrderFront' completes on AppKit thread
* AppKit thread, while executing 'makeKeyAndOrderFront' performs 'back-call' to CAccessibility.getFocusOwner, which waits for execution on EDT
* EDT performs some activity requiring AWT tree lock (e.g. processing of PaintEvent)

(cherry picked from commits e3aaff5db4, 09941119e1)
2023-02-14 07:07:59 +01:00
Dmitry Batrak
df13ca624b JBR-3072 Deadlock on nested dialog hiding
(cherry picked from commits 99242748ee, ad1595b5c2)
2023-02-14 07:07:59 +01:00
Dmitry Batrak
b6c9867edc fix occasional freezes of JBR-3017 reproducer after the fix
(cherry picked from commit 7e6db54f77)
2023-02-14 07:07:59 +01:00
Dmitry Batrak
ad1c20082a JBR-2819 Create API to determine typographic family/subfamily for available fonts
(cherry picked from commit 89e519a4ef)
2023-02-14 07:07:59 +01:00
Nikita Gubarkov
b5de064943 JBR-2924 Do not try to create native italic font when we're going to make it fake italic 2023-02-14 07:07:59 +01:00
Nikita Gubarkov
765a7cd8f1 JBR-3982 Fixed non-antialiased text rendering on macOS
JBR-3269 Disabled subpixel antialiasing for macOS Mojave and newer
2023-02-14 07:07:59 +01:00
Dmitry Batrak
75d5344b38 JBR-3017 Focus issue in presence of third-party accessibility tool
(cherry picked from commit 88ead5d9e3)
2023-02-14 07:07:58 +01:00
Vitaly Provodin
87f2941f12 JBR-1718 add a regression test
(cherry picked from commit 84ff4eab21)
2023-02-14 07:07:58 +01:00
Elena Sayapina
89216010e1 JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
2023-02-14 07:07:58 +01:00
Nikita Gubarkov
c0d3c8d46a Added JBR API 2023-02-14 07:07:58 +01:00
Artem Bochkarev
fd8d5079cb JBR-2562: fixed invokation of parent method
(cherry picked from commit 93cbab2f2d)

JBR-2562: suppress exceptions from [NSWindow _changeJustMain]

temporary workaround to prevent crashes

(cherry picked from commit dd055b5970)
2023-02-14 07:07:58 +01:00
Mikhail Grishchenko
f6383a5c48 JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
2023-02-14 07:07:58 +01:00
Alexey Ushakov
4e97077eb8 JBR-2879 Big Sur: Opening project in new window results in opening project in another tab
Disabled Tabbing mode for all NSWindows

(cherry picked from commit 8cb0377a31)
2023-02-14 07:07:58 +01:00
Nikita Gubarkov
8539451aad JBR-2910 Implemented extended glyph cache for macOS
JBR-3976 Fixed text spacing & emoji scaling on macOS

JBR-3638 Adjust subpixel glyph positions for correct rounding in CStrike#getGlyphImageBounds
2023-02-14 07:07:58 +01:00
Alexey Ushakov
32c43bcf21 JBR-2617 Text with opacity renders black
Implemented alpha blending in grayscale text rendering (UX-1320)
Corrected bright text thickness (smooth on), bright and dark text thickness (smooth off)
Added JVM properties for fine tuning

(cherry picked from commit c30306f779)
(cherry picked from commit c95adeb8f2)
(cherry picked from commit 269c9580fb)
(cherry picked from commit 55c7be5fe9)
(cherry picked from commit e28ff71e97)
2023-02-14 07:07:58 +01:00
Alexey Ushakov
b809b3d5c5 JBR-2521 Ugly font in all 2020.2 EAPs on macOS
Provide gamma correction for both light and dark text

(cherry picked from commit 5953202a7e)
2023-02-14 07:07:58 +01:00
Alexey Ushakov
130f39aaa0 JBR-2591 Repainting is broken (was: Icons in tree list widgets became dark)
Save current blend mode before cached grayscale rendering

(cherry picked from commit 7beb75ccec)
(cherry picked from commit ed52fde57d)
2023-02-14 07:07:58 +01:00
Alexey Ushakov
374b210d1a JBR-1986 Enabling fractional metrics causes visual artifacts in font rendering on macOS 10.14+
Disable subpixel positioning for macOS 10.13+ if legacy LCD rendering is disabled

(cherry picked from commit dbd24232e4)
2023-02-14 07:07:58 +01:00
Vitaly Provodin
11c43e3674 exclude bug7154030 on macosx-aarch64 due to 8268284 2023-02-14 07:07:58 +01:00
Vitaly Provodin
9058205475 exclude SharedMemoryPixmapsTest on macosx-all due to 8221451 2023-02-14 07:07:58 +01:00
Vyacheslav Moklev
87b31821a5 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov
2023-02-14 07:07:58 +01:00
Andrey Starovoyt
1f76ef495f JBR-2736 provide writeObjects implementation for copying files/folders from Project Explorer to the Finder
(cherry picked from commit 33db034d49)
(cherry picked from commit d3ec3d899d)
2023-02-14 07:07:58 +01:00
Sergey Malenkov
4034e228c1 EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
2023-02-14 07:07:57 +01:00
Kirill Kirichenko
6b228393cb JBR-2667 Post review: rename win.darkTheme.on to win.lightTheme.on and reversed the logic
(cherry picked from commit eeab5252e6)
2023-02-14 07:07:57 +01:00
Kirill Kirichenko
a5eb47c390 JBR-2667 Add new AWT desktop property for light/dark theme detection on Windows 10
(cherry picked from commit 0e4ad056dd)
2023-02-14 07:07:57 +01:00
Alexey Ushakov
ce6f7accb4 JBR-2593 Wide ligatures not rendered in Grayscale mode
Added missing flush of cached vertices

(cherry picked from commit ad409b4370)
2023-02-14 07:07:57 +01:00
Nikita Gubarkov
491c7f41a3 JBR-2910 Implemented extended glyph cache for Linux 2023-02-14 07:07:57 +01:00
Nikita Gubarkov
2a593a99fc JBR-2910 Implemented extended glyph cache for Windows 2023-02-14 07:07:57 +01:00
Nikita Gubarkov
9cbd7aebf8 JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3 2023-02-14 07:07:57 +01:00
Alexey Ushakov
d56cc65ac0 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2023-02-14 07:07:57 +01:00
Denis Konoplev
1ac9815c65 JBR-3544: Generate popup invoked instead of New in this directory.
- A fix
- A regression test (cherry picked from commit 7995574c09)
2023-02-14 07:07:57 +01:00
Vitaly Provodin
ae2d1012c3 JBR-2545 Clean up the list of ignored Render tests
(cherry picked from commit f7b4c42e1d)
2023-02-14 07:07:57 +01:00
Jayathirth D V
594a6a7204 8241490: Add large text performance tests in RenderPerfTest
(cherry picked from commit 803ee2f2b5)
2023-02-14 07:07:57 +01:00
Alexey Ushakov
cf3a318e99 8230657: Create fine grained render perf test for metal pipeline
Converted gradle JUnit test to plain java for ant and gnumake

To run the tests:
cd src/demo/share/java2d/RenderPerfTest

ant run
or
java -jar dist/RenderPerfTest.jar
or
java -jar dist/RenderPerfTest.jar testWhiteTextBubblesGray

(cherry picked from commit 356121b18f)
(cherry picked from commit 8bd8d2d132)
2023-02-14 07:07:57 +01:00
Konstantin Bulenkov
f5450688c7 Update FiraCode to 5.2
(cherry picked from commit 71e2a8d8ad)
2023-02-14 07:07:57 +01:00
Alexey Ushakov
63acf11359 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Reverting gamma correction because of rendering artifacts in the light theme

This reverts commit 5016db51

(cherry picked from commit c1d644a004)
2023-02-14 07:07:57 +01:00
Alexey Ushakov
dda57d70e5 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Added gamma correction to match grayscale rendering with subpixel one

(cherry picked from commit 5016db518a)
2023-02-14 07:07:57 +01:00
Alexey Ushakov
96206931a3 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2023-02-14 07:07:56 +01:00
Anton Tarasov
07b03f9431 revert: JBR-1434 "New file dialog" popup remains above all windows on switching application
java.awt.peer.WindowPeer.isLightweightDialog() method does not exist.

(cherry picked from commit 7d8aeaf7de)
2023-02-14 07:07:56 +01:00
Anton Tarasov
28fc816b58 JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
2023-02-14 07:07:56 +01:00
Anton Tarasov
37d910fe9a JBR-2866 JCEF: Markdown editor steals focus from a different frame 2023-02-14 07:07:56 +01:00
Anton Tarasov
b05bbfe230 JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
2023-02-14 07:07:56 +01:00
Anton Tarasov
7cb87d29b0 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
(cherry picked from commit 57bbddf071)
2023-02-14 07:07:56 +01:00
Anton Tarasov
b0b4175cd3 JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
2023-02-14 07:07:56 +01:00
Anton Tarasov
36e4664cfa JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 81d2156fb1)
2023-02-14 07:07:56 +01:00
Anton Tarasov
2c8340fdfc JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit a5adc725df)
2023-02-14 07:07:56 +01:00
Anton Tarasov
96dafe4250 JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
2023-02-14 07:07:56 +01:00
Anton Tarasov
f0be8de338 JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
2023-02-14 07:07:56 +01:00
Anton Tarasov
048a46ae91 JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
2023-02-14 07:07:56 +01:00
Anton Tarasov
80a90b8016 JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
2023-02-14 07:07:56 +01:00
Anton Tarasov
0a4265ec1e JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
2023-02-14 07:07:56 +01:00
Anton Tarasov
efad45bde2 JBR-2169 AWTThreading: remove tracked invocation event from completion listener
(cherry picked from commit a855f3b835)
2023-02-14 07:07:56 +01:00
Anton Tarasov
669e34115a JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit
(cherry picked from commit bba297b4a4)
2023-02-14 07:07:55 +01:00
Anton Tarasov
8953af676e JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
2023-02-14 07:07:55 +01:00
Anton Tarasov
472665ef54 JBR-2146 improve InvokeOnToolkitHelper to cover more generic case 2023-02-14 07:07:55 +01:00
Anton Tarasov
c9570e9f30 JBR-2139 Idea freeze on dynamic plugin unloading
(cherry picked from commit e57bae4f66)
2023-02-14 07:07:55 +01:00
Anton Tarasov
9e9144074f JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux
(cherry picked from commit 3dfb0aa16a)
2023-02-14 07:07:55 +01:00
Anton Tarasov
9e2b870bd6 JBR-2093 create reg test for JCEF startup
(cherry picked from commit e8c2761f5b)
2023-02-14 07:07:55 +01:00
Anton Tarasov
9d4064b645 JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar"
(cherry picked from commit b31a41fb2f)
2023-02-14 07:07:55 +01:00
Mikhail Grishchenko
61106e286a JBR-2639, JBR-2412 [jcef] Tests that checks mouse events
JBR-2412 [windows] mouse listener does not work for jcef

(cherry picked from commit 66ad6472ae)
(cherry picked from commit 04246aac57)
(cherry picked from commit b7cde4fd05)
2023-02-14 07:07:55 +01:00
Mikhail Grishchenko
66998e6d04 JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test

(cherry picked from commit e8e4741bb0)
2023-02-14 07:07:55 +01:00
Mikhail Grishchenko
c3bebce2ab JBR-2412 [windows] mouse listener does not work for jcef
added regression test

(cherry picked from commit d1479872f2)
2023-02-14 07:07:55 +01:00
Elena Sayapina
9e2e17e821 JBR-2630 Typing speed in IDE editor was dropped after switching to 11.0.8
Introduced sun.awt.osx.RobotSafeDelayMillis property to control macOS specific safe delay for Robot methods.
50 ms safe delay was initially hardcoded in 3862142d (JDK-8242174: [macos] The NestedModelessDialogTest test make the macOS unstable) which affected performance tests execution.

(cherry picked from commit 5f691bb788)
2023-02-14 07:07:55 +01:00
Mikhail Grishchenko
3d043f989e JBR-2430 [jcef] Added Regression test
Checks that JS Query is handled in 2nd opened browser

(cherry picked from commit 404ff84565)

Refactoring + changed EDT awaiting method

(cherry picked from commit dc24658b31)
2023-02-14 07:07:55 +01:00
Vitaly Provodin
5c9f4fe999 exclude the new printer test 8262731 2023-02-14 07:07:55 +01:00
Alexey Ushakov
9f9d8aa2be JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Do not pass the result via java object. Use more straight api.

(cherry picked from commit 9f91fe91f5)
(cherry picked from commit c0fd2daf5c)
2023-02-14 07:07:55 +01:00
Alexey Ushakov
abd77ac848 JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions
Used user home dir for jbr_err files. Removed logging with reportException method

(cherry picked from commit 2c8cdb221b)

JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions

Used process workdir for jbr_err files. Added one more logging to reportException method

(cherry picked from commit 95a47810d5)

JBR-2382 Provide detailed stack trace in crash dumps for unhandled ObjC exceptions

Generate jbr_err_pidXX.log file with detailed stack trace of the exception

(cherry picked from commit 4c42f75021)
2023-02-14 07:07:55 +01:00
Artem Bochkarev
68bd6ac6ba JBR-2253: unset LD_PRELOAD just after VM loaded
workaround for JBR-2253 Preload libjsig.so to fix JNA crashes

(cherry picked from commit 127a2deddf)
2023-02-14 07:07:55 +01:00
Kirill Kirichenko
52b3618c02 JBR-1874 Cursor not changing from 'default' to 'text'. Additional fix after reopening.
(cherry picked from commit 5a29d4ade9)
2023-02-14 07:07:54 +01:00
Elena Sayapina
c317490190 JBR-2585 [TESTBUG] TouchScreenEvent tests affect tests simulating mouse actions
- added workaround for JBR-2585
- added README.md about manual test run
- made an update to close LinuxTouchScreenDevice properly
- added an error exit from linux shell script if sudo password is empty or chown fails

(cherry picked from commit 4deb3bbe61)
2023-02-14 07:07:54 +01:00
Denis Konoplev
49ad251714 fixup! macOS national keyboard support
Remove unused import that broke compilation
2023-02-14 07:07:54 +01:00
Elena Sayapina
e4da677ada IDEA-165950 [TESTUPDATE] National keyboard layouts support
Update regression test after the following commits:

02fad83c: Remove public constants from KeyEvent
f4227faf: Impossible to assign cmd+ß shortcuts
(cherry picked from commit 264802cf4b)
2023-02-14 07:07:54 +01:00
Elena Sayapina
1ee50ffae6 JBR-2328 [TESTBUG] Regression test java/awt/keyboard/AllKeyCode/AllKeyCode.java is not correct
(cherry picked from commit 861f73c393)
(cherry picked from commit bfab6a9364)
(cherry picked from commit e9fa7a0882)
2023-02-14 07:07:54 +01:00
Mikhail Grishchenko
70eec4f9d5 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
Added reproducer

(cherry picked from commit e875bf72c9)
2023-02-14 07:07:54 +01:00
Denis Konoplev
0c2b49fa77 JBR-2490 Add option to work with Surface Pen
(cherry picked from commit 5acc7680a1)
2023-02-14 07:07:54 +01:00
Denis Konoplev
ac21e29b8a JBR-2669: set unicode for both keyCode and extendedKeyCode
(cherry picked from commit ba3f14c83a)
2023-02-14 07:07:54 +01:00
Denis Konoplev
1a4cbb4d44 JBR-2554: Proper unicode values in KeyEvent.keyCode
(cherry picked from commit 703d77a927)
2023-02-14 07:07:54 +01:00
Denis Konoplev
732409bb1b JBR-215: Remove SystemInfo
(cherry picked from commit 9adf77a512)
2023-02-14 07:07:54 +01:00
Denis Konoplev
cbec17d154 JBR-215: Separate LatinNonAlphaNumKeycodes option
(cherry picked from commit caf366f6f3)
2023-02-14 07:07:54 +01:00
Denis Konoplev
7810b9859f JBR-215: Windows non-alphanumeric shortcuts
(cherry picked from commit 4f60efebe2)
2023-02-14 07:07:54 +01:00
Denis Konoplev
8b1831cb9b JBR-2280: Fix regression. Mode compatible with old option.
(cherry picked from commit a3e3c23cb1)
2023-02-14 07:07:54 +01:00
Denis Fokin
f71f3d9840 macOS national keyboard support 2023-02-14 07:07:54 +01:00
Sergey Malenkov
dcf110d54d JBR-1929 FractionalMetricsSupport
(cherry picked from commit bbdc159762)
2023-02-14 07:07:54 +01:00
Mikhail Grishchenko
6d20d5efc5 JBR-2256 JEditorPane with test/html type and zero margins is not shown
Updated reproducer

(cherry picked from commit 529a188b8b)

JBR-2256 JEditorPane with test/html type and zero margins is not shown

Added reproducer

(cherry picked from commit 41578a40b5)
2023-02-14 07:07:53 +01:00
Mikhail Grishchenko
a448ac4631 JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Added regression test

(cherry picked from commit 4e1f5a43b3)
2023-02-14 07:07:53 +01:00
Mikhail Grishchenko
d9e50522b2 JBR-1414 [Test] downscale frames to run on low-dpi screens
(cherry picked from commit b46e74fe6f)
2023-02-14 07:07:53 +01:00
Elena Sayapina
6e3d96d23e JBR-1905 [TESBUG] java/awt/TextArea/DisposeTest/TestDispose.java: frame is not disposed
- java/awt/TextArea/DisposeTest/TestDispose.java, java/awt/TextField/DisposeTest/TestDispose.java: fixed test frame disposal
- java/awt/Frame/DisposeStressTest/DisposeStressTest.java: decreased test timeout from 2h to 10 min, added minor diagnostic logging

(cherry picked from commit 7f025f4e16)
(cherry picked from commit dda7f3d871)
(cherry picked from commit bc09aadadb)
2023-02-14 07:07:53 +01:00
Alexey Ushakov
0eedccceac JBR-2135 Use CoreText api to select the font with the most recent version
Added a property to force loading bundled fonts: -Djava2d.font.noVersionCheck=true

(cherry picked from commit cbb148dff4)
2023-02-14 07:07:53 +01:00
Alexey Ushakov
3fcf126303 JBR-2137 JetBrainsMono fonts update to v1.0.3
(cherry picked from commit a6e441828a)
2023-02-14 07:07:53 +01:00
Mikhail Grishchenko
772013a38b JBR-1414: Added regression test for dnd with HiDPI scaling
(cherry picked from commit 1f4ab12fbb)
2023-02-14 07:07:53 +01:00
Elena Sayapina
c4cd60d944 JBR-2041 [TEST] Added new regression test (Touchscreen devices support)
(cherry picked from commit 2d587b3728)
(cherry picked from commit 92606f2c7f)
(cherry picked from commit 05af375909)
(cherry picked from commit 0f895bf1b2)
(cherry picked from commit 08aa0852b7)
2023-02-14 07:07:53 +01:00
Konstantin Bulenkov
05eec77cd7 Update JetBrains Mono to 1.0.2
(cherry picked from commit 6f4a13e46f)
2023-02-14 07:07:53 +01:00
Ivan Migalev
f5a4db0d8c Extract the DWM colorization parameters from registry (JBR-2070)
(cherry picked from commit 0330cab60b)
2023-02-14 07:07:53 +01:00
Ivan Migalev
3d766876c4 Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070)
(cherry picked from commit 06086f4a7e)
2023-02-14 07:07:53 +01:00
Ivan Migalev
ffbd7cb5cd Fix a possible resource leak in ColorizationColorAffectsBorders
(cherry picked from commit 0c911b6ffe)
2023-02-14 07:07:53 +01:00
Elena Sayapina
972501a13f JBR-2086 JetBrainsMono fonts update to v1.0.1
(cherry picked from commit a4b373e631)
2023-02-14 07:07:53 +01:00
Konstantin Bulenkov
42ce8cadf7 JetBrains Mono 1.0
(cherry picked from commit d514f7a982)
2023-02-14 07:07:53 +01:00
Denis Konoplev
0bb4c72424 JBR-3444: Return NullSurfaceData when gc == null
(cherry picked from commit 01ad15e61c)
2023-02-14 07:07:53 +01:00
Denis Konoplev
225eb607c8 JBR-1995: Last character issue with korean
Fix for JTextComponent

(cherry picked from commit a7c8b0b535)
2023-02-14 07:07:53 +01:00
Denis Konoplev
4d5319c58d JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate
(cherry picked from commit c811c295c2)
2023-02-14 07:07:52 +01:00
Denis Konoplev
1b1c1ab692 JBR-2444: Turn on IM workaround by default
(cherry picked from commit 15c4ce1d3e)
2023-02-14 07:07:52 +01:00
Denis Konoplev
1f95e52874 Fix build: add import & fix jwhen 2023-02-14 07:07:52 +01:00
Denis Konoplev
c952d033f3 JBR-2795: Add explicit conversion
(cherry picked from commit bf3e1c0c31)
2023-02-14 07:07:52 +01:00
Denis Konoplev
a190f5b5e6 IDEA-237231: Correct signarute mask
(cherry picked from commit 6974131eec)
2023-02-14 07:07:52 +01:00
Denis Konoplev
4df6f5d567 IDEA-237231: Possible fix for pen interraction
(cherry picked from commit 33a8c95d39)
2023-02-14 07:07:52 +01:00
Denis Konoplev
062cd079ad JBR-2041: Project view tap fix, recovery? constants & logging
(cherry picked from commit 1e904db3b0)
2023-02-14 07:07:52 +01:00
Denis Konoplev
ad75d0a9ce IDEA-229135: Fling animation stop on tap
(cherry picked from commit 7ce0f79561)
2023-02-14 07:07:52 +01:00
Denis Konoplev
02c924015b Windows touch screen support
(cherry picked from commit cab3f28907)
2023-02-14 07:07:52 +01:00
Denis Konoplev
4b41b9099c Turn off multitouch
(cherry picked from commit a2576ffa9a)
2023-02-14 07:07:52 +01:00
Denis Konoplev
05e670d28c Check XInput extension && touch inertia
(cherry picked from commit cca7fb97f4)
2023-02-14 07:07:52 +01:00
Denis Konoplev
772b8bf25e Touch scroll handling
(cherry picked from commit 6dcec3dc31)
2023-02-14 07:07:52 +01:00
Denis Konoplev
aa99cd2a6c XI2 Constants
(cherry picked from commit 588cd6ee73)
2023-02-14 07:07:52 +01:00
Denis Konoplev
d094217772 XLibWrapper XI2 functions
(cherry picked from commit d6bd1bfa2b)
2023-02-14 07:07:52 +01:00
Denis Konoplev
7a246e95f9 X11 native get put double
(cherry picked from commit f101bc1108)
2023-02-14 07:07:52 +01:00
Denis Konoplev
3fcd6cb3b2 Native data types
(cherry picked from commit 9504574dbb)
2023-02-14 07:07:51 +01:00
Denis Konoplev
9999770c4c XI2 headers in xlib wrapper generator
(cherry picked from commit ef108067a1)
2023-02-14 07:07:51 +01:00
Denis Konoplev
53575ed351 Revert "Turn off multitouch"
This reverts commit 90ea3bf57e4c687e9d9bf0a37f2f64c82a81f4eb.
2023-02-14 07:07:51 +01:00
Denis Konoplev
d0b2572978 Turn off multitouch
(cherry picked from commit a2576ffa9a)
2023-02-14 07:07:51 +01:00
Alexey Ushakov
807af44779 JBR-1962 Allow to change font config
Replaced several privileged blocks with just one

(cherry picked from commit faa8d3d258)
2023-02-14 07:07:51 +01:00
Vitaly Provodin
881ae4b648 JBR-572: Regression test on the crash caused by the fix
(cherry picked from commit 6cc380ffb5)
(cherry picked from commit 958e25ed21)
(cherry picked from commit a7de601d5f)
2023-02-14 07:07:51 +01:00
Dennis Ushakov
c01a8937fa JBR-1863, JBR-1868 correct advances on Catalina 2023-02-14 07:07:51 +01:00
Dennis Ushakov
a026be18de JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families 2023-02-14 07:07:51 +01:00
Dennis Ushakov
dade5261c7 faster font family loading & lazy font family population
1. NSFont.familyName is faster than loading allFamilyNames
2. Prebuilt list of system fonts
3. Cleanup San Francisco family loading
4. Avoid calling expensive native getWidth on font when creating font family, load styles only when they would be used.
2023-02-14 07:07:51 +01:00
Dennis Ushakov
daf38924c5 JBR-1756 use CoreText for all font rendering on Catalina 2023-02-14 07:07:51 +01:00
Nikita Gubarkov
e6288c811d JBR-410 Added emoji support for Linux 2023-02-14 07:07:51 +01:00
Alexey Ushakov
ef849caf6d JBR-1997 JetBrainsMono fonts update to v0.22
(cherry picked from commit 41f4fddd34)
(cherry picked from commit f5302a02f4)
(cherry picked from commit 5d7fd2e1e5)
2023-02-14 07:07:51 +01:00
Anton Tarasov
141296216f JRE-729 [windows] unreasonable IME activity consumes CPU 2023-02-14 07:07:51 +01:00
Dmitry Batrak
e5167bc82b JBR-3119 Application's panel in KDE taskbar blinks when popup window is shown
this re-fixes JBR-2934 in a different way

(cherry picked from commit 63134e091b)
2023-02-14 07:07:51 +01:00
Dmitry Batrak
9763d62fef JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
2023-02-14 07:07:51 +01:00
Dmitry Batrak
37077d6783 JBR-3035 The Confirm Exit pop-up window remains hidden behind a window of another application
(cherry picked from commit 470c3bd1b5)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
32267e2419 JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR
(cherry picked from commit 95be4351d4)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
7d599d93db JBR-2977 Opening a recent project in a new window doesn't bring this window to the front
(cherry picked from commit 2d9fb9e7b8)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
e460ca2aa7 JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux
(cherry picked from commit ebcdeb7d80)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
7e9cb225c7 JBR-2696 Log focus API invocations with stack traces
(cherry picked from commits 0f038754e5, a507cab6d3)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
232837f0d0 JBR-2496 Prevent JVM stealing focus from other applications on Linux (JBR-2497, JBR-2499, JBR-2503, JBR-2652)
(cherry picked from commits 87525d1d2a, 66381f0dec, 8a789e04e9, 665ebc5d47, 98a9219c23)
2023-02-14 07:07:50 +01:00
Alexey Ushakov
ff6edaeefc JBR-3509 Extend JDK-8267521 (Post JEP 411 refactoring: maximum covering > 50K) to JBR specific changes
Marked all the usages of SecurityManager related api
2023-02-14 07:07:50 +01:00
Artem Bochkarev
60ce309d42 JBR-1851: check NSArray length
and make more exception-safe
and minor optimization for logging (cache jobjects)

(cherry picked from commit 5839539379)
2023-02-14 07:07:50 +01:00
Artem Bochkarev
2fb2f865e5 JBR-1841: allow deferred disabling of InputMethods-support
(cherry picked from commit 969255904b)
2023-02-14 07:07:50 +01:00
Artem Bochkarev
e81147479f JBR-1668: add hardcoded default values for preferences node NSServicesStatus
(cherry picked from commit 8445f53d85)
2023-02-14 07:07:50 +01:00
Artem Bochkarev
0c1d812b13 JBR-1515: obtain shortcut from OS to check inside AWTView.performKeyEquivalent
(cherry picked from commit 30d479fbd4)

JBR-4899 Activate Previous Window doesn't work sometimes

(cherry picked from commit 63cb726f3c)
2023-02-14 07:07:50 +01:00
Artem Bochkarev
d95bc41b1d JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management

(cherry picked from commit 15f7368309)
2023-02-14 07:07:50 +01:00
Elena Sayapina
4893dcf453 JBR-1417 [TEST] Added new regression test (JBR 11 does not support chain of popups)
(cherry picked from commit 41e89505be)
(cherry picked from commit 9fe5c778d9)
(cherry picked from commit 6ea9530d9f)
(cherry picked from commit d757108517)
(cherry picked from commit b99c1e7b5c)
2023-02-14 07:07:50 +01:00
Alexey Ushakov
edf2b5bec0 JBR-1690 Bundle new fonts
Test correction
Restored RenderUtil.java
Removed obsolete golden images
(cherry picked from commits:
aa13c8b4ea
943b1472c7
cab6dd5087
7997c7a5ee
cab6dd5087
7997c7a5ee
d3731df79d)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
026eb10a70 IDEA-257525 Unable to show Chinese when using IDEA mac ARM version
The proposed solution is to use a 'normal' font as a base for 'San Francisco' font fallback.
Most of its fallback components/candidates (provided by the OS) are expected to be normal
fonts as well, and so the resulting coverage of Unicode character repertoire should be much better.

(cherry picked from commits 9b7113a6cf, 92b00d50b5, 53489fab27)
2023-02-14 07:07:50 +01:00
Dmitry Batrak
d8740a8db8 JRE-469 Console with emoji output becomes slow
The fix consists of two parts:
* Making CCharToGlyphMapper remember that a particular character cannot be displayed (isn't mapped to glyph with given font). Checking this repeatedly in native code is very slow.
* Make CCompositeGlyphMapper remember the results of char-to-glyph mapping, this was missing in previous implementation. This reuses caching code in CompositeGlyphMapper, extending the range of characters for which the results are cached to include Supplementary Multilingual Plane (most emoji characters belong to it).

port commit 4e0ccde2 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 394e055ae6)

cherry picked from commit 0db7e948af
2023-02-14 07:07:49 +01:00
Dmitry Batrak
1ca51b5550 reimplement JDK-7162125 to fix JDK-8147002
port commit ba38e5c4 from JBR 9

port from JBR 11 to JBR 15(cherry picked from commit a949f9d220)

cherry-picked from commit f309844f75
2023-02-14 07:07:49 +01:00
Artem Bochkarev
816b800e8d JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug)
(cherry picked from commit 1acada7cac)
2023-02-14 07:07:49 +01:00
Artem Bochkarev
e6a3d2049d JBR-1668: minor fixes
fixed review comments

(cherry picked from commit 9dbcf194c9)
2023-02-14 07:07:49 +01:00
Vitaly Provodin
08a508c65c JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commit e4a3889cf0)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
0f0f250863 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Corrected lookup for bold fonts

(cherry picked from commit 114b8af38f)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
adc775ff39 JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test

(cherry picked from commit b4f5bf8bd3)
2023-02-14 07:07:49 +01:00
Elena Sayapina
1715870ab4 IDEA-165950 [TEST] Added new regression test (National keyboard layouts support)
(cherry picked from commit 0900a705bc)
2023-02-14 07:07:49 +01:00
Artem Bochkarev
b84611e80a JBR-1668: read system keyboard shortcuts
initial support for OS X

(cherry picked from commit 6bbe7102e2)
2023-02-14 07:07:49 +01:00
Artem Bochkarev
fbcbbe8737 JBR-1573: restore current input context after cleanup
(cherry picked from commit b7acd7f6f6)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
35c4821f1f JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Restored old behaviour of registerFontsInDir as it does not affect idea bundled fonts

(cherry picked from commit cef29e8100)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
8dfd461192 JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
4705d872b6 JBR-1778 Font in editor incorrect (always italics)
Added -it pattern into italic detection code
Added some more patterns to bold and italic detection code
'Anka/Coder' font support

(cherry picked from commit 5119eeee12)
(cherry picked from commit ec241e4a0a)
(cherry picked from commit 251068294e)
(cherry picked from commit 08ae9ff034)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
9e59658f3c JBR-1699 Use platform font rendering for bundled fonts on MacOS
Use different family for specific font faces. Refactoring

JBR-3071 Remove naming workaround for Fira Code

(cherry picked from commits c423003bd4, aee4b48d20)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
22e8fe8f18 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
c8a93c6d12 JBR-1885 JetBrainsMono fonts update to v0.19
Updated the fonts to v0.19. Bundled italic fonts

(cherry picked from commit 7f032e3fe7)
(cherry picked from commit a7b4c9449a)
2023-02-14 07:07:49 +01:00
Alexey Ushakov
c4812da51d JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
1536927a52 JBR-1699 Use platform font rendering for bundled fonts on MacOS
Used CFont instead of TrueTypeFont for bundled fonts on mac
Use different family for specific font faces. Refactoring

(cherry picked from commit 8c86ad3e96)
(cherry picked from commit c423003bd4)
(cherry picked from commit bcae402dc8)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
a06dd15a2e JBR-1690 Bundle new fonts
Update family name for JetBrainsMono-Thin

(cherry picked from commit 0d2326ff34)
(cherry picked from commit 83843f9124)
(cherry picked from commit 2a2e1cfb36)
(cherry picked from commit 76abb69262)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
50396d8828 JBR-1645 javax/swing/JTextArea/TestTabSize.java: Tab width calculation wrong
Corrected idea font filter

(cherry picked from commit 62f9d1f46a)
2023-02-14 07:07:48 +01:00
Artem Bochkarev
82e30f23dd JBR-1573: workaround for 'Sudden keyboard death on Ubuntu 18'
recreate instance of system InputMethod when starts filter all events

(cherry picked from commit 3ad94911af)

(cherry picked from commit c8533a1219)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
1e7a24f18a JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance

(cherry picked from commit 350a3fdef3)
2023-02-14 07:07:48 +01:00
Artem Bochkarev
fb76ebe3c0 JBR-1541: activate menu in completion handler of modal dialog
(cherry picked from commit e57384c1d6)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
99edf13c49 JBR-1314 Font difference in pycharm 2019.1 on Ubuntu
Removed disabling hints on MAX_FCSIZE_LTL_DISABLED font size

(cherry picked from commit 2b99dfed40)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
64332db081 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix

(cherry picked from commit 434166fe63)
2023-02-14 07:07:48 +01:00
Alexey Ushakov
c8f2b574a1 JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations

(cherry picked from commit 207c6b92ff)
2023-02-14 07:07:48 +01:00
Elena Sayapina
a2496b7789 JBR-1372: [TESTBUG] JDialog1054.java, MoveFocusShortcutTest.java regression tests need update
(cherry picked from commit a5948894bf)
2023-02-14 07:07:48 +01:00
Maxim Kartashev
1a06376612 JBR-2755 IDE UI became slow via remote X Server connection from Windows
When XGetImage() calls become slow in a remote X11 session, fake
XGetImage() with client-side XCreateImage() that is filled with some
background color. The color is chosen from several top left corner
pixels of the "slow" images obtained with XGetImage().

This feature activates in a remote X11 session only and is
controlled with -Dremote.x11.workaround={true|false|auto}.
2023-02-14 07:07:48 +01:00
Vyacheslav Moklev
5a5b560848 Fix const pointer after JDK-8225032 fix 2023-02-14 07:07:48 +01:00
Vyacheslav Moklev
9dd2dc63d0 Fix compilation on windows platform: awt_ole.h must be included before awt.h 2023-02-14 07:07:48 +01:00
Vyacheslav Moklev
bcc185f03d JBR-1269 Common Item Dialog does not appear on Alt+Tab or click in windows toolbar
JBR-1270 Common Item Dialog does not have an icon

Select a proper window handle
2023-02-14 07:07:48 +01:00
Vyacheslav Moklev
73cea3db6f JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window
2023-02-14 07:07:47 +01:00
Vyacheslav Moklev
1604a2e155 JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly
2023-02-14 07:07:47 +01:00
Vyacheslav Moklev
15c63c1d44 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice
2023-02-14 07:07:47 +01:00
Vyacheslav Moklev
295987f575 JBR-1257 CommonItemDialog modal window has no owner
Fix modality for Common Item Dialog

squash! JBR-1257 CommonItemDialog modal window has no owner

JBR-2478 java/awt/Modal/FileDialog/FileDialogNonModal7Test.java: DummyButton on Dialog did not gain focus when clicked

revert part of JBR-1271, that's related to 'old' file dialogs
2023-02-14 07:07:47 +01:00
Vyacheslav Moklev
2eb17e84ee JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path
2023-02-14 07:07:47 +01:00
Vyacheslav Moklev
e1f2fcb9b0 JRE-1216 Implement Windows native file dialogs with the new Common Item Dialog API
Add implementation of file dialogs with the new Common Items Dialog API
2023-02-14 07:07:47 +01:00
Alexey Ushakov
9c825cd342 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled both Delete and ForwardDelete keys

(cherry picked from commit e3ba0bd651)
2023-02-14 07:07:47 +01:00
Alexey Ushakov
7276735ae9 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled backspace separately

(cherry picked from commit 81916a92af)
2023-02-14 07:07:47 +01:00
Elena Sayapina
b751552a44 JBR-1102: [TESTBUG] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called
(cherry picked from commit dc7abebe17)
(cherry picked from commit c8d631a142)
2023-02-14 07:07:47 +01:00
Elena Sayapina
c7ba3edf5c JBR-998: [TEST] Added new regression test (Input freezes after MacOS key-selector on Mojave)
(cherry picked from commit 3d898a8024)
(cherry picked from commit f368f0f101)
2023-02-14 07:07:47 +01:00
Elena Sayapina
782d66ac81 JBR-318: [TEST] Added new regression test (Cmd+` doesn't work after update to JDK 152_*)
(cherry picked from commit 0be0a018b5)
(cherry picked from commit 5bb4c2a1d6)
2023-02-14 07:07:47 +01:00
Elena Sayapina
2285dec9a3 JBR-1054: [TEST] Added new regression test (Weird non-modal dialog above modal dialog behaviour)
(cherry picked from commit b808be6a6a)
(cherry picked from commit 48b7dd874f)
2023-02-14 07:07:47 +01:00
Vitaly Provodin
9694dcfa60 JRE-1117 J2DBench: introduced result reader for TC's charts (follow up)
separated printing values fo TC charts and values for comparisons

(cherry picked from commit bbdbe17e2a)
2023-02-14 07:07:47 +01:00
Vitaly Provodin
936643d597 JRE-1117 J2DBench: introduced result reader for TC's charts
(cherry picked from commit 422fa59643)
2023-02-14 07:07:47 +01:00
Alexey Ushakov
953168c2c5 JRE-60 Editor font is distorted on Kubuntu Linux 16.04 with HiDPI
Override FC_HINT_SLIGHT only for small font sizes

(cherry picked from commit 0e1d23c807)
2023-02-14 07:07:47 +01:00
Alexey Ushakov
11122fdbd9 JRE-471 Crash on macOS Sierra after Sleep
Replaced [NSScreen screens] 'objectAtIndex' with 'firstObject' to get nil instead of NSRangeException. Added nil checks

(cherry picked from commit d6b98511262055c01522d9ec8024253af7e91564)
(cherry picked from commit cef970e1ba)
2023-02-14 07:07:47 +01:00
Alexey Ushakov
cb067d630c JRE-608 J2DBench metrics: up to 20x degradation
Increased rendering queue buffer up to 6.4 MB

(cherry picked from commit 9ef00f00a7fb6e14835393f8d3944157c6800727)
(cherry picked from commit 2a61e9e997a880a60c5acb361849205170501b91)
(cherry picked from commit 68ca9f00ded004c970b94bd047a04b9f09237047)
(cherry picked from commit 2fe5289178)
2023-02-14 07:07:46 +01:00
Alexey Ushakov
c80b44f3e2 JRE-1028 fwport(9): JRE-1008 Do not use LCD shader on macOS 10.14+ in font rendering
Disable LCD text shader on macOS 10.14+ if LCD rendering is not explicitly specified

(cherry picked from commit dffea9d701)
2023-02-14 07:07:46 +01:00
Konstantin Bulenkov
b998425799 update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
(cherry picked from commit de1e4a9d71)
2023-02-14 07:07:46 +01:00
Konstantin Bulenkov
3c84adf229 add workspace.xml to gitignore
(cherry picked from commit bd5b9403fdca779ecc76f0b3af2918fe772f7ed1)

(cherry picked from commit 37e7661f85)
2023-02-14 07:07:46 +01:00
Vitaly Provodin
275ee98180 Update README.md 2023-02-14 07:07:46 +01:00
Vitaly Provodin
bcde416c6f Regression test on https://bugs.openjdk.java.net/browse/JDK-8139176
(cherry picked from commit 6f1c0a6)
(cherry picked from commit 63130fd461)

add regression test on https://bugs.openjdk.java.net/browse/JDK-8139176

(cherry picked from commit 380c17456c)

(cherry picked from commit 6f1c0a6)
(cherry picked from commit 63130fd461)
2023-02-14 07:07:46 +01:00
Vitaly Provodin
f9dd2acc7c not for upstream: added disposing frames in order to provide the test with the chance on the second run
(cherry picked from commit 8170635)
(cherry picked from commit 7fc924f065)
2023-02-14 07:07:46 +01:00
Vitaly Provodin
ab03e800e1 JRE-9: added regression test
(cherry picked from commit 4ffb665)
(cherry picked from commit 00a29ad129)
2023-02-14 07:07:46 +01:00
Sergey Malenkov
7849781189 JRE-100 Scroll with inertia (Mac os) should only work in the initial component
(cherry picked from commit e79502c708)
2023-02-14 07:07:46 +01:00
Sergey Malenkov
838b092187 IDEA-161965 ignore dragged event that does not change mouse location Sierra is more sensit
(cherry picked from commit ef490fa465)
2023-02-14 07:07:46 +01:00
Stanislav Dombrovsky
52e29fbbc0 Fix rendering of HTML list dots + better vertical align for them.
(cherry picked from commit fa4a404533ba1ef638fe523adc74391aee8a3ebf)

(cherry picked from commit 9f079c66e9)
2023-02-14 07:07:46 +01:00
Dmitry Batrak
a2a2b0a3a0 JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
2023-02-14 07:07:46 +01:00
Dmitry Batrak
371fb39112 JBR-3339 Window requests focus on horizontal scroll (on Linux)
(cherry picked from commit 8d74e8e30b)
2023-02-14 07:07:46 +01:00
Anton Tarasov
3a40c40cad JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)

(cherry picked from commit 8a44e1bb37)
2023-02-14 07:07:46 +01:00
Alexey Ushakov
0643b75cef 8265445: Introduce the new client property for mac: apple.awt.windowAppearance
Implemented apple.awt.windowAppearance client property
2023-02-14 07:07:46 +01:00
Anton Tarasov
0a7fa952c2 JBR-3306 jbr-dev warnings: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong' 2023-02-14 07:07:45 +01:00
Dmitry Batrak
cebb748c74 JBR-2498 Fix unexpected window raising under Mutter WM
re-implement the fix, so that ChildAlwaysOnTopTest isn't failing
2023-02-14 07:07:45 +01:00
Alexey Ushakov
c333f10a71 JBR-3327 [jbr-dev] Adjust mac window appearance according to AppleInterfaceStyle property
Set window appearance according to AppleInterfaceStyle default
2023-02-14 07:07:45 +01:00
Alexey Ushakov
088310d01c JRE-238 [736] java.awt.AWTError: access denied ("java.lang.RuntimePermission" "canInvokeInSystemThreadGroup")
Moved task execution on AppKit to the privileged block. Minor refactoring

(cherry picked from commit 5dbb88471115c9e4a536ae37d0e6794de9e5ac9c)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
a823b328ee JRE-359 CGraphicsEnvironment.getDefaultScreenDevice() returns null
Moved CG api calls to AppKit thread

(cherry picked from commit fd0210f035199e8612097a2c1d42b90cfd2111f8)
(cherry picked from commit 5e99e376d9dfe477401121878704630c3c13f9f7)

(cherry picked from commit 6d73b25130)
2023-02-14 07:07:45 +01:00
Dmitry Batrak
f82e7263f2 JBR-2973 Copy/Move dialog not in the focus on drag-n-drop to Project Tool window from external application
(cherry picked from commit 20fe78b650)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
fa834ef827 JRE-444 CPlatformWindow.nativeGetTopmostPlatformWindowUnderMouse is slow
Replaced number of CGWindowListCopyWindowInfo for each window layer with [NSWindow windowNumberAtPoint: belowWindowWithWindowNumber:]

(cherry picked from commit 2a143af4d62340acdfd9c94d876f684385febbc8)
(cherry picked from commit 6fc369e8bf)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
468e704169 JRE-482 Java_sun_font_CStrike_getNativeGlyphOutline takes too much time in scrolling
Replaced glyph outlines with bounding boxes for glyph boundaries calculation for most common usages. Also, skipped unnecessary OGL flushes in OGL rendering queue

(cherry picked from commit c58dc052af48887338a38beb0c721eddca3af481)
(cherry picked from commit 7f6be7cfb907bbf1c3572b911df5690fa3039fde)
(cherry picked from commit c68913d82c0ba4b4c509179123f0a4bf7971f857)
(cherry picked from commit 9cfa04c93ad416a8177d9e7ca410850bd3ff880f)
(cherry picked from commit 0e930841704e4e98ecc0c888b144245e74218799)
(cherry picked from commit 8ffc190fbdb059d5a24842115c0bc3ade8b351b9)
(cherry picked from commit 0f7c26186a)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
b5e18fdc79 JBR-3316 Reimplement CThreading functionality on top of OpenJDK17 sourcebase
Adopted CThreading related code to OpenJDK17 source base

(cherry picked from commit 5dfb30ae68b2c54d58c98a9195709c031f823581)
(cherry picked from commit 94163bd69f64616836523e81567aa1141480d841)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
cd3a6a7382 JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]
Removed unused code
2023-02-14 07:07:45 +01:00
Vitaly Provodin
7ec2b7bb89 exclude javax/swing/JTabbedPane/4624207/bug4624207.java failing on windows due to 8197552 2023-02-14 07:07:45 +01:00
Alexey Ushakov
8ab74b06a0 JRE-366 Add support for Awesome WM
Added detection of Awesome WM and handled similar to Sawfish WM

(cherry picked from commit 6742077ed198975949af567e8ef543f853397351)
(cherry picked from commit 2847be73c6)
2023-02-14 07:07:45 +01:00
Alexey Ushakov
ce0cef5f17 JRE-353 Fedora 25 + XMonad rendering issues
Added support for Xmonad WM

(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
(cherry picked from commit 6851dc3441)
2023-02-14 07:07:45 +01:00
Denis Konoplev
f85a4d5ea1 8264143: Change uint8_t to unsigned char 2023-02-14 07:07:45 +01:00
Dmitry Batrak
bccb1461cd JBR-3255 Applying 'incline' transform might change character's advance
(cherry picked from commit b37f7cfdb1)
2023-02-14 07:07:45 +01:00
Dmitry Batrak
917c6c5f72 JBR-3215 'deriveFont(float)' can return a different font (not just change the size)
(cherry picked from commit 8eafcaab24)
2023-02-14 07:07:45 +01:00
Dmitry Batrak
1cb63383b3 JBR-3157 Maximized window with custom decorations isn't focused on showing
(cherry picked from commit 62b04983f2)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
58c2a2b2a6 make AwtListGarbageCollectionTest pass reliably
(cherry picked from commit 304eb7f919)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
631e036589 JBR-1752 Floating windows overlap modal dialogs
(cherry picked from commit 0161050077)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
4c759cad71 JBR-3054 Focus is not returned to frame after closing of second-level popup on Windows
(cherry picked from commit 0c2b6e1c04)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
b3d9d51bbf JBR-2702 Tooltips display through other applications on hover
(cherry picked from commits 11732c2469, 0ed7deabaa)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
d7f30094f4 added RobotSmokeTest
this test failing in jtreg launch most probably indicates either some problem with the environment (e.g. some windows left open from previously launched processes) or with java.awt.Robot implementation

(cherry picked from commit 1d525a2d2f)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
4fc5ac44e2 JBR-2847 Always dispatch KEY_TYPED event to the same component as KEY_PRESSED event
also fixes JBR-2834, IDEA-254466, IDEA-254466
squashed with fixes for JBR-3291, JBR-3307, JBR-3598

(cherry picked from commits e94f6057a4, ba6b9c085e, 2ccf6b65a7, 3b0708af7d, 3674766d65)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
ad213e853c JBR-2712 Typeahead mechanism doesn't work on Windows
(cherry picked from commits 1a9838082e, f5b6222835, acd7e3b2da, cd6dd5c3cf8556f97f3113cb7d615a92393b57bf(partially), e8bbd8ffdd90f57cd12d7d7e89188be97ee4be0b(partially), 37901295e1, cafb374afc, 12034dcf61)

includes fix for JBR-4974 jb/java/awt/Focus/ModalDialogFromMenuTest.java intermittently clicks at tittle bar

Pause before getting the coordinates of the component to be clicked on,
not right before the click itself.
2023-02-14 07:07:44 +01:00
Denis Konoplev
753970dcf8 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Add stdint include to fix x64 build
2023-02-14 07:07:44 +01:00
Dmitry Batrak
85782c8d25 JBR-2498 Fix unexpected window raising under Mutter WM
(cherry picked from commit 73b45fb899)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
42d8f165e0 JBR-2248 Support text wrapping in a <pre> tag in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commit ff2e915371)

cherry picked from commit 6a30c56138
2023-02-14 07:07:44 +01:00
Dmitry Batrak
eae198ece7 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commits b6583d0a71, 6003abc15f)

cherry picked from commit 93ad4f06dd

also includes JBR-4006 [JCK] javax.swing.text.html.CSS$Attribute.OVERFLOW_WRAP field breaks public API
(cherry picked from commit f20a3d8679)
and JBR-4007 [JCK] javax.swing.text.GlyphView.calcBreakSpots method breaks public API
(cherry picked from commit 1002eff4f3)
2023-02-14 07:07:44 +01:00
Dmitry Batrak
928fd9946d JBR-2050 Issue with keycap emojis
port from JBR 11 to JBR 15 (cherry picked from commit ae91e1d7f1)

cherry picked from commit d3018a1837
2023-02-14 07:07:44 +01:00
Dmitry Batrak
111107087f JBR-1714 Italic text is displayed using incorrect glyphs on Windows
port from JBR 11 to JBR 15 (cherry picked from commits 46e4cdfcbd, 9cc5cbc99b)

cherry picked from commit 6769b27e53
2023-02-14 07:07:44 +01:00
Dmitry Batrak
3a81e31c1e JBR-1689 Incorrect painting of long strings on linux
port from JBR 11 to JBR 15 (cherry picked from commits e12c1d6f0d, 0429e74e9d)

cherry picked from commit e43cfd198f
2023-02-14 07:07:44 +01:00
Dmitry Batrak
6e95214f1c JBR-1248 Exception caused by broken font
port from JBR 11 to JBR 15 (cherry picked from commit 4efa7eab3e)

cherry picked from commit 6e1c514c6c
2023-02-14 07:07:43 +01:00
Dmitry Batrak
9c570bd00c JBR-1245 [JDK 11] There are different letter spacings in some controls
port from JBR 11 to JBR 15 (cherry picked from commit a26b70568a)

cherry picked from commit e2637199e9
2023-02-14 07:07:43 +01:00
Dmitry Batrak
9804158fea JRE-927 Unexpected wrapping of bidirectional text in JEditorPane on HiDPI screens
port commit 11a5a4a2 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 65a5e450d5)

cherry picked from commit 47ff31ae82
2023-02-14 07:07:43 +01:00
Dmitry Batrak
b46b8db99d JRE-774 Don't paste BOM from clipboard on Mac
port commit ea9b75b3 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit c6fed2cf58)

cherry picked from commit a5e25d1ef9
2023-02-14 07:07:43 +01:00
Dmitry Batrak
b3c768d820 JRE-847 Box drawing characters have different widths with Monospaced font on Windows
port commit 778cef18 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 9caaac4a5a)

cherry picked from commit eea293f4a4
2023-02-14 07:07:43 +01:00
Dmitry Batrak
346cfc609c JRE-748 Strange dots with fractional metrics turned on
port commit 82e7c82d from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit e9bd5f5dad)

cherry picked from commit e0475e9ba2
2023-02-14 07:07:43 +01:00
Dmitry Batrak
a155ee295c JRE-593 Wrong italic font rendering for Source Code Pro
port commit 1f6bd200 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 32ce109355)

cherry picked from commit 087ff34c2e
2023-02-14 07:07:43 +01:00
Dmitry Batrak
0cf21e39d1 JRE-430 Font fallback sometimes doesn't work in Swing text components
port commit fc8003ad from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 5b814d6b34)

cherry picked from commits b871188f44, 0a9f16dc90, 9cc82c39d9
2023-02-14 07:07:43 +01:00
Alexey Ushakov
678ca2855f JRE-303 2017.1.1 update breaks linux fonts
Corrected rendering hints for Non-AA text rendering

(cherry picked from commit b923aa7a0729a10ea47d3438622d659fbead44c9)
(cherry picked from commit b6bdd04e41)
2023-02-14 07:07:43 +01:00
Alexey Ushakov
b91b1b9582 JRE-205 Font is wrong and without anti aliasing in 2017.1 EAP
Added property to disable bundled font config:
  java2d.font.loadFontConf=false
Do not load custom font.conf by default

Moved hints adjusting logic from code to bundled font.conf file
Applied correction only for regular fonts with platform sizes less than 12
Some fonts are not corrected at all: Consolas, Noto Sans Mono
Used family name instead of physical one in requests to Fontconfig
Removed redundant call to FcConfigBuildFonts
Added privileged access to the properties (JRE-235,JRE-235)

(cherry picked from commit 4d4c915047077ebd966b0e3be056566d56ba11a4)
(cherry picked from commit 9d6f325f72482405264852f3ee2636f5fedaeaf0)
(cherry picked from commit e7e3372bf8db539c0f6bc85db9f1093f8fa4c380)
(cherry picked from commit 3e724caed2f199be50d25d1ecb20b7819c86be2e)
(cherry picked from commit d372b35963c096a32331b05b257e26841ace5d94)
(cherry picked from commit 18a5f5de03eb107f89dca138a44b9aab2151235c)
(cherry picked from commit 9ba320efef0539f75aa93fd1b5dd80266c954d0a)
(cherry picked from commit b8c38f419972af61291953f7f452c1698f7a1624)
(cherry picked from commit debba0128e200be60adc9a339d5985590ef4e230)
(cherry picked from commit 2fa17b1bd7d6524e4b5fa4d0b3ce2bf02a8fcc78)
(cherry picked from commit 09b4f61db0d4f5beea0e16ce9136c99e2185c10b)
(cherry picked from commit 3b6782dd742f9c74a9535145db2f9f7ffaccf7c8)
(cherry picked from commit f1b68149528c13a22fa64468c130b1405bf3d081)
(cherry picked from commit db5cf5a2b9cb454630fb86783c2d58cd5446cba6)
(cherry picked from commit 32140948578bc3c2a0c5f8adb537660421efe5e7)
(cherry picked from commit b978e3d0b131ed642774c5a14a649e13f764c20b)

(cherry picked from commit c75c1ef8b2)

(cherry picked from commit a29f19e6a2)
2023-02-14 07:07:43 +01:00
Dmitry Batrak
959fab194c an option to disable native rendering for rotated text (following JRE-19)
port commit ccc1ded6 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 72fb9ff7c4)

cherry picked from commit a5bd092449
2023-02-14 07:07:43 +01:00
Dmitry Batrak
3100cf30f1 JRE-11 Support text rendering via DirectWrite API on Windows
port commits 7b180f8d, cccbcab4 from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commit 030f15834c)

cherry picked from commit b16ee45915
2023-02-14 07:07:43 +01:00
Dmitry Batrak
f7f37d2f09 IDEA-150876 OpenJDK fonts for toolwindow names look worse than Oracles's
don't apply FreeType-returned glyph advance for rotated glyphs rendered by GDI

This seems to produce a better looking text (more evenly spaced). Fractional metrics won't be respected by this code, but we can address this later if needed.

port commits c9debd5e, ed78cd00, 4c7e1619, 7aa0429c, 7bd6c17c from JBR 9

port from JBR 11 to JBR 15 (cherry picked from commits d6b588bdab, dbc15fb84e)

cherry picked from commit 2c0d6150d0
2023-02-14 07:07:43 +01:00
Vitaly Provodin
0d417c7f22 JRE-186 added regression test (Modal dialogs (Messages) shouldn't popup IDEA when another application is active)
(cherry picked from commit 236bd38d1b)
2023-02-14 07:07:43 +01:00
Vitaly Provodin
2b74d648fc JRE-269 added regression (JLabel doesn't scale <code>text</code> HTML fragments.)
(cherry picked from commit 1f4ad38d23)
2023-02-14 07:07:43 +01:00
Alexey Ushakov
44b8919210 JRE-307 Wrong dpi reported on Wayland
(cherry picked from commit 15693661cc)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
7f7687a498 JRE-392 added regression (Tip of the day is not hidden while another modal window is shown)
(cherry picked from commit c7b0ac686f)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
8f21d3a003 JRE-394 added regression test (System getenv doesn't return env var set in JNI code)
(cherry picked from commit 3a7b3c67b0)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
e060938f89 JRE-401 added regression test (AppCode freezes during autocomplete and other operations)
(cherry picked from commit cb4453b1d1)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
584c6c7110 JRE-422 added new regression test (AWTView deliverJavaMouseEvent leaks jEvent)
(cherry picked from commit 37dc13c603)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
c4ac5bf295 JRE-430 added new regression test (Font fallback sometimes doesn't work in Swing text components)
(cherry picked from commit d04debc847)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
1be6d56107 JRE-457 added new regression test (OGLTR_DisableGlyphModeState is slow)
(cherry picked from commit 3a43f4557f)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
563191dd53 JRE-458 added new regression test (Insufficient and inconsistent permissions on some files in Linux build)
(cherry picked from commit 82adbe9c25)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
860be1b25d JRE-467 added new regression test (Wrong rendering of variation sequences)
(cherry picked from commit 0026095202)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
de9c5eea79 JRE-468 added new regression test (Idea freezes on project loading)
(cherry picked from commit 1ce8c3ce82)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
1357a4dfe9 JRE-501 added new regression test (Live resize is jerky for heavy java applications on Mac)
(cherry picked from commit c4a1277c1b)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
be853659fc JRE-638 added new regression test (enable unlimited cryptographic policy by default)
(cherry picked from commit 4a14c6f15a)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
34fe51a8e3 JRE-705 added new regression test (Z-order of child windows is broken on Mac OS)
(cherry picked from commit 82cd480619)
2023-02-14 07:07:42 +01:00
Vitaly Provodin
b9e5bbb5e7 JRE-624 CThreading isAppKit() fails to detect main app thread if it was renamed
(cherry picked from commit c8f248a936)
2023-02-14 07:07:42 +01:00
Alexey Ushakov
2174a6654f IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call

(cherry picked from commit cec93cf1fd)
2023-02-14 07:07:42 +01:00
Alexey Ushakov
dc90c5b60a Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
2023-02-14 07:07:42 +01:00
Alexey Ushakov
d3a8a46285 JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
642431926a JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode

(cherry picked from commit 5b523f049e)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
efedf5ea00 JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype

(cherry picked from commit f80497c4f0)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
c0992beaa5 IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value

(cherry picked from commit 44fcbdabf8)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
7d8c00849b IDEA-149882 Issue with fonts in Ubuntu 12.04
Provided fallback to default font rendering settings if libfontconfig unable to
match font pattern

(cherry picked from commit d93a5f1598)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
171a6ff6c1 IDEA-151619 CLion EAP fails to start with missing symbol: FT_Library_setLcdFilter
Skip FT_Library_setLcdFilter call if the symbol is not there
Cache negative FT_Library_setLcdFilter symbol lookup result
Used RTLD_DEFAULT handler for process symbols lookup

(cherry picked from commit e6f0055704)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
53c3687542 JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
2023-02-14 07:07:41 +01:00
Vitaly Provodin
7ac353b361 exclude tests spontaneously creating windows during test execution 2023-02-14 07:07:41 +01:00
Alexey Ushakov
50abce513a JRE-48 built-in jre renders fonts abnormally heavier (normal text looks bold) than the oracle jre
Disable FT_LOAD_TARGET_LIGHT for fonts with FC_AUTOHINT=false (this target implicitly enables  FC_AUTOHINT)
Reused setupLoadRenderFlags for all rendering cases

(cherry picked from commit f3f2667a4c)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
5c9757f956 Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler

(cherry picked from commit 091d74a791)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
9d260796c5 JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
2023-02-14 07:07:41 +01:00
Anton Tarasov
4512e78aa0 JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
2023-02-14 07:07:41 +01:00
Alexey Ushakov
4259007a3d JRE-1083 [JDK11] Test com/sun/java/accessibility/util/8051626/Bug8051626.java fails on macOS on JB JDK11b
Wrapped SelectorPerformer invocation into privileged action

(cherry picked from commit 48e7b547ae)
2023-02-14 07:07:41 +01:00
Anton Tarasov
2b00991759 JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
2023-02-14 07:07:41 +01:00
Anton Tarasov
f9415b3b83 Comment assertion (originally JRE-965)
The assert line crashes debug hotspot.

(cherry picked from commit a00074a86c)
2023-02-14 07:07:41 +01:00
Anton Tarasov
57a919ac0d JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
2023-02-14 07:07:40 +01:00
Anton Tarasov
757fee57a0 JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
2023-02-14 07:07:40 +01:00
Anton Tarasov
3ed462eec0 JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader")
(cherry picked from commit eae772aca9)
2023-02-14 07:07:40 +01:00
Anton Tarasov
c2c1475715 JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
2023-02-14 07:07:40 +01:00
Anton Tarasov
9b24fbc406 JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
2023-02-14 07:07:40 +01:00
Anton Tarasov
b008364eb4 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
2023-02-14 07:07:40 +01:00
Vyacheslav Moklev
e04157019c JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state

(cherry picked from commit 5547701e2c)
2023-02-14 07:07:40 +01:00
Vyacheslav Moklev
56ff285252 JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
2023-02-14 07:07:40 +01:00
Anton Tarasov
de49a789c9 JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
2023-02-14 07:07:40 +01:00
Anton Tarasov
b6a5e19c44 JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
2023-02-14 07:07:40 +01:00
Anton Tarasov
805f8ad97e JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
2023-02-14 07:07:40 +01:00
Anton Tarasov
837c22f0c9 JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
2023-02-14 07:07:40 +01:00
Anton Tarasov
9e2e68c967 JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
2023-02-14 07:07:40 +01:00
Anton Tarasov
11832bb5a3 JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
2023-02-14 07:07:40 +01:00
Anton Tarasov
769e65fd52 JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
2023-02-14 07:07:40 +01:00
Anton Tarasov
3fdd25986a IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
2023-02-14 07:07:40 +01:00
Anton Tarasov
3dae2cfb41 JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
2023-02-14 07:07:39 +01:00
Anton Tarasov
9fad418eca JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
2023-02-14 07:07:39 +01:00
Anton Tarasov
3a1d8b259a JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
2023-02-14 07:07:39 +01:00
Anton Tarasov
dd1544ef0f JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit a879ad5739)
2023-02-14 07:07:39 +01:00
Anton Tarasov
9acef5809e JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
2023-02-14 07:07:39 +01:00
Anton Tarasov
a85c41943a JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
2023-02-14 07:07:39 +01:00
Anton Tarasov
f27f0cf777 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
2023-02-14 07:07:39 +01:00
Anton Tarasov
7a5f4aad7b JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
2023-02-14 07:07:39 +01:00
Anton Tarasov
75fea91316 fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
2023-02-14 07:07:39 +01:00
Anton Tarasov
d2b2818a54 JRE-981 IM workaround does not work anymore
forward port of 2d7c29b in JetBrains/jdk8u_jdk

(cherry picked from commit f3ccc53e02)
2023-02-14 07:07:39 +01:00
Anton Tarasov
a773b60bad JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
2023-02-14 07:07:39 +01:00
Anton Tarasov
bea7e4b84d JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
2023-02-14 07:07:39 +01:00
Anton Tarasov
cec89a4ded JRE-934 Diff viewer errors are not visible on HiDPI Linux
(cherry picked from commit 641a09dd52)
2023-02-14 07:07:39 +01:00
Anton Tarasov
d1d9bc8097 [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
2023-02-14 07:07:39 +01:00
Anton Tarasov
f42e14d1dc JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
2023-02-14 07:07:39 +01:00
Anton Tarasov
4a2a92192d Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
2023-02-14 07:07:38 +01:00
Anton Tarasov
c75ec0058f Revert "8239894: Xserver crashes when the wrong high refresh rate is used"
This code is needed for "Read org.gnome.desktop.interface/scaling-factor".
Keep it until "JDK-8260270 Implement the HiDPI scale factor reading" is fixed.

This reverts commit a7c2ebc7
2023-02-14 07:07:38 +01:00
Anton Tarasov
3898e87602 Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
2023-02-14 07:07:38 +01:00
Anton Tarasov
d14d68f751 JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
(cherry picked from commit 2bf5a7ca5c)
2023-02-14 07:07:38 +01:00
Anton Tarasov
7952ed3e4a JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit ab6dee4c1fc453ad3cb5adb69fc243e550d184ae)

(cherry picked from commit 6ea1d45fd1)
2023-02-14 07:07:38 +01:00
Anton Tarasov
b5eef1081d JRE-665 Navigate Class/File/Symbol, Find in Path popup windows don't pick characters from input method
(cherry picked from commit 676f305b2b3b278e305bd4d9bde4269f27b3d676)
(cherry picked from commit 6ce31e0a32)
2023-02-14 07:07:38 +01:00
Anton Tarasov
f8e892a606 JRE-616 [linux] notify when dpi correction factor is applied to fonts
(cherry picked from commit f57d41f3118bfd773c99ce32d58cfae16931be6a)
(cherry picked from commit 6246abc72f)
2023-02-14 07:07:38 +01:00
Anton Tarasov
a89c959a0e JRE-612 [windows] icon in frame title is not dpi-aware
(cherry picked from commit dec04385177a2abb677add909d3b94f94c62a14e)

(cherry picked from commit 38466cbab0)
2023-02-14 07:07:38 +01:00
Anton Tarasov
9775831bcd JRE-604 [fps] frame's client area is one pixel beneath frame's borders
Adopted.

(cherry picked from commit ef2870ee38)
2023-02-14 07:07:38 +01:00
Anton Tarasov
37ef4eb70d JRE-596 [windows] popup positioning is broken with JRE-573
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit c5cc28d85d)
2023-02-14 07:07:38 +01:00
Anton Tarasov
0446bd7d66 JRE-577 Goland 18 displays out of memory
(cherry picked from commit 2daaf21e420d4af15d3b1bfeb3f896074bea1e61)

(cherry picked from commit 9ea2011948)
2023-02-14 07:07:38 +01:00
Anton Tarasov
10572e4247 JRE-573 [windows] window client area bounds mismatch
Apply only WmEraseBkgnd

(cherry picked from commit afa68f7ad6440303c6417be3f675b1c4644b6014)

(cherry picked from commit 0651b45e13)
2023-02-14 07:07:38 +01:00
Anton Tarasov
31e5b98356 JRE-382 Three AWT-tests become hanging starting since master-875
(cherry picked from commit 7d492101db8fcbb3d285fd8e9669f74b0e0fce8f)
(cherry picked from commit b965f85c1b)
2023-02-14 07:07:38 +01:00
Anton Tarasov
3fdd25fae7 JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)

(cherry picked from commit aa09fa2c85)
2023-02-14 07:07:38 +01:00
Anton Tarasov
6db8aa8ce8 IDEA-172422 Popup at the wrong place on the second monitor (new hidpi)
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 11a0911d65)
2023-02-14 07:07:38 +01:00
Anton Tarasov
615183402e JRE-309 [windows] on-screen position of a component is not pixel-perfect in user space in JRE-HiDPI mode
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 985908cf10)
2023-02-14 07:07:38 +01:00
Anton Tarasov
91c73feede JRE-269 JLabel doesn't scale <code>text</code> HTML fragments.
(cherry picked from commit 9ef72b6c3a477e4225f9b98e30fa9190613520e4)
(cherry picked from commit c17bc728ee)
2023-02-14 07:07:37 +01:00
Anton Tarasov
078f033e21 JRE-225 [macos] IDEA hangs on attempt to call getDefaultScreenDevice() from EDT
(cherry picked from commit 76aba25)

(cherry picked from commit df11dcc97bb5556ac5d0299b773a512b4f0bb5bb)
(cherry picked from commit aeea6c1ca3)
2023-02-14 07:07:37 +01:00
Anton Tarasov
5c7596a8df JRE-210 JEditorPane may return wrong preferred size as it moves b/w monitors of different scale
(cherry picked from commit 6c3087e6bda32ae9b095e069d8bea614502f5c03)
(cherry picked from commit adb3a4be16)
2023-02-14 07:07:37 +01:00
Anton Tarasov
01992f8183 JRE-119 [suppress updateGC() for WFileDialogPeer/WPrintDialogPeer]
updateGC() is called from WWindowPeer.<init> though it's not applicable to the named dialogs
as they don't have native AwtWindow peer required for the method.

(cherry picked from commit 72ed9f653177e273b811cfe70c2dba102a8636e4)
(cherry picked from commit cec49aaa38)
2023-02-14 07:07:37 +01:00
Anton Tarasov
62de842b10 JRE-119 [use default "sun.java2d.dpiaware=true" to be dpi-aware on Window 7]
This lets awt_Win32GraphicsEnv.cpp SetProcessDPIAwareProperty() call Win7 specific ::SetProcessDPIAware() API func.

(cherry picked from commit 5e7a766090810d839f4352d06fc2812499d766f8)
(cherry picked from commit 7d1d43bfa1)
2023-02-14 07:07:37 +01:00
Anton Tarasov
f815d480bc JRE-119 [Dynamically set DPI-awareness level to enable backward compatible HiDPI behavior]
Adopted: rely on java.manifest

(cherry picked from commit d00cfa4dc62a14a4cf89df9d4c4899970c9fc9e8)

Adopted

(cherry picked from commit 60be76b725)
2023-02-14 07:07:37 +01:00
Anton Tarasov
0ec397f6f1 JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
(cherry picked from commit 20edebdefa)
2023-02-14 07:07:37 +01:00
Anton Tarasov
9a202b2e1c IDEA-153474 let JDK detect Xft.dpi value on non-GTK Linux DEs
Use the GTK method:

https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-get

to retrieve "gtk-xft-dpi" integer property of the X settings.

Add the property to JDK's GtkEngine & gtk2-interface.
Then read the property via GtkEngine from GTK LaF when "gnome.Xft/dpi" is undefined. It's assumed GTK LaF is forcedly installed.

(cherry picked from commit e05fc391ae0a3cc389e836441f882c0cf6ab3b99)
(cherry picked from commit fd615a5b45)
2023-02-14 07:07:37 +01:00
Anton Tarasov
e1f19272c5 IDEA-148854: AppCode crashes randomly every 15 mins or so
(cherry picked from commit 02f9a5fbb4924ff67c8a04c15e490acfcc750003)
(cherry picked from commit b8f4b4a9ed)
2023-02-14 07:07:37 +01:00
Vitaly Provodin
c1e67e29d6 updated JTreg exclude list 2023-02-14 07:07:37 +01:00
Alexey Ushakov
50402131a9 IDEA-57233, IDEA-152816, IDEA-152454 Editor font antialising/appearance problems on Linux
Used desktop DPI instead of hard-coded 72
Compensated increased glyph bitmap size by adjusting font size
Added LCD filter for sub-pixel rendering
Use fontconfig library to provide right rendering options for fonts
Corrected sizes passed to fontconfig library and hinting disabling policy
Added logging and versioned fontconfig lib loading
Resolved font rendering problem in lenses
fix text rendering issues (text cutoff and incorrect rendering in editor fragment components)
FcMatchFont-type pattern substitutions shouldn't be invoked before specific font is selected - it can apply unrelated rules
port commit e21cd635 from JBR 9
partially rollback JBR-363 fix, to apply corresponding change from OpenJDK 12

(cherry picked from commit 5d704a963b)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 0456745afb)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 4c8351fecf)
(cherry picked from commit 5faebc73d5)
(cherry picked from commit d1ed8ab118)
2023-02-14 07:07:37 +01:00
Vitaly Provodin
545ee91111 JBR-3398 remove the Experimental AOT and JIT Compiler (JEP 410) 2023-02-14 07:07:37 +01:00
Alexey Ushakov
28f4510269 JBR-2807: JDK15: update modules.list to resolve jbr build failure
removed nashorn modules
2023-02-14 07:07:37 +01:00
Vitaly Provodin
7b0ac769b6 JBR-2130 remove module jdk.pack 2023-02-14 07:07:37 +01:00
Vitaly Provodin
582319c511 JBR-4810 add VERSION_PATCH into version number string 2023-02-14 07:07:37 +01:00
Vitaly Provodin
4e3430b622 JBR-4754 make root directory with the same name as archive name 2023-02-14 07:07:36 +01:00
Nikita Provotorov
4b9962ef00 JBR-2074 Windows 10 AArch64 support: make the build scripts use custom build-jdk. 2023-02-14 07:07:36 +01:00
Nikita Provotorov
791162005b JBR-2074 Windows 10 AArch64 support: build fixes. 2023-02-14 07:07:36 +01:00
Vitaly Provodin
35d3a0b269 JBR-4567 replace comma with point in RenderPerf scores 2023-02-14 07:07:36 +01:00
Vitaly Provodin
8faad0afa3 JBR-4520 set file permissions after signing 2023-02-14 07:07:36 +01:00
Vitaly Provodin
606f46a2eb JBR-4512 windows: include pdb-files into jbrsdk 2023-02-14 07:07:36 +01:00
Vitaly Provodin
e7613cb063 JBR-4087 add version info into the name of root directory in JBR tar.gz-distributions 2023-02-14 07:07:36 +01:00
Vitaly Provodin
aeb63c59fb JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64 2023-02-14 07:07:36 +01:00
Maxim Kartashev
36dc653bf4 JBR-4064 Windows: update build scripts to produce more deterministic output
Passed the configure script options necessary to enable reproducible builds
on Windows. With this options, the resulting jars are reproducible, but
native executables and libraries aren't.
2023-02-14 07:07:36 +01:00
Vladislav Rassokhin
527fc9b40b JBR-4451 Make bash scripts safer 2023-02-14 07:07:36 +01:00
Vitaly Provodin
a0fa3f15ea JBR-4487 enable Linux 32 builds 2023-02-14 07:07:36 +01:00
Vitaly Provodin
7cbe4a91b8 JBR-4458 enable JBR17 windows 32 bit builds 2023-02-14 07:07:36 +01:00
Vitaly Provodin
5687c21a9c JBR-4272 generate and save debug symbols for JBR on macos/linux 2023-02-14 07:07:36 +01:00
Vitaly Provodin
65aa144ffd JBR-4053 integrate DCEVM patches as usual commits 2023-02-14 07:07:36 +01:00
Vitaly Provodin
8f3138f3c0 JBR-4370 create a test checking all JBR artifacts exist - add exit code 2023-02-14 07:07:36 +01:00
Nikita Provotorov
f7707515b5 JBR-2074 Windows 10 AArch64 support: add build and pack scripts. 2023-02-14 07:07:35 +01:00
Vladimir Kempik
3d3f301793 JBR-4452: Update crash report message with JBR youtrack link
instead of bugreport.java.com
2023-02-14 07:07:35 +01:00
Vitaly Provodin
5c7c51b637 JBR-4437 add sources to JBRSDK distributions for Windows and Linux 2023-02-14 07:07:35 +01:00
Vitaly Provodin
51fd83d23e JBR-4437 add sources to JBRSDK distributions 2023-02-14 07:07:35 +01:00
Anton Tarasov
9bfece0b2a JBR-3906 JBR for Linux aarch64 with JCEF is missing, is there any support plan? 2023-02-14 07:07:35 +01:00
Vitaly Provodin
41a45cc8d6 JBR-4188 add script comparing performance results
add exec permissions && fix misprint in checking if headers exist

move the script comparing performance results from jdk8u_test
2023-02-14 07:07:35 +01:00
Vladimir Kempik
99dd9a5949 JBR-4283: Provide native JBR builds for alpine Linux-aarch64 2023-02-14 07:07:35 +01:00
Vladimir Kempik
0f3711b809 JBR-4242:Provide native JBR builds for alpine Linux 2023-02-14 07:07:35 +01:00
Maxim Kartashev
369b19bde0 JBR-3917 Problem using windows certificate store (trustStoreType=Windows-ROOT not recognized) 2023-02-14 07:07:35 +01:00
Maxim Kartashev
8abd2ed47c JBR-4145 Make builds independent from build directory
Supplied the --disable-absolute-path-in-output option to the configure script
when building JBR.
2023-02-14 07:07:35 +01:00
Vitaly Provodin
516cb7d31c JBR-4154 extract version info from sources & JBR-4099 make test-image on jbrsdk_jcef step 2023-02-14 07:07:35 +01:00
Vitaly Provodin
f8bf387e9b JBR-4067 fix misprint with applying obsolete exclude_jcef_module.patch 2023-02-14 07:07:35 +01:00
Vitaly Provodin
5c3b592b05 JBR-3756 remove JNF from mac-aarch64 binaries 2023-02-14 07:07:35 +01:00
Vitaly Provodin
d0c1c5bcc0 JBR-4082 create JBR & JBRSDK installer packages 2023-02-14 07:07:35 +01:00
Maxim Kartashev
37c2476a4d JBR-4061 Specify build user for the build 2023-02-14 07:07:35 +01:00
Maxim Kartashev
11070e0289 JBR-4063 macOS: update build scripts to produce more deterministic output
Make mkimages.sh produce more deterministic .tar.gz archives on MacOS.
NB: build notarization is not in the scope of this change.

(cherry picked from commit e1a1b6814d)
2023-02-14 07:07:35 +01:00
Maxim Kartashev
040c87c4ae JBR-4033 Linux: update build scripts to produce more deterministic output
This commits achieves almost the same build output with the same build
input on Linux. Exceptions are:
- class files timestamps differ in jrt-fs.jar (for all output),
- class files timestamps differ in all the jmod files (for
  jbrsdk...tar.gz).
NB: jbrsdk...test...tar.gz does not need to be deterministic.

This was achieved mainly by
- setting several environment variables (SOURCE_DATE_EPOCH, TZ),
- providing the necessary options to the configure script,
- setting the timestamp of all files that make up the resulting
  archive to SORUCE_DATE_EPOCH and normalizing the list of said
  files before archiving.

(cherry picked from commit ffded82734)
2023-02-14 07:07:34 +01:00
Maxim Kartashev
6ed50760f4 JBR-4059 Create Dockerfile for building on AArch64 Linux 2023-02-14 07:07:34 +01:00
Vitaly Provodin
b43144509c JBR-3905 add incremental JBR building 2023-02-14 07:07:34 +01:00
Vitaly Provodin
fd10df7a42 JBR-3904 fix the image directory name of macos builds 2023-02-14 07:07:34 +01:00
Vitaly Provodin
06c05f6dd4 configure BOOT_JDK to use JDK 17 2023-02-14 07:07:34 +01:00
Anton Tarasov
0cf940b755 JBR-3655 jbr-dev build fails to find jcef modules on Windows 2023-02-14 07:07:34 +01:00
Maxim Kartashev
2c7c6722a7 JBR-3645 Tool to support keeping JBR in sync with OpenJDK 2023-02-14 07:07:34 +01:00
Vitaly Provodin
d6d16ae820 JBR-3639 add jbrsdk tarballs for dcevm, jcef builds 2023-02-14 07:07:34 +01:00
Anton Tarasov
3ddb181145 JBR-3627 include jmods in jbrsdk bundle for jbr-dev 2023-02-14 07:07:34 +01:00
Vitaly.Provodin
2a01f1d547 add dockerfile for x86
(cherry picked from commit 8fb2341ea8)
2023-02-14 07:07:34 +01:00
Vitaly Provodin
2854d3461b JBR-1505 add jdk.jcmd module into JBR
(cherry picked from commit c40b9c8b9e)
2023-02-14 07:07:34 +01:00
Vitaly Provodin
07486edbd9 JBR-2957 notarize JBR and JBRSDK as APPL
(cherry picked from commit 0e7f9ce4ca)
2023-02-14 07:07:34 +01:00
Vitaly Provodin
2523774c7f JBR-667 add shenandoahgc feature
(cherry picked from commit e15dad04)
2023-02-14 07:07:34 +01:00
Vitaly Provodin
613a30f5de configure BOOT_JDK to use JDK 16 2023-02-14 07:07:34 +01:00
Anton Tarasov
e2e671f651 Add build.gradle 2023-02-14 07:07:34 +01:00
Vitaly Provodin
f0be42539a JBR-3401 enable macos-aarhc64 builds 2023-02-14 07:07:34 +01:00
Vitaly Provodin
559bdf5df5 JBR-3305 remove the option --disable-warnings-as-errors from configure 2023-02-14 07:07:33 +01:00
Vitaly Provodin
10c89b7908 JBR-2922 add JCEF to jbrsdk binaries
& fix a misprint in get_mods_list

JBR-2922 add JCEF to jbrsdk binaries

& fix a misprint in get_mods_list
2023-02-14 07:07:33 +01:00
Vitaly Provodin
861a1b5357 JBR-2912 add JBR 15 builds with DCEVM 2023-02-14 07:07:33 +01:00
Vitaly Provodin
c2ff68d6f9 JBR-2864 initial commit of DCEVM patches reworked for 15 2023-02-14 07:07:33 +01:00
Vitaly Provodin
382a015b4e JBR-2812 remove --with-import-modules from configure for aarch64 2023-02-14 07:07:33 +01:00
Anton Tarasov
4288f1c60c JBR-2812 bundle jcef in jmod format instead of modular-sdk
Build test-image with non-jcef build target
2023-02-14 07:07:33 +01:00
Vitaly Provodin
a71c536d96 JBR-2787 fix copying jcef files into jbr/jbrsdk binaries 2023-02-14 07:07:33 +01:00
Vitaly Provodin
3814ccbd15 JBR-2758 refactor building scripts to apply patches adding required modules instead of excluding
Add jogl and gluegen modules to support jcef osr mode
2023-02-14 07:07:33 +01:00
Anton Tarasov
f8723a9a75 JBR-2016 add jcef module and export packages to it
(cherry picked from commit cf997f71c6)
2023-02-14 07:07:33 +01:00
Vitaly Provodin
fa7361d39e JBR-2473 modify building scripts to add dcevm clauses, add git config to docker image
(cherry picked from commit 2620c62848)
2023-02-14 07:07:33 +01:00
Vitaly Provodin
bbb6add6f1 JBR-2395 eliminate JavaFX from JBR 2023-02-14 07:07:33 +01:00
Vitaly Provodin
f89bd6d5a8 JBR-2409 fix prameters for configure 2023-02-14 07:07:33 +01:00
Vitaly Provodin
2c776eda5a JDK14: exclude dependencies on jcef in x86, fastdebug builds 2023-02-14 07:07:33 +01:00
Vitaly Provodin
2e9dad5134 JBR-2396 fix CONF names 2023-02-14 07:07:33 +01:00
Vitaly Provodin
cbb107e408 JBR-2394 replace --disable-debug-symbols with --with-native-debug-symbols=none 2023-02-14 07:07:33 +01:00
Vitaly Provodin
b51ac56843 add exec permitions to configure 2023-02-14 07:07:32 +01:00
Vitaly Provodin
c98e982848 split checkout before building JBR+JFX or JBR+JCEF on two separate commands 2023-02-14 07:07:32 +01:00
Vitaly Provodin
0d161d8082 change BOOT_JDK, fix target names 2023-02-14 07:07:32 +01:00
Vitaly Provodin
d7e44bec96 JBR-2291 add vendor info into bundles 2023-02-14 07:07:32 +01:00
Vitaly Provodin
8e7c60b244 JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122 2023-02-14 07:07:32 +01:00
Vitaly Provodin
9b6525b27c JBR-2320 add jdk.attach module into JBR 2023-02-14 07:07:32 +01:00
Vitaly Provodin
6821af9434 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches 2023-02-14 07:07:32 +01:00
Vitaly Provodin
87e1a90471 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86 2023-02-14 07:07:32 +01:00
Vitaly Provodin
cd9207c6e1 JBR-1643 fix intermittent fialures of Windows builds at make/Init.gmk:304
combine images and test-image into one make invocation
2023-02-14 07:07:32 +01:00
Vitaly Provodin
fa80fefde4 JBR-2181 create two separate JBR bundles with JFX and JFX+JCEF 2023-02-14 07:07:32 +01:00
Vitaly Provodin
0418b00c87 JBR-2148 modify signapp&build scripts to match to the new layout 2023-02-14 07:07:32 +01:00
Vitaly Provodin
cd608be571 JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file 2023-02-14 07:07:32 +01:00
Vitaly Provodin
9f7c725cdf JBR-1821 notarize JBR bundles as a standalone app 2023-02-14 07:07:32 +01:00
Vitaly Provodin
96dfcfad9b JBR-2162 move building scripts from TC to JBR repo 2023-02-14 07:07:32 +01:00
Anton Tarasov
c4ab7e794c JBR-2016 add jcef module and export some sun.* packages to it 2023-02-14 07:07:32 +01:00
Vitaly Provodin
f3fa2cbbcf JBR-2014 add jdk.hotspot.agent module to jbr 2023-02-14 07:07:31 +01:00
Vitaly Provodin
2ec77997f6 JBR-1286 add jdk.compiler into JBR 2023-02-14 07:07:31 +01:00
Vitaly Provodin
41bbbff014 JBR-1199 add JBR modules list for jlink 2023-02-14 07:07:31 +01:00
Vitaly Provodin
384fd98545 Update docker script to create jdk15 build env 2023-02-14 07:07:31 +01:00
Vitaly Provodin
85d69cd0b9 JBR-3045 add pressing ESC to close the dialog after test completion
(cherry picked from commit 44d8b28b0b)
2023-02-14 07:07:31 +01:00
Vitaly Provodin
9b5e991466 JBR-3040 press the button END at the beggining in order to avoid text selection
(cherry picked from commit 1c2bf33db2)
2023-02-14 07:07:31 +01:00
Vitaly.Provodin
934fdf4cba updated JTreg exclude list 2023-02-14 07:07:31 +01:00
16301 changed files with 1230305 additions and 455356 deletions

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

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
#
name: 'Get JTReg'
description: 'Download JTReg from cache or source location'
description: 'Get JTReg'
outputs:
path:
description: 'Path to the installed JTReg'
@@ -39,30 +39,12 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_11_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,7 +30,7 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
uses: msys2/setup-msys2@v2
uses: msys2/setup-msys2@v2.22.0
with:
install: 'autoconf tar unzip zip make'
path-type: minimal

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

41
.github/scripts/report-utils.sh vendored Normal file
View File

@@ -0,0 +1,41 @@
#!/bin/bash
#
# 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. 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.
#
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
}

View File

@@ -31,12 +31,6 @@ on:
gcc-major-version:
required: true
type: string
apt-gcc-version:
required: true
type: string
apt-gcc-cross-version:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -67,32 +61,36 @@ jobs:
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: arm
gnu-arch: arm
debian-arch: armhf
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
gnu-abi: eabihf
- target-cpu: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: ppc64le
gnu-arch: powerpc64le
debian-arch: ppc64el
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: riscv64
gnu-arch: riscv64
debian-arch: riscv64
debian-repository: https://deb.debian.org/debian-ports
debian-keyring: /usr/share/keyrings/debian-ports-archive-keyring.gpg
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
tolerate-sysroot-errors: true
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -100,12 +98,9 @@ jobs:
with:
platform: linux-x64
# Use linux-x64 JDK bundle as build JDK
- name: 'Get build JDK'
id: buildjdk
uses: ./.github/actions/get-bundles
with:
platform: linux-x64
- name: 'Get GTest'
id: gtest
uses: ./.github/actions/get-gtest
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
@@ -114,17 +109,16 @@ jobs:
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install \
gcc-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
g++-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
debian-ports-archive-keyring
gcc-${{ inputs.gcc-major-version }} \
g++-${{ inputs.gcc-major-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
- name: 'Check cache for sysroot'
id: get-cached-sysroot
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
@@ -134,16 +128,19 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
--resolve-deps
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
--variant=minbase
${{ matrix.debian-version }}
sysroot
${{ matrix.debian-repository }}
continue-on-error: ${{ matrix.tolerate-sysroot-errors }}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Prepare sysroot'
@@ -153,8 +150,17 @@ jobs:
sudo chown ${USER} -R sysroot
rm -rf sysroot/{dev,proc,run,sys,var}
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,udev,systemd}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -162,12 +168,12 @@ jobs:
--with-conf-name=linux-${{ matrix.target-cpu }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--with-zlib=system
--enable-debug
--disable-precompiled-headers
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}
--with-sysroot=sysroot
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
@@ -175,6 +181,7 @@ jobs:
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
- name: 'Build'
id: build
@@ -182,3 +189,4 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

View File

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

View File

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

View File

@@ -79,7 +79,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -98,12 +98,26 @@ jobs:
id: gtest
uses: ./.github/actions/get-gtest
- name: 'Check toolchain installed'
id: toolchain-check
run: |
set +e
'/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
if [ $? -eq 0 ]; then
echo "Toolchain is already installed"
echo "toolchain-installed=true" >> $GITHUB_OUTPUT
else
echo "Toolchain is not yet installed"
echo "toolchain-installed=false" >> $GITHUB_OUTPUT
fi
- name: 'Install toolchain and dependencies'
run: |
# Run Visual Studio Installer
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
modify --quiet --installPath 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise' \
modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
if: steps.toolchain-check.outputs.toolchain-installed != 'true'
- name: 'Configure'
run: >

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,16 +26,12 @@
name: 'OpenJDK GHA Sanity Checks'
on:
push:
branches-ignore:
- master
- pr/*
workflow_dispatch:
inputs:
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
@@ -53,13 +49,14 @@ 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-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
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 }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
@@ -68,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: |
@@ -110,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
@@ -125,83 +134,78 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
build-linux-x86-hs:
name: linux-x86-hs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
make-target: 'hotspot'
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
if: needs.prepare.outputs.linux-x86-hs == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -209,52 +213,48 @@ jobs:
# Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-gcc-cross-version: '10.4.0-4ubuntu1~22.04cross1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -262,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
@@ -276,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
@@ -290,10 +290,9 @@ jobs:
# build JDK, and we do not need the additional testing of the graphs.
extra-conf-options: '--disable-full-docs'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -309,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:
@@ -327,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
@@ -346,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
@@ -357,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

270
.github/workflows/pr.yml vendored Normal file
View File

@@ -0,0 +1,270 @@
#
# Copyright 2000-2023 JetBrains s.r.o.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
name: 'Build OpenJDK on pull request'
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
###
### Determine platforms to include
###
select:
name: 'Select platforms'
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
windows-x64: ${{ steps.include.outputs.windows-x64 }}
windows-aarch64: ${{ steps.include.outputs.windows-aarch64 }}
windows-x86: ${{ steps.include.outputs.windows-x86 }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Check what jobs to run'
id: include
run: |
# Determine which platform jobs to run
# Returns 'true' if the input platform list matches any of the platform monikers given as argument,
# 'false' otherwise.
# arg $1: platform name or names to look for
function check_platform() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
elif [[ $GITHUB_EVENT_NAME == push ]]; then
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
>&2 echo 'JDK_SUBMIT_FILTER is set and not a "submit/" branch'
echo 'false'
return
else
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
fi
fi
normalized_input="$(echo ,$input, | tr -d ' ')"
if [[ "$normalized_input" == ",," ]]; then
# For an empty input, assume all platforms should run
echo 'true'
return
else
# Check for all acceptable platform names
for part in $* ; do
if echo "$normalized_input" | grep -q -e ",$part," ; then
echo 'true'
return
fi
done
fi
echo 'false'
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
echo "macos-aarch64=$(check_platform macos-aarch64 macos aarch64)" >> $GITHUB_OUTPUT
echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
echo "windows-x86=$(check_platform windows-x86 windows x86)" >> $GITHUB_OUTPUT
echo "windows-aarch64=$(check_platform windows-aarch64 windows aarch64)" >> $GITHUB_OUTPUT
echo "docs=$(check_platform docs)" >> $GITHUB_OUTPUT
###
### Build jobs
###
build-linux-x64:
name: linux-x64
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
build-linux-x86:
name: linux-x86
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-gcc-cross-version: '10.4.0-4ubuntu1~22.04cross1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
build-macos-x64:
name: macos-x64
needs: select
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
build-windows-x86:
name: windows-x86
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x86
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x86 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
debug-levels: '[ "debug" ]'
make-target: 'docs-jdk-bundles'
# Make sure we never try to make full docs, since that would require a
# build JDK, and we do not need the additional testing of the graphs.
extra-conf-options: '--disable-full-docs'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
# Remove bundles so they are not misconstrued as binary distributions from the JDK project
remove-bundles:
name: 'Remove bundle artifacts'
runs-on: ubuntu-22.04
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-cross-compile
- build-macos-x64
- build-macos-aarch64
- build-windows-x64
- build-windows-aarch64
- build-windows-x86
steps:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v6
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'
- name: 'Remove bundle artifacts'
run: |
# Find and remove all bundle artifacts
ALL_ARTIFACT_URLS="$(curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
'${{ fromJson(steps.api.outputs.result).url }}_apis/pipelines/workflows/${{ github.run_id }}/artifacts?api-version=6.0-preview')"
BUNDLE_ARTIFACT_URLS="$(echo "$ALL_ARTIFACT_URLS" | jq -r -c '.value | map(select(.name|startswith("bundles-"))) | .[].url')"
for url in $BUNDLE_ARTIFACT_URLS; do
echo "Removing $url"
curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
-X DELETE "$url" \
|| echo "Failed to remove bundle"
done

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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,10 +63,14 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
- 'lib-test/tier1'
include:
- test-name: 'jdk/tier1 part 1'
@@ -82,8 +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'
@@ -98,9 +117,13 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_serviceability'
debug-suffix: -debug
- test-name: 'lib-test/tier1'
test-suite: 'test/lib-test/:tier1'
debug-suffix: -debug
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -127,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'
@@ -191,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 }}
@@ -199,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'

6
.gitignore vendored
View File

@@ -18,3 +18,9 @@ NashornProfile.txt
/src/utils/LogCompilation/target/
/.project/
/.settings/
/.project
/.classpath
/.cproject
/compile_commands.json
/.cache
/jbr-api/

View File

@@ -1,10 +1,11 @@
[general]
project=jdk
project=jdk-updates
jbs=JDK
version=21
version=21.0.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)

258
README.md
View File

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

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

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

View File

@@ -130,7 +130,7 @@ install_jib() {
fi
# Want to check the filetype using file, to see if we got served a HTML error page.
# This is sensitive to the filename containing a specific string, but good enough.
file ${installed_jib_script}.gz | grep "gzip compressed data" > /dev/null
file "${installed_jib_script}.gz" | grep "gzip compressed data" > /dev/null
if [ $? -ne 0 ]; then
echo "Warning: ${installed_jib_script}.gz is not a gzip file."
echo "If you are behind a proxy you may need to configure exceptions using no_proxy."

0
configure vendored Normal file → Executable file
View File

View File

@@ -80,6 +80,7 @@ id="toc-getting-jdk-binaries">Getting JDK binaries</a></li>
id="toc-external-library-requirements">External Library Requirements</a>
<ul>
<li><a href="#freetype" id="toc-freetype">FreeType</a></li>
<li><a href="#fontconfig" id="toc-fontconfig">Fontconfig</a></li>
<li><a href="#cups" id="toc-cups">CUPS</a></li>
<li><a href="#x11" id="toc-x11">X11</a></li>
<li><a href="#alsa" id="toc-alsa">ALSA</a></li>
@@ -134,6 +135,8 @@ id="toc-cross-compiling-with-debian-sysroots">Cross compiling with
Debian sysroots</a></li>
<li><a href="#building-for-armaarch64"
id="toc-building-for-armaarch64">Building for ARM/aarch64</a></li>
<li><a href="#building-for-risc-v" id="toc-building-for-risc-v">Building
for RISC-V</a></li>
<li><a href="#building-for-musl" id="toc-building-for-musl">Building for
musl</a></li>
<li><a href="#verifying-the-build"
@@ -321,6 +324,7 @@ GB of free disk space is required.</p>
<p>Even for 32-bit builds, it is recommended to use a 64-bit build
machine, and instead create a 32-bit target using
<code>--with-target-bits=32</code>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of
RAM. (The more cores to use, the more memory you need.) At least 6 GB of
@@ -351,22 +355,22 @@ to date at the time of writing.</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Vendor/version used</th>
<th>Operating system</th>
<th>Vendor/version used</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.6</td>
<td>Linux</td>
<td>Oracle Enterprise Linux 6.4 / 7.6</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Mac OS X 10.13 (High Sierra)</td>
<td>macOS</td>
<td>Mac OS X 10.13 (High Sierra)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Windows Server 2012 R2</td>
<td>Windows</td>
<td>Windows Server 2012 R2</td>
</tr>
</tbody>
</table>
@@ -397,6 +401,7 @@ to the build system, e.g. in arguments to <code>configure</code>. So,
use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than
<code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this
conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
is required for building the JDK on Windows. If you have a 64-bit OS, we
@@ -564,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>
@@ -675,6 +679,19 @@ copy.</p>
<p>Use <code>--with-freetype-include=&lt;path&gt;</code> and
<code>--with-freetype-lib=&lt;path&gt;</code> if <code>configure</code>
does not automatically locate the platform FreeType files.</p>
<h3 id="fontconfig">Fontconfig</h3>
<p>Fontconfig from <a href="http://fontconfig.org">freedesktop.org
Fontconfig</a> is required on all platforms except Windows and
macOS.</p>
<ul>
<li>To install on an apt-based Linux, try running
<code>sudo apt-get install libfontconfig-dev</code>.</li>
<li>To install on an rpm-based Linux, try running
<code>sudo yum install fontconfig-devel</code>.</li>
</ul>
<p>Use <code>--with-fontconfig-include=&lt;path&gt;</code> and
<code>--with-fontconfig=&lt;path&gt;</code> if <code>configure</code>
does not automatically locate the platform Fontconfig files.</p>
<h3 id="cups">CUPS</h3>
<p>CUPS, <a href="http://www.cups.org">Common UNIX Printing System</a>
header files are required on all platforms, except Windows. Often these
@@ -1087,7 +1104,7 @@ home, i.e. the top directory, containing <code>lib/jtreg.jar</code>
etc.</p>
<p>The <a href="https://wiki.openjdk.org/display/Adoption">Adoption
Group</a> provides recent builds of jtreg <a
href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>.
href="https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>.
Download the latest <code>.tar.gz</code> file, unpack it, and point
<code>--with-jtreg</code> to the <code>jtreg</code> directory that you
just unpacked.</p>
@@ -1193,27 +1210,27 @@ following targets are known to work:</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Supported devkit targets</th>
<th>Supported devkit targets</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86_64-linux-gnu</td>
<td>x86_64-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">aarch64-linux-gnu</td>
<td>aarch64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">arm-linux-gnueabihf</td>
<td>arm-linux-gnueabihf</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64-linux-gnu</td>
<td>ppc64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">ppc64le-linux-gnu</td>
<td>ppc64le-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">s390x-linux-gnu</td>
<td>s390x-linux-gnu</td>
</tr>
</tbody>
</table>
@@ -1376,10 +1393,10 @@ No such file or directory cp: cannot stat
Debian sysroots</h3>
<p>Fortunately, you can create sysroots for foreign architectures with
tools provided by your OS. On Debian/Ubuntu systems, one could use
<code>qemu-deboostrap</code> to create the <em>target</em> system
chroot, which would have the native libraries and headers specific to
that <em>target</em> system. After that, we can use the cross-compiler
on the <em>build</em> system, pointing into chroot to get the build
<code>debootstrap</code> to create the <em>target</em> system chroot,
which would have the native libraries and headers specific to that
<em>target</em> system. After that, we can use the cross-compiler on the
<em>build</em> system, pointing into chroot to get the build
dependencies right. This allows building for foreign architectures with
native compilation speed.</p>
<p>For example, cross-compiling to AArch64 from x86_64 could be done
@@ -1389,7 +1406,7 @@ like this:</p>
<code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></p></li>
<li><p>Create chroot on the <em>build</em> system, configuring it for
<em>target</em> system:
<code>sudo qemu-debootstrap \ --arch=arm64 \ --verbose \ --include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \ --resolve-deps \ buster \ ~/sysroot-arm64 \ http://httpredir.debian.org/debian/</code></p></li>
<code>sudo debootstrap \ --arch=arm64 \ --verbose \ --include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \ --resolve-deps \ buster \ ~/sysroot-arm64 \ http://httpredir.debian.org/debian/ # If the target architecture is `riscv64`, # the path should be `debian-ports` instead of `debian`.</code></p></li>
<li><p>Make sure the symlinks inside the newly created chroot point to
proper locations:
<code>sudo chroot ~/sysroot-arm64 symlinks -cr .</code></p></li>
@@ -1415,107 +1432,121 @@ example <code>${sysroot}/usr/lib/${target}/</code></p></li>
<p>Architectures that are known to successfully cross-compile like this
are:</p>
<table>
<colgroup>
<col style="width: 13%" />
<col style="width: 13%" />
<col style="width: 15%" />
<col style="width: 27%" />
<col style="width: 29%" />
</colgroup>
<thead>
<tr class="header">
<th style="text-align: left;">Target</th>
<th style="text-align: left;">Debian tree</th>
<th style="text-align: left;">Debian arch</th>
<th style="text-align: left;"><code>--openjdk-target=...</code></th>
<th>Target</th>
<th>Debian tree</th>
<th>Debian arch</th>
<th><code>--openjdk-target=...</code></th>
<th><code>--with-jvm-variants=...</code></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">i386</td>
<td style="text-align: left;">i386-linux-gnu</td>
<td>x86</td>
<td>buster</td>
<td>i386</td>
<td>i386-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">arm</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">armhf</td>
<td style="text-align: left;">arm-linux-gnueabihf</td>
<td>arm</td>
<td>buster</td>
<td>armhf</td>
<td>arm-linux-gnueabihf</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">aarch64</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">arm64</td>
<td style="text-align: left;">aarch64-linux-gnu</td>
<td>aarch64</td>
<td>buster</td>
<td>arm64</td>
<td>aarch64-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64le</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">ppc64el</td>
<td style="text-align: left;">powerpc64le-linux-gnu</td>
<td>ppc64le</td>
<td>buster</td>
<td>ppc64el</td>
<td>powerpc64le-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">s390x-linux-gnu</td>
<td>s390x</td>
<td>buster</td>
<td>s390x</td>
<td>s390x-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="even">
<td style="text-align: left;">mipsle</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">mipsel</td>
<td style="text-align: left;">mipsel-linux-gnu</td>
<td>mipsle</td>
<td>buster</td>
<td>mipsel</td>
<td>mipsel-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">mips64le</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">mips64el</td>
<td style="text-align: left;">mips64el-linux-gnueabi64</td>
<td>mips64le</td>
<td>buster</td>
<td>mips64el</td>
<td>mips64el-linux-gnueabi64</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">armel</td>
<td style="text-align: left;">buster</td>
<td style="text-align: left;">arm</td>
<td style="text-align: left;">arm-linux-gnueabi</td>
<td>armel</td>
<td>buster</td>
<td>arm</td>
<td>arm-linux-gnueabi</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">ppc</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">powerpc</td>
<td style="text-align: left;">powerpc-linux-gnu</td>
<td>ppc</td>
<td>sid</td>
<td>powerpc</td>
<td>powerpc-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64be</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">ppc64</td>
<td style="text-align: left;">powerpc64-linux-gnu</td>
<td>ppc64be</td>
<td>sid</td>
<td>ppc64</td>
<td>powerpc64-linux-gnu</td>
<td>(all)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">m68k</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">m68k</td>
<td style="text-align: left;">m68k-linux-gnu</td>
<td>m68k</td>
<td>sid</td>
<td>m68k</td>
<td>m68k-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="even">
<td style="text-align: left;">alpha</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">alpha</td>
<td style="text-align: left;">alpha-linux-gnu</td>
<td>alpha</td>
<td>sid</td>
<td>alpha</td>
<td>alpha-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="odd">
<td style="text-align: left;">sh4</td>
<td style="text-align: left;">sid</td>
<td style="text-align: left;">sh4</td>
<td style="text-align: left;">sh4-linux-gnu</td>
<td>sh4</td>
<td>sid</td>
<td>sh4</td>
<td>sh4-linux-gnu</td>
<td>zero</td>
</tr>
<tr class="even">
<td>riscv64</td>
<td>sid</td>
<td>riscv64</td>
<td>riscv64-linux-gnu</td>
<td>(all)</td>
</tr>
</tbody>
</table>
<h3 id="building-for-armaarch64">Building for ARM/aarch64</h3>
@@ -1525,6 +1556,21 @@ profiles are available using <code>--with-abi-profile</code>:
arm-vfp-sflt, arm-vfp-hflt, arm-sflt, armv5-vfp-sflt, armv6-vfp-hflt.
Note that soft-float ABIs are no longer properly supported by the
JDK.</p>
<h3 id="building-for-risc-v">Building for RISC-V</h3>
<p>The RISC-V community provides a basic <a
href="https://github.com/riscv-collab/riscv-gnu-toolchain">GNU compiler
toolchain</a>, but the <a href="#External-Library-Requirements">external
libraries</a> required by OpenJDK complicate the building process. The
placeholder <code>&lt;toolchain-installed-path&gt;</code> shown below is
the path where you want to install the toolchain.</p>
<ul>
<li><p>Install the RISC-V GNU compiler toolchain:
<code>git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain cd riscv-gnu-toolchain ./configure --prefix=&lt;toolchain-installed-path&gt; make linux export PATH=&lt;toolchain-installed-path&gt;/bin:$PATH</code></p></li>
<li><p>Cross-compile all the required libraries:
<code># An example for libffi git clone https://github.com/libffi/libffi cd libffi ./configure --host=riscv64-unknown-linux-gnu --prefix=&lt;toolchain-installed-path&gt;/sysroot/usr make make install</code></p></li>
<li><p>Configure and build OpenJDK:
<code>bash configure \ --with-boot-jdk=$BOOT_JDK \ --openjdk-target=riscv64-linux-gnu \ --with-sysroot=&lt;toolchain-installed-path&gt;/sysroot \ --with-toolchain-path=&lt;toolchain-installed-path&gt;/bin \ --with-extra-path=&lt;toolchain-installed-path&gt;/bin make images</code></p></li>
</ul>
<h3 id="building-for-musl">Building for musl</h3>
<p>Just like it's possible to cross-compile for a different CPU, it's
possible to cross-compile for musl libc on a glibc-based <em>build</em>

View File

@@ -126,6 +126,8 @@ space is required.
Even for 32-bit builds, it is recommended to use a 64-bit build machine, and
instead create a 32-bit target using `--with-target-bits=32`.
Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.
### Building on aarch64
At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM.
@@ -162,11 +164,11 @@ This table lists the OS versions used by Oracle when building the JDK. Such
information is always subject to change, but this table is up to date at the
time of writing.
Operating system Vendor/version used
----------------- -------------------------------------------------------
Linux Oracle Enterprise Linux 6.4 / 7.6
macOS Mac OS X 10.13 (High Sierra)
Windows Windows Server 2012 R2
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
used at Oracle, where header files and external libraries from an older version
@@ -199,6 +201,8 @@ rule also applies to input to the build system, e.g. in arguments to
`--with-msvcr-dll=c:\msvcr100.dll`. For details on this conversion, see the section
on [Fixpath](#fixpath).
Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.
#### Cygwin
A functioning [Cygwin](http://www.cygwin.com/) environment is required for
@@ -362,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:
@@ -471,6 +472,19 @@ rather than bundling the JDK's own copy.
Use `--with-freetype-include=<path>` and `--with-freetype-lib=<path>`
if `configure` does not automatically locate the platform FreeType files.
### Fontconfig
Fontconfig from [freedesktop.org Fontconfig](http://fontconfig.org) is required
on all platforms except Windows and macOS.
* To install on an apt-based Linux, try running `sudo apt-get install
libfontconfig-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
fontconfig-devel`.
Use `--with-fontconfig-include=<path>` and `--with-fontconfig=<path>`
if `configure` does not automatically locate the platform Fontconfig files.
### CUPS
CUPS, [Common UNIX Printing System](http://www.cups.org) header files are
@@ -860,7 +874,7 @@ containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.org/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.
@@ -970,14 +984,14 @@ https://sourceware.org/autobook/autobook/autobook_17.html). If no
targets are given, a native toolchain for the current platform will be
created. Currently, at least the following targets are known to work:
Supported devkit targets
-------------------------
x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
ppc64-linux-gnu
ppc64le-linux-gnu
s390x-linux-gnu
| Supported devkit targets |
| ------------------------ |
| x86_64-linux-gnu |
| aarch64-linux-gnu |
| arm-linux-gnueabihf |
| ppc64-linux-gnu |
| ppc64le-linux-gnu |
| s390x-linux-gnu |
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or
"Fedora" (if not specified "OEL6" will be the default). If the base OS
@@ -1147,7 +1161,7 @@ Note that X11 is needed even if you only want to build a headless JDK.
### Cross compiling with Debian sysroots
Fortunately, you can create sysroots for foreign architectures with tools
provided by your OS. On Debian/Ubuntu systems, one could use `qemu-deboostrap` to
provided by your OS. On Debian/Ubuntu systems, one could use `debootstrap` to
create the *target* system chroot, which would have the native libraries and headers
specific to that *target* system. After that, we can use the cross-compiler on the *build*
system, pointing into chroot to get the build dependencies right. This allows building
@@ -1162,7 +1176,7 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
* Create chroot on the *build* system, configuring it for *target* system:
```
sudo qemu-debootstrap \
sudo debootstrap \
--arch=arm64 \
--verbose \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
@@ -1170,6 +1184,8 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/
# If the target architecture is `riscv64`,
# the path should be `debian-ports` instead of `debian`.
```
* Make sure the symlinks inside the newly created chroot point to proper locations:
@@ -1202,21 +1218,22 @@ it might require a little nudge with:
Architectures that are known to successfully cross-compile like this are:
Target Debian tree Debian arch `--openjdk-target=...` `--with-jvm-variants=...`
------------ ------------ ------------- ------------------------ --------------
x86 buster i386 i386-linux-gnu (all)
arm buster armhf arm-linux-gnueabihf (all)
aarch64 buster arm64 aarch64-linux-gnu (all)
ppc64le buster ppc64el powerpc64le-linux-gnu (all)
s390x buster s390x s390x-linux-gnu (all)
mipsle buster mipsel mipsel-linux-gnu zero
mips64le buster mips64el mips64el-linux-gnueabi64 zero
armel buster arm arm-linux-gnueabi zero
ppc sid powerpc powerpc-linux-gnu zero
ppc64be sid ppc64 powerpc64-linux-gnu (all)
m68k sid m68k m68k-linux-gnu zero
alpha sid alpha alpha-linux-gnu zero
sh4 sid sh4 sh4-linux-gnu zero
| Target | Debian tree | Debian arch | `--openjdk-target=...` | `--with-jvm-variants=...` |
| ------------ | ------------ | ------------- | ------------------------ | ------------------------- |
| x86 | buster | i386 | i386-linux-gnu | (all) |
| arm | buster | armhf | arm-linux-gnueabihf | (all) |
| aarch64 | buster | arm64 | aarch64-linux-gnu | (all) |
| ppc64le | buster | ppc64el | powerpc64le-linux-gnu | (all) |
| s390x | buster | s390x | s390x-linux-gnu | (all) |
| mipsle | buster | mipsel | mipsel-linux-gnu | zero |
| mips64le | buster | mips64el | mips64el-linux-gnueabi64 | zero |
| armel | buster | arm | arm-linux-gnueabi | zero |
| ppc | sid | powerpc | powerpc-linux-gnu | zero |
| ppc64be | sid | ppc64 | powerpc64-linux-gnu | (all) |
| m68k | sid | m68k | m68k-linux-gnu | zero |
| alpha | sid | alpha | alpha-linux-gnu | zero |
| sh4 | sid | sh4 | sh4-linux-gnu | zero |
| riscv64 | sid | riscv64 | riscv64-linux-gnu | (all) |
### Building for ARM/aarch64
@@ -1226,6 +1243,44 @@ available using `--with-abi-profile`: arm-vfp-sflt, arm-vfp-hflt, arm-sflt,
armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer
properly supported by the JDK.
### Building for RISC-V
The RISC-V community provides a basic
[GNU compiler toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain),
but the [external libraries](#External-Library-Requirements) required by OpenJDK
complicate the building process. The placeholder `<toolchain-installed-path>`
shown below is the path where you want to install the toolchain.
* Install the RISC-V GNU compiler toolchain:
```
git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain
cd riscv-gnu-toolchain
./configure --prefix=<toolchain-installed-path>
make linux
export PATH=<toolchain-installed-path>/bin:$PATH
```
* Cross-compile all the required libraries:
```
# An example for libffi
git clone https://github.com/libffi/libffi
cd libffi
./configure --host=riscv64-unknown-linux-gnu --prefix=<toolchain-installed-path>/sysroot/usr
make
make install
```
* Configure and build OpenJDK:
```
bash configure \
--with-boot-jdk=$BOOT_JDK \
--openjdk-target=riscv64-linux-gnu \
--with-sysroot=<toolchain-installed-path>/sysroot \
--with-toolchain-path=<toolchain-installed-path>/bin \
--with-extra-path=<toolchain-installed-path>/bin
make images
```
### Building for musl
Just like it's possible to cross-compile for a different CPU, it's possible to

View File

@@ -82,6 +82,7 @@ id="toc-uniform-initialization">Uniform Initialization</a></li>
id="toc-local-function-objects">Local Function Objects</a></li>
<li><a href="#inheriting-constructors"
id="toc-inheriting-constructors">Inheriting constructors</a></li>
<li><a href="#attributes" id="toc-attributes">Attributes</a></li>
<li><a href="#additional-permitted-features"
id="toc-additional-permitted-features">Additional Permitted
Features</a></li>
@@ -597,10 +598,17 @@ conventions might appear jarring and reduce readability.</p></li>
<code>std::nothrow</code>, and <code>std::nothrow_t</code>.</li>
<li><code>#include &lt;limits&gt;</code> to use
<code>std::numeric_limits</code>.</li>
<li><code>#include &lt;type_traits&gt;</code>.</li>
<li><code>#include &lt;type_traits&gt;</code> with some restrictions,
listed below.</li>
<li><code>#include &lt;cstddef&gt;</code> to use
<code>std::nullptr_t</code> and <code>std::max_align_t</code>.</li>
</ul>
<p>Certain restrictions apply to the declarations provided by
<code>&lt;type_traits&gt;</code>.</p>
<ul>
<li>The <code>alignof</code> operator should be used rather than
<code>std::alignment_of&lt;&gt;</code>.</li>
</ul>
<p>TODO: Rather than directly #including (permitted) Standard Library
headers, use a convention of #including wrapper headers (in some
location like hotspot/shared/stdcpp). This provides a single place for
@@ -1057,9 +1065,36 @@ using C++17 or later. It is also enabled by default for
C++11/14, as the change is considered a Defect Report that applies to
those versions. Earlier versions of gcc don't have that option, and
other supported compilers may not have anything similar.</p>
<h3 id="attributes">Attributes</h3>
<p>The use of some attributes (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf">n2761</a>)
(listed below) is permitted. (Note that some of the attributes defined
in that paper didn't make it into the final specification.)</p>
<p>Attributes are syntactically permitted in a broad set of locations,
but specific attributes are only permitted in a subset of those
locations. In some cases an attribute that appertains to a given element
may be placed in any of several locations with the same meaning. In
those cases HotSpot has a preferred location.</p>
<ul>
<li>An attribute that appertains to a function is placed at the
beginning of the function's declaration, rather than between the
function name and the parameter list.</li>
</ul>
<p>Only the following attributes are permitted:</p>
<ul>
<li><code>[[noreturn]]</code></li>
</ul>
<p>The following attributes are expressly forbidden:</p>
<ul>
<li><code>[[carries_dependency]]</code> - Related to
<code>memory_order_consume</code>.</li>
<li><code>[[deprecated]]</code> - Not relevant in HotSpot code.</li>
</ul>
<h3 id="additional-permitted-features">Additional Permitted
Features</h3>
<ul>
<li><p><code>alignof</code> (<a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf">n2341</a>)</p></li>
<li><p><code>constexpr</code> (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf">n2235</a>)
(<a
@@ -1149,9 +1184,6 @@ initialization or destruction. Initialization order problems can be
difficult to deal with and lead to surprises, as can destruction
ordering. HotSpot doesn't generally try to cleanup on exit, and running
destructors at exit can also lead to problems.</p></li>
<li><p><code>[[deprecated]]</code> attribute (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html">n3760</a>)
— Not relevant in HotSpot code.</p></li>
<li><p>Avoid most operator overloading, preferring named functions. When
operator overloading is used, ensure the semantics conform to the normal
expected behavior of the operation.</p></li>
@@ -1171,8 +1203,6 @@ href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm">n2541</
href="https://isocpp.org/files/papers/N3651.pdf">n3651</a>)</p></li>
<li><p>Member initializers and aggregates (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3653.html">n3653</a>)</p></li>
<li><p><code>[[noreturn]]</code> attribute (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf">n2761</a>)</p></li>
<li><p>Rvalue references and move semantics</p></li>
</ul>
</body>

View File

@@ -572,9 +572,13 @@ There are a few exceptions to this rule.
* `#include <new>` to use placement `new`, `std::nothrow`, and `std::nothrow_t`.
* `#include <limits>` to use `std::numeric_limits`.
* `#include <type_traits>`.
* `#include <type_traits>` with some restrictions, listed below.
* `#include <cstddef>` to use `std::nullptr_t` and `std::max_align_t`.
Certain restrictions apply to the declarations provided by `<type_traits>`.
* The `alignof` operator should be used rather than `std::alignment_of<>`.
TODO: Rather than directly \#including (permitted) Standard Library
headers, use a convention of \#including wrapper headers (in some
location like hotspot/shared/stdcpp). This provides a single place
@@ -1054,8 +1058,37 @@ and other supported compilers may not have anything similar.
[p0136r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html
"p0136r1"
### Attributes
The use of some attributes
([n2761](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf))
(listed below) is permitted. (Note that some of the attributes defined in
that paper didn't make it into the final specification.)
Attributes are syntactically permitted in a broad set of locations, but
specific attributes are only permitted in a subset of those locations. In
some cases an attribute that appertains to a given element may be placed in
any of several locations with the same meaning. In those cases HotSpot has a
preferred location.
* An attribute that appertains to a function is placed at the beginning of the
function's declaration, rather than between the function name and the parameter
list.
Only the following attributes are permitted:
* `[[noreturn]]`
The following attributes are expressly forbidden:
* `[[carries_dependency]]` - Related to `memory_order_consume`.
* `[[deprecated]]` - Not relevant in HotSpot code.
### Additional Permitted Features
* `alignof`
([n2341](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf))
* `constexpr`
([n2235](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf))
([n3652](https://isocpp.org/files/papers/N3652.html))
@@ -1153,10 +1186,6 @@ difficult to deal with and lead to surprises, as can destruction
ordering. HotSpot doesn't generally try to cleanup on exit, and
running destructors at exit can also lead to problems.
* `[[deprecated]]` attribute
([n3760](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html)) &mdash;
Not relevant in HotSpot code.
* Avoid most operator overloading, preferring named functions. When
operator overloading is used, ensure the semantics conform to the
normal expected behavior of the operation.
@@ -1181,9 +1210,6 @@ features that have not yet been discussed.
* Member initializers and aggregates
([n3653](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3653.html))
* `[[noreturn]]` attribute
([n2761](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf))
* Rvalue references and move semantics
[ADL]: https://en.cppreference.com/w/cpp/language/adl

View File

@@ -79,6 +79,45 @@ native source. After configuring, the project is generated using:</p>
<code>ide\hotspot-visualstudio</code> subfolder of the build output
folder. The file can be opened in Visual Studio via
<code>File -&gt; Open -&gt; Project/Solution</code>.</p>
<h4 id="eclipse-cdt">Eclipse CDT</h4>
<p>The make system can generate an Eclipse CDT Workspace that enables
Eclipse indexing for the C and C++ sources throughout the entire
codebase, as well as registering all common make targets to be runnable
from the Eclipse explorer. This can be done after configuring by
running:</p>
<pre><code>make eclipse-native-env</code></pre>
<p>After this is run, simply open and import the workspace in Eclipse
through
<code>File -&gt; Import -&gt; Projects from Folder or Archive</code> and
at <code>Import source</code> click on the directory
<code>ide\eclipse</code>, which can be found in the build output
folder.</p>
<p>If this doesn't work, you can also try
<code>File -&gt; Import -&gt; Existing Projects into Workspace</code>
instead.</p>
<p>Setting up an Eclipse Workspace is relatively lightweight compared to
other supported IDEs, but requires that your CDT installation has Cross
GCC support enabled at the moment, even if you aren't cross compiling.
The Visual C++ compiler is, at present, not supported as an indexer.</p>
<p>If desired, you can instead request make to only include indexing
support for just the Java Virtual Machine instead of the entire native
codebase, by running:</p>
<pre><code>make eclipse-hotspot-env</code></pre>
<p>If you think your particular Eclipse installation can handle the
strain, the make system also supports generating a combined Java and
C/C++ Workspace for Eclipse which can then conveniently switch between
Java and C/C++ natures during development by running:</p>
<pre><code>make eclipse-mixed-env</code></pre>
<p>Do note that this generates all features that come with both Java and
C/C++ natures.</p>
<p>By default, the Eclipse Workspace is located in the ide subdirectory
in the build output. To share the JDK's source directory with the
Eclipse Workspace, you can instead run:</p>
<pre><code>make eclipse-shared-&lt;ENV&gt;-env</code></pre>
<p>Eclipse support in the JDK is relatively new, so do keep in mind that
not everything may work at the moment. As such, the resulting Workspace
also has compilation database parsing support enabled, so you can pass
Eclipse the compile commands file (see below) if all else fails.</p>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in
the form of a <a
@@ -105,5 +144,28 @@ select the folder where you ran the above script.</p>
<p>In order to run the tests from the IDE, you can use the JTReg plugin.
Instructions for building and using the plugin can be found <a
href="https://github.com/openjdk/jtreg/tree/master/plugins/idea">here</a>.</p>
<h4 id="eclipse">Eclipse</h4>
<p>Eclipse JDT is a widely used Java IDE and has been for a very long
time, being a popular choice alongside IntelliJ IDEA for Java
development. Likewise, the JDK now includes support for developing its
Java sources with Eclipse, which can be achieved by setting up a Java
Workspace by running:</p>
<pre><code>make eclipse-java-env</code></pre>
<p>After the workspace has been generated you can import it in the same
way as you would with Eclipse CDT:</p>
<p>Follow
<code>File -&gt; Import -&gt; Projects from Folder or Archive</code> and
select the <code>ide\eclipse</code> directory in the build output folder
to import the newly created Java Workspace.</p>
<p>If doing so results in an error, you can also import the JDK via
<code>File -&gt; Import -&gt; Existing Projects into Workspace</code> as
a last resort.</p>
<p>Alternatively, if you want a Java Workspace inside the JDK's source
directory, you can instead run:</p>
<pre><code>make eclipse-shared-java-env</code></pre>
<p>As mentioned above for Eclipse CDT, you can create a combined Java
and C/C++ Workspace which can conveniently switch between Java and C/C++
natures during development by running:</p>
<pre><code>make eclipse-mixed-env</code></pre>
</body>
</html>

View File

@@ -56,6 +56,63 @@ This creates a file named `jvm.vcxproj` in `ide\hotspot-visualstudio`
subfolder of the build output folder. The file can be opened in Visual Studio
via `File -> Open -> Project/Solution`.
#### Eclipse CDT
The make system can generate an Eclipse CDT Workspace that enables Eclipse
indexing for the C and C++ sources throughout the entire codebase, as well as
registering all common make targets to be runnable from the Eclipse explorer.
This can be done after configuring by running:
```
make eclipse-native-env
```
After this is run, simply open and import the workspace in Eclipse through
`File -> Import -> Projects from Folder or Archive` and at
`Import source` click on the directory `ide\eclipse`, which can be
found in the build output folder.
If this doesn't work, you can also try
`File -> Import -> Existing Projects into Workspace`
instead.
Setting up an Eclipse Workspace is relatively lightweight compared to other
supported IDEs, but requires that your CDT installation has Cross GCC support
enabled at the moment, even if you aren't cross compiling. The Visual C++
compiler is, at present, not supported as an indexer.
If desired, you can instead request make to only include indexing support for
just the Java Virtual Machine instead of the entire native codebase, by running:
```
make eclipse-hotspot-env
```
If you think your particular Eclipse installation can handle the strain, the
make system also supports generating a combined Java and C/C++ Workspace for
Eclipse which can then conveniently switch between Java and C/C++ natures
during development by running:
```
make eclipse-mixed-env
```
Do note that this generates all features that come with both Java and C/C++
natures.
By default, the Eclipse Workspace is located in the ide subdirectory in the
build output. To share the JDK's source directory with the Eclipse Workspace,
you can instead run:
```
make eclipse-shared-<ENV>-env
```
Eclipse support in the JDK is relatively new, so do keep in mind that not
everything may work at the moment. As such, the resulting Workspace also
has compilation database parsing support enabled, so you can pass Eclipse
the compile commands file (see below) if all else fails.
#### Compilation Database
The make system can generate generic native code indexing support in the form of
@@ -96,3 +153,40 @@ as the SDK to use.
In order to run the tests from the IDE, you can use the JTReg plugin.
Instructions for building and using the plugin can be found
[here](https://github.com/openjdk/jtreg/tree/master/plugins/idea).
#### Eclipse
Eclipse JDT is a widely used Java IDE and has been for a very long time, being
a popular choice alongside IntelliJ IDEA for Java development. Likewise, the
JDK now includes support for developing its Java sources with Eclipse, which
can be achieved by setting up a Java Workspace by running:
```
make eclipse-java-env
```
After the workspace has been generated you can import it in the same way as
you would with Eclipse CDT:
Follow `File -> Import -> Projects from Folder or Archive` and select the
`ide\eclipse` directory in the build output folder to import the newly created
Java Workspace.
If doing so results in an error, you can also import the JDK via
`File -> Import -> Existing Projects into Workspace`
as a last resort.
Alternatively, if you want a Java Workspace inside the JDK's source directory,
you can instead run:
```
make eclipse-shared-java-env
```
As mentioned above for Eclipse CDT, you can create a combined Java and C/C++
Workspace which can conveniently switch between Java and C/C++ natures during
development by running:
```
make eclipse-mixed-env
```

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>
@@ -426,6 +430,14 @@ GB/2</em>.</p>
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The
default value is 0. This is only valid if the failure handler is
built.</p>
<h4 id="jtreg_test_thread_factory">JTREG_TEST_THREAD_FACTORY</h4>
<p>Sets the <code>-testThreadFactory</code> for JTReg. It should be the
fully qualified classname of a class which implements
<code>java.util.concurrent.ThreadFactory</code>. One such implementation
class, named Virtual, is currently part of the JDK build in the
<code>test/jtreg_test_thread_factory/</code> directory. This class gets
compiled during the test image build. The implementation of the Virtual
class creates a new virtual thread for executing each test class.</p>
<h4 id="test_mode">TEST_MODE</h4>
<p>The test mode (<code>agentvm</code> or <code>othervm</code>).</p>
<p>Defaults to <code>agentvm</code>.</p>
@@ -569,21 +581,37 @@ 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
operating system. Usually that causes the test failure. So it is highly
recommended to disable system key shortcuts prior testing. The steps to
access and disable system key shortcuts for various platforms are
provided below.</p>
<h4 id="macos">MacOS</h4>
<h5 id="macos">macOS</h5>
<p>Choose Apple menu; System Preferences, click Keyboard, then click
Shortcuts; select or deselect desired shortcut.</p>
<p>For example,
@@ -594,17 +622,41 @@ operating system. To run the test correctly the default global key
shortcut should be disabled using the steps described above, and then
deselect "Turn keyboard access on or off" option which is responsible
for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<h5 id="linux">Linux</h5>
<p>Open the Activities overview and start typing Settings; Choose
Settings, click Devices, then click Keyboard; set or override desired
shortcut.</p>
<h4 id="windows">Windows</h4>
<h5 id="windows">Windows</h5>
<p>Type <code>gpedit</code> in the Search and then click Edit group
policy; navigate to User Configuration -&gt; Administrative Templates
-&gt; Windows Components -&gt; File Explorer; in the right-side pane
look for "Turn off Windows key hotkeys" and double click on it; enable
or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
<h4 id="robot-api">Robot API</h4>
<p>Most automated Client UI tests use <code>Robot</code> API to control
the UI. Usually, the default operating system settings need to be
adjusted for Robot to work correctly. The detailed steps how to access
and update these settings for different platforms are provided
below.</p>
<h5 id="macos-1">macOS</h5>
<p><code>Robot</code> is not permitted to control your Mac by default
since macOS 10.15. To allow it, choose Apple menu -&gt; System Settings,
click Privacy &amp; Security; then click Accessibility and ensure the
following apps are allowed to control your computer: <em>Java</em> and
<em>Terminal</em>. If the tests are run from an IDE, the IDE should be
granted this permission too.</p>
<h5 id="windows-1">Windows</h5>
<p>On Windows if Cygwin terminal is used to run the tests, there is a
delay in focus transfer. Usually it causes automated UI test failure. To
disable the delay, type <code>regedit</code> in the Search and then
select Registry Editor; navigate to the following key:
<code>HKEY_CURRENT_USER\Control Panel\Desktop</code>; make sure the
<code>ForegroundLockTimeout</code> value is set to 0.</p>
<p>Additional information about Client UI tests configuration for
various operating systems can be obtained at <a
href="https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements">Automated
client GUI testing system set up requirements</a></p>
<h2 id="editing-this-document">Editing this document</h2>
<p>If you want to contribute changes to this document, edit
<code>doc/testing.md</code> and then run

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
@@ -378,6 +378,15 @@ Defaults to 4.
Sets the argument `-timeoutHandlerTimeout` for JTReg. The default value is 0.
This is only valid if the failure handler is built.
#### JTREG_TEST_THREAD_FACTORY
Sets the `-testThreadFactory` for JTReg. It should be the fully qualified classname
of a class which implements `java.util.concurrent.ThreadFactory`.
One such implementation class, named Virtual, is currently part of the JDK build
in the `test/jtreg_test_thread_factory/` directory. This class gets compiled during
the test image build. The implementation of the Virtual class creates a new virtual
thread for executing each test class.
#### TEST_MODE
The test mode (`agentvm` or `othervm`).
@@ -591,27 +600,40 @@ 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
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to
disable system key shortcuts prior testing. The steps to access and disable
system key shortcuts for various platforms are provided below.
#### MacOS
##### macOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
@@ -624,12 +646,12 @@ test correctly the default global key shortcut should be disabled using the
steps described above, and then deselect "Turn keyboard access on or off"
option which is responsible for `CTRL + F1` combination.
#### Linux
##### Linux
Open the Activities overview and start typing Settings; Choose Settings, click
Devices, then click Keyboard; set or override desired shortcut.
#### Windows
##### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to User
Configuration -> Administrative Templates -> Windows Components -> File
@@ -638,6 +660,33 @@ double click on it; enable or disable hotkeys.
Note: restart is required to make the settings take effect.
#### Robot API
Most automated Client UI tests use `Robot` API to control the UI. Usually,
the default operating system settings need to be adjusted for Robot
to work correctly. The detailed steps how to access and update these settings
for different platforms are provided below.
##### macOS
`Robot` is not permitted to control your Mac by default since
macOS 10.15. To allow it, choose Apple menu -> System Settings, click
Privacy & Security; then click Accessibility and ensure the following apps are
allowed to control your computer: *Java* and *Terminal*. If the tests are run
from an IDE, the IDE should be granted this permission too.
##### Windows
On Windows if Cygwin terminal is used to run the tests, there is a delay in
focus transfer. Usually it causes automated UI test failure. To disable the
delay, type `regedit` in the Search and then select Registry Editor; navigate
to the following key: `HKEY_CURRENT_USER\Control Panel\Desktop`; make sure
the `ForegroundLockTimeout` value is set to 0.
Additional information about Client UI tests configuration for various operating
systems can be obtained at [Automated client GUI testing system set up
requirements](https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements)
## Editing this document
If you want to contribute changes to this document, edit `doc/testing.md` and

238
jb/branchdiff.py Executable file
View File

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

12
jb/generate-wakefield.sh Executable file
View File

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

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

@@ -0,0 +1 @@
1.0.2

230
jb/jdkdiff.py Executable file
View File

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

View File

@@ -0,0 +1 @@
JetBrainsRuntime

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,63 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
source "$SCRIPT_DIR/jetsign-common.sh" || exit 1
function isMacOsBinary() {
file "$1" | grep -q 'Mach-O'
}
function isSigned() {
codesign --verify "$1" >/dev/null 2>&1 && ! grep -q Signature=adhoc < <(codesign --display --verbose "$1" 2>&1)
}
# last argument is a path to be signed
pathToBeSigned="$(pwd)/${*: -1}"
jetSignArgs=("${@:1:$#-1}")
if [[ ! -f "$pathToBeSigned" ]]; then
echo "$pathToBeSigned is missing or not a file"
exit 1
elif isSigned "$pathToBeSigned" && ! isForced "${jetSignArgs[@]}" ; then
echo "Already signed: $pathToBeSigned"
elif [[ "$JETSIGN_CLIENT" == "null" ]]; then
echo "JetSign client is missing, cannot proceed with signing"
exit 1
elif ! isMacOsBinary "$pathToBeSigned" && [[ "$pathToBeSigned" != *.sit ]] && [[ "$pathToBeSigned" != *.tar.gz ]]; then
echo "$pathToBeSigned won't be signed, assumed not to be a macOS executable"
else
if isMacOsBinary "$pathToBeSigned" && ! isSigned "$pathToBeSigned" ; then
echo "Unsigned macOS binary: $pathToBeSigned"
fi
workDir=$(dirname "$pathToBeSigned")
pathSigned="$workDir/signed/${pathToBeSigned##*/}"
jetSignExtensions=$(jetSignExtensions "${jetSignArgs[@]}")
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
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
isSigned "$pathSigned"
fi
rm "$pathToBeSigned"
mv "$pathSigned" "$pathToBeSigned"
rm -rf "$workDir/signed"
)
fi

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>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>

View File

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

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -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))
@@ -449,7 +452,7 @@ ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), )
BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \
FILES := $(JCOV_BUNDLE_FILES), \
BASE_DIRS := $(JCOV_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
SUBDIR := jdk-$(VERSION_NUMBER), \
))
JCOV_TARGETS += $(BUILD_JCOV_BUNDLE)

View File

@@ -171,41 +171,41 @@ $(BUILD_DEMO_CodePointIM_JAR): $(CODEPOINT_METAINF_SERVICE_FILE)
$(eval $(call SetupBuildDemo, FileChooserDemo, \
DEMO_SUBDIR := jfc, \
DISABLED_WARNINGS := rawtypes deprecation unchecked, \
DISABLED_WARNINGS := rawtypes deprecation unchecked this-escape, \
))
$(eval $(call SetupBuildDemo, SwingSet2, \
DEMO_SUBDIR := jfc, \
EXTRA_COPY_TO_JAR := .java, \
EXTRA_MANIFEST_ATTR := SplashScreen-Image: resources/images/splash.png, \
DISABLED_WARNINGS := rawtypes deprecation unchecked static serial cast, \
DISABLED_WARNINGS := rawtypes deprecation unchecked static serial cast this-escape, \
))
$(eval $(call SetupBuildDemo, Font2DTest, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, J2Ddemo, \
DEMO_SUBDIR := jfc, \
MAIN_CLASS := java2d.J2Ddemo, \
DISABLED_WARNINGS := rawtypes deprecation unchecked cast lossy-conversions, \
DISABLED_WARNINGS := rawtypes deprecation unchecked cast lossy-conversions this-escape, \
JAR_NAME := J2Ddemo, \
))
$(eval $(call SetupBuildDemo, Metalworks, \
DISABLED_WARNINGS := rawtypes unchecked, \
DISABLED_WARNINGS := rawtypes unchecked this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, Notepad, \
DISABLED_WARNINGS := rawtypes, \
DISABLED_WARNINGS := rawtypes this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, Stylepad, \
DEMO_SUBDIR := jfc, \
DISABLED_WARNINGS := rawtypes unchecked, \
DISABLED_WARNINGS := rawtypes unchecked this-escape, \
EXTRA_SRC_DIR := $(DEMO_SHARE_SRC)/jfc/Notepad, \
EXCLUDE_FILES := $(DEMO_SHARE_SRC)/jfc/Notepad/README.txt, \
))
@@ -215,11 +215,12 @@ $(eval $(call SetupBuildDemo, SampleTree, \
))
$(eval $(call SetupBuildDemo, TableExample, \
DISABLED_WARNINGS := rawtypes unchecked deprecation, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, TransparentRuler, \
DISABLED_WARNINGS := this-escape, \
DEMO_SUBDIR := jfc, \
MAIN_CLASS := transparentruler.Ruler, \
))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -98,6 +98,7 @@ define SetupInterimModule
EXCLUDES := sun javax/tools/snippet-files, \
EXCLUDE_FILES := $(TOPDIR)/src/$1/share/classes/module-info.java \
$(TOPDIR)/src/$1/share/classes/javax/tools/ToolProvider.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/Main.java \
Standard.java, \
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java \
$($1.interim_EXTRA_FILES), \
@@ -109,7 +110,9 @@ define SetupInterimModule
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim \
--add-exports java.base/jdk.internal.javac=java.compiler.interim \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim, \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
$1_DEPS_INTERIM := $$(addsuffix .interim, $$(filter \

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

@@ -53,7 +53,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JIGSAW_TOOLS, \
build/tools/jigsaw, \
COPY := .properties .html, \
BIN := $(TOOLS_CLASSES_DIR), \
DISABLED_WARNINGS := fallthrough, \
DISABLED_WARNINGS := fallthrough this-escape, \
JAVAC_FLAGS := \
--add-modules jdk.jdeps \
--add-exports java.base/jdk.internal.module=ALL-UNNAMED \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,9 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
JAVAC_FLAGS := \
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
--add-exports java.base/sun.text=ALL-UNNAMED \
--add-exports java.base/sun.security.util=ALL-UNNAMED, \
--add-exports java.base/sun.security.util=ALL-UNNAMED \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
TARGETS += $(BUILD_TOOLS_JDK)
@@ -69,13 +71,20 @@ $(eval $(call SetupCopyFiles,COPY_NIMBUS_TEMPLATES, \
TARGETS += $(COPY_NIMBUS_TEMPLATES)
$(eval $(call SetupCopyFiles,COPY_CLDRCONVERTER_PROPERTIES, \
SRC := $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes/build/tools/cldrconverter, \
FILES := $(wildcard $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter/*.properties)))
TARGETS += $(COPY_CLDRCONVERTER_PROPERTIES)
################################################################################
$(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 \
@@ -83,16 +92,26 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
--add-exports jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
DEPEND_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services/com.sun.source.util.Plugin
$(eval $(call SetupJavaCompilation, COMPILE_JBR_API_PLUGIN, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/jbrapi, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
))
$(DEPEND_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services)
PLUGINS_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services/com.sun.source.util.Plugin
$(PLUGINS_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services)
$(ECHO) build.tools.depend.Depend > $@
$(ECHO) build.tools.jbrapi.JBRApiPlugin >> $@
TARGETS += $(COMPILE_DEPEND) $(DEPEND_SERVICE_PROVIDER)
TARGETS += $(COMPILE_DEPEND) $(COMPILE_JBR_API_PLUGIN) $(PLUGINS_SERVICE_PROVIDER)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -81,13 +81,11 @@ endif
ifneq ($(CMDS_DIR), )
DEPS += $(call FindFiles, $(CMDS_DIR))
ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+public)
# For public debug symbols on Windows, we have to use stripped pdbs, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
FILES_CMDS := $(filter-out %.pdb, $(call FindFiles, $(CMDS_DIR))) \
$(filter-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR)))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
@@ -96,18 +94,6 @@ ifneq ($(CMDS_DIR), )
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+full)
# For full debug symbols on Windows, we have to filter out a few launcher pdbs
# where there's a lib that goes by the same name
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(filter-out %jimage.pdb %jpackage.pdb %java.pdb, \
$(call FindFiles, $(CMDS_DIR))), \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else
JMOD_FLAGS += --cmds $(CMDS_DIR)
endif

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 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
@@ -110,13 +110,15 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary
--override-methods=summary \
--no-external-specs-page
# The reference options must stay stable to allow for comparisons across the
# development cycle.
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
-html5 -javafx --expand-requires transitive
-html5 -javafx --expand-requires transitive \
--no-external-specs-page
# Should we add DRAFT stamps to the generated javadoc?
ifeq ($(VERSION_IS_GA), true)

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

@@ -125,6 +125,11 @@ test-prebuilt:
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
test-prebuilt-with-exit-code:
@( cd $(topdir) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt-with-exit-code CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
# Alias for backwards compatibility
run-test-prebuilt: test-prebuilt

View File

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

View File

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

73
make/JBRApi.gmk Normal file
View File

@@ -0,0 +1,73 @@
#
# Copyright 2000-2023 JetBrains s.r.o.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
include $(SPEC)
include MakeBase.gmk
include Utils.gmk
JBR_API_ORIGIN := https://github.com/JetBrains/JetBrainsRuntimeApi.git
JBR_API_DIR := $(TOPDIR)/jbr-api
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
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> \
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
.PHONY: jbr-api

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -46,8 +46,10 @@ JIMAGE_PKGS := \
jdk/internal/jrtfs \
#
# Compile jrt-fs.jar with the interim compiler, as it
# ends up in the image, this will ensure reproducible classes
$(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
COMPILER := bootjdk, \
COMPILER := interim, \
DISABLED_WARNINGS := options, \
TARGET_RELEASE := $(TARGET_RELEASE_JDK8), \
SRC := $(TOPDIR)/src/java.base/share/classes, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -257,6 +257,46 @@ $(eval $(call SetupTarget, hotspot-ide-project, \
ARGS := -I$(TOPDIR)/make/hotspot, \
))
$(eval $(call SetupTarget, eclipse-java-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=java SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-hotspot-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=hotspot SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-native-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=native SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-mixed-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-shared-java-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=java SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-hotspot-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=hotspot SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-native-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=native SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-mixed-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make SHARED=true, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS)
@@ -707,6 +747,22 @@ ifeq ($(BUILD_FAILURE_HANDLER), true)
))
endif
ifeq ($(BUILD_JTREG_TEST_THREAD_FACTORY), true)
# Builds the test thread factory jtreg extension
$(eval $(call SetupTarget, build-test-test-thread-factory, \
MAKEFILE := test/BuildJtregTestThreadFactory, \
TARGET := build, \
DEPS := interim-langtools exploded-image, \
))
# Copies the jtreg test thread factory into the test image
$(eval $(call SetupTarget, test-image-test-thread-factory, \
MAKEFILE := test/BuildJtregTestThreadFactory, \
TARGET := images, \
DEPS := build-test-test-thread-factory, \
))
endif
$(eval $(call SetupTarget, build-microbenchmark, \
MAKEFILE := test/BuildMicrobenchmark, \
DEPS := interim-langtools exploded-image, \
@@ -1187,6 +1243,10 @@ ifeq ($(BUILD_FAILURE_HANDLER), true)
test-image: test-image-failure-handler
endif
ifeq ($(BUILD_JTREG_TEST_THREAD_FACTORY), true)
test-image: test-image-test-thread-factory
endif
ifneq ($(JMH_CORE_JAR), )
test-image: build-microbenchmark
endif
@@ -1354,6 +1414,14 @@ create-main-targets-include:
@$(ECHO) ALL_MAIN_TARGETS := $(sort $(ALL_TARGETS)) > \
$(MAKESUPPORT_OUTPUTDIR)/main-targets.gmk
################################################################################
# JBR API
$(eval $(call SetupTarget, jbr-api, \
MAKEFILE := JBRApi, \
TARGET := jbr-api \
))
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Main-post.gmk))

View File

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

View File

@@ -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
@@ -93,6 +93,9 @@ endif
JTREG_FAILURE_HANDLER_DIR := $(TEST_IMAGE_DIR)/failure_handler
JTREG_FAILURE_HANDLER := $(JTREG_FAILURE_HANDLER_DIR)/jtregFailureHandler.jar
JTREG_TEST_THREAD_FACTORY_DIR := $(TEST_IMAGE_DIR)/jtreg_test_thread_factory
JTREG_TEST_THREAD_FACTORY_JAR := $(JTREG_TEST_THREAD_FACTORY_DIR)/jtregTestThreadFactory.jar
JTREG_FAILURE_HANDLER_TIMEOUT ?= 0
ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
@@ -175,7 +178,8 @@ ifeq ($(TEST_JOBS), 0)
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
c = c + 0.5; \
printf "%d", c; \
}')
endif
@@ -200,7 +204,7 @@ $(eval $(call SetTestOpt,REPORT,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \
TEST_MODE ASSERT VERBOSE RETAIN TEST_THREAD_FACTORY MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS \
@@ -353,7 +357,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
$(subst .jasm,,$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1))))))
# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling
@@ -598,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)
@@ -739,10 +743,9 @@ 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 ?=
JTREG_RUN_PROBLEM_LISTS ?= false
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0
@@ -756,6 +759,14 @@ define SetupRunJtregTestBody
endif
endif
ifneq ($$(JTREG_TEST_THREAD_FACTORY), )
$1_JTREG_BASIC_OPTIONS += -testThreadFactoryPath:$$(JTREG_TEST_THREAD_FACTORY_JAR)
$1_JTREG_BASIC_OPTIONS += -testThreadFactory:$$(JTREG_TEST_THREAD_FACTORY)
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(addprefix $$($1_TEST_ROOT)/, ProblemList-$$(JTREG_TEST_THREAD_FACTORY).txt) \
))
endif
ifneq ($$(JTREG_LAUNCHER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += $$(JTREG_LAUNCHER_OPTIONS)
endif
@@ -788,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
@@ -817,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 \
@@ -848,11 +883,24 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-workdir-$1:
# SetupRunJtregTestCustom might also adjust JTREG_AUTO_ variables
# so set the final results after setting values from custom setup
ifneq ($$(JTREG_AUTO_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(JTREG_AUTO_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_AUTO_PROBLEM_LISTS)) \
))
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -895,7 +943,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-workdir-$1
run-test-$1: pre-run-test clean-outputdirs-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -932,9 +980,9 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1 clean-workdir-$1
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
TEST_TARGETS += parse-test-$1
endef

View File

@@ -122,6 +122,7 @@ $(eval $(call SetupVariable,JT_HOME))
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
$(eval $(call SetupVariable,JTREG_JDK,$(BOOT_JDK)))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -157,6 +158,10 @@ ifeq ($(UNAME_OS), CYGWIN)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.cygwin
else ifeq ($(UNAME_OS), MINGW64)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.msys2
else
OPENJDK_TARGET_OS_TYPE:=unix
ifeq ($(UNAME_OS), Linux)
@@ -169,6 +174,9 @@ else
OPENJDK_TARGET_OS_ENV := $(OPENJDK_TARGET_OS)
endif
# Sanity check env detection
$(info Detected target OS, type and env: [$(OPENJDK_TARGET_OS)] [$(OPENJDK_TARGET_OS_TYPE)] [$(OPENJDK_TARGET_OS_ENV)])
# Assume little endian unless otherwise specified
OPENJDK_TARGET_CPU_ENDIAN := little
@@ -248,6 +256,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
TOPDIR := $(TOPDIR), \
OUTPUTDIR := $(OUTPUTDIR), \
BOOT_JDK := $(BOOT_JDK), \
JTREG_JDK := $(JTREG_JDK), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \
@@ -295,6 +304,11 @@ test-prebuilt:
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)"
test-prebuilt-with-exit-code: test-prebuilt
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
all: test-prebuilt
.PHONY: default all test-prebuilt

View File

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

View File

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

View File

@@ -60,6 +60,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
###############################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Save the current directory this script was started from
@@ -405,9 +406,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# WARNING: This might be a bad thing to do. You need to be sure you want to
# have a configuration in this directory. Do some sanity checks!
if test ! -e "$OUTPUTDIR/spec.gmk"; then
# If we have a spec.gmk, we have run here before and we are OK. Otherwise, check for
# other files
if test ! -e "$OUTPUTDIR/spec.gmk" && test ! -e "$OUTPUTDIR/configure-support/generated-configure.sh"; then
# If we have a spec.gmk or configure-support/generated-configure.sh,
# we have run here before and we are OK. Otherwise, check for other files
files_present=`$LS $OUTPUTDIR`
# Configure has already touched config.log and confdefs.h in the current dir when this check
# is performed.
@@ -422,8 +423,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_MSG_NOTICE([Current directory is $CONFIGURE_START_DIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
AC_MSG_NOTICE([(as opposed to creating a configuration in <src_root>/build/<conf-name>).])
AC_MSG_NOTICE([However, this directory is not empty. This is not allowed, since it could])
AC_MSG_NOTICE([seriously mess up just about everything.])
AC_MSG_NOTICE([However, this directory is not empty, additionally to some allowed files])
AC_MSG_NOTICE([it contains $filtered_files.])
AC_MSG_NOTICE([This is not allowed, since it could seriously mess up just about everything.])
AC_MSG_NOTICE([Try 'cd $TOPDIR' and restart configure])
AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
AC_MSG_ERROR([Will not continue creating configuration in $CONFIGURE_START_DIR])
@@ -477,7 +479,11 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
# df on AIX does not understand -l. On modern AIXes it understands "-T local" which
# is the same. On older AIXes we just continue to live with a "not local build" warning.
if test "x$OPENJDK_TARGET_OS" = xaix; then
DF_LOCAL_ONLY_OPTION='-T local'
if "$DF -T local > /dev/null 2>&1"; then
DF_LOCAL_ONLY_OPTION='-T local'
else # AIX may use GNU-utils instead
DF_LOCAL_ONLY_OPTION='-l'
fi
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl1"; then
# In WSL1, we can only build on a drvfs file system (that is, a mounted real Windows drive)
DF_LOCAL_ONLY_OPTION='-t drvfs'

View File

@@ -29,8 +29,8 @@
RECOMMENDED_PANDOC_VERSION=2.19.2
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
# Setup the most fundamental tools, used for setting up build platform and
# path handling.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Bootstrapping: These tools are needed by UTIL_LOOKUP_PROGS
@@ -42,7 +42,28 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_CHECK_NONEMPTY(FILE)
AC_PATH_PROGS(LDD, ldd)
# First are all the fundamental required tools.
# Required tools
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
])
###############################################################################
# Setup further tools that should be resolved early but after setting up
# build platform and path handling.
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
[
# Required tools
UTIL_REQUIRE_PROGS(BASH, bash)
UTIL_REQUIRE_PROGS(CAT, cat)
UTIL_REQUIRE_PROGS(CHMOD, chmod)
@@ -50,7 +71,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(CUT, cut)
UTIL_REQUIRE_PROGS(DATE, date)
UTIL_REQUIRE_PROGS(DIFF, gdiff diff)
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(EXPR, expr)
UTIL_REQUIRE_PROGS(FIND, find)
UTIL_REQUIRE_PROGS(GUNZIP, gunzip)
@@ -72,16 +92,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(TAR, gtar tar)
UTIL_REQUIRE_PROGS(TEE, tee)
UTIL_REQUIRE_PROGS(TOUCH, touch)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
UTIL_REQUIRE_PROGS(XARGS, xargs)
# Then required tools that require some special treatment.
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(FGREP, [AC_PROG_FGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Optional tools, we can do without them
UTIL_LOOKUP_PROGS(DF, df)
@@ -90,10 +104,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_LOOKUP_PROGS(READLINK, greadlink readlink)
UTIL_LOOKUP_PROGS(WHOAMI, whoami)
# These are only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
# For compare.sh only
UTIL_LOOKUP_PROGS(CMP, cmp)
@@ -434,7 +446,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
if test "x$PANDOC" != x; then
AC_MSG_CHECKING([for pandoc version])
PANDOC_VERSION=`$PANDOC --version 2>&1 | $HEAD -1 | $CUT -d " " -f 2`
PANDOC_VERSION=`$PANDOC --version 2>&1 | $TR -d '\r' | $HEAD -1 | $CUT -d " " -f 2`
AC_MSG_RESULT([$PANDOC_VERSION])
if test "x$PANDOC_VERSION" != x$RECOMMENDED_PANDOC_VERSION; then
@@ -443,7 +455,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
PANDOC_MARKDOWN_FLAG="markdown"
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '\+smart'; then
if $PANDOC --list-extensions | $GREP -q '+smart'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="markdown-smart"
else

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -382,7 +382,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# Finally, set some other options...
# Determine if the boot jdk jar supports the --date option
if $JAR --help 2>&1 | $GREP -q "\-\-date=TIMESTAMP"; then
if $JAR --help 2>&1 | $GREP -q -e "--date=TIMESTAMP"; then
BOOT_JDK_JAR_SUPPORTS_DATE=true
else
BOOT_JDK_JAR_SUPPORTS_DATE=false

View File

@@ -103,3 +103,7 @@ JVM_FEATURES_server := cds compiler1 compiler2 g1gc serialgc
override EXTRA_CFLAGS :=
override EXTRA_CXXFLAGS :=
override EXTRA_LDFLAGS :=
# hsdis is not needed
HSDIS_BACKEND := none
ENABLE_HSDIS_BUNDLING := false

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