Compare commits

...

5760 Commits

Author SHA1 Message Date
Nikita Provotorov
3ffdaa6fc7 JBR-6085: java/awt/event/KeyEvent/AltGraphModifier.java: Modifier Mask is not set.
Stabilizing the test by getting rid of false-positive errors.
2025-05-11 01:25:36 +02:00
Maxim Kartashev
15d0be17b3 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.

(cherry picked from commit 4c2085b5f7)
2025-04-28 02:02:39 +02:00
Vitaly Provodin
da5b6da33b update exclude list on results of 3278 test runs 2025-04-28 02:02:38 +02:00
Vitaly Provodin
c9d490138a JBR-8646 add keyRelease invocations for pressed keys 2025-04-28 02:02:38 +02:00
Maxim Kartashev
40a6b19bd1 JBR-8618 Wayland: GTK LaF does not change appearance when system theme changes 2025-04-28 02:02:38 +02:00
Nikita Gubarkov
35631cf006 JBR-8112 Revert swing.bufferPerWindow back to false on Windows 2025-04-28 02:02:38 +02:00
Dmitrii Morskii
d826d0e54e JBR-7040 implemented FPS counter on D3D 2025-04-28 02:02:38 +02:00
Dmitrii Morskii
ad65dee080 JBR-7900 Improve logic of detecting toolkit inside registerShutdownHook 2025-04-28 02:02:38 +02:00
Dmitrii Morskii
2c84d3d122 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
2025-04-28 02:02:38 +02:00
Anton Tarasov
f9aec21418 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)
(cherry picked from commit 2351382562)
2025-04-28 02:02:38 +02:00
Maxim Kartashev
4812ed8914 JBR-8639 Wayland: exclude tests depending on mouseMove 2025-04-28 02:02:38 +02:00
Maxim Kartashev
d201250aa1 JBR-8572 Wayland: java/awt/Desktop/DesktopGtkLoadTest/DesktopGtkLoadTest.java: Wrong GTK library version: null 2025-04-28 02:02:38 +02:00
Maxim Kartashev
c0d9920577 JBR-7087 Wayland: GtkFileDialogPeer implementation 2025-04-28 02:02:38 +02:00
Maxim Kartashev
cf8a9d98fd JBR-7087 Wayland: Desktop support via GNOME 2025-04-28 02:02:38 +02:00
Maxim Kartashev
6158eb7e28 JBR-7087 Wayland: GTKLookAndFeel support 2025-04-28 02:02:38 +02:00
Sergey Shelomentsev
4a83bfc129 Add problem list for fastdebug configurations 2025-04-28 02:02:38 +02:00
Nikita Gubarkov
953e21404a JBR-7882 Calculate point size from both x and y transform components 2025-04-28 02:02:38 +02:00
Nikita Gubarkov
fc20fdc380 JBR-6225 Ignore "hot-substituted" unicodes in canDisplay on macOS 2025-04-28 02:02:37 +02:00
Nikita Gubarkov
750f0bd3da JBR-8289 Fix invisible glyph encoding in composite fonts 2025-04-28 02:02:37 +02:00
Nikita Gubarkov
49f8247ce4 JBR-8282 Port 8353230: Emoji rendering regression after JDK-8208377 2025-04-28 02:02:37 +02:00
Maxim Kartashev
a74a8fecfb JBR-8210 Exclude javax/swing/JPopupMenu/7156657/bug7156657.java for WLToolkit 2025-04-28 02:02:37 +02:00
Nikita Gubarkov
918857ac19 JBR-8608 Vulkan: Cleanup capability checks 2025-04-28 02:02:37 +02:00
Maxim Kartashev
bc05d0f0de JBR-7892 Generate a descriptive error message when awt cannot be loaded 2025-04-28 02:02:37 +02:00
Vladimir Lagunov
97161318c8 JBR-8539 fix jdk/jfr/event/io/TestFileReadOnly.java: mimic errors in RandomAccessFile.write 2025-04-28 02:02:37 +02:00
Vladimir Lagunov
8bbe496090 JBR-8538 JBR-7700 Change handling of new File("")
A new behavior for java.io.File was introduced in commit 9477c705c0. For example, `new File("").exists()` returns true now, but it used to return false.
2025-04-28 02:02:37 +02:00
Vladimir Lagunov
aad73df344 JBR-7700 Fix the behavior of setReadOnly(false) on Posix 2025-04-28 02:02:37 +02:00
Vladimir Lagunov
febcd6590b JBR-7700 Prepare for cases when getFileAttributeView returns null
It doesn't happen in any default implementation with default attribute classes, but some 3rd party implementations can do that.
2025-04-28 02:02:37 +02:00
Vladimir Lagunov
3de666955a JBR-7700 Fix the case with deletion of locked file on Windows 2025-04-28 02:02:37 +02:00
Maxim Kartashev
6abe9cd39b JBR-8551 Wayland: javax/swing/JSlider/TestJSliderRendering.java: The slider is not rendered properly 2025-04-28 02:02:37 +02:00
Nikita Gubarkov
73d8e02589 JBR-8602 Migrate JBR API backend to Classfile API 2025-04-28 02:02:37 +02:00
Nikita Gubarkov
f3d2f6fa02 JBR-8601 Vulkan: Decouple from Wayland 2025-04-28 02:02:37 +02:00
Vitaly Provodin
9bdb680e56 Update README.md 2025-04-28 02:02:36 +02:00
Maxim Kartashev
1c0e3b41d7 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.

(cherry picked from commit 64a468280c)
2025-04-28 02:02:36 +02:00
Maxim Kartashev
acdcb0a2b9 JBR-8587 jb/build/ResolveSymbolsTest/ResolveSymbolsRealEnv.java fails on Alpine 2025-04-28 02:02:36 +02:00
Vitaly Provodin
7507f43dbc JBR-8219 run "clean" separately before building (workaraound for JDK-8349665) 2025-04-28 02:02:36 +02:00
Vitaly Provodin
5b4d775814 update exclude list on results of 3188 test runs 2025-04-28 02:02:36 +02:00
Nikita Tsarev
a9634f85c0 JBR-8533: Fix wrong keys and modifiers being reported for certain non-function key combinations [WLToolkit] 2025-04-28 02:02:36 +02:00
Maxim Kartashev
ac69ee0722 JBR-7896 Wayland: Deadlock in WLClipboard
Avoid performing blocking I/O while holding a lock
2025-04-28 02:02:36 +02:00
Nikita Gubarkov
57c9aaa551 JBR-8555 Vulkan: Do not flush the surface on transform change 2025-04-28 02:02:36 +02:00
Nikita Gubarkov
6548a58261 JBR-8553 Vulkan: Respect filtering hints in blits 2025-04-28 02:02:36 +02:00
Nikita Gubarkov
8091858586 <TEMP> 8353542: No native raster data for common pixel-interleaved BufferedImages
This duplicates my OpenJDK PR, wait till it's resolved in upstream.
2025-04-28 02:02:36 +02:00
Nikita Gubarkov
2785f04d76 JBR-8525 Vulkan: Fix offscreen surface scaling 2025-04-28 02:02:36 +02:00
Maxim Kartashev
d45e586cab JBR-8436 Describe various type of github releases 2025-04-28 02:02:36 +02:00
Vitaly Provodin
eb19e2a611 update exclude list on results of 3184 test runs 2025-04-28 02:02:36 +02:00
Alexey Ushakov
4a6ed6f611 JBR-7725 Vulkan: low performance in SwingMark
Implemented intermediate buffer for loading raster data
Removed extra synchronization in blits
2025-04-28 02:02:36 +02:00
Nikita Gubarkov
4e3110cf3b JBR-8485 Vulkan: Blit surface into itself 2025-04-28 02:02:36 +02:00
Alexey Ushakov
94b9bb0d70 JBR-8479 Support Vulkan accelerated mode in perf scripts
Added the new option, minor refactoring
2025-04-28 02:02:35 +02:00
Nikita Gubarkov
784e9844e7 JBR-8478 Vulkan: Pull real supported formats from the device 2025-04-28 02:02:35 +02:00
Nikita Gubarkov
823115fc81 JBR-8473 Vulkan: Support for various source blit formats via swizzling 2025-04-28 02:02:35 +02:00
Nikita Gubarkov
2b438ba68d JBR-8472 Vulkan: Respect source alpha type in blit routines 2025-04-28 02:02:35 +02:00
Nikita Gubarkov
a8e661c6ba JBR-8471 Vulkan: Reuse descriptor sets in blit routines 2025-04-28 02:02:35 +02:00
Nikita Tsarev
111eeb163a JBR-8422: A temporary workaround for crash in SystemHotkey setup on macOS 15.4 beta 2025-04-28 02:02:35 +02:00
Vitaly Provodin
a616aa9b57 update exclude list on results of 3147 test runs 2025-04-28 02:02:35 +02:00
Nikita Gubarkov
37c4eb9265 JBR-8448 Vulkan: Cleanup & fix Sw->Surface blit 2025-04-28 02:02:35 +02:00
Nikita Gubarkov
c3e51787c8 JBR-8447 Vulkan: Implement multi-view images 2025-04-28 02:02:35 +02:00
bourgesl
2b73b0689a 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-04-28 02:02:35 +02:00
bourgesl
1928cebe3e 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-04-28 02:02:35 +02:00
bourgesl
d6bcc3497d JBR-8183: fixed cherry-pick (bad merge) 2025-04-28 02:02:35 +02:00
bourgesl
9b8daf1d1f 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-04-28 02:02:35 +02:00
Nikita Gubarkov
7ccbda1d38 <TEMP> 8352407: PixelInterleavedSampleModel with unused components throws RasterFormatException: Incorrect pixel stride
This duplicates my OpenJDK PR, wait till it's resolved in upstream.
2025-04-28 02:02:35 +02:00
Nikita Gubarkov
96eea6a53c JBR-8442 Vulkan: Fix OPAQUE mode rendering 2025-04-28 02:02:34 +02:00
Nikita Gubarkov
c5824bfa4d JBR-8441 Vulkan: Update CArrayUtil.h 2025-04-28 02:02:34 +02:00
Nikita Gubarkov
3a059ac92f JBR-8440 Vulkan: Pass the surface format to native code 2025-04-28 02:02:34 +02:00
Nikita Gubarkov
5403df6b43 JBR-8439 Vulkan: Cleanup Surface->Surface blit 2025-04-28 02:02:34 +02:00
Alexey Ushakov
471d102f15 JBR-8418 Vulkan: RenderPerfTest Image test does not work properly
Added regression test and flush content of the destination surface
2025-04-28 02:02:34 +02:00
Alexey Ushakov
fec2cb4f50 JBR-8418 Vulkan: RenderPerfTest Image test does not work properly
Passed transform to VKRenderer code
2025-04-28 02:02:34 +02:00
Alexey Ushakov
1f619ed1b2 JBR-8430 Vulkan: move RenderingContext into Renderer
Moved context to the VKRenderer
2025-04-28 02:02:34 +02:00
Vitaly Provodin
959e78ac0c update exclude list on results of 3113 test runs 2025-04-28 02:02:34 +02:00
Vitaly Provodin
fb3acd1a0b JBR-8417 specify XCODE_PATH for JBR building on macOS 2025-04-28 02:02:34 +02:00
Maxim Kartashev
730abf574f JBR-8419 sources/TestNoNULL.java: Test found 32 usages of 'NULL' in source files 2025-04-28 02:02:34 +02:00
Nikita Gubarkov
af74bda04f JBR-8424 Vulkan: Format-aware Surface->Sw blit 2025-04-28 02:02:34 +02:00
Nikita Gubarkov
488342154c JBR-8423 Vulkan: Expose VKFormat on Java side 2025-04-28 02:02:34 +02:00
Nikita Provotorov
051e2f6212 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-04-28 02:02:34 +02:00
vlad20012
52e0305397 JBR-8303 Provide JBR API method to perform GC with more intensive heap shrinking 2025-04-28 02:02:34 +02:00
Vladimir Lagunov
e4a20d259f JBR-8396 JBR-7700 Fix FileTest.getCanonicalPath on macOS 2025-04-28 02:02:33 +02:00
Alexey Ushakov
bf2ce311ae JBR-8398 Vulkan: refactor shader code to use transforms
Replaced normalization logic with transform matrix
2025-04-28 02:02:33 +02:00
Nikita Gubarkov
bfc2448388 JBR-8413 Vulkan: Make surfaces VKGPU-aware 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
6917a9877a JBR-8412 Vulkan: Add generic offscreen GraphicsConfig implementation 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
27eb3771dc JBR-8411 Vulkan: Move generic VKGraphicsConfig implementation into shared code 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
cd77e56bfb JBR-8410 Vulkan: Expose VKDevice on Java side 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
b8a57e8615 JBR-8391 Vulkan: Split instance and device into separate files 2025-04-28 02:02:33 +02:00
Vladimir Lagunov
fc8f0eadd7 JBR-7700 Classes from package java.io. use java.nio.file inside
The option can be enabled/disabled by specifying `-Djbr.java.io.use.nio=true/false`
2025-04-28 02:02:33 +02:00
Vitaly Provodin
691c0729ed update exclude list on results of 3097 test runs 2025-04-28 02:02:33 +02:00
Vitaly Provodin
de51bf1634 Update README.md 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
031c3d25c0 JBR-8363 Vulkan: Organize usage of FlushRenderPass and FlushSurface 2025-04-28 02:02:33 +02:00
Nikita Gubarkov
c4ab1b21b0 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-04-28 02:02:33 +02:00
Nikita Gubarkov
a4ed5709e4 JBR-8358 Vulkan: Framebuffer destruction queue
Can be generalized to destroy arbitrary resources later.
2025-04-28 02:02:33 +02:00
Maxim Kartashev
0610db8ca9 JBR-6979 Modernize more WaitForSingleObject on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseModernSynchAPI
to switch back to the original implementation
2025-04-28 02:02:33 +02:00
Nikita Gubarkov
b2b81dd67b 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-04-28 02:02:32 +02:00
Alexey Ushakov
d36cb35106 JBR-8347 Download gtk-shell.xml if absent
Added downloading code
2025-04-28 02:02:32 +02:00
Vitaly Provodin
6775bd17ed update exclude list on results of 3054 test runs 2025-04-28 02:02:32 +02:00
Vitaly Provodin
f19f7cdd90 JBR-8196 fix calculating the number of attempts 2025-04-28 02:02:32 +02:00
Nikita Gubarkov
b99ae55151 JBR-8342 Vulkan: Skip validation setup if extension is unavailable 2025-04-28 02:02:32 +02:00
Nikita Tsarev
ebea5b85ad JBR-7994: Properly report non-base-level function keys [WLToolkit] 2025-04-28 02:02:32 +02:00
Artem Bochkarev
e5611b1c85 JBR-8138 Sign jcef binaries with separate entitlements
Revert to true the OSX entitlement "com.apple.security.cs.allow-dyld-environment-variables"
2025-04-28 02:02:32 +02:00
Vladimir Kharitonov
067078df19 JBR-8118 TextureWrapperImage for MTLTexture 2025-04-28 02:02:32 +02:00
Alexey Ushakov
0054ee24b9 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-04-28 02:02:32 +02:00
Dmitry Drobotov
4be4c3b119 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.

(cherry picked from commit 61a501351a)
2025-04-28 02:02:32 +02:00
Vitaly Provodin
7bc1eb8546 Update README.md 2025-04-28 02:02:32 +02:00
Vitaly Provodin
834edba2ce JBR-8255 pass WLToolkit-related settings to subprocesses launched by tests 2025-04-28 02:02:32 +02:00
Vitaly Provodin
bb1ed966c7 JBR-8244 add logging stdout/stderr of subprocesses
(cherry picked from commit 41d655243f)
2025-04-28 02:02:32 +02:00
Vitaly Provodin
29cc01f21c update exclude list on results of 3034 test runs 2025-04-28 02:02:32 +02:00
Alexey Ushakov
2d5bcd971b JBR-8287 Vulkan: enable hw accelerated VolatileImage
Moved robot pixel grabber into windows surface data
Created offscreen surface data
Separated surfaces implementation into two files
Moved offscreen surface to the shared code

Fix
2025-04-28 02:02:32 +02:00
Nikita Gubarkov
ddae1d8dab 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.
2025-04-28 02:02:31 +02:00
Maxim Kartashev
0e6b3b2c66 JBR-8264 java/awt/Multiscreen/UpdateGCTest/UpdateGCTest.java throws StackOverflowError at WLComponentPeer.getMinimumSize 2025-04-28 02:02:31 +02:00
Nikita Gubarkov
3fcd02d96d JBR-8284 Vulkan: fix $VULKAN_SDK autoconf check. 2025-04-28 02:02:31 +02:00
Nikita Gubarkov
9bc52c27df JBR-8254 Buffer X11GraphicsEnvironment.rebuildDevices calls. 2025-04-28 02:02:31 +02:00
Maxim Kartashev
431f43be62 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-04-28 02:02:31 +02:00
Maxim Kartashev
4cee88d0b7 JBR-7897 Tool window resizes is not smooth 2025-04-28 02:02:31 +02:00
Vitaly Provodin
7c178c70d9 Update README.md 2025-04-28 02:02:31 +02:00
Vitaly Provodin
e7222ef36c update exclude list on results of 3005 test runs 2025-04-28 02:02:31 +02:00
Vitaly Provodin
4883ae110c Update README.md 2025-04-28 02:02:31 +02:00
Maxim Kartashev
76f7114255 JBR-8209 javax/swing/JPopupMenu/NestedFocusablePopupTest.java: WLRobotPeer: wakefield extension not present in Wayland instance 2025-04-28 02:02:31 +02:00
Alexey Ushakov
0416dac57c JBR-8201 Vulkan: crash in VKRenderer_MaskFill
Supported fully opaque mask
2025-04-28 02:02:31 +02:00
Vitaly Provodin
ca0f155536 Update README.md 2025-04-28 02:02:31 +02:00
Maxim Kartashev
b750d7adf2 JBR-8197 Wayland: Robot fails if offset in monitor configuration exists 2025-04-28 02:02:31 +02:00
Roman Shevchenko
8d12187763 JBR-8198: substituting empty extension with the "Unix executable" type in the macOS file dialog (#479) 2025-04-28 02:02:31 +02:00
Maxim Kartashev
107b20acf8 JBR-8066 Wayland: clipboard size is limited to 65000 symbols 2025-04-28 02:02:31 +02:00
Maxim Kartashev
377a25ed80 JBR-8116 Wayland: support RounderCornersManager JBR API 2025-04-28 02:02:30 +02:00
Nikita Gubarkov
aa89be9991 Added Clion project setup
(cherry picked from commit db962149ec)
2025-04-28 02:02:30 +02:00
Nikita Gubarkov
4378be30ea Updated IDEA project setup 2025-04-28 02:02:30 +02:00
Vitaly Provodin
1f13b01231 enabling dtrace-tests: added dtrace keyword
(cherry picked from commit 0b5119ca89)
(cherry picked from commit 1959e4a2a4)
2025-04-28 02:02:30 +02:00
bourgesl
d6de945204 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-04-28 02:02:30 +02:00
Sergey Shelomentsev
eeaecb44fd JBR-8046 repack java.base.jmod with correct module hashes after signing 2025-04-28 02:02:30 +02:00
Vitaly Provodin
2c6ec770ae JBR-8161 Move docker files under jbr-tools 2025-04-28 02:02:30 +02:00
Vitaly Provodin
e11603ca0a update exclude list on results of 2963 test runs 2025-04-28 02:02:30 +02:00
Alexey Ushakov
5a9d4cddd8 JBR-8091 X: jb/java/wayland/RobotGet tests thorw java.awt.AWTException: headless environment
Do not run test logic in the headless environment
2025-04-28 02:02:30 +02:00
Maxim Kartashev
67571e827d JBR-7457 Provide JBR API method to explicitly call gc() 2025-04-28 02:02:30 +02:00
Roman Shevchenko
10ac9a8e1c JBR-8156 restoring WSL visibility in the folder picker mode 2025-04-28 02:02:30 +02:00
Nikita Tsarev
f5c98536d8 JBR-5851: Fix 'DVORAK - QWERTY Cmd' layout 2025-04-28 02:02:30 +02:00
Vitaly Provodin
a85a286968 Update README.md 2025-04-28 02:02:30 +02:00
Maxim Kartashev
a235c98cbb JBR-8133 Runtime crash after jfr drag and drop to IU 2025-04-28 02:02:30 +02:00
Alexey Ushakov
e77c7fc1eb JBR-7990 Vulkan: Robot pixel grabbing for Vulkan surfaces
Implemented grabbing pixels via partly supported SurfaceToSwBlit, fixed multi-monitor scenario
2025-04-28 02:02:29 +02:00
Vitaly Provodin
ed558c7847 Update README.md 2025-04-28 02:02:29 +02:00
Nikita Tsarev
5068742117 JBR-8004: Support the context menu key on macOS 2025-04-28 02:02:29 +02:00
Maxim Kartashev
b8884495e5 JBR-8123 NPE because FileSystems.getDefault() is null with -Djava.util.zip.use.nio.for.zip.file.access=true 2025-04-28 02:02:29 +02:00
Vitaly Provodin
74fcec06b4 JBR-8104 OL8: enable premier support for docker images 2025-04-28 02:02:29 +02:00
Vitaly Provodin
610ff97f67 JBR-8072 move JBR docker images to registry.jetbrains.team 2025-04-28 02:02:29 +02:00
Vitaly Provodin
65a536db39 update exclude list on results of 2925 test runs 2025-04-28 02:02:29 +02:00
Maxim Kartashev
188d994b46 JBR-6247 Update JBR-specific tests after JDK-8314823
(cherry picked from commit 791448a24d)
2025-04-28 02:02:29 +02:00
Maxim Kartashev
e9d49f1e59 JBR-1430 (8195129) Windows: use UTF16 version of Win32 API to load DLL
Also correct library name encoding in exception messages.

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 82a239a61d)
2025-04-28 02:02:29 +02:00
Vitaly Provodin
fb7718967c update exclude list on results of 2910 test runs 2025-04-28 02:02:29 +02:00
Vitaly Provodin
0566dd7dda JBR-7929 remove java/awt/event/KeyEvent/AcceleratorTes/AcceleratorTest.html
that clashes with another test due to revert of "8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts" caused by JBR-6387
2025-04-28 02:02:29 +02:00
Vitaly Provodin
38394d0d1e update exclude list on results of 2898 test runs 2025-04-28 02:02:29 +02:00
Maxim Kartashev
ec3a0b77ba JBR-7988 Wayland: WLPopupLocation test: incorrect size detected 2025-04-28 02:02:29 +02:00
bourgesl
78618920f5 JBR-8048: only log system property 'awt.mac.flushBuffers.invokeLater' if manually set 2025-04-28 02:02:29 +02:00
bourgesl
246ab809ca JBR-5497: improved system property (awt.mac.flushBuffers.invokeLater) handling to support false/auto/true modes and log used value at startup 2025-04-28 02:02:28 +02:00
bourgesl
5959d0d915 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
2025-04-28 02:02:28 +02:00
bourgesl
fa8bb719c2 JBR-5497: revert JRSUIController changes (performOnMainThreadWaiting:YES) to avoid UI freeze but appkit violations must be fixed in follow-up fix 2025-04-28 02:02:28 +02:00
Vitaly Provodin
bd394ba1da update exclude list on results of 2865 test runs 2025-04-28 02:02:28 +02:00
Maxim Kartashev
20f08aaee7 JBR-7889 Wayland: java/awt/Focus/ComponentLostFocusTest.java: class sun.awt.NullComponentPeer cannot be cast to class java.awt.peer.TextFieldPeer 2025-04-28 02:02:28 +02:00
Maxim Kartashev
bcf7f3967e 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
2025-04-28 02:02:28 +02:00
Vitaly Provodin
73181df766 JBR-8006 specify path to gcc-toolset-10 2025-04-28 02:02:28 +02:00
Maxim Kartashev
e817e5ee0e JBR-7993 Menus are not displayed directly underneath main menu if offset in monitor configuration exists 2025-04-28 02:02:28 +02:00
Vladimir Kharitonov
ca1d724d0f JBR-7983 adapt the Dockerfile.oraclelinux to build jcef 2025-04-28 02:02:28 +02:00
Sergey Shelomentsev
f569553a87 JBR-7919 add tests for Wayland popups 2025-04-28 02:02:28 +02:00
Maxim Kartashev
2b51f50c71 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
2025-04-28 02:02:28 +02:00
Maxim Kartashev
2e66f277e8 JBR-7969 Wayland: some popups misplaced when maximized with fractional scale 2025-04-28 02:02:28 +02:00
Maxim Kartashev
84b0ffeb8e JBR-7071 Wayland: cursor does not change when hovering over gutter icons 2025-04-28 02:02:28 +02:00
Maxim Kartashev
0ea46560cd 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
2025-04-28 02:02:28 +02:00
Sergey Shelomentsev
a58a9d7408 JBR-5318 add Github workflow usage for pull requests pre-commit testing
(cherry picked from commit f36aa7f9fa)
2025-04-28 02:02:28 +02:00
Vitaly Provodin
e0d3f1ddb4 update exclude list on results of 2827 test runs 2025-04-28 02:02:27 +02:00
Vitaly Provodin
7e608760b5 Update README.md 2025-04-28 02:02:27 +02:00
Sergey Shelomentsev
ae2f2efcac JBR-7939 set max wait to 1 min for jetsign client 2025-04-28 02:02:27 +02:00
Nikita Gubarkov
9c91e2716b 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 1ad3ebcf
2025-04-28 02:02:27 +02:00
Vitaly Provodin
cf133a5bda Update README.md 2025-04-28 02:02:27 +02:00
Vitaly Provodin
ae04141995 update exclude list on results of 2777 test runs 2025-04-28 02:02:27 +02:00
Sergey Shelomentsev
939b35db1d JBR-7867 Notarization scripts: fail build if signing of separate files are failed 2025-04-28 02:02:27 +02:00
Maxim Kartashev
1e5ecc3d58 JBR-7916 Wayland: tests open-sourced in 2024.09 fail 2025-04-28 02:02:27 +02:00
Vitaly Provodin
057b613ea6 update exclude list on results of 2765 test runs 2025-04-28 02:02:27 +02:00
Maxim Kartashev
34edfa8b24 JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case
(cherry picked from commit 0af640f048)
2025-04-28 02:02:27 +02:00
Maxim Kartashev
48236733c2 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).

(cherry picked from commit f91ddf657a)
2025-04-28 02:02:27 +02:00
Maxim Kartashev
da1c59af18 JBR-7859 Wayland: Unexpected focus owner set in a Window 2025-04-28 02:02:27 +02:00
Maxim Kartashev
5bfaaa7ac6 JBR-7851 Wayland: IDEA crashes if Esc is pressed to close Diff window 2025-04-28 02:02:27 +02:00
Maxim Kartashev
b15629281e 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.

(cherry picked from commit 4326028811)
2025-04-28 02:02:27 +02:00
Maxim Kartashev
f891711fdf JBR-7760 Pure wayland: incorrect popup scale
(cherry picked from commit d16c50248d)
2025-04-28 02:02:27 +02:00
Sergey Shelomentsev
14d991cb51 JBR-7856 use jmod from currently built JDK
(cherry picked from commit 5c90a8d4aa)
2025-04-28 02:02:26 +02:00
Sergey Shelomentsev
9a3303fe69 fixup! JBR-7800 Add jnativescan to signing
(cherry picked from commit 3ef8a52e0c)
2025-04-28 02:02:26 +02:00
Nikita Gubarkov
cfe57338ca JBR-7846 Vulkan: Fix compilation in Musl Docker container
(cherry picked from commit 79b9f5b71c)
2025-04-28 02:02:26 +02:00
sergey.shelomentsev
b95cc5a009 JBR-7800 Fix notarization of jbrsdk (sign libs and execs inside jmod files)
(cherry picked from commit dbb42d10f5)
2025-04-28 02:02:26 +02:00
Vitaly Provodin
814918f44a Update README.md
(cherry picked from commit ff4c5dc7b5)
2025-04-28 02:02:26 +02:00
Vitaly Provodin
86db20aecb JBR-6144 enable building JBR with Vulkan
(cherry picked from commit 099698fa19)
2025-04-28 02:02:26 +02:00
Nikita Gubarkov
e4d41f9a2b JBR-7840 Vulkan: Fix compilation in Docker container
(cherry picked from commit f678372d66)
2025-04-28 02:02:26 +02:00
Dmitrii Morskii
403ec4845e JBR-6754 setting nopixfmt in case of running on Remote Desktop
(cherry picked from commit de5d101cac)
2025-04-28 02:02:26 +02:00
Dmitry Batrak
1cc539e871 JBR-7833 Wayland: typeahead problem in a popup
(cherry picked from commit 6093b65936)
2025-04-28 02:02:26 +02:00
Maxim Kartashev
2649b6d27a JBR-7811 Wayland: IDE dialogs and popups flash black before opening
(cherry picked from commit 0703011d40)
2025-04-28 02:02:26 +02:00
Sergey Shelomentsev
cbab4ca36b JBR-7734 add zip distribution for Windows
(cherry picked from commit da26c98b82)
2025-04-28 02:02:26 +02:00
Maxim Kartashev
370f226f30 JBR-7700 Route java.io file system operations via java.nio.file
Use -Djbr.java.io.use.nio=false to undo

(cherry picked from commit ef22b4cc55)
2025-04-28 02:02:26 +02:00
Konstantin Nisht
c651f14195 JBR-7466 Exception on VM startup with -Djava.util.zip.use.nio.for.zip.file.access=true
(cherry picked from commit 79f79bf137)
2025-04-28 02:02:26 +02:00
Konstantin Nisht
b7ba0d403e JBR-7392: Use NIO FS in ZipFile
(cherry picked from commit e21c67095b)
2025-04-28 02:02:26 +02:00
Vitaly Provodin
b453d52bcf Update README.md
(cherry picked from commit 0d66d2bf26)
2025-04-28 02:02:25 +02:00
Vitaly Provodin
4a95367648 JBR-7797 build fastdebug without jcef
(cherry picked from commit cb322fe90d)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
1351341af4 JBR-6691 test/jdk/jdk/internal/misc/VM/RuntimeArguments.java fails on Linux
(cherry picked from commit a3ecac8a79)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
b5d0449aa2 JBR-7663 Wayland: make gtk-shell1 protocol support optional
(cherry picked from commit 30e6c720b6)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
1f97ecc1f2 BR-7663 Wayland: generate proxy code with wayland-scanner on the fly
(cherry picked from commit d599043b7d)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
cf408ef939 JBR-7663 Wayland: add wayland-protocols to the docker files
(cherry picked from commit 8d207ee7e7)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
d66c2955a2 JBR-7726 X11 toolkit: Dialog buttons rendering black rectangle after hovering
(cherry picked from commit 18e63514c5)
2025-04-28 02:02:25 +02:00
Dmitrii Morskii
f83fbb7aaa JBR-7302 added additional emptiness check in getGlyphOutlineBounds
(cherry picked from commit 60fd39e59d)
2025-04-28 02:02:25 +02:00
Nikita Gubarkov
ca72827fd1 JBR-7766 Fix VKTexturePool OOM.
(cherry picked from commit 1a806f4f1b)
2025-04-28 02:02:25 +02:00
Nikita Tsarev
bea24262c5 JBR-7764: Disable window decorations in test/jb/java/awt/Window/RestoreFromFullScreen.java, so that the test doesn't fail spuriously on some WMs
(cherry picked from commit 80c2a5969d)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
b823cbe963 JBR-7749 Settings popup invoked from the main toolbar appears misaligned if fractional scaling set
(cherry picked from commit d41d89e8b4)
2025-04-28 02:02:25 +02:00
Nikita Gubarkov
e484857363 JBR-4725 File dialog modality
(cherry picked from commit 2a5b044c95)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
6ac9bf8390 JBR-7544 Wayland: Cannot resize window to more that 3500px vertically
(cherry picked from commit ef3dfff3ae)
2025-04-28 02:02:25 +02:00
Vitaly Provodin
7f4bafc006 Update README.md
(cherry picked from commit 7b6bc93034)
2025-04-28 02:02:25 +02:00
Maxim Kartashev
3d98a0dcf6 JBR-7748 java/awt/font/JNICheck/FreeTypeScalerJNICheck.java: JNI call made without checking exceptions when required to from CallVoidMethod
(cherry picked from commit ad45f6aec0)
2025-04-28 02:02:25 +02:00
Vitaly Provodin
a0fd72a028 Update README.md
(cherry picked from commit dd41dbcb7b)
2025-04-28 02:02:24 +02:00
Maxim Kartashev
ab6715fd40 JBR-7721 Copying from IntelliJ in pure Wayland on ChromeOS confuses UTF-8 and UTF-16
Avoid data flavor without an explicit charset

(cherry picked from commit 86acba5870)
2025-04-28 02:02:24 +02:00
Nikita Tsarev
70c78e1092 JBR-6324: JBR API for System Shortcuts (macOS)
(cherry picked from commit 22d406a76b)
2025-04-28 02:02:24 +02:00
Nikita Tsarev
3bdf0bd8ff JBR-5690: Reload next window shortcut when it changes
(cherry picked from commit be0d27983c)
2025-04-28 02:02:24 +02:00
Nikita Tsarev
1da4e5fa2f JBR-5726: Report 'Move focus to the previous window in application' system shortcut
(cherry picked from commit 5721bd6908)
2025-04-28 02:02:24 +02:00
Nikita Gubarkov
7553c165f0 JBR-7653 Prepare Docker images for Vulkan builds
(cherry picked from commit 249c46bb6b)
2025-04-28 02:02:24 +02:00
Nikita Gubarkov
9e88489c6d JBR-7673 Cleanup docker scripts
(cherry picked from commit 473686a92e)
2025-04-28 02:02:24 +02:00
Nikita Tsarev
7fa1b91819 JBR-5448: Return all shortcuts from readSystemHotkeys
(cherry picked from commit bb25ab3424)
2025-04-28 02:02:24 +02:00
Nikita Gubarkov
88581cd5ae JBR-7579 Fix SurfaceManager.cacheMap retaining strong references.
(cherry picked from commit b8434796ae)
2025-04-28 02:02:24 +02:00
Alexey Ushakov
d617d279d4 JBR-7724 Add vulkan support to the performance scripts
Implemented -vulkan option

(cherry picked from commit 6f1ecb9b47)
2025-04-28 02:02:24 +02:00
Vitaly Provodin
f149b8e34e Update README.md
(cherry picked from commit a51b24a7eb)
2025-04-28 02:02:24 +02:00
Nikita Gubarkov
61ea8a0eb7 JBR-7565 Vulkan: Implement clip 2025-04-28 02:02:24 +02:00
Nikita Gubarkov
68b6446cc1 JBR-7645 Vulkan: Implement hash table for pipeline sets 2025-04-28 02:02:24 +02:00
Nikita Gubarkov
880655574e 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-04-28 02:02:24 +02:00
Nikita Gubarkov
d6fd0efa44 JBR-7564 Vulkan: Fix HIDPI and multi-monitor scenarios
(cherry picked from commit 7f0b10ad23)
2025-04-28 02:02:24 +02:00
Nikita Gubarkov
83b409862b 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)
2025-04-28 02:02:23 +02:00
Nikita Gubarkov
bda441cb00 JBR-7943 Vulkan: Provide utilities for inspecting image formats 2025-04-28 02:02:23 +02:00
Vitaly Provodin
9f8ff2991c Update README.md
(cherry picked from commit 770c075320)
2025-04-28 02:02:23 +02:00
Nikita Gubarkov
aafd49b1cd JBR-7574 Vulkan: Implement memory allocator
(cherry picked from commit 0be149c84e)
2025-04-28 02:02:23 +02:00
Nikita Tsarev
5962a701a1 JBR-7524: Workaround for showing window tiling actions when hovering over the maximize button on macOS
(cherry picked from commit 8fb519bec4)
2025-04-28 02:02:23 +02:00
Maxim Kartashev
cfc5e4a187 JBR-7504 Use accurate event serial number with the clipboard
(cherry picked from commit d935bd156e)
2025-04-28 02:02:23 +02:00
Maxim Kartashev
713a642372 JBR-7504 WLToolkit - Middle click paste doesn't work properly when pasting to other applications
(cherry picked from commit b553c722be)
2025-04-28 02:02:23 +02:00
Alexey Ushakov
8b82b88bad JBR-7677 Vulkan: Implement Graphics.drawImage()
Implemented:
 - raster loading and blit primitive
 - transform for VKBlitSwToTextureViaPooledTexture
Used texture pool to get temporary image

(cherry picked from commit bf04a71bce)
2025-04-28 02:02:23 +02:00
Egor Ushakov
f9e19baa95 JBR-1354 com/sun/tools/attach/PermissionTest.java: access denied ("java.util.PropertyPermission" "sun.tools.attach.tmp.only" "read")
(cherry picked from commit 3a09f6c1db)
(cherry picked from commit 3b2399fc35)
2025-04-28 02:02:23 +02:00
Egor Ushakov
cebbef4f94 JBR-1061 .attach_pid files in the working dir - flag to put .attach file in tmp dir only
(cherry picked from commit 4bd3f7835e)
(cherry picked from commit b7a3a346e6)
2025-04-28 02:02:23 +02:00
Vitaly Provodin
e4d6361789 Update README.md
(cherry picked from commit 64f5af4fda)
2025-04-28 02:02:23 +02:00
Nikita Tsarev
669f328dad JBR-7672: Only abort key repeat when the key that is being repeated is released [WLToolkit]
(cherry picked from commit a500b52ecb)
2025-04-28 02:02:23 +02:00
Nikita Tsarev
e41516e7bd JBR-7662: Fix key repeat manager sometimes not cancelling properly [WLToolkit]
(cherry picked from commit e1b1116bb9)
2025-04-28 02:02:23 +02:00
Vitaly Provodin
be222f3713 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

(cherry picked from commit 2092570840)
2025-04-28 02:02:23 +02:00
bourgesl
a460604753 JBR-7616: fixed type (str)
(cherry picked from commit a6569241db)
2025-04-28 02:02:22 +02:00
Nikita Tsarev
c78d778251 JBR-7675: Respect disabling key repeat [WLToolkit]
(cherry picked from commit 723f45aca7)
2025-04-28 02:02:22 +02:00
Vitaly Provodin
21471390d7 JBR-7566 apply standard measurement scripts to Render
(cherry picked from commit be24b3e8ed)
2025-04-28 02:02:22 +02:00
Vitaly Provodin
8ab039f631 JBR-7567 apply standard measurement scripts to Dacapo
(cherry picked from commit 289121d0ea)
2025-04-28 02:02:22 +02:00
bourgesl
bbc900e744 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 8d240740ce)
2025-04-28 02:02:22 +02:00
Vitaly Provodin
6eabe3597e Update README.md
(cherry picked from commit f3fc7649fb)
2025-04-28 02:02:22 +02:00
Vitaly Provodin
ddfc631029 Update README.md
(cherry picked from commit 12dd44c724)
2025-04-28 02:02:22 +02:00
Nikita Gubarkov
d054b09ac8 JBR-7572 Bring back VKBuffer functions
(cherry picked from commit 90e516f24c)
2025-04-28 02:02:22 +02:00
Nikita Gubarkov
8325c9f501 JBR-7644 Vulkan: Move barrier state tracking from surface into image
(cherry picked from commit 76dbad4387)
2025-04-28 02:02:22 +02:00
Nikita Gubarkov
03fa80eb28 JBR-7572 Vulkan: Implement vertex buffer pool
Track and reuse vertex buffers, no need to allocate and bind a new buffer on each draw.

(cherry picked from commit e607e789c2)
2025-04-28 02:02:22 +02:00
Vitaly Provodin
5d34e0be2c Update README.md
(cherry picked from commit 62d575dfe4)
2025-04-28 02:02:22 +02:00
Nikita Gubarkov
d866c7df5e JBR-7556 Check negative glyphID in HBShaper
(cherry picked from commit 76852278f4)
2025-04-28 02:02:22 +02:00
bourgesl
fa036d1096 JBR-7616: improved MTLRenderQueue exception handling
(cherry picked from commit ea57bf75e7)
2025-04-28 02:02:22 +02:00
Maxim Kartashev
748916301e 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.

(cherry picked from commit 7a6184d309)
2025-04-28 02:02:22 +02:00
Nikita Provotorov
4b003c1fcc 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.

(cherry picked from commit 6afbc34d4b)
(cherry picked from commit 8b091f52d1)
2025-04-28 02:02:22 +02:00
Nikita Provotorov
abf8fe7888 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.

(cherry picked from commit 874d5698bc)
(cherry picked from commit cb41fa53f0)
2025-04-28 02:02:21 +02:00
Vitaly Provodin
0a966d0a8b Update README.md
(cherry picked from commit 29f3f9f229)
2025-04-28 02:02:21 +02:00
Sergei Tachenov
f4e2c0d12a JBR-7586 Fix title click ungrab when an active user component is clicked
Swing requires that clicking frame decorations should cause the window
to be ungrabbed. However, if a custom title is used, and that title contains
user-provided components, then clicking such components should not
cause the window to be ungrabbed, otherwise a menu located in a custom
title behaves incorrectly.

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

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

(cherry picked from commit f82c018914)
2025-04-28 02:02:21 +02:00
Nikita Tsarev
12bfdc63b4 JBR-7594 Check for LWCToolkit in JBR TextInput API
(cherry picked from commit 3c1fd1c3e6)
2025-04-28 02:02:21 +02:00
Sergei Tachenov
7a2fc17056 JBR-7484 Update the cursor on mouse entered/exited
AppKit resets the cursor on native mouse entered/exited events. Depending on the order of events, it may end up setting the wrong cursor. So update it forcibly on such events.

(cherry picked from commit 2de56405aa)
2025-04-28 02:02:21 +02:00
Sergei Tachenov
e157b67f7f JBR-7481 Work around mouse entered/exited bug
To fix missing mouse entered/exited events when
using rounded corners, we keep track of mouse moved events. When a mouse moved event is detected, and the current peer under the cursor belongs to a different window, we send fake mouse entered/exit events to the old and new windows. We also filter late mouse exited events.

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

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

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

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

(cherry picked from commit 0b5beaf2eb)
2025-04-28 02:02:21 +02:00
Vitaly Provodin
ca8253d4aa Update README.md
(cherry picked from commit 170a7cfa7f)
2025-04-28 02:02:21 +02:00
Alexey Ushakov
ee856e11d2 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

(cherry picked from commit c6aa7f18e5)
2025-04-28 02:02:21 +02:00
Nikita Gubarkov
2833063183 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.

(cherry picked from commit 91aafbe5d2)
2025-04-28 02:02:21 +02:00
Maxim Kartashev
0df8b15ad0 JBR-5615 added missing part for WLToolkit
(cherry picked from commit f407b957f2)
2025-04-28 02:02:21 +02:00
Dominik Matta
17aded5e5d 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>
(cherry picked from commit 873a085de4)
2025-04-28 02:02:21 +02:00
Maxim Kartashev
71c3224e53 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.

(cherry picked from commit 7a3077ded9)
2025-04-28 02:02:21 +02:00
Maxim Kartashev
b8ea32bfdb Added proper copyright headers
(cherry picked from commit 0d5aea938e)
2025-04-28 02:02:21 +02:00
Nikita Gubarkov
1345895332 Fix WindowMoveService on Wayland
(cherry picked from commit 00f213d0ff)
2025-04-28 02:02:21 +02:00
Nikita Gubarkov
cebcfce218 JBR-7570 Implemented ring buffer. Added lazy implicit initialization for dynamic arrays. (#451)
(cherry picked from commit 7b89fe2311)
2025-04-28 02:02:21 +02:00
Nikita Gubarkov
c532df07b1 JBR-7568 Vulkan: Refactor VKLogicalDevice into VKDevice (#449)
* Renamed VKLogicalDevice to VKDevice for conformance and convenience.
* Refactored device->device to device->handle for clarity.

(cherry picked from commit aba56fd3a9)
2025-04-28 02:02:20 +02:00
Nikita Gubarkov
8546ab334d JBR-7569 Removed VMA-Hpp (#450)
(cherry picked from commit 3867557192)
2025-04-28 02:02:20 +02:00
Dmitrii Morskii
317286402b JBR-7126 add more possible names for cursor arrow icon
(cherry picked from commit 95e391166d)
2025-04-28 02:02:20 +02:00
Vitaly Provodin
cf71267262 JBR-5989 Wayland: jdk_swing_wayland test group 2025-04-28 02:02:20 +02:00
Maxim Kartashёv
c37d9deca8 JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and pressing Alt+Enter
(cherry picked from commit 35776b5975)
2025-04-28 02:02:20 +02:00
Maxim Kartashёv
081bbacba3 JBR-7493 Wayland: can't start in maximized state on WSL
(cherry picked from commit 18e39cafa0)
2025-04-28 02:02:20 +02:00
Maxim Kartashёv
3a08dc1b53 JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed
(cherry picked from commit 674b7d1dac)
2025-04-28 02:02:20 +02:00
Maxim Kartashёv
de1f22d511 JBR-7501 Wayland: SurfaceData.flush() method is mis-used
(cherry picked from commit 1299f0f6c6)
2025-04-28 02:02:20 +02:00
Nikita Tsarev
c4e8bd8366 JBR-7478: Fix wrong timestamps on KEY_TYPED events [WLToolkit]
(cherry picked from commit c47edfa7c7)
2025-04-28 02:02:20 +02:00
lbourges
bb97b2e080 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

(cherry picked from commit 5515b0fbfc)
2025-04-28 02:02:20 +02:00
Maxim Kartashёv
9e02e17c94 JBR-7313 Wayland: error: xdg_surface buffer does not match the configured maximized state
(cherry picked from commit 4bb0306175)
2025-04-28 02:02:20 +02:00
Maxim Kartashev
54058f5e49 JBR-7397 Wayland: make certain interfaces optional
(cherry picked from commit a1dcba231a)
2025-04-28 02:02:20 +02:00
Maxim Kartashev
e9a1555080 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

(cherry picked from commit 632a0ace4c)
2025-04-28 02:02:20 +02:00
Alexey Ushakov
301af2144d JBR-7452 Vulkan: Reuse VkRenderPass for multiple renderers (#428)
Moved shared VkRenderPass to the logical device

(cherry picked from commit 3d782ed0f0)
2025-04-28 02:02:20 +02:00
Alexey Ushakov
40cf9b83cd JBR-7420 Vulkan: Implement DRAW_PARALLELOGRAM primitive for flat color rendering (#426)
Refactored rendering code. Provided common implementation for fill and draw operations.

(cherry picked from commit 902f65c6ae)
2025-04-28 02:02:19 +02:00
Nikita Gubarkov
a927a3c3f6 JBR-7419 Refactor Vulkan code
- Separate instance and device-specific function tables
- Avoid using device from global context when possible
- Set up debug logger

(cherry picked from commit af4eb8b758)
2025-04-28 02:02:19 +02:00
Maxim Kartashёv
d360fc1643 JBR-7390 Wayland: need better headless exception message
(cherry picked from commit b68c0ecc6f)
2025-04-28 02:02:19 +02:00
Maxim Kartashёv
fcd76e900f 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

(cherry picked from commit 5d67a135e4)
2025-04-28 02:02:19 +02:00
Maxim Kartashёv
b320da72f3 JBR-7254 Impossible to copy/paste files in Project tree
(cherry picked from commit 762cd2b23e)
2025-04-28 02:02:19 +02:00
Maxim Kartashev
3d530d543d JBR-7290 Wayland: window permanently looses focus after invoking Go To Line dialog
(cherry picked from commit c381634aff)
2025-04-28 02:02:19 +02:00
Alexey Ushakov
5c9a826543 JBR-7308 Vulkan: Build failure in vulkan enabled builds
Added missing header (jni_util.h)

(cherry picked from commit 02fb3aee06)
2025-04-28 02:02:19 +02:00
Alexey Ushakov
af2583a661 JBR-7305 Vulkan: Implement FILL_SPANS primitive for flat color rendering
Implemented flat color shape rendering

(cherry picked from commit 6f84d82d1d)
2025-04-28 02:02:19 +02:00
Nikita Gubarkov
d5063af09f JBR-7307 Add stub for VKInstance.initNative with disabled Vulkan.
(cherry picked from commit e834ce867f)
2025-04-28 02:02:19 +02:00
Nikita Gubarkov
f3c54a07f0 JBR-7237 Fix cyclic dependency of Wayland and Vulkan initialization (#396)
(cherry picked from commit cde482c1fd)
2025-04-28 02:02:19 +02:00
Maxim Kartashёv
a3a7a83f2d 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

(cherry picked from commit 4083b43591)
2025-04-28 02:02:19 +02:00
Alexey Ushakov
b12ea96404 JBR-7256 Vulkan: Implement FILL_PARALLELOGRAM primitive for flat color rendering
(cherry picked from commit 57dc1a9e23)
2025-04-28 02:02:19 +02:00
Maxim Kartashev
332707ffc5 JBR-7237 Separate display connect from WLToolkit initialization
(cherry picked from commit 768d46d049)
2025-04-28 02:02:19 +02:00
Maxim Kartashev
959e6c7512 JBR-7202 wayland: memory leak when resizing windows
(cherry picked from commit 64660b0c00)
2025-04-28 02:02:19 +02:00
Maxim Kartashev
f0f7d39a81 JBR-7206 Wayland: Stylepad demo flickers when resizing on KDE
(cherry picked from commit 996d4f7490)
2025-04-28 02:02:19 +02:00
Alexey Ushakov
55c2d1f38e 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

(cherry picked from commit 85e44bf973)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
dac5075adf JBR-7209 Wayland: modernize window decorations
(cherry picked from commit d3496bc966)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
5e384701de JBR-7201 Wayland: update copyright in files generated by wayland-scanner
(cherry picked from commit 33a7167108)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
40fe8f8329 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.

(cherry picked from commit 8ff1d3c6aa)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
e0fd5995ec JBR-7158 Wayland: scale with wp_viewport instead of buffer scale
(cherry picked from commit 8227e43343)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
742b275753 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

(cherry picked from commit 639a7b4a5e)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
8f2965109a JBR-7047 Deadlock on git fetch on Wayland
(cherry picked from commit eabaada5bc)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
b18e970a8d JBR-6576 Wayland: exception when double-clicking dialog title bar
(cherry picked from commit e42b74780b)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
dceaaa86a3 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.

(cherry picked from commit 392a016333)
2025-04-28 02:02:18 +02:00
tsarn
4898b195d5 JBR-7063: Make .getKeyChar() report chars in KEY_PRESSED/KEY_RELEASED events for compatibility [WLToolkit] (#371)
(cherry picked from commit bc5bdd2b9e)
2025-04-28 02:02:18 +02:00
tsarn
4302b3e281 JBR-6848: Support extra mouse buttons for navigation [WLToolkit]
(cherry picked from commit 2fb530835d)
2025-04-28 02:02:18 +02:00
tsarn
8bc6f31c8a JBR-6434: Fix pointer leave also resetting the keyboard modifiers [WLToolkit] (#370)
(cherry picked from commit bae7c40fa5)
2025-04-28 02:02:18 +02:00
tsarn
bdf4349350 JBR-7044: Reset clickCount on mouse moves [WLToolkit]
(cherry picked from commit 0dc57e183c)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
003448b58a JBR-7010 Wayland: Swing window resizing is not smooth enough
(cherry picked from commit 724bdfbabb)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
9962d6d7ce JBR-6926 Wayland: fonts are aliased/grainy on first start
(cherry picked from commit 9ee13ff658)
2025-04-28 02:02:18 +02:00
Maxim Kartashev
300e532b9d JBR-6920 Wayland: some IDEA popups positioned incorrectly
(cherry picked from commit e28d2bacc7)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
2d81d20b45 JBR-6895 Wayland: cursor changes to resize at edges even when window is maximized
(cherry picked from commit a634a8b345)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
d0adabb96a JBR-6884 SIGSEGV in Java_sun_java2d_wl_WLSMSurfaceData_pixelsAt
(cherry picked from commit 5b883749de)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
7a3b4e022c JBR-6448 Wayland: IDEA window looks pixelated after monitors scale was changed
(cherry picked from commit 3318c2260b)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
633780d15f JBR-6814 Wayland: support sun.java2d.uiScale property
(cherry picked from commit 2d420bfd59)
2025-04-28 02:02:17 +02:00
Alexey Ushakov
03263e6b84 JBR-6787 WLToolkit/wsl: crash in WLComponentPeer.setCursor
Added check for unavailable cursor pData

(cherry picked from commit b24e4bce02)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
9e2b2fddcd JBR-6783 MouseEvent/MenuDragMouseEventAbsoluteCoordsTest/MenuDragMouseEventAbsoluteCoordsTest.java: Found one Java-level deadlock
(cherry picked from commit 4e391051bd)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
c1c16f9766 JBR-6504 Wayland: optional Robot capability to peek at current window's pixels
(cherry picked from commit 4e1bac1d8e)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
1aa55d6c60 JBR-6519 Linux: SIGSEGV at [libwayland] wl_proxy_get_version
Guard against passing NULL to libwayland

(cherry picked from commit 74ab4ac224)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
1e5f2cebb0 JBR-6736 libwakefield crashes weston
(cherry picked from commit 6777dcb2f7)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
a1c3ca6402 JBR-6722 OutOfMemoryError: Failed to allocate Wayland surface buffer
(cherry picked from commit 8ccf0e158f)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
3ceeb5a608 JBR-6617 Wayland: java/awt/Frame/HugeFrame/HugeFrame.java crashes JVM
(cherry picked from commit 1d9a2193c9)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
fe932bbae1 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.

(cherry picked from commit acb2a54349)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
21ca2a3dbc JBR-6469 Wayland: java/awt/image/ColorModel/DrawCustomColorModel.java throws UnsupportedOperationException
(cherry picked from commit 40da67b44e)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
006a99c89a JBR-6467 Wayland: java/awt/GraphicsConfiguration/NormalizingTransformTest/NormalizingTransformTest.java fails
(cherry picked from commit 14339b83cd)
2025-04-28 02:02:17 +02:00
Maxim Kartashev
6c1fd5f323 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

(cherry picked from commit 5901915afb)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
a275ca7449 JBR-6559 Wayland: popups may stop working after a while
Cancel the frame callback when hiding a window.

(cherry picked from commit fd4ba3f752)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
e1aebb51a2 JBR-6452 Wayland: avoid copying entire surface buffers
(cherry picked from commit b13bcec55b)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
e5c9fa0b50 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.

(cherry picked from commit e625eeca1e)
2025-04-28 02:02:16 +02:00
Dmitrii Morskii
4362f6890f JBR-6372 Wayland:
-correctly positioning SplashScreen on multiple monitors;
-correctly correctly handles cases of SplashScreen with gif with transparent parts;
-refactoring;

(cherry picked from commit 7d750cfbcf)
2025-04-28 02:02:16 +02:00
Alexey Ushakov
3ed52503b9 JBR-6445 Prepare RepaintManager code for displaySync=false
Refactored AWTAccessor code

(cherry picked from commit acbd18f361)
2025-04-28 02:02:16 +02:00
Dmitry Batrak
178cb4ec68 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

(cherry picked from commit 07fa18103e)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
289de27552 JBR-6416 Wayland: IDEA maximize button out of sync sometimes
(cherry picked from commit 6122875478)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
4828cc2360 JBR-6391 Wayland: memory indicator tooltip flickers
(cherry picked from commit e84bddb1ba)
2025-04-28 02:02:16 +02:00
Dmitrii Morskii
b67f36cc76 JBR-6213 Wayland: removed blurring on cursor on multiple monitors with different scales
(cherry picked from commit fa7844da7c)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
56a6c4905a JBR-6276 Wayland: WLToolkit logs too much
Changed the logging level for such messages to FINE

(cherry picked from commit e946179554)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
bc9362d203 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.

(cherry picked from commit a36c9604b1)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
2bd4af1a48 JBR-6321 Wayland: popup windows do not respect screen bounds
(cherry picked from commit b8b08a36aa)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
ef53c06b1a JBR-6313 Wayland: pasting from clipboard doesn't always work
Also added a flush-to-server command following each Wayland request

(cherry picked from commit 58d2d421e0)
2025-04-28 02:02:16 +02:00
Maxim Kartashev
c0150f0072 JBR-6276 Wayland: WLToolkit logs too much
(cherry picked from commit fee20da837)
2025-04-28 02:02:15 +02:00
Nikita Tsarev
cac6492b3a JBR-5678: Refactor Wayland keyboard support
(cherry picked from commit 070ec5bb8c)
2025-04-28 02:02:15 +02:00
Dmitrii Morskii
ee43d878d4 JBR-5965 Wayland: implement SplashScreen
(cherry picked from commit c0247eae4f)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
5a73c60d43 JBR-6253 Wayland: can't run in weston because of xdg_wm_base version 3
(cherry picked from commit 79ddf65b83)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
ae3fe7cffc JBR-6212 Wayland: app does not terminate upon Wayland protocol error
(cherry picked from commit 5ad4f8a06d)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
4894106319 JBR-6209 Wayland: popup windows cannot be moved
(cherry picked from commit 0aecd427d2)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
b27fff0c9c JBR-5977 Wayland: make undecorated windows natively resizeable
(cherry picked from commit fc735db0dc)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
8e1f408dc7 JBR-6207 Wayland: many popup windows positioned incorrectly
When popup's parent is also its top-level window, use that instead of
null

(cherry picked from commit 47d484b60f)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
5d57c0c873 JBR-6183 Wayland: clipboard-related exception in headless environment
(cherry picked from commit e302f472f2)
2025-04-28 02:02:15 +02:00
Nikita Gubarkov
15e572c03e JBR-6144 Build JBR with Vulkan support
1. Update dockerfile to checkout Vulkan headers
2. Fix --with-vulkan-include configure option

(cherry picked from commit 67c8c4dc1a)
2025-04-28 02:02:15 +02:00
Alexey Ushakov
5cb42d5030 JBR-6158 Cannot build jbr21 with wayland toolkit on wsl2
Added --with-wayland-lib option to provide custom library path

(cherry picked from commit cdc2b1b7a0)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
69242f87c8 JBR-5857 Wayland: implement clipboard support
(cherry picked from commit c155acb7f5)
2025-04-28 02:02:15 +02:00
Dmitry Batrak
a84971bfe9 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

(cherry picked from commit 903231dc50)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
75444705d0 JBR-6138 Wayland: utilize gtk_shell1 protocol to mark dialogs as modal
(cherry picked from commit ba60bfa1f4)
2025-04-28 02:02:15 +02:00
Maxim Kartashev
91969b61a0 JBR-6117 Wayland: JVM shutdown hang
(cherry picked from commit 20b2eeb0cc)
2025-04-28 02:02:15 +02:00
Dmitry Batrak
4077f27d31 JBR-5961 Wayland: can't switch between projects using menu
prevent using a pointer to destroyed surface

(cherry picked from commit ba1b5cec5f)
2025-04-28 02:02:14 +02:00
Dmitry Batrak
08bb6df818 JBR-5961 Wayland: can't switch between projects using menu
fix typo

(cherry picked from commit 1ee3c83ef0)
2025-04-28 02:02:14 +02:00
Dmitry Batrak
4da0f6fd52 JBR-5961 Wayland: can't switch between projects using menu
support Window.toFront in Wayland toolkit

(cherry picked from commit b42043930f)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
20f654ba51 JBR-6071 Alpine Linux compilation: error: implicit declaration of function 'pthread_getname_np'
(cherry picked from commit 72722dac36)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
091ef51914 JBR-5989 Wayland: jdk_awt_wayland test group
(cherry picked from commit 05ad0c35dd)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
3e59942047 JBR-6025 Wayland: miscellaneous small improvements
(cherry picked from commit 9dfeaac204)
2025-04-28 02:02:14 +02:00
Alexey Ushakov
98390813c6 JBR-6045 WLToolkit(Vulkan): Add options to select physical device
Changed access to _name field, minor corrections in verbose print

(cherry picked from commit 36407e978c)
2025-04-28 02:02:14 +02:00
Alexey Ushakov
88a8a22e58 JBR-6045 WLToolkit(Vulkan): Add options to select physical device
Implemented -Dsun.java2d.vulkan=True and -Dsun.java2d.vulkan.deviceNumber=n VM options

(cherry picked from commit 7ea0f44a6f)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
6cc27b2318 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.

(cherry picked from commit 86080923bb)
2025-04-28 02:02:14 +02:00
Nikita Gubarkov
89f3790639 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.

(cherry picked from commit 9ceaebbb60)
2025-04-28 02:02:14 +02:00
Alexey Ushakov
2588ae1e56 JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Protected surfaceAssigned from MT access

(cherry picked from commit e5a3802293)
2025-04-28 02:02:14 +02:00
Alexey Ushakov
d5e037454c JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Skip sending paint events for not configured peers

(cherry picked from commit 145d6405e4)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
62d672fec8 JBR-5968 Wayland: support PERPIXEL_TRANSLUCENT
(cherry picked from commit 35bb2d2489)
2025-04-28 02:02:14 +02:00
Nikita Tsarev
3544ce8593 JBR-5963: Fix RobotKeyboard test and implement getLockingKeyState
(cherry picked from commit 8210596700)
2025-04-28 02:02:14 +02:00
Maxim Kartashev
d865313fab 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).

(cherry picked from commit 2b68207e79)
2025-04-28 02:02:13 +02:00
Nikita Tsarev
7ba4e1261f Regenerate wakefield-client-protocol using an older wayland-scanner to temporarily fix build problems
(cherry picked from commit 7310c73a94)
2025-04-28 02:02:13 +02:00
Nikita Tsarev
7d9dbea1ca JBR-5676: Support emulating input events in Wakefield
(cherry picked from commit 6544d9d976)
2025-04-28 02:02:13 +02:00
Nikita Tsarev
432e552a6e JBR-5900: Fix deadlock when enabling the Wakefield extension
(cherry picked from commit f1712ababd)
2025-04-28 02:02:13 +02:00
Nikita Tsarev
cd282e0bfe JBR-5896: Fix WLToolkit being instantiated twice
(cherry picked from commit 1bdfdc275d)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
b340cfa7fe JBR-5861 Wayland: minimum necessary stubs to run IDEA
(cherry picked from commit d8dbfd7249)
2025-04-28 02:02:13 +02:00
Alexey Ushakov
dab7c99488 JBR-5645 Provide basic classes for Vulkan rendering pipeline
Implemented shared classes for cross-platform vulkan implementation and some support for wayland toolkit

(cherry picked from commit 9ea3d2d0b1)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
ba1ea59ec9 JBR-5661 Wayland: implement heavy-weight popup windows
(cherry picked from commit abdfb7231b)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
3e6d3b6bd5 JBR-5666 Wayland: WLToolkit doesn't work with weston
Multiple Wayland buffers support.

(cherry picked from commit 4541c118ff)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
b1f09e5dc0 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.

(cherry picked from commit 2d0d950d5b)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
279b078f70 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.

(cherry picked from commit 453aa66d79)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
46de8d586b JBR-5655 java/awt/Toolkit/Wayland/WaylandToolkit.java: WLToolkit not found
WLToolkit made operational in headless mode

(cherry picked from commit 5679e134a7)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
f9e37e09eb Wayland: fix AWT initialization on macOS
(cherry picked from commit 382e6c6989)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
3fdb7a3b35 Wayland: fixed build errors on macOS
(cherry picked from commit 82fe989dd7)
2025-04-28 02:02:13 +02:00
Maxim Kartashev
075a9bcf14 Wayland: fixed build errors with older versions of Wayland
(cherry picked from commit d6150b8c8b)
2025-04-28 02:02:13 +02:00
Alexey Ushakov
08c6c530c8 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>
(cherry picked from commit 2e26de3c45)
2025-04-28 02:02:12 +02:00
Vitaly Provodin
ddbc935c60 Update README.md
(cherry picked from commit 49c5e7dd3a)
2025-04-28 02:02:12 +02:00
Vitaly Provodin
864a08e9b1 JBR-7532 upgrade alpine up to 3.14, specify versions of installing packages, and deploy the latest available jdk20 (same as in jbr21)
(cherry picked from commit 794eab0e1f)
2025-04-28 02:02:12 +02:00
Vitaly Provodin
305f849453 JBR-7456 add regression test checking if implementations of all available the random number generator algorithms can be instantiated, including the default one
(cherry picked from commit 3950e80ba1)
2025-04-28 02:02:12 +02:00
Nikita Tsarev
df428919c7 JBR-7529: Explicitly check for press-and-hold in performKeyEquivalent
(cherry picked from commit 9fadadf039)
2025-04-28 02:02:12 +02:00
Vitaly Provodin
93c17a8bff JBR-7517 build JBR artefacts with CDS archives
(cherry picked from commit 0b5462b3ec)
2025-04-28 02:02:12 +02:00
Vitaly Provodin
e5a1b94be9 Update README.md
(cherry picked from commit d27df085c7)
2025-04-28 02:02:12 +02:00
bourgesl
5ce2d46324 JBR-7460: fixed (macos) MTLTexturePool GC implementation: minor syntax updates from JBR-7461
(cherry picked from commit 713162c6b5)
2025-04-28 02:02:12 +02:00
Nikita Tsarev
d7883d2be3 JBR-7426: Fix cancelling press-and-hold causing some future key events being swallowed
(cherry picked from commit a07d5e4a60)
2025-04-28 02:02:12 +02:00
bourgesl
350a0ab1eb JBR-7460: fixed (macos) MTLTexturePool GC implementation to release texture memory more promptly (regular young GC freeing not reused textures since 15s) + unified API with new generic AccelTexturePool (C) to be shared with the coming vulkan pipeline (linux)
(cherry picked from commit ea12ccdf5e)
2025-04-28 02:02:12 +02:00
Dmitrii Morskii
fc64275e8d JBR-6772 handled case with adding new timers after VM was suspended
(cherry picked from commit 1dd81b186b)
2025-04-28 02:02:12 +02:00
Maxim Kartashёv
5d612bbfad 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.

(cherry picked from commit fd9bf2c37a)
2025-04-28 02:02:12 +02:00
Sergey Shelomentsev
34328ce53e Update jbr-api version to 1.0.2
(cherry picked from commit 9c4a2ac50a)
2025-04-28 02:02:12 +02:00
Stanislav Dombrovsky
c57412ff33 Fix rendering of HTML list dots + better vertical align for them.
(cherry picked from commit fa4a404533ba1ef638fe523adc74391aee8a3ebf)

(cherry picked from commit 9f079c66e9)
(cherry picked from commit baf2f0b73f)
2025-04-28 02:02:12 +02:00
Nikita Tsarev
593e5c50e5 JBR-6588: JBR API for inspecting certain properties of KeyEvents
(cherry picked from commit cf2abf34d7)
2025-04-28 02:02:11 +02:00
Nikita Tsarev
28fe959d41 JBR-7449: Fix press-and-hold cancel keys not being swallowed by JBR
(cherry picked from commit a0dbdff2b0)
2025-04-28 02:02:11 +02:00
Alexey Ushakov
af77bb7a11 JBR-6545 java/awt/Mixing/AWT_Mixing/JProgressPaneOverlapping.java fails by time out (sun.java2d.metal.MTLLayer.blitTexture)
Moved test frame by some offset to avoid interaction with mac menu bar

(cherry picked from commit 7d3688ab93)
2025-04-28 02:02:11 +02:00
Artem Bochkarev
a0b281434f JBR-5405: supported BufImgSurfaceData
(cherry picked from commit 3c2d26f834)
2025-04-28 02:02:11 +02:00
Maxim Kartashev
d688c81df1 JBR-6830 Poor performance with KDE Plasma 6 X11
Use -Dwatch.desktop.geometry=false as a workaround until the KWin issue
is fixed

(cherry picked from commit d90f0e524b)
2025-04-28 02:02:11 +02:00
Artem Bochkarev
6f38cc03ea JBR-4430 Fixed execution permissions on Linux
(cherry picked from commit f3896017f0)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
ea697b8b4f update exclude list on results of 21.0.3_b517.1 test runs
(cherry picked from commit 88a92ef655)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
75ba84ecc7 Update README.md
(cherry picked from commit 4d2ddff1f8)
2025-04-28 02:02:11 +02:00
bourgesl
d46b09709e 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
(cherry picked from commit 2db47e604e)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
688bc8d4f2 Update README.md
(cherry picked from commit 2edeae7740)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
9ece28cb7c JBR-6696: fix drawableId usage + revert PrinterJob changes (non-appkit thread)
(cherry picked from commit 5229c513e3)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
442050be71 Update README.md
(cherry picked from commit c6583bd7fc)
2025-04-28 02:02:11 +02:00
Vitaly Provodin
8feb50798f Update README.md
(cherry picked from commit db562b31b0)
2025-04-28 02:02:11 +02:00
bourgesl
950069cd3f 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 975b4b8cc9)
2025-04-28 02:02:11 +02:00
Alexey Ushakov
7bda61b164 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

(cherry picked from commit e523e30250)
2025-04-28 02:02:11 +02:00
Nikita Tsarev
d1c387da47 JBR-6764: Add null check on hostAdapterLocator
(cherry picked from commit 7396316337)
2025-04-28 02:02:10 +02:00
Sergey Shelomentsev
044df9417e JBR-4912 test moved from JBR repository
(cherry picked from commit 4732942427)
2025-04-28 02:02:10 +02:00
Nikita Provotorov
f17a277cbf JBR-7157: Alt+Shift+Enter sends KEY_TYPED Event.
JBR-7336 Any keyboard shortcut with Alt produces a Windows system sound.

* 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 d732718ef7)
2025-04-28 02:02:10 +02:00
Nikita Tsarev
bd07fc44f3 JBR-6764: Work around IMEs breaking on macOS due to macOS JavaRuntimeSupport not reporting the correct locale in IMEs once after application startup
(cherry picked from commit d982095f1c)
2025-04-28 02:02:10 +02:00
Vitaly Provodin
a0701b46c8 Update README.md
(cherry picked from commit ca6ad3d091)
2025-04-28 02:02:10 +02:00
Artem Bochkarev
55c3ac5b1a JBR-5405: implementation of direct raster loading for VolatileImage
(cherry picked from commit d963035445)
2025-04-28 02:02:10 +02:00
Vitaly Provodin
6583d55698 update exclude list on results of 21.0.3_b479 test runs
(cherry picked from commit 3c65d18f2e)
2025-04-28 02:02:10 +02:00
Vitaly Provodin
113095090d fixup! JBR-7263 introduce /othervm for the tests specifying -Djetbrains.runtime.api.extendRegistry=true
(cherry picked from commit b85f46318a)
2025-04-28 02:02:10 +02:00
bourgesl
91ed2426c5 JBR-7170: fixed NPE if peer is null
(cherry picked from commit a786741193)
2025-04-28 02:02:10 +02:00
Sergey Shelomentsev
badc42c7d5 Set jbr-api version to 1.0.0
(cherry picked from commit fa825aee1d)
2025-04-28 02:02:10 +02:00
Nikita Tsarev
d8036648cc JBR-7133: JBR API for IME replacement range on macOS
(cherry picked from commit b807d0f946)
2025-04-28 02:02:10 +02:00
Vitaly Provodin
6ab562a2a7 update exclude lists removing lines related to fixed issues
(cherry picked from commit 4526475115)
2025-04-28 02:02:10 +02:00
Vitaly Provodin
6d36294dfe Update README.md
(cherry picked from commit 48e2248486)
2025-04-28 02:02:10 +02:00
Maxim Kartashev
e76519d8a1 JBR-5761 Make error printing more robust during early stages of VM initialization
(cherry picked from commit 84d95894e4)
2025-04-28 02:02:10 +02:00
bourgesl
111dc06d0a JBR-7170: added explicit @available for addPresentedHandler()
(cherry picked from commit 7973a4cff4)
2025-04-28 02:02:09 +02:00
bourgesl
bbad31a4eb JBR-7170: implement FPS counters for metal using callbacks from MTLLayer presentHandler
(cherry picked from commit cf06dcc383)
2025-04-28 02:02:09 +02:00
Nikita Gubarkov
dbbd675608 JBR-5615 add sun.java2d.logDisplays VM option
It prints to stdout whenever display configuration is changed.

(cherry picked from commit 8eec3188c6)
2025-04-28 02:02:09 +02:00
Nikita Gubarkov
b382a765b5 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

(cherry picked from commit a4804efa96)
2025-04-28 02:02:09 +02:00
Roman Shevchenko
f2e9ef3b5d JBR-7194: extension-based filters in native file dialogs
(cherry picked from commit cf5d136b3e)
2025-04-28 02:02:09 +02:00
Nikita Tsarev
0c6c86b85f JBR-7134: Fix InputMethodTests on macOS
(cherry picked from commit 7a970238af)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
f04f07a9a8 Update README.md
(cherry picked from commit 6514818b3b)
2025-04-28 02:02:09 +02:00
Dmitrii Morskii
0d9f24704b JBR-7128 Use the correct WmSize event type for JFrame moved to another monitor
author: Sergei Tachenov
(cherry picked from commit 01f1c7e15d)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
8df2862b7f Update README.md
(cherry picked from commit 6242827cd1)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
12d4260a06 update exclude list on results of 21.0.3_b453.2 test runs
(cherry picked from commit 1bc34d2a51)
2025-04-28 02:02:09 +02:00
Sergey Shelomentsev
b72b881262 JBR-7117 Set initial display mode after test execution
(cherry picked from commit e4530745c2)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
6acb175edf Update README.md
(cherry picked from commit 0e705dc638)
2025-04-28 02:02:09 +02:00
Maxim Kartashev
d26967c12c 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

(cherry picked from commit 872e73ed1e)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
412cd1f8ee Update README.md
(cherry picked from commit 9ace20e1e1)
2025-04-28 02:02:09 +02:00
Dmitry Drobotov
b35a1c9f15 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)
(cherry picked from commit e785e9e7c9)
2025-04-28 02:02:09 +02:00
Vitaly Provodin
730011b696 Update README.md
(cherry picked from commit a66b19eb93)
2025-04-28 02:02:08 +02:00
Vitaly Provodin
c493923cf1 Update README.md
(cherry picked from commit 68a09733c8)
2025-04-28 02:02:08 +02:00
Vitaly Provodin
345c15b69b update exclude list on results of 21.0.3_b446.1 test runs
(cherry picked from commit a0edd1e725)
2025-04-28 02:02:08 +02:00
Nikita Provotorov
782a649764 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)
(cherry picked from commit 7355948065)
2025-04-28 02:02:08 +02:00
Nikita Tsarev
441feef420 JBR-7119: respect replacementRange in IME events on macOS
(cherry picked from commit 09c31a6242)
2025-04-28 02:02:08 +02:00
Dmitrii Morskii
dc1e99bdbd JBR-6376: implement detecting of OS theme on linux
(cherry picked from commit d8aaa3da47)
2025-04-28 02:02:08 +02:00
Dmitrii Morskii
2b3ab6b35a Revert "JBR-6372: implement detecting of OS theme on linux"
This reverts commit a657e4e2cbce139f2c5b53c7fb5f30d81f99e311.

(cherry picked from commit c626c9f220)
2025-04-28 02:02:08 +02:00
Nikita Gubarkov
b28abf73ac JBR-7046 Tolerate subpixelResolution=0 in Metal and OGL
(cherry picked from commit 28d0f00899)
2025-04-28 02:02:08 +02:00
Maxim Kartashev
c87090c1f0 JBR-5611 Window header is visible but body not on Linux Ubuntu with external display
(cherry picked from commit 96494dd000)
2025-04-28 02:02:08 +02:00
Nikita Gubarkov
0e875c6da5 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.

(cherry picked from commit 891a9c6c52)
2025-04-28 02:02:08 +02:00
Nikita Tsarev
dabfa97697 Disable flappy KeyCodesTest assertions, see JBR-6888
(cherry picked from commit 7f5dd368e3)
2025-04-28 02:02:08 +02:00
Sergei Tachenov
ffaffad335 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.

(cherry picked from commit 6cc237583b)
2025-04-28 02:02:08 +02:00
Ajit Ghaisas
05be2609aa update exclude list on results of main.2176 test runs
(cherry picked from commit 82a97445bd)
2025-04-28 02:02:08 +02:00
Vitaly Provodin
8cda745184 introduce jbMuslProblemList.txt exclude list
(cherry picked from commit 17c6238051)
2025-04-28 02:02:08 +02:00
Vitaly Provodin
a08014bc64 update exclude list on results of 21.0.2_b427.6 test runs
(cherry picked from commit e768c854cf)
2025-04-28 02:02:07 +02:00
Sergei Tachenov
ff642ac3dc 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.

(cherry picked from commit 8f5eb72836)
2025-04-28 02:02:07 +02:00
Maxim Kartashev
5019a09031 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"

(cherry picked from commit 92e4311f13)
2025-04-28 02:02:07 +02:00
Nikita Gubarkov
5a28270888 JBR-6927 Safe asynchronous destruction of Metal graphics config.
(cherry picked from commit eee433fe5e)
2025-04-28 02:02:07 +02:00
Nikita Gubarkov
8dadb2f53c Fix Windows AWT compilation errors
Frame, Window, FileDialog, CustomTitleBar

(cherry picked from commit 2ada4a575b)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
6678bacc0b Update README.md
(cherry picked from commit 0ea55b1641)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
aa85c78f78 JBR-6639 Docker images for JBR/JCEF testing
(cherry picked from commit 1342899218)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
cdf473f90f JBR-6915 add the option -w into mkimages scripts
(cherry picked from commit 56bb878275)
2025-04-28 02:02:07 +02:00
Alexey Ushakov
b81cba4977 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.

(cherry picked from commit 8697cfb660)
2025-04-28 02:02:07 +02:00
Dmitrii Morskii
7d0efbacf6 JBR-6171 removing deadlock related to calling getCurrentServerTime
(cherry picked from commit 5fa4617d38)
2025-04-28 02:02:07 +02:00
Maxim Kartashev
a4dc6e2d91 JBR-6847 Improve locking performance on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseCriticalSection
to revert to the old behavior

(cherry picked from commit 72ffacf34a)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
ae6514c69d update exclude list on results of 21.0.2_b417.1 test runs
(cherry picked from commit b77ac8db98)
2025-04-28 02:02:07 +02:00
Dmitrii Morskii
d86edf3308 JBR-6372: implement detecting of OS theme on linux
(cherry picked from commit 1d47383016)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
9c509743d5 JBR-1668: minor fixes - temporary fix for compilation issue SystemHotkey.m:74:29: error: format string is not a string literal
(cherry picked from commit b6234f5aa7)
2025-04-28 02:02:07 +02:00
Nikita Gubarkov
d56e906d14 JBR-6723 Deal with integer overflow in DrawGlyphList with enabled subpixelResolution
(cherry picked from commit 8b34ae396c)
2025-04-28 02:02:07 +02:00
Vitaly Provodin
94a09cb27a Update README.md
(cherry picked from commit bdae8e43fb)
2025-04-28 02:02:06 +02:00
Nikita Provotorov
deb73bbf08 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.
- 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 43a9a3a17a)
(cherry picked from commit 156e5d9b65)
(cherry picked from commit 59f0ca804f)
2025-04-28 02:02:06 +02:00
Dmitrii Morskii
7605e80a53 JBR-6541 Added ability to get supported features and stylistic sets for font
(cherry picked from commit 170e743a13)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
c7a8b66c75 increase delay in InputMethodTest
(cherry picked from commit 8048ea52f7)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
70e5df5b1f JBR-6704: Fix extra IME events when a ctrl shortcut causes window focus switch [macOS]
(cherry picked from commit 4d851790cd)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
12dd55b50e JBR-6331: Fix some memory safety issues in macOS keyboards
(cherry picked from commit 0f9ba8771f)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
0932815cbb JBR-6028: Check before attempting to switch to a layout that might not exist in KeyCodesTest
(cherry picked from commit 421dd1fa69)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
28e59fdca3 InputMethodTest: fix certain IMEs not being added properly
(cherry picked from commit 621a5e37d6)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
df0496119d JBR-5379: Ignore input events only on permament focus loss
(cherry picked from commit ca8aebd211)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
f9da34ad74 JBR-5630: vmoption to change dead key reporting behavior on macOS
(cherry picked from commit aeb6569d4c)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
0f34d8820e JBR-5469: Fix NextAppWinKey behavior with certain keys
(cherry picked from commit 9a1d6d1813)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
66fe5641ec JBR-5558: macOS keyboard rewrite 2
(cherry picked from commit 81f3819f4e)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
e4e42bcce3 JBR-5295: Fix wrong keycodes for non-letter keys that lack a corresponding VK_ constant on macOS
(cherry picked from commit 3c42e56d93)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
045444b997 JBR-5254: Fix Caps Lock not working properly on certain Chinese IMs
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit be64a4f3d0)
2025-04-28 02:02:06 +02:00
Nikita Tsarev
597a08c67a 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

(cherry picked from commit fbb7ba8c0b)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
57a50aeaed JBR-5233 Setup/teardown necessary keyboard layouts in macOS keyboard tests
(cherry picked from commit 1fa48463f2)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
09cceb67cb JBR-5173 macOS keyboard support rewrite
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 88c281a243)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
83040ec99e Revert "macOS national keyboard support"
This reverts commit 21bffd06bc.

(cherry picked from commit 7806ef7ff3)
2025-04-28 02:02:05 +02:00
Nikita Provotorov
6a4ca7944e 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).

(cherry picked from commit ae9520ce4f)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
c202877db4 JBR-4990: Undo changes to ExtendedKeyCodes
(cherry picked from commit 823086623e)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
18a840060b JBR-3860: Fix shortcut behavior when Shift is the only modifier
(cherry picked from commit e419730031)
2025-04-28 02:02:05 +02:00
Nikita Tsarev
aeaff50c77 JBR-4990: Fix regression tests for national keyboard layouts on macOS
(cherry picked from commit 5835150f63)
2025-04-28 02:02:05 +02:00
Vitaly Provodin
48b45a41cf update exclude list on results of 21.0.2_b393.7 test runs
(cherry picked from commit a396e62035)
2025-04-28 02:02:05 +02:00
Nikita Gubarkov
ccf49b4245 JBR-6723 flush vertex cache and command buffer before freeing glyph cache. (#334)
(cherry picked from commit 1faccf3995)
2025-04-28 02:02:05 +02:00
Alexey Ushakov
1f2f207aef JBR-6785 wsl: update build scripts for linux target
Added explicit platform target

(cherry picked from commit 3b96e66202)
2025-04-28 02:02:05 +02:00
Vitaly Provodin
9e4fc262f0 Update README.md
(cherry picked from commit 74b00b6c2f)
2025-04-28 02:02:05 +02:00
Vitaly Provodin
7b62ed4ea0 Update README.md
(cherry picked from commit 163ce4ecce)
2025-04-28 02:02:05 +02:00
Maxim Kartashev
5eb9f80b13 JBR-6742 Record resident set size in JVM fatal error log
(cherry picked from commit 5cc72b464b)
2025-04-28 02:02:05 +02:00
Alexey Ushakov
67d181268f JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Fix of MT access to shared data in MTLGraphicsConfigInfo

(cherry picked from commit ecc46c6004)
2025-04-28 02:02:05 +02:00
Dmitry Drobotov
a49341db46 JBR-6593 Fix UI freezes with JAWS announcements
* Execute AccessibleAnnouncer.nativeAnnounce on a background thread on Windows to fix UI freezes. IntelliJ calls this method from EDT, but it doesn't need to run on EDT because on Windows it simply calls screen readers API without interacting with UI components. Additionally, when using a background thread, the JAWS SayString method, which previously could have been running for multiple seconds, is now executed immediately as expected, but the root cause of previous delays is unclear.
* In JawsAnnouncer, initialize COM library with the multithreaded model to allow executing it from different threads. Now COM is initialized and uninitialized on every call of the method as required by the [documentation](https://learn.microsoft.com/en-us/windows/win32/learnwin32/initializing-the-com-library): "Each thread that uses a COM interface must make a separate call to this function. For every successful call to CoInitializeEx, you must call CoUninitialize before the thread exits". IJawsApi COM object is still static and reused by different threads, which is allowed with a multithreaded concurrency model. It shouldn't cause issues because it has no state and only forwards calls to JAWS.

(cherry picked from commit 8cc4cd5cfd)
(cherry picked from commit d7d8d9b8e4)
(cherry picked from commit 8bfd24f89f)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
8f09b43427 update exclude list linux-x86 failures
(cherry picked from commit 264bcf41f9)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
6a10742285 update exclude list on results of 22_b2075 test runs
(cherry picked from commit 37a71238b2)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
2482bc8b0c update exclude list - remove failures no having tickets
(cherry picked from commit 4d11023858)
2025-04-28 02:02:04 +02:00
Nikita Provotorov
5ccd05b381 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)
(cherry picked from commit 13284aa508)
2025-04-28 02:02:04 +02:00
Dmitry Drobotov
7d8ae0509f 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)
(cherry picked from commit d0f47ced65)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
d98c59361a Update README.md
(cherry picked from commit b93b6a39fc)
2025-04-28 02:02:04 +02:00
Dmitrii Morskii
1b84641c4a JBR-5500 Handled situation of processing WM_ENDSESSION in process of closing application
(cherry picked from commit c87b70ad46)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
338ddc001d Update README.md
(cherry picked from commit 588d57f140)
2025-04-28 02:02:04 +02:00
Dmitry Drobotov
a74f8faf9f JBR-6472 Add default value in CAccessibility.isComboBoxEditable to avoid NPE
(cherry picked from commit 93937603b3)
(cherry picked from commit 6a70aebb6b)
2025-04-28 02:02:04 +02:00
Alexey Ushakov
d25dd446f2 JBR-6612 Provide standard scripts for performance measurements
run_rp.sh - additional checks

(cherry picked from commit e1cf099c09)
2025-04-28 02:02:04 +02:00
Maxim Kartashev
070b3badaf JBR-6246 Do not overwrite CDS archives after created with jlink
(cherry picked from commit 457e760872)
2025-04-28 02:02:04 +02:00
Alexey Ushakov
4dcc7789c2 JBR-6612 Provide standard scripts for performance measurements
Initial implementation for linux and macOS

(cherry picked from commit fe09bf671b)
2025-04-28 02:02:04 +02:00
Nikita Tsarev
d10ede1f7c JBR-6297: Don't check for NSInputManager wantsToHandleMouseEvents in mouseDown by default
(cherry picked from commit c08268def6)
2025-04-28 02:02:04 +02:00
Maxim Kartashev
f210b72778 Update README.md with up-to-date build instructions
(cherry picked from commit 695d0a0577)
2025-04-28 02:02:04 +02:00
Vitaly Provodin
c440bc89b2 Update README.md
(cherry picked from commit 22f4dd6d4a)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
03ecf4216a Update README.md
(cherry picked from commit c6cc4d76c1)
2025-04-28 02:02:03 +02:00
Alexey Ushakov
80b0ca3821 JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Performing flush of pending rendering operation before destroying MTLGraphicsConfig

(cherry picked from commit b25bd3ac13)
2025-04-28 02:02:03 +02:00
Nikita Gubarkov
853c06037c JBR-4618 Force window size update after display reconfiguration
- Re-create all GraphicsDevices on displayChanged()

(cherry picked from commit a59d4903b2)
2025-04-28 02:02:03 +02:00
Dmitrii Morskii
40c6d57f60 JBR-6671 added option 'freetype.font.rendering'
(cherry picked from commit a24c5bbcdb)
2025-04-28 02:02:03 +02:00
Dmitrii Morskii
f30a021573 Revert "JBR-6346 update Inter font version"
This reverts commit 7712e529330674b83e39c8e81701db32436d42dc.

(cherry picked from commit 1752433479)
2025-04-28 02:02:03 +02:00
bourgesl
e6758f1f28 Revert "JBR-6522: ensure thread-safety in MTLGC_DestroyMTLGraphicsConfig (pthread_mutex_t)"
This reverts commit e7e3638c52.

(cherry picked from commit a2ee33a45a)
2025-04-28 02:02:03 +02:00
bourgesl
f8610ed862 JBR-6522: ensure thread-safety in MTLGC_DestroyMTLGraphicsConfig (pthread_mutex_t)
(cherry picked from commit 3ddc59a433)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
1e55bf631c JBR-6649 add synchronization for creating UI
(cherry picked from commit 9618df8e14)
2025-04-28 02:02:03 +02:00
Nikita Gubarkov
9ed794ccb2 JBR-6651 Exclude keycap emoji from EmojiVariation test.
(cherry picked from commit bb1926d974)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
ff5471a4e8 update exclude list on results of 22_b2014 test runs
(cherry picked from commit 99eb375cfd)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
d96c05f8da JBR-6620 restore displayMode to the state that was before running the test
(cherry picked from commit 285d3d3860)
2025-04-28 02:02:03 +02:00
Dmitrii Morskii
8e21d39c4d JBR-6346 update Inter font version
(cherry picked from commit 30820c33ba)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
9bc9c782ba Update README.md
(cherry picked from commit 4fef254b44)
2025-04-28 02:02:03 +02:00
Vitaly Provodin
9bbbfda04d remove resolved issues from exclude list
(cherry picked from commit 1bdef4e67a)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
b2b3300be4 Update README.md
(cherry picked from commit 888e8bda45)
2025-04-28 02:02:02 +02:00
Dmitrii Morskii
7981ec195b JBR-6604 supported case when fonts directory is missing
(cherry picked from commit a622888816)
2025-04-28 02:02:02 +02:00
Aleksey Shipilev
d74600a359 update exclude list on results of main.2003 test runs
(cherry picked from commit 2f441c0a3b)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
9623c93400 JBR-6591 specify values for the configure options --with-vendor-url and --with-vendor-bug-url
(cherry picked from commit b7f236be6b)
2025-04-28 02:02:02 +02:00
Dmitry Batrak
5a035ecd30 JBR-6449 Introduce FontMetricsAccessor into JBR API
JBRE-MR-368

(cherry picked from commits f0d5a907ac, 5befaea6af, ea2c4bfc83, 04601189604827c115a5a3b36aa268ba5c39ef3dб 20468cf28b)

(cherry picked from commit bb67fc186a)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
46cce2df1c JBR-6558 synchronize drawing and the test checking
(cherry picked from commit a8f38d8682)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
3e26ed0b26 JBR-6556 add saving screenshots for analysis of test failures
(cherry picked from commit 9330ab5416)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
ff8363f7e7 update exclude list on results of 21.0.1_b334 test runs
(cherry picked from commit f4c811c548)
2025-04-28 02:02:02 +02:00
Dmitrii
50ec26d833 JBR-3098 move repaintPeer event from AppKit thread to EDT on macos
(cherry picked from commit 11d3e5414f)
2025-04-28 02:02:02 +02:00
Nikita Gubarkov
a67df0b59b JBR-6264 Improved coordinate conversion in XWayland mode
(cherry picked from commit 9c96ecd2f7)
2025-04-28 02:02:02 +02:00
bourgesl
24ac19abcb JBR-6505: removed extra setNeedDisplay() in startRedrawIfNeeded() to restore JavaDraw performance (more frames rendered than real vsync FPS)
(cherry picked from commit d046741a56)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
860f9e7eeb update exclude list on results of 21.0.1_b331.1 test runs
(cherry picked from commit 4d755ad656)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
1035b667c0 JBR-5863 add verbose mode thata saves the captured image
(cherry picked from commit b83c0ddca7)
2025-04-28 02:02:02 +02:00
Vitaly Provodin
fac7656239 JBR-6493 add jtreg test
(cherry picked from commit 96ee046fdc)
2025-04-28 02:02:01 +02:00
Vitaly Provodin
ddcb238950 update exclude list on results of 23_b1960 test runs
(cherry picked from commit f36606576d)
2025-04-28 02:02:01 +02:00
Dmitrii Morskii
37725ba85c Revert "JBR-6346 update Inter font version"
This reverts commit 9aa690a94e.

(cherry picked from commit c97c8eb5fd)
2025-04-28 02:02:01 +02:00
bourgesl
92b41d5ca3 JBR-6241: RenderPerf 23.12: remove older RenderPerfTest in src
(cherry picked from commit eeae9a1cb2)
2025-04-28 02:02:01 +02:00
Vitaly Provodin
b43f6f9ab3 JBR-6454 add synchronization at disposing windows
(cherry picked from commit 48bc9affc9)
2025-04-28 02:02:01 +02:00
bourgesl
9056702eb3 JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit 52610b9bf2)
2025-04-28 02:02:01 +02:00
Maxim Kartashev
e1e89a75a7 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.

(cherry picked from commit 637d67cbfe)
2025-04-28 02:02:01 +02:00
Nikita Gubarkov
5b348b5080 JBR-5837 retrieve up-to-date default screen device in FullscreenWindowProps test.
Calling setDisplayMode() or setFullScreenWindow() may cause display reconfiguration.

(cherry picked from commit 5e26eb9730)
2025-04-28 02:02:01 +02:00
Alexey Ushakov
f26699a7ee JBR-6433 Rounded corners of popups disappear after a while
Removed opacity from CAMetalLayer for layers with rounded corners

(cherry picked from commit e9bf36f41a)
2025-04-28 02:02:01 +02:00
Alexey Ushakov
81360edd5d 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

(cherry picked from commit 20bf935c82)
2025-04-28 02:02:01 +02:00
Dmitrii Morskii
c6d65460ed JBR-6346 update Inter font version
(cherry picked from commit 37ac0f2c3d)
2025-04-28 02:02:01 +02:00
Nikita Provotorov
6cddd284dc 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)
(cherry picked from commit fa3d03b373)
2025-04-28 02:02:01 +02:00
Vitaly Provodin
2d18f09416 JBR-6404 synchronize drawing and the test checking
(cherry picked from commit e763bb96ea)
2025-04-28 02:02:01 +02:00
Vitaly Provodin
e0390b917b JBR-3902 create jbr_all test group
(cherry picked from commit 104bd3086a)
2025-04-28 02:02:01 +02:00
Maxim Kartashev
7513b09b52 JBR-6002 Linux: maximized window goes fullscreen after being moved between monitors
(cherry picked from commit 83c4c0364698f5bfb682d715bbe4ac70d50f11b3)
(cherry picked from commit 41dde53a30)
2025-04-28 02:02:00 +02:00
ngubarkov
5156d6c9a9 JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer.
(cherry picked from commit d2301edbd0de04747817a2d382f587056d954627)
(cherry picked from commit b694ce0e9a)
2025-04-28 02:02:00 +02:00
ngubarkov
3087bfa68c JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit 0aee99ac703f3b360277293e6e7a2e1aadfaba33)
(cherry picked from commit 637e8e473e)
2025-04-28 02:02:00 +02:00
ngubarkov
0928a674b4 JBR-5265 Workaround incorrect position of content window in queryXLocation.
(cherry picked from commit 26684fd4c761dcd2a4c93673d7732095a2050c9b)
(cherry picked from commit 4f44486d15)
2025-04-28 02:02:00 +02:00
ngubarkov
1c839e1688 JBR-5417 Fix flickering in multi-monitor setups on Linux.
(cherry picked from commit 9b813e21c361e9e4b97c52bdd8eccef0030a7763)
(cherry picked from commit d0fa8194dd)
2025-04-28 02:02:00 +02:00
Dmitry Batrak
c6046158ef 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)
(cherry picked from commit f4ea24e18d8e6f4cb0420e30344a5cd3f000c021)
(cherry picked from commit 0ee3854a3a)
2025-04-28 02:02:00 +02:00
Sergey Shelomentsev
57b347db95 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

(cherry picked from commit 80b6e4ba8cad4c19b0f306ccd64dad9c085a8bab)
(cherry picked from commit 22d1e57928)
2025-04-28 02:02:00 +02:00
Nikita Provotorov
be47d6aa54 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 ca5562225a)
(cherry picked from commit 1ba73c8aaf430ca4c6e8302d1bcee8681aa8584d)
(cherry picked from commit cfbb5e642e)
2025-04-28 02:02:00 +02:00
Vitaly Provodin
ede6e056fe update exclude list on results of 22_b1930 test runs
(cherry picked from commit def4d8ad64e4b1fea76ace0d9014c1a063e44891)
(cherry picked from commit 32327c3f64)
2025-04-28 02:02:00 +02:00
Vladimir Kharitonov
912d177fac RDCT-766 add libwayland-cursor.so to ResolveSymbolsTestMinEnv
(cherry picked from commit 9626cc17447b96e8b4a16908f349e682525e3090)
(cherry picked from commit 09d1ab6ca20b51a46dad120ac044346bb2a8d48e)
(cherry picked from commit b3d3fc5bc0)
2025-04-28 02:02:00 +02:00
Vladimir Kharitonov
527721494c JBR-6272 add resolve symbols tests
(cherry picked from commit a4acdf005c53b1765ad356a740d4569db70e8b02)
(cherry picked from commit 9178b241d5d706c7628d5ebfac0fff8b54029b97)
(cherry picked from commit 262cccdd23)
2025-04-28 02:02:00 +02:00
Vitaly Provodin
a8cbb74eb1 JBR-6246 add (re)generating cds archives at jlink step
(cherry picked from commit 5f1b08c70d)
2025-04-28 02:02:00 +02:00
Nikita Gubarkov
d9b6875543 Emoji PR sync (experimental)
- Removed font fallback hacks.
- Changed composite font glyph code encoding scheme, refactored to use Font2D instead of PhysicalFont.
- New Emoji logical font type with 2 underlying physical fonts.
- Removed getGlyphVectorOutline - it's unused and broken.
- Got rid of charsToGlyphs[NS] boilerplate.
- Moved emoji tests to separate directory.

(cherry picked from commit 485bdd1d1a)
2025-04-28 02:02:00 +02:00
Sergey Shelomentsev
ac241d8df8 Don't trigger workflow on push
(cherry picked from commit d900720a03)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
b8ee1dc86c JBR-5724: fixed serialization and backward compatibility of Font
(cherry picked from commit 120cac9145)
2025-04-28 02:01:59 +02:00
Alexander Lobas
c625e7cf41 JBR-4834 JBR-5139 Rounded corners on Mac OS and Windows: support custom border color
(cherry picked from commit 936f47d811)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
eea37a733e JBR-6044 handle absence of fontConfig library in setupRenderingFontHints
(cherry picked from commit 6d41e07ffa)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
d9113dc57d JBR-6041 started using correct type inside FcPatternGetValueFuncType
(cherry picked from commit fc2b096811)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
03b831a3a9 JBR-6018 removed incorrect test testFeaturesZeroFrac
(cherry picked from commit e387761828)
2025-04-28 02:01:59 +02:00
Dmitrii
213a362edd JBR-5502: optimize stringWidth & charsWidth methods of FontDesignMetrics
(cherry picked from commit b9eb40284f)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
6137c8670e JBR-5844: fixed other part of issue. Added missing implementation of native methods in fontconfigmanager
(cherry picked from commit dbd70b4401)
2025-04-28 02:01:59 +02:00
Alexey Ushakov
1d15ee09da 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
(cherry picked from commit f2b83e89a0)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
c71d1d9f1a JBR-5844: fix case with non-scalable face
(cherry picked from commit 490080a315)
2025-04-28 02:01:59 +02:00
Dmitrii Morskii
a992ae9774 JBR-5804: refactoring of freetypeScaler and moving fontconfig's logic in separate file
(cherry picked from commit 4700386a2e)
2025-04-28 02:01:59 +02:00
Dmitrii
24196a0615 JBR-5246 add OpenType's features support
(cherry picked from commit a2900b0bd9)
2025-04-28 02:01:59 +02:00
Dmitry Batrak
6fb2b30394 JBR-5751 java/awt/Focus/RowToleranceTransitivityTest.java: Focus got stuck while traversing.
(cherry picked from commit d56b4b045d)
2025-04-28 02:01:59 +02:00
Vitaly Provodin
e0a31b636a JBR-5286 make windows-aarch64 building script identical to the same script in jbr17
(cherry picked from commit a451d19108)
2025-04-28 02:01:59 +02:00
Vitaly Provodin
08be7f22e5 update jetbrains.api hash and API version
(cherry picked from commit 2a53bf894c)
2025-04-28 02:01:58 +02:00
Vitaly Provodin
fe20ad2dec Revert "JBR-5724: fixed serialization and backward compatibility of Font"
This reverts commit c5cc5b4dedbdf73871f14db92afaac15fd985d86.

(cherry picked from commit 34ed77394f)
2025-04-28 02:01:58 +02:00
Vitaly Provodin
b58b4a8f70 JBR-6246 add default CDS archives into jbrsdk distributions
(cherry picked from commit f103a46a4d)
2025-04-28 02:01:58 +02:00
Dmitry Drobotov
12c990e26b JBR-4479 Add text caret tracking for macOS Accessibility Zoom
(cherry picked from commit 0dfbf34b37)
(cherry picked from commit 29ce00912d)
2025-04-28 02:01:58 +02:00
Dmitry Drobotov
c260d83486 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)
(cherry picked from commit aebfb1439e)
2025-04-28 02:01:58 +02:00
Vitaly Provodin
9835907928 Update README.md
(cherry picked from commit 053f3acae4)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
c81111287b JBR-6220 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java became failing by time out on Linux
(cherry picked from commit 3f78590707)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
089a9f894a 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.

(cherry picked from commit c5a34ea526)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
00cd44a63c JBR-5971 Wayland: support WindowMove JBR API
Updated the XToolkit implementation to match API changes required for
WLToolkit

(cherry picked from commit 7492c11138)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
d83d88434f JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
(cherry picked from commit 4496757a35)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
715c5f8f7f JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()

(cherry picked from commit 747bc94e8f)
2025-04-28 02:01:58 +02:00
Maxim Kartashev
93f7577db7 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>)

(cherry picked from commit 5244ec31f9)
2025-04-28 02:01:58 +02:00
Alexander Lobas
d4a86215ed JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize
(cherry picked from commit ffb74e32a0)
2025-04-28 02:01:58 +02:00
Alexander Lobas
f20ebe16f3 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor
(cherry picked from commit 24930c2624)
2025-04-28 02:01:58 +02:00
Alexander Lobas
5ae6b403d5 JBR-5384 New UI: window header is hard to resize on the top edge, top/right corner
(cherry picked from commit c4dd01c027)
2025-04-28 02:01:58 +02:00
Alexander Lobas
ff8c41e5b9 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

(cherry picked from commit 4aa2061ab6)
2025-04-28 02:01:57 +02:00
Dmitry Batrak
7d03dc6af9 JBR-5300 Change source code and test files to use GPL license
fix copyright profile in generated IDE project

(cherry picked from commit 43ebbe3cd1)
(cherry picked from commit 39d49c5abe)
2025-04-28 02:01:57 +02:00
Nikita Gubarkov
60eb45aac9 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.

(cherry picked from commit 03d850e722)
2025-04-28 02:01:57 +02:00
Vitaly Provodin
d8fd3ad479 update exclude list on results of 21.0.1_b293.1 test runs
(cherry picked from commit a247590ca0)
2025-04-28 02:01:57 +02:00
Nikita Provotorov
266fa67470 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)
(cherry picked from commit 559ec0c370)
2025-04-28 02:01:57 +02:00
Maxim Kartashev
7b79d7a6f6 JBR-6291 runtime/cds/appcds/dynamicArchive/TestDynamicDumpAtOom.java: Attempting to acquire lock OOMEStacks_lock/safepoint out of order
(cherry picked from commit c8c8881be4)
2025-04-28 02:01:57 +02:00
Alexander Lobas
7cb274fa52 JBR-5409 "No Print Service Found" Error when saving to PDF
(cherry picked from commit 9c9859ba1a)
2025-04-28 02:01:57 +02:00
Alexey Ushakov
0b6202aafc JBR-6281 Remove MTLEvent sync from Metal rendering code
Removed sync code

(cherry picked from commit 660d97005c)
2025-04-28 02:01:57 +02:00
Nikita Provotorov
101237870d 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)
(cherry picked from commit fc3ce96788)
2025-04-28 02:01:57 +02:00
Nikita Provotorov
6738a731c0 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 c57030a2ef)
(cherry picked from commit 56d9759667)
2025-04-28 02:01:57 +02:00
Maxim Kartashev
dda2411414 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.

(cherry picked from commit a9a227c5ab)
2025-04-28 02:01:57 +02:00
Nikita Provotorov
6050c33822 JBR-5980: Pasting from clipboard not working reliably in Windows.
(also contains the fix of JBR-6267 Image retreived from the Clipboard is not the same image that was set to the Clipboard)

- Adds a way to disable caching of the data placed into the clipboard. The behavior is controlled by the system property "awt.windows.clipboard.cache.disabled" (=false 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 e6f4a25b1a)
2025-04-28 02:01:57 +02:00
Nikita Provotorov
99ce04bcec JBR-5980: Pasting from clipboard not working reliably in Windows.
Marks the native flag AwtClipboard::isGettingOwnership as volatile and adds memory barriers around it to avoid inconsistencies of CPU caches.

(cherry picked from commit 51d2b31b28)
2025-04-28 02:01:57 +02:00
Vitaly Provodin
0cc6251b3a JBR-6255 improve calculation JDK_BUILD_NUMBER
(cherry picked from commit 186d1c3229)
2025-04-28 02:01:57 +02:00
Nikita Gubarkov
991acd67be 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.

(cherry picked from commit f9ad92a71c)
2025-04-28 02:01:56 +02:00
Alexey Ushakov
245ca55438 JBR-5025 Reduce latency during display reconfiguration in Metal
Moved metal load library checks to CGraphicsEnvironment

(cherry picked from commit eeee663bb4)
2025-04-28 02:01:56 +02:00
Alexey Ushakov
f7e0f86593 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

(cherry picked from commit 345fd320c7)
2025-04-28 02:01:56 +02:00
Alexey Ushakov
c97bee7bf1 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
Added more diagnostics.

(cherry picked from commit 4002007cc2)
2025-04-28 02:01:56 +02:00
Vitaly Provodin
99d5af1ef9 Update README.md
(cherry picked from commit 74f354be28)
2025-04-28 02:01:56 +02:00
Vladimir Kharitonov
03d56f23d8 JBR-6239 sign frameworks in cef_server.app
(cherry picked from commit 8f6ae7a89c)
2025-04-28 02:01:56 +02:00
Maxim Kartashev
0f24835076 JBR-4020 Test ObsoleteFlagErrorMessage fails after +IgnoreUnrecognizedVMOptions has become the default
(cherry picked from commit ae5963a094)
(cherry picked from commit 5b27cdbd14)
2025-04-28 02:01:56 +02:00
Maxim Kartashev
3579b685ae 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.

(cherry picked from commit 6a87945cc5)
2025-04-28 02:01:56 +02:00
Alexey Ushakov
aacb70eabf JBR-5741 broken build in main because of hotspot changes (JDK-8309613)
Added missing parameter

(cherry picked from commit c4c6d022f8)
2025-04-28 02:01:56 +02:00
Maxim Kartashev
4310a06268 JBR-5480 Include more information in OOME crash reports
(cherry picked from commit 44f8dc85da)
2025-04-28 02:01:56 +02:00
Maxim Kartashev
f20595d4b9 JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr
(cherry picked from commit e511c26794)
2025-04-28 02:01:56 +02:00
Maxim Kartashev
7f310b5374 JBR-5431 Include memory used by JNI references into crash reports
(cherry picked from commit 9a6eb0b730)
2025-04-28 02:01:56 +02:00
Vitaly Provodin
bc3491cf60 Update README.md
(cherry picked from commit 66c66543bb)
2025-04-28 02:01:56 +02:00
bourgesl
31e2955d4f JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer
(cherry picked from commit dd4f818488)
2025-04-28 02:01:56 +02:00
Nikita Tsarev
5b5efb0df8 JBR-6215: Override XToolkit's default nonintuitive behavior when translating F13-F24 keys
(cherry picked from commit 413b679eda)
2025-04-28 02:01:56 +02:00
Konstantin Bulenkov
54a299f0c7 JBR-6214 [fwp jbr21] IDEA-299292 Use Inter semibold instead of Inter bold
Replaced Inter bold with semi-bold fonts

(cherry picked from commit 1ca726da46)
2025-04-28 02:01:55 +02:00
Nikita Gubarkov
534d413e94 JBR-6208 Extended glyph cache for Metal
(cherry picked from commit 6878613df0)
2025-04-28 02:01:55 +02:00
Vitaly Provodin
c396ca989e JBR-6181 add Linux executables with bundled FreeType
(cherry picked from commit 12449b3de5)
2025-04-28 02:01:55 +02:00
Vitaly Provodin
8f15459bed Update README.md
(cherry picked from commit cff858e253)
2025-04-28 02:01:55 +02:00
Alexey Ushakov
dd3f017752 JBR-4983 MacOS Ventura - External monitor lagging
Restored REDRAW_INC to 2. Enabled the fix by default only for M2 and spans displays property enabled (Displays have separate spaces OFF)

(cherry picked from commit 19728e911b)
2025-04-28 02:01:55 +02:00
Dmitrii Morskii
b01edf929e JBR-6135 removed dependence on process reading TTF in fixed size chunks
(cherry picked from commit 7c4721fa68)
2025-04-28 02:01:55 +02:00
Alexey Ushakov
86b2e8941c 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

(cherry picked from commit 5fb47ffc78)
2025-04-28 02:01:55 +02:00
Vitaly Provodin
e81add4180 Update README.md
(cherry picked from commit 7d1bcef8cd)
2025-04-28 02:01:55 +02:00
Nikita Provotorov
52b668a3e8 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)
(cherry picked from commit 2f310561ba)
2025-04-28 02:01:55 +02:00
Vitaly Provodin
f0a6761f2b JBR-6130 add VK_TAB release action
(cherry picked from commit e16990eb93)
2025-04-28 02:01:55 +02:00
Alexey Ushakov
b505dcaef7 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request

(cherry picked from commit bd436709f5)
2025-04-28 02:01:55 +02:00
ghostflyby
ea829293a1 JBR-6124 Fix macOS services writing text back to textfield
(cherry picked from commit 51bde60b42)
2025-04-28 02:01:55 +02:00
Sergey Shelomentsev
12348c887d exclude FocusTraversalOrderTest
(cherry picked from commit f7004afdb1)
2025-04-28 02:01:55 +02:00
Sergey Shelomentsev
8421c891d0 JBR-6060 add focus traversal order test
(cherry picked from commit 40dec50c3a)
2025-04-28 02:01:55 +02:00
Nikita Gubarkov
e63e877c18 JBR-6016 doPrivileged for JBR API internal services.
(cherry picked from commit 06290bfd1e)
2025-04-28 02:01:55 +02:00
Vitaly Provodin
8dcb66d9a9 JBR-6008 Update JetBrains Mono fonts to v2.304
(cherry picked from commit 676a270ac1)
2025-04-28 02:01:54 +02:00
Vitaly Provodin
f351e9e27b Update README.md
(cherry picked from commit 0400cd7f9b)
2025-04-28 02:01:54 +02:00
Dmitry Batrak
b465327acd JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
(cherry picked from commit 73678a99d5)
2025-04-28 02:01:54 +02:00
Dmitry Batrak
504b9cf289 JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there
(cherry picked from commit 5dedf0e367)
2025-04-28 02:01:54 +02:00
Dmitry Batrak
d3061edee9 JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw
(cherry picked from commit 3ac357417b)
2025-04-28 02:01:54 +02:00
Dmitry Batrak
30a5ea2f7e 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 c7b9f1aa68)
2025-04-28 02:01:54 +02:00
ngubarkov
cbcb904d10 JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode.
(cherry picked from commit 5df3fc666d)
2025-04-28 02:01:54 +02:00
ngubarkov
ec84a8b3e2 JBR-5316 Fix fractional scaling HIDPI.
(cherry picked from commit acb62617d7)
2025-04-28 02:01:54 +02:00
Nikita Gubarkov
8d504f1511 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

(cherry picked from commit ae135f2126)
2025-04-28 02:01:54 +02:00
Nikita Gubarkov
533e13a44e IDEA-141456 Multimonitor HIDPI support for Linux
(cherry picked from commit 980c18ae92)
2025-04-28 02:01:54 +02:00
Dmitrii Morskii
6d2bb2ace2 JBR-5724: fixed serialization and backward compatibility of Font
(cherry picked from commit e3da733724)
2025-04-28 02:01:54 +02:00
Dmitrii Morskii
d671568dbe JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale
(cherry picked from commit de62b80ef2)
2025-04-28 02:01:54 +02:00
Vitaly Provodin
bcc1844f06 Update README.md
(cherry picked from commit b438d74f39)
2025-04-28 02:01:54 +02:00
Maxim Kartashev
f92f05e624 JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.

(cherry picked from commit ed01142e8b)
2025-04-28 02:01:54 +02:00
Alexey Ushakov
d03120c9db JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance

(cherry picked from commit d02635f65b)
2025-04-28 02:01:53 +02:00
bourgesl
5d6d03550f JBR-5625: disable color-matching (colorspace = nil) in MTLLayer by default (see new system property 'sun.java2d.metal.colorMatching=true/false') + added new MetalLayerColorTest
Use CGColorSpaceCopyName() available since macOS 10.6 in MTLLayer

Use sun.java2d.metal.colorMatching=true by default (current metal behaviour)

(cherry picked from commit ec5c99bfb6)
2025-04-28 02:01:53 +02:00
Nikita Provotorov
bb4fa7e6f1 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)
(cherry picked from commit 6a972e8ca7)
2025-04-28 02:01:53 +02:00
Dmitrii Morskii
f0dbd845fc JBR-5548 fix BadSerializationTest
(cherry picked from commit 90d867d08b)
2025-04-28 02:01:53 +02:00
Vitaly Provodin
39c3515619 Update README.md
(cherry picked from commit 8efb8ded38)
2025-04-28 02:01:53 +02:00
Sergey Shelomentsev
9bffb2627a JBR-5746 wait for menu visibility of fail the test
add mouse events logging

(cherry picked from commit 5a05bd2046)
2025-04-28 02:01:53 +02:00
Dmitry Batrak
e0b400c694 JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events
(cherry picked from commit afa0283f16)
2025-04-28 02:01:53 +02:00
Dmitry Batrak
474689fe22 JBR-5684 Focus state is broken after closing of modal dialog in an inactive application
(cherry picked from commit 2f2fe7a11c)
2025-04-28 02:01:53 +02:00
Vitaly Provodin
ecd4b12fb3 update exclude list
(cherry picked from commit 36f380d4b4)
2025-04-28 02:01:53 +02:00
Vitaly Provodin
f3c9ceadc3 Update README.md
(cherry picked from commit b4071ba08d)
2025-04-28 02:01:53 +02:00
Alexey Ushakov
6030d0476b JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary

(cherry picked from commit 77cb9bcec0)
2025-04-28 02:01:53 +02:00
Dmitrii Morskii
60ac1a8ddd JBR-1775: improved logic for choosing newer font between system and bundled ones
(cherry picked from commit 41cbdf720c)
2025-04-28 02:01:53 +02:00
Sergey Shelomentsev
c8da9780b0 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

(cherry picked from commit 962eb42ed2)
2025-04-28 02:01:53 +02:00
Vitaly Provodin
0151179b31 Update README.md
(cherry picked from commit 15fdca4193)
2025-04-28 02:01:53 +02:00
Alexey Ushakov
b7c81059bf JBR-5693 Debug build failure in main branch
Corrected printf format and muted unused-function option for keycode_cache.c

(cherry picked from commit 87a01c930d)
2025-04-28 02:01:53 +02:00
Alexey Ushakov
cf29dc7724 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 0ddd7e8301)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
a9e51b7f69 JBR-5670 restore initial display mode after test execution
restore original display mode

(cherry picked from commit d098ad1f77)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
31c4307f81 JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window
(cherry picked from commit 5467dea09b)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
e1f288571f JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit bc145d39be)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
b123273bc8 JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit 2fecc58be2)
2025-04-28 02:01:52 +02:00
Nikita Provotorov
51b0944afb 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)
(cherry picked from commit f3a038c849)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
80de55f22d 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 28514c3d00)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
8bc5e191ae JBR-5600 Staple .pkg with signature
(cherry picked from commit 6555023fd3)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
f7d0061dbc JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit 7916ed31b7)
2025-04-28 02:01:52 +02:00
Vladislav Rassokhin
d4aaefa38b JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 95ef69df13)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
00a5525357 JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest
(cherry picked from commit b867b1c395)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
340f5e6ca6 JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking

(cherry picked from commit 005de74127)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
b1a4ecee7e JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events

(cherry picked from commit c6a43fe84f)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
f7cba6ca7f remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java
(cherry picked from commit 9b6037dee3)
2025-04-28 02:01:52 +02:00
Sergey Shelomentsev
4905298dae JBR-4494 pass ui scale options for child process
(cherry picked from commit e32e657c55)
2025-04-28 02:01:52 +02:00
Maxim Kartashev
8a3a8ce987 JBR-5656 Builds of JDK 21 are reproducible by default
(cherry picked from commit 0d663a139acf3d5cdb19b33494ab9f6273c4ebfa)
(cherry picked from commit f086917fa7)
2025-04-28 02:01:51 +02:00
bourgesl
0126f85c39 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 6de22f0db9)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
900e5f5983 JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID

(cherry picked from commit c0f779b7e6)
2025-04-28 02:01:51 +02:00
Vitaly Provodin
df59b16de1 JBR-5627 add regression test AsyncProfilerRunnerTest
(cherry picked from commit ce37138a4a)
2025-04-28 02:01:51 +02:00
Maxim Kartashev
3d46ca6652 JBR-5631 Refactor Dockerfile for x64 builds
(cherry picked from commit 3bb93255e9)
2025-04-28 02:01:51 +02:00
Vitaly Provodin
b11826f056 JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17
(cherry picked from commit f6be01d68c)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
ae570e60ed JBR-5580 J2DBench: ~15% drop performance  because of non optimal synchronization in metal (MBP 16'' x64)
Replaced NSMutableArray with NSMutableSet, removed unnecessary __block modifier.

(cherry picked from commit fd940831a2)
2025-04-28 02:01:51 +02:00
Sergey Shelomentsev
6c80c39c10 update a11y exclude list
(cherry picked from commit 5641f7141f)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
040773c6c2 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

(cherry picked from commit e2fcfaf249)
2025-04-28 02:01:51 +02:00
bourgesl
4c25a7e82a 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 2fc32d6082)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
60353ee8e3 JBR-5559 SwingMark performance drop after removing additional command queue
Added command queue and provided synchronization between the command queues

(cherry picked from commit 6b76f79eee)
2025-04-28 02:01:51 +02:00
Nikita Provotorov
8cce533eee 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)
(cherry picked from commit cdca8e74b7)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
725b6682f8 JBR-4883 macOS: SIGSEGV at MTLVertexCache_FlushGlyphVertexCache
Use separate glyph cache for each MTLContext instance. Refactored MTLGlyphCache

(cherry picked from commit 845a30560e)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
8eb49e281a JBR-5193 Do not use extra commandQueue in metal pipeline
Removed extra command queue

(cherry picked from commit a235903851)
2025-04-28 02:01:51 +02:00
Alexey Ushakov
75d6643eaa JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
This includes displaySync changes as well as fixes for JBR-5157 and JBR-5321.

(cherry picked from commit e7df6f3745)
2025-04-28 02:01:51 +02:00
Vitaly Provodin
c54d7df9fb Update README.md
(cherry picked from commit aa1d64ca93)
2025-04-28 02:01:50 +02:00
Maxim Kartashev
56c50d17b2 jb/branchdiff.py is a lot faster
(cherry picked from commit 5c3726555d)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
8b3b519ef8 JBR-5505 update exclude list for a11y testing on Windows
(cherry picked from commit 12330ba916)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
623c727aa2 JBR-5397 update exclude list for a11y testing on MacOS
(cherry picked from commit 688b16a796)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
6242db18bd JBR-5441 fix wait for idle
(cherry picked from commit 8b5945f834)
2025-04-28 02:01:50 +02:00
Maxim Kartashev
8853433f86 jb/branchdiff.py to warn if it can't differentiate between commits
(cherry picked from commit 3504702f9c)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
3d6409d3f3 JBR-5440 fix calculations for double click location
(cherry picked from commit e468d39869)
2025-04-28 02:01:50 +02:00
Artem Bochkarev
f601caad1d JBR-5426 write JCEF version info inside release file
(cherry picked from commit 59701eefa3)
2025-04-28 02:01:50 +02:00
Maxim Kartashev
ff9a85a9b5 JBR-5445 JBRApiTest test fails on development builds
(cherry picked from commit d9d941f9c5)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
e8c913ff10 JBR-5433 add typing latency text for JTextArea
(cherry picked from commit c6706f1794)
2025-04-28 02:01:50 +02:00
Vitaly Provodin
b917f86b54 JBR-5432 increase setAutoDelay for Robot
(cherry picked from commit 17b10df182)
2025-04-28 02:01:50 +02:00
Maxim Kartashev
54ccc64bb5 JBR-5230 Wanted: an ability to use Unix Domain sockets with overridden default NIO file system
(cherry picked from commit 946a7ca9ec)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
c9de3abe97 fixup! JBR-4875 set proper OS to run ComboBoxTransparentTittleBarTest
(cherry picked from commit 611dcc6475)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
e635dded9d fix controls width calculation
(cherry picked from commit b88d26c9dd)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
b46e9e3794 split ActionListenerTest
(cherry picked from commit 36f13b0158)
2025-04-28 02:01:50 +02:00
Sergey Shelomentsev
39bd904eaa JBR-5345 native controls detection and scale fixes
(cherry picked from commit e191789794)
2025-04-28 02:01:49 +02:00
Maxim Kartashev
141d479636 README.md: spelled out JBR distinctive features
(cherry picked from commit 51e9900c8b)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
ba1fe06436 update exclude list on results of 21_b28.1 test runs
(cherry picked from commit 4619c5ed7f)
2025-04-28 02:01:49 +02:00
Alexey Ushakov
9d25723b66 JBR-5330 Blank Welcome screen after moving to another display
Initialize currentDisplayID on AWTWindow creation

(cherry picked from commit c5ea4e48ac)
2025-04-28 02:01:49 +02:00
Nikita Tsarev
4e6c93d822 JBR-5369: Update failing tests list in response to macOS keyboard support rewrite
(cherry picked from commit a9313e2d06)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
bd2c406adf Update README.md
(cherry picked from commit ed3d57cf10)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
89be3a0507 update exclude list on results of 21_b24.2 test runs
(cherry picked from commit 3276006be9)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
a37c9f7de0 Update README.md
(cherry picked from commit 552fa7c32e)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
eae40e4d6a JBR-5350 Separate test for Mac OS
(cherry picked from commit dc4a094f03)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
bcaa07b39a JBR-5346 run MaximizedCustomDecorationsTest on windows/mac only
(cherry picked from commit c47b6f4880)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
a0e0d46c83 JBR-5350 fix FrameNativeControlTest checks on MacOS
(cherry picked from commit f8f1c8625e)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
30cde5476a JBR-5344 fix incorrectly specified VM options
(cherry picked from commit 2f101dbf8a)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
38fb9d11d0 Update README.md
(cherry picked from commit 952295b14d)
2025-04-28 02:01:49 +02:00
Vitaly Provodin
e811f15318 update exclude list on results of 17.0.6_b855.1 test runs
(cherry picked from commit b018988c02)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
15e093e866 JBR-5313 fix broken custom decoration tests on Windows
(cherry picked from commit c6e21bdbad)
2025-04-28 02:01:49 +02:00
Sergey Shelomentsev
19a6fb147a JBR-5253 Use new JBR API for custom decorations
(cherry picked from commit fdead3d90a)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
7220c1707b JBR-5300 move jbr-api.jar into test artefact
(cherry picked from commit f199d6c98a)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
ad7a4c92ac update exclude list on results of 17.0.6_b837.3 test runs
(cherry picked from commit 415267181c)
2025-04-28 02:01:48 +02:00
Maxim Kartashev
0c18e47da1 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.

(cherry picked from commit f6acd65d32)
2025-04-28 02:01:48 +02:00
Sergey Shelomentsev
770d2c42d0 set version for building jbr-api
(cherry picked from commit 6a0113fd07)
2025-04-28 02:01:48 +02:00
Sergey Shelomentsev
0e505bc4ca get rid of build-jbr-api scripts
(cherry picked from commit 1c8496e757)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
fb87844e7c clean up exclude lists
(cherry picked from commit de6d9f328f)
2025-04-28 02:01:48 +02:00
Sergey Shelomentsev
a42d51cd5d JBR-5194 add regressions tests for custom decorations support
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 5fc82006c4)
2025-04-28 02:01:48 +02:00
Sergey Shelomentsev
8eec589e08 build jbr-api as a part of bundle build
(cherry picked from commit 45efe7fdd5)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
9d3cae3f14 Update README.md
(cherry picked from commit dd24017389)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
164804d745 Update README.md
(cherry picked from commit 45d7501c9f)
2025-04-28 02:01:48 +02:00
Artem Semenov
a235ff86f8 JBR-5289 If the label has the role of a hyperlink, VO still pronounces it as plain text (#215)
(cherry picked from commit 675ca2f02e)
2025-04-28 02:01:48 +02:00
Alexey Ushakov
395e903efc JBR-5279 restore saving jbr native symbols bin/server/jvm.pdb
(cherry picked from commit 887b9dbcac)
2025-04-28 02:01:48 +02:00
Sergey Shelomentsev
c753531b8e JBR-4875 update test to use new JBR API window custom decorations
(cherry picked from commit df92d71389)
2025-04-28 02:01:48 +02:00
Vitaly Provodin
3e6d368f68 Update README.md
(cherry picked from commit 373482ffc4)
2025-04-28 02:01:48 +02:00
Artem Semenov
0ceb3ca056 JBR-5269 Announcement priorities not set correctly (#214)
(cherry picked from commit c34aa6fc6f)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
067562f3ab Update README.md
(cherry picked from commit 3631c19265)
2025-04-28 02:01:47 +02:00
Artem Semenov
21f35235a8 JBR-5248 exception in accessible announcing
(cherry picked from commit a4e0f6018f)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
d0b18de7b0 update exclude list on results of 21_b9 test runs
(cherry picked from commit 9f04c32c10)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
e0f157f8ee JBR-5217 enable NVDA support in Windows builds
(cherry picked from commit afc5710f21)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
7832be83a9 Update README.md
(cherry picked from commit df4fd03fba)
2025-04-28 02:01:47 +02:00
AMPivovarov
d177214979 JBR-5213 JBR API v0.0.9 - add GraphicsUtils (#208)
* relax type constraints in BltBufferStrategy.getDrawGraphics

(cherry picked from commit 715b615d88)
2025-04-28 02:01:47 +02:00
Artem Semenov
f455f2b3f3 JBR-5221 Add announcing to JBRAPI
(cherry picked from commit 7189d50b76)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
7c887dee47 update exclude list on results of 21_b8 test runs
(cherry picked from commit 17d5e3895b)
2025-04-28 02:01:47 +02:00
Artem Semenov
d5be6c06ed JBR-4170 Implement API for announcing
(cherry picked from commit d7f14bf793)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
375cf21294 update exclude list on results of 21_b7 test runs
(cherry picked from commit e40cdc800e)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
66ea7acbe1 update exclude list on results of stability checking runs due to 8253184
(cherry picked from commit 166924f5ed)
2025-04-28 02:01:47 +02:00
Artem Bochkarev
40c0615752 JBR-3575 use flag processEvents in LWCToolkit.invokeAndWait
(cherry picked from commit dcf9ff3315)
2025-04-28 02:01:47 +02:00
Vitaly Provodin
47585517b5 exclude several tests from runs on machines with enabled VoiceOver
(cherry picked from commit 8040e574e4)
2025-04-28 02:01:47 +02:00
Anton Tarasov
cba4f86007 JBR-4355 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java: # C [libobjc.A.dylib+0x90ff] objc_release+0x1f
(cherry picked from commit c0b2b59d4a)
(cherry picked from commit 0691a5230c)
2025-04-28 02:01:47 +02:00
Anton Tarasov
edc8274fa7 JBR-4362 [mac] system menu opens with duplicated items
(cherry picked from commit e32defe49d)
(cherry picked from commit 2d1e14f01d)
2025-04-28 02:01:46 +02:00
Anton Tarasov
a2c4c8b72c JBR-4328 remove LWCToolkit.unsafeNonblockingExecute
(cherry picked from commit 9a3f31a6c4)
(cherry picked from commit f9a02266a0)
2025-04-28 02:01:46 +02:00
Anton Tarasov
a43949df49 JBR-4134 PyCharm is slow and unusable on MacBook Pro with M1
(cherry picked from commit 36190505f5)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit cebc6ed818)
2025-04-28 02:01:46 +02:00
Anton Tarasov
3a41d80402 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)
(cherry picked from commit 42d07c4f0c)
2025-04-28 02:01:46 +02:00
Anton Tarasov
6bda26ef08 JBR-4119 UI freezes at sun.lwawt.macosx.CAccessibility.getChildrenAndRoles
(cherry picked from commit 6ba79774d8)
(cherry picked from commit e1623dc301)
2025-04-28 02:01:46 +02:00
Anton Tarasov
fef7e11ee7 JBR-4106 PyCharm hangs with 100% CPU usage on one core
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9deef18d46)
2025-04-28 02:01:46 +02:00
Anton Tarasov
624878edd1 JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss
including JBR-4543 (NPE: IdeEventQueue.lambda$getNextEvent$0)

(cherry picked from commit b16d847947)
2025-04-28 02:01:46 +02:00
Anton Tarasov
b404fb4d19 JBR-3413 use timeout in CAccessibility.invokeAndWait
(cherry picked from commit e7009db076)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit bd9d4cf182)
2025-04-28 02:01:46 +02:00
Vitaly Provodin
209e9e64fb update exclude list on results of 21_b1447 test runs
(cherry picked from commit 3502c53a16)
2025-04-28 02:01:46 +02:00
Vitaly Provodin
4c6041c284 Update README.md
(cherry picked from commit fcbfb32b13)
2025-04-28 02:01:46 +02:00
Vitaly Provodin
20f7a84180 update exclude list on results of main.1441 test runs
(cherry picked from commit 7194b34979)
2025-04-28 02:01:46 +02:00
Alexey Ushakov
ac6f3d377a JBR-5112 Large bold square whitespaces after waking up the laptop / connecting display
Clear primary surface data of VolatileSurfaceManager on display change event

(cherry picked from commit de708896a6)
2025-04-28 02:01:46 +02:00
Artem Semenov
1f89a56b9a 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

(cherry picked from commit b6fc471cd0)
2025-04-28 02:01:46 +02:00
Artem Semenov
ea22113ed5 JBR-4235 Context menu not readable after opening on Mac OS
(cherry picked from commit 83d6b20711)
2025-04-28 02:01:46 +02:00
Artem Semenov
97502089cc JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees.
(cherry picked from commit 47783c1c85)
2025-04-28 02:01:46 +02:00
Artem Semenov
14c92e9952 JBR-3868 Combobox list is not voiced of VoiceOver
(cherry picked from commit 1f777d72ea)
2025-04-28 02:01:45 +02:00
Alexey Ushakov
e6e77b5bb4 JBR-5041 macOS: SIGSEGV at [libawt_lwawt] getRenderEncoder:(dstOps == NULL)
Protected code from using NULL dstOps

(cherry picked from commit 44c76b8b99)
2025-04-28 02:01:45 +02:00
Alexey Ushakov
370e039963 JBR-4856 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Clear glyph caches after switching contexts. Keep encoders in sync with graphics devices. Minor refactoring

(cherry picked from commit e2ed6bf8dd)
2025-04-28 02:01:45 +02:00
Dmitry Batrak
d9feb1d104 JBR-5109 New frame doesn't get focused sometimes if it's shown right after popup is closed
(cherry picked from commit 693d317c0c)
(cherry picked from commit 6a153c09a8)
2025-04-28 02:01:45 +02:00
Vitaly Provodin
fb394d9230 Update README.md
(cherry picked from commit 0a469f5069)
2025-04-28 02:01:45 +02:00
Alexey Ushakov
0c07da91b1 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.

(cherry picked from commit 87c092d4ec)
2025-04-28 02:01:45 +02:00
Nikita Provotorov
4a322f0890 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)
(cherry picked from commit c3f068760d)
2025-04-28 02:01:45 +02:00
Victor Kropp
6d3eda32c4 Update README.md
Mention Toolbox App in the list of applications built on JetBrains Runtime.

(cherry picked from commit cfa9789515)
(cherry picked from commit acc1a29a25)
2025-04-28 02:01:45 +02:00
Nikita Provotorov
51fb504696 Update README.md
Replaced jbr-dev to main and other minor fixes.

(cherry picked from commit 91bea99984)
2025-04-28 02:01:45 +02:00
Vitaly Provodin
5c31c55ab9 update exclude list on results of 17.0.5_b721.3 test runs
(cherry picked from commit 652e397e29)
2025-04-28 02:01:45 +02:00
Alexey Ushakov
8a1a798bdd JBR-5073 [Double-Monitor] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java: Wrong location
Added check for nil displayID of the window

(cherry picked from commit 6a834fb5e7)
2025-04-28 02:01:45 +02:00
Vitaly Provodin
f59b37ee16 update exclude list on results of 17.0.5_b712.2 test runs
(cherry picked from commit ef68a82141)
2025-04-28 02:01:45 +02:00
Vitaly Provodin
ac77871aac JBR-4956 reduce width of screenshot by one pixel to exclude caret
(cherry picked from commit dd36d60415)
2025-04-28 02:01:45 +02:00
ngubarkov
27c2b26135 JBR-4840 cache screen resolution in XToolkit
(cherry picked from commit b0c0a6ff75)
2025-04-28 02:01:45 +02:00
Alexey Ushakov
6b3b51b236 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

(cherry picked from commit 3f5ad0610a)
2025-04-28 02:01:45 +02:00
Dmitry Batrak
5f637489e0 JBR-5045 Invisible component can break focus cycle
(cherry picked from commit 0f57a27879)
(cherry picked from commit 8309d820fd)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
45aed527a5 Update README.md
(cherry picked from commit 1fb0b4f098)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
e3e219a8a3 Update README.md
(cherry picked from commit a8862ab989)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
9c9530f783 update exclude list on results of 17.0.5_b691.6 test runs
(cherry picked from commit 668a433320)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
dcdc39a70c Update README.md
(cherry picked from commit 2cdd0386c3)
2025-04-28 02:01:44 +02:00
Alexey Ushakov
bfddad2499 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

(cherry picked from commit cd6ca71ea8)
2025-04-28 02:01:44 +02:00
Dmitry Batrak
a2c0ac3b07 JBR-4988 Transient Z-order violations on macOS
(cherry picked from commit bcba97511c)
(cherry picked from commit 3ff06e954d)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
a1d8408cca JBR-4947 update alpine x64 image up to 3.14
(cherry picked from commit 88f2d7010f)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
b1981f064f update exclude list on results of 17.0.5_b469.67 test runs
(cherry picked from commit 5ab3a9bf5f)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
843832703e Update README.md
(cherry picked from commit 61d47b2fd3)
2025-04-28 02:01:44 +02:00
Alexey Ushakov
8f7e355988 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

(cherry picked from commit f5c1a03bf5)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
578236b582 update Commit and Full testing exclude list on results of jbr17.668 test runs
(cherry picked from commit e7e823a0a3)
2025-04-28 02:01:44 +02:00
Maxim Kartashev
7198c02069 JBR-4951 In function 'convert_to_java_array': error: comparison of integer expressions of different signedness
(cherry picked from commit 4293e2832c)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
a9b7331812 JBR-4089 add modules sun.awt sun.awt.image sun.java2d
(cherry picked from commit 2cae8fb09c)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
cfa0d90bb5 update exclude list for Commit testing
(cherry picked from commit c037eec3ac)
2025-04-28 02:01:44 +02:00
Vitaly Provodin
c1ec0f1435 exclude tests failing because of JBR-4933, JBR-4934
(cherry picked from commit 6f78d1b02c)
2025-04-28 02:01:43 +02:00
Alexey Ushakov
84bc375b0e JBR-4731 SIGILL caused by NPE Cannot invoke "java.awt.GraphicsConfiguration.getDevice()" because "config" is null
Handled null device in platform window

(cherry picked from commit 9e52c15ec7)
2025-04-28 02:01:43 +02:00
Maxim Kartashev
d92ae0d05c Move JBR README.md to .github/
(cherry picked from commit b69b12f489)
2025-04-28 02:01:43 +02:00
Svyatoslav Vlasov
6370f0f0f0 Add ProjectorUtils to jbr-api (#181)
* Add ProjectorUtils to jbr-api

Co-authored-by: Sviatoslav Vlasov <Sviatoslav.Vlasov@jetbrains.com>
(cherry picked from commit c8ccc83a6e)
2025-04-28 02:01:43 +02:00
Nikita Tsarev
033f8f9b96 JBR-3941 Make apple.awt.captureNextAppWinKey default to false
(cherry picked from commit ea29fc8942)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
5bc0a15c7c JBR-4912 jb/java/api/frontend/CustomTitleBarDoubleClick.java intermittently throws java.awt.AWTError
(cherry picked from commit ff7ca451fe)
2025-04-28 02:01:43 +02:00
Maxim Kartashev
a75b74e4e7 exclude java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java due to JBR-4880 on windows
(cherry picked from commit 2d98733ab5)
2025-04-28 02:01:43 +02:00
Alexey Ushakov
ba1e12353c JBR-4710 macOS: SIGSEGV at sun.java2d.metal.MTLLayer.blitTexture
Added check for disposed texture in the MTLLayer

(cherry picked from commit c27d8a7c5e)
2025-04-28 02:01:43 +02:00
Nikita Gubarkov
2bab3bab98 JBR-4890 Fix variation selectors font fallback on macOS
If font for a given variation selector not found, try without variation selector

(cherry picked from commit 7505b502d7)
2025-04-28 02:01:43 +02:00
Artem Bochkarev
a38c9d72b1 JBR-4907 remove custom view for osx system menu items
Just revert "JBR-3131: support custom view for system menu items"

(cherry picked from commit 548345c202)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
2367026734 exclude java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java due to JBR-4905 on windows&linux
(cherry picked from commit 8150b0e5e7)
2025-04-28 02:01:43 +02:00
Alexey Ushakov
dbf18da21d JBR-4897 Reconnecting multiscreen monitor displays blank IDE
Handled NSWindowDidChangeScreenNotification, resolved race condition in window peer displayChanged listener

(cherry picked from commit 1e697c8623)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
bd5782d161 exclude jb/java/jcef/HandleJSQueryTest3314.sh due to JBR-4866 on linux
(cherry picked from commit d619e3320a)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
c4fe906ada exclude some tests due to JBR-4880 on windows
(cherry picked from commit 1a9fb2cfa2)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
409f897efd exclude javax/swing/JInternalFrame/8020708/bug8020708.java due to JBR-4879 on windows
(cherry picked from commit 85ba459fae)
2025-04-28 02:01:43 +02:00
Vitaly Provodin
991c269a88 exclude java/awt tests which do not close child processes/windows
(cherry picked from commit 3cf2b36323)
2025-04-28 02:01:42 +02:00
Vitaly Provodin
fadff15ce0 exclude java/awt/FullScreen/NoResizeEventOnDMChangeTest/NoResizeEventOnDMChangeTest.java and java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 7188711 on linux-all
j

(cherry picked from commit 0b3f6caedd)
2025-04-28 02:01:42 +02:00
Maxim Kartashev
d57fc13c72 JBR-4877 WARNING: JNI local refs: 33, exceeds capacity: 32
(cherry picked from commit a10770c49d)
2025-04-28 02:01:42 +02:00
Artem Bochkarev
e71260d8a1 JBR-4876 remove test duplicates
Since next jcef tests were moved into junit suite (inside jcef repository):
 HandleJSQueryTest
 JCEFStartupTest
 LoadPageWithoutUI
 MouseEventAfterHideAndShowBrowserTest
 MouseEventScenario
 MouseEventTest

(cherry picked from commit bd1d06d0bc)
2025-04-28 02:01:42 +02:00
Vitaly Provodin
28b61f6106 JBR-4875 jb/javax/swing/JComboBox/ComboBoxTransparentTittleBarTest.java checks dragging JFrame with Combobox
(cherry picked from commit 8d5472c900)
2025-04-28 02:01:42 +02:00
Dmitry Batrak
55a92499e4 JBR-4871 Closed project leaked via KeyboardFocusManager#newFocusOwner
(cherry picked from commit 50c0ce58d3)
(cherry picked from commit 46a0f0d75b)
2025-04-28 02:01:42 +02:00
Maxim Kartashev
fd24765f0a JBR-4839 Report if wrong shared library is detected at run time
(cherry picked from commit e8c1913562)
2025-04-28 02:01:42 +02:00
Maxim Kartashev
db82b080c3 JBR-4848 Cannot invoke "javax.swing.JTextField.getCaret()" because the return value of "java.lang.ref.WeakReference.get()" is null
(cherry picked from commit 7fae4cd2d1)
2025-04-28 02:01:42 +02:00
Alexey Ushakov
b98865f82e JBR-4590 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Invalidate glyph cache cell info after switching MTLContext

(cherry picked from commit 664528713e)
2025-04-28 02:01:42 +02:00
Nikita Gubarkov
60a34ecae8 JBR-4815 force hinting for non-antialiased text
(cherry picked from commit 6c3517ae9d)
2025-04-28 02:01:42 +02:00
Maxim Kartashev
1c59f7cdac jb/branchdiff.py script to help with release branches
(cherry picked from commit a03f10e9b7)
2025-04-28 02:01:42 +02:00
Nikita Gubarkov
afddfa4752 JBR-3677 check AppleActionOnDoubleClick property for custom window decorations on macOS
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit d71c4b3950)
2025-04-28 02:01:42 +02:00
Alexander Lobas
a0b6a5c24f JBR-4787 Rounded corners for native windows
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 5b4dd9e1ce)
2025-04-28 02:01:42 +02:00
Vitaly Provodin
df1fd280c8 updated JTreg exclude list
(cherry picked from commit 03fba5ebf2)
2025-04-28 02:01:42 +02:00
Alexey Ushakov
786c513fbf JBR-4696 macOS: NPE in -[AWTView viewDidChangeBackingProperties]
Added null pointer checks

(cherry picked from commit b0374bdccf)
2025-04-28 02:01:41 +02:00
MonoBot
c47864e3e6 JBR-4809 Update the bundled JetBrains Mono font version
Fonts release 2.242

(cherry picked from commit 641424a3e3)
(cherry picked from commit ab5066f90f)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
236d46ae03 JBR-4680 idea window flickers while changing the screen brightness
Update insets in separate notification

(cherry picked from commit e7936d9958)
2025-04-28 02:01:41 +02:00
Maxim Kartashev
4c7bc35edb 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.

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 987ce225b9)
2025-04-28 02:01:41 +02:00
Maxim Kartashev
6591b0d1fe 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.

(cherry picked from commit 2f63acf3eb)
2025-04-28 02:01:41 +02:00
Nikita Gubarkov
8f2b31822f 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.

(cherry picked from commit 02cf2548d5)
2025-04-28 02:01:41 +02:00
Denis Fokin
db79d081f9 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)
(cherry picked from commit 37c6d0b417)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
1b27c521cb JBR-4784 Extra allocations of MTLRenderPipelineDescriptor affects performance in metal pipeline
Remove extra allocations

(cherry picked from commit e1fe3a3807)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
683e79f0d7 JBR-4774 macOS: SIGILL at [libsystem_kernel] __kill in NPE / VolatileSurfaceManager.displayChanged / __displaycb_handle_block_invoke
Guarded against multiple displayChanged() notifications

(cherry picked from commit 165c9aa3aa)
2025-04-28 02:01:41 +02:00
Dmitry Batrak
789c3c5cd4 JBR-4782 Synergy keyboard/mouse input: window disabled after bringing IntelliJ into focus
(cherry picked from commit f863a14b19)
(cherry picked from commit 34ec3053ab)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
6ba65972b9 JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Do not use hinting for generating outlines

(cherry picked from commit 7bb3a76942)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
2b7978b2cd JBR-3100 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.LWComponentPeer.windowToLocal
Added null check

(cherry picked from commit 0c23ef45ba)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
deb0fc4a8d JBR-4774 macOS: SIGILL at [libsystem_kernel] __kill in NPE / VolatileSurfaceManager.displayChanged / __displaycb_handle_block_invoke
Added null check

(cherry picked from commit 73f025e9e5)
2025-04-28 02:01:41 +02:00
Alexey Ushakov
e63eb12916 JBR-3102 Exception in NSApplicationAWT: Invalid parameter not satisfying: !isnan(newOrigin.y)
Handled NAN values with some defaults

(cherry picked from commit f1aed3db71)
2025-04-28 02:01:41 +02:00
Vladislav Rassokhin
c1a25da3a2 JBR-4263 Improve check_jbr_size.sh
* Fix shellcheck inspections
* Don't silently fail if TOKEN is incorrect

(cherry picked from commit e0ab03ce52)
2025-04-28 02:01:41 +02:00
Maxim Kartashev
098b3daac7 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.

(cherry picked from commit 92b84906df)
2025-04-28 02:01:40 +02:00
Maxim Kartashev
ccd19acbd2 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.

(cherry picked from commit 5da08dcd3a)
2025-04-28 02:01:40 +02:00
Dmitry Batrak
9634a236d2 JBR-4720 Focus state is broken after certain operations when VoiceOver is enabled
(cherry picked from commit dc1b49b5a6)
(cherry picked from commit 51df5fbf67)
2025-04-28 02:01:40 +02:00
Dmitry Batrak
3bcde17048 JBR-4673 Focus moves to another application on file dialog closing
(cherry picked from commit 7468974488)
(cherry picked from commit 72a74312b7)
2025-04-28 02:01:40 +02:00
Dmitry Batrak
a1c59c3a9d JBR-4665 Focus 'jitter' on window showing in WSLg
(cherry picked from commit 9b32c2a577)
(cherry picked from commit 2952a2eeb4)
2025-04-28 02:01:40 +02:00
Nikita Gubarkov
47891bf69c 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

(cherry picked from commit 53059331b1)
2025-04-28 02:01:40 +02:00
Alexey Ushakov
7d0574caac 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)
(cherry picked from commit 0588b3a885)
2025-04-28 02:01:40 +02:00
Dmitry Batrak
0686f9a3c4 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

(cherry picked from commit 56139b5800)
2025-04-28 02:01:40 +02:00
artem.bochkarev
716b36b1a9 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

(cherry picked from commit 6cd310aaa8)
2025-04-28 02:01:40 +02:00
Vitaly Provodin
305ce11e41 exclude sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java on linux-all due to 8252812
(cherry picked from commit 336230c628)
2025-04-28 02:01:40 +02:00
Vitaly Provodin
e8f748cbd5 exclude sanity/client/SwingSet/src/ColorChooserDemoTest.java on windows-all due to 8278582
(cherry picked from commit 07e8b19419)
2025-04-28 02:01:40 +02:00
Alexey Ushakov
f8a7a5ed93 JBR-4636 Some JWindow tests failed due to wrong scaling
Take into account custom scale via sun.java2d.uiScale

(cherry picked from commit 5a91de055f)
2025-04-28 02:01:40 +02:00
Nikita Gubarkov
ebe2b75233 8289189: Fix ./configure on WSL1
(cherry picked from commit 617ed45c5c)
2025-04-28 02:01:40 +02:00
Alexey Ushakov
ae81617a66 JBR-4619 Window content scale wrong after disconnecting external display / waking OS from sleep
Use viewDidChangeBackingProperties notification to adjust a window layer scale

(cherry picked from commit abb34d2295)
2025-04-28 02:01:40 +02:00
Vitaly Provodin
cf4d5bef3b exclude vmTestbase/vm/jit/LongTransitions due to 8271615 on macOS
(cherry picked from commit 66e8a68de9)
2025-04-28 02:01:40 +02:00
Maxim Kartashev
43be6292e5 JBR-4602 Unexpected NoSuchFileException running Rider test
This reverts commits for JBR-3680, JBR-4118, and JBR-4485.

(cherry picked from commit 5a165aa533)
2025-04-28 02:01:39 +02:00
Nikita Gubarkov
eaa213f722 JBR-4373 Add mapping for .NewYork-* and .SFArabic-* system fonts
(cherry picked from commit e34f1abedc)
2025-04-28 02:01:39 +02:00
Alexander Lobas
70b2a65788 JBR-4563 Rounded corners for native Window on Mac OS (#156)
* JBR-4563 Rounded corners for native Window on Mac OS

(cherry picked from commit 740a086a00)
2025-04-28 02:01:39 +02:00
Alexander Lobas
87fc5536e2 JBR-4563 Rounded corners for native Window on Mac OS
(cherry picked from commit 4aecaafa7c)
2025-04-28 02:01:39 +02:00
Alexander Lobas
ac6eb031b6 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

(cherry picked from commit e91239081a)
2025-04-28 02:01:39 +02:00
Alexey Ushakov
011af21dc2 JBR-4591 macOS: SIGILL at [libsystem_kernel] __kill in -[__NSMallocBlock__ removeFromSuperview]: unrecognized selector sent to instance
Verified if windowDragView is present

(cherry picked from commit c45d897c4b)
2025-04-28 02:01:39 +02:00
Artem Bochkarev
d95d34b8fb 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)

(cherry picked from commit e95de19533)
2025-04-28 02:01:39 +02:00
Artem Bochkarev
ae82c9de7f JBR-4456: fixed HandleJSQueryTest
first invocation of dispatch(WindowEvent.WINDOW_CLOSING) calls System.exit() internally (because of setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE))

(cherry picked from commit 0f9afa7fbc)
2025-04-28 02:01:39 +02:00
Vitaly Provodin
5bdb73a1f1 exclude javax/swing/JToolBar/4529206/bug4529206.java due to 8288707 on linux
(cherry picked from commit 8bc1905696)
2025-04-28 02:01:39 +02:00
Maxim Kartashev
8f1735606d 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().

(cherry picked from commit f098902457)
2025-04-28 02:01:39 +02:00
Maxim Kartashev
a0336e03d5 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.

(cherry picked from commit cfc743741a)
2025-04-28 02:01:39 +02:00
Vitaly Provodin
37a3d02683 JBR-4570 improve synchronization and increase waiting time
(cherry picked from commit d7b11a1925)
2025-04-28 02:01:39 +02:00
Dmitry Batrak
e17aa42f8f JBR-4552 Windows revert back after initial move/resize in Cygwin/X
(cherry picked from commit 6dc194e089)
(cherry picked from commit 9c2eccb07c)
2025-04-28 02:01:39 +02:00
Manuel Unterhofer
c73aeb0b5a 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.

(cherry picked from commit 4f254fac9d)
2025-04-28 02:01:39 +02:00
Nikita Provotorov
614314a9a5 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)

(cherry picked from commit be5f54fc99)
2025-04-28 02:01:39 +02:00
Nikita Provotorov
d160b5710f JBR-4394, IDEA-246833: fixup of JBR-2444.
(cherry picked from commit ef262dc8bb)
(cherry picked from commit b026461771)
2025-04-28 02:01:38 +02:00
Dmitry Batrak
123a5d6ddb JBR-4537 Popup windows shown for a background window cause app icon to blink in taskbar on KDE
(cherry picked from commit 704ffcc0ee)
2025-04-28 02:01:38 +02:00
Dmitry Batrak
7683a32601 JBR-4535 Popup windows disappear on mouse hover when 'Focus strictly under mouse' policy is used in KDE
(cherry picked from commit a70a83e7fe)
2025-04-28 02:01:38 +02:00
Alexey Ushakov
2a38dd040e 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.

(cherry picked from commit b64f2a86ad)
2025-04-28 02:01:38 +02:00
Vitaly Provodin
762dd69859 exclude jb/java/awt/Window/ZOrderOnModalDialogActivation.java from S2 runs on Windows and Linux
(cherry picked from commit c1cb686198)
2025-04-28 02:01:38 +02:00
Vitaly Provodin
bf4fb11ddd exclude javax/swing/plaf/nimbus/TestNimbusOverride.java on windows due to 8253184
(cherry picked from commit 5c6f2241db)
2025-04-28 02:01:38 +02:00
Vitaly Provodin
9fbd49b149 exclude java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java on linux-aarch64 only due to 8266283
(cherry picked from commit cc5f59a5ed)
2025-04-28 02:01:38 +02:00
Artem Bochkarev
eb5f1f62ef JBR-4473: fixed native part of SystemHotkeyReader
(cherry picked from commit 4d96436851)
2025-04-28 02:01:38 +02:00
Dmitry Batrak
906d7a6a6f JBR-1740 Menu remains open when application loses focus
(cherry picked from commit f987d22cd2)
(cherry picked from commit 4a7913c9e6)
2025-04-28 02:01:38 +02:00
Vitaly Provodin
109e21fa98 exclude Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java from S2 runs due to 8286840
(cherry picked from commit 811db62fec)
2025-04-28 02:01:38 +02:00
Vitaly Provodin
b3662ac6a8 exclude java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java due to 8282232
(cherry picked from commit 17d6d1047e)
2025-04-28 02:01:38 +02:00
Maxim Kartashev
133049127a 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.

(cherry picked from commit 1bb3b2fa32)
2025-04-28 02:01:38 +02:00
Manuel Unterhofer
a0adb990c7 Merge fullscreen handlers for transparent title bar into existing ones
(cherry picked from commit a992612585)
2025-04-28 02:01:38 +02:00
Manuel Unterhofer
e60ee60476 FL-11420 Fix view hierarchy restoration for full-screen mode on macOS
(cherry picked from commit f708ad2c57)
2025-04-28 02:01:38 +02:00
Nikita Gubarkov
51b1554301 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

(cherry picked from commit e5646125e4)
2025-04-28 02:01:38 +02:00
Dmitry Batrak
cce2a95d83 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)
(cherry picked from commit 72b9219964)
2025-04-28 02:01:37 +02:00
Maxim Kartashev
22d62041cc JBR-4464 Error building latest jbr-dev after JDK-8285730
(cherry picked from commit 8b0ae02f8d)
2025-04-28 02:01:37 +02:00
Maxim Kartashev
18ef70f991 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)
(cherry picked from commit 732a5c9ad6)
2025-04-28 02:01:37 +02:00
Maxim Kartashev
2f31d0bac6 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)
(cherry picked from commit f5638a96b9)
2025-04-28 02:01:37 +02:00
Renaud Paquay
636d506ed4 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)
(cherry picked from commit 7a4078bf29)
2025-04-28 02:01:37 +02:00
Dmitry Batrak
e71332e270 JBR-1518 JBR 11 does not support chain of popups on Linux
(cherry picked from commit 849356ee01)
(cherry picked from commit b85be77543)
2025-04-28 02:01:37 +02:00
Dmitry Batrak
f79be9970c JBR-4306 Robot doesn't work as expected in some cases on macOS
(cherry picked from commits 7d69734465, 0f33031484, 3b5ded0d02)

(cherry picked from commit 4557795f2e)
2025-04-28 02:01:37 +02:00
Ryan Osial
52a9e91507 Cache results of font-config pattern search for reuse
(cherry picked from commit 432f637904)
(cherry picked from commit 17bc232f6f)
(cherry picked from commit ee3a5cdda9)
2025-04-28 02:01:37 +02:00
Maxim Kartashev
5bc8d1666e 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.

(cherry picked from commit dec75d7601)
2025-04-28 02:01:37 +02:00
Anton Tarasov
38a52074b8 JBR-4389 [update_1] IDEA UI font becomes too large after disconnecting the external monitor / sleep
(cherry picked from commit 74c977e942)
2025-04-28 02:01:37 +02:00
Anton Tarasov
e9775f6ef5 JBR-4389 IDEA UI font becomes too large after disconnecting the external monitor / sleep
(cherry picked from commit 1288c65208)
2025-04-28 02:01:37 +02:00
Dmitry Batrak
0c35afacfe remove duplicate bundled JetBrains Mono bold italic font
following JBR-4402

(cherry picked from commit b7e5d3cfcf)
(cherry picked from commit ac765d3d2c)
2025-04-28 02:01:37 +02:00
Dmitry Batrak
25931ab10c JBR-4402 The wrong text is rendered in editor
(cherry picked from commit 8c1de95991)
2025-04-28 02:01:37 +02:00
Vitaly Provodin
ea9287f87d JBR-4297 add a regression test
(cherry picked from commit 8e94fff6aa)
(cherry picked from commit 8eb5ce4b34)
2025-04-28 02:01:37 +02:00
Konstantin Bulenkov
a593982d7c Update JetBrains Mono font to 2.225
(cherry picked from commit 84c7519c7e)
2025-04-28 02:01:37 +02:00
Alexey Ushakov
d483c8f0aa JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Resolved merge artifact after applying IDEA-57233 fix

(cherry picked from commit 0e2c16e0f0)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
eda1d43822 JBR-3843 IDE text is misaligned vertically when using Consolas font
Use usWinAscent/usWinDescent for metrics on Windows

(cherry picked from commit 4aed6ab51d)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
b2dd36c8c7 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)
(cherry picked from commit 62b8fd828f)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
1871ec450d 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)
(cherry picked from commit 052b5d72a2)
2025-04-28 02:01:36 +02:00
Dmitry Batrak
7a660c8748 JBR-4346 [Xfce] Windows are moved unexpectedly between workspaces when modal dialog is shown
(cherry picked from commits ad299f1e74, 800220af16)

(cherry picked from commit d0a2903730)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
dfa57032da JBR-3827 SIGILL at [libsystem_kernel] __kill in Java Exception at -[CDragSource convertData:]
Added check for drag source

(cherry picked from commit a2b6100b57)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
558374dfb1 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)
(cherry picked from commit 5bfbdd28f2)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
b73edf711f JBR-3365 SIGILL at [libsystem_kernel] __kill in java.lang.RuntimeException: Failed to convert, no screen / primaryScreen
Wrapped the native exception and added logging

(cherry picked from commit 6b8308d149)
2025-04-28 02:01:36 +02:00
Dmitry Batrak
97779d69a9 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)

includes fix for JBR-5458 Exception at dialog closing

(cherry picked from commit acde759572)
(cherry picked from commit c138965be0)
2025-04-28 02:01:36 +02:00
Vitaly Provodin
e0a1960595 JBR-4294 split desktop tests to more groups for Commit testing
(cherry picked from commit e2360b07b9)
2025-04-28 02:01:36 +02:00
Dmitry Batrak
cdf49ceb14 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)
(cherry picked from commit 0307ccab3b)
2025-04-28 02:01:36 +02:00
greg
0f4e3bc84c 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

(cherry picked from commit f5552eed4d)
2025-04-28 02:01:36 +02:00
Denis Fokin
baa5b747e1 JBR-4038 [JBR17] Force Touch events are not supported on macOS
Added missing files and handlers from JBR11

(cherry picked from commit 0a82277650)
2025-04-28 02:01:36 +02:00
Alexey Ushakov
27ea19a8cb JBR-3901 jbr-dev compile problem
Added transient keyword

(cherry picked from commit 8bd487eca9)
2025-04-28 02:01:36 +02:00
Alexander Lobas
365bdd1a22 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)
(cherry picked from commit e33f506e48)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
4e4662edd8 JBR-3676 WINDOW_ACTIVATED/DEACTIVATED events sent to a frame when child window closes on macOS
(cherry-picked from commit 824f9ebec3)

(cherry picked from commit 41b9f9cf1c)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
027dccd3f9 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)

(cherry picked from commit 4fb4d51b89)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
f151f59030 refactor nativeCreateNSWindow call wrapping
as part of JBR-3017

(cherry picked from commit eeef67a335)
(cherry picked from commit 1bb0bf3f82)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
1e9022d1a2 remove excessive wrapping with AccessController (AWTThreading does it internally now)
as part of JBR-3017

(cherry picked from commit f1dd523ba8)
(cherry picked from commit f2449217c1)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
b3698c45dc JBR-2971 Log more information about window creation and property changes
(cherry picked from commit 9d86b4d235)
(cherry picked from commit e93eeba9c2)
2025-04-28 02:01:35 +02:00
Dmitry Batrak
a799184dc7 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, abfc3e2e79, 50933cd23e)

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)

with fix for JBR-5300 Change source code and test files to use GPL license

with fix for JBR-2651 jb/java/awt/Focus/PopupIncomingFocusTest.java intermittently fails by java.util.concurrent.TimeoutException

(cherry picked from commit 56795d5d06)
2025-04-28 02:01:35 +02:00
Nikita Provotorov
c8137b8609 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)
(cherry picked from commit 62b01f9f56)
2025-04-28 02:01:35 +02:00
Nikita Gubarkov
4b9a8e282f 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

(cherry picked from commit cacbbdc041)
2025-04-28 02:01:35 +02:00
Alexey Ushakov
86deda859f 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

(cherry picked from commit e6dc0c5b8f)
2025-04-28 02:01:35 +02:00
Vitaly Provodin
dcca63fc3c exclude javax/swing/border/TestTitledBorderLeak.java on windows due to 8213531
(cherry picked from commit c32cf1fe07)
2025-04-28 02:01:35 +02:00
Ivan Lopatin
faa9e5b9a8 Scale2: exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8279190 on macosx-all
(cherry picked from commit 58854d5467)
2025-04-28 02:01:35 +02:00
Nikita Provotorov
0277746941 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)
(cherry picked from commit 072ae64f96)
2025-04-28 02:01:35 +02:00
Vitaly Provodin
c064cf5d37 exclude java/awt/Frame/FrameSetSizeStressTest/FrameSetSizeStressTest.java on Wayland
sun/security/pkcs11/Signature/TestDSAKeyLength.java                                 8279941 linux-all

(cherry picked from commit ddd0a7409d)
2025-04-28 02:01:35 +02:00
Alexey Ushakov
57413a1edf 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

(cherry picked from commit 5a0d365094)
2025-04-28 02:01:35 +02:00
Nikita Provotorov
e53af4f557 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)
(cherry picked from commit 19b7745ce3)
2025-04-28 02:01:34 +02:00
Nikita Provotorov
0234301318 JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
Renames the test AltGrMustGenerateAltGrModifierTest3838.java to AltGrMustGenerateAltGrModifierTest4207.java.

(cherry picked from commit ed60a9c2bd)
(cherry picked from commit cbacbf6d4e)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
690fda6611 exclude sun/security/pkcs11/Signature/TestDSAKeyLength.java on Ubuntu 21.04 due to 8279941
(cherry picked from commit c3d8e648a6)
2025-04-28 02:01:34 +02:00
Anton Tarasov
4d355cf12d JBR-4204 provide an option to disable a11y support on macOS
(cherry picked from commit ee3c56abdc)
(cherry picked from commit e2419baf87)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
a459ac95ac exclude two swing tests on Windows due to JBR-4197
(cherry picked from commit 3a99f6b99d)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
6afcc2192a 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

(cherry picked from commit 041285b65c)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
8523aa5867 JBR-4187 java/awt/GraphicsDevice/DisplayModes/UnknownRefrshRateTest.java.UnknownRefrshRateTest fails on mac
Constrained display modes count used by the test

(cherry picked from commit d757e23958)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
037abda9d4 JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext

(cherry picked from commit 54c83d2ef6)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
8434c27fce 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.

(cherry picked from commit a66693cc92)
2025-04-28 02:01:34 +02:00
Artem Semenov
537c0d6341 JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu
(cherry picked from commit 40e8687667)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
f898020086 JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT

(cherry picked from commit b6f91a9c10)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
c4c2bd229d JBR-4169 add jdk.javadoc into JBR
(cherry picked from commit 861742faf1)
2025-04-28 02:01:34 +02:00
Alexey Ushakov
92bb8dd19b JBR-4150 IDE regularly locks up at sun.lwawt.macosx.LWCToolkit.getScreenInsets
Restored caching screen insets. Added handling of dock resize.

(cherry picked from commit e3d7c52e93)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
4b6a2203fe exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256
(cherry picked from commit 9d17b66630)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
ff13285057 exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190
(cherry picked from commit 0949bd7a8a)
2025-04-28 02:01:34 +02:00
Vitaly Provodin
809dedabd2 exclude java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 827361
(cherry picked from commit b98807e58f)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
ae2f6ae787 add exclude list for Wayland failures
(cherry picked from commit 2b7bdfe3d5)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
f2df90fda7 exclude javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation /JComboBoxPopupLocation.java on macOS due to 8194945
(cherry picked from commit 86f21becde)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
ef3023031e exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029
(cherry picked from commit f3f6365d05)
2025-04-28 02:01:33 +02:00
Maxim Kartashev
0656fddb83 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)
(cherry picked from commit 924f5bab8a)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
f57da020cd add exclude list for Scale2 test runs
(cherry picked from commit 45ddfe3353)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
5fa87906b6 exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231
(cherry picked from commit defd9f66a7)
2025-04-28 02:01:33 +02:00
Alexey Ushakov
f33c54d4fc 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

(cherry picked from commit 93e508a98f)
2025-04-28 02:01:33 +02:00
Artem Semenov
a1fb8b9d2f JBR-3775 Optimize the algorithm for obtaining tree elements
(cherry picked from commit 01dbe66b3e)
2025-04-28 02:01:33 +02:00
Nikita Gubarkov
b2f8053544 JBR API v0.0.2
Added file dialog customization via JBR API & fixed bugs in windows common item dialog

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 45c562e366)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
4d0b843b7f JBR-3931 add the module jdk.unsupported.desktop into jbr
(cherry picked from commit 32def2fd42)
(cherry picked from commit d8fd2c9664)
2025-04-28 02:01:33 +02:00
Alexey Ushakov
70c6273149 JBR-4111 [JBR17] Make possible to select files and directories independently
Implemented apple.awt.fileDialogForFiles property

(cherry picked from commit 67ea24d06e)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
c61df75177 enable fixed tests to regular runs
(cherry picked from commit ae87bdb09a)
2025-04-28 02:01:33 +02:00
Vitaly Provodin
6624dd87c6 exclude javax/swing tests on mac-aarch64 due to 8277816
(cherry picked from commit a39f9150c3)
2025-04-28 02:01:33 +02:00
Aleksandr Veselov
e43694fa8a JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen
(cherry picked from commit 6006b52f33)
2025-04-28 02:01:33 +02:00
Alexey Ushakov
0f0b7f317b JBR-4060 [JBR17+Metal] Flickering on button's shadow
Removed unnecessary global flag. Optimized mask cache texture clearing code.

(cherry picked from commit 4496acc610)
2025-04-28 02:01:32 +02:00
Alexey Ushakov
3a8d36c16d JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader

(cherry picked from commit 8339ec581f)
2025-04-28 02:01:32 +02:00
Alexey Ushakov
bc985e9f5b JBR-3872 [JBR17+Metal] Wrong color for scrollbars and inlay hints
Corrected typo in setTxtUniforms and fixed alpha blending in frag_gmc_text shader

(cherry picked from commit 3276a2f8ea)
2025-04-28 02:01:32 +02:00
Alexey Ushakov
51797f9a82 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

(cherry picked from commit 5b290231ac)
2025-04-28 02:01:32 +02:00
Alexey Ushakov
7a5f11bc6b JBR-4104 jbr-dev compilation failure
Corrected suppress warnings

(cherry picked from commit 3ff69f1653)
2025-04-28 02:01:32 +02:00
Dmitry Batrak
6be90b2a3b JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters
(cherry picked from commit 4fde082d53)
(cherry picked from commit dc1806aa60)
2025-04-28 02:01:32 +02:00
Maxim Kartashev
bad884aa73 JBR-3899 SIGSEGV at [libjvm] _ZN23JfrNetworkInterfaceName11on_rotationEv
Prevent JfrNetworkInterfaceName::on_rotation() to dereference a
potentially NULL pointer.

(cherry picked from commit b2a9372d70)
(cherry picked from commit 23ca382acc)
2025-04-28 02:01:32 +02:00
Dmitry Batrak
64f1d8a82c 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)
(cherry picked from commit bb25c734db)
2025-04-28 02:01:32 +02:00
Maxim Kartashev
9220a3c13e 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)
(cherry picked from commit f7a8581991)
2025-04-28 02:01:32 +02:00
Vitaly Provodin
5cc2fb643f exclude tests spontaneously creating windows during test execution
(cherry picked from commit 0dc17f51ed)
2025-04-28 02:01:32 +02:00
Maxim Kartashev
f9ab5a798e 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}.

(cherry picked from commit 99e8557c5b)
2025-04-28 02:01:32 +02:00
Alexey Ushakov
3d58f3e62b JBR-3924 CMD+Tilda does not switch app windows
Introduced vm property to disable capturing of next app window shortcut

(cherry picked from commit 15c52c44ee)
2025-04-28 02:01:32 +02:00
Nikita Gubarkov
b51978a3a8 JBR-2917 Added emoji support for Windows
JBR-3951 Pass real glyph type from native code instead of guessing it by rowBytes & width

(cherry picked from commit 1a7a1db798)
2025-04-28 02:01:32 +02:00
Pavel
93bcdf0c84 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)
(cherry picked from commit e7a31e309e)
2025-04-28 02:01:32 +02:00
Maxim Kartashev
7b4210eb11 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)
(cherry picked from commit dc29a24175)
2025-04-28 02:01:31 +02:00
Dmitry Batrak
0a5d091039 log LWCToolkit invokeAndWait requests
as part of JBR-3017, to make investigation of similar issues simpler in the future

(cherry-picked from commit a7fd723e43)

(cherry picked from commit d8ca0763a5)
2025-04-28 02:01:31 +02:00
Alexey Ushakov
901adcfd34 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)
(cherry picked from commit 62b62e33cf)
2025-04-28 02:01:31 +02:00
Alexey Ushakov
847095e9e2 JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit

(cherry picked from commit 28774d6878)
(cherry picked from commit 7cfc13be5c)
2025-04-28 02:01:31 +02:00
Alexander Lobas
76677db7ad JBR-3660 PhpStorm 2021.2 crashes on selecting iCloud Drive directory in Open dialog
(cherry picked from commit f5434bcaaf)
(cherry picked from commit 58f6991df8)
2025-04-28 02:01:31 +02:00
Alexander Lobas
d14b3ce3a8 JBR-3629 SIGILL at [libsystem_kernel] __kill NPE at com.intellij.openapi.options.SchemeImportUtil$1.isFileSelectable / -[CFileDialog askFilenameFilter:]
(cherry picked from commit 86c13ecaed)
(cherry picked from commit adf18476b9)
2025-04-28 02:01:31 +02:00
Alexander Lobas
6a67cbccd7 JBR-3443 Native file dialog on OSX enable filename filter by VM option
(cherry-picked from commit f10e324538)

(cherry picked from commit 7ad92e4703)
2025-04-28 02:01:31 +02:00
Alexander Lobas
0109c394c8 JBR-3442 Native file dialog on OSX (for open file) doesn't allow pasting path
(cherry-picked from commit 7d8cc524ca)

(cherry picked from commit 5aca0df07c)
2025-04-28 02:01:31 +02:00
Maxim Kartashev
1f55793e28 Revert "JBR-2755 IDE UI became slow via remote X Server connection from Windows"
This reverts commit cd9138844da770ae60806fd7dbc1e85c773882a8.

(cherry picked from commit ec6f644c12)
2025-04-28 02:01:31 +02:00
Konstantin Aleev
59712be541 fix memory leaks in AccessibleJTree
(cherry picked from commit 561a7b8def)
(cherry picked from commit 6aa0951e7f)
2025-04-28 02:01:31 +02:00
Maxim Kartashev
bc0a2e6c7d 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.

(cherry picked from commit 8134ec069d)
2025-04-28 02:01:31 +02:00
Maxim Kartashev
20661bc419 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.

(cherry picked from commit 502a08cafb)
2025-04-28 02:01:31 +02:00
Nikita Provotorov
ec540ae316 JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Add regression test.

(cherry picked from commit 8df43eef4b)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 0763e18e1b)
2025-04-28 02:01:31 +02:00
Maxim Kartashev
2fa064e135 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.

(cherry picked from commit d358fcc774)
2025-04-28 02:01:31 +02:00
Alexey Ushakov
d122ff3da9 JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Added regression test to compare OGL and Metal text rendering

(cherry picked from commit 1ef2bce278)
2025-04-28 02:01:30 +02:00
Artem Bochkarev
ee04082e70 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)
(cherry picked from commit e539e4d29c)
2025-04-28 02:01:30 +02:00
Dmitry Batrak
c2f5a855f4 JBR-2759 Typeahead issue on Linux
(cherry picked from commits 76bdaf1131, b20c56ff3e, c9609330f2, a170b4e4ae)

(cherry picked from commit 281e6abf47)
2025-04-28 02:01:30 +02:00
Artem Bochkarev
528b8aa5cc 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)
(cherry picked from commit 614eea4fd3)
2025-04-28 02:01:30 +02:00
Renaud Paquay
be9dc5356d 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)
(cherry picked from commit c5ac3d69ba)
2025-04-28 02:01:30 +02:00
Ivan Migalev
51d6676a39 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)
(cherry picked from commit c96000f501)
2025-04-28 02:01:30 +02:00
Dmitry Batrak
22c7b36f82 JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE
(cherry picked from commit 0bf13985d5)
(cherry picked from commit 3853438e52)
2025-04-28 02:01:30 +02:00
Maxim Kartashev
becd9109c9 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.

(cherry picked from commit 4fefc6244b)
2025-04-28 02:01:30 +02:00
Dmitry Batrak
2c5bf3ad98 JBR-3504 a11y focus is set on the wrong element when opening popups
(cherry-picked from commit a69e12e0d2)

(cherry picked from commit e06081f5ab)
2025-04-28 02:01:30 +02:00
Maxim Kartashev
9b91f3c4fa 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().

(cherry picked from commit 0ae3056c25)
2025-04-28 02:01:30 +02:00
Maxim Kartashev
c14e322878 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)

(cherry picked from commit 51b5fe1b0c)
2025-04-28 02:01:30 +02:00
Alexey Ushakov
6c6effdc49 Added support for otf into the build scripts. Updated prebuild maps.
Applied code from jbr-dev

(cherry picked from commit 9c23814897)
2025-04-28 02:01:30 +02:00
Konstantin Bulenkov
ff1b4149ac bundle Inter font
(cherry picked from commit 9f54e5ce48)
2025-04-28 02:01:30 +02:00
Maxim Kartashev
4ce895e6a4 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)

(cherry picked from commit 1ec3990980)
2025-04-28 02:01:30 +02:00
Dmitry Batrak
7881a1e07a JBR-3726 Modal windows 'disappear' on minimize in KDE
(cherry picked from commits d9baf2d9db, 9c2841028f, 5c4fd9ceaf, f0ed32fca4)

(cherry picked from commit 21a64a69e4)
2025-04-28 02:01:30 +02:00
Maxim Kartashev
908f9931a6 JBR-3542 Fix -Xcheck:jni warnings
Fixes warnings coming from JBR-specific code in addition to those fixed
by 8269223.

(cherry picked from commit b2aa21b742)
2025-04-28 02:01:29 +02:00
Dmitry Batrak
b0518daebf JBR-3706 Toggling full screen mode for two frames doesn't work on macOS if invoked without delay
(cherry picked from commit 28cfc4815f)
(cherry picked from commit ec4f29297e)
2025-04-28 02:01:29 +02:00
Dmitry Batrak
43c232f78d JBR-3686 Background window steals focus when converted to full screen on macOS
(cherry-picked from commit 07a5b9672e)

with fix for JBR-6436 crash in jb/java/awt/Focus/FullScreenFocusStealing.java and jb/java/awt/Window/FullScreenTwoFrames.java

(cherry picked from commit 98b3ac5221)

with fix for 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 db11bf6776)
2025-04-28 02:01:29 +02:00
Dmitry Batrak
1be8dc3ac9 JBR-3662, JBR-3672 Focus jumps to another project tab after closing modal dialog
(cherry picked from commit bfd01081c3, 2a71dc5981)
(cherry picked from commit 3fc47af69e)
2025-04-28 02:01:29 +02:00
Nikita Gubarkov
799fae8f61 JBR-3648 Replace CacheCellInfo usages with MTLCacheCellInfo in metal rendering code
(cherry picked from commit 7a94f7ea07)
2025-04-28 02:01:29 +02:00
Dmitry Batrak
1638024a31 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)
(cherry picked from commit 9f6fa55673)
2025-04-28 02:01:29 +02:00
Anton Tarasov
0022b0202e JBR-1834 [linux] runtime hidpi switch is broken
(cherry picked from commit eaa04303a7)
(cherry picked from commit 2df217d6fe)
2025-04-28 02:01:29 +02:00
Anton Tarasov
130e6a7cba JBR-1429 Scale is huge due to GDK_SCALE
(cherry-picked from commit 1c3477df2e)

(cherry picked from commit 3ac8aeea3d)
2025-04-28 02:01:29 +02:00
Anton Tarasov
e565393d3f JBR-1365 force IDE-managed HiDPI on Linux for fractional scales
(cherry picked from commit f092ff3962)
(cherry picked from commit ae72b9e01d)
2025-04-28 02:01:29 +02:00
Anton Tarasov
9b32c11bb3 Allow HiDPI mode on Linux
(cherry picked from commit e192da4f83)
2025-04-28 02:01:29 +02:00
Anton Tarasov
9699a604fa JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly
(cherry picked from commit 67fb7a274c)
2025-04-28 02:01:29 +02:00
Anton Tarasov
a423a8b92e JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.

(cherry picked from commit 28dfae88e6)
2025-04-28 02:01:29 +02:00
Vitaly.Provodin
d6588a03ab add 32-sizes for native data types
(cherry picked from commit 3a79870da8)
(cherry picked from commit 15f6d3290b)
2025-04-28 02:01:29 +02:00
Nikita Gubarkov
5f9734737f Added JBR-specific .idea project files
(cherry picked from commit 6b34834621)
2025-04-28 02:01:29 +02:00
Alexey Ushakov
9516fc8fbe 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)
(cherry picked from commit dbe6f4490f)
2025-04-28 02:01:29 +02:00
Anton Tarasov
dd5a051a61 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)
(cherry picked from commit d2260dd67c)
2025-04-28 02:01:28 +02:00
Anton Tarasov
48ae3e0741 JBR-3545 Window.setMinimumSize does not respect DPI scaling
(cherry picked from commit 9b4f72ad18)
(cherry picked from commit f3f87f5f27)
2025-04-28 02:01:28 +02:00
Denis Fokin
ae6cb52ade JRE-408 JBR-3515 fix NullPointerException in MetalRootPaneUI.installWindowListeners
(cherry picked from commit 584d554af529cff445b0f09bc2d57be55e138b7a)
(cherry picked from commit 6a42bb54bd)
(cherry picked from commit 1bf4975a43)
2025-04-28 02:01:28 +02:00
Elena Sayapina
73ddcf091f 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)
(cherry picked from commit 1c729008ce)
2025-04-28 02:01:28 +02:00
Denis Konoplev
1fa46aed7b EA-252361: Check window for null
(cherry picked from commit 23a7dbd486)
(cherry picked from commit aa4d6f14dc)
2025-04-28 02:01:28 +02:00
Artem Bochkarev
f943b9ac7d JBR-3131: support custom view for system menu items
(cherry picked from commit 78d509ac0f)
(cherry picked from commit ca05fefb28)
2025-04-28 02:01:28 +02:00
Artem Bochkarev
590c527a34 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)
(cherry picked from commit d690d68315)
2025-04-28 02:01:28 +02:00
Nikita Gubarkov
996798602b JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c
(cherry picked from commit 40ea728335)
2025-04-28 02:01:28 +02:00
Dmitry Batrak
9469c52dd6 JBR-3024 Popups are shown with 1x1 size sometimes
test case only

(cherry picked part of commit ee298f5287)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit b7d165e486)
2025-04-28 02:01:28 +02:00
Vitaly Provodin
31bc03af8a JBR-3314 add regression test
(cherry picked from commit c81adfed61)
(cherry picked from commit e4c3db3a2c)
2025-04-28 02:01:28 +02:00
Ivan Migalev
546347193a JBR-3227 Reload type of required native file dialogs each time a file dialog is requested
(cherry picked from commit 26dd87ab7c)
(cherry picked from commit 847d757a76)
2025-04-28 02:01:28 +02:00
Ivan Migalev
7e9122dc8e JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled
(cherry picked from commit 442bb7eecc)
(cherry picked from commit 6177142c3a)
2025-04-28 02:01:28 +02:00
Alexey Ushakov
edaf7ce008 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)
(cherry picked from commit 998e7b685a)
2025-04-28 02:01:28 +02:00
Alexey Ushakov
3ffd806601 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)
(cherry picked from commit dd6877af04)
2025-04-28 02:01:28 +02:00
Dmitry Batrak
8e6bd7371a 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)

(cherry picked from commit 513767dce6)
2025-04-28 02:01:28 +02:00
Dmitry Batrak
c9e1791c67 JBR-3072 Deadlock on nested dialog hiding
(cherry picked from commits 99242748ee, ad1595b5c2)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9eacb21298)
2025-04-28 02:01:27 +02:00
Dmitry Batrak
c85e9ae972 fix occasional freezes of JBR-3017 reproducer after the fix
(cherry picked from commit 7e6db54f77)
(cherry picked from commit 2b7f78f50e)
2025-04-28 02:01:27 +02:00
Dmitry Batrak
1cd842ad30 JBR-2819 Create API to determine typographic family/subfamily for available fonts
(cherry picked from commit 89e519a4ef)
(cherry picked from commit 21129ca270)
2025-04-28 02:01:27 +02:00
Nikita Gubarkov
7fd7434875 JBR-2924 Do not try to create native italic font when we're going to make it fake italic
(cherry picked from commit cf05cb1a19)
2025-04-28 02:01:27 +02:00
Nikita Gubarkov
8e74428370 JBR-3982 Fixed non-antialiased text rendering on macOS
JBR-3269 Disabled subpixel antialiasing for macOS Mojave and newer

(cherry picked from commit e10f69072e)
2025-04-28 02:01:27 +02:00
Dmitry Batrak
a5d5d908a2 JBR-3017 Focus issue in presence of third-party accessibility tool
(cherry picked from commit 88ead5d9e3)
(cherry picked from commit 97753f15b6)
2025-04-28 02:01:27 +02:00
Vitaly Provodin
4951f4e2cb JBR-1718 add a regression test
(cherry picked from commit 84ff4eab21)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 6b02027600)
2025-04-28 02:01:27 +02:00
Elena Sayapina
adfd92902f JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
(cherry picked from commit 54e74d75d0)
2025-04-28 02:01:27 +02:00
Nikita Gubarkov
2db1e0e8bb Added JBR API
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 2ce0a876c5)
2025-04-28 02:01:27 +02:00
Artem Bochkarev
e176b3e48c 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)
(cherry picked from commit 55eba1d802)
2025-04-28 02:01:27 +02:00
Mikhail Grishchenko
fc557f8279 JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
(cherry picked from commit 793add3ff1)
2025-04-28 02:01:27 +02:00
Alexey Ushakov
61da03774f 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)
(cherry picked from commit 545eddda9f)
2025-04-28 02:01:27 +02:00
Nikita Gubarkov
f9ac89be76 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

(cherry picked from commit 4590e49b61)
2025-04-28 02:01:27 +02:00
Alexey Ushakov
447d64f9a5 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)
(cherry picked from commit 6fb9aaf291)
2025-04-28 02:01:27 +02:00
Alexey Ushakov
f1b7c8b86b 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)
(cherry picked from commit 1b426cc66c)
2025-04-28 02:01:26 +02:00
Alexey Ushakov
c9d1fb07e0 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)
(cherry picked from commit 1a46cd70af)
2025-04-28 02:01:26 +02:00
Alexey Ushakov
34be6418a4 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)
(cherry picked from commit 9fbf990e83)
2025-04-28 02:01:26 +02:00
Vitaly Provodin
4d0f01f15c exclude bug7154030 on macosx-aarch64 due to 8268284
(cherry picked from commit 253f1246e5)
2025-04-28 02:01:26 +02:00
Vitaly Provodin
42e36870e0 exclude SharedMemoryPixmapsTest on macosx-all due to 8221451
(cherry picked from commit d929111f7a)
2025-04-28 02:01:26 +02:00
Vyacheslav Moklev
3b0bea65b3 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov

(cherry picked from commit a166fb65e1)
2025-04-28 02:01:26 +02:00
Sergey Malenkov
b6185ffd05 EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
(cherry picked from commit 31c4452397)
2025-04-28 02:01:26 +02:00
Kirill Kirichenko
8a67e1d42f JBR-2667 Post review: rename win.darkTheme.on to win.lightTheme.on and reversed the logic
(cherry picked from commit eeab5252e6)
(cherry picked from commit b539e1d0de)
2025-04-28 02:01:26 +02:00
Kirill Kirichenko
2abb75d9ee JBR-2667 Add new AWT desktop property for light/dark theme detection on Windows 10
(cherry picked from commit 0e4ad056dd)
(cherry picked from commit e5dfcc4417)
2025-04-28 02:01:26 +02:00
Alexey Ushakov
ef08961be1 JBR-2593 Wide ligatures not rendered in Grayscale mode
Added missing flush of cached vertices

(cherry picked from commit ad409b4370)
(cherry picked from commit bf011ac521)
2025-04-28 02:01:26 +02:00
Nikita Gubarkov
162fc39a5f JBR-2910 Implemented extended glyph cache for Linux
(cherry picked from commit d488f716e7)
2025-04-28 02:01:26 +02:00
Nikita Gubarkov
8a3663feff JBR-2910 Implemented extended glyph cache for Windows
(cherry picked from commit 7f75d75933)
2025-04-28 02:01:26 +02:00
Nikita Gubarkov
6c7c6268f7 JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3
(cherry picked from commit afb52a160d)
2025-04-28 02:01:26 +02:00
Alexey Ushakov
6117bbbbe2 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
(cherry picked from commit bd6dae9ddf)
2025-04-28 02:01:26 +02:00
Denis Konoplev
7d63f05d63 JBR-3544: Generate popup invoked instead of New in this directory.
- A fix
- A regression test (cherry picked from commit 7995574c09)

(cherry picked from commit 01915e4224)
2025-04-28 02:01:26 +02:00
Vitaly Provodin
c93406ac15 JBR-2545 Clean up the list of ignored Render tests
(cherry picked from commit f7b4c42e1d)
(cherry picked from commit 32b8d67527)
2025-04-28 02:01:25 +02:00
Jayathirth D V
0b5771c944 8241490: Add large text performance tests in RenderPerfTest
(cherry picked from commit 803ee2f2b5)
(cherry picked from commit bbe57208d2)
2025-04-28 02:01:25 +02:00
Alexey Ushakov
535f789763 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)
(cherry picked from commit 448aad87bc)
2025-04-28 02:01:25 +02:00
Konstantin Bulenkov
e3300a0e52 Update FiraCode to 5.2
(cherry picked from commit 71e2a8d8ad)
(cherry picked from commit 0582e90d58)
2025-04-28 02:01:25 +02:00
Alexey Ushakov
84bdcf5a43 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)
(cherry picked from commit ade5b22a83)
2025-04-28 02:01:25 +02:00
Alexey Ushakov
9c0f4e174f 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)
(cherry picked from commit b15896e838)
2025-04-28 02:01:25 +02:00
Alexey Ushakov
80e9d2f056 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
(cherry picked from commit df670fc276)
2025-04-28 02:01:25 +02:00
Anton Tarasov
51cf789987 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)
(cherry picked from commit e233ff9b94)
2025-04-28 02:01:25 +02:00
Anton Tarasov
a05d110a14 JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
(cherry picked from commit ef2a05eac1)
2025-04-28 02:01:25 +02:00
Anton Tarasov
0d0c7af3b1 JBR-2866 JCEF: Markdown editor steals focus from a different frame
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 6d852e3252)
2025-04-28 02:01:25 +02:00
Anton Tarasov
7dfde6ffb1 JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
(cherry picked from commit 8975bde92c)
2025-04-28 02:01:25 +02:00
Anton Tarasov
699371e474 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
(cherry picked from commit 57bbddf071)
(cherry picked from commit 94b56fdeb5)
2025-04-28 02:01:25 +02:00
Anton Tarasov
913dacb68c JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
(cherry picked from commit 441ee96ec5)
2025-04-28 02:01:25 +02:00
Anton Tarasov
6d06d20bd7 JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 81d2156fb1)
(cherry picked from commit 01299cb102)
2025-04-28 02:01:25 +02:00
Anton Tarasov
7eaceebbcc JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit a5adc725df)
(cherry picked from commit fcf31daa22)
2025-04-28 02:01:25 +02:00
Anton Tarasov
262d2b35d6 JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
(cherry picked from commit c7d407e0a6)
2025-04-28 02:01:24 +02:00
Anton Tarasov
f90accea8c JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
(cherry picked from commit d72901625f)
2025-04-28 02:01:24 +02:00
Anton Tarasov
cdf529a02c JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
(cherry picked from commit 2ebe5709c0)
2025-04-28 02:01:24 +02:00
Anton Tarasov
d69e107e3f JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
(cherry picked from commit bf36d7873b)
2025-04-28 02:01:24 +02:00
Anton Tarasov
c6588e6210 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
(cherry picked from commit 74ccb86095)
2025-04-28 02:01:24 +02:00
Anton Tarasov
0df06c6289 JBR-2169 AWTThreading: remove tracked invocation event from completion listener
(cherry picked from commit a855f3b835)
(cherry picked from commit c54371231c)
2025-04-28 02:01:24 +02:00
Anton Tarasov
bedc24c0d3 JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit
(cherry picked from commit bba297b4a4)
(cherry picked from commit 38b9cf19c0)
2025-04-28 02:01:24 +02:00
Anton Tarasov
361b84589e JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
(cherry picked from commit b610a7c4f9)
2025-04-28 02:01:24 +02:00
Anton Tarasov
d743f9fbcd JBR-2146 improve InvokeOnToolkitHelper to cover more generic case
(cherry picked from commit 37db252ad7)
2025-04-28 02:01:24 +02:00
Anton Tarasov
b421d4d4ba JBR-2139 Idea freeze on dynamic plugin unloading
(cherry picked from commit e57bae4f66)
(cherry picked from commit 647f198b17)
2025-04-28 02:01:24 +02:00
Anton Tarasov
f7e778180d JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux
(cherry picked from commit 3dfb0aa16a)
(cherry picked from commit 3750608e62)
2025-04-28 02:01:24 +02:00
Anton Tarasov
ff7b1fc935 JBR-2093 create reg test for JCEF startup
(cherry picked from commit e8c2761f5b)
(cherry picked from commit 17cfb8e0d8)
2025-04-28 02:01:24 +02:00
Anton Tarasov
af12971908 JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar"
(cherry picked from commit b31a41fb2f)
(cherry picked from commit d2d4e58c13)
2025-04-28 02:01:24 +02:00
Mikhail Grishchenko
44422fafad 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)
(cherry picked from commit d325b98b54)
2025-04-28 02:01:24 +02:00
Mikhail Grishchenko
38753abc8b JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test

(cherry picked from commit e8e4741bb0)
(cherry picked from commit 8428d1c853)
2025-04-28 02:01:24 +02:00
Mikhail Grishchenko
e5b64a60b3 JBR-2412 [windows] mouse listener does not work for jcef
added regression test

(cherry picked from commit d1479872f2)
(cherry picked from commit 9e5032e328)
2025-04-28 02:01:23 +02:00
Elena Sayapina
9d05404d0b 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)
(cherry picked from commit cfc90ce2c5)
2025-04-28 02:01:23 +02:00
Mikhail Grishchenko
48e9c87909 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)
(cherry picked from commit f191726147)
2025-04-28 02:01:23 +02:00
Vitaly Provodin
7763bb6dc2 exclude the new printer test 8262731
(cherry picked from commit c5ff1e3025)
2025-04-28 02:01:23 +02:00
Alexey Ushakov
001d3ebca3 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)
(cherry picked from commit 1bfd5ad21c)
2025-04-28 02:01:23 +02:00
Alexey Ushakov
a9a8509b8c 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)
(cherry picked from commit 9ed5cac63d)
2025-04-28 02:01:23 +02:00
Artem Bochkarev
55b13393c9 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)
(cherry picked from commit 915f700d26)
2025-04-28 02:01:23 +02:00
Kirill Kirichenko
6790306d23 JBR-1874 Cursor not changing from 'default' to 'text'. Additional fix after reopening.
(cherry picked from commit 5a29d4ade9)
(cherry picked from commit da44860f22)
2025-04-28 02:01:23 +02:00
Elena Sayapina
1e1f29c1e4 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)
(cherry picked from commit a13b014719)
2025-04-28 02:01:23 +02:00
Elena Sayapina
e2a36e7dec 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)
(cherry picked from commit 679b5d8cd3)
2025-04-28 02:01:23 +02:00
Elena Sayapina
9e4e350491 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)
(cherry picked from commit a199826fae)
2025-04-28 02:01:23 +02:00
Mikhail Grishchenko
5ac3a981d6 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
Added reproducer

(cherry picked from commit e875bf72c9)
(cherry picked from commit 9aa75b7679)
2025-04-28 02:01:23 +02:00
Denis Konoplev
dc76a76519 JBR-2490 Add option to work with Surface Pen
(cherry picked from commit 5acc7680a1)
(cherry picked from commit b604023cef)
2025-04-28 02:01:23 +02:00
Denis Konoplev
a0312c9447 JBR-2669: set unicode for both keyCode and extendedKeyCode
(cherry picked from commit ba3f14c83a)
(cherry picked from commit 544176fbce)
2025-04-28 02:01:23 +02:00
Denis Konoplev
c2655febc8 JBR-2554: Proper unicode values in KeyEvent.keyCode
(cherry picked from commit 703d77a927)
(cherry picked from commit 63bdac9bbf)
2025-04-28 02:01:23 +02:00
Denis Konoplev
4b39e4ee10 JBR-215: Remove SystemInfo
(cherry picked from commit 9adf77a512)
(cherry picked from commit 6a6761d365)
2025-04-28 02:01:22 +02:00
Denis Konoplev
f5229607cb JBR-215: Separate LatinNonAlphaNumKeycodes option
(cherry picked from commit caf366f6f3)
(cherry picked from commit ed143f6d73)
2025-04-28 02:01:22 +02:00
Denis Konoplev
3497df7b59 JBR-215: Windows non-alphanumeric shortcuts
(cherry picked from commit 4f60efebe2)
(cherry picked from commit b5fd23e498)
2025-04-28 02:01:22 +02:00
Denis Konoplev
be843f1936 JBR-2280: Fix regression. Mode compatible with old option.
(cherry picked from commit a3e3c23cb1)
(cherry picked from commit 8c15ab819c)
2025-04-28 02:01:22 +02:00
Denis Fokin
180ad1b2fe macOS national keyboard support
(cherry picked from commit 83356eb0bb)
(cherry picked from commit c8a36e1804)
2025-04-28 02:01:22 +02:00
Nikita Gubarkov
e5442911a1 JBR-6387 Revert "8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts"
(cherry picked from commit efd4acd419)
2025-04-28 02:01:22 +02:00
Sergey Malenkov
02d4f306eb JBR-1929 FractionalMetricsSupport
(cherry picked from commit bbdc159762)
(cherry picked from commit 9fad8b07f1)
2025-04-28 02:01:22 +02:00
Mikhail Grishchenko
1c0c64c34a 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 775801a875)
2025-04-28 02:01:22 +02:00
Mikhail Grishchenko
d59dae32a2 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit f7cf514da2)
2025-04-28 02:01:22 +02:00
Mikhail Grishchenko
c7ef46ee1b JBR-1414 [Test] downscale frames to run on low-dpi screens
(cherry picked from commit b46e74fe6f)
(cherry picked from commit 844b3e1d5f)
2025-04-28 02:01:22 +02:00
Elena Sayapina
5cb1ea5a8d 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)
(cherry picked from commit 0905abecf5)
2025-04-28 02:01:22 +02:00
Alexey Ushakov
ebdae57e25 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)
(cherry picked from commit db7e53e67d)
2025-04-28 02:01:22 +02:00
Alexey Ushakov
f56d63c7b8 JBR-2137 JetBrainsMono fonts update to v1.0.3
(cherry picked from commit a6e441828a)
(cherry picked from commit b25c90ba53)
2025-04-28 02:01:22 +02:00
Mikhail Grishchenko
879613d36e JBR-1414: Added regression test for dnd with HiDPI scaling
(cherry picked from commit 1f4ab12fbb)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit ba00bacb9f)
2025-04-28 02:01:22 +02:00
Elena Sayapina
9221755975 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9bd62fade9)
2025-04-28 02:01:22 +02:00
Konstantin Bulenkov
3208cb4e1a Update JetBrains Mono to 1.0.2
(cherry picked from commit 6f4a13e46f)
(cherry picked from commit b14bfd3ac9)
2025-04-28 02:01:21 +02:00
Ivan Migalev
8d4954e129 Extract the DWM colorization parameters from registry (JBR-2070)
(cherry picked from commit 0330cab60b)
(cherry picked from commit 6525a8b70d)
2025-04-28 02:01:21 +02:00
Ivan Migalev
bb77aa5c3e Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070)
(cherry picked from commit 06086f4a7e)
(cherry picked from commit afd04d7c5b)
2025-04-28 02:01:21 +02:00
Ivan Migalev
3c8d5fa456 Fix a possible resource leak in ColorizationColorAffectsBorders
(cherry picked from commit 0c911b6ffe)
(cherry picked from commit ffbaf5e1d1)
2025-04-28 02:01:21 +02:00
Elena Sayapina
55c392a742 JBR-2086 JetBrainsMono fonts update to v1.0.1
(cherry picked from commit a4b373e631)
(cherry picked from commit 462fef3916)
2025-04-28 02:01:21 +02:00
Konstantin Bulenkov
a3a37770e3 JetBrains Mono 1.0
(cherry picked from commit d514f7a982)
(cherry picked from commit 56ee3ef459)
2025-04-28 02:01:21 +02:00
Denis Konoplev
fefabf8b7f JBR-3444: Return NullSurfaceData when gc == null
(cherry picked from commit 01ad15e61c)
(cherry picked from commit 2a7a828ec8)
2025-04-28 02:01:21 +02:00
Denis Konoplev
914044ba5a JBR-1995: Last character issue with korean
Fix for JTextComponent

(cherry picked from commit a7c8b0b535)
(cherry picked from commit 48410e5865)
2025-04-28 02:01:21 +02:00
Denis Konoplev
9703423293 JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate
(cherry picked from commit c811c295c2)
(cherry picked from commit fe18b612dc)
2025-04-28 02:01:21 +02:00
Denis Konoplev
b5e9af141d JBR-2444: Turn on IM workaround by default
(cherry picked from commit 15c4ce1d3e)
(cherry picked from commit fe0c4e5b9e)
2025-04-28 02:01:21 +02:00
Denis Konoplev
c1c201f060 Fix build: add import & fix jwhen
(cherry picked from commit 3551c2a4c0)
2025-04-28 02:01:21 +02:00
Denis Konoplev
c2cfd1e8de JBR-2795: Add explicit conversion
(cherry picked from commit bf3e1c0c31)
(cherry picked from commit 5f07df3034)
2025-04-28 02:01:21 +02:00
Denis Konoplev
a64237c0ed IDEA-237231: Correct signarute mask
(cherry picked from commit 6974131eec)
(cherry picked from commit af2154f8b1)
2025-04-28 02:01:21 +02:00
Denis Konoplev
12a857a1eb IDEA-237231: Possible fix for pen interraction
(cherry picked from commit 33a8c95d39)
(cherry picked from commit 58fbc3f800)
2025-04-28 02:01:21 +02:00
Denis Konoplev
a92bb4fb49 JBR-2041: Project view tap fix, recovery? constants & logging
(cherry picked from commit 1e904db3b0)
(cherry picked from commit 5c62dbdbca)
2025-04-28 02:01:21 +02:00
Denis Konoplev
860aee13c9 IDEA-229135: Fling animation stop on tap
(cherry picked from commit 7ce0f79561)
(cherry picked from commit 01f0f774b4)
2025-04-28 02:01:20 +02:00
Denis Konoplev
34913e1d1a Windows touch screen support
(cherry picked from commit cab3f28907)
(cherry picked from commit ce0e4aff62)
2025-04-28 02:01:20 +02:00
Denis Konoplev
4a844624fd Turn off multitouch
(cherry picked from commit a2576ffa9a)
(cherry picked from commit 41eaa75d27)
2025-04-28 02:01:20 +02:00
Denis Konoplev
59017d9da1 Check XInput extension && touch inertia
(cherry picked from commit cca7fb97f4)
(cherry picked from commit edcb7310d3)
2025-04-28 02:01:20 +02:00
Denis Konoplev
2707b3e8ee Touch scroll handling
(cherry picked from commit 6dcec3dc31)
(cherry picked from commit c585901afe)
2025-04-28 02:01:20 +02:00
Denis Konoplev
65d9a7b0a7 XI2 Constants
(cherry picked from commit 588cd6ee73)
(cherry picked from commit 2e4a8ba10b)
2025-04-28 02:01:20 +02:00
Denis Konoplev
55da1183bf XLibWrapper XI2 functions
(cherry picked from commit d6bd1bfa2b)
(cherry picked from commit 7edf395b3b)
2025-04-28 02:01:20 +02:00
Denis Konoplev
8326b6df65 X11 native get put double
(cherry picked from commit f101bc1108)
(cherry picked from commit 344fe36ceb)
2025-04-28 02:01:20 +02:00
Denis Konoplev
2d204cb680 Native data types
(cherry picked from commit 9504574dbb)
(cherry picked from commit 5967b3f41b)
2025-04-28 02:01:20 +02:00
Denis Konoplev
35272f22cf XI2 headers in xlib wrapper generator
(cherry picked from commit ef108067a1)
(cherry picked from commit 1397389026)
2025-04-28 02:01:20 +02:00
Denis Konoplev
4d3c102d59 Revert "Turn off multitouch"
This reverts commit 90ea3bf57e4c687e9d9bf0a37f2f64c82a81f4eb.

(cherry picked from commit b154b46eb0)
2025-04-28 02:01:20 +02:00
Denis Konoplev
f35752764e Turn off multitouch
(cherry picked from commit a2576ffa9a)
(cherry picked from commit 960e154377)
2025-04-28 02:01:20 +02:00
Alexey Ushakov
50ac95b48d JBR-1962 Allow to change font config
Replaced several privileged blocks with just one

(cherry picked from commit faa8d3d258)
(cherry picked from commit 2ffadb5f9a)
2025-04-28 02:01:20 +02:00
Vitaly Provodin
00491952a9 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 32a3948437)
2025-04-28 02:01:20 +02:00
Dennis Ushakov
3440754ef1 JBR-1863, JBR-1868 correct advances on Catalina
(cherry picked from commit bff05a1a97)
2025-04-28 02:01:19 +02:00
Dennis Ushakov
f48b52b9ee JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families
(cherry picked from commit 59974ca04c)
2025-04-28 02:01:19 +02:00
Dennis Ushakov
a007a35af5 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.

(cherry picked from commit db44a8c70e)
2025-04-28 02:01:19 +02:00
Dennis Ushakov
afd3b4f9ce JBR-1756 use CoreText for all font rendering on Catalina
(cherry picked from commit a4f42cd091)
2025-04-28 02:01:19 +02:00
Nikita Gubarkov
5be60df554 JBR-410 Added emoji support for Linux
(cherry picked from commit a98fac2c53)
2025-04-28 02:01:19 +02:00
Alexey Ushakov
0c737a66bf JBR-1997 JetBrainsMono fonts update to v0.22
(cherry picked from commit 41f4fddd34)
(cherry picked from commit f5302a02f4)
(cherry picked from commit 5d7fd2e1e5)
(cherry picked from commit 6d27bc749b)
2025-04-28 02:01:19 +02:00
Anton Tarasov
6af27cf1f4 JRE-729 [windows] unreasonable IME activity consumes CPU
(cherry picked from commit caf8462e09)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
fc6d6f38fd 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)
(cherry picked from commit d805bf045f)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
f1dd62f884 JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
(cherry picked from commit f4b23f8be1)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
0dc82c1062 JBR-3035 The Confirm Exit pop-up window remains hidden behind a window of another application
(cherry picked from commit 470c3bd1b5)
(cherry picked from commit 64e4203555)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
5a2783033b JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR
(cherry picked from commit 95be4351d4)
(cherry picked from commit 79d0b926b2)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
949d984c13 JBR-2977 Opening a recent project in a new window doesn't bring this window to the front
(cherry picked from commit 2d9fb9e7b8)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 27f390cf9a)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
a7f1d675db JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux
(cherry picked from commit ebcdeb7d80)
(cherry picked from commit 6d26292983)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
89ec4f9468 JBR-2696 Log focus API invocations with stack traces
(cherry picked from commits 0f038754e5, a507cab6d3)

(cherry picked from commit a494c76a27)
2025-04-28 02:01:19 +02:00
Dmitry Batrak
9ea2062b6c 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 42aad68ab4)
2025-04-28 02:01:19 +02:00
Alexey Ushakov
044cbf607b JBR-3509 Extend JDK-8267521 (Post JEP 411 refactoring: maximum covering > 50K) to JBR specific changes
Marked all the usages of SecurityManager related api

(cherry picked from commit a783b841ac)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
ba88acc009 JBR-1851: check NSArray length
and make more exception-safe
and minor optimization for logging (cache jobjects)

(cherry picked from commit 5839539379)
(cherry picked from commit 23a3321d6d)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
ccffed64d4 JBR-1841: allow deferred disabling of InputMethods-support
(cherry picked from commit 969255904b)
(cherry picked from commit f8513bcad9)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
2d87d7a18f JBR-1668: add hardcoded default values for preferences node NSServicesStatus
(cherry picked from commit 8445f53d85)
(cherry picked from commit 2e3a5fe508)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
355f847bf6 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)
(cherry picked from commit ddeeb4c813)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
f836faa8b6 JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management

(cherry picked from commit 15f7368309)
(cherry picked from commit 5aec21a5cd)
2025-04-28 02:01:18 +02:00
Elena Sayapina
77ea2cd58a 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9745d7d7dc)
2025-04-28 02:01:18 +02:00
Alexey Ushakov
f4e0215e71 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit a9a049709c)
2025-04-28 02:01:18 +02:00
Dmitry Batrak
ffe8dcbc33 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)

(cherry picked from commit 7b14db7f6b)
2025-04-28 02:01:18 +02:00
Dmitry Batrak
2c13ebffeb 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

(cherry picked from commit 7721393e5b)
2025-04-28 02:01:18 +02:00
Dmitry Batrak
60868ffb82 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

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit f9942d50a8)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
cccffdde13 JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug)
(cherry picked from commit 1acada7cac)
(cherry picked from commit c1751ca98d)
2025-04-28 02:01:18 +02:00
Artem Bochkarev
e8efff96b0 JBR-1668: minor fixes
fixed review comments

(cherry picked from commit 9dbcf194c9)
(cherry picked from commit 8276f81a13)
2025-04-28 02:01:18 +02:00
Vitaly Provodin
fb789bc903 JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commit e4a3889cf0)
(cherry picked from commit 3959ac1680)
2025-04-28 02:01:18 +02:00
Alexey Ushakov
363dfa4449 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Corrected lookup for bold fonts

(cherry picked from commit 114b8af38f)
(cherry picked from commit fa0816c404)
2025-04-28 02:01:18 +02:00
Alexey Ushakov
9941c5ac7d JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test

(cherry picked from commit b4f5bf8bd3)
(cherry picked from commit a0eb49776a)
2025-04-28 02:01:17 +02:00
Elena Sayapina
6fc5a488cb IDEA-165950 [TEST] Added new regression test (National keyboard layouts support)
(cherry picked from commit 0900a705bc)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 0981cb572a)
2025-04-28 02:01:17 +02:00
Artem Bochkarev
59fca49f86 JBR-1668: read system keyboard shortcuts
initial support for OS X

(cherry picked from commit 6bbe7102e2)
(cherry picked from commit ccd8116bf3)
2025-04-28 02:01:17 +02:00
Artem Bochkarev
f08fcce3d1 JBR-1573: restore current input context after cleanup
(cherry picked from commit b7acd7f6f6)
(cherry picked from commit 9dbdd24cc3)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
98eed13bea 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)
(cherry picked from commit e3a1cdae23)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
631166f75f JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
(cherry picked from commit c640e06d25)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
e484bb79f4 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)
(cherry picked from commit b472b89fba)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
ceeb5dfa2a 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)

(cherry picked from commit 8838b708be)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
e36ace3739 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)
(cherry picked from commit 181c757ebe)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
24b2341d61 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)
(cherry picked from commit 9c9cea0871)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
f5913a426c 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)
(cherry picked from commit 517bd6d449)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
3a2dc47a4f 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)
(cherry picked from commit e53374aab3)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
bf851b8798 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)
(cherry picked from commit 1350ceb04b)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
b8440a2d67 JBR-1645 javax/swing/JTextArea/TestTabSize.java: Tab width calculation wrong
Corrected idea font filter

(cherry picked from commit 62f9d1f46a)
(cherry picked from commit 3dab43f987)
2025-04-28 02:01:17 +02:00
Artem Bochkarev
7a224ca032 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)
(cherry picked from commit 42c5f07276)
2025-04-28 02:01:17 +02:00
Alexey Ushakov
e184790b62 JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance

(cherry picked from commit 350a3fdef3)
(cherry picked from commit 4ad45a0c84)
2025-04-28 02:01:16 +02:00
Artem Bochkarev
0403255b10 JBR-1541: activate menu in completion handler of modal dialog
(cherry picked from commit e57384c1d6)
(cherry picked from commit b38f01f5e4)
2025-04-28 02:01:16 +02:00
Alexey Ushakov
68d76a9835 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)
(cherry picked from commit 4cf33c4d27)
2025-04-28 02:01:16 +02:00
Alexey Ushakov
c6790c44c7 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix

(cherry picked from commit 434166fe63)
(cherry picked from commit db7cdf1d90)
2025-04-28 02:01:16 +02:00
Alexey Ushakov
0fbc3f8721 JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations

(cherry picked from commit 207c6b92ff)
(cherry picked from commit 2254451953)
2025-04-28 02:01:16 +02:00
Elena Sayapina
f2e6ad9081 JBR-1372: [TESTBUG] JDialog1054.java, MoveFocusShortcutTest.java regression tests need update
(cherry picked from commit a5948894bf)
(cherry picked from commit dcc2be2a53)
2025-04-28 02:01:16 +02:00
Maxim Kartashev
fda2b3ed12 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}.

(cherry picked from commit 76decaa4ef)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
0028f411c6 Fix const pointer after JDK-8225032 fix
(cherry picked from commit dc3ae1cafa)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
5514e03ac4 Fix compilation on windows platform: awt_ole.h must be included before awt.h
(cherry picked from commit 6fdcfedd0e)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
a602048d1a 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

(cherry picked from commit 92fb89e3e3)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
ee261e8813 JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window

(cherry picked from commit 803ba97361)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
eaf5f17719 JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly

(cherry picked from commit b96492f7de)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
b008d7e221 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice

(cherry picked from commit 8e5e04a798)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
5e8c6f0c42 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

(cherry picked from commit 8bc4787c11)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
37e8bd7512 JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path

(cherry picked from commit b09a8aace1)
2025-04-28 02:01:16 +02:00
Vyacheslav Moklev
6284048e5d 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

(cherry picked from commit e2fb4ced09)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
19928d143f 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)
(cherry picked from commit 64cabb0dc7)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
7eaf525e0c 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)
(cherry picked from commit 60ae63de08)
2025-04-28 02:01:15 +02:00
Elena Sayapina
28301b6b33 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)
(cherry picked from commit a133cd791e)
2025-04-28 02:01:15 +02:00
Elena Sayapina
6b9e48b6ac 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 362b7d402d)
2025-04-28 02:01:15 +02:00
Elena Sayapina
4291b7c224 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 7fa8aa1568)
2025-04-28 02:01:15 +02:00
Elena Sayapina
6afa0166fb 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit a39264214b)
2025-04-28 02:01:15 +02:00
Vitaly Provodin
a5561f84bf 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)
(cherry picked from commit 3e5dcf6aeb)
2025-04-28 02:01:15 +02:00
Vitaly Provodin
0ff473f624 JRE-1117 J2DBench: introduced result reader for TC's charts
(cherry picked from commit 422fa59643)
(cherry picked from commit 43b5f7f8b0)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
d6f38c646e 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)
(cherry picked from commit 56e10e7d27)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
0c8c1ee249 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)
(cherry picked from commit 9f34bb4ee4)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
801e8adb71 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)
(cherry picked from commit 560a65654e)
2025-04-28 02:01:15 +02:00
Alexey Ushakov
b80bce26a2 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)
(cherry picked from commit 1628d6120e)
2025-04-28 02:01:15 +02:00
Konstantin Bulenkov
dd87ad2165 update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
(cherry picked from commit de1e4a9d71)
(cherry picked from commit 0b33efa7d1)
2025-04-28 02:01:15 +02:00
Vitaly Provodin
1e9f0206e7 Update README.md
(cherry picked from commit eacef38934)
2025-04-28 02:01:15 +02:00
Vitaly Provodin
66f25aea29 Regression test on https://bugs.openjdk.java.net/browse/JDK-8139176
JBR-5008 remove extra file jb/java/awt/font/DrawTest.java from colliding group

(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)
(cherry picked from commit 33bbc7d54d)
2025-04-28 02:01:14 +02:00
Vitaly Provodin
7e56524b58 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)
(cherry picked from commit a2f9387697)
2025-04-28 02:01:14 +02:00
Vitaly Provodin
812f2d7f3b JRE-9: added regression test
(cherry picked from commit 4ffb665)
(cherry picked from commit 00a29ad129)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 05ad949ded)
2025-04-28 02:01:14 +02:00
Sergey Malenkov
7a745c7e1e JRE-100 Scroll with inertia (Mac os) should only work in the initial component
(cherry picked from commit e79502c708)
(cherry picked from commit 223a74bfeb)
2025-04-28 02:01:14 +02:00
Sergey Malenkov
50fca5556f IDEA-161965 ignore dragged event that does not change mouse location Sierra is more sensit
(cherry picked from commit ef490fa465)
(cherry picked from commit 3722edc9f2)
2025-04-28 02:01:14 +02:00
Dmitry Batrak
1f5333e9e6 JBR-3339 Window requests focus on horizontal scroll (on Linux)
(cherry picked from commit 8d74e8e30b)
(cherry picked from commit 88edabdd60)
2025-04-28 02:01:14 +02:00
Anton Tarasov
86837db6fe JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)

(cherry picked from commit 8a44e1bb37)
(cherry picked from commit 9a280dc79e)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
4b5f1ca19b 8265445: Introduce the new client property for mac: apple.awt.windowAppearance
Implemented apple.awt.windowAppearance client property

(cherry picked from commit ba60f7bd8f)
2025-04-28 02:01:14 +02:00
Anton Tarasov
52b65744c5 JBR-3306 jbr-dev warnings: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong'
(cherry picked from commit 046409cd7f)
2025-04-28 02:01:14 +02:00
Dmitry Batrak
551dc6d9a7 JBR-2498 Fix unexpected window raising under Mutter WM
re-implement the fix, so that ChildAlwaysOnTopTest isn't failing

(cherry picked from commit bf826251fa)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
3e6067c110 JBR-3327 [jbr-dev] Adjust mac window appearance according to AppleInterfaceStyle property
Set window appearance according to AppleInterfaceStyle default

(cherry picked from commit ffe5b5a504)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
fdb31267e2 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)
(cherry picked from commit fd2f9a1166)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
2c9df0527e 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)
(cherry picked from commit 9519ac1e6e)
2025-04-28 02:01:14 +02:00
Dmitry Batrak
83326a4281 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)
(cherry picked from commit 9f6b9baaa8)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
4bbf744fc0 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)
(cherry picked from commit 91b0084667)
2025-04-28 02:01:14 +02:00
Alexey Ushakov
68a8a952e3 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit e20819c77b)
2025-04-28 02:01:13 +02:00
Alexey Ushakov
341ad80980 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)
(cherry picked from commit baca50b430)
2025-04-28 02:01:13 +02:00
Alexey Ushakov
29c78f01d2 JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]
Removed unused code

(cherry picked from commit 6781f2646f)
2025-04-28 02:01:13 +02:00
Vitaly Provodin
f484e5560b exclude javax/swing/JTabbedPane/4624207/bug4624207.java failing on windows due to 8197552
(cherry picked from commit 3f8f2e8928)
2025-04-28 02:01:13 +02:00
Alexey Ushakov
749f787071 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)
(cherry picked from commit 916a2ab66f)
2025-04-28 02:01:13 +02:00
Alexey Ushakov
ab9c1cca9c JRE-353 Fedora 25 + XMonad rendering issues
Added support for Xmonad WM

(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
(cherry picked from commit 6851dc3441)
(cherry picked from commit e290bf8a0c)
2025-04-28 02:01:13 +02:00
Denis Konoplev
264276460d 8264143: Change uint8_t to unsigned char
(cherry picked from commit 9d01b82f64)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
3a877915ef JBR-3255 Applying 'incline' transform might change character's advance
(cherry picked from commit b37f7cfdb1)
(cherry picked from commit 2bd6c80390)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
820febacb9 JBR-3215 'deriveFont(float)' can return a different font (not just change the size)
(cherry picked from commit 8eafcaab24)
(cherry picked from commit 3f4065786d)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
11e5cd3e2c JBR-3157 Maximized window with custom decorations isn't focused on showing
(cherry picked from commit 62b04983f2)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit e4f68d461c)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
773b6d01d5 JBR-1752 Floating windows overlap modal dialogs
(cherry picked from commit 0161050077)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 8b2f0315d1)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
b145a55c3e JBR-3054 Focus is not returned to frame after closing of second-level popup on Windows
(cherry picked from commit 0c2b6e1c04)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 8c6ecf33f1)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
e0b6bc822f JBR-2702 Tooltips display through other applications on hover
(cherry picked from commits 11732c2469, 0ed7deabaa)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit cc952f4053)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
05d74e7cc0 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9c3043a557)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
02fad160ab 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)

(cherry picked from commit d7383ededb)
2025-04-28 02:01:13 +02:00
Dmitry Batrak
8aa4492697 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.

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 7855e07658)
2025-04-28 02:01:12 +02:00
Denis Konoplev
52ccf36474 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Add stdint include to fix x64 build

(cherry picked from commit 0dc04385a3)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
391e7f898f JBR-2498 Fix unexpected window raising under Mutter WM
(cherry picked from commit 73b45fb899)
(cherry picked from commit bc8dec8fc1)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
3737affce7 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

(cherry picked from commit add6c7e2c9)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
10c118ff24 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)
(cherry picked from commit f603f9e837)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
321961df2e JBR-2050 Issue with keycap emojis
port from JBR 11 to JBR 15 (cherry picked from commit ae91e1d7f1)

cherry picked from commit d3018a1837

(cherry picked from commit 17afbc7882)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
d4aa7c0149 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

(cherry picked from commit eccee72823)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
3e1a42bde6 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

(cherry picked from commit 0b3c19d1c4)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
1fe98c2cbd JBR-1248 Exception caused by broken font
port from JBR 11 to JBR 15 (cherry picked from commit 4efa7eab3e)

cherry picked from commit 6e1c514c6c

(cherry picked from commit 452fbf01a5)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
9959b59b39 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

(cherry picked from commit ca316d6bc0)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
5debd867f4 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

(cherry picked from commit c4426e7ff2)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
86fbaa0ac0 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

(cherry picked from commit a105a6e802)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
a1862ce047 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

(cherry picked from commit 7b9b29493d)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
d285818115 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

(cherry picked from commit 714ba79a84)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
e055f6adaf 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

(cherry picked from commit 86fa2a9c9b)
2025-04-28 02:01:12 +02:00
Dmitry Batrak
5995d2d7b1 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

(cherry picked from commit df8821d745)
2025-04-28 02:01:11 +02:00
Alexey Ushakov
205cd47289 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)
(cherry picked from commit 8b12cf08ee)
2025-04-28 02:01:11 +02:00
Alexey Ushakov
91e8fff575 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)
(cherry picked from commit c38c46744f)
2025-04-28 02:01:11 +02:00
Dmitry Batrak
dbce3602b5 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

(cherry picked from commit 52ebd26933)
2025-04-28 02:01:11 +02:00
Dmitry Batrak
9e46d1d68b JRE-11 Support text rendering via DirectWrite API on Windows
(cherry picked from commit 6605d4a525)
2025-04-28 02:01:11 +02:00
Dmitry Batrak
786bf2c1fc 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

(cherry picked from commit 12f2233f94)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
5e13491abd JRE-186 added regression test (Modal dialogs (Messages) shouldn't popup IDEA when another application is active)
(cherry picked from commit 236bd38d1b)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 45b52492a9)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
66844673e1 JRE-269 added regression (JLabel doesn't scale <code>text</code> HTML fragments.)
(cherry picked from commit 1f4ad38d23)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit b2f584b10a)
2025-04-28 02:01:11 +02:00
Alexey Ushakov
3ff5488a89 JRE-307 Wrong dpi reported on Wayland
(cherry picked from commit 15693661cc)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit ae4c4c017d)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
85fcf7b7bb JRE-392 added regression (Tip of the day is not hidden while another modal window is shown)
(cherry picked from commit c7b0ac686f)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit e8e81b7509)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
865f12dd68 JRE-394 added regression test (System getenv doesn't return env var set in JNI code)
(cherry picked from commit 3a7b3c67b0)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 7439fd115a)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
d209e7c17d JRE-401 added regression test (AppCode freezes during autocomplete and other operations)
(cherry picked from commit cb4453b1d1)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit dde86b1e6c)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
3b52df1ac1 JRE-422 added new regression test (AWTView deliverJavaMouseEvent leaks jEvent)
(cherry picked from commit 37dc13c603)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit a5e094dd07)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
c2fbd51161 JRE-430 added new regression test (Font fallback sometimes doesn't work in Swing text components)
(cherry picked from commit d04debc847)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 5a47f2a66c)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
f6d764edcd JRE-457 added new regression test (OGLTR_DisableGlyphModeState is slow)
(cherry picked from commit 3a43f4557f)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit f534b029e2)
2025-04-28 02:01:11 +02:00
Vitaly Provodin
c9fe7cd97c JRE-458 added new regression test (Insufficient and inconsistent permissions on some files in Linux build)
(cherry picked from commit 82adbe9c25)
(cherry picked from commit 15998f29c1)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
fd8ff26403 JRE-467 added new regression test (Wrong rendering of variation sequences)
(cherry picked from commit 0026095202)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 1d0be02755)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
0d580107eb JRE-468 added new regression test (Idea freezes on project loading)
(cherry picked from commit 1ce8c3ce82)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 0200338c3c)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
23d30a66fa JRE-501 added new regression test (Live resize is jerky for heavy java applications on Mac)
(cherry picked from commit c4a1277c1b)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 39bd5023d4)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
7636123c70 JRE-638 added new regression test (enable unlimited cryptographic policy by default)
(cherry picked from commit 4a14c6f15a)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 4643b6a354)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
22cca9ed4d JRE-705 added new regression test (Z-order of child windows is broken on Mac OS)
(cherry picked from commit 82cd480619)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 84c0444389)
2025-04-28 02:01:10 +02:00
Vitaly Provodin
8af60d0586 JRE-624 CThreading isAppKit() fails to detect main app thread if it was renamed
(cherry picked from commit c8f248a936)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 9aa93e5907)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
cadffd6d5e IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call

(cherry picked from commit cec93cf1fd)
(cherry picked from commit 0d37ce45c8)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
fea5b8c5e8 Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
(cherry picked from commit d922d7dfaf)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
9bc6f699e8 JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
(cherry picked from commit 3535055ecd)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
beaf6a2c8c JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode

(cherry picked from commit 5b523f049e)
(cherry picked from commit b65e0d7cb7)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
bfb77f6e3d 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)
(cherry picked from commit 67e3b05916)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
7529a16a93 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)
(cherry picked from commit a9ca78b413)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
1aa18acfff 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)
(cherry picked from commit ebaea7e146)
2025-04-28 02:01:10 +02:00
Alexey Ushakov
583a752fe7 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)
(cherry picked from commit dfbc7d7cc2)
2025-04-28 02:01:09 +02:00
Alexey Ushakov
d71660f063 JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
(cherry picked from commit 534d184416)
2025-04-28 02:01:09 +02:00
Vitaly Provodin
4913a9c642 exclude tests spontaneously creating windows during test execution
(cherry picked from commit bd278194b9)
2025-04-28 02:01:09 +02:00
Alexey Ushakov
9614cf0784 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)
(cherry picked from commit e5a81a300f)
2025-04-28 02:01:09 +02:00
Alexey Ushakov
2ec94f50e3 Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler

(cherry picked from commit 091d74a791)
(cherry picked from commit 7243173610)
2025-04-28 02:01:09 +02:00
Alexey Ushakov
915d6fdabe JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
(cherry picked from commit 3e57837094)
2025-04-28 02:01:09 +02:00
Anton Tarasov
220ca7f8a4 JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
(cherry picked from commit 8a4a781393)
2025-04-28 02:01:09 +02:00
Alexey Ushakov
1662b8c752 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)
(cherry picked from commit e420b10a4a)
2025-04-28 02:01:09 +02:00
Anton Tarasov
2610bad9dd JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
(cherry picked from commit d0b855df14)
2025-04-28 02:01:09 +02:00
Anton Tarasov
537c7b620b JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
(cherry picked from commit e68503823b)
2025-04-28 02:01:09 +02:00
Anton Tarasov
d22e9da1ed JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
(cherry picked from commit 99d8964d90)
2025-04-28 02:01:09 +02:00
Anton Tarasov
d8cd07500a JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader")
(cherry picked from commit eae772aca9)
(cherry picked from commit d944e5907a)
2025-04-28 02:01:09 +02:00
Anton Tarasov
8dc3aea665 JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
(cherry picked from commit 2ee33311dd)
2025-04-28 02:01:09 +02:00
Anton Tarasov
ba79037f6a JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
(cherry picked from commit 812158fb5b)
2025-04-28 02:01:09 +02:00
Anton Tarasov
a063d01b26 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
(cherry picked from commit 8366197c01)
2025-04-28 02:01:09 +02:00
Vyacheslav Moklev
83d40c7a23 JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state

(cherry picked from commit 5547701e2c)
(cherry picked from commit d5fa62913e)
2025-04-28 02:01:08 +02:00
Vyacheslav Moklev
bdd32530ba JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
(cherry picked from commit f78449b302)
2025-04-28 02:01:08 +02:00
Anton Tarasov
4259a18ea0 JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
(cherry picked from commit 7525d41946)
2025-04-28 02:01:08 +02:00
Anton Tarasov
b8dc4e186c JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
(cherry picked from commit bfa95fd66e)
2025-04-28 02:01:08 +02:00
Anton Tarasov
08b2741914 JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
(cherry picked from commit 3049d42f8c)
2025-04-28 02:01:08 +02:00
Anton Tarasov
c2704a53f0 JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
(cherry picked from commit 34032b2ced)
2025-04-28 02:01:08 +02:00
Anton Tarasov
3029dda6bc JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
(cherry picked from commit 0532e6c2aa)
2025-04-28 02:01:08 +02:00
Anton Tarasov
430082399c JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
(cherry picked from commit 88694a6148)
2025-04-28 02:01:08 +02:00
Anton Tarasov
7867fc6163 JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
(cherry picked from commit 3c3c2ffa90)
2025-04-28 02:01:08 +02:00
Anton Tarasov
e716f78b63 IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
(cherry picked from commit 2f4e023df0)
2025-04-28 02:01:08 +02:00
Anton Tarasov
615413ef33 JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
(cherry picked from commit 0bfcc28a7a)
2025-04-28 02:01:08 +02:00
Anton Tarasov
fe502cb4ad JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
(cherry picked from commit 05f934ea20)
2025-04-28 02:01:08 +02:00
Anton Tarasov
26dcd4257d JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
(cherry picked from commit 2cecea407d)
2025-04-28 02:01:08 +02:00
Anton Tarasov
b265a1fea9 JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit ec106a58a3)
2025-04-28 02:01:08 +02:00
Anton Tarasov
9671e1bce7 JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
(cherry picked from commit 1ebd6a000b)
2025-04-28 02:01:08 +02:00
Anton Tarasov
e4fc5a9bb2 JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
(cherry picked from commit 5138201282)
2025-04-28 02:01:07 +02:00
Anton Tarasov
4d6306b727 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
(cherry picked from commit 96b07c6c65)
2025-04-28 02:01:07 +02:00
Anton Tarasov
acf9d6e0bc JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
(cherry picked from commit 924b6a8bb7)
2025-04-28 02:01:07 +02:00
Anton Tarasov
6fa663690a fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
(cherry picked from commit 4fae6cb785)
2025-04-28 02:01:07 +02:00
Anton Tarasov
5a37e08634 JRE-981 IM workaround does not work anymore
forward port of 2d7c29b in JetBrains/jdk8u_jdk

(cherry picked from commit f3ccc53e02)
(cherry picked from commit 362eaede04)
2025-04-28 02:01:07 +02:00
Anton Tarasov
9ce4d7ce41 JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
(cherry picked from commit b86054beb6)
2025-04-28 02:01:07 +02:00
Anton Tarasov
6eefd0c2d9 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
(cherry picked from commit e07eaabe47)
2025-04-28 02:01:07 +02:00
Anton Tarasov
a23bf0c289 JRE-934 Diff viewer errors are not visible on HiDPI Linux
(cherry picked from commit 641a09dd52)
(cherry picked from commit c37bfae963)
2025-04-28 02:01:07 +02:00
Anton Tarasov
0f70d499f5 [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
(cherry picked from commit 57f7da037b)
2025-04-28 02:01:07 +02:00
Anton Tarasov
349909f135 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
(cherry picked from commit 60bb53f919)
2025-04-28 02:01:07 +02:00
Anton Tarasov
62f9dfd0bd Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
(cherry picked from commit d4f290861b)
2025-04-28 02:01:07 +02:00
Anton Tarasov
81e7ad9f24 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

(cherry picked from commit a249b989e1)
2025-04-28 02:01:07 +02:00
Anton Tarasov
d4b2a57a21 Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
(cherry picked from commit b2e47f1be3)
2025-04-28 02:01:07 +02:00
Anton Tarasov
2ecfb39243 JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
(cherry picked from commit 2bf5a7ca5c)
(cherry picked from commit 2caa4e3c14)
2025-04-28 02:01:07 +02:00
Anton Tarasov
aa6af43af0 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit ab6dee4c1fc453ad3cb5adb69fc243e550d184ae)

(cherry picked from commit 6ea1d45fd1)
(cherry picked from commit 556d3c5905)
2025-04-28 02:01:07 +02:00
Anton Tarasov
97e5998e59 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)
(cherry picked from commit b327688b89)
2025-04-28 02:01:06 +02:00
Anton Tarasov
49c0ebaf3b JRE-616 [linux] notify when dpi correction factor is applied to fonts
(cherry picked from commit f57d41f3118bfd773c99ce32d58cfae16931be6a)
(cherry picked from commit 6246abc72f)
(cherry picked from commit 717349c595)
2025-04-28 02:01:06 +02:00
Anton Tarasov
732a85c4c4 JRE-612 [windows] icon in frame title is not dpi-aware
(cherry picked from commit dec04385177a2abb677add909d3b94f94c62a14e)

(cherry picked from commit 38466cbab0)
(cherry picked from commit 81662b38f5)
2025-04-28 02:01:06 +02:00
Anton Tarasov
334196e014 JRE-604 [fps] frame's client area is one pixel beneath frame's borders
Adopted.

(cherry picked from commit ef2870ee38)
(cherry picked from commit 021c8d8b7b)
2025-04-28 02:01:06 +02:00
Anton Tarasov
18c5e0e90a JRE-596 [windows] popup positioning is broken with JRE-573
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit c5cc28d85d)
(cherry picked from commit 496c7d90d2)
2025-04-28 02:01:06 +02:00
Anton Tarasov
4d034ea1c1 JRE-577 Goland 18 displays out of memory
(cherry picked from commit 2daaf21e420d4af15d3b1bfeb3f896074bea1e61)

(cherry picked from commit 9ea2011948)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit b6b83ff41f)
2025-04-28 02:01:06 +02:00
Anton Tarasov
a6ab76ff83 JRE-573 [windows] window client area bounds mismatch
Apply only WmEraseBkgnd

(cherry picked from commit afa68f7ad6440303c6417be3f675b1c4644b6014)

(cherry picked from commit 0651b45e13)
(cherry picked from commit cfeb8ba435)
2025-04-28 02:01:06 +02:00
Anton Tarasov
a90a817d1a JRE-382 Three AWT-tests become hanging starting since master-875
(cherry picked from commit 7d492101db8fcbb3d285fd8e9669f74b0e0fce8f)
(cherry picked from commit b965f85c1b)
(cherry picked from commit 5b61c2f72a)
2025-04-28 02:01:06 +02:00
Anton Tarasov
17f2a89b4c JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)

(cherry picked from commit aa09fa2c85)
(cherry picked from commit 9b32557ad4)
2025-04-28 02:01:06 +02:00
Anton Tarasov
7716b7cf4c IDEA-172422 Popup at the wrong place on the second monitor (new hidpi)
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 11a0911d65)
(cherry picked from commit 4c8e3a54b3)
2025-04-28 02:01:06 +02:00
Anton Tarasov
cd487df1bc 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)
(cherry picked from commit f9ff12884e)
2025-04-28 02:01:06 +02:00
Anton Tarasov
f1e2705177 JRE-269 JLabel doesn't scale <code>text</code> HTML fragments.
(cherry picked from commit 9ef72b6c3a477e4225f9b98e30fa9190613520e4)
(cherry picked from commit c17bc728ee)
(cherry picked from commit 99735071ff)
2025-04-28 02:01:06 +02:00
Anton Tarasov
80bdc03e72 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)
(cherry picked from commit 3fbb520b07)
2025-04-28 02:01:06 +02:00
Anton Tarasov
36eb033eb8 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)

with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 5b987c7a94)
2025-04-28 02:01:06 +02:00
Anton Tarasov
2594cb5719 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)
(cherry picked from commit a279dd9e1c)
2025-04-28 02:01:06 +02:00
Anton Tarasov
ae53394f4d 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)
(cherry picked from commit 8ec82c766b)
2025-04-28 02:01:05 +02:00
Anton Tarasov
76160a77f5 JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
(cherry picked from commit 20edebdefa)
(cherry picked from commit 9ac3479114)
2025-04-28 02:01:05 +02:00
Anton Tarasov
ecc5b409c2 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)
(cherry picked from commit adc80251ad)
2025-04-28 02:01:05 +02:00
Anton Tarasov
29f1d4e5c1 IDEA-148854: AppCode crashes randomly every 15 mins or so
(cherry picked from commit 02f9a5fbb4924ff67c8a04c15e490acfcc750003)
(cherry picked from commit b8f4b4a9ed)
(cherry picked from commit b3961bee9d)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
b3203456e2 updated JTreg exclude list
(cherry picked from commit 418fb32e7f)
2025-04-28 02:01:05 +02:00
Alexey Ushakov
c286cb468b 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)
(cherry picked from commit 20487c7515)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
dc7315953f JBR-3398 remove the Experimental AOT and JIT Compiler (JEP 410)
(cherry picked from commit df63a5e6ad)
2025-04-28 02:01:05 +02:00
Alexey Ushakov
c3d55e724b JBR-2807: JDK15: update modules.list to resolve jbr build failure
removed nashorn modules

(cherry picked from commit c56a18eaf9)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
8d390a3971 JBR-2130 remove module jdk.pack
(cherry picked from commit 9acab72161)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
da0f487cf7 JBR-4810 add VERSION_PATCH into version number string
(cherry picked from commit 401a12b6b9)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
89b6f618fb JBR-4754 make root directory with the same name as archive name
(cherry picked from commit 97a17c9a36)
2025-04-28 02:01:05 +02:00
Nikita Provotorov
c61e3b8bce JBR-2074 Windows 10 AArch64 support: make the build scripts use custom build-jdk.
(cherry picked from commit 3d9869c702)
2025-04-28 02:01:05 +02:00
Nikita Provotorov
092927d0e3 JBR-2074 Windows 10 AArch64 support: build fixes.
(cherry picked from commit a873008261)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
f94a31a82f JBR-4567 replace comma with point in RenderPerf scores
(cherry picked from commit 5b91efd8c0)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
6dc69f9253 JBR-4520 set file permissions after signing
(cherry picked from commit 64259b866c)
2025-04-28 02:01:05 +02:00
Vitaly Provodin
f390b0328a JBR-4512 windows: include pdb-files into jbrsdk
(cherry picked from commit 606ad057d3)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
440d9c3732 JBR-4087 add version info into the name of root directory in JBR tar.gz-distributions
(cherry picked from commit 45eeae64ee)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
18c464b7f4 JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64
(cherry picked from commit b387b2213e)
2025-04-28 02:01:04 +02:00
Maxim Kartashev
291b3a21f9 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.

(cherry picked from commit c1da1fa0d6)
2025-04-28 02:01:04 +02:00
Vladislav Rassokhin
2155ac821f JBR-4451 Make bash scripts safer
(cherry picked from commit 4f048b9790)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
668bd0250c JBR-4487 enable Linux 32 builds
(cherry picked from commit 38dbda93d0)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
6d357751c5 JBR-4458 enable JBR17 windows 32 bit builds
(cherry picked from commit d3e65953e7)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
1661deb379 JBR-4272 generate and save debug symbols for JBR on macos/linux
(cherry picked from commit ef34e66dbf)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
db35719a9a JBR-4053 integrate DCEVM patches as usual commits
(cherry picked from commit 45672abcad)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
a69f690433 JBR-4370 create a test checking all JBR artifacts exist - add exit code
(cherry picked from commit 4dce25a5db)
2025-04-28 02:01:04 +02:00
Nikita Provotorov
002be91bd5 JBR-2074 Windows 10 AArch64 support: add build and pack scripts.
(cherry picked from commit e33c77a615)
2025-04-28 02:01:04 +02:00
Vladimir Kempik
a3e41d7102 JBR-4452: Update crash report message with JBR youtrack link
instead of bugreport.java.com

(cherry picked from commit c52914a035)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
d3f4359955 JBR-4437 add sources to JBRSDK distributions for Windows and Linux
(cherry picked from commit 0399594195)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
e4d52692bd JBR-4437 add sources to JBRSDK distributions
(cherry picked from commit a13a015597)
2025-04-28 02:01:04 +02:00
Anton Tarasov
8168b3161c JBR-3906 JBR for Linux aarch64 with JCEF is missing, is there any support plan?
(cherry picked from commit d47bc61b0e)
2025-04-28 02:01:04 +02:00
Vitaly Provodin
98c5ee9af3 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

(cherry picked from commit 924e7baadd)
2025-04-28 02:01:03 +02:00
Vladimir Kempik
be38b50b90 JBR-4283: Provide native JBR builds for alpine Linux-aarch64
(cherry picked from commit 925f02d3c5)
2025-04-28 02:01:03 +02:00
Vladimir Kempik
937a4a4c6d JBR-4242:Provide native JBR builds for alpine Linux
(cherry picked from commit c62e05e7ac)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
180f126a96 JBR-3917 Problem using windows certificate store (trustStoreType=Windows-ROOT not recognized)
(cherry picked from commit 65abc7b029)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
72f066bfdd JBR-4145 Make builds independent from build directory
Supplied the --disable-absolute-path-in-output option to the configure script
when building JBR.

(cherry picked from commit 5aa22bb901)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
1b53ffd473 JBR-4154 extract version info from sources & JBR-4099 make test-image on jbrsdk_jcef step
(cherry picked from commit f22a76949b)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
d9698f05cf JBR-4067 fix misprint with applying obsolete exclude_jcef_module.patch
(cherry picked from commit 106349f0fe)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
3f3a3990d9 JBR-3756 remove JNF from mac-aarch64 binaries
(cherry picked from commit 011d461c99)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
882ac9b69d JBR-4082 create JBR & JBRSDK installer packages
(cherry picked from commit a2e1fe0fa4)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
fbc8d20573 JBR-4061 Specify build user for the build
(cherry picked from commit 66713adb61)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
ca7003be22 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)
(cherry picked from commit 43f7ebddec)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
f4bfbfa609 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)
(cherry picked from commit 38ec30a58d)
2025-04-28 02:01:03 +02:00
Maxim Kartashev
77d2382247 JBR-4059 Create Dockerfile for building on AArch64 Linux
(cherry picked from commit 249614a30b)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
50bcd629ab JBR-3905 add incremental JBR building
(cherry picked from commit 54f28cde44)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
8003e45e5c JBR-3904 fix the image directory name of macos builds
(cherry picked from commit cf13b7c46e)
2025-04-28 02:01:03 +02:00
Vitaly Provodin
915b4eabdc configure BOOT_JDK to use JDK 17
(cherry picked from commit d815b82649)
2025-04-28 02:01:02 +02:00
Anton Tarasov
dea8858486 JBR-3655 jbr-dev build fails to find jcef modules on Windows
(cherry picked from commit f63fd1c8ec)
2025-04-28 02:01:02 +02:00
Maxim Kartashev
fb8eb76a0f JBR-3645 Tool to support keeping JBR in sync with OpenJDK
(cherry picked from commit 21c43f48cf)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
843cdb4911 JBR-3639 add jbrsdk tarballs for dcevm, jcef builds
(cherry picked from commit 0117d49591)
2025-04-28 02:01:02 +02:00
Anton Tarasov
ded99b9a15 JBR-3627 include jmods in jbrsdk bundle for jbr-dev
(cherry picked from commit f54c836685)
2025-04-28 02:01:02 +02:00
Vitaly.Provodin
24ce2df8a9 add dockerfile for x86
(cherry picked from commit 8fb2341ea8)
(cherry picked from commit cfbafa6c73)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
13fc720b47 JBR-1505 add jdk.jcmd module into JBR
(cherry picked from commit c40b9c8b9e)
(cherry picked from commit 5362ff99a2)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
a9c18566bc JBR-2957 notarize JBR and JBRSDK as APPL
(cherry picked from commit 0e7f9ce4ca)
(cherry picked from commit 3f4aee8c63)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
fd749b27b4 JBR-667 add shenandoahgc feature
(cherry picked from commit e15dad04)
(cherry picked from commit 0845bb7308)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
b7cc48dfd7 configure BOOT_JDK to use JDK 16
(cherry picked from commit 3e34330003)
2025-04-28 02:01:02 +02:00
Anton Tarasov
681336be0d Add build.gradle
(cherry picked from commit 9d01f893b6)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
cd443d84eb JBR-3401 enable macos-aarhc64 builds
(cherry picked from commit d2c40f66f8)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
dfae34977c JBR-3305 remove the option --disable-warnings-as-errors from configure
(cherry picked from commit 301fcb2df1)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
818171203e 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

(cherry picked from commit 6fa3e775ab)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
b6bf64c61d JBR-2912 add JBR 15 builds with DCEVM
(cherry picked from commit 95416c501a)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
b64857b649 JBR-2864 initial commit of DCEVM patches reworked for 15
(cherry picked from commit a592f63537)
2025-04-28 02:01:02 +02:00
Vitaly Provodin
dd550df047 JBR-2812 remove --with-import-modules from configure for aarch64
(cherry picked from commit 49fa98391a)
2025-04-28 02:01:01 +02:00
Anton Tarasov
3eb668bfb0 JBR-2812 bundle jcef in jmod format instead of modular-sdk
Build test-image with non-jcef build target

(cherry picked from commit 9edee0e476)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
c6fdb03866 JBR-2787 fix copying jcef files into jbr/jbrsdk binaries
(cherry picked from commit a4269d0907)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
da7a709724 JBR-2758 refactor building scripts to apply patches adding required modules instead of excluding
Add jogl and gluegen modules to support jcef osr mode

(cherry picked from commit e2cf692ec5)
2025-04-28 02:01:01 +02:00
Anton Tarasov
2a2365aaab JBR-2016 add jcef module and export packages to it
(cherry picked from commit cf997f71c6)
(cherry picked from commit cad125e01d)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
9f766c0c9e JBR-2473 modify building scripts to add dcevm clauses, add git config to docker image
(cherry picked from commit 2620c62848)
(cherry picked from commit d9797240fc)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
59d1905b49 JBR-2395 eliminate JavaFX from JBR
(cherry picked from commit cd7e539561)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
f20c9b5d4c JBR-2409 fix prameters for configure
(cherry picked from commit f309357fba)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
33cf445e01 JDK14: exclude dependencies on jcef in x86, fastdebug builds
(cherry picked from commit 14e98eaf94)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
0cc31f0cb7 JBR-2396 fix CONF names
(cherry picked from commit 34cd854326)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
d0832cca41 JBR-2394 replace --disable-debug-symbols with --with-native-debug-symbols=none
(cherry picked from commit 79ff0cb7b3)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
5547a73083 add exec permitions to configure
(cherry picked from commit bf2e441e09)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
b0b1b06d86 split checkout before building JBR+JFX or JBR+JCEF on two separate commands
(cherry picked from commit b7030bae8e)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
ee70fd685c change BOOT_JDK, fix target names
(cherry picked from commit 6a778fa6ea)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
6115e97762 JBR-2291 add vendor info into bundles
(cherry picked from commit 026fcaaf2b)
2025-04-28 02:01:01 +02:00
Vitaly Provodin
0378d06314 JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit 6f45378ed9)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
af8f730983 JBR-2320 add jdk.attach module into JBR
(cherry picked from commit a1884561bd)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
15b3cf75d0 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches
(cherry picked from commit d5fef466f4)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
147c776dc0 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86
(cherry picked from commit 211b306949)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
ed73145a2f JBR-1643 fix intermittent fialures of Windows builds at make/Init.gmk:304
combine images and test-image into one make invocation

(cherry picked from commit ad32f648b5)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
3aad95abef JBR-2181 create two separate JBR bundles with JFX and JFX+JCEF
(cherry picked from commit a26a1dcef0)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
7c9fff2d2e JBR-2148 modify signapp&build scripts to match to the new layout
(cherry picked from commit 7cdd4cbf4a)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
6f1c79a97a JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file
(cherry picked from commit 47ac942dfb)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
449576cd46 JBR-1821 notarize JBR bundles as a standalone app
(cherry picked from commit 96e733ed79)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
30b3102a36 JBR-2162 move building scripts from TC to JBR repo
(cherry picked from commit 6f4774c0d4)
2025-04-28 02:01:00 +02:00
Anton Tarasov
fcee699b22 JBR-2016 add jcef module and export some sun.* packages to it
(cherry picked from commit 193da0eff7)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
b684aedfc7 JBR-2014 add jdk.hotspot.agent module to jbr
(cherry picked from commit b352fa1b54)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
9bdec71e50 JBR-1286 add jdk.compiler into JBR
(cherry picked from commit 245db892cd)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
ef662b8f0f JBR-1199 add JBR modules list for jlink
(cherry picked from commit ff8dc6567f)
2025-04-28 02:01:00 +02:00
Vitaly Provodin
59b667dd33 Update docker script to create jdk15 build env
(cherry picked from commit cd5b1b94e7)
2025-04-28 02:00:59 +02:00
Vitaly Provodin
bda8d07052 JBR-3045 add pressing ESC to close the dialog after test completion
(cherry picked from commit 44d8b28b0b)
(cherry picked from commit c98106b4b0)
2025-04-28 02:00:59 +02:00
Vitaly Provodin
8e2fe3f3da JBR-3040 press the button END at the beggining in order to avoid text selection
(cherry picked from commit 1c2bf33db2)
(cherry picked from commit aeab9ef42c)
2025-04-28 02:00:59 +02:00
Vitaly.Provodin
b7029bef4a updated JTreg exclude list
(cherry picked from commit 6d1cee2181)
2025-04-28 02:00:59 +02:00
Kelvin Nilsen
cd6f0d19d5 8355336: GenShen: Resume Old GC even with back-to-back Young GC triggers
Reviewed-by: wkemper
2025-04-27 20:10:20 +00:00
Tejesh R
9c86ac2723 8354495: Open source several AWT DataTransfer tests
Reviewed-by: azvegint
2025-04-27 11:44:40 +00:00
jeremy
04bb5dcf57 8355203: [macos] AquaButtonUI and AquaRootPaneUI repaint default button unnecessarily
Reviewed-by: serb, prr
2025-04-27 11:24:29 +00:00
Ioi Lam
4e7b513372 8351333: [ubsan] CDSMapLogger::log_region applying non-zero offset to null pointer
Reviewed-by: ccheung
2025-04-27 06:05:50 +00:00
Yasumasa Suenaga
898d479800 8355077: Compiler error at splashscreen_gif.c due to unterminated string initialization
Reviewed-by: prr
2025-04-27 02:29:44 +00:00
Bradford Wetmore
21b0f5ea15 8355637: SSLSessionImpl's "serialization" list documentation is incorrectly ordered
Reviewed-by: ascarpino
2025-04-26 05:46:05 +00:00
Jatin Bhateja
3b3a055d76 8342676: Unsigned Vector Min / Max transforms
Reviewed-by: sviswanathan, epeter
2025-04-26 03:31:21 +00:00
Anjian-Wen
91a9043f9d 8355562: RISC-V: Cleanup names of vector-scalar instructions in riscv_v.ad
Reviewed-by: fyang, fjiang
2025-04-26 02:58:51 +00:00
Vladimir Ivanov
e57fd71049 8353786: Migrate Vector API math library support to FFM API
Reviewed-by: jbhateja, kvn, psandoz, xgong, jvernee, mli
2025-04-25 21:22:37 +00:00
Ioi Lam
5db62abb42 8315719: Adapt AOTClassLinking test case for dynamic CDS archive
Reviewed-by: ccheung
2025-04-25 20:58:40 +00:00
Manukumar V S
2785570f56 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests
Reviewed-by: honkar, aivanov, prr
2025-04-25 20:12:45 +00:00
Jiangli Zhou
4b88029988 8355439: Some hotspot/jtreg/serviceability/sa/* tests fail on static JDK due to explicit checks for shared libraries in process memory map
Reviewed-by: sspitsyn, cjplummer
2025-04-25 17:11:54 +00:00
Brent Christian
d8f012ea2a 8305186: Reference.waitForReferenceProcessing should be more accessible to tests
Reviewed-by: kbarrett
2025-04-25 17:06:26 +00:00
Chen Liang
ac05002cbe 8354877: DirectClassBuilder default flags should include ACC_SUPER
Reviewed-by: asotona
2025-04-25 16:34:52 +00:00
Stuart Marks
15f42e348d 8350703: Add standard system property stdin.encoding
Reviewed-by: naoto, alanb
2025-04-25 16:32:42 +00:00
Chris Plummer
77f5a24648 8355214: nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001.java should use JDIBase superclass
Reviewed-by: lmesnik, sspitsyn
2025-04-25 16:30:26 +00:00
Calvin Cheung
597bcc6953 8352003: Support --add-opens with -XX:+AOTClassLinking
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: iklam, alanb, matsaave
2025-04-25 16:12:35 +00:00
Anjian-Wen
5c067232bf 8355074: RISC-V: C2: Support Vector-Scalar version of Zvbb Vector And-Not instruction
Reviewed-by: fjiang, fyang
2025-04-25 12:50:12 +00:00
Anton Artemov
a2f9c24844 8354327: Rewrite runtime/LoadClass/LoadClassNegative.java
Reviewed-by: coleenp, lmesnik
2025-04-25 11:31:10 +00:00
Eirik Bjørsnøs
e6cea4025b 8355475: UNCTest should use an existing UNC path
Reviewed-by: dfuchs
2025-04-25 11:17:15 +00:00
Nizar Benalla
f66b9ba7bc 8346785: Potential infinite loop in JavadocTokenizer.ensures
Reviewed-by: liach, hannesw
2025-04-25 10:08:37 +00:00
Severin Gehwolf
89f9268ed7 8355524: Only every second line in upgradeable files is being used
Reviewed-by: shade, alanb
2025-04-25 08:20:51 +00:00
Evgeny Nikitin
b41e0b1749 8355387: [jittester] Disable downcasts by default
Reviewed-by: thartmann, chagedorn
2025-04-25 07:20:25 +00:00
Aleksey Shipilev
dbd2fb0e5a 8355473: Clean up x86 globals/VM_Version after 32-bit x86 removal
Reviewed-by: chagedorn, coleenp, jwaters
2025-04-25 07:11:24 +00:00
Matthias Baesken
70030bac04 8354803: ALL_64_BITS is the same across platforms
Reviewed-by: stefank, lucy
2025-04-25 07:09:37 +00:00
Tobias Hartmann
f27fc010f6 8355576: Problem list compiler/c2/TestVerifyConstraintCasts.java until JDK-8355574 is fixed
Reviewed-by: chagedorn
2025-04-25 07:09:10 +00:00
Quan Anh Mai
ed604038ff 8346836: C2: Verify CastII/CastLL bounds at runtime
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, epeter
2025-04-25 02:09:58 +00:00
Xiaolong Peng
8a39f07d07 8354431: gc/logging/TestGCId fails on Shenandoah
Reviewed-by: wkemper, phh
2025-04-24 23:23:58 +00:00
David Beaumont
e01e33d19b 8354424: java/util/logging/LoggingDeadlock5.java fails intermittently in tier6
Reviewed-by: dfuchs, smarks
2025-04-24 19:18:13 +00:00
Chris Plummer
370e6113de 8355221: Get rid of unnecessary override of JDIBase.breakpointForCommunication in nsk/jdi tests
Reviewed-by: lmesnik, amenkov
2025-04-24 17:19:15 +00:00
Chris Plummer
29f10700e7 8355211: nsk/jdi/EventRequest/disable/disable001.java should use JDIBase superclass
Reviewed-by: lmesnik, amenkov
2025-04-24 17:17:54 +00:00
Hamlin Li
862797f0c1 8355293: [TEST] RISC-V: enable more ir tests
Reviewed-by: fyang, luhenry
2025-04-24 16:23:12 +00:00
Hamlin Li
3270a7d359 8355476: RISC-V: using zext_w directly in vector_update_crc32 could trigger assert
Reviewed-by: fyang, fjiang
2025-04-24 16:21:44 +00:00
Gennadiy Krivoshein
8e51ff70d8 8315113: Print request Chromaticity.MONOCHROME attribute does not work on macOS
Reviewed-by: prr, psadhukhan
2025-04-24 16:06:29 +00:00
Mikael Vidstedt
751e0392bc 8355235: Clean out old versions from Tools.gmk
Reviewed-by: erikj
2025-04-24 15:55:05 +00:00
Aleksey Shipilev
0edd018a48 8355432: Remove CompileTask from SA
Reviewed-by: cjplummer, lmesnik
2025-04-24 14:48:00 +00:00
Viktor Klang
356c4d9ca9 8355369: Remove setAccessible usage for setting final fields in java.util.concurrent
Reviewed-by: pminborg, dl, rgiulietti, alanb
2025-04-24 14:14:24 +00:00
Joel Sikström
cf96b107d5 8354362: Use automatic indentation in CollectedHeap printing
Reviewed-by: stefank, lkorinth, stuefe
2025-04-24 14:14:10 +00:00
Marc Chevalier
0537c6927d 8355492: MissedOptCastII is missing UnlockDiagnosticVMOptions flag
Reviewed-by: rcastanedalo, chagedorn, thartmann
2025-04-24 13:39:43 +00:00
Oleksii Sylichenko
34c4d895ca 8353190: Use "/native" Run Option for TestAvailableProcessors Execution
Reviewed-by: dholmes
2025-04-24 12:50:03 +00:00
Sean Coffey
1ec64811a3 8350582: Correct the parsing of the ssl value in javax.net.debug
Reviewed-by: wetmore, hchao
2025-04-24 12:01:34 +00:00
Kim Barrett
d3f31b0d8e 8347719: [REDO] Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Reviewed-by: tschatzl, jsjolen
2025-04-24 11:43:53 +00:00
Marc Chevalier
6254046f50 8320909: C2: Adapt IGVN's enqueuing logic to match idealization of AndNode with LShift operand
Reviewed-by: epeter, thartmann
2025-04-24 10:27:50 +00:00
Saranya Natarajan
74a2c831a2 8352620: C2: rename MemNode::memory_type() to MemNode::value_basic_type()
Reviewed-by: rcastanedalo, thartmann
2025-04-24 09:33:15 +00:00
Roland Westrelin
be6e4406d8 8349139: C2: Div looses dependency on condition that guarantees divisor not zero in counted loop
Reviewed-by: chagedorn, epeter, qamai
2025-04-24 09:10:43 +00:00
Manuel Hässig
290d24d16a 8355400: Better git detection in update_copyright_year.sh
Reviewed-by: erikj, chagedorn
2025-04-24 08:36:35 +00:00
Manuel Hässig
84e9264e76 8346552: C2: Add IR tests to check that Predicate cloning in Loop Unswitching works as expected
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, epeter
2025-04-24 08:29:08 +00:00
Stefan Karlsson
953eef4f11 8347337: ZGC: String dedups short-lived strings
Reviewed-by: kbarrett, aboldtch, eosterlund
2025-04-24 07:20:25 +00:00
Jan Lahoda
7bfbb9a515 8348928: Check for case label validity are misbehaving when binding patterns with unnamed bindings are present
Reviewed-by: asotona, abimpoudis, vromero
2025-04-24 06:58:37 +00:00
Aleksey Shipilev
188c236071 8353558: x86: Use better instructions for ICache sync when available
Reviewed-by: kvn, adinn
2025-04-24 06:58:21 +00:00
Vladimir Ivanov
428334b616 8353216: Improve VerifyMethodHandles for method handle linkers
Reviewed-by: dlong
2025-04-24 01:09:17 +00:00
Ioi Lam
bbec3c0730 8354558: -XX:AOTMode=record crashes with boot loader package-info class
Reviewed-by: ccheung, matsaave
2025-04-24 00:00:36 +00:00
Alexander Zvegintsev
b10a304b2b 8354553: Open source several clipboard tests batch0
Reviewed-by: serb, prr
2025-04-23 23:03:22 +00:00
William Kemper
ac17449bdb 8353596: GenShen: Test TestClone.java#generational-no-coops intermittent timed out
Reviewed-by: kdnilsen, ysr
2025-04-23 22:58:47 +00:00
Alexander Zvegintsev
4873eec06f 8354554: Open source several clipboard tests batch1
Reviewed-by: serb, prr
2025-04-23 22:57:42 +00:00
Harshitha Onkar
3b7f43f95e 8355429: Open source ProgressMonitor test
Reviewed-by: azvegint
2025-04-23 22:41:31 +00:00
Alexey Semenyuk
669d4d6bfa 8355328: Improve negative tests coverage for jpackage signing
Reviewed-by: almatvee
2025-04-23 22:29:59 +00:00
Chen Liang
bd1c53e960 8354899: Reduce overhead associated with type switches
Reviewed-by: asotona
2025-04-23 21:40:50 +00:00
Chen Liang
ffe6a4f9e1 8355335: Avoid pattern matching switches in core ClassFile API
Reviewed-by: asotona
2025-04-23 21:39:55 +00:00
Ioi Lam
88e0b00a46 8353298: AOT cache creation asserts with _array_klasses in an unregistered InstanceKlass
Reviewed-by: ccheung, kvn
2025-04-23 21:25:30 +00:00
Ioi Lam
adcaf01b4f 8355237: Upstream AOT test cases from Leyden repo to mainline
Reviewed-by: ccheung, kvn, lmesnik, shade
2025-04-23 20:19:02 +00:00
Alexey Ivanov
bf8a881f02 8352733: Improve RotFontBoundsTest test
Use PassFailJFrame framework for creating manual test UI.

Provide check boxes for each degree of rotation which allow
hiding and showing the specified rotation.
Provide 'Select All' and 'Clear All' buttons.
Display Java version at the bottom of the test.

Reviewed-by: prr, azvegint, abhiscxk, honkar
2025-04-23 18:47:11 +00:00
Sergey Kuksenko
35716647b5 8353478: Update crypto microbenchmarks to cover ML-DSA, ML-KEM, and HSS algorithms
Reviewed-by: ecaspole
2025-04-23 17:03:37 +00:00
Justin Lu
ac41bc31c9 8354343: Hardening of Currency tests for not yet defined future ISO 4217 currency
Reviewed-by: naoto
2025-04-23 16:52:42 +00:00
Sangheon Kim
8bd5645218 8346568: G1: Other time can be negative
Reviewed-by: tschatzl, iwalulya
2025-04-23 16:37:07 +00:00
Leonid Mesnik
2ec61f0f34 8353214: Add testing with --enable-preview
Reviewed-by: erikj
2025-04-23 16:13:23 +00:00
Naoto Sato
f097aa90c9 8355215: Add @spec tags to Emoji related methods
Reviewed-by: joehw, iris, jlu
2025-04-23 16:07:36 +00:00
Leonid Mesnik
1a72febc97 8355228: Improve runtime/CompressedOops/CompressedClassPointersEncodingScheme.java to support JDK build with -XX:+UseCompactObjectHeaders
Reviewed-by: syan, stuefe, coleenp
2025-04-23 16:04:40 +00:00
Phil Race
32a597b36f 8355333: Some Problem list entries point to non-existent / wrong files
Reviewed-by: serb
2025-04-23 15:44:56 +00:00
Jiangli Zhou
12c3a231e6 8354898: jdk/internal/loader/NativeLibraries/Main.java fails on static JDK
Reviewed-by: jpai
2025-04-23 14:55:15 +00:00
Jaikiran Pai
6befc18974 8355278: Improve debuggability of com/sun/jndi/ldap/LdapPoolTimeoutTest.java test
Reviewed-by: aefimov
2025-04-23 14:23:38 +00:00
Stefan Karlsson
023f30bcaa 8355394: ZGC: Windows compile error in ZUtils
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, tschatzl
2025-04-23 14:10:04 +00:00
Stefan Karlsson
e8a1a6462d 8355401: Remove unused HWperKB
Reviewed-by: ayang, tschatzl
2025-04-23 14:08:20 +00:00
Jan Lahoda
3c7f78c066 8341833: incomplete snippet from loaded files from command line is ignored
Reviewed-by: liach, asotona
2025-04-23 13:26:22 +00:00
Archie Cobbs
a372937d84 8350983: JShell LocalExecutionControl only needs stopCheck() on backward branches
Reviewed-by: jlahoda, liach, asotona
2025-04-23 13:22:57 +00:00
Shaojin Wen
c873837da6 8355300: Add final to BitSieve
Reviewed-by: liach, pminborg
2025-04-23 13:01:42 +00:00
Robert Toyonaga
44c5aca54d 8341491: Reserve and commit memory operations should be protected by NMT lock
Reviewed-by: stuefe, stefank
2025-04-23 11:53:09 +00:00
Erik Gahlin
ef0cd1823d 8354949: JFR: Split up the EventInstrumentation class
Reviewed-by: mgronlun, liach
2025-04-23 11:48:48 +00:00
Albert Mingkun Yang
82c249446f 8354228: Parallel: Set correct minimum of InitialSurvivorRatio
Reviewed-by: tschatzl, gli
2025-04-23 10:40:45 +00:00
Stefan Karlsson
e76f20301c 8354309: Sort GC includes
Reviewed-by: eosterlund, iwalulya, kbarrett
2025-04-23 10:13:26 +00:00
Tobias Hartmann
c2e90bcc80 8355363: [BACKOUT] 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
Reviewed-by: chagedorn
2025-04-23 08:21:07 +00:00
Fredrik Bredberg
263983d0fb 8298733: Reconsider monitors_on_stack assert
Reviewed-by: pchilanomate, coleenp
2025-04-23 08:04:57 +00:00
Andrey Turbanov
27faf45422 8354826: Make ResolverConfigurationImpl.lock field final
Reviewed-by: dfuchs, jpai
2025-04-23 06:22:30 +00:00
Daniel Jeliński
9a2b425b13 8354920: SA core file support on Linux only prints error messages when debug logging is enabled
Reviewed-by: cjplummer, kevinw
2025-04-23 05:17:41 +00:00
Prasanta Sadhukhan
8c89fb9535 8355179: Reinstate javax/swing/JScrollBar/4865918/bug4865918.java headful and macos run
Reviewed-by: abhiscxk, serb
2025-04-23 03:40:26 +00:00
Shaojin Wen
bc518a6cbb 8355240: Remove unused Import in StringUTF16
Reviewed-by: rgiulietti
2025-04-23 02:32:36 +00:00
Fei Yang
a8c6ff161c 8355239: RISC-V: Do not support subword scatter store
Reviewed-by: mli, fjiang
2025-04-23 02:10:25 +00:00
Jatin Bhateja
4c373703d9 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
Reviewed-by: aboldtch, sviswanathan
2025-04-23 02:04:46 +00:00
Damon Nguyen
5392488232 8355332: Fix failing semi-manual test EDT issue
Reviewed-by: azvegint
2025-04-23 00:13:09 +00:00
Chris Plummer
b7e8952ad6 8355071: Fix nsk/jdi test to not require lookup of main thread in order to set the breakpoint used for communication
Reviewed-by: lmesnik, amenkov
2025-04-22 23:21:26 +00:00
Damon Nguyen
cc9148ddef 8354695: Open source several swing tests batch7
Reviewed-by: kizune, achung
2025-04-22 20:27:17 +00:00
Alexander Zuev
1b8f760d1b 8354928: Clean up and open source some miscellaneous AWT tests
Reviewed-by: prr, dnguyen
2025-04-22 20:17:01 +00:00
Eric Caspole
239760ac09 8355233: Add a DMB related benchmark
Reviewed-by: kvn
2025-04-22 19:59:41 +00:00
Alisen Chung
d61765f64d 8353488: Open some JComboBox bugs 3
Reviewed-by: kizune
2025-04-22 17:56:04 +00:00
Harshitha Onkar
486a66469b 8353486: Open source Swing Tests - Set 4
Reviewed-by: azvegint, dnguyen, tr
2025-04-22 17:49:52 +00:00
Alexander Zvegintsev
f98af0ad61 8354701: Open source few JToolTip tests
Reviewed-by: honkar
2025-04-22 17:31:31 +00:00
Ioi Lam
e020752ea4 8354484: SIGSEGV when supertype of an AOT-cached class is excluded
Reviewed-by: ccheung, shade
2025-04-22 16:55:11 +00:00
Jamil Nimeh
594b26516e 8350126: Regression ~3% on Crypto-ChaCha20Poly1305.encrypt for MacOSX aarch64
Reviewed-by: aph
2025-04-22 16:49:29 +00:00
Boris Ulasevich
d783a94098 8332368: ubsan aarch64: immediate_aarch64.cpp:298:31: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Reviewed-by: adinn
2025-04-22 16:46:44 +00:00
Tejesh R
6a31061339 8354248: Open source several AWT GridBagLayout and List tests
Reviewed-by: abhiscxk
2025-04-22 16:11:55 +00:00
Alisen Chung
1889dacb19 8353007: Open some JComboBox bugs 2
Reviewed-by: kizune, honkar
2025-04-22 16:01:34 +00:00
Sergey Bylokhov
477da161e6 8352638: Enhance code consistency: java.desktop/windows
Reviewed-by: prr
2025-04-22 15:50:58 +00:00
Alexander Zvegintsev
a4c5ed8144 8354561: Open source several swing tests batch0
Reviewed-by: prr, psadhukhan
2025-04-22 15:46:04 +00:00
Alisen Chung
da16c83973 8354466: Open some misc Swing bugs 9
Reviewed-by: kizune, honkar
2025-04-22 15:26:59 +00:00
Per Minborg
072b8273a4 8354300: Mark String.hash field @Stable
Reviewed-by: liach, shade, vlivanov
2025-04-22 15:10:26 +00:00
Martin Balao
5264d80bea 8350661: PKCS11 HKDF throws ProviderException when requesting a 31-byte AES key
Reviewed-by: fferrari, valeriep, djelinski
2025-04-22 14:37:10 +00:00
Stefan Karlsson
f2587d9bd2 8354938: ZGC: Disable UseNUMA when ZFakeNUMA is used
Reviewed-by: aboldtch, jsikstro
2025-04-22 11:48:46 +00:00
Stefan Karlsson
0f1c448ca1 8354922: ZGC: Use MAP_FIXED_NOREPLACE when reserving memory
Reviewed-by: aboldtch, eosterlund
2025-04-22 11:23:40 +00:00
Alisen Chung
9eeb86d972 8354341: Open some JTable bugs 7
Reviewed-by: kizune, serb
2025-04-22 08:58:42 +00:00
Ivan Šipka
7cd084cf35 8350442: Update copyright
Reviewed-by: naoto, jlu
2025-04-22 08:46:52 +00:00
Hamlin Li
bcc33d5ef3 8352504: RISC-V: implement and enable CMoveI/L
8346786: RISC-V: Reconsider ConditionalMoveLimit when adding conditional move

Reviewed-by: fyang, fjiang
2025-04-22 08:32:03 +00:00
Stefan Johansson
50358d1ca4 8354929: ZGC: Update collection stats while holding page allocator lock
Reviewed-by: stefank, tschatzl, aboldtch
2025-04-22 08:00:01 +00:00
Tejesh R
367bcc5df8 8353445: Open source several AWT Menu tests - Batch 1
Reviewed-by: abhiscxk, prr
2025-04-22 07:59:45 +00:00
Alisen Chung
7eab2d9f91 8354095: Open some JTable bugs 5
Reviewed-by: kizune, honkar
2025-04-22 07:58:30 +00:00
Alisen Chung
0b2a2f38d0 8353685: Open some JComboBox bugs 4
Reviewed-by: honkar, kizune
2025-04-22 07:45:56 +00:00
Tejesh R
17b080b2c9 8353446: Open source several AWT Menu tests - Batch 2
Reviewed-by: abhiscxk
2025-04-22 07:44:44 +00:00
Doug Simon
2f7806ffe5 8355034: [JVMCI] assert(static_cast<int>(_jvmci_data_size) == align_up(compiler->is_jvmci() ? jvmci_data->size() : 0, oopSize)) failed: failed: 104 != 16777320
Reviewed-by: never, yzheng, cslucas
2025-04-22 07:07:31 +00:00
Alisen Chung
a55ccd267c 8352905: Open some JComboBox bugs 1
Reviewed-by: honkar, psadhukhan
2025-04-22 07:04:26 +00:00
Abhishek Kumar
33bdc807b1 8355241: Move NativeDialogToFrontBackTest.java PL test to manual category
Reviewed-by: psadhukhan
2025-04-22 06:51:18 +00:00
Tejesh R
d1d7d2569c 8353957: Open source several AWT ScrollPane tests - Batch 1
Reviewed-by: psadhukhan
2025-04-22 06:23:24 +00:00
Tejesh R
e2cb64674f 8343977: Convert java/awt/TextArea/TextAreaCursorTest/HoveringAndDraggingTest to main
Reviewed-by: prr, achung
2025-04-22 05:56:07 +00:00
Chen Liang
0be3f163ed 8341608: jdeps in JDK 23 crashes when parsing signatures while jdeps in JDK 22 works fine
Reviewed-by: jpai, henryjen
2025-04-22 03:29:59 +00:00
Tejesh R
f880fa91dc 8352793: Open source several AWT TextComponent tests - Batch 1
Reviewed-by: prr, serb
2025-04-22 03:09:45 +00:00
Alisen Chung
ade67df0f3 8354233: Open some JTable bugs 6
Reviewed-by: kizune
2025-04-22 01:04:48 +00:00
Alisen Chung
7a72f0fac9 8354465: Open some JTable bugs 8
Reviewed-by: serb, kizune
2025-04-22 01:03:45 +00:00
Alexey Semenyuk
47f78a7529 8354990: Improve negative tests coverage for jpackage signing
8354989: Bug in MacCertificate class

Reviewed-by: almatvee
2025-04-22 00:27:25 +00:00
Harshitha Onkar
9a0cff692d 8353942: Open source Swing Tests - Set 5
Reviewed-by: serb, dnguyen
2025-04-21 23:11:03 +00:00
Harshitha Onkar
f7155183d7 8353011: Open source Swing JButton tests - Set 1
Reviewed-by: serb
2025-04-21 22:35:17 +00:00
Justin Lu
1526dd81d9 8354344: Test behavior after cut-over for future ISO 4217 currency
Reviewed-by: naoto
2025-04-21 20:24:20 +00:00
Alexander Zuev
8270cd0ad2 8353470: Clean up and open source couple AWT Graphics related tests (Part 2)
Reviewed-by: serb
2025-04-21 20:23:15 +00:00
Alexander Zuev
a7128d86ea 8354653: Clean up and open source KeyEvent related tests (Part 4)
Reviewed-by: serb
2025-04-21 20:19:45 +00:00
Joe Wang
684d3b336e 8354774: DocumentBuilderFactory getAttribute throws NPE
Reviewed-by: naoto, lancea
2025-04-21 18:25:59 +00:00
Roman Kennke
ecb54a05c6 8354523: runtime/Monitor/SyncOnValueBasedClassTest.java triggers SIGSEGV
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: coleenp, aboldtch
2025-04-21 17:43:09 +00:00
Alexander Zuev
cd2d49f711 8354472: Clean up and open source KeyEvent related tests (Part 3)
Reviewed-by: honkar
2025-04-21 17:37:58 +00:00
Emanuel Peter
4dd64b4971 8354477: C2 SuperWord: make use of memory edges more explicit
Reviewed-by: kvn, roland
2025-04-21 11:41:45 +00:00
Liming Liu
128f2d1cad 8354572: Turn off AlwaysMergeDMB for Ampere CPU by default
Reviewed-by: shade
2025-04-19 10:02:13 +00:00
Sergey Bylokhov
c7c77eb6aa 8354077: Get rid of offscreenSharingEnabled windows flag
Reviewed-by: prr
2025-04-19 07:48:54 +00:00
Alexey Bakhtin
4f58af0a8d 8259540: MissingResourceException for key cvc-complex-type.2.4.d.1
Reviewed-by: joehw
2025-04-19 00:30:37 +00:00
Harshitha Onkar
bd73127d74 8354532: Open source JFileChooser Tests - Set 7
Reviewed-by: prr
2025-04-18 23:29:53 +00:00
Harshitha Onkar
76dec47f00 8354340: Open source Swing Tests - Set 6
Reviewed-by: azvegint, achung
2025-04-18 21:35:17 +00:00
Damon Nguyen
38f9b3a973 8353748: Open source several swing tests batch6
Reviewed-by: kizune
2025-04-18 21:11:41 +00:00
Harshitha Onkar
bf63f9ffa5 8353319: Open source Swing tests - Set 3
Reviewed-by: abhiscxk, dnguyen
2025-04-18 20:58:21 +00:00
Harshitha Onkar
abbf1a02cb 8355051: Problemlist java/awt/Graphics2D/CopyAreaOOB.java on macosx-aarch64
Reviewed-by: prr, aivanov
2025-04-18 19:38:09 +00:00
Abhishek Kumar
f8f1be3de5 8353552: Opensource Several Font related tests - Batch 3
8355048: ProblemList TestGlyphVectorLayout.java on all platforms

Reviewed-by: serb, aivanov
2025-04-18 18:50:08 +00:00
Damon Nguyen
924638c471 8353661: Open source several swing tests batch5
Reviewed-by: jdv
2025-04-18 17:08:46 +00:00
Damon Nguyen
a551cc9294 8353293: Open source several swing tests batch4
Reviewed-by: serb
2025-04-18 17:07:16 +00:00
Phil Race
bb08a70bd8 8355002: Clean up some mentions of "applet" in tests
Reviewed-by: serb
2025-04-18 17:01:42 +00:00
Alexey Semenyuk
22e8a97a1c 8354988: Separate stderr and stdout in Executor class from jpackage test lib
Reviewed-by: almatvee
2025-04-18 12:12:52 +00:00
Jayathirth D V
eda7394551 8354900: javax/swing/AbstractButton/bug4133768.java failing on macosx-aarch64
Reviewed-by: abhiscxk
2025-04-18 12:05:01 +00:00
Ivan Šipka
0feecb7c6a 8351851: Update PmemTest to run on AMD64
Reviewed-by: adinn
2025-04-18 10:44:29 +00:00
Anjian-Wen
0995b9409d 8354815: RISC-V: Change type of bitwise rotation shift to iRegIorL2I
Reviewed-by: fyang, fjiang
2025-04-18 02:20:39 +00:00
Alexey Semenyuk
38f138bc22 8354985: Add unit tests for Executor class from jpackage test lib
Reviewed-by: almatvee
2025-04-17 23:37:45 +00:00
Alexander Zuev
ad7c475fb1 8353655: Clean up and open source KeyEvent related tests (Part 1)
Reviewed-by: abhiscxk
2025-04-17 19:53:45 +00:00
Andrey Turbanov
1b4b317aac 8354789: Unnecessary null check in sun.awt.windows.WToolkit.getFontPeer
Reviewed-by: aivanov, tr
2025-04-17 19:19:26 +00:00
Stuart Marks
7b0618859a 8354464: Additional cleanup setting up native.encoding
Reviewed-by: naoto, alanb
2025-04-17 18:31:10 +00:00
Cesar Soares Lucas
4eae9b5ba6 8354541: Remove Shenandoah post barrier expand loop opts
Reviewed-by: shade
2025-04-17 17:40:38 +00:00
Phil Race
31e293b082 8354552: Open source a few Swing tests
Reviewed-by: dnguyen, psadhukhan
2025-04-17 16:32:46 +00:00
Phil Race
3e3dff6767 8354451: Open source some more Swing popup menu tests
Reviewed-by: jdv, kizune
2025-04-17 16:31:24 +00:00
Alexander Zuev
e163a76f2b 8354106: Clean up and open source KeyEvent related tests (Part 2)
Reviewed-by: abhiscxk, prr
2025-04-17 16:26:36 +00:00
Johannes Graham
04c32fc08a 8354522: Clones of DecimalFormat cause interferences when used concurrently
Reviewed-by: jlu, naoto
2025-04-17 16:22:00 +00:00
Alexander Zuev
5660922568 8353070: Clean up and open source couple AWT Graphics related tests (Part 1)
Reviewed-by: serb
2025-04-17 16:20:35 +00:00
Damon Nguyen
e639cd6a77 8353213: Open source several swing tests batch3
Reviewed-by: prr
2025-04-17 16:18:56 +00:00
Chris Plummer
d1d81dd01c 8353953: con/sun/jdi tests should be fixed to not always require includevirtualthreads=y
Reviewed-by: sspitsyn, amenkov
2025-04-17 15:37:05 +00:00
Ferenc Rakoczi
cd8adf13ed 8354926: Remove remnants of debugging in the fix for JDK-8348561 and JDK-8349721
Reviewed-by: adinn
2025-04-17 14:01:46 +00:00
Saint Wesonga
86f3eafade 8353009: Improve documentation for Windows AArch64 builds
Reviewed-by: erikj, ihse
2025-04-17 13:59:44 +00:00
Artur Barashev
abb23828f9 8350807: Certificates using MD5 algorithm that are disabled by default are incorrectly allowed in TLSv1.3 when re-enabled
Reviewed-by: mullan
2025-04-17 13:45:47 +00:00
Jayathirth D V
dda4b5a4ad 8354418: Open source Swing tests Batch 4
Reviewed-by: abhiscxk
2025-04-17 13:36:05 +00:00
Abhishek Kumar
e21387e045 8354365: Opensource few Modal and Full Screen related tests
Reviewed-by: jdv, tr
2025-04-17 13:08:49 +00:00
Jayathirth D V
4c99489420 8354285: Open source Swing tests Batch 3
Reviewed-by: abhiscxk
2025-04-17 13:07:19 +00:00
Abhishek Kumar
e9c8986a65 8354493: Opensource Several MultiScreen and Insets related tests
Reviewed-by: psadhukhan, tr
2025-04-17 12:31:30 +00:00
SendaoYan
9502ab0bf5 8354766: Test TestUnexported.java javac build fails
Reviewed-by: nbenalla, jpai
2025-04-17 12:26:15 +00:00
Coleen Phillimore
5125ceb922 8349405: Redundant and confusing null checks on data from CP::resolved_klasses
Reviewed-by: dholmes, iklam
2025-04-17 11:47:21 +00:00
Marc Chevalier
1138a186eb 8344251: C2: remove blackholes with dead control input
Reviewed-by: shade, thartmann, kvn
2025-04-17 07:24:14 +00:00
Marc Chevalier
fabf67c376 8354625: Compile::igv_print_graph_to_network doesn't use its second parameter
Reviewed-by: rcastanedalo, thartmann
2025-04-17 07:21:34 +00:00
Maxim Kartashev
a4e9da3747 8354191: GTK LaF should use pre-multiplied alpha same as cairo
Reviewed-by: avu, prr
2025-04-17 06:59:01 +00:00
Tejesh R
e00355a036 8353958: Open source several AWT ScrollPane tests - Batch 2
Reviewed-by: prr, psadhukhan
2025-04-17 06:40:54 +00:00
Tejesh R
3d0feba00a 8352865: Open source several AWT TextComponent tests - Batch 2
Reviewed-by: prr, serb, jdv
2025-04-17 06:39:50 +00:00
Matthias Baesken
af7a19a8cf 8354802: MAX_SECS definition is unused in os_linux
Reviewed-by: kbarrett, dholmes
2025-04-17 06:34:43 +00:00
Cesar Soares Lucas
055b750d99 8354543: Set more meaningful names for "get_vm_result" and "get_vm_result_2"
Reviewed-by: shade, coleenp
2025-04-17 06:08:36 +00:00
Ioi Lam
a71f621a32 8353694: Resolved Class/Field/Method CP entries missing from AOT Configuration
Reviewed-by: shade, vlivanov
2025-04-17 03:10:58 +00:00
Anjian-Wen
07aad68c17 8329887: RISC-V: C2: Support Zvbb Vector And-Not instruction
Reviewed-by: fyang, fjiang
2025-04-17 02:16:24 +00:00
Leonid Mesnik
db2dffb6e5 8354559: gc/g1/TestAllocationFailure.java doesn't need WB API
Reviewed-by: ayang, kbarrett
2025-04-16 23:04:37 +00:00
Erik Gahlin
a2d7f441b8 8295651: JFR: 'jfr scrub' should summarize what was removed
Reviewed-by: mgronlun
2025-04-16 20:11:26 +00:00
Volodymyr Paprotski
0c34bf0476 8354471: Assertion failure with -XX:-EnableX86ECoreOpts
Reviewed-by: sviswanathan, jbhateja
2025-04-16 19:57:42 +00:00
Phil Race
98dac46aac 8353589: Open source a few Swing menu-related tests
Reviewed-by: jdv, honkar
2025-04-16 18:05:07 +00:00
Ioi Lam
e433fa2719 8352001: AOT cache should not contain classes injected into built-in class loaders
Reviewed-by: ccheung, matsaave
2025-04-16 17:52:53 +00:00
Damon Nguyen
d80db00f82 8354873: javax/swing/plaf/metal/MetalIconFactory/bug4952462.java failing on CI
Reviewed-by: honkar
2025-04-16 17:19:47 +00:00
Mikael Vidstedt
7a107e2fc4 8351603: Change to GCC 14.2.0 for building on Linux at Oracle
8344272: gcc devkit doesn't have lto-plugin where needed

Reviewed-by: ihse, erikj
2025-04-16 16:28:12 +00:00
Rohitash Kumar
84458ec18c 8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number
Reviewed-by: michaelm, xpeng
2025-04-16 16:08:31 +00:00
KIRIYAMA Takuya
c3de94cee1 8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Reviewed-by: phh
2025-04-16 15:42:40 +00:00
Ferenc Rakoczi
465c8e6583 8349721: Add aarch64 intrinsics for ML-KEM
Reviewed-by: adinn
2025-04-16 12:35:24 +00:00
Jan Lahoda
1ad869f844 8322706: AnnotationTypeMismatchException in javac with annotation processing
Reviewed-by: vromero
2025-04-16 11:43:42 +00:00
Johan Sjölen
7ffad35dac 8352568: Test gtest/AsyncLogGtest.java failed at droppingMessage_vm
Reviewed-by: mbaesken, dholmes
2025-04-16 11:32:47 +00:00
Jaikiran Pai
c6243fc27f Merge
Reviewed-by: dfuchs
2025-04-16 11:26:59 +00:00
Robbin Ehn
fe3bd5d62f 8354667: [TESTBUG] AccessZeroNKlassHitsProtectionZone cds tests require cds
Reviewed-by: lmesnik, syan
2025-04-16 09:56:39 +00:00
Abhishek Kumar
8c6b611f35 8353832: Opensource FontClass, Selection and Icon tests
Reviewed-by: jdv
2025-04-16 09:52:53 +00:00
Jan Lahoda
cfbbcd78bc 8350595: jshell <TAB> completion on arrays does not work for clone()
Reviewed-by: asotona
2025-04-16 09:23:15 +00:00
Jaikiran Pai
4c3c2b32a1 8354576: InetAddress.getLocalHost() on macos may return address of an interface which is not UP - leading to "Network is down" error
Reviewed-by: alanb, dfuchs, vyazici
2025-04-16 08:35:05 +00:00
Severin Gehwolf
18d605fadb 8354629: Test tools/jlink/ClassFileInMetaInfo.java fails on builds with configure option --enable-linkable-runtime
Reviewed-by: alanb
2025-04-16 08:23:03 +00:00
Artur Barashev
ed30fce6df 8347847: Enhance jar file support
Reviewed-by: rhalade, jnibedita, pkumaraswamy, ahgross, hchao, weijun, mullan
2025-04-16 13:05:32 +05:30
Damon Fenacci
38afa4d42f 8338430: Improve compiler transformations
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: ahgross, rhalade, thartmann, epeter
2025-04-16 13:05:32 +05:30
Jamil Nimeh
e91b3f0c3d 8337692: Better TLS connection support
Co-authored-by: Ferenc Rakoczi <ferenc.r.rakoczi@oracle.com>
Reviewed-by: rhalade, valeriep, pkumaraswamy, mpowers, ahgross, mbalao
2025-04-16 13:05:32 +05:30
Hai-May Chao
ef38a04b44 8337494: Clarify JarInputStream behavior
Reviewed-by: jpai, rhalade, lancea
2025-04-16 13:05:32 +05:30
Jaikiran Pai
cf871db447 8342562: Enhance Deflater operations
Reviewed-by: rhalade, alanb, lancea
2025-04-16 13:05:32 +05:30
Prasanta Sadhukhan
43b2b0bd1e 8343007: Enhance Buffered Image handling
Reviewed-by: rhalade, mschoene, jdv, prr
2025-04-16 13:05:32 +05:30
Aleksey Shipilev
9a5c7b3fa9 8351162: Clean up x86 (Macro)Assembler after 32-bit x86 removal
Reviewed-by: kvn, coleenp
2025-04-16 05:54:21 +00:00
Jayathirth D V
2be5bc847a 8354214: Open source Swing tests Batch 2
Reviewed-by: abhiscxk, honkar
2025-04-16 04:48:25 +00:00
Prasanta Sadhukhan
55afcb57a5 8352682: Opensource JComponent tests
Reviewed-by: jdv, honkar
2025-04-16 03:58:17 +00:00
Jaikiran Pai
5526490743 8354565: jtreg failure handler GatherProcessInfoTimeoutHandler has a leftover call to System.loadLibrary
Reviewed-by: alanb, kbarrett
2025-04-16 01:57:57 +00:00
Damon Nguyen
a2dc9c71e4 8352908: Open source several swing tests batch1
Reviewed-by: honkar
2025-04-15 23:48:27 +00:00
Srinivas Vamsi Parasa
513c4650c5 8354544: Fix bugs in increment and xor APX codegen
Reviewed-by: thartmann, jbhateja
2025-04-15 21:25:06 +00:00
Damon Nguyen
4e3f1848ee 8353000: Open source several swing tests batch2
Reviewed-by: azvegint
2025-04-15 19:36:10 +00:00
Aleksey Shipilev
cec48ed270 8354542: Clean up x86 stubs after 32-bit x86 removal
Reviewed-by: adinn, kvn
2025-04-15 16:19:03 +00:00
Alexey Semenyuk
fc1464727f 8354320: Changes to jpackage.md cause pandoc warning
Reviewed-by: almatvee, ihse, alanb
2025-04-15 16:06:12 +00:00
Matthias Baesken
36864a2a08 8351491: Add info from release file to hserr file
Reviewed-by: dholmes, lucy
2025-04-15 11:55:47 +00:00
Coleen Phillimore
273a9a6155 8354448: [REDO] Remove friends for ObjectMonitor
Reviewed-by: kbarrett, shade, dholmes
2025-04-15 11:49:58 +00:00
Volkan Yazici
5fc18f5b8a 8350279: HttpClient: Add a new HttpResponse method to identify connections
Reviewed-by: dfuchs, jpai
2025-04-15 11:41:47 +00:00
Patrick Strawderman
03fd43fc91 8353453: URLDecoder should use HexFormat
Reviewed-by: rriggs, jpai
2025-04-15 11:26:36 +00:00
Severin Gehwolf
4e24dc003c 8353185: Introduce the concept of upgradeable files in context of JEP 493
Reviewed-by: clanger, ihse, alanb
2025-04-15 10:16:31 +00:00
Erik Gahlin
d7676c39b6 8354508: JFR: Strengthen metadata checks for labels
Reviewed-by: shade
2025-04-15 09:48:11 +00:00
Matthias Baesken
81d4c80742 8354507: [ubsan] subnode.cpp:406:36: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'
Reviewed-by: mdoerr, thartmann
2025-04-15 09:02:41 +00:00
Daniel Lundén
24be888d65 8351833: Unexpected increase in live nodes when splitting Phis through MergeMems in PhiNode::Ideal
Reviewed-by: chagedorn, rcastanedalo, kvn
2025-04-15 08:58:02 +00:00
Jayathirth D V
b78378437c 8354163: Open source Swing tests Batch 1
Reviewed-by: psadhukhan
2025-04-15 08:41:37 +00:00
Aleksey Shipilev
3090e2187c 8353572: x86: AMD platforms miss the check for CLWB feature flag
Reviewed-by: vlivanov, kvn
2025-04-15 06:03:50 +00:00
Axel Boldt-Christmas
76ff97811a 8354510: Skipped gtest cause test failure
Reviewed-by: rehn, erikj
2025-04-15 05:11:40 +00:00
Dr Heinz M. Kabutz
c7b70a138f 8354111: JavaDoc states that Iterator.remove() is linear in the LinkedBlockingDeque
Reviewed-by: liach, smarks
2025-04-15 02:48:32 +00:00
David Holmes
92e52fe1df 8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name
Reviewed-by: kbarrett
2025-04-15 02:00:49 +00:00
Alexander Zvegintsev
5280b7b031 8353592: Open source several scrollbar tests
Reviewed-by: psadhukhan, honkar
2025-04-14 22:07:26 +00:00
Daniel Fuchs
9e7763d442 8354536: Problem-list java/util/logging/LoggingDeadlock5.java due to JDK-8354424
Reviewed-by: smarks
2025-04-14 19:27:16 +00:00
Volkan Yazici
f6d8c8cb0c 8351339: WebSocket::sendBinary assume that user supplied buffers are BIG_ENDIAN
Reviewed-by: michaelm, dfuchs
2025-04-14 19:16:17 +00:00
Gerard Ziemski
0da480a91d 8354535: [BACKOUT] Force clients to explicitly pass mem_tag value, even if it is mtNone
Reviewed-by: stefank, jsjolen
2025-04-14 18:47:59 +00:00
Andrej Pecimuth
de0e648844 8352724: Verify bounds for primitive array reads in JVMCI
Reviewed-by: dnsimon
2025-04-14 18:31:27 +00:00
Phil Race
46a6fc84ef 8353483: Open source some JProgressBar tests
Reviewed-by: honkar, serb
2025-04-14 16:58:06 +00:00
Vladimir Ivanov
d684867066 8346230: [perf] scalability issue for the specjvm2008::xml.transform workload
Reviewed-by: joehw, jbhateja
2025-04-14 16:55:37 +00:00
Gerard Ziemski
43b194741c 8344883: Force clients to explicitly pass mem_tag value, even if it is mtNone
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: stefank, jsjolen
2025-04-14 16:22:07 +00:00
Naoto Sato
d748bb5cbb 8343157: Examine large files for character encoding/decoding
Reviewed-by: alanb
2025-04-14 16:09:35 +00:00
David Beaumont
313c34ae56 8354513: Bug in j.u.l.Handler deadlock test allows null pointer during race condition
Reviewed-by: dfuchs
2025-04-14 15:58:43 +00:00
Sean Mullan
16657dba99 8354449: Remove com/sun/org/apache/xml/internal/security/resource/xmlsecurity_de.properties
Reviewed-by: weijun, ihse
2025-04-14 14:44:11 +00:00
Axel Boldt-Christmas
97e1075739 8354358: ZGC: ZPartition::prime handle discontiguous reservations correctly
Reviewed-by: stefank, jsikstro, eosterlund
2025-04-14 13:28:49 +00:00
Roberto Castañeda Lozano
51ce312001 8348645: IGV: visualize live ranges
Reviewed-by: thartmann, dfenacci
2025-04-14 12:07:13 +00:00
Matthias Baesken
f8ae1d4e6c 8354254: Remove the linux ppc64 -minsert-sched-nops=regroup_exact compile flag
Reviewed-by: erikj, mdoerr
2025-04-14 08:52:33 +00:00
Radim Vansa
f169fc5a99 8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization
Reviewed-by: jsjolen, shade, fparain
2025-04-14 08:18:59 +00:00
Matthias Baesken
cf27a42d92 8354426: [ubsan] applying non-zero offset 34359738368 to null pointer in CompressedKlassPointers::encoding_range_end
Reviewed-by: mdoerr, jkern
2025-04-14 08:12:08 +00:00
Aleksey Shipilev
44245f33cd 8354215: Clean up Loom support after 32-bit x86 removal
Reviewed-by: coleenp, pchilanomate
2025-04-14 06:56:29 +00:00
Joel Sikström
337dacdd3f 8354310: JFR: Inconsistent metadata in ZPageAllocation
Reviewed-by: egahlin, stefank, eosterlund
2025-04-14 06:36:47 +00:00
Aleksey Shipilev
2595c47b57 8354231: x86: Purge FPU support from (Macro)Assembler after 32-bit x86 removal
Reviewed-by: coleenp, kvn, vlivanov
2025-04-14 06:16:17 +00:00
Abhishek Kumar
b539fb0bc1 8352877: Opensource Several Font related tests - Batch 1
Reviewed-by: aivanov, serb
2025-04-14 05:27:24 +00:00
Hannes Wallnöfer
5d97608970 8254622: Hide superclasses from conditionally exported packages
Reviewed-by: kcr, liach
2025-04-13 10:08:39 +00:00
Sergey Bylokhov
ed756b9700 8352922: Refactor client classes javadoc to use @throws instead of @exception
Reviewed-by: prr
2025-04-12 23:36:27 +00:00
Serguei Spitsyn
04ad59de76 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected
Reviewed-by: dholmes, pchilanomate
2025-04-12 07:20:19 +00:00
Thomas Stuefe
034c0d4de5 8350753: Deprecate UseCompressedClassPointers
Reviewed-by: coleenp, dholmes
2025-04-12 05:58:39 +00:00
William Kemper
e8bcedb09b 8354452: Shenandoah: Enforce range checks on parameters controlling heuristic sleep times
Reviewed-by: ysr
2025-04-11 21:25:09 +00:00
Coleen Phillimore
d14e84c03b 8354446: [BACKOUT] Remove friends for ObjectMonitor
Reviewed-by: pchilanomate
2025-04-11 19:59:52 +00:00
Erik Gahlin
1d7138fe02 8353614: JFR: jfr print --exact
Reviewed-by: mgronlun
2025-04-11 15:12:54 +00:00
Archie Cobbs
e604bb9e94 8352731: Compiler workaround to forcibly set "-Xlint:-options" can be removed
Reviewed-by: mcimadamore
2025-04-11 13:29:32 +00:00
Hannes Wallnöfer
2321722a45 8346109: Create JDK taglet for additional preview notes
Reviewed-by: ihse, liach, rriggs
2025-04-11 13:25:50 +00:00
Coleen Phillimore
9ead2b75ce 8354180: Clean up uses of ObjectMonitor caches
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, fbredberg
2025-04-11 13:12:16 +00:00
Eirik Bjørsnøs
cae7a206a2 8353662: Add test for non-local file URL fallback to FTP
Reviewed-by: dfuchs
2025-04-11 12:49:40 +00:00
Matthias Baesken
b5d2e25478 8354189: Remove JLI_ReportErrorMessageSys on Windows
Reviewed-by: alanb, mdoerr
2025-04-11 11:32:42 +00:00
Manuel Hässig
efb5a80e52 8353730: TestSubNodeFloatDoubleNegation.java fails with native Float16 support
Reviewed-by: chagedorn, thartmann
2025-04-11 11:29:56 +00:00
Jorn Vernee
8bb0ca4971 8353917: jnativescan: Simplify ClassResolver
Reviewed-by: mcimadamore
2025-04-11 11:15:32 +00:00
Coleen Phillimore
36069f6efa 8354234: Remove friends for ObjectMonitor
Reviewed-by: aboldtch, dholmes
2025-04-11 11:03:45 +00:00
Magnus Ihse Bursie
d4e194bc46 8354266: Fix non-UTF-8 text encoding
Reviewed-by: rgiulietti, erikj, naoto, eirbjo
2025-04-11 10:22:15 +00:00
Volkan Yazici
e1b677091e 8353949: HttpHeaders.firstValueAsLong unnecessarily boxes to Long
Reviewed-by: dfuchs, djelinski, michaelm
2025-04-11 09:06:11 +00:00
Evgeny Nikitin
1fc1cc5da9 8354255: [jittester] Remove TempDir debug output
Reviewed-by: chagedorn, thartmann
2025-04-11 08:15:01 +00:00
Aleksey Shipilev
cf0308b271 8351152: x86: Remove code blocks that handle UseSSE < 2
Reviewed-by: vlivanov, kvn
2025-04-11 07:10:41 +00:00
Alexander Zvegintsev
d8bed69373 8354317: [XWayland] Problem list two tests crashing XWayland server
Reviewed-by: serb, jdv
2025-04-11 06:09:39 +00:00
Prasanta Sadhukhan
f955a8cbd2 8352687: Opensource few JInternalFrame and JTextField tests
Reviewed-by: honkar
2025-04-11 03:53:29 +00:00
Thomas Fitzsimmons
4478a99e31 8354057: Odd debug output in -Xlog:os+container=debug on certain systems
Reviewed-by: sgehwolf, asmehra, lmesnik
2025-04-11 02:06:22 +00:00
Serguei Spitsyn
1c34f3cdb1 8352773: JVMTI should disable events during java upcalls
Reviewed-by: lmesnik, dholmes, cjplummer, coleenp
2025-04-11 01:25:55 +00:00
Chen Liang
7bb8b1768f 8347472: Correct Attribute traversal and writing for Code attributes
Reviewed-by: asotona
2025-04-11 00:18:23 +00:00
Stuart Marks
83c7d3bbe8 8351740: Clean up some code around initialization of encoding properties
Reviewed-by: naoto, alanb, rriggs
2025-04-10 21:43:14 +00:00
Michael McMahon
e35f67b908 8285888: Clarify that java.net.http.HttpClient do NOT support Digest authentication
Reviewed-by: jpai, dfuchs
2025-04-10 21:16:30 +00:00
Mikael Vidstedt
7382ea1a7e 8354230: Wrong boot jdk for alpine-linux-x64 in GHA
Reviewed-by: erikj, iris, djelinski, sgehwolf
2025-04-10 21:15:23 +00:00
Archie Cobbs
4890b74c04 8354216: Small cleanups relating to Log.DiagnosticHandler
Reviewed-by: mcimadamore
2025-04-10 20:33:11 +00:00
Calvin Cheung
7680f70ad6 8171508: Remove -Dsun.java.launcher.is_altjvm option
Reviewed-by: dholmes, stuefe
2025-04-10 19:57:30 +00:00
Harshitha Onkar
3131dd1d5c 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles
Reviewed-by: aivanov, jdv, prr, serb
2025-04-10 19:55:29 +00:00
Roger Riggs
af5db51306 8353641: Deprecate core library permission classes for removal
Reviewed-by: mullan, iris
2025-04-10 19:19:31 +00:00
Jeremy Wood
60f3d60741 8351110: ImageIO.write for JPEG can write corrupt JPEG for certain thumbnail dimensions
Reviewed-by: aivanov, prr
2025-04-10 18:31:53 +00:00
Zihao Lin
dc249be247 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead
Reviewed-by: liach, jvernee
2025-04-10 17:21:51 +00:00
Archie Cobbs
799e5b33a1 8354071: Add LintCategory property indicating whether @SuppressWarnings is supported
Reviewed-by: mcimadamore
2025-04-10 17:06:44 +00:00
David Beaumont
36e11b6827 8353683: [REDO] j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: smarks
2025-04-10 16:01:00 +00:00
Mikhail Yankelevich
0e223f1456 8349534: Refactor jdk/sun/security/krb5/runNameEquals.sh to java test
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: mullan
2025-04-10 15:30:44 +00:00
Alexander Zvegintsev
2ba80d2403 8353586: Open source several toolkit tests
Reviewed-by: dnguyen, psadhukhan
2025-04-10 15:20:23 +00:00
Archie Cobbs
e50af6db09 8354090: Refactor import warning suppression in Check.java
Reviewed-by: mcimadamore
2025-04-10 14:46:36 +00:00
fabioromano1
c4c3edfa96 8341402: BigDecimal's square root optimization
Reviewed-by: rgiulietti
2025-04-10 14:34:52 +00:00
Joel Sikström
7e69b98e05 8350441: ZGC: Overhaul Page Allocation
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: stefank, aboldtch, eosterlund
2025-04-10 11:37:20 +00:00
Kim Barrett
6c2667018a 8324686: Remove redefinition of NULL for MSVC
Reviewed-by: shade, dholmes
2025-04-10 10:21:32 +00:00
Volkan Yazici
51b3d6bba2 8352431: java/net/httpclient/EmptyAuthenticate.java uses "localhost"
Reviewed-by: dfuchs, jpai
2025-04-10 10:18:46 +00:00
Jatin Bhateja
9a3f9997b6 8346236: Auto vectorization support for various Float16 operations
Reviewed-by: epeter, sviswanathan
2025-04-10 09:44:58 +00:00
SendaoYan
6545e0d9a3 8353189: [ASAN] memory leak after 8352184
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: dholmes, jiangli
2025-04-10 08:42:47 +00:00
Serhiy Sachkov
f94a4f7acc 8353847: Remove extra args to System.out.printf in open/test/jdk/java/net/httpclient tests
Reviewed-by: dfuchs
2025-04-10 08:28:01 +00:00
Saranya Natarajan
04e2a0621d 8351660: C2: SIGFPE in unsigned_mod_value
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: chagedorn, dfenacci, epeter
2025-04-10 07:59:09 +00:00
Aleksey Shipilev
73c8c755ea 8351157: Clean up x86 GC barriers after 32-bit x86 removal
Reviewed-by: kbarrett, wkemper, tschatzl
2025-04-10 07:54:00 +00:00
Erik Gahlin
c447a10225 8353856: Deprecate FlighRecorderPermission class for removal
Reviewed-by: mgronlun
2025-04-10 07:42:40 +00:00
Manuel Hässig
4f80437ee0 8353842: C2: Add graph dumps before and after loop opts phase
Reviewed-by: chagedorn, epeter
2025-04-10 07:24:45 +00:00
Roland Westrelin
bcac42aabc 8349479: C2: when a Type node becomes dead, make CFG path that uses it unreachable
Reviewed-by: chagedorn, vlivanov
2025-04-10 07:04:15 +00:00
Alexey Semenyuk
45b7c74873 8341641: Make %APPDATA% and %LOCALAPPDATA% env variables available in *.cfg files
Reviewed-by: almatvee
2025-04-10 01:38:47 +00:00
Chen Liang
5c438c5e6b 8352748: Remove com.sun.tools.classfile from the JDK
Reviewed-by: ihse, jlahoda, vromero
2025-04-09 22:58:44 +00:00
Ferenc Rakoczi
e87ff328d5 8351034: Add AVX-512 intrinsics for ML-DSA
Reviewed-by: sviswanathan, lmesnik, vpaprotski, jbhateja
2025-04-09 21:15:45 +00:00
Ioi Lam
e3f26b056e 8351319: AOT cache support for custom class loaders broken since JDK-8348426
Reviewed-by: ccheung, matsaave, jrose
2025-04-09 20:57:15 +00:00
Liam Miller-Cushon
4954a336f8 8350563: C2 compilation fails because PhaseCCP does not reach a fixpoint
Co-authored-by: Matthias Ernst <mernst@google.com>
Reviewed-by: chagedorn, epeter
2025-04-09 20:20:15 +00:00
Magnus Ihse Bursie
4a242e3a65 8354213: Restore pointless unicode characters to ASCII
Reviewed-by: naoto, erikj, iris
2025-04-09 20:14:10 +00:00
Dean Long
776e1cf1df 8353041: NeverBranchNode causes incorrect block frequency calculation
Reviewed-by: thartmann, rcastanedalo
2025-04-09 20:06:49 +00:00
Alexander Zvegintsev
cc546e7a28 8353549: Open source events tests batch2
Reviewed-by: honkar, kizune
2025-04-09 17:49:18 +00:00
Jiangli Zhou
faacbd96a3 8353938: hotspot/jtreg/serviceability/dcmd/jvmti/LoadAgentDcmdTest.java fails on static JDK
Reviewed-by: alanb
2025-04-09 17:47:47 +00:00
Coleen Phillimore
6352ee1a6e 8349007: The jtreg test ResolvedMethodTableHash takes excessive time
Reviewed-by: lmesnik, matsaave
2025-04-09 17:43:11 +00:00
Danish Nawab
5f2a604b63 8353840: JNativeScan should not abort for missing classes
Reviewed-by: jvernee, liach
2025-04-09 15:25:24 +00:00
Raffaello Giulietti
1f21da75eb 8351462: Improve robustness of String concatenation
Reviewed-by: liach, pminborg, rriggs
2025-04-09 15:16:02 +00:00
Ioi Lam
567c6885a3 8353597: Refactor handling VM options for AOT cache input and output
Reviewed-by: kvn, asmehra
2025-04-09 15:03:38 +00:00
Chen Liang
4dc9e58906 8310310: Migrate CreateSymbols tool in make/langtools to Classfile API
Reviewed-by: ihse, jlahoda
2025-04-09 14:51:15 +00:00
Kevin Walls
7a7b9ed7fe 8353727: HeapDumpPath doesn't expand %p
Reviewed-by: stuefe, lmesnik
2025-04-09 14:49:04 +00:00
Per Minborg
c3e043956e 8354121: Use a record class rather than a lambda in AbstractMemorySegmentImpl::cleanupAction
Reviewed-by: liach
2025-04-09 13:47:24 +00:00
Yudi Zheng
9d8b93b6e2 8354181: [Backout] 8334046: Set different values for CompLevel_any and CompLevel_all
Reviewed-by: thartmann, chagedorn
2025-04-09 13:08:21 +00:00
Zhengyu Gu
da462cf225 8353692: Relax memory constraint on updating ObjectMonitorTable's item count
Reviewed-by: rkennke, dholmes
2025-04-09 12:58:00 +00:00
Per Minborg
f9d705b17e 8351757: Test java/foreign/TestDeadlock.java#FileChannel_map timed out after passing
Reviewed-by: djelinski, rriggs
2025-04-09 12:44:47 +00:00
Alan Bateman
6c93ad42f3 8351927: Change VirtualThread implementation to use use FJP delayed task handling
Reviewed-by: vklang
2025-04-09 12:36:35 +00:00
Magnus Ihse Bursie
7aeaa3c21c 8187520: Add --disable-java-warnings-as-errors configure option
Reviewed-by: shade, erikj
2025-04-09 10:40:03 +00:00
Kevin Walls
cd9fa3f7aa 8353439: Shell grouping of -XX:OnError= commands is surprising
Reviewed-by: dholmes, stuefe
2025-04-09 09:47:03 +00:00
Marc Chevalier
a1d566ce4b 8348853: Fold layout helper check for objects implementing non-array interfaces
Reviewed-by: thartmann, roland
2025-04-09 09:28:36 +00:00
Daishi Tabata
f7fa05f577 8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8
Reviewed-by: djelinski, dfuchs
2025-04-09 09:11:24 +00:00
Aleksey Shipilev
250eb743c1 8353192: C2: Clean up x86 backend after 32-bit x86 removal
Reviewed-by: kvn, epeter
2025-04-09 08:22:48 +00:00
Cesar Soares Lucas
9ee5590328 8334046: Set different values for CompLevel_any and CompLevel_all
Reviewed-by: shade, kvn
2025-04-09 08:01:13 +00:00
Aleksey Shipilev
6df34c361e 8353174: Clean up thread register handling after 32-bit x86 removal
Reviewed-by: cslucas, kvn, vlivanov
2025-04-09 07:28:47 +00:00
Evgeny Nikitin
0f70aae1cc 8353841: [jittester] Fix JITTester build after asm removal
Reviewed-by: thartmann, chagedorn
2025-04-09 07:03:24 +00:00
Stefan Karlsson
3340e13fd0 8352994: ZGC: Fix regression introduced in JDK-8350572
Reviewed-by: aboldtch, tschatzl
2025-04-09 06:19:08 +00:00
Cesar Soares Lucas
b045e3fbd7 8352681: C2 compilation hits asserts "must set the initial type just once"
Reviewed-by: chagedorn, dfenacci
2025-04-09 05:34:01 +00:00
Cesar Soares Lucas
473251dbb3 8353593: MethodData "mileage_*" methods and fields aren't used and can be removed
Reviewed-by: phh, thartmann
2025-04-09 05:09:30 +00:00
Thomas Stuefe
743d1c64c2 8353273: Reduce number of oop map entries in instances
Reviewed-by: lmesnik, fparain, jsjolen
2025-04-09 05:08:51 +00:00
David Holmes
2a0cf8353a 8354088: [BACKOUT] Run jtreg in the work dir
Reviewed-by: darcy, iris
2025-04-09 03:03:14 +00:00
Fei Yang
73bb647218 8353829: RISC-V: Auto-enable several more extensions for debug builds
Reviewed-by: rehn, fjiang
2025-04-09 01:44:46 +00:00
Ioi Lam
c26c575867 8353014: Exclude AOT tooling classes from AOT cache
Reviewed-by: vlivanov, kvn
2025-04-09 01:15:40 +00:00
Xiaolong Peng
aec1fe0a17 8351091: Shenandoah: global marking context completeness is not accurately maintained
Reviewed-by: ysr, wkemper
2025-04-09 01:00:02 +00:00
William Kemper
b4ab964b72 8353218: Shenandoah: Out of date comment references Brooks pointers
Reviewed-by: ysr, kdnilsen
2025-04-08 22:00:58 +00:00
Koushik Thirupattur
63fa255c06 8354061: Update copyright in NameFormat.java fix after JDK-8349890
Reviewed-by: mullan
2025-04-08 21:58:21 +00:00
Archie Cobbs
5b42c46b48 8353757: Log class should have a proper clear() method
Reviewed-by: vromero, mcimadamore
2025-04-08 20:04:44 +00:00
Hannes Wallnöfer
24ff96afe4 8352389: Remove incidental whitespace in pre/code content
Reviewed-by: liach
2025-04-08 18:45:53 +00:00
Markus Grönlund
257f817c7f 8353431: JFR: Sets to use hashmap instead of binary search as backend
Reviewed-by: egahlin
2025-04-08 18:41:10 +00:00
Magnus Ihse Bursie
689d73a30d 8317012: Explicitly check for 32-bit word size for using libatomic with zero
Reviewed-by: erikj, shade
2025-04-08 17:39:59 +00:00
Justin Lu
5cac579619 8353713: Improve Currency.getInstance exception handling
Reviewed-by: naoto
2025-04-08 17:37:13 +00:00
Magnus Ihse Bursie
e1a4a6beb6 8340185: Use make -k on GHA to catch more build errors
Reviewed-by: shade
2025-04-08 16:57:00 +00:00
Magnus Ihse Bursie
bd73a06416 8300339: Run jtreg in the work dir
Reviewed-by: erikj
2025-04-08 16:55:48 +00:00
Per Minborg
b98d6aebdd 8339527: Adjust threshold for MemorySegment::fill native invocation
Reviewed-by: jvernee
2025-04-08 16:34:20 +00:00
Sean Mullan
3cbe686d62 8348967: Deprecate security permission classes for removal
Reviewed-by: rriggs, iris
2025-04-08 16:13:43 +00:00
Roland Westrelin
4645ddbb6b 8341976: C2: use_mem_state != load->find_exact_control(load->in(0)) assert failure
Reviewed-by: chagedorn, dfenacci
2025-04-08 15:52:05 +00:00
Daniel Jeliński
58ff36f3bd 8350705: [JMH] test security.SSLHandshake failed for 2 threads configuration
Reviewed-by: hchao, mullan
2025-04-08 15:19:32 +00:00
Viktor Klang
676cfae91c 8354016: Update ReentrantReadWriteLock documentation to reflect its new max capacity
Reviewed-by: alanb
2025-04-08 13:49:15 +00:00
Coleen Phillimore
250437e557 8351654: Agent transformer bytecodes should be verified
Reviewed-by: dholmes, lmesnik
2025-04-08 13:12:28 +00:00
Damon Fenacci
d9f2e69215 8352963: [REDO] Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Reviewed-by: vlivanov, thartmann
2025-04-08 13:05:15 +00:00
Artur Barashev
dfa79c3730 8340321: Disable SHA-1 in TLS/DTLS 1.2 handshake signatures
Reviewed-by: mullan
2025-04-08 13:02:50 +00:00
Hamlin Li
cc5e9388d8 8353600: RISC-V: compiler/vectorization/TestRotateByteAndShortVector.java is failing with Zvbb
Reviewed-by: fyang, luhenry
2025-04-08 13:00:07 +00:00
Hamlin Li
21db0fdbfb 8353665: RISC-V: IR verification fails in TestSubNodeFloatDoubleNegation.java
Reviewed-by: thartmann, luhenry
2025-04-08 12:59:36 +00:00
Harald Eilertsen
b3751b90f6 8353573: System giflib not found by configure if it's not in system directories
Reviewed-by: erikj
2025-04-08 12:40:54 +00:00
Harald Eilertsen
3d24f1a382 8353580: libjpeg is not found if not installed in system directories
Reviewed-by: erikj
2025-04-08 12:40:10 +00:00
Koushik Thirupattur
d8bed13047 8353945: Test javax/security/auth/x500/X500Principal/NameFormat.java fails after JDK-8349890
Reviewed-by: mullan
2025-04-08 11:50:59 +00:00
Jan Lahoda
9088afc4f1 8353332: Test jdk/jshell/ToolProviderTest.java failed in relation to enable-preview
Reviewed-by: jpai, asotona
2025-04-08 09:25:23 +00:00
Roberto Castañeda Lozano
fda5eecd67 8353669: IGV: dump OOP maps for MachSafePoint nodes
Reviewed-by: chagedorn, thartmann
2025-04-08 08:27:00 +00:00
Aleksey Shipilev
ea07e719ca 8352256: ObjectSynchronizer::quick_notify misses JFR event notification path
Reviewed-by: dholmes, coleenp, mgronlun
2025-04-08 08:12:59 +00:00
Jaikiran Pai
9844c1c52b 8066583: DeflaterInput/OutputStream and InflaterInput/OutputStream should explain responsibility for freeing resources
Reviewed-by: liach, alanb, lancea
2025-04-08 06:07:44 +00:00
Alan Bateman
fb955bcb15 8353267: jmod create finds the wrong set of packages when class file are in non-package location
Reviewed-by: rriggs
2025-04-08 06:03:16 +00:00
Fei Yang
80ff7b9c94 8353695: RISC-V: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java is failing with Zvkn
Reviewed-by: fjiang, mli
2025-04-08 01:37:29 +00:00
Jaikiran Pai
b64cdc2813 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint
Reviewed-by: mullan, lancea
2025-04-08 00:35:33 +00:00
Jaikiran Pai
edaeb4b2da 8352895: UserCookie.java runs wrong test class
Reviewed-by: dfuchs
2025-04-08 00:33:36 +00:00
David Holmes
3951a8e019 8353365: TOUCH_ASSERT_POISON clears GetLastError()
Reviewed-by: kbarrett, stuefe, jwaters
2025-04-07 23:36:04 +00:00
Justin Lu
fd2734e97d 8353585: Provide ChoiceFormat#parse(String, ParsePosition) tests
Reviewed-by: naoto
2025-04-07 21:52:57 +00:00
Martin Doerr
e266eba401 8352972: PPC64: Intrinsify Unsafe::setMemory
Reviewed-by: lucy
2025-04-07 20:50:41 +00:00
Justin Lu
a8dfcf5584 8353322: Specification of ChoiceFormat#parse(String, ParsePosition) is inadequate
Reviewed-by: naoto
2025-04-07 20:45:51 +00:00
Magnus Ihse Bursie
42dc99eac1 8301197: Make sure use of printf is correct and actually needed
Reviewed-by: erikj
2025-04-07 20:34:30 +00:00
Magnus Ihse Bursie
cebda921dd 8311227: Add .editorconfig
Co-authored-by: David Briemann <david@briemann.com>
Reviewed-by: erikj
2025-04-07 20:32:26 +00:00
Daniel Gredler
3757f660f2 8353002: Remove unnecessary Windows version check in WTaskbarPeer
Reviewed-by: prr, serb, aivanov
2025-04-07 19:53:36 +00:00
Renjith Kannath Pariyangad
05ff557dee 8353138: Screen capture for test TaskbarPositionTest.java, failure case
Reviewed-by: aivanov, serb
2025-04-07 19:52:39 +00:00
Brian Burkhalter
5481021ee6 8321591: (fs) Improve String -> Path conversion performance (win)
Reviewed-by: alanb
2025-04-07 18:46:04 +00:00
Volodymyr Paprotski
885cf0ff8d 8353671: Remove dead code missed in JDK-8350459
Reviewed-by: sviswanathan, mullan
2025-04-07 18:44:04 +00:00
Phil Race
1b6f6946ae 8353304: Open source two JTabbedPane tests
Reviewed-by: kizune
2025-04-07 18:16:15 +00:00
Koushik Thirupattur
0d4d155816 8349890: Option -Djava.security.debug=x509,ava breaks special chars
Reviewed-by: mullan
2025-04-07 17:29:13 +00:00
Phil Race
e08441c033 8353475: Open source two Swing DefaultCaret tests
Reviewed-by: honkar
2025-04-07 16:40:36 +00:00
Viktor Klang
867a030189 8352971: Increase maximum number of hold counts for ReentrantReadWriteLock
Reviewed-by: alanb
2025-04-07 16:15:51 +00:00
Eirik Bjørsnøs
9a391f44e0 8353278: Consolidate local file URL checks in jar: and file: URL schemes
Reviewed-by: dfuchs, jpai
2025-04-07 15:23:18 +00:00
Viktor Klang
402103331b 8353659: SubmissionPublisherTest::testCap1Submit times out
Reviewed-by: dl, alanb
2025-04-07 15:03:30 +00:00
Christoph Langer
60fbf73fc4 8353709: Debug symbols bundle should contain full debug files when building --with-external-symbols-in-bundles=public
Reviewed-by: erikj, mbaesken
2025-04-07 13:27:21 +00:00
Gerard Ziemski
77fff61b86 8341095: Possible overflow in os::Posix::print_uptime_info
Reviewed-by: dholmes
2025-04-07 13:04:47 +00:00
Joachim Kern
9128ec61df 8352935: Launcher should not add $JDK/../lib to LD_LIBRARY_PATH
Reviewed-by: clanger, ihse, jpai
2025-04-07 12:50:43 +00:00
Prasanta Sadhukhan
27c8d9d635 8352686: Opensource JInternalFrame tests - series3
Reviewed-by: azvegint
2025-04-07 12:30:55 +00:00
Prasanta Sadhukhan
66435c27b3 8352684: Opensource JInternalFrame tests - series1
Reviewed-by: azvegint
2025-04-07 12:28:41 +00:00
Matthew Donovan
353e1738f6 8219408: Tests should handle ${} in the view of jtreg "smart action"
Reviewed-by: mullan
2025-04-07 11:58:17 +00:00
Jan Lahoda
26bb183787 8352621: MatchException from backwards incompatible change to switch expressions
Reviewed-by: abimpoudis
2025-04-07 11:56:53 +00:00
Kevin Walls
e8c9e5c6cd 8353231: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad still fails intermittently
Reviewed-by: dholmes
2025-04-07 11:34:23 +00:00
Stefan Karlsson
6ab1647af2 8353637: ZGC: Discontiguous memory reservation is broken on Windows
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: jsikstro, aboldtch, eosterlund
2025-04-07 11:32:16 +00:00
Joel Sikström
c494a00a66 8353559: Restructure CollectedHeap error printing
Reviewed-by: stefank, eosterlund, ayang
2025-04-07 11:31:06 +00:00
Mikhail Yankelevich
32d6d03151 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
Reviewed-by: jpai, mullan
2025-04-07 09:57:12 +00:00
Albert Mingkun Yang
39549f8990 8352116: Deadlock with GCLocker and JVMTI after JDK-8192647
Reviewed-by: kbarrett, tschatzl, eosterlund
2025-04-07 09:13:43 +00:00
Aleksey Shipilev
d63b561fff 8353188: C1: Clean up x86 backend after 32-bit x86 removal
Reviewed-by: kvn, vlivanov
2025-04-07 07:39:17 +00:00
Fei Yang
d1e91fcd62 8353344: RISC-V: Detect and enable several extensions for debug builds
Reviewed-by: mli, fjiang, rehn
2025-04-07 07:21:15 +00:00
Matthias Baesken
6abf4e6d4d 8353568: SEGV_BNDERR signal code adjust definition
Reviewed-by: stuefe
2025-04-07 07:14:32 +00:00
Robbin Ehn
6d9ece73a9 8351949: RISC-V: Cleanup and enable store-load peephole for membars
Reviewed-by: fyang, fjiang, mli
2025-04-07 07:09:51 +00:00
Marc Chevalier
97ed536125 8346989: C2: deoptimization and re-execution cycle with Math.*Exact in case of frequent overflow
Reviewed-by: thartmann, vlivanov
2025-04-07 05:21:44 +00:00
Evgeny Astigeevich
660b17a6b9 8350852: Implement JMH benchmark for sparse CodeCache
Reviewed-by: kvn
2025-04-06 17:38:28 +00:00
Zhengyu Gu
6d37e633e6 8353753: Remove unnecessary forward declaration in oop.hpp
Reviewed-by: kbarrett
2025-04-05 20:25:30 +00:00
Jaikiran Pai
9bb804b14e 8338554: Fix inconsistencies in javadoc/doclet/testLinkOption/TestRedirectLinks.java
Reviewed-by: liach, nbenalla
2025-04-05 01:12:48 +00:00
Harshitha Onkar
e17c3994b8 8353201: Open source Swing Tooltip tests - Set 2
Reviewed-by: dnguyen, prr, azvegint
2025-04-04 22:41:59 +00:00
Phil Race
9fcb06f934 8352997: Open source several Swing JTabbedPane tests
Reviewed-by: azvegint, serb, honkar
2025-04-04 18:19:05 +00:00
Phil Race
74c2d8f41b 8353320: Open source more Swing text tests
Reviewed-by: aivanov, serb
2025-04-04 18:16:57 +00:00
Phil Race
31a6de2e74 8353309: Open source several Swing text tests
Reviewed-by: aivanov, serb
2025-04-04 18:13:22 +00:00
Magnus Ihse Bursie
3cc43b3224 8349075: Once again allow -compilejdk in JAVA_OPTIONS
Reviewed-by: rehn, erikj
2025-04-04 13:44:55 +00:00
Magnus Ihse Bursie
9fb3609955 8350774: Generated test-<testname> targets broken after JDK-8348998
Reviewed-by: erikj
2025-04-04 13:44:36 +00:00
Magnus Ihse Bursie
5520ff12ec 8340341: Abort in configure when using Xcode 16.0 or 16.1
Reviewed-by: jwaters, erikj
2025-04-04 13:44:16 +00:00
Magnus Ihse Bursie
3670fde77f 8349467: INIT_TARGETS tab completions on "make" lost with JDK-8348998
Reviewed-by: erikj
2025-04-04 13:43:55 +00:00
Magnus Ihse Bursie
3241b4e111 8353066: Properly detect Windows/aarch64 as build platform
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Reviewed-by: mikael, prr, erikj
2025-04-04 13:32:26 +00:00
Johannes Graham
37f8e419f9 8347645: C2: XOR bounded value handling blocks constant folding
Reviewed-by: epeter, vlivanov, qamai, jkarthikeyan
2025-04-04 13:24:22 +00:00
Magnus Ihse Bursie
4dca735bf3 8315844: $LSB_RELEASE is not defined before use
Reviewed-by: jwaters, erikj, djelinski
2025-04-04 13:19:42 +00:00
Joel Sikström
b92a44364d 8353471: ZGC: Redundant generation id in ZGeneration
Reviewed-by: stefank, eosterlund
2025-04-04 11:53:11 +00:00
Alexey Semenyuk
cfcb3305f0 8353681: jpackage suppresses errors when executed with --verbose option
Reviewed-by: almatvee
2025-04-04 11:49:57 +00:00
Alexey Semenyuk
10d1fec3ff 8353679: Restructure classes in jdk.jpackage.internal package
Reviewed-by: almatvee
2025-04-04 11:46:53 +00:00
Varada M
1161b566ca 8353053: (fs) Add support for UserDefinedFileAttributeView on AIX
Reviewed-by: mdoerr, jkern
2025-04-04 10:30:43 +00:00
Martin Doerr
a13e34da3f 8353274: [PPC64] Bug related to -XX:+UseCompactObjectHeaders -XX:-UseSIGTRAP in JDK-8305895
Reviewed-by: rrich, amitkumar
2025-04-04 07:59:41 +00:00
Varada M
41d4a0d7bd 8352392: AIX: implement attach API v2 and streaming output
Reviewed-by: mdoerr, jkern, amenkov
2025-04-04 06:41:08 +00:00
Chen Liang
1c2a5533f4 8327858: Improve spliterator and forEach for single-element immutable collections
Reviewed-by: smarks, vklang
2025-04-04 00:59:02 +00:00
Chen Liang
a449aeef28 8350704: Create tests to ensure the failure behavior of core reflection APIs
Reviewed-by: darcy
2025-04-04 00:58:32 +00:00
Stuart Marks
57df89c464 8353684: [BACKOUT] j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: dholmes
2025-04-03 21:15:00 +00:00
David Beaumont
ebcb9a8b12 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: dfuchs, smarks
2025-04-03 20:11:19 +00:00
Roman Kennke
d894b781b8 8353588: [REDO] DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: coleenp, aboldtch
2025-04-03 17:12:38 +00:00
Abhishek Kumar
db08726884 8352966: Opensource Several Font related tests - Batch 2
Reviewed-by: aivanov
2025-04-03 16:57:12 +00:00
Liam Miller-Cushon
6b7b3247b1 8351431: Type annotations on new class creation expressions can't be retrieved
Reviewed-by: vromero
2025-04-03 16:09:08 +00:00
Thomas Schatzl
64b691ab61 8271870: G1: Add objArray splitting when scanning object with evacuation failure
8271871: G1 does not try to deduplicate objects that failed evacuation

Reviewed-by: iwalulya, ayang
2025-04-03 15:06:22 +00:00
Amit Kumar
b428cda3c6 8349686: [s390x] C1: Improve Class.isInstance intrinsic
Reviewed-by: lucy, aph
2025-04-03 14:47:26 +00:00
Alexey Semenyuk
70e3250045 8352419: Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail
Reviewed-by: almatvee
2025-04-03 13:56:34 +00:00
Marc Chevalier
296d9d6f7a 8353345: C2 asserts because maskShiftAmount modifies node without deleting the hash
Reviewed-by: chagedorn, thartmann
2025-04-03 12:23:11 +00:00
Hannes Greule
3ceabf0f64 8353359: C2: Or(I|L)Node::Ideal is missing AddNode::Ideal call
Reviewed-by: epeter, chagedorn
2025-04-03 11:34:45 +00:00
Erik Gahlin
b263292a75 8353484: JFR: Simplify EventConfiguration
Reviewed-by: mgronlun
2025-04-03 11:07:52 +00:00
Stefan Karlsson
ffca4f2da8 8353264: ZGC: Windows heap unreserving is broken
Reviewed-by: jsikstro, aboldtch, eosterlund, stuefe
2025-04-03 10:44:58 +00:00
Jatin Bhateja
f7a94feedd 8352585: Add special case handling for Float16.max/min x86 backend
Reviewed-by: epeter, sviswanathan
2025-04-03 09:21:55 +00:00
Thomas Fitzsimmons
9c5ed23eac 8349988: Change cgroup version detection logic to not depend on /proc/cgroups
8347811: Container detection code for cgroups v2 should use cgroup.controllers

Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, asmehra
2025-04-03 08:38:50 +00:00
Marc Chevalier
00a038e9c5 8353341: C2: removal of a Mod[DF]Node crashes when the node is already dead
Reviewed-by: thartmann, chagedorn
2025-04-03 08:37:36 +00:00
David Beaumont
bd74922157 8338675: javac shouldn't silently change .jar files on the classpath
Reviewed-by: jlahoda
2025-04-03 05:36:31 +00:00
Christian Hagedorn
8d3d1d4137 8353058: [PPC64] Some IR framework tests are failing after JDK-8352595
Reviewed-by: mchevalier, thartmann
2025-04-03 05:25:56 +00:00
Ioi Lam
b01026abaa 8353325: Rewrite appcds/methodHandles test cases to use CDSAppTester
Reviewed-by: ccheung
2025-04-03 00:41:56 +00:00
Coleen Phillimore
e2e1598ecc 8353584: [BACKOUT] DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: rkennke
2025-04-02 23:37:56 +00:00
Doug Simon
814730eae7 8352645: Add tool support to check order of includes
Reviewed-by: stefank, kbarrett
2025-04-02 22:30:13 +00:00
Alex Menkov
d4353626d5 8353479: jcmd with streaming output breaks intendation
Reviewed-by: sspitsyn, jsjolen
2025-04-02 21:58:33 +00:00
Vladimir Ivanov
130b0cdaa6 8353217: Build libsleef on macos-aarch64
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj, kvn, ihse
2025-04-02 19:42:30 +00:00
Joe Wang
209e72d311 8353234: Refactor XMLSecurityPropertyManager
Reviewed-by: naoto, iris, lancea
2025-04-02 19:03:03 +00:00
Chris Plummer
cc870d4960 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM
Reviewed-by: alanb, jpai, sspitsyn
2025-04-02 17:04:37 +00:00
Larry Cable
d979bd8592 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15
Reviewed-by: dholmes, kevinw
2025-04-02 16:00:14 +00:00
Roman Kennke
49cb7aaad9 8339114: DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: coleenp, aboldtch
2025-04-02 15:57:32 +00:00
Patricio Chilano Mateo
d32ff13922 8353117: Crash: assert(id >= ThreadIdentifier::initial() && id < ThreadIdentifier::current()) failed: must be reasonable)
Reviewed-by: dholmes, fbredberg
2025-04-02 14:32:03 +00:00
Albert Mingkun Yang
a0677d94d8 8353263: Parallel: Remove locking in PSOldGen::resize
Reviewed-by: tschatzl, zgu
2025-04-02 14:19:26 +00:00
Marc Chevalier
8608b16341 8348887: Create IR framework test for JDK-8347997
Reviewed-by: thartmann, chagedorn
2025-04-02 13:27:56 +00:00
Jan Lahoda
23eb648cae 8353545: Improve debug info for StartOptionTest
Reviewed-by: asotona
2025-04-02 13:19:08 +00:00
Casper Norrbin
4f97c4c036 8349211: Add support for intrusive trees to the utilities red-black tree
Reviewed-by: aboldtch, jsjolen
2025-04-02 12:40:48 +00:00
Christian Hagedorn
c9baa8a7ae 8352418: Add verification code to check that the associated loop nodes of useless Template Assertion Predicates are dead
Reviewed-by: epeter, roland
2025-04-02 12:19:24 +00:00
Zhengyu Gu
b80b04d77a 8353329: Small memory leak when create GrowableArray with initial size 0
Reviewed-by: jsjolen, stefank
2025-04-02 11:56:53 +00:00
Magnus Ihse Bursie
4a50778a26 8353458: Don't pass -Wno-format-nonliteral to CFLAGS
Reviewed-by: erikj
2025-04-02 09:30:35 +00:00
SendaoYan
9076673d7d 8304674: File java.c compile error with -fsanitize=address -O0
Reviewed-by: ihse, jwaters
2025-04-02 08:26:22 +00:00
Daniel Skantz
8fb67ac55b 8282053: IGV: refine schedule approximation
Reviewed-by: rcastanedalo, dlunden, dfenacci
2025-04-02 07:45:48 +00:00
Manuel Hässig
d358f5f4a4 8347449: C2: UseLoopPredicate off should also turn UseProfiledLoopPredicate off
Reviewed-by: chagedorn, epeter
2025-04-02 06:48:06 +00:00
Manuel Hässig
f301663b34 8352893: C2: OrL/INode::add_ring optimize (x | -1) to -1
Reviewed-by: epeter, thartmann, kvn
2025-04-02 06:30:55 +00:00
Ioi Lam
15d36ee4a5 8353330: Test runtime/cds/appcds/SignedJar.java fails in CDSHeapVerifier
Reviewed-by: vlivanov, dholmes, liach
2025-04-02 03:56:19 +00:00
David Holmes
e6fe2490bc 8323100: com/sun/tools/attach/StartManagementAgent.java failed with "WaitForSingleObject failed"
Reviewed-by: kevinw, amenkov
2025-04-02 02:54:27 +00:00
Ioi Lam
096e70de2d 8352437: Support --add-exports with -XX:+AOTClassLinking
Reviewed-by: matsaave
2025-04-02 01:37:27 +00:00
Ioi Lam
6970cf6ac6 8352775: JVM crashes with -XX:AOTMode=create -XX:+UseZGC
Reviewed-by: ccheung, matsaave
2025-04-01 22:01:14 +00:00
Brian Burkhalter
afcad8ca61 5043343: FileImageInputStream and FileImageOutputStream do not properly track streamPos for RandomAccessFile
Reviewed-by: prr
2025-04-01 21:05:54 +00:00
Phil Race
6891490892 8353324: Clean up of comments and import after 8319192
Reviewed-by: dnguyen, kizune
2025-04-01 18:42:49 +00:00
Mikael Vidstedt
07fd666d99 8342984: Bump minimum boot jdk to JDK 24
Reviewed-by: iris, darcy, liach, ihse
2025-04-01 18:24:14 +00:00
Calvin Cheung
6a46d554c7 8353129: CDS ArchiveRelocation tests fail after JDK-8325132
Reviewed-by: iklam, dholmes
2025-04-01 16:43:25 +00:00
Markus Grönlund
19eabaff55 8353227: JFR: Prepare tests for strong parser validation
Reviewed-by: egahlin
2025-04-01 16:37:34 +00:00
Naoto Sato
564066d549 8353118: Deprecate the use of java.locale.useOldISOCodes system property
Reviewed-by: iris, jlu
2025-04-01 16:22:56 +00:00
David Holmes
a1ab1d8de4 8353449: [BACKOUT] One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: alanb, ihse
2025-04-01 12:59:49 +00:00
Alan Bateman
2a31f69a55 8353331: Test ForkJoinPool20Test::testFixedDelaySequence is failing
Reviewed-by: dl, vklang
2025-04-01 12:42:02 +00:00
Patrick Zhang
1809138b1c 8352284: EXTRA_CFLAGS incorrectly applied to BUILD_LIBJVM src/hotspot C++ source files
Reviewed-by: erikj
2025-04-01 11:47:32 +00:00
Patrick Zhang
cef5610b5d 8353272: One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: erikj
2025-04-01 11:47:13 +00:00
Leo Korinth
6801eb8704 8352709: Remove bad timing annotations from WhileOpTest.java
Reviewed-by: jpai
2025-04-01 10:54:17 +00:00
Leo Korinth
85a0baf0cb 8352719: Add an equals sign to the modules statement
Reviewed-by: weijun
2025-04-01 10:50:46 +00:00
Markus Grönlund
f25f701652 8353226: JFR: emit old object samples must be transitive closure complete for segment
Reviewed-by: egahlin
2025-04-01 09:17:44 +00:00
Afshin Zafari
aff5aa72bb 8350566: NMT: add size parameter to MemTracker::record_virtual_memory_tag
Reviewed-by: jsjolen, gziemski
2025-04-01 08:25:53 +00:00
Joachim Kern
196334fc39 8352046: Test testEcoFriendly() in jdk tools launcher ExecutionEnvironment.java for AIX and Linux/musl is brittle
Reviewed-by: clanger, mbaesken
2025-04-01 08:09:53 +00:00
SendaoYan
ad48846edd 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing
Reviewed-by: tschatzl
2025-04-01 06:25:07 +00:00
David Holmes
8b4e190bc8 8353349: ProblemList runtime/cds/appcds/SignedJar.java
Reviewed-by: iklam, jpai
2025-04-01 05:42:52 +00:00
Fei Yang
860a789e91 8353219: RISC-V: Fix client builds after JDK-8345298
Reviewed-by: fjiang, rehn
2025-04-01 01:39:22 +00:00
Ioi Lam
a83760a6f2 8352092: -XX:AOTMode=record crashes with InstanceKlass in allocated state
Reviewed-by: dholmes, coleenp
2025-03-31 23:35:48 +00:00
Alexey Semenyuk
1077265953 8353321: [macos] ErrorTest.testAppContentWarning test case requires signing environment
Reviewed-by: almatvee
2025-03-31 22:16:05 +00:00
Alexey Semenyuk
52f56e608e 8353196: [macos] Contents of ".jpackage.xml" file are wrong when building .pkg from unsigned app image
Reviewed-by: almatvee
2025-03-31 22:07:14 +00:00
Hai-May Chao
acd4da49a0 8353299: VerifyJarEntryName.java test fails
Reviewed-by: mullan
2025-03-31 21:39:11 +00:00
Ioi Lam
5eee32d04b 8352768: CDS test MethodHandleTest.java failed in -Xcomp mode
Reviewed-by: dholmes, shade, vlivanov
2025-03-31 20:43:21 +00:00
Doug Lea
8b0602dbed 8319447: Improve performance of delayed task handling
Reviewed-by: vklang, alanb
2025-03-31 19:23:59 +00:00
Ian Graves
fe8bd75621 8351290: Clarify integral only for vector operators
Reviewed-by: liach, psandoz
2025-03-31 18:28:30 +00:00
Xiaolong Peng
4d1de46cb8 8352185: Shenandoah: Invalid logic for remembered set verification
8345399: GenShen: Error: Verify init-mark remembered set violation; clean card should be dirty

Reviewed-by: ysr, kdnilsen, wkemper
2025-03-31 18:13:31 +00:00
Koushik Thirupattur
3e96f5cbca 8351366: Remove the java.security.debug=scl option
Reviewed-by: hchao, mullan
2025-03-31 16:54:12 +00:00
Naoto Sato
4247744266 8351435: Change the default Console implementation back to the built-in one in java.base module
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: alanb
2025-03-31 16:46:57 +00:00
Artur Barashev
9c06dcb439 8349583: Add mechanism to disable signature schemes based on their TLS scope
Reviewed-by: mullan, ascarpino
2025-03-31 16:45:40 +00:00
Alexander Zvegintsev
cd5a43a980 8353126: Open source events tests batch1
Reviewed-by: honkar, kizune
2025-03-31 16:39:44 +00:00
Anthony Scarpino
e4e62789c7 8346129: Simplify EdDSA & XDH curve name usage
Reviewed-by: weijun, abarashev
2025-03-31 15:59:30 +00:00
Artur Barashev
7a2e198e9f 8352277: java.security documentation: incorrect regex syntax describing "usage" algorithm constraint
Reviewed-by: mullan, hchao, ascarpino
2025-03-31 15:48:03 +00:00
SendaoYan
b7ca76ef4b 8353235: Test jdk/jfr/api/metadata/annotations/TestPeriod.java fails with IllegalArgumentException
Reviewed-by: egahlin
2025-03-31 15:45:23 +00:00
Hai-May Chao
bbd5b174c5 8339280: jarsigner -verify performs cross-checking between CEN and LOC
Reviewed-by: mullan, weijun, lancea
2025-03-31 15:04:48 +00:00
Alexander Zvegintsev
d4d18350f3 8352860: Open source events tests batch0
Reviewed-by: psadhukhan
2025-03-31 12:36:37 +00:00
Serhiy Sachkov
c9c3c15368 8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Reviewed-by: dfuchs
2025-03-31 12:09:48 +00:00
Ivan Walulya
804a8fa4e9 8352765: G1CollectedHeap::expand_and_allocate() may fail to allocate even after heap expansion succeeds
Reviewed-by: tschatzl, manc
2025-03-31 11:15:47 +00:00
Aleksey Shipilev
22f630cb20 8352415: x86: Tighten up template interpreter method entry code
Reviewed-by: adinn, jsjolen
2025-03-31 10:30:23 +00:00
Aleksey Shipilev
6fbaa066ce 8353176: C1: x86 patching stub always calls Thread::current()
Reviewed-by: mdoerr, kvn, vlivanov
2025-03-31 10:01:23 +00:00
David Linus Briemann
79d0c94b5c 8352114: New test runtime/interpreter/CountBytecodesTest.java is failing
Reviewed-by: dholmes, mdoerr
2025-03-31 08:53:31 +00:00
Aleksey Shipilev
23e3b3ff6a 8351156: C1: Remove FPU stack support after 32-bit x86 removal
Reviewed-by: vlivanov, kvn
2025-03-31 08:16:10 +00:00
Christian Hagedorn
25925138b0 8350577: Fix missing Assertion Predicates when splitting loops
Reviewed-by: epeter, kvn
2025-03-31 07:38:53 +00:00
Thomas Stuefe
59629f88e6 8351040: [REDO] Protection zone for easier detection of accidental zero-nKlass use
Reviewed-by: mbaesken, iklam
2025-03-30 16:42:38 +00:00
Rohit Arul Raj
8cbadf78d0 8317976: Optimize SIMD sort for AMD Zen 4
Reviewed-by: psandoz, vlivanov
2025-03-30 13:22:21 +00:00
Zihao Lin
b9d7a75ade 8352879: TestPeriod.java and TestGetContentType.java run wrong test class
Reviewed-by: mgronlun
2025-03-30 13:14:52 +00:00
SendaoYan
895aabc463 8351233: [ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized
Reviewed-by: vlivanov
2025-03-30 13:05:31 +00:00
Daniel Gredler
3d2c3cd40e 8352970: Remove unnecessary Windows version check in Win32ShellFolderManager2
Reviewed-by: prr, serb
2025-03-28 17:22:33 +00:00
Naoto Sato
c70ad6a053 8352906: stdout/err.encoding on Windows set by incorrect Win32 call
Reviewed-by: bpb, alanb
2025-03-28 16:26:43 +00:00
Prasanta Sadhukhan
da3bb06797 8352685: Opensource JInternalFrame tests - series2
Reviewed-by: azvegint
2025-03-28 15:50:10 +00:00
Kevin Driver
d8090337ee 8341775: Duplicate manifest files are removed by jarsigner after signing
Reviewed-by: weijun, hchao
2025-03-28 15:27:26 +00:00
Volodymyr Paprotski
a269bef04c 8350459: MontgomeryIntegerPolynomialP256 multiply intrinsic with AVX2 on x86_64
Reviewed-by: ascarpino, sviswanathan
2025-03-28 15:20:31 +00:00
Zihao Lin
c029220379 8352896: LambdaExpr02.java runs wrong test class
Reviewed-by: shade, jlahoda
2025-03-28 13:19:23 +00:00
Prasanta Sadhukhan
c0b61d3b88 8352680: Opensource few misc swing tests
Reviewed-by: abhiscxk
2025-03-28 13:03:30 +00:00
Manuel Hässig
3e9a7a4aed 8353063: make/ide/vscode: Invalid Configuration Values
Reviewed-by: erikj, thartmann
2025-03-28 08:58:43 +00:00
Manuel Hässig
8ef78323b1 8350471: Unhandled compilation bailout in GraphKit::builtin_throw
Reviewed-by: thartmann, chagedorn, kvn
2025-03-28 08:53:37 +00:00
Matthias Baesken
ddf326b8e6 8346888: [ubsan] block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
Reviewed-by: kvn, dlong
2025-03-28 08:19:20 +00:00
Matthias Baesken
bac2aa4445 8352946: SEGV_BND signal code of SIGSEGV missing from our signal-code table
Reviewed-by: mdoerr, dholmes
2025-03-28 08:13:31 +00:00
Prasanta Sadhukhan
cfc648bd17 8352677: Opensource JMenu tests - series2
Reviewed-by: abhiscxk
2025-03-28 06:52:14 +00:00
SendaoYan
2ea1557a0f 8353005: AIX build broken after 8352481
Reviewed-by: mdoerr, mbaesken, erikj
2025-03-28 06:03:36 +00:00
Cesar Soares Lucas
f4428e89b7 8352920: Compilation failure: comparison of unsigned expression >= 0 is always true
Reviewed-by: dholmes
2025-03-28 04:50:39 +00:00
Daniel Gredler
d5b12c82fe 8352890: Remove unnecessary Windows version check in FileFontStrike
Reviewed-by: serb, prr
2025-03-28 00:34:41 +00:00
Justin Lu
58ef4015b7 5061061: SimpleDateFormat: unspecified behavior for reserved pattern letter
Reviewed-by: naoto, rriggs
2025-03-27 20:40:05 +00:00
Ioi Lam
4ce9b4c72e 8352435: Refactor CDS test library for execution and module packaging
Reviewed-by: ccheung, shade
2025-03-27 20:28:18 +00:00
Aleksey Shipilev
b73663a2b4 8351155: C1/C2: Remove 32-bit x86 specific FP rounding support
Reviewed-by: vlivanov, kvn
2025-03-27 18:10:53 +00:00
William Kemper
1bd0ce1f51 8352918: Shenandoah: Verifier does not deactivate barriers as intended
Reviewed-by: kdnilsen, shade, ysr
2025-03-27 16:34:19 +00:00
Joel Sikström
dc5c4148c7 8352762: Use EXACTFMT instead of expanded version where applicable
Reviewed-by: dholmes, stuefe
2025-03-27 15:49:12 +00:00
Calvin Cheung
2eeda64632 8325132: CDS: Make sure the ArchiveRelocationMode is always printed in the log
Reviewed-by: shade, iklam
2025-03-27 15:34:56 +00:00
Vladimir Ivanov
50ac24eb0f 8351593: [JMH] test PhoneCode.Bulk reports NPE exception
Reviewed-by: redestad, drwhite
2025-03-27 14:58:07 +00:00
Jiangli Zhou
79824c344e 8352184: Jtreg tests using CommandLineOptionTest.getVMTypeOption() and optionsvalidation.JVMOptionsUtils fail on static JDK
Reviewed-by: dholmes, shade
2025-03-27 14:40:02 +00:00
Thomas Schatzl
c50a0a1fc1 8352508: [Redo] G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: ayang, iwalulya
2025-03-27 14:30:31 +00:00
Casper Norrbin
89e5c42d90 8294954: Remove superfluous ResourceMarks when using LogStream
Reviewed-by: dholmes, jsjolen
2025-03-27 14:28:47 +00:00
Alexey Ivanov
41f3eea9b2 8352624: Add missing {@code} to PassFailJFrame.Builder.splitUI
Reviewed-by: serb, honkar
2025-03-27 12:05:17 +00:00
Aleksey Shipilev
e2cd70aab6 8351151: Clean up x86 template interpreter after 32-bit x86 removal
Reviewed-by: coleenp, fparain, vlivanov
2025-03-27 11:59:37 +00:00
Varada M
b9907801af 8352393: AIX: Problem list serviceability/attach/AttachAPIv2/StreamingOutputTest.java
Reviewed-by: jsjolen, mdoerr
2025-03-27 11:46:46 +00:00
Marc Chevalier
927aeb2fee 8352617: IR framework test TestCompileCommandFileWriter.java runs TestCompilePhaseCollector instead of itself
Reviewed-by: chagedorn, thartmann
2025-03-27 11:36:14 +00:00
Boris Ulasevich
0bfa636c7f 8352426: RelocIterator should correctly handle nullptr address of relocation data
Reviewed-by: dlong, vlivanov, kvn
2025-03-27 11:31:20 +00:00
Aleksey Shipilev
b7ffd223e8 8352980: Purge infrastructure for FP-to-bits interpreter intrinsics after 32-bit x86 removal
Reviewed-by: kvn, vlivanov, coleenp
2025-03-27 11:24:48 +00:00
Vladimir Petko
9a87e2134e 8352800: [PPC] OpenJDK fails to build on PPC after JDK-8350106
Reviewed-by: rrich, shade
2025-03-27 10:31:53 +00:00
Frederic Thevenet
4100dc9d4c 8350801: Add a code signing hook to the JDK build system
Reviewed-by: ihse, erikj
2025-03-27 10:16:59 +00:00
Prasanta Sadhukhan
8a40498d79 8352678: Opensource few JMenuItem tests
Reviewed-by: abhiscxk
2025-03-27 10:11:11 +00:00
Hannes Greule
66b5dba690 8350988: Consolidate Identity of self-inverse operations
Reviewed-by: epeter, vlivanov
2025-03-27 07:39:34 +00:00
Robbin Ehn
10078111af 8352897: RISC-V: Change default value for UseConservativeFence
Reviewed-by: luhenry, fyang
2025-03-27 07:32:48 +00:00
Robbin Ehn
7853415217 8352218: RISC-V: Zvfh requires RVV
Reviewed-by: fyang, mli
2025-03-27 07:30:34 +00:00
Ioi Lam
24833403b6 8352579: Refactor CDS legacy optimization for lambda proxy classes
Reviewed-by: ccheung, matsaave
2025-03-27 00:23:51 +00:00
Alexey Semenyuk
1397ee56c0 8334322: Misleading values of keys in jpackage resource bundle
Reviewed-by: almatvee
2025-03-26 20:08:02 +00:00
Serguei Spitsyn
441bd12656 8352812: remove useless class and function parameter in SuspendThread impl
Reviewed-by: lmesnik, cjplummer
2025-03-26 19:45:50 +00:00
Aleksey Shipilev
e83cccfed4 8352948: Remove leftover runtime_x86_32.cpp after 32-bit x86 removal
Reviewed-by: stefank, kvn
2025-03-26 19:45:24 +00:00
William Kemper
5672a934fa 8348400: GenShen: assert(ShenandoahHeap::heap()->is_full_gc_in_progress() || (used_regions_size() <= _max_capacity)) failed: Cannot use more than capacity #
Reviewed-by: ysr
2025-03-26 17:33:23 +00:00
Markus Grönlund
c2a4fed98c 8348907: Stress times out when is executed with ZGC
Reviewed-by: egahlin, aboldtch, eosterlund
2025-03-26 17:30:45 +00:00
Jiangli Zhou
53926742c0 8352766: Problemlist hotspot tier1 tests requiring tools that are not included in static JDK
Reviewed-by: dholmes, ihse
2025-03-26 16:16:38 +00:00
Naoto Sato
1d205f5f07 8352716: (tz) Update Timezone Data to 2025b
Reviewed-by: coffeys, joehw
2025-03-26 16:09:24 +00:00
Xiaolong Peng
a2a64dac16 8352588: GenShen: Enabling JFR asserts when getting GCId
Reviewed-by: wkemper, ysr
2025-03-26 15:38:16 +00:00
Roland Westrelin
79bffe2f28 8349361: C2: RShiftL should support all applicable transformations that RShiftI does
Reviewed-by: epeter, chagedorn, jkarthikeyan
2025-03-26 14:37:53 +00:00
Daniel Fuchs
eef6aefc21 8352623: MultiExchange should cancel exchange impl if responseFilters throws
Reviewed-by: djelinski
2025-03-26 13:01:44 +00:00
Nizar Benalla
e2a461bdde 8351332: Line breaks in search tag descriptions corrupt JSON search index
Reviewed-by: hannesw, liach
2025-03-26 12:59:25 +00:00
Nizar Benalla
c14bbea93e 8352740: Introduce new factory method HtmlTree.IMG
Reviewed-by: liach, jjg
2025-03-26 12:45:44 +00:00
Tobias Hartmann
84d3dc75e4 8352965: [BACKOUT] 8302459: Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Reviewed-by: chagedorn
2025-03-26 12:32:52 +00:00
Matthias Baesken
b4dc364575 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp
Reviewed-by: kbarrett, mdoerr
2025-03-26 12:31:28 +00:00
Severin Gehwolf
bc5cde1b19 8352692: Add support for extra jlink options
Reviewed-by: ihse, erikj
2025-03-26 10:53:07 +00:00
Saranya Natarajan
059f190f4b 8352490: Fatal error message for unhandled bytecode needs more detail
Reviewed-by: thartmann, chagedorn
2025-03-26 09:39:28 +00:00
Aleksey Shipilev
ee710fec21 8345169: Implement JEP 503: Remove the 32-bit x86 Port
Reviewed-by: ihse, mdoerr, vlivanov, kvn, coleenp, dholmes
2025-03-26 09:23:45 +00:00
Kevin Walls
eb6e8288c6 8351002: com/sun/management/OperatingSystemMXBean cpuLoad tests fail intermittently
Reviewed-by: sspitsyn, lmesnik
2025-03-26 09:03:19 +00:00
Daniel Jeliński
e32a0c90fe 8352706: httpclient HeadTest does not run on HTTP2
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: michaelm
2025-03-26 08:12:45 +00:00
Fredrik Bredberg
45a9750b2c 8351655: Optimize ObjectMonitor::unlink_after_acquire()
Reviewed-by: pchilanomate, dholmes, coleenp
2025-03-26 07:30:04 +00:00
Damon Fenacci
2e4d7d1846 8302459: Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: thartmann, vlivanov
2025-03-26 07:07:48 +00:00
Eirik Bjørsnøs
1a8c8e07fe 8352858: Make java.net.JarURLConnection fields final
Reviewed-by: jpai, dfuchs
2025-03-26 06:09:17 +00:00
Dingli Zhang
a81250c553 8352673: RISC-V: Vector can't be turned on with -XX:+UseRVV
Reviewed-by: rehn, fyang, syan
2025-03-26 01:58:02 +00:00
SendaoYan
0935ba9a8c 8352481: Enforce the use of lld with clang
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, erikj
2025-03-26 01:24:55 +00:00
William Kemper
dbc620fb1f 8352299: GenShen: Young cycles that interrupt old cycles cannot be cancelled
Reviewed-by: shade
2025-03-25 19:50:06 +00:00
Chen Liang
f5a0db43b7 8315447: Invalid Type Annotation attached to a method instead of a lambda
Reviewed-by: vromero
2025-03-25 19:01:22 +00:00
Chen Liang
60544a15d6 8164714: Constructor.newInstance creates instance of inner class with null outer class
Reviewed-by: vromero
2025-03-25 19:01:02 +00:00
Emanuel Peter
c856b3425a 8352587: C2 SuperWord: we must avoid Multiversioning for PeelMainPost loops
Reviewed-by: chagedorn, kvn
2025-03-25 16:08:57 +00:00
Naoto Sato
993eae4aa5 8346948: Update CLDR to Version 47.0
Reviewed-by: jlu, joehw
2025-03-25 15:52:18 +00:00
David Linus Briemann
e98838f58d 8352065: [PPC64] C2: Implement PopCountVL, CountLeadingZerosV and CountTrailingZerosV nodes
Reviewed-by: mdoerr, rrich
2025-03-25 15:16:46 +00:00
Volkan Yazici
03105fc925 8351601: [JMH] test UnixSocketChannelReadWrite failed for 2 threads config
Reviewed-by: michaelm
2025-03-25 14:35:45 +00:00
Archie Cobbs
fe03e2ecbd 8351897: Extra closing curly brace typos in Javadoc
Reviewed-by: liach
2025-03-25 14:28:05 +00:00
Mikhail Yankelevich
fa0b18bfde 8352509: Update jdk.test.lib.SecurityTools jar method to accept List<String> parameter
Reviewed-by: weijun
2025-03-25 13:04:30 +00:00
Kevin Walls
3ac9678ea1 8351224: Deprecate com.sun.tools.attach.AttachPermission for removal
Reviewed-by: sspitsyn
2025-03-25 12:32:37 +00:00
Kevin Walls
997aa176db 8351310: Deprecate com.sun.jdi.JDIPermission for removal
Reviewed-by: sspitsyn, cjplummer
2025-03-25 12:32:16 +00:00
Christian Hagedorn
c953e0ede1 8350579: Remove Template Assertion Predicates belonging to a loop once it is folded away
Reviewed-by: epeter, roland
2025-03-25 11:58:28 +00:00
Tobias Hartmann
67c4405250 8352866: TestLogJIT.java runs wrong test class
Reviewed-by: rcastanedalo, chagedorn
2025-03-25 11:52:54 +00:00
Magnus Ihse Bursie
bab93729c2 8352618: Remove old deprecated functionality in the build system
Reviewed-by: erikj, kbarrett, jwaters
2025-03-25 10:58:10 +00:00
Magnus Ihse Bursie
512b9b16e0 8196896: Use SYSROOT_CFLAGS in dtrace gensrc
Reviewed-by: erikj
2025-03-25 10:56:52 +00:00
Markus Grönlund
721ef76738 8352696: JFR: assert(false): EA: missing memory path
Reviewed-by: thartmann, shade, kvn
2025-03-25 10:37:29 +00:00
Prasanta Sadhukhan
c002b97ee9 8352676: Opensource JMenu tests - series1
Reviewed-by: azvegint
2025-03-25 10:35:07 +00:00
Marc Chevalier
bdcac98673 8347459: C2: missing transformation for chain of shifts/multiplications by constants
Reviewed-by: dfenacci, epeter
2025-03-25 10:15:55 +00:00
Hamlin Li
3d3b782037 8352607: RISC-V: use cmove in min/max when Zicond is supported
Reviewed-by: fyang, rehn
2025-03-25 09:30:51 +00:00
Hamlin Li
9f582e56ba 8320997: RISC-V: C2 ReverseV
Reviewed-by: fyang, luhenry
2025-03-25 09:29:40 +00:00
Ivan Walulya
6879c446c6 8351405: G1: Collection set early pruning causes suboptimal region selection
Reviewed-by: ayang, tschatzl
2025-03-25 09:24:36 +00:00
Aleksey Shipilev
aee4d6910b 8348829: Remove ObjectMonitor perf counters
Reviewed-by: dholmes, coleenp
2025-03-25 09:01:48 +00:00
Xiaohong Gong
f9bcef4dba 8351627: C2 AArch64 ROR/ROL: assert((1 << ((T>>1)+3)) > shift) failed: Invalid Shift value
Reviewed-by: chagedorn, epeter, jbhateja, adinn
2025-03-25 08:27:18 +00:00
Aleksey Shipilev
17dc30c54e 8352414: JFR: JavaMonitorDeflateEvent crashes when deflated monitor object is dead
Reviewed-by: dholmes, mgronlun
2025-03-25 08:20:35 +00:00
Matthias Baesken
6bc480358c 8351277: Remove pipewire from AIX build
Reviewed-by: ihse, prr, azvegint
2025-03-25 08:01:15 +00:00
Marc Chevalier
c94bc7427c 8352595: Regression of JDK-8314999 in IR matching
Reviewed-by: chagedorn, thartmann
2025-03-25 07:28:06 +00:00
Damon Fenacci
48fac6626c 8347406: [REDO] C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: dlong, adinn
2025-03-25 07:10:47 +00:00
Xiaohong Gong
99c8a6e47a 8350463: AArch64: Add vector rearrange support for small lane count vectors
Reviewed-by: epeter, bkilambi, haosun
2025-03-25 06:06:42 +00:00
Alexey Semenyuk
b2da0d341b 8352289: [macos] Review skipped tests in tools/jpackage/macosx/SigningPackage*
Reviewed-by: almatvee
2025-03-25 01:45:03 +00:00
Xiaohong Gong
ba658a71ba 8349522: AArch64: Add backend implementation for new unsigned and saturating vector operations
Reviewed-by: epeter, haosun, bkilambi
2025-03-25 01:35:27 +00:00
Zihao Lin
5625b43ff4 8350429: runtime/NMT/CheckForProperDetailStackTrace.java should only run for debug JVM
Reviewed-by: stuefe, jsjolen
2025-03-25 01:34:11 +00:00
Alexey Semenyuk
2c60fc5189 8352176: Automate setting up environment for mac signing tests
Reviewed-by: almatvee
2025-03-24 22:46:08 +00:00
Phil Race
6e6a39d35f 8347321: [ubsan] CGGlyphImages.m:553:30: runtime error: nan is outside the range of representable values of type 'unsigned long'
Reviewed-by: kizune, azvegint, aivanov
2025-03-24 19:52:52 +00:00
Hamlin Li
b84b29278f 8352615: [Test] RISC-V: TestVectorizationMultiInvar.java fails on riscv64 without rvv support
Reviewed-by: fyang, rehn
2025-03-24 18:11:26 +00:00
Dhamoder Nalla
a54445f789 8350609: Cleanup unknown unwind opcode (0xB) for windows
Reviewed-by: sviswanathan, epeter
2025-03-24 17:40:42 +00:00
Srinivas Vamsi Parasa
c87e1be052 8349582: APX NDD code generation for OpenJDK
Reviewed-by: epeter, jbhateja, sviswanathan
2025-03-24 16:44:26 +00:00
Ian Graves
7d1fe0e03f 8339543: [vectorapi] laneHelper and withLaneHelper should be ForceInline
Reviewed-by: liach, psandoz
2025-03-24 16:24:56 +00:00
Naoto Sato
ddc4318053 8352628: Refine Grapheme test
Reviewed-by: jlu, joehw
2025-03-24 16:15:45 +00:00
Joachim Kern
d8c2f59a1b 8352064: AIX: now also able to build static-jdk image with a statically linked launcher
Reviewed-by: mdoerr, mbaesken, ihse
2025-03-24 16:15:36 +00:00
Erik Gahlin
5709f79cf8 8352648: JFR: 'jfr query' should not be available in product builds
Reviewed-by: mgronlun, shade
2025-03-24 15:16:54 +00:00
Thomas Schatzl
02a4ce23f8 8352147: G1: TestEagerReclaimHumongousRegionsClearMarkBits test takes very long
Reviewed-by: iwalulya, ayang
2025-03-24 12:18:02 +00:00
Roberto Castañeda Lozano
de580090cd 8351468: C2: array fill optimization assigns wrong type to intrinsic call
Reviewed-by: epeter, thartmann, qamai
2025-03-24 11:05:46 +00:00
Matthias Baesken
a875733266 8352486: [ubsan] compilationMemoryStatistic.cpp:659:21: runtime error: index 64 out of bounds for type const struct unnamed struct
Reviewed-by: kvn, mdoerr, stuefe
2025-03-24 08:07:28 +00:00
Manuel Hässig
5591f8a429 8351515: C2 incorrectly removes double negation for double and float
Reviewed-by: thartmann, chagedorn
2025-03-24 07:59:20 +00:00
Emanuel Peter
56a4ffa62c 8352597: [IR Framework] test bug: TestNotCompilable.java fails on product build
Reviewed-by: fyang, syan, thartmann
2025-03-24 07:57:14 +00:00
Marc Chevalier
e23e0f85ef 8352591: Missing UnlockDiagnosticVMOptions in VerifyGraphEdgesWithDeadCodeCheckFromSafepoints test
Reviewed-by: kvn, chagedorn, syan
2025-03-24 07:24:07 +00:00
Ioi Lam
adfb120649 8351748: Add class init barrier to AOT-cached Method/Var Handles
Reviewed-by: vlivanov, liach
2025-03-24 06:42:02 +00:00
David Holmes
ee1577b790 8352652: [BACKOUT] nsk/jvmti/ tests should fail when nsk_jvmti_setFailStatus() is called
Reviewed-by: lmesnik
2025-03-24 00:18:13 +00:00
Zihao Lin
df9210e657 8347706: jvmciEnv.cpp has jvmci includes out of order
Reviewed-by: dnsimon
2025-03-23 00:35:59 +00:00
Fei Yang
5dd0acb3cd 8352477: RISC-V: Print warnings when unsupported intrinsics are enabled
Reviewed-by: mli, rehn, fjiang
2025-03-22 02:31:53 +00:00
Leonid Mesnik
334a1eec23 8351375: nsk/jvmti/ tests should fail when nsk_jvmti_setFailStatus() is called
Reviewed-by: sspitsyn, cjplummer
2025-03-22 01:59:59 +00:00
Shaojin Wen
74420391fa 8337279: Share StringBuilder to format instant
Reviewed-by: naoto, liach
2025-03-22 01:35:09 +00:00
Vladimir Kozlov
22182f71ed 8352112: [ubsan] hotspot/share/code/relocInfo.cpp:130:37: runtime error: applying non-zero offset 18446744073709551614 to null pointer
Reviewed-by: dlong, bulasevich
2025-03-21 20:51:30 +00:00
Abhishek Kumar
c2e14b1b30 8343891: Test javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java failed
Reviewed-by: aivanov, psadhukhan
2025-03-21 17:47:57 +00:00
William Kemper
52c6ce6c73 8352091: GenShen: assert(!(request.generation->is_old() && _heap->old_generation()->is_doing_mixed_evacuations())) failed: Old heuristic should not request cycles while it waits for mixed evacuation
Reviewed-by: rkennke
2025-03-21 16:04:33 +00:00
Doug Simon
b8f3856389 8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer
Reviewed-by: kvn, mbaesken
2025-03-21 15:56:27 +00:00
Doug Simon
0cb110ebb7 8350892: [JVMCI] Align ResolvedJavaType.getInstanceFields with Class.getDeclaredFields
Reviewed-by: yzheng, never, thartmann
2025-03-21 13:00:25 +00:00
Hamlin Li
04eac0c3e2 8352159: RISC-V: add more zfa support
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:10:22 +00:00
Hamlin Li
ac760dd106 8352423: RISC-V: simplify DivI/L ModI/L
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:09:08 +00:00
Hamlin Li
d1cf232893 8352248: Check if CMoveX is supported
Reviewed-by: chagedorn, luhenry, rehn
2025-03-21 12:08:53 +00:00
Hamlin Li
2b55979595 8352529: RISC-V: enable loopopts tests
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:07:33 +00:00
Hannes Wallnöfer
84694584d5 8352511: Show additional level of headings in table of contents
Reviewed-by: liach
2025-03-21 11:57:42 +00:00
Hannes Wallnöfer
28250f83b7 8352151: Fix display issues in javadoc-generated docs
Reviewed-by: liach, nbenalla
2025-03-21 11:50:26 +00:00
Albert Mingkun Yang
b32be18bf9 8352178: Add precondition in VMThread::execute to prevent deadlock
Reviewed-by: pchilanomate, tschatzl, dholmes, shade
2025-03-21 10:35:35 +00:00
Magnus Ihse Bursie
07667ca2f4 8352506: Simplify make/test/JtregNativeHotspot.gmk
Reviewed-by: erikj
2025-03-21 10:20:29 +00:00
Thomas Schatzl
b545b9e79e 8352584: [Backout] G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: shade
2025-03-21 10:00:07 +00:00
David Linus Briemann
1c0fa0af78 8352512: TestVectorZeroCount: counter not reset between iterations
Reviewed-by: mdoerr, chagedorn
2025-03-21 09:23:30 +00:00
Marc Chevalier
466f82a499 8314999: IR framework fails to detect allocation
Reviewed-by: chagedorn, thartmann
2025-03-21 08:53:56 +00:00
Magnus Ihse Bursie
06ba6cf3a1 8329173: LCMS_CFLAGS from configure are lost
Reviewed-by: erikj, azvegint
2025-03-20 22:25:49 +00:00
Jatin Bhateja
56038fb5a1 8352317: Assertion failure during size estimation of BoxLockNode with -XX:+UseAPX
Reviewed-by: thartmann
2025-03-20 18:56:25 +00:00
Marc Chevalier
2bc4f64c56 8335708: C2: Compile::verify_graph_edges must start at root and safepoints, just like CCP traversal
Reviewed-by: chagedorn, epeter
2025-03-20 15:50:23 +00:00
Jan Lahoda
9a17a6ff0f 8350749: Upgrade JLine to 3.29.0
Reviewed-by: liach
2025-03-20 15:17:10 +00:00
Jiangli Zhou
91836e181a 8352276: Skip jtreg tests using native executable with libjvm.so/libjli.so dependencies on static JDK
Reviewed-by: dholmes
2025-03-20 15:09:03 +00:00
Christian Hagedorn
2560a63773 8352131: [REDO] C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: thartmann, kvn, epeter
2025-03-20 12:32:22 +00:00
Casper Norrbin
73177d9c53 8347734: Turning off PerfData logging doesn't work
Reviewed-by: dholmes, coleenp
2025-03-20 12:26:14 +00:00
Prasanta Sadhukhan
96305e0953 4466930: JTable.selectAll boundary handling
Reviewed-by: abhiscxk, tr
2025-03-20 09:28:57 +00:00
Emanuel Peter
fb210e3a71 8351952: [IR Framework]: allow ignoring methods that are not compilable
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, thartmann
2025-03-20 06:14:07 +00:00
Emanuel Peter
3ed010ab7c 8352020: [CompileFramework] enable compilation for VectorAPI
Reviewed-by: chagedorn, kvn
2025-03-20 06:13:52 +00:00
Hannes Wallnöfer
a5d06a1876 8352249: Remove incidental whitespace in traditional doc comments
Reviewed-by: liach
2025-03-20 05:59:18 +00:00
Kelvin Nilsen
74df384a98 8352428: GenShen: Old-gen cycles are still looping
Reviewed-by: wkemper, shade
2025-03-20 00:53:33 +00:00
Alexander Zuev
fcc2a24291 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError
Reviewed-by: honkar, prr
2025-03-19 20:05:44 +00:00
Andrew Dinn
ac3ad03a3f 8350589: Investigate cleaner implementation of AArch64 ML-DSA intrinsic introduced in JDK-8348561
Reviewed-by: dlong
2025-03-19 17:23:23 +00:00
William Kemper
8a1c85eaa9 8350898: Shenandoah: Eliminate final roots safepoint
Reviewed-by: rkennke, kdnilsen, cslucas
2025-03-19 16:56:53 +00:00
Joe Wang
8e999b83a4 8351969: Add Public Identifiers to the JDK built-in Catalog
Reviewed-by: rriggs, lancea, iris, naoto
2025-03-19 16:37:05 +00:00
Manukumar V S
c7f333888b 8352109: java/awt/Desktop/MailTest.java fails in platforms where Action.MAIL is not supported
Reviewed-by: aivanov
2025-03-19 15:25:22 +00:00
Dmitry Chuyko
fed34e46b8 8351933: Inaccurate masking of TC subfield decrement in ForkJoinPool
Reviewed-by: dl, alanb, liach
2025-03-19 11:35:26 +00:00
Saranya Natarajan
8f64ccc01b 8350485: C2: factor out common code in Node::grow() and Node::out_grow()
Reviewed-by: thartmann, rcastanedalo
2025-03-19 09:59:15 +00:00
Hamlin Li
c2be19c261 8351902: RISC-V: Several tests fail after JDK-8351145
Reviewed-by: rehn, fyang, syan
2025-03-19 09:42:22 +00:00
Christian Hagedorn
e57b272506 8350578: Refactor useless Parse and Template Assertion Predicate elimination code by using a PredicateVisitor
Reviewed-by: epeter, kvn, roland
2025-03-19 07:41:07 +00:00
Weijun Wang
577ede73d8 8352302: Test sun/security/tools/jarsigner/TimestampCheck.java is failing
Reviewed-by: dholmes
2025-03-19 02:20:07 +00:00
William Kemper
20d4fe3a57 8351464: Shenandoah: Hang on ShenandoahController::handle_alloc_failure when run test TestAllocHumongousFragment#generational
Reviewed-by: xpeng, ysr
2025-03-19 00:30:25 +00:00
Alexey Semenyuk
8e530633a9 8352275: Clean up dead code in jpackage revealed with improved negative test coverage
Reviewed-by: almatvee
2025-03-18 23:07:09 +00:00
Alexey Semenyuk
c8a11f28df 8352293: jpackage tests build rpm packages on Ubuntu test machines after JDK-8351372
Reviewed-by: almatvee
2025-03-18 21:35:54 +00:00
Jiangli Zhou
4a02de8292 8352098: -Xrunjdwp fails on static JDK
Reviewed-by: cjplummer, dholmes
2025-03-18 19:04:08 +00:00
Kim Barrett
355b2f3bdd 8351374: Improve comment about queue.remove timeout in CleanerImpl.run
Reviewed-by: rriggs, shade
2025-03-18 18:59:42 +00:00
Alex Menkov
a3540be502 8352163: [AIX] SIGILL in AttachOperation::ReplyWriter::write_fully after 8319055
Reviewed-by: dholmes, mdoerr
2025-03-18 17:59:01 +00:00
Alex Menkov
53c5b93ca5 8352180: AttachListenerThread causes many tests to timeout on Windows
Reviewed-by: dholmes, alanb
2025-03-18 17:54:38 +00:00
Patrick Zhang
b025d8c2e0 8350663: AArch64: Enable UseSignumIntrinsic by default
Reviewed-by: adinn
2025-03-18 15:44:28 +00:00
Matthias Baesken
a37d8434ab 8352015: LIBVERIFY_OPTIMIZATION remove special optimization settings
Reviewed-by: erikj, ihse
2025-03-18 12:59:29 +00:00
Anjian-Wen
b891bfa7e6 8352022: RISC-V: Support Zfa fminm_h/fmaxm_h for float16
Reviewed-by: fyang, mli
2025-03-18 11:01:18 +00:00
Aleksey Shipilev
20f1bca077 8351187: Add JFR monitor notification event
Reviewed-by: dholmes, lmesnik, mgronlun
2025-03-18 10:17:54 +00:00
Sergey Chernyshev
46b3d1d8cf 8351382: New test containers/docker/TestMemoryWithSubgroups.java is failing
Reviewed-by: sgehwolf, dholmes
2025-03-18 09:37:45 +00:00
Thomas Schatzl
558c015c99 8351921: G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: ayang, iwalulya
2025-03-18 09:29:51 +00:00
Thomas Schatzl
f8c2122b30 8352138: G1: Remove G1AddMetaspaceDependency.java test
Reviewed-by: ayang, shade
2025-03-18 09:28:43 +00:00
Quan Anh Mai
e1bcff3ada 8345687: Improve the implementation of SegmentFactories::allocateSegment
Reviewed-by: jvernee, mcimadamore
2025-03-18 08:59:48 +00:00
Afshin Zafari
f4ddac5e58 8331201: UBSAN enabled build reports on Linux x86_64 runtime error: shift exponent 65 is too large for 64-bit type 'long unsigned int'
Reviewed-by: dlong, aboldtch
2025-03-18 08:10:24 +00:00
Ioi Lam
38499b3fbf 8352084: Add more test code in TestSetupAOT.java
Reviewed-by: erikj, kvn, lmesnik
2025-03-18 00:49:36 +00:00
Roger Riggs
19154f7af3 8351970: Retire JavaLangAccess::exit
Reviewed-by: rgiulietti, liach, djelinski
2025-03-17 18:55:19 +00:00
Alexey Semenyuk
3aa6d62afe 8351372: Improve negative tests coverage of jpackage
Reviewed-by: almatvee
2025-03-17 18:38:28 +00:00
Sandhya Viswanathan
3239919a5a 8350835: C2 SuperWord: assert/wrong result when using Float.float16ToFloat with byte instead of short input
Reviewed-by: epeter, kvn
2025-03-17 17:50:34 +00:00
Jiangli Zhou
47c1960965 8351689: -Xshare:dump with default classlist fails on static JDK
Reviewed-by: iklam, dholmes
2025-03-17 16:55:41 +00:00
Harshitha Onkar
6b82b42a21 8348598: Update Libpng to 1.6.47
Reviewed-by: azvegint, prr, erikj
2025-03-17 16:50:33 +00:00
Jiangli Zhou
2674a31bb8 8351891: Disable TestBreakSignalThreadDump.java#with_jsig and XCheckJSig.java on static JDK
Reviewed-by: manc, dholmes
2025-03-17 16:36:20 +00:00
Leonid Mesnik
4c6a523e89 8352096: Test jdk/jfr/event/profiling/TestFullStackTrace.java shouldn't be executed with -XX:+DeoptimizeALot
Reviewed-by: egahlin
2025-03-17 16:07:52 +00:00
Erik Gahlin
d68775d711 8351995: JFR: Leftovers from removal of Security Manager
Reviewed-by: mgronlun
2025-03-17 15:29:14 +00:00
Matthew Donovan
e62becc6ce 8350964: Add an ArtifactResolver.fetch(clazz) method
Reviewed-by: weijun
2025-03-17 11:59:16 +00:00
Hamlin Li
dbf47d6c6c 8351876: RISC-V: enable and fix some float round tests
Reviewed-by: fyang
2025-03-17 11:47:18 +00:00
Markus Grönlund
d207ed3f7c 8352066: JVM.commit() and JVM.flush() exhibit race conditions against JFR epochs
Reviewed-by: egahlin
2025-03-17 10:47:18 +00:00
Erik Gahlin
0450ba9b65 8351999: JFR: Incorrect scaling of throttled values
Reviewed-by: shade
2025-03-17 10:32:11 +00:00
Markus Grönlund
e5666f56ff 8351976: assert(vthread_epoch == current_epoch) failed: invariant
Reviewed-by: egahlin
2025-03-17 10:03:53 +00:00
Markus Grönlund
2eecf159af 8351967: JFR: AnnotationIterator should handle num_annotations = 0
Reviewed-by: egahlin
2025-03-17 09:56:10 +00:00
Hannes Wallnöfer
c8913d2c9c 8345555: Improve layout of search results
Reviewed-by: liach, nbenalla
2025-03-17 09:00:50 +00:00
Christian Hagedorn
e29d405504 8352110: [BACKOUT] C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: thartmann, syan
2025-03-17 08:00:41 +00:00
Thomas Schatzl
9f8d833f86 8346194: Improve G1 pre-barrier C2 cost estimate
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, ayang
2025-03-17 07:57:45 +00:00
Joel Sikström
2672c40bf1 8351167: ZGC: Lazily initialize livemap
Reviewed-by: sjohanss, eosterlund, tschatzl
2025-03-17 07:55:44 +00:00
Erik Gahlin
63bf79183d 8351992: JFR: Improve robustness of the SettingControl examples
Reviewed-by: mgronlun
2025-03-16 21:47:25 +00:00
Matthias Baesken
06289f3d90 8351821: VMManagementImpl.c avoid switching off warnings
Reviewed-by: ihse, kevinw
2025-03-16 13:04:45 +00:00
Ian Graves
0460978e7c 8351096: Typos in Vector API doc
Reviewed-by: psandoz
2025-03-14 17:50:42 +00:00
Jiangli Zhou
7f42804148 8350524: Some hotspot/jtreg/serviceability/dcmd/vm tier1 tests fail on static JDK
Reviewed-by: stuefe
2025-03-14 16:25:23 +00:00
Hamlin Li
712a70c5c4 8318220: RISC-V: C2 ReverseI
8318221: RISC-V: C2 ReverseL

Reviewed-by: fyang, luhenry
2025-03-14 15:07:29 +00:00
Fei Yang
985ca1270e 8352011: RISC-V: Two IR tests fail after JDK-8351662
Reviewed-by: syan, mli
2025-03-14 13:44:29 +00:00
Tobias Hartmann
86b24339dc 8352050: Problem list compiler/ciReplay/* test until JDK-8349191 is fixed
Reviewed-by: chagedorn
2025-03-14 12:46:18 +00:00
Christian Hagedorn
65c5282f4b 8351938: C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: epeter, thartmann, kvn, galder
2025-03-14 12:13:18 +00:00
Aleksey Shipilev
e3c29c9e6c 8351556: Optimize Location.locationFor/isModuleOrientedLocation
Reviewed-by: liach, jlahoda
2025-03-14 07:46:46 +00:00
Anjian-Wen
a7a09f69ab 8349632: RISC-V: Add Zfa fminm/fmaxm
Reviewed-by: fyang
2025-03-14 05:53:04 +00:00
David Holmes
0454406417 8351987: ProblemList the failing JFR streaming tests on macOS
Reviewed-by: egahlin
2025-03-13 22:29:42 +00:00
Ioi Lam
be36b23431 8351778: JIT compiler fails when running -XX:AOTMode=create
Reviewed-by: shade, kvn, vlivanov
2025-03-13 21:06:00 +00:00
Daniel Gredler
7fc776e2ac 8270265: LineBreakMeasurer calculates incorrect line breaks with zero-width characters
Reviewed-by: achung, prr
2025-03-13 20:27:27 +00:00
Gennadiy Krivoshein
3da5e3fe10 8349350: Unable to print using InputSlot and OutputBin print attributes at the same time
Reviewed-by: prr, kizune, psadhukhan
2025-03-13 20:27:13 +00:00
Phil Race
aa047ee024 8319192: Remove javax.swing.plaf.synth.SynthLookAndFeel.load(URL url)
Reviewed-by: azvegint, tr
2025-03-13 20:13:29 +00:00
Alex Menkov
cd1be91757 8319055: JCMD should not buffer the whole output of commands
Reviewed-by: stuefe, jsjolen
2025-03-13 20:05:49 +00:00
Erik Gahlin
248c373b5b 8351266: JFR: -XX:StartFlightRecording:report-on-exit
Reviewed-by: mgronlun
2025-03-13 19:21:11 +00:00
Eric Caspole
03ef79cf05 8346470: Improve WriteBarrier JMH to have old-to-young refs
Reviewed-by: tschatzl
2025-03-13 18:32:15 +00:00
Rajat Mahajan
b50fe9b8cc 8280818: Expand bug8033699.java to iterate over all LaFs
Reviewed-by: dnguyen, aivanov, honkar, abhiscxk
2025-03-13 17:09:17 +00:00
Harald Eilertsen
771e160da4 8351323: Parameterize compiler and linker flags for iconv
Reviewed-by: ihse, erikj
2025-03-13 16:54:54 +00:00
Henry Jen
0ff1c0832e 8349984: (jdeps) jdeps can use String.repeat instead of String.replaceAll
Reviewed-by: alanb
2025-03-13 16:44:06 +00:00
Thomas Stuefe
37ec796255 8351500: G1: NUMA migrations cause crashes in region allocation
Reviewed-by: rkennke, sjohanss, tschatzl
2025-03-13 16:08:08 +00:00
Galder Zamarreño
4e51a8c9ad 8307513: C2: intrinsify Math.max(long,long) and Math.min(long,long)
Reviewed-by: roland, epeter, chagedorn, darcy
2025-03-13 13:53:54 +00:00
Joel Sikström
7e3bc81e88 8351216: ZGC: Store NUMA node count
Reviewed-by: tschatzl, sjohanss, eosterlund
2025-03-13 13:21:57 +00:00
Sean Mullan
82eb78069f 8351349: GSSUtil.createSubject has outdated access control context and policy related text
Reviewed-by: weijun
2025-03-13 12:43:04 +00:00
Matthias Baesken
c3db667156 8351542: LIBMANAGEMENT_OPTIMIZATION remove special optimization settings
Reviewed-by: ihse, kevinw
2025-03-13 12:41:57 +00:00
Fei Yang
375722f4ab 8351839: RISC-V: Fix base offset calculation introduced in JDK-8347489
Reviewed-by: mli, fjiang
2025-03-13 12:06:17 +00:00
David Linus Briemann
4c5956d748 8350866: [x86] Add C1 intrinsics for CRC32-C
Reviewed-by: mdoerr, kvn
2025-03-13 11:14:52 +00:00
Saranya Natarajan
9c00331465 8330469: C2: Remove or change "PrintOpto && VerifyLoopOptimizations" as printing code condition
Reviewed-by: chagedorn, rcastanedalo
2025-03-13 11:02:44 +00:00
Jeremy Wood
c18494d3c9 8351108: ImageIO.write(..) fails with exception when writing JPEG with IndexColorModel
Reviewed-by: aivanov, prr, azvegint
2025-03-13 10:08:49 +00:00
Casper Norrbin
86860cac04 8346916: [REDO] align_up has potential overflow
Reviewed-by: ayang, kbarrett, dlong
2025-03-13 09:35:59 +00:00
Hamlin Li
a33b1f7f64 8345298: RISC-V: Add riscv backend for Float16 operations - scalar
Reviewed-by: rehn, fyang
2025-03-13 08:16:53 +00:00
Hamlin Li
6241d09657 8351861: RISC-V: add simple assert at arrays_equals_v
Reviewed-by: fyang
2025-03-13 08:12:56 +00:00
Hamlin Li
0e7d460e4f 8351662: [Test] RISC-V: enable bunch of IR test
Reviewed-by: fyang, rehn, tonyp
2025-03-13 08:12:38 +00:00
Ioi Lam
a7ad4144c8 8351327: -XX:AOTMode=record interferes with application execution
Reviewed-by: shade, kvn, matsaave
2025-03-13 04:57:43 +00:00
Jatin Bhateja
41cc049f42 8350840: C2: x64 Assembler::vpcmpeqq assert: failed: XMM register should be 0-15
Reviewed-by: sviswanathan, kvn
2025-03-13 03:36:50 +00:00
William Kemper
a347ecdedc 8350905: Shenandoah: Releasing a WeakHandle's referent may extend its lifetime
Reviewed-by: shade, ysr
2025-03-12 20:42:41 +00:00
Chris Plummer
5502ce733e 8351699: Problem list com/sun/jdi/JdbStopInNotificationThreadTest.java with ZGC
Reviewed-by: amenkov
2025-03-12 20:39:38 +00:00
William Kemper
cdf7632f8a 8351444: Shenandoah: Class Unloading may encounter recycled oops
Reviewed-by: shade, rkennke
2025-03-12 20:12:53 +00:00
Aleksey Shipilev
930455b596 8351640: Print reason for making method not entrant
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, kvn
2025-03-12 19:45:31 +00:00
Aleksey Shipilev
895f64a18d 8351142: Add JFR monitor deflation and statistics events
Reviewed-by: egahlin, dholmes, lmesnik
2025-03-12 19:25:08 +00:00
Nizar Benalla
db531bf7df 8351881: Tidy complains about missing "alt" attribute
Reviewed-by: hannesw
2025-03-12 18:56:58 +00:00
Jiangli Zhou
02c850fca8 8350982: -server|-client causes fatal exception on static JDK
Reviewed-by: iklam, alanb
2025-03-12 17:20:16 +00:00
Rajan Halade
2371696781 8303770: Remove Baltimore root certificate expiring in May 2025
Reviewed-by: shade, mullan
2025-03-12 17:19:41 +00:00
Hannes Wallnöfer
f16a74260f 8351626: Update remaining icons to SVG format
Reviewed-by: nbenalla, jjg
2025-03-12 15:53:54 +00:00
Jiangli Zhou
a21fa463c4 8351309: test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java fails on static-jdk
Reviewed-by: manc, ihse, stuefe
2025-03-12 14:40:43 +00:00
Hamlin Li
3b189e0e78 8351345: [IR Framework] Improve reported disabled IR verification messages
Reviewed-by: chagedorn, epeter
2025-03-12 13:24:42 +00:00
Doug Simon
95b66d5a43 8351700: Remove code conditional on BarrierSetNMethod being null
Reviewed-by: shade, eosterlund, never
2025-03-12 12:31:37 +00:00
Matthias Baesken
84f87dd4e9 8351665: Remove unused UseNUMA in os_aix.cpp
Reviewed-by: mdoerr, jkern
2025-03-12 12:21:28 +00:00
David Linus Briemann
4be502ea38 8350642: Interpreter: Upgrade CountBytecodes to 64 bit on 64 bit platforms
Reviewed-by: lmesnik, mdoerr, shade
2025-03-12 10:22:44 +00:00
Manuel Hässig
1fe45265e4 8350194: Last 2 parameters of ReturnNode::ReturnNode are swapped in the declaration
Reviewed-by: thartmann, epeter
2025-03-12 08:43:58 +00:00
Aleksey Shipilev
1d147ccb4c 8351484: Race condition in max stats in MonitorList::add
Reviewed-by: pchilanomate, zgu
2025-03-12 07:20:48 +00:00
Jaikiran Pai
4412c079fc 8351639: Improve debuggability of test/langtools/jdk/jshell/JdiHangingListenExecutionControlTest.java test
Reviewed-by: jlahoda
2025-03-12 06:55:04 +00:00
Karm Michal Babacek
1dd9cf1018 8349099: java/awt/Headless/HeadlessMalfunctionTest.java fails on CI with Compilation error
Reviewed-by: aivanov, sgehwolf, prr
2025-03-11 21:16:14 +00:00
Coleen Phillimore
64464eab62 8351673: Clean up a case of if (LockingMode == LM_LIGHTWEIGHT) in a legacy-only locking mode function
Reviewed-by: pchilanomate
2025-03-11 20:32:21 +00:00
Artur Barashev
9a49418138 8345940: Migrate security-related resources from Java classes to properties files
Reviewed-by: jlu, weijun, erikj
2025-03-11 20:07:10 +00:00
Chen Liang
e71f3274a9 8351045: ClassValue::remove cannot ensure computation observes up-to-date state
Reviewed-by: rriggs, jrose
2025-03-11 19:51:47 +00:00
Aleksey Shipilev
cef3693175 8351656: Problemlist gc/TestAllocHumongousFragment#generational
Reviewed-by: xpeng, wkemper
2025-03-11 19:38:29 +00:00
Mikael Vidstedt
da2b4f0749 8351606: Use build_platform for graphviz dependency
Reviewed-by: erikj
2025-03-11 16:02:25 +00:00
Richard Reingruber
030c85de13 8350106: [PPC] Avoid ticks_unknown_not_Java AsyncGetCallTrace() if JavaFrameAnchor::_last_Java_pc not set
Reviewed-by: mdoerr
2025-03-11 15:54:49 +00:00
Aleksey Shipilev
0ad9a104e2 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
Reviewed-by: coleenp, egahlin
2025-03-11 15:27:36 +00:00
Harald Eilertsen
b957e5ed1a 8351322: Parameterize link option for pthreads
Reviewed-by: erikj, ihse, dholmes
2025-03-11 15:11:10 +00:00
Hamlin Li
af9af7e90f 8351145: RISC-V: only enable some crypto intrinsic when AvoidUnalignedAccess == false
Reviewed-by: fyang, rehn
2025-03-11 12:51:22 +00:00
Boris Ulasevich
83de34041e 8343789: Move mutable nmethod data out of CodeCache
Reviewed-by: kvn, dlong
2025-03-11 12:33:36 +00:00
Alan Bateman
0de2cddf3a 8351458: (ch) Move preClose to UnixDispatcher
Reviewed-by: bpb, jpai
2025-03-11 11:26:47 +00:00
Abhishek Kumar
cd9f1d3d92 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
Reviewed-by: honkar, kizune, asemenov
2025-03-11 09:05:04 +00:00
Emanuel Peter
4cf63160ad 8351414: C2: MergeStores must happen after RangeCheck smearing
Reviewed-by: chagedorn, qamai
2025-03-11 07:10:31 +00:00
Ioi Lam
8a5ed47f00 8350148: Native stack overflow when writing Java heap objects into AOT cache
Reviewed-by: iveresov, matsaave
2025-03-11 06:49:58 +00:00
Kuai Wei
5928209280 8347405: MergeStores with reverse bytes order value
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: epeter, thartmann
2025-03-11 02:07:19 +00:00
Brian Burkhalter
f984c2b32d 8351505: (fs) Typo in the documentation of java.nio.file.spi.FileSystemProvider.getFileSystem()
Reviewed-by: alanb, lancea, iris
2025-03-10 23:58:12 +00:00
Roger Riggs
ffa6340988 8351567: Jar Manifest test ValueUtf8Coding produces misleading diagnostic output
Reviewed-by: lancea, bpb, iris
2025-03-10 23:05:19 +00:00
Fernando Guallini
8d8bd0c4b3 8349492: Update sun/security/pkcs12/KeytoolOpensslInteropTest.java to use a recent Openssl version
Reviewed-by: rhalade
2025-03-10 19:51:16 +00:00
jeremy
73465b9866 8160327: Support for thumbnails present in APP1 marker for JPEG
Reviewed-by: prr
2025-03-10 18:32:15 +00:00
Harshitha Onkar
dbdbbd4730 8348597: Update HarfBuzz to 10.4.0
Reviewed-by: erikj, prr
2025-03-10 17:47:54 +00:00
Hannes Wallnöfer
7999091e3e 8351555: Help section added in JDK-8350638 uses invalid HTML
Reviewed-by: liach, jjg
2025-03-10 17:22:26 +00:00
Mikael Vidstedt
8450ae902e 8351440: Link with -reproducible on macOS
Reviewed-by: erikj, ihse
2025-03-10 16:31:39 +00:00
Daniel Lundén
b40be22512 8333393: PhaseCFG::insert_anti_dependences can fail to raise LCAs and to add necessary anti-dependence edges
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Reviewed-by: rcastanedalo, chagedorn, epeter
2025-03-10 16:18:02 +00:00
Nizar Benalla
6b84bdef3b 8350007: Add usage message to the javadoc executable
Reviewed-by: hannesw
2025-03-10 16:15:23 +00:00
Naoto Sato
32f2c2d808 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Reviewed-by: scolebourne, rriggs
2025-03-10 16:13:50 +00:00
Coleen Phillimore
d90b79a2bd 8351046: Rename ObjectMonitor functions
Reviewed-by: stefank, fbredberg
2025-03-10 14:54:50 +00:00
Hannes Wallnöfer
e90b6bdb87 8350638: Make keyboard navigation more usable in API docs
Reviewed-by: liach, nbenalla
2025-03-10 13:28:42 +00:00
Christian Hagedorn
4867a4c89e 8351280: Mark Assertion Predicates useless instead of replacing them by a constant directly
Reviewed-by: epeter, roland
2025-03-10 12:09:16 +00:00
Axel Boldt-Christmas
64caf08534 8350572: ZGC: Enhance z_verify_safepoints_are_blocked interactions with VMError
Reviewed-by: eosterlund, stefank
2025-03-10 11:53:50 +00:00
Axel Boldt-Christmas
fb0efbe874 8333578: Fix uses of overaligned types induced by ZCACHE_ALIGNED
Reviewed-by: stefank, kbarrett
2025-03-10 11:53:36 +00:00
Doug Simon
99547c5b25 8346825: [JVMCI] Remove NativeImageReinitialize annotation
Reviewed-by: never
2025-03-10 11:03:28 +00:00
Daniel Fuchs
ec683a18bc 8351419: java.net.http: Cleanup links in HttpResponse and module-info API doc comments
Reviewed-by: michaelm, vyazici
2025-03-10 10:41:47 +00:00
David Linus Briemann
f61f520e69 8350325: [PPC64] ConvF2HFIdealizationTests timeouts on Power8
Reviewed-by: mdoerr, clanger
2025-03-10 10:22:17 +00:00
David Linus Briemann
783eda9f54 8350266: [PPC64] Interpreter: intrinsify Thread.currentThread()
Reviewed-by: mdoerr, rrich
2025-03-10 10:21:54 +00:00
Emanuel Peter
19b9f11c2e 8351392: C2 crash: failed: Expected Bool, but got OpaqueMultiversioning
Reviewed-by: thartmann, kvn, vlivanov, chagedorn
2025-03-10 09:44:42 +00:00
Joachim Kern
18931d0587 8351399: AIX: clang pollutes the burned-in library search paths of the generated executables / Second try with a better solution than JDK8348663
Reviewed-by: stuefe, mdoerr, ihse
2025-03-10 09:05:58 +00:00
Hannes Wallnöfer
0887262386 8344301: Refine stylesheet for API docs
Reviewed-by: liach, nbenalla
2025-03-10 07:54:17 +00:00
Daniel Jeliński
84f71dd624 8349849: PKCS11 SunTlsKeyMaterial crashes when used with TLS1.2 TlsKeyMaterialParameterSpec
Reviewed-by: wetmore, valeriep
2025-03-10 07:52:11 +00:00
Martin Doerr
857c537189 8351456: Build failure with --disable-jvm-feature-shenandoahgc after 8343468
Reviewed-by: kvn, syan
2025-03-09 16:15:26 +00:00
Cesar Soares Lucas
4e1367e34b 8343468: GenShen: Enable relocation of remembered set card tables
Reviewed-by: shade, kdnilsen, wkemper
2025-03-08 14:01:28 +00:00
Xiaolong Peng
a90f323d05 8349705: java.net.URI.scanIPv4Address throws unnecessary URISyntaxException
Reviewed-by: dfuchs
2025-03-08 12:28:34 +00:00
Daniel Gredler
7ec2e14897 8349932: PSPrinterJob sometimes generates unnecessary PostScript commands
Reviewed-by: achung, prr
2025-03-08 12:26:46 +00:00
Eric Caspole
76e0f30b15 8350460: org.openjdk.bench.vm.floatingpoint.DremFrem JMH fails with -ea
Reviewed-by: liach, darcy
2025-03-07 21:30:11 +00:00
Vladimir Ivanov
4e67ac4136 8350909: [JMH] test ThreadOnSpinWaitShared failed for 2 threads config
Reviewed-by: jbhateja, drwhite
2025-03-07 20:38:25 +00:00
Chen Liang
8ed6c1d7ee 8350607: Consolidate MethodHandles::zero into MethodHandles::constant
Reviewed-by: jrose, redestad, jvernee
2025-03-07 20:35:36 +00:00
Vladimir Kozlov
f6a8db289e 8348261: assert(n->is_Mem()) failed: memory node required
Reviewed-by: chagedorn, epeter
2025-03-07 19:19:03 +00:00
Anthony Scarpino
5cd4fe6376 8348309: MultiNST tests need more debugging and timing
Reviewed-by: hchao, mullan
2025-03-07 17:14:03 +00:00
Vladimir Ivanov
7c22b814d6 8350811: [JMH] test foreign.StrLenTest failed with StringIndexOutOfBoundsException for size=451
Reviewed-by: jbhateja, vpaprotski, mcimadamore
2025-03-07 16:12:55 +00:00
Kevin Walls
54fe643e78 8347433: Deprecate XML interchange in java.management/javax/management/modelmbean/DescriptorSupport for removal
Reviewed-by: sspitsyn, dfuchs
2025-03-07 13:56:23 +00:00
SendaoYan
155697fc0e 8349623: [ASAN] Gtest os_linux.glibc_mallinfo_wrapper_vm fails
Reviewed-by: stuefe
2025-03-07 09:13:06 +00:00
Afshin Zafari
4066f33a0b 8350565: NMT: remaining memory flag/type to be replaced with memory tag
Reviewed-by: gziemski, jsjolen
2025-03-07 09:06:12 +00:00
David Holmes
7314efc948 8351377: Fix the ProblemList for com/sun/management/OperatingSystemMXBean cpuLoad tests on AIX
Reviewed-by: darcy
2025-03-07 03:48:49 +00:00
Justin Lu
7c9a7840ea 8351223: Update localized resources in keytool and jarsigner
Reviewed-by: weijun
2025-03-06 22:54:24 +00:00
Alisen Chung
a23fb0af65 8348110: Update LCMS to 2.17
Reviewed-by: honkar, prr, dnguyen
2025-03-06 21:24:44 +00:00
Brian Burkhalter
08929134b3 8351086: (fc) Make java/nio/channels/FileChannel/BlockDeviceSize.java test manual
Reviewed-by: msheppar
2025-03-06 17:11:53 +00:00
Brian Burkhalter
93f226078e 8351294: (fs) Minor verbiage correction for Files.createTemp{Directory,File}
Reviewed-by: alanb
2025-03-06 17:11:40 +00:00
Kevin Walls
8f8a879de0 8350939: Revisit Windows PDH buffer size calculation for OperatingSystemMXBean
Reviewed-by: dholmes, lmesnik, sspitsyn
2025-03-06 12:26:53 +00:00
Andrew Dinn
cfab88b1a2 8351256: Improve printing of runtime call stub names in disassember output
Reviewed-by: kvn
2025-03-06 10:11:44 +00:00
Fredrik Bredberg
7a5acb9be1 8343840: Rewrite the ObjectMonitor lists
Reviewed-by: dholmes, coleenp, pchilanomate, yzheng
2025-03-06 09:08:32 +00:00
Matthias Baesken
40f150d3e5 8330936: [ubsan] exclude function BilinearInterp and ShapeSINextSpan in libawt java2d from ubsan checks
Reviewed-by: clanger, prr
2025-03-06 08:10:23 +00:00
Stefan Karlsson
649ef77951 8323158: HotSpot Style Guide should specify more include ordering
Reviewed-by: kbarrett, stuefe, dholmes, kvn
2025-03-06 07:42:16 +00:00
SendaoYan
5c552a9d64 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
Reviewed-by: alanb
2025-03-06 07:00:44 +00:00
Emanuel Peter
e82031ec1a 8350756: C2 SuperWord Multiversioning: remove useless slow loop when the fast loop disappears
Reviewed-by: kvn, chagedorn
2025-03-06 06:48:42 +00:00
Jaikiran Pai
3626ac35b3 8204868: java/util/zip/ZipFile/TestCleaner.java still fails with "cleaner failed to clean zipfile."
Reviewed-by: lancea
2025-03-06 06:22:18 +00:00
SendaoYan
4bb3d81479 8351138: Running subset of gtests gets error printing result information
Reviewed-by: erikj
2025-03-06 01:41:22 +00:00
Nicole Xu
107ee878d6 8346954: [JMH] jdk.incubator.vector.MaskedLogicOpts fails due to IndexOutOfBoundsException
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: jbhateja, xgong
2025-03-06 01:40:24 +00:00
Coleen Phillimore
11a37c829c 8351165: Remove unused includes from vmStructs
Reviewed-by: kbarrett
2025-03-05 19:28:39 +00:00
Justin Lu
c3b48196af 8351074: Disallow null prefix and suffix in DecimalFormat
Reviewed-by: naoto
2025-03-05 18:12:26 +00:00
Archie Cobbs
6012e8d250 8350808: Small typos in JShell method SnippetEvent.toString()
Reviewed-by: jlahoda
2025-03-05 17:33:54 +00:00
Archie Cobbs
661bd5bfe8 8343478: Remove unnecessary @SuppressWarnings annotations (core-libs)
Reviewed-by: darcy, asemenyuk, joehw
2025-03-05 17:32:59 +00:00
Xiaolong Peng
61d9ab9717 8350854: Include thread counts in safepoint logging
Reviewed-by: shade, dholmes
2025-03-05 16:35:46 +00:00
Serhiy Sachkov
ea9e3cfe03 8281511: java/net/ipv6tests/UdpTest.java fails with checkTime failed
Reviewed-by: dfuchs
2025-03-05 16:16:58 +00:00
SendaoYan
caaf409845 8350546: Several java/net/InetAddress tests fails UnknownHostException
Reviewed-by: dfuchs, myankelevich
2025-03-05 12:57:56 +00:00
SendaoYan
062b7c7348 8351115: Test AOTClassLinkingVMOptions.java fails after JDK-8348322
Reviewed-by: dholmes, iklam
2025-03-05 12:55:33 +00:00
Matthias Baesken
a88e8cd0d2 8350952: Remove some non present files from OPT_SPEED_SRC list
Reviewed-by: dholmes, clanger
2025-03-05 12:30:09 +00:00
Sergey Chernyshev
de29ef3bf3 8343191: Cgroup v1 subsystem fails to set subsystem path
Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, mbaesken
2025-03-05 10:32:36 +00:00
Emanuel Peter
75f028b46b 8348657: compiler/loopopts/superword/TestEquivalentInvariants.java timed out
Reviewed-by: thartmann
2025-03-05 10:01:26 +00:00
Fei Yang
b1a21b563e 8351101: RISC-V: C2: Small improvement to MacroAssembler::revb
Reviewed-by: fjiang, mli
2025-03-05 02:17:22 +00:00
Jatin Bhateja
62fa33a870 8351158: Incorrect APX EGPR register save ordering
Reviewed-by: kvn, sviswanathan
2025-03-05 01:34:15 +00:00
Dean Long
20ea218ce5 8336042: Caller/callee param size mismatch in deoptimization causes crash
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: pchilanomate, rrich, vlivanov, never
2025-03-04 23:10:52 +00:00
Cesar Soares Lucas
38b4d46c1f 8351081: Off-by-one error in ShenandoahCardCluster
Reviewed-by: wkemper
2025-03-04 21:44:40 +00:00
Alexander Zvegintsev
29de20dbc2 8280991: [XWayland] No displayChanged event after setDisplayMode call
Reviewed-by: honkar, prr
2025-03-04 20:55:45 +00:00
Alexey Semenyuk
3e86b3a879 8350013: Add a test for JDK-8150442
Reviewed-by: almatvee
2025-03-04 20:30:52 +00:00
Doug Simon
a21302bb32 8351036: [JVMCI] value not an s2: -32776
Reviewed-by: yzheng, dlong
2025-03-04 20:10:57 +00:00
Weijun Wang
0753376b0c 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"
Reviewed-by: mullan, abarashev
2025-03-04 19:32:33 +00:00
Erik Gahlin
55987925fd 8351064: JFR: Consistent timestamps
Reviewed-by: mgronlun
2025-03-04 17:39:55 +00:00
William Kemper
fe806caa16 8350605: assert(!heap->is_uncommit_in_progress()) failed: Cannot uncommit bitmaps while resetting them
Reviewed-by: kdnilsen, ysr
2025-03-04 17:11:59 +00:00
Justin Lu
5b8d3491bf 4745837: Make grouping usage during parsing apparent in relevant NumberFormat methods
Reviewed-by: naoto
2025-03-04 17:08:54 +00:00
Magnus Ihse Bursie
4aa4b46440 8351154: Use -ftrivial-auto-var-init=pattern for clang too
Reviewed-by: kbarrett, erikj
2025-03-04 16:59:19 +00:00
Prasanta Sadhukhan
daf0213abc 8350924: javax/swing/JMenu/4213634/bug4213634.java fails
Reviewed-by: aivanov, tr
2025-03-04 16:58:15 +00:00
Alexey Semenyuk
6a31aaeb00 8350594: Misleading warning about install dir for DMG packaging
Reviewed-by: almatvee
2025-03-04 16:22:28 +00:00
Alexander Zvegintsev
216f113f8b 8344892: beans/finder/MethodFinder.findMethod incorrectly returns null
Reviewed-by: aivanov, serb
2025-03-04 15:42:03 +00:00
Ferenc Rakoczi
3230894bdd 8348561: Add aarch64 intrinsics for ML-DSA
Reviewed-by: adinn
2025-03-04 14:41:35 +00:00
Coleen Phillimore
8073914af7 8350974: The os_cpu VM_STRUCTS, VM_TYPES, etc have no declarations and should be removed
Reviewed-by: kvn, dholmes
2025-03-04 12:32:23 +00:00
Andrew Dinn
7ee89a5301 8350893: Use generated names for hand generated opto runtime blobs
Reviewed-by: kvn
2025-03-04 12:18:56 +00:00
Magnus Ihse Bursie
fae37aaae8 8345627: [REDO] Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj, kbarrett
2025-03-04 10:27:52 +00:00
Axel Boldt-Christmas
1f10ffba88 8350851: ZGC: Reduce size of ZAddressOffsetMax scaling data structures
Reviewed-by: eosterlund, jsikstro
2025-03-04 07:30:10 +00:00
Ioi Lam
4fc72b8e4b 8351082: Remove dead code for estimating CDS archive size
Reviewed-by: ccheung
2025-03-04 05:23:30 +00:00
Ioi Lam
b6e2d66cc4 8351087: Combine scratch object tables in heapShared.cpp
Reviewed-by: ccheung
2025-03-04 05:23:16 +00:00
Kim Barrett
d9b98f72c2 8350771: Fix -Wzero-as-null-pointer-constant warning in nsk/monitoring ThreadController utility
Reviewed-by: dholmes
2025-03-04 04:27:24 +00:00
Xiaolong Peng
7c173fde42 8351077: Shenandoah: Update comments in ShenandoahConcurrentGC::op_reset_after_collect
Reviewed-by: wkemper, ysr
2025-03-04 03:56:16 +00:00
Joe Wang
96613cc538 8349516: StAXStream2SAX.handleCharacters() fails on empty CDATA
Reviewed-by: naoto
2025-03-04 03:49:17 +00:00
William Kemper
3a8a432c05 8349094: GenShen: Race between control and regulator threads may violate assertions
Reviewed-by: ysr, kdnilsen
2025-03-04 00:41:39 +00:00
Brian Burkhalter
99fb350bf6 8350654: (fs) Files.createTempDirectory should say something about the default file permissions when no file attributes specified
Reviewed-by: alanb
2025-03-03 21:25:11 +00:00
Vladimir Ivanov
768b02410f 8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Reviewed-by: xgong, drwhite, sviswanathan
2025-03-03 21:05:19 +00:00
Calvin Cheung
c4b516dfe7 8348322: AOT cache creation crashes with "All cached hidden classes must be aot-linkable" when AOTInvokeDynamicLinking is disabled
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, matsaave
2025-03-03 18:49:11 +00:00
Hamlin Li
e470f474ee 8350095: RISC-V: Refactor string_compare
Reviewed-by: fyang
2025-03-03 18:31:56 +00:00
Hamlin Li
f53de9208c 8350931: RISC-V: remove unnecessary src register for fp_sqrt_d/f
Reviewed-by: fyang
2025-03-03 18:30:43 +00:00
Hamlin Li
e1fc14fa17 8350940: RISC-V: remove unnecessary assert_different_registers in minmax_fp
Reviewed-by: fyang
2025-03-03 18:29:36 +00:00
Hamlin Li
79880e5637 8351033: RISC-V: TestFloat16ScalarOperations asserts with offset (4210) is too large to be patched in one beq/bge/bgeu/blt/bltu/bne instruction!
Reviewed-by: fyang
2025-03-03 18:28:28 +00:00
Jiangli Zhou
bb70896e35 8350903: Remove explicit libjvm.so dependency for libVThreadEventTest
Reviewed-by: dholmes, alanb
2025-03-03 17:36:31 +00:00
Xiaolong Peng
7c187b5d81 8338737: Shenandoah: Reset marking bitmaps after the cycle
Reviewed-by: wkemper
2025-03-03 17:20:54 +00:00
Thomas Schatzl
3602c8cfd8 8350955: Fix repetitions of the word "the" in runtime component comments
Reviewed-by: coleenp
2025-03-03 16:51:56 +00:00
Kim Barrett
c988d7d647 8350767: Fix -Wzero-as-null-pointer-constant warnings in nsk jni stress tests
Reviewed-by: coleenp
2025-03-03 15:55:07 +00:00
Kim Barrett
67dfdfa6ea 8350623: Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities
Reviewed-by: coleenp
2025-03-03 15:53:47 +00:00
Afshin Zafari
4a51c61b2c 8350567: NMT: update VMATree::register_mapping to copy the existing tag of the region
Reviewed-by: jsjolen, stuefe
2025-03-03 15:39:35 +00:00
Thomas Stuefe
db69ec9e58 8344009: Improve compiler memory statistics
Reviewed-by: rcastanedalo, asmehra
2025-03-03 14:39:19 +00:00
Thomas Schatzl
f47232ad71 8350954: Fix repetitions of the word "the" in gc component comments
Reviewed-by: iwalulya, ayang
2025-03-03 13:57:57 +00:00
Thomas Schatzl
30b0c60980 8350956: Fix repetitions of the word "the" in compiler component comments
Reviewed-by: rcastanedalo
2025-03-03 12:31:33 +00:00
Coleen Phillimore
8b0468faf1 8315488: Remove outdated and unused ciReplay support from SA
Reviewed-by: kvn, cjplummer, yzheng
2025-03-03 12:08:18 +00:00
Marc Chevalier
4109c73a78 8349523: Unused runtime calls to drem/frem should be removed
Reviewed-by: thartmann, kvn, chagedorn
2025-03-03 09:32:54 +00:00
SendaoYan
b054d24df5 8350584: Check the usage of LOG_PLEASE
Reviewed-by: stuefe
2025-03-03 07:48:12 +00:00
David Holmes
717c4997a2 8351014: ProblemList the com/sun/management/OperatingSystemMXBean cpuLoad tests on Windows
Reviewed-by: lmesnik
2025-03-03 06:41:59 +00:00
Jasmine Karthikeyan
3657e92ead 8349637: Integer.numberOfLeadingZeros outputs incorrectly in certain cases
Reviewed-by: thartmann, qamai, jbhateja
2025-03-03 05:18:55 +00:00
Amit Kumar
93c878455b 8350716: [s390] intrinsify Thread.currentThread()
Reviewed-by: lucy, mdoerr
2025-03-03 03:12:37 +00:00
Xiaohong Gong
d48ddfe49a 8350748: VectorAPI: Method "checkMaskFromIndexSize" should be force inlined
Reviewed-by: psandoz
2025-03-03 02:22:15 +00:00
Kim Barrett
0a1eea112d 8345492: Fix -Wzero-as-null-pointer-constant warnings in adlc code
Reviewed-by: kvn, dlong
2025-03-02 23:36:27 +00:00
Ioi Lam
157e5ad4a3 8350916: Remove misleading warning "Cannot dump shared archive while using shared archive"
Reviewed-by: ccheung
2025-03-02 03:43:46 +00:00
Mikael Vidstedt
785e7b47e0 8350819: Ignore core files
Reviewed-by: erikj, dholmes
2025-02-28 23:34:07 +00:00
Leonid Mesnik
3c72c04de7 8350818: Improve OperatingSystemMXBean cpu load tests to not accept -1.0 by default
Reviewed-by: kevinw
2025-02-28 22:37:41 +00:00
Alisen Chung
6b719eeebc 8348596: Update FreeType to 2.13.3
Reviewed-by: azvegint, dnguyen, prr
2025-02-28 21:22:20 +00:00
Alexander Matveev
a87dd1a75f 8347139: [macos] Test tools/jpackage/share/InOutPathTest.java failed: "execution error: Finder got an error: AppleEvent timed out."
Reviewed-by: asemenyuk
2025-02-28 20:22:23 +00:00
Chen Liang
c7fa499bf5 8350118: Simplify the layout access VarHandle
Reviewed-by: mcimadamore, jvernee, erikj
2025-02-28 20:01:17 +00:00
Volkan Yazici
fb659eba02 8350915: [JMH] test SocketChannelConnectionSetup failed for 2 threads config
Reviewed-by: michaelm
2025-02-28 19:38:25 +00:00
Justin Lu
3a7d986878 8350646: Calendar.Builder.build() Throws ArrayIndexOutOfBoundsException
Reviewed-by: naoto
2025-02-28 19:37:36 +00:00
Leonid Mesnik
197004f4c6 8350820: OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows
Reviewed-by: kevinw, jwaters
2025-02-28 18:13:53 +00:00
Calvin Cheung
e98df71d9c 8348028: Unable to run gtests with CDS enabled
Reviewed-by: dholmes, iklam, ihse
2025-02-28 17:08:25 +00:00
Thomas Schatzl
d6c4be672f 8350758: G1: Use actual last prediction in accumulated survivor rate prediction too
Reviewed-by: ayang, iwalulya
2025-02-28 14:16:52 +00:00
Ivan Bereziuk
2019f44539 8343832: Enhance test summary with number of skipped tests
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, erikj
2025-02-28 13:46:17 +00:00
Johan Sjölen
ac76d8d63f 8350824: New async logging gtest StallingModePreventsDroppedMessages fails
Reviewed-by: mbaesken, dholmes
2025-02-28 09:48:17 +00:00
Hamlin Li
eada1ea8d2 8350855: RISC-V: print offset by assert of patch_offset_in_conditional_branch
Reviewed-by: fyang
2025-02-28 09:05:42 +00:00
Matthias Baesken
2af76de05a 8350683: Non-C2 / minimal JVM crashes in the build on ppc64 platforms
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: mdoerr, amitkumar
2025-02-28 07:36:35 +00:00
Kelvin Nilsen
ab4b0ef924 8350889: GenShen: Break out of infinite loop of old GC cycles
Reviewed-by: wkemper, ysr
2025-02-27 23:23:40 +00:00
Kelvin Nilsen
0a4c5a8a48 8347804: GenShen: Crash with small GCCardSizeInBytes and small Java heap
Reviewed-by: wkemper
2025-02-27 23:10:16 +00:00
Vladimir Ivanov
f1398ecbe4 8350701: [JMH] test foreign.AllocFromSliceTest failed with Exception for size>1024
Reviewed-by: pminborg
2025-02-27 20:35:58 +00:00
Kelvin Nilsen
3ae80bfb60 8349766: GenShen: Bad progress after degen does not always need full gc
Reviewed-by: wkemper
2025-02-27 18:40:20 +00:00
Marc Chevalier
2fd7156110 8347426: Invalid value used for enum Cell in iTypeFlow::StateVector::meet_exception
Reviewed-by: dlong, kvn
2025-02-27 18:06:50 +00:00
Roland Westrelin
939815fdcf 8347040: C2: assert(!loop->_body.contains(in)) failed
Reviewed-by: chagedorn, kvn
2025-02-27 16:47:31 +00:00
Nizar Benalla
8323ddfe18 8346659: SnippetTaglet should report an error if provided ambiguous links
Reviewed-by: hannesw, liach
2025-02-27 14:52:18 +00:00
Kuai Wei
3c9d64eb07 8350858: [IR Framework] Some tests failed on Cascade Lake
Reviewed-by: chagedorn, epeter
2025-02-27 13:55:59 +00:00
Matthias Baesken
d6d94472c2 8350786: Some java/lang jtreg tests miss requires vm.hasJFR
Reviewed-by: alanb
2025-02-27 13:34:38 +00:00
Robert Toyonaga
e80b76b663 8276995: Bug in jdk.jfr.event.gc.collection.TestSystemGC
Reviewed-by: egahlin, dholmes
2025-02-27 12:59:47 +00:00
Ramkumar Sunderbabu
799ac5288e 8314840: 3 gc/epsilon tests ignore external vm options
Reviewed-by: tschatzl
2025-02-27 12:58:35 +00:00
Emanuel Peter
63e0fc4331 8350841: ProblemList jdk/incubator/vector/Long256VectorTests.java
Reviewed-by: thartmann
2025-02-27 11:29:02 +00:00
SendaoYan
acc6f19cec 8350614: [JMH] jdk.incubator.vector.VectorCommutativeOperSharingBenchmark fails
Reviewed-by: redestad
2025-02-27 11:06:50 +00:00
Xiaolong Peng
01bd7e417e 8350314: Shenandoah: Capture thread state sync times in GC timings
Reviewed-by: ysr, shade, wkemper
2025-02-27 09:49:29 +00:00
Andrew Dinn
4522f128a3 8349921: Crash in codeBuffer.cpp:1004: guarantee(sect->end() <= tend) failed: sanity
Reviewed-by: kvn, dlong
2025-02-27 09:31:14 +00:00
Richard Reingruber
e4d3c97c0f 8350111: [PPC] AsyncGetCallTrace crashes when called while handling SIGTRAP
Reviewed-by: mdoerr, stuefe
2025-02-27 09:24:15 +00:00
Emanuel Peter
885338b5f3 8323582: C2 SuperWord AlignVector: misaligned vector memory access with unaligned native memory
Reviewed-by: roland, kvn
2025-02-27 06:58:43 +00:00
SendaoYan
bb48b7319c 8350723: RISC-V: debug.cpp help() is missing riscv line for pns
Reviewed-by: fyang
2025-02-27 06:16:57 +00:00
SendaoYan
b29f8b0478 8350665: SIZE_FORMAT_HEX macro undefined in gtest
Reviewed-by: coleenp, stuefe
2025-02-27 06:15:59 +00:00
Jiangli Zhou
78c18cfbce 8349399: GHA: Add static-jdk build on linux-x64
Reviewed-by: shade, ihse
2025-02-26 23:23:42 +00:00
David Holmes
e43960a017 8350616: Skip ValidateHazardPtrsClosure in non-debug builds
Reviewed-by: kbarrett, tschatzl, shade
2025-02-26 20:14:11 +00:00
Xiaolong Peng
9ec46968fb 8350313: Include timings for leaving safepoint in safepoint logging
Reviewed-by: shade, dholmes
2025-02-26 17:29:12 +00:00
Aleksey Shipilev
ec6624b54e 8350649: Class unloading accesses/resurrects dead Java mirror after JDK-8346567
Reviewed-by: coleenp, egahlin
2025-02-26 16:41:16 +00:00
Brian Burkhalter
9477c705c0 8024695: new File("").exists() returns false whereas it is the current working directory
Reviewed-by: alanb, rriggs, lancea
2025-02-26 16:24:25 +00:00
Thomas Stuefe
3e46480dcf 8350770: [BACKOUT] Protection zone for easier detection of accidental zero-nKlass use
Reviewed-by: mdoerr, rkennke
2025-02-26 15:57:37 +00:00
Aleksey Shipilev
bd112c4fab 8350443: GHA: Split static-libs-bundles into a separate job
Reviewed-by: ihse, yzheng
2025-02-26 15:00:47 +00:00
Hannes Wallnöfer
2731712383 8287749: Re-enable javadoc -serialwarn option
Reviewed-by: erikj
2025-02-26 14:59:18 +00:00
Matthew Donovan
0f82268134 8345598: Upgrade NSS binaries for interop tests
Reviewed-by: weijun, rhalade
2025-02-26 14:14:33 +00:00
Johan Sjölen
ea2c923849 8323807: Async UL: Add a stalling mode to async UL
Reviewed-by: dholmes, aboldtch
2025-02-26 12:51:35 +00:00
Matthias Baesken
e7d4b360fe 8350667: Remove startThread_lock() and _startThread_lock on AIX
Reviewed-by: stuefe, jkern
2025-02-26 12:40:53 +00:00
Coleen Phillimore
1e18fffee4 8328473: StringTable and SymbolTable statistics delay time to safepoint
Reviewed-by: shade, eosterlund
2025-02-26 11:49:09 +00:00
Thomas Schatzl
a0dd565432 8350643: G1: Make loop iteration variable type correspond to limit in G1SurvRateGroup
Reviewed-by: ayang, kbarrett
2025-02-26 11:31:48 +00:00
Thomas Schatzl
aac9cb4537 8349906: G1: Improve initial survivor rate for newly used young regions
Reviewed-by: kbarrett, iwalulya
2025-02-26 10:30:01 +00:00
Tagir F. Valeev
a431046404 8350518: org.openjdk.bench.java.util.TreeMapUpdate.compute fails with "java.lang.IllegalArgumentException: key out of range"
Reviewed-by: liach, skuksenko
2025-02-26 10:08:29 +00:00
Thomas Stuefe
a70eba8e42 8330174: Protection zone for easier detection of accidental zero-nKlass use
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, rkennke
2025-02-26 09:51:56 +00:00
Patrick Zhang
f529bf712d 8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
Reviewed-by: aph
2025-02-26 09:07:07 +00:00
Calvin Cheung
037e47112b 8350666: cmp-baseline builds fail after JDK-8280682
Reviewed-by: iklam
2025-02-25 23:49:52 +00:00
Naoto Sato
c8a521fdda 8345213: JVM Prefers /etc/timezone Over /etc/localtime on Debian 12
Reviewed-by: joehw, jpai, alanb
2025-02-25 23:03:18 +00:00
Ioi Lam
86024ebdb0 8348426: Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file
Reviewed-by: ccheung, asmehra, kvn, iveresov
2025-02-25 22:56:25 +00:00
Alexey Semenyuk
267d69bed6 8326447: jpackage creates Windows installers that cannot be signed
Reviewed-by: almatvee
2025-02-25 22:49:26 +00:00
Alexey Semenyuk
2efb0336e0 8350601: Miscellaneous updates to jpackage test lib
Reviewed-by: almatvee
2025-02-25 21:53:24 +00:00
Damon Nguyen
d4fdc796aa 8344981: [REDO] JDK-6672644 JComboBox still scrolling if switch to another window and return back
Co-authored-by: Alexander Zvegintsev <azvegint@openjdk.org>
Reviewed-by: azvegint, psadhukhan, honkar
2025-02-25 19:40:39 +00:00
Archie Cobbs
b78043fdc6 8320220: Compilation of cyclic hierarchy causes infinite recursion
Reviewed-by: vromero, jlahoda
2025-02-25 19:39:21 +00:00
Archie Cobbs
a3188e0406 8349991: GraphUtils.java can use String.replace() instead of String.replaceAll()
Reviewed-by: mcimadamore
2025-02-25 19:39:00 +00:00
Ioi Lam
d422abc55a 8350668: has_extra_module_paths in filemap.cpp may be uninitialized
Reviewed-by: ccheung, shade
2025-02-25 19:25:18 +00:00
Leonid Mesnik
829d7a845e 8339889: Several compiler tests ignore vm flags and not marked as flagless
Reviewed-by: thartmann
2025-02-25 19:20:05 +00:00
Leonid Mesnik
0151b15b7c 8348367: Remove hotspot_not_fast_compiler and hotspot_slow_compiler test groups
Reviewed-by: thartmann, chagedorn
2025-02-25 19:19:40 +00:00
Mikhail Yankelevich
c5992ca27b 8349533: Refactor validator tests shell files to java
Reviewed-by: weijun
2025-02-25 18:24:42 +00:00
Volodymyr Paprotski
dea7a9f0d6 8350516: Update model numbers for ECore-based cpus
Reviewed-by: sviswanathan, vaivanov
2025-02-25 16:28:25 +00:00
Mark Powers
5023971640 8267068: Incomplete @throws javadoc for various javax.crypto.spec classes
Reviewed-by: valeriep, jnimeh
2025-02-25 15:21:07 +00:00
Stuart Marks
08bc59da9b 8138614: (spec str) StringBuffer and StringBuilder methods improperly require "new" String to be returned
Reviewed-by: rgiulietti, shade, alanb, rriggs, liach
2025-02-25 15:18:30 +00:00
Matthias Baesken
b17c0b63a1 8350585: InlineSecondarySupersTest must be guarded on ppc64 by COMPILER2
Reviewed-by: amitkumar, mdoerr
2025-02-25 14:38:19 +00:00
Johan Sjölen
62f39bd646 8350636: Potential null-pointer dereference in MallocSiteTable::new_entry
Reviewed-by: dholmes
2025-02-25 14:30:24 +00:00
Matthias Baesken
cfeb7d6c96 8350497: os::create_thread unify init thread attributes part across UNIX platforms
Reviewed-by: dholmes
2025-02-25 13:30:54 +00:00
Kevin Walls
8cfebc41dc 8350571: Remove mention of Tonga test suite from JMX tests
Reviewed-by: cjplummer, lmesnik, sspitsyn
2025-02-25 12:54:30 +00:00
Coleen Phillimore
c413549eb7 8349860: Make Class.isArray(), Class.isInterface() and Class.isPrimitive() non-native
Reviewed-by: dlong, rriggs, vlivanov, yzheng, liach
2025-02-25 12:35:54 +00:00
Albert Mingkun Yang
a9c9f7f0cb 8192647: GClocker induced GCs can starve threads requiring memory leading to OOME
Reviewed-by: tschatzl, iwalulya, egahlin
2025-02-25 11:14:20 +00:00
Jaikiran Pai
aa70f0ae8b 8347348: Clarify that the HTTP server in jdk.httpserver module is not a full featured server
Reviewed-by: michaelm, dfuchs
2025-02-25 10:57:22 +00:00
Matthias Baesken
d551dacaef 8350103: Test containers/systemd/SystemdMemoryAwarenessTest.java fails on Linux ppc64le SLES15 SP6
Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, asteiner
2025-02-25 08:19:56 +00:00
Adam Sotona
ab86a13519 8350548: java.lang.classfile package javadoc has errors
Reviewed-by: liach
2025-02-25 08:18:52 +00:00
SendaoYan
e1081cffcb 8348536: Remove remain SIZE_FORMAT usage after JDK-8347990
Reviewed-by: dholmes, kbarrett
2025-02-25 06:12:39 +00:00
Ioi Lam
a6cc37fdbe 8349888: AOTMode=create crashes with EpsilonGC
Reviewed-by: shade, kvn
2025-02-25 05:38:39 +00:00
Bradford Wetmore
990d40e98d 8350476: Fix typo introduced in JDK-8350147
Reviewed-by: jnimeh, jpai
2025-02-24 22:57:03 +00:00
Rajat Mahajan
39cb493c36 8348106: Catch C++ exception in Java_sun_awt_windows_WTaskbarPeer_setOverlayIcon
Reviewed-by: abhiscxk, aivanov, azvegint, serb, dmarkov
2025-02-24 20:21:20 +00:00
Calvin Cheung
ddb2569110 8280682: Refactor AOT code source validation checks
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, asmehra, dholmes, kvn
2025-02-24 19:54:48 +00:00
Erik Österlund
65f79c145b 8347335: ZGC: Use limitless mark stack memory
Reviewed-by: aboldtch, iwalulya
2025-02-24 12:03:42 +00:00
Jatin Bhateja
e410af00e6 8342393: Promote commutative vector IR node sharing
Reviewed-by: vlivanov, epeter, sviswanathan
2025-02-24 07:40:17 +00:00
Per Minborg
f755fadc3d 8349653: Clarify the docs for MemorySegment::reinterpret
Reviewed-by: jvernee, mcimadamore
2025-02-24 07:38:29 +00:00
Christian Hagedorn
a5c9a4dbde 8349032: C2: Parse Predicate refactoring in Loop Unswitching broke fix for JDK-8290850
Reviewed-by: kvn, thartmann
2025-02-24 07:28:05 +00:00
Ao Qi
302bed055c 8350499: Minimal build fails with slowdebug builds
Reviewed-by: kbarrett, dholmes
2025-02-24 03:17:56 +00:00
David Holmes
0795d11bfc 8350464: The flags to set the native priority for the VMThread and Java threads need a broader range
Reviewed-by: stuefe, shade
2025-02-24 03:13:55 +00:00
Jiangli Zhou
05b481294c 8350041: Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK
Reviewed-by: alanb
2025-02-23 02:35:57 +00:00
Fei Yang
a891630817 8350480: RISC-V: Relax assertion about registers in C2_MacroAssembler::minmax_fp
Reviewed-by: mli, fjiang
2025-02-22 10:16:51 +00:00
SendaoYan
5cbd9d1fe1 8349959: Test CR6740048.java passes unexpectedly missing CR6740048.xsd
Reviewed-by: joehw
2025-02-22 03:11:42 +00:00
Dmitry Chuyko
25322aae8e 8350258: AArch64: Client build fails after JDK-8347917
Reviewed-by: dlong, kvn
2025-02-21 21:43:54 +00:00
Fernando Guallini
825ab20ba9 8350456: Test javax/crypto/CryptoPermissions/InconsistentEntries.java crashed: EXCEPTION_ACCESS_VIOLATION
Reviewed-by: rhalade, jnimeh
2025-02-21 21:06:54 +00:00
Jamil Nimeh
9d9d7a17d3 8349759: Add unit test for CertificateBuilder and SimpleOCSPServer test utilities
Reviewed-by: mullan
2025-02-21 20:30:02 +00:00
Chris Plummer
b45c32cd4f 8350287: Cleanup SA's support for CodeBlob subclasses
Reviewed-by: kvn, sspitsyn
2025-02-21 19:09:38 +00:00
Xiaolong Peng
bd8ad309b5 8350285: Shenandoah: Regression caused by ShenandoahLock under extreme contention
Reviewed-by: shade, kdnilsen
2025-02-21 16:39:17 +00:00
Matias Saavedra Silva
24b557361a 8350444: Check for verifer error in StackMapReader::check_offset()
Reviewed-by: coleenp, dholmes
2025-02-21 16:17:31 +00:00
Volkan Yazici
dfcd0df60c 8350019: HttpClient: DelegatingExecutor should resort to the fallback executor only on RejectedExecutionException
Reviewed-by: dfuchs
2025-02-21 10:26:55 +00:00
Hamlin Li
1b6281d98c 8321003: RISC-V: C2 MulReductionVI
8321004: RISC-V: C2 MulReductionVL

Reviewed-by: fyang, rehn
2025-02-21 10:25:50 +00:00
Hamlin Li
c73fead5ca 8350383: Test: add more test case for string compare (UL case)
Reviewed-by: fyang
2025-02-21 09:48:54 +00:00
Fernando Guallini
16033ea79a 8342238: Test javax/crypto/CryptoPermissions/InconsistentEntries.java writes files in tested JDK dir
Reviewed-by: jnimeh, rhalade
2025-02-20 18:52:57 +00:00
Fernando Guallini
f979f727b6 8337723: Remove redundant tests from com/sun/security/sasl/gsskerb
Reviewed-by: rhalade
2025-02-20 18:52:30 +00:00
Leonid Mesnik
1eb0db3760 8350151: Support requires property to filter tests incompatible with --enable-preview
Reviewed-by: alanb, rriggs
2025-02-20 18:00:33 +00:00
Erik Joelsson
16873732a7 8349933: Mixing of includes and snippets stack causes the wrong -post snippet to be included
Reviewed-by: ihse
2025-02-20 17:46:06 +00:00
Nizar Benalla
53db57648a 8350137: After JDK-8348975, Linux builds contain man pages for windows only tools
Reviewed-by: erikj
2025-02-20 15:53:05 +00:00
Johan Sjölen
10bf48a6b0 8350214: Test gtest/AsyncLogGtest.java fails after JDK-8349755
Reviewed-by: aboldtch, dholmes
2025-02-20 15:50:24 +00:00
Jiangli Zhou
960ad21186 8349620: Add VMProps for static JDK
Reviewed-by: alanb, manc
2025-02-20 15:47:54 +00:00
Martin Doerr
735805d925 8349727: [PPC] C1: Improve Class.isInstance intrinsic
Reviewed-by: rrich, varadam
2025-02-20 12:03:08 +00:00
Abhishek Kumar
1e87ff0199 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

Reviewed-by: aivanov, kizune, dnguyen, asemenov
2025-02-20 09:17:40 +00:00
Hao Sun
86d0616276 8350303: ARM32: StubCodeGenerator::verify_stub(StubGenStubId) failed after JDK-8343767
Reviewed-by: shade, adinn
2025-02-20 09:03:53 +00:00
Matthias Baesken
0662e39a6e 8350267: Set mtune and mcpu settings in JDK native lib compilation on Linux ppc64(le)
Reviewed-by: mdoerr, asteiner, erikj
2025-02-20 08:58:18 +00:00
Amit Kumar
c5c91a8293 8345285: [s390x] test failures: foreign/normalize/TestNormalize.java with C2
Reviewed-by: mdoerr, aph
2025-02-20 08:53:19 +00:00
SendaoYan
26bf445f47 8350049: [JMH] Float16OperationsBenchmark fails java.lang.NoClassDefFoundError
Reviewed-by: jbhateja
2025-02-20 07:24:51 +00:00
SendaoYan
00d4e4a971 8350051: [JMH] Several tests fails NPE
Reviewed-by: erikj, redestad
2025-02-20 02:51:24 +00:00
Ioi Lam
0131c1bfd8 8349953: Avoid editing AOTConfiguration file in "make test JTREG=AOT_JDK=true"
Reviewed-by: erikj, ccheung
2025-02-20 02:13:41 +00:00
Nicole Xu
3ebed78328 8349943: [JMH] Use jvmArgs consistently
Reviewed-by: syan, redestad, haosun
2025-02-20 01:33:58 +00:00
Boris Ulasevich
92efab90db 8350344: Cross-build failure: _vptr name conflict
Reviewed-by: kvn
2025-02-19 21:02:27 +00:00
Chris Plummer
4fb70c79c1 8229012: When single stepping, the debug agent can cause the thread to remain in interpreter mode after single stepping completes
Reviewed-by: kevinw, sspitsyn
2025-02-19 19:58:11 +00:00
Joe Wang
4e60c2d937 8349699: XSL transform fails with certain UTF-8 characters on 1024 byte boundaries
Reviewed-by: lancea, naoto
2025-02-19 19:36:30 +00:00
Mikhail Yankelevich
7734f8ed13 8349664: HEX dump should always use ASCII or ISO_8859_1
Reviewed-by: weijun
2025-02-19 18:56:26 +00:00
Matias Saavedra Silva
7631984525 8349923: Refactor StackMapTable constructor and StackMapReader
Reviewed-by: coleenp, dholmes
2025-02-19 17:26:41 +00:00
Alexey Semenyuk
3487f8cbd5 8350102: Decouple jpackage test-lib Executor.Result and Executor classes
Reviewed-by: almatvee
2025-02-19 17:08:01 +00:00
konanki sreenath
70a6c0b7ac 8346094: Harden X509CertImpl.getExtensionValue for NPE cases
Reviewed-by: coffeys, weijun
2025-02-19 16:47:54 +00:00
Ivan Walulya
efbad00c4d 8349688: G1: Wrong initial optional region index when selecting candidates from retained regions
Reviewed-by: tschatzl, ayang
2025-02-19 14:27:33 +00:00
Albert Mingkun Yang
c6e47fd581 8348171: Refactor GenerationCounters and its subclasses
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: gli, tschatzl, zgu
2025-02-19 14:15:16 +00:00
Sean Mullan
577ff98a67 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection
Reviewed-by: lancea, jpai
2025-02-19 13:18:20 +00:00
Alexey Ivanov
014701a09b 8350260: Improve HTML instruction formatting in PassFailJFrame
Reviewed-by: kizune, azvegint, abhiscxk
2025-02-19 12:22:51 +00:00
Matthias Baesken
59810ad745 8350201: Out of bounds access on Linux aarch64 in os::print_register_info
Reviewed-by: dholmes, mdoerr
2025-02-19 12:14:04 +00:00
Aleksey Shipilev
2353f3e2f1 8350210: CTW: Use stackless exceptions
Reviewed-by: kvn, chagedorn
2025-02-19 11:35:00 +00:00
Aleksey Shipilev
79db2d4186 8350159: compiler/tiered/Level2RecompilationTest.java fails after JDK-8349915
Reviewed-by: kvn, chagedorn
2025-02-19 11:33:57 +00:00
Aleksey Shipilev
d13fd5738f 8350211: CTW: Attempt to preload all classes in constant pool
Reviewed-by: vlivanov, chagedorn
2025-02-19 11:02:14 +00:00
Roberto Castañeda Lozano
0ef1c40991 8350006: IGV: show memory slices as type information
Reviewed-by: dlunden, chagedorn, dfenacci
2025-02-19 09:17:27 +00:00
Christian Stein
9042aa82a8 8339238: Update to use jtreg 7.5.1
Reviewed-by: erikj, jpai, rriggs, iris
2025-02-19 06:38:39 +00:00
Prasanta Sadhukhan
4de92a40d0 8350224: Test javax/swing/JComboBox/TestComboBoxComponentRendering.java fails in ubuntu 23.x and later
Reviewed-by: aivanov, azvegint
2025-02-19 02:19:27 +00:00
SendaoYan
04659a4073 8350197: [UBSAN] Node::dump_idx reported float-cast-overflow
Reviewed-by: chagedorn
2025-02-19 01:30:16 +00:00
Leonid Mesnik
2d03bd0078 8350280: The JDK-8346050 testlibrary changes break the build
Reviewed-by: dholmes
2025-02-18 20:58:04 +00:00
Doug Simon
f2b4e12afe 8350263: JvmciNotifyBootstrapFinishedEventTest intermittently times out
Reviewed-by: yzheng, never
2025-02-18 20:18:08 +00:00
Vladimir Kozlov
46d4a601e0 8349088: De-virtualize Codeblob and nmethod
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: cjplummer, aboldtch, dlong
2025-02-18 20:08:08 +00:00
Leonid Mesnik
62d93f2a22 8346050: Update BuildTestLib.gmk to build whole testlibrary
Reviewed-by: weijun, ihse
2025-02-18 20:06:05 +00:00
Matthias Baesken
e1d0a9c832 8350202: Tune for Power10 CPUs on Linux ppc64le
Reviewed-by: mdoerr
2025-02-18 13:20:05 +00:00
Hamlin Li
885be2efa6 8349908: RISC-V: C2 SelectFromTwoVector
Reviewed-by: fyang, luhenry
2025-02-18 10:24:51 +00:00
Roberto Castañeda Lozano
8193e0d53a 8346280: C2: implement late barrier elision for G1
Reviewed-by: tschatzl, aboldtch, mdoerr
2025-02-18 10:23:35 +00:00
SendaoYan
d7baae3ee9 8350178: Incorrect comment after JDK-8345580
Reviewed-by: chagedorn, kvn
2025-02-18 09:56:49 +00:00
Afshin Zafari
160db5f0f0 8340110: Ubsan: verifier.cpp:2043:19: runtime error: shift exponent 100 is too large for 32-bit type 'int'
Reviewed-by: dholmes, jsjolen
2025-02-18 09:56:38 +00:00
Marc Chevalier
ff05d97953 8349180: Remove redundant initialization in ciField constructor
Reviewed-by: chagedorn
2025-02-18 09:25:24 +00:00
Marc Chevalier
013fda1dad 8348172: C2: Remove unused local variables in filter_helper() methods
Reviewed-by: kvn, haosun, chagedorn
2025-02-18 08:43:21 +00:00
Stefan Karlsson
3353f8e087 8349652: Rewire nmethod oop load barriers
Reviewed-by: kvn, aboldtch
2025-02-18 07:51:45 +00:00
Fei Yang
8df804005e 8350093: RISC-V: java/math/BigInteger/LargeValueExceptions.java timeout with COH
Reviewed-by: mli, fjiang
2025-02-18 00:19:46 +00:00
Doug Simon
8ec589390f 8346781: [JVMCI] Limit ServiceLoader to class initializers
Reviewed-by: never, yzheng
2025-02-17 19:34:29 +00:00
Hannes Wallnöfer
3f0c137026 8347123: Add missing @serial tags to other modules
Reviewed-by: prr, nbenalla, alanb
2025-02-17 15:31:18 +00:00
Suchismith Roy
8b2aa51b0c 8349780: AIX os::get_summary_cpu_info support Power 11
Reviewed-by: stuefe, amitkumar
2025-02-17 13:28:34 +00:00
Alexey Ivanov
650d0d954e 8348865: JButton/bug4796987.java never runs because Windows XP is unavailable
Reviewed-by: tr, abhiscxk, serb
2025-02-17 13:13:42 +00:00
Alexey Ivanov
906358d3a1 8294155: Exception thrown before awaitAndCheck hangs PassFailJFrame
Reviewed-by: serb, azvegint, kizune
2025-02-17 13:13:15 +00:00
Alexey Ivanov
2bd8f026db 8342524: Use latch in AbstractButton/bug6298940.java instead of delay
Reviewed-by: azvegint, kizune, dnguyen, achung
2025-02-17 13:12:02 +00:00
Matthias Ernst
7f3ecb4d92 8346664: C2: Optimize mask check with constant offset
Reviewed-by: epeter, qamai
2025-02-17 13:07:23 +00:00
Gui Cao
b3a4026c65 8349764: RISC-V: C1: Improve Class.isInstance intrinsic
Reviewed-by: fyang, mli
2025-02-17 11:35:07 +00:00
Jaikiran Pai
071c8f5155 8349909: jdk.internal.jimage.decompressor.ZipDecompressor does not close the Inflater in exceptional cases
Reviewed-by: lancea, alanb
2025-02-17 11:05:59 +00:00
Johan Sjölen
f1258f9e16 8349755: Fix corner case issues in async UL
Reviewed-by: dholmes, aboldtch
2025-02-17 09:22:57 +00:00
Aleksey Shipilev
b1b48286a6 8350086: Inline hot Method accessors for faster task selection
Reviewed-by: kvn, coleenp, aph, vlivanov
2025-02-17 09:21:49 +00:00
Matthias Baesken
5e9d72e224 8350094: Linux gcc 13.2.0 build fails when ubsan is enabled
Reviewed-by: mdoerr, prr, kbarrett
2025-02-17 08:02:51 +00:00
David Holmes
2192723734 8350162: ProblemList compiler/tiered/Level2RecompilationTest.java
Reviewed-by: jpai
2025-02-17 02:09:25 +00:00
Bradford Wetmore
7d11418c82 8350147: Replace example in KEM class with the one from JEP 452
Reviewed-by: weijun
2025-02-15 22:40:46 +00:00
Alexey Semenyuk
5cf11324af 8350098: jpackage test lib erroneously will run methods without @Test annotation as tests
Reviewed-by: almatvee
2025-02-15 14:31:29 +00:00
Aleksey Shipilev
623453647a 8349915: CTW: Lots of level 3 compiles are done at level 2 after JDK-8348570
Reviewed-by: kvn, chagedorn
2025-02-15 07:22:20 +00:00
Chris Plummer
b6443f6ff9 8348347: Cleanup JavaThread subclass support in SA
Reviewed-by: kevinw, sspitsyn
2025-02-14 19:40:47 +00:00
Kelvin Nilsen
ba6c96599a 8348595: GenShen: Fix generational free-memory no-progress check
Reviewed-by: phh, xpeng
2025-02-14 16:41:26 +00:00
Kelvin Nilsen
38322407cd 8348594: Shenandoah: Do not penalize for degeneration when not the fault of triggering heuristic
Reviewed-by: phh, wkemper
2025-02-14 16:40:08 +00:00
Ivan Šipka
2a90b90a95 8346117: Add test annotation
Reviewed-by: coffeys
2025-02-14 16:18:47 +00:00
Maxim Kartashev
0414dcec11 8349812: (fs) Files.newByteChannel with empty path name and CREATE_NEW throws unexpected exception
Reviewed-by: bpb
2025-02-14 15:28:59 +00:00
anass baya
9ea81d9017 8349351: Combine Screen Inset Tests into a Single File
Reviewed-by: honkar, dnguyen, aivanov
2025-02-14 15:19:09 +00:00
Aleksey Shipilev
742e735d7f 8349858: Print compilation task before blocking compiler thread for shutdown
Reviewed-by: kvn, chagedorn
2025-02-14 13:53:06 +00:00
Alexey Semenyuk
db42a48dc5 8350011: Convert jpackage test lib tests in JUnit format
Reviewed-by: almatvee
2025-02-14 13:12:30 +00:00
Alexander Zvegintsev
19c0ce43e2 8349751: AIX build failure after upgrade pipewire to 1.3.81
Reviewed-by: mdoerr
2025-02-14 12:55:36 +00:00
Nizar Benalla
fa1bd2344e 8343802: Prevent NULL usage backsliding
Reviewed-by: kbarrett
2025-02-14 12:24:36 +00:00
Dmitry Chuyko
57f4c30fb6 8347917: AArch64: Enable upper GPR registers in C1
Reviewed-by: aph
2025-02-14 07:54:44 +00:00
Alexey Semenyuk
ff52859d2a 8285624: jpackage fails to create exe, msi when Windows OS is in FIPS mode
Reviewed-by: almatvee
2025-02-13 22:53:30 +00:00
Justin Lu
3741c980b8 8349883: Locale.LanguageRange.parse("-") throws ArrayIndexOutOfBoundsException
Reviewed-by: naoto
2025-02-13 22:25:23 +00:00
Naoto Sato
3e7acfac48 8349873: StackOverflowError after JDK-8342550 if -Duser.timezone= is set to a deprecated zone id
Reviewed-by: joehw, jlu, iris
2025-02-13 20:57:48 +00:00
Aleksey Shipilev
d8fcd43a24 8349927: Waiting for compiler termination delays shutdown for 10+ ms
Reviewed-by: kvn, dholmes
2025-02-13 20:06:33 +00:00
Doug Simon
a88e2a58bf 8349977: JVMCIRuntime::_shared_library_javavm_id should be jlong
Reviewed-by: yzheng, never
2025-02-13 19:35:42 +00:00
Jiangli Zhou
2eac490bd2 8349868: Remove unneeded libjava shared library dependency from jtreg test libNewDirectByteBuffer, libDirectIO and libInheritedChannel
Reviewed-by: bpb
2025-02-13 19:08:03 +00:00
Martin Balao
6ddbcc34c0 8328119: Support HKDF in SunPKCS11 (Preview)
8346720: Support Generic keys in SunPKCS11 SecretKeyFactory

Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep, kdriver, weijun
2025-02-13 16:55:33 +00:00
William Kemper
28e744dc64 8348092: Shenandoah: assert(nk >= _lowest_valid_narrow_klass_id && nk <= _highest_valid_narrow_klass_id) failed: narrowKlass ID out of range (3131947710)
Reviewed-by: shade
2025-02-13 16:34:37 +00:00
Vladimir Kozlov
0b50e479a0 8349753: Incorrect use of CodeBlob::is_buffer_blob() in few places
Reviewed-by: dlong, shade
2025-02-13 16:09:04 +00:00
Jiangli Zhou
18958c6298 8349925: [REDO] Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: prr
2025-02-13 15:44:46 +00:00
Matthias Baesken
c2fc947826 8349378: Build splashscreen lib with SIZE optimization
Reviewed-by: erikj, prr, honkar
2025-02-13 14:16:23 +00:00
Jaikiran Pai
5b75ff7283 8349907: jdk.tools.jlink.internal.plugins.ZipPlugin does not close the Deflater in exceptional cases
Reviewed-by: liach, alanb, sundar, lancea
2025-02-13 11:54:01 +00:00
Alexander Zvegintsev
add3cd1ca4 8348600: Update PipeWire to 1.3.81
Reviewed-by: psadhukhan, prr, honkar
2025-02-13 11:42:46 +00:00
Alexey Semenyuk
efc597bf47 8349564: Clean warnings found in jpackage tests when building them with -Xlint:all
Reviewed-by: almatvee
2025-02-13 10:22:19 +00:00
Christoph Langer
29202d1fa7 8349648: Test tools/jpackage/share/JLinkOptionsTest.java fails with --enable-linkable-runtime set after JDK-8346434
Reviewed-by: sgehwolf, asemenyuk
2025-02-13 10:03:25 +00:00
Ivan Walulya
24b7f815ae 8349783: g1RemSetSummary.cpp:344:68: runtime error: member call on null pointer of type 'struct G1HeapRegion'
Reviewed-by: tschatzl, ayang
2025-02-13 09:47:02 +00:00
Robbin Ehn
a637ccf2fe 8349851: RISC-V: Call VM leaf can use movptr2
Reviewed-by: fyang, mli
2025-02-13 06:36:32 +00:00
SendaoYan
adc3f53d24 8349787: java/lang/Thread/virtual/ThreadPollOnYield.java#default passes unexpectedly without libVThreadPinner.so
Reviewed-by: alanb
2025-02-13 02:59:57 +00:00
Volodymyr Paprotski
55097dd4cb 8344802: Crash in StubRoutines::verify_mxcsr with -XX:+EnableX86ECoreOpts and -Xcheck:jni
Reviewed-by: jwaters, kvn, sviswanathan
2025-02-12 22:25:05 +00:00
Daniel Gredler
b8576eb48e 6562489: Font-Renderer should ignore invisible characters \u2062 and \u2063
Reviewed-by: avu, prr
2025-02-12 22:15:37 +00:00
Zhao Song
7a0832f548 8349934: Wrong file regex for copyright header format check in .jcheck/conf
Reviewed-by: erikj
2025-02-12 21:36:45 +00:00
Chris Plummer
2a5d1da335 8349571: Remove JavaThreadFactory interface from SA
Reviewed-by: kevinw, sspitsyn
2025-02-12 19:28:28 +00:00
Chris Plummer
74e458bad6 8349684: Remove SA core file tests from problem list for macosx-x64
Reviewed-by: kevinw, sspitsyn
2025-02-12 19:27:54 +00:00
Archie Cobbs
ba28119642 8348427: DeferredLintHandler API should use JCTree instead of DiagnosticPosition
Reviewed-by: mcimadamore
2025-02-12 19:17:29 +00:00
Fernando Guallini
c5ac3c4f11 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Reviewed-by: hchao, rhalade
2025-02-12 18:36:24 +00:00
Vladimir Kozlov
336d0d8592 8349926: [BACKOUT] Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: jiangli, shade
2025-02-12 18:26:37 +00:00
Jatin Bhateja
4b463ee70e 8342103: C2 compiler support for Float16 type and associated scalar operations
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Bhavana Kilambi <bkilambi@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: psandoz, epeter, sviswanathan
2025-02-12 17:02:51 +00:00
Jiangli Zhou
332d87cc7e 8349859: Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: prr
2025-02-12 16:29:08 +00:00
Thomas Schatzl
73e1780ad0 8349836: G1: Improve group prediction log message
Reviewed-by: ayang, iwalulya
2025-02-12 16:11:09 +00:00
Coleen Phillimore
ed17c55ea3 8349145: Make Class.getProtectionDomain() non-native
Reviewed-by: liach, dholmes, yzheng
2025-02-12 12:04:40 +00:00
Volkan Yazici
e700460b49 8349813: Test behavior of limiting() on RS operators throwing exceptions
Reviewed-by: dfuchs
2025-02-12 12:04:22 +00:00
Daniel Jeliński
08f4c1c801 8349781: make test TEST=gtest fails on WSL
Reviewed-by: erikj
2025-02-12 09:04:32 +00:00
Kevin Walls
bb41df44d9 8349723: Problemlist jdp tests for macosx-x64
Reviewed-by: rriggs, sspitsyn
2025-02-12 08:22:29 +00:00
David Holmes
adda12b724 8349874: Missing comma in copyright from JDK-8349689
Reviewed-by: dcubed, mikael
2025-02-12 03:57:30 +00:00
Prasanta Sadhukhan
342dec93f2 8347019: Test javax/swing/JRadioButton/8033699/bug8033699.java still fails: Focus is not on Radio Button Single as Expected
Reviewed-by: aivanov, dnguyen, azvegint
2025-02-12 03:10:00 +00:00
SendaoYan
88b4a906d2 8349689: Several virtual thread tests missing /native keyword
Reviewed-by: alanb, lmesnik
2025-02-12 03:00:43 +00:00
Volkan Yazici
d558d9d427 8349702: jdk.internal.net.http.Http2Connection::putStream needs to provide cause while cancelling stream
Reviewed-by: jpai, dfuchs
2025-02-12 01:58:22 +00:00
William Kemper
8c09d40d6c 8348268: Test gc/shenandoah/TestResizeTLAB.java#compact: fatal error: Before Updating References: Thread C2 CompilerThread1: expected gc-state 9, actual 21
Reviewed-by: shade
2025-02-11 20:20:53 +00:00
Alexey Semenyuk
e7157d174c 8150442: Enforce Supported Platforms in Packager for MSI bundles
Reviewed-by: almatvee, cstein
2025-02-11 19:22:35 +00:00
Naoto Sato
642816538f 8349254: Disable "best-fit" mapping on Windows environment variables
Reviewed-by: jlu, jpai
2025-02-11 17:20:50 +00:00
Chen Liang
32dc41c9f7 8349624: Validation for slot missing in CodeBuilder local variable instructions
Reviewed-by: asotona
2025-02-11 16:21:23 +00:00
Mohamed Issa
a1bcda2476 8349579: jsvml.dll incorrect RDATA SEGMENT specification
Reviewed-by: sviswanathan, jbhateja
2025-02-11 15:33:30 +00:00
Tobias Hartmann
ee079fdbf1 8349820: Temporarily increase MemLimit for tests until JDK-8349772 and JDK-8337821 are fixed
Reviewed-by: rcastanedalo, epeter
2025-02-11 13:57:45 +00:00
SendaoYan
545d19f1fa 8349771: Replace usages of -mx and -ms in some monitor tests
Reviewed-by: jpai, stefank, dholmes
2025-02-11 12:38:19 +00:00
Daniel Fuchs
5ee44c1688 8349662: SSLTube SSLSubscriptionWrapper has potential races when switching subscriptions
Reviewed-by: jpai
2025-02-11 12:10:05 +00:00
Magnus Ihse Bursie
964dd18fd2 8349515: [REDO] Framework for tracing makefile inclusion and parsing
Reviewed-by: erikj
2025-02-11 10:55:47 +00:00
Thomas Schatzl
8e85829496 8349213: G1: Clearing bitmaps during collection set merging not claimed by region
Reviewed-by: iwalulya, ayang
2025-02-11 09:52:38 +00:00
Richard Reingruber
1a8212e101 8348678: [PPC64] C2: unaligned vector load/store is ok
8343906: test2 of compiler/c2/TestCastX2NotProcessedIGVN.java fails on some platforms

Reviewed-by: mdoerr, amitkumar
2025-02-11 07:45:55 +00:00
Daniel Gredler
41bdc47d71 8208377: Soft hyphens render if not using TextLayout
Reviewed-by: achung, prr
2025-02-11 00:39:09 +00:00
Jiangli Zhou
df654a9f58 8349752: Tier1 build failure caused by JDK-8349178
Reviewed-by: dholmes
2025-02-10 20:52:20 +00:00
Jiangli Zhou
527489c06d 8349284: Make libExplicitAttach work on static JDK
Reviewed-by: alanb, dholmes
2025-02-10 20:19:48 +00:00
Joe Darcy
f11a737707 8349475: Test tools/javac/api/TestJavacTaskWithWarning.java writes files in src dir
Reviewed-by: jlahoda, liach, jpai
2025-02-10 18:27:05 +00:00
Jamil Nimeh
b737f7fb30 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree
Reviewed-by: rhalade, weijun
2025-02-10 18:19:57 +00:00
Jiangli Zhou
84b32cb61c 8349178: runtime/jni/atExit/TestAtExit.java should be supported on static JDK
Reviewed-by: dholmes
2025-02-10 18:05:27 +00:00
Aleksey Shipilev
ab66c82ce9 8349639: jfr/event/gc/detailed/TestShenandoahEvacuationInformationEvent.java fails to compile after JDK-8348610
Reviewed-by: mdoerr, wkemper
2025-02-10 15:51:23 +00:00
Johan Sjölen
f74c4dfe0b 8349580: Do not use address in MemTracker top level functions
Reviewed-by: gziemski, stefank
2025-02-10 13:52:23 +00:00
Coleen Phillimore
c9cadbd23f 8346567: Make Class.getModifiers() non-native
Reviewed-by: alanb, vlivanov, yzheng, dlong
2025-02-10 12:44:30 +00:00
Volkan Yazici
5589892262 8343074: test/jdk/com/sun/net/httpserver/docs/test1/largefile.txt could be generated
Reviewed-by: dfuchs, jpai
2025-02-10 12:12:54 +00:00
Hamlin Li
d104debe51 8349556: RISC-V: improve the performance when -COH and -AvoidUnalignedAccesses for UL and LU string comparison
Reviewed-by: fyang, vkempik
2025-02-10 11:47:57 +00:00
Hamlin Li
4a83ca1202 8349666: RISC-V: enable superwords tests for vector reductions
Reviewed-by: fyang, luhenry
2025-02-10 11:25:20 +00:00
SendaoYan
8f6ccde982 8349554: [UBSAN] os::attempt_reserve_memory_between reported applying non-zero offset to non-null pointer produced null pointer
Reviewed-by: stefank, stuefe
2025-02-08 13:11:07 +00:00
Thomas Stuefe
7d52f1e64d 8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees
Reviewed-by: jsjolen, cnorrbin
2025-02-08 06:35:27 +00:00
Quan Anh Mai
e9278de3f8 8348411: C2: Remove the control input of LoadKlassNode and LoadNKlassNode
Reviewed-by: vlivanov, epeter
2025-02-08 04:20:46 +00:00
Joe Wang
5395ffa006 8327378: XMLStreamReader throws EOFException instead of XMLStreamException
Reviewed-by: iris, lancea, naoto
2025-02-08 02:48:04 +00:00
Coleen Phillimore
1ed9ef1c3f 8349559: Compiler interface doesn't need to store protection domain
Reviewed-by: vlivanov, iklam
2025-02-07 21:27:35 +00:00
Alexander Matveev
f0ea38b387 8349509: [macos] Clean up macOS dead code in jpackage
Reviewed-by: asemenyuk
2025-02-07 19:58:51 +00:00
Tom Rodriguez
7f6c687815 8349374: [JVMCI] concurrent use of HotSpotSpeculationLog can crash
Reviewed-by: kvn, dnsimon
2025-02-07 19:58:37 +00:00
Liam Miller-Cushon
bd9b24c0f8 8349512: Duplicate PermittedSubclasses entries with doclint enabled
Reviewed-by: vromero
2025-02-07 19:43:33 +00:00
Andrew Haley
b40f8eef98 8337251: C1: Improve Class.isInstance intrinsic
Reviewed-by: vlivanov
2025-02-07 17:39:10 +00:00
Bradford Wetmore
88a84835a3 8349121: SSLParameters.setApplicationProtocols() ALPN example could be clarified
Reviewed-by: abarashev, jnimeh, dfuchs
2025-02-07 17:09:56 +00:00
Justin Lu
fb847bb2af 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition
Reviewed-by: naoto
2025-02-07 17:08:52 +00:00
Mikhail Yankelevich
7cd5cb2916 8349532: Refactor ./util/Pem/encoding.sh to run in java
Reviewed-by: weijun
2025-02-07 15:40:17 +00:00
Ivan Walulya
86cec4ea2c 8343782: G1: Use one G1CardSet instance for multiple old gen regions
Reviewed-by: ayang, tschatzl
2025-02-07 10:22:23 +00:00
Matthias Baesken
006ed5c02b 8349375: Cleanup AIX special file build settings
Reviewed-by: mdoerr, clanger, erikj, jwaters
2025-02-07 07:43:43 +00:00
Joe Wang
3989a19957 8344925: translet-name ignored when package-name is also set
Reviewed-by: lancea, iris, naoto
2025-02-07 02:26:20 +00:00
Fernando Guallini
1eb54e4228 8346049: jdk/test/lib/security/timestamp/TsaServer.java warnings
Reviewed-by: weijun, rhalade, hchao, lmesnik
2025-02-07 00:31:11 +00:00
Calvin Cheung
a0c7f661be 8349508: runtime/cds/appcds/TestParallelGCWithCDS.java should not check for specific output
Reviewed-by: dholmes, iklam
2025-02-06 22:31:19 +00:00
Aleksey Shipilev
10791477cf 8348570: CTW: Expose the code hidden by uncommon traps
Reviewed-by: kvn, thartmann
2025-02-06 20:20:43 +00:00
Brian Burkhalter
1a74ee64eb 8349092: File.getFreeSpace violates specification if quotas are in effect (win)
Reviewed-by: naoto
2025-02-06 19:11:35 +00:00
Brian Burkhalter
0181030bdc 8349006: File.getCanonicalPath should remove "(on UNIX platforms)" from its specification
Reviewed-by: jlu, naoto
2025-02-06 19:10:26 +00:00
Harshitha Onkar
ed8945a68a 8347377: Add validation checks for ICC_Profile header fields
Reviewed-by: prr, jdv
2025-02-06 18:30:39 +00:00
Liam Miller-Cushon
1ab1c1d53b 8349058: 'internal proprietary API' warnings make javac warnings unusable
Reviewed-by: vromero
2025-02-06 17:33:44 +00:00
Jiangli Zhou
eb84702626 8349513: Remove unused BUILD_JDK_JTREG_LIBRARIES_JDK_LIBS_libTracePinnedThreads
Reviewed-by: dholmes, erikj
2025-02-06 16:15:35 +00:00
Nizar Benalla
f12d2de53a 8345212: Since checker should better handle non numeric values
Reviewed-by: liach
2025-02-06 16:14:30 +00:00
Viktor Klang
5ec1aae21e 8347842: ThreadPoolExecutor specification discusses RuntimePermission
Reviewed-by: alanb, jpai
2025-02-06 15:02:21 +00:00
SendaoYan
3fbae32d0a 8349465: [UBSAN] test_os_reserve_between.cpp reported applying non-zero offset to null pointer
Reviewed-by: mdoerr, amitkumar
2025-02-06 15:01:05 +00:00
Christian Hagedorn
e0487c7cbc 8346777: Add missing const declarations and rename variables
Reviewed-by: epeter, thartmann
2025-02-06 14:49:28 +00:00
Archie Cobbs
2b82e2d57b 8347958: Minor compiler cleanups relating to MandatoryWarningHandler
Reviewed-by: mcimadamore
2025-02-06 14:32:25 +00:00
Alexey Semenyuk
2093bb7467 8346434: Add test for non-automatic service binding
Reviewed-by: almatvee
2025-02-06 14:10:44 +00:00
Amit Kumar
dd8720e90d 8348520: [s390x] Problemlist TestVectorReinterpret.java
Reviewed-by: mdoerr
2025-02-06 13:15:18 +00:00
Tobias Hartmann
4618993e27 8349537: Bad copyright in TestArrayStructs.java
Reviewed-by: jpai
2025-02-06 10:41:30 +00:00
SendaoYan
acb46ddb89 8345155: Add /native to native test in FFM
Reviewed-by: mcimadamore, pminborg
2025-02-06 09:33:02 +00:00
Gui Cao
d85f65147a 8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489
Reviewed-by: fyang, mli
2025-02-06 09:31:54 +00:00
Andrew Dinn
7e307916ec 8349102: Test compiler/arguments/TestCodeEntryAlignment.java failed: assert(allocates2(pc)) failed: not in CodeBuffer memory
Reviewed-by: dlong
2025-02-06 09:14:50 +00:00
Matthias Baesken
3eb57f6d46 8349140: Size optimization (opt-size) build fails after recent PCH changes
Reviewed-by: jwaters, erikj, ihse
2025-02-06 08:08:59 +00:00
Jan Lahoda
3cf04dec49 8349132: javac Analyzers should handle non-deferrable errors
Reviewed-by: abimpoudis
2025-02-06 07:34:28 +00:00
David Holmes
30f71622a1 8349417: Fix NULL usage from JDK-8346433
Reviewed-by: chagedorn
2025-02-06 07:32:22 +00:00
David Holmes
64bd8d2592 8349511: [BACKOUT] Framework for tracing makefile inclusion and parsing
Reviewed-by: darcy, mikael
2025-02-06 02:51:12 +00:00
Alexey Semenyuk
5e1cc08259 8349504: Support platform-specific JUnit tests in jpackage
Reviewed-by: almatvee
2025-02-06 02:27:43 +00:00
Archie Cobbs
89e5e7ab73 8349155: The "log" parameter to Lint.logIfEnabled() is not needed
Reviewed-by: mcimadamore
2025-02-06 01:52:51 +00:00
Alexey Semenyuk
aad6664bb6 8333569: jpackage tests must run app launchers with retries on Linux only
Reviewed-by: almatvee
2025-02-05 23:23:54 +00:00
Brian Burkhalter
b499c827a5 8349383: (fs) FileTreeWalker.next() superfluous null check of visit() return value
Reviewed-by: djelinski
2025-02-05 21:40:47 +00:00
Damon Nguyen
379c3f9966 8347836: Disabled PopupMenu shows shortcuts on Mac
Reviewed-by: azvegint, achung, kizune, abhiscxk
2025-02-05 18:43:19 +00:00
Mikhail Yankelevich
82bc0a7f8c 8344316: security/auth/callback/TextCallbackHandler/Password.java make runnable with JTReg and add the UI
Reviewed-by: weijun
2025-02-05 18:23:25 +00:00
Mark Powers
2f2f7cf0dd 8349084: Update vectors used in several PQC benchmarks
Reviewed-by: weijun
2025-02-05 18:04:00 +00:00
Serguei Spitsyn
b9b62a0248 8346792: serviceability/jvmti/vthread/GetThreadState/GetThreadState.java testObjectWaitMillis failed
Reviewed-by: dholmes, pchilanomate
2025-02-05 16:03:39 +00:00
Roland Westrelin
6b994cd8cc 8333697: C2: Hit MemLimit in PhaseCFG::global_code_motion
Reviewed-by: thartmann, kvn
2025-02-05 13:54:35 +00:00
Per Minborg
2ff8440c76 8349344: Clarify documentation of Arena.ofConfined
Reviewed-by: jvernee, jpai, mcimadamore
2025-02-05 13:48:34 +00:00
Emanuel Peter
19399d271e 8348572: C2 compilation asserts due to unexpected irreducible loop
Reviewed-by: thartmann, kvn
2025-02-05 12:58:43 +00:00
Magnus Ihse Bursie
61465883b4 8348190: Framework for tracing makefile inclusion and parsing
Reviewed-by: erikj
2025-02-05 11:17:08 +00:00
Bhavana Kilambi
66a3898448 8348659: AArch64: IR rule failure with compiler/loopopts/superword/TestSplitPacks.java
Reviewed-by: shade, epeter
2025-02-05 08:37:21 +00:00
Matthias Baesken
40603a5bf0 8349214: Improve size optimization flags for MSVC builds
Reviewed-by: djelinski, ihse
2025-02-05 08:05:56 +00:00
Jan Lahoda
09269497a2 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Reviewed-by: liach
2025-02-05 06:44:36 +00:00
SendaoYan
a51e6699b4 8349200: [JMH] time.format.ZonedDateTimeFormatterBenchmark fails
Reviewed-by: naoto, jlu
2025-02-05 02:18:01 +00:00
Ben Perez
9d23de58d1 8184352: Remove Sun provider information from KeyPairGenerator javadoc
Reviewed-by: mullan
2025-02-04 23:13:16 +00:00
Brent Christian
d222c186a6 8349107: Remove RMI finalizers
Reviewed-by: rriggs, vklang, djelinski, smarks
2025-02-04 22:37:31 +00:00
Satyen Subramaniam
bad39b6d88 8348610: GenShen: TestShenandoahEvacuationInformationEvent failed with setRegions >= regionsFreed: expected 1 >= 57
Reviewed-by: wkemper, phh
2025-02-04 17:19:19 +00:00
Justin Lu
250ff86dc8 8349000: Performance improvement for Currency.isPastCutoverDate(String)
Reviewed-by: naoto, aturbanov
2025-02-04 17:07:01 +00:00
Jamil Nimeh
ee4caa4180 8349106: Change ChaCha20 intrinsic to use quarter-round parallel implementation on aarch64
Reviewed-by: aph
2025-02-04 16:28:04 +00:00
Ioi Lam
b985347c23 8348349: Refactor CDSConfig::is_dumping_heap()
Reviewed-by: ccheung, matsaave
2025-02-04 16:08:00 +00:00
Per Minborg
beb43e2633 8349343: Add missing copyright messages in FFM benchmarks
Reviewed-by: jvernee
2025-02-04 14:10:42 +00:00
Fei Yang
e91a6ec49c 8347489: RISC-V: Misaligned memory access with COH
Reviewed-by: mli, vkempik
2025-02-04 14:03:07 +00:00
Volkan Yazici
d699aba26f 8349135: Add tests for HttpRequest.Builder.copy()
Reviewed-by: jpai, dfuchs
2025-02-04 13:56:25 +00:00
Per Minborg
81126c20cb 8349238: Some more FFM benchmarks are broken
Reviewed-by: mcimadamore
2025-02-04 11:00:54 +00:00
Matthias Baesken
beae8843b9 8349150: Support precompiled headers on AIX
Reviewed-by: jkern, erikj
2025-02-04 08:10:49 +00:00
Christian Hagedorn
c545a3e028 8346774: Use Predicate classes instead of Node classes
Reviewed-by: epeter, kvn
2025-02-04 07:33:34 +00:00
Amit Kumar
7ea176d79c 8349193: compiler/intrinsics/TestContinuationPinningAndEA.java missing @requires vm.continuations
Reviewed-by: chagedorn
2025-02-04 03:05:00 +00:00
Coleen Phillimore
9b49597244 8334320: Replace vmTestbase/metaspace/share/TriggerUnloadingWithWhiteBox.java with ClassUnloadCommon from testlibrary
Reviewed-by: dholmes, lmesnik
2025-02-03 22:48:28 +00:00
Ben Perez
43979fb1be 8347428: Avoid using secret-key in specifications
Reviewed-by: mullan
2025-02-03 22:14:38 +00:00
Jaikiran Pai
618c5eb27b 8349183: [BACKOUT] Optimization for StringBuilder append boolean & null
8349239: [BACKOUT] Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt

Reviewed-by: redestad, liach
2025-02-03 18:21:33 +00:00
Tom Rodriguez
bb837d2f9b 8342775: [Graal] java/util/concurrent/locks/Lock/OOMEInAQS.java fails OOME thrown from the UncaughtExceptionHandler
Reviewed-by: jpai, dholmes
2025-02-03 17:04:55 +00:00
SendaoYan
a57c9b101a 8349184: [JMH] jdk.incubator.vector.ColumnFilterBenchmark.filterDoubleColumn fails on linux-aarch64
Reviewed-by: haosun, aph
2025-02-03 14:25:47 +00:00
Coleen Phillimore
d330421d28 8337548: Parallel class loading can pass is_superclass true for interfaces
Reviewed-by: iklam
2025-02-03 13:55:00 +00:00
Hamlin Li
3f1d9b5735 8348575: SpinLockT is typedef'ed but unused
Reviewed-by: dholmes
2025-02-03 12:33:31 +00:00
Alexander Zvegintsev
6f4fc82149 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland
Reviewed-by: aivanov, dnguyen
2025-02-03 11:14:14 +00:00
Aggelos Biboudis
9aa6d09bf7 8326485: Assertion due to Type.addMetadata adding annotations to already-annotated type
Reviewed-by: jlahoda
2025-02-03 09:08:25 +00:00
SendaoYan
2cce5eeb09 8349142: [JMH] compiler.MergeLoadBench.getCharBV fails
Reviewed-by: liach
2025-02-02 02:46:16 +00:00
Aleksey Shipilev
305bbdae7f 8348402: PerfDataManager stalls shutdown for 1ms
Reviewed-by: dholmes, pchilanomate, coleenp
2025-02-01 14:06:48 +00:00
anass baya
651ac3cc0f 6899304: java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values
Reviewed-by: aivanov, honkar, prr, serb
2025-01-31 18:30:01 +00:00
Naoto Sato
2d6045a26f 8301875: java.util.TimeZone.getSystemTimeZoneID uses C library default file mode
Reviewed-by: jlu, joehw
2025-01-31 17:12:00 +00:00
Rajan Halade
13d852a0b8 8349017: Update ML tests to verify against ACVP 1.1.0.38 version
Reviewed-by: weijun
2025-01-31 16:56:38 +00:00
Jorn Vernee
137ad5d03c 8348976: MemorySegment::reinretpret should be force inlined
Reviewed-by: liach
2025-01-31 16:49:21 +00:00
Jorn Vernee
77647421c5 8348909: [BACKOUT] Implement a better allocator for downcalls
Reviewed-by: shade, liach
2025-01-31 16:49:03 +00:00
Magnus Ihse Bursie
fcd5ebc7e8 8292944: Noisy output when running make help the first time
Reviewed-by: erikj
2025-01-31 14:35:42 +00:00
Magnus Ihse Bursie
bba6a8f0c1 8349143: All make control variables need special propagation
Reviewed-by: erikj
2025-01-31 14:29:35 +00:00
Daniel Lundén
ee87d187d1 8348658: [AArch64] The node limit in compiler/codegen/TestMatcherClone.java is too strict
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, kvn
2025-01-31 14:09:15 +00:00
Sorna Sarathi N
a414a591dd 8344983: [PPC64] Rename ConditionRegisters
Reviewed-by: rrich, mdoerr
2025-01-31 14:06:22 +00:00
Magnus Ihse Bursie
5878e45ae0 8348998: Split out PreInit.gmk from Init.gmk
Reviewed-by: erikj
2025-01-31 13:48:09 +00:00
Erik Gahlin
8f7e6e2dbc 8348430: Update jfr tests to allow execution with different vm flags
Reviewed-by: mgronlun
2025-01-31 08:55:52 +00:00
Tobias Hartmann
c3923fbb9a 8349130: Problem list TestCodeEntryAlignment.java
Reviewed-by: chagedorn
2025-01-31 08:22:11 +00:00
Matthias Baesken
669f8c0c07 8349039: Adjust exception No type named <ThreadType> in database
Reviewed-by: kevinw, cjplummer
2025-01-31 08:11:30 +00:00
Jan Lahoda
5a45de5e1e 8347989: Trees.getScope may crash for not-yet attributed source
Reviewed-by: asotona
2025-01-31 07:56:13 +00:00
SendaoYan
2df9d5bc2f 8349040: Test compiler/inlining/LateInlinePrinting.java fails after JDK-8319850
Reviewed-by: mbaesken, thartmann
2025-01-31 06:40:26 +00:00
Ioi Lam
03f5c33b53 8349122: -XX:+AOTClassLinking is not compatible with jdwp
Reviewed-by: jrose, kvn
2025-01-31 05:37:38 +00:00
naveen.n.narayanan
0d30b869d8 8344581: [TESTBUG] java/awt/Robot/ScreenCaptureRobotTest.java failing on macOS
Reviewed-by: aivanov, azvegint, abhiscxk
2025-01-31 05:14:57 +00:00
Ioi Lam
cdc84acdcc 8348890: Fix docs for -XX:AOT* options in java man page
Reviewed-by: jrose
2025-01-31 01:56:05 +00:00
Nizar Benalla
8986cb2772 8331873: Improve/expand info in New API In on Help page
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Reviewed-by: liach, hannesw
2025-01-31 01:16:54 +00:00
Harshitha Onkar
d589a82d08 8349101: Problemlist HeadlessMalfunctionTest.java
Reviewed-by: dholmes
2025-01-30 21:11:34 +00:00
Justin Lu
f05c53c2c4 8347949: Currency method to stream available Currencies
Reviewed-by: naoto, liach, rriggs
2025-01-30 17:55:47 +00:00
Andrey Turbanov
cc775b1620 8348648: Unnecessary Hashtable usage in javax.swing.text.html.CSS.LengthUnit
Reviewed-by: aivanov, azvegint, serb
2025-01-30 17:48:11 +00:00
William Kemper
06ebb170ba 8349002: GenShen: Deadlock during shutdown
Reviewed-by: shade
2025-01-30 17:01:41 +00:00
Ioi Lam
1ac2d6e0fb 8349009: JVM fails to start when AOTClassLinking is used with unverifiable old classes
Reviewed-by: jrose, kvn
2025-01-30 16:21:57 +00:00
Zhengyu Gu
0cae888046 8349003: NativeCallStack::print_on() output is unreadable
Reviewed-by: stuefe, dholmes
2025-01-30 16:14:43 +00:00
Shaojin Wen
fdfb68c8d0 8344168: Change Unsafe base offset from int to long
Reviewed-by: liach
2025-01-30 15:57:13 +00:00
Andrew Dinn
5d5b294b0a 8349070: Fix riscv and ppc build errors caused by JDK-8343767
Reviewed-by: mdoerr, fyang, jwaters
2025-01-30 15:29:13 +00:00
Shaojin Wen
3f8a875497 8348880: Replace ConcurrentMap with AtomicReferenceArray for ZoneOffset.QUARTER_CACHE
Reviewed-by: naoto, liach
2025-01-30 15:13:13 +00:00
Jorn Vernee
fac63d4383 8348668: Prevent first resource cleanup in confined arena from escaping
Reviewed-by: liach
2025-01-30 14:55:37 +00:00
Casper Norrbin
2efb6aaadb 8345314: Add a red–black tree as a utility data structure
Reviewed-by: aboldtch, jsjolen, stuefe
2025-01-30 12:34:29 +00:00
Andrew Dinn
a937f6db30 8343767: Enumerate StubGen blobs, stubs and entries and generate code from declarations
Reviewed-by: vlivanov, mdoerr
2025-01-30 11:46:39 +00:00
Michal Karm Babacek
1858dc1410 8336382: Fix error reporting in loading AWT
Reviewed-by: prr, aivanov, serb
2025-01-30 11:12:44 +00:00
Nizar Benalla
22069ff42b 8348975: Broken links in the JDK 24 JavaDoc API documentation, build 33
Reviewed-by: liach
2025-01-30 10:10:49 +00:00
Stefan Karlsson
f81772a49e 8348647: CDS dumping commits 3GB when large pages are used
Reviewed-by: aboldtch, iklam
2025-01-30 09:47:45 +00:00
Serguei Spitsyn
fb0f2d25d2 8300708: Some nsk jvmti tests fail with virtual thread wrapper due to jvmti missing some virtual thread support
Reviewed-by: cjplummer, lmesnik
2025-01-30 09:11:13 +00:00
SendaoYan
bb528d5ad6 8348567: [ASAN] Memory access partially overflows by NativeCallStack
Reviewed-by: jsjolen, dholmes
2025-01-30 08:55:40 +00:00
Joachim Kern
e0c2cb48b3 8348663: [AIX] clang pollutes the burned-in library search paths of the generated executables
Reviewed-by: ihse, clanger, mbaesken
2025-01-30 08:36:05 +00:00
Axel Boldt-Christmas
14136f8b11 8347564: ZGC: Crash in DependencyContext::clean_unloading_dependents
Reviewed-by: eosterlund, stefank, vlivanov
2025-01-30 08:33:16 +00:00
Matthias Baesken
04c24f18d5 8347779: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with Unable to deduce type of thread from address
Reviewed-by: cjplummer, kevinw
2025-01-30 08:23:04 +00:00
Alexander Zvegintsev
d985b31cbb 8342096: Popup menus that request focus are not shown on Linux with Wayland
Reviewed-by: aivanov, honkar
2025-01-29 22:09:01 +00:00
Jiangli Zhou
cbe9ec530f 8348905: Add support to specify the JDK for compiling Jtreg tests
Reviewed-by: erikj
2025-01-29 17:52:43 +00:00
Vladimir Kozlov
6b581d22e1 8347997: assert(false) failed: EA: missing memory path
Reviewed-by: thartmann, chagedorn
2025-01-29 17:24:10 +00:00
Theo Weidmann
4662363e86 8348687: [BACKOUT] C2: Non-fluid StringBuilder pattern bails out in OptoStringConcat
Reviewed-by: chagedorn, shade
2025-01-29 16:57:00 +00:00
Ioi Lam
d266ca965d 8348752: Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified
Reviewed-by: shade, heidinga
2025-01-29 16:52:10 +00:00
Shaojin Wen
cbc89a7ac6 8348898: Remove unused OctalDigits to clean up code
Reviewed-by: liach
2025-01-29 16:24:01 +00:00
Theo Weidmann
96fefed37f 8319850: PrintInlining should print which methods are late inlines
Reviewed-by: chagedorn, kvn, jsjolen, dlong
2025-01-29 15:14:40 +00:00
Prasanta Sadhukhan
51cce6e612 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale
Reviewed-by: tr
2025-01-29 14:37:14 +00:00
Guoxiong Li
6bfae3acc1 8333386: TestAbortOnVMOperationTimeout test fails for client VM
Reviewed-by: ayang, tschatzl
2025-01-29 14:36:55 +00:00
Shaojin Wen
f98d9a3301 8348870: Eliminate array bound checks in DecimalDigits
Reviewed-by: liach, rgiulietti
2025-01-29 13:07:19 +00:00
Matthias Baesken
fe6d9ab951 8348582: Set -fstack-protector when building with clang
Reviewed-by: jkern, erikj
2025-01-29 13:04:44 +00:00
Theo Weidmann
fff97d6d9a 8343938: TestStressBailout triggers "Should not be locked when freed" assert
Reviewed-by: kvn, thartmann
2025-01-29 08:59:19 +00:00
Kevin Walls
69ec45348a 8347985: Deprecate java.management Permission classes for removal
Reviewed-by: sspitsyn, rriggs
2025-01-29 08:42:06 +00:00
Stefan Karlsson
3af4cfc52d 8348180: Remove mention of include of precompiled.hpp from the HotSpot Style Guide
Reviewed-by: dholmes, eosterlund
2025-01-29 08:36:23 +00:00
Matthias Baesken
168a471fd0 8348830: LIBFONTMANAGER optimization is always HIGHEST
Reviewed-by: erikj, prr, serb
2025-01-29 08:22:42 +00:00
Tobias Hartmann
55c3e78f4e 8348631: Crash in PredictedCallGenerator::generate after JDK-8347006
Reviewed-by: kvn, epeter
2025-01-29 07:13:11 +00:00
Chris Plummer
98a93e1151 8348800: Many serviceability/sa tests failing after JDK-8348239
Reviewed-by: shade, kevinw, lmesnik
2025-01-28 23:29:59 +00:00
Alexey Semenyuk
5e81fa6a1f 8348892: Properly fix compilation error for zip_util.c on Windows
Reviewed-by: kcr, jiangli
2025-01-28 23:06:13 +00:00
Justin Lu
3a564ed101 8347955: TimeZone methods to stream the available timezone IDs
Reviewed-by: naoto, rriggs
2025-01-28 21:31:46 +00:00
Jiangli Zhou
1efae9a41e 8348888: tier1 closed build failure on Windows after JDK-8348348
Reviewed-by: kcr, liach, asemenyuk
2025-01-28 20:24:16 +00:00
Daniel Gredler
c018a604f6 8344637: Fix Page8 of manual test java/awt/print/PrinterJob/PrintTextTest.java on Linux and Windows
Reviewed-by: honkar, prr
2025-01-28 20:02:48 +00:00
Cesar Soares Lucas
c3c3888762 8336760: [JVMCI] -XX:+PrintCompilation should also print "hosted" JVMCI compilations
Reviewed-by: dnsimon, kvn
2025-01-28 19:18:59 +00:00
Cesar Soares Lucas
9f4d3de442 8347718: Unexpected NullPointerException in C2 compiled code due to ReduceAllocationMerges
Reviewed-by: kvn, thartmann
2025-01-28 19:17:15 +00:00
Justin Lu
a224f12cb7 8348205: Improve cutover time selection when building available currencies set
Reviewed-by: naoto, rriggs
2025-01-28 17:40:20 +00:00
Jiangli Zhou
81032560f7 8348348: Remove unnecessary #ifdef STATIC_BUILD around DEF_STATIC_JNI_OnLoad from zip_util.c
Reviewed-by: sgehwolf
2025-01-28 16:42:13 +00:00
Alexey Semenyuk
fb066caea8 8347272: [ubsan] JvmLauncher.cpp:262:52: runtime error: applying non-zero offset 40 to null pointer
Reviewed-by: almatvee, mbaesken
2025-01-28 13:51:04 +00:00
Zhengyu Gu
5fec999474 8339668: Parallel: Adopt PartialArrayState to consolidate marking stack in Full GC
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, ayang
2025-01-28 13:29:37 +00:00
Dhamoder Nalla
2bef5b4a87 8348323: Corrupted timezone string in JVM crash log
Reviewed-by: dholmes, amitkumar, kevinw
2025-01-28 11:32:00 +00:00
Nizar Benalla
3a8680e919 8347058: When automatically translating the page to pt-br, all CSS styling disappears
Reviewed-by: hannesw, liach
2025-01-28 11:13:54 +00:00
Joachim Kern
a4942a2f7a 8348286: [AIX] clang 17 introduces new warning Wtentative-Definitions which produces Build errors
Reviewed-by: ihse, azvegint
2025-01-28 10:25:36 +00:00
Volkan Yazici
558255ae70 8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input
Reviewed-by: jpai
2025-01-28 10:22:55 +00:00
Theo Weidmann
1f74caa7da 8348401: [IR Framework] PrintTimes should not require verbose
Reviewed-by: kvn, chagedorn
2025-01-28 09:41:12 +00:00
Kevin Walls
f71541c93b 8344976: Remove the jmx.invoke.getters compatibility property
Reviewed-by: cjplummer, dfuchs, sspitsyn
2025-01-28 09:22:50 +00:00
Robbin Ehn
2537a05c06 8348384: RISC-V: Disable auto-enable Vector on buggy kernels
Reviewed-by: fyang, mli, luhenry
2025-01-28 07:35:30 +00:00
Ioi Lam
46f48e4e3d 8348515: Add docs for -XX:AOT* options in java man pages
Reviewed-by: adinn, kvn
2025-01-28 00:12:57 +00:00
Calvin Cheung
1916a7773f 8346923: MetaspaceShared base calculation may cause overflow in align_up
Reviewed-by: iklam, matsaave
2025-01-27 22:41:55 +00:00
Chris Plummer
21feef3280 8348239: SA does not know about DeoptimizeObjectsALotThread
Reviewed-by: kevinw, dlong, dholmes, lmesnik
2025-01-27 19:45:50 +00:00
Matthias Ernst
8cc1304542 8287788: Implement a better allocator for downcalls
Reviewed-by: jvernee
2025-01-27 19:40:26 +00:00
Weijun Wang
039e73fcdb 8346736: Java Security Standard Algorithm Names spec should include key algorithm names
Reviewed-by: mullan, hchao
2025-01-27 18:21:51 +00:00
Weijun Wang
aba60a9274 8189441: Define algorithm names for keys derived from KeyAgreement
Reviewed-by: mullan
2025-01-27 18:09:17 +00:00
Gennadiy Krivoshein
03106eb2d3 8344119: CUPSPrinter does not respect PostScript printer definition specification in case of reading ImageableArea values from PPD files
Reviewed-by: prr, psadhukhan
2025-01-27 18:05:19 +00:00
Albert Mingkun Yang
ad01dfb670 8346920: Serial: Support allocation in old generation when heap is almost full
Reviewed-by: tschatzl, gli, sjohanss
2025-01-27 14:57:49 +00:00
Chen Liang
1d8ccb8920 8342465: Improve API documentation for java.lang.classfile
Reviewed-by: asotona, darcy
2025-01-27 14:03:35 +00:00
Magnus Ihse Bursie
7d6055a786 8348429: Update cross-compilation devkits to Fedora 41/gcc 13.2
Reviewed-by: erikj
2025-01-27 13:11:03 +00:00
Magnus Ihse Bursie
f1e07974a0 8348586: Optionally silence make warnings about non-control variables
Reviewed-by: mcimadamore, erikj
2025-01-27 13:10:43 +00:00
Eirik Bjørsnøs
ffeb9b5aff 8342807: Update links in java.base to use https://
Reviewed-by: rriggs, ihse, jkern
2025-01-27 12:46:43 +00:00
Martin Doerr
afcc2b03af 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Reviewed-by: rcastanedalo, rrich
2025-01-27 10:11:53 +00:00
Theo Weidmann
175e58b2e3 8332980: [IR Framework] Add option to measure IR rule processing time
Reviewed-by: kvn, chagedorn
2025-01-27 08:19:55 +00:00
Matthias Baesken
b8c68c0e8c 8348207: Linux PPC64 PCH build broken after JDK-8347909
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: clanger, erikj, mdoerr
2025-01-27 08:14:33 +00:00
Matthias Baesken
70eec9001a 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup
Reviewed-by: mdoerr, erikj, ihse
2025-01-27 07:35:40 +00:00
Robbin Ehn
a1fd5f4e88 8348554: Enhance Linux kernel version checks
Reviewed-by: shade, fyang
2025-01-27 07:13:00 +00:00
Koushik Thirupattur
002679ac9f 8347065: Add missing @spec tags for Java Security Standard Algorithm Names
Reviewed-by: weijun
2025-01-25 19:06:47 +00:00
Leonid Mesnik
99002e4f9d 8318098: Update jfr tests to replace keyword jfr with vm.flagless
Reviewed-by: mgronlun
2025-01-25 18:59:20 +00:00
Archie Cobbs
5431668cb9 8348212: Need to add warn() step to JavacTaskImpl after JDK-8344148
Reviewed-by: mcimadamore
2025-01-25 18:02:18 +00:00
Alan Bateman
1d2eb2fbae 8299504: Resolve uses and provides at run time if the service is optional and missing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: sundar
2025-01-25 07:25:24 +00:00
Shaojin Wen
f446cefee0 8343962: [REDO] Move getChars to DecimalDigits
Reviewed-by: redestad, rgiulietti
2025-01-25 03:12:56 +00:00
William Kemper
7c0985fc32 8348420: Shenandoah: Check is_reserved before using ReservedSpace instances
Reviewed-by: ysr
2025-01-24 23:34:57 +00:00
Jamil Nimeh
f8e81d2339 8347506: Compatible OCSP readtimeout property with OCSP timeout
Reviewed-by: mullan, hchao
2025-01-24 23:06:57 +00:00
Mark Powers
907350e9e8 8346587: Distrust TLS server certificates anchored by Camerfirma Root CAs
Reviewed-by: mullan
2025-01-24 23:05:34 +00:00
Justin Lu
dec93675ab 8347498: JDK 24 RDP2 L10n resource files update
Reviewed-by: sgehwolf, dnguyen, naoto, joehw, asemenyuk
2025-01-24 21:43:19 +00:00
Andrey Turbanov
bef5f56544 8291027: Some of TimeZone methods marked 'synchronized' unnecessarily
Reviewed-by: liach, naoto, jlu
2025-01-24 20:13:17 +00:00
Eirik Bjørsnøs
8e8f800071 8344943: Mark not subclassable classes final in java.base exported classes
Reviewed-by: weijun, liach, djelinski
2025-01-24 19:29:05 +00:00
Volker Simonis
76f792b552 8348203: [JVMCI] Make eager JVMCI initialization observable in the debugger
Reviewed-by: dnsimon
2025-01-24 15:37:47 +00:00
Sonia Zaldana Calles
909cef5198 8339891: Several sun/security/ssl/SSLSessionImpl/* tests override test.java.opts
Reviewed-by: lmesnik
2025-01-24 14:36:05 +00:00
Andrey Turbanov
56a1877989 8348170: Unnecessary Hashtable usage in CSS.styleConstantToCssMap
Reviewed-by: azvegint, aivanov
2025-01-24 14:06:08 +00:00
Eirik Bjørsnøs
9768f60a94 8345249: Apply some conservative cleanups in FileURLConnection
Reviewed-by: jpai, djelinski
2025-01-24 13:00:28 +00:00
Guoxiong Li
c5a69b620a 8331723: Serial: Remove the unused parameter of the method SerialHeap::gc_prologue
Co-authored-by: nanxiaotao <nxtchongchong@163.com>
Reviewed-by: ayang
2025-01-24 12:47:25 +00:00
Robbin Ehn
9c55e2538c 8347981: RISC-V: Add Zfa zli imm loads
Reviewed-by: fyang, luhenry
2025-01-24 11:46:54 +00:00
Sean Coffey
e20bd018c4 8344361: Restore null return for invalid services from legacy providers
Reviewed-by: valeriep
2025-01-24 10:40:36 +00:00
Andrew Haley
5a0bdd04e0 8346890: AArch64: Type profile counters generate suboptimal code
Reviewed-by: shade, adinn
2025-01-24 10:38:43 +00:00
Martin Doerr
4a375e5b88 8344232: [PPC64] secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: rrich, amitkumar
2025-01-24 09:50:06 +00:00
Stefan Karlsson
0df9dcb6aa 8346572: Check is_reserved() before using ReservedSpace instances
Reviewed-by: tschatzl, wkemper, ayang, ysr
2025-01-24 09:23:29 +00:00
Kevin Walls
a09f06d538 8348265: RMIConnectionImpl: Remove Subject.callAs on MarshalledObject
Reviewed-by: rriggs
2025-01-24 08:39:37 +00:00
Jan Lahoda
0395593a8a 8346751: Internal java compiler error with type annotations in constants expression in constant fields
Reviewed-by: vromero
2025-01-24 08:12:50 +00:00
Adam Sotona
2daafe49c7 8348283: java.lang.classfile.components.snippets.PackageSnippets shipped in java.base.jmod
Reviewed-by: liach
2025-01-24 07:25:08 +00:00
anass baya
50ca450417 8340784: Remove PassFailJFrame constructor with screenshots
Reviewed-by: aivanov, azvegint
2025-01-24 07:01:03 +00:00
Alexander Zvegintsev
416d46947c 8347008: beancontext package spec does not clearly explain why the API is deprecated
Reviewed-by: aivanov, prr
2025-01-24 05:41:12 +00:00
Joe Wang
471d63c91f 8343609: Broken links in java.xml
Reviewed-by: naoto, lancea, iris
2025-01-24 00:29:49 +00:00
Ioi Lam
7f16a0875c 8348240: Remove SystemDictionaryShared::lookup_super_for_unregistered_class()
Reviewed-by: ccheung, coleenp
2025-01-23 22:02:48 +00:00
Rajat Mahajan
48ece07214 8282862: AwtWindow::SetIconData leaks old icon handles if an exception is detected
Reviewed-by: aivanov, dmarkov, prr, honkar, azvegint
2025-01-23 20:52:45 +00:00
Mikhail Yankelevich
356e2a8f48 8348406: Remove tests GrantAllPermToExtWhenNoPolicy and PrincipalExpansionError from problem list
Reviewed-by: rhalade
2025-01-23 18:59:21 +00:00
Mikael Vidstedt
3ebf88996f 8348327: Incorrect march flag when building libsleef/vector_math_neon.c
Reviewed-by: erikj, vlivanov, shade
2025-01-23 18:37:37 +00:00
Liam Miller-Cushon
d9d2e19f92 8348365: Bad format string in CLDRDisplayNamesTest
Reviewed-by: shade, naoto
2025-01-23 17:24:33 +00:00
Aleksey Shipilev
59e750931c 8348301: Remove unused Reference.waitForReferenceProcessing break-ins in tests
Reviewed-by: alanb
2025-01-23 16:49:00 +00:00
Alexey Ivanov
605b53e4f8 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.

Reviewed-by: azvegint, prr, kizune
2025-01-23 15:18:38 +00:00
Magnus Ihse Bursie
cba0f786fc 8348387: Add fixpath if needed for user-supplied tools
Reviewed-by: erikj
2025-01-23 14:51:32 +00:00
Magnus Ihse Bursie
44e5ccaf86 8348391: Keep case if possible for TOPDIR
Reviewed-by: erikj
2025-01-23 14:50:03 +00:00
Magnus Ihse Bursie
7460a0aff4 8348392: Make claims "other matches are possible" even when that is not true
Reviewed-by: erikj
2025-01-23 14:47:14 +00:00
Serhiy Sachkov
5cc690d31e 8347994: Add additional diagnostics to macOS failure handler to assist with diagnosing MCast test failures
Reviewed-by: dfuchs
2025-01-23 13:40:20 +00:00
Kevin Walls
c00557f8f5 8345049: Remove the jmx.tabular.data.hash.map compatibility property
Reviewed-by: cjplummer, sspitsyn, dfuchs
2025-01-23 11:41:16 +00:00
Kevin Walls
8b46db0c0d 8345045: Remove the jmx.remote.x.buffer.size JMX notification property
Reviewed-by: amenkov, sspitsyn
2025-01-23 11:39:38 +00:00
Kevin Walls
119899bc69 8345048: Remove the jmx.extend.open.types compatibility property
Reviewed-by: cjplummer, amenkov, sspitsyn
2025-01-23 11:06:11 +00:00
Alexey Ivanov
89bfcb8db0 8348308: Make fields of ListSelectionEvent final
Reviewed-by: honkar, azvegint
2025-01-23 10:51:53 +00:00
Alexey Ivanov
17df51516a 8348303: Remove repeated 'a' from ListSelectionEvent
Reviewed-by: azvegint, honkar, dmarkov, prr, kizune
2025-01-23 10:50:39 +00:00
Theo Weidmann
337118da6f 8348388: Incorrect copyright header in TestFluidAndNonFluid.java
Reviewed-by: epeter, chagedorn
2025-01-23 10:16:33 +00:00
Kevin Walls
3069e91232 8344969: Remove the jmx.mxbean.multiname compatibility property
Reviewed-by: sspitsyn, amenkov, dfuchs
2025-01-23 09:30:03 +00:00
Kevin Walls
c882160d03 8344966: Remove the allowNonPublic MBean compatibility property
Reviewed-by: amenkov, sspitsyn, dfuchs
2025-01-23 09:28:51 +00:00
Theo Weidmann
6032f6ea04 8341696: C2: Non-fluid StringBuilder pattern bails out in OptoStringConcat
Reviewed-by: epeter
2025-01-23 08:41:02 +00:00
Johny Jose
caa3c78f78 8347965: (tz) Update Timezone Data to 2025a
Reviewed-by: coffeys, naoto
2025-01-23 08:26:43 +00:00
Magnus Ihse Bursie
e69e5b7960 8348324: The failure handler cannot be build by JDK 24 due to restricted warning
Reviewed-by: jwaters, jpai
2025-01-23 07:51:11 +00:00
Casper Norrbin
66513ddbe9 8337997: MallocHeader description refers to non-existent NMT state "minimal"
Reviewed-by: jsjolen, zgu
2025-01-23 05:05:19 +00:00
Jaikiran Pai
8cf0735839 8348102: java/net/httpclient/HttpClientSNITest.java fails intermittently
Reviewed-by: dfuchs, djelinski
2025-01-23 01:39:20 +00:00
Zhengyu Gu
a36e166ec9 8348241: ZGC: Unnecessarily reinitialize ZFragmentationLimit's default value
Reviewed-by: stefank
2025-01-23 01:14:47 +00:00
Daniel Fuchs
b720517cb3 8348108: Race condition in AggregatePublisher.AggregateSubscription
Reviewed-by: jpai
2025-01-22 16:39:08 +00:00
Johan Sjölen
17a408c4b1 8348169: Destruct values on free in Treap
Reviewed-by: cnorrbin, gziemski
2025-01-22 16:35:59 +00:00
Aleksey Shipilev
25bb698eff 8348195: More u2 conversion warnings after JDK-8347147
Reviewed-by: coleenp, dholmes
2025-01-22 15:27:41 +00:00
Magnus Ihse Bursie
893d00ac7d 8346388: Cannot use DllMain in libawt for static builds
Reviewed-by: aivanov, prr
2025-01-22 15:11:41 +00:00
Roberto Castañeda Lozano
1c7641d44f 8347563: C2: clean up ModRefBarrierSetC2
Reviewed-by: ayang, tschatzl, kvn
2025-01-22 12:29:53 +00:00
Coleen Phillimore
86a8b48b6c 8337458: Remove debugging code print_cpool_bytes
Reviewed-by: dholmes, shade
2025-01-22 12:21:17 +00:00
Jaikiran Pai
16a1d0a7ff 8348135: Fix couple of problem listing entries in test/hotspot/jtreg/ProblemList-Virtual.txt
Reviewed-by: dholmes
2025-01-22 12:14:27 +00:00
Emanuel Peter
16dcf15a14 8348263: C2 SuperWord: TestMemorySegment.java has failing IR rules with AlignVector after JDK-8343685
Reviewed-by: chagedorn, thartmann
2025-01-22 12:02:39 +00:00
Jaikiran Pai
61873564a4 Merge
Reviewed-by: dfuchs
2025-01-22 11:28:24 +00:00
Robbin Ehn
fb43849227 8347794: RISC-V: Add Zfhmin - Float cleanup
Reviewed-by: fyang, mli
2025-01-22 10:25:36 +00:00
Christian Hagedorn
5f6c85420a 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: rhalade, ahgross, thartmann, epeter, adinn, roland
2025-01-22 14:56:49 +05:30
Roger Riggs
fa83309e10 8339180: Enhanced Building of Processes: Follow-on Issue
Reviewed-by: naoto, djelinski
2025-01-22 14:56:49 +05:30
Jayathirth D V
496d06fb55 8336564: Enhance mask blit functionality redux
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2025-01-22 14:56:49 +05:30
Roger Riggs
46b2481958 8335428: Enhanced Building of Processes
Reviewed-by: rhalade, djelinski
2025-01-22 14:56:49 +05:30
Stefan Karlsson
9b98cc0ba7 8348182: Remove DONT_USE_PRECOMPILED_HEADER
Reviewed-by: erikj, shade, dholmes
2025-01-22 09:25:40 +00:00
Matthias Baesken
d777218f38 8346830: Simplify adlc build config for aix
Reviewed-by: clanger, erikj, jwaters, jkern
2025-01-22 08:01:01 +00:00
Richard Reingruber
15d6469e8d 8347817: Timeouts running test/jdk/java/lang/String/concat/HiddenClassUnloading.java with fastdebug builds
Reviewed-by: clanger, mbaesken, mdoerr
2025-01-22 07:02:40 +00:00
David Holmes
3c2a1d87d5 8348117: The two-argument overload of SignatureHandlerLibrary::add is not used
Reviewed-by: coleenp, shade
2025-01-22 06:10:24 +00:00
Abhishek Kumar
8458f886bd 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser
Reviewed-by: aivanov, azvegint, prr, kizune
2025-01-22 05:51:38 +00:00
Serguei Spitsyn
7a6ff9206a 8345543: Test serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java failed: expected JVMTI_ERROR_OPAQUE_FRAME instead of: 0
Reviewed-by: pchilanomate, dholmes, alanb
2025-01-21 21:37:34 +00:00
Leonid Mesnik
bbd880775f 8338428: Add logging of final VM flags while setting properties
Reviewed-by: dholmes, rriggs
2025-01-21 21:10:43 +00:00
Aleksey Shipilev
c38417a86e 8348186: C1: Purge fpu_stack_size infrastructure
Reviewed-by: kvn
2025-01-21 19:23:33 +00:00
Brian Burkhalter
f2a9d26b2e 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
Reviewed-by: djelinski
2025-01-21 19:07:17 +00:00
Magnus Ihse Bursie
25fecaaf87 8348039: testmake fails at IDEA after JDK-8347825
Reviewed-by: erikj
2025-01-21 19:02:08 +00:00
William Kemper
6a29a8110e 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
Reviewed-by: kdnilsen, ysr
2025-01-21 18:36:19 +00:00
Naoto Sato
81912e958b 8347841: Test fixes that use deprecated time zone IDs
Reviewed-by: jlu, joehw
2025-01-21 18:29:56 +00:00
Kevin Walls
3d4afc492a 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl
Reviewed-by: dfuchs
2025-01-21 17:23:04 +00:00
Daniel Fuchs
a62a870150 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
Reviewed-by: jpai
2025-01-21 16:04:04 +00:00
SendaoYan
8e8c9482a9 8346866: [ASAN] memoryReserver.cpp reported applying non-zero offset to non-null pointer produced null pointer
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kbarrett, stefank
2025-01-21 15:32:05 +00:00
Simon Tooke
1ed396b4fc 8346927: serviceability/dcmd/vm/[SystemMapTest.java|SystemDumpMapTest.java] fail at jmx
Reviewed-by: kevinw
2025-01-21 15:01:37 +00:00
Daniel Fuchs
5c4a387b7e 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Reviewed-by: jpai
2025-01-21 14:46:53 +00:00
Thomas Stuefe
48c75976b1 8348029: Make gtest death tests work with real crash signals
Reviewed-by: mbaesken, szaldana
2025-01-21 14:46:25 +00:00
Coleen Phillimore
4a9fba615d 8347990: Remove SIZE_FORMAT macros and replace remaining uses
Reviewed-by: dholmes, kbarrett
2025-01-21 13:18:58 +00:00
Stefan Karlsson
c33c1cfe73 8347909: Automatic precompiled.hpp inclusion
Reviewed-by: lkorinth, erikj, dholmes, ihse
2025-01-21 10:21:24 +00:00
Theo Weidmann
f54e0bf267 8345766: C2 should emit macro nodes for ModF/ModD instead of calls during parsing
Reviewed-by: kvn, epeter
2025-01-21 09:15:18 +00:00
Emanuel Peter
0f426e4a6d 8343685: C2 SuperWord: refactor VPointer with MemPointer
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2025-01-21 07:05:05 +00:00
Amit Kumar
6b9198541b 8346157: [Ubsan]: runtime error: pointer index expression with base 0x000000001000 overflowed to 0xfffffffffffffff0
Reviewed-by: stuefe, aph
2025-01-21 03:53:43 +00:00
David Holmes
955bf185c3 8348040: Bad use of ifdef with INCLUDE_xxx GC macros
Reviewed-by: stefank, shade
2025-01-20 20:31:26 +00:00
Zhengyu Gu
ca863fd5ab 8347758: modules.cpp leaks string returned from get_numbered_property_as_sorted_string()
Reviewed-by: dholmes, iklam, ccheung
2025-01-20 19:13:59 +00:00
Magnus Ihse Bursie
3a4d5ff7a3 8347996: JavaCompilation.gmk should not include ZipArchive.gmk
Reviewed-by: erikj
2025-01-20 16:29:00 +00:00
Archie Cobbs
0fbf10a9cf 8348038: Docs build failing in Options.notifyListeners with AssertionError
Reviewed-by: jlahoda, mcimadamore
2025-01-20 14:20:10 +00:00
Andrey Turbanov
9346984725 8347916: Simplify javax.swing.text.html.CSS.LengthUnit.getValue
Reviewed-by: azvegint, aivanov
2025-01-20 12:54:58 +00:00
Albert Mingkun Yang
3c9239263f 8348089: Serial: Remove virtual specifier in SerialHeap
Reviewed-by: stefank
2025-01-20 12:44:21 +00:00
Christian Hagedorn
8a83dc213a 8347018: C2: Insertion of Assertion Predicates ignores the effects of PhaseIdealLoop::clone_up_backedge_goo()
Reviewed-by: epeter, kvn
2025-01-20 12:24:33 +00:00
Aleksey Shipilev
85fdd2cc12 8347434: Richer VM operations events logging
Reviewed-by: dholmes, jsjolen
2025-01-20 12:18:05 +00:00
Albert Mingkun Yang
c207cc7e70 8347923: Parallel: Simplify compute_survivor_space_size_and_threshold
Reviewed-by: tschatzl
2025-01-20 09:51:45 +00:00
Markus Grönlund
4b4b1e912a 8347922: Remove runtime/cds/appcds/customLoader/HelloCustom_JFR.java from ProblemList.txt
Reviewed-by: egahlin
2025-01-20 08:54:15 +00:00
Volkan Yazıcı
e7a1c8660a 8217914: java/net/httpclient/ConnectTimeoutHandshakeSync.java failed on connection refused while doing POST
Reviewed-by: dfuchs, jpai
2025-01-20 06:53:25 +00:00
Archie Cobbs
644d154c7c 8347474: Options singleton is used before options are parsed
Reviewed-by: vromero
2025-01-19 14:57:08 +00:00
Robert Toyonaga
3804082cba 8346123: [REDO] NMT should not use ThreadCritical
Reviewed-by: dholmes, coleenp, stuefe
2025-01-18 17:21:28 +00:00
Robbin Ehn
1f0efc0091 8347343: RISC-V: Unchecked zicntr csr reads
Reviewed-by: fyang, mli
2025-01-18 09:19:21 +00:00
Robbin Ehn
ca8ba5c890 8347366: RISC-V: Add extension asserts for CMO instructions
Reviewed-by: fyang, mli
2025-01-18 09:16:22 +00:00
Robbin Ehn
0ff67000dc 8347987: Bad ifdef in 8330851
Reviewed-by: stefank, mdoerr, syan, amitkumar
2025-01-18 08:41:00 +00:00
Calvin Cheung
e1cf3517ae 8348013: [doc] fix typo in java.md caused by JDK-8347763
Reviewed-by: iklam
2025-01-18 00:34:27 +00:00
Serguei Spitsyn
6ef860c728 8332857: Test vmTestbase/nsk/jvmti/GetThreadCpuTime/thrcputime002/TestDescription.java failed
Reviewed-by: lmesnik, cjplummer, amenkov
2025-01-18 00:28:30 +00:00
Calvin Cheung
17e3df652f 8347763: [doc] Add documentation of module options for JEP 483
Reviewed-by: iklam
2025-01-17 18:46:17 +00:00
Jatin Bhateja
6cc1c0abdb 8347422: Crash during safepoint handler execution with -XX:+UseAPX
Reviewed-by: kvn, sviswanathan, thartmann
2025-01-17 18:05:13 +00:00
Coleen Phillimore
baca7daa32 8347733: Replace SIZE_FORMAT in runtime code
Reviewed-by: matsaave, sspitsyn, dholmes
2025-01-17 16:24:47 +00:00
Leonid Mesnik
2ca1b4d48d 8347840: Fix testlibrary compilation warnings
Reviewed-by: dholmes
2025-01-17 15:43:04 +00:00
Zhengyu Gu
2c41f5adbf 8347959: ThreadDumper leaks memory
Reviewed-by: amenkov, sspitsyn, shade
2025-01-17 13:39:22 +00:00
Prasanta Sadhukhan
15e06b6186 8345618: javax/swing/text/Caret/8163124/CaretFloatingPointAPITest.java leaves Caret is not complete
Reviewed-by: azvegint
2025-01-17 12:54:54 +00:00
Coleen Phillimore
3ab521e1a1 8347924: Replace SIZE_FORMAT in memory and metaspace
Reviewed-by: jsjolen, matsaave
2025-01-17 12:16:44 +00:00
Gui Cao
8460072f9d 8342881: RISC-V: secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: fyang, fjiang
2025-01-17 11:31:48 +00:00
Amit Kumar
f5573f5cbd 8330851: C2: More efficient TypeFunc creation
Reviewed-by: vlivanov, dlong
2025-01-17 10:21:15 +00:00
Matthias Baesken
a3eef6c241 8346875: Test jdk/jdk/jfr/event/os/TestCPULoad.java fails on macOS
Reviewed-by: egahlin
2025-01-17 07:58:52 +00:00
Jayathirth D V
398a580518 8347911: Limit the length of inflated text chunks
Reviewed-by: azvegint, prr
2025-01-17 04:02:26 +00:00
Quan Anh Mai
aa21de566d 8347481: C2: Remove the control input of some nodes
Reviewed-by: dfenacci, vlivanov, kvn
2025-01-17 02:05:14 +00:00
Magnus Ihse Bursie
1f365cc6c7 8346433: Cannot use DllMain in hotspot for static builds
Reviewed-by: dholmes, stuefe
2025-01-16 21:46:18 +00:00
William Kemper
0330ca4221 8347617: Shenandoah: Use consistent name for update references phase
Reviewed-by: ysr
2025-01-16 20:53:17 +00:00
Matthias Baesken
07a0dcbabc 8347576: Error output in libjsound has non matching format strings
Reviewed-by: mdoerr, serb, clanger
2025-01-16 16:30:32 +00:00
Coleen Phillimore
d218b54086 8347609: Replace SIZE_FORMAT in os/os_cpu/cpu directories
Reviewed-by: matsaave, dholmes
2025-01-16 16:09:04 +00:00
SendaoYan
e7795ccdd9 8347347: Build fails undefined symbol: __asan_init by clang17
Reviewed-by: erikj, jwaters
2025-01-16 15:40:21 +00:00
Theo Weidmann
788f04990a 8346607: IGV: Support drag-and-drop for opening graph files
Reviewed-by: rcastanedalo, chagedorn, dfenacci, thartmann
2025-01-16 14:38:02 +00:00
Coleen Phillimore
bfa0cb7916 8347730: Replace SIZE_FORMAT in g1
Reviewed-by: kbarrett, tschatzl
2025-01-16 14:30:53 +00:00
Magnus Ihse Bursie
3b6e57670c 8347825: Make IDEA ide support use proper build system mechanisms
Reviewed-by: mcimadamore, erikj
2025-01-16 14:25:52 +00:00
Coleen Phillimore
8bfa540550 8347731: Replace SIZE_FORMAT in zgc
Reviewed-by: stefank, tschatzl, jsikstro
2025-01-16 12:48:51 +00:00
Coleen Phillimore
cbe2f9654e 8347732: Replace SIZE_FORMAT in shenandoah
Reviewed-by: wkemper, ysr
2025-01-16 12:46:32 +00:00
Theo Weidmann
f64f22b360 8346107: Generators: testing utility for random value generation
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, chagedorn
2025-01-16 12:17:21 +00:00
Theo Weidmann
4ad5d5514e 8325030: PhaseMacroExpand::value_from_mem_phi assert with "unknown node on this path"
Reviewed-by: chagedorn, kvn
2025-01-16 12:16:14 +00:00
Andrey Turbanov
24de9dee80 8347370: Unnecessary Hashtable usage in javax.swing.text.html.HTML
Reviewed-by: aivanov, azvegint
2025-01-16 11:38:28 +00:00
Aleksey Shipilev
d23ad01319 8337978: Verify OopHandles oops on access
Reviewed-by: dholmes, coleenp
2025-01-16 10:13:48 +00:00
Alexander Zuev
9c430c9225 8336920: ArithmeticException in javax.sound.sampled.AudioInputStream
Reviewed-by: azvegint, prr
2025-01-16 01:10:46 +00:00
Coleen Phillimore
bdf6e63eb1 8347431: Update ObjectMonitor comments
Reviewed-by: dholmes, pchilanomate
2025-01-15 22:44:33 +00:00
William Kemper
764d70b7df 8344049: Shenandoah: Eliminate init-update-refs safepoint
8344050: Shenandoah: Retire GC LABs concurrently
8344055: Shenandoah: Make all threads use local gc state

Reviewed-by: ysr, kdnilsen
2025-01-15 17:49:38 +00:00
Naoto Sato
cfe70ebcb3 8342550: Log warning for using JDK1.1 compatible time zone IDs for future removal
Reviewed-by: jlu, joehw, iris
2025-01-15 17:15:05 +00:00
Coleen Phillimore
983e24fd26 8347727: Replace SIZE_FORMAT in shared gc
Reviewed-by: kbarrett, dholmes, tschatzl
2025-01-15 17:11:29 +00:00
Aleksey Shipilev
a6be907635 8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test
Reviewed-by: mullan, bperez
2025-01-15 16:40:12 +00:00
Markus Grönlund
4257215a9f 8345493: JFR: JVM.flush hangs intermittently
Reviewed-by: egahlin
2025-01-15 16:17:26 +00:00
Mikhail Yankelevich
a0f7982e44 8345134: Test sun/security/tools/jarsigner/ConciseJarsigner.java failed: unable to find valid certification path to requested target
Reviewed-by: weijun
2025-01-15 15:24:31 +00:00
Severin Gehwolf
63cedaf40e 8347334: JimageDiffGenerator code clean-ups
Reviewed-by: henryjen, mbaesken
2025-01-15 14:44:35 +00:00
Sonia Zaldana Calles
254e840d9a 8340416: Remove ArchiveBuilder::estimate_archive_size()
Reviewed-by: iklam, ccheung
2025-01-15 14:09:27 +00:00
Hannes Greule
8193ba3de2 8347562: javac crash due to type vars in permits clause
Reviewed-by: vromero
2025-01-15 14:09:14 +00:00
Daniel Fuchs
7df21a8f09 8347597: HttpClient: improve exception reporting when closing connection
Reviewed-by: jpai
2025-01-15 12:40:38 +00:00
Coleen Phillimore
b0e2be6f6b 8347729: Replace SIZE_FORMAT in parallel and serial gc
Reviewed-by: dholmes, tschatzl
2025-01-15 12:25:59 +00:00
Per Minborg
d4e5ec2746 8346610: Make all imports consistent in the FFM API
Reviewed-by: mcimadamore
2025-01-15 12:19:27 +00:00
Coleen Phillimore
c36200b098 8347721: Replace SIZE_FORMAT in compiler directories
Reviewed-by: kvn, dlong
2025-01-15 12:16:58 +00:00
Alan Bateman
af3f5d852e 8347039: ThreadPerTaskExecutor terminates if cancelled tasks still running
Reviewed-by: vklang
2025-01-15 10:54:03 +00:00
Joakim Nordström
91197b384f 8347531: The signal tests are failing after JDK-8345782 due to an unrelated warning
Reviewed-by: kevinw, dholmes
2025-01-15 08:56:38 +00:00
Fei Yang
4f3dc9d13a 8347352: RISC-V: Cleanup bitwise AND assembler routines
Reviewed-by: rehn, fjiang, mli
2025-01-15 08:04:04 +00:00
Swati Sharma
afc4529d96 8346834: Tests failing with -XX:+UseNUMA due to "NUMA support disabled" warning
Reviewed-by: dholmes, sjohanss
2025-01-15 06:52:24 +00:00
Henry Jen
a3be97e2d6 8347761: Test tools/jimage/JImageExtractTest.java fails after JDK-8303884
Reviewed-by: dholmes
2025-01-15 05:40:04 +00:00
Chen Liang
28e01e6559 8347762: ClassFile attribute specification refers to non-SE modules
Reviewed-by: darcy, dholmes
2025-01-15 05:24:43 +00:00
Ioi Lam
be1cdd9450 8344140: Refactor the discovery of AOT cache artifacts
Reviewed-by: ccheung, asmehra
2025-01-15 04:32:47 +00:00
Chen Liang
973c630777 8342466: Improve API documentation for java.lang.classfile.attribute
Reviewed-by: darcy, asotona
2025-01-15 02:04:01 +00:00
William Kemper
9782bfdd27 8347620: Shenandoah: Use 'free' tag for free set related logging
Reviewed-by: ysr
2025-01-15 01:28:07 +00:00
Jaikiran Pai
35be4a432b 8347173: java/net/DatagramSocket/InterruptibleDatagramSocket.java fails with virtual thread factory
Reviewed-by: alanb, lmesnik, dfuchs
2025-01-15 01:10:32 +00:00
Jaikiran Pai
36b7abd617 8225763: Inflater and Deflater should implement AutoCloseable
Reviewed-by: lancea, rriggs, alanb, smarks
2025-01-15 01:04:44 +00:00
Henry Jen
d6d45c6eae 8303884: jlink --add-options plugin does not allow GNU style options to be provided
Reviewed-by: ysuenaga, alanb
2025-01-14 23:49:14 +00:00
Weijun Wang
0ee6ba9c4c 8347596: Update HSS/LMS public key encoding
Reviewed-by: mullan
2025-01-14 23:06:45 +00:00
Patricio Chilano Mateo
ec2aaaaf83 8326236: assert(ce != nullptr) failed in Continuation::continuation_bottom_sender
Reviewed-by: dholmes, mgronlun
2025-01-14 21:51:05 +00:00
Justin Lu
02d24934ff 8347613: Remove leftover doPrivileged call in Currency test: CheckDataVersion.java
Reviewed-by: naoto
2025-01-14 21:45:36 +00:00
Vladimir Ivanov
10d08dbc81 8346142: [perf] scalability issue for the specjvm2008::xml.validation workload
Reviewed-by: joehw
2025-01-14 21:29:52 +00:00
David Holmes
9b1bed0aa4 8290043: serviceability/attach/ConcAttachTest.java failed "guarantee(!CheckJNICalls) failed: Attached JNI thread exited without being detached"
Reviewed-by: jsjolen, coleenp
2025-01-14 19:49:55 +00:00
Severin Gehwolf
2de71d0445 8347129: cpuset cgroups controller is required for no good reason
Reviewed-by: stuefe, asmehra
2025-01-14 19:40:50 +00:00
Kim Barrett
4c30933b2a 8346971: [ubsan] psCardTable.cpp:131:24: runtime error: large index is out of bounds
Reviewed-by: ayang, tschatzl
2025-01-14 18:54:56 +00:00
Naoto Sato
06ff4c17bd 8347146: Convert IncludeLocalesPluginTest to use JUnit
Reviewed-by: jlu, joehw
2025-01-14 17:47:18 +00:00
Kim Barrett
db76f47f27 8347720: [BACKOUT] Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Reviewed-by: coleenp
2025-01-14 17:42:24 +00:00
Liam Miller-Cushon
e6902cfca4 8323740: java.lang.ExceptionInInitializerError when trying to load XML classes in wrong order
Reviewed-by: joehw
2025-01-14 17:27:54 +00:00
Coleen Phillimore
a01e92cdef 8347724: Replace SIZE_FORMAT in jfr directory
Reviewed-by: egahlin
2025-01-14 17:00:46 +00:00
Brian Burkhalter
d002933c26 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Reviewed-by: alanb, jpai
2025-01-14 15:52:54 +00:00
Joachim Kern
d532019799 8347143: [aix] Fix strdup use in os::dll_load
Reviewed-by: mdoerr, clanger, kbarrett
2025-01-14 15:39:45 +00:00
Henry Jen
dfd215b7e9 8347376: tools/jlink/runtimeImage/JavaSEReproducibleTest.java and PackagedModulesVsRuntimeImageLinkTest.java failed after JDK-8321413
Reviewed-by: dholmes, iklam, alanb
2025-01-14 15:26:36 +00:00
Sean Mullan
a49f8332ed 8346045: Cleanup of security library tests calling Security Manager APIs
Reviewed-by: rriggs
2025-01-14 15:21:06 +00:00
Hannes Wallnöfer
56c780078f 8347381: Upgrade jQuery UI to version 1.14.1
Reviewed-by: liach
2025-01-14 14:00:54 +00:00
Magnus Ihse Bursie
1c64a459a6 8347501: Make static-launcher fails after JDK-8346669
Reviewed-by: syan, erikj
2025-01-14 13:47:33 +00:00
Coleen Phillimore
b4cd3b1296 8347566: Replace SSIZE_FORMAT with 'z' length modifier
Reviewed-by: dlong, dholmes, kbarrett
2025-01-14 12:33:56 +00:00
Emanuel Peter
f0af830f85 8335747: C2: fix overflow case for LoopLimit with constant inputs
Reviewed-by: kvn, qamai
2025-01-14 11:55:39 +00:00
Christian Stein
fec769b0a8 8346778: Enable native access should work with the source launcher
Reviewed-by: alanb
2025-01-14 10:34:51 +00:00
Daniel Lundén
cbb2b847e4 8344130: C2: Avoid excessive hoisting in scheduler due to minuscule differences in block frequency
Reviewed-by: rcastanedalo, kvn
2025-01-14 10:23:57 +00:00
Jan Lahoda
bb93f67ea8 8347646: module-info classfile missing the preview flag
Reviewed-by: asotona
2025-01-14 10:23:32 +00:00
Adam Sotona
3e989fd0f7 8346986: Remove ASM from java.base
Reviewed-by: dholmes, ihse, lmesnik, alanb
2025-01-14 09:28:56 +00:00
Severin Gehwolf
3967696386 8347496: Test jdk/jfr/jvm/TestModularImage.java fails after JDK-8347124: No javac
Reviewed-by: egahlin, dholmes
2025-01-14 09:18:27 +00:00
Yasumasa Suenaga
6eb83ef874 8347500: hsdis cannot be built with Capstone.next
Reviewed-by: ihse, simonis
2025-01-14 09:06:25 +00:00
David Holmes
c1d322fff4 8347627: Compiler replay tests are failing after JDK-8346990
Reviewed-by: coleenp
2025-01-14 03:19:25 +00:00
Alex Menkov
0ae5c6b38b 8342996: Enhance Attach API to support arbitrary length arguments - OSX
Reviewed-by: sspitsyn, kevinw
2025-01-14 01:26:31 +00:00
SendaoYan
91b63ca748 8345016: [ASAN] java.c reported ‘%s’ directive argument is null [-Werror=format-truncation=]
Reviewed-by: rriggs
2025-01-14 01:13:31 +00:00
Coleen Phillimore
379d05bcc1 8346990: Remove INTX_FORMAT and UINTX_FORMAT macros
Reviewed-by: kbarrett, dholmes, matsaave
2025-01-13 22:01:54 +00:00
Magnus Ihse Bursie
d3a7ac22c9 8346383: Cannot use DllMain in libdt_socket for static builds
Reviewed-by: dholmes, sspitsyn
2025-01-13 21:22:44 +00:00
Phil Race
13a1775718 8344146: Remove temporary font file tracking code.
Reviewed-by: honkar, aivanov
2025-01-13 20:10:19 +00:00
Martin Doerr
61dc07c118 8346869: [AIX] Add regression test for handling 4 Byte aligned doubles in structures
Reviewed-by: mbaesken, jkern
2025-01-13 20:07:31 +00:00
Martin Doerr
13e1ea53c5 8346038: [REDO] - [C1] LIR Operations with one input should be implemented as LIR_Op1
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: kvn, sviswanathan
2025-01-13 20:03:34 +00:00
Joe Darcy
7c883c284d 8347605: Use spec tag to refer to IEEE 754 standard
Reviewed-by: bpb, iris
2025-01-13 19:59:49 +00:00
Volkan Yazıcı
4e0ffda5b1 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Reviewed-by: bpb
2025-01-13 19:00:09 +00:00
Kim Barrett
e0f2f4b216 8313396: Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: coleenp, dholmes, jsjolen
2025-01-13 18:25:42 +00:00
Brian Burkhalter
b0c131e872 8345368: java/io/File/createTempFile/SpecialTempFile.java fails on Windows Server 2025
Reviewed-by: lancea
2025-01-13 18:09:48 +00:00
Roger Riggs
a7915bb2e1 8346468: SM cleanup of common test library
Reviewed-by: jpai, dfuchs
2025-01-13 16:43:44 +00:00
Alexey Ivanov
f67b703625 8347427: JTabbedPane/8134116/Bug8134116.java has no license header
Reviewed-by: dmarkov, honkar, abhiscxk
2025-01-13 16:13:30 +00:00
Christian Hagedorn
062f2dcfe5 8347554: [BACKOUT] C2: implement optimization for series of Add of unique value
Reviewed-by: thartmann
2025-01-13 14:19:43 +00:00
Julian Waters
a289bcfe7e 8306579: Consider building with /Zc:throwingNew
Reviewed-by: ihse, kbarrett
2025-01-13 14:02:41 +00:00
Zhengyu Gu
cede30416f 8347482: Remove unused field in ParkEvent
Reviewed-by: dholmes
2025-01-13 13:50:05 +00:00
Weijun Wang
fa5ff82eb3 8342062: Reformat keytool and jarsigner output for keys with a named parameter set
Reviewed-by: mullan
2025-01-13 13:43:52 +00:00
Coleen Phillimore
cc19897202 8293123: Fix various include file ordering
Reviewed-by: dholmes, stefank
2025-01-13 13:14:15 +00:00
Coleen Phillimore
6e43f48fcf 8346929: runtime/ClassUnload/DictionaryDependsTest.java fails with "Test failed: should be unloaded"
Reviewed-by: dholmes, ccheung
2025-01-13 12:50:13 +00:00
Magnus Ihse Bursie
c885e59cfa 8346377: Properly support static builds for Windows
Reviewed-by: erikj
2025-01-13 12:25:10 +00:00
Daniel Fuchs
06126361db 8347373: HTTP/2 flow control checks may count unprocessed data twice
Reviewed-by: jpai
2025-01-13 12:05:44 +00:00
Viktor Klang
450636ae28 8347274: Gatherers.mapConcurrent exhibits undesired behavior under variable delays, interruption, and finishing
Reviewed-by: alanb
2025-01-13 10:38:02 +00:00
Tobias Hartmann
82e2a79122 8347006: LoadRangeNode floats above array guard in arraycopy intrinsic
Reviewed-by: roland, qamai, kvn
2025-01-13 09:49:16 +00:00
Severin Gehwolf
85ed78c063 8345185: Update jpackage to not include service bindings by default
Reviewed-by: asemenyuk
2025-01-13 09:26:31 +00:00
Daniel Jeliński
3b9732edc6 8345471: Clean up compiler/intrinsics/sha/cli tests
Reviewed-by: kvn
2025-01-13 08:13:57 +00:00
Christian Hagedorn
ed0b555627 8344035: Replace predicate walking code in Loop Unswitching with a predicate visitor
Reviewed-by: roland, kvn
2025-01-13 08:09:08 +00:00
Damon Fenacci
b37f123625 8347407: [BACKOUT] C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: thartmann, kvn
2025-01-13 07:59:51 +00:00
Matthias Baesken
1f7925ceb4 8347270: Remove unix_getParentPidAndTimings, unix_getChildren and unix_getCmdlineAndUserInfo
Reviewed-by: rriggs, clanger, jkern
2025-01-13 07:47:39 +00:00
Prasanta Sadhukhan
9fafd63d46 8346828: javax/swing/JScrollBar/4865918/bug4865918.java still fails in CI
Reviewed-by: abhiscxk, dnguyen
2025-01-13 05:19:14 +00:00
Simon Tooke
f04a642246 8346717: serviceability/dcmd/vm/SystemDumpMapTest.java failing on Windows with "Stack base not yet set for thread id"
Reviewed-by: lmesnik, dholmes
2025-01-12 21:39:43 +00:00
Serguei Spitsyn
3145278847 8346727: JvmtiVTMSTransitionDisabler deadlock
Reviewed-by: cjplummer, lmesnik
2025-01-11 07:07:27 +00:00
Serguei Spitsyn
761774a120 8346143: add ClearAllFramePops function to speedup debugger single stepping in some cases
Reviewed-by: cjplummer, amenkov
2025-01-10 23:49:03 +00:00
Chen Liang
6f1f2f2537 8347063: Add comments in ClassFileFormatVersion for class file format evolution history
Reviewed-by: darcy, iris
2025-01-10 21:23:50 +00:00
Alexey Semenyuk
10f7142dce 8347295: Fix WinResourceTest to make it work with WiX v4.0+
Reviewed-by: almatvee
2025-01-10 19:32:05 +00:00
Alexey Semenyuk
01c8ba2cde 8347298: Bug in JPackageCommand.ignoreFakeRuntime()
Reviewed-by: almatvee
2025-01-10 19:31:48 +00:00
Alexey Semenyuk
d69463e4bc 8347300: Don't exclude the "PATH" var from the environment when running app launchers in jpackage tests
Reviewed-by: almatvee
2025-01-10 19:30:27 +00:00
Brian Burkhalter
4b554b52e6 8346722: (fs) Files.probeContentType throws ClassCastException with custom file system provider
Reviewed-by: alanb
2025-01-10 18:50:40 +00:00
Magnus Ihse Bursie
46ba515c49 8346669: Increase abstraction in SetupBuildLauncher and remove extra args
Reviewed-by: erikj
2025-01-10 17:59:27 +00:00
Leonid Mesnik
e7e8f60c9b 8347302: Mark test tools/jimage/JImageToolTest.java as flagless
Reviewed-by: alanb, shade
2025-01-10 16:50:21 +00:00
Roland Westrelin
9cf7d42b65 8346184: C2: assert(has_node(i)) failed during split thru phi
Reviewed-by: thartmann, chagedorn
2025-01-10 16:47:51 +00:00
Erik Gahlin
1bf2f5c8a9 8343510: JFR: Remove AccessControlContext from FlightRecorder::addListener specification
Reviewed-by: mgronlun
2025-01-10 15:58:50 +00:00
Peter Levart
beb0e607d3 8347397: Cleanup of JDK-8169880
Reviewed-by: liach, alanb
2025-01-10 14:47:01 +00:00
Erik Joelsson
c5c4efdaa1 8347120: Launchers should not have java headers on include path
Reviewed-by: dholmes, ihse
2025-01-10 13:57:52 +00:00
Erik Gahlin
ec7393e919 8347287: JFR: Remove use of Security Manager
Reviewed-by: mgronlun
2025-01-10 13:46:57 +00:00
Kevin Walls
12752b0031 8347346: Remove redundant ClassForName.java and test.policy from runtime/Dictionary
Reviewed-by: coleenp
2025-01-10 10:51:34 +00:00
Alexey Ivanov
57af52c573 8346581: JRadioButton/ButtonGroupFocusTest.java fails in CI on Linux
Reviewed-by: honkar, dnguyen
2025-01-10 10:34:22 +00:00
Severin Gehwolf
1f457977f0 8347124: Clean tests with --enable-linkable-runtime
Reviewed-by: shade, alanb
2025-01-10 10:06:24 +00:00
Matthias Baesken
5e92a4ceaf 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Reviewed-by: kevinw, cjplummer
2025-01-10 10:02:24 +00:00
Theo Weidmann
55c6904e8f 8331717: C2: Crash with SIGFPE Because Loop Predication Wrongly Hoists Division Requiring Zero Check
Reviewed-by: chagedorn, qamai, kvn
2025-01-10 08:59:31 +00:00
Aleksey Shipilev
1a0fe49732 8347256: Epsilon: Demote heap size and AlwaysPreTouch warnings to info level
Reviewed-by: tschatzl, phh
2025-01-10 08:42:42 +00:00
Kevin Walls
8b076172a5 8347345: Remove redundant test policy file from ModelMBeanInfoSupport directory
Reviewed-by: rriggs, sspitsyn
2025-01-10 07:59:26 +00:00
SendaoYan
f6492aa634 8347279: Problemlist TestEvilSyncBug.java#generational
Reviewed-by: tschatzl, wkemper
2025-01-10 01:38:18 +00:00
Henry Jen
0210a63d3b 8347379: Problem list failed tests after JDK-8321413
Reviewed-by: dholmes
2025-01-10 00:53:58 +00:00
Fei Yang
a9351dfec9 8346787: Fix two C2 IR matching tests for RISC-V
Reviewed-by: fjiang, mli, dfenacci
2025-01-10 00:26:38 +00:00
Liming Liu
89ee1a5517 8343978: Update the default value of CodeEntryAlignment for Ampere-1A and 1B
Reviewed-by: dlong, kvn
2025-01-09 23:38:20 +00:00
Matias Saavedra Silva
931914af76 8340631: assert(reserved_rgn->contain_region(base_addr, size)) failed: Reserved CDS region should contain this mapping region
Reviewed-by: iklam, jsjolen, stefank
2025-01-09 22:06:37 +00:00
Alisen Chung
665c39c931 8347375: Extra <p> tag in robot specification
Reviewed-by: kbarrett
2025-01-09 21:51:51 +00:00
Hannes Wallnöfer
b335ea9296 8347122: Add missing @serial tags to module java.desktop
Reviewed-by: prr
2025-01-09 21:37:36 +00:00
Alisen Chung
df28cec6e9 8345144: Robot does not specify all causes of IllegalThreadStateException
Reviewed-by: prr
2025-01-09 20:47:22 +00:00
Harshitha Onkar
9f3c5f9536 8344907: NullPointerException in Win32ShellFolder2.getSystemIcon when "icon" is null
Reviewed-by: aivanov, kizune
2025-01-09 18:22:33 +00:00
Henry Jen
22f70a742a 8321413: IllegalArgumentException: Code length outside the allowed range while creating a jlink image
Reviewed-by: mchung
2025-01-09 17:36:15 +00:00
Sean Mullan
3bfa9521d5 8283795: Add TLSv1.3 and CNSA 1.0 algorithms to implementation requirements
Reviewed-by: jnimeh
2025-01-09 17:34:20 +00:00
Brian Burkhalter
1ef77cdd51 8347171: (dc) java/nio/channels/DatagramChannel/InterruptibleOrNot.java fails with virtual thread factory
Reviewed-by: alanb, lmesnik
2025-01-09 15:26:38 +00:00
Jaikiran Pai
72f1114909 8346705: SNI not sent with Java 22+ using java.net.http.HttpClient.Builder#sslParameters
Reviewed-by: dfuchs, michaelm
2025-01-09 14:58:12 +00:00
Archie Cobbs
cb9a98b31a 8347141: Several javac tests compile with an unnecessary -Xlint:-path flag
Reviewed-by: vromero, darcy
2025-01-09 14:46:13 +00:00
Joachim Kern
f9b11332ec 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"
Reviewed-by: mdoerr, clanger, mbaesken
2025-01-09 14:24:12 +00:00
Andrey Turbanov
9c72dedd07 8346036: Unnecessary Hashtable usage in javax.swing.text.html.parser.Entity
Reviewed-by: aivanov, azvegint
2025-01-09 12:47:47 +00:00
Joakim Nordström
3024a7384f 8345782: Refining the cases that libjsig deprecation warning is issued
Reviewed-by: dholmes, kevinw
2025-01-09 12:41:52 +00:00
Serguei Spitsyn
2801bc6bf3 8346460: NotifyFramePop should return JVMTI_ERROR_DUPLICATE
Reviewed-by: cjplummer, amenkov
2025-01-09 12:02:25 +00:00
Hannes Wallnöfer
ceae2b977d 8347121: Add missing @serial tags to module java.base
Reviewed-by: alanb
2025-01-09 11:49:18 +00:00
Fei Yang
8c87ea2bdf 8346478: RISC-V: Refactor add/sub assembler routines
Reviewed-by: fjiang, rehn, gcao
2025-01-09 11:36:40 +00:00
Robbin Ehn
765b9e606b 8346706: RISC-V: Add available registers to hs_err
Reviewed-by: mli, fyang, ihse
2025-01-09 11:25:37 +00:00
Aleksey Shipilev
d66737ea1c 8341097: GHA: Demote Mac x86 jobs to build only
Reviewed-by: kbarrett, prr, ihse
2025-01-09 10:18:08 +00:00
Aleksey Shipilev
dff5719e6f 8347126: gc/stress/TestStressG1Uncommit.java gets OOM-killed
Reviewed-by: tschatzl, gli
2025-01-09 09:49:14 +00:00
Matthias Baesken
82e16ba248 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
Reviewed-by: dholmes
2025-01-09 08:32:09 +00:00
Ramkumar Sunderbabu
33f9be8de7 8347083: Incomplete logging in nsk/jvmti/ResourceExhausted/resexhausted00* tests
Reviewed-by: dholmes, sspitsyn, lmesnik
2025-01-09 07:50:42 +00:00
Dmitry Markov
8eddf67c82 8346887: DrawFocusRect() may cause an assertion failure
Reviewed-by: aivanov, prr
2025-01-09 06:58:31 +00:00
Abhishek Kumar
a46ae7031e 8339728: [Accessibility,Windows,JAWS] Bug in the getKeyChar method of the AccessBridge class
Reviewed-by: aivanov, psadhukhan, kizune
2025-01-09 04:11:54 +00:00
Alexey Semenyuk
97dd06ce0a 8347299: Add annotations to test cases in LicenseTest
Reviewed-by: almatvee
2025-01-09 03:42:47 +00:00
Alexey Semenyuk
0a35ebfd57 8347297: Skip the RuntimeImageSymbolicLinksTest test on Windows when it is executed outside of the jtreg
Reviewed-by: almatvee
2025-01-09 03:35:31 +00:00
Alexey Semenyuk
b3e8736091 8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular
Reviewed-by: almatvee
2025-01-09 03:33:21 +00:00
Qizheng Xing
1ade96b808 8347042: Remove an extra parenthesis in macro definition in jfrTraceIdMacros.hpp
Reviewed-by: mgronlun, fyang
2025-01-09 02:24:25 +00:00
Weijun Wang
db7fa6a2c6 8347289: HKDF delayed provider selection failed with non-extractable PRK
Reviewed-by: valeriep
2025-01-09 01:21:00 +00:00
Chris Plummer
0a5ef827b0 8347162: Update problemlist CR for vmTestbase/nsk/jdi/VMOutOfMemoryException
Reviewed-by: kevinw, amenkov
2025-01-08 22:52:13 +00:00
Patricio Chilano Mateo
ea49537726 8310340: assert(_thread->is_interp_only_mode() || stub_caller) failed: expected a stub-caller
Reviewed-by: dholmes, amenkov, sspitsyn
2025-01-08 21:51:02 +00:00
Brian Burkhalter
2e00816ac3 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Reviewed-by: jpai
2025-01-08 20:46:57 +00:00
Leonid Mesnik
88fa3b2fe9 8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off
Reviewed-by: dholmes, sspitsyn
2025-01-08 20:14:59 +00:00
Coleen Phillimore
6ee2bd2f33 8347147: [REDO] AccessFlags can be u2 in metadata
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: vlivanov, yzheng
2025-01-08 19:48:25 +00:00
Calvin Cheung
a641932427 8346310: Duplicate !HAS_PENDING_EXCEPTION check in DynamicArchive::dump_at_exit
Reviewed-by: dholmes
2025-01-08 17:07:54 +00:00
Naoto Sato
49ee4df375 8166983: Remove old/legacy unused tzdata files
Reviewed-by: iris, rriggs
2025-01-08 16:48:44 +00:00
Erik Gahlin
3fe08186b1 8346099: JFR: Query for 'jfr view' can't handle wildcard with multiple event types
Reviewed-by: mgronlun
2025-01-08 16:03:40 +00:00
Erik Gahlin
55bcf4c054 8346047: JFR: Incorrect percentile value in 'jfr view'
Reviewed-by: mgronlun
2025-01-08 15:53:22 +00:00
Yagmur Eren
ae3fc46456 8345580: Remove const from Node::_idx which is modified
Reviewed-by: epeter, qamai
2025-01-08 15:14:14 +00:00
Alexey Semenyuk
4d18e5a1e2 8346872: tools/jpackage/windows/WinLongPathTest.java fails
Reviewed-by: almatvee, mbaesken
2025-01-08 14:44:10 +00:00
Erik Gahlin
92ad8a1d96 8346052: JFR: Incorrect average value in 'jfr view'
Reviewed-by: mgronlun
2025-01-08 14:40:13 +00:00
Erik Gahlin
672c413c61 8345337: JFR: jfr view should display all direct subfields for an event type
Reviewed-by: mgronlun
2025-01-08 12:44:53 +00:00
Chen Liang
afe543414f 8347163: Javadoc error in ConstantPoolBuilder after JDK-8342468
Reviewed-by: jpai, shade
2025-01-08 10:56:48 +00:00
Severin Gehwolf
f696d9c521 8346239: Improve memory efficiency of JimageDiffGenerator
Reviewed-by: mbaesken
2025-01-08 10:39:13 +00:00
Fredrik Bredberg
cbabc04515 8332506: SIGFPE In ObjectSynchronizer::is_async_deflation_needed()
Reviewed-by: coleenp, dholmes
2025-01-08 09:50:35 +00:00
Albert Mingkun Yang
98724219a8 8347094: Inline CollectedHeap::increment_total_full_collections
Reviewed-by: stefank, eosterlund, gli
2025-01-08 09:45:08 +00:00
Shaojin Wen
b741f3fe5b 8343629: More MergeStore benchmark
Reviewed-by: epeter
2025-01-08 09:40:17 +00:00
Per Minborg
b0c935c03e 8347047: Cleanup action passed to MemorySegment::reinterpret keeps old segment alive
Reviewed-by: mcimadamore
2025-01-08 08:44:22 +00:00
Chen Liang
bcefab5e55 8342468: Improve API documentation for java.lang.classfile.constantpool
Reviewed-by: asotona
2025-01-08 03:37:28 +00:00
Taizo Kurashige
40f0a398fa 8343342: java/io/File/GetXSpace.java fails on Windows with CD-ROM drive
Reviewed-by: bpb, aturbanov
2025-01-08 01:15:44 +00:00
David Holmes
021c476409 8347148: [BACKOUT] AccessFlags can be u2 in metadata
Reviewed-by: coleenp
2025-01-08 00:37:27 +00:00
Coleen Phillimore
ddb5881964 8329549: Remove FORMAT64_MODIFIER
Reviewed-by: dholmes, kbarrett
2025-01-07 23:14:04 +00:00
Coleen Phillimore
098afc8b7d 8339113: AccessFlags can be u2 in metadata
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: sspitsyn, vlivanov, yzheng, dlong, dholmes
2025-01-07 22:03:38 +00:00
Aleksey Shipilev
e413fc643c 8347127: CTW fails to build after JDK-8334733
Reviewed-by: kvn, epeter
2025-01-07 19:34:12 +00:00
Naoto Sato
9702accdd9 8175709: DateTimeFormatterBuilder.appendZoneId() has misleading JavaDoc
Reviewed-by: rriggs
2025-01-07 17:40:01 +00:00
Renjith Kannath Pariyangad
030149fec4 8334644: Automate javax/print/attribute/PageRangesException.java
Reviewed-by: aivanov, abhiscxk, azvegint
2025-01-07 16:54:04 +00:00
Per Minborg
c8a9dd3a02 8346609: Improve MemorySegment.toString
Reviewed-by: mcimadamore
2025-01-07 15:18:02 +00:00
SendaoYan
4d8fb80732 8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Reviewed-by: psandoz
2025-01-07 15:08:24 +00:00
SendaoYan
cf3e48e771 8346965: Multiple compiler/ciReplay test fails with -XX:+SegmentedCodeCache
Reviewed-by: kvn
2025-01-07 15:07:00 +00:00
Tobias Holenstein
e5f0c19084 8345041: IGV: Free Placement Mode in IGV Layout
Reviewed-by: chagedorn, epeter, rcastanedalo
2025-01-07 14:30:05 +00:00
Joachim Kern
8b22517cb0 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)
Reviewed-by: mdoerr, varadam
2025-01-07 13:54:09 +00:00
Jaikiran Pai
5e6cda4799 8347000: Bug in com/sun/net/httpserver/bugs/B6361557.java test
Reviewed-by: msheppar, michaelm
2025-01-07 12:32:31 +00:00
Fei Yang
3f7052ed7a 8346868: RISC-V: compiler/sharedstubs tests fail after JDK-8332689
Reviewed-by: rehn, mli
2025-01-07 10:54:52 +00:00
Alan Bateman
f1196638b3 8346573: Can't use custom default file system provider with custom system class loader
Reviewed-by: mkartashev, bpb
2025-01-07 10:34:18 +00:00
Fei Yang
379ac349d1 8346838: RISC-V: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java crash with debug VMs
Reviewed-by: fjiang, rehn
2025-01-07 10:32:11 +00:00
Matthias Baesken
0285020c7e 8345676: [ubsan] ProcessImpl_md.c:561:40: runtime error: applying zero offset to null pointer on macOS aarch64
Reviewed-by: rriggs
2025-01-07 08:15:12 +00:00
Matthias Baesken
0a81676fae 8346881: [ubsan] logSelection.cpp:154:24 / logSelectionList.cpp:72:94 : runtime error: applying non-zero offset 1 to null pointer
Reviewed-by: clanger, mdoerr, dholmes, syan, amitkumar
2025-01-07 08:10:28 +00:00
Emanuel Peter
08debd335e 8346993: C2 SuperWord: refactor to make more vector nodes available in VectorNode::make
Reviewed-by: chagedorn, kvn
2025-01-07 06:15:48 +00:00
Fei Yang
de0250368e 8346832: runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java fails on RISC-V
Reviewed-by: stuefe, fjiang
2025-01-07 03:39:50 +00:00
Archie Cobbs
27646e5516 8344148: Add an explicit compiler phase for warning generation
Reviewed-by: vromero
2025-01-06 18:37:19 +00:00
Calvin Cheung
8d388ccd9e 8346457: AOT cache creation crashes with "assert(pair_at(i).match() < pair_at(i+1).match()) failed: unsorted table entries"
Reviewed-by: iklam, dholmes
2025-01-06 17:59:10 +00:00
Brian Burkhalter
d723597dd9 8345432: (ch, fs) Replace anonymous Thread with InnocuousThread
Reviewed-by: alanb
2025-01-06 17:47:10 +00:00
Archie Cobbs
9c393a243d 8346953: Remove unnecessary @SuppressWarnings annotations (client, #2)
Reviewed-by: azvegint
2025-01-06 17:24:23 +00:00
Naoto Sato
9a60f4457b 8345668: ZoneOffset.ofTotalSeconds performance regression
Reviewed-by: rriggs, aturbanov
2025-01-06 17:04:07 +00:00
Aleksey Shipilev
12700cb81b 8346264: "Total compile time" counter should include time spent in failing/bailout compiles
Reviewed-by: kvn, mli
2025-01-06 15:36:28 +00:00
Archie Cobbs
dd81f8dcf5 8344079: Minor fixes and cleanups to compiler lint-related code
Reviewed-by: mcimadamore
2025-01-06 15:28:36 +00:00
Adam Sotona
ccf3d57ebc 8346985: Convert test/jdk/com/sun/jdi/ClassUnloadEventTest.java to Class-File API
Reviewed-by: liach
2025-01-06 14:10:34 +00:00
Adam Sotona
594e519648 8346984: Remove ASM-based benchmarks from Class-File API benchmarks
Reviewed-by: liach, redestad, erikj
2025-01-06 14:10:19 +00:00
Adam Sotona
c027f2ed1d 8346983: Remove ASM-based transforms from Class-File API tests
Reviewed-by: liach
2025-01-06 14:08:45 +00:00
Adam Sotona
e0695e0ef0 8346981: Remove obsolete java.base exports of jdk.internal.objectweb.asm packages
Reviewed-by: liach, alanb
2025-01-06 14:08:32 +00:00
Zhengyu Gu
dfaa89162a 8346569: Shenandoah: Worker initializes ShenandoahThreadLocalData twice results in memory leak
Reviewed-by: wkemper, shade
2025-01-06 13:44:35 +00:00
Qizheng Xing
f1d85ab3e6 8346773: Fix unmatched brackets in some misc files
Reviewed-by: kbarrett, alanb, rriggs, dholmes, erikj, liach
2025-01-06 06:23:53 +00:00
Prasanta Sadhukhan
9393897817 8346260: Test "javax/swing/JOptionPane/bug4174551.java" failed because the font size of message "Hi 24" is not set to 24 in Nimbus LookAndFeel
Reviewed-by: aivanov, dnguyen
2025-01-06 06:01:24 +00:00
Gui Cao
e98f412663 8346922: TestVectorReinterpret.java fails without the rvv extension on RISCV fastdebug VM
Reviewed-by: fyang, kvn
2025-01-06 03:36:00 +00:00
Gui Cao
ca5390c4d9 8346924: TestVectorizationNegativeScale.java fails without the rvv extension on RISCV fastdebug VM
Reviewed-by: fyang, kvn
2025-01-06 03:35:46 +00:00
Albert Mingkun Yang
07c9f7138a 8346921: Remove unused arg in markWord::must_be_preserved
Reviewed-by: kbarrett, tschatzl
2025-01-03 11:46:34 +00:00
Daniel Skantz
84e6432bb7 8346288: WB_IsIntrinsicAvailable fails if called with wrong compilation level
Reviewed-by: kvn, rcastanedalo
2025-01-02 22:13:14 +00:00
Volkan Yazıcı
a77ed30fcc 8336412: sun.net.www.MimeTable has a few unused methods
Reviewed-by: jpai
2025-01-02 09:19:58 +00:00
SendaoYan
e769b53614 8346193: CrashGCForDumpingJavaThread do not trigger expected crash build with clang17
Reviewed-by: kbarrett, amitkumar
2025-01-02 09:10:03 +00:00
Kim Barrett
a87bc7e4f0 8345374: Ubsan: runtime error: division by zero
Reviewed-by: jwaters, ayang, amitkumar
2025-01-02 08:11:55 +00:00
Volker Simonis
d3abf01c3e 8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler
Reviewed-by: dnsimon, phh
2025-01-01 17:20:27 +00:00
Jaikiran Pai
24c5ff7ba5 8346871: Improve robustness of java/util/zip/EntryCount64k.java test
Reviewed-by: lancea
2024-12-30 00:53:15 +00:00
Jaikiran Pai
bd0fde71d9 8302293: jar --create fails with IllegalArgumentException if archive name is shorter than 3 characters
Reviewed-by: lancea
2024-12-29 08:37:25 +00:00
Qizheng Xing
79958470e0 8346831: Remove the extra closing parenthesis in CTW Makefile
Reviewed-by: liach, kbarrett, lmesnik, jwaters
2024-12-29 08:32:38 +00:00
GennadiyKrivoshein
b3e63631c7 8343224: print/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4
Reviewed-by: azvegint, alexsch, psadhukhan, achung
2024-12-28 20:48:57 +00:00
Matthias Baesken
60e0730a3b 8346712: Remove com/sun/net/httpserver/TcpNoDelayNotRequired.java test
Reviewed-by: djelinski, lucy, jpai
2024-12-28 15:45:26 +00:00
Amit Kumar
807f6f7fb8 8346847: [s390x] minimal build failure
Reviewed-by: stuefe
2024-12-27 10:05:41 +00:00
SendaoYan
6c59185475 8345757: [ASAN] clang17 report 'dprintf' macro redefined
Reviewed-by: kbarrett, valeriep
2024-12-25 01:27:35 +00:00
Phil Race
4fc445d12b 8346829: Problem list com/sun/jdi/ReattachStressTest.java & ProcessAttachTest.java on Linux
Reviewed-by: lmesnik
2024-12-25 00:40:18 +00:00
Nizar Benalla
1a32654faf 8346295: Update --release 24 symbol information for JDK 24 build 29
Reviewed-by: liach
2024-12-24 18:23:14 +00:00
Swati Sharma
62a4544bb7 8205051: Poor Performance with UseNUMA when cpu and memory nodes are misaligned
Co-authored-by: Derek White <drwhite@openjdk.org>
Reviewed-by: sjohanss, tschatzl
2024-12-23 19:16:18 +00:00
Bradford Wetmore
68c6623d38 8345840: Add missing TLS handshake messages to SSLHandshake.java
Reviewed-by: jnimeh
2024-12-23 19:05:07 +00:00
Nizar Benalla
ed292318a9 8337111: Bad HTML checker for generated documentation
8337113: Bad character checker for generated documentation
8337116: Internal links checker for generated documentation
8337114: DocType checker for generated documentation

Reviewed-by: hannesw
2024-12-23 13:50:39 +00:00
David Holmes
cd15ebb963 8346477: Clarify the Java manpage in relation to the JVM's OnOutOfMemoryError flags
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: jpai, stuefe
2024-12-23 11:56:24 +00:00
SendaoYan
bffa77bc04 8346714: [ASAN] compressedKlass.cpp reported applying non-zero offset to null pointer
Reviewed-by: mdoerr, coleenp
2024-12-23 11:27:12 +00:00
Qizheng Xing
c1b868d27d 8346602: Remove unused macro parameters in jni.cpp
Reviewed-by: dholmes, mli
2024-12-22 20:53:21 +00:00
Jan Kratochvil
43b7e9f547 8346713: [testsuite] NeverActAsServerClassMachine breaks TestPLABAdaptToMinTLABSize.java TestPinnedHumongousFragmentation.java TestPinnedObjectContents.java
Reviewed-by: stefank, tschatzl
2024-12-21 03:40:48 +00:00
William Kemper
249f141211 8346737: GenShen: Generational memory pools should not report zero for maximum capacity
Reviewed-by: kdnilsen, ysr
2024-12-20 23:51:49 +00:00
Liam Miller-Cushon
d562d3c7a9 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position
Reviewed-by: darcy
2024-12-20 20:52:48 +00:00
Mandy Chung
7ba969a576 8346739: jpackage tests failed after JDK-8345259
Reviewed-by: kcr, asemenyuk
2024-12-20 20:08:42 +00:00
William Kemper
b8e40b9c2d 8346688: GenShen: Missing metadata trigger log message
Reviewed-by: ysr, kdnilsen
2024-12-20 17:32:33 +00:00
William Kemper
d2a48634b8 8346690: Shenandoah: Fix log message for end of GC usage report
Reviewed-by: ysr, kdnilsen
2024-12-20 17:30:17 +00:00
Severin Gehwolf
bcb1bdaae7 8345259: Disallow ALL-MODULE-PATH without explicit --module-path
Reviewed-by: mchung
2024-12-20 12:35:35 +00:00
Nizar Benalla
054c644ea6 8346667: Doccheck: warning about missing </span> before <h2>
Reviewed-by: psandoz
2024-12-20 10:17:21 +00:00
Nizar Benalla
2a68f74188 8346128: Comparison build fails due to difference in LabelTarget.html
Reviewed-by: jlahoda, liach, prappo
2024-12-20 10:16:04 +00:00
Evgeny Nikitin
cf28fd4cbc 8322983: Virtual Threads: exclude 2 tests
Reviewed-by: jpai, lmesnik, syan
2024-12-20 08:24:18 +00:00
Matthias Baesken
85e024d92d 8346605: AIX fastdebug build fails in memoryReserver.cpp after JDK-8345655
Reviewed-by: stefank, lucy, mdoerr
2024-12-20 07:45:40 +00:00
liyazzi
54f34750ed 8331467: FileSystems.getDefault fails with ClassNotFoundException if custom default provider is in run-time image
Reviewed-by: alanb, jpai
2024-12-20 07:05:42 +00:00
Emanuel Peter
35fafbc597 8346106: Verify.checkEQ: testing utility for recursive value verification
Reviewed-by: kvn, tweidmann
2024-12-20 06:52:22 +00:00
Weijun Wang
b2811a0ccd 8340493: Fix some Asserts failure messages
Reviewed-by: valeriep, djelinski
2024-12-19 21:35:55 +00:00
Brian Burkhalter
4d77dbad4e 8346576: Remove vmTestbase/gc/memory/Nio/Nio.java from test/hotspot/jtreg/ProblemList.txt
Reviewed-by: alanb, jpai, mli
2024-12-19 16:16:58 +00:00
Roland Westrelin
2649a97332 8332827: [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: epeter, chagedorn
2024-12-19 16:09:41 +00:00
Kim Barrett
2344a1a917 8345732: Provide helpers for using PartialArrayState
Reviewed-by: tschatzl, ayang, zgu, iwalulya
2024-12-19 16:00:59 +00:00
Patricio Chilano Mateo
572ce269d0 8345266: java/util/concurrent/locks/StampedLock/OOMEInStampedLock.java JTREG_TEST_THREAD_FACTORY=Virtual fails with OOME
Reviewed-by: dholmes, alanb, coleenp
2024-12-19 14:45:27 +00:00
Matthew Donovan
f6e7713bb6 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
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: djelinski
2024-12-19 13:19:56 +00:00
Alan Bateman
23d6f74782 8346463: Add test coverage for deploying the default provider as a module
Reviewed-by: bpb
2024-12-19 07:58:26 +00:00
David Holmes
484229e04b 8346306: Unattached thread can cause crash during VM exit if it calls wait_if_vm_exited
Reviewed-by: coleenp, ccheung
2024-12-19 02:48:06 +00:00
Simon Tooke
b0c40aadd2 8340401: DcmdMBeanPermissionsTest.java and SystemDumpMapTest.java fail with assert(_stack_base != nullptr) failed: Sanity check
Reviewed-by: dholmes, stuefe, kevinw
2024-12-19 02:12:02 +00:00
Fei Yang
6b89954c65 8346475: RISC-V: Small improvement for MacroAssembler::ctzc_bit
Reviewed-by: mli, fjiang
2024-12-19 01:33:08 +00:00
SendaoYan
00d8407a8f 8346016: Problemlist vm/mlvm/indy/func/jvmti/mergeCP_indy2manyDiff_a in virtual thread mode
Reviewed-by: sspitsyn
2024-12-19 01:28:21 +00:00
Calvin Cheung
5db0a13863 8346132: fallbacklinker.c failed compilation due to unused variable
Reviewed-by: dholmes, jvernee
2024-12-18 21:56:03 +00:00
Roger Riggs
55906692e1 8346570: SM cleanup of tests for Beans and Serialization
Reviewed-by: lancea, prr
2024-12-18 21:06:10 +00:00
Quan Anh Mai
c8e94abfc3 8346532: XXXVector::rearrangeTemplate misses null check
Reviewed-by: psandoz
2024-12-18 18:32:05 +00:00
Naoto Sato
f7f2b42e10 8346300: Add @Test annotation to TCKZoneId.test_constant_OLD_IDS_POST_2024b test
Reviewed-by: lancea, rriggs
2024-12-18 17:28:00 +00:00
Prasanta Sadhukhan
a0b7c4f015 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI
Reviewed-by: aivanov, abhiscxk
2024-12-18 14:54:41 +00:00
Magnus Ihse Bursie
8efc5585b7 8346378: Cannot use DllMain in libnet for static builds
Reviewed-by: djelinski
2024-12-18 12:09:32 +00:00
Stefan Karlsson
73b5dbaec3 8345655: Move reservation code out of ReservedSpace
Reviewed-by: azafari, jsjolen
2024-12-18 10:19:13 +00:00
Jan Lahoda
d50b725ac0 8344647: Make java.se participate in the preview language feature requires transitive java.base
Reviewed-by: asotona, darcy
2024-12-18 09:58:40 +00:00
Volkan Yazıcı
9e8aa855fe 8346017: Socket.connect specified to throw UHE for unresolved address is problematic for SOCKS V5 proxy
Reviewed-by: dfuchs, alanb
2024-12-18 09:43:06 +00:00
jeremy
5b703c7023 8342782: AWTEventMulticaster throws StackOverflowError using AquaButtonUI
Reviewed-by: kizune, prr, lbourges
2024-12-18 09:29:27 +00:00
Roberto Castañeda Lozano
edbd76c624 8344951: Stabilize write barrier micro-benchmarks
Reviewed-by: kvn, tschatzl
2024-12-18 07:50:37 +00:00
SendaoYan
842f801c84 8339331: GCC fortify error in vm_version_linux_aarch64.cpp
Reviewed-by: dholmes
2024-12-18 06:35:28 +00:00
David Holmes
453310918b 8345911: Enhance error message when IncompatibleClassChangeError is thrown for sealed class loading failures
Reviewed-by: coleenp, alanb
2024-12-18 04:15:57 +00:00
David Holmes
ea50c54a14 8321818: vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'
Reviewed-by: lmesnik, mli
2024-12-18 01:47:44 +00:00
Alex Menkov
c0f0b8e5f4 8346151: Add transformer error logging to VerifyLocalVariableTableOnRetransformTest
Reviewed-by: cjplummer, sspitsyn
2024-12-17 21:02:45 +00:00
Magnus Ihse Bursie
f3e2f8821a 8346394: Bundled freetype library needs to have JNI_OnLoad for static builds
Reviewed-by: erikj, prr
2024-12-17 19:09:29 +00:00
Chris Plummer
414eb6bb83 8338714: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: sspitsyn, dholmes
2024-12-17 19:06:07 +00:00
Alex Menkov
dc71e8cae9 8342995: Enhance Attach API to support arbitrary length arguments - Linux
Reviewed-by: sspitsyn, kevinw
2024-12-17 18:50:02 +00:00
Vladimir Ivanov
4f44cf6bf2 8341481: [perf] vframeStreamCommon constructor may be optimized
Reviewed-by: sspitsyn
2024-12-17 17:00:53 +00:00
Leonid Mesnik
390b20537d 8346048: test/lib/containers/docker/DockerRunOptions.java uses addJavaOpts() from ctor
Reviewed-by: dholmes
2024-12-17 16:44:14 +00:00
Magnus Ihse Bursie
03821d979b 8346195: Fix static initialization problem in GDIHashtable
Reviewed-by: jwaters, prr
2024-12-17 15:48:38 +00:00
Jan Kratochvil
a5503fb6fa 8346432: java.lang.foreign.Linker comment typo
Reviewed-by: jvernee
2024-12-17 14:58:21 +00:00
Coleen Phillimore
fbd76ca8ed 8337016: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java gets Metaspace OOM
Reviewed-by: dholmes, sspitsyn
2024-12-17 13:00:19 +00:00
Coleen Phillimore
baeb3d9ab8 8346304: SA doesn't need a copy of getModifierFlags
Reviewed-by: sspitsyn, cjplummer
2024-12-17 12:37:05 +00:00
Jan Lahoda
99af595fe0 8345942: Separate source output from class output when building microbenchmarks
Reviewed-by: shade, erikj
2024-12-17 12:32:13 +00:00
Doug Simon
8a64595448 8346282: [JVMCI] Add failure reason support to UnresolvedJava/Type/Method/Field
Reviewed-by: never, yzheng
2024-12-17 12:11:55 +00:00
Jaikiran Pai
725079bf68 8345506: jar --validate may lead to java.nio.file.FileAlreadyExistsException
Reviewed-by: lancea
2024-12-17 10:14:28 +00:00
theoweidmannoracle
5e25c48b8b 8346289: Confusing phrasing in IR Framework README / User-defined Regexes
Reviewed-by: thartmann, chagedorn
2024-12-17 10:01:27 +00:00
Alan Bateman
fbbc7c35f4 8346120: VirtualThreadPinned event recorded for Object.wait may have wrong duration or may record second event
Reviewed-by: dholmes, pchilanomate
2024-12-17 08:30:29 +00:00
Prasanta Sadhukhan
466c00ac88 8346234: javax/swing/text/DefaultEditorKit/4278839/bug4278839.java still fails in CI
Reviewed-by: kizune
2024-12-17 07:46:53 +00:00
Christian Stein
bd3c0be36d 8268611: jar --validate should check targeted classes in MR-JAR files
Reviewed-by: jvernee
2024-12-17 07:16:12 +00:00
Archie Cobbs
87804f24b2 8346294: Invalid lint category specified in compiler.properties
Reviewed-by: mcimadamore
2024-12-17 03:18:25 +00:00
Zhao Song
18d1d61116 8346046: Enable copyright header format check
Reviewed-by: erikj, iris, dholmes
2024-12-17 00:22:54 +00:00
Fei Yang
a7631ccf18 8346235: RISC-V: Optimize bitwise AND with mask values
Reviewed-by: gcao, rehn, fjiang
2024-12-17 00:12:39 +00:00
Fei Yang
929d4a5099 8346231: RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob
Reviewed-by: fjiang, rehn
2024-12-17 00:02:24 +00:00
Magnus Ihse Bursie
3030230915 8346278: Clean up some flag handing in flags-cflags.m4
Reviewed-by: erikj
2024-12-16 21:26:51 +00:00
Justin Lu
fd0207d593 8345327: JDK 24 RDP1 L10n resource files update
Reviewed-by: naoto, dnguyen, joehw, almatvee, sgehwolf, jlahoda, prappo, asemenyuk
2024-12-16 21:00:56 +00:00
Paul Sandoz
31c3b19174 8346174: UMAX/UMIN are missing from XXXVector::reductionOperations
Reviewed-by: qamai, jbhateja
2024-12-16 18:53:05 +00:00
Matthias Baesken
c75b1d4bf6 8346082: Output JVMTI agent information in hserr files
Reviewed-by: mdoerr, dholmes, stuefe
2024-12-16 18:24:15 +00:00
Eirik Bjørsnøs
51662c2384 8346232: Remove leftovers of the jar --normalize feature
Reviewed-by: alanb, jpai
2024-12-16 18:03:21 +00:00
Coleen Phillimore
d3359417f3 8345678: compute_modifiers should not be in create_mirror
Reviewed-by: fparain, dholmes
2024-12-16 17:46:43 +00:00
Kevin Walls
57adf64ab4 8346261: Cleanup in JDP tests
Reviewed-by: cjplummer
2024-12-16 17:18:20 +00:00
Kevin Walls
23708d0166 8346257: Problemlist jdp tests for macosx-aarch64
Reviewed-by: cjplummer
2024-12-16 17:02:29 +00:00
Calvin Cheung
f8974ba718 8345838: Remove the appcds/javaldr/AnonVmClassesDuringDump.java test
Reviewed-by: iklam, dholmes
2024-12-16 16:54:31 +00:00
Matthew Donovan
e7d21fcf49 8346285: Update jarsigner compatibility test for change in default digest algorithm
Reviewed-by: weijun
2024-12-16 16:18:57 +00:00
Amit Kumar
cb92595599 8336356: [s390x] preserve Vector Register before using for string compress / expand
Reviewed-by: aph, lucy
2024-12-16 16:10:16 +00:00
Archie Cobbs
d737978924 8343477: Remove unnecessary @SuppressWarnings annotations (compiler)
Reviewed-by: darcy, mcimadamore
2024-12-16 14:52:42 +00:00
Erik Joelsson
8133eb2c28 8346150: Jib dependency on autoconf missing for 'docs' profile
Reviewed-by: jwaters, dholmes
2024-12-16 14:34:46 +00:00
Stefan Karlsson
45a329790b 8346248: serviceability/dcmd/vm/{SystemMapTest.java,SystemMapTest.java} failing on macos-aarch64
Reviewed-by: eosterlund
2024-12-16 13:43:55 +00:00
Maurizio Cimadamore
dbffe33251 8345263: Make sure that lint categories are used correctly when logging lint warnings
Reviewed-by: vromero, jlahoda
2024-12-16 10:20:13 +00:00
Christian Hagedorn
32c8195c3a 8345801: C2: Clean up include statements to speed up compilation when touching type.hpp
Reviewed-by: kvn, dlong, jwaters
2024-12-16 09:53:38 +00:00
Robbin Ehn
92860186ec 8345322: RISC-V: Add concurrent gtests for cmpxchg variants
Reviewed-by: mli, fyang
2024-12-16 09:48:12 +00:00
Hannes Wallnöfer
4fc43b0b49 8345770: javadoc: API documentation builds are not always reproducible
Reviewed-by: nbenalla, liach
2024-12-16 08:09:52 +00:00
Richard Reingruber
ee1c5ad8fe 8345975: Update SAP SE copyright year to 2024 where it was missed
Reviewed-by: mdoerr, clanger
2024-12-16 07:16:40 +00:00
Christian Hagedorn
3518b4bd20 8344171: Clone and initialize Assertion Predicates in order instead of in reverse-order
Reviewed-by: epeter, kvn
2024-12-16 06:21:22 +00:00
Kim Barrett
c88e081a6a 8346160: Fix -Wzero-as-null-pointer-constant warnings from explicit casts
Reviewed-by: stefank, dholmes
2024-12-16 04:24:39 +00:00
Lance Andersen
ab1dbd4089 8346202: Correct typo in SQLPermission
Reviewed-by: mullan, rriggs, iris
2024-12-15 17:41:52 +00:00
Leonid Mesnik
6b022bb64b 8344453: Test jdk/jfr/event/oldobject/TestSanityDefault.java timed out
Reviewed-by: egahlin
2024-12-14 19:08:19 +00:00
Simon Tooke
3b9de117e8 8319875: Add macOS implementation for jcmd System.map
Reviewed-by: stuefe, szaldana
2024-12-14 06:13:26 +00:00
Kim Barrett
ebb27c2e8f 8346139: test_memset_with_concurrent_readers.cpp should not use <sstream>
Reviewed-by: stefank, tschatzl
2024-12-14 01:48:05 +00:00
Ioi Lam
c2f0ef5f48 8346159: Disable CDS AOTClassLinking tests for JVMCI due to JDK-8345635
Reviewed-by: dnsimon, dholmes
2024-12-14 00:16:08 +00:00
Archie Cobbs
4b21fb9df9 8343467: Remove unnecessary @SuppressWarnings annotations (security)
Reviewed-by: mullan
2024-12-13 22:40:42 +00:00
Kevin Walls
e7fc0eb522 8345987: java.management has two Util.newObjectName methods (remove one)
Reviewed-by: cjplummer, amenkov, lmesnik
2024-12-13 20:39:18 +00:00
Calvin Cheung
f647d4d908 8345936: Call ClassLoader.getResourceAsByteArray only for multi-release jar
Reviewed-by: iklam, dholmes
2024-12-13 19:19:42 +00:00
William Kemper
cfa04d31dd 8346051: MemoryTest fails when Shenandoah's generational mode is enabled
Reviewed-by: lmesnik, ysr
2024-12-13 18:14:01 +00:00
William Kemper
2ce53e8848 8345970: pthread_getcpuclockid related crashes in shenandoah tests
Reviewed-by: ysr
2024-12-13 17:41:26 +00:00
Matthias Baesken
266e3d0dec 8345590: AIX 'make all' fails after JDK-8339480
Reviewed-by: clanger, jkern, mdoerr, lucy
2024-12-13 12:18:49 +00:00
Matthias Baesken
1d2ccaeaa3 8345569: [ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
Reviewed-by: mdoerr, lucy, dholmes
2024-12-13 12:14:07 +00:00
Albert Mingkun Yang
a9a5f7cb0a 8345323: Parallel GC does not handle UseLargePages and UseNUMA gracefully
Reviewed-by: sjohanss, tschatzl
2024-12-13 11:43:32 +00:00
SendaoYan
367c304127 8346059: [ASAN] awt_LoadLibrary.c reported compile warning ignoring return value of function by clang17
Reviewed-by: ihse
2024-12-13 08:34:10 +00:00
Prasanta Sadhukhan
31ceec7cd5 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04
Reviewed-by: tr
2024-12-13 05:50:07 +00:00
Sorna Sarathi
09c29d1d42 8346069: Add missing Classpath exception statements
Reviewed-by: amitkumar, asemenyuk, iris, kcr
2024-12-13 05:01:37 +00:00
Kim Barrett
28e49e978a 8345505: Fix -Wzero-as-null-pointer-constant warnings in zero code
Reviewed-by: dholmes
2024-12-13 04:49:11 +00:00
David Holmes
db9eab3f29 8311542: Consolidate the native stack printing code
Reviewed-by: kbarrett, jwaters
2024-12-12 23:15:48 +00:00
Weijun Wang
18e0b343ab 8344137: Update XML Security for Java to 3.0.5
Reviewed-by: mullan
2024-12-12 18:57:46 +00:00
Thomas Stuefe
e9ad27fcdc 8339313: 32-bit build broken
Reviewed-by: coleenp, mbaesken, szaldana
2024-12-12 18:53:33 +00:00
Sonia Zaldana Calles
ff85865b75 8346008: Fix recent NULL usage backsliding in Shenandoah
Reviewed-by: kbarrett, wkemper
2024-12-12 18:15:18 +00:00
Severin Gehwolf
11cd639842 8345573: Module dependencies not resolved from run-time image when --limit-module is being used
Reviewed-by: mchung
2024-12-12 17:58:05 +00:00
Kim Barrett
22845a77a2 8337995: ZUtils::fill uses std::fill_n
Reviewed-by: mli, stefank, jwaters, tschatzl
2024-12-12 14:40:04 +00:00
Hannes Wallnöfer
f71d515026 8345777: Improve sections for inherited members
Reviewed-by: prappo
2024-12-12 13:28:58 +00:00
Hannes Wallnöfer
b8bb51e1f3 8345908: Class links should be properly spaced
Reviewed-by: prappo
2024-12-12 13:14:17 +00:00
Coleen Phillimore
ef6e987a00 8346040: Zero interpreter build on Linux Aarch64 is broken
Reviewed-by: kbarrett, dholmes
2024-12-12 12:48:06 +00:00
Magnus Ihse Bursie
f7f07b94c5 8345804: Update copyright year to 2024 for langtools in files where it was missed
Reviewed-by: rgiulietti, jlahoda
2024-12-12 12:06:27 +00:00
Jan Lahoda
1bdb7b4271 8345622: test/langtools/tools/javac/annotations/parameter/ParameterAnnotations.java should set processorpath to work correctly in the agentvm mode
Reviewed-by: darcy, liach
2024-12-12 11:59:45 +00:00
Maurizio Cimadamore
0ad64234e2 8345944: JEP 492: extending local class in a different static context should not be allowed
8345953: JEP 492: instantiating local classes in a different static context should not be allowed

Reviewed-by: vromero
2024-12-12 10:49:35 +00:00
Amit Kumar
68aa4d44ff 8346063: java/lang/Thread/virtual/Starvation.java missing @requires vm.continuations
Reviewed-by: alanb, vklang
2024-12-12 10:04:09 +00:00
Amit Kumar
77e493226d 8344026: Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file
Reviewed-by: aph, epeter, mdoerr
2024-12-12 09:51:56 +00:00
Kevin Walls
3f2556b860 8345984: Remove redundant checkXXX methods from java.management Util class
Reviewed-by: alanb, mchung, cjplummer, sspitsyn
2024-12-12 09:16:06 +00:00
David Holmes
ceb4366ebf 8345955: Deprecate the UseOprofile flag with a view to removing the legacy oprofile support in the VM
Reviewed-by: iklam, shade
2024-12-12 07:53:38 +00:00
Saagar Jha
72c59de615 8345876: Update nativeAddAtIndex comment to match the code
Reviewed-by: azvegint, aivanov, psadhukhan, kizune
2024-12-12 03:20:42 +00:00
Quan Anh Mai
75cfb640a6 8310691: [REDO] [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, jbhateja, epeter
2024-12-12 03:08:37 +00:00
Xiaolong Peng
4da6fd4283 8345423: Shenandoah: Parallelize concurrent cleanup
Reviewed-by: ysr, kdnilsen, wkemper
2024-12-12 01:08:31 +00:00
David Holmes
ec219ae56f 8346039: [BACKOUT] - [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: kvn, mdoerr
2024-12-12 00:04:19 +00:00
Jiangli Zhou
05c5678886 8345959: Make JVM_IsStaticallyLinked JVM_LEAF
Reviewed-by: ihse
2024-12-11 23:45:49 +00:00
Magnus Ihse Bursie
64fad1c7d3 8345797: Update copyright year to 2024 for client-libs in files where it was missed
Reviewed-by: psadhukhan
2024-12-11 21:29:30 +00:00
Magnus Ihse Bursie
ddf0461788 8345799: Update copyright year to 2024 for core-libs in files where it was missed
Reviewed-by: joehw, jlu, mli, lancea, kevinw
2024-12-11 21:08:22 +00:00
Magnus Ihse Bursie
cbab40bce4 8345683: Remove special flags for files compiled for static libraries
Reviewed-by: erikj
2024-12-11 21:01:20 +00:00
Kim Barrett
08bdeedfd3 8345269: Fix -Wzero-as-null-pointer-constant warnings in ppc code
Reviewed-by: mdoerr, mbaesken
2024-12-11 19:37:01 +00:00
Andrey Turbanov
e4a34e96cd 8345616: Unnecessary Hashtable usage in javax.swing.text.html.parser.Element
Reviewed-by: aivanov, azvegint
2024-12-11 18:22:23 +00:00
Brian Burkhalter
cce5808d7a 8345421: (bf) Create specific test for temporary direct buffers and the buffer size limit
Reviewed-by: alanb
2024-12-11 17:57:22 +00:00
Ivan Šipka
cf0e1aa066 8345335: Add excluded jdk_foreign tests to manual group
Reviewed-by: jvernee
2024-12-11 16:33:44 +00:00
Quan Anh Mai
2c4567a689 8342651: Refactor array constant to use an array of jbyte
Reviewed-by: thartmann, kvn
2024-12-11 15:59:39 +00:00
theoweidmannoracle
72c6daf1b1 8346007: Incorrect copyright header in UModLNodeIdealizationTests.java
Reviewed-by: thartmann
2024-12-11 15:21:28 +00:00
Qizheng Xing
cc47918445 8345040: Clean up unused variables and code in generate_native_wrapper
Reviewed-by: mli, dfenacci, kvn
2024-12-11 15:11:46 +00:00
Stefan Karlsson
c34b87c52b 8345659: Fix broken alignment after ReservedSpace splitting in GC code
Reviewed-by: ayang, aboldtch
2024-12-11 15:09:36 +00:00
Sonia Zaldana Calles
e294899154 8345647: Fix recent NULL usage backsliding in Shenandoah
Reviewed-by: shade, jwaters, mli
2024-12-11 14:40:03 +00:00
theoweidmannoracle
d381d581bf 8332268: C2: Add missing optimizations for UDivI/L and UModI/L and unify the shared logic with the signed nodes
Reviewed-by: chagedorn, thartmann, epeter, qamai
2024-12-11 14:30:59 +00:00
Roland Westrelin
45c914c3ad 8343607: C2: Shenandoah crashes during barrier expansion in Continuation::enter
Reviewed-by: shade
2024-12-11 13:48:03 +00:00
Martin Doerr
a21d21f4d7 8345609: [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: rrich, goetz
2024-12-11 12:50:24 +00:00
Stefan Karlsson
2382a2de96 8345661: Simplify page size alignment in code heap reservation
Reviewed-by: dholmes, thartmann
2024-12-11 12:22:00 +00:00
Stefan Karlsson
076bfa688c 8345656: Move os alignment functions out of ReservedSpace
Reviewed-by: dholmes
2024-12-11 11:53:25 +00:00
Stefan Karlsson
2826838389 8345658: WB_NMTCommitMemory redundantly records an NMT tag
Reviewed-by: dholmes, jsjolen
2024-12-11 11:49:19 +00:00
Magnus Ihse Bursie
c9ec2716a5 8345800: Update copyright year to 2024 for serviceability in files where it was missed
Reviewed-by: dholmes, cjplummer
2024-12-11 10:40:19 +00:00
Magnus Ihse Bursie
8e0f929ecf 8345805: Update copyright year to 2024 for other files where it was missed
Reviewed-by: dholmes, mli, mullan
2024-12-11 10:39:08 +00:00
Adam Sotona
f88c1c6ff8 8345773: Class-File API debug printing capability
Reviewed-by: liach, mcimadamore
2024-12-11 07:58:26 +00:00
theoweidmannoracle
e88e793cfd 8343148: C2: Refactor uses of "PhaseValue::*con*() + PhaseIdealLoop::set_ctrl()" into separate method
Reviewed-by: kvn, chagedorn, thartmann
2024-12-11 07:52:06 +00:00
Kim Barrett
1e9204fa43 8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code
Reviewed-by: jwaters, aph, amitkumar
2024-12-11 04:47:44 +00:00
Prasanta Sadhukhan
c40140eb9c 8334581: Remove no-arg constructor BasicSliderUI()
Reviewed-by: abhiscxk, aivanov, azvegint
2024-12-11 04:00:01 +00:00
Prasanta Sadhukhan
8de0622c3a 8345767: javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04
Reviewed-by: honkar, dnguyen
2024-12-11 03:49:16 +00:00
Vicente Romero
abcd23f4d6 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Reviewed-by: abimpoudis
2024-12-11 02:12:23 +00:00
Alex Menkov
2ddaa46054 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended
Reviewed-by: cjplummer, lmesnik, sspitsyn
2024-12-11 01:37:31 +00:00
Damon Nguyen
c6317191e3 8343170: java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
Reviewed-by: honkar, azvegint, achung
2024-12-10 23:52:23 +00:00
Jasmine Karthikeyan
29d648c642 8341781: Improve Min/Max node identities
Reviewed-by: chagedorn
2024-12-10 22:32:19 +00:00
Kevin Driver
4c39e9faa0 8344924: Default CA certificates loaded despite request to use custom keystore
Reviewed-by: ascarpino
2024-12-10 20:49:13 +00:00
Chen Liang
0f035545e5 8342469: Improve API documentation for java.lang.classfile.instruction
Reviewed-by: asotona, darcy
2024-12-10 20:34:12 +00:00
Nizar Benalla
9bd70ec806 8345888: Broken links in the JDK 24 JavaDoc API documentation, build 27
Reviewed-by: psadhukhan
2024-12-10 18:25:32 +00:00
Leonid Mesnik
1def2d82ac 8345700: tier{1,2,3}_compiler don't cover all compiler tests
Reviewed-by: dholmes, shade
2024-12-10 17:40:06 +00:00
Leonid Mesnik
d6b5264c3f 8345746: Remove :resourcehogs/compiler from :hotspot_slow_compiler
Reviewed-by: kvn
2024-12-10 15:53:51 +00:00
Roger Riggs
4f855d1342 8345818: Fix SM cleanup of parsing of System property resource.bundle.debug
Reviewed-by: lancea, eirbjo
2024-12-10 15:16:58 +00:00
Hamlin Li
a24b08fcb0 8345669: RISC-V: fix client build failure due to AlignVector after JDK-8343827
Reviewed-by: fyang, luhenry
2024-12-10 14:39:29 +00:00
Manjunath Matti
25d9deb1a3 8335367: [s390] Add support for load immediate on condition instructions.
Reviewed-by: lucy, amitkumar
2024-12-10 14:15:15 +00:00
Coleen Phillimore
a6277bb521 8340212: -Xshare:off -XX:CompressedClassSpaceBaseAddress=0x40001000000 crashes on macos-aarch64
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: iklam, stuefe
2024-12-10 12:27:30 +00:00
Pavel Rappo
165fd848c1 8342987: Update --release 24 symbol information for JDK 24 build 27
Reviewed-by: darcy, iris
2024-12-10 10:03:36 +00:00
Per Minborg
06c44dd568 8345465: Fix performance regression on x64 after JDK-8345120
Reviewed-by: mcimadamore
2024-12-10 10:01:27 +00:00
Magnus Ihse Bursie
2979806c72 8345795: Update copyright year to 2024 for hotspot in files where it was missed
Reviewed-by: dholmes, tschatzl, dnsimon, sspitsyn
2024-12-10 08:47:46 +00:00
Albert Mingkun Yang
7e73c436ef 8345217: Parallel: Refactor PSParallelCompact::next_src_region
Reviewed-by: tschatzl, sjohanss, zgu
2024-12-10 08:28:36 +00:00
David Holmes
7d3a4049d5 8339019: Obsolete the UseLinuxPosixThreadCPUClocks flag
Reviewed-by: ccheung, kbarrett
2024-12-10 07:43:34 +00:00
Jiangli Zhou
a606836a02 8345744: Use C++ LINK_TYPE with SetupBuildLauncher in StaticLibs.gmk
Reviewed-by: ihse
2024-12-09 21:37:39 +00:00
Magnus Ihse Bursie
fe0173ddef 8345803: Update copyright year to 2024 for security in files where it was missed
Reviewed-by: mullan
2024-12-09 21:03:37 +00:00
Artur Barashev
2207749c89 8344629: SSLSocketNoServerHelloClientShutdown test timeout
Reviewed-by: wetmore
2024-12-09 20:56:59 +00:00
Ioi Lam
0b9e749f54 8345390: [ubsan] systemDictionaryShared.cpp:964: member call on null pointer
Reviewed-by: mbaesken, kbarrett
2024-12-09 20:35:54 +00:00
Michael McMahon
eff20a38c7 8345794: Backout doc change introduced by JDK-8235786
Reviewed-by: dfuchs
2024-12-09 20:24:41 +00:00
Alexandre Iline
48e22ba772 8345693: Update JCov for class file version 69
Reviewed-by: ihse
2024-12-09 19:43:55 +00:00
Roland Westrelin
cc628a133e 8345287: C2: live in computation is broken
Reviewed-by: kvn, dlong, rcastanedalo
2024-12-09 16:43:16 +00:00
Daniel Skantz
480b508cf2 8345156: C2: Add bailouts next to a few asserts
Reviewed-by: kvn, epeter
2024-12-09 16:29:56 +00:00
Magnus Ihse Bursie
b120404620 8345793: Update copyright year to 2024 for the build system in files where it was missed
Reviewed-by: kbarrett, erikj
2024-12-09 15:53:48 +00:00
Scott Marlow
7aa0cbc91d 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Reviewed-by: liach
2024-12-09 14:59:59 +00:00
Eric Caspole
35c00532a1 8345405: Add JMH showing the regression in 8341649
Reviewed-by: redestad, coleenp
2024-12-09 14:59:05 +00:00
Erik Joelsson
166c12771d 8345726: Update mx in RunTestPrebuiltSpec to reflect change in JDK-8345302
Reviewed-by: ihse
2024-12-09 14:05:57 +00:00
Kim Barrett
e821d599c8 8345589: Simplify Windows definition of strtok_r
Reviewed-by: dholmes, jwaters
2024-12-09 13:54:31 +00:00
Matthew Donovan
153dc6d843 8345133: Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout
Reviewed-by: hchao, mullan
2024-12-09 13:20:26 +00:00
Fabian Meumertzheim
d7ef3ac0b7 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Reviewed-by: dholmes, kevinw, sgehwolf
2024-12-09 12:12:50 +00:00
Andrew Haley
830173fcb0 8344068: Windows x86-64: Out of CodeBuffer space when generating final stubs
Reviewed-by: kvn, vlivanov
2024-12-09 11:05:25 +00:00
SendaoYan
69e664de14 8345632: [ASAN] memory leak in get_numbered_property_as_sorted_string function
Reviewed-by: ccheung, dholmes
2024-12-09 03:38:41 +00:00
Leonid Mesnik
842b363879 8345698: Remove tier1_compiler_not_xcomp from github actions
Reviewed-by: syan, liach
2024-12-09 02:43:54 +00:00
Sorna Sarathi
458979d83a 8344611: Add missing classpath exception
Reviewed-by: amitkumar, iris
2024-12-09 02:05:59 +00:00
David Holmes
83ea0133dd 8345629: Remove expired flags in JDK 25
Reviewed-by: kvn, coleenp
2024-12-08 23:27:31 +00:00
Hamlin Li
c517ffba7d 8339910: RISC-V: crc32 intrinsic with carry-less multiplication
Reviewed-by: rehn, luhenry
2024-12-07 09:56:15 +00:00
Brent Christian
e0d6398783 8344575: Examine usage of ReflectUtil.forName() in java.sql.rowset - XmlReaderContentHandler
Reviewed-by: lancea, mchung, alanb, liach
2024-12-06 21:18:35 +00:00
Leonid Mesnik
470701f0bb 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Reviewed-by: syan, egahlin
2024-12-06 18:42:07 +00:00
Hannes Wallnöfer
573bcb6180 8345664: Use simple parameter type names in @link and @see tags
Reviewed-by: liach
2024-12-06 16:39:08 +00:00
Chen Liang
4966419550 8334733: Remove obsolete @enablePreview from tests after JDK-8334714
Reviewed-by: mchung, asotona
2024-12-06 14:25:03 +00:00
Evgeny Nikitin
0e2a285277 8344833: CTW: Make failing on zero classes optional
Reviewed-by: thartmann, kvn
2024-12-06 14:19:15 +00:00
Daniel Gredler
f6021a9c34 8344668: Unnecessary array allocations and copying in TextLine
Reviewed-by: honkar, azvegint, prr
2024-12-06 13:07:35 +00:00
Roland Westrelin
874d68a96c 8343747: C2: TestReplicateAtConv.java crashes with -XX:MaxVectorSize=8
Reviewed-by: epeter, kvn
2024-12-06 09:19:55 +00:00
Roland Westrelin
d9a22139fb 8345299: C2: some nodes can still have incorrect control after do_range_check()
Reviewed-by: chagedorn, kvn
2024-12-06 09:18:46 +00:00
Kim Barrett
2286fae300 8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_static_call_stub
Reviewed-by: mli, rehn
2024-12-06 06:32:03 +00:00
Prasanta Sadhukhan
84032850db 8268145: [macos] Rendering artifacts is seen when text inside the JTable with TableCellEditor having JTextfield
Reviewed-by: kizune, abhiscxk, honkar
2024-12-06 03:19:13 +00:00
Leonid Mesnik
aa3828447c 8345435: Eliminate tier1_compiler_not_xcomp group
Reviewed-by: kvn
2024-12-06 01:33:22 +00:00
David Holmes
9284602ecb 8345628: [BACKOUT] JDK-8287122 Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-06 00:45:04 +00:00
Magnus Ihse Bursie
41c8971cbc 8287122: Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-05 22:58:40 +00:00
Magnus Ihse Bursie
5da0eee3a6 8285692: Enable _FORTIFY_SOURCE=2 when building with Clang
Reviewed-by: erikj
2024-12-05 22:57:06 +00:00
Magnus Ihse Bursie
daa2ba52a3 8339622: Regression in make open-hotspot-xcode-project
Reviewed-by: mcimadamore, erikj
2024-12-05 21:53:53 +00:00
Magnus Ihse Bursie
6f6bce56fc 8344559: Log is spammed by missing pandoc warnings when building man pages
Reviewed-by: shade, erikj
2024-12-05 21:53:36 +00:00
Magnus Ihse Bursie
5f30a8d90c 8345424: Move FindDebuginfoFiles out of FileUtils.gmk
Reviewed-by: erikj
2024-12-05 21:53:18 +00:00
Matias Saavedra Silva
bf0debc023 8343890: SEGV crash in RunTimeClassInfo::klass
Reviewed-by: iklam, ccheung
2024-12-05 20:08:31 +00:00
Y. Srinivas Ramakrishna
a97dca52c9 8344593: GenShen: Review of ReduceInitialCardMarks
Reviewed-by: shade, cslucas
2024-12-05 19:46:39 +00:00
William Kemper
bedb68aba1 8342444: Shenandoah: Uncommit regions from a separate, STS aware thread
Reviewed-by: shade, kdnilsen, ysr
2024-12-05 17:55:23 +00:00
Kim Barrett
dbf48a53ec 8344665: Refactor PartialArrayState allocation for reuse
Reviewed-by: tschatzl, ayang, iwalulya, zgu
2024-12-05 17:43:48 +00:00
Pavel Rappo
5cc150c636 8342979: Start of release updates for JDK 25
8342982: Add SourceVersion.RELEASE_25
8342983: Add source 25 and target 25 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, darcy, erikj, dholmes
2024-12-05 17:03:27 +00:00
Matthias Baesken
85fedbf668 8344607: Link Time Optimization - basic support for clang
Reviewed-by: lucy, jkern, ihse
2024-12-05 16:44:18 +00:00
Erik Joelsson
5a0899fc09 8345302: Building microbenchmarks require larger Java heap
Reviewed-by: shade, mcimadamore
2024-12-05 16:17:17 +00:00
Calvin Cheung
1ece4f9d93 8345514: Should use internal class name when calling ClassLoader.getResourceAsByteArray
Reviewed-by: iklam, matsaave
2024-12-05 15:40:12 +00:00
Kim Barrett
ef8da28487 8345591: [aarch64] macroAssembler_aarch64.cpp compile fails ceil_log2 not declared
Reviewed-by: coleenp, alanb, syan
2024-12-05 15:31:43 +00:00
Gerard Ziemski
7513b1378d 8328944: NMT reports "unknown" memory
Reviewed-by: jsjolen, coleenp
2024-12-05 15:28:30 +00:00
Alan Bateman
691e692149 8345565: Remove remaining SecurityManager motivated APIs from sun.reflect.util
Reviewed-by: mullan, rriggs, liach
2024-12-05 15:22:00 +00:00
Erik Gahlin
97b8a09bda 8345339: JFR: Missing javadoc for RecordingStream::onMetadata
Reviewed-by: nbenalla, liach
2024-12-05 14:50:30 +00:00
Thomas Stuefe
456c71d1ff 8343699: [aarch64] Bug in MacroAssembler::klass_decode_mode()
Reviewed-by: adinn, coleenp
2024-12-05 14:07:39 +00:00
Weijun Wang
308357cba7 8345578: New test in JDK-8343622 fails with a promoted build
Reviewed-by: mullan
2024-12-05 13:15:26 +00:00
Aleksey Shipilev
84240cc8e0 8344831: [REDO] CDS: Parallel relocation
Reviewed-by: dholmes, stuefe
2024-12-05 12:37:54 +00:00
Doug Lea
92e9ac6dc7 8345294: test/jdk/java/lang/Thread/virtual/RetryMonitorEnterWhenPinned.java timeout with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-05 12:15:58 +00:00
Martin Doerr
b42d79eb6a 8345146: [PPC64] Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: rrich, lucy
2024-12-05 12:03:53 +00:00
Prasanta Sadhukhan
7ee84d8f70 8345566: Deproblemlist test/jdk/javax/swing/JComboBox/6559152/bug6559152.java
Reviewed-by: tr
2024-12-05 11:51:46 +00:00
Jaikiran Pai
01307a7baf 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486
Reviewed-by: dfuchs, lancea, rriggs, alanb
2024-12-05 11:19:38 +00:00
Christian Stein
bcd1018585 8344540: Remove superseded wildcard description from java manpage
Reviewed-by: dholmes, jpai
2024-12-05 10:15:05 +00:00
Raffaello Giulietti
f3807d6a84 8345403: Add more randomized tests to better cover FloatingDecimal parsing
Reviewed-by: darcy
2024-12-05 09:50:28 +00:00
Andrey Turbanov
3b7571d378 8345398: Avoid redundant Properties.containsKey call in Cursor.getSystemCustomCursor
Reviewed-by: aivanov, prr
2024-12-05 09:07:15 +00:00
Weijun Wang
ca46c3a5ba 8343622: AesDkCrypto.stringToKey should not return null
Reviewed-by: valeriep
2024-12-05 08:36:18 +00:00
Prasanta Sadhukhan
e46d822aeb 8345547: test/jdk/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-05 07:29:42 +00:00
Robbin Ehn
2331782cf7 8345179: RISC-V: Add gtests for weak cmpxchg
Reviewed-by: fyang, mli
2024-12-05 07:25:05 +00:00
Ioi Lam
7c8cec186a 8345224: Test runtime/cds/appcds/applications/JavacBench.java#dynamic fails after JDK-8344822
Reviewed-by: matsaave, ccheung
2024-12-05 05:20:40 +00:00
Chris Plummer
77cfcee8a1 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
8344804: Test serviceability/jdwp/AllModulesCommandTest.java times out after JNI check warning

Reviewed-by: amenkov, dholmes
2024-12-05 03:33:50 +00:00
Amit Kumar
67a7b0049d 8345355: [s390x] support for z16 hardware
Reviewed-by: lucy, aph
2024-12-05 03:08:36 +00:00
Matias Saavedra Silva
9c3d3b9540 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual
Reviewed-by: lmesnik, iklam, syan
2024-12-05 02:32:03 +00:00
Weijun Wang
fb95a53944 8345533: Switch ML-DSA implementation to FIPS 204 final
Reviewed-by: bperez, jnimeh
2024-12-05 01:27:10 +00:00
Jaikiran Pai
63d095169a 8345153: Clean up SecurityManager references from jdk.compiler module
Reviewed-by: alanb, jlahoda, darcy
2024-12-05 01:24:29 +00:00
Archie Cobbs
7a0cc79668 8345438: Invalid error for return in early construction context lambda
Reviewed-by: vromero, mcimadamore
2024-12-04 23:17:54 +00:00
Archie Cobbs
bcebb0c53c 8341495: JShell crashes with java.util.MissingFormatArgumentException
Reviewed-by: jlahoda
2024-12-04 23:16:50 +00:00
Alexey Semenyuk
ba158edd81 8334319: Missing keys in jpackage resource bundle
Reviewed-by: naoto, almatvee
2024-12-04 22:41:55 +00:00
Stuart Marks
8a3c100c54 8344461: Additional cleanup in NewThreadAction
8344867: Cleanup unneeded qualified exports to java.rmi

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2024-12-04 22:34:51 +00:00
Ben Perez
f904480a49 8345512: Remove wrapper functions for intrinsics in PQC algorithms
Reviewed-by: weijun
2024-12-04 22:01:10 +00:00
Aleksei Efimov
8d19a560d0 8340359: Remove javax.naming.Context.APPLET
Reviewed-by: jpai
2024-12-04 21:37:53 +00:00
Patricio Chilano Mateo
c113f82f78 8343957: Rename ObjectMonitor::owner_from() and JavaThread::_lock_id
Reviewed-by: coleenp, dholmes
2024-12-04 21:25:38 +00:00
Brian Burkhalter
ea73e05852 8345181: (ch) Windows asynchronous channels may return temporary direct buffers to the buffer cache twice (win)
Reviewed-by: alanb, michaelm
2024-12-04 20:59:14 +00:00
Justin Lu
ee0f88c901 8341923: java.util.Locale class specification improvements
Reviewed-by: liach, naoto
2024-12-04 20:57:26 +00:00
Alex Menkov
a72cab8c47 8345148: Fix for JDK-8337317 is incomplete
Reviewed-by: lmesnik, cjplummer
2024-12-04 20:48:17 +00:00
Magnus Ihse Bursie
1a73c76d83 8345524: CHECK_FOR_FILES should properly handle directories
Reviewed-by: erikj
2024-12-04 20:43:47 +00:00
Brian Burkhalter
1d3dcdf2d6 8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType
Reviewed-by: rriggs, alanb, aturbanov
2024-12-04 20:25:52 +00:00
Alexey Semenyuk
9740c1df6f 8333572: Update jpackage.md with info related to WiX v4 and v5 support
Reviewed-by: almatvee
2024-12-04 20:07:00 +00:00
Sean Mullan
de3a218a28 8345502: Remove doIntersectionPrivilege methods
Reviewed-by: weijun
2024-12-04 19:17:51 +00:00
Alexey Ivanov
faa109e8d4 8340580: Characters in Document diagrams not in the middle
Move text in Document-{insert,remove}.svg by 0.5 of pixel

Reviewed-by: azvegint, kizune
2024-12-04 18:52:07 +00:00
Ioi Lam
6aa7667e9d 8339535: JVM crashes with -Xshare:dump -XX:+SegmentedCodeCache
Reviewed-by: ccheung, dholmes, kvn
2024-12-04 18:45:35 +00:00
Jatin Bhateja
e1695f6c40 8345472: Fix incorrect format instruction for floating point max/min patterns
Reviewed-by: kvn
2024-12-04 18:27:37 +00:00
Magnus Ihse Bursie
baa6957b9b 8345507: Fix build of static launcher
Reviewed-by: erikj
2024-12-04 17:51:04 +00:00
Chen Liang
79eb77b782 8345486: Reevaluate the classes in java.lang.classfile.components package
Reviewed-by: mcimadamore, asotona
2024-12-04 17:30:01 +00:00
Aleksey Shipilev
f3b4350e0f 8345219: C2: x86_64 should not go to interpreter stubs for NaNs handling
Reviewed-by: epeter, kvn
2024-12-04 16:37:38 +00:00
Volkan Yazıcı
16ef6e2a18 8344229: Revisit SecurityManager usage in jdk.httpserver after JEP 486 integration
Reviewed-by: dfuchs
2024-12-04 15:38:17 +00:00
Prasanta Sadhukhan
923321cfb1 8345447: test/jdk/javax/swing/JToolBar/4529206/bug4529206.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:35:27 +00:00
Prasanta Sadhukhan
6f30762356 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:34:11 +00:00
Aggelos Biboudis
6c1ed0bb69 8345474: Translation for instanceof is not triggered when patterns are not used in the compilation unit
Reviewed-by: mcimadamore
2024-12-04 14:32:47 +00:00
Kevin Walls
bd6d911cbe 8344177: Remove SecurityManager and related calls from java.management
Reviewed-by: dfuchs
2024-12-04 14:23:08 +00:00
Per Minborg
39cdadfb6a 8345186: Incorrect @throws doc for MemorySegment::getString
Reviewed-by: mcimadamore, jvernee
2024-12-04 14:17:00 +00:00
Alexey Ivanov
6fa5cea984 8341982: Simplify JButton/bug4323121.java
Reviewed-by: abhiscxk, honkar, dnguyen, achung
2024-12-04 13:29:53 +00:00
Sean Mullan
e13206d3a1 8345065: Cleanup DomainCombiner, SubjectDomainCombiner, Subject, and PrivilegedAction specifications
Reviewed-by: weijun
2024-12-04 12:44:23 +00:00
Aleksey Shipilev
4000e923e8 8343704: Bad GC parallelism with processing Cleaner queues
Reviewed-by: bchristi, vklang, ogillespie, kdnilsen
2024-12-04 11:36:23 +00:00
Aleksei Efimov
0c7451ae5a 8332686: InetAddress.ofLiteral can throw StringIndexOutOfBoundsException
Reviewed-by: dfuchs, jpai
2024-12-04 11:34:41 +00:00
Jan Lahoda
56d315da48 8343540: Report preview error for inherited effectively-preview methods
Reviewed-by: vromero
2024-12-04 09:47:40 +00:00
Fredrik Bredberg
994504c3e1 8329351: Add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing
Co-authored-by: Daniel D. Daugherty <dcubed@openjdk.org>
Reviewed-by: dcubed, coleenp, aboldtch
2024-12-04 09:32:33 +00:00
Jaikiran Pai
3d49665b85 8345286: Remove use of SecurityManager API from misc areas
Reviewed-by: alanb, kevinw, sgehwolf
2024-12-04 09:23:57 +00:00
Tom Rodriguez
38927fc590 8343213: TEST_BUG: [Graal] java/lang/ref/Basic.java fails
Reviewed-by: mchung
2024-12-04 08:31:55 +00:00
Matthias Baesken
cf1eb58d67 8344935: [ubsan]: javaThread.hpp:1241:52: runtime error: load of value 9831830, which is not a valid value for type 'freeze_result'
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, pchilanomate
2024-12-04 08:11:33 +00:00
Matthias Baesken
943aa033ae 8345404: [ppc64le] ProblemList TestAllocOutOfMemory.java#large
Reviewed-by: mdoerr
2024-12-04 08:06:58 +00:00
Robbin Ehn
9e2b66fb0f 8345178: RISC-V: Add gtests for narrow cmpxchg
Reviewed-by: fyang, mli
2024-12-04 07:53:30 +00:00
Richard Reingruber
4c33caa185 8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea
Reviewed-by: dholmes, mdoerr
2024-12-04 07:26:34 +00:00
Jaikiran Pai
4b92816743 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Reviewed-by: cstein, dfuchs
2024-12-04 06:36:54 +00:00
Jan Lahoda
e15912b804 8345248: Module name 'transitive' not accepted for requires transitive
Reviewed-by: vromero
2024-12-04 06:02:08 +00:00
Prasanta Sadhukhan
521ed72b87 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 04:28:06 +00:00
Joe Wang
447f8d4996 8345353: Test for JDK-8344800 W3C DTDs and XSDs in the built-in Catalog
Reviewed-by: rriggs, lancea
2024-12-04 03:48:24 +00:00
Amit Kumar
43b337eb43 8344304: [s390x] ubsan: negation of -2147483648 cannot be represented in type 'int'
Reviewed-by: lucy, dlong
2024-12-04 03:44:41 +00:00
Joe Wang
7ec36bb783 8343001: Adjust XSLT and XPath Extension Function Property
Reviewed-by: rriggs, lancea
2024-12-04 02:28:06 +00:00
Fei Yang
c143138a35 8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg
Reviewed-by: rehn, mli
2024-12-04 01:45:16 +00:00
Chris Plummer
42378970e1 8345341: Fix incorrect log message in JDI stop002t test
Reviewed-by: amenkov, lmesnik
2024-12-04 00:15:30 +00:00
Weijun Wang
82e8aa62de 8345415: Rollback JDK-8301991 change on xmlsecurity_de.properties
Reviewed-by: mullan
2024-12-03 22:41:47 +00:00
Severin Gehwolf
05ee562a38 8343839: Detect patched modules and abort run-time image link early
Reviewed-by: mchung
2024-12-03 20:41:48 +00:00
Leonid Mesnik
0664b51765 8344987: Test serviceability/sa/TestJhsdbJstackPrintVMLocks.java fails: NoClassDefFoundError: jdk/test/lib/Utils
Reviewed-by: cjplummer
2024-12-03 20:32:36 +00:00
Jorn Vernee
157a4341f7 8345389: Bump missed copyright years for JDK-8336768
Reviewed-by: pminborg
2024-12-03 19:58:01 +00:00
Francisco Ferrari Bihurriet
a49f0776eb 8345221: Replace legacy with new Provider APIs in SunNativeGSS
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun
2024-12-03 18:44:31 +00:00
Dmitry Markov
2be07b5f9d 8324491: Keyboard layout didn't keep its state if it was changed when dialog was active
Reviewed-by: aivanov, azvegint
2024-12-03 18:37:27 +00:00
Damon Nguyen
f37f64df8c 8343736: Test java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java failed: Choice can't be controlled by keyboard
Reviewed-by: honkar, abhiscxk
2024-12-03 18:18:13 +00:00
Harshitha Onkar
73b8b34a8c 8344368: IndependenceSwingTest.java and IndependenceAWTTest.java failed: Selected text & clipboard contents differs
Reviewed-by: azvegint, dnguyen, prr, kizune
2024-12-03 17:37:16 +00:00
Justin Lu
9267dfa63b 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Reviewed-by: iris, lancea, naoto
2024-12-03 17:16:09 +00:00
Dean Long
293323c3e2 8340141: C1: rework ciMethod::equals following 8338471
Reviewed-by: kvn, vlivanov
2024-12-03 17:05:49 +00:00
Chen Liang
76e874c08e 8345319: Fix the tag type in PoolEntry and AnnotationValue
Reviewed-by: asotona
2024-12-03 16:59:57 +00:00
Roman Kennke
e9f6ba0526 8345293: Fix generational Shenandoah with compact headers
Reviewed-by: shade, stuefe, ysr
2024-12-03 16:45:50 +00:00
Kim Barrett
e1910f2d19 8345397: Remove <cstdio> from g1HeapRegionRemSet.cpp
Reviewed-by: shade
2024-12-03 16:31:05 +00:00
Aleksey Shipilev
3c60f0b2bb 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: eastigeevich, phh, aph
2024-12-03 16:28:41 +00:00
Brian Burkhalter
3eaa7615cd 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win)
Reviewed-by: alanb
2024-12-03 16:19:51 +00:00
Matias Saavedra Silva
60bd73a595 8342089: Require --enable-native-access to be the same between CDS dump time and run time
Reviewed-by: ccheung, dholmes
2024-12-03 16:18:38 +00:00
Viktor Klang
2be27e1545 8345393: ProblemList java/util/concurrent/locks/StampedLock/OOMEInStampedLock.java on generic-all JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-03 15:56:32 +00:00
Coleen Phillimore
ba5093935d 8341649: Regressions with large metaspace apps after 8338526
Reviewed-by: liach, stuefe
2024-12-03 15:44:00 +00:00
Alexey Ivanov
caf053b3ad 8337287: Update image in javax.swing.text.Document.insert
Reviewed-by: serb, prr, abhiscxk
2024-12-03 15:05:13 +00:00
Alexey Ivanov
8647c00114 8342602: Remove JButton/PressedButtonRightClickTest test
Reviewed-by: dnguyen, prr
2024-12-03 15:00:47 +00:00
Roger Riggs
fcf185c8b4 8345325: SM cleanup of GetPropertyAction in java.base
Reviewed-by: alanb, lancea, naoto, mchung
2024-12-03 14:59:30 +00:00
Per Minborg
eac00f6d11 8345396: Fix headers after JDK-8345164
Reviewed-by: rriggs
2024-12-03 14:32:22 +00:00
Per Minborg
dfa5620ff3 8345164: Remove residual --enable-preview in FFM tests and benchmarks
Reviewed-by: mcimadamore, jvernee
2024-12-03 13:32:48 +00:00
Daniel Skantz
65b5a2e3e4 8345158: IGV: local scheduling should not place successors before predecessors
Reviewed-by: rcastanedalo, chagedorn
2024-12-03 13:32:28 +00:00
Jorn Vernee
8cad0431ff 8336768: Allow captureCallState and critical linker options to be combined
Reviewed-by: mcimadamore
2024-12-03 12:28:17 +00:00
Axel Boldt-Christmas
63af2f42b7 8344414: ZGC: Another division by zero in rule_major_allocation_rate
Reviewed-by: eosterlund, stefank
2024-12-03 10:42:23 +00:00
Eirik Bjørsnøs
077b8422bb 8345074: java.net.InterfaceAddress constructor could be made private
Reviewed-by: jpai
2024-12-03 09:53:37 +00:00
Aggelos Biboudis
ec93cc5098 8343932: Error when parsing qualified generic type test pattern in switch
Reviewed-by: jlahoda
2024-12-03 09:18:58 +00:00
Nizar Benalla
c330b90b9f 8343780: Add since checker tests to the Tools area modules and add missing @since to jdk.jfr
Reviewed-by: cstein, egahlin
2024-12-03 09:06:07 +00:00
Per Minborg
8dada7373f 8345120: A likely bug in StringSupport::chunkedStrlenShort
Reviewed-by: mcimadamore
2024-12-03 08:28:04 +00:00
Andrey Turbanov
659f70b370 8343418: Unnecessary Hashtable usage in CSS.htmlAttrToCssAttrMap
Reviewed-by: honkar, aivanov
2024-12-03 07:26:01 +00:00
Alan Bateman
5c8cb2edcb 8337199: Add jcmd Thread.vthread_scheduler and Thread.vthread_pollers diagnostic commands
Reviewed-by: dholmes, kevinw
2024-12-03 07:24:46 +00:00
Volkan Yazıcı
3eb5461578 8343791: Socket.connect API should document whether the socket will be closed when hostname resolution fails or another error occurs
Reviewed-by: dfuchs, alanb
2024-12-03 06:59:06 +00:00
Kim Barrett
4ac2e477b9 8343800: Cleanup definition of NULL_WORD
Reviewed-by: dholmes, kvn
2024-12-03 04:54:51 +00:00
Amit Kumar
a3b58ee5cd 8339983: [s390x] secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: lucy, aph
2024-12-03 04:06:39 +00:00
Prasanta Sadhukhan
e023addf70 8345297: test/jdk/javax/swing/Action/8133039/bug8133039.java fails in ubuntu22.04
Reviewed-by: azvegint
2024-12-03 03:19:10 +00:00
Jaikiran Pai
40ae469962 8235786: Javadoc for com/sun/net/httpserver/HttpExchange.java#setAttribute is unclear
Reviewed-by: dfuchs, michaelm
2024-12-03 02:36:14 +00:00
Jaikiran Pai
24983dd4c1 7038838: Unspecified NPE in java.net.IDN methods
Reviewed-by: liach, dfuchs
2024-12-03 02:34:20 +00:00
Phil Race
325366ee1d 8345141: Remove uses of SecurityManager in ShellFolder related classes
Reviewed-by: azvegint, honkar
2024-12-03 02:32:17 +00:00
Jaikiran Pai
d88c7b365a 8345279: Mistake in javadoc of javax.sql.rowset.BaseRowSet#setBigDecimal
Reviewed-by: darcy, lancea, iris
2024-12-03 02:31:26 +00:00
Phil Race
3f6c04247f 8345143: Remove uses of SecurityManager in the java.desktop module
Reviewed-by: azvegint, honkar
2024-12-03 00:12:50 +00:00
Chen Liang
5958463cad 8343377: Performance regression in reflective invocation of native methods
Reviewed-by: mchung
2024-12-02 23:49:57 +00:00
Ioi Lam
68b1b94d1b 8344904: Interned strings in old classes are not stored in CDS archive
Reviewed-by: dholmes, ccheung
2024-12-02 22:55:53 +00:00
William Kemper
1997e89ddf 8345346: Shenandoah: Description of ShenandoahGCMode still refers to incremental update mode
Reviewed-by: ysr
2024-12-02 22:54:53 +00:00
Joe Wang
3a3bcd53d0 8344800: Add W3C DTDs and XSDs to the JDK built-in Catalog
Reviewed-by: lancea, rriggs
2024-12-02 22:26:20 +00:00
Sean Mullan
940aa7c4cf 8344397: Remove Security Manager dependencies from java.security and sun.security packages
Reviewed-by: rriggs, hchao, weijun, alanb
2024-12-02 21:30:53 +00:00
David Holmes
3d0d0e6290 8345012: os::build_agent_function_name potentially wastes a byte when allocating the buffer
Reviewed-by: stuefe, shade
2024-12-02 20:54:58 +00:00
Joe Darcy
525f33baae 8345324: Update comment in SourceVersion for language evolution history for changes in 24
Reviewed-by: iris
2024-12-02 19:43:47 +00:00
Weijun Wang
d6a5f1bafb 8344768: Consider removing "sun.security.krb5.autodeducerealm" system property
Reviewed-by: mullan
2024-12-02 19:30:16 +00:00
Aleksey Shipilev
7c944ee6f4 8345172: x86: Some CPU feature asserts are declared as 32-bit only
Reviewed-by: dfenacci, kvn
2024-12-02 17:34:49 +00:00
Phil Race
67f18cc9ce 8345142: Remove uses of SecurityManager in Printing related classes
Reviewed-by: azvegint, psadhukhan
2024-12-02 17:31:21 +00:00
Naoto Sato
352201ddec 8343788: Provide means to alter lib/tzmappings entries on Windows
Reviewed-by: joehw
2024-12-02 17:05:32 +00:00
Jatin Bhateja
29c57e8b34 8342677: Add IR validation tests for newly added saturated vector add / sub operations
Reviewed-by: epeter
2024-12-02 16:55:33 +00:00
Sean Mullan
30b8bbe255 8345060: Remove Security Manager dependencies from java.security.KeyStore and Identity APIs and implementations
Reviewed-by: hchao, alanb, weijun
2024-12-02 15:23:47 +00:00
Magnus Ihse Bursie
1ca764454b 8339480: Build static-jdk image with a statically linked launcher
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: dholmes, erikj, coleenp
2024-12-02 15:12:24 +00:00
Magnus Ihse Bursie
d589bafee3 8345218: Clean out references to windows-x86 in jib profiles
Reviewed-by: shade, dholmes, kbarrett, jwaters
2024-12-02 14:22:37 +00:00
Doug Simon
b8233989e7 8345267: Fix memory leak in JVMCIEnv dtor
Reviewed-by: simonis, kbarrett
2024-12-02 13:56:30 +00:00
Robbin Ehn
9a48e4d9d2 8345177: RISC-V: Add gtests for cmpxchg
Reviewed-by: fyang, mli
2024-12-02 13:14:20 +00:00
Volkan Yazıcı
e3b679a2f6 8345176: Add tests to verify java.net.Socket constructors close the socket on failure
Reviewed-by: dfuchs
2024-12-02 12:56:49 +00:00
Jan Lahoda
c7be41ee0c 8340133: Add concise usage message to the java executable
Reviewed-by: jpai, alanb, ihse, rriggs
2024-12-02 11:21:13 +00:00
Albert Mingkun Yang
0b0f83c01e 8345220: Serial: Refactor TenuredGeneration::promotion_attempt_is_safe
Reviewed-by: tschatzl, mli
2024-12-02 10:30:56 +00:00
Fei Yang
dfcbfb5a41 8345236: RISC-V: Remove revb_h_h_u and revb_h_w_u macro assembler routines
Reviewed-by: rehn, fjiang
2024-12-02 10:25:09 +00:00
Hannes Wallnöfer
ac2fede165 8344041: Re-enable external specs page
Reviewed-by: erikj, nbenalla, liach
2024-12-02 08:39:47 +00:00
Prasanta Sadhukhan
1c4c653168 8345247: Deproblemlist test/jdk/javax/swing/JRadioButton/8075609/bug8075609.java
Reviewed-by: abhiscxk
2024-12-02 08:14:50 +00:00
Thomas Schatzl
f5ebda4370 8345173: BlockLocationPrinter::print_location misses a ResourceMark
Reviewed-by: sjohanss, iwalulya
2024-12-02 06:32:43 +00:00
Nizar Benalla
c40b570b71 8343775: Add since checker tests to the security area modules
Reviewed-by: alanb
2024-12-01 22:59:54 +00:00
Amit Kumar
50b4cbd8a4 8345102: [s390x/ppc] ShowRegistersOnAssertTest.java fails after 8343756
Reviewed-by: mdoerr, mbaesken
2024-12-01 13:55:47 +00:00
William Kemper
28ae281b42 8337511: Implement JEP 404: Generational Shenandoah (Experimental)
Co-authored-by: Kelvin Nilsen <kdnilsen@openjdk.org>
Co-authored-by: Y. Srinivas Ramakrishna <ysr@openjdk.org>
Co-authored-by: Bernd Mathiske <bmathiske@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: rkennke, shade, phh
2024-11-29 20:53:07 +00:00
Nizar Benalla
029ace0a1b 8336041: Doccheck: the jfr command doesn't show the correct command-line options
Reviewed-by: dholmes
2024-11-29 18:25:44 +00:00
Aleksey Shipilev
2beb2b602b 8345234: Build system erroneously treats 32-bit x86 Zero as deprecated
Reviewed-by: ihse
2024-11-29 17:00:03 +00:00
Jonathan Lampérth
ed03f0d9d1 8345145: Display javap LineNumberTable and LocalVariableTable iff disassembled code output with -c or -v
Reviewed-by: mcimadamore, liach
2024-11-29 16:24:22 +00:00
Daniel Fuchs
e9136b5e08 8345223: Remove stray doPrivileged in java.base java.net and sun.net classes after JEP 486 integration
Reviewed-by: alanb, aefimov, michaelm
2024-11-29 15:58:57 +00:00
Tobias Holenstein
a80ccf2cd2 8345039: IGV: save user-defined node colors to XML
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, epeter, rcastanedalo
2024-11-29 15:21:39 +00:00
Tobias Holenstein
28b0f3eaa5 8343705: IGV: Interactive Node Moving in Hierarchical Layout
Reviewed-by: chagedorn, thartmann, rcastanedalo
2024-11-29 15:16:53 +00:00
Tobias Holenstein
4da7c35484 8314512: IGV: clean up hierarchical layout code
Reviewed-by: chagedorn, rcastanedalo
2024-11-29 13:53:18 +00:00
Volker Simonis
6bea1b6cf1 8344727: [JVMCI] Export the CompileBroker compilation activity mode for Truffle compiler control
Reviewed-by: dnsimon
2024-11-29 12:30:43 +00:00
Sharath TN
8858de393a 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Reviewed-by: aivanov, dnguyen
2024-11-29 12:27:06 +00:00
Doug Lea
ece0401054 8345052: Harden StampedLock
Reviewed-by: alanb, vklang
2024-11-29 11:38:23 +00:00
Aleksey Shipilev
095e769f47 8345237: 32-bit Zero builds fail with assert(has_klass_gap()) failed: precondition
Reviewed-by: mli, jwaters, rkennke
2024-11-29 09:55:29 +00:00
Thomas Stuefe
1a7a184e41 8344293: Remove empty Test files left over from JDK-8305895
Reviewed-by: jsjolen, rkennke, shade
2024-11-29 09:54:40 +00:00
Per Minborg
f2c0d186ff 8344989: Test java/foreign/TestLinker.java failed with zero: IllegalStateException: libffi call failed with status: FFI_BAD_TYPEDEF
Reviewed-by: jvernee
2024-11-29 09:24:29 +00:00
Fei Yang
08d563ba15 8345110: RISC-V: Optimize and and clean up byte reverse assembler routines
Reviewed-by: mli, rehn
2024-11-29 07:50:14 +00:00
Aleksei Efimov
959fa4a1a3 8344299: SM cleanup in javax.naming modules
Reviewed-by: alanb, dfuchs
2024-11-28 17:43:27 +00:00
Eirik Bjørsnøs
43000a34d5 8345075: java.lang.module.ModuleDescriptor constructor could be made private
Reviewed-by: alanb
2024-11-28 17:38:07 +00:00
Kevin Walls
fd742af0b7 8344394: Remove SecurityManager and related calls from java.management.rmi
Reviewed-by: amenkov
2024-11-28 17:16:41 +00:00
Daniel Fuchs
3b21a298c2 8345175: Further cleanup in java.logging and jdk.internal.logger after JEP 486 integration
Reviewed-by: alanb, coffeys
2024-11-28 14:17:15 +00:00
Christian Hagedorn
7dc00d39b4 8345154: IGV: Show Parse and Assertion Predicate type as extra label
Reviewed-by: rcastanedalo
2024-11-28 13:58:14 +00:00
Johan Sjölen
1e086b1d73 8340103: Add internal set_flag function to VMATree
Reviewed-by: stuefe, azafari, gziemski
2024-11-28 13:15:10 +00:00
Štěpán Schejbal
db535c86bc 8313367: SunMSCAPI cannot read Local Computer certs w/o Windows elevation
Reviewed-by: weijun
2024-11-28 13:12:45 +00:00
Robbin Ehn
edfe28541a 8344306: RISC-V: Add zicond
Reviewed-by: fyang, luhenry, mli
2024-11-28 12:05:23 +00:00
Kevin Walls
d33ad07c32 8334493: Remove SecurityManager Permissions infrastructure from DiagnosticCommands
Reviewed-by: lmesnik, alanb, coleenp
2024-11-28 09:54:25 +00:00
Aleksey Shipilev
56f1e4ef05 8344093: Implement JEP 501: Deprecate the 32-bit x86 Port for Removal
Reviewed-by: ihse, simonis, dholmes
2024-11-28 09:35:51 +00:00
SendaoYan
d791f4b98d 8341585: Test java/foreign/TestUpcallStress.java should mark as /native
Reviewed-by: luhenry, pminborg
2024-11-28 09:29:49 +00:00
SendaoYan
e096660a18 8345043: [ASAN] methodMatcher.cpp report reading from a region of size 0 [-Werror=stringop-overread]
Reviewed-by: kbarrett, dholmes
2024-11-28 09:06:34 +00:00
Per Minborg
103338534f 8344967: Some tests in TestFill do not use the test parameter
Reviewed-by: jvernee
2024-11-28 07:59:48 +00:00
Jaikiran Pai
81c44e5eb4 8344908: URLClassPath should not propagate IllegalArgumentException when finding resources in classpath URLs
Reviewed-by: alanb
2024-11-28 07:54:00 +00:00
Quan Anh Mai
ce9d543eb1 8345119: Some java/foreign tests wrongly assume aligned memory
Reviewed-by: mcimadamore, jvernee
2024-11-28 06:57:51 +00:00
David Holmes
1a07d542ec 8343703: Symbol name cleanups after JEP 479
Reviewed-by: kbarrett, amenkov
2024-11-28 02:24:55 +00:00
Amit Kumar
a0df0a527f 8340731: Cleanup remaining IA64 references in hotspot code
Reviewed-by: dholmes, aph
2024-11-28 02:05:45 +00:00
Ioi Lam
8485cb1ca1 8344822: CDS BulkLoaderTest.java#dynamic fails with COH
Reviewed-by: dholmes, ccheung
2024-11-28 01:20:27 +00:00
Ioi Lam
f51363e027 8344913: Improve -Xlog:cds+map+oop logging for Java mirrors
Reviewed-by: dholmes, ccheung
2024-11-28 01:15:15 +00:00
Phil Race
cf5ee0bda2 8342280: Deprecate for removal java.awt.AWTPermission
Reviewed-by: azvegint, kizune
2024-11-27 22:10:25 +00:00
Phil Race
8ad0b2afe3 8345001: java/awt/doc-files/FocusSpec.html has SecurityManager references
Reviewed-by: azvegint, kizune
2024-11-27 22:10:07 +00:00
Ioi Lam
f6d29909bb 8344824: CDS dump crashes when member_method of a lambda proxy is null
Reviewed-by: ccheung, matsaave
2024-11-27 20:10:28 +00:00
Casper Norrbin
15378a7853 8345126: [BACKOUT] JDK-8318127: align_up has potential overflow
Reviewed-by: iklam
2024-11-27 19:51:17 +00:00
Aleksei Efimov
880f9a7b16 8344220: Remove calls to SecurityManager and doPrivileged in java.net.InetAddress and sun.net.util.IPAddressUtil after JEP 486 integration
Reviewed-by: jpai, dfuchs, alanb
2024-11-27 19:25:50 +00:00
Phil Race
9527586923 8345073: Remove SecurityManager checks from sun.awt.image classes
Reviewed-by: azvegint, honkar
2024-11-27 17:32:54 +00:00
Jonathan Lampérth
1e3a0fdb5d 8035271: Incorrect indentation of LineNumberTable/LocalVariableTable/Exception table/LocalVariableTypeTable/StackMapTable/RuntimeVisibleTypeAnnotations in verbose mode
Reviewed-by: liach, jvernee
2024-11-27 17:31:39 +00:00
Brian Burkhalter
0312694c46 8344882: (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
Reviewed-by: alanb
2024-11-27 16:14:03 +00:00
Volodymyr Paprotski
75f3ec77e4 8344766: AES/CTR slow at big payloads
Reviewed-by: ascarpino, jbhateja
2024-11-27 16:05:43 +00:00
Roger Riggs
35bd2f354e 8344555: SM cleanup - drop reflection filter of System.security field
Reviewed-by: mullan, mchung, liach
2024-11-27 15:40:48 +00:00
Nizar Benalla
a491564001 8342836: Automatically determine that a test in the docs test root is requested
Reviewed-by: ihse, erikj
2024-11-27 15:36:26 +00:00
Nizar Benalla
b89cba7517 8342808: Javadoc should add whitespace between type parameters
Reviewed-by: hannesw
2024-11-27 15:36:02 +00:00
Nizar Benalla
0b704a2279 8343239: Javadoc marks non-preview type as preview if it's the subtype of a preview type
Reviewed-by: liach, hannesw
2024-11-27 15:33:54 +00:00
Volkan Yazıcı
ac3bbf7ddc 8344856: Remove calls to SecurityManager and doPrivileged in sun.net.www.protocol.ftp.FtpURLConnection after JEP 486 integration
Reviewed-by: dfuchs
2024-11-27 13:49:51 +00:00
Per Minborg
a1473ec302 8294432: Add provisions to calculate hash values from MemorySegments
Reviewed-by: mcimadamore
2024-11-27 13:26:36 +00:00
Alexey Semenyuk
4a22c1fefc 8344770: Switch jpackage unit tests to use JUnit5
Reviewed-by: almatvee
2024-11-27 12:42:34 +00:00
Casper Norrbin
494806286f 8318127: align_up has potential overflow
Reviewed-by: kbarrett, dlong
2024-11-27 12:27:31 +00:00
Jorn Vernee
461ffafeba 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

Reviewed-by: dholmes, eosterlund, aboldtch
2024-11-27 12:20:51 +00:00
Andrew Haley
eb0d1ce948 8344355: Register corruption in MacroAssembler::lookup_secondary_supers_table_var: x86-64 only
Reviewed-by: vlivanov, martin, dlong, asemenov
2024-11-27 10:27:58 +00:00
Fei Yang
82137db24d 8345047: RISC-V: Remove explicit use of AvoidUnalignedAccesses in interpreter
Reviewed-by: mli, fjiang
2024-11-27 10:26:09 +00:00
Emanuel Peter
b3986bdbdb 8344118: C2 SuperWord: add VectorThroughputForIterationCount benchmark
Reviewed-by: kvn, jbhateja, chagedorn
2024-11-27 09:15:57 +00:00
Abhishek Kumar
96388be1b5 8345004: [BACKOUT] GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox.
Reviewed-by: psadhukhan, kizune
2024-11-27 08:24:01 +00:00
Alan Bateman
4ae6ce61ea 8344300: Implement JEP 499: Structured Concurrency (Fourth Preview)
Reviewed-by: vklang
2024-11-27 07:58:49 +00:00
Quan Anh Mai
57ee3ba7e1 8344912: Sharpen the return type of various internal methods in jdk.internal.foreign
Reviewed-by: mcimadamore
2024-11-27 07:35:51 +00:00
Kim Barrett
1f6144ef26 8345050: Fix -Wzero-as-null-pointer warning in MemPointer ctor
Reviewed-by: chagedorn, shade
2024-11-27 06:43:05 +00:00
David M. Lloyd
08c1f44eef 8341028: Do not use lambdas or method refs for verifyConstantPool
Reviewed-by: adinn, liach
2024-11-27 01:03:33 +00:00
Joe Wang
28c8729019 8343004: Adjust JAXP limits
Reviewed-by: lancea, rriggs
2024-11-26 22:59:49 +00:00
Valerie Peng
8c2b4f6271 8345057: ML_KEM NamedParameterSpec constants removed by ML-DSA integration
Reviewed-by: mullan, hchao
2024-11-26 21:08:57 +00:00
Vicente Romero
8389e24d38 8345058: Javac issues different error messages for the modifiers of the requires directive
Reviewed-by: mcimadamore
2024-11-26 20:53:12 +00:00
Yudi Zheng
8da6435d4d 8343693: [JVMCI] Override ModifiersProvider.isConcrete in ResolvedJavaType to be isArray() || !isAbstract()
Reviewed-by: never
2024-11-26 20:50:49 +00:00
Daniel Fuchs
7ae6069ee8 8344184: Remove sun.net.ResourceManager after JEP 486 integration
Reviewed-by: alanb
2024-11-26 20:47:56 +00:00
Phil Race
1d5587b887 8344256: Clean up obsolete code in java.desktop/share/classes/sun/awt/datatransfer/DataTransferer.java
Reviewed-by: azvegint, kizune
2024-11-26 20:11:52 +00:00
Harshitha Onkar
5e15415cb9 8344654: Some client tests still expect a SecurityManager after JEP486
Reviewed-by: prr, azvegint
2024-11-26 20:10:48 +00:00
Sonia Zaldana Calles
3689f3909e 8344013: "bad tag in log" assert with +LogCompilation +CITimeVerbose
Reviewed-by: chagedorn, dfenacci
2024-11-26 19:44:09 +00:00
Hannes Wallnöfer
9458a4355f 8318416: Superscript marks should use consistent font style
Reviewed-by: liach
2024-11-26 18:50:50 +00:00
Sean Mullan
c5de307284 8344992: Remove Security Manager dependencies from java.security.cert API and implementations
Reviewed-by: rriggs, hchao
2024-11-26 18:40:52 +00:00
Sean Mullan
65c98e577f 8344420: Remove Security Manager dependencies from javax.security package
Reviewed-by: alanb, rriggs, wetmore
2024-11-26 17:24:22 +00:00
Calvin Cheung
246552674c 8344821: Test CheckDefaultArchiveFile.java fails if classes_coh.jsa is not present
Reviewed-by: iklam, dholmes
2024-11-26 17:17:45 +00:00
Calvin Cheung
d752f19611 8343427: Class file load hook crashes on archived classes from multi-release JARs
Reviewed-by: dholmes, iklam
2024-11-26 17:14:00 +00:00
Roger Riggs
f1b5a6e66e 8344565: SM cleanup in jdk/internal and java/lang package private classes
Reviewed-by: alanb, mchung
2024-11-26 17:12:17 +00:00
Roger Riggs
d8a23373c6 8344895: SM cleanup of module java.xml
Reviewed-by: joehw
2024-11-26 17:08:45 +00:00
Marc R. Hoffmann
c329f97f32 8345015: Remove unused method lookup_time_t_function
Reviewed-by: alanb
2024-11-26 15:09:49 +00:00
Sean Mullan
86d527f987 8344949: javax.security.auth.Subject.SecureSet.writeObject does not do a security check anymore
Reviewed-by: alanb
2024-11-26 14:21:01 +00:00
Alan Bateman
f0b72f728d 8342380: Implement JEP 498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe
Reviewed-by: vklang, jpai
2024-11-26 12:28:55 +00:00
Per Minborg
fc2da15bce 8344419: Use StaticProperty in some JDK classes
Reviewed-by: alanb, rriggs
2024-11-26 12:07:26 +00:00
Doug Lea
3e509c8bd1 8344773: SM cleanup in ForkJoinPool
Reviewed-by: alanb
2024-11-26 11:44:29 +00:00
Hamlin Li
6da3ecd65d 8344960: RISC-V: fix TestFloatConversionsVectorNaN for COH and AlignVector
Reviewed-by: fyang, luhenry
2024-11-26 11:10:36 +00:00
Afshin Zafari
9291abc633 8342074: Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags
Reviewed-by: gziemski, lmesnik
2024-11-26 11:08:34 +00:00
Markus Grönlund
0054bbed7f 8343756: CAN_SHOW_REGISTERS_ON_ASSERT for Windows
Reviewed-by: stuefe, jsjolen
2024-11-26 10:50:20 +00:00
Doug Simon
3a625f38aa 8344628: Test TestEnableJVMCIProduct.java run with virtual thread intermittent fails
Reviewed-by: syan, dlong, mli
2024-11-26 09:50:57 +00:00
Volkan Yazıcı
25dd51e4fc 8344222: Remove calls to SecurityManager and doPrivileged in java.net.HttpURLConnection, java.net.HttpConnectSocketImpl, and javax.net.HttpsURLConnection after JEP 486 integration
Reviewed-by: dfuchs, jpai
2024-11-26 09:35:31 +00:00
Albert Mingkun Yang
9793e73bc1 8344853: Parallel: Improve comments in psParallelCompact
Reviewed-by: sjohanss, zgu
2024-11-26 08:55:01 +00:00
Robbin Ehn
57d35f98f6 8344382: RISC-V: CASandCAEwithNegExpected fails with Zacas
Reviewed-by: fyang, mli
2024-11-26 08:51:55 +00:00
Roberto Castañeda Lozano
0105203575 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: qamai, thartmann, kvn
2024-11-26 08:51:34 +00:00
Per Minborg
4e68d665be 8344954: Linker tests fails on BE platforms after JDK-8340205
Reviewed-by: mdoerr, amitkumar
2024-11-26 08:24:21 +00:00
Phil Race
ca81ab5ebc 8344994: Remove most uses of RuntimePermission checks in java.desktop
Reviewed-by: azvegint
2024-11-26 07:03:15 +00:00
Phil Race
43603ac2f9 8344894: Obsolete reference to checking permissions in java.awt.Composite
Reviewed-by: kizune, kcr, azvegint
2024-11-26 06:57:06 +00:00
Brent Christian
4d4cef800a 8344337: SecurityManager cleanup in java.prefs module
Reviewed-by: lancea, bpb, rriggs, iris
2024-11-26 01:17:37 +00:00
Phil Race
1c7f34d3dd 8345000: Remove last mentions of sun.awt.AWTPermissions
Reviewed-by: honkar, azvegint
2024-11-26 01:10:24 +00:00
Fei Yang
5e0d42b6a6 8344916: RISC-V: Misaligned access in array fill stub
Reviewed-by: rehn, mli
2024-11-26 01:01:17 +00:00
Jaikiran Pai
3326874f5f 8344857: Remove calls to SecurityManager and doPrivileged in SocketExceptions and URLJarFile in the sun.net package after JEP 486 integration
Reviewed-by: dfuchs, michaelm
2024-11-26 00:52:50 +00:00
Taizo Kurashige
48e3b6511a 8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows platform
Reviewed-by: asemenyuk, almatvee
2024-11-25 23:23:03 +00:00
Alisen Chung
16232578d9 8339524: Clean up a few ExtendedRobot tests
Reviewed-by: honkar, aivanov, prr
2024-11-25 22:32:59 +00:00
Phil Race
027607968b 8344667: Remove most uses of AWT Permissions from the desktop module
Reviewed-by: azvegint, kizune
2024-11-25 22:16:07 +00:00
David Holmes
8de158aefe 8339134: Callers of Exceptions::fthrow should ensure exception message lengths avoid the INT_MAX limits of os::vsnprintf
Reviewed-by: coleenp, jsjolen
2024-11-25 19:55:26 +00:00
Roger Riggs
df2d4c1575 8344898: SM cleanup of java.base sun/util calendar, locale, cldr, and resources
Reviewed-by: naoto
2024-11-25 19:44:40 +00:00
Phil Race
4d898aa451 8344896: Remove obsolete checks for AWTPermission accessClipboard
Reviewed-by: azvegint
2024-11-25 19:31:22 +00:00
Christian Hagedorn
08dfc4a42e 8344213: Cleanup OpaqueLoop*Node verification code for Assertion Predicates
Reviewed-by: thartmann, epeter
2024-11-25 16:46:44 +00:00
Roger Riggs
593a5898f9 8344319: SM cleanup in jdk.dynalink module
Reviewed-by: attila
2024-11-25 16:46:19 +00:00
Naoto Sato
15ae8d02ee 8319993: Update Unicode Data Files to 16.0.0
8319992: Update ICU4J to Version 76.1

Reviewed-by: jlu, joehw, iris
2024-11-25 15:54:23 +00:00
Alan Bateman
a032de2904 8344577: Virtual thread tests are timing out on some macOS systems
Reviewed-by: jpai
2024-11-25 15:34:13 +00:00
Roger Riggs
4110d3925c 8344865: SM cleanup in sun/reflect/annotation
Reviewed-by: liach, jpai
2024-11-25 14:34:27 +00:00
Hamlin Li
133419177d 8334474: RISC-V: verify perf of ExpandBits/CompressBits (rvv)
Reviewed-by: fyang, rehn, luhenry
2024-11-25 13:54:44 +00:00
Kevin Walls
e29b0edc97 8344181: Remove SecurityManager and related calls from jdk.management and jdk.management.agent
Reviewed-by: amenkov, cjplummer
2024-11-25 13:50:58 +00:00
Roman Kennke
cb1c73663e 8344363: FullGCForwarding::initialize_flags is called after ObjLayout::initialize
Reviewed-by: stefank, shade, ayang
2024-11-25 13:48:02 +00:00
Adam Sotona
c6b14c62f6 8344841: ClassPrinter prints confusing value for null
Reviewed-by: liach
2024-11-25 13:45:34 +00:00
Sean Mullan
ddc8a9d5da 8344366: Remove Security Manager dependencies from javax.net.ssl and sun.security.ssl packages
Reviewed-by: coffeys, ascarpino, hchao
2024-11-25 13:10:59 +00:00
Alexander Zvegintsev
965aace297 8335468: [XWayland] JavaFX hangs when calling java.awt.Robot.getPixelColor
Reviewed-by: kcr, honkar
2024-11-25 11:11:28 +00:00
Emanuel Peter
811d08c0a4 8340010: Fix vectorization tests with compact headers
Reviewed-by: chagedorn, rkennke, mli
2024-11-25 10:39:36 +00:00
Daniel Fuchs
519bb268a0 8344217: Remove calls to SecurityManager and doPrivileged in java.net.DatagramSocket and java.net.NetMulticastSocket after JEP 486 integration
Reviewed-by: alanb, rriggs, jpai
2024-11-25 10:08:47 +00:00
Daniel Fuchs
d112f35d92 8344855: Remove calls to SecurityManager and doPrivileged in HTTP related implementation classes in the sun.net and sun.net.www.http packages after JEP 486 integration
Reviewed-by: jpai
2024-11-25 09:56:07 +00:00
Sebastian Lövdahl
da4b7a8c56 8341436: containers/docker/TestJcmdWithSideCar.java takes needlessly long to run
Reviewed-by: kevinw, lmesnik
2024-11-25 09:13:10 +00:00
Prasanta Sadhukhan
333a9973f1 8335231: [macos] Test java/awt/print/PrinterJob/Cancel/PrinterJobCancel.java failed on macOS because the case didn't get the expected PrintAbortException
Reviewed-by: tr, abhiscxk
2024-11-25 08:57:54 +00:00
Matthias Baesken
9576546b9c 8343698: Linux x86_64 lto build gives a lot of warnings and fails lto-wrapper: fatal error: make returned 2 exit status
Reviewed-by: ihse, jwaters
2024-11-25 07:57:13 +00:00
Per Minborg
68ba7ee5c8 8340205: Native linker allows MemoryLayout consisting of only PaddingLayout
Reviewed-by: jvernee, mcimadamore
2024-11-25 07:42:57 +00:00
Phil Race
6f622da7fb 8344923: Problem list on java/awt/Robot/ScreenCaptureRobotTest.java on macOS
Reviewed-by: dholmes
2024-11-25 03:33:17 +00:00
SendaoYan
8f08020fa4 8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java
Reviewed-by: lmesnik, dholmes
2024-11-25 01:31:16 +00:00
Kim Barrett
a83cfe2658 8344917: Fix recent NULL usage backsliding
Reviewed-by: jsjolen
2024-11-24 17:10:31 +00:00
Damon Nguyen
6711e1327a 8344914: OOME in several tests since JDK-6672644 - JComboBox still scrolling
Reviewed-by: prr
2024-11-24 08:54:17 +00:00
Harshitha Onkar
a6220fa903 8344303: Remove usage of URLUtil.getConnectPermission from sun.awt.SunToolkit and sun.awt.image.URLImageSource
Reviewed-by: prr, azvegint
2024-11-24 06:22:45 +00:00
Phil Race
7be94d043d 8344891: Remove uses of sun.misc.ReflectUtil in java.desktop
Reviewed-by: kizune, azvegint
2024-11-23 23:20:15 +00:00
Stig Rohde Døssing
822a1554cb 8341427: JFR: Adjust object sampler span handling
Reviewed-by: egahlin
2024-11-23 15:58:39 +00:00
Jaikiran Pai
d00f31156a 8343150: Change URLClassLoader.getPermissions to return empty PermissionCollection
Reviewed-by: dfuchs, alanb, michaelm
2024-11-23 07:26:04 +00:00
Evgeny Nikitin
effee122dd 8344533: CTW: Add option to remove clinits before loading
Reviewed-by: thartmann, lmesnik
2024-11-23 03:55:58 +00:00
Alexey Semenyuk
70c4e2c0cc 8344587: Reduce number of "jdk.jpackage.internal" classes used from other packages
Reviewed-by: almatvee
2024-11-22 23:33:49 +00:00
Damon Nguyen
11147046aa 6672644: JComboBox still scrolling if switch to another window and return back
Reviewed-by: abhiscxk, psadhukhan
2024-11-22 19:29:41 +00:00
Leonid Mesnik
98b667834c 8343741: SA jstack --mixed should print information about VM locks
Reviewed-by: cjplummer
2024-11-22 19:21:09 +00:00
Harshitha Onkar
1b2d9cad53 8344881: Problemlist java/awt/Robot/InfiniteLoopException.java on Linux
Reviewed-by: prr, dnguyen
2024-11-22 19:16:54 +00:00
Sean Mullan
6aec2dcf76 8344788: Specify that the access control context parameters of Subject.doAsPrivileged are ignored
Reviewed-by: alanb
2024-11-22 19:14:02 +00:00
Sonia Zaldana Calles
079f503d96 8344568: Renaming ceil_log2 to log2i_ceil
Reviewed-by: kbarrett
2024-11-22 18:55:31 +00:00
Justin Lu
51763b6700 8344525: Fix leftover ExceptionOccurred in java.base
Reviewed-by: lbourges, alanb, naoto, iris
2024-11-22 18:18:22 +00:00
Phil Race
4b1653056d 8344795: Remove uses of AccessControlContext in java.desktop module
Reviewed-by: azvegint
2024-11-22 18:00:10 +00:00
Nizar Benalla
5154b71637 8343598: Since Checker can mark some preview elements as new even if bytecode reference is identical
Reviewed-by: hannesw
2024-11-22 17:59:12 +00:00
Ben Perez
8b98f958dc 8298387: Implement JEP 497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm
Reviewed-by: jnimeh
2024-11-22 17:48:08 +00:00
Chris Plummer
21e0fb8648 8343529: serviceability/sa/ClhsdbWhere.java fails AssertionFailure: Corrupted constant pool
8307318: Test serviceability/sa/ClhsdbCDSJstackPrintAll.java failed: ArrayIndexOutOfBoundsException

Reviewed-by: kevinw, amenkov
2024-11-22 17:26:37 +00:00
Ben Perez
13987b4244 8298390: Implement JEP 496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism
Co-authored-by: Ferenc Rakoczi <ferenc.r.rakoczi@oracle.com>
Reviewed-by: valeriep
2024-11-22 16:36:52 +00:00
Tobias Hartmann
6d3becb486 8344861: Disable CheckJNICalls in tests until JDK-8344802 is fixed
Reviewed-by: coleenp
2024-11-22 14:48:39 +00:00
Volkan Yazıcı
15dbb6a380 8344219: Remove calls to SecurityManager and doPrivileged in java.net.SocksSocketImpl after JEP 486 integration
Reviewed-by: dfuchs
2024-11-22 14:39:07 +00:00
Sean Mullan
9769ee8697 8344652: Remove access control context text from SSLEngine and SSLSession APIs
Reviewed-by: jnimeh
2024-11-22 13:18:26 +00:00
Aleksey Shipilev
82c3612d77 8344830: [BACKOUT] JDK-8341334: CDS: Parallel relocation
Reviewed-by: dholmes, jpai
2024-11-22 12:28:03 +00:00
Andrew Haley
64e4aa21a4 8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Reviewed-by: shade
2024-11-22 12:09:30 +00:00
Raffaello Giulietti
bf374c33f5 8343453: Modernize FloatingDecimal tests
Reviewed-by: darcy
2024-11-22 11:41:04 +00:00
Tobias Hartmann
847f65c14a 8344844: ciReplay tests fail with -XX:+UseCompactObjectHeaders because CDS is disabled since JDK-8341553
Reviewed-by: epeter, rcastanedalo
2024-11-22 11:37:35 +00:00
Matthias Baesken
8903854e01 8344718: Test runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on Linuxppc64le after JDK-8344239
Reviewed-by: ccheung, mdoerr
2024-11-22 11:10:32 +00:00
Daniel Fuchs
a07b72bfcf 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: jpai
2024-11-22 09:55:07 +00:00
Johan Sjölen
2ea0364b6e 8343893: Test jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java failed: heap should have grown and NMT should show that: expected 0 > 0
Reviewed-by: gziemski, mgronlun, lmesnik
2024-11-22 08:55:27 +00:00
Phil Race
50c099d69e 8344799: Remove permissions checks from java.awt.Desktop
Reviewed-by: azvegint
2024-11-22 04:00:46 +00:00
Prasanta Sadhukhan
e21d06f488 8344338: javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1
Reviewed-by: achung, kizune
2024-11-22 03:07:26 +00:00
William Kemper
db44e97c5d 8344798: Shenandoah: Use more descriptive variable names in shPhaseTimings.cpp
Reviewed-by: ysr
2024-11-22 00:05:50 +00:00
Roger Riggs
c199f5326b 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker
Reviewed-by: dfuchs, alanb, lancea
2024-11-21 21:50:41 +00:00
Phil Race
0f458e2c3e 8342903: Deprecate for removal java.awt.Window.getWarningString()
Reviewed-by: kizune, erikj, azvegint
2024-11-21 21:24:46 +00:00
David Holmes
efeacfee01 8344646: The libjsig deprecation warning should go to stderr not stdout
Reviewed-by: mikael, cjplummer
2024-11-21 21:18:18 +00:00
Stuart Marks
2214906310 8272339: Update notes section from serialver man page
Reviewed-by: rriggs
2024-11-21 21:05:50 +00:00
Aleksei Efimov
cee74f9e67 8338536: Permanently disable remote code downloading in JNDI
Reviewed-by: dfuchs
2024-11-21 20:55:02 +00:00
Phil Race
7709d435d0 8344782: Cleanup left over doPrivileged calls and imports in java.desktop
Reviewed-by: honkar
2024-11-21 20:29:53 +00:00
Eirik Bjørsnøs
e03b1506d3 8178966: Don't swallow early bootstrap exceptions in Boolean.getBoolean, Integer.getInteger and Long.getLong
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: jpai, rriggs
2024-11-21 20:04:39 +00:00
Volodymyr Paprotski
d6b40d3033 8344144: AES/CBC slow at big payloads
Reviewed-by: sviswanathan, abarashev, ascarpino
2024-11-21 19:17:57 +00:00
Coleen Phillimore
93d4ad4dd4 8344763: cpCache print_on doesn't handle nulls
Reviewed-by: matsaave
2024-11-21 18:26:23 +00:00
Jatin Bhateja
dc9a6ef610 8341137: Optimize long vector multiplication using x86 VPMUL[U]DQ instruction
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, sviswanathan
2024-11-21 18:13:32 +00:00
Roger Riggs
191b38e712 8344549: Cleanup AccessController in sun.misc.Unsafe
Reviewed-by: alanb
2024-11-21 18:03:12 +00:00
Vladimir Ivanov
78e5008e91 8317542: Specjvm::xml have scalability issue for high vCPU numbers
Reviewed-by: joehw
2024-11-21 17:59:28 +00:00
Vladimir Ivanov
4956a76621 8317538: Potential bottleneck in Provider::getService: specjvm2008::crypto.rsa have scalability issue for high vCPU numbers
Reviewed-by: ascarpino
2024-11-21 17:54:45 +00:00
Sean Mullan
6113fa7503 8344248: Remove Security Manager dependencies from java.security.jgss and jdk.security.jgss modules
Reviewed-by: ascarpino
2024-11-21 17:45:04 +00:00
Abhishek Kumar
395e404666 8344066: Remove SecurityManager uses from the jdk.accessibility module
Reviewed-by: prr
2024-11-21 17:39:44 +00:00
Alan Bateman
dfa18fe6b3 8344328: (dc) DatagramChannelImpl.blockingReceive can now synchronize on packet
Reviewed-by: dfuchs, jpai
2024-11-21 16:25:43 +00:00
Brian Burkhalter
87be63f85d 8344659: Some uses of GetPropertyAction were not removed from java.io and java.nio
Reviewed-by: lancea, rriggs, iris, dfuchs
2024-11-21 16:18:16 +00:00
Brian Burkhalter
aaf3df7bb8 8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
Reviewed-by: alanb
2024-11-21 16:17:58 +00:00
Phil Race
eef156180c 8344569: SwingUtilities2.makeIcon_Unprivileged is obsolete
Reviewed-by: psadhukhan
2024-11-21 16:02:28 +00:00
Artur Barashev
882d635807 8245545: Disable TLS_RSA cipher suites
Reviewed-by: mullan
2024-11-21 14:14:30 +00:00
Coleen Phillimore
8f22db23a5 8330606: Redefinition doesn't but should verify the new klass
Reviewed-by: dholmes, jsjolen
2024-11-21 12:14:23 +00:00
Daniel Fuchs
a62279ca0a 8344235: Revisit SecurityManager usage in java.logging after JEP 486 and JEP 491 integration
Reviewed-by: jpai
2024-11-21 11:54:28 +00:00
Doug Lea
18df6fd5ba 8336707: Contention of ForkJoinPool grows when stealing works
Reviewed-by: vklang
2024-11-21 11:50:46 +00:00
Axel Boldt-Christmas
f2b10c6c22 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
Reviewed-by: stefank, jsikstro
2024-11-21 09:54:25 +00:00
Galder Zamarreño
5ccd5106e0 8326369: Add test to verify bimorphic inlining happens after morphism changes
Reviewed-by: thartmann, epeter
2024-11-21 09:48:08 +00:00
Richard Reingruber
93aa7e2fcf 8328085: C2: Use after free in PhaseChaitin::Register_Allocate()
Reviewed-by: thartmann, mdoerr
2024-11-21 06:57:09 +00:00
Jaikiran Pai
10def484df 8344236: Revisit SecurityManager usage in jdk.net after JEP 486 integration
Reviewed-by: dfuchs
2024-11-21 05:01:52 +00:00
Phil Race
7105bb98cf 8344664: Remove some un-used java/sun.security imports in the java.desktop module
Reviewed-by: iris
2024-11-21 04:22:27 +00:00
Phil Race
a01aa22026 8342281: Deprecate for removal javax.sound.sampled.AudioPermission
Reviewed-by: honkar, kizune
2024-11-21 03:58:49 +00:00
SendaoYan
4fbf272017 8344526: RISC-V: implement -XX:+VerifyActivationFrameSize
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: mli, fyang
2024-11-21 02:05:00 +00:00
Leonid Mesnik
13439113c3 8340334: Update jcmd VM.events max parameter to be INT
Reviewed-by: cjplummer, kevinw
2024-11-21 01:32:09 +00:00
Jaikiran Pai
400eb9b10a 8344524: Remove SecurityManager related code from jdk.jlink module
Reviewed-by: alanb, lancea, iris
2024-11-21 00:55:23 +00:00
Jaikiran Pai
a599c30171 8344471: Remove SecurityManager related code from java.compiler module
Reviewed-by: rriggs, jlahoda, jjg
2024-11-21 00:49:25 +00:00
Harshitha Onkar
b9bf447209 8344057: Remove doPrivileged calls from unix platform sources in the java.desktop module
Reviewed-by: prr
2024-11-20 20:28:12 +00:00
Dr Heinz M. Kabutz
da2d7a09f9 8344595: State transitions in internal VirtualThread comment needs to be updated
Reviewed-by: alanb
2024-11-20 20:01:37 +00:00
Phil Race
22a39dc858 8344064: Remove doPrivileged calls from print/imageio/media classes in the java.desktop module
Reviewed-by: kizune
2024-11-20 18:45:49 +00:00
Phil Race
27fda0ea1f 8344578: Clean up left over java.security and sun.security imports in Swing classes
Reviewed-by: psadhukhan
2024-11-20 18:38:08 +00:00
Alexey Semenyuk
080f1cc8cd 8289771: jpackage: ResourceEditor error when path is overly long on Windows
Reviewed-by: almatvee
2024-11-20 16:54:51 +00:00
Brian Burkhalter
c4c6b1fe06 8344562: Remove security manager dependency from module jdk.jdi
Reviewed-by: kevinw, lmesnik, cjplummer
2024-11-20 16:01:01 +00:00
Calvin Cheung
9be8ac6fbc 8344239: runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on x64 with -Xmixed
Reviewed-by: iklam
2024-11-20 15:41:26 +00:00
Daniel Lundén
7d4c3fd091 8331295: C2: Do not clone address computations that are indirect memory input to at least one load/store
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann, chagedorn
2024-11-20 15:37:43 +00:00
Emanuel Peter
75420e9314 8334431: C2 SuperWord: fix performance regression due to store-to-load-forwarding failures
Reviewed-by: chagedorn, qamai
2024-11-20 14:23:57 +00:00
David M. Lloyd
e11d126a8d 8333796: Add missing serialization functionality to sun.reflect.ReflectionFactory
Reviewed-by: liach, rriggs
2024-11-20 14:17:28 +00:00
Volkan Yazıcı
21f0ed50a2 8344215: Remove calls to SecurityManager and doPrivileged in java.net.Socket and java.net.ServerSocket after JEP 486 integration
Reviewed-by: dfuchs, alanb, jpai
2024-11-20 13:59:52 +00:00
Vlad Zahorodnii
4bc826ac1e 8342785: XWindowPeer::getNewLocation() adheres to ICCCM 4.1.5 only with some WMs
Reviewed-by: prr, azvegint
2024-11-20 13:38:08 +00:00
Jaikiran Pai
db7ee3dad1 8344223: Remove calls to SecurityManager and doPrivileged in java.net.URLClassLoader after JEP 486 integration
Reviewed-by: alanb, yzheng
2024-11-20 12:41:39 +00:00
Jaikiran Pai
6f4dfa6626 8344190: Cleanup code in sun.net.www.protocol.http and sun.net.www.protocol.https after JEP 486 integration
Reviewed-by: dfuchs
2024-11-20 12:29:32 +00:00
Coleen Phillimore
7bb4474d81 8344579: Clean up forward declarations and includes
Reviewed-by: stefank
2024-11-20 12:22:43 +00:00
Coleen Phillimore
21b8749bfd 8344479: Declare MetaspaceObj::operator delete to be deleted
Reviewed-by: stefank, kbarrett, jwaters
2024-11-20 12:21:41 +00:00
Robbin Ehn
ea7e722ca0 8344010: RISC-V: Zacas do not work with LW locking
Reviewed-by: fyang, mli
2024-11-20 12:05:53 +00:00
David Holmes
e2f8f1aded 8344621: ProblemList runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
Reviewed-by: jpai
2024-11-20 11:51:52 +00:00
Xiaolong Peng
afee7405bd 8343541: C1: Plain memory accesses are emitted with membars with +AlwaysAtomicAccesses
Reviewed-by: shade, vlivanov
2024-11-20 10:34:07 +00:00
Aggelos Biboudis
3a4a9b7af7 8340145: Problem with generic pattern matching results in internal compiler error
Reviewed-by: jlahoda
2024-11-20 10:29:45 +00:00
Jan Lahoda
cf158bc6cd 8341631: JShell should auto-import java.io.IO.*
Reviewed-by: asotona, cstein
2024-11-20 09:24:05 +00:00
Prasanta Sadhukhan
5b12a87dcb 8344060: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 1
Reviewed-by: aivanov, prr
2024-11-20 09:11:12 +00:00
Hamlin Li
587f2b4b4d 8343827: RISC-V: set AlignVector as false if applicable to enable SLP
Reviewed-by: fyang, luhenry
2024-11-20 08:49:35 +00:00
Amit Kumar
189fc8ddef 8344381: [s390x] Test failures with error: Register type is not known
Reviewed-by: mdoerr, lucy
2024-11-20 08:25:37 +00:00
Archie Cobbs
8a1f9f0a32 8343476: Remove unnecessary @SuppressWarnings annotations (client)
Reviewed-by: prr
2024-11-20 01:57:03 +00:00
SendaoYan
4ddd3dec2d 8344356: Aarch64: implement -XX:+VerifyActivationFrameSize
Reviewed-by: aph
2024-11-20 01:36:56 +00:00
Guoxiong Li
bc7eabd7e4 8344350: Add '.gdbinit' and '.lldbinit' to file '.gitignore'
Reviewed-by: ihse, erikj
2024-11-20 01:09:05 +00:00
Joe Darcy
f525290000 8341935: javac states that -proc:full is the default but the default as of 23 is -proc:none
Reviewed-by: jlahoda
2024-11-20 00:06:24 +00:00
Calvin Cheung
acdbf83325 8341553: Remove UseCompactObjectHeaders extra CDS archives
Reviewed-by: erikj, iklam, coleenp
2024-11-19 23:37:34 +00:00
Brian Burkhalter
81e43114ec 8344077: Remove security manager dependency in java.io
Reviewed-by: rriggs, alanb, naoto, lancea
2024-11-19 20:30:22 +00:00
Brian Burkhalter
f6f73ce70d 8344446: Remove security manager dependency from module jdk.sctp
Reviewed-by: mullan, alanb
2024-11-19 20:30:02 +00:00
Laurent Bourgès
aac1f9af01 8341793: Fix ExceptionOccurred in jdk.accessibility
Reviewed-by: prr, avu
2024-11-19 20:28:58 +00:00
Xiaolong Peng
cd45ba32f0 8342041: Test gc/shenandoah/oom/TestClassLoaderLeak.java slow on Windows after JDK-8340490
Reviewed-by: shade, wkemper
2024-11-19 20:18:54 +00:00
Phil Race
69c9f2566e 8344061: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 2
Reviewed-by: aivanov
2024-11-19 19:35:28 +00:00
Sonia Zaldana Calles
3328b4ecf2 8343700: ceil_log2 should not loop endlessly
Reviewed-by: shade, kbarrett, aph, stuefe
2024-11-19 19:13:09 +00:00
Stuart Marks
6a5256ec04 8344149: Remove usage of Security Manager from java.rmi
Reviewed-by: rriggs, kevinw, aefimov
2024-11-19 18:58:23 +00:00
Chris Plummer
0b1f57105d 8253440: serviceability/sa/TestJhsdbJstackLineNumbers.java failed with "Didn't find enough line numbers"
Reviewed-by: kevinw, lmesnik
2024-11-19 18:58:00 +00:00
Larry Cable
93e889b48c 8342449: reimplement: JDK-8327114 Attach in Linux may have wrong behavior when pid == ns_pid
Reviewed-by: kevinw
2024-11-19 18:45:45 +00:00
Renjith Kannath Pariyangad
bb7a8403ba 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
Reviewed-by: aivanov, prr
2024-11-19 18:19:28 +00:00
Archie Cobbs
087a07b5ed 8343479: Remove unnecessary @SuppressWarnings annotations (hotspot)
Reviewed-by: chagedorn, epeter
2024-11-19 17:43:48 +00:00
Alexey Ivanov
02ec8ca2d6 8342508: Use latch in BasicMenuUI/bug4983388.java instead of delay
Reviewed-by: azvegint, abhiscxk, serb
2024-11-19 17:15:46 +00:00
naveen.n.narayanan
47ebf8d868 8342098: Write a test to compare the images
Reviewed-by: aivanov, abhiscxk
2024-11-19 17:15:24 +00:00
Andrey Turbanov
78602be1fe 8344024: Unnecessary Hashtable usage in RSAPSSSignature.DIGEST_LENGTHS
Reviewed-by: valeriep
2024-11-19 16:59:06 +00:00
Alexey Semenyuk
7f672eb266 8344550: Compilation error of jpackage test JPackageStringBundle.java source
Reviewed-by: rriggs
2024-11-19 16:56:11 +00:00
Alan Bateman
48223f7b9c 8344143: Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macosx-x64
Reviewed-by: pchilanomate
2024-11-19 16:37:43 +00:00
Coleen Phillimore
d4cd27e875 8344445: MethodCounters don't need a vptr
Reviewed-by: kbarrett, dlong
2024-11-19 16:13:11 +00:00
Hamlin Li
dc940ec8af 8344387: RISC-V: C2: Improve encoding of LoadNKlass for compact headers
Reviewed-by: fyang, luhenry
2024-11-19 15:59:30 +00:00
Roger Riggs
ded01e4316 8344327: SM cleanup in jdk.unsupported ReflectionFactory
Reviewed-by: liach, mullan, alanb
2024-11-19 15:21:02 +00:00
SendaoYan
59fcfae630 8343129: Disable unstable check of ThreadsListHandle.sanity_vm ThreadList values
Reviewed-by: dholmes
2024-11-19 15:17:34 +00:00
Ivan Walulya
1717946c1b 8344302: G1: Refactor G1CMTask::do_marking_step to use smaller wrapper methods
Reviewed-by: tschatzl, ayang
2024-11-19 14:31:40 +00:00
Alexey Semenyuk
fea5f2b145 8344415: Restruct jpackage utility classes
Reviewed-by: almatvee
2024-11-19 13:54:57 +00:00
Alexey Semenyuk
a28e4d839c 8342299: Document that jpackage includes (possibly old) VC Redistributable MSVCP140.dll from JDK
Reviewed-by: almatvee
2024-11-19 13:54:02 +00:00
Alexey Semenyuk
0714114fe3 8344322: Improve capabilities of jpackage test lib to validate error output of jpackage
Reviewed-by: almatvee
2024-11-19 13:53:45 +00:00
Alexey Semenyuk
41436bb0e8 8336087: Doccheck: the jpackage command page doesn't show the correct command-line options
Reviewed-by: almatvee
2024-11-19 13:52:31 +00:00
Matthias Baesken
cc8bd63741 8344036: Tests tools/jlink/runtimeImage fail on AIX after JDK-8311302
Reviewed-by: sgehwolf
2024-11-19 13:44:11 +00:00
Eirik Bjørsnøs
235973615f 8344534: Remove leftover import of java.security.AccessControlContext in JavaLangAccess
Reviewed-by: alanb
2024-11-19 12:04:37 +00:00
Fei Yang
0d66689177 8344393: RISC-V: Remove option UseRVVForBigIntegerShiftIntrinsics
Reviewed-by: mli, fjiang
2024-11-19 10:20:58 +00:00
Amit Kumar
7540fa2147 8343884: [s390x] Disallow OptoScheduling
Reviewed-by: lucy
2024-11-19 10:16:22 +00:00
Tobias Hartmann
9d60300fee 8344199: Incorrect excluded field value set by getEventWriter intrinsic
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: syan, mgronlun
2024-11-19 10:01:49 +00:00
Jan Lahoda
8bd080bcc9 8341901: Using 'var' keyword switch pattern matching causes compiler error
Reviewed-by: vromero, abimpoudis
2024-11-19 09:13:37 +00:00
Aleksey Shipilev
76a55c3cb6 8341334: CDS: Parallel relocation
Reviewed-by: iklam, adinn, stuefe
2024-11-19 08:45:02 +00:00
Prasanta Sadhukhan
499186be0f 8343902: javax/swing/plaf/nimbus/8041642/bug8041642.java fails in ubuntu22.04
Reviewed-by: azvegint
2024-11-19 06:37:49 +00:00
Eirik Bjørsnøs
b12c5b4d18 8344218: Remove calls to SecurityManager and and doPrivileged in java.net.NetworkInterface after JEP 486 integration
Reviewed-by: dfuchs
2024-11-19 05:44:30 +00:00
Eirik Bjørsnøs
d85dd77edf 8344365: SecurityManager cleanups in java.sql and java.sql.rowset modules
Reviewed-by: rriggs, bchristi
2024-11-19 05:43:22 +00:00
Prasanta Sadhukhan
9e92a9e2ba 8344059: Remove doPrivileged calls from windows platform sources in the java.desktop module
Reviewed-by: kcr, prr
2024-11-19 03:11:31 +00:00
Fei Yang
37298844c9 8344371: RISC-V: compiler/intrinsics/chacha/TestChaCha20.java fails after JDK-8343555
Reviewed-by: mli
2024-11-19 01:49:33 +00:00
Alex Menkov
dd8636908c 8344262: Win32AttachOperationRequest objects are created by using global new
Reviewed-by: jwaters, dholmes
2024-11-19 00:08:06 +00:00
Christian Stein
5cb0d43823 8293040: Argfile documentation for java launcher tool is confusing regarding usage of wildcards
Reviewed-by: liach
2024-11-18 21:49:36 +00:00
Justin Lu
8d43e0d664 8344331: SM cleanup in java.scripting
Reviewed-by: naoto, lancea
2024-11-18 21:27:24 +00:00
Patricio Chilano Mateo
f636674889 8344247: Move objectWaiter field to VirtualThread instance
Reviewed-by: dholmes, coleenp
2024-11-18 20:48:09 +00:00
Sean Mullan
de6e013e0e 8344310: Remove Security Manager dependencies from javax.crypto and com.sun.crypto packages
Reviewed-by: jpai, ascarpino
2024-11-18 19:35:42 +00:00
Harshitha Onkar
92271af635 8344058: Remove doPrivileged calls from macos platform sources in the java.desktop module
Reviewed-by: prr, aivanov
2024-11-18 19:19:51 +00:00
Kevin Walls
70eb95f848 8344187: Remove SecurityManager and related calls from java.instrument
Reviewed-by: alanb, amenkov
2024-11-18 19:18:22 +00:00
Brian Burkhalter
922b12f30c 8344078: Remove security manager dependency in java.nio
Reviewed-by: alanb, rriggs
2024-11-18 19:17:14 +00:00
Aleksey Shipilev
2649406323 8344352: 32-bit builds crash after JDK-8305895
Reviewed-by: rkennke, coleenp
2024-11-18 18:38:56 +00:00
Naman Nigam
e9e4200a6a 8343125: Correct the documentation for TreeMap's getFloorEntry and getCeilingEntry
Reviewed-by: liach, acobbs
2024-11-18 18:30:24 +00:00
Naoto Sato
c59adf68d9 8344330: Remove AccessController.doPrivileged() from jdk.charsets module
Reviewed-by: lancea, bpb, rriggs, jlu
2024-11-18 18:22:18 +00:00
Aleksey Shipilev
c4e7dc7ff2 8344389: 32-bit builds fail at CDS build time after JDK-8331497
Reviewed-by: iklam
2024-11-18 18:08:20 +00:00
Viktor Klang
d76b5b888e 8344253: Test java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed
Reviewed-by: alanb
2024-11-18 17:31:03 +00:00
Kevin Driver
3e78ff16d3 8320743: AEAD ciphers throw undocumented exceptions on overflow
Reviewed-by: ascarpino
2024-11-18 16:41:57 +00:00
Per Minborg
207832952b 8344134: Use static property in SystemLookup
Reviewed-by: alanb, rriggs
2024-11-18 16:20:06 +00:00
Ramkumar Sunderbabu
162d66adac 8318668: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java fails with Xcomp
Reviewed-by: kevinw, lmesnik
2024-11-18 16:17:30 +00:00
Roger Riggs
9b0ab92b16 8344034: Remove security manager dependency in Serialization
Reviewed-by: mullan, alanb
2024-11-18 16:17:07 +00:00
Daniel Fuchs
d52d136486 8344221: Remove calls to SecurityManager and and doPrivileged in java.net.IDN, java.net.URL, java.net.URLConnection, sun.net.util.URLUtil, and java.net.URLStreamHandlerProvider after JEP 486 integration
Reviewed-by: alanb, rriggs
2024-11-18 15:17:40 +00:00
Coleen Phillimore
dfddbcaab8 8341916: Remove ProtectionDomain related hotspot code and tests
Reviewed-by: dholmes, iklam, jrose
2024-11-18 12:48:40 +00:00
Magnus Ihse Bursie
5eb0733f5f 8344383: Include ZipArchive and JarArchive directly
Reviewed-by: shade
2024-11-18 11:31:08 +00:00
Amit Kumar
b8b70c8b4e 8344379: [s390x] build failure due to missing change from JDK-8339466
Reviewed-by: lucy, shade
2024-11-18 10:40:52 +00:00
Antón Seoane Ampudia
5fc4322267 8288298: Resolve multiline message parsing ambiguities in UL
Reviewed-by: jsjolen, rcastanedalo, dholmes
2024-11-18 10:40:33 +00:00
Jan Lahoda
ea8f28980c 8344271: Comparison build fails due to difference in doc summary
Reviewed-by: hannesw
2024-11-18 10:38:45 +00:00
Tobias Holenstein
b9c6ce900b 8344122: IGV: Extend c2 IdealGraphPrinter to send subgraphs to IGV
Reviewed-by: chagedorn, epeter, rcastanedalo
2024-11-18 09:36:08 +00:00
Kevin Walls
00ff6a38ce 8344105: Remove SecurityManager and related calls from jdk.attach and jdk.hotspot.agent
Reviewed-by: amenkov, cjplummer
2024-11-18 09:24:11 +00:00
Magnus Ihse Bursie
475feb064b 8344056: Use markdown format for man pages
Reviewed-by: cstein, iris, dholmes
2024-11-18 09:23:50 +00:00
Tobias Holenstein
6c2ae44c05 8344204: IGV: Button to enable/disable cutting of long edges
Reviewed-by: rcastanedalo, chagedorn
2024-11-18 08:35:12 +00:00
Richard Reingruber
4a7ce1d7c1 8344205: [PPC]: failing assertion: sharedRuntime_ppc.cpp:1652: cookie not found
Reviewed-by: mdoerr
2024-11-18 08:18:15 +00:00
Prasanta Sadhukhan
b6c2122efb 8316151: [macos14] ActionListenerCalledTwiceTest.java fails on macOS 14
Reviewed-by: tr
2024-11-18 08:11:52 +00:00
Matthias Baesken
543e355bd9 8344298: Test tools/sincechecker/modules/jdk.hotspot.agent/JdkHotspotAgentCheckSince.java fails on platforms without sa
Reviewed-by: lucy
2024-11-18 07:42:58 +00:00
Sidraya Jayagond
92b26317d4 8327652: S390x: Implements SLP support
Reviewed-by: amitkumar, lucy, mdoerr
2024-11-18 06:51:11 +00:00
SendaoYan
a47d9ba98a 8344349: Problemlist jdk/jfr/jvm/TestVirtualThreadExclusion.java before JDK-8344199 resolved
Reviewed-by: lmesnik
2024-11-18 02:35:18 +00:00
Gui Cao
80e37a96bb 8344265: RISC-V: Remove unused function get_previous_sp_entry
Reviewed-by: fyang, mli
2024-11-18 00:48:24 +00:00
Justin Lu
e1c4b4977e 8343237: Improve the copying of the available set of Currencies
Reviewed-by: bpb
2024-11-18 00:16:02 +00:00
Alexey Semenyuk
41a627b789 8343876: Enhancements to jpackage test lib
Reviewed-by: almatvee
2024-11-17 23:46:49 +00:00
Prasanta Sadhukhan
aa10ec7c96 8343123: Nimbus: javax/swing/JInternalFrame/bug6726866.java does not have green undecorated window
Reviewed-by: tr, dnguyen
2024-11-17 08:52:48 +00:00
Nizar Benalla
fec0d1cf5b 8343777: Add since checker tests to Internationalisation modules
Reviewed-by: jlu, naoto
2024-11-16 20:27:26 +00:00
Eirik Bjørsnøs
d0b770c938 8344289: SM cleanup in jdk.internal.util
Reviewed-by: liach, rriggs, bpb
2024-11-16 13:31:06 +00:00
Jaikiran Pai
a91d4c022f 8344233: Remove calls to SecurityManager and doPrivileged in java.net.ProxySelector and sun.net.spi.DefaultProxySelector after JEP 486 integration
Reviewed-by: dfuchs
2024-11-16 11:39:20 +00:00
Jaikiran Pai
d2e4b51133 8344186: Cleanup sun.net.www.MimeTable after JEP 486 integration
Reviewed-by: dfuchs
2024-11-16 01:29:45 +00:00
Jaikiran Pai
da40388736 8344315: Clean up sun.net.www.protocol.jrt.JavaRuntimeURLConnection after JEP 486 integration
Reviewed-by: dfuchs, alanb
2024-11-16 01:23:29 +00:00
Alexey Semenyuk
2c509a158f 8344326: Move jpackage tests from "jdk.jpackage.tests" package to the default package
Reviewed-by: almatvee
2024-11-15 23:55:45 +00:00
Ioi Lam
41a2d49f0a 8331497: Implement JEP 483: Ahead-of-Time Class Loading & Linking
Reviewed-by: jrose, kvn, heidinga, asmehra, vlivanov
2024-11-15 22:28:54 +00:00
Roman Kennke
276251c44a 8342826: Improve performance of oopDesc::klass() after JDK-8305895
Reviewed-by: coleenp, shade, mli
2024-11-15 21:21:03 +00:00
Roger Riggs
c388455d0a 8344197: SM cleanup in java.util.concurrent
Reviewed-by: alanb, dl
2024-11-15 20:30:04 +00:00
Roger Riggs
c5b6ed8ca0 8344252: SM cleanup in java.util classes
Reviewed-by: naoto, smarks
2024-11-15 20:29:14 +00:00
Volkan Yazıcı
59ffac84d3 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Reviewed-by: dfuchs
2024-11-15 19:56:48 +00:00
Eirik Bjørsnøs
f3168082b8 8344189: Cleanup code in sun.net.www.protocol.mailto.MailToURLConnection and sun.net.smtp after JEP 486 integration
Reviewed-by: dfuchs
2024-11-15 19:22:30 +00:00
Eirik Bjørsnøs
73fd8919f5 8344216: Remove calls to SecurityManager and and doPrivileged in java.net.Authenticator, java.net.CookieHandler, and java.net.ResponseCache after JEP 486 integration
Reviewed-by: dfuchs
2024-11-15 19:21:30 +00:00
Eirik Bjørsnøs
f62e05ee96 8344231: SecurityManager cleanup in java.lang.module and jdk.internal.module
Reviewed-by: alanb
2024-11-15 19:21:07 +00:00
Phil Race
1bb0d3baaa 8344062: Remove doPrivileged calls from awt and beans classes in the java.desktop module
Reviewed-by: serb
2024-11-15 19:02:29 +00:00
Sean Mullan
fc8fb34f3d 8344214: Remove Security Manager dependencies from jdk.crypto.mscapi module
Reviewed-by: rriggs, ascarpino
2024-11-15 19:02:13 +00:00
Roman Kennke
ff12ff534a 8340453: C2: Improve encoding of LoadNKlass for compact headers
Reviewed-by: rcastanedalo, mli
2024-11-15 18:10:30 +00:00
Paul Sandoz
1866c0c2ce 8344259: Annotate Float16 with jdk.internal.ValueBased
Reviewed-by: liach, darcy
2024-11-15 17:22:11 +00:00
Brian Burkhalter
0b9b82af03 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io
Reviewed-by: liach, alanb
2024-11-15 16:11:34 +00:00
Adam Sotona
3c38ed4128 8344314: Revert removal of jdk.internal.java.PreviewFeature.CLASSFILE_API
Reviewed-by: liach
2024-11-15 15:57:34 +00:00
Daniel Fuchs
40a055ebd2 8344228: Revisit SecurityManager usage in java.net.http after JEP 486 integration
Reviewed-by: jpai
2024-11-15 15:05:33 +00:00
Adam Sotona
84ffb64cd7 8334714: Implement JEP 484: Class-File API
Reviewed-by: liach, vromero
2024-11-15 14:38:17 +00:00
Sonia Zaldana Calles
6cdebf0e4c 8343599: Kmem limit and max values swapped when printing container information
Reviewed-by: sjohanss, sgehwolf
2024-11-15 14:07:32 +00:00
Markus Grönlund
a672138aa7 8344161: Argument type mismatch for jfr_type_id
Reviewed-by: kbarrett
2024-11-15 13:38:52 +00:00
Amit Kumar
3245f56e53 8344164: [s390x] ProblemList hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java
Reviewed-by: lucy
2024-11-15 12:45:48 +00:00
Eirik Bjørsnøs
5e2760856c 8344188: Cleanup sun.net.www.protocol.jar.JarFileFactory after JEP 486 integration
Reviewed-by: jpai, dfuchs
2024-11-15 12:18:53 +00:00
Adam Sotona
ba39321902 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry
Reviewed-by: liach
2024-11-15 11:40:15 +00:00
Casper Norrbin
75c651f859 8327156: Avoid copying in StringTable::intern(oop, TRAPS)
8326865: Avoid copying in StringTable::intern(Symbol*, TRAPS)
8327825: StringTable::intern is slow

Reviewed-by: dholmes, coleenp, jsjolen
2024-11-15 11:28:02 +00:00
Pavel Rappo
3eece6e941 8341907: javac -Xlint should ignore /// on first line of source file
Reviewed-by: jjg
2024-11-15 10:20:08 +00:00
Maurizio Cimadamore
5b9932f8f3 8338288: Compiler Implementation for Flexible Constructor Bodies (Third Preview)
8322882: Null pointer error when compiling Static initializer in a local class
8334248: Invalid error for early construction local class constructor method reference
8330037: Compiler produces invalid bytecode for method class creation from static method

Reviewed-by: jlahoda, vromero
2024-11-15 10:07:18 +00:00
Eirik Bjørsnøs
0c191f6629 8344185: Remove calls to SecurityManager in sun.net.ftp
Reviewed-by: alanb, michaelm, dfuchs
2024-11-15 09:47:43 +00:00
Eirik Bjørsnøs
bfee766f03 8344183: (zipfs) SecurityManager cleanup in the ZipFS area
Reviewed-by: mullan, lancea
2024-11-15 07:48:15 +00:00
Eirik Bjørsnøs
857f68c60f 8344179: SecurityManager cleanup in the ZIP and JAR areas
Reviewed-by: lancea, rriggs, mullan, jpai
2024-11-15 07:47:11 +00:00
Emanuel Peter
21966942b6 8344104: TestMergeStores fails with ArrayIndexOutOfBoundException
Reviewed-by: shade, chagedorn, dlong
2024-11-15 07:31:55 +00:00
Alan Bateman
0ae5748f74 8343982: Remove usage of security manager from ClassLoader and related classes
Reviewed-by: jpai, yzheng, lancea
2024-11-15 07:16:34 +00:00
Phil Race
99070658fd 8344065: Remove SecurityManager uses from the java.datatransfer module
Reviewed-by: serb
2024-11-15 04:51:55 +00:00
David Holmes
db56266ad1 8344250: Obsolete the DontYieldALot flag
Reviewed-by: darcy, matsaave, iklam
2024-11-14 22:23:16 +00:00
Nizar Benalla
7ef263307a 8344128: Regression: make help broken after JDK-8340818
Reviewed-by: rriggs, dholmes, ihse
2024-11-14 22:01:17 +00:00
Sean Mullan
d959c7ded7 8344147: Remove Security Manager dependencies from java.security.sasl module
Reviewed-by: rriggs, ascarpino
2024-11-14 20:32:32 +00:00
Phil Race
ec148c1365 8344063: Remove doPrivileged calls from swing classes in the java.desktop module
Reviewed-by: honkar, kcr
2024-11-14 18:42:31 +00:00
Leonid Mesnik
2cbce1f0f1 8344071: Mark some jdk/jfr/event/oldobject test flagless until they fixed to support all GC
Reviewed-by: stefank
2024-11-14 17:59:14 +00:00
Chen Liang
681a57f960 8343064: ClassFormatError: Illegal class name from InnerClassLambdaMetafactory
Reviewed-by: jvernee
2024-11-14 17:55:41 +00:00
Calvin Cheung
4d4951a442 8343889: Test runtime/cds/appcds/redefineClass/RedefineBasicTest.java failed
8344046: Tests under cds/appcds/jvmti/redefineClasses should have @requires vm.cds

Reviewed-by: iklam, matsaave
2024-11-14 17:50:03 +00:00
Artur Barashev
697f27c5d5 8341964: Add mechanism to disable different parts of TLS cipher suite
Reviewed-by: mullan, ascarpino
2024-11-14 17:44:13 +00:00
Jorn Vernee
002b985a46 8342963: TestLargeStub::testUpcall doesn't test upcalls stubs
Reviewed-by: mcimadamore
2024-11-14 16:55:25 +00:00
Nizar Benalla
e12f514120 8343781: Add since checker test to the Serviceability area modules
Reviewed-by: sspitsyn, cjplummer
2024-11-14 16:35:03 +00:00
Brian Burkhalter
7e9dfa4ae4 8343785: (fs) Remove syscalls that set file times with microsecond precision
Reviewed-by: alanb
2024-11-14 16:27:22 +00:00
Leonid Mesnik
68164a4847 8343953: Test jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with Parallel/Serial GC
Reviewed-by: mli
2024-11-14 16:03:26 +00:00
Jaikiran Pai
752e162955 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Reviewed-by: dfuchs, msheppar, syan, alanb
2024-11-14 14:46:19 +00:00
Sean Mullan
4d1a51cb85 8344120: Remove Security Manager dependencies from jdk.crypto.cryptoki module
Reviewed-by: rriggs, ascarpino
2024-11-14 14:15:16 +00:00
Thomas Schatzl
a73226b18e 8297692: Avoid sending per-region GCPhaseParallel JFR events in G1ScanCollectionSetRegionClosure
Reviewed-by: iwalulya, ayang, sangheki
2024-11-14 13:31:50 +00:00
SendaoYan
6e28cd3b79 8343488: Test VectorRebracket128Test.java can't exclude by test/hotspot/jtreg/ProblemList.txt
Reviewed-by: chagedorn, kvn
2024-11-14 12:56:00 +00:00
Coleen Phillimore
6757994ad9 8343633: The ClassLoader::print_counters() prints to stdout when logging is enabled.
Reviewed-by: iklam, ccheung
2024-11-14 12:40:22 +00:00
Coleen Phillimore
8ccc48c9c8 8344032: InterpreterRuntime::verify_mdp() missing lock while printing MethodData on failure
Reviewed-by: shade, dholmes, tschatzl
2024-11-14 12:39:01 +00:00
Coleen Phillimore
2145ace384 8341094: Clean up relax_verify in ClassFileParser
Reviewed-by: dholmes, iklam
2024-11-14 12:08:42 +00:00
Jan Lahoda
5731ab7fed 8335991: Implement Simple Source Files and Instance Main Methods (Fourth Preview)
Reviewed-by: asotona, jpai
2024-11-14 11:33:29 +00:00
Jan Lahoda
81342acdae 8343752: The javadoc should contain a note about usages of requires transitive java.base;
Co-authored-by: Mark Reinhold <mr@openjdk.org>
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: hannesw, asotona
2024-11-14 11:29:54 +00:00
Raffaello Giulietti
8523880f06 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field
Reviewed-by: darcy
2024-11-14 10:50:37 +00:00
Dr Heinz M. Kabutz
2b57f402c4 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: vklang
2024-11-14 09:17:02 +00:00
Roberto Castañeda Lozano
a8152bdb9a 8343941: IGV: dump graph at different register allocation steps
Reviewed-by: chagedorn, dfenacci, dlunden
2024-11-14 08:56:38 +00:00
Daniel Fuchs
bd6152f596 8343855: HTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
Reviewed-by: jpai
2024-11-14 08:54:47 +00:00
Jan Lahoda
c3776db498 8342936: Enhance java.io.IO with parameter-less println() and readln()
Reviewed-by: asotona, jpai, naoto
2024-11-14 08:22:51 +00:00
Andrey Turbanov
b54bd824b5 8344025: Remove unused ISO2022.Encoder.maximumDesignatorLength
Reviewed-by: naoto, jlu
2024-11-14 07:43:52 +00:00
Alan Bateman
abacece826 8344011: Remove usage of security manager from Class and reflective APIs
Reviewed-by: liach, yzheng, rriggs
2024-11-14 07:39:28 +00:00
Christian Hagedorn
c977ef7b45 8342047: Create Template Assertion Predicates with Halt nodes only instead of uncommon traps
Reviewed-by: epeter, thartmann
2024-11-14 07:13:19 +00:00
Laurent Bourgès
23a8c71d3b 8341790: Fix ExceptionOccurred in java.desktop
Reviewed-by: avu, prr
2024-11-14 06:38:37 +00:00
Jan Lahoda
1e97c1c913 8335989: Implement JEP 494: Module Import Declarations (Second Preview)
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +00:00
Axel Boldt-Christmas
e7d90b941f 8343460: ZGC: Crash in ZRemembered::scan_page_and_clear_remset
Reviewed-by: jsikstro, eosterlund, stefank
2024-11-14 06:13:19 +00:00
Alexey Semenyuk
95a00f8a18 8343875: Minor improvements of jpackage test library
Reviewed-by: almatvee
2024-11-14 04:18:26 +00:00
Fei Yang
90e92342fc 8344074: RISC-V: C1: More accurate _exception_handler_size and _deopt_handler_size
Reviewed-by: mli, fjiang
2024-11-14 00:53:54 +00:00
Matias Saavedra Silva
3b283543c3 8339288: Improve diagnostic logging runtime/cds/DeterministicDump.java
Reviewed-by: ccheung, iklam
2024-11-13 23:18:31 +00:00
Shaojin Wen
0dab920b70 8343984: Fix Unsafe address overflow
Reviewed-by: pminborg, alanb
2024-11-13 23:17:26 +00:00
Roger Riggs
168b18ec68 8343958: Remove security manager impl in java.lang.Process and java.lang.Runtime.exec
Reviewed-by: jpai, mullan, alanb
2024-11-13 20:49:59 +00:00
Roger Riggs
5ac330b1ac 8344039: Remove security manager dependency in java.time
Reviewed-by: naoto, mullan, lancea
2024-11-13 20:03:26 +00:00
Harshitha Onkar
1eb38c8eb7 8343219: Manual clientlibs test failures after SM removal
Reviewed-by: azvegint, aivanov, prr
2024-11-13 19:44:30 +00:00
Calvin Cheung
dde6230751 8343416: CDS dump fails when unregistered class can also be loaded from system modules
Reviewed-by: iklam, matsaave
2024-11-13 19:36:15 +00:00
Andrey Turbanov
ffea9809a7 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs
Reviewed-by: dfuchs, aefimov
2024-11-13 19:25:08 +00:00
Alan Bateman
5e01c40b19 8343981: Remove usage of security manager from Thread and related classes
Reviewed-by: rriggs, yzheng
2024-11-13 18:49:31 +00:00
Joe Darcy
dbf23466af 8341260: Add Float16 to jdk.incubator.vector
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: rgiulietti
2024-11-13 18:27:41 +00:00
Archie Cobbs
a5f11b5f77 8343483: Remove unnecessary @SuppressWarnings annotations (serviceability)
Reviewed-by: cjplummer
2024-11-13 16:58:10 +00:00
Alan Bateman
7be77725ea 8344112: Remove code to support security manager execution mode from DatagramChannel implementation
Reviewed-by: dfuchs
2024-11-13 16:50:54 +00:00
Per Minborg
bd3fec3075 8344086: Remove security manager dependency in FFM
Reviewed-by: mcimadamore, rriggs, jvernee
2024-11-13 16:42:48 +00:00
hanklo6
916694f2c1 8343317: Extend test generation tool to handle APX NDD/NF flavor of instructions
Reviewed-by: sviswanathan, sparasa
2024-11-13 16:19:33 +00:00
Leonid Mesnik
eb240a7df9 8344051: Problemlist jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java with ZGC until JDK-8343893 is fixed
Reviewed-by: rkennke, mli, tschatzl
2024-11-13 16:06:44 +00:00
Gerard Ziemski
c00e20c399 8343285: java.lang.Process is unresponsive and CPU usage spikes to 100%
Reviewed-by: dholmes, rriggs, shade
2024-11-13 15:33:00 +00:00
Vicente Romero
cc2acd14b1 8343286: Missing unchecked cast warning in polymorphic method call
Reviewed-by: mcimadamore
2024-11-13 15:31:02 +00:00
theoweidmannoracle
b80ca4902a 8344124: JDK-8341411 Broke the build
Reviewed-by: thartmann, chagedorn, epeter, jwaters
2024-11-13 14:55:20 +00:00
Markus Grönlund
a08d67c2a9 8344080: Return type mismatch for jfr_unregister_stack_filter
Reviewed-by: tschatzl, kbarrett
2024-11-13 14:19:20 +00:00
Aleksey Shipilev
4c5bc5f2f0 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Reviewed-by: ihse
2024-11-13 14:17:38 +00:00
theoweidmannoracle
8af304c60f 8341411: C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memory()
Reviewed-by: thartmann, roland
2024-11-13 13:34:09 +00:00
Daniel Jeliński
b72fe75533 8343140: JfrJavaSupport uses the wrong accessors for sub-int fields
Reviewed-by: shade, egahlin
2024-11-13 13:18:28 +00:00
Thomas Stuefe
133f8f3186 8344014: Simplify TracePhase constructor
Reviewed-by: dlong, roland
2024-11-13 12:30:06 +00:00
Christian Hagedorn
d334af0841 8344089: Fix wrong location of TestWrongMinLWiden.java
Reviewed-by: thartmann, rcastanedalo
2024-11-13 11:54:28 +00:00
Magnus Ihse Bursie
79345bbbae 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
Christian Hagedorn
2eeaa57b19 8343944: C2: MinLNode::add_ring() computes _widen wrongly leading to an endless widening/compilation
Reviewed-by: thartmann, rcastanedalo
2024-11-13 08:39:17 +00:00
Albert Mingkun Yang
e9ede464b2 8343508: Parallel: Use ordinary klass accessor in verify_filler_in_dense_prefix
Reviewed-by: tschatzl, zgu
2024-11-13 08:32:44 +00:00
Fei Yang
c78de7bf5f 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Reviewed-by: mli, fjiang
2024-11-13 02:56:52 +00:00
Fei Yang
eb40a88f40 8343430: RISC-V: C2: Remove old trampoline call
Reviewed-by: mli, rehn
2024-11-13 00:07:44 +00:00
Coleen Phillimore
b26e4952e9 8343801: Change string printed by nsk_null_string for null strings
Reviewed-by: lmesnik
2024-11-12 22:37:21 +00:00
Alex Menkov
a4e2c20849 8343344: Windows attach logic failed to handle a failed open on a pipe
Reviewed-by: kevinw, cjplummer
2024-11-12 20:24:25 +00:00
SendaoYan
63eb4853f6 8343883: Cannot resolve user specified toolchain-path for lld after JDK-8338304
Reviewed-by: ihse, jwaters
2024-11-12 17:26:11 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Tom Rodriguez
c12b386d19 8338007: [JVMCI] ResolvedJavaMethod.reprofile can crash ciMethodData
Reviewed-by: dnsimon, kvn
2024-11-12 15:52:30 +00:00
Markus Grönlund
81752c4bcc 8338565: Test crashed: assert(is_path_empty()) failed: invariant
Reviewed-by: egahlin
2024-11-12 15:45:23 +00:00
Erik Gahlin
e5eaa7f1eb 8343946: JFR: Wildcard should only work with COUNT for 'jfr view'
Reviewed-by: mgronlun
2024-11-12 15:34:50 +00:00
Fei Yang
2989d8734c 8343805: RISC-V: JVM crashes on startup when disabling compressed instructions
Reviewed-by: mli
2024-11-12 15:26:19 +00:00
Patricio Chilano Mateo
78b80150e0 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aboldtch, dholmes, coleenp, fbredberg, dlong, sspitsyn
2024-11-12 15:23:48 +00:00
Sonia Zaldana Calles
8a2a75e56d 8339892: Several security shell tests don't set TESTJAVAOPTS
Reviewed-by: valeriep
2024-11-12 13:19:06 +00:00
Sonia Zaldana Calles
50b6e41e0e 8300732: Whitebox functions for Metaspace test should use byte size
Reviewed-by: stuefe, asmehra
2024-11-12 13:13:28 +00:00
Tobias Hartmann
67d1ef1479 8344018: Remove unlimited memory setting from TestScalarReplacementMaxLiveNodes
Reviewed-by: roland, chagedorn
2024-11-12 12:42:13 +00:00
Dr Heinz M. Kabutz
5729227651 8343250: ArrayBlockingQueue serialization not thread safe
Reviewed-by: rriggs, alanb
2024-11-12 11:34:11 +00:00
Hamlin Li
2c1e4c3816 8343600: RISC-V: enable CRC32 intrinsic when either Zba or RVV are supported
Reviewed-by: fyang
2024-11-12 10:15:04 +00:00
Christian Hagedorn
3727f40461 8343745: Only update Last Value Assertion Predicates in Loop Unrolling
Reviewed-by: thartmann, kvn
2024-11-12 10:11:55 +00:00
Nizar Benalla
b53ee053f7 8202617: javadoc generates broken links to undocumented (e.g. private) members
Reviewed-by: hannesw
2024-11-12 09:26:49 +00:00
Hannes Wallnöfer
cfe719fbde 8340565: Create separate index page for terms defined by the index tag
Reviewed-by: prappo
2024-11-12 09:25:34 +00:00
Hannes Wallnöfer
baabfbba3e 8341904: Search tag in inherited doc comment creates additional index item
Reviewed-by: prappo
2024-11-12 09:23:29 +00:00
Kevin Walls
4fa760a1ed 8343936: Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java
Reviewed-by: dfuchs
2024-11-12 09:13:29 +00:00
Hamlin Li
cbf4dd588b 8343555: RISC-V: make some verified (on hardware) extension options diagnostic
Reviewed-by: fyang, rehn
2024-11-11 21:33:12 +00:00
Viktor Klang
ef0dc2518e 8342707: Prepare Gatherers for graduation from Preview
Reviewed-by: alanb, liach
2024-11-11 19:57:26 +00:00
Richard Reingruber
889f906235 8343774: Positive list platforms for ir checks of compiler/c2/TestCastX2NotProcessedIGVN.java
Reviewed-by: fyang, amitkumar, roland
2024-11-11 16:35:22 +00:00
Johan Sjölen
6088d620b4 8343755: Unproblemlist java/lang/Thread/jni/AttachCurrentThread/AttachTest.java
Reviewed-by: alanb, syan
2024-11-11 16:10:57 +00:00
Nizar Benalla
80f4c0c38a 8343442: Add since checker tests to the networking area modules
Reviewed-by: jpai, dfuchs
2024-11-11 15:21:56 +00:00
Shaojin Wen
b0a371b085 8343925: [BACKOUT] JDK-8342650 Move getChars to DecimalDigits
Reviewed-by: jpai, alanb, liach
2024-11-11 15:14:10 +00:00
Markus Grönlund
0759224edc 8342105: JVM Crash when Jacoco and JFR are active
Reviewed-by: egahlin
2024-11-11 14:36:30 +00:00
Albert Mingkun Yang
babb52a083 8343931: Removed unused code in CompressedKlassPointers::initialize_for_given_encoding
Reviewed-by: chagedorn
2024-11-11 14:21:21 +00:00
Severin Gehwolf
2ec358082f 8311302: Implement JEP 493: Linking Run-Time Images without JMODs
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mchung, alanb, erikj, ihse
2024-11-11 13:35:25 +00:00
Tobias Holenstein
f3ba767604 8343535: IGV: Colorize nodes on demand
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: chagedorn, rcastanedalo
2024-11-11 13:25:42 +00:00
Kevin Walls
5016132291 8343838: Test EmptyDomainNotificationTest.java fails with ListenerNotFoundException
Reviewed-by: dholmes
2024-11-11 12:26:38 +00:00
Thomas Schatzl
36e12955b2 8343929: Remove PreservedMarksSet::createTask() after JDK-8305895
Reviewed-by: ayang, shade
2024-11-11 11:31:53 +00:00
Joel Sikström
b1a9491844 8343321: Bad verify in LockStack::oops_do()
Reviewed-by: stefank, rkennke, coleenp
2024-11-11 10:36:46 +00:00
Magnus Ihse Bursie
cbe8448f28 8268895: Do not filter out man pages from build
Reviewed-by: dholmes, jwaters
2024-11-11 10:15:02 +00:00
Roberto Castañeda Lozano
ec13364cda 8343067: C2: revisit constant-offset AddP chains after successful input idealizations
Reviewed-by: kvn, vlivanov
2024-11-11 10:05:15 +00:00
Jan Lahoda
5ca6698ba4 8341176: Permit access to diagnostics for transient snippets
Reviewed-by: vromero
2024-11-11 09:34:43 +00:00
Amit Kumar
a93bd9dfdd 8343810: [s390x] is_uimm* methods should take unsigned arguments
Reviewed-by: lucy
2024-11-11 09:32:09 +00:00
Prasanta Sadhukhan
f12c370d73 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html
Reviewed-by: abhiscxk, dnguyen
2024-11-11 09:24:44 +00:00
Thomas Schatzl
ae6bb3cd29 8343824: Remove unused InstructionFlags in C1
Reviewed-by: kvn, dlong
2024-11-11 09:08:00 +00:00
theoweidmannoracle
5b2f7f3b30 8343837: Remove unnecessary reinterpret_cast from C2AccessValuePtr
Reviewed-by: thartmann, kvn, kbarrett
2024-11-11 08:17:00 +00:00
Christian Hagedorn
5f338e9adb 8342946: Replace predicate walking code in Loop Unrolling with a predicate visitor
Reviewed-by: roland, kvn
2024-11-11 06:18:25 +00:00
Shaojin Wen
e1d684c645 8342650: Move getChars to DecimalDigits
Reviewed-by: liach
2024-11-11 05:06:56 +00:00
Jaikiran Pai
ca69a53b76 8211033: Clean up the processing -classpath argument not to set LM_CLASS
Reviewed-by: alanb
2024-11-11 04:31:56 +00:00
David Holmes
7b0f273e37 8343894: ProblemList javax/management/remote/mandatory/notif/EmptyDomainNotificationTest.java
Reviewed-by: jpai
2024-11-11 01:40:10 +00:00
Shaojin Wen
74ae3c688b 8343650: Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt
Reviewed-by: liach
2024-11-11 00:40:26 +00:00
Albert Mingkun Yang
423e8e0999 8339162: [REDO] JDK-8338440 Parallel: Improve fragmentation mitigation in Full GC
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: zgu, iwalulya, gli
2024-11-10 11:03:03 +00:00
Weijun Wang
f400896822 8342442: Static ACVP sample tests
Reviewed-by: mullan, bperez
2024-11-09 23:11:33 +00:00
Goetz Lindenmaier
325a2c3f76 8343848: Fix typo of property name in TestOAEPPadding after 8341927
Reviewed-by: lucy, mullan
2024-11-09 18:57:21 +00:00
Quan Anh Mai
2614c991d8 8343793: Test java/foreign/TestMemorySession.java is timing out
Reviewed-by: mcimadamore
2024-11-09 09:39:23 +00:00
Eirik Bjørsnøs
8a69893e1d 8343819: Link Float.NaN and Double.NaN to equivalence discussion in Double
Reviewed-by: darcy
2024-11-09 05:53:16 +00:00
Phil Race
52c0b09b62 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
Reviewed-by: aivanov
2024-11-08 20:37:08 +00:00
Naoto Sato
0329855831 8343804: Show the default time zone with -XshowSettings option
Reviewed-by: iris, jpai
2024-11-08 20:22:24 +00:00
Roman Kennke
44ec501a41 8305895: Implement JEP 450: Compact Object Headers (Experimental)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Hamlin Li <mli@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: coleenp, stefank, stuefe, phh, ihse, lmesnik, tschatzl, matsaave, rcastanedalo, vpaprotski, yzheng, egahlin
2024-11-08 17:21:39 +00:00
Kevin Driver
605396280d 8343684: Test KDFDelayedProviderSyncTest.java intermittent fails didn't finish within the time-out 150
Reviewed-by: weijun, hchao, alanb
2024-11-08 16:59:26 +00:00
Per Minborg
2fb0c1dd62 8343844: Add benchmarks for superword/autovectorization in FFM BulkOperations
Reviewed-by: mcimadamore
2024-11-08 16:36:57 +00:00
Daniel Jeliński
72f67fb16a 8343411: Test fail on Windows due to "An established connection was aborted by the software in your host machine"
Reviewed-by: dfuchs, jpai
2024-11-08 15:03:17 +00:00
theoweidmannoracle
7d6a2f3740 8342860: Fix more NULL usage backsliding
Reviewed-by: kbarrett, jwaters, tschatzl, jsjolen
2024-11-08 13:31:24 +00:00
Amit Kumar
f6edfe58d6 8343506: [s390x] multiple test failures with ubsan
Reviewed-by: mdoerr, lucy
2024-11-08 12:46:17 +00:00
Vicente Romero
96eed7fa6c 8343306: javac is failing to determine if a class and a sealed interface are disjoint
Reviewed-by: jlahoda, mcimadamore
2024-11-08 12:27:31 +00:00
Aleksey Shipilev
0c281acfb4 8343754: Problemlist jdk/jfr/event/oldobject/TestShenandoah.java after JDK-8279016
Reviewed-by: egahlin
2024-11-08 10:04:12 +00:00
Nizar Benalla
2e58ede18c 8341399: Add since checker tests to the langtools modules
Reviewed-by: vromero
2024-11-08 09:53:16 +00:00
Thomas Schatzl
c7f071cf36 8343189: [REDO] JDK-8295269 G1: Improve slow startup due to predictor initialization
Reviewed-by: iwalulya, sjohanss
2024-11-08 09:44:12 +00:00
Thomas Schatzl
a9e53bb117 8343783: Improve asserts in concurrentHashTable.inline.hpp
Reviewed-by: chagedorn
2024-11-08 09:17:27 +00:00
Kevin Walls
bf5c3ce280 8272780: ServerNotifForwarder.removeNotificationListener() incorrect exception handling
Reviewed-by: dholmes
2024-11-08 09:04:24 +00:00
Roland Westrelin
a10b1ccd37 8340532: C2: assert(is_OuterStripMinedLoop()) failed: invalid node class: IfTrue
Reviewed-by: chagedorn, kvn
2024-11-08 07:51:58 +00:00
Per Minborg
d0077eece0 8343771: Some FFM benchmarks are broken
Reviewed-by: jvernee, mdoerr
2024-11-08 06:33:41 +00:00
Jaikiran Pai
068f4ce8bc 8343293: Remove the check for <apphome>/jre/lib/libjava.dylib from the launcher's java_md_macosx.m
Reviewed-by: bpb, rriggs
2024-11-08 04:04:34 +00:00
Martin Doerr
f621f26cd1 8343724: [PPC64] Disallow OptoScheduling
Reviewed-by: rrich, mbaesken
2024-11-07 22:11:34 +00:00
Alexey Semenyuk
a63f501b92 8343396: Use OperatingSystem, Architecture, and OSVersion in jpackage tests
Reviewed-by: rriggs, almatvee
2024-11-07 22:10:59 +00:00
Daniel Gredler
84c99fb91f 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java
Reviewed-by: honkar, aivanov, aturbanov
2024-11-07 20:19:50 +00:00
Kevin Driver
2c7bea1cb2 8343772: Expected IAPE not thrown in KDF.getInstance (TCK)
Reviewed-by: valeriep
2024-11-07 19:27:35 +00:00
Ioi Lam
fac89f471c 8343493: Perform module checks during MetaspaceShared::map_archives()
Reviewed-by: ccheung, matsaave
2024-11-07 18:53:22 +00:00
Calvin Cheung
ccda8159f6 8342303: Segfault in update_inherited_vtable: AppCDS, old bytecode, and redefineClasses
Reviewed-by: dholmes, coleenp, iklam
2024-11-07 18:27:27 +00:00
Kevin Walls
4f5a241ec1 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Reviewed-by: lmesnik, sspitsyn, cjplummer
2024-11-07 18:13:44 +00:00
Brian Burkhalter
56c588b4e8 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
Reviewed-by: alanb
2024-11-07 17:19:27 +00:00
Maurizio Cimadamore
d3c042f9a0 8343770: Build fails due to use of sun.misc.Unsafe in LoopOverRandom
Reviewed-by: alanb
2024-11-07 15:31:17 +00:00
Quan Anh Mai
1d117f65f0 8343394: Make MemorySessionImpl.state a stable field
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jvernee
2024-11-07 14:32:18 +00:00
Kevin Walls
d2b681d455 8343730: JMX cleanups
Reviewed-by: cjplummer
2024-11-07 13:10:26 +00:00
Alexey Semenyuk
ac82a8f89c 8343610: InOutPathTest jpackage test produces invalid app image on macOS
Reviewed-by: almatvee
2024-11-07 12:32:34 +00:00
Volker Simonis
f0b251d760 8343531: Improve print_location for invalid heap pointers
Reviewed-by: shade, tschatzl, ayang
2024-11-07 12:10:50 +00:00
Nizar Benalla
4244682309 8339190: Parameter arrays that are capped during annotation processing report incorrect length
Reviewed-by: vromero
2024-11-07 10:30:12 +00:00
Theo Weidmann
7620b12988 8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'
Reviewed-by: chagedorn, kvn
2024-11-07 10:04:03 +00:00
Tobias Holenstein
592a48b163 8321997: Increase upper limit of LoopOptsCount flag
Reviewed-by: shade, chagedorn
2024-11-07 08:55:55 +00:00
Johan Sjölen
c3df050b88 8343726: [BACKOUT] NMT should not use ThreadCritical
Reviewed-by: shade, dholmes
2024-11-07 08:16:17 +00:00
theoweidmannoracle
0e1c1b793d 8343452: Incorrect WINDOWS build variable is used in macroAssembler_x86.cpp
Reviewed-by: kvn, chagedorn, jwaters
2024-11-07 07:46:52 +00:00
Per Minborg
619b4d5966 8334107: Specification for MemorySegment::get/setString could use some clarification
Reviewed-by: jvernee
2024-11-07 07:25:41 +00:00
Christian Hagedorn
a6c85daa1c 8342945: Replace predicate walking code in get_assertion_predicates() used for Loop Unswitching and cleaning useless Template Assertion Predicates with a predicate visitor
Reviewed-by: thartmann, roland, kvn
2024-11-07 07:05:20 +00:00
Axel Boldt-Christmas
97b681e93a 8340586: JdkJfrEvent::get_all_klasses stores non-strong oops in JNI handles
Reviewed-by: coleenp, stefank, mgronlun
2024-11-07 06:28:02 +00:00
SendaoYan
f2316f6829 8343505: Problemlist java/lang/Thread/jni/AttachCurrentThread/AttachTest.java
Reviewed-by: dholmes, lmesnik
2024-11-07 03:12:32 +00:00
Jaikiran Pai
9e31e78e39 8342647: [macosx] Clean up the NSInvocation based call to NSProcessInfo.operatingSystemVersion
Reviewed-by: bchristi
2024-11-07 00:51:06 +00:00
Martin Doerr
e33dc13567 8343343: Misc crash dump improvements on more platforms after JDK-8294160
Co-authored-by: Boris Ulasevich <bulasevich@openjdk.org>
Reviewed-by: mbaesken, jkern, dlong
2024-11-06 19:36:20 +00:00
Matias Saavedra Silva
d20ccd1aef 8335583: Avoid using pointers in CDS tables
Reviewed-by: iklam, ccheung
2024-11-06 18:46:06 +00:00
Fernando Guallini
342fe42555 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
Reviewed-by: rhalade, erikj
2024-11-06 18:36:05 +00:00
Andrew Haley
78b378ad03 8342540: InterfaceCalls micro-benchmark gives misleading results
Reviewed-by: shade, kvn
2024-11-06 17:52:07 +00:00
Srinivas Vamsi Parasa
c0e6c3b93c 8343214: Fix encoding errors in APX New Data Destination Instructions Support
Reviewed-by: jbhateja, sviswanathan
2024-11-06 16:41:41 +00:00
Aleksey Shipilev
0be7118b2f 8279016: JFR Leak Profiler is broken with Shenandoah
Reviewed-by: egahlin, rkennke, mgronlun, wkemper
2024-11-06 16:38:55 +00:00
Aggelos Biboudis
6811a11e27 8341408: Implement JEP 488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
Reviewed-by: vromero, jlahoda
2024-11-06 14:50:54 +00:00
Roland Westrelin
72a45ddbad 8341834: C2 compilation fails with "bad AD file" due to Replicate
Reviewed-by: kvn, epeter
2024-11-06 14:49:30 +00:00
Roland Westrelin
57c3bb6091 8343068: C2: CastX2P Ideal transformation not always applied
Reviewed-by: kvn, thartmann
2024-11-06 14:47:14 +00:00
Roberto Castañeda Lozano
83f3d42d6b 8339303: C2: dead node after failing to match cloned address expression
Reviewed-by: vlivanov, kvn
2024-11-06 09:17:21 +00:00
Andrew Haley
ead0116f26 8331341: secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: vlivanov, kvn, dlong
2024-11-06 08:58:08 +00:00
Matthias Baesken
06d8216a4e 8318442: java/net/httpclient/ManyRequests2.java fails intermittently on Linux
Reviewed-by: mdoerr, lucy, dfuchs
2024-11-06 08:03:26 +00:00
Fei Yang
bdd68163df 8343502: RISC-V: SIGBUS in updateBytesCRC32 after JDK-8339738
Reviewed-by: mli, fjiang
2024-11-06 06:36:49 +00:00
Christian Hagedorn
4431852a88 8342943: Replace predicate walking and cloning code for main/post loops with a predicate visitor
Reviewed-by: roland, kvn
2024-11-06 06:10:01 +00:00
KIRIYAMA Takuya
1b0281dc77 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Reviewed-by: jjg
2024-11-06 05:38:46 +00:00
Alex Menkov
471f112bca 8342577: Clean up JVMTI breakpoint support
8210637: Race in JvmtiCurrentBreakpoints::get_jvmti_breakpoints

Reviewed-by: cjplummer, sspitsyn
2024-11-05 22:39:00 +00:00
Nizar Benalla
69bc088774 8343071: Broken anchors to restricted method page and some redundant ids
8332747: Broken links in StructuredTaskScope

Reviewed-by: mcimadamore, iris
2024-11-05 21:43:11 +00:00
Cesar Soares Lucas
d4d9831c90 8340454: C2 EA asserts with "previous reducible Phi is no longer reducible before SUT"
Reviewed-by: thartmann, kvn
2024-11-05 21:19:31 +00:00
Kevin Driver
2a1ae0ff89 8331008: Implement JEP 478: Key Derivation Function API (Preview)
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: weijun, valeriep
2024-11-05 21:07:52 +00:00
Leonid Mesnik
847cc5ebac 8343173: Remove ZGC-specific non-JVMCI test groups
Reviewed-by: kvn
2024-11-05 20:53:08 +00:00
Andrew Haley
3fab8e37bb 8341903: Implementation of Scoped Values (Fourth Preview)
Reviewed-by: alanb
2024-11-05 17:12:17 +00:00
Liam Miller-Cushon
839de82c31 8332744: [REDO] 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
Reviewed-by: vromero
2024-11-05 17:06:04 +00:00
Matthias Baesken
8cb1221194 8343532: Test test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on Linux ppc64le after JDK-8319343
Reviewed-by: mdoerr, lucy
2024-11-05 15:48:23 +00:00
Archie Cobbs
fbf9b96b61 8343480: Remove unnecessary @SuppressWarnings annotations (javadoc)
Reviewed-by: hannesw
2024-11-05 15:48:02 +00:00
Archie Cobbs
f95097cc64 8343482: Remove unnecessary @SuppressWarnings annotations (net)
Reviewed-by: dfuchs
2024-11-05 15:46:00 +00:00
Archie Cobbs
c799cad1de 8343486: Remove unnecessary @SuppressWarnings annotations and -Xlint:-foo options
Reviewed-by: ihse
2024-11-05 15:44:54 +00:00
Sonia Zaldana Calles
0b733e9a22 8336874: WhiteBoxAPI: assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native())) failed: cannot compile abstract/native methods
Reviewed-by: lmesnik, stuefe
2024-11-05 15:25:18 +00:00
Shaojin Wen
5890d9438b 8333893: Optimization for StringBuilder append boolean & null
Reviewed-by: liach
2024-11-05 15:05:33 +00:00
Alexey Semenyuk
c33a8f52b6 8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: almatvee
2024-11-05 13:42:27 +00:00
Chen Liang
16feeb7a8e 8343547: Restore accidentally removed annotations in LambdaForm from ClassFile API port
Reviewed-by: asotona
2024-11-05 12:15:42 +00:00
Emanuel Peter
f62fc48441 8342498: Add test for Allocation elimination after use as alignment reference by SuperWord
Reviewed-by: thartmann, kvn
2024-11-05 11:47:42 +00:00
Emanuel Peter
f3671beefb 8335392: C2 MergeStores: enhanced pointer parsing
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2024-11-05 11:46:40 +00:00
Mikhail Ablakatov
4fc6d4135e 8341194: [REDO] Implement C2 VectorizedHashCode on AArch64
Reviewed-by: aph, adinn
2024-11-05 10:20:51 +00:00
Thomas Schatzl
abf2dc7128 8343298: Improve stability of runtime/cds/DeterministicDump.java test
Reviewed-by: shade, iklam
2024-11-05 09:33:50 +00:00
Prasanta Sadhukhan
dafa2e55ad 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access
Reviewed-by: abhiscxk
2024-11-05 06:27:42 +00:00
Sorna Sarathi
0f7dd98d9d 8251926: PPC: Remove an unused variable in assembler_ppc.cpp
Reviewed-by: mdoerr
2024-11-05 06:08:16 +00:00
Weijun Wang
cd91a44500 8343549: SeededSecureRandomTest needn't be in a package
Reviewed-by: mullan
2024-11-05 02:53:26 +00:00
Fei Yang
20f3aaff44 8343471: RISC-V: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java fails after JDK-8334999
Reviewed-by: syan, mli
2024-11-05 00:48:45 +00:00
Shaojin Wen
67907d5e89 8343500: Optimize ArrayClassDescImpl computeDescriptor
Reviewed-by: liach
2024-11-05 00:29:08 +00:00
Justin Lu
714472d8a5 8341798: Fix ExceptionOccurred in jdk.jdwp.agent
Reviewed-by: dholmes, cjplummer
2024-11-04 21:36:51 +00:00
Justin Lu
825ceb16b2 8341796: Fix ExceptionOccurred in jdk.hotspot.agent
Reviewed-by: dholmes, cjplummer
2024-11-04 20:55:17 +00:00
Artur Barashev
8b4749713c 8331682: Slow networks/Impatient clients can potentially send unencrypted TLSv1.3 alerts that won't parse on the server
Reviewed-by: wetmore, djelinski, xuelei
2024-11-04 18:46:38 +00:00
Brian Burkhalter
0668e181c8 8343234: (bf) Move java/nio/Buffer/LimitDirectMemory.java from ProblemList.txt to ProblemList-Virtual.txt
Reviewed-by: alanb, jpai
2024-11-04 18:18:14 +00:00
Jiangli Zhou
774de278f7 8343497: Missing DEF_STATIC_JNI_OnLoad in libjimage and libsaproc native libraries
Reviewed-by: ihse
2024-11-04 17:58:22 +00:00
Archie Cobbs
1cc3586c53 8343551: Missing copyright header update in Charset-X-Coder.java.template
Reviewed-by: iris
2024-11-04 17:32:11 +00:00
Naoto Sato
1c4483473d 8333582: Update CLDR to Version 46.0
Reviewed-by: joehw, srl, jlu
2024-11-04 17:00:44 +00:00
Archie Cobbs
23fa1a3327 8343484: Remove unnecessary @SuppressWarnings annotations (nio)
Reviewed-by: alanb
2024-11-04 16:13:10 +00:00
SendaoYan
7f8450cc51 8343473: Update copyright year of AddmodsOption.java
Reviewed-by: mli
2024-11-04 15:05:52 +00:00
Aleksey Shipilev
b74652b5f4 8343167: Unnecessary define checks in InterpreterRuntime after JDK-8199809
Reviewed-by: phh, coleenp
2024-11-04 14:37:10 +00:00
Per Minborg
646d64e880 8340307: Add explanation around MemorySegment:reinterpret regarding arenas
Reviewed-by: jvernee
2024-11-04 14:12:30 +00:00
Chen Liang
8d6cfba37f 8336267: Method and Constructor signature parsing can be shared on the root object
Reviewed-by: mchung
2024-11-04 13:24:29 +00:00
Chen Liang
1f7d524fd3 8343437: ClassDesc.of incorrectly permitting empty names
Reviewed-by: mchung
2024-11-04 13:24:09 +00:00
Aggelos Biboudis
895a7b64f0 8342967: Lambda deduplication fails with non-metafactory BSMs and mismatched local variables names
Reviewed-by: mcimadamore
2024-11-04 12:27:12 +00:00
Johan Sjölen
b41d713ff4 8343513: Forward declare Thread in mutexLocker.hpp
Reviewed-by: dholmes, mgronlun, shade
2024-11-04 12:14:06 +00:00
Hannes Wallnöfer
809030bfb2 8321500: javadoc rejects '@' in multi-line attribute value
Reviewed-by: prappo
2024-11-04 12:05:08 +00:00
Alexey Ivanov
7bca0af481 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.

Reviewed-by: azvegint, honkar
2024-11-04 11:37:47 +00:00
Per Minborg
f69b6016d6 8343188: Investigate ways to simplify MemorySegment::ofBuffer
Reviewed-by: mcimadamore
2024-11-04 11:06:25 +00:00
Fei Yang
7f131a9e1e 8343415: RISC-V: Increase maximum size of C2EntryBarrierStub by four
Reviewed-by: rehn, fjiang
2024-11-04 10:54:19 +00:00
Albert Mingkun Yang
452a5fbd9c 8343507: Parallel: Fail if verify_complete finds incorrect states
Reviewed-by: tschatzl, kbarrett
2024-11-04 10:31:24 +00:00
Martin Doerr
75801992a7 8343205: CompileBroker::possibly_add_compiler_threads excessively polls available memory
Reviewed-by: thartmann, kvn
2024-11-04 09:58:51 +00:00
Hamlin Li
df08a9ec0d 8312425: [vectorapi] AArch64: Optimize vector math operations with SLEEF
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Reviewed-by: ihse, fgao, aph
2024-11-04 09:19:39 +00:00
Damon Fenacci
e7f0bf11ff 8343153: compiler/codecache/CheckLargePages.java fails on linux with huge pages configured but its number set to 0
Reviewed-by: eastigeevich, thartmann
2024-11-04 07:33:54 +00:00
Adam Sotona
f9e1c62dcd 8343436: Regression in StackMapGenerator after JDK-8339205
Reviewed-by: liach
2024-11-04 07:19:23 +00:00
Tobias Hartmann
2432c4f862 8343206: Final graph reshaping should not compress abstract or interface class pointers
Reviewed-by: coleenp, eosterlund, kvn
2024-11-04 06:27:33 +00:00
Amit Kumar
c125178065 8341068: [s390x] intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: lucy, aph
2024-11-04 03:36:25 +00:00
Fei Yang
37a3398b58 8343242: RISC-V: Refactor materialization of literal address
Reviewed-by: rehn, fjiang
2024-11-04 01:40:20 +00:00
Michael McMahon
d26412e657 8343433: Update net.properties and java.net.http module-info.java after 8326949
Reviewed-by: dfuchs, jpai
2024-11-03 17:43:46 +00:00
Alexey Semenyuk
29882bfe7b 8340311: JPackage app-image exe launches multiple exe's in JDK 22+
Reviewed-by: almatvee
2024-11-02 12:44:17 +00:00
Andrey Turbanov
069bb79103 8342082: Remove unused BasicProgressBarUI.Animator.interval
Reviewed-by: prr, honkar
2024-11-02 08:33:56 +00:00
Archie Cobbs
00ec10574d 8343412: Missing escapes for single quote marks in javac.properties
Reviewed-by: vromero
2024-11-02 02:32:02 +00:00
Jiangli Zhou
8c1cf8fabe 8339128: Cannot resolve user specified tool properly after JDK-8338304
Reviewed-by: erikj, ihse
2024-11-02 01:11:20 +00:00
Jatin Bhateja
3c7082a633 8343419: Assertion failure in long vector unsigned min/max with -XX:+UseKNLSetting
Reviewed-by: sviswanathan
2024-11-02 01:07:41 +00:00
Fernando Guallini
c82ad845e1 8342183: Update tests to use stronger algorithms and keys
Reviewed-by: rhalade, ascarpino
2024-11-01 17:52:20 +00:00
Doug Simon
1eccdfc622 8343439: [JVMCI] Fix javadoc of Services.getSavedProperties
Reviewed-by: never
2024-11-01 17:04:23 +00:00
Justin Lu
ea110c35f5 8343236: Use @apiNote and @implSpec in j.util.Currency
Reviewed-by: iris, lancea, bpb, naoto
2024-11-01 16:34:53 +00:00
Markus Grönlund
5995786dbd 8343177: JFR: Remove critical section for thread id assignment
Reviewed-by: dholmes
2024-11-01 14:51:51 +00:00
Tomas Zezula
751a914b0a 8340733: Add scope for relaxing constraint on JavaCalls from CompilerThread
Reviewed-by: dnsimon, kvn
2024-11-01 13:36:26 +00:00
Fernando Guallini
7e87c071b0 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
Reviewed-by: mullan
2024-11-01 13:11:56 +00:00
Zhengyu Gu
da0e9e38e3 8343333: Parallel: Cleanup comment referring Solaris in MutableNUMASpace
Reviewed-by: tschatzl
2024-11-01 13:04:09 +00:00
Andrey Turbanov
f77a5144a1 8343194: Avoid redundant Hashtable.containsKey call in CodeSource.readObject
Reviewed-by: mullan
2024-11-01 11:47:00 +00:00
Kevin Walls
4a70c83bd0 8343378: Exceptions in javax/management DeadLockTest.java do not cause test failure
Reviewed-by: amenkov
2024-11-01 08:35:28 +00:00
Jatin Bhateja
8d4d589fc5 8343297: Vector unsigned min/max test are failing with -Xcomp
Reviewed-by: thartmann
2024-11-01 07:34:59 +00:00
Aleksey Shipilev
2a4d9d9b0d 8343379: [BACKOUT] 8343190 GHA: Try building JTReg several times
Reviewed-by: erikj, ihse
2024-11-01 07:19:51 +00:00
Christian Hagedorn
6f6cfe643b 8343380: C2: assert(iff->in(1)->is_OpaqueNotNull()) failed: must be OpaqueNotNull
Reviewed-by: thartmann, kvn
2024-11-01 06:51:34 +00:00
Fei Yang
cbda758010 8343122: RISC-V: C2: Small improvement for real runtime callouts
Reviewed-by: rehn, fjiang
2024-11-01 00:55:11 +00:00
Fei Yang
803612ee93 8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Reviewed-by: rehn, fjiang
2024-11-01 00:13:14 +00:00
Claes Redestad
b627a41f3d 8343345: Use -jvmArgsPrepend when running microbenchmarks in RunTests.gmk
Reviewed-by: liach, ihse, erikj
2024-10-31 22:30:25 +00:00
Claes Redestad
29321447b1 8343305: Remove Indify-dependent microbenchmarks
Reviewed-by: liach, ihse, erikj
2024-10-31 22:28:53 +00:00
Alexander Matveev
34655c67a8 8342544: [macos] jpackage test helper should check for both "--app-image" and "--mac-sign" for signing predefined app image case
Reviewed-by: asemenyuk
2024-10-31 22:18:26 +00:00
Alexander Matveev
5a5d9c51be 8343085: [macos] jpackage verbose output on macOS contains numerous "Running /usr/bin/codesign" entries
Reviewed-by: asemenyuk
2024-10-31 22:17:35 +00:00
Calvin Cheung
d4eb2d924e 8319343: Improve CDS module graph support for --add-modules option
Reviewed-by: alanb, iklam
2024-10-31 21:30:08 +00:00
Alexey Semenyuk
568b07a09b 8325089: jpackage utility creates an "infinite", undeleteable directory tree
Reviewed-by: almatvee
2024-10-31 20:25:55 +00:00
Aleksey Shipilev
7c36fa7e17 8343019: Primitive caches must use boxed instances from the archive
Reviewed-by: jiangli, vlivanov, iklam
2024-10-31 20:18:25 +00:00
Fernando Guallini
ae82cc1ba1 8342188: Update tests to use stronger key parameters and certificates
Reviewed-by: rhalade, ascarpino
2024-10-31 18:28:52 +00:00
Erik Gahlin
7ad3ef7f76 8343057: JFR: Sorting in 'jfr view' can violate contract
Reviewed-by: mgronlun
2024-10-31 18:25:30 +00:00
Cesar Soares Lucas
7d8bd21eb0 8335977: Deoptimization fails with assert "object should be reallocated already"
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: thartmann, kvn, vlivanov
2024-10-31 17:11:11 +00:00
Olexandr Rotan
b2694934b5 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class
Reviewed-by: vromero, mcimadamore
2024-10-31 15:25:42 +00:00
Chen Liang
3ccd2f757d 8342458: More consistent constant instruction handling
Reviewed-by: asotona
2024-10-31 14:01:13 +00:00
Doug Simon
29ae26517f 8341861: GHA: Use only retention mechanism to remove bundles
Reviewed-by: shade, ihse, erikj
2024-10-31 13:55:42 +00:00
Arseny Bochkarev
e5bbad059d 8334999: RISC-V: implement AES single block encryption/decryption intrinsics
Reviewed-by: fyang, rehn, yzhu
2024-10-31 12:19:48 +00:00
Christian Hagedorn
c40bb7621c 8343296: IGV: Show pre/main/post at CountedLoopNodes
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, kvn
2024-10-31 09:17:21 +00:00
Alan Bateman
dee0982c60 8343132: Remove temporary transitions from Virtual thread implementation
Reviewed-by: dholmes, sspitsyn, pchilanomate
2024-10-31 08:53:19 +00:00
Eirik Bjørsnøs
2f1ba5ef09 8343307: Throw ZipException instead of IAE in ZipFile.Source::initCEN
Reviewed-by: lancea, jpai
2024-10-31 08:32:48 +00:00
Daniel Lundén
388d44fbf0 8342156: C2: Compilation failure with fewer arguments after JDK-8329032
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: rcastanedalo, chagedorn, kvn
2024-10-31 07:46:35 +00:00
Jiangli Zhou
688e92e7f5 8342642: Class loading failure due to archived map issue in ModuleLoaderMap.Mapper
Reviewed-by: iklam, shade, alanb
2024-10-31 01:50:00 +00:00
Fernando Guallini
f340ab2d36 8342181: Update tests to use stronger Key and Salt size
Reviewed-by: rhalade, ascarpino
2024-10-30 22:14:54 +00:00
Kevin Walls
cc2fb4d3bd 8337276: jcmd man page update for PID in output filenames
Reviewed-by: cjplummer, szaldana
2024-10-30 21:54:43 +00:00
Harshitha Onkar
02ea4b548e 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

Reviewed-by: erikj, serb
2024-10-30 21:53:12 +00:00
Justin Lu
7461dfe9c6 8341788: Fix ExceptionOccurred in hotspot
Reviewed-by: dholmes
2024-10-30 21:49:26 +00:00
Matthew Donovan
9a9ac1d005 8341927: Replace hardcoded security providers with new test.provider.name system property
Reviewed-by: mullan, ascarpino, rhalade
2024-10-30 18:51:02 +00:00
Alex Menkov
1b177ce5b7 8343103: Enable debug logging for vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java
Reviewed-by: cjplummer
2024-10-30 18:02:55 +00:00
Ramkumar Sunderbabu
7404ddf24a 8202100: Merge vm/share/InMemoryJavaCompiler w/ jdk/test/lib/compiler/InMemoryJavaCompiler
Reviewed-by: lmesnik
2024-10-30 15:45:03 +00:00
Axel Boldt-Christmas
821c514a13 8341692: Implement JEP 490: ZGC: Remove the Non-Generational Mode
Reviewed-by: ihse, eosterlund, stefank, prr, cjplummer, dholmes
2024-10-30 11:05:07 +00:00
Jaikiran Pai
0fe15d6836 8343040: Clean up references to JRE in the launcher code
Reviewed-by: alanb, darcy
2024-10-30 10:39:05 +00:00
Aleksey Shipilev
9003524c8b 8342588: Shenandoah: Pull shared closures together in one header
Reviewed-by: wkemper, kdnilsen, simonis
2024-10-30 10:24:12 +00:00
Matthias Baesken
f7f5198367 8343186: hsdis build libopcodes and libbfd are not found
Reviewed-by: erikj, ihse, shade, jwaters
2024-10-30 08:06:54 +00:00
Christian Hagedorn
63c19d3db5 8341977: Replace predicate walking and cloning code for Loop Peeling with a predicate visitor
Reviewed-by: kvn, epeter
2024-10-30 06:11:06 +00:00
Chen Liang
158ae51be0 8250659: Clarify in ParameterizedType.getRawType() doc that only Class is returned
Reviewed-by: darcy
2024-10-30 05:58:22 +00:00
Amit Kumar
b6f745df57 8342489: compiler/c2/irTests/TestVectorizationMismatchedAccess.java fails on big-endian platforms
Reviewed-by: epeter, mbaesken
2024-10-30 03:09:47 +00:00
Prasanta Sadhukhan
bd795946e7 8343037: Missing @since tag on JColorChooser.showDialog overload
Reviewed-by: prr
2024-10-30 02:52:54 +00:00
Alexey Semenyuk
ceaa71e731 8342576: [macos] AppContentTest still fails after JDK-8341443 for same reason on older macOS versions
Co-authored-by: Alexander Matveev <almatvee@openjdk.org>
Reviewed-by: almatvee
2024-10-30 02:41:45 +00:00
SendaoYan
40f3d50bad 8343211: Compile error: redefinition of 'Assembler::evmovdquw(XMMRegister,KRegister,XMMRegister,bool,int)'
Reviewed-by: vpaprotski, sviswanathan, thartmann, shade
2024-10-29 23:17:52 +00:00
Serguei Spitsyn
60364ef001 8341273: JVMTI is not properly hiding some continuation related methods
Reviewed-by: alanb, amenkov
2024-10-29 19:59:43 +00:00
Varada M
520ddac970 8331861: [PPC64] Implement load / store assembler functions which take an Address object
Reviewed-by: amitkumar, mdoerr
2024-10-29 18:20:03 +00:00
Ferenc Rakoczi
9cfb0f7f7a 8341527: AVX-512 intrinsic for SHA3
Reviewed-by: sviswanathan
2024-10-29 15:18:24 +00:00
Aleksey Shipilev
4ce19ca110 8343190: GHA: Try building JTReg several times
Reviewed-by: erikj, ihse
2024-10-29 14:57:14 +00:00
Erik Gahlin
7c800e6bae 8343026: JFR: Index into fields in the topFrame
Reviewed-by: mgronlun
2024-10-29 14:23:07 +00:00
Martin Doerr
d8b3685d36 8342607: Enhance register printing on x86_64 platforms
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, stuefe, mbaesken
2024-10-29 13:30:26 +00:00
Boris Ulasevich
d8430efb5e 8339573: Update CodeCacheSegmentSize and CodeEntryAlignment for ARM
Reviewed-by: kvn, eastigeevich
2024-10-29 12:02:12 +00:00
Amit Kumar
6332e258f9 8343183: [s390x]: Problemlist runtime/Monitor/SyncOnValueBasedClassTest.java Failure
Reviewed-by: dholmes
2024-10-29 10:48:47 +00:00
Matthias Baesken
79a07ad726 8343149: Cleanup os::print_tos_pc on AIX
Reviewed-by: mdoerr, lucy, jkern
2024-10-29 08:47:13 +00:00
Matthias Baesken
beff8bfe2a 8342823: Ubsan: ciEnv.cpp:1614:65: runtime error: member call on null pointer of type 'struct CompileTask'
Reviewed-by: kvn, mdoerr
2024-10-29 08:18:44 +00:00
Christian Hagedorn
e389f82b1b 8343137: C2: VerifyLoopOptimizations fails with "Was reachable in only one"
Reviewed-by: thartmann, kvn
2024-10-29 08:07:22 +00:00
Robert Toyonaga
0abfa3ba8f 8304824: NMT should not use ThreadCritical
Reviewed-by: stuefe, dholmes, jsjolen
2024-10-29 07:50:43 +00:00
Aleksey Shipilev
88dc655a6d 8342988: GHA: Build JTReg in single step
Reviewed-by: ihse
2024-10-29 06:43:56 +00:00
SendaoYan
df3473e220 8343178: Test BasicTest.java javac compile fails cannot find symbol
Reviewed-by: jpai, asemenyuk
2024-10-29 06:05:56 +00:00
Amit Kumar
54327bc4e3 8342962: [s390x] TestOSRLotsOfLocals.java crashes
Reviewed-by: lucy, mdoerr
2024-10-29 04:22:34 +00:00
Fei Yang
f0075d593d 8343115: SkipIfEqual class is not used after JDK-8335946
Reviewed-by: coleenp
2024-10-29 00:15:18 +00:00
Claes Redestad
90bd544512 8342958: Use jvmArgs consistently in microbenchmarks
Reviewed-by: ecaspole, jvernee
2024-10-28 22:40:25 +00:00
Eirik Bjørsnøs
d49f21043b 8342040: Further improve entry lookup performance for multi-release JARs
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2024-10-28 18:21:18 +00:00
Valerie Peng
d2e716eb72 8331958: Update PC/SC Lite for Suse Linux to 2.3.0
Reviewed-by: weijun
2024-10-28 18:06:42 +00:00
Alexey Semenyuk
a95374f588 8343101: Rework BasicTest.testTemp test cases
Reviewed-by: almatvee
2024-10-28 17:24:01 +00:00
Alexey Semenyuk
00fe9f7bdf 8343100: Consolidate EmptyFolderTest and EmptyFolderPackageTest jpackage tests into single java file
Reviewed-by: almatvee
2024-10-28 17:22:38 +00:00
David M. Lloyd
9f6d5b46ce 8343020: (fs) Add support for SecureDirectoryStream on macOS
Reviewed-by: bpb, alanb
2024-10-28 16:58:44 +00:00
Brian Burkhalter
1341b81321 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Reviewed-by: alanb
2024-10-28 16:38:36 +00:00
Jatin Bhateja
52382e285f 8338021: Support new unsigned and saturating vector operators in VectorAPI
Reviewed-by: psandoz, epeter, sviswanathan
2024-10-28 16:30:29 +00:00
Aleksey Shipilev
e659d9da5d 8342975: C2: Micro-optimize PhaseIdealLoop::Dominators()
Reviewed-by: dlong, kvn
2024-10-28 15:38:05 +00:00
Matias Saavedra Silva
9f6211bcf1 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops
Reviewed-by: ccheung, iklam
2024-10-28 14:31:35 +00:00
Coleen Phillimore
120a9357b3 8342561: Metaspace for generated reflection classes is no longer needed
Reviewed-by: shade, stuefe
2024-10-28 13:48:23 +00:00
Yudi Zheng
d5fb6b4a3c 8339939: [JVMCI] Don't compress abstract and interface Klasses
Co-authored-by: Doug Simon <dnsimon@openjdk.org>
Reviewed-by: dnsimon
2024-10-28 12:39:04 +00:00
Aleksey Shipilev
a5ad974bec 8343056: C2: Micro-optimize Node lists grow
Reviewed-by: kvn, redestad
2024-10-28 12:11:51 +00:00
Jonathan Lampérth
ec0618742f 8034066: Incorrect alignment in the "Code" section for "-c -XDdetails" options
Reviewed-by: jvernee, liach
2024-10-28 09:42:03 +00:00
Fredrik Bredberg
eb3669a586 8340796: Use a consistent order when loading cxq and EntryList
Reviewed-by: dholmes, coleenp, eosterlund
2024-10-28 09:02:54 +00:00
Andrey Turbanov
0e3fc93dfb 8342083: Make a few fields in FileSystemPreferences final
Reviewed-by: jpai, bpb
2024-10-26 17:59:15 +00:00
Chen Liang
762a573ef1 8335880: More troubleshooting tips around windows space in path
Reviewed-by: erikj, ihse
2024-10-26 14:45:19 +00:00
Chen Liang
40e07a7ea3 8342865: Use type parameter for Class::getPrimitiveClass
Reviewed-by: darcy
2024-10-26 14:45:04 +00:00
Alexey Semenyuk
9e451aa365 8343102: Remove --compress from jlink command lines from jpackage tests
Reviewed-by: almatvee
2024-10-26 14:01:19 +00:00
Jonathan Gibbons
873f8a696f 8305406: Add @spec tags in java.base/java.* (part 2)
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: valeriep
2024-10-26 06:57:45 +00:00
Fei Yang
1476f6c475 8343030: RISC-V: Small assembler cleanups
Reviewed-by: mli, rehn
2024-10-26 03:32:30 +00:00
Maurizio Cimadamore
f1a9a8d25b 8342902: Deduplication of acquire calls in BindingSpecializer causes escape-analyisis failure
Reviewed-by: jvernee
2024-10-25 21:07:48 +00:00
Thomas Schatzl
f1cc890ddf 8343086: [BACKOUT] JDK-8295269 G1: Improve slow startup due to predictor initialization
Reviewed-by: sangheki
2024-10-25 19:17:42 +00:00
Alex Menkov
36d71735e3 8339289: Enhance Attach API to support arbitrary length arguments - Windows
Reviewed-by: kevinw, sspitsyn
2024-10-25 18:08:21 +00:00
Joe Darcy
ff165f9f0c 8342934: TYPE_USE annotations printed with error causing "," in toString output
Reviewed-by: iris, vromero
2024-10-25 16:49:11 +00:00
Brian Burkhalter
0853aee3b3 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Reviewed-by: jpai, alanb
2024-10-25 15:35:49 +00:00
Thomas Schatzl
c202a2f7b2 8295269: G1: Improve slow startup due to predictor initialization
Reviewed-by: iwalulya, sjohanss
2024-10-25 15:24:55 +00:00
Henry Jen
5cbd578fbe 8342930: New tests from JDK-8335912 are failing
Reviewed-by: jpai
2024-10-25 14:35:11 +00:00
Hamlin Li
1e35da8d33 8343063: RISC-V: remove redundant reg copy in generate_resolve_blob
Reviewed-by: fyang, rehn
2024-10-25 14:28:23 +00:00
Hamlin Li
4f8f395e2b 8343060: RISC-V: enable TestFloat16VectorConvChain for riscv
Reviewed-by: fyang
2024-10-25 14:28:01 +00:00
Fei Yang
a9eb50a2d8 8342953: RISC-V: Fix definition of RISCV_HWPROBE_EXT_ZVFHMIN
Reviewed-by: mli, rehn
2024-10-25 11:23:12 +00:00
Hamlin Li
94317dbcf2 8342884: RISC-V: verify float <--> float16 conversion
Reviewed-by: fyang, luhenry
2024-10-25 07:48:48 +00:00
Stefan Karlsson
3c5db12bbe 8342857: SA: Heap iterator makes incorrect assumptions about TLAB layout
Reviewed-by: cjplummer, rkennke, lmesnik
2024-10-25 07:26:21 +00:00
Thomas Schatzl
4635351b15 8342939: Building ZGC without compiler2 fails
Reviewed-by: eosterlund, mli, kvn
2024-10-25 07:16:52 +00:00
Hannes Wallnöfer
fd5ff0547c 8342827: Fix order of @param tags in other modules
Reviewed-by: jpai, iris, joehw, darcy, dfuchs
2024-10-25 07:08:29 +00:00
Matthias Baesken
415d8151a6 8342938: Problem list java/io/IO/IO.java test on Linux ppc64le
Reviewed-by: lucy, naoto
2024-10-25 07:03:09 +00:00
Kim Barrett
c548986630 8342918: Building ParallelGC without G1 and Shenandoah fails because SpaceMangler not declared
Reviewed-by: jwaters, shade
2024-10-25 06:14:10 +00:00
Mark Powers
ca1700b8bf 8336665: CCE in X509CRLImpl$TBSCertList.getCertIssuer
Reviewed-by: mullan
2024-10-24 23:09:45 +00:00
Vicente Romero
d1540e2a49 8342090: Infer::IncorporationBinaryOp::equals can produce side-effects
8288590: javac failure: incompatible types: cannot infer type arguments due to Object.hashCode collision

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2024-10-24 17:25:43 +00:00
Justin Lu
7af46a6b42 8340554: Improve MessageFormat readObject checks
Reviewed-by: naoto
2024-10-24 16:17:43 +00:00
hanklo6
7d5eefa506 8342862: Gtest added by 8339507 appears to be causing 8GB build machines to hang
Reviewed-by: kvn, sviswanathan
2024-10-24 16:02:30 +00:00
hanklo6
d8c3b0f834 8342768: GTest AssemblerX86.validate_vm failed: assert(VM_Version::supports_bmi1()) failed: tzcnt instruction not supported
Reviewed-by: sviswanathan, thartmann, kvn
2024-10-24 16:01:31 +00:00
Markus KARG
3c14c2babb 8341566: Add Reader.of(CharSequence)
Reviewed-by: rriggs, jpai, liach, alanb
2024-10-24 14:34:58 +00:00
Daniel Fuchs
b0ac633b2d 8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: jpai
2024-10-24 12:24:14 +00:00
Fei Yang
85774b713e 8342882: RISC-V: Unify handling of jumps to runtime
Reviewed-by: rehn
2024-10-24 11:22:01 +00:00
Fredrik Bredberg
2c31c8eeb4 8339730: Windows regression after removing ObjectMonitor Responsible
Reviewed-by: coleenp, jwaters
2024-10-24 09:51:24 +00:00
Jan Lahoda
f0b130e54f 8339296: Record deconstruction pattern in switch fails to compile
Reviewed-by: vromero, mcimadamore
2024-10-24 06:45:16 +00:00
Emanuel Peter
e96b4cf0a8 8342387: C2 SuperWord: refactor and improve compiler/loopopts/superword/TestDependencyOffsets.java
Reviewed-by: thartmann, chagedorn
2024-10-24 05:45:35 +00:00
David Holmes
f7a61fce94 8342931: ProblemList failing tests from JDK-8335912
Reviewed-by: henryjen, mikael
2024-10-24 05:03:39 +00:00
Chen Liang
25c2f48d45 8338544: Dedicated Array class descriptor implementation
Reviewed-by: redestad, mchung, jvernee
2024-10-24 02:40:08 +00:00
Henry Jen
158b93d19a 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files
Reviewed-by: lancea
2024-10-24 00:07:43 +00:00
David Holmes
28d23ada6d 8340177: Malformed system classes loaded by bootloader crash the JVM in product builds
Reviewed-by: coleenp, mli
2024-10-23 21:39:26 +00:00
Doug Simon
98403b75df 8342854: [JVMCI] Block secondary thread reporting a JVMCI fatal error
Reviewed-by: never
2024-10-23 20:01:14 +00:00
Alexander Matveev
9a7a850e28 8341939: SigningOptionsTest fails without Xcode with command line developer tools after JDK-8341443
Reviewed-by: asemenyuk
2024-10-23 19:43:24 +00:00
Brian Burkhalter
de92fe3757 8233451: (fs) Files.newInputStream() cannot be used with character special files
Reviewed-by: alanb
2024-10-23 18:53:30 +00:00
Chris Plummer
002de86081 8342673: Test serviceability/jvmti/events/NotifyFramePopStressTest/NotifyFramePopStressTest.java failed: waited too long for notify
Reviewed-by: amenkov, lmesnik, sspitsyn
2024-10-23 18:26:30 +00:00
Joe Darcy
a21c558699 8342863: Use pattern matching for instanceof in equals methods of wrapper classes
Reviewed-by: rriggs
2024-10-23 18:23:50 +00:00
Naoto Sato
e64f0798be 8342582: user.region for formatting number no longer works for 21.0.5
Reviewed-by: jlu, rriggs
2024-10-23 17:44:31 +00:00
Naoto Sato
426da4bbad 8341975: Unable to set encoding for IO.println, IO.print and IO.readln
Reviewed-by: rriggs, iris, alanb
2024-10-23 17:44:15 +00:00
Erik Joelsson
a522d216b5 8342858: Make target mac-jdk-bundle fails on chmod command
Reviewed-by: lucy, ihse
2024-10-23 17:27:17 +00:00
Fredrik Bredberg
afb62f7349 8342683: Use non-short forward jump when passing stop()
Reviewed-by: aboldtch, shade, kvn
2024-10-23 15:26:32 +00:00
Sorna Sarathi
964d8d2234 8340445: [PPC64] Wrong ConditionRegister used in ppc64.ad: flagsRegCR0 cr1
Reviewed-by: mdoerr, amitkumar
2024-10-23 12:40:27 +00:00
Christian Hagedorn
7131f053b0 8342043: Split Opaque4Node into OpaqueTemplateAssertionPredicateNode and OpaqueNotNullNode
Reviewed-by: kvn, roland
2024-10-23 08:00:42 +00:00
Matthias Baesken
37cfaa8deb 8338449: ubsan: division by zero in sharedRuntimeTrans.cpp
Reviewed-by: lucy, kbarrett
2024-10-23 07:08:07 +00:00
Hannes Wallnöfer
a1ef81889b 8342825: Fix order of @param tags in module java.desktop
Reviewed-by: prr
2024-10-23 06:54:31 +00:00
SendaoYan
cdad7286c6 8342646: JTREG_TEST_THREAD_FACTORY in testing.md should be TEST_THREAD_FACTORY
Reviewed-by: ihse, erikj
2024-10-23 06:49:46 +00:00
Christian Hagedorn
018db8c16a 8342809: C2 hits "assert(is_If()) failed: invalid node class: Con" during IGVN due to unhandled top
Reviewed-by: roland, thartmann
2024-10-23 06:39:18 +00:00
Manukumar V S
f1f15370fa 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Reviewed-by: abhiscxk, asemenov
2024-10-23 05:13:29 +00:00
Yasumasa Suenaga
476d0f1928 8339309: unused-variable warnings happen in libfontmanager
Reviewed-by: prr
2024-10-23 02:05:28 +00:00
Mandy Chung
d6eddcdaf9 8327624: Remove VM implementation that bypass verification for core reflection
Reviewed-by: liach, dholmes, jrose, alanb, mli
2024-10-22 18:14:37 +00:00
Aleksey Shipilev
28147dab07 8341913: Support CDS heap dumping for Shenandoah and Epsilon
Reviewed-by: iklam, matsaave
2024-10-22 17:58:20 +00:00
Justin Lu
c61d2c5a34 8341445: DecimalFormatSymbols setters should throw NPE
Reviewed-by: naoto
2024-10-22 17:21:38 +00:00
Brian Burkhalter
aafc8d0dcb 8342850: Change ProblemList to have LimitDirectMemory refer to JDK-8342849
Reviewed-by: tschatzl
2024-10-22 17:09:37 +00:00
Chad Rakoczy
893266c48f 8342601: AArch64: Micro-optimize bit shift in copy_memory
Reviewed-by: dlong, aph, shade
2024-10-22 16:11:37 +00:00
Claes Redestad
f9852aea8b 8342839: Malformed copyright in StringNameTable since JDK-8342806
Reviewed-by: thartmann
2024-10-22 15:31:11 +00:00
Claes Redestad
af5e53241b 8342806: Desugar capturing lambda in StringNameTable
Reviewed-by: mcimadamore, liach
2024-10-22 14:29:52 +00:00
Michael McMahon
01b681c80d 8326949: Authorization header is removed when a proxy Authenticator is set on HttpClient
Reviewed-by: dfuchs, jpai, djelinski
2024-10-22 14:09:10 +00:00
Claes Redestad
d10eecf161 8341776: Remove unused enum values from LambdaForm$Kind
Reviewed-by: liach
2024-10-22 13:51:42 +00:00
Martin Doerr
3bba0f3dc8 8342701: [PPC64] TestOSRLotsOfLocals.java crashes
Reviewed-by: lucy, rrich
2024-10-22 13:16:27 +00:00
Stefan Karlsson
264d7014a1 8342610: ZGC: Cleanup pre-touching code
Reviewed-by: aboldtch, mli, jsikstro, eosterlund
2024-10-22 13:15:17 +00:00
Ivan Walulya
f70ecc27a7 8342182: G1: G1OldGenAllocationTracker does not account for direct allocations in regions
Reviewed-by: tschatzl, sjohanss
2024-10-22 13:13:04 +00:00
SendaoYan
3b71657f59 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp
Reviewed-by: jpai, jvernee
2024-10-22 12:27:44 +00:00
Roland Westrelin
004aaea76d 8342330: C2: "node pinned on loop exit test?" assert failure
Reviewed-by: chagedorn, thartmann
2024-10-22 11:19:21 +00:00
Aggelos Biboudis
c9f38409cc 8342679: Clean up PreviewFeature.Feature
Reviewed-by: liach, vromero
2024-10-22 09:39:04 +00:00
Christian Hagedorn
2da7f2bcb0 8342787: Move misplaced TestTemplateAssertionPredicateWithTwoUCTs.java from src to test directory
Reviewed-by: thartmann, shade, jwaters
2024-10-22 08:34:46 +00:00
Kevin Walls
de441c2b68 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
Reviewed-by: dfuchs, amenkov
2024-10-22 08:29:55 +00:00
Aleksey Shipilev
bf92c49839 8342704: GHA: Report truncation is broken after JDK-8341424
Reviewed-by: erikj, jwaters
2024-10-22 07:07:13 +00:00
SendaoYan
8bcd4920f1 8342681: TestLoadBypassesNullCheck.java fails improperly specified VM option
Reviewed-by: shade
2024-10-22 02:09:08 +00:00
Alexey Semenyuk
7133d1b983 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only
Reviewed-by: almatvee
2024-10-21 22:13:25 +00:00
hanklo6
8276a41958 8342715: x86 unused orw instruction encoding could be removed
Reviewed-by: sviswanathan, jbhateja, kvn
2024-10-21 21:16:26 +00:00
Kim Barrett
5a4b180965 8342011: Conditionally compile ReservedHeapSpace compressed heap support
Reviewed-by: stefank, dholmes
2024-10-21 18:42:26 +00:00
Phil Race
e0c6480cd3 8338570: sun/font/HBShaper - mismatch in return type of FFM upcall function description and native invocation
Reviewed-by: serb, aivanov
2024-10-21 18:23:13 +00:00
Naoto Sato
71583222eb 8340477: Remove JDK1.1 compatible behavior for "EST", "MST", and "HST" time zones
Reviewed-by: iris, jlu, joehw
2024-10-21 17:20:50 +00:00
Hannes Wallnöfer
97c9212842 8342698: Fix order of @param tags in module java.base
Reviewed-by: iris
2024-10-21 17:14:25 +00:00
Justin Lu
51a7ff6594 8335271: Specify the MessageFormat ArgumentIndex Implementation Limit
Reviewed-by: darcy, iris, naoto, rriggs
2024-10-21 17:08:50 +00:00
hanklo6
52d752c43b 8339507: Test generation tool and gtest for testing APX encoding of extended gpr instructions
Reviewed-by: jbhateja, sviswanathan, kvn
2024-10-21 16:46:41 +00:00
Aleksey Shipilev
37aa320f57 8342376: More reliable OOM handling in ExceptionDuringDumpAtObjectsInitPhase test
Reviewed-by: iklam, phh
2024-10-21 15:56:19 +00:00
Smita Kamath
18bcbf7941 8341052: SHA-512 implementation using SHA-NI
Reviewed-by: jbhateja, ascarpino, sviswanathan, sparasa
2024-10-21 15:37:36 +00:00
Lance Andersen
54a744b023 8340553: ZipEntry field validation does not take into account the size of a CEN header
Reviewed-by: jpai, redestad, eirbjo
2024-10-21 15:34:27 +00:00
Joe Darcy
18b55ceaa4 8342653: Fix minor doc issues in AnnotatedElement
Reviewed-by: jpai, iris, liach
2024-10-21 15:14:12 +00:00
Sandhya Viswanathan
153ad911f9 8338126: C2 SuperWord: VectorCastF2HF / vcvtps2ph produces wrong results for vector length 2
Reviewed-by: thartmann, jbhateja, epeter
2024-10-21 14:58:43 +00:00
Kangcheng Xu
80ec552248 8328528: C2 should optimize long-typed parallel iv in an int counted loop
Reviewed-by: roland, chagedorn, thartmann
2024-10-21 14:57:31 +00:00
Tomas Zezula
330f2b5a9c 8342295: compiler/jvmci/TestJVMCISavedProperties.java fails due to garbage in output
Reviewed-by: dnsimon
2024-10-21 13:50:13 +00:00
Joel Sikström
1f3574855e 8342102: ZGC: Optimize copy constructors in ZPhysicalMemory
Reviewed-by: stefank, kbarrett, aboldtch
2024-10-21 13:16:10 +00:00
Robbin Ehn
66ddaaa359 8340241: RISC-V: Returns mispredicted
Reviewed-by: fyang, luhenry
2024-10-21 13:15:52 +00:00
Nizar Benalla
07f550b85a 8340818: Add a new jtreg test root to test the generated documentation
Reviewed-by: erikj
2024-10-21 10:22:14 +00:00
fabioromano1
27ef6c9df4 8341470: BigDecimal.stripTrailingZeros() optimization
Reviewed-by: rgiulietti
2024-10-21 10:14:15 +00:00
Nizar Benalla
5d5d88ab9a 8339570: Add Tidy build support for JDK tests
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj, ihse
2024-10-21 10:13:18 +00:00
Fei Yang
239d84a82a 8342578: GHA: RISC-V: Bootstrap using Debian snapshot is still failing
Reviewed-by: shade, erikj
2024-10-21 09:30:28 +00:00
Aleksey Shipilev
aa060f22d3 8342334: CDS: Scratch mirrors should not point to dead klasses
Reviewed-by: adinn, coleenp, iklam
2024-10-21 08:04:12 +00:00
Roland Westrelin
680dc5d896 8342496: C2/Shenandoah: SEGV in compiled code when running jcstress
Reviewed-by: shade, rkennke
2024-10-21 07:38:39 +00:00
Roland Westrelin
8f2b23bb53 8341407: C2: assert(main_limit == cl->limit() || get_ctrl(main_limit) == new_limit_ctrl) failed: wrong control for added limit
Reviewed-by: chagedorn, thartmann
2024-10-21 07:37:01 +00:00
SendaoYan
21682bcdcc 8342612: Increase memory usage of compiler/c2/TestScalarReplacementMaxLiveNodes.java
Reviewed-by: kvn
2024-10-21 07:20:48 +00:00
Christian Hagedorn
d61f56a300 8342287: C2 fails with "assert(is_IfTrue()) failed: invalid node class: IfFalse" due to Template Assertion Predicate with two UCTs
Reviewed-by: kvn, thartmann
2024-10-21 06:28:40 +00:00
Fei Yang
76ae072a1f 8342579: RISC-V: C2: Cleanup effect of killing flag register for call instructs
Reviewed-by: rehn, fjiang
2024-10-21 01:46:26 +00:00
Johannes Bechberger
309b929147 8336401: Remove the option onjcmd from the jdwp agent
Reviewed-by: cjplummer, mbaesken
2024-10-18 23:39:05 +00:00
Chad Rakoczy
401d0d6b09 8335662: [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn
Reviewed-by: thartmann, eastigeevich
2024-10-18 22:52:40 +00:00
Serguei Spitsyn
8591109419 8340698: JVMTI FRAME_POP event is sometimes missed if NotifyFramePop is called as a method is returning
Reviewed-by: cjplummer, amenkov
2024-10-18 19:34:17 +00:00
Justin Lu
078401134a 8340488: Clarify LocaleServiceProvider deployment on application module path
Reviewed-by: naoto
2024-10-18 17:41:36 +00:00
Fei Gao
4dcc7f3f26 8337536: AArch64: Enable BTI branch protection for runtime part
Co-authored-by: Hao Sun <haosun@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: aph, ihse, erikj, eliu
2024-10-18 15:00:58 +00:00
Matias Saavedra Silva
28252bb48d 8341444: Unnecessary check for JSRs in CDS
Reviewed-by: dholmes, coleenp
2024-10-18 13:23:52 +00:00
Alexey Ivanov
8174cbd5cb 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.

Reviewed-by: azvegint, achung, serb
2024-10-18 11:03:00 +00:00
Amit Kumar
9201e9fcc2 8342409: [s390x] C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Reviewed-by: rrich, lucy
2024-10-18 08:30:41 +00:00
Shaojin Wen
0963b9e891 8341664: ReferenceClassDescImpl cache internalName
Reviewed-by: liach
2024-10-18 08:06:09 +00:00
Tobias Hartmann
c51a086ce3 8339694: ciTypeFlow does not correctly handle unresolved constant dynamic of array type
Reviewed-by: kvn, vlivanov
2024-10-18 06:46:23 +00:00
Aleksey Shipilev
7f4ed5001e 8341020: Error handler crashes when Metaspace is not fully initialized
Reviewed-by: kbarrett, jsjolen, stefank, dholmes
2024-10-18 05:55:07 +00:00
Amit Kumar
f50bd0d9ec 8341513: Remove the unused thread_type field from OSThread
Reviewed-by: stefank, dholmes
2024-10-18 03:37:50 +00:00
Jaikiran Pai
7a16906ed0 8341134: Deprecate for removal the jrunscript tool
Reviewed-by: mchung, alanb, sundar
2024-10-18 00:57:11 +00:00
Jaikiran Pai
ffe60919df 8173970: jar tool should have a way to extract to a directory
Reviewed-by: lancea, cstein
2024-10-18 00:51:39 +00:00
Kevin Rushforth
2b03dbdac4 8311530: Deprecate jdk.jsobject module for removal
Reviewed-by: rriggs, alanb, erikj
2024-10-18 00:23:39 +00:00
Alisen Chung
f7e8f5064a 8341292: Open some TextArea awt tests 3
Reviewed-by: prr, abhiscxk
2024-10-17 21:00:48 +00:00
Nikita Gubarkov
fe83b7d596 8339341: SurfaceManager cacheMap retains strong references
Reviewed-by: jdv, prr
2024-10-17 20:54:18 +00:00
Alisen Chung
12551ae64a 8339975: Open some dialog awt tests 2
Reviewed-by: azvegint
2024-10-17 19:29:00 +00:00
Alisen Chung
60af9078fb 8340494: Open some dialog awt tests 4
Reviewed-by: dnguyen, honkar
2024-10-17 19:28:26 +00:00
Alisen Chung
40a44e1c1b 8340851: Open some TextArea awt tests
Reviewed-by: prr
2024-10-17 18:10:00 +00:00
Aleksey Shipilev
b993227e2f 8342119: Shenandoah: Remove extra ShenandoahUpdateRefsClosure
Reviewed-by: wkemper, kdnilsen, rkennke
2024-10-17 18:08:43 +00:00
Coleen Phillimore
83e9e482b1 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Reviewed-by: rehn, eosterlund, pchilanomate, aph, fbredberg
2024-10-17 18:06:42 +00:00
Alisen Chung
236c71cad9 8341376: Open some TextArea awt tests 4
Reviewed-by: prr, abhiscxk
2024-10-17 15:10:38 +00:00
Aleksey Shipilev
979895d175 8342079: Shenandoah: Remove extra ShenandoahInitMarkRootsClosure
Reviewed-by: wkemper, rkennke
2024-10-17 15:03:37 +00:00
Alisen Chung
9a94884e42 8341055: Open some TextArea awt tests 2
Reviewed-by: prr, abhiscxk
2024-10-17 14:50:01 +00:00
Alisen Chung
7e98f5905b 8340987: Open some TextArea awt tests 1
Reviewed-by: prr, abhiscxk
2024-10-17 14:49:03 +00:00
Ramkumar Sunderbabu
d915ac2abd 8339871: serviceability/sa/TestDebugInfoDecode.java should be driver
Reviewed-by: cjplummer, lmesnik
2024-10-17 14:34:58 +00:00
Matias Saavedra Silva
363327e686 8341452: Test runtime/cds/appcds/DumpRuntimeClassesTest.java from JDK-8324259 is failing
Reviewed-by: dholmes, iklam
2024-10-17 13:56:49 +00:00
Thomas Schatzl
d6f8b465e4 8340389: vmTestbase/gc/gctests/PhantomReference/phantom001/TestDescription.java Test exit code: 97 with -Xcomp UseAVX=3
Reviewed-by: shade, iwalulya
2024-10-17 12:31:43 +00:00
Ivan Walulya
8e16e67492 8342329: G1: Rename G1HeapRegionManager::_allocated_heapregions_length
Reviewed-by: tschatzl, shade
2024-10-17 12:26:39 +00:00
Shaojin Wen
3ebfc6c1e2 8342336: Optimize ClassFile imports
Reviewed-by: liach
2024-10-17 10:49:53 +00:00
Jan Lahoda
7ff4ea8d01 8341966: Broken annotated module may lead to an exception in javac
Reviewed-by: asotona
2024-10-17 09:26:13 +00:00
Antón Seoane Ampudia
9bdface147 8341622: Tag-specific disabled default decorators for UnifiedLogging
Reviewed-by: jsjolen, rcastanedalo, aboldtch
2024-10-17 09:18:22 +00:00
Alisen Chung
1ea1f33f66 8340336: Open some checkbox awt tests
Reviewed-by: prr, honkar
2024-10-17 08:43:07 +00:00
Simon Tooke
7a64fbbb92 8338851: Hoist os::Posix::realpath() to os::realpath() and implement on Windows
Reviewed-by: dholmes, stuefe, jwaters
2024-10-17 08:06:37 +00:00
Kevin Walls
8862ca076f 8342338: Remove redundant IIOPURLTest.java
Reviewed-by: cjplummer, amenkov
2024-10-17 08:01:14 +00:00
Richard Reingruber
f9208fadde 8341715: PPC64: ObjectMonitor::_owner should be reset unconditionally in nmethod unlocking
Reviewed-by: mdoerr, lucy
2024-10-17 07:21:42 +00:00
Richard Reingruber
fa39e84d64 8342042: PPC64: compiler_fast_unlock_object flags failure instead of success
Reviewed-by: mdoerr, aboldtch, fbredberg
2024-10-17 07:19:54 +00:00
Tejesh R
e0dabfb4bf 8340279: Open source several AWT Dialog tests - Batch 2
Reviewed-by: abhiscxk, prr
2024-10-17 06:38:23 +00:00
Tejesh R
f6fe5eaf1a 8341072: Open source several AWT Canvas and Rectangle related tests
Reviewed-by: prr
2024-10-17 05:48:45 +00:00
Christian Hagedorn
22a1feea74 8341328: Refactor initial Assertion Predicate creation into separate classes
Reviewed-by: thartmann, kvn
2024-10-17 05:08:59 +00:00
Tobias Hartmann
58d39c317e 8340313: Crash due to invalid oop in nmethod after C1 patching
Reviewed-by: tschatzl, kvn, dlong
2024-10-17 05:03:09 +00:00
Vlad Zahorodnii
3da6890081 8338751: ConfigureNotify behavior has changed in KWin 6.2
Reviewed-by: prr, azvegint, serb
2024-10-16 23:32:41 +00:00
Alisen Chung
4e703b285b 8340140: Open some dialog awt tests 3
Reviewed-by: prr, honkar
2024-10-16 21:57:15 +00:00
Valerie Peng
b4ab290fd7 8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Reviewed-by: weijun, ascarpino
2024-10-16 21:26:57 +00:00
Yudi Zheng
285385247a 8342332: [JVMCI] Export CompilerToVM::Data::dtanh
Reviewed-by: never
2024-10-16 19:58:27 +00:00
Richard Reingruber
ed6809666b 8341862: PPC64: C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Reviewed-by: mdoerr, mbaesken
2024-10-16 19:17:27 +00:00
Jatin Bhateja
d4f0ba73f6 8342439: Build failure after 8338023
Reviewed-by: liach
2024-10-16 18:26:54 +00:00
SendaoYan
44151f475f 8342145: File libCreationTimeHelper.c compile fails on Alpine
Reviewed-by: mbaesken
2024-10-16 16:27:57 +00:00
Jatin Bhateja
709914fc92 8338023: Support two vector selectFrom API
Reviewed-by: psandoz, epeter, sviswanathan
2024-10-16 16:08:02 +00:00
Gerard Ziemski
c34fb2c989 8338883: Show warning when CreateCoredumpOnCrash set, but core dump will not happen
Reviewed-by: dholmes, jsjolen
2024-10-16 15:32:07 +00:00
Aleksey Shipilev
7625b29920 8329597: C2: Intrinsify Reference.clear
Reviewed-by: rcastanedalo, eosterlund, kvn
2024-10-16 14:08:10 +00:00
Matthias Baesken
1cc32237ae 8336911: ZGC: Division by zero in heuristics after JDK-8332717
Reviewed-by: aboldtch, eosterlund
2024-10-16 13:36:58 +00:00
Jaikiran Pai
cf5bb12731 Merge
Reviewed-by: alanb, dfuchs
2024-10-16 11:36:01 +00:00
Nizar Benalla
c81aa7551c 8331051: Add an @since checker test for java.base module
Reviewed-by: jlahoda, jjg
2024-10-16 10:17:47 +00:00
Johny Jose
ebc17c7c8d 8339637: (tz) Update Timezone Data to 2024b
Reviewed-by: naoto, coffeys, jlu
2024-10-16 07:36:07 +00:00
Matthias Baesken
e7cf25ce0e 8340801: Disable ubsan checks in some awt/2d coding
Reviewed-by: ihse, lucy, goetz, jwaters
2024-10-16 07:28:36 +00:00
Thomas Schatzl
577babf196 8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes
Reviewed-by: shade, iwalulya
2024-10-16 07:27:28 +00:00
Emanuel Peter
b9b0bd0871 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
Reviewed-by: chagedorn, tholenstein
2024-10-16 07:23:12 +00:00
Aleksey Shipilev
724de68209 8342081: Shenandoah: Remove extra ShenandoahMarkUpdateRefsSuperClosure
Reviewed-by: ysr
2024-10-16 07:13:59 +00:00
Kim Barrett
e4ff553c12 8341931: os_linux gtest uses lambdas with explicit capture lists
Reviewed-by: jwaters, jsjolen
2024-10-16 07:05:17 +00:00
Ramkumar Sunderbabu
e94e3bba39 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Reviewed-by: rriggs, dfuchs
2024-10-16 06:52:42 +00:00
Tejesh R
6d7e67956b 8340790: Open source several AWT Dialog tests - Batch 4
Reviewed-by: honkar, prr
2024-10-16 05:14:59 +00:00
Jaikiran Pai
86ce19e8db 8341142: Maintain a single source file for sun.net.www.protocol.jar.JarFileFactory
Reviewed-by: dfuchs
2024-10-16 01:51:09 +00:00
Brian Burkhalter
b9cabbecda 8341997: Tests create files in src tree instead of scratch dir
Reviewed-by: erikj, jpai
2024-10-15 17:44:49 +00:00
Julian Waters
5eae20f73b 8323672: Suppress unwanted autoconf added flags in CC and CXX
Reviewed-by: ihse
2024-10-15 14:10:53 +00:00
Aleksey Shipilev
6ed6dff222 8341871: Disable G1 for unsupported platforms after JDK-8334060
Reviewed-by: mdoerr, erikj
2024-10-15 12:55:49 +00:00
Aleksey Shipilev
54c9348c8c 8336103: Clean up confusing Method::is_initializer
Reviewed-by: dholmes, coleenp
2024-10-15 12:16:15 +00:00
Matthias Baesken
2c0c65353b 8342044: Increase timeout of gc/shenandoah/oom/TestClassLoaderLeak.java
Reviewed-by: shade
2024-10-15 11:52:34 +00:00
Emanuel Peter
490d099e23 8335713: Enhance vectorization analysis
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: rhalade, ahgross, thartmann, kvn
2024-10-15 17:04:27 +05:30
Dean Long
c89f76c0b9 8332644: Improve graph optimizations
Co-authored-by: Martin Balao <mbalao@redhat.com>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: epeter, ahgross, thartmann, rhalade, dlong, roland
2024-10-15 17:04:27 +05:30
Justin Lu
d9f6383037 8331446: Improve deserialization support
Reviewed-by: rhalade, skoivu, rriggs, naoto
2024-10-15 17:04:27 +05:30
Hai-May Chao
dadcee1b89 8307383: Enhance DTLS connections
Co-authored-by: Jamil Nimeh <jnimeh@openjdk.org>
Reviewed-by: rhalade, mschoene, ascarpino
2024-10-15 17:04:27 +05:30
Matias Saavedra Silva
498a58244d 8311208: Improve CDS Support
Reviewed-by: rhalade, mschoene, ccheung, iklam
2024-10-15 17:04:27 +05:30
Emanuel Peter
cfa25b71a6 8328544: Improve handling of vectorization
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: mschoene, kvn, chagedorn, rhalade
2024-10-15 17:04:27 +05:30
Daniel Fuchs
03bc6b359f 8328286: Enhance HTTP client
Reviewed-by: aefimov, michaelm
2024-10-15 17:04:27 +05:30
Weijun Wang
893e7bc894 8328726: Better Kerberos support
Reviewed-by: ahgross, rhalade, valeriep, coffeys
2024-10-15 17:04:27 +05:30
Valerie Peng
369c573383 8302111: Serialization considerations
Reviewed-by: skoivu, rhalade, weijun, wetmore
2024-10-15 17:04:27 +05:30
Kevin Walls
df7d6e081f 8338603: DiagnosticCommandMBean operations should standardize types for parameters
Reviewed-by: cjplummer, egahlin
2024-10-15 10:50:45 +00:00
Thomas Schatzl
c9a536c330 8337339: gc/arguments/Test*SizeFlags.java timing out with Xcomp
Reviewed-by: shade, iwalulya
2024-10-15 09:15:40 +00:00
Maurizio Cimadamore
f4dccfd4cf 8338596: Clarify handling of restricted and caller-sensitive methods
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: alanb, jvernee
2024-10-15 09:10:13 +00:00
Thomas Schatzl
3b8a2f8c45 8337269: G1ConfidencePercent interpreted inconsistently
Reviewed-by: kbarrett, iwalulya
2024-10-15 08:46:23 +00:00
Per Minborg
521effe017 8340189: 8339531 incorrect for Big Endian platforms
Reviewed-by: mdoerr, amitkumar
2024-10-15 07:59:33 +00:00
t.ogata
e6698f51a1 8337851: Some tests have name which confuse jtreg
Reviewed-by: aivanov, prr, cstein
2024-10-15 07:47:42 +00:00
Fei Yang
a601cd2e10 8342014: RISC-V: ZStoreBarrierStubC2 clobbers rflags
Reviewed-by: rehn, aboldtch, mli
2024-10-15 02:53:44 +00:00
Chen Liang
bd6264420b 8341924: Improve error message with structurally malformed Code array
Reviewed-by: asotona
2024-10-14 17:22:11 +00:00
Chen Liang
a2c775222e 8317356: Fix missing null checks in the ClassFile API
Co-authored-by: Nizar Benalla <nbenalla@openjdk.org>
Reviewed-by: asotona
2024-10-14 17:21:10 +00:00
Alisen Chung
60713463c7 8339879: Open some dialog awt tests
Reviewed-by: honkar, prr
2024-10-14 16:45:59 +00:00
Igor Veresov
a8a8b2deba 8341831: PhaseCFG::insert_anti_dependences asserts with "no loads"
Reviewed-by: dlong, kvn
2024-10-14 16:44:53 +00:00
Weijun Wang
9e262df813 8342002: sun/security/tools/keytool/GenKeyPairSigner.java failed due to missing certificate output
Reviewed-by: mullan
2024-10-14 16:00:04 +00:00
SendaoYan
f56a154132 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: liach, sgehwolf, ihse, bpb
2024-10-14 12:32:55 +00:00
Daniel Fuchs
ba3774dc5d 8341637: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Reviewed-by: jpai
2024-10-14 12:29:06 +00:00
Afshin Zafari
1581508988 8335091: NMT: VMATree reserve_mapping and commit_mapping APIs need MEMFLAGS while un/-committing API has no MEMFLAGS arg
Reviewed-by: jsjolen, gziemski
2024-10-14 10:51:37 +00:00
Matthias Baesken
b20c5c79de 8341967: Unify os::current_file_offset and os::seek_to_file_offset across posix platforms
Reviewed-by: jsjolen, mdoerr
2024-10-14 10:34:19 +00:00
Fei Gao
dcac4b0a53 8341471: Reversed field layout caused by unstable sorting
Reviewed-by: jwaters, jsjolen
2024-10-14 08:40:03 +00:00
Aleksey Shipilev
e3f6503937 8341893: AArch64: Micro-optimize compressed ptr decoding
Reviewed-by: aph, fyang
2024-10-14 07:55:38 +00:00
Aleksey Shipilev
037f11b864 8341708: Optimize safepoint poll encoding with smaller poll data offset
Reviewed-by: kvn, qamai
2024-10-14 06:02:00 +00:00
Tobias Hartmann
8d0975a27d 8336726: C2: assert(!do_asserts || projs->fallthrough_ioproj != nullptr) failed: must be found
Reviewed-by: chagedorn, kvn, vlivanov
2024-10-14 05:26:48 +00:00
Abhishek Kumar
fe98f86b57 8226938: [TEST_BUG]GTK L&F: There is no Details button in FileChooser Dialog
Reviewed-by: honkar, prr
2024-10-14 04:45:24 +00:00
Abhishek Kumar
5c4f1ef746 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Reviewed-by: aivanov, psadhukhan, tr
2024-10-14 04:45:12 +00:00
Ramkumar Sunderbabu
41ee582df8 8341138: Rename jtreg property docker.support as container.support
Reviewed-by: sgehwolf, mseledtsov
2024-10-12 03:25:42 +00:00
Daniel D. Daugherty
2e1c1936e1 8342003: ProblemList sun/security/tools/keytool/GenKeyPairSigner.java
Reviewed-by: jpai
2024-10-12 02:45:50 +00:00
Justin Lu
2db3397187 8341797: Fix ExceptionOccurred in jdk.jdi
Reviewed-by: amenkov, cjplummer
2024-10-11 21:31:58 +00:00
Justin Lu
c4965d9b13 8341794: Fix ExceptionOccurred in jdk.attach
Reviewed-by: amenkov, cjplummer
2024-10-11 21:30:53 +00:00
Weijun Wang
3f53d57134 8340327: A common framework to support public key algorithms with standard parameter sets
Reviewed-by: ascarpino, mullan
2024-10-11 21:16:41 +00:00
Kim Barrett
0a57fe1df6 8341178: TypeRawPtr::add_offset may be "miscompiled" due to UB
Reviewed-by: dlong, kvn
2024-10-11 21:11:12 +00:00
Damon Nguyen
1f6bd0c3e5 8341972: java/awt/dnd/DnDRemoveFocusOwnerCrashTest.java timed out after JDK-8341257
Reviewed-by: azvegint
2024-10-11 20:03:14 +00:00
Quan Anh Mai
7276a1bec0 8341784: Refactor TypeVect to use a BasicType instead of a const Type*
Reviewed-by: kvn, jkarthikeyan
2024-10-11 15:28:15 +00:00
Jan Lahoda
6133866150 8341070: javac fails with an exception when compiling import module under source level 8
Reviewed-by: asotona
2024-10-11 10:07:34 +00:00
Thomas Schatzl
519544c1d7 8341909: G1: Add region index to region printer output
Reviewed-by: kbarrett, lkorinth
2024-10-11 09:12:16 +00:00
Matthias Baesken
7c0dbf8e9c 8341820: Check return value of hcreate_r
Reviewed-by: cjplummer, lucy
2024-10-11 08:22:27 +00:00
SendaoYan
ae41daf9a7 8341880: RISC-V: riscv_vector.h native build fails with gcc13 after JDK-8320500
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: mli, fyang
2024-10-11 08:12:37 +00:00
SendaoYan
ace44e564f 8341806: Gcc version detection failure on Alinux3
Reviewed-by: ihse, jwaters
2024-10-11 07:29:11 +00:00
Shaojin Wen
472db922fa 8341900: Optimize DirectCodeBuilder writeBody
Reviewed-by: liach
2024-10-11 02:17:37 +00:00
Shaojin Wen
24eb360147 8341906: Optimize ClassFile writing BufBuffer
Reviewed-by: liach
2024-10-11 00:29:14 +00:00
Damon Nguyen
cd4981c292 8341257: Open source few DND tests - Set1
Reviewed-by: honkar, prr
2024-10-10 21:42:23 +00:00
William Kemper
06f34d7ed2 8339651: ShenandoahPacer::setup_for_mark, ShenandoahPacer::setup_for_updaterefs and ShenandoahPacer::setup_for_evac runtime error: division by zero
Reviewed-by: shade, mli
2024-10-10 18:45:10 +00:00
Damon Nguyen
97ee8bbda2 8340173: Open source some Component/Panel/EventQueue tests - Set2
Reviewed-by: honkar
2024-10-10 18:17:55 +00:00
Daniel Gredler
2a6f0307e8 8339974: Graphics2D.drawString doesn't always work with Font derived from AffineTransform
Reviewed-by: prr, azvegint
2024-10-10 18:00:33 +00:00
Harshitha Onkar
32f817a460 8340978: Open source few DnD tests - Set6
Reviewed-by: prr
2024-10-10 17:55:26 +00:00
Justin Lu
a5cad0ee1e 8341791: Fix ExceptionOccurred in java.prefs
Reviewed-by: bpb, jpai, naoto
2024-10-10 17:33:38 +00:00
Justin Lu
7eb55357ab 8341789: Fix ExceptionOccurred in java.base
Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto
2024-10-10 17:33:22 +00:00
Weijun Wang
76541b0646 8341792: Fix ExceptionOccurred in java.security.jgss
Reviewed-by: jlu, mullan
2024-10-10 17:22:45 +00:00
Axel Boldt-Christmas
6fad6af0de 8341819: LightweightSynchronizer::enter_for races with deflation
Reviewed-by: pchilanomate, rkennke
2024-10-10 17:02:54 +00:00
Aleksei Efimov
4beb77192f 8339538: Wrong timeout computations in DnsClient
8220213: com/sun/jndi/dns/ConfigTests/Timeout.java failed intermittent

Reviewed-by: dfuchs, msheppar, djelinski
2024-10-10 15:56:04 +00:00
Tejesh R
a7d2077fe2 8340366: Open source several AWT Dialog tests - Batch 3
Reviewed-by: prr, dnguyen
2024-10-10 15:50:19 +00:00
Tejesh R
2d8fcc4271 8340193: Open source several AWT Dialog tests - Batch 1
Reviewed-by: psadhukhan
2024-10-10 15:34:39 +00:00
Shaojin Wen
6e0138450a 8341136: Optimize StackMapGenerator::trimAndCompress
Reviewed-by: liach
2024-10-10 15:13:39 +00:00
Shaojin Wen
e9327b6e3c 8339205: Optimize StackMapGenerator
Reviewed-by: liach
2024-10-10 14:32:32 +00:00
Roberto Castañeda Lozano
16042556f3 8341619: C2: remove unused StoreCM node
Reviewed-by: chagedorn, thartmann, kvn
2024-10-10 08:34:10 +00:00
Matthias Baesken
e7c5bf45f7 8341722: Fix some warnings as errors when building on Linux with toolchain clang
Reviewed-by: cjplummer, lucy
2024-10-10 07:21:05 +00:00
Christian Hagedorn
36fca5d19d 8341882: [BACKOUT] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: thartmann
2024-10-10 06:40:55 +00:00
Abhishek Kumar
780de00922 8051591: Test javax/swing/JTabbedPane/8007563/Test8007563.java fails
Reviewed-by: honkar, dnguyen, psadhukhan
2024-10-10 05:57:39 +00:00
Abhishek Kumar
313f4a9621 8340809: Open source few more AWT PopupMenu tests
Reviewed-by: prr, aivanov
2024-10-10 05:40:21 +00:00
SendaoYan
9d621d3914 8338884: java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: sgehwolf, bpb
2024-10-10 01:04:02 +00:00
Shaojin Wen
475f8f94e0 8341859: Optimize ClassFile Benchmark Write
Reviewed-by: liach
2024-10-10 00:03:08 +00:00
Shaojin Wen
c850ecb20a 8341755: Optimize argNames in InnerClassLambdaMetafactory
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 23:50:18 +00:00
Alexander Zuev
172f74466f 8340985: Open source some Desktop related tests
Reviewed-by: abhiscxk
2024-10-09 22:10:32 +00:00
Justin Lu
e7045e9399 8341684: Typo in External Specifications link of java.util.Currency
Reviewed-by: liach, naoto, srl
2024-10-09 21:46:50 +00:00
Justin Lu
49c7148d37 8341366: Suspicious check in Locale.getDisplayName(Locale inLocale)
Reviewed-by: naoto
2024-10-09 21:45:47 +00:00
Alexander Zuev
52eded4a9c 8341170: Open source several Choice related tests (part 2)
Reviewed-by: honkar
2024-10-09 20:31:02 +00:00
Daniel D. Daugherty
a45abf131b 8341860: ProblemList applications/ctw/modules/java_base_2.java on linux-x64
Reviewed-by: azvegint
2024-10-09 18:20:52 +00:00
Phil Race
593c27e697 8341535: sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering
Reviewed-by: mbaesken
2024-10-09 18:17:53 +00:00
Jatin Bhateja
3180aaa370 8341832: Incorrect continuation address of synthetic SIGSEGV for APX in product builds
Reviewed-by: thartmann, sviswanathan, kvn
2024-10-09 17:44:15 +00:00
Aleksey Shipilev
3ab519f163 8341424: GHA: Collect hs_errs from build time failures
Reviewed-by: ihse, jwaters
2024-10-09 17:30:28 +00:00
Shaojin Wen
a24525b67b 8339320: Optimize ClassFile Utf8EntryImpl#inflate
Reviewed-by: liach
2024-10-09 17:21:59 +00:00
Fredrik Bredberg
fcc9c8d570 8341854: Incorrect clearing of ZF in fast_unlock_lightweight on x86
Reviewed-by: stefank, aboldtch, pchilanomate, dcubed
2024-10-09 16:45:56 +00:00
Archie Cobbs
38c1d65148 8337980: Javac allows invocation of an inherited instance method from a static method
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jlahoda
2024-10-09 16:03:55 +00:00
Eirik Bjørsnøs
950e3a7587 8341625: Improve ZipFile validation of the END header
Reviewed-by: lancea
2024-10-09 15:56:38 +00:00
Oli Gillespie
e704c055a4 8340547: Starting many threads can delay safepoints
Reviewed-by: shade, qamai, dholmes
2024-10-09 15:28:44 +00:00
Kangcheng Xu
c30ad0124e 8325495: C2: implement optimization for series of Add of unique value
Reviewed-by: chagedorn, roland
2024-10-09 15:07:13 +00:00
Roland Westrelin
ff2f39f240 8340214: C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
Reviewed-by: chagedorn, thartmann
2024-10-09 14:59:15 +00:00
Roland Westrelin
ecc77a5b4a 8336702: C2 compilation fails with "all memory state should have been processed" assert
Reviewed-by: thartmann, chagedorn
2024-10-09 14:57:37 +00:00
Johan Sjölen
d936556799 8341633: StatSampler::assert_system_property: Print the keys and values of the assert
Reviewed-by: stefank
2024-10-09 13:05:33 +00:00
Christian Hagedorn
3fba1702cd 8340786: Introduce Predicate classes with predicate iterators and visitors for simplified walking
Reviewed-by: roland, thartmann
2024-10-09 11:42:22 +00:00
Shaojin Wen
047c2d7f26 8341141: Optimize DirectCodeBuilder
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 10:01:22 +00:00
SendaoYan
d636e0d314 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code
Reviewed-by: aph, jsjolen, jwaters
2024-10-09 09:02:52 +00:00
Daniel Skantz
d3f3c6a8cd 8330157: C2: Add a stress flag for bailouts
Reviewed-by: chagedorn, thartmann
2024-10-09 07:01:23 +00:00
SendaoYan
d809bc0e21 8341658: RISC-V: Test DateFormatProviderTest.java run timeouted
Reviewed-by: naoto
2024-10-09 05:47:58 +00:00
Ramkumar Sunderbabu
de90204b60 8341588: Remove CollectionUsageThreshold.java from ProblemList-Xcomp for debugging
Reviewed-by: lmesnik, kevinw
2024-10-09 03:11:59 +00:00
Daniel D. Daugherty
f276f58fb4 8341803: ProblemList containers/docker/TestJcmdWithSideCar.java on linux-x64
8341805: ProblemList five mlvm/indy/func/jvmti tests in Xcomp mode

Reviewed-by: psandoz
2024-10-09 00:00:09 +00:00
Igor Veresov
7eab0a506a 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Reviewed-by: kvn, thartmann
2024-10-08 23:21:44 +00:00
Shaojin Wen
62acc9c174 8341548: More concise use of classfile API
Reviewed-by: liach
2024-10-08 20:35:14 +00:00
Leonid Mesnik
7312eea382 8341131: Some jdk/jfr/event/compiler tests shouldn't be executed with Xcomp
Reviewed-by: chagedorn
2024-10-08 17:44:35 +00:00
Alexander Zvegintsev
966eb7232f 8341447: Open source closed frame tests # 5
Reviewed-by: honkar
2024-10-08 17:37:48 +00:00
Harshitha Onkar
b9db74a645 8341378: Open source few TrayIcon tests - Set8
Reviewed-by: azvegint, dnguyen
2024-10-08 16:34:45 +00:00
Hannes Wallnöfer
65463536e6 8340203: Link color is hard to distinguish from text color in API documentation
Reviewed-by: prappo
2024-10-08 16:16:14 +00:00
Hamlin Li
580eb62dc0 8320500: [vectorapi] RISC-V: Optimize vector math operations with SLEEF
Reviewed-by: luhenry, ihse, erikj, fyang, rehn
2024-10-08 15:15:13 +00:00
Thomas Schatzl
4a12f5b26e 8341643: G1: Merged cards counter skewed by merge cards cache
Reviewed-by: iwalulya, mli
2024-10-08 14:12:53 +00:00
Matthias Baesken
6e48618161 8341644: Compile error in cgroup coding when using toolchain clang
Reviewed-by: stefank, mdoerr
2024-10-08 12:36:31 +00:00
Eirik Bjørsnøs
7a1e832ea9 8336843: Deprecate java.util.zip.ZipError for removal
Reviewed-by: liach, lancea
2024-10-08 10:08:31 +00:00
Eirik Bjørsnøs
f62dba3651 8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
Reviewed-by: lancea
2024-10-08 09:59:29 +00:00
Amit Kumar
59ac7039d3 8339220: [s390x] TestIfMinMax.java failure
Reviewed-by: lucy, aph
2024-10-08 09:19:40 +00:00
Claes Redestad
ffb60e55cd 8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
Reviewed-by: lancea
2024-10-08 08:14:40 +00:00
Tejesh R
57c859e4ad 8339836: Open source several AWT Mouse tests - Batch 1
Reviewed-by: honkar, prr
2024-10-08 06:33:22 +00:00
Tejesh R
b6a4047387 8339982: Open source several AWT Mouse tests - Batch 2
Reviewed-by: psadhukhan
2024-10-08 06:33:11 +00:00
William Kemper
45a6359588 8341668: Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition
Reviewed-by: ysr
2024-10-08 01:26:16 +00:00
Shaojin Wen
d996ca863d 8341581: Optimize BytecodeHelpers validate slot
Reviewed-by: liach
2024-10-07 23:30:06 +00:00
Harshitha Onkar
4d50cbb5a7 8341278: Open source few TrayIcon tests - Set7
Reviewed-by: azvegint
2024-10-07 21:29:21 +00:00
Mikael Vidstedt
23f3ca254a 8330206: Bump minimum boot jdk to JDK 23
Reviewed-by: darcy, iris, erikj
2024-10-07 19:33:48 +00:00
Harshitha Onkar
fc7244da96 8340713: Open source DnD tests - Set5
Reviewed-by: azvegint, dnguyen
2024-10-07 17:42:17 +00:00
Eirik Bjørsnøs
f7bb647dc8 8341595: Clean up iteration of CEN headers in ZipFile.Source.initCEN
Reviewed-by: lancea, redestad
2024-10-07 16:34:08 +00:00
Alexander Zvegintsev
d0c5e4bc50 8341373: Open source closed frame tests # 4
Reviewed-by: prr
2024-10-07 16:32:01 +00:00
SendaoYan
3359518986 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode
Reviewed-by: jvernee
2024-10-07 16:28:02 +00:00
Ivan Walulya
a2372c607c 8341238: G1: Refactor G1Policy to move collection set selection methods into G1CollectionSet
Reviewed-by: tschatzl, mli
2024-10-07 13:26:16 +00:00
Alexey Ivanov
4ba170c403 8341235: Improve default instruction frame title in PassFailJFrame
Reviewed-by: prr
2024-10-07 12:45:04 +00:00
Alexey Ivanov
520060f79a 8340799: Add border inside instruction frame in PassFailJFrame
Reviewed-by: prr, dnguyen
2024-10-07 12:44:42 +00:00
Hamlin Li
28977972a0 8340880: RISC-V: add t3-t6 alias into assemler_riscv.hpp
Reviewed-by: luhenry, fyang
2024-10-07 09:32:40 +00:00
SendaoYan
747a3fa31d 8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code
Reviewed-by: fyang, luhenry
2024-10-07 08:39:44 +00:00
Roberto Castañeda Lozano
81ebbb2463 8341525: G1: use bit clearing to remove tightly-coupled initialization store pre-barriers
Reviewed-by: mdoerr, kbarrett, shade, tschatzl
2024-10-07 08:28:18 +00:00
Tobias Hartmann
92186a2774 8341612: [BACKOUT] 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: chagedorn
2024-10-07 07:58:01 +00:00
Aleksey Shipilev
6600161ad4 8338379: Accesses to class init state should be properly synchronized
Reviewed-by: mdoerr, dholmes, coleenp, fyang, amitkumar
2024-10-07 07:05:31 +00:00
David M. Lloyd
20f36c666c 8339329: ConstantPoolBuilder#constantValueEntry method doc typo and clarifications
Reviewed-by: liach
2024-10-06 16:26:45 +00:00
SendaoYan
50426b3841 8337713: RISC-V: fix typos in macroAssembler_riscv.cpp
Reviewed-by: jwaters, fyang
2024-10-06 12:21:17 +00:00
Attila Szegedi
260d4658ae 8340572: ConcurrentModificationException when sorting ArrayList sublists
Reviewed-by: smarks
2024-10-05 21:15:18 +00:00
Martin Doerr
9a25f822fb 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method
Reviewed-by: rrich, lucy
2024-10-05 18:42:37 +00:00
Martin Doerr
df763cd2c2 8341558: [AIX] build broken after 8341413
Reviewed-by: kbarrett
2024-10-05 18:34:31 +00:00
Shaojin Wen
1c3e56c3e4 8341512: Optimize StackMapGenerator::processInvokeInstructions
Reviewed-by: liach
2024-10-05 15:37:18 +00:00
Shaojin Wen
f8db3a831b 8341510: Optimize StackMapGenerator::processFieldInstructions
Reviewed-by: liach
2024-10-05 01:21:25 +00:00
Shaojin Wen
b42fbf43df 8339699: Optimize DataOutputStream writeUTF
Reviewed-by: liach, bpb
2024-10-04 22:35:03 +00:00
Damon Nguyen
559289487d 8340417: Open source some MenuBar tests - Set1
Reviewed-by: psadhukhan
2024-10-04 22:08:37 +00:00
William Kemper
bade041db8 8341554: Shenandoah: Missing heap lock when updating usage for soft ref policy
Reviewed-by: kdnilsen, ysr
2024-10-04 21:56:06 +00:00
Alexander Matveev
85e0e6452d 8341443: [macos] AppContentTest and SigningOptionsTest failed due to "codesign" does not fails with "--app-content" on macOS 15
Reviewed-by: asemenyuk
2024-10-04 21:21:47 +00:00
Chris Plummer
33e4bfdf91 8341295: Add some useful debugging APIs to the debug agent
Reviewed-by: amenkov, sspitsyn
2024-10-04 21:17:21 +00:00
Joe Darcy
a3e23572d5 8341483: Clarify special case handling of Types.getArrayType
Reviewed-by: liach, prappo, dlsmith
2024-10-04 20:31:28 +00:00
Joe Darcy
e70cbcfd0c 8341541: Wrong anchor in wrapper classes links
Reviewed-by: hannesw, liach
2024-10-04 19:25:31 +00:00
Damon Nguyen
86e3d52c70 8341258: Open source few various AWT tests - Set1
Reviewed-by: psadhukhan
2024-10-04 18:42:45 +00:00
Damon Nguyen
92cb633108 8340967: Open source few Cursor tests - Set2
Reviewed-by: psadhukhan
2024-10-04 18:39:30 +00:00
Damon Nguyen
3d38cd97ef 8340966: Open source few Checkbox and Cursor tests - Set1
Reviewed-by: psadhukhan, jdv
2024-10-04 18:36:26 +00:00
Damon Nguyen
7e3978eab2 8340164: Open source few Component tests - Set1
Reviewed-by: psadhukhan, prr
2024-10-04 18:35:08 +00:00
Jayathirth D V
c8e70df37e 8341162: Open source some of the AWT window test
Reviewed-by: aivanov
2024-10-04 18:08:37 +00:00
Justin Lu
2e5b420f81 8340326: Remove references to Applet in core-libs/security tests
Reviewed-by: prr, naoto, dfuchs
2024-10-04 17:34:08 +00:00
Kelvin Nilsen
f5f0852f51 8341379: Shenandoah: Improve lock contention during cleanup
Reviewed-by: xpeng, phh, wkemper
2024-10-04 17:29:31 +00:00
Phil Race
04c9c5f0a7 8341111: open source several AWT tests including menu shortcut tests
Reviewed-by: psadhukhan, jdv
2024-10-04 17:20:09 +00:00
Harshitha Onkar
0dd4997042 8340555: Open source DnD tests - Set4
Reviewed-by: aivanov, azvegint
2024-10-04 16:38:31 +00:00
Calvin Cheung
beb2a51b12 8341377: Update VMProps.isCDSRuntimeOptionsCompatible to include Parallel and Serial GC
Reviewed-by: dholmes, shade
2024-10-04 16:20:01 +00:00
Calvin Cheung
42f32551cd 8341053: Two CDS tests fail again with -UseCompressedOops and UseSerialGC/UseParallelGC
Reviewed-by: iklam, matsaave
2024-10-04 16:14:51 +00:00
Kim Barrett
feb6a830e2 8340945: Ubsan: oopStorage.cpp:374:8: runtime error: applying non-zero offset 18446744073709551168 to null pointer
Reviewed-by: tschatzl, mbaesken
2024-10-04 15:58:22 +00:00
Jayathirth D V
db61458da8 8341298: Open source more AWT window tests
Reviewed-by: abhiscxk
2024-10-04 11:55:21 +00:00
Stefan Karlsson
72ac72fe1f 8341413: Stop including osThread_os.hpp in the middle of the OSThread class
Reviewed-by: coleenp, dholmes
2024-10-04 11:43:11 +00:00
Maurizio Cimadamore
7fa2f229fb 8341127: Extra call to MethodHandle::asType from memory segment var handles fails to inline
Reviewed-by: psandoz, redestad, jvernee
2024-10-04 09:45:50 +00:00
Todd V. Jonker
1bdd79e7b2 8341261: Tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: stefank, mli, ysr
2024-10-04 09:01:41 +00:00
Stefan Johansson
ec020f3fc9 8340426: ZGC: Move defragment out of the allocation path
Reviewed-by: aboldtch, jsikstro, eosterlund
2024-10-04 08:26:35 +00:00
Richard Reingruber
a63ac5a699 8340792: -XX:+PrintInterpreter: instructions should only be printed if printing all InterpreterCodelets
Reviewed-by: mdoerr, coleenp
2024-10-04 08:26:15 +00:00
Axel Boldt-Christmas
3f420fac84 8341451: Remove C2HandleAnonOMOwnerStub
Reviewed-by: fyang, chagedorn
2024-10-04 06:55:53 +00:00
Jayathirth D V
d3139b4c36 8341000: Open source some of the AWT Window tests
Reviewed-by: psadhukhan, abhiscxk
2024-10-04 06:49:54 +00:00
Dhamoder Nalla
4ded28380b 8338136: Hotspot should support multiple large page sizes on Windows
Reviewed-by: dholmes, djelinski
2024-10-04 04:50:54 +00:00
Daniel D. Daugherty
10402b43c7 8341489: ProblemList runtime/cds/appcds/DumpRuntimeClassesTest.java in Xcomp mode
Reviewed-by: matsaave
2024-10-03 20:25:47 +00:00
Manukumar V S
6bc3971f64 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Reviewed-by: prr
2024-10-03 19:36:06 +00:00
Phil Race
e89fd1d2ce 8341128: open source some 2d graphics tests
Reviewed-by: psadhukhan
2024-10-03 19:22:28 +00:00
Harshitha Onkar
6f459aff45 8340077: Open source few Checkbox tests - Set2
Reviewed-by: prr, azvegint, psadhukhan
2024-10-03 18:01:22 +00:00
Jamil Nimeh
b6e72ff971 8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status
Reviewed-by: valeriep
2024-10-03 17:16:31 +00:00
Damon Nguyen
013250e4a7 8340432: Open source some MenuBar tests - Set2
Reviewed-by: prr, psadhukhan
2024-10-03 16:46:46 +00:00
Hannes Wallnöfer
de12fc7a36 8339684: ResizeObserver callback interrupts smooth scrolling on Chrome
Reviewed-by: prappo
2024-10-03 16:44:22 +00:00
Alexander Zuev
ebb4759c3d 8340625: Open source additional Component tests (part 3)
Reviewed-by: psadhukhan
2024-10-03 16:19:09 +00:00
Brian Burkhalter
3ee94e040a 8341282: (fs) Move creation time fallback logic to Java layer (Linux)
Reviewed-by: sgehwolf, alanb
2024-10-03 15:13:58 +00:00
Brian Burkhalter
f1ea57f06a 8340229: Improve opening sentence of FileInputStream constructor specification
Reviewed-by: alanb, jpai
2024-10-03 15:13:42 +00:00
Shaojin Wen
12028000db 8341006: Optimize StackMapGenerator detect frames
Reviewed-by: liach
2024-10-03 14:34:05 +00:00
Alan Bateman
eb93e6952b 8339979: VirtualThreadSchedulerMXBeanTest.testReduceParallelism fails intermittently
Reviewed-by: kevinw
2024-10-03 14:02:40 +00:00
Severin Gehwolf
21f8ccf4a9 8341310: Test TestJcmdWithSideCar.java should skip ACCESS_TMP_VIA_PROC_ROOT (after JDK-8327114)
Reviewed-by: kevinw
2024-10-03 12:55:54 +00:00
Abhishek Kumar
7d524d7e37 8341004: Open source AWT FileDialog related tests
Reviewed-by: kizune
2024-10-03 12:20:01 +00:00
Shaojin Wen
d7f32d891c 8341415: Optimize RawBytecodeHelper::next
Reviewed-by: liach
2024-10-03 12:08:23 +00:00
Jorn Vernee
6af13580c2 8337753: Target class of upcall stub may be unloaded
Reviewed-by: amitkumar, vlivanov, mdoerr
2024-10-03 12:02:24 +00:00
Alexander Zuev
19642bd383 8341148: Open source several Choice related tests
Reviewed-by: abhiscxk
2024-10-03 09:23:46 +00:00
Roberto Castañeda Lozano
0b467e902d 8334060: Implementation of Late Barrier Expansion for G1
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Siyao Liu <siyao.l.liu@oracle.com>
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Sergey Nazarkin <snazarki@openjdk.org>
Reviewed-by: kvn, tschatzl, fyang, ayang, kbarrett
2024-10-03 08:36:33 +00:00
Aleksey Shipilev
c6e7e55192 8341091: CDS: Segmented roots array misses roots
Reviewed-by: adinn, iklam
2024-10-03 07:25:42 +00:00
Alexander Zvegintsev
ff3e849b8a 8341239: Open source closed frame tests # 3
Reviewed-by: prr
2024-10-03 05:31:10 +00:00
Abhishek Kumar
50ec169116 8341191: Open source few more AWT FileDialog tests
Reviewed-by: prr, psadhukhan
2024-10-03 04:16:10 +00:00
Prasanta Sadhukhan
602408e4f3 8341177: Opensource few List and a Window test
Reviewed-by: prr
2024-10-03 02:51:23 +00:00
Weijun Wang
bdfb41f977 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: mullan, hchao
2024-10-02 22:55:50 +00:00
William Kemper
57c1db5843 8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int'
Reviewed-by: phh, kdnilsen
2024-10-02 22:54:18 +00:00
Kim Barrett
dc0ce1b2f2 8341336: Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only code
Reviewed-by: stefank, iwalulya, shade
2024-10-02 21:58:26 +00:00
Alexey Ivanov
c43202baf6 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Reviewed-by: azvegint, prr
2024-10-02 16:10:48 +00:00
SendaoYan
76283dd270 8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied after JDK-8327114
Reviewed-by: kevinw, sgehwolf
2024-10-02 16:07:10 +00:00
Calvin Cheung
0bdfe88e4c 8328313: Archived module graph should allow identical --module-path to be specified during dump time and run time
Reviewed-by: alanb, dholmes, iklam
2024-10-02 15:51:56 +00:00
Sorin Basca
9fc1c68442 8339850: Restore the interrupt status in FileSystemPreferences.lockFile()
Reviewed-by: bpb, djelinski, vtewari
2024-10-02 15:30:21 +00:00
Alexey Ivanov
5063494f5b 8340785: Update description of PassFailJFrame and samples
Reviewed-by: prr
2024-10-02 15:16:55 +00:00
Alexey Ivanov
85f0442727 8317116: Provide layouts for multiple test UI in PassFailJFrame
Reviewed-by: azvegint, prr
2024-10-02 15:16:32 +00:00
Ramkumar Sunderbabu
49501fe9c4 8341412: Various test failures after JDK-8334305
Reviewed-by: lmesnik, dcubed
2024-10-02 15:13:27 +00:00
Matias Saavedra Silva
883804841e 8324259: Classes used by CDS at runtime should be archived
Reviewed-by: iklam, ccheung
2024-10-02 14:45:56 +00:00
Roman Kennke
5e9800721a 8307532: Implement LM_LIGHTWEIGHT for Zero
Reviewed-by: aboldtch, jwaters
2024-10-02 13:27:57 +00:00
Ramkumar Sunderbabu
855c8a7def 8334305: Remove all code for nsk.share.Log verbose mode
Reviewed-by: mli, cjplummer, lmesnik
2024-10-02 10:48:21 +00:00
fabioromano1
d6820d1324 8336274: MutableBigInteger.leftShift(int) optimization
Reviewed-by: rgiulietti
2024-10-02 09:45:43 +00:00
Feilong Jiang
a4ca6267e1 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter
Reviewed-by: fyang, rehn
2024-10-02 09:14:31 +00:00
Matthias Baesken
c8c4ff2035 8341135: Incorrect format string after JDK-8339475
Reviewed-by: shade, clanger, alanb
2024-10-02 08:14:48 +00:00
Matthias Baesken
efe3573b9b 8340109: Ubsan: ciEnv.cpp:1660:65: runtime error: member call on null pointer of type 'struct CompileTask'
Reviewed-by: kvn, lucy
2024-10-02 07:58:17 +00:00
Hamlin Li
52c2ea65c4 8340732: RISC-V: Refactor crc32 scalar version
Reviewed-by: fyang
2024-10-02 07:48:22 +00:00
Roland Westrelin
90c944fefe 8340824: C2: Memory for TypeInterfaces not reclaimed by hashcons()
Reviewed-by: vlivanov, qamai
2024-10-02 07:11:10 +00:00
Chen Liang
39c17b3926 8341277: Validate slot argument for instruction factories
Reviewed-by: asotona
2024-10-02 03:30:02 +00:00
Eirik Bjørsnøs
0f381137cb 8341243: Use ArraySupport.SOFT_MAX_ARRAY_LENGTH for max array size in java.base
Reviewed-by: jpai, smarks
2024-10-02 01:27:03 +00:00
Tobias Holenstein
8d6d37fea1 8320308: C2 compilation crashes in LibraryCallKit::inline_unsafe_access
Reviewed-by: thartmann, kvn, vlivanov, epeter, roland
2024-10-01 23:52:46 +00:00
Sandhya Viswanathan
83dcb02d77 8340079: Modify rearrange/selectFrom Vector API methods to perform wrapIndexes instead of checkIndexes
Reviewed-by: jbhateja, psandoz
2024-10-01 22:48:31 +00:00
Harshitha Onkar
d2e77089aa 8341367: Problemlist ShapeNotSetSometimes.java on macOS
Reviewed-by: aivanov
2024-10-01 21:08:41 +00:00
Alex Menkov
03149735e5 8341060: Cleanup statics in HeapDumper
Reviewed-by: shade, sspitsyn
2024-10-01 18:50:37 +00:00
Alexander Zuev
021bf63035 8340458: Open source additional Component tests (part 2)
Reviewed-by: psadhukhan
2024-10-01 18:27:25 +00:00
Leonid Mesnik
9a7817b137 8340988: Update jdk/jfr/event/gc/collection tests to accept "CodeCache GC Threshold" as valid GC reason
Reviewed-by: tschatzl
2024-10-01 16:02:02 +00:00
Alexander Zvegintsev
f2a767f59b 8340907: Open source closed frame tests # 2
Reviewed-by: prr, honkar
2024-10-01 14:28:22 +00:00
joseph.jackson
7b1e6f8ed9 8337389: Parallel: Remove unnecessary forward declarations in psScavenge.hpp
Reviewed-by: kbarrett, tschatzl
2024-10-01 14:00:39 +00:00
Yudi Zheng
2120a8414e 8341333: [JVMCI] Export JavaThread::_unlocked_inflated_monitor to JVMCI
Reviewed-by: dnsimon
2024-10-01 13:59:36 +00:00
Aleksey Shipilev
684d246ccf 8341242: Shenandoah: LRB node is not matched as GC barrier after JDK-8340183
Reviewed-by: rkennke, phh
2024-10-01 13:29:56 +00:00
Raphael Mosaner
7cc7c080b5 8337493: [JVMCI] Number of libgraal threads might be too low
Reviewed-by: dnsimon
2024-10-01 11:46:13 +00:00
Axel Boldt-Christmas
f7c7958f00 8340420: ZGC: Should call vm_shutdown_during_initialization if initialization fails
Reviewed-by: stefank, mli
2024-10-01 11:33:11 +00:00
Nizar Benalla
2dc3b1a71f 8341201: Broken link in AbstractAnnotationValueVisitor7 due to extra quotation mark
Reviewed-by: iris, darcy
2024-10-01 10:27:07 +00:00
Axel Boldt-Christmas
ad5ffccffa 8341168: Cleanup dead code after JDK-8322630
Reviewed-by: stefank, tschatzl, mli, shade
2024-10-01 08:02:56 +00:00
Matthias Baesken
1b46fea59c 8341024: [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
Reviewed-by: erikj
2024-10-01 07:15:42 +00:00
Abhishek Kumar
9bd478593c 8340437: Open source few more AWT Frame related tests
Reviewed-by: prr, kizune
2024-10-01 04:40:16 +00:00
Abhishek Kumar
988f13a387 8340354: Open source AWT desktop properties and print related tests
Reviewed-by: prr
2024-10-01 04:32:55 +00:00
Prasanta Sadhukhan
b11066b56b 8340719: Open source AWT List tests
Reviewed-by: prr
2024-10-01 02:47:40 +00:00
Alexander Zuev
a32c3b43aa 8340407: Open source a few more Component related tests
Reviewed-by: prr
2024-09-30 22:09:39 +00:00
David Holmes
31858fc410 8340491: Thread stack-base assertion should report which thread has the un-set stack
Reviewed-by: shade, kevinw, stefank
2024-09-30 22:06:23 +00:00
Harshitha Onkar
bfdeb33e6f 8340332: Open source mixed AWT tests - Set3
Reviewed-by: aivanov
2024-09-30 18:45:40 +00:00
Smita Kamath
a6b318863f 8337632: AES-GCM Algorithm optimization for x86_64
Reviewed-by: jbhateja, sviswanathan
2024-09-30 17:00:13 +00:00
Joe Darcy
5586f83e34 8341064: Define anchor point and index term for "wrapper classes"
Reviewed-by: prappo, liach
2024-09-30 16:13:35 +00:00
Joe Darcy
4168faf54c 8341100: Add index entries for terms used in java.lang.Class
Reviewed-by: liach
2024-09-30 16:10:02 +00:00
Shaojin Wen
f1bf469b4e 8341199: Use ClassFile's new API loadConstant(int)
Reviewed-by: liach, redestad
2024-09-30 14:12:01 +00:00
Ramkumar Sunderbabu
860d49db22 8211400: nsk.share.gc.Memory::getArrayLength returns wrong value
Reviewed-by: kbarrett, tschatzl
2024-09-30 13:43:40 +00:00
Eirik Bjørsnøs
cff420d8d3 8339711: ZipFile.Source.initCEN needlessly reads END header
Reviewed-by: lancea, jpai, redestad
2024-09-30 13:06:49 +00:00
Fredrik Bredberg
180affc571 8320318: ObjectMonitor Responsible thread
Reviewed-by: aboldtch, coleenp, pchilanomate, eosterlund
2024-09-30 12:28:35 +00:00
Jayathirth D V
e19c7d80f7 8340874: Open source some of the AWT Geometry/Button tests
Reviewed-by: prr
2024-09-30 11:24:48 +00:00
Tobias Hartmann
58b6fc5baa 8341197: [BACKOUT] 8322770: Implement C2 VectorizedHashCode on AArch64
Reviewed-by: shade, jpai
2024-09-30 10:56:52 +00:00
Oli Gillespie
1cf26a5179 8341013: Optimize x86/aarch64 MD5 intrinsics by reducing data dependency
Reviewed-by: mli, ascarpino
2024-09-30 10:53:20 +00:00
Mikhail Ablakatov
475b8943c6 8322770: Implement C2 VectorizedHashCode on AArch64
Reviewed-by: aph, adinn
2024-09-30 09:02:59 +00:00
Sebastian Lövdahl
52ba72823b 8327114: Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container)
Co-authored-by: Larry Cable <larry.cable@oracle.com>
Reviewed-by: kevinw, sgehwolf
2024-09-30 08:33:12 +00:00
Aleksey Shipilev
988a531b09 8340181: Shenandoah: Cleanup ShenandoahRuntime stubs
Reviewed-by: adinn, phh, wkemper
2024-09-30 07:02:55 +00:00
Abhishek Kumar
822a773873 8340605: Open source several AWT PopupMenu tests
Reviewed-by: tr
2024-09-30 06:38:42 +00:00
Axel Boldt-Christmas
6514aef840 8340419: ZGC: Create an UseLargePages adaptation of TestAllocateHeapAt.java
Reviewed-by: stefank, sjohanss, jsikstro
2024-09-30 06:20:08 +00:00
Prasanta Sadhukhan
ae4d2f1590 8340621: Open source several AWT List tests
Reviewed-by: prr
2024-09-30 02:43:49 +00:00
Prasanta Sadhukhan
dd56990962 8340639: Open source few more AWT List tests
Reviewed-by: prr
2024-09-30 02:43:32 +00:00
Phil Race
ade17ecb6c 8340560: Open Source several AWT/2D font and rendering tests
Reviewed-by: kizune
2024-09-29 17:05:01 +00:00
Joe Darcy
73ebb848fd 8340721: Clarify special case handling of unboxedType and getWildcardType
Reviewed-by: prappo, mcimadamore
2024-09-27 23:34:04 +00:00
Boris Ulasevich
ed140f5d5e 8341101: [ARM32] Error: ShouldNotReachHere() in TemplateInterpreterGenerator::generate_math_entry after 8338694
Reviewed-by: shade
2024-09-27 23:11:41 +00:00
Justin Lu
082125d61e 8340404: CharsetProvider specification updates
Reviewed-by: alanb, naoto
2024-09-27 18:26:08 +00:00
Yagmur Eren
a7bfced605 8337679: Memset warning in src/hotspot/share/adlc/adlArena.cpp
Reviewed-by: stefank, thartmann, jwaters
2024-09-27 17:36:48 +00:00
Rajan Halade
f554c3ffce 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mullan
2024-09-27 17:16:13 +00:00
Xiaolong Peng
65200a9589 8340490: Shenandoah: Optimize ShenandoahPacer
Reviewed-by: shade, kdnilsen
2024-09-27 17:06:18 +00:00
Rajan Halade
824a297aae 8341057: Add 2 SSL.com TLS roots
Reviewed-by: mullan
2024-09-27 16:57:02 +00:00
Daniel D. Daugherty
5aae3d4085 8341096: ProblemList compiler/cha/TypeProfileFinalMethod.java in Xcomp mode
Reviewed-by: azvegint
2024-09-27 16:26:30 +00:00
Liam Miller-Cushon
68c4f36857 8340024: In ClassReader, extract a constant for the superclass supertype_index
Reviewed-by: vromero
2024-09-27 16:21:05 +00:00
Leonid Mesnik
12de4fbce7 8340826: Should not send unload notification for scratch classes
Reviewed-by: sspitsyn, coleenp
2024-09-27 15:02:01 +00:00
Kim Barrett
25e892911d 8340620: Fix -Wzero-as-null-pointer-constant warnings for CompressedOops
Reviewed-by: shade, stefank, mli, amitkumar
2024-09-27 10:58:10 +00:00
Aleksey Shipilev
6587909c7d 8341015: OopStorage location decoder crashes accessing non-initalized OopStorage
Reviewed-by: kbarrett, tschatzl
2024-09-27 09:44:00 +00:00
Stefan Karlsson
9003e2c519 8341027: Crash in java/runtime/Unsafe/InternalErrorTest when running with -XX:-UseCompressedClassPointers
Reviewed-by: aboldtch, coleenp
2024-09-27 08:28:59 +00:00
Matthias Baesken
2a2ecc994e 8339475: Clean up return code handling for pthread calls in library coding
Reviewed-by: clanger, jwaters
2024-09-27 07:27:29 +00:00
Hannes Wallnöfer
85dba47925 8325090: javadoc fails when -subpackages option is used with non-modular -source
Reviewed-by: liach, jjg
2024-09-27 06:34:02 +00:00
Florian Weimer
1bc13a1c10 8340552: Harden TzdbZoneRulesCompiler against missing zone names
Reviewed-by: andrew, jlu, naoto
2024-09-26 22:37:45 +00:00
Coleen Phillimore
e6373b5238 8340679: Misc tests fail assert(!set || SafepointSynchronize::is_at_safepoint()) failed: set once or at safepoint
Reviewed-by: matsaave, iklam
2024-09-26 21:54:30 +00:00
Todd V. Jonker
2349bb7ace 8340974: Ambiguous name of jtreg property vm.libgraal.enabled
Reviewed-by: dnsimon, phh
2024-09-26 21:38:08 +00:00
Doug Simon
5d062e248e 8340576: Some JVMCI flags are inconsistent
Reviewed-by: never
2024-09-26 19:36:26 +00:00
Fernando Guallini
1447967f53 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java
Reviewed-by: rhalade, hchao
2024-09-26 16:47:49 +00:00
Ravi Gupta
a02d895f7a 8333403: Write a test to check various components events are triggered properly
Reviewed-by: aivanov
2024-09-26 16:31:31 +00:00
Joe Darcy
bb040ef4cc 8340983: Use index and definition tags in Object and Double
Reviewed-by: bpb, liach
2024-09-26 16:04:45 +00:00
Joe Darcy
8225a5f58a 8340981: Update citations to "Hacker's Delight"
Reviewed-by: bpb, iris, liach, jwaters
2024-09-26 16:03:04 +00:00
Maxim Kartashev
aceae76fb5 8339460: CDS error when module is located in a directory with space in the name
Reviewed-by: ccheung, iklam
2024-09-26 15:40:31 +00:00
Brian Burkhalter
aeaa4f78eb 8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer
Reviewed-by: jpai, alanb
2024-09-26 15:20:51 +00:00
Aleksey Shipilev
376056ca48 8336468: Reflection and MethodHandles should use more precise initializer checks
Reviewed-by: liach, coleenp
2024-09-26 15:14:21 +00:00
Liam Miller-Cushon
e36ce5f034 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: vromero
2024-09-26 15:11:03 +00:00
Fernando Guallini
95d3e9d199 8339560: Unaddressed comments during code review of JDK-8337664
Reviewed-by: mullan
2024-09-26 13:20:14 +00:00
Alexander Zvegintsev
47fcf5a3b0 8340687: Open source closed frame tests #1
Reviewed-by: aivanov
2024-09-26 12:33:23 +00:00
Lutz Schmidt
777c20cb14 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Reviewed-by: mdoerr, shade
2024-09-26 11:45:09 +00:00
Alexey Ivanov
3762ec3978 8340466: Add description for PassFailJFrame constructors
Reviewed-by: prr, honkar
2024-09-26 11:36:42 +00:00
Alexey Ivanov
e2626db2f0 8340899: Remove wildcard bound in PositionWindows.positionTestWindows
Reviewed-by: azvegint, prr
2024-09-26 11:34:30 +00:00
Johan Sjölen
10da2c21a1 8340923: The class LogSelection copies uninitialized memory
Reviewed-by: mbaesken, jwaters, stefank
2024-09-26 08:47:32 +00:00
Chen Liang
8c8f0d85ce 8339260: Move rarely used constants out of ClassFile
Reviewed-by: asotona
2024-09-26 06:34:18 +00:00
Tobias Hartmann
47c10694c6 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Reviewed-by: liach, shade, jvernee
2024-09-26 06:03:29 +00:00
Alisen Chung
66f1639846 8339271: giflib attribution correction
Reviewed-by: dnguyen, prr
2024-09-26 01:16:13 +00:00
Ioi Lam
8f756196b4 8340864: Remove unused lines related to vmClasses
Reviewed-by: shade, kvn
2024-09-25 18:51:16 +00:00
Chen Liang
84751cbfdd 8340831: Simplify simple validation for class definition in MethodHandles.Lookup
Reviewed-by: redestad
2024-09-25 18:31:24 +00:00
Chen Liang
df1959fd7a 8340838: Clean up MutableCallSite to use explicit release fence instead of AtomicInteger
Reviewed-by: jrose, redestad, shade
2024-09-25 18:29:30 +00:00
Daniel D. Daugherty
1b2d40addf 8340956: ProblemList 4 java/nio/channels/DatagramChannel tests on macosx-all
Reviewed-by: liach, alanb, darcy, dfuchs
2024-09-25 17:19:02 +00:00
Alexander Zuev
f7bc9ba552 8340228: Open source couple more miscellaneous AWT tests
Reviewed-by: prr
2024-09-25 16:46:49 +00:00
Eirik Bjørsnøs
0e0b0b0d26 8340684: Reading from an input stream backed by a closed ZipFile has no test coverage
Reviewed-by: lancea
2024-09-25 16:36:44 +00:00
Brian Burkhalter
81b5f09749 8340946: Add vmTestbase/gc/memory/Nio/Nio.java and java/nio/Buffer/LimitDirectMemory.java to problem list
Reviewed-by: liach, dcubed, alanb
2024-09-25 16:36:28 +00:00
George Adams
0474f020bf 8340815: Add SECURITY.md file
Reviewed-by: mr, jwaters, erikj
2024-09-25 16:25:23 +00:00
Leonov Kirill
fb70325877 8338583: NMT: Malloc overhead is calculated incorrectly
Reviewed-by: azafari, yan, gziemski
2024-09-25 13:18:25 +00:00
Liam Miller-Cushon
083b980831 8340568: Incorrect escaping of single quotes when pretty-printing character literals
Reviewed-by: mcimadamore
2024-09-25 13:12:47 +00:00
Claes Redestad
d8790aa048 8340885: Desugar ZipCoder.Comparison
Reviewed-by: lancea, eirbjo
2024-09-25 13:04:46 +00:00
Hannes Wallnöfer
120463dc90 8339541: CSS rule is not specific enough
Reviewed-by: jjg
2024-09-25 12:15:07 +00:00
Martin Doerr
1b9898a44f 8340843: [PPC64/s390x] Error: ShouldNotReachHere() in TemplateInterpreterGenerator::generate_math_entry after 8338694
Reviewed-by: mbaesken, amitkumar
2024-09-25 09:26:06 +00:00
Hamlin Li
9806d2139c 8340808: RISC-V: Client build fails after JDK-8339738
Reviewed-by: fyang
2024-09-25 08:13:25 +00:00
Robbin Ehn
97a3933f1b 8339771: RISC-V: Reduce icache flushes
Reviewed-by: fyang, mli, luhenry
2024-09-25 08:11:00 +00:00
Prasanta Sadhukhan
b1f8d2ea76 8339935: Open source several AWT focus tests - series 5
Reviewed-by: prr
2024-09-25 03:07:45 +00:00
Shaojin Wen
2e0554a695 8340710: Optimize DirectClassBuilder::build
Reviewed-by: liach
2024-09-25 02:35:41 +00:00
Shaojin Wen
2d38af61e4 8340587: Optimize StackMapGenerator$Frame::checkAssignableTo
Reviewed-by: liach
2024-09-25 02:32:29 +00:00
Shaojin Wen
9bcc7b66de 8340708: Optimize StackMapGenerator::processMethod
Reviewed-by: liach
2024-09-25 02:30:46 +00:00
Gui Cao
a37bb2e037 8340643: RISC-V: Small refactoring for sub/subw macro-assembler routines
Reviewed-by: fyang, luhenry
2024-09-25 02:29:06 +00:00
Jaikiran Pai
c0fcb258bb 8340717: Remove unused function declarations from java.c/java.h of the launcher
Reviewed-by: alanb, dholmes, shade, jwaters
2024-09-25 01:45:04 +00:00
Jonathan Gibbons
0b8c9f6d23 8338525: Leading and trailing code blocks by indentation
Reviewed-by: hannesw, prappo
2024-09-24 20:09:40 +00:00
George Adams
b639661e79 8340804: doc/building.md update Xcode instructions to note that full install is required
Reviewed-by: erikj, jwaters
2024-09-24 19:35:59 +00:00
Artur Barashev
e3d80f1e1e 8340670: Policy.UNSUPPORTED_EMPTY_COLLECTION.isReadOnly does not return true
Reviewed-by: mullan
2024-09-24 18:57:58 +00:00
Alexander Zvegintsev
8c08c43a34 8340433: Open source closed choice tests #3
Reviewed-by: honkar, prr
2024-09-24 18:56:22 +00:00
Phil Race
90c2c0b4ad 8340143: Open source several Java2D rendering loop tests.
Reviewed-by: psadhukhan
2024-09-24 18:07:33 +00:00
vamsi-parasa
212e32931c 8338694: x86_64 intrinsic for tanh using libm
Reviewed-by: kvn, jbhateja, sgibbons, sviswanathan
2024-09-24 15:11:13 +00:00
Andrew Dinn
2669e22b76 8340793: Fix client builds after JDK-8337987
Reviewed-by: shade, fyang
2024-09-24 14:51:28 +00:00
Sonia Zaldana Calles
85aed87796 8338405: JFR: Use FILE type for dcmds
Reviewed-by: egahlin, lmesnik
2024-09-24 14:40:38 +00:00
Chen Liang
caa751c561 8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc)
Reviewed-by: asotona, redestad
2024-09-24 14:28:05 +00:00
Zhengyu Gu
279086d4ce 8340408: Shenandoah: Remove redundant task stats printing code in ShenandoahTaskQueue
Reviewed-by: shade, wkemper
2024-09-24 13:16:43 +00:00
George Adams
3c97d2437d 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver
Reviewed-by: dholmes, jwaters
2024-09-24 12:50:33 +00:00
Martin Doerr
49d15edd31 8340657: [PPC64] SA determines wrong unextendedSP
Reviewed-by: ysuenaga, mbaesken
2024-09-24 12:43:00 +00:00
Kuai Wei
e1c4d3039f 8339299: C1 will miss type profile when inline final method
Reviewed-by: lmesnik, vlivanov
2024-09-24 11:08:36 +00:00
Pavel Rappo
3e673d9e46 8340680: Fix typos in javax.lang.model.SourceVersion
Reviewed-by: darcy, iris
2024-09-24 10:48:35 +00:00
Tomas Zezula
4cd8c75a55 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option
Reviewed-by: dnsimon
2024-09-24 10:19:38 +00:00
Yudi Zheng
44024826e5 8340585: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement.java fails with -XX:-UseCompressedClassPointers
Reviewed-by: dnsimon
2024-09-24 08:25:06 +00:00
Afshin Zafari
e60e882156 8335167: Test runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
Reviewed-by: stuefe, dholmes, gziemski
2024-09-24 07:56:14 +00:00
Matthias Baesken
9176f6810e 8340623: Remove outdated PROCESSOR_ARCHITECTURE_IA64 from Windows coding
Reviewed-by: alanb, dholmes
2024-09-24 07:22:27 +00:00
Gui Cao
88801caef6 8340590: RISC-V: C2: Small improvement to vector gather load and scatter store
Reviewed-by: fyang, dzhang
2024-09-24 07:09:10 +00:00
Christian Hagedorn
1dd60b62e3 8323688: C2: Fix UB of jlong overflow in PhaseIdealLoop::is_counted_loop()
Reviewed-by: thartmann, kvn
2024-09-24 06:47:20 +00:00
Axel Boldt-Christmas
4098acc200 8340146: ZGC: TestAllocateHeapAt.java should not run with UseLargePages
Reviewed-by: tschatzl, stefank
2024-09-24 05:35:12 +00:00
Prasanta Sadhukhan
6c91a16f16 8340367: Opensource few AWT image tests
Reviewed-by: prr
2024-09-24 02:09:42 +00:00
Jaikiran Pai
865d99f634 8340596: Remove dead code from RequiresSetenv function in java.base/unix/native/libjli/java_md.c
Reviewed-by: dholmes
2024-09-24 02:08:20 +00:00
Prasanta Sadhukhan
3411f9dff7 8339995: Open source several AWT focus tests - series 6
Reviewed-by: prr
2024-09-24 02:08:06 +00:00
Jaikiran Pai
40cde003e8 8340114: Remove outdated SelectVersion() function from the launcher and update the code comments explaining the code flow
Reviewed-by: dholmes, alanb
2024-09-24 01:47:57 +00:00
David Holmes
c8ae848049 8340707: ProblemList applications/ctw/modules/java_base.java due to JDK-8340683
Reviewed-by: darcy
2024-09-24 00:37:21 +00:00
Alexey Semenyuk
cd796e0aef 8338918: Remove non translated file name from WinResources resource bundle
Reviewed-by: jlu, almatvee
2024-09-24 00:13:49 +00:00
Alexey Ivanov
e97f0fe1b4 8340365: Position the first window of a window list
Reviewed-by: azvegint, prr
2024-09-23 18:31:31 +00:00
Phil Race
8dcf7b8fa7 8340411: open source several 2D imaging tests
Reviewed-by: azvegint
2024-09-23 18:26:52 +00:00
Alexey Ivanov
833ff29983 8340461: Amend description for logArea
Reviewed-by: azvegint, prr
2024-09-23 18:25:12 +00:00
Francisco Ferrari Bihurriet
c6f1d5f374 8319332: Security properties files inclusion
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun, mullan, kdriver
2024-09-23 17:45:38 +00:00
Lance Andersen
0f9f777520 8336025: Improve ZipOutputSream validation of MAX CEN Header field limits
Reviewed-by: alanb
2024-09-23 16:07:12 +00:00
Aleksey Shipilev
ea8f35b98e 8340183: Shenandoah: Incorrect match for clone barrier in is_gc_barrier_node
Reviewed-by: roland, rkennke
2024-09-23 14:33:17 +00:00
Alexander Zvegintsev
a9b0f9ccbf 8340393: Open source closed choice tests #2
Reviewed-by: psadhukhan
2024-09-23 13:58:00 +00:00
Tobias Hartmann
63e611cd5d 8335334: Stress mode to randomly execute unstable if traps
Reviewed-by: chagedorn, kvn
2024-09-23 12:30:30 +00:00
Joel Sikström
37ec80df8d 8339161: ZGC: Remove unused remembered sets
Reviewed-by: aboldtch, stefank
2024-09-23 12:28:43 +00:00
Per Minborg
384deda65f 8325949: Create an internal utility method for creating VarHandle instances
Reviewed-by: rriggs
2024-09-23 10:57:43 +00:00
Pavel Rappo
67448b0eb2 8339852: Fix typos in java.compiler documentation
Reviewed-by: liach, darcy
2024-09-23 10:32:58 +00:00
Abhishek Kumar
bc7c0dc45d 8340084: Open source AWT Frame related tests
Reviewed-by: psadhukhan, honkar
2024-09-23 08:02:36 +00:00
Kim Barrett
a07052e83d 8340573: Remove unused G1ParScanThreadState::_partial_objarray_chunk_size
Reviewed-by: tschatzl
2024-09-23 08:02:16 +00:00
Aleksey Shipilev
0f253d1103 8340392: Handle OopStorage in location decoder
Reviewed-by: kbarrett, dholmes
2024-09-23 07:02:59 +00:00
Aleksey Shipilev
f31f97ddb6 8340171: CDS: Enhance bitmap truncation
Reviewed-by: matsaave, iklam
2024-09-23 07:02:48 +00:00
Matthias Baesken
34cddfbedd 8340387: Update OS detection code to recognize Windows Server 2025
Reviewed-by: mdoerr, jwaters, dholmes
2024-09-23 06:40:33 +00:00
Kim Barrett
dd498794f2 8340524: Remove NarrowPtrStruct
Reviewed-by: shade, jwaters
2024-09-23 05:48:42 +00:00
Shaojin Wen
ab06a878f8 8340544: Optimize setLocalsFromArg
Reviewed-by: redestad, liach
2024-09-22 01:01:31 +00:00
Shaojin Wen
2461263aac 8339217: Optimize ClassFile API loadConstant
Reviewed-by: liach, redestad, asotona
2024-09-21 00:21:04 +00:00
Joe Darcy
08b25611f6 8339781: Better use of Javadoc tags in javax.lang.model
Reviewed-by: jjg
2024-09-20 21:27:22 +00:00
Severin Gehwolf
64275e6bbf 8340092: [Linux] containers/systemd/SystemdMemoryAwarenessTest.java failing on some systems
Reviewed-by: mbaesken
2024-09-20 19:34:24 +00:00
Coleen Phillimore
5cffddc689 8338471: Assert deleted methods not returned by CallInfo
Reviewed-by: shade, jwaters, dholmes
2024-09-20 18:38:29 +00:00
Shaojin Wen
40fba14812 8340232: Optimize DataInputStream::readUTF
Reviewed-by: liach, bpb
2024-09-20 17:54:06 +00:00
Chen Liang
ab81197d0d 8339198: Remove tag field from AbstractPoolEntry
Reviewed-by: asotona, redestad
2024-09-20 16:11:39 +00:00
Jaikiran Pai
90d3a64b0a 8340537: Typo in javadoc of java.util.jar.JarFile
Reviewed-by: mullan, lancea, iris
2024-09-20 16:02:25 +00:00
Amit Kumar
e087edeb25 8340269: [s390x] TestLargeStub.java failure after 8338123
Reviewed-by: mdoerr, lucy
2024-09-20 14:48:11 +00:00
Amit Kumar
9bcde4ffca 8338658: New Object to ObjectMonitor mapping: s390x implementation
Reviewed-by: lucy, mdoerr
2024-09-20 14:46:10 +00:00
Thomas Stuefe
ae63aaaa58 8340540: Problemlist DcmdMBeanPermissionsTest.java and SystemDumpMapTest.java
Reviewed-by: kevinw
2024-09-20 14:10:39 +00:00
Andrey Turbanov
fe80618bf3 8339972: Make a few fields in SortingFocusTraversalPolicy static
Reviewed-by: azvegint, aivanov
2024-09-20 12:43:57 +00:00
Alexey Ivanov
3c22d83c0f 8340008: KeyEvent/KeyTyped/Numpad1KeyTyped.java has 15 seconds timeout
Reviewed-by: azvegint, prr
2024-09-20 10:07:03 +00:00
Hamlin Li
3ad6e31d81 8340438: RISC-V: minor improvement in base64
Reviewed-by: fyang
2024-09-20 09:33:31 +00:00
Claes Redestad
a50440fadc 8340456: Reduce overhead of proxying Object methods in ProxyGenerator
Reviewed-by: liach
2024-09-20 09:21:12 +00:00
SendaoYan
5d611c0377 8340439: AArch64: Extra entry declaration for assember test
Reviewed-by: haosun, lmesnik, mli
2024-09-20 07:34:26 +00:00
Aleksey Shipilev
9d76c7c60f 8340418: GHA: MacOS AArch64 bundles can be removed prematurely
Reviewed-by: erikj
2024-09-20 07:00:38 +00:00
Prasanta Sadhukhan
46b02f49bc 8339906: Open source several AWT focus tests - series 4
Reviewed-by: abhiscxk, prr
2024-09-20 06:06:27 +00:00
Abhishek Kumar
f4e401791e 8339984: Open source AWT MenuItem related tests
Reviewed-by: aivanov
2024-09-20 04:19:12 +00:00
Kim Barrett
0f7d9e5995 8340436: Remove unused CompressedOops::AnyNarrowOopMode
Reviewed-by: haosun, dholmes
2024-09-20 04:15:55 +00:00
Prasanta Sadhukhan
94c33179b6 8339895: Open source several AWT focus tests - series 3
Reviewed-by: prr
2024-09-20 03:05:22 +00:00
David Holmes
969c2af953 8339192: Native annotation parsing code of deprecated annotations causes crash
Reviewed-by: jrose, mgronlun
2024-09-19 23:45:26 +00:00
Phil Race
fdc16a3734 8340480: Bad copyright notices in changes from JDK-8339902
Reviewed-by: kcr, bpb, kizune
2024-09-19 22:20:05 +00:00
Kim Barrett
296b49634e 8340353: Remove CompressedOops::ptrs_base
Reviewed-by: stefank, coleenp, shade, mli
2024-09-19 21:06:46 +00:00
Alexander Zuev
fde8508379 8339902: Open source couple TextField related tests
Reviewed-by: honkar
2024-09-19 19:51:05 +00:00
William Kemper
75d5e11777 8340400: Shenandoah: Whitebox breakpoint GC requests may cause assertions
Reviewed-by: shade
2024-09-19 17:55:23 +00:00
Aleksey Shipilev
15ae1155a1 8340166: [REDO] CDS: Trim down minimum GC region alignment
Reviewed-by: ccheung, iklam
2024-09-19 17:47:08 +00:00
Joe Darcy
ec3cba0296 8340399: Update comment in SourceVersion for language evolution history
Reviewed-by: iris
2024-09-19 17:10:23 +00:00
Alexey Ivanov
d1d824008d 8340308: PassFailJFrame: Make rows default to number of lines in instructions
Reviewed-by: honkar, azvegint
2024-09-19 16:59:51 +00:00
Prasanta Sadhukhan
bc36ace72c 8340271: Open source several AWT Robot tests
Reviewed-by: abhiscxk, honkar
2024-09-19 16:22:17 +00:00
Justin Lu
5f3e7aa833 8339735: Remove references to Applet in core-libs/security APIs
Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
2024-09-19 16:18:37 +00:00
Brian Burkhalter
2ada313cdd 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)
Reviewed-by: alanb
2024-09-19 15:25:04 +00:00
Matias Saavedra Silva
3bb8de3145 8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Reviewed-by: iklam, dholmes
2024-09-19 14:18:03 +00:00
Matias Saavedra Silva
d555f072b2 8298614: Support CDS heap dumping for SerialGC and ParallelGC
Reviewed-by: dholmes, lmesnik, iklam
2024-09-19 14:15:45 +00:00
Prasadrao Koppula
c9bee173d6 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
Reviewed-by: coffeys, mullan
2024-09-19 13:21:08 +00:00
Martin Doerr
7579d37402 8338995: New Object to ObjectMonitor mapping: PPC64 implementation
Reviewed-by: rrich, lucy
2024-09-19 12:29:21 +00:00
Serhiy Sachkov
cecb0b3d11 8339787: Add some additional diagnostic output to java/net/ipv6tests/UdpTest.java
Reviewed-by: dfuchs
2024-09-19 12:08:31 +00:00
Alexey Ivanov
0120d3eed5 8340306: Add border around instructions in PassFailJFrame
Reviewed-by: honkar, prr
2024-09-19 11:48:45 +00:00
Alexey Ivanov
2faf8b8d58 8340007: Refactor KeyEvent/FunctionKeyTest.java
Reviewed-by: azvegint
2024-09-19 09:44:57 +00:00
Joel Sikström
8908812d0a 8337674: ZGC: Consistent style for naming private static constants
Reviewed-by: stefank, aboldtch, mli
2024-09-19 08:47:20 +00:00
Serhiy Sachkov
118c9ade1a 8338759: Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
Reviewed-by: dfuchs, shade
2024-09-19 08:39:11 +00:00
Kevin Walls
c58fbef05e 8340276: Test java/lang/management/ThreadMXBean/Locks.java failed with NullPointerException
Reviewed-by: cjplummer, lmesnik
2024-09-19 08:28:51 +00:00
Jaikiran Pai
67198992ce 8286851: Deprecate for removal several of the undocumented java launcher options
Reviewed-by: dholmes
2024-09-19 06:28:05 +00:00
Amit Kumar
ac58b6102a 8339416: [s390x] Provide implementation for resolve_global_jobject
Reviewed-by: mdoerr, lucy
2024-09-19 04:47:15 +00:00
Amit Kumar
537447f881 8339980: [s390x] ProblemList jdk/java/util/zip/CloseInflaterDeflaterTest.java
Reviewed-by: lucy
2024-09-19 04:33:01 +00:00
Jaikiran Pai
d9c67443f7 8340360: Update -mx to -Xmx in UnninstallUIMemoryLeaks test
Reviewed-by: serb, prr
2024-09-19 01:44:45 +00:00
Phil Race
88a1c0550e 8340078: Open source several 2D tests
Reviewed-by: honkar
2024-09-18 20:39:40 +00:00
Harshitha Onkar
31849127a0 8339962: Open source AWT TextField tests - Set1
Reviewed-by: jdv, dnguyen, prr
2024-09-18 19:25:11 +00:00
Kevin Walls
9cfc03aa81 8340391: Windows jcmd System.map and System.dump_map tests failing
Reviewed-by: cjplummer
2024-09-18 19:17:26 +00:00
Leonid Mesnik
6ff287ad9a 8340233: Missed ThreadWXEnable in jfrNativeLibraryLoadEvent.cpp
Reviewed-by: mgronlun
2024-09-18 15:57:41 +00:00
Hamlin Li
ae39a6603c 8339992: RISC-V: some minor improvements of base64_vector_decode_round
Reviewed-by: fyang, luhenry
2024-09-18 14:38:06 +00:00
Stefan Karlsson
471a51a5a4 8340368: windows-x64-slowdebug build fails after JDK-8319873
Reviewed-by: jpai, kevinw, aboldtch, eosterlund
2024-09-18 13:46:19 +00:00
Hamlin Li
08a2f841ec 8339738: RISC-V: Vectorize crc32 intrinsic
Reviewed-by: fyang, luhenry
2024-09-18 12:37:02 +00:00
Rafael Winterhalter
1d070a3238 8337302: Undefined type variable results in null
Reviewed-by: liach
2024-09-18 12:33:56 +00:00
Emanuel Peter
aeba1ea7c4 8340272: C2 SuperWord: JMH benchmark for Reduction vectorization
Reviewed-by: kvn, jkarthikeyan
2024-09-18 12:03:00 +00:00
Kevin Walls
19b2cee420 8340113: Remove JULONG as a Diagnostic Command argument type (jcmd JFR.view)
Reviewed-by: lmesnik, egahlin
2024-09-18 11:44:14 +00:00
Nizar Benalla
45e438f3f4 8339845: Update color.org and wapforum.org links to use HTTPS instead of HTTP
Reviewed-by: prr, honkar, aivanov
2024-09-18 11:08:13 +00:00
Simon Tooke
4ff17c14a5 8319873: Add windows implementation for jcmd System.map and System.dump_map
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: stuefe, kevinw, szaldana
2024-09-18 09:11:40 +00:00
Martin Doerr
3895b8fc0b 8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity
Reviewed-by: thartmann, kvn
2024-09-18 08:26:33 +00:00
Roland Westrelin
5381f553ad 8333258: C2: high memory usage in PhaseCFG::insert_anti_dependences()
Reviewed-by: kvn, epeter
2024-09-18 07:07:45 +00:00
Claes Redestad
d23c59e408 8340280: Avoid calling MT.invokerType() when creating LambdaForms
Reviewed-by: liach, jvernee
2024-09-18 07:01:13 +00:00
Prasanta Sadhukhan
147e30070d 8340015: Open source several AWT focus tests - series 7
Reviewed-by: honkar
2024-09-18 04:33:28 +00:00
Leonid Mesnik
202fd421f7 8340213: jcmd VM.events ignores max argument
Reviewed-by: szaldana, cjplummer, amenkov, mli
2024-09-17 22:36:37 +00:00
Chen Liang
dfc90938ba 8340132: Remove internal CpException for reading malformed utf8
Reviewed-by: asotona
2024-09-17 21:08:47 +00:00
Harshitha Onkar
f0ae90f30c 8340210: Add positionTestUI() to PassFailJFrame.Builder
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, azvegint
2024-09-17 20:05:46 +00:00
Gerard Ziemski
eabfc6e4d9 8337563: NMT: rename MEMFLAGS to MemTag
Reviewed-by: dholmes, coleenp, jsjolen
2024-09-17 19:59:06 +00:00
Calvin Cheung
d5881825ef 8338686: App classpath mismatch if a jar from the Class-Path attribute is on the classpath
Reviewed-by: dholmes, iklam
2024-09-17 18:58:46 +00:00
Chen Liang
5dc9723c81 8340323: Test jdk/classfile/OptionsTest.java fails after JDK-8340200
Reviewed-by: alanb
2024-09-17 18:13:54 +00:00
Jatin Bhateja
90e92f98a6 8339790: Support Intel APX setzucc instruction
Reviewed-by: sviswanathan, jkarthikeyan, kvn
2024-09-17 17:46:36 +00:00
Raffaello Giulietti
28d009ce0e 8339934: Simplify Math.scalb(double) method
Reviewed-by: darcy
2024-09-17 17:11:32 +00:00
David M. Lloyd
3e14fb9c16 8340200: Misspelled constant AttributesProcessingOption.DROP_UNSTABLE_ATRIBUTES
Reviewed-by: liach
2024-09-17 16:24:38 +00:00
Brian Burkhalter
64e3a9ee91 8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks
Reviewed-by: djelinski, alanb
2024-09-17 15:50:32 +00:00
Brian Burkhalter
f87701635f 8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
2024-09-17 15:50:16 +00:00
Magnus Ihse Bursie
b39e6a84ef 8329816: Add SLEEF version 3.6.1
Reviewed-by: erikj, mli, luhenry
2024-09-17 12:58:36 +00:00
Matthias Baesken
80db6e71b0 8339648: ZGC: Division by zero in rule_major_allocation_rate
Reviewed-by: aboldtch, lucy, tschatzl
2024-09-17 11:58:58 +00:00
Tobias Hartmann
269cd38b55 8338566: Lazy creation of exception instances is not thread safe
Reviewed-by: shade, kvn, dlong
2024-09-17 10:39:31 +00:00
Daniel Lundén
8b6e2770a5 8340273: Remove CounterHalfLifeTime
Reviewed-by: chagedorn, dholmes
2024-09-17 09:53:55 +00:00
Stefan Karlsson
c6721a0fa2 8340009: Improve the output from assert_different_registers
Reviewed-by: aboldtch, dholmes, shade, mli
2024-09-17 09:18:54 +00:00
Thomas Schatzl
7834662ca3 8340119: Remove oopDesc::size_might_change()
Reviewed-by: stefank, iwalulya
2024-09-17 08:11:22 +00:00
Kangcheng Xu
10050a7239 8332442: C2: refactor Mod cases in Compile::final_graph_reshaping_main_switch()
Reviewed-by: roland, chagedorn, jkarthikeyan
2024-09-17 07:19:02 +00:00
Thomas Stuefe
7849f25293 8340184: Bug in CompressedKlassPointers::is_in_encodable_range
Reviewed-by: coleenp, rkennke, jsjolen
2024-09-17 05:22:59 +00:00
Jatin Bhateja
a4cf1918c9 8339793: Fix incorrect APX feature enabling with -XX:-UseAPX
Reviewed-by: kvn, thartmann, sviswanathan
2024-09-17 01:41:53 +00:00
Jaikiran Pai
3e03e6673a 8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Reviewed-by: kevinw, lmesnik
2024-09-17 00:56:31 +00:00
Denghui Dong
99d7185071 8340144: C1: remove unused Compilation::_max_spills
Reviewed-by: thartmann, shade
2024-09-17 00:13:47 +00:00
Naoto Sato
418bb42b95 8340073: Support "%z" time zone abbreviation format in TZ files
Reviewed-by: jlu, joehw, coffeys
2024-09-16 20:03:00 +00:00
Phil Race
b26645f64b 8339883: Open source several AWT/2D related tests
Reviewed-by: psadhukhan, honkar
2024-09-16 19:28:20 +00:00
Kelvin Nilsen
858b4f127a 8339960: GenShen: Fix inconsistencies in generational Shenandoah behavior
Reviewed-by: wkemper, rkennke
2024-09-16 19:15:30 +00:00
Kevin Walls
59407faf7b 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Reviewed-by: lmesnik, cjplummer
2024-09-16 18:24:47 +00:00
Jonathan Gibbons
89759c8b02 8321935: Define the term 'standard doclet'
Reviewed-by: hannesw
2024-09-16 18:08:09 +00:00
Justin Lu
65b9abaa29 8339769: Incorrect error message during startup if working directory does not exist
Reviewed-by: naoto, dholmes, alanb
2024-09-16 17:26:47 +00:00
Aleksey Shipilev
1640bd2676 8340186: Shenandoah: Missing load_reference_barrier_phantom_narrow match in is_shenandoah_lrb_call
Reviewed-by: kvn
2024-09-16 16:22:38 +00:00
Volker Simonis
996790c70f 8339954: Print JVMCI names with the Compiler.{perfmap,codelist,CodeHeap_Analytics} diagnostic commands
Reviewed-by: phh, dnsimon
2024-09-16 14:55:53 +00:00
Claes Redestad
e1ebeef040 8340131: Refactor internal makeHiddenClassDefiner to take option mask instead of Set<ClassOption>
Reviewed-by: liach, jvernee
2024-09-16 14:08:08 +00:00
Jaikiran Pai
05b9d47905 8340194: Replace usage of -ms with -Xms in LauncherCommon.gmk make file
Reviewed-by: ihse, jwaters
2024-09-16 14:06:02 +00:00
Johan Sjölen
545951889c 8339627: Cleanup Unsafe.setMemory intrinsic code
Reviewed-by: tschatzl, fbredberg
2024-09-16 09:13:37 +00:00
Jaikiran Pai
a4eb9a063f 8339918: Remove checks for outdated -t -tm -Xfuture -checksource -cs -noasyncgc options from the launcher
Reviewed-by: dholmes, alanb
2024-09-16 08:34:54 +00:00
Martin Doerr
6be15c3d0b 8340012: [C2] assert(KlassEncodingMetaspaceMax > pd) failed: change encoding max if new encoding after 8338526
Reviewed-by: kvn, coleenp
2024-09-16 08:15:48 +00:00
Prasanta Sadhukhan
4b7906375b 8339842: Open source several AWT focus tests - series 2
Reviewed-by: prr
2024-09-16 05:41:58 +00:00
Aleksey Shipilev
dc00eb87bc 8338912: CDS: Segmented roots array
Reviewed-by: ccheung, iklam
2024-09-16 05:33:40 +00:00
Aleksey Shipilev
74add0e2e0 8340105: Expose BitMap::print_on in release builds
Reviewed-by: stuefe, stefank
2024-09-16 05:32:03 +00:00
Aleksey Shipilev
0e0f10f952 8340102: Move assert-only loop in OopMapSort::sort under debug macro
Reviewed-by: stuefe, fyang, kvn
2024-09-16 05:31:46 +00:00
Prasanta Sadhukhan
a0794e0a05 8339639: Opensource few AWT PopupMenu tests
Reviewed-by: azvegint, prr
2024-09-16 03:48:55 +00:00
Serguei Spitsyn
a8f143c6ab 8306679: com/sun/jdi/InterruptHangTest.java asserts with -Xcomp -Dmain.wrapper=Virtual options
Reviewed-by: lmesnik, cjplummer
2024-09-14 22:50:50 +00:00
Liang Mao
c91fa278fe 8339725: Concurrent GC crashed due to GetMethodDeclaringClass
Reviewed-by: lmesnik, coleenp, eosterlund, stefank
2024-09-14 05:36:47 +00:00
Manukumar V S
fa502ecd2d 8339943: Frame not disposed in java/awt/dnd/DropActionChangeTest.java
Reviewed-by: prr, azvegint
2024-09-14 05:08:57 +00:00
Valerie Peng
fdfe503d01 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Reviewed-by: mbalao, weijun, hchao
2024-09-13 21:13:54 +00:00
Erik Joelsson
3aa8338f4e 8340075: Autoconf bundle cannot run on read-only filesystem
Reviewed-by: mikael
2024-09-13 18:31:46 +00:00
Nizar Benalla
37bf589ec0 8339847: Broken link to the dieharder distribution website in SplittableRandom
Reviewed-by: iris, liach
2024-09-13 16:56:01 +00:00
Joe Darcy
89c172ac47 8340082: Use inline return tag in java.base
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
2024-09-13 16:49:28 +00:00
Per Minborg
1a0a53883f 8340120: Remove redundant code in SegmentBulkOperations::mismatch
Reviewed-by: mcimadamore
2024-09-13 15:27:50 +00:00
Calvin Cheung
89ca89cb26 8338626: ClassLoaderExt::process_jar_manifest() should allow / separator on Windows
Reviewed-by: iklam, dholmes, matsaave
2024-09-13 14:59:35 +00:00
Per Minborg
3e0da58ee6 8333843: Provide guidelines on MemorySegment to read strings with known lengths
Reviewed-by: mcimadamore
2024-09-13 14:38:24 +00:00
Alexey Semenyuk
3c4d15bdce 8334301: Errors in jpackage man page
Reviewed-by: almatvee
2024-09-13 14:13:47 +00:00
Kevin Walls
4d01178571 8339927: Man page update for deprecating jhsdb debugd for removal
Reviewed-by: sspitsyn, cjplummer
2024-09-13 13:05:37 +00:00
David Holmes
bd44cf8ab7 8330302: strace004 can still fail
Reviewed-by: alanb, shade
2024-09-13 12:10:11 +00:00
Maurizio Cimadamore
8a4ea09fa2 8336492: Regression in lambda serialization
Reviewed-by: vromero
2024-09-13 12:04:31 +00:00
Prasanta Sadhukhan
358ff19633 8339727: Open source several AWT focus tests - series 1
Reviewed-by: honkar
2024-09-13 11:22:39 +00:00
Per Minborg
0c36177fea 8340089: Simplify SegmentBulkOperations::powerOfProperty
Reviewed-by: jpai
2024-09-13 08:43:38 +00:00
Hamlin Li
bacd046062 8321010: RISC-V: C2 RoundVF
8321011: RISC-V: C2 RoundVD

Reviewed-by: rehn, luhenry
2024-09-13 08:05:19 +00:00
Per Minborg
5709c37940 8340081: Test java/foreign/TestLinker.java failed failed: missing permission java.lang.foreign.native.threshold.power.fill
Reviewed-by: dholmes
2024-09-13 06:48:44 +00:00
Andrew Dinn
b88ff9c986 8339849: Enumerate opto and C1 stubs, generate enums, names, fields and generator calls
Reviewed-by: kvn
2024-09-13 06:43:38 +00:00
Stefan Karlsson
ae75ca05e4 8314842: zgc/genzgc tests ignore vm flags
Reviewed-by: tschatzl, lmesnik
2024-09-13 05:47:44 +00:00
Alexander Zvegintsev
5e5942a282 8339794: Open source closed choice tests #1
Reviewed-by: jdv, prr
2024-09-12 23:05:15 +00:00
Per Minborg
81ff91ef27 8339531: Improve performance of MemorySegment::mismatch
Reviewed-by: mcimadamore
2024-09-12 18:31:08 +00:00
Steve Dohrmann
ab9b72c50a 8329035: New Data Destination instructions support
Reviewed-by: kvn, sviswanathan, jbhateja
2024-09-12 16:06:16 +00:00
Eirik Bjørsnøs
7f1dae12e5 8339874: Avoid duplicate checking of trailing slash in ZipFile.getZipEntry
Reviewed-by: lancea, redestad
2024-09-12 15:24:22 +00:00
Chen Liang
4d65c3efca 8339876: Move constant symbol caches to Utf8EntryImpl
Reviewed-by: redestad
2024-09-12 15:16:38 +00:00
Claes Redestad
0765917dea 8340011: Simplify jdk.internal.classfile.impl.EntryMap
Reviewed-by: liach
2024-09-12 15:08:11 +00:00
Alan Bateman
1b17e0b133 8338747: hasIncubatorModules needs to be generated when module resolution required at startup
Reviewed-by: iklam, ccheung
2024-09-12 08:48:17 +00:00
Kevin Walls
3c40afa59c 8334165: Remove serialVersionUID compatibility logic from JMX
Reviewed-by: dfuchs
2024-09-12 08:31:18 +00:00
Roland Westrelin
315abdf8c8 8339733: C2: some nodes can have incorrect control after do_range_check()
Reviewed-by: chagedorn, thartmann
2024-09-12 07:19:54 +00:00
Matthias Baesken
ac3f92b411 8339731: java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings
Reviewed-by: prr
2024-09-12 07:06:53 +00:00
David Holmes
cfbf74fca4 8339159: api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call
Reviewed-by: iklam, aboldtch
2024-09-12 06:14:06 +00:00
Jaikiran Pai
6d4bd6c6b6 8339835: Replace usages of -mx and -ms in some client-libs tests
Reviewed-by: azvegint, prr
2024-09-12 02:06:09 +00:00
Jaikiran Pai
1d39249231 8339834: Replace usages of -mx and -ms in some tests
Reviewed-by: aivanov, ascarpino, prr, dholmes
2024-09-12 02:02:14 +00:00
Leonid Mesnik
c3711dc909 8339678: Update runtime/condy tests to be executed with VM flags
Reviewed-by: coleenp
2024-09-11 22:06:23 +00:00
Viktor Klang
b0cff6b528 8299419: Thread.sleep(millis) may throw OOME
Reviewed-by: alanb
2024-09-11 20:02:49 +00:00
Patricio Chilano Mateo
591aa7c5c7 8335362: [Windows] Stack pointer increment in _cont_thaw stub can cause program to terminate with exit code 0xc0000005
Reviewed-by: dholmes, fparain
2024-09-11 19:41:43 +00:00
Chris Plummer
237a540f01 8339801: Add better test failure diagnostics to vmTestbase/nsk/jdi/EventRequestManager/threadStartRequests/thrstartreq002
Reviewed-by: lmesnik, amenkov, kevinw
2024-09-11 19:40:02 +00:00
Naoto Sato
35a94b7697 8339803: Acknowledge case insensitive unambiguous keywords in tzdata files
Reviewed-by: jlu, coffeys
2024-09-11 19:27:00 +00:00
Brent Christian
51b85a1f69 8339687: Rearrange reachabilityFence()s in jdk.test.lib.util.ForceGC
Reviewed-by: dholmes, smarks, kbarrett
2024-09-11 19:02:05 +00:00
Severin Gehwolf
d9fdf69c34 8333446: Add tests for hierarchical container support
Reviewed-by: mbaesken, zzambers
2024-09-11 16:57:13 +00:00
Robbin Ehn
bfe7f9205b 8339741: RISC-V: C ABI breakage for integer on stack
Reviewed-by: fyang, luhenry
2024-09-11 16:08:24 +00:00
Severin Gehwolf
55a7cf1445 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected
Reviewed-by: stuefe, asmehra
2024-09-11 13:51:31 +00:00
Maurizio Cimadamore
5977888500 8339686: java/foreign/TestMappedHandshake.java fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
8339780: TestByteBuffer fails on AIX after 8339285

Reviewed-by: alanb, jvernee
2024-09-11 11:18:38 +00:00
Casper Norrbin
0b3f2e64e8 8339242: Fix overflow issues in AdlArena
Reviewed-by: jsjolen, kbarrett
2024-09-11 08:45:59 +00:00
Joel Sikström
ceef161eea 8339661: ZGC: Move some page resets and verification to callsites
Reviewed-by: stefank, eosterlund
2024-09-11 08:08:09 +00:00
Jaikiran Pai
8fce5275fc 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: lancea
2024-09-11 05:27:08 +00:00
SendaoYan
a6faf8247b 8339714: Delete tedious bool type define
Reviewed-by: jwaters, dholmes
2024-09-11 02:12:08 +00:00
Jaikiran Pai
07643237d4 8225049: Bad -Xlog example in -Xlog:help, online documentation, JEP
Reviewed-by: dholmes
2024-09-11 01:19:15 +00:00
Leonid Mesnik
9785e19f3f 8339638: Update vmTestbase/nsk/jvmti/*Field*Watch tests to use virtual thread factory
Reviewed-by: cjplummer, sspitsyn
2024-09-10 21:43:19 +00:00
Joe Darcy
6fd043f1e4 8339789: Use index and definition tags in AnnotatedElement
Reviewed-by: jjg, prappo
2024-09-10 19:37:38 +00:00
Fernando Guallini
30645f3309 8338395: Add test coverage for instantiating NativePRNG with SecureRandomParameters
Reviewed-by: jnimeh
2024-09-10 18:48:58 +00:00
Daniel Fuchs
c8e64cb7a5 8283779: Clarify API documentation of NetworkInterface with respect to configuration changes
Reviewed-by: alanb, msheppar
2024-09-10 17:27:19 +00:00
Jasmine Karthikeyan
92431049fd 8335444: Generalize implementation of AndNode mul_ring
Reviewed-by: chagedorn, qamai, dfenacci
2024-09-10 16:52:59 +00:00
Kevin Walls
33525226b9 8338894: Deprecate jhsdb debugd for removal
Reviewed-by: cjplummer, alanb
2024-09-10 16:28:04 +00:00
Sandhya Viswanathan
be0dca046a 8339698: x86 unused andw/orw/xorw/addw encoding could be removed
Reviewed-by: kvn, jbhateja, qamai
2024-09-10 15:53:23 +00:00
Joakim Nordström
64a79d8986 8335625: Update Javadoc for GetCpuLoad
Reviewed-by: alanb, kevinw
2024-09-10 13:49:13 +00:00
Claes Redestad
c246ede163 8339799: Reduce work done in j.l.invoke bytecode generators
Reviewed-by: liach
2024-09-10 13:33:19 +00:00
Quan Anh Mai
38441b3f2d 8339677: [vectorapi] YYYXXXVector::withLaneHelper and laneHelper should use Double::doubleToRawLongBits/Float::floatToRawIntBits
Reviewed-by: psandoz
2024-09-10 12:44:57 +00:00
Claes Redestad
fb51c1e57b 8339837: Remove unused BootstrapMethodsInvokers.isLambdaMetafactoryCondyBSM
Reviewed-by: jvernee
2024-09-10 12:34:51 +00:00
Shaojin Wen
4d597de893 8338930: StringConcatFactory hardCoded string concatenation strategy
Reviewed-by: redestad, liach
2024-09-10 12:33:07 +00:00
Coleen Phillimore
ad104932e6 8338526: Don't store abstract and interface Klasses in class metaspace
Reviewed-by: stuefe, iklam
2024-09-10 11:43:21 +00:00
Claes Redestad
0d8e52b382 8339800: Prefer invokeBasic in BootstrapMethodInvokers
Reviewed-by: jvernee
2024-09-10 09:46:36 +00:00
David Holmes
64de7813e4 8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception"
Reviewed-by: lmesnik, ccheung
2024-09-10 08:22:25 +00:00
Christian Hagedorn
125f743223 8305489: runtime/ErrorHandling/TestDwarf.java fails in some Linux configurations after JDK-8303805
Reviewed-by: dholmes, lmesnik
2024-09-10 08:14:40 +00:00
Alan Bateman
7e2bcf6d00 8338890: Add monitoring/management interface for the virtual thread scheduler
Reviewed-by: kevinw
2024-09-10 07:23:35 +00:00
Jan Lahoda
5e822c24bb 8334870: javac does not accept classfiles with certain permitted RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attributes
Reviewed-by: vromero
2024-09-10 06:13:36 +00:00
Artur Barashev
56387a0981 8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases
Reviewed-by: weijun
2024-09-09 21:04:04 +00:00
Evgeny Nikitin
559fc711e0 8339366: [jittester] Make it possible to generate tests without execution
Reviewed-by: lmesnik
2024-09-09 19:55:45 +00:00
Joe Darcy
6b5958d661 8339696: Clarify modeling scope of javax.lang.model.element
Reviewed-by: jjg, jlahoda, prappo
2024-09-09 19:24:33 +00:00
Matias Saavedra Silva
77468c284c 8339575: DumpingWithJavaAgent.java failed with missing expected output
Reviewed-by: ccheung, dholmes
2024-09-09 16:28:17 +00:00
Naoto Sato
86a2f9c7dc 8339644: Improve parsing of Day/Month in tzdata rules
Reviewed-by: jlu, coffeys
2024-09-09 16:04:59 +00:00
Chen Liang
a9bb04331d 8339683: Simplify class data generation in InvokerBytecodeGenerator
Reviewed-by: redestad
2024-09-09 15:15:16 +00:00
Oli Gillespie
7c0f013d92 8339488: Extended NPE message doesn't handle CONSTANT_Dynamic
Reviewed-by: lmesnik, coleenp, simonis, liach
2024-09-09 14:53:36 +00:00
Claes Redestad
d53e405a26 8339742: Refactor ClassFileImpl to allow loading Option classes lazily
Reviewed-by: asotona
2024-09-09 14:18:20 +00:00
Ferenc Rakoczi
c54fc08aa3 8338587: Internal XOF Methods for SHAKE128 and SHAKE256
Reviewed-by: valeriep, weijun
2024-09-09 13:49:34 +00:00
Pavel Rappo
88cccc14db 8339631: Fix block @jls and @jvms tags
Reviewed-by: liach, darcy, jjg
2024-09-09 12:06:21 +00:00
Aleksey Shipilev
615a24f216 8338902: CDS flags are reported with wrong flag category
Reviewed-by: iklam, adinn
2024-09-09 11:56:34 +00:00
Stefan Johansson
347d5728e6 8339387: ZGC: Synchronize medium page allocation
Reviewed-by: aboldtch, stefank, eosterlund
2024-09-09 11:14:26 +00:00
Matthias Baesken
4ff72dc57e 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Reviewed-by: alanb, lucy, rriggs
2024-09-09 07:35:18 +00:00
Matthias Baesken
cb5c60b530 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Reviewed-by: lucy
2024-09-09 06:42:05 +00:00
Claes Redestad
b45fe17450 8339710: Avoid initializing AccessFlag related classes in write-only cases
Reviewed-by: liach
2024-09-09 05:53:29 +00:00
Jan Lahoda
a18d9d84cd 8326616: tools/javac/patterns/Exhaustiveness.java intermittently Timeout signalled after 480 seconds
Reviewed-by: abimpoudis
2024-09-09 05:34:09 +00:00
Tejesh R
79d761358c 8338153: java/awt/Checkbox/CheckboxCheckerScalingTest.java test failed on linux machine
Reviewed-by: abhiscxk, honkar
2024-09-09 05:17:09 +00:00
Chris Plummer
f0e84b7617 8339703: Problem list serviceability/sa/TestJhsdbJstackUpcall.java for generational ZGC
Reviewed-by: dholmes
2024-09-07 22:20:37 +00:00
Yasumasa Suenaga
deeb09a640 8339307: jhsdb jstack could not trace FFM upcall frame
Reviewed-by: cjplummer, jvernee
2024-09-07 05:46:47 +00:00
Shaojin Wen
fbe2629303 8339635: StringConcatFactory optimization for CompactStrings off
Reviewed-by: liach
2024-09-06 18:37:29 +00:00
Jorn Vernee
8e580ec538 8338123: Linker crash when building a downcall handle with many arguments in x64
Reviewed-by: mcimadamore
2024-09-06 17:32:34 +00:00
Chen Liang
5b72bbf9d4 8339519: Remove size field from instructions
Reviewed-by: asotona
2024-09-06 14:57:12 +00:00
Andrew Dinn
0df10bbd96 8339466: Enumerate shared stubs and define static fields and names via declarations
Reviewed-by: kvn, fyang
2024-09-06 13:57:13 +00:00
Shaojin Wen
9ebc2ecbf6 8339317: Optimize ClassFile writeBuffer
Reviewed-by: redestad, liach
2024-09-06 13:38:22 +00:00
Claes Redestad
d2b36f0907 8339642: Reduce overheads in InvokerBytecodeGenerator
Reviewed-by: liach
2024-09-06 12:37:48 +00:00
Claes Redestad
cb00333d6a 8339640: Reduce construction overheads in StringConcatFactory$InlineHiddenClassStrategy
Reviewed-by: liach
2024-09-06 12:27:53 +00:00
Claes Redestad
260908e16e 8339592: Simplify and remove unused code in ObjectMethods.<clinit>
Reviewed-by: liach
2024-09-06 12:04:38 +00:00
Shaojin Wen
febbd998ee 8339168: Optimize ClassFile Util slotSize
Reviewed-by: liach, redestad
2024-09-06 12:01:01 +00:00
Chen Liang
a1eebbdf8a 8339576: Speed up raw bytecode processing in ClassFile API
Co-authored-by: Shaojin Wen <swen@openjdk.org>
Reviewed-by: asotona, redestad
2024-09-06 11:42:50 +00:00
Adam Sotona
a35fd38610 8339368: Switch targets are not inflated in CodeModel if no StackMap
Reviewed-by: liach
2024-09-06 07:43:38 +00:00
nelanbu
7db4d46c39 8330159: [C2] Remove or clarify Compile::init_start
Reviewed-by: chagedorn, dlong
2024-09-06 06:44:54 +00:00
Fei Yang
9e0ccb8bbd 8339548: GHA: RISC-V: Use Debian snapshot archive for bootstrap
Reviewed-by: shade, erikj
2024-09-06 02:01:43 +00:00
Hai-May Chao
8fb8cd85b7 8339347: keytool -importpass insists prompting the user even if there is no terminal
Reviewed-by: weijun
2024-09-05 20:17:52 +00:00
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Coleen Phillimore
48d79431c9 8339342: FieldAllocationCount is mostly unused
Reviewed-by: fparain, stuefe, matsaave
2024-09-05 16:34:39 +00:00
Roland Westrelin
e203df46fa 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: chagedorn, thartmann
2024-09-05 15:51:27 +00:00
Jonathan Gibbons
98020e4799 8338133: Cleanup direct use of new HtmlTree
Reviewed-by: hannesw
2024-09-05 15:46:38 +00:00
Suchismith Roy
b895d7cf9f 8332423: [PPC64] Remove C1_MacroAssembler::call_c_with_frame_resize
Reviewed-by: mdoerr, varadam
2024-09-05 15:44:57 +00:00
Artur Barashev
59c4649be3 8329959: Update DigestMD5Client.java - fix typo in javadoc string
Reviewed-by: weijun
2024-09-05 15:34:26 +00:00
Daniel D. Daugherty
4ffcf894b5 8339619: ProblemList runtime/cds/appcds/jvmti/dumpingWithAgent/DumpingWithJavaAgent.java
Reviewed-by: azvegint
2024-09-05 15:12:27 +00:00
Brian Burkhalter
042053c3a8 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows
Reviewed-by: alanb
2024-09-05 15:03:54 +00:00
Stefan Karlsson
b389bb4567 8339540: Unify include requirements for PlatformMonitor/Mutex constructors/destructors
Reviewed-by: coleenp, sjohanss
2024-09-05 13:49:17 +00:00
Joel Sikström
ab656c3aab 8339579: ZGC: Race results in only one of two remembered sets being cleared
Reviewed-by: stefank, sjohanss
2024-09-05 13:39:56 +00:00
Fernando Guallini
a505a1dda3 8337951: Test sun/security/validator/samedn.sh CertificateNotYetValidException: NotBefore validation
Reviewed-by: mullan
2024-09-05 13:14:00 +00:00
Per Minborg
6be927260a 8338591: Improve performance of MemorySegment::copy
Reviewed-by: mcimadamore
2024-09-05 13:10:24 +00:00
Shaojin Wen
cb9f5c5791 8339290: Optimize ClassFile Utf8EntryImpl#writeTo
Reviewed-by: redestad, liach
2024-09-05 11:45:49 +00:00
Christian Hagedorn
340e131d61 8338971: IGV: Add incrementally inlined method name to phase name
Reviewed-by: rcastanedalo, kvn
2024-09-05 10:52:44 +00:00
Yagmur Eren
2305d18e8d 8339384: Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
Reviewed-by: cjplummer, kevinw
2024-09-05 09:26:08 +00:00
Ivan Walulya
96a0502d62 8339369: G1: TestVerificationInConcurrentCycle.java fails with "Missing rem set entry" when using "-XX:G1RSetUpdatingPauseTimePercent=0 -XX:G1UpdateBufferSize=2"
Reviewed-by: tschatzl, kbarrett
2024-09-05 08:18:35 +00:00
Amit Kumar
28de44da71 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType'
Reviewed-by: stefank, kvn, dlong
2024-09-05 07:01:29 +00:00
David Holmes
96df5a6d8f 8339316: Test runtime/exceptionMsgs/NoClassDefFoundError/NoClassDefFoundErrorTest.java fails after JDK-8338257
Reviewed-by: jsjolen, coleenp
2024-09-04 23:58:17 +00:00
Shaojin Wen
55312e1549 8338937: Optimize the string concatenation of ClassDesc
Reviewed-by: liach
2024-09-04 22:45:17 +00:00
Matias Saavedra Silva
d4dfa0127f 8338530: CDS warning Skipping java/lang/invoke/BoundMethodHandle$Species_LLLL
Reviewed-by: iklam, ccheung
2024-09-04 20:49:32 +00:00
Manukumar V S
b8d560b6cd 8339233: Test javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id failed: Button renderings are different after window resize
Reviewed-by: honkar
2024-09-04 20:05:27 +00:00
Matias Saavedra Silva
1353601dcc 8338924: C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: kvn, thartmann
2024-09-04 17:25:37 +00:00
David M. Lloyd
433f6d8a06 8339492: StackMapDecoder::writeFrames makes lots of allocations
Reviewed-by: liach, redestad, jwaters, asotona
2024-09-04 16:46:44 +00:00
Alexey Ivanov
ef96a7b014 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.

Reviewed-by: honkar, prr, dnguyen
2024-09-04 16:37:17 +00:00
Severin Gehwolf
12d060a255 8339148: Make os::Linux::active_processor_count() public
Reviewed-by: dholmes, jwaters
2024-09-04 16:21:19 +00:00
Coleen Phillimore
0cfd08f55a 8339112: Move JVM Klass flags out of AccessFlags
Reviewed-by: matsaave, cjplummer, dlong, thartmann, yzheng
2024-09-04 15:48:32 +00:00
Jasmine Karthikeyan
6f8714ee19 8336860: x86: Change integer src operand for CMoveL of 0 and 1 to long
Reviewed-by: epeter, chagedorn, shade, qamai, jbhateja
2024-09-04 13:44:24 +00:00
Attila Szegedi
c7d15f1fe0 8325679: Optimize ArrayList subList sort
Reviewed-by: liach
2024-09-04 13:40:40 +00:00
Chen Liang
bd8569bc6c 8339131: Remove rarely-used accessor methods from Opcode
Reviewed-by: asotona
2024-09-04 12:29:40 +00:00
Erik Gahlin
e25a9e7fd8 8339486: JFR: Modernize
Reviewed-by: mgronlun
2024-09-04 12:08:16 +00:00
Magnus Ihse Bursie
4e2dde2f0d 8339371: jlink.log warning when building after JDK-8338404
Reviewed-by: erikj, alanb
2024-09-04 10:35:04 +00:00
Joel Sikström
7ad61605f1 8339163: ZGC: Race in clearing of remembered sets
Reviewed-by: stefank, eosterlund, aboldtch
2024-09-04 09:09:15 +00:00
Joel Sikström
a61860511f 8339399: ZGC: Remove unnecessary page reset when splitting pages
Reviewed-by: stefank, eosterlund, aboldtch
2024-09-04 08:56:02 +00:00
Matthias Baesken
f2c992c5af 8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
Reviewed-by: mdoerr, lucy
2024-09-04 07:09:59 +00:00
Prasanta Sadhukhan
9a1024dec6 8190329: [macos] Swing InterOp Platform.exit() crash
Co-authored-by: Kevin Rushforth <kcr@openjdk.org>
Reviewed-by: kcr, azvegint
2024-09-04 05:05:20 +00:00
Abhishek Kumar
5998f4b6f5 8308588: Unnecessary synchronized on GTKStyle#ICONS_MAP can be removed
Reviewed-by: tr, aivanov, aturbanov
2024-09-04 04:26:55 +00:00
David Holmes
90f3f43257 8328877: [JNI] The JNI Specification needs to address the limitations of integer UTF-8 String lengths
Reviewed-by: cjplummer, alanb
2024-09-04 03:41:42 +00:00
Mark Powers
bbb516163d 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Reviewed-by: mullan, rhalade
2024-09-03 19:55:58 +00:00
Chris Plummer
a22e932ab8 8337163: Improve SA error message when failing to attach to a core file
Reviewed-by: amenkov, kevinw
2024-09-03 19:51:12 +00:00
Alex Menkov
a7120e2b25 8311993: Test serviceability/sa/UniqueVtableTest.java failed: duplicate vtables detected
Reviewed-by: cjplummer, kevinw, dholmes
2024-09-03 19:06:10 +00:00
Chris Plummer
5ebdf2d272 8338708: Don't create/destroy debug agent cmdQueueLock for each connection
Reviewed-by: amenkov, lmesnik
2024-09-03 19:06:00 +00:00
Doug Simon
130ac13cb9 8337265: Test static-libs build in GitHub Actions
Reviewed-by: erikj, ihse
2024-09-03 19:04:04 +00:00
Alex Menkov
cfec3ac911 8337317: serviceability/jvmti tests failed with FATAL ERROR in native method: Failed during the GetClassSignature call
Reviewed-by: lmesnik, sspitsyn, cjplummer
2024-09-03 19:01:58 +00:00
Amit Kumar
0d593cd194 8339419: [s390x] Problemlist compiler/c2/irTests/TestIfMinMax.java
Reviewed-by: thartmann
2024-09-03 15:32:42 +00:00
Magnus Ihse Bursie
c3adcb8439 8338916: Build warnings about overriding recipe for jvm-ldflags.txt
Reviewed-by: jwaters, erikj
2024-09-03 15:31:19 +00:00
Magnus Ihse Bursie
66945e5010 8339336: Fix build system whitespace to adhere to coding conventions
Reviewed-by: erikj
2024-09-03 15:31:09 +00:00
Chen Liang
ad40a122d6 8339214: Remove misleading CodeBuilder.loadConstant(Opcode, ConstantDesc)
Reviewed-by: asotona
2024-09-03 13:44:48 +00:00
Daniel Fuchs
4ca2c208ea 8338740: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: djelinski, jpai
2024-09-03 13:32:50 +00:00
Viktor Klang
e0c46d589b 8325397: sun/java2d/Disposer/TestDisposerRace.java fails in linux-aarch64
Reviewed-by: alanb
2024-09-03 12:55:23 +00:00
Shaojin Wen
b94c3debf5 8339401: Optimize ClassFile load and store instructions
Reviewed-by: liach, redestad
2024-09-03 12:05:02 +00:00
Matthias Baesken
8ea6adc623 8339364: AIX build fails: various unused variable and function warnings
Reviewed-by: mdoerr, clanger, jwaters
2024-09-03 12:02:49 +00:00
Per Minborg
7a418fc074 8338967: Improve performance for MemorySegment::fill
Reviewed-by: mcimadamore, psandoz
2024-09-03 10:25:27 +00:00
Damon Fenacci
633fad8e53 8326615: C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: thartmann, kvn
2024-09-03 09:45:43 +00:00
Martin Doerr
6f3e3fd0d4 8339411: [PPC64] cmpxchgw/h/b doesn't handle external Label
Reviewed-by: lucy, mbaesken
2024-09-03 09:27:59 +00:00
Kevin Walls
ed422ed1a3 8338817: Wrong indent in API docs for java.lang.management.ManagementFactory
Reviewed-by: alanb, dfuchs
2024-09-03 07:56:14 +00:00
Kevin Walls
288fa60ebe 8338891: HotSpotDiagnosticsMXBean missing @since tag
Reviewed-by: alanb
2024-09-03 07:56:04 +00:00
Fei Yang
dc4fd89628 8339359: RISC-V: Use auipc explicitly in far_jump and far_call macro assembler routines
Reviewed-by: rehn, luhenry
2024-09-03 06:58:44 +00:00
Roland Westrelin
3a88fd437d 8334724: C2: remove PhaseIdealLoop::cast_incr_before_loop()
Reviewed-by: chagedorn, kvn
2024-09-03 06:58:29 +00:00
Kim Barrett
62dad3a9ea 8339351: Remove duplicate line in FileMapHeader::print
Reviewed-by: dholmes
2024-09-02 17:57:02 +00:00
Joshua Zhu
0e6bb514c8 8339063: [aarch64] Skip verify_sve_vector_length after native calls if SVE supports 128 bits VL only
Reviewed-by: adinn, fgao
2024-09-02 15:37:58 +00:00
Daniel Fuchs
b1163bcc88 8256211: assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
Reviewed-by: jpai
2024-09-02 14:52:04 +00:00
Aleksei Efimov
03ba37e60c 8339169: Remove NaiveHuffman coder
Reviewed-by: djelinski, dfuchs
2024-09-02 09:32:10 +00:00
Magnus Ihse Bursie
a136a85b6f 8338768: Introduce runtime lookup to check for static builds
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: prr, jiangli, alanb
2024-09-02 09:14:36 +00:00
Gui Cao
9d7d85a6aa 8339298: Remove unused function declaration poll_for_safepoint
Reviewed-by: fyang, chagedorn
2024-09-02 01:23:50 +00:00
Leonid Mesnik
92aafb4342 8338934: vmTestbase/nsk/jvmti/*Field*Watch/TestDescription.java tests timeout intermittently
Reviewed-by: sspitsyn, amenkov
2024-09-01 16:13:53 +00:00
Fei Yang
392bdd5734 8339248: RISC-V: Remove li64 macro assembler routine and related code
Reviewed-by: rehn, fjiang, luhenry
2024-08-31 01:44:17 +00:00
Kim Barrett
4f071ce074 8311163: Parallel: Improve large object handling during evacuation
Reviewed-by: tschatzl, ayang
2024-08-31 01:13:07 +00:00
Justin Lu
b840b130df 8338882: Clarify matching order of MessageFormat subformat factory styles
Reviewed-by: naoto
2024-08-30 18:28:53 +00:00
Chen Liang
25e03b5209 8339115: Rename TypeKind enum constants to follow code style
Reviewed-by: asotona
2024-08-30 17:28:28 +00:00
Brian Burkhalter
fef1ef7dfe 6426678: (spec) File.createTempFile(prefix, suffix, dir) needs clarification for illegal symbols in suffix
Reviewed-by: alanb
2024-08-30 17:17:10 +00:00
Magnus Ihse Bursie
a528c4b370 8339156: Use more fine-granular clang unused warnings
Reviewed-by: erikj, kbarrett
2024-08-30 16:43:16 +00:00
Jaikiran Pai
2fb830553f 8339319: ProblemList runtime/exceptionMsgs/NoClassDefFoundError/NoClassDefFoundErrorTest.java
Reviewed-by: dfuchs, dcubed
2024-08-30 14:47:29 +00:00
David Schlosnagle
3a352b8259 8339191: JFR: Bulk read support for ChunkInputStream
Reviewed-by: egahlin
2024-08-30 12:36:33 +00:00
Matthias Baesken
92c4704edf 8339166: java/lang/String/concat/HiddenClassUnloading.java fails on AIX and Linux ppc64le after JDK-8336856
Reviewed-by: redestad, mdoerr
2024-08-30 10:18:19 +00:00
Magnus Ihse Bursie
2abe2ff69b 8339235: Fix indentation in build system
Reviewed-by: erikj
2024-08-30 08:58:18 +00:00
Magnus Ihse Bursie
bb28b0d229 8338404: Cross-compilation to different endianness fails after JDK-8318913
Reviewed-by: erikj, fbredberg
2024-08-30 08:58:07 +00:00
Jan Lahoda
b8727181f3 8338301: Error recovery and reporting should be improved for erroneous implicitly declared classes
Reviewed-by: cstein, vromero
2024-08-30 08:11:49 +00:00
Matthias Baesken
b9e65f982f 8337662: Improve os::print_hex_dump for printing Instructions sections
Reviewed-by: stuefe, lucy
2024-08-30 06:47:49 +00:00
Eirik Bjørsnøs
f927c1210e 8339154: Cleanups and JUnit conversion of test/jdk/java/util/zip/Available.java
Reviewed-by: lancea
2024-08-30 06:21:49 +00:00
Gui Cao
4675913edb 8339237: RISC-V: Builds fail after JDK-8339120
Reviewed-by: fyang
2024-08-30 01:06:00 +00:00
Shaojin Wen
b711c41d44 8339196: Optimize BufWriterImpl#writeU1/U2/Int/Long
Reviewed-by: liach, redestad
2024-08-29 21:21:16 +00:00
Matias Saavedra Silva
f2968b34a5 8339020: Remove unused HeapShared::calculate_oopmap
Reviewed-by: coleenp
2024-08-29 21:06:05 +00:00
David Holmes
a4962ace4d 8338257: UTF8 lengths should be size_t not int
Reviewed-by: stuefe, coleenp, dlong
2024-08-29 20:38:52 +00:00
Chen Liang
777ed2b5d2 8339132: Make DirectCodeBuilder write through without allocating instruction objects
Reviewed-by: asotona, redestad
2024-08-29 15:45:52 +00:00
Johan Sjölen
e57b593258 8335062: NMT: Make StackIndex non-opaque
Reviewed-by: stuefe, gziemski
2024-08-29 11:23:04 +00:00
Jan Lahoda
8c8b5801fd 8338281: jshell does not run shutdown hooks
Reviewed-by: asotona
2024-08-29 10:06:08 +00:00
Andrey Turbanov
d35ffa4f6a 8339017: Make a couple of fields in DoubleByte static
Reviewed-by: bpb, naoto
2024-08-29 09:57:52 +00:00
Daniel Fuchs
723588a4e7 8338569: HTTP/1.1 CleanupTrigger may be triggerred after the next exchange started
Reviewed-by: jpai
2024-08-29 08:54:02 +00:00
Magnus Ihse Bursie
362f9ce077 8339120: Use more fine-granular gcc unused warnings
Reviewed-by: jwaters, kbarrett, erikj
2024-08-29 07:29:12 +00:00
Matthias Baesken
f080b4bb8a 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
Reviewed-by: kvn, iveresov
2024-08-29 07:07:12 +00:00
Jan Lahoda
ff59532ddd 8338678: Erroneous parameterized type represented as <any>
Reviewed-by: vromero
2024-08-29 06:28:05 +00:00
Jan Lahoda
0b4a7d5342 8324859: Improve error recovery
Reviewed-by: mcimadamore
2024-08-29 06:25:27 +00:00
Kangcheng Xu
1383fec417 8327381: Refactor type-improving transformations in BoolNode::Ideal to BoolNode::Value
Reviewed-by: chagedorn, thartmann, jkarthikeyan, epeter
2024-08-29 05:34:08 +00:00
Prasanta Sadhukhan
eb7ead58fd 8336873: BasicSplitPaneDivider:oneTouchExpandableChanged() should mention that implementation depends on SplitPane.supportsOneTouchButtons property
Reviewed-by: prr, abhiscxk
2024-08-29 05:03:15 +00:00
Dean Long
0ddcd70175 8335120: assert(!target->can_be_statically_bound() || target == cha_monomorphic_target) failed
Reviewed-by: kvn, vlivanov
2024-08-29 00:34:11 +00:00
Brent Christian
26e3d535ad 8338716: Re-visit "interrupt handling" in jdk.internal.loader.Resource
Reviewed-by: alanb
2024-08-28 22:54:38 +00:00
David Holmes
72a49005ee 8338888: SystemDictionary::class_name_symbol has incorrect length check
Reviewed-by: stuefe, kbarrett, coleenp
2024-08-28 21:16:18 +00:00
Justin Lu
a8ac28725b 8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
2024-08-28 21:14:29 +00:00
Leonid Mesnik
d08b5bd9f5 8258483: [TESTBUG] gtest CollectorPolicy.young_scaled_initial_ergo_vm fails if heap is too small
Reviewed-by: ayang
2024-08-28 20:18:51 +00:00
Leonid Mesnik
d03ec7aad4 8339030: frame::print_value_on(outputStream* st, JavaThread *thread) doesn't need thread argument
Reviewed-by: dholmes, coleenp
2024-08-28 20:17:25 +00:00
Claes Redestad
eff6d9cd23 8339167: Remove AbstractPoolEntry.PrimitiveEntry to reduce boxing overheads
Reviewed-by: liach
2024-08-28 18:22:30 +00:00
Claes Redestad
a98ecad0a9 8338897: Small startup regression remains after JDK-8309622 and JDK-8331932
Reviewed-by: liach, naoto
2024-08-28 18:16:00 +00:00
Manukumar V S
3d49fb8a17 8338103: Stabilize and open source a Swing OGL ButtonResizeTest
Reviewed-by: abhiscxk, prr, tr
2024-08-28 17:54:43 +00:00
Anthony Scarpino
0c2b175898 8328608: Multiple NewSessionTicket support for TLS
Reviewed-by: djelinski
2024-08-28 17:24:33 +00:00
Daniel D. Daugherty
379f3db001 8339175: ProblemList runtime/interpreter/LastJsrTest.java on all platforms with Xcomp
Reviewed-by: matsaave
2024-08-28 16:47:30 +00:00
Eirik Bjørsnøs
b6700095c0 8338729: Retire the test jdk/java/util/zip/TestZipError.java
Reviewed-by: lancea
2024-08-28 15:23:50 +00:00
Albert Mingkun Yang
32c9750985 8339160: [BACKOUT] JDK-8338440 Parallel: Improve fragmentation mitigation in Full GC
Reviewed-by: tschatzl
2024-08-28 13:28:01 +00:00
Markus Grönlund
9d183bd027 8339149: jfr_flush_event_writer - return value type mismatch
Reviewed-by: egahlin
2024-08-28 12:19:58 +00:00
Nizar Benalla
2150521650 8322036: Improve help output from the javadoc tool
Reviewed-by: prappo
2024-08-28 11:01:15 +00:00
Maurizio Cimadamore
1ff9ac7233 8338731: MemoryLayout::offsetHandle can return a negative offset
Reviewed-by: pminborg, psandoz
2024-08-28 10:22:34 +00:00
Jaikiran Pai
2e174c6367 8338445: jdk.internal.loader.URLClassPath may leak JarFile instance when dealing with unexpected Class-Path entry in manifest
Reviewed-by: michaelm, cstein, alanb
2024-08-28 09:29:18 +00:00
Tejesh R
8e88da05b9 8338041: Keyboard Navigation of JTable, Ctrl Shift RIGHT/LEFT doesn't follow native action in GTK L&F
Reviewed-by: honkar, prr, abhiscxk
2024-08-28 04:43:10 +00:00
Shaojin Wen
449ca2c3c1 8337832: Optimize datetime toString
Reviewed-by: scolebourne, liach, naoto
2024-08-27 22:10:05 +00:00
Alexander Zvegintsev
b1b4cd429a 8332158: [XWayland] test/jdk/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
Reviewed-by: serb, honkar
2024-08-27 17:16:09 +00:00
Neethu Prasad
284c3cde5e 8336299: Improve GCLocker stall diagnostics
Reviewed-by: ayang, shade, tschatzl
2024-08-27 16:45:34 +00:00
Per Minborg
2e96f159aa 8338489: Typo in MemorySegment doc
Reviewed-by: rriggs, mcimadamore, iris
2024-08-27 16:24:50 +00:00
Hamlin Li
44d3a68d8a 8314124: RISC-V: implement Base64 intrinsic - decoding
Reviewed-by: fyang, rehn, tonyp
2024-08-27 16:20:18 +00:00
Thomas Stuefe
daf26178be 8338929: Make Metaspace::deallocate space-aware
Reviewed-by: coleenp, adinn
2024-08-27 15:46:10 +00:00
Naoto Sato
fa4ff78bd4 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
2024-08-27 15:34:50 +00:00
Albert Mingkun Yang
1ff5f8d65c 8338440: Parallel: Improve fragmentation mitigation in Full GC
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: iwalulya, zgu, gli
2024-08-27 15:18:34 +00:00
Markus Grönlund
0f667103db 8338939: Simplify processing of hidden class names
Reviewed-by: egahlin
2024-08-27 14:33:31 +00:00
Maurizio Cimadamore
b25095b08e 8338728: Misc issues in memory layout javadoc
Reviewed-by: pminborg, psandoz
2024-08-27 14:26:31 +00:00
Viktor Klang
414d23cb8f 8338765: ScheduledThreadPoolExecutor struggles with extremely long delays
Reviewed-by: alanb
2024-08-27 13:23:02 +00:00
Joakim Nordström
d5c6158ced 8338389: [JFR] Long strings should be added to the string pool
Reviewed-by: mgronlun
2024-08-27 13:17:21 +00:00
Martin Doerr
2edf574f62 8338814: [PPC64] Unify interface of cmpxchg for different types
Reviewed-by: lucy
2024-08-27 11:51:28 +00:00
Robbin Ehn
aefdbdc7e5 8338727: RISC-V: Avoid synthetic data dependency in nmethod barrier on Ztso
Reviewed-by: mli, fyang
2024-08-27 08:42:06 +00:00
Jan Lahoda
b704bfa205 8298920: Improve microbenchmark build times
Reviewed-by: erikj, ihse, djelinski
2024-08-27 07:23:15 +00:00
Abhishek Kumar
b8e8e965e5 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Reviewed-by: aivanov, honkar, prr
2024-08-27 04:15:08 +00:00
Julian Waters
cd9e241f0e 8336289: Obliterate most references to _snprintf in the Windows JDK
Reviewed-by: kbarrett, dholmes, jpai, mullan, djelinski, prr
2024-08-27 04:13:54 +00:00
Chihiro Ito
78f53efcd6 8338938: The result of the combine method of SettingsControl is not used
Reviewed-by: egahlin
2024-08-27 00:24:46 +00:00
David Holmes
16df090784 8338947: Deprecate the UseLinuxPosixThreadCPUClocks flag and remove it in a future release
Reviewed-by: kbarrett, stuefe
2024-08-26 22:26:40 +00:00
Calvin Cheung
a827ff05db 8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error
Reviewed-by: dholmes, iklam
2024-08-26 21:26:12 +00:00
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +00:00
Phil Race
0c744ea7e7 8338928: Update SwingSet2 "About" image to reference openjdk.org
Reviewed-by: abhiscxk, honkar
2024-08-26 18:52:36 +00:00
Tomáš Zezula
a15af6998e 8338538: [JVMCI] Allow HotSpotJVMCIRuntime#getJObjectValue to be called by a HotSpot CompileBroker compiler thread
Reviewed-by: dnsimon
2024-08-26 16:49:48 +00:00
Claes Redestad
3f00da84b3 8338906: Avoid passing EnumDescs and extra classes to type switch methods that don't use them
Reviewed-by: liach, jlahoda
2024-08-26 15:58:25 +00:00
Claes Redestad
e63418ee01 8338979: Avoid bootstrapped switches in the classfile API
Reviewed-by: liach, asotona
2024-08-26 14:29:09 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Roland Westrelin
ce83f6af64 8338844: C2: remove useless code in PhaseIdealLoop::place_outside_loop() after 8335709
Reviewed-by: chagedorn, thartmann
2024-08-26 07:32:19 +00:00
Roland Westrelin
0c14579fef 8336830: C2: assert(get_loop(lca)->_nest < n_loop->_nest || lca->in(0)->is_NeverBranch()) failed: must not be moved into inner loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann, chagedorn, epeter
2024-08-26 07:31:04 +00:00
Sergey Bylokhov
5671f83603 8338785: The java.awt.datatransfer.SystemFlavorMap#FLAVOR_MAP_KEY field is not used
Reviewed-by: honkar, dnguyen, prr
2024-08-24 00:05:30 +00:00
Daniel D. Daugherty
32b3d707c1 8338925: ProblemList runtime/interpreter/LastJsrTest.java on linux-all
Reviewed-by: matsaave
2024-08-23 22:04:43 +00:00
Joe Darcy
5d12ac3fcb 8337715: Update --release 23 symbol information for JDK 23 build 37
Reviewed-by: iris, liach
2024-08-23 20:01:16 +00:00
Brian Burkhalter
23dc3b0246 8324048: (fc) Make FileKey fields final
Reviewed-by: djelinski, alanb, jpai
2024-08-23 16:32:14 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Tejesh R
916f1aa04f 8329756: [macos] "javax/swing/JTable/KeyBoardNavigation.java" fail because most combinations of navigational keys with the Ctrl key do not work
Reviewed-by: abhiscxk, dnguyen
2024-08-23 10:51:12 +00:00
Erik Gahlin
21d1e4d803 8338819: JFR: Internal events causes crash when no other events are in use
Reviewed-by: mgronlun, sjohanss
2024-08-23 09:59:15 +00:00
Qizheng Xing
965dd1acd0 8333334: C2: Make result of Node::dominates more precise to enhance scalar replacement
Reviewed-by: chagedorn, kvn, thartmann
2024-08-23 09:30:47 +00:00
Markus Grönlund
69bd227e6c 8338417: Explicitly pin a virtual thread before acquiring the JFR string pool monitor
Reviewed-by: alanb, egahlin, dholmes
2024-08-23 09:29:23 +00:00
Markus Grönlund
fead3cf541 8338745: Intrinsify Continuation.pin() and Continuation.unpin()
Reviewed-by: kvn
2024-08-23 09:26:00 +00:00
Pavel Rappo
a5e28005fa 8338834: Remove unused import declarations in java.compiler
Reviewed-by: darcy
2024-08-23 08:05:16 +00:00
Stefan Karlsson
9cbf685b0b 8337658: ZGC: Move soft reference handling out of the driver loop function
Reviewed-by: gli, aboldtch, eosterlund
2024-08-23 07:09:40 +00:00
SendaoYan
8e0d0190ed 8338630: Test java/nio/channels/DatagramChannel/SendReceiveMaxSize.java timeout
Reviewed-by: dfuchs, jpai, djelinski
2024-08-23 06:26:24 +00:00
Axel Boldt-Christmas
e06652ad3c 8338810: PPC, s390x: LightweightSynchronizer::exit asserts, missing lock
Reviewed-by: mdoerr, amitkumar
2024-08-23 05:47:29 +00:00
David Holmes
ea3370982b 8328880: Events::log_exception should limit the size of the logging message
Reviewed-by: shade, kvn
2024-08-23 02:35:48 +00:00
Brian Burkhalter
c89a1c35bd 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Reviewed-by: sgehwolf, alanb
2024-08-22 21:41:25 +00:00
Aleksey Shipilev
813546f923 8338856: [BACKOUT] JDK-8337828: CDS: Trim down minimum GC region alignment
Reviewed-by: dcubed
2024-08-22 19:48:25 +00:00
Matthew Donovan
0b5c8870e5 8338380: Update TLSCommon/interop/AbstractServer to specify an interface to listen for connections
Reviewed-by: rhalade
2024-08-22 17:58:08 +00:00
Matias Saavedra Silva
6041c936d6 8335664: Parsing jsr broken: assert(bci>= 0 && bci < c->method()->code_size()) failed: index out of bounds
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: dlong, thartmann
2024-08-22 15:55:02 +00:00
Aleksey Shipilev
6cf7f9c4a7 8338662: Shenandoah: Remove excessive ShenandoahVerifier::verify_during_evacuation
Reviewed-by: wkemper, ysr
2024-08-22 11:39:47 +00:00
Magnus Ihse Bursie
129f527f4f 8338290: Xcode project generator for hotspot
Co-authored-by: Gerard Ziemski <gziemski@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: azafari, erikj
2024-08-22 10:31:34 +00:00
Hamlin Li
6644dd33f6 8338760: Adjust the comment after UseObjectMonitorTable
Reviewed-by: coleenp, dcubed
2024-08-22 07:22:35 +00:00
Axel Boldt-Christmas
1d05989bb4 8334357: Use NonInterleavingLogStream for report_metadata_oome
Reviewed-by: jsjolen, stuefe
2024-08-22 06:23:06 +00:00
Claes Redestad
47c8a6a8db 8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
2024-08-21 22:10:06 +00:00
Doug Lea
ab8071d280 8338146: Improve Exchanger performance with VirtualThreads
Reviewed-by: alanb
2024-08-21 18:22:24 +00:00
Aleksey Shipilev
e297e8817f 8338688: Shenandoah: Avoid calling java_lang_Class accessors in asserts/verifier
Reviewed-by: rkennke, wkemper
2024-08-21 16:10:41 +00:00
Maurizio Cimadamore
0e8fe3550b 8338677: Improve startup of memory access var handles by simplifying combinator chains
Reviewed-by: redestad
2024-08-21 15:11:32 +00:00
Shaojin Wen
3aeb6733f9 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Reviewed-by: redestad, liach
2024-08-21 14:56:30 +00:00
Albert Mingkun Yang
918cf11454 8338490: Serial: Move Generation::print_on to subclasses
Reviewed-by: gli
2024-08-21 12:01:57 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Hamlin Li
7458952ded 8338595: Add more linesize for MIME decoder in macro bench test Base64Decode
Reviewed-by: rehn
2024-08-21 10:17:51 +00:00
Gui Cao
c4cf1e93bb 8338539: New Object to ObjectMonitor mapping: riscv64 implementation
Reviewed-by: fyang, rehn, mli
2024-08-21 08:58:40 +00:00
Lutz Schmidt
715fa8f9fe 8336498: [macos] [build]: install-file macro may run into permission denied error
Reviewed-by: clanger, erikj
2024-08-21 08:23:31 +00:00
Adam Sotona
e88a3b0574 8338661: StackMapTable is invalid if frames appear in dead code
Reviewed-by: liach
2024-08-21 08:19:35 +00:00
Aleksey Shipilev
598169756c 8337828: CDS: Trim down minimum GC region alignment
Reviewed-by: iklam, phh
2024-08-21 08:17:01 +00:00
Prasanta Sadhukhan
cafb3dc491 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled.
Reviewed-by: abhiscxk, tr
2024-08-21 07:04:05 +00:00
Chen Liang
88ccbb6091 8336934: Clean up JavaLangReflectAccess
Reviewed-by: rriggs, darcy
2024-08-21 01:05:41 +00:00
Chris Plummer
d72810794b 8338482: com/sun/jdi/ThreadMemoryLeakTest.java requires that compressed oops are enabled
Reviewed-by: amenkov, kevinw
2024-08-20 23:34:31 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Mark Reinhold
0267284c52 8338611: java.lang.module specification wording not aligned with JEP 261
Reviewed-by: alanb
2024-08-20 18:50:17 +00:00
Leonid Mesnik
c646efc366 8205957: setfldw001/TestDescription.java fails with bad field value
Reviewed-by: sspitsyn, dlong
2024-08-20 18:41:15 +00:00
Vladimir Petko
285ceb9ee5 8336529: (fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Reviewed-by: bpb, alanb
2024-08-20 15:51:40 +00:00
Christian Hagedorn
55a97ec879 8336729: C2: Div/Mod nodes without zero check could be split through iv phi of outer loop of long counted loop nest resulting in SIGFPE
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn, thartmann
2024-08-20 15:47:16 +00:00
Chen Liang
b442003048 8338623: StackCounter adding extraneous slots for receiver invoke instructions
Reviewed-by: asotona
2024-08-20 14:44:37 +00:00
George Adams
bc2700b7dc 8282944: GHA: Add Alpine Linux x86_64 pre-integration check
Reviewed-by: ihse
2024-08-20 14:38:31 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Darragh Clarke
01d03e07c7 8324209: Check implementation of Expect: 100-continue in the java.net.http.HttpClient
Reviewed-by: dfuchs, jpai
2024-08-20 11:10:18 +00:00
Matthias Baesken
7933e45cda 8338550: Do libubsan1 installation in test container only if requested
Reviewed-by: sgehwolf
2024-08-20 10:43:16 +00:00
Amit Kumar
89ca5b6fbd 8338365: [PPC64, s390] Out-of-bounds array access in secondary_super_cache
Reviewed-by: mdoerr, aph, rrich
2024-08-20 09:54:20 +00:00
Aleksey Shipilev
b9d49dcef2 8337981: ShenandoahHeap::is_in should check for alive regions
Reviewed-by: rkennke, wkemper
2024-08-20 08:40:45 +00:00
Stefan Karlsson
9775d57168 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: lmesnik, dcubed, dholmes
2024-08-20 06:15:56 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Hannes Wallnöfer
55851a312b 8281533: Odd "preview" label in link/linkplain
Reviewed-by: jjg
2024-08-19 18:05:37 +00:00
Hannes Wallnöfer
c7690c34c2 8338190: TOC vertical offsets not updated when document size changes
Reviewed-by: jjg
2024-08-19 17:47:25 +00:00
Damon Nguyen
6460b30048 8321140: Add comment to note difference in Metal's JButton margins
Reviewed-by: honkar, aivanov
2024-08-19 16:43:43 +00:00
Daniel Fuchs
3ca359ad22 8335771: Improve stability of java/nio/channels/DatagramChannel tests
Reviewed-by: alanb
2024-08-19 13:47:40 +00:00
Alan Bateman
2766b09e29 8338452: (dc) DatagramChannelImpl.blockingReceive with timeout may block indefinitely if all datagrams blocked by SecurityManager
Reviewed-by: dfuchs
2024-08-19 12:57:29 +00:00
Adam Sotona
f0fe31383a 8338564: Remove obsolete AbstractNamedEntry::equals method
Reviewed-by: liach
2024-08-19 12:57:17 +00:00
Renjith Kannath Pariyangad
6ff6b09943 8290501: Typo in javax.swing.BoundedRangeModel documentation
Reviewed-by: aivanov, prr, honkar
2024-08-19 12:40:35 +00:00
Erik Gahlin
e07a5b6626 8338512: JFR: Revert changes to TestCodeSweeper
Reviewed-by: mgronlun
2024-08-19 10:42:58 +00:00
Aleksey Shipilev
6d430f24df 8338314: JFR: Split JFRCheckpoint VM operation
Reviewed-by: mgronlun, egahlin
2024-08-19 09:08:54 +00:00
Andrew Dinn
f0374a0bc1 8337987: Relocate jfr and throw_exception stubs from StubGenerator to SharedRuntime
Reviewed-by: fyang, kvn, yzheng
2024-08-19 09:00:19 +00:00
Manukumar V S
15b20cb1fd 8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference
Reviewed-by: dnguyen, honkar, serb
2024-08-19 07:17:37 +00:00
Tejesh R
56a007dd32 8338488: Add screen capture for failure case
Reviewed-by: azvegint
2024-08-19 06:42:51 +00:00
SendaoYan
2f7ba781bf 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Reviewed-by: jpai
2024-08-19 04:44:24 +00:00
Chris Plummer
8635642dbd 8338469: com/sun/jdi/DataDumpTest.java failed with Not a debuggee, or not listening for debugger to attach
Reviewed-by: dcubed
2024-08-16 16:39:36 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Pavel Rappo
07352c6744 8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
2024-08-16 14:06:10 +00:00
Shaojin Wen
5022109b2a 8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-08-16 13:18:02 +00:00
Daniel Fuchs
ddbc0b6a39 8338495: Revert "8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes"
Reviewed-by: jpai
2024-08-16 11:24:40 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Axel Boldt-Christmas
bd4160cea8 8315884: New Object to ObjectMonitor mapping
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Reviewed-by: rkennke, coleenp, dcubed
2024-08-16 06:20:17 +00:00
Shaojin Wen
74066bcca8 8338409: Use record to simplify code
Reviewed-by: redestad, liach
2024-08-15 22:57:33 +00:00
Aleksey Shipilev
d86e99c3ca 8293650: Shenandoah: Support archived heap objects
Reviewed-by: rkennke, wkemper, iklam
2024-08-15 20:52:07 +00:00
Coleen Phillimore
1cd4884368 8338447: Remove InstanceKlass::_is_marked_dependent
Reviewed-by: shade
2024-08-15 18:20:20 +00:00
Kim Barrett
52d9d69db5 8338331: Fix -Wzero-as-null-pointer-constant warnings from CHECK_0 in jni.cpp
Reviewed-by: dholmes, shade
2024-08-15 17:50:44 +00:00
Chen Liang
ace496515f 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy
Reviewed-by: asotona
2024-08-15 17:50:34 +00:00
Kim Barrett
965508270e 8338330: Fix -Wzero-as-null-pointer-constant warnings from THROW_XXX_0
Reviewed-by: dlong, dholmes, shade
2024-08-15 17:43:09 +00:00
Satyen Subramaniam
f308b2d596 8336915: Shenandoah: Remove unused ShenandoahVerifier::verify_after_evacuation
Reviewed-by: shade
2024-08-15 16:47:45 +00:00
Satyen Subramaniam
e51e40c2b9 8336914: Shenandoah: Missing verification steps after JDK-8255765
Reviewed-by: shade
2024-08-15 16:47:08 +00:00
Aleksey Shipilev
ef54af3988 8338444: Shenandoah: Remove ShenandoahHumongousThreshold tunable
Reviewed-by: rkennke, wkemper, ysr
2024-08-15 16:45:43 +00:00
lawrence.andrews
7d1bbff076 8328553: Get rid of JApplet in test/jdk/sanity/client/lib/SwingSet2/src/DemoModule.java
Reviewed-by: honkar, prr
2024-08-15 16:36:15 +00:00
Daniel Fuchs
6169613d9f 8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: jpai
2024-08-15 15:34:08 +00:00
Fei Gao
3859131505 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: aph, dlong
2024-08-15 15:16:14 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
Aleksey Shipilev
74fdd6868d 8333791: Fix memory barriers for @Stable fields
Reviewed-by: liach, vlivanov
2024-08-15 11:24:22 +00:00
Aleksey Shipilev
da7311bbe3 8338286: GHA: Demote x86_32 to hotspot build only
Reviewed-by: ihse
2024-08-15 08:50:29 +00:00
Ivan Walulya
f536f5ab68 8336086: G1: Use one G1CardSet instance for all young regions
Reviewed-by: tschatzl, ayang
2024-08-15 08:26:22 +00:00
Matthias Baesken
4c344335fe 8338304: clang on Linux - check for lld presence after JDK-8333189
Reviewed-by: erikj, ihse
2024-08-15 07:39:31 +00:00
Evgeny Nikitin
4669e7b7b0 8337102: JITTester: Fix breaks in static initialization blocks
Reviewed-by: kvn, iveresov
2024-08-15 05:36:11 +00:00
SendaoYan
e3a5e265a7 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Reviewed-by: chagedorn, shade
2024-08-14 18:55:58 +00:00
Joe Darcy
aff7936ff0 8338333: Add jls links to javax.lang.model.element.Modifier
Reviewed-by: liach, iris, prappo, vromero, jlahoda
2024-08-14 18:42:59 +00:00
Chris Plummer
723ac5763a 8332488: Add JVMTI DataDumpRequest to the debug agent
Reviewed-by: sspitsyn, lmesnik
2024-08-14 18:41:24 +00:00
Phil Race
c0384b6f35 8337237: Use FFM instead of Unsafe for Java 2D RenderBuffer class
Reviewed-by: jvernee, jdv
2024-08-14 17:58:24 +00:00
Matthias Baesken
6a39014795 8338110: Exclude Fingerprinter::do_type from ubsan checks
Reviewed-by: jwaters, rrich
2024-08-14 16:56:28 +00:00
Albert Mingkun Yang
0e3903f2eb 8338393: Parallel: Remove unused ParallelCompactData::clear_range
Reviewed-by: tschatzl
2024-08-14 16:49:11 +00:00
Zdenek Zambersky
d8e4d3f2d6 8338402: GHA: some of bundles may not get removed
Reviewed-by: ihse, shade
2024-08-14 15:20:07 +00:00
John Engebretson
a5d948fb98 8332842: Optimize empty CopyOnWriteArrayList allocations
Reviewed-by: shade, alanb
2024-08-14 14:11:53 +00:00
Jan Lahoda
fbe4f05636 8337976: Insufficient error recovery in parser for switch inside class body
Reviewed-by: vromero
2024-08-14 12:20:17 +00:00
Matthias Baesken
38bd8a3670 8338236: Compile error in cgroup code on Linux when using clang
Reviewed-by: mdoerr, sgehwolf
2024-08-14 09:52:23 +00:00
Albert Mingkun Yang
9fe1777faf 8338280: Parallel: Inline ParallelCompactData::verify_clear
Reviewed-by: tschatzl
2024-08-14 09:16:02 +00:00
Ivan Walulya
66bee2532f 8338315: G1: G1CardTableEntryClosure:do_card_ptr remove unused parameter worker_id
Reviewed-by: tschatzl
2024-08-14 09:13:21 +00:00
Qizheng Xing
3dd07b91bb 8336163: Remove declarations of some debug-only methods in release build
Reviewed-by: dholmes, eliu, kvn
2024-08-14 06:28:34 +00:00
Jaikiran Pai
720b44648b 8335181: Incorrect handling of HTTP/2 GOAWAY frames in HttpClient
Reviewed-by: dfuchs
2024-08-14 05:42:14 +00:00
SendaoYan
f132b347e1 8336854: CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
Reviewed-by: rhalade
2024-08-13 22:59:13 +00:00
Neethu Prasad
90527a5784 8336742: Shenandoah: Add more verbose logging/stats for mark termination attempts
Reviewed-by: shade, wkemper, rkennke
2024-08-13 19:56:07 +00:00
Kim Barrett
8e682aca24 8338158: Cleanup ShouldNotXXX uses in machnode.cpp
Reviewed-by: chagedorn, kvn, dlong
2024-08-13 18:03:52 +00:00
Kim Barrett
ca99f37f82 8338156: Fix -Wzero-as-null-pointer-constant warnings in jvmciCompilerToVM.cpp
Reviewed-by: tschatzl, jwaters, dnsimon
2024-08-13 18:02:24 +00:00
Neethu Prasad
84c3065e80 8335865: Shenandoah: Improve THP pretouch after JDK-8315923
Reviewed-by: shade, wkemper
2024-08-13 17:22:41 +00:00
Afshin Zafari
21ca91e55d 8300800: UB: Shift exponent 32 is too large for 32-bit type 'int'
Reviewed-by: kbarrett, adinn, gziemski
2024-08-13 16:25:43 +00:00
Alan Bateman
58b9570544 8338142: (dc) DatagramChannelImpl.blockingReceive can use untimed-park when no timeout set
Reviewed-by: dfuchs
2024-08-13 16:05:38 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Liam Miller-Cushon
9e282e5c96 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
2024-08-13 15:05:49 +00:00
Casper Norrbin
877fd5a768 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Reviewed-by: stefank, dholmes, jwaters
2024-08-13 14:43:44 +00:00
Axel Boldt-Christmas
76e33b6c15 8336148: Test runtime/locking/TestRecursiveMonitorChurn.java failed: Unexpected Inflation
Reviewed-by: dholmes, eosterlund
2024-08-13 13:13:14 +00:00
Coleen Phillimore
ff8a9f9267 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, dholmes, shade, pchilanomate
2024-08-13 11:48:50 +00:00
Viktor Klang
fbe4cc96e2 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
Reviewed-by: alanb
2024-08-13 09:51:08 +00:00
Aleksey Shipilev
ba69ed7c58 8338202: Shenandoah: Improve handshake closure labels
Reviewed-by: rkennke, ysr, wkemper
2024-08-13 08:11:47 +00:00
Saint Wesonga
5bf27098e2 8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set
Reviewed-by: stefank, eosterlund, aboldtch
2024-08-13 08:10:29 +00:00
Kim Barrett
73f7a5f15d 8338155: Fix -Wzero-as-null-pointer-constant warnings involving PTHREAD_MUTEX_INITIALIZER
Reviewed-by: dholmes, dlong
2024-08-13 07:27:49 +00:00
Emanuel Peter
c27a8c8c8b 8338124: C2 SuperWord: MulAddS2I input permutation still partially broken after JDK-8333840
Reviewed-by: chagedorn, thartmann, kvn
2024-08-13 05:52:58 +00:00
Emanuel Peter
73ddb7deab 8335628: C2 SuperWord: cleanup: remove SuperWord::longer_type_for_conversion
Reviewed-by: chagedorn, kvn
2024-08-13 05:52:44 +00:00
Kim Barrett
d77e6fe45c 8338154: Fix -Wzero-as-null-pointer-constant warnings in gtest framework
Reviewed-by: ihse, dholmes, jwaters
2024-08-13 05:46:38 +00:00
Zhengyu Gu
e70c9bccaa 8338248: PartialArrayStateAllocator::Impl leaks Arena array
Reviewed-by: kbarrett, shade
2024-08-12 23:00:04 +00:00
Kim Barrett
5079c38ddf 8338160: Fix -Wzero-as-null-pointer-constant warnings in management.cpp
Reviewed-by: dholmes
2024-08-12 22:12:01 +00:00
Leonid Mesnik
4417c276e4 8330535: Update nsk/jdb tests to use driver instead of othervm
Reviewed-by: cjplummer
2024-08-12 19:43:36 +00:00
Roger Riggs
b93b74e3eb 8338060: jdk/internal/util/ReferencedKeyTest should be more robust
Reviewed-by: never
2024-08-12 19:28:46 +00:00
Coleen Phillimore
41e31d6b0a 8337622: IllegalArgumentException in java.lang.reflect.Field.get
Reviewed-by: dholmes, shade
2024-08-12 17:56:46 +00:00
Ben Taylor
2ca136a7ad 8337815: Relax G1EvacStats atomic operations
Reviewed-by: kbarrett, tschatzl, shade
2024-08-12 17:26:51 +00:00
Vladimir Kozlov
99edb4a45d 8337702: Use new ForwardExceptionNode to call StubRoutines::forward_exception_entry()
Reviewed-by: thartmann
2024-08-12 17:20:20 +00:00
Liam Miller-Cushon
8d08314783 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
2024-08-12 17:15:39 +00:00
Ioi Lam
f84240bca8 8338011: CDS archived heap object support for 64-bit Windows
Reviewed-by: stuefe, shade, ccheung
2024-08-12 16:03:41 +00:00
SendaoYan
04b146a31f 8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary
Reviewed-by: vromero
2024-08-12 15:43:40 +00:00
Magnus Ihse Bursie
a36fb368e1 8338108: Give better error message in configure if a full XCode is missing
Reviewed-by: jwaters, erikj, shade
2024-08-12 15:33:31 +00:00
Vicente Romero
61d1dc5953 8334466: Ambiguous method call with generics may cause FunctionDescriptorLookupError
Reviewed-by: jlahoda
2024-08-12 13:52:57 +00:00
Daniel Gredler
89a15f1414 8337681: PNGImageWriter uses much more memory than necessary
Reviewed-by: prr, lbourges
2024-08-12 12:09:22 +00:00
Joel Sikström
a6c0630737 8337938: ZUtils::alloc_aligned allocates without reporting to NMT
Reviewed-by: stefank, kbarrett
2024-08-12 10:58:05 +00:00
Andrew Haley
03204600c5 8337958: Out-of-bounds array access in secondary_super_cache
Reviewed-by: vlivanov, shade
2024-08-12 07:38:43 +00:00
Matthias Baesken
692f5cbdb9 8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
Reviewed-by: mdoerr, clanger
2024-08-12 07:32:10 +00:00
SendaoYan
0e7c1c1afe 8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build
Reviewed-by: chagedorn, thartmann
2024-08-12 06:26:27 +00:00
Kim Barrett
6a3d045221 8337709: Use allocated states for chunking large array processing
Reviewed-by: iwalulya, tschatzl
2024-08-11 18:34:18 +00:00
Dmitry Chuyko
358d77dafb 8337657: AArch64: No need for acquire fence in safepoint poll during JNI calls
Reviewed-by: phh
2024-08-09 17:56:37 +00:00
Vladimir Kozlov
60fa08fcfe 8337797: Additional ExternalAddress cleanup
Reviewed-by: adinn, thartmann
2024-08-09 17:08:19 +00:00
Casper Norrbin
3cf3f300de 8330191: Fix typo in precompiled.hpp
Reviewed-by: jsjolen, szaldana
2024-08-09 14:32:29 +00:00
Coleen Phillimore
069e0ea69f 8338064: Give better error for ConcurrentHashTable corruption
Reviewed-by: dholmes, shade
2024-08-09 12:00:15 +00:00
Alexander Zvegintsev
2b5aec2aad 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
Reviewed-by: aivanov
2024-08-09 11:28:59 +00:00
Hannes Wallnöfer
1407160786 8313931: Javadoc: links to type parameters actually generate links to classes
Reviewed-by: jjg
2024-08-09 09:24:50 +00:00
Hamlin Li
c37e8638c9 8314125: RISC-V: implement Base64 intrinsic - encoding
Reviewed-by: fyang, luhenry
2024-08-09 09:12:41 +00:00
Albert Mingkun Yang
6ebd5d74d5 8338036: Serial: Remove Generation::update_counters
Reviewed-by: kbarrett
2024-08-09 08:23:44 +00:00
Erik Gahlin
53fce38a3f 8338062: JFR: Remove TestStartDuration.java and TestStartName.java from ProblemList.txt
Reviewed-by: mgronlun
2024-08-09 07:53:15 +00:00
Joel Sikström
f74109bd17 8337939: ZGC: Make assertions and checks less convoluted and explicit
Reviewed-by: stefank, ayang, eosterlund
2024-08-09 07:29:56 +00:00
Andrey Turbanov
82d5768c1b 8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Reviewed-by: rriggs
2024-08-09 07:20:01 +00:00
Christian Hagedorn
c01f53ac2d 8337876: [IR Framework] Add support for IR tests with @Stable
Reviewed-by: shade, kvn
2024-08-09 07:17:59 +00:00
Matthias Baesken
00aac4097a 8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Reviewed-by: mdoerr, clanger
2024-08-09 06:26:22 +00:00
Abhishek Kumar
9ab8c6b9ba 8335130: The test "javax/swing/plaf/synth/ComponentsOrientationSupport/5033822/bug5033822.java" fails because the background color of the tabs is displayed incorrectly.
Reviewed-by: achung, psadhukhan
2024-08-09 05:09:27 +00:00
Gui Cao
0c1e9111d2 8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code
Reviewed-by: fyang, mli, luhenry
2024-08-09 02:59:37 +00:00
Jiawei Tang
55c509708e 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
Reviewed-by: dholmes, sspitsyn
2024-08-09 02:29:15 +00:00
Leonid Mesnik
9f08a01cb6 8338010: WB_IsFrameDeoptimized miss ResourceMark
Reviewed-by: dholmes, shade
2024-08-08 19:47:50 +00:00
Markus Grönlund
e7a0b5b09b 8334780: Crash: assert(h_array_list.not_null()) failed: invariant
Reviewed-by: egahlin, shade
2024-08-08 18:45:11 +00:00
Roger Riggs
bfb75b9626 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Reviewed-by: bpb, shade, dfuchs
2024-08-08 16:53:38 +00:00
Jiangli Zhou
53c9f037fb 8336849: Remove .llvm_addrsig section from JDK/VM static libraries (.a files)
Reviewed-by: ihse
2024-08-08 16:31:02 +00:00
Coleen Phillimore
9695f09581 8337683: Fix -Wconversion problem with arrayOop.hpp
Reviewed-by: stefank, dholmes
2024-08-08 16:11:08 +00:00
Joe Darcy
78773b1769 8338015: Fix "Java Java" typo in package info file of java.lang.classfile
Reviewed-by: jiefu, jpai, liach
2024-08-08 15:52:17 +00:00
Markus Grönlund
6a9a867d64 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: egahlin
2024-08-08 14:38:46 +00:00
Erik Gahlin
4b740d87ee 8225209: jdk/jfr/event/compiler/TestCodeSweeper.java fails
Reviewed-by: mgronlun
2024-08-08 10:57:43 +00:00
Alexander Zvegintsev
ddbd7a78f1 8337320: Update ProblemList.txt with tests known to fail on XWayland
Reviewed-by: prr
2024-08-08 10:53:23 +00:00
Alexander Zvegintsev
12c553f128 8329471: Remove GTK2
Reviewed-by: abhiscxk, prr, ihse
2024-08-08 10:51:58 +00:00
Alexander Zvegintsev
088871ce36 8335267: [XWayland] move screencast tokens from .awt to .java folder
Reviewed-by: prr, avu
2024-08-08 10:51:47 +00:00
Tejesh R
3bc4a1acc4 8233068: HIDPI: Linux: AWT Checkbox check mark is unscaled
Reviewed-by: jdv, abhiscxk, honkar
2024-08-08 10:40:56 +00:00
Casper Norrbin
a9460a69e7 8337982: Remove dead undef assrt0n
Reviewed-by: stefank, dholmes
2024-08-08 10:38:02 +00:00
Afshin Zafari
fa18359007 8335981: ProblemList runtime/Thread/TestAlwaysPreTouchStacks.java for MacOS
Reviewed-by: tschatzl
2024-08-08 08:55:05 +00:00
Turkhan Badalov
1846a65e32 8337205: Typo in Stack vs Deque Method table in Deque specification
Reviewed-by: liach
2024-08-08 05:34:32 +00:00
Gui Cao
16df9c33e9 8337971: Problem list several jvmci tests on linux-riscv64 until JDK-8331704 is fixed
Reviewed-by: fyang, shade
2024-08-08 05:22:20 +00:00
Jamil Nimeh
9b11bd7f4a 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Reviewed-by: mullan
2024-08-07 21:06:47 +00:00
Leonid Mesnik
5e021cbcc7 8337410: The makefiles should set problemlist and adjust timeout basing on the given VM flags
Reviewed-by: ihse
2024-08-07 20:25:51 +00:00
Fernando Guallini
a5c2d7b305 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test
Reviewed-by: rhalade
2024-08-07 18:24:08 +00:00
Serguei Spitsyn
36d08c213d 8336846: assert(state->get_thread() == jt) failed: handshake unsafe conditions
Reviewed-by: amenkov, dholmes, cjplummer, pchilanomate, lmesnik
2024-08-07 17:41:23 +00:00
Naoto Sato
d19ba81ce1 8337603: Change in behavior with -Djava.locale.useOldISOCodes=true
Reviewed-by: iris, bpb
2024-08-07 15:58:03 +00:00
Joel Sikström
21f710e7f6 8310675: Fix -Wconversion warnings in ZGC code
Reviewed-by: stefank, ayang
2024-08-07 14:16:01 +00:00
Markus Grönlund
88a05a853e 8337975: [BACKOUT] Native memory leak when not recording any events
Reviewed-by: jpai, egahlin
2024-08-07 10:24:34 +00:00
Albert Mingkun Yang
41f784fe63 8335925: Serial: Move allocation API from Generation to subclasses
Reviewed-by: gli, kbarrett, iwalulya
2024-08-07 07:48:05 +00:00
Tobias Hartmann
66286b25a1 8337968: Problem list compiler/vectorapi/VectorRebracket128Test.java
Reviewed-by: chagedorn
2024-08-07 05:32:28 +00:00
Alex Menkov
920751e5d5 8311990: Two JDI tests may interfere with each other
Reviewed-by: dholmes, sspitsyn
2024-08-06 21:56:48 +00:00
Chris Plummer
6733b89de1 8337667: sun/tools/jcmd/TestJcmdPIDSubstitution.java is failing on mac and windows
Reviewed-by: stuefe, kevinw
2024-08-06 21:44:30 +00:00
Alisen Chung
fc652d2a58 8235404: [macos] JOptionPane blocks drawing string on another component
Reviewed-by: honkar, dnguyen
2024-08-06 21:10:06 +00:00
Kim Barrett
22a3421379 8337786: Fix simple -Wzero-as-null-pointer-constant warnings in aarch64 code
Reviewed-by: shade, tschatzl
2024-08-06 20:15:47 +00:00
Naoto Sato
ff634a9670 8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: alanb
2024-08-06 20:11:21 +00:00
Doug Simon
3f8b3e5527 8337887: [JVMCI] Clarify jdk.vm.ci.code.Architecture.getName javadoc
Reviewed-by: never
2024-08-06 16:37:59 +00:00
Feilong Jiang
53db937dd0 8337780: RISC-V: C2: Change C calling convention for sp to NS
Reviewed-by: fyang, rehn
2024-08-06 14:01:23 +00:00
Andrew Dinn
ab509f1b98 8337654: Relocate uncommon trap stub from SharedRuntime to OptoRuntime
Reviewed-by: kvn, vlivanov, fyang
2024-08-06 13:22:55 +00:00
Coleen Phillimore
1348ece6df 8332120: Potential compilation failure in istream.cpp:205 - loss of data on conversion
Reviewed-by: dholmes, iklam
2024-08-06 11:34:57 +00:00
Markus Grönlund
ef909bdf7f 8335121: Native memory leak when not recording any events
Reviewed-by: egahlin, shade
2024-08-06 11:32:24 +00:00
Prasanta Sadhukhan
a117945d5a 8337344: Redundant javadoc at RasterPrinterJob.isCancelled
Reviewed-by: aivanov, prr
2024-08-06 09:37:21 +00:00
Erik Gahlin
f9b8a22062 8337798: JFR: Remove jdk/jfr/api/consumer/recordingstream/TestOnEvent.java from ProblemList.txt
Reviewed-by: mgronlun
2024-08-06 09:28:12 +00:00
Jan Lahoda
958786b28f 8332522: SwitchBootstraps::mappedEnumLookup constructs unused array
Reviewed-by: liach, redestad
2024-08-06 09:07:44 +00:00
Matthias Baesken
f92c60e1a9 8337810: ProblemList BasicDirectoryModel/LoaderThreadCount.java on Windows
Reviewed-by: clanger
2024-08-06 07:06:43 +00:00
Albert Mingkun Yang
0d8ec42969 8337642: Remove unused APIs of GCPolicyCounters
Reviewed-by: tschatzl
2024-08-06 06:59:11 +00:00
Kim Barrett
2057594961 8337782: Use THROW_NULL instead of THROW_0 in pointer contexts in prims code
Reviewed-by: shade, dholmes
2024-08-06 05:34:33 +00:00
Gui Cao
73718fb8a3 8337788: RISC-V: Cleanup code in MacroAssembler::reserved_stack_check
Reviewed-by: fyang, rehn, fjiang
2024-08-06 02:16:19 +00:00
Serguei Spitsyn
965d6b9cbe 8335836: serviceability/jvmti/StartPhase/AllowedFunctions/AllowedFunctions.java fails with unexpected exit code: 112
Reviewed-by: cjplummer, amenkov
2024-08-05 23:29:17 +00:00
Kim Barrett
7146daee68 8337783: Use THROW_NULL instead of THROW_0 in pointer contexts in misc runtime code
Reviewed-by: stefank, shade
2024-08-05 20:05:07 +00:00
Kim Barrett
431d4f7e18 8337785: Fix simple -Wzero-as-null-pointer-constant warnings in x86 code
Reviewed-by: jwaters, ayang, shade
2024-08-05 19:53:49 +00:00
Chris Plummer
e2c07d5044 8337299: vmTestbase/nsk/jdb/stop_at/stop_at002/stop_at002.java failure goes undetected
Reviewed-by: amenkov, sspitsyn
2024-08-05 18:42:27 +00:00
Christoph Langer
08f697f4fc 8337819: Update GHA JDKs to 22.0.2
Reviewed-by: mbaesken, ihse, shade
2024-08-05 17:58:12 +00:00
Kim Barrett
42652b2e53 8337787: Fix -Wzero-as-null-pointer-constant warnings when JVMTI feature is disabled
Reviewed-by: ayang, sspitsyn
2024-08-05 16:57:11 +00:00
Kim Barrett
807186ffc6 8337784: Fix simple -Wzero-as-null-pointer-constant warnings in linux/posix code
Reviewed-by: stefank, shade
2024-08-05 16:53:30 +00:00
Damon Nguyen
e68df528f8 8337054: JDK 23 RDP2 L10n resource files update
Reviewed-by: naoto, jlu
2024-08-05 16:48:18 +00:00
Zdenek Zambersky
98562166e4 8336928: GHA: Bundle artifacts removal broken
Reviewed-by: ihse
2024-08-05 15:09:45 +00:00
Per Minborg
219e1eb13a 8337712: Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis
Reviewed-by: rgiulietti
2024-08-05 15:06:38 +00:00
Johan Sjölen
97afbd9603 8336410: runtime/NMT/TotalMallocMmapDiffTest.java Total malloc diff is incorrect. Expected malloc diff range
Reviewed-by: gziemski, stuefe
2024-08-05 14:49:38 +00:00
Carlo Refice
c095c0e6a5 8336489: Track scoped accesses in JVMCI compiled code
Reviewed-by: dnsimon, never
2024-08-05 14:09:54 +00:00
Aleksey Shipilev
7e925d727f 8337283: configure.log is truncated when build dir is on different filesystem
Reviewed-by: phh, stuefe, clanger, ihse
2024-08-05 14:05:00 +00:00
Erik Gahlin
2e093b0691 8337779: test/jdk/jdk/jfr/jvm/TestHiddenWait.java is a bit fragile
Reviewed-by: mgronlun
2024-08-05 13:17:32 +00:00
Viktor Klang
d3e7b0c12a 8336462: ConcurrentSkipListSet Javadoc incorrectly warns about size method complexity
Reviewed-by: jpai
2024-08-05 10:56:21 +00:00
Christian Hagedorn
be34730fb4 8335257: Refactor code to create Initialized Assertion Predicates into separate class
Reviewed-by: kvn, epeter
2024-08-05 09:52:07 +00:00
Matthias Baesken
fbe8a81d19 8333144: docker tests do not work when ubsan is configured
Reviewed-by: clanger, stuefe
2024-08-05 05:57:41 +00:00
Julian Waters
dabdae6b35 8334599: Improve code from JDK-8302671
Reviewed-by: aivanov, stuefe, prr
2024-08-05 05:13:08 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
fabioromano1
367e0a6556 8334755: Asymptotically faster implementation of square root algorithm
Reviewed-by: rgiulietti
2024-08-03 13:08:54 +00:00
Vladimir Kozlov
34edc7358f 8337396: Cleanup usage of ExternalAddess
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, adinn
2024-08-03 06:21:28 +00:00
Jonathan Gibbons
7deee74525 8335122: Reorganize internal low-level support for HTML in jdk.javadoc
Reviewed-by: hannesw
2024-08-02 17:53:23 +00:00
Erik Gahlin
f2e1205abf 8337676: JFR: Change the label of the throttle setting
Reviewed-by: mgronlun
2024-08-02 15:51:26 +00:00
Alexey Ivanov
066db6eb21 8337274: Remove repeated 'the' in StyleSheet.create{Small,Large}AttributeSet
Reviewed-by: achung, honkar, prr
2024-08-02 13:06:22 +00:00
Coleen Phillimore
328a0533b2 8335059: Consider renaming ClassLoaderData::keep_alive
Reviewed-by: dholmes, stefank
2024-08-02 11:47:26 +00:00
Albert Mingkun Yang
a89b525189 8337721: G1: Remove unused G1CollectedHeap::young_collection_verify_type
Reviewed-by: tschatzl
2024-08-02 10:51:25 +00:00
Sandhya Viswanathan
dc35f3e8a8 8337062: x86_64: Unordered add/mul reduction support for vector api
Reviewed-by: jbhateja, sgibbons
2024-08-01 23:02:23 +00:00
Brian Burkhalter
21e86d10a7 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Reviewed-by: dfuchs, alanb, vtewari
2024-08-01 19:02:33 +00:00
Mark Powers
f1fa64b6b6 4966250: SSLSessionContext.setSessionTimeout() documentation could be updated
Reviewed-by: mullan
2024-08-01 16:37:20 +00:00
Hannes Greule
9fe6e2316a 8335638: Calling VarHandle.{access-mode} methods reflectively throws wrong exception
Reviewed-by: liach
2024-08-01 14:41:25 +00:00
Jorn Vernee
27af80ef9e 8324260: java/foreign/TestStubAllocFailure.java run timeout with -Xcomp
Reviewed-by: alanb, jpai, shade
2024-08-01 14:36:03 +00:00
Albert Mingkun Yang
022899a7eb 8337641: G1: Remove unused G1CollectedHeap::alloc_highest_free_region
Reviewed-by: tschatzl
2024-08-01 13:39:49 +00:00
Matthew Donovan
c6f0a35e9e 8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with: Invalid ECDH ServerKeyExchange signature
Reviewed-by: rhalade
2024-08-01 11:40:44 +00:00
Kevin Walls
f174bbd3ba 8337473: Remove sun/management/jdp tests from ProblemList on Linux-aarch64, MacOSX
Reviewed-by: dcubed
2024-08-01 08:14:17 +00:00
Albert Mingkun Yang
8eb56845e4 8337550: Add documentation to TestOutOfMemoryDuringInit.java
Reviewed-by: dholmes
2024-08-01 07:28:39 +00:00
Albert Mingkun Yang
cf1230a5f7 8337546: Remove unused GCCause::_adaptive_size_policy
Reviewed-by: tschatzl, kbarrett
2024-08-01 07:28:29 +00:00
Prasanta Sadhukhan
65646b5f81 8337457: Redundant Math.round call in AquaProgressBarUI#getStringPlacement
Reviewed-by: azvegint
2024-08-01 03:35:43 +00:00
Alex Menkov
8af2ef35b6 8331015: Obsolete -XX:+UseNotificationThread
Reviewed-by: dholmes, kevinw, sspitsyn, coleenp
2024-07-31 20:02:25 +00:00
Sonia Zaldana Calles
97f7c03dd0 8336495: Remove unnecessary casts in output.cpp
Reviewed-by: chagedorn, kvn
2024-07-31 18:05:49 +00:00
Erik Gahlin
a45bb55ddb 8337501: JFR: Use TimespanUnit
Reviewed-by: mgronlun
2024-07-31 17:58:52 +00:00
Coleen Phillimore
8f039b5629 8336919: Cleanup and rename tags in placeholders code
Co-authored-by: Frederic Parain <fparain@openjdk.org>
Reviewed-by: iklam, fparain, dholmes
2024-07-31 17:55:01 +00:00
Albert Mingkun Yang
e4c7850c17 8337027: Parallel: Obsolete BaseFootPrintEstimate
Reviewed-by: tschatzl, kbarrett
2024-07-31 16:24:07 +00:00
Daniel Lundén
fdb4350fce 8324345: Stack overflow during C2 compilation when splitting memory phi
Reviewed-by: thartmann, kvn
2024-07-31 16:05:42 +00:00
Jasmine Karthikeyan
f2ba2ebbca 8331090: Run Ideal_minmax before de-canonicalizing CMoves
Reviewed-by: thartmann, epeter
2024-07-31 15:16:21 +00:00
Gui Cao
7121d71b51 8337421: RISC-V: client VM build failure after JDK-8335191
Reviewed-by: fyang, mli
2024-07-31 14:43:35 +00:00
Kim Barrett
61386c199a 8337523: Fix -Wzero-as-null-pointer-constant warnings in jvmci code
Reviewed-by: chagedorn, shade
2024-07-31 13:17:30 +00:00
Kim Barrett
07dd725025 8337418: Fix -Wzero-as-null-pointer-constant warnings in prims code
Reviewed-by: dholmes, shade, jwaters, sspitsyn
2024-07-31 13:15:52 +00:00
Aleksey Shipilev
c73b3cb599 8336635: Add IR test for Reference.refersTo intrinsic
Reviewed-by: thartmann, kvn
2024-07-31 12:56:43 +00:00
David Leopoldseder
9b428dda8f 8336242: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java failed assert(oopDesc::is_oop_or_null(val)) failed: bad oop found (again)
Reviewed-by: dnsimon, never
2024-07-31 09:40:47 +00:00
Thomas Schatzl
de0b50400a 8336912: G1: Undefined behavior for G1ConfidencePercent=0
Reviewed-by: ayang, sangheki
2024-07-31 08:08:15 +00:00
Ashutosh Mehra
e63d01654e 8337031: Improvements to CompilationMemoryStatistic
Reviewed-by: kvn, stuefe
2024-07-31 01:36:37 +00:00
David Holmes
1c6fef8f1c 8337515: JVM_DumpAllStacks is dead code
Reviewed-by: kvn
2024-07-31 00:58:52 +00:00
David Holmes
5b7bb40d1f 8325002: Exceptions::fthrow needs to ensure it truncates to a valid utf8 string
Reviewed-by: djelinski, stuefe
2024-07-30 22:35:28 +00:00
David Holmes
d39e7af2e5 8320561: Inconsistency in monitorinflation logging
Reviewed-by: stefank, shade
2024-07-30 22:35:14 +00:00
Kim Barrett
6c3ba5a6c4 8337415: Remove inappropriate Atomic access in FreeListAllocator
Reviewed-by: tschatzl, shade
2024-07-30 21:19:50 +00:00
Sonia Zaldana Calles
f5c9e8f122 8334492: DiagnosticCommands (jcmd) should accept %p in output filenames and substitute PID
Reviewed-by: kevinw, stuefe, lmesnik
2024-07-30 18:40:37 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Chen Liang
6154a2129b 8336032: Enforce immutability of Lists used by ClassFile API
Reviewed-by: asotona
2024-07-30 17:41:38 +00:00
Gerard Ziemski
a91f9ba849 8301403: Eliminate memory allocations in JVMFlag::printFlags during signal handling
Reviewed-by: stuefe, jsjolen, dholmes
2024-07-30 15:22:25 +00:00
Vanitha B P
2c9fd9016f 8336315: tools/jpackage/windows/WinChildProcessTest.java Failed: Check is calculator process is alive
Reviewed-by: asemenyuk, almatvee
2024-07-30 15:04:57 +00:00
Neethu Prasad
1cb27f7e23 8334230: Optimize C2 classes layout
Reviewed-by: shade, kvn, thartmann
2024-07-30 14:08:17 +00:00
Erik Gahlin
4148613148 8335907: JFR: Make SettingControls more robust
Reviewed-by: mgronlun
2024-07-30 13:47:58 +00:00
Albert Mingkun Yang
79bdd81187 8336763: Parallel: Merge PCMarkAndPushClosure and PCIterateMarkAndPushClosure
Reviewed-by: gli, zgu
2024-07-30 13:38:11 +00:00
Matthias Baesken
8162832832 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'
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: rrich, clanger
2024-07-30 12:40:35 +00:00
Kevin Walls
0325ab8d23 8335610: DiagnosticFramework: CmdLine::is_executable() correction
Reviewed-by: dholmes, jsjolen
2024-07-30 10:44:31 +00:00
Amit Kumar
7ac531181c 8331126: [s390x] secondary_super_cache does not scale well
Reviewed-by: lucy, aph, mdoerr
2024-07-30 09:32:27 +00:00
Aleksey Shipilev
156f0b4332 8337213: Shenandoah: Add verification for class mirrors
Reviewed-by: rkennke, wkemper
2024-07-30 08:29:23 +00:00
Aleksey Shipilev
9e6e0a8f34 8336343: Add more known sysroot library locations for ALSA
Reviewed-by: phh, prr, ihse
2024-07-30 08:27:27 +00:00
Kim Barrett
bc7c255b15 8337416: Fix -Wzero-as-null-pointer-constant warnings in misc. runtime code
Reviewed-by: dholmes, jwaters
2024-07-30 07:24:22 +00:00
Prasanta Sadhukhan
7e21d4c191 8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape
Reviewed-by: prr, aivanov
2024-07-30 03:03:43 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Justin Lu
bd36b6ae5d 8337285: Examine java.text.DecimalFormat API for api/implXxx tag usage
Reviewed-by: naoto, liach
2024-07-29 19:28:14 +00:00
Archie Cobbs
a86244f83c 6381729: Javadoc for generic constructor doesn't document type parameter
Reviewed-by: jjg, liach
2024-07-29 19:16:39 +00:00
Chris Plummer
c4e6255ac3 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames
Reviewed-by: sspitsyn, amenkov
2024-07-29 16:55:38 +00:00
Naoto Sato
c23d37e10a 8337300: java/lang/Process/WaitForDuration.java leaves child process behind
Reviewed-by: alanb, iris, bpb
2024-07-29 16:43:25 +00:00
Aleksey Shipilev
ee365d75cc 8336342: Fix known X11 library locations in sysroot
Reviewed-by: jwaters, phh, prr
2024-07-29 13:37:56 +00:00
Albert Mingkun Yang
cd52ad80a8 8337267: [REDO] G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: gli, tschatzl
2024-07-29 12:30:57 +00:00
Erik Gahlin
9124a94e38 8337165: Test jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java failed: IndexOutOfBoundsException: Index 64 out of bounds for length 64
Reviewed-by: phh
2024-07-29 09:52:38 +00:00
Jan Kratochvil
db168d9e10 8336966: Alpine Linux x86_64 compilation error: sendfile64
Reviewed-by: bpb
2024-07-29 09:18:56 +00:00
Thomas Schatzl
dab2a0b597 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC
Reviewed-by: iwalulya, shade
2024-07-29 09:10:25 +00:00
Tobias Hartmann
657c0bddf9 8336999: Verification for resource area allocated data structures in C2
Reviewed-by: chagedorn, kvn
2024-07-29 05:31:10 +00:00
Tobias Hartmann
90641a601c 8336095: Use-after-free in Superword leads to memory corruption
Reviewed-by: epeter, kvn, rrich
2024-07-29 05:05:32 +00:00
Shaojin Wen
2fbdbacad7 8337245: Fix wrong comment of StringConcatHelper
Reviewed-by: phh, redestad
2024-07-27 22:54:47 +00:00
Fernando Guallini
034297a6bd 8336240: Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException
Reviewed-by: wetmore
2024-07-26 18:51:12 +00:00
Alex Menkov
abc4ca5a8c 8330427: Obsolete -XX:+PreserveAllAnnotations
Reviewed-by: dholmes, sspitsyn, coleenp
2024-07-26 17:55:35 +00:00
Abhishek Kumar
0c3720b421 8335131: Test "javax/swing/JColorChooser/Test6977726.java" failed on ubuntu x64 because "Preview" title is missing for GTK L&F
Reviewed-by: dnguyen, psadhukhan
2024-07-26 17:39:00 +00:00
William Kemper
4f194f10a1 8337241: Shenandoah: Normalize include guards
Reviewed-by: shade
2024-07-26 15:57:58 +00:00
Kelvin Nilsen
f35af71712 8334315: Shenandoah: reduce GC logging noise
Reviewed-by: wkemper, ysr, shade
2024-07-26 15:55:12 +00:00
Kim Barrett
4bcb8f04ed 8337243: Fix more -Wzero-as-null-pointer-constant warnings in compiler code
Reviewed-by: vlivanov, kvn
2024-07-26 15:45:12 +00:00
Tomas Zezula
3abe8a6e5e 8336663: [JVMCI] VM Crash on ZGC due to incompatible handle returned by HotSpotJVMCIRuntime#getJObjectValue
Reviewed-by: dnsimon, never
2024-07-26 14:42:24 +00:00
Shaojin Wen
5ff7c57f9f 8337168: Optimize LocalDateTime.toString
Reviewed-by: liach, naoto
2024-07-26 12:10:21 +00:00
Alexey Ivanov
374fca0fcb 8335967: "text-decoration: none" does not work with "A" HTML tags
Reviewed-by: abhiscxk, dmarkov, honkar, prr
2024-07-26 11:22:32 +00:00
Aleksey Shipilev
2aeb12ec03 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
Reviewed-by: wkemper, xpeng, rkennke
2024-07-26 11:20:40 +00:00
Fei Gao
d10afa26e5 8336245: AArch64: remove extra register copy when converting from long to pointer
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, adinn
2024-07-26 09:36:23 +00:00
Shaojin Wen
7f11935461 8337167: StringSize deduplication
Reviewed-by: liach, rriggs
2024-07-26 07:08:33 +00:00
Abhishek Kumar
487450cb5e 8216471: GTK LnF: Frame is clipped and does not show JTable,Tooltip and JTree demo in SwingSet2 demo
Reviewed-by: psadhukhan, achung
2024-07-26 06:26:52 +00:00
Abhishek Kumar
29f0f174a0 8336879: Always true condition 'img != null' in GTKPainter.paintPopupMenuBackground
Reviewed-by: psadhukhan, tr
2024-07-26 06:23:47 +00:00
Kim Barrett
ee839b7f0e 8337239: Fix simple -Wzero-as-null-pointer-constant warnings in classfile code
Reviewed-by: dholmes
2024-07-26 03:44:22 +00:00
William Kemper
0584af2325 8336685: Shenandoah: Remove experimental incremental update mode
Reviewed-by: shade
2024-07-25 23:59:56 +00:00
Brian Burkhalter
8c28f25e13 8337124: (fs) sun.nio.fs.WindowsSecurity.enablePrivilege should pin when continuations supported
Reviewed-by: jpai, alanb
2024-07-25 20:59:48 +00:00
Weijun Wang
b5b5a5b8e5 8336667: IAE in DerInputStream.toByteArray
Reviewed-by: valeriep
2024-07-25 17:11:59 +00:00
Vicente Romero
cf0d9e0e52 8337037: compiler internal options are not printing the stacktrace after a compiler crash
Reviewed-by: mcimadamore
2024-07-25 17:03:45 +00:00
Jorn Vernee
81ed028717 8337060: Test java/foreign/TestConcurrentClose.java failed: IllegalStateException: SegmentAccessor::doAccess method not being compiled
Reviewed-by: mcimadamore, alanb
2024-07-25 16:36:31 +00:00
Xiaolong Peng
e74edbaea9 8336640: Shenandoah: Parallel worker use in parallel_heap_region_iterate
Reviewed-by: shade, wkemper, ysr
2024-07-25 16:04:58 +00:00
Roland Westrelin
f61a505989 8334647: C2: CastII added by PhaseIdealLoop::add_template_assertion_predicate() should have control
Reviewed-by: chagedorn, kvn
2024-07-25 15:45:41 +00:00
Vicente Romero
34ee06f511 8332850: javac crashes if container for repeatable annotation is not found
Reviewed-by: darcy
2024-07-25 13:41:32 +00:00
Albert Mingkun Yang
00b5348106 8337192: [BACKOUT] JDK-8336098 G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: tschatzl
2024-07-25 13:16:31 +00:00
Roland Westrelin
3baff2af6a 8335393: C2: assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, chagedorn
2024-07-25 09:26:11 +00:00
Shaojin Wen
8081f8702a 8334342: Add MergeStore JMH benchmarks
Reviewed-by: epeter, thartmann
2024-07-25 09:16:32 +00:00
Hamlin Li
9d8791864e 8335191: RISC-V: verify perf of chacha20
Reviewed-by: fyang
2024-07-25 07:47:45 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Serguei Spitsyn
d3e51daf73 8334085: Test crash: assert(thread->held_monitor_count() == 0) failed: Must be
Reviewed-by: dholmes, pchilanomate
2024-07-25 01:35:03 +00:00
Shaojin Wen
0898ab7f74 8336741: Optimize LocalTime.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-24 22:39:49 +00:00
Neethu Prasad
24f67d0254 8334232: Optimize C1 classes layout
Reviewed-by: phh, kvn
2024-07-24 22:22:18 +00:00
David Holmes
021c2c36ac 8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile
Reviewed-by: lfoltan
2024-07-24 21:15:18 +00:00
Andrey Turbanov
e716f5ed53 8336755: Remove unused UNALIGNED field from view buffers
Reviewed-by: alanb, liach, bpb
2024-07-24 20:26:11 +00:00
Justin Lu
5a8861a3a1 8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
2024-07-24 20:14:00 +00:00
Justin Lu
9e8e359513 8336787: Examine java.text.Format API for implSpec usage
Reviewed-by: liach
2024-07-24 20:08:13 +00:00
Naoto Sato
4ea4d7c684 8336679: Add @implSpec for the default implementations in Process.waitFor()
Reviewed-by: bpb, jlu, liach
2024-07-24 16:48:34 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Erik Gahlin
b2599f8b0e 8336316: JFR: Use SettingControl::getValue() instead of setValue() for ActiveSetting event
Reviewed-by: mgronlun
2024-07-24 15:13:02 +00:00
Erik Gahlin
aa15b895c9 8336485: jdk/jfr/jcmd/TestJcmdView.java RuntimeException: 'Invoked Concurrent' missing from stdout/stderr
Reviewed-by: mgronlun
2024-07-24 15:12:53 +00:00
Chen Liang
332df83e7c 8336927: Missing equals and hashCode in java.lang.classfile.Annotation
Reviewed-by: asotona
2024-07-24 12:13:15 +00:00
Albert Mingkun Yang
05d88de05e 8336098: G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: tschatzl, gli
2024-07-24 09:10:38 +00:00
Matthias Baesken
5b4824cf9a 8336827: compiler/vectorization/TestFloat16VectorConvChain.java timeouts on ppc64 platforms after JDK-8335860
Reviewed-by: kvn, mdoerr, shade
2024-07-24 07:21:45 +00:00
Martin Balao
3251eea1f4 8336499: Failure when creating non-CRT RSA private keys in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: fferrari, valeriep
2024-07-24 02:39:35 +00:00
Shaojin Wen
476d2ae69d 8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
2024-07-23 20:21:08 +00:00
Ben Perez
4c91d5cb41 8322133: getParameterSpec(ECGenParameterSpec.class) on EC AlgorithmParameters does not return standard names
Reviewed-by: mullan
2024-07-23 19:35:11 +00:00
William Kemper
2f2223d752 8336944: Shenandoah: Should only relativize stack chunks for successful evacuations
Reviewed-by: shade, ysr
2024-07-23 16:50:25 +00:00
Joe Darcy
8efcb40c47 8335823: Update --release 23 symbol information for JDK 23 build 33
Reviewed-by: iris, liach
2024-07-23 16:27:09 +00:00
Sonia Zaldana Calles
8e1f17e351 8327054: DiagnosticCommand Compiler.perfmap does not log on output()
Reviewed-by: lmesnik, stuefe, kevinw, cjplummer
2024-07-23 15:49:34 +00:00
Athijegannathan Sundararajan
0e555b5ded 8204582: Extra spaces in jlink documentation make it incorrect.
Reviewed-by: alanb
2024-07-23 12:22:53 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
Raffaello Giulietti
4c7b3e7fc3 8334758: Incorrect note in Javadoc for a few RandomGenerator methods
Reviewed-by: bpb
2024-07-23 07:43:57 +00:00
SendaoYan
48030a2a86 8336855: Duplicate protected declaration and comment in interp_masm_aarch64.hpp
Reviewed-by: jiefu, shade
2024-07-23 05:23:48 +00:00
Alan Bateman
9f03f68755 8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Chen Liang
96e4a1876a 8304929: MethodTypeDesc throws an unchecked exception than ReflectiveOperationException when a component class cannot be resolved
Reviewed-by: jvernee
2024-07-22 22:53:52 +00:00
Weijun Wang
d63d6e23d1 8336935: Test sun/security/krb5/auto/RealmSpecificValues.java fails: java.lang.RuntimeException: Should not reach here
Reviewed-by: hchao, dholmes
2024-07-22 22:17:43 +00:00
Chris Plummer
ed6499446d 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
Reviewed-by: lmesnik, amenkov
2024-07-22 19:34:09 +00:00
Chris Plummer
b144910ebb 8334145: <pid> missing from vm_memory_map_<pid>.txt in System.dump_map help text
Reviewed-by: dholmes, stuefe
2024-07-22 18:56:30 +00:00
Henry Lin
b557594202 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Reviewed-by: shade, rkennke
2024-07-22 17:29:27 +00:00
Henry Lin
34eea6a5fa 8333088: ubsan: shenandoahAdaptiveHeuristics.cpp:245:44: runtime error: division by zero
Reviewed-by: shade, rkennke
2024-07-22 17:29:12 +00:00
Liam Miller-Cushon
31a85f1744 8336491: Unnecessary boxing conversions in void-returning lambdas
Reviewed-by: mcimadamore
2024-07-22 17:25:42 +00:00
Liam Miller-Cushon
8438c5853f 8336844: ZipConstants64 defines duplicate constants EXTID_ZIP64 and ZIP64_EXTID
Reviewed-by: jpai, vtewari, lancea
2024-07-22 17:20:58 +00:00
Naoto Sato
c1c9704268 8336479: Provide Process.waitFor(Duration)
Reviewed-by: liach, jpai, rriggs
2024-07-22 17:17:46 +00:00
Kevin Walls
7ea7730564 8332551: Test vmTestbase/nsk/monitoring/MemoryNotificationInfo/from/from001/TestDescription.java timed out
Reviewed-by: sspitsyn, lmesnik
2024-07-22 16:40:34 +00:00
Weijun Wang
c740e1e3b0 8333772: Incorrect Kerberos behavior when udp_preference_limit = 0
Reviewed-by: ssahoo, mullan
2024-07-22 16:00:40 +00:00
Daniel Lundén
0725eb1df2 8336753: Don't run serviceability/sa/ClhsdbDumpheap.java with -Xcomp
Reviewed-by: cjplummer, kvn, thartmann
2024-07-22 14:41:40 +00:00
Weijun Wang
c3226aaeb8 8334394: Race condition in Class::protectionDomain
Reviewed-by: liach, jpai, rriggs, alanb
2024-07-22 13:43:55 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Prasanta Sadhukhan
7ddd02599c 4265389: JSplitPane does not support ComponentOrientation
Reviewed-by: tr, abhiscxk
2024-07-22 13:19:30 +00:00
Aggelos Biboudis
c1fdc04ad7 8336781: Erroneous exhaustivity check with boolean switch
Reviewed-by: vromero
2024-07-22 10:29:34 +00:00
Adam Sotona
0db6c15efe 8336833: Endless loop in Javap ClassWriter
Reviewed-by: liach
2024-07-22 07:33:29 +00:00
lingjun.cg
4da9915875 8333396: Use StringBuilder internally for java.text.Format.* formatting
Reviewed-by: naoto, liach, jlu
2024-07-22 02:01:08 +00:00
Hai-May Chao
fd741a88e8 8327538: The SSLExtension class specifies incorrect values for heartbeat per RFC 6520 and post_handshake_auth per RFC 8446
Reviewed-by: wetmore
2024-07-21 17:05:46 +00:00
Christian Stein
ad498f57fc 8335896: Source launcher should set TCCL
Reviewed-by: alanb
2024-07-21 08:49:16 +00:00
Aleksei Efimov
b21cb44e38 8329398: Links in InetAddress class description show "#format"
Reviewed-by: jpai
2024-07-20 16:48:30 +00:00
Vladimir Kozlov
c5b7af73d0 8336692: Redo fix for JDK-8284620
Reviewed-by: dlong
2024-07-20 15:41:29 +00:00
Shaojin Wen
491b9f5efc 8336706: Optimize LocalDate.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs
2024-07-20 06:54:19 +00:00
Shaojin Wen
e3acf4c627 8336792: DateTimeFormatterBuilder append zeros based on StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-19 22:06:23 +00:00
Chris Plummer
e7e48a780a 8248609: [Graal] vmTestbase/nsk/jdi/VoidValue/toString/tostring001/TestDescription.java failed with Unexpected com.sun.jdi.ObjectCollectedException
Reviewed-by: amenkov, lmesnik
2024-07-19 21:53:04 +00:00
Liam Miller-Cushon
939fe000a9 8336786: VerifyError with lambda capture and enclosing instance references
Reviewed-by: mcimadamore
2024-07-19 21:52:45 +00:00
Chen Liang
3ade2b6114 8336777: BufferedMethodBuilder not initialized with static flag
Reviewed-by: asotona
2024-07-19 21:25:20 +00:00
Adam Sotona
c25c4896ad 8333812: ClassFile.verify() can throw exceptions instead of returning VerifyErrors
Reviewed-by: liach
2024-07-19 13:09:45 +00:00
Jie Fu
6e9fcc2d80 8336816: runtime/PrintingTests/StringPrinting.java fails with release VMs
Reviewed-by: dholmes
2024-07-19 12:28:56 +00:00
Volker Simonis
84bc4767a4 8336258: Document the behavior of 'exclude' and 'compileonly' with respect to inlining
Reviewed-by: thartmann, jkarthikeyan
2024-07-19 11:26:44 +00:00
Aleksey Shipilev
5d965f36d3 8336466: C2: Parser incorrectly/unnecessarily checks for clinits
Reviewed-by: kvn, thartmann
2024-07-19 08:34:47 +00:00
Aleksey Shipilev
b703be9cf6 8336465: C2: EA incorrectly/unnecessarily checks for clinits
Reviewed-by: kvn, thartmann
2024-07-19 08:34:36 +00:00
Roland Westrelin
0ddf54e222 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, thartmann
2024-07-19 07:30:23 +00:00
Roland Westrelin
10982fe557 8335843: C2 hits assert(_print_inlining_stream->size() > 0) failed: missing inlining msg
Reviewed-by: thartmann, kvn, vlivanov
2024-07-19 07:28:51 +00:00
SendaoYan
fa5ad700bb 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137
Reviewed-by: lmesnik, sspitsyn
2024-07-19 07:06:51 +00:00
David Holmes
10fcad70b3 8325945: Error reporting should limit the number of String characters printed
Reviewed-by: thartmann, stuefe
2024-07-19 06:23:11 +00:00
Andrey Turbanov
f5871df25c 8336675: Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath
Reviewed-by: jpai, alanb, bpb
2024-07-19 05:54:25 +00:00
Prasanta Sadhukhan
902bada2cd 8234071: JTable.AUTO_RESIZE_LAST_COLUMN acts like AUTO_RESIZE_ALL_COLUMNS
Reviewed-by: prr, abhiscxk
2024-07-19 02:56:42 +00:00
Prajwal Kumaraswamy
1b9270ac8a 8328723: IP Address error when client enables HTTPS endpoint check on server socket
Reviewed-by: wetmore, djelinski
2024-07-18 22:42:34 +00:00
Fernando Guallini
330e520c1d 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Reviewed-by: wetmore, mdonovan, rhalade
2024-07-18 22:36:26 +00:00
Chen Liang
39f4476813 8334772: Change Class::signers to an explicit field
Reviewed-by: dholmes, alanb, rriggs, coleenp
2024-07-18 22:22:59 +00:00
Chen Liang
902c2afb67 8336585: BoundAttribute.readEntryList not type-safe
Reviewed-by: asotona
2024-07-18 21:46:19 +00:00
Chen Liang
b44632aa15 8336588: Ensure Transform downstream receives upstream start items only after downstream started
Reviewed-by: asotona
2024-07-18 21:46:07 +00:00
Phil Race
02be7b8ddc 8334495: Use FFM instead of jdk.internal.misc.Unsafe in java.desktop font implementation
Reviewed-by: jdv, dnguyen, achung
2024-07-18 17:35:06 +00:00
Joe Darcy
bbc79a5e01 8333768: Minor doc updates to java.lang.{Float, Double}
Reviewed-by: rgiulietti
2024-07-18 16:33:48 +00:00
Vicente Romero
245c086648 8332600: javac uses record components source position during compilation
Reviewed-by: jlahoda
2024-07-18 15:54:41 +00:00
Kim Barrett
5f7b0072cf 8336346: Fix -Wzero-as-null-pointer-constant warnings in jvmciJavaClasses.cpp
Reviewed-by: jwaters, thartmann
2024-07-18 15:24:51 +00:00
Robert Toyonaga
4a73ed44f1 8330144: Revise os::free_memory()
Reviewed-by: stuefe, mbaesken
2024-07-18 13:35:32 +00:00
Jatin Bhateja
35df48e1b3 8335860: compiler/vectorization/TestFloat16VectorConvChain.java fails with non-standard AVX/SSE settings
Reviewed-by: sviswanathan, kvn
2024-07-18 11:22:58 +00:00
Jorn Vernee
7bf5313244 8335480: Only deoptimize threads if needed when closing shared arena
Reviewed-by: mcimadamore, kvn, uschindler, vlivanov, eosterlund
2024-07-18 11:00:39 +00:00
Albert Mingkun Yang
1b83bd9225 8336661: Parallel: Remove stacks_empty assert in PSScavenge::invoke
Reviewed-by: sangheki
2024-07-18 10:08:13 +00:00
Arseny Bochkarev
72297d22d1 8317720: RISC-V: Implement Adler32 intrinsic
Reviewed-by: fyang
2024-07-18 08:55:07 +00:00
Chris Plummer
21a6cf848d 8336587: failure_handler lldb command times out on macosx-aarch64 core file
Reviewed-by: dlong, dholmes, jpai
2024-07-18 00:21:03 +00:00
Nizar Benalla
78cc0f9569 8336091: Fix HTML warnings in the generated HTML files
Reviewed-by: dholmes
2024-07-17 21:39:19 +00:00
Vladimir Kozlov
bcb5e69505 8335921: Fix HotSpot VM build without JVMTI
Reviewed-by: dholmes, shade
2024-07-17 18:46:00 +00:00
Naoto Sato
10186ff48f 8336300: DateFormatSymbols#getInstanceRef returns non-cached instance
Reviewed-by: joehw, iris, jlu, aturbanov
2024-07-17 16:25:36 +00:00
Albert Mingkun Yang
7ec55df34a 8336638: Parallel: Remove redundant mangle in PSScavenge::invoke
Reviewed-by: zgu
2024-07-17 14:49:00 +00:00
Pavel Rappo
6df7acbc74 8299080: Wrong default value of snippet lang attribute
Reviewed-by: jjg
2024-07-17 12:20:17 +00:00
Suchismith Roy
871362870e 8334217: [AIX] Misleading error messages after JDK-8320005
Reviewed-by: jkern, mbaesken
2024-07-17 11:24:08 +00:00
Markus Grönlund
67979eb077 8334781: JFR crash: assert(((((JfrTraceIdBits::load(klass)) & ((JfrTraceIdEpoch::this_epoch_method_and_class_bits()))) != 0))) failed: invariant
Reviewed-by: egahlin
2024-07-17 11:17:10 +00:00
Vladimir Petko
d41d2a7a82 8334502: gtest/GTestWrapper.java fails on armhf due to LogDecorations.iso8601_utctime_test
Reviewed-by: dholmes, shade
2024-07-17 09:43:47 +00:00
Nizar Benalla
59843f4a65 8336040: Missing closing anchor element in Docs.gmk
Reviewed-by: dholmes, jpai, shade
2024-07-17 09:42:04 +00:00
Albert Mingkun Yang
70f3e99016 8336463: Parallel: Add PSOldGen::expand_and_allocate
Reviewed-by: iwalulya, zgu
2024-07-17 09:25:59 +00:00
Jan Lahoda
b9b0b8504e 8336375: Crash on paste to JShell
Reviewed-by: jvernee
2024-07-17 06:46:34 +00:00
Jaikiran Pai
3babffd400 8334167: Test java/lang/instrument/NativeMethodPrefixApp.java timed out
Reviewed-by: dholmes, sspitsyn, alanb
2024-07-17 06:12:01 +00:00
Jaikiran Pai
d90c20c0c7 Merge
Reviewed-by: djelinski, dholmes
2024-07-17 06:05:51 +00:00
Jayathirth D V
13341ca702 8323390: Enhance mask blit functionality
Reviewed-by: prr, rhalade, psadhukhan
2024-07-17 05:40:56 +05:30
Phil Race
8cc84bf71e 8320097: Improve Image transformations
Reviewed-by: jdv, psadhukhan, aivanov, rhalade
2024-07-17 05:40:56 +05:30
Christian Hagedorn
553f21ae53 8327413: Enhance compilation efficiency
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: ahgross, rhalade, thartmann, epeter, mbalao, fferrari
2024-07-17 05:40:56 +05:30
Jayathirth D V
e636325510 8324559: Improve 2D image handling
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2024-07-17 05:40:56 +05:30
David Holmes
c5a8c8a0b6 8325600: Better symbol storage
Reviewed-by: coleenp, rhalade, matsaave
2024-07-17 05:40:56 +05:30
David Holmes
aea9a08beb 8319859: Better symbol storage
Reviewed-by: rhalade, coleenp, matsaave, iklam
2024-07-17 05:40:56 +05:30
Matias Saavedra Silva
227fc5e591 8314794: Improve UTF8 String supports
Reviewed-by: dholmes, coleenp, rhalade
2024-07-17 05:40:56 +05:30
Emanuel Peter
46c3768645 8320548: Improved loop handling
Reviewed-by: mschoene, rhalade, thartmann, chagedorn
2024-07-17 05:40:56 +05:30
Tobias Hartmann
5f365d44be 8323231: Improve array management
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: iveresov, rhalade, mschoene, dlong, kvn
2024-07-17 05:40:56 +05:30
Harshitha Onkar
69baa7d285 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
Reviewed-by: prr, dnguyen
2024-07-16 23:46:41 +00:00
Chris Plummer
f3e7063e26 8336420: Add JVMTI setfldw001 and setfmodw001 tests to Xcomp problem list
Reviewed-by: dcubed
2024-07-16 23:27:32 +00:00
Cesar Soares Lucas
005fb67e99 8331194: NPE in ArrayCreationTree.java with -XX:-UseCompressedOops
Reviewed-by: kvn
2024-07-16 20:47:42 +00:00
Alex Menkov
a60608e7a3 8334169: Long arguments of attach operation are silently truncated on Windows
Reviewed-by: sspitsyn, cjplummer
2024-07-16 18:10:47 +00:00
Kim Barrett
59bf3d77aa 8336080: Fix -Wzero-as-null-pointer-constant warnings in ClassLoaderStats ctor
Reviewed-by: dholmes, iwalulya
2024-07-16 17:53:08 +00:00
Vladimir Kozlov
88eff4c305 8336421: ciMethod() constructor should use ConditionalMutexLocker(Compile_lock)
Reviewed-by: jwaters, thartmann, shade
2024-07-16 16:11:00 +00:00
Aleksey Shipilev
c99be357c9 8336474: Problemlist compiler/interpreter/Test6833129 on x86_32
Reviewed-by: thartmann, stuefe
2024-07-16 15:23:55 +00:00
Christoph Langer
419cc46248 8335533: OutOfMemoryError: Metaspace observed again on AIX in test RedefineLeakThrowable.java after JDK-8294960
Reviewed-by: mbaesken, stuefe
2024-07-16 12:48:06 +00:00
SendaoYan
8feabc849b 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts
Reviewed-by: jpai
2024-07-16 01:43:36 +00:00
Alexey Ushakov
bc7cd42d11 8314498: [macos] Transferring File objects to Finder fails
Co-authored-by: Andrey Starovoyt <Andrey.Starovoyt@jetbrains.com>
Reviewed-by: prr
2024-07-15 23:25:11 +00:00
Chris Plummer
c8a95a763c 8072701: resume001 failed due to ERROR: timeout for waiting for a BreakpintEvent
Reviewed-by: amenkov, kevinw, sspitsyn
2024-07-15 20:26:52 +00:00
Kim Barrett
388fcf03c0 8336349: Fix more simple -Wzero-as-null-pointer-constant warnings in C2 code
Reviewed-by: kvn, shade
2024-07-15 16:00:00 +00:00
Kim Barrett
ab27acab0b 8336297: C2: Fix -Wzero-as-null-pointer-constant warnings in derived Node ctors
Reviewed-by: kvn, jwaters
2024-07-15 15:43:02 +00:00
Maurizio Cimadamore
9dfcd75ec4 8334121: Anonymous class capturing two enclosing instances fails to compile
Reviewed-by: jlahoda, vromero
2024-07-15 15:28:24 +00:00
Patricio Chilano Mateo
000de30628 8335269: [Graal] occasional timeout in java/lang/StringBuffer/TestSynchronization.java with loom
Reviewed-by: dholmes, alanb
2024-07-15 14:54:04 +00:00
Maurizio Cimadamore
4635531950 8335159: Move method reference to lambda desugaring before Lower
8336320: NullPointerException: Cannot invoke Type.getTag because type is null after JDK-8334037

Reviewed-by: jlahoda, vromero
2024-07-15 14:24:27 +00:00
Chen Liang
a253e0ff4b 8335642: Hide Transform implementation for Class-File API
Reviewed-by: asotona
2024-07-15 12:11:53 +00:00
Jan Lahoda
2b0adfc2de 8335817: javac AssertionError addLocalVar checkNull
Reviewed-by: vromero, mcimadamore
2024-07-15 11:26:33 +00:00
Richard Reingruber
a96de6d8d2 8336256: memcpy short value to int local is incorrect in VtableStubs::unsafe_hash
Reviewed-by: stuefe, shade, kvn
2024-07-15 07:34:10 +00:00
Adam Sotona
3f2636d9b7 8335820: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java fails due to IllegalArgumentException: hash must be nonzero
Reviewed-by: liach
2024-07-15 05:41:52 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Brian Stafford
6f325db493 8310915: Typo in aarch64.ad: "envcodings"
Reviewed-by: thartmann
2024-07-13 04:59:04 +00:00
Jaikiran Pai
ae9f318fc3 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Reviewed-by: alanb
2024-07-13 02:19:25 +00:00
Pavel Rappo
4166e53452 8318106: Generated HTML for snippet does not always contain an id
Reviewed-by: liach
2024-07-12 23:11:04 +00:00
Nizar Benalla
5bc86f3329 8336259: Wrong link to stylesheet.css in JavaDoc API documentation
Reviewed-by: jjg, liach
2024-07-12 21:50:51 +00:00
Sean Gwizdak
8ba9bc6f17 8332249: Micro-optimize Method.hashCode
Reviewed-by: liach
2024-07-12 21:49:51 +00:00
Shaojin Wen
4957145e6c 8336278: Micro-optimize Replace String.format("%n") to System.lineSeparator
Reviewed-by: dnsimon, shade
2024-07-12 21:49:28 +00:00
Kevin Walls
1f6e106b45 8335684: Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java
Reviewed-by: sspitsyn, cjplummer
2024-07-12 17:11:20 +00:00
Shaojin Wen
84c74ad0a9 8335802: Improve startup speed HexFormat uses boolean instead of enum
Reviewed-by: liach
2024-07-12 14:36:34 +00:00
Zhengyu Gu
4f312d6bc1 8336152: Remove unused forward declaration in classLoadInfo.hpp
Reviewed-by: dholmes, shade
2024-07-12 12:59:22 +00:00
Albert Mingkun Yang
34d8562a91 8335902: Parallel: Refactor VM_ParallelGCFailedAllocation and VM_ParallelGCSystemGC
Reviewed-by: gli, zgu
2024-07-12 12:59:13 +00:00
Abhishek Kumar
2fc7eb44a0 8155030: The Menu Mnemonics are always displayed for GTK LAF
Hides mnemonics on menus, buttons, and labels for GTK L&F.

Moved shared code for hiding mnemonics into
sun/swing/MnemonicHandler and AltProcessor to avoid code duplication.

Reviewed-by: prr, tr, achung, dnguyen, aivanov
2024-07-12 12:37:58 +00:00
Jan Lahoda
559826c292 8332474: Tighten up ToolBox' JavacTask to not silently accept javac crash as a failure
Reviewed-by: vromero
2024-07-12 12:17:21 +00:00
Volker Simonis
eec0e155f3 8335619: Add an @apiNote to j.l.i.ClassFileTransformer to warn about recursive class loading and ClassCircularityErrors
Reviewed-by: alanb, stuefe, liach
2024-07-12 12:09:58 +00:00
Kim Barrett
9b6f6c5c9d 8336082: Fix -Wzero-as-null-pointer-constant warnings in SimpleCompactHashtable
Reviewed-by: coleenp, dholmes
2024-07-12 09:33:04 +00:00
Kim Barrett
7a62032964 8336081: Fix -Wzero-as-null-pointer-constant warnings in JVMTypedFlagLimit ctors
Reviewed-by: dholmes, jwaters
2024-07-12 09:30:38 +00:00
Kevin Walls
f677b90eb9 8267887: RMIConnector_NPETest.java fails after removal of RMI Activation (JDK-8267123)
Reviewed-by: cjplummer, sspitsyn
2024-07-12 08:19:24 +00:00
SendaoYan
1fe3ada001 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Reviewed-by: cjplummer, amenkov
2024-07-12 08:14:56 +00:00
Matthias Baesken
c703d29042 8335710: serviceability/dcmd/vm/SystemDumpMapTest.java and SystemMapTest.java fail on Linux Alpine after 8322475
Reviewed-by: stuefe, lucy
2024-07-12 05:56:53 +00:00
Vanitha B P
81a0d1ba03 8325525: Create jtreg test case for JDK-8325203
Reviewed-by: asemenyuk, almatvee
2024-07-11 21:27:30 +00:00
Chen Liang
b3ef2a600c 8336036: Synthetic documentation for a record's equals is incorrect for floating-point types
Reviewed-by: prappo
2024-07-11 20:51:27 +00:00
Kevin Walls
687601ebca 8336257: Additional tests in jmxremote/startstop to match on PID not app name
Reviewed-by: cjplummer, alanb, amenkov, dcubed
2024-07-11 20:45:34 +00:00
Nizar Benalla
889055713e 8335623: Clean up HtmlTag.HtmlTag and make the ARIA role attribute global
Reviewed-by: liach
2024-07-11 20:44:21 +00:00
Dean Long
73e3e0edeb 8321509: False positive in get_trampoline fast path causes crash
Reviewed-by: kvn, adinn, thartmann
2024-07-11 20:18:16 +00:00
Liam Miller-Cushon
9eb611e7f0 8334055: Unhelpful 'required: reference' diagnostics after JDK-8043226
Reviewed-by: vromero
2024-07-11 19:53:52 +00:00
Justin Lu
5100303c6c 8335668: NumberFormat integer only parsing should throw exception for edge case
Reviewed-by: naoto
2024-07-11 18:40:40 +00:00
Joe Wang
58c98420b6 8336021: Doccheck: valign not allowed for HTML5 in java.xml
Reviewed-by: lancea
2024-07-11 18:38:32 +00:00
Chen Liang
d06d79c809 8325369: @sealedGraph: Bad link to image for tag on nested classes
Reviewed-by: jjg
2024-07-11 16:07:03 +00:00
Sonia Zaldana Calles
dea92742c2 8332125: [nmt] Totals in diff report should print out total malloc and mmap diffs
Reviewed-by: stuefe, jsjolen
2024-07-11 14:12:13 +00:00
Robbin Ehn
5c612c230b 8332689: RISC-V: Use load instead of trampolines
Reviewed-by: fyang, mli, luhenry
2024-07-11 10:24:00 +00:00
Pavel Rappo
6fcd49f943 8336239: Fix javadoc markup in java.lang.Process
Reviewed-by: jpai
2024-07-11 10:08:54 +00:00
Xiaolong Peng
b32e4a68bc 8335356: Shenandoah: Improve concurrent cleanup locking
Reviewed-by: ysr, shade
2024-07-11 08:47:15 +00:00
Kim Barrett
62cbf70346 8336085: Fix simple -Wzero-as-null-pointer-constant warnings in CDS code
Reviewed-by: dholmes, jwaters
2024-07-11 08:28:25 +00:00
Axel Boldt-Christmas
2928753bd9 8324966: Allow selecting jtreg test case by ID from make
Reviewed-by: erikj
2024-07-11 08:18:46 +00:00
Prasanta Sadhukhan
1772a929af 8334457: Test javax/swing/JTabbedPane/bug4666224.java fail on macOS with because pressing the ‘C’ key does not switch the layout to WRAP_TAB_LAYOUT
Reviewed-by: achung, abhiscxk, tr
2024-07-11 07:35:48 +00:00
Kevin Walls
b7d0eff5ad 8207908: JMXStatusTest.java fails assertion intermittently
Reviewed-by: cjplummer, amenkov
2024-07-11 07:29:37 +00:00
Doug Simon
cf940e139a 8335553: [Graal] Compiler thread calls into jdk.internal.vm.VMSupport.decodeAndThrowThrowable and crashes in OOM situation
Reviewed-by: yzheng, never, dholmes
2024-07-11 07:03:44 +00:00
Kuai Wei
b363de8c9f 8335946: DTrace code snippets should be generated when DTrace flags are enabled
Reviewed-by: coleenp, dholmes
2024-07-11 02:44:25 +00:00
KIRIYAMA Takuya
d6c6847e32 8335743: jhsdb jstack cannot print some information on the waiting thread
Reviewed-by: dholmes, cjplummer, kevinw
2024-07-11 02:44:12 +00:00
Chen Liang
cad68e06ec 8335935: Chained builders not sending transformed models to next transforms
Reviewed-by: asotona
2024-07-10 21:06:39 +00:00
Yudi Zheng
242f1133f8 8334481: [JVMCI] add LINK_TO_NATIVE to MethodHandleAccessProvider.IntrinsicMethod
Reviewed-by: dnsimon
2024-07-10 19:42:23 +00:00
Joe Darcy
66db71563c 8335637: Add explicit non-null return value expectations to Object.toString()
Reviewed-by: jpai, alanb, smarks, prappo
2024-07-10 16:36:39 +00:00
Patricio Chilano Mateo
7ab96c74e2 8335409: Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665
Reviewed-by: dholmes, stuefe, coleenp, shade
2024-07-10 16:26:16 +00:00
Axel Boldt-Christmas
fb66716a1b 8331725: ubsan: pc may not always be the entry point for a VtableStub
Reviewed-by: kvn, mbaesken
2024-07-10 16:12:40 +00:00
Doug Simon
fb9a227e02 8313909: [JVMCI] assert(cp->tag_at(index).is_unresolved_klass()) in lookupKlassInPool
Reviewed-by: yzheng, never
2024-07-10 15:34:27 +00:00
Christian Stein
e6c5aa7a6c 8336012: Fix usages of jtreg-reserved properties
Reviewed-by: jjg
2024-07-10 15:12:49 +00:00
Erik Gahlin
e0fb949460 8335779: JFR: Hide sleep events
Reviewed-by: mgronlun
2024-07-10 14:28:20 +00:00
Jan Lahoda
537d20afbf 8335766: Switch case with pattern matching and guard clause compiles inconsistently
Reviewed-by: abimpoudis
2024-07-10 09:55:56 +00:00
Matthias Baesken
a44b60c8c1 8335778: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fails on ppc64 platforms after JDK-8334545
Reviewed-by: dholmes, asteiner
2024-07-10 07:53:52 +00:00
Koichi Sakata
b5909cabee 8323242: Remove vestigial DONT_USE_REGISTER_DEFINES
Reviewed-by: gli, kvn
2024-07-10 05:57:11 +00:00
Jaikiran Pai
dcf4e0d51f 8335966: Remove incorrect problem listing of java/lang/instrument/NativeMethodPrefixAgent.java in ProblemList-Virtual.txt
Reviewed-by: kevinw, amenkov
2024-07-10 03:30:19 +00:00
Mark Powers
1472124489 8333364: Minor cleanup could be done in com.sun.crypto.provider
Reviewed-by: mullan, valeriep
2024-07-09 20:38:09 +00:00
Kim Barrett
7e11fb7026 8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Reviewed-by: jwaters, coleenp
2024-07-09 13:11:20 +00:00
Volker Simonis
531a6d85b0 8335911: Document ccls indexer in doc/ide.md
Reviewed-by: erikj
2024-07-09 13:11:07 +00:00
Aleksei Voitylov
0e0dfca21f 8330806: test/hotspot/jtreg/compiler/c1/TestLargeMonitorOffset.java fails on ARM32
Reviewed-by: snazarki, dsamersoff
2024-07-09 10:27:44 +00:00
Severin Gehwolf
f3ff4f7427 8335882: platform/cgroup/TestSystemSettings.java fails on Alpine Linux
Reviewed-by: stuefe, mbaesken
2024-07-09 10:21:47 +00:00
Amit Kumar
8f62f31dff 8335906: [s390x] Test Failure: GTestWrapper.java
Reviewed-by: stuefe
2024-07-09 08:26:25 +00:00
Kevin Walls
2a2964759c 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException
Reviewed-by: cjplummer, dholmes
2024-07-09 08:25:00 +00:00
Thomas Schatzl
564a72e1db 8335955: JDK-8335742 wrongly used a "JDK-" prefix in the problemlist bug number
Reviewed-by: iwalulya
2024-07-09 08:10:55 +00:00
Ioi Lam
9c7a6eabb9 8312125: Refactor CDS enum class handling
Reviewed-by: matsaave, ccheung
2024-07-08 20:14:26 +00:00
Xiaolong Peng
bb1f8a1698 8335904: Fix invalid comment in ShenandoahLock
Reviewed-by: shade
2024-07-08 20:10:27 +00:00
Liam Miller-Cushon
babf6df7d9 8334757: AssertionError: Missing type variable in where clause
Reviewed-by: jlahoda, vromero
2024-07-08 20:09:07 +00:00
lawrence.andrews
3733fe3a20 8335789: [TESTBUG] XparColor.java test fails with Error. Parse Exception: Invalid or unrecognized bugid: @
Reviewed-by: aivanov
2024-07-08 19:14:33 +00:00
Kelvin Nilsen
3a87eb5c46 8335126: Shenandoah: Improve OOM handling
Reviewed-by: shade, ysr, wkemper, rkennke
2024-07-08 18:03:19 +00:00
Calvin Cheung
284671a1e4 8335449: runtime/cds/DeterministicDump.java fails with File content different at byte ...
Reviewed-by: matsaave, iklam
2024-07-08 16:44:22 +00:00
Joe Darcy
a9b7f42f29 8333826: Update --release 23 symbol information for JDK 23 build 29
Reviewed-by: iris, jlahoda
2024-07-08 16:20:01 +00:00
Albert Mingkun Yang
d8c1c6ab05 8335604: Serial: Inline Generation::contiguous_available
Reviewed-by: tschatzl
2024-07-08 15:45:26 +00:00
Matias Saavedra Silva
be3676f6bb 8304484: CDS dynamic dumping incorrectly leads to "Error occurred during initialization of VM"
Reviewed-by: ccheung, iklam
2024-07-08 14:04:32 +00:00
Jorn Vernee
cec222e460 8317611: Add a tool like jdeprscan to find usage of restricted methods
Reviewed-by: alanb, ihse, mcimadamore, jlahoda, jwaters
2024-07-08 12:39:33 +00:00
Thomas Schatzl
953c35eb5b 8335824: Test gc/arguments/TestMinInitialErgonomics.java is timing out
Reviewed-by: ayang, kbarrett
2024-07-08 11:44:04 +00:00
Tobias Hartmann
c34a1b7013 8335861: Problem list compiler/vectorization/TestFloat16VectorConvChain.java
Reviewed-by: epeter
2024-07-08 10:53:03 +00:00
Xiaolong Peng
c5a668bb65 8334231: Optimize MethodData layout
Reviewed-by: dholmes, chagedorn, shade
2024-07-08 10:33:08 +00:00
Albert Mingkun Yang
540188fdeb 8334445: Parallel: Decouple maximum compaction from SoftReference clearing
Reviewed-by: zgu, lmao
2024-07-08 10:03:39 +00:00
Thomas Stuefe
3cce31ad88 8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
Reviewed-by: sgehwolf, dholmes
2024-07-08 08:06:56 +00:00
Jatin Bhateja
55fd1ed228 8333890: Fatal error in auto-vectorizer with float16 kernel.
Reviewed-by: kvn
2024-07-08 06:42:46 +00:00
Emanuel Peter
02956ab6e1 8332163: C2 SuperWord: refactor PacksetGraph and SuperWord::output into VTransformGraph
Reviewed-by: chagedorn, kvn
2024-07-08 06:23:03 +00:00
SendaoYan
3f37c5718d 8335806: RISC-V: Corrected typos Bizarrely
Reviewed-by: aph, amitkumar
2024-07-08 01:19:36 +00:00
Per Minborg
6f7f0f1de0 8333884: MemorySegment::reinterpret removes read-only property
Reviewed-by: jvernee, mcimadamore
2024-07-06 15:05:26 +00:00
Erik Gahlin
b83766e590 8335632: jdk/jfr/api/consumer/streaming/TestJVMExit.java failed with "Process [...] is no longer alive"
Reviewed-by: mgronlun
2024-07-05 17:07:22 +00:00
Erik Gahlin
7efe16038e 8335730: JFR: Clean up jdk.jfr
Reviewed-by: mgronlun
2024-07-05 16:44:41 +00:00
Severin Gehwolf
ff49f677ee 8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
Reviewed-by: gdams, stuefe
2024-07-05 13:44:35 +00:00
Shaojin Wen
194425d787 8335645: j.u.Formatter#trailingZeros improved with String repeat
Reviewed-by: liach, jlu, naoto
2024-07-05 12:50:09 +00:00
Ivan Walulya
c8acea87e2 8335706: G1: Remove unused G1ConcurrentRefine::RemSetSamplingClosure::_cset
Reviewed-by: ayang, tschatzl
2024-07-05 09:10:30 +00:00
Thomas Schatzl
bdf470b3b8 8335742: Problemlist gc/g1/TestMixedGCLiveThreshold.java#25percent with virtual threads
Reviewed-by: aboldtch, kbarrett
2024-07-05 09:06:37 +00:00
Albert Mingkun Yang
6409ec336a 8335711: G1: Remove unused bot_updates argument in G1AllocRegion constructor
Reviewed-by: iwalulya, tschatzl
2024-07-05 08:43:27 +00:00
Thomas Schatzl
4ec1ae1097 8331385: G1: Prefix HeapRegion helper classes with G1
Reviewed-by: ayang, dholmes
2024-07-05 07:18:34 +00:00
Sonia Zaldana Calles
b9d8056d5c 8332124: Jcmd should recognise options that look like requests for help
Reviewed-by: kevinw, stuefe
2024-07-05 04:49:01 +00:00
Liang Mao
cff9e246cc 8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_clear_all_soft_refs
Reviewed-by: ayang
2024-07-05 02:29:07 +00:00
Nizar Benalla
f4fa35e28b 8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Jasmine Karthikeyan
3050ba0176 8335654: Remove stale hyperlink in divnode.cpp
Reviewed-by: chagedorn, thartmann
2024-07-04 14:09:45 +00:00
Robert Toyonaga
da0ffa8b7f 8334031: Generated JfrNativeSettings seems off
Reviewed-by: egahlin
2024-07-04 13:35:24 +00:00
Thomas Stuefe
b0efd77402 8314653: Metaspace: remove allocation guard feature
Reviewed-by: azafari, dholmes
2024-07-04 12:42:47 +00:00
Nizar Benalla
6a472797a4 8332072: Convert package.html files in java.naming to package-info.java
8335213: Code snippet in javax.naming.ldap package summary does not compile

Reviewed-by: aefimov
2024-07-04 12:29:32 +00:00
Kim Barrett
7e378fccd8 8335667: Fix simple -Wzero-as-null-pointer-constant warnings in compiler code
Reviewed-by: chagedorn
2024-07-04 12:16:54 +00:00
Joachim Kern
ced9906635 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: stuefe, mbaesken, mdoerr
2024-07-04 11:20:57 +00:00
Yudi Zheng
916db07e53 8335532: [JVMCI] Export VM_Version::L1_line_size in JVMCI
Reviewed-by: dnsimon
2024-07-04 10:34:56 +00:00
Erik Österlund
c0604fb823 8334890: Missing unconditional cross modifying fence in nmethod entry barriers
Reviewed-by: aboldtch, kbarrett
2024-07-04 10:06:09 +00:00
Kim Barrett
cf1be87279 8335663: Fix simple -Wzero-as-null-pointer-constant warnings in C2 code
Reviewed-by: jwaters, chagedorn
2024-07-04 10:04:52 +00:00
Erik Gahlin
0bb9c76288 8324089: Fix typo in the manual page for "jcmd" (man jcmd)
Reviewed-by: mgronlun, kevinw
2024-07-04 10:03:39 +00:00
Jan Lahoda
3e3f83f62c 8335385: javac crash on unattributed piece of AST
Reviewed-by: vromero
2024-07-04 08:36:56 +00:00
Axel Boldt-Christmas
b20e8c8e85 8335397: Improve reliability of TestRecursiveMonitorChurn.java
Reviewed-by: coleenp, rkennke, dholmes
2024-07-04 08:21:18 +00:00
Thomas Stuefe
38a578d547 8334738: os::print_hex_dump should optionally print ASCII
Reviewed-by: dholmes, sgehwolf
2024-07-04 06:20:03 +00:00
Thomas Stuefe
7b894bc4af 8332786: When dumping static CDS archives, explicitly assert that we don't use a CDS archive
Reviewed-by: iklam, dholmes
2024-07-04 05:44:44 +00:00
David Holmes
e01626cf09 8335655: ProblemList serviceability/dcmd/vm tests failing after JDK-8322475
Reviewed-by: mikael
2024-07-04 04:18:31 +00:00
Kim Barrett
3efa93ba13 8335588: Fix -Wzero-as-null-pointer-constant warnings in calls to Node ctor
Reviewed-by: thartmann, chagedorn
2024-07-03 22:03:23 +00:00
David Holmes
587535c5b9 8334545: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fails after JDK-8294960
Reviewed-by: iklam, stuefe
2024-07-03 21:42:08 +00:00
Erik Gahlin
68ffec9800 8335479: JFR: Missing documentation for -XX:StartFlightRecording
Reviewed-by: mgronlun
2024-07-03 20:43:08 +00:00
Thomas Schatzl
9a91865ff3 8335395: G1: Verification does not detect references into Free regions
Reviewed-by: ayang, iwalulya
2024-07-03 16:29:52 +00:00
Hamlin Li
13b782c3de 8334554: RISC-V: verify & fix perf of string comparison
Reviewed-by: rehn, luhenry, fyang
2024-07-03 16:10:22 +00:00
Thomas Stuefe
8aaec37ace 8322475: Extend printing for System.map
Reviewed-by: sgehwolf, jsjolen
2024-07-03 16:08:34 +00:00
Albert Mingkun Yang
19a8a2baa9 8335618: Serial: Remove unused definitions in SerialHeap
Reviewed-by: iwalulya
2024-07-03 15:42:47 +00:00
Ivan Walulya
cf4f2b53d6 8332517: G1: Refactor G1AllocRegion
Reviewed-by: tschatzl, ayang
2024-07-03 15:12:40 +00:00
Arseny Bochkarev
5a8af2b8b9 8335615: Clean up left-overs from 8317721
Reviewed-by: fyang
2024-07-03 14:09:59 +00:00
Albert Mingkun Yang
6923a5114b 8335607: Serial: Remove unused collection_attempt_is_safe
Reviewed-by: tschatzl
2024-07-03 12:57:26 +00:00
Feilong Jiang
5866b16dbc 8335411: RISC-V: Optimize encode_heap_oop when oop is not null
Reviewed-by: fyang, rehn
2024-07-03 12:12:12 +00:00
Qizheng Xing
6db4c6a772 8335536: Fix assertion failure in IdealGraphPrinter when append is true
Reviewed-by: thartmann, chagedorn, tholenstein
2024-07-03 12:12:00 +00:00
Erik Gahlin
350f9c1947 8322812: Manpage for jcmd is missing JFR.view command
Reviewed-by: kevinw, mgronlun
2024-07-03 11:36:14 +00:00
Kim Barrett
c06b75ff88 8335591: Fix -Wzero-as-null-pointer-constant warnings in ConcurrentHashTable
Reviewed-by: chagedorn
2024-07-03 11:12:08 +00:00
Albert Mingkun Yang
6c84e9c8cb 8335544: Serial: Remove unused _should_allocate_from_space
Reviewed-by: iwalulya
2024-07-03 08:42:43 +00:00
Gergö Barany
4d2f73764b 8335357: Delete HotSpotJDKReflection.oopSizeOffset
Reviewed-by: dnsimon
2024-07-03 08:08:22 +00:00
Kim Barrett
77a7078b82 8335593: Fix -Wzero-as-null-pointer-constant warning in Type_Array ctor
Reviewed-by: thartmann
2024-07-03 06:00:20 +00:00
Kim Barrett
f3f90dc11a 8335592: Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor
Reviewed-by: thartmann
2024-07-03 05:57:49 +00:00
Kim Barrett
7bc8f9c150 8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor
Reviewed-by: thartmann
2024-07-03 05:55:28 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Eirik Bjørsnøs
d51141e5fc 8321274: Rename ZipEntry.extraAttributes to ZipEntry.externalFileAttributes
Reviewed-by: lancea, jpai
2024-07-03 04:36:32 +00:00
Xiaolong Peng
fac74b118f 8334229: Optimize InterpreterOopMap layout
Reviewed-by: coleenp, dholmes
2024-07-03 03:01:06 +00:00
Xiaolong Peng
f9b4ea13e6 8334220: Optimize Klass layout after JDK-8180450
Reviewed-by: coleenp, stuefe, dholmes
2024-07-03 02:56:17 +00:00
Chen Liang
f7af4504a8 8335110: Fix instruction name and API spec inconsistencies in CodeBuilder
Reviewed-by: asotona
2024-07-03 02:49:43 +00:00
Chen Liang
8a664a4c35 8334734: Remove specialized readXxxEntry methods from ClassReader
Reviewed-by: asotona
2024-07-03 02:43:41 +00:00
Chen Liang
3a2d426489 8334726: Remove accidentally exposed individual methods from Class-File API
Reviewed-by: asotona
2024-07-03 02:42:06 +00:00
Kim Barrett
f187c92bef 8335370: Fix -Wzero-as-null-pointer-constant warning in jvmti_common.hpp
Reviewed-by: jwaters, amenkov, sspitsyn
2024-07-03 02:19:54 +00:00
Chen Liang
1ef34c1833 8335475: ClassBuilder incorrectly calculates max_locals in some cases
Reviewed-by: asotona
2024-07-02 23:15:31 +00:00
Viktor Klang
27982c8f5d 8327854: Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException
Reviewed-by: psandoz
2024-07-02 20:27:52 +00:00
Chris Plummer
a3479576c9 8335291: Problem list all SA core file tests on macosx-aarch64 due to JDK-8318754
Reviewed-by: kevinw, amenkov
2024-07-02 18:13:50 +00:00
Severin Gehwolf
153b12b9df 8331560: Refactor Hotspot container detection code so that subsystem delegates to controllers
Reviewed-by: jsjolen, stuefe
2024-07-02 15:38:54 +00:00
Jasmine Karthikeyan
685e5878b8 8334816: compiler/c2/irTests/TestIfMinMax.java fails after 8334629
Reviewed-by: thartmann, chagedorn
2024-07-02 14:36:29 +00:00
Albert Mingkun Yang
dd74e7f8c1 8335147: Serial: Refactor TenuredGeneration::promote
Reviewed-by: tschatzl, iwalulya
2024-07-02 12:15:02 +00:00
Daniel Fuchs
a537e87d2d 8335530: Java file extension missing in AuthenticatorTest
Reviewed-by: cstein, jpai
2024-07-02 11:50:21 +00:00
Kim Barrett
4060b35b1d 8335298: Fix -Wzero-as-null-pointer-constant warning in G1CardSetContainers
Reviewed-by: iwalulya, ayang
2024-07-02 08:58:20 +00:00
Emanuel Peter
9046d7aee3 8335390: C2 MergeStores: wrong result with Unsafe
Reviewed-by: thartmann, chagedorn, kvn
2024-07-02 08:20:26 +00:00
Kim Barrett
318d9acadf 8335369: Fix -Wzero-as-null-pointer-constant warnings in ImmutableOopMapBuilder
Reviewed-by: kvn, jwaters
2024-07-02 05:56:21 +00:00
Prasanta Sadhukhan
5fe07b36d9 5021949: JSplitPane setEnabled(false) shouldn't be partially functional
Reviewed-by: abhiscxk, achung, aivanov
2024-07-02 03:39:43 +00:00
Leonid Mesnik
ee4720a75d 8333306: gc/arguments/TestParallelGCErgo.java fails when largepage are enabled
Reviewed-by: ayang, zgu
2024-07-01 20:38:55 +00:00
Arseny Bochkarev
2f4f6cc34c 8317721: RISC-V: Implement CRC32 intrinsic
Reviewed-by: vkempik, rehn
2024-07-01 12:19:49 +00:00
Adam Sotona
3ca2bcd402 8335060: ClassCastException after JDK-8294960
Reviewed-by: liach, jpai
2024-07-01 11:51:13 +00:00
Evgeny Nikitin
747e1e47f5 8334295: CTW: update modules
Reviewed-by: shade, thartmann
2024-07-01 10:21:31 +00:00
Severin Gehwolf
0a6ffa5795 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container
Reviewed-by: stuefe, iklam
2024-07-01 08:47:29 +00:00
Albert Mingkun Yang
71e3798bf6 8335308: compiler/uncommontrap/DeoptReallocFailure.java times out with SerialGC on Windows
Reviewed-by: kvn, thartmann, chagedorn
2024-07-01 08:12:20 +00:00
Suchismith Roy
c7e9ebb4cf 8331732: [PPC64] Unify and optimize code which converts != 0 to 1
Reviewed-by: mdoerr, amitkumar
2024-07-01 08:07:42 +00:00
Matthias Baesken
53242cdf9e 8335283: Build failure due to 'no_sanitize' attribute directive ignored
Reviewed-by: shade, tschatzl, kbarrett, jwaters
2024-07-01 06:37:09 +00:00
Zhengyu Gu
d9bcf06145 8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList
Reviewed-by: dholmes, stefank, eosterlund
2024-06-29 20:40:51 +00:00
Kevin Walls
bb18498d71 8335349: jcmd VM.classloaders "fold" option should be optional
Reviewed-by: cjplummer, stuefe
2024-06-29 08:19:33 +00:00
Kim Barrett
8350b1daed 8335294: Fix simple -Wzero-as-null-pointer-constant warnings in gc code
Reviewed-by: tschatzl, coleenp, jwaters
2024-06-29 05:04:47 +00:00
Shaojin Wen
5d866bf17d 8335252: Reduce size of j.u.Formatter.Conversion#isValid
Reviewed-by: redestad
2024-06-28 22:27:34 +00:00
Vladimir Kozlov
166f9d9ac0 8335221: Some C2 intrinsics incorrectly assume that type argument is compile-time constant
Reviewed-by: roland, chagedorn
2024-06-28 19:36:00 +00:00
Fernando Guallini
3e23e9c535 8335344: test/jdk/sun/security/tools/keytool/NssTest.java fails to compile
Reviewed-by: weijun
2024-06-28 19:17:24 +00:00
Kevin Walls
79a3554e1d 8335124: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed with CPU time out of expected range
Reviewed-by: phh, cjplummer
2024-06-28 19:01:36 +00:00
Aleksey Shipilev
45c4eaa560 8335274: SwitchBootstraps.ResolvedEnumLabels.resolvedEnum should be final
Reviewed-by: liach, jlahoda
2024-06-28 16:26:34 +00:00
Matthias Baesken
486aa11e74 8335237: ubsan: vtableStubs.hpp is_vtable_stub exclude from ubsan checks
Reviewed-by: mdoerr, clanger
2024-06-28 13:28:53 +00:00
Fernando Guallini
f4d8c005b3 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
Reviewed-by: weijun
2024-06-28 12:45:26 +00:00
Daniel Fuchs
49eb00da8d 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Reviewed-by: aefimov
2024-06-28 11:13:11 +00:00
Daniel Fuchs
8ec378a6c8 8277949: (dc) java/nio/channels/DatagramChannel/AdaptorBasic.java failed in timeout
Reviewed-by: jpai
2024-06-28 11:03:29 +00:00
SendaoYan
c798316bc4 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Reviewed-by: dfuchs
2024-06-28 09:38:18 +00:00
Jan Lahoda
99d2bbf767 8334433: jshell.exe runs an executable test.exe on startup
Reviewed-by: jpai
2024-06-28 09:31:14 +00:00
Christian Hagedorn
6f4ddc2f6b 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Reviewed-by: thartmann, kvn
2024-06-28 09:23:48 +00:00
Albert Mingkun Yang
3b3a19e907 8335314: Problem list compiler/uncommontrap/DeoptReallocFailure.java
Reviewed-by: chagedorn
2024-06-28 08:27:07 +00:00
Amit Kumar
d457609f70 8319947: Recursive lightweight locking: s390x implementation
Reviewed-by: aboldtch, lucy
2024-06-28 06:43:32 +00:00
Xiaolong Peng
c47a0e005e 8334147: Shenandoah: Avoid taking lock for disabled free set logging
Reviewed-by: shade, ysr
2024-06-28 06:19:37 +00:00
Evgeny Nikitin
308a812383 8334645: Un-problemlist vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java
Reviewed-by: thartmann, lmesnik
2024-06-28 04:42:33 +00:00
Jan Kratochvil
b4df380f1a 8334763: --enable-asan: assert(_thread->is_in_live_stack((address)this)) failed: not on stack?
Reviewed-by: kbarrett, stuefe, erikj
2024-06-28 03:07:09 +00:00
Gui Cao
cd46c87dc9 8334843: RISC-V: Fix wraparound checking for r_array_index in lookup_secondary_supers_table_slow_path
Reviewed-by: fyang
2024-06-28 01:44:14 +00:00
Chris Plummer
4e8cbf884a 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Reviewed-by: kevinw, coleenp
2024-06-27 22:20:14 +00:00
Vladimir Petko
3b1ca98642 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942
Reviewed-by: erikj
2024-06-27 20:27:51 +00:00
Ioi Lam
c35e58a5ad 8309634: Resolve CONSTANT_MethodRef at CDS dump time
Reviewed-by: matsaave, ccheung
2024-06-27 20:10:13 +00:00
Vladimir Ivanov
243bae7dc0 8304693: Remove -XX:-UseVtableBasedCHA
Reviewed-by: kvn, coleenp, dholmes
2024-06-27 18:25:16 +00:00
Vladimir Kozlov
9d986a013d 8335220: C2: Missing check for Opaque4 node in EscapeAnalysis
Reviewed-by: chagedorn, cslucas
2024-06-27 16:06:35 +00:00
Erik Gahlin
0e6b0cbaaa 8334886: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with RuntimeException: getStopTime() > afterStop
Reviewed-by: mgronlun
2024-06-27 15:38:06 +00:00
Daniel Jeliński
b6ffb442ac 8335135: HttpURLConnection#HttpInputStream does not throw IOException when response is truncated
Reviewed-by: dfuchs
2024-06-27 15:14:36 +00:00
Francisco Ferrari Bihurriet
4ab7e98c79 8330842: Support AES CBC with Ciphertext Stealing (CTS) in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2024-06-27 15:07:00 +00:00
Axel Boldt-Christmas
5909d54147 8326820: Metadata artificially kept alive
Reviewed-by: eosterlund, stefank, coleenp
2024-06-27 14:21:34 +00:00
Sonia Zaldana Calles
d5375c7db6 8333308: javap --system handling doesn't work on internal class names
Reviewed-by: liach, stuefe
2024-06-27 13:22:04 +00:00
Albert Mingkun Yang
6b961acb87 8333786: Serial: Remove SerialHeap::_incremental_collection_failed
Reviewed-by: tschatzl, iwalulya
2024-06-27 13:03:21 +00:00
Thomas Stuefe
50dd962b0d 8335007: Inline OopMapCache table
Reviewed-by: stefank, coleenp, shade
2024-06-27 12:56:26 +00:00
Albert Mingkun Yang
79a23017fc 8322859: Parallel: Move transform_stack_chunk
Reviewed-by: stefank, tschatzl
2024-06-27 10:23:55 +00:00
Kevin Walls
37e7698c29 8335154: jcmd VM.classes -verbose=false does not set verbose to false
Reviewed-by: dholmes, stuefe
2024-06-27 07:54:35 +00:00
Evemose
f3b69da55a 8335136: Underscore as parameter name in one-parameter functional types fails to compile
Reviewed-by: jlahoda
2024-06-27 07:45:18 +00:00
Matthias Baesken
46b817b749 8333363: ubsan: instanceKlass.cpp: runtime error: member call on null pointer of type 'struct AnnotationArray'
Reviewed-by: coleenp, stefank
2024-06-27 06:53:03 +00:00
Nizar Benalla
0fc5b2711f 8332014: since-checker - Fix @ since tags in jdk.jshell
Reviewed-by: jlahoda
2024-06-27 06:22:17 +00:00
Shaojin Wen
9d20b58f40 8334328: Reduce object allocation for FloatToDecimal and DoubleToDecimal
Reviewed-by: redestad, rgiulietti
2024-06-27 05:13:30 +00:00
Jaikiran Pai
9bb675f89d 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dfuchs
2024-06-27 04:38:32 +00:00
Vladimir Kozlov
6682305ee2 8334779: Test compiler/c1/CanonicalizeArrayLength.java is timing out
Reviewed-by: thartmann, dlong
2024-06-27 03:34:04 +00:00
Hannes Greule
3796fdfced 8328536: javac - crash on unknown type referenced in yield statement
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jlahoda
2024-06-26 23:17:32 +00:00
Anthony Scarpino
07bc523df8 8334670: SSLSocketOutputRecord buffer miscalculation
Reviewed-by: djelinski, ssahoo
2024-06-26 22:28:33 +00:00
Zhengyu Gu
4ebb77120a 8334769: Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator
Reviewed-by: shade, wkemper, kdnilsen
2024-06-26 20:24:29 +00:00
Xiaolong Peng
817edcb697 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Reviewed-by: shade, kdnilsen, wkemper
2024-06-26 19:25:37 +00:00
Justin Lu
bffc8484c3 8333755: NumberFormat integer only parsing breaks when format has suffix
Reviewed-by: naoto
2024-06-26 17:10:09 +00:00
Sonia Zaldana Calles
b5d589623c 8335108: Build error after JDK-8333658 due to class templates
Reviewed-by: jwaters, jsjolen
2024-06-26 16:20:15 +00:00
Claes Redestad
5883a20b82 8334437: De-duplicate ProxyMethod list creation
Reviewed-by: asotona, liach
2024-06-26 14:46:17 +00:00
Nizar Benalla
8591eff78d 8332103: since-checker - Add missing @ since tags to java.desktop
Reviewed-by: tr, aivanov
2024-06-26 14:39:21 +00:00
Emanuel Peter
8374d16504 8335006: C2 SuperWord: add JMH benchmark VectorLoadToStoreForwarding.java
Reviewed-by: shade, kvn, sviswanathan
2024-06-26 14:12:44 +00:00
Anthony Scarpino
4ffc5e6077 8326705: Test CertMsgCheck.java fails to find alert certificate_required
Reviewed-by: ssahoo, rhalade
2024-06-26 13:58:22 +00:00
Matthias Baesken
efb905e57a 8334618: ubsan: support setting additional ubsan check options
Reviewed-by: stuefe, lucy
2024-06-26 13:37:58 +00:00
Kangcheng Xu
b2ac7259c9 8327380: Add tests for Shenandoah barrier expansion optimization
Reviewed-by: roland, shade
2024-06-26 13:19:34 +00:00
Daniel Fuchs
f23295ec1d 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Reviewed-by: alanb
2024-06-26 10:09:05 +00:00
Hannes Wallnöfer
741a0f39dd 8334241: Adjust API docs side bar dimensions
Reviewed-by: jjg
2024-06-26 09:37:22 +00:00
Maurizio Cimadamore
4ce8822b6c 8334037: Local class creation in lambda in pre-construction context crashes javac
8333313: NullPointerException in lambda instantiating an inner local class in prologue
8333766: Stack overflow with anonymous class in super() parameter
8334679: Wrong bug number in regression test for JDK-8334252

Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda, vromero
2024-06-26 09:12:02 +00:00
Adam Sotona
7f6804ceb6 8334872: BigEndian: java/lang/invoke/condy Tests failing since JDK-8294960
Reviewed-by: redestad
2024-06-26 09:09:13 +00:00
Thomas Stuefe
e1390056c9 8333994: NMT: call stacks should show source information
Reviewed-by: jsjolen, gziemski
2024-06-26 08:44:17 +00:00
Albert Mingkun Yang
b88af94269 8269870: PS: Membar in PSPromotionManager::copy_unmarked_to_survivor_space could be relaxed
Co-authored-by: Hamlin Li <mli@openjdk.org>
Reviewed-by: mli, kbarrett, tschatzl
2024-06-26 07:40:35 +00:00
Christian Hagedorn
a5f401f3a8 8334650: Add debug information about whether an Assertion Predicate is for the init or last value
Reviewed-by: roland, kvn
2024-06-26 07:09:50 +00:00
Kim Barrett
25c3845be2 8333133: Simplify QuickSort::sort
Reviewed-by: shade, dholmes
2024-06-26 05:15:36 +00:00
Gui Cao
c66f785fb6 8334505: RISC-V: Several tests fail when MaxVectorSize does not match VM_Version::_initial_vector_length
Reviewed-by: fyang
2024-06-26 00:59:49 +00:00
Volodymyr Paprotski
f101e153ce 8333583: Crypto-XDH.generateSecret regression after JDK-8329538
Reviewed-by: sviswanathan, kvn, ascarpino
2024-06-25 22:31:39 +00:00
Coleen Phillimore
b3bf31a0a0 8333542: Breakpoint in parallel code does not work
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, vlivanov
2024-06-25 19:50:58 +00:00
Justin Lu
86b0cf259f 8334653: ISO 4217 Amendment 177 Update
Reviewed-by: naoto
2024-06-25 19:05:22 +00:00
Justin Lu
861aefcafa 8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Reviewed-by: lancea, iris, srl, naoto
2024-06-25 19:05:01 +00:00
Yude Lin
f8bf470b77 8334810: Redo: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
8268379: java/util/Locale/LocaleProvidersRun.java and sun/util/locale/provider/CalendarDataRegression.java timed out

Reviewed-by: naoto, jlu
2024-06-25 18:19:42 +00:00
Quan Anh Mai
933eababf2 8334629: [BACKOUT] PhaseIdealLoop::conditional_move is too conservative
Reviewed-by: epeter, thartmann, jkarthikeyan
2024-06-25 17:10:20 +00:00
Ioi Lam
7429c37e63 8334598: Default classlist in JDK is not deterministic after JDK-8293980
Reviewed-by: ccheung, dholmes, stuefe, erikj
2024-06-25 16:44:41 +00:00
Vladimir Kozlov
9c89f0861c 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Reviewed-by: vlivanov, thartmann
2024-06-25 16:04:03 +00:00
Johan Sjölen
57f8b91e55 8333658: NMT: Use an allocator with 4-byte pointers to save memory in NativeCallStackStorage
Reviewed-by: stuefe, azafari
2024-06-25 14:37:38 +00:00
Matias Saavedra Silva
6c6793307d 8334899: Test runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java failed after JDK-8306580
Reviewed-by: iklam, dholmes
2024-06-25 14:07:32 +00:00
Hamlin Li
cae94b268d 8334397: RISC-V: verify perf of ReverseBytesS/US
Reviewed-by: fyang, luhenry
2024-06-25 14:06:03 +00:00
Sean Mullan
75a2afacc8 8248981: Specify list of standard message digest and mgf algorithms for RSASSA-PSS signature
Reviewed-by: valeriep
2024-06-25 12:21:46 +00:00
Kevin Walls
baafa662a2 8334287: Man page update for jstatd deprecation
Reviewed-by: alanb
2024-06-25 09:12:09 +00:00
Neethu Prasad
c30e040342 8331911: Reconsider locking for recently disarmed nmethods
Reviewed-by: shade, eosterlund
2024-06-25 07:08:07 +00:00
Thomas Stuefe
974dca80df 8334223: Make Arena MEMFLAGs immutable
Reviewed-by: jsjolen, azafari, gziemski
2024-06-25 05:06:33 +00:00
Prasanta Sadhukhan
e527e1c32f 8334580: Deprecate no-arg constructor BasicSliderUI() for removal
Reviewed-by: kcr, aivanov, iris, prr
2024-06-25 03:26:18 +00:00
Alisen Chung
3a26bbcebc 8185429: [macos] After a modal dialog is closed, no window becomes active
Reviewed-by: tr, dnguyen, serb
2024-06-25 02:19:57 +00:00
Matias Saavedra Silva
4b153e5e05 8306580: Propagate CDS dumping errors instead of directly exiting the VM
Reviewed-by: iklam, ccheung
2024-06-24 18:19:03 +00:00
Matias Saavedra Silva
71a692ab43 8321033: Avoid casting Array to GrowableArray
Reviewed-by: kbarrett, iklam, ccheung
2024-06-24 18:05:50 +00:00
Erik Gahlin
55c7969461 8334765: JFR: Log chunk waste
Reviewed-by: mgronlun
2024-06-24 14:36:50 +00:00
Adam Sotona
b2930c5aee 8334040: jdk/classfile/CorpusTest.java timed out
Reviewed-by: alanb
2024-06-24 13:34:29 +00:00
Robert Toyonaga
e825ccfe66 8332362: Implement os::committed_in_range for MacOS and AIX
Reviewed-by: stuefe
2024-06-24 13:33:20 +00:00
Coleen Phillimore
5ac2149b7b 8334299: Deprecate LockingMode option, along with LM_LEGACY and LM_MONITOR
Reviewed-by: stuefe, dholmes
2024-06-24 12:37:53 +00:00
Lutz Schmidt
2e64d15144 8334564: VM startup: fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for NonNMethodCodeHeapSize
Reviewed-by: mdoerr, kvn, stuefe
2024-06-24 11:27:18 +00:00
Matthew Donovan
9d4a4bd2c2 8324841: PKCS11 tests still skip execution
Reviewed-by: valeriep
2024-06-24 11:15:33 +00:00
Christian Hagedorn
ca5a438e5a 8334571: Extract control dependency rewiring out of PhaseIdealLoop::dominated_by() into separate method
Reviewed-by: roland, kvn
2024-06-24 08:58:02 +00:00
Aleksey Shipilev
05ff3185ed 8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572
Reviewed-by: stefank, eosterlund, coleenp, zgu
2024-06-24 08:46:10 +00:00
Johan Sjölen
05a63d80b9 8334489: Add function os::used_memory
Reviewed-by: eosterlund, dholmes, stuefe
2024-06-24 07:51:01 +00:00
Emanuel Peter
edf7f055ee 8334083: C2 SuperWord: TestCompatibleUseDefTypeSize.java fails with -XX:+AlignVector after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-24 07:14:57 +00:00
Richard Reingruber
13dce296fc 8334560: [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
Reviewed-by: mbaesken, mdoerr
2024-06-24 06:33:39 +00:00
Axel Boldt-Christmas
863b2a991d 8329994: Zap alignment padding bits for ArrayOops in non-release builds
Reviewed-by: ayang, sjohanss
2024-06-24 06:06:45 +00:00
Zhao Song
a4582a8957 8334166: Enable binary check
Reviewed-by: kcr, ihse, prr, erikj
2024-06-24 05:15:32 +00:00
SendaoYan
7baddc202a 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: alanb
2024-06-23 18:00:28 +00:00
Johan Sjölen
eb110bdc6e 8334180: NMT gtests introduced with 8312132 should be labeled as NMT
Reviewed-by: gziemski, stuefe
2024-06-23 12:33:38 +00:00
Johan Sjölen
652784c803 8334392: Switch RNG in NMT's treap
Reviewed-by: stuefe, azafari, gziemski
2024-06-23 08:19:28 +00:00
Hannes Greule
72ca7bafcd 8334708: FFM: two javadoc problems
Reviewed-by: mcimadamore
2024-06-22 12:16:50 +00:00
Chen Liang
7e55ed3b10 8333748: javap crash - Fatal error: Unmatched bit position 0x2 for location CLASS
Reviewed-by: asotona
2024-06-21 22:38:38 +00:00
Nizar Benalla
1ff5acdaff 8332099: since-checker - Add @ since to package-info in jdk.jsobject
Reviewed-by: prr
2024-06-21 20:13:26 +00:00
Prasanta Sadhukhan
689cee3d09 8334509: Cancelling PageDialog does not return the same PageFormat object
Reviewed-by: aivanov, prr
2024-06-21 18:02:57 +00:00
Rajan Halade
8e1d2b091c 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: clanger, mullan
2024-06-21 16:37:57 +00:00
SendaoYan
93d9802764 8334715: [riscv] Mixed use of tab and whitespace in riscv.ad
Reviewed-by: chagedorn, amitkumar
2024-06-21 15:48:38 +00:00
Jie Fu
c41293a708 8334695: Fix build failure without zgc after JDK-8333300
Reviewed-by: dnsimon, chagedorn
2024-06-21 14:23:38 +00:00
Ferenc Rakoczi
75bea280b9 8333867: SHA3 performance can be improved
Reviewed-by: kvn, valeriep
2024-06-21 14:16:23 +00:00
Kevin Walls
9f8de221d7 8327793: Deprecate jstatd for removal
Reviewed-by: alanb, cjplummer
2024-06-21 13:51:06 +00:00
Doug Simon
dbf5a9a400 8334706: [JVMCI] APX registers incorrectly exposed on AMD64
Reviewed-by: yzheng, never
2024-06-21 13:43:03 +00:00
Archie Cobbs
08ace27da1 8332314: Add window size configuration option to JavaShellToolBuilder interface
Reviewed-by: jlahoda
2024-06-21 10:44:51 +00:00
Tejesh R
711e723819 6967482: TAB-key does not work in JTables after selecting details-view in JFileChooser
8166352: FilePane.createDetailsView() removes JTable TAB, SHIFT-TAB functionality

Reviewed-by: achung, prr
2024-06-21 10:36:05 +00:00
Daniel Fuchs
d2bebffb1f 8327370: (ch) sun.nio.ch.Poller.register throws AssertionError
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, jpai, djelinski
2024-06-21 09:43:49 +00:00
Matthias Baesken
ed149062d0 8333361: ubsan,test : libHeapMonitorTest.cpp:518:9: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: asteiner, lucy, amenkov
2024-06-21 08:38:42 +00:00
Erik Gahlin
bdd96604ae 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Reviewed-by: mgronlun
2024-06-21 07:36:02 +00:00
Matthias Baesken
6a5cb0b2c4 8334567: [test] runtime/os/TestTracePageSizes move ppc handling
Reviewed-by: stuefe, lucy
2024-06-21 07:04:26 +00:00
Vladimir Kozlov
880e458a10 8333819: Move embedded external addresses from relocation info into separate global table
Reviewed-by: dlong
2024-06-21 00:24:55 +00:00
Jatin Bhateja
e5de26ddf0 8329032: C2 compiler register allocation support for APX EGPRs
Reviewed-by: kvn, sviswanathan
2024-06-20 23:35:15 +00:00
Coleen Phillimore
4b4a483b6f 8330699: Obsolete -XX:+UseEmptySlotsInSupers
Reviewed-by: shade, fparain, dholmes
2024-06-20 19:03:50 +00:00
Tom Rodriguez
187710e1c1 8333300: [JVMCI] add support for generational ZGC
Reviewed-by: dnsimon, kvn, eosterlund
2024-06-20 18:46:36 +00:00
SendaoYan
de8ee97718 8334333: MissingResourceCauseTestRun.java fails if run by root
Reviewed-by: naoto, jlu
2024-06-20 18:04:58 +00:00
Naoto Sato
265a0f5547 8334490: Normalize string with locale invariant toLowerCase()
Reviewed-by: jlu, dfuchs, lancea, rriggs
2024-06-20 17:01:17 +00:00
Pavel Rappo
1b1dba8082 8333358: java/io/IO/IO.java test fails intermittently
Reviewed-by: naoto
2024-06-20 16:28:48 +00:00
Leonid Mesnik
a81e1bf1e1 8332252: Clean up vmTestbase/vm/share
Reviewed-by: cjplummer
2024-06-20 15:43:56 +00:00
Leonid Mesnik
99e4d77aac 8333117: Remove support of remote and manual debuggee launchers
Reviewed-by: cjplummer
2024-06-20 15:43:44 +00:00
Abhishek Kumar
9ef86da5f8 8334170: bug6492108.java test failed with exception Image comparison failed at (0, 0) for image 4
Reviewed-by: aivanov, azvegint
2024-06-20 15:42:17 +00:00
Gui Cao
001d686019 8332587: RISC-V: secondary_super_cache does not scale well
Reviewed-by: mli, fyang
2024-06-20 13:45:31 +00:00
Nizar Benalla
5cad0b4df7 8322708: Global HTML attributes are not allowed
Reviewed-by: jjg
2024-06-20 11:53:02 +00:00
Hamlin Li
642084629a 8334396: RISC-V: verify perf of ReverseBytesI/L
Reviewed-by: fyang, rehn
2024-06-20 10:10:54 +00:00
Thomas Stuefe
c6f3bf4bd6 8334026: Provide a diagnostic PrintMemoryMapAtExit switch on Linux
Reviewed-by: dholmes, mbaesken
2024-06-20 08:30:52 +00:00
Sonia Zaldana Calles
cabd1046d0 8334164: The fix for JDK-8322811 should use _filename.is_set() rather than strcmp()
Reviewed-by: dholmes, cjplummer
2024-06-20 08:28:06 +00:00
Roland Westrelin
d7dad50af5 8334544: C2: wrong control assigned in PhaseIdealLoop::clone_assertion_predicate_for_unswitched_loops()
Reviewed-by: chagedorn, thartmann
2024-06-20 07:14:01 +00:00
Matthias Baesken
ff30240926 8334239: Introduce macro for ubsan method/function exclusions
Reviewed-by: stefank, stuefe, kbarrett
2024-06-20 06:15:19 +00:00
Erik Österlund
2d4185f4f1 8332717: ZGC: Division by zero in heuristics
Reviewed-by: aboldtch, shade
2024-06-20 05:23:08 +00:00
Sibabrata Sahoo
fad6644eab 8333754: Add a Test against ECDSA and ECDH NIST Test vector
Reviewed-by: ascarpino
2024-06-20 04:18:39 +00:00
Sonia Zaldana Calles
b211929e05 8334570: Problem list gc/TestAlwaysPreTouchBehavior.java
Reviewed-by: ayang, tschatzl
2024-06-20 01:36:05 +00:00
Joe Darcy
4e58d8c897 8309821: Link to hidden classes section in Class specification for Class::isHidden
Reviewed-by: iris, rriggs
2024-06-19 23:23:52 +00:00
Magnus Ihse Bursie
78682fe78e 8329288: Update Visual Studio visibility support for POSIX functions
Reviewed-by: kbarrett
2024-06-19 19:12:31 +00:00
Kevin Walls
bcf4bb4882 8333344: JMX attaching of Subject does not work when security manager not allowed
Reviewed-by: weijun, dfuchs
2024-06-19 16:35:20 +00:00
Erik Gahlin
856931d01f 8304732: jdk/jfr/api/consumer/recordingstream/TestStop.java failed again with "Expected outer stream to have 3 events"
Reviewed-by: mgronlun
2024-06-19 16:23:22 +00:00
Adam Sotona
01ee4241b7 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-06-19 15:15:30 +00:00
Daniel Fuchs
50bed6c67b 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Reviewed-by: alanb
2024-06-19 10:54:13 +00:00
Archie Cobbs
7b3a96d570 8334488: Improve error for illegal early access from nested class
Reviewed-by: mcimadamore
2024-06-19 10:45:34 +00:00
Inigo Mediavilla Saiz
07ebda54f2 8334215: serviceability/dcmd/thread/PrintMountedVirtualThread.java failing with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: dholmes
2024-06-19 10:35:32 +00:00
Yudi Zheng
2165a053e8 8334399: [JVMCI] Implement JVMCICompiler::is_intrinsic_supported
Reviewed-by: dnsimon
2024-06-19 09:04:12 +00:00
Christian Hagedorn
48621ae193 8331168: Introduce PredicateEntryIterator to iterate through predicate entries
Reviewed-by: roland, kvn
2024-06-19 06:45:04 +00:00
Archie Cobbs
e227c7e37d 8334258: Compiler erronousely allows access to instance variable in argument expression of a constructor invocation
Reviewed-by: mcimadamore
2024-06-18 23:23:39 +00:00
Alisen Chung
2ce85d9635 8291472: [macos] jawt 1.4 lock/unlock not supported
Reviewed-by: serb
2024-06-18 21:31:16 +00:00
Emanuel Peter
e965d70a74 8333876: C2 SuperWord: regression after JDK-8325155: failed: internal connection
Reviewed-by: kvn, roland
2024-06-18 16:15:09 +00:00
Vladimir Kozlov
6f860f8f6f 8334430: Clean up nativeInst_x86.*
Reviewed-by: jwaters, jiefu
2024-06-18 14:48:46 +00:00
Sonia Zaldana Calles
8bc2fbe578 8333769: Pretouching tests dont test pretouching
Reviewed-by: stuefe, asmehra
2024-06-18 14:05:11 +00:00
Chen Liang
91bd85d65d 8333854: IllegalAccessError with proxies after JDK-8332457
Reviewed-by: redestad, asotona
2024-06-18 13:51:50 +00:00
nibjen
e681b4e9b3 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Reviewed-by: mullan
2024-06-18 13:28:37 +00:00
Roland Westrelin
fa401f37df 8333805: Replaying compilation with null static final fields results in a crash
Reviewed-by: thartmann, dlong
2024-06-18 12:08:57 +00:00
SendaoYan
472b935b44 8334332: TestIOException.java fails if run by root
Reviewed-by: prappo
2024-06-18 10:24:43 +00:00
Roberto Castañeda Lozano
614b99a8f8 8334442: Temporarily disable return type assertion to reduce noise in testing
Reviewed-by: thartmann, chagedorn
2024-06-18 09:48:31 +00:00
Archie Cobbs
d4c1373717 8334043: VerifyError when inner class is accessed in prologue
Reviewed-by: mcimadamore
2024-06-18 08:42:44 +00:00
Albert Mingkun Yang
b42fe86e81 8334097: Parallel: Obsolete HeapFirstMaximumCompactionCount
Reviewed-by: tschatzl, dholmes
2024-06-18 08:33:02 +00:00
Albert Mingkun Yang
0665195e59 8334293: G1: Refactor G1ConcurrentMark::update_top_at_rebuild_start
Reviewed-by: tschatzl, iwalulya
2024-06-18 08:27:26 +00:00
Christian Stein
99fefec092 8331431: Update to use jtreg 7.4
Reviewed-by: ihse, erikj, jpai
2024-06-18 07:25:17 +00:00
Martin Doerr
0199fee431 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
Reviewed-by: aboldtch, mbaesken, kbarrett
2024-06-18 06:48:26 +00:00
Gui Cao
e95f092862 8333964: RISC-V: C2: Check "requires_strict_order" flag for floating-point add reduction
Reviewed-by: fyang
2024-06-18 05:24:33 +00:00
Phil Race
ba5a4670b8 8332854: Unable to build openjdk with --with-harfbuzz=system
Reviewed-by: jwaters, erikj, jdv, ihse
2024-06-17 19:37:32 +00:00
Thomas Stuefe
801bf15f02 8332105: Exploded JDK does not include CDS
Reviewed-by: dholmes, iklam
2024-06-17 17:27:01 +00:00
Albert Mingkun Yang
c94af6f943 8333962: Obsolete OldSize
Reviewed-by: dholmes, zgu
2024-06-17 15:50:55 +00:00
Markus Grönlund
cdf22b1320 8326715: ZGC: RunThese24H fails with ExitCode 139 during shutdown
Reviewed-by: egahlin
2024-06-17 12:57:09 +00:00
Gui Cao
ef7923e127 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang, mli
2024-06-17 11:35:41 +00:00
Martin Doerr
0d1080d194 8331117: [PPC64] secondary_super_cache does not scale well
Reviewed-by: rrich, amitkumar
2024-06-17 09:30:48 +00:00
Matthias Baesken
113a2c028d 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
Reviewed-by: kvn, mdoerr
2024-06-17 08:57:57 +00:00
Aleksey Shipilev
d751441b76 8330586: GHA: Drop additional gcc/glibc packages installation for x86_32
Reviewed-by: ihse
2024-06-17 08:23:39 +00:00
Matthias Baesken
5e09397bf6 8334222: exclude containers/cgroup/PlainRead.java
Reviewed-by: lucy
2024-06-17 08:06:20 +00:00
Emanuel Peter
7b38bfea33 8333729: C2 SuperWord: remove some @requires usages in test/hotspot/jtreg/compiler/loopopts/superword
Reviewed-by: chagedorn, kvn
2024-06-17 07:00:03 +00:00
Emanuel Peter
29b6392838 8334228: C2 SuperWord: fix JDK-24 regression in VPointer::cmp_for_sort after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-17 06:58:55 +00:00
Liming Liu
31e8debae6 8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
8325218: gc/parallel/TestAlwaysPreTouchBehavior.java fails

Reviewed-by: stefank, jsjolen, stuefe
2024-06-17 06:16:26 +00:00
Leonid Mesnik
8464ce6db5 8332113: Update nsk.share.Log to be always verbose
Reviewed-by: sspitsyn, cjplummer
2024-06-14 15:32:19 +00:00
Leonid Mesnik
548e95a689 8330702: Update failure handler to don't generate Error message if cores actions are empty
Reviewed-by: sspitsyn
2024-06-14 15:32:04 +00:00
Archie Cobbs
dae0bda9d0 8334252: Verifier error for lambda declared in early construction context
Reviewed-by: mcimadamore
2024-06-14 14:53:05 +00:00
Roland Westrelin
b5212d7bfe 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure
Reviewed-by: shade
2024-06-14 13:50:21 +00:00
Jaikiran Pai
efab48c065 8333714: Cleanup the usages of CHECK_EXCEPTION_NULL_FAIL macro in java launcher
Reviewed-by: alanb
2024-06-14 12:48:43 +00:00
Robert Toyonaga
cc64aeac47 8332400: isspace argument should be a valid unsigned char
Reviewed-by: dholmes, amitkumar, stuefe, jwaters
2024-06-14 09:32:52 +00:00
Gui Cao
9b0a5c5cd0 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Reviewed-by: dfenacci, fyang
2024-06-14 09:19:04 +00:00
Matthias Baesken
6861766b63 8332818: ubsan: archiveHeapLoader.cpp:70:27: runtime error: applying non-zero offset 18446744073707454464 to null pointer
Reviewed-by: stuefe, lucy
2024-06-14 07:13:22 +00:00
Ioi Lam
b818679eba 8293980: Resolve CONSTANT_FieldRef at CDS dump time
Reviewed-by: erikj, matsaave, heidinga
2024-06-14 06:06:24 +00:00
Calvin Cheung
eb2488fd17 8330198: Add some class loading related perf counters to measure VM startup
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: iklam, dholmes
2024-06-14 01:18:30 +00:00
Damon Nguyen
c4702ca8c0 8333827: JDK 23 RDP1 L10n resource files update
Reviewed-by: achung, jlu, naoto, joehw, prappo, cjplummer, asemenyuk, prr
2024-06-13 21:27:56 +00:00
Raffaello Giulietti
bb7ef03077 8333599: Improve description of \b matcher in j.u.r.Pattern
Reviewed-by: smarks, alanb
2024-06-13 20:55:48 +00:00
Marc R. Hoffmann
0721dbe442 8334032: javax.print: Missing @since tag in new class OutputBin
Reviewed-by: prr
2024-06-13 19:44:10 +00:00
Sonia Zaldana Calles
6462b87336 8333685: Make update-copyright-year script more useful
Reviewed-by: erikj, stuefe
2024-06-13 19:38:39 +00:00
Emanuel Peter
b09a45163c 8333840: C2 SuperWord: wrong result for MulAddS2I when inputs permuted
Reviewed-by: kvn, chagedorn
2024-06-13 18:11:36 +00:00
Viktor Klang
cff048c735 8334162: Gatherer.defaultCombiner has an erronous @see-link
Reviewed-by: jpai, alanb
2024-06-13 16:30:27 +00:00
Larry Cable
814cf87930 8313562: hsperfdata should export module path and "launcher" metadata
Reviewed-by: dholmes, kevinw
2024-06-13 16:28:04 +00:00
Jayathirth D V
9ed8629e5d 8333801: Typos in @code references of BufferedImage and JTableHeader
Reviewed-by: abhiscxk, prr
2024-06-13 15:50:53 +00:00
Matthias Baesken
0d3a3771c3 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int'
Reviewed-by: lucy, mdoerr
2024-06-13 14:02:01 +00:00
Christoph Langer
9d8439c107 8211854: [aix] java/net/ServerSocket/AcceptInheritHandle.java fails: read times out
Reviewed-by: dfuchs, jpai
2024-06-13 13:16:38 +00:00
Christoph Langer
f5213671f7 8211847: [aix] java/lang/ProcessHandle/InfoTest.java fails: "reported cputime less than expected"
Reviewed-by: stuefe
2024-06-13 13:14:54 +00:00
Matthias Baesken
f8c657f671 8334123: log the opening of Type 1 fonts
Reviewed-by: prr
2024-06-13 13:13:19 +00:00
Matthias Baesken
57b6481449 8333277: ubsan: mlib_ImageScanPoly.c:292:43: runtime error: division by zero
Reviewed-by: prr
2024-06-13 12:45:32 +00:00
Thomas Stuefe
5528ad7490 8334179: VMATreeTest.TestConsistencyWithSimpleTracker_vm runs 50+ seconds
Reviewed-by: jsjolen
2024-06-13 08:38:04 +00:00
Emanuel Peter
5d2a19def1 8333684: C2 SuperWord: multiple smaller refactorings in preparation for JDK-8332163
Reviewed-by: chagedorn, kvn
2024-06-13 06:35:26 +00:00
Abhishek Kumar
301bd70856 8311110: multichar warning in WinAccessBridge.cpp
Reviewed-by: djelinski, jwaters, prr
2024-06-13 04:49:58 +00:00
David Holmes
238162a3b8 8322064: Remove expired flags in JDK 24
Reviewed-by: kvn, stuefe
2024-06-13 02:53:48 +00:00
Inigo Mediavilla Saiz
fcedde8042 8330846: Add stacks of mounted virtual threads to the HotSpot thread dump
Reviewed-by: dholmes, alanb
2024-06-12 23:18:27 +00:00
Ben Perez
74468bc1f3 8209092: Remove outdated wording from RC5ParameterSpec
Reviewed-by: mullan
2024-06-12 18:59:26 +00:00
Alisen Chung
b697b48a01 8315655: [macos] Right click and dragging over a component with a popup menu will open the popup
Reviewed-by: dnguyen, psadhukhan
2024-06-12 18:44:07 +00:00
Axel Boldt-Christmas
2c1da6c6fa 8332139: SymbolTableHash::Node allocations allocates twice the required memory
Reviewed-by: iwalulya, coleenp
2024-06-12 14:06:53 +00:00
Alexey Semenyuk
ba67ad63ae 8319457: Update jpackage to support WiX v4 and v5 on Windows
Reviewed-by: almatvee
2024-06-12 13:37:03 +00:00
Fei Gao
2c9185eb81 8321308: AArch64: Fix matching predication for cbz/cbnz
Reviewed-by: fyang, adinn, aph
2024-06-12 13:29:45 +00:00
Amit Kumar
5a8a9fdfa5 8333382: [s390x] Enhance popcnt Instruction to use Z15 facilities
Reviewed-by: lucy, aph
2024-06-12 13:24:58 +00:00
Daniel Fuchs
81083a0e10 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Reviewed-by: jpai
2024-06-12 11:29:58 +00:00
Daniel Fuchs
81ca0ece2e 8334028: HttpClient: NPE thrown from assert statement
Reviewed-by: jpai
2024-06-12 10:53:08 +00:00
Doug Simon
bd750b6b78 8319933: Disable tests for JDK-8280481 on Graal
Reviewed-by: chagedorn
2024-06-12 10:03:39 +00:00
Per Minborg
c80e2eb35c 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory.
Reviewed-by: jvernee, mcimadamore
2024-06-12 09:35:48 +00:00
Tobias Hartmann
a0318bc873 8334077: Fix problem list entries for compiler tests
Reviewed-by: chagedorn
2024-06-12 09:18:53 +00:00
Matthias Baesken
a7e4ab9300 8333730: ubsan: FieldIndices/libFieldIndicesTest.cpp:276:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: cjplummer, amenkov
2024-06-12 07:06:29 +00:00
Matthias Baesken
abbf45b57e 8332699: ubsan: jfrEventSetting.inline.hpp:31:43: runtime error: index 163 out of bounds for type 'jfrNativeEventSetting [162]'
Reviewed-by: jbechberger, stuefe
2024-06-12 06:18:31 +00:00
Jaikiran Pai
bd046d9b9e 8222884: ConcurrentClassDescLookup.java times out intermittently
Reviewed-by: rriggs, mbaesken
2024-06-12 05:36:30 +00:00
Prasanta Sadhukhan
1c80ddb8ef 8333940: Ensure javax/swing/TestUngrab.java run on all platforms
Reviewed-by: tr
2024-06-12 05:32:06 +00:00
William Kemper
a7205cc651 8333926: Shenandoah: Lower default immediate garbage threshold
Reviewed-by: kdnilsen, ysr
2024-06-11 22:09:52 +00:00
Leonid Mesnik
56e8e60792 8330534: Update nsk/jdwp tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
2024-06-11 21:03:20 +00:00
Alexandre Iline
bbd3b1d812 8334036: Update JCov for class file version 68
Reviewed-by: alanb, erikj
2024-06-11 20:10:46 +00:00
Leonid Mesnik
7ed8a5c431 8333841: Add more logging into setfldw001 tests
Reviewed-by: cjplummer, amenkov, sspitsyn
2024-06-11 18:40:20 +00:00
Daniel Jeliński
b77bd5fd6a 8333742: ProcessImpl and ProcessHandleImpl may mishandle processes that exit with code 259
Reviewed-by: rriggs
2024-06-11 17:34:09 +00:00
Renjith Kannath Pariyangad
aaaa86b571 8333360: PrintNullString.java doesn't use float arguments
Reviewed-by: aivanov, abhiscxk, achung
2024-06-11 11:47:19 +00:00
Christian Hagedorn
ef101f1bf2 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: kvn, thartmann, epeter
2024-06-11 11:32:12 +00:00
Albert Mingkun Yang
28437459fb 8333972: Parallel: Remove unused methods in PSOldGen
Reviewed-by: iwalulya
2024-06-11 11:23:53 +00:00
Albert Mingkun Yang
93f3918ee1 8333954: Parallel: Remove unused arguments of type ParCompactionManager*
Reviewed-by: iwalulya
2024-06-11 08:37:47 +00:00
Albert Mingkun Yang
788b876ebd 8333917: G1: Refactor G1CollectedHeap::register_old_region_with_region_attr
Reviewed-by: gli, tschatzl
2024-06-11 07:53:53 +00:00
Bhavana Kilambi
0e4d4a0c31 8320725: AArch64: C2: Add "requires_strict_order" flag for floating-point add and mul reduction
Co-authored-by: Eric Liu <eliu@openjdk.org>
Reviewed-by: gli, epeter, aph
2024-06-11 07:16:56 +00:00
Albert Mingkun Yang
badf1cb9ce 8331675: gtest CollectorPolicy.young_min_ergo_vm fails after 8272364
Reviewed-by: tschatzl, zgu, gli
2024-06-11 06:57:05 +00:00
Robbin Ehn
4d6064a760 8333649: Allow different NativeCall encodings
Reviewed-by: kvn, mli
2024-06-11 05:48:16 +00:00
Serguei Spitsyn
fe9c63cf73 8333931: Problemlist serviceability/jvmti/vthread/CarrierThreadEventNotification
Reviewed-by: serb
2024-06-11 05:35:33 +00:00
Jaikiran Pai
41c88bc395 8333756: java/lang/instrument/NativeMethodPrefixApp.java failed due to missing intrinsic
Reviewed-by: amenkov, cjplummer
2024-06-11 03:48:03 +00:00
David Holmes
3a01b47ac9 8330205: Initial troff manpage generation for JDK 24
Reviewed-by: alanb, iris
2024-06-11 01:05:19 +00:00
Vladimir Kozlov
9691153755 8329141: Obsolete RTM flags and code
Reviewed-by: chagedorn
2024-06-10 17:58:22 +00:00
Joe Darcy
13642cb4b8 8333828: Use value javadoc tag in java.lang.{Float, Double}
Reviewed-by: liach, rgiulietti
2024-06-10 17:15:32 +00:00
Matthew Donovan
b25476200a 8333829: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8333317
Reviewed-by: mullan
2024-06-10 15:41:30 +00:00
Albert Mingkun Yang
b68609f80d 8333779: Parallel: Remove Summary phase related debug print during Full GC
Reviewed-by: tschatzl
2024-06-10 15:23:41 +00:00
Albert Mingkun Yang
6ea28fb30c 8333641: Serial: Remove Generation::supports_tlab_allocation
Reviewed-by: tschatzl
2024-06-10 15:23:32 +00:00
Gui Cao
ce5727df44 8333652: RISC-V: compiler/vectorapi/VectorGatherMaskFoldingTest.java fails when using RVV
Reviewed-by: fyang
2024-06-10 13:44:43 +00:00
Sonia Zaldana Calles
e0afe0b5e4 8326085: Remove unnecessary UpcallContext constructor
Reviewed-by: kbarrett, stuefe
2024-06-10 13:41:56 +00:00
Kuai Wei
2a242db01e 8325821: [REDO] use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: shade, aph
2024-06-10 12:57:03 +00:00
Alan Bateman
e7dc76b577 8333849: (dc) DatagramChannel send/receive fails with UOE if buffer backed by memory segment allocated from shared arena
Reviewed-by: dfuchs
2024-06-10 12:47:09 +00:00
Daniel Fuchs
ec1664e8c9 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Reviewed-by: jpai
2024-06-10 12:44:36 +00:00
Thomas Stuefe
e22fc121ae 8333775: Small improvement to outputStream auto-indentation mode
Reviewed-by: jsjolen, mbaesken
2024-06-10 12:33:32 +00:00
Claes Redestad
7b43a8cd7c 8333824: Unused ClassValue in VarHandles
Reviewed-by: mcimadamore
2024-06-10 10:05:14 +00:00
Volker Simonis
5f9d3e3af8 8333722: Fix CompilerDirectives for non-compiler JVM variants
Reviewed-by: kvn
2024-06-10 09:37:43 +00:00
Thomas Stuefe
83b34410e3 8322811: jcmd System.dump_map help info has conflicting statements
Reviewed-by: dholmes, kevinw
2024-06-10 09:00:05 +00:00
Shaojin Wen
8aa35cacfc 8333833: Remove the use of ByteArrayLittleEndian from UUID::toString
Reviewed-by: liach, redestad
2024-06-10 08:18:27 +00:00
Matthias Baesken
de55db2352 8333522: JFR SwapSpace event might read wrong free swap space size
Reviewed-by: sgehwolf, lucy
2024-06-10 08:14:23 +00:00
Jatin Bhateja
a941397327 8329031: CPUID feature detection for Advanced Performance Extensions (Intel® APX)
Reviewed-by: sviswanathan, kvn
2024-06-09 00:47:23 +00:00
Chen Liang
8d2f9e57c3 8333749: Consolidate ConstantDesc conversion in java.base
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, jvernee
2024-06-08 13:05:36 +00:00
Amit Kumar
a6fc2f839a 8333412: [s390x] Add support for branch on count instruction
Reviewed-by: lucy, mdoerr
2024-06-08 04:41:45 +00:00
Joe Darcy
cf677c901e 8333823: Update --release 23 symbol information for JDK 23 build 26
Reviewed-by: iris, jjg
2024-06-07 20:38:17 +00:00
Neethu Prasad
18e7d7b5e7 8333716: Shenandoah: Check for disarmed method before taking the nmethod lock
Reviewed-by: shade, ysr, wkemper
2024-06-07 20:03:10 +00:00
Elif Aslan
c37d02aef3 8312412: Uninitialized klassVtable::_verify_count field
Reviewed-by: shade, phh
2024-06-07 19:32:57 +00:00
Alex Menkov
17bd483ff0 8333680: com/sun/tools/attach/BasicTests.java fails with "SocketException: Permission denied: connect"
Reviewed-by: sspitsyn, kevinw, lmesnik
2024-06-07 19:30:37 +00:00
Sonia Zaldana Calles
512b2b4f14 8330420: Inverted use of DisplayVMOutputToStderr in ostream_exit
Reviewed-by: jsjolen, stuefe
2024-06-07 17:36:30 +00:00
Scott Gibbons
8e72d7cf8e 8320448: Accelerate IndexOf using AVX2
Reviewed-by: epeter, kvn, sviswanathan
2024-06-07 17:02:14 +00:00
Naoto Sato
25ad86234a 8332161: Test restoring echo in the Console implementation (java.base)
Reviewed-by: joehw, prappo
2024-06-07 16:22:02 +00:00
Jorn Vernee
ee82346bd5 8325984: 4 jcstress tests are failing in Tier6 4 times each
Reviewed-by: shade
2024-06-07 15:40:59 +00:00
Claes Redestad
d744059b5b 8333774: Avoid eagerly loading various EmptySpliterator classes
Reviewed-by: liach, pminborg
2024-06-07 14:50:29 +00:00
SendaoYan
d130d2f4f4 8333477: Delete extra empty spaces in Makefiles
Reviewed-by: erikj, chagedorn, liach, jwaters
2024-06-07 13:36:05 +00:00
Johan Sjölen
486dee2cf4 8333653: Remove MallocHeader::get_stack
Reviewed-by: stuefe
2024-06-07 12:17:52 +00:00
Varada M
40b2fbd820 8331733: [PPC64] saving and restoring CR is not needed at most places
Reviewed-by: mdoerr, amitkumar
2024-06-07 08:50:41 +00:00
Varada M
6968770b1e 8331935: Add support for primitive array C1 clone intrinsic in PPC
Reviewed-by: mdoerr, amitkumar
2024-06-07 08:24:15 +00:00
Albert Mingkun Yang
a2030fff98 8332516: Serial: Always sample promoted bytes to avoid getting stuck in Full GCs
Reviewed-by: iwalulya, tschatzl
2024-06-07 08:12:38 +00:00
Thomas Stuefe
bf7f1c41cc 8333211: NMT Reports: replace manual indentation handling with auto indent
Reviewed-by: jsjolen, asmehra
2024-06-07 07:34:58 +00:00
Matthias Baesken
8ffc35d117 8333724: Problem list security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#teliasonerarootcav1
Reviewed-by: lucy, serb
2024-06-07 07:12:55 +00:00
Richard Reingruber
f7862bd6b9 8331311: C2: Big Endian Port of 8318446: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: epeter, kvn
2024-06-07 06:16:03 +00:00
Emanuel Peter
b4beda21b4 8332537: C2: High memory usage reported for compiler/loopopts/superword/TestAlignVectorFuzzer.java
Reviewed-by: kvn, thartmann, stuefe
2024-06-07 05:07:03 +00:00
Emanuel Peter
e5383d710c 8333713: C2 SuperWord: cleanup in vectornode.cpp/hpp
Reviewed-by: chagedorn, kvn
2024-06-07 05:04:11 +00:00
Emanuel Peter
944aeb81b1 8325155: C2 SuperWord: remove alignment boundaries
Reviewed-by: chagedorn, kvn
2024-06-07 05:01:23 +00:00
Jaikiran Pai
d8af58941b 8026127: Deflater/Inflater documentation incomplete/misleading
Reviewed-by: lancea
2024-06-07 00:35:51 +00:00
Justin Lu
6238bc8da2 8333456: CompactNumberFormat integer parsing fails when string has no suffix
Reviewed-by: naoto
2024-06-06 20:34:46 +00:00
Kevin Rushforth
2a37764e74 8333743: Change .jcheck/conf branches property to match valid branches
Reviewed-by: erikj, iris
2024-06-06 17:29:58 +00:00
Joe Darcy
75dc2f8518 8330182: Start of release updates for JDK 24
8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac

Reviewed-by: iris, vromero, asotona, dholmes
2024-06-06 16:01:57 +00:00
19625 changed files with 1125543 additions and 699014 deletions

7
.editorconfig Normal file
View File

@@ -0,0 +1,7 @@
root = true
[*.{cpp,hpp,c,h,java,cc,hh,m,mm,S,md,properties,gmk,m4,ac}]
trim_trailing_whitespace = true
[Makefile]
trim_trailing_whitespace = true

263
.github/README.md vendored Normal file
View File

@@ -0,0 +1,263 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Welcome to JetBrains Runtime!
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.
> **_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)
* [jbr21](https://github.com/JetBrains/JetBrainsRuntime/tree/jbr21) (JDK 21)
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 21
| IDE Version | Latest JBR | Date Released |
|-------------|---------------------------------------------------------------------------------------------------------|---------------|
| 2025.1 | [21.0.6-b895.109](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.6b895.109)| 05-Apr-2025 |
| 2024.3 | [21.0.6-b631.39](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.6b631.39) | 10-Feb-2025 |
| 2024.2 | [21.0.4-b509.30](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.5b509.30) | 26-Nov-2024 |
| 2024.1 | [21.0.2-b346.3](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.2b346.3) | 30-Jan-2024 |
## Releases based on JDK 17
| IDE Version | Latest JBR | Date Released |
|-------------|--------------------------------------------------------------------------------------------------------|---------------|
| 2024.2 | [17.0.11-b1312.2](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.11b1312.2) | 18-Jun-2024|
| 2024.1 | [17.0.12-b1207.37](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.12b1207.37) | 15-Oct-2024|
| 2023.3 | [17.0.12-b1087.25](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.12b1087.25) | 02-Sep-2024|
| 2023.2 | [17.0.12-b1000.54](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.12b1000.54) | 02-Sep-2024|
| 2023.1 | [17.0.10-b829.27](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.10b829.27) | 21-Mar-2024 |
| 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.
* Additional capabilities that are made available to applications through
[JBR API](https://github.com/JetBrains/JetBrainsRuntimeApi) services such as, for example,
the ability to wrap a native graphics texture into `java.awt.Image`.
## 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
```
### Windows
<a name="sources-windows"></a>
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
## 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:
```
# cd /JetBrainsRuntime
# sh ./configure
# make images
```
### Ubuntu Linux
Install the necessary tools, libraries, and headers with:
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev \
libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev libspeechd-dev libwayland-dev \
wayland-protocols libxkbcommon-x11-0
```
Get Java 23 (for instance, [Azul Zulu Builds of OpenJDK 23](https://www.azul.com/downloads/?version=java-23&os=linux&package=jdk#zulu)).
Then run the following:
```
$ cd JetBrainsRuntime
$ git checkout main
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/linux-x86_64-server-release/`.
### Windows
<a name="build-windows"></a>
Install the following:
* [Cygwin x64](http://www.cygwin.com/).
Required packages: `autoconf`, `binutils`, `cpio`, `diffutils`, `file`, `gawk`, `gcc-core`, `make`, `m4`, `unzip`, `zip`.
Install those together with Cygwin.
* [Visual Studio compiler toolset](https://visualstudio.microsoft.com/downloads/).
Install with the desktop development kit, which includes Windows SDK and compilers.
Visual Studio 2019 is supported by default.
* Java 21 (for instance, [Azul Zulu Builds of OpenJDK 21](https://www.azul.com/downloads/?version=java-21-lts&os=windows&package=jdk#zulu)).
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 21 (for instance, [Azul Zulu Builds of OpenJDK 21](https://www.azul.com/downloads/?version=java-21-lts&os=macos&package=jdk#zulu)).
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/).

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

@@ -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
@@ -41,6 +41,6 @@ runs:
id: read-config
run: |
# Extract value from configuration file
value="$(grep -h ${{ inputs.var }}= make/conf/github-actions.conf | cut -d '=' -f 2-)"
value="$(grep -h '^${{ inputs.var }}'= make/conf/github-actions.conf | cut -d '=' -f 2-)"
echo "value=$value" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,7 @@ runs:
- name: 'Build'
id: build
run: >
make LOG=info ${{ inputs.make-target }}
make -k LOG=info ${{ inputs.make-target }}
|| bash ./.github/scripts/gen-build-failure-report.sh "$GITHUB_STEP_SUMMARY"
shell: bash

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

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

View File

@@ -49,6 +49,6 @@ runs:
- name: 'Export path to where GTest is installed'
id: path-name
run: |
# Export the path
echo 'path=gtest' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/gtest" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -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,40 +39,16 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v4
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JDK"
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
run: |
# Export the path
echo 'path=jtreg/installed' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/jtreg/installed" >> $GITHUB_OUTPUT
shell: bash

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

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
@@ -32,6 +32,9 @@ inputs:
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
bundle-suffix:
description: 'Bundle name suffix, possibly empty'
required: false
runs:
using: composite
@@ -45,6 +48,7 @@ runs:
jdk_bundle_tar_gz="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
symbols_bundle="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}-symbols.tar.gz 2> /dev/null || true)"
tests_bundle="$(ls build/*/bundles/jdk-*_bin-tests${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
static_libs_bundle="$(ls build/*/bundles/jdk-*_bin-static-libs${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
mkdir bundles
@@ -60,8 +64,11 @@ runs:
if [[ "$tests_bundle" != "" ]]; then
mv "$tests_bundle" "bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
if [[ "$static_libs_bundle" != "" ]]; then
mv "$static_libs_bundle" "bundles/static-libs-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle" != "" ]]; then
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle$static_libs_bundle" != "" ]]; then
echo 'bundles-found=true' >> $GITHUB_OUTPUT
else
echo 'bundles-found=false' >> $GITHUB_OUTPUT
@@ -71,7 +78,7 @@ runs:
- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.bundle-suffix }}
path: bundles
retention-days: 1
if: steps.bundles.outputs.bundles-found == 'true'

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

@@ -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)
@@ -89,18 +92,6 @@ for test in $failures $errors; do
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

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

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
}

112
.github/workflows/build-alpine-linux.yml vendored Normal file
View File

@@ -0,0 +1,112 @@
#
# 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.
#
name: 'Build (alpine-linux)'
on:
workflow_call:
inputs:
platform:
required: true
type: string
extra-conf-options:
required: false
type: string
make-target:
required: false
type: string
default: 'product-bundles test-bundles'
debug-levels:
required: false
type: string
default: '[ "debug", "release" ]'
apk-extra-packages:
required: false
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-linux:
name: build
runs-on: ubuntu-22.04
container:
image: alpine:3.20
strategy:
fail-fast: false
matrix:
debug-level: ${{ fromJSON(inputs.debug-levels) }}
include:
- debug-level: debug
flags: --with-debug-level=fastdebug
suffix: -debug+
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
- name: 'Install toolchain and dependencies'
run: |
apk update
apk add alpine-sdk alsa-lib-dev autoconf bash cups-dev cups-libs fontconfig-dev freetype-dev grep libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev libxtst-dev linux-headers wget zip ${{ inputs.apk-extra-packages }}
- name: 'Get the BootJDK'
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: alpine-linux-x64
- name: 'Configure'
run: >
bash configure
--with-conf-name=${{ inputs.platform }}
${{ matrix.flags }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-zlib=system
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

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
@@ -131,6 +131,7 @@ jobs:
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
@@ -151,6 +152,9 @@ jobs:
rm -rf sysroot/usr/{sbin,bin,share}
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'

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
@@ -61,6 +61,9 @@ on:
make-arguments:
required: false
type: string
bundle-suffix:
required: false
type: string
jobs:
build-linux:
@@ -71,10 +74,6 @@ jobs:
fail-fast: false
matrix:
debug-level: ${{ fromJSON(inputs.debug-levels) }}
include:
- debug-level: debug
flags: --with-debug-level=fastdebug
suffix: -debug
steps:
- name: 'Checkout the JDK source'
@@ -118,7 +117,7 @@ jobs:
run: >
bash configure
--with-conf-name=${{ inputs.platform }}
${{ matrix.flags }}
${{ matrix.debug-level == 'debug' && '--with-debug-level=fastdebug' || '' }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
@@ -136,10 +135,11 @@ jobs:
with:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
debug-suffix: "${{ matrix.debug-level == 'debug' && '-debug' || '' }}"
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
debug-suffix: "${{ matrix.debug-level == 'debug' && '-debug' || '' }}"
bundle-suffix: ${{ inputs.bundle-suffix }}

View File

@@ -31,12 +31,13 @@ on:
- master
- pr/*
- jdk*
- main
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-x64-variants, linux-cross-compile, alpine-linux-x64, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
@@ -54,14 +55,17 @@ jobs:
### Determine platforms to include
###
select:
name: 'Select platforms'
prepare:
name: 'Prepare the run'
runs-on: ubuntu-22.04
env:
# List of platforms to exclude by default
EXCLUDED_PLATFORMS: 'alpine-linux-x64'
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-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
alpine-linux-x64: ${{ steps.include.outputs.alpine-linux-x64 }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
windows-x64: ${{ steps.include.outputs.windows-x64 }}
@@ -69,7 +73,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: |
@@ -78,6 +94,10 @@ jobs:
# 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
# Convert EXCLUDED_PLATFORMS from a comma-separated string to an array
IFS=',' read -r -a excluded_array <<< "$EXCLUDED_PLATFORMS"
function check_platform() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
@@ -94,7 +114,13 @@ jobs:
normalized_input="$(echo ,$input, | tr -d ' ')"
if [[ "$normalized_input" == ",," ]]; then
# For an empty input, assume all platforms should run
# For an empty input, assume all platforms should run, except those in the EXCLUDED_PLATFORMS list
for excluded in "${excluded_array[@]}"; do
if [[ "$1" == "$excluded" ]]; then
echo 'false'
return
fi
done
echo 'true'
return
else
@@ -105,15 +131,23 @@ jobs:
return
fi
done
# If not explicitly included, check against the EXCLUDED_PLATFORMS list
for excluded in "${excluded_array[@]}"; do
if [[ "$1" == "$excluded" ]]; then
echo 'false'
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 "alpine-linux-x64=$(check_platform alpine-linux-x64 alpine-linux x64)" >> $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
@@ -126,35 +160,18 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64 == '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-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386 libffi-dev:i386'
extra-conf-options: '--with-target-bits=32 --enable-fallback-linker --enable-libffi-bundling'
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-x64 == '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
@@ -164,11 +181,11 @@ jobs:
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -178,11 +195,11 @@ jobs:
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -192,11 +209,11 @@ jobs:
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -207,22 +224,68 @@ jobs:
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-static:
name: linux-x64-static
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'static-jdk-image'
# There are issues with fastdebug static build in GHA due to space limit.
# Only do release build for now.
debug-levels: '[ "release" ]'
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# It currently doesn't produce any bundles, but probably will do in
# the future.
bundle-suffix: "-static"
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x64-static-libs:
name: linux-x64-static-libs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'static-libs-bundles'
# Only build static-libs-bundles for release builds.
# For debug builds, building static-libs often exceeds disk space.
debug-levels: '[ "release" ]'
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# Upload static libs bundles separately to avoid interference with normal linux-x64 bundle.
# This bundle is not used by testing jobs, but downstreams use it to check that
# dependent projects, e.g. libgraal, builds fine.
bundle-suffix: "-static-libs"
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-alpine-linux-x64:
name: alpine-linux-x64
needs: prepare
uses: ./.github/workflows/build-alpine-linux.yml
with:
platform: alpine-linux-x64
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.prepare.outputs.alpine-linux-x64 == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
@@ -230,23 +293,23 @@ jobs:
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
runs-on: 'macos-14'
xcode-toolset-version: '14.3.1'
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
@@ -254,11 +317,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
@@ -268,11 +331,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
@@ -284,7 +347,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -300,26 +363,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:
- build-macos-x64
uses: ./.github/workflows/test.yml
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-13
test-macos-aarch64:
name: macos-aarch64
needs:
@@ -329,6 +372,7 @@ jobs:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -339,50 +383,3 @@ jobs:
platform: windows-x64
bootjdk-platform: windows-x64
runs-on: windows-2019
# 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-x64-hs-nopch
- build-linux-x64-hs-zero
- build-linux-x64-hs-minimal
- build-linux-x64-hs-optimized
- build-linux-cross-compile
- build-macos-x64
- build-macos-aarch64
- build-windows-x64
- build-windows-aarch64
- test-linux-x64
- test-linux-x86
- test-macos-x64
- 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@v7
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

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, 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
@@ -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
@@ -63,7 +66,6 @@ jobs:
- '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'
@@ -98,10 +100,6 @@ jobs:
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'
test-suite: 'test/hotspot/jtreg/:tier1_gc'
debug-suffix: -debug
@@ -147,7 +145,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_14.3.1.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'

4
.gitignore vendored
View File

@@ -20,3 +20,7 @@ NashornProfile.txt
/.settings/
/compile_commands.json
/.cache
/.gdbinit
/.lldbinit
**/core.[0-9]*
/jbr-api/

View File

@@ -1,15 +1,15 @@
[general]
project=jdk
jbs=JDK
version=23
version=25
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
warning=issuestitle
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists,copyright
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)
branches=
branches=.*
[census]
version=0
@@ -34,3 +34,8 @@ pattern=^([124-8][0-9]{6}): (\S.*)$
[checks "problemlists"]
dirs=test/jdk|test/langtools|test/lib-test|test/hotspot/jtreg|test/jaxp
[checks "copyright"]
files=^(?!LICENSE|license\.txt|.*\.bin|.*\.gif|.*\.jpg|.*\.png|.*\.icon|.*\.tiff|.*\.dat|.*\.patch|.*\.wav|.*\.class|.*-header|.*\.jar).*
oracle_locator=.*Copyright \(c\)(.*)Oracle and/or its affiliates\. All rights reserved\.
oracle_validator=.*Copyright \(c\) (\d{4})(?:, (\d{4}))?, Oracle and/or its affiliates\. All rights reserved\.

View File

@@ -1,3 +1,3 @@
# Contributing to the JDK
Please see the [OpenJDK Developers Guide](https://openjdk.org/guide/).
Please see the [OpenJDK Developers' Guide](https://openjdk.org/guide/).

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,8 +24,9 @@
#
###
### This file is just a very small wrapper needed to run the real make/Init.gmk.
### It also performs some sanity checks on make.
### This file is just a very small wrapper which will include make/PreInit.gmk,
### where the real work is done. This wrapper also performs some sanity checks
### on make that must be done before we can include another file.
###
# The shell code below will be executed on /usr/bin/make on Solaris, but not in GNU Make.
@@ -58,7 +59,7 @@ ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
else
makefile_path := $(lastword $(MAKEFILE_LIST))
endif
topdir := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
TOPDIR := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
# ... and then we can include the real makefile
include $(topdir)/make/Init.gmk
# ... and then we can include the real makefile to bootstrap the build
include $(TOPDIR)/make/PreInit.gmk

View File

@@ -1,3 +1,5 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Welcome to the JDK!
For build instructions please see the

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

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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 idea-gen-config ALLOW=TOPLEVEL_DIR,IDEA_OUTPUT_PARENT,IDEA_OUTPUT,MODULES TOPLEVEL_DIR="$TOPLEVEL_DIR" \
IDEA_OUTPUT_PARENT="$IDEA_OUTPUT_PARENT" IDEA_OUTPUT="$IDEA_OUTPUT" 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,116 +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
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
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
fi
if [ "$VERBOSE" = true ] ; then
IDEA_PROJECT_DIR="`dirname $IDEA_OUTPUT`"
if [ "x$PATHTOOL" != "x" ]; then
IDEA_PROJECT_DIR="`$PATHTOOL -am $IDEA_PROJECT_DIR`"
fi
echo "
Now you can open \"$IDEA_PROJECT_DIR\" as IDEA project
You can also run 'bash \"$IDEA_OUTPUT/jdk-clion/update-project.sh\"' to generate Clion project"
fi

0
configure vendored Normal file → Executable file
View File

View File

@@ -329,8 +329,8 @@ 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>
<p>Note: The 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
@@ -393,8 +393,7 @@ Build Platforms</a>. From time to time, this is updated by contributors
to list successes or failures of building on different platforms.</p>
<h3 id="windows">Windows</h3>
<p>Windows XP is not a supported platform, but all newer Windows should
be able to build the JDK. (Note: The Windows 32-bit x86 port is
deprecated and may be removed in a future release.)</p>
be able to build the JDK.</p>
<p>On Windows, it is important that you pay attention to the
instructions in the <a href="#special-considerations">Special
Considerations</a>.</p>
@@ -587,7 +586,7 @@ to compile successfully without issues.</p>
<tbody>
<tr class="odd">
<td>Linux</td>
<td>gcc 13.2.0</td>
<td>gcc 14.2.0</td>
</tr>
<tr class="even">
<td>macOS</td>
@@ -605,7 +604,7 @@ standard for C, and C++14 for C++.</p>
<p>The minimum accepted version of gcc is 10.0. Older versions will not
be accepted by <code>configure</code>.</p>
<p>The JDK is currently known to compile successfully with gcc version
13.2 or newer.</p>
14.2 or newer.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 13. Older versions will not
@@ -614,10 +613,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 13.0.</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>
@@ -865,12 +863,12 @@ href="https://www.gnu.org/software/bash">GNU Bash</a>. No other shells
are supported.</p>
<p>At least version 3.2 of GNU Bash must be used.</p>
<h3 id="graphviz-and-pandoc">Graphviz and Pandoc</h3>
<p>In order to build the full docs (see the
<p>In order to build man pages and the full docs (see the
<code>--enable-full-docs</code> configure option) <a
href="https://www.graphviz.org">Graphviz</a> and <a
href="https://pandoc.org">Pandoc</a> are required. Any recent versions
should work. For reference, and subject to change, Oracle builds use
Graphviz 9.0.0 and Pandoc 2.19.2.</p>
href="https://pandoc.org">Pandoc</a> is required. For full docs also <a
href="https://www.graphviz.org">Graphviz</a> is required. Any recent
versions should work. For reference, and subject to change, Oracle
builds use Graphviz 9.0.0 and Pandoc 2.19.2.</p>
<h2 id="running-configure">Running Configure</h2>
<p>To build the JDK, you need a "configuration", which consists of a
directory where to store the build output, coupled with information
@@ -1724,6 +1722,20 @@ packages in the sysroot, configure the build with
--with-devkit=$DEVKIT \
--with-sysroot=$SYSROOT</code></pre>
<p>and run <code>make</code> normally.</p>
<h4 id="building-for-windows-aarch64">Building for Windows AArch64</h4>
<p>The Visual Studio Build Tools can be used for building the JDK
without a full Visual Studio installation. To set up the Visual Studio
2022 Build Tools on a Windows AArch64 machine for a native build, launch
the installer as follows in a Windows command prompt:</p>
<pre><code>vs_buildtools.exe --quiet --wait --norestart --nocache ^
--installPath &quot;%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools&quot; ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621</code></pre>
<p>To generate Windows AArch64 builds using Cygwin on a Windows x64
machine, you must set the proper target platform by adding
<code>--openjdk-target=aarch64-unknown-cygwin</code> to your configure
command line.</p>
<h2 id="build-performance">Build Performance</h2>
<p>Building the JDK requires a lot of horsepower. Some of the build
tools can be adjusted to utilize more or less of resources such as
@@ -2017,10 +2029,18 @@ some directory names have spaces. Usually, it assumes those directories
have <a
href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-8dot3name">short
paths</a>. You can run <code>fsutil file setshortname</code> in
<code>cmd</code> on certain directories, such as
<code>Microsoft Visual Studio</code> or <code>Windows Kits</code>, to
assign arbitrary short paths so <code>configure</code> can access
them.</p>
<code>cmd</code> on directories to assign arbitrary short paths so
<code>configure</code> can access them. If the result says "Access
denied", it may be that there are processes running in that directory;
in this case, you can reboot Windows in safe mode and run the command on
those directories again.</p>
<p>The only directories required to have short paths are
<code>Microsoft Visual Studio</code> and <code>Windows Kits</code>; the
rest of the "contains space" warnings from <code>configure</code>, such
as <code>IntelliJ IDEA</code>, can be ignored. You can choose any short
name; once it is set, <code>configure</code>'s tools like
<code>cygpath</code> can convert the directory with spaces to your
chosen short name and pass it to the build system.</p>
<h3 id="getting-help">Getting Help</h3>
<p>If none of the suggestions in this document helps you, or if you find
what you believe is a bug in the build system, please contact the Build

View File

@@ -134,8 +134,7 @@ 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.
Note: The 32-bit x86 port is deprecated and may be removed in a future release.
### Building on aarch64
@@ -191,8 +190,7 @@ on different platforms.
### Windows
Windows XP is not a supported platform, but all newer Windows should be able to
build the JDK. (Note: The Windows 32-bit x86 port is deprecated and may be
removed in a future release.)
build the JDK.
On Windows, it is important that you pay attention to the instructions in the
[Special Considerations](#special-considerations).
@@ -394,7 +392,7 @@ issues.
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------- |
| Linux | gcc 13.2.0 |
| Linux | gcc 14.2.0 |
| macOS | Apple Xcode 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 version 17.6.5 |
@@ -406,7 +404,7 @@ C, and C++14 for C++.
The minimum accepted version of gcc is 10.0. Older versions will not be accepted
by `configure`.
The JDK is currently known to compile successfully with gcc version 13.2 or
The JDK is currently known to compile successfully with gcc version 14.2 or
newer.
In general, any version between these two should be usable.
@@ -422,13 +420,9 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 13.0.
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:
@@ -686,9 +680,9 @@ At least version 3.2 of GNU Bash must be used.
### Graphviz and Pandoc
In order to build the full docs (see the `--enable-full-docs`
configure option) [Graphviz](https://www.graphviz.org) and
[Pandoc](https://pandoc.org) are required. Any recent versions should
In order to build man pages and the full docs (see the `--enable-full-docs`
configure option) [Pandoc](https://pandoc.org) is required. For full docs also
[Graphviz](https://www.graphviz.org) is required. Any recent versions should
work. For reference, and subject to change, Oracle builds use Graphviz
9.0.0 and Pandoc 2.19.2.
@@ -1463,6 +1457,24 @@ sh ./configure --with-jvm-variants=server \
and run `make` normally.
#### Building for Windows AArch64
The Visual Studio Build Tools can be used for building the JDK without a full
Visual Studio installation. To set up the Visual Studio 2022 Build Tools on a
Windows AArch64 machine for a native build, launch the installer as follows
in a Windows command prompt:
```
vs_buildtools.exe --quiet --wait --norestart --nocache ^
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621
```
To generate Windows AArch64 builds using Cygwin on a Windows x64 machine,
you must set the proper target platform by adding
`--openjdk-target=aarch64-unknown-cygwin` to your configure command line.
## Build Performance
Building the JDK requires a lot of horsepower. Some of the build tools can be
@@ -1804,9 +1816,17 @@ temporarily.
On Windows, when configuring, `fixpath.sh` may report that some directory names
have spaces. Usually, it assumes those directories have [short
paths](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-8dot3name).
You can run `fsutil file setshortname` in `cmd` on certain directories, such as
`Microsoft Visual Studio` or `Windows Kits`, to assign arbitrary short paths so
`configure` can access them.
You can run `fsutil file setshortname` in `cmd` on directories to assign
arbitrary short paths so `configure` can access them. If the result says "Access
denied", it may be that there are processes running in that directory; in this
case, you can reboot Windows in safe mode and run the command on those directories
again.
The only directories required to have short paths are `Microsoft Visual Studio`
and `Windows Kits`; the rest of the "contains space" warnings from `configure`,
such as `IntelliJ IDEA`, can be ignored. You can choose any short name; once it
is set, `configure`'s tools like `cygpath` can convert the directory with spaces
to your chosen short name and pass it to the build system.
### Getting Help

View File

@@ -207,23 +207,38 @@ the simple "getter".</p></li>
<ul>
<li><p>All source files must have a globally unique basename. The build
system depends on this uniqueness.</p></li>
<li><p>Keep the include lines within a section alphabetically sorted by
their lowercase value. If an include must be out of order for
correctness, suffix with it a comment such as
<code>// do not reorder</code>. Source code processing tools can also
use this hint.</p></li>
<li><p>Put conditional inclusions (<code>#if ...</code>) at the end of
the section of HotSpot include lines. This also applies to
macro-expanded includes of platform dependent files.</p></li>
<li><p>Put system includes in a section after the HotSpot include lines
with a blank line separating the two sections.</p></li>
<li><p>Do not put non-trivial function implementations in .hpp files. If
the implementation depends on other .hpp files, put it in a .cpp or a
.inline.hpp file.</p></li>
<li><p>.inline.hpp files should only be included in .cpp or .inline.hpp
files.</p></li>
<li><p>All .inline.hpp files should include their corresponding .hpp
file as the first include line. Declarations needed by other files
should be put in the .hpp file, and not in the .inline.hpp file. This
rule exists to resolve problems with circular dependencies between
.inline.hpp files.</p></li>
<li><p>All .cpp files include precompiled.hpp as the first include
line.</p></li>
<li><p>precompiled.hpp is just a build time optimization, so don't rely
on it to resolve include problems.</p></li>
<li><p>Keep the include lines alphabetically sorted.</p></li>
<li><p>Put conditional inclusions (<code>#if ...</code>) at the end of
the include list.</p></li>
file as the first include line with a blank line separating it from the
rest of the include lines. Declarations needed by other files should be
put in the .hpp file, and not in the .inline.hpp file. This rule exists
to resolve problems with circular dependencies between .inline.hpp
files.</p></li>
<li><p>Do not include a .hpp file if the corresponding .inline.hpp file
is included.</p></li>
<li><p>Use include guards for .hpp and .inline.hpp files. The name of
the defined guard should be derived from the full search path of the
file relative to the hotspot source directory. The guard should be all
upper case with all paths separators and periods replaced by
underscores.</p></li>
<li><p>Some build configurations use precompiled headers to speed up the
build times. The precompiled headers are included in the precompiled.hpp
file. Note that precompiled.hpp is just a build time optimization, so
don't rely on it to resolve include problems.</p></li>
</ul>
<h3 id="jtreg-tests">JTReg Tests</h3>
<ul>

View File

@@ -135,9 +135,21 @@ change should be done with a "setter" accessor matched to the simple
### Source Files
* All source files must have a globally unique basename. The build
* All source files must have a globally unique basename. The build
system depends on this uniqueness.
* Keep the include lines within a section alphabetically sorted by their
lowercase value. If an include must be out of order for correctness,
suffix with it a comment such as `// do not reorder`. Source code
processing tools can also use this hint.
* Put conditional inclusions (`#if ...`) at the end of the section of HotSpot
include lines. This also applies to macro-expanded includes of platform
dependent files.
* Put system includes in a section after the HotSpot include lines with a blank
line separating the two sections.
* Do not put non-trivial function implementations in .hpp files. If
the implementation depends on other .hpp files, put it in a .cpp or
a .inline.hpp file.
@@ -146,18 +158,22 @@ a .inline.hpp file.
files.
* All .inline.hpp files should include their corresponding .hpp file as
the first include line. Declarations needed by other files should be put
in the .hpp file, and not in the .inline.hpp file. This rule exists to
resolve problems with circular dependencies between .inline.hpp files.
the first include line with a blank line separating it from the rest of the
include lines. Declarations needed by other files should be put in the .hpp
file, and not in the .inline.hpp file. This rule exists to resolve problems
with circular dependencies between .inline.hpp files.
* All .cpp files include precompiled.hpp as the first include line.
* Do not include a .hpp file if the corresponding .inline.hpp file is included.
* precompiled.hpp is just a build time optimization, so don't rely on
it to resolve include problems.
* Use include guards for .hpp and .inline.hpp files. The name of the defined
guard should be derived from the full search path of the file relative to the
hotspot source directory. The guard should be all upper case with all paths
separators and periods replaced by underscores.
* Keep the include lines alphabetically sorted.
* Put conditional inclusions (`#if ...`) at the end of the include list.
* Some build configurations use precompiled headers to speed up the
build times. The precompiled headers are included in the precompiled.hpp
file. Note that precompiled.hpp is just a build time optimization, so
don't rely on it to resolve include problems.
### JTReg Tests

View File

@@ -245,7 +245,7 @@ compare C string contents. There are also case-insensitive versions
<p>All GoogleTest asserts print compared expressions and their values,
so there is no need to have them in error messages. Asserts print only
compared values, they do not print any of interim variables, e.g.
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8)) || i == 18)</code>
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8))) || i == 18)</code>
prints only one value. If you use some complex predicates, please
consider <code>EXPECT_PRED*</code> or <code>EXPECT_FORMAT_PRED</code>
assertions family, they check that a predicate returns true/success and

View File

@@ -106,7 +106,7 @@ Prefer having checks inside test code.
Not only does having test logic outside, e.g. verification method,
depending on asserts in product code contradict with several items
above but also decreases tests readability and stability. It is much
above but also decreases test's readability and stability. It is much
easier to understand that a test is testing when all testing logic is
located inside a test or nearby in shared test libraries. As a rule of
thumb, the closer a check to a test, the better.
@@ -119,7 +119,7 @@ Prefer `EXPECT` over `ASSERT` if possible.
This is related to the [informativeness](#informativeness) property of
tests, information for other checks can help to better localize a
defects root-cause. One should use `ASSERT` if it is impossible to
defect's root-cause. One should use `ASSERT` if it is impossible to
continue test execution or if it does not make much sense. Later in
the text, `EXPECT` forms will be used to refer to both
`ASSERT/EXPECT`.
@@ -160,7 +160,7 @@ value of the difference between `v1` and `v2` is not greater than `eps`.
Use string special macros for C strings comparisons.
`EXPECT_EQ` just compares pointers values, which is hardly what one
`EXPECT_EQ` just compares pointers' values, which is hardly what one
wants comparing C strings. GoogleTest provides `EXPECT_STREQ` and
`EXPECT_STRNE` macros to compare C string contents. There are also
case-insensitive versions `EXPECT_STRCASEEQ`, `EXPECT_STRCASENE`.
@@ -172,7 +172,7 @@ Provide informative, but not too verbose error messages.
All GoogleTest asserts print compared expressions and their values, so
there is no need to have them in error messages. Asserts print only
compared values, they do not print any of interim variables, e.g.
`ASSERT_TRUE((val1 == val2 && isFail(foo(8)) || i == 18)` prints only
`ASSERT_TRUE((val1 == val2 && isFail(foo(8))) || i == 18)` prints only
one value. If you use some complex predicates, please consider
`EXPECT_PRED*` or `EXPECT_FORMAT_PRED` assertions family, they check that
a predicate returns true/success and print out all parameters values.
@@ -226,7 +226,7 @@ subsystem, etc.
This naming scheme helps to find tests, filter them and simplifies
test failure analysis. For example, class `Foo` - test group `Foo`,
compiler logging subsystem - test group `CompilerLogging`, G1 GC test
compiler logging subsystem - test group `CompilerLogging`, G1 GC - test
group `G1GC`, and so forth.
### Filename
@@ -287,7 +287,7 @@ Fixture classes should be named after tested classes, subsystems, etc
All test purpose friends should have either `Test` or `Testable` suffix.
It greatly simplifies understanding of friendships purpose and allows
It greatly simplifies understanding of friendship's purpose and allows
statically check that private members are not exposed unexpectedly.
Having `FooTest` as a friend of `Foo` without any comments will be
understood as a necessary evil to get testability.
@@ -397,7 +397,7 @@ and filter out inapplicable tests.
Restore changed flags.
It is quite common for tests to configure JVM in a certain way
changing flags values. GoogleTest provides two ways to set up
changing flags' values. GoogleTest provides two ways to set up
environment before a test and restore it afterward: using either
constructor and destructor or `SetUp` and `TearDown` functions. Both ways
require to use a test fixture class, which sometimes is too wordy. The
@@ -406,7 +406,7 @@ be used in such cases to restore/set values.
Caveats:
* Changing a flags value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.
* Changing a flag's value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.
* `FLAG_SET_*` macros can change more than one flag (in order to
maintain invariants) so it is hard to predict what flags will be

View File

@@ -63,11 +63,12 @@ workspace has been generated. To use it, choose
<p>The main <code>vscode-project</code> target configures the default
C++ support in Visual Studio Code. There are also other source indexers
that can be installed, that may provide additional features. It's
currently possible to generate configuration for two such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a
href="https://github.com/Andersbakken/rtags">rtags</a>. These can be
configured by appending the name of the indexer to the make target, such
as:</p>
currently possible to generate configuration for three such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a>, <a
href="https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code">ccls</a>
and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can
be configured by appending the name of the indexer to the make target,
such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be
displayed after the workspace has been generated.</p>

View File

@@ -32,7 +32,8 @@ choose `File -> Open Workspace...` in Visual Studio Code.
The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
configuration for three such indexers, [clangd](https://clang.llvm.org/extra/clangd/),
[ccls](https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as:

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>
@@ -434,7 +437,7 @@ 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>
<h4 id="test_thread_factory">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
@@ -586,6 +589,18 @@ element of the appropriate <code>@Artifact</code> class. (See
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="testing-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for
<code>KeyFactory</code>, <code>Cipher</code>,
<code>KeyPairGenerator</code>, <code>KeyGenerator</code>,
<code>AlgorithmParameterGenerator</code>, <code>KeyAgreement</code>,
<code>Mac</code>, <code>MessageDigest</code>, <code>SecureRandom</code>,
<code>Signature</code>, <code>AlgorithmParameters</code>,
<code>Configuration</code>, <code>Policy</code>, or
<code>SecretKeyFactory</code> objects. Specify the
<code>-Dtest.provider.name=NAME</code> property to use a different
provider for the service(s).</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the

View File

@@ -380,7 +380,7 @@ 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
#### 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
@@ -603,6 +603,15 @@ $ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
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

274
jb/branchdiff.py Executable file
View File

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

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
tag_prefix="jdk-"
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}']"
OPENJDK_TAG=$(git tag -l | grep "$tag_prefix$JBSDK_VERSION" | grep -v ga | sort -t "-" -k 2 -g | tail -n 1)
JDK_BUILD_NUMBER=${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,4 @@
--with-vendor-url=https://www.jetbrains.com/
--with-vendor-bug-url=https://youtrack.jetbrains.com/issues/JBR
--with-vendor-vm-bug-url=https://youtrack.jetbrains.com/issues/JBR

View File

@@ -0,0 +1,185 @@
#!/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 {
GTK_SHELL_PATH=/gtk-shell.xml
if [ ! -e $GTK_SHELL_PATH ]; then
echo $GTK_SHELL_PATH" does not exist"
GTK_SHELL_PATH=`pwd`/gtk-shell.xml
if [ ! -e $GTK_SHELL_PATH ]; then
echo $GTK_SHELL_PATH" does not exist"
curl -O https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
fi
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-gtk-shell1-protocol=$GTK_SHELL_PATH \
--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,203 @@
#!/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
GTK_SHELL_PATH=/gtk-shell.xml
if [ ! -e $GTK_SHELL_PATH ]; then
echo $GTK_SHELL_PATH" does not exist"
GTK_SHELL_PATH=`pwd`/gtk-shell.xml
if [ ! -e $GTK_SHELL_PATH ]; then
echo $GTK_SHELL_PATH" does not exist"
curl -O https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
fi
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-gtk-shell1-protocol=$GTK_SHELL_PATH \
--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-'
else
LINUX_TARGET="\
--build=x86_64-unknown-linux-gnu \
--openjdk-target=x86_64-unknown-linux-gnu"
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
[ -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-x86_64-server-release
jbr_name_postfix=""
case "$bundle_type" in
"jcef")
do_reset_changes=1
jbr_name_postfix="_${bundle_type}"
jbrsdk_name_postfix="_${bundle_type}"
do_maketest=1
;;
"nomod" | "")
bundle_type=""
jbrsdk_name_postfix="_${bundle_type}"
;;
"nomodft" | "")
jbr_name_postfix="_ft"
jbrsdk_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,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
#
source jb/project/tools/common/scripts/common.sh
function do_configure {
linux32 bash configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
$STATIC_CONF_ARGS \
--enable-cds=yes \
$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
__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>
<false/>
<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,192 @@
#!/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
# test/jdk/jb/java/awt/Focus/FullScreenFocusStealing.java test/jdk/java/awt/color/ICC_ColorSpace/MTTransformReplacedProfile.java test/jdk/java/awt/datatransfer/DataFlavor/DataFlavorRemoteTest.java test/jdk/java/awt/Robot/NonEmptyErrorStream.java
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 jnativescan -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,155 @@
#!/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
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"
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
mv "$INPUT_FILE" "$INPUT_FILE".origin
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=1
ec=0
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=$?
((attempt += 1))
if [[ $ec -ne 0 ]]; then
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
fi
done
set -e
if [[ $ec -ne 0 ]]; then
log "Signing failed, restore original input file"
mv "$INPUT_FILE".origin "$INPUT_FILE"
fi
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

49
jb/project/tools/perf/run_dc.sh Executable file
View File

@@ -0,0 +1,49 @@
#!/bin/bash
#set -euo pipefail
set -x
BASE_DIR=$(dirname "$0")
source $BASE_DIR/run_inc.sh
if [ -z "$DACAPOTEST_DIR" ]; then
DACAPOTEST_DIR="./"
fi
DACAPOTEST=${DACAPOTEST:='dacapo-9.12-bach.jar'}
if [ -z "$DACAPOTEST" ]; then
if [ ! -f "$DACAPOTEST_DIR/$DACAPOTEST" ]; then
echo "ERR### cannot find $DACAPOTEST_DIR/$DACAPOTEST"
exit 2
fi
fi
TRACE=false
if [[ ($# -eq 1 && "$1" == "-help") ]] ; then
echo "Usage: run_dc.sh [rendering_options]"
echo "$RENDER_OPS_DOC"
exit 3
fi
OPTS=""
# use time + repeat
OPTS="$OPTS -no-validation $1"
echo "OPTS: $OPTS"
echo "Unit: Milliseconds (not FPS), lower is better"
for i in `seq $N` ; do
if [ $i -eq 1 ]; then
echo x
fi
$JAVA \
-jar $DACAPOTEST $OPTS 2>&1 | tee dacapo_$1$MODE_$i.log | grep "PASSED" | awk '{print $7 }'
if [ $i -ne $N ]; then
sleep $ST
fi
done | $DATAMASH_CMD | expand -t12 > dacapo_$1.log

View File

@@ -0,0 +1,127 @@
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)
-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
;;
-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,155 @@
#!/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 || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean || do_exit $?
make LOG=info CONF=$RELEASE_NAME 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,148 @@
#!/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 || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean || do_exit $?
make LOG=info CONF=$RELEASE_NAME 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,138 @@
#!/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 || do_exit $?
make LOG=info CONF=$RELEASE_NAME images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean || do_exit $?
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, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include MakeIO.gmk
@@ -43,8 +42,6 @@ ifeq ($(call isBuildOs, windows), true)
TAR_IGNORE_EXIT_VALUE := || test "$$$$?" = "1"
endif
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles-pre.gmk))
################################################################################
# BUNDLE : Name of bundle to create
# FILES : Files in BASE_DIRS to add to bundle
@@ -245,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))
@@ -284,7 +284,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
ifeq ($(MACOSX_CODESIGN_MODE), hardened)
# Macosx release build and code signing available.
################################################################################
############################################################################
# JDK bundle
$(eval $(call SetupCopyFiles, CREATE_JDK_BUNDLE_DIR_SIGNED, \
SRC := $(JDK_IMAGE_DIR), \
@@ -313,7 +313,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
################################################################################
############################################################################
# JRE bundle
$(eval $(call SetupCopyFiles, CREATE_JRE_BUNDLE_DIR_SIGNED, \
SRC := $(JRE_IMAGE_DIR), \
@@ -502,11 +502,6 @@ endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
################################################################################
product-bundles: $(PRODUCT_TARGETS)
legacy-bundles: $(LEGACY_TARGETS)
test-bundles: $(TEST_TARGETS)
@@ -517,6 +512,10 @@ static-libs-bundles: $(STATIC_LIBS_TARGETS)
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles \
.PHONY: product-bundles test-bundles \
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
static-libs-bundles static-libs-graal-bundles jcov-bundles
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
# When FIXPATH is set, let it process the file to make sure all paths are usable
# by system native tools. The FIXPATH tool assumes arguments preceded by an @
@@ -50,6 +49,6 @@ $(OUTPUTDIR)/compile_commands.json: $(wildcard $(MAKESUPPORT_OUTPUTDIR)/compile-
TARGETS += $(OUTPUTDIR)/compile_commands.json
all: $(TARGETS)
################################################################################
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,23 +23,17 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# Build demos for the JDK into $(SUPPORT_OUTPUTDIR)/demos/image.
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
include ZipArchive.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk))
# Prepare the find cache.
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
@@ -132,12 +126,19 @@ define SetupBuildDemoBody
JARMAIN := $$($1_MAIN_CLASS), \
MANIFEST := $(DEMO_MANIFEST), \
EXTRA_MANIFEST_ATTR := $$($1_EXTRA_MANIFEST_ATTR), \
SRCZIP := $(SUPPORT_OUTPUTDIR)/demos/image/$$($1_DEMO_SUBDIR)/$1/src.zip, \
EXCLUDE_FILES := $$($1_EXCLUDE_FILES), \
DISABLED_WARNINGS := $$($1_DISABLED_WARNINGS), \
))
$1 += $$(BUILD_DEMO_$1)
$$(eval $$(call SetupZipArchive, ZIP_SRC_DEMO_$1, \
SRC := $$($1_MAIN_SRC) $$($1_EXTRA_SRC_DIR), \
ZIP := $(SUPPORT_OUTPUTDIR)/demos/image/$$($1_DEMO_SUBDIR)/$1/src.zip, \
EXCLUDE_FILES := $$($1_EXCLUDE_FILES), \
))
$1 += $$(ZIP_SRC_DEMO_$1)
endif
# Copy files. Sort is needed to remove duplicates.
@@ -257,11 +258,8 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, CompileDemos-post.gmk))
all: $(TARGETS)
images: $(IMAGES_TARGETS)
.PHONY: all
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,11 +23,9 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include JavaCompilation.gmk
@@ -65,7 +63,7 @@ $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.ja
$(SED) $(INTERIM_TOOL_PROVIDER_PATTERN) $< > $@
java.compiler.interim_EXTRA_FILES := \
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
TARGETS += $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
@@ -148,5 +146,4 @@ TARGETS += $(BUILD_JAVAC_SERVER)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,13 +23,12 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
include JavaCompilation.gmk
include Modules.gmk
################################################################################
# If this is an imported module that has prebuilt classes, only compile
@@ -75,18 +74,26 @@ $(JDK_OUTPUTDIR)/modules/%_zh_HK.properties: $(JDK_OUTPUTDIR)/modules/%_zh_TW.pr
CreateHkTargets = \
$(call FilterExcludedTranslations, \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
) \
), \
.properties \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
) \
), \
.properties \
)
################################################################################
# Include module specific build settings
-include Java.gmk
THIS_SNIPPET := modules/$(MODULE)/Java.gmk
ifneq ($(wildcard $(THIS_SNIPPET)), )
include MakeSnippetStart.gmk
include $(THIS_SNIPPET)
include MakeSnippetEnd.gmk
endif
################################################################################
# Setup the main compilation
@@ -100,6 +107,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), \
@@ -148,6 +156,4 @@ endif
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,14 +23,12 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include MakeFileStart.gmk
################################################################################
include JavaCompilation.gmk
TOOLS_CLASSES_DIR := $(BUILDTOOLS_OUTPUTDIR)/tools_jigsaw_classes
# When using an external BUILDJDK, make it possible to shortcut building of
@@ -64,4 +62,4 @@ TARGETS += $(BUILD_JIGSAW_TOOLS)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,19 +23,12 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include JavaCompilation.gmk
TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, hotspot/CompileTools.gmk))
################################################################################
# Build tools needed for the JFR source code generation
@@ -51,7 +44,6 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_HOTSPOT, \
TARGETS += $(BUILD_TOOLS_HOTSPOT)
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,21 +23,14 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
################################################################################
$(eval $(call IncludeCustomExtension, CompileTools.gmk))
################################################################################
# Use += to be able to add to this from a custom extension
BUILD_TOOLS_SRC_DIRS += \
$(TOPDIR)/make/jdk/src/classes \
@@ -52,8 +45,7 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
build/tools/deps \
build/tools/docs \
build/tools/jigsaw \
build/tools/depend \
, \
build/tools/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes, \
DISABLED_WARNINGS := dangling-doc-comments options, \
JAVAC_FLAGS := \
@@ -66,17 +58,19 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
TARGETS += $(BUILD_TOOLS_JDK)
$(eval $(call SetupCopyFiles,COPY_NIMBUS_TEMPLATES, \
$(eval $(call SetupCopyFiles, COPY_NIMBUS_TEMPLATES, \
SRC := $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes/build/tools/generatenimbus/resources, \
FILES := $(wildcard $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template)))
FILES := $(wildcard $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template), \
))
TARGETS += $(COPY_NIMBUS_TEMPLATES)
$(eval $(call SetupCopyFiles,COPY_CLDRCONVERTER_PROPERTIES, \
$(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)))
FILES := $(wildcard $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter/*.properties), \
))
TARGETS += $(COPY_CLDRCONVERTER_PROPERTIES)
@@ -86,7 +80,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
DISABLED_WARNINGS := options, \
JAVAC_FLAGS := \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
@@ -99,13 +93,21 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
DEPEND_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services/com.sun.source.util.Plugin
$(eval $(call SetupJavaCompilation, COMPILE_JBR_API_PLUGIN, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/jbrapi, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
))
$(DEPEND_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services)
PLUGINS_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services/com.sun.source.util.Plugin
$(PLUGINS_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services)
$(ECHO) build.tools.depend.Depend > $@
$(ECHO) build.tools.jbrapi.JBRApiPlugin >> $@
TARGETS += $(COMPILE_DEPEND) $(DEPEND_SERVICE_PROVIDER)
TARGETS += $(COMPILE_DEPEND) $(COMPILE_JBR_API_PLUGIN) $(PLUGINS_SERVICE_PROVIDER)
################################################################################
@@ -159,4 +161,6 @@ ifeq ($(ENABLE_PANDOC), true)
TARGETS += $(PANDOC_HTML_MANPAGE_FILTER_SETUP)
endif
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,13 +23,12 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# This makefile is called for every imported module to copy the non class
# contents into the exploded jdk image.
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
@@ -103,4 +102,6 @@ ifneq ($(CONF_DIR), )
TARGETS += $(COPY_CONF)
endif
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,15 +23,12 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
##########################################################################################
### TZDB tool needs files from java.time.zone package
define tzdb_copyfiles
@@ -41,12 +38,17 @@ define tzdb_copyfiles
< $(<) > $@
endef
$(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
$(eval $(call SetupCopyFiles, COPY_INTERIM_TZDB, \
SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
MACRO := tzdb_copyfiles))
MACRO := tzdb_copyfiles, \
))
##########################################################################################
################################################################################
all: $(COPY_INTERIM_TZDB)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -22,8 +22,7 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
include $(SPEC)
include MakeBase.gmk
include MakeFileStart.gmk
################################################################################
@@ -47,7 +46,6 @@ $(JCOV_IMAGE_DIR)/release: $(JCOV_INPUT_IMAGE_DIR)/release
-t $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)/template.xml \
-rt $(JCOV_HOME)/lib/jcov_network_saver.jar \
-exclude 'java.lang.Object' \
-exclude 'jdk.internal.org.objectweb.**' \
-exclude jdk.test.Main -exclude '**\$Proxy*' \
$(JCOV_FILTERS) \
$(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
@@ -55,3 +53,7 @@ $(JCOV_IMAGE_DIR)/release: $(JCOV_INPUT_IMAGE_DIR)/release
$(RMDIR) $(JCOV_TEMP)
jcov-image: $(JCOV_IMAGE_DIR)/release
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include Execute.gmk
@@ -36,8 +35,6 @@ ifeq ($(MODULE), )
$(error MODULE must be set when calling CreateJmods.gmk)
endif
$(eval $(call IncludeCustomExtension, CreateJmods.gmk))
################################################################################
JMODS_DIR := $(IMAGES_OUTPUTDIR)/jmods
@@ -187,7 +184,15 @@ endif
################################################################################
# Include module specific build settings
-include Jmod.gmk
THIS_SNIPPET := modules/$(MODULE)/Jmod.gmk
ifneq ($(wildcard $(THIS_SNIPPET)), )
include MakeSnippetStart.gmk
include $(THIS_SNIPPET)
include MakeSnippetEnd.gmk
endif
# Set main class
ifneq ($(JMOD_FLAGS_main_class), )
@@ -229,8 +234,21 @@ ifeq ($(INTERIM_JMOD), true)
# Interim JMODs are not shipped anywhere, so there is no reason
# to compress them at all.
JMOD_FLAGS += --compress zip-0
JMOD_TARGET_OS := $(OPENJDK_BUILD_OS)
ifeq ($(JMOD_TARGET_OS), macosx)
JMOD_TARGET_OS := macos
endif
JMOD_TARGET_CPU := $(OPENJDK_BUILD_CPU)
ifeq ($(JMOD_TARGET_CPU), x86_64)
JMOD_TARGET_CPU := amd64
endif
JMOD_TARGET_PLATFORM := $(JMOD_TARGET_OS)-$(JMOD_TARGET_CPU)
else
JMOD_FLAGS += --compress $(JMOD_COMPRESS)
JMOD_TARGET_PLATFORM := $(OPENJDK_MODULE_TARGET_PLATFORM)
endif
# Create jmods in the support dir and then move them into place to keep the
@@ -242,7 +260,7 @@ $(eval $(call SetupExecute, create_$(JMOD_FILE), \
SUPPORT_DIR := $(JMODS_SUPPORT_DIR), \
PRE_COMMAND := $(RM) $(JMODS_DIR)/$(JMOD_FILE) $(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
COMMAND := $(JMOD) $(JMOD_SMALL_FLAGS) create --module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--target-platform '$(JMOD_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) $(JMOD_FLAGS) \
--date $(SOURCE_DATE_ISO_8601) \
$(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
@@ -253,6 +271,4 @@ TARGETS += $(create_$(JMOD_FILE))
################################################################################
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -22,26 +22,7 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
include ModuleTools.gmk
include ProcessMarkdown.gmk
include ToolsJdk.gmk
include ZipArchive.gmk
include TextFileProcessing.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Docs.gmk))
include MakeFileStart.gmk
################################################################################
# This file generates all documentation for OpenJDK.
@@ -54,7 +35,19 @@ $(eval $(call IncludeCustomExtension, Docs.gmk))
#
# We will also generate separate, free-standing specifications from either
# markdown or existing html files.
#
################################################################################
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
include ProcessMarkdown.gmk
include TextFileProcessing.gmk
include ZipArchive.gmk
include $(TOPDIR)/make/ModuleTools.gmk
include $(TOPDIR)/make/ToolsJdk.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
################################################################################
# Javadoc settings
@@ -86,6 +79,8 @@ JAVADOC_TAGS := \
-tag see \
-taglet build.tools.taglet.ExtLink \
-taglet build.tools.taglet.Incubating \
-taglet build.tools.taglet.PreviewNote \
--preview-note-tag previewNote \
-tagletpath $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
$(CUSTOM_JAVADOC_TAGS) \
#
@@ -99,23 +94,17 @@ REFERENCE_TAGS := $(JAVADOC_TAGS)
JAVADOC_DISABLED_DOCLINT_WARNINGS := missing
JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio
# Allow overriding on the command line
# (intentionally sharing name with the javac option)
JAVA_WARNINGS_ARE_ERRORS ?= -Werror
# The initial set of options for javadoc
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-serialwarn -encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary \
--no-external-specs-page
--override-methods=summary
# 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 \
--no-external-specs-page
-serialwarn -encoding ISO-8859-1 -breakiterator -splitIndex --system none \
-html5 -javafx --expand-requires transitive
# Should we add DRAFT stamps to the generated javadoc?
ifeq ($(VERSION_IS_GA), true)
@@ -247,7 +236,7 @@ define create_overview_file
<!DOCTYPE html> \
<html><head></head><body> \
#
ifneq ($$($1_GROUPS),)
ifneq ($$($1_GROUPS), )
$1_OVERVIEW_TEXT += \
<p>This document is divided into \
$$(subst 2,two,$$(subst 3,three,$$(words $$($1_GROUPS)))) sections:</p> \
@@ -273,7 +262,7 @@ define create_overview_file
$$($1_OVERVIEW): $$($1_OVERVIEW_VARDEPS_FILE)
$$(call LogInfo, Creating overview.html for $1)
$$(call MakeDir, $$(@D))
$$(PRINTF) > $$@ '$$($1_OVERVIEW_TEXT)'
$$(ECHO) -n '$$($1_OVERVIEW_TEXT)' > $$@
endef
################################################################################
@@ -331,7 +320,9 @@ define SetupApiDocsGenerationBody
# Ignore the doclint warnings in certain packages
$1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \
$$(JAVADOC_DISABLED_DOCLINT_PACKAGES)))
$1_OPTIONS += $$(JAVA_WARNINGS_ARE_ERRORS)
ifeq ($$(JAVA_WARNINGS_AS_ERRORS), true)
$1_OPTIONS += -Werror
endif
$1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
Specification
@@ -682,7 +673,7 @@ ifeq ($(ENABLE_PANDOC), true)
$(foreach m, $(ALL_MODULES), \
$(eval MAN_$m := $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, \
$(call FindModuleManDirs, $m))))) \
$(call FindModuleManDirsForDocs, $m))))) \
$(if $(MAN_$m), \
$(eval $(call SetupProcessMarkdown, MAN_TO_HTML_$m, \
FILES := $(MAN_$m), \
@@ -714,7 +705,7 @@ SPEC_HEADER_BLOCK := \
<div class="navbar"> \
<div>$(HEADER_RIGHT_SIDE_INFO)</div> \
<nav><ul><li><a href="PATH_TO_SPECS/../api/index.html">API</a> \
<li><a href="PATH_TO_SPECS/index.html">OTHER SPECIFICATIONS \
<li><a href="PATH_TO_SPECS/index.html">OTHER SPECIFICATIONS</a> \
<li><a href="PATH_TO_SPECS/man/index.html">TOOL GUIDES</a></ul></nav> \
</div> \
</header>
@@ -763,10 +754,6 @@ $(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \
ZIP_TARGETS += $(BUILD_JAVADOC_ZIP)
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Docs-post.gmk))
################################################################################
# Bundles all generated specs into a zip archive, skipping javadocs.
@@ -808,7 +795,11 @@ all: docs-jdk-api-javadoc docs-jdk-api-graphs docs-javase-api-javadoc \
docs-reference-api-graphs docs-jdk-specs docs-jdk-index docs-zip \
docs-specs-zip
.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-graphs \
.PHONY: docs-jdk-api-javadoc docs-jdk-api-graphs \
docs-javase-api-javadoc docs-javase-api-graphs \
docs-reference-api-javadoc docs-reference-api-graphs docs-jdk-specs \
docs-jdk-index docs-zip docs-specs-zip
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,18 +23,11 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Doctor.gmk))
include MakeFileStart.gmk
################################################################################
#
# Help user diagnose possible errors and problems with the build environment.
#
################################################################################
prologue:
$(ECHO)
@@ -145,4 +138,8 @@ doctor: $(TARGETS)
all: doctor
.PHONY: default all doctor $(TARGETS)
.PHONY: doctor $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,16 +23,14 @@
# questions.
#
# Runs a tool on the exploded image to improve performance
default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include $(TOPDIR)/make/ModuleTools.gmk
include MakeFileStart.gmk
################################################################################
# Runs a tool on the exploded image to improve performance
################################################################################
include Execute.gmk
include $(TOPDIR)/make/ModuleTools.gmk
ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module-info.class)
@@ -47,6 +45,4 @@ TARGETS := $(optimize_image_TARGET)
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -0,0 +1,38 @@
#
# Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# 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 MakeFileStart.gmk
################################################################################
# This makefile is a thin wrapper around FindTests.gmk, just to make FindTest
# fill the cache.
################################################################################
GENERATE_FIND_TESTS_FILE := true
include FindTests.gmk
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,15 +23,12 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# Generate classlist
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
@@ -62,6 +59,15 @@ ifeq ($(EXTERNAL_BUILDJDK), true)
INTERIM_IMAGE_DIR := $(BUILD_JDK)
endif
# To make the classlist deterministic:
# - The classlist can be influenced by locale. Always set it to en/US.
# - Concurrency in the core libraries can cause constant pool resolution
# to be non-deterministic. Since the benefits of resolved CP references in the
# default classlist is minimal, let's filter out the '@cp' lines until we can
# find a proper solution.
CLASSLIST_FILE_VM_OPTS = \
-Duser.language=en -Duser.country=US
# Save the stderr output of the command and print it along with stdout in case
# something goes wrong.
$(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST_JAR)
@@ -69,7 +75,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
-Duser.language=en -Duser.country=US \
$(CLASSLIST_FILE_VM_OPTS) \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist $(LOG_DEBUG)
$(GREP) -v HelloClasslist $@.raw > $@.interim
@@ -79,7 +85,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw.2 \
-XX:SharedClassListFile=$@.interim -XX:SharedArchiveFile=$@.jsa \
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
-Duser.language=en -Duser.country=US \
$(CLASSLIST_FILE_VM_OPTS) \
--module-path $(SUPPORT_OUTPUTDIR)/classlist.jar \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
@@ -92,9 +98,10 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
exit $$exitcode \
)
$(GREP) -v HelloClasslist $@.raw.2 > $@.raw.3
$(GREP) -v @cp $@.raw.3 > $@.raw.4
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.SortClasslist $@.raw.3 > $@
build.tools.classlist.SortClasslist $@.raw.4 > $@
# The jli trace is created by the same recipe as classlist. By declaring these
# dependencies, make will correctly rebuild both jli trace and classlist
@@ -138,4 +145,4 @@ TARGETS += $(COPY_JLI_TRACE)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,12 +23,11 @@
# questions.
#
# Default target declared first
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
include ModuleTools.gmk
################################################################################
include $(TOPDIR)/make/ModuleTools.gmk
GENGRAPHS_DIR := $(IMAGES_OUTPUTDIR)/gengraphs
SPEC_DOTFILES_DIR := $(GENGRAPHS_DIR)/spec-dotfiles
@@ -50,3 +49,7 @@ $(GENGRAPHS_DIR)/module-summary.html: $(BUILD_JIGSAW_TOOLS) $(GENGRAPHS_DIR)/tec
$(TOOL_MODULESUMMARY) -o $@ --module-path $(IMAGES_OUTPUTDIR)/jmods
all: $(GENGRAPHS_DIR)/jdk.dot $(GENGRAPHS_DIR)/module-summary.html $(SPEC_DOTFILES_DIR)/java.se.dot
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
###
# Helper macro to allow $(info) to properly print strings beginning with spaces.
_:=
_ :=
help:
$(info )
@@ -102,13 +102,15 @@ help:
$(info $(_) # method is 'auto', 'ignore' or 'fail' (default))
$(info $(_) TEST="test1 ..." # Use the given test descriptor(s) for testing, e.g.)
$(info $(_) # make test TEST="jdk_lang gtest:all")
$(info $(_) TEST_DEPS="dependency1 ..." # Specify additional dependencies for running tests, e.g docs-jdk)
$(info $(_) JTREG="OPT1=x;OPT2=y" # Control the JTREG test harness, use 'make test-only JTREG=help' to list)
$(info $(_) GTEST="OPT1=x;OPT2=y" # Control the GTEST test harness, use 'make test-only GTEST=help' to list)
$(info $(_) MICRO="OPT1=x;OPT2=y" # Control the MICRO test harness, use 'make test-only MICRO=help' to list)
$(info $(_) TEST_OPTS="OPT1=x;..." # Generic control of all test harnesses)
$(info $(_) TEST_VM_OPTS="ARG ..." # Same as setting TEST_OPTS to VM_OPTIONS="ARG ...")
$(info $(_) ALLOW="FOO,BAR" # Do not warn that FOO and BAR are non-control variables)
$(info )
$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))), \
$(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
# We need a dummy rule otherwise make will complain
@true
@@ -119,12 +121,12 @@ print-configurations:
@true
test-prebuilt:
@( cd $(topdir) && \
@( cd $(TOPDIR) && \
$(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) && \
@( 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)" )

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