Compare commits

..

4290 Commits

Author SHA1 Message Date
Alexey Ushakov
94c7f61826 DSSync in progress 2023-11-01 09:58:51 +01:00
Maxim Kartashev
2530aad97a JBR-6220 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java became failing by time out on Linux 2023-10-31 15:01:59 +04:00
Vitaly Provodin
f4ada3a1ee JBR-6246 add default CDS archives into jbrsdk distributions 2023-10-31 11:23:46 +07:00
Maxim Kartashev
554ac286f9 JBR-6247 Update JBR-specific tests after JDK-8314823 2023-10-31 01:26:07 +01:00
Maxim Kartashev
e685fd27fa JBR-4020 Test ObsoleteFlagErrorMessage fails after +IgnoreUnrecognizedVMOptions has become the default
(cherry picked from commit ae5963a094)
2023-10-31 01:26:07 +01:00
Maxim Kartashev
7ee82924d1 JBR-5761 Make error printing more robust during early stages of VM initialization 2023-10-31 01:26:07 +01:00
Maxim Kartashev
cbfc35caf3 JBR-5722 vmTestbase/vm/gc/compact/Compact_TwoFields_InternedStrings: SIGSEGV at Symbol::as_klass_external_name(char*, int)
Do not use print_native_stack() when recording OOME stacks as it is
designed to be used only in the context of a fatal error reporting where
induced crashes are tolerated.
2023-10-31 01:26:07 +01:00
Alexey Ushakov
caca396529 JBR-5741 broken build in main because of hotspot changes (JDK-8309613)
Added missing parameter
2023-10-31 01:26:07 +01:00
Maxim Kartashev
49f46937bc JBR-5480 Include more information in OOME crash reports 2023-10-31 01:26:07 +01:00
Maxim Kartashev
017cea831c JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr 2023-10-31 01:26:07 +01:00
Maxim Kartashev
44f9717d16 JBR-5431 Include memory used by JNI references into crash reports 2023-10-31 01:26:07 +01:00
Vitaly Provodin
7b47c0f360 Update README.md 2023-10-31 01:26:07 +01:00
bourgesl
d6d2a9e8bd JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer 2023-10-31 01:26:07 +01:00
Nikita Tsarev
9767b80099 JBR-6215: Override XToolkit's default nonintuitive behavior when translating F13-F24 keys 2023-10-31 01:26:07 +01:00
Konstantin Bulenkov
65b8c55ac9 JBR-6214 [fwp jbr21] IDEA-299292 Use Inter semibold instead of Inter bold
Replaced Inter bold with semi-bold fonts
2023-10-31 01:26:07 +01:00
Maxim Kartashev
b418519e29 JBR-3572 Wayland: java/awt/Window/WindowTitleVisibleTest/WindowTitleVisibleTestLinuxGnome.java: title bar shown and hidden are the same.
Exclude the test when running under XWayland that doesn't implement
screen capture necessary for the test to function.
2023-10-31 01:26:07 +01:00
Nikita Gubarkov
d50430b58f JBR-6208 Extended glyph cache for Metal 2023-10-31 01:26:06 +01:00
Vitaly Provodin
ed986ae4ed JBR-6181 add Linux executables with bundled FreeType 2023-10-31 01:26:06 +01:00
Vitaly Provodin
821f2315f3 Update README.md 2023-10-31 01:26:06 +01:00
Alexey Ushakov
29da2a23b9 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)
2023-10-31 01:26:06 +01:00
Dmitrii Morskii
6ccd2fc774 JBR-6135 removed dependence on process reading TTF in fixed size chunks 2023-10-31 01:26:06 +01:00
Maxim Kartashev
404cd0a6a1 JBR-6142 Impossible to move/resize IDE window after restart if several projects were initially opened on secondary monitor
Announce to Mutter that we are "client-decorated" when a Frame is
undecorated by setting _GTK_FRAME_EXTENTS to all zeroes.
This prevents Mutter from applying certain harmful heuristics.
2023-10-31 01:26:06 +01:00
bourgesl
627403b0fd JBR-6119: RenderPerf enhancements:
new executor modes (buffer & volatile), robot calibration & more statistics and CLI arguments
added version + help information, added time unit
2023-10-31 01:26:06 +01:00
Alexey Ushakov
53731d1199 JBR-6132 Crash in [MTLLayer blitTexture] when MTL_DEBUG_LAYER enabled
Blit operation should not be performed on textures with MTLTextureUsageRenderTarget only, so changing framebufferOnly to NO
2023-10-31 01:26:06 +01:00
Nikita Provotorov
3e458d95b6 JBR-6125: macOS14 java/awt/Window/Grab/GrabTest.java Frame can't be focused.
Fixes a data race in the test.
2023-10-31 01:26:06 +01:00
Vitaly Provodin
d4f7ef0105 Update README.md 2023-10-31 01:26:06 +01:00
Nikita Provotorov
07307df2a9 JBR-5984: IM's candidate window is placed under popup windows.
- Implements the optional method [NSTextInputClient windowLevel] to tell the macOS IM subsystem correct level of the window;
- Adds a regression test ImWindowIsPlacedUnderPopup5984.java.

(cherry picked from commit 5a91aae9c2)
2023-10-31 01:26:06 +01:00
Vitaly Provodin
7046ce138b JBR-6130 add VK_TAB release action 2023-10-31 01:26:06 +01:00
Alexey Ushakov
3f9cea3b71 JBR-4983 MacOS Ventura - External monitor lagging
Added extra redraw request
2023-10-31 01:26:06 +01:00
ghostflyby
ab49e5091d JBR-6124 Fix macOS services writing text back to textfield 2023-10-31 01:26:06 +01:00
Sergey Shelomentsev
8e5d0bb8b3 exclude FocusTraversalOrderTest 2023-10-31 01:26:05 +01:00
Sergey Shelomentsev
844d8cc35d JBR-6060 add focus traversal order test 2023-10-31 01:26:05 +01:00
Dmitrii Morskii
38b3d7fc54 JBR-6044 handle absence of fontConfig library in setupRenderingFontHints 2023-10-31 01:26:05 +01:00
Dmitrii Morskii
3ea6f35595 JBR-6041 started using correct type inside FcPatternGetValueFuncType 2023-10-31 01:26:05 +01:00
Maxim Kartashev
4a39bae555 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
2023-10-31 01:26:05 +01:00
Nikita Tsarev
2547aeaa46 JBR-6028: Check before attempting to switch to a layout that might not exist in KeyCodesTest 2023-10-31 01:26:05 +01:00
Nikita Gubarkov
2c2a28b8e9 JBR-6016 doPrivileged for JBR API internal services. 2023-10-31 01:26:05 +01:00
Dmitrii Morskii
7d12020899 JBR-6018 removed incorrect test testFeaturesZeroFrac 2023-10-31 01:26:05 +01:00
Maxim Kartashev
07bed66f60 JBR-6002 Linux: maximized window goes fullscreen after being moved between monitors 2023-10-31 01:26:05 +01:00
Vitaly Provodin
dc056cacbd JBR-6008 Update JetBrains Mono fonts to v2.304 2023-10-31 01:26:05 +01:00
Dmitrii
4fa6406432 JBR-5502: optimize stringWidth & charsWidth methods of FontDesignMetrics 2023-10-31 01:26:05 +01:00
Vitaly Provodin
562bc30859 Update README.md 2023-10-31 01:26:05 +01:00
Dmitry Batrak
1a8ed07463 JBR-3353 Sibling popup window is shown below dialog on macOS
(cherry picked from commit 4c6f3e4510)
2023-10-31 01:26:05 +01:00
Maxim Kartashev
1f9f4c13c0 JBR-5971 Wayland: support WindowMove JBR API
Updated the XToolkit implementation to match API changes required for
WLToolkit
2023-10-31 01:26:05 +01:00
Nikita Tsarev
8dfbb98ebd InputMethodTest: fix certain IMEs not being added properly 2023-10-31 01:26:04 +01:00
Dmitry Batrak
de8615bcb5 JBR-5953 If hieroglyph typing isn't finalised, focusing another component inserts the composed text there 2023-10-31 01:26:04 +01:00
Dmitry Batrak
830116523b JBR-5946 Allow to disable painting of composed text in Swing text components using TextLayout.draw 2023-10-31 01:26:04 +01:00
Dmitry Batrak
32cae2c622 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)
2023-10-31 01:26:04 +01:00
ngubarkov
b1689de46d JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer. 2023-10-31 01:26:04 +01:00
ngubarkov
17871bc645 JBR-5438 Fix window bounds in XWM#setShellResizable 2023-10-31 01:26:04 +01:00
ngubarkov
d8e08f072d JBR-5240 Fix XToolkit#getScreenInsets in Xinerama mode. 2023-10-31 01:26:04 +01:00
ngubarkov
798754dd6f JBR-5265 Workaround incorrect position of content window in queryXLocation. 2023-10-31 01:26:04 +01:00
ngubarkov
24982fed93 JBR-5316 Fix fractional scaling HIDPI. 2023-10-31 01:26:04 +01:00
ngubarkov
f1c7e5713e JBR-5417 Fix flickering in multi-monitor setups on Linux. 2023-10-31 01:26:04 +01:00
Nikita Gubarkov
625d6ac4c4 JBR-5186 Make MouseInfo.getPointerInfo more robust
Do not search for the containing monitor in MouseInfo.getPointerInfo, this must be handled by peers (yes, this goes against the spec of MouseInfoPeer.fillPointWithCoords).

JBR-5268 Fix coordinates conversion in XMouseInfoPeer.fillPointWithCoords
2023-10-31 01:26:04 +01:00
Nikita Gubarkov
68f8221685 IDEA-141456 Multimonitor HIDPI support for Linux 2023-10-31 01:26:04 +01:00
Dmitrii Morskii
736972b471 JBR-5724: fixed serialization and backward compatibility of Font 2023-10-31 01:26:04 +01:00
Dmitrii Morskii
9dda5c14df JBR-5844: fixed other part of issue. Added missing implementation of native methods in fontconfigmanager 2023-10-31 01:26:04 +01:00
Dmitrii Morskii
4226c62786 JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale 2023-10-31 01:26:03 +01:00
Alexey Ushakov
84835b8c37 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
2023-10-31 01:26:03 +01:00
Dmitrii Morskii
6943fb0e9c JBR-5844: fix case with non-scalable face 2023-10-31 01:26:03 +01:00
Dmitrii Morskii
2b1d67f55f JBR-5804: refactoring of freetypeScaler and moving fontconfig's logic in separate file 2023-10-31 01:26:03 +01:00
Vitaly Provodin
d3f80c01b1 Update README.md 2023-10-31 01:26:03 +01:00
Maxim Kartashev
82d32c45eb JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.
2023-10-31 01:26:03 +01:00
Nikita Gubarkov
e2ad341f81 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.
2023-10-31 01:26:03 +01:00
Alexey Ushakov
2b14246081 JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance
2023-10-31 01:26:03 +01:00
bourgesl
fdc5ee4eed 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)
2023-10-31 01:26:03 +01:00
Maxim Kartashev
6a1113b43b JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
2023-10-31 01:26:03 +01:00
Nikita Provotorov
f31011d3fd JBR-5762 Sometimes naturally generated MOUSE_DRAGGED events don't contain the pressed button's modifier.
Enforce keeping the pressed button in the modifiers for MOUSE_DRAGGED events. This is under a (default enabled) system property "awt.mac.enforceMouseModifiersForMouseDragged".

(cherry picked from commit fb12990a98)
2023-10-31 01:26:03 +01:00
Dmitrii Morskii
f2d281ed2a JBR-5548 fix BadSerializationTest 2023-10-31 01:26:03 +01:00
Vitaly Provodin
3fc41136b4 Update README.md 2023-10-31 01:26:03 +01:00
Sergey Shelomentsev
205012185d JBR-5746 wait for menu visibility of fail the test
add mouse events logging
2023-10-31 01:26:03 +01:00
Dmitry Batrak
81c80d8f84 JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events 2023-10-31 01:26:03 +01:00
Dmitry Batrak
924cbe3d9a JBR-5684 Focus state is broken after closing of modal dialog in an inactive application 2023-10-31 01:26:02 +01:00
Nikita Tsarev
f2394fe6c5 JBR-5379: Ignore input events only on permament focus loss 2023-10-31 01:26:02 +01:00
Vitaly Provodin
0b6281de21 update exclude list 2023-10-31 01:26:02 +01:00
Vitaly Provodin
44c3ac4b45 Update README.md 2023-10-31 01:26:02 +01:00
Alexey Ushakov
1547825491 JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary
2023-10-31 01:26:02 +01:00
Nikita Gubarkov
cea201133e Added Clion project setup 2023-10-31 01:26:02 +01:00
Nikita Gubarkov
d988a8f26b Updated IDEA project setup 2023-10-31 01:26:02 +01:00
Dmitrii Morskii
6efc4cd8f5 JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-10-31 01:26:02 +01:00
Sergey Shelomentsev
88ea793d18 JBR-2870 add resression test for JPopupMenu
- verify that the popup menu is usable if overlaps WM's dock panel of the bottom of screen
2023-10-31 01:26:02 +01:00
Vitaly Provodin
cd1a7a1479 Update README.md 2023-10-31 01:26:02 +01:00
Alexey Ushakov
38efda2cd3 JBR-5693 Debug build failure in main branch
Corrected printf format and muted unused-function option for keycode_cache.c
2023-10-31 01:26:02 +01:00
Alexey Ushakov
5675a61f51 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
2023-10-31 01:26:02 +01:00
Nikita Tsarev
a0be9ab6a0 JBR-5630: vmoption to change dead key reporting behavior on macOS 2023-10-31 01:26:02 +01:00
Nikita Tsarev
b8a97627d9 JBR-5469: Fix NextAppWinKey behavior with certain keys 2023-10-31 01:26:02 +01:00
Nikita Tsarev
235280456d JBR-5558: macOS keyboard rewrite 2 2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
09bf22510d JBR-5670 restore initial display mode after test execution
restore original display mode
2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
e57be4ceb2 JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window 2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
cd085f94be JBR-5600 Reduce noise in signing scripts output 2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
1d3d28ab72 JBR-5600 Sign frameworks as whole, verify framework signature before full app sign 2023-10-31 01:26:01 +01:00
Nikita Provotorov
0c720896ce JBR-5668: The implementation of a11y announcing for macOS crashes with -Xcheck:jni.
- Create a global reference of the passed to EDT accessible object (the local reference) to use it in the AppKit thread ;
- Enable -Xcheck:jni in the tests ;
- Make the tests handle the problematic case .

(cherry picked from commit cba981df4b)
2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
c2d707bded 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`
2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
4e61b9403d JBR-5600 Staple .pkg with signature 2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
dd07797f69 JBR-5600 Notarize macOS binaries using notarytool 2023-10-31 01:26:01 +01:00
Vladislav Rassokhin
045cd03c5a JBR-5600 Sign macOS binaries using jet-sign 2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
ea9c3200cf JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest 2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
fc0774d8cc JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking
2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
5679053150 JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events
2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
8422b4218d remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java 2023-10-31 01:26:01 +01:00
Sergey Shelomentsev
1dac5bf928 JBR-4494 pass ui scale options for child process 2023-10-31 01:26:01 +01:00
Maxim Kartashev
a35927c7a5 JBR-5656 Builds of JDK 21 are reproducible by default
(cherry picked from commit 0d663a139acf3d5cdb19b33494ab9f6273c4ebfa)
2023-10-31 01:26:00 +01:00
bourgesl
2c524002b8 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 2023-10-31 01:26:00 +01:00
Maxim Kartashev
d4687ef0e0 JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()
2023-10-31 01:26:00 +01:00
Alexey Ushakov
22642f6a60 JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID
2023-10-31 01:26:00 +01:00
Vitaly Provodin
1cea521917 JBR-5627 add regression test AsyncProfilerRunnerTest 2023-10-31 01:26:00 +01:00
Maxim Kartashev
bb463f4aba JBR-5631 Refactor Dockerfile for x64 builds 2023-10-31 01:26:00 +01:00
Vitaly Provodin
d0a11a302e JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17 2023-10-31 01:26:00 +01:00
Alexey Ushakov
78d50f5fa5 JBR-5580 J2DBench: ~15% drop performance  because of non optimal synchronization in metal (MBP 16'' x64)
Replaced NSMutableArray with NSMutableSet, removed unnecessary __block modifier.
2023-10-31 01:26:00 +01:00
Sergey Shelomentsev
ae8963ce83 update a11y exclude list 2023-10-31 01:26:00 +01:00
Alexey Ushakov
320ec75eee JBR-5580 J2DBench: ~15% drop performance because of non optimal synchronization in metal (MBP 16'' x64)
Removed NSLock and moved all operations to the AppKit thread
2023-10-31 01:26:00 +01:00
bourgesl
02144be0aa 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
2023-10-31 01:26:00 +01:00
Alexey Ushakov
fd9f19b5ea JBR-5559 SwingMark performance drop after removing additional command queue
Added command queue and provided synchronization between the command queues
2023-10-31 01:26:00 +01:00
Nikita Provotorov
d4fe24dc64 JBR-5536: Crash on macOS bad JNI lookup in Java_sun_swing_AccessibleAnnouncer_nativeAnnounce
Stop using the JNIEnv instance bound to EDT in the AppKit thread.

(cherry picked from commit 0f49341f4d)
2023-10-31 01:26:00 +01:00
Alexey Ushakov
f2e1cbd4ad JBR-4883 macOS: SIGSEGV at MTLVertexCache_FlushGlyphVertexCache
Use separate glyph cache for each MTLContext instance. Refactored MTLGlyphCache
2023-10-31 01:26:00 +01:00
Alexey Ushakov
30494829ab JBR-5193 Do not use extra commandQueue in metal pipeline
Removed extra command queue
2023-10-31 01:26:00 +01:00
Alexey Ushakov
3c33f91e74 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.
2023-10-31 01:25:59 +01:00
Vitaly Provodin
6b8dddbce8 Update README.md 2023-10-31 01:25:59 +01:00
Maxim Kartashev
35540cc42b jb/branchdiff.py is a lot faster 2023-10-31 01:25:59 +01:00
Sergey Shelomentsev
745983a20e JBR-5505 update exclude list for a11y testing on Windows 2023-10-31 01:25:59 +01:00
Sergey Shelomentsev
148a832db2 JBR-5397 update exclude list for a11y testing on MacOS 2023-10-31 01:25:59 +01:00
Dmitrii
16fe2c028a JBR-5246 add OpenType's features support 2023-10-31 01:25:59 +01:00
Maxim Kartashev
1c4c6b5986 JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case 2023-10-31 01:25:59 +01:00
Sergey Shelomentsev
c8d5d51153 JBR-5441 fix wait for idle 2023-10-31 01:25:59 +01:00
Maxim Kartashev
65c4742af8 jb/branchdiff.py to warn if it can't differentiate between commits 2023-10-31 01:25:59 +01:00
Sergey Shelomentsev
35f710b5bf JBR-5440 fix calculations for double click location 2023-10-31 01:25:59 +01:00
Artem Bochkarev
2ca59812c3 JBR-5426 write JCEF version info inside release file 2023-10-31 01:25:59 +01:00
Maxim Kartashev
59bfb6083d JBR-5445 JBRApiTest test fails on development builds 2023-10-31 01:25:59 +01:00
Maxim Kartashev
a243a0a119 JBR-5084 Add ability to log additional data to jstack output
The data can be provided via this JBR API call:
JBR.getJstack().includeInfoFrom(Supplier<String>)
2023-10-31 01:25:59 +01:00
Sergey Shelomentsev
6793279e57 JBR-5433 add typing latency text for JTextArea 2023-10-31 01:25:59 +01:00
Vitaly Provodin
62a3b8c5d4 JBR-5432 increase setAutoDelay for Robot 2023-10-31 01:25:59 +01:00
Maxim Kartashev
08c6c0cafd JBR-5230 Wanted: an ability to use Unix Domain sockets with overridden default NIO file system 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
67668c94bc fixup! JBR-4875 set proper OS to run ComboBoxTransparentTittleBarTest 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
67f4836274 fix controls width calculation 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
764b2806c8 split ActionListenerTest 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
d2faef49be JBR-5345 native controls detection and scale fixes 2023-10-31 01:25:58 +01:00
Maxim Kartashev
918d904873 README.md: spelled out JBR distinctive features 2023-10-31 01:25:58 +01:00
Vitaly Provodin
d5f72f5b6b update exclude list on results of 21_b28.1 test runs 2023-10-31 01:25:58 +01:00
Alexey Ushakov
5b01d27a36 JBR-5330 Blank Welcome screen after moving to another display
Initialize currentDisplayID on AWTWindow creation
2023-10-31 01:25:58 +01:00
Nikita Tsarev
8b44870563 JBR-5369: Update failing tests list in response to macOS keyboard support rewrite 2023-10-31 01:25:58 +01:00
Nikita Tsarev
2493ecf9f7 JBR-5295: Fix wrong keycodes for non-letter keys that lack a corresponding VK_ constant on macOS 2023-10-31 01:25:58 +01:00
Vitaly Provodin
6a5fa43b55 Update README.md 2023-10-31 01:25:58 +01:00
Vitaly Provodin
087f7dcff8 update exclude list on results of 21_b24.2 test runs 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
b2394dc655 Don't trigger workflow on push 2023-10-31 01:25:58 +01:00
Vitaly Provodin
fff0203b35 Update README.md 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
274ebbd5ad JBR-5350 Separate test for Mac OS 2023-10-31 01:25:58 +01:00
Sergey Shelomentsev
7790eac728 JBR-5318 add Github workflow usage for pull requests pre-commit testing 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
fb38ae6045 JBR-5346 run MaximizedCustomDecorationsTest on windows/mac only 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
9387eaf234 JBR-5350 fix FrameNativeControlTest checks on MacOS 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
aae9735bb7 JBR-5344 fix incorrectly specified VM options 2023-10-31 01:25:57 +01:00
Vitaly Provodin
3b2127d046 Update README.md 2023-10-31 01:25:57 +01:00
Vitaly Provodin
463babb7eb update exclude list on results of 17.0.6_b855.1 test runs 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
9e9d6dcce2 JBR-5313 fix broken custom decoration tests on Windows 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
0554ae1db3 JBR-5253 Use new JBR API for custom decorations 2023-10-31 01:25:57 +01:00
Vitaly Provodin
e6995e366d JBR-5300 move jbr-api.jar into test artefact 2023-10-31 01:25:57 +01:00
Vitaly Provodin
0f8478cc99 update exclude list on results of 17.0.6_b837.3 test runs 2023-10-31 01:25:57 +01:00
Maxim Kartashev
9068599839 JBR-4544 Enable OpenGL pipeline by default for Wayland sessions
The OpenGL pipeline is enabled only if all of the following is true:
- WAYLAND is detected,
- VMWare virtualization is detected,
- rendering pipeline is not a software one (llvmpipe).
As a side effect, a system property 'jbr.virtualization.information'
is set to the value of detected virtualization type. The value is the
same as provided by JFR.
2023-10-31 01:25:57 +01:00
Dmitry Batrak
b13e476a2f JBR-5300 Change source code and test files to use GPL license
fix copyright profile in generated IDE project

(cherry picked from commit 43ebbe3cd1)
2023-10-31 01:25:57 +01:00
Maxim Kartashev
1147c211a4 JBR-3323 Exclude parts of VM code from sanitizer checks
Exclude VM error-reporting code that treats memory as a raw sequence of
bytes from address sanitizer checks. This is needed to only get true
reports when running tests against the --enable-asan build.
2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
a38ad8bc73 set version for building jbr-api 2023-10-31 01:25:57 +01:00
Sergey Shelomentsev
ab54052700 get rid of build-jbr-api scripts 2023-10-31 01:25:57 +01:00
Vitaly Provodin
3b59be855a clean up exclude lists 2023-10-31 01:25:56 +01:00
Sergey Shelomentsev
4a0cb34ef6 JBR-5194 add regressions tests for custom decorations support
with fix for JBR-5300 Change source code and test files to use GPL license
2023-10-31 01:25:56 +01:00
Sergey Shelomentsev
8a1cccf22a build jbr-api as a part of bundle build 2023-10-31 01:25:56 +01:00
Vitaly Provodin
f0ec1a4d5b Update README.md 2023-10-31 01:25:56 +01:00
Vitaly Provodin
44c9eb98c1 Update README.md 2023-10-31 01:25:56 +01:00
Artem Semenov
53f9f53c25 JBR-5289 If the label has the role of a hyperlink, VO still pronounces it as plain text (#215) 2023-10-31 01:25:56 +01:00
Alexey Ushakov
a7a81abf79 JBR-5279 restore saving jbr native symbols bin/server/jvm.pdb 2023-10-31 01:25:56 +01:00
Sergey Shelomentsev
99e68c7402 JBR-4875 update test to use new JBR API window custom decorations 2023-10-31 01:25:56 +01:00
Vitaly Provodin
e238251636 Update README.md 2023-10-31 01:25:56 +01:00
Nikita Tsarev
17d7b59cdc 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
2023-10-31 01:25:56 +01:00
Nikita Tsarev
979a3aa508 Revert "8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout"
This reverts commit 5049cad2b0.

After JBR-5173 this workaround is no longer necessary
2023-10-31 01:25:56 +01:00
Artem Semenov
a94ae5a67c JBR-5269 Announcement priorities not set correctly (#214) 2023-10-31 01:25:56 +01:00
Nikita Tsarev
5a9f2cd85f JBR-5233 Setup/teardown necessary keyboard layouts in macOS keyboard tests 2023-10-31 01:25:56 +01:00
Vitaly Provodin
4505657a0c Update README.md 2023-10-31 01:25:56 +01:00
Artem Semenov
e0babe32f4 JBR-5248 exception in accessible announcing 2023-10-31 01:25:56 +01:00
Vitaly Provodin
3ce16ee1b0 update exclude list on results of 21_b9 test runs 2023-10-31 01:25:55 +01:00
Vitaly Provodin
3affc10657 JBR-5217 enable NVDA support in Windows builds 2023-10-31 01:25:55 +01:00
Nikita Gubarkov
4611a0134d JBR-5124 Rewrite custom decorations support
JBR API v0.0.8
Added new WindowDecorations API, deprecated old CustomWindowDecoration.

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

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

- Clipping in Swing components sometimes cuts what it shouldn't, fixed.
2023-10-31 01:25:55 +01:00
Nikita Tsarev
9932e55e3d JBR-5173 macOS keyboard support rewrite
with fix for JBR-5300 Change source code and test files to use GPL license
2023-10-31 01:25:55 +01:00
Nikita Tsarev
2e313dc4d7 Revert "macOS national keyboard support"
This reverts commit 21bffd06bc.
2023-10-31 01:25:55 +01:00
Vitaly Provodin
7aeeb6541c Update README.md 2023-10-31 01:25:55 +01:00
AMPivovarov
ac031c181c JBR-5213 JBR API v0.0.9 - add GraphicsUtils (#208)
* relax type constraints in BltBufferStrategy.getDrawGraphics
2023-10-31 01:25:55 +01:00
Artem Semenov
77b4f54f3f JBR-5221 Add announcing to JBRAPI 2023-10-31 01:25:55 +01:00
Vitaly Provodin
7be19ab53f update exclude list on results of 21_b8 test runs 2023-10-31 01:25:55 +01:00
Artem Semenov
da05ff6f27 JBR-4170 Implement API for announcing 2023-10-31 01:25:55 +01:00
Vitaly Provodin
6c64d05cc8 update exclude list on results of 21_b7 test runs 2023-10-31 01:25:55 +01:00
Vitaly Provodin
f0f11c4d02 update exclude list on results of stability checking runs due to 8253184 2023-10-31 01:25:55 +01:00
Artem Bochkarev
88e84d6084 JBR-3575 use flag processEvents in LWCToolkit.invokeAndWait 2023-10-31 01:25:55 +01:00
Vitaly Provodin
c6e24aa33f exclude several tests from runs on machines with enabled VoiceOver 2023-10-31 01:25:55 +01:00
Anton Tarasov
5ee15d388c JBR-4355 javax/swing/GraphicsConfigNotifier/StalePreferredSize.java: # C [libobjc.A.dylib+0x90ff] objc_release+0x1f
(cherry picked from commit c0b2b59d4a)
2023-10-31 01:25:55 +01:00
Anton Tarasov
51035218a0 JBR-4362 [mac] system menu opens with duplicated items
(cherry picked from commit e32defe49d)
2023-10-31 01:25:54 +01:00
Anton Tarasov
3ff577e896 JBR-4328 remove LWCToolkit.unsafeNonblockingExecute
(cherry picked from commit 9a3f31a6c4)
2023-10-31 01:25:54 +01:00
Anton Tarasov
b06725a86b 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
2023-10-31 01:25:54 +01:00
Anton Tarasov
1c25773bd7 JBR-4284 Sub items of main menu options are not displayed
A regression of JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss

(cherry picked from commit c464e4748e)
2023-10-31 01:25:54 +01:00
Anton Tarasov
32cb714d80 JBR-4119 UI freezes at sun.lwawt.macosx.CAccessibility.getChildrenAndRoles
(cherry picked from commit 6ba79774d8)
2023-10-31 01:25:54 +01:00
Anton Tarasov
8d245094c1 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
2023-10-31 01:25:54 +01:00
Anton Tarasov
49003285e0 JBR-4208 LWCToolkit.invokeAndWait should not stuck on invocation loss
including JBR-4543 (NPE: IdeEventQueue.lambda$getNextEvent$0)
2023-10-31 01:25:54 +01:00
Anton Tarasov
cd6574476d 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
2023-10-31 01:25:54 +01:00
Vitaly Provodin
b6d1dfc971 update exclude list on results of 21_b1447 test runs 2023-10-31 01:25:54 +01:00
Vitaly Provodin
bd23ceb4c7 Update README.md 2023-10-31 01:25:54 +01:00
Vitaly Provodin
069eb999a1 update exclude list on results of main.1441 test runs 2023-10-31 01:25:54 +01:00
Alexey Ushakov
1d711a792a JBR-5112 Large bold square whitespaces after waking up the laptop / connecting display
Clear primary surface data of VolatileSurfaceManager on display change event
2023-10-31 01:25:54 +01:00
Artem Semenov
05f70efc61 JBR-5118 VoiceOver does not speak the label associated with the combobox (#194)
JBR-5118 VoiceOver does not speak the label associated with the combobox
2023-10-31 01:25:54 +01:00
Artem Semenov
48903a635b JBR-4235 Context menu not readable after opening on Mac OS 2023-10-31 01:25:54 +01:00
Artem Semenov
0cc6134cc9 JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees. 2023-10-31 01:25:54 +01:00
Artem Semenov
b3fd866790 JBR-3868 Combobox list is not voiced of VoiceOver 2023-10-31 01:25:53 +01:00
Alexey Ushakov
6a3a6e01e9 JBR-5041 macOS: SIGSEGV at [libawt_lwawt] getRenderEncoder:(dstOps == NULL)
Protected code from using NULL dstOps
2023-10-31 01:25:53 +01:00
Alexey Ushakov
b3dc6dfbcd JBR-4856 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Clear glyph caches after switching contexts. Keep encoders in sync with graphics devices. Minor refactoring
2023-10-31 01:25:53 +01:00
Nikita Provotorov
5c89ebd6c2 JBR-5107, JBR-5114: SIGILL/OOM from Java_sun_lwawt_macosx_LWCToolkit_getKeyboardLayoutNativeId.
A theoretical fix, it should:
- Catch any NSException (as it was initially expected);
- Probably fix possible memory leaks (by moving the layoutId var inside autoreleasepool).
2023-10-31 01:25:53 +01:00
Dmitry Batrak
5f0557d49b JBR-5109 New frame doesn't get focused sometimes if it's shown right after popup is closed
(cherry picked from commit 693d317c0c)
2023-10-31 01:25:53 +01:00
Vitaly Provodin
ebd282dec8 Update README.md 2023-10-31 01:25:53 +01:00
Alexey Ushakov
5456ad8deb JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Do not fire deliverChangeBackingProperties notification for the view if there is no change between layer and window scales. Also, do not fire displayChanged for display profile only changes.
2023-10-31 01:25:53 +01:00
Nikita Provotorov
0608ec87af JBR-5075: macOS: KEY_PRESSED event for "Cmd N" is not emitted if used as a JMenuItem accelerator and apple.laf.useScreenMenuBar=true.
- Improves the fix of JBR-3544 to allow "Cmd N" and "Ctrl N" to reach AWT if they're actually the ones which were pressed.
- Adds a regression test.

(cherry picked from commit 61a1b70d73)
2023-10-31 01:25:53 +01:00
Dmitry Batrak
3b02724d80 JBR-5095 Incorrect initial window's location under GNOME
(cherry picked from commit 6995ce47fd)

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

(cherry picked from commit b933660cf1)
2023-10-31 01:25:53 +01:00
Victor Kropp
2badf084e7 Update README.md
Mention Toolbox App in the list of applications built on JetBrains Runtime.

(cherry picked from commit cfa9789515)
2023-10-31 01:25:53 +01:00
Nikita Provotorov
87e36c2ddb Update README.md
Replaced jbr-dev to main and other minor fixes.
2023-10-31 01:25:53 +01:00
Vitaly Provodin
62ea2ca696 update exclude list on results of 17.0.5_b721.3 test runs 2023-10-31 01:25:53 +01:00
Alexey Ushakov
4208137b10 JBR-5073 [Double-Monitor] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java: Wrong location
Added check for nil displayID of the window
2023-10-31 01:25:53 +01:00
Nikita Tsarev
36bf698bed JBR-4990: Undo changes to ExtendedKeyCodes 2023-10-31 01:25:53 +01:00
Vitaly Provodin
b9a12dfc68 update exclude list on results of 17.0.5_b712.2 test runs 2023-10-31 01:25:53 +01:00
Vitaly Provodin
61441309a1 JBR-4956 reduce width of screenshot by one pixel to exclude caret 2023-10-31 01:25:52 +01:00
ngubarkov
255815851b JBR-4840 cache screen resolution in XToolkit 2023-10-31 01:25:52 +01:00
Vitaly Provodin
2fcc971903 JBR-5058 set default locale as UK for RenderPerf 2023-10-31 01:25:52 +01:00
Alexey Ushakov
3685419172 JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Moving NSWindowDidChangeScreenNotification handler to AWTWindow

fixup! JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
2023-10-31 01:25:52 +01:00
Dmitry Batrak
678d71ef0f JBR-5045 Invisible component can break focus cycle
(cherry picked from commit 0f57a27879)
2023-10-31 01:25:52 +01:00
Nikita Tsarev
6dff775f6d JBR-3860: Fix shortcut behavior when Shift is the only modifier 2023-10-31 01:25:52 +01:00
Vitaly Provodin
ef136c4b6d Update README.md 2023-10-31 01:25:52 +01:00
Vitaly Provodin
783433cca1 Update README.md 2023-10-31 01:25:52 +01:00
Vitaly Provodin
3d088e9d21 update exclude list on results of 17.0.5_b691.6 test runs 2023-10-31 01:25:52 +01:00
Vitaly Provodin
25f9d382d9 Update README.md 2023-10-31 01:25:52 +01:00
Nikita Tsarev
e77c222a12 JBR-4990: Fix regression tests for national keyboard layouts on macOS 2023-10-31 01:25:52 +01:00
Alexey Ushakov
26e57653ce JBR-4959 [macOS Ventura] Screen flickering after OS update when IDE is full screen
Replace multiple CHANGE_SCREEN notifications fired around the same time with just one
2023-10-31 01:25:52 +01:00
Dmitry Batrak
0b1e685102 JBR-4988 Transient Z-order violations on macOS
(cherry picked from commit bcba97511c)
2023-10-31 01:25:52 +01:00
Vitaly Provodin
df5d2e409d JBR-4947 update alpine x64 image up to 3.14 2023-10-31 01:25:52 +01:00
Vitaly Provodin
a1d63df3fe update exclude list on results of 17.0.5_b469.67 test runs 2023-10-31 01:25:52 +01:00
Vitaly Provodin
10cac1ad2a Update README.md 2023-10-31 01:25:51 +01:00
Alexey Ushakov
667fc21211 JBR-4950 src\java.desktop\windows\native\libawt\windows\awt_FileDialog.cpp: warning C4267: '+=': conversion from 'size_t' to 'UINT', possible loss of data
Added casts to resolve warnings
2023-10-31 01:25:51 +01:00
Vitaly Provodin
deab557db6 update Commit and Full testing exclude list on results of jbr17.668 test runs 2023-10-31 01:25:51 +01:00
Maxim Kartashev
9ba47e3454 JBR-4951 In function 'convert_to_java_array': error: comparison of integer expressions of different signedness 2023-10-31 01:25:51 +01:00
Alexey Ushakov
bf28d554b7 JBR-4859 jbr17: compiler warnings with Xcode 14.0.1 (14A400)
Disabled warnings for liblcms and liblwawt
2023-10-31 01:25:51 +01:00
Vitaly Provodin
487a96b85c JBR-4089 add modules sun.awt sun.awt.image sun.java2d 2023-10-31 01:25:51 +01:00
Vitaly Provodin
a3f51a00ae update exclude list for Commit testing 2023-10-31 01:25:51 +01:00
Vitaly Provodin
7dec39a165 exclude tests failing because of JBR-4933, JBR-4934 2023-10-31 01:25:51 +01:00
Alexey Ushakov
e690ccbf03 JBR-4731 SIGILL caused by NPE Cannot invoke "java.awt.GraphicsConfiguration.getDevice()" because "config" is null
Handled null device in platform window
2023-10-31 01:25:51 +01:00
Maxim Kartashev
63d0622c9e Move JBR README.md to .github/ 2023-10-31 01:25:51 +01:00
Svyatoslav Vlasov
da4a8817c9 Add ProjectorUtils to jbr-api (#181)
* Add ProjectorUtils to jbr-api

Co-authored-by: Sviatoslav Vlasov <Sviatoslav.Vlasov@jetbrains.com>
2023-10-31 01:25:51 +01:00
Nikita Tsarev
7cdfa2d1d8 JBR-3941 Make apple.awt.captureNextAppWinKey default to false 2023-10-31 01:25:51 +01:00
Vitaly Provodin
c57e717dda JBR-4912 jb/java/api/frontend/CustomTitleBarDoubleClick.java intermittently throws java.awt.AWTError 2023-10-31 01:25:51 +01:00
Maxim Kartashev
a0f2958345 exclude java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java due to JBR-4880 on windows 2023-10-31 01:25:51 +01:00
Alexey Ushakov
fae395a1ab JBR-4710 macOS: SIGSEGV at sun.java2d.metal.MTLLayer.blitTexture
Added check for disposed texture in the MTLLayer
2023-10-31 01:25:51 +01:00
Nikita Gubarkov
49f1411c8c JBR-4890 Fix variation selectors font fallback on macOS
If font for a given variation selector not found, try without variation selector
2023-10-31 01:25:50 +01:00
Artem Bochkarev
0ed52aaf44 JBR-4907 remove custom view for osx system menu items
Just revert "JBR-3131: support custom view for system menu items"
2023-10-31 01:25:50 +01:00
Vitaly Provodin
f60d4f65be exclude java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java due to JBR-4905 on windows&linux 2023-10-31 01:25:50 +01:00
Alexey Ushakov
87ec9b0dd1 JBR-4897 Reconnecting multiscreen monitor displays blank IDE
Handled NSWindowDidChangeScreenNotification, resolved race condition in window peer displayChanged listener
2023-10-31 01:25:50 +01:00
Vitaly Provodin
c754191f3d exclude jb/java/jcef/HandleJSQueryTest3314.sh due to JBR-4866 on linux 2023-10-31 01:25:50 +01:00
Vitaly Provodin
3ba8cd924d exclude some tests due to JBR-4880 on windows 2023-10-31 01:25:50 +01:00
Vitaly Provodin
096d039308 exclude javax/swing/JInternalFrame/8020708/bug8020708.java due to JBR-4879 on windows 2023-10-31 01:25:50 +01:00
Vitaly Provodin
4a4d767877 exclude java/awt tests which do not close child processes/windows 2023-10-31 01:25:50 +01:00
Vitaly Provodin
44501e8b91 exclude java/awt/FullScreen/NoResizeEventOnDMChangeTest/NoResizeEventOnDMChangeTest.java and java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 7188711 on linux-all
j
2023-10-31 01:25:50 +01:00
Maxim Kartashev
acd9b38fe4 JBR-4877 WARNING: JNI local refs: 33, exceeds capacity: 32 2023-10-31 01:25:50 +01:00
Artem Bochkarev
a5ca1effc3 JBR-4876 remove test duplicates
Since next jcef tests were moved into junit suite (inside jcef repository):
 HandleJSQueryTest
 JCEFStartupTest
 LoadPageWithoutUI
 MouseEventAfterHideAndShowBrowserTest
 MouseEventScenario
 MouseEventTest
2023-10-31 01:25:50 +01:00
Vitaly Provodin
8a38002888 JBR-4875 jb/javax/swing/JComboBox/ComboBoxTransparentTittleBarTest.java checks dragging JFrame with Combobox 2023-10-31 01:25:50 +01:00
Dmitry Batrak
4e5e029c73 JBR-4871 Closed project leaked via KeyboardFocusManager#newFocusOwner
(cherry picked from commit 50c0ce58d3)
2023-10-31 01:25:50 +01:00
Maxim Kartashev
f50dd9c3b3 JBR-4839 Report if wrong shared library is detected at run time 2023-10-31 01:25:50 +01:00
Maxim Kartashev
e1203058be JBR-4848 Cannot invoke "javax.swing.JTextField.getCaret()" because the return value of "java.lang.ref.WeakReference.get()" is null 2023-10-31 01:25:49 +01:00
Alexey Ushakov
161e4a3b71 JBR-4590 macOS: SIGSEGV at [libawt_lwawt] MTLTR_DrawGlyphList
Invalidate glyph cache cell info after switching MTLContext
2023-10-31 01:25:49 +01:00
Nikita Gubarkov
edf5a98799 JBR-4815 force hinting for non-antialiased text 2023-10-31 01:25:49 +01:00
Maxim Kartashev
923ef677a8 jb/branchdiff.py script to help with release branches 2023-10-31 01:25:49 +01:00
Nikita Gubarkov
4a3000f279 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
2023-10-31 01:25:49 +01:00
Alexander Lobas
e3c8cd5ffb JBR-4787 Rounded corners for native windows
with fix for JBR-5300 Change source code and test files to use GPL license
2023-10-31 01:25:49 +01:00
Vitaly Provodin
47aa97cba1 updated JTreg exclude list 2023-10-31 01:25:49 +01:00
Maxim Kartashev
b94cf4a97d JBR-3862 Implement native WatchService on MacOS
The watch service is based on FSEvents API that notifies about file
system changes at a directory level. It is possible to go back to
using the old polling watch service with -Dwatch.service.polling=true.

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

(cherry picked from commit 641424a3e3)
2023-10-31 01:25:49 +01:00
Alexey Ushakov
8cfde8d8a8 JBR-4680 idea window flickers while changing the screen brightness
Update insets in separate notification
2023-10-31 01:25:49 +01:00
Maxim Kartashev
e2493d5ae9 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
2023-10-31 01:25:49 +01:00
Alexey Ushakov
5e5755e5ad JBR-4807 RenderPerf: Provide tests for VolatileImage rendering
Added VolImage and VolImageAA test cases
2023-10-31 01:25:49 +01:00
Maxim Kartashev
df9f692a3b JBR-4626 MacOS aarch64: SIGSEGV at RenderCache.get / ScaledBlit.getFromCache
Avoid C2-compiled loop crashes by replacing the handcrafted MRU cache
with a more modern LinkedHashMap-based one.
2023-10-31 01:25:49 +01:00
Nikita Gubarkov
4d459c3634 Allow registering multiple implementations for JBR API services
This greatly reduces boilerplate when dealing with platform-specific code, one can specify multiple target implementation classes, one per platform. First found will be used.

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

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

JBR-4753 Added JBR API for custom desktop actions

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

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

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

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

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

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

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

cherry picked from commit 2bf43a57ab

Kept only Thai-related changes - Korean-related issues are now fixed in OpenJDK as per JDK-8190907
2023-10-31 01:25:47 +01:00
artem.bochkarev
071b368b8c JBR-4581 JCEF tests fail due to compilation errors
The problem was in commit "JBR-4512 windows: include pdb-files into jbrsdk": rsync can replace file lib/modules.
rsync is replaced with cp
2023-10-31 01:25:47 +01:00
Vitaly Provodin
226028686f exclude sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java on linux-all due to 8252812 2023-10-31 01:25:47 +01:00
Vitaly Provodin
19dc01d9c8 exclude sanity/client/SwingSet/src/ColorChooserDemoTest.java on windows-all due to 8278582 2023-10-31 01:25:47 +01:00
Alexey Ushakov
46d40f3cbc JBR-4636 Some JWindow tests failed due to wrong scaling
Take into account custom scale via sun.java2d.uiScale
2023-10-31 01:25:47 +01:00
Nikita Gubarkov
9dd762551f 8289189: Fix ./configure on WSL1 2023-10-31 01:25:47 +01:00
Alexey Ushakov
fcc4b82557 JBR-4619 Window content scale wrong after disconnecting external display / waking OS from sleep
Use viewDidChangeBackingProperties notification to adjust a window layer scale
2023-10-31 01:25:47 +01:00
Vitaly Provodin
47fce92446 exclude vmTestbase/vm/jit/LongTransitions due to 8271615 on macOS 2023-10-31 01:25:47 +01:00
Maxim Kartashev
181c32392a JBR-4602 Unexpected NoSuchFileException running Rider test
This reverts commits for JBR-3680, JBR-4118, and JBR-4485.
2023-10-31 01:25:47 +01:00
Nikita Gubarkov
bda0eb4750 JBR-4373 Add mapping for .NewYork-* and .SFArabic-* system fonts 2023-10-31 01:25:47 +01:00
Alexander Lobas
d416ad5034 JBR-4563 Rounded corners for native Window on Mac OS (#156)
* JBR-4563 Rounded corners for native Window on Mac OS
2023-10-31 01:25:47 +01:00
Alexander Lobas
60928eb78f JBR-4563 Rounded corners for native Window on Mac OS 2023-10-31 01:25:47 +01:00
Alexander Lobas
dbd3895efe JBR-4305 (#119)
* IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode

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

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

* JBR-4305 IDEA-283934 Top panel (toolbar, Editor tabs) hides under the Mac menu in full-screen mode
2023-10-31 01:25:46 +01:00
Alexey Ushakov
4c828ad5b2 JBR-4591 macOS: SIGILL at [libsystem_kernel] __kill in -[__NSMallocBlock__ removeFromSuperview]: unrecognized selector sent to instance
Verified if windowDragView is present
2023-10-31 01:25:46 +01:00
Artem Bochkarev
cae6f7f203 JBR-4475: fixed browsers numeration in test
theoretically it can cause 2 requests with the same query_id: "cef_query_2" (when first browser finishes loading after the creation of second one)
2023-10-31 01:25:46 +01:00
Artem Bochkarev
63ecdbe2f8 JBR-4456: fixed HandleJSQueryTest
first invocation of dispatch(WindowEvent.WINDOW_CLOSING) calls System.exit() internally (because of setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE))
2023-10-31 01:25:46 +01:00
Vitaly Provodin
c166859854 exclude javax/swing/JToolBar/4529206/bug4529206.java due to 8288707 on linux 2023-10-31 01:25:46 +01:00
Vitaly Provodin
bbaed1b038 enabling dtrace-tests: added dtrace keyword
(cherry picked from commit 0b5119ca89)
2023-10-31 01:25:46 +01:00
Maxim Kartashev
7dad7fea55 JBR-3101 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.macosx.CPlatformComponent.setBounds
CWarningWindow doesn't have a peer, so accomodated for that in
CPlatformComponent.setBounds().
2023-10-31 01:25:46 +01:00
Maxim Kartashev
24da21c6a7 JBR-4485 Windows: EXCEPTION_ACCESS_VIOLATION at sun.nio.fs.WindowsDirectoryStream$WindowsDirectoryIterator.readNextEntry
As a precaution, range-check the offset returned by WinAPI before
using it to read raw memory with Unsafe.
2023-10-31 01:25:46 +01:00
Vitaly Provodin
e26e655762 JBR-4570 improve synchronization and increase waiting time 2023-10-31 01:25:46 +01:00
Dmitry Batrak
bbc0ac4973 JBR-4552 Windows revert back after initial move/resize in Cygwin/X
(cherry picked from commit 6dc194e089)
2023-10-31 01:25:46 +01:00
Manuel Unterhofer
0530b89c6c FL-11598 Fix accidental reset of window configuration for custom decoration on macOS
This also aligns the handling of the style mask with how the other settings are applied: It uses a client property now. This property is now also applied directly on peer initialization so that there is no need to re-apply, and the window directly appears in the correct configuration.
2023-10-31 01:25:46 +01:00
Nikita Provotorov
fbead43c3d JBR-4394, IDEA-246833: refactoring and blocking the fix of JBR-1573 to recreate IMs and ICs during preediting.
(cherry picked from commits 7a36587db8d3d5a63c5691243cd5bf56733c06e6, 321a4a3f83)
2023-10-31 01:25:46 +01:00
Nikita Provotorov
ff3fff1334 JBR-4394, IDEA-246833: fixup of JBR-2444.
(cherry picked from commit ef262dc8bb)
2023-10-31 01:25:46 +01:00
Dmitry Batrak
6fcc22e4a2 JBR-4537 Popup windows shown for a background window cause app icon to blink in taskbar on KDE 2023-10-31 01:25:46 +01:00
Dmitry Batrak
b9a93e8f53 JBR-4535 Popup windows disappear on mouse hover when 'Focus strictly under mouse' policy is used in KDE 2023-10-31 01:25:46 +01:00
Alexey Ushakov
8a14c0584b JBR-3828 restore details for Java exceptions in crash dumps handled by ObjC
Added exception.toString() to jbr_err_* log

(cherry picked from commit 478bd6cdd7)

Added java stack of the exception to jbr_err_* log

(cherry picked from commit e97f728e93)

Also return the static string "OutOfMemoryError" in case of that
exception has been thrown in order to avoid crashing while reporting an
exception in an out-of-memory situation.
2023-10-31 01:25:45 +01:00
Vitaly Provodin
8b2bb83388 exclude jb/java/awt/Window/ZOrderOnModalDialogActivation.java from S2 runs on Windows and Linux 2023-10-31 01:25:45 +01:00
Vitaly Provodin
e14b236076 exclude javax/swing/plaf/nimbus/TestNimbusOverride.java on windows due to 8253184 2023-10-31 01:25:45 +01:00
Vitaly Provodin
391c047c52 exclude java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java on linux-aarch64 only due to 8266283 2023-10-31 01:25:45 +01:00
Artem Bochkarev
2d6c9f90fa JBR-4473: fixed native part of SystemHotkeyReader 2023-10-31 01:25:45 +01:00
Dmitry Batrak
b6b7a11f07 JBR-1740 Menu remains open when application loses focus
(cherry picked from commit f987d22cd2)
2023-10-31 01:25:45 +01:00
Vitaly Provodin
18c822af1b exclude Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java from S2 runs due to 8286840 2023-10-31 01:25:45 +01:00
Vitaly Provodin
06144f20ea exclude java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java due to 8282232 2023-10-31 01:25:45 +01:00
Maxim Kartashev
c5d4d78b40 JBR-4471 Linux: popup appears on wrong screen after desktop scale change
When screen scale changes, the cached screen bounds must be explicitly
updated. Call resetBoundsCache() whenever X11GraphicsDevice.scale has
changed.
2023-10-31 01:25:45 +01:00
Manuel Unterhofer
35528f37c8 Merge fullscreen handlers for transparent title bar into existing ones 2023-10-31 01:25:45 +01:00
Manuel Unterhofer
e562633ea3 FL-11420 Fix view hierarchy restoration for full-screen mode on macOS 2023-10-31 01:25:45 +01:00
Nikita Gubarkov
9a5bb6d011 JBR-4364 Port macOS native file dialog patches
IDEA-146669 Enable Mac native file dialogs
IDEA-159507 Mac native dialogs: multiple open dialogs are possible
JBR-1784 File dialogs aren't themed on macOS
JBR-1752 Floating windows overlap modal dialogs
JBR-2005: don't set appearance of file chooser if OSX version < 10.14
JBR-4546 Focus is not returned back to IDE after closing "Open" dialog
2023-10-31 01:25:45 +01:00
Dmitry Batrak
4d9caeba3a JBR-4463 Activating app-modal dialog brings all app windows to front
(cherry picked from commit 2b05925276)

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

(cherry picked from commits c55bf03680, ec748f84fb)

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

(cherry picked from commit ea8da3cbe5)

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

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

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

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

(cherry picked from commit 152a4e886d)
2023-10-31 01:25:44 +01:00
Renaud Paquay
7304641634 JBR-3680 Improve performance of WindowsDirectoryStream
Use `NtQueryDirectoryInformation` instead of `FindFirst/FindNext` to
retrieve the list of entries of a directory.

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

* Performance is about 40% faster

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

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

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

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

Change-Id: Id79d89d477a6d5dcf151c63a9d6072c6f7ef43b2

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

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

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

Although on modern systems with Xinerama there should really be no
screen other than zero, as the last resort, this number is also
range-checked in getDefaultConfig() itself.
2023-10-31 01:25:44 +01:00
Anton Tarasov
f06da10cde JBR-4389 [update_1] IDEA UI font becomes too large after disconnecting the external monitor / sleep 2023-10-31 01:25:44 +01:00
Anton Tarasov
7731346378 JBR-4389 IDEA UI font becomes too large after disconnecting the external monitor / sleep 2023-10-31 01:25:44 +01:00
Dmitry Batrak
19f662e3ae remove duplicate bundled JetBrains Mono bold italic font
following JBR-4402

(cherry picked from commit b7e5d3cfcf)
2023-10-31 01:25:44 +01:00
Dmitry Batrak
da86fb2a75 JBR-4402 The wrong text is rendered in editor 2023-10-31 01:25:44 +01:00
Vitaly Provodin
824595ee65 JBR-4297 add a regression test
(cherry picked from commit 8e94fff6aa)
2023-10-31 01:25:44 +01:00
Konstantin Bulenkov
f68311d606 Update JetBrains Mono font to 2.225 2023-10-31 01:25:44 +01:00
Alexey Ushakov
c2fd15fffa JBR-4363 Changes in fonts rendering between JBR11 and JBR17
Resolved merge artifact after applying IDEA-57233 fix
2023-10-31 01:25:44 +01:00
Alexey Ushakov
2d534d940b JBR-3843 IDE text is misaligned vertically when using Consolas font
Use usWinAscent/usWinDescent for metrics on Windows
2023-10-31 01:25:43 +01:00
Alexey Ushakov
2f543286cb JBR-1110 [JDK11] java/awt/font/Outline/OutlineInvarianceTest.java: Failed for font java.awt.Font[family=Dialog,name=MS Gothic,style=bold,size=30]
Replaced FT_LOAD_NO_HINTING mode for non AA rendering with FT_LOAD_TARGET_LIGHT

(cherry picked from commit 3368768244)
2023-10-31 01:25:43 +01:00
Alexey Ushakov
7dd066c820 JBR-2000 RM 2019.3.1 font rendering regression, normal text is heavier
Added -Djava2d.font.loadFontConfig=bundled to force loading bundled font.conf

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

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

(cherry picked from commit d57e8b631b)
2023-10-31 01:25:43 +01:00
Alexey Ushakov
18f6d8c1f7 JBR-3365 SIGILL at [libsystem_kernel] __kill in java.lang.RuntimeException: Failed to convert, no screen / primaryScreen
Wrapped the native exception and added logging
2023-10-31 01:25:43 +01:00
Dmitry Batrak
869bbadf39 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)
2023-10-31 01:25:43 +01:00
Vitaly Provodin
55900d4e9c JBR-4294 split desktop tests to more groups for Commit testing 2023-10-31 01:25:43 +01:00
Dmitry Batrak
57f83fce6d JBR-4281 Window losing focus isn't detected in some cases on macOS
(cherry picked from commit 363650bbf4)

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

(cherry picked from commit 8b9a00915d)

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

(cherry picked from commit e34677587d)

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

(cherry picked from commit 0a3f4b206d)
2023-10-31 01:25:43 +01:00
greg
b0f1c67b0c macOS: add methods to setup transparent titlebar with custom height (#100)
* macOS: add methods to setup transparent titlebar with custom height

* make windowTransparentTitleBarHeight CPlatfromWindow property

* add windowTransparentTitleBarHeight test

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

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

Custom macOS window decorations via JBR API

JBR-4460 Fix window drag with custom decorations on macOS

JBR-4553 Add logging to setUpTransparentTitleBar and resetTitleBar
2023-10-31 01:25:43 +01:00
Denis Fokin
8c60d1efc4 JBR-4038 [JBR17] Force Touch events are not supported on macOS
Added missing files and handlers from JBR11
2023-10-31 01:25:43 +01:00
Alexey Ushakov
cf10548e63 JBR-3901 jbr-dev compile problem
Added transient keyword
2023-10-31 01:25:43 +01:00
Alexander Lobas
b924796f43 JBR-2893 Big Sur: Add support of opening project as tabs IDEA-257932 Big Sur: IDEA hangs after closing a project tab after exiting and entering full screen
Converted JNF to JNIUtilites

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

(cherry picked from commit eeef67a335)
2023-10-31 01:25:42 +01:00
Dmitry Batrak
37b6165ac5 remove excessive wrapping with AccessController (AWTThreading does it internally now)
as part of JBR-3017

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

with fix for JBR-3640 (java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java: window Open button lost focus when it should not) and JBR-3979 (Focus is not transferred to parent window)

with fix for JBR-5300 Change source code and test files to use GPL license
2023-10-31 01:25:42 +01:00
Nikita Provotorov
27f9143cb2 JBR-4271: JBR17 and dev built without --with-vendor-name parameter have invalid value of the java.vm.vendor property.
Changes the default JBR's vendor from "Oracle Corporation" to "JetBrains s.r.o.".

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

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

(cherry picked from commit ba5209ec06)
2023-10-31 01:25:42 +01:00
Nikita Provotorov
6436da749c JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
Renames the test AltGrMustGenerateAltGrModifierTest3838.java to AltGrMustGenerateAltGrModifierTest4207.java.

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

(cherry picked from commit 609406c21b)
2023-10-31 01:25:41 +01:00
Vitaly Provodin
112f041414 exclude sun/security/pkcs11/Signature/TestDSAKeyLength.java on Ubuntu 21.04 due to 8279941 2023-10-31 01:25:41 +01:00
Anton Tarasov
9cd1fdc723 JBR-4204 provide an option to disable a11y support on macOS
(cherry picked from commit ee3c56abdc)
2023-10-31 01:25:41 +01:00
Vitaly Provodin
ebd54066ee exclude two swing tests on Windows due to JBR-4197 2023-10-31 01:25:41 +01:00
Alexey Ushakov
b8474a1e67 JBR-4112 macOS: SIGILL at [libsystem_kernel] __kill in OOME: Java heap space at java.awt.image.DataBufferInt.<init>
Removed double allocation of surface data
2023-10-31 01:25:41 +01:00
Alexey Ushakov
be042932aa JBR-4187 java/awt/GraphicsDevice/DisplayModes/UnknownRefrshRateTest.java.UnknownRefrshRateTest fails on mac
Constrained display modes count used by the test
2023-10-31 01:25:41 +01:00
Alexey Ushakov
59be8d33b4 JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext
2023-10-31 01:25:41 +01:00
Alexey Ushakov
80df37fc7c JBR-4174 java/awt/FullScreen/FullScreenInsets/FullScreenInsets.java fails on mac aarch64
Hide cursor to fix OGL&Metal Robot issue (it reads cursor image). Added tolerance to fix Metal Robot inaccuracy.
2023-10-31 01:25:41 +01:00
Artem Semenov
141863382f JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu 2023-10-31 01:25:41 +01:00
Alexey Ushakov
f3908d5e0d JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT
2023-10-31 01:25:41 +01:00
Vitaly Provodin
e67fa71c70 JBR-4169 add jdk.javadoc into JBR 2023-10-31 01:25:41 +01:00
Alexey Ushakov
7e3c89bf96 JBR-4150 IDE regularly locks up at sun.lwawt.macosx.LWCToolkit.getScreenInsets
Restored caching screen insets. Added handling of dock resize.
2023-10-31 01:25:41 +01:00
Vitaly Provodin
5a4e879bf2 exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256 2023-10-31 01:25:41 +01:00
Vitaly Provodin
9ffbafdddd exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190 2023-10-31 01:25:41 +01:00
Vitaly Provodin
4e120afdd4 exclude java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java due to 827361 2023-10-31 01:25:41 +01:00
Vitaly Provodin
b94a11ef95 add exclude list for Wayland failures 2023-10-31 01:25:40 +01:00
Vitaly Provodin
e333bb905b exclude javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation /JComboBoxPopupLocation.java on macOS due to 8194945 2023-10-31 01:25:40 +01:00
Vitaly Provodin
2341d5a542 exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029 2023-10-31 01:25:40 +01:00
Maxim Kartashev
557ae56c8d JBR-3948 Linux: SIGSEGV at [libawt_xawt] Java_sun_awt_X11_XInputMethod_createXICNative
The problem: the crashes occur in createStatusWindow() when calls like
adata->AwtColorMatch() end up going to 0x0 pc or some random inaccessible
memory. The only reason for that seems to be the
getDefaultConfig(screen) returning either NULL or garbage. That, in turn, probably
happens because of the wrong screen number provided. Before JBR-3623 was
fixed, awt_numScreens could've changed between the time the screen
number was chosen and the getDefaultConfig() call. After JBR-3623 was
fixed, this change is protected with the AWT lock, which this code
holds.
The fix: obtain the screen number via the Xlib API rather than the
ad-hoc loop though the root windows and return NULL if
getDefaultConfig() doesn't return useable data.

(cherry picked from commit 3d23e8d6a5)
2023-10-31 01:25:40 +01:00
Vitaly Provodin
20f095d39f add exclude list for Scale2 test runs 2023-10-31 01:25:40 +01:00
Vitaly Provodin
a89b5ce5fd exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231 2023-10-31 01:25:40 +01:00
Alexey Ushakov
d28ac0c123 JBR-3773 M1 java/awt/Window/WindowAppearanceTest/WindowAppearanceTest.java: : Incorrect color java.awt.Color[r=75,g=74,b=72]at (140,5)
Added more variants of colors for unfocused and focused titles
2023-10-31 01:25:40 +01:00
Artem Semenov
6f32077210 JBR-3775 Optimize the algorithm for obtaining tree elements 2023-10-31 01:25:40 +01:00
Nikita Gubarkov
caa6705e20 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
2023-10-31 01:25:40 +01:00
Vitaly Provodin
21fc527c28 JBR-3931 add the module jdk.unsupported.desktop into jbr
(cherry picked from commit 32def2fd42)
2023-10-31 01:25:40 +01:00
Alexey Ushakov
11875b66ef JBR-4111 [JBR17] Make possible to select files and directories independently
Implemented apple.awt.fileDialogForFiles property
2023-10-31 01:25:40 +01:00
Vitaly Provodin
0d22239754 enable fixed tests to regular runs 2023-10-31 01:25:40 +01:00
Vitaly Provodin
c3423cee75 exclude javax/swing tests on mac-aarch64 due to 8277816 2023-10-31 01:25:40 +01:00
Aleksandr Veselov
99ab749b1b JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen 2023-10-31 01:25:40 +01:00
Alexey Ushakov
bb4f1aae5c JBR-4060 [JBR17+Metal] Flickering on button's shadow
Removed unnecessary global flag. Optimized mask cache texture clearing code.
2023-10-31 01:25:39 +01:00
Alexey Ushakov
34750ec310 JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader
2023-10-31 01:25:39 +01:00
Alexey Ushakov
9b35a2dc9b JBR-3872 [JBR17+Metal] Wrong color for scrollbars and inlay hints
Corrected typo in setTxtUniforms and fixed alpha blending in frag_gmc_text shader
2023-10-31 01:25:39 +01:00
Alexey Ushakov
32c5a690be JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Implemented gamma correction using the same approach that we did for OGL grayscale text rendering (OGLTextRenderer.c)
Optimized shader performance
2023-10-31 01:25:39 +01:00
Alexey Ushakov
3aadd7fc68 JBR-4104 jbr-dev compilation failure
Corrected suppress warnings
2023-10-31 01:25:39 +01:00
Dmitry Batrak
d2f696b31f JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters
(cherry picked from commit 4fde082d53)
2023-10-31 01:25:39 +01:00
Maxim Kartashev
461287f420 JBR-3899 SIGSEGV at [libjvm] _ZN23JfrNetworkInterfaceName11on_rotationEv
Prevent JfrNetworkInterfaceName::on_rotation() to dereference a
potentially NULL pointer.

(cherry picked from commit b2a9372d70)
2023-10-31 01:25:39 +01:00
Dmitry Batrak
ae6b99563a JBR-4021 Unexpected focus event order on window showing
(cherry picked from commit 2a398ebb24)

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

(cherry picked from commit 685562aafc)
2023-10-31 01:25:39 +01:00
Maxim Kartashev
cc60556841 JBR-3923 Internal Error in c1_Instruction.cpp
Make C1 hotspot compiler bail out during CFG construction if there's a
cycle in the graph that isn't a natural loop and that has led to an
unexpected state of stack/locals like missing a phi function.

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

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

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

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

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

(cherry picked from commit b40cc1c791)
2023-10-31 01:25:38 +01:00
Dmitry Batrak
6a48a239d5 log LWCToolkit invokeAndWait requests
as part of JBR-3017, to make investigation of similar issues simpler in the future

(cherry-picked from commit a7fd723e43)
2023-10-31 01:25:38 +01:00
Alexey Ushakov
4985688e0c JRE-202 Deadlock in CGLGraphicsConfig.getCGLConfigInfo
Added processing system events while waiting for OGLRenderQueue.lock
Moved getCGLConfigInfo logic execution to AppKit thread so, awt lock is
 taken on one thread

(cherry picked from commit d1c8bf03e1bd41cb075aa73cc39558103af7fe1a)
(cherry picked from commit 6bf9f31986be64acf3755b34568802f9960a66ec)
(cherry picked from commit 4e21d67e0369bffac45662c63699b39946218a7a)
2023-10-31 01:25:38 +01:00
Alexey Ushakov
21ff4cbf5b JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit

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

In order to avoid (incorrect) guessing of dialog's insets, make 3
attempts at getting the insets with a small but increasing pause
in between them.
2023-10-31 01:25:38 +01:00
Maxim Kartashev
98d3d05652 Revert "JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled"
This reverts commit 8e7aed70976ec0f90c736d86b9cd3e9cf09ff6d4.
2023-10-31 01:25:38 +01:00
Nikita Provotorov
f21eface08 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
2023-10-31 01:25:38 +01:00
Maxim Kartashev
a1a34d0a08 JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

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

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

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

(cherry picked from commit 7a2ccfc521)

JBR-1762: fixed review comments

(cherry picked from commit 0efbe5d9b9)
2023-10-31 01:25:37 +01:00
Renaud Paquay
e5d9f865f5 Add BasicWithKeyFileAttributeView interface
This new interface is similar to `BasicFileAttributeView` except it
gives implementations a hint that the fileKey() should be acquired
even at some performance cost.

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

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

Change-Id: I8de047c8fc241dbab9ad57c5e361118a3a94893d

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

(cherry picked from commit 6d1c3f06c4)
2023-10-31 01:25:37 +01:00
Ivan Migalev
5304ef959b JBR-3785: don't touch the active keyboard layout on input method activation / deactivation.
origin PR: github.com/JetBrains/JetBrainsRuntime/pull/78.

(cherry picked from commit 2f772fd1a2)
2023-10-31 01:25:37 +01:00
Dmitry Batrak
3def181294 JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE
(cherry picked from commit 0bf13985d5)
2023-10-31 01:25:37 +01:00
Maxim Kartashev
ff9933e368 JBR-3772 java/beans/PropertyEditor/TestFontClass.java: access denied ("java.util.PropertyPermission" "sun.awt.x11.trace" "read")
Instead of using System.getProperty() directly, wrap the call into
GetPropertyAction and use AccessController to execute it.
2023-10-31 01:25:37 +01:00
Dmitry Batrak
a788493cd3 JBR-3504 a11y focus is set on the wrong element when opening popups
(cherry-picked from commit a69e12e0d2)
2023-10-31 01:25:37 +01:00
Maxim Kartashev
a595354b2c JBR-3665 Typing is slow in remote X session
Only call XGetKeyboardMapping() once for all valid codes and cache the
resulting table. Use the cache on the subsequent calls to
keycodeToKeysym().
2023-10-31 01:25:37 +01:00
Maxim Kartashev
e83fb18932 JBR-2273 JBR musl port
Detect if we're running on a musl-based system by checking for the presence
of the libgcompat.so glibc compatibility library in the process' map.
If so, java is re-started with LD_LIBRARY_PATH set to point to the right
directory with libjvm.so. This works around the problem with the musl
dynamic library loader.

(based on commit 13a904ddb5)
2023-10-31 01:25:37 +01:00
Alexey Ushakov
91bdb8309a Added support for otf into the build scripts. Updated prebuild maps.
Applied code from jbr-dev
2023-10-31 01:25:37 +01:00
Konstantin Bulenkov
f4e1d818c9 bundle Inter font 2023-10-31 01:25:37 +01:00
Maxim Kartashev
05c883cbf5 JBR-3664 Logging for communications with X server
Introduced logging controlled with -Dsun.awt.x11.trace.
Currently, only looks at the AWT lock and reports methods holding it
sorted by average hold time.

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

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

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

(cherry picked from commit d8d4c55a61)
2023-10-31 01:25:36 +01:00
Anton Tarasov
10011de238 JBR-1834 [linux] runtime hidpi switch is broken
(cherry picked from commit eaa04303a7)
2023-10-31 01:25:36 +01:00
Anton Tarasov
75f794b191 JBR-1429 Scale is huge due to GDK_SCALE
(cherry-picked from commit 1c3477df2e)
2023-10-31 01:25:36 +01:00
Anton Tarasov
569d6188ac JBR-1365 force IDE-managed HiDPI on Linux for fractional scales
(cherry picked from commit f092ff3962)
2023-10-31 01:25:36 +01:00
Anton Tarasov
441928118b Allow HiDPI mode on Linux 2023-10-31 01:25:36 +01:00
Anton Tarasov
389c606f45 JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly 2023-10-31 01:25:36 +01:00
Anton Tarasov
07fb6f5993 JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.
2023-10-31 01:25:36 +01:00
Vitaly.Provodin
25aa493807 add 32-sizes for native data types
(cherry picked from commit 3a79870da8)
2023-10-31 01:25:36 +01:00
Nikita Gubarkov
14a19cc57d Added JBR-specific .idea project files 2023-10-31 01:25:36 +01:00
Alexey Ushakov
7d2bbdc7f5 JBR-3344 "Exit Full Screen" action doesn't work, the only way is mouse click on window's native "green" button.
Restored JBR-1931 fix partially reverted by JBR-1718

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

(cherry picked from commit eda8e4d50e)
2023-10-31 01:25:35 +01:00
Denis Konoplev
e63dab0602 EA-252361: Check window for null
(cherry picked from commit 23a7dbd486)
2023-10-31 01:25:35 +01:00
Artem Bochkarev
745b89ec4b JBR-3131: support custom view for system menu items
(cherry picked from commit 78d509ac0f)
2023-10-31 01:25:35 +01:00
Artem Bochkarev
6c4b58e8ae JBR-3127: set NSWindowAllowsImplicitFullScreen=NO
fixed JBR-3127 Modal dialogs invoked from modal or floating dialogs are opened in full screen

(cherry picked from commit 0b8ff1a7e6)

JBR-3127: add possibility to load NSJavaVirtualMachine

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

(cherry picked from commit be6a2c4f0c)
2023-10-31 01:25:35 +01:00
Nikita Gubarkov
fbf3dc6778 JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c 2023-10-31 01:25:35 +01:00
Dmitry Batrak
dfea0a85c5 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
2023-10-31 01:25:35 +01:00
Vitaly Provodin
c07f762130 JBR-3314 add regression test
(cherry picked from commit c81adfed61)
2023-10-31 01:25:35 +01:00
Ivan Migalev
d4d0ab7db3 JBR-3227 Reload type of required native file dialogs each time a file dialog is requested
(cherry picked from commit 26dd87ab7c)
2023-10-31 01:25:35 +01:00
Ivan Migalev
8b5ca0cfa8 JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled
(cherry picked from commit 442bb7eecc)
2023-10-31 01:25:35 +01:00
Alexey Ushakov
ecc692ff76 JBR-2996 M1 warnings: CoreText note: Client requested name “.SFCompact-Black”, it will get Times-Roman rather than the intended font
Cached system fonts family names

(cherry picked from commit 56629e4c90)
2023-10-31 01:25:35 +01:00
Alexey Ushakov
e07ee7db1b JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Initiate move/resize event on first appearance of window having FULL_WINDOW_CONTENT property set

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

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

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

(cherry picked from commits e3aaff5db4, 09941119e1)
2023-10-31 01:25:35 +01:00
Dmitry Batrak
0b26691f83 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
2023-10-31 01:25:34 +01:00
Dmitry Batrak
9be44539b7 fix occasional freezes of JBR-3017 reproducer after the fix
(cherry picked from commit 7e6db54f77)
2023-10-31 01:25:34 +01:00
Dmitry Batrak
4610cbc0bb JBR-2819 Create API to determine typographic family/subfamily for available fonts
(cherry picked from commit 89e519a4ef)
2023-10-31 01:25:34 +01:00
Nikita Gubarkov
b83171d9bf JBR-2924 Do not try to create native italic font when we're going to make it fake italic 2023-10-31 01:25:34 +01:00
Nikita Gubarkov
04c4879c68 JBR-3982 Fixed non-antialiased text rendering on macOS
JBR-3269 Disabled subpixel antialiasing for macOS Mojave and newer
2023-10-31 01:25:34 +01:00
Dmitry Batrak
ac2df1b05b JBR-3017 Focus issue in presence of third-party accessibility tool
(cherry picked from commit 88ead5d9e3)
2023-10-31 01:25:34 +01:00
Vitaly Provodin
34f5f246a7 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
2023-10-31 01:25:34 +01:00
Elena Sayapina
3cac6ef071 JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
2023-10-31 01:25:34 +01:00
Nikita Gubarkov
b07705a1f1 Added JBR API
with fix for JBR-5300 Change source code and test files to use GPL license
2023-10-31 01:25:34 +01:00
Artem Bochkarev
b48a477f7e JBR-2562: fixed invokation of parent method
(cherry picked from commit 93cbab2f2d)

JBR-2562: suppress exceptions from [NSWindow _changeJustMain]

temporary workaround to prevent crashes

(cherry picked from commit dd055b5970)
2023-10-31 01:25:34 +01:00
Mikhail Grishchenko
6b57b5b95b JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
2023-10-31 01:25:34 +01:00
Alexey Ushakov
0ae7f14fdc JBR-2879 Big Sur: Opening project in new window results in opening project in another tab
Disabled Tabbing mode for all NSWindows

(cherry picked from commit 8cb0377a31)
2023-10-31 01:25:34 +01:00
Nikita Gubarkov
b9be1fed9e JBR-2910 Implemented extended glyph cache for macOS
JBR-3976 Fixed text spacing & emoji scaling on macOS

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

(cherry picked from commit c30306f779)
(cherry picked from commit c95adeb8f2)
(cherry picked from commit 269c9580fb)
(cherry picked from commit 55c7be5fe9)
(cherry picked from commit e28ff71e97)
2023-10-31 01:25:34 +01:00
Alexey Ushakov
8a17c3cfc2 JBR-2521 Ugly font in all 2020.2 EAPs on macOS
Provide gamma correction for both light and dark text

(cherry picked from commit 5953202a7e)
2023-10-31 01:25:34 +01:00
Alexey Ushakov
c9fa359dce JBR-2591 Repainting is broken (was: Icons in tree list widgets became dark)
Save current blend mode before cached grayscale rendering

(cherry picked from commit 7beb75ccec)
(cherry picked from commit ed52fde57d)
2023-10-31 01:25:33 +01:00
Alexey Ushakov
39e61679b5 JBR-1986 Enabling fractional metrics causes visual artifacts in font rendering on macOS 10.14+
Disable subpixel positioning for macOS 10.13+ if legacy LCD rendering is disabled

(cherry picked from commit dbd24232e4)
2023-10-31 01:25:33 +01:00
Vitaly Provodin
0e36b0b0f0 exclude bug7154030 on macosx-aarch64 due to 8268284 2023-10-31 01:25:33 +01:00
Vitaly Provodin
77971e7477 exclude SharedMemoryPixmapsTest on macosx-all due to 8221451 2023-10-31 01:25:33 +01:00
Vyacheslav Moklev
5a6333047b JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov
2023-10-31 01:25:33 +01:00
Andrey Starovoyt
fb4b83aca4 JBR-2736 provide writeObjects implementation for copying files/folders from Project Explorer to the Finder
(cherry picked from commit 33db034d49)
(cherry picked from commit d3ec3d899d)
2023-10-31 01:25:33 +01:00
Sergey Malenkov
96d75e7a1b EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
2023-10-31 01:25:33 +01:00
Kirill Kirichenko
f67e90d67b JBR-2667 Post review: rename win.darkTheme.on to win.lightTheme.on and reversed the logic
(cherry picked from commit eeab5252e6)
2023-10-31 01:25:33 +01:00
Kirill Kirichenko
72f0b3b32d JBR-2667 Add new AWT desktop property for light/dark theme detection on Windows 10
(cherry picked from commit 0e4ad056dd)
2023-10-31 01:25:33 +01:00
Alexey Ushakov
318b656fa9 JBR-2593 Wide ligatures not rendered in Grayscale mode
Added missing flush of cached vertices

(cherry picked from commit ad409b4370)
2023-10-31 01:25:33 +01:00
Nikita Gubarkov
c81d2c14d8 JBR-2910 Implemented extended glyph cache for Linux 2023-10-31 01:25:33 +01:00
Nikita Gubarkov
2059f07765 JBR-2910 Implemented extended glyph cache for Windows 2023-10-31 01:25:33 +01:00
Nikita Gubarkov
d046704dfe JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3 2023-10-31 01:25:33 +01:00
Alexey Ushakov
302eda8b22 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2023-10-31 01:25:33 +01:00
Denis Konoplev
7808b55d13 JBR-3544: Generate popup invoked instead of New in this directory.
- A fix
- A regression test (cherry picked from commit 7995574c09)
2023-10-31 01:25:33 +01:00
Vitaly Provodin
23081215bd JBR-2545 Clean up the list of ignored Render tests
(cherry picked from commit f7b4c42e1d)
2023-10-31 01:25:32 +01:00
Jayathirth D V
a3afbd2a41 8241490: Add large text performance tests in RenderPerfTest
(cherry picked from commit 803ee2f2b5)
2023-10-31 01:25:32 +01:00
Alexey Ushakov
36ee0a8725 8230657: Create fine grained render perf test for metal pipeline
Converted gradle JUnit test to plain java for ant and gnumake

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

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

(cherry picked from commit 356121b18f)
(cherry picked from commit 8bd8d2d132)
2023-10-31 01:25:32 +01:00
Konstantin Bulenkov
28db8d7427 Update FiraCode to 5.2
(cherry picked from commit 71e2a8d8ad)
2023-10-31 01:25:32 +01:00
Alexey Ushakov
db45ee9ba2 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Reverting gamma correction because of rendering artifacts in the light theme

This reverts commit 5016db51

(cherry picked from commit c1d644a004)
2023-10-31 01:25:32 +01:00
Alexey Ushakov
d1f02f1339 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Added gamma correction to match grayscale rendering with subpixel one

(cherry picked from commit 5016db518a)
2023-10-31 01:25:32 +01:00
Alexey Ushakov
941d905d8d JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2023-10-31 01:25:32 +01:00
Anton Tarasov
5d9e871d82 revert: JBR-1434 "New file dialog" popup remains above all windows on switching application
java.awt.peer.WindowPeer.isLightweightDialog() method does not exist.

(cherry picked from commit 7d8aeaf7de)
2023-10-31 01:25:32 +01:00
Anton Tarasov
63ee8dab7f JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
2023-10-31 01:25:32 +01:00
Anton Tarasov
76b74088bf 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
2023-10-31 01:25:32 +01:00
Anton Tarasov
ba1b5f7b5d JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
2023-10-31 01:25:32 +01:00
Anton Tarasov
c5a7a95f94 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
(cherry picked from commit 57bbddf071)
2023-10-31 01:25:32 +01:00
Anton Tarasov
d2adaf55fc JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
2023-10-31 01:25:32 +01:00
Anton Tarasov
065fc027ca JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 81d2156fb1)
2023-10-31 01:25:32 +01:00
Anton Tarasov
df3847a96f JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit a5adc725df)
2023-10-31 01:25:32 +01:00
Anton Tarasov
e59a6f9af7 JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
2023-10-31 01:25:31 +01:00
Anton Tarasov
91e6eb87f1 JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
2023-10-31 01:25:31 +01:00
Anton Tarasov
230a049d9b JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
2023-10-31 01:25:31 +01:00
Anton Tarasov
581b2b3ea3 JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
2023-10-31 01:25:31 +01:00
Anton Tarasov
f35bc55908 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
2023-10-31 01:25:31 +01:00
Anton Tarasov
e23d59511f JBR-2169 AWTThreading: remove tracked invocation event from completion listener
(cherry picked from commit a855f3b835)
2023-10-31 01:25:31 +01:00
Anton Tarasov
fef5e194b1 JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit
(cherry picked from commit bba297b4a4)
2023-10-31 01:25:31 +01:00
Anton Tarasov
c334703dd6 JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
2023-10-31 01:25:31 +01:00
Anton Tarasov
5fc70472a9 JBR-2146 improve InvokeOnToolkitHelper to cover more generic case 2023-10-31 01:25:31 +01:00
Anton Tarasov
8a1e7885b7 JBR-2139 Idea freeze on dynamic plugin unloading
(cherry picked from commit e57bae4f66)
2023-10-31 01:25:31 +01:00
Anton Tarasov
7863ab38d8 JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux
(cherry picked from commit 3dfb0aa16a)
2023-10-31 01:25:31 +01:00
Anton Tarasov
4dac2d907b JBR-2093 create reg test for JCEF startup
(cherry picked from commit e8c2761f5b)
2023-10-31 01:25:31 +01:00
Anton Tarasov
e56d4d53fe JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar"
(cherry picked from commit b31a41fb2f)
2023-10-31 01:25:31 +01:00
Mikhail Grishchenko
f671e66039 JBR-2639, JBR-2412 [jcef] Tests that checks mouse events
JBR-2412 [windows] mouse listener does not work for jcef

(cherry picked from commit 66ad6472ae)
(cherry picked from commit 04246aac57)
(cherry picked from commit b7cde4fd05)
2023-10-31 01:25:31 +01:00
Mikhail Grishchenko
4175b5e0a4 JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test

(cherry picked from commit e8e4741bb0)
2023-10-31 01:25:31 +01:00
Mikhail Grishchenko
bcbb04e102 JBR-2412 [windows] mouse listener does not work for jcef
added regression test

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

(cherry picked from commit 5f691bb788)
2023-10-31 01:25:30 +01:00
Mikhail Grishchenko
aa7a2e9680 JBR-2430 [jcef] Added Regression test
Checks that JS Query is handled in 2nd opened browser

(cherry picked from commit 404ff84565)

Refactoring + changed EDT awaiting method

(cherry picked from commit dc24658b31)
2023-10-31 01:25:30 +01:00
Vitaly Provodin
494a611aae exclude the new printer test 8262731 2023-10-31 01:25:30 +01:00
Alexey Ushakov
1181ff7806 JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Do not pass the result via java object. Use more straight api.

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

(cherry picked from commit 2c8cdb221b)

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

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

(cherry picked from commit 95a47810d5)

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

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

(cherry picked from commit 4c42f75021)
2023-10-31 01:25:30 +01:00
Artem Bochkarev
c02e8c2a7c JBR-2253: unset LD_PRELOAD just after VM loaded
workaround for JBR-2253 Preload libjsig.so to fix JNA crashes

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

(cherry picked from commit 4deb3bbe61)
2023-10-31 01:25:30 +01:00
Denis Konoplev
ac0632ff59 fixup! macOS national keyboard support
Remove unused import that broke compilation
2023-10-31 01:25:30 +01:00
Elena Sayapina
f867a114b2 IDEA-165950 [TESTUPDATE] National keyboard layouts support
Update regression test after the following commits:

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

(cherry picked from commit e875bf72c9)
2023-10-31 01:25:30 +01:00
Denis Konoplev
c9e0efd903 JBR-2490 Add option to work with Surface Pen
(cherry picked from commit 5acc7680a1)
2023-10-31 01:25:30 +01:00
Denis Konoplev
55aac085e2 JBR-2669: set unicode for both keyCode and extendedKeyCode
(cherry picked from commit ba3f14c83a)
2023-10-31 01:25:30 +01:00
Denis Konoplev
e1915c5a8a JBR-2554: Proper unicode values in KeyEvent.keyCode
(cherry picked from commit 703d77a927)
2023-10-31 01:25:29 +01:00
Denis Konoplev
3bfa4a021c JBR-215: Remove SystemInfo
(cherry picked from commit 9adf77a512)
2023-10-31 01:25:29 +01:00
Denis Konoplev
c4f33bf010 JBR-215: Separate LatinNonAlphaNumKeycodes option
(cherry picked from commit caf366f6f3)
2023-10-31 01:25:29 +01:00
Denis Konoplev
c6502dde7d JBR-215: Windows non-alphanumeric shortcuts
(cherry picked from commit 4f60efebe2)
2023-10-31 01:25:29 +01:00
Denis Konoplev
573a5ef3d5 JBR-2280: Fix regression. Mode compatible with old option.
(cherry picked from commit a3e3c23cb1)
2023-10-31 01:25:29 +01:00
Denis Fokin
037dcc618d macOS national keyboard support 2023-10-31 01:25:29 +01:00
Sergey Malenkov
fbd8a51a32 JBR-1929 FractionalMetricsSupport
(cherry picked from commit bbdc159762)
2023-10-31 01:25:29 +01:00
Mikhail Grishchenko
acf8fd9ab7 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
2023-10-31 01:25:29 +01:00
Mikhail Grishchenko
5957e51a4b 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
2023-10-31 01:25:29 +01:00
Mikhail Grishchenko
8fe05400d2 JBR-1414 [Test] downscale frames to run on low-dpi screens
(cherry picked from commit b46e74fe6f)
2023-10-31 01:25:29 +01:00
Elena Sayapina
321aeb6c4f JBR-1905 [TESBUG] java/awt/TextArea/DisposeTest/TestDispose.java: frame is not disposed
- java/awt/TextArea/DisposeTest/TestDispose.java, java/awt/TextField/DisposeTest/TestDispose.java: fixed test frame disposal
- java/awt/Frame/DisposeStressTest/DisposeStressTest.java: decreased test timeout from 2h to 10 min, added minor diagnostic logging

(cherry picked from commit 7f025f4e16)
(cherry picked from commit dda7f3d871)
(cherry picked from commit bc09aadadb)
2023-10-31 01:25:29 +01:00
Alexey Ushakov
158d3bbea0 JBR-2135 Use CoreText api to select the font with the most recent version
Added a property to force loading bundled fonts: -Djava2d.font.noVersionCheck=true

(cherry picked from commit cbb148dff4)
2023-10-31 01:25:29 +01:00
Alexey Ushakov
1ac23ece44 JBR-2137 JetBrainsMono fonts update to v1.0.3
(cherry picked from commit a6e441828a)
2023-10-31 01:25:29 +01:00
Mikhail Grishchenko
203ee3a8ad 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
2023-10-31 01:25:29 +01:00
Elena Sayapina
c897101606 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
2023-10-31 01:25:29 +01:00
Konstantin Bulenkov
f6e08f3061 Update JetBrains Mono to 1.0.2
(cherry picked from commit 6f4a13e46f)
2023-10-31 01:25:28 +01:00
Ivan Migalev
d0807fc08e Extract the DWM colorization parameters from registry (JBR-2070)
(cherry picked from commit 0330cab60b)
2023-10-31 01:25:28 +01:00
Ivan Migalev
e859c5d3eb Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070)
(cherry picked from commit 06086f4a7e)
2023-10-31 01:25:28 +01:00
Ivan Migalev
b4fe010338 Fix a possible resource leak in ColorizationColorAffectsBorders
(cherry picked from commit 0c911b6ffe)
2023-10-31 01:25:28 +01:00
Elena Sayapina
bbc6b7552f JBR-2086 JetBrainsMono fonts update to v1.0.1
(cherry picked from commit a4b373e631)
2023-10-31 01:25:28 +01:00
Konstantin Bulenkov
6b36d26c72 JetBrains Mono 1.0
(cherry picked from commit d514f7a982)
2023-10-31 01:25:28 +01:00
Denis Konoplev
8f46583f46 JBR-3444: Return NullSurfaceData when gc == null
(cherry picked from commit 01ad15e61c)
2023-10-31 01:25:28 +01:00
Denis Konoplev
67da3ffa83 JBR-1995: Last character issue with korean
Fix for JTextComponent

(cherry picked from commit a7c8b0b535)
2023-10-31 01:25:28 +01:00
Denis Konoplev
6ff5780f8e JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate
(cherry picked from commit c811c295c2)
2023-10-31 01:25:28 +01:00
Denis Konoplev
fcab770237 JBR-2444: Turn on IM workaround by default
(cherry picked from commit 15c4ce1d3e)
2023-10-31 01:25:28 +01:00
Denis Konoplev
6b9dc72fad Fix build: add import & fix jwhen 2023-10-31 01:25:28 +01:00
Denis Konoplev
fe8298e424 JBR-2795: Add explicit conversion
(cherry picked from commit bf3e1c0c31)
2023-10-31 01:25:28 +01:00
Denis Konoplev
1f6a2aca2d IDEA-237231: Correct signarute mask
(cherry picked from commit 6974131eec)
2023-10-31 01:25:28 +01:00
Denis Konoplev
cf07e47f20 IDEA-237231: Possible fix for pen interraction
(cherry picked from commit 33a8c95d39)
2023-10-31 01:25:28 +01:00
Denis Konoplev
13d947421c JBR-2041: Project view tap fix, recovery? constants & logging
(cherry picked from commit 1e904db3b0)
2023-10-31 01:25:28 +01:00
Denis Konoplev
7dec9d89ba IDEA-229135: Fling animation stop on tap
(cherry picked from commit 7ce0f79561)
2023-10-31 01:25:27 +01:00
Denis Konoplev
015899004c Windows touch screen support
(cherry picked from commit cab3f28907)
2023-10-31 01:25:27 +01:00
Denis Konoplev
c76995aca2 Turn off multitouch
(cherry picked from commit a2576ffa9a)
2023-10-31 01:25:27 +01:00
Denis Konoplev
7d47f50425 Check XInput extension && touch inertia
(cherry picked from commit cca7fb97f4)
2023-10-31 01:25:27 +01:00
Denis Konoplev
7ef163831a Touch scroll handling
(cherry picked from commit 6dcec3dc31)
2023-10-31 01:25:27 +01:00
Denis Konoplev
f6844921e7 XI2 Constants
(cherry picked from commit 588cd6ee73)
2023-10-31 01:25:27 +01:00
Denis Konoplev
b3f2a5c4b0 XLibWrapper XI2 functions
(cherry picked from commit d6bd1bfa2b)
2023-10-31 01:25:27 +01:00
Denis Konoplev
460ff7da18 X11 native get put double
(cherry picked from commit f101bc1108)
2023-10-31 01:25:27 +01:00
Denis Konoplev
0ce7bd8a45 Native data types
(cherry picked from commit 9504574dbb)
2023-10-31 01:25:27 +01:00
Denis Konoplev
560a11766c XI2 headers in xlib wrapper generator
(cherry picked from commit ef108067a1)
2023-10-31 01:25:27 +01:00
Denis Konoplev
f4629d454b Revert "Turn off multitouch"
This reverts commit 90ea3bf57e4c687e9d9bf0a37f2f64c82a81f4eb.
2023-10-31 01:25:27 +01:00
Denis Konoplev
836b6f1fc9 Turn off multitouch
(cherry picked from commit a2576ffa9a)
2023-10-31 01:25:27 +01:00
Alexey Ushakov
d9d30d35ed JBR-1962 Allow to change font config
Replaced several privileged blocks with just one

(cherry picked from commit faa8d3d258)
2023-10-31 01:25:27 +01:00
Vitaly Provodin
d9dfbfe34a 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
2023-10-31 01:25:27 +01:00
Dennis Ushakov
ecd4f5dc7a JBR-1863, JBR-1868 correct advances on Catalina 2023-10-31 01:25:27 +01:00
Dennis Ushakov
5634ba8bca JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families 2023-10-31 01:25:26 +01:00
Dennis Ushakov
e21e3a6b4b faster font family loading & lazy font family population
1. NSFont.familyName is faster than loading allFamilyNames
2. Prebuilt list of system fonts
3. Cleanup San Francisco family loading
4. Avoid calling expensive native getWidth on font when creating font family, load styles only when they would be used.
2023-10-31 01:25:26 +01:00
Dennis Ushakov
9537243cc8 JBR-1756 use CoreText for all font rendering on Catalina 2023-10-31 01:25:26 +01:00
Nikita Gubarkov
a47d26c35d JBR-410 Added emoji support for Linux 2023-10-31 01:25:26 +01:00
Alexey Ushakov
69d0d2631b JBR-1997 JetBrainsMono fonts update to v0.22
(cherry picked from commit 41f4fddd34)
(cherry picked from commit f5302a02f4)
(cherry picked from commit 5d7fd2e1e5)
2023-10-31 01:25:26 +01:00
Anton Tarasov
dfe67800e1 JRE-729 [windows] unreasonable IME activity consumes CPU 2023-10-31 01:25:26 +01:00
Dmitry Batrak
7fda245915 JBR-3119 Application's panel in KDE taskbar blinks when popup window is shown
this re-fixes JBR-2934 in a different way

(cherry picked from commit 63134e091b)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
5058d9ec80 JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
f9fa1d6bb9 JBR-3035 The Confirm Exit pop-up window remains hidden behind a window of another application
(cherry picked from commit 470c3bd1b5)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
395acb27b4 JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR
(cherry picked from commit 95be4351d4)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
593de13cfb 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
2023-10-31 01:25:26 +01:00
Dmitry Batrak
ff14b5b75b JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux
(cherry picked from commit ebcdeb7d80)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
4e0fa86f35 JBR-2696 Log focus API invocations with stack traces
(cherry picked from commits 0f038754e5, a507cab6d3)
2023-10-31 01:25:26 +01:00
Dmitry Batrak
4f8b5c7d1f 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
2023-10-31 01:25:26 +01:00
Alexey Ushakov
530c35c1d1 JBR-3509 Extend JDK-8267521 (Post JEP 411 refactoring: maximum covering > 50K) to JBR specific changes
Marked all the usages of SecurityManager related api
2023-10-31 01:25:26 +01:00
Artem Bochkarev
26a7936bc5 JBR-1851: check NSArray length
and make more exception-safe
and minor optimization for logging (cache jobjects)

(cherry picked from commit 5839539379)
2023-10-31 01:25:25 +01:00
Artem Bochkarev
b09ff4c52b JBR-1841: allow deferred disabling of InputMethods-support
(cherry picked from commit 969255904b)
2023-10-31 01:25:25 +01:00
Artem Bochkarev
bca27e128b JBR-1668: add hardcoded default values for preferences node NSServicesStatus
(cherry picked from commit 8445f53d85)
2023-10-31 01:25:25 +01:00
Artem Bochkarev
9e60048a48 JBR-1515: obtain shortcut from OS to check inside AWTView.performKeyEquivalent
(cherry picked from commit 30d479fbd4)

JBR-4899 Activate Previous Window doesn't work sometimes

(cherry picked from commit 63cb726f3c)
2023-10-31 01:25:25 +01:00
Artem Bochkarev
5325c31d11 JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management

(cherry picked from commit 15f7368309)
2023-10-31 01:25:25 +01:00
Elena Sayapina
348efd687c 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
2023-10-31 01:25:25 +01:00
Alexey Ushakov
dca0481745 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
2023-10-31 01:25:25 +01:00
Dmitry Batrak
5e289af259 IDEA-257525 Unable to show Chinese when using IDEA mac ARM version
The proposed solution is to use a 'normal' font as a base for 'San Francisco' font fallback.
Most of its fallback components/candidates (provided by the OS) are expected to be normal
fonts as well, and so the resulting coverage of Unicode character repertoire should be much better.

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

port commit 4e0ccde2 from JBR 9

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

cherry picked from commit 0db7e948af
2023-10-31 01:25:25 +01:00
Dmitry Batrak
dd559e944d 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
2023-10-31 01:25:25 +01:00
Artem Bochkarev
4619b1de2e JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug)
(cherry picked from commit 1acada7cac)
2023-10-31 01:25:25 +01:00
Artem Bochkarev
4c6f2f0bd8 JBR-1668: minor fixes
fixed review comments

(cherry picked from commit 9dbcf194c9)
2023-10-31 01:25:25 +01:00
Vitaly Provodin
af1b7cc702 JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commit e4a3889cf0)
2023-10-31 01:25:25 +01:00
Alexey Ushakov
3d264d2ab1 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Corrected lookup for bold fonts

(cherry picked from commit 114b8af38f)
2023-10-31 01:25:25 +01:00
Alexey Ushakov
c88fb1cf46 JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test

(cherry picked from commit b4f5bf8bd3)
2023-10-31 01:25:25 +01:00
Elena Sayapina
26b9beedb5 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
2023-10-31 01:25:24 +01:00
Artem Bochkarev
8efa8405c7 JBR-1668: read system keyboard shortcuts
initial support for OS X

(cherry picked from commit 6bbe7102e2)
2023-10-31 01:25:24 +01:00
Artem Bochkarev
815ee42ce8 JBR-1573: restore current input context after cleanup
(cherry picked from commit b7acd7f6f6)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
bf741e58f6 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Restored old behaviour of registerFontsInDir as it does not affect idea bundled fonts

(cherry picked from commit cef29e8100)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
88961fa0f1 JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
09004121d2 JBR-1778 Font in editor incorrect (always italics)
Added -it pattern into italic detection code
Added some more patterns to bold and italic detection code
'Anka/Coder' font support

(cherry picked from commit 5119eeee12)
(cherry picked from commit ec241e4a0a)
(cherry picked from commit 251068294e)
(cherry picked from commit 08ae9ff034)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
279948ef3c JBR-1699 Use platform font rendering for bundled fonts on MacOS
Use different family for specific font faces. Refactoring

JBR-3071 Remove naming workaround for Fira Code

(cherry picked from commits c423003bd4, aee4b48d20)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
0b9a3c3e0b JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
6ea89625e8 JBR-1885 JetBrainsMono fonts update to v0.19
Updated the fonts to v0.19. Bundled italic fonts

(cherry picked from commit 7f032e3fe7)
(cherry picked from commit a7b4c9449a)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
8554bbcbe1 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)

(cherry picked from commit e838103a24)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
b990955f9f JBR-1699 Use platform font rendering for bundled fonts on MacOS
Used CFont instead of TrueTypeFont for bundled fonts on mac
Use different family for specific font faces. Refactoring

(cherry picked from commit 8c86ad3e96)
(cherry picked from commit c423003bd4)
(cherry picked from commit bcae402dc8)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
b40313410f JBR-1690 Bundle new fonts
Update family name for JetBrainsMono-Thin

(cherry picked from commit 0d2326ff34)
(cherry picked from commit 83843f9124)
(cherry picked from commit 2a2e1cfb36)
(cherry picked from commit 76abb69262)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
88e4bfef56 JBR-1645 javax/swing/JTextArea/TestTabSize.java: Tab width calculation wrong
Corrected idea font filter

(cherry picked from commit 62f9d1f46a)
2023-10-31 01:25:24 +01:00
Artem Bochkarev
27db3f06df JBR-1573: workaround for 'Sudden keyboard death on Ubuntu 18'
recreate instance of system InputMethod when starts filter all events

(cherry picked from commit 3ad94911af)

(cherry picked from commit c8533a1219)
2023-10-31 01:25:24 +01:00
Alexey Ushakov
036873ab10 JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance

(cherry picked from commit 350a3fdef3)
2023-10-31 01:25:23 +01:00
Artem Bochkarev
ce1d2e681b JBR-1541: activate menu in completion handler of modal dialog
(cherry picked from commit e57384c1d6)
2023-10-31 01:25:23 +01:00
Alexey Ushakov
c51312a51e JBR-1314 Font difference in pycharm 2019.1 on Ubuntu
Removed disabling hints on MAX_FCSIZE_LTL_DISABLED font size

(cherry picked from commit 2b99dfed40)
2023-10-31 01:25:23 +01:00
Alexey Ushakov
495402d802 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix

(cherry picked from commit 434166fe63)
2023-10-31 01:25:23 +01:00
Alexey Ushakov
3cce844b4b JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations

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

This feature activates in a remote X11 session only and is
controlled with -Dremote.x11.workaround={true|false|auto}.
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
57bb12cb65 Fix const pointer after JDK-8225032 fix 2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
1e52049b60 Fix compilation on windows platform: awt_ole.h must be included before awt.h 2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
41ff3000cb JBR-1269 Common Item Dialog does not appear on Alt+Tab or click in windows toolbar
JBR-1270 Common Item Dialog does not have an icon

Select a proper window handle
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
c978d879ef JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
aca75e34a3 JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
95470d98e1 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
6a28f73964 JBR-1257 CommonItemDialog modal window has no owner
Fix modality for Common Item Dialog

squash! JBR-1257 CommonItemDialog modal window has no owner

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

revert part of JBR-1271, that's related to 'old' file dialogs
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
42088b7e2d JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path
2023-10-31 01:25:23 +01:00
Vyacheslav Moklev
7ca920596a JRE-1216 Implement Windows native file dialogs with the new Common Item Dialog API
Add implementation of file dialogs with the new Common Items Dialog API
2023-10-31 01:25:22 +01:00
Alexey Ushakov
0ea71be148 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled both Delete and ForwardDelete keys

(cherry picked from commit e3ba0bd651)
2023-10-31 01:25:22 +01:00
Alexey Ushakov
74ce500b11 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled backspace separately

(cherry picked from commit 81916a92af)
2023-10-31 01:25:22 +01:00
Elena Sayapina
5f6ac6bdd3 JBR-1102: [TESTBUG] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called
(cherry picked from commit dc7abebe17)
(cherry picked from commit c8d631a142)
2023-10-31 01:25:22 +01:00
Elena Sayapina
f5388173aa 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
2023-10-31 01:25:22 +01:00
Elena Sayapina
137860569d 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
2023-10-31 01:25:22 +01:00
Elena Sayapina
d35fcd358d 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
2023-10-31 01:25:22 +01:00
Vitaly Provodin
3fbd243859 JRE-1117 J2DBench: introduced result reader for TC's charts (follow up)
separated printing values fo TC charts and values for comparisons

(cherry picked from commit bbdbe17e2a)
2023-10-31 01:25:22 +01:00
Vitaly Provodin
eef8ea723b JRE-1117 J2DBench: introduced result reader for TC's charts
(cherry picked from commit 422fa59643)
2023-10-31 01:25:22 +01:00
Alexey Ushakov
893b507cc6 JRE-60 Editor font is distorted on Kubuntu Linux 16.04 with HiDPI
Override FC_HINT_SLIGHT only for small font sizes

(cherry picked from commit 0e1d23c807)
2023-10-31 01:25:22 +01:00
Alexey Ushakov
9ca161b892 JRE-471 Crash on macOS Sierra after Sleep
Replaced [NSScreen screens] 'objectAtIndex' with 'firstObject' to get nil instead of NSRangeException. Added nil checks

(cherry picked from commit d6b98511262055c01522d9ec8024253af7e91564)
(cherry picked from commit cef970e1ba)
2023-10-31 01:25:22 +01:00
Alexey Ushakov
cfb3de7ef7 JRE-608 J2DBench metrics: up to 20x degradation
Increased rendering queue buffer up to 6.4 MB

(cherry picked from commit 9ef00f00a7fb6e14835393f8d3944157c6800727)
(cherry picked from commit 2a61e9e997a880a60c5acb361849205170501b91)
(cherry picked from commit 68ca9f00ded004c970b94bd047a04b9f09237047)
(cherry picked from commit 2fe5289178)
2023-10-31 01:25:22 +01:00
Alexey Ushakov
530ef18033 JRE-1028 fwport(9): JRE-1008 Do not use LCD shader on macOS 10.14+ in font rendering
Disable LCD text shader on macOS 10.14+ if LCD rendering is not explicitly specified

(cherry picked from commit dffea9d701)
2023-10-31 01:25:22 +01:00
Konstantin Bulenkov
561a842b66 update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
(cherry picked from commit de1e4a9d71)
2023-10-31 01:25:22 +01:00
Vitaly Provodin
e57f13d552 Update README.md 2023-10-31 01:25:22 +01:00
Vitaly Provodin
ca8a1539f8 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)
2023-10-31 01:25:22 +01:00
Vitaly Provodin
0df3b1c904 not for upstream: added disposing frames in order to provide the test with the chance on the second run
(cherry picked from commit 8170635)
(cherry picked from commit 7fc924f065)
2023-10-31 01:25:21 +01:00
Vitaly Provodin
abf8de302b 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
2023-10-31 01:25:21 +01:00
Sergey Malenkov
26bf314b4e JRE-100 Scroll with inertia (Mac os) should only work in the initial component
(cherry picked from commit e79502c708)
2023-10-31 01:25:21 +01:00
Sergey Malenkov
66481533d0 IDEA-161965 ignore dragged event that does not change mouse location Sierra is more sensit
(cherry picked from commit ef490fa465)
2023-10-31 01:25:21 +01:00
Stanislav Dombrovsky
a20c2ed27d Fix rendering of HTML list dots + better vertical align for them.
(cherry picked from commit fa4a404533ba1ef638fe523adc74391aee8a3ebf)

(cherry picked from commit 9f079c66e9)
2023-10-31 01:25:21 +01:00
Dmitry Batrak
6235048e39 JBR-3339 Window requests focus on horizontal scroll (on Linux)
(cherry picked from commit 8d74e8e30b)
2023-10-31 01:25:21 +01:00
Anton Tarasov
91340c4234 JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)

(cherry picked from commit 8a44e1bb37)
2023-10-31 01:25:21 +01:00
Alexey Ushakov
6e43f90fef 8265445: Introduce the new client property for mac: apple.awt.windowAppearance
Implemented apple.awt.windowAppearance client property
2023-10-31 01:25:21 +01:00
Anton Tarasov
dc498080aa JBR-3306 jbr-dev warnings: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong' 2023-10-31 01:25:21 +01:00
Dmitry Batrak
159f825889 JBR-2498 Fix unexpected window raising under Mutter WM
re-implement the fix, so that ChildAlwaysOnTopTest isn't failing
2023-10-31 01:25:21 +01:00
Alexey Ushakov
916ce3dc7e JBR-3327 [jbr-dev] Adjust mac window appearance according to AppleInterfaceStyle property
Set window appearance according to AppleInterfaceStyle default
2023-10-31 01:25:21 +01:00
Alexey Ushakov
5a6f06a671 JRE-238 [736] java.awt.AWTError: access denied ("java.lang.RuntimePermission" "canInvokeInSystemThreadGroup")
Moved task execution on AppKit to the privileged block. Minor refactoring

(cherry picked from commit 5dbb88471115c9e4a536ae37d0e6794de9e5ac9c)
2023-10-31 01:25:21 +01:00
Alexey Ushakov
1ae43a2668 JRE-359 CGraphicsEnvironment.getDefaultScreenDevice() returns null
Moved CG api calls to AppKit thread

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

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

(cherry picked from commit 2a143af4d62340acdfd9c94d876f684385febbc8)
(cherry picked from commit 6fc369e8bf)
2023-10-31 01:25:21 +01:00
Alexey Ushakov
4058b92799 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
2023-10-31 01:25:20 +01:00
Alexey Ushakov
9f705c961d JBR-3316 Reimplement CThreading functionality on top of OpenJDK17 sourcebase
Adopted CThreading related code to OpenJDK17 source base

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

(cherry picked from commit 6742077ed198975949af567e8ef543f853397351)
(cherry picked from commit 2847be73c6)
2023-10-31 01:25:20 +01:00
Alexey Ushakov
dbacd723e1 JRE-353 Fedora 25 + XMonad rendering issues
Added support for Xmonad WM

(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
(cherry picked from commit 6851dc3441)
2023-10-31 01:25:20 +01:00
Denis Konoplev
594ae117ee 8264143: Change uint8_t to unsigned char 2023-10-31 01:25:20 +01:00
Dmitry Batrak
2d980e71e0 JBR-3255 Applying 'incline' transform might change character's advance
(cherry picked from commit b37f7cfdb1)
2023-10-31 01:25:20 +01:00
Dmitry Batrak
2436c7ddbc JBR-3215 'deriveFont(float)' can return a different font (not just change the size)
(cherry picked from commit 8eafcaab24)
2023-10-31 01:25:20 +01:00
Dmitry Batrak
7a7e12e9be 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
2023-10-31 01:25:20 +01:00
Dmitry Batrak
e5c7550931 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
2023-10-31 01:25:20 +01:00
Dmitry Batrak
6a4dd8dfac 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
2023-10-31 01:25:20 +01:00
Dmitry Batrak
530937270b 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
2023-10-31 01:25:20 +01:00
Dmitry Batrak
e8f9b58813 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
2023-10-31 01:25:20 +01:00
Dmitry Batrak
4ebd3f472b JBR-2847 Always dispatch KEY_TYPED event to the same component as KEY_PRESSED event
also fixes JBR-2834, IDEA-254466, IDEA-254466
squashed with fixes for JBR-3291, JBR-3307, JBR-3598

(cherry picked from commits e94f6057a4, ba6b9c085e, 2ccf6b65a7, 3b0708af7d, 3674766d65)
2023-10-31 01:25:19 +01:00
Dmitry Batrak
90590e489a 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
2023-10-31 01:25:19 +01:00
Denis Konoplev
54167983ba 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Add stdint include to fix x64 build
2023-10-31 01:25:19 +01:00
Dmitry Batrak
257de5b1e9 JBR-2498 Fix unexpected window raising under Mutter WM
(cherry picked from commit 73b45fb899)
2023-10-31 01:25:19 +01:00
Dmitry Batrak
5d5de4c802 JBR-2248 Support text wrapping in a <pre> tag in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commit ff2e915371)

cherry picked from commit 6a30c56138
2023-10-31 01:25:19 +01:00
Dmitry Batrak
5baf39b710 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
port from JBR 11 to JBR 15 (cherry picked from commits b6583d0a71, 6003abc15f)

cherry picked from commit 93ad4f06dd

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

cherry picked from commit d3018a1837
2023-10-31 01:25:19 +01:00
Dmitry Batrak
4b8367c2f7 JBR-1714 Italic text is displayed using incorrect glyphs on Windows
port from JBR 11 to JBR 15 (cherry picked from commits 46e4cdfcbd, 9cc5cbc99b)

cherry picked from commit 6769b27e53
2023-10-31 01:25:19 +01:00
Dmitry Batrak
fb2d49d3c2 JBR-1689 Incorrect painting of long strings on linux
port from JBR 11 to JBR 15 (cherry picked from commits e12c1d6f0d, 0429e74e9d)

cherry picked from commit e43cfd198f
2023-10-31 01:25:19 +01:00
Dmitry Batrak
846e31d739 JBR-1248 Exception caused by broken font
port from JBR 11 to JBR 15 (cherry picked from commit 4efa7eab3e)

cherry picked from commit 6e1c514c6c
2023-10-31 01:25:19 +01:00
Dmitry Batrak
9137db0a2c JBR-1245 [JDK 11] There are different letter spacings in some controls
port from JBR 11 to JBR 15 (cherry picked from commit a26b70568a)

cherry picked from commit e2637199e9
2023-10-31 01:25:19 +01:00
Dmitry Batrak
0065051b9d JRE-927 Unexpected wrapping of bidirectional text in JEditorPane on HiDPI screens
port commit 11a5a4a2 from JBR 9

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

cherry picked from commit 47ff31ae82
2023-10-31 01:25:19 +01:00
Dmitry Batrak
a54a5109c8 JRE-774 Don't paste BOM from clipboard on Mac
port commit ea9b75b3 from JBR 9

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

cherry picked from commit a5e25d1ef9
2023-10-31 01:25:19 +01:00
Dmitry Batrak
7ec8d0102b JRE-847 Box drawing characters have different widths with Monospaced font on Windows
port commit 778cef18 from JBR 9

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

cherry picked from commit eea293f4a4
2023-10-31 01:25:19 +01:00
Dmitry Batrak
51d201797e JRE-748 Strange dots with fractional metrics turned on
port commit 82e7c82d from JBR 9

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

cherry picked from commit e0475e9ba2
2023-10-31 01:25:19 +01:00
Dmitry Batrak
075c600694 JRE-593 Wrong italic font rendering for Source Code Pro
port commit 1f6bd200 from JBR 9

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

cherry picked from commit 087ff34c2e
2023-10-31 01:25:18 +01:00
Dmitry Batrak
7eb7b37ec5 JRE-430 Font fallback sometimes doesn't work in Swing text components
port commit fc8003ad from JBR 9

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

cherry picked from commits b871188f44, 0a9f16dc90, 9cc82c39d9
2023-10-31 01:25:18 +01:00
Alexey Ushakov
fe1adba93c JRE-303 2017.1.1 update breaks linux fonts
Corrected rendering hints for Non-AA text rendering

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

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

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

(cherry picked from commit c75c1ef8b2)

(cherry picked from commit a29f19e6a2)
2023-10-31 01:25:18 +01:00
Dmitry Batrak
35827ae3da an option to disable native rendering for rotated text (following JRE-19)
port commit ccc1ded6 from JBR 9

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

cherry picked from commit a5bd092449
2023-10-31 01:25:18 +01:00
Dmitry Batrak
fea6440c4f JRE-11 Support text rendering via DirectWrite API on Windows
port commits 7b180f8d, cccbcab4 from JBR 9

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

cherry picked from commit b16ee45915
2023-10-31 01:25:18 +01:00
Dmitry Batrak
10c2af400b IDEA-150876 OpenJDK fonts for toolwindow names look worse than Oracles's
don't apply FreeType-returned glyph advance for rotated glyphs rendered by GDI

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

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

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

cherry picked from commit 2c0d6150d0
2023-10-31 01:25:18 +01:00
Vitaly Provodin
7b55ed2890 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
a7f455223e 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
2023-10-31 01:25:18 +01:00
Alexey Ushakov
8f468ee99d 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
375f381228 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
2c3fcb1b20 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
041f04b65a 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
1a3997b315 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
b0b823203c 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
2023-10-31 01:25:18 +01:00
Vitaly Provodin
c87f5d8b12 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
9788cb770e JRE-458 added new regression test (Insufficient and inconsistent permissions on some files in Linux build)
(cherry picked from commit 82adbe9c25)
2023-10-31 01:25:17 +01:00
Vitaly Provodin
35210a245e 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
aa62474674 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
857918c433 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
ee5ea3ecab 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
9da18b6385 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
2023-10-31 01:25:17 +01:00
Vitaly Provodin
fbc3cb8c77 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
2023-10-31 01:25:17 +01:00
Alexey Ushakov
f767f1b26f IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call

(cherry picked from commit cec93cf1fd)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
341b515b98 Added missing fontconfig defines
(cherry picked from commit 2ac273a456)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
8fcea80614 JRE-43 Font.getFamily() does not work in headless mode
Removed unused code

(cherry picked from commit 5b523f049e)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
a375705a93 JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode

(cherry picked from commit 5b523f049e)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
4594d184d7 JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype

(cherry picked from commit f80497c4f0)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
9d748bac26 IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value

(cherry picked from commit 44fcbdabf8)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
8919278afa IDEA-149882 Issue with fonts in Ubuntu 12.04
Provided fallback to default font rendering settings if libfontconfig unable to
match font pattern

(cherry picked from commit d93a5f1598)
2023-10-31 01:25:17 +01:00
Alexey Ushakov
4aac565886 IDEA-151619 CLion EAP fails to start with missing symbol: FT_Library_setLcdFilter
Skip FT_Library_setLcdFilter call if the symbol is not there
Cache negative FT_Library_setLcdFilter symbol lookup result
Used RTLD_DEFAULT handler for process symbols lookup

(cherry picked from commit e6f0055704)
2023-10-31 01:25:16 +01:00
Alexey Ushakov
383ee8bf1f JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX

(cherry picked from commit 431e14429c)
2023-10-31 01:25:16 +01:00
Vitaly Provodin
6736a0a243 exclude tests spontaneously creating windows during test execution 2023-10-31 01:25:16 +01:00
Alexey Ushakov
ee565e5f04 JRE-48 built-in jre renders fonts abnormally heavier (normal text looks bold) than the oracle jre
Disable FT_LOAD_TARGET_LIGHT for fonts with FC_AUTOHINT=false (this target implicitly enables  FC_AUTOHINT)
Reused setupLoadRenderFlags for all rendering cases

(cherry picked from commit f3f2667a4c)
2023-10-31 01:25:16 +01:00
Alexey Ushakov
8e0279f68c Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler

(cherry picked from commit 091d74a791)
2023-10-31 01:25:16 +01:00
Alexey Ushakov
45bfc6949d JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver

(cherry picked from commit b1c49c3b27)
2023-10-31 01:25:16 +01:00
Anton Tarasov
f5fd24d4d3 JBR-2031 [mac] jcef deadlocks with a11y on start
(cherry picked from commit 4f44b37f08)
2023-10-31 01:25:16 +01:00
Alexey Ushakov
518432c07c JRE-1083 [JDK11] Test com/sun/java/accessibility/util/8051626/Bug8051626.java fails on macOS on JB JDK11b
Wrapped SelectorPerformer invocation into privileged action

(cherry picked from commit 48e7b547ae)
2023-10-31 01:25:16 +01:00
Anton Tarasov
207a3f1afa JBR-2019 provide getWindowHandle method for jcef
(cherry picked from commit 7ae706b629)
2023-10-31 01:25:16 +01:00
Anton Tarasov
97151b537b Comment assertion (originally JRE-965)
The assert line crashes debug hotspot.

(cherry picked from commit a00074a86c)
2023-10-31 01:25:16 +01:00
Anton Tarasov
b4cd544d6e JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
2023-10-31 01:25:16 +01:00
Anton Tarasov
7c3bbdd3a4 JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API
(cherry picked from commit 4399dc382c)
2023-10-31 01:25:16 +01:00
Anton Tarasov
79fca6e8d8 JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader")
(cherry picked from commit eae772aca9)
2023-10-31 01:25:16 +01:00
Anton Tarasov
7e28139e6a JBR-1795 Project opened from Welcome screen goes to backgound after loading
(cherry picked from commit 322526458a)
2023-10-31 01:25:16 +01:00
Anton Tarasov
7e3a2b066b JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX
(cherry picked from commit 8ae0be8eb6)
2023-10-31 01:25:16 +01:00
Anton Tarasov
42e3f272a9 JBR-1786 Weird white border for IDE window
(cherry picked from commit 4b09614a0e)
2023-10-31 01:25:15 +01:00
Vyacheslav Moklev
a902c8b886 JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state

(cherry picked from commit 5547701e2c)
2023-10-31 01:25:15 +01:00
Vyacheslav Moklev
d40841027b JBR-1509 Client area size is wrong in Borderless mode
Fix client area size

(cherry picked from commit 00d32e58dc)
2023-10-31 01:25:15 +01:00
Anton Tarasov
3aeafbc834 JBR-1770 [windows] frame does not open as maximized
(cherry picked from commit d9dfc3c6c5)
2023-10-31 01:25:15 +01:00
Anton Tarasov
e3092fa2f0 JBR-1693 difficult to input Japanese text with "Fast" Key Repeat
(cherry picked from commit 12de3e287e)
2023-10-31 01:25:15 +01:00
Anton Tarasov
158e689185 JBR-1669 IDE-managed HiDPI mode is broken
(cherry picked from commit 461b0b5cd4)
2023-10-31 01:25:15 +01:00
Anton Tarasov
f6f8ec4182 JBR-1650 propagate custom decoration title bar height to native
(cherry picked from commit f6fc65d014)
2023-10-31 01:25:15 +01:00
Anton Tarasov
00bf9577b1 JBR-1629 Maximized window cut at the right and bottom
(cherry picked from commit 9e768377db)
2023-10-31 01:25:15 +01:00
Anton Tarasov
246f6de83d JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions
(cherry picked from commit e7ca6db66b)
2023-10-31 01:25:15 +01:00
Anton Tarasov
ef3c8066ee JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit 1746b04686)
2023-10-31 01:25:15 +01:00
Anton Tarasov
818f5fdefc IDEA-210154 Borderless UI: Top frame of IDEA window is blue
(cherry picked from commit 2dd4163bc4)
2023-10-31 01:25:15 +01:00
Anton Tarasov
a4f4061d53 JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display
(cherry picked from commit 06d35de069)
2023-10-31 01:25:15 +01:00
Anton Tarasov
10337196ac JBR-1313 wrong insets for non-resizable custom-decorated frame
(cherry picked from commit 9179718cb6)
2023-10-31 01:25:15 +01:00
Anton Tarasov
e664b88c1d JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated
(cherry picked from commit cb188edaab)
2023-10-31 01:25:15 +01:00
Anton Tarasov
67af627a2f JBR-1278 allow native border and shadow for custom decoration mode
(cherry picked from commit a879ad5739)
2023-10-31 01:25:15 +01:00
Anton Tarasov
d9314dec53 JRE-1232 forwardport: JRE-1228 support custom frame decoration
(cherry picked from commit d2820524a1)
2023-10-31 01:25:14 +01:00
Anton Tarasov
2876bc5fef JRE-1162 [jdk11] support on-the-fly DPI change on linux
(cherry picked from commit c06c4c69d3)
2023-10-31 01:25:14 +01:00
Anton Tarasov
1fc8e82d86 JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04
(cherry picked from commit be4f8c0d9d)
2023-10-31 01:25:14 +01:00
Anton Tarasov
6eaa5757aa JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d
(cherry picked from commit b89e6aed0b)
2023-10-31 01:25:14 +01:00
Anton Tarasov
9d89e2b181 fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)

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

(cherry picked from commit f3ccc53e02)
2023-10-31 01:25:14 +01:00
Anton Tarasov
fe8f987100 JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
(cherry picked from commit ccfe65be7f)
2023-10-31 01:25:14 +01:00
Anton Tarasov
a9a308f436 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit e496262aa1)
2023-10-31 01:25:14 +01:00
Anton Tarasov
4641ebab1b JRE-934 Diff viewer errors are not visible on HiDPI Linux
(cherry picked from commit 641a09dd52)
2023-10-31 01:25:14 +01:00
Anton Tarasov
3ab87dab2b [jdk9] HiDPI scale is not detected on some linux desktops
(cherry picked from commit 9279d80110)
2023-10-31 01:25:14 +01:00
Anton Tarasov
4342ce113b JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit 6ea1d45fd1)
2023-10-31 01:25:14 +01:00
Anton Tarasov
8a22e36001 Read org.gnome.desktop.interface/scaling-factor
(cherry picked from commit 277357ae73)
2023-10-31 01:25:14 +01:00
Anton Tarasov
459eef1cc0 Revert "8239894: Xserver crashes when the wrong high refresh rate is used"
This code is needed for "Read org.gnome.desktop.interface/scaling-factor".
Keep it until "JDK-8260270 Implement the HiDPI scale factor reading" is fixed.

This reverts commit a7c2ebc7
2023-10-31 01:25:14 +01:00
Anton Tarasov
7422bbb3f5 Do not scale base font in HiDPI mode on Linux
(cherry picked from commit 6fb2c36529)
2023-10-31 01:25:14 +01:00
Anton Tarasov
5914738a44 JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
(cherry picked from commit 2bf5a7ca5c)
2023-10-31 01:25:14 +01:00
Anton Tarasov
188e318305 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit ab6dee4c1fc453ad3cb5adb69fc243e550d184ae)

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

(cherry picked from commit 38466cbab0)
2023-10-31 01:25:13 +01:00
Anton Tarasov
f20556a984 JRE-604 [fps] frame's client area is one pixel beneath frame's borders
Adopted.

(cherry picked from commit ef2870ee38)
2023-10-31 01:25:13 +01:00
Anton Tarasov
e2721b81fa JRE-596 [windows] popup positioning is broken with JRE-573
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit c5cc28d85d)
2023-10-31 01:25:13 +01:00
Anton Tarasov
6eea73658f 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
2023-10-31 01:25:13 +01:00
Anton Tarasov
1b242e868d JRE-573 [windows] window client area bounds mismatch
Apply only WmEraseBkgnd

(cherry picked from commit afa68f7ad6440303c6417be3f675b1c4644b6014)

(cherry picked from commit 0651b45e13)
2023-10-31 01:25:13 +01:00
Anton Tarasov
f96c2b84e9 JRE-382 Three AWT-tests become hanging starting since master-875
(cherry picked from commit 7d492101db8fcbb3d285fd8e9669f74b0e0fce8f)
(cherry picked from commit b965f85c1b)
2023-10-31 01:25:13 +01:00
Anton Tarasov
e63c3db532 JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)

(cherry picked from commit aa09fa2c85)
2023-10-31 01:25:13 +01:00
Anton Tarasov
2d7d0fb97b IDEA-172422 Popup at the wrong place on the second monitor (new hidpi)
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 11a0911d65)
2023-10-31 01:25:13 +01:00
Anton Tarasov
fc7c3bcab6 JRE-309 [windows] on-screen position of a component is not pixel-perfect in user space in JRE-HiDPI mode
Adopted: moved to AwtWindow::Reshape

(cherry picked from commit 985908cf10)
2023-10-31 01:25:13 +01:00
Anton Tarasov
3141f7f7e1 JRE-269 JLabel doesn't scale <code>text</code> HTML fragments.
(cherry picked from commit 9ef72b6c3a477e4225f9b98e30fa9190613520e4)
(cherry picked from commit c17bc728ee)
2023-10-31 01:25:13 +01:00
Anton Tarasov
c5112549e4 JRE-225 [macos] IDEA hangs on attempt to call getDefaultScreenDevice() from EDT
(cherry picked from commit 76aba25)

(cherry picked from commit df11dcc97bb5556ac5d0299b773a512b4f0bb5bb)
(cherry picked from commit aeea6c1ca3)
2023-10-31 01:25:13 +01:00
Anton Tarasov
ad9e7c9cbe 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
2023-10-31 01:25:12 +01:00
Anton Tarasov
06ca81522f JRE-119 [suppress updateGC() for WFileDialogPeer/WPrintDialogPeer]
updateGC() is called from WWindowPeer.<init> though it's not applicable to the named dialogs
as they don't have native AwtWindow peer required for the method.

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

(cherry picked from commit 5e7a766090810d839f4352d06fc2812499d766f8)
(cherry picked from commit 7d1d43bfa1)
2023-10-31 01:25:12 +01:00
Anton Tarasov
96fcd3f95f JRE-119 [Dynamically set DPI-awareness level to enable backward compatible HiDPI behavior]
Adopted: rely on java.manifest

(cherry picked from commit d00cfa4dc62a14a4cf89df9d4c4899970c9fc9e8)

Adopted

(cherry picked from commit 60be76b725)
2023-10-31 01:25:12 +01:00
Anton Tarasov
d1cc723a49 JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
(cherry picked from commit 20edebdefa)
2023-10-31 01:25:12 +01:00
Anton Tarasov
860b0ebf60 IDEA-153474 let JDK detect Xft.dpi value on non-GTK Linux DEs
Use the GTK method:

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

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

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

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

(cherry picked from commit 5d704a963b)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 0456745afb)
(cherry picked from commit 3d7ac30072)
(cherry picked from commit 4c8351fecf)
(cherry picked from commit 5faebc73d5)
(cherry picked from commit d1ed8ab118)
2023-10-31 01:25:12 +01:00
Vitaly Provodin
845154c351 JBR-3398 remove the Experimental AOT and JIT Compiler (JEP 410) 2023-10-31 01:25:12 +01:00
Alexey Ushakov
3a59ea43e3 JBR-2807: JDK15: update modules.list to resolve jbr build failure
removed nashorn modules
2023-10-31 01:25:12 +01:00
Vitaly Provodin
2552b8b017 JBR-2130 remove module jdk.pack 2023-10-31 01:25:12 +01:00
Vitaly Provodin
347f003086 JBR-4810 add VERSION_PATCH into version number string 2023-10-31 01:25:12 +01:00
Vitaly Provodin
65ce16eb15 JBR-4754 make root directory with the same name as archive name 2023-10-31 01:25:12 +01:00
Nikita Provotorov
60e50c8dee JBR-2074 Windows 10 AArch64 support: make the build scripts use custom build-jdk. 2023-10-31 01:25:12 +01:00
Nikita Provotorov
0b2ffb1010 JBR-2074 Windows 10 AArch64 support: build fixes. 2023-10-31 01:25:12 +01:00
Vitaly Provodin
8669a4b7a1 JBR-4567 replace comma with point in RenderPerf scores 2023-10-31 01:25:11 +01:00
Vitaly Provodin
ee4e414925 JBR-4520 set file permissions after signing 2023-10-31 01:25:11 +01:00
Vitaly Provodin
0eba7900a8 JBR-4512 windows: include pdb-files into jbrsdk 2023-10-31 01:25:11 +01:00
Vitaly Provodin
2ed7a02d09 JBR-4087 add version info into the name of root directory in JBR tar.gz-distributions 2023-10-31 01:25:11 +01:00
Vitaly Provodin
3cad875538 JBR-4511 remove --disable options from configure mac-aarch64 builds & unify configure for x64 and aarch64 2023-10-31 01:25:11 +01:00
Maxim Kartashev
be7b3987c7 JBR-4064 Windows: update build scripts to produce more deterministic output
Passed the configure script options necessary to enable reproducible builds
on Windows. With this options, the resulting jars are reproducible, but
native executables and libraries aren't.
2023-10-31 01:25:11 +01:00
Vladislav Rassokhin
11eddbbd5e JBR-4451 Make bash scripts safer 2023-10-31 01:25:11 +01:00
Vitaly Provodin
29fab5ffe7 JBR-4487 enable Linux 32 builds 2023-10-31 01:25:11 +01:00
Vitaly Provodin
3382014563 JBR-4458 enable JBR17 windows 32 bit builds 2023-10-31 01:25:11 +01:00
Vitaly Provodin
a43fea0dd1 JBR-4272 generate and save debug symbols for JBR on macos/linux 2023-10-31 01:25:11 +01:00
Vitaly Provodin
fe38133278 JBR-4053 integrate DCEVM patches as usual commits 2023-10-31 01:25:11 +01:00
Vitaly Provodin
a72890f304 JBR-4370 create a test checking all JBR artifacts exist - add exit code 2023-10-31 01:25:11 +01:00
Nikita Provotorov
a994d1e3de JBR-2074 Windows 10 AArch64 support: add build and pack scripts. 2023-10-31 01:25:11 +01:00
Vladimir Kempik
8c4488b8f5 JBR-4452: Update crash report message with JBR youtrack link
instead of bugreport.java.com
2023-10-31 01:25:11 +01:00
Vitaly Provodin
3112e9711c JBR-4437 add sources to JBRSDK distributions for Windows and Linux 2023-10-31 01:25:11 +01:00
Vitaly Provodin
d2ced7d806 JBR-4437 add sources to JBRSDK distributions 2023-10-31 01:25:10 +01:00
Anton Tarasov
23cefee97d JBR-3906 JBR for Linux aarch64 with JCEF is missing, is there any support plan? 2023-10-31 01:25:10 +01:00
Vitaly Provodin
83e3b89123 JBR-4188 add script comparing performance results
add exec permissions && fix misprint in checking if headers exist

move the script comparing performance results from jdk8u_test
2023-10-31 01:25:10 +01:00
Vladimir Kempik
c761a2efae JBR-4283: Provide native JBR builds for alpine Linux-aarch64 2023-10-31 01:25:10 +01:00
Vladimir Kempik
37ca8bad39 JBR-4242:Provide native JBR builds for alpine Linux 2023-10-31 01:25:10 +01:00
Maxim Kartashev
0fea870666 JBR-3917 Problem using windows certificate store (trustStoreType=Windows-ROOT not recognized) 2023-10-31 01:25:10 +01:00
Maxim Kartashev
258c398e62 JBR-4145 Make builds independent from build directory
Supplied the --disable-absolute-path-in-output option to the configure script
when building JBR.
2023-10-31 01:25:10 +01:00
Vitaly Provodin
0185cf592e JBR-4154 extract version info from sources & JBR-4099 make test-image on jbrsdk_jcef step 2023-10-31 01:25:10 +01:00
Vitaly Provodin
fe1a6dee59 JBR-4067 fix misprint with applying obsolete exclude_jcef_module.patch 2023-10-31 01:25:10 +01:00
Vitaly Provodin
4a9a78e246 JBR-3756 remove JNF from mac-aarch64 binaries 2023-10-31 01:25:10 +01:00
Vitaly Provodin
fdbdf1fa02 JBR-4082 create JBR & JBRSDK installer packages 2023-10-31 01:25:10 +01:00
Maxim Kartashev
1d5384d92d JBR-4061 Specify build user for the build 2023-10-31 01:25:10 +01:00
Maxim Kartashev
7b56de374b JBR-4063 macOS: update build scripts to produce more deterministic output
Make mkimages.sh produce more deterministic .tar.gz archives on MacOS.
NB: build notarization is not in the scope of this change.

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

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

(cherry picked from commit ffded82734)
2023-10-31 01:25:10 +01:00
Maxim Kartashev
5b904a54ac JBR-4059 Create Dockerfile for building on AArch64 Linux 2023-10-31 01:25:10 +01:00
Vitaly Provodin
4bd1a52119 JBR-3905 add incremental JBR building 2023-10-31 01:25:09 +01:00
Vitaly Provodin
1d4ef0c4a7 JBR-3904 fix the image directory name of macos builds 2023-10-31 01:25:09 +01:00
Vitaly Provodin
d3472d9c88 configure BOOT_JDK to use JDK 17 2023-10-31 01:25:09 +01:00
Anton Tarasov
df5b2c442b JBR-3655 jbr-dev build fails to find jcef modules on Windows 2023-10-31 01:25:09 +01:00
Maxim Kartashev
da6ec3f2af JBR-3645 Tool to support keeping JBR in sync with OpenJDK 2023-10-31 01:25:09 +01:00
Vitaly Provodin
f059eb1fcf JBR-3639 add jbrsdk tarballs for dcevm, jcef builds 2023-10-31 01:25:09 +01:00
Anton Tarasov
dbd46ba098 JBR-3627 include jmods in jbrsdk bundle for jbr-dev 2023-10-31 01:25:09 +01:00
Vitaly.Provodin
b7914bca77 add dockerfile for x86
(cherry picked from commit 8fb2341ea8)
2023-10-31 01:25:09 +01:00
Vitaly Provodin
76e8e6091b JBR-1505 add jdk.jcmd module into JBR
(cherry picked from commit c40b9c8b9e)
2023-10-31 01:25:09 +01:00
Vitaly Provodin
d09d73364b JBR-2957 notarize JBR and JBRSDK as APPL
(cherry picked from commit 0e7f9ce4ca)
2023-10-31 01:25:09 +01:00
Vitaly Provodin
28fa96a0eb JBR-667 add shenandoahgc feature
(cherry picked from commit e15dad04)
2023-10-31 01:25:09 +01:00
Vitaly Provodin
cb0c7ff286 configure BOOT_JDK to use JDK 16 2023-10-31 01:25:09 +01:00
Anton Tarasov
2a455916e5 Add build.gradle 2023-10-31 01:25:09 +01:00
Vitaly Provodin
0d56f11f34 JBR-3401 enable macos-aarhc64 builds 2023-10-31 01:25:09 +01:00
Vitaly Provodin
e8bc978d81 JBR-3305 remove the option --disable-warnings-as-errors from configure 2023-10-31 01:25:09 +01:00
Vitaly Provodin
98e3ab0df1 JBR-2922 add JCEF to jbrsdk binaries
& fix a misprint in get_mods_list

JBR-2922 add JCEF to jbrsdk binaries

& fix a misprint in get_mods_list
2023-10-31 01:25:08 +01:00
Vitaly Provodin
a0c7de1c0a JBR-2912 add JBR 15 builds with DCEVM 2023-10-31 01:25:08 +01:00
Vitaly Provodin
bea486114c JBR-2864 initial commit of DCEVM patches reworked for 15 2023-10-31 01:25:08 +01:00
Vitaly Provodin
0f97a72e11 JBR-2812 remove --with-import-modules from configure for aarch64 2023-10-31 01:25:08 +01:00
Anton Tarasov
b79ee5c4de JBR-2812 bundle jcef in jmod format instead of modular-sdk
Build test-image with non-jcef build target
2023-10-31 01:25:08 +01:00
Vitaly Provodin
0da3f7cf26 JBR-2787 fix copying jcef files into jbr/jbrsdk binaries 2023-10-31 01:25:08 +01:00
Vitaly Provodin
4fd87cb2fb JBR-2758 refactor building scripts to apply patches adding required modules instead of excluding
Add jogl and gluegen modules to support jcef osr mode
2023-10-31 01:25:08 +01:00
Anton Tarasov
20d2f69c58 JBR-2016 add jcef module and export packages to it
(cherry picked from commit cf997f71c6)
2023-10-31 01:25:08 +01:00
Vitaly Provodin
cfe324a8d5 JBR-2473 modify building scripts to add dcevm clauses, add git config to docker image
(cherry picked from commit 2620c62848)
2023-10-31 01:25:08 +01:00
Vitaly Provodin
414e3c1bdc JBR-2395 eliminate JavaFX from JBR 2023-10-31 01:25:08 +01:00
Vitaly Provodin
44623c78a7 JBR-2409 fix prameters for configure 2023-10-31 01:25:08 +01:00
Vitaly Provodin
cd1b2af40a JDK14: exclude dependencies on jcef in x86, fastdebug builds 2023-10-31 01:25:08 +01:00
Vitaly Provodin
3555dac54b JBR-2396 fix CONF names 2023-10-31 01:25:08 +01:00
Vitaly Provodin
573402687f JBR-2394 replace --disable-debug-symbols with --with-native-debug-symbols=none 2023-10-31 01:25:08 +01:00
Vitaly Provodin
1ac72f039d add exec permitions to configure 2023-10-31 01:25:08 +01:00
Vitaly Provodin
12f5293d59 split checkout before building JBR+JFX or JBR+JCEF on two separate commands 2023-10-31 01:25:08 +01:00
Vitaly Provodin
96d311c872 change BOOT_JDK, fix target names 2023-10-31 01:25:07 +01:00
Vitaly Provodin
cd0a7324fa JBR-2291 add vendor info into bundles 2023-10-31 01:25:07 +01:00
Vitaly Provodin
d8e5da1579 JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122 2023-10-31 01:25:07 +01:00
Vitaly Provodin
f986f4423c JBR-2320 add jdk.attach module into JBR 2023-10-31 01:25:07 +01:00
Vitaly Provodin
50a487139a JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches 2023-10-31 01:25:07 +01:00
Vitaly Provodin
10906281f9 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86 2023-10-31 01:25:07 +01:00
Vitaly Provodin
e2a46c67a2 JBR-1643 fix intermittent fialures of Windows builds at make/Init.gmk:304
combine images and test-image into one make invocation
2023-10-31 01:25:07 +01:00
Vitaly Provodin
3462fb6ce9 JBR-2181 create two separate JBR bundles with JFX and JFX+JCEF 2023-10-31 01:25:07 +01:00
Vitaly Provodin
ba4d84f9a6 JBR-2148 modify signapp&build scripts to match to the new layout 2023-10-31 01:25:07 +01:00
Vitaly Provodin
1a9ae971fa JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file 2023-10-31 01:25:07 +01:00
Vitaly Provodin
69c747501f JBR-1821 notarize JBR bundles as a standalone app 2023-10-31 01:25:07 +01:00
Vitaly Provodin
7ae3d9f095 JBR-2162 move building scripts from TC to JBR repo 2023-10-31 01:25:07 +01:00
Anton Tarasov
5f4bc6afde JBR-2016 add jcef module and export some sun.* packages to it 2023-10-31 01:25:07 +01:00
Vitaly Provodin
c0cf789675 JBR-2014 add jdk.hotspot.agent module to jbr 2023-10-31 01:25:07 +01:00
Vitaly Provodin
d000e5cf8c JBR-1286 add jdk.compiler into JBR 2023-10-31 01:25:07 +01:00
Vitaly Provodin
2acb9ff396 JBR-1199 add JBR modules list for jlink 2023-10-31 01:25:06 +01:00
Vitaly Provodin
7dfc5b6578 Update docker script to create jdk15 build env 2023-10-31 01:25:06 +01:00
Vitaly Provodin
2a37d5e524 JBR-3045 add pressing ESC to close the dialog after test completion
(cherry picked from commit 44d8b28b0b)
2023-10-31 01:25:06 +01:00
Vitaly Provodin
da79b1a9b0 JBR-3040 press the button END at the beggining in order to avoid text selection
(cherry picked from commit 1c2bf33db2)
2023-10-31 01:25:06 +01:00
Vitaly.Provodin
16f5f542f6 updated JTreg exclude list 2023-10-31 01:25:06 +01:00
Kimura Yukihiro
d051f22284 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Reviewed-by: sspitsyn, kevinw
2023-10-30 23:26:16 +00:00
Alexander Matveev
1ca2cfafdd 8310933: Copying from runtime image to application image should not follow symlinks
Reviewed-by: asemenyuk
2023-10-30 21:09:17 +00:00
Brian Burkhalter
d3534b08b5 8318677: (ch) Add implNote about minBufferCap to main variant of Channels.newWriter
Reviewed-by: alanb, rriggs
2023-10-30 18:28:01 +00:00
Brian Burkhalter
864a876ebf 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Reviewed-by: rgiulietti
2023-10-30 18:27:50 +00:00
Erik Österlund
4679e9aa00 8310239: Add missing cross modifying fence in nmethod entry barriers
Reviewed-by: aboldtch, dlong, aph
2023-10-30 13:59:08 +00:00
Matthias Baesken
b9983c7229 8318961: increase javacserver connection timeout values and max retry attempts
Reviewed-by: clanger, erikj
2023-10-30 12:56:15 +00:00
Roberto Castañeda Lozano
a5818972c1 8317507: C2 compilation fails with "Exceeded _node_regs array"
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: thartmann, shade, dlong
2023-10-30 12:54:03 +00:00
Markus Grönlund
c4c66aba93 8316271: JfrJvmtiAgent::retransformClasses failed: JVMTI_ERROR_FAILS_VERIFICATION
Reviewed-by: egahlin
2023-10-30 11:51:31 +00:00
Matthias Baesken
88b9cdae8f 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Reviewed-by: mdoerr, thartmann
2023-10-30 11:14:12 +00:00
Aggelos Biboudis
c9d23c3940 8315532: Compiler Implementation for Unnamed Variables & Patterns
8317221: Implementation for javax.lang.model for Unnamed Variables & Patterns

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: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: jlahoda, mcimadamore
2023-10-30 10:28:48 +00:00
Daniel Jeliński
3934127b08 8318709: Improve System.nanoTime performance on Windows
Reviewed-by: ccleary, dholmes
2023-10-30 07:54:55 +00:00
Emanuel Peter
83eb20651f 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Reviewed-by: shade, thartmann
2023-10-30 07:17:30 +00:00
Tim Prinzing
1183b221c2 8310978: JFR events SocketReadEvent/SocketWriteEvent for Socket adaptor ops
Reviewed-by: dfuchs, alanb
2023-10-30 06:04:17 +00:00
Gui Cao
988e1dfe6e 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Reviewed-by: fyang, fjiang, luhenry
2023-10-30 00:31:08 +00:00
Daniel D. Daugherty
ce0ca47641 8319067: ProblemList serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java on linux-aarch64 in Xcomp mode
Reviewed-by: jpai
2023-10-29 14:16:26 +00:00
Feilong Jiang
db3402577a 8318827: RISC-V: Improve readability of fclass result testing
Reviewed-by: vkempik, luhenry, fyang
2023-10-29 10:15:41 +00:00
Hamlin Li
1ec0d02717 8318225: RISC-V: C2 UModI
8318226: RISC-V: C2 UModL

Reviewed-by: luhenry, rehn, fyang
2023-10-28 09:12:51 +00:00
Joe Wang
96bec3584c 8316996: Catalog API Enhancement: add a factory method
Reviewed-by: naoto, lancea
2023-10-28 03:38:30 +00:00
Sergey Bylokhov
d2260146c9 8318850: Duplicate code in the LCMSImageLayout
Reviewed-by: prr
2023-10-27 18:21:18 +00:00
Daniel Jeliński
c593f8bf59 8318091: Remove empty initIDs functions
Reviewed-by: prr, aivanov
2023-10-27 16:09:27 +00:00
Claes Redestad
4f9f1955ab 8318753: hsdis binutils may place libs in lib64
Reviewed-by: rehn, djelinski, ihse
2023-10-27 14:40:30 +00:00
Maurizio Cimadamore
2915d74a10 8318837: javac generates wrong ldc instruction for dynamic constant loads
Reviewed-by: vromero, jlahoda
2023-10-27 13:47:24 +00:00
Damon Fenacci
ddd071617e 8317661: [REDO] store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: dholmes, aph
2023-10-27 12:56:03 +00:00
Volker Simonis
141dae8b76 8318811: Compiler directives parser swallows a character after line comments
Reviewed-by: shade, phh
2023-10-27 12:10:55 +00:00
Doug Lea
667cca9d7a 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted"
Reviewed-by: alanb
2023-10-27 10:08:59 +00:00
Leo Korinth
b9dcd4b741 8318964: Fix build failures caused by 8315097
Reviewed-by: aboldtch, rcastanedalo
2023-10-27 09:51:22 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Christian Stein
957703b1f9 8307168: Inconsistent validation and handling of --system flag arguments
Reviewed-by: jjg
2023-10-27 08:37:19 +00:00
William Kemper
5b5fd3694a 8316632: Shenandoah: Raise OOME when gc threshold is exceeded
Reviewed-by: kdnilsen, ysr, shade
2023-10-27 08:18:38 +00:00
Thomas Stuefe
abad0408e8 8313781: Add regression tests for large page logging and user-facing error messages
Reviewed-by: sjohanss, dholmes
2023-10-27 06:55:25 +00:00
Weijun Wang
9123961aaa 8318096: Introduce AsymmetricKey interface with a getParams method
Reviewed-by: darcy, mullan, ascarpino
2023-10-26 22:43:06 +00:00
Brian Burkhalter
4a142c3b08 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Reviewed-by: lancea, djelinski, rriggs
2023-10-26 21:06:01 +00:00
Aleksei Efimov
77fe0fd9e6 8272215: Add InetAddress methods for parsing IP address literals
Reviewed-by: dfuchs, michaelm
2023-10-26 18:24:42 +00:00
Weijun Wang
a9b31b587c 8318689: jtreg is confused when folder name is the same as the test name
Reviewed-by: mullan
2023-10-26 16:40:33 +00:00
Andrew Haley
e1a458ee64 8318834: s390x: Debug builds are missing debug helpers
Reviewed-by: shade, lucy
2023-10-26 16:28:28 +00:00
Hamlin Li
40a3c35aa5 8318723: RISC-V: C2 UDivL
8318224: RISC-V: C2 UDivI

Reviewed-by: fyang, luhenry, aph
2023-10-26 16:10:16 +00:00
Jorn Vernee
3885dc5b9a 8318737: Fallback linker passes bad JNI handle
Reviewed-by: alanb
2023-10-26 15:54:02 +00:00
Johan Sjölen
9864951dce 8318447: Move NMT source code to own subdirectory
Reviewed-by: stefank, dholmes, stuefe
2023-10-26 14:03:49 +00:00
Aleksey Shipilev
744e089310 8318700: MacOS Zero cannot run gtests due to wrong JVM path
Reviewed-by: dholmes
2023-10-26 12:34:45 +00:00
Albert Mingkun Yang
ec1bf23d01 8318801: Parallel: Remove unused verify_all_young_refs_precise
Reviewed-by: tschatzl
2023-10-26 10:52:50 +00:00
Hamlin Li
3cea892bd4 8318805: RISC-V: Wrong comments instructions cost in riscv.ad
Reviewed-by: luhenry, fyang
2023-10-26 09:46:42 +00:00
Markus Grönlund
bc1ba24ca5 8316437: JFR: assert(!tl->has_java_buffer()) failed: invariant
Reviewed-by: egahlin
2023-10-26 09:44:53 +00:00
Daniel Jeliński
970cd20204 8318788: java/net/Socks/SocksSocketProxySelectorTest.java fails on machines with no IPv6 link-local addresses
Reviewed-by: jpai, dfuchs, mbaesken
2023-10-26 08:49:50 +00:00
Goetz Lindenmaier
37c40a11a7 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Reviewed-by: lucy
2023-10-26 07:58:05 +00:00
Daniel Jeliński
723db2dc86 8305321: Remove unused exports in java.desktop
Reviewed-by: aivanov, prr
2023-10-26 06:13:02 +00:00
Zhengyu Gu
811b436e5d 8318720: G1: Memory leak in G1CodeRootSet after JDK-8315503
Reviewed-by: tschatzl
2023-10-25 23:47:46 +00:00
Daniel D. Daugherty
a542f7398d 8318843: ProblemList java/lang/management/MemoryMXBean/CollectionUsageThreshold.java in Xcomp
Reviewed-by: lmesnik
2023-10-25 21:14:14 +00:00
Frederic Thevenet
d96f38b80c 8317510: Change Windows debug symbol files naming to avoid losing info when an executable and a library share the same name
Reviewed-by: ihse, erikj
2023-10-25 17:30:21 +00:00
Justin Lu
10427c023a 8318613: ChoiceFormat patterns are not well tested
Reviewed-by: naoto
2023-10-25 17:12:55 +00:00
Justin Lu
ca3bdfc0c7 8318186: ChoiceFormat inconsistency between applyPattern() and setChoices()
Reviewed-by: naoto
2023-10-25 17:12:37 +00:00
Naoto Sato
a5208870e1 8318487: Specification of the ListFormat.equals() method can be improved
Reviewed-by: joehw, rriggs, lancea, iris
2023-10-25 16:50:31 +00:00
Markus Grönlund
cf4ede0e54 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines
Reviewed-by: shade, egahlin
2023-10-25 16:38:13 +00:00
Hamlin Li
9e98ee6726 8318735: RISC-V: Enable related hotspot tests run on riscv
Reviewed-by: fyang, luhenry
2023-10-25 15:37:42 +00:00
Elif Aslan
29d462a072 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Reviewed-by: shade, lmesnik
2023-10-25 15:23:13 +00:00
Elif Aslan
43f31d7385 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Reviewed-by: lmesnik, shade
2023-10-25 15:01:11 +00:00
Elif Aslan
cee44a6255 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Reviewed-by: lmesnik, shade
2023-10-25 15:00:44 +00:00
Roland Westrelin
b026d0b480 8312980: C2: "malformed control flow" created during incremental inlining
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann, epeter
2023-10-25 13:32:56 +00:00
Alexey Ivanov
3abd772672 8316017: Refactor timeout handler in PassFailJFrame
Reviewed-by: prr
2023-10-25 13:25:34 +00:00
Frederic Thevenet
202c0137b8 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Reviewed-by: ihse, erikj
2023-10-25 12:58:01 +00:00
Alexey Ivanov
c587211bf8 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Reviewed-by: prr
2023-10-25 11:33:47 +00:00
Alexey Ivanov
42b9ac8a07 8294156: Allow PassFailJFrame.Builder to create test UI
Reviewed-by: azvegint, prr
2023-10-25 11:31:44 +00:00
Alexey Ivanov
14090ef603 8294158: HTML formatting for PassFailJFrame instructions
Reviewed-by: azvegint, prr
2023-10-25 11:17:00 +00:00
Albert Mingkun Yang
d2d1592dd9 8318713: G1: Use more accurate age in predict_eden_copy_time_ms
Reviewed-by: tschatzl, iwalulya
2023-10-25 08:43:54 +00:00
Zixian Cai
c3cdfe2a32 8318692: Add instructions for creating Ubuntu-based sysroot for cross compilation
Reviewed-by: erikj, shade
2023-10-25 08:33:10 +00:00
Aleksey Shipilev
ba7d08b819 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms
Reviewed-by: eosterlund, dholmes, kbarrett, simonis
2023-10-25 08:29:58 +00:00
Prasanta Sadhukhan
d7205e690f 8318102: macos10.14 check in CSystemColors can be removed.
Reviewed-by: prr, aivanov
2023-10-25 07:22:04 +00:00
Jayathirth D V
5ce718eb17 8318100: Remove redundant check for Metal support
Reviewed-by: prr, dnguyen
2023-10-25 04:01:59 +00:00
Alexander Matveev
f1dfdc1a79 8311877: [macos] Add CLI options to provide signing identity directly to codesign and productbuild
Reviewed-by: asemenyuk
2023-10-24 21:41:20 +00:00
Eamonn McManus
9c819fd3b7 8318051: Duration.between uses exceptions for control flow
Reviewed-by: rriggs
2023-10-24 18:32:33 +00:00
Weijun Wang
1ddf826aea 8316964: Security tools should not call System.exit
Reviewed-by: valeriep
2023-10-24 18:32:01 +00:00
vamsi-parasa
1f2a80b78a 8318306: java/util/Arrays/Sorting.java fails with "Array is not sorted at 8228-th position: 8251.0 and 8153.0"
Reviewed-by: thartmann, jbhateja
2023-10-24 18:31:33 +00:00
Naoto Sato
116503754c 8318569: Add getter methods for Locale and Patterns in ListFormat
Reviewed-by: joehw, rriggs, iris, mli
2023-10-24 16:54:57 +00:00
Thomas Schatzl
6f352740cb 8318702: G1: Fix nonstandard indentation in g1HeapTransition.cpp
Reviewed-by: iwalulya
2023-10-24 14:49:06 +00:00
Vicente Romero
e2720987b9 8318160: javac does not reject private method reference with type-variable receiver
Reviewed-by: mcimadamore
2023-10-24 14:45:10 +00:00
Zixian Cai
54c613acd7 8318693: Fix rendering for code blocks nested under list items in building.md
Reviewed-by: erikj, ccleary
2023-10-24 14:36:52 +00:00
Claes Redestad
e67550cfec 8318509: x86 count_positives intrinsic broken for -XX:AVX3Threshold=0
Reviewed-by: thartmann, jbhateja, epeter
2023-10-24 13:32:41 +00:00
Doug Simon
8879c78d62 8317689: [JVMCI] include error message when CreateJavaVM in libgraal fails
Reviewed-by: phofer, thartmann, never
2023-10-24 13:32:26 +00:00
Hamlin Li
f9795d0d09 8318222: RISC-V: C2 CmpU3
8318223: RISC-V: C2 CmpUL3

Reviewed-by: rehn, fyang
2023-10-24 13:17:28 +00:00
Jorn Vernee
d1077d6f14 8316046: x64 platforms unecessarily save xmm16-31 when UseAVX >= 3
Reviewed-by: mcimadamore, djelinski
2023-10-24 12:33:59 +00:00
Leo Korinth
21d8a4725f 8318701: Fix copyright year
Reviewed-by: egahlin
2023-10-24 12:31:59 +00:00
Varada M
d4b761242d 8318240: [AIX] Cleaners.java test failure
Reviewed-by: mbaesken, asteiner
2023-10-24 12:24:04 +00:00
Jan Lahoda
bf1a14e367 8316470: Incorrect error location for "invalid permits clause" depending on file order
Reviewed-by: vromero
2023-10-24 12:18:33 +00:00
Viktor Klang
5224e979a1 8293713: java/net/httpclient/BufferingSubscriberTest.java fails in timeout, blocked in submission publisher
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: alanb
2023-10-24 10:38:58 +00:00
Raffaello Giulietti
9bfa082970 8318646: Integer#parseInt("") throws empty NumberFormatException message
Reviewed-by: redestad, alanb, bpb, darcy, uschindler
2023-10-24 10:20:26 +00:00
Aleksey Shipilev
3f446c5156 8318528: Rename TestUnstructuredLocking test
Reviewed-by: phh, dholmes
2023-10-24 10:12:44 +00:00
Johan Sjölen
0baa9ecd76 8318474: Fix memory reporter for thread_count
Reviewed-by: mbaesken, azafari
2023-10-24 10:08:21 +00:00
Evgeny Nikitin
4a16d111b1 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: thartmann, shade, eastigeevich
2023-10-24 09:16:10 +00:00
Martin Doerr
a644670cc6 8318609: Upcall stubs should be smaller
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: rrich, jvernee
2023-10-24 09:09:33 +00:00
Gergö Barany
e6f23a90d4 8315024: Vector API FP reduction tests should not test for exact equality
Reviewed-by: epeter, thartmann
2023-10-24 08:58:15 +00:00
Pavel Rappo
fd332da1c8 8317289: javadoc fails with -sourcepath if module-info.java contains import statements
Reviewed-by: jlahoda
2023-10-24 08:46:10 +00:00
Matthias Baesken
6d3cb459dc 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Reviewed-by: mdoerr, lucy
2023-10-24 07:34:05 +00:00
Matthias Baesken
cb383c05b2 8318587: refresh libraries cache on AIX in print_vm_info
Reviewed-by: mdoerr, lucy, stuefe
2023-10-24 07:09:44 +00:00
Richard Reingruber
4bfe226870 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: tschatzl, ayang
2023-10-24 07:05:56 +00:00
Ioi Lam
08f79148c6 8305753: Allow JIT compilation for -Xshare:dump
Reviewed-by: dholmes, matsaave, ccheung
2023-10-24 06:34:50 +00:00
Daniel Jeliński
728b858c78 8318130: SocksSocketImpl needlessly encodes hostname for IPv6 addresses
Reviewed-by: dfuchs, jpai, aefimov, michaelm
2023-10-24 05:36:43 +00:00
Jie Fu
eb5916729d 8318691: runtime/CompressedOops/CompressedClassPointersEncodingScheme.java fails with release VMs
Reviewed-by: ccheung
2023-10-24 02:57:47 +00:00
Joe Darcy
1b150117fd 8318476: Add resource consumption note to BigInteger and BigDecimal
Reviewed-by: alanb, bpb
2023-10-23 22:08:12 +00:00
Thomas Stuefe
5ba9705d60 8318485: Narrow klass shift should be zero if encoding range extends to 0x1_0000_0000
Reviewed-by: ccheung, iklam
2023-10-23 21:10:52 +00:00
Sean Coffey
8d9a4b43f4 8317678: Fix up hashCode() for ZipFile.Source.Key
Reviewed-by: lancea, alanb, jpai
2023-10-23 17:12:41 +00:00
Erik Gahlin
69c0ae23a3 8318124: JFR: Rewrite instrumentation to use Class-File API
Reviewed-by: mgronlun
2023-10-23 16:00:14 +00:00
Thomas Stuefe
c1aeac79ba 8318445: More broken bailout chains in C2
Reviewed-by: kvn, epeter
2023-10-23 15:54:04 +00:00
Ramkumar Sunderbabu
d888b26783 8318071: IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
Reviewed-by: dholmes, shade
2023-10-23 15:10:22 +00:00
Michal Sobierski
bea2d48696 8312475: org.jline.util.PumpReader signed byte problem
Reviewed-by: shade, jlahoda
2023-10-23 14:31:12 +00:00
Thomas Schatzl
9f767aa44b 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: iwalulya, mli
2023-10-23 14:00:07 +00:00
Doug Simon
bd22d2381f 8318027: Support alternative name to jdk.internal.vm.compiler
Reviewed-by: erikj, ihse, kvn, alanb, mli
2023-10-23 13:15:31 +00:00
Robbin Ehn
c2efd77412 8295795: hsdis does not build with binutils 2.39+
Reviewed-by: ihse, djelinski
2023-10-23 13:12:52 +00:00
Magnus Ihse Bursie
99de9bb83f 8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039
Reviewed-by: erikj
2023-10-23 11:26:39 +00:00
Matthew Donovan
704c6ea16c 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Reviewed-by: smarks, msheppar
2023-10-23 11:15:32 +00:00
Albert Mingkun Yang
7c0a8288b2 8318649: G1: Remove unimplemented HeapRegionRemSet::add_code_root_locked
Reviewed-by: tschatzl
2023-10-23 11:04:29 +00:00
Thomas Stuefe
ff5c5b6541 8318643: +UseTransparentHugePages must enable +UseLargePages
Reviewed-by: sjohanss
2023-10-23 09:59:43 +00:00
Pavel Rappo
fc29a2e152 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: jjg
2023-10-23 09:24:51 +00:00
Thomas Schatzl
729f4c5d14 8318507: G1: Improve remset clearing for humongous candidates
Reviewed-by: iwalulya, ayang, mli
2023-10-23 08:19:50 +00:00
Thomas Schatzl
4eab39d941 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: ayang, iwalulya, mli
2023-10-23 07:35:11 +00:00
Per Minborg
ffadd63575 8317868: Add @sealedGraph to MethodHandleDesc and descendants
Reviewed-by: jvernee, mli
2023-10-23 06:16:27 +00:00
Ioi Lam
ecd25e7d6f 8318484: Initial version of cdsConfig.hpp
Reviewed-by: dholmes, ccheung, sspitsyn
2023-10-21 15:43:36 +00:00
Laurent Bourgès
a876beb63d 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Reviewed-by: prr, dnguyen
2023-10-21 09:12:08 +00:00
Leonid Mesnik
4cf195f00c 8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed.
Reviewed-by: sspitsyn, cjplummer
2023-10-21 03:35:52 +00:00
Daniel D. Daugherty
af2f4bfa83 8318622: ProblemList gc/cslocker/TestCSLocker.java on linux-x64 in Xcomp mode
Reviewed-by: naoto
2023-10-20 21:33:26 +00:00
Brian Burkhalter
a1a62d9964 8306308: (ch) Writer created by Channels::newWriter may lose data
Reviewed-by: djelinski, alanb
2023-10-20 21:12:28 +00:00
Mikhailo Seledtsov
77b2394c46 8318482: problemlist compiler/codecache/CheckLargePages.java on Linux-x64 until JDK-8317831 is fixed
Reviewed-by: lmesnik
2023-10-20 19:25:43 +00:00
Rajan Halade
d3ebb4a155 8317373: Add Telia Root CA v2
Reviewed-by: mullan
2023-10-20 18:25:09 +00:00
Justin Lu
66d90d5d9f 8318107: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
Reviewed-by: naoto
2023-10-20 17:38:10 +00:00
Justin Lu
4dfa3799a6 7061097: [Doc] Inconsistenency between the spec and the implementation for DateFormat.Field
Reviewed-by: naoto
2023-10-20 17:37:51 +00:00
Harshitha Onkar
158293d251 8316030: Update Libpng to 1.6.40
Reviewed-by: prr, dnguyen
2023-10-20 17:35:21 +00:00
Kevin Walls
a045258ae2 8209595: MonitorVmStartTerminate.java timed out
Reviewed-by: sspitsyn, cjplummer, lmesnik
2023-10-20 16:38:39 +00:00
Viktor Klang
21215753c0 8318421: AbstractPipeline.sourceStageSpliterator() chases pointers needlessly
Reviewed-by: psandoz
2023-10-20 16:32:11 +00:00
Viktor Klang
200b5a27d4 8318420: AbstractPipeline invokes overridden method in constructor
Reviewed-by: psandoz
2023-10-20 16:31:46 +00:00
sunyaqi
52814994ef 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Reviewed-by: asemenyuk, almatvee
2023-10-20 16:27:58 +00:00
Jorn Vernee
8065233e8b 8318598: FFM stylistic cleanups
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2023-10-20 15:40:39 +00:00
Thomas Stuefe
b1228de623 8314588: gc/metaspace/TestMetaspaceInitialization.java failed "assert(capacity_until_gc >= committed_bytes) failed: capacity_until_gc: 3145728 < committed_bytes: 3211264"
Reviewed-by: dholmes, coleenp
2023-10-20 15:21:57 +00:00
Ilya Gavrilin
5a97411f85 8317971: RISC-V: implement copySignF/D and signumF/D intrinsics
Reviewed-by: fyang, vkempik
2023-10-20 14:31:41 +00:00
Maurizio Cimadamore
91442878b7 8318601: Remove javadoc text about restricted methods
Reviewed-by: alanb
2023-10-20 14:29:17 +00:00
Mahendra Chhipa
40106422bd 8077371: Binary files in JAXP test should be removed
Reviewed-by: joehw
2023-10-20 12:07:39 +00:00
Claes Redestad
fe52917054 8318457: Use prefix-less prepend methods directly to reduce branches in String concat expressions
Reviewed-by: jlaskey, liach
2023-10-20 11:37:07 +00:00
Alexey Ivanov
71c99a0e59 8318448: Link PopupMenu/PopupMenuLocation.java failure to JDK-8259913
Reviewed-by: prr
2023-10-20 11:04:24 +00:00
Alexey Ivanov
2c23391de7 8318101: Additional test cases for CSSAttributeEqualityBug
Reviewed-by: prr
2023-10-20 11:02:58 +00:00
Justin King
deadb9c8d7 8304684: Memory leak in DirectivesParser::set_option_flag
Reviewed-by: kvn, dlong
2023-10-20 11:02:38 +00:00
Jasmine Karthikeyan
a03767cf88 8318049: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN
Reviewed-by: epeter, thartmann
2023-10-20 10:44:58 +00:00
Maurizio Cimadamore
848ecc1621 8318538: Add a way to obtain a strided var handle from a layout
Reviewed-by: jvernee, pminborg
2023-10-20 10:35:09 +00:00
Maurizio Cimadamore
b07da3ae15 8317819: Scope should reflect lifetime of underying resource (mainline)
Reviewed-by: jvernee
2023-10-20 10:23:45 +00:00
Albert Mingkun Yang
6f1d8962df 8318510: Serial: Remove TenuredGeneration::block_size
Reviewed-by: tschatzl, iwalulya
2023-10-20 10:23:00 +00:00
Johannes Bechberger
8f4ebd8921 8317920: JDWP-agent sends broken exception event with onthrow option
Reviewed-by: clanger, cjplummer
2023-10-20 08:52:46 +00:00
Albert Mingkun Yang
cd25d1a2bf 8318296: Move Space::initialize to ContiguousSpace
Reviewed-by: tschatzl, iwalulya
2023-10-20 08:40:51 +00:00
Aleksey Shipilev
744f206fef 8318525: Atomic gtest should run as TEST_VM to access VM capabilities
Reviewed-by: stefank, stuefe
2023-10-20 08:38:23 +00:00
Albert Mingkun Yang
8099261050 8318489: Remove unused alignment_unit and alignment_offset
Reviewed-by: thartmann
2023-10-20 08:38:05 +00:00
Afshin Zafari
138437f2cf 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements
Reviewed-by: gziemski, ihse
2023-10-20 08:33:40 +00:00
Chen Liang
4812cabaa4 8316587: Use ArraysSupport.vectorizedHashCode in Utf8EntryImpl
Reviewed-by: asotona, redestad
2023-10-20 07:36:27 +00:00
Aleksey Shipilev
bd02cfd96f 8318540: make test cannot run .jasm tests directly
Reviewed-by: lmesnik, erikj
2023-10-20 07:32:16 +00:00
Thomas Schatzl
bd3bc2c618 8317350: Move code cache purging out of CodeCache::UnloadingScope
Reviewed-by: ayang, iwalulya
2023-10-20 07:30:11 +00:00
Stefan Karlsson
292aad2c49 8316436: ContinuationWrapper uses unhandled nullptr oop
Reviewed-by: pchilanomate, eosterlund
2023-10-20 07:07:42 +00:00
Stefan Karlsson
387504c9e4 8317575: AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result
Reviewed-by: thartmann, kvn, aph
2023-10-20 07:05:30 +00:00
Daniel Jeliński
d9ce525a1c 8318150: StaticProxySelector.select should not throw NullPointerExceptions
Reviewed-by: jpai, dfuchs
2023-10-20 06:18:18 +00:00
Alan Bateman
c46a54e018 8312777: notifyJvmtiMount before notifyJvmtiUnmount
Reviewed-by: mli, sspitsyn
2023-10-20 05:56:26 +00:00
Hannes Greule
8f5f44070a 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Reviewed-by: amenkov, fparain
2023-10-19 23:24:28 +00:00
Justin Lu
684b91efbb 8315064: j.text.ChoiceFormat provides no specification on quoting behavior
Reviewed-by: naoto
2023-10-19 22:53:07 +00:00
Smita Kamath
1740950036 8314901: AES-GCM interleaved implementation using AVX2 instructions
Reviewed-by: sviswanathan, djelinski
2023-10-19 18:27:51 +00:00
Justin Lu
cc8f8da293 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Reviewed-by: naoto, iris, lancea, srl
2023-10-19 18:25:43 +00:00
Alex Menkov
599560a832 8317635: Improve GetClassFields test to verify correctness of field order
Reviewed-by: cjplummer, sspitsyn
2023-10-19 18:12:16 +00:00
Zhengyu Gu
9cf334fb64 8318383: Remove duplicated checks in os::get_native_stack() in posix implementation
Reviewed-by: dholmes, stuefe
2023-10-19 13:56:16 +00:00
Per Minborg
defc7e0f8d 8318454: TestLayoutPaths broken on Big Endian platforms after JDK-8317837
Reviewed-by: mdoerr, mcimadamore
2023-10-19 10:47:53 +00:00
Daniel Jeliński
3c70f2c1e9 8318418: hsdis build fails with system binutils on Ubuntu
Reviewed-by: erikj, ihse
2023-10-19 10:36:35 +00:00
Maurizio Cimadamore
15acf4b8d7 8318324: Drop redundant default methods from FFM API
Reviewed-by: jvernee
2023-10-19 09:51:02 +00:00
Leo Korinth
1a098356dd 8317358: G1: Make TestMaxNewSize use createTestJvm
Reviewed-by: tschatzl, sjohanss
2023-10-19 09:26:15 +00:00
Matthias Baesken
47bb1a1cef 8318415: Adjust describing comment of os_getChildren after 8315026
Reviewed-by: rriggs
2023-10-19 07:22:34 +00:00
Andrey Turbanov
80bd22d093 8316144: Remove unused field jdk.internal.util.xml.impl.XMLStreamWriterImpl.Element._Depth
Reviewed-by: lancea, joehw
2023-10-19 06:42:11 +00:00
Thomas Stuefe
c0e154c876 8318089: Class space not marked as such with NMT when CDS is off
Reviewed-by: mli, dholmes
2023-10-19 06:25:53 +00:00
Abhishek Kumar
24bc5bd104 8318104: macOS 10.13 check in TabButtonAccessibility.m can be removed
Reviewed-by: aivanov, prr
2023-10-19 04:21:45 +00:00
Daniel D. Daugherty
e25a49a993 8318471: ProblemList compiler/sharedstubs/SharedTrampolineTest.java
Reviewed-by: lmesnik
2023-10-18 20:20:39 +00:00
Naoto Sato
ce8ebebc77 8317979: Use TZ database style abbreviations in the CLDR locale provider
Reviewed-by: rriggs, joehw, lancea, erikj, iris, ihse
2023-10-18 18:26:49 +00:00
Mikhailo Seledtsov
ab135683a6 8318029: Minor improvement to logging output in container at-requires
Reviewed-by: iklam
2023-10-18 18:05:00 +00:00
Maurizio Cimadamore
278de7acd2 8318458: Update javac and java manpages with restricted method options
Reviewed-by: iris
2023-10-18 17:02:51 +00:00
Aleksey Shipilev
6fc3514231 8318363: Foreign benchmarks fail to build on some platforms
Reviewed-by: jvernee, mcimadamore
2023-10-18 10:30:45 +00:00
Thomas Stuefe
31ef400f31 8318183: C2: VM may crash after hitting node limit
Reviewed-by: kvn, thartmann
2023-10-18 08:39:00 +00:00
Andrey Turbanov
4e77b3c378 8315974: Make fields final in 'com.sun.crypto.provider' package
Reviewed-by: valeriep
2023-10-18 08:28:23 +00:00
Per Minborg
8dd809642e 8317886: Add @sealedGraph to ByteBuffer
Reviewed-by: rriggs, iris
2023-10-18 06:18:05 +00:00
David Holmes
9843c97695 8318365: Test runtime/cds/appcds/sharedStrings/InternSharedString.java fails after JDK-8311538
Reviewed-by: cjplummer, lmesnik
2023-10-17 23:30:03 +00:00
Sean Mullan
7c80cb26df 8309966: Enhanced TLS connections
Reviewed-by: mschoene, hchao, rhalade, jnimeh
2023-10-17 22:45:06 +00:00
Bradford Wetmore
adca97b659 8286503: Enhance security classes
Reviewed-by: rhalade, mullan, skoivu, weijun
2023-10-17 22:45:06 +00:00
Naoto Sato
195c9b2c48 8297856: Improve handling of Bidi characters
Reviewed-by: rhalade, mschoene, rriggs
2023-10-17 22:45:06 +00:00
Daniel Jeliński
072d64c6a9 8296581: Better system proxy support
Reviewed-by: rhalade, dfuchs, michaelm, alanb
2023-10-17 22:45:05 +00:00
Calvin Cheung
83b6a1278f 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Reviewed-by: iklam, jiangli
2023-10-17 22:12:28 +00:00
David Holmes
cceb0d8a23 8318126: Refresh manpages
Reviewed-by: alanb, mli, iris
2023-10-17 21:17:41 +00:00
Jonathan Gibbons
2f4d601a56 8314975: JavadocTester should set source path if not specified
Reviewed-by: hannesw
2023-10-17 21:00:29 +00:00
Hannes Wallnöfer
0ba48ef4ab 8316972: Add javadoc support for restricted methods
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jjg
2023-10-17 20:32:41 +00:00
Weijun Wang
5145e5a40a 8318328: DHKEM should check XDH name in case-insensitive mode
Reviewed-by: ascarpino, hchao
2023-10-17 19:36:17 +00:00
Thomas Schatzl
c566dfccf8 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: dlong, kvn
2023-10-17 19:01:03 +00:00
Thomas Schatzl
c9985720b9 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: dlong, kvn
2023-10-17 19:00:51 +00:00
Leonid Mesnik
d6679031e0 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-17 18:02:11 +00:00
Matias Saavedra Silva
61cc4a011e 8311538: CDS InternSharedString test fails on huge pages host - cannot find shared string
Reviewed-by: iklam, mseledtsov
2023-10-17 17:40:56 +00:00
Maurizio Cimadamore
39e2b7a6d3 8318295: Update launcher help for enable-native-access
Reviewed-by: jvernee
2023-10-17 16:38:22 +00:00
Martin Doerr
d0ea2a5111 8318015: Lock inflation not needed for OSR or Deopt for new locking modes
Reviewed-by: pchilanomate, dlong
2023-10-17 13:52:41 +00:00
Erik Gahlin
6aa837eee6 8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
2023-10-17 13:11:52 +00:00
Aggelos Biboudis
5ca1beb30e 8317300: javac erroneously allows "final" in front of a record pattern
Reviewed-by: jlahoda
2023-10-17 12:57:25 +00:00
Aggelos Biboudis
2bf1863e24 8315588: JShell does not accept underscore from JEP 443 even with --enable-preview
Reviewed-by: jlahoda
2023-10-17 12:55:31 +00:00
Aggelos Biboudis
15588e08ed 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Reviewed-by: vromero
2023-10-17 12:51:57 +00:00
Leo Korinth
e649c56324 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Reviewed-by: ayang, mli
2023-10-17 12:02:24 +00:00
Leo Korinth
5f4be8cea9 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Reviewed-by: ayang, mli, lmesnik
2023-10-17 12:02:08 +00:00
Leo Korinth
a949824e98 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 12:00:27 +00:00
Leo Korinth
7e39e664cf 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:59:54 +00:00
Leo Korinth
75b37e6d7e 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:58:57 +00:00
Agnibho Hom Chowdhury
34653c1e73 8249832: java/util/zip/DataDescriptorSignatureMissing.java uses @ignore w/o bug-id
Reviewed-by: msheppar
2023-10-17 11:58:17 +00:00
Leo Korinth
d8cd60588a 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:55:24 +00:00
Albert Mingkun Yang
8f79d88960 8318155: Remove unnecessary virtual specifier in Space
Reviewed-by: tschatzl, mli
2023-10-17 11:54:51 +00:00
Maurizio Cimadamore
b2b8db6533 8318180: Memory model reference from foreign package-info is broken
Reviewed-by: jvernee
2023-10-17 11:09:03 +00:00
Leo Korinth
5bd10521eb 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 09:40:01 +00:00
Leo Korinth
c64bd3d671 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Reviewed-by: tschatzl, iwalulya
2023-10-17 09:33:22 +00:00
Leo Korinth
6ee6171e81 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Reviewed-by: tschatzl, iwalulya
2023-10-17 09:32:48 +00:00
Leo Korinth
7ca0ae9415 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Reviewed-by: sjohanss, ayang
2023-10-17 09:22:03 +00:00
Doug Simon
5521560abd 8310673: [JVMCI] batch compilation for libgraal should work the same way as for C2
Reviewed-by: thartmann, never
2023-10-17 08:52:08 +00:00
Jan Kratochvil
e4329a823b 8317696: Fix compilation with clang-16
Reviewed-by: djelinski, aivanov
2023-10-17 08:15:46 +00:00
Emanuel Peter
504b0bdaaa 8318078: ADLC: pass ASSERT and PRODUCT flags
Reviewed-by: ihse, erikj, kvn
2023-10-17 07:14:11 +00:00
Feilong Jiang
7b3917265d 8318086: [jvmci] RISC-V: Reuse target config from TargetDescription
Reviewed-by: fyang, mli
2023-10-17 00:55:37 +00:00
Alex Menkov
aed1e810e6 8317285: Misspellings in hprof test lib
Reviewed-by: sspitsyn, cjplummer
2023-10-16 20:03:45 +00:00
Qing Xiao
741ae06c55 8313613: Use JUnit in langtools/lib tests
Reviewed-by: cstein, asotona
2023-10-16 17:14:34 +00:00
Rajan Halade
8c1bb2b280 8268916: Tests for AffirmTrust roots
Reviewed-by: mullan
2023-10-16 16:26:02 +00:00
Patricio Chilano Mateo
2d38495b61 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Reviewed-by: lmesnik, aph
2023-10-16 16:22:58 +00:00
Brian Burkhalter
0d091681c2 8312527: (ch) Re-examine use of sun.nio.ch.Invoker.myGroupAndInvokeCount
Reviewed-by: alanb, jpai
2023-10-16 14:52:44 +00:00
Brian Burkhalter
1a7fd5d419 8317687: (fs) FileStore.supportsFileAttributeView("posix") incorrectly returns 'true' for FAT32 volume on macOS
Reviewed-by: alanb
2023-10-16 14:49:18 +00:00
Hannes Wallnöfer
eb7d972d8a 8308659: Use CSS scroll-margin instead of flexbox layout in API documentation
Reviewed-by: jjg
2023-10-16 12:56:41 +00:00
Doug Simon
7028fb9d58 8317975: [JVMCI] assert(pointee != nullptr) failed: invariant
Reviewed-by: never, thartmann
2023-10-16 12:53:54 +00:00
Jasmine Karthikeyan
36993aea9a 8316918: Optimize conversions duplicated across phi nodes
Reviewed-by: thartmann, kvn
2023-10-16 12:52:01 +00:00
Renjith Kannath Pariyangad
668d4b077f 8318154: Improve stability of WheelModifier.java test
Reviewed-by: aivanov
2023-10-16 10:58:30 +00:00
Renjith Kannath Pariyangad
a36eaf03af 8317112: Add screenshot for Frame/DefaultSizeTest.java
Reviewed-by: prr, dnguyen, aivanov
2023-10-16 10:13:30 +00:00
Albert Mingkun Yang
a27fc7efd4 8317994: Serial: Use SerialHeap in generation
Reviewed-by: tschatzl, sangheki, mli
2023-10-16 09:54:22 +00:00
Prasanta Sadhukhan
37eb98604f 8154846: SwingNode does not resize when content size constraints are changed
Reviewed-by: prr, angorya, arapte
2023-10-16 09:01:57 +00:00
Evgeny Ignatenko
37aed6f46d 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: jsjolen, gziemski, stuefe, mli
2023-10-16 08:19:21 +00:00
Aleksey Shipilev
1e930db3c7 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: vlivanov, stuefe, mli
2023-10-16 08:00:48 +00:00
Severin Gehwolf
0275efac88 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: stuefe, alanb, bpb, mli
2023-10-16 07:40:29 +00:00
Matthias Baesken
77d40ce166 8318085: ProblemList jdk/jfr/api/consumer/recordingstream/TestOnEvent.java on linux-aarch64
Reviewed-by: clanger
2023-10-16 07:13:07 +00:00
David Holmes
4ea1b99c1a 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: stuefe, pchilanomate, rkennke, mli
2023-10-15 23:34:16 +00:00
Vicente Romero
01ea1eff66 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Reviewed-by: darcy
2023-10-14 21:28:39 +00:00
Jorn Vernee
1d54e73f6a 8318072: DowncallLinker does not acquire/release segments in interpreter
Reviewed-by: mcimadamore
2023-10-14 20:23:41 +00:00
Thomas Stuefe
56aa1e8dc8 8317683: Add JIT memory statistics
Reviewed-by: kvn, adinn
2023-10-14 05:56:52 +00:00
Alexander Zuev
f7d6d7a04f 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Reviewed-by: prr, azvegint, aivanov
2023-10-13 22:53:21 +00:00
William Kemper
e942f368c3 8317535: Shenandoah: Remove unused code
Reviewed-by: rkennke, ysr
2023-10-13 21:55:27 +00:00
Maurizio Cimadamore
7cb2e6d65b 8317514: Ensure MemorySegment is initialized before touching NativeMemorySegmentImpl
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-10-13 20:51:52 +00:00
Justin Lu
9622de2aa8 8317372: Refactor some NumberFormat tests to use JUnit
Reviewed-by: naoto
2023-10-13 20:49:11 +00:00
Mikael Vidstedt
72c4dcbfee 8317970: Bump target macosx-x64 version to 11.00.00
Reviewed-by: erikj, prr, ihse
2023-10-13 20:24:44 +00:00
Jorn Vernee
32a60cf11d 8317824: Beef up javadoc for base offset in var handles derived from layouts (mainline)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:06:07 +00:00
Jorn Vernee
b12c471a99 8317837: Leftover FFM implementation-only changes
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:05:47 +00:00
Mikael Vidstedt
605c976729 8318039: GHA: Bump macOS and Xcode versions
Reviewed-by: erikj, prr, ihse, clanger
2023-10-13 17:25:00 +00:00
Daniel Fuchs
6273ab97dc 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Reviewed-by: michaelm, djelinski
2023-10-13 14:35:50 +00:00
Alexey Ivanov
7d31146f4d 8318028: Remove unused class="centered" from FocusCycle.svg
Reviewed-by: serb
2023-10-13 13:40:49 +00:00
Johan Sjölen
45b7aedabf 8317433: Async UL: Only grab lock once when write():ing
Reviewed-by: dholmes, xliu
2023-10-13 13:21:34 +00:00
Aleksei Voitylov
266636deab 8315940: ARM32: Move field resolution information out of the cpCache
Reviewed-by: dsamersoff
2023-10-13 11:33:34 +00:00
Johan Sjölen
e490cf9c65 8317432: Async UL: Use memcpy instead of strcpy in Message ctr
Reviewed-by: xliu, dholmes
2023-10-13 11:28:17 +00:00
Matthias Baesken
126f2ace5d 8318006: remove unused net related coding
Reviewed-by: alanb, lucy
2023-10-13 08:53:43 +00:00
Joachim Kern
4d9042043e 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Reviewed-by: rriggs, stuefe, mbaesken
2023-10-13 08:29:48 +00:00
Thomas Schatzl
1082c0e767 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Reviewed-by: thartmann, kvn
2023-10-13 07:40:00 +00:00
Matthias Baesken
ec310fe809 8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Reviewed-by: mdoerr, lucy
2023-10-13 07:01:50 +00:00
Matthias Baesken
ff0b397e13 8317959: Check return values of malloc in native java.base coding
Reviewed-by: alanb, bpb
2023-10-13 06:50:08 +00:00
Thomas Stuefe
c88b387881 8317987: C2 recompilations cause high memory footprint
Reviewed-by: adinn, kvn
2023-10-13 06:43:42 +00:00
Leonid Mesnik
993951b85e 8316464: 3 sun/tools tests ignore VM flags
Reviewed-by: sspitsyn, cjplummer
2023-10-12 23:32:37 +00:00
Archie Cobbs
17535c34bc 8317818: Combinatorial explosion during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 22:39:03 +00:00
Damon Nguyen
61ce739ac8 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out
Reviewed-by: honkar, aivanov
2023-10-12 22:02:16 +00:00
ANUPAM DEV
77fa44fd4f 8317847: Typo in API documentation of class JPopupMenu
Reviewed-by: aivanov
2023-10-12 20:07:07 +00:00
Daniel D. Daugherty
0983b54866 8318038: ProblemList runtime/CompressedOops/CompressedClassPointers.java on two platforms
8318040: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/findMonitorDeadlockedThreads/find006/TestDescription.java on macosx-aarch64
8318042: ProblemList java/nio/channels/vthread/BlockingChannelOps.java#direct-register with GenZGC

Reviewed-by: rriggs, azvegint
2023-10-12 20:02:10 +00:00
Evgeny Astigeevich
64ee3c9990 8317266: Move nmethod::check_all_dependencies to codeCache.cpp and mark it NOT_PRODUCT
Reviewed-by: kvn, dlong
2023-10-12 19:56:18 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Rajan Halade
9728e21db1 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
2023-10-12 17:02:32 +00:00
Archie Cobbs
a8473b7079 8317336: Assertion error thrown during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 16:51:53 +00:00
Mikhailo Seledtsov
16fd43c5eb 8316693: Simplify at-requires checkDockerSupport()
Reviewed-by: iklam, lmesnik
2023-10-12 16:29:14 +00:00
Roger Riggs
c1f698d38b 8317956: Make jdk.internal.util.Architecture current architecture final
Reviewed-by: pminborg, redestad, bpb
2023-10-12 14:14:43 +00:00
wenshao
935543146b 8316426: Optimization for HexFormat.formatHex
Reviewed-by: liach, rriggs
2023-10-12 13:54:09 +00:00
Thomas Stuefe
32ccf018eb 8317772: NMT: Make peak values available in release builds
Reviewed-by: jsjolen, zgu
2023-10-12 13:48:59 +00:00
Ivan Walulya
4c79e7d59c 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
Reviewed-by: tschatzl, ayang
2023-10-12 10:28:52 +00:00
Tobias Hartmann
7633a76607 8317998: Temporarily disable malformed control flow assert to reduce noise in testing
Reviewed-by: epeter
2023-10-12 09:50:18 +00:00
Ravi Gupta
00ef9f9c32 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Reviewed-by: tr, honkar, aivanov
2023-10-12 09:40:02 +00:00
Albert Mingkun Yang
77dc89115e 8317963: Serial: Remove unused GenerationIsInReservedClosure
Reviewed-by: kbarrett, tschatzl
2023-10-12 08:54:32 +00:00
Per Minborg
d95b548c78 8315850: Improve AbstractMap anonymous Iterator classes
Reviewed-by: liach, smarks
2023-10-12 07:51:21 +00:00
Matthias Baesken
424de295a6 8317866: replace NET_SocketAvailable
Reviewed-by: dfuchs, alanb
2023-10-12 07:22:49 +00:00
Matthias Baesken
6d6c9008d5 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Reviewed-by: bpb, vtewari, rriggs
2023-10-12 07:16:48 +00:00
Per Minborg
eca6ea43d0 8317873: Add @sealedGraph to IllegalFormatException
Reviewed-by: naoto, iris
2023-10-12 07:14:52 +00:00
vamsi-parasa
2edf9c3f1e 8317763: Follow-up to AVX512 intrinsics for Arrays.sort() PR
Reviewed-by: jbhateja, kvn, ihse, sviswanathan
2023-10-12 04:45:19 +00:00
Amit Kumar
839cb19ec2 8317581: [s390x] Multiple test failure with LockingMode=2
Reviewed-by: stuefe, lucy
2023-10-12 03:33:30 +00:00
Alexander Zvegintsev
387896fb34 8309621: [XWayland][Screencast] screen capture failure with sun.java2d.uiScale other than 1
Reviewed-by: prr, honkar
2023-10-11 22:14:23 +00:00
Matthew Donovan
8d2ad2b1ae 8317977: update problemlist to include MacOS for sun/security/tools/keytool/NssTest.java
Reviewed-by: dcubed
2023-10-11 21:27:19 +00:00
Daniel D. Daugherty
b92de54a81 8317964: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java fails on macosx-all after JDK-8317751
Reviewed-by: azvegint
2023-10-11 17:03:02 +00:00
Matthew Donovan
2a80160960 8314283: Support for NSS tests on aarch64 platforms
Reviewed-by: rhalade
2023-10-11 16:44:22 +00:00
Stuart Marks
3f6d01687c 8314896: additional clarifications to reversed() default methods' implementation requirements
Reviewed-by: bchristi
2023-10-11 16:42:28 +00:00
Per Minborg
2d46b29728 8317874: Add @sealedGraph to StringTemplate.Processor.Linkage
Reviewed-by: rriggs
2023-10-11 16:17:01 +00:00
Hamlin Li
8f8c45b54a 8315716: RISC-V: implement ChaCha20 intrinsic
Reviewed-by: luhenry, fyang
2023-10-11 14:48:28 +00:00
Albert Mingkun Yang
8a9c4d5266 8317675: Serial: Move gc/shared/generation to serial folder
Reviewed-by: mli, tschatzl
2023-10-11 14:31:41 +00:00
Roman Kennke
bcafec54a5 8316958: Add test for unstructured locking
Reviewed-by: dholmes, shade
2023-10-11 13:44:39 +00:00
Albert Mingkun Yang
731fb4eea2 8317797: G1: Remove unimplemented predict_will_fit
Reviewed-by: tschatzl
2023-10-11 09:22:27 +00:00
Amit Kumar
79761519f6 8313438: [s390x] build broken after JDK-8301996
Reviewed-by: mdoerr, lucy
2023-10-11 08:49:54 +00:00
Christoph Langer
ca96fd3b07 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Reviewed-by: alanb
2023-10-11 06:54:20 +00:00
Matthias Baesken
a9b41da9df 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Reviewed-by: vtewari, alanb, djelinski
2023-10-11 06:43:45 +00:00
Tobias Hartmann
0fd807118c 8317738: CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
Reviewed-by: kvn
2023-10-11 06:18:34 +00:00
Christoph Langer
1161e3da14 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Reviewed-by: mbaesken
2023-10-11 05:57:28 +00:00
Christoph Langer
e55c482ce1 8317790: Fix Bug entry for exclusion of runtime/jni/terminatedThread/TestTerminatedThread.java on AIX
Reviewed-by: mbaesken
2023-10-11 05:55:52 +00:00
Ioi Lam
84b7cc15c2 8317761: Combine two versions of print_statistics() in java.cpp
Reviewed-by: kvn, vlivanov
2023-10-11 05:11:41 +00:00
Jayathirth D V
3aa4cba175 8316975: Memory leak in MTLSurfaceData
Reviewed-by: prr
2023-10-11 03:36:17 +00:00
Jaikiran Pai
54861df3d9 8317802: jmh tests fail with Unable to find the resource: /META-INF/BenchmarkList after JDK-8306819
Reviewed-by: erikj, ihse
2023-10-11 00:54:54 +00:00
lawrence.andrews
f40ea5109e 8317751: ProblemList ConsumeForModalDialogTest.java, MenuItemActivatedTest.java & MouseModifiersUnitTest_Standard.java for windows
Reviewed-by: prr
2023-10-10 22:52:22 +00:00
Leonid Mesnik
fec1d49783 8316452: java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-10-10 20:14:56 +00:00
Alex Menkov
2b8276aa52 8316691: Heap dump: separate stack traces for mounted virtual threads
Reviewed-by: lmesnik, sspitsyn
2023-10-10 20:13:09 +00:00
Claes Redestad
33591a30d2 8317795: Add an ImmutableBitSetPredicate variant for bitsets <= 128 elements
Reviewed-by: pminborg, rriggs
2023-10-10 17:01:57 +00:00
Albert Mingkun Yang
fb4098ff1a 8317730: Change byte_size to return size_t
Reviewed-by: coleenp, kbarrett
2023-10-10 11:55:07 +00:00
Thomas Stuefe
c2abf120bc 8261894: Remove support for UseSHM
Reviewed-by: dholmes, ayang
2023-10-10 11:10:17 +00:00
Thomas Stuefe
ad7a8e86e0 8315505: CompileTask timestamp printed can overflow
Reviewed-by: thartmann
2023-10-10 07:28:51 +00:00
Christoph Langer
fcff222f92 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Reviewed-by: aivanov
2023-10-10 07:06:32 +00:00
Christoph Langer
ef41aa02b8 8317711: Exclude gtest/GTestWrapper.java on AIX
Reviewed-by: mbaesken
2023-10-10 07:05:53 +00:00
Christoph Langer
ad6dce376d 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Reviewed-by: sspitsyn
2023-10-10 07:05:31 +00:00
Kevin Driver
e882718a60 8314199: Initial size PBEKeyFactory#validTypes is not up-to-date
Reviewed-by: jnimeh
2023-10-10 05:43:12 +00:00
Serguei Spitsyn
d313915974 8316233: VirtualThreadStart events should not be thread-filtered
Reviewed-by: lmesnik, amenkov, cjplummer
2023-10-10 03:06:16 +00:00
Leonid Mesnik
053f45695f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-09 23:10:29 +00:00
Leonid Mesnik
5b311f20df 8316446: 4 sun/management/jdp tests ignore VM flags
Reviewed-by: cjplummer, kevinw
2023-10-09 23:09:39 +00:00
Justin Lu
8e0686b065 8317633: Modernize text.testlib.HexDumpReader
Reviewed-by: lancea, naoto, mli
2023-10-09 22:57:09 +00:00
Justin Lu
5e8d893c48 8317631: Refactor ChoiceFormat tests to use JUnit
Reviewed-by: naoto
2023-10-09 22:37:41 +00:00
Soumadipta Roy
f61499c73f 8316608: Enable parallelism in vmTestbase/gc/vector tests
Reviewed-by: shade, lmesnik
2023-10-09 18:55:35 +00:00
Jonathan Gibbons
3ff5a781db 8317693: Unused parameter to Tokens.Token.comment method
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +00:00
Daniel Fuchs
508fa71753 8317736: Stream::handleReset locks twice
Reviewed-by: ccleary, djelinski, jpai, vtewari
2023-10-09 16:31:34 +00:00
Naoto Sato
1f06325142 8317471: ListFormat::parseObject() spec can be improved on parsePosition valid values
Reviewed-by: iris, lancea, joehw, mli
2023-10-09 16:29:40 +00:00
Doug Simon
a07a4a3a59 8317422: [JVMCI] concurrency issue in MethodData creation
Reviewed-by: never, thartmann
2023-10-09 12:52:28 +00:00
Daniel Lundén
7ff19383fd 8310727: C2: *_of() methods in PhaseIterGVN should use uint for the node index
Reviewed-by: thartmann
2023-10-09 11:20:26 +00:00
Albert Mingkun Yang
a57ae7e7d4 8317594: G1: Refactor find_empty_from_idx_reverse
Reviewed-by: tschatzl, iwalulya
2023-10-09 10:39:34 +00:00
Varada M
6ddbfaae49 8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
Reviewed-by: dholmes, amitkumar
2023-10-09 09:24:42 +00:00
Thomas Schatzl
0cf1a558ba 8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
Reviewed-by: coleenp, ayang
2023-10-09 08:27:56 +00:00
Andrew Leonard
bcc986b9d1 8317601: Windows build on WSL broken after JDK-8317340
Reviewed-by: djelinski, erikj
2023-10-09 07:41:31 +00:00
Vyom Tewari
460ebcd9cb 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Reviewed-by: dfuchs
2023-10-08 05:13:00 +00:00
Joe Darcy
dc4bc4f084 8306819: Consider disabling the compiler's default active annotation processing
Reviewed-by: vromero
2023-10-06 21:45:58 +00:00
vamsi-parasa
a4e9168bab 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays)
Reviewed-by: jbhateja, sviswanathan, psandoz, kvn
2023-10-06 20:15:30 +00:00
Brian Burkhalter
6c6beba256 8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException
Reviewed-by: alanb, lancea
2023-10-06 17:46:03 +00:00
Raffaello Giulietti
b62e774e6a 8317515: Unify the code of the parse*() families of methods in j.l.Integer and j.l.Long
Reviewed-by: redestad
2023-10-06 16:20:21 +00:00
Mikael Vidstedt
a64794b1ed 8317560: Change to Xcode 14.3.1 for building on macOS at Oracle
Reviewed-by: erikj
2023-10-06 16:11:58 +00:00
Albert Mingkun Yang
b3cc0c8431 8317318: Serial: Change GenCollectedHeap to SerialHeap in whitebox
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:38 +00:00
Albert Mingkun Yang
691db5df73 8317592: Serial: Remove Space::toContiguousSpace
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:16 +00:00
Tobias Hartmann
ec9ba5dae9 8317660: [BACKOUT] 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: ayang
2023-10-06 10:56:00 +00:00
Damon Fenacci
7162624d70 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: thartmann, aph
2023-10-06 09:14:03 +00:00
Damon Fenacci
f0d66d1fd3 8317502: Add asserts to check for non-null in ciInstance::java_lang_Class_klass
Reviewed-by: kvn, thartmann
2023-10-06 08:57:08 +00:00
Ben Perez
991ce84e09 4964430: (spec) missing IllegalStateException exception requirement for javax.crypto.Cipher.doFinal
Reviewed-by: mullan, valeriep
2023-10-06 03:07:23 +00:00
Naoto Sato
8a30c2a9b2 8317443: StackOverflowError on calling ListFormat::getInstance() for Norwegian locales
Reviewed-by: joehw
2023-10-05 23:06:20 +00:00
Alexey Ivanov
a1c9587c27 8313348: Fix typo in JFormattedTextField: 'it self'
Reviewed-by: honkar, dnguyen, psadhukhan
2023-10-05 14:40:15 +00:00
Zhengyu Gu
a8eacb31ab 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Reviewed-by: coleenp, fparain
2023-10-05 13:41:11 +00:00
Daniel Fuchs
4c5b66dcea 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Reviewed-by: djelinski
2023-10-05 10:44:05 +00:00
Fredrik Bredberg
42be23877c 8316523: Relativize esp in interpreter frames (PowerPC only)
Reviewed-by: mdoerr, eosterlund
2023-10-05 10:14:08 +00:00
Ludvig Janiuk
a250ae4d1b 8317039: Enable specifying the JDK used to run jtreg
Reviewed-by: erikj
2023-10-05 07:54:34 +00:00
Emanuel Peter
1ed9c76ec8 8309204: Obsolete DoReserveCopyInSuperWord
Reviewed-by: kvn, thartmann
2023-10-05 07:01:18 +00:00
Emanuel Peter
3630af26e6 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: kvn, thartmann
2023-10-05 06:46:44 +00:00
Thomas Stuefe
c6c69b579c 8314654: Metaspace: move locking out of MetaspaceArena
Reviewed-by: adinn, jsjolen
2023-10-05 06:02:02 +00:00
Alisen Chung
3105538de5 8316146: Open some swing tests 4
Reviewed-by: honkar, aivanov, prr
2023-10-04 19:38:26 +00:00
Mandy Chung
36314a90c1 8267509: Improve IllegalAccessException message to include the cause of the exception
Reviewed-by: liach, naoto
2023-10-04 18:39:25 +00:00
Calvin Cheung
ddacf92713 8305765: CompressedClassPointers.java is unreliable due to ASLR
Reviewed-by: iklam
2023-10-04 17:27:33 +00:00
Albert Mingkun Yang
4195246fba 8317354: Serial: Move DirtyCardToOopClosure to gc/serial folder
Reviewed-by: tschatzl, iwalulya
2023-10-04 14:15:10 +00:00
Roland Westrelin
0a3a925ad8 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann
2023-10-04 12:06:52 +00:00
Roland Westrelin
b0d6c8472f 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann, kvn
2023-10-04 12:06:31 +00:00
Daniel Skantz
a8549b6367 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Reviewed-by: rcastanedalo, epeter, thartmann
2023-10-04 11:58:16 +00:00
Yudi Zheng
9718f490fb 8317452: [JVMCI] Export symbols used by lightweight locking to JVMCI compilers.
Reviewed-by: dnsimon
2023-10-04 10:18:39 +00:00
Maurizio Cimadamore
0d4de8a71f 8316971: Add Lint warning for restricted method calls
Reviewed-by: ihse, vromero
2023-10-04 09:36:53 +00:00
Aleksey Shipilev
d4c904d819 8317294: Classloading throws exceptions over already pending exceptions
Reviewed-by: dholmes, coleenp
2023-10-04 07:58:41 +00:00
Emanuel Peter
48f1a925e5 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: kvn, thartmann
2023-10-04 07:54:30 +00:00
Varada M
0b0f8b55a6 8219652: [aix] Tests failing with JNI attach problems.
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-10-04 06:07:14 +00:00
Mark Powers
8c0d026d0f 8315042: NPE in PKCS7.parseOldSignedData
Reviewed-by: valeriep, weijun
2023-10-04 00:23:42 +00:00
Alex Menkov
f7deaf4bef 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Reviewed-by: cjplummer, lmesnik, sspitsyn
2023-10-03 19:35:51 +00:00
Daniel D. Daugherty
8ff10a0d35 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317448: ProblemList compiler/interpreter/TestVerifyStackAfterDeopt.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms

Reviewed-by: thartmann
2023-10-03 19:18:27 +00:00
Naoto Sato
1809b8cdd6 8317265: ListFormat::format specification could be made clearer regarding handling IllegalArgumentException.
Reviewed-by: joehw
2023-10-03 18:32:57 +00:00
Vladimir Kozlov
cfabcbf858 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: thartmann, vlivanov, epeter
2023-10-03 18:18:26 +00:00
Justin Lu
b859da9c54 8316696: Remove the testing base classes: IntlTest and CollatorTest
Reviewed-by: naoto
2023-10-03 16:38:17 +00:00
Swati Sharma
b438cffdb9 8314085: Fixing scope from benchmark to thread for JMH tests having shared state
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: sviswanathan, ecaspole
2023-10-03 16:01:36 +00:00
Jiangli Zhou
ae796a4e10 8316923: Add DEF_STATIC_JNI_OnLoad for librmi
Reviewed-by: alanb
2023-10-03 15:33:48 +00:00
Leonid Mesnik
89987dbf87 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Reviewed-by: cjplummer, amenkov
2023-10-03 15:03:47 +00:00
Leonid Mesnik
0e501f66df 8308429: jvmti/StopThread/stopthrd007 failed with "NoClassDefFoundError: Could not initialize class jdk.internal.misc.VirtualThreads"
Reviewed-by: dholmes, sspitsyn
2023-10-03 15:03:21 +00:00
Thomas Schatzl
c47a0ce3f0 8317235: Remove Access API use in nmethod class
Reviewed-by: kbarrett, thartmann
2023-10-03 14:31:12 +00:00
Andrew Leonard
353d139682 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Reviewed-by: erikj
2023-10-03 14:00:00 +00:00
Glavo
3bcfac18c3 8317246: Cleanup java.net.URLEncoder and URLDecoder use of file.encoding property
Reviewed-by: rriggs, naoto
2023-10-03 10:34:12 +00:00
Nick Gasson
b6a97c0780 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: rkennke, aph
2023-10-03 08:17:51 +00:00
Daniel Jeliński
287b243221 8316893: Compile without -fno-delete-null-pointer-checks
Reviewed-by: kbarrett, erikj
2023-10-03 05:54:33 +00:00
David Holmes
26c21f50a3 8314294: Unsafe::allocateMemory and Unsafe::freeMemory are slower than malloc/free
Reviewed-by: shade, dlong
2023-10-03 04:38:36 +00:00
Mark Powers
6e1aacdfba 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: valeriep
2023-10-02 22:43:48 +00:00
Weijun Wang
d2e2c4cef1 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry
Reviewed-by: djelinski, mullan
2023-10-02 21:53:12 +00:00
Zhengyu Gu
e25121d1d9 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Reviewed-by: shade
2023-10-02 20:21:58 +00:00
Archie Cobbs
5c8366eea4 8268622: Performance issues in javac Name class
Reviewed-by: vromero
2023-10-02 20:15:43 +00:00
Mourad Abbay
ad81abd2db 8317034: Remove redundant type cast in the java.util.stream package
Reviewed-by: psandoz
2023-10-02 20:13:46 +00:00
Weijun Wang
d7d1d42b67 8316771: Krb5.java has not defined messages for all error codes
Reviewed-by: mullan
2023-10-02 19:55:22 +00:00
Weijun Wang
f985006142 8309356: Read files in includedir in alphanumeric order
Reviewed-by: mullan
2023-10-02 18:12:06 +00:00
Soumadipta Roy
a564d436c7 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Reviewed-by: shade, mli, lmesnik, tschatzl
2023-10-02 15:17:02 +00:00
Doug Simon
878d27dba1 8317273: compiler/codecache/OverflowCodeCacheTest.java fails transiently on Graal
Reviewed-by: never, thartmann
2023-10-02 14:18:27 +00:00
Albert Mingkun Yang
2637e8ddc4 8317314: Remove unimplemented ObjArrayKlass::oop_oop_iterate_elements_bounded
Reviewed-by: dcubed
2023-10-02 13:16:49 +00:00
Daniel Fuchs
8093563bce 8317295: ResponseSubscribers.SubscriberAdapter should call the finisher function asynchronously
Reviewed-by: djelinski
2023-10-02 13:06:43 +00:00
Daniel Jeliński
516cfb135f 8316907: Fix nonnull-compare warnings
Reviewed-by: kbarrett, jsjolen
2023-10-02 10:01:44 +00:00
Michal Sobierski
59847926b6 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Reviewed-by: shade, rhalade, valeriep
2023-10-02 09:56:14 +00:00
Emanuel Peter
eeb63cd0fa 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Reviewed-by: kvn, chagedorn
2023-10-02 08:03:10 +00:00
Ludvig Janiuk
69489427e9 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: erikj, jwaters
2023-10-02 07:40:11 +00:00
Thomas Schatzl
795e5dcc85 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-10-02 07:35:02 +00:00
Roberto Castañeda Lozano
207819a05e 8315604: IGV: dump and visualize node bottom and phase types
Co-authored-by: Tobias Holenstein <tholenstein@openjdk.org>
Reviewed-by: thartmann, chagedorn, tholenstein
2023-10-02 07:03:40 +00:00
Justin Lu
8fcf70e931 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes
Reviewed-by: naoto, darcy
2023-10-02 05:06:45 +00:00
Kim Barrett
93f662f4fc 8317335: Build on windows fails after 8316645
Reviewed-by: lmesnik
2023-10-01 20:01:09 +00:00
Robbin Ehn
b8fa6c23f5 8316186: RISC-V: Remove PlatformCmpxchg<4>
Reviewed-by: fyang, mli
2023-10-01 16:33:54 +00:00
Robbin Ehn
fb055e7e53 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
Reviewed-by: ihse, fyang, luhenry, mli
2023-10-01 16:32:05 +00:00
Jaikiran Pai
009f5e1fa1 8317141: Remove unused validIndex method from URLClassPath$JarLoader
Reviewed-by: alanb, lancea, dfuchs
2023-09-30 01:06:16 +00:00
Kevin Driver
47569a256c 8295919: java.security.MessageDigest.isEqual does not adhere to @implNote
Reviewed-by: mullan
2023-09-29 18:47:47 +00:00
Alexey Semenyuk
5a6aa569aa 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Reviewed-by: almatvee
2023-09-29 17:17:54 +00:00
Naoto Sato
014c95a54d 8317126: Redundant entries in Windows tzmappings file
Reviewed-by: lancea, iris, joehw
2023-09-29 16:36:29 +00:00
Mourad Abbay
fa0697a637 8316998: Remove redundant type arguments in the java.util.stream package
Reviewed-by: psandoz
2023-09-29 15:36:16 +00:00
Brian Burkhalter
49376e4452 8316000: File.setExecutable silently fails if file does not exist
Reviewed-by: alanb
2023-09-29 15:03:10 +00:00
Doug Simon
a185be0346 8317139: [JVMCI] oop handles clearing message pollutes event log
Reviewed-by: never, thartmann
2023-09-29 14:59:33 +00:00
Alexey Semenyuk
179792beb4 8317283: jpackage tests run osx-specific checks on windows and linux
Reviewed-by: almatvee
2023-09-29 14:53:42 +00:00
Roman Kennke
bd918f49d2 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Reviewed-by: cjplummer, dholmes
2023-09-29 11:14:13 +00:00
Afshin Zafari
c45308afac 8301327: convert assert to guarantee in Handle_IDiv_Exception
Reviewed-by: dnsimon, dholmes
2023-09-29 07:05:24 +00:00
Vladimir Kempik
bd7bb67d8f 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
2023-09-29 05:15:23 +00:00
Jaikiran Pai
0259da9283 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Reviewed-by: djelinski, wetmore
2023-09-29 05:00:02 +00:00
Justin Lu
355811a996 8316559: Refactor some util/Calendar tests to JUnit
Reviewed-by: naoto, lancea
2023-09-28 23:51:12 +00:00
Eamonn McManus
ecb5e8a03f 8317264: Pattern.Bound has static fields that should be static final.
Reviewed-by: psandoz
2023-09-28 23:01:18 +00:00
Mourad Abbay
f2c221def1 8317119: Remove unused imports in the java.util.stream package
Reviewed-by: naoto, iris, psandoz
2023-09-28 22:07:12 +00:00
Alexey Ivanov
09dad0e96b 8313810: BoxLayout uses <blockquote> instead of list for layout options
8313811: Improve description of how BoxLayout lays out components

Reviewed-by: prr
2023-09-28 19:46:07 +00:00
Alexey Ivanov
73a47f0c4a 4622866: javax.swing.text.Document.remove(int, int) has a misleading picture
Reviewed-by: prr
2023-09-28 19:28:37 +00:00
Aleksei Voitylov
cfcbfc6cae 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Reviewed-by: simonis, rgiulietti, rriggs
2023-09-28 18:11:40 +00:00
Leonid Mesnik
ca5eee2fe3 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Reviewed-by: cjplummer, sspitsyn
2023-09-28 17:15:40 +00:00
Albert Mingkun Yang
060db1b2a2 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Reviewed-by: tschatzl, iwalulya
2023-09-28 17:13:10 +00:00
Naoto Sato
3481a48571 8316974: ListFormat creation is unsuccessful for some of the supported Locales
Reviewed-by: joehw, rriggs
2023-09-28 16:04:46 +00:00
Matthias Baesken
29348b3cf6 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Reviewed-by: ihse, erikj
2023-09-28 15:53:03 +00:00
Ian Myers
3f19df685c 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Reviewed-by: shade, tschatzl
2023-09-28 15:52:36 +00:00
Daniel Fuchs
fc98998627 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: djelinski
2023-09-28 13:32:38 +00:00
Ashutosh Mehra
065203d44a 8313631: SA: stack trace printed using "where" command does not show class name
Reviewed-by: cjplummer, dholmes
2023-09-28 13:32:15 +00:00
Coleen Phillimore
0c55887bfb 8309599: WeakHandle and OopHandle release should clear obj pointer
Reviewed-by: dholmes, kbarrett
2023-09-28 12:00:20 +00:00
Lutz Schmidt
1230aed61d 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Reviewed-by: kvn, mdoerr
2023-09-28 11:50:51 +00:00
Albert Mingkun Yang
d0c1444d92 8316957: Serial: Change GenCollectedHeap to SerialHeap inside gc/serial folder
Reviewed-by: iwalulya, tschatzl
2023-09-28 11:49:03 +00:00
Matthias Baesken
bc5a39bb54 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Reviewed-by: mdoerr
2023-09-28 11:42:59 +00:00
Alexey Ivanov
3481ecb255 8316159: Update BoxLayout sample image for crisper edges
Move all rectangles half a pixel to make edges crisp

Reviewed-by: prr
2023-09-28 11:31:46 +00:00
Maurizio Cimadamore
798125152b 8316970: Add internal annotation to mark restricted methods
Reviewed-by: jvernee, iris, alanb
2023-09-28 09:49:57 +00:00
Ludvig Janiuk
77fac0f4c6 8316906: Clarify TLABWasteTargetPercent flag
Reviewed-by: ayang, iwalulya, tschatzl
2023-09-28 08:02:10 +00:00
Robbin Ehn
2d154fcd0d 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Reviewed-by: luhenry, fyang
2023-09-28 05:47:33 +00:00
Jaikiran Pai
42924ed4e5 8316946: jtreg failure handler pages are mislabelling the jcmd/thread/dump_to_file results.
Reviewed-by: dholmes
2023-09-28 05:42:26 +00:00
Daniel Jeliński
384d2ea6d1 8316125: Windows call_stub unnecessarily saves xmm16-31 when UseAVX>=3
Reviewed-by: jvernee, kvn, sviswanathan
2023-09-28 04:16:54 +00:00
Jean-Philippe Bempel
84390dd063 8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java fails intermittently
Reviewed-by: coleenp, dholmes
2023-09-28 02:43:41 +00:00
Ioi Lam
52073b27a3 8316994: Avoid modifying ClassLoader and Module objects during -Xshare:dump
Reviewed-by: matsaave, ccheung
2023-09-28 01:47:54 +00:00
Mikael Vidstedt
83c0e45160 8306630: Bump minimum boot jdk to JDK 21
Reviewed-by: darcy, erikj, iris, shade
2023-09-28 00:17:31 +00:00
Alisen Chung
d3a79b5861 8316371: Open some swing tests 6
Reviewed-by: dnguyen, prr
2023-09-27 23:20:29 +00:00
Ilya Gavrilin
750da00129 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Reviewed-by: fyang, luhenry
2023-09-27 17:07:10 +00:00
Thomas Schatzl
b8cec480f8 8315848: G1: Rename rs_ prefix to card_rs in analytics
Reviewed-by: ayang, lkorinth
2023-09-27 17:05:58 +00:00
Kevin Walls
5350fd6173 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization
Reviewed-by: lmesnik, cjplummer
2023-09-27 15:55:12 +00:00
Thomas Schatzl
edcc559f09 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Reviewed-by: kvn, thartmann
2023-09-27 15:14:57 +00:00
Roger Riggs
1be355734d 8315721: CloseRace.java#id0 fails transiently on libgraal
Reviewed-by: lancea, jpai
2023-09-27 13:30:35 +00:00
Fredrik Bredberg
347bd15e49 8315966: Relativize initial_sp in interpreter frames
Reviewed-by: fyang, mdoerr, pchilanomate
2023-09-27 13:15:07 +00:00
Alan Bateman
b24ad7cf57 8316924: java/lang/Thread/virtual/stress/ParkALot.java times out
Reviewed-by: jpai
2023-09-27 12:54:29 +00:00
Christoph Langer
ad6df41a9e 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Reviewed-by: mbaesken, aivanov
2023-09-27 12:37:39 +00:00
Afshin Zafari
45a145e5bc 8299915: Remove ArrayAllocatorMallocLimit and associated code
Reviewed-by: dholmes, coleenp
2023-09-27 08:27:02 +00:00
Axel Boldt-Christmas
50a7a04e9a 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists
Reviewed-by: cjplummer, dholmes
2023-09-27 08:16:34 +00:00
Daniel Jeliński
fee9d3362c 8293176: SSLEngine handshaker does not send an alert after a bad parameters
Reviewed-by: mdonovan, jnimeh
2023-09-27 07:33:52 +00:00
Daniel Jeliński
fd52be2a3c 8316895: SeenThread::print_action_queue called on a null pointer
Reviewed-by: coleenp, dholmes
2023-09-27 07:31:44 +00:00
Gui Cao
e39197ec62 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-27 07:18:42 +00:00
Matthias Baesken
b659e0343a 8316897: tools/jpackage/junit tests fail on AIX after JDK-8316547
Reviewed-by: cstein, asemenyuk, almatvee
2023-09-27 06:43:50 +00:00
Prasanta Sadhukhan
83806abe44 6450193: After the first Serialization, JTableHeader does not uninstall its UI
Reviewed-by: aivanov
2023-09-27 04:28:10 +00:00
Alexander Zvegintsev
2f311d59dc 8316211: Open source several manual applet tests
Reviewed-by: honkar, aivanov
2023-09-26 21:24:07 +00:00
Alexander Zvegintsev
65227a3c64 8316389: Open source few AWT applet tests
Reviewed-by: dnguyen, abhiscxk, aivanov
2023-09-26 21:23:34 +00:00
Alisen Chung
788e6e1548 8316218: Open some swing tests 5
Reviewed-by: prr, dnguyen
2023-09-26 20:52:04 +00:00
Leonid Mesnik
ee9776fa23 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Reviewed-by: amenkov, cjplummer
2023-09-26 18:35:13 +00:00
Brian Burkhalter
36ac83904c 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Reviewed-by: alanb
2023-09-26 15:27:44 +00:00
Amit Kumar
efb7e85ecf 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: mdoerr, lucy
2023-09-26 15:02:49 +00:00
Roland Westrelin
4e1e579e8b 8315920: C2: "control input must dominate current control" assert failure
Reviewed-by: thartmann, chagedorn
2023-09-26 14:32:54 +00:00
Matthias Baesken
1f7dfda705 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Reviewed-by: lucy
2023-09-26 14:01:45 +00:00
Martin Doerr
20ff603108 8316735: Print LockStack in hs_err files
Reviewed-by: dholmes, mbaesken
2023-09-26 13:33:33 +00:00
Albert Mingkun Yang
e510dee162 8316098: Revise signature of numa_get_leaf_groups
Reviewed-by: tschatzl, coleenp
2023-09-26 12:56:59 +00:00
Albert Mingkun Yang
1513e7910f 8316940: Serial: Remove unused declarations in genCollectedHeap
Reviewed-by: stefank, tschatzl
2023-09-26 12:56:24 +00:00
Roland Westrelin
52983ed529 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Reviewed-by: chagedorn, thartmann
2023-09-26 06:55:01 +00:00
Per Minborg
9e6cb62048 8316851: Add @sealedGraph to Executable
Reviewed-by: darcy
2023-09-26 06:00:58 +00:00
Amit Kumar
3fe6e0faca 8308479: [s390x] Implement alternative fast-locking scheme
Reviewed-by: lucy, mdoerr
2023-09-26 03:40:11 +00:00
David Holmes
e2e8e8e210 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Reviewed-by: chagedorn, pchilanomate
2023-09-25 23:42:17 +00:00
Sergey Bylokhov
0dce4c1758 8313220: Remove Windows specific workaround in LCMS.c for _snprintf
Reviewed-by: prr
2023-09-25 23:01:19 +00:00
Sergey Bylokhov
e5f05b5a96 8312191: ColorConvertOp.filter for the default destination is too slow
Reviewed-by: prr
2023-09-25 20:54:00 +00:00
Alexander Zuev
be9cc73fca 8315871: Opensource five more Swing regression tests
Reviewed-by: dnguyen, prr
2023-09-25 18:30:49 +00:00
Alexey Ivanov
b65f4f7220 8313403: Remove unused 'mask' field from JFormattedTextField
Reviewed-by: prr, honkar
2023-09-25 18:06:53 +00:00
Naoto Sato
e3201d1d13 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Reviewed-by: jlu, alanb
2023-09-25 18:03:52 +00:00
Liam Miller-Cushon
9291b46bcf 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
Reviewed-by: cjplummer, amenkov
2023-09-25 16:43:20 +00:00
Mourad Abbay
afa48333ab 8271268: Fix Javadoc links for Stream.mapMulti
Reviewed-by: liach, psandoz
2023-09-25 16:38:31 +00:00
Elif Aslan
9688ec2d0d 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Reviewed-by: shade, egahlin
2023-09-25 15:01:17 +00:00
Ian Myers
0f77d250b6 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Reviewed-by: shade, weijun
2023-09-25 13:12:41 +00:00
Ludovic Henry
311c7461c8 8316859: RISC-V: Disable detection of V through HWCAP
Reviewed-by: rehn, fyang
2023-09-25 12:21:47 +00:00
Andrew Leonard
0f0c5b2d71 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Reviewed-by: erikj
2023-09-25 08:35:53 +00:00
Thomas Schatzl
3d6e775d71 8316669: ImmutableOopMapSet destructor not called
Reviewed-by: thartmann, jvernee, kvn
2023-09-25 06:38:11 +00:00
Thomas Schatzl
837783c2d3 8316670: Remove effectively unused nmethodBucket::_count
Reviewed-by: kvn, dlong
2023-09-25 06:36:14 +00:00
Andrey Turbanov
89e068bc19 8316556: Fix typos in java.desktop
Reviewed-by: prr, aivanov
2023-09-25 06:32:40 +00:00
Hao Sun
481cfc7985 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: aph, dlong
2023-09-25 05:38:51 +00:00
Tejesh R
f0ff001dd7 8315742: Open source several Swing Scroll related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-25 05:35:35 +00:00
Alisen Chung
a2391a92cd 8316053: Open some swing tests 3
Reviewed-by: dnguyen, prr
2023-09-23 05:42:07 +00:00
Alisen Chung
d2d7d9a8b7 8315882: Open some swing tests 2
Reviewed-by: honkar, prr
2023-09-23 04:45:16 +00:00
Coleen Phillimore
68a9c81040 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Reviewed-by: dcubed, iklam
2023-09-22 21:58:01 +00:00
Alisen Chung
e015e6ce28 8315825: Open some swing tests
Reviewed-by: abhiscxk, prr
2023-09-22 20:51:14 +00:00
Chris Plummer
9aaac2eee3 8301639: JDI and JDWP specs should clarify potential deadlock issues with method invocation
Reviewed-by: dholmes, alanb
2023-09-22 20:29:00 +00:00
Hannes Wallnöfer
6b8261b8d6 8315464: Uncouple AllClassesIndexWriter from IndexBuilder
Reviewed-by: jjg
2023-09-22 19:17:40 +00:00
Mandy Chung
9b65b7ddbe 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447
Reviewed-by: bchristi
2023-09-22 18:38:06 +00:00
Ben Perez
53516aed38 8304956: Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback
Reviewed-by: hchao, mullan
2023-09-22 17:31:57 +00:00
Brian Burkhalter
373cdf257d 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: lancea, djelinski, rriggs
2023-09-22 17:24:05 +00:00
Naoto Sato
f7578e8048 8316540: StoreReproducibilityTest fails on some locales
Reviewed-by: joehw, jlu, jpai, alanb
2023-09-22 16:53:56 +00:00
Joe Darcy
b66ded9a5b 8316688: Widen allowable error bound of Math.hypot
Reviewed-by: bpb, rgiulietti
2023-09-22 16:35:55 +00:00
Aleksey Shipilev
6c61bc1950 8316514: Better diagnostic header for VtableStub
Reviewed-by: thartmann, kvn
2023-09-22 16:24:06 +00:00
Martin Doerr
c90d63105c 8315750: Update subtype check profile collection on PPC following 8308869
Reviewed-by: rrich, lucy
2023-09-22 13:21:10 +00:00
Alexey Ivanov
00f585bd22 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Reviewed-by: azvegint, prr, goetz
2023-09-22 12:47:01 +00:00
Claes Redestad
c24c66db97 8316681: Rewrite URLEncoder.encode to use small reusable buffers
Reviewed-by: dfuchs, rriggs
2023-09-22 09:41:01 +00:00
Xin Liu
bd2439f3fc 8316702: Only evaluate buffer when IGVPrintLevelOption >= 5
Reviewed-by: chagedorn, thartmann
2023-09-22 08:35:35 +00:00
Tobias Hartmann
4b65483921 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Reviewed-by: roland, chagedorn
2023-09-22 08:30:49 +00:00
Severin Gehwolf
7352bb9105 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Reviewed-by: shade
2023-09-22 08:12:51 +00:00
Yi-Fan Tsai
343cc0ce2b 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: kvn, thartmann
2023-09-22 07:57:05 +00:00
Stefan Karlsson
fe862639e7 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Reviewed-by: aboldtch, serb
2023-09-22 06:38:45 +00:00
Jie Fu
775e22a8a6 8316699: TestDynamicConstant.java fails with release VMs
Reviewed-by: dholmes
2023-09-22 02:14:52 +00:00
Mandy Chung
a1e03463ac 8316698: build failure caused by JDK-8316456
Reviewed-by: dcubed, dholmes
2023-09-22 00:10:06 +00:00
Mandy Chung
c72f00463f 8316456: StackWalker may skip Continuation::yield0 frame mistakenly
Reviewed-by: rpressler, pchilanomate
2023-09-21 23:10:49 +00:00
Alex Menkov
041510dc21 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Reviewed-by: cjplummer, lmesnik
2023-09-21 22:24:24 +00:00
Justin Lu
ef49e6c0d7 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Reviewed-by: naoto
2023-09-21 21:31:37 +00:00
Justin Lu
496264c1f9 8316435: sun.util.calendar.CalendarSystem subclassing should be restricted
Reviewed-by: naoto
2023-09-21 21:31:07 +00:00
Daniel D. Daugherty
1100dbc6b2 8316695: ProblemList serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java
Reviewed-by: ccheung, kbarrett
2023-09-21 20:59:30 +00:00
Damon Nguyen
d3e8218386 8316306: Open source and convert manual Swing test
Reviewed-by: honkar, azvegint
2023-09-21 19:37:47 +00:00
Joe Wang
4e5717754a 8316383: NullPointerException in AbstractSAXParser after JDK-8306632
Reviewed-by: lancea, naoto
2023-09-21 19:17:24 +00:00
Alexander Zvegintsev
3b397c8552 8315965: Open source various AWT applet tests
Reviewed-by: honkar, psadhukhan
2023-09-21 18:28:19 +00:00
Sean Mullan
c698b45a7b 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Reviewed-by: jnimeh
2023-09-21 17:31:46 +00:00
Sacha Coppey
015f6f5d94 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments
Reviewed-by: dnsimon, psandoz
2023-09-21 17:00:46 +00:00
Damon Nguyen
83b01cf3c2 8311922: [macOS] right-Option key fails to generate release event
Reviewed-by: honkar, prr
2023-09-21 16:42:14 +00:00
Doug Simon
542b3000f0 8315954: getArgumentValues002.java fails on Graal
Reviewed-by: never, fparain
2023-09-21 16:28:44 +00:00
Daniel Jeliński
063790012d 8316433: net.dll should delay load winhttp.dll
Reviewed-by: erikj, ihse
2023-09-21 15:43:05 +00:00
Thomas Schatzl
90bcdbd15f 8316581: Improve performance of Symbol::print_value_on()
Reviewed-by: shade, coleenp, dholmes
2023-09-21 14:47:06 +00:00
Doug Simon
8350268c05 8316453: [JVMCI] Using Xcomp on jargraal must eagerly initialize JVMCI
Reviewed-by: never, thartmann
2023-09-21 14:29:06 +00:00
Alexander Zvegintsev
3809d69ac4 8316240: Open source several add/remove MenuBar manual tests
Reviewed-by: honkar, psadhukhan
2023-09-21 13:57:28 +00:00
Jorn Vernee
38bf1192b6 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: dholmes, djelinski
2023-09-21 13:54:35 +00:00
Daniel Jeliński
349723cb8d 8315739: Missing null check in os::vm_min_address
Reviewed-by: dholmes, jvernee
2023-09-21 12:43:53 +00:00
Daniel Jeliński
8cbe42b94a 8316421: libjava should load shell32.dll eagerly
Reviewed-by: erikj, jwaters, jvernee
2023-09-21 12:39:03 +00:00
Matthias Baesken
378bcd5985 8316595: Alpine build fails after JDK-8314021
Reviewed-by: dholmes, yyang
2023-09-21 12:24:51 +00:00
Coleen Phillimore
b3d75fe12e 8310874: Runthese30m crashes with klass should be in the placeholders during verification
Reviewed-by: dholmes, iklam
2023-09-21 12:17:34 +00:00
Martin Doerr
6a4b665550 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Reviewed-by: goetz, mbaesken
2023-09-21 12:06:27 +00:00
Claes Redestad
913e43fea9 8316582: Minor startup regression in 22-b15 due JDK-8310929
Reviewed-by: liach, rriggs
2023-09-21 09:36:28 +00:00
Sergei Tachenov
23ed890f3f 6415065: Submenu is shown on wrong screen in multiple monitor environment
Reviewed-by: prr
2023-09-21 09:00:26 +00:00
Christian Hagedorn
ca47f5f06d 8316105: C2: Back to back Parse Predicates from different loops but with same deopt reason are wrongly grouped together
Reviewed-by: roland, thartmann, kvn
2023-09-21 08:56:31 +00:00
Chen Liang
1749ba265b 8311084: Add typeSymbol() API for applicable constant pool entries
Reviewed-by: briangoetz, asotona
2023-09-21 08:05:01 +00:00
Abhishek Kumar
9f5d2b947f 8316285: Opensource JButton manual tests
Reviewed-by: psadhukhan, tr
2023-09-21 06:35:34 +00:00
Qing Xiao
a35e96a3fa 8313612: Use JUnit in lib-test/jdk tests
Reviewed-by: cstein, asotona
2023-09-21 06:24:49 +00:00
Deepa Kumari
bee7524251 8315786: [AIX] Build Disk Local Detection Issue with GNU-utils df on AIX
Reviewed-by: tsteele, erikj, amitkumar
2023-09-21 06:01:49 +00:00
Roberto Castañeda Lozano
ceff47b462 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: ayang, thartmann, kvn
2023-09-21 05:49:09 +00:00
Jean-Philippe Bempel
df4a25b41c 8308762: Metaspace leak with Instrumentation.retransform
Reviewed-by: dholmes, coleenp
2023-09-21 05:16:07 +00:00
David Holmes
84124794c2 8316229: Enhance class initialization logging
Reviewed-by: shade, coleenp
2023-09-21 00:50:33 +00:00
Damon Nguyen
c04c9ea361 8316627: JViewport Test headless failure
Reviewed-by: dcubed, prr
2023-09-20 22:11:27 +00:00
Brian Burkhalter
5cacf212f0 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Reviewed-by: alanb
2023-09-20 20:42:31 +00:00
Erik Joelsson
3461c7b165 8316532: Native library copying in BuildMicrobenchmark.gmk cause dups on macOS
Reviewed-by: ihse, redestad
2023-09-20 20:36:16 +00:00
Coleen Phillimore
3301fb1e8a 8315869: UseHeavyMonitors not used
Reviewed-by: dcubed, alanb
2023-09-20 19:09:02 +00:00
Leonid Mesnik
54028e779b 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Reviewed-by: dholmes, kevinw, dcubed
2023-09-20 18:13:45 +00:00
Naoto Sato
7c991cc567 8296246: Update Unicode Data Files to Version 15.1.0
Reviewed-by: erikj, joehw, srl, rriggs
2023-09-20 17:39:57 +00:00
Damon Nguyen
a021dbcb9e 8316149: Open source several Swing JTree JViewport KeyboardManager tests
Reviewed-by: psadhukhan, tr
2023-09-20 16:19:37 +00:00
Daniel D. Daugherty
455cfae1e1 8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Reviewed-by: dholmes, rkennke, stefank
2023-09-20 15:27:27 +00:00
Coleen Phillimore
9e00949a26 8316427: Duplicated code for {obj,type}ArrayKlass::array_klass
Reviewed-by: dholmes, adinn
2023-09-20 14:38:04 +00:00
Alexander Zuev
c43ebd34af 8315981: Opensource five more random Swing tests
Reviewed-by: tr, azvegint
2023-09-20 14:31:42 +00:00
Leo Korinth
e30e356442 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Reviewed-by: ihse, erikj
2023-09-20 13:04:45 +00:00
Erik Joelsson
242eeaea47 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Reviewed-by: jwaters, ihse
2023-09-20 12:48:19 +00:00
Tim Prinzing
b275bdd9b5 8308995: Update Network IO JFR events to be static mirror events
Reviewed-by: egahlin, alanb
2023-09-20 12:34:08 +00:00
Matthias Baesken
e1870d360e 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Reviewed-by: mdoerr, chagedorn
2023-09-20 09:08:52 +00:00
Aleksey Shipilev
ec74194cb7 8316546: Backout JDK-8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: dholmes
2023-09-20 05:33:36 +00:00
Alexey Semenyuk
2568188630 8316547: Use JUnit.dir jtreg property with jpackage JUnit tests
Reviewed-by: almatvee
2023-09-19 21:43:35 +00:00
Harshitha Onkar
833a82872c 8315876: Open source several Swing CSS related tests
Reviewed-by: azvegint, dnguyen, aivanov
2023-09-19 20:41:57 +00:00
Man Cao
7ce5bd1590 8316468: os::write incorrectly handles partial write
Reviewed-by: dholmes, shade
2023-09-19 20:06:40 +00:00
Harshitha Onkar
d19e017d3f 8315951: Open source several Swing HTMLEditorKit related tests
Reviewed-by: dnguyen, aivanov
2023-09-19 18:42:56 +00:00
Damon Nguyen
62c0a1b9ac 8315883: Open source several Swing JToolbar tests
Reviewed-by: honkar, aivanov
2023-09-19 18:28:37 +00:00
Harshitha Onkar
0c972468e7 8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp
Reviewed-by: aivanov, serb
2023-09-19 17:37:49 +00:00
Damon Nguyen
d2b2f6759f 8315952: Open source several Swing JToolbar JTooltip JTree tests
Reviewed-by: aivanov, honkar
2023-09-19 17:34:03 +00:00
Damon Nguyen
5f6cee86ef 8316056: Open source several Swing JTree tests
Reviewed-by: honkar, aivanov
2023-09-19 16:56:12 +00:00
Mikhailo Seledtsov
b685ee00b2 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: dholmes, lmesnik
2023-09-19 16:42:23 +00:00
Leonid Mesnik
e0f8d16833 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Reviewed-by: cjplummer
2023-09-19 16:35:50 +00:00
Leonid Mesnik
7b1e2bfe0f 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Reviewed-by: dholmes
2023-09-19 16:33:31 +00:00
Rajan Halade
da57d2a1eb 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
2023-09-19 16:11:23 +00:00
Albert Mingkun Yang
a6d120d4df 8316513: Serial: Remove unused invalidate_remembered_set
Reviewed-by: tschatzl
2023-09-19 15:20:51 +00:00
Adam Farley
607bd4ed84 8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt
Reviewed-by: clanger, erikj
2023-09-19 14:13:40 +00:00
Glavo
f25c920fd3 8314774: Optimize URLEncoder
Reviewed-by: redestad, dfuchs
2023-09-19 13:49:58 +00:00
Tejesh R
7c5f2a2db9 8315669: Open source several Swing PopupMenu related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-19 13:36:16 +00:00
Per Minborg
cf74b8c2a3 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Alan Bateman
4461eeb31d 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Reviewed-by: sspitsyn, rpressler
2023-09-19 10:58:12 +00:00
Andrew Haley
670b4567cf 8315038: Capstone disassembler stops when it sees a bad instruction
Reviewed-by: jvernee, shade
2023-09-19 09:16:57 +00:00
Thomas Schatzl
fab372d3a2 8316428: G1: Nmethod count statistics only count last code root set iterated
Reviewed-by: iwalulya, ayang
2023-09-19 08:30:17 +00:00
Andrey Turbanov
283c360392 8314877: Make fields final in 'java.net' package
Reviewed-by: jpai
2023-09-19 08:26:25 +00:00
Albert Mingkun Yang
86115c2a2e 8316420: Serial: Remove unused GenCollectedHeap::oop_iterate
Reviewed-by: stefank, tschatzl
2023-09-19 08:25:52 +00:00
Thomas Schatzl
d038571213 8030815: Code roots are not accounted for in region prediction
Reviewed-by: iwalulya, ayang
2023-09-19 08:23:57 +00:00
Tejesh R
138542de78 8316061: Open source several Swing RootPane and Slider related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:33 +00:00
Tejesh R
f52e500f80 8316104: Open source several Swing SplitPane and RadioButton related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:01 +00:00
Yi Yang
3760a0448d 8314021: HeapDump: Optimize segmented heap file merging phase
Reviewed-by: amenkov, kevinw
2023-09-19 02:03:15 +00:00
Calvin Cheung
f226ceb435 8316440: LambdasInTwoArchives.java failed to find WhiteBox.class
Reviewed-by: iklam
2023-09-19 00:12:36 +00:00
Damon Nguyen
24c3d86f32 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Reviewed-by: honkar, aivanov
2023-09-18 23:08:26 +00:00
Justin Lu
373e37bf13 8313813: Field sun.util.calendar.CalendarDate#forceStandardTime is never set
Reviewed-by: aturbanov, naoto
2023-09-18 22:08:17 +00:00
Joe Darcy
5308bbbcf8 8246280: Refine API to model sealed classes and interfaces in javax.lang.model
Reviewed-by: vromero, jjg
2023-09-18 20:40:01 +00:00
Alexey Semenyuk
dcea9bf087 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Reviewed-by: almatvee
2023-09-18 20:19:36 +00:00
Alexey Semenyuk
1b104b63a9 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Reviewed-by: almatvee
2023-09-18 20:12:38 +00:00
Aleksey Shipilev
4421951d8f 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Reviewed-by: lmesnik, cjplummer
2023-09-18 18:29:33 +00:00
shaojin.wensj
f09b7af685 8311220: Optimization for StringLatin UpperLower
Reviewed-by: redestad, liach
2023-09-18 17:04:50 +00:00
Christoph Langer
2e2d49c76d 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Reviewed-by: mbaesken
2023-09-18 12:31:36 +00:00
Christoph Langer
bf9d1e2071 8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX
Reviewed-by: alanb
2023-09-18 12:31:14 +00:00
Joachim Kern
21c2dac159 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Reviewed-by: dholmes, mbaesken
2023-09-18 11:57:48 +00:00
Albert Mingkun Yang
ecce2afc1a 8316357: Serial: Remove unused GenCollectedHeap::space_containing
Reviewed-by: tschatzl
2023-09-18 11:36:42 +00:00
Nikita Sakharin
3828dc913a 8314236: Overflow in Collections.rotate
Co-authored-by: Nikita Sakharin <17588081+nikita-sakharin@users.noreply.github.com>
Reviewed-by: shade, smarks
2023-09-18 09:20:11 +00:00
Adam Sotona
1203e11a8d 8294969: Convert jdk.jdeps javap to use the Classfile API
Reviewed-by: vromero
2023-09-18 08:35:31 +00:00
Leo Korinth
fbc766ee21 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-18 07:14:53 +00:00
Matthias Baesken
aa0ebeedb1 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Reviewed-by: lucy, clanger
2023-09-18 07:01:48 +00:00
Aleksey Shipilev
ca3fe7b3fd 8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: phh, vlivanov
2023-09-18 05:53:12 +00:00
Alan Bateman
f44032969f 8316391: (zipfs) ZipFileSystem.readFullyAt does not tolerate short reads
Reviewed-by: jpai, lancea
2023-09-17 11:53:12 +00:00
Doug Simon
4b8f5d031a 8316273: JDK-8315818 broke JVMCIPrintProperties on libgraal
Reviewed-by: never, kvn
2023-09-16 21:31:23 +00:00
Christoph Langer
e62419823a 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
Reviewed-by: alanb
2023-09-16 21:08:49 +00:00
Pavel Rappo
c92bdb0e91 8316187: Modernize examples in StringTokenizer and {Date,Number}Format
Reviewed-by: naoto
2023-09-16 07:51:34 +00:00
Harshitha Onkar
8f46abc938 8315889: Open source several Swing HTMLDocument related tests
Reviewed-by: tr, azvegint
2023-09-15 20:32:38 +00:00
Chris Plummer
00504472b9 8316148: Remove sun/tools/jhsdb/JStackStressTest.java from problem list
Reviewed-by: dholmes
2023-09-15 20:22:03 +00:00
Pavel Rappo
149acd186e 8316207: Fix typos in java.io.StreamTokenizer
Reviewed-by: naoto
2023-09-15 17:32:41 +00:00
Daniel Fuchs
dc5ca1d379 8316031: SSLFlowDelegate should not log from synchronized block
Reviewed-by: djelinski
2023-09-15 17:21:27 +00:00
Brian Burkhalter
8dfde28b28 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: alanb
2023-09-15 15:15:46 +00:00
Sean Mullan
3c743cfea0 8312126: NullPointerException in CertStore.getCRLs after 8297955
Reviewed-by: weijun
2023-09-15 13:12:15 +00:00
Albert Mingkun Yang
bd268137ed 8316295: Serial: Remove empty Generation::promotion_failure_occurred
Reviewed-by: tschatzl
2023-09-15 11:39:16 +00:00
Feilong Jiang
42dc6b5d3a 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: fyang
2023-09-15 10:04:43 +00:00
Roman Kennke
31c4e03d5d 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: jsjolen, eosterlund
2023-09-15 09:48:58 +00:00
Andrey Turbanov
89cb290bb0 8312165: Fix typos in java.desktop Swing
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2023-09-15 09:18:28 +00:00
Alan Bateman
25f32f3538 8316160: Remove sun.misc.Unsafe.{shouldBeInitialized,ensureClassInitialized}
Reviewed-by: rriggs, mchung, jpai
2023-09-15 09:09:21 +00:00
Leo Korinth
86dde5e02b 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-15 08:59:48 +00:00
Daniel Fuchs
4f864faf42 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Reviewed-by: jpai
2023-09-15 08:30:18 +00:00
Gui Cao
4070829ae5 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-15 07:42:23 +00:00
Aleksey Shipilev
d575968b4b 8316178: Better diagnostic header for CodeBlobs
Reviewed-by: thartmann, kvn
2023-09-15 07:14:35 +00:00
Abhishek Kumar
bfbc41c1f1 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Reviewed-by: kizune, tr
2023-09-15 06:23:20 +00:00
Abhishek Kumar
0775bf2f03 8316106: Open source few swing JInternalFrame and JMenuBar tests
Reviewed-by: kizune, tr
2023-09-15 06:18:36 +00:00
Tejesh R
4a63eb0522 8315834: Open source several Swing JSpinner related tests
Reviewed-by: psadhukhan, abhiscxk
2023-09-15 06:08:27 +00:00
Per Minborg
8dc2d9280e 8316190: Improve MemorySegment::toString
Reviewed-by: rriggs
2023-09-15 05:43:57 +00:00
Jayathirth D V
783e44d07e 8316326: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all again
Reviewed-by: dholmes
2023-09-15 03:04:28 +00:00
Pengfei Li
96781ba33d 8312332: C2: Refactor SWPointer out from SuperWord
Reviewed-by: epeter, kvn
2023-09-15 01:02:44 +00:00
Justin Lu
b55e418a07 8301991: Convert l10n properties resource bundles to UTF-8 native
Reviewed-by: naoto
2023-09-14 22:19:18 +00:00
Harshitha Onkar
d475f61fd5 8315731: Open source several Swing Text related tests
Reviewed-by: psadhukhan, tr
2023-09-14 22:03:03 +00:00
Soumadipta Roy
4415261688 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: martin, shade
2023-09-14 19:22:31 +00:00
Adam Sotona
b2e91060db 8313452: Improve Classfile API attributes handling safety
Reviewed-by: briangoetz
2023-09-14 18:52:51 +00:00
Chris Plummer
2a6fb9ce59 8316147: Remove serviceability/sa/TestJhsdbJstackMixed.java from -Xcomp problem list
Reviewed-by: lmesnik
2023-09-14 18:52:24 +00:00
Adam Sotona
ca747f09b6 8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
Reviewed-by: briangoetz
2023-09-14 18:30:39 +00:00
Adam Sotona
6d47fc6d5b 8313258: RuntimeInvisibleTypeAnnotationsAttribute.annotations() API Index out of Bound error
Reviewed-by: briangoetz
2023-09-14 18:29:01 +00:00
Adam Sotona
c7d306c65c 8315541: Classfile API TypeAnnotation.TargetInfo factory methods accept null labels
Reviewed-by: briangoetz
2023-09-14 18:27:12 +00:00
Harshitha Onkar
c11f8352e9 8315824: Open source several Swing Text/HTML related tests
Reviewed-by: psadhukhan, azvegint
2023-09-14 17:51:54 +00:00
Mandy Chung
5cea53d372 8315810: Reimplement sun.reflect.ReflectionFactory::newConstructorForSerialization with method handles
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: rriggs
2023-09-14 16:10:55 +00:00
Soumadipta Roy
eb1f67b160 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Reviewed-by: shade, lmesnik
2023-09-14 15:59:13 +00:00
Prasanta Sadhukhan
a57b9dab6c 8316242: Opensource SwingGraphics manual test
Reviewed-by: kizune, abhiscxk
2023-09-14 15:50:03 +00:00
Albert Mingkun Yang
3abe7982bf 8316115: Parallel: Fix -Wconversion warnings around NUMA node ID
Reviewed-by: shade, tschatzl
2023-09-14 14:49:40 +00:00
Matias Saavedra Silva
83dca6296e 8313638: Add test for dump of resolved references
Reviewed-by: ccheung, iklam
2023-09-14 14:30:14 +00:00
Robbin Ehn
cfa89012ab 8315338: RISC-V: Change flags for stable extensions to non-experimental
Reviewed-by: fyang, luhenry, fjiang
2023-09-14 13:50:49 +00:00
Soumadipta Roy
edd454b502 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Reviewed-by: shade, tschatzl
2023-09-14 12:21:45 +00:00
Albert Mingkun Yang
de9b971c2e 8315933: Serial: Remove empty Generation::ensure_parsability
Reviewed-by: tschatzl, sjohanss
2023-09-14 12:06:25 +00:00
Stefan Karlsson
b48dbf6bfa 8316181: Move the fast locking implementation out of the .ad files
Reviewed-by: thartmann, rkennke, fyang
2023-09-14 11:50:24 +00:00
Prasanta Sadhukhan
8f4dfc443b 8316164: Opensource JMenuBar manual test
Reviewed-by: tr, jdv
2023-09-14 10:21:44 +00:00
Prasanta Sadhukhan
33c62e4fff 8316154: Opensource JTextArea manual tests
Reviewed-by: abhiscxk, jdv
2023-09-14 10:09:08 +00:00
Andrey Turbanov
14408bc8f8 8315973: Remove unused fields from ThreadLocalRandom
Reviewed-by: jpai
2023-09-14 09:01:13 +00:00
Kevin Walls
903b9e8dd9 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: lmesnik, cjplummer
2023-09-14 07:06:20 +00:00
Stefan Karlsson
639ba13c4b 8316179: Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: rkennke, coleenp, dholmes
2023-09-14 07:02:29 +00:00
Leonid Mesnik
11d431b2c4 8316228: jcmd tests are broken by 8314828
Reviewed-by: dholmes
2023-09-14 01:20:24 +00:00
Sergey Bylokhov
eb37c7e361 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Reviewed-by: shade
2023-09-13 23:40:44 +00:00
Leonid Mesnik
23fab1181b 8314828: Mark 3 jcmd command-line options test as vm.flagless
Reviewed-by: cjplummer
2023-09-13 22:52:01 +00:00
Alexander Zvegintsev
1741d13b12 8315726: Open source several AWT applet tests
Reviewed-by: psadhukhan, aivanov
2023-09-13 22:23:27 +00:00
Claes Redestad
92ad4a2399 8315789: Minor HexFormat performance improvements
Reviewed-by: rriggs
2023-09-13 20:58:23 +00:00
Justin Lu
ce93d27fe5 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
2023-09-13 20:32:21 +00:00
Aggelos Biboudis
3b0a6d2a68 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Reviewed-by: mcimadamore, vromero
2023-09-13 15:09:01 +00:00
Sean Coffey
ff240a9135 8316087: Test SignedLoggerFinderTest.java is still failing
Reviewed-by: dfuchs
2023-09-13 15:05:46 +00:00
Ludovic Henry
a731a24c93 8315934: RISC-V: Disable conservative fences per vendor
Reviewed-by: rehn, mli, fyang
2023-09-13 14:54:43 +00:00
Albert Mingkun Yang
b3dad2443a 8316021: Serial: Remove unused Generation::post_compact
Reviewed-by: tschatzl
2023-09-13 13:40:54 +00:00
Per Minborg
f9ab115acb 8316050: Use hexadecimal encoding in MemorySegment::toString
Reviewed-by: rriggs, mcimadamore
2023-09-13 12:45:54 +00:00
Emanuel Peter
f804f8652d 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Reviewed-by: chagedorn, kvn
2023-09-13 10:47:20 +00:00
shaojin.wensj
f8df754b9a 8311207: Cleanup for Optimization for UUID.toString
Reviewed-by: liach, rriggs
2023-09-13 08:25:13 +00:00
Abhishek Kumar
fecd2fd8f2 8315898: Open source swing JMenu tests
Reviewed-by: serb
2023-09-13 07:42:53 +00:00
Abhishek Kumar
bb6b3f2486 8315761: Open source few swing JList and JMenuBar tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:35:01 +00:00
Aleksey Shipilev
2d168c5734 8313202: MutexLocker should disallow null Mutexes
Reviewed-by: dholmes, coleenp, dcubed
2023-09-13 07:32:54 +00:00
Matthias Baesken
36552e7193 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Reviewed-by: clanger
2023-09-13 07:29:10 +00:00
Abhishek Kumar
fe5ef5f20d 8315677: Open source few swing JFileChooser and other tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:27:18 +00:00
Aleksey Shipilev
ece9bdfc83 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Reviewed-by: rkennke, zgu
2023-09-13 06:04:10 +00:00
Prasanta Sadhukhan
a36f5a54ab 8315663: Open source misc awt tests
Reviewed-by: tr, jdv
2023-09-13 05:25:25 +00:00
Robbin Ehn
cbbfa0ddfb 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: fyang, luhenry
2023-09-13 04:59:19 +00:00
Robbin Ehn
1ebf510e5a 8315743: RISC-V: Cleanup masm lr()/sc() methods
Reviewed-by: fyang, luhenry
2023-09-13 04:58:49 +00:00
Sergey Bylokhov
bd52bbfa27 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Reviewed-by: lmesnik, dholmes
2023-09-13 02:33:03 +00:00
Justin Lu
dde11551e2 8315946: DecimalFormat and CompactNumberFormat do allow U+FFFE and U+FFFF in the pattern
Reviewed-by: naoto
2023-09-12 22:59:34 +00:00
Erik Joelsson
a9679acd5c 8253620: Debug symbols for tests missing on macos and windows
Reviewed-by: dholmes, ihse, jwaters
2023-09-12 20:17:52 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Naoto Sato
ac2dfe45d1 8313865: Always true condition in sun.nio.cs.CharsetMapping#readINDEXC2B
Reviewed-by: aturbanov, vtewari, rriggs, iris
2023-09-12 18:19:07 +00:00
Aleksey Shipilev
947dee7f2d 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Reviewed-by: jpai, aefimov, dfuchs
2023-09-12 18:13:55 +00:00
Andrew Haley
1d702d28b6 8313800: AArch64: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: cjplummer
2023-09-12 16:49:55 +00:00
shaojin.wensj
e0845163aa 8315968: Move java.util.Digits to jdk.internal.util and refactor to reduce duplication
Reviewed-by: rriggs, liach, redestad
2023-09-12 16:35:01 +00:00
Mandy Chung
d75d9774c8 8285447: StackWalker minimal batch size should be optimized for getCallerClass
Reviewed-by: simonis
2023-09-12 16:24:16 +00:00
Mikhailo Seledtsov
fc3e826692 8314832: Few runtime/os tests ignore vm flags
Reviewed-by: dholmes, lmesnik
2023-09-12 14:40:06 +00:00
Thomas Schatzl
347beb21aa 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Reviewed-by: coleenp
2023-09-12 13:34:04 +00:00
Thomas Schatzl
50158f393e 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Reviewed-by: coleenp
2023-09-12 12:38:38 +00:00
Doug Simon
6f2684b7ba 8315948: JDK-8315818 broke Xcomp on libgraal
Reviewed-by: never, thartmann
2023-09-12 12:02:34 +00:00
Prasanta Sadhukhan
8b4f9a88e6 8315990: Amend problemlisted tests to proper position
Reviewed-by: aivanov
2023-09-12 11:47:07 +00:00
Jiangli Zhou
455c471ee3 8313277: Resolve multiple definition of 'normalize' when statically linking JDK native libraries with user code
Co-authored-by: Chris Moon <cjmoon@google.com>
Reviewed-by: dholmes, stuefe, sspitsyn
2023-09-12 09:06:08 +00:00
Christian Hagedorn
3b422d0dc1 8316094: Problemlist compiler/rangechecks/TestRangeCheckHoistingScaledIV.java
Reviewed-by: thartmann
2023-09-12 08:54:59 +00:00
Pavel Rappo
f55e799491 8316038: Fix doc typos in java.io.Console and java.util.Scanner
Reviewed-by: bpb, naoto, iris
2023-09-12 08:11:24 +00:00
Albert Mingkun Yang
94800781ea 8315550: G1: Fix -Wconversion warnings in g1NUMA
Reviewed-by: tschatzl, iwalulya
2023-09-12 07:40:29 +00:00
Alan Bateman
d08258f735 8315938: Deprecate for removal Unsafe methods that have standard APIs for many releases
Reviewed-by: mchung, psandoz, iris
2023-09-12 07:19:05 +00:00
Serguei Spitsyn
fda142ff6c 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Reviewed-by: lmesnik, amenkov
2023-09-12 02:46:47 +00:00
Naoto Sato
d0be73a780 8041488: Locale-Dependent List Patterns
Reviewed-by: joehw, rriggs
2023-09-11 16:48:22 +00:00
Aleksey Shipilev
dd214d0f95 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Reviewed-by: lmesnik, cjplummer
2023-09-11 16:41:35 +00:00
Soumadipta Roy
877731d2a2 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Reviewed-by: shade, kevinw, cjplummer, lmesnik
2023-09-11 16:34:56 +00:00
Albert Mingkun Yang
d06a564328 8315765: G1: Incorrect use of G1LastPLABAverageOccupancy
Reviewed-by: iwalulya, tschatzl
2023-09-11 14:42:10 +00:00
Aleksei Efimov
66b6a5a84f 8277954: Replace use of monitors with explicit locks in the JDK LDAP provider implementation
Reviewed-by: dfuchs
2023-09-11 14:05:48 +00:00
shaojin.wensj
4cb4637b79 8315970: Big-endian issues after JDK-8310929
Reviewed-by: mdoerr
2023-09-11 13:39:26 +00:00
Prasanta Sadhukhan
ae08143d3d 8315611: Open source swing text/html and tree test
Reviewed-by: jdv
2023-09-11 13:23:47 +00:00
Albert Mingkun Yang
7b3e6970a6 8315855: G1: Revise signature of set_humongous_candidate
Reviewed-by: tschatzl, iwalulya
2023-09-11 12:45:31 +00:00
Aleksey Shipilev
1941290b79 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Reviewed-by: rriggs, jpai
2023-09-11 12:08:31 +00:00
Albert Mingkun Yang
996b3362bf 8315781: Reduce the max value of GCDrainStackTargetSize
Reviewed-by: tschatzl, iwalulya
2023-09-11 11:07:21 +00:00
Ludovic Henry
35bccacb66 8315841: RISC-V: Check for hardware TSO support
Reviewed-by: vkempik, rehn, fyang
2023-09-11 09:02:40 +00:00
Prasanta Sadhukhan
a04c6c1ac6 8315609: Open source few more swing text/html tests
Reviewed-by: jdv
2023-09-11 07:06:41 +00:00
Vladimir Petko
dab1c213fd 8314491: Linux: jexec launched via PATH fails to find java
Reviewed-by: dholmes, rriggs
2023-09-10 23:20:49 +00:00
Alan Bateman
9a83d55887 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
Reviewed-by: pchilanomate, mgronlun, sspitsyn
2023-09-10 14:57:40 +00:00
Jorn Vernee
68f69417c7 8314452: Explicitly indicate inlining success/failure in PrintInlining
Reviewed-by: kvn, shade, thartmann
2023-09-09 10:32:23 +00:00
Kim Barrett
b482e6d902 8315580: Remove unused java_lang_String::set_value_raw()
Reviewed-by: shade, ayang
2023-09-09 01:28:20 +00:00
Justin Lu
9b0da48915 8315410: Undocumented exceptions in java.text.StringCharacterIterator
Reviewed-by: naoto
2023-09-08 23:05:00 +00:00
Joe Darcy
578ded4645 8312418: Add Elements.getEnumConstantBody
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2023-09-08 22:06:24 +00:00
Joe Wang
dccf670492 8306632: Add a JDK Property for specifying DTD support
Reviewed-by: lancea, smarks
2023-09-08 20:24:23 +00:00
Maurizio Cimadamore
a62c48b87e 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Reviewed-by: sundar, jvernee, pminborg
2023-09-08 16:36:21 +00:00
Aleksey Shipilev
9559e035d2 8315578: PPC builds are broken after JDK-8304913
Reviewed-by: mdoerr, rriggs
2023-09-08 15:11:17 +00:00
Sean Coffey
e409d07ae8 8315696: SignedLoggerFinderTest.java test failed
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-09-08 14:25:58 +00:00
Evgeny Nikitin
ab6a87e670 8314838: 3 compiler tests ignore vm flags
Reviewed-by: eastigeevich, kvn, lmesnik
2023-09-08 14:09:10 +00:00
Markus Grönlund
b3dfc399da 8315930: Revert "8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native"
Reviewed-by: egahlin
2023-09-08 12:27:01 +00:00
Doug Simon
ebc718f5c0 8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal
Reviewed-by: never
2023-09-08 11:55:54 +00:00
Albert Mingkun Yang
4a6bd81432 8315854: G1: Remove obsolete comment in G1ReclaimEmptyRegionsTask
Reviewed-by: iwalulya, tschatzl
2023-09-08 11:26:58 +00:00
Boris Ulasevich
c664f1ca66 8307352: AARCH64: Improve itable_stub
Reviewed-by: simonis, eastigeevich, aph
2023-09-08 09:59:23 +00:00
Thomas Schatzl
8ddf9eac00 8315686: G1: Disallow evacuation of marking regions in a Prepare Mixed gc
Reviewed-by: ayang, iwalulya
2023-09-08 08:44:46 +00:00
Thomas Schatzl
7ef059a75c 8315605: G1: Add number of nmethods in code roots scanning statistics
Reviewed-by: iwalulya, ayang
2023-09-08 08:44:22 +00:00
Aleksey Shipilev
825e0ed2a1 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Reviewed-by: phh, lmesnik
2023-09-08 08:34:05 +00:00
Roland Westrelin
dac1727956 8308869: C2: use profile data in subtype checks when profile has more than one class
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, thartmann
2023-09-08 07:48:05 +00:00
Alan Bateman
3c258ac907 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Reviewed-by: mchung, amenkov, jpai
2023-09-08 04:40:01 +00:00
Tejesh R
3a00ec8639 8312075: FileChooser.win32.newFolder is not updated when changing Locale
Reviewed-by: aivanov, abhiscxk
2023-09-08 04:26:14 +00:00
Prasanta Sadhukhan
806ef0897b 8315594: Open source few headless Swing misc tests
Reviewed-by: azvegint
2023-09-08 03:44:15 +00:00
shaojin.wensj
4b43c25fe3 8310929: Optimization for Integer.toString
Reviewed-by: redestad, rriggs
2023-09-08 02:13:52 +00:00
Mandy Chung
111ecdbaf5 8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException

Reviewed-by: coleenp, dfuchs, bchristi
2023-09-07 21:37:40 +00:00
William Kemper
716201c77d 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Reviewed-by: kdnilsen, ysr
2023-09-07 21:14:28 +00:00
Patricio Chilano Mateo
4c6d7fc258 8315795: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java fails after JDK-8305507
Reviewed-by: dcubed
2023-09-07 20:12:04 +00:00
Daniel D. Daugherty
7e7ab6ee1b 8315877: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-aarch64
8315879: ProblemList java/awt/PopupMenu/PopupMenuLocation.java on macosx-aarch64

Reviewed-by: azvegint, rriggs, ccheung
2023-09-07 20:10:00 +00:00
Ioi Lam
0c865a75e6 8315637: JDK-8314249 broke libgraal
Reviewed-by: dnsimon, matsaave
2023-09-07 18:30:09 +00:00
Matias Saavedra Silva
683672c0bb 8292692: Move MethodCounters inline functions out of method.hpp
Reviewed-by: iklam, ccheung, kvn
2023-09-07 17:15:18 +00:00
Mikhailo Seledtsov
9bf3dee242 8314831: NMT tests ignore vm flags
Reviewed-by: lmesnik, stuefe, gziemski
2023-09-07 17:12:46 +00:00
Christian Stein
b74805d383 8315863: [GHA] Update checkout action to use v4
Reviewed-by: shade
2023-09-07 16:15:09 +00:00
Markus Grönlund
1cae0f53a9 8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
Reviewed-by: mbaesken, egahlin
2023-09-07 16:12:55 +00:00
Qing Xiao
8f7e29b2cd 8313422: test/langtools/tools/javac 144 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-09-07 15:37:25 +00:00
Ilya Gavrilin
8557205a82 8312569: RISC-V: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: luhenry, fjiang, fyang
2023-09-07 15:26:55 +00:00
Qing Xiao
2fd870a74f 8315444: Convert test/jdk/tools to Classfile API
Reviewed-by: asotona
2023-09-07 15:02:13 +00:00
Aggelos Biboudis
81f8c57e4a 8314632: Intra-case dominance check fails in the presence of a guard
Reviewed-by: vromero
2023-09-07 12:51:37 +00:00
Per Minborg
b408a82f9b 8314260: Unable to load system libraries on Windows when using a SecurityManager
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-09-07 11:52:14 +00:00
Jan Lahoda
726c9c977d 8315735: VerifyError when switch statement used with synchronized block
Reviewed-by: vromero
2023-09-07 11:08:55 +00:00
Prasanta Sadhukhan
fd6442c079 8315602: Open source swing security manager test
Reviewed-by: kizune, aivanov
2023-09-07 10:16:06 +00:00
Thomas Obermeier
e22eb06a3b 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Reviewed-by: alanb, mdoerr, clanger
2023-09-07 08:42:55 +00:00
Matthias Baesken
9887cd8adc 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Reviewed-by: mdoerr
2023-09-07 07:36:08 +00:00
Matthias Baesken
8107eab3c0 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Reviewed-by: lucy, asemenyuk
2023-09-07 07:30:32 +00:00
Daniel Jeliński
ab28300a42 8315698: Crash when comparing BasicType as int after JDK-8310577
Reviewed-by: dlong, kvn, coleenp
2023-09-07 04:52:18 +00:00
Prasanta Sadhukhan
b05198a4f3 8315600: Open source few more headless Swing misc tests
Reviewed-by: aivanov
2023-09-07 03:49:42 +00:00
Prasanta Sadhukhan
4127fbb9ed 8315606: Open source few swing text/html tests
Reviewed-by: aivanov
2023-09-07 03:41:24 +00:00
Saint Wesonga
9402548546 8268719: Force execution (and source) code page used when compiling on Windows
Reviewed-by: jwaters, erikj
2023-09-07 03:03:22 +00:00
Justin Lu
86a18f5e2e 8314604: j.text.DecimalFormat behavior regarding patterns is not clear
Reviewed-by: naoto
2023-09-06 18:02:39 +00:00
Aleksey Shipilev
bd477810b1 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Reviewed-by: iveresov, chagedorn, thartmann
2023-09-06 15:37:33 +00:00
Calvin Cheung
25e85db61c 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump
Reviewed-by: iklam
2023-09-06 15:37:03 +00:00
singhnitin
024133b089 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Reviewed-by: dhanalla, thartmann
2023-09-06 11:36:13 +00:00
Albert Mingkun Yang
62a953f402 8315689: G1: Remove unused init_hash_seed
Reviewed-by: tschatzl
2023-09-06 09:36:18 +00:00
Aleksey Shipilev
cfc148930b 8315579: SPARC64 builds are broken after JDK-8304913
Reviewed-by: rriggs, phh
2023-09-06 08:27:11 +00:00
Martin Doerr
f6c203e616 8314949: linux PPC64 Big Endian: Implementation of Foreign Function & Memory API
Reviewed-by: mcimadamore, jvernee
2023-09-06 08:26:48 +00:00
Pavel Rappo
a01b3fb8e9 8288660: JavaDoc should be more helpful if it doesn't recognize a tag
Reviewed-by: jjg
2023-09-06 07:51:14 +00:00
Roland Westrelin
ba1a46392f 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Reviewed-by: chagedorn, kvn, thartmann
2023-09-06 07:25:22 +00:00
Roman Marchenko
a258fc443f 8315648: Add test for JDK-8309979 changes
Reviewed-by: cjplummer
2023-09-06 07:19:53 +00:00
Vladimir Kempik
5d3fdc1750 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Reviewed-by: fyang
2023-09-06 06:49:10 +00:00
Leonid Mesnik
5cbff24608 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: cjplummer, dcubed
2023-09-06 00:02:54 +00:00
Rajan Halade
7a08e6bdd6 8313575: Refactor PKCS11Test tests
Reviewed-by: valeriep
2023-09-05 23:08:25 +00:00
Alex Menkov
d3ee704b28 8315563: Remove references to JDK-8226420 from problem list
Reviewed-by: kevinw, cjplummer
2023-09-05 22:46:15 +00:00
Tobias Hotz
aba89f20bf 8312213: Remove unnecessary TEST instructions on x86 when flags reg will already be set
Reviewed-by: jvernee, dlong
2023-09-05 22:08:20 +00:00
Ioi Lam
1f4cdb327f 8315127: CDSMapTest fails with incorrect number of oop references
Reviewed-by: ccheung
2023-09-05 20:56:09 +00:00
Rajan Halade
939d7c5d84 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Reviewed-by: mullan
2023-09-05 17:51:12 +00:00
Daniel D. Daugherty
ebe3127734 8315717: ProblemList serviceability/sa/TestHeapDumpForInvokeDynamic.java with ZGC
Reviewed-by: thartmann, azvegint, kevinw
2023-09-05 17:48:43 +00:00
Quan Anh Mai
969fcdb0de 8314191: C2 compilation fails with "bad AD file"
Reviewed-by: thartmann, chagedorn
2023-09-05 16:15:54 +00:00
Wojciech Kudla
cef9fff067 8305507: Add support for grace period before AbortVMOnSafepointTimeout triggers
Reviewed-by: dholmes, pchilanomate
2023-09-05 14:12:45 +00:00
Matthias Baesken
ed2b4673de 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Reviewed-by: erikj
2023-09-05 12:48:03 +00:00
Christian Hagedorn
4b445753e6 8305637: Remove Opaque1 nodes for Parse Predicates and clean up useless predicate elimination
Reviewed-by: roland, kvn
2023-09-05 12:45:55 +00:00
Afshin Zafari
8647f001bb 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: gziemski, jsjolen
2023-09-05 11:05:49 +00:00
Ivan Walulya
5a2e151d48 8315548: G1: Document why VM_G1CollectForAllocation::doit() may allocate without completing a GC
Reviewed-by: tschatzl
2023-09-05 10:12:24 +00:00
Aleksey Shipilev
9013b03244 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Reviewed-by: stuefe, lmesnik
2023-09-05 10:08:35 +00:00
Adam Sotona
744b3970f9 8312491: Update Classfile API snippets and examples
Reviewed-by: jlahoda
2023-09-05 08:48:39 +00:00
Christoph Langer
69c9ec92d0 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Reviewed-by: mbaesken, azeller
2023-09-05 08:30:03 +00:00
Roland Westrelin
fe4f90021f 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Reviewed-by: thartmann, chagedorn
2023-09-05 07:32:51 +00:00
Matthias Baesken
8bbebbba8f 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Reviewed-by: clanger, lucy
2023-09-05 07:06:37 +00:00
Per Minborg
f292268268 8315454: Add a way to create an immutable snapshot of a BitSet
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2023-09-05 06:43:00 +00:00
Roland Westrelin
9def4538ab 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Reviewed-by: chagedorn, kvn
2023-09-04 15:18:39 +00:00
Aleksey Shipilev
6c821f5e1d 8315545: C1: x86 cmove can use short branches
Reviewed-by: adinn, kvn
2023-09-04 11:02:52 +00:00
Doug Simon
d7e4087faf 8315369: [JVMCI] failure to attach to a libgraal isolate during shutdown should not be fatal
Reviewed-by: never
2023-09-04 10:19:18 +00:00
Doug Simon
d1cabe4f22 8315566: [JVMCI] deadlock in JVMCI startup when bad option specified
Reviewed-by: thartmann, never
2023-09-04 10:17:23 +00:00
Jan Lahoda
94a74a0a45 8315534: Incorrect warnings about implicit annotation processing
Reviewed-by: darcy
2023-09-04 10:06:20 +00:00
Jan Lahoda
84425a6290 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: vromero
2023-09-04 09:14:16 +00:00
Jan Lahoda
3094fd1ac5 8314662: jshell shows duplicated signatures of javap
Reviewed-by: asotona, cstein
2023-09-04 08:36:41 +00:00
Roberto Castañeda Lozano
0d52c82ed1 8310220: IGV: dump graph after each IGVN step at level 4
Reviewed-by: chagedorn, tholenstein
2023-09-04 07:41:41 +00:00
Jan Lahoda
adfc1d6cd2 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Reviewed-by: vromero
2023-09-04 07:17:28 +00:00
Christian Hagedorn
2dc930de12 8314997: Missing optimization opportunities due to missing try_clean_mem_phi() calls
Reviewed-by: roland, kvn, thartmann
2023-09-04 06:53:19 +00:00
Aleksey Shipilev
ab12c5d32f 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
2023-09-04 06:02:03 +00:00
Leonid Mesnik
ba8d5c2206 8315582: Exclude compiler/codecache/CodeCacheFullCountTest.java with Xcomp
Reviewed-by: thartmann
2023-09-04 05:25:34 +00:00
Yi Yang
75d4ac2659 8311775: [TEST] duplicate verifyHeapDump in several tests
Reviewed-by: kevinw, amenkov, cjplummer
2023-09-04 01:56:13 +00:00
Rajat Mahajan
4f90abaf17 8311585: Add JRadioButtonMenuItem to bug8031573.java
Reviewed-by: honkar, aivanov
2023-09-01 21:49:49 +00:00
Yi-Fan Tsai
2a11bc41ba 8314837: 5 compiled/codecache tests ignore VM flags
Reviewed-by: kvn, lmesnik
2023-09-01 20:41:45 +00:00
Erik Joelsson
2f7c65ec48 8303427: Fixpath confused if unix root contains "/jdk"
Reviewed-by: mikael
2023-09-01 17:12:56 +00:00
Xin Liu
e9e0c5699b 8314319: LogCompilation doesn't reset lateInlining when it encounters a failure.
Reviewed-by: ecaspole, kvn
2023-09-01 16:54:55 +00:00
Abhishek Kumar
56b8db11c3 8258970: Disabled JPasswordField foreground color is wrong with GTK LAF
Reviewed-by: tr, dnguyen, psadhukhan
2023-09-01 15:26:25 +00:00
Robbin Ehn
0d4cadb824 8315195: RISC-V: Update hwprobe query for new extensions
Reviewed-by: fyang, fjiang, luhenry
2023-09-01 14:40:29 +00:00
Albert Mingkun Yang
b4f7069c5b 8315446: G1: Remove unused G1AllocRegion::attempt_allocation
Reviewed-by: iwalulya, tschatzl
2023-09-01 13:46:41 +00:00
Claes Redestad
cf02cf31da 8315098: Improve URLEncodeDecode microbenchmark
Reviewed-by: ecaspole, dfuchs
2023-09-01 11:18:05 +00:00
Thomas Stuefe
c32e340d94 8315321: [aix] os::attempt_reserve_memory_at must map at the requested address or fail
Reviewed-by: mdoerr
2023-09-01 11:05:34 +00:00
Daniel Jeliński
42f5b9e7aa 8315436: HttpsServer does not send TLS alerts
Reviewed-by: dfuchs, michaelm
2023-09-01 10:19:53 +00:00
Fredrik Bredberg
033f311abc 8315069: Relativize extended_sp in interpreter frames
Reviewed-by: haosun, aph, fyang
2023-09-01 08:35:49 +00:00
Adam Sotona
c2e01eba5a 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Reviewed-by: alanb, mchung
2023-09-01 08:33:33 +00:00
Thomas Stuefe
81b5d2211e 8315459: Print G1 reserved and committed sizes as separate items in VM.info and hs_err
Reviewed-by: ayang, tschatzl
2023-09-01 08:01:39 +00:00
Cesar Soares Lucas
764f65c8b4 8315278: Patch 'print-targets' target to print targets separated by new line
Reviewed-by: erikj, ksakata
2023-09-01 06:06:35 +00:00
Justin Lu
7754ac0506 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
2023-08-31 23:02:26 +00:00
John Jiang
2264667bba 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Reviewed-by: jnimeh
2023-08-31 22:26:48 +00:00
Justin Lu
d5973bdb98 6333341: [BI] Doc: java.text.BreakIterator class specification is unclear
Reviewed-by: naoto
2023-08-31 21:43:09 +00:00
Brian Burkhalter
63f561fac2 8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Reviewed-by: alanb
2023-08-31 21:14:22 +00:00
Valerie Peng
2436fb010e 8312306: Add more Reference.reachabilityFence() calls to the security classes using Cleaner
Reviewed-by: ascarpino
2023-08-31 20:40:25 +00:00
Gerard Ziemski
351c31ea58 8315378: [BACKOUT] runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: stuefe, ccheung
2023-08-31 20:38:41 +00:00
Andrey Turbanov
c12ca885cc 8312521: Unused field LocaleProviderAdapter#defaultLocaleProviderAdapter could be removed
Reviewed-by: naoto
2023-08-31 20:10:15 +00:00
Alex Menkov
b38bcae1ba 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Reviewed-by: sspitsyn, lmesnik
2023-08-31 19:18:18 +00:00
Mandy Chung
c8acab1d91 8315413: Remove special filtering of Continuation.yield0 in StackWalker
Reviewed-by: alanb
2023-08-31 16:11:03 +00:00
Oliver Kopp
ea5aa61c8c 8315383: jlink SystemModulesPlugin incorrectly parses the options
Reviewed-by: mchung
2023-08-31 16:10:44 +00:00
Andrew Haley
29ff1e45b9 8315445: 8314748 causes crashes in x64 builds
Reviewed-by: chagedorn, shade
2023-08-31 12:51:29 +00:00
Aleksey Shipilev
145d8bc1a3 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Reviewed-by: phh, egahlin
2023-08-31 11:15:09 +00:00
Thomas Obermeier
486fa08d4b 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Reviewed-by: clanger, mbaesken
2023-08-31 09:51:13 +00:00
Albert Mingkun Yang
b0353addf2 8315242: G1: Fix -Wconversion warnings around GCDrainStackTargetSize
Reviewed-by: tschatzl, mli
2023-08-31 09:49:16 +00:00
Andrew Haley
b594f01fe4 8314748: 1-10% regressions on Crypto micros
Reviewed-by: chagedorn, adinn, kvn, sviswanathan
2023-08-31 08:31:31 +00:00
shiker
39f181337b 8315318: Typo in comment on sun.nio.ch.Net.unblock4
Reviewed-by: mbaesken, vtewari
2023-08-31 08:28:11 +00:00
Ivan Walulya
47aa6f3a65 8315219: G1: Improve allocator pathological case where it keeps doing direct allocations instead of retiring a PLAB
Reviewed-by: tschatzl, ayang, mli
2023-08-31 08:04:47 +00:00
Leonid Mesnik
218829e0a2 8315421: [BACKOUT] 8314834 serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: dholmes
2023-08-31 02:33:38 +00:00
Justin Lu
3c8a6678fe 8314611: Provide more explicative error message parsing Currencies
Reviewed-by: naoto
2023-08-30 23:40:34 +00:00
Jonathan Gibbons
df5e6e5d48 8315248: AssertionError in Name.compareTo
Reviewed-by: vromero
2023-08-30 21:52:31 +00:00
Daniel D. Daugherty
3eac8905ae 8315061: Make LockingMode a product flag
Reviewed-by: ccheung
2023-08-30 20:20:17 +00:00
Kim Barrett
8419a53bf1 8315072: Remove unneeded AdaptivePaddedAverage::operator new
Reviewed-by: tschatzl, iwalulya
2023-08-30 19:51:23 +00:00
Alex Menkov
c90cd2c060 8286789: Test forceEarlyReturn002.java timed out
Reviewed-by: lmesnik, sspitsyn
2023-08-30 18:28:43 +00:00
Thomas Stuefe
89d18ea40f 8312018: Improve reservation of class space and CDS
8313669: Reduced chance for zero-based nKlass encoding since JDK-8296565

Reviewed-by: iklam, adinn
2023-08-30 17:51:28 +00:00
Brian Burkhalter
dd64a4a483 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Reviewed-by: rriggs
2023-08-30 16:58:16 +00:00
Leonid Mesnik
8e4cda063c 8314834: serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-08-30 16:14:07 +00:00
Leonid Mesnik
1ea6463fbb 8314835: gtest wrappers should be marked as flagless
Reviewed-by: dholmes, stuefe
2023-08-30 16:12:17 +00:00
Leonid Mesnik
93e82c0146 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Reviewed-by: sspitsyn, kevinw
2023-08-30 16:11:56 +00:00
Sean Coffey
7daae1fb42 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-08-30 12:54:57 +00:00
Lance Andersen
6701eba736 8315117: Update Zlib Data Compression Library to Version 1.3
Reviewed-by: alanb
2023-08-30 11:45:38 +00:00
Qing Xiao
e29f0c2d75 8297777: Convert jdk.jlink StringSharingPlugin to use Class File API
Reviewed-by: asotona
2023-08-30 11:26:29 +00:00
Afshin Zafari
bf63945ad1 8298992: runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: gziemski, stuefe
2023-08-30 11:11:44 +00:00
Albert Mingkun Yang
cb3f9680d3 8314651: G1: Fix -Wconversion warnings in static fields of HeapRegion
Reviewed-by: tschatzl, iwalulya
2023-08-30 09:36:34 +00:00
Robbin Ehn
876a725af9 8315206: RISC-V: hwprobe query is_set return wrong value
Reviewed-by: luhenry, fyang
2023-08-30 08:56:50 +00:00
Roland Westrelin
ed1ea5fe7c 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: kvn, chagedorn
2023-08-30 07:52:05 +00:00
Matthias Baesken
f3aeb024d9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Reviewed-by: stuefe, rriggs
2023-08-30 06:46:51 +00:00
Matthias Baesken
1e7e2bcf35 8315214: Do not run sun/tools/jhsdb tests concurrently
Reviewed-by: alanb, cjplummer
2023-08-30 06:41:43 +00:00
Scott Gibbons
ce2a7ea40a 8314056: Remove runtime platform check from frem/drem
Reviewed-by: sviswanathan, jbhateja
2023-08-30 01:28:27 +00:00
Valerie Peng
1c598c2245 8312428: PKCS11 tests fail with NSS 3.91
Reviewed-by: ssahoo, rhalade
2023-08-29 22:08:34 +00:00
Chris Plummer
b2728cb139 8189685: need PerfMemory class update and a volatile_static_field support in VMStructs
Reviewed-by: ysuenaga, dholmes, sspitsyn
2023-08-29 20:55:11 +00:00
Albert Mingkun Yang
e22762c010 8314932: G1: Fix -Wconversion warnings for simple cases inside g1 folder
Reviewed-by: tschatzl, iwalulya
2023-08-29 16:04:50 +00:00
Thomas Schatzl
762b652912 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Reviewed-by: kbarrett, ayang
2023-08-29 14:20:11 +00:00
Pavel Rappo
a4e97aa4eb 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note
Reviewed-by: rriggs, azvegint, kevinw
2023-08-29 12:00:19 +00:00
Emmy
5cc64cc27a 8309463: IGV: Dynamic graph layout algorithm
Reviewed-by: tholenstein, rcastanedalo, chagedorn
2023-08-29 09:52:41 +00:00
Kevin Walls
1d0250709a 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: msheppar, sspitsyn
2023-08-29 08:54:00 +00:00
Sergey Tsypanov
93188bd80c 8314569: (fs) Improve normalization of UnixPath for input with trailing slashes
Reviewed-by: alanb, bpb, rriggs
2023-08-29 08:39:42 +00:00
Albert Mingkun Yang
8b8182db59 8315087: G1: Use uint for G1 flags indicating percentage
Reviewed-by: tschatzl, kbarrett
2023-08-29 08:01:35 +00:00
Feilong Jiang
3dc266c58b 8315070: RISC-V: Clean up platform dependent inline headers
Reviewed-by: fyang, rehn
2023-08-29 02:43:44 +00:00
Hao Sun
25f5df2af2 8315073: Zero build on macOS fails after JDK-8303852
Reviewed-by: jiefu, fyang
2023-08-29 02:12:37 +00:00
Pengfei Li
a03954e6c5 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: kvn, thartmann, epeter, chagedorn
2023-08-29 01:39:54 +00:00
Pengfei Li
e5ea9aa9aa 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Reviewed-by: epeter, kvn
2023-08-29 01:34:33 +00:00
Calvin Cheung
1cb2cc6587 8308464: Shared array class should not always be loaded in boot loader
Reviewed-by: dholmes, iklam
2023-08-28 22:05:15 +00:00
Erik Joelsson
69d1feb83f 8315060: Out of tree incremental build fails with ccache
Reviewed-by: kbarrett, dholmes
2023-08-28 20:56:31 +00:00
Joe Darcy
8e2a533df6 8315137: Add explicit override RecordComponentElement.asType()
Reviewed-by: jjg
2023-08-28 20:43:54 +00:00
Justin Lu
b4b2fecb42 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Reviewed-by: lancea, jpai, weijun
2023-08-28 20:36:32 +00:00
lawrence.andrews
31e26814db 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Reviewed-by: honkar, aivanov
2023-08-28 20:31:02 +00:00
Alisen Chung
21916f32c0 8139208: [macosx] Issue with setExtendedState of JFrame
Reviewed-by: honkar, dnguyen, azvegint
2023-08-28 20:17:40 +00:00
Xin Liu
99ea8bf2b9 8315062: [GHA] get-bootjdk action should return the abolute path
Reviewed-by: clanger, erikj
2023-08-28 15:59:24 +00:00
Vicente Romero
acb24bf354 8315116: fix minor issue in copyright header introduced by JDK-8269957 that is breaking the build
Reviewed-by: jjg, dcubed
2023-08-28 15:43:41 +00:00
Archie Cobbs
11da15d142 8269957: facilitate alternate impls of NameTable and Name
Reviewed-by: jjg, vromero
2023-08-28 14:48:45 +00:00
Ao Qi
725ec0ce1b 8315020: The macro definition for LoongArch64 zero build is not accurate.
Reviewed-by: erikj, fyang
2023-08-28 11:10:53 +00:00
Roberto Castañeda Lozano
1c3177eea7 8315029: [BACKOUT] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Reviewed-by: chagedorn, mdoerr
2023-08-28 11:08:44 +00:00
Albert Mingkun Yang
dd23f7d5cd 8315039: Parallel: Remove unimplemented PSYoungGen::oop_iterate
Reviewed-by: kbarrett, tschatzl
2023-08-28 10:51:00 +00:00
Christian Hagedorn
5c4f1dc43e 8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake
Reviewed-by: kvn, mdoerr
2023-08-28 10:30:48 +00:00
Martin Doerr
cf2d33ca2e 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Reviewed-by: thartmann, lucy
2023-08-28 10:14:19 +00:00
Darragh Clarke
1664e793eb 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Reviewed-by: dfuchs, jpai
2023-08-28 10:03:42 +00:00
Pavel Rappo
0901d75e07 8314762: Make {@Incubating} conventional
Reviewed-by: jjg, iris, chegar
2023-08-28 09:38:02 +00:00
Daniel Jeliński
12de9b0225 8314148: Fix variable scope in SunMSCAPI
Reviewed-by: valeriep
2023-08-28 05:27:25 +00:00
Amit Kumar
7fbad4cd5e 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Reviewed-by: dholmes, stefank
2023-08-28 03:34:20 +00:00
Ioi Lam
752a438f99 8314684: Add overview docs to loaderConstraints.cpp
Reviewed-by: ccheung, dholmes
2023-08-27 03:44:38 +00:00
Doug Simon
acd9310234 8313430: [JVMCI] fatal error: Never compilable: in JVMCI shutdown
Reviewed-by: never, kvn, shade
2023-08-26 10:13:23 +00:00
Chris Plummer
8a5db6bab3 8237542: JMapHeapConfigTest.java doesn't work with negative jlong values
Reviewed-by: sspitsyn, shade
2023-08-25 23:16:02 +00:00
Chris Plummer
d0cc0439c0 8314550: [macosx-aarch64] serviceability/sa/TestJmapCore.java fails with "sun.jvm.hotspot.debugger.UnmappedAddressException: 801000800"
Reviewed-by: dholmes, iklam, stuefe
2023-08-25 21:14:33 +00:00
Erik Joelsson
837d2e1cac 8314483: Optionally override copyright header in generated source
Reviewed-by: dholmes, iris
2023-08-25 20:42:14 +00:00
Erik Joelsson
320162395d 8310454: Introduce static-libs-graal bundle
Reviewed-by: jiangli
2023-08-25 20:35:40 +00:00
Rajan Halade
e9ba8d5a0e 8314960: Add Certigna Root CA - 2
Reviewed-by: mullan
2023-08-25 18:17:27 +00:00
Quan Anh Mai
837cf85f7d 8312547: Max/Min nodes Value implementation could be improved
Reviewed-by: thartmann, kvn
2023-08-25 17:48:27 +00:00
Leonid Mesnik
7342f5a033 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Reviewed-by: cjplummer
2023-08-25 16:18:45 +00:00
Roberto Castañeda Lozano
f139f30695 8315033: Problemlist java/lang/template/StringTemplateTest.java
Reviewed-by: chagedorn
2023-08-25 15:27:24 +00:00
Weibing Xiao
f2383b3cbd 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Reviewed-by: aefimov, msheppar
2023-08-25 12:20:18 +00:00
Jonas Norlinder
dcd6e75671 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank, eosterlund
2023-08-25 08:10:09 +00:00
Roberto Castañeda Lozano
002b594870 8312749: Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: thartmann, ayang, kvn
2023-08-25 07:18:34 +00:00
Jie Fu
d024059174 8314951: VM build without C2 still fails after JDK-8313530
Reviewed-by: dnsimon, kvn
2023-08-25 04:59:19 +00:00
Brian Burkhalter
2624324ac2 8219567: Name of first parameter of RandomAccessFile(String,String) is inconsistent
Reviewed-by: jlu, vtewari, rriggs, jpai
2023-08-24 18:18:16 +00:00
Patricio Chilano Mateo
8e4240c316 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Reviewed-by: rpressler, aph
2023-08-24 18:08:16 +00:00
Alan Bateman
d9fc6b6933 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Reviewed-by: aturbanov, shade, dfuchs
2023-08-24 16:51:20 +00:00
Vyom Tewari
acaab6fd74 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Reviewed-by: dfuchs
2023-08-24 15:46:44 +00:00
Aleksey Shipilev
76b9011c9e 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Reviewed-by: fyang
2023-08-24 13:49:22 +00:00
Vladimir Petko
e36620d80e 8314554: Debian/Ubuntu should not link OpenJDK with --as-needed link option
Reviewed-by: erikj
2023-08-24 12:27:52 +00:00
Matthias Baesken
97b94cb1cd 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Reviewed-by: jpai, shade, vtewari
2023-08-24 10:44:09 +00:00
Doug Simon
75e19e0d5e 8314819: [JVMCI] HotSpotJVMCIRuntime.lookupType throws unexpected ClassNotFoundException
Reviewed-by: never, thartmann
2023-08-24 10:12:16 +00:00
Gergö Barany
c418933d32 8313530: VM build without C2 fails after JDK-8312579
Reviewed-by: dnsimon, haosun, jiefu, kvn
2023-08-24 08:05:33 +00:00
Thomas Stuefe
de0e46c2f6 8303815: Improve Metaspace test speed
Reviewed-by: stefank, dholmes
2023-08-24 05:38:43 +00:00
Thomas Stuefe
3699666c93 8313319: [linux] mmap should use MAP_FIXED_NOREPLACE if available
Reviewed-by: jsjolen, dholmes
2023-08-24 05:16:58 +00:00
Koichi Sakata
3285a1efc8 8314555: Build with mawk fails on Windows
Reviewed-by: erikj
2023-08-24 00:32:31 +00:00
David Holmes
4a50e87592 8303852: current_stack_region() gets called twice unnecessarily
Reviewed-by: stuefe, pchilanomate
2023-08-23 22:51:31 +00:00
Kim Barrett
c077be4768 8314694: Separate checked_cast from globalDefinitions.hpp
Reviewed-by: stuefe, coleenp, sspitsyn
2023-08-23 22:32:37 +00:00
Andrey Turbanov
68815d54c1 8314734: Remove unused field TypeVariableImpl.EMPTY_ANNOTATION_ARRAY
Reviewed-by: bpb, darcy
2023-08-23 20:41:28 +00:00
Alexander Matveev
57a322da9b 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Reviewed-by: asemenyuk
2023-08-23 20:22:12 +00:00
Chris Plummer
38a9edfb7e 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Reviewed-by: dholmes, kevinw
2023-08-23 20:11:10 +00:00
Chris Plummer
2c60cadfde 8280743: HSDB "Monitor Cache Dump" command might throw NPE
Reviewed-by: kevinw, sspitsyn
2023-08-23 19:12:35 +00:00
Ben Perez
9435cd1916 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range.
Reviewed-by: mullan, valeriep
2023-08-23 18:10:11 +00:00
lawrence.andrews
dbb788f34d 8294535: Add screen capture functionality to PassFailJFrame
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, honkar
2023-08-23 17:48:07 +00:00
Andrey Turbanov
fae3b02aeb 8314746: Remove unused private put* methods from DirectByteBufferR
Reviewed-by: alanb, bpb
2023-08-23 17:36:46 +00:00
Brian Burkhalter
096b7ff097 8314810: (fs) java/nio/file/Files/CopyInterference.java should use TestUtil::supportsLinks
Reviewed-by: aturbanov, alanb
2023-08-23 15:31:33 +00:00
Alexey Ivanov
62610203f1 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Reviewed-by: prr, serb
2023-08-23 11:48:22 +00:00
Matthias Baesken
703817d21f 8314517: some tests fail in case ipv6 is disabled on the machine
Reviewed-by: mdoerr, lucy, jpai, dfuchs
2023-08-23 10:44:40 +00:00
Thomas Schatzl
742e319a21 8314157: G1: "yielded" is not initialized on some paths after JDK-8140326
Reviewed-by: ayang, iwalulya
2023-08-23 09:45:25 +00:00
Roland Westrelin
1cee3b9fd9 8313262: C2: Sinking node may cause required cast to be dropped
Reviewed-by: chagedorn, thartmann
2023-08-23 08:59:36 +00:00
Tobias Holenstein
f8203cb272 8313626: C2 crash due to unexpected exception control flow
Reviewed-by: thartmann, chagedorn
2023-08-23 08:47:33 +00:00
Aleksey Shipilev
2be469f89e 8314743: Use of uninitialized local in SR_initialize after JDK-8314114
Reviewed-by: dholmes, coleenp
2023-08-23 07:17:29 +00:00
Jan Kratochvil
571c435e1a 8313374: --enable-ccache's CCACHE_BASEDIR breaks builds
Reviewed-by: erikj
2023-08-23 06:26:18 +00:00
Kimura Yukihiro
d1de3d082e 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Reviewed-by: shade, thartmann
2023-08-23 06:04:28 +00:00
Thomas Stuefe
a0d0f21f08 8314752: Use google test string comparison macros
Reviewed-by: coleenp, kbarrett
2023-08-23 05:26:05 +00:00
Andrew John Hughes
7e843c22e7 8284772: GHA: Use GCC Major Version Dependencies Only
Reviewed-by: jwaters, shade, stuefe, erikj, serb
Backport-of: 62defc3dfc4b9ba5adfe3189f34fe8b3f59b94a0
2023-08-23 03:28:23 +00:00
Valerie Peng
ba6cdbe2c2 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Reviewed-by: mbaesken, jnimeh
2023-08-22 23:49:03 +00:00
Calvin Cheung
9f4a9fe488 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Reviewed-by: iklam, matsaave
2023-08-22 22:37:16 +00:00
Chris Plummer
7c169a426f 8312232: Remove sun.jvm.hotspot.runtime.VM.buildLongFromIntsPD()
Reviewed-by: lmesnik, kevinw
2023-08-22 20:57:11 +00:00
Brian Burkhalter
2eae13c669 8214248: (fs) Files:mismatch spec clarifications
Reviewed-by: alanb
2023-08-22 19:04:46 +00:00
Albert Mingkun Yang
ce1ded1a4f 8314749: Remove unimplemented _Copy_conjoint_oops_atomic
Reviewed-by: dcubed
2023-08-22 17:23:37 +00:00
Albert Mingkun Yang
32bf468c3b 8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data
Reviewed-by: kbarrett, tschatzl
2023-08-22 17:21:44 +00:00
Alexey Ivanov
eb065726f2 8313408: Use SVG for BoxLayout example
Reviewed-by: serb, tr, prr
2023-08-22 17:14:29 +00:00
Thomas Stuefe
20e94784c9 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Reviewed-by: mbaesken, mdoerr, shade
2023-08-22 14:00:47 +00:00
Aleksey Shipilev
69d900d2ce 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Reviewed-by: andrew, erikj
2023-08-22 13:37:21 +00:00
Pavel Rappo
f39fc0aa2d 8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
2023-08-22 13:02:53 +00:00
Daohan Qu
6b9df037e4 8311240: Eliminate usage of testcases.jar from TestMetaSpaceLog.java
Reviewed-by: ayang, tschatzl
2023-08-22 12:51:59 +00:00
bobpengxie
3e1b1bf94e 8314688: VM build without C1 fails after JDK-8313372
Reviewed-by: yzheng, dnsimon, haosun
2023-08-22 09:21:25 +00:00
Cesar Soares Lucas
02ef859f79 8313689: C2: compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java fails intermittently with -XX:-TieredCompilation
Reviewed-by: kvn, thartmann
2023-08-22 07:58:51 +00:00
Julian Waters
ab86d23adf 8250269: Replace ATTRIBUTE_ALIGNED with alignas
Reviewed-by: rkennke, kbarrett
2023-08-22 06:12:28 +00:00
Gui Cao
a66b5df14a 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Reviewed-by: fyang, dzhang
2023-08-22 02:47:52 +00:00
Sergey Bylokhov
87298d2ade 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Reviewed-by: prr
2023-08-22 01:44:16 +00:00
Daniel D. Daugherty
78f74bc8ff 8314672: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all and windows-x64
Reviewed-by: azvegint
2023-08-21 17:13:48 +00:00
Leo Korinth
17a19dc060 8311639: Replace currentTimeMillis() with nanoTime() in jtreg/gc
Reviewed-by: stefank, ayang
2023-08-21 12:19:36 +00:00
Albert Mingkun Yang
0b3f452d25 8314161: G1: Fix -Wconversion warnings in G1CardSetConfiguration::_bitmap_hash_mask
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:17:38 +00:00
Albert Mingkun Yang
abac60851c 8313962: G1: Refactor G1ConcurrentMark::_num_concurrent_workers
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:15:26 +00:00
Aleksey Shipilev
812f475bc4 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Reviewed-by: cjplummer, sspitsyn
2023-08-21 09:02:01 +00:00
Thomas Schatzl
8939d15d92 8314100: G1: Improve collection set candidate selection code
Reviewed-by: ayang, iwalulya
2023-08-21 08:28:31 +00:00
Sidraya
ec1f7a8480 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: amitkumar, jvernee, mdoerr
2023-08-21 07:15:25 +00:00
Christian Stein
c50315de8f 8314495: Update to use jtreg 7.3.1
Reviewed-by: dholmes, erikj, iris, jpai
2023-08-21 06:30:56 +00:00
Alan Bateman
ed0f75f266 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown
Reviewed-by: psandoz
2023-08-19 18:42:43 +00:00
Xin Liu
febc34dd28 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Reviewed-by: jiefu, stuefe
2023-08-19 17:42:30 +00:00
Leonid Mesnik
58f5826ff4 8311222: strace004 can fail due to unexpected stack length after JDK-8309408
Reviewed-by: dholmes, alanb
2023-08-19 01:46:40 +00:00
Tyler Steele
395fc78880 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Reviewed-by: mbaesken, alanb, mdoerr
2023-08-18 20:11:24 +00:00
Leonid Mesnik
f481477144 8314320: Mark runtime/CommandLine/ tests as flagless
Reviewed-by: dholmes
2023-08-18 17:53:07 +00:00
Chris Plummer
fbe28ee90d 8314481: JDWPTRANSPORT_ERROR_INTERNAL code in socketTransport.c can never be executed
Reviewed-by: dcubed, sspitsyn
2023-08-18 17:46:36 +00:00
Mandy Chung
50a2ce01f4 8310815: Clarify the name of the main class, services and provider classes in module descriptor
8314449: Clarify the name of the declaring class of StackTraceElement

Reviewed-by: alanb
2023-08-18 17:10:39 +00:00
Pavel Rappo
aecbb1b5c3 8314448: Coordinate DocLint and JavaDoc to report on unknown tags
Reviewed-by: jjg
2023-08-18 16:40:51 +00:00
Fredrik Bredberg
bcba5e9785 8313419: Template interpreter produces no safepoint check for return bytecodes
Reviewed-by: pchilanomate
2023-08-18 14:33:03 +00:00
Fredrik Bredberg
c36e009772 8308984: Relativize last_sp (and top_frame_sp) in interpreter frames
Reviewed-by: pchilanomate, aph, haosun
2023-08-18 14:29:28 +00:00
Tyler Steele
fdac6a6ac8 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Reviewed-by: clanger, stuefe
2023-08-18 13:58:58 +00:00
Coleen Phillimore
752121114f 8314265: Fix -Wconversion warnings in miscellaneous runtime code
Reviewed-by: stuefe, dholmes, chagedorn
2023-08-18 12:06:02 +00:00
Alexander Zvegintsev
2f04bc5f93 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Reviewed-by: serb, prr
2023-08-18 10:44:20 +00:00
Andrei Rybak
33d5dfdab3 8314543: gitattributes: make diffs easier to read
Git supports special hunk headers for several languages in diff output,
which make it easier to read diffs of files in that language, generated
by Git (git-diff, git-show, `git log -p`, etc).  For details, see
`git help gitattributes` or the online documentation.[1]

Add entries to the root .gitattributes file to support showing the hunk
headers for Java, C, C++, Markdown, Shell script, HTML, and CSS.  This
makes it easier to read diffs generated by Git.

[1] https://git-scm.com/docs/gitattributes

Reviewed-by: erikj, ksakata
2023-08-18 07:48:50 +00:00
Matthias Baesken
5058854b86 8314389: AttachListener::pd_set_flag obsolete
Reviewed-by: cjplummer, mdoerr, sspitsyn
2023-08-18 06:45:18 +00:00
Thomas Stuefe
891c3f4cca 8307356: Metaspace: simplify BinList handling
Reviewed-by: rkennke, coleenp
2023-08-18 05:51:05 +00:00
Ioi Lam
0299364d85 8314249: Refactor handling of invokedynamic in JVMCI ConstantPool
Reviewed-by: dnsimon, coleenp
2023-08-17 22:52:05 +00:00
Justin Lu
96778dd549 8314169: Combine related RoundingMode logic in j.text.DigitList
Reviewed-by: naoto
2023-08-17 22:41:21 +00:00
Harshitha Onkar
808bb1f7bc 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Reviewed-by: dnguyen, serb
2023-08-17 20:37:06 +00:00
Joe Darcy
6445314fec 8314477: Improve definition of "prototypical type"
Reviewed-by: prappo
2023-08-17 20:25:46 +00:00
Andrey Turbanov
d27daf01d6 8314129: Make fields final in java.util.Scanner
Reviewed-by: stsypanov, liach, alanb
2023-08-17 18:32:06 +00:00
Andrey Turbanov
a8ab3be371 8314261: Make fields final in sun.net.www
Reviewed-by: redestad, jpai, dfuchs
2023-08-17 17:54:02 +00:00
Joe Darcy
3bb8afba69 8314489: Add javadoc index entries for java.lang.Math terms
Reviewed-by: alanb
2023-08-17 17:32:49 +00:00
Daniel D. Daugherty
2505cebc5d 8314533: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all with ZGC
Reviewed-by: azvegint
2023-08-17 17:05:54 +00:00
Erik Joelsson
b33ff30d70 8313661: [REDO] Relax prerequisites for java.base-jmod target
Reviewed-by: alanb
2023-08-17 16:54:36 +00:00
Chris Plummer
62ca00158c 8313357: Revisit requiring SA tests on OSX to either run as root or use sudo
Reviewed-by: dholmes, amenkov
2023-08-17 15:26:45 +00:00
Chris Plummer
388dcff725 8282712: VMConnection.open() does not detect if VM failed to be created, resulting in NPE
Reviewed-by: sspitsyn, amenkov
2023-08-17 15:09:09 +00:00
Robbin Ehn
e8f6b3e497 8314268: Missing include in assembler_riscv.hpp
Reviewed-by: shade, fyang
2023-08-17 14:45:59 +00:00
Claes Redestad
c634bdf9d9 8314444: Update jib-profiles.js to use JMH 1.37 devkit
Reviewed-by: shade, mikael, erikj
2023-08-17 11:54:24 +00:00
Per Minborg
2b81885f78 8314071: Test java/foreign/TestByteBuffer.java timed out
Reviewed-by: mcimadamore
2023-08-17 11:31:09 +00:00
Cristian Vat
32efd23c5d 8311939: Excessive allocation of Matcher.groups array
Reviewed-by: rriggs, igraves
2023-08-17 11:27:39 +00:00
Alan Bateman
ed585d16b9 8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined
Reviewed-by: psandoz
2023-08-17 08:02:53 +00:00
Pavel Rappo
6f1071f5ed 8314213: DocLint should warn about unknown standard tags
Reviewed-by: jjg
2023-08-17 07:43:07 +00:00
Aggelos Biboudis
4331193010 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Reviewed-by: jlahoda
2023-08-17 07:33:16 +00:00
Andrey Turbanov
249dc37426 8314321: Remove unused field jdk.internal.util.xml.impl.Attrs.mAttrIdx
Reviewed-by: alanb, vtewari, bpb
2023-08-17 07:13:38 +00:00
Sergey Bylokhov
b78f5a1068 8314076: ICC_ColorSpace#minVal/maxVal have the opposite description
Reviewed-by: azvegint
2023-08-17 05:33:44 +00:00
Kim Barrett
2a1176b544 8314276: Improve PtrQueue API around size/capacity
Reviewed-by: iwalulya, tschatzl
2023-08-17 05:06:11 +00:00
Joe Darcy
0c3bc71d24 8281169: Expand discussion of elements and types
Reviewed-by: mcimadamore, prappo
2023-08-16 20:31:51 +00:00
Ben Perez
f143380d01 8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile
Reviewed-by: mullan
2023-08-16 19:56:13 +00:00
Brian Burkhalter
6b396da278 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified
Reviewed-by: alanb
2023-08-16 17:53:56 +00:00
Leonid Mesnik
7b28d3608a 8314330: java/foreign tests should respect vm flags when start new processes
Reviewed-by: jvernee
2023-08-16 17:49:38 +00:00
Glavo
b32d6411c4 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
Reviewed-by: naoto
2023-08-16 17:37:21 +00:00
Lance Andersen
13f6450e2e 8313765: Invalid CEN header (invalid zip64 extra data field size)
Reviewed-by: simonis, alanb, coffeys
2023-08-16 15:42:36 +00:00
Ralf Schmelter
24e896d7c9 8310275: Bug in assignment operator of ReservedMemoryRegion
Reviewed-by: jsjolen, dholmes, stuefe
2023-08-16 15:00:50 +00:00
Thomas Schatzl
1925508425 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang, iwalulya
2023-08-16 12:08:56 +00:00
Raffaello Giulietti
b80001de0c 8314209: Wrong @since tag for RandomGenerator::equiDoubles
Reviewed-by: alanb
2023-08-16 08:21:34 +00:00
Matthias Baesken
ef6db5c299 8314211: Add NativeLibraryUnload event
Reviewed-by: stuefe, mdoerr
2023-08-16 07:39:42 +00:00
Christian Hagedorn
49ddb19972 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, aph, sviswanathan, rhalade, kvn, dlong
2023-08-16 07:21:04 +00:00
Emanuel Peter
d46f0fb318 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Reviewed-by: chagedorn, thartmann
2023-08-16 07:15:43 +00:00
Aleksey Shipilev
38687f1a3e 8314262: GHA: Cut down cross-compilation sysroots deeper
Reviewed-by: erikj
2023-08-16 07:04:25 +00:00
Aleksey Shipilev
a602624ef4 8314020: Print instruction blocks in byte units
Reviewed-by: stuefe, fyang
2023-08-16 07:02:48 +00:00
Christian Hagedorn
0b12480de8 8314233: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: unexpected
Reviewed-by: thartmann, kvn
2023-08-16 06:58:23 +00:00
Tom Rodriguez
e1fdef5613 8314324: "8311557: [JVMCI] deadlock with JVMTI thread suspension" causes various failures
Reviewed-by: cjplummer, thartmann
2023-08-16 06:06:59 +00:00
Prasanta Sadhukhan
2bd2faeb76 4346610: Adding JSeparator to JToolBar "pushes" buttons added after separator to edge
Reviewed-by: tr, aivanov, dnguyen
2023-08-16 05:35:40 +00:00
Thomas Stuefe
6a15860b12 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Reviewed-by: mbaesken, shade
2023-08-16 05:14:40 +00:00
Leonid Mesnik
6bf4a33593 8314242: Update applications/scimark/Scimark.java to accept VM flags
Reviewed-by: dholmes
2023-08-16 00:15:55 +00:00
Christoph Schwentker
bc8e9f44a3 8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder
Reviewed-by: mchung
2023-08-15 22:34:37 +00:00
Chris Plummer
0f5e030bad 8309335: Get rid of use of reflection to call Thread.isVirtual() in nsk/jdi/EventRequestManager/stepRequests/stepreq001t.java
Reviewed-by: lmesnik, sspitsyn, alanb
2023-08-15 20:55:27 +00:00
Mikael Vidstedt
f66c73d34b 8314166: Update googletest to v1.14.0
Reviewed-by: kbarrett, stuefe, shade, erikj
2023-08-15 19:52:56 +00:00
Gerard Ziemski
f239954657 8310134: NMT: thread count in Thread section of VM.native_memory output confusing with virtual threads
Reviewed-by: jsjolen, dholmes, alanb
2023-08-15 17:06:28 +00:00
Aleksey Shipilev
2e8a0ab272 8314120: Add tests for FileDescriptor.sync
Reviewed-by: alanb, bpb
2023-08-15 16:11:09 +00:00
Ioi Lam
80809ef4cc 8314248: Remove HotSpotConstantPool::isResolvedDynamicInvoke
Reviewed-by: thartmann, dnsimon
2023-08-15 15:54:44 +00:00
Tom Rodriguez
004651ddc2 8311557: [JVMCI] deadlock with JVMTI thread suspension
Reviewed-by: thartmann, dnsimon
2023-08-15 15:44:33 +00:00
Coleen Phillimore
9ded86821b 8314114: Fix -Wconversion warnings in os code, primarily linux
Reviewed-by: dholmes, dlong
2023-08-15 11:05:31 +00:00
Emanuel Peter
a02d65efcc 8310308: IR Framework: check for type and size of vector nodes
Reviewed-by: chagedorn, thartmann
2023-08-15 10:08:51 +00:00
Thomas Stuefe
dff99f7f3d 8313782: Add user-facing warning if THPs are enabled but cannot be used
Reviewed-by: dholmes, sjohanss
2023-08-15 09:09:02 +00:00
Dmitry Cherepanov
f4e72c58d7 8313949: Missing word in GPLv2 license text in StackMapTableAttribute.java
Reviewed-by: iris
2023-08-15 08:43:38 +00:00
Matthias Baesken
6338927221 8314197: AttachListener::pd_find_operation always returning nullptr
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-08-15 07:48:38 +00:00
David Holmes
b7dee213df 8314244: Incorrect file headers in new tests from JDK-8312597
Reviewed-by: lmesnik, kvn
2023-08-15 04:29:25 +00:00
Fei Gao
37c6b23f5b 8308340: C2: Idealize Fma nodes
Reviewed-by: kvn, epeter
2023-08-15 01:04:22 +00:00
Yasumasa Suenaga
583cb754f3 8313406: nep_invoker_blob can be simplified more
Reviewed-by: jvernee, vlivanov
2023-08-14 23:12:42 +00:00
Ben Taylor
0074b48ad7 8312597: Convert TraceTypeProfile to UL
Reviewed-by: shade, phh
2023-08-14 22:50:37 +00:00
Sean Mullan
1f1c5c6f8d 8314241: Add test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java to ProblemList
Reviewed-by: dcubed, dholmes
2023-08-14 22:23:11 +00:00
David Holmes
f142470dea 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Reviewed-by: stefank, pchilanomate, dcubed, rehn
2023-08-14 21:18:57 +00:00
Ben Perez
595fdd36c5 8314059: Remove PKCS7.verify()
Reviewed-by: mullan
2023-08-14 18:39:18 +00:00
Kimura Yukihiro
49b29845f7 8313854: Some tests in serviceability area fail on localized Windows platform
Reviewed-by: amenkov, cjplummer
2023-08-14 18:26:55 +00:00
Brian Burkhalter
c132176b93 8114830: (fs) Files.copy fails due to interference from something else changing the file system
Reviewed-by: alanb, vtewari
2023-08-14 17:48:50 +00:00
Weibing Xiao
e56d3bc2da 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Reviewed-by: vtewari, msheppar, aefimov
2023-08-14 17:38:53 +00:00
Oli Gillespie
4b2703ad39 8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: coleenp, dholmes, shade
2023-08-14 15:58:03 +00:00
Liam Miller-Cushon
f41c267f85 8314045: ArithmeticException in GaloisCounterMode
Co-authored-by: Ioana Nedelcu <ioannanedelcu@google.com>
Reviewed-by: ascarpino
2023-08-14 15:51:18 +00:00
Ioi Lam
911d1dbbf7 8314078: HotSpotConstantPool.lookupField() asserts due to field changes in ConstantPool.cpp
Reviewed-by: dnsimon, coleenp
2023-08-14 15:37:44 +00:00
Christian Stein
6574dd796d 8314025: Remove JUnit-based test in java/lang/invoke from problem list
Reviewed-by: dholmes, jpai
2023-08-14 13:38:22 +00:00
Christian Hagedorn
207bd00c51 8313756: [BACKOUT] 8308682: Enhance AES performance
Reviewed-by: thartmann
2023-08-14 12:08:16 +00:00
Afshin Zafari
823f5b930c 8308850: Change JVM options with small ranges that get -Wconversion warnings to 32 bits
Reviewed-by: dholmes, coleenp, dlong
2023-08-14 11:57:17 +00:00
Albert Mingkun Yang
5bfb82e6fa 8314119: G1: Fix -Wconversion warnings in G1CardSetInlinePtr::card_pos_for
Reviewed-by: tschatzl, kbarrett
2023-08-14 11:08:31 +00:00
Aleksey Shipilev
06aa3c5628 8314118: Update JMH devkit to 1.37
Reviewed-by: erikj, redestad
2023-08-14 10:04:55 +00:00
Yudi Zheng
4164693f3b 8313372: [JVMCI] Export vmIntrinsics::is_intrinsic_available results to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-08-14 08:56:15 +00:00
Stefan Karlsson
049b55f24e 8314019: Add gc logging to jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java
Reviewed-by: aboldtch, eosterlund
2023-08-14 08:45:16 +00:00
Christian Hagedorn
a39ed1087b 8314116: C2: assert(false) failed: malformed control flow after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:15:02 +00:00
Christian Hagedorn
1de5bf1ce9 8314106: C2: assert(is_valid()) failed: must be valid after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:14:42 +00:00
Feilong Jiang
5c91622885 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Reviewed-by: fyang
2023-08-14 07:50:43 +00:00
Andrey Turbanov
6bbcef5315 8313948: Remove unnecessary static fields defaultUpper/defaultLower in sun.net.PortConfig
Reviewed-by: dfuchs
2023-08-14 07:04:29 +00:00
Andrey Turbanov
b88c273503 8313743: Make fields final in sun.nio.ch
Reviewed-by: bpb
2023-08-14 07:04:05 +00:00
Alexander Matveev
ec0cc6300a 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
2023-08-11 21:00:52 +00:00
Man Cao
7332502883 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Reviewed-by: shade, stuefe
2023-08-11 20:43:31 +00:00
Chris Plummer
8f1c134848 8313798: [aarch64] sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java sometimes times out on aarch64
Reviewed-by: kevinw, sspitsyn
2023-08-11 18:09:44 +00:00
Andreas Steiner
12326770dc 8313244: NM flags handling in configure process
Reviewed-by: clanger, jwaters, mbaesken, erikj
2023-08-11 13:21:46 +00:00
Albert Mingkun Yang
6ffc0324dc 8314113: G1: Remove unused G1CardSetInlinePtr::card_at
Reviewed-by: tschatzl
2023-08-11 12:19:39 +00:00
Johan Sjölen
62adeb08c3 8311648: Refactor the Arena/Chunk/ChunkPool interface
Reviewed-by: stuefe, coleenp
2023-08-11 09:32:45 +00:00
Ioi Lam
43462a36ab 8313224: Avoid calling JavaThread::current() in MemAllocator::Allocation constructor
Reviewed-by: tschatzl, coleenp
2023-08-11 03:39:39 +00:00
Mark Powers
9abb2a559e 8312461: JNI warnings in SunMSCApi provider
Reviewed-by: valeriep, djelinski
2023-08-10 23:43:38 +00:00
Jesse Glick
42758cb889 8312882: Update the CONTRIBUTING.md with pointers to lifecycle of a PR
Reviewed-by: erikj, jwilhelm
2023-08-10 22:26:32 +00:00
Calvin Cheung
88b4e3b853 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Reviewed-by: dholmes, iklam
2023-08-10 20:02:27 +00:00
Doug Simon
6f5c903d10 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Reviewed-by: never, thartmann
2023-08-10 18:53:02 +00:00
Damon Nguyen
d97de8260c 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Reviewed-by: honkar, serb
2023-08-10 17:52:28 +00:00
Xue-Lei Andrew Fan
79be8d9383 8312259: StatusResponseManager unused code clean up
Reviewed-by: mpowers, jnimeh
2023-08-10 17:15:56 +00:00
Tom Rodriguez
1875b2872b 8314061: [JVMCI] DeoptimizeALot stress logic breaks deferred barriers
Reviewed-by: thartmann, dnsimon
2023-08-10 16:40:28 +00:00
Coleen Phillimore
bd1b942741 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: dlong, iklam
2023-08-10 15:25:00 +00:00
Leonid Mesnik
9b53251131 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
2023-08-10 15:18:57 +00:00
Leonid Mesnik
e7c83ea948 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Reviewed-by: kvn, thartmann
2023-08-10 15:18:34 +00:00
Matthias Baesken
23fe2ece58 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: mdoerr
2023-08-10 12:06:43 +00:00
Coleen Phillimore
f47767ffef 8313882: Fix -Wconversion warnings in runtime code
Reviewed-by: pchilanomate, dlong, dholmes
2023-08-10 11:57:25 +00:00
Jaikiran Pai
0cb9ab04f4 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails
Reviewed-by: dfuchs, aefimov, alanb
2023-08-10 10:01:46 +00:00
Oli Gillespie
028b3ae1b1 8313874: JNI NewWeakGlobalRef throws exception for null arg
Reviewed-by: dholmes, kbarrett, shade
2023-08-10 08:51:50 +00:00
Doug Simon
83adaf5477 8313421: [JVMCI] avoid locking class loader in CompilerToVM.lookupType
Reviewed-by: never, thartmann
2023-08-10 08:17:03 +00:00
Per Minborg
35b60f925a 8298095: Refine implSpec for SegmentAllocator
Reviewed-by: mcimadamore
2023-08-10 07:57:19 +00:00
Matthias Baesken
6dba2026d7 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: cjplummer, sspitsyn
2023-08-10 07:23:24 +00:00
Thomas Stuefe
8f28809aa8 8299790: os::print_hex_dump is racy
Reviewed-by: shade, dholmes
2023-08-10 07:21:47 +00:00
Axel Boldt-Christmas
e080a0b4c0 8311508: ZGC: RAII use of IntelJccErratumAlignment
Reviewed-by: stefank, shade, tschatzl
2023-08-10 07:18:31 +00:00
Axel Boldt-Christmas
242a2e63df 8308843: Generational ZGC: Remove gc/z/TestHighUsage.java
Reviewed-by: ayang, tschatzl
2023-08-10 07:16:36 +00:00
Sergey Tsypanov
c822183e98 8313768: Reduce interaction with volatile field in j.u.l.StreamHandler
Reviewed-by: dfuchs, jpai
2023-08-10 05:50:19 +00:00
Alexandre Iline
cd16158edb 8314075: Update JCov version for JDK 22
Reviewed-by: serb
2023-08-10 00:43:28 +00:00
Joe Darcy
c307391ab1 8307184: Incorrect/inconsistent specification and implementation for Elements.getDocComment
Reviewed-by: vromero, jjg
2023-08-09 21:17:10 +00:00
Pavel Rappo
593ba2fe47 8313693: Introduce an internal utility for the Damerau–Levenshtein distance calculation
Reviewed-by: jlahoda, jjg
2023-08-09 16:08:23 +00:00
Christian Stein
360f65d7b1 8314022: Problem-list tests failing with jtreg 7.3
Reviewed-by: dholmes
2023-08-09 14:00:21 +00:00
Markus Grönlund
0eb0997ae4 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Reviewed-by: egahlin
2023-08-09 13:34:04 +00:00
Pavel Rappo
19ae62ae2c 8311170: Simplify and modernize equals and hashCode in security area
Reviewed-by: djelinski, rriggs, valeriep
2023-08-09 12:34:40 +00:00
Daniel Jeliński
e9f751ab16 8311247: Some cpp files are compiled with -std:c11 flag
Reviewed-by: aivanov, jwaters, prr, erikj
2023-08-09 12:26:32 +00:00
Erik Gahlin
213d3c449a 8313891: JFR: Incorrect exception message for RecordedObject::getInt
Reviewed-by: mgronlun
2023-08-09 11:46:25 +00:00
Richard Startin
0e2c72d7a5 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Reviewed-by: coleenp, aph, stuefe
2023-08-09 11:23:32 +00:00
Hannes Wallnöfer
52ec4bcb1b 8303056: Improve support for Unicode characters and digits in JavaDoc search
Reviewed-by: jjg
2023-08-09 09:50:21 +00:00
Albert Mingkun Yang
9cf12bb977 8313922: Remove unused WorkerPolicy::_debug_perturbation
Reviewed-by: tschatzl
2023-08-09 09:13:34 +00:00
Matthias Baesken
6e3cc131da 8312467: relax the builddir check in make/autoconf/basic.m4
Reviewed-by: clanger, erikj
2023-08-09 07:08:52 +00:00
Hannes Wallnöfer
77e5739f60 8310118: Resource files should be moved to appropriate directories
Reviewed-by: jjg
2023-08-09 07:01:15 +00:00
Matthias Baesken
96304f37f8 8313691: use close after failing os::fdopen in vmError and ciEnv
Reviewed-by: dholmes, thartmann
2023-08-09 06:54:15 +00:00
Leonid Mesnik
3fb4805b1a 8307462: [REDO] VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann
2023-08-09 06:29:42 +00:00
Stefan Karlsson
0a42c44bf8 8313954: Add gc logging to vmTestbase/vm/gc/containers/Combination05
Reviewed-by: tschatzl, lmesnik
2023-08-09 06:16:39 +00:00
Stefan Karlsson
735b16a696 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Reviewed-by: stuefe, shade, coleenp
2023-08-09 06:16:18 +00:00
Tobias Hartmann
d3b578f1c9 8313345: SuperWord fails due to CMove without matching Bool pack
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Hannes Greule <hannesgreule@outlook.de>
Reviewed-by: chagedorn, epeter, hgreule
2023-08-09 05:16:02 +00:00
Yi Yang
31a307f2fb 8306441: Two phase segmented heap dump
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Reviewed-by: amenkov, kevinw
2023-08-09 01:58:57 +00:00
Rajan Halade
515add88ed 8313206: PKCS11 tests silently skip execution
Reviewed-by: ssahoo, mullan
2023-08-08 20:21:16 +00:00
Jim Laskey
6864441163 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
2023-08-08 19:33:44 +00:00
Jorn Vernee
509f80bb04 8313889: Fix -Wconversion warnings in foreign benchmarks
Reviewed-by: pminborg, mcimadamore
2023-08-08 13:59:35 +00:00
Coleen Phillimore
5c3041ce83 8313435: Clean up unused default methods code
Reviewed-by: kbarrett, iklam
2023-08-08 12:12:57 +00:00
Coleen Phillimore
8752d4984a 8313785: Fix -Wconversion warnings in prims code
Reviewed-by: sspitsyn, dlong
2023-08-08 11:51:42 +00:00
Andrey Turbanov
41bdcded65 8313875: Use literals instead of static fields in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown
Reviewed-by: redestad, darcy, bpb, rgiulietti
2023-08-08 11:38:15 +00:00
Markus Grönlund
091e65e95b 8313552: Fix -Wconversion warnings in JFR code
Reviewed-by: coleenp
2023-08-08 11:01:59 +00:00
Thomas Schatzl
7e209528d3 8140326: G1: Consider putting regions where evacuation failed into next collection set
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-08-08 10:29:14 +00:00
Stefan Karlsson
28fd7a1739 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: ayang, aboldtch, tschatzl
2023-08-08 09:57:52 +00:00
Jan Lahoda
a1115a7a39 8312204: unexpected else with statement causes compiler crash
Reviewed-by: vromero
2023-08-08 09:28:21 +00:00
Jan Lahoda
87a6acbeee 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Reviewed-by: vromero
2023-08-08 08:49:39 +00:00
Chris Plummer
87b08b6e01 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Reviewed-by: sspitsyn, lmesnik
2023-08-07 18:51:29 +00:00
Alex Menkov
83edffa608 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Reviewed-by: sspitsyn, eosterlund
2023-08-07 18:27:33 +00:00
Justin Lu
1da82a34b1 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Reviewed-by: naoto, iris
2023-08-07 17:10:27 +00:00
Christian Stein
9c6eb67e85 8313167: Update to use jtreg 7.3
Reviewed-by: jjg, iris
2023-08-07 16:09:23 +00:00
Qing Xiao
380418fad0 8295058: test/langtools/tools/javac 116 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-08-07 15:49:11 +00:00
Antonios Printezis
4726960fcd 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Reviewed-by: luhenry, fyang
2023-08-07 14:17:44 +00:00
Per Minborg
bbbfa217a0 8313880: Incorrect copyright header in jdk/java/foreign/TestFree.java after JDK-8310643
Reviewed-by: thartmann
2023-08-07 12:34:52 +00:00
Coleen Phillimore
0bb6af3bc0 8313791: Fix just zPage.inline.hpp and xPage.inline.hpp
Reviewed-by: stefank, tschatzl
2023-08-07 12:06:41 +00:00
Aleksey Shipilev
4b192a8dc3 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Reviewed-by: thartmann, chagedorn
2023-08-07 11:26:08 +00:00
Per Minborg
0b4387e3a3 8310643: Misformatted copyright messages in FFM
Reviewed-by: jvernee
2023-08-07 10:58:11 +00:00
Aleksey Shipilev
538f9557b8 8313701: GHA: RISC-V should use the official repository for bootstrap
Reviewed-by: clanger, fyang
2023-08-07 10:48:11 +00:00
Aleksey Shipilev
226cdc696d 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Reviewed-by: dholmes, stuefe
2023-08-07 10:45:14 +00:00
Christian Hagedorn
dc01604756 8305636: Expand and clean up predicate classes and move them into separate files
Reviewed-by: thartmann, roland
2023-08-07 09:14:16 +00:00
Prasanta Sadhukhan
a38fdaf18d 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key.
Reviewed-by: abhiscxk, dnguyen, prr, serb
2023-08-07 09:12:33 +00:00
Abhishek Kumar
c1f4595e64 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
2023-08-07 05:02:16 +00:00
Julian Waters
90d795abf1 8313141: Missing check for os_thread type in os_windows.cpp
Reviewed-by: dholmes, mgronlun
2023-08-05 05:24:08 +00:00
Christoph Langer
6d18529616 8313795: Fix for JDK-8313564 breaks ppc and s390x builds
Reviewed-by: stuefe
2023-08-04 22:33:36 +00:00
Matias Saavedra Silva
ad6e9e75bf 8313554: Fix -Wconversion warnings for ResolvedFieldEntry
Reviewed-by: coleenp, dlong
2023-08-04 20:24:50 +00:00
danthe1st
b463c6d3b0 8311517: Add performance information to ArrayList javadoc
Reviewed-by: smarks, bpb
2023-08-04 20:21:25 +00:00
Stuart Marks
b2add96c35 8159527: Collections mutator methods should all be marked as optional operations
Reviewed-by: naoto, bpb
2023-08-04 19:27:56 +00:00
Ashutosh Mehra
873d117932 8312623: SA add NestHost and NestMembers attributes when dumping class
Reviewed-by: cjplummer, sspitsyn, stuefe
2023-08-04 18:42:37 +00:00
Thomas Stuefe
017e0c7850 8310388: Shenandoah: Auxiliary bitmap is not madvised for THP
Reviewed-by: shade, kdnilsen
2023-08-04 18:40:16 +00:00
Coleen Phillimore
f66cd5008d 8313564: Fix -Wconversion warnings in classfile code
Reviewed-by: matsaave, dholmes
2023-08-04 14:06:16 +00:00
Aleksey Shipilev
e8a37b90db 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Reviewed-by: thartmann, rkennke
2023-08-04 09:53:20 +00:00
Aleksey Shipilev
29f1d8ef50 8313707: GHA: Bootstrap sysroots with --variant=minbase
Reviewed-by: clanger, fyang
2023-08-04 09:11:32 +00:00
Raffaello Giulietti
61c58fdd00 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: alanb, smarks
2023-08-04 07:11:18 +00:00
Matthias Baesken
5d232959c2 8313251: Add NativeLibraryLoad event
Reviewed-by: jbechberger, egahlin, dholmes
2023-08-04 07:03:25 +00:00
Andreas Steiner
c4b8574b94 8311938: Add default cups include location for configure on AIX
Reviewed-by: clanger, mbaesken, jwaters
2023-08-04 06:56:12 +00:00
Qing Xiao
10a2605884 8294979: test/jdk/tools/jlink 3 test classes use ASM library
Reviewed-by: mchung, ksakata
2023-08-04 05:13:57 +00:00
KIRIYAMA Takuya
e8c325dea3 8313394: Array Elements in OldObjectSample event has the incorrect description
Reviewed-by: egahlin
2023-08-04 03:19:53 +00:00
Joe Wang
d60352e26f 8311006: missing @since info in jdk.xml.dom
Reviewed-by: iris, naoto, lancea
2023-08-03 21:49:05 +00:00
Tobias Hartmann
4577147993 8313712: [BACKOUT] 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: mikael
2023-08-03 18:08:29 +00:00
Tejesh R
bb3aac6063 8301606: JFileChooser file chooser details view "size" label cut off in Metal Look&Feel
Reviewed-by: aivanov, abhiscxk
2023-08-03 16:09:47 +00:00
Matthias Baesken
0f2fce7168 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: thartmann, lucy
2023-08-03 12:02:52 +00:00
Tobias Hartmann
ab1c212ac1 8312909: C1 should not inline through interface calls with non-subtype receiver
Reviewed-by: kvn, chagedorn
2023-08-03 11:02:42 +00:00
Jan Lahoda
c386091734 8312984: javac may crash on a record pattern with too few components
Reviewed-by: vromero
2023-08-03 08:37:15 +00:00
Thomas Stuefe
3212b64f8e 8313582: Problemlist failing test on linux x86
Reviewed-by: tschatzl
2023-08-03 08:32:13 +00:00
Matthias Baesken
bdac348c80 8313602: increase timeout for jdk/classfile/CorpusTest.java
Reviewed-by: clanger
2023-08-03 08:12:20 +00:00
Prasanta Sadhukhan
58906bf8fb 4893524: Swing drop targets should call close() on transferred readers and streams
Reviewed-by: serb, tr, aivanov
2023-08-03 07:23:19 +00:00
Jaikiran Pai
3c920f9cc6 8313274: [BACKOUT] Relax prerequisites for java.base-jmod target
Reviewed-by: dholmes
2023-08-03 07:15:21 +00:00
Amit Kumar
53ca75b18e 8313312: Add missing classpath exception copyright header
Reviewed-by: rriggs, asotona
2023-08-03 05:47:22 +00:00
Tejesh R
87d7e976cb 8311031: JTable header border vertical lines are not aligned with data grid lines
Reviewed-by: abhiscxk, psadhukhan, aivanov
2023-08-03 04:44:41 +00:00
Sergey Bylokhov
8248e351d0 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Reviewed-by: shade, prr
2023-08-02 23:37:35 +00:00
Jonathan Gibbons
6d180d5fbf 8313349: Introduce abstract void HtmlDocletWriter.buildPage()
Reviewed-by: prappo
2023-08-02 21:59:22 +00:00
Jim Laskey
bc1d2eac9a 8312821: Javac accepts char literal as template
Reviewed-by: jlahoda
2023-08-02 21:01:44 +00:00
Matias Saavedra Silva
cff25dd574 8306582: Remove MetaspaceShared::exit_after_static_dump()
Reviewed-by: iklam, alanb, ccheung
2023-08-02 17:11:22 +00:00
Brian Burkhalter
4ba81f631f 8313368: (fc) FileChannel.size returns 0 on block special files
Reviewed-by: vtewari, alanb
2023-08-02 15:25:59 +00:00
Deepa Kumari
c1a3f143bf 8312078: [PPC] JcmdScale.java Failing on AIX
Reviewed-by: stuefe, tsteele
2023-08-02 14:39:33 +00:00
Cesar Soares Lucas
6446792327 8312617: SIGSEGV in ConnectionGraph::verify_ram_nodes
Reviewed-by: kvn, thartmann
2023-08-02 14:27:07 +00:00
Antonios Printezis
b093880acd 8313322: RISC-V: implement MD5 intrinsic
Reviewed-by: luhenry, rehn
2023-08-02 13:17:00 +00:00
Stefan Karlsson
19e2c8c321 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: stuefe, tschatzl, eosterlund
2023-08-02 12:13:47 +00:00
Aleksey Shipilev
46fbedb2be 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: phh, thartmann
2023-08-02 11:21:34 +00:00
Alan Bateman
6faf05c6dd 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Reviewed-by: jpai, mchung
2023-08-02 10:40:25 +00:00
Albert Mingkun Yang
5d1b911c92 8310311: Serial: move Generation::contribute_scratch to DefNewGeneration
Reviewed-by: tschatzl, kbarrett
2023-08-02 09:17:41 +00:00
Aleksey Shipilev
9454b2bbe1 8312591: GCC 6 build failure after JDK-8280982
Reviewed-by: jiefu, prr
2023-08-02 07:00:37 +00:00
Jenny Shivayogi
6a853bba09 8311821: Simplify ParallelGCThreadsConstraintFunc after CMS removal
Reviewed-by: kbarrett, shade, tschatzl
2023-08-02 07:00:13 +00:00
Daniel Jeliński
e8471f6bbe 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Reviewed-by: mullan
2023-08-02 05:45:24 +00:00
Joe Wang
528596fa93 8310991: missing @since tags in java.xml
Reviewed-by: iris, naoto, lancea
2023-08-02 01:37:40 +00:00
Jim Laskey
f14245b388 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jlahoda, mcimadamore, vromero
2023-08-02 00:47:20 +00:00
Justin Lu
9b55e9a706 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto
2023-08-01 23:16:39 +00:00
John Jiang
28be34c1b9 8313226: Redundant condition test in X509CRLImpl
Reviewed-by: jnimeh
2023-08-01 22:35:27 +00:00
Calvin Cheung
dc14247077 8309240: Array classes should be stored in dynamic CDS archive
Reviewed-by: iklam
2023-08-01 22:08:55 +00:00
Calvin Cheung
bf7077752a 8312181: CDS dynamic dump crashes when verifying unlinked class from static archive
Reviewed-by: iklam, matsaave
2023-08-01 20:31:25 +00:00
Ashutosh Mehra
7ba8c69a2c 8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976
Reviewed-by: chagedorn, dlong, shade
2023-08-01 19:26:45 +00:00
Aleksey Shipilev
ec2f38fd38 8313428: GHA: Bump GCC versions for July 2023 updates
Reviewed-by: clanger, mbaesken, stuefe
2023-08-01 16:03:24 +00:00
Thomas Obermeier
98a915a54c 8313256: Exclude failing multicast tests on AIX
Reviewed-by: clanger
2023-08-01 15:31:54 +00:00
Christoph Langer
94b50b714a 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken, alanb
2023-08-01 13:45:10 +00:00
Coleen Phillimore
ee3e0917b3 8313249: Fix -Wconversion warnings in verifier code
Reviewed-by: matsaave, iklam, dlong
2023-08-01 11:59:11 +00:00
Joshua Cao
e36960ec6d 8312420: Integrate Graal's blender micro benchmark
Reviewed-by: dnsimon, thartmann, ksakata
2023-08-01 10:48:38 +00:00
Tejesh R
0a3c6d6bd0 8280482: Window transparency bug on Linux
Reviewed-by: dnguyen, azvegint
2023-08-01 04:28:42 +00:00
Matias Saavedra Silva
c91a3002fb 8307312: Replace "int which" with "int cp_index" in constantPool
Reviewed-by: coleenp, dholmes, iklam
2023-07-31 20:23:59 +00:00
Jim Laskey
6af0af5934 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: naoto, rriggs, mchung, liach
2023-07-31 19:11:14 +00:00
Matias Saavedra Silva
86783b9851 8301996: Move field resolution information out of the cpCache
Co-authored-by: Gui Cao <gcao@openjdk.org>
Co-authored-by: Dingli Zhang <dzhang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: coleenp, fparain
2023-07-31 18:41:38 +00:00
Thomas Stuefe
5362ec9c6e 8312492: Remove THP sanity checks at VM startup
Reviewed-by: dholmes, coleenp
2023-07-31 16:51:29 +00:00
Hai-May Chao
e47a84f23d 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: mullan, mbaesken
2023-07-31 15:18:04 +00:00
Gerard Ziemski
78f67993f8 8293972: runtime/NMT/NMTInitializationTest.java#default_long-off failed with "Suspiciously long bucket chains in lookup table."
Reviewed-by: stuefe, dholmes
2023-07-31 15:12:22 +00:00
Qing Xiao
97b688340e 8295059: test/langtools/tools/javap 12 test classes use com.sun.tools.classfile library
Reviewed-by: asotona
2023-07-31 15:03:05 +00:00
Matthias Baesken
3671d83c87 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Reviewed-by: clanger
2023-07-31 14:57:28 +00:00
Matias Saavedra Silva
b60e0adad6 8313207: Remove MetaspaceShared::_has_error_classes
Reviewed-by: ccheung, iklam
2023-07-31 13:44:38 +00:00
Aleksey Shipilev
408987e1ca 8313307: java/util/Formatter/Padding.java fails on some Locales
Reviewed-by: jlu, naoto
2023-07-31 08:35:31 +00:00
Jorn Vernee
6fca289887 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: mcimadamore, vlivanov
2023-07-31 08:01:17 +00:00
John Jiang
f8c2b7fee1 8313231: Redundant if statement in ZoneInfoFile
Reviewed-by: jiefu, scolebourne
2023-07-31 07:49:10 +00:00
Christoph Langer
807ca2d3a1 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
2023-07-31 07:42:37 +00:00
Thomas Stuefe
ad34be1f32 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: dholmes, shade
2023-07-29 05:36:58 +00:00
Vladimir Kempik
d6245b6832 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fyang
2023-07-28 21:55:33 +00:00
Jonathan Gibbons
402cb6a550 8312201: Clean up common behavior in "page writers" and "member writers"
8284447: Remove the unused NestedClassWriter interface

Reviewed-by: prappo
2023-07-28 17:48:31 +00:00
Justin Lu
23755f90c9 8312411: MessageFormat.formatToCharacterIterator() can be improved
Reviewed-by: naoto
2023-07-28 17:33:20 +00:00
Jonathan Gibbons
e2cb0bc6f1 8313204: Inconsistent order of sections in generated class documentation
Reviewed-by: hannesw, prappo
2023-07-28 17:05:37 +00:00
Jonathan Gibbons
4ae75cab53 8313253: Rename methods in javadoc Comparators class
Reviewed-by: hannesw, prappo
2023-07-28 16:39:33 +00:00
Coleen Phillimore
e897041770 8312262: Klass::array_klass() should return ArrayKlass pointer
Reviewed-by: dlong, ccheung
2023-07-28 16:32:06 +00:00
Justin Lu
a9a3463afb 8312416: Tests in Locale should have more descriptive names
Reviewed-by: lancea, naoto
2023-07-28 16:27:06 +00:00
Matthias Baesken
d9559f9b24 8312612: handle WideCharToMultiByte return values
Reviewed-by: clanger
2023-07-28 13:45:19 +00:00
Matthias Baesken
34173ff0d1 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: egahlin
2023-07-28 13:31:13 +00:00
Coleen Phillimore
47c4b992b4 8312121: Fix -Wconversion warnings in tribool.hpp
Reviewed-by: dlong, dholmes
2023-07-28 12:08:24 +00:00
Alexander Scherbatiy
a3d67231a7 8311033: [macos] PrinterJob does not take into account Sides attribute
Reviewed-by: prr, serb
2023-07-28 10:25:22 +00:00
Kevin Walls
4ae5a3e39b 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Reviewed-by: cjplummer, sspitsyn
2023-07-28 09:44:04 +00:00
Damon Fenacci
cad6114e1c 8304954: SegmentedCodeCache fails when using large pages
Reviewed-by: stuefe, thartmann
2023-07-28 09:09:48 +00:00
Leonid Mesnik
ba645da97b 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Reviewed-by: dholmes
2023-07-28 02:01:48 +00:00
Valerie Peng
c27c87786a 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: xuelei
2023-07-27 21:24:03 +00:00
Jiangli Zhou
c55d29ff11 8312626: Resolve multiple definition of 'start_timer' when statically linking JDK native libraries with user code
Reviewed-by: serb
2023-07-27 19:12:46 +00:00
Alexey Semenyuk
0ca2bfd779 8311104: dangling-gsl warning in libwixhelper.cpp
Reviewed-by: almatvee
2023-07-27 16:07:54 +00:00
Thomas Obermeier
c05ba48b60 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs, clanger
2023-07-27 15:45:20 +00:00
Kevin Walls
169b6e3cff 8313174: Create fewer predictable port clashes in management tests
Reviewed-by: cjplummer, amenkov
2023-07-27 15:40:13 +00:00
Roger Riggs
8650026ff1 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: bpb, scolebourne, prappo, naoto
2023-07-27 14:01:25 +00:00
Thomas Stuefe
25058cd23a 8312620: WSL Linux build crashes after JDK-8310233
Reviewed-by: dholmes, djelinski
2023-07-27 13:45:36 +00:00
Richard Reingruber
8661b8e115 8312495: assert(0 <= i && i < _len) failed: illegal index after JDK-8287061 on big endian platforms
Reviewed-by: clanger, kvn, dlong
2023-07-27 13:40:23 +00:00
Jaikiran Pai
486c7844f9 8312433: HttpClient request fails due to connection being considered idle and closed
Reviewed-by: djelinski
2023-07-27 12:14:14 +00:00
Gergö Barany
271417a0e1 8312579: [JVMCI] JVMCI support for virtual Vector API objects
Reviewed-by: dnsimon, never
2023-07-27 10:48:18 +00:00
Andreas Steiner
44576a7cca 8312466: /bin/nm usage in AIX makes needs -X64 flag
Reviewed-by: mbaesken, stuefe, jwaters
2023-07-27 10:37:40 +00:00
Doug Simon
86821a7ce8 8312235: [JVMCI] ConstantPool should not force eager resolution
Reviewed-by: never, matsaave
2023-07-27 08:39:32 +00:00
Eric Nothum
7cbab1f396 8312218: Print additional debug information when hitting assert(in_hash)
Reviewed-by: chagedorn, thartmann
2023-07-27 07:29:23 +00:00
Roland Westrelin
01e135c910 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Reviewed-by: chagedorn, kvn, thartmann
2023-07-27 07:24:46 +00:00
Matthias Baesken
b7545a69a2 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Reviewed-by: stuefe
2023-07-27 07:06:32 +00:00
Sean Coffey
36d578cddb 8311653: Modify -XshowSettings launcher behavior
Reviewed-by: mchung, rriggs
2023-07-27 06:33:27 +00:00
Paul Hohensee
a9d21c61fb 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Reviewed-by: dholmes, sspitsyn, shade
2023-07-26 19:30:21 +00:00
Rajan Halade
4c2e54fb05 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mullan
2023-07-26 16:55:29 +00:00
John Jiang
830413f19a 8313087: DerValue::toString should output a hex view of the values in byte array
Reviewed-by: mullan
2023-07-26 15:16:52 +00:00
Brian Burkhalter
74121930e3 4800398: (ch spec) Clarify Channels.newChannel(InputStream) spec
Reviewed-by: alanb
2023-07-26 15:07:18 +00:00
Christian Stein
e7726fbd69 8313155: Problem list some JUnit-based tests in test/jdk/java/lang/invoke
Reviewed-by: dholmes, jpai
2023-07-26 13:42:10 +00:00
Hannes Wallnöfer
02a04731b1 8312445: Array types in annotation elements show square brackets twice
Reviewed-by: prappo
2023-07-26 13:04:39 +00:00
Erik Gahlin
c22cadf32f 8312526: Test dk/jfr/event/oldobject/TestHeapDeep.java failed: Could not find ChainNode
Reviewed-by: mgronlun
2023-07-26 10:47:25 +00:00
Jan Lahoda
cc2a75e11c 8312619: Strange error message when switching over long
Reviewed-by: vromero
2023-07-26 10:35:15 +00:00
Jan Lahoda
1f81e5b19e 8312229: Crash involving yield, switch and anonymous classes
Reviewed-by: vromero
2023-07-26 09:44:50 +00:00
Jaikiran Pai
e9daf4a018 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Reviewed-by: kevinw, cjplummer, dholmes
2023-07-26 07:34:52 +00:00
Thomas Stuefe
117f42dbe9 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: kevinw, dholmes
2023-07-26 05:46:13 +00:00
Coleen Phillimore
2d05d3545c 8312979: Fix assembler_aarch64.hpp after JDK-8311847
Reviewed-by: dlong
2023-07-25 21:33:54 +00:00
Vladimir Petko
78a8a99d99 8312488: tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Reviewed-by: asemenyuk, almatvee
2023-07-25 20:12:23 +00:00
Joe Darcy
cb82c954e3 8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies
Reviewed-by: jjg, jlahoda
2023-07-25 18:57:32 +00:00
Justin Lu
c6396dceb9 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto
2023-07-25 18:26:23 +00:00
Jiangli Zhou
36f3bae556 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Reviewed-by: dholmes, coleenp, iklam
2023-07-25 16:37:51 +00:00
Anthony Scarpino
e554fdee25 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Reviewed-by: hchao, valeriep
2023-07-25 15:48:31 +00:00
Doug Simon
9606cbcd23 8312524: [JVMCI] serviceability/dcmd/compiler/CompilerQueueTest.java fails
Reviewed-by: never, thartmann
2023-07-25 13:12:42 +00:00
Jaikiran Pai
91fe032327 8312818: Incorrect format specifier in a HttpClient log message
Reviewed-by: djelinski
2023-07-25 11:00:33 +00:00
Matthias Baesken
bd098806f7 8312512: sspi.cpp avoid some NULL checks related to free and delete
Reviewed-by: djelinski
2023-07-25 10:56:23 +00:00
Erik Gahlin
b35ccb27c3 8312533: JFR: No message for JFR.view when data is missing
Reviewed-by: mgronlun
2023-07-25 09:58:29 +00:00
Aleksey Shipilev
ea067fc3d2 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Reviewed-by: prr, serb
2023-07-25 08:46:12 +00:00
Chad Rakoczy
9999838156 8311646: ZGC: LIR_OpZStoreBarrier::_info shadows LIR_Op::_info
Reviewed-by: kbarrett, eosterlund, ksakata
2023-07-25 06:04:42 +00:00
John Jiang
d63bff672f 8312578: Redundant javadoc in X400Address
Reviewed-by: xuelei, hchao
2023-07-24 22:12:28 +00:00
Dean Long
d0761c19d1 8312077: Fix signed integer overflow, final part
Reviewed-by: kvn, amitkumar
2023-07-24 20:40:08 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Ioi Lam
8008e27c55 8308903: Print detailed info for Java objects in -Xlog:cds+map
Reviewed-by: stuefe, ccheung
2023-07-24 17:56:42 +00:00
Sergey Tsypanov
d8f2e9ae3b 8310530: PipedOutputStream.flush() accesses sink racily
Reviewed-by: dfuchs, bpb, liach, rriggs
2023-07-24 16:24:40 +00:00
sunyaqi
fac9f88c52 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk, almatvee
2023-07-24 16:22:57 +00:00
Varada M
d5c6b0d0bb 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Reviewed-by: stuefe
2023-07-24 15:35:22 +00:00
Per Minborg
d1cc278260 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: jvernee
2023-07-24 15:00:47 +00:00
Erik Gahlin
3caf64e065 8309238: jdk/jfr/tool/TestView.java failed with "exitValue = 134"
Reviewed-by: mgronlun
2023-07-24 14:32:17 +00:00
Michael McMahon
298dda4c98 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Reviewed-by: aefimov, msheppar
2023-07-24 14:13:44 +00:00
Coleen Phillimore
7dd47998f0 8311847: Fix -Wconversion for assembler.hpp emit_int8,16 callers
Reviewed-by: dlong, aph
2023-07-24 12:09:27 +00:00
Prasanta Sadhukhan
197981b431 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Reviewed-by: azvegint, tr
2023-07-24 09:22:14 +00:00
Eric Nothum
04f39e1f1e 8310316: Failing HotSpot Compiler directives are too verbose
Reviewed-by: thartmann, chagedorn
2023-07-24 09:17:09 +00:00
Terry Chow
f3ade388da 8308593: Add Keepalive Extended Socket Options Support for Windows
Reviewed-by: michaelm, djelinski, vtewari
2023-07-24 09:03:10 +00:00
Tejesh R
ab821aa24f 6442919: JFilechooser popup still left-to-right when JFilechooser is set to right-to-left
Reviewed-by: serb, abhiscxk
2023-07-24 08:23:05 +00:00
Andreas Steiner
0328886450 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Reviewed-by: stuefe, mbaesken, clanger, vtewari
2023-07-24 06:24:00 +00:00
Thomas Stuefe
0487aa61c6 8312530: Problemlist runtime/os/TestTrimNative.java
Reviewed-by: dcubed
2023-07-23 06:33:15 +00:00
Doug Lea
8d1ab57065 8301341: LinkedTransferQueue does not respect timeout for poll()
8300663: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=true i=0 j=1"
8267502: JDK-8246677 caused 16x performance regression in SynchronousQueue

Reviewed-by: alanb
2023-07-22 10:41:42 +00:00
William Kemper
bfa76dffb5 8311978: Shenandoah: Create abstraction over heap metrics for heuristics
Reviewed-by: ysr, phh, shade
2023-07-21 21:47:20 +00:00
Jonathan Gibbons
3c644dc586 8312044: Simplify toolkit Builder/Writer world
Reviewed-by: prappo
2023-07-21 18:51:06 +00:00
Andrey Turbanov
f4ba7b2198 8312414: Make java.util.ServiceLoader.LANG_ACCESS final
Reviewed-by: alanb, jpai
2023-07-21 16:49:37 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Matthew Donovan
8042a50b99 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: djelinski
2023-07-21 14:45:59 +00:00
Thomas Stuefe
84b325b844 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Reviewed-by: dholmes, poonam
2023-07-21 14:19:57 +00:00
Jaikiran Pai
842d6329cf 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
Reviewed-by: alanb, cjplummer, dholmes
2023-07-21 12:58:20 +00:00
Thomas Stuefe
9e4fc568a6 8293114: JVM should trim the native heap
Reviewed-by: shade, rehn, dholmes
2023-07-21 12:22:03 +00:00
Markus Grönlund
59f66a3b83 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
2023-07-21 12:21:35 +00:00
Erik Gahlin
8cd43bff3c 8312474: JFR: Improve logging to diagnose event stream timeout
Reviewed-by: mgronlun
2023-07-21 08:09:52 +00:00
Ashutosh Mehra
3e8f1eb820 8311976: Inconsistency in usage of CITimeVerbose to generate compilation logs
Reviewed-by: kvn, thartmann
2023-07-21 05:25:31 +00:00
Eric Liu
d4aacdb446 8306136: [vectorapi] Intrinsics of VectorMask.laneIsSet()
Reviewed-by: psandoz, xgong
2023-07-21 03:26:30 +00:00
Serguei Spitsyn
783de32b6a 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: dholmes, pchilanomate
2023-07-20 22:40:18 +00:00
John Jiang
4e8f331a80 8312443: sun.security should use toLowerCase(Locale.ROOT)
Reviewed-by: xuelei
2023-07-20 21:48:19 +00:00
Mandy Chung
d7b9416406 8199149: Improve the exception message thrown by VarHandle of unsupported operation
Reviewed-by: liach, jvernee
2023-07-20 20:21:32 +00:00
Daniel Jeliński
354c6605e3 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb, valeriep
2023-07-20 16:39:17 +00:00
Naoto Sato
bae2247938 8308591: JLine as the default Console provider
Reviewed-by: alanb
2023-07-20 16:11:13 +00:00
Matthias Baesken
b772e67e29 8312395: Improve assertions in growableArray
Reviewed-by: dholmes, stuefe
2023-07-20 15:06:59 +00:00
Pavel Rappo
9fa944e63f 8312019: Simplify and modernize java.util.BitSet.equals
Reviewed-by: rriggs, martin
2023-07-20 13:54:45 +00:00
Alexander Zvegintsev
fe41910141 8312459: Problem list java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java for macOS
Reviewed-by: psadhukhan
2023-07-20 13:36:45 +00:00
Matthew Donovan
8d29329138 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Reviewed-by: xuelei, jpai
2023-07-20 11:07:23 +00:00
Thomas Stuefe
94eb44b192 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Reviewed-by: dholmes, shade
2023-07-20 10:23:35 +00:00
Pengfei Li
32833285bf 8311130: AArch64: Sync SVE related CPU features with VM options
Reviewed-by: aph, xgong
2023-07-20 09:35:45 +00:00
Sergey Nazarkin
a7427678e1 8312246: NPE when HSDB visits bad oop
Reviewed-by: cjplummer, sspitsyn
2023-07-20 09:21:23 +00:00
Wojciech Kudla
37c756a7be 8305506: Add support for fractional values of SafepointTimeoutDelay
Reviewed-by: mdoerr, dholmes
2023-07-20 05:10:39 +00:00
airsquared
dfe764e3f8 8309032: jpackage does not work for module projects unless --module-path is specified
Reviewed-by: asemenyuk, almatvee
2023-07-20 02:14:19 +00:00
Joe Darcy
61ab27087e 8310835: Address gaps in -Xlint:serial checks
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Chen Liang
5d57b5c2f0 6983726: Reimplement MethodHandleProxies.asInterfaceInstance
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: jvernee, mchung
2023-07-20 00:59:28 +00:00
Justin Lu
71cac8ce47 8311663: Additional refactoring of Locale tests to JUnit
Reviewed-by: naoto
2023-07-19 20:22:40 +00:00
Daohan Qu
aa23fd98f5 8311879: SA ClassWriter generates invalid invokedynamic code
Reviewed-by: matsaave, cjplummer, coleenp
2023-07-19 19:25:40 +00:00
Sidraya
6f6621303a 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: stuefe, amitkumar, tsteele
2023-07-19 18:49:24 +00:00
Pavel Rappo
b5b6f4e7a7 8312164: Refactor Arrays.hashCode for long, boolean, double, float, and Object arrays
Reviewed-by: rriggs, vtewari
2023-07-19 17:21:19 +00:00
Raffaello Giulietti
14cf035681 8302987: Add uniform and spatially equidistributed bounded double streams to RandomGenerator
Reviewed-by: darcy
2023-07-19 16:48:54 +00:00
Thomas Stuefe
d1c788c52b 8312392: ARM32 build broken since 8311035
Reviewed-by: shade
2023-07-19 16:14:25 +00:00
Ashutosh Mehra
c1190375fc 8311971: SA's ConstantPool.java uses incorrect computation to read long value in the constant pool
Reviewed-by: cjplummer, dholmes, stuefe
2023-07-19 14:24:16 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Gui Cao
e7adbdb1f1 8311923: TestIRMatching.java fails on RISC-V
Reviewed-by: fyang
2023-07-19 13:14:03 +00:00
Roland Westrelin
c6ab9c2905 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Reviewed-by: kvn, thartmann, chagedorn
2023-07-19 11:31:49 +00:00
Johan Sjölen
d33e8e6f93 8312200: Fix Parse::catch_call_exceptions memory leak
Reviewed-by: kvn, thartmann
2023-07-19 09:03:53 +00:00
Daniel Jeliński
f677793d02 8312190: Fix c++11-narrowing warnings in hotspot code
Reviewed-by: dholmes, kbarrett
2023-07-19 07:49:52 +00:00
Jie Fu
82612e2725 8312329: Minimal build failure after JDK-8311541
Reviewed-by: dholmes, amitkumar
2023-07-19 04:58:22 +00:00
Julian Waters
702fea8deb 8312147: Dynamic Exception Specification warnings are no longer required after JDK-8311380
Reviewed-by: prr, serb
2023-07-19 00:44:43 +00:00
Joe Darcy
e5ecbff69e 8312203: Improve specification of Array.newInstance
Reviewed-by: bpb, mchung
2023-07-18 22:40:12 +00:00
David Holmes
c2f421b8bf 8311541: JavaThread::print_jni_stack doesn't support native stacks on all platforms
Reviewed-by: pchilanomate, shade, stuefe
2023-07-18 22:04:37 +00:00
Sergey Bylokhov
e31df3a774 6211126: ICC_ColorSpace.toCIEXYZ(float[]): NPE is not specified
6211139: ICC_ColorSpace.toRGB(float[]): NPE is not specified

Reviewed-by: prr
2023-07-18 21:51:11 +00:00
Sergey Bylokhov
7d9f5afea1 6211202: ColorSpace.getInstance(int): IAE is not specified
Reviewed-by: prr
2023-07-18 21:46:02 +00:00
Valerie Peng
28c4d196cf 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: ascarpino, xuelei, mullan
2023-07-18 21:35:41 +00:00
Christian Hagedorn
5c4623b360 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-18 21:17:09 +00:00
Jan Lahoda
cb5f1b72e1 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-18 21:17:09 +00:00
Calvin Cheung
925138a942 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-18 21:17:08 +00:00
Brian Burkhalter
889c663a0e 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:17:08 +00:00
Ioi Lam
be70bc1c58 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-18 21:17:08 +00:00
Hai-May Chao
ecd0bc1d62 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:17:08 +00:00
Lance Andersen
fff7e1ad00 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:17:07 +00:00
Michael McMahon
4ae3d8f2cd 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:17:07 +00:00
Tobias Hartmann
34dbb22505 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Tobias Hartmann
5e47b8e5e6 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Jamil Nimeh
282a93a4cc 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-18 21:17:06 +00:00
Alex Menkov
af5bf81754 8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Reviewed-by: sspitsyn, dholmes
2023-07-18 20:16:41 +00:00
Mandy Chung
b4dce0d624 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: liach, rriggs, bchristi
2023-07-18 16:07:35 +00:00
Markus Grönlund
9905f75822 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
2023-07-18 16:00:30 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Aggelos Biboudis
1fc726a8b3 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
2023-07-18 11:41:36 +00:00
Matthew Donovan
b20dc1e9cd 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Reviewed-by: jnimeh
2023-07-18 10:45:41 +00:00
Hao Sun
4b9ec82451 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Reviewed-by: mseledtsov, lmesnik
2023-07-18 05:58:31 +00:00
Jaikiran Pai
8ec136e6f0 8312072: Deprecate for removal the -Xnoagent option
Reviewed-by: alanb, dholmes, cjplummer
2023-07-18 05:41:37 +00:00
Alan Bateman
fbe51e388d 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: shade, bpb
2023-07-18 05:13:14 +00:00
Chen Liang
201e3bcf52 8291065: Creating a VarHandle for a static field triggers class initialization
Reviewed-by: mchung, psandoz
2023-07-18 00:58:25 +00:00
Cesar Soares Lucas
a53345ad03 8287061: Support for rematerializing scalar replaced objects participating in allocation merges
Reviewed-by: kvn, vlivanov
2023-07-17 23:01:35 +00:00
Serguei Spitsyn
3236ba0be4 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: dholmes
2023-07-17 22:50:25 +00:00
Pavel Rappo
5cc71f817f 8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Justin Lu
6a09992dbd 8311968: Clarify Three-letter time zone IDs in java.util.TimeZone
Reviewed-by: naoto, lancea
2023-07-17 21:00:49 +00:00
Anthony Scarpino
6ae152d1be 8312196: ProblemList test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java
Reviewed-by: darcy
2023-07-17 20:37:40 +00:00
Joe Darcy
295ae1190d 8312195: Changes in JDK-8284493 use wrong copyright syntax
Reviewed-by: rriggs
2023-07-17 19:44:08 +00:00
Chris Hennick
f975be44a8 8284493: Improve computeNextExponential tail performance and accuracy
Reviewed-by: darcy
2023-07-17 19:19:13 +00:00
Anthony Scarpino
e737968792 8308398: Move SunEC crypto provider into java.base
Reviewed-by: valeriep, alanb
2023-07-17 17:38:54 +00:00
Jorn Vernee
69a46c25cc 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Reviewed-by: mcimadamore
2023-07-17 14:53:37 +00:00
Chen Liang
3fb9d117e3 8311172: Classfile.PREVIEW_MINOR_VERSION doesn't match that read from class files
Reviewed-by: asotona
2023-07-17 11:53:32 +00:00
Matthew Donovan
afcf8e4751 8290005: com/sun/jndi/ldap/LdapCBPropertiesTest.java failling with NullPointerException
Reviewed-by: jnimeh, xuelei
2023-07-17 11:16:19 +00:00
Prasanta Sadhukhan
acf591e856 8140527: JInternalFrame has incorrect title button width
8139392: JInternalFrame has incorrect padding

Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, tr
2023-07-17 08:40:10 +00:00
Sean Coffey
f6e23ae451 8310201: Reduce verbose locale output in -XshowSettings launcher option
Reviewed-by: jpai
2023-07-17 08:28:16 +00:00
Jan Lahoda
a4412166ec 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-17 08:19:51 +00:00
Jan Lahoda
1c9691b1f7 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey
2023-07-17 06:43:16 +00:00
Thomas Stuefe
37ca9024ef 8310233: Fix THP detection on Linux
Reviewed-by: jsjolen, dholmes
2023-07-17 04:56:10 +00:00
Jaikiran Pai
81c4e8f916 8304006: jlink should create the jimage file in the native endian for the target platform
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: alanb, mchung, rriggs
2023-07-16 07:11:39 +00:00
Ludovic Henry
e8f66bf88c 8310949: RISC-V: Initialize UseUnalignedAccesses
Reviewed-by: rehn, vkempik, fyang
2023-07-15 06:50:21 +00:00
Joe Darcy
19691fab48 6361826: (reflect) provide method for mapping strings to class object for primitive types
Reviewed-by: rriggs, mchung
2023-07-14 20:18:23 +00:00
Chris Plummer
c84866ac0d 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: kevinw, sspitsyn
2023-07-14 18:39:34 +00:00
Alan Bateman
0d2196f8e5 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Reviewed-by: jpai
2023-07-14 16:01:26 +00:00
Ilya Gavrilin
f3b96f6937 8311862: RISC-V: small improvements to shift immediate instructions
Reviewed-by: luhenry, fjiang, fyang
2023-07-14 14:32:40 +00:00
Doug Simon
a63f865feb 8311946: add support for libgraal specific jtreg tests
Reviewed-by: kvn, thartmann
2023-07-14 14:10:10 +00:00
Leslie Zhai
167d1c1835 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Reviewed-by: jiefu, stuefe, shade
2023-07-14 13:54:46 +00:00
Markus Grönlund
7539cc092d 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin, thartmann
2023-07-14 10:46:49 +00:00
Jan Lahoda
d1fa1a8686 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
2023-07-14 09:54:56 +00:00
Thomas Stuefe
4676b40f17 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: dnsimon, dholmes
2023-07-14 08:49:05 +00:00
Jan Lahoda
bbb7ce5137 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-14 08:21:48 +00:00
Sean Coffey
2e12a123c9 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: rriggs, mullan
2023-07-14 07:31:09 +00:00
Jenny Shivayogi
43099a85b1 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: phh, shade, jlahoda
2023-07-13 22:09:21 +00:00
Liam Miller-Cushon
c7c6d47a07 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Reviewed-by: prr, serb
2023-07-13 19:36:36 +00:00
Matthew Donovan
af7f95e24a 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Reviewed-by: jnimeh
2023-07-13 17:52:27 +00:00
Ashutosh Mehra
c710e71178 8311102: Write annotations in the classfile dumped by SA
Reviewed-by: cjplummer, stuefe
2023-07-13 17:14:30 +00:00
Markus Grönlund
61932f49a5 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
2023-07-13 16:50:16 +00:00
Viktor Klang
8c9d091f19 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Reviewed-by: stefank, alanb
2023-07-13 14:25:50 +00:00
Matthias Baesken
b587fc51a8 8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX
Reviewed-by: alanb, vtewari
2023-07-13 14:02:52 +00:00
Coleen Phillimore
135f64e603 8311583: tableswitch broken by JDK-8310577
Reviewed-by: dholmes, dlong
2023-07-13 13:20:52 +00:00
Markus Grönlund
6895debf66 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin, mseledtsov
2023-07-13 12:13:44 +00:00
Leo Korinth
bb5278d98a 8311239: GC: Remove trailing blank lines in source files
Reviewed-by: tschatzl, aboldtch, mli
2023-07-13 08:53:36 +00:00
Alan Bateman
92a04e201e 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
2023-07-13 07:33:01 +00:00
Erik Gahlin
f60c1f9bc4 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
2023-07-13 07:27:16 +00:00
Yudi Zheng
1b0dd7c254 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Reviewed-by: dnsimon, iklam
2023-07-13 07:20:18 +00:00
Matthias Baesken
a38a421f62 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
2023-07-13 07:11:14 +00:00
Matthias Baesken
812dadb0f9 8311788: ClassLoadUnloadTest fails on AIX after JDK-8193513
Reviewed-by: lucy, stuefe
2023-07-13 07:05:57 +00:00
Serguei Spitsyn
11a5115caf 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: lmesnik, cjplummer
2023-07-13 01:55:37 +00:00
Pengfei Li
a38582e941 8311691: C2: Remove legacy code related to PostLoopMultiversioning
Reviewed-by: kvn, sviswanathan
2023-07-13 01:45:52 +00:00
David Holmes
38f74125d1 8311609: [windows] Native stack printing lacks source information for dynamically loaded dlls
Reviewed-by: stuefe, iklam
2023-07-13 01:21:06 +00:00
Jonathan Gibbons
e51472e9a8 8309566: Migrate away from TagletWriter and TagletWriterImpl
8311974: Clean up Utils.getBlockTags

Reviewed-by: prappo
2023-07-13 01:03:52 +00:00
Julian Waters
fb90af881b 8311380: Prepare java.desktop for C++17
Reviewed-by: azvegint
2023-07-13 00:58:51 +00:00
Stuart Marks
743e8b8e0a 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: psandoz
2023-07-12 23:45:42 +00:00
David Holmes
372d0cf752 8311545: Allow test symbol files to be kept in the test image
Reviewed-by: mikael
2023-07-12 23:01:54 +00:00
Chad Rakoczy
489a32fe40 8311813: C1: Uninitialized PhiResolver::_loop field
Reviewed-by: thartmann, shade
2023-07-12 19:24:18 +00:00
Rajan Halade
119cc495fc 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
2023-07-12 18:15:20 +00:00
Brian Burkhalter
ed9337e665 8155902: DataOuputStream should clarify that it might write primitive types as multiple byte groups
Reviewed-by: alanb, djelinski, lancea, rriggs
2023-07-12 18:14:56 +00:00
Stuart Marks
f82c8184b2 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: rriggs
2023-07-12 16:10:41 +00:00
Alan Bateman
7304316a8c 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Reviewed-by: jpai
2023-07-12 15:44:41 +00:00
Matthias Baesken
aa7367f1ec 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Reviewed-by: jbechberger, stuefe
2023-07-12 10:39:28 +00:00
Thomas Stuefe
753bd563ec 8311870: Split CompressedKlassPointers from compressedOops.hpp
Reviewed-by: iklam, rkennke
2023-07-12 09:06:53 +00:00
Chad Rakoczy
0b0e064e36 8311656: Shenandoah: Unused ShenandoahSATBAndRemarkThreadsClosure::_claim_token
Reviewed-by: ysr, shade
2023-07-12 07:29:52 +00:00
Rajan Halade
fd7fddb6ed 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: xuelei, mullan
2023-07-11 23:53:40 +00:00
Justin Lu
d82ade3545 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: naoto
2023-07-11 20:43:03 +00:00
Alexey Ivanov
aac903dbfb 8311805: Clean up ScrollPane: drop redundant initialiser, mark scroller final
Reviewed-by: azvegint, serb, prr
2023-07-11 19:41:42 +00:00
Alex Menkov
15195e6018 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Reviewed-by: sspitsyn, cjplummer
2023-07-11 17:31:21 +00:00
Justin Lu
6cb9ec32a6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto
2023-07-11 17:12:02 +00:00
Jenny Shivayogi
401c3dea5d 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: shade, simonis, alanb, rriggs
2023-07-11 16:55:23 +00:00
Jiangli Zhou
e154b0d6cd 8311606: Change read_icc_profile() to static function in java.desktop/share/native/libjavajpeg/imageioJPEG.c
Reviewed-by: serb
2023-07-11 16:53:44 +00:00
Swati Sharma
a03a3a43bb 8311178: JMH tests don't scale well when sharing output buffers
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli
2023-07-11 16:14:33 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Roland Westrelin
caadad4fdc 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: kvn, vlivanov, thartmann, simonis
2023-07-11 15:59:17 +00:00
Alexey Ivanov
b3f34039fe 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: prr, honkar, serb
2023-07-11 13:43:15 +00:00
Erik Gahlin
a1cfc96954 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
2023-07-11 11:03:36 +00:00
Hao Sun
4b1403d06b 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: aboldtch, fyang, kbarrett, tschatzl
2023-07-10 22:00:31 +00:00
Eirik Bjorsnos
940a4e12d1 8304503: Modernize debugging jvm args in demo netbeans projects
Reviewed-by: prr
2023-07-10 21:48:03 +00:00
Patricio Chilano Mateo
57e7e82fa1 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: dholmes, coleenp
2023-07-10 19:09:27 +00:00
Naoto Sato
63f32fbe97 8311528: Remove IDE specific SuppressWarnings
Reviewed-by: lancea, bpb, jlu
2023-07-10 17:07:26 +00:00
Liam Miller-Cushon
b285ed72ae 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Reviewed-by: prr
2023-07-10 16:13:06 +00:00
Maurizio Cimadamore
6569b252b9 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
2023-07-10 15:04:21 +00:00
Alan Bateman
623cfcd04b 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: dfuchs, jpai
2023-07-10 12:33:29 +00:00
Christian Hagedorn
06a1a15d01 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Reviewed-by: thartmann
2023-07-10 07:44:16 +00:00
Ioi Lam
581f90e242 8311604: Simplify NOCOOPS requested addresses for archived heap objects
Reviewed-by: ccheung
2023-07-09 15:18:46 +00:00
Doug Simon
4a1fcb6063 8193513: add support for printing a stack trace on class loading
Reviewed-by: dholmes, iklam, coleenp
2023-07-08 07:56:28 +00:00
Leonid Mesnik
292ee630ae 8305962: update jcstress to 0.16
Reviewed-by: shade
2023-07-07 19:14:17 +00:00
Justin Lu
12e9430910 8310818: Refactor more Locale tests to use JUnit
Reviewed-by: lancea, naoto
2023-07-07 19:12:13 +00:00
Kevin Driver
5667afc362 8295068: SSLEngine throws NPE parsing CertificateRequests
Reviewed-by: xuelei
2023-07-07 16:55:26 +00:00
Daniel Jeliński
34004e1666 8311575: Fix invalid format parameters
Reviewed-by: dholmes, kbarrett, mli
2023-07-07 12:14:16 +00:00
Daohan Qu
9084b6c9d5 8311514: Incorrect regex in TestMetaSpaceLog.java
Reviewed-by: stuefe
2023-07-07 11:49:29 +00:00
Matthias Baesken
0ef03f1228 8311285: report some fontconfig related environment variables in hs_err file
Reviewed-by: clanger, stuefe
2023-07-07 10:27:51 +00:00
Johan Sjölen
92ca670bf3 8310170: Use sp's argument to improve performance of outputStream::indent and remove SP_USE_TABS
Reviewed-by: shade, dholmes, stuefe
2023-07-07 09:24:30 +00:00
Matthias Baesken
25cbe85d6f 8310550: Adjust references to rt.jar
Reviewed-by: erikj, clanger
2023-07-07 06:57:23 +00:00
Matthias Baesken
848abd2831 8311511: Improve description of NativeLibrary JFR event
Reviewed-by: clanger, jbechberger
2023-07-07 06:55:32 +00:00
Prasanta Sadhukhan
6485b7d0d3 6875229: Wrong placement of icons in JTabbedPane in Nimbus
Reviewed-by: honkar, abhiscxk, dnguyen, jdv
2023-07-07 02:55:42 +00:00
Daohan Qu
27de536b40 8311581: Remove obsolete code and comments in TestLVT.java
Reviewed-by: coleenp, jwaters
2023-07-07 01:43:44 +00:00
Justin Lu
e848d9471f 8310923: Refactor Currency tests to use JUnit
Reviewed-by: naoto, lancea
2023-07-07 01:32:59 +00:00
Patricio Chilano Mateo
0c86c31bcc 8302351: "assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite
Reviewed-by: dcubed, sspitsyn, dlong
2023-07-06 19:15:45 +00:00
Oliver Kopp
ec7da91bd8 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: mchung
2023-07-06 16:08:36 +00:00
Johan Sjölen
97e99f01d4 8311087: PhiNode::wait_for_region_igvn should break early
Reviewed-by: thartmann, chagedorn
2023-07-06 12:27:13 +00:00
Aleksey Shipilev
7173c3009e 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: dholmes, stuefe
2023-07-06 10:38:34 +00:00
Daniel Jeliński
356067d03f 8311489: Remove unused dirent_md files
Reviewed-by: bpb
2023-07-06 10:24:47 +00:00
Daniel Jeliński
3d813ae39f 8311301: MethodExitTest may fail with stack buffer overrun
Reviewed-by: kevinw, dholmes, cjplummer, sspitsyn
2023-07-06 08:52:28 +00:00
Hannes Wallnöfer
0741cd3289 8311264: JavaDoc index comparator is not transitive
Reviewed-by: jjg
2023-07-06 07:08:20 +00:00
Christian Hagedorn
edb2be10fb 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Reviewed-by: thartmann
2023-07-06 06:32:05 +00:00
Naoto Sato
d072c40ff1 8311183: Remove unused mapping test files
Reviewed-by: lancea, bpb
2023-07-05 23:27:36 +00:00
Joakim Nordström
66d2736521 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: egahlin
2023-07-05 22:26:57 +00:00
Thomas Stuefe
0616648c59 8311035: CDS should not use dump time JVM narrow Klass encoding to pre-compute Klass ids
Reviewed-by: iklam
2023-07-05 19:51:27 +00:00
Roger Riggs
6eba096ca2 8310999: Add @since info in jdk.jsobject files
Reviewed-by: lancea, joehw, bpb, iris, prr
2023-07-05 18:21:48 +00:00
Jatin Bhateja
6ebb0e3bd4 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: thartmann, chagedorn
2023-07-05 15:37:38 +00:00
Pavel Rappo
2cffef2120 8311290: Improve java.lang.ref.Cleaner rendered documentation
Reviewed-by: rriggs
2023-07-05 14:10:44 +00:00
Coleen Phillimore
22e17c29a2 8311180: Remove unused unneeded definitions from globalDefinitions
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: dholmes, aboldtch
2023-07-05 12:37:38 +00:00
Coleen Phillimore
cf82e3152b 8311077: Fix -Wconversion warnings in jvmti code
Reviewed-by: fparain, matsaave, dholmes
2023-07-05 12:30:07 +00:00
Conor Cleary
00ac46c06d 8310645: CancelledResponse.java does not use HTTP/2 when testing the HttpClient
Reviewed-by: dfuchs
2023-07-05 11:04:10 +00:00
Jatin Bhateja
d6578bff1c 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: sviswanathan, xgong, thartmann
2023-07-05 05:46:24 +00:00
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Darragh Clarke
607ddaa0e6 8310997: missing @since tags in jdk.httpserver
Reviewed-by: dfuchs
2023-07-04 12:19:44 +00:00
Darragh Clarke
7655b487da 8311001: missing @since info in jdk.net
Reviewed-by: dfuchs
2023-07-04 12:19:23 +00:00
Aleksey Shipilev
711cddd899 8311249: Remove unused MemAllocator::obj_memory_range
Reviewed-by: tschatzl
2023-07-04 09:01:47 +00:00
Sidraya Jayagond
514816ed7d 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Reviewed-by: amitkumar, lucy
2023-07-04 04:35:18 +00:00
Xiaohong Gong
60544f9088 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: epeter, chagedorn
2023-07-04 01:35:03 +00:00
Vladimir Petko
0916e6a603 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
2023-07-03 22:25:20 +00:00
Harshitha Onkar
d8a012161a 8311109: tautological-compare warning in awt_Win32GraphicsDevice.cpp
Reviewed-by: aivanov
2023-07-03 20:43:17 +00:00
Mandy Chung
b9198f9931 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: dholmes, darcy
2023-07-03 16:04:35 +00:00
Axel Boldt-Christmas
f393975d1b 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: stefank, ayang
2023-07-03 14:06:58 +00:00
Erik Gahlin
ba974d5c62 8310661: JFR: Replace JVM.getJVM() with JVM
Reviewed-by: mgronlun
2023-07-03 12:19:57 +00:00
Leo Korinth
496f94b488 8311086: Remove jtreg/gc/startup_warnings
Reviewed-by: ayang, mli, kbarrett, tschatzl
2023-07-03 11:11:05 +00:00
Renjith Kannath Pariyangad
9d2e0b2a80 8307934: JRobot.moveMouseTo must access component on EDT
Reviewed-by: aivanov
2023-07-03 10:32:47 +00:00
Darragh Clarke
87c79c0801 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Reviewed-by: alanb, dfuchs
2023-07-03 10:03:54 +00:00
Daohan Qu
8e0ca8e05c 8310331: JitTester: Exclude java.lang.Math.random
Reviewed-by: thartmann, chagedorn
2023-07-03 08:59:35 +00:00
Daniel Jeliński
055b4b426c 8310948: Fix ignored-qualifiers warning in Hotspot
Reviewed-by: kbarrett, dholmes
2023-07-03 07:51:38 +00:00
Emanuel Peter
2c29705d7b 8309660: C2: failed: XMM register should be 0-15 (UseKNLSetting and ConvF2HF)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: sviswanathan, jbhateja
2023-07-03 06:50:16 +00:00
David Holmes
52ee570025 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: aph, thartmann
2023-07-03 04:23:58 +00:00
Robbin Ehn
faf1b822d0 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, stuefe, fyang
2023-07-02 16:15:28 +00:00
Daniel D. Daugherty
0e3d91dc21 8311215: [BACKOUT] JDK-8047998 Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: jiefu
2023-07-01 15:55:29 +00:00
Daohan Qu
09a4924015 8311145: Remove check_with_errno duplicates
Reviewed-by: rehn, stuefe
2023-07-01 08:45:24 +00:00
Guoxiong Li
8abb9f590f 8047998: Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: ayang, tschatzl
2023-07-01 08:01:22 +00:00
Xin Liu
d2e1159300 8311125: Remove unused parameter 'phase' in AllocateNode::Ideal_allocation
Reviewed-by: chagedorn, kvn
2023-07-01 07:25:26 +00:00
Chen Liang
8c8e9d911d 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
2023-06-30 23:37:53 +00:00
Daniel D. Daugherty
140b70fb29 8311186: ProblemList javax/management/remote/mandatory/subjectDelegation/SubjectDelegation1Test.java on linux-aarch64
8311189: disable gc/z/TestHighUsage.java
8311190: ProblemList javax/management/remote/mandatory/connection/DeadLockTest.java with virtual threads on windows-x64
8311191: ProblemList javax/management/remote/mandatory/connection/ConnectionTest.java with virtual threads on windows-x64
8311193: ProblemList vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java on linux-all
8311195: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java with Xcomp on macosx-x64

Reviewed-by: lmesnik
2023-06-30 21:43:09 +00:00
Serguei Spitsyn
971c2efb69 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate, cjplummer, lmesnik
2023-06-30 20:58:15 +00:00
Doug Simon
f6bdccb45c 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: never, kvn
2023-06-30 20:10:24 +00:00
Joe Darcy
456bf115aa 8310173: Update --release 21 symbol information for JDK 21 build 29
Reviewed-by: iris
2023-06-30 19:11:40 +00:00
Kevin Walls
19601ebe91 8310993: Missing @since tags in jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-06-30 17:49:56 +00:00
Daniel Fuchs
e8ff74c7e8 8310987: Missing @since tag(s) in java/util/logging/ErrorManager.java
Reviewed-by: lancea, iris
2023-06-30 16:06:50 +00:00
Pavel Rappo
e3a7e020d2 8311162: Simplify and modernize equals and hashCode for java.net
Reviewed-by: dfuchs, michaelm, msheppar
2023-06-30 15:17:23 +00:00
Eric Caspole
430d6b61c5 8309976: Add microbenchmark for stressing code cache
Reviewed-by: redestad, shade
2023-06-30 15:02:45 +00:00
Albert Mingkun Yang
33011ea19b 8310946: G1: Refactor G1Policy::next_gc_should_be_mixed
Reviewed-by: tschatzl, kbarrett
2023-06-30 12:23:18 +00:00
Matthias Baesken
a7d168b522 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Reviewed-by: sspitsyn, tschatzl
2023-06-30 11:35:02 +00:00
Kevin Walls
c08c9831df 8311000: missing @since info in jdk.management
Reviewed-by: rriggs, mli
2023-06-30 08:28:19 +00:00
Kevin Walls
660cd256b7 8310988: Missing @since tags in java.management.rmi
Reviewed-by: rriggs, alanb, jjg, mli
2023-06-30 08:26:44 +00:00
Axel Boldt-Christmas
2a9e2f614f 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: kbarrett, tschatzl
2023-06-30 08:10:09 +00:00
Gui Cao
77e7b6d2a1 8311074: RISC-V: Fix -Wconversion warnings in some code header files
Reviewed-by: fyang, coleenp
2023-06-30 00:16:57 +00:00
Roger Riggs
11fd34e196 8310241: OffsetDateTime compareTo redundant computation
Reviewed-by: naoto
2023-06-29 21:05:37 +00:00
Joe Darcy
d97966266e 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: bpb, jlaskey, mchung
2023-06-29 20:31:57 +00:00
Naoto Sato
a995aa6cd1 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond
Reviewed-by: iris, rriggs, jpai
2023-06-29 16:15:02 +00:00
Roland Westrelin
26efff7586 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: kvn, chagedorn
2023-06-29 15:05:49 +00:00
Ashutosh Mehra
05c2b6cd47 8309979: BootstrapMethods attribute is missing in class files recreated by SA
Reviewed-by: cjplummer, kevinw
2023-06-29 14:16:15 +00:00
shaojin.wensj
20f7d05ef2 8310502: Optimization for j.l.Long.fastUUID()
Reviewed-by: liach, alanb
2023-06-29 13:37:32 +00:00
Chen Liang
07734f6dde 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields
Reviewed-by: asotona
2023-06-29 12:32:52 +00:00
Damon Fenacci
e5744b8120 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Reviewed-by: thartmann, dholmes
2023-06-29 12:07:54 +00:00
Artem Semenov
98a954eebc 8308286: Fix clang warnings in linux code
Reviewed-by: avu, djelinski
2023-06-29 09:07:34 +00:00
Nikita Gubarkov
f842ec48b1 8305667: Some fonts installed in user directory are not detected on Windows
Reviewed-by: avu, prr
2023-06-29 08:28:22 +00:00
Roland Westrelin
690d626995 8307927: C2: "malformed control flow" with irreducible loop
Reviewed-by: thartmann, epeter
2023-06-29 07:43:46 +00:00
Roland Westrelin
be64d3ac3c 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: thartmann, kvn
2023-06-29 07:41:04 +00:00
Eric Nothum
b2eae16c45 8295191: IR framework timeout options expect ms instead of s
Reviewed-by: chagedorn, kvn, thartmann
2023-06-29 06:59:12 +00:00
Daniel Jeliński
af319d963f 8311064: Windows builds fail without precompiled headers after JDK-8310728
Reviewed-by: dholmes
2023-06-29 06:05:53 +00:00
Chen Liang
cbf418a486 8311020: Typo cleanup in Classfile API
Reviewed-by: asotona
2023-06-29 05:44:02 +00:00
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Ioi Lam
cf8d706300 8308463: Refactor regenerated class handling in lambdaFormInvokers.cpp
Reviewed-by: coleenp, dholmes, matsaave
2023-06-29 04:28:30 +00:00
Glavo
6f58ab2bb9 8301569: jmod list option and jimage list --help not interpreted correctly on turkish locale
Reviewed-by: mchung, naoto, jpai
2023-06-29 01:34:26 +00:00
Jaikiran Pai
8f5a38488c 8311032: Empty value for java.protocol.handler.pkgs system property can lead to unnecessary classloading attempts of protocol handlers
Reviewed-by: dfuchs
2023-06-29 01:30:46 +00:00
Ioi Lam
ded137073a 8309811: BytecodePrinter cannot handle unlinked classes
Reviewed-by: coleenp, fparain
2023-06-28 22:50:24 +00:00
Johan Sjölen
02b17d793b 8310264: In PhaseChaitin::Split defs and phis are leaked
Reviewed-by: thartmann, chagedorn, kvn
2023-06-28 21:20:35 +00:00
Rajat Mahajan
a63afa4aa6 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Reviewed-by: aivanov, achung
2023-06-28 21:07:24 +00:00
Joe Darcy
3df36c4f10 8310061: Note if implicit annotation processing is being used
Reviewed-by: briangoetz, vromero, jjg
2023-06-28 21:00:28 +00:00
Dean Long
da0f8325de 8310606: Fix signed integer overflow, part 3
Reviewed-by: kvn, thartmann
2023-06-28 20:31:08 +00:00
Alisen Chung
f0c2f09815 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Reviewed-by: dmarkov, honkar
2023-06-28 20:17:00 +00:00
Coleen Phillimore
9f46fc2842 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Reviewed-by: iklam, fparain
2023-06-28 19:42:33 +00:00
Jorn Vernee
7fffdb5e60 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
2023-06-28 17:32:33 +00:00
Justin Gu
b6c789faad 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: coleenp, matsaave, dholmes
2023-06-28 17:10:16 +00:00
Jesse Glick
9f98136c3a 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).

Reviewed-by: dfuchs, michaelm
2023-06-28 15:33:37 +00:00
Aleksey Shipilev
46e4ee1e80 8310974: NMT: Arena diffs miss the scale
Reviewed-by: zgu, stuefe
2023-06-28 14:07:58 +00:00
Pavel Rappo
f17bfeec61 8311034: Fix typo in javac man page
Reviewed-by: hannesw
2023-06-28 13:48:16 +00:00
Johan Sjölen
2ccdd29206 8299825: Move StdoutLog and StderrLog to LogConfiguration
Reviewed-by: dholmes, azafari
2023-06-28 13:31:14 +00:00
Erik Gahlin
e3f18af1df 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
2023-06-28 12:29:43 +00:00
Coleen Phillimore
08c51f25d2 8310920: Fix -Wconversion warnings in command line flags
Reviewed-by: iklam, dholmes
2023-06-28 12:24:39 +00:00
Coleen Phillimore
c2e9485481 8310921: Fix -Wconversion warnings from GenerateOopMap
Reviewed-by: iklam, dholmes
2023-06-28 12:23:04 +00:00
Thomas Stuefe
ef71c3215e 8310110: Shenandoah: Trace page sizes
Reviewed-by: shade, rkennke
2023-06-28 11:57:20 +00:00
Eric Nothum
c3f10e8479 8307625: Redundant receiver null check in LibraryCallKit::generate_method_call
Reviewed-by: thartmann, chagedorn
2023-06-28 07:25:20 +00:00
Matthias Baesken
39c104df44 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: lucy, clanger, cjplummer
2023-06-28 06:51:05 +00:00
Emanuel Peter
526dba1a29 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn, chagedorn
2023-06-28 05:52:26 +00:00
Daniel Jeliński
48e61c1df5 8310728: Enable Zc:inline flag in Visual Studio build
Reviewed-by: erikj
2023-06-28 04:11:11 +00:00
Vyom Tewari
56a73a6f0f 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Reviewed-by: djelinski, michaelm, alanb
2023-06-28 02:49:52 +00:00
Hao Sun
afdaa2a330 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph, fyang
2023-06-28 02:00:09 +00:00
Roger Riggs
7f09435367 8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()
Reviewed-by: naoto, mchung, bpb, lancea
2023-06-27 20:54:53 +00:00
Jorn Vernee
f07e396bda 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
2023-06-27 20:40:04 +00:00
Alex Menkov
a97f98fb8a 8310585: GetThreadState spec mentions undefined JVMTI_THREAD_STATE_MONITOR_WAITING
Reviewed-by: sspitsyn, cjplummer
2023-06-27 20:35:03 +00:00
Phil Race
2cf5c2f4b6 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Reviewed-by: azvegint
2023-06-27 20:19:56 +00:00
Tom Rodriguez
269852b906 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Reviewed-by: cjplummer, sspitsyn
2023-06-27 19:57:06 +00:00
Joe Darcy
4bce38c6d7 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: bpb, rriggs, mchung
2023-06-27 19:30:59 +00:00
Jim Laskey
315242b741 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: alanb, darcy, iris, lancea
2023-06-27 18:45:37 +00:00
Roger Riggs
d6dd0dc3e0 8308452: Extend internal Architecture enum with byte order and address size
Reviewed-by: mdoerr, jpai, mchung, amitkumar
2023-06-27 17:49:09 +00:00
Lance Andersen
fb283dff04 8310828: java.sql java.sql.rowset packages have no @since info
Reviewed-by: naoto, iris, darcy, bpb
2023-06-27 17:22:41 +00:00
Naoto Sato
ec45bd64d5 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs, darcy, iris, lancea
2023-06-27 16:13:20 +00:00
Chen Liang
2bd4136bdb 8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Afshin Zafari
7ce967a10c 8281455: Change JVM options with small ranges from 64 to 32 bits, for gc_globals.hpp
Reviewed-by: tschatzl, coleenp
2023-06-27 15:54:55 +00:00
Pavel Rappo
f6133edb08 8310890: Normalize identifier names
Reviewed-by: naoto, rriggs
2023-06-27 15:47:29 +00:00
Brian Burkhalter
58bb6555e7 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer
Reviewed-by: rriggs, lancea, alanb
2023-06-27 15:28:01 +00:00
Jaikiran Pai
05e9c41edd 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Reviewed-by: dfuchs
2023-06-27 11:01:09 +00:00
David Leopoldseder
15878360bf 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: dnsimon, never
2023-06-27 08:29:55 +00:00
Daniel Skantz
73d7aa1d2c 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Reviewed-by: thartmann, rcastanedalo
2023-06-27 07:05:48 +00:00
Adam Sotona
990e3a700d 8308899: Introduce Classfile context and improve Classfile options
8306650: Improve control of stack maps generation in Classfile API
8308646: Typo in ConstantValueAttribute

Reviewed-by: mcimadamore
2023-06-27 05:05:17 +00:00
Tejesh R
79c056ec8b 8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen
Reviewed-by: azvegint, serb
2023-06-27 04:56:21 +00:00
changpeng1997
45b581b7d5 8309583: AArch64: Optimize firstTrue() when amount of elements < 8
Reviewed-by: aph, eliu
2023-06-27 04:10:38 +00:00
Feilong Jiang
87e6fab2c4 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Reviewed-by: fyang, rehn
2023-06-27 01:49:58 +00:00
David Holmes
39fa4e6371 8310489: New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed
Reviewed-by: coleenp
2023-06-27 00:13:42 +00:00
Jonathan Gibbons
46add3f8e3 8310909: java.io.InvalidObjectException has redundant @since tag
Reviewed-by: lancea, naoto, bpb, darcy, iris
2023-06-26 22:24:32 +00:00
Jonathan Gibbons
8f5b6771b8 8310908: Non-standard @since tag in com.sun.java.accessibility.util.package-info
Reviewed-by: bpb, iris, aivanov
2023-06-26 22:22:49 +00:00
Chen Liang
a197ee797b 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
2023-06-26 22:07:35 +00:00
Mandy Chung
7c6a28fd0c 8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242
Reviewed-by: dholmes
2023-06-26 21:25:09 +00:00
Mandy Chung
7db2f08756 8310242: Clarify the name parameter to Class::forName
Reviewed-by: rriggs, liach, alanb, dholmes
2023-06-26 19:56:24 +00:00
Sergey Tsypanov
297c799631 8301492: Modernize equals() method of ResourceBundle.CacheKey and Bundles.CacheKey
Reviewed-by: prappo, naoto
2023-06-26 19:41:43 +00:00
Archie Cobbs
a08352f621 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
2023-06-26 19:05:00 +00:00
Jatin Bhateja
ff9a754109 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: thartmann, sviswanathan
2023-06-26 18:35:03 +00:00
Joe Darcy
815ac6eeb3 8310907: Add missing file
Reviewed-by: jjg
2023-06-26 18:14:32 +00:00
Joe Darcy
289f218a32 8310861: Improve location reporting for javac serial lint warnings
Reviewed-by: jlahoda
2023-06-26 16:56:40 +00:00
Brian Burkhalter
d32eb015f0 8310682: No package-info (and @since) for package jdk.nio.mapmode
Reviewed-by: alanb
2023-06-26 16:28:48 +00:00
Weijun Wang
e624484ecf 8308540: On Kerberos TGT referral, if krb5.conf is missing realm, bad exception message
Reviewed-by: xuelei
2023-06-26 15:55:36 +00:00
Varada M
5ff42d1429 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: dholmes, gziemski
2023-06-26 14:28:40 +00:00
Gui Cao
24abd1054e 8310192: RISC-V: Merge vector min & max instructs with similar match rules
Reviewed-by: luhenry, fyang
2023-06-26 13:20:35 +00:00
Dingli Zhang
3357867928 8310276: RISC-V: Make use of shadd macro-assembler function when possible
Reviewed-by: fyang, luhenry, fjiang, vkempik
2023-06-26 12:47:41 +00:00
Albert Mingkun Yang
c1c5bd0faf 8310541: G1: Remove redundant check in G1Policy::need_to_start_conc_mark
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:15:41 +00:00
Albert Mingkun Yang
5271f4def6 8310354: G1: Annotate G1MMUTracker::when_sec with const
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:14:00 +00:00
Prasanta Sadhukhan
a420ff48da 6664309: Docking point of a floating toolbar changes after closing
Reviewed-by: tr, prr
2023-06-26 09:24:07 +00:00
Kevin Walls
a96e92c83d 8310816: GcInfoBuilder float/double signature mismatch
Reviewed-by: mchung, dholmes
2023-06-26 08:35:52 +00:00
Thomas Schatzl
c23794f882 8308633: Increase precision of timestamps in g1 log
Reviewed-by: ayang, kbarrett
2023-06-26 07:51:22 +00:00
Thomas Schatzl
9397094692 8310540: G1: Verification should use raw oop decode functions
Reviewed-by: ayang, kbarrett
2023-06-26 07:49:51 +00:00
Jaikiran Pai
013367b483 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
2023-06-26 06:25:08 +00:00
Emanuel Peter
9057b35033 8306922: IR verification fails because IR dump is chopped up
Reviewed-by: chagedorn, thartmann
2023-06-26 06:11:32 +00:00
Julian Waters
8242c647b9 8310863: Build failure after JDK- 8305341
Reviewed-by: dholmes
2023-06-26 05:38:04 +00:00
Julian Waters
78c3831701 8305341: Alignment should be enforced by alignas instead of compiler specific attributes
Reviewed-by: mdoerr
2023-06-25 23:49:49 +00:00
Julian Waters
c92b049db7 8308780: Fix the Java Integer types on Windows
Reviewed-by: dholmes, djelinski, aivanov
2023-06-25 23:41:54 +00:00
Joe Darcy
0db63ec76d 8310571: Use inline @return tag on java.util.Objects
Reviewed-by: smarks
2023-06-23 22:55:06 +00:00
Justin Lu
dad7bd9efc 8310234: Refactor Locale tests to use JUnit
Reviewed-by: naoto
2023-06-23 21:33:49 +00:00
Joe Darcy
69f3114c41 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
2023-06-23 21:21:41 +00:00
Ioi Lam
bfcca5eff9 8310494: Do not include constantPool.hpp from instanceKlass.hpp
Reviewed-by: stefank, coleenp
2023-06-23 19:42:57 +00:00
Joe Darcy
0314292cb2 8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives
Reviewed-by: prappo
2023-06-23 19:35:57 +00:00
Kevin Walls
a9c0a0f6b9 8310628: GcInfoBuilder.c missing JNI Exception checks
Reviewed-by: mchung, dholmes
2023-06-23 17:42:13 +00:00
Mandy Chung
556831d1bf 8310460: Remove jdeps -profile option
Reviewed-by: alanb
2023-06-23 17:03:02 +00:00
Coleen Phillimore
d91d0d3011 8310537: Fix -Wconversion warnings in gcUtil.hpp
Reviewed-by: ayang, aboldtch
2023-06-23 15:57:16 +00:00
Ben Perez
7628da2008 8279254: PKCS9Attribute SigningTime always encoded in UTFTime
Reviewed-by: jnimeh
2023-06-23 15:31:16 +00:00
Jamil Nimeh
5ca4cdd2ca 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, mbaesken
2023-06-23 14:52:12 +00:00
Jie Fu
e78fd46679 8310735: Build failure after JDK-8310577 with GCC8
Reviewed-by: lucy
2023-06-23 14:08:56 +00:00
Christian Stein
4bf78162c5 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: mchung, alanb
2023-06-23 11:09:37 +00:00
Alexander Zuev
d1d2b55ce0 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: abhiscxk, asemenov, prr, serb
2023-06-23 10:11:25 +00:00
Thomas Stuefe
d6685f0869 8310510: Remove WordsPerLong
Reviewed-by: mdoerr
2023-06-23 10:07:32 +00:00
Eric Nothum
31dcda5d67 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: thartmann, chagedorn
2023-06-23 07:25:34 +00:00
Daohan Qu
4772893127 8310581: retry_class_loading_during_parsing() is not used
Reviewed-by: kvn, thartmann
2023-06-23 06:32:36 +00:00
Coleen Phillimore
5a82fa3bb2 8310577: Fix -Wconversion warnings in interpreter and oops
Reviewed-by: fparain, matsaave
2023-06-22 19:37:01 +00:00
Matthew Donovan
130a9f1387 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: rhalade
2023-06-22 18:43:27 +00:00
Joe Darcy
0e4fde3d30 8310453: Update javadoc of java.lang.Object
Reviewed-by: rriggs, alanb
2023-06-22 16:38:39 +00:00
Coleen Phillimore
230bcb769a 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: aph, fparain
2023-06-22 14:22:02 +00:00
Daohan Qu
370b8b2644 8310618: Test serviceability/sa/ClhsdbDumpclass.java fails after 8242152: 'StackMapTable:' missing from stdout/stderr
Reviewed-by: kevinw, dholmes
2023-06-22 13:15:27 +00:00
Per Minborg
5a30fb6664 8310591: Missing @since tags in java.lang.foreign
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Erik Gahlin
8976ebf0ec 8310561: JFR: Unify decodeDescriptors(String, String)
Reviewed-by: mgronlun
2023-06-22 10:09:15 +00:00
Matthias Baesken
7da3f1999f 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: weijun
2023-06-22 07:08:54 +00:00
Daohan Qu
8e047029e8 8242152: SA does not include StackMapTables when dumping .class files
Reviewed-by: cjplummer, sspitsyn
2023-06-22 06:45:19 +00:00
Serguei Spitsyn
3bc475ee65 8309909: remove test nsk.jvmti test objmonusage006 from ProblemList-Virtual.txt
Reviewed-by: cjplummer
2023-06-22 06:40:17 +00:00
Alan Bateman
3661cdee1b 8309853: StructuredTaskScope.join description improvements
Reviewed-by: rpressler, darcy
2023-06-22 04:29:13 +00:00
Daniel D. Daugherty
ac44ef19d5 8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all
Reviewed-by: dholmes, mikael
2023-06-21 21:07:04 +00:00
Christoph Langer
3be50da636 8310512: Cleanup indentation in jfc files
Reviewed-by: egahlin
2023-06-21 20:04:03 +00:00
Jonathan Gibbons
f286e5a5e1 8310575: no @since for StandardDoclet
Reviewed-by: darcy
2023-06-21 19:56:51 +00:00
Erik Joelsson
16a34e8e1e 8310384: Add hooks for custom image creation
Reviewed-by: mikael, alanb
2023-06-21 18:28:19 +00:00
Jonathan Gibbons
226c6a097d 8309883: no @since info in com.sun.tools.javac package-info.java, Main.java
Reviewed-by: iris, darcy
2023-06-21 18:00:14 +00:00
Coleen Phillimore
fd1163d5f1 8310332: Fix -Wconversion warnings in MethodData
Reviewed-by: aph, fparain
2023-06-21 17:58:29 +00:00
Erik Joelsson
72501cf767 8310379: Relax prerequisites for java.base-jmod target
Reviewed-by: mikael
2023-06-21 17:18:15 +00:00
Erik Gahlin
59c6c0e1b7 8310335: JFR: Modernize collections and switch statements
Reviewed-by: mgronlun
2023-06-21 15:07:42 +00:00
Damon Fenacci
826dcb5424 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Reviewed-by: thartmann, amitkumar, fyang, mdoerr
2023-06-21 12:27:02 +00:00
Erik Gahlin
658c3374d8 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
2023-06-21 11:47:25 +00:00
Coleen Phillimore
70e1c92a7f 8310297: assert(static_cast<T1>(result) == thing) with ctw
Reviewed-by: iklam, dholmes
2023-06-21 11:45:37 +00:00
Erik Joelsson
574c6f0ebf 8310376: Extend SetupTarget macro with DIR parameter
Reviewed-by: mikael
2023-06-21 09:57:49 +00:00
Erik Joelsson
7ea22cd385 8310369: UTIL_ARG_WITH fails when arg is disabled
Reviewed-by: mikael
2023-06-21 09:57:26 +00:00
Jan Lahoda
01623f6a57 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
2023-06-21 09:16:12 +00:00
Jan Lahoda
a15db1a56c 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
2023-06-21 09:15:48 +00:00
Tobias Hartmann
67fbd87378 8310143: RandomCommandsTest fails due to unexpected VM exit code after JDK-8282797
Reviewed-by: rcastanedalo, chagedorn
2023-06-21 07:05:41 +00:00
Matthias Baesken
9eed049098 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Reviewed-by: erikj
2023-06-21 06:49:24 +00:00
Julian Waters
3faba07ae3 8307145: windowsaccessbridge.dll erroneously includes private methods in its C API
Reviewed-by: djelinski
2023-06-21 06:43:03 +00:00
Emanuel Peter
886ac1c261 8308606: C2 SuperWord: remove alignment checks when not required
Reviewed-by: fgao, kvn, pli
2023-06-21 06:40:50 +00:00
Thomas Stuefe
47d00a4cbe 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: simonis, rriggs
2023-06-21 04:55:43 +00:00
Jorn Vernee
e022e87654 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
2023-06-21 00:03:13 +00:00
David Holmes
45eaf5edd8 8298443: Remove expired flags in JDK 22
Reviewed-by: coleenp, iklam
2023-06-20 23:14:33 +00:00
Ioi Lam
28415adb79 8310225: Reduce inclusion of oopMapCache.hpp and generateOopMap.hpp
Reviewed-by: stuefe, coleenp
2023-06-20 23:12:49 +00:00
David Holmes
4c3efb3910 8309034: NoClassDefFoundError when initializing Long$LongCache
Reviewed-by: coleenp, fparain
2023-06-20 21:58:31 +00:00
Justin Lu
11201067a8 8310458: Fix build failure caused by JDK-8310049
Reviewed-by: rriggs, naoto
2023-06-20 18:16:33 +00:00
Justin Lu
09174e0c99 8310049: Refactor Charset tests to use JUnit
Reviewed-by: lancea, naoto
2023-06-20 17:21:00 +00:00
Daniel Fuchs
99d2a9afa9 8310330: HttpClient: debugging interestOps/readyOps could cause exceptions and smaller cleanup
Reviewed-by: djelinski
2023-06-20 15:51:43 +00:00
Robbin Ehn
31b6fd775f 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: fjiang, stuefe, fyang, luhenry
2023-06-20 15:12:46 +00:00
Eric Nothum
4a9cc8a000 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: roland, chagedorn
2023-06-20 13:52:45 +00:00
Stefan Karlsson
4e4e586dac 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: eosterlund, aboldtch
2023-06-20 13:46:49 +00:00
Coleen Phillimore
e1906e7641 8310027: Fix -Wconversion warnings in nmethod and compiledMethod related code
Reviewed-by: kvn, fparain
2023-06-20 13:35:11 +00:00
Jan Lahoda
4ca548fe74 8310326: Incorrect position of the synthetic unnamed class
Reviewed-by: jlaskey
2023-06-20 10:34:52 +00:00
Axel Boldt-Christmas
a0595761ef 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: stefank, eosterlund, stuefe
2023-06-20 10:08:13 +00:00
Thomas Schatzl
9a68ec8bb2 8219357: G1: G1GCPhaseTimes::debug_phase uses unnecessary ResourceMark
Reviewed-by: shade, ayang
2023-06-20 09:46:56 +00:00
Damon Fenacci
087887286d 8310020: MacroAssembler::call_VM(_leaf) doesn't consistently check for conflict with C calling convention.
Reviewed-by: thartmann, fyang, mdoerr, amitkumar
2023-06-20 07:40:46 +00:00
Jan Lahoda
79069c5e74 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
2023-06-20 07:02:49 +00:00
David Holmes
96a7db7b3c 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: stuefe
2023-06-20 06:43:21 +00:00
David Holmes
b2e86aef65 8304478: Initial nroff manpage generation for JDK 22
Reviewed-by: alanb, sspitsyn, mchung, lancea
2023-06-19 22:30:50 +00:00
Michael McMahon
7b45c8fc3a 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
Reviewed-by: alanb
2023-06-19 21:35:58 +00:00
Ao Qi
137a5f7c2c 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade, rriggs
2023-06-19 21:05:55 +00:00
Roger Riggs
33c6ec9d4e 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: phh, shade, aoqi
2023-06-19 18:29:14 +00:00
Erik Gahlin
e08e94f1b9 8310266: JFR: Refactor after 'view' command
Reviewed-by: mgronlun
2023-06-19 17:46:23 +00:00
Daniel Fuchs
f8f8bfbea1 8309939: HttpClient should not use Instant.now() as Instant source for deadlines
Reviewed-by: djelinski
2023-06-19 13:26:26 +00:00
Erik Gahlin
7d4b77ad9e 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: shade, mgronlun
2023-06-19 11:41:10 +00:00
Albert Mingkun Yang
b896e3e02a 8310146: Removing unused PerfLongVariant::_sampled
Reviewed-by: tschatzl
2023-06-19 11:08:07 +00:00
Prasanta Sadhukhan
d2a858e173 7083187: Class CSS.CssValue is missing implementations of equals() and hashCode()
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, prr
2023-06-19 08:52:06 +00:00
Erik Österlund
4229baf9b6 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
2023-06-19 07:05:06 +00:00
Roland Westrelin
266f9838ee 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: kvn, thartmann
2023-06-19 07:02:10 +00:00
Matthias Baesken
6a63badd8e 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb, cjplummer
2023-06-19 06:39:58 +00:00
Thomas Stuefe
6473a7df20 8310107: os::trace_page_sizes_for_requested_size should name alignment as requested page size
Reviewed-by: stefank, dholmes
2023-06-19 06:00:50 +00:00
Tobias Hartmann
02aaab12e3 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: roland, shade
2023-06-19 05:08:45 +00:00
Gergö Barany
492d25c8df 8309601: [JVMCI] AMD64#getLargestStorableKind returns incorrect mask kind
Reviewed-by: dnsimon, never
2023-06-19 02:28:05 +00:00
Jaikiran Pai
959a61fdd4 8310259: Pin msys2/setup-msys2 github action to a specific commit
Reviewed-by: cstein, stuefe
2023-06-17 06:02:40 +00:00
Archie Cobbs
bcc4d36857 8309511: Regression test ExtraImportSemicolon.java refers to the wrong bug
Reviewed-by: vromero
2023-06-16 22:49:22 +00:00
Coleen Phillimore
71baf00a2d 8309605: StubRoutines are not used by SA
Reviewed-by: cjplummer
2023-06-16 20:04:08 +00:00
Daniel D. Daugherty
16134f4422 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mikael
2023-06-16 17:38:01 +00:00
Alexey Ivanov
d6c2ee3448 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
2023-06-16 17:24:07 +00:00
Ben Perez
4eb4f20ae2 8308808: SunMSCAPI public keys returns internal key array
Reviewed-by: mullan
2023-06-16 16:46:54 +00:00
Liam Miller-Cushon
53abba3a5a 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled
Co-authored-by: Paula Toth <paulatoth@google.com>
Reviewed-by: vromero
2023-06-16 16:43:22 +00:00
Joe Darcy
cf8d0b0537 8309964: Use directed inheritDoc for javax.lang.model API
Reviewed-by: vromero
2023-06-16 16:43:00 +00:00
Ioi Lam
a45f92961b 8310076: Reduce inclusion of bytecodeStream.hpp
Reviewed-by: dholmes, coleenp
2023-06-16 15:26:26 +00:00
Hannes Wallnöfer
21f6d83358 8309471: Limit key characters in static index pages
Reviewed-by: jjg
2023-06-16 15:04:07 +00:00
Andrew Haley
44a8aa0691 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
Reviewed-by: alanb
2023-06-16 12:21:11 +00:00
Per Minborg
b412fc79c3 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
2023-06-16 11:42:55 +00:00
Thomas Schatzl
fb024fde7b 8248149: G1: change _cleaning_claimed from int to bool
Reviewed-by: lkorinth, ayang, kbarrett
2023-06-16 10:04:17 +00:00
Christian Stein
c2b043e6cd 8310183: Update GitHub Actions to use boot JDK for building jtreg
Reviewed-by: shade
2023-06-16 09:58:19 +00:00
Eric Nothum
238c51e621 8293069: Make -XX:+Verbose less verbose
Reviewed-by: thartmann, chagedorn
2023-06-16 09:57:57 +00:00
Kevin Walls
8c9b85a990 8303916: ThreadLists.java inconsistent results
Reviewed-by: cjplummer, dholmes, lmesnik
2023-06-16 08:40:16 +00:00
Alan Bateman
227656f3a9 8309408: Thread.sleep cleanup
Reviewed-by: dholmes, stefank
2023-06-16 07:26:27 +00:00
Aggelos Biboudis
32243ef47d 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: vromero, jlahoda
2023-06-16 07:03:28 +00:00
sunyaqi
cfae6ef2f6 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Reviewed-by: alanb
2023-06-16 06:15:55 +00:00
Jaikiran Pai
db133dbc02 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Reviewed-by: wetmore, xuelei
2023-06-16 05:38:10 +00:00
Joe Darcy
353e581a53 8309747: Update --release 21 symbol information for JDK 21 build 27
Reviewed-by: iris
2023-06-15 23:36:27 +00:00
Phil Race
d3d0dbc363 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: avu, azvegint
2023-06-15 22:47:57 +00:00
Kim Barrett
92167505b2 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl, ayang
2023-06-15 22:23:26 +00:00
Man Cao
5c705166da 8309688: Data race on java.io.ClassCache$CacheRef.strongReferent
Reviewed-by: rriggs, shade
2023-06-15 20:13:36 +00:00
Justin Lu
81bfd78901 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
2023-06-15 19:43:07 +00:00
Matthew Donovan
9f64a64376 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
2023-06-15 19:15:30 +00:00
Aleksey Shipilev
4a5475ce04 8309953: Strengthen and optimize oopDesc age methods
Reviewed-by: mdoerr, rkennke, tschatzl, stefank
2023-06-15 19:13:24 +00:00
Chris Plummer
79ff72a776 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: lmesnik, kevinw
2023-06-15 19:11:12 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Julian Waters
653a8d0cce 8310129: SetupNativeCompilation LIBS should match the order of the other parameters
Reviewed-by: erikj
2023-06-15 16:29:31 +00:00
Quan Anh Mai
947f14977a 8308444: LoadStoreNode::result_not_used() is too conservative
Reviewed-by: kvn, thartmann
2023-06-15 16:00:18 +00:00
Doug Simon
8b4af46be4 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Reviewed-by: dholmes
2023-06-15 15:53:08 +00:00
Vladimir Kozlov
0038491abd 8309978: [x64] Fix useless padding
Reviewed-by: chagedorn, thartmann, shade
2023-06-15 15:32:45 +00:00
Albert Mingkun Yang
5f3613e060 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl, iwalulya
2023-06-15 12:01:02 +00:00
Roberto Castañeda Lozano
83d92672d4 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann, kvn
2023-06-15 10:08:28 +00:00
Martin Doerr
de8aca27ba 8307907: [ppc] Remove RTM locking implementation
Reviewed-by: mbaesken, rrich, stuefe
2023-06-15 09:52:31 +00:00
Johan Sjölen
4c0e164238 8309717: C2: Remove Arena::move_contents usage
Reviewed-by: thartmann, kvn
2023-06-15 08:36:35 +00:00
Vladimir Kempik
6b94289386 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Reviewed-by: luhenry, fjiang, fyang
2023-06-15 06:22:21 +00:00
Kim Barrett
181845ae46 8309899: Rename PtrQueueSet::buffer_size()
Reviewed-by: tschatzl, ayang
2023-06-14 22:01:44 +00:00
Ioi Lam
931625a930 8309808: BytecodeTracer prints wrong BSM for invokedynamic
Reviewed-by: coleenp, matsaave
2023-06-14 21:14:01 +00:00
Harshitha Onkar
ee4ab6709e 8309958: Incorrect @since tag format in Container.java
Reviewed-by: dmarkov
2023-06-14 19:49:24 +00:00
Aleksey Shipilev
57b8251241 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: wkemper, zgu, ysr
2023-06-14 16:57:15 +00:00
Erik Joelsson
955fc2faba 8309746: Reconfigure check should include make/conf/version-numbers.conf
Reviewed-by: mikael
2023-06-14 13:27:19 +00:00
Erik Joelsson
554b4d7243 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
2023-06-14 13:26:54 +00:00
Erik Gahlin
84d010a24b 8309928: JFR: View issues
Reviewed-by: mgronlun
2023-06-14 12:26:51 +00:00
Erik Gahlin
9872a14192 8309959: JFR: Display N/A for missing data amount
Reviewed-by: mgronlun, stuefe
2023-06-14 12:05:27 +00:00
Jorn Vernee
4c18b9e1fa 8309880: Add support for linking libffi on Windows and Mac
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2023-06-14 12:03:42 +00:00
Jim Laskey
1d1ed0d8f7 8309957: Rename JDK-8309595 test to conform
Reviewed-by: rriggs
2023-06-14 11:58:03 +00:00
Vladimir Petko
e3d6fc875b 8309847: FrameForm and RegisterForm constructors should initialize all members
Reviewed-by: kvn, thartmann
2023-06-14 11:47:02 +00:00
Martin Doerr
bd79db3930 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: dholmes, stuefe
2023-06-14 08:28:39 +00:00
Stefan Karlsson
63fe413d93 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Reviewed-by: aboldtch, kbarrett
2023-06-14 06:30:05 +00:00
Jaikiran Pai
ba837b4bfa 8309910: Introduce jdk.internal.net.http.HttpConnection.getSNIServerNames() method
Reviewed-by: dfuchs
2023-06-14 01:37:45 +00:00
Ioi Lam
5d193193a3 8309878: Reduce inclusion of resolvedIndyEntry.hpp
Reviewed-by: coleenp, sspitsyn, matsaave
2023-06-14 00:16:12 +00:00
Christian Stein
8aad881e80 8309934: Update GitHub Actions to use JDK 17 for building jtreg
Reviewed-by: erikj
2023-06-13 20:32:29 +00:00
Mandy Chung
9bfe415f66 8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Raffaello Giulietti
bfef3c3e80 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: lancea
2023-06-13 18:40:47 +00:00
Chris Plummer
d7251c1755 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Reviewed-by: sspitsyn, kevinw
2023-06-13 18:07:43 +00:00
Jonathan Gibbons
b5b5b7ce72 8309884: missing @since tags in com.sun.source.*
Reviewed-by: darcy
2023-06-13 17:40:34 +00:00
Chen Liang
75dcc4ef94 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
2023-06-13 17:05:52 +00:00
Ben Perez
bed9161c81 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: weijun
2023-06-13 16:34:58 +00:00
Tobias Hartmann
3eec179c72 8309854: ciReplay TestServerVM test fails with Graal
Reviewed-by: chagedorn, kvn
2023-06-13 16:13:42 +00:00
Calvin Cheung
14010876dc 8309753: Include array classes in the output of -XX:+PrintSharedArchiveAndExit
Reviewed-by: iklam, matsaave
2023-06-13 15:54:31 +00:00
Stuart Marks
e138685648 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: darcy, bpb, jpai, rriggs
2023-06-13 15:16:28 +00:00
Doug Simon
c0aa6bf4fe 8309390: [JVMCI] improve copying system properties into libgraal
Reviewed-by: never, kvn
2023-06-13 14:45:33 +00:00
Albert Mingkun Yang
63843b1153 8309907: Remove unused _print_gc_overhead_limit_would_be_exceeded
Reviewed-by: tschatzl
2023-06-13 14:01:53 +00:00
Eric Nothum
6d05360bec 8304403: Remove unused methods in RangeCheckElimination::Bound
Reviewed-by: chagedorn, thartmann
2023-06-13 13:45:59 +00:00
Ivan Bereziuk
9b0baa10b9 8306281: function isWsl() returns false on WSL2
Reviewed-by: erikj
2023-06-13 12:40:54 +00:00
Leo Korinth
c884862ad2 8309468: Remove jvmti Allocate locker test case
Reviewed-by: dholmes, lmesnik, sspitsyn
2023-06-13 12:31:20 +00:00
Markus Grönlund
05f896a153 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
2023-06-13 11:47:47 +00:00
Yudi Zheng
4f23fc1f27 8309671: Avoid using jvmci.Compiler property to determine if Graal is enabled
Reviewed-by: dnsimon, sspitsyn
2023-06-13 09:02:37 +00:00
Chen Liang
1a9edb8df9 8309838: Classfile API Util.toBinaryName and other cleanup
Reviewed-by: asotona
2023-06-13 08:57:47 +00:00
Per Minborg
f7de726bd3 8295555: Primitive wrapper caches could be @Stable
Reviewed-by: rriggs
2023-06-13 08:39:00 +00:00
Albert Mingkun Yang
5d716121c1 8309852: G1: Remove unnecessary assert_empty in G1ParScanThreadStateSet destructor
Reviewed-by: tschatzl
2023-06-13 07:54:13 +00:00
Albert Mingkun Yang
23a54f3701 8309538: G1: Move total collection increment from Cleanup to Remark
Reviewed-by: tschatzl, iwalulya
2023-06-13 07:53:34 +00:00
Jaikiran Pai
57fc9a3e96 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Reviewed-by: alanb, mchung
2023-06-13 00:54:35 +00:00
Harshitha Onkar
2dca5ae4fd 8299052: ViewportOverlapping test fails intermittently on Win10 & Win11
Reviewed-by: aivanov
2023-06-12 23:11:52 +00:00
Ashutosh Mehra
3028295fdd 8309065: Move the logic to determine archive heap location from CDS to G1 GC
Reviewed-by: iklam, tschatzl, stuefe
2023-06-12 22:08:47 +00:00
Xue-Lei Andrew Fan
80a8144af5 8309867: redundant class field RSAPadding.md
Reviewed-by: hchao, weijun, valeriep
2023-06-12 20:42:53 +00:00
Ben Perez
3c15ad8d47 8307144: namedParams in XECParameters and EdDSAParameters can be private final
Reviewed-by: jnimeh, xuelei, mullan
2023-06-12 19:45:06 +00:00
Joe Darcy
3ce1240ca1 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
2023-06-12 18:14:27 +00:00
Chris Plummer
1612b6dc6e 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Reviewed-by: sspitsyn, lmesnik
2023-06-12 18:07:40 +00:00
Jiangli Zhou
45414fc2df 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: erikj
2023-06-12 16:22:24 +00:00
Maurizio Cimadamore
a6ad42e00e 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
Guoxiong Li
07275072aa 8272147: Consolidate preserved marks handling with other STW collectors
Reviewed-by: tschatzl, ayang, rkennke
2023-06-12 15:52:33 +00:00
Guoxiong Li
6cd166a284 8309403: Serial: Remove the useless adaptive size policy in GenCollectedHeap
Reviewed-by: ayang, tschatzl
2023-06-12 15:52:08 +00:00
Scott Gibbons
5d5ae35288 8308966: Add intrinsic for float/double modulo for x86 AVX2 and AVX512
Co-authored-by: Marius Cornea <marius.cornea@intel.com>
Reviewed-by: jbhateja, sviswanathan
2023-06-12 15:06:42 +00:00
Zhengyu Gu
8e4e6b056c 8309761: Leak class loader constraints
Reviewed-by: coleenp, jsjolen
2023-06-12 14:03:17 +00:00
Albert Mingkun Yang
fdaa2c4083 8309306: G1: Move is_obj_dead from HeapRegion to G1CollectedHeap
Reviewed-by: tschatzl, iwalulya
2023-06-12 11:13:05 +00:00
Christian Hagedorn
4bc6bbb23f 8309814: [IR Framework] Dump socket output string in which IR encoding was not found
Reviewed-by: rcastanedalo
2023-06-12 10:46:36 +00:00
JoKern65
cf9e6353cc 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken, mdoerr, clanger
2023-06-12 10:01:13 +00:00
Jaikiran Pai
268ec61d4f 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: mchung, alanb
2023-06-12 09:45:07 +00:00
Prasanta Sadhukhan
4d4706967d 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme
Reviewed-by: tr, aivanov
2023-06-12 08:49:57 +00:00
Jan Lahoda
408cadb351 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
2023-06-12 08:15:53 +00:00
Emanuel Peter
6c3e621f98 8308749: C2 failed: regular loops only (counted loop inside infinite loop)
Reviewed-by: kvn, chagedorn
2023-06-12 07:40:58 +00:00
Tobias Holenstein
f5cbe53fdd 8027711: Unify wildcarding syntax for CompileCommand and CompileOnly
Reviewed-by: kvn, thartmann, chagedorn
2023-06-12 07:39:23 +00:00
Matthias Baesken
4d66d97745 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: alanb, cjplummer, sspitsyn
2023-06-12 07:07:38 +00:00
Matthias Baesken
3981297fd3 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr, clanger, azvegint
2023-06-12 06:56:16 +00:00
Ioi Lam
16c3d53b1b 8308603: Removing do_pending_ref/enclosing_ref from MetaspaceClosure
Reviewed-by: ccheung
2023-06-10 19:32:47 +00:00
Kim Barrett
b94b679e9a 8309627: Incorrect sorting of DirtyCardQueue buffers
Reviewed-by: ayang, shade
2023-06-10 17:08:46 +00:00
Daniel D. Daugherty
aace3dc28c 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: amenkov
2023-06-10 02:02:34 +00:00
Kevin Driver
80edd5c298 8294985: SSLEngine throws IAE during parsing of X500Principal
Reviewed-by: wetmore, xuelei, mullan
2023-06-09 23:31:12 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Coleen Phillimore
beec734fdd 8309692: Fix -Wconversion warnings in javaClasses
Reviewed-by: fparain, matsaave
2023-06-09 20:03:48 +00:00
Joe Darcy
7d82479096 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg
2023-06-09 19:56:14 +00:00
Alexander Zvegintsev
f5ec93eb88 8309745: Problem list open client tests failing on Ubuntu_23.04
Reviewed-by: aivanov
2023-06-09 19:53:12 +00:00
Chris Hegarty
cee5724d09 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: rriggs, uschindler, psandoz
2023-06-09 19:25:21 +00:00
Matias Saavedra Silva
7d6f97d04d 8309673: Refactor ref_at methods in SA ConstantPool
Reviewed-by: coleenp, fparain, iklam
2023-06-09 19:08:38 +00:00
Joe Darcy
7a970b251d 8309310: Update --release 21 symbol information for JDK 21 build 26
Reviewed-by: iris
2023-06-09 18:53:48 +00:00
Chris Plummer
84184f9473 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Reviewed-by: sspitsyn, kevinw
2023-06-09 18:01:22 +00:00
Mandy Chung
679a6d8935 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: dnsimon, alanb
2023-06-09 16:44:56 +00:00
Harshitha Onkar
6cd370e04b 8305645: System Tray icons get corrupted when Windows primary monitor changes
Reviewed-by: serb, aivanov
2023-06-09 16:11:46 +00:00
Darragh Clarke
a48bcf3671 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
2023-06-09 14:06:00 +00:00
Tobias Holenstein
c052756154 8282797: CompileCommand parsing errors should exit VM
Reviewed-by: kvn, chagedorn, thartmann
2023-06-09 13:01:02 +00:00
Claes Redestad
dc842e8587 8309665: Simplify Arrays.copyOf/-Range methods
Reviewed-by: jlaskey, rriggs, alanb
2023-06-09 09:57:39 +00:00
Alan Bateman
307085618d 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: jpai
2023-06-09 08:33:18 +00:00
Alan Bateman
97df6cf55a 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Reviewed-by: rpressler, dholmes, jpai
2023-06-09 07:30:03 +00:00
Serguei Spitsyn
f91e9ba757 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer, amenkov
2023-06-09 06:12:48 +00:00
Eric Nothum
0a697e73d5 8307620: [IR Framework] Readme mentions JTREG_WHITE_LIST_FLAGS instead of JTREG_WHITELIST_FLAGS
Reviewed-by: rcastanedalo, chagedorn
2023-06-09 06:09:56 +00:00
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Stefan Karlsson
c4e6542514 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: aboldtch, dcubed
2023-06-08 19:41:26 +00:00
Jonathan Gibbons
34f0a6ec6a 8305593: Add @spec tags in java.desktop
Reviewed-by: prr
2023-06-08 19:00:19 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Alan Bateman
b2a5271e74 8309196: Remove Thread.countStackFrames
Reviewed-by: rriggs, mchung, dholmes, jpai, iris
2023-06-08 17:28:04 +00:00
Tom Rodriguez
bb966827ac 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: dnsimon, kvn
2023-06-08 16:11:33 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
Stefan Karlsson
bb377b2673 8306841: Generational ZGC: NMT reports Java heap size larger than max heap size
Reviewed-by: eosterlund, stuefe
2023-06-08 14:06:27 +00:00
Chen Liang
ac3ce2bf75 8304425: ClassHierarchyResolver from Reflection
Reviewed-by: asotona
2023-06-08 07:29:56 +00:00
Aggelos Biboudis
79a4ac791c 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
2023-06-08 07:25:25 +00:00
Nagata-Haruhito
9d64a9d220 8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
2023-06-08 07:03:29 +00:00
Serguei Spitsyn
5af9d2a0ac 8309602: update JVMTI history table for jdk 21
Reviewed-by: alanb, iris
2023-06-08 04:04:05 +00:00
David Holmes
6646272a05 8308764: Reporting errors from create_vm may crash
Reviewed-by: stuefe, coleenp, kbarrett
2023-06-08 03:30:11 +00:00
Sergey Bylokhov
73dd03cc5a 8308152: PropertyDescriptor should work with overridden generic getter method
Reviewed-by: azvegint
2023-06-08 02:51:36 +00:00
Martin Balao
760cb04a2e 8309569: sun/security/pkcs11/Signature/TestRSAKeyLength.java fails after JDK-8301553
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: valeriep
2023-06-08 01:24:26 +00:00
Mandy Chung
e8a59843f2 8309630: Clean up tests that reference deploy modules
Reviewed-by: bchristi
2023-06-08 01:00:44 +00:00
Raffaello Giulietti
90027ff204 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
2023-06-07 21:39:53 +00:00
Alexey Ivanov
ea41907396 8297923: java.awt.ScrollPane broken after multiple scroll up/down
Reviewed-by: honkar, prr, serb
2023-06-07 21:18:50 +00:00
Yudi Zheng
99749c597b 8309562: [JVMCI] Export symbols used by VirtualThread notifyJvmti intrinsics to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-06-07 21:18:03 +00:00
Eric Nothum
92beb85510 8309474: [IR Framework] Wrong @ForceCompile link in README
Reviewed-by: chagedorn, thartmann
2023-06-07 20:16:51 +00:00
Daniel D. Daugherty
6402004852 8256302: releasing oopStorage when deflating allows for faster deleting
Reviewed-by: dholmes, rehn, coleenp
2023-06-07 19:59:13 +00:00
Mandy Chung
02bce0b145 8309532: java/lang/Class/getDeclaredField/FieldSetAccessibleTest should filter modules that depend on JVMCI
Reviewed-by: alanb, dfuchs
2023-06-07 18:44:27 +00:00
Joe Darcy
4ffc8cc216 8309574: Improve core reflection tests for JEP 445
Reviewed-by: mchung
2023-06-07 18:11:56 +00:00
Chris Plummer
e3f3ac0825 8309420: com/sun/jdi/StepTest.java fails with virtual thread wrapper
Reviewed-by: sspitsyn, amenkov
2023-06-07 18:03:49 +00:00
Chris Plummer
c38abbfcaa 8309510: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:57:23 +00:00
Joe Darcy
c24b0bada2 8309503: Improve javax.lang.model tests for JEP 445
Reviewed-by: jlahoda, jjg, jlaskey
2023-06-07 17:55:47 +00:00
Chris Plummer
a54f4d4ab9 8309509: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java fails with virtual test thread factory
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:49:05 +00:00
Daniel D. Daugherty
33bb64f24f 8309614: [BACKOUT] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: azvegint
2023-06-07 15:17:43 +00:00
JoKern65
5b147eb5e4 8308288: Fix xlc17 clang warnings and build errors in hotspot
Reviewed-by: goetz, mbaesken
2023-06-07 13:44:42 +00:00
JoKern65
89f5bacaf6 8309225: Fix xlc17 clang 15 warnings in security and servicability
Reviewed-by: goetz, mdoerr, clanger
2023-06-07 13:42:42 +00:00
JoKern65
6eddbe26dd 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
2023-06-07 13:42:03 +00:00
Serguei Spitsyn
177e8327d6 8307153: JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: amenkov, cjplummer
2023-06-07 13:16:40 +00:00
Aleksey Shipilev
f0236edfba 8309543: Micro-optimize x86 assembler UseCondCardMark
Reviewed-by: kvn, mdoerr
2023-06-07 13:11:32 +00:00
Alexander Zvegintsev
9d7bf5329e 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots
Reviewed-by: prr, kizune, psadhukhan
2023-06-07 13:08:11 +00:00
Frederic Thevenet
a1ab377d99 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, mgronlun
2023-06-07 12:58:57 +00:00
Jorn Vernee
c49129f545 8308445: Linker should check that capture state segment is big enough
Reviewed-by: mcimadamore
2023-06-07 12:25:28 +00:00
Jorn Vernee
fa791119f0 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Jim Laskey
16ebf47fe3 8309594: Cleanup naming in JavacParser related to unnamed classes
Reviewed-by: jlahoda
2023-06-07 11:54:50 +00:00
Stefan Karlsson
5722903d53 8307374: Add a JFR event for tracking RSS
Reviewed-by: stuefe, rcastanedalo
2023-06-07 11:41:20 +00:00
Eric Nothum
1de40f360f 8302145: ddepth should be uint in PhaseIdealLoop::register_node()
Reviewed-by: chagedorn, thartmann
2023-06-07 11:39:31 +00:00
Jim Laskey
a6726b66db 8309568: javac crashes attempting to -Xprint on a class file of an unnamed class
Reviewed-by: darcy, jlahoda
2023-06-07 11:34:23 +00:00
Boris Ulasevich
8cdd95e8a2 8305959: x86: Improve itable_stub
Reviewed-by: phh, shade, aph
2023-06-07 11:27:52 +00:00
Matthias Baesken
9233dcc838 8309297: Adjust ShenandoahHeap print_heap_regions_on
Reviewed-by: ysr, mdoerr
2023-06-07 10:51:10 +00:00
Dhamoder Nalla
749d480193 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
2023-06-07 09:50:08 +00:00
Jaikiran Pai
3ccb3c0e09 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: djelinski, dfuchs
2023-06-07 09:44:14 +00:00
Serguei Spitsyn
a25b7b8b55 8295976: GetThreadListStackTraces returns wrong state for blocked VirtualThread
Reviewed-by: cjplummer, amenkov
2023-06-07 07:51:37 +00:00
Daniel Jeliński
fadcd65018 8309527: Improve test proxy performance
Reviewed-by: dfuchs, jpai
2023-06-07 07:51:05 +00:00
Christian Hagedorn
0ed4af76c0 8309472: IGV: Add dump_igv(custom_name) for improved debugging
Reviewed-by: roland, thartmann
2023-06-07 07:38:21 +00:00
Alan Bateman
f1c7afcc3f 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

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

Reviewed-by: mchung
2023-06-06 15:56:36 +00:00
Tom Rodriguez
7edd0540e0 8309501: Remove workaround in bin/idea.sh for non standard JVMCI file layout
Reviewed-by: dnsimon, erikj
2023-06-06 15:53:54 +00:00
Brian Burkhalter
9188142698 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
2023-06-06 15:15:32 +00:00
Brian Burkhalter
d709c25cbf 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists
Reviewed-by: alanb
2023-06-06 15:14:57 +00:00
Jim Laskey
ca6f07f9ab 8309534: @JEP(number=430, title="String Templates") should use default status
Reviewed-by: alanb
2023-06-06 13:01:04 +00:00
Rudi Horn
8f0839bc55 8308748: JNU_GetStringPlatformChars may write to String's internal memory array
Reviewed-by: dholmes, rriggs, alanb
2023-06-06 12:58:24 +00:00
Pavel Rappo
01455a07a7 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
2023-06-06 10:06:52 +00:00
Gui Cao
7d25bf7722 8309419: RISC-V: Relax register constraint for AddReductionVF & AddReductionVD nodes
Reviewed-by: fyang, luhenry, yzhu
2023-06-06 09:19:27 +00:00
Dingli Zhang
5146a58249 8309418: RISC-V: Make use of vl1r.v & vfabs.v pseudo-instructions where appropriate
Reviewed-by: fyang, luhenry, gcao
2023-06-06 09:07:39 +00:00
Maxim Kartashev
41bf2ad159 8308875: java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java failed with 'Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null'
Reviewed-by: avu, prr
2023-06-06 08:26:01 +00:00
quadhier
a7a0913005 8309346: Extend hs_err logging for all VM operations deriving from VM_GC_Operation
Reviewed-by: tschatzl, stefank
2023-06-06 07:29:25 +00:00
Matthias Baesken
3b85f84f02 8309340: Provide sctpHandleSocketErrorWithMessage
Reviewed-by: clanger
2023-06-06 07:08:10 +00:00
Alan Bateman
2e9eff5641 8309406: Change jdk.trackAllThreads to default to true
Reviewed-by: rpressler, mchung, cjplummer
2023-06-06 06:01:38 +00:00
Stuart Marks
6d155a47f1 8308167: SequencedMap::firstEntry throws NPE when first entry has null key or value
Reviewed-by: bchristi
2023-06-06 00:19:50 +00:00
Serguei Spitsyn
4b1534989b 8304438: jcmd JVMTI.agent_load should obey EnableDynamicAgentLoading
Reviewed-by: cjplummer, alanb, amenkov
2023-06-06 00:00:11 +00:00
Doug Simon
b3c9d6785e 8309136: [JVMCI] add -XX:+UseGraalJIT flag
Reviewed-by: dholmes, kvn
2023-06-05 20:47:50 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Calvin Cheung
e970ddbc60 8309170: CDS archive heap is always relocated for larger heap
Reviewed-by: stuefe, iklam
2023-06-05 18:33:54 +00:00
Adam Sotona
4b8922f576 8308842: Consolidate exceptions thrown from Class-File API
Reviewed-by: briangoetz
2023-06-05 18:25:51 +00:00
Joe Darcy
2b38343e4d 8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
Reviewed-by: prappo
2023-06-05 16:36:19 +00:00
Alexander Zvegintsev
73352b68c4 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction
Reviewed-by: prr, psadhukhan
2023-06-05 16:34:45 +00:00
Antonios Printezis
5cd8af7622 8308726: RISC-V: avoid unnecessary slli in the vectorized arraycopy stubs for bytes
Reviewed-by: fyang, luhenry
2023-06-05 15:40:10 +00:00
Antonios Printezis
80232b7e75 8308969: make test-prebuilt doesn't return the correct exit code
Reviewed-by: erikj
2023-06-05 15:35:42 +00:00
changpeng1997
6d511f1376 8309129: AArch64: guarantee(T != T2S) failed: "incorrect arrangement" after JDK-8307795
Reviewed-by: thartmann, xgong, eastigeevich
2023-06-05 11:32:53 +00:00
Jan Lahoda
9be5769a68 8291966: SwitchBootstrap.typeSwitch could be faster
Reviewed-by: asotona
2023-06-05 10:48:25 +00:00
Hannes Wallnöfer
db0857ddd8 8306578: Report error if no label given in @see and {@link} when no default is available
Reviewed-by: jjg
2023-06-05 09:39:19 +00:00
Prasanta Sadhukhan
8c9d21e519 8296920: Regression Test DialogOrient.java fails on MacOS
Reviewed-by: honkar, dnguyen, achung, jdv
2023-06-05 09:15:13 +00:00
Christoph Langer
ac41c03003 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Reviewed-by: mbaesken, weijun
2023-06-05 08:36:47 +00:00
David Leopoldseder
11fb5b2209 8309104: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal
Reviewed-by: dnsimon, thartmann
2023-06-05 07:54:42 +00:00
Vladimir Kempik
a02d8001fa 8309405: RISC-V: is_deopt may produce unaligned memory read
Reviewed-by: fyang, luhenry
2023-06-05 07:30:28 +00:00
Roberto Castañeda Lozano
3fa776d66a 8302673: [SuperWord] MaxReduction and MinReduction should vectorize for int
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: epeter, kvn
2023-06-05 07:08:33 +00:00
Emanuel Peter
22a9a86be0 8309268: C2: "assert(in_bb(n)) failed: must be" after JDK-8306302
Reviewed-by: rcastanedalo, kvn, thartmann
2023-06-05 06:43:13 +00:00
Jan Lahoda
b6c9232b8b 8305225: A service broken error despite annotation processor generating it if directives listed
Reviewed-by: asotona
2023-06-05 06:30:44 +00:00
Jan Lahoda
05fb6c6648 8309336: Incorrect switch in enum not reported properly
Reviewed-by: vromero
2023-06-05 06:25:00 +00:00
Gui Cao
08c91c2212 8309332: RISC-V: Improve PrintOptoAssembly output of vector nodes
Reviewed-by: yzhu, fyang
2023-06-05 00:18:51 +00:00
Chris Plummer
ecb17532dc 8309334: ProcessTools.main() does not properly set thread names when using the virtual thread wrapper
Reviewed-by: amenkov, lmesnik, sspitsyn, alanb
2023-06-04 18:18:11 +00:00
Jaikiran Pai
ac1597bcc7 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
2023-06-04 09:48:11 +00:00
Chris Plummer
fdb5893bf0 8309391: Remove non-failing tests from test/jdk/ProblemList-Virtual.txt
Reviewed-by: dcubed, lmesnik
2023-06-03 20:26:46 +00:00
Guoxiong Li
6edd786bf6 8309265: Serial: Remove the code related to GC overheap limit
Reviewed-by: ayang, tschatzl
2023-06-03 03:45:21 +00:00
Dingli Zhang
61bb014a86 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V
Reviewed-by: luhenry, yzhu, fyang, fjiang
2023-06-03 02:27:18 +00:00
Alex Menkov
62c935d4fa 8308978: regression with a deadlock involving FollowReferences
Reviewed-by: sspitsyn, lmesnik
2023-06-02 22:02:04 +00:00
Joe Wang
aff9cea054 8303530: Redefine JAXP Configuration File
Reviewed-by: naoto, lancea, alanb, smarks
2023-06-02 20:09:44 +00:00
Chris Plummer
1bb037bdc6 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit
Reviewed-by: sspitsyn, lmesnik, amenkov
2023-06-02 19:09:56 +00:00
Mandy Chung
a23bbea959 8309241: ClassForNameLeak fails intermittently as the class loader hasn't been unloaded
Reviewed-by: dnsimon, bchristi
2023-06-02 18:12:19 +00:00
Daniel Fuchs
931913fbb2 8309200: java/net/httpclient/ExecutorShutdown fails intermittently, if connection closed during upgrade
Reviewed-by: jpai, djelinski
2023-06-02 14:34:54 +00:00
Andrew Haley
dc21e8aa83 8296411: AArch64: Accelerated Poly1305 intrinsics
Reviewed-by: redestad, adinn
2023-06-02 14:28:44 +00:00
Poonam Bajaj
59d9d9fcb9 8303215: Make thread stacks not use huge pages
Reviewed-by: stuefe, dholmes
2023-06-02 13:32:22 +00:00
Albert Mingkun Yang
cb1e5e3f0f 8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen
Reviewed-by: tschatzl
2023-06-02 12:47:17 +00:00
Stefan Karlsson
e8268d9163 8309210: Extend VM Operations hs_err logging
Reviewed-by: dholmes, stuefe, eosterlund, sjohanss
2023-06-02 12:06:31 +00:00
Christian Hagedorn
7dbdad50a6 8308892: Bad graph detected in build_loop_late after JDK-8305635
Reviewed-by: rcastanedalo, roland, thartmann
2023-06-02 12:00:11 +00:00
Severin Gehwolf
dc8bc6c98c 8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
2023-06-02 08:58:20 +00:00
Jan Kratochvil
73e7af9e28 8309287: Add fontconfig requirement to building.md for Debian
Reviewed-by: erikj
2023-06-02 08:41:28 +00:00
Sibabrata Sahoo
aeb53e67f9 8308711: Develop additional Tests for KEM implementation
Reviewed-by: weijun
2023-06-02 08:13:12 +00:00
JoKern65
dcd9590fed 8309224: Fix xlc17 clang 15 warnings in java.desktop
Reviewed-by: prr, goetz
2023-06-02 07:34:24 +00:00
Erik Österlund
8f1ce78907 8308752: Generational ZGC: Avoid final marking through stack chunks
Reviewed-by: stefank, aboldtch
2023-06-02 06:54:20 +00:00
Axel Boldt-Christmas
7b0a33600e 8308387: CLD created and unloading list sharing _next node pointer leads to concurrent YC missing CLD roots
Reviewed-by: stefank, coleenp, dholmes, eosterlund
2023-06-02 06:35:24 +00:00
Roberto Castañeda Lozano
60f3b87d96 8309295: C2: MaxNode::signed_min() returns nullptr for int operands
Reviewed-by: thartmann
2023-06-02 06:34:15 +00:00
Aggelos Biboudis
8007599756 8309093: Underscore with brackets
Reviewed-by: jlahoda
2023-06-02 06:14:57 +00:00
Alan Bateman
5bd2af26e6 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents
Reviewed-by: sspitsyn, cjplummer
2023-06-02 05:57:01 +00:00
Tejesh R
325940b091 8307105: JFileChooser InvalidPathException when selecting some system folders on Windows
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-06-02 04:29:33 +00:00
Matias Saavedra Silva
101bf2290d 8308891: TestCDSVMCrash.java needs @requires vm.cds
Reviewed-by: dcubed
2023-06-01 20:37:21 +00:00
Doug Simon
2bb1972483 8308954: [JVMCI] code installation increments decompile_count for call_site_target_value failures
Reviewed-by: never
2023-06-01 19:24:07 +00:00
Martin Doerr
0ab09630c6 8308469: [PPC64] Implement alternative fast-locking scheme
Reviewed-by: rrich, lucy
2023-06-01 17:24:50 +00:00
Zdenek Zambersky
ec55539534 8309138: Fix container tests for jdks with symlinked conf dir
Reviewed-by: sgehwolf
2023-06-01 16:25:53 +00:00
Chris Plummer
e8271649e0 8309146: extend JDI StackFrame.setValue() and JDWP StackFrame.setValues minimal support for virtual threads
Reviewed-by: sspitsyn, alanb
2023-06-01 15:33:20 +00:00
Chen Liang
be36096a19 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe
Reviewed-by: stsypanov, redestad
2023-06-01 15:31:51 +00:00
Chris Plummer
c6f20db945 8308232: nsk/jdb tests don't pass -verbose flag to the debuggee
Reviewed-by: sspitsyn, lmesnik
2023-06-01 15:28:58 +00:00
Mark Powers
d987176412 8307794: Test for HSS/LMS Signature Verification
Reviewed-by: mullan
2023-06-01 14:09:36 +00:00
Ferenc Rakoczi
050425b141 8298127: HSS/LMS Signature Verification
Reviewed-by: weijun, mullan
2023-06-01 12:31:07 +00:00
Adam Sotona
a6109bf1ea 8308856: jdk.internal.classfile.impl.EntryMap::nextPowerOfTwo math problem
Reviewed-by: jlahoda
2023-06-01 11:50:20 +00:00
Jan Lahoda
6adc242cf3 8308943: jdk.internal.le build fails on AIX
Reviewed-by: asotona
2023-06-01 11:14:12 +00:00
Volker Simonis
39f6d807db 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: stuefe, rriggs
2023-06-01 10:56:31 +00:00
Aleksey Shipilev
4460429d7a 8308803: Improve java/util/UUID/UUIDTest.java
Reviewed-by: jpai, rriggs
2023-06-01 08:55:56 +00:00
Christian Hagedorn
dfd3da3f52 8307683: Loop Predication should not hoist range checks with trap on success projection by negating their condition
Reviewed-by: thartmann, roland
2023-06-01 08:04:45 +00:00
Thomas Schatzl
96ed1392d1 8308766: TLAB initialization may cause div by zero
Reviewed-by: shade, ayang
2023-06-01 06:57:45 +00:00
Yanhong Zhu
6c7225f819 8303417: RISC-V: Merge vector instructs with similar match rules
Reviewed-by: fyang, rehn, dzhang
2023-06-01 02:44:08 +00:00
Hao Sun
a46b5acc15 8308503: AArch64: SIGILL when running with -XX:UseBranchProtection=pac-ret on hardware without PAC feature
Reviewed-by: aph, ngasson, dlong
2023-05-31 23:49:13 +00:00
Sandhya Viswanathan
f9ad7df4da 8300865: C2: product reduction in ProdRed_Double is not vectorized
Reviewed-by: fgao, epeter, kvn
2023-05-31 22:39:54 +00:00
Justin King
8eda97dc8d 8305320: DbgStrings and AsmRemarks are leaking
Reviewed-by: coleenp, fparain
2023-05-31 21:41:46 +00:00
Jonathan Gibbons
09514745fc 8309150: Need to escape " inside attribute values
Reviewed-by: prappo
2023-05-31 21:20:05 +00:00
David Holmes
0119969816 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341
Reviewed-by: dcubed, gziemski
2023-05-31 21:13:30 +00:00
Dean Long
f8a924a749 8308975: Fix signed integer overflow in compiler code, part 2
Reviewed-by: aph, coleenp, kvn
2023-05-31 20:51:53 +00:00
Chris Plummer
5531f6ba1b 8308819: add JDWP and JDI virtual thread support for ThreadReference.ForceEarlyReturn
Reviewed-by: sspitsyn, alanb
2023-05-31 20:50:22 +00:00
Daniel D. Daugherty
e42a4b659a 8309236: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC and Generational ZGC again
Reviewed-by: bpb, azvegint
2023-05-31 20:41:11 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Roger Riggs
c3cd481a9a 8304914: Use OperatingSystem, Architecture, and Version in jpackage
Reviewed-by: asemenyuk
2023-05-31 19:32:21 +00:00
Chris Plummer
eae1f59da9 8309159: Some minor comment and code cleanup in jdk/com/sun/jdi/PopFramesTest.java
Reviewed-by: sspitsyn, lmesnik
2023-05-31 17:38:18 +00:00
Daniel D. Daugherty
45473ef235 8309230: ProblemList jdk/incubator/vector/Float64VectorTests.java on aarch64
8309231: ProblemList vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java

Reviewed-by: darcy
2023-05-31 16:50:09 +00:00
Chen Liang
78aa5f3fc1 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
2023-05-31 16:28:26 +00:00
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +00:00
Naoto Sato
1264902517 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
2023-05-31 15:56:40 +00:00
Matthias Baesken
70670b4af6 8308872: enhance logging and some exception in krb5/Config.java
Reviewed-by: weijun
2023-05-31 14:43:07 +00:00
Matias Saavedra Silva
024d9b131d 8308910: Allow executeAndLog to accept running process
Reviewed-by: ccheung, iklam
2023-05-31 13:50:04 +00:00
Emanuel Peter
25b9803056 8308917: C2 SuperWord::output: assert before bailout with CountedLoopReserveKit
Reviewed-by: kvn, thartmann
2023-05-31 13:17:45 +00:00
Yadong Wang
d66b6d8fd2 8308765: RISC-V: Expand size of stub routines for zgc only
Reviewed-by: fjiang, fyang
2023-05-31 13:13:20 +00:00
Daniel Fuchs
4aea7dab15 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently
Reviewed-by: jpai
2023-05-31 10:49:20 +00:00
Albert Mingkun Yang
a990322429 8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable
Reviewed-by: dholmes
2023-05-31 10:19:58 +00:00
Aggelos Biboudis
4f3a95af2f 8309054: Parsing of erroneous patterns succeeds
Reviewed-by: jlahoda
2023-05-31 09:37:58 +00:00
Johan Sjölen
4f16161607 8309044: Replace NULL with nullptr, final sweep of hotspot code
Reviewed-by: stefank, dholmes, kvn, amitkumar
2023-05-31 09:19:47 +00:00
Leo Korinth
88236263dc 8309048: Remove malloc locker test case
Reviewed-by: dholmes, tschatzl, coleenp, lmesnik
2023-05-31 08:53:47 +00:00
Kim Barrett
927a9ed683 8240774: [REDO] G1DirtyCardQueue destructor has useless flush
Reviewed-by: dholmes, ayang, tschatzl
2023-05-31 01:52:05 +00:00
Dingli Zhang
119994f3ce 8308997: RISC-V: Sign extend when comparing 32-bit value with zero instead of testing the sign bit
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-31 01:31:50 +00:00
Leonid Mesnik
327733c93d 8308986: Disable svc tests failing with virtual thread factory
Reviewed-by: dholmes, dcubed, sspitsyn
2023-05-31 00:11:05 +00:00
David Holmes
1e6770fb97 8308341: JNI_GetCreatedJavaVMs returns a partially initialized JVM
Reviewed-by: jsjolen, gziemski
2023-05-30 22:46:06 +00:00
Joe Darcy
cb40db052c 8309134: Augment test/langtools/tools/javac/versions/Versions.java for JDK 21 language changes
Reviewed-by: jjg
2023-05-30 21:58:50 +00:00
Mandy Chung
de7fd1c306 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
2023-05-30 21:01:12 +00:00
Valerie Peng
7891de331a 8297885: misc sun/security/pkcs11 tests timed out
Reviewed-by: xuelei
2023-05-30 17:50:53 +00:00
Roger Riggs
323d6ceda6 8308960: Decouple internal Version and OperatingSystem classes
Reviewed-by: mchung
2023-05-30 17:07:02 +00:00
Joe Darcy
1b8e6bf31c 8308987: Update java.lang.Class to use javadoc snippets
Reviewed-by: alanb
2023-05-30 16:47:02 +00:00
Daniel Fuchs
04b0e785f6 8307648: java/net/httpclient/ExpectContinueTest.java timed out
Reviewed-by: djelinski
2023-05-30 16:32:11 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Brian Burkhalter
21af8bae38 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
2023-05-30 16:16:45 +00:00
Jorn Vernee
804f198c73 8308992: New test TestHFA fails with zero
Reviewed-by: mcimadamore
2023-05-30 15:28:40 +00:00
Jasmine Karthikeyan
fb0b1f0c23 8051725: Improve expansion of Conv2B nodes in the middle-end
Reviewed-by: thartmann, qamai, sviswanathan
2023-05-30 14:11:12 +00:00
Paul Hohensee
3eced01f9e 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: dholmes, mchung
2023-05-30 13:44:02 +00:00
Jie Fu
15e028530a 8309110: Build failure after JDK-8307795 due to warnings in micro-benchmark StoreMaskTrueCount.java
Reviewed-by: thartmann
2023-05-30 13:43:14 +00:00
Antonios Printezis
4526282266 8308977: gtest:codestrings fails on riscv
Reviewed-by: fyang
2023-05-30 13:08:15 +00:00
changpeng1997
f600d0369a 8307795: AArch64: Optimize VectorMask.truecount() on Neon
Reviewed-by: aph, eliu
2023-05-30 12:45:33 +00:00
Renjith
07f2070411 8309095: Remove UTF-8 character from TaskbarPositionTest.java
Reviewed-by: aivanov
2023-05-30 12:11:34 +00:00
Maurizio Cimadamore
2b186e246e 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Reviewed-by: jvernee
2023-05-30 10:24:10 +00:00
Erik Österlund
78aac241b8 8308881: Strong CLD oop handle roots are demoted to non-roots concurrently
Reviewed-by: stefank, coleenp
2023-05-30 07:29:46 +00:00
Emanuel Peter
1f1f604071 8302670: use-after-free related to PhaseIterGVN interaction with Unique_Node_List and Node_Stack
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: thartmann, chagedorn, jcking
2023-05-30 07:14:50 +00:00
Tobias Hartmann
d35a550f6d 8309077: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: chagedorn
2023-05-30 05:36:46 +00:00
Gui Cao
457e1cb827 8308817: RISC-V: Support VectorTest node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-30 00:39:53 +00:00
Ioi Lam
7508d9f9e0 8308906: Make CIPrintCompilerName a diagnostic flag
Reviewed-by: kvn, stuefe
2023-05-29 20:25:57 +00:00
Prasanta Sadhukhan
a4bae3a9e2 8309060: Compilation Error in javax/swing/event/FocusEventCauseTest.java
Reviewed-by: abhiscxk, aivanov
2023-05-29 18:25:19 +00:00
Renjith
d73fc70ea2 8289547: Update javax/swing/Popup/TaskbarPositionTest.java
Reviewed-by: aivanov, dmarkov, honkar
2023-05-29 12:52:15 +00:00
Markus Grönlund
7cf6eecdc8 8307488: Incorrect weight of the first ObjectAllocationSample JFR event
Reviewed-by: egahlin
2023-05-29 10:53:08 +00:00
Doug Simon
a5d8d59469 8308930: [JVMCI] TestUncaughtErrorInCompileMethod times out
Reviewed-by: never
2023-05-29 10:04:31 +00:00
Prasanta Sadhukhan
70130d3b16 8306119: Many components respond to a mouse event by requesting focus without supplying the MOUSE_EVENT cause
Reviewed-by: jdv
2023-05-29 08:40:13 +00:00
Albert Mingkun Yang
6360b49931 8308948: Remove unimplemented ThreadLocalAllocBuffer::reset
Reviewed-by: tschatzl
2023-05-29 08:06:41 +00:00
Dingli Zhang
e21f865d84 8308915: RISC-V: Improve temporary vector register usage avoiding the use of v0
Reviewed-by: yzhu, fyang
2023-05-29 01:03:01 +00:00
Christian Stein
547a8b40b3 8306560: Add TOOLING.jsh load file
Reviewed-by: jlahoda
2023-05-28 08:14:37 +00:00
Gerard Ziemski
ca54f4e007 8306428: RunThese30M.java crashed with assert(early->flag() == current->flag() || early->flag() == mtNone)
Reviewed-by: jsjolen, stuefe
2023-05-27 18:28:49 +00:00
Erik Gahlin
5fdb22f911 8308876: JFR: Deserialization of EventTypeInfo uses incorrect attribute names
Reviewed-by: mgronlun
2023-05-27 06:18:26 +00:00
Serguei Spitsyn
bd113ee048 8308814: extend SetLocalXXX minimal support for virtual threads
Reviewed-by: cjplummer
2023-05-27 02:43:50 +00:00
Hannes Wallnöfer
a92363461d 8286470: Support searching for sections in class/package javadoc
Reviewed-by: jjg
2023-05-26 18:36:45 +00:00
Calvin Cheung
55d297fdda 8308594: Use atomic bitset function for PackageEntry::_defined_by_cds_in_class_path
Reviewed-by: coleenp, lfoltan
2023-05-26 18:04:01 +00:00
Xue-Lei Andrew Fan
c72b547425 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
2023-05-26 16:47:39 +00:00
Erik Gahlin
77c5adb09e 8308935: jdk.management.jfr.RecordingInfo.toString() lacks test coverage
Reviewed-by: mgronlun
2023-05-26 16:00:12 +00:00
Ashutosh Mehra
ce5251aff7 8308657: ReplayInline is not availabe in production build
Reviewed-by: kvn, roland, thartmann
2023-05-26 14:48:14 +00:00
Stefan Karlsson
cc0976bf7f 8308589: gc/cslocker/TestCSLocker.java timed out
Reviewed-by: eosterlund
2023-05-26 13:51:31 +00:00
Kevin Walls
17ef8a44a9 8299665: /proc/self/stat parsing in libmanagement broken by execname with spaces
Reviewed-by: sspitsyn, amenkov
2023-05-26 10:51:39 +00:00
Tejesh R
c494770ca0 8306812: Open source several AWT Miscellaneous tests
Reviewed-by: psadhukhan
2023-05-26 10:50:49 +00:00
Erik Österlund
d3b9b364da 8308009: Generational ZGC: OOM before clearing all SoftReferences
Reviewed-by: stefank, aboldtch
2023-05-26 10:12:50 +00:00
Roland Westrelin
bac02b6e9d 8305189: C2 failed "assert(_outcnt==1) failed: not unique"
Reviewed-by: chagedorn, thartmann
2023-05-26 09:04:31 +00:00
Johan Sjölen
62537d200f 8299974: Replace NULL with nullptr in share/adlc/
Reviewed-by: dlong, kvn
2023-05-26 08:44:01 +00:00
Doug Simon
f09345b3a4 8308931: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: thartmann
2023-05-26 08:14:26 +00:00
Stefan Karlsson
7c072dbd9d 8308844: ProblemList gc/z/TestHighUsage.java with Generational ZGC on windows x64
Reviewed-by: aboldtch, tschatzl
2023-05-26 07:52:53 +00:00
Tejesh R
4becb7bcb6 8306137: Open source several AWT ScrollPane related tests
Reviewed-by: aivanov
2023-05-26 07:50:10 +00:00
Roland Westrelin
199b1bf500 8308583: SIGSEGV in GraphKit::gen_checkcast
Reviewed-by: thartmann, kvn, never
2023-05-26 07:03:35 +00:00
Justin Lu
46c4da7fdd 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
2023-05-25 21:54:58 +00:00
Daniel D. Daugherty
ee321c70e5 8308907: ProblemList java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java on linux-x64
8308908: ProblemList javax/sound/sampled/Clip/ClipIsRunningAfterStop.java on linux-x64
8308909: ProblemList sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java on linux-x64

Reviewed-by: mikael
2023-05-25 21:35:50 +00:00
Calvin Cheung
dc7683a051 8308073: ClassLoaderExt::append_boot_classpath should handle dynamic archive
Reviewed-by: iklam, matsaave
2023-05-25 21:26:54 +00:00
Erik Gahlin
4870234552 8304375: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Expected at least some events to be out of order! Reuse = false"
Reviewed-by: mgronlun
2023-05-25 21:01:37 +00:00
Ashutosh Mehra
7d2a7ce240 8308672: Add version number in the replay file generated by DumpInline
Reviewed-by: kvn
2023-05-25 18:31:56 +00:00
Naoto Sato
27ba8bd4ed 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
2023-05-25 17:20:02 +00:00
Doug Simon
89b3c375ac 8307125: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hits assert(!Continuation::is_frame_in_continuation(thread(), fr())) failed: No support for deferred values in continuations
Reviewed-by: never
2023-05-25 16:26:26 +00:00
Erik Gahlin
98acce13d5 8306703: JFR: Summary views
Reviewed-by: mgronlun
2023-05-25 15:39:45 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Tyler Steele
48d21bd089 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
2023-05-25 14:59:11 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Erik Gahlin
90e57fd5a9 8308335: JFR: Remove @Experimental from Virtual Threads events
Reviewed-by: alanb, mgronlun
2023-05-25 12:19:38 +00:00
Albert Mingkun Yang
7e2e05d836 8308098: G1: Remove redundant checks in G1ObjectCountIsAliveClosure
Reviewed-by: tschatzl, iwalulya
2023-05-25 11:59:01 +00:00
Coleen Phillimore
2599ada152 8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
2023-05-25 11:52:40 +00:00
Roberto Castañeda Lozano
5a0a238f67 8308746: C2 IR test failures for TestFpMinMaxReductions.java with SSE2
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: chagedorn, thartmann
2023-05-25 11:07:10 +00:00
Pavel Rappo
38367d3c3a 8308735: Typos in parameter names
Reviewed-by: naoto, iris, bpb
2023-05-25 10:22:41 +00:00
Christian Hagedorn
4f096eb7c9 8305635: Replace Parse Predicate IfNode with new ParsePredicateNode and route predicate queries through dedicated classes
Reviewed-by: thartmann, kvn
2023-05-25 09:40:19 +00:00
Sergey Bylokhov
f27bc59f85 8307132: Cleanup the code of sun.java2d.cmm.lcms package
Reviewed-by: prr
2023-05-25 09:36:12 +00:00
Jaikiran Pai
426ebf4fe9 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible
Reviewed-by: lmesnik
2023-05-25 09:23:48 +00:00
Axel Boldt-Christmas
8d8153e98a 8307958: Metaspace verification is slow causing extreme class unloading times
Reviewed-by: stuefe, coleenp
2023-05-25 09:03:30 +00:00
Christian Stein
d87713440a 8144891: ToolBox should use java.nio.file.Path internally, instead of java.io.File
Reviewed-by: jjg
2023-05-25 08:56:42 +00:00
Leo Korinth
aaa61899c9 8308506: Reduce testing time by removing combinations tested
Reviewed-by: tschatzl, lmesnik
2023-05-25 08:56:07 +00:00
Aggelos Biboudis
4500bb7a67 8308727: Compiler should accept final unnamed variables in try-with-resources
Reviewed-by: jlahoda
2023-05-25 08:10:02 +00:00
Hannes Wallnöfer
3272e2597a 8305710: Line breaks in search tags cause invalid JSON in index file
Reviewed-by: jjg
2023-05-25 07:40:44 +00:00
Hannes Wallnöfer
3f4abff59c 8305958: Use links instead of buttons for auto-generated header links
Reviewed-by: jjg
2023-05-25 07:30:03 +00:00
Adam Sotona
bfcae68ed1 8308549: Classfile API should fail to generate over-sized Code attribute
Reviewed-by: mchung
2023-05-25 07:13:33 +00:00
Vladimir Kempik
2a18e537d6 8308656: RISC-V: vstring_compare doesnt manifest usage of all vector registers
Reviewed-by: yzhu, fyang
2023-05-25 05:08:39 +00:00
Guoxiong Li
a291f002cd 8288619: Unexpected parsing for @see
Reviewed-by: jjg
2023-05-25 03:25:50 +00:00
Serguei Spitsyn
89b99143ac 8308400: add ForceEarlyReturn support for virtual threads
Reviewed-by: alanb, lmesnik
2023-05-25 02:29:22 +00:00
Chen Liang
1451ac1770 8307652: sealed class hierarchy graph doesn't distinguish non-sealed classes
Reviewed-by: pminborg, jjg
2023-05-24 21:03:47 +00:00
Alex Menkov
207fbcb083 8299414: JVMTI FollowReferences should support references from VirtualThread stack
Reviewed-by: sspitsyn, kevinw
2023-05-24 20:26:10 +00:00
Jim Laskey
b44fa365ca 8308040: Evaluate new public types in non-public classes
Reviewed-by: rriggs, darcy
2023-05-24 19:08:39 +00:00
Tom Rodriguez
ac89e3045b 8308291: compiler/jvmci/meta/ProfilingInfoTest.java fails with -XX:TieredStopAtLevel=1
Reviewed-by: kvn, chagedorn
2023-05-24 18:39:30 +00:00
Coleen Phillimore
bacf652311 8297887: Update Siphash
Reviewed-by: lfoltan
2023-05-24 18:07:03 +00:00
Chris Plummer
89f2d458a2 8308237: add JDWP and JDI virtual thread support for ThreadReference.PopFrames
8308481: JDI TestScaffold does not support passing app arguments to the debuggee
8305632: Test com/sun/jdi/PopAndInvokeTest.java fails with OpaqueFrameException

Reviewed-by: alanb, sspitsyn, lmesnik
2023-05-24 16:54:05 +00:00
Erik Gahlin
d10467e27b 8307738: JFR: EventStream.openRepository() drops events
Reviewed-by: mgronlun
2023-05-24 16:38:50 +00:00
Daniel Fuchs
736b90d54b 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
Reviewed-by: jpai
2023-05-24 14:23:24 +00:00
Martin Doerr
7764f46e9e 8308761: New test TestHFA needs adaptation for JDK-8308276
Reviewed-by: mcimadamore, mbaesken
2023-05-24 13:45:57 +00:00
Maxim Kartashev
d7245f70e7 8305578: X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions
Reviewed-by: avu, serb
2023-05-24 12:48:37 +00:00
Viktor Klang
544978cb76 8298066: java/util/concurrent/locks/Lock/OOMEInAQS.java timed out
Reviewed-by: alanb
2023-05-24 12:41:27 +00:00
Thomas Schatzl
65c8dbe693 8171221: Remove -XX:+CheckMemoryInitialization
Reviewed-by: ayang, shade
2023-05-24 12:02:04 +00:00
Xiaolin Zheng
2d4d850813 8308091: Remove unused iRegIHeapbase() matching operand
Reviewed-by: fyang, thartmann
2023-05-24 09:42:26 +00:00
Emanuel Peter
b7a84b0fd7 8308758: Problemlist compiler/c2/irTests/TestVectorConditionalMove.java
Reviewed-by: chagedorn
2023-05-24 09:38:45 +00:00
Martin Doerr
20f15352a3 8303040: linux PPC64le: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: jvernee, rrich
2023-05-24 08:38:34 +00:00
Tobias Holenstein
466ec300fc 8302736: Major performance regression in Math.log on aarch64
Reviewed-by: thartmann, dlong, aph
2023-05-24 07:29:25 +00:00
Doug Simon
05c095cf39 8308151: [JVMCI] capture JVMCI exceptions in hs-err
Reviewed-by: never
2023-05-24 07:15:12 +00:00
Emanuel Peter
beb75e651f 8306302: C2 Superword fix: use VectorMaskCmp and VectorBlend instead of CMoveVF/D
Reviewed-by: fgao, jbhateja
2023-05-24 07:00:27 +00:00
Jamil Nimeh
2836c34b64 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
2023-05-23 21:32:28 +00:00
Chen Liang
8ffa264cf0 8306698: Add overloads to MethodTypeDesc::of
Reviewed-by: mchung
2023-05-23 21:26:25 +00:00
Valerie Peng
6b27dad76e 8301154: SunPKCS11 KeyStore deleteEntry results in dangling PrivateKey entries
Reviewed-by: weijun, hchao
2023-05-23 21:11:38 +00:00
Daniel D. Daugherty
ed0e956fc2 8308716: ProblemList java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java with genzgc on windows-x64
8308718: ProblemList three mlvm/indy/func/jvmti tests on windows-x64 in Xcomp mode
8308720: ProblemList java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java on macosx-x64

Reviewed-by: azvegint, darcy
2023-05-23 20:43:20 +00:00
Afshin Zafari
bddf48380e 8303942: os::write should write completely
Reviewed-by: coleenp, iklam, dholmes, mgronlun
2023-05-23 17:08:08 +00:00
Quan Anh Mai
ab241b3428 8306706: Support out-of-line code generation for MachNodes
Reviewed-by: thartmann, kvn
2023-05-23 17:06:25 +00:00
Brian Burkhalter
710453c676 8308016: Use snippets in java.io package
Reviewed-by: rriggs
2023-05-23 16:00:40 +00:00
Axel Boldt-Christmas
e9320f31dc 8308116: jdk.test.lib.compiler.InMemoryJavaCompiler.compile does not close files
Reviewed-by: lmesnik, stefank, jlahoda
2023-05-23 15:33:08 +00:00
changpeng1997
97d3b2731e 8307523: [vectorapi] Optimize MaskFromLongBenchmark.java
Reviewed-by: qamai, xgong, ngasson
2023-05-23 14:46:55 +00:00
Jamil Nimeh
bb0ff48aa9 8305091: Change ChaCha20 cipher init behavior to match AES-GCM
Reviewed-by: djelinski, ascarpino
2023-05-23 14:31:08 +00:00
Jan Kratochvil
c0c4d77192 8308544: Fix compilation regression from JDK-8306983 on musl libc
Reviewed-by: bpb, stuefe
2023-05-23 13:50:58 +00:00
Daniel Fuchs
9e196b3631 8308565: HttpClient: Sanitize logging while stopping
Reviewed-by: jpai
2023-05-23 12:07:23 +00:00
Daniel Fuchs
582ddeb2b2 8308545: java/net/httpclient/ShutdownNow.java fails with "stream 1 cancelled"
Reviewed-by: jpai
2023-05-23 12:02:58 +00:00
Jan Lahoda
1cfb265bef 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method
Reviewed-by: vromero, godin
2023-05-23 11:47:00 +00:00
Per Minborg
eb11508eff 8308281: Java snippets in the FFM API need to be updated
Reviewed-by: mcimadamore
2023-05-23 11:29:05 +00:00
Emanuel Peter
26227a6ff8 8305073: Fix VerifyLoopOptimizations - step 2 - verify idom
Reviewed-by: chagedorn, thartmann, kvn
2023-05-23 11:25:01 +00:00
Aggelos Biboudis
80d7de7074 8305582: Compiler crash when compiling record patterns with var
Reviewed-by: vromero, jlahoda
2023-05-23 11:18:55 +00:00
Axel Boldt-Christmas
e55961331e 8308500: ZStatSubPhase::register_start should not call register_gc_phase_start if ZAbort::should_abort()
Reviewed-by: stefank, eosterlund
2023-05-23 10:45:01 +00:00
Emanuel Peter
bdd240283e 8260943: C2 SuperWord: Remove dead vectorization optimization added by 8076284
Reviewed-by: kvn, thartmann
2023-05-23 09:51:19 +00:00
Amit Kumar
4f0f776187 8308403: [s390x] separate remaining_cargs from z_abi_160
Reviewed-by: mdoerr, lucy
2023-05-23 08:32:27 +00:00
Emanuel Peter
06b0a5e038 8302652: [SuperWord] Reduction should happen after loop, when possible
Reviewed-by: kvn, pli, jbhateja, sviswanathan
2023-05-23 08:05:13 +00:00
Matthias Baesken
69f508a2ac 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
2023-05-23 07:43:14 +00:00
Adam Sotona
c4408278d1 8308093: Disable language preview features use in JDK
Reviewed-by: liach, erikj, alanb, darcy
2023-05-23 07:23:37 +00:00
Doug Simon
422128b70a 8306992: [JVMCI] mitigate more against JVMCI related OOME causing VM to exit
Reviewed-by: never
2023-05-23 07:20:00 +00:00
Alan Bateman
fe8c689eee 8308038: java/util/concurrent/ThreadPerTaskExecutor/ThreadPerTaskExecutorTest.java timed out
Reviewed-by: dfuchs, jpai
2023-05-23 07:05:44 +00:00
Alan Bateman
ada416e66c 8308235: ThreadContainer registry accumulates weak refs
Reviewed-by: jpai
2023-05-23 07:05:07 +00:00
Ichiroh Takiguchi
5d8ba938be 8308046: Move Solaris related charsets from java.base to jdk.charsets module
Reviewed-by: naoto
2023-05-23 00:41:59 +00:00
Thomas Stuefe
878162b362 8306507: [linux] Print number of memory mappings in error reports
Reviewed-by: adinn, sgehwolf
2023-05-22 19:59:02 +00:00
Johan Sjölen
90d5041b6a 8300086: Replace NULL with nullptr in share/c1/
Reviewed-by: thartmann, chagedorn
2023-05-22 19:41:59 +00:00
Yi-Fan Tsai
8474e693b4 8308465: Reduce memory accesses in AArch64 MD5 intrinsic
Reviewed-by: aph, phh
2023-05-22 16:53:23 +00:00
quadhier
f99ad11dd1 8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
2023-05-22 16:51:20 +00:00
Joe Darcy
d77a41033a 8308388: Update description of SourceVersion.RELEASE_21
Reviewed-by: iris
2023-05-22 16:30:37 +00:00
Matias Saavedra Silva
3f4cfbdd36 8307190: Refactor ref_at methods in Constant Pool
Reviewed-by: coleenp, iklam
2023-05-22 16:27:17 +00:00
Jiangli Zhou
491bdeaa90 8308458: Windows build failure with disassembler.cpp(792): warning C4267: '=': conversion from 'size_t' to 'int'
Reviewed-by: jiefu
2023-05-22 16:24:45 +00:00
Calvin Cheung
b58980b73d 8308034: Some CDS tests need to use @requires vm.flagless
Reviewed-by: iklam
2023-05-22 15:53:04 +00:00
George Adams
29b8d3d9e7 8307573: Implementation of JEP 449: Deprecate the Windows 32-bit x86 Port for Removal
Reviewed-by: erikj
2023-05-22 15:44:52 +00:00
Maurizio Cimadamore
5fc9b5787d 8308276: Change layout API to work with bytes, not bits
Reviewed-by: psandoz, pminborg
2023-05-22 14:57:00 +00:00
Maurizio Cimadamore
91aeb5de58 8287834: Add SymbolLookup::or method
Reviewed-by: psandoz
2023-05-22 14:51:09 +00:00
Thomas Obermeier
4f88437b7f 8307908: [ppc] Add failing RTM tests to ProblemList until 8307907 is fixed.
Reviewed-by: clanger, goetz
2023-05-22 12:37:43 +00:00
Andrew Leonard
dc30e68651 8308407: libjvm library not reproducibly comparable between vendors
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: andrew, dholmes
2023-05-22 12:23:45 +00:00
Matthew Donovan
18e2446420 8301381: Verify DTLS 1.0 cannot be negotiated
Reviewed-by: xuelei
2023-05-22 12:03:13 +00:00
Prasanta Sadhukhan
b3cb82b859 8307311: Timeouts on one macOS 12.6.1 host of two Swing JTableHeader tests
Reviewed-by: dnguyen, azvegint
2023-05-22 11:42:11 +00:00
Alexander Zvegintsev
3d550f7485 8280993: [XWayland] Popup is not closed on click outside of area controlled by XWayland
Reviewed-by: prr
2023-05-22 11:37:12 +00:00
Darragh Clarke
05e99db466 7065228: To interpret case-insensitive string locale independently
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
2023-05-22 10:53:59 +00:00
Jan Lahoda
a9705196ce 8306983: Do not invoke external programs when switch terminal to raw mode on selected platforms
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: erikj, vromero, bpb
2023-05-22 10:39:26 +00:00
Andrey Turbanov
6b65e5754c 8305785: Avoid redundant HashMap.containsKey call in java.util.regex
Reviewed-by: stsypanov, jpai
2023-05-22 10:27:13 +00:00
Erik Österlund
8011ba74a2 8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
2023-05-22 10:20:45 +00:00
Aggelos Biboudis
8aa50288a1 8302344: Compiler Implementation for Unnamed patterns and variables (Preview)
8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
2023-05-22 08:52:36 +00:00
Leo Korinth
b588797900 8307804: Reorganize ArrayJuggle test cases
Reviewed-by: dholmes, lmesnik
2023-05-22 08:17:53 +00:00
Serguei Spitsyn
928fcf9751 8308000: add PopFrame support for virtual threads
Reviewed-by: lmesnik, alanb
2023-05-22 07:34:35 +00:00
Emanuel Peter
41beb448d2 8308084: C2 fix idom bug in PhaseIdealLoop::create_new_if_for_predicate
Reviewed-by: chagedorn, thartmann, kvn
2023-05-22 06:26:55 +00:00
Emanuel Peter
b6a9f5c304 8307619: C2 failed: Not monotonic (AndI CastII LShiftI) in TestShiftCastAndNotification.java
Reviewed-by: chagedorn, thartmann
2023-05-22 06:23:19 +00:00
Jan Lahoda
eaa80ad08c 8300543: Compiler Implementation for Pattern Matching for switch
8300545: Compiler Implementation for Record Patterns

Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, mcimadamore
2023-05-22 04:24:06 +00:00
Ioi Lam
5ccc962942 8308342: Remove MetaspaceClosure::Ref::keep_after_pushing()
Reviewed-by: ccheung
2023-05-21 05:32:36 +00:00
Daniel D. Daugherty
a0f4a948bb 8307783: runtime/reflect/ReflectOutOfMemoryError.java timed out
8308468: ProblemList containers/docker/TestMemoryAwareness.java on linux-x64
8308470: ProblemList javax/management/remote/mandatory/connection/BrokenConnectionTest.java on linux-all
8308471: ProblemList javax/management/remote/mandatory/loading/MissingClassTest.java on windows-x64 w/ loom
8308472: ProblemList javax/management/remote/mandatory/loading/RMIDownloadTest.java on windows-x64 w/ loom
8308473: ProblemList java/lang/instrument/NativeMethodPrefixAgent.java with loom

Reviewed-by: lmesnik
2023-05-20 16:40:05 +00:00
Kevin Walls
939344b843 8304685: Fix whitespace parsing in libjdwp
Reviewed-by: cjplummer, amenkov, sspitsyn
2023-05-19 18:57:55 +00:00
Leonid Mesnik
241455fcd1 8307962: Exclude gc/g1/TestSkipRebuildRemsetPhase.java fails with virtual test thread factory
Reviewed-by: sspitsyn
2023-05-19 18:42:23 +00:00
Justin Lu
34468e1c91 8308021: Update IANA Language Subtag Registry to Version 2023-05-11
Reviewed-by: lancea, naoto
2023-05-19 18:22:50 +00:00
Weijun Wang
f0aebc8141 8305972: Update XML Security for Java to 3.0.2
Reviewed-by: mullan
2023-05-19 17:46:41 +00:00
Coleen Phillimore
265f40b4f7 8308396: Fix offset_of conversion warnings in runtime code
Reviewed-by: amitkumar, jsjolen, fparain
2023-05-19 17:16:04 +00:00
Brian Burkhalter
a5343fa605 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
2023-05-19 15:37:37 +00:00
Maurizio Cimadamore
44218b1c9e 8308248: Revisit alignment of layout constants on 32-bit platforms
Reviewed-by: psandoz, pminborg
2023-05-19 14:28:14 +00:00
Adam Sotona
80ef5c228b 8308410: broken compilation of test\jdk\tools\launcher\exeJliLaunchTest.c
Reviewed-by: alanb
2023-05-19 13:11:41 +00:00
Kick-it11
326d778ccf 8306057: False arguments calling dispatch_base for aarch64
Reviewed-by: aph, fyang
2023-05-19 12:59:46 +00:00
Jie Fu
690d3969b8 8308408: Build failure with -Werror=maybe-uninitialized in libjli/java.c with GCC8
Reviewed-by: alanb
2023-05-19 11:13:37 +00:00
Adam Sotona
fa14314853 8303669: SelectVersion indexes past the end of the argv array
Reviewed-by: vromero
2023-05-19 08:09:37 +00:00
Raffaello Giulietti
25868b95ee 8132995: Matcher$ImmutableMatchResult should be optimized to reduce space usage
Reviewed-by: redestad, smarks
2023-05-19 08:04:32 +00:00
Aleksey Shipilev
6765761075 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey
Reviewed-by: xuelei
2023-05-19 06:53:50 +00:00
Dingli Zhang
97ade57fb2 8307609: RISC-V: Added support for Extract, Compress, Expand and other nodes for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-19 03:09:13 +00:00
Feilong Jiang
e520cdc882 8308277: RISC-V: Improve vectorization of Match.sqrt() on floats
Reviewed-by: fyang
2023-05-19 00:49:28 +00:00
Leonid Mesnik
42948c04b9 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks
Reviewed-by: sspitsyn, cjplummer
2023-05-18 23:57:10 +00:00
Chris Plummer
4a6d6d5a59 8308187: jdi/EventSet/resume/resume008 failed with "EventHandler> Unexpected event: ThreadStartEvent in thread resume008-thread0"
Reviewed-by: dcubed
2023-05-18 22:08:10 +00:00
Weijun Wang
148df533af 8308010: X509Key and PKCS8Key allows garbage bytes at the end
Reviewed-by: mullan
2023-05-18 21:23:29 +00:00
Ashutosh Mehra
d3feedf511 8308192: Error in parsing replay file when staticfield is an array of single dimension
Reviewed-by: thartmann, kvn
2023-05-18 19:50:05 +00:00
Alexander Zvegintsev
02dc95e6b9 8308370: Fix build failures related to the java.awt.Robot documentation
Reviewed-by: dcubed
2023-05-18 18:51:46 +00:00
Alexander Zvegintsev
21aa057faf 8307779: Relax the java.awt.Robot specification
Reviewed-by: mkartashev, prr
2023-05-18 18:14:05 +00:00
Joe Darcy
42ecc8a37f 8308245: Add -proc:full to describe current default annotation processing policy
Reviewed-by: vromero
2023-05-18 17:05:28 +00:00
Calvin Cheung
bb24c36759 8279993: Assert that a shared class is not loaded more than once
Reviewed-by: iklam, stuefe
2023-05-18 16:02:55 +00:00
Alisen Chung
1b154e4fd3 8307083: Open source some drag and drop tests 3
Reviewed-by: prr, serb
2023-05-18 15:45:12 +00:00
Jasmine Karthikeyan
cc5c9b5da2 8305787: Wrong debugging information printed with TraceOptoOutput
Reviewed-by: thartmann, kvn
2023-05-18 15:09:45 +00:00
Thomas Stuefe
808dc1b047 8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
2023-05-18 14:01:08 +00:00
Amit Kumar
a58e0ca9d2 8308347: [s390x] build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 13:51:34 +00:00
bobpengxie
bfc3ccd90d 8308283: Build failure with GCC12 & GCC13
Reviewed-by: erikj, jiefu
2023-05-18 12:26:45 +00:00
Jan Kratochvil
57b8ed1398 8308290: Add fontconfig requirement to building.md
Reviewed-by: erikj
2023-05-18 08:48:16 +00:00
Chen Liang
3c9ec26370 8306457: Classfile API components implementations should not be exposed
Reviewed-by: asotona
2023-05-18 06:54:01 +00:00
Adam Sotona
f4f5542f8d 8306842: Classfile API performance improvements
Reviewed-by: redestad
2023-05-18 06:02:47 +00:00
Thomas Stuefe
95da499ef2 8308285: Assert on -Xshare:dump when running with -Xlog:cds=trace
Reviewed-by: ccheung, iklam
2023-05-18 05:47:23 +00:00
Ioi Lam
6f75dd8741 8308236: Remove SystemDictionaryShared::clone_dumptime_tables()
Reviewed-by: vlivanov, ccheung
2023-05-18 04:10:49 +00:00
Boris Ulasevich
83c096d6e2 8308270: ARM32 build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 03:14:38 +00:00
Jiangli Zhou
902585bec1 8308110: Resolve multiple definition of 'JNI_OnLoad_jsound' linking error
Reviewed-by: alanb, rasbold
2023-05-17 21:04:34 +00:00
Eric Caspole
6073edf3cd 8307483: New micros for j.u.c.LockSupport
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: shade, redestad
2023-05-17 20:39:26 +00:00
Patricio Chilano Mateo
24094482f0 8307365: JvmtiStressModule hit SIGSEGV in JvmtiEventControllerPrivate::recompute_thread_enabled
Reviewed-by: sspitsyn, dcubed, lmesnik
2023-05-17 20:16:21 +00:00
Alisen Chung
950c5df859 8307299: Move more DnD tests to open
Reviewed-by: prr, serb
2023-05-17 18:57:59 +00:00
Leonid Mesnik
8bedf2efd7 8308292: Problemlist vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java
Reviewed-by: sspitsyn
2023-05-17 17:24:38 +00:00
Brian Burkhalter
6d4782bc73 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Joe Darcy
f57c78337e 8308239: Tighten up accessibility of nested classes in java.lang.invoke
Reviewed-by: alanb
2023-05-17 15:31:03 +00:00
Martin Doerr
64f6681cc7 8308246: PPC64le build broken after JDK-8304913
Reviewed-by: shade, mbaesken
2023-05-17 15:10:46 +00:00
Adam Sotona
5763be7267 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
2023-05-17 12:45:19 +00:00
JoKern65
c7951cf674 8306304: Fix xlc17 clang warnings in ppc and aix code
Reviewed-by: erikj, tsteele, mbaesken
2023-05-17 11:48:56 +00:00
Erik Österlund
285c833ffa 8308043: Deadlock in TestCSLocker.java due to blocking GC while allocating
Reviewed-by: stefank, ayang, tschatzl
2023-05-17 11:47:30 +00:00
Jaikiran Pai
1a6f9810cd 8308185: Update Http2TestServerConnection to use SSLSocket.startHandshake()
Reviewed-by: djelinski
2023-05-17 10:06:22 +00:00
Aleksey Shipilev
b300e73a4a 8308088: Improve class check in CollectedHeap::is_oop
Reviewed-by: zgu, tschatzl, ayang, stuefe
2023-05-17 09:19:08 +00:00
Axel Boldt-Christmas
e34ecc97e6 8296469: Instrument VMError::report with reentrant iteration step for register and stack printing
Reviewed-by: eosterlund, stuefe
2023-05-17 07:07:41 +00:00
Matthias Baesken
5a92aae1d9 8308156: VerifyCACerts.java misses blank in error output
Reviewed-by: mullan, rhalade
2023-05-17 06:42:19 +00:00
Guoxiong Li
2f1c65486b 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
Reviewed-by: cjplummer, kevinw
2023-05-17 03:07:56 +00:00
Ashutosh Mehra
d3e5065284 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive
Reviewed-by: coleenp, iklam
2023-05-16 22:36:44 +00:00
Leonid Mesnik
563152f32d 8308223: failure handler missed jcmd.vm.info command
Reviewed-by: stefank
2023-05-16 19:44:38 +00:00
Erik Helin
cb8b8cdd68 8307458: Add periodic heap usage JFR events
Reviewed-by: stefank, aboldtch
2023-05-16 18:53:58 +00:00
Naoto Sato
f9a785e855 8307547: Support variant collations
Reviewed-by: srl, jlu, alanb
2023-05-16 18:00:45 +00:00
Justin Lu
4e92991809 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
2023-05-16 17:10:21 +00:00
Chris Plummer
64d5157116 8306467: Fix nsk/jdb/kill/kill001 to work with new JVMTI StopThread support for virtual threads.
Reviewed-by: sspitsyn, amenkov
2023-05-16 17:02:12 +00:00
Coleen Phillimore
488330d53b 8307533: Use atomic bitset functions for metadata flags
Reviewed-by: ccheung, kbarrett
2023-05-16 16:46:09 +00:00
Stefan Karlsson
60ab1358da 8308097: Generational ZGC: Update constructor syntax
Reviewed-by: eosterlund, aboldtch
2023-05-16 16:13:58 +00:00
Stefan Karlsson
599fa774b8 8308092: Replace NULL with nullptr in gc/x
Reviewed-by: eosterlund, aboldtch, tschatzl, dholmes
2023-05-16 16:12:20 +00:00
Stefan Karlsson
682359cb48 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Reviewed-by: kbarrett, tschatzl
2023-05-16 16:04:18 +00:00
Johan Sjölen
9d5bab11f0 8300081: Replace NULL with nullptr in share/asm/
Reviewed-by: coleenp
2023-05-16 15:40:39 +00:00
Amit Kumar
41ee125a0f 8278411: Implement UseHeavyMonitors consistently, s390 port
Reviewed-by: mdoerr, stuefe, lucy
2023-05-16 15:25:19 +00:00
Stefan Karlsson
316bc79e0e 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
Reviewed-by: dcubed
2023-05-16 14:48:46 +00:00
Calvin Cheung
8686a36b40 8307315: Missing ResourceMark in CDS and JVMTI code
Reviewed-by: coleenp, iklam
2023-05-16 14:42:33 +00:00
Christoph Dreis
23cbb2d170 8306860: Avoid unnecessary allocation in List.map() when list is empty
Reviewed-by: vromero
2023-05-16 14:22:40 +00:00
Leonid Mesnik
be54b54fb3 8307369: Add execution of all svc tests in CI
Reviewed-by: cjplummer, sspitsyn
2023-05-16 13:39:04 +00:00
Christian Hagedorn
19c8c30d1c 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
Reviewed-by: epeter, thartmann, roland
2023-05-16 13:30:07 +00:00
Daniel Fuchs
72294c5402 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
Reviewed-by: djelinski, michaelm
2023-05-16 09:13:17 +00:00
Doug Simon
c9b6bb5bd7 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
Reviewed-by: thartmann
2023-05-16 08:50:22 +00:00
Kevin Walls
0790f704fd 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
Reviewed-by: dholmes, cjplummer
2023-05-16 08:28:53 +00:00
Serguei Spitsyn
c2ef302468 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
Reviewed-by: cjplummer, lmesnik
2023-05-16 07:20:01 +00:00
Jaikiran Pai
d22bcc813e 8307403: java/util/zip/DeInflate.java timed out
Reviewed-by: simonis, lancea
2023-05-16 05:06:46 +00:00
Jayathirth D V
2210e06788 8306638: Open source some AWT tests related to datatransfer and Toolkit
Reviewed-by: prr, serb, dnguyen
2023-05-16 04:09:08 +00:00
Ioi Lam
05b51c75b9 8307567: Avoid relocating global roots to metaspaceObjs in CDS dump
Reviewed-by: matsaave, ccheung
2023-05-16 01:40:07 +00:00
Justin Lu
316837226e 8306597: Improve string formatting in EquivMapsGenerator.java
Reviewed-by: naoto
2023-05-15 23:19:02 +00:00
Joe Darcy
7b0b9b570b 8308049: Refactor nested class declarations in FdLibm.java
Reviewed-by: smarks
2023-05-15 20:09:12 +00:00
Chris Plummer
cc80ada739 8306593: Fix nsk/jdi/stop/stop001 for virtual threads and remove from problem list
Reviewed-by: lmesnik, sspitsyn
2023-05-15 18:59:08 +00:00
Yi-Fan Tsai
43c8c650af 8307555: Reduce memory reads in x86 MD5 intrinsic
Reviewed-by: simonis, phh
2023-05-15 18:41:53 +00:00
Roger Riggs
01892f9c6e 8304913: Use OperatingSystem, Architecture, and Version in jlink
Reviewed-by: jpai, alanb, mchung
2023-05-15 18:03:24 +00:00
Roger Riggs
0f7b1c549f 8299340: CreateProcessW lpCommandLine must be mutable
Reviewed-by: naoto
2023-05-15 18:02:43 +00:00
Ioi Lam
57e7a3fbea 8307959: Remove explicit type casts from SerializeClosure::do_xxx() calls
Reviewed-by: matsaave, ccheung
2023-05-15 16:33:37 +00:00
Stefan Karlsson
97b2ca3de7 8307997: gtest:ZIndexDistributorTest fails on PPC64
Reviewed-by: mdoerr
2023-05-15 13:52:34 +00:00
Aleksey Shipilev
ffab1ea9e7 8308086: GHA: x86_32 host configuration failing with unmet dependencies
Reviewed-by: stuefe
2023-05-15 13:51:04 +00:00
Tobias Hartmann
ad348a8cec 8303512: Race condition when computing is_loaded property of TypePtr::InterfaceSet
Reviewed-by: roland, qamai, kvn
2023-05-15 11:06:20 +00:00
gaogao-mem
911cc7cb07 8305819: LogConfigurationTest intermittently fails on AArch64
Reviewed-by: aph, dholmes, xliu
2023-05-15 09:16:32 +00:00
Tobias Hartmann
8d49ba9e8d 8308072: [BACKOUT] update for deprecated sprintf for src/utils
Reviewed-by: iris
2023-05-15 05:42:23 +00:00
Julian Waters
0ee196bef1 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows
Reviewed-by: stuefe
2023-05-14 13:57:42 +00:00
Vladimir Kempik
3709344166 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fjiang, fyang
2023-05-14 06:56:03 +00:00
Kim Barrett
646747fd7c 8307926: Support byte-sized atomic bitset operations
Reviewed-by: aboldtch, coleenp
2023-05-13 23:03:06 +00:00
Daniel D. Daugherty
f030937a51 8305670: Performance regression in LockSupport.unpark with lots of idle threads
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: rehn, dholmes
2023-05-13 14:44:57 +00:00
Daniel D. Daugherty
ceca198ef2 8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
Reviewed-by: dholmes, rehn, apangin
2023-05-13 14:41:19 +00:00
Daniel D. Daugherty
5e26e64cbf 8307067: remove broken EnableThreadSMRExtraValidityChecks option
Reviewed-by: coleenp, dholmes, sspitsyn, rehn
2023-05-13 14:39:58 +00:00
Thomas Stuefe
e54051ae9e 8307935: Class space argument processing can be simplified
Reviewed-by: stefank, coleenp
2023-05-13 06:35:17 +00:00
Valerie Peng
46e3d24a6f 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
2023-05-12 23:00:00 +00:00
Alisen Chung
3bf3876185 8307297: Move some DnD tests to open
Reviewed-by: prr, serb
2023-05-12 21:23:25 +00:00
Chen Liang
d8afc7beeb 8300204: Sealed-class hierarchy graph missing nodes
Reviewed-by: jjg
2023-05-12 20:59:31 +00:00
Chris Plummer
38838b344a 8307480: Improve SA "transported core" documentation for windows
Reviewed-by: sspitsyn, kevinw, poonam
2023-05-12 20:36:38 +00:00
Jonathan Gibbons
9842ff4129 8306607: Apply 80-column output to javac supported version output
Reviewed-by: darcy
2023-05-12 20:29:06 +00:00
Chris Plummer
d809823fe4 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
Reviewed-by: sspitsyn, alanb
2023-05-12 20:05:21 +00:00
Justin Lu
4441a2306f 6714245: [Col] Collator - Faster Comparison for identical strings.
Reviewed-by: rriggs, naoto
2023-05-12 19:58:37 +00:00
Sergey Chernyshev
a284920b34 8168469: Memory leak in JceSecurity
Reviewed-by: valeriep
2023-05-12 19:24:45 +00:00
Jonathan Gibbons
7455bb23c1 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
Reviewed-by: jlaskey, darcy
2023-05-12 17:18:37 +00:00
Maurizio Cimadamore
6ebea8973f 8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
Reviewed-by: jvernee
2023-05-12 16:18:00 +00:00
Daniel Fuchs
3c68c352fc 8307535: java.util.logging.Handlers should be more VirtualThread friendly
Reviewed-by: jpai
2023-05-12 15:24:11 +00:00
Brian Burkhalter
9fa8b9a4a6 8307409: Refactor usage examples to use @snippet in the java.nio packages
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Thomas Schatzl
e512a20679 8306541: Refactor collection set candidate handling to prepare for JDK-8140326
Reviewed-by: iwalulya, ayang
2023-05-12 15:07:48 +00:00
Xue-Lei Andrew Fan
4b0f4213a5 8307855: update for deprecated sprintf for src/utils
Reviewed-by: thartmann
2023-05-12 14:52:28 +00:00
Afshin Zafari
39dc40fed4 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Reviewed-by: coleenp, thartmann
2023-05-12 14:25:46 +00:00
Albert Mingkun Yang
f7bbbc6590 8307808: G1: Remove partial object-count report after gc
Reviewed-by: tschatzl, iwalulya
2023-05-12 13:13:34 +00:00
Maurizio Cimadamore
13a3fce29e 8307961: java/foreign/enablenativeaccess/TestEnableNativeAccess.java fails with ShouldNotReachHere
Reviewed-by: jvernee
2023-05-12 10:38:27 +00:00
Kim Barrett
f09a0f5ca7 8307806: Rename Atomic::fetch_and_add and friends
Reviewed-by: stefank, dholmes
2023-05-12 09:50:52 +00:00
Yasumasa Suenaga
b6bcbc0cbc 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo
Reviewed-by: stuefe, sgehwolf, rcastanedalo, dholmes
2023-05-12 08:48:29 +00:00
Afshin Zafari
e1e758a7b4 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
Reviewed-by: coleenp, dholmes
2023-05-12 07:32:46 +00:00
Thomas Schatzl
1ce1611ead 8307518: Remove G1 workaround in jstat about zero sized generation sizes
Reviewed-by: kbarrett, ayang
2023-05-12 07:23:28 +00:00
Xiaolin Zheng
e32de7efd6 8306667: RISC-V: Fix storeImmN0 matching rule by using zr register
Reviewed-by: shade, gli, fyang
2023-05-12 07:10:53 +00:00
Matthias Baesken
f3bd031ccd 8307891: ProblemList gtest/NMTGtest.java subtests on aix
Reviewed-by: mdoerr, lucy
2023-05-12 07:06:45 +00:00
JoKern65
5f1f9460d7 8307520: set minimum supported CPU architecture to Power8 on AIX
Reviewed-by: mbaesken, erikj
2023-05-12 07:02:45 +00:00
Jie Fu
ccb4dd6144 8307969: [zgc] Missing includes in gc/z/zTracer.cpp
Reviewed-by: stefank
2023-05-12 06:31:09 +00:00
Abhishek Kumar
73491fa452 8306996: Open source Swing MenuItem related tests
Reviewed-by: dnguyen, honkar, psadhukhan
2023-05-12 02:52:43 +00:00
Ningsheng Jian
33d9a85730 8307572: AArch64: Vector registers are clobbered by some macroassemblers
Reviewed-by: aph, adinn
2023-05-12 02:05:18 +00:00
Daniel D. Daugherty
9a7b4431ec 8307966: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-x64
Reviewed-by: naoto, lmesnik
2023-05-12 00:51:49 +00:00
Chris Plummer
54c06d2d91 8307559: Add better checking in com/sun/jdi tests for debuggee exiting unexpectedly with an exception
Reviewed-by: kevinw, lmesnik
2023-05-11 23:16:22 +00:00
Jie Fu
ce5907727e 8307945: Build of Client VM is broken after JDK-8307058
Reviewed-by: kvn
2023-05-11 22:35:40 +00:00
Matias Saavedra Silva
a667213ec5 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java
Reviewed-by: ccheung, iklam
2023-05-11 19:37:16 +00:00
Joe Darcy
29b8242e07 8307954: Update string template regression tests to be robust on release updates
Reviewed-by: jlaskey
2023-05-11 18:22:10 +00:00
Guoxiong Li
4f355c3525 8307653: Adjust delay time and gc log argument in TestAbortOnVMOperationTimeout
Reviewed-by: dholmes, dcubed
2023-05-11 18:21:30 +00:00
Xue-Lei Andrew Fan
15358636cf 8307848: update for deprecated sprintf for jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-05-11 18:09:43 +00:00
Xue-Lei Andrew Fan
cbecf422df 8307850: update for deprecated sprintf for jdk.jdi
Reviewed-by: cjplummer
2023-05-11 18:07:54 +00:00
Dean Long
7fcb0fdcd4 8307139: Fix signed integer overflow in compiler code, part 1
Reviewed-by: thartmann, rcastanedalo, kvn
2023-05-11 18:06:43 +00:00
Robert Toyonaga
5d6cce0f85 8307298: JFR: Ensure jdk.jfr.internal.TypeLibrary is initialized only once
Reviewed-by: sgehwolf, egahlin
2023-05-11 18:05:58 +00:00
Serguei Spitsyn
51b8f3cfb9 8306034: add support of virtual threads to JVMTI StopThread
Reviewed-by: cjplummer
2023-05-11 17:48:39 +00:00
Chris Plummer
489658dbd2 8307885: com/sun/jdi/ConnectedVMs.java fails with "Invalid debuggee exitValue: 0"
Reviewed-by: kevinw, sspitsyn
2023-05-11 17:07:27 +00:00
Daniel Fuchs
9ad38cbeaf 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances
Reviewed-by: aefimov, jpai
2023-05-11 16:31:04 +00:00
Fredrik Bredberg
2bf7ac58b7 8297657: name demangling intermittently fails
Reviewed-by: stefank, coleenp
2023-05-11 14:02:54 +00:00
Stefan Karlsson
d20034b09c 8307058: Implementation of Generational ZGC
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Erik Helin <ehelin@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: eosterlund, aboldtch, rcastanedalo
2023-05-11 13:59:37 +00:00
Yudi Zheng
0cbfbc400a 8307813: [JVMCI] Export markWord::lock_mask_in_place to JVMCI compilers.
Reviewed-by: dnsimon, kvn, never
2023-05-11 10:38:28 +00:00
Maurizio Cimadamore
ba9714d44c 8307610: Linker::nativeLinker should not be restricted (mainline)
Reviewed-by: jvernee
2023-05-11 09:45:45 +00:00
Thomas Stuefe
ecc1d85dbe 8307869: Remove unnecessary log statements from arm32 fastlocking code
Reviewed-by: shade
2023-05-11 09:24:30 +00:00
JoKern65
08fa269886 8307349: Support xlc17 clang toolchain on AIX
Reviewed-by: erikj, mbaesken
2023-05-11 07:40:38 +00:00
Thomas Stuefe
8ac7186331 8305416: runtime/Thread/TestAlwaysPreTouchStacks.java failed with "Did not find expected NMT output"
Reviewed-by: dholmes, gziemski
2023-05-11 04:50:37 +00:00
Thomas Stuefe
984fbbbcab 8307810: Consistently use LockingMode instead of UseHeavyMonitors
Reviewed-by: dcubed, mdoerr, dholmes, amitkumar
2023-05-11 04:47:14 +00:00
Feilong Jiang
39f4e4d3c3 8307758: RISC-V: Improve bit test code introduced by JDK-8291555
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang
2023-05-11 01:32:29 +00:00
David Holmes
3cb606ef5b 8306965: osThread allocation failures should not abort the VM
Reviewed-by: lfoltan
2023-05-11 00:51:15 +00:00
Justin Lu
4795c395e9 8281103: Give example for Locale that is English and follows the ISO standards
Reviewed-by: rriggs, lancea, naoto
2023-05-10 23:57:48 +00:00
Jonathan Gibbons
958d4a7505 8307563: make most fields final in JavacTrees
Reviewed-by: vromero
2023-05-10 22:23:04 +00:00
Jonathan Gibbons
f250ab2c2a 8307377: Remove use of tagName from TagletWriterImpl.linkSeeReferenceOutput
Reviewed-by: hannesw
2023-05-10 22:05:58 +00:00
Ashutosh Mehra
cc9f7ad9ce 8307765: DynamicArchiveHeader contents are missing in CDS mapfile
Reviewed-by: iklam, ccheung
2023-05-10 21:51:36 +00:00
Daniel D. Daugherty
edc4adb77e 8307860: [BACKOUT] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj
2023-05-10 21:08:28 +00:00
Daniel D. Daugherty
df90df298e 8307857: validate-source fails after JDK-8306758
Reviewed-by: rriggs, cjplummer
2023-05-10 19:38:24 +00:00
Chris Plummer
268836482d 8306758: com/sun/jdi/ConnectedVMs.java fails with "Non-zero debuggee exitValue: 143"
Reviewed-by: amenkov, sspitsyn
2023-05-10 19:09:24 +00:00
Jiangli Zhou
1964954da9 8307194: Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj, sgehwolf
2023-05-10 17:26:02 +00:00
Kevin Walls
9af1787ebe 8307244: Remove redundant class RMIIIOPServerImpl
Reviewed-by: sspitsyn, dfuchs, alanb
2023-05-10 16:44:49 +00:00
Viktor Klang
8a95020ab6 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
2023-05-10 16:29:34 +00:00
Archie Cobbs
0198afca3a 8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
2023-05-10 16:24:00 +00:00
Daniel D. Daugherty
1bca05eace 8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg @requires clause
Reviewed-by: rriggs, azvegint
2023-05-10 14:40:56 +00:00
Johan Sjölen
cc396895e5 8300245: Replace NULL with nullptr in share/jfr/
Reviewed-by: mgronlun, coleenp
2023-05-10 12:35:21 +00:00
Coleen Phillimore
4251b56214 8306843: JVMTI tag map extremely slow after JDK-8292741
Reviewed-by: sspitsyn, iklam
2023-05-10 12:32:06 +00:00
Afshin Zafari
ab34cb98c8 8305082: Remove finalize() from test/hotspot/jtreg/runtime/linkResolver/InterfaceObjectTest.java
Reviewed-by: coleenp, dholmes
2023-05-10 12:20:00 +00:00
Johannes Bechberger
0da48f19cb 8307732: build-test-lib is broken
Reviewed-by: erikj, djelinski
2023-05-10 12:13:22 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Aleksei Efimov
da2c930262 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner
Reviewed-by: alanb, dfuchs, djelinski
2023-05-10 09:39:00 +00:00
Oli Gillespie
540c706bbc 8307348: Parallelize heap walk for ObjectCount(AfterGC) JFR event collection
Reviewed-by: shade, ayang, tschatzl
2023-05-10 08:54:18 +00:00
Fredrik Bredberg
d993432d44 8306930: Incorrect assert in BitMap::count_one_bits
Reviewed-by: stefank, tschatzl, kbarrett
2023-05-10 07:55:11 +00:00
Tobias Hotz
4b4c80bb31 8307351: (CmpI/L(AndI/L reg1 reg2)) on x86 can be optimized
Reviewed-by: sviswanathan, qamai, thartmann
2023-05-10 05:48:02 +00:00
Feilong Jiang
d3e6d04e3e 8307651: RISC-V: stringL_indexof_char instruction has wrong format string
Reviewed-by: fyang
2023-05-10 03:10:31 +00:00
Serguei Spitsyn
2be1f10fec 8307399: get rid of compatibility ThreadStart/ThreadEnd events for virtual threads
Reviewed-by: alanb, pchilanomate, cjplummer
2023-05-10 01:48:03 +00:00
Alex Menkov
f5a6b7f7c0 8306027: Clarify JVMTI heap functions spec about virtual thread stack.
Reviewed-by: alanb, sspitsyn
2023-05-09 21:14:17 +00:00
Leonid Mesnik
a1c3adb88d 8307370: Add tier1 testing with thread factory in CI
Reviewed-by: sspitsyn
2023-05-09 21:03:25 +00:00
Roger Riggs
356667f155 8307466: java.time.Instant calculation bug in until and between methods
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: scolebourne, naoto
2023-05-09 20:51:33 +00:00
Alisen Chung
723582c524 8306881: Update FreeType to 2.13.0
Reviewed-by: prr, dnguyen
2023-05-09 19:30:50 +00:00
Alisen Chung
98294242a9 8307128: Open source some drag and drop tests 4
Reviewed-by: prr
2023-05-09 19:14:12 +00:00
Leonid Mesnik
7f05f6f7c7 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes
Reviewed-by: alanb
2023-05-09 18:06:40 +00:00
Thiago Henrique Hüpner
dde557e312 8304148: Remapping a class with Invokedynamic constant loses static bootstrap arguments
Reviewed-by: asotona
2023-05-09 17:33:27 +00:00
Justin Lu
82bcee76ea 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
2023-05-09 17:15:06 +00:00
Leonid Mesnik
3aff5eacbd 8307486: ProcessTools.java should wait until vthread is completed before checking exceptions
Reviewed-by: dholmes, alanb
2023-05-09 16:36:21 +00:00
Xue-Lei Andrew Fan
44fa12e751 8303830: update for deprecated sprintf for jdk.accessibility
Reviewed-by: kizune
2023-05-09 15:49:28 +00:00
Viktor Klang
fdbfc8a73b 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
2023-05-09 15:37:23 +00:00
Matthew Donovan
5842fd5beb 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-09 14:25:40 +00:00
Axel Boldt-Christmas
672bade522 8306738: Select num workers for safepoint ParallelCleanupTask
Reviewed-by: shade, coleenp, tschatzl
2023-05-09 14:04:26 +00:00
Adam Sotona
a05560d993 8305990: Stripping debug info of ASM 9.5 fails
Reviewed-by: mcimadamore
2023-05-09 13:13:17 +00:00
Josef Eisl
040cb7b5a9 8307588: [JVMCI] HotSpotConstantPool#lookupBootstrapMethodInvocation broken by JDK-8301995
Reviewed-by: dnsimon, never, kvn
2023-05-09 12:29:27 +00:00
Maurizio Cimadamore
f92d095e16 8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: jvernee
2023-05-09 11:11:15 +00:00
Maurizio Cimadamore
7a3bea1f6a 8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
Reviewed-by: jvernee
2023-05-09 11:09:39 +00:00
Roland Westrelin
d2b3eef0f2 8307131: C2: assert(false) failed: malformed control flow
Reviewed-by: kvn, chagedorn, thartmann
2023-05-09 09:54:22 +00:00
Chen Liang
cd5d0ff5b2 8304031: Classfile API cannot encode Primitive Class as Condy
Reviewed-by: asotona
2023-05-09 09:14:18 +00:00
Sean Coffey
07f55c5ea2 8305950: Have -XshowSettings option display tzdata version
Reviewed-by: rriggs
2023-05-09 06:05:58 +00:00
Damon Nguyen
d9052b9466 8307130: Open source few Swing JMenu tests
Reviewed-by: prr
2023-05-08 22:29:48 +00:00
Tom Rodriguez
5e1fe43080 8299229: [JVMCI] add support for UseZGC
Reviewed-by: eosterlund, kvn
2023-05-08 18:40:18 +00:00
Damon Nguyen
14df5c130e 8307165: java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
Reviewed-by: prr
2023-05-08 17:56:27 +00:00
Roman Kennke
7f6358a8b5 8291555: Implement alternative fast-locking scheme
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: dcubed, stuefe, shade, dholmes, dlong
2023-05-08 17:51:39 +00:00
Volker Simonis
4116b109f0 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
2023-05-08 14:56:05 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Conor Cleary
ad90fb6da3 8293786: HttpClient will not send more than 64 kb of data from the 2nd request in http2
Reviewed-by: dfuchs, djelinski
2023-05-08 14:49:43 +00:00
Fredrik Bredberg
5a259d875e 8303153: Native interpreter frame missing mirror
Reviewed-by: coleenp, fyang
2023-05-08 14:44:54 +00:00
Darragh Clarke
4b02956d42 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: djelinski, dfuchs
2023-05-08 14:33:44 +00:00
Tyler Steele
9f34e4f8d9 8304434: [AIX] Update minimum xlclang version
Reviewed-by: erikj, mbaesken
2023-05-08 14:29:51 +00:00
Matthias Baesken
d2e0e534d7 8307604: gcc12 based Alpine build broken build after JDK-8307301
Reviewed-by: lucy, mdoerr, erikj
2023-05-08 14:16:08 +00:00
Zhengyu Gu
e91f0d3dba 8307571: Remove unused SomeConstants in WatcherThread class
Reviewed-by: dholmes
2023-05-08 14:10:14 +00:00
Dingli Zhang
26755a9686 8306408: Fix the format of several tables in building.md
Reviewed-by: erikj
2023-05-08 14:00:05 +00:00
Jie Fu
64c0962866 8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: erikj
2023-05-08 13:56:45 +00:00
Matthias Baesken
bb3e44d8b6 8307603: [AIX] Broken build after JDK-8307301
Reviewed-by: mdoerr
2023-05-08 12:24:41 +00:00
Arno Zeller
5c7ede94ae 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Reviewed-by: stuefe, cjplummer
2023-05-08 08:36:52 +00:00
Albert Mingkun Yang
89b7d07597 8307100: Remove ReferentBasedDiscovery reference discovery policy
Reviewed-by: kbarrett, dholmes, tschatzl
2023-05-08 08:31:04 +00:00
Hannes Wallnöfer
f6ea89795b 8306285: Missing file in search test
Reviewed-by: jjg
2023-05-08 08:03:49 +00:00
Stefan Karlsson
33245d6b38 8307517: Add VMErrorCallback infrastructure to extend hs_err dumping
Reviewed-by: eosterlund, aboldtch, dholmes, stuefe
2023-05-08 07:58:06 +00:00
Stefan Karlsson
7a1cb64bc1 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Reviewed-by: dholmes, eosterlund
2023-05-08 07:54:08 +00:00
Stefan Karlsson
68f385c1ca 8307428: jstat tests doesn't tolerate dash in the O column
Reviewed-by: kevinw, cjplummer
2023-05-08 07:52:25 +00:00
Amit Kumar
8bbd264c6e 8307423: [s390x] Represent Registers as values
Reviewed-by: mdoerr, lucy
2023-05-08 07:51:29 +00:00
Stefan Karlsson
959e62ca3e 8307521: Introduce check_oop infrastructure to check oops in the oop class
Reviewed-by: eosterlund, aboldtch, coleenp
2023-05-08 07:48:45 +00:00
Emanuel Peter
ad0e5a99ca 8304720: SuperWord::schedule should rebuild C2-graph from SuperWord dependency-graph
Reviewed-by: kvn, fgao
2023-05-08 06:09:10 +00:00
Gui Cao
495f2688d6 8306966: RISC-V: Support vector cast node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-08 01:15:12 +00:00
changpeng1997
0dca573ca5 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE
Reviewed-by: aph, eliu
2023-05-06 07:20:20 +00:00
Alexander Zvegintsev
3d3eaed913 8306941: Open source several datatransfer and dnd AWT tests
Reviewed-by: prr
2023-05-06 02:16:32 +00:00
Feilong Jiang
1f57ce0a06 8307446: RISC-V: Improve performance of floating point to integer conversion
Reviewed-by: fyang, vkempik, gli
2023-05-06 01:23:40 +00:00
Ioi Lam
4e4828eaff 8307553: Remove dead code MetaspaceClosure::push_method_entry
Reviewed-by: coleenp, ccheung
2023-05-06 01:20:03 +00:00
Alexander Zvegintsev
7d58978f62 8280031: Deprecate GTK2 for removal
Reviewed-by: prr
2023-05-05 20:16:26 +00:00
Weijun Wang
b5922c3b86 8305846: Support compilation in Proc test utility
Reviewed-by: valeriep
2023-05-05 20:03:11 +00:00
Oli Gillespie
73ac710533 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: alanb
2023-05-05 19:36:35 +00:00
Leonid Mesnik
e2b1013f11 8306326: [BACKOUT] 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann, kvn
2023-05-05 18:57:33 +00:00
Harshitha Onkar
4386d42d31 8307381: Open Source JFrame, JIF related Swing Tests
Reviewed-by: dnguyen, kizune
2023-05-05 18:12:48 +00:00
Matias Saavedra Silva
27764e6035 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Reviewed-by: iklam, ccheung
2023-05-05 18:06:19 +00:00
Rajat Mahajan
6c71859ac2 6176679: Application freezes when copying an animated gif image to the system clipboard
Reviewed-by: aivanov, dmarkov
2023-05-05 18:03:58 +00:00
Calvin Cheung
65a54883b3 8306712: CDS DeterministicDump.java test fails with -XX:+UseStringDeduplication
Reviewed-by: iklam, matsaave
2023-05-05 17:39:40 +00:00
Harshitha Onkar
d8b230c384 8307301: Update HarfBuzz to 7.2.0
Reviewed-by: prr
2023-05-05 17:33:25 +00:00
Damon Nguyen
b5a48277ab 8306871: Open source more AWT Drag & Drop tests
Reviewed-by: prr
2023-05-05 16:28:03 +00:00
Maurizio Cimadamore
47422be2d1 8307375: Alignment check on layouts used as sequence element is not correct
Reviewed-by: jvernee
2023-05-05 15:59:13 +00:00
Roman Kennke
3968ab5db5 8307395: Add missing STS to Shenandoah
Reviewed-by: shade
2023-05-05 15:56:10 +00:00
Roman Kennke
12d6ec66a6 8307236: Rendezvous GC threads under STS for monitor deflation
Reviewed-by: eosterlund, shade
2023-05-05 14:35:33 +00:00
Matias Saavedra Silva
6fe959c62d 8307306: Change some ConstantPool::name_ref_at calls to uncached_name_ref_at
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: coleenp, fparain
2023-05-05 14:24:40 +00:00
Matthew Donovan
3f6a3545a2 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Reviewed-by: ssahoo, jnimeh
2023-05-05 14:17:00 +00:00
Afshin Zafari
f143bf7c45 8305084: Remove the removal warnings for finalize() from test/hotspot/jtreg/serviceability/dcmd/gc/FinalizerInfoTest.java and RunFinalizationTest.java
Reviewed-by: dholmes, cjplummer
2023-05-05 13:22:01 +00:00
Weibing Xiao
746f8d1333 8305714: Add an extra test for JDK-8292755
Reviewed-by: coffeys
2023-05-05 13:19:20 +00:00
Afshin Zafari
1a1ce66dc9 8305080: Suppress the 'removal' warning for finalize() from test/hotspot/jtreg/compiler/jvmci/common/testcases that used in compiler/jvmci/compilerToVM/ tests
Reviewed-by: dnsimon, coleenp
2023-05-05 13:12:19 +00:00
Adam Sotona
3b430b9f73 8250596: Update remaining manpage references from "OS X" to "macOS"
Reviewed-by: mullan, cjplummer, dholmes, sspitsyn
2023-05-05 08:54:53 +00:00
Johan Sjölen
948f3b3c24 8301493: Replace NULL with nullptr in cpu/aarch64
Reviewed-by: tschatzl, gziemski, dholmes
2023-05-05 08:54:05 +00:00
Andrew Dinn
f94f957734 8307331: Correctly update line maps when class redefine rewrites bytecodes
Reviewed-by: sspitsyn
2023-05-05 07:50:21 +00:00
Thomas Schatzl
302bc2fd7f 8307421: Fix comment in g1CollectionSetChooser.hpp after JDK-8306836
Reviewed-by: shade
2023-05-05 06:36:08 +00:00
Kim Barrett
e19cf26d65 8307196: Dangling pointer warning for MetadataAllocationRequest
Reviewed-by: dholmes, eosterlund
2023-05-05 06:20:32 +00:00
William Kemper
1b143ba787 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: kdnilsen, stefank
2023-05-05 05:43:05 +00:00
Leonid Mesnik
a44e8908a1 8307308: Add serviceability_ttf_virtual group to exclude jvmti tests developed for virtual threads
Reviewed-by: sspitsyn
2023-05-05 00:43:59 +00:00
Eric Liu
46df171d53 8304948: [vectorapi] C2 crashes when expanding VectorBox
Reviewed-by: thartmann, qamai
2023-05-05 00:34:12 +00:00
Daniel D. Daugherty
111858f3ff 8307489: ProblemList jdk/incubator/vector/LoadJsvmlTest.java on windows-x64
8307490: ProblemList sun/security/pkcs11/Cipher/TestKATForGCM.java on linux-x64 and macosx-x64
8307491: ProblemList sanity/client/SwingSet/src/EditorPaneDemoTest.java on linux-x64

Reviewed-by: darcy
2023-05-04 21:32:35 +00:00
Kevin Driver
197d0cc603 8294983: SSLEngine throws ClassCastException during handshake
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: wetmore, xuelei
2023-05-04 19:25:01 +00:00
Coleen Phillimore
a87262efb2 8307295: Add warning to not create new ACC flags
Reviewed-by: dholmes, fparain
2023-05-04 17:42:14 +00:00
Markus Grönlund
0c6529d2d3 8307156: native_thread not protected by TLH
Reviewed-by: coleenp, dcubed
2023-05-04 17:26:31 +00:00
Phil Race
5ca0b08a75 8307133: Open source some JTable jtreg tests
Reviewed-by: serb
2023-05-04 16:44:24 +00:00
Alexander Zvegintsev
2adb3b409e 8306943: Open source several dnd AWT tests
Reviewed-by: prr, serb
2023-05-04 15:39:08 +00:00
Chen Liang
dc4096ce13 8304937: BufferedFieldBuilder.Model missing writeTo(DirectClassBuilder)
Reviewed-by: asotona
2023-05-04 13:24:08 +00:00
Stefan Johansson
29233e0a00 8307448: Test RedefineSharedClassJFR fail due to wrong assumption
Reviewed-by: eosterlund, coleenp
2023-05-04 12:48:56 +00:00
Stefan Johansson
408cec516b 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
Reviewed-by: coleenp, sspitsyn
2023-05-04 11:00:44 +00:00
Maurizio Cimadamore
cecf817f5e 8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
Reviewed-by: jvernee
2023-05-04 09:44:31 +00:00
Oli Gillespie
3f1927a7f3 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Reviewed-by: tschatzl, shade, ayang
2023-05-04 09:19:19 +00:00
Kevin Walls
e206d57bfc 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: dcubed
2023-05-04 06:31:15 +00:00
Abhishek Kumar
82a8e91ef7 8306489: Open source AWT List related tests
Reviewed-by: prr, serb
2023-05-04 06:08:31 +00:00
Tejesh R
465bdd9e41 8307091: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: prr, dnguyen
2023-05-04 04:52:00 +00:00
Leonid Mesnik
caee1beaaf 8307305: Update debugger tests to support JTREG_TEST_THREAD_FACTORY mode
Reviewed-by: cjplummer
2023-05-04 03:51:24 +00:00
Kim Barrett
3599448ad8 8307147: [x86] Dangling pointer warning for Assembler::_attributes
Reviewed-by: dholmes, aph
2023-05-04 02:08:07 +00:00
Leonid Mesnik
64ac9a05e8 8306946: jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
Reviewed-by: dholmes
2023-05-04 01:10:54 +00:00
Jiangli Zhou
03030d47eb 8307134: Add GTS root CAs
Co-authored-by: Andy Warner <awarner@google.com>
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Reviewed-by: mullan, rhalade
2023-05-03 21:09:22 +00:00
jeremy
63cd0a36da 4200096: OffScreenImageSource.removeConsumer NullPointerException
Reviewed-by: prr, serb
2023-05-03 20:48:07 +00:00
Kevin Driver
db8b3cd084 8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Reviewed-by: coffeys, wetmore
2023-05-03 20:47:23 +00:00
Martin Desruisseaux
dcb2f3f502 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface
Reviewed-by: prr
2023-05-03 20:45:57 +00:00
Harshitha Onkar
14874779ee 8305815: Update Libpng to 1.6.39
Reviewed-by: prr
2023-05-03 19:39:12 +00:00
Matthew Donovan
705ad7d829 8306014: Update javax.net.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-03 18:00:10 +00:00
Jonathan Gibbons
3930709af4 8068925: Add @Override in javax.tools classes
Reviewed-by: darcy, iris
2023-05-03 17:32:24 +00:00
Thomas Schatzl
fc76687c2f 8306836: Remove pinned tag for G1 heap regions
Reviewed-by: ayang, cjplummer, sspitsyn
2023-05-03 13:50:02 +00:00
Roland Westrelin
ccf91f881c 8306933: C2: "assert(false) failed: infinite loop" failure
Reviewed-by: chagedorn, thartmann
2023-05-03 11:14:53 +00:00
Emanuel Peter
e9807a4b0f 8306042: C2: failed: Missed optimization opportunity in PhaseCCP (adding LShift->Cast->Add notification)
Reviewed-by: thartmann, chagedorn, kvn
2023-05-03 10:45:30 +00:00
Aleksey Shipilev
fcb280a48b 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
Reviewed-by: dholmes, alanb
2023-05-03 09:39:57 +00:00
Albert Mingkun Yang
891530fbc9 8307005: Make CardTableBarrierSet::initialize non-virtual
Reviewed-by: dholmes
2023-05-03 09:26:27 +00:00
Roland Westrelin
e0774bed2d 8306997: C2: "malformed control flow" assert due to missing safepoint on backedge with a switch
Reviewed-by: thartmann, kvn
2023-05-03 08:29:01 +00:00
Erik Österlund
462b1df758 8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock
Reviewed-by: stefank, aboldtch, coleenp, dholmes
2023-05-03 08:16:15 +00:00
Adam Sotona
c8f37564bf 8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
2023-05-03 06:34:58 +00:00
Feilong Jiang
0b5b6429a0 8307150: RISC-V: Remove remaining StoreLoad barrier with UseCondCardMark for Serial/Parallel GC
Reviewed-by: shade, fyang
2023-05-03 02:23:41 +00:00
Damon Nguyen
418a82551a 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
2023-05-02 23:45:44 +00:00
Eamonn McManus
74667e3d56 8303919: Instant.ofEpochMilli says it can throw an exception that it can't
Reviewed-by: rriggs
2023-05-02 23:26:01 +00:00
Harshitha Onkar
76991c8129 8282232: [Win] GetMousePositionWithPopup test fails due to wrong mouse position
Reviewed-by: prr
2023-05-02 23:22:17 +00:00
Stuart Marks
05b9b5821d 8302496: Runtime.exit incorrectly says it never throws an exception
Reviewed-by: alanb
2023-05-02 23:19:30 +00:00
Kim Barrett
8a70664e52 8293117: Add atomic bitset functions
Reviewed-by: shade, coleenp, dholmes
2023-05-02 21:27:01 +00:00
Liam Miller-Cushon
8c106b0c8e 8303784: no-@Target annotations should be applicable to type parameter declarations
Reviewed-by: vromero
2023-05-02 18:19:03 +00:00
Jonathan Gibbons
b76f320e76 8307123: Fix deprecation warnings in DPrinter
Reviewed-by: vromero
2023-05-02 16:54:39 +00:00
Jorn Vernee
a8bf2acb7d 8304888: Add dedicated VMProps for linker and fallback linker
Reviewed-by: alanb, mcimadamore
2023-05-02 13:56:32 +00:00
Johan Sjölen
75a4edca6b 8301223: Replace NULL with nullptr in share/gc/g1/
Reviewed-by: tschatzl, kbarrett
2023-05-02 13:04:14 +00:00
Yoshiki Sato
544bd260b6 8305505: NPE in javazic compiler
Reviewed-by: naoto
2023-05-02 12:42:15 +00:00
Thomas Stuefe
ea9201f420 8306510: Print number of threads and stack sizes in error reports
Reviewed-by: gziemski, dholmes
2023-05-02 12:18:23 +00:00
Fredrik Bredberg
a8d16dea8e 8300197: Freeze/thaw an interpreter frame using a single copy_to_chunk() call
Reviewed-by: rrich, pchilanomate, fyang
2023-05-02 12:14:12 +00:00
Jorn Vernee
1532a1b0bd 8307164: TestSegmentCopy times out (mainline)
Reviewed-by: mcimadamore
2023-05-02 10:42:49 +00:00
Martin Doerr
860bf9b35f 8307104: [AIX] VM crashes with UseRTMLocking on Power10
Reviewed-by: clanger, lucy
2023-05-02 09:19:49 +00:00
Alan Bateman
86f97fe70c 8305919: java/lang/Thread/virtual/HoldsLock.java#id0 failed, ThreadInfo.getLockInfo() return null
Reviewed-by: jpai
2023-05-02 07:20:19 +00:00
Joe Wang
2179a8f2d6 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Reviewed-by: naoto
2023-05-02 03:12:06 +00:00
Serguei Spitsyn
1227a275a1 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
2023-05-02 02:40:50 +00:00
Vicente Romero
35e75c131d 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Reviewed-by: jjg
2023-05-01 20:28:50 +00:00
Sergey Tsypanov
561ec9c5a0 8300818: Reduce complexity of padding with DateTimeFormatter
Reviewed-by: redestad, rriggs
2023-05-01 18:24:07 +00:00
Chris Plummer
ae5f678fba 8282384: [LOOM] Need test for ThreadReference.interrupt() on a vthread
Reviewed-by: lmesnik, sspitsyn
2023-05-01 18:13:11 +00:00
Rajan Halade
c7e1df8328 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mullan
2023-05-01 18:03:54 +00:00
Roger Riggs
6acf032db8 8306678: Replace use of os.version with an internal Version record
Reviewed-by: mchung
2023-05-01 17:56:04 +00:00
Roger Riggs
f00a748bc5 8304915: Create jdk.internal.util.Architecture enum and apply
Reviewed-by: erikj, mdoerr, amitkumar
2023-05-01 15:22:07 +00:00
Jorn Vernee
7d07d19523 8305201: Improve error message for GroupLayouts that are too large on SysV
Reviewed-by: mcimadamore
2023-05-01 14:12:51 +00:00
Jorn Vernee
67dd841432 8305093: Linker cache should not take layout names into account
Reviewed-by: mcimadamore
2023-05-01 13:41:00 +00:00
Archie Cobbs
d437c61f5b 8305672: Surprising definite assignment error after JDK-8043179
Reviewed-by: kcr, vromero
2023-05-01 13:23:37 +00:00
Jorn Vernee
b39a9bffda 8301703: java.base jdk.internal.foreign.abi.BindingSpecializer uses ASM to generate classes
Reviewed-by: mcimadamore, asotona
2023-05-01 13:15:16 +00:00
Jorn Vernee
1de1a38859 8303002: Reject packed structs from linker
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking

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

Reviewed-by: naoto, lmesnik, thartmann
2023-04-24 16:10:44 +00:00
Naoto Sato
f32adaf89f 8304836: Make MALLOC_MIN4 macro more robust
Reviewed-by: bchristi
2023-04-24 15:37:35 +00:00
Christian Stein
2763cf14e6 8304896: Update to use jtreg 7.2
Reviewed-by: erikj, lmesnik, iris
2023-04-24 15:36:19 +00:00
Johan Sjölen
b2ccc9731e 8306444: Don't leak memory in PhaseChaitin::PhaseChaitin
Reviewed-by: kvn, roland
2023-04-24 15:13:24 +00:00
Christoph Langer
d980cb4879 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Reviewed-by: shade, goetz
2023-04-24 15:00:09 +00:00
Matias Saavedra Silva
62acc882bf 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread
Reviewed-by: ccheung
2023-04-24 14:13:53 +00:00
Coleen Phillimore
7400aff3b8 8305252: make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
2023-04-24 12:55:15 +00:00
Vladimir Kempik
f239695b56 8305056: Avoid unaligned access in emit_intX methods if it's unsupported
Reviewed-by: aph
2023-04-24 11:31:49 +00:00
Alexander Zvegintsev
136dad7197 8306566: Open source several clipboard AWT tests
Reviewed-by: serb
2023-04-24 10:56:50 +00:00
Albert Mingkun Yang
30fa50d158 8305062: Refactor CardTable::resize_covered_region
Reviewed-by: tschatzl, iwalulya
2023-04-24 10:27:16 +00:00
Ivan Walulya
4a9f8efa86 8057586: Explicit GC ignored if GCLocker is active
Reviewed-by: tschatzl, ayang
2023-04-24 08:47:23 +00:00
Leo Korinth
ce493dda90 8306435: Juggle04/TestDescription.java should be a booleanArr test and not a byteArr one
Reviewed-by: tschatzl, lmesnik, shade
2023-04-24 08:02:40 +00:00
Prasanta Sadhukhan
f7d45b85a5 8306076: Open source AWT misc tests
Reviewed-by: serb
2023-04-24 07:51:47 +00:00
Ramkumar Sunderbabu
4900517479 8306636: Disable compiler/c2/Test6905845.java with -XX:TieredStopAtLevel=3
Reviewed-by: kvn
2023-04-24 02:19:10 +00:00
Afshin Zafari
0f51e63263 8305590: Remove nothrow exception specifications from operator new
Reviewed-by: coleenp, kbarrett
2023-04-23 15:20:18 +00:00
Alexander Zuev
8d696aea9e 8306575: Clean up and open source four Dialog related tests
Reviewed-by: prr
2023-04-22 00:14:51 +00:00
Harshitha Onkar
9ed456fac8 8306634: Open source AWT Event related tests
Reviewed-by: prr, serb
2023-04-21 23:56:04 +00:00
Calvin Cheung
b2240bf870 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Reviewed-by: iklam
2023-04-21 22:11:40 +00:00
Mikael Vidstedt
cb158ffb8a 8296153: Bump minimum boot jdk to JDK 20
Reviewed-by: erikj, darcy, iris
2023-04-21 20:51:50 +00:00
Sergey Bylokhov
117c5b116b 8279216: Investigate implementation of premultiplied alpha in the Little-CMS 2.13
Reviewed-by: prr
2023-04-21 19:17:39 +00:00
Ioi Lam
723037a79d 8298048: Combine CDS archive heap into a single block
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: matsaave, tschatzl
2023-04-21 15:29:45 +00:00
Thomas Schatzl
d518dbf726 8306440: Rename PSS:_num_optional_regions to _max_num_optional_regions
Reviewed-by: ayang, iwalulya
2023-04-21 14:16:34 +00:00
Thomas Schatzl
9cd5741c14 8306436: Rename PSS*:_n_workers to PSS*:_num_workers
Reviewed-by: ayang, iwalulya
2023-04-21 14:05:16 +00:00
Johan Sjölen
6e77e14fdb 8306456: Don't leak _worklist's memory in PhaseLive::compute
Reviewed-by: kvn, dlong
2023-04-21 13:36:36 +00:00
Leonid Mesnik
be6031b87d 8303703: Add support of execution tests using virtual thread factory jtreg plugin
Reviewed-by: erikj, jpai
2023-04-21 13:31:45 +00:00
Christoph Langer
5a00617b1b 8306543: GHA: MSVC installation is failing
Reviewed-by: shade, mdoerr
2023-04-21 11:34:36 +00:00
Oli Gillespie
3da987adac 8306075: Micro-optimize Enum.hashCode
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: redestad, shade, rriggs, liach, apangin, jvernee
2023-04-21 09:51:36 +00:00
Doug Simon
fdaabd6eec 8306581: JVMCI tests failed when run with -XX:TypeProfileLevel=222 after JDK-8303431
Reviewed-by: never, kvn
2023-04-21 07:13:50 +00:00
Jayathirth D V
36ec05d52a 8306430: Open source some AWT tests related to TextComponent and Toolkit
Reviewed-by: serb
2023-04-21 05:38:17 +00:00
Prasanta Sadhukhan
8346ae2bc1 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
2023-04-21 02:51:12 +00:00
Prasanta Sadhukhan
9a68d1d952 8306060: Open source few AWT Insets related tests
Reviewed-by: serb, prr
2023-04-21 02:42:55 +00:00
sunguoyun
2c70828e7d 8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
Reviewed-by: dholmes, fyang, aph
2023-04-21 00:47:24 +00:00
Justin Lu
ffb2494de4 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
2023-04-20 21:20:08 +00:00
Justin Lu
174c1a6d53 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
2023-04-20 21:11:00 +00:00
Coleen Phillimore
f63362310e 8306474: Move InstanceKlass read-only flags
Reviewed-by: jrose, dholmes
2023-04-20 19:20:03 +00:00
Coleen Phillimore
afd2501fcc 8306482: Remove unused Method AccessFlags
Reviewed-by: dholmes, matsaave
2023-04-20 19:13:14 +00:00
Harshitha Onkar
d6cf4aa155 8305874: Open source AWT Key, Text Event related tests
Reviewed-by: azvegint
2023-04-20 18:34:19 +00:00
Xin Liu
9412c0a2ca 8297302: gtest/AsyncLogGtest.java fails AsyncLogTest.stdoutOutput_vm
Reviewed-by: dholmes, shade
2023-04-20 17:02:53 +00:00
Peter Hofer
20b1d19d26 8305746: InitializeEncoding should cache Charset object instead of charset name
Reviewed-by: naoto
2023-04-20 16:11:29 +00:00
Brian Burkhalter
955abcae55 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
Reviewed-by: alanb
2023-04-20 15:38:11 +00:00
Lance Andersen
c6a288dcd6 8305945: (zipfs) Opening a directory to get input stream produces incorrect exception message
Reviewed-by: naoto, cstein
2023-04-20 14:09:25 +00:00
Albert Mingkun Yang
73018b39cd 8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
2023-04-20 13:02:36 +00:00
Zixian Cai
33a7978e85 8306538: Zero variant build failure after JDK-8257967
Reviewed-by: shade, dholmes
2023-04-20 12:41:50 +00:00
Amit Kumar
9c2e5b3871 8306459: s390x: Replace NULL to nullptr
Reviewed-by: mdoerr
2023-04-20 12:28:26 +00:00
Stefan Karlsson
6a7dff30ed 8305880: Loom: Avoid putting stale object pointers in oops
Reviewed-by: eosterlund, aboldtch
2023-04-20 09:18:28 +00:00
Matthias Baesken
310aa93478 8304291: [AIX] Broken build after JDK-8301998
Reviewed-by: mdoerr, tsteele, prr
2023-04-20 07:07:00 +00:00
Prasanta Sadhukhan
64ed816ad9 8305943: Open source few AWT Focus related tests
Reviewed-by: prr, serb
2023-04-20 02:35:05 +00:00
Jaikiran Pai
b8f0a668dd 8041676: remove the java.compiler system property
Reviewed-by: dholmes, alanb, rriggs, iris
2023-04-20 01:49:31 +00:00
Phil Race
781d6d793a 8306372: Open source AWT CardLayout and Checkbox tests
Reviewed-by: serb, honkar
2023-04-19 20:53:51 +00:00
Alexander Zvegintsev
d03128d0e5 8306280: Open source several choice AWT tests
Reviewed-by: jdv, prr, serb
2023-04-19 18:55:13 +00:00
Aleksey Shipilev
e764e9b740 8306452: Fix Amazon copyright in JDK-8305425 test
Reviewed-by: simonis
2023-04-19 18:36:07 +00:00
William Kemper
ed34e7f5ae 8306321: Add an accessor for the top of a PLAB
Reviewed-by: shade, ysr
2023-04-19 18:32:48 +00:00
Phil Race
fdb4bafa31 8306134: Open source some AWT tests relating to Button and a few other classes
Reviewed-by: azvegint
2023-04-19 17:37:16 +00:00
Alexander Zuev
4ad3ac6317 8306135: Clean up and open source some AWT tests
Reviewed-by: azvegint
2023-04-19 16:56:00 +00:00
Naoto Sato
85de01e676 8306323: Update license files in CLDR v43
Reviewed-by: lancea, srl, iris
2023-04-19 16:04:58 +00:00
Doug Simon
48fd4f2bd3 8303431: [JVMCI] libgraal annotation API
Reviewed-by: kvn, never, darcy
2023-04-19 16:01:57 +00:00
Oliver Kopp
c57af319f6 8306038: SystemModulesPlugin generates code that doesn't pop when return value not used
Reviewed-by: alanb, mchung
2023-04-19 15:56:34 +00:00
Fredrik Bredberg
a31a11f44a 8306006: strace001.java fails due to unknown methods on stack
Reviewed-by: rehn, alanb, dholmes
2023-04-19 15:04:27 +00:00
Coleen Phillimore
ddb86469e0 8306123: Move InstanceKlass writeable flags
Reviewed-by: iklam, fparain
2023-04-19 14:06:02 +00:00
Coleen Phillimore
1a41e12c22 8306310: Move is_shared Klass flag
Reviewed-by: iklam, fparain
2023-04-19 14:04:19 +00:00
Markus Grönlund
c738c8ea3e 8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Reviewed-by: sspitsyn, dholmes, mbaesken
2023-04-19 10:59:10 +00:00
William Kemper
9fb53adfe0 8305716: Enhancements for printing age tables
Reviewed-by: kdnilsen, ysr, tschatzl
2023-04-19 07:43:36 +00:00
Matthias Baesken
ebba42ac52 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
2023-04-19 07:22:56 +00:00
Richard Reingruber
42b7260e8b 8306111: PPC64: RT call after thaw with exception requires larger ABI section
Reviewed-by: mdoerr
2023-04-19 07:18:26 +00:00
Ioi Lam
c7faf60201 8305757: Call Method::compute_has_loops_flag() when creating CDS archive
Reviewed-by: coleenp, ccheung
2023-04-19 02:53:02 +00:00
Aleksei Efimov
eb8d8cdddd 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
2023-04-18 23:21:21 +00:00
Kevin Walls
77df3152c8 8296692: Improve String platform support
Reviewed-by: rhalade, amenkov, michaelm
2023-04-18 23:21:21 +00:00
Sean Mullan
f098b490f1 8298310: Enhance TLS session negotiation
Reviewed-by: rhalade, mschoene, weijun, ascarpino
2023-04-18 23:21:21 +00:00
Prasanta Sadhukhan
9e56d100df 8296832: Improve Swing platform support
Reviewed-by: skoivu, kizune, rhalade, prr
2023-04-18 23:21:21 +00:00
Joe Wang
2e5700a92c 8288436: Improve Xalan supports
Reviewed-by: smarks, ahgross, rhalade, lancea, naoto
2023-04-18 23:21:21 +00:00
Kevin Walls
b1c34c03d7 8296684: Improve String platform support
Reviewed-by: amenkov, michaelm, rhalade
2023-04-18 23:21:20 +00:00
Jamil Nimeh
14aad787a8 8294474: Better AES support
Reviewed-by: ahgross, ascarpino
2023-04-18 23:21:20 +00:00
Brian Burkhalter
a0f7ae1a95 8298667: Improved path handling
Reviewed-by: rhalade, alanb
2023-04-18 23:21:20 +00:00
Michael McMahon
ec119716e5 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Naoto Sato
5ec0120152 8297371: Improve UTF8 representation redux
Reviewed-by: rhalade, bchristi
2023-04-18 23:21:20 +00:00
Ian Graves
3656939a6a 8295304: Runtime support improvements
Reviewed-by: rhalade, rriggs, bchristi
2023-04-18 23:21:20 +00:00
Daniel Jeliński
c06135b5a6 8287404: Improve ping times
Reviewed-by: alanb, dfuchs, rhalade
2023-04-18 23:21:20 +00:00
Calvin Cheung
1b5d35ad2c 8306059: improve the reliability of TestSerialGCWithCDS.java and ArchiveRelocationTest.java tests
Reviewed-by: iklam
2023-04-18 21:23:42 +00:00
Markus Grönlund
0f3828dddd 8306282: Build failure linux-arm32-open-cmp-baseline after JDK-8257967
Reviewed-by: egahlin, iklam
2023-04-18 16:00:40 +00:00
Aleksey Shipilev
803680f17a 8306289: 32-bit build failures after JDK-8303422
Reviewed-by: jiefu, zgu
2023-04-18 15:33:39 +00:00
Daniel Jeliński
e97fe081ad 8306279: Build failure after JDK-8299592
Reviewed-by: thartmann
2023-04-18 12:55:14 +00:00
Matthias Baesken
3c7ab80501 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Reviewed-by: lucy, aivanov
2023-04-18 11:10:57 +00:00
Daniel Jeliński
3bba899574 8299592: Fix and reenable warnings in java.desktop native code compilation
Reviewed-by: ihse, aivanov
2023-04-18 09:43:08 +00:00
Johan Sjölen
896207de14 8306077: Replace NEW_ARENA_ARRAY with NEW_RESOURCE_ARRAY when applicable in opto
Reviewed-by: thartmann
2023-04-18 09:00:20 +00:00
Johan Sjölen
54f7b6ca34 8301497: Replace NULL with nullptr in cpu/s390
Reviewed-by: amitkumar, coleenp
2023-04-18 08:59:31 +00:00
Roland Westrelin
8ecb5dfa34 8305781: compiler/c2/irTests/TestVectorizationMultiInvar.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, kvn
2023-04-18 08:54:55 +00:00
Guoxiong Li
49726ee3a9 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Reviewed-by: kvn, thartmann
2023-04-18 08:01:32 +00:00
Richard Reingruber
445ebef437 8305668: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2
Reviewed-by: mdoerr
2023-04-18 06:59:51 +00:00
Matias Saavedra Silva
e3ece365ce 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
Reviewed-by: iklam, coleenp, fparain
2023-04-17 21:38:46 +00:00
Brent Christian
bb1a7bb3e1 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
Reviewed-by: kbarrett, alanb, bpb
2023-04-17 20:40:47 +00:00
Brian Burkhalter
8858d54342 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
Reviewed-by: alanb
2023-04-17 20:17:23 +00:00
Jonathan Gibbons
525a91e3fa 8305673: Convert DocCommentParser to use enhanced switch
Reviewed-by: hannesw
2023-04-17 19:04:31 +00:00
Phil Race
6831f9db8b 8278583: Open source SwingMark - Swing performance benchmark
Reviewed-by: serb, aghaisas, avu
2023-04-17 18:03:29 +00:00
Tom Rodriguez
497f9e760d 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
Reviewed-by: eosterlund, dnsimon
2023-04-17 16:45:56 +00:00
Naoto Sato
4ed933cf77 8296248: Update CLDR to Version 43.0
Reviewed-by: joehw
2023-04-17 16:35:36 +00:00
Patricio Chilano Mateo
7360960454 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
Reviewed-by: rrich, rehn
2023-04-17 14:40:29 +00:00
Albert Mingkun Yang
cc60f2ff3f 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:27:13 +00:00
Albert Mingkun Yang
fb58d77e92 8305192: serial GC fails "assert(Universe::on_page_boundary(bottom) && Universe::on_page_boundary(end)) failed: invalid space boundaries"
Reviewed-by: iwalulya, tschatzl
2023-04-17 12:23:17 +00:00
Kirill A. Korinsky
7551529854 8305995: Footprint regression from JDK-8224957
Reviewed-by: kvn, thartmann
2023-04-17 12:22:26 +00:00
Erik Österlund
02347d0cec 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Reviewed-by: kvn, rcastanedalo, aph, mdoerr
2023-04-17 12:14:57 +00:00
Erik Österlund
2240c7ec2f 8305543: Ensure GC barriers for arraycopy on AArch64 use caller saved neon temp registers
Reviewed-by: rcastanedalo, aph
2023-04-17 12:13:12 +00:00
Albert Mingkun Yang
1958f0e8bd 8305233: G1: Refactor G1ClearCardTableTask
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:00:01 +00:00
Albert Mingkun Yang
dbd2b5f89f 8305892: G1: Fix G1MMUTracker::when_sec documentation
Reviewed-by: iwalulya, tschatzl
2023-04-17 11:59:11 +00:00
Emanuel Peter
c0b4957fcc 8305740: C2: add print statements to assert: Can't determine return type.
Reviewed-by: kvn, thartmann
2023-04-17 10:32:32 +00:00
Markus Grönlund
5c95bb1c51 8257967: JFR: Events for loaded agents
Reviewed-by: dholmes, sspitsyn
2023-04-17 10:25:36 +00:00
Varada M
2a062f1654 8305089: Implement missing socket options on AIX
Reviewed-by: erikj, jpai, vtewari, djelinski, dfuchs
2023-04-17 07:30:23 +00:00
Eirik Bjorsnos
7f56de8f78 8306036: Use @apiNote in String.toLowerCase, String.toUpperCase
Reviewed-by: alanb, jpai
2023-04-17 05:24:50 +00:00
Valerie Peng
e575924131 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex
Reviewed-by: mpowers, weijun
2023-04-17 04:47:40 +00:00
Kim Barrett
caa841d9a5 8306029: ProblemList runtime/ErrorHandling/TestDwarf.java on linux
Reviewed-by: stuefe
2023-04-15 05:15:10 +00:00
Jiangli Zhou
314bad3613 8305935: Resolve multiple definition of 'jmm_<interface|version>' when statically linking with JDK native libraries
Reviewed-by: dholmes
2023-04-14 21:13:11 +00:00
William Kemper
793da60ee8 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: rkennke, ysr
2023-04-14 20:37:35 +00:00
Afshin Zafari
2cc4bf1a9d 8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
2023-04-14 17:52:17 +00:00
Julian Waters
5a7886575e 8304930: Enable Link Time Optimization as an option for Visual C++
Reviewed-by: erikj
2023-04-14 17:18:28 +00:00
Roger Riggs
30a140b5a2 8304912: Use OperatingSystem enum in java.desktop module
Reviewed-by: bpb, prr, aturbanov
2023-04-14 16:42:18 +00:00
Coleen Phillimore
1fd400608e 8305405: Compile_lock not needed in Universe::genesis()
Reviewed-by: dholmes, fparain
2023-04-14 15:34:29 +00:00
Coleen Phillimore
ebeee6dce8 8305404: Compile_lock not needed for InstanceKlass::implementor()
Reviewed-by: eosterlund, fparain
2023-04-14 15:32:51 +00:00
Johan Sjölen
d2ce04bb10 8301496: Replace NULL with nullptr in cpu/riscv
Reviewed-by: dholmes, fyang
2023-04-14 09:53:46 +00:00
Viktor Klang
54bf370079 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
2023-04-14 09:16:16 +00:00
Johan Sjölen
0826ceee65 8301495: Replace NULL with nullptr in cpu/ppc
Reviewed-by: rrich, mdoerr, tsteele
2023-04-14 08:54:53 +00:00
Leo Korinth
c0c31224db 8305618: Move gcold out of tier1
Reviewed-by: lmesnik, shade
2023-04-14 08:50:31 +00:00
sunguoyun
3651b92229 8305944: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: stefank, tschatzl
2023-04-14 08:48:44 +00:00
Richard Reingruber
12358e6c94 8305934: PPC64: Disable VMContinuations on Big Endian
Reviewed-by: mdoerr, tsteele
2023-04-14 06:42:55 +00:00
Sergey Tsypanov
287bb06def 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
2023-04-14 06:21:39 +00:00
David Holmes
8a1639d49b 8305936: JavaThread::create_system_thread_object has unused is_visible argument
Reviewed-by: alanb, kbarrett
2023-04-13 23:10:18 +00:00
Matthew Donovan
76cda9f44a 8255548: Missing coverage for javax.xml.crypto.dom.DOMCryptoContext
Reviewed-by: rhalade, mullan
2023-04-13 20:37:39 +00:00
Kevin Driver
b60604e8eb 8305794: Unused interface sun.security.util.PermissionFactory can be removed
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: mullan, aturbanov
2023-04-13 18:46:21 +00:00
Leonid Mesnik
92521b100f 8305875: Test TraceVirtualThreadLocals should be run with continuations only
Reviewed-by: alanb
2023-04-13 16:39:25 +00:00
Leonid Mesnik
00eb348a52 8305937: com/sun/jdi/SetLocalWhileThreadInNative.java fails with -XX:+TieredCompilation
Reviewed-by: dcubed
2023-04-13 16:02:17 +00:00
Daniel D. Daugherty
1385c3d2f1 8305966: ProblemList com/sun/jdi/JdbLastErrorTest.java on windows-x64
Reviewed-by: alanb
2023-04-13 15:50:24 +00:00
Daniel Fuchs
90b4006bce 8305847: Improve diagnosability and resilience of HttpClient::close tests
Reviewed-by: jpai, djelinski
2023-04-13 15:27:45 +00:00
Harshitha Onkar
d7dc474a5a 8305712: [MacOS] Deprecated Cocoa-NSEvent names
Reviewed-by: dmarkov, prr
2023-04-13 15:26:47 +00:00
Archie L. Cobbs
e0620b8e05 8296420: javac has long lines in its command-line help
Reviewed-by: jjg
2023-04-13 15:08:55 +00:00
Jonathan Dowland
6b9b7d1d92 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: stuefe
2023-04-13 12:02:14 +00:00
Jim Laskey
2060c8ea14 8305688: jdk build --with-memory-size=1024 broken by JDK-8305100
Reviewed-by: martin
2023-04-13 11:42:00 +00:00
Jaikiran Pai
646b666a26 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: dfuchs
2023-04-13 09:41:01 +00:00
Thomas Stuefe
fb9a29d732 8305414: gtest/NMTGtests.java is failing various sub-tests
Reviewed-by: rkennke, adinn
2023-04-13 07:47:34 +00:00
Quan Anh Mai
e846a1d700 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, xgong, jbhateja, vlivanov
2023-04-13 07:02:28 +00:00
Jaikiran Pai
3f36dd811e 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Eirik Bjorsnos
425ef0685c 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
2023-04-12 21:44:21 +00:00
Jiangli Zhou
2bbbff209d 8305858: Resolve multiple definition of 'handleSocketError' when statically linking with JDK native libraries
Reviewed-by: alanb
2023-04-12 20:42:05 +00:00
Leonid Mesnik
bc15163386 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[])
Reviewed-by: cjplummer, dholmes
2023-04-12 17:44:38 +00:00
quadhier
19380d74e4 8305324: C2: Wrong execution of vectorizing Interger.reverseBytes
Reviewed-by: kvn, pli
2023-04-12 17:08:26 +00:00
Bill Huang
87017b5199 8295859: Update Manual Test Groups
Reviewed-by: msheppar
2023-04-12 16:08:34 +00:00
Quan Anh Mai
99a9dbc8f1 8305783: x86_64: Optimize AbsI and AbsL
Reviewed-by: jkarthikeyan, thartmann
2023-04-12 13:48:52 +00:00
Johannes Bechberger
d8af7a6014 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Reviewed-by: dholmes, stuefe, mbaesken
2023-04-12 06:49:10 +00:00
Pengfei Li
b9bdbe9ab3 8305524: AArch64: Fix arraycopy issue on SVE caused by matching rule vmask_gen_sub
Reviewed-by: aph, xgong
2023-04-12 03:15:39 +00:00
Xin Liu
82e8b0332b 8305203: Simplify trimming operation in Region::Ideal
Reviewed-by: thartmann, kvn
2023-04-12 00:37:15 +00:00
Bill Huang
27cf63853c 8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
Reviewed-by: msheppar
2023-04-11 21:39:03 +00:00
Justin King
42fa000a7d 8305484: Compiler::init_c1_runtime unnecessarily uses an Arena that lives for the lifetime of the process
Reviewed-by: thartmann, kvn
2023-04-11 19:50:01 +00:00
Brian Burkhalter
475e9a7cad 8305809: (fs) Review obsolete Linux kernel dependency on os.version (Unix kernel 2.6.39)
Reviewed-by: rriggs, alanb
2023-04-11 16:59:11 +00:00
Alexey Semenyuk
1de772cd89 8294806: jpackaged-app ignores splash screen from jar file
Reviewed-by: almatvee
2023-04-11 16:16:07 +00:00
Thomas Schatzl
d9db90636f 8305368: G1 remset chunk claiming may use relaxed memory ordering
Reviewed-by: ayang, iwalulya
2023-04-11 16:06:10 +00:00
Thomas Schatzl
c789d24039 8305370: Inconsistent use of for_young_only_phase parameter in G1 predictions
Reviewed-by: iwalulya, kbarrett
2023-04-11 16:04:12 +00:00
Aleksei Voitylov
c6d7cf6b48 8305663: Wrong iteration order of pause array in g1MMUTracker
Reviewed-by: ayang, tschatzl
2023-04-11 16:03:13 +00:00
Jiangli Zhou
ce4b995556 8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries
Reviewed-by: alanb, kevinw
2023-04-11 15:05:44 +00:00
Tom Rodriguez
12946f5748 8305419: JDK-8301995 broke building libgraal
Reviewed-by: matsaave, dnsimon, thartmann
2023-04-11 14:55:55 +00:00
Mark Powers
9486969bd3 8302696: Revert API signature changes made in JDK-8285504 and JDK-8285263
Reviewed-by: mullan
2023-04-11 14:42:44 +00:00
Matias Saavedra Silva
628a3f173a 8304738: UnregisteredClassesTable_lock never created
Reviewed-by: iklam, jcking, dholmes
2023-04-11 14:03:10 +00:00
Leonid Mesnik
7a5597c34f 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: kvn, sspitsyn
2023-04-11 13:55:20 +00:00
Chen Liang
e5ce7d9e43 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc
Reviewed-by: mchung
2023-04-11 13:40:56 +00:00
Julian Waters
cd7d53c88c 8304717: Declaration aliasing between boolean and jboolean is wrong
Reviewed-by: dholmes
2023-04-11 06:52:34 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Matthew Donovan
39398075b7 8182621: JSSE should reject empty TLS plaintexts
Reviewed-by: xuelei
2023-04-11 04:21:17 +00:00
Feilong Jiang
137513025d 8305728: RISC-V: Use bexti instruction to do single-bit testing
Reviewed-by: fyang, yzhu
2023-04-11 03:00:54 +00:00
Eirik Bjorsnos
4485737e9b 8304501: Remove orphaned demo netbeans projects
Reviewed-by: serb
2023-04-11 00:17:02 +00:00
Chen Liang
0ff2ff6789 8305807: Spurious right brace in ConstantDescs field Javadocs
Reviewed-by: mchung, iris
2023-04-10 22:54:32 +00:00
Justin Lu
2aeb0e5267 6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
2023-04-10 21:47:16 +00:00
Justin Lu
42965d390c 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Reviewed-by: naoto
2023-04-10 21:46:31 +00:00
Mandy Chung
a43a17c8ea 8305808: Typo in javadoc of ConstantDescs::BSM_VARHANDLE_STATIC_FIELD
Reviewed-by: rriggs, iris
2023-04-10 20:50:50 +00:00
Roger Riggs
ba90dc7795 8304911: Use OperatingSystem enum in some modules
Reviewed-by: naoto, lancea, iris, jpai
2023-04-10 15:51:01 +00:00
Lance Andersen
76975da59e 8305758: Update the JAR tool man page to indicate -i/--generate-file is deprecated
Reviewed-by: alanb, jpai
2023-04-10 14:11:51 +00:00
Eirik Bjorsnos
0d45a524b3 8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
2023-04-10 11:23:21 +00:00
Vladimir Petko
0243da2e4a 8305481: gtest is_first_C_frame failing on ARM
Reviewed-by: stuefe
2023-04-10 09:21:23 +00:00
Eirik Bjorsnos
a8e3a2dd2f 8205129: Remove java.lang.Compiler
Reviewed-by: alanb, jpai
2023-04-10 08:32:19 +00:00
Prasanta Sadhukhan
db174a15d1 4825182: DefaultBoundedRangeModel.setMinimum() changes extent unnecessarily
Reviewed-by: prr
2023-04-10 07:21:23 +00:00
Ajit Ghaisas
969a6b9fd7 8304825: MacOS metal pipeline - window isn't painted if created during display sleep
Reviewed-by: kcr, avu, prr
2023-04-10 04:52:35 +00:00
Weijun Wang
97276859ab 8305310: Calculate PublicKey from PrivateKey
Reviewed-by: mullan
2023-04-10 00:55:16 +00:00
Andrey Turbanov
50d7335206 8305696: (zipfs) Avoid redundant LinkedHashMap.containsKey call ZipFileSystem.makeParentDirs
Reviewed-by: alanb, jpai, lancea
2023-04-09 11:21:48 +00:00
Jaikiran Pai
ec9d816abf 6441827: Documentation mentions nonexistent NullReferenceException
Reviewed-by: iris
2023-04-09 01:30:47 +00:00
Joshua Cao
9e20382311 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: erikj, jwaters
2023-04-08 13:17:33 +00:00
Ioi Lam
f45b01f883 8305766: ProblemList runtime/CompressedOops/CompressedClassPointers.java
Reviewed-by: cjplummer
2023-04-08 03:29:27 +00:00
Jonathan Gibbons
a8871f5d26 8305407: ExternalSpecsWriter should ignore white-space differences in spec titles
Reviewed-by: hannesw
2023-04-07 14:15:46 +00:00
Roland Westrelin
6b2a86a65e 8300257: C2: vectorization fails on some simple Memory Segment loops
Reviewed-by: kvn, thartmann
2023-04-07 12:51:44 +00:00
Nikita Gubarkov
dc81603cbf 8305666: Add system property for fair AWT lock
Reviewed-by: prr
2023-04-07 10:06:51 +00:00
Thomas Stuefe
c67bbcea92 8305711: Arm: C2 always enters slowpath for monitorexit
Reviewed-by: shade, kvn
2023-04-07 05:57:16 +00:00
Guoxiong Li
ce6e7461dc 8305118: Add RISC-V related content to building.md
Reviewed-by: erikj
2023-04-07 00:58:36 +00:00
Joshua Cao
314e9b3dcc 8300829: Make CtwRunner available as an independent tool
Reviewed-by: xliu, phh
2023-04-07 00:28:04 +00:00
Kevin Walls
0a34018797 8305680: Remove Permissions from jcmd help output
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:56 +00:00
Kevin Walls
8db1dd0258 8305622: Remove Permission details from jcmd man page
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:08 +00:00
Chris Plummer
1d517afbd4 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table
Reviewed-by: sspitsyn, lmesnik
2023-04-06 19:13:27 +00:00
Viktor Klang
08fbb7bb5e 8272119: Typo in JDK documentation (a -> an)
Reviewed-by: dfuchs, mchung, iris
2023-04-06 15:50:13 +00:00
Quan Anh Mai
536ad9df1a 8305461: [vectorapi] Add VectorMask::xor
Reviewed-by: psandoz
2023-04-06 15:33:16 +00:00
Leonid Mesnik
ddd50d0db3 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"
Reviewed-by: cjplummer, sspitsyn
2023-04-06 14:11:40 +00:00
Matias Saavedra Silva
ce10460e94 8274166: Some CDS tests ignore -Dtest.cds.runtime.options
Reviewed-by: dholmes, iklam, aturbanov
2023-04-06 13:59:08 +00:00
Sergey Tsypanov
e52a2aeeac 8304745: Lazily initialize byte[] in java.io.BufferedInputStream
Reviewed-by: liach, bpb, jpai
2023-04-06 11:17:21 +00:00
Daniel Fuchs
6580c4e631 8267140: Support closing the HttpClient by making it auto-closable
Reviewed-by: jpai
2023-04-06 10:05:20 +00:00
Tingjun Yuan
b5ea140dff 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
2023-04-06 06:35:19 +00:00
Vladimir Petko
a6a3cf485d 8305480: test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java failing on 32 bit arm
Reviewed-by: stuefe, dholmes
2023-04-06 05:06:15 +00:00
Leonid Mesnik
35d22930bb 8305607: Remove some unused test parameters in com/sun/jdi tests
Reviewed-by: sspitsyn, amenkov, cjplummer
2023-04-06 03:32:12 +00:00
Serguei Spitsyn
5764119024 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads
Reviewed-by: dholmes, alanb
2023-04-06 01:30:31 +00:00
Mandy Chung
312702567a 8305600: java/lang/invoke/lambda/LogGeneratedClassesTest.java fails after JDK-8304846 and JDK-8202110
Reviewed-by: jvernee
2023-04-05 22:40:55 +00:00
David Holmes
35cb303a2c 8305425: Thread.isAlive0 doesn't need to call into the VM
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, coleenp, alanb
2023-04-05 21:54:38 +00:00
Daniel D. Daugherty
b5d204c3a4 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp
8305679: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-aarch64 with ZGC

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

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

Reviewed-by: vromero
2023-03-27 21:33:01 +00:00
Damon Nguyen
80e2d52f76 8302558: Editable JComboBox's popup blocks user from seeing characters in Aqua look and feel
Reviewed-by: psadhukhan, azvegint
2023-03-27 19:03:56 +00:00
Roger Riggs
6c3b10fb1d 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Damon Nguyen
87b314a985 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color
Reviewed-by: honkar, kizune, psadhukhan
2023-03-27 17:04:20 +00:00
Jonathan Gibbons
2f34687ec1 8304689: Add hidden option to disable external spec page
Reviewed-by: erikj, hannesw
2023-03-27 15:42:10 +00:00
Julian Waters
6b2f34f88a 8304718: GetIntArrayElements should not be passed JNI_FALSE
Reviewed-by: serb
2023-03-27 15:12:20 +00:00
Jan Lahoda
138cdc9283 8304694: Runtime exception thrown when break stmt is missing
Reviewed-by: vromero
2023-03-27 15:01:45 +00:00
Eirik Bjorsnos
46b0602376 8304547: Remove checking of -Djava.compiler in src/jdk.jdi/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java
Reviewed-by: dholmes, cjplummer, alanb
2023-03-27 14:32:41 +00:00
Justin King
8d423f7305 8304723: Statically allocate global mutexes
8304736: Heap_lock is created twice

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

Reviewed-by: vromero
2023-03-23 21:17:47 +00:00
Justin Lu
dd23ee9e87 8303917: Update ISO 639 language codes table
Reviewed-by: naoto
2023-03-23 21:15:40 +00:00
Viktor Klang
6f67abd352 8304557: java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out
Reviewed-by: jpai
2023-03-23 20:43:45 +00:00
Thomas Schatzl
568dd57d0d 8304716: Clean up G1Policy::calc_max_old_cset_length()
Reviewed-by: ayang, iwalulya
2023-03-23 19:38:24 +00:00
Ian Graves
af0504e3f3 8304691: Remove jlink --post-process-path option
Reviewed-by: mchung
2023-03-23 19:17:07 +00:00
Vladimir Kozlov
3859faf183 8231349: Move intrinsic stubs generation to compiler runtime initialization code
Reviewed-by: redestad, vlivanov
2023-03-23 19:15:34 +00:00
Thomas Schatzl
f37674a8f7 8304711: Combine G1 root region abort and wait into a single method
Reviewed-by: ayang, iwalulya
2023-03-23 19:14:24 +00:00
Thomas Schatzl
7f9e691630 8304712: Only pass total number of regions into G1Policy::calc_min_old_cset_length
Reviewed-by: ayang, iwalulya
2023-03-23 19:13:28 +00:00
Brian Burkhalter
51035a75e4 8294137: Review running times of java.math tests
Reviewed-by: darcy
2023-03-23 18:01:12 +00:00
Brian Burkhalter
46cca1a4c5 4842457: (bf spec) Clarify meaning of "(optional operation)"
Reviewed-by: alanb
2023-03-23 18:00:07 +00:00
Archie L. Cobbs
6fa25cc134 8184444: The compiler error "variable not initialized in the default constructor" is not apt in case of static final variables
Reviewed-by: vromero
2023-03-23 16:06:47 +00:00
Archie L. Cobbs
4b8f7db6be 8027682: javac wrongly accepts semicolons in package and import decls
Reviewed-by: vromero
2023-03-23 16:04:35 +00:00
Archie L. Cobbs
c00d0885ae 8043179: Lambda expression can mutate final field
Reviewed-by: vromero
2023-03-23 15:59:51 +00:00
Daniel Jeliński
147f3473d4 8219083: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java failed in same binary run on windows x64
Reviewed-by: dfuchs
2023-03-23 15:45:14 +00:00
Coleen Phillimore
bf917ba6af 8304687: Move add_to_hierarchy
Reviewed-by: dholmes, fparain
2023-03-23 13:47:06 +00:00
Jan Lahoda
63d4afbeb1 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: vromero, darcy
2023-03-23 08:35:25 +00:00
Prasanta Sadhukhan
e2cfcfbfa9 6817009: Action.SELECTED_KEY not toggled when using key binding
Reviewed-by: tr, jdv
2023-03-23 07:50:57 +00:00
Emanuel Peter
af4d5600e3 8303951: Add asserts before record_method_not_compilable where possible
Reviewed-by: kvn, thartmann
2023-03-23 07:44:18 +00:00
Prasanta Sadhukhan
c4338620b7 6245410: javax.swing.text.html.CSS.Attribute: BACKGROUND_POSITION is not w3c spec compliant
Reviewed-by: aivanov
2023-03-23 02:58:01 +00:00
Archie L. Cobbs
91f407d6fe 8029301: Confusing error message for array creation method reference
Reviewed-by: vromero
2023-03-22 21:00:27 +00:00
Leonid Mesnik
e73411a235 8304376: Rename t1/t2 classes in com/sun/jdi/CLETest.java to avoid class duplication error in IDE
Reviewed-by: sspitsyn, cjplummer
2023-03-22 18:25:41 +00:00
Chen Liang
a2d8f634de 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized
Reviewed-by: mchung
2023-03-22 16:19:34 +00:00
Jan Kratochvil
37774556da 8302191: Performance degradation for float/double modulo on Linux
Reviewed-by: dholmes, sviswanathan
2023-03-22 15:55:57 +00:00
Justin King
760c0128a4 8304683: Memory leak in WB_IsMethodCompatible
Reviewed-by: thartmann
2023-03-22 15:28:44 +00:00
Ludvig Janiuk
75168eaca3 8304134: jib bootstrapper fails to quote filename when checking download filetype
Reviewed-by: erikj
2023-03-22 14:58:34 +00:00
Johan Sjölen
4154a980ca 8301498: Replace NULL with nullptr in cpu/x86
Reviewed-by: dholmes, kvn
2023-03-22 14:18:40 +00:00
Coleen Phillimore
ddf1e34c1a 8304089: Convert TraceDependencies to UL
Reviewed-by: vlivanov, dholmes
2023-03-22 12:33:00 +00:00
Adam Sotona
358c61b58d 8294972: Convert jdk.jlink internal plugins to use the Classfile API
Reviewed-by: mchung, alanb
2023-03-22 12:12:14 +00:00
Albert Mingkun Yang
c74507eeb3 8304657: G1: Rename set_state_empty to set_state_untracked
Reviewed-by: tschatzl
2023-03-22 10:12:38 +00:00
Albert Mingkun Yang
ca94287d2b 8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Reviewed-by: tschatzl, ysr
2023-03-22 10:11:55 +00:00
Daniel Jeliński
eda0065107 8304286: java/net/SocketOption/OptionsTest.java failing after JDK-8302659
Reviewed-by: dfuchs
2023-03-22 08:42:39 +00:00
Wang Haomin
c039d26603 8303804: Fix some errors of If-VectorTest and CMove-VectorTest
Reviewed-by: qamai, thartmann
2023-03-22 07:36:11 +00:00
Adam Sotona
0156909ab3 8304502: Classfile API class hierarchy makes assumptions when class is not resolved
Reviewed-by: jpai
2023-03-22 06:13:34 +00:00
Chris Plummer
0deb648985 8290200: com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
Reviewed-by: amenkov, lmesnik, sspitsyn, dcubed
2023-03-21 18:00:35 +00:00
Chen Liang
019fcd819c 8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
2023-03-21 16:16:08 +00:00
Christian Hagedorn
d6f20e2fbf 8304680: Problemlist compiler/sharedstubs/SharedStubToInterpTest.java
Reviewed-by: thartmann
2023-03-21 16:05:42 +00:00
Chen Liang
d788a1bb80 8304180: Constant Descriptors for MethodHandles::classData and classDataAt
Reviewed-by: jvernee, mchung
2023-03-21 14:55:17 +00:00
Coleen Phillimore
bbde2158d1 8299494: Test vmTestbase/nsk/stress/except/except011.java failed: ExceptionInInitializerError: target class not found
Reviewed-by: dholmes, dcubed
2023-03-21 13:18:44 +00:00
Xiaolin Zheng
1c04686cd6 8304387: Fix positions of shared static stubs / trampolines
Reviewed-by: adinn, fyang
2023-03-21 11:27:54 +00:00
Matthias Baesken
c65bb2c58e 8304334: java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java times out on slow platforms
Reviewed-by: lucy, serb, prr
2023-03-21 09:13:01 +00:00
Raffaello Giulietti
4bf1fbb06d 8303648: Add String.indexOf(String str, int beginIndex, int endIndex)
Reviewed-by: rriggs
2023-03-21 08:43:23 +00:00
Jan Lahoda
c4df9b5f17 8304537: Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor
Reviewed-by: vromero, erikj
2023-03-21 07:33:56 +00:00
Jasmine K
a6b72f56f5 8304230: LShift ideal transform assertion
Reviewed-by: thartmann
2023-03-21 06:03:05 +00:00
Varada M
a72ba38347 8303948: HsErrFileUtils.checkHsErrFileContent() fails to check the last pattern.
Reviewed-by: dholmes, stuefe
2023-03-21 05:45:58 +00:00
Mandy Chung
bbca7c3ede 8304542: Convert use of internal VM::classFileVersion to ClassFileFormatVersion
Reviewed-by: alanb
2023-03-20 23:24:49 +00:00
Naoto Sato
f593a6b52e 8303018: Unicode Emoji Properties
Reviewed-by: prr, erikj, rriggs
2023-03-20 20:20:19 +00:00
Serguei Spitsyn
bc0ed730f2 8304303: implement VirtualThread class notifyJvmti methods as C2 intrinsics
Reviewed-by: vlivanov, lmesnik
2023-03-20 19:55:16 +00:00
Kim Barrett
2d0d057d66 8304016: Add BitMap find_last suite of functions
Reviewed-by: stefank, aboldtch
2023-03-20 19:23:38 +00:00
Maurizio Cimadamore
42723dcb18 8304420: Regression ~11% with Javac-Generates on all platforms in b14
Reviewed-by: vromero
2023-03-20 18:44:20 +00:00
Julian Waters
19f2edd9b7 8304541: Modules THROW_MSG_ should return nullptr instead of JNI_FALSE
Reviewed-by: coleenp
2023-03-20 18:13:05 +00:00
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Tyler Steele
4c8c9935eb 8304364: [AIX] Build erroneously determines build disk is non-local when using GNU-utils df on AIX
Reviewed-by: erikj
2023-03-20 17:13:35 +00:00
Thomas Schatzl
4ed7350573 8304393: Provide method to iterate over regions of humongous object in G1
Reviewed-by: iwalulya, ayang
2023-03-20 16:25:53 +00:00
Matias Saavedra Silva
eb73fa833c 8301715: CDS should be disabled in exploded JDK
Reviewed-by: ccheung, coleenp
2023-03-20 15:21:10 +00:00
Jonathan Gibbons
80e979720a 8304433: cleanup sentence breaker code in DocTreeMaker
Reviewed-by: hannesw
2023-03-20 15:14:25 +00:00
Archie L. Cobbs
c396f1ed8b 8304443: bootcycle builds fail after JDK-8015831
Reviewed-by: vromero
2023-03-20 14:33:16 +00:00
Viktor Klang
ded6a81319 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Reviewed-by: jpai, alanb
2023-03-20 13:55:47 +00:00
Albert Mingkun Yang
652bda0af8 8304411: Remove unused CardTable::clear
Reviewed-by: tschatzl
2023-03-20 11:15:29 +00:00
Daniel Jeliński
450567031e 8304174: Remove delays from httpserver tests
Reviewed-by: jpai, dfuchs
2023-03-20 09:31:33 +00:00
Feilong Jiang
c09f83ec25 8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
2023-03-20 00:53:52 +00:00
Archie L. Cobbs
e339e183c1 7016187: javac -h could generate conflict .h for inner class and class name with '_'
Reviewed-by: vromero
2023-03-18 17:32:00 +00:00
Chris Plummer
033c0b17cb 8304437: ProblemList com/sun/jdi/ThreadMemoryLeadTest.java with ZGC
Reviewed-by: jpai, dcubed
2023-03-18 17:08:00 +00:00
Yudi Zheng
7503ecc0f1 8304138: [JVMCI] Test FailedSpeculation existence before appending.
Reviewed-by: kvn, dnsimon
2023-03-18 09:41:39 +00:00
Chris Plummer
f8482c20f4 8297638: Memory leak in case of many started-dead threads
Reviewed-by: amenkov, sspitsyn
2023-03-18 00:23:58 +00:00
Alexander Matveev
c56f011baa 8298995: tools/jpackage/share/AddLauncherTest.java#id1 failed "AddLauncherTest.test; checks=53"
Reviewed-by: asemenyuk
2023-03-18 00:02:23 +00:00
Archie L. Cobbs
254288a518 8014021: TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested
Reviewed-by: vromero, jlahoda
2023-03-17 22:12:09 +00:00
Archie L. Cobbs
8f5bb538ab 8015831: Add lint check for calling overridable methods from a constructor
6557145: Warn about calling abstract methods in constructors

Reviewed-by: ihse, vromero, mcimadamore
2023-03-17 22:05:50 +00:00
Archie L. Cobbs
b085ab9316 8180387: com.sun.source.util.JavacTask should have a protected constructor.
Reviewed-by: vromero
2023-03-17 20:52:38 +00:00
Frederic Parain
bfb812a8ff 8292818: replace 96-bit representation for field metadata with variable-sized streams
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, coleenp, cjplummer, dnsimon
2023-03-17 20:18:36 +00:00
Coleen Phillimore
932be3542d 8298469: Obsolete legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: dholmes, fparain
2023-03-17 18:56:05 +00:00
Alex Menkov
02a4ee206a 8303921: serviceability/sa/UniqueVtableTest.java timed out
Reviewed-by: cjplummer, sspitsyn
2023-03-17 18:23:03 +00:00
Naoto Sato
4486f1b720 8304367: jlink --include-locales=* attempts to parse non .class resource files with classfile reader
Reviewed-by: mchung, lancea, jpai
2023-03-17 15:44:38 +00:00
Leonid Mesnik
8d2ebf248e 8303697: ProcessTools doesn't print last line of process output
Reviewed-by: dholmes, stuefe
2023-03-17 13:45:41 +00:00
Leonid Mesnik
d5a150706e 8304314: StackWalkTest.java fails after CODETOOLS-7903373
Reviewed-by: alanb, mchung
2023-03-17 13:43:54 +00:00
Damon Fenacci
384a8b85a7 8303069: Memory leak in CompilerOracle::parse_from_line
Reviewed-by: thartmann, jcking
2023-03-17 13:24:55 +00:00
Afshin Zafari
6dd6c15ed4 8301684: Fix test code to not get finalizer deprecation warnings
Reviewed-by: coleenp, dholmes
2023-03-17 13:21:47 +00:00
Afshin Zafari
cb4ae1922d 8292059: Do not inline InstanceKlass::allocate_instance()
Reviewed-by: coleenp, stefank
2023-03-17 13:20:58 +00:00
Adam Sotona
b2639e1d62 8304164: jdk/classfile/CorpusTest.java still fails after JDK-8303910
Reviewed-by: jpai
2023-03-17 11:47:11 +00:00
Johan Sjölen
620564ac61 8304130: Add runtime/StackGuardPages/TestStackGuardPagesNative.java to ProblemList.txt
Reviewed-by: dcubed
2023-03-17 10:07:37 +00:00
Richard Reingruber
9d518c528b 8299375: [PPC64] GetStackTraceSuspendedStressTest tries to deoptimize frame with invalid fp
Reviewed-by: mdoerr
2023-03-17 08:45:17 +00:00
Matthias Baesken
ebac7eec8e 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Reviewed-by: asemenyuk, almatvee
2023-03-17 07:55:55 +00:00
Kosta Stojiljkovic
36995c5a75 8304242: CPUInfoTest fails because "serialize" CPU feature is not known
Reviewed-by: kvn, sviswanathan, thartmann
2023-03-17 06:20:24 +00:00
Prasanta Sadhukhan
6b42275461 7154070: in SwingSet2, switching between LaFs it's easy to lose JTable dividers
6788475: Changing to Nimbus LAF and back doesn't reset look and feel of JTable completely

Reviewed-by: tr, abhiscxk, honkar, jdv
2023-03-17 03:35:01 +00:00
Pavel Rappo
8eed7dea7b 8304146: Refactor VisibleMemberTable (LocalMemberTable)
Reviewed-by: jjg
2023-03-16 22:23:41 +00:00
David Holmes
a487a270dc 8303150: DCmd framework unnecessarily creates a DCmd instance on registration
Reviewed-by: fparain, stuefe, kevinw
2023-03-16 21:00:21 +00:00
Chen Liang
2e987d798a 8304360: Test to ensure ConstantDescs fields work
Reviewed-by: mchung, jvernee
2023-03-16 20:55:29 +00:00
Jaikiran Pai
2f23c80e0d 8304225: Remove javax/script/Test7.java from ProblemList
Reviewed-by: naoto
2023-03-16 15:33:31 +00:00
Ivan Walulya
96889bf3e4 8191565: Last-ditch Full GC should also move humongous objects
Reviewed-by: tschatzl, sjohanss
2023-03-16 14:15:39 +00:00
Albert Mingkun Yang
f629152021 8304055: G1: Remove OldGCAllocRegion::release
Reviewed-by: iwalulya, tschatzl
2023-03-16 13:16:32 +00:00
Albert Mingkun Yang
b5108b4f37 8303749: Serial: Use more strict card table API
Reviewed-by: tschatzl, iwalulya
2023-03-16 13:15:46 +00:00
Chen Liang
7dbab81d3c 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField
Reviewed-by: jvernee
2023-03-16 12:31:01 +00:00
Jorn Vernee
d4eb395335 8303684: Lift upcall sharing mechanism to AbstractLinker (mainline)
Reviewed-by: mcimadamore
2023-03-16 12:27:25 +00:00
Per Minborg
dfc7214a3e 8304283: Modernize the switch statements in jdk.internal.foreign
Reviewed-by: mcimadamore
2023-03-16 12:11:10 +00:00
Ilya Korennoy
7277bb19f1 8293324: ciField.hpp has two methods to return field's offset
Reviewed-by: thartmann
2023-03-16 08:38:22 +00:00
Damon Fenacci
b7945bc9e5 8303154: Investigate and improve instruction cache flushing during compilation
Reviewed-by: thartmann, kvn
2023-03-16 08:28:55 +00:00
Abhishek Kumar
eefbaa2956 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change
Reviewed-by: serb, asemenov
2023-03-16 05:00:40 +00:00
changpeng1997
42dd9077a0 8302906: AArch64: Add SVE backend support for vector unsigned comparison
Reviewed-by: aph, eliu
2023-03-16 04:16:04 +00:00
Jorn Vernee
2b81faeb35 8303022: "assert(allocates2(pc)) failed: not in CodeBuffer memory" When linking downcall handle
Reviewed-by: kvn, vlivanov
2023-03-15 23:43:18 +00:00
Weijun Wang
be08a256ab 8304264: Debug messages always show up for NativeGSS
Reviewed-by: mullan
2023-03-15 21:22:53 +00:00
Daniel Jeliński
1ae69e3e91 8304287: Problemlist java/net/SocketOption/OptionsTest.java
Reviewed-by: dfuchs
2023-03-15 20:51:22 +00:00
Vladimir Kozlov
116627dfb0 8304267: JDK-8303415 missed change in Zero Interpreter
Reviewed-by: dcubed
2023-03-15 18:08:10 +00:00
Matthew Donovan
824a5e4c60 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: rhalade
2023-03-15 17:39:11 +00:00
Leonid Mesnik
7ad48ea3ad 8300317: vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
Reviewed-by: dholmes, mseledtsov
2023-03-15 17:15:51 +00:00
Rich DiCroce
35a2969057 8302659: Modernize Windows native code for NetworkInterface
Reviewed-by: ihse, djelinski, alanb, michaelm
2023-03-15 17:06:32 +00:00
Emanuel Peter
01e6920581 8298935: fix independence bug in create_pack logic in SuperWord::find_adjacent_refs
Reviewed-by: kvn, jbhateja
2023-03-15 14:02:45 +00:00
Julian Waters
3d77e217b2 8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP
Reviewed-by: kbarrett, dholmes
2023-03-15 13:34:48 +00:00
Johan Sjölen
e3777b0c49 8270865: Print process ID with -Xlog:os
Reviewed-by: dholmes, ccheung
2023-03-15 10:46:51 +00:00
Arno Zeller
349139b2cc 8304030: Configure call fails on AIX when using --with-gtest option.
Reviewed-by: mbaesken, erikj
2023-03-15 07:55:07 +00:00
Adam Sotona
714b5f036f 8294962: Convert java.base/jdk.internal.module package to use the Classfile API to modify and write module-info.class
Reviewed-by: alanb, mchung
2023-03-15 07:09:55 +00:00
Alexandre Iline
065d3e0d58 8304171: Fix layout of JCov instrumented bundle on Mac OS
Reviewed-by: erikj
2023-03-14 23:36:57 +00:00
Leonid Mesnik
cd41c69d44 8303705: Field sleeper.started should be volatile JdbLockTestTarg.java
Reviewed-by: dholmes
2023-03-14 21:52:34 +00:00
Harshitha Onkar
f5c8b68c1c 8301998: Update HarfBuzz to 7.0.1
Reviewed-by: erikj, prr
2023-03-14 20:18:44 +00:00
Daniel D. Daugherty
617c15f5a1 8304172: ProblemList serviceability/sa/UniqueVtableTest.java
8304175: ProblemList compiler/vectorapi/VectorLogicalOpIdentityTest.java on 2 platforms

Reviewed-by: azvegint
2023-03-14 20:09:51 +00:00
Pavel Rappo
f81e1def8f 8303882: Refactor some iterators in jdk.compiler
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
2023-03-14 18:36:46 +00:00
Julian Waters
45809fd0c0 8295884: Implement IDE support for Eclipse
Reviewed-by: erikj
2023-03-14 17:32:25 +00:00
Daniel Jeliński
baf11e734f 8303814: getLastErrorString should avoid charset conversions
Reviewed-by: naoto, cjplummer, rriggs
2023-03-14 17:18:56 +00:00
Calvin Cheung
830fd41346 8302795: Shared archive failed on old version class with jsr bytecode
Reviewed-by: minqi, matsaave
2023-03-14 17:15:19 +00:00
Kevin Walls
4e631fa43f 8298966: Deprecate JMX Subject Delegation and the method JMXConnector.getMBeanServerConnection(Subject) for removal.
Reviewed-by: mchung, dfuchs
2023-03-14 16:59:27 +00:00
Alexey Bakhtin
10f1674625 8303809: Dispose context in SPNEGO NegotiatorImpl
Reviewed-by: dfuchs, weijun
2023-03-14 16:41:09 +00:00
Hannes Wallnöfer
9f9ab02ff6 8303895: Simplify and clean up LinkFactory code
Reviewed-by: prappo
2023-03-14 16:20:35 +00:00
Thomas Stuefe
a00f5d24d3 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: dholmes, rkennke
2023-03-14 15:51:20 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Christian Hagedorn
c466cdf973 8299546: C2: MulLNode::mul_ring() wrongly returns bottom type due to casting errors with large numbers
Reviewed-by: iveresov, kvn, qamai
2023-03-14 14:57:47 +00:00
Coleen Phillimore
55aa122462 8304059: Use InstanceKlass in dependencies
Reviewed-by: vlivanov, thartmann
2023-03-14 13:27:55 +00:00
Vladimir Kozlov
ec1eb00ed3 8303415: Add VM_Version::is_intrinsic_supported(id)
Reviewed-by: thartmann, dholmes
2023-03-14 12:20:14 +00:00
Eirik Bjorsnos
31680b2bcf 8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options
Reviewed-by: weijun
2023-03-14 11:48:59 +00:00
Ivan Walulya
0cc0f063e2 8304015: G1: Metaspace-induced GCs should not trigger maximal compaction
Reviewed-by: ayang, tschatzl
2023-03-14 10:46:16 +00:00
Adam Sotona
43eca1dcb1 8303910: jdk/classfile/CorpusTest.java failed 1 of 6754 tests
Reviewed-by: jpai
2023-03-14 08:36:05 +00:00
Matthias Baesken
b6d70f2c49 8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
Reviewed-by: chagedorn
2023-03-14 08:08:28 +00:00
Julian Waters
2bb990edde 8301244: Tidy up compiler specific warnings files
Reviewed-by: kbarrett, dholmes
2023-03-14 07:24:18 +00:00
Alisen Chung
c073ef2ed5 8303482: Update LCMS to 2.15
Reviewed-by: serb, prr, dnguyen
2023-03-14 04:04:19 +00:00
Feilong Jiang
49181b81dd 8303955: RISC-V: Factor out the tmp parameter from copy_memory and copy_memory_v
Reviewed-by: fyang, yzhu
2023-03-14 00:55:21 +00:00
Pavel Rappo
7bbc5e0efb 8300517: Refactor VisibleMemberTable (method members)
Reviewed-by: jjg
2023-03-13 20:53:52 +00:00
Patricio Chilano Mateo
a8f662ecb2 8303908: Add missing check in VTMS_transition_disable_for_all() for suspend mode
Reviewed-by: sspitsyn, dholmes
2023-03-13 20:15:23 +00:00
Ilarion Nakonechnyy
5685107579 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: coleenp, dholmes
2023-03-13 17:26:25 +00:00
Justin King
671a45219f 8303606: Memory leaks in Arguments::parse_each_vm_init_arg
Reviewed-by: dholmes, fparain
2023-03-13 16:23:34 +00:00
Adam Sotona
a95bc7acd0 8294974: Convert jdk.jshell/jdk.jshell.execution.LocalExecutionControl to use the Classfile API to instrument classes
Reviewed-by: jlahoda
2023-03-13 15:53:01 +00:00
Alexey Ivanov
f835aaafc7 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Reviewed-by: prr, tr, serb
2023-03-13 15:05:15 +00:00
Daniel Fuchs
466ffebcae 8303965: java.net.http.HttpClient should reset the stream if response headers contain malformed header fields
Reviewed-by: jpai
2023-03-13 14:24:56 +00:00
Andrey Turbanov
431e702b67 8303213: Avoid AtomicReference in TextComponentPrintable
Reviewed-by: serb, aivanov
2023-03-13 13:08:52 +00:00
Albert Mingkun Yang
4cf4c599b9 8303824: Parallel: Use more strict card table API
Reviewed-by: tschatzl, iwalulya, ysr
2023-03-13 11:30:52 +00:00
Jasmine K
8e41bf222f 8303238: Create generalizations for existing LShift ideal transforms
Reviewed-by: redestad, thartmann
2023-03-13 11:10:42 +00:00
Thomas Schatzl
805a4e6806 8303883: Confusing parameter name in G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes
Reviewed-by: ayang, iwalulya
2023-03-13 11:06:20 +00:00
Adam Sotona
25e7ac226a 8294966: Convert jdk.jartool/sun.tools.jar.FingerPrint to use the ClassFile API to parse JAR entries
Reviewed-by: mchung
2023-03-13 10:13:45 +00:00
Thomas Schatzl
3018b4705e 8303969: Limit printed failures within an object during G1 heap verification
Reviewed-by: ayang, iwalulya
2023-03-13 09:57:24 +00:00
Thomas Schatzl
b575e54bc9 8303963: Replace various encodings of UINT/SIZE_MAX in gc code
Reviewed-by: ayang, kbarrett
2023-03-13 09:56:40 +00:00
Robbin Ehn
c183fce954 8300926: Several startup regressions ~6-70% in 21-b6 all platforms
Reviewed-by: eosterlund, dcubed, coleenp
2023-03-13 09:34:00 +00:00
Tomas Zezula
31e1e3975b 8303646: [JVMCI] Add possibility to lookup ResolvedJavaType from jclass.
Reviewed-by: never
2023-03-13 08:41:40 +00:00
Tomas Zezula
1148a659a8 8303678: [JVMCI] Add possibility to convert object JavaConstant to jobject.
Reviewed-by: never
2023-03-13 08:40:12 +00:00
Daniel Skantz
d20bde29f2 8294715: Add IR checks to the reduction vectorization tests
Reviewed-by: rcastanedalo, epeter
2023-03-13 07:33:46 +00:00
Eirik Bjorsnos
c313e1ac7b 8303922: build-test-lib target is broken
Reviewed-by: erikj, jwaters
2023-03-11 18:44:47 +00:00
Daniel D. Daugherty
fbc76c2c78 8304017: ProblemList com/sun/jdi/InvokeHangTest.java on windows-x64 in vthread mode
8304018: ProblemList javax/swing/JColorChooser/Test6827032.java on windows-x64
8304019: ProblemList java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java on windows-x64

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

Reviewed-by: dholmes, coleenp
2023-03-08 02:37:06 +00:00
Erik Gahlin
9b10c69475 8303622: JFR: Missing message with Objects.requireNonNull
Reviewed-by: mgronlun
2023-03-07 23:32:09 +00:00
David Holmes
d7298245d6 8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: kbarrett, djelinski
2023-03-07 22:56:33 +00:00
David Holmes
5f1108f8f0 8303151: DCmd framework cleanups
Reviewed-by: jsjolen, stuefe, yyang
2023-03-07 22:54:07 +00:00
Erik Gahlin
32f4d8b5ea 8303681: JFR: RemoteRecordingStream::setMaxAge() should accept null
Reviewed-by: mgronlun
2023-03-07 22:32:45 +00:00
Ravali Yatham
9f9d678591 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: alanb, mchung
2023-03-07 22:31:50 +00:00
Joe Darcy
b5b5cba7fe 8302801: Remove fdlibm C sources
Reviewed-by: bpb, dholmes, alanb, kvn
2023-03-07 22:28:12 +00:00
Yudi Zheng
4d4eadeae3 8302452: [JVMCI] Export _poly1305_processBlocks, JfrThreadLocal fields to JVMCI compiler.
Reviewed-by: dnsimon, never
2023-03-07 18:44:01 +00:00
Justin Lu
f1f4e1de44 6453901: (cal) clean up sun.util.calendar classes
Reviewed-by: naoto, lancea
2023-03-07 18:30:28 +00:00
Justin Lu
acf899612f 8303275: Use {@Return and @linkplain in Locale and related classes
Reviewed-by: naoto
2023-03-07 18:18:59 +00:00
Ian Graves
ac3ab5b007 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
2023-03-07 17:20:04 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Johan Sjölen
43288bbd68 8301477: Replace NULL with nullptr in os/aix
Reviewed-by: stuefe, coleenp, tsteele
2023-03-07 13:16:34 +00:00
Kim Barrett
008c5eb4dd 8303621: BitMap::iterate should support lambdas and other function objects
Reviewed-by: aboldtch, tschatzl, stefank
2023-03-07 12:59:26 +00:00
Amit Kumar
52d3008773 8303497: [s390x] ProblemList TestUnreachableInnerLoop.java
Reviewed-by: thartmann
2023-03-07 08:57:27 +00:00
Roland Westrelin
3f2d929dc3 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: kvn, thartmann
2023-03-07 08:37:37 +00:00
Albert Mingkun Yang
7fbfc884f0 8303534: Merge CompactibleSpace into ContiguousSpace
Reviewed-by: cjplummer, tschatzl
2023-03-07 08:12:26 +00:00
Johan Sjölen
97c25df4b8 8204550: NMT: RegionIterator does not need to keep _current_size
Reviewed-by: stuefe, gziemski
2023-03-07 07:24:54 +00:00
Tobias Hartmann
94eda53d98 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: kvn, roland
2023-03-07 06:59:23 +00:00
Mat Carter
c51d40cfeb 8303607: SunMSCAPI provider leaks memory and keys
Reviewed-by: weijun
2023-03-07 02:12:30 +00:00
Jonathan Gibbons
f64ed09e9a 8303540: Eliminate unnecessary reference to javac internal class
Reviewed-by: hannesw
2023-03-06 22:13:52 +00:00
Matthew Donovan
ccfe1675a2 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test
Reviewed-by: dfuchs, smarks
2023-03-06 19:18:45 +00:00
Naoto Sato
cfb0a25a4e 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Reviewed-by: iris, jpai, rriggs, lancea
2023-03-06 17:22:52 +00:00
Weijun Wang
a97271e3b5 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded
Reviewed-by: mullan
2023-03-06 16:20:14 +00:00
Doug Simon
cac81ddc92 8303577: [JVMCI] OOME causes crash while translating exceptions
Reviewed-by: kvn, never
2023-03-06 16:10:02 +00:00
Leonid Mesnik
877ab659b9 8303264: Refactor nsk/stress/strace to extract shared and remove redundant code
Reviewed-by: mseledtsov, dholmes
2023-03-06 15:33:55 +00:00
Leonid Mesnik
ae8730fd62 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-06 15:32:01 +00:00
Jorn Vernee
5977f266d0 8303604: Passing by-value structs whose size is not power of 2 doesn't work on all platforms (mainline)
Reviewed-by: mcimadamore
2023-03-06 15:18:39 +00:00
Jorn Vernee
dccfe8a2ee 8303582: Reduce duplication in jdk/java/foreign tests
Reviewed-by: mcimadamore
2023-03-06 14:52:04 +00:00
Afshin Zafari
8e2014527e 8300654: Remove JVMFlag::flag_error_str as it is unused
Reviewed-by: dholmes, fparain
2023-03-06 12:46:18 +00:00
Erik Österlund
bdffe460cd 8301222: Generalize check_release_entry in OopStorage
Reviewed-by: tschatzl, kbarrett
2023-03-06 11:14:32 +00:00
Albert Mingkun Yang
ec4e8aa4f7 8303244: G1: call CardTable::clear_MemRegion directly
Reviewed-by: ysr, kbarrett
2023-03-06 10:46:16 +00:00
Prasanta Sadhukhan
5753ab5c47 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to show opaque button"
Reviewed-by: tr, jdv
2023-03-06 10:20:23 +00:00
Andrey Turbanov
fa1cebedb5 8303266: Prefer ArrayList to LinkedList in JImageTask
Reviewed-by: jlaskey
2023-03-06 08:42:41 +00:00
Erik Österlund
5f153e056b 8302780: Add support for vectorized arraycopy GC barriers
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: ayang, fyang, rcastanedalo, aph
2023-03-06 07:58:23 +00:00
Alexander Scherbatiy
d00a767047 8295737: macOS: Print content cut off when width > height with portrait orientation
Reviewed-by: prr
2023-03-06 07:48:37 +00:00
Alexander Scherbatiy
15c76e4c02 8301254: UNIX sun/font coding does not detect SuSE in openSUSE Leap distribution
Reviewed-by: prr
2023-03-06 07:40:38 +00:00
Chris Plummer
3eff1a0225 8303630: Move nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java back to general problem list
Reviewed-by: dholmes
2023-03-06 07:16:18 +00:00
Yi Yang
10d6a8e66a 8299518: HotSpotVirtualMachine shared code across different platforms
Reviewed-by: cjplummer, dholmes
2023-03-06 02:02:29 +00:00
Fei Yang
148900c2dc 8303562: Remove obsolete comments in os::pd_attempt_reserve_memory_at
Reviewed-by: stuefe
2023-03-06 00:33:46 +00:00
Joe Darcy
1bb39a95eb 8302027: Port fdlibm trig functions (sin, cos, tan) to Java
Reviewed-by: bpb
2023-03-04 23:52:03 +00:00
Doug Simon
9fdbf3cfc4 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: kvn
2023-03-04 21:52:06 +00:00
Alan Bateman
629a9053f0 8303242: ThreadMXBean issues with virtual threads
Reviewed-by: mchung, pchilanomate
2023-03-04 07:33:33 +00:00
Raffaello Giulietti
5b2e2e4695 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Reviewed-by: rriggs, alanb
2023-03-03 20:51:13 +00:00
Matias Saavedra Silva
cd4b88d0d2 8292269: Replace FileMapInfo::fail_continue() with Unified Logging
Reviewed-by: iklam, dholmes, ccheung
2023-03-03 19:00:27 +00:00
Brian Burkhalter
ae290541d1 8303175: (fs) Deprecate com.sun.nio.file.SensitivityWatchEventModifier for removal
Reviewed-by: lancea, alanb
2023-03-03 18:38:13 +00:00
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Roger Riggs
99443142cc 8303587: Remove VMOutOfMemoryError001 test from the problem list after 8303198
Reviewed-by: cjplummer
2023-03-03 18:28:06 +00:00
Xue-Lei Andrew Fan
a50dc67a4f 8303527: update for deprecated sprintf for jdk.hotspot.agent
Reviewed-by: cjplummer
2023-03-03 18:11:48 +00:00
Justin King
40c5edfcc4 8303181: Memory leak in ClassLoaderExt::setup_app_search_path
Reviewed-by: ccheung, dholmes
2023-03-03 18:07:40 +00:00
Chris Plummer
29ee7c3b70 8303523: Cleanup problem listing of nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java
Reviewed-by: dholmes, kevinw
2023-03-03 17:38:29 +00:00
Justin Lu
e3016c1142 8303472: Display name for region TR
Reviewed-by: naoto
2023-03-03 17:18:44 +00:00
Afshin Zafari
ae797c64af 8301117: Remove old_size param from ResizeableResourceHashtable::resize()
Reviewed-by: dholmes, coleenp
2023-03-03 16:45:58 +00:00
Afshin Zafari
5085bd5f05 8297936: Use reachabilityFence to manage liveness in ClassUnload tests
Reviewed-by: coleenp, dholmes
2023-03-03 16:44:27 +00:00
Roger Riggs
379f2061aa 8303198: System and Runtime.exit() resilience to logging errors
Reviewed-by: dholmes, jpai, alanb
2023-03-03 16:14:45 +00:00
Doug Simon
80739e11b5 8279619: [JVMCI] improve EncodedSpeculationReason
Reviewed-by: never
2023-03-03 15:52:46 +00:00
Glavo
7449e1c661 8299807: newStringNoRepl should avoid copying arrays for ASCII compatible charsets
Reviewed-by: rriggs
2023-03-03 15:41:03 +00:00
Jorn Vernee
c6de66c03f 8303516: HFAs with nested structs/unions/arrays not handled correctly on AArch64
Reviewed-by: mcimadamore
2023-03-03 14:33:56 +00:00
Daniel Fuchs
cbdc7a6f88 8303481: CancelRequestTest assertTrue failing with AssertionError due to java.util.concurrent.CompletionException: java.io.EOFException: EOF reached while reading
Reviewed-by: jpai, djelinski
2023-03-03 13:18:23 +00:00
Amit Kumar
8bf084ced9 8303499: [s390x] ProblemList StressStackOverflow
Reviewed-by: alanb
2023-03-03 13:17:31 +00:00
Afshin Zafari
ff364c1906 8301622: ProcessTools.java compilation gets ThreadDeath deprecation warning
Reviewed-by: dholmes, alanb
2023-03-03 13:16:43 +00:00
Sean Mullan
df9aad018a 8297955: LDAP CertStore should use LdapName and not String for DNs
Reviewed-by: weijun, rhalade
2023-03-03 13:06:11 +00:00
changpeng1997
d23a8bfb14 8297753: AArch64: Add optimized rules for vector compare with zero on NEON
Reviewed-by: aph
2023-03-03 12:11:10 +00:00
Vicente Romero
339ca88783 8303539: javadoc typos in Attr
Reviewed-by: iris, jjg
2023-03-03 10:32:35 +00:00
Pavel Rappo
e1745bc981 8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
2023-03-03 09:12:14 +00:00
Yi Yang
c961a918ad 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field
Reviewed-by: kvn, thartmann
2023-03-03 02:00:45 +00:00
Hao Sun
35003b5f7b 8302830: AArch64: Fix the mismatch between cas.m4 and aarch64.ad
Reviewed-by: aph, xgong
2023-03-03 01:24:12 +00:00
Yi-Fan Tsai
f3abc4063d 8302783: Improve CRC32C intrinsic with crypto pmull on AArch64
Reviewed-by: simonis, phh
2023-03-02 22:38:58 +00:00
Justin Lu
45d8a175b1 8303405: fix @returnss typo in ReflectionFactory
Reviewed-by: jpai, mchung, martin, iris, lancea, naoto
2023-03-02 20:23:04 +00:00
Xue-Lei Andrew Fan
e7113dc8a5 8302495: update for deprecated sprintf for java.desktop
Reviewed-by: prr
2023-03-02 18:56:05 +00:00
Daniel Jeliński
843d632ad4 8303442: Clean up w2k_lsa_auth linker parameters
Reviewed-by: erikj
2023-03-02 18:54:27 +00:00
Andrey Turbanov
d4dcba0463 8303267: Prefer ArrayList to LinkedList in ConcurrentLocksPrinter
Reviewed-by: cjplummer, sspitsyn
2023-03-02 18:40:29 +00:00
Mikhailo Seledtsov
2c7d2c0ea9 8303411: JFR problem list entry for JDK-8247776 should be removed
Reviewed-by: lmesnik
2023-03-02 18:38:50 +00:00
Naoto Sato
0b63557941 8303039: Utilize coverageLevels.txt
Reviewed-by: iris, joehw
2023-03-02 18:31:53 +00:00
Mandy Chung
32247c336a 8303476: Add the runtime version in the release file of a JDK image
Reviewed-by: erikj
2023-03-02 17:05:01 +00:00
Chris Plummer
0926d0cbce 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java
Reviewed-by: amenkov, kevinw, lmesnik
2023-03-02 16:03:38 +00:00
Matthias Baesken
b51ea4204e 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: clanger, mdoerr, weijun
2023-03-02 14:21:06 +00:00
Saint Wesonga
fb13063943 8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
Reviewed-by: jvernee
2023-03-02 13:26:27 +00:00
Thomas Stuefe
c9afd55ed6 8302820: Remove costs for NMTPreInit when NMT is off
Reviewed-by: jsjolen, adinn
2023-03-02 13:21:25 +00:00
Jaikiran Pai
72de24e59a 8303457: Introduce convenience test library APIs for creating test servers for tests in test/jdk/java/net/httpclient
Reviewed-by: dfuchs
2023-03-02 11:24:06 +00:00
Kim Barrett
3091744fff 8303418: Improve parameter and variable names in BitMap
Reviewed-by: tschatzl, aboldtch
2023-03-02 09:43:56 +00:00
Jan Lahoda
dbb562d3b1 8303355: The Depend plugin does fully recompile when primitive type changes
Reviewed-by: erikj, vromero
2023-03-02 09:41:11 +00:00
Jan Lahoda
4619e8bae8 8297587: Upgrade JLine to 3.22.0
Reviewed-by: vromero
2023-03-02 08:27:44 +00:00
Emanuel Peter
99f5687eb1 8302144: Move ZeroTLABTest.java to tier3
Reviewed-by: thartmann, kvn
2023-03-02 07:22:21 +00:00
Tyler Steele
dc08216f0e 8303186: Missing Classpath exception from Continuation.c
Reviewed-by: dholmes, jpai
2023-03-02 01:06:02 +00:00
Erik Gahlin
d10d40a5b2 8303077: JFR: Add example usage to jdk.jfr
Reviewed-by: mgronlun
2023-03-01 22:54:03 +00:00
Valerie Peng
394eac850c 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers
Reviewed-by: weijun
2023-03-01 22:40:50 +00:00
David Holmes
6e19387f29 8303070: Memory leak in DCmdArgument<char*>::parse_value
Reviewed-by: fparain, jcking, jsjolen, eosterlund, coleenp
2023-03-01 21:45:11 +00:00
Eirik Bjorsnos
9fc518ff8c 8303401: Add a Vector API equalsIgnoreCase micro benchmark
Reviewed-by: ecaspole, sviswanathan, psandoz
2023-03-01 18:18:36 +00:00
Justin Lu
05faa7321b 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
2023-03-01 18:13:42 +00:00
Justin King
4c985e527a 8303183: Memory leak in Arguments::init_shared_archive_paths
Reviewed-by: jsjolen, ccheung, dholmes
2023-03-01 15:52:49 +00:00
Albert Mingkun Yang
6af17c1b7d 8303362: Serial: Move CardTableRS to serial directory
Reviewed-by: tschatzl, kbarrett
2023-03-01 15:15:22 +00:00
Ivan Walulya
c1e77e0564 8303252: G1: Return early from Full-GC if no regions are selected for compaction.
Reviewed-by: tschatzl, ayang
2023-03-01 13:52:21 +00:00
Thomas Schatzl
8b86e1ee11 8303344: After JDK-8302760, G1 heap verification does not exit VM after errors
Reviewed-by: iwalulya, ayang
2023-03-01 12:34:53 +00:00
Thomas Schatzl
4c5d9cfc64 8303013: Always do remembered set verification during G1 Full GC
Reviewed-by: ayang, iwalulya
2023-03-01 12:34:02 +00:00
Doug Simon
2451c5a462 8303357: [JVMCI] thread is _thread_in_vm when committing JFR compilation event
Reviewed-by: never, kvn
2023-03-01 10:47:49 +00:00
Kim Barrett
539a4951ee 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting
Reviewed-by: coleenp, stuefe
2023-03-01 10:19:28 +00:00
Roland Westrelin
6b07243f56 8301630: C2: 8297933 broke type speculation in some cases
Reviewed-by: chagedorn, thartmann
2023-03-01 09:36:22 +00:00
Leonid Mesnik
3aeefbf1de 8303421: [BACKOUT] 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-01 05:21:45 +00:00
Leonid Mesnik
1fdaf252b6 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes, rriggs
2023-03-01 00:50:35 +00:00
Mikael Vidstedt
65da2c5d2d 8303412: Update linux_x64-to-linux_aarch64 cross compilation devkit at Oracle
Reviewed-by: dholmes
2023-03-01 00:48:59 +00:00
Justin Lu
7e47d51e10 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
2023-03-01 00:36:22 +00:00
Andrey Turbanov
881517586d 8303216: Prefer ArrayList to LinkedList in sun.net.httpserver.ServerImpl
Reviewed-by: jpai, vtewari, stsypanov, dfuchs
2023-02-28 20:21:07 +00:00
Dmitry Markov
a10d5ac61b 8303130: Document required Accessibility permissions on macOS
Reviewed-by: erikj, aivanov, prr, serb
2023-02-28 19:50:49 +00:00
Julian Waters
50dc041ee6 8303227: JniObjWithEnv should be NullablePointer compliant
Reviewed-by: asemenyuk
2023-02-28 18:35:40 +00:00
Joe Darcy
61e8867591 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
2023-02-28 18:33:53 +00:00
Erik Gahlin
6423065b7d 8303261: JFR: jdk/jfr/api/consumer/streaming/TestJVMCrash.java doesn't retry
Reviewed-by: mgronlun
2023-02-28 16:42:19 +00:00
Pavel Rappo
dc5ea6aeb5 8303350: Fix mistyped {@code}
Reviewed-by: jpai
2023-02-28 15:40:05 +00:00
Jie Fu
4a415ad584 8303351: [IR Framework] Add missing cpu feature avx512bw after JDK-8302681
Reviewed-by: epeter, thartmann
2023-02-28 14:44:38 +00:00
Albert Mingkun Yang
30302d185a 8303250: Call ct_max_alignment_constraint using the base class
Reviewed-by: kbarrett, tschatzl
2023-02-28 13:39:58 +00:00
Lutz Schmidt
e144783eb2 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls
Reviewed-by: mbaesken, mdoerr
2023-02-28 12:52:00 +00:00
Darragh Clarke
5feb13b55d 8301701: java/net/DatagramSocket/DatagramSocketMulticasting.java should be hardened
Reviewed-by: dfuchs
2023-02-28 06:51:37 +00:00
Archie L. Cobbs
1e3c9fd67e 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
2023-02-28 03:33:14 +00:00
Kim Barrett
14a014d430 8302124: HotSpot Style Guide should permit noreturn attribute
Reviewed-by: dcubed, iveresov, dholmes, tschatzl, jwaters, kvn
2023-02-28 01:59:03 +00:00
Erik Gahlin
bca60f4767 8303249: JFR: Incorrect description of dumponexit
Reviewed-by: mgronlun
2023-02-27 22:33:34 +00:00
David Holmes
f7f10367b2 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program
Reviewed-by: jsjolen, tschatzl, chagedorn
2023-02-27 21:38:12 +00:00
Ian Graves
784f7b1462 8293667: Align jlink's --compress option with jmod's --compress option
Reviewed-by: mchung
2023-02-27 21:05:36 +00:00
Erik Gahlin
54603aa1b7 8303208: JFR: 'jfr print' displays incorrect timestamps
Reviewed-by: mgronlun
2023-02-27 18:13:27 +00:00
Roger Riggs
4c169d2d7c 8303253: Remove unnecessary calls to super() in java.time value based classes
Reviewed-by: naoto, mchung, lancea
2023-02-27 18:10:40 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Brian Burkhalter
42330d28da 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
2023-02-27 17:11:29 +00:00
Naoto Sato
a253b46021 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
2023-02-27 16:35:59 +00:00
Archie L. Cobbs
55e6bb6b85 8302685: Some javac unit tests aren't reliably closing open files
Reviewed-by: darcy, vromero
2023-02-27 16:21:57 +00:00
Matias Saavedra Silva
f5a12768fb 8262895: [macos_aarch64] runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Reviewed-by: dholmes, coleenp
2023-02-27 15:53:33 +00:00
Julian Waters
2fe4e5f8d7 8303169: Remove Windows specific workaround from libdt
Reviewed-by: cjplummer, sspitsyn, clanger
2023-02-27 15:35:58 +00:00
Johan Sjölen
f2b03f9a2c 8303051: Stop saving 5 chunks in each ChunkPool
Reviewed-by: rehn, coleenp
2023-02-27 11:05:07 +00:00
Erik Gahlin
fbc036e745 8303135: JFR: Log periodic events using periodic tag
Reviewed-by: mgronlun
2023-02-27 09:47:01 +00:00
Prasanta Sadhukhan
dbb5581eba 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished
Reviewed-by: aivanov, serb
2023-02-27 09:19:57 +00:00
Darragh Clarke
306134dcf9 8300792: Refactor examples in java.net.http to use @snippet
Reviewed-by: dfuchs, jpai
2023-02-27 09:18:56 +00:00
Daniel Jeliński
a2c5a4ac9e 8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
Reviewed-by: dfuchs
2023-02-27 07:52:03 +00:00
Damon Fenacci
db217c9ad6 8292583: Comment for ciArrayKlass::make is wrong
Reviewed-by: thartmann, rcastanedalo
2023-02-27 07:33:13 +00:00
Emanuel Peter
2613b94f28 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
Reviewed-by: kvn, vlivanov
2023-02-27 07:16:59 +00:00
Emanuel Peter
d2660a6915 8303045: Remove RegionNode::LoopStatus::NeverIrreducibleEntry assert with wrong assumption
Reviewed-by: chagedorn, kvn
2023-02-27 07:15:27 +00:00
Emanuel Peter
1794f49751 8302681: [IR Framework] Only allow cpuFeatures from a verified list
Reviewed-by: thartmann, pli, chagedorn, kvn
2023-02-27 07:12:18 +00:00
Sergey Bylokhov
a43931b79c 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Reviewed-by: dholmes
2023-02-26 23:36:59 +00:00
Andrey Turbanov
2fb1e3b7e7 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer
Reviewed-by: serb, dnguyen
2023-02-25 13:40:32 +00:00
Andrey Turbanov
3a9f491caa 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
Reviewed-by: dfuchs, jpai, alanb
2023-02-25 13:39:36 +00:00
Andrey Turbanov
1dbd18ac63 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
2023-02-25 13:38:47 +00:00
Alan Bateman
2e78d838a5 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
2023-02-25 07:48:57 +00:00
Eirik Bjorsnos
17e3769ed7 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
2023-02-25 07:48:03 +00:00
Leonid Mesnik
b4ea80731c 8288912: vmTestbase/nsk/stress/strace/strace002.java fails with Unexpected method name: currentCarrierThread
Reviewed-by: dholmes
2023-02-24 19:38:55 +00:00
Brian Burkhalter
ccf3340e82 8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
2023-02-24 19:02:12 +00:00
Justin King
83d77b1cbb 8303072: Memory leak in exeNullCallerTest.cpp
Reviewed-by: dholmes
2023-02-24 15:49:00 +00:00
Julian Waters
7d8b8ba9c4 8303131: pandoc.exe mangles all processed html files
Reviewed-by: erikj
2023-02-24 08:47:41 +00:00
Thomas Stuefe
8f7c4969c2 8302810: NMT gtests don't correctly check for marked ranges
Reviewed-by: gziemski, dholmes
2023-02-24 07:58:25 +00:00
Damon Nguyen
1a07871454 8302173: Button border overlaps with button icon on macOS system LaF
Reviewed-by: honkar, psadhukhan
2023-02-23 20:41:25 +00:00
Erik Gahlin
796cdd52f5 8302677: JFR: Cache label and contentType in EventType and ValueDescriptor
Reviewed-by: mgronlun
2023-02-23 20:12:54 +00:00
Erik Gahlin
6b24b4a70f 8302821: JFR: Periodic task thread spins after recording has stopped
Reviewed-by: mgronlun
2023-02-23 19:53:21 +00:00
Evgeny Nikitin
4d33fbd582 8303089: [jittester] Add time limit to IRTree generation
Reviewed-by: iveresov, lmesnik
2023-02-23 19:51:02 +00:00
Justin Lu
f612dcfebe 8302512: Update IANA Language Subtag Registry to Version 2023-02-14
Reviewed-by: naoto
2023-02-23 19:05:40 +00:00
Leonid Mesnik
6397cb611a 8301200: Don't scale timeout stress with timeout factor
Reviewed-by: lkorinth
2023-02-23 18:20:53 +00:00
Mikhailo Seledtsov
71dd7eaf7f 8303085: Runtime problem list cleanup
Reviewed-by: lmesnik, dholmes
2023-02-23 18:02:43 +00:00
Erik Gahlin
4b6acad0bd 8302883: JFR: Improve periodic events
Reviewed-by: mgronlun
2023-02-23 17:20:53 +00:00
Daniel D. Daugherty
a2471b37e3 8303125: ProblemList vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
Reviewed-by: jdv
2023-02-23 17:07:52 +00:00
Christoph Dreis
58ca711a97 8303078: Reduce allocations when pretty printing JCTree during compilation
Reviewed-by: jjg, vromero
2023-02-23 15:25:05 +00:00
Justin King
2cf8b8607d 8303071: Memory leaks in libjdwp
Reviewed-by: sspitsyn
2023-02-23 15:23:03 +00:00
Stefan Karlsson
f113b04ab9 8302927: Unproblemlist Fuzz.java from ProblemList-zgc.txt again
Reviewed-by: sjohanss, eosterlund
2023-02-23 14:07:37 +00:00
Claes Redestad
1bab93b2d0 8303073: (bf) Temporarily reinstate private DirectByteBuffer(long, int) constructor
Reviewed-by: alanb, bpb
2023-02-23 10:31:14 +00:00
Matthias Baesken
221f34634d 8303047: avoid NULL after 8301661
Reviewed-by: mdoerr, kbarrett, dholmes
2023-02-23 08:08:25 +00:00
Thomas Stuefe
23e9d9d3ee 8302811: NMT.random_reallocs_vm fails if NMT is off
Reviewed-by: jsjolen, sgehwolf
2023-02-23 06:44:10 +00:00
Joe Darcy
fcaf871408 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
2023-02-22 22:49:59 +00:00
Albert Mingkun Yang
07e976ac26 8303081: Serial: Remove unused VM_MarkSweep
Reviewed-by: tschatzl
2023-02-22 18:28:17 +00:00
Julian Waters
8de841dd19 8302667: Improve message format when failing to load symbols or libraries
Reviewed-by: mchung
2023-02-22 17:42:34 +00:00
Glavo
f893d2315d 8303024: (fs) WindowsFileSystem.supportedFileAttributeViews can use Set.of
Reviewed-by: bpb
2023-02-22 17:16:49 +00:00
Thomas Schatzl
d7ada66129 8303084: G1 Heap region liveness verification has inverted return value
Reviewed-by: ayang
2023-02-22 17:08:24 +00:00
Thomas Schatzl
5d7e7e28b1 8302760: Improve liveness/remembered set verification for G1
Reviewed-by: kbarrett, iwalulya
2023-02-22 16:11:41 +00:00
Albert Mingkun Yang
b0e0f37d73 8303067: G1: Remove unimplemented G1FullGCScope::heap_transition
Reviewed-by: tschatzl
2023-02-22 15:57:08 +00:00
Thomas Schatzl
1a62a1229a 8302880: Fix includes in g1ConcurrentMarkObjArrayProcessor files
Reviewed-by: ayang, kbarrett
2023-02-22 15:47:29 +00:00
Thomas Schatzl
ee37af47cd 8302975: Remove redundant mark verification during G1 Full GC
Reviewed-by: ayang, kbarrett
2023-02-22 15:45:12 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Sergey Tsypanov
25bfed3b12 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Albert Mingkun Yang
0d5f7439a4 8303054: Remove unused variables in GCTraceTimeLoggerImpl::log_end
Reviewed-by: tschatzl
2023-02-22 12:49:40 +00:00
Albert Mingkun Yang
adc29c36e1 8302878: Group cmdline heap size checking together
Reviewed-by: kbarrett, iwalulya
2023-02-22 12:48:31 +00:00
Daniel Fuchs
575484806c 8299338: AssertionError in ResponseSubscribers$HttpResponseInputStream::onSubscribe
Reviewed-by: jpai
2023-02-22 12:43:55 +00:00
Per Minborg
63ef214328 8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
2023-02-22 11:45:51 +00:00
Roberto Castañeda Lozano
30b2ac4a28 8302873: ZGC: dump barrier data in C2 Mach nodes
Reviewed-by: thartmann, kvn
2023-02-22 10:59:15 +00:00
Per Minborg
861eea9bd4 8302858: Polish FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2023-02-22 10:33:58 +00:00
Per Minborg
60a358172a 8302856: Typo in FlightRecorderMXBeanImpl
Reviewed-by: kevinw, egahlin
2023-02-22 10:29:40 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Kevin Walls
5e1d1b7940 8302870: More information needed from failures in vmTestbase ThreadUtils.waitThreadState
Reviewed-by: dholmes, sspitsyn
2023-02-22 09:29:57 +00:00
Severin Gehwolf
7f35389533 8302888: containers/docker/TestJcmd.java fails when run as root under podman
Reviewed-by: dholmes
2023-02-22 08:35:10 +00:00
Alan Bateman
b6ecca1268 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
2023-02-22 08:13:06 +00:00
Richard Reingruber
f54e1080c5 8302831: PPC: compiler/codecache/TestStressCodeBuffers.java fails after JDK-8301819
Reviewed-by: mdoerr
2023-02-22 06:29:48 +00:00
Julian Waters
cba817ae59 8302838: jabswitch main() should avoid calling exit explicitly
Reviewed-by: serb
2023-02-22 06:27:52 +00:00
Prasanta Sadhukhan
2c52cf0746 8041447: Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
Reviewed-by: tr, serb
2023-02-22 06:13:09 +00:00
Martin Doerr
180b94c73e 8302907: [PPC64] Use more constexpr in class Register
Reviewed-by: rrich
2023-02-22 02:24:38 +00:00
Mikael Vidstedt
f319c92bd0 8303016: Invalid escapes in grep patterns
Reviewed-by: erikj
2023-02-21 22:10:36 +00:00
Eirik Bjorsnos
e950b95486 8303033: Build failure with the micro bench mark
Reviewed-by: naoto
2023-02-21 21:39:35 +00:00
Albert Mingkun Yang
dcd773ac5c 8302864: Parallel: Remove PSVirtualSpace::pointer_delta
Reviewed-by: tschatzl, kbarrett
2023-02-21 21:24:22 +00:00
Serguei Spitsyn
46f25250bd 8299240: rank of JvmtiVTMSTransition_lock can be safepoint
Reviewed-by: dholmes, coleenp, pchilanomate
2023-02-21 21:22:49 +00:00
Justin King
ce6de37172 8303010: Add /DEBUG to LDFLAGS for MSVC with ASan
Reviewed-by: erikj
2023-02-21 21:15:43 +00:00
Mikael Vidstedt
729c26f70e 8303020: Remove carriage return in pandoc version string
Reviewed-by: iris, lancea, erikj
2023-02-21 21:00:38 +00:00
Eirik Bjorsnos
ef1f7bd3b8 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
2023-02-21 20:54:36 +00:00
Christian Stein
1ea5f9f7cd 8302789: (fs) Files.copy should include unsupported copy option in exception message
Reviewed-by: alanb, bpb, lancea
2023-02-21 19:03:26 +00:00
Joe Darcy
dfce4e1943 8302800: Augment NaN handling tests of FDLIBM methods
Reviewed-by: bpb
2023-02-21 18:31:22 +00:00
Glavo
5489c821dc 8302603: Use Set.of in java.nio.charset.Charset
Reviewed-by: stsypanov, alanb, naoto
2023-02-21 17:35:52 +00:00
Roger Riggs
10b4cc9eb4 8301627: System.exit and Runtime.exit debug logging
Reviewed-by: alanb, chegar
2023-02-21 15:37:08 +00:00
Johannes Bechberger
db483a38a8 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Reviewed-by: jvernee, dholmes, rrich
2023-02-21 14:33:02 +00:00
Tobias Holenstein
02eb240c71 8302846: IGV: Zoom stuck when zooming out on large graphs
Reviewed-by: rcastanedalo, thartmann
2023-02-21 13:48:49 +00:00
Claes Redestad
92dfa1175e 8302863: Speed up String::encodeASCII using countPositives
Reviewed-by: alanb
2023-02-21 13:31:15 +00:00
Pavel Rappo
8b20aa919b 8302981: Fix a typo in the doc comment for java.lang.Record.equals
Reviewed-by: jpai
2023-02-21 13:11:26 +00:00
Julian Waters
644fe0a994 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Reviewed-by: jlahoda
2023-02-21 11:58:44 +00:00
Stefan Karlsson
60e6378925 8302977: ZGC: Doesn't support gc/TestVerifySubSet.java
Reviewed-by: tschatzl
2023-02-21 11:04:43 +00:00
Stefan Karlsson
fef1910277 8299777: Test runtime/NMT/BaselineWithParameter.java timed out
Reviewed-by: gziemski, iklam, dholmes
2023-02-21 10:58:36 +00:00
Albert Mingkun Yang
622f5604c1 8302886: Parallel: Remove unimplemented methods in ParCompactionManager
Reviewed-by: tschatzl
2023-02-21 09:26:47 +00:00
Albert Mingkun Yang
9fd77c7b9b 8302868: Serial: Remove CardTableRS::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:51 +00:00
Albert Mingkun Yang
f35cf79b51 8302867: G1: Removing unused variable in G1CardTable::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:07 +00:00
Stefan Karlsson
63a3501273 8302741: ZGC: Remove Universe::verify calls
Reviewed-by: ayang, tschatzl
2023-02-21 08:23:28 +00:00
Matthias Baesken
9145670354 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Reviewed-by: ihse, lucy, dholmes
2023-02-21 08:17:56 +00:00
Jayathirth D V
aa10f0d3ee 8302151: BMPImageReader throws an exception reading BMP images
Reviewed-by: serb, tr
2023-02-21 07:30:17 +00:00
Emanuel Peter
16a4f02f2d 8302150: Speed up compiler/codegen/Test7100757.java
Reviewed-by: kvn, thartmann
2023-02-21 07:16:51 +00:00
Emanuel Peter
17274c72a9 8302146: Move TestOverloadCompileQueues.java to tier3
Reviewed-by: kvn, thartmann
2023-02-21 07:13:33 +00:00
Tejesh R
29f392e434 8299522: Incorrect size of Approve button in custom JFileChooser
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-02-21 05:19:07 +00:00
Gui Cao
43c71ddf92 8302453: RISC-V: Add support for small width vector operations
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: yzhu, fyang
2023-02-21 01:39:13 +00:00
David Holmes
91a2b5ec6f 8302905: arm32 Raspberry Pi OS build broken by JDK-8301494
Reviewed-by: mikael, martin
2023-02-21 01:23:06 +00:00
George Adams
bb3dfd6adb 8302879: doc/building.md update link to jtreg builds
Reviewed-by: sgehwolf, clanger
2023-02-20 21:58:55 +00:00
sunguoyun
36a0822633 8302369: Reduce the stack size of the C1 compiler
Reviewed-by: dlong
2023-02-20 19:28:09 +00:00
Justin King
0bf3a53e01 8302599: Extend ASan support to Microsoft Visual C++
Reviewed-by: erikj, stuefe, ihse
2023-02-20 18:37:16 +00:00
ravi.ra.gupta
c7517b3dec 8302525: Write a test to check various components send Events while mouse and key are used simultaneously
Reviewed-by: serb
2023-02-20 18:32:00 +00:00
Alexey Bakhtin
9a797228f3 8299234: JMX Repository.query performance
Reviewed-by: dfuchs, kevinw
2023-02-20 17:52:54 +00:00
Severin Gehwolf
e47e9ec05b 8300658: memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
Reviewed-by: jsjolen, iklam
2023-02-20 17:07:04 +00:00
Roman Kennke
7cf7e0a20b 8302070: Factor null-check into load_klass() calls
Reviewed-by: phh, coleenp
2023-02-20 15:13:36 +00:00
Prasanta Sadhukhan
e731695217 8302882: Newly added test javax/swing/JFileChooser/JFileChooserFontReset.java fails with HeadlessException
Reviewed-by: jdv
2023-02-20 14:47:45 +00:00
Johan Sjölen
b5a7426996 8301749: Tracking malloc pooled memory size
Reviewed-by: dholmes, stuefe
2023-02-20 14:23:54 +00:00
Albert Mingkun Yang
6ac5e05c58 8302068: Serial: Refactor oop closures used in Young GC
Reviewed-by: tschatzl, iwalulya
2023-02-20 14:07:45 +00:00
Pengfei Li
71cf7c4409 8302518: Add missing Op_RoundDoubleMode in VectorNode::vector_operands()
Reviewed-by: kvn, jbhateja
2023-02-20 12:08:03 +00:00
Thomas Schatzl
98716e2b25 8302709: Remove explicit remembered set verification in G1
Reviewed-by: ayang, iwalulya
2023-02-20 11:22:04 +00:00
Ludovic Henry
303c61f3ca 8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
Reviewed-by: fyang
2023-02-20 10:48:27 +00:00
Thomas Schatzl
7c40c8af69 8302312: Make ParGCRareEvent_lock G1 specific
Reviewed-by: sjohanss, kbarrett
2023-02-20 10:45:40 +00:00
Thomas Schatzl
593bec685e 8302122: Parallelize TLAB retirement in prologue in G1
8297611: G1: Merge tlab and per-thread dirty card log flushing

Reviewed-by: kbarrett, ayang
2023-02-20 10:23:00 +00:00
Thomas Schatzl
e971f90a0b 8302206: Factor out duplicate G1VerificationClosure
Reviewed-by: kbarrett, ayang
2023-02-20 10:21:21 +00:00
Ivan Walulya
eaae0baeba 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points.
Reviewed-by: ayang, sjohanss, tschatzl
2023-02-20 08:43:02 +00:00
Emanuel Peter
7e08275cc1 8302668: [TESTBUG] Tests require feature sse4_1 which does not exist, should be sse4.1
Reviewed-by: kvn, thartmann
2023-02-20 08:41:40 +00:00
Emanuel Peter
5c0f50bc01 8295979: [IR Framework] Improve IR matching warning
Reviewed-by: thartmann, kvn
2023-02-20 08:40:11 +00:00
Tobias Holenstein
743a85db06 8302656: Missing spaces in output of -XX:+CIPrintMethodCodes
Reviewed-by: kvn, thartmann
2023-02-20 08:35:30 +00:00
Prasanta Sadhukhan
432cf68c4d 6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
2023-02-20 08:17:00 +00:00
Richard Reingruber
2009dc2b73 8302462: [REDO] 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: tschatzl, ayang
2023-02-20 06:47:57 +00:00
Ioi Lam
7abe26935a 8302781: CDS archive heap not reproducible after JDK-8296344
Reviewed-by: dcubed
2023-02-19 05:59:12 +00:00
Claes Redestad
d6716d2e54 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
2023-02-18 15:17:57 +00:00
Thomas Stuefe
53be5dc486 8302812: JDK-8302455 broke ClassLoaderStatsTest on 32-bit
Reviewed-by: dcubed
2023-02-18 14:52:26 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
Jaikiran Pai
f82385e587 8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
2023-02-18 11:58:05 +00:00
Jaikiran Pai
43cf8b3d80 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +00:00
Serguei Spitsyn
6b082fb3c6 8302615: make JVMTI thread cpu time functions optional for virtual threads
Reviewed-by: alanb
2023-02-17 21:49:14 +00:00
Sandhya Viswanathan
7c60b9c98f 8302358: Behavior of adler32 changes after JDK-8300208
Reviewed-by: kvn, jbhateja
2023-02-17 21:31:42 +00:00
Calvin Cheung
86b9fce980 8301992: Embed SymbolTable CHT node
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: coleenp, iklam
2023-02-17 19:51:12 +00:00
Mikhailo Seledtsov
03d613bbab 8294402: Add diagnostic logging to VMProps.checkDockerSupport
Reviewed-by: dholmes, lmesnik
2023-02-17 19:37:02 +00:00
Ioi Lam
a263f28368 8302777: CDS should not relocate heap if mapping fails
Reviewed-by: ccheung
2023-02-17 19:34:26 +00:00
Archie L. Cobbs
a917fb3fcf 7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
2023-02-17 16:55:35 +00:00
Ludvig Janiuk
6120319afd 8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
2023-02-17 14:57:00 +00:00
Albert Mingkun Yang
fef3eab9bd 8302734: Parallel: Remove unused LGRPSpace::_invalid_region
Reviewed-by: tschatzl
2023-02-17 14:47:03 +00:00
Albert Mingkun Yang
ea5bfea333 8302661: Parallel: Remove PSVirtualSpace::is_aligned
Reviewed-by: stefank, tschatzl
2023-02-17 14:46:23 +00:00
Daniel Fuchs
edf238b65e 8302635: Race condition in HttpBodySubscriberWrapper when cancelling request
Reviewed-by: jpai
2023-02-17 14:43:58 +00:00
Tobias Holenstein
cd77fcfb5f 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Reviewed-by: kvn, thartmann
2023-02-17 14:27:17 +00:00
Tobias Holenstein
57c9bc39cd 8302335: IGV: Bytecode not showing
Reviewed-by: rcastanedalo, thartmann, xliu
2023-02-17 14:26:37 +00:00
Yi-Fan Tsai
57fde75b2a 8302113: Improve CRC32 intrinsic with crypto pmull on AArch64
Reviewed-by: simonis
2023-02-17 14:23:33 +00:00
Richard Reingruber
b8c9d6cdf6 8302158: PPC: test/jdk/jdk/internal/vm/Continuation/Fuzz.java: AssertionError: res: false shouldPin: false
Reviewed-by: goetz, mdoerr
2023-02-17 13:20:08 +00:00
Jan Lahoda
dc55a7fc87 8302202: Incorrect desugaring of null-allowed nested patterns
Reviewed-by: vromero
2023-02-17 12:55:47 +00:00
Johan Sjölen
c4ffe4bf63 8301494: Replace NULL with nullptr in cpu/arm
Reviewed-by: dholmes, coleenp
2023-02-17 11:24:41 +00:00
Albert Mingkun Yang
4f1cffd52c 8302674: Parallel: Remove unused methods in MutableNUMASpace
Reviewed-by: tschatzl
2023-02-17 10:39:58 +00:00
Johan Sjölen
c91cd2814b 8301481: Replace NULL with nullptr in os/windows
Reviewed-by: coleenp, dholmes
2023-02-17 09:41:12 +00:00
Damon Fenacci
47ca5773a5 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Reviewed-by: thartmann, kvn
2023-02-17 09:10:20 +00:00
Ioi Lam
49eb68ba95 8296158: Refactor the verification of CDS region checksum
Reviewed-by: ccheung, matsaave
2023-02-17 07:21:26 +00:00
Joe Darcy
655a71277d 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
2023-02-17 03:22:06 +00:00
David Holmes
b242eef93e 8280419: Remove dead code related to VerifyThread and verify_thread()
Reviewed-by: stuefe, lucy
2023-02-17 02:00:32 +00:00
Valerie Peng
4ce493f09e 8302225: SunJCE Provider doesn't validate key sizes when using 'constrained' transforms for AES/KW and AES/KWP
Reviewed-by: xuelei
2023-02-16 21:58:34 +00:00
Magnus Ihse Bursie
a39cf2e3b2 8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Reviewed-by: erikj
2023-02-16 19:32:38 +00:00
Vicente Romero
de80dd9c15 8296010: AssertionError in annotationTargetType
Reviewed-by: jjg
2023-02-16 19:06:26 +00:00
Julian Waters
e5042dd483 8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
2023-02-16 18:56:59 +00:00
Daniel D. Daugherty
574b48c692 8302678: validate_source fails after JDK-8293313
Reviewed-by: bpb
2023-02-16 17:13:16 +00:00
Thomas Stuefe
90e092280f 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken
2023-02-16 16:14:05 +00:00
Erik Gahlin
f558a6c599 8298276: JFR: Update NMT events to make use of common periodic timestamp feature
Reviewed-by: mgronlun
2023-02-16 15:49:05 +00:00
Archie L. Cobbs
a58fa6e73e 8302514: Misleading error generated when empty class file encountered
Reviewed-by: vromero, jwaters
2023-02-16 14:48:39 +00:00
Justin King
3cc459b6c2 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: kvn, thartmann
2023-02-16 14:40:38 +00:00
Justin King
2e3cea01da 8302594: use-after-free in Node::destruct
Reviewed-by: kvn, thartmann
2023-02-16 14:14:46 +00:00
Tobias Holenstein
9b911b492f 8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work
Reviewed-by: kvn, thartmann
2023-02-16 13:51:11 +00:00
Tobias Holenstein
c29a136787 8291735: methods_do() always run at exit
Reviewed-by: coleenp, kvn
2023-02-16 12:55:01 +00:00
Albert Mingkun Yang
687a461276 8302464: Parallel: Remove unreachable code in callers of numa_has_static_binding
Reviewed-by: lkorinth, tschatzl
2023-02-16 11:48:56 +00:00
Tejesh R
84c058bb63 8300549: JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode
Reviewed-by: aivanov, abhiscxk
2023-02-16 11:10:25 +00:00
Tobias Holenstein
e045af4c92 8297031: IGV: Copy extracted nodes and layout for cloned graph
Reviewed-by: rcastanedalo, thartmann
2023-02-16 10:20:59 +00:00
Severin Gehwolf
53ae4c07fd 8300645: Handle julong values in logging of GET_CONTAINER_INFO macros
Reviewed-by: iklam
2023-02-16 10:08:54 +00:00
Tobias Hartmann
c77f64420a 8302625: Bad copyright line after JDK-8302385
Reviewed-by: mikael
2023-02-16 07:31:55 +00:00
Thomas Stuefe
519229db3c 8302385: Remove MetaspaceReclaimPolicy=none
Reviewed-by: iklam, dholmes
2023-02-16 07:01:10 +00:00
Thomas Stuefe
6e2d3c6c45 8302455: VM.classloader_stats memory size values are wrong
Reviewed-by: coleenp, dholmes
2023-02-16 06:56:38 +00:00
Vicente Romero
1480d418e3 8208470: Type annotations on inner type that is an array component
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2023-02-16 04:01:12 +00:00
Ioi Lam
573c316c57 8224980: FLAG_SET_ERGO silently ignores invalid values
Reviewed-by: iveresov, dholmes
2023-02-16 03:44:48 +00:00
Joe Darcy
3ba156082b 8302026: Port fdlibm inverse trig functions (asin, acos, atan) to Java
Reviewed-by: bpb
2023-02-15 22:16:30 +00:00
Claes Redestad
861e302011 8302163: Speed up various String comparison methods with ArraysSupport.mismatch
Reviewed-by: stsypanov, rriggs, alanb
2023-02-15 21:52:41 +00:00
Mandy Chung
50dcc2aec5 8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
2023-02-15 18:29:26 +00:00
Albert Mingkun Yang
28f5250fa5 8302127: Remove unused arg in write_ref_field_post
Reviewed-by: phh, kbarrett
2023-02-15 14:34:30 +00:00
Johan Sjölen
0c9658446d 8301225: Replace NULL with nullptr in share/gc/shenandoah/
Reviewed-by: wkemper, kdnilsen, rkennke
2023-02-15 13:40:34 +00:00
Sean Mullan
26b111d714 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: xuelei
2023-02-15 13:25:50 +00:00
Michael McMahon
52388179e6 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
2023-02-15 10:19:49 +00:00
Severin Gehwolf
11194e8b82 8302325: Wrong comment in java.base/share/native/libjimage/imageFile.hpp
Reviewed-by: alanb, jlaskey
2023-02-15 09:54:47 +00:00
Scott Gibbons
33bec20710 8300808: Accelerate Base64 on x86 for AVX2
Reviewed-by: jbhateja, redestad, sviswanathan
2023-02-15 09:26:10 +00:00
Emanuel Peter
46bcc4901e 8302147: Speed up compiler/jvmci/compilerToVM/IterateFramesNative.java
Reviewed-by: kvn, thartmann
2023-02-15 07:36:53 +00:00
Emanuel Peter
a9a53f417d 8302152: Speed up tests with infinite loops, sleep less
Reviewed-by: thartmann, kvn
2023-02-15 07:35:23 +00:00
Justin King
98a392c4fc 8302102: Disable ASan for SafeFetch and os::print_hex_dump
Reviewed-by: dholmes, stuefe
2023-02-15 06:42:27 +00:00
Thomas Stuefe
9ccf8ad91f 8302129: Make MetaspaceReclaimPolicy a diagnostic switch
Reviewed-by: dholmes, coleenp
2023-02-15 06:36:16 +00:00
Ioi Lam
bdcbafb219 8296344: Remove dependency on G1 for writing the CDS archive heap
Reviewed-by: ayang, tschatzl, ccheung
2023-02-15 05:12:39 +00:00
Kim Barrett
f1d76fa925 8302262: Remove -XX:SuppressErrorAt develop option
Reviewed-by: stuefe, dholmes, tschatzl
2023-02-15 00:44:02 +00:00
Mandy Chung
9c202a5a8f 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
2023-02-14 21:15:14 +00:00
Vicente Romero
ca73f7e80f 8301374: NullPointerException in MemberEnter.checkReceiver
Reviewed-by: jlahoda
2023-02-14 18:59:37 +00:00
Brian Burkhalter
5b2d430131 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Xue-Lei Andrew Fan
f7dee77d73 8301274: update for deprecated sprintf for security components
Reviewed-by: ascarpino
2023-02-14 15:37:47 +00:00
Xue-Lei Andrew Fan
ec901f28c3 8301279: update for deprecated sprintf for management components
Reviewed-by: kevinw, dholmes
2023-02-14 15:36:09 +00:00
Erik Gahlin
8933c2d06a 8298278: JFR: Turn MEMFLAGS into a type for use with the NativeMemoryUsage events
Reviewed-by: sjohanss
2023-02-14 15:02:58 +00:00
Robbin Ehn
77519e5f4f 8302354: InstanceKlass init state/thread should be atomic
Reviewed-by: coleenp, dholmes
2023-02-14 14:38:46 +00:00
Vicente Romero
2ef001e097 8207017: Type annotations on anonymous classes in initializer blocks not written to class file
Reviewed-by: jlahoda
2023-02-14 14:27:29 +00:00
Johan Sjölen
8c2c8b3f7f 8295344: Harden runtime/StackGuardPages/TestStackGuardPages.java
Reviewed-by: dholmes, rehn
2023-02-14 13:11:44 +00:00
Hannes Wallnöfer
6d4b02b6c9 8302324: Inheritance tree does not show correct type parameters/arguments
Reviewed-by: prappo
2023-02-14 12:42:59 +00:00
Ekaterina Vergizova
7dfe75cf55 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Reviewed-by: mgronlun
2023-02-14 11:02:39 +00:00
Jie Fu
66742c83d4 8302368: [ZGC] Client build fails after JDK-8300255
Reviewed-by: fyang, eosterlund
2023-02-14 10:57:49 +00:00
Albert Mingkun Yang
7c50ab1612 8225409: G1: Remove the Hot Card Cache
Reviewed-by: tschatzl, iwalulya
2023-02-14 10:18:43 +00:00
Conor Cleary
92474f13f0 8301243: java/net/httpclient/http2/IdleConnectionTimeoutTest.java intermittent failure
Reviewed-by: dfuchs
2023-02-14 09:41:36 +00:00
Severin Gehwolf
ee5f6e156d 8302337: JDK crashes if lib/modules contains non-zero byte containing ATTRIBUTE_END
Reviewed-by: stuefe, jlaskey, alanb
2023-02-14 09:27:36 +00:00
Erik Österlund
7f71a1040d 8301874: BarrierSetC2 should assign barrier data to stores
Reviewed-by: rcastanedalo, kvn
2023-02-14 09:18:48 +00:00
Eirik Bjorsnos
d782125c8f 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
2023-02-14 06:58:56 +00:00
7825 changed files with 192396 additions and 224484 deletions

9
.gitattributes vendored
View File

@@ -1 +1,10 @@
* -text
*.java diff=java
*.c diff=cpp
*.h diff=cpp
*.cpp diff=cpp
*.hpp diff=cpp
*.md diff=markdown
*.sh diff=bash
*.html diff=html
*.css diff=css

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

@@ -0,0 +1,214 @@
[![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)
Download the latest releases of JetBrains Runtime to use with JetBrains IDEs. The full list
can be found on the [releases page](https://github.com/JetBrains/JetBrainsRuntime/releases).
## Releases based on JDK 17
| IDE Version | Latest JBR | Date Released |
|-------------|--------------------------------------------------------------------------------------------------------|---------------|
| 2023.3 | [17.0.9-b1087.3](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.9b1087.3) | 24-Oct-2023 |
| 2023.2 | [17.0.8-b1000.22](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.8b1000.22) | 04-Sep-2023 |
| 2023.1 | [17.0.7-b829.16](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.7b829.16) | 06-Jun-2023 |
| 2022.3 | [17.0.6-b653.34](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b653.34) | 28-Feb-2023 |
| 2022.2 | [17.0.6-b469.82](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.6b469.82) | 06-Mar-2023 |
## Releases based on JDK 11
| IDE Version | Latest JBR | Date Released |
|-------------|-------------------------------------------------------------------------------------------------------|---------------|
| 2022.1 | [11_0_16-b2043.64](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_16b2043.64) | 10-Nov-2022 |
| 2021.3 | [11_0_14_1-b1751.46](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_14_1b1751.46) | 21-Feb-2022 |
| 2021.2 | [11_0_13-b1504.49](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jb11_0_13-b1504.49) | 15-Nov-2021 |
| 2021.1 | [11.0.11+9-b1341.60](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1248891540)| 15-Jun-2021 |
| 2020.3 | [11_0_10-b1145.115](https://github.com/JetBrains/JetBrainsRuntime/issues/171#issuecomment-1249243977) | 21-Jun-2021 |
## 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:
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
```
Run these commands in the new container:
```
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
```
### 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
```
Get Java 18 (for instance, [Azul Zulu Builds of OpenJDK 18](https://www.azul.com/downloads/?version=java-18-sts&os=linux&package=jdk)).
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 18 (for instance, [Azul Zulu Builds of OpenJDK 18](https://www.azul.com/downloads/?version=java-18-sts&os=windows&package=jdk)).
If you have problems while configuring, read [Java tips on Cygwin](http://horstmann.com/articles/cygwin-tips.html).
From the command line:
```
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
```
The first command sets up environment variables, the second starts a Cygwin shell with the proper environment.
In the Cygwin shell:
```
$ cd JetBrainsRuntime
$ git checkout main
$ bash configure --with-toolchain-version=2019
$ make images
```
This will build the release configuration under `./build/windows-x86_64-server-release/`.
### macOS
Install the following:
* Xcode command line developer tools and `autoconf` via [Homebrew](https://brew.sh/).
* Java 18 (for instance, [Azul Zulu Builds of OpenJDK 18](https://www.azul.com/downloads/?version=java-18-sts&os=macos&package=jdk)).
From the command line:
```
$ cd JetBrainsRuntime
$ git checkout main
$ sh ./configure
$ make images
```
This will build the release configuration under `./build/macosx-x86_64-server-release/`.
## Developing
You can use [CLion](https://www.jetbrains.com/clion/) to develop native parts of the JetBrains Runtime and
[IntelliJ IDEA](https://www.jetbrains.com/idea/) for the parts written in Java.
Both require projects to be created.
### CLion
Run
```
$ make compile-commands
```
in the git root and open the resulting `build/.../compile_commands.json` file as a project.
Then use `Tools | Compilation Database | Change Project Root` to point to git root of this repository.
See also this detailed step-by-step tutorial for all platforms:
[How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).
### IDEA
Run
```
$ sh ./bin/idea.sh
```
in the git root to generate project files (add `--help` for options). If you have multiple
configurations (for example, `release` and `fastdebug`), supply the `--conf <conf_name>` argument.
Then open the git root directory as a project in IDEA.
## Contributing
We are happy to receive your pull requests!
Before you submit one, please sign our [Contributor License Agreement (CLA)](https://www.jetbrains.com/agreements/cla/).
## Resources
* [JetBrains Runtime on GitHub](https://github.com/JetBrains/JetBrainsRuntime).
* [OpenJDK build instructions](https://openjdk.java.net/groups/build/doc/building.html).
* [OpenJDK test instructions](https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html#running-tests).
* [How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).

View File

@@ -66,7 +66,7 @@ runs:
shell: bash
- name: 'Upload build logs'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
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@v7
uses: actions/github-script@v6
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@v4
uses: actions/cache@v3
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@v4
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true
- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -41,7 +41,7 @@ runs:
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
@@ -56,14 +56,8 @@ runs:
- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JDK"
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src

View File

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

View File

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

View File

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

View File

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

View File

@@ -61,32 +61,27 @@ 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'
@@ -98,9 +93,12 @@ jobs:
with:
platform: linux-x64
- name: 'Get GTest'
id: gtest
uses: ./.github/actions/get-gtest
# Use linux-x64 JDK bundle as build JDK
- name: 'Get build JDK'
id: buildjdk
uses: ./.github/actions/get-bundles
with:
platform: linux-x64
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
@@ -118,7 +116,7 @@ jobs:
- name: 'Check cache for sysroot'
id: get-cached-sysroot
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
@@ -128,7 +126,6 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--arch=${{ matrix.debian-arch }}
@@ -139,7 +136,6 @@ 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,12 +147,7 @@ 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.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'
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -164,12 +155,12 @@ jobs:
--with-conf-name=linux-${{ matrix.target-cpu }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--with-zlib=system
--enable-debug
--disable-precompiled-headers
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}
--with-sysroot=sysroot
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
@@ -177,7 +168,6 @@ 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
@@ -185,4 +175,3 @@ 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, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,9 +31,6 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -58,7 +55,7 @@ on:
jobs:
build-macos:
name: build
runs-on: ${{ inputs.runs-on }}
runs-on: macos-13
strategy:
fail-fast: false
@@ -77,7 +74,7 @@ jobs:
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: ${{ inputs.platform }}
platform: macos-x64
- name: 'Get JTReg'
id: jtreg
@@ -90,7 +87,7 @@ jobs:
- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install autoconf make
brew install 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, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -129,7 +129,8 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64 == 'true'
# 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
@@ -142,8 +143,8 @@ jobs:
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'
extra-conf-options: '--with-target-bits=32'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386 libffi-dev:i386'
extra-conf-options: '--with-target-bits=32 --enable-fallback-linker --enable-libffi-bundling'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
@@ -209,6 +210,7 @@ jobs:
name: linux-cross-compile
needs:
- select
- build-linux-x64
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
@@ -222,7 +224,6 @@ jobs:
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 }}
@@ -234,8 +235,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
runs-on: 'macos-14'
xcode-toolset-version: '14.3.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'
@@ -316,16 +317,6 @@ jobs:
bootjdk-platform: macos-x64
runs-on: macos-13
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
test-windows-x64:
name: windows-x64
needs:
@@ -362,7 +353,7 @@ jobs:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'

View File

@@ -60,10 +60,7 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 compiler'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -86,20 +83,8 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -211,7 +196,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -219,7 +204,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@v7
uses: actions/github-script@v6
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

1
.gitignore vendored
View File

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

View File

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

View File

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

223
README.md
View File

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

View File

@@ -324,7 +324,8 @@ GB of free disk space is required.</p>
<p>Even for 32-bit builds, it is recommended to use a 64-bit build
machine, and instead create a 32-bit target using
<code>--with-target-bits=32</code>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of
RAM. (The more cores to use, the more memory you need.) At least 6 GB of
@@ -366,7 +367,7 @@ to date at the time of writing.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Mac OS X 10.13 (High Sierra)</td>
<td>macOS 13 (Ventura)</td>
</tr>
<tr class="odd">
<td>Windows</td>
@@ -401,7 +402,8 @@ to the build system, e.g. in arguments to <code>configure</code>. So,
use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than
<code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this
conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
is required for building the JDK on Windows. If you have a 64-bit OS, we
@@ -462,9 +464,8 @@ this makes it difficult for a project such as the JDK to keep pace with
a continuously updated machine running macOS. See the section on <a
href="#apple-xcode">Apple Xcode</a> on some strategies to deal with
this.</p>
<p>It is recommended that you use at least Mac OS X 10.13 (High Sierra).
At the time of writing, the JDK has been successfully compiled on macOS
10.12 (Sierra).</p>
<p>It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.</p>
<p>The standard macOS environment contains the basic tooling needed to
build, but for external libraries a package manager is recommended. The
JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but
@@ -543,7 +544,7 @@ to compile successfully without issues.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Apple Xcode 10.1 (using clang 10.0.0)</td>
<td>Apple Xcode 14.3.1 (using clang 14.0.3)</td>
</tr>
<tr class="odd">
<td>Windows</td>
@@ -818,11 +819,11 @@ about the problem.</p>
<p>Some command line examples:</p>
<ul>
<li><p>Create a 32-bit build for Windows with FreeType2 in
<code>C:\freetype-i586</code>:
<code>bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32</code></p></li>
<code>C:\freetype-i586</code>:</p>
<pre><code>bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32</code></pre></li>
<li><p>Create a debug build with the <code>server</code> JVM and DTrace
enabled:
<code>bash configure --enable-debug --with-jvm-variants=server --enable-dtrace</code></p></li>
enabled:</p>
<pre><code>bash configure --enable-debug --with-jvm-variants=server --enable-dtrace</code></pre></li>
</ul>
<h3 id="common-configure-arguments">Common Configure Arguments</h3>
<p>Here follows some of the most common and important
@@ -1113,13 +1114,13 @@ just unpacked.</p>
Test framework. The top directory, which contains both
<code>googletest</code> and <code>googlemock</code> directories, should
be specified via <code>--with-gtest</code>. The minimum supported
version of Google Test is 1.13.0, whose source code can be obtained:</p>
version of Google Test is 1.14.0, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a
href="https://github.com/google/googletest/releases/tag/v1.13.0">here</a></li>
<li>or by checking out <code>v1.13.0</code> tag of
href="https://github.com/google/googletest/releases/tag/v1.14.0">here</a></li>
<li>or by checking out <code>v1.14.0</code> tag of
<code>googletest</code> project:
<code>git clone -b v1.13.0 https://github.com/google/googletest</code></li>
<code>git clone -b v1.14.0 https://github.com/google/googletest</code></li>
</ul>
<p>To execute the most basic tests (tier 1), use:</p>
<pre><code>make run-test-tier1</code></pre>
@@ -1330,14 +1331,12 @@ Package Search</a> and search for the <code>libasound2</code> and
<code>libasound2-dev</code> packages for your <em>target</em> system.
Download them to /tmp.</p></li>
<li><p>Install the libraries into the cross-compilation toolchain. For
instance:</p></li>
</ul>
instance:</p>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre>
<ul>
<li>If alsa is not properly detected by <code>configure</code>, you can
point it out by <code>--with-alsa</code>.</li>
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre></li>
<li><p>If alsa is not properly detected by <code>configure</code>, you
can point it out by <code>--with-alsa</code>.</p></li>
</ul>
<h4 id="x11-1">X11</h4>
<p>You will need X11 libraries suitable for your <em>target</em> system.
@@ -1371,21 +1370,18 @@ Package Search</a>, search for the following packages for your
</ul></li>
<li><p>Install the libraries into the cross-compilation toolchain. For
instance:</p>
<pre><code> cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
cd X11R6
for deb in /tmp/target-x11/*.deb ; do dpkg-deb -x $deb . ; done
mv usr/* .
cd lib
cp arm-linux-gnueabihf/* .
```
You can ignore the following messages. These libraries are not needed to
successfully complete a full JDK build.</code></pre>
<p>cp: cannot stat
<code>arm-linux-gnueabihf/libICE.so': No such file or directory cp: cannot stat</code>arm-linux-gnueabihf/libSM.so':
No such file or directory cp: cannot stat
`arm-linux-gnueabihf/libXt.so': No such file or directory ```</p></li>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
cd X11R6
for deb in /tmp/target-x11/*.deb ; do dpkg-deb -x $deb . ; done
mv usr/* .
cd lib
cp arm-linux-gnueabihf/* .</code></pre>
<p>You can ignore the following messages. These libraries are not needed
to successfully complete a full JDK build.</p>
<pre><code>cp: cannot stat `arm-linux-gnueabihf/libICE.so&#39;: No such file or directory
cp: cannot stat `arm-linux-gnueabihf/libSM.so&#39;: No such file or directory
cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</code></pre></li>
<li><p>If the X11 libraries are not properly detected by
<code>configure</code>, you can point them out by
<code>--with-x</code>.</p></li>
@@ -1403,17 +1399,41 @@ native compilation speed.</p>
<p>For example, cross-compiling to AArch64 from x86_64 could be done
like this:</p>
<ul>
<li><p>Install cross-compiler on the <em>build</em> system:
<code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></p></li>
<li><p>Install cross-compiler on the <em>build</em> system:</p>
<pre><code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></pre></li>
<li><p>Create chroot on the <em>build</em> system, configuring it for
<em>target</em> system:
<code>sudo debootstrap \ --arch=arm64 \ --verbose \ --include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \ --resolve-deps \ buster \ ~/sysroot-arm64 \ http://httpredir.debian.org/debian/ # If the target architecture is `riscv64`, # the path should be `debian-ports` instead of `debian`.</code></p></li>
<em>target</em> system:</p>
<pre><code>sudo debootstrap \
--arch=arm64 \
--verbose \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
--resolve-deps \
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/
# If the target architecture is `riscv64`,
# the path should be `debian-ports` instead of `debian`.</code></pre></li>
<li><p>To create a Ubuntu-based chroot:</p>
<pre><code>sudo debootstrap \
--arch=arm64 \
--verbose \
--components=main,universe \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
--resolve-deps \
jammy \
~/sysroot-arm64 \
http://ports.ubuntu.com/ubuntu-ports/
# symlinks is in the universe repository</code></pre></li>
<li><p>Make sure the symlinks inside the newly created chroot point to
proper locations:
<code>sudo chroot ~/sysroot-arm64 symlinks -cr .</code></p></li>
proper locations:</p>
<pre><code>sudo chroot ~/sysroot-arm64 symlinks -cr .</code></pre></li>
<li><p>Configure and build with newly created chroot as
sysroot/toolchain-path:
<code>sh ./configure \ --openjdk-target=aarch64-linux-gnu \ --with-sysroot=~/sysroot-arm64 make images ls build/linux-aarch64-server-release/</code></p></li>
sysroot/toolchain-path:</p>
<pre><code>sh ./configure \
--openjdk-target=aarch64-linux-gnu \
--with-sysroot=~/sysroot-arm64
make images
ls build/linux-aarch64-server-release/</code></pre></li>
</ul>
<p>The build does not create new files in that chroot, so it can be
reused for multiple builds without additional cleanup.</p>
@@ -1565,12 +1585,27 @@ libraries</a> required by OpenJDK complicate the building process. The
placeholder <code>&lt;toolchain-installed-path&gt;</code> shown below is
the path where you want to install the toolchain.</p>
<ul>
<li><p>Install the RISC-V GNU compiler toolchain:
<code>git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain cd riscv-gnu-toolchain ./configure --prefix=&lt;toolchain-installed-path&gt; make linux export PATH=&lt;toolchain-installed-path&gt;/bin:$PATH</code></p></li>
<li><p>Cross-compile all the required libraries:
<code># An example for libffi git clone https://github.com/libffi/libffi cd libffi ./configure --host=riscv64-unknown-linux-gnu --prefix=&lt;toolchain-installed-path&gt;/sysroot/usr make make install</code></p></li>
<li><p>Configure and build OpenJDK:
<code>bash configure \ --with-boot-jdk=$BOOT_JDK \ --openjdk-target=riscv64-linux-gnu \ --with-sysroot=&lt;toolchain-installed-path&gt;/sysroot \ --with-toolchain-path=&lt;toolchain-installed-path&gt;/bin \ --with-extra-path=&lt;toolchain-installed-path&gt;/bin make images</code></p></li>
<li><p>Install the RISC-V GNU compiler toolchain:</p>
<pre><code>git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain
cd riscv-gnu-toolchain
./configure --prefix=&lt;toolchain-installed-path&gt;
make linux
export PATH=&lt;toolchain-installed-path&gt;/bin:$PATH</code></pre></li>
<li><p>Cross-compile all the required libraries:</p>
<pre><code># An example for libffi
git clone https://github.com/libffi/libffi
cd libffi
./configure --host=riscv64-unknown-linux-gnu --prefix=&lt;toolchain-installed-path&gt;/sysroot/usr
make
make install</code></pre></li>
<li><p>Configure and build OpenJDK:</p>
<pre><code>bash configure \
--with-boot-jdk=$BOOT_JDK \
--openjdk-target=riscv64-linux-gnu \
--with-sysroot=&lt;toolchain-installed-path&gt;/sysroot \
--with-toolchain-path=&lt;toolchain-installed-path&gt;/bin \
--with-extra-path=&lt;toolchain-installed-path&gt;/bin
make images</code></pre></li>
</ul>
<h3 id="building-for-musl">Building for musl</h3>
<p>Just like it's possible to cross-compile for a different CPU, it's
@@ -2255,18 +2290,7 @@ However, please bear in mind that the JDK is a massive project, and we
must ask you to follow our rules and guidelines to be able to accept
your contribution.</p>
<p>The official place to start is the <a
href="http://openjdk.org/contribute/">'How to contribute' page</a>.
There is also an official (but somewhat outdated and skimpy on details)
<a href="http://openjdk.org/guide/">Developer's Guide</a>.</p>
<p>If this seems overwhelming to you, the Adoption Group is there to
help you! A good place to start is their <a
href="https://wiki.openjdk.org/display/Adoption/New+Contributor">'New
Contributor' page</a>, or start reading the comprehensive <a
href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting
Started Kit</a>. The Adoption Group will also happily answer any
questions you have about contributing. Contact them by <a
href="http://mail.openjdk.org/mailman/listinfo/adoption-discuss">mail</a>
or <a href="http://openjdk.org/irc/">IRC</a>.</p>
href="https://openjdk.org/guide/">OpenJDK Developers Guide</a>.</p>
<h2 id="editing-this-document">Editing this document</h2>
<p>If you want to contribute changes to this document, edit
<code>doc/building.md</code> and then run

View File

@@ -167,7 +167,7 @@ time of writing.
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| macOS | macOS 13 (Ventura) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
@@ -270,8 +270,8 @@ difficult for a project such as the JDK to keep pace with a continuously updated
machine running macOS. See the section on [Apple Xcode](#apple-xcode) on some
strategies to deal with this.
It is recommended that you use at least Mac OS X 10.13 (High Sierra). At the time
of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).
It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.
The standard macOS environment contains the basic tooling needed to build, but
for external libraries a package manager is recommended. The JDK uses
@@ -337,7 +337,7 @@ issues.
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------ |
| Linux | gcc 11.2.0 |
| macOS | Apple Xcode 10.1 (using clang 10.0.0) |
| macOS | Apple Xcode 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 update 17.1.0 |
All compilers are expected to be able to compile to the C99 language standard,
@@ -626,11 +626,13 @@ automatically, it will exit and inform you about the problem.
Some command line examples:
* Create a 32-bit build for Windows with FreeType2 in `C:\freetype-i586`:
```
bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32
```
* Create a debug build with the `server` JVM and DTrace enabled:
```
bash configure --enable-debug --with-jvm-variants=server --enable-dtrace
```
@@ -884,11 +886,11 @@ Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
Building of Hotspot Gtest suite requires the source code of Google
Test framework. The top directory, which contains both `googletest`
and `googlemock` directories, should be specified via `--with-gtest`.
The minimum supported version of Google Test is 1.13.0, whose source
The minimum supported version of Google Test is 1.14.0, whose source
code can be obtained:
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.13.0)
* or by checking out `v1.13.0` tag of `googletest` project: `git clone -b v1.13.0 https://github.com/google/googletest`
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.14.0)
* or by checking out `v1.14.0` tag of `googletest` project: `git clone -b v1.14.0 https://github.com/google/googletest`
To execute the most basic tests (tier 1), use:
```
@@ -1100,11 +1102,12 @@ Note that alsa is needed even if you only want to build a headless JDK.
system. Download them to /tmp.
* Install the libraries into the cross-compilation toolchain. For instance:
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .
```
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .
```
* If alsa is not properly detected by `configure`, you can point it out by
`--with-alsa`.
@@ -1140,6 +1143,7 @@ Note that X11 is needed even if you only want to build a headless JDK.
* libxext-dev
* Install the libraries into the cross-compilation toolchain. For instance:
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
@@ -1173,11 +1177,13 @@ for foreign architectures with native compilation speed.
For example, cross-compiling to AArch64 from x86_64 could be done like this:
* Install cross-compiler on the *build* system:
```
apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
```
* Create chroot on the *build* system, configuring it for *target* system:
```
sudo debootstrap \
--arch=arm64 \
@@ -1191,12 +1197,29 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
# the path should be `debian-ports` instead of `debian`.
```
* To create a Ubuntu-based chroot:
```
sudo debootstrap \
--arch=arm64 \
--verbose \
--components=main,universe \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
--resolve-deps \
jammy \
~/sysroot-arm64 \
http://ports.ubuntu.com/ubuntu-ports/
# symlinks is in the universe repository
```
* Make sure the symlinks inside the newly created chroot point to proper locations:
```
sudo chroot ~/sysroot-arm64 symlinks -cr .
```
* Configure and build with newly created chroot as sysroot/toolchain-path:
```
sh ./configure \
--openjdk-target=aarch64-linux-gnu \
@@ -1255,6 +1278,7 @@ complicate the building process. The placeholder `<toolchain-installed-path>`
shown below is the path where you want to install the toolchain.
* Install the RISC-V GNU compiler toolchain:
```
git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain
cd riscv-gnu-toolchain
@@ -1264,6 +1288,7 @@ shown below is the path where you want to install the toolchain.
```
* Cross-compile all the required libraries:
```
# An example for libffi
git clone https://github.com/libffi/libffi
@@ -1274,6 +1299,7 @@ shown below is the path where you want to install the toolchain.
```
* Configure and build OpenJDK:
```
bash configure \
--with-boot-jdk=$BOOT_JDK \
@@ -2032,20 +2058,7 @@ First of all: Thank you! We gladly welcome your contribution.
However, please bear in mind that the JDK is a massive project, and we must ask
you to follow our rules and guidelines to be able to accept your contribution.
The official place to start is the ['How to contribute' page](
http://openjdk.org/contribute/). There is also an official (but somewhat
outdated and skimpy on details) [Developer's Guide](
http://openjdk.org/guide/).
If this seems overwhelming to you, the Adoption Group is there to help you! A
good place to start is their ['New Contributor' page](
https://wiki.openjdk.org/display/Adoption/New+Contributor), or start
reading the comprehensive [Getting Started Kit](
https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/). The
Adoption Group will also happily answer any questions you have about
contributing. Contact them by [mail](
http://mail.openjdk.org/mailman/listinfo/adoption-discuss) or [IRC](
http://openjdk.org/irc/).
The official place to start is the [OpenJDK Developers Guide](https://openjdk.org/guide/).
## Editing this document

View File

@@ -179,9 +179,8 @@ more tab-completion friendly. For more complex test runs, the
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
which tests will be run. As an example, <code>:tier1</code> will expand
to include all subcomponent test directories that define `tier1`,
for example:
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...</code>.
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>.
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>
@@ -578,15 +577,12 @@ PKCS11 tests. Improper NSS version may lead to unexpected failures which
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property
<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu
18.04 to specify the alternative NSS lib directory. The
<code>&lt;NAME&gt;</code> component should be replaced with the name
element of the appropriate <code>@Artifact</code> class. (See
<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>

View File

@@ -102,11 +102,11 @@ test runs, the `test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to 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.
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.
### Common Test Groups
@@ -600,16 +600,14 @@ It is highly recommended to use the latest NSS version when running PKCS11
tests. Improper NSS version may lead to unexpected failures which are hard to
diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail
on Ubuntu 18.04 with the default NSS version in the system. To run these tests
correctly, the system property `jdk.test.lib.artifacts.<NAME>` is required on
Ubuntu 18.04 to specify the alternative NSS lib directory. The `<NAME>`
component should be replaced with the name element of the appropriate
`@Artifact` class. (See `test/jdk/sun/security/pkcs11/PKCS11Test.java`)
correctly, the system property `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
For example:
```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
```
For more notes about the PKCS11 tests, please refer to

View File

@@ -5,12 +5,20 @@ 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] ")
@@ -31,7 +39,8 @@ class Options:
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('--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")
@@ -56,6 +65,7 @@ class Options:
self.ishtml = args.ishtml
self.verbose = args.verbose
class GitRepo:
def __init__(self, rootpath):
self.rootpath = rootpath
@@ -96,44 +106,59 @@ 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.message = l.strip()
t = self.message.split(' ')
if len(t) > 1:
bugid = t[0]
if bugid.startswith("fixup"):
bugid = t[1]
bugid = bugid.strip(":")
if bugid.startswith("JBR-") or bugid.isnumeric():
self.bugid = bugid
break
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.commits.append(commit)
self.add_commit(commit)
commit_lines = []
commit_lines.append(line)
if len(commit_lines) > 0:
commit = Commit(commit_lines)
self.commits.append(commit)
self.add_commit(commit)
def contains(self, str):
return any(str in commit.message for commit in self.commits)
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)
@@ -170,27 +195,37 @@ def main():
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}")
verbose(options,
f"Read {history_from.size()} commits from '{options.frombranch}', {history_to.size()} from {options.tobranch}")
exclude_list=[]
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.message):
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):
@@ -229,6 +264,7 @@ def print_out_commits(options, commits_to_save):
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")

View File

@@ -1,12 +0,0 @@
#!/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

View File

@@ -1 +0,0 @@
1.0.2

View File

@@ -8,36 +8,15 @@
FROM arm64v8/alpine:3.12
# Install the necessary build tools
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.2-r0 \
autoconf=2.69-r2 \
bash=5.0.17-r0 \
build-base=0.5-r2 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r0 \
file=5.38-r0 \
fontconfig=2.13.1-r2 \
fontconfig-dev=2.13.1-r2 \
freetype-dev=2.10.4-r2 \
git=2.26.3-r1 \
grep=3.4-r0 \
libx11-dev=1.6.12-r1 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r0 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.0-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.4.5-r1 \
rsync=3.1.3-r3 \
tar=1.32-r2 \
wayland-dev=1.18.0-r4 \
zip=3.0-r8
RUN apk --no-cache add --update bash grep tar zip bzip2 rsync fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_aarch64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk20/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk20
COPY boot_jdk_musl_aarch64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_aarch64.tar.gz && rm /jdk17/boot_jdk_musl_aarch64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -8,35 +8,15 @@
FROM alpine:3.14
# Install the necessary build tools
RUN apk --no-cache add --update \
alsa-lib-dev=1.2.5-r2 \
autoconf=2.71-r0 \
bash=5.1.16-r0 \
build-base=0.5-r3 \
bzip2=1.0.8-r1 \
cups-dev=2.3.3-r3 \
file=5.40-r1 \
fontconfig=2.13.1-r4 \
fontconfig-dev=2.13.1-r4 \
freetype-dev=2.10.4-r3 \
git=2.32.7-r0 \
grep=3.7-r0 \
libx11-dev=1.7.3.1-r0 \
libxext-dev=1.3.4-r0 \
libxrandr-dev=1.5.2-r1 \
libxrender-dev=0.9.10-r3 \
libxt-dev=1.2.1-r0 \
libxtst-dev=1.2.3-r3 \
linux-headers=5.10.41-r0 \
rsync=3.2.5-r0 \
tar=1.34-r1 \
wayland-dev=1.19.0-r0 \
zip=3.0-r9
RUN apk --no-cache add --update bash grep tar zip bzip2 rsync fontconfig build-base \
git libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev \
libxtst-dev autoconf freetype-dev cups-dev alsa-lib-dev file \
fontconfig fontconfig-dev linux-headers
# Set up boot JDK for building
COPY boot_jdk_musl_amd64.tar.gz /jdk20/
RUN cd /jdk20 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk20/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk20
COPY boot_jdk_musl_amd64.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk_musl_amd64.tar.gz && rm /jdk17/boot_jdk_musl_amd64.tar.gz
ENV BOOT_JDK=/jdk17
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -25,8 +25,7 @@ RUN yum -y install centos-release-scl; \
wayland-devel-1.15.0-1.el7 \
wget-1.14-18.el7_6.1 \
which-2.20-7.el7 \
zip-3.0-11.el7 \
python3-3.6.8-17.el7
zip-3.0-11.el7
RUN mkdir .git && \
git config user.email "teamcity@jetbrains.com" && \
@@ -34,40 +33,4 @@ RUN mkdir .git && \
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin::${PATH}"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"
# Build GLSLC
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.5/cmake-3.27.5-linux-x86_64.tar.gz \
&& echo 138c68addae825b16ed78d792dafef5e0960194833f48bd77e7e0429c6bc081c *cmake-3.27.5-linux-x86_64.tar.gz | sha256sum -c - \
&& tar -xzf cmake-3.27.5-linux-x86_64.tar.gz \
&& rm cmake-3.27.5-linux-x86_64.tar.gz \
&& git clone https://github.com/google/shaderc --branch v2023.6 \
&& cd shaderc \
&& ./utils/git-sync-deps \
&& mkdir build \
&& cd build \
&& /cmake-3.27.5-linux-x86_64/bin/cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DSHADERC_SKIP_TESTS=ON \
-DSHADERC_SKIP_EXAMPLES=ON \
-DSHADERC_SKIP_COPYRIGHT_CHECK=ON \
.. \
&& make install
ENV PATH="/cmake-3.27.5-linux-x86_64/bin::${PATH}"
# Checkout Vulkan headers
RUN mkdir /vulkan \
&& cd /vulkan \
&& git init \
&& git remote add -f origin https://github.com/KhronosGroup/Vulkan-Headers.git \
&& git fetch origin \
&& git checkout v1.3.265 -- include \
&& rm -r .git \
&& mkdir /vulkan_hpp \
&& cd /vulkan_hpp \
&& git init \
&& git remote add -f origin https://github.com/KhronosGroup/Vulkan-Hpp.git \
&& git fetch origin \
&& git checkout v1.3.265 -- vulkan \
&& rm -r .git
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"

View File

@@ -4,10 +4,10 @@ set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl AArch64 variant
# of the JetBrains Runtime version 21.
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu20.32.11-ca-jdk20.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=eec57cf744c2438f695221f041d4804de3033ad33b6dba769d3359813ba3f90d
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_aarch64.tar.gz
BOOT_JDK_SHA=6b920559abafbe9bdef386a20ecf3a2f318bc1f0d8359eb1f95aee26606bbc70
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_aarch64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
@@ -22,7 +22,7 @@ sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jetbrains/runtime:jbr21env_musl_aarch64 -f Dockerfile.musl_aarch64 .
docker build -t jbr17buildenv -f Dockerfile.musl_aarch64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance

View File

@@ -4,10 +4,10 @@ set -euo pipefail
set -x
# This script creates a Docker image suitable for building musl-x64 variant
# of the JetBrains Runtime version 21.
# of the JetBrains Runtime version 17.
BOOT_JDK_REMOTE_FILE=zulu20.32.11-ca-jdk20.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=fca5081dd6da847fcd06f5b755e58edae22d6784f21b81bf73da2b538f842c07
BOOT_JDK_REMOTE_FILE=zulu17.32.13-ca-jdk17.0.2-linux_musl_x64.tar.gz
BOOT_JDK_SHA=bcc5342011bd9f3643372aadbdfa68d47463ff0d8621668a0bdf2910614d95c6
BOOT_JDK_LOCAL_FILE=boot_jdk_musl_amd64.tar.gz
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then
@@ -22,7 +22,7 @@ sha256sum -c - <<EOF
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE
EOF
docker build -t jetbrains/runtime:jbr21env_musl_x64 -f Dockerfile.musl_x64 .
docker build -t jbr17buildenv -f Dockerfile.musl_x64 .
# NB: the resulting container can (and should) be used without the network
# connection (--network none) during build in order to reduce the chance

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/src/jetbrains.api">
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/jetbrains.api/templates" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="inheritedJdk" />
</component>
</module>

View File

@@ -4,6 +4,7 @@
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/jdk.iml" filepath="$PROJECT_DIR$/.idea/jdk.iml" />
###MODULE_IMLS###
<module fileurl="file://$PROJECT_DIR$/.idea/jetbrains.api.iml" filepath="$PROJECT_DIR$/.idea/jetbrains.api.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/test.iml" filepath="$PROJECT_DIR$/.idea/test.iml" />
</modules>
</component>

View File

@@ -0,0 +1,18 @@
#!/bin//bash
set -euo pipefail
# $1 - Boot JDK
# $2 - JBR part of API version
cd "`dirname "$0"`/../../../../.."
PWD="`pwd`"
CONF="$PWD/build/jbr-api.conf"
./configure --with-debug-level=release --with-boot-jdk=$1 || exit $?
make jbr-api CONF=release MAKEOVERRIDES= "JBR_API_CONF_FILE=$CONF" JBR_API_JBR_VERSION=$2 || exit $?
. $CONF || exit $?
echo "##teamcity[buildNumber '$VERSION']"
cp "$JAR" ./jbr-api-${VERSION}.jar || exit $?
cp "$SOURCES_JAR" ./jbr-api-${VERSION}-sources.jar || exit $?
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}.jar']"
echo "##teamcity[publishArtifacts '$PWD/jbr-api-${VERSION}-sources.jar']"

View File

@@ -17,11 +17,9 @@ function getVersionProp() {
grep "^${1}" make/conf/version-numbers.conf | cut -d'=' -f2
}
DISABLE_WARNINGS_AS_ERRORS=""
while getopts ":iw?" o; do
while getopts ":i?" o; do
case "${o}" in
i) INC_BUILD=1 ;;
w) DISABLE_WARNINGS_AS_ERRORS="--disable-warnings-as-errors" ;;
esac
done
shift $((OPTIND-1))
@@ -38,7 +36,7 @@ architecture=${3:-x64} # aarch64 or x64
check_bundle_type_maketest
tag_prefix="jbr-"
tag_prefix="jdk-"
OPENJDK_TAG=$(git log --simplify-by-decoration --decorate=short --pretty=short | grep "$tag_prefix" | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d ",")
VERSION_FEATURE=$(getVersionProp "DEFAULT_VERSION_FEATURE")
VERSION_INTERIM=$(getVersionProp "DEFAULT_VERSION_INTERIM")
@@ -102,6 +100,8 @@ else
WITH_BUNDLED_FREETYPE=""
fi
WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS="--with-native-debug-symbols=zipped"
REPRODUCIBLE_BUILD_OPTS="--with-source-date=$SOURCE_DATE_EPOCH
--with-hotspot-build-time=$BUILD_TIME
--with-copyright-year=$COPYRIGHT_YEAR

View File

@@ -35,7 +35,6 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -60,10 +59,8 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -73,20 +70,20 @@ function create_image_bundle {
[ -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"
--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
cp $IMAGES_DIR/jdk/lib/server/*.jsa "$IMAGES_DIR"/"$__root_dir"/lib/server
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 ...
@@ -162,7 +159,8 @@ 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 $?
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -25,13 +25,6 @@ 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" \
@@ -42,8 +35,6 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$LINUX_TARGET \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -68,10 +59,8 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -81,20 +70,20 @@ function create_image_bundle {
[ -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"
--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
cp $IMAGES_DIR/jdk/lib/server/*.jsa "$IMAGES_DIR"/"$__root_dir"/lib/server
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 ...
@@ -106,7 +95,7 @@ function create_image_bundle {
[ -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"
rm -rf "${IMAGES_DIR:?}"/"$__root_dir"
}
WITH_DEBUG_LEVEL="--with-debug-level=release"
@@ -118,13 +107,16 @@ 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
@@ -170,7 +162,8 @@ 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 $?
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -25,7 +25,6 @@ function do_configure {
--with-boot-jdk="$BOOT_JDK" \
$STATIC_CONF_ARGS \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|| do_exit $?
@@ -48,10 +47,8 @@ function create_image_bundle {
libc_type_suffix=''
fastdebug_infix=''
__cds_opt=''
if is_musl; then libc_type_suffix='musl-' ; fi
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -61,13 +58,14 @@ function create_image_bundle {
[ -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"
--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
cp $IMAGES_DIR/jdk/lib/server/*.jsa "$IMAGES_DIR"/"$__root_dir"/lib/server
copy_jmods "$__modules" "$__modules_path" "$IMAGES_DIR"/"$__root_dir"/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk "${JBR}_diz"
fi
@@ -137,7 +135,8 @@ 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 $?
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
tar -pcf "$JBRSDK_TEST".tar -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
gzip "$JBRSDK_TEST".tar || do_exit $?

View File

@@ -26,6 +26,11 @@ JCEF_PATH=${JCEF_PATH:=./jcef_mac}
BOOT_JDK=${BOOT_JDK:=$(/usr/libexec/java_home -v 17)}
function do_configure {
if [[ "${architecture}" == *aarch64* ]]; then
ENABLE_CDS="--enable-cds=no"
else
ENABLE_CDS="--enable-cds=yes"
fi
sh configure \
$WITH_DEBUG_LEVEL \
--with-vendor-name="$VENDOR_NAME" \
@@ -38,7 +43,6 @@ function do_configure {
--with-version-opt=b"$build_number" \
--with-boot-jdk="$BOOT_JDK" \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
@@ -52,8 +56,6 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
tmp=.bundle.$$.tmp
mkdir "$tmp" || do_exit $?
@@ -68,13 +70,14 @@ function create_image_bundle {
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 $?
--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
cp $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk/Contents/Home/lib/server/*.jsa $JRE_CONTENTS/Home/lib/server
copy_jmods "$__modules" "$__modules_path" "$JRE_CONTENTS"/Home/jmods
zip_native_debug_symbols $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk "${JBR}_diz"
fi
@@ -160,7 +163,8 @@ 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 $?
make test-image jbr-api CONF=$RELEASE_NAME JBR_API_JBR_VERSION=TEST || do_exit $?
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test"
[ -f "$JBRSDK_TEST.tar.gz" ] && rm "$JBRSDK_TEST.tar.gz"
COPYFILE_DISABLE=1 tar -pczf "$JBRSDK_TEST".tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -100,7 +100,7 @@ done
log "Signing whole frameworks..."
# shellcheck disable=SC2043
if [ "$JB_SIGN" = true ]; then for f in \
"Contents/Frameworks/cef_server.app/Contents/Frameworks" "Contents/Home/Frameworks" "Contents/Frameworks"; do
"Contents/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

View File

@@ -34,7 +34,6 @@ 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" \
@@ -48,11 +47,9 @@ function do_configure {
--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 $?
--enable-cds=yes || do_exit $?
}
function create_image_bundle {
@@ -71,11 +68,12 @@ function create_image_bundle {
--module-path $__modules_path --no-man-pages --compress=2 \
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__arch_name/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
cp $IMAGES_DIR/jdk/lib/server/*.jsa $__root_dir/lib/server
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
@@ -104,13 +102,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

@@ -40,7 +40,6 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -53,8 +52,6 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -62,13 +59,14 @@ function create_image_bundle {
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 $?
--add-modules $__modules --output $__root_dir || do_exit $?
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
grep -v "^JAVA_VERSION" "$JSDK"/release | grep -v "^MODULES" >> $__root_dir/release
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then
sed 's/JBR/JBRSDK/g' $__root_dir/release > release
mv release $__root_dir/release
cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib
cp $IMAGES_DIR/jdk/lib/server/*.jsa $__root_dir/lib/server
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
@@ -97,13 +95,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

@@ -36,7 +36,6 @@ function do_configure {
--with-nvdacontrollerclient=$NVDA_PATH \
--disable-ccache \
--enable-cds=yes \
$DISABLE_WARNINGS_AS_ERRORS \
$STATIC_CONF_ARGS \
$REPRODUCIBLE_BUILD_OPTS \
|| do_exit $?
@@ -49,8 +48,6 @@ function create_image_bundle {
__modules=$4
fastdebug_infix=''
__cds_opt=''
if [ "$__arch_name" == "$JBRSDK_BUNDLE" ]; then __cds_opt="--generate-cds-archive"; fi
[ "$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}
@@ -58,13 +55,14 @@ function create_image_bundle {
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 $?
--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
cp $IMAGES_DIR/jdk/lib/server/*.jsa $__root_dir/lib/server
for dir in $(ls -d $IMAGES_DIR/jdk/*); do
rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir
done
@@ -92,13 +90,13 @@ esac
if [ -z "${INC_BUILD:-}" ]; then
do_configure || do_exit $?
if [ $do_maketest -eq 1 ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image JBR_API_JBR_VERSION=TEST || do_exit $?
make LOG=info CONF=$RELEASE_NAME clean images test-image jbr-api 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 $?
make LOG=info CONF=$RELEASE_NAME images test-image jbr-api JBR_API_JBR_VERSION=TEST || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi

View File

@@ -51,6 +51,7 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-aarch64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -51,6 +51,7 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x64-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -47,6 +47,7 @@ pack_jbr jbrsdk${jbr_name_postfix} jbrsdk
if [ $do_maketest -eq 1 ]; then
JBRSDK_TEST=$JBRSDK_BUNDLE-$JBSDK_VERSION-windows-test-x86-b$build_number
cp "build/${RELEASE_NAME}/jbr-api/jbr-api.jar" "${IMAGES_DIR}/test" || do_exit $?
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $BASE_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

View File

@@ -478,6 +478,27 @@ endif
################################################################################
ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_GRAAL_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR))
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)
endif
$(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_GRAAL_BUNDLE, \
BUNDLE_NAME := $(STATIC_LIBS_GRAAL_BUNDLE_NAME), \
FILES := $(STATIC_LIBS_GRAAL_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_LIBS_GRAAL_IMAGE_DIR), \
SUBDIR := $(STATIC_LIBS_GRAAL_BUNDLE_SUBDIR), \
))
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
@@ -490,8 +511,9 @@ docs-jdk-bundles: $(DOCS_JDK_TARGETS)
docs-javase-bundles: $(DOCS_JAVASE_TARGETS)
docs-reference-bundles: $(DOCS_REFERENCE_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles \
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
static-libs-bundles jcov-bundles
static-libs-bundles static-libs-graal-bundles jcov-bundles

View File

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

View File

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

View File

@@ -66,11 +66,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
# In order to get a specific ordering it's necessary to specify the total
# ordering of tags as the tags are otherwise ordered in order of definition.
JAVADOC_TAGS := \
-tag beaninfo:X \
-tag revised:X \
-tag since.unbundled:X \
-tag Note:X \
-tag ToDo:X \
-tag 'apiNote:a:API Note:' \
-tag 'implSpec:a:Implementation Requirements:' \
-tag 'implNote:a:Implementation Note:' \

View File

@@ -43,10 +43,10 @@ $(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
TARGETS += $(COPY_JDK_IMG)
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS, \
SRC := $(STATIC_LIBS_IMAGE_DIR)/lib, \
SRC := $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib, \
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)/lib)), \
$(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib)), \
))
TARGETS += $(COPY_STATIC_LIBS)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
JDK_TARGETS :=
JRE_TARGETS :=
@@ -39,7 +40,7 @@ $(eval $(call IncludeCustomExtension, Images-pre.gmk))
################################################################################
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
ALL_MODULES := $(call FindAllModules) $(EXTRA_MODULES)
$(eval $(call ReadImportMetaData))
@@ -54,7 +55,10 @@ JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
JMODS_DIRS := $(EXTRA_JMODS_DIR) $(IMAGES_OUTPUTDIR)/jmods
JDK_JMODS := $(foreach m, $(JDK_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JRE_JMODS := $(foreach m, $(JRE_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=
@@ -71,7 +75,7 @@ JLINK_ORDER_RESOURCES += \
#
JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(IMAGES_OUTPUTDIR)/jmods \
--module-path $(call PathList, $(JMODS_DIRS)) \
--endian $(OPENJDK_TARGET_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
@@ -87,12 +91,15 @@ endif
JLINK_DISABLE_WARNINGS := | ( $(GREP) -v -e "WARNING: Using incubator module" || test "$$?" = "1" )
JDK_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk
JRE_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JDK_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST, $(JDK_IMAGE_SUPPORT_DIR)/_jlink_jdk.vardeps), \
OUTPUT_DIR := $(JDK_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $(JDK_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JDK_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
$(JLINK_JDK_EXTRA_OPTS) --output $(JDK_IMAGE_DIR) \
@@ -103,10 +110,10 @@ JLINK_JDK_TARGETS := $(jlink_jdk)
$(eval $(call SetupExecute, jlink_jre, \
WARN := Creating legacy jre image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JRE_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JRE_MODULES_LIST, $(JRE_IMAGE_SUPPORT_DIR)/_jlink_jre.vardeps), \
OUTPUT_DIR := $(JRE_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $(JRE_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JRE_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) --output $(JRE_IMAGE_DIR), \
@@ -142,7 +149,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jdk), \
OUTPUT_FILE := $$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $$(JDK_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
@@ -155,7 +162,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jre), \
OUTPUT_FILE := $$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $$(JRE_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JRE_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \

View File

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

View File

@@ -233,6 +233,7 @@ ALL_TARGETS += $(LAUNCHER_TARGETS)
HOTSPOT_VARIANT_TARGETS := $(addprefix hotspot-, $(JVM_VARIANTS))
HOTSPOT_VARIANT_GENSRC_TARGETS := $(addsuffix -gensrc, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_LIBS_TARGETS := $(addsuffix -libs, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_STATIC_LIBS_TARGETS := $(addsuffix -static-libs, $(HOTSPOT_VARIANT_TARGETS))
define DeclareHotspotGensrcRecipe
hotspot-$1-gensrc:
@@ -251,6 +252,14 @@ endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
define DeclareHotspotStaticLibsRecipe
hotspot-$1-static-libs:
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f lib/CompileLibraries.gmk \
JVM_VARIANT=$1 STATIC_LIBS=true)
endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotStaticLibsRecipe,$v)))
$(eval $(call SetupTarget, hotspot-ide-project, \
MAKEFILE := ide/visualstudio/hotspot/CreateVSProject, \
DEPS := hotspot exploded-image, \
@@ -298,7 +307,7 @@ $(eval $(call SetupTarget, eclipse-shared-mixed-env, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS)
$(HOTSPOT_VARIANT_LIBS_TARGETS) $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS)
################################################################################
# Help and user support
@@ -462,6 +471,12 @@ $(eval $(call SetupTarget, symbols-image, \
$(eval $(call SetupTarget, static-libs-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-graal-image, \
))
$(eval $(call SetupTarget, mac-jdk-bundle, \
@@ -489,7 +504,7 @@ $(eval $(call SetupTarget, exploded-image-optimize, \
$(eval $(call SetupTarget, graal-builder-image, \
MAKEFILE := GraalBuilderImage, \
DEPS := jdk-image static-libs-image, \
DEPS := jdk-image static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
@@ -836,6 +851,12 @@ $(eval $(call SetupTarget, static-libs-bundles, \
DEPS := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-bundles, \
MAKEFILE := Bundles, \
TARGET := static-libs-graal-bundles, \
DEPS := static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
$(eval $(call SetupTarget, jcov-bundles, \
MAKEFILE := Bundles, \
@@ -889,6 +910,7 @@ else
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v-gensrc: java.base-copy buildtools-hotspot) \
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
$(eval hotspot-$v-static-libs: hotspot-$v-gensrc java.base-copy) \
)
# If not already set, set the JVM variant target so that the JVM will be built.
@@ -951,11 +973,15 @@ else
jdk.compiler-gendata: $(GENSRC_MODULEINFO_TARGETS)
# Declare dependencies between jmod targets.
# java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
# java.base jmod needs jrt-fs.jar and access to the jmods for all non
# upgradeable modules and their transitive dependencies.
# When creating the BUILDJDK, we don't need to add hashes to java.base, thus
# we don't need to depend on all other jmods
ifneq ($(CREATING_BUILDJDK), true)
java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
java.base-jmod: jrtfs-jar $(addsuffix -jmod, $(filter-out java.base, $(sort \
$(foreach m, $(filter-out $(call FindAllUpgradeableModules), $(JMOD_MODULES)), \
$m $(call FindTransitiveDepsForModules, $m) \
))))
endif
# If not already set, set the JVM target so that the JVM will be built.
@@ -1047,7 +1073,9 @@ else
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: $(STATIC_LIBS_TARGETS)
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
bootcycle-images: jdk-image
@@ -1097,6 +1125,7 @@ hotspot: $(HOTSPOT_VARIANT_TARGETS)
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-libs: hotspot-$v-libs) \
$(eval hotspot-gensrc: hotspot-$v-gensrc) \
$(eval hotspot-static-libs: hotspot-$v-static-libs) \
)
gensrc: $(GENSRC_TARGETS)
@@ -1259,7 +1288,8 @@ all-images: product-images test-image all-docs-images
# all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
hotspot-gensrc gensrc gendata \
copy java libs static-libs launchers jmods \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image runnable-buildjdk \
@@ -1401,13 +1431,13 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
# are internal only, to support Init.gmk.
print-targets:
@$(ECHO) $(sort $(ALL_TARGETS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_TARGETS))))
print-modules:
@$(ECHO) $(sort $(ALL_MODULES))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_MODULES))))
print-tests:
@$(ECHO) $(sort $(ALL_NAMED_TESTS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_NAMED_TESTS))))
create-main-targets-include:
$(call LogInfo, Generating main target list)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -38,11 +38,16 @@ _MAINSUPPORT_GMK := 1
# TARGET the makefile target
# ARGS arguments to the makefile
# DEPS the target(s) this new rule depends on
# DIR the directory of the makefile (defaults to $(TOPDIR)/make)
#
SetupTarget = $(NamedParamsMacroTemplate)
define SetupTargetBody
ifeq ($$($1_DIR), )
$1_DIR := $(TOPDIR)/make
endif
$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
+($(CD) $$($1_DIR) && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
ALL_TARGETS += $1

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -38,19 +38,43 @@ ALL_MODULES = $(call FindAllModules)
TARGETS :=
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_IMAGE_DIR)/lib
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
endif
# Copy JDK static libs to the image.
$(foreach m, $(ALL_MODULES), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
FLATTEN := true, \
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
DEST := $(IMAGE_DEST_DIR), \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
$(eval STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$m)) \
)
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
# Copy libjvm static library to the image.
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static, \
DEST := $(IMAGE_DEST_DIR)/$v, \
FILES := $(wildcard $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static/*$(STATIC_LIBRARY_SUFFIX)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$v)) \
$(eval HOTSPOT_VARIANT_STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$v)) \
)
endif
################################################################################
static-libs-image: $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS) $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
all: $(TARGETS)
.PHONY: all

View File

@@ -76,8 +76,8 @@ TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_class
-Dkeystore.pkcs12.macAlgorithm=NONE \
build.tools.generatecacerts.GenerateCacerts
TOOL_GENERATEEMOJIDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateemojidata.GenerateEmojiData
TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateextraproperties.GenerateExtraProperties
TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible
@@ -137,4 +137,7 @@ PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpa
##########################################################################################
# Hook to include the corresponding custom post file, if present.
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))
endif # _TOOLS_GMK

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -41,7 +41,6 @@ $(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
modules/java.base/sun/security/internal/interfaces \
modules/java.base/sun/security/internal/spec \
modules/java.base/com/sun/crypto/provider \
modules/jdk.crypto.ec/sun/security/ec \
modules/jdk.crypto.mscapi/sun/security/mscapi \
modules/jdk.crypto.cryptoki/sun/security/pkcs11 \
modules/jdk.crypto.cryptoki/sun/security/pkcs11/wrapper \

View File

@@ -479,7 +479,7 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
# df on AIX does not understand -l. On modern AIXes it understands "-T local" which
# is the same. On older AIXes we just continue to live with a "not local build" warning.
if test "x$OPENJDK_TARGET_OS" = xaix; then
if "$DF -T local > /dev/null 2>&1"; then
if $DF -T local > /dev/null 2>&1; then
DF_LOCAL_ONLY_OPTION='-T local'
else # AIX may use GNU-utils instead
DF_LOCAL_ONLY_OPTION='-l'

View File

@@ -243,8 +243,11 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
fi
fi
# The CCACHE_BASEDIR needs to end with '/' as ccache will otherwise think
# directories next to it, that have the base dir name as a prefix, are sub
# directories of CCACHE_BASEDIR.
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR \
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$TOPDIR $CCACHE"
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$WORKSPACE_ROOT/ $CCACHE"
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
# Setup flags for C/C++ compiler
#
################################################################################
###############################################################################
#
# How to compile shared libraries.
#
@@ -37,10 +37,7 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
# --disable-new-dtags forces use of RPATH instead of RUNPATH for rpaths.
# This protects internal library dependencies within the JDK from being
# overridden using LD_LIBRARY_PATH. See JDK-8326891 for more information.
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1 -Wl,--disable-new-dtags'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -66,9 +63,6 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
if test "x$OPENJDK_TARGET_OS" = xlinux; then
SET_EXECUTABLE_ORIGIN="$SET_EXECUTABLE_ORIGIN -Wl,--disable-new-dtags"
fi
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -123,16 +117,6 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${DEBUG_PREFIX_CFLAGS}],
IF_FALSE: [
DEBUG_PREFIX_CFLAGS=
],
IF_TRUE: [
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
# Add debug prefix map for OUTPUTDIR to handle the scenario when
# it is not located within WORKSPACE_ROOT
outputdir_slash="${OUTPUTDIR%/}/"
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS -fdebug-prefix-map=${outputdir_slash}="
]
)
fi
@@ -174,55 +158,6 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
# gcc will embed the full system include paths in the debug info
# resulting in non-deterministic debug symbol files and thus
# non-reproducible native libraries if gcc includes are located
# in different paths.
# Add -fdebug-prefix-map'ings for root and gcc include paths,
# pointing to a common set of folders so that the binaries are deterministic:
# root include : /usr/include
# gcc include : /usr/local/gcc_include
# g++ include : /usr/local/gxx_include
AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
[
# Determine gcc system include paths.
# Assume default roots to start with:
GCC_ROOT_INCLUDE="/usr/include"
# Determine is sysroot or devkit specified?
if test "x$SYSROOT" != "x"; then
GCC_ROOT_INCLUDE="${SYSROOT%/}/usr/include"
fi
# Add root include mapping => /usr/include
GCC_INCLUDE_DEBUG_MAP_FLAGS="-fdebug-prefix-map=${GCC_ROOT_INCLUDE}/=/usr/include/"
# Add gcc system include mapping => /usr/local/gcc_include
# Find location of stddef.h using build C compiler
GCC_SYSTEM_INCLUDE=`$ECHO "#include <stddef.h>" | \
$CC $CFLAGS -v -E - 2>&1 | \
$GREP stddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GCC_SYSTEM_INCLUDE" != "x"; then
GCC_SYSTEM_INCLUDE=`$DIRNAME $GCC_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GCC_SYSTEM_INCLUDE}/=/usr/local/gcc_include/"
fi
# Add g++ system include mapping => /usr/local/gxx_include
# Find location of cstddef using build C++ compiler
GXX_SYSTEM_INCLUDE=`$ECHO "#include <cstddef>" | \
$CXX $CXXFLAGS -v -E -x c++ - 2>&1 | \
$GREP cstddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GXX_SYSTEM_INCLUDE" != "x"; then
GXX_SYSTEM_INCLUDE=`$DIRNAME $GXX_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GXX_SYSTEM_INCLUDE}/=/usr/local/gxx_include/"
fi
# Add to debug prefix cflags
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS $GCC_INCLUDE_DEBUG_MAP_FLAGS"
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
# Set default value.
@@ -490,13 +425,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
CFLAGS_OS_DEF_JVM="-DAIX"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -587,7 +522,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# do this on s390x also for libjvm (where serviceability agent is not supported)
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
if test "x$OPENJDK_TARGET_CPU" = xs390x && test "x$DEBUG_LEVEL" == xrelease; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
fi
fi
@@ -625,8 +560,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:wchar_t-"
# The -utf-8 option sets source and execution character sets to UTF-8 to enable correct
# compilation of all source files regardless of the active code page on Windows.
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -Zc:wchar_t-"
fi
# CFLAGS C language level for JDK sources (hotspot only uses C++)
@@ -862,15 +799,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -1008,17 +936,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -60,7 +60,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Add -z,defs, to forbid undefined symbols in object files.
# add -z,relro (mark relocations read only) for all libs
# add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
# add --no-as-needed to disable default --as-needed link flag on some GCC toolchains
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-as-needed"
# Linux : remove unused code+data in link step
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
@@ -72,9 +73,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY=""
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
@@ -161,6 +167,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Export some intermediate variables for compatibility
LDFLAGS_CXX_JDK="$BASIC_LDFLAGS_ONLYCXX $BASIC_LDFLAGS_ONLYCXX_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY"
AC_SUBST(LDFLAGS_CXX_JDK)
AC_SUBST(LDFLAGS_CXX_PARTIAL_LINKING)
])
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -128,16 +128,12 @@ AC_DEFUN([FLAGS_SETUP_MACOSX_VERSION],
# The expected format for <version> is either nn.n.n or nn.nn.nn. See
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h
# MACOSX_VERSION_MIN specifies the lowest version of Macosx that the built
# MACOSX_VERSION_MIN specifies the lowest version of macOS that the built
# binaries should be compatible with, even if compiled on a newer version
# of the OS. It currently has a hard coded value. Setting this also limits
# exposure to API changes in header files. Bumping this is likely to
# require code changes to build.
if test "x$OPENJDK_TARGET_CPU_ARCH" = xaarch64; then
MACOSX_VERSION_MIN=11.00.00
else
MACOSX_VERSION_MIN=10.12.0
fi
MACOSX_VERSION_MIN=11.00.00
MACOSX_VERSION_MIN_NODOTS=${MACOSX_VERSION_MIN//\./}
AC_SUBST(MACOSX_VERSION_MIN)
@@ -301,6 +297,7 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(MACHINE_FLAG)
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)

View File

@@ -190,17 +190,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
fi
AC_SUBST(INCLUDE_SA)
# Setup default CDS alignment. On platforms where one build may run on machines with different
# page sizes, the JVM choses a compatible alignment to fit all possible page sizes. This slightly
# increases archive size.
# The only platform having this problem at the moment is Linux on aarch64, which may encounter
# three different page sizes: 4K, 64K, and if run on Mac m1 hardware, 16K.
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=false
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=true
fi
AC_SUBST(COMPATIBLE_CDS_ALIGNMENT_DEFAULT)
# Compress jars
COMPRESS_JARS=false
@@ -527,7 +516,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
@@ -709,7 +698,7 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
[
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
DESC: [enable use alternative compatible cds core region alignment],
DEFAULT_DESC: [disabled],

View File

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

View File

@@ -1,55 +0,0 @@
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, JetBrains s.r.o.. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Check if a potential dbus library match is correct and usable
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_DBUS],
[
AC_ARG_WITH(dbus-includes, [AS_HELP_STRING([--with-dbus-includes],
[specify include directories for the dbus files as list separated by space])])
if test "x$NEEDS_LIB_DBUS" = xfalse; then
DBUS_CFLAGS=
DBUS_FOUND=false
else
if test "x${with_dbus_includes}" != x; then
DBUS_FOUND=true
DBUS_CFLAGS=""
for include in $with_dbus_includes; do
DBUS_CFLAGS="${DBUS_CFLAGS}-I${include} "
done
else
PKG_CHECK_MODULES(DBUS, dbus-1, [DBUS_FOUND=true], [
DBUS_FOUND=false
AC_MSG_NOTICE([Can't find dbus-1 library. This library is needed to use some features. You can install dbus-1 library or specify include directories manually by giving --with-dbus-includes option.])
])
fi
fi
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_FOUND)
])

View File

@@ -57,7 +57,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
if test "x${with_libffi}" != x; then
LIBFFI_LIB_PATH="${with_libffi}/lib"
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
else
LIBFFI_LIBS="${with_libffi}/lib/libffi.lib"
fi
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
fi
@@ -67,7 +71,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIB_PATH="${with_libffi_lib}"
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
else
LIBFFI_LIBS="${with_libffi_lib}/libffi.lib"
fi
LIBFFI_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
@@ -106,12 +114,13 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $LIBFFI_LIBS"
AC_MSG_CHECKING([if libffi works])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
[
ffi_call(NULL, NULL, NULL, NULL);
@@ -120,9 +129,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[LIBFFI_WORKS=yes],
[LIBFFI_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBFFI_WORKS])
if test "x$LIBFFI_WORKS" = xno; then
@@ -130,39 +136,71 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
# Check if FFI_GO_CLOSURES is properly defined. On some distributions, notably MacOS AArch64,
# ffitarget.h (included from ffi.h) does not explicitly define FFI_GO_CLOSURES. This makes the
# further include of ffi.h trigger the "FFI_GO_CLOSURES is undefined" warning, which fails
# the build when warnings are fatal.
AC_MSG_CHECKING([for FFI_GO_CLOSURES definition])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <ffi.h>
#ifndef FFI_GO_CLOSURES
#error "FFI_GO_CLOSURES is not defined"
#endif
][])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no, defining])
LIBFFI_CFLAGS="$LIBFFI_CFLAGS -DFFI_GO_CLOSURES=0"
]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
# Find the libffi.so.X to bundle
if test "x${ENABLE_LIBFFI_BUNDLING}" = "xtrue"; then
if test "x${OPENJDK_TARGET_OS}" = "xmacosx"; then
LIBFFI_LIB_FILE_NAME=libffi.?.dylib
elif test "x${OPENJDK_TARGET_OS}" = "xwindows"; then
LIBFFI_LIB_FILE_NAME=libffi.dll
else
LIBFFI_LIB_FILE_NAME=libffi.so.?
fi
AC_MSG_CHECKING([for libffi lib file location])
if test "x${LIBFFI_LIB_PATH}" != x; then
if test -e ${LIBFFI_LIB_PATH}/libffi.so.?; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/libffi.so.?"
if test -e ${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling in ${LIBFFI_LIB_PATH}])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling in ${LIBFFI_LIB_PATH}])
fi
else
# If we don't have an explicit path, look in a few obvious places
if test "x${OPENJDK_TARGET_CPU}" = "xx86"; then
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64" || test "x${OPENJDK_TARGET_CPU}" = "xaarch64"; then
if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
else
# Fallback on the default /usr/lib dir
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
fi
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -134,7 +134,8 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
BINUTILS_SRC="$with_binutils_src"
UTIL_FIXUP_PATH(BINUTILS_SRC)
BINUTILS_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils"
BINUTILS_BUILD_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils"
BINUTILS_INSTALL_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils-install"
if ! test -d $BINUTILS_SRC; then
AC_MSG_ERROR([--with-binutils-src is not pointing to a directory])
@@ -143,15 +144,15 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
AC_MSG_ERROR([--with-binutils-src does not look like a binutils source directory])
fi
if ! test -d $BINUTILS_DIR; then
$MKDIR -p $BINUTILS_DIR
if ! test -d $BINUTILS_BUILD_DIR; then
$MKDIR -p $BINUTILS_BUILD_DIR
fi
if test -e $BINUTILS_DIR/bfd/libbfd.a && \
test -e $BINUTILS_DIR/opcodes/libopcodes.a && \
test -e $BINUTILS_DIR/libiberty/libiberty.a && \
test -e $BINUTILS_DIR/zlib/libz.a; then
AC_MSG_NOTICE([Found binutils binaries in binutils source directory -- not building])
# We don't know the version, not checking for libsframe.a
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
AC_MSG_NOTICE([Found binutils binaries in binutils install directory -- not building])
else
# On Windows, we cannot build with the normal Microsoft CL, but must instead use
# a separate mingw toolchain.
@@ -190,20 +191,26 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
binutils_cflags="$binutils_cflags $MACHINE_FLAG $JVM_PICFLAG $C_O_FLAG_NORM"
AC_MSG_NOTICE([Running binutils configure])
AC_MSG_NOTICE([configure command line: cd $BINUTILS_DIR && $BINUTILS_SRC/configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target])
AC_MSG_NOTICE([configure command line: cd $BINUTILS_BUILD_DIR && $BINUTILS_SRC/configure --disable-werror --prefix=$BINUTILS_INSTALL_DIR --enable-install-libiberty --with-system-zlib --without-zstd --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target])
saved_dir=`pwd`
cd "$BINUTILS_DIR"
$BINUTILS_SRC/configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target
if test $? -ne 0 || ! test -e $BINUTILS_DIR/Makefile; then
cd "$BINUTILS_BUILD_DIR"
$BINUTILS_SRC/configure --disable-werror --prefix=$BINUTILS_INSTALL_DIR --enable-install-libiberty --with-system-zlib --without-zstd --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target
if test $? -ne 0 || ! test -e $BINUTILS_BUILD_DIR/Makefile; then
AC_MSG_NOTICE([Automatic building of binutils failed on configure. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
AC_MSG_NOTICE([Running binutils make])
$MAKE all-opcodes
$MAKE all-opcodes all-libiberty
if test $? -ne 0; then
AC_MSG_NOTICE([Automatic building of binutils failed on make. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
AC_MSG_NOTICE([Running binutils make install])
$MAKE install-opcodes install-libiberty
if test $? -ne 0; then
AC_MSG_NOTICE([Automatic building, install step, of binutils failed on make. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
cd $saved_dir
AC_MSG_NOTICE([Building of binutils done])
fi
@@ -223,40 +230,66 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
# We need the binutils static libs and includes.
if test "x$with_binutils_src" != x; then
# Try building the source first. If it succeeds, it sets $BINUTILS_DIR.
# Try building the source first. If it succeeds, it sets $BINUTILS_INSTALL_DIR.
LIB_BUILD_BINUTILS
fi
if test "x$with_binutils" != x; then
BINUTILS_DIR="$with_binutils"
BINUTILS_INSTALL_DIR="$with_binutils"
fi
binutils_system_error=""
HSDIS_LDFLAGS=""
HSDIS_LIBS=""
if test "x$BINUTILS_DIR" = xsystem; then
disasm_header="<dis-asm.h>"
if test "x$BINUTILS_INSTALL_DIR" = xsystem; then
AC_CHECK_LIB(bfd, bfd_openr, [ HSDIS_LIBS="-lbfd" ], [ binutils_system_error="libbfd not found" ])
AC_CHECK_LIB(opcodes, disassembler, [ HSDIS_LIBS="$HSDIS_LIBS -lopcodes" ], [ binutils_system_error="libopcodes not found" ])
AC_CHECK_LIB(iberty, xmalloc, [ HSDIS_LIBS="$HSDIS_LIBS -liberty" ], [ binutils_system_error="libiberty not found" ])
AC_CHECK_LIB(z, deflate, [ HSDIS_LIBS="$HSDIS_LIBS -lz" ], [ binutils_system_error="libz not found" ])
# libiberty is not required on Ubuntu
AC_CHECK_LIB(iberty, xmalloc, [ HSDIS_LIBS="$HSDIS_LIBS -liberty" ])
AC_CHECK_LIB(sframe, frame, [ HSDIS_LIBS="$HSDIS_LIBS -lsframe" ], )
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
elif test "x$BINUTILS_DIR" != x; then
if test -e $BINUTILS_DIR/bfd/libbfd.a && \
test -e $BINUTILS_DIR/opcodes/libopcodes.a && \
test -e $BINUTILS_DIR/libiberty/libiberty.a && \
test -e $BINUTILS_DIR/zlib/libz.a; then
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
if test -n "$BINUTILS_SRC"; then
HSDIS_CFLAGS="$HSDIS_CFLAGS -I$BINUTILS_SRC/include -I$BINUTILS_DIR/bfd"
elif test "x$BINUTILS_INSTALL_DIR" != x; then
disasm_header="\"$BINUTILS_INSTALL_DIR/include/dis-asm.h\""
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a); then
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB -I$BINUTILS_INSTALL_DIR/include"
# libiberty ignores --libdir and may be installed in $BINUTILS_INSTALL_DIR/lib or $BINUTILS_INSTALL_DIR/lib64
# depending on system setup
LIBIBERTY_LIB=""
if test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib/libiberty.a"
else
HSDIS_CFLAGS="$HSDIS_CFLAGS -I$BINUTILS_DIR/include -I$BINUTILS_DIR/bfd"
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib64/libiberty.a"
fi
HSDIS_LDFLAGS=""
HSDIS_LIBS="$BINUTILS_DIR/bfd/libbfd.a $BINUTILS_DIR/opcodes/libopcodes.a $BINUTILS_DIR/libiberty/libiberty.a $BINUTILS_DIR/zlib/libz.a"
HSDIS_LIBS="$BINUTILS_INSTALL_DIR/lib/libbfd.a $BINUTILS_INSTALL_DIR/lib/libopcodes.a $LIBIBERTY_LIB"
# If we have libsframe add it.
if test -e $BINUTILS_INSTALL_DIR/lib/libsframe.a; then
HSDIS_LIBS="$HSDIS_LIBS $BINUTILS_INSTALL_DIR/lib/libsframe.a"
fi
AC_CHECK_LIB(z, deflate, [ HSDIS_LIBS="$HSDIS_LIBS -lz" ], AC_MSG_ERROR([libz not found]))
else
AC_MSG_ERROR(["$BINUTILS_INSTALL_DIR/lib[64] must contain libbfd.a, libopcodes.a and libiberty.a"])
fi
fi
AC_MSG_CHECKING([Checking binutils API])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include $disasm_header],[[void foo() {init_disassemble_info(0, 0, 0, 0);}]])],
[
AC_MSG_RESULT([New API])
HSDIS_CFLAGS="$HSDIS_CFLAGS -DBINUTILS_NEW_API"
],
[
AC_MSG_RESULT([Old API])
]
)
AC_MSG_CHECKING([for binutils to use with hsdis])
case "x$BINUTILS_DIR" in
case "x$BINUTILS_INSTALL_DIR" in
xsystem)
if test "x$OPENJDK_TARGET_OS" != xlinux; then
AC_MSG_RESULT([invalid])
@@ -279,10 +312,10 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
;;
*)
if test "x$HSDIS_LIBS" != x; then
AC_MSG_RESULT([$BINUTILS_DIR])
AC_MSG_RESULT([$BINUTILS_INSTALL_DIR])
else
AC_MSG_RESULT([invalid])
AC_MSG_ERROR([$BINUTILS_DIR does not contain a proper binutils installation])
AC_MSG_ERROR([$BINUTILS_INSTALL_DIR does not contain a proper binutils installation])
fi
;;
esac

View File

@@ -29,7 +29,7 @@
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.3.1
GTEST_MINIMUM_VERSION=1.13.0
GTEST_MINIMUM_VERSION=1.14.0
###############################################################################
#

View File

@@ -1,193 +0,0 @@
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, JetBrains s.r.o.. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup wayland
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_WAYLAND],
[
AC_ARG_WITH(wayland, [AS_HELP_STRING([--with-wayland],
[specify prefix directory for the wayland package
(expecting the headers under PATH/include)])])
AC_ARG_WITH(wayland-include, [AS_HELP_STRING([--with-wayland-include],
[specify directory for the wayland include files])])
AC_ARG_WITH(wayland-lib, [AS_HELP_STRING([--with-wayland-lib],
[specify directory for the wayland library files])])
if test "x$NEEDS_LIB_WAYLAND" = xfalse; then
if (test "x${with_wayland}" != x && test "x${with_wayland}" != xno) || \
(test "x${with_wayland_include}" != x && test "x${with_wayland_include}" != xno); then
AC_MSG_WARN([[wayland not used, so --with-wayland[-*] is ignored]])
fi
WAYLAND_CFLAGS=
WAYLAND_LIBS=
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
WAYLAND_FOUND=no
if test "x${with_wayland}" = xno || test "x${with_wayland_include}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of wayland. Remove the --without-wayland option.])
fi
if test "x${with_wayland}" != x; then
AC_MSG_CHECKING([for wayland headers])
if test -s "${with_wayland}/include/wayland-client.h" && test -s "${with_wayland}/include/wayland-cursor.h"; then
WAYLAND_CFLAGS="-I${with_wayland}/include"
WAYLAND_LIBS="-L${with_wayland}/lib -lwayland-client -lwayland-cursor"
WAYLAND_FOUND=yes
AC_MSG_RESULT([$WAYLAND_FOUND])
else
AC_MSG_ERROR([Can't find 'include/wayland-client.h' and 'include/wayland-cursor.h' under ${with_wayland} given with the --with-wayland option.])
fi
fi
if test "x${with_wayland_include}" != x; then
AC_MSG_CHECKING([for wayland headers])
if test -s "${with_wayland_include}/wayland-client.h" && test -s "${with_wayland_include}/wayland-cursor.h"; then
WAYLAND_CFLAGS="-I${with_wayland_include}"
WAYLAND_FOUND=yes
AC_MSG_RESULT([$WAYLAND_FOUND])
else
AC_MSG_ERROR([Can't find 'wayland-client.h' and 'wayland-cursor.h' under ${with_wayland_include} given with the --with-wayland-include option.])
fi
fi
if test "x${with_wayland_lib}" != x; then
WAYLAND_LIBS="-L${with_wayland_lib} -lwayland-client -lwayland-cursor"
fi
if test "x$WAYLAND_FOUND" = xno; then
# Are the wayland headers installed in the default /usr/include location?
AC_CHECK_HEADERS([wayland-client.h wayland-cursor.h],
[ WAYLAND_FOUND=yes ],
[ WAYLAND_FOUND=no; break ]
)
if test "x$WAYLAND_FOUND" = xyes; then
WAYLAND_CFLAGS=
WAYLAND_LIBS="-lwayland-client -lwayland-cursor"
DEFAULT_WAYLAND=yes
fi
fi
if test "x$WAYLAND_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([wayland])
AC_MSG_ERROR([Could not find wayland! $HELP_MSG ])
fi
# Checking for vulkan sdk
AC_ARG_WITH(vulkan, [AS_HELP_STRING([--with-vulkan],
[specify whether we use vulkan])])
AC_ARG_WITH(vulkan-include, [AS_HELP_STRING([--with-vulkan-include],
[specify directory for the vulkan include files ({with-vulkan-include}/vulkan/vulkan.h)])])
AC_ARG_WITH(vulkan-shader-compiler, [AS_HELP_STRING([--with-vulkan-shader-compiler],
[specify which shader compiler to use: glslc/glslangValidator])])
if test "x$SUPPORTS_LIB_VULKAN" = xfalse; then
if (test "x${with_vulkan}" != x && test "x${with_vulkan}" != xno) || \
(test "x${with_vulkan_include}" != x && test "x${with_vulkan_include}" != xno); then
AC_MSG_WARN([[vulkan not used, so --with-vulkan-include is ignored]])
fi
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
# Do not build vulkan rendering pipeline by default
if (test "x${with_vulkan}" = x && test "x${with_vulkan_include}" = x) || \
test "x${with_vulkan}" = xno || test "x${with_vulkan_include}" = xno ; then
VULKAN_FLAGS=
VULKAN_ENABLED=false
else
VULKAN_FOUND=no
if test "x${with_vulkan_include}" != x; then
AC_MSG_CHECKING([for vulkan.h])
if test -s "${with_vulkan_include}/vulkan/vulkan.h"; then
VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${with_vulkan_include} -DVULKAN_ENABLED"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'vulkan/vulkan.h' under '${with_vulkan_include}'])
fi
fi
if test "x$VULKAN_FOUND" = xno; then
# Check vulkan sdk location
AC_CHECK_HEADERS([$VULKAN_SDK/include/vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -I${VULKAN_SDK}/include -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
# Check default /usr/include location
AC_CHECK_HEADERS([vulkan/vulkan.h],
[ VULKAN_FOUND=yes
VULKAN_FLAGS="-DVK_USE_PLATFORM_WAYLAND_KHR -DVULKAN_ENABLED"
],
[ VULKAN_FOUND=no; break ]
)
fi
if test "x$VULKAN_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([vulkan])
AC_MSG_ERROR([Could not find vulkan! $HELP_MSG ])
else
# Find shader compiler - glslc or glslangValidator
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslc); then
UTIL_LOOKUP_PROGS(GLSLC, glslc)
SHADER_COMPILER="$GLSLC"
VULKAN_SHADER_COMPILER="glslc --target-env=vulkan1.2 -mfmt=num -o"
fi
if (test "x${with_vulkan_shader_compiler}" = x || test "x${with_vulkan_shader_compiler}" = xglslangValidator) && \
test "x$SHADER_COMPILER" = x; then
UTIL_LOOKUP_PROGS(GLSLANG, glslangValidator)
SHADER_COMPILER="$GLSLANG"
VULKAN_SHADER_COMPILER="glslangValidator --target-env vulkan1.2 -x -o"
fi
if test "x$SHADER_COMPILER" != x; then
VULKAN_ENABLED=true
else
AC_MSG_ERROR([Can't find shader compiler])
fi
fi
fi
fi
fi
AC_SUBST(VULKAN_FLAGS)
AC_SUBST(VULKAN_SHADER_COMPILER)
AC_SUBST(VULKAN_ENABLED)
AC_SUBST(WAYLAND_CFLAGS)
AC_SUBST(WAYLAND_LIBS)
])

View File

@@ -36,8 +36,6 @@ m4_include([lib-x11.m4])
m4_include([lib-fontconfig.m4])
m4_include([lib-speechd.m4])
m4_include([lib-nvdacontrollerclient.m4])
m4_include([lib-wayland.m4])
m4_include([lib-dbus.m4])
m4_include([lib-tests.m4])
################################################################################
@@ -45,26 +43,20 @@ m4_include([lib-tests.m4])
################################################################################
AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
[
# Check if X11, wayland and vulkan is needed
# Check if X11 is needed
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
# No X11 and wayland support on windows or macosx
# No X11 support on windows or macosx
NEEDS_LIB_X11=false
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
elif test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
# No X11 support needed when building headless only
NEEDS_LIB_X11=false
NEEDS_LIB_SPEECHD=false
NEEDS_LIB_WAYLAND=false
SUPPORTS_LIB_VULKAN=false
else
# All other instances need X11 and wayland, even if building headless only, libawt still
# All other instances need X11, even if building headless only, libawt still
# needs X11 headers.
NEEDS_LIB_X11=true
NEEDS_LIB_SPEECHD=true
NEEDS_LIB_WAYLAND=true
SUPPORTS_LIB_VULKAN=true
fi
# Check if fontconfig is needed
@@ -90,13 +82,11 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
NEEDS_LIB_FREETYPE=true
fi
# Check if alsa and dbus is needed
# Check if alsa is needed
if test "x$OPENJDK_TARGET_OS" = xlinux; then
NEEDS_LIB_ALSA=true
NEEDS_LIB_DBUS=true
else
NEEDS_LIB_ALSA=false
NEEDS_LIB_DBUS=false
fi
# Check if ffi is needed
@@ -153,8 +143,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_X11
LIB_SETUP_SPEECHD
LIB_SETUP_NVDACONTROLLERCLIENT
LIB_SETUP_WAYLAND
LIB_SETUP_DBUS
LIB_TESTS_SETUP_GTEST
BASIC_JDKLIB_LIBS=""

View File

@@ -191,7 +191,6 @@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
JDK_RC_COMPANY_NAME:=@JDK_RC_COMPANY_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -467,10 +466,6 @@ UBSAN_LDFLAGS:=@UBSAN_LDFLAGS@
X_CFLAGS:=@X_CFLAGS@
X_LIBS:=@X_LIBS@
# Necessary additional compiler flags to compile dbus
DBUS_CFLAGS := @DBUS_CFLAGS@
DBUS_FOUND := @DBUS_FOUND@
# Linux speechd a11y announcer
A11Y_SPEECHD_ANNOUNCING_ENABLED:=@A11Y_SPEECHD_ANNOUNCING_ENABLED@
SPEECHD_CFLAGS:=@SPEECHD_CFLAGS@
@@ -485,12 +480,6 @@ NVDACONTROLLERCLIENT_LIB:=@NVDACONTROLLERCLIENT_LIB@
# Windows the client for the JAWS screen reader
A11Y_JAWS_ANNOUNCING_ENABLED:=@A11Y_JAWS_ANNOUNCING_ENABLED@
WAYLAND_CFLAGS:=@WAYLAND_CFLAGS@
WAYLAND_LIBS:=@WAYLAND_LIBS@
VULKAN_FLAGS:=@VULKAN_FLAGS@
VULKAN_SHADER_COMPILER:=@VULKAN_SHADER_COMPILER@
VULKAN_ENABLED:=@VULKAN_ENABLED@
# The lowest required version of macosx
MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# The highest allowed version of macosx
@@ -572,6 +561,8 @@ JVM_LIBS := @JVM_LIBS@
BASIC_ASFLAGS := @BASIC_ASFLAGS@
MACHINE_FLAG := @MACHINE_FLAG@
# These flags might contain variables set by a custom extension that is included later.
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
@@ -598,6 +589,9 @@ JDKEXE_LIBS:=@JDKEXE_LIBS@
# LDFLAGS specific to C++ linking.
LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
# LDFLAGS specific to partial linking.
LDFLAGS_CXX_PARTIAL_LINKING:=@LDFLAGS_CXX_PARTIAL_LINKING@
# Sometimes a different linker is needed for c++ libs
LDCXX := @LDCXX@
# The flags for linking libstdc++ linker.
@@ -958,6 +952,10 @@ DOCS_OUTPUTDIR := $(DOCS_JDK_IMAGE_DIR)
STATIC_LIBS_IMAGE_SUBDIR := static-libs
STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR)
# Graal static libs image
STATIC_LIBS_GRAAL_IMAGE_SUBDIR := static-libs-graal
STATIC_LIBS_GRAAL_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_GRAAL_IMAGE_SUBDIR)
# Graal builder image
GRAAL_BUILDER_IMAGE_SUBDIR := graal-builder-jdk
GRAAL_BUILDER_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(GRAAL_BUILDER_IMAGE_SUBDIR)
@@ -1004,6 +1002,7 @@ DOCS_JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_JAVASE_BUNDLE_NAME := javase-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_REFERENCE_BUNDLE_NAME := jdk-reference-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
STATIC_LIBS_GRAAL_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs-graal$(DEBUG_PART).tar.gz
JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -389,10 +389,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
CXX="$cxx_filtered"
])
# Check if a compiler is of the toolchain type we expect, and save the version

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -199,7 +199,7 @@ AC_DEFUN([UTIL_GET_NON_MATCHING_VALUES],
if test -z "$legal_values"; then
$1="$2"
else
result=`$GREP -Fvx -- "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fvx "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -226,7 +226,7 @@ AC_DEFUN([UTIL_GET_MATCHING_VALUES],
if test -z "$illegal_values"; then
$1=""
else
result=`$GREP -Fx -- "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fx "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -509,7 +509,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
FAILURE="Directory $1 does not exist or is not readable"
fi
if test "[x]ARG_CHECK_FOR_FILES" != x; then
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
for file in ARG_CHECK_FOR_FILES; do
found_files=$($ECHO $(ls $1/$file 2> /dev/null))
if test "x$found_files" = x; then
@@ -781,25 +781,25 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
else
AC_MSG_RESULT([$ARG_RESULT, $REASON])
fi
fi
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
ARG_CHECK_VALUE
ARG_CHECK_VALUE
ARG_RESULT="$RESULT"
fi
ARG_RESULT="$RESULT"
fi
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
fi
fi
# Execute result payloads, if present

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -152,10 +152,6 @@ define SetupLogging
endif
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
SHELL := $$(SHELL) -x
endif
ifeq ($$(LOG_LEVEL), trace)
SHELL_NO_RECURSE := $$(SHELL)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make

View File

@@ -62,8 +62,8 @@ endif
# Filter out jvmci specific modules if jvmci is disabled
ifeq ($(INCLUDE_JVMCI), false)
MODULES_FILTER += jdk.internal.vm.ci
MODULES_FILTER += jdk.internal.vm.compiler
MODULES_FILTER += jdk.internal.vm.compiler.management
MODULES_FILTER += jdk.graal.compiler
MODULES_FILTER += jdk.graal.compiler.management
endif
# jpackage is only on windows, macosx, and linux

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -215,7 +215,24 @@ DEPENDENCY_TARGET_SED_PATTERN := \
# The fix-deps-file macro is used to adjust the contents of the generated make
# dependency files to contain paths compatible with make.
#
REWRITE_PATHS_RELATIVE = false
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
REWRITE_PATHS_RELATIVE = true
endif
# CCACHE_BASEDIR needs fix-deps-file as makefiles use absolute filenames for
# object files while CCACHE_BASEDIR will make ccache relativize all paths for
# its compiler. The compiler then produces relative dependency files.
# make does not know a relative and absolute filename is the same so it will
# ignore such dependencies. This only applies when the OUTPUTDIR is inside
# the WORKSPACE_ROOT.
ifneq ($(CCACHE), )
ifneq ($(filter $(WORKSPACE_ROOT)/%, $(OUTPUTDIR)), )
REWRITE_PATHS_RELATIVE = true
endif
endif
ifeq ($(REWRITE_PATHS_RELATIVE), true)
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
MakeCommandRelative = \
$(CD) $(WORKSPACE_ROOT) && \
@@ -500,7 +517,7 @@ endef
# used both for C and C++.
# LIBS_<toolchain> the libraries to link to for the specified toolchain,
# used both for C and C++.
# LIBS_<OS>_<toolchain> the libraries to link to for the specified target
# LIBS_<toolchain>_<OS> the libraries to link to for the specified target
# OS and toolchain, used both for C and C++.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
@@ -548,6 +565,7 @@ endef
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
# BUILD_INFO_LOG_MACRO Overrides log level of the build info log message, default LogWarn
# STATIC_LIB_EXCLUDE_OBJS exclude objects that matches from static library
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
@@ -726,6 +744,12 @@ define SetupNativeCompilationBody
endif
# Sort to remove duplicates and provide a reproducible order on the input files to the linker.
$1_ALL_OBJS := $$(sort $$($1_EXPECTED_OBJS) $$($1_EXTRA_OBJECT_FILES))
ifeq ($(STATIC_LIBS), true)
# Exclude the object files that match with $1_STATIC_LIB_EXCLUDE_OBJS.
ifneq ($$($1_STATIC_LIB_EXCLUDE_OBJS), )
$1_ALL_OBJS := $$(call not-containing, $$($1_STATIC_LIB_EXCLUDE_OBJS), $$($1_ALL_OBJS))
endif
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS, TOOLCHAIN_TYPE and
# OPENJDK_TARGET_OS plus OPENJDK_TARGET_CPU pair dependent variables for CFLAGS.
@@ -1024,12 +1048,11 @@ define SetupNativeCompilationBody
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and TOOLCHAIN_TYPE
# dependent variables for LDFLAGS and LIBS, and additionally the pair dependent
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS for LDFLAGS, or OPENJDK_TARGET_OS plus
# TOOLCHAIN_TYPE for LIBS
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS
$1_EXTRA_LDFLAGS += $$($1_LDFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_LDFLAGS_$(TOOLCHAIN_TYPE)) $$($1_LDFLAGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
$1_EXTRA_LIBS += $$($1_LIBS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LIBS_$(OPENJDK_TARGET_OS)) \
$$($1_LIBS_$(OPENJDK_TARGET_OS)_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE))
$$($1_LIBS_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
ifneq ($$($1_REAL_MAPFILE), )
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
@@ -1134,9 +1157,60 @@ define SetupNativeCompilationBody
endif
endif
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
# If we are building static library, 'AR' on macosx/aix may not support @-file.
ifeq ($$($1_TYPE), STATIC_LIBRARY)
ifeq ($(call isTargetOs, macosx aix), true)
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
ifeq ($$($1_TYPE), STATIC_LIBRARY)
# Include partial linking when building the static library with clang on linux.
ifeq ($(call isTargetOs, linux), true)
ifneq ($(findstring $(TOOLCHAIN_TYPE), clang), )
$1_ENABLE_PARTIAL_LINKING := true
endif
endif
$1_VARDEPS := $$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $$($1_LIBS) \
$$($1_EXTRA_LIBS)
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_VARDEPS += $$($1_LD) $$($1_SYSROOT_LDFLAGS)
endif
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1149,11 +1223,35 @@ define SetupNativeCompilationBody
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_VARDEPS_FILE) $$(STATIC_MAPFILE_DEP)
$1_AR_OBJ_ARG := $$($1_LD_OBJ_ARG)
# With clang on linux, partial linking is enabled and 'AR' takes the output
# object from the partial linking step.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_TARGET_RELOCATABLE := $$($1_OBJECT_DIR)/$$($1_PREFIX)$$($1_NAME)_relocatable$(OBJ_SUFFIX)
$1_AR_OBJ_ARG := $$($1_TARGET_RELOCATABLE)
endif
$$($1_TARGET): $$($1_TARGET_DEPS)
ifneq ($$($1_OBJ_FILE_LIST), )
ifeq ($$($1_LINK_OBJS_RELATIVE), true)
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS_RELATIVE, $$($1_OBJ_FILE_LIST)))
else
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS, $$($1_OBJ_FILE_LIST)))
endif
endif
$$(call LogInfo, Building static library $$($1_BASENAME))
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
# Do partial linking.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_partial_link, \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_LD) $(LDFLAGS_CXX_PARTIAL_LINKING) $$($1_SYSROOT_LDFLAGS) \
$(LD_OUT_OPTION)$$($1_TARGET_RELOCATABLE) \
$$($1_LD_OBJ_ARG))
endif
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_ALL_OBJS) \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_AR_OBJ_ARG) \
$$($1_RES))
ifeq ($(STATIC_BUILD), true)
ifeq ($$($1_USE_MAPFILE_FOR_SYMBOLS), true)
@@ -1205,40 +1303,6 @@ define SetupNativeCompilationBody
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$$($1_REAL_MAPFILE) $$($1_VARDEPS_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -87,6 +87,15 @@ define SetupTestFilesCompilationBody
$1_BUILD_INFO := $$($1_OUTPUT_DIR)/_$1-build-info.marker
# Tests are built with internal debug symbols where supported.
# With Visual Studio or on macosx, we revert to external.
$1_COPY_DEBUG_SYMBOLS := false
ifeq ($(TOOLCHAIN_TYPE), microsoft)
$1_COPY_DEBUG_SYMBOLS := true
else ifeq ($(call isTargetOs, macosx), true)
$1_COPY_DEBUG_SYMBOLS := true
endif
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
@@ -106,7 +115,7 @@ define SetupTestFilesCompilationBody
LIBS := $$($1_LIBS_$$(name)), \
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
COPY_DEBUG_SYMBOLS := $$($1_COPY_DEBUG_SYMBOLS), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -36,7 +36,6 @@ DOCS_MODULES= \
jdk.charsets \
jdk.compiler \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.editpad \
jdk.hotspot.agent \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,21 +25,17 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.13.0
GTEST_VERSION=1.14.0
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_linux_hotspot_21.0.3_9.tar.gz
LINUX_X64_BOOT_JDK_SHA256=fffa52c22d797b715a962e6c8d11ec7d79b90dd819b5bc51d62137ea4b22a340
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a30c454a9bef8f46d5f1bf3122830014a8fbe7ac03b5f8729bc3add4b92a1d0a
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_mac_hotspot_21.0.3_9.tar.gz
MACOS_X64_BOOT_JDK_SHA256=f777103aab94330d14a29bd99f3a26d60abbab8e2c375cec9602746096721a7c
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.3_9.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=b6be6a9568be83695ec6b7cb977f4902f7be47d74494c290bc2a5c3c951e254f
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=af32e84c11009f72f783fdcdc9917efc277893988f097e198e2576875d1e88c1
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_windows_hotspot_21.0.3_9.zip
WINDOWS_X64_BOOT_JDK_SHA256=c43a66cff7a403d56c5c5e1ff10d3d5f95961abf80f97f0e35380594909f0e4d
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=5434faaf029e66e7ce6e75770ca384de476750984a7d2881ef7686894c4b4944

View File

@@ -390,8 +390,8 @@ var getJibProfilesCommon = function (input, data) {
};
};
common.boot_jdk_version = "20";
common.boot_jdk_build_number = "36";
common.boot_jdk_version = "21";
common.boot_jdk_build_number = "35";
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -426,9 +426,14 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_32bit,
"--with-jvm-variants=minimal,server", "--with-zlib=system"),
dependencies: ["devkit", "gtest", "libffi"],
configure_args: concat(common.configure_args_32bit, [
"--with-jvm-variants=minimal,server",
"--with-zlib=system",
"--with-libffi=" + input.get("libffi", "home_path"),
"--enable-libffi-bundling",
"--enable-fallback-linker"
])
},
"macosx-x64": {
@@ -436,7 +441,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "x64",
dependencies: ["devkit", "gtest", "pandoc"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system",
"--with-macosx-version-max=10.12.00",
"--with-macosx-version-max=11.00.00",
"--enable-compatible-cds-alignment",
// Use system SetFile instead of the one in the devkit as the
// devkit one may not work on Catalina.
@@ -1081,7 +1086,7 @@ var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.1",
macosx: "Xcode14.3.1+1.0",
windows_x64: "VS2022-17.1.0+1.1",
linux_aarch64: input.build_cpu == "x64" ? "gcc11.2.0-OL7.6+1.1" : "gcc11.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
@@ -1196,12 +1201,12 @@ var getJibProfilesDependencies = function (input, common) {
jmh: {
organization: common.organization,
ext: "tar.gz",
revision: "1.35+1.0"
revision: "1.37+1.0"
},
jcov: {
organization: common.organization,
revision: "3.0-14-jdk-asm+1.0",
revision: "3.0-15-jdk-asm+1.0",
ext: "zip",
environment_name: "JCOV_HOME",
},
@@ -1267,7 +1272,7 @@ var getJibProfilesDependencies = function (input, common) {
gtest: {
organization: common.organization,
ext: "tar.gz",
revision: "1.13.0+1.0"
revision: "1.14.0+1.0"
},
libffi: {
@@ -1517,7 +1522,7 @@ var getVersionNumbers = function () {
var isWsl = function (input) {
return ( input.build_osenv == "wsl"
|| (input.build_os == "linux"
&& java.lang.System.getProperty("os.version").contains("Microsoft")));
&& java.lang.System.getProperty("os.version").toLowerCase().contains("microsoft")));
}
var error = function (s) {

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -60,8 +60,8 @@ BOOT_MODULES= \
# should carefully be considered if it should be upgradeable or not.
UPGRADEABLE_PLATFORM_MODULES= \
java.compiler \
jdk.internal.vm.compiler \
jdk.internal.vm.compiler.management \
jdk.graal.compiler \
jdk.graal.compiler.management \
#
PLATFORM_MODULES= \
@@ -77,7 +77,6 @@ PLATFORM_MODULES= \
jdk.accessibility \
jdk.charsets \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.httpserver \
jdk.jsobject \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,17 +26,17 @@
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=21
DEFAULT_VERSION_FEATURE=22
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=4
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2024-07-16
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2024-03-19
DEFAULT_VERSION_CLASSFILE_MAJOR=66 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21"
DEFAULT_JDK_SOURCE_TARGET_VERSION=21
DEFAULT_PROMOTED_VERSION_PRE=
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="21 22"
DEFAULT_JDK_SOURCE_TARGET_VERSION=22
DEFAULT_PROMOTED_VERSION_PRE=ea

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@ public class $NAME_CLZ$ extends Charset implements HistoricallyNamedCharset
}
public String historicalName() {
return "$NAME_HIS$";
return "$NAME_HIST$";
}
public boolean contains(Charset cs) {

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
# used in jdk8.
############################### sbcs #########################################
#
# clzName csName hisName containASCII pkg
# clzName csName histName containASCII pkg
#
IBM437 IBM437 Cp437 false sun.nio.cs
IBM737 x-IBM737 Cp737 false sun.nio.cs
@@ -46,7 +46,7 @@ IBM1112 x-IBM1112 Cp1112 false sun.nio.cs.ext
IBM1122 x-IBM1122 Cp1122 false sun.nio.cs.ext
IBM1123 x-IBM1123 Cp1123 false sun.nio.cs.ext
IBM1124 x-IBM1124 Cp1124 false sun.nio.cs.ext
# map tables for 1140-1149 are updated manualy with the u+20ac entry
# map tables for 1140-1149 are updated manually with the u+20ac entry
IBM1140 IBM01140 Cp1140 false sun.nio.cs.ext
IBM1141 IBM01141 Cp1141 false sun.nio.cs.ext
IBM1142 IBM01142 Cp1142 false sun.nio.cs.ext
@@ -85,7 +85,7 @@ IBM875 x-IBM875 Cp875 false sun.nio.cs.ext
IBM918 IBM918 Cp918 false sun.nio.cs.ext
IBM921 x-IBM921 Cp921 false sun.nio.cs.ext
IBM922 x-IBM922 Cp922 false sun.nio.cs.ext
# use name as hisname as well, cs did not support hisname prevously
# use name as histname as well, cs did not support histname previously
ISO_8859_11 x-iso-8859-11 x-iso-8859-11 true sun.nio.cs.ext
ISO_8859_3 ISO-8859-3 ISO8859_3 true sun.nio.cs.ext
ISO_8859_6 ISO-8859-6 ISO8859_6 true sun.nio.cs.ext
@@ -113,7 +113,7 @@ TIS_620 TIS-620 TIS620 true sun.nio.cs.ext
#
############################### dbcs #########################################
#
#clzName csName hisName dbtype pkg ascii b1min b1max b2min b2max
#clzName csName histName dbtype pkg ascii b1min b1max b2min b2max
#
Big5 Big5 Big5 basic sun.nio.cs.ext true 0xa1 0xf9 0x40 0xfe
Johab x-Johab x-Johab basic sun.nio.cs.ext true 0x84 0xf9 0x31 0xfe

View File

@@ -57,6 +57,7 @@ JVM_DumpAllStacks
JVM_DumpClassListToFile
JVM_DumpDynamicArchive
JVM_DumpThreads
JVM_ExpandStackFrameInfo
JVM_FillInStackTrace
JVM_FindClassFromCaller
JVM_FindClassFromClass
@@ -200,7 +201,7 @@ JVM_SetNativeThreadName
JVM_SetPrimitiveArrayElement
JVM_SetStackWalkContinuation
JVM_SetThreadPriority
JVM_Sleep
JVM_SleepNanos
JVM_StartThread
JVM_SupportsCX8
JVM_TotalMemory

View File

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

View File

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

View File

@@ -38,6 +38,38 @@
# Note that the libtool and texinfo packages are needed to build libffi
# $ sudo apt install libtool texinfo
# Note that while the build system supports linking against libffi on Windows (x64),
# I couldn't get this script working with a Windows devkit, and instead had to manually create
# a libffi bundle for Windows. The steps I took were as follows:
#
# 1. run 'x64 Native Tools Command Prompt for VS 2022'. After that, cl.exe and link.exe should be on path
#
# 2. in the same shell, run `ucrt64` (this is one of the shell environments that comes with MSYS2).
# This should carry over the environment set up by the VS dev prompt into the ucrt64 prompt.
#
# 3. then, in the libffi repo root folder:
# 3.a run `autogen.sh`
# 3.b run:
# ```
# bash configure \
# CC="/path/to/libffi/msvcc.sh -m64" \
# CXX="/path/to/libffi/msvcc.sh -m64" \
# CPPFLAGS="-DFFI_BUILDING_DLL" \
# --disable-docs \
# --prefix=<install dest>
# ```
# (`<install dest>` can be whatever you like. That's what you point `--with-libffi` to).
#
# 4. run `make install`. This should create the `<install dest>` directory with the files:
# `include/ffi.h`, `include/ffitarget.h`, `lib/libffi.dll`. It also creates a `lib/libffi.lib` file,
# but it is of the wrong file type, `DLL` rather than `LIBRARY`.
#
# 5. Manually create a working `.lib` file (in the <install dest>/lib dir):
# 5.a use `dumpbin /exports libffi.dll` to get a list of exported symbols
# 5.b put them in a `libffi.def` file: `EXPORTS` on the first line, then a symbol on each line following
# 5.c run `lib /def:libffi.def /machine:x64 /out:libffi.lib` to create the right `.lib` file (`lib` is a visual studio tool)
#
LIBFFI_VERSION=3.4.2
BUNDLE_NAME=libffi-$LIBFFI_VERSION.tar.gz
@@ -49,6 +81,7 @@ SRC_DIR="$OUTPUT_DIR/src"
DOWNLOAD_DIR="$OUTPUT_DIR/download"
INSTALL_DIR="$OUTPUT_DIR/install"
IMAGE_DIR="$OUTPUT_DIR/image"
OS_NAME=$(uname -s)
USAGE="$0 <devkit dir>"
@@ -81,8 +114,33 @@ cd $LIBFFI_DIR
if [ ! -e $LIBFFI_DIR/configure ]; then
bash ./autogen.sh
fi
case $OS_NAME in
Linux)
CC=$DEVKIT_DIR/bin/gcc
CXX=$DEVKIT_DIR/bin/g++
# For Linux/x86 it's under /lib/ instead of /lib64/
LIB_FOLDER=lib64
LIB_NAME=libffi.so*
;;
Darwin)
CC=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
CXX=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
LIB_FOLDER=lib
LIB_NAME=libffi.*.dylib
;;
*)
echo " Unsupported OS: $OS_NAME"
exit 1
;;
esac
# For Linux/x86, add --build=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
bash ./configure --prefix=$INSTALL_DIR CC=$DEVKIT_DIR/bin/gcc CXX=$DEVKIT_DIR/bin/g++
bash ./configure \
--disable-docs \
--prefix=$INSTALL_DIR \
CC=$CC \
CXX=$CXX
# Run with nice to keep system usable during build.
nice make $MAKE_ARGS install
@@ -90,10 +148,9 @@ nice make $MAKE_ARGS install
mkdir -p $IMAGE_DIR
# Extract what we need into an image
if [ ! -e $IMAGE_DIR/lib/libffi.so ]; then
echo "Copying libffi.so* to image"
echo "Copying ${LIB_NAME} to image"
mkdir -p $IMAGE_DIR/lib
# For Linux/x86 it's under /lib/ instead of /lib64/
cp -a $INSTALL_DIR/lib64/libffi.so* $IMAGE_DIR/lib/
cp -a $INSTALL_DIR/${LIB_FOLDER}/${LIB_NAME} $IMAGE_DIR/lib/
fi
if [ ! -e $IMAGE_DIR/include/ ]; then
echo "Copying include to image"

View File

@@ -106,8 +106,8 @@ for ex in $EXCLUDE_DIRS; do
done
echo "Copying Xcode.app..."
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
################################################################################
@@ -119,8 +119,8 @@ echo "Generating devkit.info..."
rm -f $DEVKIT_ROOT/devkit.info
echo-info "# This file describes to configure how to interpret the contents of this devkit"
echo-info "DEVKIT_NAME=\"Xcode $XCODE_VERSION (devkit)\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode.app/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_EXTRA_PATH=\"\$DEVKIT_TOOLCHAIN_PATH\""
################################################################################

View File

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

View File

@@ -84,11 +84,11 @@ CFLAGS_VM_VERSION := \
# Disabled warnings
DISABLED_WARNINGS_gcc := array-bounds comment delete-non-virtual-dtor \
empty-body ignored-qualifiers implicit-fallthrough int-in-bool-context \
empty-body implicit-fallthrough int-in-bool-context \
maybe-uninitialized missing-field-initializers parentheses \
shift-negative-value unknown-pragmas
DISABLED_WARNINGS_clang := ignored-qualifiers sometimes-uninitialized \
DISABLED_WARNINGS_clang := sometimes-uninitialized \
missing-braces delete-non-abstract-non-virtual-dtor unknown-pragmas
ifneq ($(DEBUG_LEVEL), release)
@@ -139,6 +139,13 @@ JVM_STRIPFLAGS ?= $(STRIPFLAGS)
# This source set is reused so save in cache.
$(call FillFindCache, $(JVM_SRC_DIRS))
# The global operator new functions defined in operator_new.cpp are intended
# to detect and prevent the VM code from calling them. See more details in
# operator_new.cpp. Exclude operator_new.o when statically linking the VM
# code with JDK natives, as the JDK natives might need to call the global
# operator new.
LIBJVM_STATIC_EXCLUDE_OBJS := operator_new.o
################################################################################
# Now set up the actual compilation of the main hotspot native library
@@ -190,6 +197,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
RC_FILEDESC := $(HOTSPOT_VM_DISTRO) $(OPENJDK_TARGET_CPU_BITS)-Bit $(JVM_VARIANT) VM, \
PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBJVM_STATIC_EXCLUDE_OBJS), \
))
# Always recompile abstract_vm_version.cpp if libjvm needs to be relinked. This ensures

View File

@@ -88,8 +88,7 @@ ifneq ($(call check-jvm-feature, jvmti), true)
jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \
jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \
jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \
jvmtiClassFileReconstituter.cpp jvmtiTagMapTable.cpp jvmtiAgent.cpp jvmtiAgentList.cpp \
jvmtiEnhancedRedefineClasses.cpp
jvmtiClassFileReconstituter.cpp jvmtiTagMapTable.cpp jvmtiAgent.cpp jvmtiAgentList.cpp
endif
ifneq ($(call check-jvm-feature, jvmci), true)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -118,7 +118,7 @@ else ifeq ($(call isTargetOs, windows), true)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if ($$7 ~ /??_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
if ($$7 ~ /\?\?_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
}'
else

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -242,7 +242,7 @@
</nbjpdastart>
<property
name="@{jpda.jvmargs.property}"
value="-Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=${jpda.address}"
value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"
/>
</sequential>
</macrodef>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -29,7 +29,7 @@ class Charset {
String pkgName;
String clzName;
String csName;
String hisName;
String histName;
String type;
String os;
boolean isASCII;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,7 @@ public class DBCS {
{
String clzName = cs.clzName;
String csName = cs.csName;
String hisName = cs.hisName;
String histName = cs.histName;
String pkgName = cs.pkgName;
boolean isASCII = cs.isASCII;
int b1Min = cs.b1Min;
@@ -152,8 +152,8 @@ public class DBCS {
Scanner s = new Scanner(new File(srcDir, template));
PrintStream ops = new PrintStream(new FileOutputStream(
new File(dstDir, clzName + ".java")));
if (hisName == null)
hisName = "";
if (histName == null)
histName = "";
// (5) c2b replacement, only used for JIs0208/0212, which
// are two pure db charsets so default '3f' does not work
@@ -174,7 +174,7 @@ public class DBCS {
continue;
}
line = line.replace("$PACKAGE$" , pkgName)
.replace("$IMPLEMENTS$", (hisName == null)?
.replace("$IMPLEMENTS$", (histName == null)?
"" : "implements HistoricallyNamedCharset")
.replace("$NAME_CLZ$", clzName)
.replace("$NAME_ALIASES$",
@@ -189,8 +189,8 @@ public class DBCS {
"return ((cs.name().equals(\"US-ASCII\")) || (cs instanceof " + clzName + "));":
"return (cs instanceof " + clzName + ");"))
.replace("$HISTORICALNAME$",
(hisName == null)? "" :
" public String historicalName() { return \"" + hisName + "\"; }")
(histName == null)? "" :
" public String historicalName() { return \"" + histName + "\"; }")
.replace("$DECTYPE$", type)
.replace("$ENCTYPE$", type)
.replace("$B1MIN$" , "0x" + Integer.toString(b1Min, 16))

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