Compare commits

...

5752 Commits

Author SHA1 Message Date
Maxim Kartashev
daee69b089 Rebase fixups (temporary) 2024-11-22 16:37:41 +04:00
Vitaly Provodin
0a794f6a6d fixup! JBR-5989 Wayland: jdk_awt_wayland test group 2024-11-22 15:22:56 +04:00
Nikita Gubarkov
878a745793 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
2024-11-22 15:22:56 +04:00
Nikita Gubarkov
c60afd0922 fixup! 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 2024-11-22 15:22:55 +04:00
Nikita Gubarkov
58c468bd4f fixup! 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 2024-11-22 15:22:55 +04:00
Nikita Gubarkov
4daa329ef7 fixup! JBR-5124 Rewrite custom decorations support 2024-11-22 15:22:55 +04:00
Vitaly Provodin
273adeaf05 Update README.md 2024-11-22 15:22:55 +04:00
Vitaly Provodin
e831424d55 update exclude list on results of 2777 test runs 2024-11-22 15:22:55 +04:00
Sergey Shelomentsev
3077573bfc JBR-7867 Notarization scripts: fail build if signing of separate files are failed 2024-11-22 15:22:55 +04:00
Maxim Kartashev
39f491d1f5 JBR-7916 Wayland: tests open-sourced in 2024.09 fail 2024-11-22 15:22:55 +04:00
Vitaly Provodin
eca7a0ef1c update exclude list on results of 2765 test runs 2024-11-22 15:22:55 +04:00
Dmitrii Morskii
b522846442 JBR-7040 implemented FPS counter on D3D 2024-11-22 15:22:55 +04:00
Dmitrii Morskii
b1a2dd813d JBR-7900 Improve logic of detecting toolkit inside registerShutdownHook 2024-11-22 15:22:55 +04:00
Dmitrii Morskii
fa2781d223 JBR-7051 Improved D3D Toolkit:
-Increased rendering performance
	-Improved text rendering quality
	-Accelerated repainting during window resizing
	-Removed unnecessary fallback to GDI rendering
	-Eliminated unnecessary hardware limitations
2024-11-22 15:22:55 +04:00
Maxim Kartashev
e8177f6bfe JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case
(cherry picked from commit 0af640f048)
2024-11-22 15:22:54 +04:00
Maxim Kartashev
11563261d8 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)
2024-11-22 15:22:54 +04:00
Maxim Kartashev
23d1b2998b JBR-7859 Wayland: Unexpected focus owner set in a Window 2024-11-22 15:22:54 +04:00
Maxim Kartashev
ede60094cc JBR-7851 Wayland: IDEA crashes if Esc is pressed to close Diff window 2024-11-22 15:22:54 +04:00
Maxim Kartashev
5aaef1e039 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)
2024-11-22 15:22:54 +04:00
Dmitrii Morskii
a6056d94e6 JBR-7838 added getTreeLock to updateCursorImpl 2024-11-22 15:22:54 +04:00
Maxim Kartashev
61c827a40c JBR-7760 Pure wayland: incorrect popup scale
(cherry picked from commit d16c50248d)
2024-11-22 15:22:54 +04:00
Sergey Shelomentsev
27cb78428c JBR-7856 use jmod from currently built JDK
(cherry picked from commit 5c90a8d4aa)
2024-11-22 15:22:54 +04:00
Sergey Shelomentsev
97cda16513 fixup! JBR-7800 Add jnativescan to signing
(cherry picked from commit 3ef8a52e0c)
2024-11-22 15:22:54 +04:00
Nikita Gubarkov
839355007d JBR-7846 Vulkan: Fix compilation in Musl Docker container
(cherry picked from commit 79b9f5b71c)
2024-11-22 15:22:54 +04:00
sergey.shelomentsev
58d5c8cf6a JBR-7800 Fix notarization of jbrsdk (sign libs and execs inside jmod files)
(cherry picked from commit dbb42d10f5)
2024-11-22 15:22:54 +04:00
Vitaly Provodin
349759fee7 Update README.md
(cherry picked from commit ff4c5dc7b5)
2024-11-22 15:22:53 +04:00
Vitaly Provodin
9b21a32835 JBR-6144 enable building JBR with Vulkan
(cherry picked from commit 099698fa19)
2024-11-22 15:22:53 +04:00
Nikita Gubarkov
550a3da5a5 JBR-7840 Vulkan: Fix compilation in Docker container
(cherry picked from commit f678372d66)
2024-11-22 15:22:53 +04:00
Dmitrii Morskii
34f964f76f JBR-6754 setting nopixfmt in case of running on Remote Desktop
(cherry picked from commit de5d101cac)
2024-11-22 15:22:53 +04:00
Dmitry Batrak
16ee4bd771 JBR-7833 Wayland: typeahead problem in a popup
(cherry picked from commit 6093b65936)
2024-11-22 15:22:53 +04:00
Maxim Kartashev
66a4eb6b51 JBR-7811 Wayland: IDE dialogs and popups flash black before opening
(cherry picked from commit 0703011d40)
2024-11-22 15:22:53 +04:00
Sergey Shelomentsev
f610c7262d JBR-7734 add zip distribution for Windows
(cherry picked from commit da26c98b82)
2024-11-22 15:22:53 +04:00
Maxim Kartashev
06f1d71b53 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)
2024-11-22 15:22:53 +04:00
Konstantin Nisht
9163826efb JBR-7466 Exception on VM startup with -Djava.util.zip.use.nio.for.zip.file.access=true
(cherry picked from commit 79f79bf137)
2024-11-22 15:22:53 +04:00
Konstantin Nisht
3bc156133a JBR-7392: Use NIO FS in ZipFile
(cherry picked from commit e21c67095b)
2024-11-22 15:22:53 +04:00
Vitaly Provodin
8075b7dfb3 Update README.md
(cherry picked from commit 0d66d2bf26)
2024-11-22 15:22:53 +04:00
Vitaly Provodin
685b129ebb JBR-7797 build fastdebug without jcef
(cherry picked from commit cb322fe90d)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
c96f8265ca JBR-6691 test/jdk/jdk/internal/misc/VM/RuntimeArguments.java fails on Linux
(cherry picked from commit a3ecac8a79)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
1259c12994 JBR-7663 Wayland: make gtk-shell1 protocol support optional
(cherry picked from commit 30e6c720b6)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
0714febf51 JBR-7663 Wayland: generate proxy code with wayland-scanner on the fly
(cherry picked from commit d599043b7d)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
c789646c46 JBR-7663 Wayland: add wayland-protocols to the docker files
(cherry picked from commit 8d207ee7e7)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
7cfe7bf185 JBR-7726 X11 toolkit: Dialog buttons rendering black rectangle after hovering
(cherry picked from commit 18e63514c5)
2024-11-22 15:22:52 +04:00
Dmitrii Morskii
9238d326c8 JBR-7302 added additional emptiness check in getGlyphOutlineBounds
(cherry picked from commit 60fd39e59d)
2024-11-22 15:22:52 +04:00
Nikita Gubarkov
d099a05969 JBR-7766 Fix VKTexturePool OOM.
(cherry picked from commit 1a806f4f1b)
2024-11-22 15:22:52 +04:00
Nikita Tsarev
ec0124b0f4 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)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
7fa0d4c70b JBR-7749 Settings popup invoked from the main toolbar appears misaligned if fractional scaling set
(cherry picked from commit d41d89e8b4)
2024-11-22 15:22:52 +04:00
Nikita Gubarkov
a5f380d848 JBR-4725 File dialog modality
(cherry picked from commit 2a5b044c95)
2024-11-22 15:22:52 +04:00
Maxim Kartashev
598efa6126 JBR-7544 Wayland: Cannot resize window to more that 3500px vertically
(cherry picked from commit ef3dfff3ae)
2024-11-22 15:22:51 +04:00
Vitaly Provodin
ec26b25517 Update README.md
(cherry picked from commit 7b6bc93034)
2024-11-22 15:22:51 +04:00
Maxim Kartashev
d1da3f921f JBR-7748 java/awt/font/JNICheck/FreeTypeScalerJNICheck.java: JNI call made without checking exceptions when required to from CallVoidMethod
(cherry picked from commit ad45f6aec0)
2024-11-22 15:22:51 +04:00
Vitaly Provodin
ec2e31a457 Update README.md
(cherry picked from commit dd41dbcb7b)
2024-11-22 15:22:51 +04:00
Maxim Kartashev
5d1c41676a 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)
2024-11-22 15:22:51 +04:00
Nikita Tsarev
2a39d82b57 JBR-6324: JBR API for System Shortcuts (macOS)
(cherry picked from commit 22d406a76b)
2024-11-22 15:22:51 +04:00
Nikita Tsarev
bfb9e09e01 JBR-5690: Reload next window shortcut when it changes
(cherry picked from commit be0d27983c)
2024-11-22 15:22:51 +04:00
Nikita Tsarev
b967e06977 JBR-5726: Report 'Move focus to the previous window in application' system shortcut
(cherry picked from commit 5721bd6908)
2024-11-22 15:22:51 +04:00
Nikita Gubarkov
9f984eebe3 JBR-7653 Prepare Docker images for Vulkan builds
(cherry picked from commit 249c46bb6b)
2024-11-22 15:22:51 +04:00
Nikita Gubarkov
5e6faccaeb JBR-7673 Cleanup docker scripts
(cherry picked from commit 473686a92e)
2024-11-22 15:22:51 +04:00
Nikita Tsarev
6252a1eb51 JBR-5448: Return all shortcuts from readSystemHotkeys
(cherry picked from commit bb25ab3424)
2024-11-22 15:22:51 +04:00
Nikita Gubarkov
a81ad291c8 JBR-7579 Fix SurfaceManager.cacheMap retaining strong references.
(cherry picked from commit b8434796ae)
2024-11-22 15:22:50 +04:00
Alexey Ushakov
d904d8a0f9 JBR-7724 Add vulkan support to the performance scripts
Implemented -vulkan option

(cherry picked from commit 6f1ecb9b47)
2024-11-22 15:22:50 +04:00
Vitaly Provodin
f0e1333d16 Update README.md
(cherry picked from commit a51b24a7eb)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
21f055dddd JBR-7565 Vulkan: Implement clip
(cherry picked from commit 55787a5c2d)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
c19934808c JBR-7645 Vulkan: Implement hash table for pipeline sets
(cherry picked from commit d3669c1e75)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
1444752882 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)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
2a9e26e2a9 JBR-7564 Vulkan: Fix HIDPI and multi-monitor scenarios
(cherry picked from commit 7f0b10ad23)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
e15c34ca24 JBR-7575 Vulkan: Implement composites (blending and XOR mode)
- Implemented dynamic pipeline compilation.
- Added 64-bit per pixel format usage in debug mode for testing.
- Now passing colors from Java to Vulkan with straight alpha.

(cherry picked from commit 3d7baad687)
2024-11-22 15:22:50 +04:00
Vitaly Provodin
42590b7a33 Update README.md
(cherry picked from commit 770c075320)
2024-11-22 15:22:50 +04:00
Nikita Gubarkov
aa625627cf JBR-7574 Vulkan: Implement memory allocator
(cherry picked from commit 0be149c84e)
2024-11-22 15:22:50 +04:00
Nikita Tsarev
9d9f2a9286 JBR-7524: Workaround for showing window tiling actions when hovering over the maximize button on macOS
(cherry picked from commit 8fb519bec4)
2024-11-22 15:22:50 +04:00
Maxim Kartashev
7131613224 JBR-7504 Use accurate event serial number with the clipboard
(cherry picked from commit d935bd156e)
2024-11-22 15:22:49 +04:00
Maxim Kartashev
20ebbad556 JBR-7504 WLToolkit - Middle click paste doesn't work properly when pasting to other applications
(cherry picked from commit b553c722be)
2024-11-22 15:22:49 +04:00
Alexey Ushakov
383b37ee24 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)
2024-11-22 15:22:49 +04:00
Egor Ushakov
04659a7c62 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)
2024-11-22 15:22:49 +04:00
Egor Ushakov
19342c7359 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)
2024-11-22 15:22:49 +04:00
Vitaly Provodin
e2da194d64 Update README.md
(cherry picked from commit 64f5af4fda)
2024-11-22 15:22:49 +04:00
Nikita Tsarev
32146598ed JBR-7672: Only abort key repeat when the key that is being repeated is released [WLToolkit]
(cherry picked from commit a500b52ecb)
2024-11-22 15:22:49 +04:00
Nikita Tsarev
e48c0ca02f JBR-7662: Fix key repeat manager sometimes not cancelling properly [WLToolkit]
(cherry picked from commit e1b1116bb9)
2024-11-22 15:22:49 +04:00
Vitaly Provodin
d81e3344b9 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)
2024-11-22 15:22:49 +04:00
bourgesl
2e44cf3ff9 JBR-7616: fixed type (str)
(cherry picked from commit a6569241db)
2024-11-22 15:22:49 +04:00
Nikita Tsarev
e5dc541772 JBR-7675: Respect disabling key repeat [WLToolkit]
(cherry picked from commit 723f45aca7)
2024-11-22 15:22:49 +04:00
Vitaly Provodin
e6e198832c JBR-7566 apply standard measurement scripts to Render
(cherry picked from commit be24b3e8ed)
2024-11-22 15:22:48 +04:00
Vitaly Provodin
c6d911797f JBR-7567 apply standard measurement scripts to Dacapo
(cherry picked from commit 289121d0ea)
2024-11-22 15:22:48 +04:00
bourgesl
5fc70814a2 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)
2024-11-22 15:22:48 +04:00
Vitaly Provodin
063d833068 Update README.md
(cherry picked from commit f3fc7649fb)
2024-11-22 15:22:48 +04:00
Vitaly Provodin
1fd1c98593 Update README.md
(cherry picked from commit 12dd44c724)
2024-11-22 15:22:48 +04:00
Nikita Gubarkov
e68273405c JBR-7572 Bring back VKBuffer functions
(cherry picked from commit 90e516f24c)
2024-11-22 15:22:48 +04:00
Nikita Gubarkov
df033fe8a0 JBR-7644 Vulkan: Move barrier state tracking from surface into image
(cherry picked from commit 76dbad4387)
2024-11-22 15:22:48 +04:00
Nikita Gubarkov
98b780cc90 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)
2024-11-22 15:22:48 +04:00
Vitaly Provodin
5329ee367b Update README.md
(cherry picked from commit 62d575dfe4)
2024-11-22 15:22:48 +04:00
Nikita Gubarkov
d525fe8fe9 JBR-7556 Check negative glyphID in HBShaper
(cherry picked from commit 76852278f4)
2024-11-22 15:22:48 +04:00
bourgesl
867b988e37 JBR-7616: improved MTLRenderQueue exception handling
(cherry picked from commit ea57bf75e7)
2024-11-22 15:22:48 +04:00
Maxim Kartashev
a813546c19 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)
2024-11-22 15:22:48 +04:00
Nikita Provotorov
c57f64f69d 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)
2024-11-22 15:22:47 +04:00
Nikita Provotorov
66967433c1 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)
2024-11-22 15:22:47 +04:00
Vitaly Provodin
665e7f2fc9 Update README.md
(cherry picked from commit 29f3f9f229)
2024-11-22 15:22:47 +04:00
Sergei Tachenov
907e4f9fc9 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)
2024-11-22 15:22:47 +04:00
Nikita Tsarev
f9c5255ba7 JBR-7594 Check for LWCToolkit in JBR TextInput API
(cherry picked from commit 3c1fd1c3e6)
2024-11-22 15:22:47 +04:00
Sergei Tachenov
7a1f4cf779 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)
2024-11-22 15:22:47 +04:00
Sergei Tachenov
12ba3d7cea 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)
2024-11-22 15:22:47 +04:00
Vitaly Provodin
8b0a42b4d8 Update README.md
(cherry picked from commit 170a7cfa7f)
2024-11-22 15:22:47 +04:00
Alexey Ushakov
5dd90d86f0 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)
2024-11-22 15:22:47 +04:00
Nikita Gubarkov
032e9349ec 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)
2024-11-22 15:22:47 +04:00
Maxim Kartashev
92fb55a088 JBR-5615 added missing part for WLToolkit
(cherry picked from commit f407b957f2)
2024-11-22 15:22:46 +04:00
Dominik Matta
2c0b18bc56 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)
2024-11-22 15:22:46 +04:00
Maxim Kartashev
193b9d9087 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)
2024-11-22 15:22:46 +04:00
Maxim Kartashev
848b94775a Added proper copyright headers
(cherry picked from commit 0d5aea938e)
2024-11-22 15:22:46 +04:00
Nikita Gubarkov
8db5a2fe87 Fix WindowMoveService on Wayland
(cherry picked from commit 00f213d0ff)
2024-11-22 15:22:46 +04:00
Nikita Gubarkov
efc084e2b9 JBR-7570 Implemented ring buffer. Added lazy implicit initialization for dynamic arrays. (#451)
(cherry picked from commit 7b89fe2311)
2024-11-22 15:22:46 +04:00
Nikita Gubarkov
1524ba0a55 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)
2024-11-22 15:22:46 +04:00
Nikita Gubarkov
12854a8a14 JBR-7569 Removed VMA-Hpp (#450)
(cherry picked from commit 3867557192)
2024-11-22 15:22:46 +04:00
Dmitrii Morskii
9d95c22cc8 JBR-7126 add more possible names for cursor arrow icon
(cherry picked from commit 95e391166d)
2024-11-22 15:22:46 +04:00
Maxim Kartashёv
ffbaf0d797 JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and pressing Alt+Enter
(cherry picked from commit 35776b5975)
2024-11-22 15:22:46 +04:00
Maxim Kartashёv
ca633af3a6 JBR-7493 Wayland: can't start in maximized state on WSL
(cherry picked from commit 18e39cafa0)
2024-11-22 15:22:46 +04:00
Maxim Kartashёv
2d9183decc JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed
(cherry picked from commit 674b7d1dac)
2024-11-22 15:22:45 +04:00
Maxim Kartashёv
8e09f826f4 JBR-7501 Wayland: SurfaceData.flush() method is mis-used
(cherry picked from commit 1299f0f6c6)
2024-11-22 15:22:45 +04:00
Nikita Tsarev
54019c5c54 JBR-7478: Fix wrong timestamps on KEY_TYPED events [WLToolkit]
(cherry picked from commit c47edfa7c7)
2024-11-22 15:22:45 +04:00
lbourges
d62f921030 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)
2024-11-22 15:22:45 +04:00
Maxim Kartashёv
9624db4a2d JBR-7313 Wayland: error: xdg_surface buffer does not match the configured maximized state
(cherry picked from commit 4bb0306175)
2024-11-22 15:22:45 +04:00
Maxim Kartashev
11dca49660 JBR-7397 Wayland: make certain interfaces optional
(cherry picked from commit a1dcba231a)
2024-11-22 15:22:45 +04:00
Maxim Kartashev
7c091e835c 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)
2024-11-22 15:22:45 +04:00
Alexey Ushakov
9b32646bf1 JBR-7452 Vulkan: Reuse VkRenderPass for multiple renderers (#428)
Moved shared VkRenderPass to the logical device

(cherry picked from commit 3d782ed0f0)
2024-11-22 15:22:45 +04:00
Alexey Ushakov
311bc8d4a2 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)
2024-11-22 15:22:45 +04:00
Nikita Gubarkov
7cbb557ceb 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)
2024-11-22 15:22:45 +04:00
Maxim Kartashёv
460a6059b0 JBR-7390 Wayland: need better headless exception message
(cherry picked from commit b68c0ecc6f)
2024-11-22 15:22:45 +04:00
Maxim Kartashёv
69b7d8fa2e 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)
2024-11-22 15:22:44 +04:00
Maxim Kartashёv
8019d92938 JBR-7254 Impossible to copy/paste files in Project tree
(cherry picked from commit 762cd2b23e)
2024-11-22 15:22:44 +04:00
Maxim Kartashev
284b31ec58 JBR-7290 Wayland: window permanently looses focus after invoking Go To Line dialog
(cherry picked from commit c381634aff)
2024-11-22 15:22:44 +04:00
Alexey Ushakov
5f3cda8058 JBR-7308 Vulkan: Build failure in vulkan enabled builds
Added missing header (jni_util.h)

(cherry picked from commit 02fb3aee06)
2024-11-22 15:22:44 +04:00
Alexey Ushakov
768c08372a JBR-7305 Vulkan: Implement FILL_SPANS primitive for flat color rendering
Implemented flat color shape rendering

(cherry picked from commit 6f84d82d1d)
2024-11-22 15:22:44 +04:00
Nikita Gubarkov
ec1b34afc7 JBR-7307 Add stub for VKInstance.initNative with disabled Vulkan.
(cherry picked from commit e834ce867f)
2024-11-22 15:22:44 +04:00
Nikita Gubarkov
90b5d799d1 JBR-7237 Fix cyclic dependency of Wayland and Vulkan initialization (#396)
(cherry picked from commit cde482c1fd)
2024-11-22 15:22:44 +04:00
Maxim Kartashёv
c2c37092c0 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)
2024-11-22 15:22:44 +04:00
Alexey Ushakov
c602d9ed2a JBR-7256 Vulkan: Implement FILL_PARALLELOGRAM primitive for flat color rendering
(cherry picked from commit 57dc1a9e23)
2024-11-22 15:22:44 +04:00
Maxim Kartashev
50bfd1e321 JBR-7237 Separate display connect from WLToolkit initialization
(cherry picked from commit 768d46d049)
2024-11-22 15:22:44 +04:00
Maxim Kartashev
79124b1506 JBR-7202 wayland: memory leak when resizing windows
(cherry picked from commit 64660b0c00)
2024-11-22 15:22:44 +04:00
Maxim Kartashev
8f33c02f42 JBR-7206 Wayland: Stylepad demo flickers when resizing on KDE
(cherry picked from commit 996d4f7490)
2024-11-22 15:22:43 +04:00
Alexey Ushakov
1dde261d2b 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)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
8b11a9a8c3 JBR-7209 Wayland: modernize window decorations
(cherry picked from commit d3496bc966)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
1eff1bbdbc JBR-7201 Wayland: update copyright in files generated by wayland-scanner
(cherry picked from commit 33a7167108)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
45595da42a 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)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
d74287cd31 JBR-7158 Wayland: scale with wp_viewport instead of buffer scale
(cherry picked from commit 8227e43343)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
a5952b7089 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)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
f9b7540eee JBR-7047 Deadlock on git fetch on Wayland
(cherry picked from commit eabaada5bc)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
809f765be7 JBR-6576 Wayland: exception when double-clicking dialog title bar
(cherry picked from commit e42b74780b)
2024-11-22 15:22:43 +04:00
Maxim Kartashev
76af829843 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)
2024-11-22 15:22:43 +04:00
tsarn
aadd013b57 JBR-7063: Make .getKeyChar() report chars in KEY_PRESSED/KEY_RELEASED events for compatibility [WLToolkit] (#371)
(cherry picked from commit bc5bdd2b9e)
2024-11-22 15:22:43 +04:00
tsarn
1e1790b440 JBR-6848: Support extra mouse buttons for navigation [WLToolkit]
(cherry picked from commit 2fb530835d)
2024-11-22 15:22:42 +04:00
tsarn
bbf7251f49 JBR-6434: Fix pointer leave also resetting the keyboard modifiers [WLToolkit] (#370)
(cherry picked from commit bae7c40fa5)
2024-11-22 15:22:42 +04:00
tsarn
1d1eee26ca JBR-7044: Reset clickCount on mouse moves [WLToolkit]
(cherry picked from commit 0dc57e183c)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
dadb8c5499 JBR-7010 Wayland: Swing window resizing is not smooth enough
(cherry picked from commit 724bdfbabb)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
f14b2dc18a JBR-6926 Wayland: fonts are aliased/grainy on first start
(cherry picked from commit 9ee13ff658)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
fae332dbe7 JBR-6920 Wayland: some IDEA popups positioned incorrectly
(cherry picked from commit e28d2bacc7)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
10bc357f4e JBR-6895 Wayland: cursor changes to resize at edges even when window is maximized
(cherry picked from commit a634a8b345)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
bca2db72bd JBR-6884 SIGSEGV in Java_sun_java2d_wl_WLSMSurfaceData_pixelsAt
(cherry picked from commit 5b883749de)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
260b6d0e6b JBR-6448 Wayland: IDEA window looks pixelated after monitors scale was changed
(cherry picked from commit 3318c2260b)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
cb83588c59 JBR-6814 Wayland: support sun.java2d.uiScale property
(cherry picked from commit 2d420bfd59)
2024-11-22 15:22:42 +04:00
Alexey Ushakov
43aa460f9e JBR-6787 WLToolkit/wsl: crash in WLComponentPeer.setCursor
Added check for unavailable cursor pData

(cherry picked from commit b24e4bce02)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
4811b2a169 JBR-6783 MouseEvent/MenuDragMouseEventAbsoluteCoordsTest/MenuDragMouseEventAbsoluteCoordsTest.java: Found one Java-level deadlock
(cherry picked from commit 4e391051bd)
2024-11-22 15:22:42 +04:00
Maxim Kartashev
2873e26c70 JBR-6504 Wayland: optional Robot capability to peek at current window's pixels
(cherry picked from commit 4e1bac1d8e)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
fa1faaf603 JBR-6519 Linux: SIGSEGV at [libwayland] wl_proxy_get_version
Guard against passing NULL to libwayland

(cherry picked from commit 74ab4ac224)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
8ff0ec9798 JBR-6736 libwakefield crashes weston
(cherry picked from commit 6777dcb2f7)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
37734b6f2a JBR-6722 OutOfMemoryError: Failed to allocate Wayland surface buffer
(cherry picked from commit 8ccf0e158f)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
cbfec62401 JBR-6617 Wayland: java/awt/Frame/HugeFrame/HugeFrame.java crashes JVM
(cherry picked from commit 1d9a2193c9)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
8789299cd7 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)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
83824728d7 JBR-6469 Wayland: java/awt/image/ColorModel/DrawCustomColorModel.java throws UnsupportedOperationException
(cherry picked from commit 40da67b44e)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
694b76e4a4 JBR-6467 Wayland: java/awt/GraphicsConfiguration/NormalizingTransformTest/NormalizingTransformTest.java fails
(cherry picked from commit 14339b83cd)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
75c5ffab6d 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)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
c09a6d0536 JBR-6559 Wayland: popups may stop working after a while
Cancel the frame callback when hiding a window.

(cherry picked from commit fd4ba3f752)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
3336197e64 JBR-6452 Wayland: avoid copying entire surface buffers
(cherry picked from commit b13bcec55b)
2024-11-22 15:22:41 +04:00
Maxim Kartashev
9dfa679f15 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)
2024-11-22 15:22:40 +04:00
Dmitrii Morskii
fc80ba7649 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)
2024-11-22 15:22:40 +04:00
Alexey Ushakov
4e86c483b7 JBR-6445 Prepare RepaintManager code for displaySync=false
Refactored AWTAccessor code

(cherry picked from commit acbd18f361)
2024-11-22 15:22:40 +04:00
Dmitry Batrak
2f8a832f34 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)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
d58f1f38c5 JBR-6416 Wayland: IDEA maximize button out of sync sometimes
(cherry picked from commit 6122875478)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
56cfda7a48 JBR-6391 Wayland: memory indicator tooltip flickers
(cherry picked from commit e84bddb1ba)
2024-11-22 15:22:40 +04:00
Dmitrii Morskii
377208ed5e JBR-6213 Wayland: removed blurring on cursor on multiple monitors with different scales
(cherry picked from commit fa7844da7c)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
e0284aa2b2 JBR-6276 Wayland: WLToolkit logs too much
Changed the logging level for such messages to FINE

(cherry picked from commit e946179554)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
3ae7a23d3b 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)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
d9aa2fca6e JBR-6321 Wayland: popup windows do not respect screen bounds
(cherry picked from commit b8b08a36aa)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
108101b520 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)
2024-11-22 15:22:40 +04:00
Maxim Kartashev
b298e837ab JBR-6276 Wayland: WLToolkit logs too much
(cherry picked from commit fee20da837)
2024-11-22 15:22:39 +04:00
Nikita Tsarev
c4bdac116f JBR-5678: Refactor Wayland keyboard support
(cherry picked from commit 070ec5bb8c)
2024-11-22 15:22:39 +04:00
Dmitrii Morskii
162f092c9d JBR-5965 Wayland: implement SplashScreen
(cherry picked from commit c0247eae4f)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
f909de0325 JBR-6253 Wayland: can't run in weston because of xdg_wm_base version 3
(cherry picked from commit 79ddf65b83)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
0041033539 JBR-6212 Wayland: app does not terminate upon Wayland protocol error
(cherry picked from commit 5ad4f8a06d)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
c9e9020e4d JBR-6209 Wayland: popup windows cannot be moved
(cherry picked from commit 0aecd427d2)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
618896e7f4 JBR-5977 Wayland: make undecorated windows natively resizeable
(cherry picked from commit fc735db0dc)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
41e06a7c4e 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)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
6c2beed7c1 JBR-6183 Wayland: clipboard-related exception in headless environment
(cherry picked from commit e302f472f2)
2024-11-22 15:22:39 +04:00
Nikita Gubarkov
b70ea6da2a 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)
2024-11-22 15:22:39 +04:00
Alexey Ushakov
46e1a5bea9 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)
2024-11-22 15:22:39 +04:00
Maxim Kartashev
de51d85224 JBR-5857 Wayland: implement clipboard support
(cherry picked from commit c155acb7f5)
2024-11-22 15:22:38 +04:00
Dmitry Batrak
c21d6214db 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)
2024-11-22 15:22:38 +04:00
Maxim Kartashev
a5db99b19e JBR-6138 Wayland: utilize gtk_shell1 protocol to mark dialogs as modal
(cherry picked from commit ba60bfa1f4)
2024-11-22 15:22:38 +04:00
Maxim Kartashev
47c12ec8b2 JBR-6117 Wayland: JVM shutdown hang
(cherry picked from commit 20b2eeb0cc)
2024-11-22 15:22:38 +04:00
Dmitry Batrak
e74a932989 JBR-5961 Wayland: can't switch between projects using menu
prevent using a pointer to destroyed surface

(cherry picked from commit ba1b5cec5f)
2024-11-22 15:22:38 +04:00
Dmitry Batrak
2273d57748 JBR-5961 Wayland: can't switch between projects using menu
fix typo

(cherry picked from commit 1ee3c83ef0)
2024-11-22 15:22:38 +04:00
Dmitry Batrak
b4ce40e7db JBR-5961 Wayland: can't switch between projects using menu
support Window.toFront in Wayland toolkit

(cherry picked from commit b42043930f)
2024-11-22 15:22:38 +04:00
Maxim Kartashev
ae9658da65 JBR-6071 Alpine Linux compilation: error: implicit declaration of function 'pthread_getname_np'
(cherry picked from commit 72722dac36)
2024-11-22 15:22:38 +04:00
Maxim Kartashev
ac3ee205c1 JBR-5989 Wayland: jdk_awt_wayland test group
(cherry picked from commit 05ad0c35dd)
2024-11-22 15:22:38 +04:00
Maxim Kartashev
fb2722c7ee JBR-6025 Wayland: miscellaneous small improvements
(cherry picked from commit 9dfeaac204)
2024-11-22 15:22:38 +04:00
Alexey Ushakov
8b3eee02f9 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)
2024-11-22 15:22:38 +04:00
Alexey Ushakov
60db955ea5 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)
2024-11-22 15:22:37 +04:00
Maxim Kartashev
4a8d3a74d2 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)
2024-11-22 15:22:37 +04:00
Nikita Gubarkov
c398d4866c 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)
2024-11-22 15:22:37 +04:00
Alexey Ushakov
da2a21a8ce JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Protected surfaceAssigned from MT access

(cherry picked from commit e5a3802293)
2024-11-22 15:22:37 +04:00
Alexey Ushakov
a038f56ce2 JBR-6032 WLToolkit: Uninitialized WLComponentPeer sends paint requests
Skip sending paint events for not configured peers

(cherry picked from commit 145d6405e4)
2024-11-22 15:22:37 +04:00
Maxim Kartashev
0f38078636 JBR-5968 Wayland: support PERPIXEL_TRANSLUCENT
(cherry picked from commit 35bb2d2489)
2024-11-22 15:22:37 +04:00
Nikita Tsarev
fdc149fa3d JBR-5963: Fix RobotKeyboard test and implement getLockingKeyState
(cherry picked from commit 8210596700)
2024-11-22 15:22:37 +04:00
Maxim Kartashev
aec90f2f39 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)
2024-11-22 15:22:37 +04:00
Nikita Tsarev
d50f507b3a Regenerate wakefield-client-protocol using an older wayland-scanner to temporarily fix build problems
(cherry picked from commit 7310c73a94)
2024-11-22 15:22:37 +04:00
Nikita Tsarev
3654c96350 JBR-5676: Support emulating input events in Wakefield
(cherry picked from commit 6544d9d976)
2024-11-22 15:22:37 +04:00
Nikita Tsarev
09f5f95331 JBR-5900: Fix deadlock when enabling the Wakefield extension
(cherry picked from commit f1712ababd)
2024-11-22 15:22:36 +04:00
Nikita Tsarev
2f7672830c JBR-5896: Fix WLToolkit being instantiated twice
(cherry picked from commit 1bdfdc275d)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
4bb109b891 JBR-5861 Wayland: minimum necessary stubs to run IDEA
(cherry picked from commit d8dbfd7249)
2024-11-22 15:22:36 +04:00
Alexey Ushakov
851450caff 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)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
bb8838aad4 JBR-5661 Wayland: implement heavy-weight popup windows
(cherry picked from commit abdfb7231b)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
5890786634 JBR-5666 Wayland: WLToolkit doesn't work with weston
Multiple Wayland buffers support.

(cherry picked from commit 4541c118ff)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
455d9f72a3 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)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
686091e47a 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)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
bdca8b785c JBR-5655 java/awt/Toolkit/Wayland/WaylandToolkit.java: WLToolkit not found
WLToolkit made operational in headless mode

(cherry picked from commit 5679e134a7)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
bedbd74cd5 Wayland: fix AWT initialization on macOS
(cherry picked from commit 382e6c6989)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
6ac646f3aa Wayland: fixed build errors on macOS
(cherry picked from commit 82fe989dd7)
2024-11-22 15:22:36 +04:00
Maxim Kartashev
2c5ed3fcd9 Wayland: fixed build errors with older versions of Wayland
(cherry picked from commit d6150b8c8b)
2024-11-22 15:22:35 +04:00
Alexey Ushakov
5f8e079046 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)
2024-11-22 15:22:34 +04:00
Vitaly Provodin
903d91f0ec Update README.md
(cherry picked from commit 49c5e7dd3a)
2024-11-22 14:57:51 +04:00
Vitaly Provodin
17afcdc28b 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)
2024-11-22 14:57:51 +04:00
Vitaly Provodin
f4d2123f9b 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)
2024-11-22 14:57:51 +04:00
Nikita Tsarev
fd98382ad2 JBR-7529: Explicitly check for press-and-hold in performKeyEquivalent
(cherry picked from commit 9fadadf039)
2024-11-22 14:57:51 +04:00
Vitaly Provodin
d6f4207cae JBR-7517 build JBR artefacts with CDS archives
(cherry picked from commit 0b5462b3ec)
2024-11-22 14:57:51 +04:00
Sergey Shelomentsev
266cda2c98 JBR-5318 add Github workflow usage for pull requests pre-commit testing
(cherry picked from commit f36aa7f9fa)
2024-11-22 14:57:51 +04:00
Vitaly Provodin
e6cec5db31 Update README.md
(cherry picked from commit d27df085c7)
2024-11-22 14:57:51 +04:00
bourgesl
18ff8c2c69 JBR-7460: fixed (macos) MTLTexturePool GC implementation: minor syntax updates from JBR-7461
(cherry picked from commit 713162c6b5)
2024-11-22 14:57:50 +04:00
Nikita Tsarev
54d8271efe JBR-7426: Fix cancelling press-and-hold causing some future key events being swallowed
(cherry picked from commit a07d5e4a60)
2024-11-22 14:57:50 +04:00
bourgesl
20f0b29465 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)
2024-11-22 14:57:50 +04:00
Dmitrii Morskii
4f7dc4bc20 JBR-6772 handled case with adding new timers after VM was suspended
(cherry picked from commit 1dd81b186b)
2024-11-22 14:57:50 +04:00
Maxim Kartashёv
e868091d1f 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)
2024-11-22 14:57:50 +04:00
Sergey Shelomentsev
86a7deca8c Update jbr-api version to 1.0.2
(cherry picked from commit 9c4a2ac50a)
2024-11-22 14:57:50 +04:00
Stanislav Dombrovsky
736aa45c34 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)
2024-11-22 14:57:50 +04:00
Nikita Tsarev
dc2af2a6ed JBR-6588: JBR API for inspecting certain properties of KeyEvents
(cherry picked from commit cf2abf34d7)
2024-11-22 14:57:46 +04:00
Nikita Tsarev
a57e628701 JBR-7449: Fix press-and-hold cancel keys not being swallowed by JBR
(cherry picked from commit a0dbdff2b0)
2024-11-22 14:57:22 +04:00
Dmitrii Morskii
9c23bb0082 JBR-7438 tune updateCursorImmediately method
(cherry picked from commit 49b1001c2c)
2024-11-22 14:57:22 +04:00
Alexey Ushakov
a35bc75403 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)
2024-11-22 14:57:22 +04:00
Artem Bochkarev
11f220f501 JBR-5405: supported BufImgSurfaceData
(cherry picked from commit 3c2d26f834)
2024-11-22 14:57:22 +04:00
Maxim Kartashev
fdbfc63112 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)
2024-11-22 14:57:20 +04:00
Maxim Kartashev
5d20f48c13 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)
2024-11-22 14:54:48 +04:00
Artem Bochkarev
439ae9d1fd JBR-4430 Fixed execution permissions on Linux
(cherry picked from commit f3896017f0)
2024-11-22 14:54:48 +04:00
Vitaly Provodin
fea0198a5f update exclude list on results of 21.0.3_b517.1 test runs
(cherry picked from commit 88a92ef655)
2024-11-22 14:54:48 +04:00
Vitaly Provodin
edd4a823a8 Update README.md
(cherry picked from commit 4d2ddff1f8)
2024-11-22 14:54:48 +04:00
bourgesl
df08d92e3e 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)
2024-11-22 14:54:48 +04:00
Vitaly Provodin
599cb62e6e Update README.md
(cherry picked from commit 2edeae7740)
2024-11-22 14:54:48 +04:00
Vitaly Provodin
61fc211eb3 JBR-6696: fix drawableId usage + revert PrinterJob changes (non-appkit thread)
(cherry picked from commit 5229c513e3)
2024-11-22 14:54:47 +04:00
Vitaly Provodin
6203a42fa3 Update README.md
(cherry picked from commit c6583bd7fc)
2024-11-22 14:54:47 +04:00
Vitaly Provodin
0685d2b4f8 Update README.md
(cherry picked from commit db562b31b0)
2024-11-22 14:54:47 +04:00
bourgesl
7e7a6f9a4b 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)
2024-11-22 14:54:47 +04:00
Alexey Ushakov
ddea806cef 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)
2024-11-22 14:54:47 +04:00
Nikita Tsarev
e6a1e51370 JBR-6764: Add null check on hostAdapterLocator
(cherry picked from commit 7396316337)
2024-11-22 14:54:47 +04:00
Sergey Shelomentsev
9a3bf6a51d JBR-4912 test moved from JBR repository
(cherry picked from commit 4732942427)
2024-11-22 14:54:47 +04:00
Nikita Provotorov
8af5bd1867 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)
2024-11-22 14:54:47 +04:00
Nikita Tsarev
a221a0cc0f 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)
2024-11-22 14:54:47 +04:00
Vitaly Provodin
897ad8b7c7 Update README.md
(cherry picked from commit ca6ad3d091)
2024-11-22 14:54:47 +04:00
Artem Bochkarev
6e5564413d JBR-5405: implementation of direct raster loading for VolatileImage
(cherry picked from commit d963035445)
2024-11-22 14:54:47 +04:00
Vitaly Provodin
c758dc1792 update exclude list on results of 21.0.3_b479 test runs
(cherry picked from commit 3c65d18f2e)
2024-11-22 14:54:46 +04:00
Vitaly Provodin
b6cf67a5e4 fixup! JBR-7263 introduce /othervm for the tests specifying -Djetbrains.runtime.api.extendRegistry=true
(cherry picked from commit b85f46318a)
2024-11-22 14:54:46 +04:00
bourgesl
37be6f4345 JBR-7170: fixed NPE if peer is null
(cherry picked from commit a786741193)
2024-11-22 14:54:46 +04:00
Sergey Shelomentsev
181c9a61d5 Set jbr-api version to 1.0.0
(cherry picked from commit fa825aee1d)
2024-11-22 14:54:46 +04:00
Nikita Tsarev
eecb988726 JBR-7133: JBR API for IME replacement range on macOS
(cherry picked from commit b807d0f946)
2024-11-22 14:54:46 +04:00
Vitaly Provodin
440940ffe8 update exclude lists removing lines related to fixed issues
(cherry picked from commit 4526475115)
2024-11-22 14:54:46 +04:00
Vitaly Provodin
ae4b6f835f Update README.md
(cherry picked from commit 48e2248486)
2024-11-22 14:54:46 +04:00
Maxim Kartashev
0cd368a00f JBR-5761 Make error printing more robust during early stages of VM initialization
(cherry picked from commit 84d95894e4)
2024-11-22 14:54:46 +04:00
bourgesl
825d1728b9 JBR-7170: added explicit @available for addPresentedHandler()
(cherry picked from commit 7973a4cff4)
2024-11-22 14:54:46 +04:00
bourgesl
e8704d139f JBR-7170: implement FPS counters for metal using callbacks from MTLLayer presentHandler
(cherry picked from commit cf06dcc383)
2024-11-22 14:54:46 +04:00
Nikita Gubarkov
1d59bdb3c8 JBR-5615 add sun.java2d.logDisplays VM option
It prints to stdout whenever display configuration is changed.

(cherry picked from commit 8eec3188c6)
2024-11-22 14:54:43 +04:00
Nikita Gubarkov
4c8396bf9d 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)
2024-11-22 14:50:17 +04:00
Roman Shevchenko
bd4a284bf8 JBR-7194: extension-based filters in native file dialogs
(cherry picked from commit cf5d136b3e)
2024-11-22 14:49:53 +04:00
Nikita Tsarev
a676a0aad0 JBR-7134: Fix InputMethodTests on macOS
(cherry picked from commit 7a970238af)
2024-11-22 14:49:53 +04:00
Vitaly Provodin
a27ed25cd2 Update README.md
(cherry picked from commit 6514818b3b)
2024-11-22 14:49:53 +04:00
Dmitrii Morskii
6b8982e506 JBR-7128 Use the correct WmSize event type for JFrame moved to another monitor
author: Sergei Tachenov
(cherry picked from commit 01f1c7e15d)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
b8643f8fd6 Update README.md
(cherry picked from commit 6242827cd1)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
6d35d705ee update exclude list on results of 21.0.3_b453.2 test runs
(cherry picked from commit 1bc34d2a51)
2024-11-22 14:49:52 +04:00
Sergey Shelomentsev
d6ac37d7b8 JBR-7117 Set initial display mode after test execution
(cherry picked from commit e4530745c2)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
b38c671937 Update README.md
(cherry picked from commit 0e705dc638)
2024-11-22 14:49:52 +04:00
Maxim Kartashev
c6b54fd1b4 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)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
0edfafe8bc Update README.md
(cherry picked from commit 9ace20e1e1)
2024-11-22 14:49:52 +04:00
Dmitry Drobotov
3329140e00 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)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
1df0f968ee Update README.md
(cherry picked from commit a66b19eb93)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
ca34e76119 Update README.md
(cherry picked from commit 68a09733c8)
2024-11-22 14:49:52 +04:00
Vitaly Provodin
c65dba1f60 update exclude list on results of 21.0.3_b446.1 test runs
(cherry picked from commit a0edd1e725)
2024-11-22 14:49:52 +04:00
Nikita Provotorov
383af9f5f8 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)
2024-11-22 14:49:51 +04:00
Nikita Tsarev
0f06bb17bc JBR-7119: respect replacementRange in IME events on macOS
(cherry picked from commit 09c31a6242)
2024-11-22 14:49:51 +04:00
Dmitrii Morskii
60c78ca370 JBR-6376: implement detecting of OS theme on linux
(cherry picked from commit d8aaa3da47)
2024-11-22 14:49:48 +04:00
Dmitrii Morskii
808d905bc4 Revert "JBR-6372: implement detecting of OS theme on linux"
This reverts commit a657e4e2cbce139f2c5b53c7fb5f30d81f99e311.

(cherry picked from commit c626c9f220)
2024-11-22 14:48:24 +04:00
Nikita Gubarkov
2eba496a16 JBR-7046 Tolerate subpixelResolution=0 in Metal and OGL
(cherry picked from commit 28d0f00899)
2024-11-22 14:46:52 +04:00
Maxim Kartashev
99fbd3e26f JBR-5611 Window header is visible but body not on Linux Ubuntu with external display
(cherry picked from commit 96494dd000)
2024-11-22 14:46:52 +04:00
Nikita Gubarkov
520d63ca4d 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)
2024-11-22 14:46:52 +04:00
Nikita Tsarev
97affbd1b0 Disable flappy KeyCodesTest assertions, see JBR-6888
(cherry picked from commit 7f5dd368e3)
2024-11-22 14:46:52 +04:00
Sergei Tachenov
29050e760b 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)
2024-11-22 14:46:52 +04:00
Ajit Ghaisas
df2849501c update exclude list on results of main.2176 test runs
(cherry picked from commit 82a97445bd)
2024-11-22 14:46:52 +04:00
Vitaly Provodin
02c4e5c525 introduce jbMuslProblemList.txt exclude list
(cherry picked from commit 17c6238051)
2024-11-22 14:46:51 +04:00
Vitaly Provodin
8380920fe1 update exclude list on results of 21.0.2_b427.6 test runs
(cherry picked from commit e768c854cf)
2024-11-22 14:46:51 +04:00
Sergei Tachenov
e04882c8fa 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)
2024-11-22 14:46:51 +04:00
Maxim Kartashev
87cb83bff2 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)
2024-11-22 14:46:51 +04:00
Nikita Gubarkov
3a8a196ca6 JBR-6927 Safe asynchronous destruction of Metal graphics config.
(cherry picked from commit eee433fe5e)
2024-11-22 14:46:51 +04:00
Nikita Gubarkov
99b8e2f4e9 Fix Windows AWT compilation errors
Frame, Window, FileDialog, CustomTitleBar

(cherry picked from commit 2ada4a575b)
2024-11-22 14:46:51 +04:00
Vitaly Provodin
9b17f36ccc Update README.md
(cherry picked from commit 0ea55b1641)
2024-11-22 14:46:51 +04:00
Vitaly Provodin
ec7ebb1d9a JBR-6639 Docker images for JBR/JCEF testing
(cherry picked from commit 1342899218)
2024-11-22 14:46:51 +04:00
Vitaly Provodin
2aaa02b414 JBR-6915 add the option -w into mkimages scripts
(cherry picked from commit 56bb878275)
2024-11-22 14:46:51 +04:00
Alexey Ushakov
ffae92c047 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)
2024-11-22 14:46:51 +04:00
Dmitrii Morskii
88412d3479 JBR-6171 removing deadlock related to calling getCurrentServerTime
(cherry picked from commit 5fa4617d38)
2024-11-22 14:46:51 +04:00
Maxim Kartashev
65c5d36b67 JBR-6847 Improve locking performance on Windows
Use -XX:+UnlockExperimentalVMOptions -XX:-UseCriticalSection
to revert to the old behavior

(cherry picked from commit 72ffacf34a)
2024-11-22 14:46:50 +04:00
Vitaly Provodin
765a175ddf update exclude list on results of 21.0.2_b417.1 test runs
(cherry picked from commit b77ac8db98)
2024-11-22 14:46:50 +04:00
Dmitrii Morskii
713d5cc73c JBR-6372: implement detecting of OS theme on linux
(cherry picked from commit 1d47383016)
2024-11-22 14:46:46 +04:00
Vitaly Provodin
cc9f08c120 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)
2024-11-22 14:45:23 +04:00
Nikita Gubarkov
cde41dd22a JBR-6723 Deal with integer overflow in DrawGlyphList with enabled subpixelResolution
(cherry picked from commit 8b34ae396c)
2024-11-22 14:45:23 +04:00
Vitaly Provodin
215ed8c0ed Update README.md
(cherry picked from commit bdae8e43fb)
2024-11-22 14:45:22 +04:00
Nikita Provotorov
beaf69ca0c 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)
2024-11-22 14:45:22 +04:00
Dmitrii Morskii
c89d77c9b4 JBR-6541 Added ability to get supported features and stylistic sets for font
(cherry picked from commit 170e743a13)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
e2e32d2e04 increase delay in InputMethodTest
(cherry picked from commit 8048ea52f7)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
3e773e17bd JBR-6704: Fix extra IME events when a ctrl shortcut causes window focus switch [macOS]
(cherry picked from commit 4d851790cd)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
99e8fb3211 JBR-6331: Fix some memory safety issues in macOS keyboards
(cherry picked from commit 0f9ba8771f)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
0a41199b09 JBR-6028: Check before attempting to switch to a layout that might not exist in KeyCodesTest
(cherry picked from commit 421dd1fa69)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
323d52837a InputMethodTest: fix certain IMEs not being added properly
(cherry picked from commit 621a5e37d6)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
93aec2cc7f JBR-5379: Ignore input events only on permament focus loss
(cherry picked from commit ca8aebd211)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
fdf51e6cf4 JBR-5630: vmoption to change dead key reporting behavior on macOS
(cherry picked from commit aeb6569d4c)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
580d82071a JBR-5469: Fix NextAppWinKey behavior with certain keys
(cherry picked from commit 9a1d6d1813)
2024-11-22 14:45:22 +04:00
Nikita Tsarev
9b14e379d6 JBR-5558: macOS keyboard rewrite 2
(cherry picked from commit 81f3819f4e)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
234cd74f35 JBR-5295: Fix wrong keycodes for non-letter keys that lack a corresponding VK_ constant on macOS
(cherry picked from commit 3c42e56d93)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
24d332b6bc 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)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
a4a0f028e8 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)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
e232fb9b24 JBR-5233 Setup/teardown necessary keyboard layouts in macOS keyboard tests
(cherry picked from commit 1fa48463f2)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
a6af20869d 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)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
2f98b30fdd Revert "macOS national keyboard support"
This reverts commit 21bffd06bc.

(cherry picked from commit 7806ef7ff3)
2024-11-22 14:45:21 +04:00
Nikita Provotorov
5dd35e53ff 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)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
21c13c67f3 JBR-4990: Undo changes to ExtendedKeyCodes
(cherry picked from commit 823086623e)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
30b1c8fd40 JBR-3860: Fix shortcut behavior when Shift is the only modifier
(cherry picked from commit e419730031)
2024-11-22 14:45:21 +04:00
Nikita Tsarev
db7b9f2e05 JBR-4990: Fix regression tests for national keyboard layouts on macOS
(cherry picked from commit 5835150f63)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
6e3324ace8 update exclude list on results of 21.0.2_b393.7 test runs
(cherry picked from commit a396e62035)
2024-11-22 14:45:20 +04:00
Nikita Gubarkov
0f80dec653 JBR-6723 flush vertex cache and command buffer before freeing glyph cache. (#334)
(cherry picked from commit 1faccf3995)
2024-11-22 14:45:20 +04:00
Alexey Ushakov
ec4b5167a7 JBR-6785 wsl: update build scripts for linux target
Added explicit platform target

(cherry picked from commit 3b96e66202)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
c0223ada37 Update README.md
(cherry picked from commit 74b00b6c2f)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
ef0037a053 Update README.md
(cherry picked from commit 163ce4ecce)
2024-11-22 14:45:20 +04:00
Maxim Kartashev
19a3a47ece JBR-6742 Record resident set size in JVM fatal error log
(cherry picked from commit 5cc72b464b)
2024-11-22 14:45:20 +04:00
Alexey Ushakov
86fe19e328 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)
2024-11-22 14:45:20 +04:00
Dmitry Drobotov
659bc6a28b 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)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
bf798cd181 update exclude list linux-x86 failures
(cherry picked from commit 264bcf41f9)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
dae8a4ebf8 update exclude list on results of 22_b2075 test runs
(cherry picked from commit 37a71238b2)
2024-11-22 14:45:20 +04:00
Vitaly Provodin
f16613d84f update exclude list - remove failures no having tickets
(cherry picked from commit 4d11023858)
2024-11-22 14:45:20 +04:00
Nikita Provotorov
4016334559 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)
2024-11-22 14:45:19 +04:00
Dmitry Drobotov
d3fe16e444 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)
2024-11-22 14:45:19 +04:00
Vitaly Provodin
6b610495b4 Update README.md
(cherry picked from commit b93b6a39fc)
2024-11-22 14:45:19 +04:00
Dmitrii Morskii
4078e38f41 JBR-5500 Handled situation of processing WM_ENDSESSION in process of closing application
(cherry picked from commit c87b70ad46)
2024-11-22 14:45:19 +04:00
Vitaly Provodin
646db9a772 Update README.md
(cherry picked from commit 588d57f140)
2024-11-22 14:45:19 +04:00
Dmitry Drobotov
87c964c253 JBR-6472 Add default value in CAccessibility.isComboBoxEditable to avoid NPE
(cherry picked from commit 93937603b3)
(cherry picked from commit 6a70aebb6b)
2024-11-22 14:45:19 +04:00
Alexey Ushakov
639404934e JBR-6612 Provide standard scripts for performance measurements
run_rp.sh - additional checks

(cherry picked from commit e1cf099c09)
2024-11-22 14:45:19 +04:00
Maxim Kartashev
9bdfdb3e46 JBR-6246 Do not overwrite CDS archives after created with jlink
(cherry picked from commit 457e760872)
2024-11-22 14:45:19 +04:00
Alexey Ushakov
30dcd99e7b JBR-6612 Provide standard scripts for performance measurements
Initial implementation for linux and macOS

(cherry picked from commit fe09bf671b)
2024-11-22 14:45:19 +04:00
Nikita Tsarev
4f9efb986e JBR-6297: Don't check for NSInputManager wantsToHandleMouseEvents in mouseDown by default
(cherry picked from commit c08268def6)
2024-11-22 14:45:19 +04:00
Maxim Kartashev
0644770adc Update README.md with up-to-date build instructions
(cherry picked from commit 695d0a0577)
2024-11-22 14:45:19 +04:00
Maxim Kartashev
dde185a4c7 JBR-6247 Update JBR-specific tests after JDK-8314823
(cherry picked from commit 791448a24d)
2024-11-22 14:45:18 +04:00
Maxim Kartashev
75e67e471a 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)
2024-11-22 14:45:18 +04:00
Vitaly Provodin
fd8cc29fd1 Update README.md
(cherry picked from commit 22f4dd6d4a)
2024-11-22 14:45:18 +04:00
Vitaly Provodin
bda5240422 Update README.md
(cherry picked from commit c6cc4d76c1)
2024-11-22 14:45:18 +04:00
Alexey Ushakov
93268c99a5 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)
2024-11-22 14:45:18 +04:00
Nikita Gubarkov
6ee29be5f2 JBR-4618 Force window size update after display reconfiguration
- Re-create all GraphicsDevices on displayChanged()

(cherry picked from commit a59d4903b2)
2024-11-22 14:45:18 +04:00
Dmitrii Morskii
e7317c7803 JBR-6671 added option 'freetype.font.rendering'
(cherry picked from commit a24c5bbcdb)
2024-11-22 14:45:18 +04:00
Dmitrii Morskii
3479f7d3a5 Revert "JBR-6346 update Inter font version"
This reverts commit 7712e529330674b83e39c8e81701db32436d42dc.

(cherry picked from commit 1752433479)
2024-11-22 14:45:18 +04:00
bourgesl
da5644cc55 Revert "JBR-6522: ensure thread-safety in MTLGC_DestroyMTLGraphicsConfig (pthread_mutex_t)"
This reverts commit e7e3638c52.

(cherry picked from commit a2ee33a45a)
2024-11-22 14:45:18 +04:00
bourgesl
674e657269 JBR-6522: ensure thread-safety in MTLGC_DestroyMTLGraphicsConfig (pthread_mutex_t)
(cherry picked from commit 3ddc59a433)
2024-11-22 14:45:18 +04:00
Vitaly Provodin
a7346ef828 JBR-6649 add synchronization for creating UI
(cherry picked from commit 9618df8e14)
2024-11-22 14:45:18 +04:00
Nikita Gubarkov
b5f072c846 JBR-6651 Exclude keycap emoji from EmojiVariation test.
(cherry picked from commit bb1926d974)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
3e624e5aff update exclude list on results of 22_b2014 test runs
(cherry picked from commit 99eb375cfd)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
15c184bf3f JBR-6620 restore displayMode to the state that was before running the test
(cherry picked from commit 285d3d3860)
2024-11-22 14:45:17 +04:00
Dmitrii Morskii
28a1c024d9 JBR-6346 update Inter font version
(cherry picked from commit 30820c33ba)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
8f2b982e4c Update README.md
(cherry picked from commit 4fef254b44)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
94414abaab remove resolved issues from exclude list
(cherry picked from commit 1bdef4e67a)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
6573ad84d6 Update README.md
(cherry picked from commit 888e8bda45)
2024-11-22 14:45:17 +04:00
Dmitrii Morskii
8edcb51d58 JBR-6604 supported case when fonts directory is missing
(cherry picked from commit a622888816)
2024-11-22 14:45:17 +04:00
Aleksey Shipilev
c9c1b97a44 update exclude list on results of main.2003 test runs
(cherry picked from commit 2f441c0a3b)
2024-11-22 14:45:17 +04:00
Vitaly Provodin
1f76aa036f JBR-6591 specify values for the configure options --with-vendor-url and --with-vendor-bug-url
(cherry picked from commit b7f236be6b)
2024-11-22 14:45:17 +04:00
Maxim Kartashev
93dcf93bdf JBR-4173 Tier1 test failures in jdk/javadoc/doclet/testModules
Introduction of JBR API changed the order of modules appearing in Java
Doc. This commit updates the corresponding tests to match the current
output with JBR API.

(cherry picked from commit 939184e2a6)
2024-11-22 14:45:16 +04:00
Dmitry Batrak
1b0fe82e10 JBR-6449 Introduce FontMetricsAccessor into JBR API
JBRE-MR-368

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

(cherry picked from commit bb67fc186a)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
212c39e500 JBR-6558 synchronize drawing and the test checking
(cherry picked from commit a8f38d8682)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
4fc606a924 JBR-6556 add saving screenshots for analysis of test failures
(cherry picked from commit 9330ab5416)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
81cdeeb7a1 update exclude list on results of 21.0.1_b334 test runs
(cherry picked from commit f4c811c548)
2024-11-22 14:45:16 +04:00
Dmitrii
d0786cc2eb JBR-3098 move repaintPeer event from AppKit thread to EDT on macos
(cherry picked from commit 11d3e5414f)
2024-11-22 14:45:16 +04:00
Nikita Gubarkov
2386087437 JBR-6264 Improved coordinate conversion in XWayland mode
(cherry picked from commit 9c96ecd2f7)
2024-11-22 14:45:16 +04:00
bourgesl
dcd155364e JBR-6505: removed extra setNeedDisplay() in startRedrawIfNeeded() to restore JavaDraw performance (more frames rendered than real vsync FPS)
(cherry picked from commit d046741a56)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
0e39dcf76d update exclude list on results of 21.0.1_b331.1 test runs
(cherry picked from commit 4d755ad656)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
09add7a839 JBR-5863 add verbose mode thata saves the captured image
(cherry picked from commit b83c0ddca7)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
7479461a97 JBR-6493 add jtreg test
(cherry picked from commit 96ee046fdc)
2024-11-22 14:45:16 +04:00
Vitaly Provodin
3fe7c6d37d update exclude list on results of 23_b1960 test runs
(cherry picked from commit f36606576d)
2024-11-22 14:45:15 +04:00
Dmitrii Morskii
0801617ae4 Revert "JBR-6346 update Inter font version"
This reverts commit 9aa690a94e.

(cherry picked from commit c97c8eb5fd)
2024-11-22 14:45:15 +04:00
bourgesl
b15d675b28 JBR-6241: RenderPerf 23.12: remove older RenderPerfTest in src
(cherry picked from commit eeae9a1cb2)
2024-11-22 14:45:15 +04:00
Vitaly Provodin
624fee0e95 JBR-6454 add synchronization at disposing windows
(cherry picked from commit 48bc9affc9)
2024-11-22 14:45:15 +04:00
bourgesl
49f6bba881 JBR-6377: fixed MTLLayer.redrawCount = 1 to avoid extra redraws with multiple windows
(cherry picked from commit 52610b9bf2)
2024-11-22 14:45:15 +04:00
Maxim Kartashev
02a110b457 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)
2024-11-22 14:45:13 +04:00
Nikita Gubarkov
211286bce3 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)
2024-11-22 14:44:22 +04:00
Alexey Ushakov
fa3a42a72d JBR-6433 Rounded corners of popups disappear after a while
Removed opacity from CAMetalLayer for layers with rounded corners

(cherry picked from commit e9bf36f41a)
2024-11-22 14:44:22 +04:00
Alexey Ushakov
9159d49445 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)
2024-11-22 14:44:22 +04:00
Dmitrii Morskii
8f29051147 JBR-6346 update Inter font version
(cherry picked from commit 37ac0f2c3d)
2024-11-22 14:44:21 +04:00
Nikita Provotorov
e6923a5627 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)
2024-11-22 14:44:21 +04:00
Vitaly Provodin
fe124874c8 JBR-6404 synchronize drawing and the test checking
(cherry picked from commit e763bb96ea)
2024-11-22 14:44:21 +04:00
Vitaly Provodin
a9029edff1 JBR-3902 create jbr_all test group
(cherry picked from commit 104bd3086a)
2024-11-22 14:44:21 +04:00
Maxim Kartashev
18176a1d9e JBR-6002 Linux: maximized window goes fullscreen after being moved between monitors
(cherry picked from commit 83c4c0364698f5bfb682d715bbe4ac70d50f11b3)
(cherry picked from commit 41dde53a30)
2024-11-22 14:44:21 +04:00
ngubarkov
3434d24c2a JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer.
(cherry picked from commit d2301edbd0de04747817a2d382f587056d954627)
(cherry picked from commit b694ce0e9a)
2024-11-22 14:44:21 +04:00
ngubarkov
98a5a1902d JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit 0aee99ac703f3b360277293e6e7a2e1aadfaba33)
(cherry picked from commit 637e8e473e)
2024-11-22 14:44:21 +04:00
ngubarkov
afc1cfc4a8 JBR-5265 Workaround incorrect position of content window in queryXLocation.
(cherry picked from commit 26684fd4c761dcd2a4c93673d7732095a2050c9b)
(cherry picked from commit 4f44486d15)
2024-11-22 14:44:19 +04:00
ngubarkov
e1c973515b JBR-5417 Fix flickering in multi-monitor setups on Linux.
(cherry picked from commit 9b813e21c361e9e4b97c52bdd8eccef0030a7763)
(cherry picked from commit d0fa8194dd)
2024-11-22 14:41:34 +04:00
Dmitry Batrak
ce1653e749 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)
2024-11-22 14:32:33 +04:00
Sergey Shelomentsev
6d4ec302db 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)
2024-11-22 14:32:33 +04:00
Nikita Provotorov
e9468d27ea 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)
2024-11-22 14:32:33 +04:00
Vitaly Provodin
f2059c815a update exclude list on results of 22_b1930 test runs
(cherry picked from commit def4d8ad64e4b1fea76ace0d9014c1a063e44891)
(cherry picked from commit 32327c3f64)
2024-11-22 14:32:32 +04:00
Vladimir Kharitonov
12942397d3 RDCT-766 add libwayland-cursor.so to ResolveSymbolsTestMinEnv
(cherry picked from commit 9626cc17447b96e8b4a16908f349e682525e3090)
(cherry picked from commit 09d1ab6ca20b51a46dad120ac044346bb2a8d48e)
(cherry picked from commit b3d3fc5bc0)
2024-11-22 14:32:32 +04:00
Vladimir Kharitonov
abc46a414d JBR-6272 add resolve symbols tests
(cherry picked from commit a4acdf005c53b1765ad356a740d4569db70e8b02)
(cherry picked from commit 9178b241d5d706c7628d5ebfac0fff8b54029b97)
(cherry picked from commit 262cccdd23)
2024-11-22 14:32:32 +04:00
Vitaly Provodin
05b86df483 JBR-6246 add (re)generating cds archives at jlink step
(cherry picked from commit 5f1b08c70d)
2024-11-22 14:32:32 +04:00
Nikita Gubarkov
55bf6e3eae 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)
2024-11-22 14:32:32 +04:00
Nikita Gubarkov
9224cbe8dd Added Clion project setup
(cherry picked from commit db962149ec)
2024-11-22 14:32:32 +04:00
Nikita Gubarkov
1350f33e52 Updated IDEA project setup
(cherry picked from commit 53a36e86fa)
2024-11-22 14:32:32 +04:00
Sergey Shelomentsev
e30739b2ed Don't trigger workflow on push
(cherry picked from commit d900720a03)
2024-11-22 14:32:32 +04:00
Dmitrii Morskii
0c356e7fee JBR-5724: fixed serialization and backward compatibility of Font
(cherry picked from commit 120cac9145)
2024-11-22 14:32:32 +04:00
Alexander Lobas
18ee5aab5c JBR-4834 JBR-5139 Rounded corners on Mac OS and Windows: support custom border color
(cherry picked from commit 936f47d811)
2024-11-22 14:32:32 +04:00
Dmitrii Morskii
331bd9f729 JBR-6044 handle absence of fontConfig library in setupRenderingFontHints
(cherry picked from commit 6d41e07ffa)
2024-11-22 14:32:31 +04:00
Dmitrii Morskii
374a73dc18 JBR-6041 started using correct type inside FcPatternGetValueFuncType
(cherry picked from commit fc2b096811)
2024-11-22 14:32:31 +04:00
Dmitrii Morskii
9cbb5c68a3 JBR-6018 removed incorrect test testFeaturesZeroFrac
(cherry picked from commit e387761828)
2024-11-22 14:32:31 +04:00
Dmitrii
64460d7b5a JBR-5502: optimize stringWidth & charsWidth methods of FontDesignMetrics
(cherry picked from commit b9eb40284f)
2024-11-22 14:32:31 +04:00
Dmitrii Morskii
23a10e2a89 JBR-5844: fixed other part of issue. Added missing implementation of native methods in fontconfigmanager
(cherry picked from commit dbd70b4401)
2024-11-22 14:32:31 +04:00
Alexey Ushakov
92cc2ddb6d 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)
2024-11-22 14:32:31 +04:00
Dmitrii Morskii
d0cade0e4a JBR-5844: fix case with non-scalable face
(cherry picked from commit 490080a315)
2024-11-22 14:32:31 +04:00
Dmitrii Morskii
7b2b440430 JBR-5804: refactoring of freetypeScaler and moving fontconfig's logic in separate file
(cherry picked from commit 4700386a2e)
2024-11-22 14:32:31 +04:00
Dmitrii
7bf3262b38 JBR-5246 add OpenType's features support
(cherry picked from commit a2900b0bd9)
2024-11-22 14:32:31 +04:00
Dmitry Batrak
0e26a1578f JBR-5751 java/awt/Focus/RowToleranceTransitivityTest.java: Focus got stuck while traversing.
(cherry picked from commit d56b4b045d)
2024-11-22 14:32:31 +04:00
Vitaly Provodin
b4b6758bf5 JBR-5286 make windows-aarch64 building script identical to the same script in jbr17
(cherry picked from commit a451d19108)
2024-11-22 14:32:30 +04:00
Vitaly Provodin
15e04846f1 update jetbrains.api hash and API version
(cherry picked from commit 2a53bf894c)
2024-11-22 14:32:30 +04:00
Vitaly Provodin
f1b6547d67 Revert "JBR-5724: fixed serialization and backward compatibility of Font"
This reverts commit c5cc5b4dedbdf73871f14db92afaac15fd985d86.

(cherry picked from commit 34ed77394f)
2024-11-22 14:32:30 +04:00
Vitaly Provodin
ae926b7019 JBR-6246 add default CDS archives into jbrsdk distributions
(cherry picked from commit f103a46a4d)
2024-11-22 14:32:30 +04:00
Dmitry Drobotov
88ebc7c973 JBR-4479 Add text caret tracking for macOS Accessibility Zoom
(cherry picked from commit 0dfbf34b37)
(cherry picked from commit 29ce00912d)
2024-11-22 14:32:30 +04:00
Dmitry Drobotov
47fb70de6b 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)
2024-11-22 14:32:30 +04:00
Vitaly Provodin
e50345e161 Update README.md
(cherry picked from commit 053f3acae4)
2024-11-22 14:32:30 +04:00
Maxim Kartashev
b2d1a300ab JBR-6220 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java became failing by time out on Linux
(cherry picked from commit 3f78590707)
2024-11-22 14:32:30 +04:00
Maxim Kartashev
6312e809a7 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)
2024-11-22 14:32:30 +04:00
Maxim Kartashev
bdc47837c5 JBR-5971 Wayland: support WindowMove JBR API
Updated the XToolkit implementation to match API changes required for
WLToolkit

(cherry picked from commit 7492c11138)
2024-11-22 14:32:30 +04:00
Maxim Kartashev
fa48513f08 JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
(cherry picked from commit 4496757a35)
2024-11-22 14:32:30 +04:00
Maxim Kartashev
b5feef2b7d JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()

(cherry picked from commit 747bc94e8f)
2024-11-22 14:32:29 +04:00
Maxim Kartashev
df09ba1d87 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)
2024-11-22 14:32:29 +04:00
Alexander Lobas
c65f1495f8 JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize
(cherry picked from commit ffb74e32a0)
2024-11-22 14:32:29 +04:00
Alexander Lobas
a8df3f08e3 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor
(cherry picked from commit 24930c2624)
2024-11-22 14:32:29 +04:00
Alexander Lobas
d3ae6ee5a3 JBR-5384 New UI: window header is hard to resize on the top edge, top/right corner
(cherry picked from commit c4dd01c027)
2024-11-22 14:32:29 +04:00
Alexander Lobas
f321384937 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)
2024-11-22 14:32:29 +04:00
Dmitry Batrak
51b8a12590 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)
2024-11-22 14:32:29 +04:00
Nikita Gubarkov
35d5d04a71 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)
2024-11-22 14:32:24 +04:00
Vitaly Provodin
2048210f6e update exclude list on results of 21.0.1_b293.1 test runs
(cherry picked from commit a247590ca0)
2024-11-22 14:23:43 +04:00
Nikita Provotorov
be0f144f6a 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)
2024-11-22 14:23:43 +04:00
Maxim Kartashev
8d7d39ebb4 JBR-6291 runtime/cds/appcds/dynamicArchive/TestDynamicDumpAtOom.java: Attempting to acquire lock OOMEStacks_lock/safepoint out of order
(cherry picked from commit c8c8881be4)
2024-11-22 14:23:43 +04:00
Alexander Lobas
b663c58ee6 JBR-5409 "No Print Service Found" Error when saving to PDF
(cherry picked from commit 9c9859ba1a)
2024-11-22 14:23:42 +04:00
Alexey Ushakov
3899fe55ef JBR-6281 Remove MTLEvent sync from Metal rendering code
Removed sync code

(cherry picked from commit 660d97005c)
2024-11-22 14:23:42 +04:00
Nikita Provotorov
79f423f2fd 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)
2024-11-22 14:23:42 +04:00
Nikita Provotorov
e228c61ea8 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)
2024-11-22 14:23:42 +04:00
Maxim Kartashev
e2b136b009 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)
2024-11-22 14:23:42 +04:00
Nikita Provotorov
37e8386e6b 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)
2024-11-22 14:23:42 +04:00
Nikita Provotorov
1c4904af41 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)
2024-11-22 14:23:42 +04:00
Vitaly Provodin
9a298e2f7d JBR-6255 improve calculation JDK_BUILD_NUMBER
(cherry picked from commit 186d1c3229)
2024-11-22 14:23:42 +04:00
Nikita Gubarkov
24b59dc947 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)
2024-11-22 14:23:42 +04:00
Alexey Ushakov
6d9ea2ab90 JBR-5025 Reduce latency during display reconfiguration in Metal
Moved metal load library checks to CGraphicsEnvironment

(cherry picked from commit eeee663bb4)
2024-11-22 14:23:42 +04:00
Alexey Ushakov
1c3a1186c3 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)
2024-11-22 14:23:42 +04:00
Alexey Ushakov
8a4847a794 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)
2024-11-22 14:23:41 +04:00
Vitaly Provodin
d76d89affa Update README.md
(cherry picked from commit 74f354be28)
2024-11-22 14:23:41 +04:00
Vladimir Kharitonov
e2a468bb01 JBR-6239 sign frameworks in cef_server.app
(cherry picked from commit 8f6ae7a89c)
2024-11-22 14:23:41 +04:00
Maxim Kartashev
9bddd58f80 JBR-4020 Test ObsoleteFlagErrorMessage fails after +IgnoreUnrecognizedVMOptions has become the default
(cherry picked from commit ae5963a094)
(cherry picked from commit 5b27cdbd14)
2024-11-22 14:23:41 +04:00
Maxim Kartashev
abb74c1017 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)
2024-11-22 14:23:41 +04:00
Alexey Ushakov
b8f416d5a6 JBR-5741 broken build in main because of hotspot changes (JDK-8309613)
Added missing parameter

(cherry picked from commit c4c6d022f8)
2024-11-22 14:23:41 +04:00
Maxim Kartashev
ebb87ff8e3 JBR-5480 Include more information in OOME crash reports
(cherry picked from commit 44f8dc85da)
2024-11-22 14:23:41 +04:00
Maxim Kartashev
b88fcae867 JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr
(cherry picked from commit e511c26794)
2024-11-22 14:23:41 +04:00
Maxim Kartashev
3b5c1771ee JBR-5431 Include memory used by JNI references into crash reports
(cherry picked from commit 9a6eb0b730)
2024-11-22 14:23:41 +04:00
Vitaly Provodin
804794c4a1 Update README.md
(cherry picked from commit 66c66543bb)
2024-11-22 14:23:41 +04:00
bourgesl
268f6041c0 JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer
(cherry picked from commit dd4f818488)
2024-11-22 14:23:39 +04:00
Nikita Tsarev
cbbd09e86d JBR-6215: Override XToolkit's default nonintuitive behavior when translating F13-F24 keys
(cherry picked from commit 413b679eda)
2024-11-22 14:17:07 +04:00
Konstantin Bulenkov
6d48ffe9cd 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)
2024-11-22 14:17:07 +04:00
Nikita Gubarkov
d078f64809 JBR-6208 Extended glyph cache for Metal
(cherry picked from commit 6878613df0)
2024-11-22 14:17:07 +04:00
Vitaly Provodin
1cfaf786b0 JBR-6181 add Linux executables with bundled FreeType
(cherry picked from commit 12449b3de5)
2024-11-22 14:17:07 +04:00
Vitaly Provodin
6582f47073 Update README.md
(cherry picked from commit cff858e253)
2024-11-22 14:17:07 +04:00
Alexey Ushakov
f1dc276ee8 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)
2024-11-22 14:17:07 +04:00
Dmitrii Morskii
77e6fb88b6 JBR-6135 removed dependence on process reading TTF in fixed size chunks
(cherry picked from commit 7c4721fa68)
2024-11-22 14:17:07 +04:00
Alexey Ushakov
c4efceac45 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)
2024-11-22 14:17:07 +04:00
Vitaly Provodin
64b8c07759 Update README.md
(cherry picked from commit 7d1bcef8cd)
2024-11-22 14:17:06 +04:00
Nikita Provotorov
2d74661a77 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)
2024-11-22 14:17:06 +04:00
Vitaly Provodin
7e4aa06e86 JBR-6130 add VK_TAB release action
(cherry picked from commit e16990eb93)
2024-11-22 14:17:06 +04:00
Alexey Ushakov
56634f6459 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request

(cherry picked from commit bd436709f5)
2024-11-22 14:17:06 +04:00
ghostflyby
17c5e35513 JBR-6124 Fix macOS services writing text back to textfield
(cherry picked from commit 51bde60b42)
2024-11-22 14:17:06 +04:00
Sergey Shelomentsev
31b66aaac9 exclude FocusTraversalOrderTest
(cherry picked from commit f7004afdb1)
2024-11-22 14:17:06 +04:00
Sergey Shelomentsev
7421e28dbc JBR-6060 add focus traversal order test
(cherry picked from commit 40dec50c3a)
2024-11-22 14:17:06 +04:00
Nikita Gubarkov
88467f91d4 JBR-6016 doPrivileged for JBR API internal services.
(cherry picked from commit 06290bfd1e)
2024-11-22 14:17:06 +04:00
Vitaly Provodin
698f2ab029 JBR-6008 Update JetBrains Mono fonts to v2.304
(cherry picked from commit 676a270ac1)
2024-11-22 14:17:06 +04:00
Vitaly Provodin
e4e21acbc1 Update README.md
(cherry picked from commit 0400cd7f9b)
2024-11-22 14:17:06 +04:00
Dmitry Batrak
4bf402bb5e JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
(cherry picked from commit 73678a99d5)
2024-11-22 14:17:05 +04:00
Dmitry Batrak
ad011d5b4b JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there
(cherry picked from commit 5dedf0e367)
2024-11-22 14:17:05 +04:00
Dmitry Batrak
e86b60a966 JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw
(cherry picked from commit 3ac357417b)
2024-11-22 14:17:05 +04:00
Dmitry Batrak
ce2db452ae 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)
2024-11-22 14:17:05 +04:00
ngubarkov
b22e60c664 JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode.
(cherry picked from commit 5df3fc666d)
2024-11-22 14:17:05 +04:00
ngubarkov
7607380464 JBR-5316 Fix fractional scaling HIDPI.
(cherry picked from commit acb62617d7)
2024-11-22 14:17:05 +04:00
Nikita Gubarkov
c3ad085109 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)
2024-11-22 14:17:05 +04:00
Nikita Gubarkov
8523a71040 IDEA-141456 Multimonitor HIDPI support for Linux
(cherry picked from commit 980c18ae92)
2024-11-22 14:17:03 +04:00
Dmitrii Morskii
2b35c06948 JBR-5724: fixed serialization and backward compatibility of Font
(cherry picked from commit e3da733724)
2024-11-22 14:15:10 +04:00
Dmitrii Morskii
8c004cd1b0 JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale
(cherry picked from commit de62b80ef2)
2024-11-22 14:15:10 +04:00
Vitaly Provodin
724e1d4b9f Update README.md
(cherry picked from commit b438d74f39)
2024-11-22 14:15:10 +04:00
Maxim Kartashev
29469d64c2 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)
2024-11-22 14:15:10 +04:00
Alexey Ushakov
e2bcb6bf27 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)
2024-11-22 14:15:10 +04:00
bourgesl
0a0c17c527 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)
2024-11-22 14:15:10 +04:00
Nikita Provotorov
9f8d2ce12f 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)
2024-11-22 14:15:10 +04:00
Dmitrii Morskii
d07d8008aa JBR-5548 fix BadSerializationTest
(cherry picked from commit 90d867d08b)
2024-11-22 14:15:10 +04:00
Vitaly Provodin
57c4552447 Update README.md
(cherry picked from commit 8efb8ded38)
2024-11-22 14:15:10 +04:00
Sergey Shelomentsev
e4722e1265 JBR-5746 wait for menu visibility of fail the test
add mouse events logging

(cherry picked from commit 5a05bd2046)
2024-11-22 14:15:10 +04:00
Dmitry Batrak
f7d6104458 JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events
(cherry picked from commit afa0283f16)
2024-11-22 14:15:09 +04:00
Dmitry Batrak
359182933a JBR-5684 Focus state is broken after closing of modal dialog in an inactive application
(cherry picked from commit 2f2fe7a11c)
2024-11-22 14:15:09 +04:00
Vitaly Provodin
0d3323daa3 update exclude list
(cherry picked from commit 36f380d4b4)
2024-11-22 14:15:09 +04:00
Vitaly Provodin
1e507447a4 Update README.md
(cherry picked from commit b4071ba08d)
2024-11-22 14:15:09 +04:00
Alexey Ushakov
80553bb415 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)
2024-11-22 14:15:09 +04:00
Dmitrii Morskii
e504dc754d JBR-1775: improved logic for choosing newer font between system and bundled ones
(cherry picked from commit 41cbdf720c)
2024-11-22 14:15:09 +04:00
Sergey Shelomentsev
ee00f304a9 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)
2024-11-22 14:15:09 +04:00
Vitaly Provodin
2ae4f8345a Update README.md
(cherry picked from commit 15fdca4193)
2024-11-22 14:15:09 +04:00
Alexey Ushakov
6c7a9f4cb9 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)
2024-11-22 14:15:09 +04:00
Alexey Ushakov
2f87bebb96 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)
2024-11-22 14:15:09 +04:00
Sergey Shelomentsev
c04a459504 JBR-5670 restore initial display mode after test execution
restore original display mode

(cherry picked from commit d098ad1f77)
2024-11-22 14:15:09 +04:00
Sergey Shelomentsev
01faf40b24 JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window
(cherry picked from commit 5467dea09b)
2024-11-22 14:15:09 +04:00
Vladislav Rassokhin
f24b48fba2 JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit bc145d39be)
2024-11-22 14:15:08 +04:00
Vladislav Rassokhin
074f66632d JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit 2fecc58be2)
2024-11-22 14:15:08 +04:00
Nikita Provotorov
9cab7af8b9 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)
2024-11-22 14:15:08 +04:00
Vladislav Rassokhin
d7b71d3b56 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)
2024-11-22 14:15:08 +04:00
Vladislav Rassokhin
b57a3fd97a JBR-5600 Staple .pkg with signature
(cherry picked from commit 6555023fd3)
2024-11-22 14:15:08 +04:00
Vladislav Rassokhin
17355e274c JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit 7916ed31b7)
2024-11-22 14:15:08 +04:00
Vladislav Rassokhin
caa1143e5b JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 95ef69df13)
2024-11-22 14:15:08 +04:00
Sergey Shelomentsev
40c9f05814 JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest
(cherry picked from commit b867b1c395)
2024-11-22 14:15:08 +04:00
Sergey Shelomentsev
10e46657db JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking

(cherry picked from commit 005de74127)
2024-11-22 14:15:08 +04:00
Sergey Shelomentsev
be7e191896 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)
2024-11-22 14:15:08 +04:00
Sergey Shelomentsev
f3c6ef5d32 remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java
(cherry picked from commit 9b6037dee3)
2024-11-22 14:15:08 +04:00
Sergey Shelomentsev
8901703d5a JBR-4494 pass ui scale options for child process
(cherry picked from commit e32e657c55)
2024-11-22 14:15:07 +04:00
Maxim Kartashev
17bf1af657 JBR-5656 Builds of JDK 21 are reproducible by default
(cherry picked from commit 0d663a139acf3d5cdb19b33494ab9f6273c4ebfa)
(cherry picked from commit f086917fa7)
2024-11-22 14:15:07 +04:00
bourgesl
bb2b1ac7c5 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)
2024-11-22 14:15:07 +04:00
Alexey Ushakov
5985e22185 JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID

(cherry picked from commit c0f779b7e6)
2024-11-22 14:15:07 +04:00
Vitaly Provodin
0a47167f10 JBR-5627 add regression test AsyncProfilerRunnerTest
(cherry picked from commit ce37138a4a)
2024-11-22 14:15:07 +04:00
Maxim Kartashev
df0394286d JBR-5631 Refactor Dockerfile for x64 builds
(cherry picked from commit 3bb93255e9)
2024-11-22 14:15:07 +04:00
Vitaly Provodin
3af80f97fb JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17
(cherry picked from commit f6be01d68c)
2024-11-22 14:15:07 +04:00
Alexey Ushakov
42858a6027 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)
2024-11-22 14:15:07 +04:00
Sergey Shelomentsev
6097d1bdec update a11y exclude list
(cherry picked from commit 5641f7141f)
2024-11-22 14:15:07 +04:00
Alexey Ushakov
70ed48f503 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)
2024-11-22 14:15:07 +04:00
bourgesl
e3973dd69d 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)
2024-11-22 14:15:07 +04:00
Alexey Ushakov
1acdeb0b14 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)
2024-11-22 14:15:06 +04:00
Nikita Provotorov
652fb7d2d7 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)
2024-11-22 14:15:06 +04:00
Alexey Ushakov
d7c9db725d JBR-4883 macOS: SIGSEGV at MTLVertexCache_FlushGlyphVertexCache
Use separate glyph cache for each MTLContext instance. Refactored MTLGlyphCache

(cherry picked from commit 845a30560e)
2024-11-22 14:15:06 +04:00
Alexey Ushakov
352e5d9835 JBR-5193 Do not use extra commandQueue in metal pipeline
Removed extra command queue

(cherry picked from commit a235903851)
2024-11-22 14:15:06 +04:00
Alexey Ushakov
30817c778c 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)
2024-11-22 14:15:06 +04:00
Vitaly Provodin
e4ae0e99a7 Update README.md
(cherry picked from commit aa1d64ca93)
2024-11-22 14:15:06 +04:00
Maxim Kartashev
e12abd20b4 jb/branchdiff.py is a lot faster
(cherry picked from commit 5c3726555d)
2024-11-22 14:15:06 +04:00
Sergey Shelomentsev
41add05c1a JBR-5505 update exclude list for a11y testing on Windows
(cherry picked from commit 12330ba916)
2024-11-22 14:15:06 +04:00
Sergey Shelomentsev
7d25e040ad JBR-5397 update exclude list for a11y testing on MacOS
(cherry picked from commit 688b16a796)
2024-11-22 14:15:06 +04:00
Sergey Shelomentsev
046c0b6a61 JBR-5441 fix wait for idle
(cherry picked from commit 8b5945f834)
2024-11-22 14:15:06 +04:00
Maxim Kartashev
6f84036def jb/branchdiff.py to warn if it can't differentiate between commits
(cherry picked from commit 3504702f9c)
2024-11-22 14:15:06 +04:00
Sergey Shelomentsev
cf5f5cdca3 JBR-5440 fix calculations for double click location
(cherry picked from commit e468d39869)
2024-11-22 14:15:06 +04:00
Artem Bochkarev
4edb24d9ff JBR-5426 write JCEF version info inside release file
(cherry picked from commit 59701eefa3)
2024-11-22 14:15:05 +04:00
Maxim Kartashev
ef0a6f4bc0 JBR-5445 JBRApiTest test fails on development builds
(cherry picked from commit d9d941f9c5)
2024-11-22 14:15:05 +04:00
Sergey Shelomentsev
2cc5a63539 JBR-5433 add typing latency text for JTextArea
(cherry picked from commit c6706f1794)
2024-11-22 14:15:05 +04:00
Vitaly Provodin
758a64af89 JBR-5432 increase setAutoDelay for Robot
(cherry picked from commit 17b10df182)
2024-11-22 14:15:05 +04:00
Maxim Kartashev
ac7acc0e12 JBR-5230 Wanted: an ability to use Unix Domain sockets with overridden default NIO file system
(cherry picked from commit 946a7ca9ec)
2024-11-22 14:15:05 +04:00
Sergey Shelomentsev
5e1d009985 fixup! JBR-4875 set proper OS to run ComboBoxTransparentTittleBarTest
(cherry picked from commit 611dcc6475)
2024-11-22 14:15:05 +04:00
Sergey Shelomentsev
f7f0cdc30d fix controls width calculation
(cherry picked from commit b88d26c9dd)
2024-11-22 14:15:05 +04:00
Sergey Shelomentsev
0233d235c5 split ActionListenerTest
(cherry picked from commit 36f13b0158)
2024-11-22 14:15:05 +04:00
Sergey Shelomentsev
2279ff1de8 JBR-5345 native controls detection and scale fixes
(cherry picked from commit e191789794)
2024-11-22 14:15:05 +04:00
Maxim Kartashev
b9eea52892 README.md: spelled out JBR distinctive features
(cherry picked from commit 51e9900c8b)
2024-11-22 14:15:05 +04:00
Vitaly Provodin
7d512936f7 update exclude list on results of 21_b28.1 test runs
(cherry picked from commit 4619c5ed7f)
2024-11-22 14:15:05 +04:00
Alexey Ushakov
3eb38f5f0e JBR-5330 Blank Welcome screen after moving to another display
Initialize currentDisplayID on AWTWindow creation

(cherry picked from commit c5ea4e48ac)
2024-11-22 14:15:04 +04:00
Nikita Tsarev
7b6453e666 JBR-5369: Update failing tests list in response to macOS keyboard support rewrite
(cherry picked from commit a9313e2d06)
2024-11-22 14:15:04 +04:00
Vitaly Provodin
042e5c5a6f Update README.md
(cherry picked from commit ed3d57cf10)
2024-11-22 14:15:04 +04:00
Vitaly Provodin
e0e35fc71e update exclude list on results of 21_b24.2 test runs
(cherry picked from commit 3276006be9)
2024-11-22 14:15:04 +04:00
Vitaly Provodin
1b0326325d Update README.md
(cherry picked from commit 552fa7c32e)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
3f531d3189 JBR-5350 Separate test for Mac OS
(cherry picked from commit dc4a094f03)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
6f261bd855 JBR-5346 run MaximizedCustomDecorationsTest on windows/mac only
(cherry picked from commit c47b6f4880)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
ffca6a87c1 JBR-5350 fix FrameNativeControlTest checks on MacOS
(cherry picked from commit f8f1c8625e)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
d5bde62924 JBR-5344 fix incorrectly specified VM options
(cherry picked from commit 2f101dbf8a)
2024-11-22 14:15:04 +04:00
Vitaly Provodin
da8e1a51a9 Update README.md
(cherry picked from commit 952295b14d)
2024-11-22 14:15:04 +04:00
Vitaly Provodin
bc6cbe7f99 update exclude list on results of 17.0.6_b855.1 test runs
(cherry picked from commit b018988c02)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
839e46c9d5 JBR-5313 fix broken custom decoration tests on Windows
(cherry picked from commit c6e21bdbad)
2024-11-22 14:15:04 +04:00
Sergey Shelomentsev
d0da7e5cbc JBR-5253 Use new JBR API for custom decorations
(cherry picked from commit fdead3d90a)
2024-11-22 14:15:03 +04:00
Vitaly Provodin
9ec4c810dc JBR-5300 move jbr-api.jar into test artefact
(cherry picked from commit f199d6c98a)
2024-11-22 14:15:03 +04:00
Vitaly Provodin
d137495e14 update exclude list on results of 17.0.6_b837.3 test runs
(cherry picked from commit 415267181c)
2024-11-22 14:15:03 +04:00
Maxim Kartashev
da874ea1e3 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)
2024-11-22 14:14:59 +04:00
Sergey Shelomentsev
971478cc3c set version for building jbr-api
(cherry picked from commit 6a0113fd07)
2024-11-22 14:03:13 +04:00
Sergey Shelomentsev
e600d96854 get rid of build-jbr-api scripts
(cherry picked from commit 1c8496e757)
2024-11-22 14:03:13 +04:00
Vitaly Provodin
4497f14a9a clean up exclude lists
(cherry picked from commit de6d9f328f)
2024-11-22 14:03:13 +04:00
Sergey Shelomentsev
fa2dfb549a 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)
2024-11-22 14:03:13 +04:00
Sergey Shelomentsev
be7aa3750d build jbr-api as a part of bundle build
(cherry picked from commit 45efe7fdd5)
2024-11-22 14:03:13 +04:00
Vitaly Provodin
93e5b90145 Update README.md
(cherry picked from commit dd24017389)
2024-11-22 14:03:13 +04:00
Vitaly Provodin
a397aa9d96 Update README.md
(cherry picked from commit 45d7501c9f)
2024-11-22 14:03:12 +04:00
Artem Semenov
8a3e9e2c49 JBR-5289 If the label has the role of a hyperlink, VO still pronounces it as plain text (#215)
(cherry picked from commit 675ca2f02e)
2024-11-22 14:03:12 +04:00
Alexey Ushakov
12f0f0fb65 JBR-5279 restore saving jbr native symbols bin/server/jvm.pdb
(cherry picked from commit 887b9dbcac)
2024-11-22 14:03:12 +04:00
Sergey Shelomentsev
338897da18 JBR-4875 update test to use new JBR API window custom decorations
(cherry picked from commit df92d71389)
2024-11-22 14:03:12 +04:00
Vitaly Provodin
b41e9d3982 Update README.md
(cherry picked from commit 373482ffc4)
2024-11-22 14:03:12 +04:00
Artem Semenov
8fe31ee15f JBR-5269 Announcement priorities not set correctly (#214)
(cherry picked from commit c34aa6fc6f)
2024-11-22 14:03:12 +04:00
Vitaly Provodin
e6fd21bbd3 Update README.md
(cherry picked from commit 3631c19265)
2024-11-22 14:03:12 +04:00
Artem Semenov
f68830f1c6 JBR-5248 exception in accessible announcing
(cherry picked from commit a4e0f6018f)
2024-11-22 14:03:12 +04:00
Vitaly Provodin
69f4dffa3c update exclude list on results of 21_b9 test runs
(cherry picked from commit 9f04c32c10)
2024-11-22 14:03:12 +04:00
Vitaly Provodin
be9351937c JBR-5217 enable NVDA support in Windows builds
(cherry picked from commit afc5710f21)
2024-11-22 14:03:12 +04:00
Vitaly Provodin
f19a8a653c Update README.md
(cherry picked from commit df4fd03fba)
2024-11-22 14:03:12 +04:00
AMPivovarov
cffa41dda8 JBR-5213 JBR API v0.0.9 - add GraphicsUtils (#208)
* relax type constraints in BltBufferStrategy.getDrawGraphics

(cherry picked from commit 715b615d88)
2024-11-22 14:03:12 +04:00
Artem Semenov
525b876e9a JBR-5221 Add announcing to JBRAPI
(cherry picked from commit 7189d50b76)
2024-11-22 14:03:11 +04:00
Vitaly Provodin
0d5b25e48d update exclude list on results of 21_b8 test runs
(cherry picked from commit 17d5e3895b)
2024-11-22 14:03:11 +04:00
Artem Semenov
05ad5ce92a JBR-4170 Implement API for announcing
(cherry picked from commit d7f14bf793)
2024-11-22 14:03:11 +04:00
Vitaly Provodin
84537a1a47 update exclude list on results of 21_b7 test runs
(cherry picked from commit e40cdc800e)
2024-11-22 14:03:11 +04:00
Vitaly Provodin
dc3047600d update exclude list on results of stability checking runs due to 8253184
(cherry picked from commit 166924f5ed)
2024-11-22 14:03:11 +04:00
Artem Bochkarev
b105c94eb0 JBR-3575 use flag processEvents in LWCToolkit.invokeAndWait
(cherry picked from commit dcf9ff3315)
2024-11-22 14:03:11 +04:00
Vitaly Provodin
6d32b84076 exclude several tests from runs on machines with enabled VoiceOver
(cherry picked from commit 8040e574e4)
2024-11-22 14:03:11 +04:00
Anton Tarasov
955956c28a 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)
2024-11-22 14:03:11 +04:00
Anton Tarasov
c996ee12c4 JBR-4362 [mac] system menu opens with duplicated items
(cherry picked from commit e32defe49d)
(cherry picked from commit 2d1e14f01d)
2024-11-22 14:03:11 +04:00
Anton Tarasov
7ef13d4a19 JBR-4328 remove LWCToolkit.unsafeNonblockingExecute
(cherry picked from commit 9a3f31a6c4)
(cherry picked from commit f9a02266a0)
2024-11-22 14:03:11 +04:00
Anton Tarasov
ebff6844e1 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)
2024-11-22 14:03:10 +04:00
Anton Tarasov
e39ccfb1a8 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)
2024-11-22 14:03:08 +04:00
Anton Tarasov
eaea0abe47 JBR-4119 UI freezes at sun.lwawt.macosx.CAccessibility.getChildrenAndRoles
(cherry picked from commit 6ba79774d8)
(cherry picked from commit e1623dc301)
2024-11-22 14:02:30 +04:00
Anton Tarasov
5986b3b7b1 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)
2024-11-22 14:01:43 +04:00
Anton Tarasov
5f8584f91d JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss
including JBR-4543 (NPE: IdeEventQueue.lambda$getNextEvent$0)

(cherry picked from commit b16d847947)
2024-11-22 14:01:41 +04:00
Anton Tarasov
fd5a976127 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)
2024-11-22 14:00:43 +04:00
Vitaly Provodin
bd9b1af2bc update exclude list on results of 21_b1447 test runs
(cherry picked from commit 3502c53a16)
2024-11-22 14:00:43 +04:00
Vitaly Provodin
e4501303a0 Update README.md
(cherry picked from commit fcbfb32b13)
2024-11-22 14:00:43 +04:00
Vitaly Provodin
9eb5d272ca update exclude list on results of main.1441 test runs
(cherry picked from commit 7194b34979)
2024-11-22 14:00:43 +04:00
Alexey Ushakov
5643c34a1a 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)
2024-11-22 14:00:43 +04:00
Artem Semenov
d630e77d5f 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)
2024-11-22 14:00:43 +04:00
Artem Semenov
d741d0ada2 JBR-4235 Context menu not readable after opening on Mac OS
(cherry picked from commit 83d6b20711)
2024-11-22 14:00:43 +04:00
Artem Semenov
e52d1db8b0 JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees.
(cherry picked from commit 47783c1c85)
2024-11-22 14:00:42 +04:00
Artem Semenov
31eea7506e JBR-3868 Combobox list is not voiced of VoiceOver
(cherry picked from commit 1f777d72ea)
2024-11-22 14:00:42 +04:00
Alexey Ushakov
a31c1a6440 JBR-5041 macOS: SIGSEGV at [libawt_lwawt] getRenderEncoder:(dstOps == NULL)
Protected code from using NULL dstOps

(cherry picked from commit 44c76b8b99)
2024-11-22 14:00:42 +04:00
Alexey Ushakov
a23f57504c 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)
2024-11-22 14:00:42 +04:00
Dmitry Batrak
94353afdbe 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)
2024-11-22 14:00:42 +04:00
Vitaly Provodin
daa91c8b35 Update README.md
(cherry picked from commit 0a469f5069)
2024-11-22 14:00:42 +04:00
Alexey Ushakov
16c29ee277 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)
2024-11-22 14:00:42 +04:00
Nikita Provotorov
bfbf04d97d 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)
2024-11-22 14:00:42 +04:00
Victor Kropp
daaf103341 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)
2024-11-22 14:00:42 +04:00
Nikita Provotorov
e262febdbb Update README.md
Replaced jbr-dev to main and other minor fixes.

(cherry picked from commit 91bea99984)
2024-11-22 14:00:42 +04:00
Vitaly Provodin
6609270cf4 update exclude list on results of 17.0.5_b721.3 test runs
(cherry picked from commit 652e397e29)
2024-11-22 14:00:42 +04:00
Alexey Ushakov
ba9e912402 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)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
c9b9c7f42a update exclude list on results of 17.0.5_b712.2 test runs
(cherry picked from commit ef68a82141)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
b1363f7400 JBR-4956 reduce width of screenshot by one pixel to exclude caret
(cherry picked from commit dd36d60415)
2024-11-22 14:00:41 +04:00
ngubarkov
a621711b17 JBR-4840 cache screen resolution in XToolkit
(cherry picked from commit b0c0a6ff75)
2024-11-22 14:00:41 +04:00
Alexey Ushakov
d5ffc050e6 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)
2024-11-22 14:00:41 +04:00
Dmitry Batrak
e15a0e2bfa JBR-5045 Invisible component can break focus cycle
(cherry picked from commit 0f57a27879)
(cherry picked from commit 8309d820fd)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
219e7da627 Update README.md
(cherry picked from commit 1fb0b4f098)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
7ec90bfdb9 Update README.md
(cherry picked from commit a8862ab989)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
c466635b6c update exclude list on results of 17.0.5_b691.6 test runs
(cherry picked from commit 668a433320)
2024-11-22 14:00:41 +04:00
Vitaly Provodin
cd4a76da12 Update README.md
(cherry picked from commit 2cdd0386c3)
2024-11-22 14:00:41 +04:00
Alexey Ushakov
521c4836cd 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)
2024-11-22 14:00:41 +04:00
Dmitry Batrak
25c135e7c0 JBR-4988 Transient Z-order violations on macOS
(cherry picked from commit bcba97511c)
(cherry picked from commit 3ff06e954d)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
d238e4ec8a JBR-4947 update alpine x64 image up to 3.14
(cherry picked from commit 88f2d7010f)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
a39ca272ea update exclude list on results of 17.0.5_b469.67 test runs
(cherry picked from commit 5ab3a9bf5f)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
aced27c13b Update README.md
(cherry picked from commit 61d47b2fd3)
2024-11-22 14:00:40 +04:00
Alexey Ushakov
af4b4a156a 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)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
71f29dd53d update Commit and Full testing exclude list on results of jbr17.668 test runs
(cherry picked from commit e7e823a0a3)
2024-11-22 14:00:40 +04:00
Maxim Kartashev
4fcadabd7b JBR-4951 In function 'convert_to_java_array': error: comparison of integer expressions of different signedness
(cherry picked from commit 4293e2832c)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
fd45558794 JBR-4089 add modules sun.awt sun.awt.image sun.java2d
(cherry picked from commit 2cae8fb09c)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
5e1a566593 update exclude list for Commit testing
(cherry picked from commit c037eec3ac)
2024-11-22 14:00:40 +04:00
Vitaly Provodin
03f0c7f226 exclude tests failing because of JBR-4933, JBR-4934
(cherry picked from commit 6f78d1b02c)
2024-11-22 14:00:40 +04:00
Alexey Ushakov
6889278a79 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)
2024-11-22 14:00:40 +04:00
Maxim Kartashev
f4cd63d582 Move JBR README.md to .github/
(cherry picked from commit b69b12f489)
2024-11-22 14:00:39 +04:00
Svyatoslav Vlasov
97337b049b 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)
2024-11-22 14:00:39 +04:00
Nikita Tsarev
fbb7bd04ca JBR-3941 Make apple.awt.captureNextAppWinKey default to false
(cherry picked from commit ea29fc8942)
2024-11-22 14:00:39 +04:00
Vitaly Provodin
9c591db266 JBR-4912 jb/java/api/frontend/CustomTitleBarDoubleClick.java intermittently throws java.awt.AWTError
(cherry picked from commit ff7ca451fe)
2024-11-22 14:00:39 +04:00
Maxim Kartashev
110fc64899 exclude java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java due to JBR-4880 on windows
(cherry picked from commit 2d98733ab5)
2024-11-22 14:00:39 +04:00
Alexey Ushakov
1ba7eaf993 JBR-4710 macOS: SIGSEGV at sun.java2d.metal.MTLLayer.blitTexture
Added check for disposed texture in the MTLLayer

(cherry picked from commit c27d8a7c5e)
2024-11-22 14:00:39 +04:00
Nikita Gubarkov
7867f5d82d 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)
2024-11-22 14:00:39 +04:00
Artem Bochkarev
552719d190 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)
2024-11-22 14:00:39 +04:00
Vitaly Provodin
4512578d09 exclude java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java due to JBR-4905 on windows&linux
(cherry picked from commit 8150b0e5e7)
2024-11-22 14:00:39 +04:00
Alexey Ushakov
63be3f0a88 JBR-4897 Reconnecting multiscreen monitor displays blank IDE
Handled NSWindowDidChangeScreenNotification, resolved race condition in window peer displayChanged listener

(cherry picked from commit 1e697c8623)
2024-11-22 14:00:39 +04:00
Vitaly Provodin
c87c4fe345 exclude jb/java/jcef/HandleJSQueryTest3314.sh due to JBR-4866 on linux
(cherry picked from commit d619e3320a)
2024-11-22 14:00:39 +04:00
Vitaly Provodin
0fcb972be0 exclude some tests due to JBR-4880 on windows
(cherry picked from commit 1a9fb2cfa2)
2024-11-22 14:00:38 +04:00
Vitaly Provodin
93f5767747 exclude javax/swing/JInternalFrame/8020708/bug8020708.java due to JBR-4879 on windows
(cherry picked from commit 85ba459fae)
2024-11-22 14:00:38 +04:00
Vitaly Provodin
529f86a1c7 exclude java/awt tests which do not close child processes/windows
(cherry picked from commit 3cf2b36323)
2024-11-22 14:00:38 +04:00
Vitaly Provodin
31dd3d9c33 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)
2024-11-22 14:00:38 +04:00
Maxim Kartashev
0e99617f7b JBR-4877 WARNING: JNI local refs: 33, exceeds capacity: 32
(cherry picked from commit a10770c49d)
2024-11-22 14:00:38 +04:00
Artem Bochkarev
e3e156affd 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)
2024-11-22 14:00:38 +04:00
Vitaly Provodin
dd1011e7fc JBR-4875 jb/javax/swing/JComboBox/ComboBoxTransparentTittleBarTest.java checks dragging JFrame with Combobox
(cherry picked from commit 8d5472c900)
2024-11-22 14:00:38 +04:00
Dmitry Batrak
67ef74c7cc JBR-4871 Closed project leaked via KeyboardFocusManager#newFocusOwner
(cherry picked from commit 50c0ce58d3)
(cherry picked from commit 46a0f0d75b)
2024-11-22 14:00:38 +04:00
Maxim Kartashev
7a60038722 JBR-4839 Report if wrong shared library is detected at run time
(cherry picked from commit e8c1913562)
2024-11-22 14:00:38 +04:00
Maxim Kartashev
c2b118cdbf 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)
2024-11-22 14:00:38 +04:00
Alexey Ushakov
038158815a JBR-4590 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Invalidate glyph cache cell info after switching MTLContext

(cherry picked from commit 664528713e)
2024-11-22 14:00:38 +04:00
Nikita Gubarkov
4a097214f6 JBR-4815 force hinting for non-antialiased text
(cherry picked from commit 6c3517ae9d)
2024-11-22 14:00:37 +04:00
Maxim Kartashev
7e462ac93e jb/branchdiff.py script to help with release branches
(cherry picked from commit a03f10e9b7)
2024-11-22 14:00:37 +04:00
Nikita Gubarkov
652ead065f 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)
2024-11-22 14:00:37 +04:00
Alexander Lobas
475587dbe5 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)
2024-11-22 14:00:32 +04:00
Vitaly Provodin
5bcb26a503 updated JTreg exclude list
(cherry picked from commit 03fba5ebf2)
2024-11-22 13:58:41 +04:00
Alexey Ushakov
bee64aa1c7 JBR-4696 macOS: NPE in -[AWTView viewDidChangeBackingProperties]
Added null pointer checks

(cherry picked from commit b0374bdccf)
2024-11-22 13:58:40 +04:00
MonoBot
e9948e1ef8 JBR-4809 Update the bundled JetBrains Mono font version
Fonts release 2.242

(cherry picked from commit 641424a3e3)
(cherry picked from commit ab5066f90f)
2024-11-22 13:58:40 +04:00
Alexey Ushakov
a9b8b3e466 JBR-4680 idea window flickers while changing the screen brightness
Update insets in separate notification

(cherry picked from commit e7936d9958)
2024-11-22 13:58:40 +04:00
Maxim Kartashev
5ee65af257 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)
2024-11-22 13:58:40 +04:00
Maxim Kartashev
c9416caa14 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)
2024-11-22 13:58:40 +04:00
Nikita Gubarkov
92348a7ec9 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)
2024-11-22 13:58:40 +04:00
Denis Fokin
6601d1f32c 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)
2024-11-22 13:58:40 +04:00
Alexey Ushakov
e5604f486d JBR-4784 Extra allocations of MTLRenderPipelineDescriptor affects performance in metal pipeline
Remove extra allocations

(cherry picked from commit e1fe3a3807)
2024-11-22 13:58:40 +04:00
Alexey Ushakov
3f23f9051d 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)
2024-11-22 13:58:40 +04:00
Dmitry Batrak
dfe37777d4 JBR-4782 Synergy keyboard/mouse input: window disabled after bringing IntelliJ into focus
(cherry picked from commit f863a14b19)
(cherry picked from commit 34ec3053ab)
2024-11-22 13:58:40 +04:00
Alexey Ushakov
94a1550a94 JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Do not use hinting for generating outlines

(cherry picked from commit 7bb3a76942)
2024-11-22 13:58:39 +04:00
Alexey Ushakov
febcc1b405 JBR-3100 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.LWComponentPeer.windowToLocal
Added null check

(cherry picked from commit 0c23ef45ba)
2024-11-22 13:58:39 +04:00
Alexey Ushakov
71c5d55e23 JBR-4774 macOS: SIGILL at [libsystem_kernel] __kill in NPE / VolatileSurfaceManager.displayChanged / __displaycb_handle_block_invoke
Added null check

(cherry picked from commit 73f025e9e5)
2024-11-22 13:58:39 +04:00
Alexey Ushakov
e54d97f54a JBR-3102 Exception in NSApplicationAWT: Invalid parameter not satisfying: !isnan(newOrigin.y)
Handled NAN values with some defaults

(cherry picked from commit f1aed3db71)
2024-11-22 13:58:39 +04:00
Vladislav Rassokhin
e3b4b5342a JBR-4263 Improve check_jbr_size.sh
* Fix shellcheck inspections
* Don't silently fail if TOKEN is incorrect

(cherry picked from commit e0ab03ce52)
2024-11-22 13:58:39 +04:00
Maxim Kartashev
403deb4df5 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)
2024-11-22 13:58:39 +04:00
Maxim Kartashev
e7c2b570e2 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)
2024-11-22 13:58:39 +04:00
Dmitry Batrak
909be4d42d JBR-4720 Focus state is broken after certain operations when VoiceOver is enabled
(cherry picked from commit dc1b49b5a6)
(cherry picked from commit 51df5fbf67)
2024-11-22 13:58:39 +04:00
Dmitry Batrak
c4bfffe447 JBR-4673 Focus moves to another application on file dialog closing
(cherry picked from commit 7468974488)
(cherry picked from commit 72a74312b7)
2024-11-22 13:58:39 +04:00
Dmitry Batrak
7975377f53 JBR-4665 Focus 'jitter' on window showing in WSLg
(cherry picked from commit 9b32c2a577)
(cherry picked from commit 2952a2eeb4)
2024-11-22 13:58:39 +04:00
Nikita Gubarkov
5c1f67470d 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)
2024-11-22 13:58:39 +04:00
Alexey Ushakov
8b4849049f 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)
2024-11-22 13:58:38 +04:00
Dmitry Batrak
910ed09303 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)
2024-11-22 13:58:38 +04:00
artem.bochkarev
802f82a2ef 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)
2024-11-22 13:58:38 +04:00
Vitaly Provodin
ef86224ca6 exclude sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java on linux-all due to 8252812
(cherry picked from commit 336230c628)
2024-11-22 13:58:38 +04:00
Vitaly Provodin
f059c38b10 exclude sanity/client/SwingSet/src/ColorChooserDemoTest.java on windows-all due to 8278582
(cherry picked from commit 07e8b19419)
2024-11-22 13:58:38 +04:00
Alexey Ushakov
c730a2fdb3 JBR-4636 Some JWindow tests failed due to wrong scaling
Take into account custom scale via sun.java2d.uiScale

(cherry picked from commit 5a91de055f)
2024-11-22 13:58:38 +04:00
Nikita Gubarkov
ffbe048398 8289189: Fix ./configure on WSL1
(cherry picked from commit 617ed45c5c)
2024-11-22 13:58:38 +04:00
Alexey Ushakov
d328957030 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)
2024-11-22 13:58:38 +04:00
Vitaly Provodin
0349accc82 exclude vmTestbase/vm/jit/LongTransitions due to 8271615 on macOS
(cherry picked from commit 66e8a68de9)
2024-11-22 13:58:38 +04:00
Maxim Kartashev
c7bba351fb JBR-4602 Unexpected NoSuchFileException running Rider test
This reverts commits for JBR-3680, JBR-4118, and JBR-4485.

(cherry picked from commit 5a165aa533)
2024-11-22 13:58:38 +04:00
Nikita Gubarkov
cc3c59d5c7 JBR-4373 Add mapping for .NewYork-* and .SFArabic-* system fonts
(cherry picked from commit e34f1abedc)
2024-11-22 13:58:38 +04:00
Alexander Lobas
bf7e2ab41f 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)
2024-11-22 13:58:37 +04:00
Alexander Lobas
d924e33951 JBR-4563 Rounded corners for native Window on Mac OS
(cherry picked from commit 4aecaafa7c)
2024-11-22 13:58:37 +04:00
Alexander Lobas
dd326a1742 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)
2024-11-22 13:58:37 +04:00
Alexey Ushakov
57e6becf08 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)
2024-11-22 13:58:37 +04:00
Artem Bochkarev
f8dff3d33a 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)
2024-11-22 13:58:37 +04:00
Artem Bochkarev
4136b35beb 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)
2024-11-22 13:58:37 +04:00
Vitaly Provodin
4def5f607e exclude javax/swing/JToolBar/4529206/bug4529206.java due to 8288707 on linux
(cherry picked from commit 8bc1905696)
2024-11-22 13:58:37 +04:00
Vitaly Provodin
fcc13ee3ca enabling dtrace-tests: added dtrace keyword
(cherry picked from commit 0b5119ca89)
(cherry picked from commit 1959e4a2a4)
2024-11-22 13:58:37 +04:00
Maxim Kartashev
b631c304d6 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)
2024-11-22 13:58:37 +04:00
Maxim Kartashev
be93a99356 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)
2024-11-22 13:58:37 +04:00
Vitaly Provodin
0c9f47d7f7 JBR-4570 improve synchronization and increase waiting time
(cherry picked from commit d7b11a1925)
2024-11-22 13:58:37 +04:00
Dmitry Batrak
e9889c6e28 JBR-4552 Windows revert back after initial move/resize in Cygwin/X
(cherry picked from commit 6dc194e089)
(cherry picked from commit 9c2eccb07c)
2024-11-22 13:58:36 +04:00
Manuel Unterhofer
8c3b451a78 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)
2024-11-22 13:58:36 +04:00
Nikita Provotorov
92a9a595cc 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)
2024-11-22 13:58:36 +04:00
Nikita Provotorov
7de3aa9f9c JBR-4394, IDEA-246833: fixup of JBR-2444.
(cherry picked from commit ef262dc8bb)
(cherry picked from commit b026461771)
2024-11-22 13:58:36 +04:00
Dmitry Batrak
e5d6a03306 JBR-4537 Popup windows shown for a background window cause app icon to blink in taskbar on KDE
(cherry picked from commit 704ffcc0ee)
2024-11-22 13:58:36 +04:00
Dmitry Batrak
fc7c783447 JBR-4535 Popup windows disappear on mouse hover when 'Focus strictly under mouse' policy is used in KDE
(cherry picked from commit a70a83e7fe)
2024-11-22 13:58:36 +04:00
Alexey Ushakov
1a9a755ce6 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)
2024-11-22 13:58:36 +04:00
Vitaly Provodin
020c2c5c54 exclude jb/java/awt/Window/ZOrderOnModalDialogActivation.java from S2 runs on Windows and Linux
(cherry picked from commit c1cb686198)
2024-11-22 13:58:36 +04:00
Vitaly Provodin
0ca4777427 exclude javax/swing/plaf/nimbus/TestNimbusOverride.java on windows due to 8253184
(cherry picked from commit 5c6f2241db)
2024-11-22 13:58:36 +04:00
Vitaly Provodin
7304ceeef1 exclude java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java on linux-aarch64 only due to 8266283
(cherry picked from commit cc5f59a5ed)
2024-11-22 13:58:36 +04:00
Artem Bochkarev
8197d13049 JBR-4473: fixed native part of SystemHotkeyReader
(cherry picked from commit 4d96436851)
2024-11-22 13:58:36 +04:00
Dmitry Batrak
534f74de44 JBR-1740 Menu remains open when application loses focus
(cherry picked from commit f987d22cd2)
(cherry picked from commit 4a7913c9e6)
2024-11-22 13:58:35 +04:00
Vitaly Provodin
c18e3093bc exclude Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java from S2 runs due to 8286840
(cherry picked from commit 811db62fec)
2024-11-22 13:58:35 +04:00
Vitaly Provodin
49965d4229 exclude java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java due to 8282232
(cherry picked from commit 17d6d1047e)
2024-11-22 13:58:35 +04:00
Maxim Kartashev
e436bf9beb 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)
2024-11-22 13:58:35 +04:00
Manuel Unterhofer
b9298d4fad Merge fullscreen handlers for transparent title bar into existing ones
(cherry picked from commit a992612585)
2024-11-22 13:58:35 +04:00
Manuel Unterhofer
0d4f34210a FL-11420 Fix view hierarchy restoration for full-screen mode on macOS
(cherry picked from commit f708ad2c57)
2024-11-22 13:58:35 +04:00
Nikita Gubarkov
6952a4b363 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)
2024-11-22 13:58:35 +04:00
Dmitry Batrak
8e1cafd504 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)
2024-11-22 13:58:35 +04:00
Maxim Kartashev
18f71422b3 JBR-4464 Error building latest jbr-dev after JDK-8285730
(cherry picked from commit 8b0ae02f8d)
2024-11-22 13:58:35 +04:00
Maxim Kartashev
c33f3ba758 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)
2024-11-22 13:58:35 +04:00
Maxim Kartashev
3e328cae6c 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)
2024-11-22 13:58:35 +04:00
Renaud Paquay
d199287218 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)
2024-11-22 13:58:34 +04:00
Maxim Kartashev
197ce98680 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)
2024-11-22 13:58:34 +04:00
Dmitry Batrak
6ddc83f039 JBR-1518 JBR 11 does not support chain of popups on Linux
(cherry picked from commit 849356ee01)
(cherry picked from commit b85be77543)
2024-11-22 13:58:33 +04:00
Dmitry Batrak
8b97017d70 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)
2024-11-22 13:57:04 +04:00
Ryan Osial
25cf992f48 Cache results of font-config pattern search for reuse
(cherry picked from commit 432f637904)
(cherry picked from commit 17bc232f6f)
(cherry picked from commit ee3a5cdda9)
2024-11-22 13:57:04 +04:00
Maxim Kartashev
483cc5b0b3 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)
2024-11-22 13:57:04 +04:00
Anton Tarasov
5856256354 JBR-4389 [update_1] IDEA UI font becomes too large after disconnecting the external monitor / sleep
(cherry picked from commit 74c977e942)
2024-11-22 13:57:03 +04:00
Anton Tarasov
cb31285085 JBR-4389 IDEA UI font becomes too large after disconnecting the external monitor / sleep
(cherry picked from commit 1288c65208)
2024-11-22 13:57:03 +04:00
Dmitry Batrak
77b1dd39d4 remove duplicate bundled JetBrains Mono bold italic font
following JBR-4402

(cherry picked from commit b7e5d3cfcf)
(cherry picked from commit ac765d3d2c)
2024-11-22 13:57:03 +04:00
Dmitry Batrak
948b18a558 JBR-4402 The wrong text is rendered in editor
(cherry picked from commit 8c1de95991)
2024-11-22 13:57:03 +04:00
Vitaly Provodin
3c9ff41102 JBR-4297 add a regression test
(cherry picked from commit 8e94fff6aa)
(cherry picked from commit 8eb5ce4b34)
2024-11-22 13:57:03 +04:00
Konstantin Bulenkov
a0c6e161aa Update JetBrains Mono font to 2.225
(cherry picked from commit 84c7519c7e)
2024-11-22 13:57:03 +04:00
Alexey Ushakov
4648d535bd JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Resolved merge artifact after applying IDEA-57233 fix

(cherry picked from commit 0e2c16e0f0)
2024-11-22 13:57:03 +04:00
Alexey Ushakov
4f2df3cb32 JBR-3843 IDE text is misaligned vertically when using Consolas font
Use usWinAscent/usWinDescent for metrics on Windows

(cherry picked from commit 4aed6ab51d)
2024-11-22 13:57:03 +04:00
Alexey Ushakov
a3da182f86 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)
2024-11-22 13:57:03 +04:00
Alexey Ushakov
cec5394731 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)
2024-11-22 13:57:03 +04:00
Dmitry Batrak
332ac491c1 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)
2024-11-22 13:57:02 +04:00
Alexey Ushakov
3802ac808e JBR-3827 SIGILL at [libsystem_kernel] __kill in Java Exception at -[CDragSource convertData:]
Added check for drag source

(cherry picked from commit a2b6100b57)
2024-11-22 13:57:02 +04:00
Alexey Ushakov
57b4d0a3c8 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)
2024-11-22 13:57:02 +04:00
Alexey Ushakov
00553f88a1 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)
2024-11-22 13:57:02 +04:00
Dmitry Batrak
8ab878d650 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)
2024-11-22 13:57:02 +04:00
Vitaly Provodin
24a13d9cf8 JBR-4294 split desktop tests to more groups for Commit testing
(cherry picked from commit e2360b07b9)
2024-11-22 13:57:02 +04:00
Dmitry Batrak
6d4e50ed47 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)
2024-11-22 13:57:02 +04:00
greg
1511a060c9 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)
2024-11-22 13:57:02 +04:00
Denis Fokin
0cabf41db3 JBR-4038 [JBR17] Force Touch events are not supported on macOS
Added missing files and handlers from JBR11

(cherry picked from commit 0a82277650)
2024-11-22 13:57:02 +04:00
Alexey Ushakov
0955f9fa0c JBR-3901 jbr-dev compile problem
Added transient keyword

(cherry picked from commit 8bd487eca9)
2024-11-22 13:57:02 +04:00
Alexander Lobas
aae8ad8bb8 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)
2024-11-22 13:57:02 +04:00
Dmitry Batrak
21b86b8c27 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)
2024-11-22 13:57:01 +04:00
Dmitry Batrak
041f202955 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)
2024-11-22 13:57:01 +04:00
Dmitry Batrak
81f5b19c58 refactor nativeCreateNSWindow call wrapping
as part of JBR-3017

(cherry picked from commit eeef67a335)
(cherry picked from commit 1bb0bf3f82)
2024-11-22 13:57:00 +04:00
Dmitry Batrak
af6a7281d5 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)
2024-11-22 13:56:20 +04:00
Dmitry Batrak
eaa50cfebd JBR-2971 Log more information about window creation and property changes
(cherry picked from commit 9d86b4d235)
(cherry picked from commit e93eeba9c2)
2024-11-22 13:56:20 +04:00
Dmitry Batrak
596af52ae3 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)
2024-11-22 13:56:20 +04:00
Nikita Provotorov
4619d1c5e6 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)
2024-11-22 13:56:20 +04:00
Nikita Gubarkov
a723770bab 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)
2024-11-22 13:56:19 +04:00
Alexey Ushakov
024f46aae7 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)
2024-11-22 13:56:19 +04:00
Vitaly Provodin
c2fb7ad865 exclude javax/swing/border/TestTitledBorderLeak.java on windows due to 8213531
(cherry picked from commit c32cf1fe07)
2024-11-22 13:56:19 +04:00
Ivan Lopatin
e902c94120 Scale2: exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8279190 on macosx-all
(cherry picked from commit 58854d5467)
2024-11-22 13:56:19 +04:00
Nikita Provotorov
1706daeb6e 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)
2024-11-22 13:56:19 +04:00
Vitaly Provodin
d8dff69937 exclude java/awt/Frame/FrameSetSizeStressTest/FrameSetSizeStressTest.java on Wayland
sun/security/pkcs11/Signature/TestDSAKeyLength.java                                 8279941 linux-all

(cherry picked from commit ddd0a7409d)
2024-11-22 13:56:19 +04:00
Alexey Ushakov
6e5a816466 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)
2024-11-22 13:56:19 +04:00
Nikita Provotorov
af16116dbf 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)
2024-11-22 13:56:19 +04:00
Nikita Provotorov
2e12a45f10 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)
2024-11-22 13:56:19 +04:00
Vitaly Provodin
f9d1518ad6 exclude sun/security/pkcs11/Signature/TestDSAKeyLength.java on Ubuntu 21.04 due to 8279941
(cherry picked from commit c3d8e648a6)
2024-11-22 13:56:19 +04:00
Anton Tarasov
f09c714666 JBR-4204 provide an option to disable a11y support on macOS
(cherry picked from commit ee3c56abdc)
(cherry picked from commit e2419baf87)
2024-11-22 13:56:19 +04:00
Vitaly Provodin
80667c7fa1 exclude two swing tests on Windows due to JBR-4197
(cherry picked from commit 3a99f6b99d)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
f9e35e7db8 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)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
3052f502f2 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)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
05e4b602f1 JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext

(cherry picked from commit 54c83d2ef6)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
bb035937a4 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)
2024-11-22 13:56:18 +04:00
Artem Semenov
a22bbebb0e JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu
(cherry picked from commit 40e8687667)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
bbc9c41089 JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT

(cherry picked from commit b6f91a9c10)
2024-11-22 13:56:18 +04:00
Vitaly Provodin
2cc6200872 JBR-4169 add jdk.javadoc into JBR
(cherry picked from commit 861742faf1)
2024-11-22 13:56:18 +04:00
Alexey Ushakov
0e011bdde1 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)
2024-11-22 13:56:18 +04:00
Vitaly Provodin
b4fb394eaf exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256
(cherry picked from commit 9d17b66630)
2024-11-22 13:56:18 +04:00
Vitaly Provodin
3c73610ab9 exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190
(cherry picked from commit 0949bd7a8a)
2024-11-22 13:56:18 +04:00
Vitaly Provodin
72c1b43d6c exclude java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 827361
(cherry picked from commit b98807e58f)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
0a9b135c44 add exclude list for Wayland failures
(cherry picked from commit 2b7bdfe3d5)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
529732b48d exclude javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation /JComboBoxPopupLocation.java on macOS due to 8194945
(cherry picked from commit 86f21becde)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
e27bdb01a3 exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029
(cherry picked from commit f3f6365d05)
2024-11-22 13:56:17 +04:00
Maxim Kartashev
ffd86ed504 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)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
765f890642 add exclude list for Scale2 test runs
(cherry picked from commit 45ddfe3353)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
5346c8aa0e exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231
(cherry picked from commit defd9f66a7)
2024-11-22 13:56:17 +04:00
Alexey Ushakov
6c560a3aba 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)
2024-11-22 13:56:17 +04:00
Artem Semenov
ee20363ed7 JBR-3775 Optimize the algorithm for obtaining tree elements
(cherry picked from commit 01dbe66b3e)
2024-11-22 13:56:17 +04:00
Nikita Gubarkov
75bfd95d16 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)
2024-11-22 13:56:17 +04:00
Vitaly Provodin
aa77a634c5 JBR-3931 add the module jdk.unsupported.desktop into jbr
(cherry picked from commit 32def2fd42)
(cherry picked from commit d8fd2c9664)
2024-11-22 13:56:17 +04:00
Alexey Ushakov
80d045440b JBR-4111 [JBR17] Make possible to select files and directories independently
Implemented apple.awt.fileDialogForFiles property

(cherry picked from commit 67ea24d06e)
2024-11-22 13:56:16 +04:00
Vitaly Provodin
09baa7cbe4 enable fixed tests to regular runs
(cherry picked from commit ae87bdb09a)
2024-11-22 13:56:16 +04:00
Vitaly Provodin
739b58f403 exclude javax/swing tests on mac-aarch64 due to 8277816
(cherry picked from commit a39f9150c3)
2024-11-22 13:56:16 +04:00
Aleksandr Veselov
543e082048 JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen
(cherry picked from commit 6006b52f33)
2024-11-22 13:56:16 +04:00
Alexey Ushakov
40864b7b7a JBR-4060 [JBR17+Metal] Flickering on button's shadow
Removed unnecessary global flag. Optimized mask cache texture clearing code.

(cherry picked from commit 4496acc610)
2024-11-22 13:56:16 +04:00
Alexey Ushakov
03109e2e46 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)
2024-11-22 13:56:16 +04:00
Alexey Ushakov
a3d3b78bb0 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)
2024-11-22 13:56:16 +04:00
Alexey Ushakov
42761b5470 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)
2024-11-22 13:56:16 +04:00
Alexey Ushakov
f7d92cffcd JBR-4104 jbr-dev compilation failure
Corrected suppress warnings

(cherry picked from commit 3ff69f1653)
2024-11-22 13:56:16 +04:00
Dmitry Batrak
e0905ec1e2 JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters
(cherry picked from commit 4fde082d53)
(cherry picked from commit dc1806aa60)
2024-11-22 13:56:16 +04:00
Maxim Kartashev
a905b7904d 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)
2024-11-22 13:56:16 +04:00
Dmitry Batrak
76327944dd 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)
2024-11-22 13:56:15 +04:00
Maxim Kartashev
59c2749f41 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)
2024-11-22 13:56:15 +04:00
Vitaly Provodin
ec796729e0 exclude tests spontaneously creating windows during test execution
(cherry picked from commit 0dc17f51ed)
2024-11-22 13:56:15 +04:00
Maxim Kartashev
210d4e47c9 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)
2024-11-22 13:56:15 +04:00
Alexey Ushakov
5ef328e879 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)
2024-11-22 13:56:15 +04:00
Nikita Gubarkov
99f8fb2f0a 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)
2024-11-22 13:56:15 +04:00
Pavel
865931348e 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)
2024-11-22 13:56:15 +04:00
Maxim Kartashev
8a56d6d792 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)
2024-11-22 13:56:15 +04:00
Dmitry Batrak
65792ddedf 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)
2024-11-22 13:56:13 +04:00
Alexey Ushakov
ffe3775501 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)
2024-11-22 13:55:49 +04:00
Alexey Ushakov
b414842ab6 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)
2024-11-22 13:55:49 +04:00
Alexander Lobas
06f6df2fc4 JBR-3660 PhpStorm 2021.2 crashes on selecting iCloud Drive directory in Open dialog
(cherry picked from commit f5434bcaaf)
(cherry picked from commit 58f6991df8)
2024-11-22 13:55:49 +04:00
Alexander Lobas
a802dabd02 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)
2024-11-22 13:55:49 +04:00
Alexander Lobas
378da1e839 JBR-3443 Native file dialog on OSX enable filename filter by VM option
(cherry-picked from commit f10e324538)

(cherry picked from commit 7ad92e4703)
2024-11-22 13:55:49 +04:00
Alexander Lobas
8033534aed 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)
2024-11-22 13:55:49 +04:00
Maxim Kartashev
ef242a7882 Revert "JBR-2755 IDE UI became slow via remote X Server connection from Windows"
This reverts commit cd9138844da770ae60806fd7dbc1e85c773882a8.

(cherry picked from commit ec6f644c12)
2024-11-22 13:55:49 +04:00
Konstantin Aleev
afb0cabf3a fix memory leaks in AccessibleJTree
(cherry picked from commit 561a7b8def)
(cherry picked from commit 6aa0951e7f)
2024-11-22 13:55:49 +04:00
Maxim Kartashev
a7bd3d5b16 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)
2024-11-22 13:55:49 +04:00
Maxim Kartashev
0608d57ea3 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)
2024-11-22 13:55:49 +04:00
Nikita Provotorov
707f53701f 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)
2024-11-22 13:55:48 +04:00
Maxim Kartashev
52e2280ff1 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)
2024-11-22 13:55:48 +04:00
Alexey Ushakov
0934da8ace 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)
2024-11-22 13:55:48 +04:00
Artem Bochkarev
d1bf8a0f3a 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)
2024-11-22 13:55:48 +04:00
Dmitry Batrak
fde3f5e516 JBR-2759 Typeahead issue on Linux
(cherry picked from commits 76bdaf1131, b20c56ff3e, c9609330f2, a170b4e4ae)

(cherry picked from commit 281e6abf47)
2024-11-22 13:55:46 +04:00
Artem Bochkarev
c77ba20704 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)
2024-11-22 13:46:05 +04:00
Renaud Paquay
ac04308323 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)
2024-11-22 13:44:45 +04:00
Ivan Migalev
cde1499913 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)
2024-11-22 13:44:45 +04:00
Dmitry Batrak
bbe30d4fed JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE
(cherry picked from commit 0bf13985d5)
(cherry picked from commit 3853438e52)
2024-11-22 13:44:44 +04:00
Maxim Kartashev
5151591dde 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)
2024-11-22 13:44:44 +04:00
Dmitry Batrak
d3a9d9f63c JBR-3504 a11y focus is set on the wrong element when opening popups
(cherry-picked from commit a69e12e0d2)

(cherry picked from commit e06081f5ab)
2024-11-22 13:44:44 +04:00
Maxim Kartashev
84b2670e3c 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)
2024-11-22 13:44:44 +04:00
Maxim Kartashev
ec9dae71eb 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)
2024-11-22 13:44:44 +04:00
Alexey Ushakov
02ff9863a7 Added support for otf into the build scripts. Updated prebuild maps.
Applied code from jbr-dev

(cherry picked from commit 9c23814897)
2024-11-22 13:44:44 +04:00
Konstantin Bulenkov
0dec2617bf bundle Inter font
(cherry picked from commit 9f54e5ce48)
2024-11-22 13:44:44 +04:00
Maxim Kartashev
b4e5e353c7 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)
2024-11-22 13:44:42 +04:00
Dmitry Batrak
7bce162948 JBR-3726 Modal windows 'disappear' on minimize in KDE
(cherry picked from commits d9baf2d9db, 9c2841028f, 5c4fd9ceaf, f0ed32fca4)

(cherry picked from commit 21a64a69e4)
2024-11-22 13:44:08 +04:00
Maxim Kartashev
4e98994b66 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)
2024-11-22 13:44:08 +04:00
Dmitry Batrak
1f4663475f 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)
2024-11-22 13:44:08 +04:00
Dmitry Batrak
8bc2e5a3e6 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)
2024-11-22 13:44:08 +04:00
Dmitry Batrak
d2f2de5c15 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)
2024-11-22 13:44:07 +04:00
Nikita Gubarkov
70491e9e88 JBR-3648 Replace CacheCellInfo usages with MTLCacheCellInfo in metal rendering code
(cherry picked from commit 7a94f7ea07)
2024-11-22 13:44:07 +04:00
Dmitry Batrak
f324229208 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)
2024-11-22 13:44:07 +04:00
Anton Tarasov
9380ded9d3 JBR-1834 [linux] runtime hidpi switch is broken
(cherry picked from commit eaa04303a7)
(cherry picked from commit 2df217d6fe)
2024-11-22 13:44:07 +04:00
Anton Tarasov
3c1573f094 JBR-1429 Scale is huge due to GDK_SCALE
(cherry-picked from commit 1c3477df2e)

(cherry picked from commit 3ac8aeea3d)
2024-11-22 13:44:07 +04:00
Anton Tarasov
76897758ec JBR-1365 force IDE-managed HiDPI on Linux for fractional scales
(cherry picked from commit f092ff3962)
(cherry picked from commit ae72b9e01d)
2024-11-22 13:44:07 +04:00
Anton Tarasov
e308c4b25f Allow HiDPI mode on Linux
(cherry picked from commit e192da4f83)
2024-11-22 13:44:07 +04:00
Anton Tarasov
9b20277c78 JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly
(cherry picked from commit 67fb7a274c)
2024-11-22 13:44:07 +04:00
Anton Tarasov
f0b21f6a73 JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.

(cherry picked from commit 28dfae88e6)
2024-11-22 13:44:04 +04:00
Vitaly.Provodin
5f238e3d54 add 32-sizes for native data types
(cherry picked from commit 3a79870da8)
(cherry picked from commit 15f6d3290b)
2024-11-22 13:42:34 +04:00
Nikita Gubarkov
9c712981e5 Added JBR-specific .idea project files
(cherry picked from commit 6b34834621)
2024-11-22 13:42:34 +04:00
Alexey Ushakov
9667620635 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)
2024-11-22 13:42:34 +04:00
Anton Tarasov
fb27c4ef1c 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)
2024-11-22 13:42:34 +04:00
Anton Tarasov
57f4091b53 JBR-3545 Window.setMinimumSize does not respect DPI scaling
(cherry picked from commit 9b4f72ad18)
(cherry picked from commit f3f87f5f27)
2024-11-22 13:42:34 +04:00
Denis Fokin
1fff05109f JRE-408 JBR-3515 fix NullPointerException in MetalRootPaneUI.installWindowListeners
(cherry picked from commit 584d554af529cff445b0f09bc2d57be55e138b7a)
(cherry picked from commit 6a42bb54bd)
(cherry picked from commit 1bf4975a43)
2024-11-22 13:42:34 +04:00
Elena Sayapina
404fe8f182 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)
2024-11-22 13:42:34 +04:00
Denis Konoplev
d8d3a3ccd4 EA-252361: Check window for null
(cherry picked from commit 23a7dbd486)
(cherry picked from commit aa4d6f14dc)
2024-11-22 13:42:34 +04:00
Artem Bochkarev
65e6e99d0b JBR-3131: support custom view for system menu items
(cherry picked from commit 78d509ac0f)
(cherry picked from commit ca05fefb28)
2024-11-22 13:42:34 +04:00
Artem Bochkarev
a6dee3a77a 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)
2024-11-22 13:42:33 +04:00
Nikita Gubarkov
ca6f5ddb63 JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c
(cherry picked from commit 40ea728335)
2024-11-22 13:42:33 +04:00
Dmitry Batrak
68733cc7ba 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)
2024-11-22 13:42:33 +04:00
Vitaly Provodin
b9bad32263 JBR-3314 add regression test
(cherry picked from commit c81adfed61)
(cherry picked from commit e4c3db3a2c)
2024-11-22 13:42:33 +04:00
Ivan Migalev
f9c3db9e79 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)
2024-11-22 13:42:33 +04:00
Ivan Migalev
7afbafbada JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled
(cherry picked from commit 442bb7eecc)
(cherry picked from commit 6177142c3a)
2024-11-22 13:42:33 +04:00
Alexey Ushakov
b55b88dec1 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)
2024-11-22 13:42:33 +04:00
Alexey Ushakov
92673947e9 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)
2024-11-22 13:42:33 +04:00
Dmitry Batrak
a74018e71f 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)
2024-11-22 13:42:33 +04:00
Dmitry Batrak
8090e97b1f 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)
2024-11-22 13:42:33 +04:00
Dmitry Batrak
1e89cd5e51 fix occasional freezes of JBR-3017 reproducer after the fix
(cherry picked from commit 7e6db54f77)
(cherry picked from commit 2b7f78f50e)
2024-11-22 13:42:28 +04:00
Dmitry Batrak
0859c64b3b JBR-2819 Create API to determine typographic family/subfamily for available fonts
(cherry picked from commit 89e519a4ef)
(cherry picked from commit 21129ca270)
2024-11-22 13:41:54 +04:00
Nikita Gubarkov
a92c056cf7 JBR-2924 Do not try to create native italic font when we're going to make it fake italic
(cherry picked from commit cf05cb1a19)
2024-11-22 13:41:54 +04:00
Nikita Gubarkov
2c956265c2 JBR-3982 Fixed non-antialiased text rendering on macOS
JBR-3269 Disabled subpixel antialiasing for macOS Mojave and newer

(cherry picked from commit e10f69072e)
2024-11-22 13:41:54 +04:00
Dmitry Batrak
840454982d JBR-3017 Focus issue in presence of third-party accessibility tool
(cherry picked from commit 88ead5d9e3)
(cherry picked from commit 97753f15b6)
2024-11-22 13:41:53 +04:00
Vitaly Provodin
76f5b7a49d 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)
2024-11-22 13:41:53 +04:00
Elena Sayapina
e550a3ca81 JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
(cherry picked from commit 54e74d75d0)
2024-11-22 13:41:53 +04:00
Nikita Gubarkov
3512ddb15b Added JBR API
with fix for JBR-5300 Change source code and test files to use GPL license

(cherry picked from commit 2ce0a876c5)
2024-11-22 13:41:53 +04:00
Artem Bochkarev
b8eb896fcd 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)
2024-11-22 13:41:53 +04:00
Mikhail Grishchenko
fc2a01ce47 JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
(cherry picked from commit 793add3ff1)
2024-11-22 13:41:53 +04:00
Alexey Ushakov
af087e57dd 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)
2024-11-22 13:41:53 +04:00
Nikita Gubarkov
2670c29220 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)
2024-11-22 13:41:53 +04:00
Alexey Ushakov
1c302eeb9b 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)
2024-11-22 13:41:53 +04:00
Alexey Ushakov
7352dd840a 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)
2024-11-22 13:41:53 +04:00
Alexey Ushakov
411b53c7c7 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)
2024-11-22 13:41:53 +04:00
Alexey Ushakov
e53acf4693 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)
2024-11-22 13:41:52 +04:00
Vitaly Provodin
cca5442fed exclude bug7154030 on macosx-aarch64 due to 8268284
(cherry picked from commit 253f1246e5)
2024-11-22 13:41:52 +04:00
Vitaly Provodin
c0e4c87ee9 exclude SharedMemoryPixmapsTest on macosx-all due to 8221451
(cherry picked from commit d929111f7a)
2024-11-22 13:41:52 +04:00
Vyacheslav Moklev
753c95c781 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov

(cherry picked from commit a166fb65e1)
2024-11-22 13:41:52 +04:00
Sergey Malenkov
f3b1e7634e EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
(cherry picked from commit 31c4452397)
2024-11-22 13:41:52 +04:00
Kirill Kirichenko
c961394d55 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)
2024-11-22 13:41:52 +04:00
Kirill Kirichenko
17a150ca9e 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)
2024-11-22 13:41:52 +04:00
Alexey Ushakov
6545236594 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)
2024-11-22 13:41:52 +04:00
Nikita Gubarkov
38f859d9b8 JBR-2910 Implemented extended glyph cache for Linux
(cherry picked from commit d488f716e7)
2024-11-22 13:41:52 +04:00
Nikita Gubarkov
050a10dd7c JBR-2910 Implemented extended glyph cache for Windows
(cherry picked from commit 7f75d75933)
2024-11-22 13:41:52 +04:00
Nikita Gubarkov
01c7df7692 JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3
(cherry picked from commit afb52a160d)
2024-11-22 13:41:51 +04:00
Alexey Ushakov
cf76664749 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
(cherry picked from commit bd6dae9ddf)
2024-11-22 13:41:51 +04:00
Denis Konoplev
c55a7499a2 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)
2024-11-22 13:41:51 +04:00
Vitaly Provodin
c008617f05 JBR-2545 Clean up the list of ignored Render tests
(cherry picked from commit f7b4c42e1d)
(cherry picked from commit 32b8d67527)
2024-11-22 13:41:51 +04:00
Jayathirth D V
d51306bdab 8241490: Add large text performance tests in RenderPerfTest
(cherry picked from commit 803ee2f2b5)
(cherry picked from commit bbe57208d2)
2024-11-22 13:41:51 +04:00
Alexey Ushakov
82636706d5 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)
2024-11-22 13:41:51 +04:00
Konstantin Bulenkov
14083d9c12 Update FiraCode to 5.2
(cherry picked from commit 71e2a8d8ad)
(cherry picked from commit 0582e90d58)
2024-11-22 13:41:51 +04:00
Alexey Ushakov
5a4d341818 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)
2024-11-22 13:41:51 +04:00
Alexey Ushakov
2a5510b087 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)
2024-11-22 13:41:51 +04:00
Alexey Ushakov
53d1133eea JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
(cherry picked from commit df670fc276)
2024-11-22 13:41:51 +04:00
Anton Tarasov
6278a7290d 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)
2024-11-22 13:41:50 +04:00
Anton Tarasov
2889d65e9b JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
(cherry picked from commit ef2a05eac1)
2024-11-22 13:41:50 +04:00
Anton Tarasov
9bc6416498 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)
2024-11-22 13:41:50 +04:00
Anton Tarasov
a3d27bb6cb JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
(cherry picked from commit 8975bde92c)
2024-11-22 13:41:50 +04:00
Anton Tarasov
0e02e43735 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)
2024-11-22 13:41:50 +04:00
Anton Tarasov
f15e8f1fb1 JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
(cherry picked from commit 441ee96ec5)
2024-11-22 13:41:50 +04:00
Anton Tarasov
e28ecc249c 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)
2024-11-22 13:41:49 +04:00
Anton Tarasov
a3cad0fbc2 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)
2024-11-22 13:41:49 +04:00
Anton Tarasov
4de714c090 JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
(cherry picked from commit c7d407e0a6)
2024-11-22 13:41:49 +04:00
Anton Tarasov
dc3fe20d2a 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)
2024-11-22 13:41:49 +04:00
Anton Tarasov
d0f2726c0b JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
(cherry picked from commit 2ebe5709c0)
2024-11-22 13:41:49 +04:00
Anton Tarasov
663d5e1db3 JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
(cherry picked from commit bf36d7873b)
2024-11-22 13:41:49 +04:00
Anton Tarasov
a0a2a83d16 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
(cherry picked from commit 74ccb86095)
2024-11-22 13:41:49 +04:00
Anton Tarasov
bae0da4d7c JBR-2169 AWTThreading: remove tracked invocation event from completion listener
(cherry picked from commit a855f3b835)
(cherry picked from commit c54371231c)
2024-11-22 13:41:47 +04:00
Anton Tarasov
b99a6f17c6 JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit
(cherry picked from commit bba297b4a4)
(cherry picked from commit 38b9cf19c0)
2024-11-22 13:40:33 +04:00
Anton Tarasov
d14a10ef5d JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
(cherry picked from commit b610a7c4f9)
2024-11-22 13:40:32 +04:00
Anton Tarasov
a55b5c2c9b JBR-2146 improve InvokeOnToolkitHelper to cover more generic case
(cherry picked from commit 37db252ad7)
2024-11-22 13:40:20 +04:00
Anton Tarasov
28766e5d4d JBR-2139 Idea freeze on dynamic plugin unloading
(cherry picked from commit e57bae4f66)
(cherry picked from commit 647f198b17)
2024-11-22 13:37:59 +04:00
Anton Tarasov
0ca105ddcc JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux
(cherry picked from commit 3dfb0aa16a)
(cherry picked from commit 3750608e62)
2024-11-22 13:37:59 +04:00
Anton Tarasov
9fcdd29d6d JBR-2093 create reg test for JCEF startup
(cherry picked from commit e8c2761f5b)
(cherry picked from commit 17cfb8e0d8)
2024-11-22 13:37:59 +04:00
Anton Tarasov
eb4b4d0d6b JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar"
(cherry picked from commit b31a41fb2f)
(cherry picked from commit d2d4e58c13)
2024-11-22 13:37:59 +04:00
Mikhail Grishchenko
4a9ebed33f 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)
2024-11-22 13:37:59 +04:00
Mikhail Grishchenko
4677c1f028 JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test

(cherry picked from commit e8e4741bb0)
(cherry picked from commit 8428d1c853)
2024-11-22 13:37:58 +04:00
Mikhail Grishchenko
6419865f98 JBR-2412 [windows] mouse listener does not work for jcef
added regression test

(cherry picked from commit d1479872f2)
(cherry picked from commit 9e5032e328)
2024-11-22 13:37:58 +04:00
Elena Sayapina
230f819d15 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)
2024-11-22 13:37:58 +04:00
Mikhail Grishchenko
c2421f1993 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)
2024-11-22 13:37:58 +04:00
Vitaly Provodin
693fbc6970 exclude the new printer test 8262731
(cherry picked from commit c5ff1e3025)
2024-11-22 13:37:58 +04:00
Alexey Ushakov
ffbadfea0c 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)
2024-11-22 13:37:58 +04:00
Alexey Ushakov
8858b8498f 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)
2024-11-22 13:37:58 +04:00
Artem Bochkarev
3fe6cd2db0 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)
2024-11-22 13:37:58 +04:00
Kirill Kirichenko
bf8630d675 JBR-1874 Cursor not changing from 'default' to 'text'. Additional fix after reopening.
(cherry picked from commit 5a29d4ade9)
(cherry picked from commit da44860f22)
2024-11-22 13:37:58 +04:00
Elena Sayapina
5de2dfc020 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)
2024-11-22 13:37:58 +04:00
Elena Sayapina
0a5faaf951 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)
2024-11-22 13:37:58 +04:00
Elena Sayapina
7dc00d8d77 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)
2024-11-22 13:37:57 +04:00
Mikhail Grishchenko
991e7faa23 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)
2024-11-22 13:37:57 +04:00
Denis Konoplev
ba0218aed4 JBR-2490 Add option to work with Surface Pen
(cherry picked from commit 5acc7680a1)
(cherry picked from commit b604023cef)
2024-11-22 13:37:57 +04:00
Denis Konoplev
9e4ac304d2 JBR-2669: set unicode for both keyCode and extendedKeyCode
(cherry picked from commit ba3f14c83a)
(cherry picked from commit 544176fbce)
2024-11-22 13:37:57 +04:00
Denis Konoplev
c5afc1f01e JBR-2554: Proper unicode values in KeyEvent.keyCode
(cherry picked from commit 703d77a927)
(cherry picked from commit 63bdac9bbf)
2024-11-22 13:37:57 +04:00
Denis Konoplev
f8ba789f50 JBR-215: Remove SystemInfo
(cherry picked from commit 9adf77a512)
(cherry picked from commit 6a6761d365)
2024-11-22 13:37:57 +04:00
Denis Konoplev
24a1b2cd5d JBR-215: Separate LatinNonAlphaNumKeycodes option
(cherry picked from commit caf366f6f3)
(cherry picked from commit ed143f6d73)
2024-11-22 13:37:57 +04:00
Denis Konoplev
0c142d4c46 JBR-215: Windows non-alphanumeric shortcuts
(cherry picked from commit 4f60efebe2)
(cherry picked from commit b5fd23e498)
2024-11-22 13:37:57 +04:00
Denis Konoplev
ca71d9fa60 JBR-2280: Fix regression. Mode compatible with old option.
(cherry picked from commit a3e3c23cb1)
(cherry picked from commit 8c15ab819c)
2024-11-22 13:37:57 +04:00
Denis Fokin
f2f0aeb466 macOS national keyboard support
(cherry picked from commit 83356eb0bb)
(cherry picked from commit c8a36e1804)
2024-11-22 13:37:57 +04:00
Nikita Gubarkov
39059e5068 JBR-6387 Revert "8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts"
(cherry picked from commit efd4acd419)
2024-11-22 13:37:54 +04:00
Sergey Malenkov
4e4079cc0d JBR-1929 FractionalMetricsSupport
(cherry picked from commit bbdc159762)
(cherry picked from commit 9fad8b07f1)
2024-11-22 13:37:31 +04:00
Mikhail Grishchenko
a582babc78 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)
2024-11-22 13:37:31 +04:00
Mikhail Grishchenko
a2948827da 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)
2024-11-22 13:37:31 +04:00
Mikhail Grishchenko
63d8e967c9 JBR-1414 [Test] downscale frames to run on low-dpi screens
(cherry picked from commit b46e74fe6f)
(cherry picked from commit 844b3e1d5f)
2024-11-22 13:37:31 +04:00
Elena Sayapina
d21c7d3a90 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)
2024-11-22 13:37:31 +04:00
Alexey Ushakov
9b939cbe83 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)
2024-11-22 13:37:30 +04:00
Alexey Ushakov
d4dda20da4 JBR-2137 JetBrainsMono fonts update to v1.0.3
(cherry picked from commit a6e441828a)
(cherry picked from commit b25c90ba53)
2024-11-22 13:37:30 +04:00
Mikhail Grishchenko
446875676b 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)
2024-11-22 13:37:30 +04:00
Elena Sayapina
4c9d41ab72 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)
2024-11-22 13:37:30 +04:00
Konstantin Bulenkov
ae8a89eb82 Update JetBrains Mono to 1.0.2
(cherry picked from commit 6f4a13e46f)
(cherry picked from commit b14bfd3ac9)
2024-11-22 13:37:30 +04:00
Ivan Migalev
e11390ea4c Extract the DWM colorization parameters from registry (JBR-2070)
(cherry picked from commit 0330cab60b)
(cherry picked from commit 6525a8b70d)
2024-11-22 13:37:30 +04:00
Ivan Migalev
39a1426a8d Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070)
(cherry picked from commit 06086f4a7e)
(cherry picked from commit afd04d7c5b)
2024-11-22 13:37:30 +04:00
Ivan Migalev
cd25527f02 Fix a possible resource leak in ColorizationColorAffectsBorders
(cherry picked from commit 0c911b6ffe)
(cherry picked from commit ffbaf5e1d1)
2024-11-22 13:37:30 +04:00
Elena Sayapina
a74dd1a0d9 JBR-2086 JetBrainsMono fonts update to v1.0.1
(cherry picked from commit a4b373e631)
(cherry picked from commit 462fef3916)
2024-11-22 13:37:30 +04:00
Konstantin Bulenkov
f335374d6b JetBrains Mono 1.0
(cherry picked from commit d514f7a982)
(cherry picked from commit 56ee3ef459)
2024-11-22 13:37:30 +04:00
Denis Konoplev
6d2ece5e6c JBR-3444: Return NullSurfaceData when gc == null
(cherry picked from commit 01ad15e61c)
(cherry picked from commit 2a7a828ec8)
2024-11-22 13:37:30 +04:00
Denis Konoplev
9383785027 JBR-1995: Last character issue with korean
Fix for JTextComponent

(cherry picked from commit a7c8b0b535)
(cherry picked from commit 48410e5865)
2024-11-22 13:37:29 +04:00
Denis Konoplev
75c3c6b9d2 JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate
(cherry picked from commit c811c295c2)
(cherry picked from commit fe18b612dc)
2024-11-22 13:37:29 +04:00
Denis Konoplev
aab38ac94a JBR-2444: Turn on IM workaround by default
(cherry picked from commit 15c4ce1d3e)
(cherry picked from commit fe0c4e5b9e)
2024-11-22 13:37:29 +04:00
Denis Konoplev
38a0e2f052 Fix build: add import & fix jwhen
(cherry picked from commit 3551c2a4c0)
2024-11-22 13:37:29 +04:00
Denis Konoplev
bace944008 JBR-2795: Add explicit conversion
(cherry picked from commit bf3e1c0c31)
(cherry picked from commit 5f07df3034)
2024-11-22 13:37:29 +04:00
Denis Konoplev
40bfc3e876 IDEA-237231: Correct signarute mask
(cherry picked from commit 6974131eec)
(cherry picked from commit af2154f8b1)
2024-11-22 13:37:29 +04:00
Denis Konoplev
9e7dfb772a IDEA-237231: Possible fix for pen interraction
(cherry picked from commit 33a8c95d39)
(cherry picked from commit 58fbc3f800)
2024-11-22 13:37:29 +04:00
Denis Konoplev
169265a873 JBR-2041: Project view tap fix, recovery? constants & logging
(cherry picked from commit 1e904db3b0)
(cherry picked from commit 5c62dbdbca)
2024-11-22 13:37:29 +04:00
Denis Konoplev
b93a311142 IDEA-229135: Fling animation stop on tap
(cherry picked from commit 7ce0f79561)
(cherry picked from commit 01f0f774b4)
2024-11-22 13:37:29 +04:00
Denis Konoplev
35f9107cae Windows touch screen support
(cherry picked from commit cab3f28907)
(cherry picked from commit ce0e4aff62)
2024-11-22 13:37:29 +04:00
Denis Konoplev
9bb993e775 Turn off multitouch
(cherry picked from commit a2576ffa9a)
(cherry picked from commit 41eaa75d27)
2024-11-22 13:37:28 +04:00
Denis Konoplev
51c163310d Check XInput extension && touch inertia
(cherry picked from commit cca7fb97f4)
(cherry picked from commit edcb7310d3)
2024-11-22 13:37:28 +04:00
Denis Konoplev
acdfb4b6dc Touch scroll handling
(cherry picked from commit 6dcec3dc31)
(cherry picked from commit c585901afe)
2024-11-22 13:37:28 +04:00
Denis Konoplev
459ef2a730 XI2 Constants
(cherry picked from commit 588cd6ee73)
(cherry picked from commit 2e4a8ba10b)
2024-11-22 13:37:28 +04:00
Denis Konoplev
a50f71895e XLibWrapper XI2 functions
(cherry picked from commit d6bd1bfa2b)
(cherry picked from commit 7edf395b3b)
2024-11-22 13:37:28 +04:00
Denis Konoplev
05c987e9c1 X11 native get put double
(cherry picked from commit f101bc1108)
(cherry picked from commit 344fe36ceb)
2024-11-22 13:37:28 +04:00
Denis Konoplev
ff282482ea Native data types
(cherry picked from commit 9504574dbb)
(cherry picked from commit 5967b3f41b)
2024-11-22 13:37:28 +04:00
Denis Konoplev
9047dda387 XI2 headers in xlib wrapper generator
(cherry picked from commit ef108067a1)
(cherry picked from commit 1397389026)
2024-11-22 13:37:28 +04:00
Denis Konoplev
642431edf9 Revert "Turn off multitouch"
This reverts commit 90ea3bf57e4c687e9d9bf0a37f2f64c82a81f4eb.

(cherry picked from commit b154b46eb0)
2024-11-22 13:37:28 +04:00
Denis Konoplev
f0854bec2b Turn off multitouch
(cherry picked from commit a2576ffa9a)
(cherry picked from commit 960e154377)
2024-11-22 13:37:28 +04:00
Alexey Ushakov
301f573e85 JBR-1962 Allow to change font config
Replaced several privileged blocks with just one

(cherry picked from commit faa8d3d258)
(cherry picked from commit 2ffadb5f9a)
2024-11-22 13:37:27 +04:00
Vitaly Provodin
3795d8c59a 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)
2024-11-22 13:37:27 +04:00
Dennis Ushakov
8ebbd173f5 JBR-1863, JBR-1868 correct advances on Catalina
(cherry picked from commit bff05a1a97)
2024-11-22 13:37:27 +04:00
Dennis Ushakov
cea6e9504d JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families
(cherry picked from commit 59974ca04c)
2024-11-22 13:37:27 +04:00
Dennis Ushakov
4a27ad3831 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)
2024-11-22 13:37:27 +04:00
Dennis Ushakov
1f76a0acc6 JBR-1756 use CoreText for all font rendering on Catalina
(cherry picked from commit a4f42cd091)
2024-11-22 13:37:27 +04:00
Nikita Gubarkov
9611770c7e JBR-410 Added emoji support for Linux
(cherry picked from commit a98fac2c53)
2024-11-22 13:37:27 +04:00
Alexey Ushakov
d007fb0bed 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)
2024-11-22 13:37:27 +04:00
Anton Tarasov
dfd63a3387 JRE-729 [windows] unreasonable IME activity consumes CPU
(cherry picked from commit caf8462e09)
2024-11-22 13:37:27 +04:00
Dmitry Batrak
f20887f2ad 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)
2024-11-22 13:37:27 +04:00
Dmitry Batrak
0541a8b5cf JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
(cherry picked from commit f4b23f8be1)
2024-11-22 13:37:27 +04:00
Dmitry Batrak
7859c4d50e 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)
2024-11-22 13:37:26 +04:00
Dmitry Batrak
8074c1b019 JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR
(cherry picked from commit 95be4351d4)
(cherry picked from commit 79d0b926b2)
2024-11-22 13:37:26 +04:00
Dmitry Batrak
100bd31807 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)
2024-11-22 13:37:26 +04:00
Dmitry Batrak
49e364b983 JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux
(cherry picked from commit ebcdeb7d80)
(cherry picked from commit 6d26292983)
2024-11-22 13:37:26 +04:00
Dmitry Batrak
65cb84b692 JBR-2696 Log focus API invocations with stack traces
(cherry picked from commits 0f038754e5, a507cab6d3)

(cherry picked from commit a494c76a27)
2024-11-22 13:37:26 +04:00
Dmitry Batrak
073bb4e0df 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)
2024-11-22 13:37:24 +04:00
Alexey Ushakov
a1d9649f5e 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)
2024-11-22 13:25:41 +04:00
Artem Bochkarev
0d383b9c9b 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)
2024-11-22 13:25:41 +04:00
Artem Bochkarev
270084526c JBR-1841: allow deferred disabling of InputMethods-support
(cherry picked from commit 969255904b)
(cherry picked from commit f8513bcad9)
2024-11-22 13:25:41 +04:00
Artem Bochkarev
3b0b8416aa JBR-1668: add hardcoded default values for preferences node NSServicesStatus
(cherry picked from commit 8445f53d85)
(cherry picked from commit 2e3a5fe508)
2024-11-22 13:25:41 +04:00
Artem Bochkarev
3f08b78cac 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)
2024-11-22 13:25:41 +04:00
Artem Bochkarev
09cb0af19e JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management

(cherry picked from commit 15f7368309)
(cherry picked from commit 5aec21a5cd)
2024-11-22 13:25:41 +04:00
Elena Sayapina
f1083cb82a 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)
2024-11-22 13:25:40 +04:00
Alexey Ushakov
e3dc64835c 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)
2024-11-22 13:25:40 +04:00
Dmitry Batrak
0ea737da8a 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)
2024-11-22 13:25:40 +04:00
Dmitry Batrak
18aa9a902a 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)
2024-11-22 13:25:40 +04:00
Dmitry Batrak
a4102ebee3 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)
2024-11-22 13:25:40 +04:00
Artem Bochkarev
765635cdfd JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug)
(cherry picked from commit 1acada7cac)
(cherry picked from commit c1751ca98d)
2024-11-22 13:25:40 +04:00
Artem Bochkarev
6a6579e23a JBR-1668: minor fixes
fixed review comments

(cherry picked from commit 9dbcf194c9)
(cherry picked from commit 8276f81a13)
2024-11-22 13:25:40 +04:00
Vitaly Provodin
12257fbd8b JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commit e4a3889cf0)
(cherry picked from commit 3959ac1680)
2024-11-22 13:25:40 +04:00
Alexey Ushakov
8f20ba7a13 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)
2024-11-22 13:25:40 +04:00
Alexey Ushakov
adbc2fd129 JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test

(cherry picked from commit b4f5bf8bd3)
(cherry picked from commit a0eb49776a)
2024-11-22 13:25:40 +04:00
Elena Sayapina
f278253153 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)
2024-11-22 13:25:40 +04:00
Artem Bochkarev
cc9bf4e45b JBR-1668: read system keyboard shortcuts
initial support for OS X

(cherry picked from commit 6bbe7102e2)
(cherry picked from commit ccd8116bf3)
2024-11-22 13:25:40 +04:00
Artem Bochkarev
803b56548f JBR-1573: restore current input context after cleanup
(cherry picked from commit b7acd7f6f6)
(cherry picked from commit 9dbdd24cc3)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
4a3767b132 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
63efa80c68 JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
(cherry picked from commit c640e06d25)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
6dd15e04c0 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
f7d1901c9d 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
f7292a24dc 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
1356b466df 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
d9ab47aec4 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
a57e07fbe2 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
476941eae5 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)
2024-11-22 13:25:39 +04:00
Alexey Ushakov
291e0be302 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)
2024-11-22 13:25:39 +04:00
Artem Bochkarev
866cee2b77 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)
2024-11-22 13:25:38 +04:00
Alexey Ushakov
09758edd8a 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)
2024-11-22 13:25:38 +04:00
Artem Bochkarev
2c04e40006 JBR-1541: activate menu in completion handler of modal dialog
(cherry picked from commit e57384c1d6)
(cherry picked from commit b38f01f5e4)
2024-11-22 13:25:38 +04:00
Alexey Ushakov
a3b899a555 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)
2024-11-22 13:25:38 +04:00
Alexey Ushakov
55238d56e5 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)
2024-11-22 13:25:38 +04:00
Alexey Ushakov
ff18432cb0 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)
2024-11-22 13:25:38 +04:00
Elena Sayapina
07ae08d1aa JBR-1372: [TESTBUG] JDialog1054.java, MoveFocusShortcutTest.java regression tests need update
(cherry picked from commit a5948894bf)
(cherry picked from commit dcc2be2a53)
2024-11-22 13:25:38 +04:00
Maxim Kartashev
b4243dd379 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)
2024-11-22 13:25:38 +04:00
Vyacheslav Moklev
8688cecc8e Fix const pointer after JDK-8225032 fix
(cherry picked from commit dc3ae1cafa)
2024-11-22 13:25:38 +04:00
Vyacheslav Moklev
28dcef1a11 Fix compilation on windows platform: awt_ole.h must be included before awt.h
(cherry picked from commit 6fdcfedd0e)
2024-11-22 13:25:38 +04:00
Vyacheslav Moklev
e684c3ef54 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)
2024-11-22 13:25:38 +04:00
Vyacheslav Moklev
b3b6149c84 JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window

(cherry picked from commit 803ba97361)
2024-11-22 13:25:37 +04:00
Vyacheslav Moklev
7c90630ea2 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)
2024-11-22 13:25:37 +04:00
Vyacheslav Moklev
978b90645f JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice

(cherry picked from commit 8e5e04a798)
2024-11-22 13:25:37 +04:00
Vyacheslav Moklev
47b6a1fc07 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)
2024-11-22 13:25:37 +04:00
Vyacheslav Moklev
f2413be4d5 JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path

(cherry picked from commit b09a8aace1)
2024-11-22 13:25:37 +04:00
Vyacheslav Moklev
358282ca80 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)
2024-11-22 13:25:37 +04:00
Alexey Ushakov
c5781b8c42 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)
2024-11-22 13:25:37 +04:00
Alexey Ushakov
78d2a2b559 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)
2024-11-22 13:25:37 +04:00
Elena Sayapina
ad62aea35d 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)
2024-11-22 13:25:37 +04:00
Elena Sayapina
e3775b2df0 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)
2024-11-22 13:25:37 +04:00
Elena Sayapina
a9b0d9b34a 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)
2024-11-22 13:25:37 +04:00
Elena Sayapina
a34282b93a 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)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
cb719a01ca 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)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
966adec9f1 JRE-1117 J2DBench: introduced result reader for TC's charts
(cherry picked from commit 422fa59643)
(cherry picked from commit 43b5f7f8b0)
2024-11-22 13:25:36 +04:00
Alexey Ushakov
cc962edf48 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)
2024-11-22 13:25:36 +04:00
Alexey Ushakov
f2966fe39c 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)
2024-11-22 13:25:36 +04:00
Alexey Ushakov
e1d59e6b1f 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)
2024-11-22 13:25:36 +04:00
Alexey Ushakov
4a672a53a9 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)
2024-11-22 13:25:36 +04:00
Konstantin Bulenkov
7249add0da update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
(cherry picked from commit de1e4a9d71)
(cherry picked from commit 0b33efa7d1)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
ca52d42957 Update README.md
(cherry picked from commit eacef38934)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
54295b12b7 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)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
cf935fa36c 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)
2024-11-22 13:25:36 +04:00
Vitaly Provodin
6ec8a98a4a 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)
2024-11-22 13:25:36 +04:00
Sergey Malenkov
ca150881b8 JRE-100 Scroll with inertia (Mac os) should only work in the initial component
(cherry picked from commit e79502c708)
(cherry picked from commit 223a74bfeb)
2024-11-22 13:25:35 +04:00
Sergey Malenkov
26e5844f3c 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)
2024-11-22 13:25:35 +04:00
Dmitry Batrak
d0d96af044 JBR-3339 Window requests focus on horizontal scroll (on Linux)
(cherry picked from commit 8d74e8e30b)
(cherry picked from commit 88edabdd60)
2024-11-22 13:25:35 +04:00
Anton Tarasov
b2d77933b3 JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)

(cherry picked from commit 8a44e1bb37)
(cherry picked from commit 9a280dc79e)
2024-11-22 13:25:35 +04:00
Alexey Ushakov
3b710bffcc 8265445: Introduce the new client property for mac: apple.awt.windowAppearance
Implemented apple.awt.windowAppearance client property

(cherry picked from commit ba60f7bd8f)
2024-11-22 13:25:35 +04:00
Anton Tarasov
8426d95d9c JBR-3306 jbr-dev warnings: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong'
(cherry picked from commit 046409cd7f)
2024-11-22 13:25:35 +04:00
Dmitry Batrak
a4b4c42f27 JBR-2498 Fix unexpected window raising under Mutter WM
re-implement the fix, so that ChildAlwaysOnTopTest isn't failing

(cherry picked from commit bf826251fa)
2024-11-22 13:25:35 +04:00
Alexey Ushakov
4c9dad3aae JBR-3327 [jbr-dev] Adjust mac window appearance according to AppleInterfaceStyle property
Set window appearance according to AppleInterfaceStyle default

(cherry picked from commit ffe5b5a504)
2024-11-22 13:25:35 +04:00
Alexey Ushakov
6505f9971d 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)
2024-11-22 13:25:35 +04:00
Alexey Ushakov
a9ccff9b08 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)
2024-11-22 13:25:35 +04:00
Dmitry Batrak
6828d3856b 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)
2024-11-22 13:25:35 +04:00
Alexey Ushakov
3bad579c4b 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)
2024-11-22 13:25:34 +04:00
Alexey Ushakov
05aebb8daf 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)
2024-11-22 13:25:34 +04:00
Alexey Ushakov
9e644801d3 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)
2024-11-22 13:25:34 +04:00
Alexey Ushakov
51113ecf53 JBR-3304 jbr-dev warnings: 'getPhysFontName' defined but not used [-Werror=unused-function]
Removed unused code

(cherry picked from commit 6781f2646f)
2024-11-22 13:25:34 +04:00
Vitaly Provodin
9d387e3078 exclude javax/swing/JTabbedPane/4624207/bug4624207.java failing on windows due to 8197552
(cherry picked from commit 3f8f2e8928)
2024-11-22 13:25:34 +04:00
Alexey Ushakov
8db48b963f 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)
2024-11-22 13:25:30 +04:00
Alexey Ushakov
c91d7d61c3 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)
2024-11-22 13:22:59 +04:00
Denis Konoplev
ba0644a12e 8264143: Change uint8_t to unsigned char
(cherry picked from commit 9d01b82f64)
2024-11-22 13:22:59 +04:00
Dmitry Batrak
7a04bdfbff JBR-3255 Applying 'incline' transform might change character's advance
(cherry picked from commit b37f7cfdb1)
(cherry picked from commit 2bd6c80390)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
eb22837f12 JBR-3215 'deriveFont(float)' can return a different font (not just change the size)
(cherry picked from commit 8eafcaab24)
(cherry picked from commit 3f4065786d)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
6053c71652 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
f408c48590 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
3f01b0a874 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
282b6607d4 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
ffc3eb1147 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
0984db8c22 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)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
68c997c862 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)
2024-11-22 13:22:58 +04:00
Denis Konoplev
a5855bde86 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Add stdint include to fix x64 build

(cherry picked from commit 0dc04385a3)
2024-11-22 13:22:58 +04:00
Dmitry Batrak
b7895fd58d JBR-2498 Fix unexpected window raising under Mutter WM
(cherry picked from commit 73b45fb899)
(cherry picked from commit bc8dec8fc1)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
da8572ff49 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
4cf5b5fb04 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
cc6e31844d 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
d795105f4b 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
d7ebf68fca 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
51f3c7d1a8 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
573083bdc3 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
90785b1b96 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
1b49266d5a 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
061f8446e9 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)
2024-11-22 13:22:57 +04:00
Dmitry Batrak
f23884fe0f 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)
2024-11-22 13:22:56 +04:00
Dmitry Batrak
8a045107cc 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)
2024-11-22 13:22:56 +04:00
Dmitry Batrak
55fb6384f3 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)
2024-11-22 13:22:56 +04:00
Alexey Ushakov
32d126e7ab 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)
2024-11-22 13:22:56 +04:00
Alexey Ushakov
e25e9ae69f 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)
2024-11-22 13:22:56 +04:00
Dmitry Batrak
c9d929c4b1 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)
2024-11-22 13:22:56 +04:00
Dmitry Batrak
0ca1cf973d JRE-11 Support text rendering via DirectWrite API on Windows
(cherry picked from commit 6605d4a525)
2024-11-22 13:22:56 +04:00
Dmitry Batrak
3228f608a6 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)
2024-11-22 13:22:56 +04:00
Vitaly Provodin
5096b1e590 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)
2024-11-22 13:22:56 +04:00
Vitaly Provodin
428ade77c9 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)
2024-11-22 13:22:56 +04:00
Alexey Ushakov
cac92482cf 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)
2024-11-22 13:22:56 +04:00
Vitaly Provodin
f4a7e64657 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
be906fab0c 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
0b736b5441 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
aa6cf3e2e6 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
cf8903ff1d 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
9ba173ee6f 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
e29432b362 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
a2fac84059 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
904d5408c8 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
ef24525702 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
6a0cb84c4c 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
2a20dbc35a 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)
2024-11-22 13:22:55 +04:00
Vitaly Provodin
d3b229839a 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
f7c344ed5e 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
9415adb31c Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
(cherry picked from commit d922d7dfaf)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
d588af1977 JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
(cherry picked from commit 3535055ecd)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
fc977d3482 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
8247233e2b 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
d109ebaec4 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
291db53088 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
d45efc958f 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)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
aaa5120a81 JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
(cherry picked from commit 534d184416)
2024-11-22 13:22:54 +04:00
Vitaly Provodin
c638b1fdc1 exclude tests spontaneously creating windows during test execution
(cherry picked from commit bd278194b9)
2024-11-22 13:22:54 +04:00
Alexey Ushakov
335e304e3c 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)
2024-11-22 13:22:53 +04:00
Alexey Ushakov
05cebb3fa0 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)
2024-11-22 13:22:53 +04:00
Alexey Ushakov
99a2834b3d JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
(cherry picked from commit 3e57837094)
2024-11-22 13:22:53 +04:00
Anton Tarasov
b16ce699ad JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
(cherry picked from commit 8a4a781393)
2024-11-22 13:22:53 +04:00
Alexey Ushakov
5b1f8c2f9a 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)
2024-11-22 13:22:53 +04:00
Anton Tarasov
7a99e45725 JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
(cherry picked from commit d0b855df14)
2024-11-22 13:22:53 +04:00
Anton Tarasov
9440badc84 JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
(cherry picked from commit e68503823b)
2024-11-22 13:22:53 +04:00
Anton Tarasov
d8e8237042 JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
(cherry picked from commit 99d8964d90)
2024-11-22 13:22:53 +04:00
Anton Tarasov
2bbca0d93a 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)
2024-11-22 13:22:53 +04:00
Anton Tarasov
4af7c8cf10 JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
(cherry picked from commit 2ee33311dd)
2024-11-22 13:22:53 +04:00
Anton Tarasov
9c5d681a89 JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
(cherry picked from commit 812158fb5b)
2024-11-22 13:22:53 +04:00
Anton Tarasov
125c289057 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
(cherry picked from commit 8366197c01)
2024-11-22 13:22:52 +04:00
Vyacheslav Moklev
fe3e215c39 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)
2024-11-22 13:22:52 +04:00
Vyacheslav Moklev
81015506f1 JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
(cherry picked from commit f78449b302)
2024-11-22 13:22:52 +04:00
Anton Tarasov
f856e8905f JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
(cherry picked from commit 7525d41946)
2024-11-22 13:22:52 +04:00
Anton Tarasov
32c1c2fc17 JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
(cherry picked from commit bfa95fd66e)
2024-11-22 13:22:52 +04:00
Anton Tarasov
b13883cce2 JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
(cherry picked from commit 3049d42f8c)
2024-11-22 13:22:52 +04:00
Anton Tarasov
8fcd502fc7 JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
(cherry picked from commit 34032b2ced)
2024-11-22 13:22:52 +04:00
Anton Tarasov
d2d2ea1ea9 JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
(cherry picked from commit 0532e6c2aa)
2024-11-22 13:22:52 +04:00
Anton Tarasov
b5c039e3ce JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
(cherry picked from commit 88694a6148)
2024-11-22 13:22:52 +04:00
Anton Tarasov
9b4903e75c JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
(cherry picked from commit 3c3c2ffa90)
2024-11-22 13:22:52 +04:00
Anton Tarasov
9b93487239 IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
(cherry picked from commit 2f4e023df0)
2024-11-22 13:22:52 +04:00
Anton Tarasov
3c0cf0cd8d JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
(cherry picked from commit 0bfcc28a7a)
2024-11-22 13:22:51 +04:00
Anton Tarasov
34baf4f759 JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
(cherry picked from commit 05f934ea20)
2024-11-22 13:22:51 +04:00
Anton Tarasov
578ca560ab JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
(cherry picked from commit 2cecea407d)
2024-11-22 13:22:51 +04:00
Anton Tarasov
d102a9fb42 JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit ec106a58a3)
2024-11-22 13:22:51 +04:00
Anton Tarasov
184df72c19 JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
(cherry picked from commit 1ebd6a000b)
2024-11-22 13:22:51 +04:00
Anton Tarasov
953ef5d293 JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
(cherry picked from commit 5138201282)
2024-11-22 13:22:51 +04:00
Anton Tarasov
4d8c0ae313 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
(cherry picked from commit 96b07c6c65)
2024-11-22 13:22:51 +04:00
Anton Tarasov
cabb7ae4ca JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
(cherry picked from commit 924b6a8bb7)
2024-11-22 13:22:49 +04:00
Anton Tarasov
9505e5a24c fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
(cherry picked from commit 4fae6cb785)
2024-11-22 13:21:29 +04:00
Anton Tarasov
d53d498786 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)
2024-11-22 13:21:29 +04:00
Anton Tarasov
43552d38de JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
(cherry picked from commit b86054beb6)
2024-11-22 13:21:29 +04:00
Anton Tarasov
9bc24a6016 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
(cherry picked from commit e07eaabe47)
2024-11-22 13:21:29 +04:00
Anton Tarasov
b9943be495 JRE-934 Diff viewer errors are not visible on HiDPI Linux
(cherry picked from commit 641a09dd52)
(cherry picked from commit c37bfae963)
2024-11-22 13:21:29 +04:00
Anton Tarasov
49b70c6959 [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
(cherry picked from commit 57f7da037b)
2024-11-22 13:21:29 +04:00
Anton Tarasov
c224bedb82 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
(cherry picked from commit 60bb53f919)
2024-11-22 13:21:29 +04:00
Anton Tarasov
89daddc4b6 Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
(cherry picked from commit d4f290861b)
2024-11-22 13:21:29 +04:00
Anton Tarasov
21c9c21ca6 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)
2024-11-22 13:21:29 +04:00
Anton Tarasov
465359d683 Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
(cherry picked from commit b2e47f1be3)
2024-11-22 13:21:29 +04:00
Anton Tarasov
f6cc21aa12 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)
2024-11-22 13:21:28 +04:00
Anton Tarasov
7d58f5eba7 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)
2024-11-22 13:21:28 +04:00
Anton Tarasov
dfe2396493 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)
2024-11-22 13:21:28 +04:00
Anton Tarasov
4754f1bb31 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)
2024-11-22 13:21:28 +04:00
Anton Tarasov
62a7986e31 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)
2024-11-22 13:21:28 +04:00
Anton Tarasov
61df288594 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)
2024-11-22 13:21:24 +04:00
Anton Tarasov
a2dc62ddf2 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)
2024-11-22 13:20:15 +04:00
Anton Tarasov
b14cc31717 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)
2024-11-22 13:20:15 +04:00
Anton Tarasov
6ff66feca8 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)
2024-11-22 13:20:15 +04:00
Anton Tarasov
51fab5f56a 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)
2024-11-22 13:20:15 +04:00
Anton Tarasov
35a169edb1 JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)

(cherry picked from commit aa09fa2c85)
(cherry picked from commit 9b32557ad4)
2024-11-22 13:20:12 +04:00
Anton Tarasov
9ecb23e5a6 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
c6dfb838d4 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
019fbc58fe 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
95f2cbeea2 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
eb9cffb022 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
281b823c11 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
77529024b3 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
c47e36513b 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
8c86e4978d JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
(cherry picked from commit 20edebdefa)
(cherry picked from commit 9ac3479114)
2024-11-22 13:17:04 +04:00
Anton Tarasov
764f4060a0 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)
2024-11-22 13:17:04 +04:00
Anton Tarasov
d92af16257 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)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
47a2a91bf7 updated JTreg exclude list
(cherry picked from commit 418fb32e7f)
2024-11-22 13:17:03 +04:00
Alexey Ushakov
b2a60af2f2 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)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
76007bbe18 JBR-3398 remove the Experimental AOT and JIT Compiler (JEP 410)
(cherry picked from commit df63a5e6ad)
2024-11-22 13:17:03 +04:00
Alexey Ushakov
e5f25e9c7e JBR-2807: JDK15: update modules.list to resolve jbr build failure
removed nashorn modules

(cherry picked from commit c56a18eaf9)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
f0273687d1 JBR-2130 remove module jdk.pack
(cherry picked from commit 9acab72161)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
719039ff88 JBR-4810 add VERSION_PATCH into version number string
(cherry picked from commit 401a12b6b9)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
807bcaccd2 JBR-4754 make root directory with the same name as archive name
(cherry picked from commit 97a17c9a36)
2024-11-22 13:17:03 +04:00
Nikita Provotorov
6692d50f2c JBR-2074 Windows 10 AArch64 support: make the build scripts use custom build-jdk.
(cherry picked from commit 3d9869c702)
2024-11-22 13:17:03 +04:00
Nikita Provotorov
3f50ac4c59 JBR-2074 Windows 10 AArch64 support: build fixes.
(cherry picked from commit a873008261)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
b1cb5f7cdb JBR-4567 replace comma with point in RenderPerf scores
(cherry picked from commit 5b91efd8c0)
2024-11-22 13:17:03 +04:00
Vitaly Provodin
ace21b7ffc JBR-4520 set file permissions after signing
(cherry picked from commit 64259b866c)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
d6e84e6bde JBR-4512 windows: include pdb-files into jbrsdk
(cherry picked from commit 606ad057d3)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
25dc28366a JBR-4087 add version info into the name of root directory in JBR tar.gz-distributions
(cherry picked from commit 45eeae64ee)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
39184a50d2 JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64
(cherry picked from commit b387b2213e)
2024-11-22 13:17:02 +04:00
Maxim Kartashev
927a80a5b3 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)
2024-11-22 13:17:02 +04:00
Vladislav Rassokhin
a76a4493ee JBR-4451 Make bash scripts safer
(cherry picked from commit 4f048b9790)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
69d3747e42 JBR-4487 enable Linux 32 builds
(cherry picked from commit 38dbda93d0)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
01554c23c2 JBR-4458 enable JBR17 windows 32 bit builds
(cherry picked from commit d3e65953e7)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
44ed916e06 JBR-4272 generate and save debug symbols for JBR on macos/linux
(cherry picked from commit ef34e66dbf)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
f721621ec3 JBR-4053 integrate DCEVM patches as usual commits
(cherry picked from commit 45672abcad)
2024-11-22 13:17:02 +04:00
Vitaly Provodin
70e3c325d8 JBR-4370 create a test checking all JBR artifacts exist - add exit code
(cherry picked from commit 4dce25a5db)
2024-11-22 13:17:01 +04:00
Nikita Provotorov
5f1de5edb2 JBR-2074 Windows 10 AArch64 support: add build and pack scripts.
(cherry picked from commit e33c77a615)
2024-11-22 13:17:01 +04:00
Vladimir Kempik
2c21ec74ae JBR-4452: Update crash report message with JBR youtrack link
instead of bugreport.java.com

(cherry picked from commit c52914a035)
2024-11-22 13:17:01 +04:00
Vitaly Provodin
8ee7e3291b JBR-4437 add sources to JBRSDK distributions for Windows and Linux
(cherry picked from commit 0399594195)
2024-11-22 13:17:01 +04:00
Vitaly Provodin
41e74f6fc9 JBR-4437 add sources to JBRSDK distributions
(cherry picked from commit a13a015597)
2024-11-22 13:17:01 +04:00
Anton Tarasov
d3dcff7c92 JBR-3906 JBR for Linux aarch64 with JCEF is missing, is there any support plan?
(cherry picked from commit d47bc61b0e)
2024-11-22 13:17:01 +04:00
Vitaly Provodin
c6e7cce7cc 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)
2024-11-22 13:17:01 +04:00
Vladimir Kempik
54f6ea4a75 JBR-4283: Provide native JBR builds for alpine Linux-aarch64
(cherry picked from commit 925f02d3c5)
2024-11-22 13:17:01 +04:00
Vladimir Kempik
c31c1c2093 JBR-4242:Provide native JBR builds for alpine Linux
(cherry picked from commit c62e05e7ac)
2024-11-22 13:17:01 +04:00
Maxim Kartashev
e88ace26e6 JBR-3917 Problem using windows certificate store (trustStoreType=Windows-ROOT not recognized)
(cherry picked from commit 65abc7b029)
2024-11-22 13:17:01 +04:00
Maxim Kartashev
55a75e8f51 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)
2024-11-22 13:17:00 +04:00
Vitaly Provodin
81e42216cd JBR-4154 extract version info from sources & JBR-4099 make test-image on jbrsdk_jcef step
(cherry picked from commit f22a76949b)
2024-11-22 13:17:00 +04:00
Vitaly Provodin
7617fca654 JBR-4067 fix misprint with applying obsolete exclude_jcef_module.patch
(cherry picked from commit 106349f0fe)
2024-11-22 13:17:00 +04:00
Vitaly Provodin
9e678cf7a1 JBR-3756 remove JNF from mac-aarch64 binaries
(cherry picked from commit 011d461c99)
2024-11-22 13:17:00 +04:00
Vitaly Provodin
d72113cc29 JBR-4082 create JBR & JBRSDK installer packages
(cherry picked from commit a2e1fe0fa4)
2024-11-22 13:17:00 +04:00
Maxim Kartashev
cbb34b0c24 JBR-4061 Specify build user for the build
(cherry picked from commit 66713adb61)
2024-11-22 13:17:00 +04:00
Maxim Kartashev
d7c2bc5faf 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)
2024-11-22 13:17:00 +04:00
Maxim Kartashev
b7d7b1681b 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)
2024-11-22 13:17:00 +04:00
Maxim Kartashev
c47726ea0c JBR-4059 Create Dockerfile for building on AArch64 Linux
(cherry picked from commit 249614a30b)
2024-11-22 13:17:00 +04:00
Vitaly Provodin
e72c4b3f23 JBR-3905 add incremental JBR building
(cherry picked from commit 54f28cde44)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
6a0f389b49 JBR-3904 fix the image directory name of macos builds
(cherry picked from commit cf13b7c46e)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
abce9166df configure BOOT_JDK to use JDK 17
(cherry picked from commit d815b82649)
2024-11-22 13:16:59 +04:00
Anton Tarasov
8336eb05dc JBR-3655 jbr-dev build fails to find jcef modules on Windows
(cherry picked from commit f63fd1c8ec)
2024-11-22 13:16:59 +04:00
Maxim Kartashev
2f8e447742 JBR-3645 Tool to support keeping JBR in sync with OpenJDK
(cherry picked from commit 21c43f48cf)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
24f9957b70 JBR-3639 add jbrsdk tarballs for dcevm, jcef builds
(cherry picked from commit 0117d49591)
2024-11-22 13:16:59 +04:00
Anton Tarasov
d97150f210 JBR-3627 include jmods in jbrsdk bundle for jbr-dev
(cherry picked from commit f54c836685)
2024-11-22 13:16:59 +04:00
Vitaly.Provodin
4aeacd45bb add dockerfile for x86
(cherry picked from commit 8fb2341ea8)
(cherry picked from commit cfbafa6c73)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
fbd4c42f8e JBR-1505 add jdk.jcmd module into JBR
(cherry picked from commit c40b9c8b9e)
(cherry picked from commit 5362ff99a2)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
1bf689e4b2 JBR-2957 notarize JBR and JBRSDK as APPL
(cherry picked from commit 0e7f9ce4ca)
(cherry picked from commit 3f4aee8c63)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
f69c6bca1c JBR-667 add shenandoahgc feature
(cherry picked from commit e15dad04)
(cherry picked from commit 0845bb7308)
2024-11-22 13:16:59 +04:00
Vitaly Provodin
45277562ca configure BOOT_JDK to use JDK 16
(cherry picked from commit 3e34330003)
2024-11-22 13:16:58 +04:00
Anton Tarasov
3387c9ea3f Add build.gradle
(cherry picked from commit 9d01f893b6)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
588453acd4 JBR-3401 enable macos-aarhc64 builds
(cherry picked from commit d2c40f66f8)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
5106c9e78d JBR-3305 remove the option --disable-warnings-as-errors from configure
(cherry picked from commit 301fcb2df1)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
10969872b0 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)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
b151c5496b JBR-2912 add JBR 15 builds with DCEVM
(cherry picked from commit 95416c501a)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
c32e60bced JBR-2864 initial commit of DCEVM patches reworked for 15
(cherry picked from commit a592f63537)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
78aa47ac1a JBR-2812 remove --with-import-modules from configure for aarch64
(cherry picked from commit 49fa98391a)
2024-11-22 13:16:58 +04:00
Anton Tarasov
4c4eea9a2a JBR-2812 bundle jcef in jmod format instead of modular-sdk
Build test-image with non-jcef build target

(cherry picked from commit 9edee0e476)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
ff26dea73a JBR-2787 fix copying jcef files into jbr/jbrsdk binaries
(cherry picked from commit a4269d0907)
2024-11-22 13:16:58 +04:00
Vitaly Provodin
9b4fb15aa6 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)
2024-11-22 13:16:58 +04:00
Anton Tarasov
55e1695f74 JBR-2016 add jcef module and export packages to it
(cherry picked from commit cf997f71c6)
(cherry picked from commit cad125e01d)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
021bec9c90 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)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
b47ecfc8ae JBR-2395 eliminate JavaFX from JBR
(cherry picked from commit cd7e539561)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
75ab3d9d3f JBR-2409 fix prameters for configure
(cherry picked from commit f309357fba)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
f8a1d79fd8 JDK14: exclude dependencies on jcef in x86, fastdebug builds
(cherry picked from commit 14e98eaf94)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
c5f5bd7863 JBR-2396 fix CONF names
(cherry picked from commit 34cd854326)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
9723630d07 JBR-2394 replace --disable-debug-symbols with --with-native-debug-symbols=none
(cherry picked from commit 79ff0cb7b3)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
d256f485f1 add exec permitions to configure
(cherry picked from commit bf2e441e09)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
c9a0b5101c split checkout before building JBR+JFX or JBR+JCEF on two separate commands
(cherry picked from commit b7030bae8e)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
11fbb2d824 change BOOT_JDK, fix target names
(cherry picked from commit 6a778fa6ea)
2024-11-22 13:16:57 +04:00
Vitaly Provodin
b05247db8b JBR-2291 add vendor info into bundles
(cherry picked from commit 026fcaaf2b)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
0cd2dde8dc JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit 6f45378ed9)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
b9d1ddf4e2 JBR-2320 add jdk.attach module into JBR
(cherry picked from commit a1884561bd)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
3169ef5325 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches
(cherry picked from commit d5fef466f4)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
9a8aa8c382 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86
(cherry picked from commit 211b306949)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
83f5df0f06 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)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
2dea7fe1a0 JBR-2181 create two separate JBR bundles with JFX and JFX+JCEF
(cherry picked from commit a26a1dcef0)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
566d66ad43 JBR-2148 modify signapp&build scripts to match to the new layout
(cherry picked from commit 7cdd4cbf4a)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
4a4449d9a6 JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file
(cherry picked from commit 47ac942dfb)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
52e7847dc6 JBR-1821 notarize JBR bundles as a standalone app
(cherry picked from commit 96e733ed79)
2024-11-22 13:16:56 +04:00
Vitaly Provodin
9dc61e02f9 JBR-2162 move building scripts from TC to JBR repo
(cherry picked from commit 6f4774c0d4)
2024-11-22 13:16:55 +04:00
Anton Tarasov
f3cd6bf563 JBR-2016 add jcef module and export some sun.* packages to it
(cherry picked from commit 193da0eff7)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
99aee22754 JBR-2014 add jdk.hotspot.agent module to jbr
(cherry picked from commit b352fa1b54)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
eb01a0fb93 JBR-1286 add jdk.compiler into JBR
(cherry picked from commit 245db892cd)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
e0d738a10b JBR-1199 add JBR modules list for jlink
(cherry picked from commit ff8dc6567f)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
08ce48a81a Update docker script to create jdk15 build env
(cherry picked from commit cd5b1b94e7)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
c36a0c67c1 JBR-3045 add pressing ESC to close the dialog after test completion
(cherry picked from commit 44d8b28b0b)
(cherry picked from commit c98106b4b0)
2024-11-22 13:16:55 +04:00
Vitaly Provodin
d8545584e8 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)
2024-11-22 13:16:55 +04:00
Vitaly.Provodin
b5521a8939 updated JTreg exclude list
(cherry picked from commit 6d1cee2181)
2024-11-22 13:16:55 +04: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
Abhishek Kumar
054362abe0 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Reviewed-by: asemenov, kizune, achung
2024-06-06 15:53:09 +00:00
Martin Doerr
9b436d048e 8333674: Disable CollectorPolicy.young_min_ergo_vm for PPC64
Reviewed-by: mbaesken, zgu
2024-06-06 15:34:46 +00:00
Emanuel Peter
487c477181 8333647: C2 SuperWord: some additional PopulateIndex tests
Reviewed-by: kvn, chagedorn
2024-06-06 15:21:31 +00:00
Daniel Fuchs
d02cb742f7 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
Reviewed-by: jpai
2024-06-06 15:19:50 +00:00
Jorn Vernee
02f240415c 8333560: -Xlint:restricted does not work with --release
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero, mcimadamore
2024-06-06 15:18:18 +00:00
Galder Zamarreño
606df44141 8332670: C1 clone intrinsic needs memory barriers
Reviewed-by: shade, thartmann, aph
2024-06-06 15:02:22 +00:00
Vladimir Kozlov
33fd6ae986 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Reviewed-by: thartmann, chagedorn
2024-06-06 13:41:51 +00:00
Matthias Baesken
8de5d2014a 8332865: ubsan: os::attempt_reserve_memory_between reports overflow
Reviewed-by: stuefe, clanger
2024-06-06 12:27:26 +00:00
Saint Wesonga
f15d423fb5 6942632: Hotspot should be able to use more than 64 logical processors on Windows
Reviewed-by: jsjolen, dholmes
2024-06-06 11:55:43 +00:00
Erik Gahlin
1a50bd09ef 8322568: JFR: Improve metadata for IEEE rounding mode fields
Reviewed-by: mgronlun
2024-06-06 09:57:30 +00:00
Matthias Baesken
880c6b42ba 8333178: ubsan: jvmti_tools.cpp:149:16: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: cjplummer, sspitsyn
2024-06-06 07:46:35 +00:00
Nizar Benalla
c7d2841fb4 8332070: Convert package.html files in java.management to package-info.java
Reviewed-by: alanb
2024-06-06 07:27:58 +00:00
Christian Hagedorn
7ef2831293 8333644: C2: assert(is_Bool()) failed: invalid node class: Phi
Reviewed-by: thartmann, kvn
2024-06-06 06:58:05 +00:00
Kuai Wei
8f0785325d 8333410: [AArch64] Clean unused classes in nativeInst_aarch64.hpp
Reviewed-by: aph, chagedorn
2024-06-06 06:25:43 +00:00
Tobias Hartmann
6f690a5b01 8333177: Invalid value used for enum Cell in ciTypeFlow::get_start_state
Reviewed-by: kvn, chagedorn
2024-06-06 05:39:28 +00:00
Cesar Soares Lucas
b351b5f60e 8331736: C2: Live Node limit exceeded limit after JDK-8316991
Reviewed-by: thartmann, chagedorn
2024-06-06 05:21:09 +00:00
Jan Lahoda
b3f540d354 8332921: Ctrl+C does not call shutdown hooks after JLine upgrade
Reviewed-by: asotona, vromero
2024-06-06 04:43:36 +00:00
Serguei Spitsyn
30894126a4 8326716: JVMTI spec: clarify what nullptr means for C/C++ developers
Reviewed-by: kbarrett, cjplummer
2024-06-06 04:20:59 +00:00
David Holmes
ca9390755b 8256828: ostream::print_cr() truncates buffer in copy-through case
Reviewed-by: stuefe, matsaave
2024-06-06 00:15:43 +00:00
Serguei Spitsyn
60ea17e848 8311177: Switching to interpreter only mode in carrier thread can lead to crashes
Reviewed-by: pchilanomate, amenkov
2024-06-05 21:46:41 +00:00
Liam Miller-Cushon
7564949a56 8291643: Consider omitting type annotations from type error diagnostics
Reviewed-by: vromero
2024-06-05 19:10:13 +00:00
Jatin Bhateja
4c09d9f828 8332119: Incorrect IllegalArgumentException for C2 compiled permute kernel
Reviewed-by: sviswanathan, kvn
2024-06-05 18:36:49 +00:00
Jan Lahoda
f7dbb98fe6 8333086: Using Console.println is unnecessarily slow due to JLine initalization
Reviewed-by: asotona, naoto
2024-06-05 17:20:44 +00:00
Andrew Haley
9b3694c4fc 8319822: Use a linear-time algorithm for assert_different_registers()
Reviewed-by: kbarrett, stefank, stuefe
2024-06-05 17:09:55 +00:00
Leonid Mesnik
f73922b27d 8333235: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with C1
Reviewed-by: cjplummer, sspitsyn
2024-06-05 16:05:20 +00:00
Abhishek Kumar
5dcb7a627e 8160755: bug6492108.java test fails with exception Image comparison failed at (0, 0) for image 4 in GTK L&F
Reviewed-by: aivanov, dnguyen, tr
2024-06-05 16:03:35 +00:00
Sonia Zaldana Calles
438121be6b 8332785: Replace naked uses of UseSharedSpaces with CDSConfig::is_using_archive
Reviewed-by: dholmes, stuefe, sspitsyn
2024-06-05 15:58:59 +00:00
Jaikiran Pai
d7d1afb0a8 8206447: InflaterInputStream.skip receives long but it's limited to Integer.MAX_VALUE
Reviewed-by: lancea, alanb
2024-06-05 15:55:20 +00:00
Mark Sheppard
7acfba288f 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out
Reviewed-by: bpb
2024-06-05 15:47:52 +00:00
Christian Hagedorn
c5c0867881 8333252: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: must find OpaqueLoop* nodes
Reviewed-by: kvn, epeter
2024-06-05 15:37:31 +00:00
Adam Sotona
d85b0ca5cd 8332457: Examine startup overheads from JDK-8294961
8229959: Convert proxy class to use constant dynamic

Reviewed-by: liach, redestad
2024-06-05 15:33:03 +00:00
Viktor Klang
326dbb1b13 8312436: CompletableFuture never completes when 'Throwable.toString()' method throws Exception
Reviewed-by: alanb
2024-06-05 14:40:04 +00:00
Sonia Zaldana Calles
9a8096feb8 8330047: ASAN build error with gcc 13
Reviewed-by: aboldtch, stuefe
2024-06-05 14:14:14 +00:00
Jaikiran Pai
6882b381e8 8333590: UnmodifiableHeaders.toString() returns a value that represents empty headers
Reviewed-by: dfuchs, michaelm
2024-06-05 14:03:29 +00:00
Sonia Zaldana Calles
cbb6747e6b 8329581: Java launcher no longer prints a stack trace
8329420: Java 22 (and 23) launcher calls default constructor although main() is static
8330864: No error message when ExceptionInInitializerError thrown in static initializer

Reviewed-by: stuefe
2024-06-05 13:12:30 +00:00
Doug Lea
789f704d9a 8322732: ForkJoinPool may underutilize cores in async mode
8327854: Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException

Reviewed-by: alanb
2024-06-05 13:02:15 +00:00
Matthias Baesken
2c1b311f81 8331854: ubsan: copy.hpp:218:10: runtime error: addition of unsigned offset to 0x7fc2b4024518 overflowed to 0x7fc2b4024510
Reviewed-by: kvn, clanger
2024-06-05 12:45:26 +00:00
Hannes Wallnöfer
765ad0e40b 8331947: Preview creates checkbox for JEP-less preview feature
Reviewed-by: liach, prappo
2024-06-05 12:39:56 +00:00
Erik Gahlin
8e903eeb1f 8331896: JFR: Improve check for JDK classes
Reviewed-by: mgronlun
2024-06-05 12:35:24 +00:00
Albert Mingkun Yang
3cbdf8d4d4 8333554: Parallel: Remove unused PSParallelCompact::is_in
Reviewed-by: tschatzl
2024-06-05 08:54:53 +00:00
Johan Sjölen
3944e67366 8312132: Add tracking of multiple address spaces in NMT
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: stefank, stuefe
2024-06-05 07:53:48 +00:00
Matthias Baesken
d0052c032c 8333326: Linux Alpine build fails after 8302744
Reviewed-by: sgehwolf, clanger, stuefe
2024-06-05 07:11:27 +00:00
Jaikiran Pai
4369856c6d 8333130: MakeJAR2.sh uses hard-coded JDK version
Reviewed-by: lancea, darcy, sspitsyn, amenkov
2024-06-05 06:35:46 +00:00
Jan Lahoda
1f09467230 8327368: javac crash when computing exhaustiveness checks
Reviewed-by: vromero
2024-06-05 05:45:59 +00:00
SendaoYan
7dbd03388e 8332499: Gtest codestrings.validate_vm fail on linux x64 when hsdis is present
Reviewed-by: thartmann, chagedorn
2024-06-05 05:09:53 +00:00
Joe Wang
9db7c95019 8332750: Broken link in CatalogFeatures.html
Reviewed-by: lancea, iris, naoto
2024-06-05 02:52:55 +00:00
lingjun.cg
d826127970 8333462: Performance regression of new DecimalFormat() when compare to jdk11
Reviewed-by: liach, naoto, jlu
2024-06-05 01:51:20 +00:00
Joe Darcy
67b9a08139 8333586: Improve syntax of @see tags in javax.lang.model
Reviewed-by: iris, jjg
2024-06-05 00:56:25 +00:00
Leonid Mesnik
244f6ac222 8307824: Clean up Finalizable.java and finalize terminology in vmTestbase/nsk/share
Reviewed-by: sspitsyn, cjplummer
2024-06-04 19:18:41 +00:00
Hannes Wallnöfer
a706e35b12 8332039: Cannot invoke "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null
Reviewed-by: jjg
2024-06-04 17:21:33 +00:00
Liam Miller-Cushon
612b6896d2 8043226: Better diagnostics for non-applicable type annotations
Reviewed-by: vromero
2024-06-04 17:18:53 +00:00
Vladimir Kozlov
dce9703155 8333226: Regressions 2-3% in Compress ZGC after 8331253
Reviewed-by: chagedorn, thartmann
2024-06-04 16:58:21 +00:00
David M. Lloyd
b101dcb609 8333312: Incorrect since tags on new ClassReader and ConstantPool methods
Reviewed-by: liach, asotona
2024-06-04 16:57:59 +00:00
Nizar Benalla
e0bab78640 8326951: since-checker - missing @ since tags
Reviewed-by: jpai
2024-06-04 16:51:39 +00:00
Calvin Cheung
31f70391e5 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
Reviewed-by: dholmes, iklam
2024-06-04 16:43:08 +00:00
Albert Mingkun Yang
4a1cdd5ba9 8333486: Parallel: Remove unused methods in psParallelCompact
Reviewed-by: tschatzl
2024-06-04 16:39:03 +00:00
Vladimir Kozlov
664c993c41 8331731: ubsan: relocInfo.cpp:155:30: runtime error: applying non-zero offset to null pointer
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: mdoerr, thartmann, mbaesken
2024-06-04 16:36:39 +00:00
Jan Lahoda
8d3de45f4d 8325168: JShell should support Markdown comments
Reviewed-by: jjg
2024-06-04 11:54:49 +00:00
Nizar Benalla
9ee741d1e5 8332015: since-checker - Add @ since tags to jdk.httpserver
Reviewed-by: alanb, dfuchs, michaelm
2024-06-04 11:38:54 +00:00
Johan Sjölen
0f4154a9e9 8331193: Return references when possible in GrowableArray
Reviewed-by: stefank, kbarrett, epeter
2024-06-04 10:53:26 +00:00
Christian Hagedorn
64bbae7512 8333394: C2: assert(bol->is_Opaque4() || bol->is_OpaqueInitializedAssertionPredicate()) failed: Opaque node of non-null-check or of Initialized Assertion Predicate
Reviewed-by: thartmann, roland
2024-06-04 09:47:08 +00:00
Albert Mingkun Yang
c7495fb35d 8333444: Parallel: Inline PSParallelCompact::mark_obj
Reviewed-by: tschatzl
2024-06-04 07:56:55 +00:00
Hamlin Li
454660d361 8332900: RISC-V: refactor nativeInst_riscv.cpp and macroAssembler_riscv.cpp
Reviewed-by: fyang, luhenry
2024-06-04 07:04:57 +00:00
Emanuel Peter
67d6f3ca9e 8332905: C2 SuperWord: bad AD file, with RotateRightV and first operand not a pack
Reviewed-by: chagedorn, thartmann
2024-06-04 06:20:31 +00:00
Jayathirth D V
ca30726352 8332866: Crash in ImageIO JPEG decoding when MEM_STATS in enabled
Reviewed-by: abhiscxk, psadhukhan
2024-06-04 05:11:41 +00:00
Vladimir Ivanov
29e10e4582 8332547: Unloaded signature classes in DirectMethodHandles
Reviewed-by: jvernee, liach
2024-06-04 04:02:49 +00:00
Alexander Scherbatiy
c7d2a5c1c4 8314070: javax.print: Support IPP output-bin attribute extension
Reviewed-by: psadhukhan, prr
2024-06-04 03:12:40 +00:00
Jaikiran Pai
d230b30353 8333398: Uncomment the commented test in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java
Reviewed-by: iris, lancea
2024-06-04 01:53:18 +00:00
Sonia Zaldana Calles
1512011eaf 8332123: [nmt] Move mallocLimit code to the nmt subdir
Reviewed-by: dholmes, stuefe
2024-06-04 01:33:59 +00:00
Justin Lu
6dac8d6452 8332424: Update IANA Language Subtag Registry to Version 2024-05-16
Reviewed-by: naoto, iris
2024-06-03 22:00:31 +00:00
Naoto Sato
9686e804a2 8333103: Re-examine the console provider loading
Reviewed-by: redestad, jpai
2024-06-03 15:52:21 +00:00
Albert Mingkun Yang
4de620732f 8333229: Parallel: Rename ParMarkBitMap::_region_start to _heap_start
Reviewed-by: tschatzl
2024-06-03 15:40:47 +00:00
Christian Hagedorn
1f9e62904c 8333434: IGV: Print loop node for PHASE_BEFORE/AFTER_CLOOPS
Reviewed-by: thartmann, rcastanedalo
2024-06-03 14:03:34 +00:00
John Engebretson
27af19d921 8332586: Avoid cloning empty arrays in java.lang.reflect.{Method,Constructor}
Reviewed-by: shade, rriggs, liach
2024-06-03 13:38:48 +00:00
Prasanta Sadhukhan
1c514b34c0 8325435: [macos] Menu or JPopupMenu not closed when main window is resized
Reviewed-by: azvegint
2024-06-03 13:00:23 +00:00
SendaoYan
d07e530d33 8333128: Linux x86_32 configure fail with --with-hsdis=binutils --with-binutils-src
Reviewed-by: shade, jwaters, ihse
2024-06-03 12:07:11 +00:00
Magnus Ihse Bursie
f0bffbce35 8333301: Remove static builds using --enable-static-build
Reviewed-by: sgehwolf, erikj
2024-06-03 10:03:42 +00:00
Thomas Stuefe
b10158624b 8332514: Allow class space size to be larger than 3GB
Reviewed-by: iklam, dholmes
2024-06-03 09:26:50 +00:00
Thomas Schatzl
5ed0d52c84 8332936: Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded
Reviewed-by: stefank, ayang
2024-06-03 09:25:37 +00:00
SendaoYan
91101f0d4f 8333353: Delete extra empty line in CodeBlob.java
Reviewed-by: cjplummer, lmesnik
2024-06-03 08:12:22 +00:00
Roberto Castañeda Lozano
e0ac8249f5 8332959: C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kvn, thartmann, aboldtch
2024-06-03 07:37:17 +00:00
Alexander Zvegintsev
d2d78ad18e 8280990: [XWayland] XTest emulated mouse click does not bring window to front
Reviewed-by: avu, psadhukhan, kizune
2024-06-03 07:12:06 +00:00
Christian Hagedorn
7c83d7ab53 8333366: C2: CmpU3Nodes are not pushed back to worklist in PhaseCCP leading to non-fixpoint assertion failure
Reviewed-by: kvn, thartmann
2024-06-03 06:41:33 +00:00
Gui Cao
75220da26f 8333154: RISC-V: Add support for primitive array C1 clone intrinsic
Reviewed-by: fyang
2024-06-03 04:42:44 +00:00
Gui Cao
a4c7be862c 8333006: RISC-V: C2: Support vector-scalar and vector-immediate arithmetic instructions
Reviewed-by: fyang, fjiang
2024-06-03 01:48:10 +00:00
Gui Cao
cfe91ed39c 8333276: RISC-V: client VM build failure after JDK-8241503
Reviewed-by: fyang
2024-06-03 01:44:16 +00:00
Claes Redestad
769b3e48ea 8333182: Add truncated tracing mode for TraceBytecodes
Reviewed-by: dholmes, fparain, coleenp
2024-06-02 20:29:03 +00:00
David Holmes
8338946a6d 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Reviewed-by: dcubed, stuefe
2024-06-02 20:08:17 +00:00
Jaikiran Pai
4785461f61 7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Reviewed-by: lancea
2024-06-02 01:07:27 +00:00
Alexey Semenyuk
24530022d0 8331977: Crash: SIGSEGV in dlerror()
Reviewed-by: almatvee
2024-06-01 12:31:25 +00:00
SendaoYan
51b2f80627 8332923: ObjectMonitorUsage.java failed with unexpected waiter_count
Co-authored-by: Jiawei Tang <jwtang@openjdk.org>
Reviewed-by: sspitsyn, alanb, amitkumar
2024-06-01 11:31:19 +00:00
Thomas Stuefe
d29d5bfb7f 8333290: NMT report should not print Metaspace info if Metaspace is not yet initialized
Reviewed-by: stefank, dholmes
2024-06-01 08:19:07 +00:00
John Jiang
c0ce7d871f 8333046: Clean codes in sun.security.util.math
Reviewed-by: weijun
2024-06-01 05:58:00 +00:00
Jonathan Gibbons
10eb1cb639 8331879: Clean up non-standard use of /// comments in java.base
Reviewed-by: naoto, iris, darcy
2024-05-31 22:16:35 +00:00
Brent Christian
2cae9a0397 8314480: Memory ordering spec updates in java.lang.ref
Reviewed-by: dholmes, alanb, darcy
2024-05-31 21:29:30 +00:00
Alexander Matveev
9fd0e7349e 8332110: [macos] jpackage tries to sign added files without the --mac-sign option
Reviewed-by: asemenyuk
2024-05-31 20:30:32 +00:00
Bernhard Urban-Forster
8aeada105a 8331159: VM build without C2 fails after JDK-8180450
Reviewed-by: thartmann, kvn, aph
2024-05-31 18:18:49 +00:00
Maurizio Cimadamore
e99f6a65a8 8333236: Test java/foreign/TestAccessModes.java is timing out after passing
Reviewed-by: jvernee
2024-05-31 17:53:35 +00:00
Vicente Romero
e650bdf465 8332507: compilation result depends on compilation order
Reviewed-by: mcimadamore
2024-05-31 17:34:51 +00:00
Alex Menkov
e4fbb15c6a 8320215: HeapDumper can use DumpWriter buffer during merge
Reviewed-by: sspitsyn, yyang
2024-05-31 17:23:56 +00:00
Christian Stein
681137cad2 8333131: Source launcher should work with service loader SPI
Reviewed-by: jjg
2024-05-31 15:02:55 +00:00
Hamlin Li
914423e3b7 8332899: RISC-V: add comment and make the code more readable (if possible) in MacroAssembler::movptr
Reviewed-by: rehn, fyang
2024-05-31 15:01:25 +00:00
Erik Gahlin
5abc02927b 8331877: JFR: Remove JIInliner framework
Reviewed-by: mgronlun
2024-05-31 13:45:17 +00:00
Jaikiran Pai
d9e7b7e7da 8210471: GZIPInputStream constructor could leak an un-end()ed Inflater
Reviewed-by: lancea
2024-05-31 13:43:40 +00:00
Hannes Wallnöfer
1e04ee6d57 8331579: Reference to primitive type fails without error or warning
Reviewed-by: jjg, prappo
2024-05-31 13:19:15 +00:00
Jan Lahoda
32ee252c45 8333169: javac NullPointerException record.type
Reviewed-by: vromero
2024-05-31 13:14:44 +00:00
Hannes Wallnöfer
e930bc1fbb 8329537: Nested and enclosing classes should be linked separately in breadcrumb navigation
Reviewed-by: jjg
2024-05-31 13:11:23 +00:00
Zhengyu Gu
79a78f032e 8333129: Move ShrinkHeapInSteps flag to Serial GC
Reviewed-by: dholmes, kbarrett
2024-05-31 13:00:04 +00:00
Erik Österlund
2f2dc2289b 8330981: ZGC: Should not dedup strings in the finalizer graph
Reviewed-by: stefank, aboldtch, tschatzl
2024-05-31 12:50:41 +00:00
Erik Österlund
d481215126 8333005: Deadlock when setting or updating the inline cache
Reviewed-by: sjohanss, shade
2024-05-31 12:49:22 +00:00
SendaoYan
7ab74c5f26 8333200: Test containers/docker/TestPids.java fails Limit value -1 is not accepted as unlimited
Reviewed-by: sgehwolf
2024-05-31 10:13:57 +00:00
Adam Sotona
a7864af08a 8182774: Verify code in javap
Reviewed-by: mcimadamore
2024-05-31 08:48:14 +00:00
Aggelos Biboudis
778ad00af8 8308642: Unhelpful pattern switch error: illegal fall-through to a pattern
Reviewed-by: mcimadamore
2024-05-31 08:43:54 +00:00
Albert Mingkun Yang
bb4aed944e 8332961: Parallel: Limit PSParallelCompact::verify_complete range
Reviewed-by: tschatzl, gli
2024-05-31 07:58:32 +00:00
Christian Hagedorn
95c8a69b0e 8332032: C2: Remove ExpandSubTypeCheckAtParseTime flag
Reviewed-by: thartmann, rcastanedalo
2024-05-31 06:56:57 +00:00
Thomas Stuefe
ba323b515d 8333047: Remove arena-size-workaround in jvmtiUtils.cpp
Reviewed-by: jsjolen, sspitsyn
2024-05-31 06:50:29 +00:00
Adam Sotona
22ef827e2c 8320396: Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp
Reviewed-by: liach, mcimadamore
2024-05-31 06:26:35 +00:00
Jan Lahoda
2ab8ab5613 8332858: References with escapes have broken positions after they are transformed
Reviewed-by: vromero, jjg
2024-05-31 05:54:39 +00:00
Alexey Semenyuk
1b7d59f171 8333303: Issues with DottedVersion class
Reviewed-by: almatvee
2024-05-31 03:05:09 +00:00
Alexey Semenyuk
e304a8ae63 8333307: Don't suppress jpackage logging in tests when it is detecting packaging tools in the system
Reviewed-by: almatvee
2024-05-31 03:02:09 +00:00
Chris Plummer
3634a91050 8332751: Broken link in VirtualMachine.html
Reviewed-by: amenkov, alanb
2024-05-30 20:38:38 +00:00
Justin Lu
ffb0867e2c 8331485: Odd Results when Parsing Scientific Notation with Large Exponent
8331680: NumberFormat is missing some bad exponent strict parse cases

Reviewed-by: naoto
2024-05-30 20:05:22 +00:00
Joe Darcy
79f49983d3 8321314: Reinstate disabling the compiler's default active annotation processing
Reviewed-by: vromero
2024-05-30 19:57:21 +00:00
Chris Plummer
ec88c6a872 8332917: failure_handler should execute gdb "info threads" command on linux
Reviewed-by: lmesnik, sspitsyn
2024-05-30 18:59:21 +00:00
Leonid Mesnik
b3e29db144 8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization
Reviewed-by: cjplummer, sspitsyn
2024-05-30 18:21:40 +00:00
Evgeny Nikitin
11e926cf50 8332777: Update JCStress test suite
Reviewed-by: lmesnik
2024-05-30 18:21:29 +00:00
Alex Menkov
44c1845ae7 8330852: All callers of JvmtiEnvBase::get_threadOop_and_JavaThread should pass current thread explicitly
Reviewed-by: sspitsyn, cjplummer
2024-05-30 18:12:43 +00:00
Chris Plummer
922e312b0a 8328611: Thread safety issue in com.sun.tools.jdi.ReferenceTypeImpl::classObject
Reviewed-by: amenkov, sspitsyn
2024-05-30 18:03:44 +00:00
Jatin Bhateja
1d889e54fc 8332487: Regression in Crypto-AESGCMBench.encrypt (and others) after JDK-8328181
Reviewed-by: thartmann
2024-05-30 17:14:07 +00:00
William Kemper
32636dcc3d 8333105: Shenandoah: Results of concurrent mark may be lost for degenerated cycle
Reviewed-by: kdnilsen, shade, ysr
2024-05-30 16:36:25 +00:00
Alan Bateman
707154235b 8331189: Implementation of Scoped Values (Third Preview)
Reviewed-by: aph, jpai, mcimadamore
2024-05-30 15:41:56 +00:00
Jan Lahoda
4acafb809c 8333107: javac fails with an exception when processing broken lambda
Reviewed-by: asotona
2024-05-30 13:53:27 +00:00
Tobias Hartmann
921860d41d 8333264: Remove unused resolve_sub_helper declaration after JDK-8322630
Reviewed-by: rcastanedalo
2024-05-30 13:38:14 +00:00
Erik Gahlin
4a20691e9b 8331876: JFR: Move file read and write events to java.base
Reviewed-by: mgronlun, alanb
2024-05-30 13:32:57 +00:00
Chen Liang
f608918df3 8332614: Type-checked ConstantPool.entryByIndex and ClassReader.readEntryOrNull
Reviewed-by: asotona
2024-05-30 11:51:49 +00:00
Jaikiran Pai
1b04f6487c 8216984: Deprecate for removal Socket constructors to create UDP sockets
Reviewed-by: alanb, dfuchs
2024-05-30 10:03:06 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +00:00
Ivan Walulya
2b4a4b7bd8 8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.
Reviewed-by: tschatzl, ayang
2024-05-30 08:32:15 +00:00
Alexander Zvegintsev
286cc163fd 8327401: Some jtreg tests fail on Wayland without any tracking bug
8312111: open/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails on ubuntu 23.04

Reviewed-by: prr
2024-05-30 06:44:04 +00:00
Adam Sotona
579cf705ff 8332597: Remove redundant methods from j.l.classfile.ClassReader API
Reviewed-by: liach, jlahoda
2024-05-30 06:12:50 +00:00
Jan Lahoda
57bfd0e393 8332065: Calling readLine(null...) or readPassword(null...) on System.console() hangs jshell
Reviewed-by: prappo
2024-05-30 06:02:42 +00:00
Jan Lahoda
9a72068ef0 8332230: jshell throws AssertionError when processing annotations
Reviewed-by: asotona
2024-05-30 06:02:31 +00:00
Jan Lahoda
66d9bfce29 8332725: Binding patterns with inferred type have erroneous node in the AST
Reviewed-by: asotona
2024-05-30 06:01:18 +00:00
Damon Fenacci
2ea365c945 8333099: Missing check for is_LoadVector in StoreNode::Identity
Reviewed-by: chagedorn, thartmann
2024-05-30 05:11:32 +00:00
Magnus Ihse Bursie
789ac8b276 8333189: Make sure clang on linux uses lld as linker
Reviewed-by: jiangli, erikj
2024-05-29 19:51:07 +00:00
Chris Plummer
c8eea59f50 8332919: SA PointerLocation needs to print a newline after dumping java thread info for JNI Local Ref
Reviewed-by: kevinw, dholmes
2024-05-29 18:23:23 +00:00
Leonid Mesnik
bc7d9e3d0b 8333013: Update vmTestbase/nsk/share/LocalProcess.java to don't use finalization
Reviewed-by: cjplummer, amenkov
2024-05-29 15:01:07 +00:00
Leonid Mesnik
03b7a8586a 8332259: JvmtiTrace::safe_get_thread_name fails if current thread is in native state
Reviewed-by: dholmes, sspitsyn
2024-05-29 14:59:19 +00:00
Matthias Baesken
43a2f17342 8333149: ubsan : memset on nullptr target detected in jvmtiEnvBase.cpp get_object_monitor_usage
Reviewed-by: sspitsyn, mdoerr
2024-05-29 12:38:51 +00:00
Hamlin Li
fed2b56017 8320999: RISC-V: C2 RotateLeftV
8321000: RISC-V: C2 RotateRightV

Reviewed-by: luhenry, fyang
2024-05-29 12:25:40 +00:00
Matthew Donovan
6cda4c5985 8321543: Update NSS to version 3.96
Reviewed-by: rhalade
2024-05-29 11:19:55 +00:00
Maurizio Cimadamore
c003c1207f 8331865: Consolidate size and alignment checks in LayoutPath
Reviewed-by: psandoz, jvernee
2024-05-29 11:12:30 +00:00
Cesar Soares Lucas
6d718ae51a 8324341: Remove redundant preprocessor #if's checks
Reviewed-by: kvn, ayang
2024-05-29 09:36:13 +00:00
Matthias Baesken
9b64ece514 8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Reviewed-by: mdoerr, jkern
2024-05-29 09:11:04 +00:00
Severin Gehwolf
3d4eb159e6 8302744: Refactor Hotspot container detection code
Reviewed-by: jsjolen, stuefe
2024-05-29 08:46:27 +00:00
Thomas Schatzl
2cca83bc82 8332880: JFR GCHelper class recognizes "Archive" regions as valid
Reviewed-by: ayang, iwalulya
2024-05-29 07:55:01 +00:00
Matthias Baesken
b8ae11e99b 8332960: ubsan: classListParser.hpp:159:12: runtime error: load of value 2101478704, which is not a valid value for type 'ParseMode'
Reviewed-by: dholmes, mdoerr
2024-05-29 06:41:53 +00:00
Prasanta Sadhukhan
9a83dfee14 8332431: NullPointerException in JTable of SwingSet2
Reviewed-by: abhiscxk, kizune
2024-05-29 05:09:39 +00:00
Jatin Bhateja
01060ad4ab 8325083: jdk/incubator/vector/Double512VectorTests.java crashes in Assembler::vex_prefix_and_encode
Reviewed-by: kvn, sviswanathan
2024-05-29 02:18:20 +00:00
David Holmes
673f767dad 8285506: Unify os::vsnprintf implementations
Reviewed-by: jwaters, kbarrett, jsjolen
2024-05-28 22:43:35 +00:00
Alexey Semenyuk
91ab088d5e 8333116: test/jdk/tools/jpackage/share/ServiceTest.java test fails
Reviewed-by: almatvee
2024-05-28 21:39:38 +00:00
Martin Doerr
9ac8d05a25 8332228: TypePollution.java: Unrecognized VM option 'UseSecondarySuperCache'
Reviewed-by: chagedorn, kvn
2024-05-28 20:00:14 +00:00
Joe Wang
91caec07cb 8330542: Template for Creating Strict JAXP Configuration File
Reviewed-by: lancea, erikj, alanb, ihse, mullan, naoto
2024-05-28 19:26:17 +00:00
Mikael Vidstedt
da6aa2a86c 8332849: Update doc/testing.{md,html} (spelling and stale information)
Reviewed-by: iris, ihse, erikj, djelinski
2024-05-28 17:07:27 +00:00
Steven Loomis
b8f2ec9091 8195675: Call to insertText with single character from custom Input Method ignored
Reviewed-by: prr
2024-05-28 16:44:44 +00:00
Alan Bateman
0f3e2cc334 8331670: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
Reviewed-by: mcimadamore, jpai, pminborg
2024-05-28 15:05:54 +00:00
Ashutosh Mehra
51ae08f72b 8333093: Incorrect comment in zAddress_aarch64.cpp
Reviewed-by: stefank
2024-05-28 15:02:50 +00:00
Albert Mingkun Yang
4754f059f9 8333035: Parallel: Remove ParMarkBitMap::IterationStatus
Reviewed-by: tschatzl
2024-05-28 14:47:04 +00:00
Archie Cobbs
87a06b6ce4 8325805: Compiler Implementation for Flexible Constructor Bodies (Second Preview)
Reviewed-by: vromero, jlahoda
2024-05-28 13:15:20 +00:00
Alan Bateman
e708d135e3 8332064: Implementation of Structured Concurrency (Third Preview)
Reviewed-by: jpai, bpb, mcimadamore
2024-05-28 13:08:02 +00:00
Robbin Ehn
7b52d0acfc 8332265: RISC-V: Materialize pointers faster by using a temp register
Reviewed-by: fyang, luhenry, mli
2024-05-28 12:54:37 +00:00
Adam Sotona
aa4c83a5bf 8332505: JEP 457: ClassRemapper forgets to remap bootstrap method references
Reviewed-by: jlahoda
2024-05-28 12:29:30 +00:00
Magnus Ihse Bursie
cabe337400 8331921: Hotspot assembler files should use common logic to setup exported functions
Reviewed-by: coleenp, erikj, dholmes
2024-05-28 11:37:36 +00:00
Christian Hagedorn
2edb6d9813 8330386: Replace Opaque4Node of Initialized Assertion Predicate with new OpaqueInitializedAssertionPredicateNode
Reviewed-by: kvn, roland
2024-05-28 08:12:36 +00:00
Albert Mingkun Yang
1850914380 8332864: Parallel: Merge ParMarkBitMapClosure into MoveAndUpdateClosure
Reviewed-by: tschatzl
2024-05-28 08:08:42 +00:00
Hamlin Li
2f2cf38bb5 8332883: Some simple cleanup in vectornode.cpp
Reviewed-by: kvn
2024-05-28 07:51:49 +00:00
Korov
b5e1615c00 8292955: Collections.checkedMap Map.merge does not properly check key and value
Reviewed-by: gli, liach, pminborg
2024-05-28 06:43:07 +00:00
David Holmes
86eb5d9f3b 8329958: Windows x86 build fails: downcallLinker.cpp(36) redefinition
Reviewed-by: kvn, shade
2024-05-27 21:52:49 +00:00
Matthias Baesken
be1d374bc5 8332825: ubsan: guardedMemory.cpp:35:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: clanger, mdoerr
2024-05-27 14:32:30 +00:00
Yudi Zheng
ed81a478e1 8327964: Simplify BigInteger.implMultiplyToLen intrinsic
Reviewed-by: mdoerr, amitkumar, kvn, fyang
2024-05-27 14:25:13 +00:00
Jan Lahoda
08face8c4c 8332890: Module imports don't work inside the same module
Reviewed-by: vromero
2024-05-27 14:19:26 +00:00
Tobias Hartmann
793fd72fa6 8332956: Problem list CodeCacheFullCountTest.java until JDK-8332954 is fixed
Reviewed-by: chagedorn
2024-05-27 13:22:49 +00:00
Ivan Walulya
891d5aedf1 8332683: G1: G1CardSetArray::EntryDataType [2] triggers ubsan runtime errors
Reviewed-by: tschatzl, ayang
2024-05-27 11:21:31 +00:00
Thomas Schatzl
f3d6fbf52e 8330847: G1 accesses uninitialized memory when predicting eden copy time
Reviewed-by: iwalulya, ayang
2024-05-27 11:20:10 +00:00
Matthias Baesken
1b8dea4a92 8332894: ubsan: vmError.cpp:2090:26: runtime error: division by zero
Reviewed-by: dholmes, stuefe
2024-05-27 10:27:41 +00:00
Albert Mingkun Yang
0e7ea390bb 8332678: Serial: Remove use of should_clear_all_soft_refs in serial folder
Reviewed-by: iwalulya
2024-05-27 10:25:38 +00:00
Thomas Schatzl
72fbfe18cb 8330577: G1 sometimes sends jdk.G1HeapRegionTypeChange for non-changes
Co-authored-by: Andreas Steiner <asteiner@openjdk.org>
Reviewed-by: ayang, asteiner
2024-05-27 09:48:49 +00:00
Ludvig Janiuk
08891553bb 8332885: Clarify failure_handler self-tests
Reviewed-by: lmesnik
2024-05-27 09:43:31 +00:00
Ludvig Janiuk
7f0ad513c3 8332898: failure_handler: log directory of commands
Reviewed-by: lmesnik
2024-05-27 09:35:52 +00:00
Evemose
617edf3f0d 8332497: javac prints an AssertionError when annotation processing runs on program with module imports
Reviewed-by: liach, vromero, jlahoda
2024-05-27 08:54:20 +00:00
Roberto Castañeda Lozano
ffa4badb78 8332527: ZGC: generalize object cloning logic
Reviewed-by: aboldtch, thartmann
2024-05-27 08:42:40 +00:00
Albert Mingkun Yang
a3a367ef5d 8332871: Parallel: Remove public bits APIs in ParMarkBitMap
Reviewed-by: tschatzl
2024-05-27 08:06:24 +00:00
Thomas Schatzl
61db2f5b90 8079167: Fix documentation for G1SATBBufferEnqueueingThresholdPercent == 0
Reviewed-by: kbarrett, iwalulya
2024-05-27 07:11:39 +00:00
Thomas Schatzl
a083364520 8321292: SerialGC: NewSize vs InitialHeapSize check has an off-by-one error
Reviewed-by: ayang, iwalulya
2024-05-27 07:11:18 +00:00
Matthias Baesken
16dba04e8d 8332589: ubsan: unix/native/libjava/ProcessImpl_md.c:562:5: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: rriggs, mdoerr
2024-05-27 06:35:39 +00:00
SendaoYan
4e8deb396e 8332922: Test java/io/IO/IO.java fails when /usr/bin/expect not exist
Reviewed-by: djelinski
2024-05-27 06:32:21 +00:00
Daniel Jeliński
08d51003d1 8332724: x86 MacroAssembler may over-align code
Reviewed-by: dlong, kvn
2024-05-27 05:23:26 +00:00
Phil Race
97ee2ffb89 8332416: Add more font selection options to Font2DTest
Reviewed-by: tr, honkar
2024-05-25 23:17:57 +00:00
Lei Zaakjyu
985b9ce79a 8330694: Rename 'HeapRegion' to 'G1HeapRegion'
Reviewed-by: cjplummer, kbarrett, tschatzl
2024-05-25 02:10:05 +00:00
Alexander Zuev
05f13e75ee 8329667: [macos] Issue with JTree related fix for JDK-8317771
Reviewed-by: asemenov, abhiscxk, psadhukhan
2024-05-25 00:35:56 +00:00
Vicente Romero
7bf1989f59 8320575: generic type information lost on mandated parameters of record's compact constructors
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: jlahoda
2024-05-24 20:43:23 +00:00
Kevin Walls
253508b03a 8332303: Better JMX interoperability with older JDKs, after removing Subject Delegation
Reviewed-by: dfuchs, cjplummer
2024-05-24 19:31:20 +00:00
William Kemper
ebc520e83f 8332841: GenShen: Pull shared members from control thread into common base class
Reviewed-by: ysr
2024-05-24 18:10:31 +00:00
Naoto Sato
236432dbdb 8332084: Ensure JdkConsoleImpl.restoreEcho visibility in a shutdown hook
Reviewed-by: prappo, joehw, smarks
2024-05-24 17:51:49 +00:00
Leonid Mesnik
b3b33667ad 8332631: Update nsk.share.jpda.BindServer to don't use finalization
Reviewed-by: cjplummer, sspitsyn
2024-05-24 17:34:00 +00:00
Leonid Mesnik
f66a586614 8332641: Update nsk.share.jpda.Jdb to don't use finalization
Reviewed-by: cjplummer, kevinw
2024-05-24 17:31:30 +00:00
Alexey Ivanov
cd3e4c0366 8326734: text-decoration applied to <span> lost when mixed with <u> or <s>
8325620: HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>

Reviewed-by: honkar, prr
2024-05-24 16:30:30 +00:00
Calvin Cheung
c2cca2ab44 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Reviewed-by: dholmes, iklam
2024-05-24 16:07:36 +00:00
Dan Heidinga
6d2aeb82bc 8332745: Method::is_vanilla_constructor is never used
Reviewed-by: coleenp, ayang
2024-05-24 16:03:12 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Damon Fenacci
0c934ff4e2 8325520: Vector loads and stores with indices and masks incorrectly compiled
Reviewed-by: epeter, thartmann
2024-05-24 13:39:17 +00:00
Pavel Rappo
c099f14f07 8305457: Implement java.io.IO
Reviewed-by: naoto, smarks, jpai, jlahoda
2024-05-24 13:37:14 +00:00
Daniel Fuchs
6a35311468 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Reviewed-by: jpai, mullan
2024-05-24 12:42:16 +00:00
Christian Stein
f16265d69b 8332226: "Invalid package name:" from source launcher
Reviewed-by: alanb
2024-05-24 12:24:15 +00:00
Cesar Soares Lucas
5a2ba952b1 8325841: Remove unused references to vmSymbols.hpp
Reviewed-by: kvn, coleenp
2024-05-24 11:55:46 +00:00
Albert Mingkun Yang
239c1b33b4 8332807: Parallel: Make some APIs in ParMarkBitMap private
Reviewed-by: tschatzl
2024-05-24 07:29:22 +00:00
Gui Cao
9b61a7608e 8332615: RISC-V: Support vector unsigned comparison instructions for machines with RVV
Reviewed-by: fyang
2024-05-24 07:12:22 +00:00
Thomas Schatzl
a71b404785 8331398: G1: G1HeapRegionPrinter reclamation events should print the original region type
Reviewed-by: ayang, iwalulya, gli
2024-05-24 07:12:12 +00:00
Jan Lahoda
af056c1676 8332106: VerifyError when using switch pattern in this(...) or super(...)
Reviewed-by: abimpoudis, vromero
2024-05-24 06:27:45 +00:00
Weijun Wang
da3001daf7 8331975: Enable case-insensitive check in ccache and keytab entry lookup
Reviewed-by: mpowers, valeriep
2024-05-24 01:16:43 +00:00
Alex Menkov
424eb60ded 8331683: Clean up GetCarrierThread
Reviewed-by: sspitsyn, cjplummer
2024-05-24 00:32:49 +00:00
Sergey Bylokhov
9b1d6d66b8 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
Reviewed-by: phh, shade, egahlin
2024-05-23 23:40:00 +00:00
steveatgh
f8a3e4e428 8328998: Encoding support for Intel APX extended general-purpose registers
Reviewed-by: kvn, sviswanathan, jbhateja
2024-05-23 22:54:24 +00:00
William Kemper
ddd73b4583 8332082: Shenandoah: Use consistent tests to determine when pre-write barrier is active
Reviewed-by: kdnilsen, shade
2024-05-23 22:33:24 +00:00
Per Minborg
0a9d1f8c89 8332749: Broken link in MemorySegment.Scope.html
Reviewed-by: iris
2024-05-23 18:13:23 +00:00
Roland Westrelin
c9a7b9772d 8332829: [BACKOUT] C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: thartmann
2024-05-23 16:37:01 +00:00
Ioi Lam
7fd9d6c760 8332340: Add JavacBench as a test case for CDS
Reviewed-by: ccheung, matsaave
2024-05-23 16:04:56 +00:00
Nizar Benalla
417d174aa1 8331348: Some incremental builds deposit files in the make directory
Reviewed-by: ihse, vromero
2024-05-23 16:04:40 +00:00
Thomas Stuefe
303ac9f270 8332671: Logging for pretouching thread stacks shows wrong memory range
Reviewed-by: shade
2024-05-23 15:54:11 +00:00
Magnus Ihse Bursie
90758f6735 8332808: Always set java.io.tmpdir to a suitable value in the build
Reviewed-by: erikj
2024-05-23 14:36:23 +00:00
Matthias Baesken
e19a421c30 8332720: ubsan: instanceKlass.cpp:3550:76: runtime error: member call on null pointer of type 'struct Array'
Reviewed-by: stefank, mdoerr
2024-05-23 13:22:30 +00:00
Claes Redestad
2581935b47 8332528: Generate code in SwitchBootstraps.generateTypeSwitch that require fewer adaptations
Reviewed-by: liach, jlahoda
2024-05-23 12:26:19 +00:00
Serguei Spitsyn
b890336e11 8328083: degrade virtual thread support for GetObjectMonitorUsage
Reviewed-by: cjplummer, alanb
2024-05-23 12:07:17 +00:00
Jan Lahoda
4e6d851f3f 8325324: Implement JEP 477: Implicitly Declared Classes and Instance Main Methods (Third Preview)
Reviewed-by: asotona, vromero, mcimadamore
2024-05-23 09:43:29 +00:00
Doug Simon
612ae9289a 8332735: [JVMCI] Add extra JVMCI events for exception translation
Reviewed-by: never
2024-05-23 08:11:22 +00:00
Matthias Baesken
1ea76d338b 8332675: test/hotspot/jtreg/gc/testlibrary/Helpers.java compileClass javadoc does not match after 8321812
Reviewed-by: mdoerr, ayang
2024-05-23 07:28:28 +00:00
Albert Mingkun Yang
94af3c23ea 8329203: Parallel: Investigate Mark-Compact for Full GC to decrease memory usage
Reviewed-by: rkennke, gli
2024-05-23 07:13:57 +00:00
Albert Mingkun Yang
1e5a2780d9 8332676: Remove unused BarrierSetAssembler::incr_allocated_bytes
Reviewed-by: tschatzl, kbarrett
2024-05-23 07:00:10 +00:00
Sergey Chernyshev
c2180d141c 8315767: InetAddress: constructing objects from BSD literal addresses
Reviewed-by: dfuchs, aefimov, michaelm, jpai
2024-05-23 06:12:45 +00:00
Dan Heidinga
2a11e0da02 8332743: Update comment related to JDK-8320522
Reviewed-by: coleenp
2024-05-23 05:55:16 +00:00
Sonia Zaldana Calles
6829d9ac67 8332122: [nmt] Totals for malloc should show total peak
Reviewed-by: stuefe, jsjolen
2024-05-23 05:53:09 +00:00
Prasanta Sadhukhan
9d332e6591 8307193: Several Swing jtreg tests use class.forName on L&F classes
Reviewed-by: abhiscxk, prr
2024-05-23 04:23:04 +00:00
Jaikiran Pai
98f6a80852 8332490: JMH org.openjdk.bench.java.util.zip.InflaterInputStreams.inflaterInputStreamRead OOM
Reviewed-by: aturbanov, redestad
2024-05-23 01:03:19 +00:00
Mikhailo Seledtsov
3d4185a9ce 8332739: Problemlist compiler/codecache/CheckLargePages until JDK-8332654 is fixed
Reviewed-by: kvn, dcubed
2024-05-22 20:05:33 +00:00
Aggelos Biboudis
c4557a7b0d 8332463: Byte conditional pattern case element dominates short constant case element
Reviewed-by: vromero
2024-05-22 19:48:23 +00:00
Nizar Benalla
d59c12fe10 8329718: Incorrect @since tags in elements in jdk.compiler and java.compiler
Reviewed-by: darcy, jjg
2024-05-22 19:13:21 +00:00
Daniel D. Daugherty
b4d1454085 8332740: [BACKOUT] JDK-8331081 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
Reviewed-by: mikael, prr, jlahoda
2024-05-22 19:06:06 +00:00
Alex Menkov
37c477856d 8332096: hotspot-ide-project fails with this-escape
Reviewed-by: erikj
2024-05-22 18:38:10 +00:00
Liam Miller-Cushon
2170e99cb4 8331081: 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
Reviewed-by: jlahoda
2024-05-22 18:02:37 +00:00
Nizar Benalla
a0c5714dbc 8332071: Convert package.html files in java.management.rmi to package-info.java
8332376: Add `@since` tags to `java.management.rmi`

Reviewed-by: kevinw, rriggs
2024-05-22 16:31:17 +00:00
Volodymyr Paprotski
afed7d0b05 8329538: Accelerate P256 on x86_64 using Montgomery intrinsic
Reviewed-by: ihse, ascarpino, sviswanathan
2024-05-22 16:27:27 +00:00
Johan Sjölen
9ca90ccd6b 8332610: Remove unused nWakeups in ObjectMonitor
Reviewed-by: coleenp, dcubed
2024-05-22 13:52:51 +00:00
Ivan Walulya
92d33501e0 8331920: ubsan: g1CardSetContainers.inline.hpp:266:5: runtime error: index 2 out of bounds for type 'G1CardSetHowl::ContainerPtr [2]' reported
Reviewed-by: tschatzl, aboldtch
2024-05-22 13:45:37 +00:00
Coleen Phillimore
4f1a10f84b 8332360: JVM hangs at exit when running on a uniprocessor
Reviewed-by: dholmes, dcubed, shade
2024-05-22 12:08:33 +00:00
Robbin Ehn
c3bc23fe48 8326306: RISC-V: Re-structure MASM calls and jumps
Reviewed-by: fyang, luhenry
2024-05-22 11:47:54 +00:00
Fei Gao
8a9d77d58d 8320622: [TEST] Improve coverage of compiler/loopopts/superword/TestMulAddS2I.java on different platforms
Reviewed-by: epeter, kvn
2024-05-22 11:33:35 +00:00
Tobias Holenstein
3d511ff63e 8329748: Change default value of AssertWXAtThreadSync to true
Reviewed-by: kvn, rrich
2024-05-22 08:50:15 +00:00
Gui Cao
67f03f2a4f 8332533: RISC-V: Enable vector variable shift instructions for machines with RVV
Reviewed-by: fyang, mli
2024-05-22 06:56:40 +00:00
Jaikiran Pai
5f804b2ec1 8329825: Clarify the value type for java.net.SocketOptions.SO_LINGER
Reviewed-by: alanb, dfuchs
2024-05-22 01:20:51 +00:00
Vladimir Kozlov
52eda79522 8332538: Switch off JIT memory limit check for TestAlignVectorFuzzer.java
Reviewed-by: stuefe, thartmann
2024-05-21 15:52:52 +00:00
Aleksey Shipilev
d999b81e71 8331572: Allow using OopMapCache outside of STW GC phases
Co-authored-by: Zhengyu Gu <zgu@openjdk.org>
Reviewed-by: coleenp, zgu
2024-05-21 14:56:53 +00:00
Roger Riggs
8291c94bcd 8331224: ClassCastException in ObjectInputStream hides ClassNotFoundException
Reviewed-by: smarks
2024-05-21 14:11:39 +00:00
Raffaello Giulietti
42e3c842ae 8332086: Remove the usage of ServiceLoader in j.u.r.RandomGeneratorFactory
8332476: j.u.r.RandomGeneratorFactor.create(long|byte[]) should throw rather than silently fallback to no-arg create()

Reviewed-by: jpai
2024-05-21 12:53:03 +00:00
Hamlin Li
5cf8288b80 8332153: RISC-V: enable tests and add comment for vector shift instruct (shared by vectorization and Vector API)
Reviewed-by: fyang
2024-05-21 12:34:06 +00:00
Amit Kumar
ae9ad862ee 8331934: [s390x] Add support for primitive array C1 clone intrinsic
Reviewed-by: mdoerr, sjayagond
2024-05-21 12:01:48 +00:00
Albert Mingkun Yang
3479b46c5b 8332595: Serial: Remove unused TenuredGeneration::should_collect
Reviewed-by: tschatzl
2024-05-21 11:41:43 +00:00
Vicente Romero
9bfae8891e 8332297: annotation processor that generates records sometimes fails due to NPE in javac
Reviewed-by: jlahoda
2024-05-21 08:53:26 +00:00
Albert Mingkun Yang
4e169d1ed7 8332401: G1: TestFromCardCacheIndex.java with -XX:GCCardSizeInBytes=128 triggers underflow assertion
Reviewed-by: tschatzl, iwalulya
2024-05-21 08:34:00 +00:00
Amit Kumar
7ffc9997bd 8332498: [aarch64, x86] improving OpToAssembly output for partialSubtypeCheckConstSuper Instruct
Reviewed-by: kvn, thartmann
2024-05-21 08:17:06 +00:00
Matthias Baesken
e529101ea3 8332473: ubsan: growableArray.hpp:290:10: runtime error: null pointer passed as argument 1, which is declared to never be null
Reviewed-by: jsjolen, clanger
2024-05-21 08:11:08 +00:00
Chen Liang
414a7fdc5e 8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Reviewed-by: asotona
2024-05-21 08:02:18 +00:00
Adam Sotona
451cc23905 8332486: ClassFile API ArrayIndexOutOfBoundsException with label metadata
Reviewed-by: psandoz
2024-05-21 07:59:33 +00:00
Albert Mingkun Yang
5f2b8d0224 8332448: Make SpaceMangler inherit AllStatic
Reviewed-by: kbarrett, iwalulya
2024-05-21 07:43:54 +00:00
Matthias Baesken
8a49d47cf3 8332462: ubsan: c1_ValueStack.hpp:229:49: runtime error: load of value 171, which is not a valid value for type 'bool'
Reviewed-by: chagedorn, mdoerr, thartmann
2024-05-21 07:35:35 +00:00
Jaikiran Pai
ce99198e3a 8332181: Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
Reviewed-by: dfuchs, iris, alanb
2024-05-21 06:37:15 +00:00
Axel Boldt-Christmas
f5ab7dff40 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr
Reviewed-by: jpai, stefank, dholmes
2024-05-21 06:14:44 +00:00
Axel Boldt-Christmas
9f7779305c 8332495: java/util/logging/LoggingDeadlock2.java fails with AssertionError: Some tests failed
Reviewed-by: jpai, stefank
2024-05-21 06:14:34 +00:00
Abhishek Kumar
fb45bab8e1 8075917: The regression-swing case failed as the text on label is not painted red with the GTK L&F
8298153: Colored text is not shown on disabled checkbox and radio button with GTK LAF for bug4314194

Reviewed-by: tr, psadhukhan
2024-05-21 05:31:44 +00:00
Jonathan Gibbons
6e805127f8 8332545: Fix handling of HTML5 entities in Markdown comments
Reviewed-by: prappo, erikj
2024-05-21 00:39:46 +00:00
Viktor Klang
b78613b681 8332154: Memory leak in SynchronousQueue
Reviewed-by: alanb
2024-05-20 18:52:34 +00:00
Vladimir Ivanov
7652f9811b 8331885: C2: meet between unloaded and speculative types is not symmetric
Reviewed-by: roland, thartmann
2024-05-20 17:56:44 +00:00
Serhiy Sachkov
d6b7f9b170 8331851: Add specific regression leap year tests for Calendar.roll()
Reviewed-by: naoto
2024-05-20 09:23:40 +00:00
Prasanta Sadhukhan
b92bd67183 8332403: Anachronistic reference to Netscape Communicator in Swing API docs
Reviewed-by: abhiscxk, aivanov, prr
2024-05-18 05:57:20 +00:00
Cesar Soares Lucas
8acdd2d7c8 8330565: C2: Multiple crashes with CTW after JDK-8316991
Reviewed-by: kvn, thartmann
2024-05-17 23:39:31 +00:00
Jonathan Gibbons
0a58cffe88 8298405: Implement JEP 467: Markdown Documentation Comments
8329296: Update Elements for '///' documentation comments

Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Reviewed-by: prappo, darcy, hannesw
2024-05-17 17:42:46 +00:00
Vicente Romero
39a55e9779 8324809: compiler can crash with SOE while proving if two recursive types are disjoint
Reviewed-by: mcimadamore
2024-05-17 14:16:11 +00:00
Erik Gahlin
b7ae0ae1d7 8328572: JFR: Use Class.forPrimitiveName(String)
Reviewed-by: mgronlun
2024-05-17 14:06:08 +00:00
Gui Cao
e611151796 8331281: RISC-V: C2: Support vector-scalar and vector-immediate bitwise logic instructions
Reviewed-by: fjiang, fyang
2024-05-17 13:48:42 +00:00
Hannes Wallnöfer
44bdf9964e 8332239: Improve CSS for block tags
Reviewed-by: prappo, liach, jjg
2024-05-17 13:28:51 +00:00
Hannes Wallnöfer
9bb6169a1c 8317621: --add-script should support JavaScript modules
Reviewed-by: jjg
2024-05-17 12:36:06 +00:00
Hannes Wallnöfer
4eb1eaf044 8329617: Update stylesheet for specs and tool documentation
Reviewed-by: jjg
2024-05-17 12:32:23 +00:00
Chen Liang
d4c2edf2c9 8331855: Convert jdk.jdeps jdeprscan and jdeps to use the Classfile API
Reviewed-by: asotona
2024-05-17 12:26:22 +00:00
Chen Liang
beeffd4671 8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
Reviewed-by: asotona
2024-05-17 12:24:39 +00:00
Larry Cable
e0d1c4b38c 8321428: Deprecate for removal the package java.beans.beancontext
Reviewed-by: prr, tr, iris, serb, aivanov
2024-05-17 12:12:43 +00:00
Claes Redestad
0b0445be28 8331724: Refactor j.l.constant implementation to internal package
Reviewed-by: liach, asotona
2024-05-17 09:49:44 +00:00
Andrei Pangin
d84a8fd876 8332327: Return _methods_jmethod_ids field back in VMStructs
Reviewed-by: cjplummer, sspitsyn, coleenp, shade
2024-05-17 09:40:39 +00:00
Albert Mingkun Yang
f1ce9b0ecc 8331557: Serial: Refactor SerialHeap::do_collection
Reviewed-by: gli, iwalulya
2024-05-17 09:09:02 +00:00
Joachim Kern
14198f502f 8329653: JLILaunchTest fails on AIX after JDK-8329131
Reviewed-by: clanger, mdoerr
2024-05-17 08:31:41 +00:00
Nizar Benalla
ae999eae7e 8129418: JShell: better highlighting of errors in imports on demand
Reviewed-by: jlahoda
2024-05-17 06:39:53 +00:00
Hamlin Li
6422efa3c7 8332394: Add friendly output when @IR rule missing value
Reviewed-by: chagedorn
2024-05-17 06:33:56 +00:00
Thomas Stuefe
9160ef8b9d 8332237: [nmt] Remove the need for ThreadStackTracker::track_as_vm()
Reviewed-by: jsjolen, azafari
2024-05-17 04:59:11 +00:00
Sergey Bylokhov
7c750fd95b 8331746: Create a test to verify that the cmm id is not ignored
Reviewed-by: prr, dmarkov, aivanov
2024-05-17 01:55:30 +00:00
William Kemper
de57d4b2e0 8332257: Shenandoah: Move evacuation methods to implementation file
Reviewed-by: shade, kdnilsen
2024-05-17 00:44:36 +00:00
Mark Powers
da9c23ace9 8325384: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java failing intermittently when main thread is a virtual thread
Reviewed-by: ssahoo, ascarpino
2024-05-16 17:07:19 +00:00
Kelvin Nilsen
dc184f1099 8324649: Shenandoah: replace implementation of free set
Reviewed-by: wkemper, ysr, rkennke
2024-05-16 16:47:09 +00:00
Naoto Sato
259915168d 8331202: Support for Duration until another Instant
Reviewed-by: joehw, scolebourne, rriggs
2024-05-16 16:12:53 +00:00
Alisen Chung
6f7ddbec7d 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Reviewed-by: serb, dnguyen, tr
2024-05-16 15:49:46 +00:00
Roland Westrelin
fa3e94d30f 8332393: Problemlist compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java
Reviewed-by: chagedorn
2024-05-16 14:00:03 +00:00
Nizar Benalla
a33cb9045b 8332098: Add missing @ since tags to jdk.jdi
Reviewed-by: alanb, cjplummer
2024-05-16 11:04:45 +00:00
Thomas Stuefe
910d77becd 8331953: ubsan: metaspaceShared.cpp:1305:57: runtime error: applying non-zero offset 12849152 to null pointer
Reviewed-by: iklam, mbaesken
2024-05-16 10:58:50 +00:00
Nizar Benalla
f9f8d0b480 8332101: Add an @since to StandardOperation:REMOVE in jdk.dynalink
Reviewed-by: jpai
2024-05-16 10:36:51 +00:00
Roland Westrelin
f398cd2250 8331575: C2: crash when ConvL2I is split thru phi at LongCountedLoop
Reviewed-by: chagedorn, epeter
2024-05-16 08:55:03 +00:00
Axel Boldt-Christmas
96c5c3fe75 8329998: Remove double initialization for parts of small TypeArrays in ZObjArrayAllocator
Reviewed-by: stefank, gli
2024-05-16 07:51:40 +00:00
Adam Sotona
ee4a9d3482 8321622: ClassFile.verify(byte[] bytes) throws unexpected ConstantPoolException, IAE
Reviewed-by: jpai
2024-05-16 07:32:24 +00:00
Roland Westrelin
ab8d7b0ced 8324517: C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: epeter, thartmann
2024-05-16 07:25:11 +00:00
Jaikiran Pai
fe8a2aff31 8307778: com/sun/jdi/cds tests fail with jtreg's Virtual test thread factory
Reviewed-by: dholmes, sspitsyn, cjplummer, lmesnik
2024-05-16 05:42:38 +00:00
Sergey Bylokhov
95f79c6787 8332253: Linux arm32 build fails after 8292591
Reviewed-by: stuefe, dholmes, shade
2024-05-16 02:21:30 +00:00
Ioi Lam
b687aa5508 8332176: Refactor ClassListParser::parse()
Reviewed-by: matsaave, ccheung
2024-05-15 23:01:53 +00:00
Rajan Halade
4083255440 8316138: Add GlobalSign 2 TLS root certificates
Reviewed-by: mullan
2024-05-15 20:18:57 +00:00
Alex Menkov
43b109b111 8330066: HeapDumpPath and HeapDumpGzipLevel VM options do not mention HeapDumpBeforeFullGC and HeapDumpAfterFullGC
Reviewed-by: cjplummer, dholmes, yyang
2024-05-15 19:29:30 +00:00
Naoto Sato
7cff04fc8a 8330276: Console methods with explicit Locale
Reviewed-by: joehw, rriggs, jlahoda
2024-05-15 19:28:24 +00:00
Viktor Klang
8a4315f833 8331987: Enhance stacktrace clarity for CompletableFuture CancellationException
Reviewed-by: alanb, dfuchs
2024-05-15 18:35:46 +00:00
William Kemper
491b3b4563 8332256: Shenandoah: Do not visit heap threads during shutdown
Reviewed-by: shade, kdnilsen
2024-05-15 16:53:04 +00:00
William Kemper
9c02c8dd71 8332255: Shenandoah: Remove duplicate definition of init mark closure
Reviewed-by: shade, kdnilsen
2024-05-15 16:42:19 +00:00
Adam Sotona
42ccb74399 8331940: ClassFile API ArrayIndexOutOfBoundsException with certain class files
Reviewed-by: liach, psandoz
2024-05-15 16:14:15 +00:00
Leonid Mesnik
61aff6db15 8332112: Update nsk.share.Log to don't print summary during VM shutdown hook
Reviewed-by: dholmes, cjplummer
2024-05-15 14:57:22 +00:00
Maurizio Cimadamore
30bb066b19 8332003: Clarify javadoc for MemoryLayout::offsetHandle
Reviewed-by: psandoz
2024-05-15 14:39:51 +00:00
Emanuel Peter
c4867c62c4 8329273: C2 SuperWord: Some basic MemorySegment IR tests
Reviewed-by: kvn, chagedorn
2024-05-15 13:16:08 +00:00
Roland Westrelin
8032d640c0 8332245: C2: missing record_for_ign() call in GraphKit::must_be_not_null()
Reviewed-by: thartmann, chagedorn
2024-05-15 12:01:20 +00:00
Hannes Wallnöfer
fa043aec42 8294880: Review running time of jdk/internal/shellsupport/doc/JavadocHelperTest.java
Reviewed-by: jjg
2024-05-15 11:47:49 +00:00
Christoph Langer
a5005c87c4 8330814: Cleanups for KeepAliveCache tests
Reviewed-by: jpai, dfuchs
2024-05-15 10:36:24 +00:00
Evgeny Astigeevich
1a944478a2 8332111: [BACKOUT] A way to align already compiled methods with compiler directives
Reviewed-by: shade, kvn
2024-05-15 09:56:05 +00:00
Yudi Zheng
957eb611ce 8331429: [JVMCI] Cleanup JVMCIRuntime allocation routines
Reviewed-by: dlong, dnsimon
2024-05-15 09:35:11 +00:00
Galder Zamarreño
2f10a316ff 8302850: Implement C1 clone intrinsic that reuses arraycopy code for primitive arrays
Reviewed-by: dlong, roland
2024-05-15 07:48:15 +00:00
Axel Boldt-Christmas
c642f44bbe 8329839: Cleanup ZPhysicalMemoryBacking trace logging
Reviewed-by: stefank, ayang
2024-05-15 06:05:23 +00:00
Jan Lahoda
d04ac14bdb 8332236: javac crashes with module imports and implicitly declared class
Reviewed-by: vromero
2024-05-15 05:43:18 +00:00
Cesar Soares Lucas
4e77cf881d 8330795: C2: assert((uint)type <= T_CONFLICT && _zero_type[type] != nullptr) failed: bad type with -XX:-UseCompressedClassPointers
Reviewed-by: kvn
2024-05-15 01:46:22 +00:00
Julian Waters
7b4ba7f90a 8325932: Replace ATTRIBUTE_NORETURN with direct [[noreturn]]
Reviewed-by: kbarrett, dholmes
2024-05-15 00:23:26 +00:00
Brian Burkhalter
0bb5ae6451 8332248: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java failed with RuntimeException
Reviewed-by: alanb
2024-05-14 20:17:01 +00:00
Calvin Cheung
4d32c607a4 8322008: Exclude some CDS tests from running with -Xshare:off
Reviewed-by: lmesnik, iklam
2024-05-14 19:21:51 +00:00
Inigo Mediavilla Saiz
e91492ab43 8313674: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
Reviewed-by: alanb, bpb
2024-05-14 16:04:34 +00:00
Thomas Stuefe
95a601316d 8332042: Move MEMFLAGS to its own include file
Reviewed-by: jsjolen, stefank
2024-05-14 14:58:51 +00:00
Sonia Zaldana Calles
5a4415a6bd 8331858: [nmt] VM.native_memory statistics should work in summary mode
Reviewed-by: stuefe, jsjolen
2024-05-14 14:04:28 +00:00
Axel Boldt-Christmas
4ba74475d4 8326957: Implement JEP 474: ZGC: Generational Mode by Default
Reviewed-by: stefank, eosterlund
2024-05-14 13:11:28 +00:00
Hamlin Li
7ce4a13c0a 8332130: RISC-V: remove wrong instructions of Vector Crypto Extension
Reviewed-by: luhenry, fyang
2024-05-14 11:26:57 +00:00
Aggelos Biboudis
ea5eb74a65 8326404: Assertion error when trying to compile switch with fallthrough with pattern
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2024-05-14 06:41:58 +00:00
Daniel Jeliński
beea5305b0 8331907: BigInteger and BigDecimal should use optimized division
Reviewed-by: rgiulietti, bpb
2024-05-14 05:01:51 +00:00
SendaoYan
440782e016 8331466: Problemlist serviceability/dcmd/gc/RunFinalizationTest.java on generic-all
Reviewed-by: sspitsyn, cjplummer
2024-05-14 02:12:57 +00:00
Naoto Sato
5ded8da676 8332085: Remove 10 year old transition check in GenerateCurrencyData tool
Reviewed-by: erikj, iris
Backport-of: 4f3b76ff496e7423e5c43ca62cef019e4f4292ec
2024-05-13 16:49:48 +00:00
Prajwal Kumaraswamy
7c2c24fc05 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
Reviewed-by: djelinski, valeriep, coffeys
2024-05-13 16:10:45 +00:00
Nizar Benalla
ff4bf1cf9f 8332102: Add @since to package-info of jdk.security.jarsigner
Reviewed-by: weijun
2024-05-13 13:49:01 +00:00
Nizar Benalla
abf54bb1e6 8332100: Add missing @since to KeyValue::EC_TYPE in java.xml.crypto
Reviewed-by: mullan
2024-05-13 13:01:15 +00:00
Hannes Wallnöfer
1484153c1a 8332080: Update troff man page for javadoc
Reviewed-by: jjg
2024-05-13 09:48:23 +00:00
Tobias Holenstein
391bbbc7d0 8330584: IGV: XML does not save all node properties
Reviewed-by: rcastanedalo, chagedorn
2024-05-13 09:14:17 +00:00
Chen Liang
adaa509b6e 8327499: MethodHandleStatics.traceLambdaForm includes methods that cannot be generated
Reviewed-by: redestad, iklam
2024-05-13 09:11:49 +00:00
Jan Lahoda
5a8df4106a 8331535: Incorrect prompt for Console.readLine
8331681: Test that jdk.internal.io.JdkConsole does not interpret prompts

Reviewed-by: naoto, asotona
2024-05-13 08:16:30 +00:00
Aggelos Biboudis
3e3f7cf4bd 8330387: Crash with a different types patterns (primitive vs generic) in instanceof
Reviewed-by: vromero
2024-05-13 07:33:42 +00:00
Emanuel Peter
d517d2df45 8331764: C2 SuperWord: refactor _align_to_ref/_mem_ref_for_main_loop_alignment
Reviewed-by: kvn, chagedorn
2024-05-13 05:45:36 +00:00
Viktor Klang
5053b70a7f 8278255: Add more warning text in ReentrantLock and ReentrantReadWriteLock
Reviewed-by: prappo, alanb
2024-05-11 18:37:43 +00:00
Alan Bateman
32c7681cf3 8332029: Provide access to initial value of stderr via JavaLangAccess
Reviewed-by: jpai, bpb, mcimadamore
2024-05-11 07:36:52 +00:00
Jaikiran Pai
f9a1d3381b 8332020: jwebserver tool prints invalid URL in case of IPv6 address binding
Reviewed-by: dfuchs, vtewari
2024-05-11 04:31:11 +00:00
Nizar Benalla
b87a7e9906 8144100: Incorrect case-sensitive equality in com.sun.net.httpserver.BasicAuthenticator
Reviewed-by: jpai, dfuchs
2024-05-11 04:24:48 +00:00
Roman Kennke
1dac34fa75 8331098: [Aarch64] Fix crash in Arrays.equals() intrinsic with -CCP
Reviewed-by: aboldtch, aph
2024-05-10 21:13:43 +00:00
Ioi Lam
5e8e8ef656 8315431: ArchiveHeapWriter::get_filler_size_at() cannot handle buffer expansion
Reviewed-by: matsaave, ccheung
2024-05-10 20:34:17 +00:00
Valerie Peng
1b476f52ba 8293345: SunPKCS11 provider checks on PKCS11 Mechanism are problematic
Reviewed-by: djelinski, weijun
2024-05-10 16:53:27 +00:00
Maurizio Cimadamore
1c5f1501ac 8331734: Atomic MemorySegment VarHandle operations fails for element layouts
Reviewed-by: pminborg, psandoz
2024-05-10 16:22:28 +00:00
Naoto Sato
65abf24fde 8331866: Add warnings for locale data dependence
Reviewed-by: jlu, srl, joehw
2024-05-10 16:10:40 +00:00
Andrew Haley
d215bc4647 8332066: AArch64: Math test failures since JDK-8331558
Reviewed-by: kvn
2024-05-10 15:06:21 +00:00
Serhiy Sachkov
d11e70ade3 8331646: Add specific regression leap year tests
Reviewed-by: naoto
2024-05-10 14:59:26 +00:00
Hamlin Li
f95c937405 8331577: RISC-V: C2 CountLeadingZerosV
8331578: RISC-V: C2 CountTrailingZerosV

Reviewed-by: fyang
2024-05-10 13:59:09 +00:00
Hamlin Li
675fbe699e 8331993: Add counting leading/trailing zero tests for Integer
Reviewed-by: chagedorn
2024-05-10 13:57:55 +00:00
Erik Gahlin
242446b07f 8331931: JFR: Avoid loading regex classes during startup
Reviewed-by: mgronlun
2024-05-10 12:30:05 +00:00
Jan Kratochvil
45792c5829 8331352: error: template-id not allowed for constructor/destructor in C++20
Reviewed-by: kbarrett, stefank
2024-05-10 12:16:47 +00:00
Tejesh R
1547a69651 8327696: [TESTBUG] "javax/swing/JTable/KeyBoardNavigation/KeyBoardNavigation.java" test instruction needs to be corrected
Reviewed-by: abhiscxk, honkar
2024-05-10 11:26:12 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
SendaoYan
dea8076a58 8332006: Test com/sun/net/httpserver/TcpNoDelayNotRequired.java run timeout with -Xcomp
Reviewed-by: jpai, dfuchs
2024-05-10 10:10:53 +00:00
释天
dab92c51c7 8331558: AArch64: optimize integer remainder
Reviewed-by: eliu, aph
2024-05-10 10:01:40 +00:00
Thomas Stuefe
9f43ce5a72 8330027: Identity hashes of archived objects must be based on a reproducible random seed
Reviewed-by: ccheung, iklam
2024-05-10 09:48:14 +00:00
Claes Redestad
d654124502 8331932: Startup regressions in 23-b13
Reviewed-by: alanb, naoto, liach
2024-05-10 08:22:46 +00:00
Kim Barrett
7db6a3f0ee 8331905: Fix direct includes of g1_globals.hpp
Reviewed-by: ayang, tschatzl, gli
2024-05-10 07:58:20 +00:00
Hamlin Li
f47fc867b3 8331908: Simplify log code in vectorintrinsics.cpp
Reviewed-by: jwaters, kvn
2024-05-10 06:25:38 +00:00
Abhishek Kumar
b9a142a224 8226990: GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox.
Reviewed-by: tr, honkar, psadhukhan
2024-05-10 04:45:01 +00:00
Thomas Stuefe
d2d37c913e 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Reviewed-by: aph, iklam
2024-05-10 04:30:17 +00:00
Matias Saavedra Silva
a706ca4fdb 8329418: Replace pointers to tables with offsets in relocation bitmap
Reviewed-by: cjplummer, iklam
2024-05-10 01:34:02 +00:00
Vladimir Kozlov
a643d6c7ac 8331862: Remove split relocation info implementation
Reviewed-by: dlong
2024-05-09 23:37:45 +00:00
Zhao Song
d47a4e9f63 8332008: Enable issuestitle check
Reviewed-by: erikj
2024-05-09 23:05:05 +00:00
Mikhailo Seledtsov
0bf728212f 8331231: containers/docker/TestContainerInfo.java fails
Reviewed-by: dholmes
2024-05-09 22:53:10 +00:00
Alexey Ivanov
ffbdfffbc7 8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
Introduce tolerance factor: count > loaderCount.size() / 2
Fail the test only if the number of snapshots with more than
2 file loader threads is greater than half of the number
of valid snapshots.

Reviewed-by: prr, honkar
2024-05-09 18:01:27 +00:00
Naoto Sato
c7d98df2ac 8329691: Support nonlikelyScript parent locale inheritance
Reviewed-by: joehw
2024-05-09 15:54:25 +00:00
Kevin Walls
aa4cddd4b8 8331950: Remove MemoryPoolMBean/isCollectionUsageThresholdExceeded from ZGC ProblemLists
Reviewed-by: sspitsyn
2024-05-09 15:42:41 +00:00
Serguei Spitsyn
c4ff58b9bc 8330146: assert(!_thread->is_in_any_VTMS_transition()) failed
Reviewed-by: cjplummer, kevinw
2024-05-09 14:30:15 +00:00
Jan Lahoda
aaa90b3005 8327476: Upgrade JLine to 3.26.1
Reviewed-by: ihse, vromero
2024-05-09 13:54:04 +00:00
Scott Gibbons
0a4eeeaa3c 8331033: EA fails with "EA unexpected CallLeaf unsafe_setmemory" after JDK-8329331
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: kvn
2024-05-09 11:57:44 +00:00
Kevin Walls
ad0b54d429 8314225: SIGSEGV in JavaThread::is_lock_owned
Reviewed-by: dlong, dholmes
2024-05-09 11:47:45 +00:00
Ioi Lam
ac86f59e4f 8330532: Improve line-oriented text parsing in HotSpot
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: matsaave, jsjolen
2024-05-09 07:43:03 +00:00
Hamlin Li
964d60892e 8322753: RISC-V: C2 ReverseBytesV
Reviewed-by: fyang
2024-05-09 07:05:18 +00:00
Vladimir Petko
2d622152b0 8331541: [i386] linking with libjvm.so fails after JDK-8283326
Reviewed-by: djelinski, ihse
2024-05-08 22:36:25 +00:00
Erik Joelsson
588e314e4b 8331886: Allow markdown src file overrides
Reviewed-by: ihse
2024-05-08 21:57:55 +00:00
Erik Joelsson
0d1216c7a1 8331939: Add custom hook for TestImage
Reviewed-by: mikael
2024-05-08 21:57:44 +00:00
Ashutosh Mehra
42b1d858d1 8330275: Crash in XMark::follow_array
Reviewed-by: stefank, stuefe
2024-05-08 20:26:02 +00:00
Albert Mingkun Yang
230fac80f2 8331941: Make CollectedHeap::parallel_object_iterator public
Reviewed-by: tschatzl
2024-05-08 17:57:46 +00:00
Albert Mingkun Yang
c8452615b1 8331924: Parallel: Remove unused MutableSpace::mangle_unused_area_complete
Reviewed-by: tschatzl
2024-05-08 17:56:28 +00:00
Thomas Stuefe
ad78b7fa67 8331185: Enable compiler memory limits in debug builds
Reviewed-by: asmehra, kvn
2024-05-08 10:38:09 +00:00
Doug Simon
aafa15fc17 8331208: Memory stress test that checks OutOfMemoryError stack trace fails
Reviewed-by: dholmes, never
2024-05-08 10:18:33 +00:00
Jaikiran Pai
edd47c10eb 8308033: The jcmd thread dump related tests should test virtual threads
Reviewed-by: cjplummer, sspitsyn
2024-05-08 10:11:01 +00:00
Hamlin Li
1aebab780c 8320995: RISC-V: C2 PopCountVI
8320996: RISC-V: C2 PopCountVL

Reviewed-by: luhenry, fyang
2024-05-08 09:37:42 +00:00
Sean Coffey
0eff492e41 8330278: Have SSLSocketTemplate.doClientSide use loopback address
Reviewed-by: ssahoo, rhalade
2024-05-08 09:30:23 +00:00
Albert Mingkun Yang
c6f611cfe0 8331798: Remove unused arg of checkErgonomics() in TestMaxHeapSizeTools.java
Reviewed-by: tschatzl
2024-05-08 08:48:11 +00:00
Albert Mingkun Yang
0e1dca75ef 8331715: Remove virtual specifiers in ContiguousSpace
Reviewed-by: gli, tschatzl
2024-05-08 08:45:27 +00:00
Raffaello Giulietti
7f299043a9 8330005: RandomGeneratorFactory.getDefault() throws exception when the runtime image only has java.base module
Reviewed-by: jpai, alanb
2024-05-08 08:27:13 +00:00
Matthias Baesken
2baacfc169 8331789: ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
Reviewed-by: stefank, aboldtch
2024-05-08 07:05:27 +00:00
Christian Stein
7b79426a1d 8278353: Provide Duke as default favicon in Simple Web Server
Reviewed-by: dfuchs
2024-05-08 05:48:07 +00:00
Axel Boldt-Christmas
466a21d864 8331863: DUIterator_Fast used before it is constructed
Reviewed-by: kvn, shade
2024-05-08 05:03:06 +00:00
Jaikiran Pai
8af606fb8c 8331334: com/sun/net/httpserver/HttpsParametersClientAuthTest.java fails in testServerNeedClientAuth(false)
Reviewed-by: dfuchs
2024-05-08 01:12:17 +00:00
Weijun Wang
b91083341a 8331864: Update Public Suffix List to 1cbd6e7
Reviewed-by: mullan
2024-05-07 23:46:04 +00:00
Viktor Klang
f12ed061ae 8048691: Spliterator.SORTED characteristics gets cleared for BaseStream.spliterator
Reviewed-by: psandoz, alanb
2024-05-07 19:06:36 +00:00
Erik Gahlin
8d78e8cadc 8319997: JFR: Reduce use of dynamic proxies
Reviewed-by: mgronlun
2024-05-07 18:59:41 +00:00
Sonia Zaldana Calles
524aaad983 8319957: PhaseOutput::code_size is unused and should be removed
Reviewed-by: thartmann, chagedorn
2024-05-07 15:59:44 +00:00
Daniel Skantz
95d2f8072e 8330016: Stress seed should be initialized for runtime stub compilation
Reviewed-by: rcastanedalo, chagedorn
2024-05-07 15:50:15 +00:00
Aleksey Shipilev
5746137e8a 8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround
Reviewed-by: eosterlund, stefank, zgu
2024-05-07 14:23:39 +00:00
robertengels
02c95a6d7e 6968351: httpserver clashes with delayed TCP ACKs for low Content-Length
Reviewed-by: dfuchs, djelinski, michaelm, jpai
2024-05-07 13:18:24 +00:00
Axel Boldt-Christmas
02a799c055 8331695: Serial: DefNewGeneration:_promotion_failed used without being initialized
Reviewed-by: gli, stefank
2024-05-07 12:41:28 +00:00
Martin Doerr
23a72a1f2f 8331626: unsafe.cpp:162:38: runtime error in index_oop_from_field_offset_long - applying non-zero offset 4563897424 to null pointer
Reviewed-by: mbaesken, stefank
2024-05-07 08:32:48 +00:00
Aleksey Shipilev
a2584a8341 8331714: Make OopMapCache installation lock-free
Reviewed-by: zgu, coleenp
2024-05-07 08:30:26 +00:00
Emanuel Peter
df1ff056f1 8331085: Crash in MergePrimitiveArrayStores::is_compatible_store()
Reviewed-by: thartmann, chagedorn
2024-05-07 07:08:32 +00:00
Nizar Benalla
3b8227ba24 8326836: Incorrect @since tags for ClassSignature methods
Reviewed-by: asotona
2024-05-07 05:28:45 +00:00
Bhavana Kilambi
f308e107ce 8331400: AArch64: Sync aarch64_vector.ad with aarch64_vector_ad.m4
Reviewed-by: aph, kvn, eliu
2024-05-06 22:59:14 +00:00
Fabian Meumertzheim
a8b3f194e8 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT
Reviewed-by: bpb, alanb
2024-05-06 17:01:11 +00:00
Nizar Benalla
ae60d84500 8328501: Incorrect @since tags for java security interfaces
Reviewed-by: mullan
2024-05-06 15:54:40 +00:00
Zhengyu Gu
7a35f922f0 8331660: Parallel: Cleanup includes in parallelScavangeHeap files
Reviewed-by: gli, ayang
2024-05-06 13:25:36 +00:00
Vladimir Ivanov
fa02667d83 8322726: C2: Unloaded signature class kills argument value
Reviewed-by: kvn, dlong, thartmann
2024-05-06 12:21:15 +00:00
Tobias Hartmann
a8e62af733 8331389: runtime/ErrorHandling/TestDwarf.java fails with "Crash JVM should not exit gracefully"
Reviewed-by: chagedorn
2024-05-06 11:43:07 +00:00
Aleksey Shipilev
1eec30a6c0 8331573: Rename CollectedHeap::is_gc_active to be explicitly about STW GCs
Reviewed-by: stefank, zgu, tschatzl, gli
2024-05-06 11:17:39 +00:00
Erik Gahlin
e8a2d5669c 8331653: JFR: Improve logging for jdk/jfr/api/consumer/recordingstream;TestStop.java
Reviewed-by: mgronlun
2024-05-06 11:01:55 +00:00
Albert Mingkun Yang
9b0bb03366 8331285: Deprecate and obsolete OldSize
Reviewed-by: dholmes, eosterlund
2024-05-06 09:41:07 +00:00
Roberto Castañeda Lozano
6c7764118e 8331418: ZGC: generalize barrier liveness logic
Reviewed-by: mdoerr, aboldtch, fyang, eosterlund
2024-05-06 09:26:53 +00:00
Jan Lahoda
15862a2f11 8331708: jdk/internal/jline/RedirectedStdOut.java times-out on macosx-aarch64
Reviewed-by: asotona
2024-05-06 08:48:46 +00:00
Christian Hagedorn
4bbd972cbb 8305638: Renaming and small clean-ups around predicates
Reviewed-by: roland, epeter
2024-05-06 07:48:22 +00:00
Jan Lahoda
f1509e007d 8330998: System.console() writes to stderr when stdout is redirected
Reviewed-by: naoto
2024-05-06 06:01:42 +00:00
Jan Lahoda
f2c4a41304 8328481: Implement JEP 476: Module Import Declarations (Preview)
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Reviewed-by: mcimadamore, vromero
2024-05-06 05:49:28 +00:00
Cesar Soares Lucas
9347bb7df8 8330247: C2: CTW fail with assert(adr_t->is_known_instance_field()) failed: instance required
Reviewed-by: kvn
2024-05-03 23:41:12 +00:00
Doug Simon
b20fa7b48b 8329982: 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
Reviewed-by: never
2024-05-03 19:51:37 +00:00
Adam Sotona
c1a164528a 8331655: ClassFile API ClassCastException with verbose output of certain class files
Reviewed-by: psandoz
2024-05-03 19:15:12 +00:00
Phil Race
36c9607f66 8331591: sun.font.CharSequenceCodePointIterator is buggy and unused
Reviewed-by: angorya, honkar
2024-05-03 19:06:13 +00:00
Justin Lu
b33096f887 8295153: java/util/Base64/TestEncodingDecodingLength.java ran out of memory
Reviewed-by: lancea, naoto
2024-05-03 16:58:59 +00:00
Naoto Sato
cf2c80e4fc 8331582: Incorrect default Console provider comment
Reviewed-by: joehw, jlahoda, jlu, prappo
2024-05-03 16:14:24 +00:00
Sean Coffey
77b71222a0 8312104: Update java man pages to include new security category in -XshowSettings
Reviewed-by: lancea
2024-05-03 15:18:38 +00:00
Thomas Schatzl
87bb66cea1 8331569: G1: Rename G1HRPrinter to G1HeapRegionPrinter
Reviewed-by: gli, ayang
2024-05-03 13:39:48 +00:00
Albert Mingkun Yang
37c2469539 8331633: Use MIN2 in bound_minus_alignment
Reviewed-by: zgu
2024-05-03 13:27:58 +00:00
Thomas Schatzl
1d083eb15a 8331562: G1: Remove API to force allocation of new regions
Reviewed-by: iwalulya, ayang, gli
2024-05-03 13:10:00 +00:00
Matthias Baesken
9697bc3858 8331428: ubsan: JVM flag checking complains about MaxTenuringThresholdConstraintFunc, InitialTenuringThresholdConstraintFunc and AllocatePrefetchStepSizeConstraintFunc
Reviewed-by: stefank, aboldtch, tschatzl
2024-05-03 13:02:37 +00:00
Ivan Walulya
ce73fec882 8331048: G1: Prune rebuild candidates based on G1HeapWastePercent early
Reviewed-by: ayang, tschatzl
2024-05-03 12:35:58 +00:00
Thomas Schatzl
58ef9e4805 8331402: G1: Remove is_active() calls in G1HRPrinter logging
Reviewed-by: iwalulya, ayang, gli
2024-05-03 12:33:41 +00:00
Erik Gahlin
3c77dad007 8331507: JFR: Improve example usage in -XX:StartFlightRecording:help
Reviewed-by: mgronlun
2024-05-03 12:06:11 +00:00
Thomas Schatzl
8ed319023e 8331401: G1: Make G1HRPrinter AllStatic
Reviewed-by: iwalulya, ayang, gli
2024-05-03 12:03:28 +00:00
Chen Liang
1f6d38f7a6 8294978: Convert 5 test/jdk/jdk/jfr tests from ASM library to Classfile API
Reviewed-by: asotona
2024-05-03 11:57:10 +00:00
Chen Liang
c60474b122 8323707: Adjust Classfile API's type arg model to better represent the embodied type
Reviewed-by: asotona
2024-05-03 11:08:33 +00:00
Afshin Zafari
f78fa0556d 8331636: [BACKOUT] Build failure after 8330076
Reviewed-by: jwilhelm
2024-05-03 10:17:23 +00:00
Afshin Zafari
f665e07ab2 8331540: [BACKOUT] NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API
Reviewed-by: jwilhelm
2024-05-03 10:17:11 +00:00
Joachim Kern
a10845b553 8330539: Use #include <alloca.h> instead of -Dalloca'(size)'=__builtin_alloca'(size)' for AIX
Reviewed-by: jwaters, mdoerr, kbarrett, ihse
2024-05-03 08:31:42 +00:00
Christian Hagedorn
8bc641ebe7 8331404: IGV: Show line numbers for callees in properties
Reviewed-by: tholenstein, thartmann
2024-05-03 05:49:39 +00:00
Prasanta Sadhukhan
7c1fad4fb6 8329559: Test javax/swing/JFrame/bug4419914.java failed because The End and Start buttons are not placed correctly and Tab focus does not move as expected
Reviewed-by: abhiscxk, honkar, dnguyen
2024-05-03 05:11:52 +00:00
Zhengyu Gu
6bef0474c8 8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize
Reviewed-by: ayang, rkennke
2024-05-03 00:28:18 +00:00
Alexander Zvegintsev
01125fa21b 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
Reviewed-by: prr
2024-05-02 21:29:27 +00:00
SendaoYan
04271dfe7a 8331331: :tier1 target explanation in doc/testing.md is incorrect
Reviewed-by: erikj, dholmes, ihse
2024-05-02 21:19:16 +00:00
Alexander Zvegintsev
f6cdcc6f65 8280988: [XWayland] Click on title to request focus test failures
Reviewed-by: honkar, serb
2024-05-02 20:18:25 +00:00
Phil Race
99654ec3fb 8331516: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: iris, serb
2024-05-02 20:18:16 +00:00
Ben Perez
cd3a607576 8328864: NullPointerException in sun.security.jca.ProviderList.getService()
Reviewed-by: weijun
2024-05-02 18:50:38 +00:00
Swati Sharma
73cdc9a070 8326421: Add jtreg test for large arrayCopy disjoint case.
Co-authored-by: Steve Dohrmann <steve.dohrmann@intel.com>
Reviewed-by: kvn, sviswanathan
2024-05-02 18:28:50 +00:00
Adam Sotona
e2c0cfef14 8331320: ClassFile API OutOfMemoryError with certain class files
Reviewed-by: psandoz
2024-05-02 18:07:42 +00:00
Harshitha Onkar
6f98d8f58f 8329692: Add more details to FrameStateTest.java test instructions
Reviewed-by: tr, azvegint
2024-05-02 16:10:55 +00:00
Alisen Chung
6969a9e0b2 8328999: Update GIFlib to 5.2.2
Reviewed-by: tr, dnguyen, prr
2024-05-02 15:36:10 +00:00
Albert Mingkun Yang
7a41a525de 8331549: Inline MemAllocator::mem_allocate_slow
Reviewed-by: stefank, gli
2024-05-02 15:03:48 +00:00
Vladimir Kozlov
3383ad6397 8331253: 16 bits is not enough for nmethod::_skipped_instructions_size field
Reviewed-by: dlong, thartmann
2024-05-02 14:41:30 +00:00
Jan Lahoda
8771015d7e 8331027: JDK's ct.sym file packs corrupted module-info classes
Reviewed-by: asotona
2024-05-02 14:32:03 +00:00
Fredrik Bredberg
553d45b114 8323724: Remove potential re-inflation from FastHashCode under LM_LIGHTWEIGHT
Reviewed-by: aboldtch, coleenp
2024-05-02 13:53:45 +00:00
Thomas Stuefe
dd0b641819 8330813: Don't call methods from Compressed(Oops|Klass) if the associated mode is inactive
Reviewed-by: stefank, asmehra
2024-05-02 13:48:36 +00:00
Thomas Stuefe
389f6fe97c 8331344: No compiler replay file with CompilerCommand MemLimit
Reviewed-by: kvn, asmehra
2024-05-02 13:41:29 +00:00
Erik Gahlin
a024eed738 8331478: JFR: Rename printHelp methods for jdk.jfr.internal.dcmd classes
Reviewed-by: mgronlun
2024-05-02 12:42:59 +00:00
Alexander Zvegintsev
9912abf586 8331011: [XWayland] TokenStorage fails under Security Manager
Reviewed-by: prr, honkar, serb
2024-05-02 12:20:18 +00:00
Adam Sotona
257a07d5ca 8331511: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: jpai
2024-05-02 12:20:07 +00:00
Weibing Xiao
c21672d8c9 8331077: nroff man page update for jar tool
Reviewed-by: jjg, coffeys
2024-05-02 11:48:41 +00:00
Tobias Hartmann
cccc95358d 8329258: TailCall should not use frame pointer register for jump target
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: rcastanedalo, aph
2024-05-02 11:38:00 +00:00
Christian Stein
4a78906db1 8331537: Test code should not use the "Classpath" exception clause
Reviewed-by: jpai
2024-05-02 11:13:41 +00:00
Jaikiran Pai
2056968777 8331513: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dfuchs
2024-05-02 10:46:41 +00:00
Jaikiran Pai
c9255f3f5d 8331514: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dfuchs
2024-05-02 10:46:29 +00:00
Martin Doerr
beebce044d 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Reviewed-by: mbaesken, lucy
2024-05-02 10:21:21 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Robbin Ehn
286cbf831c 8331546: Build failure after 8330076
Reviewed-by: mdoerr, tschatzl, shade
2024-05-02 09:58:32 +00:00
Thomas Schatzl
fe23068d94 8331392: G1: Make HRPrinter distinguish between different types of reclamation
Reviewed-by: ayang, iwalulya, gli
2024-05-02 08:43:57 +00:00
Thomas Schatzl
33243d44a9 8331394: G1: Remove SKIP_RETIRED_FULL_REGIONS define in G1HRPrinter
Reviewed-by: gli, iwalulya
2024-05-02 08:42:38 +00:00
Erik Österlund
8bcd2e61ae 8329088: Stack chunk thawing races with concurrent GC stack iteration
Reviewed-by: stefank, pchilanomate
2024-05-02 08:31:49 +00:00
Aleksey Shipilev
c4fe5bf90c 8331405: Shenandoah: Optimize ShenandoahLock with TTAS
Reviewed-by: zgu, ysr
2024-05-02 08:26:09 +00:00
Robbin Ehn
dd906ffdcb 8331399: RISC-V: Don't us mv instead of la
Reviewed-by: fyang, mli, tonyp
2024-05-02 08:10:59 +00:00
Tobias Hartmann
d3bf52628e 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dholmes
2024-05-02 07:49:12 +00:00
Afshin Zafari
4036d7d824 8330076: NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API
Reviewed-by: stefank, jsjolen, stuefe
2024-05-02 07:19:56 +00:00
Matthias Baesken
9108091f0c 8330989: unify os::create_binary_file across platforms
Reviewed-by: dholmes, kbarrett
2024-05-02 07:06:25 +00:00
Robbin Ehn
5ab8713b3f 8331360: RISCV: u32 _partial_subtype_ctr loaded/stored as 64
Reviewed-by: fyang, mli, tonyp
2024-05-02 06:29:46 +00:00
Sonia Zaldana Calles
19e46eed58 8331088: Incorrect TraceLoopPredicate output
Reviewed-by: chagedorn, dlong
2024-05-02 01:41:09 +00:00
Alex Menkov
0a24daeceb 8322043: HeapDumper should use parallel dump by default
Reviewed-by: yyang, sspitsyn, dholmes
2024-05-01 18:02:47 +00:00
Jan Trukenmüller
62d5d1e99c 8319598: SMFParser misinterprets interrupted running status
Reviewed-by: prr, serb
2024-05-01 16:45:42 +00:00
Alexey Ivanov
2a95cd473a 8331495: Limit BasicDirectoryModel/LoaderThreadCount.java to Windows only
Reviewed-by: prr
2024-05-01 16:38:25 +00:00
Alexey Semenyuk
e833bfc8ac 8331222: Malformed text in the jpackage doc page
Reviewed-by: almatvee
2024-05-01 15:26:57 +00:00
Pavel Rappo
4f529f8c23 8331427: Rename confusingly named ArraysSupport.signedHashCode
Reviewed-by: redestad
2024-05-01 12:23:13 +00:00
Jan Lahoda
44dc85001d 8331212: Error recovery for broken switch expressions could be improved
Reviewed-by: asotona
2024-05-01 12:19:11 +00:00
Alexey Ivanov
b2fb5ea13b 8331142: Add test for number of loader threads in BasicDirectoryModel
Reviewed-by: serb, tr
2024-05-01 11:53:28 +00:00
Serguei Spitsyn
663acd2e17 8330969: scalability issue with loaded JVMTI agent
Reviewed-by: amenkov, cjplummer
2024-05-01 08:40:48 +00:00
Robbin Ehn
f215899a08 8331393: AArch64: u32 _partial_subtype_ctr loaded/stored as 64
Reviewed-by: aph, fyang
2024-05-01 08:09:53 +00:00
Tom Rodriguez
b96b38c2c9 8318682: SA decoding of scalar replaced objects is broken
Reviewed-by: cjplummer, cslucas
2024-04-30 17:33:23 +00:00
Justin Lu
a863ef5d74 8331207: Misleading example in DateFormat#parse docs
Reviewed-by: naoto
2024-04-30 16:50:01 +00:00
Zhengyu Gu
aca1e8365b 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Reviewed-by: ayang, gli
2024-04-30 16:20:10 +00:00
Emanuel Peter
3d11692bf3 8331252: C2: MergeStores: handle negative shift values
Reviewed-by: kvn, shade
2024-04-30 16:15:07 +00:00
Matias Saavedra Silva
9ce21d1382 8327647: Occasional SIGSEGV in markWord::displaced_mark_helper() for SPECjvm2008 sunflow
Reviewed-by: coleenp, fyang, dlong
2024-04-30 16:02:55 +00:00
Evgeny Nikitin
130f71cadc 8326742: Change compiler tests without additional VM flags from @run driver to @run main
Reviewed-by: kvn, thartmann, chagedorn
2024-04-30 15:48:09 +00:00
Tim Prinzing
f4caac8dea 8329138: Convert JFR FileForceEvent to static mirror event
Reviewed-by: alanb, egahlin
2024-04-30 15:39:23 +00:00
Viktor Klang
2cc8eccb36 8331346: Update PreviewFeature of STREAM_GATHERERS to JEP-473
Reviewed-by: pminborg, alanb
2024-04-30 15:11:04 +00:00
Albert Mingkun Yang
33e81229bd 8331410: Remove unused MemAllocator::mem_allocate_inside_tlab
Reviewed-by: tschatzl, gli
2024-04-30 13:52:08 +00:00
Patricio Chilano Mateo
22a1c617db 8330817: jdk/internal/vm/Continuation/OSRTest.java times out on libgraal
Reviewed-by: dnsimon, dlong
2024-04-30 13:08:35 +00:00
Albert Mingkun Yang
ef4ec2d3b0 8331284: Inline methods in softRefPolicy.cpp
Reviewed-by: gli, tschatzl
2024-04-30 10:37:33 +00:00
Aleksey Shipilev
cff841f1de 8328934: Assert that ABS input and output are legal
Reviewed-by: aph, dlong
2024-04-30 09:13:12 +00:00
Claes Redestad
0630bb02eb 8331264: Reduce java.lang.constant initialization overhead
Reviewed-by: liach, mchung
2024-04-30 08:27:38 +00:00
Matthias Baesken
60b61e588c 8331298: avoid alignment checks in UBSAN enabled build
Reviewed-by: erikj, mdoerr
2024-04-30 07:31:29 +00:00
David Holmes
b128bd7b5a 8331021: Deprecate and then obsolete the DontYieldALot flag
Reviewed-by: coleenp, stuefe, shade
2024-04-30 06:53:16 +00:00
Brian Burkhalter
819f3d6fc7 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: alanb
2024-04-29 17:54:13 +00:00
SendaoYan
eb88343fb7 8331164: createJMHBundle.sh download jars fail when url needed to be redirected
Reviewed-by: erikj, shade
2024-04-29 17:50:39 +00:00
Axel Boldt-Christmas
9b423a8509 8330253: Remove verify_consistent_lock_order
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dcubed, pchilanomate, dnsimon
2024-04-29 17:14:09 +00:00
Harshitha Onkar
4e4229438a 8329004: Update Libpng to 1.6.43
Reviewed-by: prr, dnguyen
2024-04-29 16:27:54 +00:00
Vladimir Kozlov
bdcc2400db 8331087: Move immutable nmethod data from CodeCache
Reviewed-by: thartmann, dlong, dnsimon
2024-04-29 15:58:03 +00:00
Liming Liu
8b8fb6427e 8324776: runtime/os/TestTransparentHugePageUsage.java fails with The usage of THP is not enough
Reviewed-by: stuefe
2024-04-29 15:14:37 +00:00
Thomas Stuefe
151ef5d4d2 8330677: Add Per-Compilation memory usage to JFR
Reviewed-by: kvn, mbaesken
2024-04-29 10:58:07 +00:00
Albert Mingkun Yang
7272939064 8331200: Serial: Remove unused methods in SerialHeap
Reviewed-by: gli, tschatzl
2024-04-29 08:43:12 +00:00
Albert Mingkun Yang
70d3f22b70 8331175: Parallel: Remove VerifyRememberedSets
Reviewed-by: tschatzl, gli
2024-04-29 08:42:09 +00:00
Roberto Castañeda Lozano
549bc6a039 8330685: ZGC: share barrier spilling logic
Reviewed-by: eosterlund, mdoerr, fyang, aboldtch
2024-04-29 08:41:59 +00:00
Albert Mingkun Yang
76cda7b895 8331118: Remove Serial includes from space.hpp
Reviewed-by: gli, tschatzl
2024-04-29 08:41:49 +00:00
Guoxiong Li
766d0b0fa0 8330960: Serial: Remove SerialFullGC::_total_invocations
Reviewed-by: ayang, tschatzl
2024-04-29 08:16:12 +00:00
Matthias Baesken
4edac349a5 8331167: UBSan enabled build fails in adlc on macOS
Reviewed-by: stuefe, lucy
2024-04-29 07:58:18 +00:00
Roland Westrelin
c615c18e9f 8330158: C2: Loop strip mining uses ABS with min int
Reviewed-by: shade, kvn, dlong, mbalao
2024-04-29 07:36:14 +00:00
Adam Sotona
fb63cbadb4 8330684: ClassFile API runs into StackOverflowError while parsing certain class' bytes
Reviewed-by: psandoz
2024-04-29 07:12:46 +00:00
Joe Darcy
4e5c25ee43 8331108: Unused Math.abs call in java.lang.FdLibm.Expm1#compute
Reviewed-by: naoto, bpb, rgiulietti
2024-04-28 22:55:44 +00:00
Christoph Langer
16c7dcdb04 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Reviewed-by: djelinski
2024-04-27 13:10:40 +00:00
Claes Redestad
c3372c4555 8331134: Port SimpleStringBuilderStrategy to use ClassFile API
Reviewed-by: mchung
2024-04-27 12:13:53 +00:00
Claes Redestad
a078b5e611 8331114: Further improve performance of MethodTypeDesc::descriptorString
Reviewed-by: mchung, liach
2024-04-27 12:12:51 +00:00
Viktor Klang
e3eb652c25 8296543: Update exception documentation for ExecutorService.invokeAll overriders as required
Reviewed-by: prappo, alanb
2024-04-27 11:52:05 +00:00
Jin Kwon
aa2edd4913 8330686: Fix typos in the DatabaseMetaData javadoc
Reviewed-by: jpai, lancea, iris
2024-04-27 01:11:33 +00:00
Hannes Wallnöfer
aee91fbc70 8296175: Output warning if generated docs contain diagnostic markers
Reviewed-by: jjg
2024-04-26 19:59:57 +00:00
Jonathan Gibbons
a920af233a 8303689: javac -Xlint could/should report on "dangling" doc comments
Reviewed-by: vromero, ihse, prr
2024-04-26 19:47:06 +00:00
Erik Gahlin
f3bb3e2170 8331153: JFR: Improve logging of jdk/jfr/api/consumer/filestream/TestOrdered.java
Reviewed-by: mgronlun
2024-04-26 19:20:27 +00:00
Erik Gahlin
07facd0420 8330734: JFR: Re-engineer mirror class mechanism
Reviewed-by: mgronlun
2024-04-26 17:15:09 +00:00
Korov
0bf516f7ba 8330624: Inconsistent use of semicolon in the code snippet of java.io.Serializable javadoc
Reviewed-by: rriggs
2024-04-26 14:12:49 +00:00
Hamlin Li
d13e53346f 8321014: RISC-V: C2 VectorLoadShuffle
Reviewed-by: luhenry, fyang
2024-04-26 14:09:29 +00:00
Claes Redestad
8bbd7251a5 8331187: Optimize MethodTypeDesc and ClassDesc.ofDescriptor for primitive types
Reviewed-by: jvernee, liach
2024-04-26 14:06:53 +00:00
Claes Redestad
5e2ced4b9e 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases
Reviewed-by: mchung, shade
2024-04-26 12:36:55 +00:00
Thomas Stuefe
2b7176a55a 8330625: Compilation memory statistic: prevent tearing of the final report
Reviewed-by: kvn, thartmann
2024-04-26 12:06:57 +00:00
Daniel Jeliński
e4ed7ced75 8331063: Some HttpClient tests don't report leaks
Reviewed-by: dfuchs, vtewari, michaelm
2024-04-26 11:01:46 +00:00
Joachim Kern
cfd19f0176 8329850: [AIX] Allow loading of different members of same shared library archive
Reviewed-by: mdoerr, mbaesken, stuefe
2024-04-26 09:26:18 +00:00
Adam Sotona
ffd850f17e 8309881: Qualified name of a type element depends on its origin (source vs class)
Reviewed-by: darcy, jlahoda
2024-04-26 08:26:22 +00:00
Matthias Baesken
377f2e538a 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Reviewed-by: clanger, stuefe
2024-04-26 08:12:09 +00:00
Hamlin Li
006f090f98 8331150: RISC-V: Fix "bad AD file" bug
Reviewed-by: fyang
2024-04-26 07:50:51 +00:00
Jan Lahoda
a407dc9cbb 8327512: JShell does not work correctly when a class named Object or Throwable is defined
Reviewed-by: asotona
2024-04-26 07:23:49 +00:00
Adam Sotona
ea06129851 8322847: java.lang.classfile.BufWriter should specify @throws for its writeXXX methods
Reviewed-by: psandoz
2024-04-26 07:02:45 +00:00
Vladimir Kozlov
b3bcc49491 8330181: Move PcDesc cache from nmethod header
Reviewed-by: dlong, jrose
2024-04-25 22:46:11 +00:00
Naoto Sato
1c238d43e8 8319990: Update CLDR to Version 45.0
Reviewed-by: joehw, jlu
2024-04-25 16:19:51 +00:00
SendaoYan
ce9eac3819 8331113: createJMHBundle.sh support configurable maven repo mirror
Reviewed-by: redestad, erikj
2024-04-25 15:54:13 +00:00
Matthias Baesken
5af6b45eef 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Reviewed-by: lucy, mdoerr
2024-04-25 15:23:48 +00:00
Roger Riggs
4dfaa9b5bd 8329805: Deprecate for removal ObjectOutputStream.PutField.write
Reviewed-by: naoto, iris
2024-04-25 14:37:38 +00:00
Jasmine Karthikeyan
b9927aa3a4 8329194: Cleanup Type::cmp definition and usage
Reviewed-by: dfenacci, chagedorn, qamai
2024-04-25 13:13:25 +00:00
Matthias Baesken
c9442014e5 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
Reviewed-by: coleenp, mdoerr
2024-04-25 12:02:31 +00:00
Stefan Johansson
8031dabf83 8331094: ZGC: GTest fails due to incompatible Windows version
Reviewed-by: aboldtch, tschatzl
2024-04-25 10:43:07 +00:00
Albert Mingkun Yang
c9f8d0eff7 8331050: Serial: Remove unused _saved_mark_word in DefNewGeneration and TenuredGeneration
Reviewed-by: gli, tschatzl
2024-04-25 09:49:10 +00:00
Guoxiong Li
b1b953c427 8330972: Serial: Inline Generation::max_contiguous_available
Reviewed-by: ayang
2024-04-25 08:56:18 +00:00
Jan Lahoda
87e864bf21 8328703: Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
Reviewed-by: asotona, shade
2024-04-25 08:11:56 +00:00
Adam Sotona
ef745a6c6e 8331097: Tests build is broken after pr/18914
Reviewed-by: alanb
2024-04-25 08:09:52 +00:00
Joshua Cao
d32f109219 8329797: Shenandoah: Default case invoked for: "MaxL" (bad AD file)
Reviewed-by: shade, thartmann
2024-04-25 07:11:12 +00:00
Adam Sotona
ccc0d0f7b1 8325373: Improve StackCounter error reporting for bad switch cases
Reviewed-by: psandoz
2024-04-25 07:04:39 +00:00
Christoph Langer
e818ab60a0 8330815: Use pattern matching for instanceof in KeepAliveCache
Reviewed-by: jpai, djelinski
2024-04-25 06:53:36 +00:00
Christian Stein
d43654e573 8331030: langtools/tools/javac/tree tests fail with SOE with fastdebug and -Xcomp
Reviewed-by: jjg, vromero
2024-04-25 06:49:45 +00:00
Tejesh R
21480a7ae8 8322135: Printing JTable in Windows L&F throws InternalError: HTHEME is null
Reviewed-by: abhiscxk, honkar, aivanov
2024-04-25 04:31:55 +00:00
Jonathan Gibbons
e6118ce784 8331018: Clean up non-standard use of /** comments in jdk.jshell
Reviewed-by: iris, darcy, jlahoda
2024-04-24 20:45:23 +00:00
Vladimir Kozlov
a44ac026c5 8330853: Add missing checks for ConnectionGraph::can_reduce_cmp() call
Reviewed-by: iveresov, dlong, cslucas
2024-04-24 20:42:50 +00:00
Martin Balao
8a8d928898 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: aph, sviswanathan
2024-04-24 20:23:25 +00:00
Albert Mingkun Yang
0014e0e6b9 8331061: Serial: Missed BOT update in TenuredGeneration::expand_and_allocate
Reviewed-by: tschatzl, gli
2024-04-24 19:56:20 +00:00
Emanuel Peter
ea3909acd1 8331054: C2 MergeStores: assert failed: unexpected basic type after JDK-8318446 and JDK-8329555
Reviewed-by: thartmann, kvn
2024-04-24 19:06:46 +00:00
Roman Kennke
7b2560b490 8330849: Add test to verify memory usage with recursive locking
Reviewed-by: lmesnik, shade
2024-04-24 18:56:47 +00:00
Phil Race
25871af36b 8328896: Fontmetrics for large Fonts has zero width
Reviewed-by: tr, serb
2024-04-24 17:54:10 +00:00
Joshua Cao
1d06170758 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit
Reviewed-by: shade, kvn, dlong
2024-04-24 17:06:45 +00:00
Gerard Ziemski
f1d0e715b6 8324577: [REDO] - [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Reviewed-by: dcubed, dholmes
2024-04-24 14:27:10 +00:00
Albert Mingkun Yang
74b11ccf14 8331004: Serial: Remove unused GenClosure
Reviewed-by: gli, tschatzl
2024-04-24 13:34:35 +00:00
Matthias Baesken
45ed97f15b 8330464: hserr generic events - add entry for the before_exit calls
Reviewed-by: rrich, lucy
2024-04-24 12:55:34 +00:00
Stefan Johansson
e311ba32a5 8330626: ZGC: Windows address space placeholders not managed correctly
Reviewed-by: stefank, aboldtch
2024-04-24 12:03:30 +00:00
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Serguei Spitsyn
15190816f7 8330303: Crash: assert(_target_jt == nullptr || _target_jt->vthread() == target_h()) failed
Reviewed-by: pchilanomate, cjplummer, lmesnik
2024-04-24 11:43:49 +00:00
Guoxiong Li
2bb5cf5f33 8330155: Serial: Remove TenuredSpace
Reviewed-by: ayang, cjplummer, tschatzl
2024-04-24 11:41:21 +00:00
Albert Mingkun Yang
7bb59dc8da 8330670: Obsolete ScavengeBeforeFullGC
Reviewed-by: stefank, tschatzl
2024-04-24 09:44:26 +00:00
Serguei Spitsyn
174d62652c 8328741: serviceability/jvmti/ObjectMonitorUsage/ObjectMonitorUsage.java failed with unexpected owner
Reviewed-by: lmesnik, cjplummer
2024-04-24 09:02:02 +00:00
Emanuel Peter
e681e9b4d7 8330819: C2 SuperWord: bad dominance after pre-loop limit adjustment with base that has CastLL after pre-loop
Reviewed-by: chagedorn, kvn
2024-04-24 08:45:32 +00:00
Galder Zamarreño
c439c8c73c 8323429: Missing C2 optimization for FP min/max when both inputs are same
Reviewed-by: roland, chagedorn
2024-04-24 08:20:49 +00:00
Tobias Holenstein
165ba87e57 8330587: IGV: remove ControlFlowTopComponent
Reviewed-by: chagedorn, rcastanedalo
2024-04-24 07:24:39 +00:00
Emanuel Peter
3ccb64c021 8318446: C2: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: kvn, thartmann
2024-04-24 06:44:14 +00:00
Joshua Zhu
5c3838605d 8326541: [AArch64] ZGC C2 load barrier stub should consider the length of live registers when spilling registers
Reviewed-by: eosterlund, rcastanedalo
2024-04-24 05:44:39 +00:00
Jasmine Karthikeyan
438e64310d 8329531: compiler/c2/irTests/TestIfMinMax.java fails with IRViolationException: There were one or multiple IR rule failures.
Reviewed-by: epeter, dfenacci
2024-04-24 05:22:51 +00:00
Jatin Bhateja
80b381e91b 8329555: Crash in intrinsifying heap-based MemorySegment Vector store/loads
Reviewed-by: sviswanathan, kvn
2024-04-24 02:19:03 +00:00
Scott Gibbons
7a895552c8 8330844: Add aliases for conditional jumps and additional instruction forms for x86
Reviewed-by: kvn, epeter, sviswanathan
2024-04-23 23:35:59 +00:00
Justin Lu
f60798a30e 8329222: java.text.NumberFormat (and subclasses) spec updates
Reviewed-by: naoto
2024-04-23 21:10:46 +00:00
Alex Menkov
2555166247 8329113: Deprecate -XX:+UseNotificationThread
Reviewed-by: dcubed, dholmes, coleenp
2024-04-23 20:37:25 +00:00
Sonia Zaldana Calles
09b88098ff 8327289: Remove unused PrintMethodFlushingStatistics option
Reviewed-by: coleenp
2024-04-23 19:06:41 +00:00
Jonathan Gibbons
9cc163a999 8330178: Clean up non-standard use of /** comments in java.base
Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
2024-04-23 18:43:36 +00:00
Aleksei Voitylov
88a5dcead2 8330805: ARM32 build is broken after JDK-8139457
Reviewed-by: shade
2024-04-23 18:12:10 +00:00
Sonia Zaldana Calles
7157eea101 8327290: Remove unused notproduct option TraceInvocationCounterOverflow
Reviewed-by: coleenp
2024-04-23 18:01:55 +00:00
Guoxiong Li
b4cea701c9 8330693: Generational ZGC: Simplify ZAddress::finalizable_good and ZAddress::mark_good
Reviewed-by: stefank, eosterlund
2024-04-23 16:32:20 +00:00
Alan Bateman
412e306d81 8329593: Drop adjustments to target parallelism when virtual threads do I/O on files opened for buffered I/O
Reviewed-by: bpb, jpai
2024-04-23 16:10:13 +00:00
Guoxiong Li
b07e1531b3 8330362: G1: Inline offset array element accessor in G1BlockOffsetTable
Reviewed-by: ayang, tschatzl
2024-04-23 15:22:17 +00:00
Matias Saavedra Silva
b6518a5db0 8329417: Remove objects with no pointers from relocation bitmap
Reviewed-by: ccheung, iklam
2024-04-23 15:07:55 +00:00
Matias Saavedra Silva
383fe6eaab 8330388: Remove invokedynamic cache index encoding
Reviewed-by: cjplummer, dlong, coleenp
2024-04-23 15:02:27 +00:00
Albert Mingkun Yang
2ea89268a1 8330961: Remove redundant public specifier in ModRefBarrierSet
Reviewed-by: tschatzl
2024-04-23 15:01:09 +00:00
Alexey Ivanov
3d5eeac3a3 8289770: Remove Windows version macro from ShellFolder2.cpp
Reviewed-by: jwaters, tr, serb
2024-04-23 12:57:24 +00:00
Oli Gillespie
6158da5e95 8330108: Increase CipherInputStream buffer size
Reviewed-by: ascarpino, shade
2024-04-23 12:37:36 +00:00
Jaroslav Bachorik
a92ad03946 8329995: Restricted access to /proc can cause JFR initialization to crash
Reviewed-by: dholmes, egahlin
2024-04-23 12:14:57 +00:00
Coleen Phillimore
fcb4a8ba26 8330578: The VM creates instance of abstract class VirtualMachineError
Reviewed-by: iklam, dlong, jwaters, dholmes
2024-04-23 11:31:11 +00:00
Adam Sotona
3bd6982ec3 8326150: Typo in the documentation for jdk.jshell
Reviewed-by: jlahoda
2024-04-23 11:07:58 +00:00
Albert Mingkun Yang
d9d926d669 8330145: Serial: Refactor SerialHeap::scan_evacuated_objs
Reviewed-by: gli, tschatzl
2024-04-23 11:05:35 +00:00
Albert Mingkun Yang
1a6da3d5f0 8330822: Remove ModRefBarrierSet::write_ref_array_work
Reviewed-by: gli, tschatzl
2024-04-23 11:05:23 +00:00
Feilong Jiang
281f9bdeb9 8330735: RISC-V: No need to move sp to tmp register in set_last_Java_frame
Reviewed-by: fyang
2024-04-23 08:00:18 +00:00
Claes Redestad
daa5a4bd12 8330802: Desugar switch in Locale::createLocale
Reviewed-by: alanb, liach, rriggs, naoto, mchung
2024-04-23 08:00:07 +00:00
Nizar Benalla
8961077056 8309259: Reduce calls to MethodHandles.lookup() in jdk.internal.net.http.Stream
Reviewed-by: pminborg, jpai
2024-04-23 07:18:52 +00:00
Roberto Castañeda Lozano
574ba1400e 8330862: GCBarrierIRExample fails when a different GC is selected via the command line
Reviewed-by: thartmann, dholmes, stefank
2024-04-23 06:52:58 +00:00
Nizar Benalla
550a138622 8306928: Duplicate variable assignement in jdk.internal.net.http.AuthenticationFilter#getCredentials
Reviewed-by: clanger, jpai
2024-04-23 05:54:50 +00:00
Roberto Castañeda Lozano
57ebd045ea 8330153: C2: dump barrier information for all Mach nodes
Reviewed-by: kvn, thartmann
2024-04-23 04:18:23 +00:00
Scott Gibbons
58ad399d19 8330821: Rename UnsafeCopyMemory
Reviewed-by: kvn, sviswanathan
2024-04-22 22:54:19 +00:00
Jonathan Gibbons
1d52234e19 8330704: Clean up non-standard use of /** comments in some langtools tests
Reviewed-by: iris
2024-04-22 21:52:22 +00:00
Nizar Benalla
83c74d7307 8329717: Missing @since tags in elements in DocumentationTool and Taglet
Reviewed-by: prappo
2024-04-22 20:36:43 +00:00
Vicente Romero
0b9350e8b6 8322992: Javac fails with StackOverflowError when compiling deeply nested synchronized blocks
Reviewed-by: jlahoda
2024-04-22 16:31:32 +00:00
Ioi Lam
20be5e095f 8314846: Do not store Klass::_secondary_super_cache in CDS archive
Reviewed-by: stuefe, aph
2024-04-22 15:53:14 +00:00
Roman Kennke
7e421ce9d0 8330585: Refactor/rename forwardee handling
Reviewed-by: stefank, ayang
2024-04-22 15:03:09 +00:00
Magnus Ihse Bursie
3e65d90b4d 8330820: Remove remnants of operator_new.cpp in build system
Reviewed-by: tbell
2024-04-22 13:32:02 +00:00
Coleen Phillimore
936a47d7d6 8330607: Deprecate -XX:+UseEmptySlotsInSupers
Reviewed-by: shade, dcubed
2024-04-22 11:40:22 +00:00
Coleen Phillimore
ee7b2e9b3b 8330051: Small ObjectMonitor spinning code cleanups
Reviewed-by: dcubed, eosterlund, fbredberg
2024-04-22 11:25:53 +00:00
Albert Mingkun Yang
3e185c70fe 8330154: Serial: Remove TenuredSpace::update_for_block
Reviewed-by: gli, tschatzl
2024-04-22 10:08:52 +00:00
Albert Mingkun Yang
f889797e1f 8330463: Rename invalidate() to write_region() in ModRefBarrierSet
Reviewed-by: gli, tschatzl
2024-04-22 10:05:32 +00:00
Jonas Norlinder
c4f5c5140a 8330576: ZYoungCompactionLimit should have range check
Reviewed-by: eosterlund, stefank
2024-04-22 09:00:24 +00:00
Guoxiong Li
70acade9f1 8330339: G1: Move some public methods to private in G1BlockOffsetTable APIs
Reviewed-by: ayang, iwalulya
2024-04-22 08:58:38 +00:00
Claes Redestad
35b30c81e0 8330595: Invoke ObjectMethods::bootstrap method exactly
Reviewed-by: mchung
2024-04-22 08:55:46 +00:00
Claes Redestad
3d62bbf4f2 8330681: Explicit hashCode and equals for java.lang.runtime.SwitchBootstraps$TypePairs
Reviewed-by: jlahoda, mchung
2024-04-22 08:54:29 +00:00
Guoxiong Li
5313dcc8f9 8330733: Generational ZGC: Remove ZBarrier::verify_old_object_live_slow_path
Reviewed-by: stefank, tschatzl
2024-04-22 08:14:53 +00:00
Evgeny Nikitin
5394f57f00 8330621: Make 5 compiler tests use ProcessTools.executeProcess
Reviewed-by: chagedorn, stefank, thartmann
2024-04-22 07:41:06 +00:00
Christian Hagedorn
20546c1ea0 8330004: Refactor cloning down code in Split If for Template Assertion Predicates
Reviewed-by: epeter, kvn
2024-04-22 06:07:07 +00:00
Scott Gibbons
bd67ac69a2 8329331: Intrinsify Unsafe::setMemory
Reviewed-by: sviswanathan, jbhateja, kvn
2024-04-21 23:24:46 +00:00
Jatin Bhateja
185e711bfe 8318650: Optimized subword gather for x86 targets.
Reviewed-by: sviswanathan, epeter, psandoz
2024-04-21 23:21:17 +00:00
Ioi Lam
6d5699617f 8330540: Rename the enum type CompileCommand to CompileCommandEnum
Reviewed-by: kvn, dlong
2024-04-20 03:52:17 +00:00
Joe Darcy
f6feeb03bb 8330703: Improve link syntax in javax.lang.model.util
Reviewed-by: jjg
2024-04-19 20:32:18 +00:00
Jonathan Gibbons
df04358223 8330179: Clean up non-standard use of /** comments in jdk.compiler
Reviewed-by: darcy
2024-04-19 19:02:46 +00:00
Joe Darcy
c1dd82b4d2 8329644: Discuss expected visitor evolution patterns in javax.lang.model.util
Reviewed-by: prappo, jlahoda, jjg
2024-04-19 19:00:17 +00:00
Vladimir Kozlov
b704e91241 8329433: Reduce nmethod header size
Reviewed-by: dlong, iveresov
2024-04-19 16:11:17 +00:00
Amit Kumar
8da175d094 8330008: [s390x] Test bit "in-memory" in case of DiagnoseSyncOnValueBasedClasses
Reviewed-by: lucy, mdoerr
2024-04-19 16:06:55 +00:00
Dan Heidinga
3c1d1d93d7 8320522: Remove code related to RegisterFinalizersAtInit
Reviewed-by: coleenp, ayang, kbarrett
2024-04-19 15:03:18 +00:00
Erik Gahlin
650ca65a4f 8329330: NoClassDefFoundError: Could not initialize class jdk.jfr.internal.MirrorEvents
Reviewed-by: mgronlun
2024-04-19 14:50:39 +00:00
Johan Sjölen
177092b952 8330569: Rename Nix to Posix in platform-dependent attachListener code
Reviewed-by: mdoerr, stuefe, coleenp
2024-04-19 10:13:40 +00:00
Abhishek Kumar
eb60822a45 8310072: JComboBox/DisabledComboBoxFontTestAuto: Enabled and disabled ComboBox does not match in these LAFs: GTK+
Reviewed-by: dnguyen, jdv, tr, serb
2024-04-19 10:10:00 +00:00
Hamlin Li
85261bcebc 8330266: RISC-V: Restore frm to RoundingMode::rne after JNI
Reviewed-by: fyang, rehn
2024-04-19 10:08:57 +00:00
Jaikiran Pai
9f2a4fad17 8330572: jdk.internal.net.http.HttpConnection calls an expensive checkOpen() when returning a HTTP/1.1 connection to the pool
Reviewed-by: dfuchs, djelinski
2024-04-19 10:07:25 +00:00
Robbin Ehn
8990864a53 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Reviewed-by: fyang, mli, tonyp
2024-04-19 10:05:24 +00:00
Hannes Wallnöfer
46a2ce4eb4 8330063: Upgrade jQuery to 3.7.1
Reviewed-by: prappo
2024-04-19 10:03:59 +00:00
Matthias Baesken
252c62a66d 8330524: Linux ppc64le compile warning with clang in os_linux_ppc.cpp
Reviewed-by: mdoerr, clanger
2024-04-19 10:02:44 +00:00
Alexey Semenyuk
32946e1882 8295111: dpkg appears to have problems resolving symbolically linked native libraries
Reviewed-by: almatvee
2024-04-18 22:09:32 +00:00
Jonathan Gibbons
6ee8407758 8324342: Doclet should default @since for a nested class to that of its enclosing class
Reviewed-by: prappo, hannesw
2024-04-18 18:49:08 +00:00
Joe Darcy
235ba9a702 8330458: Add missing @since tag to ClassFile.JAVA_23_VERSION
Reviewed-by: jjg, iris, asotona
2024-04-18 16:12:50 +00:00
Renjith Kannath Pariyangad
f713766cab 8329322: Convert PageFormat/Orient.java to use PassFailJFrame
Reviewed-by: abhiscxk, aivanov
2024-04-18 13:32:35 +00:00
Tobias Holenstein
ec180d4782 8324950: IGV: save the state to a file
Reviewed-by: rcastanedalo, chagedorn
2024-04-18 12:53:47 +00:00
Fei Yang
571e6bc3f7 8330419: Unused code in ConnectionGraph::specialize_castpp
Reviewed-by: chagedorn
2024-04-18 12:48:24 +00:00
Erik Gahlin
5853a2c009 8330533: JFR: LocalDateTime should not use milliseconds since epoch
Reviewed-by: aturbanov, mgronlun
2024-04-18 11:59:57 +00:00
Per Minborg
b648ed0a08 8329997: Add provisions for checking memory segment alignment constraints
Reviewed-by: jvernee, mcimadamore
2024-04-18 11:22:47 +00:00
Coleen Phillimore
60b65e6090 8325872: Make GuaranteedSafepointInterval default 0
Reviewed-by: shade, eosterlund, dcubed
2024-04-18 11:21:39 +00:00
Hamlin Li
b0496096dc 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang, luhenry
2024-04-18 11:13:10 +00:00
Matthias Baesken
4b55fe5777 8330520: linux clang build fails in os_linux.cpp with static_assert with no message is a C++17 extension
Reviewed-by: stefank, mdoerr
2024-04-18 10:03:41 +00:00
Albert Mingkun Yang
5eb2c596e2 8330475: Remove unused default value for ModRefBarrierSet::write_ref_array_pre
Reviewed-by: gli, tschatzl
2024-04-18 08:25:19 +00:00
Soumadipta Roy
003e86fe38 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
Reviewed-by: shade, lmesnik
2024-04-18 07:57:11 +00:00
Adam Sotona
706b421cca 8330467: NoClassDefFoundError when lambda is in a hidden class
Reviewed-by: psandoz, mchung
2024-04-18 05:50:24 +00:00
Ioi Lam
fe0227e978 8311098: Change comment in verificationType.hpp to refer to _sym
Reviewed-by: ccheung
2024-04-18 03:35:15 +00:00
Archie Cobbs
064628471b 8317376: Minor improvements to the 'this' escape analyzer
Reviewed-by: vromero
2024-04-17 17:35:17 +00:00
Suchismith Roy
4895a15a77 8319516: AIX System::loadLibrary needs support to load a shared library from an archive object
Reviewed-by: mdoerr, mchung
2024-04-17 17:03:40 +00:00
Patricio Chilano Mateo
fd331ff173 8325469: Freeze/Thaw code can crash in the presence of OSR frames
Reviewed-by: rpressler, dlong
2024-04-17 16:18:55 +00:00
Roland Westrelin
9fd78022b1 8325494: C2: Broken graph after not skipping CastII node anymore for Assertion Predicates after JDK-8309902
Reviewed-by: chagedorn, epeter
2024-04-17 15:25:41 +00:00
Archie Cobbs
192ec387bc 8329595: spurious variable "might not have been initialized" on static final field
Reviewed-by: vromero
2024-04-17 14:31:40 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Erik Gahlin
ff3e76fd0c 8330053: JFR: Use LocalDateTime instead ZonedDateTime
Reviewed-by: lmesnik, mgronlun
2024-04-17 13:36:07 +00:00
Sonia Zaldana Calles
811aadd9e7 8324683: Unify AttachListener code for Posix platforms
Reviewed-by: jsjolen, stuefe
2024-04-17 12:54:12 +00:00
Magnus Ihse Bursie
5841cb3b51 8330107: Separate out "awt" libraries from Awt2dLibraries.gmk
Reviewed-by: erikj
2024-04-17 12:39:36 +00:00
Jaikiran Pai
89129e3f67 8212895: ChronoField.INSTANT_SECONDS's range doesn't match the range of Instant
Reviewed-by: rriggs, naoto
2024-04-17 10:59:12 +00:00
Roland Westrelin
9445047d05 8330163: C2: improve CMoveNode::Value() when condition is always true or false
Reviewed-by: chagedorn, kvn
2024-04-17 10:48:35 +00:00
Jaikiran Pai
d2f9a1eb97 Merge
Reviewed-by: dfuchs
2024-04-17 10:42:00 +00:00
Per Minborg
e4021adb28 8330272: Wrong javadoc for ValueLayout.JAVA_LONG/JAVA_DOUBLE on x86 32bit
Reviewed-by: mcimadamore, jvernee
2024-04-17 09:26:26 +00:00
Yudi Zheng
3ccbc6d4d0 8330280: SharedRuntime::get_resolved_entry should not return c2i entry if the callee is special native intrinsic
Reviewed-by: pchilanomate, dlong
2024-04-17 09:08:50 +00:00
SendaoYan
7744b0046a 8327946: containers/docker/TestJFREvents.java fails when host kernel config vm.swappiness=0 after JDK-8325139
Reviewed-by: sgehwolf
2024-04-17 08:39:12 +00:00
Roberto Castañeda Lozano
9d63fee49c 8330262: C2: simplify transfer of GC barrier data from Ideal to Mach nodes
Reviewed-by: eosterlund, kvn
2024-04-17 06:38:23 +00:00
Amit Kumar
01bda278d6 8330011: [s390x] update block-comments to make code consistent
Reviewed-by: lucy
2024-04-17 06:34:31 +00:00
Ioi Lam
2fe2f3aff8 8323900: Avoid calling os::init_random() in CDS static dump
Reviewed-by: stuefe, ccheung
2024-04-17 05:31:39 +00:00
Gui Cao
cd4c3aac63 8330242: RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp
Reviewed-by: fyang, rehn
2024-04-17 01:34:39 +00:00
Erik Joelsson
e57a322d70 8329970: Update autoconf build-aux files with latest from 2024-01-01
Reviewed-by: ihse, clanger
2024-04-17 00:51:11 +00:00
Feilong Jiang
c8702ede97 8330213: RISC-V: C2: assert(false) failed: bad AD file after JDK-8316991
Reviewed-by: fyang, rehn
2024-04-17 00:50:59 +00:00
Tom Rodriguez
f6f038a678 8317368: [JVMCI] SIGSEGV in JVMCIEnv::initialize_installed_code on libgraal
Reviewed-by: dnsimon, kvn, eosterlund
2024-04-17 00:18:15 +00:00
Alex Menkov
fb4cf1cc3c 8329636: Deprecate -XX:+PreserveAllAnnotations
Reviewed-by: coleenp, dholmes
2024-04-16 22:53:54 +00:00
Valerie Peng
d1c6cd104e 8330133: libj2pkcs11.so crashes on some pkcs#11 v3.0 libraries
Reviewed-by: djelinski, weijun
2024-04-16 22:47:02 +00:00
Calvin Cheung
76cbe4883b 8329430: MetaspaceShared::preload_and_dump should clear pending exception
Reviewed-by: iklam, stuefe
2024-04-16 17:47:06 +00:00
Erik Gahlin
f7c84137b5 8326116: JFR: Add help option to -XX:StartFlightRecording
Reviewed-by: mgronlun
2024-04-16 17:21:47 +00:00
Justin Lu
941bee197f 8327640: Allow NumberFormat strict parsing
Reviewed-by: naoto
2024-04-16 16:18:09 +00:00
Naoto Sato
2ede14335a 8330279: Typo in java.text.Bidi class description
Reviewed-by: iris, joehw
2024-04-16 16:04:43 +00:00
Mark Sheppard
90df3b7fbb 8329190: (ch) DatagramChannel.receive should throw ClosedChannelException when called on closed channel
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: jpai, michaelm
2024-04-16 15:44:15 +00:00
Andrew Haley
f11a496de6 8180450: secondary_super_cache does not scale well
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: kvn, vlivanov, dlong
2024-04-16 14:21:48 +00:00
Roland Westrelin
bfff02eef6 8330165: C2: make superword consistently use PhaseIdealLoop::register_new_node()
Reviewed-by: chagedorn, kvn
2024-04-16 14:11:05 +00:00
Patricio Chilano Mateo
e073d5b374 8329665: fatal error: memory leak: allocating without ResourceMark
Reviewed-by: dholmes, shade, coleenp
2024-04-16 14:09:44 +00:00
Magnus Ihse Bursie
6e77d918e6 8330261: Clean up linking steps
Reviewed-by: erikj
2024-04-16 13:52:16 +00:00
Magnus Ihse Bursie
61fa4d45b6 8330351: Remove the SHARED_LIBRARY and STATIC_LIBRARY macros
Reviewed-by: erikj
2024-04-16 13:51:14 +00:00
Albert Mingkun Yang
56ff87a096 8330359: G1: Remove unused forward declaration in g1BlockOffsetTable.hpp
Reviewed-by: iwalulya, gli
2024-04-16 13:51:04 +00:00
Viktor Klang
8a5b86c529 8196106: Support nested infinite or recursive flat mapped streams
Reviewed-by: psandoz
2024-04-16 11:09:59 +00:00
Kevin Walls
58911ccc2c 8188784: javax/management/notification/BroadcasterSupportDeadlockTest.java - TEST FAILED: deadlock
Reviewed-by: cjplummer, lmesnik
2024-04-16 10:20:50 +00:00
Adam Sotona
97c180892b 8329099: Undocumented exception thrown by Instruction factory methods accepting Opcode
Reviewed-by: briangoetz
2024-04-16 08:23:31 +00:00
Markus Grönlund
def257727d 8330215: Trim working set for OldObjectSamples
Reviewed-by: jbachorik, egahlin
2024-04-16 06:51:37 +00:00
Guoxiong Li
2f11afdae9 8330172: G1: Consolidate update_bot_for_block and update_bot_for_obj in HeapRegion
Reviewed-by: ayang, tschatzl
2024-04-16 06:19:32 +00:00
Christian Hagedorn
33d7127555 8322122: Enhance generation of addresses
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: hedongbo <hedongbo@huawei.com>
Reviewed-by: rhalade, mschoene, dlong, thartmann
2024-04-16 11:17:05 +05:30
David Holmes
8de2f6f883 8319851: Improve exception logging
Reviewed-by: rhalade, matsaave, coleenp
2024-04-16 11:17:05 +05:30
Weijun Wang
0203c7e612 8318340: Improve RSA key implementations
Reviewed-by: rhalade, mschoene, valeriep, mullan
2024-04-16 11:17:05 +05:30
Daniel Jeliński
2885469c4b 8315708: Enhance HTTP/2 client usage
Reviewed-by: rhalade, michaelm, dfuchs
2024-04-16 11:17:05 +05:30
Weijun Wang
31a1f9c493 8307143: CredentialsCache.cacheName should not be static
Reviewed-by: valeriep
2024-04-16 01:03:14 +00:00
David Holmes
274c805c51 8327743: JVM crash in hotspot/share/runtime/javaThread.cpp - failed: held monitor count should be equal to jni: 0 != 1
Co-authored-by: Fredrik Bredberg <fbredberg@openjdk.org>
Reviewed-by: rehn, fbredberg, pchilanomate, rrich
2024-04-16 00:48:15 +00:00
Joshua Cao
140f56718b 8323220: Reassociate loop invariants involved in Cmps and Add/Subs
Reviewed-by: epeter, xliu, chagedorn
2024-04-15 15:54:34 +00:00
Joe Darcy
a293bdff91 8330197: Make javac/diags/example release agnostic
Reviewed-by: jlahoda
2024-04-15 15:11:53 +00:00
Joe Darcy
da75e015b5 8330196: Make java/lang/invoke/defineHiddenClass/BasicTest release agnostic
Reviewed-by: liach, mchung, jkuhn
2024-04-15 15:11:40 +00:00
Thomas Stuefe
ddc3921cf9 8330103: Compiler memory statistics should keep separate records for C1 and C2
Reviewed-by: kvn, redestad
2024-04-15 15:01:05 +00:00
Albert Mingkun Yang
273df6286a 8328792: Parallel: Refactor PSParallelCompact::summary_phase
Reviewed-by: iwalulya, tschatzl
2024-04-15 13:32:26 +00:00
Thomas Schatzl
a3fecdb2f4 8329764: G1: Handle null references during verification first
Reviewed-by: stefank, iwalulya
2024-04-15 13:21:18 +00:00
Per Minborg
60d88b7ae2 8330176: Typo in Linker javadoc
Reviewed-by: mcimadamore
2024-04-15 12:42:31 +00:00
Joachim Kern
3f1d9c441e 8329257: AIX: Switch HOTSPOT_TOOLCHAIN_TYPE from xlc to gcc
Reviewed-by: jwaters, stuefe, kbarrett, mdoerr
2024-04-15 08:46:36 +00:00
Yudi Zheng
5404b4eafc 8330105: SharedRuntime::resolve* should respect interpreter-only mode
Reviewed-by: never, dlong, dnsimon
2024-04-15 08:07:49 +00:00
David Holmes
d22d560871 8329864: TestLibGraal.java still crashes with assert(_stack_base != nullptr)
Reviewed-by: dnsimon, jsjolen, dcubed
2024-04-15 07:33:10 +00:00
David Holmes
bc1a1a5861 8330064: JFR: Incorrect function declarations for register/unregister_stack_filter
Reviewed-by: mgronlun, dcubed, egahlin, jwaters
2024-04-15 07:31:58 +00:00
Christian Hagedorn
b486709b06 8328480: C2: SubTypeCheckNode in checkcast should use the klass constant of a unique concrete sub class
Reviewed-by: roland, kvn
2024-04-15 06:25:24 +00:00
Leonid Mesnik
1abb826210 8330131: Problemlist serviceability/jvmti/vthread/GetThreadStateMountedTest/GetThreadStateMountedTest.java
Reviewed-by: dcubed
2024-04-14 16:02:07 +00:00
Serguei Spitsyn
c1c99a669b 8329674: JvmtiEnvThreadState::reset_current_location function should use JvmtiHandshake
Reviewed-by: lmesnik, pchilanomate
2024-04-13 09:22:00 +00:00
Scott Gibbons
b9ef9f667e 8330185: Potential uncaught unsafe memory copy exception
Reviewed-by: kvn, sviswanathan
2024-04-13 00:48:52 +00:00
Alex Menkov
28b2019559 8240343: JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"
Reviewed-by: cjplummer, sspitsyn
2024-04-12 22:29:34 +00:00
Magnus Ihse Bursie
68f86dccce 8330110: AIX build fails after JDK-8329704 - issue with libjli.a
Reviewed-by: mbaesken, mdoerr
2024-04-12 20:57:56 +00:00
Matthias Baesken
397d948310 8329605: hs errfile generic events - move memory protections and nmethod flushes to separate sections
Reviewed-by: lucy, stefank, stuefe
2024-04-12 14:09:23 +00:00
Guoxiong Li
f7069494f4 8329781: Serial: Remove serialFullGC.inline.hpp
Reviewed-by: ayang, stefank, tschatzl
2024-04-12 14:06:07 +00:00
Guoxiong Li
0f78d017af 8329658: Serial: Refactor ContiguousSpace::_next_compaction_space
Reviewed-by: ayang, tschatzl
2024-04-12 12:59:49 +00:00
Guoxiong Li
b8f675f45b 8329771: G1: Refactor G1BlockOffsetTable::verify
Reviewed-by: ayang, tschatzl
2024-04-12 12:54:36 +00:00
Coleen Phillimore
3e9c381166 8329488: Move OopStorage code from safepoint cleanup and remove safepoint cleanup code
Reviewed-by: kbarrett, eosterlund
2024-04-12 12:16:49 +00:00
Gui Cao
77a217df60 8330095: RISC-V: Remove obsolete vandn_vi instruction
Reviewed-by: fyang, luhenry
2024-04-12 11:42:05 +00:00
Tejesh R
717a07b932 8322140: javax/swing/JTable/JTableScrollPrintTest.java does not print the rows and columns of the table in Nimbus and Aqua LookAndFeel
Reviewed-by: psadhukhan, abhiscxk
2024-04-12 10:21:31 +00:00
Ivan Walulya
aebfd53e9d 8329660: G1: Improve TestGCLogMessages to be more precise
Reviewed-by: tschatzl, ayang
2024-04-12 07:46:43 +00:00
Albert Mingkun Yang
006a516aa0 8329962: Remove CardTable::invalidate
Reviewed-by: tschatzl, gli
2024-04-12 07:37:48 +00:00
Guoxiong Li
c7fcd62302 8330006: Serial: Extract out ContiguousSpace::block_start_const
Reviewed-by: ayang, tschatzl
2024-04-12 07:29:41 +00:00
Guoxiong Li
2c8b432b89 8330003: Serial: Move the logic of FastEvacuateFollowersClosure to SerialHeap
Reviewed-by: ayang, tschatzl
2024-04-12 07:26:01 +00:00
Thomas Schatzl
2c45eca159 8328879: G1: Some gtests modify global state crashing the JVM during GC after JDK-8289822
Reviewed-by: iwalulya, kbarrett
2024-04-12 07:22:06 +00:00
Roland Westrelin
bde3fc0c03 8330106: C2: VectorInsertNode::make() shouldn't call ConINode::make() directly
Reviewed-by: kvn, thartmann
2024-04-12 07:17:27 +00:00
Axel Boldt-Christmas
e45fea5a80 8329757: Crash with fatal error: DEBUG MESSAGE: Fast Unlock lock on stack
Reviewed-by: pchilanomate, kvn
2024-04-12 06:04:20 +00:00
Matias Saavedra Silva
ece7d4349a 8329416: Split relocation pointer map into read-write and read-only maps
Reviewed-by: iklam, ccheung
2024-04-11 22:05:55 +00:00
Jorn Vernee
0db42906e3 8330049: Remove unused AbstractLinker::linkerByteOrder
Reviewed-by: mcimadamore
2024-04-11 20:54:09 +00:00
Albert Mingkun Yang
5808f30b89 8330026: Serial: Move some includes to vmStructs_serial.hpp
Reviewed-by: kbarrett
2024-04-11 19:22:11 +00:00
Cesar Soares Lucas
31ee5108e0 8241503: C2: Share MacroAssembler between mach nodes during code emission
Reviewed-by: kvn, mdoerr, amitkumar, lucy
2024-04-11 15:44:49 +00:00
Guoxiong Li
0656f08092 8329469: Generational ZGC: Move the methods forwarding_[index|find|insert] from zRelocate.cpp to ZForwarding
Reviewed-by: stefank, eosterlund
2024-04-11 15:01:41 +00:00
Magnus Ihse Bursie
16061874ff 8326947: Minimize MakeBase.gmk
Reviewed-by: erikj
2024-04-11 14:15:34 +00:00
Mahendra Chhipa
2e3682a7f2 8319678: Several tests from corelibs areas ignore VM flags
Reviewed-by: naoto, jpai
2024-04-11 13:51:07 +00:00
Coleen Phillimore
63684cd183 8327250: assert(!method->is_old()) failed: Should not be installing old methods
Reviewed-by: eosterlund, sspitsyn
2024-04-11 13:17:48 +00:00
Daniel Jeliński
ecc603ca9b 8201183: sjavac build failures: "Connection attempt failed: Connection refused"
Reviewed-by: erikj, ihse
2024-04-11 12:42:24 +00:00
Thomas Schatzl
ff5c9a4dde 8329528: G1 does not update TAMS correctly when dropping retained regions during Concurrent Start pause
Reviewed-by: ayang, iwalulya
2024-04-11 11:35:07 +00:00
Ludvig Janiuk
9acce7a6f3 8329774: Break long lines in jdk/src/jdk.hotspot.agent/doc /transported_core.html
Reviewed-by: kevinw
2024-04-11 10:33:19 +00:00
Magnus Ihse Bursie
f0cd866a37 8329704: Implement framework for proper handling of JDK_LIBS
Reviewed-by: erikj, jwaters
2024-04-11 09:40:12 +00:00
Axel Boldt-Christmas
8817ba450c 8330000: ZGC: ZObjArrayAllocator may unnecessarily clear TypeArrays twice
Reviewed-by: stefank, eosterlund
2024-04-11 08:52:01 +00:00
Matthias Baesken
f778642613 8330024: [AIX] replace my_disclaim64 helper by direct call to disclaim64
Reviewed-by: mdoerr, lucy
2024-04-11 08:46:19 +00:00
Roland Westrelin
7df492627b 8327741: JVM crash in hotspot/share/opto/compile.cpp - failed: missing inlining msg
Reviewed-by: vlivanov, chagedorn
2024-04-11 07:27:44 +00:00
Roland Westrelin
2ceeb6c001 8328822: C2: "negative trip count?" assert failure in profile predicate code
Reviewed-by: shade, chagedorn
2024-04-11 07:27:33 +00:00
Jatin Bhateja
b04b3047ff 8329254: optimize integral reverse operations on x86 GFNI target.
Reviewed-by: sviswanathan
2024-04-11 06:28:26 +00:00
Thomas Stuefe
d9c84e763a 8329656: assertion failed in MAP_ARCHIVE_MMAP_FAILURE path: Invalid immediate -5 0
Reviewed-by: ccheung, iklam
2024-04-11 05:24:33 +00:00
Serguei Spitsyn
5e544f1510 8329491: GetThreadListStackTraces function should use JvmtiHandshake
Reviewed-by: pchilanomate, lmesnik
2024-04-11 04:19:02 +00:00
Serguei Spitsyn
643dd48a2a 8329432: PopFrame and ForceEarlyReturn functions should use JvmtiHandshake
Reviewed-by: pchilanomate, lmesnik
2024-04-11 01:14:20 +00:00
Darragh Clarke
70944ca54a 8330033: com/sun/net/httpserver/bugs/B6431193.java fails in AssertionError after JDK-8326568
Reviewed-by: jpai, dfuchs
2024-04-10 16:11:06 +00:00
Johan Sjölen
279ed0ddd5 8329961: Buffer overflow in os::Linux::kernel_version
Reviewed-by: rehn, stuefe
2024-04-10 15:16:25 +00:00
Alexey Ivanov
9731b1c8b0 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel
Reviewed-by: serb, tr
2024-04-10 14:21:37 +00:00
Coleen Phillimore
c5150c7b81 8309751: Duplicate constant pool entries added during default method processing
Co-authored-by: Ashutosh Mehra <asmehra@openjdk.org>
Reviewed-by: matsaave, dholmes
2024-04-10 12:38:07 +00:00
Darragh Clarke
86cb76728d 8326568: jdk/test/com/sun/net/httpserver/bugs/B6431193.java should use try-with-resource and try-finally
Reviewed-by: dfuchs, jpai
2024-04-10 11:12:40 +00:00
Albert Mingkun Yang
b49ba426a7 8330002: Remove redundant public keyword in BarrierSet
Reviewed-by: tschatzl
2024-04-10 10:32:32 +00:00
Guoxiong Li
dd6e4533eb 8329767: G1: Move G1BlockOffsetTable::set_for_starts_humongous to HeapRegion
Reviewed-by: ayang, iwalulya
2024-04-10 10:26:26 +00:00
Sidraya Jayagond
e0fd6c4c9e 8329545: [s390x] Fix garbage value being passed in Argument Register
Reviewed-by: amitkumar, mdoerr
2024-04-10 10:12:21 +00:00
Johan Sjölen
51ed69a586 8327621: Check return value of uname in os::get_host_name
Reviewed-by: dholmes, stuefe
2024-04-10 08:12:47 +00:00
Tejesh R
bea9acc55a 8328482: Convert and Open source few manual applet test to main based
Reviewed-by: abhiscxk, honkar, prr
2024-04-10 07:11:02 +00:00
Boris Ulasevich
d037a597a9 8311248: Refactor CodeCache::initialize_heaps to simplify adding new CodeCache segments
Reviewed-by: thartmann
2024-04-10 06:29:44 +00:00
Ioi Lam
bab70193dd 8329431: Improve speed of writing CDS heap objects
Reviewed-by: ccheung, matsaave
2024-04-10 04:14:10 +00:00
Amit Kumar
47df14590c 8310513: [s390x] Intrinsify recursive ObjectMonitor locking
Reviewed-by: lucy, mdoerr
2024-04-10 03:33:24 +00:00
Jaikiran Pai
b81b86da98 8329729: java/util/Properties/StoreReproducibilityTest.java times out
Reviewed-by: alanb
2024-04-10 01:33:13 +00:00
Valerie Peng
6276789fb5 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0
Reviewed-by: djelinski, weijun
2024-04-09 21:51:51 +00:00
Ben Perez
316361b95c 8328318: Wrong description in X509Extension.getExtensionValue method javadoc
Reviewed-by: mullan, wetmore
2024-04-09 20:03:18 +00:00
Vladimir Kozlov
b80ba08518 8329967: Build failure after JDK-8329628
Reviewed-by: thartmann, shade, dcubed
2024-04-09 16:20:43 +00:00
Evgeny Nikitin
4bba445d83 8325659: Normalize Random usage by incubator vector tests
Reviewed-by: psandoz
2024-04-09 15:39:51 +00:00
Vladimir Kozlov
6736792b9a 8329628: Additional changes after JDK-8329332
Reviewed-by: stefank, eosterlund
2024-04-09 15:32:15 +00:00
Robbin Ehn
1e02a13a7f 8328614: hsdis: dlsym can't find decode symbol
Reviewed-by: ihse, luhenry, mli
2024-04-09 15:01:02 +00:00
Robbin Ehn
23d161de29 8328630: Add logging when needed symbols in dll are missing.
Reviewed-by: dholmes, luhenry, mli
2024-04-09 15:00:50 +00:00
Roman Kennke
2e925f263d 8329726: Use non-short forward jumps in lightweight locking
Reviewed-by: shade, kvn, aboldtch
2024-04-09 14:50:41 +00:00
Adam Sotona
e75e1cb02c 8329955: Class-File API ClassPrinter does not print bootstrap methods arguments
Reviewed-by: briangoetz
2024-04-09 14:44:00 +00:00
Adam Sotona
f9bc2db9a9 8325371: Missing ClassFile.Option in package summary
Reviewed-by: briangoetz
2024-04-09 14:41:39 +00:00
Albert Mingkun Yang
a8fbeec9e9 8329956: G1: Remove unimplemented collection_set_candidate_short_type_str
Reviewed-by: tschatzl
2024-04-09 14:26:31 +00:00
Daniel Jeliński
3b6629cec7 8324673: javacserver failed during build: RejectedExecutionException
Reviewed-by: cstein, erikj
2024-04-09 14:10:58 +00:00
Guoxiong Li
5fb5e6c8f0 8329603: G1: Merge G1BlockOffsetTablePart into G1BlockOffsetTable
Reviewed-by: ayang, iwalulya
2024-04-09 13:22:24 +00:00
Alexey Ivanov
2fcb816858 8305072: Win32ShellFolder2.compareTo is inconsistent
Reviewed-by: prr, serb
2024-04-09 13:19:41 +00:00
Jaikiran Pai
635cb3c976 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions
Reviewed-by: alanb, dfuchs
2024-04-09 13:04:14 +00:00
Stefan Karlsson
5c9f03686d 8329858: G1: Make G1VerifyLiveAndRemSetClosure stateless
Reviewed-by: ayang, tschatzl
2024-04-09 12:32:17 +00:00
Stefan Karlsson
492b954f81 8329750: Change Universe functions to return more specific Klass* types
Reviewed-by: coleenp
2024-04-09 12:31:13 +00:00
Stefan Karlsson
87131fb2f7 8329629: GC interfaces should work directly against nmethod instead of CodeBlob
Reviewed-by: ayang, eosterlund
2024-04-09 12:27:55 +00:00
Albert Mingkun Yang
5ea21c3a61 8329878: Reduce public interface of CardTableBarrierSet
Reviewed-by: tschatzl
2024-04-09 12:26:52 +00:00
Alexey Ivanov
a48289ac30 8329761: Remove unused KeyBuilder and unusedSets from StyleContext
Reviewed-by: serb, tr
2024-04-09 11:40:10 +00:00
Adam Sotona
8907eda779 8325485: IncrementInstructions.of(int, int) is not storing the args
Reviewed-by: liach, jlahoda
2024-04-09 11:08:10 +00:00
Gui Cao
b9331cd25c 8329823: RISC-V: Need to sync CPU features with related JVM flags
Reviewed-by: fyang, rehn
2024-04-09 10:41:28 +00:00
Adam Sotona
71c5bbcec7 8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType
Reviewed-by: jlahoda
2024-04-09 09:35:07 +00:00
Jie Fu
58e39c1932 8329884: Serial: Fix build failure due to ‘Copy’ has not been declared
Reviewed-by: ayang
2024-04-09 08:47:30 +00:00
Adam Sotona
19a99d023e 8326744: Class-File API transition to Second Preview
Reviewed-by: jlahoda
2024-04-09 08:41:36 +00:00
Axel Boldt-Christmas
b4ddddeff1 8329840: Fix ZPhysicalMemorySegment::_end type
Reviewed-by: stefank, eosterlund
2024-04-09 08:11:04 +00:00
David Holmes
dfaf11a3d8 8329898: Revert one use of markWord.is_unlocked back to is_neutral
Reviewed-by: stefank
2024-04-09 07:40:45 +00:00
Jatin Bhateja
fbc1e6661e 8328181: C2: assert(MaxVectorSize >= 32) failed: vector length should be >= 32
Reviewed-by: kvn, vlivanov
2024-04-09 01:37:38 +00:00
Cesar Soares Lucas
a887fd2144 8316991: Reduce nullable allocation merges
Reviewed-by: kvn, vlivanov
2024-04-08 23:13:38 +00:00
Sean Mullan
e702646545 8200566: DistributionPointFetcher fails to fetch CRLs if the DistributionPoints field contains more than one DistributionPoint and the first one fails
Reviewed-by: weijun
2024-04-08 20:08:56 +00:00
vamsi-parasa
7e5ef79f95 8323116: [REDO] Computational test more than 2x slower when AVX instructions are used
Reviewed-by: sviswanathan, kvn
2024-04-08 18:41:32 +00:00
Albert Mingkun Yang
94677200fb 8329875: Serial: Move preservedMarks.inline.hpp to serialFullGC.cpp
Reviewed-by: stefank
2024-04-08 18:34:09 +00:00
Albert Mingkun Yang
a4dd2e9532 8329766: Serial: Refactor SerialBlockOffsetTable API
Reviewed-by: gli, iwalulya
2024-04-08 18:33:59 +00:00
Roger Riggs
212a253697 8329623: NegativeArraySizeException encoding large String to UTF-8
Reviewed-by: naoto, rgiulietti
2024-04-08 17:58:21 +00:00
Naoto Sato
dd930c573b 8329787: Fix typo in CLDRConverter
Reviewed-by: jlu, iris, lancea, bpb
2024-04-08 16:26:02 +00:00
Guoxiong Li
115f4193eb 8329659: Serial: Extract allowed_dead_ratio from ContiguousSpace
Reviewed-by: ayang, iwalulya
2024-04-08 16:10:07 +00:00
Albert Mingkun Yang
9ac3b77d0d 8329775: Serial: Remove unused declarations in serialFullGC.hpp
Reviewed-by: iwalulya
2024-04-08 15:55:53 +00:00
Alexey Ivanov
747582484c 8329510: Update ProblemList for JFileChooser/8194044/FileSystemRootTest.java
Reviewed-by: abhiscxk, dmarkov
2024-04-08 15:27:58 +00:00
Matias Saavedra Silva
6439375bb9 8329533: TestCDSVMCrash fails on libgraal
Reviewed-by: iklam, ccheung
2024-04-08 14:06:43 +00:00
Matthias Baesken
3ebf8c9359 8329663: hs_err file event log entry for thread adding/removing should print current thread
Reviewed-by: kevinw, rrich
2024-04-08 12:55:50 +00:00
Jan Lahoda
be45de1f93 8328627: JShell documentation should be clearer about "remote runtime system"
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-04-08 12:13:52 +00:00
Tobias Hartmann
8648890f86 8329749: Obsolete the unused UseNeon flag
Reviewed-by: chagedorn, kvn, aph
2024-04-08 11:35:49 +00:00
Christian Hagedorn
fc18201bbd 8327111: Replace remaining usage of create_bool_from_template_assertion_predicate() which requires additional OpaqueLoop*Nodes transformation strategies
Reviewed-by: epeter, kvn
2024-04-08 10:52:30 +00:00
Pavel Rappo
7c66465763 8325088: Overloads that differ in type parameters may be lost
Reviewed-by: jjg
2024-04-08 09:50:35 +00:00
Stefan Karlsson
6f087cbcd5 8328698: oopDesc::klass_raw() decodes without a null check
Reviewed-by: ayang, tschatzl
2024-04-08 09:29:40 +00:00
Tobias Hartmann
d1aad71209 8321204: C2: assert(false) failed: node should be in igvn hash table
Reviewed-by: chagedorn, kvn
2024-04-08 07:30:31 +00:00
Daniel Jeliński
51b0abc874 8329340: Remove unused libawt code
8315693: Remove WM_AWT_SET_SCROLL_INFO message

Reviewed-by: prr, aivanov
2024-04-08 04:30:03 +00:00
Gui Cao
3a3b77dd4f 8329641: RISC-V: Enable some tests related to SHA-2 instrinsic
Reviewed-by: fyang, rehn
2024-04-08 01:33:49 +00:00
Jaikiran Pai
d771ec6296 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions
6431396: Spec for SocketOptions.SO_BINDADDR incorrect

Reviewed-by: djelinski, alanb
2024-04-06 14:21:57 +00:00
Hamlin Li
49d8e63833 8329083: RISC-V: Update profiles supported on riscv
Reviewed-by: fyang
2024-04-06 06:23:20 +00:00
Ioi Lam
3d50eaa6ed 8329784: Run MaxMetaspaceSizeTest.java with -Xshare:off
Reviewed-by: ccheung, matsaave
2024-04-06 02:25:04 +00:00
Alisen Chung
862e615696 8198237: [macos] Test java/awt/Frame/ExceptionOnSetExtendedStateTest/ExceptionOnSetExtendedStateTest.java fails
Reviewed-by: gli, aivanov
2024-04-05 20:20:28 +00:00
Brian Burkhalter
040c93565c 8328183: Minor mistakes in docs of PrintStream.append()
Reviewed-by: iris, naoto
2024-04-05 16:08:16 +00:00
Jaikiran Pai
4a11db8b60 8329662: Add a test to verify the behaviour of the default HEAD() method on HttpRequest.Builder
Reviewed-by: dfuchs
2024-04-05 13:30:22 +00:00
Guoxiong Li
46d3d7b967 8329529: Serial: Move _saved_mark_word out of ContiguousSpace
Reviewed-by: ayang, iwalulya
2024-04-05 12:16:45 +00:00
Stefan Karlsson
29992e1fca 8329570: G1: Excessive is_obj_dead_cond calls in verification
Reviewed-by: aboldtch, shade, tschatzl, gli
2024-04-05 12:00:16 +00:00
Guoxiong Li
27353ad367 8329521: Serial: Rename MarkSweep to SerialFullGC
Reviewed-by: ayang, iwalulya
2024-04-05 11:15:14 +00:00
Albert Mingkun Yang
18c925cd33 8329661: Refactor ScavengableNMethods::verify_unlisted_nmethods
Reviewed-by: stefank, iwalulya
2024-04-05 09:59:09 +00:00
Magnus Ihse Bursie
3f4b167c97 8329672: Only call SetupNativeCompilation from SetupJdkNativeCompilation
Reviewed-by: erikj
2024-04-05 08:37:41 +00:00
Julian Waters
8bc1867da7 8307160: Fix AWT/2D/A11Y to support the permissive- flag on the Microsoft Visual C compiler
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: jwaters, prr
2024-04-05 08:19:35 +00:00
Aggelos Biboudis
8efe569b8d 8328747: WrongMethodTypeException with pattern matching on switch on sealed classes
Reviewed-by: cushon, vromero
2024-04-05 08:05:53 +00:00
Stefan Karlsson
71d48bcc3d 8329655: Cleanup KlassObj and klassOop names after the PermGen removal
Reviewed-by: rkennke, coleenp
2024-04-05 07:39:48 +00:00
Per Minborg
b71acc704a 8329089: Empty immutable list throws the wrong exception type for remove(first | last) operations
Reviewed-by: rriggs
2024-04-05 07:38:43 +00:00
Roberto Castañeda Lozano
1131bb77ec 8329261: G1: interpreter post-barrier x86 code asserts index size of wrong buffer
Reviewed-by: aboldtch, kbarrett
2024-04-05 07:33:14 +00:00
Christian Hagedorn
6bc6392d2b 8329201: C2: Replace TypeInterfaces::intersection_with() + eq() with contains()
Reviewed-by: kvn, roland
2024-04-05 06:56:54 +00:00
Emanuel Peter
9da5170a0e 8327978: C2 SuperWord: Fix compilation time regression in dependency graph traversal after JDK-8325651
Reviewed-by: chagedorn, kvn
2024-04-05 06:48:02 +00:00
Richard Reingruber
c1cfb43d8d 8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Reviewed-by: mbaesken, dholmes, ayang
2024-04-05 06:27:08 +00:00
Joe Darcy
5860a48c71 8329624: Add visitors for preview language features
Reviewed-by: vromero, jlahoda
2024-04-05 05:04:48 +00:00
David Holmes
0b01144ece 8329720: Gtest failure printing markword after JDK-8325303
Reviewed-by: mikael
2024-04-05 02:15:48 +00:00
David Holmes
34f7974a40 8325303: Replace markWord.is_neutral() with markWord.is_unlocked()
Reviewed-by: stefank, dcubed
2024-04-05 01:10:03 +00:00
David Holmes
27cfcef99f 8329651: TestLibGraal.java crashes with assert(_stack_base != nullptr)
Reviewed-by: stefank, dcubed
2024-04-05 00:29:06 +00:00
Mikael Vidstedt
e1183ac044 8329703: Remove unused apple.jpeg file from SwingSet2 demo
Reviewed-by: prr
2024-04-04 21:32:51 +00:00
Alex Menkov
12ad09a966 8322042: HeapDumper should perform merge on the current thread instead of VMThread
Reviewed-by: sspitsyn, kevinw
2024-04-04 21:30:50 +00:00
Archie Cobbs
d80d478182 8328649: Disallow enclosing instances for local classes in constructor prologues
Reviewed-by: vromero
2024-04-04 21:13:49 +00:00
Vladimir Kozlov
83eba863fe 8329332: Remove CompiledMethod and CodeBlobLayout classes
Reviewed-by: vlivanov, stefank
2024-04-04 19:48:48 +00:00
Viktor Klang
28216aa971 8328366: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501
Reviewed-by: mchung, alanb
2024-04-04 18:32:59 +00:00
Bradford Wetmore
4276d5c004 8329637: Apparent typo in java.security file property jdk.tls.keyLimits
Reviewed-by: ascarpino
2024-04-04 17:48:41 +00:00
Kevin Walls
6382a1290f 8326666: Remove the Java Management Extension (JMX) Subject Delegation feature
Reviewed-by: mchung, dfuchs
2024-04-04 16:54:11 +00:00
Kim Barrett
d90e5b5b9f 8329546: Assume sized integral types are available
Reviewed-by: iklam, jwaters
2024-04-04 16:45:32 +00:00
Fredrik Bredberg
f3db2796b8 8327410: Add hostname option for UL file names
Reviewed-by: jsjolen, dholmes
2024-04-04 15:28:46 +00:00
Coleen Phillimore
21867c929a 8313332: Simplify lazy jmethodID cache in InstanceKlass
Reviewed-by: amenkov, sspitsyn, dcubed
2024-04-04 13:15:12 +00:00
Ivan Walulya
b9da14012d 8329594: G1: Consistent Titles to Thread Work Items.
Reviewed-by: tschatzl, gli
2024-04-04 08:15:41 +00:00
Albert Mingkun Yang
a169c06361 8329580: Parallel: Remove VerifyObjectStartArray
Reviewed-by: tschatzl, gli
2024-04-04 08:03:52 +00:00
Matthias Baesken
8efd7aa6c1 8328786: [AIX] move some important warnings/errors from trcVerbose to UL
Reviewed-by: lucy, stuefe
2024-04-04 07:48:48 +00:00
Christian Hagedorn
f26e430899 8327110: Refactor create_bool_from_template_assertion_predicate() to separate class and fix identical cloning cases used for Loop Unswitching and Split If
Reviewed-by: epeter, kvn
2024-04-04 06:04:49 +00:00
Christian Hagedorn
e5e21a8a6e 8328702: C2: Crash during parsing because sub type check is not folded
Reviewed-by: roland, kvn
2024-04-04 06:02:35 +00:00
Emanuel Peter
f762637be2 8326962: C2 SuperWord: cache VPointer
Reviewed-by: chagedorn, kvn
2024-04-04 05:11:59 +00:00
Emanuel Peter
2931458711 8328938: C2 SuperWord: disable vectorization for large stride and scale
Reviewed-by: chagedorn, kvn
2024-04-04 05:01:30 +00:00
Guoxiong Li
41966885b9 8329494: Serial: Merge GenMarkSweep into MarkSweep
Reviewed-by: ihse, ayang, tschatzl
2024-04-04 03:42:12 +00:00
Ioi Lam
802018306f 8329470: Remove obsolete CDS SharedStrings tests
Reviewed-by: ccheung
2024-04-03 21:45:55 +00:00
Tomas Zezula
8267d6565d 8329564: [JVMCI] TranslatedException::debugPrintStackTrace does not work in the libjvmci compiler.
Reviewed-by: dnsimon
2024-04-03 20:10:50 +00:00
Matthew Donovan
16576b87b7 8328957: Update PKCS11Test.java to not use hardcoded path
Reviewed-by: mbalao, rhalade
2024-04-03 17:17:12 +00:00
Bill Huang
375bfac8e7 8327474: Review use of java.io.tmpdir in jdk tests
Reviewed-by: michaelm, jpai
2024-04-03 17:04:09 +00:00
Joe Darcy
233619b3fb 8329557: Fix statement around MathContext.DECIMAL128 rounding
Reviewed-by: bpb, iris, rgiulietti
2024-04-03 16:29:23 +00:00
Mikael Vidstedt
023f7f176b 8320799: Bump minimum boot jdk to JDK 22
Reviewed-by: iris, erikj, ihse
2024-04-03 16:25:55 +00:00
Vicente Romero
8dc43aa0fe 8325217: MethodSymbol.getModifiers() returns SEALED for restricted methods
Reviewed-by: jlahoda
2024-04-03 15:56:44 +00:00
Vicente Romero
1c691938e9 8328383: Method is not used: com.sun.tools.javac.comp.Attr::thisSym
Reviewed-by: jlahoda
2024-04-03 15:55:37 +00:00
Guoxiong Li
ee09801afd 8328352: Serial: Inline SerialBlockOffsetSharedArray
Reviewed-by: ayang, aboldtch
2024-04-03 15:22:01 +00:00
Coleen Phillimore
bea493bcb8 8236736: Change notproduct JVM flags to develop flags
Reviewed-by: iklam, kvn, kbarrett
2024-04-03 12:21:11 +00:00
Albert Mingkun Yang
80c54b484f 8328932: Parallel: Proper partial object setup in fill_dense_prefix_end
Reviewed-by: tschatzl, gli
2024-04-03 10:30:19 +00:00
Albert Mingkun Yang
d954f3bd0c 8329493: Parallel: Remove unused ParallelArguments::heap_max_size_bytes
Reviewed-by: sjohanss
2024-04-03 10:16:31 +00:00
Stefan Karlsson
bdd9438b45 8328647: TestGarbageCollectorMXBean.java fails with C1-only and -Xcomp
Reviewed-by: jiefu, tschatzl, lmesnik
2024-04-03 08:58:41 +00:00
Guoxiong Li
e3e6c2a899 8328278: Do not print the tenuring threshold in AgeTable::print_on
Reviewed-by: ayang, ysr
2024-04-03 07:49:56 +00:00
Fei Yang
16b842af8e 8329355: Test compiler/c2/irTests/TestIfMinMax.java fails on RISC-V
Reviewed-by: jkarthikeyan, thartmann, chagedorn
2024-04-03 07:39:24 +00:00
Daniel Lundén
92f5c0be8e 8323682: C2: guard check is not generated in Arrays.copyOfRange intrinsic when allocation is eliminated by EA
Reviewed-by: thartmann, kvn
2024-04-03 05:50:41 +00:00
Quan Zhang
866e7b6b77 8329174: update CodeBuffer layout in comment after constants section moved
Reviewed-by: kvn
2024-04-03 00:32:33 +00:00
Alex Menkov
f88f31dcbf 8328137: PreserveAllAnnotations can cause failure of class retransformation
Reviewed-by: coleenp, sspitsyn
2024-04-03 00:23:36 +00:00
Alisen Chung
021ed6aea9 8328648: Remove applet usage from JFileChooser tests bug4150029
Reviewed-by: dnguyen, abhiscxk, honkar
2024-04-02 23:36:05 +00:00
Volker Simonis
3057dded48 8329421: Native methods can not be selectively printed
Reviewed-by: kvn
2024-04-02 19:52:01 +00:00
Harshitha Onkar
db159149c1 8328753: Open source few Undecorated Frame tests
Reviewed-by: abhiscxk, dnguyen, prr, aivanov
2024-04-02 18:13:33 +00:00
Sean Coffey
925d82931c 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Reviewed-by: dfuchs, jpai
2024-04-02 17:32:31 +00:00
Brian Burkhalter
dd5d7d0770 8327002: (fs) java/nio/file/Files/CopyMoveVariations.java should be able to test across file systems
Reviewed-by: alanb
2024-04-02 17:13:04 +00:00
Guoxiong Li
6ae1cf12ce 8329368: Generational ZGC: Remove the unnecessary friend classes in ZAllocator
Reviewed-by: stefank, eosterlund
2024-04-02 15:08:12 +00:00
Renjith Kannath Pariyangad
7eb78e3320 8320676: Manual printer tests have no Pass/Fail buttons, instructions close set 1
Reviewed-by: honkar, achung, aivanov
2024-04-02 13:22:17 +00:00
Magnus Ihse Bursie
5ac067f6d6 8329289: Unify SetupJdkExecutable and SetupJdkLibrary
Reviewed-by: erikj
2024-04-02 13:15:56 +00:00
Magnus Ihse Bursie
5ae849d66f 8329292: Fix missing cleanups in java.management and jdk.management
Reviewed-by: erikj
2024-04-02 13:09:53 +00:00
Renjith Kannath Pariyangad
ed821cbe85 8324807: Manual printer tests have no Pass/Fail buttons, instructions close set 2
Reviewed-by: tr, achung, aivanov
2024-04-02 11:26:04 +00:00
Alexey Ivanov
5cf457b743 8329320: Simplify awt/print/PageFormat/NullPaper.java test
Reviewed-by: honkar, prr
2024-04-02 10:31:38 +00:00
Guoxiong Li
8b934aab14 8329358: Generational ZGC: Remove the unused method ZPointer::set_remset_bits
Reviewed-by: stefank, eosterlund
2024-04-02 10:14:04 +00:00
Sean Coffey
3b582dff84 8051959: Add thread and timestamp options to java.security.debug system property
Reviewed-by: mullan, weijun
2024-04-02 08:51:13 +00:00
Man Cao
816638e3be 8329352: Remove dead code in splashscreen_sys.c
Reviewed-by: jiefu, prr
2024-04-02 07:26:18 +00:00
Kim Barrett
3d2283800a 8328997: Remove unnecessary template parameter lists in GrowableArray
Reviewed-by: iwalulya, epeter
2024-04-02 06:57:43 +00:00
Emanuel Peter
5cddc2de49 8325252: C2 SuperWord: refactor the packset
Reviewed-by: chagedorn, kvn
2024-04-02 06:10:08 +00:00
Andrei Pangin
6b1b0e9d45 8329103: assert(!thread->in_asgct()) failed during multi-mode profiling
Reviewed-by: dholmes, sspitsyn
2024-04-02 04:30:26 +00:00
Phil Race
bc546c21a5 8328561: test java/awt/Robot/ManualInstructions/ManualInstructions.java isn't used
Reviewed-by: dnguyen, psadhukhan
2024-04-02 04:29:02 +00:00
Renjith Kannath Pariyangad
af7c6af0cc 8324808: Manual printer tests have no Pass/Fail buttons, instructions close set 3
Reviewed-by: tr, achung, aivanov
2024-04-02 04:28:50 +00:00
Ioi Lam
d3fc8df8af 8329135: Store Universe::*exception_instance() in CDS archive
Reviewed-by: vlivanov, ccheung
2024-04-02 01:54:28 +00:00
Jaikiran Pai
a85c8493ae 8328273: sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java failed with java.rmi.server.ExportException: Port already in use
Reviewed-by: dcubed
2024-04-02 01:14:35 +00:00
Serguei Spitsyn
70c8ff1c9a 8328665: serviceability/jvmti/vthread/PopFrameTest failed with a timeout
Reviewed-by: lmesnik, cjplummer
2024-04-01 23:37:07 +00:00
Jie Fu
ecd2b7112a 8329354: java/text/Format/MessageFormat/CompactSubFormats.java fails
Reviewed-by: jlu, naoto
2024-04-01 23:02:48 +00:00
Daniel D. Daugherty
c2979c150b 8329425: ProblemList containers/docker/TestJFREvents.java on linux-x64
8329426: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java with Xcomp on windows-x64
8329427: ProblemList javax/sound/sampled/Clip/ClipFlushCrash.java on linux-x64
8329428: ProblemList vmTestbase/nsk/stress/thread/thread006.java on linux-all in Xcomp

Reviewed-by: dholmes
2024-04-01 22:20:47 +00:00
Aleksey Shipilev
5698f7ad29 8329134: Reconsider TLAB zapping
Reviewed-by: stefank, rkennke
2024-04-01 17:27:10 +00:00
Aleksey Shipilev
4a14cba2f1 8329213: Better validation for com.sun.security.ocsp.useget option
Reviewed-by: mullan
2024-04-01 17:27:00 +00:00
Calvin Cheung
9f5464ee95 8329353: ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived
Reviewed-by: iklam
2024-04-01 17:03:48 +00:00
Prasanta Sadhukhan
3f5b75a5ef 8328541: Remove or update obsolete comment in JRootPane
Reviewed-by: aivanov, abhiscxk
2024-04-01 12:58:44 +00:00
Alisen Chung
1e76e1fdfa 8328403: Remove applet usage from JColorChooser tests Test6977726
Reviewed-by: tr, honkar
2024-04-01 06:22:11 +00:00
Magnus Ihse Bursie
9d052e9331 8329131: Fold libjli_static back into libjli on AIX
Reviewed-by: erikj, clanger
2024-03-31 11:15:49 +00:00
Volker Simonis
f2e5808b46 8329126: No native wrappers generated anymore with -XX:-TieredCompilation after JDK-8251462
Reviewed-by: kvn, iveresov, vlivanov
2024-03-30 12:47:51 +00:00
Ioi Lam
37c2279148 8329150: Remove CDS support for LatestMethodCache
Reviewed-by: coleenp, matsaave
2024-03-30 02:17:45 +00:00
Phil Race
20cb6e786f 8329337: Problem list BufferStrategyExceptionTest.java on Windows
Reviewed-by: dcubed, aivanov
2024-03-29 18:08:11 +00:00
Calvin Cheung
d1b51e39c9 8321550: Update several runtime/cds tests to use vm flags or mark as flagless
Reviewed-by: matsaave, iklam
2024-03-29 18:05:21 +00:00
Naoto Sato
8a0ef811ed 8326627: Document Double/Float.valueOf(String) behavior for numeric strings with non-ASCII digits
Reviewed-by: iris, jlu
2024-03-29 17:55:57 +00:00
Ioi Lam
5b05f8e0c4 8329112: Clean up CDS checking of unsupported module options
Reviewed-by: ccheung, matsaave
2024-03-29 16:01:54 +00:00
Weijun Wang
59c2aff1ed 8323624: ProviderList.ServiceList does not need to be a list
Reviewed-by: mullan
2024-03-29 15:23:26 +00:00
Guoxiong Li
418deaf5a1 8328361: Use memset() in method CardTable::dirty_MemRegion()
Reviewed-by: ayang, kbarrett
2024-03-29 10:42:00 +00:00
Raphael Jolly
245514da51 8328953: JEditorPane.read throws ChangedCharSetException
Reviewed-by: tr, aivanov
2024-03-29 10:07:14 +00:00
Julian Waters
df01cc528d 8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods
Reviewed-by: dholmes, kbarrett
2024-03-29 05:34:30 +00:00
Justin Lu
bf93e77e72 8329118: Run MessageFormat additional subformat pattern tests under en_US locale
Reviewed-by: naoto
2024-03-28 22:44:49 +00:00
Fredrik Bredberg
991e04e7d7 8327383: Clean up _Stalled and _Spinner fields
Reviewed-by: dholmes, coleenp
2024-03-28 20:15:36 +00:00
Eirik Bjørsnøs
4eefda9102 8327779: Remove deprecated internal field sun.security.x509.X509Key.key
Reviewed-by: mullan
2024-03-28 20:00:07 +00:00
Coleen Phillimore
341dd57fa1 8325883: Move Monitor Deflation reporting out of safepoint cleanup
Reviewed-by: eosterlund, dcubed
2024-03-28 19:30:55 +00:00
Damon Nguyen
7ac2f914aa 8329210: Delete Redundant Printer Dialog Modality Test
Reviewed-by: honkar, prr
2024-03-28 16:13:40 +00:00
Calvin Cheung
85cb4a9942 8247449: Revisit the argument processing logic for MetaspaceShared::disable_optimized_module_handling()
Reviewed-by: iklam, matsaave
2024-03-28 15:03:09 +00:00
Erik Österlund
aa595dbda4 8328507: Move StackWatermark code from safepoint cleanup
Reviewed-by: aboldtch, coleenp
2024-03-28 14:11:46 +00:00
Kevin Walls
2af0312c95 8328619: sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
Reviewed-by: lmesnik, dfuchs
2024-03-28 11:34:44 +00:00
Doug Simon
7c7b961e73 8329191: JVMCI compiler warning is truncated
Reviewed-by: never
2024-03-28 10:16:39 +00:00
Kevin Walls
2b79c22c43 8327505: Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails
Reviewed-by: lmesnik, stuefe
2024-03-28 09:06:41 +00:00
Thomas Stuefe
47f33a59ea 8327986: ASAN reports use-after-free in DirectivesParserTest.empty_object_vm
Reviewed-by: kvn, djelinski
2024-03-28 07:09:43 +00:00
Magnus Ihse Bursie
d580bcf956 8329178: Clean up jdk.accessibility native compilation
Reviewed-by: erikj, prr
2024-03-28 06:23:35 +00:00
Guoxiong Li
4fa77a2ad4 8329096: G1: Change the type of G1BlockOffsetTable::_offset_base to uint8_t*
Reviewed-by: ayang, tschatzl
2024-03-28 04:03:16 +00:00
Vladimir Kozlov
3eb1d05d85 8328986: Deprecate UseRTM* flags for removal
Co-authored-by: Roman Kennke <rkennke@openjdk.org>
Reviewed-by: vlivanov, sviswanathan, dholmes
2024-03-27 21:56:53 +00:00
Justin Lu
0cb0b5db2a 8327875: ChoiceFormat should advise throwing UnsupportedOperationException for unused methods
Reviewed-by: naoto
2024-03-27 21:13:28 +00:00
Alisen Chung
e3588bba04 8328819: Remove applet usage from JFileChooser tests bug6698013
Reviewed-by: honkar, tr, dnguyen
2024-03-27 19:19:51 +00:00
Alisen Chung
cc5b9c63cb 8328227: Remove applet usage from JColorChooser tests Test4887836
Reviewed-by: honkar, prr
2024-03-27 19:18:52 +00:00
Doug Simon
892b8bb6d1 8329189: runtime/stack/Stack016.java fails on libgraal
Reviewed-by: never
2024-03-27 17:47:38 +00:00
Roland Westrelin
05854fd704 8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()
Reviewed-by: chagedorn, kvn
2024-03-27 16:14:18 +00:00
Aleksey Shipilev
614db2ea9e 8328638: Fallback option for POST-only OCSP requests
Reviewed-by: mullan, rhalade
2024-03-27 14:44:50 +00:00
Magnus Ihse Bursie
d292aabf05 8329086: Clean up java.desktop native compilation
Reviewed-by: erikj
2024-03-27 14:44:40 +00:00
Hannes Wallnöfer
d0a265039a 8324774: Add DejaVu web fonts
8327385: Add JavaDoc option to exclude web fonts from generated documentation

Reviewed-by: ihse, jjg
2024-03-27 12:20:55 +00:00
Magnus Ihse Bursie
37a5a08378 8329102: Clean up jdk.jpackage native compilation
Reviewed-by: erikj
2024-03-27 10:30:58 +00:00
Albert Mingkun Yang
788d2bc40c 8329169: Parallel: Remove unused local variable in MutableSpace::print_on
Reviewed-by: tschatzl
2024-03-27 10:29:00 +00:00
Aggelos Biboudis
4dfcc6df17 8329115: Crash involving return from inner switch
Reviewed-by: jlahoda
2024-03-27 09:38:25 +00:00
Thomas Stuefe
9e566d76d1 8327971: Multiple ASAN errors reported for metaspace
8327988: When running ASAN, disable dangerous NMT test

Reviewed-by: jsjolen, rkennke
2024-03-27 08:36:40 +00:00
Alex Menkov
8fc9097b37 8315575: Retransform of record class with record component annotation fails with CFE
Reviewed-by: sspitsyn, coleenp
2024-03-26 23:54:28 +00:00
Daniel Fuchs
2725405ac9 8327991: Improve HttpClient documentation with regard to reclaiming resources
Reviewed-by: michaelm, jpai
2024-03-26 20:04:30 +00:00
Damon Nguyen
db01fcd6d8 8328827: Convert java/awt/print/PrinterJob/PrinterDialogsModalityTest/PrinterDialogsModalityTest.html applet test to main
Reviewed-by: prr, tr
2024-03-26 19:00:44 +00:00
Doug Simon
89e0889ab3 8328858: More runtime/stack tests fail intermittently on libgraal
Reviewed-by: dholmes, never
2024-03-26 17:36:18 +00:00
Matthias Baesken
153410f480 8328930: [AIX] remove pase related coding
Reviewed-by: clanger, lucy
2024-03-26 16:24:05 +00:00
Guoxiong Li
da8a095a19 8328928: Serial: Use IsGCActiveMark instead of AutoModifyRestore in SerialHeap::do_collection
Reviewed-by: ayang, tschatzl
2024-03-26 14:34:52 +00:00
Guoxiong Li
472fcb6e6e 8328508: Unify the signatures of the methods address_for_index() and index_for() in BOT implementations
Reviewed-by: ayang, tschatzl
2024-03-26 13:11:28 +00:00
Elif Aslan
cc1800fa4d 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Reviewed-by: gli, shade, rriggs
2024-03-26 11:47:53 +00:00
Matthias Baesken
b9c76dedf4 8329074: AIX build fails after JDK-8328824
Reviewed-by: clanger, goetz
2024-03-26 10:00:56 +00:00
Magnus Ihse Bursie
7b1f2c801f 8327493: Update minimum Xcode version in docs
Reviewed-by: clanger
2024-03-26 09:35:32 +00:00
Leo Korinth
9d441e3e56 8283223: gc/stringdedup/TestStringDeduplicationFullGC.java#Parallel failed with "RuntimeException: String verification failed"
Reviewed-by: tschatzl, kbarrett
2024-03-26 09:06:39 +00:00
Jie Fu
44549b605a 8329012: IGV: Update required JDK version in README.md
Reviewed-by: rcastanedalo
2024-03-26 06:01:06 +00:00
Koichi Sakata
5d19d15517 8325186: JVMTI VirtualThreadGetThreadStateClosure class is no longer used and should be removed
Reviewed-by: lmesnik, sspitsyn
2024-03-26 04:17:42 +00:00
Serguei Spitsyn
5f7432f7b1 8328758: GetCurrentContendedMonitor function should use JvmtiHandshake
Reviewed-by: lmesnik, pchilanomate
2024-03-26 02:21:47 +00:00
Alexander Zuev
7560dbb925 8316324: Opensource five miscellaneous Swing tests
Reviewed-by: prr
2024-03-26 01:02:20 +00:00
Damon Nguyen
4047a3623a 8328730: Convert java/awt/print/bug8023392/bug8023392.html applet test to main
Reviewed-by: prr, honkar
2024-03-25 23:51:31 +00:00
Damon Nguyen
27ac39a2bc 8328719: Convert java/awt/print/PageFormat/SetOrient.html applet test to main
Reviewed-by: psadhukhan, prr
2024-03-25 21:24:44 +00:00
Alexander Zvegintsev
fb8f2a0a92 8328562: Convert java/awt/InputMethods/DiacriticsTest/DiacriticsTest.java applet test to main
Reviewed-by: tr, prr
2024-03-25 18:59:28 +00:00
Aleksey Shipilev
447436e18c 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Reviewed-by: clanger, ihse
2024-03-25 18:15:45 +00:00
Alexander Zuev
c7cf602078 8328385: Convert java/awt/FileDialog/FileDialogReturnTest test to main
Reviewed-by: achung, prr
2024-03-25 17:17:33 +00:00
Alisen Chung
78d1b90468 8328380: Remove applet usage from JColorChooser tests Test6348456
Reviewed-by: honkar
2024-03-25 17:02:48 +00:00
Christoph Langer
907e30ff00 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Reviewed-by: dfuchs, aefimov
2024-03-25 16:31:52 +00:00
Rajan Halade
70a15c7363 8328825: Google CAInterop test failures
Reviewed-by: shade
2024-03-25 16:31:42 +00:00
Damon Nguyen
a1fbbffb5e 8328717: Convert javax/swing/JColorChooser/8065098/bug8065098.java applet test to main
Reviewed-by: honkar, tr
2024-03-25 16:00:14 +00:00
Magnus Ihse Bursie
26b2ec4847 8328824: Clean up java.base native compilation
Reviewed-by: erikj
2024-03-25 15:04:38 +00:00
Roland Westrelin
af15c68f3c 8321278: C2: Partial peeling fails with assert "last_peel <- first_not_peeled"
Reviewed-by: chagedorn, thartmann
2024-03-25 13:45:16 +00:00
Zhengyu Gu
142c311e3b 8328744: Parallel: Parallel GC throws OOM before heap is fully expanded
Reviewed-by: ayang, tschatzl
2024-03-25 13:04:07 +00:00
Roland Westrelin
cb2a671359 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks
Reviewed-by: kvn, chagedorn
2024-03-25 12:55:08 +00:00
Daniel Lundén
0c1b254be9 8326438: C2: assert(ld->in(1)->Opcode() == Op_LoadN) failed: Assumption invalid: input to DecodeN is not LoadN
Reviewed-by: kvn, rcastanedalo, thartmann
2024-03-25 12:04:44 +00:00
Aleksey Shipilev
29ba4b7d1e 8328705: GHA: Cross-compilation jobs do not require build JDK
Reviewed-by: erikj, ihse
2024-03-25 11:45:51 +00:00
Prasanta Sadhukhan
f67ec19e23 8079786: [macosx] Test java/awt/Frame/DisposeParentGC/DisposeParentGC.java fails for Mac only
Reviewed-by: prr
2024-03-25 10:11:43 +00:00
Per Minborg
93579c29e3 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Reviewed-by: mcimadamore
2024-03-25 09:37:24 +00:00
Matthias Baesken
b235682a18 8328709: AIX os::get_summary_cpu_info support Power 10
Reviewed-by: lucy, jkern
2024-03-25 09:21:04 +00:00
Raffaello Giulietti
19a0151a52 8328700: Unused import and variable should be deleted in regex package
Reviewed-by: redestad, rriggs, bpb, naoto, iris
2024-03-25 08:47:14 +00:00
Matthias Baesken
cf9b5a71bd 8328776: [AIX] remove checked_vmgetinfo, use vmgetinfo directly
Reviewed-by: clanger, lucy
2024-03-25 08:33:31 +00:00
Kim Barrett
acc4a82818 8328862: Remove unused GrowableArrayFilterIterator
Reviewed-by: dholmes
2024-03-25 07:07:47 +00:00
Jasmine Karthikeyan
9f920b9bbf 8324655: Identify integer minimum and maximum patterns created with if statements
Reviewed-by: epeter, qamai
2024-03-25 06:23:11 +00:00
Gui Cao
c7b9dc463a 8328404: RISC-V: Fix potential crash in C2_MacroAssembler::arrays_equals
Reviewed-by: fyang
2024-03-25 01:18:50 +00:00
Alex Menkov
bc73963974 8328303: 3 JDI tests timed out with UT enabled
Reviewed-by: cjplummer, sspitsyn, dcubed
2024-03-22 23:30:54 +00:00
Damon Nguyen
476421efe5 8328370: Convert java/awt/print/Dialog/PrintApplet.java applet test to main
Reviewed-by: honkar, psadhukhan
2024-03-22 23:09:12 +00:00
Sergey Bylokhov
c013fa1811 8328194: Add a test to check default rendering engine
Reviewed-by: prr, tr
2024-03-22 21:03:57 +00:00
Calvin Cheung
f33a8445eb 8325536: JVM crash during CDS archive creation with -XX:+AllowArchivingWithJavaAgent
Reviewed-by: iklam, matsaave
2024-03-22 20:15:13 +00:00
Zhengyu Gu
4324e3be9e 8328612: AdaptiveSizePolicySpaceOverheadTester::is_exceeded() print max_eden_size twice
Reviewed-by: ayang
2024-03-22 19:21:13 +00:00
Harshitha Onkar
c7bbf84929 8328190: Convert AWTPanelSmoothWheel.html applet test to main
Reviewed-by: azvegint, abhiscxk, aivanov
2024-03-22 17:31:10 +00:00
Phil Race
23ebd9c3c6 8328555: hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
Reviewed-by: aivanov
2024-03-22 17:17:06 +00:00
Nizar Benalla
4d932d615c 8326853: Missing @since tags for Charset related methods added in Java 10
Reviewed-by: jlu, naoto
2024-03-22 16:11:30 +00:00
Jesper Wilhelmsson
ce7ebaa606 8328812: Update and move siphash license
Reviewed-by: lfoltan
2024-03-22 16:00:52 +00:00
Alexander Zuev
b7a51dd0e8 8328382: Convert java/awt/FileDialog/FileDialogForPackages test to main
Reviewed-by: psadhukhan, azvegint
2024-03-22 15:52:52 +00:00
Alexander Zuev
739957ca1e 8328384: Convert java/awt/FileDialog/FileDialogOpenDirTest test to main
Reviewed-by: azvegint
2024-03-22 15:40:38 +00:00
Martin Balao
13cf0707f9 8328556: Do not extract large CKO_SECRET_KEY keys from the NSS Software Token
Reviewed-by: djelinski
2024-03-22 15:28:05 +00:00
Maurizio Cimadamore
709410d8a4 8328679: Improve comment for UNSAFE_ENTRY_SCOPED in unsafe.cpp
Reviewed-by: jvernee, dholmes
2024-03-22 15:09:27 +00:00
Aleksey Shipilev
f207aa94f9 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Reviewed-by: fyang, erikj
2024-03-22 14:12:37 +00:00
Magnus Ihse Bursie
e80619a032 8328680: Introduce JDK_LIB, and clean up module native compilation
Reviewed-by: erikj, jwaters
2024-03-22 14:12:26 +00:00
Alexander Zvegintsev
638708cad8 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization
Reviewed-by: kizune
2024-03-22 13:13:13 +00:00
Albert Mingkun Yang
e06b568c3c 8328602: Parallel: Incorrect assertion in fill_dense_prefix_end
Reviewed-by: gli, iwalulya
2024-03-22 12:08:56 +00:00
Abhishek Kumar
528efe206d 8328484: Convert and Opensource few JFileChooser applet test to main
Reviewed-by: psadhukhan, tr
2024-03-22 11:10:33 +00:00
Doug Simon
d379afbc11 8328312: runtime/stack/Stack0*.java fails intermittently on libgraal
Reviewed-by: lmesnik, dholmes
2024-03-22 10:57:20 +00:00
Prasanta Sadhukhan
cd534f8197 8328673: Convert closed text/html/CSS manual applet test to main
Reviewed-by: abhiscxk, aivanov
2024-03-22 10:25:13 +00:00
Abhishek Kumar
38e3cda442 8328670: Automate and open source few closed manual applet test
Reviewed-by: psadhukhan, tr
2024-03-22 09:46:08 +00:00
Joachim Kern
b334a8e5fc 8328272: [AIX] Use flag kind "diagnostic" for platform specific flags
Reviewed-by: mdoerr, stuefe
2024-03-22 09:27:09 +00:00
Guoxiong Li
e669d14d47 8328671: Mark allocate_new_tlab and unsafe_max_tlab_alloc of CollectedHeap as pure virtual
Reviewed-by: stefank, tschatzl
2024-03-22 08:43:45 +00:00
Matthias Baesken
940d1965f8 8328604: remove on_aix() function
Reviewed-by: clanger, stuefe
2024-03-22 07:09:37 +00:00
Prasadrao Koppula
d44aaa37f9 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Reviewed-by: djelinski, coffeys, jjiang, ascarpino
2024-03-22 07:02:37 +00:00
Christian Stein
9bc741d04f 8328339: Static import prevents source launcher from finding class with main method
Reviewed-by: jlahoda
2024-03-22 05:29:20 +00:00
Abhishek Kumar
256d48b196 8327980: Convert javax/swing/JToggleButton/4128979/bug4128979.java applet test to main
Reviewed-by: honkar, tr
2024-03-22 03:40:33 +00:00
Tejesh R
177b8a241c 8327840: Automate javax/swing/border/Test4129681.java
Reviewed-by: abhiscxk, prr
2024-03-22 03:21:35 +00:00
Koichi Sakata
da009214f1 8320404: Double whitespace in SubTypeCheckNode::dump_spec output
Reviewed-by: chagedorn, thartmann
2024-03-22 00:56:33 +00:00
Serguei Spitsyn
4d36c4adcc 8328285: GetOwnedMonitorInfo functions should use JvmtiHandshake
Reviewed-by: pchilanomate, lmesnik
2024-03-22 00:30:07 +00:00
Harshitha Onkar
0efd9dc09b 8328398: Convert java/awt/im/4490692/bug4490692.html applet test to main
Reviewed-by: achung, azvegint
2024-03-21 23:06:33 +00:00
Archie Cobbs
46809b396c 8324736: Invalid end positions for EMPTY_STATEMENT
Reviewed-by: vromero
2024-03-21 22:54:15 +00:00
Phil Race
f7f291c5d4 8328301: Convert Applet test ManualHTMLDataFlavorTest.java to main program
Reviewed-by: honkar
2024-03-21 22:48:06 +00:00
Leonid Mesnik
771f6a2f8e 8327704: Update nsk/jdi tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
2024-03-21 22:35:25 +00:00
Alexey Bakhtin
4210e507a0 8320362: Load anchor certificates from Keychain keystore
Reviewed-by: weijun, mullan
2024-03-21 22:28:02 +00:00
Phil Race
ab183e437c 8328642: Convert applet test MouseDraggedOutCauseScrollingTest.html to main
Reviewed-by: abhiscxk, azvegint
2024-03-21 20:07:58 +00:00
Viktor Klang
ab28045d77 8328316: Finisher cannot emit if stream is sequential and integrator returned false
Reviewed-by: psandoz
2024-03-21 19:20:01 +00:00
Damon Nguyen
ba05c6d0b6 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main
Reviewed-by: azvegint, aivanov
2024-03-21 17:55:23 +00:00
Phil Race
fa823bd21c 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Reviewed-by: abhiscxk, psadhukhan
2024-03-21 17:48:23 +00:00
Phil Race
e81374e050 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet
Reviewed-by: azvegint, abhiscxk
2024-03-21 17:47:19 +00:00
Damon Nguyen
cc5cda5587 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main
Reviewed-by: prr, abhiscxk
2024-03-21 16:33:39 +00:00
Damon Nguyen
ef2bd57213 8328558: Convert javax/swing/JCheckBox/8032667/bug8032667.java applet test to main
Reviewed-by: abhiscxk, psadhukhan, aivanov
2024-03-21 16:12:47 +00:00
Alexey Ivanov
e66788c165 8325179: Race in BasicDirectoryModel.validateFileCache
8238169: BasicDirectoryModel getDirectories and DoChangeContents.run can deadlock

Reviewed-by: prr, tr, aturbanov, serb
2024-03-21 16:03:30 +00:00
Alexey Ivanov
1496b5de90 8327924: Simplify TrayIconScalingTest.java
Reviewed-by: honkar, prr
2024-03-21 16:02:17 +00:00
Albert Mingkun Yang
16ed191329 8328101: Parallel: Obsolete ParallelOldDeadWoodLimiterMean and ParallelOldDeadWoodLimiterStdDev
Reviewed-by: tschatzl, iwalulya, sjohanss
2024-03-21 15:47:55 +00:00
Alexander Zvegintsev
581b1e29ae 8328402: Implement pausing functionality for the PassFailJFrame
Reviewed-by: aivanov, prr
2024-03-21 15:31:42 +00:00
Harshitha Onkar
75195aab49 8328299: Convert DnDFileGroupDescriptor.html applet test to main
Reviewed-by: psadhukhan, tr
2024-03-21 15:30:22 +00:00
Prasanta Sadhukhan
725d87bbc2 8328570: Convert closed JViewport manual applet tests to main
Reviewed-by: abhiscxk, kizune
2024-03-21 14:46:20 +00:00
Richard Reingruber
e41bc42deb 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync
Reviewed-by: dholmes, stuefe, mdoerr, tholenstein, aph
2024-03-21 14:09:42 +00:00
Alexander Zvegintsev
43080173e8 8328631: Convert java/awt/InputMethods/InputMethodsTest/InputMethodsTest.java applet test to manual
Reviewed-by: prr
2024-03-21 13:19:22 +00:00
Alexander Zvegintsev
700d2b91de 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated
Reviewed-by: abhiscxk, prr
2024-03-21 13:06:16 +00:00
Aleksey Shipilev
bb3e84bd1f 8328592: hprof tests fail with -XX:-CompactStrings
Reviewed-by: phh, lmesnik, amenkov
2024-03-21 12:36:14 +00:00
Jorn Vernee
ac2f8e5af8 8327994: Update code gen in CallGeneratorHelper
Reviewed-by: mcimadamore
2024-03-21 12:34:38 +00:00
Thomas Stuefe
c434b79cff 8327169: serviceability/dcmd/vm/SystemMapTest.java and SystemDumpMapTest.java may fail after JDK-8326586
Reviewed-by: jsjolen, mbaesken
2024-03-21 12:13:10 +00:00
Magnus Ihse Bursie
700679011e 8328628: JDK-8328157 incorrectly sets -MT on all compilers in jdk.jpackage
Reviewed-by: erikj, jwaters
2024-03-21 11:33:36 +00:00
Prasanta Sadhukhan
68170ae222 8328238: Convert few closed manual applet tests to main
Reviewed-by: tr, aivanov, prr
2024-03-21 11:25:27 +00:00
Renjith Kannath Pariyangad
9f5ad43358 8320675: PrinterJob/SecurityDialogTest.java hangs
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, tr
2024-03-21 10:29:19 +00:00
Sidraya Jayagond
684678f9e8 8328633: s390x: Improve vectorization of Match.sqrt() on floats
Reviewed-by: amitkumar, mdoerr
2024-03-21 08:51:10 +00:00
Matthias Baesken
93d1700f23 8328589: unify os::breakpoint among posix platforms
Reviewed-by: lucy, asteiner, dholmes
2024-03-21 08:16:50 +00:00
Aggelos Biboudis
a5a2eca155 8327683: Crash with primitive type pattern and generic expression in instanceof
Reviewed-by: vromero
2024-03-21 08:02:54 +00:00
Abhishek Kumar
65d9f119c4 8328328: Convert javax/swing/JTabbedPane/4666224/bug4666224.java applet test to main
Reviewed-by: honkar, tr
2024-03-21 07:30:48 +00:00
Tejesh R
481473efce 8328035: Convert javax/swing/text/html/TableView/7030332/bug7030332.java applet test to main
Reviewed-by: abhiscxk, prr
2024-03-21 05:27:10 +00:00
Phil Race
dea94f4445 8328300: Convert PrintDialogsTest.java from Applet to main program
Reviewed-by: psadhukhan, dnguyen
2024-03-20 23:17:08 +00:00
Weijun Wang
d32746ef4a 8296244: Alternate implementation of user-based authorization Subject APIs that doesn’t depend on Security Manager APIs
Reviewed-by: mullan
2024-03-20 21:25:41 +00:00
Daniel D. Daugherty
000f4d8d15 8319251: [REDO] Change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Reviewed-by: rkennke, dholmes
2024-03-20 19:59:13 +00:00
Harshitha Onkar
fbeac98c84 8328379: Convert URLDragTest.html applet test to main
Reviewed-by: abhiscxk, psadhukhan
2024-03-20 19:49:23 +00:00
Robert Toyonaga
96530bcc07 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Reviewed-by: egahlin
2024-03-20 19:42:56 +00:00
Harshitha Onkar
a112fc8bac 8328225: Convert ImageDecoratedDnD.html applet test to main
Reviewed-by: dnguyen, aivanov
2024-03-20 18:08:04 +00:00
Damon Nguyen
4e83f4cfc7 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main
Reviewed-by: azvegint, honkar
2024-03-20 16:25:41 +00:00
Archie Cobbs
d3f3011d56 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream
Reviewed-by: jpai
2024-03-20 15:01:30 +00:00
Alexander Zuev
e5e7cd20ec 8328386: Convert java/awt/FileDialog/FileNameOverrideTest test to main
Reviewed-by: azvegint
2024-03-20 13:48:11 +00:00
Alexander Zuev
1b68c731f2 8328377: Convert java/awt/Cursor/MultiResolutionCursorTest test to main
Reviewed-by: psadhukhan
2024-03-20 13:47:07 +00:00
Alexander Zuev
e0373e01fe 8328378: Convert java/awt/FileDialog/FileDialogForDirectories test to main
Reviewed-by: psadhukhan
2024-03-20 13:46:02 +00:00
Alexander Zuev
03c25b15eb 8328367: Convert java/awt/Component/UpdatingBootTime test to main
Reviewed-by: dnguyen, psadhukhan
2024-03-20 13:40:57 +00:00
Goetz Lindenmaier
eebcc2181f 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Reviewed-by: rriggs, mdoerr, sgehwolf
2024-03-20 07:20:49 +00:00
Tejesh R
a68f5d7331 8327879: Convert javax/swing/border/Test4760089.java applet test to main
Reviewed-by: abhiscxk, prr
2024-03-20 05:59:22 +00:00
Alexander Zvegintsev
269163d509 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main
Reviewed-by: honkar
2024-03-20 03:18:26 +00:00
Albert Mingkun Yang
7231fd78aa 8328350: G1: Remove DO_DISCOVERED_AND_DISCOVERY
Reviewed-by: tschatzl, gli
2024-03-19 18:48:16 +00:00
Harshitha Onkar
4f8f48654e 8328012: Convert InputMethod (/java/awt/im) applet tests to main
Reviewed-by: azvegint, tr
2024-03-19 17:55:17 +00:00
Hamlin Li
9ca4ae3d3b 8328264: AArch64: remove UseNeon condition in CRC32 intrinsic
Reviewed-by: aph
2024-03-19 17:23:07 +00:00
Eirik Bjørsnøs
9214a62f26 8328341: Remove deprecated per-thread compiler stats in sun.management
Reviewed-by: kevinw
2024-03-19 16:31:18 +00:00
Mandy Chung
132921683b 8328261: public lookup fails with IllegalAccessException when used while module system is being initialized
Reviewed-by: rriggs, alanb
2024-03-19 15:55:25 +00:00
Sonia Zaldana Calles
3b305d502b 8313306: More sensible memory reservation logging
Reviewed-by: dholmes, stuefe, coleenp
2024-03-19 15:35:25 +00:00
Pavel Rappo
f140eb4c3a 8297879: javadoc link to preview JEP 1000 has grouping character comma
Reviewed-by: jjg, vromero
2024-03-19 15:23:00 +00:00
Abhishek Kumar
5f2a92d954 8328244: Convert javax/swing/JSlider/6742358/bug6742358.java applet test to main
Reviewed-by: psadhukhan, tr
2024-03-19 15:06:42 +00:00
Alexander Zuev
2094ff3c7a 8328279: Convert java/awt/Cursor/CursorOverlappedPanelsTest test to main
Reviewed-by: honkar, abhiscxk
2024-03-19 13:52:17 +00:00
Guoxiong Li
db4842c9d9 8328364: Remove redundant fields in 'BOTConstants'
Reviewed-by: ayang, tschatzl
2024-03-19 13:38:28 +00:00
Abhishek Kumar
c01095c0c9 8328262: Convert javax/swing/JSplitPane/8132123/bug8132123.java applet test to main
Reviewed-by: psadhukhan, tr
2024-03-19 11:26:09 +00:00
Thomas Schatzl
f1c69ccadb 8289822: G1: Make concurrent mark code owner of TAMSes
Reviewed-by: ayang, iwalulya
2024-03-19 10:31:47 +00:00
Jan Lahoda
5b6b514441 8325362: Allow to create a simple in-memory input JavaFileObject
Reviewed-by: jlaskey, darcy
2024-03-19 09:35:25 +00:00
Per Minborg
c59c41aa6e 8326941: Remove StringUTF16::isBigEndian
Reviewed-by: rriggs
2024-03-19 08:46:51 +00:00
Serguei Spitsyn
6eea5d6755 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is
Reviewed-by: dholmes, alanb
2024-03-19 08:27:55 +00:00
Roland Westrelin
053ff76e14 8308660: C2 compilation hits 'node must be dead' assert
Reviewed-by: chagedorn, kvn
2024-03-19 07:57:53 +00:00
Roland Westrelin
e1b0af29e4 8323972: C2 compilation fails with assert(!x->as_Loop()->is_loop_nest_inner_loop()) failed: loop was transformed
Reviewed-by: chagedorn, epeter
2024-03-19 07:56:53 +00:00
Daniel Jeliński
c0fc9563a7 8328275: CodeCache::print_internals should not be called in PRODUCT code
Reviewed-by: ihse, jwaters, dholmes
2024-03-19 06:40:58 +00:00
Julian Waters
4ef591f71f 8326964: Remove Eclipse Shared Workspaces
Reviewed-by: erikj, ihse
2024-03-19 06:27:50 +00:00
Prasanta Sadhukhan
ac5b6cb2d4 8327757: Convert javax/swing/JSlider/6524424/bug6524424.java applet to main
Reviewed-by: abhiscxk, jdv
2024-03-19 06:22:58 +00:00
Tejesh R
652fb3aa48 8328154: Convert sun/java2d/loops/CopyAreaSpeed.java applet test to main
Reviewed-by: kizune, abhiscxk
2024-03-19 04:38:56 +00:00
John Jiang
9059727df1 8327182: Move serverAlias into the loop
Reviewed-by: gli, mullan
2024-03-19 02:03:13 +00:00
Jatin Bhateja
2dd5fba3bd 8319889: Vector API tests trigger VM crashes with -XX:+StressIncrementalInlining
Reviewed-by: vlivanov, sviswanathan
2024-03-19 01:14:06 +00:00
Alisen Chung
3f2e849c54 8280392: java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
Reviewed-by: tr, aivanov, prr
2024-03-18 19:57:24 +00:00
Kelvin Nilsen
c901da48e3 8327098: GTest needs larger combination limit
Reviewed-by: shade, phh
2024-03-18 17:53:37 +00:00
Jatin Bhateja
9e32db266e 8328309: Remove malformed masked shift instruction selection patterns
Reviewed-by: sviswanathan
2024-03-18 17:21:20 +00:00
Harshitha Onkar
fc0472baf9 8328000: Convert /java/awt/im/8154816/bug8154816.java applet test to main
Reviewed-by: tr, azvegint
2024-03-18 16:56:01 +00:00
Roger Riggs
85fc47c81a 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Reviewed-by: iris, stefank
2024-03-18 16:07:00 +00:00
Weijun Wang
569b05addf 8327818: Implement Kerberos debug with sun.security.util.Debug
Reviewed-by: coffeys, ssahoo
2024-03-18 15:36:28 +00:00
Leonid Mesnik
dec68d7e36 8328234: Remove unused nativeUtils files
Reviewed-by: dholmes
2024-03-18 14:45:36 +00:00
Coleen Phillimore
7734466c46 8325871: Move StringTable and SymbolTable rehashing calls
Reviewed-by: eosterlund, aboldtch
2024-03-18 14:42:03 +00:00
Magnus Ihse Bursie
9e98118f28 8328177: Move LDFLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk
Reviewed-by: erikj
2024-03-18 14:41:51 +00:00
Albert Mingkun Yang
f3af91815a 8327945: Inline HasScavengableOops
Reviewed-by: gli, aboldtch
2024-03-18 13:58:15 +00:00
Aggelos Biboudis
fb390d202c 8327839: Crash with unboxing and widening primitive conversion in switch
Reviewed-by: jlahoda
2024-03-18 13:16:29 +00:00
Abhishek Kumar
86f1744736 8328248: Convert javax/swing/JSlider/6587742/bug6587742.java applet test to main
Reviewed-by: azvegint, tr
2024-03-18 11:49:49 +00:00
Guoxiong Li
7baec66222 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Reviewed-by: shade, tschatzl
2024-03-18 11:27:27 +00:00
Magnus Ihse Bursie
c342188fd9 8328074: Add jcheck whitespace checking for assembly files
Reviewed-by: erikj, sviswanathan
2024-03-18 09:12:41 +00:00
Guoxiong Li
3c70f26b2f 8328112: Remove CardTable::_guard_region
Reviewed-by: tschatzl, ayang
2024-03-18 08:34:03 +00:00
Jan Lahoda
48717d63cc 8326333: jshell <TAB> completion on arrays is incomplete
Reviewed-by: vromero
2024-03-18 08:25:06 +00:00
Prasanta Sadhukhan
ece4124f25 8328247: Remove redundant dir for tests converted from applet to main
Reviewed-by: tr, jdv
2024-03-18 06:59:00 +00:00
Ioi Lam
d32ce65781 8327651: Rename DictionaryEntry members related to protection domain
Reviewed-by: coleenp, dholmes
2024-03-17 05:57:36 +00:00
Ioi Lam
07194195ce 8328236: module_entry in CDS map file has stale value
Reviewed-by: ccheung, matsaave
2024-03-16 05:16:32 +00:00
Harshitha Onkar
0204aacb03 8328115: Convert java/awt/font/TextLayout/TestJustification.html applet test to main
Reviewed-by: aivanov
2024-03-15 18:56:35 +00:00
Alexander Zvegintsev
9bc1b065db 8328242: Add a log area to the PassFailJFrame
Reviewed-by: prr, aivanov, honkar
2024-03-15 17:54:56 +00:00
Jonathan Gibbons
65a84c2642 8328006: refactor large anonymous inner class in HtmlDocletWriter
Reviewed-by: hannesw
2024-03-15 17:26:04 +00:00
Mandy Chung
044f4ed55d 8326979: (jdeps) improve the error message for FindException caused by InvalidModuleDescriptorException
Reviewed-by: jpai, alanb
2024-03-15 16:48:24 +00:00
Afshin Zafari
71f9c4e7fd 8320534: fatal error for the NMTBenchmark test run for the mainline build
Reviewed-by: stuefe, aboldtch
2024-03-15 14:52:15 +00:00
Magnus Ihse Bursie
bfba4894e1 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk
Reviewed-by: erikj
2024-03-15 14:36:57 +00:00
Magnus Ihse Bursie
42aec8c5e7 8328146: Set LIBCXX automatically
Reviewed-by: erikj
2024-03-15 13:23:37 +00:00
Guoxiong Li
90ab52e598 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Reviewed-by: shade, tschatzl
2024-03-15 13:06:14 +00:00
Jie Fu
bf990c8b32 8328269: NonFocusablePopupMenuTest.java should be marked as headful
Reviewed-by: azvegint
2024-03-15 12:40:26 +00:00
Thomas Stuefe
80b98c86b8 8320503: Print warning if VM reaches MallocLimit during error reporting
Reviewed-by: jsjolen
2024-03-15 12:25:22 +00:00
Jaikiran Pai
dde519dc21 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Reviewed-by: dfuchs, aph, msheppar
2024-03-15 12:00:32 +00:00
Roman Kennke
80ccc989a8 8328075: Shenandoah: Avoid forwarding when objects don't move in full-GC
Reviewed-by: wkemper, shade, kdnilsen, ysr
2024-03-15 11:08:21 +00:00
Abhishek Kumar
5249cc0a79 8328087: Automate javax/swing/JTable/TAB/TAB.java applet test
Reviewed-by: honkar, tr
2024-03-15 10:49:20 +00:00
Alexander Zuev
c05f8c7223 8316388: Opensource five Swing component related regression tests
Reviewed-by: aivanov
2024-03-15 09:13:32 +00:00
Alexander Zuev
b8dfeafdfd 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test
Reviewed-by: abhiscxk, honkar
2024-03-15 09:00:45 +00:00
Matthias Baesken
d57bdd85ab 8328165: improve assert(idx < _maxlrg) failed: oob
Reviewed-by: mdoerr, chagedorn
2024-03-15 08:11:17 +00:00
Christoph Langer
128e60a29f 8328037: Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
Reviewed-by: rgiulietti
2024-03-15 06:41:53 +00:00
Prasanta Sadhukhan
06f4b7f54d 8327756: Convert javax/swing/JSlider/4987336/bug4987336.java applet to main
Reviewed-by: prr
2024-03-15 05:44:11 +00:00
Phil Race
605800e5ab 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html
Reviewed-by: honkar, azvegint
2024-03-15 05:33:33 +00:00
Phil Race
09439374ed 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html
Reviewed-by: psadhukhan
2024-03-15 04:36:54 +00:00
Abhishek Kumar
f6390e5f80 8328089: Automate javax/swing/JTable/4222153/bug4222153.java applet test
Reviewed-by: honkar, tr
2024-03-15 04:14:53 +00:00
Alisen Chung
e8d1ba33b4 8328228: Missing comma in copyright year for a few JColorChooser tests
Reviewed-by: jpai
2024-03-15 00:34:37 +00:00
Alisen Chung
be1dd275a4 8328130: Remove applet usage from JColorChooser tests Test4759934
Reviewed-by: prr
2024-03-14 22:54:21 +00:00
Alisen Chung
fab0edc9e6 8328121: Remove applet usage from JColorChooser tests Test4759306
Reviewed-by: azvegint
2024-03-14 22:53:32 +00:00
Alisen Chung
7c6fd337d0 8327857: Remove applet usage from JColorChooser tests Test4222508
Reviewed-by: prr, tr
2024-03-14 22:53:18 +00:00
Alisen Chung
89fb0f837b 8327859: Remove applet usage from JColorChooser tests Test4319113
Reviewed-by: prr, tr
2024-03-14 22:53:08 +00:00
Alexander Zvegintsev
df909e2f9c 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main
Reviewed-by: honkar, aivanov
2024-03-14 21:42:00 +00:00
Phil Race
87bd6caca0 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program
Reviewed-by: honkar, abhiscxk
2024-03-14 19:21:10 +00:00
Alex Menkov
2482a505e5 8326898: NSK tests should listen on loopback addresses only
Reviewed-by: sspitsyn, cjplummer, dholmes, lmesnik
2024-03-14 18:03:14 +00:00
Doug Simon
e6a8fdd82c 8328135: javax/management/remote/mandatory/loading/MissingClassTest.java fails on libgraal
Reviewed-by: kevinw, never
2024-03-14 16:11:29 +00:00
Alexander Zvegintsev
7cc1965a25 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main
Reviewed-by: honkar, abhiscxk
2024-03-14 16:03:13 +00:00
Tejesh R
d4ec783108 8327873: Convert javax/swing/border/Test4247606.java applet test to main
Reviewed-by: prr, abhiscxk
2024-03-14 15:54:42 +00:00
Brian Burkhalter
debd59732d 8327095: (ch) java/nio/channels/AsyncCloseAndInterrupt.java: improve error message when mkfifo fails
Reviewed-by: alanb
2024-03-14 15:50:43 +00:00
Tejesh R
acfefc6c7a 8327876: Convert javax/swing/border/Test4252164.java applet test to main
Reviewed-by: prr, abhiscxk
2024-03-14 15:47:54 +00:00
Alexey Ivanov
0c3998d2c6 8286759: TextComponentPrintable: consequent -> consecutive positions
Reviewed-by: gli, prr
2024-03-14 15:46:37 +00:00
Alexander Zvegintsev
d25c452f0c 8327835: Convert java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest applet test to main
Reviewed-by: aivanov, abhiscxk
2024-03-14 15:45:22 +00:00
Tejesh R
759cc67591 8327969: Convert javax/swing/border/Test6910490.java applet test to main
Reviewed-by: dnguyen, honkar
2024-03-14 15:40:22 +00:00
Guoxiong Li
51381bb13c 8328139: Prefer 'override' to 'virtual' in subclasses of 'GCInitLogger'
Reviewed-by: kbarrett, jsjolen
2024-03-14 15:01:44 +00:00
Alexey Ivanov
792fc9d114 8320079: The ArabicBox.java test has no control buttons
Reviewed-by: prr, honkar, dmarkov
2024-03-14 14:01:33 +00:00
Chad Rakoczy
a232e8fb4e 8325621: Improve jspawnhelper version checks
Reviewed-by: erikj, shade, rriggs, ihse
2024-03-14 13:26:03 +00:00
Dmitry Chuyko
c879627dbd 8309271: A way to align already compiled methods with compiler directives
Reviewed-by: apangin, sspitsyn, tholenstein
2024-03-14 12:38:48 +00:00
Albert Mingkun Yang
954c50ed88 8327997: G1: Move G1ScanClosureBase::reference_iteration_mode to subclass
Reviewed-by: gli, tschatzl, sjohanss
2024-03-14 11:44:24 +00:00
Long Yang
6f8b0a33fa 8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Reviewed-by: egahlin
2024-03-14 11:25:06 +00:00
Hamlin Li
1d34b74a64 8321021: RISC-V: C2 VectorUCastB2X
8321023: RISC-V: C2 VectorUCastS2X
8321024: RISC-V: C2 VectorUCastI2X

Reviewed-by: fyang
2024-03-14 11:23:00 +00:00
Alexey Ivanov
3b9255eb66 8325851: Hide PassFailJFrame.Builder constructor
Reviewed-by: honkar, prr
2024-03-14 10:57:30 +00:00
Tejesh R
ad0f329493 8327787: Convert javax/swing/border/Test4129681.java applet test to main
Reviewed-by: aivanov, abhiscxk
2024-03-14 10:54:41 +00:00
Tejesh R
a43c3cc347 8327826: Convert javax/swing/border/Test4243289.java applet test to main
Reviewed-by: aivanov, abhiscxk
2024-03-14 10:50:06 +00:00
Alexander Zvegintsev
11a3673d42 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Reviewed-by: aivanov, honkar
2024-03-14 10:41:43 +00:00
Aleksey Shipilev
1281e18f14 8325613: CTW: Stale method cleanup requires GC after Sweeper removal
Reviewed-by: roland, chagedorn
2024-03-14 10:26:49 +00:00
Abhishek Kumar
49ce85fae9 8327874: Convert javax/swing/JTree/4314199/bug4314199.java applet test to main
Reviewed-by: prr, tr
2024-03-14 09:07:32 +00:00
Matthias Baesken
481c866df8 8327468: Do not restart close if errno is EINTR [macOS/linux]
Reviewed-by: dholmes, sspitsyn
2024-03-14 08:01:39 +00:00
Magnus Ihse Bursie
44aef38623 8327045: Consolidate -fvisibility=hidden as a basic flag for all compilation
Reviewed-by: erikj
2024-03-14 07:30:51 +00:00
Magnus Ihse Bursie
fcf746dede 8328106: COMPARE_BUILD improvements
Reviewed-by: erikj
2024-03-14 07:30:42 +00:00
Emanuel Peter
fadc4b197e 8327423: C2 remove_main_post_loops: check if main-loop belongs to pre-loop, not just assert
Reviewed-by: kvn, chagedorn, roland
2024-03-14 07:12:16 +00:00
Aggelos Biboudis
cff0747d7f 8326204: yield statements doesn't allow cast expressions with more than 1 type arguments
Reviewed-by: jlahoda
2024-03-14 07:01:32 +00:00
Yude Lin
6f2676dc5f 8328064: Remove obsolete comments in constantPool and metadataFactory
Reviewed-by: coleenp
2024-03-14 06:20:49 +00:00
Tejesh R
7502dc99bf 8328030: Convert javax/swing/text/GlyphView/4984669/bug4984669.java applet test to main
Reviewed-by: azvegint, prr
2024-03-14 05:10:42 +00:00
Guoxiong Li
357c912be5 8325897: Parallel: Remove PSYoungGen::is_maximal_no_gc
Reviewed-by: ayang
2024-03-14 03:24:50 +00:00
Prasanta Sadhukhan
98e4b753e8 8327755: Convert javax/swing/JScrollBar/8039464/Test8039464.java applet to main
Reviewed-by: prr
2024-03-14 02:51:37 +00:00
Prasanta Sadhukhan
628e770274 8327754: Convert javax/swing/JPopupMenu/7160604/bug7160604.java applet to main
Reviewed-by: prr
2024-03-14 02:50:32 +00:00
Prasanta Sadhukhan
092a7343a4 8327753: Convert javax/swing/JOptionPane/8024926/bug8024926.java applet to main
Reviewed-by: prr
2024-03-14 02:38:48 +00:00
Prasanta Sadhukhan
7858138ad2 8327752: Convert javax/swing/JOptionPane/4174551/bug4174551.java applet to main
Reviewed-by: prr
2024-03-14 02:32:15 +00:00
Phil Race
2edf4081af 8328004: Minor updates to TrayIcon test DisposeInActionEventTest.java
Reviewed-by: azvegint
2024-03-13 23:47:45 +00:00
Christoph Langer
1ad3ebcf11 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
Reviewed-by: aivanov, prr
2024-03-13 21:09:00 +00:00
Naoto Sato
7f6b7ebbcc 8327242: Document supported CLDR versions in the javadoc
Reviewed-by: joehw, iris, jlu
2024-03-13 20:27:28 +00:00
Daniel Jeliński
8f9899b23e 8325164: Named groups and signature schemes unavailable with SunPKCS11 in FIPS mode
Reviewed-by: valeriep
2024-03-13 19:09:52 +00:00
vamsi-parasa
eb45d5bd64 8327999: Remove copy of unused registers for cpu features check in x86_64 AVX2 Poly1305 implementation
Reviewed-by: jbhateja, sviswanathan
2024-03-13 18:34:34 +00:00
Matias Saavedra Silva
5cae7d20ad 8321299: runtime/logging/ClassLoadUnloadTest.java doesn't reliably trigger class unloading
Reviewed-by: coleenp, dholmes
2024-03-13 16:54:53 +00:00
Chen Liang
35b00e640b 8327824: Type annotation placed on incorrect array nesting levels
Reviewed-by: prappo
2024-03-13 16:45:15 +00:00
Thomas Stuefe
be344e442b 8327475: Add analysis code for JDK-8327169
Reviewed-by: mbaesken
2024-03-13 15:31:05 +00:00
Fredrik Bredberg
0db6231198 8314508: Improve how relativized pointers are printed by frame::describe
Reviewed-by: coleenp, pchilanomate
2024-03-13 15:15:03 +00:00
Hannes Wallnöfer
035324503f 8325874: Improve checkbox-based interface in summary pages
Reviewed-by: prappo
2024-03-13 15:13:35 +00:00
Magnus Ihse Bursie
4d64467444 8328079: JDK-8326583 broke ccache compilation
Reviewed-by: erikj, jwaters
2024-03-13 14:17:30 +00:00
Matias Saavedra Silva
7e05a70301 8251330: Reorder CDS archived heap to speed up relocation
Reviewed-by: iklam, ccheung
2024-03-13 14:00:59 +00:00
Christian Hagedorn
7d8561d56b 8327109: Refactor data graph cloning used in create_new_if_for_predicate() into separate class
Reviewed-by: epeter, thartmann
2024-03-13 13:58:47 +00:00
Abhishek Kumar
a4a5196351 8327872: Convert javax/swing/JToolTip/4644444/bug4644444.java applet test to main
Reviewed-by: prr, tr
2024-03-13 11:40:38 +00:00
Daniel Fuchs
da4dd7c008 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Reviewed-by: jpai, djelinski, gli
2024-03-13 11:22:40 +00:00
Ivan Walulya
49d8008947 8327452: G1: Improve scalability of Merge Log Buffers
Reviewed-by: kbarrett, tschatzl
2024-03-13 10:15:11 +00:00
Joachim Kern
0ae4fa71e4 8327210: AIX: Delete obsolete parameter Use64KPagesThreshold
Reviewed-by: gli, stuefe, mdoerr
2024-03-13 10:12:57 +00:00
Magnus Ihse Bursie
107cb536e7 8327701: Remove the xlc toolchain
Reviewed-by: jwaters, erikj
2024-03-13 08:42:12 +00:00
Roberto Castañeda Lozano
07acc0bbad 8326385: [aarch64] C2: lightweight locking nodes kill the box register without specifying this effect
Reviewed-by: aboldtch, dlong
2024-03-13 08:14:36 +00:00
Magnus Ihse Bursie
cc9a8aba67 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: erikj, jvernee, dholmes, alanb
2024-03-13 08:09:22 +00:00
Christian Stein
3b18c5dc5d 8323605: Java source launcher should not require --source ... to enable preview
Reviewed-by: mcimadamore, dholmes
2024-03-13 06:44:04 +00:00
Denghui Dong
5d4bfad12b 8327693: C1: LIRGenerator::_instruction_for_operand is only read by assertion code
Reviewed-by: gli, chagedorn
2024-03-13 00:00:21 +00:00
Doug Simon
f3d0c45cbb 8327829: [JVMCI] runtime/ClassUnload/ConstantPoolDependsTest.java fails on libgraal
Reviewed-by: dholmes, never
2024-03-12 22:40:04 +00:00
Justin Lu
d5b95a0ed3 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Reviewed-by: naoto, iris
2024-03-12 21:10:30 +00:00
Chris Plummer
966a42f9b3 8324868: debug agent does not properly handle interrupts of a virtual thread
Reviewed-by: sspitsyn, amenkov
2024-03-12 20:54:18 +00:00
Phil Race
22f10e045b 8327856: Convert applet test SpanishDiacriticsTest.java to a main program
Reviewed-by: dmarkov, aivanov
2024-03-12 18:27:23 +00:00
Alexander Zvegintsev
7283c8b075 8327972: Convert java/awt/FileDialog/SaveFileNameOverrideTest/SaveFileNameOverrideTest.html applet test to main
Reviewed-by: aivanov, prr
2024-03-12 18:24:38 +00:00
Alexander Zvegintsev
30249c4cca 8327838: Convert java/awt/FileDialog/MultipleMode/MultipleMode.html applet test to main
Reviewed-by: aivanov, tr
2024-03-12 18:23:15 +00:00
Brian Burkhalter
94b4ed5766 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Reviewed-by: djelinski
2024-03-12 18:06:45 +00:00
Eirik Bjørsnøs
b9c3dc3b47 8327738: Remove unused internal method sun.n.w.p.h.HttpURLConnection.setDefaultAuthenticator
Reviewed-by: djelinski, dfuchs
2024-03-12 17:38:59 +00:00
Eirik Bjørsnøs
5b41466275 8327729: Remove deprecated xxxObject methods from jdk.internal.misc.Unsafe
Reviewed-by: martin, alanb, mchung
2024-03-12 17:37:48 +00:00
Suchismith Roy
313e814bc9 8324682: Remove redefinition of NULL for XLC compiler
Reviewed-by: kbarrett, mbaesken
2024-03-12 17:19:49 +00:00
Magnus Ihse Bursie
8a3bdd5c4d 8327995: Remove unused Unused_Variable
Reviewed-by: kbarrett
2024-03-12 17:12:13 +00:00
Joe Darcy
201042fd96 8327487: Further augment WorstCaseTests with more cases
Reviewed-by: rgiulietti
2024-03-12 16:46:00 +00:00
Korov
379ad1fbb4 8312444: Delete unused parameters and variables in SocketPermission
Reviewed-by: gli, aturbanov, dfuchs
2024-03-12 15:55:19 +00:00
Prasanta Sadhukhan
782206bc97 8327748: Convert javax/swing/JFileChooser/6798062/bug6798062.java applet test to main
Reviewed-by: aivanov
2024-03-12 15:16:56 +00:00
Hamlin Li
0776fff0e3 8327794: RISC-V: enable extension features based on impid (Rivos specific change)
Reviewed-by: rehn, luhenry, gli, tonyp
2024-03-12 13:23:14 +00:00
Prasanta Sadhukhan
cfd9209e03 8327751: Convert javax/swing/JInternalFrame/6726866/bug6726866.java applet test to main
Reviewed-by: aivanov
2024-03-12 12:22:13 +00:00
Chen Liang
2cf35246e6 8325433: Type annotations on primitive types are not linked
Reviewed-by: gli, prappo
2024-03-12 12:12:39 +00:00
Roman Kennke
5056902e76 8327361: Update some comments after JDK-8139457
Reviewed-by: galder, shade
2024-03-12 12:07:56 +00:00
Prasanta Sadhukhan
78beb031c7 8327750: Convert javax/swing/JFileChooser/FileFilterDescription/FileFilterDescription.java applet test to main
Reviewed-by: aivanov
2024-03-12 10:45:42 +00:00
Dmitry Markov
1f43fa0f8b 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Reviewed-by: aivanov, serb
2024-03-12 10:09:02 +00:00
Prasanta Sadhukhan
013aff87ce 8326606: Test javax/swing/text/BoxView/6494356/bug6494356.java performs a synchronization on a value based class
Reviewed-by: tr, aivanov
2024-03-12 09:52:05 +00:00
Serguei Spitsyn
b92440f9b1 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage
Reviewed-by: dcubed, lmesnik
2024-03-12 08:55:28 +00:00
Maxim Kartashev
139681a7eb 8326497: Window.toFront() fails for iconified windows on Linux
Reviewed-by: tr, prr
2024-03-12 08:15:36 +00:00
Albert Mingkun Yang
9f7aff4e4c 8327788: G1: Improve concurrent reference processing documentation
Reviewed-by: kbarrett, gli
2024-03-12 08:08:20 +00:00
Emanuel Peter
251347bd7e 8326139: C2 SuperWord: split packs (match use/def packs, implemented, mutual independence)
Reviewed-by: kvn, vlivanov, chagedorn
2024-03-12 07:27:23 +00:00
SendaoYan
e21da4caac 8327486: java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
Reviewed-by: naoto
2024-03-12 01:38:20 +00:00
Gui Cao
4d6235ed11 8327716: RISC-V: Change type of vector_length param of several assembler functions from int to uint
Reviewed-by: fyang
2024-03-12 01:29:24 +00:00
Naoto Sato
586396cbb5 8327705: Remove mention of "applet" from java.text package description
Reviewed-by: bpb, rriggs, iris, jlu, gli, alanb
2024-03-11 21:23:08 +00:00
Calvin Cheung
41450e9405 8314250: CDS dump error message: Invoker type parameter must start and end with Object: L3I_L
Reviewed-by: iklam, matsaave
2024-03-11 20:49:20 +00:00
Chris Plummer
0a6e64e2f5 8327424: ProblemList serviceability/sa/TestJmapCore.java on all platforms with ZGC
Reviewed-by: gli, kevinw
2024-03-11 18:10:53 +00:00
Erik Gahlin
c65d308973 8327812: JFR: Remove debug message in Function.Maximum
Reviewed-by: gli, mgronlun
2024-03-11 17:06:09 +00:00
Doug Simon
b9bc31f720 8327790: Improve javadoc for ResolvedJavaType.hasFinalizableSubclass
Reviewed-by: gdub, never
2024-03-11 17:05:13 +00:00
vamsi-parasa
18de9321ce 8325991: Accelerate Poly1305 on x86_64 using AVX2 instructions
Reviewed-by: sviswanathan, jbhateja
2024-03-11 16:42:13 +00:00
Matias Saavedra Silva
d74b907d20 8327093: Add truncate function to BitMap API
Reviewed-by: aboldtch, iklam
2024-03-11 16:34:46 +00:00
Hai-May Chao
ffd43c922e 8327461: KeyStore getEntry is not thread-safe
Reviewed-by: djelinski, weijun
2024-03-11 16:33:17 +00:00
Hamlin Li
680ac2cebe 8327689: RISC-V: adjust test filters of zfh extension
Reviewed-by: fyang, gli
2024-03-11 12:13:06 +00:00
Viktor Klang
570ad67204 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out
Reviewed-by: jpai
2024-03-11 12:05:35 +00:00
Albert Mingkun Yang
63dd6d1ac5 8327387: G1: Refactor region liveness processing after completion of concurrent marking
Reviewed-by: gli, tschatzl
2024-03-11 09:41:35 +00:00
Daniel Jeliński
f2b5ffdb8e 8326578: Clean up networking properties documentation
Reviewed-by: jwaters, dfuchs, michaelm
2024-03-11 07:29:40 +00:00
Emanuel Peter
ca5ca85d24 8325651: C2 SuperWord: refactor the dependency graph
Reviewed-by: chagedorn, vlivanov
2024-03-11 07:12:15 +00:00
Jaikiran Pai
d451f818cf 8326381: com.sun.net.httpserver.HttpsParameters and SSLStreams incorrectly handle needClientAuth and wantClientAuth
Reviewed-by: djelinski
2024-03-10 13:48:14 +00:00
Andrew John Hughes
243cb098d4 8327389: Remove use of HOTSPOT_BUILD_USER
Reviewed-by: erikj, ihse
2024-03-09 13:30:36 +00:00
Jatin Bhateja
2d4c757e2e 8327041: Incorrect lane size references in avx512 instructions.
Reviewed-by: sviswanathan
2024-03-09 07:12:34 +00:00
Ioi Lam
761ed250ec 8327138: Clean up status management in cdsConfig.hpp and CDS.java
Reviewed-by: ccheung, matsaave
2024-03-09 03:48:38 +00:00
Alisen Chung
53628f2ea9 8327492: Remove applet usage and update DisposeInActionEventTest.html
Reviewed-by: dnguyen, tr, abhiscxk, honkar, aivanov
2024-03-09 01:20:28 +00:00
Elif Aslan
2627470946 8325567: jspawnhelper without args fails with segfault
Co-authored-by: Vladimir Petko <vpetko@openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko
2024-03-08 22:09:18 +00:00
Hannes Wallnöfer
a6dc4bc2b8 8326332: Unclosed inline tags cause misalignment in summary tables
Reviewed-by: gli, jjg
2024-03-08 20:59:00 +00:00
Serguei Spitsyn
33aa4b26b1 8256314: JVM TI GetCurrentContendedMonitor is implemented incorrectly
Reviewed-by: dholmes, lmesnik
2024-03-08 19:46:23 +00:00
Naoto Sato
87b40c6ad2 8327167: Clarify the handling of Leap year by Calendar
Reviewed-by: bpb, joehw, lancea, jlu, iris, rriggs
2024-03-08 18:38:39 +00:00
Justin Lu
6efdaf8ddf 8326908: DecimalFormat::toPattern throws OutOfMemoryError when pattern is empty string
Reviewed-by: naoto
2024-03-08 18:09:42 +00:00
Sean Mullan
c4845f01d2 8317431: Implement simpler Comparator when building certification paths
Reviewed-by: kdriver, weijun
2024-03-08 15:20:37 +00:00
Magnus Ihse Bursie
585a958441 8327675: jspawnhelper should be built on all unix platforms
Reviewed-by: shade, stuefe, erikj
2024-03-08 14:21:20 +00:00
Albert Mingkun Yang
06f7bb5a32 8327677: Parallel: Remove unused ParallelCompactData::clear
Reviewed-by: tschatzl
2024-03-08 13:42:37 +00:00
Coleen Phillimore
1877a48795 8308745: ObjArrayKlass::allocate_objArray_klass may call into java while holding a lock
Reviewed-by: dlong, dholmes, fparain
2024-03-08 13:27:54 +00:00
Joachim Kern
997e615c69 8322943: runtime/CompressedOops/CompressedClassPointers.java fails on AIX
Reviewed-by: gli, stuefe
2024-03-08 13:23:06 +00:00
Jan Lahoda
27a03e0dc3 8327218: Add an ability to specify modules which should have native access enabled
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, erikj, alanb, ihse
2024-03-08 11:21:24 +00:00
Eirik Bjørsnøs
d0d4912c3b 8326096: Deprecate getTotalIn, getTotalOut methods of java.util.zip.Inflater, java.util.zip.Deflater
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: lancea, alanb
2024-03-08 09:38:30 +00:00
Albert Mingkun Yang
c65da92a80 8327571: Parallel: Remove redundant operation in PSParallelCompact::clear_data_covering_space
Reviewed-by: gli, tschatzl
2024-03-08 09:38:18 +00:00
Albert Mingkun Yang
f9d479fe1e 8327477: Parallel: Remove _data_location and _highest_ref in ParallelCompactData
Reviewed-by: gli, tschatzl
2024-03-08 09:38:08 +00:00
Prajwal Kumaraswamy
bdd1aebea3 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Reviewed-by: coffeys
2024-03-08 09:04:16 +00:00
Matthias Baesken
fb4610e6b7 8327444: simplify RESTARTABLE macro usage in JDK codebase
Reviewed-by: gli, clanger, alanb, dholmes, bpb
2024-03-08 08:31:40 +00:00
Gui Cao
de428daf9a 8327426: RISC-V: Move alignment shim into initialize_header() in C1_MacroAssembler::allocate_array
Reviewed-by: fyang
2024-03-08 02:58:34 +00:00
yibo.yl
8dbd4b391f 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate
Reviewed-by: mgronlun, egahlin
2024-03-08 01:59:30 +00:00
vamsi-parasa
7c5e6e74c8 8327147: Improve performance of Math ceil, floor, and rint for x86
Reviewed-by: jbhateja, sviswanathan, dlong
2024-03-07 21:44:46 +00:00
Leonid Mesnik
972e81d1ad 8326611: Clean up vmTestbase/nsk/stress/stack tests
Reviewed-by: coleenp, mseledtsov
2024-03-07 20:09:13 +00:00
Evgeny Nikitin
5aae80304c 8327390: JitTester: Implement temporary folder functionality
Reviewed-by: gli, lmesnik
2024-03-07 17:12:06 +00:00
Thomas Schatzl
784f11c35d 8327238: Remove MetadataAllocationFailALot* develop flags
Reviewed-by: gli, ayang
2024-03-07 14:00:05 +00:00
Hamlin Li
d7273ac8b1 8320646: RISC-V: C2 VectorCastHF2F
8320647: RISC-V: C2 VectorCastF2HF

Reviewed-by: luhenry, fyang
2024-03-07 12:21:23 +00:00
Viktor Klang
53c4714aab 8327501: Common ForkJoinPool prevents class unloading in some cases
Reviewed-by: alanb
2024-03-07 09:44:35 +00:00
Gui Cao
1261740521 8327283: RISC-V: Minimal build failed after JDK-8319716
Reviewed-by: fyang, rehn
2024-03-07 09:13:50 +00:00
Emanuel Peter
f54e598354 8327172: C2 SuperWord: data node in loop has no input in loop: replace assert with bailout
Reviewed-by: chagedorn, kvn
2024-03-07 07:48:38 +00:00
Denghui Dong
401834122d 8327379: Make TimeLinearScan a develop flag
Reviewed-by: gli, kvn
2024-03-07 02:57:28 +00:00
Naoto Sato
1bd4abf98e 8327434: Test java/util/PluggableLocale/TimeZoneNameProviderTest.java timed out
Reviewed-by: jlu, rriggs, iris
2024-03-07 00:52:36 +00:00
Chris Plummer
ddcd6dece9 8325532: serviceability/dcmd/compiler/PerfMapTest.java leaves created files in the /tmp dir.
Reviewed-by: amenkov, kevinw, lmesnik, sspitsyn
2024-03-07 00:01:50 +00:00
Kim Barrett
3d37b28642 8327173: HotSpot Style Guide needs update regarding nullptr vs NULL
Reviewed-by: shade, dholmes, kvn
2024-03-06 22:42:18 +00:00
Kim Barrett
989fc3e6ea 8325878: Require minimum Clang version 13
Reviewed-by: jwaters, ihse
2024-03-06 20:17:11 +00:00
Kim Barrett
13c74535de 8325880: Require minimum Open XL C/C++ version 17.1.1
Reviewed-by: mdoerr, jwaters, ihse
2024-03-06 20:00:12 +00:00
Chad Rakoczy
4f336085d1 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677
Reviewed-by: rgiulietti
2024-03-06 19:55:29 +00:00
Kuai Wei
e92ecd9703 8326983: Unused operands reported after JDK-8326135
Reviewed-by: kvn, vlivanov
2024-03-06 17:02:05 +00:00
Naoto Sato
9f7094079b 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Reviewed-by: darcy, gli, joehw, jlu, bpb, lancea
2024-03-06 16:15:23 +00:00
Albert Mingkun Yang
08b03a329f 8327376: Parallel: Remove unimplemented methods in psParallelCompact.hpp
Reviewed-by: gli, tschatzl
2024-03-06 14:31:20 +00:00
Albert Mingkun Yang
ae5e3fdd59 8327365: Inline and remove GCStats
Reviewed-by: gli, tschatzl
2024-03-06 13:04:38 +00:00
Thomas Schatzl
326c91e1a2 8327288: Obsolete unused ProcessDistributionStride product option
Reviewed-by: kbarrett, ayang
2024-03-06 12:28:36 +00:00
Jim Laskey
a7461de231 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Reviewed-by: rriggs, liach
2024-03-06 12:01:10 +00:00
Thomas Schatzl
2bdd38716c 8327286: Obsolete unused NUMAPageScanRate product option
Reviewed-by: kbarrett, ayang
2024-03-06 11:50:05 +00:00
Thomas Schatzl
992104d477 8327239: Obsolete unused GCLockerEdenExpansionPercent product option
Reviewed-by: gli, ayang
2024-03-06 11:35:23 +00:00
Joshua Cao
fbb422ece7 8327201: C2: Uninitialized VLoop::_pre_loop_end after JDK-8324890
Reviewed-by: chagedorn, shade
2024-03-06 09:18:52 +00:00
Doug Simon
7d53559d2f 8319932: [JVMCI] class unloading related tests can fail on libgraal
Reviewed-by: dholmes
2024-03-06 09:04:31 +00:00
Adam Sotona
bee50cd330 8294961: Convert java.base/java.lang.reflect.ProxyGenerator to use the Classfile API to generate proxy classes
Reviewed-by: mchung
2024-03-06 06:15:10 +00:00
Abhishek Kumar
96bfe613c3 8326458: Menu mnemonics don't toggle in Windows LAF when F10 is pressed
Reviewed-by: psadhukhan, aivanov
2024-03-06 05:29:42 +00:00
Jesper Wilhelmsson
fcf48ab3d3 8327391: Add SipHash attribution file
Reviewed-by: dholmes, lfoltan
2024-03-05 23:02:14 +00:00
Justin Lu
b665fe3ac1 6801704: ChoiceFormat::applyPattern inconsistency for invalid patterns
Reviewed-by: naoto
2024-03-05 22:37:58 +00:00
Weijun Wang
a7280d1b96 8311002: missing @since info in 21 files in jdk.security.auth
Reviewed-by: mullan
2024-03-05 20:32:33 +00:00
Erik Joelsson
721bfee53a 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Reviewed-by: ihse, dholmes
2024-03-05 20:31:17 +00:00
Naoto Sato
809995b526 8174269: Remove COMPAT locale data provider from JDK
Reviewed-by: ihse, joehw
2024-03-05 19:32:29 +00:00
Ludvig Janiuk
c6641c7d2d 8326831: Clarify test harness control variables in make help
Reviewed-by: erikj, gli, ihse
2024-03-05 16:24:54 +00:00
Matthias Baesken
3d106cb091 8325139: JFR SwapSpace event - add free swap space information on Linux when running in a container environment
Reviewed-by: lucy, sgehwolf
2024-03-05 15:34:27 +00:00
Albert Mingkun Yang
c00c939f99 8327364: Parallel: Remove unused ParallelCompactData::add_obj
Reviewed-by: kbarrett
2024-03-05 14:54:55 +00:00
Emanuel Peter
98f0b86641 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug"
Co-authored-by: Fei Gao <fgao@openjdk.org>
Reviewed-by: aph, kvn, gli
2024-03-05 13:37:08 +00:00
Jorn Vernee
2372aba6a2 8326172: Dubious claim on long[]/double[] alignment in MemorySegment javadoc
Reviewed-by: mcimadamore
2024-03-05 13:32:24 +00:00
Claes Redestad
c653e67c0f 8327225: Revert DataInputStream.readUTF to static final
Reviewed-by: rriggs, bpb, gli
2024-03-05 13:31:08 +00:00
MaxXSoft
a089ed2b92 8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations
Reviewed-by: fyang, rehn
2024-03-05 11:42:37 +00:00
Thomas Schatzl
560cf59626 8327287: Remove unused FLSVerifyDictionary debug option
Reviewed-by: ayang, kbarrett
2024-03-05 11:31:45 +00:00
Albert Mingkun Yang
fec51d4c46 8327130: Serial: Remove Generation::record_spaces_top
Reviewed-by: gli, kbarrett
2024-03-05 11:18:09 +00:00
Eirik Bjørsnøs
e9adcebaf2 8327208: Remove unused method java.util.jar.Manifest.make72Safe
Reviewed-by: lancea, iris, jpai
2024-03-05 08:39:43 +00:00
Kim Barrett
d6f2a174fc 8325881: Require minimum gcc version 10
Reviewed-by: ihse, shade
2024-03-05 07:16:34 +00:00
Roberto Castañeda Lozano
0b959098be 8327224: G1: comment in G1BarrierSetC2::post_barrier() refers to nonexistent new_deferred_store_barrier()
Reviewed-by: kbarrett
2024-03-05 06:56:49 +00:00
Emanuel Peter
c589555845 8325095: C2: bailout message broken: ResourceArea allocated string used after free
Reviewed-by: kvn, dlong
2024-03-05 06:35:32 +00:00
Prasanta Sadhukhan
b7540df6a4 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Reviewed-by: prr
2024-03-05 02:34:58 +00:00
Gui Cao
e1b661f8c1 8319900: Recursive lightweight locking: riscv64 implementation
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: fyang
2024-03-05 02:04:21 +00:00
Albert Mingkun Yang
045eea1130 8327057: Parallel: Refactor ParMarkBitMap::iterate
Reviewed-by: tschatzl, iwalulya
2024-03-04 18:50:45 +00:00
Naoto Sato
f615ac4bdf 8309622: Re-examine the cache mechanism in BaseLocale
Reviewed-by: dfuchs, rriggs
2024-03-04 18:40:50 +00:00
Albert Mingkun Yang
6f8d351e86 8325725: Parallel: Refactor PSParallelCompact::fill_dense_prefix_end
Reviewed-by: tschatzl, iwalulya
2024-03-04 17:54:45 +00:00
Elif Aslan
8cfacebd06 8327125: SpinYield.report should report microseconds
Reviewed-by: gli, dholmes, shade
2024-03-04 17:50:42 +00:00
Albert Mingkun Yang
59529a92ca 8326688: Parallel: Remove unnecessary BOT update in UpdateOnlyClosure::do_addr
Reviewed-by: tschatzl, iwalulya
2024-03-04 16:47:14 +00:00
Christoph Langer
43c6f0b588 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Reviewed-by: mbaesken
2024-03-04 16:32:48 +00:00
Axel Boldt-Christmas
b5cd7efceb 8319901: Recursive lightweight locking: ppc64le implementation
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: mdoerr, rrich
2024-03-04 16:01:08 +00:00
Adam Sotona
0583f73574 8323183: ClassFile API performance improvements
Reviewed-by: redestad
2024-03-04 15:26:27 +00:00
Ivan Walulya
b69d1b51c7 8327042: G1: Parallelism used for redirty logged cards needs better control.
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, ayang
2024-03-04 15:17:57 +00:00
Arno Zeller
e889b460c0 8327071: [Testbug] g-tests for cgroup leave files in /tmp on linux
Reviewed-by: mbaesken, gli, stuefe
2024-03-04 08:40:50 +00:00
Afshin Zafari
7c71f188a3 8324829: Uniform use of synchronizations in NMT
Reviewed-by: stuefe, jsjolen
2024-03-04 08:18:27 +00:00
Kim Barrett
97dc0edde0 8327171: Fix more NULL usage backsliding
Reviewed-by: gli, jwaters, dholmes
2024-03-04 08:06:20 +00:00
Matthias Baesken
f3b15abcb7 8327059: os::Linux::print_proc_sys_info add swappiness information
Reviewed-by: mdoerr, dholmes
2024-03-04 07:40:01 +00:00
Gilles Duboscq
31ac8714e0 8326692: JVMCI Local.endBci is off-by-one
Reviewed-by: dnsimon, never, gli
2024-03-03 11:05:33 +00:00
Thomas Stuefe
37e01efb78 8326586: Improve Speed of System.map
Reviewed-by: jsjolen, gziemski
2024-03-02 08:13:07 +00:00
Joe Wang
a3d51d2027 8326915: NPE when a validating parser is restricted
Reviewed-by: lancea, naoto
2024-03-02 04:46:03 +00:00
Y. Srinivas Ramakrishna
f62f2adbc3 8325671: Shenandoah: Introduce a ShenandoahGenerationType and templatize certain marking closures with it
In support of eventually supporting a generational version of Shenandoah, we introduce a ShenandoahGenerationType enum which currently has a single NON_GEN value for Shenandoah. The generational extension of Shenandoah will introduce additional enum values when GenShen is integrated. These will be used to specialize certain marking closures via templatization, such that suitable variations of the marking (and in the future other) closures can be used for the generational and non-generational variants of the collector while minimizing interference between the two variants while maximizing code-sharing without affecting correctness or performance.

This ticket introduces the new enum type and templatizes certain existing marking closures.

In effect, this should be semantically a no-op for current (non-generational) Shenandoah and ideally completely performance-neutral (to be established via measurements).

**Testing:**
- [x] jtreg hotspot_gc
- [x] github actions
- [ ] codepipeline perf & stress: in progress

**Performance:**
- [ ] specjbb w/shenandoah
- [ ] codepipeline perf: in progress

Reviewed-by: kdnilsen, shade
2024-03-02 02:02:09 +00:00
Jaikiran Pai
f68a4b9fc4 8327105: compiler.compilercontrol.share.scenario.Executor should listen on loopback address only
Reviewed-by: chagedorn, kvn
2024-03-02 01:45:36 +00:00
Jaikiran Pai
a9c17a22ca 8327108: compiler.lib.ir_framework.shared.TestFrameworkSocket should listen on loopback address only
Reviewed-by: chagedorn, kvn
2024-03-02 01:44:25 +00:00
Joe Darcy
7f02f07f75 8316708: Augment WorstCaseTests with more cases
Reviewed-by: rgiulietti
2024-03-01 19:30:35 +00:00
Doug Simon
8f0fb27dec 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Reviewed-by: never, kevinw
2024-03-01 18:54:50 +00:00
Magnus Ihse Bursie
b38a6c5780 8327049: Only export debug.cpp functions on Windows
Reviewed-by: jwaters, dholmes, epeter
2024-03-01 15:09:03 +00:00
Albert Mingkun Yang
acc0a7436f 8327126: Parallel: Remove unused ParMarkBitMapClosure::_initial_words_remaining
Reviewed-by: tschatzl
2024-03-01 14:28:02 +00:00
Pavel Rappo
012411ad8d 8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order
Reviewed-by: alanb, gli
2024-03-01 13:48:50 +00:00
Albert Mingkun Yang
98434d6105 8322170: Update deprecated/obsolete/expired flags table for GC
Co-authored-by: Lei Zaakjyu <leiz@openjdk.org>
Reviewed-by: dholmes, tschatzl
2024-03-01 13:45:57 +00:00
Hamlin Li
c02e7f4bb5 8327058: RISC-V: make Zcb experimental
Reviewed-by: fyang, gli
2024-03-01 13:33:01 +00:00
Andrew Haley
b972997af7 8326974: ODR violation in macroAssembler_aarch64.cpp
Reviewed-by: adinn, shade, gli
2024-03-01 12:39:22 +00:00
Matthew Donovan
437cf354e2 8319648: java/lang/SecurityManager tests ignore vm flags
Reviewed-by: mullan
2024-03-01 12:23:17 +00:00
Korov
e85265abc2 8325361: Make sun.net.www.MessageHeader final
Reviewed-by: dfuchs
2024-03-01 10:58:59 +00:00
Thomas Schatzl
5b75199769 8327022: Parallel: Remove experimental dense prefix calculation
Reviewed-by: shade, ayang, gli
2024-03-01 10:51:26 +00:00
Matthias Baesken
a065eba56d 8326496: [test] checkHsErrFileContent support printing hserr in error case
Reviewed-by: clanger, lucy
2024-03-01 07:37:43 +00:00
Richard Reingruber
0899b3b5e5 8326612: Parallel: remove redundant assertion from ScavengeRootsTask
Reviewed-by: tschatzl, ayang
2024-03-01 07:12:05 +00:00
Joshua Cao
12404a5efb 8324790: ifnode::fold_compares_helper cleanup
Reviewed-by: chagedorn, epeter
2024-03-01 05:35:33 +00:00
Prasanta Sadhukhan
0d35450362 8327040: Problemlist ActionListenerCalledTwiceTest.java test failing in macos14
Reviewed-by: prr, gli
2024-03-01 03:09:54 +00:00
Denghui Dong
8d6f7849ff 8327056: Remove unused static char array in JvmtiAgentList::lookup
Reviewed-by: amenkov, sspitsyn
2024-02-29 23:46:42 +00:00
Doug Simon
43af12039f 8326959: Improve JVMCI option help
Reviewed-by: never
2024-02-29 22:11:05 +00:00
Vladimir Kozlov
742c776a92 8322743: C2: prevent lock region elimination in OSR compilation
Reviewed-by: epeter, dlong, vlivanov
2024-02-29 20:20:46 +00:00
Erik Gahlin
d29cefb6eb 8326838: JFR: Native mirror events
Reviewed-by: mgronlun
2024-02-29 20:18:17 +00:00
Alex Menkov
b8fc4186d5 8326525: com/sun/tools/attach/BasicTests.java does not verify AgentLoadException case
Reviewed-by: cjplummer, lmesnik, sspitsyn
2024-02-29 17:51:10 +00:00
Elif Aslan
d9aa1deac8 8318605: Enable parallelism in vmTestbase/nsk/stress/stack tests
Reviewed-by: gli, shade, lmesnik
2024-02-29 16:56:16 +00:00
Brian Burkhalter
bbfda6599a 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support
Reviewed-by: gli, alanb
2024-02-29 16:47:14 +00:00
Brian Burkhalter
db0e2b8faf 8326944: (ch) Minor typo in the ScatteringByteChannel.read(ByteBuffer[] dsts,int offset,int length) javadoc
Reviewed-by: naoto, iris, coffeys, gli
2024-02-29 16:47:04 +00:00
Albert Mingkun Yang
8f6edd8dc8 8326975: Parallel: Remove redundant PSOldGen::is_allocated
Reviewed-by: gli, tschatzl
2024-02-29 14:36:44 +00:00
Matthew Donovan
430290066c 8319673: Few security tests ignore VM flags
Reviewed-by: weijun, hchao
2024-02-29 12:08:14 +00:00
Alexey Ivanov
e772e78179 8326948: Force English locale for timeout formatting
Reviewed-by: honkar, prr, gli
2024-02-29 09:55:49 +00:00
Matthias Baesken
d9ef16dbb6 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Reviewed-by: clanger, prr
2024-02-29 08:15:46 +00:00
Kim Barrett
998d0baab0 8324799: Use correct extension for C++ test headers
Reviewed-by: jwaters, gli, coleenp, lmesnik
2024-02-29 06:24:42 +00:00
David Holmes
0735c8ab26 8318302: ThreadCountLimit.java failed with "Native memory allocation (mprotect) failed to protect 16384 bytes for memory to guard stack pages"
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: shade, stefank
2024-02-29 05:28:32 +00:00
Magnus Ihse Bursie
5fa2bdc6c7 8326953: Race in creation of win-exports.def with static-libs
Reviewed-by: jwaters, erikj, dholmes
2024-02-28 22:48:17 +00:00
Hannes Wallnöfer
be2b92bd8b 8326694: Defer setting of autocapitalize attribute
Reviewed-by: jjg
2024-02-28 18:13:16 +00:00
Lance Andersen
38ad514589 8326687: Inconsistent use of "ZIP", "Zip" and "zip" in java.util.zip/jar zipfs javadoc
Reviewed-by: dfuchs, jpai, gli
2024-02-28 17:14:08 +00:00
Vladimir Kozlov
b938a5c9ed 8324969: C2: prevent elimination of unbalanced coarsened locking regions
Reviewed-by: epeter, vlivanov, dlong
2024-02-28 16:04:47 +00:00
Albert Mingkun Yang
a93605f7fb 8326763: Consolidate print methods in ContiguousSpace
Reviewed-by: stefank, gli
2024-02-28 15:14:43 +00:00
Alexey Ivanov
41242cbe5d 8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java
Reviewed-by: honkar, dmarkov
2024-02-28 14:42:03 +00:00
Zhengyu Gu
5db50aca69 8326892: Remove unused PSAdaptiveSizePolicyResizeVirtualSpaceAlot develop flag
Reviewed-by: gli, tschatzl
2024-02-28 13:55:48 +00:00
Thomas Schatzl
eb4b6fa621 8326590: Improve description of MarkStackSize[Max] flags
Reviewed-by: iwalulya
2024-02-28 10:42:44 +00:00
Thomas Schatzl
e7e8083139 8326781: G1ConcurrentMark::top_at_rebuild_start() should take a HeapRegion* not an uint
Reviewed-by: iwalulya, ayang
2024-02-28 10:37:54 +00:00
Magnus Ihse Bursie
e6b3bda2c3 8326509: Clean up JNIEXPORT in Hotspot after JDK-8017234
Reviewed-by: djelinski, jwaters, dholmes
2024-02-28 10:31:18 +00:00
Kuai Wei
1ab6bd434f 8326135: Enhance adlc to report unused operands
Reviewed-by: kvn, vlivanov
2024-02-28 08:44:49 +00:00
Andrew Leonard
3b90ddfefe 8326685: Linux builds not reproducible if two builds configured in different build folders
Reviewed-by: ihse, erikj
2024-02-28 08:37:53 +00:00
Matthias Baesken
9b1f1e5294 8326389: [test] improve assertEquals failure output
Reviewed-by: clanger, jpai
2024-02-28 08:37:44 +00:00
Christian Hagedorn
6cad07c23b 8325746: Refactor Loop Unswitching code
Reviewed-by: epeter, kvn
2024-02-28 07:03:57 +00:00
Robert Toyonaga
4dd6c44cbd 8326529: JFR: Test for CompilerCompile events fails due to time out
Reviewed-by: egahlin
2024-02-28 00:50:31 +00:00
William Kemper
33f2382767 8325807: Shenandoah: Refactor full gc in preparation for generational mode changes
Reviewed-by: shade, ysr, kdnilsen
2024-02-27 23:06:17 +00:00
Weijun Wang
419191c653 8325680: Uninitialised memory in deleteGSSCB of GSSLibStub.c:179
Reviewed-by: valeriep, djelinski
2024-02-27 22:26:08 +00:00
SendaoYan
349df0a0e5 8326726: Problem list Exhaustiveness.java due to 8326616
Reviewed-by: jlahoda
2024-02-27 22:19:14 +00:00
Hamlin Li
552411f832 8326824: Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java
Reviewed-by: kvn
2024-02-27 20:08:22 +00:00
Tobias Hartmann
9f0e7da64e 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Reviewed-by: chagedorn, kvn
2024-02-27 16:58:22 +00:00
Jiangli Zhou
81b065a95d 8326714: Make file-local functions static in src/java.base/unix/native/libjava/childproc.c
Reviewed-by: djelinski, rriggs
2024-02-27 16:43:37 +00:00
Zhengyu Gu
4fcae1aef5 8326722: Cleanup unnecessary forward declaration in collectedHeap.hpp
Reviewed-by: tschatzl
2024-02-27 15:09:56 +00:00
Markus Grönlund
c5c866aafe 8326219: applications/kitchensink/Kitchensink8H.java timed out
Reviewed-by: egahlin
2024-02-27 11:41:23 +00:00
Magnus Ihse Bursie
ac3ce2aa15 8326583: Remove over-generalized DefineNativeToolchain solution
Reviewed-by: erikj
2024-02-27 11:14:11 +00:00
Magnus Ihse Bursie
bceaed6d4d 8326406: Remove mapfile support from makefiles
Reviewed-by: jwaters, erikj
2024-02-27 10:54:49 +00:00
Taizo Kurashige
16d917a85f 8313710: jcmd: typo in the documentation of JFR.start and JFR.dump
Reviewed-by: dholmes, egahlin
2024-02-27 10:39:48 +00:00
Viktor Klang
60cbf29250 8325754: Dead AbstractQueuedSynchronizer$ConditionNodes survive minor garbage collections
Reviewed-by: alanb
2024-02-27 10:38:36 +00:00
Magnus Ihse Bursie
da14aa463b 8017234: Hotspot should stop using mapfiles
Reviewed-by: djelinski, erikj, dholmes
2024-02-27 10:26:55 +00:00
Kim Barrett
d482c1af28 8326524: Rename agent_common.h
Reviewed-by: coleenp, sspitsyn, jwaters, dlong, lmesnik
2024-02-27 10:26:42 +00:00
Suchismith Roy
e85355ada4 8320005: Allow loading of shared objects with .a extension on AIX
Reviewed-by: amitkumar, stuefe, jkern, mdoerr
2024-02-27 09:15:40 +00:00
Albert Mingkun Yang
5d3d40d962 8326659: Serial: Remove redundant TenuredSpace::print_on
Reviewed-by: tschatzl
2024-02-27 09:12:20 +00:00
Afshin Zafari
7583419d88 8324828: Avoid multiple search of reserved regions during splitting
Reviewed-by: stuefe, jsjolen
2024-02-27 08:59:10 +00:00
Lei Zaakjyu
c5f1dcccfc 8325082: Rename headers named 'heapRegion*' of G1
Reviewed-by: stefank, tschatzl
2024-02-27 08:58:52 +00:00
Denghui Dong
4d82ea102a 8325144: C1: Optimize CriticalEdgeFinder
Reviewed-by: dlong, chagedorn
2024-02-27 08:28:49 +00:00
Hamlin Li
a48f5966be 8322179: RISC-V: Implement SHA-1 intrinsic
Reviewed-by: tonyp, fyang
2024-02-27 08:17:33 +00:00
SendaoYan
5daf63b717 8326636: Problem list StartupOutput.java due to 8326615
Reviewed-by: kvn, thartmann
2024-02-27 08:14:38 +00:00
Dan Lutker
97aca09e58 8326717: Disable stringop-overflow in shenandoahLock.cpp
Reviewed-by: erikj, shade
2024-02-27 07:34:10 +00:00
Daniel Jeliński
ec9437dbcc 8325247: Memory leak in SessionKeyRef class def when using PKCS11 security provider
Reviewed-by: valeriep
2024-02-27 07:06:35 +00:00
Jiangli Zhou
0901dedefe 8326433: Make file-local functions static in src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
Reviewed-by: cjplummer, sspitsyn
2024-02-27 01:34:19 +00:00
Justin Lu
d22d890cac 8325898: ChoiceFormat returns erroneous result when formatting bad pattern
Reviewed-by: naoto
2024-02-26 23:43:52 +00:00
Patricio Chilano Mateo
93feda3d9a 8322962: Upcall stub might go undetected when freezing frames
Reviewed-by: jvernee, alanb, mdoerr, fyang, dlong
2024-02-26 23:29:18 +00:00
Alex Menkov
fc67c2b4f1 8325530: Vague error message when com.sun.tools.attach.VirtualMachine fails to load agent library
Reviewed-by: sspitsyn, cjplummer
2024-02-26 23:18:49 +00:00
Weijun Wang
b87d9cf2c9 8325506: Ensure randomness is only read from provided SecureRandom object
Reviewed-by: kdriver, valeriep
2024-02-26 21:52:40 +00:00
Anthony Scarpino
0963a4e9a1 8326699: Problemlist CertMsgCheck.java
Reviewed-by: rhalade
2024-02-26 21:00:07 +00:00
sunyaqi
bf13a4e281 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Reviewed-by: bpb
2024-02-26 20:47:59 +00:00
Anthony Scarpino
f62b5789ad 8311644: Server should not send bad_certificate alert when the client does not send any certificates
Reviewed-by: djelinski, jjiang, ssahoo
2024-02-26 16:49:01 +00:00
Claes Redestad
9a9cfbe0ba 8325340: Add ASCII fast-path to Data-/ObjectInputStream.readUTF
Reviewed-by: rgiulietti, bpb, rriggs
2024-02-26 16:05:18 +00:00
Magnus Ihse Bursie
3780ad3133 8326587: Separate out Microsoft toolchain linking
Reviewed-by: erikj
2024-02-26 15:43:47 +00:00
Albert Mingkun Yang
2d3c9c5e67 8325553: Parallel: Use per-marker cache for marking stats during Full GC
Reviewed-by: sjohanss, tschatzl
2024-02-26 15:34:10 +00:00
Lance Andersen
20c71ceacd 8321156: Improve the handling of invalid UTF-8 byte sequences for ZipInputStream::getNextEntry and ZipFile::getComment
Reviewed-by: jpai, alanb
2024-02-26 15:31:55 +00:00
Claes Redestad
c042f08632 8326653: Remove jdk.internal.reflect.UTF8
Reviewed-by: rriggs, alanb
2024-02-26 15:30:21 +00:00
Eirik Bjørsnøs
bb6b04897b 8326099: GZIPOutputStream should use Deflater.getBytesRead() instead of Deflater.getTotalIn()
Reviewed-by: jpai
2024-02-26 14:15:24 +00:00
Emanuel Peter
490825fb91 8325589: C2 SuperWord refactoring: create VLoopAnalyzer with Submodules
Reviewed-by: kvn, chagedorn
2024-02-26 13:02:04 +00:00
Chen Liang
3a00fc732a 8323698: Class use page does not include extends/implements type arguments
Reviewed-by: prappo, hannesw
2024-02-26 12:10:58 +00:00
Albert Mingkun Yang
f32f574004 8326575: Remove unused ContiguousSpace::set_top_for_allocations
Reviewed-by: tschatzl, sjohanss
2024-02-26 09:36:48 +00:00
Thomas Schatzl
09f755a64d 8325857: G1 Full GC flushes mark stats cache too early
Reviewed-by: iwalulya, ayang
2024-02-26 07:28:37 +00:00
Korov
1799ffeaa9 8310351: Typo in ImmutableCollections
Reviewed-by: jlaskey, jpai
2024-02-25 11:52:19 +00:00
Leonid Mesnik
d10f277bd3 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Reviewed-by: tschatzl, ayang
2024-02-23 19:58:38 +00:00
Joe Darcy
63f6a563a3 8326530: Widen allowable error bound of Math.tan
Reviewed-by: bpb, rgiulietti
2024-02-23 18:03:02 +00:00
Magnus Ihse Bursie
27574b384c 8326585: COMPARE_BUILD=PATCH fails if patch -R fails
Reviewed-by: erikj
2024-02-23 17:31:13 +00:00
Weijun Wang
c26c5833cc 8311003: missing @since info in jdk.security.jgss
Reviewed-by: mullan
2024-02-23 16:10:44 +00:00
Martin Doerr
09a78b5da9 8326378: [PPC64] CodeEntryAlignment too large
Reviewed-by: shade, lucy
2024-02-23 13:52:10 +00:00
Albert Mingkun Yang
ef2d5c40c0 8326065: Merge Space into ContiguousSpace
Reviewed-by: cjplummer, sjohanss
2024-02-23 11:47:29 +00:00
Ivan Walulya
11fdca0634 8325202: gc/g1/TestMarkStackOverflow.java intermittently crash: G1CMMarkStack::ChunkAllocator::allocate_new_chunk
Reviewed-by: tschatzl, ayang
2024-02-23 10:48:50 +00:00
Roland Westrelin
5d414da504 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Reviewed-by: shade, rkennke, thartmann
2024-02-23 10:09:06 +00:00
Jan Lahoda
93a2e773a5 8326129: Java Record Pattern Match leads to infinite loop
Reviewed-by: vromero
2024-02-23 10:08:56 +00:00
Roman Kennke
336bbbe389 8139457: Relax alignment of array elements
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: stuefe, stefank, shade, coleenp, kdnilsen, aboldtch
2024-02-23 10:05:25 +00:00
Jan Lahoda
cb809f8e04 8325215: Incorrect not exhaustive switch error
Reviewed-by: vromero
2024-02-23 08:56:14 +00:00
Erik Gahlin
c4409eafc4 8325994: JFR: Examples in JFR.start help use incorrect separator
Reviewed-by: mikael
2024-02-23 02:02:35 +00:00
Jaikiran Pai
54f09d7345 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Reviewed-by: martin, lancea
2024-02-23 00:53:19 +00:00
Justin Lu
00ffc42cef 8318761: MessageFormat pattern support for CompactNumberFormat, ListFormat, and DateTimeFormatter
Reviewed-by: naoto, rriggs
2024-02-22 22:27:12 +00:00
Thomas Stuefe
d695af89f6 8326376: java -version failed with CONF=fastdebug -XX:InitialCodeCacheSize=1024K -XX:ReservedCodeCacheSize=1200k
Reviewed-by: kvn, jwaters
2024-02-22 17:45:34 +00:00
Stefan Karlsson
9f9a732c38 8325752: Remove badMetaWordVal
Reviewed-by: coleenp, tschatzl
2024-02-22 16:02:26 +00:00
Stefan Karlsson
864cf22241 8325742: Remove MetaWord usage from MemRegion
Reviewed-by: coleenp, tschatzl
2024-02-22 15:58:41 +00:00
Erik Gahlin
8e5c0ee402 8324832: JFR: Improve sorting of 'jfr summary'
Reviewed-by: mgronlun
2024-02-22 15:29:05 +00:00
Renjith Kannath Pariyangad
724a2a2c4a 8321192: j.a.PrintJob/ImageTest/ImageTest.java: Fail or skip the test if there's no printer
Reviewed-by: aivanov, tr
2024-02-22 14:05:02 +00:00
Fredrik Bredberg
f365d807e5 8325153: SEGV in stackChunkOopDesc::derelativize_address(int)
Reviewed-by: stefank, coleenp
2024-02-22 13:07:32 +00:00
Roland Westrelin
4406915ebc 8323274: C2: array load may float above range check
Reviewed-by: epeter, thartmann
2024-02-22 11:07:13 +00:00
SendaoYan
cc1e216eb9 8326461: tools/jlink/CheckExecutable.java fails as .debuginfo files are not executable
Reviewed-by: shade, alanb
2024-02-22 09:59:37 +00:00
Axel Boldt-Christmas
10eafdc62e 8325870: Zap end padding bits for ArrayOops in non-release builds
Reviewed-by: stefank, ayang
2024-02-22 09:14:20 +00:00
Albert Mingkun Yang
0f4cd8f1c0 8326414: Serial: Inline SerialHeap::create_rem_set
Reviewed-by: kbarrett
2024-02-22 07:57:31 +00:00
Laurent Bourgès
8b30503387 8323695: RenderPerf (2D) enhancements (23.12)
Reviewed-by: avu, prr
2024-02-22 07:57:21 +00:00
Sam James
8e5f6ddb68 8324243: Compilation failures in java.desktop module with gcc 14
Reviewed-by: jwaters, ihse, kbarrett, prr
2024-02-22 06:27:25 +00:00
Magnus Ihse Bursie
0bcece9958 8325342: Remove unneeded exceptions in compare.sh
Reviewed-by: erikj
2024-02-21 22:34:58 +00:00
Naoto Sato
64f7972a3d 8326158: Javadoc for java.time.DayOfWeek#minus(long)
Reviewed-by: iris, lancea
2024-02-21 16:53:57 +00:00
Lance Andersen
f0f4d63fa9 8326351: Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1
Reviewed-by: iris, naoto, jpai
2024-02-21 14:51:35 +00:00
Robbin Ehn
51e2dde018 8326235: RISC-V: Size CodeCache for short calls encoding
Reviewed-by: fyang, tonyp
2024-02-21 14:33:29 +00:00
Magnus Ihse Bursie
c022431a00 8326412: debuginfo files should not have executable bit set
Reviewed-by: erikj
2024-02-21 14:10:38 +00:00
Magnus Ihse Bursie
33834b7d14 8326375: [REDO] Clean up NativeCompilation.gmk and its newly created parts
Reviewed-by: jwaters, erikj
2024-02-21 13:44:12 +00:00
Markus Grönlund
23522682d4 8326334: JFR failed assert(used(klass)) failed: invariant
Reviewed-by: egahlin
2024-02-21 13:38:36 +00:00
Aleksey Shipilev
492e8bf563 8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Reviewed-by: rehn, rkennke
2024-02-21 11:48:59 +00:00
Claes Redestad
5f16f342d9 8326370: Remove redundant and misplaced micros from StringBuffers
Reviewed-by: shade
2024-02-21 11:19:37 +00:00
Albert Mingkun Yang
921507c510 8326319: G1: Remove unused G1ConcurrentMark::_init_times
Reviewed-by: tschatzl, kbarrett
2024-02-21 10:27:55 +00:00
Robbin Ehn
68eb5a1df5 8321075: RISC-V: UseSystemMemoryBarrier lacking proper OS support
Reviewed-by: fyang, yadongwang, luhenry
2024-02-21 08:58:19 +00:00
Tejesh R
04d43c435d 8187759: Background not refreshed when painting over a transparent JFrame
Reviewed-by: azvegint, abhiscxk, serb
2024-02-21 05:54:30 +00:00
Amit Kumar
d5f3d5c8cc 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Reviewed-by: lucy, mdoerr
2024-02-21 05:37:21 +00:00
Thomas Stuefe
d31fd78d96 8325496: Make TrimNativeHeapInterval a product switch
Reviewed-by: dholmes, mbaesken
2024-02-21 04:39:09 +00:00
Kim Barrett
27003b53bb 8326090: Rename jvmti_aod.h
Reviewed-by: coleenp, sspitsyn
2024-02-21 03:09:29 +00:00
Jaikiran Pai
36246c975b 8326233: Utils#copySSLParameters loses needClientAuth Setting
Reviewed-by: djelinski, jjiang, dfuchs
2024-02-21 01:26:21 +00:00
David Holmes
14f9aba921 8326371: [BACKOUT] Clean up NativeCompilation.gmk and its newly created parts
Reviewed-by: mikael
2024-02-21 01:15:25 +00:00
Magnus Ihse Bursie
1bd91cdebe 8325963: Clean up NativeCompilation.gmk and its newly created parts
Reviewed-by: jwaters, erikj
2024-02-20 22:25:29 +00:00
Magnus Ihse Bursie
4d50ee63d6 8326368: compare.sh -2bins prints ugly errors on Windows
Reviewed-by: erikj
2024-02-20 22:24:25 +00:00
Calvin Cheung
221fbfb436 8320002: Remove obsolete CDS check in Reflection::verify_class_access()
Reviewed-by: iklam, matsaave, dholmes
2024-02-20 21:10:09 +00:00
Claes Redestad
d2590c69b4 8325730: StringBuilder.toString allocation for the empty String
Reviewed-by: jlaskey, shade
2024-02-20 20:28:55 +00:00
Hannes Wallnöfer
aa792eabab 8164094: javadoc allows to create a @link to a non-existent method
Reviewed-by: prappo, jjg
2024-02-20 19:56:15 +00:00
Hannes Wallnöfer
a2d027eaa0 8326089: Text incorrectly placed in breadcrumbs list in generated docs
Reviewed-by: jjg
2024-02-20 19:22:59 +00:00
Alexey Ivanov
b419e95173 8294148: Support JSplitPane for instructions and test UI
Reviewed-by: honkar, dmarkov
2024-02-20 16:30:32 +00:00
Darragh Clarke
9538f5d317 8319651: Several network tests ignore vm flags when start java process
Reviewed-by: dfuchs, jpai
2024-02-20 16:00:09 +00:00
Tobias Holenstein
4957d6a61e 8325441: IGV: update pom.xml such that IntelliJ can import as maven project
Reviewed-by: rcastanedalo, chagedorn
2024-02-20 15:49:48 +00:00
Albert Mingkun Yang
d60331a21c 8326196: Serial: Remove SerialHeap::generation_iterate
Reviewed-by: tschatzl, kbarrett
2024-02-20 09:38:23 +00:00
Albert Mingkun Yang
beed4145ec 8326209: G1: Remove G1ConcurrentMark::_total_cleanup_time
Reviewed-by: kbarrett, tschatzl
2024-02-20 09:38:13 +00:00
Albert Mingkun Yang
56073cd1ea 8326171: Serial: Remove VerifyGCLevel
Reviewed-by: stefank, tschatzl
2024-02-20 09:19:14 +00:00
Joshua Cao
bb675afae6 8325542: CTW: Runner can produce negative StressSeed
Reviewed-by: shade, xliu
2024-02-20 08:54:48 +00:00
Joshua Cao
5bf859c8e9 8325610: CTW: Add StressIncrementalInlining to stress options
Reviewed-by: shade, xliu
2024-02-20 08:54:36 +00:00
Christian Stein
0d285312a9 8318812: LauncherHelper.checkAndLoadMain closes jar file that's about to be re-opened
Reviewed-by: alanb, jpai, coffeys
2024-02-20 07:01:45 +00:00
David Holmes
69a11c7f7e 8326222: Fix copyright year in src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
Reviewed-by: jiefu, mikael
2024-02-20 01:25:57 +00:00
Denghui Dong
9fbcc008cb 8326127: JFR: Add SafepointCleanupTask to hardToTestEvents of TestLookForUntestedEvents
Reviewed-by: mgronlun
2024-02-20 00:41:15 +00:00
Denghui Dong
7d32a1a829 8326111: JFR: Cleanup for JFR_ONLY
Reviewed-by: egahlin
2024-02-20 00:39:21 +00:00
David Holmes
a3d7f9f242 8326126: Update the java manpage with the changes from JDK-8322478
Reviewed-by: alanb, cstein
2024-02-19 22:00:48 +00:00
Thomas Stuefe
20a25f60ea 8326067: Remove os::remap_memory and simplify os::map_memory
Reviewed-by: eosterlund, iklam
2024-02-19 19:33:07 +00:00
Magnus Ihse Bursie
5c5a282f91 8325950: Make sure all files in the JDK pass jcheck
Reviewed-by: prr, wetmore, erikj, naoto
2024-02-19 16:13:34 +00:00
Magnus Ihse Bursie
8668198c26 8325972: Add -x to bash for building with LOG=debug
Reviewed-by: erikj
2024-02-19 16:11:02 +00:00
Martin Doerr
a19314b087 8326101: [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Reviewed-by: rrich, mbaesken
2024-02-19 15:20:23 +00:00
Chen Liang
f6d7e30b84 8294977: Convert test/jdk/java tests from ASM library to Classfile API
Reviewed-by: asotona
2024-02-19 14:07:46 +00:00
Per Minborg
82609b1ebc 8326112: Javadoc snippet for Linker.Option.captureCallState is wrong
Reviewed-by: jvernee
2024-02-19 13:33:09 +00:00
Markus Grönlund
a776104e21 8326106: Write and clear stack trace table outside of safepoint
Reviewed-by: egahlin
2024-02-19 13:19:12 +00:00
vtstydev
56c50841ee 8307246: Printing: banded raster path doesn't account for device offset values
Reviewed-by: prr, psadhukhan, aivanov
2024-02-19 13:15:13 +00:00
Albert Mingkun Yang
aeb6d8c459 8326170: Parallel: Remove unused enum CollectionType in ParallelScavengeHeap
Reviewed-by: stefank
2024-02-19 13:09:22 +00:00
Matthias Baesken
dc17c268e8 8325116: Amend jdk.ContainerConfiguration by swap related value
Reviewed-by: sgehwolf, lucy, egahlin
2024-02-19 12:52:35 +00:00
Jaikiran Pai
b366492761 8326152: Bad copyright header in test/jdk/java/util/zip/DeflaterDictionaryTests.java
Reviewed-by: tschatzl
2024-02-19 09:56:45 +00:00
Eirik Bjørsnøs
9451677daa 8326100: DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut
Reviewed-by: alanb, jpai
2024-02-19 09:15:14 +00:00
Denghui Dong
d422811bb7 8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found
Reviewed-by: dlong, thartmann
2024-02-19 08:34:40 +00:00
Yi Yang
3742bc626e 8323795: jcmd Compiler.codecache should print total size of code cache
Reviewed-by: thartmann, kvn
2024-02-19 07:38:55 +00:00
Daniel D. Daugherty
099b744235 8326117: ProblemList serviceability/jvmti/vthread/SuspendWithInterruptLock/SuspendWithInterruptLock.java#default in Xcomp mode
8326120: ProblemList sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh on macosx-aarch64

Reviewed-by: alanb
2024-02-18 18:10:32 +00:00
Prasanta Sadhukhan
39627bc429 6510914: JScrollBar.getMinimumSize() breaks the contract of JComponent.setMinimumSize()
Reviewed-by: abhiscxk, prr
2024-02-18 16:14:33 +00:00
Eirik Bjørsnøs
7004c2724d 8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
8301183: (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9

Reviewed-by: lancea
2024-02-18 15:25:58 +00:00
Christoph Langer
c2d9fa26ce 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Reviewed-by: mbaesken, ascarpino
2024-02-18 06:58:22 +00:00
Leonid Mesnik
f50df10591 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Reviewed-by: tschatzl, ayang
2024-02-17 19:19:47 +00:00
Jan Kratochvil
cf13086efe 8317697: refactor-encapsulate x86 VM_Version::CpuidInfo
Reviewed-by: dholmes, kvn
2024-02-17 16:37:56 +00:00
Joe Darcy
3b76372254 8325687: SimpleJavaFileObject specification would benefit from implSpec
Reviewed-by: jlahoda, iris
2024-02-16 22:56:16 +00:00
Jiří Vaněk
b5df2f4314 8323170: j2dbench is using outdated javac source/target to be able to build by itself
Reviewed-by: serb
2024-02-16 22:16:58 +00:00
Serguei Spitsyn
267780bf0a 8324680: Replace NULL with nullptr in JVMTI generated code
Reviewed-by: amenkov, coleenp
2024-02-16 21:21:42 +00:00
Rajan Halade
f3073db42a 8321408: Add Certainly roots R1 and E1
Reviewed-by: ascarpino, hchao
2024-02-16 18:07:53 +00:00
Justin Lu
4c7b313e0d 8325908: Finish removal of IntlTest and CollatorTest
Reviewed-by: naoto
2024-02-16 17:14:46 +00:00
Albert Mingkun Yang
53102502c3 8325941: Remove unused Space::block_size
Reviewed-by: tschatzl
2024-02-16 16:39:28 +00:00
Brian Burkhalter
7a76252007 8325990: Remove use of snippet @replace annotation in java.base
Reviewed-by: jlu, naoto
2024-02-16 16:06:56 +00:00
Daniel D. Daugherty
00b5c70750 8326062: ProblemList jcstress tests that are failing due to JDK-8325984
Reviewed-by: azvegint, jvernee
2024-02-16 16:03:12 +00:00
Martin Doerr
4388095cde 8325326: [PPC64] Don't relocate in case of allocation failure
Reviewed-by: goetz, rrich
2024-02-16 15:58:37 +00:00
Ben Perez
244573e719 8265372: Simplify PKCS9Attribute
Reviewed-by: weijun
2024-02-16 14:51:31 +00:00
Alexey Ivanov
80b63b6729 8323801: <s> tag doesn't strikethrough the text
Reviewed-by: honkar, dnguyen, psadhukhan
2024-02-16 14:10:44 +00:00
Matthias Baesken
9f4ec21f47 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Reviewed-by: sgehwolf, stuefe, mdoerr
2024-02-16 13:13:11 +00:00
Leo Korinth
0aaec97527 8325763: Revert properties: vm.opt.x.*
Reviewed-by: ayang, stefank
2024-02-16 09:23:42 +00:00
Richard Reingruber
4018b2b196 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dholmes
2024-02-16 08:40:13 +00:00
Axel Boldt-Christmas
2705ed0a71 8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Reviewed-by: eosterlund, stefank, rcastanedalo
2024-02-16 08:34:58 +00:00
Afshin Zafari
3d851033e9 8316813: NMT: Using WhiteBox API, virtual memory tracking should also be stressed in JMH tests
Reviewed-by: jsjolen, gziemski, stuefe
2024-02-16 08:27:19 +00:00
Matthias Baesken
ba8db1f6d7 8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Reviewed-by: mdoerr, clanger
2024-02-16 08:21:02 +00:00
Axel Boldt-Christmas
18cea823a1 8319801: Recursive lightweight locking: aarch64 implementation
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: rkennke, coleenp, dcubed, aph
2024-02-16 07:18:31 +00:00
Leonid Mesnik
9029bf644e 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Reviewed-by: cjplummer, sspitsyn
2024-02-15 22:50:14 +00:00
Christoph Langer
99c9ae127c 8323664: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fails with JNI warning on some Windows configurations
Reviewed-by: prr, mbaesken, aivanov
2024-02-15 22:36:54 +00:00
Zdenek Zambersky
0fdfdf71f2 8325983: Build failure after JDK-8324580
Reviewed-by: stuefe, dcubed
2024-02-15 21:10:56 +00:00
Alexander Zuev
3b1062d45d 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Reviewed-by: asemenov, abhiscxk, aivanov
2024-02-15 18:18:29 +00:00
Alexander Zvegintsev
5a988a5087 8322750: Test "api/java_awt/interactive/SystemTrayTests.html" failed because A blue ball icon is added outside of the system tray
Reviewed-by: jdv, kizune, psadhukhan, prr
2024-02-15 17:52:48 +00:00
Zdenek Zambersky
a231706a06 8324580: SIGFPE on THP initialization on kernels < 4.10
Reviewed-by: stuefe, sjohanss
2024-02-15 16:01:18 +00:00
Leonid Mesnik
2564f0f998 8325906: Problemlist vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id1 until JDK-8320865 is fixed
Reviewed-by: thartmann
2024-02-15 15:06:12 +00:00
Matias Saavedra Silva
9a1b843ff6 8324584: Optimize Symbol and char* handling in ClassLoader
Reviewed-by: dholmes, coleenp
2024-02-15 14:48:39 +00:00
Daniel Jeliński
a0e5e16afb 8325162: Remove duplicate GCMParameters class
Reviewed-by: weijun, valeriep
2024-02-15 11:27:00 +00:00
Magnus Ihse Bursie
0d51b76947 8325877: Split up NativeCompilation.gmk
Reviewed-by: erikj, jwaters
2024-02-15 10:38:30 +00:00
Albert Mingkun Yang
2b1a840002 8325860: Serial: Move Generation.java to serial folder
Reviewed-by: cjplummer, tschatzl
2024-02-15 10:20:12 +00:00
Albert Mingkun Yang
b718ae35a8 8325882: Serial: Move is_maximal_no_gc to TenuredGeneration
Reviewed-by: stefank
2024-02-15 09:36:07 +00:00
Erik Österlund
0e2fdc95ae 8324933: ConcurrentHashTable::statistics_calculate synchronization is expensive
Reviewed-by: tschatzl, coleenp
2024-02-15 09:26:48 +00:00
Robbin Ehn
8cb9b479c5 8321282: RISC-V: SpinPause() not implemented
Reviewed-by: luhenry, fbredberg, fyang
2024-02-15 09:17:52 +00:00
Sonia Zaldana Calles
1aae980c54 8323994: gtest runner repeats test name for every single gtest assertion
Reviewed-by: stuefe, lmesnik
2024-02-15 08:03:01 +00:00
Kim Barrett
810daf8206 8325910: Rename jnihelper.h
Reviewed-by: coleenp
2024-02-15 03:54:43 +00:00
Kim Barrett
22e81810dd 8325682: Rename nsk_strace.h
Reviewed-by: coleenp
2024-02-14 23:06:47 +00:00
William Kemper
b823fa4450 8325574: Shenandoah: Simplify and enhance reporting of requested GCs
Reviewed-by: ysr, kdnilsen, shade
2024-02-14 16:54:04 +00:00
Magnus Ihse Bursie
09d4936657 8252136: Several methods in hotspot are missing "static"
Reviewed-by: coleenp, stefank, kvn, kbarrett
2024-02-14 16:29:58 +00:00
Brian Burkhalter
f6e285103a 8316340: (bf) Missing {@inheritDoc} for exception in MappedByteBuffer::compact
Reviewed-by: alanb, iris, lancea
2024-02-14 15:59:34 +00:00
Albert Mingkun Yang
53878eef13 8325643: G1: Refactor G1FlushHumongousCandidateRemSets
Reviewed-by: tschatzl, iwalulya, kbarrett
2024-02-14 15:19:40 +00:00
Stefan Johansson
130f429c6f 8325403: Add SystemGC JMH benchmarks
Reviewed-by: ecaspole, ayang, tschatzl
2024-02-14 14:59:34 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +00:00
Markus Grönlund
737b4c515e 8323883: JFR AssertionError: Missing object ID 15101
Reviewed-by: egahlin
2024-02-14 14:10:28 +00:00
Albert Mingkun Yang
61f249335d 8325767: Serial: Move transform_stack_chunk out of TenuredGeneration::promote
Reviewed-by: stefank
2024-02-14 13:17:10 +00:00
Erik Gahlin
8dc59763eb 8325809: JFR: Remove unnecessary annotation
Reviewed-by: mgronlun
2024-02-14 13:02:13 +00:00
Erik Österlund
84965ea1a8 8322630: Remove ICStubs and related safepoints
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: tschatzl, aboldtch, dlong
2024-02-14 11:44:30 +00:00
Aggelos Biboudis
0c2def0e3e 8325653: Erroneous exhaustivity analysis for primitive patterns
Reviewed-by: vromero
2024-02-14 09:19:18 +00:00
Matthias Baesken
d0039960c4 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Reviewed-by: dfuchs, alanb
2024-02-14 08:31:35 +00:00
Tobias Hartmann
ea98de63f7 8325449: [BACKOUT] use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: chagedorn
2024-02-14 07:34:28 +00:00
Axel Boldt-Christmas
7f6bb71eb3 8319799: Recursive lightweight locking: x86 implementation
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: rkennke, coleenp, dcubed
2024-02-14 07:18:06 +00:00
Dmitry Cherepanov
ea4193222f 8325395: Missing copyright header in StackFilter.java
Reviewed-by: egahlin
2024-02-14 05:30:08 +00:00
Mikael Vidstedt
8765b176f9 8325800: Drop unused cups declaration from Oracle build configuration
Reviewed-by: erikj
2024-02-13 21:23:39 +00:00
Eirik Bjørsnøs
628cd8a489 8303866: Allow ZipInputStream.readEnd to parse small Zip64 ZIP files
Reviewed-by: lancea, jpai
2024-02-13 16:26:37 +00:00
Eirik Bjørsnøs
842b895f09 8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"

Reviewed-by: lancea, jpai
2024-02-13 16:18:50 +00:00
Doug Simon
243fb46157 8325750: Fix spelling of ForceTranslateFailure help message
Reviewed-by: thartmann
2024-02-13 16:15:00 +00:00
Emanuel Peter
74b90aa87e 8325672: C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
Reviewed-by: kvn, chagedorn
2024-02-13 16:09:09 +00:00
Emanuel Peter
6dfa7f3941 8325541: C2 SuperWord: refactor filter / split
Reviewed-by: chagedorn, kvn
2024-02-13 16:07:41 +00:00
Brian Burkhalter
6b7c9718d6 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: alanb
2024-02-13 15:53:29 +00:00
Roger Riggs
13d9e8ff38 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906
Reviewed-by: alanb, redestad
2024-02-13 15:16:50 +00:00
Albert Mingkun Yang
57b04e1b5d 8325748: Serial: Move Generation::promote to TenuredGeneration
Reviewed-by: stefank
2024-02-13 15:00:36 +00:00
Cesar Soares Lucas
7cd25ed605 8322854: Incorrect rematerialization of scalar replaced objects in C2
Reviewed-by: kvn, thartmann
2024-02-13 13:50:59 +00:00
Albert Mingkun Yang
7ec2badd21 8323520: Drop unnecessary virtual specifier in Space
Reviewed-by: stefank
2024-02-13 13:22:53 +00:00
Stefan Karlsson
71ff2d7177 8325616: JFR ZGC Allocation Stall events should record stack traces
Reviewed-by: eosterlund, tschatzl, egahlin
2024-02-13 12:59:42 +00:00
Johannes Bechberger
c3c1cdd1b0 8325731: Installation instructions for Debian/Ubuntu don't mention autoconf
Reviewed-by: ihse
2024-02-13 12:31:31 +00:00
Hannes Wallnöfer
f8d8eecf80 8325325: Breadcrumb navigation shows preview link for modules and packages
Reviewed-by: jjg
2024-02-13 11:21:03 +00:00
Hannes Wallnöfer
088e54f560 8325650: Table of contents scroll timeout not long enough
Reviewed-by: jjg
2024-02-13 11:08:51 +00:00
Magnus Ihse Bursie
c266800a3a 8325558: Add jcheck whitespace checking for properties files
Reviewed-by: naoto, dfuchs, joehw
2024-02-13 10:00:13 +00:00
Magnus Ihse Bursie
ec20b0aa2e 8325626: Allow selection of non-matching configurations using CONF=!string
Reviewed-by: erikj, jwaters
2024-02-13 09:51:33 +00:00
Albert Mingkun Yang
618af397b4 8325633: Use stricter assertion in callers of Space::is_aligned
Reviewed-by: tschatzl, sjohanss
2024-02-13 09:41:12 +00:00
Axel Boldt-Christmas
5dbf13730e 8319797: Recursive lightweight locking: Runtime implementation
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: rkennke, dcubed, coleenp, stefank
2024-02-13 09:32:58 +00:00
Matthias Baesken
4513da9496 8325470: [AIX] use fclose after fopen in read_psinfo
Reviewed-by: mdoerr, kbarrett
2024-02-13 09:03:47 +00:00
Albert Mingkun Yang
62a4be03cf 8325635: Serial: Inline verify_used_region_at_save_marks
Reviewed-by: stefank, tschatzl
2024-02-13 08:47:00 +00:00
Kim Barrett
b356fee5d8 8325458: Rename mlvmJvmtiUtils.h
Reviewed-by: vlivanov
2024-02-13 02:03:07 +00:00
Jonathan Gibbons
2ed889b7f2 8323628: Update license on "pass-through" files
Reviewed-by: hannesw
2024-02-12 21:10:19 +00:00
Mikael Vidstedt
7c6971239d 8325570: Update to Graphviz 9.0.0
Reviewed-by: erikj, pminborg, ihse, mchung, iris
2024-02-12 20:26:11 +00:00
Jonathan Gibbons
482c100646 8322865: JavaDoc fails on aggregator modules
Reviewed-by: hannesw
2024-02-12 19:53:48 +00:00
Jonathan Gibbons
b3e0587ea0 8322874: Redirection loop in index.html
Reviewed-by: hannesw
2024-02-12 19:49:44 +00:00
Jonathan Gibbons
d70156d2e2 8325529: Remove unused imports from ModuleGenerator test file
Reviewed-by: prappo
2024-02-12 19:47:38 +00:00
Patricio Chilano Mateo
4628763001 8320302: compiler/arguments/TestC1Globals.java hits SIGSEGV in ContinuationEntry::set_enter_code
Reviewed-by: dholmes, coleenp
2024-02-12 18:55:43 +00:00
Alisen Chung
1e4b701749 8316931: [macos14] Test "java/awt/TrayIcon/ShowAfterDisposeTest/ShowAfterDisposeTest.html" throws an exception on macOS 14(x64, aarch64)
Reviewed-by: abhiscxk, kizune, serb
2024-02-12 18:04:26 +00:00
Albert Mingkun Yang
16b3be0a76 8325503: Add GC specific prefix for CheckForUnmarked related classes
Reviewed-by: kbarrett, tschatzl, stefank
2024-02-12 12:25:39 +00:00
Denghui Dong
1358850aa6 8322694: C1: Handle Constant and IfOp in NullCheckEliminator
Reviewed-by: thartmann, dlong
2024-02-12 09:26:42 +00:00
Christian Hagedorn
6a12362660 8325606: compiler/predicates/TestPredicatesBasic.java does not compile
Reviewed-by: thartmann
2024-02-12 08:18:45 +00:00
Magnus Ihse Bursie
e5cb78cc88 8324539: Do not use LFS64 symbols in JDK libs
Reviewed-by: jwaters, erikj, mbaesken, alanb
2024-02-12 08:04:39 +00:00
Daniel Jeliński
efa071dd06 8323089: networkaddress.cache.ttl is not a system property
Reviewed-by: alanb, jpai, aefimov, dfuchs
2024-02-12 07:54:48 +00:00
Joshua Cao
2546afe2aa 8325451: Missed elimination of assertion predicates
Reviewed-by: chagedorn, phh
2024-02-12 06:29:37 +00:00
Albert Mingkun Yang
af7eeffddb 8325565: Remove unused SpaceClosure
Reviewed-by: kbarrett
2024-02-11 15:34:28 +00:00
Emanuel Peter
232d136885 8324890: C2 SuperWord: refactor out VLoop, make unrolling_analysis static, remove init/reset mechanism
Reviewed-by: kvn, roland
2024-02-10 14:19:01 +00:00
yifeng.jyf
71d2dbd0b6 8325464: GCCause.java out of sync with gcCause.hpp
Reviewed-by: stefank, tschatzl
2024-02-10 14:07:23 +00:00
Sergey Bylokhov
6c7029ffd4 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Reviewed-by: aivanov, shade
2024-02-10 01:48:48 +00:00
Alex Menkov
e33d8a2198 8311076: RedefineClasses doesn't check for ConstantPool overflow
Reviewed-by: coleenp, lmesnik
2024-02-10 00:56:59 +00:00
Daniel D. Daugherty
6303c0e713 8325569: ProblemList gc/parallel/TestAlwaysPreTouchBehavior.java on linux
Reviewed-by: ccheung
2024-02-09 20:49:55 +00:00
Leonid Mesnik
3ebe6c192a 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Reviewed-by: kevinw, cjplummer
2024-02-09 18:40:10 +00:00
Leonid Mesnik
d39b7bab27 8316460: 4 javax/management tests ignore VM flags
Reviewed-by: kevinw
2024-02-09 18:40:01 +00:00
Sebastian Lövdahl
ac4607ed81 8226919: attach in linux hangs due to permission denied accessing /proc/pid/root
Reviewed-by: sgehwolf, kevinw
2024-02-09 18:32:09 +00:00
Calvin Cheung
b42b8886aa 8325038: runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages
Reviewed-by: matsaave, jsjolen
2024-02-09 18:06:51 +00:00
Alexey Semenyuk
6944537c3e 8325203: System.exit(0) kills the launched 3rd party application
Reviewed-by: almatvee
2024-02-09 17:05:05 +00:00
Bhavana Kilambi
4368437475 8325264: two compiler/intrinsics/float16 tests fail after JDK-8324724
Reviewed-by: thartmann, dfenacci, kvn
2024-02-09 16:57:49 +00:00
William Kemper
4a3a38d1b7 8325517: Shenandoah: Reduce unnecessary includes from shenandoahControlThread.cpp
Reviewed-by: shade, kdnilsen, ysr
2024-02-09 16:53:05 +00:00
Albert Mingkun Yang
40708baf7a 8325563: Remove unused Space::is_in
Reviewed-by: tschatzl
2024-02-09 16:33:41 +00:00
Albert Mingkun Yang
29d89d48cb 8325551: Remove unused obj_is_alive and block_start in Space
Reviewed-by: stefank
2024-02-09 15:01:12 +00:00
Oli Gillespie
8ef918d667 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade, weijun
2024-02-09 14:38:09 +00:00
Oli Gillespie
69b2674c68 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Reviewed-by: shade, weijun, liach, valeriep
2024-02-09 14:36:59 +00:00
Stefan Karlsson
52d497619e 8325437: Safepoint polling in monitor deflation can cause massive logs
Reviewed-by: aboldtch, dcubed, shade
2024-02-09 13:09:12 +00:00
Jan Lahoda
8b70b8d85a 8325440: Confusing error reported for octal literals with wrong digits
Reviewed-by: vromero
2024-02-09 11:51:05 +00:00
Alexey Ivanov
5daf622aea 8325309: Amend "Listeners and Threads" in AWTThreadIssues.html
Reviewed-by: serb, tr
2024-02-09 11:46:04 +00:00
Albert Mingkun Yang
d165d124b1 8325510: Serial: Remove redundant arg in non_clean_card_iterate
Reviewed-by: kbarrett, tschatzl, stefank
2024-02-09 11:05:42 +00:00
Axel Boldt-Christmas
71b46c38a8 8325471: CHeapBitMap(MEMFLAGS flags) constructor misleading use of super-constructor
Reviewed-by: stefank, tschatzl
2024-02-09 09:00:43 +00:00
Aggelos Biboudis
e3dc6a7a28 8314275: Incorrect stepping in switch
Reviewed-by: vromero
2024-02-09 08:52:28 +00:00
William Kemper
cc276ff0df 8325516: Shenandoah: Move heap change tracking into ShenandoahHeap
Reviewed-by: shade, kdnilsen, ysr
2024-02-09 07:42:57 +00:00
Emanuel Peter
8d9ad97c29 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields
Reviewed-by: chagedorn, thartmann
2024-02-09 05:30:20 +00:00
Koichi Sakata
b797652209 8322927: Unused code in LIR_Assembler::verify_oop_map
Reviewed-by: tholenstein, chagedorn
2024-02-09 04:49:37 +00:00
Patrick Zhang
9936aeea32 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Reviewed-by: dlong, thartmann
2024-02-08 22:50:24 +00:00
Thiago Henrique Hüpner
d91fb17a80 8325505: Fix Javadoc ResourceBundle::getString
Reviewed-by: jlu, naoto
2024-02-08 21:56:16 +00:00
Kim Barrett
10beb3184e 8325456: Rename nsk_mutex.h
Reviewed-by: coleenp, jwaters
2024-02-08 17:22:47 +00:00
Albert Mingkun Yang
0ea75b28d4 8325259: Serial: Inline OldGenScanClosure during Young GC
Reviewed-by: stefank, tschatzl
2024-02-08 16:20:09 +00:00
Albert Mingkun Yang
ab5e94777c 8325436: G1: Remove unused G1RegionMarkStats::is_clear
Reviewed-by: tschatzl
2024-02-08 14:22:20 +00:00
Christoph Langer
3c91b59ef9 8325444: GHA: JDK-8325194 causes a regression
Reviewed-by: gdams, shade, ihse
2024-02-08 14:05:20 +00:00
Prasanta Sadhukhan
e8ceb7189b 6507038: Memory Leak in JTree / BasicTreeUI
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: honkar, aivanov
2024-02-08 11:55:39 +00:00
Matthias Baesken
3d3a8f0ebf 8325432: enhance assert message "relocation addr must be in this section"
Reviewed-by: kvn, thartmann
2024-02-08 11:02:49 +00:00
Per Minborg
b58d73b915 8323746: Add PathElement hashCode and equals
Reviewed-by: mcimadamore
2024-02-08 10:54:11 +00:00
Johny Jose
917838e0a5 8325150: (tz) Update Timezone Data to 2024a
Reviewed-by: coffeys, naoto, iris
2024-02-08 09:15:42 +00:00
Alan Bateman
43089bf006 8325399: Add tests for virtual threads doing Selector operations
Reviewed-by: bpb
2024-02-08 07:56:12 +00:00
Alan Bateman
d1099033ac 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Reviewed-by: bpb
2024-02-08 07:55:08 +00:00
Jaikiran Pai
1fb9e3d674 8325304: Several classes in java.util.jar and java.util.zip don't specify the behaviour for null arguments
Reviewed-by: lancea, alanb
2024-02-08 06:35:47 +00:00
Kim Barrett
9cccf0515e 8325367: Rename nsk_list.h
Reviewed-by: coleenp
2024-02-08 00:00:00 +00:00
Chris Plummer
be7cc1c2b0 8323681: SA PointerFinder code should support G1
Reviewed-by: tschatzl, kevinw
2024-02-07 23:39:34 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Brian Burkhalter
299a8ee68d 8325302: Files.move(REPLACE_EXISTING) throws NoSuchFileException on deleted target
Reviewed-by: alanb
2024-02-07 19:02:30 +00:00
Joe Darcy
3a1f4d0f48 8325268: Add policy statement to langtools makefiles concerning warnings
Reviewed-by: ihse, jjg, vromero
2024-02-07 18:03:38 +00:00
Magnus Ihse Bursie
18e24d0619 8325109: Sort method modifiers in canonical order
Reviewed-by: aivanov, rriggs, darcy, prappo
2024-02-07 15:50:40 +00:00
Axel Boldt-Christmas
a3a2b1fbbf 8324881: ObjectSynchronizer::inflate(Thread* current...) is invoked for non-current thread
Reviewed-by: rrich, dholmes, coleenp, dcubed
2024-02-07 15:49:16 +00:00
Albert Mingkun Yang
a9c6e87c6a 8325416: Parallel: Refactor CheckForUnmarkedOops
Reviewed-by: stefank
2024-02-07 15:05:18 +00:00
Thomas Stuefe
1ecf74c296 8325306: Rename static huge pages to explicit huge pages
Reviewed-by: jsjolen, jwaters
2024-02-07 14:54:51 +00:00
Albert Mingkun Yang
c3a632dca7 8325248: Serial: Remove Generation::space_iterate
Reviewed-by: tschatzl
2024-02-07 12:21:30 +00:00
Albert Mingkun Yang
77ee7f0e24 8325221: Obsolete TLABStats
Reviewed-by: tschatzl, kbarrett
2024-02-07 12:21:21 +00:00
Daniel Lundén
4abb10eb0b 8317349: Randomize order of macro node expansion in C2
Reviewed-by: chagedorn, rcastanedalo, thartmann
2024-02-07 10:01:35 +00:00
Chen Liang
3bffe223a3 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
2024-02-07 07:54:22 +00:00
Aggelos Biboudis
e0d98dd301 8325257: jshell reports NoSuchFieldError with instanceof primitive type
Reviewed-by: mcimadamore
2024-02-07 06:59:48 +00:00
Kim Barrett
f2f634448e 8325347: Rename native_thread.h
Reviewed-by: coleenp, lmesnik
2024-02-06 23:42:08 +00:00
Joe Darcy
1797efd68d 8322218: Better escaping of single and double quotes in annotation toString() results
Reviewed-by: mchung
2024-02-06 23:22:46 +00:00
Martin Balao
0f5f3c9b97 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Reviewed-by: valeriep
2024-02-06 19:49:30 +00:00
Brian Burkhalter
4b1e367eda 8325152: Clarify specification of java.io.RandomAccessFile.setLength
Reviewed-by: alanb
2024-02-06 19:35:03 +00:00
Naoto Sato
96eb0390d6 8324665: Loose matching of space separators in the lenient date/time parsing mode
Reviewed-by: joehw, jlu
2024-02-06 17:43:12 +00:00
Kim Barrett
2d252ee06e 8325180: Rename jvmti_FollowRefObjects.h
Reviewed-by: sspitsyn, jwaters, lmesnik
2024-02-06 17:15:36 +00:00
Mandy Chung
b814c3184e 8321703: jdeps generates illegal dot file containing nodesep=0,500000
8325262: jdeps can drop printing stack trace when FindException is thrown due to modules not found

Reviewed-by: jpai, alanb
2024-02-06 17:03:57 +00:00
Shaojin Wen
50b17d9846 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers
Reviewed-by: redestad, rgiulietti
2024-02-06 15:16:40 +00:00
Kangcheng Xu
51d7169bd9 8320237: C2: late inlining of method handle invoke causes duplicate lines in PrintInlining output
Reviewed-by: roland, kvn, thartmann
2024-02-06 14:37:41 +00:00
Doug Simon
fd89b334c4 8316992: Potential null pointer from get_current_thread JVMCI helper function.
Reviewed-by: thartmann
2024-02-06 14:05:34 +00:00
George Adams
d1c82156ba 8325194: GHA: Add macOS M1 testing
Reviewed-by: clanger, ihse
2024-02-06 13:28:25 +00:00
Fredrik Bredberg
f356970b89 8322535: Change default AArch64 SpinPause instruction
Reviewed-by: eastigeevich, eosterlund, coleenp
2024-02-06 13:25:38 +00:00
Damon Fenacci
b75c134fac 8325313: Header format error in TestIntrinsicBailOut after JDK-8317299
Reviewed-by: chagedorn
2024-02-06 09:34:26 +00:00
Evgeny Astigeevich
4cd318756d 8324874: AArch64: crypto pmull based CRC32/CRC32C intrinsics clobber V8-V15 registers
Reviewed-by: aph, ngasson
2024-02-06 08:54:23 +00:00
Magnus Ihse Bursie
b02599d22e 8298046: Fix hidden but significant trailing whitespace in properties files for serviceability code
Reviewed-by: cjplummer, kevinw
2024-02-06 08:04:17 +00:00
Damon Fenacci
6d911f68a3 8317299: safepoint scalarization doesn't keep track of the depth of the JVM state
Reviewed-by: thartmann, vlivanov
2024-02-06 07:53:03 +00:00
Sonia Zaldana Calles
542b0b6656 8324126: Error message for mistyping -XX:+Unlock...Options is not helpful
Reviewed-by: dholmes, stuefe
2024-02-06 07:03:47 +00:00
Martin Doerr
9ee9f28849 8325213: Flags introduced by configure script are not passed to ADLC build
Reviewed-by: jwaters, ihse
2024-02-06 06:56:48 +00:00
Joe Darcy
729ae1d787 8325266: Enable this-escape javac warning in jdk.javadoc
Reviewed-by: jjg, erikj
2024-02-06 02:11:37 +00:00
Lei Zaakjyu
e0fd3f4dab 8325081: Move '_soft_ref_policy' to 'CollectedHeap'
Reviewed-by: kbarrett, tschatzl
2024-02-06 01:06:43 +00:00
Archie Cobbs
f1f93988fb 8323699: MessageFormat.toPattern() generates non-equivalent MessageFormat pattern
Reviewed-by: jlu, naoto
2024-02-05 23:14:50 +00:00
Daniel D. Daugherty
ab3b941783 8325270: ProblemList two compiler/intrinsics/float16 tests that fail due to JDK-8324724
Reviewed-by: vlivanov
2024-02-05 22:49:00 +00:00
Alex Menkov
f31957e6a1 8317636: Improve heap walking API tests to verify correctness of field indexes
Reviewed-by: cjplummer, sspitsyn
2024-02-05 21:57:15 +00:00
Alex Menkov
fd3042a04b 8318566: Heap walking functions should not use FilteredFieldStream
Reviewed-by: cjplummer, sspitsyn
2024-02-05 21:55:13 +00:00
Brian Burkhalter
209d87a856 8324960: Unsafe.allocateMemory documentation incorrect regarding zero return value
Reviewed-by: rriggs
2024-02-05 21:31:17 +00:00
Gerard Ziemski
7777eb5e15 8321931: memory_swap_current_in_bytes reports 0 as "unlimited"
Reviewed-by: sgehwolf, iklam
2024-02-05 19:35:43 +00:00
Bhavana Kilambi
51853f7488 8324724: Add Stub routines for FP16 conversions on aarch64
Reviewed-by: aph, ngasson
2024-02-05 18:29:32 +00:00
Eirik Bjørsnøs
c3adc61e6e 8325199: (zipfs) jdk/nio/zipfs/TestPosix.java failed 6 sub-tests
Reviewed-by: clanger, lancea
2024-02-05 17:59:59 +00:00
Tom Rodriguez
1993652653 8324983: race in CompileBroker::possibly_add_compiler_threads
Reviewed-by: kvn, dholmes, dnsimon
2024-02-05 17:43:34 +00:00
Claes Redestad
55c1446b68 8321468: Remove StringUTF16::equals
Reviewed-by: rriggs, kvn
2024-02-05 16:30:16 +00:00
Claes Redestad
19e92201b4 8325169: Reduce String::indexOf overheads
Reviewed-by: rriggs, rgiulietti, mli
2024-02-05 16:30:05 +00:00
Emanuel Peter
89e6a02e3b 8325064: C2 SuperWord: refactor construct_bb
Reviewed-by: kvn, chagedorn
2024-02-05 16:28:51 +00:00
Magnus Ihse Bursie
d395ac2879 8321373: Build should use LC_ALL=C.UTF-8
Reviewed-by: redestad, erikj
2024-02-05 14:06:16 +00:00
Albert Mingkun Yang
51671c0b92 8323809: Serial: Refactor card table verification
Reviewed-by: tschatzl, sjohanss
2024-02-05 11:18:43 +00:00
Albert Mingkun Yang
cdf918b1d0 8325134: Serial: Remove Generation::used_region
Reviewed-by: tschatzl, iwalulya
2024-02-05 10:54:41 +00:00
Daniel Lundén
4da28b40f0 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
Reviewed-by: rcastanedalo, epeter, chagedorn
2024-02-05 10:53:38 +00:00
Johan Sjölen
0377f1abe1 8325133: Missing MEMFLAGS parameter in parts of os API
Reviewed-by: stefank, gziemski
2024-02-05 09:27:07 +00:00
Aggelos Biboudis
df35462a4e 8323502: javac crash with wrongly typed method block in Flow
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jlahoda
2024-02-05 08:59:55 +00:00
Julian Waters
af32262c28 8325049: stubGenerator_ppc.cpp should use alignas
Reviewed-by: mdoerr
2024-02-05 07:00:54 +00:00
Emanuel Peter
85e320121e 8325159: C2 SuperWord: measure time for CITime
Reviewed-by: rcastanedalo, kvn
2024-02-05 06:53:51 +00:00
Amit Kumar
8796f43c6c 8315762: Update subtype check profile collection on s390x following 8308869
Reviewed-by: mdoerr, lucy
2024-02-05 06:29:48 +00:00
Wang Zhuo
80642dd7af 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
Reviewed-by: ayang, tschatzl
2024-02-05 06:19:02 +00:00
Eirik Bjørsnøs
692c9f8821 8325201: (zipfs) Disable TestPosix.setPermissionsShouldConvertToUnix which fails on Windows
Reviewed-by: lancea
2024-02-04 21:01:37 +00:00
Hamlin Li
ed068469f3 8325037: x86: enable and fix hotspot/jtreg/compiler/vectorization/TestRoundVectFloat.java
Reviewed-by: thartmann, kvn, jbhateja
2024-02-04 09:46:15 +00:00
Eirik Bjørsnøs
a18b03b86f 8324635: (zipfs) Regression in Files.setPosixFilePermissions called on existing MSDOS entries
Reviewed-by: lancea
2024-02-02 21:50:13 +00:00
Chris Plummer
7476e29053 8323680: SA PointerFinder code can do a better job of leveraging existing code to determine if an address is in the TLAB
Reviewed-by: kevinw, sspitsyn
2024-02-02 20:41:37 +00:00
Eirik Bjørsnøs
63cb1f8818 8321396: Retire test/jdk/java/util/zip/NoExtensionSignature.java
Reviewed-by: lancea
2024-02-02 20:21:46 +00:00
Eirik Bjørsnøs
f613e13397 8313739: ZipOutputStream.close() should always close the wrapped stream
Reviewed-by: jpai, lancea
2024-02-02 20:20:36 +00:00
Joe Darcy
adc3604027 8325148: Enable restricted javac warning in java.base
Reviewed-by: erikj, jvernee, mcimadamore, pminborg, ihse
2024-02-02 17:47:28 +00:00
Paul Sandoz
1ae851387f 8324858: [vectorapi] Bounds checking issues when accessing memory segments
Reviewed-by: mcimadamore, jbhateja
2024-02-02 16:53:10 +00:00
Mark Powers
38c01971ff 8318105: [jmh] the test java.security.HSS failed with 2 active threads
Reviewed-by: ascarpino
2024-02-02 16:30:46 +00:00
Kim Barrett
6787c4c3dd 8325055: Rename Injector.h
Reviewed-by: dholmes, amenkov, sspitsyn
2024-02-02 16:19:08 +00:00
Doug Simon
91d8dac9cf 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Reviewed-by: dholmes, sspitsyn
2024-02-02 10:44:42 +00:00
Pasam Soujanya
783ae56634 8311893: Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
Reviewed-by: hannesw
2024-02-02 09:01:45 +00:00
Justin Lu
d3c3194ac3 6285888: ChoiceFormat can support unescaped relational symbols in the Format segment
Reviewed-by: naoto
2024-02-01 22:21:45 +00:00
Joe Darcy
144a08ee50 8325078: Better escaping of single and double quotes in javac annotation toString() results
Reviewed-by: jlahoda
2024-02-01 20:20:33 +00:00
Coleen Phillimore
b3ecd55601 8324679: Replace NULL with nullptr in HotSpot .ad files
Reviewed-by: kvn
2024-02-01 19:39:54 +00:00
Chris Plummer
192349eee4 8324066: "clhsdb jstack" should not by default scan for j.u.c locks because it can be very slow
Reviewed-by: kevinw, amenkov
2024-02-01 19:24:39 +00:00
Denghui Dong
6b09a79d64 8324974: JFR: EventCompilerPhase should be created as UNTIMED
Reviewed-by: egahlin
2024-02-01 15:52:25 +00:00
Tejesh R
70e7cdcb9e 8323670: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: aivanov, serb
2024-02-01 14:05:06 +00:00
Sean Coffey
ac1cd31949 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Reviewed-by: weijun
2024-02-01 13:54:03 +00:00
Magnus Ihse Bursie
8e45182357 8324834: Use _LARGE_FILES on AIX
Reviewed-by: erikj, mbaesken
2024-02-01 13:09:11 +00:00
Matthias Baesken
cab74b075e 8324287: Record total and free swap space in JFR
Reviewed-by: jbechberger, lucy, egahlin
2024-02-01 12:50:18 +00:00
Per Minborg
6b84f9bb3e 8325001: Typo in the javadocs for the Arena::ofShared method
Reviewed-by: dfuchs
2024-02-01 11:53:02 +00:00
Albert Mingkun Yang
cd11059f10 8325053: Serial: Move Generation::save_used_region to TenuredGeneration
Reviewed-by: stefank, ehelin
2024-02-01 11:00:09 +00:00
Kevin Walls
d9331bfd49 8324845: management.properties text "interface name" is misleading
Reviewed-by: mchung, alanb
2024-02-01 09:18:08 +00:00
Daniel Jeliński
68206b533b 8324585: JVM native memory leak in PCKS11-NSS security provider
Reviewed-by: valeriep
2024-02-01 08:37:24 +00:00
Aleksey Shipilev
1aba78f272 8324937: GHA: Avoid multiple test suites per job
Reviewed-by: erikj, clanger
2024-02-01 08:11:46 +00:00
Jaikiran Pai
a663248786 8324668: JDWP process management needs more efficient file descriptor handling
Reviewed-by: gziemski, dholmes, cjplummer
2024-02-01 05:55:58 +00:00
Julian Waters
a2229b18bf 8324838: test_nmt_locationprinting.cpp broken in the gcc windows build
Reviewed-by: dholmes, kevinw, jsjolen
2024-02-01 05:54:57 +00:00
SendaoYan
432756b6e5 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Reviewed-by: jnimeh, fyang
2024-02-01 03:08:33 +00:00
John Jiang
fe78c0f191 8325022: Incorrect error message on client authentication
Reviewed-by: jnimeh, hchao, djelinski
2024-02-01 02:35:34 +00:00
Vladimir Kozlov
5b9b176c67 8324174: assert(m->is_entered(current)) failed: invariant
Reviewed-by: epeter, dlong, thartmann
2024-01-31 19:42:02 +00:00
Kim Barrett
0cc8e5beed 8325042: remove unused JVMDITools test files
Reviewed-by: coleenp
2024-01-31 19:19:21 +00:00
Per Minborg
f2920533e9 8323621: JDK build should exclude snippet class in java.lang.foreign
Reviewed-by: mcimadamore
2024-01-31 17:59:50 +00:00
Harshitha Onkar
62c9530c05 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Reviewed-by: azvegint, dnguyen
2024-01-31 17:42:00 +00:00
Rajat Mahajan
1f2922ad85 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Reviewed-by: honkar, aivanov
2024-01-31 17:35:50 +00:00
William Kemper
2cd1ba6a52 8324981: Shenandoah: Move commit and soft max heap changed methods into heap
Reviewed-by: shade
2024-01-31 16:42:44 +00:00
Aggelos Biboudis
1733d2ea24 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, jlahoda
2024-01-31 14:18:13 +00:00
Eirik Bjørsnøs
66971600f7 8320712: Rewrite BadFactoryTest in pure Java
Reviewed-by: jpai, sundar
2024-01-31 13:59:19 +00:00
Albert Mingkun Yang
725314fb73 8324771: Obsolete RAMFraction related flags
Reviewed-by: dholmes, mbaesken, tschatzl
2024-01-31 12:44:39 +00:00
Albert Mingkun Yang
ec6c35c4ac 8324970: Serial: Refactor signature of maintain_old_to_young_invariant
Reviewed-by: tschatzl
2024-01-31 12:44:29 +00:00
Lance Andersen
b5c267fc8a 8324632: Update Zlib Data Compression Library to Version 1.3.1
Reviewed-by: iris, alanb
2024-01-31 11:06:01 +00:00
Per Minborg
ec56c72b51 8323601: Improve LayoutPath.PathElement::toString
Reviewed-by: jvernee
2024-01-31 09:54:03 +00:00
Varada M
f7121de4a0 8322648: Improve class initialization barrier in TemplateTable::_new for PPC
Reviewed-by: mdoerr
2024-01-31 06:12:35 +00:00
Tejesh R
577de17d24 8259550: The content of the print out displayed incomplete with the NimbusLAF
Reviewed-by: dnguyen, psadhukhan, abhiscxk
2024-01-31 05:26:30 +00:00
Amit Kumar
83b3c9b3ee 8322649: Improve class initialization barrier in TemplateTable::_new for S390
Reviewed-by: mdoerr, lucy
2024-01-31 04:41:50 +00:00
Leonid Mesnik
7d1a48807a 8324861: Exceptions::wrap_dynamic_exception() doesn't have ResourceMark
Reviewed-by: dholmes, coleenp
2024-01-30 23:56:04 +00:00
Eirik Bjørsnøs
c3c1d5bd12 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Reviewed-by: naoto, iris
2024-01-30 23:52:37 +00:00
Leonid Mesnik
8892d45b9f 8324582: Replace -Djava.util.concurrent.ForkJoinPool.common.parallelism to -Djdk.virtualThreadScheduler.maxPoolSize in jvmti vthread tests
Reviewed-by: cjplummer, sspitsyn
2024-01-30 21:05:12 +00:00
Emanuel Peter
11e28bd619 8324794: C2 SuperWord: do not ignore reductions in SuperWord::unrolling_analysis
Reviewed-by: chagedorn, kvn
2024-01-30 20:14:20 +00:00
Calvin Cheung
d51aaf6304 8323950: Null CLD while loading shared lambda proxy class with javaagent active
Reviewed-by: matsaave, iklam
2024-01-30 20:00:10 +00:00
Kim Barrett
f57c7223cf 8324880: Rename get_stack_trace.h
Reviewed-by: dholmes, jwaters, sspitsyn
2024-01-30 18:10:25 +00:00
Roman Kennke
f0024f585d 8324734: Relax too-strict assert(VM_Version::supports_evex()) in Assembler::locate_operand()
Co-authored-by: Vladimir Kozlov <kvn@openjdk.org>
Reviewed-by: kvn, shade
2024-01-30 13:26:10 +00:00
Albert Mingkun Yang
fd8adf3083 8324856: Serial: Move Generation::is_in to DefNewGeneration
Reviewed-by: stefank, tschatzl
2024-01-30 08:52:17 +00:00
Gui Cao
a1d65eb6d8 8324125: Improve class initialization barrier in TemplateTable::_new for RISC-V
Reviewed-by: fyang, rehn
2024-01-30 02:07:20 +00:00
Vladimir Kozlov
b6d364ad88 8324865: windows-x64-slowdebug still does not build after JDK-8324840
Reviewed-by: dholmes, dcubed
2024-01-30 01:08:18 +00:00
Vladimir Petko
64c3642c57 8242564: javadoc crashes:: class cast exception com.sun.tools.javac.code.Symtab$6
Reviewed-by: jjg
2024-01-29 21:28:49 +00:00
Aleksey Shipilev
e999dfcb40 8323503: x86: Shorter movptr(reg, imm) for 32-bit unsigned immediates
Reviewed-by: stuefe, kvn, eastigeevich
2024-01-29 20:25:32 +00:00
Joshua Cao
84deeb6cd5 8324667: fold Parse::seems_stable_comparison()
Reviewed-by: jkarthikeyan, chagedorn, xliu
2024-01-29 19:54:42 +00:00
Doug Simon
fb07bbe7b2 8324717: Remove HotSpotJVMCICompilerFactory
Reviewed-by: thartmann, never
2024-01-29 19:12:44 +00:00
Harshitha Onkar
d1e676360d 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Reviewed-by: prr, tr
2024-01-29 18:03:30 +00:00
Coleen Phillimore
c1281e6b45 8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: kbarrett, dholmes, jwaters
2024-01-29 17:12:13 +00:00
Coleen Phillimore
a6bdee48f3 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: kevinw, kbarrett, dholmes
2024-01-29 17:07:32 +00:00
Aleksey Shipilev
951b5f8ecb 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Reviewed-by: sgehwolf, ihse
2024-01-29 15:13:44 +00:00
Thomas Schatzl
fe0eec7e20 8324840: windows-x64-slowdebug does not build anymore after JDK-8317572
Reviewed-by: epeter
2024-01-29 13:55:00 +00:00
Albert Mingkun Yang
4df04f0ec9 8324769: Serial: Remove unused TenuredGeneration::unsafe_max_alloc_nogc
Reviewed-by: tschatzl
2024-01-29 12:42:10 +00:00
Emanuel Peter
3066d49cc1 8317572: C2 SuperWord: refactor/improve TraceSuperWord, replace VectorizeDebugOption with TraceAutoVectorization
Reviewed-by: chagedorn, kvn
2024-01-29 10:13:43 +00:00
Denghui Dong
7a300b63b5 8324213: C1: There is no need for Canonicalizer to handle IfOp
Reviewed-by: dlong, chagedorn
2024-01-29 09:47:24 +00:00
Kuai Wei
628348d3e9 8324186: Use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: fyang, aph
2024-01-29 09:33:22 +00:00
Christian Hagedorn
72ba8178a8 8324236: compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
Reviewed-by: kvn
2024-01-29 09:20:52 +00:00
Hamlin Li
b39b876493 8324304: RISC-V: add hw probe flags
Reviewed-by: fyang, rehn
2024-01-29 09:17:46 +00:00
Daniel Lundén
69586e7bdf 8322996: BoxLockNode creation fails with assert(reg < CHUNK_SIZE) failed: sanity
Reviewed-by: rcastanedalo, kvn
2024-01-29 09:14:26 +00:00
Emanuel Peter
f0bae7939a 8324750: C2: rename Matcher methods using "superword" -> "autovectorization"
Reviewed-by: kvn, chagedorn
2024-01-29 08:50:35 +00:00
Emanuel Peter
6ad78ca8a5 8324775: C2 SuperWord: refactor visited sets
Reviewed-by: kvn, chagedorn
2024-01-29 08:46:34 +00:00
Tobias Holenstein
422020c4d6 8210858: AArch64: remove Math.log intrinsic
Reviewed-by: ngasson, shade
2024-01-29 08:37:06 +00:00
Thomas Schatzl
0d5f5e15d4 8322484: 22-b26 Regression in J2dBench-bimg_misc-G1 (and more) on Windows-x64 and macOS-x64
Reviewed-by: kbarrett, ayang
2024-01-29 08:36:51 +00:00
Julian Waters
af9cd975ce 8324800: gcc windows build broken after 8322757
Reviewed-by: kbarrett, dholmes
2024-01-29 08:03:20 +00:00
Matthias Baesken
8950d68ddb 8324753: [AIX] adjust os_posix after JDK-8318696
Reviewed-by: jkern, stuefe, kbarrett, dholmes
2024-01-29 07:38:32 +00:00
Emanuel Peter
65d6bc1d4c 8324765: C2 SuperWord: remove dead code: SuperWord::insert_extracts
Reviewed-by: kvn, chagedorn
2024-01-29 07:00:12 +00:00
Emanuel Peter
525c0cd09f 8324752: C2 Superword: remove SuperWordRTDepCheck
Reviewed-by: kvn, chagedorn
2024-01-29 06:54:50 +00:00
Joe Darcy
2e748c998e 8175386: Clarify exception behavior of Types utility methods
Reviewed-by: jjg
2024-01-26 22:33:17 +00:00
Daniel D. Daugherty
70f4a4e18e 8324786: validate-source fails after JDK-8042981
Reviewed-by: darcy
2024-01-26 22:01:07 +00:00
Joe Darcy
ed3272cc44 8042981: Strip type annotations in Types' utility methods
Co-authored-by: Liam Miller-Cushon <cushon@openjdk.org>
Reviewed-by: cushon, jjg, jlahoda
2024-01-26 20:55:46 +00:00
Daniel D. Daugherty
6d1856234f 8324785: ProblemList two tests on linux due to JDK-8315923
Reviewed-by: rriggs
2024-01-26 20:18:08 +00:00
Vicente Romero
91d8ea79d9 8323835: Updating ASM to 9.6 for JDK 23
Reviewed-by: mchung
2024-01-26 18:34:56 +00:00
Liming Liu
a65a89522d 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly
Reviewed-by: jsjolen, stuefe
2024-01-26 16:42:46 +00:00
Volker Simonis
62b3293df0 8324241: Always record evol_method deps to avoid excessive method flushing
Reviewed-by: eastigeevich, phh, coleenp, dlong, shade
2024-01-26 13:11:58 +00:00
Albert Mingkun Yang
885e9b76d6 8324722: Serial: Inline block_is_obj of subclasses of Generation
Reviewed-by: stefank, tschatzl
2024-01-26 13:03:59 +00:00
Albert Mingkun Yang
32ddcf504c 8324301: Obsolete MaxGCMinorPauseMillis
Reviewed-by: kbarrett, tschatzl
2024-01-26 13:03:50 +00:00
Aleksey Shipilev
c313d451a5 8324659: GHA: Generic jtreg errors are not reported
Reviewed-by: erikj, jwaters, stuefe
2024-01-26 08:51:00 +00:00
Sergey Bylokhov
781f368d42 8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
Reviewed-by: erikj, azvegint, jwaters, aivanov
2024-01-26 08:46:34 +00:00
Matthias Baesken
33324a59cc 8324637: [aix] Implement support for reporting swap space in jdk.management
Reviewed-by: kevinw, stuefe
2024-01-26 07:57:29 +00:00
Alisen Chung
10066cd4ef 8324571: JDK 23 L10n resource files update
Reviewed-by: jlu, jjg
2024-01-26 03:47:19 +00:00
Wang Zhuo
bde87895c8 8324123: aarch64: fix prfm literal encoding in assembler
Reviewed-by: aph, dlong
2024-01-26 02:30:49 +00:00
Joe Darcy
b5995a76f7 8302019: Clarify Elements.overrides
Reviewed-by: prappo, jjg
2024-01-25 22:17:07 +00:00
Daniel Jeliński
95310eab6c 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Reviewed-by: dfuchs
2024-01-25 22:01:18 +00:00
Kim Barrett
39b756a0d1 8324492: Remove Atomic support for OopHandle
Reviewed-by: aboldtch, coleenp
2024-01-25 18:35:20 +00:00
Aleksey Shipilev
12b89cd2ee 8323717: Introduce test keyword for tests that need external dependencies
Reviewed-by: dholmes, lmesnik
2024-01-25 18:03:16 +00:00
Emanuel Peter
746a08686b 8306767: Concurrent repacking of extra data in MethodData is potentially unsafe
Reviewed-by: eosterlund, roland, coleenp, never
2024-01-25 15:50:33 +00:00
Roger Riggs
ffe3bb6763 8324657: Intermittent OOME on exception message create
Reviewed-by: lancea, iris, naoto
2024-01-25 14:51:50 +00:00
Albert Mingkun Yang
e709842eae 8324636: Serial: Remove Generation::block_is_obj
Reviewed-by: stefank, ysr
2024-01-25 14:25:45 +00:00
Matthias Baesken
7a798d3ceb 8324598: use mem_unit when working with sysinfo memory and swap related information
Reviewed-by: dholmes, mdoerr
2024-01-25 10:36:00 +00:00
Jatin Bhateja
6d36eb78ad 8322768: Optimize non-subword vector compress and expand APIs for AVX2 target.
Reviewed-by: epeter, sviswanathan
2024-01-25 10:07:50 +00:00
Jaikiran Pai
9d1a6d1484 8323645: Remove unused internal sun.net.www.protocol.jar.URLJarFileCallBack interface
Reviewed-by: alanb, dfuchs
2024-01-25 09:35:35 +00:00
Kim Barrett
3059c3b69e 8324242: Avoid null check for OopHandle::ptr_raw()
Reviewed-by: shade, jsjolen, coleenp
2024-01-25 05:44:18 +00:00
David Holmes
929af9ed03 8307788: vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java timed out
Reviewed-by: lmesnik, shade
2024-01-25 05:26:13 +00:00
MaxXSoft
e7fdac9d5c 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Reviewed-by: rehn, fyang
2024-01-25 03:10:28 +00:00
Justin Lu
3d32c460eb 6503196: API doc for DecimalFormat::getMaximumIntegerDigits is unclear
Reviewed-by: naoto, iris
2024-01-24 23:42:53 +00:00
Jie Fu
2d5cb97288 8324647: Invalid test group of lib-test after JDK-8323515
Reviewed-by: shade
2024-01-24 23:25:17 +00:00
Alexander Zuev
6212264cc6 8320692: Null icon returned for .exe without custom icon
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2024-01-24 22:10:28 +00:00
William Kemper
32eb5290c2 8324553: Shenandoah: Move periodic tasks closer to their collaborators
Reviewed-by: kdnilsen, shade
2024-01-24 19:15:21 +00:00
Christian Stein
c702dcabf8 8323815: Source launcher should find classes with $ in names
Reviewed-by: jlahoda, sundar
2024-01-24 19:05:15 +00:00
Joshua Cao
c432dc008b 8322149: ConcurrentHashMap smarter presizing for copy constructor and putAll
Reviewed-by: shade, simonis
2024-01-24 18:52:38 +00:00
Aleksey Shipilev
fb822e49f2 8324514: ClassLoaderData::print_on should print address of class loader
Reviewed-by: kbarrett, coleenp
2024-01-24 17:40:22 +00:00
Raffaello Giulietti
00bb6bf509 8324220: jdk/jfr/event/io/TestSerializationMisdeclarationEvent.java had 22 failures
Reviewed-by: egahlin
2024-01-24 16:19:46 +00:00
Albert Mingkun Yang
bccd823c8e 8324613: Serial: Rename GenerationPool to TenuredGenerationPool
Reviewed-by: stefank
2024-01-24 13:03:03 +00:00
Thomas Schatzl
8c003d83c4 8321512: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java fails on 32-bit platforms
Reviewed-by: shade, iwalulya
2024-01-24 12:00:17 +00:00
Magnus Ihse Bursie
67f29b16ef 8324537: Remove superfluous _FILE_OFFSET_BITS=64
Reviewed-by: shade, erikj, kbarrett
2024-01-24 10:09:05 +00:00
Albert Mingkun Yang
1c1cb048cd 8324512: Serial: Remove Generation::Name
Reviewed-by: stefank, iwalulya, cjplummer
2024-01-24 10:02:28 +00:00
Albert Mingkun Yang
b65e5eb14e 8324543: Remove Space::object_iterate
Reviewed-by: stefank, kbarrett
2024-01-24 10:02:18 +00:00
David Holmes
6d2f6408e4 8324578: [BACKOUT] [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Reviewed-by: darcy, kvn
2024-01-24 03:14:01 +00:00
William Kemper
c17059dee7 8324334: Shenandoah: Improve end of process report
Reviewed-by: kdnilsen, ysr
2024-01-24 02:08:11 +00:00
Justin Lu
96607df7f0 8321545: Override toString() for Format subclasses
Reviewed-by: naoto, rriggs
2024-01-23 22:22:16 +00:00
Chris Plummer
edfee7f348 8323546: Cleanup jcmd docs for Compiler.perfmap and VM.cds filename parameter
Reviewed-by: dholmes, sspitsyn, iklam
2024-01-23 20:33:49 +00:00
Aleksey Shipilev
8b9bf75880 8323515: Create test alias "all" for all test roots
Reviewed-by: dholmes, alanb, joehw, lmesnik
2024-01-23 17:03:35 +00:00
Gerard Ziemski
3d8236367d 8300088: [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Reviewed-by: dholmes, fparain, dcubed
2024-01-23 16:15:59 +00:00
Albert Mingkun Yang
2a01c798d3 8324513: Inline ContiguousSpace::object_iterate_from
Reviewed-by: stefank
2024-01-23 15:51:58 +00:00
Darragh Clarke
fbaaac63d4 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Reviewed-by: dfuchs, djelinski
2024-01-23 14:07:17 +00:00
sendaoYan
791b427f44 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Reviewed-by: sgehwolf
2024-01-23 13:19:49 +00:00
Hamlin Li
bcaad515fd 8318228: RISC-V: C2 ConvF2HF
Reviewed-by: fyang, vkempik
2024-01-23 12:02:28 +00:00
Albert Mingkun Yang
5acd37fa96 8324207: Serial: Remove Space::set_saved_mark_word
Reviewed-by: tschatzl, stefank
2024-01-23 09:40:09 +00:00
Albert Mingkun Yang
f5e6d111b1 8324210: Serial: Remove unused methods in Generation
Reviewed-by: tschatzl, stefank
2024-01-23 09:38:47 +00:00
Kim Barrett
bcb340da09 8324286: Fix backsliding on use of nullptr instead of NULL
Reviewed-by: jsjolen, coleenp, jwaters
2024-01-23 08:49:46 +00:00
Matthias Baesken
3696765b7d 8323964: runtime/Thread/ThreadCountLimit.java fails intermittently on AIX
Reviewed-by: dholmes, stuefe
2024-01-23 08:17:00 +00:00
David Holmes
5a74c2a67e 8323438: Enhance assertions for Windows sync API failures
Reviewed-by: ccheung, jwaters, dcubed
2024-01-23 01:09:14 +00:00
Vladimir Kozlov
52523d33dd 8324050: Issue store-store barrier after re-materializing objects during deoptimization
Reviewed-by: dlong, shade
2024-01-22 22:50:32 +00:00
Y. Srinivas Ramakrishna
df370d725e 8314329: AgeTable: add is_clear() & allocation spec, and relax assert to allow use of 0-index slot
AgeTable changes:
1. add CHeap allocation spec
2. add a non-product const is_clear() method to check if the age table has only zero entries
3. relax the assertion that the 0th index of the age table is never used, to allow use of that slot

Reviewed-by: wkemper, kdnilsen, ayang, shade
2024-01-22 19:51:47 +00:00
Naoto Sato
0d8543d677 8324065: Daylight saving information for Africa/Casablanca are incorrect
Reviewed-by: iris, joehw, jlu
2024-01-22 17:15:53 +00:00
Jan Lahoda
c9cacfb25d 8323657: Compilation of snippet results in VerifyError at runtime with --release 9 (and above)
Reviewed-by: vromero
2024-01-22 13:06:19 +00:00
Aleksey Shipilev
bde650f21e 8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
Reviewed-by: dholmes, simonis, coleenp
2024-01-22 12:30:36 +00:00
Tobias Holenstein
be943a9fd6 8321984: IGV: Upgrade to Netbeans Platform 20
Reviewed-by: rcastanedalo, chagedorn
2024-01-22 12:18:22 +00:00
Johan Sjölen
d3b2ac1507 8314186: runtime/8176717/TestInheritFD.java failed with "Log file was leaked"
Reviewed-by: lkorinth, dholmes
2024-01-22 11:03:39 +00:00
Jan Lahoda
72f199024d 8323057: Recoverable errors may be reported before unrecoverable errors when annotation processing is skipped
Reviewed-by: vromero
2024-01-22 10:55:10 +00:00
Emanuel Peter
c84af49386 8324129: C2: Remove some ttyLocker usages in preparation for JDK-8306767
Reviewed-by: kvn, vlivanov, dholmes
2024-01-22 10:41:36 +00:00
Hamlin Li
fd372629f7 8323748: RISC-V: Add Zfh probe code
Reviewed-by: fyang
2024-01-22 10:14:25 +00:00
Cesar Soares Lucas
76afa02dab 8322572: AllocationMergesTests.java fails with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: kvn, thartmann
2024-01-22 08:22:33 +00:00
Martin Desruisseaux
2003610b3b 8323108: BufferedImage.setData(Raster) should not cast float and double values to integers
Reviewed-by: prr, bpb, serb
2024-01-21 23:47:51 +00:00
Kim Barrett
a474b37212 8324240: Remove unused GrowableArrayView::EMPTY
Reviewed-by: dcubed
2024-01-21 02:28:54 +00:00
Erik Gahlin
68b5aab020 8324229: JFR: Temporarily disable assertion for missing object reference
Reviewed-by: mgronlun
2024-01-20 18:21:45 +00:00
Jonathan Gibbons
f54a336cb7 8324231: bad command-line option in make/Docs.gmk
Reviewed-by: erikj
2024-01-20 18:12:44 +00:00
Sam James
f4d08ccf80 8318696: Do not use LFS64 symbols on Linux
Reviewed-by: ihse, dholmes, kbarrett, mbaesken
2024-01-20 09:49:44 +00:00
Magnus Ihse Bursie
9049402a1b 8323675: Race in jdk.javadoc-gendata
Reviewed-by: erikj, jlahoda
2024-01-19 22:31:23 +00:00
Harshitha Onkar
f1b73350c2 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Reviewed-by: dnguyen, azvegint, kizune
2024-01-19 21:42:34 +00:00
Serguei Spitsyn
8700de66e4 8322744: VirtualThread.notifyJvmtiDisableSuspend should be static
Reviewed-by: pchilanomate, alanb
2024-01-19 18:40:55 +00:00
Mandy Chung
6c0bebccb0 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Reviewed-by: jlaskey
2024-01-19 17:42:55 +00:00
Calvin Cheung
437342b93e 8323556: CDS archive space addresses should be randomized with ArchiveRelocationMode=1
Reviewed-by: iklam, matsaave
2024-01-19 17:11:01 +00:00
Calvin Cheung
39005e27d6 8324041: ModuleOption.java failed with update release versioning scheme
Reviewed-by: dholmes, mbaesken
2024-01-19 17:02:29 +00:00
Coleen Phillimore
2865afe759 8323685: PrintSystemDictionaryAtExit has mutex rank assert
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, ayang
2024-01-19 16:54:03 +00:00
Christian Hagedorn
6997bfc68d 8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
Reviewed-by: roland, thartmann, qamai
2024-01-19 15:49:02 +00:00
Roman Kennke
16be38887f 8322383: G1: Only preserve marks on objects that are actually moved
Reviewed-by: ayang, tschatzl
2024-01-19 12:59:21 +00:00
Albert Mingkun Yang
0081d8c07f 8324147: Serial: Remove generation::compute_new_size
Reviewed-by: ehelin
2024-01-19 11:48:34 +00:00
Matthias Baesken
5f7141982c 8322366: Add IEEE rounding mode corruption check to JNI checks
Reviewed-by: dholmes, lucy
2024-01-19 09:10:37 +00:00
Matthias Baesken
05330227be 8222719: libperfstat on AIX - cleanup old API versions
Reviewed-by: goetz, clanger
2024-01-19 08:14:13 +00:00
Tejesh R
05dad67cc2 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
Reviewed-by: prr, serb
2024-01-19 05:57:02 +00:00
Pavel Rappo
9efdd242fb 8324053: Use the blessed modifier order for sealed in java.base
Reviewed-by: naoto, darcy, ihse, dfuchs
2024-01-18 22:28:23 +00:00
Hannes Wallnöfer
81df265e41 8320458: Improve structural navigation in API documentation
Reviewed-by: erikj, jjg
2024-01-18 19:06:26 +00:00
Joe Darcy
a6c0b10704 8323684: TypeMirror.{getAnnotationsByType, getAnnotation} return uninformative results
Reviewed-by: jjg
2024-01-18 19:04:26 +00:00
Daniel D. Daugherty
5c874c19cb 8324161: validate-source fails after JDK-8275338
Reviewed-by: darcy
2024-01-18 17:42:55 +00:00
Matthew Donovan
b6233c3de7 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Reviewed-by: rhalade
2024-01-18 17:33:31 +00:00
Raffaello Giulietti
bfd2afe5ad 8275338: Add JFR events for notable serialization situations
Reviewed-by: rriggs, egahlin
2024-01-18 17:05:35 +00:00
Claes Redestad
4c1a0fc58f 8323995: Suppress notes generated on incremental microbenchmark builds
Reviewed-by: erikj, ihse
2024-01-18 15:40:39 +00:00
Albert Mingkun Yang
a2b117ae02 8324132: G1: Remove unimplemented G1MonitoringSupport::recalculate_eden_size
Reviewed-by: tschatzl
2024-01-18 15:23:11 +00:00
Albert Mingkun Yang
8e534598b5 8323993: Serial: Refactor gc_prologue and gc_epilogue
Reviewed-by: stefank, ehelin
2024-01-18 15:22:56 +00:00
Daniel D. Daugherty
aeb304b29e 8324074: increase timeout for jvmci test TestResolvedJavaMethod.java
Reviewed-by: stuefe, thartmann
2024-01-18 13:16:05 +00:00
Daniel D. Daugherty
a22ae909bc 8321938: java/foreign/critical/TestCriticalUpcall.java does not need a core file
Reviewed-by: dholmes
2024-01-18 13:15:55 +00:00
Daniel D. Daugherty
806ffb1085 8324082: more monitoring test timeout adjustments
Reviewed-by: kevinw, sspitsyn
2024-01-18 13:15:45 +00:00
Patricio Chilano Mateo
52f787f675 8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs
Reviewed-by: fparain, dlong
2024-01-18 12:16:26 +00:00
Song Pham
cbfddf4e1d 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Reviewed-by: honkar, aivanov, shurailine
2024-01-18 10:03:47 +00:00
Andrew Leonard
57fad67781 8323667: Library debug files contain non-reproducible full gcc include paths
Reviewed-by: erikj, ihse
2024-01-18 09:56:54 +00:00
Gui Cao
ff8cc268fd 8323694: RISC-V: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Reviewed-by: fyang, rehn
2024-01-18 02:28:54 +00:00
Renjith Kannath Pariyangad
dadd9cd1e8 8316497: ColorConvertOp - typo for non-ICC conversions needs one-line fix
Co-authored-by: Sergey Bylokhov <serb@openjdk.org>
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, serb
2024-01-18 01:23:30 +00:00
Sergey Bylokhov
de237fb058 8323554: The typos in Javadoc: "@return if "
Reviewed-by: prr
2024-01-17 19:35:05 +00:00
Anthony Scarpino
51dbd36c74 8322100: Fix GCMIncrementByte4 & GCMIncrementDirect4, and increase overlap testing
Reviewed-by: jnimeh
2024-01-17 18:08:38 +00:00
Artem Semenov
ffa33d7b80 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: kizune
2024-01-17 16:44:27 +00:00
Brian Burkhalter
4e5323538c 8323710: (fc) FileChannel.lock creates a FileKey with a poor hashCode after JDK-8321429 (win)
Reviewed-by: alanb
2024-01-17 16:34:48 +00:00
Brian Burkhalter
19287eeeb2 8321561: (fs) Clarify non-atomic behavior of Files.move
Reviewed-by: alanb
2024-01-17 16:34:33 +00:00
Claes Redestad
8b29e127c2 8323794: Remove unused jimage compressor plugin configuration
Reviewed-by: jlaskey, mchung
2024-01-17 15:41:13 +00:00
Aleksey Shipilev
7be9f1d054 8321137: Reconsider ICStub alignment
Reviewed-by: dlong, eosterlund, mdoerr, fyang, aph
2024-01-17 12:48:37 +00:00
Alan Bateman
b8dafa642e 8323612: IOVecWrapper should be changed to be TerminatingThreadLocal
Reviewed-by: bpb
2024-01-17 10:56:17 +00:00
Albert Mingkun Yang
f2a4ed680b 8323779: Serial: Remove Generation::promotion_attempt_is_safe
Reviewed-by: stefank, cjplummer
2024-01-17 10:25:00 +00:00
Joachim Kern
22642ff0aa 8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case
Reviewed-by: mbaesken, amenkov
2024-01-17 09:34:09 +00:00
Tobias Holenstein
b89172149d 8316756: C2 EA fails with "missing memory path" when encountering unsafe_arraycopy stub call
Co-authored-by: Vladimir Kozlov <kvn@openjdk.org>
Reviewed-by: kvn, thartmann, chagedorn
2024-01-17 08:07:04 +00:00
Roberto Castañeda Lozano
bf666bc0c7 8322692: ZGC: avoid over-unrolling due to hidden barrier size
Reviewed-by: eosterlund, kvn
2024-01-17 07:50:03 +00:00
Richard Reingruber
de97c0eb4b 8290965: PPC64: Implement post-call NOPs
Reviewed-by: mdoerr
2024-01-17 06:50:32 +00:00
Prasanta Sadhukhan
f70667ea68 8318112: CSS percentage values are capped at 100%
Reviewed-by: tr, prr
2024-01-17 02:28:36 +00:00
Henry Jen
2063bb8ffa Merge
Reviewed-by: erikj
2024-01-17 01:41:52 +00:00
Joe Darcy
d8b63370f3 8323839: Expand use of Messager convenience methods in langtools regression tests
Reviewed-by: jjg
2024-01-17 00:29:05 +00:00
John Jiang
43d2d68da5 8320449: ECDHKeyAgreement should validate parameters before using them
Reviewed-by: mullan
2024-01-16 22:54:45 +00:00
Joshua Cao
b058063c40 8323820: [MacOS] build failure: non-void function does not return a value
Reviewed-by: shade, lucy
2024-01-16 22:01:21 +00:00
Doug Simon
19c9388c20 8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE
Reviewed-by: thartmann, never
2024-01-16 19:31:04 +00:00
Jonathan Gibbons
b533272ecb 8299627: Fix/improve handling of "missing" element-list file
Reviewed-by: hannesw
2024-01-16 18:41:25 +00:00
Thomas Schatzl
1007618f6f 8323731: Unproblemlist gc/stress/TestStressG1Humongous.java
Reviewed-by: ehelin
2024-01-16 14:42:32 +00:00
Albert Mingkun Yang
790871e908 8323800: Serial: Fix include guard macro in generation.hpp
Reviewed-by: stefank
2024-01-16 14:26:22 +00:00
Stefan Karlsson
0216f5de55 8323730: Tweak TestZAllocationStallEvent.java to allocate smaller objects
Reviewed-by: aboldtch, sjohanss
2024-01-16 14:26:10 +00:00
Erik Gahlin
21f647310b 8322675: JFR: Fail-fast mode when constants cannot be resolved
Reviewed-by: mgronlun
2024-01-16 13:59:29 +00:00
Markus Grönlund
e2d6023cb9 8323631: JfrTypeSet::write_klass can enqueue a CLD klass that is unloading
Reviewed-by: egahlin
2024-01-16 13:31:03 +00:00
Jorn Vernee
2fd775f69c 8323651: compiler/c2/irTests/TestPrunedExHandler.java fails with -XX:+DeoptimizeALot
Reviewed-by: alanb, kvn
2024-01-16 13:25:49 +00:00
Chris Hegarty
ee4d9aa4c1 8323659: LinkedTransferQueue add and put methods call overridable offer
Reviewed-by: alanb
2024-01-16 12:13:57 +00:00
Thomas Schatzl
5045839cb2 8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Reviewed-by: shade, lmesnik
2024-01-16 12:00:57 +00:00
Albert Mingkun Yang
44a9392eca 8323780: Serial: Remove unused _full_collections_completed
Reviewed-by: ehelin, stefank
2024-01-16 11:56:10 +00:00
Stefan Karlsson
59062402b9 8323716: Only print ZGC Phase Switch events in hs_err files when running with ZGC
Reviewed-by: aboldtch, tschatzl, shade
2024-01-16 10:30:32 +00:00
Emanuel Peter
e01f6da1b8 8320175: [BACKOUT] 8316533: C2 compilation fails with assert(verify(phase)) failed: missing Value() optimization
Reviewed-by: thartmann, chagedorn
2024-01-16 10:15:00 +00:00
Albert Mingkun Yang
8abaf11965 8323715: Serial: Move genMemoryPools to serial folder
Reviewed-by: stefank, tschatzl
2024-01-16 08:39:07 +00:00
Albert Mingkun Yang
67204994dc 8323738: Serial: Remove unreachable methods in Generation
Reviewed-by: tschatzl, stefank
2024-01-16 08:38:53 +00:00
Ferenc Rakoczi
bf7bd9a16c 8317547: Enhance TLS connection support
Reviewed-by: ahgross, rhalade, weijun, valeriep
2024-01-16 05:55:56 +00:00
Christian Hagedorn
c1a568c9c4 8314307: Improve loop handling
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: mschoene, rhalade, thartmann, epeter
2024-01-16 05:55:56 +00:00
Tobias Hartmann
1cc6fbd9b0 8318588: Windows build failure after JDK-8314468 due to ambiguous call
Reviewed-by: epeter
2024-01-16 05:55:56 +00:00
Tobias Hartmann
ed238e8b88 8314468: Improve Compiler loops
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: rhalade, mschoene, iveresov, kvn
2024-01-16 05:55:55 +00:00
Coleen Phillimore
fac49b8375 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2024-01-16 05:55:55 +00:00
Coleen Phillimore
fff750c99d 8314295: Enhance verification of verifier
Reviewed-by: mschoene, rhalade, dholmes, dlong
2024-01-16 05:55:55 +00:00
Sean Mullan
a2544568f9 8308204: Enhanced certificate processing
Reviewed-by: mschoene, rhalade, jnimeh
2024-01-16 05:55:55 +00:00
Yude Lin
36f4b34f19 8323122: AArch64: Increase itable stub size estimate
Reviewed-by: aph, eastigeevich
2024-01-16 05:15:22 +00:00
Hamlin Li
b363472265 8318227: RISC-V: C2 ConvHF2F
Reviewed-by: fyang
2024-01-15 18:41:53 +00:00
Per Minborg
edc0ebb780 8323745: Missing comma in copyright header in TestScope
Reviewed-by: alanb
2024-01-15 16:30:59 +00:00
Glavo
a03eb6d3f6 8321620: Optimize JImage decompressors
Reviewed-by: mchung, redestad
2024-01-15 16:10:35 +00:00
Per Minborg
f5b757ced6 8323159: Consider adding some text re. memory zeroing in Arena::allocate
Reviewed-by: mcimadamore, jvernee
2024-01-15 16:07:56 +00:00
Albert Mingkun Yang
1f4474f677 8323726: Serial: Remove unused definitions in Generation
Reviewed-by: stefank
2024-01-15 15:21:09 +00:00
Andrew Leonard
dd0694b9cb 8323671: DevKit build gcc libraries contain full paths to source location
Reviewed-by: erikj, ihse
2024-01-15 14:39:28 +00:00
Guoxiong Li
bf813be0f3 8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompactionLimit as percentage instead of multiples
Reviewed-by: eosterlund
2024-01-15 14:34:14 +00:00
Magnus Ihse Bursie
c84c0ab52d 8323637: Capture hotspot replay files in GHA
Reviewed-by: shade
2024-01-15 14:14:13 +00:00
Rajat Mahajan
f368a0c12e 8320328: Restore interrupted flag in ImageIcon.loadImage
Reviewed-by: aivanov, serb
2024-01-15 13:09:00 +00:00
Albert Mingkun Yang
a45b5b4921 8323722: Serial: Remove unused no_gc_in_progress
Reviewed-by: stefank, tschatzl
2024-01-15 12:58:23 +00:00
Christian Hagedorn
7e0a4ed629 8323101: C2: assert(n->in(0) == nullptr) failed: divisions with zero check should already have bailed out earlier in split-if
Reviewed-by: kvn, thartmann
2024-01-15 12:16:10 +00:00
Aleksey Shipilev
34f85ee94e 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Reviewed-by: tholenstein, fyang, aph
2024-01-15 12:03:01 +00:00
Jan Kratochvil
62fd26f094 8323700: Add fontconfig requirement to building.md for Alpine Linux
Reviewed-by: ihse
2024-01-15 11:20:44 +00:00
Kevin Walls
8c238eddce 8318707: Remove the Java Management Extension (JMX) Management Applet (m-let) feature
Reviewed-by: sspitsyn, dfuchs
2024-01-15 11:12:38 +00:00
Emanuel Peter
cd0fe37741 8323641: Test compiler/loopopts/superword/TestAlignVectorFuzzer.java timed out
Reviewed-by: chagedorn, kvn
2024-01-15 10:44:01 +00:00
Emanuel Peter
45c65e6b1a 8323577: C2 SuperWord: remove AlignVector restrictions on IR tests added in JDK-8305055
Reviewed-by: rcastanedalo, chagedorn
2024-01-15 10:41:05 +00:00
Thomas Schatzl
8643cc2133 8323610: G1: HeapRegion pin count should be size_t to avoid overflows
Reviewed-by: kbarrett, ayang
2024-01-15 09:35:50 +00:00
Lei Zaakjyu
e66a76f524 8323660: Serial: Fix header ordering and indentation
Reviewed-by: ayang, cjplummer, kbarrett
2024-01-15 09:13:47 +00:00
Aleksey Shipilev
ba3c3bbd87 8323519: Add applications/ctw/modules to Hotspot tiered testing
Reviewed-by: xliu, kvn
2024-01-15 09:10:11 +00:00
Lei Zaakjyu
922f8e44ee 8323693: Update some copyright announcements in the new files created in 8234502
Reviewed-by: cjplummer, dholmes
2024-01-15 07:40:49 +00:00
Zhiqiang Zang
1515bd7c9d 8322077: Add Ideal transformation: (~a) | (~b) => ~(a & b)
Reviewed-by: thartmann, epeter
2024-01-15 06:48:00 +00:00
Sergey Bylokhov
bdee968e3e 4760025: sRGB conversions to and from CIE XYZ incorrect
Reviewed-by: prr, aivanov
2024-01-14 23:05:47 +00:00
David Holmes
71d9a83dec 8323243: JNI invocation of an abstract instance method corrupts the stack
Reviewed-by: coleenp, shade
2024-01-14 22:01:44 +00:00
Varada M
d83ea92085 8301466: [AIX] Revisit CommittedVirtualMemoryTest
Reviewed-by: mdoerr
2024-01-13 14:12:44 +00:00
Sergey Bylokhov
5cf7947ccd 8323562: SaslInputStream.read() may return wrong value
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, dfuchs
2024-01-12 23:50:28 +00:00
Alisen Chung
dc7d3b182d 8321489: Update LCMS to 2.16
Reviewed-by: serb, dnguyen, prr
2024-01-12 22:16:09 +00:00
Alex Menkov
84cf4cb350 8318563: GetClassFields should not use random access to field
Reviewed-by: sspitsyn, cjplummer, fparain
2024-01-12 20:41:49 +00:00
Joe Darcy
9e9c05f0ee 8322979: Add informative discussion to Modifier
Reviewed-by: alanb
2024-01-12 19:40:55 +00:00
Harshitha Onkar
c54bca6f7f 8323617: Add missing null checks to GetMousePositionWithPopup.java test
Reviewed-by: serb, aivanov, dnguyen
2024-01-12 19:21:52 +00:00
William Kemper
95a91682c3 8323627: Shenandoah: Refactor init logger
Reviewed-by: ysr, kdnilsen, shade, phh
2024-01-12 18:57:36 +00:00
Harshitha Onkar
999e556be4 8312518: [macos13] setFullScreenWindow() shows black screen on macOS 13 & above
Reviewed-by: serb, tr, azvegint
2024-01-12 17:56:16 +00:00
Rajat Mahajan
8b6293f6bf 8301994: Remove unused code from awt_List.cpp
Reviewed-by: serb, prr, aivanov
2024-01-12 17:14:16 +00:00
William Kemper
e33031b850 8323629: Shenandoah: Fix missing include and declaration
Reviewed-by: ysr, kdnilsen, phh
2024-01-12 17:04:51 +00:00
Denghui Dong
c5e7245096 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort
Reviewed-by: epeter, kvn
2024-01-12 15:21:37 +00:00
Axel Boldt-Christmas
65a0672791 8319773: Avoid inflating monitors when installing hash codes for LM_LIGHTWEIGHT
Reviewed-by: rkennke, dcubed, thartmann
2024-01-12 14:34:42 +00:00
Albert Mingkun Yang
e22ab10991 8322537: Parallel: Remove experimental adjustment in PSAdaptiveSizePolicy
Reviewed-by: kbarrett, tschatzl
2024-01-12 13:51:29 +00:00
Erik Gahlin
be900f1253 8323425: JFR: Auto-generated filename doesn't work with time-limited recording
Reviewed-by: mgronlun
2024-01-12 13:12:37 +00:00
Matthias Baesken
68c4286026 8323008: filter out harmful -std* flags added by autoconf from CXX
Reviewed-by: erikj, clanger, ihse
2024-01-12 12:29:07 +00:00
Lei Zaakjyu
7dc9dd6fdf 8234502: Merge GenCollectedHeap and SerialHeap
Reviewed-by: ayang, cjplummer
2024-01-12 10:56:50 +00:00
Cesar Soares Lucas
ed18222365 8323190: Segfault during deoptimization of C2-compiled code
Reviewed-by: thartmann, chagedorn
2024-01-12 10:43:16 +00:00
Claes Redestad
3e19bf88d5 8323529: Relativize test image dependencies in microbenchmarks
Reviewed-by: mcimadamore, jvernee, erikj
2024-01-12 10:00:37 +00:00
Stefan Karlsson
ba23025cd8 8322957: Generational ZGC: Relocation selection must join the STS
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: eosterlund, aboldtch
2024-01-12 09:32:50 +00:00
Stefan Karlsson
7c3a39f400 8323297: Fix incorrect placement of precompiled.hpp include lines
Reviewed-by: kbarrett, dholmes, shade, ysr
2024-01-12 08:57:09 +00:00
Alan Bateman
e72723dc5c 8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
Reviewed-by: jpai
2024-01-12 08:33:27 +00:00
Afshin Zafari
66520be7a7 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Reviewed-by: stuefe, gziemski
2024-01-12 08:21:42 +00:00
Abhishek Kumar
82a63a03c0 8258979: The image didn't show correctly with GTK LAF
Reviewed-by: psadhukhan, tr
2024-01-12 07:53:41 +00:00
Kim Barrett
8d9814a521 8322757: Enable -Wparentheses warnings
Reviewed-by: dholmes, jwaters, erikj, ihse
2024-01-12 06:12:20 +00:00
Renjith Kannath Pariyangad
0ff2deab5d 8320673: PageFormat/CustomPaper.java has no Pass/Fail buttons; multiple instructions
Reviewed-by: serb, aivanov
2024-01-12 02:55:22 +00:00
Alexey Semenyuk
8e12053e03 8322799: Test JPKG003-013: ServiceTest fails because the user cannot uninstall the "servicetest" package on OEL 9.2 x64 and OEL 9.2 64-bit Arm (aarch64)
Reviewed-by: almatvee
2024-01-11 22:58:20 +00:00
Joe Wang
e4389d8dc2 8323571: Regression in source resolution process
Reviewed-by: lancea, naoto
2024-01-11 22:38:39 +00:00
Pavel Rappo
49e6121347 8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger
Reviewed-by: rriggs, redestad, rgiulietti
2024-01-11 21:48:58 +00:00
Justin Lu
4ea7b36447 8322235: Split up and improve LocaleProvidersRun
Reviewed-by: naoto
2024-01-11 20:59:53 +00:00
Chris Plummer
93bedd7aba 8323213: Fix some javadoc broken links in ObjectReference, and other misc javadoc cleanups
Reviewed-by: sspitsyn, amenkov
2024-01-11 18:13:11 +00:00
Tim Prinzing
b78896b9aa 8319571: Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
Reviewed-by: mchung
2024-01-11 17:37:30 +00:00
Sandhya Viswanathan
e10d14004f 8321712: C2: "failed: Multiple uses of register" in C2_MacroAssembler::vminmax_fp
Co-authored-by: Volodymyr Paprotski <vpaprotski@openjdk.org>
Reviewed-by: kvn, thartmann, epeter, jbhateja
2024-01-11 16:54:16 +00:00
Matthew Donovan
c2e77e2f17 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
Reviewed-by: mbaesken
2024-01-11 15:19:48 +00:00
Weijun Wang
9fd855ed47 8322971: KEM.getInstance() should check if a 3rd-party security provider is signed
Reviewed-by: mullan, valeriep
2024-01-11 13:45:40 +00:00
Joachim Kern
b8ae4a8c09 8320890: [AIX] Find a better way to mimic dl handle equality
Reviewed-by: stuefe, mdoerr
2024-01-11 13:12:32 +00:00
Varada M
e5aed6be7a 8323276: StressDirListings.java fails on AIX
Reviewed-by: jpai, dfuchs
2024-01-11 12:17:35 +00:00
Roland Westrelin
b922f8d459 8319793: C2 compilation fails with "Bad graph detected in build_loop_late" after JDK-8279888
Reviewed-by: chagedorn, epeter
2024-01-11 09:00:44 +00:00
Viktor Klang
35e9662767 8314515: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
Reviewed-by: alanb
2024-01-11 08:16:28 +00:00
Matthias Baesken
cb1d25fcfa 8323330: [BACKOUT] JDK-8276809: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java shows JNI warning on Windows
Reviewed-by: prr, stuefe
2024-01-11 08:13:28 +00:00
Tejesh R
2b7fc0506a 8264102: JTable Keyboards Navigation differs with Test Instructions.
Reviewed-by: psadhukhan, abhiscxk
2024-01-11 07:34:14 +00:00
Denghui Dong
af942a693b 8323188: JFR: Needless RESOURCE_ARRAY when sending EventOSInformation
Reviewed-by: mgronlun
2024-01-11 07:17:28 +00:00
Eirik Bjørsnøs
26de9e247a 8321616: Retire binary test vectors in test/jdk/java/util/zip/ZipFile
8322830: Add test case for ZipFile opening a ZIP with no entries

Reviewed-by: lancea
2024-01-11 06:32:24 +00:00
Alex Menkov
b530c0281b 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Reviewed-by: cjplummer, mbaesken
2024-01-11 00:36:16 +00:00
Eirik Bjørsnøs
e70cb4e6c7 8322565: (zipfs) Files.setPosixPermissions should preserve 'external file attributes' bits
Reviewed-by: clanger, lancea
2024-01-10 21:42:23 +00:00
Xin Liu
d89602a53f 8322982: CTW fails to build after 8308753
Reviewed-by: shade, phh
2024-01-10 19:42:03 +00:00
Naoto Sato
3bd9042054 8320788: The system properties page is missing some properties
Reviewed-by: iris, rriggs, bpb, joehw
2024-01-10 18:54:02 +00:00
Joe Darcy
525063be90 8322878: Including sealing information Class.toGenericString()
Co-authored-by: Pavel Rappo <prappo@openjdk.org>
Reviewed-by: rriggs
2024-01-10 18:46:56 +00:00
Markus Grönlund
c1282b57f5 8323540: assert((!((((method)->is_trace_flag_set(((1 << 4) << 8))))))) failed: invariant
Reviewed-by: mikael
2024-01-10 18:37:33 +00:00
Vicente Romero
5ba69e1734 8322477: order of subclasses in the permits clause can differ between compilations
Reviewed-by: jlahoda
2024-01-10 17:52:50 +00:00
Gerard Ziemski
c96cbe481c 8313083: Print 'rss' and 'cache' as part of the container information
Reviewed-by: sgehwolf
2024-01-10 17:29:55 +00:00
William Kemper
a7db4feceb 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Reviewed-by: ysr, kdnilsen, shade
2024-01-10 17:10:39 +00:00
Viktor Klang
b86c3b7a68 8309218: java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC
Reviewed-by: jpai, dholmes, alanb
2024-01-10 16:42:30 +00:00
Brian Burkhalter
475306b757 7057369: (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer
Reviewed-by: alanb
2024-01-10 16:34:06 +00:00
Albert Mingkun Yang
f016934184 8323518: Parallel: Remove unused methods in psParallelCompact.hpp
Reviewed-by: tschatzl
2024-01-10 15:19:09 +00:00
Albert Mingkun Yang
2174f6646e 8323005: Parallel: Refactor PSPromotionManager::claim_or_forward_depth
Reviewed-by: tschatzl, rrich
2024-01-10 15:18:57 +00:00
Matthias Baesken
16170678a7 8323331: fix typo hpage_pdm_size
Reviewed-by: shade, mdoerr
2024-01-10 15:03:21 +00:00
Serguei Spitsyn
2806adee2d 8321685: Missing ResourceMark in code called from JvmtiEnvBase::get_vthread_jvf
Reviewed-by: amenkov, cjplummer
2024-01-10 14:07:57 +00:00
Stefan Karlsson
ec38505720 8323508: Remove TestGCLockerWithShenandoah.java line from TEST.groups
Reviewed-by: dholmes, shade, tschatzl
2024-01-10 13:25:43 +00:00
Jorn Vernee
d2d58dd6a8 8322324: java/foreign/TestStubAllocFailure.java times out while waiting for forked process
8322637: java/foreign/critical/TestCriticalUpcall.java timed out

Reviewed-by: mcimadamore
2024-01-10 13:13:32 +00:00
Markus Grönlund
b2a39c5767 8316241: Test jdk/jdk/jfr/jvm/TestChunkIntegrity.java failed
Reviewed-by: egahlin
2024-01-10 13:03:36 +00:00
Guoxiong Li
679f526d89 8322278: Generational ZGC: Adjust the comment of ZHeuristics::use_per_cpu_shared_small_pages
Reviewed-by: eosterlund
2024-01-10 12:18:12 +00:00
Richard Reingruber
2e472fe7ea 8322294: Cleanup NativePostCallNop
Reviewed-by: mdoerr, aph
2024-01-10 12:18:01 +00:00
Guoxiong Li
88dafe564f 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId
Reviewed-by: eosterlund, tschatzl
2024-01-10 12:15:38 +00:00
Albert Mingkun Yang
8d9479910f 8322828: Parallel: Rename ParallelCompactData::_region_start
Reviewed-by: tschatzl, ehelin
2024-01-10 11:28:51 +00:00
Albert Mingkun Yang
9847086466 8323499: Remove unused methods in space.hpp
Reviewed-by: tschatzl
2024-01-10 10:56:24 +00:00
Thomas Schatzl
40861761c2 8322987: Remove gc/stress/gclocker/TestGCLocker* since they always fail with OOME
Reviewed-by: ayang, lmesnik
2024-01-10 09:57:16 +00:00
Tobias Holenstein
88378ed058 8277869: Maven POMs are using HTTP links where HTTPS is available
Reviewed-by: kvn, thartmann
2024-01-10 08:30:47 +00:00
Zhiqiang Zang
8569227473 8322589: Add Ideal transformation: (~a) & (~b) => ~(a | b)
Reviewed-by: thartmann, epeter
2024-01-10 07:31:56 +00:00
Kim Barrett
f4ca41ad75 8322816: RISC-V: Incorrect guarantee in patch_vtype
Reviewed-by: fyang, luhenry
2024-01-10 00:19:05 +00:00
Naoto Sato
376051a9be 8320919: Clarify Locale related system properties
Reviewed-by: smarks, rriggs
2024-01-09 23:11:21 +00:00
Kim Barrett
a5071e010b 8322817: RISC-V: Eliminate -Wparentheses warnings in riscv code
Reviewed-by: fyang, luhenry
2024-01-09 22:47:36 +00:00
Kim Barrett
28d8149c69 8323115: x86-32: Incorrect predicates for cmov instruct transforms with UseSSE
Reviewed-by: shade, thartmann
2024-01-09 22:33:13 +00:00
Kim Barrett
e9f7db3045 8322880: Eliminate -Wparentheses warnings in arm32 code
Reviewed-by: shade, dholmes
2024-01-09 22:26:17 +00:00
Sergey Bylokhov
aba19334ea 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Reviewed-by: prr
2024-01-09 22:05:37 +00:00
Mandy Chung
f3be138eb8 8322809: SystemModulesMap::classNames and moduleNames arrays do not match the order
Reviewed-by: alanb
2024-01-09 22:04:02 +00:00
Albert Mingkun Yang
bc05893f82 8323318: Remove unused Space::is_free_block
Reviewed-by: tschatzl
2024-01-09 19:37:28 +00:00
Alex Menkov
dd8ae61643 8322237: Heap dump contains duplicate thread records for mounted virtual threads
Reviewed-by: dholmes, sspitsyn
2024-01-09 19:31:03 +00:00
Thomas Schatzl
ee98d26218 8323066: gc/g1/TestSkipRebuildRemsetPhase.java fails with 'Skipping Remembered Set Rebuild.' missing
Reviewed-by: ayang, iwalulya
2024-01-09 17:03:28 +00:00
Lei Zaakjyu
886386c039 8322890: Directly return in OldPLABSizeConstraintFunc
Reviewed-by: ayang, tschatzl
2024-01-09 15:52:39 +00:00
Albert Mingkun Yang
438ab7c115 8323284: Remove unused FilteringClosure declaration
Reviewed-by: stefank, tschatzl
2024-01-09 14:23:42 +00:00
Thomas Schatzl
52c7ff1d81 8322330: JavadocHelperTest.java OOMEs with Parallel GC and ZGC
Reviewed-by: ayang, aboldtch
2024-01-09 13:47:32 +00:00
Lei Zaakjyu
ff499ef79f 8233443: G1 DetailedUsage class names overly generic for global namespace
Reviewed-by: ayang, gli, tschatzl
2024-01-09 13:26:38 +00:00
Pavel Rappo
37a61720b6 8322936: Update blessed-modifier-order.sh for default, sealed, and non-sealed
Reviewed-by: erikj, rriggs, martin
2024-01-09 11:36:36 +00:00
Pavel Rappo
7d42aa1513 8310277: jdk/javadoc/doclet/testMethodCommentAlgorithm/TestMethodCommentsAlgorithm.java fails with IllegalStateException
Reviewed-by: jjg
2024-01-09 11:31:50 +00:00
Albert Mingkun Yang
6e9671a8a8 8323264: Serial: Remove unused GenerationBlockSizeClosure
Reviewed-by: stefank
2024-01-09 10:37:02 +00:00
Boris Ulasevich
52a6c37558 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Reviewed-by: aph, thartmann
2024-01-09 10:33:52 +00:00
David Holmes
075fed91bd 8323241: jcmd manpage should use lists for argument lists
Reviewed-by: alanb
2024-01-09 08:19:57 +00:00
Robbin Ehn
30f93a29c2 8320069: RISC-V: Add Zcb instructions
Reviewed-by: fyang, vkempik
2024-01-09 07:34:50 +00:00
Ludovic Henry
4cf131a101 8319716: RISC-V: Add SHA-2
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: fyang, mli, luhenry
2024-01-09 07:26:35 +00:00
Alan Bateman
7286f5291d 8322829: Refactor nioBlocker to avoid blocking while holding Thread's interrupt lock
Reviewed-by: jpai
2024-01-09 07:05:27 +00:00
Albert Mingkun Yang
07fce8eff2 8320864: Serial: Extract out Full GC related fields from ContiguousSpace
Reviewed-by: kbarrett, sjohanss
2024-01-09 06:11:44 +00:00
Athijegannathan Sundararajan
176606d0cb 8310995: missing @since tags in 36 jdk.dynalink classes
Reviewed-by: jlaskey, iris, attila
2024-01-09 04:36:30 +00:00
Weibing Xiao
8ae309ebac 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Reviewed-by: alanb, jpai
2024-01-09 04:04:12 +00:00
Calvin Cheung
841ab487f8 8322657: CDS filemap fastdebug assert while loading Graal CE Polyglot in isolated classloader
Reviewed-by: matsaave, dholmes
2024-01-08 23:53:06 +00:00
Calvin Cheung
61ebe3b0c4 8323032: OptimizedModuleHandlingTest failed in dynamic CDS archive mode
Reviewed-by: dholmes, matsaave
2024-01-08 22:41:07 +00:00
Kim Barrett
ca9635df33 8322759: Eliminate -Wparentheses warnings in compiler code
Reviewed-by: kvn, shade
2024-01-08 21:26:18 +00:00
Mikael Vidstedt
8a4dc79e1a 8274300: Address dsymutil warning by excluding platform specific files
Reviewed-by: erikj
2024-01-08 20:17:29 +00:00
Rajat Mahajan
d78e8dab93 8322545: Declare newInsets as static in ThemeReader.cpp
Reviewed-by: serb, aivanov
2024-01-08 19:58:32 +00:00
Joshua Cao
24823ba647 8323095: Expand TraceOptoParse block output abbreviations
Reviewed-by: thartmann, chagedorn, xliu
2024-01-08 19:46:04 +00:00
Xin Liu
d47393bd82 8320128: Clean up Parse constructor for OSR
Reviewed-by: thartmann, shade
2024-01-08 18:53:41 +00:00
Chris Plummer
387828a3f7 8322980: Debug agent's dumpThread() API should update thread's name before printing it
Reviewed-by: kevinw, sspitsyn
2024-01-08 16:56:44 +00:00
William Kemper
c4a83bd6f6 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Reviewed-by: kdnilsen, shade
2024-01-08 16:44:28 +00:00
Emanuel Peter
827c71dac9 8310190: C2 SuperWord: AlignVector is broken, generates misaligned packs
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2024-01-08 16:10:21 +00:00
Ilya Gavrilin
2acb5bd992 8322790: RISC-V: Tune costs for shuffles with no conversion
Reviewed-by: rehn, fyang
2024-01-08 15:53:58 +00:00
Jorn Vernee
c8fa3e21e6 8320310: CompiledMethod::has_monitors flag can be incorrect
Reviewed-by: vlivanov, thartmann
2024-01-08 14:55:17 +00:00
Jan Lahoda
57a65fe436 8322003: JShell - Incorrect type inference in lists of records implementing interfaces
Reviewed-by: vromero
2024-01-08 14:09:27 +00:00
Thomas Stuefe
c90768c93b 8318444: Write details about compilation bailouts into crash reports
Reviewed-by: thartmann, chagedorn
2024-01-08 13:47:43 +00:00
Fredrik Bredberg
29397d29ba 8320317: ObjectMonitor NotRunnable is not really an optimization
Reviewed-by: eosterlund, dholmes, shade, dcubed
2024-01-08 13:32:17 +00:00
Fredrik Bredberg
fc04750817 8321371: SpinPause() not implemented for bsd_aarch64/macOS
Reviewed-by: eosterlund, dholmes, dcubed, eastigeevich, shade
2024-01-08 13:30:23 +00:00
Christian Hagedorn
458e563cd9 8310711: [IR Framework] Remove safepoint while printing handling
Reviewed-by: thartmann, epeter
2024-01-08 12:57:55 +00:00
Matthias Baesken
71aac7a5fb 8276809: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java shows JNI warning on Windows
Reviewed-by: rschmelter, stuefe
2024-01-08 11:45:18 +00:00
Markus Grönlund
09c6c4ff02 8322489: 22-b27: Up to 7% regression in all Footprint3-*-G1/ZGC
Reviewed-by: egahlin
2024-01-08 11:41:51 +00:00
Aleksey Shipilev
eb9e754b3a 8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Reviewed-by: dlong, thartmann
2024-01-08 10:27:00 +00:00
Kim Barrett
a40d397d5d 8323110: Eliminate -Wparentheses warnings in ppc code
Reviewed-by: dholmes
2024-01-08 09:01:33 +00:00
Per Minborg
7edd10e5fa 8321786: SegmentAllocator:allocateFrom(ValueLayout, MemorySegment,ValueLayout,long,long) spec mismatch in exception scenario
Reviewed-by: mcimadamore
2024-01-08 08:20:07 +00:00
Kim Barrett
d75d876edd 8322806: Eliminate -Wparentheses warnings in aarch64 code
Reviewed-by: stefank, dholmes
2024-01-08 07:30:21 +00:00
Prasanta Sadhukhan
e44276989f 8322754: click JComboBox when dialog about to close causes IllegalComponentStateException
Reviewed-by: abhiscxk, serb
2024-01-08 02:46:10 +00:00
Kim Barrett
3560e680bc 8322815: Eliminate -Wparentheses warnings in shenandoah code
Reviewed-by: shade, zgu
2024-01-08 02:37:10 +00:00
Alan Bateman
faa9c6909d 8322846: Running with -Djdk.tracePinnedThreads set can hang
Reviewed-by: jpai
2024-01-06 18:24:28 +00:00
Alan Bateman
ace010b38a 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Reviewed-by: jpai, bpb
2024-01-06 08:52:27 +00:00
Jonathan Gibbons
be4614eb5e 8323016: Improve reporting for bad options
Reviewed-by: prappo
2024-01-05 22:16:52 +00:00
David Leopoldseder
35a1b77da5 8322636: [JVMCI] HotSpotSpeculationLog can be inconsistent across a single compile
Reviewed-by: dnsimon, never
2024-01-05 19:00:18 +00:00
Chris Plummer
46965a096c 8322981: Fix 2 locations in JDI that throw IOException without using the "Caused by" exception
Reviewed-by: dholmes, lmesnik
2024-01-05 17:53:45 +00:00
Aleksey Shipilev
700c25f5b4 8322954: Shenandoah: Convert evac-update closures asserts to rich asserts
Reviewed-by: wkemper, kdnilsen, ysr
2024-01-05 17:04:32 +00:00
Daniel D. Daugherty
631a9f60f3 8323073: ProblemList gc/g1/TestSkipRebuildRemsetPhase.java on linux-aarch64
8323075: ProblemList runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java

Reviewed-by: thartmann
2024-01-05 16:26:02 +00:00
Tobias Hartmann
ed9f3243f0 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Reviewed-by: chagedorn, shade
2024-01-05 15:40:32 +00:00
Tobias Hartmann
ade21a965f 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph, chagedorn
2024-01-05 13:48:31 +00:00
Jan Lahoda
f0cfd361bd 8322532: JShell : Unnamed variable issue
Reviewed-by: asotona
2024-01-05 11:34:03 +00:00
Tobias Hartmann
78623c95f2 8323012: C2 fails with fatal error: no reachable node should have no use
Reviewed-by: chagedorn
2024-01-05 11:13:34 +00:00
William Kemper
f0e2e4311b 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Reviewed-by: kdnilsen, ysr, shade
2024-01-05 10:39:08 +00:00
Denghui Dong
3dc4bd8581 8322989: New test serviceability/HeapDump/FullGCHeapDumpLimitTest.java fails
Reviewed-by: stefank, dholmes
2024-01-05 09:23:42 +00:00
Stefan Karlsson
1d1cd32bc3 8321812: Update GC tests to use execute[Limited]TestJava
Reviewed-by: tschatzl, aboldtch
2024-01-05 09:12:24 +00:00
Stefan Karlsson
868f8745fa 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Reviewed-by: dholmes, lmesnik
2024-01-05 09:07:03 +00:00
Johny Jose
2a9c3589d9 8322725: (tz) Update Timezone Data to 2023d
Reviewed-by: coffeys, naoto
2024-01-05 08:12:59 +00:00
Gui Cao
5235cc987d 8322583: RISC-V: Enable fast class initialization checks
Reviewed-by: rehn, fyang, fjiang
2024-01-05 04:39:55 +00:00
Calvin Cheung
3b1e56a427 8322322: Support archived full module graph when -Xbootclasspath/a is used
Reviewed-by: alanb, mchung
2024-01-05 00:00:24 +00:00
Chris Plummer
3fbccb01dc 8322978: Remove debug agent debugMonitorTimedWait() function. It is no longer used.
Reviewed-by: dholmes, sspitsyn
2024-01-04 17:22:49 +00:00
Naoto Sato
ad31ec5c5f 8322647: Short name for the Europe/Lisbon time zone is incorrect
Reviewed-by: joehw, iris
2024-01-04 17:16:33 +00:00
Justin Lu
15cf8f8531 8319626: Override toString() for ZipFile
Reviewed-by: jpai, alanb, coffeys
2024-01-04 17:16:22 +00:00
Joshua Cao
ade40741ca 8322976: Remove reference to transform_no_reclaim
Reviewed-by: shade, thartmann
2024-01-04 16:55:04 +00:00
Daniel D. Daugherty
ea19e9c6aa 8323011: ProblemList serviceability/HeapDump/FullGCHeapDumpLimitTest.java
Reviewed-by: azvegint, ctornqvi
2024-01-04 16:28:52 +00:00
Alan Bateman
d33dfe5cb2 8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
Reviewed-by: pchilanomate
2024-01-04 15:20:23 +00:00
Denghui Dong
27d5f5c237 8322781: C1: Debug build crash in GraphBuilder::vmap() when print stats
Reviewed-by: kvn, thartmann, shade
2024-01-04 13:11:47 +00:00
Jim Laskey
df22fb322e 8322512: StringBuffer.repeat does not work correctly after toString() was called
Reviewed-by: rriggs, jpai
2024-01-04 12:46:31 +00:00
Albert Mingkun Yang
c3cd1f1814 8323000: Parallel: Remove unused class declarations in psScavenge
Reviewed-by: stefank
2024-01-04 11:35:56 +00:00
Aleksey Shipilev
dd517c6404 8237842: Separate definitions for default cache line and padding sizes
Reviewed-by: stefank, kvn, stuefe, tschatzl
2024-01-04 08:39:50 +00:00
Albert Mingkun Yang
83564ea5f3 8322888: Parallel: Remove unused variables in PSPromotionManager
Reviewed-by: kbarrett
2024-01-04 08:32:00 +00:00
Albert Mingkun Yang
bbe0079d98 8322298: Obsolete unused AdaptiveSizePolicyCollectionCostMargin
Reviewed-by: tschatzl, sjohanss, kbarrett, gli
2024-01-04 08:31:50 +00:00
Matthias Baesken
730663649f 8322945: Problemlist runtime/CompressedOops/CompressedClassPointers.java on AIX
Reviewed-by: mdoerr
2024-01-04 08:21:57 +00:00
Matthias Baesken
1369c545ac 8322782: Clean up usages of unnecessary fully qualified class name "java.util.Arrays"
Reviewed-by: alanb, aivanov
2024-01-04 08:06:14 +00:00
Alan Bateman
4db7a1c3bb 8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
Reviewed-by: pchilanomate
2024-01-04 05:59:52 +00:00
Joe Wang
755722ced6 8322214: Return value of XMLInputFactory.getProperty() changed from boolean to String in JDK 22 early access builds
Reviewed-by: lancea
2024-01-04 05:04:45 +00:00
Denghui Dong
1cf9335b24 8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC
Reviewed-by: dholmes, cjplummer
2024-01-04 03:20:06 +00:00
Scott Gibbons
13c11487f7 8321599: Data loss in AVX3 Base64 decoding
Reviewed-by: sviswanathan, kvn
2024-01-04 01:36:28 +00:00
David Holmes
028ec7e744 8319948: jcmd man page needs to be updated
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: kevinw, alanb
2024-01-03 22:30:54 +00:00
Brian Burkhalter
54b3ceeca2 8322877: java/io/BufferedInputStream/TransferTo.java failed with IndexOutOfBoundsException
Reviewed-by: alanb, stsypanov
2024-01-03 21:23:06 +00:00
Kim Barrett
30a0c61de0 8322879: Eliminate -Wparentheses warnings in x86-32 code
Reviewed-by: kvn, shade
2024-01-03 20:13:57 +00:00
Matias Saavedra Silva
409a39ec8d 8320276: Improve class initialization barrier in TemplateTable::_new
Reviewed-by: dholmes, fparain
2024-01-03 20:10:59 +00:00
Mikael Vidstedt
296c5b645a 8322873: Duplicate -ljava -ljvm options for libinstrument
Reviewed-by: dholmes, jwaters, erikj
2024-01-03 19:23:43 +00:00
Daniel D. Daugherty
cc9ab5f197 8322963: ProblemList java/io/BufferedInputStream/TransferTo.java
Reviewed-by: bpb
2024-01-03 17:17:24 +00:00
Carter Kozak
1551928502 8322142: JFR: Periodic tasks aren't orphaned between recordings
Reviewed-by: egahlin
2024-01-03 15:09:06 +00:00
Alan Bateman
b67b71cd87 8320707: Virtual thread test updates
Reviewed-by: jpai
2024-01-03 14:59:03 +00:00
Denghui Dong
7eb25ec7b3 8322853: Should use ConditionalMutexLocker in NativeHeapTrimmerThread::print_state
Reviewed-by: dholmes, shade
2024-01-03 13:10:22 +00:00
Denghui Dong
539da24863 8322779: C1: Remove the unused counter 'totalInstructionNodes'
Reviewed-by: kvn, thartmann
2024-01-03 13:08:48 +00:00
Matthias Baesken
a8e4229852 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Reviewed-by: dholmes, mdoerr
2024-01-03 09:15:07 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
John Jiang
06dd735342 8322766: Micro bench SSLHandshake should use default algorithms
Reviewed-by: djelinski
2024-01-03 08:27:42 +00:00
Stefan Karlsson
9ab29f8dcd 8321718: ProcessTools.executeProcess calls waitFor before logging
Reviewed-by: dholmes, jpai
2024-01-03 07:48:57 +00:00
Albert Mingkun Yang
ba426d6887 8322841: Parallel: Remove unused using-declaration in MutableNUMASpace
Reviewed-by: kbarrett
2024-01-03 06:12:00 +00:00
Guoxiong Li
18cdc903cf 8322801: RISC-V: The riscv path of the debian sysroot had been changed
Reviewed-by: rehn, erikj
2024-01-03 04:17:15 +00:00
Joe Darcy
fcf8368eb1 8322248: Fix inconsistent wording in ElementFilter.typesIn
Reviewed-by: jjg, iris
2024-01-02 23:05:58 +00:00
Kim Barrett
a678416994 8322805: Eliminate -Wparentheses warnings in x86 code
Reviewed-by: dholmes, kvn
2024-01-02 22:47:18 +00:00
Kim Barrett
122bc7770e 8322758: Eliminate -Wparentheses warnings in C2 code
Reviewed-by: aph, kvn
2024-01-02 22:32:58 +00:00
Patricio Chilano Mateo
e9e694f4ef 8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index
Reviewed-by: dlong, fparain
2024-01-02 22:22:03 +00:00
Kim Barrett
da1091eed9 8322807: Eliminate -Wparentheses warnings in gc code
Reviewed-by: ayang
2024-01-02 21:57:45 +00:00
Brian Burkhalter
c2477a5cad 8322868: java/io/BufferedInputStream/TransferToTrusted.java has bad copyright header
Reviewed-by: dcubed
2024-01-02 20:35:09 +00:00
Eirik Bjørsnøs
2cf5f01397 8322802: Add testing for ZipFile.getEntry respecting the 'Language encoding' flag
Reviewed-by: lancea, jpai
2024-01-02 20:31:38 +00:00
Sergey Tsypanov
38042ad4e9 8320971: Use BufferedInputStream.buf directly when param of implTransferTo() is trusted
Reviewed-by: alanb, bpb
2024-01-02 20:05:31 +00:00
William Kemper
51238c4bdb 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: ysr, gli
2024-01-02 17:08:36 +00:00
Renjith Kannath Pariyangad
9481d06e62 8320343: Generate GIF images for AbstractButton/5049549/bug5049549.java
Reviewed-by: aivanov
2024-01-02 16:16:20 +00:00
Adam Sotona
a5cf4210cd 8320360: ClassFile.parse: Some defect class files cause unexpected exceptions to be thrown
Reviewed-by: jpai
2024-01-02 12:58:53 +00:00
Adam Sotona
f9aec02f3c 8321540: ClassSignature.parseFrom() throws StringIndexOutOfBoundsException for invalid signatures
Reviewed-by: jpai
2024-01-02 12:39:41 +00:00
Jan Lahoda
7455b1b527 8322159: ThisEscapeAnalyzer crashes for erroneous code
Reviewed-by: vromero
2024-01-02 11:15:12 +00:00
ANUPAM DEV
d4fb30885b 8317846: Typo in API documentation of classes IdentityHashMap
Reviewed-by: mli, jpai
2024-01-02 11:10:15 +00:00
Guoxiong Li
d786c49525 8322751: ZGC: Fix comments about marking roots
Reviewed-by: eosterlund
2024-01-02 10:34:25 +00:00
Archie Cobbs
5852f3eafe 8322027: One XMLStreamException constructor fails to initialize cause
Reviewed-by: joehw, jpai
2024-01-02 10:13:37 +00:00
Lei Zaakjyu
be0e1c7b14 8297573: Parallel: Rename do_oop_nv to do_oop_work in subclasses of OopClosure
Reviewed-by: ayang, gli
2024-01-02 08:45:55 +00:00
Kim Barrett
7c1d481d6d 8322765: Eliminate -Wparentheses warnings in runtime code
Reviewed-by: dholmes
2024-01-02 03:06:13 +00:00
Kim Barrett
518ec97114 8322747: StringTable should be AllStatic
Reviewed-by: eosterlund
2023-12-31 17:26:57 +00:00
Christoph Langer
32d80e2caf 8322772: Clean up code after JDK-8322417
Reviewed-by: mdoerr, goetz, mbaesken, vtewari
2023-12-29 21:49:06 +00:00
Olga Mikhaltsova
19147f326c 8318158: RISC-V: implement roundD/roundF intrinsics
Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Reviewed-by: luhenry, fyang, mli
2023-12-29 18:33:43 +00:00
John Jiang
2a59243cba 8322734: A redundant return in method padWithLen
Reviewed-by: jiefu
2023-12-27 02:31:50 +00:00
Eamonn McManus
4fc6b0ffa4 8068958: Timestamp.from(Instant) should throw when conversion is not possible
Reviewed-by: rgiulietti, rriggs
2023-12-23 22:53:23 +00:00
Jie Fu
28c82bf18d 8322661: Build broken due to missing jvmtiExport.hpp after JDK-8320139
Reviewed-by: chagedorn, never
2023-12-22 23:53:42 +00:00
Joshua Cao
7263e25d9b 8322490: cleanup CastNode construction
Reviewed-by: chagedorn, phh
2023-12-22 21:08:45 +00:00
Rajat Mahajan
f695ca5884 8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
Reviewed-by: aivanov, achung
2023-12-22 20:16:45 +00:00
Eirik Bjørsnøs
93fedc12db 8321802: (zipfs) Add validation of incorrect LOC signature in ZipFileSystem
Reviewed-by: alanb, lancea
2023-12-22 16:09:22 +00:00
Matthias Baesken
1230853343 8322163: runtime/Unsafe/InternalErrorTest.java fails on Alpine after JDK-8320886
Reviewed-by: mdoerr, clanger
2023-12-22 13:30:05 +00:00
Stefan Karlsson
dce7a5732e 8321683: Tests fail with AssertionError in RangeWithPageSize
Reviewed-by: stuefe, mbaesken
2023-12-22 13:25:39 +00:00
Albert Mingkun Yang
c53f845ec9 8322539: Parallel: Remove duplicated methods in PSAdaptiveSizePolicy
Reviewed-by: tschatzl, kbarrett
2023-12-22 07:58:09 +00:00
Raphael Mosaner
84c2379285 8320139: [JVMCI] VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: never, dnsimon
2023-12-21 19:22:48 +00:00
Evgeny Astigeevich
3b908c4781 8319795: Static huge pages are not used for CodeCache
Reviewed-by: shade, simonis, thartmann, stuefe
2023-12-21 18:51:50 +00:00
Lei Zaakjyu
1802601a12 8293623: Simplify G1ConcurrentRefineThreadControl
Reviewed-by: kbarrett, tschatzl
2023-12-21 15:20:01 +00:00
Goetz Lindenmaier
6de23bf36e 8322418: Problem list gc/TestAllocHumongousFragment.java subtests for 8298781
Reviewed-by: mbaesken
2023-12-21 11:40:30 +00:00
Serguei Spitsyn
aff659aaf7 8322538: remove fatal from JVM_VirtualThread functions for !INCLUDE_JVMTI
Reviewed-by: dholmes, alanb
2023-12-21 10:07:31 +00:00
Thomas Schatzl
05745e3f1d 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Co-authored-by: Tomáš Hůrka <tomas.hurka@oracle.com>
Reviewed-by: ayang, dholmes
2023-12-21 09:17:31 +00:00
Gui Cao
e8768ae08d 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang
2023-12-21 01:28:48 +00:00
Sean Coffey
f6fe39ff11 8322078: ZipSourceCache.testKeySourceMapping() test fails with The process cannot access the file because it is being used by another process
Reviewed-by: lancea
2023-12-20 22:03:10 +00:00
Matthias Baesken
e204242118 8321017: Record in JFR that IEEE rounding mode was corrupted by loading a library
Reviewed-by: stuefe, jbechberger
2023-12-20 17:32:23 +00:00
Markus KARG
2d609557ff 8322141: SequenceInputStream.transferTo should not return as soon as Long.MAX_VALUE bytes have been transferred
Reviewed-by: vsitnikov, bpb, jpai
2023-12-20 17:00:44 +00:00
Albert Mingkun Yang
e0bad5153b 8322543: Parallel: Remove unused _major_pause_old_slope_counter
Reviewed-by: tschatzl
2023-12-20 15:56:50 +00:00
Weijun Wang
424c58f3e9 8187634: keystore.getCertificateAlias(cert) returns original alias, inconsistent with fix of JDK-6483657
Reviewed-by: mullan
2023-12-20 15:45:33 +00:00
Albert Mingkun Yang
14dab319a8 8322377: Parallel: Remove unused arg in adjust_promo_for_pause_time and adjust_eden_for_pause_time
Reviewed-by: tschatzl
2023-12-20 09:41:33 +00:00
Albert Mingkun Yang
5fcac7c846 8322364: Parallel: Remove unused SizePolicyTrueValues enum members
Reviewed-by: tschatzl
2023-12-20 09:41:24 +00:00
Goetz Lindenmaier
2f917bff5c 8322417: Console read line with zero out should zero out when throwing exception
Reviewed-by: mbaesken, stuefe, naoto
2023-12-20 08:01:08 +00:00
bobpengxie
7db69e6a12 8322513: Build failure with minimal
Reviewed-by: dholmes, rehn
2023-12-20 07:46:11 +00:00
Ioi Lam
f7dc257a20 8322321: Add man page doc for -XX:+VerifySharedSpaces
Reviewed-by: dholmes, ccheung
2023-12-20 05:50:45 +00:00
Guoxiong Li
97db670956 8321688: Build on linux with GCC 7.5.0 fails after 8319577
Reviewed-by: kbarrett, sviswanathan
2023-12-20 03:58:12 +00:00
Brian Burkhalter
51be857f3c 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
Reviewed-by: alanb
2023-12-19 18:27:06 +00:00
Serguei Spitsyn
0f8e4e0a81 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable
Reviewed-by: lmesnik, alanb
2023-12-19 17:26:55 +00:00
Ludovic Henry
6313223bcd 8315856: RISC-V: Use Zacas extension for cmpxchg
Reviewed-by: rehn, fyang
2023-12-19 14:15:24 +00:00
Frederic Thevenet
3bc5679cab 8322309: Fix an inconsistancy in spacing style in spec.gmk.template
Reviewed-by: sgehwolf, erikj
2023-12-19 13:54:49 +00:00
Erik Österlund
be49dabd0d 8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects
Reviewed-by: stefank, sjohanss
2023-12-19 13:49:01 +00:00
Quan Anh Mai
ac968c36d7 8319451: PhaseIdealLoop::conditional_move is too conservative
Reviewed-by: redestad, thartmann, kvn
2023-12-19 10:39:50 +00:00
Guoxiong Li
0ad6c9e3d9 8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Reviewed-by: tschatzl, eosterlund
2023-12-19 10:39:37 +00:00
Hamlin Li
fff2e580cd 8322195: RISC-V: Minor improvement of MD5 instrinsic
Reviewed-by: luhenry, fyang
2023-12-19 08:45:15 +00:00
Albert Mingkun Yang
7b4d62c794 8322300: Remove redundant arg in PSAdaptiveSizePolicy::adjust_promo_for_pause_time
Reviewed-by: tschatzl
2023-12-19 08:39:45 +00:00
Jatin Bhateja
76637c53c5 8321648: Integral gather optimized mask computation.
Reviewed-by: thartmann, sviswanathan
2023-12-19 07:51:52 +00:00
Gui Cao
59073fa3eb 8322154: RISC-V: JDK-8315743 missed change in MacroAssembler::load_reserved
Reviewed-by: fyang, rehn, luhenry
2023-12-19 07:45:59 +00:00
William Kemper
808a03927c 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: kdnilsen, ysr
2023-12-19 00:09:31 +00:00
Alex Menkov
459957f30a 8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Reviewed-by: cjplummer, sspitsyn
2023-12-18 21:14:09 +00:00
Brian Burkhalter
b98d13fc3c 8259637: java.io.File.getCanonicalPath() returns different values for same path
Reviewed-by: alanb
2023-12-18 18:10:34 +00:00
Ioi Lam
4f3de09672 8321940: Improve CDSHeapVerifier in handling of interned strings
Reviewed-by: ccheung, matsaave
2023-12-18 17:56:07 +00:00
Matias Saavedra Silva
1fde8b868a 8321933: TestCDSVMCrash.java spawns two processes
Reviewed-by: ccheung, iklam
2023-12-18 17:05:22 +00:00
Afshin Zafari
66aeb89469 8315462: [REDO] runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: gziemski, stuefe
2023-12-18 16:52:36 +00:00
Yi-Fan Tsai
a5122d7f6c 8314029: Add file name parameter to Compiler.perfmap
Reviewed-by: cjplummer, eastigeevich
2023-12-18 15:20:59 +00:00
Yi-Fan Tsai
c0a3b76958 8316197: Make tracing of inline cache available in unified logging
Reviewed-by: kvn, dholmes
2023-12-18 15:19:16 +00:00
Albert Mingkun Yang
7e1d26dd5c 8322287: Parallel: Remove unused arg in adjust_eden_for_pause_time and adjust_eden_for_minor_pause_time
Reviewed-by: tschatzl
2023-12-18 14:29:00 +00:00
Albert Mingkun Yang
5584ba36c6 8322097: Serial: Refactor CardTableRS::find_first_clean_card
Reviewed-by: tschatzl, iwalulya
2023-12-18 13:30:34 +00:00
Albert Mingkun Yang
75d382d3db 8322204: Parallel: Remove unused _collection_cost_margin_fraction
Reviewed-by: tschatzl
2023-12-18 12:57:12 +00:00
Albert Mingkun Yang
febf8af4b5 8322089: Parallel: Remove PSAdaptiveSizePolicy::set_survivor_size
Reviewed-by: tschatzl
2023-12-18 12:57:01 +00:00
Alexander Scherbatiy
10335f60f9 7001133: OutOfMemoryError by CustomMediaSizeName implementation
Reviewed-by: psadhukhan
2023-12-18 12:11:41 +00:00
Lei Zaakjyu
ecff9c1ef7 8315040: Remove redundant check in WorkerPolicy::parallel_worker_threads
Reviewed-by: ayang, tschatzl
2023-12-18 11:05:48 +00:00
Hamlin Li
a247d0c74b 8322209: RISC-V: Enable some tests related to MD5 instrinsic
Reviewed-by: luhenry, fyang
2023-12-18 10:31:29 +00:00
Johan Sjölen
341b4e09b7 8321975: Print when add_reserved_region fails even in product mode
Reviewed-by: dholmes, stuefe
2023-12-18 09:45:26 +00:00
Ivan Walulya
f696796e88 8280087: G1: Handle out-of-mark stack situations during reference processing more gracefully
Reviewed-by: tschatzl, ayang
2023-12-18 09:43:53 +00:00
Lei Zaakjyu
413dbf8757 8322205: Parallel: Remove unused arg in PSCardTable::pre_scavenge
Reviewed-by: ayang, tschatzl
2023-12-18 09:31:13 +00:00
Thomas Schatzl
f553819502 8317007: Add bulk removal of dead nmethods during class unloading
Reviewed-by: ayang, iwalulya
2023-12-18 08:44:43 +00:00
Steven Schlansker
34351b7a79 8321892: Typo in log message logged by src/hotspot/share/nmt/virtualMemoryTracker.cpp
Reviewed-by: dholmes, azafari
2023-12-16 01:40:19 +00:00
Alisen Chung
b061b6678f 8322041: JDK 22 RDP1 L10n resource files update
Reviewed-by: almatvee, cstein, asemenyuk, joehw, jjg
2023-12-16 01:03:09 +00:00
Calvin Cheung
dcdcd48d8f 8321479: java -D-D crashes
Reviewed-by: dholmes, iklam
2023-12-15 19:04:42 +00:00
Naoto Sato
87ef73329f 8321958: @param/@return descriptions of ZoneRules#isDaylightSavings() are incorrect
Reviewed-by: jlu, joehw, jpai
2023-12-15 17:33:50 +00:00
Tom Rodriguez
05f7f0ade2 8321288: [JVMCI] HotSpotJVMCIRuntime doesn't clean up WeakReferences in resolvedJavaTypes
Reviewed-by: dnsimon, kvn
2023-12-15 17:25:24 +00:00
Roger Riggs
6311dabe68 8322018: Test java/lang/String/CompactString/MaxSizeUTF16String.java fails with -Xcomp
Reviewed-by: jpai
2023-12-15 16:13:36 +00:00
Liam Miller-Cushon
bdebf198bb 8322175: test/langtools/tools/javac/classreader/BadMethodParameter.java doesn't compile
Reviewed-by: jlahoda
2023-12-15 12:18:01 +00:00
Liam Miller-Cushon
20de541b13 8322040: Missing array bounds check in ClassReader.parameter
Reviewed-by: vromero
2023-12-15 10:16:35 +00:00
Matthias Baesken
b31454e362 8322098: os::Linux::print_system_memory_info enhance the THP output with /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
Reviewed-by: mdoerr, lucy
2023-12-15 07:42:39 +00:00
Gui Cao
0be0775a76 8320397: RISC-V: Avoid passing t0 as temp register to MacroAssembler:: cmpxchg_obj_header/cmpxchgptr
Reviewed-by: rehn, fyang
2023-12-15 07:23:50 +00:00
Joshua Cao
6dfb8120c2 8321823: Remove redundant PhaseGVN transform_no_reclaim
Reviewed-by: chagedorn, phh
2023-12-15 00:35:37 +00:00
Zhengyu Gu
a7dde578a8 8322057: Memory leaks in creating jfr symbol array
Reviewed-by: mgronlun
2023-12-14 22:33:34 +00:00
David Holmes
692be57738 8322065: Initial nroff manpage generation for JDK 23
Reviewed-by: alanb
2023-12-14 21:26:10 +00:00
David Holmes
d02bc873f8 8309981: Remove expired flags in JDK 23
Reviewed-by: alanb, kvn
2023-12-14 21:24:17 +00:00
Justin Lu
8b24851b9d 8321480: ISO 4217 Amendment 176 Update
Reviewed-by: naoto
2023-12-14 21:16:19 +00:00
Ben Perez
c328f9589d 8296787: Unify debug printing format of X.509 cert serial numbers
Reviewed-by: mullan, coffeys
2023-12-14 17:57:36 +00:00
Aleksei Voitylov
fde5b16817 8321514: UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2023-12-14 14:39:04 +00:00
Weijun Wang
45a9ade337 8202598: keytool -certreq output contains inconsistent line separators
Reviewed-by: hchao, mullan
2023-12-14 14:37:15 +00:00
Darragh Clarke
62b7c5eaed 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Reviewed-by: lmesnik
2023-12-14 13:24:19 +00:00
Daniel Lundén
69014cd55b 8320682: [AArch64] C1 compilation fails with "Field too big for insn"
Reviewed-by: thartmann, aph, dlong
2023-12-14 13:09:39 +00:00
Albert Mingkun Yang
5a97dbf606 8322034: Parallel: Remove unused methods in PSAdaptiveSizePolicy
Reviewed-by: kbarrett
2023-12-14 12:30:47 +00:00
Adam Sotona
2838a916ab 8288989: Make tests not depend on the source code
Reviewed-by: mcimadamore
2023-12-14 11:36:57 +00:00
Jaikiran Pai
d2ba3b1ef7 8312150: Remove -Xnoagent option
Reviewed-by: dholmes, alanb
2023-12-14 10:36:23 +00:00
Daniel Lundén
d632d743e0 8321820: TestLoadNIdeal fails on 32-bit because -XX:+UseCompressedOops is not recognized
Reviewed-by: rcastanedalo, chagedorn, shade
2023-12-14 09:29:34 +00:00
Joe Wang
ddbbd36e4b 8320279: Link issues in java.xml module-info.java
Reviewed-by: iris, lancea, naoto
2023-12-14 07:45:02 +00:00
Tobias Hartmann
c8ad7b7f84 8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass is not initialized
Reviewed-by: roland, kvn
2023-12-14 07:23:21 +00:00
Alex Menkov
cf948548c3 8321565: [REDO] Heap dump does not contain virtual Thread stack references
Reviewed-by: sspitsyn, yyang, dholmes
2023-12-13 18:47:04 +00:00
Jorn Vernee
7ece9e90c0 8321400: java/foreign/TestStubAllocFailure.java fails with code cache exhaustion
Reviewed-by: mcimadamore
2023-12-13 17:34:37 +00:00
Albert Mingkun Yang
9320ef9b29 8321973: Parallel: Remove unused methods in AdaptiveSizePolicy
Reviewed-by: tschatzl
2023-12-13 12:43:41 +00:00
Albert Mingkun Yang
2a565ff368 8321808: G1: Use unsigned type for non-negative G1 flags
Reviewed-by: tschatzl, iwalulya
2023-12-13 11:18:51 +00:00
Lei Zaakjyu
493b5bd2fd 8293622: Cleanup use of G1ConcRefinementThreads
Reviewed-by: ayang, iwalulya
2023-12-13 11:18:38 +00:00
Aleksei Voitylov
f573f6d233 8321515: ARM32: Move method resolution information out of the cpCache properly
Reviewed-by: shade
2023-12-13 11:04:11 +00:00
Sergey Tsypanov
8a0a6f8c25 8321279: Implement hashCode() in Heap-X-Buffer.java.template
Reviewed-by: alanb, bpb
2023-12-13 09:10:11 +00:00
David Holmes
3d9d353edb 8321825: Remove runtime/CompressedOops/CompressedClassPointers.java from the ProblemList
Reviewed-by: ccheung
2023-12-12 23:00:48 +00:00
Matias Saavedra Silva
1b621f5527 8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
Reviewed-by: dholmes, iklam
2023-12-12 22:49:41 +00:00
Erik Joelsson
5463c9cd9a 8321557: Move SOURCE line verification for OracleJDK out of OpenJDK
Reviewed-by: ihse
2023-12-12 21:31:41 +00:00
Joe Darcy
ac07355f55 8320200: Use Elements predicates for record constructors to improve print output
Reviewed-by: vromero
2023-12-12 21:00:50 +00:00
Roger Riggs
4fb5c12813 8321180: Condition for non-latin1 string size too large exception is off by one
Reviewed-by: rgiulietti
2023-12-12 20:55:17 +00:00
Alexandre Iline
d5a96e3f49 8321621: Update JCov version to 3.0.16
Reviewed-by: erikj, alanb, ihse
2023-12-12 20:41:18 +00:00
Justin Lu
aadf36809c 6230751: [Fmt-Ch] Recursive MessageFormats in ChoiceFormats ignore indicated subformats
Reviewed-by: naoto
2023-12-12 19:25:20 +00:00
Joe Darcy
a3447ec656 8321827: Remove unnecessary suppress warnings annotations from the printing processor
Reviewed-by: jlaskey
2023-12-12 18:44:43 +00:00
Sergey Bylokhov
b25ed57b76 8270269: Desktop.browse method fails if earlier CoInitialize call as COINIT_MULTITHREADED
Reviewed-by: aivanov
2023-12-12 18:30:41 +00:00
Christian Stein
df4ed7eff7 8321739: Source launcher fails with "Not a directory" error
Reviewed-by: jlahoda
2023-12-12 15:26:21 +00:00
Jamil Nimeh
5718039a46 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
Reviewed-by: chagedorn, shade
2023-12-12 14:36:58 +00:00
Hannes Wallnöfer
c51685267c 8321889: JavaDoc method references with wrong (nested) type
Reviewed-by: alanb
2023-12-12 11:27:31 +00:00
Thomas Schatzl
7d903964fb 8321422: Test gc/g1/pinnedobjs/TestPinnedObjectTypes.java times out after completion
Reviewed-by: iwalulya, ayang
2023-12-12 10:35:40 +00:00
Kevin Walls
6f4824068d 8321729: Remove 'orb' field in RMIConnector
Reviewed-by: rriggs, dfuchs
2023-12-12 10:02:01 +00:00
Kevin Walls
e1fd663f22 8311306: Test com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed: out of expected range
Reviewed-by: sspitsyn
2023-12-12 09:58:41 +00:00
Albert Mingkun Yang
d5214a4288 8321814: G1: Remove unused G1RemSetScanState::_collection_set_iter_state
Reviewed-by: tschatzl
2023-12-12 09:45:27 +00:00
Albert Mingkun Yang
2611a49ea1 8321287: Remove unused enum style in Prefetch
Reviewed-by: fparain, gziemski
2023-12-12 08:36:55 +00:00
Alan Bateman
b8c0b2fd8c 8321594: NativeThreadSet should use placeholder for virtual threads
Reviewed-by: bpb
2023-12-12 07:55:56 +00:00
Guoxiong Li
973bcdab81 8321631: Fix comments in access.hpp
Reviewed-by: eosterlund, stefank
2023-12-12 07:19:50 +00:00
Yuri Gaevsky
6359b4ec23 8318217: RISC-V: C2 VectorizedHashCode
Reviewed-by: mli, fyang
2023-12-12 06:35:09 +00:00
Jorn Vernee
ce4b257fa5 8320886: Unsafe_SetMemory0 is not guarded
Reviewed-by: dholmes, fparain
2023-12-11 19:05:40 +00:00
Hamlin Li
b270f30d10 8318629: G1: Refine code a bit in G1RemSetTrackingPolicy::update_at_allocate
Reviewed-by: ayang, tschatzl
2023-12-11 15:45:47 +00:00
Magnus Ihse Bursie
486594d427 8316657: Support whitebox testing in microbenchmarks
Reviewed-by: erikj, redestad
2023-12-11 14:17:38 +00:00
Jan Lahoda
ce8399fd60 8321582: yield <primitive-type>.class not parsed correctly.
Reviewed-by: vromero
2023-12-11 12:20:22 +00:00
Adam Sotona
3c6459e1de 8321641: ClassFile ModuleAttribute.ModuleAttributeBuilder::moduleVersion spec contains a copy-paste error
Reviewed-by: alanb
2023-12-11 10:08:42 +00:00
Anton Bobrov
92fd490f22 8321176: [Screencast] make a second attempt on screencast failure
Reviewed-by: azvegint, prr
2023-12-11 08:29:40 +00:00
Per Minborg
d13302f8b0 8321387: SegmentAllocator:allocateFrom(AddressLayout, MemorySegment) does not throw stated UnsupportedOperationException
Reviewed-by: mcimadamore
2023-12-11 07:52:31 +00:00
vamsi-parasa
ce108446ca 8319577: x86_64 AVX2 intrinsics for Arrays.sort methods (int, float arrays)
Reviewed-by: sviswanathan, ihse, jbhateja, kvn
2023-12-08 22:52:48 +00:00
Joe Darcy
5c12a182e3 8320790: Update --release 22 symbol information for JDK 22 build 27
Reviewed-by: iris, jjg
2023-12-08 19:33:48 +00:00
Brian Burkhalter
71800884f6 8321429: (fc) FileChannel.lock creates a FileKey containing two long index values, they could be stored as int values
Reviewed-by: alanb
2023-12-08 19:19:01 +00:00
Naoto Sato
0c178beb69 8321206: Make Locale related system properties StaticProperty
Reviewed-by: rriggs
2023-12-08 18:47:40 +00:00
Phil Race
6c13a3032f 8312307: Obsoleted code in hb-jdk-font.cc
Reviewed-by: serb
2023-12-08 18:47:30 +00:00
Ioi Lam
5e6bfc5eaa 8321539: Minimal build is broken by JDK-8320935
Reviewed-by: matsaave, ccheung, mbaesken
2023-12-08 17:25:22 +00:00
Chris Plummer
2c2d4d2cde 8321485: remove serviceability/attach/ConcAttachTest.java from problemlist on macosx
Reviewed-by: jpai, amenkov
2023-12-08 17:02:35 +00:00
Lance Andersen
0eb299af79 8316141: Improve CEN header validation checking
Reviewed-by: alanb
2023-12-08 16:37:53 +00:00
Magnus Ihse Bursie
b893a2b2f7 8321597: Use .template consistently for files treated as templates by the build
Reviewed-by: erikj
2023-12-08 15:46:02 +00:00
Frederic Thevenet
05f950934e 8321374: Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll
Reviewed-by: erikj, ihse
2023-12-08 14:09:01 +00:00
Daniel Lundén
701bc3bbbe 8295166: IGV: dump graph at more locations
Reviewed-by: thartmann, rcastanedalo, chagedorn
2023-12-08 11:08:08 +00:00
Daniel Lundén
9e48b90c7f 8310524: C2: record parser-generated LoadN nodes for IGVN
Reviewed-by: chagedorn, rcastanedalo, thartmann
2023-12-08 11:04:39 +00:00
sunguoyun
bad5edf146 8320959: jdk/jfr/event/runtime/TestShutdownEvent.java crash with CONF=fastdebug -Xcomp
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Reviewed-by: mgronlun
2023-12-08 10:47:58 +00:00
Jaikiran Pai
f577385fc8 8316738: java/net/httpclient/HttpClientLocalAddrTest.java failed in timeout
Reviewed-by: dfuchs
2023-12-08 10:21:07 +00:00
Alan Bateman
86623aa41d 8320786: Remove ThreadGroup.stop
Reviewed-by: rriggs, dholmes, jpai
2023-12-08 08:04:38 +00:00
Alan Bateman
af5c49226c 8320532: Remove Thread/ThreadGroup suspend/resume
Reviewed-by: dholmes, jpai, sspitsyn, smarks
2023-12-08 07:10:20 +00:00
Alex Menkov
cb7e3d263a 8321560: [BACKOUT] 8299426: Heap dump does not contain virtual Thread stack references
Reviewed-by: cjplummer, dholmes
2023-12-08 01:24:25 +00:00
Phil Race
25dc4762b4 8286827: BogusColorSpace methods return wrong array
Reviewed-by: bpb, serb
2023-12-07 23:33:56 +00:00
Weijun Wang
11e4a925be 8320597: RSA signature verification fails on signed data that does not encode params correctly
Reviewed-by: mullan, valeriep
2023-12-07 23:25:56 +00:00
Alex Menkov
354ea4c28f 8299426: Heap dump does not contain virtual Thread stack references
Reviewed-by: cjplummer, sspitsyn, lmesnik
2023-12-07 23:18:23 +00:00
Phil Race
959a443a9e 8288712: Typo in javadoc in javax.imageio.ImageReader.java
Reviewed-by: iris
2023-12-07 21:05:38 +00:00
Naoto Sato
4ed38f5ad5 8321409: Console read line with zero out should zero out underlying buffer in JLine (redux)
Reviewed-by: alanb
2023-12-07 19:46:18 +00:00
Matias Saavedra Silva
fe4c0a2f04 8302790: Set FileMapRegion::mapped_base() to null if mapping fails
Reviewed-by: iklam, ccheung
2023-12-07 19:32:55 +00:00
Joe Darcy
519ecd352a 8319413: Start of release updates for JDK 23
8319414: Add SourceVersion.RELEASE_23
8319416: Add source 23 and target 23 to javac

Reviewed-by: iris, erikj, alanb, vromero
2023-12-07 17:01:29 +00:00
19646 changed files with 1355052 additions and 877178 deletions

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

@@ -0,0 +1,238 @@
[![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 |
|-------------|---------------------------------------------------------------------------------------------------------|---------------|
| 2024.3 | [21.0.5-b631.8](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.5b631.19) | 19-Nov-2024 |
| 2024.2 | [21.0.4-b509.26](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.4b509.26) | 08-Oct-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 |
## Contents
- [Welcome to JetBrains Runtime](#welcome-to-jetbrains-runtime)
- [Why Use JetBrains Runtime?](#why-use-jetbrains-runtime)
- [Products Built on JetBrains Runtime](#products-built-on-jetbrains-runtime)
- [Getting Sources](#getting-sources)
- [macOS, Linux](#macos-linux)
- [Windows](#sources-windows)
- [Configuring the Build Environment](#configuring-the-build-environment)
- [Linux (Docker)](#linux-docker)
- [Ubuntu Linux](#ubuntu-linux)
- [Windows](#build-windows)
- [macOS](#macos)
- [Developing](#developing)
- [Contributing](#contributing)
- [Resources](#resources)
## Why Use JetBrains Runtime?
* **Embedded browser**: JetBrains Runtime includes the Java Chromium Embedded Framework ([JCEF](https://github.com/JetBrains/jcef)), which
enables you to embed a Chromium-based browsers in your JVM-based application.
To use it, [download a build with JCEF](https://github.com/JetBrains/JetBrainsRuntime/releases).
* **Enhanced class re-definition** with the [DCEVM](https://ssw.jku.at/dcevm/) technology that makes it easier to reload
changed code without restarting JVM; this feature needs to be explicitly enabled with `-XX:+AllowEnhancedClassRedefinition`.
* **Better FPS performance** for graphics-intensive applications.
* **Improved font rendering**, **keyboard input** (such as shortcuts and multinational keyboards),
**HiDPI** and **accessibility** support.
* **Robust desktop experience**: GUI-related fixes often reach JetBrains Runtime much earlier than the corresponding version of OpenJDK.
## Products Built on JetBrains Runtime
* [Android Studio](https://developer.android.com/studio). The official IDE for Google's Android operating system.
* [CLion](https://www.jetbrains.com/clion/). A cross-platform IDE for C and C++ from JetBrains.
* [DataGrip](https://www.jetbrains.com/datagrip/). The IDE for Databases and SQL from JetBrains.
* [GoLand](https://www.jetbrains.com/go/). The cross-platform Go IDE from JetBrains.
* [IntelliJ IDEA](https://www.jetbrains.com/idea/). The IDE for JVM from JetBrains.
* [JProfiler](https://www.ej-technologies.com/products/jprofiler/overview.html). The Java profiler.
* [PhpStorm](https://www.jetbrains.com/phpstorm/). The PHP IDE from JetBrains.
* [PyCharm](https://www.jetbrains.com/pycharm/). The Python IDE from JetBrains.
* [Rider](https://www.jetbrains.com/rider/). The cross-platform .NET IDE from JetBrains.
* [RubyMine](https://www.jetbrains.com/ruby/). The Ruby and Rails IDE from JetBrains.
* [Toolbox App](https://www.jetbrains.com/toolbox-app/). JetBrains IDE manager.
* [WebStorm](https://www.jetbrains.com/webstorm/). The JavaScript IDE from JetBrains.
* [YourKit](https://www.yourkit.com/). Java and .NET profilers.
## Getting Sources
### macOS, Linux
```
git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
### 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)
Create a container (use the `mkdocker...` variant for your architecture):
```
$ cd jb/project/docker
$ ./mkdocker_x86_64.sh
...
Successfully built 942ea9900054
```
Run these commands in the new container:
```
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# 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

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

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

View File

@@ -65,7 +65,7 @@ runs:
- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}

View File

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

View File

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

View File

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

View File

@@ -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
@@ -45,6 +45,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 +61,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
@@ -69,7 +73,7 @@ runs:
shell: bash
- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

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

View File

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

View File

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

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

@@ -0,0 +1,41 @@
#!/bin/bash
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
}

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

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -133,8 +133,12 @@ jobs:
- name: 'Build'
id: build
uses: ./.github/actions/do-build
env:
# Only build static-libs-bundles for release builds.
# For debug builds, building static-libs often exceeds disk space.
STATIC_LIBS: ${{ matrix.debug-level == 'release' && 'static-libs-bundles' }}
with:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
make-target: '${{ inputs.make-target }} ${STATIC_LIBS} ${{ inputs.make-arguments }}'
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
@@ -31,6 +31,9 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -55,7 +58,7 @@ on:
jobs:
build-macos:
name: build
runs-on: macos-13
runs-on: ${{ inputs.runs-on }}
strategy:
fail-fast: false
@@ -74,7 +77,7 @@ jobs:
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: macos-x64
platform: ${{ inputs.platform }}
- name: 'Get JTReg'
id: jtreg
@@ -87,7 +90,7 @@ jobs:
- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install make
brew install autoconf make
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,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-x86-hs, 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,19 @@ 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-x86-hs: ${{ steps.include.outputs.linux-x86-hs }}
# additional build options for linux-x64 are disabled
# linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
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 +75,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 +96,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 +116,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 +133,24 @@ 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-x86-hs=$(check_platform linux-x86-hs linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "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,36 +163,36 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
build-linux-x86-hs:
name: linux-x86-hs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
make-target: 'hotspot'
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-architecture: 'i386'
# 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'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev: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-x86-hs == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -165,11 +202,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
@@ -179,11 +216,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
@@ -193,11 +230,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
@@ -208,46 +245,55 @@ jobs:
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-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
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '14.3.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -255,11 +301,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
@@ -269,11 +315,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
@@ -285,7 +331,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
@@ -301,16 +347,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:
@@ -320,6 +356,18 @@ jobs:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-13
xcode-toolset-version: '14.3.1'
test-macos-aarch64:
name: macos-aarch64
needs:
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -330,50 +378,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@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

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

@@ -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,6 +66,7 @@ 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'
@@ -90,13 +94,17 @@ jobs:
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2 test/hotspot/jtreg/:tier1_compiler_not_xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
test-suite: 'test/hotspot/jtreg/:tier1_gc'
debug-suffix: -debug
@@ -142,7 +150,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'
@@ -206,7 +214,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -214,7 +222,7 @@ jobs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

6
.gitignore vendored
View File

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

View File

@@ -1,21 +1,22 @@
[general]
project=jdk
jbs=JDK
version=22
version=24
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
warning=issuestitle,binary
[repository]
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)
branches=
branches=.*
[census]
version=0
domain=openjdk.org
[checks "whitespace"]
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java|.*\.cc|.*\.hh|.*\.m|.*\.mm|.*\.md|.*\.gmk|.*\.m4|.*\.ac|Makefile
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java|.*\.cc|.*\.hh|.*\.m|.*\.mm|.*\.S|.*\.md|.*\.properties|.*\.gmk|.*\.m4|.*\.ac|Makefile
ignore-tabs=.*\.gmk|Makefile
[checks "merge"]

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,5 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright 2015 Google, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
@@ -26,12 +27,17 @@ usage() {
echo "$0 DIR ..."
echo "Modifies in place all the java source files found"
echo "in the given directories so that all java language modifiers"
echo "are in the canonical order given by Modifier#toString()."
echo "are in the canonical order."
echo "Tries to get it right even within javadoc comments,"
echo "and even if the list of modifiers spans 2 lines."
echo
echo "See:"
echo "https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Modifier.html#toString-int-"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1.1"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.3.1"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.3"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.8.3"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.1.1"
echo "https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.4"
echo
echo "Example:"
echo "$0 jdk/src/java.base jdk/test/java/{util,io,lang}"
@@ -46,7 +52,7 @@ for dir in "${dirs[@]}"; do [[ -d "$dir" ]] || usage; done
declare -ar modifiers=(
public protected private
abstract static final transient
abstract default static final sealed non-sealed transient
volatile synchronized native strictfp
)
declare -r SAVE_IFS="$IFS"

View File

@@ -25,7 +25,26 @@
# Shell script for generating an IDEA project from a given list of modules
usage() {
echo "usage: $0 [-h|--help] [-v|--verbose] [-o|--output <path>] [-c|--conf <conf_name>] [modules]+"
echo "Usage: $0 [-h|--help] [-q|--quiet] [-a|--absolute-paths] [-r|--root <path>] [-o|--output <path>] [-c|--conf <conf_name>] [modules...]"
echo " -h | --help"
echo " -q | --quiet
No stdout output"
echo " -a | --absolute-paths
Use absolute paths to this jdk, so that generated .idea
project files can be moved independently of jdk sources"
echo " -r | --root <path>
Project content root
Default: $TOPLEVEL_DIR"
echo " -o | --output <path>
Where .idea directory with project files will be generated
(e.g. using '-o .' will place project files in './.idea')
Default: same as --root"
echo " -c | --conf <conf_name>
make configuration (release, slowdebug etc)"
echo " [modules...]
Generate project modules for specific java modules
(e.g. 'java.base java.desktop')
Default: all existing modules (java.* and jdk.*)"
exit 1
}
@@ -33,10 +52,13 @@ SCRIPT_DIR=`dirname $0`
#assume TOP is the dir from which the script has been called
TOP=`pwd`
cd $SCRIPT_DIR; SCRIPT_DIR=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd .. ; TOPLEVEL_DIR=`pwd`
fi
cd $TOP;
IDEA_OUTPUT=$TOP/.idea
VERBOSE="false"
VERBOSE=true
ABSOLUTE_PATHS=false
CONF_ARG=
while [ $# -gt 0 ]
do
@@ -45,14 +67,24 @@ do
usage
;;
-v | --vebose )
VERBOSE="true"
-q | --quiet )
VERBOSE=false
;;
-a | --absolute-paths )
ABSOLUTE_PATHS=true
;;
-r | --root )
TOPLEVEL_DIR="$2"
shift
;;
-o | --output )
IDEA_OUTPUT=$2/.idea
IDEA_OUTPUT="$2/.idea"
shift
;;
-c | --conf )
CONF_ARG="CONF_NAME=$2"
shift
@@ -69,20 +101,17 @@ do
shift
done
if [ -e $IDEA_OUTPUT ] ; then
rm -r $IDEA_OUTPUT
if [ "x$IDEA_OUTPUT" = "x" ] ; then
IDEA_OUTPUT="$TOPLEVEL_DIR/.idea"
fi
mkdir -p $IDEA_OUTPUT || exit 1
cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
cd "$TOP" ; cd $TOPLEVEL_DIR; TOPLEVEL_DIR=`pwd`
cd "$TOP" ; cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
cd ..; IDEA_OUTPUT_PARENT=`pwd`
cd "$SCRIPT_DIR/.." ; OPENJDK_DIR=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd $SCRIPT_DIR/..
TOPLEVEL_DIR=`pwd`
cd $IDEA_OUTPUT
fi
MAKE_DIR="$SCRIPT_DIR/../make"
IDEA_MAKE="$MAKE_DIR/ide/idea/jdk"
IDEA_MAKE="$OPENJDK_DIR/make/ide/idea/jdk"
IDEA_TEMPLATE="$IDEA_MAKE/template"
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
@@ -94,31 +123,31 @@ if [ -d "$TEMPLATES_OVERRIDE" ] ; then
done
fi
if [ "$VERBOSE" = "true" ] ; then
echo "output dir: $IDEA_OUTPUT"
echo "idea template dir: $IDEA_TEMPLATE"
if [ "$VERBOSE" = true ] ; then
echo "Will generate IDEA project files in \"$IDEA_OUTPUT\" for project \"$TOPLEVEL_DIR\""
fi
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" $CONF_ARG || exit 1
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I "$OPENJDK_DIR" idea TOPLEVEL_DIR="$TOPLEVEL_DIR" \
MAKEOVERRIDES= IDEA_OUTPUT_PARENT="$IDEA_OUTPUT_PARENT" OUT="$IDEA_OUTPUT/env.cfg" MODULES="$*" $CONF_ARG || exit 1
cd $SCRIPT_DIR
. $IDEA_OUTPUT/env.cfg
# Expect MODULE_ROOTS, MODULE_NAMES, BOOT_JDK & SPEC to be set
if [ "x$MODULE_ROOTS" = "x" ] ; then
echo "FATAL: MODULE_ROOTS is empty" >&2; exit 1
# Expect MODULES, MODULE_NAMES, RELATIVE_PROJECT_DIR, RELATIVE_BUILD_DIR to be set
if [ "xMODULES" = "x" ] ; then
echo "FATAL: MODULES is empty" >&2; exit 1
fi
if [ "x$MODULE_NAMES" = "x" ] ; then
echo "FATAL: MODULE_NAMES is empty" >&2; exit 1
fi
if [ "x$BOOT_JDK" = "x" ] ; then
echo "FATAL: BOOT_JDK is empty" >&2; exit 1
if [ "x$RELATIVE_PROJECT_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_PROJECT_DIR is empty" >&2; exit 1
fi
if [ "x$SPEC" = "x" ] ; then
echo "FATAL: SPEC is empty" >&2; exit 1
if [ "x$RELATIVE_BUILD_DIR" = "x" ] ; then
echo "FATAL: RELATIVE_BUILD_DIR is empty" >&2; exit 1
fi
if [ -d "$TOPLEVEL_DIR/.hg" ] ; then
@@ -129,6 +158,43 @@ if [ -d "$TOPLEVEL_DIR/.git" ] ; then
VCS_TYPE="Git"
fi
if [ "$ABSOLUTE_PATHS" = true ] ; then
if [ "x$PATHTOOL" != "x" ]; then
PROJECT_DIR="`$PATHTOOL -am $OPENJDK_DIR`"
TOPLEVEL_PROJECT_DIR="`$PATHTOOL -am $TOPLEVEL_DIR`"
else
PROJECT_DIR="$OPENJDK_DIR"
TOPLEVEL_PROJECT_DIR="$TOPLEVEL_DIR"
fi
MODULE_DIR="$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="$TOPLEVEL_PROJECT_DIR"
cd "$IDEA_OUTPUT_PARENT" && cd "$RELATIVE_BUILD_DIR" && BUILD_DIR="`pwd`"
CLION_SCRIPT_TOPDIR="$OPENJDK_DIR"
CLION_PROJECT_DIR="$PROJECT_DIR"
else
if [ "$RELATIVE_PROJECT_DIR" = "." ] ; then
PROJECT_DIR=""
else
PROJECT_DIR="/$RELATIVE_PROJECT_DIR"
fi
if [ "$RELATIVE_TOPLEVEL_PROJECT_DIR" = "." ] ; then
TOPLEVEL_PROJECT_DIR=""
else
TOPLEVEL_PROJECT_DIR="/$RELATIVE_TOPLEVEL_PROJECT_DIR"
fi
MODULE_DIR="\$MODULE_DIR\$$PROJECT_DIR"
PROJECT_DIR="\$PROJECT_DIR\$$PROJECT_DIR"
TOPLEVEL_MODULE_DIR="\$MODULE_DIR\$$TOPLEVEL_PROJECT_DIR"
TOPLEVEL_PROJECT_DIR="\$PROJECT_DIR\$$TOPLEVEL_PROJECT_DIR"
BUILD_DIR="\$PROJECT_DIR\$/$RELATIVE_BUILD_DIR"
CLION_SCRIPT_TOPDIR="$CLION_RELATIVE_PROJECT_DIR"
CLION_PROJECT_DIR="\$PROJECT_DIR\$/$CLION_SCRIPT_TOPDIR"
fi
if [ "$VERBOSE" = true ] ; then
echo "Project root: $PROJECT_DIR"
echo "Generating IDEA project files..."
fi
### Replace template variables
NUM_REPLACEMENTS=0
@@ -152,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

@@ -68,7 +68,8 @@ id="toc-native-compiler-toolchain-requirements">Native Compiler
<li><a href="#apple-xcode" id="toc-apple-xcode">Apple Xcode</a></li>
<li><a href="#microsoft-visual-studio"
id="toc-microsoft-visual-studio">Microsoft Visual Studio</a></li>
<li><a href="#ibm-xl-cc" id="toc-ibm-xl-cc">IBM XL C/C++</a></li>
<li><a href="#ibm-open-xl-cc" id="toc-ibm-open-xl-cc">IBM Open XL
C/C++</a></li>
</ul></li>
<li><a href="#boot-jdk-requirements" id="toc-boot-jdk-requirements">Boot
JDK Requirements</a>
@@ -92,6 +93,8 @@ id="toc-build-tools-requirements">Build Tools Requirements</a>
<li><a href="#autoconf" id="toc-autoconf">Autoconf</a></li>
<li><a href="#gnu-make" id="toc-gnu-make">GNU Make</a></li>
<li><a href="#gnu-bash" id="toc-gnu-bash">GNU Bash</a></li>
<li><a href="#graphviz-and-pandoc" id="toc-graphviz-and-pandoc">Graphviz
and Pandoc</a></li>
</ul></li>
<li><a href="#running-configure" id="toc-running-configure">Running
Configure</a>
@@ -524,7 +527,7 @@ header files as provided by your distribution.</p>
<p>The basic tooling is provided as part of the core operating system,
but you will most likely need to install developer packages.</p>
<p>For apt-based distributions (Debian, Ubuntu, etc), try this:</p>
<pre><code>sudo apt-get install build-essential</code></pre>
<pre><code>sudo apt-get install build-essential autoconf</code></pre>
<p>For rpm-based distributions (Fedora, Red Hat, etc), try this:</p>
<pre><code>sudo yum groupinstall &quot;Development Tools&quot;</code></pre>
<p>For Alpine Linux, aside from basic tooling, install the GNU versions
@@ -560,7 +563,7 @@ system and toolchain.</p>
</tr>
<tr class="odd">
<td>AIX</td>
<td>IBM XL C/C++</td>
<td>IBM Open XL C/C++</td>
</tr>
<tr class="even">
<td>Windows</td>
@@ -599,22 +602,21 @@ to compile successfully without issues.</p>
<p>All compilers are expected to be able to handle the C11 language
standard for C, and C++14 for C++.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 6.0. Older versions will not
<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>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.5. Older versions will not
<p>The minimum accepted version of clang is 13. Older versions will not
be accepted by <code>configure</code>.</p>
<p>To use clang instead of gcc on Linux, use
<code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 8.</p>
<p>You will need the Xcode command 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>The oldest supported version of Xcode is 13.0.</p>
<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>
@@ -671,11 +673,10 @@ the following line: (note that the " characters are essential)</p>
version number accordingly. If you have not installed the
<code>BuildTools</code>, but e.g. <code>Professional</code>, adjust the
product ID accordingly.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
<p>Please consult the AIX section of the <a
href="https://wiki.openjdk.org/display/Build/Supported+Build+Platforms">Supported
Build Platforms</a> OpenJDK Build Wiki page for details about which
versions of XLC are supported.</p>
<h3 id="ibm-open-xl-cc">IBM Open XL C/C++</h3>
<p>The minimum accepted version of Open XL is 17.1.1.4. This is in
essence clang 15, and will be treated as such by the OpenJDK build
system.</p>
<h2 id="boot-jdk-requirements">Boot JDK Requirements</h2>
<p>Paradoxically, building the JDK requires a pre-existing JDK. This is
called the "boot JDK". The boot JDK does not, however, have to be a JDK
@@ -753,6 +754,8 @@ macOS.</p>
<code>sudo apt-get install libfontconfig-dev</code>.</li>
<li>To install on an rpm-based Linux, try running
<code>sudo yum install fontconfig-devel</code>.</li>
<li>To install on Alpine Linux, try running
<code>sudo apk add fontconfig-dev</code>.</li>
</ul>
<p>Use <code>--with-fontconfig-include=&lt;path&gt;</code> and
<code>--with-fontconfig=&lt;path&gt;</code> if <code>configure</code>
@@ -860,6 +863,13 @@ e.g. <code>configure MAKE=/opt/gnu/make</code>.</p>
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
<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>
<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
@@ -1499,9 +1509,7 @@ like this:</p>
--resolve-deps \
buster \
~/sysroot-arm64 \
https://httpredir.debian.org/debian/</code></pre>
<p>If the target architecture is <code>riscv64</code>, the path should
be <code>debian-ports</code> instead of <code>debian</code>.</p></li>
https://httpredir.debian.org/debian/</code></pre></li>
<li><p>To create an Ubuntu-based chroot:</p>
<pre><code>sudo debootstrap \
--arch=arm64 \
@@ -2008,10 +2016,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
@@ -2157,15 +2173,26 @@ you can create a directory under <code>build</code> and run
<code>configure</code> from there, e.g.
<code>mkdir build/&lt;name&gt; &amp;&amp; cd build/&lt;name&gt; &amp;&amp; bash ../../configure</code>.</p>
<p>Then you can build that configuration using
<code>make CONF_NAME=&lt;name&gt;</code> or
<code>make CONF=&lt;pattern&gt;</code>, where
<code>&lt;pattern&gt;</code> is a substring matching one or several
configurations, e.g. <code>CONF=debug</code>. The special empty pattern
(<code>CONF=</code>) will match <em>all</em> available configuration, so
<code>make CONF= hotspot</code> will build the <code>hotspot</code>
target for all configurations. Alternatively, you can execute
<code>make</code> in the configuration directory, e.g.
<code>cd build/&lt;name&gt; &amp;&amp; make</code>.</p>
<code>make CONF=&lt;selector&gt;</code>, where
<code>&lt;selector&gt;</code> is interpreted as follows:</p>
<ul>
<li>If <code>&lt;selector&gt;</code> exacly matches the name of a
configuration, this and only this configuration will be selected.</li>
<li>If <code>&lt;selector&gt;</code> matches (i.e. is a substring of)
the names of several configurations, then all these configurations will
be selected.</li>
<li>If <code>&lt;selector&gt;</code> is empty (i.e. <code>CONF=</code>),
then all configurations will be selected.</li>
<li>If <code>&lt;selector&gt;</code> begins with <code>!</code>, then
all configurations <strong>not</strong> matching the string following
<code>!</code> will be selected.</li>
</ul>
<p>A more specialized version, <code>CONF_NAME=&lt;name&gt;</code> also
exists, which will only match if the given <code>&lt;name&gt;</code>
exactly matches a single configuration.</p>
<p>Alternatively, you can execute <code>make</code> in the configuration
directory, e.g. <code>cd build/&lt;name&gt; &amp;&amp; make</code>.</p>
<p><code>make CONF_NAME=&lt;name&gt;</code> or</p>
<h3 id="handling-reconfigurations">Handling Reconfigurations</h3>
<p>If you update the repository and part of the configure script has
changed, the build system will force you to re-run

View File

@@ -349,7 +349,7 @@ will most likely need to install developer packages.
For apt-based distributions (Debian, Ubuntu, etc), try this:
```
sudo apt-get install build-essential
sudo apt-get install build-essential autoconf
```
For rpm-based distributions (Fedora, Red Hat, etc), try this:
@@ -382,7 +382,7 @@ one-to-one correlation between target operating system and toolchain.
| ------------------ | ------------------------- |
| Linux | gcc, clang |
| macOS | Apple Xcode (using clang) |
| AIX | IBM XL C/C++ |
| AIX | IBM Open XL C/C++ |
| Windows | Microsoft Visual Studio |
Please see the individual sections on the toolchains for version
@@ -403,7 +403,7 @@ C, and C++14 for C++.
### gcc
The minimum accepted version of gcc is 6.0. Older versions will not be accepted
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
@@ -413,22 +413,18 @@ In general, any version between these two should be usable.
### clang
The minimum accepted version of clang is 3.5. Older versions will not be
The minimum accepted version of clang is 13. Older versions will not be
accepted by `configure`.
To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
### Apple Xcode
The oldest supported version of Xcode is 8.
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:
@@ -487,11 +483,10 @@ that the " characters are essential)
accordingly. If you have not installed the `BuildTools`, but e.g.
`Professional`, adjust the product ID accordingly.
### IBM XL C/C++
### IBM Open XL C/C++
Please consult the AIX section of the [Supported Build Platforms](
https://wiki.openjdk.org/display/Build/Supported+Build+Platforms) OpenJDK Build
Wiki page for details about which versions of XLC are supported.
The minimum accepted version of Open XL is 17.1.1.4. This is in essence clang
15, and will be treated as such by the OpenJDK build system.
## Boot JDK Requirements
@@ -572,6 +567,7 @@ required on all platforms except Windows and macOS.
libfontconfig-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
fontconfig-devel`.
* To install on Alpine Linux, try running `sudo apk add fontconfig-dev`.
Use `--with-fontconfig-include=<path>` and `--with-fontconfig=<path>` if
`configure` does not automatically locate the platform Fontconfig files.
@@ -684,6 +680,14 @@ shells are supported.
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
work. For reference, and subject to change, Oracle builds use Graphviz
9.0.0 and Pandoc 2.19.2.
## Running Configure
To build the JDK, you need a "configuration", which consists of a directory
@@ -1316,9 +1320,6 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
https://httpredir.debian.org/debian/
```
If the target architecture is `riscv64`, the path should be `debian-ports`
instead of `debian`.
* To create an Ubuntu-based chroot:
```
@@ -1799,9 +1800,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
@@ -1946,12 +1955,25 @@ configuration with the name `<name>`. Alternatively, you can create a directory
under `build` and run `configure` from there, e.g. `mkdir build/<name> && cd
build/<name> && bash ../../configure`.
Then you can build that configuration using `make CONF_NAME=<name>` or `make
CONF=<pattern>`, where `<pattern>` is a substring matching one or several
configurations, e.g. `CONF=debug`. The special empty pattern (`CONF=`) will
match *all* available configuration, so `make CONF= hotspot` will build the
`hotspot` target for all configurations. Alternatively, you can execute `make`
in the configuration directory, e.g. `cd build/<name> && make`.
Then you can build that configuration using `make CONF=<selector>`, where
`<selector>` is interpreted as follows:
* If `<selector>` exacly matches the name of a configuration, this and only
this configuration will be selected.
* If `<selector>` matches (i.e. is a substring of) the names of several
configurations, then all these configurations will be selected.
* If `<selector>` is empty (i.e. `CONF=`), then all configurations will be
selected.
* If `<selector>` begins with `!`, then all configurations **not** matching the
string following `!` will be selected.
A more specialized version, `CONF_NAME=<name>` also exists, which will only
match if the given `<name>` exactly matches a single configuration.
Alternatively, you can execute `make` in the configuration directory, e.g. `cd
build/<name> && make`.
`make CONF_NAME=<name>` or
### Handling Reconfigurations

View File

@@ -748,12 +748,15 @@ cases where dynamic initialization or destruction are essential. See <a
href="https://bugs.openjdk.org/browse/JDK-8282469">JDK-8282469</a> for
further discussion.</p>
<h3 id="nullptr">nullptr</h3>
<p>Prefer <code>nullptr</code> (<a
<p>Use <code>nullptr</code> (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf">n2431</a>)
to <code>NULL</code>. Don't use (constexpr or literal) 0 for
pointers.</p>
<p>For historical reasons there are widespread uses of both
<code>NULL</code> and of integer 0 as a pointer value.</p>
rather than <code>NULL</code>. See the paper for reasons to avoid
<code>NULL</code>.</p>
<p>Don't use (constant expression or literal) 0 for pointers. Note that
C++14 removed non-literal 0 constants from <em>null pointer
constants</em>, though some compilers continue to treat them as such.
For historical reasons there may be lingering uses of 0 as a
pointer.</p>
<h3 id="atomic">&lt;atomic&gt;</h3>
<p>Do not use facilities provided by the <code>&lt;atomic&gt;</code>
header (<a

View File

@@ -725,12 +725,14 @@ for further discussion.
### nullptr
Prefer `nullptr`
Use `nullptr`
([n2431](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf))
to `NULL`. Don't use (constexpr or literal) 0 for pointers.
rather than `NULL`. See the paper for reasons to avoid `NULL`.
For historical reasons there are widespread uses of both `NULL` and of
integer 0 as a pointer value.
Don't use (constant expression or literal) 0 for pointers. Note that C++14
removed non-literal 0 constants from _null pointer constants_, though some
compilers continue to treat them as such. For historical reasons there may be
lingering uses of 0 as a pointer.
### &lt;atomic&gt;

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>
@@ -110,10 +111,6 @@ Java and C/C++ natures during development by running:</p>
<pre><code>make eclipse-mixed-env</code></pre>
<p>Do note that this generates all features that come with both Java and
C/C++ natures.</p>
<p>By default, the Eclipse Workspace is located in the ide subdirectory
in the build output. To share the JDK's source directory with the
Eclipse Workspace, you can instead run:</p>
<pre><code>make eclipse-shared-&lt;ENV&gt;-env</code></pre>
<p>Eclipse support in the JDK is relatively new, so do keep in mind that
not everything may work at the moment. As such, the resulting Workspace
also has compilation database parsing support enabled, so you can pass
@@ -160,9 +157,6 @@ to import the newly created Java Workspace.</p>
<p>If doing so results in an error, you can also import the JDK via
<code>File -&gt; Import -&gt; Existing Projects into Workspace</code> as
a last resort.</p>
<p>Alternatively, if you want a Java Workspace inside the JDK's source
directory, you can instead run:</p>
<pre><code>make eclipse-shared-java-env</code></pre>
<p>As mentioned above for Eclipse CDT, you can create a combined Java
and C/C++ Workspace which can conveniently switch between Java and C/C++
natures during development by running:</p>

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:
@@ -100,14 +101,6 @@ make eclipse-mixed-env
Do note that this generates all features that come with both Java and C/C++
natures.
By default, the Eclipse Workspace is located in the ide subdirectory in the
build output. To share the JDK's source directory with the Eclipse Workspace,
you can instead run:
```
make eclipse-shared-<ENV>-env
```
Eclipse support in the JDK is relatively new, so do keep in mind that not
everything may work at the moment. As such, the resulting Workspace also
has compilation database parsing support enabled, so you can pass Eclipse
@@ -176,13 +169,6 @@ If doing so results in an error, you can also import the JDK via
`File -> Import -> Existing Projects into Workspace`
as a last resort.
Alternatively, if you want a Java Workspace inside the JDK's source directory,
you can instead run:
```
make eclipse-shared-java-env
```
As mentioned above for Eclipse CDT, you can create a combined Java and C/C++
Workspace which can conveniently switch between Java and C/C++ natures during
development by running:

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>
@@ -177,10 +180,11 @@ is equivalent to <code>make test TEST="tier1"</code>, but the latter is
more tab-completion friendly. For more complex test runs, the
<code>test TEST="x"</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
fully qualified test descriptors, which clearly and unambiguously show
which tests will be run. As an example, <code>:tier1</code> will expand
to
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>.
to include all subcomponent test directories that define
<code>tier1</code>, for example:
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...</code>.
You can always submit a list of fully qualified test descriptors in the
<code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
@@ -227,7 +231,7 @@ tests.</p></li>
These contain, among other things, tests that either run for too long to
be at <code>tier1</code>, or may require special configuration, or tests
that are less stable, or cover the broader range of non-core JVM and JDK
features/components(for example, XML).</p></li>
features/components (for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful
tests, the tests for corner cases not covered by previous tiers, plus
the tests that require GUIs. As such, this suite should either be run
@@ -367,7 +371,7 @@ would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would
just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code>
(semicolon). Since the shell normally eats <code>;</code>, the
recommended usage is to write the assignment inside qoutes, e.g.
recommended usage is to write the assignment inside quotes, e.g.
<code>JTREG="...;..."</code>. This will also make sure spaces are
preserved, as in
<code>JTREG="JAVA_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
@@ -396,10 +400,8 @@ TEST_OPTS keywords.</p>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="aot_modules">AOT_MODULES</h4>
<p>Applies to JTReg and GTest.</p>
<h4 id="jcov">JCOV</h4>
<p>This keywords applies globally to the test runner system. If set to
<p>This keyword applies globally to the test runner system. If set to
<code>true</code>, it enables JCov coverage reporting for all tests run.
To be useful, the JDK under test must be run with a JDK built with JCov
instrumentation
@@ -435,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
@@ -499,11 +501,6 @@ options to your test classes, use <code>JAVA_OPTIONS</code>.</p>
<h4 id="launcher_options">LAUNCHER_OPTIONS</h4>
<p>Additional Java options that are sent to the java launcher that
starts the JTReg harness.</p>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set
of modules. If multiple modules are specified, they should be separated
by space (or, to help avoid quoting issues, the special value
<code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times, until they pass. This
allows to pass the tests with intermittent failures. Defaults to 0.</p>
@@ -526,11 +523,6 @@ intermittent problem.</p>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest
options.</p>
<h4 id="aot_modules-2">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set
of modules. If multiple modules are specified, they should be separated
by space (or, to help avoid quoting issues, the special value
<code>%20</code>).</p>
<h3 id="microbenchmark-keywords">Microbenchmark keywords</h3>
<h4 id="fork">FORK</h4>
<p>Override the number of benchmark forks to spawn. Same as specifying
@@ -574,7 +566,7 @@ docker image are required on Ubuntu 18.04 by using
<p>If your locale is non-US, some tests are likely to fail. To work
around this you can set the locale to US. On Unix platforms simply
setting <code>LANG="en_US"</code> in the environment before running
tests should work. On Windows or MacOS, setting
tests should work. On Windows or macOS, setting
<code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code>
helps for most, but not all test cases.</p>
<p>For example:</p>
@@ -597,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
@@ -609,7 +613,7 @@ provided below.</p>
Shortcuts; select or deselect desired shortcut.</p>
<p>For example,
test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java
fails on MacOS because it uses <code>CTRL + F1</code> key sequence to
fails on macOS because it uses <code>CTRL + F1</code> key sequence to
show or hide tooltip message but the key combination is reserved by the
operating system. To run the test correctly the default global key
shortcut should be disabled using the steps described above, and then

View File

@@ -102,12 +102,12 @@ TEST="tier1"`, but the latter is more tab-completion friendly. For more complex
test runs, the `test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1
jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.
descriptors, which clearly and unambiguously show which tests will be run. As
an example, `:tier1` will expand to include all subcomponent test directories
that define `tier1`, for example: `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...`. You
can always submit a list of fully qualified test descriptors in the `TEST`
variable if you want to shortcut the parser.
### Common Test Groups
@@ -151,7 +151,7 @@ A brief description of the tiered test groups:
- `tier2`: This test group covers even more ground. These contain, among other
things, tests that either run for too long to be at `tier1`, or may require
special configuration, or tests that are less stable, or cover the broader
range of non-core JVM and JDK features/components(for example, XML).
range of non-core JVM and JDK features/components (for example, XML).
- `tier3`: This test group includes more stressful tests, the tests for corner
cases not covered by previous tiers, plus the tests that require GUIs. As
@@ -294,7 +294,7 @@ would just pass unnoticed.
To separate multiple keyword=value pairs, use `;` (semicolon). Since the shell
normally eats `;`, the recommended usage is to write the assignment inside
qoutes, e.g. `JTREG="...;..."`. This will also make sure spaces are preserved,
quotes, e.g. `JTREG="...;..."`. This will also make sure spaces are preserved,
as in `JTREG="JAVA_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"`.
(Other ways are possible, e.g. using backslash:
@@ -334,13 +334,9 @@ Applies to JTReg, GTest and Micro.
Applies to JTReg, GTest and Micro.
#### AOT_MODULES
Applies to JTReg and GTest.
#### JCOV
This keywords applies globally to the test runner system. If set to `true`, it
This keyword applies globally to the test runner system. If set to `true`, it
enables JCov coverage reporting for all tests run. To be useful, the JDK under
test must be run with a JDK built with JCov instrumentation (`configure
--with-jcov=<path to directory containing lib/jcov.jar>`, `make jcov-image`).
@@ -384,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
@@ -480,12 +476,6 @@ your test classes, use `JAVA_OPTIONS`.
Additional Java options that are sent to the java launcher that starts the
JTReg harness.
#### AOT_MODULES
Generate AOT modules before testing for the specified module, or set of
modules. If multiple modules are specified, they should be separated by space
(or, to help avoid quoting issues, the special value `%20`).
#### RETRY_COUNT
Retry failed tests up to a set number of times, until they pass. This allows to
@@ -517,12 +507,6 @@ Additional options to the Gtest test framework.
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
#### AOT_MODULES
Generate AOT modules before testing for the specified module, or set of
modules. If multiple modules are specified, they should be separated by space
(or, to help avoid quoting issues, the special value `%20`).
### Microbenchmark keywords
#### FORK
@@ -587,7 +571,7 @@ $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" \
If your locale is non-US, some tests are likely to fail. To work around this
you can set the locale to US. On Unix platforms simply setting `LANG="en_US"`
in the environment before running tests should work. On Windows or MacOS,
in the environment before running tests should work. On Windows or macOS,
setting `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for
most, but not all test cases.
@@ -619,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
@@ -635,7 +628,7 @@ select or deselect desired shortcut.
For example,
test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java
fails on MacOS because it uses `CTRL + F1` key sequence to show or hide tooltip
fails on macOS because it uses `CTRL + F1` key sequence to show or hide tooltip
message but the key combination is reserved by the operating system. To run the
test correctly the default global key shortcut should be disabled using the
steps described above, and then deselect "Turn keyboard access on or off"

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,57 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_jbrtest.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
ARG ARCH_FROM
ARG ARCH=i386
ARG OS_NAME
ARG OS_VERSION
# jetbrains/runtime:jbrTest_${os_name}${os_version}-$arch
FROM ${ARCH_FROM}/${OS_NAME}:${OS_VERSION}
COPY jbr-11_0_16-linux-x86-b2043.64.tar.gz /jbr/
ARG ARCH
RUN \
if [ "$ARCH" = "i386" ]; then \
# Set up boot JDK for building
cd /jbr && \
tar --strip-components=1 -xzf jbr-11_0_16-linux-x86-b2043.64.tar.gz && \
rm jbr-11_0_16-linux-x86-b2043.64.tar.gz; \
echo Installing packages required for i386 only; \
dpkg --add-architecture i386; \
apt-get update -y; \
apt-get install -y \
libc6:i386 \
libncurses5 libncurses5:i386 \
libstdc++6:i386 \
zlib1g:i386; \
else \
echo Skipping the step installing packages specific for the platform; \
fi; \
apt-get update -y; \
apt-get install -y \
binutils:${ARCH} \
libcanberra-gtk-module:${ARCH} \
libgtk2.0-0:${ARCH} \
libxext6:${ARCH} \
libxi6:${ARCH} \
libxrender-dev:${ARCH} \
libxtst6:${ARCH} \
libxrandr2:${ARCH} \
libfreetype6:${ARCH} \
fontconfig:${ARCH} \
libnss3:${ARCH} \
libatk-bridge2.0-0:${ARCH} \
libgbm1:${ARCH} \
libxkbcommon0:${ARCH} \
libasound2:${ARCH};\
apt-get clean all
ENV JAVA_HOME=/jbr
ENV DISPLAY=:0

View File

@@ -0,0 +1,35 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_jbrtest.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
ARG ARCH_FROM
ARG ARCH=i386
ARG OS_NAME
ARG OS_VERSION
# jetbrains/runtime:jbrTest_${os_name}${os_version}-$arch
FROM ${ARCH_FROM}/${OS_NAME}:${OS_VERSION}
#FROM arm64v8/alpine:3.12
ARG ARCH
RUN \
apk --no-cache add --update \
binutils=2.34-r2 \
libcanberra-gtk2=0.30-r5 \
gtk+2.0=2.24.32-r1 \
libxext=1.3.4-r0 \
libxrender-dev=0.9.10-r3 \
libxtst=1.2.3-r3 \
freetype=2.10.4-r2 \
fontconfig=2.13.1-r2 \
font-xfree86-type1=1.0.4-r0
COPY jbrsdk_17.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf jbrsdk_17.tar.gz && rm /jdk17/jbrsdk_17.tar.gz
ENV JAVA_HOME=/jdk17
ENV DISPLAY=:0

View File

@@ -0,0 +1,45 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_musl_<arch>.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM alpine:3.14
# Install the necessary build tools
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.5-r2 \
autoconf=2.71-r0 \
bash=5.1.16-r0 \
build-base=0.5-r3 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r3 \
file=5.40-r1 \
fontconfig=2.13.1-r4 \
fontconfig-dev=2.13.1-r4 \
freetype-dev=2.10.4-r3 \
git=2.32.7-r0 \
grep=3.7-r0 \
libx11-dev=1.7.3.1-r0 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r1 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.1-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.10.41-r0 \
rsync=3.2.5-r0 \
tar=1.34-r1 \
wayland-dev=1.19.0-r0 \
wayland-protocols=1.21-r0 \
zip=3.0-r9 \
vulkan-headers=1.2.170-r0 \
vulkan-loader-dev=1.2.170-r1 \
glslang=8.13.3743-r1
COPY gtk-shell.xml /gtk-shell.xml
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser" && \
git config --global --add safe.directory '*' && \
git config --global http.postBuffer 524288000

View File

@@ -0,0 +1,66 @@
# NOTE: This Dockerfile is meant to be used from the mkdocker_<arch>.sh script.
# Pull a concrete version of Linux that does NOT recieve updates after it's
# been created. This is so that the image is as stable as possible to make
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM oraclelinux:8
# Install the necessary build tools
RUN yum -y update; \
yum -y install gcc-toolset-10-10.1-0.el8; \
yum -y install \
alsa-lib-devel-1.1.9-4.el8 \
autoconf-2.69-29.el8_10.1 \
automake-1.16.1-6.el8 \
bzip2-libs-1.0.6-26.el8 \
cups-devel-2.2.6-60.el8_10 \
file-5.33-26.el8 \
fontconfig-devel-2.13.1-4.el8 \
freetype-devel-2.9.1-9.el8 \
gcc-c++-8.5.0-22.0.1.el8_10 \
git-2.43.5-1.el8_10 \
git-core-2.43.5-1.el8_10 \
libtool-2.4.6-25.el8 \
libXi-devel-1.7.10-1.el8 \
libXrandr-devel-1.5.2-1.el8 \
libXrender-devel-0.9.10-7.el8 \
libXt-devel-1.1.5-12.el8 \
libXtst-devel-1.2.3-7.el8 \
make-devel-4.2.1-11.el8 \
rsync-3.1.3-19.el8_7.1 \
unzip-6.0-46.el8 \
wayland-devel-1.21.0-1.el8 \
wayland-protocols-devel-1.25-1.el8 \
python36-3.6.8-39.module+el8.10.0+90274+07ba55de \
cmake-3.26.5-2.el8 \
vulkan-headers-1.3.250.1-1.el8 \
vulkan-loader-devel-1.3.250.1-1.el8 \
vulkan-validation-layers-1.3.250.1-1.el8; \
yum -y clean all
COPY gtk-shell.xml /gtk-shell.xml
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser" && \
git config --global --add safe.directory '*' && \
git config --global http.postBuffer 524288000
# Build GLSLC
RUN git clone https://github.com/google/shaderc --branch v2023.6 \
&& cd shaderc \
&& ./utils/git-sync-deps \
&& mkdir build \
&& cd build \
&& cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DSHADERC_SKIP_TESTS=ON \
-DSHADERC_SKIP_EXAMPLES=ON \
-DSHADERC_SKIP_COPYRIGHT_CHECK=ON \
-DSPIRV_SKIP_EXECUTABLES=ON \
-DENABLE_SPVREMAPPER=OFF \
.. \
&& make install

View File

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

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -euxo pipefail
wget https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
# This script creates a Docker image suitable for building AArch64 variant
docker build --platform=linux/aarch64 -t jetbrains/runtime:oraclelinux8_aarch64 -f Dockerfile.oraclelinux .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,70 @@
#!/bin/bash
set -euo pipefail
set -x
machine=$(uname -m)
echo "Building image for "$machine" arch"
case "$machine" in
"aarch64" | "arm64v8" | "arm64")
arch=arm64
arch_from=arm64v8
;;
"x86_64" | "amd64")
arch=amd64
arch_from=amd64
;;
esac
# This script creates Docker images for testing JBR executables
function build {
local arch=$1
local os_name=$2
local os_version=$3
local arch_from=${4:-$arch}
echo "Building image for ${os_name} ${os_version} ${arch}"
echo "====================================="
docker build -t jetbrains/runtime:jbrTest_${os_name}${os_version}-$arch \
--build-arg ARCH="$arch" \
--build-arg ARCH_FROM=$arch_from \
--build-arg OS_NAME=${os_name} \
--build-arg OS_VERSION="${os_version}" \
-f Dockerfile-jbrTest .
return 0
}
function downloadJBR {
JBR_REMOTE_FILE=jbr-11_0_16-linux-x86-b2043.64.tar.gz
JBR_SHA=d3e4d488bb8e0edf4fa0832a4ff5b5dcac69e646640ae06afb1b49e419536762
JBR_LOCAL_FILE=$JBR_REMOTE_FILE
if [ ! -f $JBR_LOCAL_FILE ]; then
# Obtain "JBR" from outside of the container.
curl -o $JBR_LOCAL_FILE https://cache-redirector.jetbrains.com/intellij-jbr/${JBR_REMOTE_FILE} -O
else
echo "Runtime \"$JBR_LOCAL_FILE\" present, skipping download"
fi
# Verify that what we've downloaded can be trusted.
sha256sum -c - <<EOF
$JBR_SHA *$JBR_LOCAL_FILE
EOF
return 0
}
build $arch "ubuntu" "20.04" ${arch_from}
if [ "$arch" == "amd64" ]; then
downloadJBR
build "i386" "ubuntu" "20.04" $arch
fi
build $arch "ubuntu" "22.04" ${arch_from}

View File

@@ -0,0 +1,76 @@
#!/bin/bash
set -euo pipefail
set -x
machine=$(uname -m)
echo "Building image for "$machine" arch"
case "$machine" in
"aarch64" | "arm64v8" | "arm64")
arch=arm64
arch_from=arm64v8
os_version_alpine="3.12"
;;
"x86_64" | "amd64")
arch=amd64
arch_from=amd64
os_version_alpine="3.12"
;;
esac
# This script creates Docker images for testing JBR executables
function build {
local arch=$1
local os_name=$2
local os_version=$3
local arch_from=${4:-$arch}
echo "Building image for ${os_name} ${os_version} ${arch}"
echo "====================================="
docker build -t jetbrains/runtime:jbrTest_${os_name}${os_version}-$arch \
--build-arg ARCH="$arch" \
--build-arg ARCH_FROM=$arch_from \
--build-arg OS_NAME=${os_name} \
--build-arg OS_VERSION="${os_version}" \
-f Dockerfile-jbrTest.musl .
return 0
}
function downloadJBR {
JBR_REMOTE_FILE=$1
JBR_SHA=$2
JBR_LOCAL_FILE=jbrsdk_17.tar.gz
if [ ! -f $JBR_REMOTE_FILE ]; then
# Obtain "JBR" from outside of the container.
wget -nc https://cache-redirector.jetbrains.com/intellij-jbr/${JBR_REMOTE_FILE} -O $JBR_REMOTE_FILE
# Verify that what we've downloaded can be trusted.
# sha256sum -c - <<EOF
#$JBR_SHA *$JBR_LOCAL_FILE
#EOF
cp $JBR_REMOTE_FILE $JBR_LOCAL_FILE
else
echo "Runtime \"$JBR_LOCAL_FILE\" present, skipping download"
fi
return 0
}
if [ "$arch" == "amd64" ]; then
JBR_REMOTE_FILE=jbrsdk-17.0.10-linux-musl-x64-b1087.23.tar.gz
JBR_SHA=4424739563c8735e81972a651b6f6851b2c835c6a9d192385b3dc934eecfae86e0a6e853fcea9b2353e71a576c7ff029e5a6836c6d9b7cd98d1c23b42763fd3e
else
JBR_REMOTE_FILE=jbrsdk-17.0.10-linux-musl-aarch64-b1087.23.tar.gz
JBR_SHA=936668fd2c7375fa7e728dcf7988eb36f4ea886b95782cd84cb129585c7bec5de5e94072b0c24817b1ec1873b058b6d30c09edf7d1789e031121a7737b687c4f
fi
downloadJBR $JBR_REMOTE_FILE $JBR_SHA
build $arch "alpine" ${os_version_alpine} ${arch_from}

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -euxo pipefail
wget https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
# This script creates a Docker image suitable for building musl AArch64 variant
docker build --platform=linux/aarch64 -t jetbrains/runtime:alpine14_aarch64 -f Dockerfile.alpine .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -euxo pipefail
wget https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
# This script creates a Docker image suitable for building musl x64 variant
docker build --platform=linux/amd64 -t jetbrains/runtime:alpine14_x64 -f Dockerfile.alpine .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -euxo pipefail
wget https://raw.githubusercontent.com/GNOME/gtk/refs/heads/main/gdk/wayland/protocol/gtk-shell.xml
# This script creates a Docker image suitable for building x64 variant
docker build --platform=linux/amd64 -t jetbrains/runtime:oraclelinux8_x64 -f Dockerfile.oraclelinux .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -euxo pipefail
# This script creates a Docker image suitable for building x86 variant
docker build --platform=linux/i386 -t jetbrains/runtime:ubuntu2004_x86 -f Dockerfile.ubuntu.x86 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance
# of build contamination.

View File

@@ -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,188 @@
#!/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=""
while getopts ":iw?" o; do
case "${o}" in
i) INC_BUILD=1 ;;
w) DISABLE_WARNINGS_AS_ERRORS="--disable-warnings-as-errors" ;;
esac
done
shift $((OPTIND-1))
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,173 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_aarch64
source jb/project/tools/common/scripts/common.sh
JCEF_PATH=${JCEF_PATH:=./jcef_linux_aarch64}
function do_configure {
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
--with-vendor-version-string="$VENDOR_VERSION_STRING" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build="$JDK_BUILD_NUMBER" \
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
--with-gtk-shell1-protocol=/gtk-shell.xml \
--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,190 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_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
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.xml \
--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 -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,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,172 @@
#!/bin/bash
set -euo pipefail
set -x
# The following parameters must be specified:
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built;possible values:
# <empty> or nomod - the release bundles without any additional modules (jcef)
# jcef - the release bundles with jcef
# fd - the fastdebug bundles which also include the jcef module
#
# This script makes test-image along with JDK images when bundle_type is set to "jcef".
# If the character 't' is added at the end of bundle_type then it also makes test-image along with JDK images.
#
# Environment variables:
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument
# to configure
# By default JDK_BUILD_NUMBER is set zero
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_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)}
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 \
|| 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,199 @@
#!/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" \
"Contents/Home/Frameworks" \
"Contents/Frameworks"; 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 jmod files"
JMODS_DIR="$APPLICATION_PATH/Contents/Home/jmods"
JMOD_EXE="$APPLICATION_PATH/Contents/Home/bin/jmod"
if [ -d "$JMODS_DIR" ]; then
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 "Removing $jmod_file"
rm -f "$jmod_file"
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" {} \;
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"
# Add the output file
cmd="$cmd $jmod_file"
# Execute the command
eval $cmd
log "Removing $TMP_DIR"
rm -rf "$TMP_DIR"
done
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/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \( -name '*.framework' -o -name '*.app' \) -maxdepth 1 | while read -r line
do
log "Signing '$line':"
tar -pczf tmp-to-sign.tar.gz -C "$(dirname "$line")" "$(basename "$line")"
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz || 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..."
for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" -name '*.framework' -maxdepth 1 | while read -r line
do
log "Checking '$line':"
codesign --verify --deep --strict --verbose=4 "$line"
done
fi
done
log "Signing whole app..."
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,153 @@
#!/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
rm "$INPUT_FILE"
log "$INPUT_FILE extracted and removed"
APP_NAME=$(basename "$INPUT_FILE" | awk -F".tar" '{ print $1 }')
PKG_NAME="$APP_NAME.pkg"
APPLICATION_PATH=$EXPLODED/$(ls $EXPLODED)
find "$APPLICATION_PATH/Contents/Home/bin" \
-maxdepth 1 -type f -name '*.jnilib' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Linking $file"
b="$(basename "$file" .jnilib)"
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
fi
done
find "$APPLICATION_PATH/Contents/" \
-maxdepth 1 -type f -name '*.txt' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Moving $file"
mv "$file" "$APPLICATION_PATH/Contents/Resources"
fi
done
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
if [[ $non_plist -gt 0 ]]; then
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
exit 1
fi
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
fi
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
"$SCRIPT_DIR/sign.sh" "$APPLICATION_PATH" "$PKG_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
if [ $attempt -eq $limit ]; then
set -e
fi
log "Signing failed, wait for 30 sec and try to sign again"
sleep 30
else
log "Signing done"
codesign -v "$APPLICATION_PATH" -vvvvv
log "Check sign done"
spctl -a -v $APPLICATION_PATH
((attempt += limit))
fi
done
set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
"$SCRIPT_DIR/notarize.sh" "$PKG_NAME"
log "Stapling..."
appStaplerOutput=$(xcrun stapler staple "$APPLICATION_PATH")
if [ $? -ne 0 ]; then
log "Stapling application failed"
echo "$appStaplerOutput"
exit 1
else
echo "$appStaplerOutput"
fi
log "Stapling package..."
pkgStaplerOutput=$(xcrun stapler staple "$PKG_NAME")
if [ $? -ne 0 ]; then
log "Stapling package failed"
echo "$pkgStaplerOutput"
exit 1
else
echo "$pkgStaplerOutput"
fi
# Verify stapling
log "Verifying stapling..."
if ! stapler validate "$APPLICATION_PATH"; then
log "Stapling verification failed for application"
exit 1
fi
if ! stapler validate "$PKG_NAME"; then
log "Stapling verification failed for package"
exit 1
fi
else
log "Notarization disabled"
log "Stapling disabled"
fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
if [[ "$APPLICATION_PATH" != "$EXPLODED/$BUILD_NAME" ]]; then
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
else
echo "No move, source == destination: $APPLICATION_PATH"
fi
tar -pczvf $INPUT_FILE --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

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

View File

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

View File

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

View File

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

View File

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

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,102 @@
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)
-tk tk_name # AWT toolkit (linux: WLToolkit|XToolkit)
-scale # UI scale
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
;;
-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
;;
-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

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

@@ -0,0 +1,90 @@
#!/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/-}"
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 -r=$R -t -e$MODE $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
# 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 2 | \
awk '{print $3 }'
if [ $i -ne $N ]; then
sleep $ST
fi
done | $DATAMASH_CMD | expand -t12 > render_$1_${mode_param}.log

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,54 +0,0 @@
#
# Copyright (c) 2015, 2018, 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.
#
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
#
# Concatenate exported.symbols files for modules into a single global file.
#
GLOBAL_SYMBOLS_FILE := $(SUPPORT_OUTPUTDIR)/build-static/exported.symbols
EXPORTED_SYMBOLS_MODULES := java.base jdk.jdwp.agent
MODULES_SYMBOLS_FILES := $(foreach module, $(EXPORTED_SYMBOLS_MODULES), \
$(SUPPORT_OUTPUTDIR)/modules_libs/$(module)/$(module).symbols)
$(GLOBAL_SYMBOLS_FILE): $(MODULES_SYMBOLS_FILES)
$(call LogInfo, Generating global exported.symbols file)
$(call MakeTargetDir)
$(CAT) $^ > $@
TARGETS += $(GLOBAL_SYMBOLS_FILE)
################################################################################
all: $(TARGETS)
.PHONY: default all

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,9 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include MakeIO.gmk
PRODUCT_TARGETS :=
LEGACY_TARGETS :=
TEST_TARGETS :=
@@ -281,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), \
@@ -310,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), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,8 +31,9 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
include NativeCompilation.gmk
include TextFileProcessing.gmk
include ZipArchive.gmk
@@ -58,7 +59,7 @@ DEMO_MANIFEST := $(SUPPORT_OUTPUTDIR)/demos/java-main-manifest.mf
# This rule will be depended on due to the MANIFEST line in SetupBuildDemo
# and SetupBuildJvmtiDemo.
$(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
SOURCE_FILES := $(TOPDIR)/make/data/mainmanifest/manifest.mf, \
SOURCE_FILES := $(TOPDIR)/make/data/mainmanifest/manifest.mf.template, \
OUTPUT_FILE := $(DEMO_MANIFEST), \
REPLACEMENTS := \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
@@ -182,7 +183,7 @@ $(eval $(call SetupBuildDemo, SwingSet2, \
))
$(eval $(call SetupBuildDemo, Font2DTest, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast this-escape, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast this-escape dangling-doc-comments, \
DEMO_SUBDIR := jfc, \
))
@@ -215,7 +216,7 @@ $(eval $(call SetupBuildDemo, SampleTree, \
))
$(eval $(call SetupBuildDemo, TableExample, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape dangling-doc-comments, \
DEMO_SUBDIR := jfc, \
))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
include Modules.gmk
@@ -63,7 +65,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
@@ -105,7 +107,7 @@ define SetupInterimModule
Standard.java, \
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java \
$($1.interim_EXTRA_FILES), \
COPY := .gif .png .xml .css .svg .js .js.template .txt javax.tools.JavaCompilerTool, \
COPY := .gif .png .xml .css .svg .js .js.template .txt .woff .woff2 javax.tools.JavaCompilerTool, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules/$1.interim, \
DISABLED_WARNINGS := module options, \
JAVAC_FLAGS := \

View File

@@ -75,12 +75,12 @@ $(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 \
)
################################################################################
@@ -100,6 +100,7 @@ $(eval $(call SetupJavaCompilation, $(MODULE), \
BIN := $(if $($(MODULE)_BIN), $($(MODULE)_BIN), $(JDK_OUTPUTDIR)/modules), \
HEADERS := $(SUPPORT_OUTPUTDIR)/headers, \
CREATE_API_DIGEST := true, \
PROCESS_JBR_API := true, \
CLEAN := $(CLEAN), \
CLEAN_FILES := $(CLEAN_FILES), \
COPY := $(COPY), \

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
@@ -50,10 +52,9 @@ $(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 := options, \
DISABLED_WARNINGS := dangling-doc-comments options, \
JAVAC_FLAGS := \
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
--add-exports java.base/sun.text=ALL-UNNAMED \
@@ -64,17 +65,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)
@@ -84,7 +87,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
DISABLED_WARNINGS := options, \
JAVAC_FLAGS := \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
@@ -97,13 +100,21 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
DEPEND_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services/com.sun.source.util.Plugin
$(eval $(call SetupJavaCompilation, COMPILE_JBR_API_PLUGIN, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/jbrapi, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/plugins, \
))
$(DEPEND_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services)
PLUGINS_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services/com.sun.source.util.Plugin
$(PLUGINS_SERVICE_PROVIDER):
$(call MakeDir, $(BUILDTOOLS_OUTPUTDIR)/plugins/META-INF/services)
$(ECHO) build.tools.depend.Depend > $@
$(ECHO) build.tools.jbrapi.JBRApiPlugin >> $@
TARGETS += $(COMPILE_DEPEND) $(DEPEND_SERVICE_PROVIDER)
TARGETS += $(COMPILE_DEPEND) $(COMPILE_JBR_API_PLUGIN) $(PLUGINS_SERVICE_PROVIDER)
################################################################################

View File

@@ -31,6 +31,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
LIBS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_LIBS)))
CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))

View File

@@ -28,7 +28,9 @@ default: all
include $(SPEC)
include MakeBase.gmk
##########################################################################################
include CopyFiles.gmk
################################################################################
### TZDB tool needs files from java.time.zone package
@@ -39,12 +41,13 @@ 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)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
@@ -227,8 +229,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
@@ -240,7 +255,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), \

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
include ModuleTools.gmk
@@ -139,11 +141,6 @@ ifeq ($(IS_DRAFT), true)
endif
DRAFT_TEXT := This specification is not final and is subject to change. \
Use is subject to <a href="$(LICENSE_URL)">license terms</a>.
# Workaround stylesheet bug
HEADER_STYLE := style="margin-top: 9px;"
else
HEADER_STYLE := style="margin-top: 14px;"
endif
# $1 - Relative prefix to COPYRIGHT_URL
@@ -250,7 +247,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> \
@@ -339,7 +336,7 @@ define SetupApiDocsGenerationBody
$1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
Specification
$1_WINDOW_TITLE := $$(subst &amp;,&,$$($1_SHORT_NAME))$$(DRAFT_MARKER_TITLE)
$1_HEADER_TITLE := <div $$(HEADER_STYLE)><strong>$$($1_SHORT_NAME)</strong> \
$1_HEADER_TITLE := <div><strong>$$($1_SHORT_NAME)</strong> \
$$(DRAFT_MARKER_STR)</div>
ifneq ($$($1_OTHER_VERSIONS), )
$1_JAVADOC_BOTTOM := $$(call JAVADOC_BOTTOM, <a href="$$($1_OTHER_VERSIONS)">Other versions.</a>)
@@ -647,7 +644,7 @@ ifeq ($(ENABLE_PANDOC), true)
GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css
# Unset the following to suppress the link to the tool guides
NAV_LINK_GUIDES := --nav-link-guides
HEADER_RIGHT_SIDE_INFO := <strong>$(subst &amp;,&,$(JDK_SHORT_NAME))$(DRAFT_MARKER_STR)</strong>
HEADER_RIGHT_SIDE_INFO := <strong>$(subst &amp;,&,$(JDK_SHORT_NAME))</strong>$(DRAFT_MARKER_STR)
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
@@ -684,28 +681,25 @@ ifeq ($(ENABLE_PANDOC), true)
$(TOPDIR)/make/jdk/src/classes/build/tools/pandocfilter)
$(foreach m, $(ALL_MODULES), \
$(eval MAN_$m := $(call FindModuleManDirs, $m)) \
$(foreach d, $(MAN_$m), \
$(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
$(eval $m_$f_NAME := MAN_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
SRC := $d, \
FILES := $f, \
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
REPLACEMENTS := \
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
--nav-subdirs 1 --nav-link-guides, \
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
$(PANDOC_HTML_MANPAGE_FILTER_SOURCE), \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
) \
$(eval MAN_$m := $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, \
$(call FindModuleManDirs, $m))))) \
$(if $(MAN_$m), \
$(eval $(call SetupProcessMarkdown, MAN_TO_HTML_$m, \
FILES := $(MAN_$m), \
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
REPLACEMENTS := \
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
--nav-subdirs 1 --nav-link-guides, \
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
$(PANDOC_HTML_MANPAGE_FILTER_SOURCE), \
)) \
$(eval JDK_SPECS_TARGETS += $(MAN_TO_HTML_$m)) \
) \
)
@@ -720,7 +714,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>

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
################################################################################
@@ -41,6 +43,7 @@ $(eval $(call SetupJavaCompilation, CLASSLIST_JAR, \
SMALL_JAVA := false, \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/classlist, \
DISABLED_WARNINGS := dangling-doc-comments, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/classlist_classes, \
JAR := $(SUPPORT_OUTPUTDIR)/classlist.jar, \
))
@@ -59,6 +62,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)
@@ -66,7 +78,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
@@ -76,7 +88,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 \
@@ -89,9 +101,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

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