Compare commits

...

4443 Commits
cmake ... 1993

Author SHA1 Message Date
Mikhail Grishchenko
140622c60c JBR-4229 update jtreg exclude list
update file extension from .html to .java
2022-02-12 03:25:20 +07:00
Alexey Ushakov
7978c05ee5 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
2022-02-11 17:00:37 +01:00
Maxim Kartashev
ba1bbb1744 JBR-3950 javax/swing/JFormattedTextField/TestSelectedTextBackgroundColor.java: The expected background color for Selected Text was not found
Made Robot image capture work when sun.java2d.uiScale
doesn't match the desktop scale on Linux.
Improved tests to verify that color picking is precise to the pixel
(only on Linux and Windows; Mac may not always give precise color
of the desired pixel).
2022-02-10 01:27:33 -08:00
Dmitry Batrak
42fa3e3d34 JBR-4194 RenderPerfTest: TextNoAA >10% degradation in OGL 2022-02-10 11:10:19 +03:00
Nikita Provotorov
eae5198b20 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.
2022-02-08 21:31:12 +07:00
Mikhail Grishchenko
292a677472 JBR-4229 update jtreg exclude list
actualize jbProblemList.txt after 11.0.14 CPU
2022-02-08 19:07:05 +07:00
Pankaj Bansal
b743db3126 JBR-4229: backport fix for 8233551:
[TESTBUG] SelectEditTableCell.java fails on MacOS

Reviewed-by: psadhukhan
2022-02-08 19:04:16 +07:00
Brent Christian
c1f5d1428b JBR-4229: backport fix for 8072130:
java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Mac OSX

Reviewed-by: sherman
2022-02-08 19:04:16 +07:00
Prasanta Sadhukhan
9d7c88eb0a JBR-4229: backport fix for 8067986:
Test javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java fails

Reviewed-by: serb
2022-02-08 19:04:16 +07:00
Alexey Ushakov
b359a6b43e 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
2022-02-07 14:02:23 +01:00
Anton Tarasov
642544c1f6 Use modular-sdk from jcef_linux_x64 2022-02-07 15:54:29 +03:00
Anton Tarasov
e6197c40b7 Use modular-sdk from jcef_mac 2022-02-07 15:03:24 +03:00
Anton Tarasov
c4c8638581 Use modular-sdk from jcef_win_<arch> 2022-02-07 12:48:23 +03:00
Mikhail Grishchenko
953cdf7667 update jtreg exclude list
actualize jbProblemList.txt after 11.0.14 CPU
2022-02-04 19:43:36 +07:00
Mikhail Grishchenko
162d41d14d exclude java/awt/Frame/FrameSetSizeStressTest/FrameSetSizeStressTest.java on Wayland due to JBR-4223 2022-02-03 18:51:50 +07:00
Vitaly Provodin
1860de168c JBR-4221 set toolchain to VS 2017 2022-02-03 05:26:47 +07:00
Vitaly Provodin
abb6c744a8 Revert "Revert "8255264: Support for identifying the full range of IPv4 localhost addresses on Windows""
This reverts commit f7a7b2fbae.
2022-02-03 05:26:46 +07:00
Vitaly Provodin
453446ea4f Revert "Revert "8250521: Configure initial RTO to use minimal retry for loopback connections on Windows""
This reverts commit 6184b28c14.
2022-02-03 05:26:46 +07:00
Vitaly Provodin
f7ec03e860 Revert "Revert "8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl""
This reverts commit 2024c80409.
2022-02-03 05:26:46 +07:00
KIRIYAMA Takuya
cf0aef62a5 JBR-4216 - backport fix for JDK-8277866
8277866: gc/epsilon/TestMemoryMXBeans.java failed with wrong initial heap size

Reviewed-by: tschatzl, shade
2022-02-02 14:13:20 +07:00
Maxim Kartashev
93ba9e86f9 JBR-3950 javax/swing/JFormattedTextField/TestSelectedTextBackgroundColor.java: The expected background color for Selected Text was not found
The Gtk API for capturing images works with unscaled coordinates and
sizes, but Robot pre-scales both even before passing the data to the
native code. This commit undoes that for Gtk3 in the native code.

Also fixed two HiDPI tests that should have been failing due to the
above bug, but didn't because they only checked one point in the middle
of a large painted area. Changed those tests to verify 5 pixels instead:
4 at the corners and one in the middle.

Also marked the relevant tests that use Robot as a color picker to
require "pure" X server on Linux so that they don't fail under XWayland.
2022-02-01 08:40:38 +03:00
Nikita Provotorov
aaa46c29fd JBR-4207, IDEA-287559: IDEA incorrectly handles AltGr key modifier.
This commit disables the regression test of the (already reverted) fix of JDK-8041928.
2022-02-01 05:17:05 +07:00
Dmitry Batrak
67b6cd871f JBR-4186 Unexpected desktop switch after moving a window to another desktop 2022-01-31 11:25:31 +03:00
Vitaly Provodin
2024c80409 Revert "8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl"
This reverts commit 4cacd185f3.
2022-01-29 08:04:30 +07:00
Vitaly Provodin
6184b28c14 Revert "8250521: Configure initial RTO to use minimal retry for loopback connections on Windows"
This reverts commit 9d04f213ea.
2022-01-29 07:22:08 +07:00
Vitaly Provodin
f7a7b2fbae Revert "8255264: Support for identifying the full range of IPv4 localhost addresses on Windows"
This reverts commit e2e4c5c426.
2022-01-29 07:21:59 +07:00
Vitaly Provodin
5d1326f675 resolve conflicts between dcevm and 11.0.14 update 2022-01-29 04:53:05 +07:00
Martin Balao
1486460307 8217375: jarsigner breaks old signature with long lines in manifest
8268795: Enhance digests of Jar files

Reviewed-by: mbaesken
Backport-of: b6d1b1e085
2022-01-28 15:23:13 +07:00
Yuri Nesterenko
1e5db2b3a3 8270498: Improve SAX Parser configuration management
Reviewed-by: mbalao
Backport-of: ecb210277a93f2f8d87b1dee34eb1e7fe3c8625d
2022-01-28 15:23:05 +07:00
Andrew John Hughes
9fd8b45413 8279541: Improve HarfBuzz
Reviewed-by: mbaesken
2022-01-28 15:22:57 +07:00
Martin Balao
15ee202861 8268801: Improve PKCS attribute handling
Reviewed-by: mbaesken
2022-01-28 15:22:49 +07:00
Aleksei Voitylov
bee4ff8c2c 8272026: Verify Jar Verification
Reviewed-by: mbaesken, mbalao
Backport-of: 0e2b2951adc965d6b71ffbc63b4293fd9fb68eaa
2022-01-28 15:22:42 +07:00
Andrew Brygin
5d17aaf6c6 8273756: Enhance BMP image support
Reviewed-by: mbaesken
Backport-of: 2ee2053a0dde445237924f136c859c8b18ab882e
2022-01-28 15:22:35 +07:00
Martin Balao
ade9387072 8273968: JCK javax_xml tests fail in CI
Backport-of: d1910329352e878badf8fdc6634a177dd4745d4a
2022-01-28 15:22:27 +07:00
Aleksei Voitylov
608d094ee8 8270416: Enhance construction of Identity maps
Reviewed-by: mbaesken
Backport-of: d445bf3f60c654bee77dcabe86f6fa28eaf5abfa
2022-01-28 15:22:20 +07:00
Tianmin Shi
4364639092 8270392: Improve String constructions
Reviewed-by: mbaesken
Backport-of: bfa21d073b1e301919bbe1f46fa4182958f458f0
2022-01-28 15:22:13 +07:00
Joshua Cao
5ecd1e42b8 8270386: Better verification of scan methods
Reviewed-by: mbaesken
Backport-of: ac329cef45979bd0159ecd1347e36f7129bb2ce4
2022-01-28 15:22:05 +07:00
Martin Balao
518da5baf2 8268494: Better inlining of inlined interfaces
Reviewed-by: adinn
Backport-of: 3c7fbbd703a50a9762e7f7dbafa8d44191346f52
2022-01-28 15:21:58 +07:00
Martin Balao
5e7073f0d5 8268488: More valuable DerValues
Reviewed-by: mbaesken
Backport-of: 99f72cf1c44c58682d93a81ee76ef9c3707152a9
2022-01-28 15:21:50 +07:00
Yuri Nesterenko
10e3dffb50 8274096: Improve decoding of image files
Reviewed-by: mbaesken
Backport-of: 62ce0cd73a2dc0c7e3e65783a2707a0984ba4acf
2022-01-28 15:21:47 +07:00
Andrew Brygin
d126001027 8273838: Enhanced BMP processing
Reviewed-by: mbaesken
Backport-of: f5cc6f23a46bee06731fdd2b257c8ea8007eebad
2022-01-28 15:21:39 +07:00
Aleksei Voitylov
f93e265835 8273290: Enhance sound handling
Backport-of: 5d4a8f3c9ca82ed501944c670823b5de5e1ba344
2022-01-28 15:21:31 +07:00
Aleksei Voitylov
2eb706f59e 8272462: Enhance image handling
Backport-of: 3d1745d54b93a62a7f404e33c70211db0e31d536
2022-01-28 15:21:23 +07:00
Aleksei Voitylov
4123760ce5 8272272: Enhance jcmd communication
Backport-of: 1a67dd1ba853d535c718840dcdada12e1b312eb8
2022-01-28 15:21:11 +07:00
Aleksei Voitylov
f4b98e78b8 8272236: Improve serial forms for transport
Reviewed-by: mbaesken
Backport-of: ed0621893e7c365673ed87fbd4aca2bca27b9b73
2022-01-28 15:21:03 +07:00
Tianmin Shi
cf6dfa9481 8272014: Better array indexing
Backport-of: 937c31d896d05aa24543b74e98a2ea9f05b5d86f
2022-01-28 15:20:55 +07:00
Joshua Cao
fb6742a842 8271987: Manifest improved manifest entries
Backport-of: 885f3699edf517d11d17607aad41e32d059f547a
2022-01-28 15:20:48 +07:00
Aleksei Voitylov
1ba34b4565 8271968: Better canonical naming
Backport-of: a716aacb662bb49aa5b1e805175196c29d8cb77a
2022-01-28 15:20:41 +07:00
Aleksei Voitylov
8a4b6ec030 8271962: Better TrueType font loading
Reviewed-by: mbaesken
Backport-of: 27827c186c43a7a2d983788f6d5e8b7f31e5e079
2022-01-28 15:20:33 +07:00
Andrew Brygin
8346bb72fb 8270952: Improve TIFF file handling
Reviewed-by: mbaesken
Backport-of: 4db9acd53f549cac1603c6c41566b16ee939c04b
2022-01-28 15:20:26 +07:00
Sergey Bylokhov
87e022ecd3 8270646: Improved scanning of XML entities
Reviewed-by: mbalao
Backport-of: 2b6dad98a6739df983a01b96cffea971268d1523
2022-01-28 15:20:23 +07:00
Yuri Nesterenko
4165f17ea0 8270492: Better resolution of URIs
Reviewed-by: mbaesken
Backport-of: ceda336a2ddea62e2ff8df653f54e08d45fc197a
2022-01-28 15:20:15 +07:00
Clive Verghese
283f05f869 8269944: Better HTTP transport redux
Backport-of: 0e123d6e0e50cdac714a001b9f67dfc7c1c2b293
2022-01-28 15:20:07 +07:00
Martin Balao
a500ec8183 8269151: Better construction of EncryptedPrivateKeyInfo
Backport-of: 9fd7b2d4f333834f03a0e4fbc1e2a7d867331961
2022-01-28 15:20:05 +07:00
Oli Gillespie
a200ca0b7f 8273308: PatternMatchTest.java fails on CI
Backport-of: 1a5bacfcf8e0c22e49b29c0f484f0e879227dc05
2022-01-28 15:19:58 +07:00
Oli Gillespie
0c39591526 8268813: Better String matching
Backport-of: c1b73a786d5881315cb7119d89f719b79c6a0c67
2022-01-28 15:19:50 +07:00
Martin Balao
43b4980ffe 8268512: More content for ContentInfo
Backport-of: 4a1ea63840ec90e52c036c408baef4a1cf0abdff
2022-01-28 15:19:37 +07:00
Martin Balao
ae239859ae 8264934: Enhance cross VM serialization
Backport-of: 4369957f6699993d94481c766348fb554d53cd6d
2022-01-28 15:19:30 +07:00
Tyler Steele
50a32e9263 8210205: build fails on AIX in hotspot cpp tests (for example getstacktr001.cpp)
fixes name collision preventing build.

Reviewed-by: phh, aleonard, clanger
Backport-of: 45fb620218
2022-01-28 15:19:22 +07:00
Martin Doerr
55db535ebe 8277529: SIGSEGV in C2 CompilerThread Node::rematerialize() compiling Packet::readUnsignedTrint
Reviewed-by: goetz
Backport-of: 01cb2b9883
2022-01-28 15:19:14 +07:00
Martin Doerr
f8d131df86 8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside
Reviewed-by: goetz
Backport-of: 3e3051e2ee
2022-01-28 15:19:06 +07:00
Martin Doerr
df18795c2f 8276774: Cookie stored in CookieHandler not sent if user headers contain cookie
Reviewed-by: clanger, dfuchs
Backport-of: 03debf2775
2022-01-28 15:18:58 +07:00
Mat Carter
4cacd185f3 8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl
Backport-of: df332ff6e8
2022-01-28 15:18:51 +07:00
Reka Kovacs
849cb8f44c 8252114: Windows-AArch64: Enable and test ZGC and ShenandoahGC
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: shade
Backport-of: 96f722cf63
2022-01-28 15:18:43 +07:00
Mat Carter
e2e4c5c426 8255264: Support for identifying the full range of IPv4 localhost addresses on Windows
Backport-of: 7e01bc967d
2022-01-28 15:18:36 +07:00
Goetz Lindenmaier
be1b933bca 8212148: Remove remaining NSK_CPP_STUBs
Remove remaining macros

Backport-of: a623db2148
2022-01-28 15:18:28 +07:00
Zhengyu Gu
a848957211 8236042: [TESTBUG] serviceability/sa/ClhsdbCDSCore.java fails with -Xcomp -XX:TieredStopAtLevel=1
Modify the test case to handle the scenario's of no printmdo's.

Reviewed-by: phh
Backport-of: 9376dd810c
2022-01-28 15:18:20 +07:00
Zhengyu Gu
8d7f95ba32 8223400: Replace some enums with static const members in hotspot/runtime
Backport-of: 41bd7c5e76
2022-01-28 15:18:17 +07:00
Goetz Lindenmaier
6bcb1c7710 8211899: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[E-M]
Remove the NSK_CPP_STUB macros from tests

Backport-of: d63acb557c
2022-01-28 15:18:09 +07:00
Goetz Lindenmaier
d9622732ab 8212083: Handle remaining gc/lock native code and fix two strings
Migrate code to using wrapping JNI for exceptions

Backport-of: 7afa70096a
2022-01-28 15:17:56 +07:00
Goetz Lindenmaier
12bbc3fcdb 8212082: Remove the NSK_CPP_STUB macros for remaining vmTestbase/jvmti/[sS]*
Remove NSK_CPP_STUB macros from the tests

Reviewed-by: mdoerr
Backport-of: e431f6a418
2022-01-28 15:17:48 +07:00
Goetz Lindenmaier
3b18f3dc25 8211432: [REDO] Handle JNIGlobalRefLocker.cpp
Adding a JNI verification wrapper for tests

Backport-of: b68500521e
2022-01-28 15:17:40 +07:00
Thomas Stuefe
5cfa987839 8261661: gc/stress/TestReclaimStringsLeaksMemory.java fails because Reserved memory size is too big
Reviewed-by: shade
Backport-of: 735757f1e0
2022-01-28 15:17:32 +07:00
Alex Kasko
c1ad02f9ab 8270290: NTLM authentication fails if HEAD request is used
Backport-of: 3e0d7c33d4
2022-01-28 15:17:24 +07:00
Goetz Lindenmaier
45d94e3561 8211782: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[I-S]*
Remove the NSK_CPP_STUB macros

Reviewed-by: mdoerr
Backport-of: 61f453edf7
2022-01-28 15:17:17 +07:00
Goetz Lindenmaier
c8141ba7ad 8211036: Remove the NSK_STUB macros from vmTestbase for non jvmti
Remove the NSK_STUB macros from code outside of the jvmti subfolder

Backport-of: b20e2cd963
2022-01-28 15:17:09 +07:00
Mat Carter
9d04f213ea 8250521: Configure initial RTO to use minimal retry for loopback connections on Windows
Backport-of: c2fa441d8d
2022-01-28 15:17:01 +07:00
Reka Kovacs
3277966480 8248238: Implementation: JEP 388: Windows AArch64 Support 8272181: Windows-AArch64:Backport fix of Backtracing broken on PAC enabled systems
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: burban, aph, adinn, mbeckwit
Backport-of: 9604ee8269
2022-01-28 15:16:54 +07:00
Martin Doerr
9e7553f72f 8274773: [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform
Backport-of: 49f8ce6e9c
2022-01-28 15:16:46 +07:00
Martin Doerr
5e06880293 8277224: sun.security.pkcs.PKCS9Attributes.toString() throws NPE
Backport-of: 6bb04626af
2022-01-28 15:16:43 +07:00
Christoph Langer
52b842c99f 8277815: Fix mistakes in legal header backports
Reviewed-by: aph
2022-01-28 15:16:36 +07:00
Goetz Lindenmaier
6e8f91ec50 8211801: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[A-E]
Remove the NSK_CPP_STUB macros

Backport-of: efa175f20e
2022-01-28 15:16:28 +07:00
Goetz Lindenmaier
643c0e220e 8211905: Remove multiple casts for EM06 file
Remove multiple casts for EM06 file

Backport-of: 11da699d9e
2022-01-28 15:16:20 +07:00
Goetz Lindenmaier
56b4329a43 8211131: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[G-I]*
Remove the NSK_CPP_STUB macros

Backport-of: 85c6642e38
2022-01-28 15:16:11 +07:00
Goetz Lindenmaier
413e913efb 8211261: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[A-G]*
Remove the NSK_CPP_STUB macros

Backport-of: 57622ed115
2022-01-28 15:16:03 +07:00
Goetz Lindenmaier
88a768d1ea 8210984: [TESTBUG] hs203t003 fails with "# ERROR: hs203t003.cpp, 218: NSK_CPP_STUB2 ( ResumeThread, jvmti, thread)"
Backport-of: c0fd523c05
2022-01-28 15:15:55 +07:00
Goetz Lindenmaier
ec7cbf6f81 8210689: Remove the multi-line old C style for string literals
Remove the multi-line old C style and prefer C++ multi-line

Backport-of: 64099fc1cc
2022-01-28 15:15:47 +07:00
Goetz Lindenmaier
953fe60ce5 8210726: Fix up a few minor nits forgotten by JDK-8210665
Minor changes to 4 tests to make one-liners

Backport-of: fddc4b8ccb
2022-01-28 15:15:39 +07:00
Goetz Lindenmaier
bc04365071 8210385: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[A-N] tests
Remove JNI_ENV and JVMTI_ENV macros for part of the jvmti tests

Backport-of: fe326ad022
2022-01-28 15:15:31 +07:00
Andrew Haley
ca832c819b 8271567: AArch64: AES Galois CounterMode (GCM) interleaved implementation using vector instructions
Reviewed-by: shade, xliu
Backport-of: 4f3b626a36
2022-01-28 15:15:22 +07:00
Jie Fu
bd7a1a6930 8276139: TestJpsHostName.java not reliable, better to expand HostIdentifierCreate.java test
Reviewed-by: phh
Backport-of: 2af9e5976f
2022-01-28 15:15:14 +07:00
Goetz Lindenmaier
a97ca49f5b 8210700: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti/unit tests
Remove JNI_ENV macros from the remaining vmTestbase tests

Backport-of: bdf78f557a
2022-01-28 15:15:05 +07:00
Goetz Lindenmaier
82ae30e4dd 8210481: Remove #ifdef cplusplus from vmTestbase
Remove all cplusplus ifdefs from vmTestbase

Reviewed-by: stuefe
Backport-of: 510336c210
2022-01-28 15:14:54 +07:00
Goetz Lindenmaier
d1b3616bec 8210665: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[R-U] tests
Remove JNI_ENV and JVMTI_ENV macros from jvmti/[R-U] tests

Backport-of: 85b57de9ce
2022-01-28 15:14:43 +07:00
Goetz Lindenmaier
c8a5c1aaa8 8210593: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[N-R] tests
Remove JNI_ENV/JVMTI_ENV macros from N to R jvmti tests

Backport-of: 6a2e4311f5
2022-01-28 15:14:33 +07:00
Goetz Lindenmaier
4c72f29290 8210429: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[G-Z] tests
Remove the JNI_ENV_ARG for the rest of the Get[G-Z]

Backport-of: d90f0a51c2
2022-01-28 15:14:23 +07:00
Zhengyu Gu
2f371e826d 8210242: [TESTBUG] vmTestbase/nsk/stress/jni/jnistress001.java crashes with EXCEPTION_ACCESS_VIOLATION on windows-x86
Non-NUL-terminated string was passed to %s - use %.*s to specify the actual length.

Backport-of: 3837f1abc1
2022-01-28 15:14:14 +07:00
Adam Farley
b9ead7efa3 8273235: tools/launcher/HelpFlagsTest.java Fails on Windows 32bit
Backport-of: fc0fe25679
2022-01-28 15:14:12 +07:00
Ilarion Nakonechnyy
fd63b6b072 8273026: Slow LoginContext.login() on multi threading application
Reviewed-by: clanger
Backport-of: c0cda1db4f
2022-01-28 15:14:03 +07:00
Goetz Lindenmaier
9aa2c1e47e 8210198: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[A-F] tests
Remove JNI_ENV macros from the Get[A-F] tests

Backport-of: d256eb923b
2022-01-28 15:13:53 +07:00
Goetz Lindenmaier
d085b119ef 8210182: Remove macros for C compilation from vmTestBase but non jvmti
Remove the macros and update the code

Backport-of: d0560a2860
2022-01-28 15:13:42 +07:00
Goetz Lindenmaier
b1383f96d7 8226943: compile error in libfollowref003.cpp with XCode 10.2 on macosx
Backport-of: 4dececb589
2022-01-28 15:13:31 +07:00
Goetz Lindenmaier
9b54225627 8209611: use C++ compiler for hotspot tests
Reviewed-by: mbaesken, stuefe
Backport-of: 8c47dc4a94
2022-01-28 15:13:12 +07:00
Joshua Cao
9265b47b65 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp
Reviewed-by: phh
2022-01-28 15:13:01 +07:00
Thomas Stuefe
414a4833c8 8277029: JMM GetDiagnosticXXXInfo APIs should verify output array sizes
Backport-of: b8d33a2a4e
2022-01-28 15:12:53 +07:00
Martin Doerr
0b56f03b5c 8276536: Update TimeZoneNames files to follow the changes made by JDK-8275766
Backport-of: ad3be04d2a
2022-01-28 15:12:49 +07:00
Martin Doerr
eeaff2b62c 8275766: (tz) Update Timezone Data to 2021e
8275849: TestZoneInfo310.java fails with tzdata2021e

Backport-of: 5b4e39863d
2022-01-28 15:12:40 +07:00
Jie Fu
be17881c00 8256956: RegisterImpl::max_slots_per_register is incorrect on AMD64
Backport-of: b1d1499356
2022-01-28 15:12:31 +07:00
Aleksey Shipilev
9a3c4bf230 8276157: C2: Compiler stack overflow during escape analysis on Linux x86_32
Backport-of: 465d350d0b
2022-01-28 15:12:12 +07:00
Aleksey Shipilev
c140c9b188 8263059: security/infra/java/security/cert/CertPathValidator/certification/ComodoCA.java fails due to revoked cert
Backport-of: 4bc9b04984
2022-01-28 15:12:03 +07:00
Goetz Lindenmaier
cc942dc166 8253147: The javax/swing/JPopupMenu/7154841/bug7154841.java fail on big screens
Reviewed-by: phh
Backport-of: 65bfe0928a
2022-01-28 15:12:01 +07:00
Goetz Lindenmaier
d1284abc70 8202342: [Graal] fromTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java fails with "Location mismatch" errors
Backport-of: f1553a5f0f
2022-01-28 15:11:52 +07:00
Zhengyu Gu
e23f616a9b 8276201: Shenandoah: Race results degenerated GC to enter wrong entry point
Reviewed-by: shade
Backport-of: dbf5100dd7
2022-01-28 15:11:42 +07:00
Goetz Lindenmaier
6376201cac 8034084: nsk.nsk/jvmti/ThreadStart/threadstart003 Wrong number of thread end events
Backport-of: 14bb47410b
2022-01-28 15:11:33 +07:00
Christoph Langer
6e866d9812 8258457: testlibrary_tests/ctw/JarDirTest.java fails with InvalidPathException on windows
Reviewed-by: mdoerr
Backport-of: 40ef00cebf
2022-01-28 15:11:23 +07:00
Goetz Lindenmaier
d50c10971a 8201224: Make string buffer size dynamic in mlvmJvmtiUtils.c
Calculate the string size for the buffer first

Backport-of: 49b859b9d3
2022-01-28 15:11:14 +07:00
Goetz Lindenmaier
6294f1d6dc 8174819: java/nio/file/WatchService/LotsOfEvents.java fails intermittently
Backport-of: 633eab23f0
2022-01-28 15:11:05 +07:00
Goetz Lindenmaier
f283f65437 8204161: [TESTBUG] auto failed with the "Applet thread threw exception: java.lang.UnsupportedOperationException" exception
Backport-of: c2867d6577
2022-01-28 15:10:54 +07:00
Petra Mikova
83c8b2e89b 8208242: Add @requires to vmTestbase/gc/g1 tests
Added classunloading must not be disabled and G1 is required to g1/unloading tests

Backport-of: dc45757347
2022-01-28 15:10:35 +07:00
Thomas Stuefe
54890c2de9 8261916: gtest/GTestWrapper.java vmErrorTest.unimplemented1_vm_assert failed
Reviewed-by: clanger
Backport-of: 8c1112a690
2022-01-28 15:10:26 +07:00
Aleksey Shipilev
41a7a593dd 8276550: Use SHA256 hash in build.tools.depend.Depend
Reviewed-by: andrew
Backport-of: afb502e28a
2022-01-28 15:10:25 +07:00
Andrew John Hughes
64cdd97e94 8236596: HttpClient leaves HTTP/2 sockets in CLOSE_WAIT, when using proxy tunnel
Changes Http2ClientImpl::stop to close the TCP connection after sending out the GOAWAY frame.

Backport-of: 9085b7bdc7
2022-01-28 15:10:16 +07:00
Aleksey Shipilev
d563fddcef 8276854: Windows GHA builds fail due to broken Cygwin
Reviewed-by: aph, clanger
Backport-of: 403f3185f0
2022-01-28 15:10:07 +07:00
Christoph Langer
1cd3998663 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac
Backport-of: ce48f04085
2022-01-28 15:09:58 +07:00
Christoph Langer
4ba543e855 8136517: [macosx]Test java/awt/Focus/8073453/AWTFocusTransitionTest.java fails on MacOSX
Backport-of: 0438cea65b
2022-01-28 15:09:49 +07:00
Zhengyu Gu
45fc86ae1e 8276943: Backout JDK-8274338 11u backport
Reviewed-by: goetz, sgehwolf
2022-01-28 15:09:33 +07:00
Aleksey Shipilev
65fe371753 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with Shenandoah
Backport-of: c0533ef2d8
2022-01-28 15:09:23 +07:00
Christoph Langer
6339afa755 8171381: [TEST_BUG] [macos] javax/swing/JPopupMenu/7156657/bug7156657.java fails on OS X
Backport-of: ca6b1b49ab
2022-01-28 15:09:21 +07:00
Christoph Langer
20909695ac 8233562: [TESTBUG] Swing StyledEditorKit test bug4506788.java fails on MacOS
Backport-of: 4107670d62
2022-01-28 15:09:13 +07:00
Jie Fu
41ebaca29d 8264526: javax/swing/text/html/parser/Parser/8078268/bug8078268.java timeout
Backport-of: da643cdb20
2022-01-28 15:09:04 +07:00
Jie Fu
c559e0ad22 8267246: -XX:MaxRAMPercentage=0 is unreasonable for jtreg tests on many-core machines
Backport-of: 0daec497fe
2022-01-28 15:08:54 +07:00
Alexey Pavlyutkin
9c9e41efec 8270533: AArch64: size_fits_all_mem_uses should return false if its output is a CAS
Reviewed-by: aph
Backport-of: 6750c34c92
2022-01-28 15:08:46 +07:00
Christoph Langer
11b0435bc3 8233561: [TESTBUG] Swing text test bug8014863.java fails on macos
Backport-of: 9beb866b12
2022-01-28 15:08:37 +07:00
Jie Fu
48f74e24d8 8256009: Remove src/hotspot/share/adlc/Test/i486.ad
Backport-of: a1d4b9f35b
2022-01-28 15:08:22 +07:00
Aleksey Shipilev
a893d6a161 8256182: Update qemu-debootstrap cross-compilation recipe
Reviewed-by: sgehwolf
Backport-of: 421a7c3b41
2022-01-28 15:08:14 +07:00
Zhengyu Gu
5a650258db 8274338: com/sun/jdi/RedefineCrossEvent.java failed "assert(m != __null) failed: NULL mirror"
Reviewed-by: phh
Backport-of: 172aed1a2d
2022-01-28 15:08:10 +07:00
Christoph Langer
511bb35f54 8233637: [TESTBUG] Swing ActionListenerCalledTwiceTest.java fails on macos
Backport-of: 98c91b64b2
2022-01-28 15:08:01 +07:00
Christoph Langer
efadf0a542 8233641: [TESTBUG] JMenuItem test bug4171437.java fails on macos
Backport-of: e97809d3d4
2022-01-28 15:07:52 +07:00
Christoph Langer
a6e4fe8d73 8233560: [TESTBUG] ToolTipManager/Test6256140.java is failing on macos
Backport-of: caec8d2208
2022-01-28 15:07:42 +07:00
Bernhard Urban-Forster
dbb39a4285 8248500: AArch64: Remove the r18 dependency on Windows AArch64
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Reka Kovacs <rkovacs@openjdk.org>
Reviewed-by: aph
2022-01-28 15:07:32 +07:00
Christoph Langer
fbe4fdaf07 8233570: [TESTBUG] HTMLEditorKit test bug5043626.java is failing on macos
Backport-of: a5b42ec8b2
2022-01-28 15:07:21 +07:00
Jie Fu
2e26f76e08 8272720: Fix the implementation of loop unrolling heuristic with LoopPercentProfileLimit
Backport-of: 1ea437a4b8
2022-01-28 15:07:10 +07:00
Jie Fu
6f84740e05 8276066: Reset LoopPercentProfileLimit for x86 due to suboptimal performance
Backport-of: 0ab910d626
2022-01-28 15:06:59 +07:00
Christoph Langer
436921f9b2 8233556: [TESTBUG] JPopupMenu tests fail on MacOS
Reviewed-by: mdoerr
Backport-of: 3f8bd92308
2022-01-28 15:06:50 +07:00
Christoph Langer
8ecb189a68 8015602: [macosx] Test javax/swing/SpringLayout/4726194/bug4726194.java fails on MacOSX
Backport-of: dc85a3fe81
2022-01-28 15:06:49 +07:00
Jie Fu
42fc15dd67 8223141: Change (count) suffix _ct into _cnt.
Backport-of: 55e3cc8f6f
2022-01-28 15:06:38 +07:00
Aleksey Shipilev
a8c8a560a0 8267304: Bump global JTReg memory limit to 768m
Backport-of: e749f75de0
2022-01-28 15:06:35 +07:00
Martin Doerr
6919b35c69 8235784: java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java fails due to timeout with fastdebug bits
Reviewed-by: goetz
Backport-of: f0b1194004
2022-01-28 15:06:34 +07:00
Christoph Langer
d0493aae86 7151826: [TEST_BUG] [macosx] The test javax/swing/JPopupMenu/4966112/bug4966112.java not for mac
Backport-of: 4d9f207347
2022-01-28 15:06:33 +07:00
Christoph Langer
400fc3ae99 8233635: [TESTBUG] ProgressMonitorEscapeKeyPress.java fails on macos
Backport-of: 38636a8c96
2022-01-28 15:05:54 +07:00
Christoph Langer
ab998393aa 8199529: javax/swing/text/Utilities/8142966/SwingFontMetricsTest.java fails on windows
Reviewed-by: phh
Backport-of: 1ce6ec6a28
2022-01-28 15:05:26 +07:00
Christoph Langer
e69d2ac868 8249195: Change to Xcode 11.3.1 for building on Macos at Oracle
Reviewed-by: mdoerr
Backport-of: 097720cce5
2022-01-28 15:05:16 +07:00
Martin Doerr
3ce367ec44 8256202: Some tweaks for jarsigner tests PosixPermissionsTest and SymLinkTest
Reviewed-by: clanger
Backport-of: 1e9a432d59
2022-01-28 15:05:07 +07:00
Christoph Langer
8a406198b7 8219986: Change to Xcode 10.1 for building on Macosx at Oracle
Reviewed-by: mdoerr
Backport-of: 53adab6857
2022-01-28 15:05:02 +07:00
Severin Gehwolf
6488353168 8275713: TestDockerMemoryMetrics test fails on recent runc
Reviewed-by: mbaesken
2022-01-28 15:04:53 +07:00
Goetz Lindenmaier
090fb49a7e 8262844: (fs) FileStore.supportsFileAttributeView might return false negative in case of ext3
Backport-of: 8d3de4b1bd
2022-01-28 15:04:44 +07:00
Goetz Lindenmaier
6a04fcb145 8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST
Backport-of: 45ce06c9f3
2022-01-28 15:04:34 +07:00
Alexey Pavlyutkin
8d06e59356 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Reviewed-by: mdoerr
Backport-of: c3d8e9228d
2022-01-28 15:04:25 +07:00
Goetz Lindenmaier
4dc85f3f6d 8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.java fails on Windows
Reviewed-by: mdoerr
Backport-of: d1c8c9eabb
2022-01-28 15:04:16 +07:00
Christoph Langer
2cd98ce0d8 8198623: java/awt/KeyboardFocusmanager/TypeAhead/EnqueueWithDialogButtonTest/EnqueueWithDialogButtonTest.java fails on mac
Backport-of: 3c472b6700
2022-01-28 15:04:07 +07:00
Christoph Langer
f2f68d9674 8246807: Incorrect copyright header in TimeZoneDatePermissionCheck.sh
Reviewed-by: shade
2022-01-28 15:03:58 +07:00
Christoph Langer
9e2a098f6a 8131745: java/lang/management/ThreadMXBean/AllThreadIds.java still fails intermittently
Reviewed-by: mdoerr
Backport-of: ea9aeda5ee
2022-01-28 15:03:49 +07:00
Martin Doerr
247b81b11f 8274407: (tz) Update Timezone Data to 2021c
8274467: TestZoneInfo310.java fails with tzdata2021b
8274468: TimeZoneTest.java fails with tzdata2021b

Backport-of: 8ca084617f
2022-01-28 15:03:39 +07:00
Christoph Langer
af57a8ba46 8226514: Replace wildcard address with loopback or local host in tests - part 17
Improve test stabilty by getting rid of the wildcard address whenever possible.

Reviewed-by: stuefe, mdoerr
Backport-of: 2ad9f11d77
2022-01-28 15:03:29 +07:00
Martin Doerr
9b35273ac8 8233567: [TESTBUG] FocusSubRequestTest.java fails on macos
Backport-of: b90ad76d6b
2022-01-28 15:03:19 +07:00
Martin Doerr
e40ea70579 8233555: [TESTBUG] JRadioButton tests failing on MacoS
Backport-of: 227f99d394
2022-01-28 15:03:12 +07:00
Martin Doerr
ca00a9264d 8270116: Expand ButtonGroupLayoutTraversalTest.java to run in all LaFs, including Aqua on macOS
Backport-of: cb36880281
2022-01-28 15:02:57 +07:00
Christoph Langer
51cc5ea97c 8220575: Correctly format test URI's that contain a retrieved IPv6 address
Reviewed-by: mdoerr
Backport-of: 0c2b7c4fc3
2022-01-28 15:02:45 +07:00
Ao Qi
28478e4c23 8239422: [TESTBUG] compiler/c1/TestPrintIRDuringConstruction.java failed when C1 is disabled
Skip test if C1 is not available.

Backport-of: eef02376bd
2022-01-28 15:02:30 +07:00
Zhengyu Gu
c8fea9abb4 8275051: Shenandoah: Correct ordering of requested gc cause and gc request flag
Reviewed-by: phh
Backport-of: 1ab64143c0
2022-01-28 15:02:18 +07:00
Martin Doerr
b5f74318bb 8197800: Test java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java fails on Windows
Backport-of: ca37be1ead
2022-01-28 15:02:05 +07:00
Martin Doerr
26ea8b7a49 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac
Backport-of: cf92693957
2022-01-28 15:01:55 +07:00
Martin Doerr
05f9c57d45 8171998: javax/swing/JMenu/4692443/bug4692443.java fails on Windows
Backport-of: 4acf634d05
2022-01-28 15:01:42 +07:00
Martin Doerr
ee593a5df8 8266579: Update test/jdk/java/lang/ProcessHandle/PermissionTest.java & test/jdk/java/sql/testng/util/TestPolicy.java
Backport-of: fcedfc8a3b
2022-01-28 15:01:29 +07:00
Martin Doerr
f9cf0587b6 8272708: [Test]: Cleanup: test/jdk/security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java no longer needs ocspEnabled
Backport-of: 4bd37c3153
2022-01-28 15:01:18 +07:00
Martin Doerr
65da6dec9d 8247510: typo in IllegalHandshakeMessage
Backport-of: 1faed205df
2022-01-28 15:01:09 +07:00
Martin Doerr
c439c6a5e9 8207936: TestZipFile failed with java.lang.AssertionError exception
Backport-of: 65455ff60b
2022-01-28 15:00:58 +07:00
Ao Qi
57e95df13e 8270517: Add Zero support for LoongArch
Backport-of: e92e2fd4e0
2022-01-28 15:00:53 +07:00
Christoph Langer
512a23b1c6 8233559: [TESTBUG] TestNimbusOverride.java is failing on macos
Backport-of: c638618814
2022-01-28 15:00:52 +07:00
Joshua Cao
d5c9095214 8252051: Make mlvmJvmtiUtils strncpy uses GCC 10.x friendly
Reviewed-by: phh
2022-01-28 15:00:52 +07:00
Jonathan Dowland
44a04bd0f6 8275131: Exceptions after a touchpad gesture on macOS
Backport-of: 89999f70e0
2022-01-28 15:00:31 +07:00
Christoph Langer
bb6deca2e5 8198624: java/awt/KeyboardFocusmanager/TypeAhead/SubMenuShowTest/SubMenuShowTest.html fails on mac
Reviewed-by: mdoerr
Backport-of: fe6aa29326
2022-01-28 15:00:00 +07:00
Christoph Langer
3d86e1c780 8233550: [TESTBUG] JTree tests fail regularly on MacOS
Backport-of: 04b3bf6024
2022-01-28 14:59:59 +07:00
Christoph Langer
0a86a9f9a5 8239827: The test OpenByUNCPathNameTest.java should be changed to be manual
Backport-of: 7cc3ba5f9b
2022-01-28 14:59:59 +07:00
Christoph Langer
3475585bed 8233647: [TESTBUG] JColorChooser/Test8051548.java is failing on macos
Backport-of: 342e9f88cd
2022-01-28 14:59:28 +07:00
Christoph Langer
6d1abacd98 8233566: [TESTBUG] KeyboardFocusManager tests failing on MacoS
Backport-of: 85822a50d5
2022-01-28 14:59:16 +07:00
Christoph Langer
3ac87a0a4c 8233552: [TESTBUG] JTable Test bug7068740.java fails on MacOS
Backport-of: 15433df97f
2022-01-28 14:58:41 +07:00
Christoph Langer
9fcda5d5a7 8233553: [TESTBUG] JSpinner test bug4973721.java fails on MacOS
Backport-of: 9ae8b32dee
2022-01-28 14:58:06 +07:00
Vladimir Kempik
8f29f50a52 8267652: c2 loop unrolling by 8 results in reading memory past array
Reviewed-by: mdoerr
Backport-of: 0c99b19258
2022-01-28 14:57:47 +07:00
Martin Doerr
f1fa7fa957 8239334: Tab Size does not work correctly in JTextArea with setLineWrap on
Backport-of: 3c72042627
2022-01-28 14:57:42 +07:00
Yi Yang
1943e32767 8273790: Potential cyclic dependencies between Gregorian and CalendarSystem
Backport-of: ddc262746a
2022-01-28 14:57:40 +07:00
Jie Fu
026a989a6f 8251155: HostIdentifier fails to canonicalize hostnames starting with digits
Reviewed-by: goetz
Backport-of: 5585e6f63a
2022-01-28 14:57:38 +07:00
Christoph Langer
a806c4d71f 8233643: [TESTBUG] JMenu test bug4515762.java fails on macos
Backport-of: 1f2f808794
2022-01-28 14:57:38 +07:00
Christoph Langer
8499d305a2 8169953: JComboBox/8057893: ComboBoxEdited event is not fired! on Windows
Backport-of: 0d2cc3b449
2022-01-28 14:56:20 +07:00
Martin Doerr
649810a3e1 8272574: C2: assert(false) failed: Bad graph detected in build_loop_late
Backport-of: 16c3ad1ff4
2022-01-28 14:55:30 +07:00
Ao Qi
cdf8ee8ca8 8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: goetz
Backport-of: 63dbcdc874
2022-01-28 14:55:16 +07:00
Ao Qi
af9f5c0024 8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java fails
Reviewed-by: goetz
Backport-of: 5fedb69e66
2022-01-28 14:55:07 +07:00
Goetz Lindenmaier
5ce059e2a0 8269656: The test test/langtools/tools/javac/versions/Versions.java has duplicate test cycles
Backport-of: 04b73bc4e0
2022-01-28 14:54:58 +07:00
Martin Doerr
fd9d771ab0 8271459: C2: Missing NegativeArraySizeException when creating StringBuilder with negative capacity
Reviewed-by: goetz
Backport-of: 3953e0774c
2022-01-28 14:54:54 +07:00
Goetz Lindenmaier
422573922f 8137101: [TEST_BUG] javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java failure due to timing
Reviewed-by: mdoerr
Backport-of: dcdb1b6aaa
2022-01-28 14:54:46 +07:00
Christoph Langer
65823f7e76 8221305: java/awt/FontMetrics/MaxAdvanceIsMax.java fails on MacOS + Solaris
Backport-of: a040c56dd9
2022-01-28 14:54:37 +07:00
Goetz Lindenmaier
b799c46325 8180568: Refactor javax/crypto shell tests to plain java tests
Reviewed-by: mdoerr
Backport-of: 20ad428974
2022-01-28 14:54:28 +07:00
Goetz Lindenmaier
30288339d0 8273646: Add openssl from path variable also in to Default System Openssl Path in OpensslArtifactFetcher
Backport-of: a5108a605e
2022-01-28 14:54:19 +07:00
Jie Fu
2af00eddb7 8274329: Fix non-portable HotSpot code in MethodMatcher::parse_method_pattern
Reviewed-by: kvn
Backport-of: c833b4d130
2022-01-28 14:54:10 +07:00
Goetz Lindenmaier
0a40edb46d 8245147: Refactor and improve utility of test/langtools/tools/javac/versions/Versions.java
Reviewed-by: mdoerr
Backport-of: 6cbf57aa37
2022-01-28 14:53:59 +07:00
Goetz Lindenmaier
0f176d452a 8273826: Correct Manifest file name and NPE checks
Reviewed-by: mdoerr
Backport-of: 03a8d342b8
2022-01-28 14:53:49 +07:00
Goetz Lindenmaier
a351f8434b 8273961: jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
Reviewed-by: mdoerr
Backport-of: 7f78803b09
2022-01-28 14:53:40 +07:00
Christoph Langer
1378f04bb1 8242793: Incorrect copyright header in ContinuousCallSiteTargetChange.java
Backport-of: 25cd1774a7
2022-01-28 14:53:31 +07:00
Christoph Langer
a4ae67433a 7105119: [TEST_BUG] [macosx] In test UIDefaults.toString() must be called with the invokeLater()
Backport-of: 84fc4850a6
2022-01-28 14:53:30 +07:00
Christoph Langer
00034d692c 8237589: Fix copyright header formatting
Reviewed-by: shade
2022-01-28 14:53:21 +07:00
Goetz Lindenmaier
716031e181 8243543: jtreg test security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java fails
Backport-of: 45abbeed2f
2022-01-28 14:53:11 +07:00
Goetz Lindenmaier
287650573b 8211148: var in implicit lambdas shouldn't be accepted for source < 11
Backport-of: 2589e9733e
2022-01-28 14:53:02 +07:00
Jonathan Dowland
ecdfdd4a1e 8198616: java/awt/Focus/6378278/InputVerifierTest.java fails on mac
Backport-of: dd8286e2f3
2022-01-28 14:52:54 +07:00
Martin Doerr
3f90685961 8274642: jdk/jshell/CommandCompletionTest.java fails with NoSuchElementException after JDK-8271287
Backport-of: 47262670f3
2022-01-28 14:52:53 +07:00
Martin Doerr
da2dc96086 8271287: jdk/jshell/CommandCompletionTest.java fails with "lists don't have the same size expected"
Backport-of: 71788c69db
2022-01-28 14:52:47 +07:00
Martin Doerr
f0548a8f53 8273498: compiler/c2/Test7179138_1.java timed out
Backport-of: 84f6cb4ae4
2022-01-28 14:52:36 +07:00
Martin Doerr
329e679c1e 8273229: Update OS detection code to recognize Windows Server 2022
Backport-of: c2e015c3c1
2022-01-28 14:52:24 +07:00
Zhengyu Gu
5ccf7aad0d 8273342: Null pointer dereference in classFileParser.cpp:2817
Backport-of: 8609ea55ac
2022-01-28 14:52:22 +07:00
Martin Doerr
47aa1bca6e 8271340: Crash PhaseIdealLoop::clone_outer_loop
Backport-of: 2abf3b3b27
2022-01-28 14:52:21 +07:00
Martin Doerr
e4c370cb95 8270886: Crash in PhaseIdealLoop::verify_strip_mined_scheduling
Backport-of: 6afcf5f5a2
2022-01-28 14:52:20 +07:00
Martin Doerr
7f3b6eecc2 8271341: Opcode() != Op_If && Opcode() != Op_RangeCheck) || outcnt() == 2 assert failure with Test7179138_1.java
Backport-of: 99fb12c798
2022-01-28 14:52:19 +07:00
Martin Doerr
43984fd9f2 8274381: missing CAccessibility definitions in JNI code
Backport-of: a9981fb0ff
2022-01-28 14:51:36 +07:00
Aleksey Shipilev
7a9e4ed345 8274083: Update testing docs to mention tiered testing
Backport-of: 971aa353aa
2022-01-28 14:51:20 +07:00
Aleksey Shipilev
3541207b55 8273314: Add tier4 test groups
Reviewed-by: clanger
Backport-of: 1f8af524ff
2022-01-28 14:51:14 +07:00
Aleksey Shipilev
c44776dbc0 8199138: Add RISC-V support to Zero
Backport-of: edc4ffe54b
2022-01-28 14:51:03 +07:00
Jonathan Dowland
f50c8db80c 8272180: Upgrade JSZip from v3.6.0 to v3.7.1
8272828: Add correct licenses to jszip.md

Reviewed-by: goetz
2022-01-28 14:50:54 +07:00
Jonathan Dowland
4919570865 8272581: sun/security/pkcs11/Provider/MultipleLogins.sh fails after JDK-8266182
Reviewed-by: clanger
Backport-of: a199ebc017
2022-01-28 14:50:52 +07:00
Martin Doerr
d640e4cb7e 8272570: C2: crash in PhaseCFG::global_code_motion
Backport-of: 0f428ca533
2022-01-28 14:50:51 +07:00
Martin Doerr
dac2e78912 8273924: ArrayIndexOutOfBoundsException thrown in java.util.JapaneseImperialCalendar.add()
Backport-of: d39aad9230
2022-01-28 14:50:50 +07:00
Martin Doerr
401abb2e28 8274326: [macos] Ensure initialisation of sun/lwawt/macosx/CAccessibility in JavaComponentAccessibility.m
Backport-of: 2cffe4c8e0
2022-01-28 14:47:41 +07:00
Goetz Lindenmaier
933f351ad4 8254802: ThrowingPushPromisesAsStringCustom.java fails in "try throwing in GET_BODY"
Backport-of: 566d77a2ae
2022-01-28 14:45:39 +07:00
Goetz Lindenmaier
210afd358e 8262438: sun/security/ssl/SSLLogger/LoggingFormatConsistency.java failed with "SocketException: Socket is closed"
Backport-of: b2a2ddff44
2022-01-28 14:45:30 +07:00
Goetz Lindenmaier
efc1685c8e 8159904: [TEST_BUG] Failure on solaris of java/awt/Window/MultiWindowApp/MultiWindowAppTest.java
Reviewed-by: clanger
Backport-of: 6ce52e6277
2022-01-28 14:45:27 +07:00
Goetz Lindenmaier
6fce571b18 8265173: [test] divert spurious log output away from stream under test in ProcessBuilder Basic test
Backport-of: 7b61a426e0
2022-01-28 14:45:19 +07:00
Goetz Lindenmaier
a337a2a5a9 8263897: compiler/c2/aarch64/TestVolatilesSerial.java failed with "java.lang.RuntimeException: Wrong method"
Reviewed-by: aph
Backport-of: f84b52b84d
2022-01-28 14:45:11 +07:00
Goetz Lindenmaier
d2c4192d5c 8075909: [TEST_BUG] The regression-swing case failed as it does not have the 'Open' button when select 'subdir' folder with NimbusLAF
Backport-of: 0e9c5aedc8
2022-01-28 14:45:02 +07:00
Goetz Lindenmaier
ca82683d6a 8159597: [TEST_BUG] closed/javax/swing/JPopupMenu/4760494/bug4760494.java leaves key pressed
Backport-of: 604005d65c
2022-01-28 14:44:53 +07:00
Goetz Lindenmaier
9093eb924a 8223140: Clean-up in 'ok_to_convert()'
Simplify logic in function. Added precond/postcond macros.

Reviewed-by: shade
Backport-of: f4faee7bae
2022-01-28 14:44:44 +07:00
Aleksey Shipilev
34ae2eedd2 8272783: Epsilon: Refactor tests to improve performance
Reviewed-by: clanger
Backport-of: 7f80683cfe
2022-01-28 14:44:34 +07:00
Aleksey Shipilev
57c300e356 8273606: Zero: SPARC64 build fails with si_band type mismatch
Reviewed-by: clanger
Backport-of: 241ac89f12
2022-01-28 14:44:25 +07:00
Aleksey Shipilev
7d76fc9bc8 8272914: Create hotspot:tier2 and hotspot:tier3 test groups
Reviewed-by: clanger
Backport-of: 5ee5dd9b18
2022-01-28 14:44:16 +07:00
Christoph Langer
f06eb769d0 8224829: AsyncSSLSocketClose.java has timing issue
Reviewed-by: mdoerr
Backport-of: a4277e56c8
2022-01-28 14:44:07 +07:00
Reka Kovacs
d4a66bb427 8250810: Push missing parts of JDK-8248817
Push changes from JDK-8248817 that were accidentally excluded from the commit.

Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: aph, mdoerr
Backport-of: a4eaf9536c
2022-01-28 14:43:59 +07:00
Christoph Langer
4f9e3d7f08 8230067: Add optional automatic retry when running jtreg tests
Reviewed-by: mdoerr
Backport-of: 72cb073c09
2022-01-28 14:43:50 +07:00
Christoph Langer
767880735d 8180573: Refactor sun/security/tools shell tests to plain java tests
Reviewed-by: mdoerr
Backport-of: 15aae2f622
2022-01-28 14:43:36 +07:00
Aleksey Shipilev
1813661d6d 8273894: ConcurrentModificationException raised every time ReferralsCache drops referral
Backport-of: 2166ed1369
2022-01-28 14:43:33 +07:00
Aleksey Shipilev
d6749b8dc3 8272836: Limit run time for java/lang/invoke/LFCaching tests
Backport-of: a3308af060
2022-01-28 14:43:25 +07:00
Aleksey Shipilev
e8c0111762 8273373: Zero: Cannot invoke JVM in primordial threads on Zero
Backport-of: 0f31d0fb2c
2022-01-28 14:43:15 +07:00
Goetz Lindenmaier
c112a87d58 8223138: Small clean-up in loop-tree support.
Rename predicate 'is_inner()' to 'is_innermost()' to be accurate. Added 'is_root()' predicate for root parent test in loop-tree. Changed definition of 'is_loop()' to always lazy-read the tail, since it should never be NULL. Cleanup of 'tail()' definition.

Backport-of: 205085d8d5
2022-01-28 14:43:06 +07:00
Zhengyu Gu
3bd7262d08 8187649: ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
Backport-of: bea4109ef7
2022-01-28 14:42:58 +07:00
Goetz Lindenmaier
731d9cc85d 8268555: Update HttpClient tests that use ITestContext to jtreg 6+1
Reviewed-by: mdoerr
Backport-of: da043e99b8
2022-01-28 14:42:49 +07:00
Aleksey Shipilev
804693a241 8223923: C2: Missing interference with mismatched unsafe accesses
Backport-of: 86add21a85
2022-01-28 14:42:40 +07:00
Jonathan Dowland
09f36b8b98 8266182: Automate manual steps listed in the test jdk/sun/security/pkcs12/ParamsTest.java
Reviewed-by: goetz, clanger
Backport-of: 9248bd08cf
2022-01-28 14:42:29 +07:00
Goetz Lindenmaier
692c33db54 8223139: Rename mandatory policy-do routines.
Rename 'policy_do_remove_empty_loop' to 'do_remove_empty_loop', 'policy_do_one_iteration_loop' to 'do_one_iteration_loop'.

Backport-of: ceef0f69dc
2022-01-28 14:42:19 +07:00
Goetz Lindenmaier
b4081922d4 8248187: [TESTBUG] javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn
Backport-of: c3ec97d41a
2022-01-28 14:42:09 +07:00
Goetz Lindenmaier
23634182ee 8143021: [TEST_BUG] Test javax/swing/JColorChooser/Test6541987.java fails
Backport-of: 7597cba92b
2022-01-28 14:42:01 +07:00
Goetz Lindenmaier
d817eae6c1 8256152: tests fail because of ambiguous method resolution
Backport-of: 646c20022c
2022-01-28 14:42:00 +07:00
Goetz Lindenmaier
82dcc226a9 8211171: move JarUtils to top-level testlibrary
Reviewed-by: mdoerr
Backport-of: ab8c7f710c
2022-01-28 14:41:59 +07:00
Goetz Lindenmaier
4e92a83a5f 8265524: Upgrading JSZip from v3.2.2 to v3.6.0
Reviewed-by: mdoerr
2022-01-28 14:41:53 +07:00
Christoph Langer
a8481a1594 8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
Backport-of: a2fad13ce2
2022-01-28 14:41:42 +07:00
Goetz Lindenmaier
835a830f6e 8229935: [TEST_BUG]: bug8132119.java inconsistently positions text
Backport-of: 5686851c12
2022-01-28 14:41:33 +07:00
Goetz Lindenmaier
8aea15b00e 8223137: Rename predicate 'do_unroll_only()' to 'is_unroll_only()'.
Backport-of: fcbca82247
2022-01-28 14:41:27 +07:00
Goetz Lindenmaier
8099529b84 8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndFindClass
Reviewed-by: mdoerr
Backport-of: 56240690f6
2022-01-28 14:41:17 +07:00
Christoph Langer
b4ecdc4ce3 8196096: javax/swing/JPopupMenu/6580930/bug6580930.java fails
Reviewed-by: mdoerr
Backport-of: b5b24b904a
2022-01-28 14:41:10 +07:00
Jonathan Dowland
499cd8345b 8180571: Refactor sun/security/pkcs11 shell tests to plain java tests and fix failures
Co-authored-by: Jonathan Dowland <jdowland@openjdk.org>
Reviewed-by: goetz
Backport-of: ccfcd92667
2022-01-28 14:40:58 +07:00
Jonathan Dowland
24c49816af 8272342: [TEST_BUG] java/awt/print/PrinterJob/PageDialogMarginTest.java catches all exceptions
Backport-of: a5ad7720d2
2022-01-28 14:40:49 +07:00
Jonathan Dowland
aa4267acdf 8078219: Verify lack of @test tag in files in java/net test directory
Backport-of: a9f92bec7f
2022-01-28 14:40:41 +07:00
Martin Doerr
09e765a4b9 8231501: VM crash in MethodData::clean_extra_data(CleanExtraDataClosure*): fatal error: unexpected tag 99
Snapshot MDO extra trap and argument data only after it is prepared.

Reviewed-by: phh
Backport-of: 49048adcf2
2022-01-28 14:40:32 +07:00
Martin Doerr
a3e1ff58f5 8215889: assert(!_unloading) failed: This oop is not available to unloading class loader data with ZGC
Reviewed-by: goetz, zgu
Backport-of: f08eeac278
2022-01-28 14:40:26 +07:00
Goetz Lindenmaier
c8febb6aa3 8268093: Manual Testcase: "sun/security/krb5/config/native/TestDynamicStore.java" Fails with NPE
Backport-of: e39346e708
2022-01-28 14:40:23 +07:00
Goetz Lindenmaier
7f2ae062cd 8269768: JFR Terminology Refresh
Backport-of: 1c18f91438
2022-01-28 14:40:22 +07:00
Goetz Lindenmaier
68e97f8aec 8179880: Refactor javax/security shell tests to plain java tests
Reviewed-by: mdoerr
Backport-of: 7f55dc1576
2022-01-28 14:40:22 +07:00
Martin Doerr
0022d15198 8274056: JavaAccessibilityUtilities leaks JNI objects
Backport-of: 42d5d2abaa
2022-01-28 14:39:38 +07:00
Zhengyu Gu
ba4a4c1d5f 8213707: [TEST] vmTestbase/nsk/stress/except/except011.java failed due to wrong class name
Fixed wrong class name in test

Backport-of: 83155e1ea6
2022-01-28 14:39:20 +07:00
Goetz Lindenmaier
da8916695a 8255227: java/net/httpclient/FlowAdapterPublisherTest.java intermittently failing with TestServer: start exception: java.io.IOException: Invalid preface
Backport-of: 0544a732a4
2022-01-28 14:39:12 +07:00
Goetz Lindenmaier
84cd4cd911 8266949: Check possibility to disable OperationTimedOut on Unix
Backport-of: e6705c0e4b
2022-01-28 14:39:04 +07:00
Goetz Lindenmaier
191b1ab652 8248341: ProblemList java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java
Backport-of: 8a424425e1
2022-01-28 14:38:56 +07:00
Goetz Lindenmaier
7e0b152479 8047218: [TEST_BUG] java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java fails with exception
Backport-of: 271a0c7133
2022-01-28 14:38:47 +07:00
Goetz Lindenmaier
7e536c560e 8163086: java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java fails
Backport-of: abdff7905f
2022-01-28 14:38:39 +07:00
Goetz Lindenmaier
129b8b7304 8233564: [TESTBUG] MouseComboBoxTest.java is failing
Backport-of: b72d99e77b
2022-01-28 14:38:31 +07:00
Goetz Lindenmaier
99793c8b0d 8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and ReplayCacheTestProcWithMD5.java failed on OL8.3
Reviewed-by: mdoerr
Backport-of: d70fd7b3c4
2022-01-28 14:38:23 +07:00
Goetz Lindenmaier
9b593b5c13 8265019: Update tests for additional TestNG test permissions
Reviewed-by: mdoerr
Backport-of: ffb3771816
2022-01-28 14:38:15 +07:00
Goetz Lindenmaier
f83ea2f532 8253866: Security Libs Terminology Refresh
Reviewed-by: mdoerr
Backport-of: 8554fe6ebc
2022-01-28 14:38:06 +07:00
Goetz Lindenmaier
a440b5d82a 8253497: Core Libs Terminology Refresh
Reviewed-by: mdoerr
Backport-of: b2f035549a
2022-01-28 14:37:58 +07:00
Goetz Lindenmaier
d4ee18498c 8081652: [TESTBUG] java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java timed out intermittently
Reviewed-by: mdoerr
Backport-of: 5805cbeaaf
2022-01-28 14:37:49 +07:00
Goetz Lindenmaier
ca06ac6778 8216417: cleanup of IPv6 scope-id handling
Reviewed-by: mdoerr
Backport-of: 247a6a2ce4
2022-01-28 14:37:41 +07:00
Goetz Lindenmaier
f5922189c7 8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.

Reviewed-by: mdoerr
Backport-of: 6df28153fd
2022-01-28 14:37:32 +07:00
Goetz Lindenmaier
368dfc8d82 8244292: Headful clients failing with --illegal-access=deny
Reviewed-by: mdoerr
Backport-of: 0efacb3eed
2022-01-28 14:37:24 +07:00
Christoph Langer
38db6b7908 8223658: Performance regression of XML.validation in 13-b19
Reviewed-by: sviswanathan
Backport-of: 50eb86d003
2022-01-28 14:37:16 +07:00
Goetz Lindenmaier
b3533dd98d 8039261: [TEST_BUG]: There is not a minimal security level in Java Preferences and the TestApplet.html is blocked.
Backport-of: 26186ec3f6
2022-01-28 14:37:08 +07:00
Goetz Lindenmaier
8b75260962 8264824: java/net/Inet6Address/B6206527.java doesn't close ServerSocket properly
Backport-of: 6293299dd3
2022-01-28 14:37:00 +07:00
Goetz Lindenmaier
660a721f44 8250839: Improve test template SSLEngineTemplate with SSLContextTemplate
Backport-of: 473fa82000
2022-01-28 14:36:52 +07:00
Goetz Lindenmaier
dec4079dd0 8255722: Create a new test for rotated blit
Backport-of: a53b12df2d
2022-01-28 14:36:42 +07:00
Goetz Lindenmaier
f7e73fe7a3 8245665: Test WeakAlg.java should only make sure no warning for weak signature algorithms by keytool on root CA
Backport-of: ccd7d70586
2022-01-28 14:36:41 +07:00
Goetz Lindenmaier
42668f67f3 8169954: JFileChooser/8021253: java.lang.RuntimeException: Default button is not pressed
Backport-of: cacce843aa
2022-01-28 14:36:40 +07:00
Goetz Lindenmaier
c1561748d9 8245165: Update bug id for javax/swing/text/StyledEditorKit/4506788/bug4506788.java in ProblemList
Backport-of: 08ded85a5c
2022-01-28 14:35:59 +07:00
Martin Doerr
7db4e09f60 8263773: Reenable German localization for builds at Oracle
Backport-of: ef4a532802
2022-01-28 14:22:32 +07:00
Goetz Lindenmaier
0879794d36 8238677: java/net/httpclient/ssltest/CertificateTest.java should not specify TLS version
Backport-of: fbca3fa710
2022-01-28 14:22:24 +07:00
Christoph Langer
a3b8e645b1 8180569: Refactor sun/security/krb5/ shell tests to plain java tests
Backport-of: 8b83b515b1
2022-01-28 14:22:15 +07:00
Christoph Langer
46fdb81b1a 8210920: Native C++ tests are not using CXXFLAGS
Reviewed-by: mdoerr
Backport-of: 481a045635
2022-01-28 14:22:09 +07:00
Goetz Lindenmaier
17db3f4354 8221902: PIT: javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java fails on ubuntu
Backport-of: 4071546506
2022-01-28 14:22:00 +07:00
Goetz Lindenmaier
7dac480937 8242526: PIT: javax/swing/JInternalFrame/8020708/bug8020708.java fails in mach5 ubuntu system 8233644: [TESTBUG] JInternalFrame test bug8020708.java is failing on macos
Backport-of: 8b002d881d
2022-01-28 14:21:52 +07:00
Goetz Lindenmaier
cab2d1304d 8234802: [TESTBUG] Test Right Mouse Button Drag Gesture Recognition in all the platforms
Backport-of: 24232989ba
2022-01-28 14:21:44 +07:00
Goetz Lindenmaier
da57536602 8242044: Add basic HTTP/1.1 support to the HTTP/2 Test Server
Reviewed-by: mdoerr
Backport-of: 9a69bb807b
2022-01-28 14:21:35 +07:00
Goetz Lindenmaier
b565cff34f 8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java fails on ubuntu18.04
Reviewed-by: mdoerr
Backport-of: e9e86ffb30
2022-01-28 14:21:27 +07:00
Goetz Lindenmaier
ea3671de26 8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
Refactoring the SA tests which test clhsdb commands to use ClhsdbLauncher for uniformity and ease of maintainence

Reviewed-by: mdoerr
Backport-of: 9c09bb98d4
2022-01-28 14:21:19 +07:00
Goetz Lindenmaier
974704d031 8214469: [macos] PIT: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.java fails
Reviewed-by: mdoerr
Backport-of: c2824531a7
2022-01-28 14:21:11 +07:00
Martin Doerr
bcd5957941 8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
Remove SystemDictionary::modification_counter optimization

Reviewed-by: phh
Backport-of: 04b98fd1df
2022-01-28 14:21:03 +07:00
Goetz Lindenmaier
731f97ce90 8233634: [TESTBUG] Swing text test bug4278839.java fails on macos
Backport-of: 456fd9003e
2022-01-28 14:20:54 +07:00
Goetz Lindenmaier
38446f56a1 8228508: [TESTBUG] java/net/httpclient/SmokeTest.java fails on Windows7
Backport-of: b4a7fb856b
2022-01-28 14:20:47 +07:00
Goetz Lindenmaier
c56336e14a 8233403: Improve verbosity of some httpclient tests
Improve the verbosity of some httpclient tests to help diagnosis of intermittent failures. Also fixes ShortRequestBody test.

Backport-of: eaba9fe23b
2022-01-28 14:20:39 +07:00
Goetz Lindenmaier
56beed59f3 8165828: [TEST_BUG] The reg case:javax/swing/plaf/metal/MetalIcons/MetalHiDPIIconsTest.java failed as No Metal Look and Feel
Backport-of: 6b80f1e7cd
2022-01-28 14:20:30 +07:00
Christoph Langer
7e58dfe40b 8221259: New tests for java.net.Socket to exercise long standing behavior
Backport-of: fd14375ae2
2022-01-28 14:20:21 +07:00
Christoph Langer
34a2845c20 8217438: Adapt tools//launcher/Test7029048.java for AIX
Backport-of: 05a8750ec7
2022-01-28 14:20:18 +07:00
Christoph Langer
7eb3f8b918 8080569: java/lang/ProcessBuilder/DestroyTest.java fails with "RuntimeException: Process terminated prematurely"
Backport-of: 2ee8882fb9
2022-01-28 14:20:10 +07:00
Thomas Stuefe
9458aaf329 8261297: NMT: Final report should use scale 1
Backport-of: 1740de2a0d
2022-01-28 14:20:02 +07:00
Goetz Lindenmaier
1d98884008 8217882: java/net/httpclient/MaxStreams.java failed once
Added some more traces to help diagnosis

Backport-of: 6dcfd0f93a
2022-01-28 14:19:54 +07:00
Goetz Lindenmaier
6acd9fc2ba 8217903: java/net/httpclient/Response204.java fails with 404
Fixed test to use loopback address - this looks like a port reuse issue.

Backport-of: 6b64f80be4
2022-01-28 14:19:45 +07:00
Goetz Lindenmaier
3cf384e6bb 8217377: javax/swing/JPopupMenu/6583251/bug6583251.java failed with UnsupportedOperation exception
Reviewed-by: clanger
Backport-of: 37a7f89c34
2022-01-28 14:19:37 +07:00
Richard Reingruber
ac222ff922 8269574: C2: Avoid redundant uncommon traps in GraphKit::builtin_throw() for JVMTI exception events
Backport-of: 72530ef666
2022-01-28 14:19:29 +07:00
Aleksey Shipilev
4efa5dc41d 8272850: Drop zapping values in the Zap* option descriptions
Backport-of: c5a271259d
2022-01-28 14:19:21 +07:00
Aleksey Shipilev
fc384aedfe 8272318: Improve performance of HeapDumpAllTest
Backport-of: 73da66ffb7
2022-01-28 14:19:12 +07:00
Christoph Langer
52d395b32d 8215410: Regression test for JDK-8214994
Added a regression test for 8214994 which was fixed by accident with 8211451.

Backport-of: 2e989366ea
2022-01-28 14:19:04 +07:00
Christoph Langer
081b19416b 8129310: java/net/Socket/asyncClose/AsyncClose.java fails intermittently
Backport-of: fb6de4b0b6
2022-01-28 14:18:55 +07:00
Christoph Langer
d12cd7ba42 8213189: Make restricted headers in HTTP Client configurable and remove Date by default
Reviewed-by: mdoerr
Backport-of: 028f2e14b3
2022-01-28 14:18:47 +07:00
Martin Doerr
b70a2ee42c 8256066: Tests use deprecated TestNG API that is no longer available in new versions
Backport-of: 6d8acd2696
2022-01-28 14:18:38 +07:00
Martin Doerr
dfc1304bb1 8216318: The usage of Disposer in the java.awt.Robot can be deleted
Reviewed-by: goetz
Backport-of: 293f77f18f
2022-01-28 14:18:30 +07:00
Goetz Lindenmaier
9364669643 8197560: test javax/swing/JTree/8003400/Test8003400.java fails
Reviewed-by: mdoerr
Backport-of: 5699024184
2022-01-28 14:18:22 +07:00
Martin Doerr
ad72e33d66 8271560: sun/security/ssl/DHKeyExchange/LegacyDHEKeyExchange.java still fails due to "An established connection was aborted by the software in your host machine"
Backport-of: f18c0fac11
2022-01-28 14:18:13 +07:00
Martin Doerr
630bbadb2a 8270344: Session resumption errors
Reviewed-by: clanger
Backport-of: 04a806ec86
2022-01-28 14:18:05 +07:00
Martin Doerr
843e1d8b85 8259237: Demo selection changes with left/right arrow key. No need to press space for selection.
Backport-of: 28ff2de186
2022-01-28 14:17:56 +07:00
Martin Doerr
d6f24e6d0c 8217633: Configurable extensions with system properties
Backport-of: 71bfe962eb
2022-01-28 14:17:48 +07:00
Goetz Lindenmaier
3f09c61ae0 8253682: The AppletInitialFocusTest1.java is unstable
Backport-of: 1d88172c06
2022-01-28 14:17:39 +07:00
Jonathan Dowland
ebc86440f3 6849922: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.html fails
Backport-of: 1b012e213d
2022-01-28 14:17:31 +07:00
Goetz Lindenmaier
10739c3d9b 8213110: Remove the use of applets in automatic tests
Reviewed-by: clanger
Backport-of: b5998aadf0
2022-01-28 14:17:22 +07:00
Martin Doerr
e83c16fb8d 8269034: AccessControlException for SunPKCS11 daemon threads
Reviewed-by: clanger
Backport-of: 0d745ae8fd
2022-01-28 14:17:13 +07:00
Martin Doerr
8b301319c5 8240256: Better resource cleaning for SunPKCS11 Provider
Reviewed-by: goetz
Backport-of: bdeaeb47d0
2022-01-28 14:17:04 +07:00
Martin Doerr
9c1b6755f9 8210392: assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit
Avoid excessive split-if.

Backport-of: a17df8d45b
2022-01-28 14:16:55 +07:00
Aleksey Shipilev
7483688153 8236177: assert(status == 0) failed: error ETIMEDOUT(60), cond_wait
Extend the assert to cover the new case.

Reviewed-by: clanger
Backport-of: 91ed3fc599
2022-01-28 14:16:51 +07:00
Jonathan Dowland
0f9f94f2b5 8246114: java/net/MulticastSocket/Promiscuous.java fails after 8241072 (multi-homed systems)
Fixed the test - an IPv4 group cannot be joined from an interface that has no IPv4 address configured

Backport-of: 0f43de9f02
2022-01-28 14:16:50 +07:00
Aleksey Shipilev
55e10f8e20 8273795: Zero SPARC64 debug builds fail due to missing interpreter fields
Reviewed-by: coleenp
2022-01-28 14:16:49 +07:00
Martin Doerr
f6bbfc6385 8273541: Cleaner Thread creates with normal priority instead of MAX_PRIORITY - 2
Backport-of: 4e6de5f9de
2022-01-28 14:16:49 +07:00
Martin Doerr
742feac7fa 8261036: Reduce classes loaded by CleanerFactory initialization
Backport-of: 992b50087d
2022-01-28 14:16:48 +07:00
Martin Doerr
01788a2004 8272806: [macOS] "Apple AWT Internal Exception" when input method is changed
Reviewed-by: stuefe
Backport-of: f681d6544a
2022-01-28 14:15:55 +07:00
Martin Doerr
cc3de14617 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked
Reviewed-by: stuefe
Backport-of: 481c1f0549
2022-01-28 14:11:57 +07:00
Martin Doerr
99f5f5c614 8273358: macOS Monterey does not have the font Times needed by Serif
Reviewed-by: stuefe
Backport-of: efe3ed1e70
2022-01-28 14:11:42 +07:00
Christoph Langer
ba393eb474 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: stuefe
Backport-of: 2f20909d10
2022-01-28 14:11:33 +07:00
Christoph Langer
e077534548 8213330: Fix legal headers in i18n tests
Reviewed-by: phh
Backport-of: a1029a4729
2022-01-28 14:11:24 +07:00
Thomas Stuefe
759d58e2ad 8260571: Add PrintMetaspaceStatistics to print metaspace statistics upon VM exit
Reviewed-by: clanger
Backport-of: ddd2951ba9
2022-01-28 14:11:16 +07:00
Zhengyu Gu
adb725ee4c 8169959: javax/swing/JTable/6263446/bug6263446.java: Table should be editing
Reviewed-by: shade
Backport-of: 8812113984
2022-01-28 14:11:07 +07:00
Lutz Schmidt
8725b04306 8271490: [ppc] [s390]: Crash in JavaThread::pd_get_top_frame_for_profiling
Reviewed-by: mdoerr
Backport-of: 276b07b36a
2022-01-28 14:10:58 +07:00
Martin Doerr
f6e3d8c0c7 8252049: Native memory leak in ciMethodData ctor
Reviewed-by: phh
Backport-of: 044616bd71
2022-01-28 14:10:49 +07:00
Martin Doerr
e4ad1b3cd9 8268672: C2: assert(!loop->is_member(u_loop)) failed: can be in outer loop or out of both loops only
Backport-of: d3ad8cd344
2022-01-28 14:10:40 +07:00
Martin Doerr
8705541eed 8268019: C2: assert(no_dead_loop) failed: dead loop detected
Reviewed-by: phh
Backport-of: 489e5fd12a
2022-01-28 14:10:31 +07:00
Martin Doerr
5360e07c3b 8263303: C2 compilation fails with assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: roland
Backport-of: d4377afb99
2022-01-28 14:10:23 +07:00
Vladimir Kempik
b63220b66e 8273671: Backport of 8260616 misses one JNF header inclusion removal
Reviewed-by: phh
2022-01-28 14:10:14 +07:00
Christoph Langer
09499606da 8213301: Fix legal headers in jdk logging tests
Backport-of: 059682d681
2022-01-28 14:10:05 +07:00
Christoph Langer
434ee5d058 8213328: Update test copyrights in test/java/util/zip and test/jdk/tools
Reviewed-by: mdoerr
Backport-of: 87f243d539
2022-01-28 14:09:57 +07:00
Christoph Langer
ddc14b66a2 8213306: Fix legal headers in test/java/nio
Reviewed-by: stuefe
Backport-of: 36ca4f5893
2022-01-28 14:09:48 +07:00
Christoph Langer
388409b96d 8213305: Fix legal headers in test/java/math
Reviewed-by: stuefe
Backport-of: e21d8fef64
2022-01-28 14:09:39 +07:00
Christoph Langer
f54c92a9c4 8213296: Fix legal headers in test/jdk/java/net
Backport-of: 84d6099da9
2022-01-28 14:09:35 +07:00
Martin Doerr
b5f5e36c0c 8211227: Inconsistent TLS protocol version in debug output
Reviewed-by: sgehwolf
Backport-of: a86728850e
2022-01-28 14:09:27 +07:00
Martin Doerr
f561c07056 8228442: DHKeyExchange/LegacyDHEKeyExchange.java failed due to "SSLException: An established connection was aborted by the software in your host machine"
Backport-of: 7e3bc4cb44
2022-01-28 14:09:16 +07:00
Aleksey Shipilev
41247d9a7a 8250863: Build error with GCC 10 in NetworkInterface.c and k_standard.c
Backport-of: e3c6574ac0
2022-01-28 14:09:08 +07:00
Bin Liao
f6ef63869d 8237354: Add option to jcmd to write a gzipped heap dump
Reviewed-by: rschmelter, clanger
Backport-of: 19be497143
2022-01-28 14:08:56 +07:00
Christoph Langer
70614cf2b3 8225083: Remove Google certificate that is expiring in December 2021
Backport-of: 1cbf41a87b
2022-01-28 14:08:47 +07:00
Christoph Langer
fe3aab39a3 8213263: fix legal headers in test/langtools
Reviewed-by: mdoerr
Backport-of: 73fa99ae86
2022-01-28 14:08:35 +07:00
Christoph Langer
5fdee45970 8210353: Move java/util/Arrays/TimSortStackSize2.java back to tier1
Backport-of: a0594bc138
2022-01-28 14:08:34 +07:00
Christoph Langer
bc76622a18 8195703: BasicJDWPConnectionTest.java: 'App exited unexpectedly with 2'
Reviewed-by: phh, amenkov
Backport-of: 24fb839864
2022-01-28 14:08:33 +07:00
Sergey Bylokhov
bc92dc2923 8272966: test/jdk/java/awt/Robot/FlushCurrentEvent.java fails by timeout
Reviewed-by: clanger
2022-01-28 14:07:42 +07:00
Severin Gehwolf
080868e3ae 8273547: [11u] [JVMCI] Partial module-info.java backport of JDK-8223332
Reviewed-by: clanger
2022-01-28 14:03:44 +07:00
Martin Doerr
311322284b 8247403: JShell: No custom input (e.g. from GUI) possible with JavaShellToolBuilder
Reviewed-by: clanger
Backport-of: 2c8e94f680
2022-01-28 14:03:28 +07:00
Martin Doerr
db5bdf1b75 8260690: JConsole User Guide Link from the Help menu is not accessible by keyboard
Backport-of: b5d32bbfc7
2022-01-28 14:03:26 +07:00
Martin Doerr
98d4ca8c3e 8256372: [macos] Unexpected symbol was displayed on JTextField with Monospaced font
Reviewed-by: clanger
Backport-of: 005d8a7fca
2022-01-28 14:03:24 +07:00
Christoph Langer
4fa5f8497f 8210395: Add doc to SecurityTools.java
Reviewed-by: phh
Backport-of: 5cf91fc60e
2022-01-28 14:03:22 +07:00
Christoph Langer
613ba3a228 8206085: Refactor langtools/tools/javac/versions/Versions.java
Reviewed-by: phh
Backport-of: 28e2dea71d
2022-01-28 14:03:21 +07:00
Clive Verghese
34779b1c99 8270317: Large Allocation in CipherSuite
Backport-of: e627caec84
2022-01-28 14:03:19 +07:00
Aleksey Shipilev
62cff8f12c 8248899: security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java fails, Certificate has been revoked
Reviewed-by: phh
Backport-of: d6bb846159
2022-01-28 14:03:17 +07:00
Bin Liao
13222583b5 8251570: JDK-8215624 causes assert(worker_id < _n_workers) failed: Invalid worker_id
Reviewed-by: rschmelter, clanger
Backport-of: 2631422bc5
2022-01-28 14:03:15 +07:00
Bin Liao
4fd7611118 8215624: Add parallel heap iteration for jmap –histo
8253763: ParallelObjectIterator should have virtual destructor

Chunk and parallelize the heap scan

Reviewed-by: clanger
Backport-of: 3498a10a2b
2022-01-28 14:03:14 +07:00
Christoph Langer
898f528afd 8269993: [Test]: java/net/httpclient/DigestEchoClientSSL.java contains redundant @run tags
Backport-of: 4e18ec26dd
2022-01-28 14:03:12 +07:00
Martin Doerr
9e3843c1b1 8269984: [macos] JTabbedPane title looks like disabled
Reviewed-by: goetz, serb
Backport-of: 8adf008b15
2022-01-28 14:03:11 +07:00
Matthias Baesken
c50be07564 8272316: Wrong Boot JDK help message in 11
Reviewed-by: stuefe
2022-01-28 14:03:09 +07:00
Martin Doerr
9ca4ae3ce5 8262731: [macOS] Exception from "Printable.print" is swallowed during "PrinterJob.print"
Backport-of: c0b4407d09
2022-01-28 14:03:07 +07:00
Sergey Nazarkin
18899d30cf 8261236: C2: ClhsdbJstackXcompStress test fails when StressGCM is enabled
Reviewed-by: phh
Backport-of: 752b6df34c
2022-01-28 14:03:06 +07:00
Vladimir Kempik
cf981e1d3e 8270216: [macOS] Update named used for Java run loop mode
Backport-of: 254600658a
2022-01-28 14:03:04 +07:00
Martin Doerr
3f99c49d82 8251377: [macos11] JTabbedPane selected tab text is barely legible
Reviewed-by: shade
Backport-of: 3f67afd3a8
2022-01-28 14:03:03 +07:00
Martin Doerr
904c7f0590 7179006: [macosx] Print-to-file doesn't work: printing to the default printer instead
Reviewed-by: clanger
Backport-of: ea7c47c1bb
2022-01-28 14:03:01 +07:00
Matthias Baesken
a8add32022 8263362: Avoid division by 0 in java/awt/font/TextJustifier.java justify
Backport-of: ea30bd6684
2022-01-28 14:03:00 +07:00
Goetz Lindenmaier
1981359793 8272902: Bump update version for OpenJDK: jdk-11.0.14
Reviewed-by: clanger
2022-01-28 14:02:59 +07:00
Nikita Gubarkov
20507505f8 JBR-2567 Fix max file path buffer size for fontpath.c 2022-01-28 03:57:25 +03:00
Nikita Provotorov
4b28211912 JBR-4207, IDEA-287559 IDEA incorrectly handles AltGr key modifier.
This commit includes only initial cosmetic changes.
2022-01-28 07:19:43 +07:00
Anton Tarasov
ee3c56abdc JBR-4204 provide an option to disable a11y support on macOS 2022-01-26 17:56:07 +03:00
Alexey Ushakov
7d87735e57 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
2022-01-25 15:22:54 +01:00
Maxim Kartashev
abe769be4b fixup! JBR-4118 NIO methods fail on Google Drive's virtual volume 2022-01-25 13:00:35 +03:00
Alexey Ushakov
d9366800c8 JBR-4177 libc++abi: terminating with uncaught exception of type NSException
Added check for AppContext
2022-01-20 23:49:55 +01:00
Anton Tarasov
530055579c JBR-4096 Table scrolling lag in newest JBR 2022-01-20 21:34:32 +03:00
Mikhail Grishchenko
e232a275a5 update the link to JBR for IDEA 2021.3 and 2022.1 2022-01-20 12:46:20 +07:00
Alexey Ushakov
a9f701e43d 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.
2022-01-19 17:44:14 +01:00
Maxim Kartashev
82693aa985 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.
2022-01-19 16:21:02 +03:00
Dmitry Batrak
c040e05703 JBR-4181 JB focus tests failed on macos-12 2022-01-17 16:53:14 +03:00
Alexey Ushakov
69922b5fc7 JBR-4164 IDEs cannot be launched via launch configuration
Moved execution of displayChanged() to EDT
2022-01-14 21:23:15 +01:00
Artem Semenov
1222b870f9 JBR-4167 [JCK] AccassibleJTree tests fail on Ubuntu 2022-01-14 20:38:47 +03:00
Vitaly Provodin
8f7295ecf4 update the link to JBR for IDEA 2021.3.2 Preview 2022-01-14 04:47:23 +07:00
Vitaly Provodin
0e3311fb0d exclude java/awt/Window/WindowTitleVisibleTest/WindowTitleVisibleTestLinuxGnome.java on Fedora & ArchLinux due to JBR-3572 2022-01-14 03:46:50 +07:00
Dmitry Batrak
63331307cc JBR-4171 Unexpected workspace switching when using Chinese input method in project view on macOS
backport JDK-8272806 fix from OpenJDK
2022-01-13 15:55:52 +03:00
Ivan Lopatin
60b03db8e1 JBR-4095: Fixed monitors bounds 2022-01-13 06:04:39 +07:00
Nikita Gubarkov
00c017e76c JBR API v1.0.1
Fixed NPE in JBRFileDialog
2022-01-11 01:59:48 +03:00
Alexey Ushakov
1f4335b593 JBR-3044 Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.sh fails on macOS BigSur (11.1 aarch64 and 11.2 x64)
Disable the test on mac (there is no way to enable LCD)
2022-01-02 11:56:45 +01:00
Vitaly Provodin
c990539381 exclude com/sun/jdi/PrivateTransportTest.java due to 8279326 on macosx-all (macOS 12.X)
make the list of jdi tests correct
2021-12-30 15:15:22 +07:00
Vitaly Provodin
2c5fe51987 exclude java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java due to 8266283 on ArchLinux 2021-12-30 15:15:22 +07:00
Alexey Ushakov
5f459e639f JBR-4150 IDE regularly locks up at sun.lwawt.macosx.LWCToolkit.getScreenInsets
Restored caching screen insets. Added handling of dock resize.
2021-12-29 17:13:09 +01:00
Artem Semenov
55cabbd75d JBR-3406 Hang/crash when navigating or stepping through code (AWT accessibility / Talon related) 2021-12-29 11:14:44 +03:00
Maxim Kartashev
6e51cdd0ca JBR-4147 Some nio tests failed due to Watch Service native implementation
1. jdk/nio/zipfs/Basic.java requires an explicit permission to open
   the nio library, which it now loads because of the call to
   FileSystems.getDefault().newWatchService().

2. Terminate the run loop explicitly with CFRunLoopStop()
   in case it's stuck in CFRunLoopRun() at the time of WatchService.close().

3. catch IOException when building the directory snapshot; but if
   the exception occurred for the watch root, report it as we may
   have nothing to watch anymore and the user has to know that.
2021-12-28 19:56:02 +03:00
Dmitry Batrak
9cc82c39d9 JBR-2907 [JCK] Font.equals(Font) returns false after serialization/deserialization 2021-12-25 00:17:55 +03:00
Vitaly Provodin
d8128299f9 exclude java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java on Wayland configs due to 8279256 2021-12-24 20:05:58 +07:00
Vitaly Provodin
394d9f1b3d exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java on Scale2 configs due to 8279190 2021-12-24 19:54:04 +07:00
Vitaly Provodin
7d4ba1005a add exclude list for Scale2 test runs 2021-12-24 19:53:28 +07:00
Vitaly Provodin
44068739c9 add exclude list for Wayland failures 2021-12-24 19:02:08 +07:00
Vitaly Provodin
09cf241458 exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029 2021-12-24 18:55:21 +07:00
Aleksandr Veselov
094719bd90 JBR-4141 Access Bridge: Wrong frame position and hit test result on HiDPI display 2021-12-23 19:13:29 +03:00
Maxim Kartashev
3d23e8d6a5 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.
2021-12-23 10:26:21 +03:00
Sergey Bylokhov
43f468fa6c JBR-4142 8275843: Random crashes while the UI code is executed
Reviewed-by: azvegint
(cherry picked from commit a9c1acbb8a)
2021-12-22 20:35:24 +03:00
Nikita Provotorov
371990083c Revert "JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut."
This reverts commit 96d504fe41 because it causes multiple regressions:
* IDEA-284269;
* IDEA-283905;
* IDEA-284020;
* IDEA-284195;
* IDEA-284346.
2021-12-22 06:35:36 +07:00
Dmitry Batrak
685562aafc JBR-4131 Popup doesn't get focus if created from context menu 2021-12-20 21:29:05 +03:00
Mikhail Grishchenko
713b3c1006 update the link to JBR for IDEA 2021.3 EAP 2021-12-16 21:36:42 +07:00
Nikita Gubarkov
492348be4f JBR API v1.0.0 2021-12-16 12:36:15 +03:00
Nikita Gubarkov
b83674a956 JBR API v0.0.1
Added constant extraction to JBR API

Added file dialog customization via JBR API & fixed bugs in windows common item dialog
2021-12-15 15:41:18 +03:00
Dmitry Batrak
09c2d5fd74 JBR-4117 HBShaper.c cleanup 2021-12-14 17:17:11 +03:00
Dmitry Batrak
d8d4c55a61 JBR-4113 java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java fails by time out on macOS 2021-12-14 16:30:11 +03:00
Dmitry Batrak
755a231799 JBR-741 Modal dialog stays above other process windows. 2021-12-13 13:02:21 +03:00
Dmitry Batrak
c785b3de0e JBR-4114 Rollback JBR-10 fix 2021-12-13 12:21:14 +03:00
Anton Tarasov
761239703b JBR-4107 A11y: macOS - wrong frame position if window is not on primary screen 2021-12-10 17:59:30 +03:00
Vitaly Provodin
c75d75b84d JBR-4081 enable java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java for regular runs 2021-12-10 07:07:07 +07:00
Anton Tarasov
59dde04f10 JBR-4081 VO: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java crashes JBR at # V [libjvm.dylib+0x51d192] LinkResolver::resolve_invokeinterface 2021-12-09 18:43:49 +03:00
Vitaly Provodin
730e5d9e01 JBR-3756 remove JNF from mac-aarch64 binaries 2021-12-07 15:19:02 +07:00
Dmitry Batrak
4fde082d53 JBR-4084 Default font '. AppleSystemUIFont' does not have bold weight on Chinese characters 2021-12-06 19:06:29 +03:00
Vitaly.Provodin
a953db1c0e JBR-4081 excludes java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java from VO regular runs on macOS 2021-12-05 05:40:36 +07:00
Dmitry Batrak
a155760e94 JBR-4072 Migrate font fallback implementation on macOS to cascade lists 2021-12-03 16:02:54 +03:00
Artem Semenov
51dc9aeb99 JBR-4012 On Idea Vo often speeks selected element of tables, lists, and trees 2021-12-01 20:37:28 +03:00
Martin Doerr
d69eac67d5 8270280: security/infra/java/security/cert/CertPathValidator/certification/LetsEncryptCA.java OCSP response error
Backport-of: f4b3ee5dca

(cherry picked from commit 777ec9b757)
2021-11-29 15:22:29 +07:00
Dmitry Batrak
2a398ebb24 JBR-4021 Unexpected focus event order on window showing 2021-11-24 09:22:26 +03:00
Nikita Gubarkov
9e959b0043 JBR-4017 Open com.jetbrains.bootstrap package only for reflection 2021-11-23 11:24:21 +03:00
Vitaly Provodin
653123737c update the link to JBR for IDEA 2021.2.4 2021-11-23 10:03:30 +07:00
Ivan Lopatin
3c34696d27 IDEA-229577: Marked i3wm as GravityBuggy 2021-11-22 21:16:03 +07:00
Maxim Kartashev
aa0b61cb75 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.
2021-11-19 09:27:49 +03:00
Dmitry Batrak
1002eff4f3 JBR-4007 [JCK] javax.swing.text.GlyphView.calcBreakSpots method breaks public API 2021-11-16 19:48:56 +03:00
Dmitry Batrak
f20a3d8679 JBR-4006 [JCK] javax.swing.text.html.CSS$Attribute.OVERFLOW_WRAP field breaks public API 2021-11-16 19:01:03 +03:00
Dmitry Batrak
961e036158 JBR-4005 [JCK] java.awt.Font.LAYOUT_NO_PAIRED_CHARS_AT_SCRIPT_SPLIT field breaks public API 2021-11-16 16:38:56 +03:00
Dmitry Batrak
cafb374afc JBR-3989 Broken focus state after a quick succession of activation/deactivation events on Windows 2021-11-15 15:47:11 +03:00
Vitaly Provodin
32def2fd42 JBR-3931 add the module jdk.unsupported.desktop into jbr 2021-11-12 05:37:10 +07:00
Alexey Ushakov
224f78ca62 JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader
2021-11-11 19:40:35 +01:00
Nikita Gubarkov
b775b37bd3 JBR-3982 Fixed non-antialiased text rendering on macOS 2021-11-11 01:11:19 +03:00
Artem Semenov
bd366e24b1 JBR-3868 Combobox list is not voiced of VoiceOver 2021-11-10 22:15:09 +03:00
Dmitry Batrak
25e087d269 JBR-3979 Focus is not transferred to parent window 2021-11-10 19:52:00 +03:00
Mikhail Grishchenko
23bf121a1e update the link to JBR for IDEA 2021.3 EAP 2021-11-10 14:08:16 +07:00
Vitaly Provodin
b224bef5a3 JBR-3973 provide macos-x64 build with Shenandoah GC 2021-11-09 15:02:57 +07:00
Nikita Gubarkov
d0600837ed JBR-3951 JBR-2917 Generate native pixel format constants from StrikeCache.java 2021-11-09 02:07:43 +03:00
Nikita Gubarkov
77be5ba45f JBR-3951 JBR-2917 Add constants for glyph pixel formats 2021-11-08 15:00:22 +03:00
Ivan Lopatin
4af628cefe JBR-2687: Fixed problems with maximizing to a new screen 2021-11-08 17:15:50 +07:00
Nikita Gubarkov
d7b9b249f3 JBR-2917 select glyph rendering loop depending on actual glyph format instead of antialiasing mode 2021-11-04 07:41:38 +03:00
Nikita Gubarkov
6b3172e632 JBR-2917 disable GDI rendering on Windows for colored fonts 2021-11-04 07:38:46 +03:00
Nikita Gubarkov
1833e198ef JBR-3951 Pass real glyph type from native code instead of guessing it by rowBytes & width 2021-11-03 17:11:31 +03:00
Vitaly Provodin
aeaf8a9ce5 exclude javax/swing/JComboBox/8032878/bug8032878.java failing on Windows because of JDK-8196092, JDK-8196439 2021-11-03 12:15:54 +07:00
Vitaly Provodin
bff0bbf317 exclude javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java failing because of JDK-8272105 2021-11-03 11:44:53 +07:00
Vitaly Provodin
b83787b6ee exclude java/awt/security/WarningWindowDisposeTest/WarningWindowDisposeTest.java failing because of JDK-8266059 on macosx 2021-11-03 11:35:42 +07:00
Vitaly Provodin
a9f8f8fc00 exclude tests failing because of JDK-8233568 on macosx 2021-11-03 11:29:55 +07:00
Vitaly Provodin
0a64776695 exclude java/awt/Frame/MiscUndecorated/RepaintTest.java failing on macosx-aarch64 because of JDK-8266244 2021-11-03 06:46:44 +07:00
Nikita Gubarkov
ddf5342684 JBR-2917 Added emoji support for Windows 2021-11-02 21:42:33 +03:00
Nikita Gubarkov
ff285c76f5 JBR-3915 Fix comment about subpixel glyph resolution in freetype implementation 2021-11-02 21:39:14 +03:00
Anton Tarasov
15d208c03f JBR-3946 JavaTableRowAccessibility accessibilityChildren leaks children array 2021-11-02 17:56:42 +03:00
Anton Tarasov
41c4c334d9 JBR-3936 increase ogl blit tile size to achieve better performance 2021-11-02 13:39:22 +03:00
Vitaly Provodin
5f1b8b5ab9 JBR-3937 Fix crashes in C1/C2 compilers
& JBR-3938 - fix race condition in anonymous class loading
2021-11-02 17:36:11 +07:00
Vitaly Provodin
80217db8d0 update the link to JBR for IDEA 2021.3 EAP 2021-11-02 08:57:42 +07:00
Ivan Lopatin
0e16e8140d JBR-3388: Fixed wrong graphic config in Component on primary display change 2021-11-01 19:22:16 +07:00
Pavel
c0e26ff5d5 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
2021-11-01 12:56:47 +03:00
Nikita Gubarkov
9255096a66 JBR-3915 Render glyph multiple times instead of downscaling when subpixel resolution is enabled to preserve hinting (Windows, Linux) 2021-10-29 02:15:09 +03:00
bobpengxie
9c9c6c3fb9 JBR-3929 JBR11 does not compile with Xcode 13.1
Partial backport of
8274293: Build failure on macOS with Xcode 13.0 as vfork is deprecated
2021-10-28 21:49:07 +02:00
Maxim Kartashev
b40cc1c791 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.
2021-10-28 19:27:46 +03:00
Vitaly Provodin
8b06568f22 Merge pull request #93
Update 11.0.13
2021-10-28 05:53:37 +07:00
Artem Bochkarev
0ed1c1c58f Revert "JBR-3575: initial support for new screen menu implementation"
This reverts commit 233bc5fa55.
2021-10-27 19:15:04 +07:00
Artem Bochkarev
53b91d9ee8 Revert "JBR-3575: don't install screen menu via _AppMenuBarHandler.java"
This reverts commit 3c912178f8.
2021-10-27 19:14:58 +07:00
Maxim Kartashev
0b53cd291f JBR-3623 SIGSEGV at [libawt_xawt] Java_sun_awt_X11GraphicsDevice_getConfigColormap
This fix addresses two possible causes of crashes:
1. makeDefaultConfig() returning NULL. The fix is to die gracefully
instead of crashing in an attempt to de-reference the NULL pointer.

2. A race condition when the number of screens change (this is only an
issue with the number of xinerama screens; the number of X11 screens is
static for the duration of the X session).

The race scenario: X11GraphisDevice.makeDefaultConfiguration() is called
on EDT so the call can race with X11GraphisDevice.invalidate() that
re-sets the screen number of the device; the latter is invoked on the
"AWT-XAWT" thread from X11GraphicsEnvironment.rebuildDevices(). So by
the time makeDefaultConfiguration() makes a native call with the
device's current screen number, the x11Screens array maintained by the
native code could have become shorter. And the native methods like
Java_sun_awt_X11GraphicsDevice_getConfigColormap() assume that the
screen number passed to them is always current and valid. The AWT lock
only protects against the changes during the native methods invocation,
but does not protect against them being called with an outdated screen
number.

The fix is to eliminate the race by protecting X11GraphisDevice.screen
with the AWT lock.
2021-10-27 10:52:27 +03:00
Nikita Gubarkov
324e8a273d JBR-3915 Render glyph multiple times instead of downscaling when subpixel resolution is enabled to preserve hinting (macOS) 2021-10-27 02:16:58 +03:00
Alexey Ushakov
52770703ef JBR-3918 JBR11 does not compile with 12.5.1
Corrected a11y code
2021-10-26 23:53:04 +02:00
Artem Bochkarev
5e0e4153dc JBR-3918 JBR11 does not compile with 12.5.1
Backported following fixes:
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)
2021-10-26 18:18:59 +02:00
Sergey Bylokhov
aee5acad59 JBR-3918 JBR11 does not compile with 12.5.1
Backported:
8266248: Compilation failure in PLATFORM_API_MacOSX_MidiUtils.c with Xcode 12.5

Reviewed-by: prr, azvegint
(cherry picked from commit dedddd5ab2)
2021-10-26 18:18:58 +02:00
Alexander Lobas
56c8c9ae5f JBR-3918 JBR11 does not compile with 12.5.1
Use @available check to avoid compiler warnings
2021-10-26 18:07:34 +02:00
Sergey Bylokhov
3f1b524181 JBR-3114 Deadlock in CGraphicsEnvironment.initDevices
Backport upstream fix:
8252133: The java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java fails if metal pipeline is active
2021-10-26 17:44:47 +02:00
Maxim Kartashev
dc6ad31524 JBR-3916 Deadlock in pGetBounds() on Linux
The deadlock occurred because one thread was holding the AWT lock and
waiting for boundsCacheLock in resetBoundsCache() and the other vice
versa stuck in pGetBounds() owning boundsCacheLock and waiting for the
AWT lock.

The solution is to get rid of boundsCacheLock altogether. It was
introduced in order to never return null from getBoundsCached() so that
resetBoundsCache() wouldn't interfere. But the same effect can be
achieved by simply using a local variable to hold a copy of the current
bounds. The worst case scenario now is that two threads update
boundsCached immediately one after another (if they both have observed
the null value there at about the same time), but that's harmless as
pGetBounds() grabs the AWT lock when necessary.
2021-10-26 18:29:44 +03:00
Dmitry Batrak
a943b850ef log one more focus-related call (for JBR-2696) 2021-10-25 21:03:28 +03:00
Vitaly Provodin
8ea8b95a5a JBR-3905 add incremental JBR building 2021-10-25 07:40:16 +07:00
Vitaly Provodin
8aed05eb0f include TCKDateTimeFormatterBuilder test into regular runs after fixing JBR-2842 2021-10-23 08:25:19 +07:00
Vitaly Provodin
08f2d873cb include a11y test into regular runs after fixing JBR-3730 & JBR-3733 2021-10-23 08:24:12 +07:00
Vitaly Provodin
e2bc78646b add javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java into Commit testing 2021-10-22 19:30:55 +07:00
Mikhail Grishchenko
9b18b6db07 JBR-410 add golden emoji for Linux x64 2021-10-22 13:46:09 +07:00
Christoph Langer
e148413b18 8233638: [TESTBUG] Swing test ScreenMenuBarInputTwice.java fails on macos
Backport-of: 823d1d222f
(cherry picked from commit b3926db99e)
2021-10-22 13:45:47 +07:00
Sergey Bylokhov
4f0e658af6 JBR-3693 Backport fix for 8272966 to jbr11
(cherry picked from commit 180bc526b0)
2021-10-22 13:45:45 +07:00
Maxim Kartashev
7cdc3d261d 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).
2021-10-21 15:43:44 +03:00
Vitaly Provodin
3cb1ff0420 update the link to JBR for IDEA 2021.3 EAP 2021-10-21 15:23:04 +07:00
Vitaly Provodin
ebb7e5b243 update the link to JBR for IDEA 2021.3 EAP 2021-10-21 11:34:03 +07:00
Vitaly Provodin
20e0bd6fe8 JBR-3887 fix M1 dcevm SIGBUS crash by using correct var arg processing 2021-10-21 05:13:47 +07:00
Martin Balao
bbe3fec093 8267086: ArrayIndexOutOfBoundsException in java.security.KeyFactory.generatePublic
Reviewed-by: mbaesken
Backport-of: 2e375ae9ed459527393f9dd13d15d1031ad6095f
2021-10-20 19:02:49 +03:00
Martin Balao
f9a56f61ef 8222751: closed/test/jdk/sun/security/util/DerIndefLenConverter/IndefBerPkcs12.java fail
Backport-of: cd020a13c9
2021-10-20 19:02:48 +03:00
Martin Balao
619bab5b02 8157404: Unable to read certain PKCS12 keystores from SequenceInputStream
Backport-of: e0f37c15e4
2021-10-20 19:02:48 +03:00
Clive Verghese
e072eaa78d 8268199: Correct certificate requests
Reviewed-by: yan
Backport-of: afeccc7639d3d09041b58cf0f5672eb7310b2cbd
2021-10-20 19:02:48 +03:00
Alexey Bakhtin
e7288787fe 8267712: Better LDAP reference processing
Reviewed-by: mbaesken, mbalao
Backport-of: 0d2a239cb4b7fdc88adb54eb66b36f5f5157418f
2021-10-20 19:02:47 +03:00
Martin Balao
542846c726 8266689: More Constrained Delegation
Backport-of: 723438b38868c373d1b8d7e6db576835be392932
2021-10-20 19:02:47 +03:00
Andrew Brygin
f36936e6ca 8267735: Better BMP support
Reviewed-by: mbalao
Backport-of: 67ddc7e7f3b178998ea59f68758a5fa510624e12
2021-10-20 19:02:47 +03:00
Aleksei Voitylov
bce4848e35 8270404: Better canonicalization
Reviewed-by: mbaesken
Backport-of: a0a8a41bb1da9261b2d3c4a43a6738fbf3286b5d
2021-10-20 19:02:46 +03:00
Aleksei Voitylov
b2f452cc12 8270398: Enhance canonicalization
Reviewed-by: mbaesken
Backport-of: 0a6c6a2c954d7889934d3caa4256124a1c5662a0
2021-10-20 19:02:46 +03:00
Yuri Nesterenko
40be42ee97 8266115: More Manifest Jar Loading
Reviewed-by: mbaesken, mbalao
Backport-of: 1834a749a1d51c82fb1a1c34770c7ab5b4ff9fce
2021-10-20 19:02:46 +03:00
Clive Verghese
f996257654 8269618: Better session identification
Reviewed-by: mbaesken
Backport-of: 116b77755f0a5d8c786a0c0ead4fc557ce359e6e
2021-10-20 19:02:46 +03:00
Martin Balao
530cffe1d2 8267729: Improve TLS client handshaking
Reviewed-by: mbaesken
Backport-of: 8e4cbf7fd373c5886be1980bed4fa9cd9045f893
2021-10-20 19:02:45 +03:00
Martin Balao
c06f606aec 8269624: Enhance method selection support
Reviewed-by: mbaesken, mdoerr
Backport-of: acd1fa5d8fabd424ec3b125b56e5ca482b25f2d9
2021-10-20 19:02:45 +03:00
Sergey Bylokhov
477f037983 8269763: The JEditorPane is blank after JDK-8265167
Reviewed-by: mbalao
Backport-of: 36aac3987938688c97c06f34fdc8688e0b24a4fa
2021-10-20 19:02:45 +03:00
Sergey Bylokhov
f2f987e0a9 8265167: Richer Text Editors
Reviewed-by: mbalao
Backport-of: c59311d94c3f010b9017825d767db8241c69a2a7
2021-10-20 19:02:44 +03:00
Martin Balao
f948178daa 8263314: Enhance XML Dsig modes
Reviewed-by: mbaesken
Backport-of: fe318432e184c2df95d802212b4eb510d3729459
2021-10-20 19:02:44 +03:00
Clive Verghese
04957e59cd 8268205: Enhance DTLS client handshake
Reviewed-by: yan, mbalao
Backport-of: 4a0c4038401e48d5111449ca35c0795d94f9ab83
2021-10-20 19:02:44 +03:00
Clive Verghese
5373b3b10a 8268193: Improve requests of certificates
Reviewed-by: yan, mbalao
Backport-of: ce8b2eac4f9643575a87617ae8091657e9458c22
2021-10-20 19:02:43 +03:00
Martin Balao
9ab7ec0539 8266103: Better specified spec values
Reviewed-by: mbaesken
Backport-of: 9bd20b57e1d79bd2bb386fb5df48e681fbbbd981
2021-10-20 19:02:43 +03:00
Yuri Nesterenko
ea43cdf94b 8266137: Improve Keystore integrity
Reviewed-by: mbaesken, mbalao
Backport-of: 06acda364f1483c15adca105d612a24f1d50112c
2021-10-20 19:02:43 +03:00
Yuri Nesterenko
9d09f2c707 8266097: Better hashing support
Reviewed-by: mbaesken, mbalao
Backport-of: 35c00175d8fba3fdae4f0bd31e3b416f52fb2283
2021-10-20 19:02:42 +03:00
Martin Balao
c881afa130 8265580: Enhanced style for RTF kit
Reviewed-by: mbaesken
Backport-of: dd4a17f711b0027ed6377ca57c43a7d68d4df566
2021-10-20 19:02:42 +03:00
Yuri Nesterenko
0fa7274198 8268506: More Manifest Digests
Reviewed-by: mbaesken
Backport-of: 306a51b13f5307b0de9d2f04daa983ccd8f92284
2021-10-20 19:02:42 +03:00
Yuri Nesterenko
8dad20e8e4 8266109: More Resilient Classloading
Reviewed-by: mbaesken, mbalao
Backport-of: 00c10ed10286a1989a339bc35cb64302630427ae
2021-10-20 19:02:41 +03:00
Aleksei Voitylov
c4ed5ccdab 8265776: Improve Stream handling for SSL
Reviewed-by: yan, mbalao
Backport-of: 345c6d3045e4e37e4f8dca30f5b1104c5eb403a9
2021-10-20 19:02:41 +03:00
Sergey Bylokhov
ab4f271c29 8265574: Improve handling of sheets
Reviewed-by: mbaesken
Backport-of: a20f56155d675fd606ed57fddb153aeb9dc270ae
2021-10-20 19:02:41 +03:00
Christoph Langer
720ef332b4 8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.

Reviewed-by: shade
Backport-of: 5ddbcb7a51
2021-10-20 19:02:40 +03:00
Christoph Langer
394b8f734b 8212718: Refactor some annotation processor tests to better use collections
Backport-of: 34397c4914
2021-10-20 19:02:40 +03:00
Christoph Langer
497bc51ca2 8212695: Add explicit timeout to several HTTP Client tests
Reviewed-by: shade
Backport-of: cea4eef60a
2021-10-20 19:02:40 +03:00
Christoph Langer
71600c7f3b 8211325: test/jdk/java/net/Socket/LingerTest.java fails with cleaning up
Reviewed-by: shade
Backport-of: 0cb267ad1c
2021-10-20 19:02:39 +03:00
Christoph Langer
974b37fa30 8169246: java/net/DatagramSocket/ReportSocketClosed.java fails intermittently with BindException
Backport-of: 33c9c89bf0
2021-10-20 19:02:39 +03:00
Christoph Langer
f9c0d0964e 8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
Backport-of: f367eb8965
2021-10-20 19:02:39 +03:00
Toshio Nakamura
e9aa5a8882 8263490: [macos] Crash occurs on JPasswordField with activated InputMethod
Reviewed-by: shade
Backport-of: 32c7fcc670
2021-10-20 19:02:38 +03:00
Severin Gehwolf
b748a5c6b8 8272124: Cgroup v1 initialization causes NullPointerException when cgroup path contains colon
Reviewed-by: shade
Backport-of: 4d6593ce02
2021-10-20 19:02:38 +03:00
Vladimir Kempik
34d195ba83 8269934: RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in java_lang_Thread::get_thread_status
Reviewed-by: shade
Backport-of: 7e518f42c9
2021-10-20 19:02:38 +03:00
Bin Liao
6a03e58e3d 8233790: Forward output from heap dumper to jcmd/jmap
Reviewed-by: phh
Backport-of: b2a9673829
2021-10-20 19:02:37 +03:00
Aleksey Shipilev
d3c843c4fd 8252857: AArch64: Shenandoah C1 CAS is not sequentially consistent
Reviewed-by: rkennke, clanger
Backport-of: 8e87d46f41
2021-10-20 19:02:37 +03:00
Severin Gehwolf
bba6998f38 8261846: [JVMCI] c2v_iterateFrames can get out of sync with the StackFrameStream
Backport-of: 97e1657ba2
2021-10-20 19:02:37 +03:00
Severin Gehwolf
c2b5c6e77a 8264016: [JVMCI] add some thread local fields for use by JVMCI
Reviewed-by: shade
Backport-of: 182b11c31a
2021-10-20 19:02:36 +03:00
Severin Gehwolf
509ee029a8 8263776: [JVMCI] add helper to perform Java upcalls
Co-authored-by: Tom Rodriguez <never@openjdk.org>
Reviewed-by: shade
Backport-of: 6b4c654186
2021-10-20 19:02:36 +03:00
Zhengyu Gu
ca54fa125c 8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Backport-of: 90cf7a7d12
2021-10-20 19:02:36 +03:00
Aleksey Shipilev
762a95f6a6 8219804: java/net/MulticastSocket/Promiscuous.java fails intermittently due to NumberFormatException
8226683: Remove review suggestion from fix to 8219804

Reviewed-by: clanger
Backport-of: eccfec498d
2021-10-20 19:02:35 +03:00
Aleksey Shipilev
8fb19cb3c9 8232782: Shenandoah: streamline post-LRB CAS barrier (aarch64)
Reviewed-by: phh, rkennke
Backport-of: c5bb023584
2021-10-20 19:02:35 +03:00
Zhengyu Gu
f8dd19075b 8249548: backward focus traversal gets stuck in button group
Backport-of: 22bb597d0d
2021-10-20 19:02:35 +03:00
Reka Kovacs
3f126ee438 8265756: AArch64: initialize memory allocated for locals according to Windows AArch64 stack page growth requirement in template interpreter
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Backport-of: f6e26f6f33
2021-10-20 19:02:34 +03:00
Reka Kovacs
84845b3d3c 8263136: C4530 was reported from VS 2019 at access bridge
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Backport-of: d339320e0b
2021-10-20 19:02:34 +03:00
Aleksey Shipilev
8b68a27d2f 8272772: Shenandoah: compiler/c2/aarch64/TestVolatilesShenandoah.java fails in 11u
Reviewed-by: rkennke, clanger
2021-10-20 19:02:34 +03:00
Aleksey Shipilev
980cfdf8d0 8272472: StackGuardPages test doesn't build with glibc 2.34
Backport-of: f77a1a156f
2021-10-20 19:02:33 +03:00
Aleksey Shipilev
1806d95f1b 8270096: Shenandoah: Optimize gc/shenandoah/TestRefprocSanity.java for interpreter mode
Backport-of: 4f322a9b6c
2021-10-20 19:02:33 +03:00
Aleksey Shipilev
cdf353ef5d 8252853: AArch64: gc/shenandoah/TestVerifyJCStress.java fails intermittently with C1
Reviewed-by: zgu, rkennke
Backport-of: 4fb1980fd0
2021-10-20 19:02:33 +03:00
Aleksey Shipilev
97788712ac 8269478: Shenandoah: gc/shenandoah/mxbeans tests should be more resilient
Backport-of: 23d2996fee
2021-10-20 19:02:32 +03:00
Aleksey Shipilev
b7f4d30774 8225790: Two NestedDialogs tests fail on Ubuntu
Backport-of: 21e67e5460
2021-10-20 19:02:32 +03:00
Aleksey Shipilev
d153de5846 8213007: Update the link in test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java
Backport-of: ae77ef7d7a
2021-10-20 19:02:32 +03:00
Severin Gehwolf
abc17b34f0 8251549: Update docs on building for Git
Reviewed-by: shade, clanger
Backport-of: 042734cc5b
2021-10-20 19:02:31 +03:00
Hui Shi
a608418642 8272131: PhaseMacroExpand::generate_slow_arraycopy crash when clone null CallProjections.fallthrough_ioproj
Reviewed-by: phh
2021-10-20 19:02:31 +03:00
Aleksey Shipilev
60182b6a17 8272628: Problemlist gc/stress/gcbasher/TestGCBasherWithCMS.java for x86_32
Reviewed-by: sgehwolf
2021-10-20 19:02:31 +03:00
Zhengyu Gu
b93ab61875 8226602: Test convenience reactive primitives from java.net.http with RS TCK
Backport-of: 3395bb591b
2021-10-20 19:02:30 +03:00
Zhengyu Gu
8caa003fd0 8226319: Add forgotten test/jdk/java/net/httpclient/BodySubscribersTest.java
Reviewed-by: shade
Backport-of: d577d9c678
2021-10-20 19:02:30 +03:00
Aleksey Shipilev
413967fee8 8272197: Update 11u GHA workflow with Shenandoah configurations
Reviewed-by: sgehwolf, clanger
2021-10-20 19:02:30 +03:00
Aleksey Shipilev
622540cedf 8225082: Remove IdenTrust certificate that is expiring in September 2021
Reviewed-by: phh
Backport-of: 2ec45dc2dd
2021-10-20 19:02:29 +03:00
Aleksey Shipilev
d933ff939e 8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, clanger
Backport-of: 2d6874b861
2021-10-20 19:02:29 +03:00
Aleksey Shipilev
1bad418274 8209768: Refactor java/util/prefs/CheckUserPrefsStorage.sh to plain java test
Backport-of: f095a9ee49
2021-10-20 19:02:29 +03:00
Aleksey Shipilev
c541c4229f 8213409: Refactor sun.text.IntHashtable:i18n shell tests to plain java tests
Backport-of: e048289d95
2021-10-20 19:02:28 +03:00
Aleksey Shipilev
354c0e9ed6 8248352: [TEST_BUG] Test test/jdk/java/awt/font/TextLayout/ArabicDiacriticTest.java can leave frame open
Backport-of: aa3862403b
2021-10-20 19:02:28 +03:00
Aleksey Shipilev
0c4473c805 8214520: [TEST_BUG] sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java failed with incorrect jtreg tags order
Backport-of: f47bd19cbc
2021-10-20 19:02:28 +03:00
Aleksey Shipilev
8c5e0dac5e 8262862: Harden tests sun/security/x509/URICertStore/ExtensionsWithLDAP.java and krb5/canonicalize/Test.java
Backport-of: e1cad97049
2021-10-20 19:02:27 +03:00
Christoph Langer
8e448e267a 8210802: temp files left by tests in jdk/java/net/httpclient
Reviewed-by: stuefe
Backport-of: 1adaa503bb
2021-10-20 19:02:27 +03:00
Christoph Langer
0f3394e585 8210819: Update the host name in CNameTest.java
Backport-of: c1bbf898e4
2021-10-20 19:02:27 +03:00
Christoph Langer
ec09658594 8209772: Refactor shell test java/util/ServiceLoader/basic/basic.sh to java
Backport-of: 07392d976a
2021-10-20 19:02:26 +03:00
Aleksey Shipilev
2c82f0bd08 8210908: Refactor java/util/prefs/PrefsSpi.sh to plain java test
Reviewed-by: phh
Backport-of: 6ce0aeb00b
2021-10-20 19:02:26 +03:00
Aleksey Shipilev
df7b71a8a3 8254850: Update terminology in java.awt.GridBagLayout source code comments
Backport-of: 9ed0b76403
2021-10-20 19:02:26 +03:00
Aleksey Shipilev
9f5a745718 8210406: Refactor java.util.PluggableLocale:i18n shell tests to plain java tests
Backport-of: 3c2c6bce02
2021-10-20 19:02:26 +03:00
Aleksey Shipilev
9dd68088a9 8210407: Refactor java.util.Calendar:i18n shell tests to plain java tests
Backport-of: 533bd0a604
2021-10-20 19:02:25 +03:00
Aleksey Shipilev
a9f0f858df 8268776: Test ADatagramSocket.java missing /othervm from @run tag
Backport-of: 7d7bdbe135
2021-10-20 19:02:25 +03:00
Aleksey Shipilev
317adfb01e 8242882: opening jar file with large manifest might throw NegativeArraySizeException
Reviewed-by: phh
Backport-of: 782d45bdec
2021-10-20 19:02:25 +03:00
Aleksey Shipilev
94e8da1502 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails intermittently when cleaning up
Reviewed-by: phh
Backport-of: 20f6faa030
2021-10-20 19:02:24 +03:00
Aleksey Shipilev
2deb6d77e3 8214937: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed due to unexpected expiration date
Backport-of: 017c702b8a
2021-10-20 19:02:24 +03:00
Aleksey Shipilev
2a22237cc6 8235216: typo in test filename
Renamed MutliReleaseModuleInfoTest.java to MultiReleaseModuleInfoTest.java

Backport-of: 5eef59d22d
2021-10-20 19:02:24 +03:00
Aleksey Shipilev
57c9a31852 8246261: TCKLocalTime.java failed due to "AssertionError: expected [18:14:22] but found [18:14:23]"
Backport-of: d347d2ebf9
2021-10-20 19:02:23 +03:00
Aleksey Shipilev
f33ec7e550 8213235: java/nio/channels/SocketChannel/AsyncCloseChannel.java fails with threads that didn't exit
8213576: Make test AsyncCloseChannel.java run in othervm

Reviewed-by: phh
Backport-of: a6f0e10fe8
2021-10-20 19:02:23 +03:00
Aleksey Shipilev
32aea3718a 8216532: tools/launcher/Test7029048.java fails (Solaris)
Backport-of: be44ced10a
2021-10-20 19:02:23 +03:00
Aleksey Shipilev
54010e6f77 8210934: Move sun/net/www/protocol/http/GetErrorStream.java to OpenJDK
Repalce internet website dependency with a built-in http server

Backport-of: 3edf95fc44
2021-10-20 19:02:22 +03:00
Aleksey Shipilev
0aadfe1b2a 8210669: Some launcher tests assume a pre-JDK 9 run-time image layout
Backport-of: 6bc30c6707
2021-10-20 19:02:21 +03:00
Aleksey Shipilev
243d2c8ff9 8258703: Incorrect 512-bit vector registers restore on x86_32
Backport-of: 216c2ec077
2021-10-20 19:02:21 +03:00
Aleksey Shipilev
2dd3859caa 8236413: AbstractConnectTimeout should tolerate both NoRouteToHostException and UnresolvedAddressException
Backport-of: fab6158c19
2021-10-20 19:02:21 +03:00
Aleksey Shipilev
ae8eef47e9 8251361: Potential race between Logger configuration and GCs in HttpURLConWithProxy test
Keep a static reference to the logger to prevent its inadvertent garbage collection while the test is running.

Backport-of: ed5696dd2c
2021-10-20 19:02:20 +03:00
Aleksey Shipilev
87aac49db1 8213694: Test Timeout.java should run in othervm mode
Backport-of: 1b20a6781f
2021-10-20 19:02:20 +03:00
Aleksey Shipilev
279c7fa0a6 8252194: Add automated test for fix done in JDK-8218469
Backport-of: 1ae6b533fb
2021-10-20 19:02:20 +03:00
Aleksey Shipilev
9e99f69534 8251252: Add automated testcase for fix done in JDK-8214253
Backport-of: b6c861f9f8
2021-10-20 19:02:19 +03:00
Aleksey Shipilev
4188b23289 8252825: Add automated test for fix done in JDK-8218479
Backport-of: 55c7e769c8
2021-10-20 19:02:19 +03:00
Aleksey Shipilev
b4d4e47bd1 8251254: Add automated test for fix done in JDK-8218472
Backport-of: 8bf5b1d18b
2021-10-20 19:02:19 +03:00
Aleksey Shipilev
5024eb818d 8251166: Add automated testcases for changes done in JDK-8214112
Backport-of: a0d6a8a174
2021-10-20 19:02:18 +03:00
Aleksey Shipilev
d0d680bafe 8214195: Align stdout messages in test/jdk/java/math/BigInteger/PrimitiveConversionTests.java
Backport-of: 389a110e56
2021-10-20 19:02:18 +03:00
Martin Balao
dedb47108a 8270137: Kerberos Credential Retrieval from Cache not Working in Cross-Realm Setup
Backport-of: 67869b491a
2021-10-20 19:02:18 +03:00
Aleksey Shipilev
a8a1b3c42d 8246387: switch to jtreg 5.1
8238943: switch to jtreg 5.0
8235866: bump jtreg requiredVersion to 4.2b16
8219552: bump jtreg requiredVersion to b14 in test/jdk/sanity/client/
8219417: bump jtreg requiredVersion to b14
8236111: narrow allowSmartActionArgs disabling

Reviewed-by: phh, clanger
Backport-of: e47b2bc8c3
2021-10-20 19:02:17 +03:00
Evgeny Astigeevich
d05d406220 8268427: Improve AlgorithmConstraints:checkAlgorithm performance
Backport-of: 3b83bc1bc3
2021-10-20 19:02:17 +03:00
Christoph Langer
cf80e75513 8272078: Wrong Checksums in Temurin BootJDK dependencies
Reviewed-by: shade
2021-10-20 19:02:17 +03:00
Bin Liao
2329af3533 8234510: Remove file seeking requirement for writing a heap dump
Reviewed-by: rschmelter, clanger
Backport-of: 11c073b97e
2021-10-20 19:02:16 +03:00
Christoph Langer
a84dba521d 8253424: Add support for running pre-submit testing using GitHub Actions
8253865: Pre-submit testing using GitHub Actions does not detect failures reliably
8254054: Pre-submit testing using GitHub Actions should not use the deprecated set-env command
8254173: Add Zero, Minimal hotspot targets to submit workflow
8254175: Build no-pch configuration in debug mode for submit checks
8254282: Add Linux x86_32 builds to submit workflow
8255373: Submit workflow artifact name is always "test-results_.zip"
8255895: Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch
8256127: Add cross-compiled foreign architectures builds to submit workflow
8256277: Github Action build on macOS should define OS and Xcode versions
8256354: Github Action build on Windows should define OS and MSVC versions
8256414: add optimized build to submit workflow
8256393: Github Actions build on Linux should define OS and GCC versions
8256747: GitHub Actions: decouple the hotspot build-only jobs from Linux x64 testing
8257056: Submit workflow should apt-get update to avoid package installation errors
8259679: GitHub actions should use MSVC 14.28
8259924: GitHub actions fail on Linux x86_32 with "Could not configure libc6:i386"
8260460: GitHub actions still fail on Linux x86_32 with "Could not configure libc6:i386"
8263667: Avoid running GitHub actions on branches named pr/*
8255305: Add Linux x86_32 tier1 to submit workflow
8255352: Archive important test outputs in submit workflow

Reviewed-by: sgehwolf, shade
2021-10-20 19:02:16 +03:00
Christoph Langer
5182d5add0 8249095: tools/javac/launcher/SourceLauncherTest.java fails on Windows
Backport-of: cd4faff0ec
2021-10-20 19:02:16 +03:00
Christoph Langer
86af8e5184 8209380: ARM: cleanup maybe-uninitialized and reorder compiler warnings
Backport-of: 1712e272cd
2021-10-20 19:02:15 +03:00
Christoph Langer
cf0a51ec1b 8238930: problem list compiler/c2/Test8004741.java
Backport-of: 93241e5db7
2021-10-20 19:02:15 +03:00
Christoph Langer
4b8d52834d 8254270: linux 32 bit build doesn't compile libjdwp/log_messages.c
Reviewed-by: stuefe
Backport-of: 0b7fba75c1
2021-10-20 19:02:15 +03:00
Severin Gehwolf
843e5bd3dc 8269851: OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers
Reviewed-by: clanger
Backport-of: 25f00d787c
2021-10-20 19:02:14 +03:00
Martin Doerr
86b92e91cf 8263432: javac may report an invalid package/class clash on case insensitive filesystems
Reviewed-by: clanger
Backport-of: 0a4c33826d
2021-10-20 19:02:14 +03:00
Zhengyu Gu
9edf5f7ab6 8270893: IndexOutOfBoundsException while reading large TIFF file
Backport-of: efcdcc7fb7
2021-10-20 19:02:14 +03:00
Aleksey Shipilev
1ef3bac766 8230808: Remove Access::equals()
Reviewed-by: phh
Backport-of: cb50d3b4f3
2021-10-20 19:02:13 +03:00
Aleksey Shipilev
4c64d5b46c 8168304: Make all of DependencyContext_test available in product mode
Enable the utility inspection function `DependencyContext::is_dependent_method` and therefore the test in the product mode.

Reviewed-by: phh
Backport-of: 66c8794c81
2021-10-20 19:02:13 +03:00
Martin Doerr
1df5df6158 8266761: AssertionError in sun.net.httpserver.ServerImpl.responseCompleted
Reviewed-by: phh
Backport-of: 2d2cd78bde
2021-10-20 19:02:13 +03:00
Martin Doerr
a57eb33d47 8257497: Update keytool to create AKID from the SKID of the issuing certificate as specified by RFC 5280
Reviewed-by: clanger
Backport-of: 05301f5fd2
2021-10-20 19:02:12 +03:00
Jiangli Zhou
9058c163f9 8230674: Heap dumps should exclude dormant CDS archived objects of unloaded classes
Reviewed-by: phh
Backport-of: e90970b67b
2021-10-20 19:02:12 +03:00
Zhengyu Gu
8bd8ab7a8c 8267625: AARCH64: typo in LIR_Assembler::emit_profile_type
Backport-of: 3d090e7ee5
2021-10-20 19:02:12 +03:00
Severin Gehwolf
6fb5337c38 8269668: [aarch64] java.library.path not including /usr/lib64
Reviewed-by: andrew
Backport-of: e14801cdd9
2021-10-20 19:02:11 +03:00
Zhengyu Gu
120313acde 8225583: Examine the HttpResponse.BodySubscribers for null handling and multiple subscriptions
Backport-of: af2a46b094
2021-10-20 19:02:11 +03:00
Martin Doerr
80bc31775f 8232243: Wrong caret position in JTextPane on Windows with a screen resolution > 100%
Backport-of: ddb1d7a163
2021-10-20 19:02:11 +03:00
Martin Doerr
fdde4e06e0 8268775: Password is being converted to String in AccessibleJPasswordField
Reviewed-by: zgu, kizune
Backport-of: 97e0e9e73d
2021-10-20 19:02:10 +03:00
Alexander Scherbatiy
59b6ebd4df 8262470: Printed GlyphVector outline with low DPI has bad quality on Windows
Reviewed-by: clanger
Backport-of: 0228734902
2021-10-20 19:02:10 +03:00
Christoph Langer
84def92ba4 8208363: test/jdk/java/lang/Package/PackageFromManifest.java missing module dependencies declaration
Backport-of: 73477220be
2021-10-20 19:02:10 +03:00
Christoph Langer
1be6c972f8 8209773: Refactor shell test javax/naming/module/basic.sh to java
Backport-of: 694380add3
2021-10-20 19:02:09 +03:00
Christoph Langer
6e6cccd956 8209930: Refactor java/util/zip/ZipFile/deletetempjar.sh to plain java test
Backport-of: 6c7a19d52f
2021-10-20 19:02:09 +03:00
Christoph Langer
7a96602662 8042902: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently
Backport-of: 334d64e9a0
2021-10-20 19:02:09 +03:00
Christoph Langer
94ee86f39b 8209832: Refactor jdk/internal/reflect/Reflection/GetCallerClassTest.sh to plain java test
Backport-of: dc356698b8
2021-10-20 19:02:09 +03:00
Christoph Langer
d0eef7a2ad 8194230: jdk/internal/jrtfs/remote/RemoteRuntimeImageTest.java fails with java.lang.NullPointerException
Backport-of: b5f939c5db
2021-10-20 19:02:08 +03:00
Christoph Langer
7e60f86127 8208227: tools/jdeps/DotFileTest.java fails on Win-X64
Backport-of: f0e9643542
2021-10-20 19:02:08 +03:00
Christoph Langer
743ee2c55f 8207316: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java failed
Backport-of: 069fa394d0
2021-10-20 19:02:08 +03:00
Aleksey Shipilev
32cc09871a 8252648: Shenandoah: name gang tasks consistently
Reviewed-by: zgu
Backport-of: a1176dc8c9
2021-10-20 19:02:07 +03:00
Aleksey Shipilev
8222e9545e 8256215: Shenandoah: re-organize saving/restoring machine state in assembler code
Reviewed-by: zgu
Backport-of: a97aedff9f
2021-10-20 19:02:07 +03:00
Martin Doerr
06e2ad227e 8255255: Update Apache Santuario (XML Signature) to version 2.2.1
Reviewed-by: clanger
Backport-of: cb742f9560
2021-10-20 19:02:07 +03:00
Aleksey Shipilev
019a534346 8267348: Rewrite gc/epsilon/TestClasses.java to use Metaspace with less classes
Reviewed-by: clanger
Backport-of: 7b98400c81
2021-10-20 19:02:06 +03:00
Vladimir Kempik
6a19b74c22 8253899: Make IsClassUnloadingEnabled signature match specification
Reviewed-by: mdoerr
Backport-of: c7f0064062
2021-10-20 19:02:06 +03:00
Zhengyu Gu
11dccc18de 8269661: JNI_GetStringCritical does not lock char array
8269650: Optimize gc-locker in [Get|Release]StringCritical for latin string

Reviewed-by: shade
Backport-of: 0f4e07b7d9
2021-10-20 19:02:06 +03:00
Christoph Langer
aeb1c883ce 8267666: Add option to jcmd GC.heap_dump to use existing file
Reviewed-by: rschmelter, goetz, stuefe
Backport-of: 7cbb67a3f8
2021-10-20 19:02:05 +03:00
Martin Doerr
041b0feaba 8259535: ECDSA SignatureValue do not always have the specified length
Reviewed-by: mbaesken
Backport-of: a4c249610e
2021-10-20 19:02:05 +03:00
Martin Doerr
64ec3f718a 8235211: serviceability/attach/RemovingUnixDomainSocketTest.java fails with AttachNotSupportedException: Unable to open socket file
8244973: serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"

Reviewed-by: mbaesken
Backport-of: 073e095e60
2021-10-20 19:02:05 +03:00
Alexey Bakhtin
0c1b656d4e 8268965: TCP Connection Reset when connecting simple socket to SSL server
Reviewed-by: mdoerr
Backport-of: 6f171b9f0d
2021-10-20 19:02:04 +03:00
Martin Doerr
9e5e54a2dc 8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134"
Backport-of: 20053ae242
2021-10-20 19:02:04 +03:00
Martin Doerr
b7324dbe33 8227815: Minimal VM: set_state is not a member of AttachListener
Reviewed-by: clanger
2021-10-20 19:02:04 +03:00
Martin Doerr
252899b636 8225690: Multiple AttachListener threads can be created
Reviewed-by: clanger
Backport-of: 2870c9d55e
2021-10-20 19:02:03 +03:00
Goetz Lindenmaier
8e3051745d 8245134: test/lib/jdk/test/lib/security/KeyStoreUtils.java should allow to specify aliases
Backport-of: 845799935b
2021-10-20 19:02:03 +03:00
Christoph Langer
dd6f4b7869 8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on Mac 10.13 with zh_CN and zh_TW locales.
Backport-of: 10fca535db
2021-10-20 19:02:03 +03:00
Christoph Langer
e3c75d2bf1 8206083: Make tools/javac/api/T6265137.java robust to JDK version changes
Reviewed-by: mdoerr
Backport-of: 69191fc4cc
2021-10-20 19:02:02 +03:00
Martin Doerr
9b99e90225 8240983: Incorrect copyright header in Apache Santuario 2.1.3 files
Backport-of: 9d502f648c
2021-10-20 19:02:02 +03:00
Martin Doerr
1801949b7c 8236671: NullPointerException in JKS keystore
Reviewed-by: clanger
Backport-of: 276a1bf767
2021-10-20 19:02:02 +03:00
Chris Cole
93251926fa 8267042: bug in monitor locking/unlocking on ARM32 C1 due to uninitialized BasicObjectLock::_displaced_header
Backport-of: 8f2456e5b0
2021-10-20 19:02:01 +03:00
Martin Doerr
6fd9be5aed 8254967: com.sun.net.HttpsServer spins on TLS session close
Backport-of: 953e472ded
2021-10-20 19:02:01 +03:00
Christoph Langer
541bb8af03 8263531: Remove unused buffer int
Backport-of: ca806ef319
2021-10-20 19:02:00 +03:00
Ichiroh Takiguchi
7464ba015d 8267459: Pasting Unicode characters into JShell does not work.
Reviewed-by: clanger
Backport-of: de6472c441
2021-10-20 19:02:00 +03:00
Roland Westrelin
8d2f8106b0 8269304: Regression ~5% in 2005 in b27
Backport-of: 8d09596f27
2021-10-20 19:02:00 +03:00
Zhengyu Gu
98d4612e67 8268620: InfiniteLoopException test may fail on x86 platforms
Backport-of: 0b09129fae
2021-10-20 19:01:59 +03:00
Severin Gehwolf
ee05348c36 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Backport-of: 6a9bc10873
2021-10-20 19:01:59 +03:00
Severin Gehwolf
9b72415faf 8270196: [11u] [JVMCI] JavaType.toJavaName() returns incorrect type name for lambdas
Reviewed-by: clanger
2021-10-20 19:01:59 +03:00
Aleksey Shipilev
5fa3f8532d 8249899: jdk/javadoc/tool/InlineTagsWithBraces.java uses @ignore w/o bug-id
8249897: jdk/javadoc/tool/LangVers.java uses @ignore w/o bug-id
8249898: jdk/javadoc/tool/6176978/T6176978.java uses @ignore w/o bug-id

Backport-of: 69d01b6bca
2021-10-20 19:01:59 +03:00
Aleksey Shipilev
d95c16fa82 8256267: Relax compiler/floatingpoint/NaNTest.java for x86_32 and lower -XX:+UseSSE
Backport-of: a14f02d8e5
2021-10-20 19:01:58 +03:00
Aleksey Shipilev
9b7927c125 8217825: Verify @AfterTest is used correctly in WebSocket tests
Remove @AfterTest tags; added in explicit closing of resources e.g. httpServer, webSocket, etc

Backport-of: 11d43732bc
2021-10-20 19:01:58 +03:00
Aleksey Shipilev
86d2196175 8249773: Upgrade ReceiveISA.java test to be resilient to failure due to stray packets and interference
This fix upgrades java/nio/channels/DatagramChannel/ReceiveISA.java so it can handle interference from stray packets.

Backport-of: d8355e0281
2021-10-20 19:01:58 +03:00
Aleksey Shipilev
7fc8b00202 8240555: Using env of JAVA_TOOL_OPTIONS and _JAVA_OPTIONS breaks QuietOption.java test
Backport-of: 2eaeb20697
2021-10-20 19:01:57 +03:00
Thomas Stuefe
0c9a13a511 8261238: NMT should not limit baselining by size threshold
Backport-of: 578a0b3c3d
2021-10-20 19:01:57 +03:00
Ilarion Nakonechnyy
9dbf7fabd0 8263407: SPARC64 detection fails on Athena (SPARC64-X)
Reviewed-by: mdoerr
2021-10-20 19:01:57 +03:00
Martin Doerr
4db777e3c4 8255452: Doing GC during JVMTI MethodExit event posting breaks return oop
Reviewed-by: rrich, mbaesken
Backport-of: 3a02578b33
2021-10-20 19:01:56 +03:00
Dmitry Chuyko
223973dd71 8218145: block_if_requested is not proper inlined due to size
Backport-of: f1fbd69478
2021-10-20 19:01:56 +03:00
Aleksey Shipilev
cd7068dbc2 8250588: Shenandoah: LRB needs to save/restore fp registers for runtime call
Reviewed-by: zgu
Backport-of: 3a8a15b5d0
2021-10-20 19:01:56 +03:00
Denghui Dong
0308e4ffa7 8260589: Crash in JfrTraceIdLoadBarrier::load(_jclass*)
Reviewed-by: clanger, mgronlun
Backport-of: a9d2267f8d
2021-10-20 19:01:55 +03:00
Aleksey Shipilev
4714a43b1e 8213922: fix ctw stand-alone build
Reviewed-by: roland
Backport-of: e53852dd51
2021-10-20 19:01:55 +03:00
Aleksey Shipilev
a28c351db1 8267396: Avoid recording "pc" in unhandled oops detector for better performance
Reviewed-by: phh
Backport-of: f67847f52a
2021-10-20 19:01:55 +03:00
Aleksey Shipilev
016383cbe3 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: phh
Backport-of: d35c1540e6
2021-10-20 19:01:54 +03:00
Aleksey Shipilev
c2fe7a3246 8255810: Zero: build fails without JVMTI
Reviewed-by: stuefe
Backport-of: ca216bae1a
2021-10-20 19:01:54 +03:00
Christoph Langer
f550ab8282 8259338: Add expiry exception for identrustdstx3 alias to VerifyCACerts.java test
Reviewed-by: shade
Backport-of: 54f5ffeaad
2021-10-20 19:01:54 +03:00
Aleksey Shipilev
8cd7309276 8255718: Zero: VM should know it runs in interpreter-only mode
Backport-of: f0eeca9080
2021-10-20 19:01:53 +03:00
Aleksey Shipilev
3d0fda5bd3 8260923: Add more tests for SSLSocket input/output shutdown
Backport-of: 9bb1863ed7
2021-10-20 19:01:53 +03:00
Aleksey Shipilev
b0e4113b5f 8253631: Remove unimplemented CompileBroker methods after JEP-165
Backport-of: dc1ef58351
2021-10-20 19:01:53 +03:00
Zhengyu Gu
829118ef77 8266404: Fatal error report generated with -XX:+CrashOnOutOfMemoryError should not contain suggestion to submit a bug report
Reviewed-by: clanger
Backport-of: cd1c17c0a6
2021-10-20 19:01:52 +03:00
Martin Doerr
2703469310 8269614: [s390] Interpreter checks wrong bit for slow path instance allocation
Backport-of: be0ac92e18
2021-10-20 19:01:52 +03:00
Christoph Langer
1414c3ef65 8262409: sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"
Reviewed-by: stuefe
Backport-of: 3aa7062c3d
2021-10-20 19:01:52 +03:00
Christoph Langer
cfb91cf777 8269529: javax/swing/reliability/HangDuringStaticInitialization.java fails in Windows debug build
Backport-of: d042029509
2021-10-20 19:01:51 +03:00
Alexey Bakhtin
66cba349f0 8163326: Update the default enabled cipher suites preference
Reviewed-by: clanger
Backport-of: d812742d68
2021-10-20 19:01:51 +03:00
Severin Gehwolf
5eee401997 8254024: Enhance native libs for AWT and Swing to work with GraalVM Native Image
Backport-of: 7977e381ea
2021-10-20 19:01:51 +03:00
Zhengyu Gu
9418a6bb90 8268699: Shenandoah: Add test for JDK-8268127
Backport-of: e59acd9860
2021-10-20 19:01:50 +03:00
Christoph Langer
5fe5826104 8269415: [11u] Remove ea from DEFAULT_PROMOTED_VERSION_PRE in OpenJDK 11u
Reviewed-by: sgehwolf
2021-10-20 19:01:50 +03:00
Pavel Varchenko
b2b899568d 8268771: javadoc -notimestamp option does not work on index.html
Reviewed-by: clanger
2021-10-20 19:01:50 +03:00
Alexey Bakhtin
4ad0db5e74 8140466: ChaCha20 and Poly1305 TLS Cipher Suites
Reviewed-by: mdoerr
Backport-of: 962e755c3a
2021-10-20 19:01:49 +03:00
Aleksey Shipilev
0ad6d36b24 8265335: Epsilon: Minor typo in EpsilonElasticTLABDecay description
Backport-of: 17b6592d8f
2021-10-20 19:01:49 +03:00
Alexander Scherbatiy
116058b8b4 8265761: Font with missed font family name is not properly printed on Windows
Backport-of: e9370a13b6
2021-10-20 19:01:49 +03:00
Aleksey Shipilev
c0cb8bd43e 8261496: Shenandoah: reconsider pacing updates memory ordering
Reviewed-by: rkennke, clanger
Backport-of: 4642730b05
2021-10-20 19:01:48 +03:00
Aleksey Shipilev
76e8b08d95 8266813: Shenandoah: Use shorter instruction sequence for checking if marking in progress
Reviewed-by: rkennke
Backport-of: 9c9c47e403
2021-10-20 19:01:48 +03:00
Aleksey Shipilev
6e80a5e387 8266018: Shenandoah: fix an incorrect assert
Reviewed-by: rkennke
Backport-of: 2dd56676fb
2021-10-20 19:01:48 +03:00
Aleksey Shipilev
818e833f10 8210959: JShell fails and exits when statement throws an exception whose message contains a '%'.
Reviewed-by: sgehwolf
Backport-of: dafc483475
2021-10-20 19:01:47 +03:00
Aleksey Shipilev
fc211f8525 8247421: [TESTBUG] ReturnBlobToWrongHeapTest.java failed allocating blob
Backport-of: bf300e8d8c
2021-10-20 19:01:47 +03:00
Hui Shi
42cad27fc3 8264752: SIGFPE crash with option FlightRecorderOptions:threadbuffersize=30M
8266206: Build failure after JDK-8264752 with older GCCs

Reviewed-by: clanger
Backport-of: 377b346189
2021-10-20 19:01:47 +03:00
Aleksey Shipilev
899df7ee84 8193214: Incorrect annotations.without.processors warnings with JDK 9
Backport-of: 19c364592c
2021-10-20 19:01:46 +03:00
Dmitry Chuyko
af094e6e6a 8231717: Improve performance of charset decoding when charset is always compactable
Backport-of: 0dbfc97c05
2021-10-20 19:01:46 +03:00
Alexander Scherbatiy
0b036e9cdc 8265773: incorrect jdeps message "jdk8internals" to describe a removed JDK internal API
Backport-of: b3b2bb2875
2021-10-20 19:01:46 +03:00
Severin Gehwolf
6332b20e25 8226533: JVMCI: findUniqueConcreteMethod should handle statically bindable methods directly
Backport-of: 9d6c7764b6
2021-10-20 19:01:45 +03:00
Severin Gehwolf
6388d1ad5a 8267751: (test) jtreg.SkippedException has no serial VersionUID
Backport-of: 0fc7c8d101
2021-10-20 19:01:45 +03:00
Zhengyu Gu
dc1d389f05 8263382: java/util/logging/ParentLoggersTest.java failed with "checkLoggers: getLoggerNames() returned unexpected loggers"
Backport-of: 08a5a5c6d6
2021-10-20 19:01:44 +03:00
Zhengyu Gu
0fa236f7a0 8233989: Create an IPv4 version of java/net/MulticastSocket/SetLoopbackMode.java
This fix adds an IPv4 version of test SetLoopbackMode.java that calls SetLoopbackMode in IPv4 only mode, and runs only if IPv4 is enabled.

Backport-of: 78accb5602
2021-10-20 19:01:44 +03:00
Paul Hohensee
a8e3d0fc46 8266248: Compilation failure in PLATFORM_API_MacOSX_MidiUtils.c with Xcode 12.5
Backport-of: dedddd5ab2
2021-10-20 19:01:44 +03:00
Severin Gehwolf
4b632d4ffe 8024368: private methods are allocated vtable indices
Stop allocating vtable slots for  private methods

Reviewed-by: adinn
Backport-of: 4904980886
2021-10-20 19:01:43 +03:00
Severin Gehwolf
844db0cd85 8241353: NPE in ToolProvider.getSystemJavaCompiler
Backport-of: 6b4b676550
2021-10-20 19:01:43 +03:00
Severin Gehwolf
87ea689c77 8181313: SA: Remove libthread_db dependency on Linux
Reviewed-by: clanger
Backport-of: ef3336ec27
2021-10-20 19:01:43 +03:00
Aleksey Shipilev
12d326afb6 8262000: jdk/jfr/event/gc/detailed/TestPromotionFailedEventWithParallelScavenge.java failed with "OutOfMemoryError: Java heap space"
Backport-of: d2c4ed08a2
2021-10-20 19:01:42 +03:00
Aleksey Shipilev
7156f480d0 8266288: assert root method not found in witnessed_reabstraction_in_supers is too strong
Backport-of: 49d04586ed
2021-10-20 19:01:42 +03:00
Zhengyu Gu
b80006b16e 8268127: Shenandoah: Heap size may be too small for region to align to large page size
Reviewed-by: rkennke, shade
Backport-of: 5ad4a91c3d
2021-10-20 19:01:42 +03:00
Severin Gehwolf
63858e87db 8268103: JNI functions incorrectly return a double after JDK-8265836
Backport-of: 2963c9e677
2021-10-20 19:01:41 +03:00
Severin Gehwolf
0e30bb4ccf 8265836: OperatingSystemImpl.getCpuLoad() returns incorrect CPU load inside a container
Backport-of: ef368b32bc
2021-10-20 19:01:41 +03:00
Dmitry Chuyko
7dc71f3425 8254244: Some code emitted by TemplateTable::branch is unused when running TieredCompilation
Reviewed-by: adinn
Backport-of: 9cecc16747
2021-10-20 19:01:41 +03:00
Dmitry Chuyko
b247e082d7 8253048: AArch64: When CallLeaf, no need to preserve callee-saved registers in caller
Reviewed-by: adinn
Backport-of: ba174af344
2021-10-20 19:01:40 +03:00
Zhengyu Gu
3d0c9d5b47 8262392: Update Mesa 3-D Headers to version 21.0.3
Backport-of: 138d573c35
2021-10-20 19:01:40 +03:00
Severin Gehwolf
03afcdf15d 8247469: getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
Backport-of: 3341d36131
2021-10-20 19:01:40 +03:00
Aditya Mandaleeka
12f8e812fd 8210495: compiler crashes because of illegal signature in otherwise legal code
Disable strict verification of compiler signatures when they do not affect generated bytecode

Reviewed-by: clanger
Backport-of: c0d51dc514
2021-10-20 19:01:39 +03:00
Denghui Dong
f15a892f5d 8266642: Improve ResolvedMethodTable hash function
Backport-of: 83b3607290
2021-10-20 19:01:39 +03:00
Vladimir Kempik
232aa679f7 8261652: Remove some dead comments from os_bsd_x86
Reviewed-by: phh
Backport-of: 28163a9e98
2021-10-20 19:01:39 +03:00
Zhengyu Gu
4cb15a6983 8265231: (fc) ReadDirect and WriteDirect tests fail after fix for JDK-8264821
Reviewed-by: phh
Backport-of: d1b28e7ad0
2021-10-20 19:01:38 +03:00
Goetz Lindenmaier
4ba47da3b9 8267695: Bump update version for OpenJDK: jdk-11.0.13
Reviewed-by: sgehwolf, erikj
2021-10-20 19:01:38 +03:00
Vladimir Kempik
a19b9a51bc 8273939: Backport of 8248414 to JDK11 breaks MacroAssembler::adrp
changes applied earlier under "ZULU-18387: zulu_macarm crashes in C1 when working with above 32-bit memory regions" (d2cadcef11)

Reviewed-by: mdoerr
2021-10-20 19:01:31 +03:00
Reka Kovacs
edbc628823 8248668: AArch64: Avoid MIN/MAX macros when using MSVC
MSVC employs min/max as macros
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Backport-of: 26680f0c1a
2021-10-20 19:01:31 +03:00
Reka Kovacs
0f99709138 8248666: AArch64: Use THREAD_LOCAL instead of __thread
__thread is gcc-ism, instead rely on compiler independent macro.
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: phh, clanger
Backport-of: 2f8653fbf0
2021-10-20 19:01:31 +03:00
Jie Fu
fbe0b6e795 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848
Fix overwritten by "JBR-3826 Backport 8273072 to JBR11" (edce3fed8b)

Backport-of: d007be0952
2021-10-20 19:01:31 +03:00
Reka Kovacs
745972c1aa 8248816: C1: Fix signature conflict in LIRGenerator::strength_reduce_multiply
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Backport-of: d3776c7d30
2021-10-20 19:01:31 +03:00
Reka Kovacs
150445f02b 8248657: Windows: strengthening in ThreadCritical regarding memory model
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Reviewed-by: phh
Backport-of: 6af643e5a1
2021-10-20 19:01:31 +03:00
Reka Kovacs
11d4ea0d2d 8248682: AArch64: Use ATTRIBUTE_ALIGNED helper
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Backport-of: 0417fcf13f
2021-10-20 19:01:31 +03:00
Reka Kovacs
ec55985836 8248671: AArch64: Remove unused variables
Remove unused variables in the AArch64 backend. Detected by compiling with MSVC, which warns about them.
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Backport-of: dff37f89c5
2021-10-20 19:01:31 +03:00
Vladimir Kempik
a315b13b7b 8272602: [macos] not all KEY_PRESSED events sent when control modifier is used
The patch applied earlier under "JBR-3799 Broken input of supplementary plane Unicode characters on macOS" (7d915be754)

Backport-of: ddcd851c43
2021-10-20 19:01:31 +03:00
Paul Hohensee
cfb73b6bfa 8248403: AArch64: Remove uses of kernel integer types
Changes are applied earlier under "8248238, JBR-2074 Windows AArch64 Support" (bebabd26c9)

Reviewed-by: stuefe
Backport-of: 6a91c73dda
2021-10-20 19:01:31 +03:00
Aleksey Shipilev
e116ccd2c3 8158066: SourceDebugExtensionTest fails to rename file
Backport-of: b979952d62
2021-10-20 19:01:31 +03:00
Christoph Langer
a150d49f71 8257913: Add more known library locations to simplify Linux cross-compilation
Reviewed-by: shade
Backport-of: 61cff4da90
2021-10-20 19:01:30 +03:00
Martin Doerr
e4f4544f92 8212040: Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
Backport-of: a7c90c5400
2021-10-20 19:01:30 +03:00
Christoph Langer
037804f4e6 8221988: add possibility to build with Visual Studio 2019
Reviewed-by: mdoerr
Backport-of: 2a00db0b2e
2021-10-20 19:01:30 +03:00
Christoph Langer
a034aab600 8220445: Support for side by side MSVC Toolset versions
Reviewed-by: stuefe
Backport-of: 9833d2a1cd
2021-10-20 19:01:29 +03:00
Martin Doerr
69c524ad35 8211055: Provide print to a file (PDF) feature even when printer was not connected
Reviewed-by: clanger
Backport-of: 9b0d241a16
2021-10-20 19:01:29 +03:00
Vladimir Kempik
8bd3b8fe7d 8257620: Do not use objc_msgSend_stret to get macOS version
Backport-of: d4c7db5060
2021-10-20 19:01:29 +03:00
Christoph Langer
14ef4bbb6f 8270556: Exclude security/infra/java/security/cert/CertPathValidator/certification/LetsEncryptCA
Reverted part of 8233569: [TESTBUG] JTextComponent test bug6361367.java fails on macos (6036eb3c81)
not intended in 11u
Backport-of: 1350e2bd22
2021-10-20 19:01:28 +03:00
Zhengyu Gu
2ae44a8874 8269882: stack-use-after-scope in NewObjectA
Applied earlier under JBR-3520 Correct stack-use-after-scope in jni_NewObjectA (01ea54d751)
Backport-of: 20eba35515
2021-10-20 19:01:28 +03:00
Alan Hayward
5685dd0da3 8266749: AArch64: Backtracing broken on PAC enabled systems
Reviewed-by: phh
Backport-of: ae986bc8df
2021-10-20 19:01:28 +03:00
Ilarion Nakonechnyy
60ef15b303 8268617: [11u REDO] - WebSocket over authenticating proxy fails with NPE
Reviewed-by: clanger
2021-10-20 19:01:27 +03:00
Severin Gehwolf
f9c016a47e 8223050: JVMCI: findUniqueConcreteMethod() should not use Dependencies::find_unique_concrete_method() for non-virtual methods
Reviewed-by: adinn
Backport-of: c18ffd6a79
2021-10-20 19:01:27 +03:00
Vladimir Kempik
af4d6460f6 8257148: Remove obsolete code in AWTView.m
Applied earlier as ZULU-17256: Remove obsolete code in AWTView.m (20750eaf89)
Backport-of: c2af27beb0
2021-10-20 19:01:27 +03:00
Artem Semenov
dfd2da1f2c JBR-3886 Replace work around from JBR-3865 with another solution 2021-10-19 17:56:26 +03:00
Artem Bochkarev
3c912178f8 JBR-3575: don't install screen menu via _AppMenuBarHandler.java
fixed DefaultMenuBarDispose.java
2021-10-19 20:38:06 +07:00
Vitaly Provodin
32461c1f59 update the link to JBR for IDEA 2021.3 EAP 2021-10-19 15:48:36 +07:00
Nikita Provotorov
0f773dae2b JBR-2074 Windows 10 AArch64 support: exclude JOGL and GlueGen from JBR+JCEF builds for Windows AArch64.
JCEF does not provide AArch64 builds of JOGL and GlueGen yet.
2021-10-19 03:08:41 +07:00
Anton Tarasov
f708a37c51 JBR-3890 NPE - a regression of JBR-3765 2021-10-18 17:41:12 +03:00
Christoph Langer
2e6272f82e 8241768: git needs .gitattributes
Backport-of: 49a9d49dbd
2021-10-18 03:54:23 +07:00
Artem Bochkarev
233bc5fa55 JBR-3575: initial support for new screen menu implementation
force disable with VM property: disableJbScreenMenuBar
2021-10-17 21:58:19 +07:00
Alexey Ushakov
8f15dd7da8 restore building script 2021-10-16 03:30:39 +07:00
Anton Tarasov
95c32fa656 JBR-3765 [mac] a11y hangs on extremely long tables 2021-10-15 10:10:43 +03:00
Anton Tarasov
afdf58eac0 JBR-3851 [JavaTableRowAccessibility accessibilityChildren] method is ineffective 2021-10-15 10:02:39 +03:00
Anton Tarasov
7c3e5cfad7 JBR-3866 should not cache cells in JavaTableRowAccessibility 2021-10-15 09:47:10 +03:00
Anton Tarasov
aaac75abd1 JBR-3852 crash: +[JavaComponentAccessibility getCAccessible:withEnv:] + 849 (JavaComponentAccessibility.m:269) 2021-10-14 18:48:15 +03:00
Matthias Baesken
51a590b2e8 JBR-3874 8274840: Update OS detection code to recognize Windows 11
Co-authored-by: Arno Zeller <arno.zeller@sap.com>
Reviewed-by: clanger, dholmes
2021-10-14 15:45:32 +07:00
Vitaly Provodin
01304991d3 add JBR-3167 for java/awt/Frame/HugeFrame/HugeFrame.java into exclude list 2021-10-14 04:27:19 +07:00
Artem Semenov
bae88502a4 JBR-3869 revise JavaColumnAccessibility usage 2021-10-13 13:29:00 +03:00
Artem Semenov
db72dc5554 JBR-3865 workaround. SIGILL at [libsystem_kernel] __kill in -[JavaNavigableTextAccessibility clearCache] 2021-10-12 16:46:00 +03:00
Maxim Kartashev
fb12f6d7f1 JBR-3871 Disable remote.x11.workaround by default
-Dremote.x11.workaround=true can still be used to enabled it, but
there's no automatic on switch anymore.
2021-10-12 00:55:35 -07:00
Vitaly Provodin
1bf8742a09 JBR-3867 fix msvc compilation issue with non const array on stack 2021-10-12 04:23:59 +07:00
Vitaly Provodin
8f380f3581 JBR-3867 fix msvc compilation issue with non const array on stack 2021-10-12 04:21:23 +07:00
Artem Semenov
186837353f JBR-3775 Optimize the algorithm for obtaining tree elements 2021-10-11 14:11:36 +03:00
Vitaly Provodin
dbfee48e45 JBR-3867 update keys of jvmti TAG map after redefinition 2021-10-11 11:42:49 +07:00
Nikita Gubarkov
a7486ed785 Fixed JBR API JTreg tests 2021-10-09 19:24:37 +03:00
Patrick Zhang
02065e9055 JBR-3853: 8255716: AArch64: Regression: JVM crashes if manually offline a core
Reviewed-by: aph, adinn, akozlov
(cherry picked from commit 36998b006d)
2021-10-08 04:32:21 +07:00
Vitaly Provodin
389f689648 fix a misprint in the link to 1692.9 release 2021-10-07 07:35:42 +07:00
Alexey Ushakov
e97f728e93 JBR-3828 restore details for Java exceptions in crash dumps handled by ObjC
Added java stack of the exception to jbr_err_* log
2021-10-06 20:41:11 +02:00
Nikita Provotorov
0c90061351 fixup! JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Workaround for the regression test when it misses a focus for the awt.Component.
2021-10-06 15:54:58 +07:00
Alexey Ushakov
478bd6cdd7 JBR-3828 restore details for Java exceptions in crash dumps handled by ObjC
Added exception.toString() to jbr_err_* log
2021-10-05 21:33:57 +02:00
Artem Bochkarev
85150e0a42 JBR-3715: cherry-pick of origin fix.
implemented correct r18 usage
fixed JBR-3715
patch from V.Kempik

(cherry picked from commit a08c2a715b)
2021-10-05 09:28:10 +07:00
Reka Kovacs
0e0562655c 8261072: AArch64: Fix MacroAssembler::get_thread convention
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Backport-of: b670efd896
2021-10-05 09:28:10 +07:00
Nikita Provotorov
262751e67f JBR-2074 Windows 10 AArch64 support: add build and pack scripts.
JBR-2074 Windows 10 AArch64 support: fix of build script by excluding jdk.aot from jlink assembling.
2021-10-05 09:28:10 +07:00
Nikita Provotorov
085ca0056f JBR-2074 Windows 10 AArch64 support: macOS/AArch64 debug build fix. 2021-10-05 09:28:09 +07:00
Nikita Provotorov
b13eefd897 JBR-2074 Windows 10 AArch64 support: minor Windows build scripts improvements. 2021-10-05 09:28:09 +07:00
Nikita Provotorov
4732011a65 JBR-2074 Windows 10 AArch64 support: backport the workaround for MSCV ARM64 bug about bad code generation around signed char arithmetic.
https://developercommunity.visualstudio.com/t/arm64-bad-code-generation-around-signed-char-arith/1079221.
2021-10-05 09:28:09 +07:00
Nikita Provotorov
ff21958a2e JBR-2074 Windows 10 AArch64 support: Windows/AArch64 build fix.
* Build fix of fixpath.exe;
* Fix of setting up the build tools;
* Workaround for using old MSVC and Windows SDK.
2021-10-05 09:28:09 +07:00
Nikita Provotorov
95ac9349f6 JBR-2074 Windows 10 AArch64 support: macOS/AArch64 build fix.
* Backport of missed icache_bsd_aarch64.hpp from JBR17;
* Enabling jvmci on macosx-aarch64;
* Other minor build fixes.
2021-10-05 09:28:09 +07:00
bell-sw
bebabd26c9 8248238, JBR-2074 Windows AArch64 Support. 2021-10-05 09:27:53 +07:00
Nikita Provotorov
86a60e7d96 JBR-2074 Windows 10 AArch64 support: revert "JBR-3715: revert "ZULU-17387: Port X18 exclusion patch from win_aarch64 jep"".
This reverts commit ba7eef6063.
2021-10-05 09:26:03 +07:00
Nikita Provotorov
55955484e0 JBR-2074 Windows 10 AArch64 support: revert "JBR-3715: partial cherry-pick of PR "Windows AArch64 Support"".
This reverts commit a08c2a715b.
2021-10-05 09:26:03 +07:00
Nikita Gubarkov
d76b22195f Added JBR API 2021-10-05 04:41:53 +03:00
Maxim Kartashev
913a4b4065 JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, make 3
attempts at getting the insets with a small but increasing pause
in between them.

(cherry picked from commit 289f756f70)
2021-10-04 12:20:58 -07:00
Alexey Ushakov
639042419f JBR-3846 VS2019 build failure
Reordered includes according to OpenJDK trunk
2021-10-04 18:33:54 +02:00
Nikita Provotorov
8df43eef4b JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Add regression test.
2021-10-03 13:10:14 +07:00
Nikita Provotorov
96d504fe41 JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Revert "Reverted fix of JDK-8041928: MouseEvent.getModifiersEx gives wrong result because it breaks AltGr shortcuts".

This reverts commit 56b69b2813.
2021-10-03 12:32:13 +07:00
Vitaly Provodin
7b34effc17 a11y: exclude tests crashing JBR in the runs with enabled Voice Over 2021-10-01 13:36:46 +07:00
Ivan Lopatin
050f3da4a0 JBR-3832: Revert "JBR-2687: Fixed problems with maximizing to a new screen" 2021-09-30 22:35:32 +07:00
Artem Semenov
78ff91782f JBR-3776 TableAccessibility and TableRowAccessibility miss autorelease 2021-09-30 18:30:24 +03:00
Artem Semenov
5170990d7b JBR-3825 Fixed memory leaks in -[JavaComboboxAccessibility accessibilityValue] 2021-09-29 14:28:03 +03:00
Ivan Lopatin
65344c8a07 JBR-2687: Fixed problems with maximizing to a new screen 2021-09-29 18:04:43 +07:00
Maxim Kartashev
edce3fed8b JBR-3826 Backport 8273072 to JBR11
AKA 8273072: Avoid using += in configure

(based on commit a033aa5a3d)
2021-09-29 12:13:21 +03:00
Vitaly Provodin
68539876fe update the link to JBR for IDEA 2021.2 RC and IDEA 2021.3 EAP 2021-09-29 11:26:20 +07:00
Vitaly Provodin
d9f253340a remove test from exclude list due to the fix for 8233569 2021-09-29 05:53:19 +07:00
Prasanta Sadhukhan
6036eb3c81 8233569: [TESTBUG] JTextComponent test bug6361367.java fails on macos
Reviewed-by: serb

(cherry-picked from commit 518ff518e1)
2021-09-29 05:51:19 +07:00
Prasanta Sadhukhan
f90fcaa4a7 JBR-3816 Cherry-pick fixes for several AWT tests
8253980: javax/swing/plaf/synth/7158712/bug7158712.java fails on windows

Reviewed-by: kizune, prr
(cherry picked from commit bdd5782a67)
2021-09-27 08:57:40 -07:00
Prasanta Sadhukhan
0646886007 JBR-3816 Cherry-pick fixes for several AWT tests
8028707: javax/swing/JComboBox/6236162/bug6236162.java fails on azure

Reviewed-by: serb, pbansal
(cherry picked from commit ce1aac1e13)
2021-09-27 08:57:40 -07:00
Maxim Kartashev
dcaade97a5 JBR-3816 Cherry-pick fixes for several AWT tests
Create a larger combo box so that it definitely fills the entire
vertical space of the screen.
(based on commits 1c84cfa236
and 83b05373a1).
2021-09-27 08:57:40 -07:00
Maxim Kartashev
cd5314db8b JBR-3813 Regression after fix for JBR-3688
1. Cached bounds and insets must be cloned before return because they
aren't immutable objects.
2. Fixed the deadlock in resetBoundsCache() by synchronizing on a dedicated
lock.
2021-09-27 08:57:40 -07:00
Artem Semenov
d2a8adb14f JBR-3808 SIGSEGV at [libjvm] -[_JavaComponentAccessibility accessibilityHitTest:] 2021-09-27 17:00:09 +03:00
Maxim Kartashev
152a4e886d 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(),
- added a test for walking a directory with a non-latin name.
2021-09-24 14:16:22 +03:00
Brian Burkhalter
ef6db5cad0 8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed
Reviewed-by: alanb

(AKA JBR-3680 Cherry-pick Google's NIO patches to get faster file listing)
2021-09-24 10:38:30 +03:00
Renaud Paquay
6d1c3f06c4 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)
2021-09-24 10:38:19 +03:00
Renaud Paquay
7c2d7541ba 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)
2021-09-24 10:37:53 +03:00
Roger Riggs
4d01bcc46e 8269850: Most JDK releases report macOS version 12 as 10.16 instead of 12.0
Reviewed-by: naoto, clanger
(cherry picked from commit 3b1b8fc646)
(AKA JBR-3804 Cherry-pick 8269850 from OpenJDK11)
2021-09-24 09:12:04 +03:00
Dmitry Batrak
7d915be754 JBR-3799 Broken input of supplementary plane Unicode characters on macOS
apply upstream fix (JDK-8272602)
2021-09-22 15:10:09 +03:00
Dmitry Batrak
f2bcb756f8 JBR-3799 Broken input of supplementary plane Unicode characters on macOS
revert initial fix, to be replaced with upstream one
2021-09-22 15:10:09 +03:00
Anton Tarasov
a38b7a22fe JBR-3722 macOS: SIGSEGV at [libjvm] _ZN14AccessInternal19PostRuntimeDispatchIN12G1BarrierSet13AccessBarrierILy1097844ES1_EELNS_11BarrierTypeE2ELy1097844EE18oop_access_barrierEPv 2021-09-22 13:22:23 +03:00
Dmitry Batrak
8e58801c9a JBR-3799 Broken input of supplementary plane Unicode characters on macOS
free memory in 'finally' clause, just in case
2021-09-22 13:13:29 +03:00
Dmitry Batrak
7864d59d6f JBR-3799 Broken input of supplementary plane Unicode characters on macOS 2021-09-22 13:08:53 +03:00
Artem Semenov
aad640dcc9 JBR-3792 JavaAccessibilityUtilities leaks JNI objects 2021-09-22 10:23:56 +03:00
Dmitry Batrak
37901295e1 improve the stability of TypeaheadRequestFocusTest
it failed sometimes under MATE desktop environment on Linux
2021-09-21 13:01:07 +03:00
Dmitry Batrak
ad1595b5c2 make NestedDialogHideTest more reliable
currently, if fails on KDE, if multiple workspaces are configured, because mouse cursor happens to be located over 'pin' button in window title bar,
and that hover causes a tooltip to be shown, which blocks mouse clicks
2021-09-20 18:09:38 +03:00
Dmitry Batrak
f5c5388fb5 JBR-3786 javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on MacOS by timeout 2021-09-20 17:13:28 +03:00
Dmitry Batrak
0bf13985d5 JBR-3779 Unexpected Alt+Tab behaviour for Java frames on Cinnamon DE 2021-09-20 12:03:39 +03:00
Ivan Migalev
2f772fd1a2 JBR-3785: don't touch the active keyboard layout on input method activation / deactivation.
origin PR: github.com/JetBrains/JetBrainsRuntime/pull/78.
2021-09-20 14:52:49 +07:00
Maxim Kartashev
accef6f21e JBR-3688 PyCharm incredibly slow with fakexrandr
Cache screen bounds and insets and (conservatively) reset those caches
upon any possibility of a change.
This feature can be disabled with -Dx11.cache.screen.insets=false and
-Dx11.cache.screen.bounds=false.
2021-09-20 10:07:27 +03:00
Maxim Kartashev
5aa26c75b2 JBR-3772 java/beans/PropertyEditor/TestFontClass.java: access denied ("java.util.PropertyPermission" "sun.awt.x11.trace" "read")
Instead of using System.getProperty() directly, wrap the call into
GetPropertyAction and use AccessController to execute it.

(cherry picked from commit 3092ca0461)
2021-09-16 09:27:16 +03:00
Dmitry Batrak
f0ed32fca4 JBR-3726 Modal windows 'disappear' on minimize in KDE
revert changes not needed anymore
2021-09-14 18:21:37 +03:00
Dmitry Batrak
5c4fd9ceaf JBR-3726 Modal windows 'disappear' on minimize in KDE
re-implement the fix without using _NET_WM_STATE_MODAL - it causes other issues
2021-09-14 17:20:53 +03:00
Vitaly Provodin
16267bd573 add the link to JBR build targeted for 213 EAP 2021-09-14 15:19:31 +07:00
Artem Semenov
9ceee497ef JBR-3761 : Native call to non-existent getAccessibleSelection method dl - [JavaComboboxAccessibility accessibilityValue] 2021-09-10 13:30:00 +03:00
Dmitry Batrak
a69e12e0d2 JBR-3504 a11y focus is set on the wrong element when opening popups 2021-09-09 10:22:30 +03:00
Alexander Lobas
f5434bcaaf JBR-3660 PhpStorm 2021.2 crashes on selecting iCloud Drive directory in Open dialog 2021-09-08 19:43:31 +02:00
Alexander Lobas
86c13ecaed JBR-3629 SIGILL at [libsystem_kernel] __kill NPE at com.intellij.openapi.options.SchemeImportUtil$1.isFileSelectable / -[CFileDialog askFilenameFilter:] 2021-09-08 19:43:31 +02:00
Dmitry Batrak
9c2841028f JBR-3726 Modal windows 'disappear' on minimize in KDE
restrict change to KDE only, as it causes problems on GNOME (JBR-3750)
2021-09-08 11:29:44 +03:00
Zhengyu Gu
ed0b7f5488 8268261: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: kvn, phh
Backport-of: 4ed548b3ee
2021-09-07 17:45:42 +03:00
Martin Doerr
92806ce28a 8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV
Reviewed-by: roland
Backport-of: 040c02b942
2021-09-07 17:45:42 +03:00
Martin Doerr
2659b26438 8261147: C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions
Reviewed-by: roland
Backport-of: f791fdf23e
2021-09-07 17:45:42 +03:00
Martin Doerr
33f1a7fdc4 8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
Reviewed-by: roland
Backport-of: 2db9005c07
2021-09-07 17:45:42 +03:00
Martin Doerr
bb6533b600 8268362: [REDO] C2 crash when compile negative Arrays.copyOf length after loop
Backport-of: 22ebd1926d
2021-09-07 17:45:41 +03:00
Roland Westrelin
5c641fe1d8 8268347: C2: nested locks optimization may create unbalanced monitor enter/exit code
Reviewed-by: mdoerr
Backport-of: 4d8b5c70df
2021-09-07 17:45:41 +03:00
Martin Doerr
74b94472d3 8265132: C2 compilation fails with assert "missing precedence edge"
Reviewed-by: roland
Backport-of: 5644c4f942
2021-09-07 17:45:41 +03:00
Martin Doerr
f485cdb549 8267399: C2: java/text/Normalizer/ConformanceTest.java test failed with assertion
Backport-of: 578c55bbe6
2021-09-07 17:45:41 +03:00
Martin Doerr
dd98aecb75 8268360: Missing check for infinite loop during node placement 8268417: Add test from JDK-8268360
Reviewed-by: roland
2021-09-07 17:45:41 +03:00
William Kemper
8d9947ce75 8268635: Corrupt oop in ClassLoaderData
Backport-of: 3586a233a4
2021-09-07 17:45:40 +03:00
Martin Doerr
219708a510 8268369: SIGSEGV in PhaseCFG::implicit_null_check due to missing null check
Backport-of: 4ad8b04421
2021-09-07 17:45:40 +03:00
Aleksey Shipilev
1139499aed 8267424: CTW: C1 fails with "State must not be null"
Backport-of: 0a6c7d8a4b
2021-09-07 17:45:40 +03:00
Aleksey Shipilev
85dd8c3474 8224853: CDS address sanitizer errors
Reviewed-by: jiangli
Backport-of: 72daa46d46
2021-09-07 17:45:40 +03:00
Zhengyu Gu
1463e5612b 8269847: JDK-8269594 backport breaks 11u builds
Reviewed-by: clanger
2021-09-07 17:45:40 +03:00
Zhengyu Gu
7592f5ae6b 8269594: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Backport-of: 4b4bef4e1e
2021-09-07 17:45:39 +03:00
Martin Doerr
713b003558 8268366: Incorrect calculation of has_fpu_registers in C1 linear scan
Reviewed-by: phh
Backport-of: 702e3ff054
2021-09-07 17:45:39 +03:00
Martin Doerr
0a5483efed 8266480: Implicit null check optimization does not update control of hoisted memory operation
Backport-of: c2b50f93ac
2021-09-07 17:45:39 +03:00
Martin Doerr
b8a407d849 8263227: C2: inconsistent spilling due to dead nodes in exception block
Eliminate dead nodes created by call-catch cleanup even if they have multiple
projections. Assert that definitions dominate uses and projections are scheduled
next to their parent nodes.

Reviewed-by: roland
Backport-of: d81b0461b7
2021-09-07 17:45:39 +03:00
Zhengyu Gu
0d3c39d6dc 8251945: SIGSEGV in PackageEntry::purge_qualified_exports()
Reviewed-by: adinn
2021-09-07 17:45:38 +03:00
Evgeny Astigeevich
0087cd57cf 8213137: Remove static initialization of monitor/mutex instances
Moved to the global mutex list in mutexLocker

Reviewed-by: phh, simonis
Backport-of: eac28d7fae
2021-09-07 17:45:21 +03:00
Adam Farley
76647e1edf 8267773: PhaseStringOpts::int_stringSize doesn't handle min_jint correctly
Backport-of: d47a77d2d5
2021-09-07 16:30:14 +03:00
Roland Westrelin
92f67861bb 8266615: C2 incorrectly folds subtype checks involving an interface array
Backport-of: ce88b33488
2021-09-07 16:30:14 +03:00
Maxim Kartashev
13a904ddb5 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.
2021-09-07 12:08:02 +03:00
Vitaly Provodin
3fd8325932 update the link to JBR build targeted for 212.5284 2021.2.2 RC 2021-09-07 08:34:53 +07:00
Maxim Kartashev
7fe2bec657 fixup! JBR-3712 Add project creation instructions to JBR README 2021-09-04 18:02:10 +03:00
Alexey Ushakov
a2e23e49ba Added support for otf into the build scripts. Updated prebuild maps. 2021-09-04 16:35:09 +02:00
Konstantin Bulenkov
52169d7c56 bundle Inter font 2021-09-04 16:27:14 +02:00
Nikita Gubarkov
9a23638660 JBR-3638 Remove check for greyscale/non-antialiased mode in CStrike#getGlyphImageBounds 2021-09-03 18:02:09 +03:00
Artem Bochkarev
a08c2a715b JBR-3715: partial cherry-pick of PR "Windows AArch64 Support"
implemented correct r18 usage
fixed JBR-3715
patch from V.Kempik
2021-09-03 12:44:37 +03:00
Artem Bochkarev
ba7eef6063 JBR-3715: revert "ZULU-17387: Port X18 exclusion patch from win_aarch64 jep"
patch from V.Kempik
2021-09-03 12:44:35 +03:00
Nikita Gubarkov
42a6fefec9 JBR-3638 Adjust subpixel glyph positions for correct rounding in CStrike#getGlyphImageBounds 2021-09-03 01:46:32 +03:00
Maxim Kartashev
770b4dc9c1 fixup! JBR-3664 Logging for communications with X server 2021-09-01 06:52:29 -07:00
Artem Semenov
70015b02b4 JBR-3724 : macOS: SIGSEGV at [libjvm.dylib+0x3fc074] jni_CallStaticObjectMethod / +[JavaComponentAccessibility childrenOfParent:withEnv:withChildrenCode:allowIgnored:recursive:] 2021-09-01 16:30:50 +03:00
Dmitry Batrak
d9baf2d9db JBR-3726 Modal windows 'disappear' on minimize in KDE 2021-09-01 16:09:09 +03:00
Maxim Kartashev
410f39e6b6 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().
2021-09-01 04:12:48 -07:00
Artem Semenov
55c69787cf JBR-3722 : macOS: SIGSEGV at [libjvm] _ZN14AccessInternal19PostRuntimeDispatchIN12G1BarrierSet13AccessBarrierILy1097844ES1_EELNS_11BarrierTypeE2ELy1097844EE18oop_access_barrierEPv 2021-09-01 14:02:57 +03:00
Maxim Kartashev
792a58ea0e 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.
2021-09-01 00:36:11 -07:00
Vitaly Provodin
5be30023b9 exclude sun/security/tools/keytool/ListKeychainStore.sh due to 8156889 2021-09-01 06:00:25 +07:00
Vitaly Provodin
bc866184ee include tests into regular testing
java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.html into Commit testing
java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java into Full testing
2021-09-01 06:00:25 +07:00
Maxim Kartashev
0a81e49d9e 8269223: -Xcheck:jni WARNINGs working with fonts on Linux
Reviewed-by: prr, serb

(AKA JBR-3542 Fix -Xcheck:jni warnings)
(Based on commit 9bc023220f, includes additional fixes for JBR-specific code)
2021-08-31 15:38:52 +03:00
Artem Semenov
1bfd8e04f0 JBR-3678 : Remove JNF from a11y 2021-08-31 11:47:40 +03:00
Maxim Kartashev
061d01402b JBR-3712 Add project creation instructions to JBR README 2021-08-30 19:50:34 +03:00
Dmitry Batrak
28cfc4815f JBR-3706 Toggling full screen mode for two frames doesn't work on macOS if invoked without delay 2021-08-26 15:57:47 +03:00
Artem Bochkarev
52478f3231 JBR-3342: add npe check 2021-08-25 18:08:27 +03:00
Ivan Lopatin
250b040f8b Merge pull request #77 from JetBrains/ivan.lopatin/JBR-1259
JBR-1259: Added DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 support
2021-08-24 15:47:20 +07:00
Dmitry Batrak
83556f56e7 JBR-3695 JNF removal issue 2021-08-20 10:30:05 +03:00
Mikhail Grishchenko
d3a2dffee5 update the link to JBR for IDEA 2021.2 2021-08-17 23:13:56 +07:00
Dmitry Batrak
07a5b9672e JBR-3686 Background window steals focus when converted to full screen on macOS
implemented the fix for Application.requestToggleFullScreen method as well
2021-08-16 13:32:30 +03:00
Dmitry Batrak
3f7bda574d restore com.apple.eawt.Application.requestToggleFullScreen to work as expected
So that it can both enable and disable full screen mode.
As separate methods exist in JBR to enable/disable full screen mode, there's no need to check the current state in 'toggle' method.
Done as part of JBR-3686.
2021-08-16 12:43:22 +03:00
Ivan Lopatin
92d075c5db JBR-1259: Added DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 support 2021-08-13 16:49:27 +07:00
Mikhail Grishchenko
0fdec4edaa JBR-3676 WINDOW_ACTIVATED/DEACTIVATED events sent to a frame when child window closes on macOS
remove JNF dependency
2021-08-13 16:31:50 +07:00
sercher
86b51437b3 more to fix the regressions after pull/73 2021-08-13 15:10:13 +07:00
sercher
39e0a6125f fix regression after pull/73 2021-08-13 15:10:13 +07:00
Alexey Ushakov
690a416aae JBR-3667 Remove JNF from JBR_11.0.12
Applied code from jbr-dev
2021-08-13 15:10:13 +07:00
Mikhail Grishchenko
a2d18ddba0 Revert "Revert "Merge branch 'update_11.0.12'""
This reverts commit c8de1037d6.
2021-08-13 15:10:13 +07:00
Dmitry Batrak
371c574139 JBR-3686 Background window steals focus when converted to full screen on macOS 2021-08-13 10:37:58 +03:00
Artem Semenov
19c065f9bb JBR-3679: Refactor a recursive algorithm to get accessible children of a tree 2021-08-10 12:56:26 +03:00
Dmitry Batrak
824f9ebec3 JBR-3676 WINDOW_ACTIVATED/DEACTIVATED events sent to a frame when child window closes on macOS 2021-08-10 12:13:19 +03:00
Dmitry Batrak
2a71dc5981 JBR-3672 jb/java/awt/Focus/WrongFrameFocusedOnModalDialogClosing.java fails on linux by timeout 2021-08-09 12:46:24 +03:00
Dmitry Batrak
94a3885bbe JBR-3673 jb/java/awt/Window/FullScreenChildWindowShownBefore.java fails on MacOS
make test for JBR-3666 more reliable (not depending on macOS color display policy)
2021-08-09 10:26:14 +03:00
Dmitry Batrak
93588d0738 JBR-3663, JBR-3671 Problems on macOS space switching 2021-08-06 17:27:28 +03:00
Mikhail Grishchenko
c8de1037d6 Revert "Merge branch 'update_11.0.12'"
This reverts commit 2ac546b054, reversing
changes made to 1dcc612a81.
2021-08-06 13:50:34 +07:00
Dmitry Batrak
431c07ac57 JBR-3642 java/awt/Window/8159168/SetShapeTest.java fails on macOS-x64 & macOS-aarch64
make sure jb/java/awt/Focus/Typeahead* tests still pass
2021-08-05 21:00:04 +03:00
Dmitry Batrak
13dffb3db5 JBR-3642 java/awt/Window/8159168/SetShapeTest.java fails on macOS-x64 & macOS-aarch64
revert JBR-1417 fix (JBR 11 does not support chain of popups)
2021-08-05 21:00:03 +03:00
Mikhail Grishchenko
2ac546b054 Merge branch 'update_11.0.12'
# Conflicts:
#	src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m
2021-08-05 21:54:49 +07:00
Dmitry Batrak
1dcc612a81 JBR-3666 Child window stays on default space when full-screen mode is activated for parent window on macOS 2021-08-05 10:11:17 +03:00
Dmitry Batrak
bfd01081c3 JBR-3662 Focus jumps to another project tab after closing modal dialog 2021-08-04 11:59:58 +03:00
Dmitry Batrak
a7d486ca3d JBR-3640 java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java: window Open button lost focus when it should not 2021-08-03 20:49:07 +03:00
Artem Bochkarev
37e6e8e616 JBR-3342: add npe check
fixed JBR-3342 SIGILL at [libsystem_kernel] __kill NPE/OOME at java.desktop/sun.lwawt.LWComponentPeer.windowToLocal / -[NSApplication(JCEFApplication) _swizzled_sendEvent:]
2021-08-03 09:16:27 +03:00
clanger
b4d4104e40 Added tag jdk-11.0.12-ga for changeset f412f2537f15 2021-08-02 21:16:26 +03:00
mbalao
9b5cfa7ac2 8264079: Improve abstractions
Reviewed-by: yan
2021-08-02 21:14:26 +03:00
mbalao
499d9f8e49 8262967: Improve Zip file support
Reviewed-by: mbaesken
2021-08-02 21:14:26 +03:00
mbalao
fb5f776caf 8264066: Enhance compiler validation
Reviewed-by: mbaesken, mdoerr
2021-08-02 21:14:25 +03:00
yan
067d4d500d 8264460: Improve NTLM support
Reviewed-by: mbalao
2021-08-02 21:14:25 +03:00
avoitylov
76a279920c 8262380: Enhance XML processing passes
Reviewed-by: mbalao
2021-08-02 21:14:25 +03:00
mbalao
d1dda7f5a6 8256491: Better HTTP transport
Reviewed-by: mbaesken
2021-08-02 21:14:24 +03:00
mbalao
4c1030df6f 8256157: Improve bytecode assembly
Reviewed-by: mbaesken
2021-08-02 21:14:24 +03:00
alvdavi
6ae43c6a0e 8258432: Improve file transfers
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:23 +03:00
mbalao
7e34e95d11 8260967: Better jar file validation
Reviewed-by: yan
2021-08-02 21:14:23 +03:00
alvdavi
332b9ab801 8262477: Enhance String Conclusions
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:23 +03:00
yan
e0b84005e4 8262410: Enhanced rules for zones
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:22 +03:00
yan
471cfeb793 8262403: Enhanced data transfer
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:22 +03:00
alvdavi
94ab10baf3 8260453: Improve Font Bounding
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:21 +03:00
avoitylov
d60f0153e7 8260960: Signs of jarsigner signing
Reviewed-by: mbaesken, mbalao
2021-08-02 21:14:21 +03:00
rhalade
2b6110f6e3 8268678: LetsEncryptCA.java test fails as Let’s Encrypt Authority X3 is retired
Reviewed-by: xuelei
2021-08-02 21:14:21 +03:00
egahlin
63ddfb5221 8255992: JFR EventWriter does not use first string from StringPool with id 0
Reviewed-by: egahlin
Contributed-by: Jie Kang <jkang@openjdk.org>
2021-08-02 21:14:20 +03:00
mgronlun
4d1ff852af 8258414: OldObjectSample events too expensive
Reviewed-by: jbachorik
Contributed-by: florian.david@datadoghq.com
2021-08-02 21:14:20 +03:00
mdoerr
7db2687b73 8267599: Revert the change to the default PKCS12 macAlgorithm and macIterationCount props for 11u/8u/7u
Summary: Undo pkcs12.macAlgorithm and macIterationCount changes from JDK-8153005 backport. They were postponed for interoperability reasons.
Reviewed-by: coffeys
2021-08-02 21:14:20 +03:00
weijun
59f4085080 8237804: sun/security/mscapi tests fail with "Key pair not generated, alias <nnnnnn> already exists"
Reviewed-by: mullan
2021-08-02 21:14:19 +03:00
abakhtin
9b94493edd 8241248: NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93)
Reviewed-by: jnimeh, xuelei, mdoerr
2021-08-02 21:14:19 +03:00
phh
c47f2057c5 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64
Reviewed-by: phh
Contributed-by: Evgeny Astigeevich <eastig@amazon.com>
2021-08-02 21:14:19 +03:00
ysuenaga
ba539e832c 8249875: GCC 10 warnings -Wtype-limits with JFR code
Reviewed-by: mgronlun
2021-08-02 21:14:18 +03:00
mbalao
f7ba738641 8265462: Handle multiple slots in the NSS Internal Module from SunPKCS11's Secmod
Reviewed-by: valeriep
2021-08-02 21:14:18 +03:00
serb
c00eb55594 8196100: javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: kizune
2021-08-02 21:14:18 +03:00
zgu
a275ab6f48 8267561: Shenandoah: Reference processing not properly setup for outside of cycle degenerated GC
Reviewed-by: rkennke
2021-08-02 21:14:17 +03:00
sgehwolf
27de8b0ff6 8266929: Unable to use algorithms from 3p providers
Summary: Delay initializtion of AID cache table until after jar verification
Reviewed-by: phh
2021-08-02 21:14:17 +03:00
jlahoda
5d9d0a9a75 8242919: Paste locks up jshell
Summary: Not waiting until the full block is available while reading from input.
Reviewed-by: rfield
2021-08-02 21:14:16 +03:00
vkempik
18a8fd31e5 8267235: [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
Reviewed-by: akozlov, aph
2021-08-02 21:14:16 +03:00
jbachorik
faf6484a2b 8261354: SIGSEGV at MethodIteratorHost
Reviewed-by: mgronlun
2021-08-02 21:14:16 +03:00
shade
b59a15193e 8266802: Shenandoah: Round up region size to page size unconditionally
Reviewed-by: zgu
2021-08-02 21:14:15 +03:00
vromero
81c4587cf7 8207160: ClassReader::adjustMethodParams can potentially return null if the args list is empty
Reviewed-by: mcimadamore, cushon
2021-08-02 21:14:15 +03:00
aleonard
7ca96684b5 8265666: Enable AIX build platform to make external debug symbols
Reviewed-by: erikj, mdoerr
2021-08-02 21:14:14 +03:00
weijun
55d40c666d 8266220: keytool still prompt for store password on a password-less pkcs12 file if -storetype pkcs12 is specified
Reviewed-by: coffeys, hchao
2021-08-02 21:14:14 +03:00
weijun
bd0b236c4a 8266293: Key protection using PBEWithMD5AndDES fails with "java.security.InvalidAlgorithmParameterException: Salt must be 8 bytes long"
Reviewed-by: valeriep
2021-08-02 21:14:14 +03:00
ysuenaga
5acffe72ad 8241087: Build failure with VS 2019 (16.5.0) due to C2039 and C2873
Reviewed-by: serb
2021-08-02 21:14:13 +03:00
mbaesken
fd3ce84413 8261422: Adjust problematic String.format calls in jdk/internal/util/Preconditions.java outOfBoundsMessage
Reviewed-by: clanger
2021-08-02 21:14:13 +03:00
stuefe
3a700c8e6b 8260030: Improve stringStream buffer handling
Reviewed-by: iklam, kbarrett
2021-08-02 21:14:13 +03:00
stuefe
2247fa9602 8185734: [Windows] Structured Exception Catcher missing around gtest execution
Reviewed-by: dholmes, ihse
2021-08-02 21:14:12 +03:00
jiefu
79d5f9c769 8251031: Some vmTestbase/nsk/monitoring/RuntimeMXBean tests fail with hostnames starting from digits
Reviewed-by: dholmes, cjplummer, sspitsyn
2021-08-02 21:14:12 +03:00
mbaesken
e6584954f5 8220074: Clean up GCC 8.3 errors in LittleCMS
Reviewed-by: prr
2021-08-02 21:14:11 +03:00
mbaesken
0478b4e54c 8232084: HotSpot build failed with GCC 9.2.1
Reviewed-by: sspitsyn, cjplummer, dholmes, iklam
2021-08-02 21:14:11 +03:00
mbaesken
308ba715a8 8266892: avoid maybe-uninitialized gcc warnings on linux s390x
Reviewed-by: shade, lucy
2021-08-02 21:14:10 +03:00
bulasevich
60a9d39d0e 8252311: AArch64: save two words in itable lookup stub
Reviewed-by: adinn, aph
2021-08-02 21:14:10 +03:00
egahlin
201bc8380c 8243452: JFR: Could not create chunk in repository with over 200 recordings
Reviewed-by: mgronlun
2021-08-02 21:14:10 +03:00
valeriep
0ed41e9ef2 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec
Reviewed-by: valeriep
Contributed-by: Greg Rubin <rubin@amazon.com>, Ziyi Luo <luoziyi@openjdk.org>
2021-08-02 21:14:09 +03:00
jnimeh
0e3a3cc87a 8254717: isAssignableFrom checks in KeyFactorySpi.engineGetKeySpec appear to be backwards
Reviewed-by: jnimeh
Contributed-by: Ziyi Luo <luoziyi@openjdk.org>
2021-08-02 21:14:09 +03:00
ccheung
b85ab67807 8216184: CDS/appCDS tests failed on Windows due to long path to a classlist file
Summary: use os::open() instead of fopen()
Reviewed-by: iklam, dholmes
2021-08-02 21:14:08 +03:00
weijun
a30e884f47 8153005: Upgrade the default PKCS12 encryption/MAC algorithms
Reviewed-by: mullan
2021-08-02 21:14:08 +03:00
sgehwolf
77447ab9da 8266713: [AIX] Build failure after 11u backport of JDK-8247753
Summary: Add local implementation of strcasestr for AIX
Reviewed-by: mdoerr, stuefe, mbaesken, rpatil
2021-08-02 21:14:08 +03:00
aeubanks
d649015cab 8223667: ASAN build broken
Reviewed-by: erikj, manc
2021-08-02 21:14:07 +03:00
zgu
1408d4104c 8265239: Shenandoah: Shenandoah heap region count could be off by 1
Reviewed-by: shade
2021-08-02 21:14:07 +03:00
dholmes
2bce0bab8a 8218458: [TESTBUG] runtime/NMT/CheckForProperDetailStackTrace.java fails with Expected stack trace missing from output
Reviewed-by: cjplummer, zgu
2021-08-02 21:14:06 +03:00
stuefe
bbc63ddc5a 8262163: Extend settings printout in jcmd VM.metaspace
Reviewed-by: lucy
2021-08-02 21:14:06 +03:00
stuefe
1a1cf92ea6 8260926: Trace resource exhausted events unconditionally
Reviewed-by: dholmes, coleenp
2021-08-02 21:14:06 +03:00
stuefe
b40243f499 8260707: java/lang/instrument/PremainClass/InheritAgent0100.java times out
Reviewed-by: dholmes, sspitsyn, dcubed
2021-08-02 21:14:05 +03:00
bulasevich
27130a7ad2 8248568: compiler/c2/TestBit.java failed: test missing from stdout/stderr
Reviewed-by: kvn
2021-08-02 21:14:05 +03:00
bulasevich
efe3d8c9fa 8247408: IdealGraph bit check expression canonicalization
Reviewed-by: aph, kvn, adinn
2021-08-02 21:14:05 +03:00
mikael
afa82f7acd 8219142: Remove unused JIMAGE_ResourcePath
Reviewed-by: dholmes, alanb
2021-08-02 21:14:04 +03:00
mbaesken
c465836189 8214854: JDWP: Unforseen output truncation in logging
Reviewed-by: cjplummer, dholmes
2021-08-02 21:14:04 +03:00
mbaesken
07cb8849b7 8215009: GCC 8 compilation error in libjli
Reviewed-by: dholmes, mikael, rriggs
2021-08-02 21:14:04 +03:00
rpatil
7dbbb71015 8247753: UIManager.getSytemLookAndFeelClassName() returns wrong value on Fedora 32
Reviewed-by: sgehwolf
2021-08-02 21:14:03 +03:00
ddong
008119aa29 8261020: Wrong format parameter in create_emergency_chunk_path
Reviewed-by: goetz
2021-08-02 21:14:03 +03:00
snazarki
6ea789002e 8264821: DirectIOTest fails on a system with large block size
Reviewed-by: mdoerr
2021-08-02 21:14:02 +03:00
rhalade
e005989a5f 8264190: Harden TLS interop tests
Reviewed-by: rhalade
Contributed-by: Fernando Guallini <fguallini@openjdk.org>
2021-08-02 21:14:02 +03:00
serb
33f88d585e 7106851: Test should not use System.exit
Reviewed-by: aivanov, psadhukhan, kaddepalli
2021-08-02 21:14:02 +03:00
rriggs
3438de2060 8256244: java/lang/ProcessHandle/PermissionTest.java fails with TestNG 7.1
Reviewed-by: lancea, iignatyev
2021-08-02 21:14:01 +03:00
shade
cf77ddd67d 8265421: java/lang/String/StringRepeat.java test is missing a memory requirement
Reviewed-by: jlaskey, shade, ryadav
Contributed-by: christoph.goettschkes@microdoc.com
2021-08-02 21:14:01 +03:00
tschatzl
382c68f8b6 8245511: G1 adaptive IHOP does not account for reclamation of humongous objects by young GC
Summary: Discount humongous object eager reclaim in IHOP allocation rate.
Reviewed-by: tschatzl, sjohanss
Contributed-by: luoziyi@amazon.com, kemperw@amazon.com
2021-08-02 21:14:01 +03:00
phh
abadd05c98 8246274: G1 old gen allocation tracking is not in a separate class
Summary: Add G1OldGenAllocationTracker
Reviewed-by: tschatzl, phh
Contributed-by: luoziyi@amazon.com, kemperw@amazon.com
2021-08-02 21:14:00 +03:00
shade
b61d1ec0b2 8265690: Use the latest Ubuntu base image version in Docker testing
Reviewed-by: sgehwolf, iignatyev, mseledtsov
2021-08-02 21:14:00 +03:00
serb
667524ec99 6847157: java.lang.NullPointerException: HDC for component at sun.java2d.loops.Blit.Blit
Reviewed-by: prr
2021-08-02 21:13:59 +03:00
jlahoda
c7bb9526c4 8262900: ToolBasicTest fails to access HTTP server it starts
Reviewed-by: sundar, vromero
2021-08-02 21:13:59 +03:00
psadhukhan
1984e4ea7f 8239312: [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
Reviewed-by: serb
2021-08-02 21:13:59 +03:00
jbachorik
7c8bed75ad 8265750: Fatal error in safepoint.cpp after backport of 8258414
Reviewed-by: mdoerr, sgehwolf
2021-08-02 21:13:58 +03:00
lucy
d8f671e3ee 8264173: [s390] Improve Hardware Feature Detection And Reporting
Reviewed-by: goetz, mdoerr
2021-08-02 21:13:58 +03:00
lucy
ba42c17ea7 8263260: [s390] Support latest hardware (z14 and z15)
Reviewed-by: goetz, mdoerr
2021-08-02 21:13:58 +03:00
lucy
ce82bfa392 8241101: [s390] jtreg test failure after JDK-8238696: not conformant features string
Reviewed-by: stuefe, mdoerr, clanger
2021-08-02 21:13:57 +03:00
shade
2624b2a7d7 8265537: x86 version string truncated after JDK-8249672 11u backport
Reviewed-by: neugens
2021-08-02 21:13:57 +03:00
serb
974a06e94c 8225116: Test OwnedWindowsLeak.java intermittently fails
Reviewed-by: pbansal
2021-08-02 21:13:56 +03:00
serb
ad3b5d11d7 8238567: SoftMainMixer.processAudioBuffers(): Wrong handling of stoppedMixers
Reviewed-by: prr
2021-08-02 21:13:56 +03:00
jiefu
b71bcabdc5 8257796: [TESTBUG] TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on x86_32
Reviewed-by: kvn
2021-08-02 21:13:56 +03:00
jiefu
977d41835c 8222302: [TESTBUG]test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java fails on any other CPU
Reviewed-by: kvn, dlong
2021-08-02 21:13:55 +03:00
kbarrett
c630859af5 8253167: ARM32 builds fail after JDK-8247910
8213483: ARM32: runtime/ErrorHandling/ShowRegistersOnAssertTest.java jtreg test fail
Summary: Removed platform-dependent definitions of BREAKPOINT as asm(breakpoint instruction).
Reviewed-by: coleenp, mikael, bulasevich
2021-08-02 21:13:55 +03:00
hshi
63720c9e21 8264223: CodeHeap::verify fails extra_hops assertion in fastdebug test
Reviewed-by: lucy, shade
2021-08-02 21:13:55 +03:00
stuefe
c65f7c3364 8257604: JNI_ArgumentPusherVaArg leaks valist
Reviewed-by: dcubed, coleenp
2021-08-02 21:13:54 +03:00
weijun
a64f9674c9 8076190: Customizing the generation of a PKCS12 keystore
Reviewed-by: mullan
2021-08-02 21:13:54 +03:00
thartmann
e929f1d15e 8209459: TestSHA512MultiBlockIntrinsics failed on AArch64
Summary: Prevent classloading to avoid generation of SHA stubs.
Reviewed-by: kvn, thartmann
Contributed-by: Joshua Zhu <joshua.zhu@arm.com>
2021-08-02 21:13:53 +03:00
serb
733e2667a3 8264328: Broken license in javax/swing/JComboBox/8072767/bug8072767.java
Reviewed-by: kizune, trebari, pbansal
2021-08-02 21:13:53 +03:00
ssahoo
0979251517 8225438: javax/net/ssl/TLSCommon/TestSessionLocalPrincipal.java failed with Read timed out
Reviewed-by: xuelei, rhalade, hchao
2021-08-02 21:13:53 +03:00
aivanov
bdc30661cb 8263311: Watch registry changes for remote printers update instead of polling
Reviewed-by: psadhukhan, serb
2021-08-02 21:13:52 +03:00
dfuchs
e7fb17ebca 8244205: HTTP/2 tunnel connections through proxy may be reused regardless of which proxy is selected
Summary: The key used in the HTTP/2 connection pool is updated to take into account the proxy address in case of tunnel connections
Reviewed-by: chegar
2021-08-02 21:13:52 +03:00
dfuchs
ade01055d1 8244031: HttpClient should have more tests for HEAD requests
Summary: Http2TestExchangeImpl.java updated to support HEAD responses; ForbiddenHeadTest.java added.
Reviewed-by: chegar, michaelm
2021-08-02 21:13:51 +03:00
shade
3396a75ca7 8265718: Build failure after JDK-8258414 11u backport
Reviewed-by: stuefe, goetz
2021-08-02 21:13:51 +03:00
iignatyev
bd91605174 8225756: [testbug] compiler/loopstripmining/CheckLoopStripMining.java sets too short a SafepointTimeoutDelay
Reviewed-by: kvn, epavlova, roland, mdoerr
2021-08-02 21:13:51 +03:00
jlahoda
24d2a6fe28 8177068: incomplete classpath causes NPE in Flow
Summary: Undo completions that failed during speculative attribution, so that the appropriate CompletionFailures are thrown again and properly reported.
Reviewed-by: vromero
2021-08-02 21:13:50 +03:00
mgronlun
bd2a53a105 8258414: OldObjectSample events too expensive
Reviewed-by: jbachorik
Contributed-by: florian.david@datadoghq.com
2021-08-02 21:13:50 +03:00
stuefe
6e2ff8055d 8265417: Backport of JDK-8249672 breaks Solaris x86 build
Reviewed-by: shade
2021-08-02 21:13:50 +03:00
dlong
cdbcb46437 8214512: ARM32: Jtreg test compiler/c2/Test8062950.java fails on ARM
Reviewed-by: dlong, enevill, bulasevich
Contributed-by: nick.gasson@arm.com, christoph.goettschkes@microdoc.com
2021-08-02 21:13:49 +03:00
jboes
2bb749dca2 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Summary: Skip dispatcherThread.join() if current thread is the dispatcherThread
Reviewed-by: dfuchs, msheppar, vtewari
2021-08-02 21:13:49 +03:00
trebari
535c3bd567 8190763: Class cast exception on (CompoundEdit) UndoableEditEvent.getEdit()
Reviewed-by: psadhukhan, pbansal, serb
2021-08-02 21:13:48 +03:00
xuelei
03dd08df32 8258753: StartTlsResponse.close() hangs due to synchronization issues
Reviewed-by: xuelei
Contributed-by: Prajwal Kumaraswamy <pkumaraswamy@openjdk.org>
2021-08-02 21:13:48 +03:00
rriggs
c6c1be68b6 8263729: [test] divert spurious output away from stream under test in ProcessBuilder Basic test
Reviewed-by: stuefe, iklam
2021-08-02 21:13:48 +03:00
rhalade
b5cf4ef17e 8225081: Remove Telia Company CA certificate expiring in April 2021
Reviewed-by: mullan
2021-08-02 21:13:47 +03:00
stuefe
38ee00073d 8253572: [windows] CDS archive may fail to open with long file names
Reviewed-by: ccheung, iklam
2021-08-02 21:13:47 +03:00
rrich
a7735759aa 8244847: Linux/PPC: runtime/CompressedOops/CompressedClassPointers: smallHeapTest fails
Reviewed-by: stuefe, mdoerr
2021-08-02 21:13:46 +03:00
hseigel
beb4d8cd85 8207779: Method::is_valid_method() compares 'this' with NULL
Summary: Add Method* parameter and make method static to avoid 'thi's comparison with NULL
Reviewed-by: lfoltan, coleenp
2021-08-02 21:13:46 +03:00
kvn
c0c32d8bfe 8252779: compiler/graalunit/HotspotTest.java failed after 8251525
Summary: updated CheckGraalIntrinsics.java test
Reviewed-by: dcubed
2021-08-02 21:13:46 +03:00
jzhu
93606dbe3f 8252259: AArch64: Adjust default value of FLOATPRESSURE
Reviewed-by: aph
2021-08-02 21:13:45 +03:00
lucy
1080bdd980 8261447: MethodInvocationCounters frequently run into overflow
Reviewed-by: mdoerr, thartmann, kvn, iveresov
2021-08-02 21:13:45 +03:00
prr
b3e3c0b89d 8261170: Upgrade to freetype 2.10.4
Reviewed-by: serb, psadhukhan, jdv, kizune
2021-08-02 21:13:44 +03:00
clanger
830e654595 8207404: MulticastSocket tests failing on AIX
Reviewed-by: chegar, sgroeger
2021-08-02 21:13:44 +03:00
neliasso
47e3150fad 8263361: Incorrect arraycopy stub selected by C2 for SATB collectors
Reviewed-by: eosterlund, vlivanov
2021-08-02 21:13:43 +03:00
kvn
39608ad69a 8262093: java/util/concurrent/tck/JSR166TestCase.java failed "assert(false) failed: unexpected node"
Reviewed-by: thartmann
2021-08-02 21:13:43 +03:00
naoto
76e123778d 8262110: DST starts from incorrect time in 2038
8073446: TimeZone getOffset API does not  return a dst offset between years 2038-2137
Reviewed-by: rriggs
2021-08-02 21:13:43 +03:00
bulasevich
4f61ac98d5 8214128: ARM32: wrong stack alignment on Deoptimization::unpack_frames
Reviewed-by: dsamersoff
2021-08-02 21:13:42 +03:00
prr
90e76c380b 8260380: Upgrade to LittleCMS 2.12
Reviewed-by: jdv, serb
2021-08-02 21:13:42 +03:00
jiangli
85a088f9f1 8208061: runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode.
Summary: Allow resizing for all system dictionaries except for the shared dictionary at runtime.
Reviewed-by: iklam, gziemski
2021-08-02 21:13:42 +03:00
lucy
381de93173 8264846: [macos] libjvm.dylib linker warning due to macOS version mismatch
Reviewed-by: erikj, dcubed, clanger
2021-08-02 21:13:41 +03:00
sgehwolf
5d2684022e 8264047: Duplicate global variable 'jvm' in libjavajpeg and libawt
Reviewed-by: serb
2021-08-02 21:13:41 +03:00
mbalao
49c77556ab 8261355: No data buffering in SunPKCS11 Cipher encryption when the underlying mechanism has no padding
Reviewed-by: valeriep
2021-08-02 21:13:40 +03:00
bulasevich
7970c912fa 8213845: ARM32: Interpreter doesn't call result handler after native calls
Summary: Fix mapping of native jboolean result to 0..1 on ARM32
Reviewed-by: aph, phh
Contributed-by: christoph.goettschkes@microdoc.com
2021-08-02 21:13:40 +03:00
shade
897fed57dd 8207247: AARCH64: Enable Minimal and Client VM builds
Reviewed-by: aph
Contributed-by: christoph.goettschkes@microdoc.com
2021-08-02 21:13:40 +03:00
rehn
6a6ae5c6ed 8261262: Kitchensink24HStress.java crashed with EXCEPTION_ACCESS_VIOLATION
Reviewed-by: dcubed, sspitsyn
2021-08-02 21:13:39 +03:00
xuelei
89ec9bc1e2 8226374: Restrict TLS signature schemes and named groups
Reviewed-by: mullan
2021-08-02 21:13:39 +03:00
ngasson
5404c7fe70 8247354: [aarch64] PopFrame causes assert(oopDesc::is_oop(obj)) failed: not an oop
Reviewed-by: adinn
2021-08-02 21:13:38 +03:00
yzhang
1315b55c19 8242429: Better implementation for sign extract
Reviewed-by: vlivanov, thartmann
Contributed-by: eric.c.liu@arm.com
2021-08-02 21:13:38 +03:00
shade
3a9131614b 8264923: PNGImageWriter.write_zTXt throws Exception with a typo
Reviewed-by: aivanov, jdv, azvegint, kizune
2021-08-02 21:13:38 +03:00
shade
d0b370c6b8 8256523: Streamline Java SHA2 implementation
Reviewed-by: valeriep
2021-08-02 21:13:37 +03:00
zgu
e7bb9fd8d7 8253948: Memory leak in ImageFileReader
Reviewed-by: alanb
2021-08-02 21:13:37 +03:00
smonteith
dc43f7063d 8231841: AArch64: debug.cpp help() is missing an AArch64 line for pns
Summary: Adds missing line for aarch64 to debug.cpp help() for pns
Reviewed-by: adinn
Contributed-by: alan.hayward@arm.com
2021-08-02 21:13:36 +03:00
weijun
d7e1f938e7 8240848: ArrayIndexOutOfBoundsException buf for TextCallbackHandler
Reviewed-by: mullan
2021-08-02 21:13:36 +03:00
jdv
ad56416ad9 8195841: PNGImageReader.readNullTerminatedString() doesnt check for non-null terminated strings with length equal to maxLen
Reviewed-by: serb, prr
2021-08-02 21:13:36 +03:00
jdv
50412155f9 8242557: Add length limit for strings in PNGImageWriter
Reviewed-by: prr, psadhukhan
2021-08-02 21:13:35 +03:00
iveresov
3e47d86db7 8264151: ciMethod::ensure_method_data() should return false is loading resulted in empty state
Reviewed-by: dlong, kvn
2021-08-02 21:13:35 +03:00
hseigel
871cb53015 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
Summary: Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
2021-08-02 21:13:35 +03:00
neliasso
a7c4f72f75 8262465: Very long compilation times and high memory consumption in C2 debug builds
Reviewed-by: kvn, thartmann
2021-08-02 21:13:34 +03:00
stuefe
1ee8a9a528 8263558: Possible NULL dereference in fast path arena free if ZapResourceArea is true
Reviewed-by: kbarrett, coleenp
2021-08-02 21:13:34 +03:00
thartmann
56c4e379af 8262739: String inflation C2 intrinsic prevents insertion of anti-dependencies
Reviewed-by: neliasso, chagedorn
2021-08-02 21:13:33 +03:00
apangin
0535ead40d 8249719: MethodHandle performance suffers from bad ResolvedMethodTable hash function
Reviewed-by: simonis, stuefe, coleenp
2021-08-02 21:13:33 +03:00
yzhang
c64efbc559 8243240: AArch64: Add support for MulVB
Reviewed-by: aph
2021-08-02 21:13:33 +03:00
jcm
d6f04ca27b 8226627: assert(t->singleton()) failed: must be a constant
Summary: Implemented constant folding for MaxFD, MinFD.
Reviewed-by: thartmann, bsrbnd, pli
2021-08-02 21:13:32 +03:00
xuelei
13af04a640 8259662: Don't wrap SocketExceptions into SSLExceptions in SSLSocketImpl
Reviewed-by: xuelei
Contributed-by: Clive Verghese <cverghese@openjdk.org>
2021-08-02 21:13:32 +03:00
fyang
893f2d4fbc 8263676: AArch64: one potential bug in C1 LIRGenerator::generate_address()
Reviewed-by: adinn
2021-08-02 21:13:31 +03:00
dtitov
63895cc7cd 8217348: assert(thread->is_Java_thread()) failed: just checking
Reviewed-by: sspitsyn, dholmes, amenkov, jcbeyler
2021-08-02 21:13:31 +03:00
shade
592583006f 8263504: Some OutputMachOpcodes fields are uninitialized
Reviewed-by: kvn
2021-08-02 21:13:31 +03:00
rraghavan
31344224c6 8238812: assert(false) failed: bad AD file
Reviewed-by: thartmann, chagedorn, roland
2021-08-02 21:13:30 +03:00
rcastanedalo
15123efa60 8261730: C2 compilation fails with assert(store->find_edge(load) != -1) failed: missing precedence edge
Summary: Relax assertion in PhaseCFG::verify() to accept the case where a store is used to implement an implicit null check and a load is placed in the null block.
Reviewed-by: thartmann, kvn
2021-08-02 21:13:30 +03:00
naoto
760f73a671 8247432: Update IANA Language Subtag Registry to Version 2020-09-29
Reviewed-by: joehw
2021-08-02 21:13:29 +03:00
naoto
923bef0b1e 8242010: Upgrade IANA Language Subtag Registry to Version 2020-04-01
Reviewed-by: rriggs, joehw
2021-08-02 21:13:29 +03:00
xuelei
39cd51acab 8206925: Support the certificate_authorities extension
Reviewed-by: mullan
2021-08-02 21:13:29 +03:00
joehw
c7afe8d09b 8235368: Update BCEL to Version 6.4.1
Reviewed-by: lancea, dfuchs, forax
2021-08-02 21:13:28 +03:00
mli
ace76c89eb 8210443: Migrate Locale matching tests to JDK Repo.
Reviewed-by: naoto
Contributed-by: dan.z.zhou@oracle.com
2021-08-02 21:13:28 +03:00
ngasson
641d5af861 8236992: AArch64: remove redundant load_klass in itable stub
Reviewed-by: aph, adinn
2021-08-02 21:13:27 +03:00
thartmann
808c4a4a73 8230428: Cleanup dead CastIP node code in formssel.cpp
Summary: Removed dead code.
Reviewed-by: roland
2021-08-02 21:13:27 +03:00
jdowland
ff2f0003c3 8187450: JNI local refs exceeds capacity warning in NetworkInterface::getAll
Reviewed-by: chegar, dfuchs, aph
2021-08-02 21:13:27 +03:00
kvn
3cd3b00fb7 8262837: handle split_USE correctly
Reviewed-by: kvn
Contributed-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
2021-08-02 21:13:26 +03:00
naoto
64fe99dbec 8241082: Upgrade IANA Language Subtag Registry data to 03-16-2020 version
Reviewed-by: joehw
2021-08-02 21:13:26 +03:00
bulasevich
17b9e61404 8213794: ARM32: disable TypeProfiling, CriticalJNINatives, Serviceablity tests for ARM32
Reviewed-by: dholmes
Contributed-by: christoph.goettschkes@microdoc.com
2021-08-02 21:13:25 +03:00
jzhu
c0e32c3fca 8233948: AArch64: Incorrect mapping between OptoReg and VMReg for high 64 bits of Vector Register
Reviewed-by: adinn
2021-08-02 21:13:25 +03:00
pli
2c9e087a17 8232591: AArch64: Add missing match rules for smaddl, smsubl and smnegl
Reviewed-by: aph
2021-08-02 21:13:25 +03:00
mbaesken
dba304d265 8262461: handle wcstombsdmp return value correctly in unix awt_InputMethod.c
Reviewed-by: psadhukhan, azvegint, aivanov
2021-08-02 21:13:24 +03:00
chagedorn
2022e3d2f2 8260284: C2: assert(_base == Int) failed: Not an Int
Reviewed-by: thartmann, kvn
2021-08-02 21:13:24 +03:00
stuefe
1f7b350fe7 8263557: Possible NULL dereference in Arena::destruct_contents()
Reviewed-by: kbarrett, coleenp
2021-08-02 21:13:24 +03:00
thartmann
eadcad1393 8259061: C2: assert(found) failed: memory-writing node is not placed in its original loop or an ancestor of it
Summary: Remove assertion that is too general, that is, it can fail on compilations where C2 generates correct code otherwise.
Reviewed-by: chagedorn, thartmann, kvn
Contributed-by: Roberto Castaneda Lozano <rcastanedalo@openjdk.org>
2021-08-02 21:13:23 +03:00
shade
ec4b14d493 8261505: Test test/hotspot/jtreg/gc/parallel/TestDynShrinkHeap.java killed by Linux OOM Killer
Reviewed-by: sjohanss, tschatzl
2021-08-02 21:13:23 +03:00
jlahoda
298401f392 8239536: Can't use java.util.List object after importing java.awt.List
Summary: Using full qualified names for synthetic types; ensuring the user is warned when a variable becomes undefined due to a dependency change.
Reviewed-by: rfield
2021-08-02 21:13:22 +03:00
rkennke
29eed33b90 8257621: JFR StringPool misses cached items across consecutive recordings
Reviewed-by: egahlin
2021-08-02 21:13:22 +03:00
bsrbnd
6cc66f7ff5 8220407: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout
Reviewed-by: kvn
2021-08-02 21:13:22 +03:00
jbhateja
f5c06010c4 8227222: vmTestbase/jit/FloatingPoint/gen_math/Loops04/Loops04.java failed XMM register should be 0-15
Reviewed-by: thartmann, vlivanov, ctornqvi, bsrbnd
2021-08-02 21:13:21 +03:00
xuelei
293045e187 8259886: Improve SSL session cache performance and scalability
Reviewed-by: erikj, xuelei
Contributed-by: djelinski <djelinski1@gmail.com>
2021-08-02 21:13:21 +03:00
ngasson
886f5885ff 8263425: AArch64: two potential bugs in C1 LIRGenerator::generate_address()
Reviewed-by: aph
2021-08-02 21:13:21 +03:00
chagedorn
05703a8824 8255763: C2: OSR miscompilation caused by invalid memory instruction placement
Summary: Disable GCM hoisting of memory-writing nodes for irreducible CFGs.
Reviewed-by: kvn, chagedorn
Contributed-by: Roberto Castaneda Lozano <rcastanedalo@openjdk.org>
2021-08-02 21:13:20 +03:00
fguallini
27738b9bc1 8241372: Several test failures due to javax.net.ssl.SSLException: Connection reset
Reviewed-by: dfuchs, rhalade
2021-08-02 21:13:20 +03:00
roland
4dc032eb32 8257574: C2: "failed: parsing found no loops but there are some" assert failure
Reviewed-by: thartmann, neliasso, chagedorn
2021-08-02 21:13:19 +03:00
mbaesken
ceb27707a6 8259983: do not use uninitialized expand_ms value in G1CollectedHeap::expand_heap_after_young_collection
Reviewed-by: kbarrett, lucy
2021-08-02 21:13:19 +03:00
aivanov
fcce5a2b3c 8262829: Native crash in Win32PrintServiceLookup.getAllPrinterNames()
Reviewed-by: prr, psadhukhan, serb
2021-08-02 21:13:19 +03:00
ewhelan
27fce84573 8252883: AccessDeniedException caused by delayed file deletion on Windows
Reviewed-by: dfuchs
2021-08-02 21:13:18 +03:00
weijun
b50153e0b1 8261481: Cannot read Kerberos settings in dynamic store on macOS Big Sur
Reviewed-by: mullan
2021-08-02 21:13:18 +03:00
mullan
32ba7b1af9 8243559: Remove root certificates with 1024-bit keys
Reviewed-by: weijun
2021-08-02 21:13:18 +03:00
jiefu
67c4fc1a4d 8256037: [TESTBUG] com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails due to the hard coded threshold is small
Reviewed-by: shade, aefimov
2021-08-02 21:13:17 +03:00
goetz
e612e43ec0 8262121: [11u] Redo 8244287: JFR: Methods samples have line number 0
Summary: In addition to previous fix attempt add constructor that takes method and line.
Reviewed-by: mdoerr, clanger
2021-08-02 21:13:17 +03:00
mbaesken
07bf95c9ad 8261791: (sctp) handleSendFailed in SctpChannelImpl.c potential leaks
Reviewed-by: chegar, alanb
2021-08-02 21:13:16 +03:00
mbaesken
eef3676722 8261601: free memory in early return in Java_sun_nio_ch_sctp_SctpChannelImpl_receive0
Reviewed-by: clanger, dfuchs, bpb
2021-08-02 21:13:16 +03:00
lucy
15b77b797b 8231460: Performance issue (CodeHeap) with large free blocks
Reviewed-by: adinn, stuefe
2021-08-02 21:13:16 +03:00
lucy
5cb1684f14 8223444: Improve CodeHeap Free Space Management
Reviewed-by: kvn, thartmann
2021-08-02 21:13:15 +03:00
fyang
0a087ecb13 8223020: aarch64: expand minI_rReg and maxI_rReg patterns into separate instructions
Reviewed-by: aph
2021-08-02 21:13:15 +03:00
serb
9c693b5575 8171303: sun/java2d/pipe/InterpolationQualityTest.java fails on Windows & Linux
Reviewed-by: prr, psadhukhan, kcr
2021-08-02 21:13:15 +03:00
serb
30b018b55c 8241829: Cleanup the code for PrinterJob on windows
Reviewed-by: prr, aivanov
2021-08-02 21:13:14 +03:00
rfield
7840ab7e3d 8213725: JShell NullPointerException due to class file with unexpected package
Reviewed-by: jlahoda
2021-08-02 21:13:14 +03:00
rfield
0a4ab7ae9a 8247438: JShell: When FailOverExecutionControlProvider fails the proximal cause is not shown
8237743: test/langtools/jdk/jshell/FailOverExecutionControlTest.java fails No ExecutionControlProvider with name 'nonExistent' and parameter keys: []
8199646: JShell tests: jdk/jshell/FailOverDirectExecutionControlTest.java failed with java.lang.UnsupportedOperationException
Reviewed-by: jlahoda
2021-08-02 21:13:14 +03:00
mbaesken
4a9b9ddd48 8260236: better init AnnotationCollector _contended_group
Reviewed-by: coleenp, shade
2021-08-02 21:13:13 +03:00
coleenp
f4c17f8b6c 8234355: Buffer overflow in jcmd GC.class_stats due to too many classes
Summary: Remove use of GC.class_stats in testing and failure analysis (plan to deprecate)
Reviewed-by: dcubed
2021-08-02 21:13:13 +03:00
stuefe
b868dea5db 8259710: Inlining trace leaks memory
Reviewed-by: thartmann, neliasso
2021-08-02 21:13:13 +03:00
thartmann
f0a90c039a 8248411: [aarch64] Insufficient error handling when CodeBuffer is exhausted
Summary: Added error handling.
Reviewed-by: neliasso
2021-08-02 21:13:12 +03:00
vtewari
f4615088ac 8260925: HttpsURLConnection does not work with other JSSE provider.
Reviewed-by: xuelei
2021-08-02 21:13:12 +03:00
cgo
838eb2387f 8261752: Multiple GC test are missing memory requirements
Reviewed-by: phh
Contributed-by: christoph.goettschkes@microdoc.com
2021-08-02 21:13:11 +03:00
abakhtin
76c6dc4591 8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned
Summary: Fix sun.security.provider.SHA3 class to correctly clone its lanes field
Reviewed-by: valeriep
2021-08-02 21:13:11 +03:00
vlivanov
07161d961a 8259276: C2: Empty expression stack when reexecuting tableswitch/lookupswitch instructions after deoptimization
Reviewed-by: dlong, kvn, thartmann
2021-08-02 21:13:11 +03:00
mgronlun
1b113cbc3f 8257569: Failure observed with JfrVirtualMemory::initialize
Reviewed-by: egahlin, poonam
2021-08-02 21:13:10 +03:00
jbhateja
2892ad6bc0 8259777: Incorrect predication condition generated by ADLC
Reviewed-by: vlivanov
2021-08-02 21:13:10 +03:00
roland
3ab381bd9b 8261914: IfNode::fold_compares_helper faces non-canonicalized bool when running JRuby JSON workload
Reviewed-by: kvn, shade
2021-08-02 21:13:09 +03:00
skuksenko
55b5776d7f 8223504: Improve performance of forall loops by better inlining of "iterator()" methods
Reviewed-by: vlivanov, shade
2021-08-02 21:13:09 +03:00
mbaesken
37e13f2348 8261167: print_process_memory_info add a close call after fopen
Reviewed-by: stuefe, dholmes
2021-08-02 21:13:09 +03:00
mbaesken
f5a8794c07 8259786: initialize last parameter of getpwuid_r
Reviewed-by: mdoerr, hseigel
2021-08-02 21:13:08 +03:00
stuefe
61b424d747 8256287: [windows] add loop fuse to map_or_reserve_memory_aligned
Reviewed-by: luhenry, iklam, minqi
2021-08-02 21:13:08 +03:00
roland
a8560f5352 8253923: C2 doesn't always run loop opts for compilations that include loops
Reviewed-by: neliasso, thartmann
2021-08-02 21:13:07 +03:00
naoto
641a44d288 8255086: Update the root locale display names
Reviewed-by: bchristi, joehw
2021-08-02 21:13:07 +03:00
erikj
b406b996f9 8261261: The version extra fields needs to be overridable in jib-profiles.js
Reviewed-by: ihse
2021-08-02 21:13:07 +03:00
mbaesken
1f189822f0 8260432: allocateSpaceForGP in freetypeScaler.c might leak memory
Reviewed-by: shade, stuefe
2021-08-02 21:13:06 +03:00
mbaesken
deeaf56fa3 8260426: awt debug_mem.c DMem_AllocateBlock might leak memory
Reviewed-by: psadhukhan, aivanov
2021-08-02 21:13:06 +03:00
mbaesken
ed04be67c7 8259843: initialize dli_fname array before calling dll_address_to_library_name
Reviewed-by: lucy, dholmes
2021-08-02 21:13:06 +03:00
ngasson
5d54d23310 8262726: AArch64: C1 StubAssembler::call_RT can corrupt stack
Reviewed-by: aph
2021-08-02 21:13:05 +03:00
goetz
1f320da262 8257580: Bump update version for OpenJDK: jdk-11.0.12
Reviewed-by: mdoerr
2021-08-02 21:13:05 +03:00
AlexanderScherbatiy
3fb01ee26b Add stubs for JNFObtainEnv/JNFReleaseEnv methods in Dispatch.m file 2021-08-02 21:12:48 +03:00
AlexanderScherbatiy
b8fc7b2e91 Fix DECLARE_CLASS/METHOD return values 2021-08-02 21:12:48 +03:00
AlexanderScherbatiy
b8add67ee4 Return NSWindowTabbingModeDisallowed from GET_CPLATFORM_WINDOW_CLASS_RETURN 2021-08-02 21:12:47 +03:00
AlexanderScherbatiy
b00ea1cfbc Use GET_CPLATFORM_WINDOW_CLASS_RETURN for method with return value from AWTWindow.m 2021-08-02 21:12:47 +03:00
Alexander Zuev
d597ddafbd 8263846: Bad JNI lookup getFocusOwner in accessibility code on Mac OS X
Reviewed-by: azvegint, prr
2021-08-02 21:12:47 +03:00
Phil Race
6625f22474 8261198: [macOS] Incorrect JNI parameters in number conversion in A11Y code
Reviewed-by: serb, psadhukhan
2021-08-02 21:12:47 +03:00
Alexander Zuev
01f4133f22 8259585: Accessible actions do not work on mac os x
Reviewed-by: serb
2021-08-02 21:12:47 +03:00
Phil Race
b7bd90fe90 8259232: Bad JNI lookup during printing
Reviewed-by: psadhukhan
2021-08-02 21:12:46 +03:00
Vladimir Kempik
e5c9468191 8260616: Removing remaining JNF dependencies in the java.desktop module 8259729: Missed JNFInstanceOf -> IsInstanceOf conversion
Reviewed-by: mdoerr
2021-08-02 21:12:46 +03:00
Vladimir Kempik
6bb87f14a8 8259869: [macOS] Remove desktop module dependencies on JNF Reference APIs
Reviewed-by: mdoerr
2021-08-02 21:12:46 +03:00
Vladimir Kempik
57a8722fbe 8259651: [macOS] Replace JNF_COCOA_ENTER/EXIT macros
Reviewed-by: mdoerr
2021-08-02 21:12:45 +03:00
Vladimir Kempik
436382c220 8259343: [macOS] Update JNI error handling in Cocoa code
Reviewed-by: mdoerr
2021-08-02 21:12:45 +03:00
Vladimir Kempik
a826a12210 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code
Reviewed-by: mdoerr
2021-08-02 21:12:45 +03:00
vkempik
e7daf93c85 8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m
Reviewed-by: ihse, cjplummer
2021-08-02 21:12:45 +03:00
vkempik
282a9485b8 8257858: [macOS]: Remove JNF dependency from libosxsecurity/KeystoreImpl.m
8257860: [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m
Reviewed-by: mdoerr
2021-08-02 21:12:45 +03:00
vkempik
f265ba1086 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched
Reviewed-by: phh
2021-08-02 21:12:44 +03:00
phh
6644278e8a 8267641: [11u] 8227609 backport typo
Summary: Remove extraneous "8227609"
Reviewed-by: yan, mdoerr, sgehwolf
2021-08-02 21:12:44 +03:00
bpb
87ca21711a 8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
Reviewed-by: alanb, lancea, fweimer
2021-08-02 21:12:44 +03:00
bulasevich
ba81371932 8249189: AARCH64: more L2I conversions can be skipped
Reviewed-by: aph
2021-08-02 21:12:43 +03:00
bulasevich
2c3cdba88b 8248870: AARCH64: I2L/L2I conversions can be skipped for masked positive values
Reviewed-by: aph
2021-08-02 21:12:42 +03:00
bulasevich
dc7595ea2b 8248043: Need to eliminate excessive i2l conversions
Reviewed-by: redestad, kvn, iveresov
2021-08-02 21:12:42 +03:00
yzhang
2dfaf4d229 8243155: AArch64: Add support for SqrtVF
Reviewed-by: aph
2021-08-02 21:12:41 +03:00
shade
0036e174ad 8231713: x86_32 build failures after JDK-8226721 (Missing intrinsics for Math.ceil, floor, rint)
Reviewed-by: kvn
2021-08-02 21:12:41 +03:00
neliasso
073f57ae6d 8226721: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: neliasso, vlivanov, ecaspole
Contributed-by: Jatin Bhateja <jatin.bhateja@intel.com>
2021-08-02 21:12:40 +03:00
bsrbnd
290bc74830 8217561: X86: Add floating-point Math.min/max intrinsics
Summary: Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions
Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
Contributed-by: Jatin Bhateja <jatin.bhateja@intel.com>
2021-08-02 21:12:40 +03:00
dlemmond
f5f49b6e44 8239386: handle ContendedPaddingWidth in vm_version_aarch64
Reviewed-by: aph, phh
2021-08-02 21:12:40 +03:00
dongbo
06383fee91 8255625: AArch64: Implement Base64.encodeBlock accelerator/intrinsic
Reviewed-by: aph
2021-08-02 21:12:39 +03:00
roland
7b69e23a4f 8261812: C2 compilation fails with assert(!had_error) failed: bad dominance
Reviewed-by: kvn, thartmann
2021-08-02 21:12:39 +03:00
dchuyko
046a5eca42 8251525: AARCH64: Faster Math.signum(fp)
Reviewed-by: aph, vlivanov, adinn
2021-08-02 21:12:38 +03:00
vkempik
08ab93fe2b 8240487: Cleanup whitespace in .cc, .hh, .m, and .mm files
Reviewed-by: phh
2021-08-02 21:12:38 +03:00
phh
86c315b268 8265099: Revert backport to 11u of 8236859: WebSocket over authenticating proxy fails with NPE
Summary: Revert https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/57e3fa3574ec
Reviewed-by: clanger
2021-08-02 21:12:37 +03:00
yzhang
95ffcc0b19 8243597: AArch64: Add support for integer vector abs
Reviewed-by: aph
2021-08-02 21:12:37 +03:00
pli
c43bcc5456 8241475: AArch64: Add missing support for PopCountVI node
Reviewed-by: aph, njian
2021-08-02 21:12:36 +03:00
pli
ff0303d69c 8214922: Add vectorization support for fmin/fmax
Reviewed-by: adinn, roland
2021-08-02 21:12:36 +03:00
wetmore
230e3ce141 8254631: Better support ALPN byte wire values in SunJSSE
Reviewed-by: xuelei, dfuchs
2021-08-02 21:12:35 +03:00
vkempik
8c83c11efa 8261397: try catch Method failing to work when dividing an integer by 0
Reviewed-by: phh
2021-08-02 21:12:35 +03:00
dpochepk
f5d030fee1 8222412: AARCH64: multiple instructions encoding issues
Reviewed-by: aph
2021-08-02 21:12:35 +03:00
pli
902d29380e 8216259: AArch64: Vectorize Adler32 intrinsics
Reviewed-by: aph
2021-08-02 21:12:34 +03:00
aph
f31624f8c4 8261649: AArch64: Optimize LSE atomics in C++ code
Reviewed-by: adinn
2021-08-02 21:12:34 +03:00
aph
f754b686b5 8261027: AArch64: Support for LSE atomics C++ HotSpot code
Reviewed-by: adinn, phh
2021-08-02 21:12:33 +03:00
dmarkov
639d675ba3 8262446: DragAndDrop hangs on Windows
Reviewed-by: aivanov, serb, kizune
2021-08-02 21:12:33 +03:00
serb
072ee00a51 8257414: Drag n Drop target area is wrong on high DPI systems
Reviewed-by: serb
Contributed-by: Olga Mikhaltsova <omikhaltcova@openjdk.org>
2021-08-02 21:12:33 +03:00
bell-sw
90c1966233 Revert "JBR-1414 DnD on linux (XToolkit) does not honor HIDPI scale"
This reverts commit db6c43b6
2021-08-02 21:12:32 +03:00
Dmitry Batrak
9fdc75969b JBR-3633 Modal dialog is shown not at the same space as its parent
fix the case when space switch is performed by clicking on app icon in dock, or using Cmd+Tab
2021-07-30 18:59:20 +03:00
Dmitry Batrak
c2cdacaddd JBR-3560 [JCK] java.awt.Dialog should throw java.lang.IllegalArgumentException: Wrong parent window
rollback JBR-1255 fix
2021-07-23 20:26:25 +03:00
Artem Semenov
2e925883d5 JBR-3637: Eliminate JBR build warnings from a11y 2021-07-23 15:59:16 +03:00
Dmitry Batrak
a156c6b9bf JBR-3633 Modal dialog is shown not at the same space as its parent 2021-07-21 14:51:39 +03:00
Dmitry Batrak
75335543f2 JBR-3611 Unexpected workspace switch with dialog in full-screen mode on macOS
make test pass with jtreg
2021-07-21 14:51:39 +03:00
Maxim Kartashev
c9143a3b22 JBR-3626 Apply fix for 8261235 to JBR11
8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check

Reviewed-by: thartmann, kvn
2021-07-20 08:36:23 -07:00
Vitaly Provodin
8361529140 update the link to JBR for IDEA 2021.2 RC 2021-07-20 14:40:55 +07:00
Maxim Kartashev
2988403307 fixup! JBR-3618 Add info about releases to JBR README on github 2021-07-19 14:53:45 +03:00
Dmitry Batrak
43fdd6cd26 JBR-3611 Unexpected workspace switch with dialog in full-screen mode on macOS 2021-07-19 10:11:44 +03:00
Maxim Kartashev
9e16583b83 JBR-3618 Add info about releases to JBR README on github 2021-07-16 16:41:54 +03:00
Artem Semenov
390fc567ef JBR-3609: Eliminate regressions caused by JBR-3437 2021-07-16 14:08:55 +03:00
Dmitry Batrak
3674766d65 JBR-3598 [JCK] KEY_TYPED event is not dispatched
another part of the fix
2021-07-14 20:47:54 +03:00
Dmitry Batrak
3b0708af7d JBR-3598 [JCK] KEY_TYPED event is not dispatched 2021-07-14 20:37:14 +03:00
Anton Tarasov
995e2643c6 JBR-3525 SIGSEGV at sun.lwawt.macosx.CAccessible.unregisterFromCocoaAXSystem with enabled VO 2021-07-08 13:57:45 +03:00
Artem Semenov
ff7ca94ca3 JBR-3566: macOS: SIGILL at [libsystem_kernel] NPE in +[JavaComponentAccessibility createWithParent:accessible:role:index:withEnv:withView:isWrapped]: 2021-07-07 15:34:53 +03:00
Artem Semenov
4a393c0243 JBR-3548 macOS: SIGILL at [libsystem_kernel] __kill NPE / +[JavaComponentAccessibility createWithAccessible:withEnv:withView:isCurrent:] 2021-07-07 14:42:57 +03:00
Maxim Kartashev
b4316f0317 JBR-3592 Port 8267307 back to JBR11
8267307: Introduce new client property for XAWT: xawt.mwm_decor_title

Reviewed-by: azvegint, serb
2021-07-07 12:06:56 +03:00
Maxim Kartashev
404a4329c7 JBR-3590 Update JetBrains Runtime README 2021-07-06 18:04:56 +03:00
Nikita Gubarkov
504f91d4d1 JBR-3588 check for zero subpixel glyph resolution and fallback to 1x1 2021-07-06 14:25:31 +03:00
Maxim Kartashev
0895519455 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.
2021-07-06 01:23:31 -07:00
Vitaly Provodin
ba57c58ac7 return back security tests into exclude list 2021-07-06 07:24:20 +07:00
Maxim Kartashev
9d7b365b76 JBR-3393 gc/concurrent_phase_control tests fail in JBR 11
Add the W^X (write-or-execute) thread state transition to synthetic tests
in order to make the state change verification code happy.
2021-07-01 12:43:44 +03:00
Maxim Kartashev
84baaca0e7 JBR-3573 (8257828) Apply fixes for hotspot crashes to JBR11
8257828: SafeFetch may crash if invoked in non-JavaThreads

Reviewed-by: mdoerr, kbarrett, coleenp, dholmes
2021-06-29 16:58:23 +03:00
Maxim Kartashev
555feccdb1 JBR-3573 (8260653) Apply fixes for hotspot crashes to JBR11
8260653: Unreachable nodes keep speculative types alive

Reviewed-by: vlivanov, thartmann
2021-06-29 16:41:11 +03:00
Maxim Kartashev
fc6d53e035 JBR-3573 (8265938) Apply fixes for hotspot crashes to JBR11
8265938: C2's conditional move optimization does not handle top Phi

Reviewed-by: chagedorn, kvn, iignatyev
2021-06-29 16:41:11 +03:00
Maxim Kartashev
3b62f02c8a JBR-3573 (8265784) Apply fixes for hotspot crashes to JBR11
8265784: [C2] Hoisting of DecodeN leaves MachTemp inputs behind

Reviewed-by: kvn, goetz
2021-06-29 16:41:11 +03:00
Maxim Kartashev
4f93d1c06e JBR-3573 (8264640) Apply fixes for hotspot crashes to JBR11
8264640: CMS ParScanClosure misses a barrier

Reviewed-by: yan, johnc
2021-06-29 16:41:11 +03:00
Maxim Kartashev
d85849294a JBR-3573 (8219586) Apply fixes for hotspot crashes to JBR11
8219586: CodeHeap State Analytics processes dead nmethods

Reviewed-by: thartmann, eosterlund
2021-06-29 16:41:11 +03:00
Maxim Kartashev
65fd106b1a JBR-3573 (8250635) Apply fixes for hotspot crashes to JBR11
8250635: MethodArityHistogram should use Compile_lock in favour of fancy checks

Reviewed-by: mdoerr, thartmann
2021-06-29 16:41:10 +03:00
Maxim Kartashev
888350261c JBR-3573 (8217465) Apply fixes for hotspot crashes to JBR11
8217465: [REDO] - Optimize CodeHeap Analytics

Reviewed-by: kvn, thartmann
2021-06-29 16:22:31 +03:00
Maxim Kartashev
923a103580 JBR-3573 (8216314) Apply fixes for hotspot crashes to JBR11
8216314: SIGILL in CodeHeapState::print_names()

Reviewed-by: thartmann, kvn
2021-06-29 16:22:30 +03:00
Maxim Kartashev
2797ba7b4a JBR-3573 (8217918) Apply fixes for hotspot crashes to JBR11
8217918: C2: -XX:+AggressiveUnboxing is broken

Reviewed-by: kvn
2021-06-29 16:22:30 +03:00
Maxim Kartashev
8be8b407c9 JBR-3573 (8262295) Apply fixes for hotspot crashes to JBR11
8262295: C2: Out-of-Bounds Array Load from Clone Source

Reviewed-by: kvn, roland, neliasso, thartmann
2021-06-29 16:22:30 +03:00
Maxim Kartashev
ff4546ee49 JBR-3573 (8265154) Apply fixes for hotspot crashes to JBR11
8265154: vinserti128 operand mix up for KNL platforms

Reviewed-by: thartmann, kvn
2021-06-29 16:22:30 +03:00
Maxim Kartashev
6c9bc39e15 JBR-3573 (8264958) Apply fixes for hotspot crashes to JBR11
8264958: C2 compilation fails with assert "n is later than its clone"

Reviewed-by: neliasso, thartmann
2021-06-29 16:22:30 +03:00
Maxim Kartashev
5e0f7c7a2b JBR-3573 (8259227) Apply fixes for hotspot crashes to JBR11
8259227: C2 crashes with SIGFPE due to a division that floats above its zero check

Reviewed-by: kvn, thartmann
2021-06-29 16:22:30 +03:00
Maxim Kartashev
b7b0c8be3b JBR-3573 (8258505) Apply fixes for hotspot crashes to JBR11
8258505: [TESTBUG] TestDivZeroWithSplitIf.java fails due to missing UnlockDiagnosticVMOptions

Reviewed-by: thartmann, kvn, dcubed
2021-06-29 16:22:30 +03:00
Maxim Kartashev
34472d7aaa JBR-3573 (8257822) Apply fixes for hotspot crashes to JBR11
8257822: C2 crashes with SIGFPE due to a division that floats above its zero check

Reviewed-by: kvn, thartmann
2021-06-29 16:22:30 +03:00
Maxim Kartashev
c607177336 JBR-3573 (8260420) Apply fixes for hotspot crashes to JBR11
8260420: C2 compilation fails with assert(found_sfpt) failed: no node in loop that's not input to safepoint

Reviewed-by: kvn, roland, chagedorn
2021-06-29 16:22:29 +03:00
Maxim Kartashev
9be32d1854 JBR-3573 (8264626) Apply fixes for hotspot crashes to JBR11
8264626: C1 should be able to inline excluded methods

Reviewed-by: iveresov, thartmann
2021-06-29 16:22:29 +03:00
Maxim Kartashev
ec223b32be JBR-3573 (8263448) Apply fixes for hotspot crashes to JBR11
8263448: CTW: fatal error: meet not symmetric

Reviewed-by: roland
2021-06-29 16:22:29 +03:00
Maxim Kartashev
fe329e72bc JBR-3573 (8260255) Apply fixes for hotspot crashes to JBR11
8260255: C1: LoopInvariantCodeMotion constructor can leave some fields uninitialized

Reviewed-by: neliasso, thartmann
2021-06-29 16:22:29 +03:00
Maxim Kartashev
2918bd4f51 JBR-3573 (8262298) Apply fixes for hotspot crashes to JBR11
8262298: G1BarrierSetC2::step_over_gc_barrier fails with assert "bad barrier shape"

Reviewed-by: kvn, vlivanov
2021-06-29 16:22:29 +03:00
Maxim Kartashev
48fbbd929e JBR-3573 (8264360) Apply fixes for hotspot crashes to JBR11
8264360: Loop strip mining verification fails with "should be on the backedge"

Reviewed-by: kvn, thartmann
2021-06-29 16:22:29 +03:00
Maxim Kartashev
fa340f35b0 JBR-3573 (8264096) Apply fixes for hotspot crashes to JBR11
8264096: slowdebug jvm crashes when StrInflatedCopy match rule is not supported

Reviewed-by: thartmann
2021-06-29 16:22:28 +03:00
Maxim Kartashev
e1bea797be JBR-3570 Backport JDK-8265677 to JBR11
8265677: CMS: CardTableBarrierSet::write_ref_array_work() lacks storestore barrier
Reviewed-by: phh
2021-06-25 18:59:35 +03:00
Mikhail Grishchenko
a2a2572f78 updated JTreg exclude list
exclude some tests from security/infra/java/security/cert/CertPathValidator
JBR-3500 exclude sun/java2d/ClassCastExceptionForInvalidSurface.java for linux-all
2021-06-25 19:22:14 +07:00
Maxim Kartashev
7b992c7cd7 JBR-3568 Backport JDK-8261812 to JBR11 2021-06-25 11:15:01 +03:00
Anton Tarasov
8678f41971 JBR-3337 jb/java/jcef/HandleJSQueryTest3314.sh: fails on macOS-aarch64 with "JS Query was not handled in 2nd opened browser" 2021-06-23 18:03:55 +03:00
Denis Konoplev
752c0e5a49 JBR-3544: Generate popup invoked instead of New in this directory
Fix logical error
2021-06-23 12:00:03 +03:00
Denis Konoplev
3ea7913eaf JBR-3544: Generate popup invoked instead of New in this directory
CR: change duplicate Ctrl to Cmd
2021-06-21 22:31:04 +03:00
Anton Tarasov
9b4f72ad18 JBR-3545 Window.setMinimumSize does not respect DPI scaling 2021-06-21 20:42:49 +03:00
Denis Konoplev
d5fa37b63f JBR-3544: Generate popup invoked instead of New in this directory
Fix duplicate system shortcut
2021-06-21 18:26:25 +03:00
Denis Fokin
6a42bb54bd JRE-408 JBR-3515 fix NullPointerException in MetalRootPaneUI.installWindowListeners
(cherry picked from commit 584d554af529cff445b0f09bc2d57be55e138b7a)
2021-06-18 07:18:59 +07:00
Alexey Ushakov
3b03c698ce JBR-2207 TitledBorder leaks PropertyChangeListener
Added a separate pass with sending setVisible(false) to the frames holding TitledBorder references in order to get WINDOW_DEACTIVATED (to clear KeyBoardFocusManager.activeWindow field)
2021-06-16 16:00:55 +03:00
Vitaly Provodin
a56060d465 exclude the test failing because of JDK-8268678 2021-06-15 05:30:09 +07:00
Maxim Kartashev
97ddad2e99 JBR-3516 IDEA doesn't start when located in folder with cyrillic characters
Fix failing Windows x86 builds.
Fixes commit cad1ad4ba1
2021-06-11 11:40:28 +03:00
Maxim Kartashev
01ea54d751 JBR-3520 Correct stack-use-after-scope in jni_NewObjectA
Casting a variable to a non-reference type technically makes the
resulting expression a prvalue, which then gets bound to a reference
that is alive up until the end of the function. The prvalue is then
touched in the destructor of DTraceReturnProbeMark_NewObjectA and this
is detected by Address Sanitizer as stack-use-after-scope.

The fix is to cast to a reference type thus avoiding the creation of the
prvalue and lifetime issues connected with that.
2021-06-09 11:48:37 +03:00
Maxim Kartashev
cad1ad4ba1 JBR-3516 IDEA doesn't start when located in folder with cyrillic characters
Make JVM_LoadLibrary() use new os::dll_load_utf8() interface that
supports UTF-8 path names, leaving other users of os::dll_load()
unaffected.
2021-06-08 12:21:53 +03:00
Alexey Ushakov
c0be778e20 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
2021-06-07 20:54:10 +03:00
Vitaly Provodin
0b659fef1b JBR-3500 exclude ClassCastExceptionForInvalidSurface test only causing Xwayland crash 2021-06-01 04:44:33 +07:00
Vitaly Provodin
e62fb2762f JBR-3500 exclude ClassCastExceptionForInvalidSurface test only causing Xwayland crash 2021-06-01 04:43:20 +07:00
Vitaly Provodin
90fff7bb1e JBR-3500 exclude tests related to JBR-3167 causing Xwayland crash 2021-06-01 04:40:40 +07:00
Nikita Gubarkov
f117b0e8ff JBR-3376 Added check for -1 glyph info pointer in OGLTextRenderer.c 2021-05-24 23:41:25 +03:00
Maxim Kartashev
5a2da540da 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}.
2021-05-21 17:10:04 +03:00
Denis Konoplev
23a7dbd486 EA-252361: Check window for null 2021-05-20 14:14:38 +03:00
Maxim Kartashev
104ef7a512 JBR-3448 Crash when using -Dsun.java2d.trace=count 2021-05-19 15:39:45 +03:00
Artem Semenov
55c667055e JBR-3469: SIGILL at [libsystem_kernel] __kill in -[AWTView accessibleSelectedText]: unrecognized selector sent to instance 2021-05-19 13:43:25 +03:00
Artem Semenov
bc024f9af1 JBR-3437: Refactoring the a11y code 2021-05-18 18:51:34 +03:00
Vitaly Provodin
dbcbc5cf36 exclude tests related to 8233568 and 8258945 2021-05-18 04:44:17 +07:00
Vitaly Provodin
19aa9c5ab2 JBR-3459 Fix race condition in ClassLoaderDataGraph::classes_do
InstanceKlass in ClassLoaderData can be uninitialized when
ClassLoaderDataGraph::classes_do is called. Using
ClassLoaderDataGraph::dictionary_classes_do is safe but problem is still
persisting with anonymous classes.
2021-05-17 07:21:59 +07:00
Vitaly Provodin
4038661a40 JBR-3458 Skip dynamic proxy classes based on com.sun.proxy 2021-05-17 07:21:58 +07:00
Vitaly Provodin
f3f243e15e Support for redefinition of Well Known classses (java.*,jdk.*, sun.*) 2021-05-17 07:21:58 +07:00
Vitaly Provodin
967eca8d1d JBR-3140 - support for modularized HotswapAgent
Add -XX:HotswapAgent=[disabled,fatjar.core]
2021-05-17 07:21:58 +07:00
Vitaly Provodin
c011487364 JBR-3111 Update class in all dictionaries where it was already defined
This patch keeps compatibility with std redefinition, that does not
create a new Klass, but modifies it, then it is modified in all
dictionaries containing this class.
2021-05-17 07:21:57 +07:00
Vitaly Provodin
e90312b97a DCEVM Code cleanup
- Rename confusing method name old_if_redefined to old_if_redefining
- Remove unused is_redefining_gc_run
2021-05-17 07:21:57 +07:00
Vitaly Provodin
3cc4c7947b JBR-3110 Fix assert in MetadataOnStackMark
Fixed fastdebug tests crashes in redefine gc run
2021-05-17 07:21:57 +07:00
Vitaly Provodin
92948257a6 JBR-3106 Check InstanceKlass::has_nestmate_access_to with active classes 2021-05-17 07:21:56 +07:00
Nikita Gubarkov
fcd5fd2fe9 JBR-2924 Added test for SFNS italic font inclination on MacOS 2021-05-16 00:35:45 +03:00
Denis Konoplev
403ad1569a JBR-3409: Fix non-visible dead chars shortcuts on macOS 2021-05-14 02:04:20 +03:00
Denis Konoplev
01ad15e61c JBR-3444: Return NullSurfaceData when gc == null 2021-05-13 15:43:05 +03:00
Alexander Lobas
f10e324538 JBR-3443 Native file dialog on OSX enable filename filter by VM option 2021-05-13 10:11:25 +03:00
Alexander Lobas
7d8cc524ca JBR-3442 Native file dialog on OSX (for open file) doesn't allow pasting path 2021-05-13 10:11:25 +03:00
Anton Tarasov
74252c6df6 JBR-3441 SIGILL at [libsystem_kernel] NPE in +[JavaBaseAccessibility createWithAccessible:withEnv:withView:isCurrent:] 2021-05-12 19:55:49 +03:00
Anton Tarasov
7b3fa30b6b JBR-3359 [followup] SIGILL at [libsystem_kernel] __kill in Internal JNF Error: failed calling Throwable.toString() / -[NSApplication(JCEFApplication) _swizzled_sendEvent:] 2021-05-12 11:31:35 +03:00
Anton Tarasov
90f1b0812e JBR-3359 SIGILL at [libsystem_kernel] __kill in Internal JNF Error: failed calling Throwable.toString() / -[NSApplication(JCEFApplication) _swizzled_sendEvent:] 2021-05-12 10:48:48 +03:00
Maxim Kartashev
a7a678d491 JBR-3416 Introduce new client property for Linux: linux.awt.windowTitleVisible 2021-05-12 00:08:33 -07:00
Artem Semenov
7998f964fa JBR-3432: SIGSEGV at [libjvm] AccessInternal::PostRuntimeDispatch / -[JavaComboBoxAccessibility accessibleSelectedText] 2021-05-11 15:47:01 +03:00
Alexey Ushakov
04ab8b2f04 JBR-3415 bkp from JDK17: 8076313 GraphicsEnvironment does not detect changes in count of monitors on Linux OS
Backport of 8076313: GraphicsEnvironment does not detect changes in count of monitors on Linux OS
Authored-by: serb
Reviewed-by: kizune
2021-05-05 21:07:26 +03:00
Anton Tarasov
3b9e5c41db JBR-3413 [followup] use timeout in CAccessibility.invokeAndWait 2021-05-05 16:35:28 +03:00
Anton Tarasov
e7009db076 JBR-3413 use timeout in CAccessibility.invokeAndWait 2021-05-05 01:05:42 +03:00
Maxim Kartashev
43ac82fc82 JBR-1430: Force test to use UTF-8 file name encoding
Fixes commit 216bf92575.
2021-05-04 15:11:34 +03:00
Artem Semenov
9e6d718281 JBR-3379: IDEA crashes at -[PlatformAxElement isAccessibilityElement] with macOS diagnostic report 2021-04-30 21:09:34 +03:00
Erik Helin
14d64f6e0a 8213231: ThreadSnapshot::_threadObj can become stale
Reviewed-by: dcubed, dholmes, rehn

(cherry-picked from ba5be80bb2)
2021-04-28 15:33:47 +03:00
Maxim Kartashev
744d5d12d0 8256641: CDS VM operations do not lock the heap
Reviewed-by: kbarrett, iklam
(based on commit bacf22b907 by Thomas Schatzl <tschatzl@openjdk.org>)
2021-04-28 15:33:47 +03:00
clanger
292902fa77 Added tag jdk-11.0.11-ga for changeset 15862747ee15 2021-04-28 10:47:04 +07:00
mbalao
3820e0b62a 8257001: Improve Http Client Support
Reviewed-by: clanger
2021-04-28 10:47:03 +07:00
avoitylov
8c55979d40 8249906: Enhance opening JARs
8258247: Couple of issues in fix for JDK-8249906
8259428: AlgorithmId.getEncodedParams() should return copy
Reviewed-by: mbalao
2021-04-28 10:47:02 +07:00
yan
5c275d0a0c 8261183: Follow on to Make lists of normal filenames
Reviewed-by: mbalao
2021-04-28 10:47:01 +07:00
yan
ce154c9ad4 8253799: Make lists of normal filenames
Reviewed-by: mbalao
2021-04-28 10:47:00 +07:00
avoitylov
6d6ab9dfd9 8250568: Less ambiguous processing
Reviewed-by: mbaesken, mbalao
2021-04-28 10:46:59 +07:00
alvdavi
16158c2eef 8259633: compiler/graalunit/CoreTest.java fails with NPE after JDK-8244543
Reviewed-by: clanger
2021-04-28 10:46:59 +07:00
alvdavi
f4d0b285c3 8244543: Enhanced handling of abstract classes
Reviewed-by: mbaesken, mbalao
2021-04-28 10:46:58 +07:00
mbalao
071c02b771 8244473: Contextualize registration for JNDI
Reviewed-by: clanger
2021-04-28 10:46:57 +07:00
clanger
448fa17a19 8263069: Exclude some failing tests from security/infra/java/security/cert/CertPathValidator
Reviewed-by: mbaesken
2021-04-28 10:46:56 +07:00
darcy
bfb3674430 8253409: Double-rounding possibility in float fma
Reviewed-by: bpb
2021-04-28 10:46:55 +07:00
itakiguchi
95857dcfaf 8261920: [AIX] jshell command throws java.io.IOError on non English locales
Reviewed-by: stuefe
2021-04-28 10:46:54 +07:00
abakhtin
5520a4df6d 8259707: LDAP channel binding does not work with StartTLS extension
Reviewed-by: mullan, dfuchs, aefimov
2021-04-28 10:46:53 +07:00
abakhtin
e906af61a5 8245527: LDAP Channel Binding support for Java GSS/Kerberos
Reviewed-by: dfuchs, aefimov, mullan
2021-04-28 10:46:52 +07:00
rkennke
750fbac5eb 8261413: Shenandoah: Disable class-unloading in I-U mode
Reviewed-by: shade, zgu
2021-04-28 10:46:51 +07:00
shade
c5f48bf2cf 8261912: Code IfNode::fold_compares_helper more defensively
Reviewed-by: kvn, thartmann
2021-04-28 10:46:50 +07:00
poonam
630fe55f4b 8257746: Regression introduced with JDK-8250984 - memory might be null in some machines
Reviewed-by: hseigel, mbaesken
2021-04-28 10:46:50 +07:00
iignatyev
1084ca8699 8217848: [Graal] vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java fails
Reviewed-by: kvn, dlong
2021-04-28 10:46:48 +07:00
psadhukhan
9d5c1c0c7e 8213116: javax/swing/JComboBox/WindowsComboBoxSize/WindowsComboBoxSizeTest.java fails in Windows
Reviewed-by: prr
2021-04-28 10:46:48 +07:00
sviswanathan
352882d1dc 8255368: Math.exp() gives wrong result for large values on x86 32-bit platforms
Reviewed-by: darcy, kvn
Contributed-by: Xubo Zhang <xubo.zhang@intel.com>
2021-04-28 10:46:47 +07:00
pconcannon
500634c24c 8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel
Summary: This fix addresses an issue where an AsynchronousCloseException was being thrown instead of a ChannelClosedException when SocketChannel.write() is called on a closed SocketChannel.
Reviewed-by: alanb, chegar, dfuchs, clanger
Contributed-by: Conor Cleary <conor.cleary@oracle.com>
2021-04-28 10:46:46 +07:00
clanger
49822836b8 8262018: Wrong format in SAP copyright header of OsVersionTest
Reviewed-by: mdoerr
2021-04-28 10:46:45 +07:00
pli
fb9c2372f6 8261022: Fix incorrect result of Math.abs() with char type
Reviewed-by: thartmann, neliasso
2021-04-28 10:46:44 +07:00
psadhukhan
9e669bf6b7 8259007: This test printed a blank page
Reviewed-by: prr, serb
2021-04-28 10:46:43 +07:00
prr
6d2a2255f9 8255387: Japanese characters were printed upside down on AIX
Reviewed-by: prr, serb
Contributed-by: Toshio Nakamura <tnakamura@openjdk.org>
2021-04-28 10:46:42 +07:00
dmarkov
e22809895c 8261231: Windows IME was disabled after DnD operation
Reviewed-by: kizune, serb
2021-04-28 10:46:41 +07:00
clanger
5339faf796 8261829: Exclude tools/jlink/JLinkReproducibleTest.java in 11u
Reviewed-by: mdoerr
2021-04-28 10:46:40 +07:00
clanger
9ee13893b0 8261753: Test java/lang/System/OsVersionTest.java still failing on BigSur patch versions after JDK-8253702
Reviewed-by: rriggs
2021-04-28 10:46:39 +07:00
rhalade
3808264809 8256421: Add 2 HARICA roots to cacerts truststore
Reviewed-by: mullan
2021-04-28 10:46:39 +07:00
mdoerr
b8929acd83 8261522: [PPC64] AES intrinsics write beyond the destination array
Reviewed-by: lucy
2021-04-28 10:46:38 +07:00
clanger
f203865ad7 8261534: Test sun/security/pkcs11/KeyAgreement/IllegalPackageAccess.java fails on platforms where no nsslib artifacts are defined
Reviewed-by: mbaesken
2021-04-28 10:46:37 +07:00
rriggs
3c53281d4a 8253702: BigSur version number reported as 10.16, should be 11.nn
Reviewed-by: bpb, kcr
2021-04-28 10:46:36 +07:00
kravikumar
add8207c6f 8260356: (tz) Upgrade time-zone data to tzdata2021a
Reviewed-by: naoto
2021-04-28 10:46:35 +07:00
pli
f3dd1882e0 8218550: Add test omitted from JDK-8212043
Summary: Add test case omitted from fix for JDK-8212043
Reviewed-by: shade
2021-04-28 10:46:35 +07:00
pli
8cbf021a42 8212043: Add floating-point Math.min/max intrinsics
Summary: Floating-point Math.min() and Math.max() intrinsics are enabled on AArch64 platform
Reviewed-by: adinn, aph
2021-04-28 10:46:34 +07:00
kvn
69c0011bad 8215687: [Graal] unit test CheckGraalIntrinsics failed after 8212043
Summary: add check for new intrinsics
Reviewed-by: iveresov, iignatyev
2021-04-28 10:46:33 +07:00
ihse
4be94ec941 8214741: docs/index.html has no title or copyright
Reviewed-by: erikj
2021-04-28 10:46:32 +07:00
rkennke
21117cb19e 8261251: Shenandoah: Use object size for full GC humongous compaction
Reviewed-by: aph, shade
2021-04-28 10:46:31 +07:00
rkennke
a9367e1c03 8260497: Shenandoah: Improve SATB flushing
Reviewed-by: shade, zgu
2021-04-28 10:46:30 +07:00
kbarrett
efeb4ae758 8259271: gc/parallel/TestDynShrinkHeap.java still fails "assert(covered_region.contains(new_memregion)) failed: new region is not in covered_region"
Summary: Use load_acquire to order reads of top and end.
Reviewed-by: tschatzl, iwalulya, eosterlund
2021-04-28 10:46:29 +07:00
kbarrett
94f8e8c89f 8260704: ParallelGC: oldgen expansion needs release-store for _end
Summary: Move JDK-8257999 barrier to correct location.
Reviewed-by: tschatzl, sjohanss
2021-04-28 10:46:28 +07:00
alexsch
700429b2a7 8256264: Printed GlyphVector outline with low DPI has bad quality on Windows
Reviewed-by: serb
2021-04-28 10:46:27 +07:00
andrew
7526030be1 8259949: x86 32-bit build fails when -fcf-protection is passed in the compiler flags
Summary: Use -march=i686 instead of -march=i586 if -fcf-protection is passed to the build as CMOV is required
Reviewed-by: erikj
2021-04-28 10:46:26 +07:00
shade
c2a8422d7f 8259451: Zero: skip serviceability/sa tests, set vm.hasSA to false
Reviewed-by: sgehwolf, cjplummer
2021-04-28 10:46:26 +07:00
dfuchs
9e21248180 8257707: Fix incorrect format string in Http1HeaderParser
Reviewed-by: shade
Contributed-by: Andrey Turbanov <turbanoff@gmail.com>
2021-04-28 10:46:25 +07:00
shade
cd103bbab8 8256220: C1: x86_32 fails with -XX:UseSSE=1 after JDK-8210764 due to mishandled lir_neg
Reviewed-by: chagedorn
2021-04-28 10:46:24 +07:00
shade
44fc8d89d3 8261310: PPC64 Zero build fails with 'VMError::controlled_crash(int)::FunctionDescriptor functionDescriptor' has incomplete type and cannot be defined
Reviewed-by: stuefe, iklam
2021-04-28 10:46:23 +07:00
poonam
0a01980897 8211150: G1 Full GC not purging code root memory and hence causing memory leak
Reviewed-by: tschatzl, sjohanss
2021-04-28 10:46:21 +07:00
stuefe
7d74096fbc 8261334: NMT: tuning statistic shows incorrect hash distribution
Reviewed-by: zgu, shade
2021-04-28 10:46:20 +07:00
dholmes
2220a431e0 8260349: Cannot programmatically retrieve Metaspace max set via JAVA_TOOL_OPTIONS
Reviewed-by: shade, stuefe
2021-04-28 10:46:19 +07:00
egahlin
e74bee8349 8245283: JFR: Can't handle constant dynamic used by Jacoco agent
Reviewed-by: mgronlun
2021-04-28 10:46:19 +07:00
mgronlun
50483f3c81 8232905: JFR fails with assertion: assert(t->unflushed_size() == 0) failed: invariant
Reviewed-by: egahlin
2021-04-28 10:46:18 +07:00
dholmes
8387ea9380 8222518: Remove unnecessary caching of Parker object in java.lang.Thread
Reviewed-by: dcubed, rehn
2021-04-28 10:46:17 +07:00
shade
60d66beaf7 8260632: Build failures after JDK-8253353
Reviewed-by: stuefe, thartmann, kvn
2021-04-28 10:46:17 +07:00
kvn
56acccd6a6 8253353: Crash in C2: guarantee(n != NULL) failed: No Node
Reviewed-by: vlivanov, neliasso
Contributed-by: Fei Yang <fyang@openjdk.org>
2021-04-28 10:46:16 +07:00
sgehwolf
f6d3a8b591 8261089: [TESTBUG] native library of test TestCheckedReleaseCriticalArray.java fails to compile with gcc 4.x
Reviewed-by: sgehwolf
Contributed-by: Jayashree Huttanagoudar <jhuttana@redhat.com>
2021-04-28 10:46:15 +07:00
jjiang
db9b7f2787 8246709: sun/security/tools/jarsigner/TsacertOptionTest.java compilation failed after JDK-8244683
Reviewed-by: weijun
2021-04-28 10:46:14 +07:00
jjiang
25e7ea9c8b 8244683: A TSA server used by tests
Reviewed-by: weijun
2021-04-28 10:46:14 +07:00
stefank
d5523eb04d 8234508: VM_HeapWalkOperation::iterate_over_object reads non-strong fields with an on-strong load barrier
Reviewed-by: pliden, eosterlund
2021-04-28 10:46:13 +07:00
rkennke
b4d463e431 8259849: Shenandoah: Rename store-val to IU-barrier
Reviewed-by: zgu, shade
2021-04-28 10:46:12 +07:00
iignatyev
565ff2f838 8243618: compiler/rtm/cli tests can be run w/o WhiteBox
Reviewed-by: thartmann
2021-04-28 10:46:12 +07:00
shade
4d8238cd7b 8256290: javac/lambda/T8031967.java fails with StackOverflowError on x86_32
Reviewed-by: mcimadamore
2021-04-28 10:46:11 +07:00
zgu
a26821d6e2 8251359: Shenandoah: filter null oops before calling enqueue/SATB barrier
Reviewed-by: shade
2021-04-28 10:46:10 +07:00
coleenp
0f9df78ac9 8086003: Test fails on OSX with java.lang.RuntimeException 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing
Summary: Make the test reserve 1G rather than 3G, so it is more reliable.
Reviewed-by: hseigel, stuefe
2021-04-28 10:46:10 +07:00
ysuenaga
abfc410137 8260338: Some fields in HaltNode is not cloned
Reviewed-by: xliu, neliasso, thartmann
2021-04-28 10:46:09 +07:00
jbhateja
56c8a4b903 8259773: Incorrect encoding of AVX-512 kmovq instruction
Reviewed-by: vlivanov
2021-04-28 10:46:08 +07:00
cjplummer
d3f7396d47 7107012: sun.jvm.hostspot.code.CompressedReadStream readDouble() conversion to long mishandled
Reviewed-by: sspitsyn, dcubed
2021-04-28 10:46:07 +07:00
zgu
78e8501e6f 8237392: Shenandoah: Remove unreliable assertion
Reviewed-by: shade
2021-04-28 10:46:07 +07:00
zgu
7c281c4e71 8237369: Shenandoah: failed vmTestbase/nsk/jvmti/AttachOnDemand/attach021/TestDescription.java test
Reviewed-by: rkennke
2021-04-28 10:46:06 +07:00
stefank
5aac53496f 8235324: Dying objects are published from users of CollectedHeap::object_iterate
Reviewed-by: pliden, eosterlund, sjohanss, rkennke
2021-04-28 10:46:05 +07:00
rkennke
be5409fd7e 8249787: Make TestGCLocker more resilient with concurrent GCs
Reviewed-by: eosterlund, tschatzl
2021-04-28 10:46:05 +07:00
shade
853c9a1c18 8259580: Shenandoah: uninitialized label in VerifyThreadGCState
Reviewed-by: zgu, rkennke
2021-04-28 10:46:04 +07:00
shade
d5bb0ebb7e 8259954: gc/shenandoah/mxbeans tests fail with -Xcomp
Reviewed-by: rkennke, zgu
2021-04-28 10:46:04 +07:00
rkennke
77dc0c8a0d 8249543: Force DirectBufferAllocTest to run with -ExplicitGCInvokesConcurrent
Reviewed-by: alanb
2021-04-28 10:46:03 +07:00
shade
0f4ce76379 8259619: C1: 3-arg StubAssembler::call_RT stack-use condition is incorrect
Reviewed-by: chagedorn, kvn
2021-04-28 10:46:03 +07:00
shade
7aae705e03 8251944: Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java
Reviewed-by: rkennke, adityam
2021-04-28 10:46:02 +07:00
rkennke
257c2089b9 8255401: Shenandoah: Allow oldval and newval registers to overlap in cmpxchg_oop()
Reviewed-by: roland
2021-04-28 10:46:02 +07:00
sgehwolf
4673cad7a7 8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive
Reviewed-by: dcubed, shade
2021-04-28 10:46:01 +07:00
sgehwolf
070af3dd26 8258836: JNI local refs exceed capacity getDiagnosticCommandInfo
Reviewed-by: cjplummer, shade
2021-04-28 10:46:00 +07:00
mdoerr
88a99dacaa 8260502: [s390] NativeMovRegMem::verify() fails because it's too strict
Reviewed-by: lucy, rrich
2021-04-28 10:46:00 +07:00
iignatyev
a74d89f57b 8260308: Update LogCompilation junit to 4.13.1
Reviewed-by: ecaspole, iignatyev
Contributed-by: Dan Lutker <lutkerd@amazon.com>
2021-04-28 10:45:59 +07:00
dholmes
daf57531ef 8221584: SIGSEGV in os::PlatformEvent::unpark() in JvmtiRawMonitor::raw_exit while posting method exit event
Reviewed-by: dholmes, dcubed
Contributed-by: robbin.ehn@oracle.com, stefan.karlsson@oracle.com
2021-04-28 10:45:59 +07:00
fyang
875447134f 8210413: AArch64: Optimize div/rem by constant in C1
Summary: Remove div-by-zero check for non-zero divisor and generate cheap instructions if divisor is power-of-2
Reviewed-by: aph
Contributed-by: pengfei.li@arm.com
2021-04-28 10:45:58 +07:00
mbalao
d0d25416fc 8258833: Cancel multi-part cipher operations in SunPKCS11 after failures
Reviewed-by: valeriep
2021-04-28 10:45:57 +07:00
dholmes
e36b430f9a 8258077: Using -Xcheck:jni can lead to a double-free after JDK-8193234
8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
Reviewed-by: dcubed, hseigel
2021-04-28 10:45:56 +07:00
yzheng
8a6d4acb9f 8257910: [JVMCI] Set exception_seen accordingly in the runtime.
Reviewed-by: kvn
2021-04-28 10:45:55 +07:00
jpai
71181df1ac 7146776: deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection
Reviewed-by: alanb, chegar
2021-04-28 10:45:55 +07:00
fyang
2f663089b0 8260029: aarch64: fix typo in verify_oop_array
Reviewed-by: shade, aph
Contributed-by: Fei Yang <fyang@openjdk.org>, Zhuxuan Ni <nizhuxuan@huawei.com>
2021-04-28 10:45:54 +07:00
weijun
a16fcfdf93 8218482: sun/security/krb5/auto/ReplayCachePrecise.java failed - no KrbException thrown
Reviewed-by: mullan
2021-04-28 10:45:54 +07:00
dmarkov
f22e1413f4 8258805: Japanese characters not entered by mouse click on Windows 10
Reviewed-by: aivanov
2021-04-28 10:45:53 +07:00
mbalao
521828f6d1 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes
Reviewed-by: valeriep, mullan, goetz
2021-04-28 10:45:52 +07:00
kravikumar
7229b67238 8259048: (tz) Upgrade time-zone data to tzdata2020f
Reviewed-by: naoto, erikj
2021-04-28 10:45:51 +07:00
skodandarama
cb7f1ffe07 8258884: [TEST_BUG] Convert applet-based test open/test/jdk/javax/swing/JMenuItem/8031573/bug8031573.java to a regular java test
Reviewed-by: aivanov, serb
2021-04-28 10:45:51 +07:00
ysuenaga
7513798519 8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks, sgehwolf
2021-04-28 10:45:50 +07:00
vlivanov
8939e85fb2 8256061: RegisterSaver::save_live_registers() omits upper halves of ZMM0-15 registers
Reviewed-by: kvn
2021-04-28 10:45:49 +07:00
vlivanov
35cab2f35d 8256056: Deoptimization stub doesn't save vector registers on x86
Reviewed-by: redestad, kvn
2021-04-28 10:45:48 +07:00
dfuchs
bc95f47b02 8248865: Document JNDI/LDAP timeout properties
Summary: documentation added in the module-info of java.naming
Reviewed-by: chegar, aefimov, mullan
2021-04-28 10:45:47 +07:00
erikj
2706d5cb2b 8257633: Missing -mmacosx-version-min=X flag when linking libjvm
Reviewed-by: mikael
2021-04-28 10:45:47 +07:00
valeriep
80be66ba39 8244154: Update SunPKCS11 provider with PKCS11 v3.0 header files
Reviewed-by: weijun
2021-04-28 10:45:46 +07:00
weijun
d38ecb09d1 8258419: RSA cipher buffer cleanup
Reviewed-by: valeriep
2021-04-28 10:45:45 +07:00
serb
9adaec3e08 8258373: Update the text handling in the JPasswordField
Reviewed-by: kizune, prr, psadhukhan
2021-04-28 10:45:45 +07:00
jjiang
e1738f3d47 8180837: SunPKCS11-NSS tests failing with CKR_ATTRIBUTE_READ_ONLY and CKR_MECHANISM_PARAM_INVALID
Reviewed-by: xuelei, goetz
2021-04-28 10:45:44 +07:00
pconcannon
a07704dcde 8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
Summary: Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.
Reviewed-by: alanb, dfuchs
2021-04-28 10:45:43 +07:00
mbaesken
c5ec465255 8256258: some missing NULL checks or asserts after CodeCache::find_blob_unsafe
Reviewed-by: shade
2021-04-28 10:45:42 +07:00
mbaesken
910d41f4f8 8255681: print callstack in error case in runAWTLoopWithApp
Reviewed-by: clanger, serb
2021-04-28 10:45:42 +07:00
thartmann
f20aec9544 8259706: C2 compilation fails with assert(vtable_index == Method::invalid_vtable_index) failed: correct sentinel value
Reviewed-by: lucy, chagedorn
2021-04-28 10:45:40 +07:00
thartmann
d0ff9f7830 8259339: AllocateUninitializedArray C2 intrinsic fails with void.class input
Reviewed-by: kvn, chagedorn
2021-04-28 10:45:40 +07:00
prr
5be0724dda 8256888: Client manual test problem list update
Reviewed-by: serb
2021-04-28 10:45:39 +07:00
mullan
71bf0b2560 8257083: Security infra test failures caused by JDK-8202343
Reviewed-by: xuelei
2021-04-28 10:45:39 +07:00
mullan
40ec3a2df9 8256682: JDK-8202343 is incomplete
Reviewed-by: dfuchs
2021-04-28 10:45:38 +07:00
mullan
1a889b37c0 8202343: Disable TLS 1.0 and 1.1
Reviewed-by: xuelei, dfuchs, coffeys
2021-04-28 10:45:37 +07:00
kvn
3d4a4b22b9 8257561: Some code is not vectorized after 8251925 and 8250607
Reviewed-by: chagedorn, vlivanov, thartmann
2021-04-28 10:45:36 +07:00
redestad
579c394338 8241649: Optimize Character.toString
Reviewed-by: redestad, rriggs
Contributed-by: sergei.tsypanov@yandex.ru
2021-04-28 10:45:35 +07:00
chagedorn
2efe368304 8253644: C2: assert(skeleton_predicate_has_opaque(iff)) failed: unexpected
Reviewed-by: roland, kvn
2021-04-28 10:45:35 +07:00
roland
df62d74c8f 8257575: C2: "failed: only phis" assert failure in loop strip mining verification
Reviewed-by: thartmann, neliasso
2021-04-28 10:45:34 +07:00
shade
53b11621ca 8259231: Epsilon: improve performance under contention during virtual space expansion
Reviewed-by: shade
Contributed-by: Lehua Ding <lehuading@tencent.com>
2021-04-28 10:45:33 +07:00
jiefu
cdbc7c5ef6 8258534: Epsilon: clean up unused includes
Reviewed-by: shade, jiefu
Contributed-by: Lehua Ding <lehuading@tencent.com>
2021-04-28 10:45:33 +07:00
iklam
64d5b87d66 8257565: epsilonBarrierSet.hpp should not include barrierSetAssembler
Reviewed-by: kbarrett, stuefe, shade
2021-04-28 10:45:32 +07:00
shade
1272dd6232 8253220: Epsilon: clean up unused code/declarations
Reviewed-by: tschatzl
2021-04-28 10:45:31 +07:00
erikj
85a7a9efb2 8257547: Handle multiple prereqs on the same line in deps files
8256810: Incremental rebuild broken on Macosx
Reviewed-by: ihse, tbell
2021-04-28 10:45:31 +07:00
alitvinov
eef6aa8e58 8255880: UI of Swing components is not redrawn after their internal state changed
Reviewed-by: prr, serb
2021-04-28 10:45:30 +07:00
mullan
11f619cc8b 8242565: Policy initialization issues when the denyAfter constraint is enabled
Reviewed-by: weijun
2021-04-28 10:45:29 +07:00
aivanov
e11674028b 8256187: [TEST_BUG] Automate bug4275046.java test
Reviewed-by: aivanov, psadhukhan
Contributed-by: skodanda <70650887+skodanda@users.noreply.github.com>
2021-04-28 10:45:29 +07:00
rhalade
4895f13846 8259312: VerifyCACerts.java fails as soneraclass2ca cert will expire in 90 days
Reviewed-by: mullan
2021-04-28 10:45:28 +07:00
srukmannagar
88b60f34ec 8245512: CRC32 optimization using AVX512 instructions
Reviewed-by: kvn
2021-04-28 10:45:27 +07:00
asotona
7acf76118c 8244573: java.lang.ArrayIndexOutOfBoundsException thrown for malformed class file
Summary: Fixed java.lang.ArrayIndexOutOfBoundsException in com.sun.tools.classfile.Code_attribute.getInstructions() for methods with no instructions
Reviewed-by: vromero
2021-04-28 10:45:26 +07:00
shade
a6b6b17282 8256757: Incorrect MachCallRuntimeNode::ret_addr_offset() for CallLeafNoFP on x86_32
Reviewed-by: jiefu, kvn
2021-04-28 10:45:26 +07:00
roland
85ba8dd702 8253524: C2: Refactor code that clones predicates during loop unswitching
Reviewed-by: chagedorn, kvn, thartmann
2021-04-28 10:45:25 +07:00
chagedorn
38ddd2a2cd 8259049: Uninitialized variable after JDK-8257513
Reviewed-by: kvn, thartmann
2021-04-28 10:45:25 +07:00
chagedorn
89a087236a 8257513: C2: assert((constant_addr - _masm.code()->consts()->start()) == con.offset())
Reviewed-by: kvn, thartmann
2021-04-28 10:45:24 +07:00
eliu
224fa7de7d 8256387: Unexpected result if patching an entire instruction on AArch64
Reviewed-by: shade, aph
2021-04-28 10:45:23 +07:00
erikj
990802f817 8256751: Incremental rebuild with precompiled header fails when touching a header file
Reviewed-by: ihse
2021-04-28 10:45:22 +07:00
burban
6c186a9959 8256633: Fix product build on Windows+Arm64
Reviewed-by: shade
2021-04-28 10:45:22 +07:00
jbachorik
cf03ac79a4 8258396: SIGILL in jdk.jfr.internal.PlatformRecorder.rotateDisk()
Reviewed-by: mgronlun
2021-04-28 10:45:21 +07:00
chagedorn
9a78559379 8256807: C2: Not marking stores correctly as mismatched in string opts
Reviewed-by: vlivanov, roland, thartmann
2021-04-28 10:45:20 +07:00
thartmann
2a455e32ea 8257594: C2 compiled checkcast of non-null object triggers endless deoptimization/recompilation cycle
Reviewed-by: roland, vlivanov
2021-04-28 10:45:19 +07:00
simonis
4d1917144c 8255742: PrintInlining as compiler directive doesn't print virtual calls
Reviewed-by: thartmann, kvn
2021-04-28 10:45:18 +07:00
sjohanss
03d9a10203 8245026: PsAdaptiveSizePolicy::_old_gen_policy_is_ready is unused
Reviewed-by: sjohanss, pliden
Contributed-by: Joakim Nordstrom <joakim.nordstrom@oracle.com>
2021-04-28 10:45:17 +07:00
kbarrett
46bc0d7b50 8257999: Parallel GC crash in gc/parallel/TestDynShrinkHeap.java: new region is not in covered_region
Reviewed-by: sjohanss, tschatzl
2021-04-28 10:45:17 +07:00
aph
f388b74894 8256359: AArch64: runtime/ReservedStack/ReservedStackTestCompiler.java fails
Reviewed-by: shade, adinn
2021-04-28 10:45:15 +07:00
clanger
bd0c3e2eb0 8257997: sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java again reports leaks after JDK-8257884
Reviewed-by: mbaesken
2021-04-28 10:45:14 +07:00
clanger
f002bd9ae6 8257884: Re-enable sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java as automatic test
Reviewed-by: xuelei
2021-04-28 10:45:14 +07:00
xuelei
963e4ddaba 8257670: sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java reports leaks
Reviewed-by: jnimeh
2021-04-28 10:45:13 +07:00
clanger
6e7767c92a 8256818: SSLSocket that is never bound or connected leaks socket resources
Reviewed-by: xuelei
2021-04-28 10:45:12 +07:00
rehn
f8f9621456 8234742: Improve handshake logging
Reviewed-by: dholmes, pchilanomate
2021-04-28 10:45:11 +07:00
mdoerr
6671330e27 8257798: [PPC64] undefined reference to Klass::vtable_start_offset()
Reviewed-by: goetz
2021-04-28 10:45:11 +07:00
mdoerr
ce5d7b61a2 8257423: [PPC64] Support -XX:-UseInlineCaches
Reviewed-by: stuefe, rrich
2021-04-28 10:45:10 +07:00
chagedorn
1710c8869f 8255058: C1: assert(is_virtual()) failed: type check
Reviewed-by: neliasso, kvn
2021-04-28 10:45:10 +07:00
pkumaraswamy
1ae8aba390 8255559: Leak File Descriptors Because of ResolverLocalFilesystem#engineResolveURI()
Reviewed-by: weijun
2021-04-28 10:45:09 +07:00
serb
371ceba9ab 8237495: Java MIDI fails with a dereferenced memory error when asked to send a raw 0xF7
Reviewed-by: kizune
2021-04-28 10:45:09 +07:00
aph
695abc55e5 8255544: Create a checked cast
Reviewed-by: adinn, iklam
2021-04-28 10:45:08 +07:00
roland
0b12caa57b 8254734: "dead loop detected" assert failure with patch from 8223051
Reviewed-by: chagedorn, kvn
2021-04-28 10:45:08 +07:00
serb
c9f8cd4421 8253681: closed java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Reviewed-by: shade
2021-04-28 10:45:07 +07:00
serb
44228aa152 8253274: The CycleDMImagetest brokes the system
Reviewed-by: prr
2021-04-28 10:45:06 +07:00
ngasson
1801b1f7d6 8256025: AArch64: MachCallRuntimeNode::ret_addr_offset() is incorrect for stub calls
Reviewed-by: aph
2021-04-28 10:45:06 +07:00
ngasson
3107c6adbc 8237483: AArch64 C1 OopMap inserted twice fatal error
Reviewed-by: aph
2021-04-28 10:45:05 +07:00
phedlin
e8e2ccc347 8248901: Signed immediate support in .../share/assembler.hpp is broken.
Reviewed-by: neliasso, kvn, thartmann
2021-04-28 10:45:04 +07:00
fyang
54a0e73af1 8243670: Unexpected test result caused by C2 MergeMemNode::Ideal
Reviewed-by: thartmann, roland
Contributed-by: zhouyong44@huawei.com
2021-04-28 10:45:03 +07:00
clanger
0979d4f31b 8242030: Wrong package declarations in jline classes after JDK-8241598
Reviewed-by: jlahoda
2021-04-28 10:45:02 +07:00
jlahoda
8be76d512c 8241598: Upgrade JLine to 3.14.0
Summary: Upgrading to JLine 3.14.0
Reviewed-by: psandoz, rfield
2021-04-28 10:45:01 +07:00
roland
10ffe89144 8240795: [REDO] 8238384 CTW: C2 compilation fails with "assert(store != load->find_exact_control(load->in(0))) failed: dependence cycle found"
Reviewed-by: kvn, thartmann
2021-04-28 10:44:59 +07:00
roland
b0e6a142bc 8253756: C2 CompilerThread0 crash in Node::add_req(Node*)
Reviewed-by: vlivanov, thartmann
2021-04-28 10:44:59 +07:00
aph
ee1b5a8eec 8248336: AArch64: C2: offset overflow in BoxLockNode::emit
Reviewed-by: adinn
2021-04-28 10:44:58 +07:00
phedlin
ede272d863 8247200: assert((unsigned)fpargs < 32)
Reviewed-by: aph, neliasso
2021-04-28 10:44:58 +07:00
yzhang
1cf05bcb67 8241911: AArch64: Fix a potential register clash issue in reduce_add2I
Reviewed-by: aph
2021-04-28 10:44:57 +07:00
sgehwolf
f32b2bccc3 8255908: ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem
Reviewed-by: clanger
2021-04-28 10:44:57 +07:00
chagedorn
de8c05df2a 8251925: C2: RenaissanceStressTest fails with assert(!had_error): bad dominance
Reviewed-by: kvn, thartmann
2021-04-28 10:44:56 +07:00
kvn
a82f6ed257 8251992: VM crashed running TestComplexAddrExpr.java test with -XX:UseAVX=X
Reviewed-by: shade, redestad
2021-04-28 10:44:55 +07:00
kvn
75558a1f13 8249749: modify a primitive array through a stream and a for cycle causes jre crash
Summary: Check align_to_ref for NULL early and bailout SuperWord optimization.
Reviewed-by: vlivanov, thartmann
2021-04-28 10:44:55 +07:00
iveresov
0b23870353 8254104: MethodCounters must exist before nmethod is installed
Reviewed-by: dnsimon, kvn
2021-04-28 10:44:54 +07:00
ysuenaga
3d9761fe49 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2021-04-28 10:44:54 +07:00
alanb
b361e49c5d 8241770: Module xxxAnnotation() methods throw NCDFE if module-info.class found as resource in unnamed module
Reviewed-by: mchung
2021-04-28 10:44:53 +07:00
mchung
1b4521f76e 8225773: jdeps --check produces NPE if there are missing module dependences
Reviewed-by: alanb
2021-04-28 10:44:53 +07:00
mchung
578c46d142 8229396: jdeps ignores multi-release when generate-module-info used on command line
Reviewed-by: alanb
2021-04-28 10:44:52 +07:00
thartmann
8b938e54a8 8233164: C2 fails with assert(phase->C->get_alias_index(t) == phase->C->get_alias_index(t_adr)) failed: correct memory chain
Summary: Use _src_type/_dest_type as address types for the loads and stores.
Reviewed-by: vlivanov, roland
2021-04-28 10:44:51 +07:00
mchung
63a2f90347 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2021-04-28 10:44:50 +07:00
jjiang
0dbd0d0d9e 8245005: javax/net/ssl/compatibility/BasicConnectTest.java failed with No enum constant
Reviewed-by: xuelei
2021-04-28 10:44:50 +07:00
ysuenaga
5eea5ec4c4 8258471: "search codecache" clhsdb command does not work
Reviewed-by: cjplummer, sspitsyn
2021-04-28 10:44:49 +07:00
ehelin
04536355c3 8214230: Classes generated by SystemModulesPlugin.java are not reproducable
Reviewed-by: alanb, redestad, mchung, phh
2021-04-28 10:44:48 +07:00
rehn
0e2c5fff47 8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
Reviewed-by: dholmes, pliden, coleenp
2021-04-28 10:44:47 +07:00
hseigel
972b5a8bc1 8253476: TestUseContainerSupport.java fails on some Linux kernels w/o swap limit capabilities
Reviewed-by: bobv, coleenp
2021-04-28 10:44:47 +07:00
psadhukhan
70965577c5 8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
Reviewed-by: serb, prr
2021-04-28 10:44:46 +07:00
serb
d1b89469dd 8232225: Rework the fix for JDK-8071483
Reviewed-by: prr
2021-04-28 10:44:39 +07:00
dpochepk
7a1da1450c 8221995: AARCH64: problems with CAS instructions encoding
Reviewed-by: aph
2021-04-28 10:44:30 +07:00
mchung
1c855a3f78 8214223: tools/jdeps/listdeps/ListModuleDeps.java failed due to missing Lib2 file
Reviewed-by: lancea, alanb
2021-04-28 10:43:30 +07:00
mchung
d298ac8fcb 8213909: jdeps --print-module-deps should report missing dependences
8168869: jdeps: localized messages don't use proper line breaks
Reviewed-by: sundar
2021-04-28 10:43:28 +07:00
mchung
e0f416a338 8211051: jdeps usage of --dot-output doesn't provide valid output for modular jar
Reviewed-by: sundar
2021-04-28 10:43:27 +07:00
alanb
06cff86e4b 8211825: ModuleLayer.defineModulesWithXXX does not setup delegation when module reads automatic module
Reviewed-by: mchung
2021-04-28 10:43:26 +07:00
cushon
b89faecc44 8211057: Gensrc step CompileProperties generates unstable CompilerProperties output
Reviewed-by: mcimadamore, vromero
2021-04-28 10:43:25 +07:00
rehn
4fa4b49893 8244340: Handshake processing thread lacks yielding
Reviewed-by: pchilanomate, dholmes, dcubed
2021-04-28 10:43:24 +07:00
rehn
eda0c03828 8214180: Need better granularity for sleeping
Reviewed-by: eosterlund, dcubed, dholmes
2021-04-28 10:43:23 +07:00
jlaskey
d975512709 8255845: Memory leak in imageFile.cpp
Reviewed-by: jlaskey, sundar
Contributed-by: Evan Whelan <ewhelan@openjdk.org>
2021-04-28 10:43:23 +07:00
rriggs
98022ef10f 8240704: CheckHandles.java failed "AssertionError: Handle use increased by more than 10 percent."
Reviewed-by: dfuchs
2021-04-28 10:43:22 +07:00
rschmelter
f60744a073 8256489: Make gtest for long path names on Windows more resilient in the presence of virus scanners
Reviewed-by: dholmes, clanger
2021-04-28 10:43:21 +07:00
serb
1d260966a9 8244088: [Regression] Switch of Gnome theme ends up in deadlocked UI
Reviewed-by: serb
Contributed-by: Jayashree S Kumar <jayashreesk@in.ibm.com>
2021-04-28 10:43:21 +07:00
pbansal
030badde79 8225805: Java Access Bridge does not close the logger
Reviewed-by: dmarkov, jdv
2021-04-28 10:43:20 +07:00
adinn
8dcb78499d 8210578: AArch64: Invalid encoding for fmlsvs instruction
Summary: sub_op code for fmslvs should be 1 not 0
Reviewed-by: roland
2021-04-28 10:43:19 +07:00
fyang
a9996adfe0 8233912: aarch64: minor improvements of atomic operations
Reviewed-by: aph
2021-04-28 10:43:19 +07:00
zgu
f75bbf78b7 8229474: Shenandoah: Cleanup CM::update_roots()
Reviewed-by: rkennke
2021-04-28 10:43:18 +07:00
simonis
1f3e9d5788 8257436: [aarch64] Regressions in ArrayCopyUnalignedDst.testByte/testChar for 65-78 bytes when UseSIMDForMemoryOps is on
Reviewed-by: simonis
Contributed-by: Evgeny Astigeevich <eastig@amazon.com>
2021-04-28 10:43:18 +07:00
simonis
2c94df2c6e 8256488: [aarch64] Use ldpq/stpq instead of ld4/st4 for small copies in StubGenerator::copy_memory
Reviewed-by: simonis
Contributed-by: Evgeny Astigeevich <eastig@amazon.com>
2021-04-28 10:43:17 +07:00
kvn
e6b04f49a7 8255351: Add detection for Graviton 2 CPUs
Reviewed-by: simonis, kvn
Contributed-by: Evgeny Astigeevich <eastig@amazon.com>
2021-04-28 10:43:16 +07:00
stuefe
418536236c 8254748: Bad Copyright header format after JDK-8212218
Reviewed-by: shade, dholmes
2021-04-28 10:43:15 +07:00
stuefe
5bbd7111dc 8254799: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java fails with release VMs
Reviewed-by: dholmes, dcubed, stuefe
2021-04-28 10:43:15 +07:00
stuefe
c96537700e 8212218: [TESTBUG] runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java timed out
Reviewed-by: iklam, lmesnik
2021-04-28 10:43:14 +07:00
stuefe
9d2cd63c99 8255734: VM should ignore SIGXFSZ on ppc64, s390 too
Reviewed-by: mdoerr, lucy
2021-04-28 10:43:13 +07:00
stuefe
5159453642 8251255: [linux] Add process-memory information to hs-err and VM.info
Reviewed-by: dholmes, mdoerr
2021-04-28 10:43:13 +07:00
stuefe
2ff1def28c 8250911: [windows] os::pd_map_memory() error detection broken
Reviewed-by: iklam, kbarrett
2021-04-28 10:43:12 +07:00
mbaesken
a102540dc8 8249588: libwindowsaccessbridge issues on 64bit Windows
Reviewed-by: arapte, prr
2021-04-28 10:43:12 +07:00
shade
76dbf04010 8240751: Shenandoah: fold ShenandoahTracer definition
Reviewed-by: adityam, zgu
2021-04-28 10:43:11 +07:00
shade
8b3a1a7fec 8256806: Shenandoah: optimize shenandoah/jni/TestPinnedGarbage.java test
Reviewed-by: rkennke
2021-04-28 10:43:10 +07:00
thartmann
67e137705d 8253404: C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
Reviewed-by: neliasso, thartmann
Contributed-by: Roberto Castaneda Lozano <roberto.castaneda.lozano@oracle.com>
2021-04-28 10:43:10 +07:00
goetz
026be596a2 8257408: Bump update version for OpenJDK: jdk-11.0.11
Reviewed-by: mdoerr
2021-04-28 10:43:09 +07:00
joehw
363dde6d63 8261209: isStandalone property: remove dependency on pretty-print
Reviewed-by: lancea, naoto
2021-04-28 10:43:09 +07:00
joehw
3802d6d3de 8249867: xml declaration is not followed by a newline
Reviewed-by: rriggs, naoto, lancea, dfuchs
2021-04-28 10:43:08 +07:00
jiefu
481be2e7d2 8261585: Restore HandleArea used in Deoptimization::uncommon_trap
Reviewed-by: coleenp, jiefu
Contributed-by: Hui Shi <hshi@openjdk.org>
2021-04-28 10:43:08 +07:00
ngasson
fb951c5840 8240353: AArch64: missing support for -XX:+ExtendedDTraceProbes in C1
Reviewed-by: aph
2021-04-28 10:43:07 +07:00
Evan Whelan
e83d029605 8226810: Failed to launch JVM because of NullPointerException occured on System.props
Reviewed-by: alanb, naoto
(cherry picked from commit 49f70da99f)
2021-04-28 10:41:28 +07:00
Vitaly Provodin
4f45175c4e Revert "JBR-1694: java.lang.IllegalArgumentException: Null charset name"
This reverts commit 588cfef576.

reverted in order to apply original commit JDK-8226810: Failed to launch JVM because of NullPointerException
2021-04-28 10:40:03 +07:00
tschatzl
837ebbeebf 8209193: Fix aarch64-linux compilation after -Wreorder changes
Reviewed-by: shade, drwhite
2021-04-28 10:38:50 +07:00
phedlin
008d0b3165 8255479: [aarch64] assert(src->section_index_of(target) == CodeBuffer::SECT_NONE) failed: sanity
Reviewed-by: aph, neliasso
2021-04-28 10:38:47 +07:00
erikj
133c22376c 8256501: libTestMainKeyWindow fails to build with Xcode 12.2
Reviewed-by: ihse, serb
2021-04-28 10:38:47 +07:00
phedlin
9b93e0a26c 8247766: [aarch64] guarantee(val < (1U << nbits)) failed: Field too big for insn.
Reviewed-by: neliasso, aph
2021-04-28 10:38:47 +07:00
fyang
599e47907e 8222785: aarch64: add necessary masking for immediate shift counts
Reviewed-by: aph
2021-04-28 10:38:46 +07:00
Vitaly Provodin
66dc0156fb Revert "Revert "JBR-3214: CR: remove double negation""
This reverts commit db9032755a.

revert (db903275) was made by mistake
restore the commit "JBR-3214: CR: remove double negation" (03280552)
2021-04-28 07:07:32 +07:00
Robbin Ehn
f9e9170415 8218543: ThreadsList handling during error reporting can crash
Reviewed-by: dcubed, dholmes
(cherry picked from commit 9de8d240ff)
2021-04-23 19:20:24 +03:00
Gerard Ziemski
9caca35a6f 8245509: Crash handler itself crashes when reporting Unsafe.putInt(0) crash
Added ResourceMarker

Reviewed-by: coleenp, dholmes
(cherry picked from commit 5f67125ba6)
2021-04-23 18:44:42 +03:00
Artem Semenov
0c3b4bf9b7 JBR-3182: transfer of JBR to a11y protocol based on roles 2021-04-23 15:53:08 +03:00
Maxim Kartashev
216bf92575 JBR-1430: Windows: use UTF16 version of Win32 API to load DLL
Also correct library name encoding in exception messages.
2021-04-23 11:13:48 +03:00
Dmitry Batrak
4c6f3e4510 JBR-3353 Sibling popup window is shown below dialog on macOS 2021-04-22 15:06:10 +03:00
Dmitry Batrak
8d74e8e30b JBR-3339 Window requests focus on horizontal scroll (on Linux) 2021-04-21 21:05:22 +03:00
Nikita Gubarkov
f4a8e51d4a JBR-2910 Make java2d.font.subpixelResolution=4x1 by default 2021-04-21 19:45:25 +03:00
Vitaly Provodin
db9032755a Revert "JBR-3214: CR: remove double negation"
This reverts commit 258184b4
2021-04-21 11:12:42 +07:00
Prasanta Sadhukhan
db017fbd56 8196092: javax/swing/JComboBox/8032878/bug8032878.java fails
Reviewed-by: serb, pbansal

(cherry picked from commit 2ee795d9e4)
2021-04-21 05:55:22 +07:00
Vitaly Provodin
479ceadb35 JBR-3314 reduce number of iterations in regression test 2021-04-20 11:18:51 +07:00
Nikita Gubarkov
ad1d5061a9 JBR-2924 Do not try to create native italic font when we're going to make it fake italic 2021-04-20 01:04:44 +03:00
Vitaly Provodin
ff0a538ebd JBR-3314 unify shell script in regression test 2021-04-19 14:09:39 +07:00
Vitaly Provodin
c81adfed61 JBR-3314 add regression test 2021-04-15 15:57:11 +07:00
Dmitry Batrak
2ccf6b65a7 JBR-3307 First character is dropped when editing a table cell 2021-04-13 15:52:30 +03:00
Alexey Ushakov
a34eeb7735 JBR-3295 Fix error handling in Toolkit — do not ignore error and pass it as a cause
Wrapped original exception
2021-04-13 01:20:54 +03:00
Dmitry Batrak
ba6b9c085e JBR-3291 Input of characters using Alt+<NumPad> stopped working on Windows 2021-04-12 16:30:55 +03:00
Artem Semenov
04f1cf9b47 JBR-3241: MAke a11y element for combobox 2021-04-07 17:23:49 +03:00
Jim Laskey
80c6e03ec4 JBR-2607 backport the fix for crash in [libjimage] ImageStrings::find from OpenJDK
backported from OpenJDK - 8166727: javac crashed: [jimage.dll+0x1942] ImageStrings::find+0x28

Reviewed-by: iklam, alanb
2021-04-07 14:33:38 +07:00
Artem Semenov
9001a78701 JBR-3274: macOS: SIGILL at [libsystem_kernel] __kill -[PlatformAxNavigableText accessibilitySelectedTextAttribute] 2021-04-05 14:47:34 +03:00
Artem Semenov
703cab8d0d JBR-3240: MAke a11y element for TabGroup 2021-04-02 15:51:57 +03:00
Nikita Gubarkov
3c9cdc9251 JBR-3269 Disabled subpixel antialiasing for MacOS Big Sur and newer 2021-04-02 01:24:57 +03:00
Denis Konoplev
032805520d JBR-3214: CR: remove double negation 2021-04-01 16:54:47 +03:00
Dmitry Batrak
b37f7cfdb1 JBR-3255 Applying 'incline' transform might change character's advance 2021-03-30 18:37:21 +03:00
Denis Konoplev
3668d631ca JBR-3214: Reuse openjdk logic and add unicode keycodes 2021-03-30 16:12:29 +03:00
Denis Konoplev
7fa3ea24ac JBR-2509: Fix Escape emulation after Cmd . 2021-03-30 16:05:16 +03:00
Artem Semenov
8a521cbf64 JR-CR-776: JBR-3239: MAke a11y component for ScrollView 2021-03-30 13:43:22 +03:00
Denis Konoplev
fe9601aa6d JBR-3214: Initialize stack variables to fix dead key prefix and enable support on aarch64 2021-03-29 20:06:22 +03:00
Artem Semenov
65e8162d67 JR-CR-775: JBR-3188: NSAccessibilityNavigableStaticText 2021-03-26 14:35:34 +03:00
Artem Semenov
b99be427ce JR-CR-774: JBR-3218: IDEA crash with opening drop down menu and click whatever next. 2021-03-24 18:38:32 +03:00
Denis Konoplev
6b3b011d0b Revert "JBR-2509: Fix Escape emulation after Cmd ."
This reverts commit f096bd2b
2021-03-24 14:01:10 +03:00
Denis Konoplev
b53ef867e4 Revert "JBR-2509: Remove Fokin code."
This reverts commit 99a8e455
2021-03-24 14:01:10 +03:00
Denis Konoplev
215fd32738 Revert "JBR-2509: Turn on option on M1"
This reverts commit 542ee611
2021-03-24 14:01:10 +03:00
Artem Semenov
921603e356 JBR-3028: macOS: SIGILL at [libsystem_kernel] __kill -[PlatformAxList accessibilityParent]
JR-CR-773: JBR-3028: macOS: SIGILL at [libsystem_kernel] __kill -[PlatformAxList accessibilityParent]
2021-03-23 21:04:25 +03:00
Denis Konoplev
542ee611fc JBR-2509: Turn on option on M1 2021-03-23 19:38:58 +03:00
Denis Konoplev
99a8e45598 JBR-2509: Remove Fokin code.
Reuse openjdk logic and add unicode keycodes
2021-03-23 16:45:33 +03:00
Denis Konoplev
f096bd2b0d JBR-2509: Fix Escape emulation after Cmd . 2021-03-23 16:45:33 +03:00
Ivan Migalev
26dd87ab7c JBR-3227 Reload type of required native file dialogs each time a file dialog is requested 2021-03-23 16:00:08 +03:00
Alexey Ushakov
a6ea081ba2 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
2021-03-23 00:44:30 +03:00
Artem Semenov
2e87610593 JR-CR-771: JBR-3187: NSAccessibilityStaticText 2021-03-22 20:26:07 +03:00
Artem Semenov
1c336fc03a JR-CR-768: Test for JBR-3187 and JBR-3188
Test for JBR-3187 and JBR-3188
2021-03-22 20:26:07 +03:00
Dmitry Batrak
8eafcaab24 JBR-3215 'deriveFont(float)' can return a different font (not just change the size) 2021-03-22 15:56:46 +03:00
Vitaly Provodin
c096f12994 updated JTreg exclude list 2021-03-22 06:40:23 +07:00
Alexey Ushakov
5cfc8b3629 JBR-3217 [bkp to JBR11] JDK-8262446 DragAndDrop hangs on Windows
backported JDK-8262446 without any conflicts
2021-03-20 00:26:45 +03:00
Denis Konoplev
65b3d32eca JBR-1718: Fix regression java/awt/MenuBar/DefaultMenuBarDispose.java 2021-03-19 21:30:41 +03:00
Alexey Ushakov
61de3c3065 JBR-3208 bkp from JDK17: 8255790: GTKL&F: Java 16 crashes on initialising GTKL&F on Manjaro Linux
Review: disable coretext for now, cleanup
2021-03-18 13:33:55 +03:00
Nikita Gubarkov
3b101f673b JBR-2910 Fixed font size computation (extended glyph cache for MacOS) 2021-03-18 03:59:42 +03:00
Phil Race
bd79159249 8249142: java/awt/FontClass/CreateFont/DeleteFont.sh is unstable
Reviewed-by: serb
2021-03-18 05:47:50 +07:00
Alexey Ushakov
ca4425cb21 JBR-3208 bkp from JDK17: 8255790: GTKL&F: Java 16 crashes on initialising GTKL&F on Manjaro Linux
Backported fix with some minor corrections
2021-03-17 20:50:22 +03:00
Alexey Ushakov
b386e44bf5 Revert "JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine"
This reverts commit e03c9829, 97c0e96a, 746affd7, e766df4b, 847705dc, f10e7aca, 9ee15508, 553e5ca6
2021-03-17 16:31:05 +03:00
Nikita Gubarkov
03995a0327 JBR-2910 Implemented extended glyph cache for MacOS 2021-03-17 01:25:08 +03:00
Vitaly Provodin
bd6a088aaf remove links to bintray - download zulu as BOOT JDK 2021-03-17 04:46:44 +07:00
Denis Konoplev
c2582f8e03 JBR-1718: Add backward compatibility 2021-03-15 16:00:58 +03:00
Denis Konoplev
c122e27068 JBR-1718: Fix MacOs handlers 2021-03-15 16:00:58 +03:00
Dmitry Batrak
52a2428c28 use GPL copyright header 2021-03-15 14:53:42 +03:00
Konstantin Bulenkov
87b60afdf7 Remove links to bintray 2021-03-14 13:03:11 +01:00
Vitaly Provodin
10069846d5 Follow-up to 8221852: reporting actual error when unprivileged symlink creation fails
fix the misprint
2021-03-12 15:47:01 +07:00
Roman Shevchenko
f06f9fe734 Follow-up to 8221852: reporting actual error when unprivileged symlink creation fails
... for a reason other that ERROR_INVALID_PARAMETER.
2021-03-11 12:16:11 +03:00
Vitaly Provodin
348e538d10 updated JTreg exclude list
JBR-3167 excluding java2d tests causing Xwayland crash
2021-03-09 06:37:34 +07:00
Dmitry Batrak
5b9ff9a29e JBR-2766 java/awt/Window/MinimumSizeDPIVariation/MinimumSizeDPIVariation.java: Wrong size 2021-03-02 19:42:44 +03:00
Dmitry Batrak
62b04983f2 JBR-3157 Maximized window with custom decorations isn't focused on showing 2021-03-02 19:00:15 +03:00
Vitaly Provodin
c40b9c8b9e JBR-1505 add jdk.jcmd module into JBR 2021-03-02 05:43:59 +07:00
Artem Semenov
46dfaeecc9 JR-CR-760:
JBR-3144 Extend test for list with list nested in Heavy Weight Window popup
2021-02-24 14:25:30 +03:00
Alexey Ushakov
e03c9829e3 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Optimised failure handling
2021-02-20 06:57:05 -08:00
Alexey Ushakov
97c0e96a5a JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Optimised failure handling
2021-02-20 02:57:25 -08:00
Vitaly Provodin
2b559a30df JBR-3138 fix the issues with signing JNF (follow up) 2021-02-20 16:39:00 +07:00
Sean Coffey
73b4a7e79e JBR-3139 backport the fix for 8253368: TLS connection always receives close_notify exception
Reviewed-by: xuelei
(cherry picked from commit 780ac896b1)
2021-02-20 16:38:20 +07:00
Anton Tarasov
7d8aeaf7de revert: JBR-1434 "New file dialog" popup remains above all windows on switching application
java.awt.peer.WindowPeer.isLightweightDialog() method does not exist.
2021-02-20 11:23:59 +03:00
Vitaly Provodin
94390c3f1e JBR-3138 fix the issues with signing JNF 2021-02-20 14:23:45 +07:00
Artem Bochkarev
78d509ac0f JBR-3131: support custom view for system menu items 2021-02-19 19:46:11 +03:00
Nikita Gubarkov
0b6238990b JBR-2910 Implemented extended glyph cache for Linux 2021-02-17 15:13:06 +03:00
Nikita Gubarkov
c0e4afcddd JBR-2910 Implemented extended glyph cache for Windows 2021-02-17 15:12:40 +03:00
Artem Bochkarev
be6a2c4f0c 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
2021-02-17 15:00:21 +03:00
Artem Bochkarev
0b8ff1a7e6 JBR-3127: set NSWindowAllowsImplicitFullScreen=NO
fixed JBR-3127 Modal dialogs invoked from modal or floating dialogs are opened in full screen
2021-02-17 15:00:20 +03:00
Dmitry Batrak
63134e091b JBR-3119 Application's panel in KDE taskbar blinks when popup window is shown
this re-fixes JBR-2934 in a different way
2021-02-17 10:43:46 +03:00
Dmitry Batrak
50ab4690de JBR-1752 Floating windows overlap modal dialogs
fix for file dialog case
2021-02-11 12:52:14 +03:00
Ivan Migalev
c790bf3ebc JBR-3068: pass default button localization if not overridden 2021-02-11 11:16:56 +03:00
Alexey Ushakov
746affd753 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Corrected symbol name
2021-02-10 08:44:59 -08:00
Alexey Ushakov
e766df4bcc JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Added missing initializations
2021-02-10 06:17:56 -08:00
Alexey Ushakov
847705dc96 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
One more fix of compilation (on windows)
2021-02-10 09:53:00 +03:00
Alexey Ushakov
f10e7aca70 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Fixed compile problem
2021-02-09 23:18:52 +03:00
Alexey Ushakov
9ee1550815 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Added manual loading of harfbuzz library. Use pointers to functions to access it's API.
2021-02-09 22:31:18 +03:00
Konstantin Bulenkov
1de6eed0e1 compilation fix 2021-02-09 12:02:41 +01:00
Konstantin Bulenkov
78510922c5 Update JetBrains Mono stylistic set 2021-02-08 19:43:05 +01:00
Vitaly Provodin
41de3a4cb1 JBR-3064 Disable AllowEnhancedClassRedefinition in flight recorder 2021-02-08 16:35:14 +07:00
Dmitry Batrak
304eb7f919 make AwtListGarbageCollectionTest pass reliably 2021-02-08 12:22:09 +03:00
Ivan Migalev
442bb7eecc JBR-3068 Update path selector behavior when sun.awt.windows.useCommonItemDialog is enabled 2021-02-08 12:00:28 +03:00
Dmitry Batrak
09941119e1 JBR-3017 Focus issue in presence of third-party accessibility tool
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)
2021-02-05 19:46:17 +03:00
Dmitry Batrak
e3aaff5db4 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
2021-02-05 19:46:16 +03:00
Dmitry Batrak
99242748ee JBR-3072 Deadlock on nested dialog hiding 2021-02-04 14:14:01 +03:00
Vitaly Provodin
c1f4b0ca72 JBR-2124 remove JavaFX from JBR 2021-02-04 07:08:36 +07:00
Alexey Ushakov
553e5ca631 JBR-3066 jbr 11_10 (1145-88) crashes on IDEA startup, jbr 11_09 (1145-77) works fine
Renamed bundled harfbuzz with a new name (jharfbuzz) to use only inside libfontmanager.
2021-02-03 09:02:49 -08:00
Dmitry Batrak
aee4b48d20 JBR-3071 Remove naming workaround for Fira Code 2021-02-03 13:08:03 +03:00
Mikhail Grishchenko
bef85f8cea updated JTreg exclude list 2021-02-03 16:20:09 +07:00
Dmitry Batrak
0161050077 JBR-1752 Floating windows overlap modal dialogs 2021-02-01 17:00:13 +03:00
Denis Konoplev
a7c8b0b535 JBR-1995: Last character issue with korean
Fix for JTextComponent
2021-01-29 18:18:28 +03:00
Alexey Ushakov
985a1c8426 JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Set styleBits default values for WINDOW_TRANSPARENT_TITLEBAR_APPEARANCE property
2021-01-28 22:08:25 +03:00
Konstantin Bulenkov
2106b67380 Merge pull request #51 from JetBrains/mono/2.225
JetBrains Mono release 2.225
2021-01-27 14:51:07 +01:00
Prasanta Sadhukhan
58493967cd 8257242: [macOS] Java app crashes while switching input methods
Reviewed-by: serb
(cherry picked from commit 706d936ebe)
2021-01-27 19:01:43 +07:00
Prasanta Sadhukhan
2c82032f4c 8248532: Every time I change keyboard language at my MacBook, Java crashes
Reviewed-by: serb, prr
(cherry picked from commit 532775249f)
2021-01-27 19:01:32 +07:00
Vitaly Provodin
c571f300c6 Revert "JBR-2340 Frequent IDEA 2020.2 crashes on macOS"
This reverts commit 08f9ba66
2021-01-27 19:01:15 +07:00
Vitaly Provodin
9d8b89962f merge DCEVM patches with update_11.0.10 2021-01-27 19:00:48 +07:00
Vitaly Provodin
af014f4c2d Merge branch 'update_11.0.10' 2021-01-27 19:00:25 +07:00
MonoBot
b1c1b24890 Fonts release 2.225 2021-01-27 14:23:44 +03:00
Dmitry Batrak
0c2b6e1c04 JBR-3054 Focus is not returned to frame after closing of second-level popup on Windows 2021-01-27 11:19:58 +03:00
Vitaly Provodin
44d8b28b0b JBR-3045 add pressing ESC to close the dialog after test completion 2021-01-27 05:04:04 +07:00
Vitaly Provodin
bd43a4298c JBR-410 add golden emoji for macOS 10.14 x64 2021-01-27 04:57:28 +07:00
Dmitry Batrak
0ed7deabaa JBR-2702 Tooltips display through other applications on hover
make code compile with older SDK
2021-01-26 13:55:11 +03:00
Alexey Ushakov
56629e4c90 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
2021-01-26 10:45:44 +03:00
Dmitry Batrak
11732c2469 JBR-2702 Tooltips display through other applications on hover 2021-01-25 19:17:57 +03:00
Elena Sayapina
c356f37efc updated JTreg exclude list 2021-01-22 19:41:00 +07:00
Alexey Ushakov
d987707b0d JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Fixed test/jdk/java/awt/Window/setLocRelativeTo/SetLocationRelativeToTest.java test failure by aligning code with OpenJDK
2021-01-22 11:11:07 +03:00
andrew
29a0e37cb2 Added tag jdk-11.0.10-ga for changeset 8b3498547395 2021-01-21 22:02:37 -05:00
bpb
9397a10682 8247619: Improve Direct Buffering of Characters
Reviewed-by: alanb, ahgross, rhalade, psandoz
2021-01-21 22:01:36 -05:00
alitvinov
5f0af9b0f7 8249183: JVM crash in "AwtFrame::WmSize" method Reviewed-by: serb, aivanov 2021-01-21 22:01:36 -05:00
coleenp
2af72dec9c 8235829: graal crashes with Zombie.java test
Summary: Start ServiceThread before compiler threads, and run nmethod barriers for zgc before adding to the service thread queues, or posting events from the java thread.
Reviewed-by: pliden, dholmes, rehn
2021-01-21 22:01:35 -05:00
sspitsyn
73802596bf 8236124: Minimal VM slowdebug build failed after JDK-8212160
Summary: Use macro JVMTI_ONLY to avoid slowdebug build fail
Reviewed-by: coleenp, cjplummer, dholmes
2021-01-21 22:01:35 -05:00
jiefu
10a677632d 8235456: Minimal VM is broken after JDK-8212160
Reviewed-by: dholmes
2021-01-21 22:01:34 -05:00
coleenp
7dc0618259 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Summary: Add local deferred event list to thread to post events outside CodeCache_lock.
Reviewed-by: eosterlund, dholmes, sspitsyn
2021-01-21 22:01:34 -05:00
coleenp
3f4e205ed7 8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
Summary: call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments
Reviewed-by: sspitsyn, dholmes
2021-01-21 22:01:33 -05:00
sgehwolf
a9320f9a7c 8256557: libharfbuzz fails to link on gcc 4.4.x due to -Wl,-z,defs
Reviewed-by: phh
2021-01-21 22:01:33 -05:00
prr
f2157fc2a3 8244621: [macos10.15] Garbled FX printing plus CoreText warnings on Catalina when building with Xcode 11
Reviewed-by: kcr, psadhukhan
2021-01-21 22:01:33 -05:00
igerasim
10a904bd65 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2021-01-21 22:01:32 -05:00
ysuenaga
478314786d 8250598: Hyper-V is detected in spite of running on host OS
Reviewed-by: mbaesken, mdoerr, dholmes
2021-01-21 22:01:32 -05:00
prr
87b4f75c81 8250894: Provide a configure option to build and run against the platform libharfbuzz
Reviewed-by: erikj
2021-01-21 22:01:31 -05:00
shade
3cb8a371cf 8250605: Linux x86_32 builds fail after JDK-8249821
Reviewed-by: erikj, prr
2021-01-21 22:01:31 -05:00
prr
2be0650a3c 8249821: Separate libharfbuzz from libfontmanager
Reviewed-by: erikj
2021-01-21 22:01:30 -05:00
chegar
38f59e7a39 8217976: test/jdk/java/net/httpclient/websocket/WebSocketProxyTest.java fails intermittently
Reviewed-by: dfuchs
2021-01-21 22:01:30 -05:00
goetz
9cae35c8fe 8252415: Bump update version for OpenJDK: jdk-11.0.10
Reviewed-by: shade
2021-01-21 22:01:29 -05:00
rhalade
d56539e2ef 8225072: Add LuxTrust certificate that is expiring in March 2021 to list of allowed but expired certs
8258630: Add expiry exception for QuoVadis root certificate
Reviewed-by: ascarpino
2021-01-21 21:57:52 -05:00
clanger
894c226ce0 8255050: Add pkcs11/KeyStore/ClientAuth.sh to Problem list
Reviewed-by: mbaesken
2021-01-21 21:57:51 -05:00
mseledtsov
8ad2c4c130 8215583: Exclude runtime/handshake/HandshakeWalkSuspendExitTest.java
Summary: Added test to problem list
Reviewed-by: iignatyev
2021-01-21 21:57:51 -05:00
zgu
513fce6d1f 8257701: Shenandoah: objArrayKlass metadata is not marked with chunked arrays
Reviewed-by: shade
2021-01-21 21:57:50 -05:00
zgu
6ce327bba0 8257641: Shenandoah: Query is_at_shenandoah_safepoint() from control thread should return false
Reviewed-by: shade
2021-01-21 21:57:49 -05:00
mbalao
a5182b1bc8 8257545: SunJSSE FIPS regression in key exchange after JDK-8171279 11u backport
Reviewed-by: aph, goetz
2021-01-21 21:57:49 -05:00
stuefe
81e42d8949 8251257: NMT: jcmd VM.native_memory scale=1 crashes target VM
Reviewed-by: zgu, dholmes
2021-01-21 21:57:48 -05:00
stuefe
534de1d9d3 8249748: gtest silently ignores bad jvm arguments
Reviewed-by: shade, dholmes, iignatyev
2021-01-21 21:57:48 -05:00
andrew
d26d470f41 8222527: HttpClient doesn't send HOST header when tunelling HTTP/1.1 through http proxy
Summary: HttpClient no longer filters out system host header when sending tunelling CONNECT request to proxy
Reviewed-by: dfuchs
2021-01-21 21:57:47 -05:00
shade
6ecddfb581 8256736: Zero: GTest tests fail with "unsuppported vm variant"
Reviewed-by: dholmes
2021-01-21 21:57:46 -05:00
sspitsyn
382093e49b 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
Summary: Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only
Reviewed-by: jcbeyler, amenkov
2021-01-21 21:57:43 -05:00
stuefe
de1b27c174 8227275: Within native OOM error handling, assertions may hang the process
Reviewed-by: mdoerr, coleenp
2021-01-21 21:57:42 -05:00
shade
d0445b53b8 8257181: s390x builds are very noisy with gc-sections messages
Reviewed-by: mdoerr, lucy
2021-01-21 21:57:42 -05:00
stuefe
7c49be5fbf 8230910: libsspi_bridge does not build on Windows 32bit
Reviewed-by: alanb, weijun
2021-01-21 21:57:41 -05:00
psadhukhan
14bd84f9b6 8234393: [macos] printing ignores printer tray
Reviewed-by: psadhukhan, prr
Contributed-by: Vipin Menon <vipinmv1@in.ibm.com>
2021-01-21 21:57:40 -05:00
tonyp
4775d5b564 8239497: SEGV in EdgeUtils::field_name_symbol(Edge const&)
Reviewed-by: adinn
Contributed-by: Markus Gronlund <markus.gronlund@oracle.com>, Jon Spurling <jspurling@twitter.com>
2021-01-21 21:57:40 -05:00
jlahoda
24d1124689 8218287: jshell tool: input behavior unstable after 12-ea+24 on Windows
Summary: Ensure correct wrapping of input on Windows.
Reviewed-by: rfield
2021-01-21 21:57:39 -05:00
shade
dc80bc7a42 8256618: Zero: Linux x86_32 build still fails
Reviewed-by: aph, dholmes, stuefe
2021-01-21 21:57:39 -05:00
ebaron
913c60c2e3 8256809: Annotation processing causes NPE during flow analysis
Reviewed-by: jlahoda
2021-01-21 21:57:38 -05:00
serb
20e6a76d22 8253269: The CheckCommonColors test should provide more info on failure
Reviewed-by: prr
2021-01-21 21:57:37 -05:00
weijun
67fa05a1d2 8225687: Newly added sspi.cpp in JDK-6722928 still contains some small errors
Reviewed-by: xuelei
2021-01-21 21:57:36 -05:00
dcherepanov
b101e233a0 8251365: Build failure on AIX after 8250636
Reviewed-by: dholmes
2021-01-21 21:57:35 -05:00
dcherepanov
dcecd60677 8250636: iso8601_time returns incorrect offset part on MacOS
Reviewed-by: dholmes, gziemski
2021-01-21 21:57:35 -05:00
weijun
085a4aadcb 6722928: Support SSPI as a native GSS-API provider
Reviewed-by: erikj, nwilliams, valeriep, sgehwolf
2021-01-21 21:57:34 -05:00
roland
f25553eb0b 8229495: SIGILL in C2 generated OSR compilation
Reviewed-by: kvn, chagedorn
2021-01-21 21:57:33 -05:00
sgehwolf
7debe89a72 8254854: [cgroups v1] Metric limits not properly detected on some join controller combinations
Reviewed-by: phh
2021-01-21 21:57:33 -05:00
thartmann
7ac0ac677b 8214242: compiler/arguments/TestScavengeRootsInCode.java fails because of missing UnlockDiagnosticVMOptions
Summary: Added missing UnlockDiagnosticVMOptions.
Reviewed-by: tschatzl
2021-01-21 21:57:31 -05:00
thartmann
c00a394007 8214025: assert(t->singleton()) failed: must be a constant when ScavengeRootsInCode < 2
Summary: Added missing null checks and checks for pending exception.
Reviewed-by: kvn
2021-01-21 21:57:31 -05:00
serb
98ec465085 8255937: Better cleanup for test/jdk/javax/imageio/stream/StreamFlush.java
Reviewed-by: jdv
2021-01-21 21:57:30 -05:00
kravikumar
6dd3a81c0b 8255226: (tz) Upgrade time-zone data to tzdata2020d
Reviewed-by: naoto
2021-01-21 21:57:29 -05:00
bulasevich
f8d939adaf 8254016: Test8237524 fails with -XX:-CompactStrings option
Reviewed-by: shade
2021-01-21 21:57:28 -05:00
enikitin
2fbb8399e2 8244282: test/hotspot/jtreg/compiler/intrinsics/Test8237524.java fails with --illegal-access=deny
Summary: Add modules to test/hotspot/jtreg/compiler/intrinsics/Test8237524
Reviewed-by: iignatyev
2021-01-21 21:57:28 -05:00
clanger
6f149720d0 8256452: Integrate missing part of JDK-8232370 to 11u
Reviewed-by: mbaesken, sgehwolf
2021-01-21 21:57:27 -05:00
clanger
f777d886f5 8256427: Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX
Reviewed-by: jiefu, mbaesken
2021-01-21 21:57:26 -05:00
vtewari
ce51e61fb4 8238579: HttpsURLConnection drops the timeout and hangs forever in read
Summary: HttpsURLConnection drops the timeout and hangs forever in read
Reviewed-by: dfuchs
2021-01-21 21:57:26 -05:00
shade
79f7442e0f 8255760: Shenandoah: match constants style in ShenandoahMarkTask fallback
Reviewed-by: zgu, rkennke
2021-01-21 21:57:25 -05:00
shade
10e00dd573 8255457: Shenandoah: cleanup ShenandoahMarkTask
Reviewed-by: rkennke
2021-01-21 21:57:24 -05:00
sgehwolf
797483db7f 8256483: [TESTBUG] serviceability/jvmti/GetClassMethods/libOverpassMethods.c fails to compile on gcc 4.4.x
Reviewed-by: shade, goetz
2021-01-21 21:57:24 -05:00
shade
9263119a35 8214787: Zero builds fail with "undefined JavaThread::thread_state()"
Reviewed-by: stuefe, zgu
2021-01-21 21:57:23 -05:00
vromero
d121ff949d 8211450: UndetVar::dup is not copying the kind field to the duplicated instance
Reviewed-by: mcimadamore
Contributed-by: filipe.roque@premium-minds.com
2021-01-21 21:57:23 -05:00
coffeys
a06c43399c 8250968: Symlinks attributes not preserved when using jarsigner on zip files
Reviewed-by: lancea, weijun, hchao
2021-01-21 21:57:22 -05:00
coffeys
6acc706e26 8218021: Have jarsigner preserve posix permission attributes
Reviewed-by: weijun, lancea, alanb
2021-01-21 21:57:21 -05:00
pconcannon
94d5941cc1 8243488: Add tests for set/get SendBufferSize and getReceiveBufferSize in DatagramSocket
Summary: Tests added for methods: setSendBufferSize(int), getSendBufferSize(), and getReceieveBufferSize() to increase test coverage in the DatagramSocket class
Reviewed-by: alanb, chegar, dfuchs
2021-01-21 21:57:21 -05:00
thartmann
e05c7d817c 8251535: Partial peeling at unsigned test adds incorrect loop exit check
Reviewed-by: chagedorn, neliasso, kvn
2021-01-21 21:57:20 -05:00
kvn
7f8de5ab98 8255466: C2 crashes at ciObject::get_oop() const+0x0
Reviewed-by: vlivanov
2021-01-21 21:57:19 -05:00
jiefu
5921410376 8250825: C2 crashes with assert(field != __null) failed: missing field
Reviewed-by: kvn, thartmann
2021-01-21 21:57:19 -05:00
kravikumar
c0452cc7c5 8254982: (tz) Upgrade time-zone data to tzdata2020c
Reviewed-by: erikj, naoto
2021-01-21 21:57:18 -05:00
shade
e8f3d2efca 8253219: Epsilon: clean up unnecessary includes
Reviewed-by: tschatzl, kbarrett
2021-01-21 21:57:18 -05:00
ihse
e6d2594fea 8245168: jlink should not be treated as a "small" tool
Reviewed-by: erikj
2021-01-21 21:57:17 -05:00
shade
24e40f463e 8255550: x86: Assembler::cmpq(Address dst, Register src) encoding is incorrect
Reviewed-by: kvn, eosterlund
2021-01-21 21:57:16 -05:00
xliu
66c9c759a3 8245051: c1 is broken if it is compiled by gcc without -fno-lifetime-dse
Summary: Initialize BlockBegin block id in constructor rather than operator new
Reviewed-by: kbarrett, thartmann
2021-01-21 21:57:16 -05:00
prr
4f90bf87af 8255365: Problem list failing client manual tests
Reviewed-by: kizune, serb
2021-01-21 21:57:15 -05:00
jiefu
86961069ef 8235218: Minimal VM is broken after JDK-8173361
Reviewed-by: dholmes
2021-01-21 21:57:15 -05:00
coleenp
32d1f9a117 8173361: various crashes in JvmtiExport::post_compiled_method_load
Summary: Don't post information that uses metadata from unloaded nmethods
Reviewed-by: eosterlund, dholmes, sspitsyn
2021-01-21 21:57:14 -05:00
redestad
2da1b23e0a 8234863: Increase default value of MaxInlineLevel
Reviewed-by: kvn, neliasso
2021-01-21 21:57:13 -05:00
serb
10fc5ddab4 8252679: Two windows specific FileDIalog tests may fail on some Windows_Server_2016_Standard
Reviewed-by: prr
2021-01-21 21:57:13 -05:00
shade
6589997f4f 8255065: Zero: accessor_entry misses the IRIW case
Reviewed-by: mdoerr
2021-01-21 21:57:12 -05:00
shade
b335abd5ba 8197981: Missing return statement in __sync_val_compare_and_swap_8
Reviewed-by: andrew, dholmes
2021-01-21 21:57:11 -05:00
shade
22a7c3d601 8254144: Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
Reviewed-by: zgu
2021-01-21 21:57:11 -05:00
jjiang
dfaaa4bad2 8243549: sun/security/ssl/CipherSuite/NamedGroupsWithCipherSuite.java failed with Unsupported signature algorithm: DSA
Reviewed-by: xuelei
2021-01-21 21:57:10 -05:00
jjiang
6cf1b086b9 8224650: Add tests to support X25519 and X448 in TLS
Reviewed-by: xuelei
2021-01-21 21:57:10 -05:00
wetmore
3d7f44bda6 8171279: Support X25519 and X448 in TLS
Reviewed-by: xuelei, mullan
2021-01-21 21:57:09 -05:00
phh
4c1cb2b327 8255269: Unsigned overflow in g1Policy.cpp
Reviewed-by: yan
Contributed-by: William Kemper <kemperw@amazon.com>
2021-01-21 21:57:08 -05:00
hseigel
94e531fafc 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities
Reviewed-by: bobv, sgehwolf
2021-01-21 21:57:08 -05:00
clanger
34482f2d45 8255603: Memory/Performance regression after JDK-8210985
Reviewed-by: simonis, xuelei, aph
2021-01-21 21:57:07 -05:00
mdoerr
ba756da969 8254190: [s390] interpreter misses exception check after calling monitorenter
Reviewed-by: shade, rrich
2021-01-21 21:57:06 -05:00
serb
dded997fe2 8198334: java/awt/FileDialog/8003399/bug8003399.java fails in headless mode
Reviewed-by: pbansal, psadhukhan
2021-01-21 21:57:06 -05:00
chagedorn
e4cba90584 8249607: C2: assert(!had_error) failed: bad dominance
Summary: Fix prevented igvn optimization in SplitIf for LoadNodes which resulted in dominanance errors with loop strip mining.
Reviewed-by: roland, kvn
2021-01-21 21:57:05 -05:00
aefimov
1ad4bb39b8 8250772: Test com/sun/jndi/ldap/NamingExceptionMessageTest.java fails intermittently with javax.naming.ServiceUnavailableException
Reviewed-by: dfuchs
2021-01-21 21:57:04 -05:00
mgronlun
d9e062c03e 8252090: JFR: StreamWriterHost::write_unbuffered() stucks in an infinite loop OpenJDK (build 13.0.1+9)
Reviewed-by: hseigel
Contributed-by: Harold Seigel <harold.seigel@oracle.com>
2021-01-21 21:57:04 -05:00
iignatyev
30be19ce1b 8244142: some hotspot/runtime tests don't check exit code of forked JVM
Reviewed-by: gziemski, minqi
2021-01-21 21:57:03 -05:00
andrew
5f619d4a4d 8254177: (tz) Upgrade time-zone data to tzdata2020b
Summary: Remove obsolete systemv & pacificnew files and US/Pacific-New zone
Reviewed-by: yan
2021-01-21 21:57:02 -05:00
sviswanathan
c1e592568f 8254790: SIGSEGV in string_indexof_char and stringL_indexof_char intrinsics
Reviewed-by: kvn, thartmann
2021-01-21 21:57:02 -05:00
pli
ae7be26205 8237524: AArch64: String.compareTo() may return incorrect result
Reviewed-by: aph
2021-01-21 21:57:01 -05:00
shade
6ab515ca7f 8254166: Zero: return-type warning in zeroInterpreter_zero.cpp
Reviewed-by: sgehwolf
2021-01-21 21:57:00 -05:00
akolarkunnu
7908ea4a00 8248745: Add jarsigner and keytool tests for restricted algorithms
Reviewed-by: mullan, hchao
2021-01-21 21:57:00 -05:00
neliasso
87a402cce6 8244278: Excessive code cache flushes and sweeps
Reviewed-by: neliasso
Contributed-by: Man Cao <manc@google.com>
2021-01-21 21:56:59 -05:00
jiefu
da219becdc 8239886: Minimal VM build fails after JDK-8237499
Reviewed-by: dholmes
2021-01-21 21:56:58 -05:00
ddong
54d6fe8a30 8237499: JFR: Include stack trace in the ThreadStart event
Reviewed-by: egahlin
2021-01-21 21:56:58 -05:00
rhalade
8b674ce700 8249176: Update GlobalSignR6CA test certificates
Reviewed-by: xuelei
2021-01-21 21:56:56 -05:00
mhorie
fd882abe71 8248190: Enable Power10 system and implement new byte-reverse instructions
Reviewed-by: mdoerr, stuefe
Contributed-by: Jose Ziviani <joserz@linux.ibm.com>
2021-01-21 21:56:56 -05:00
neliasso
cee0a5a21b 8254185: Fix Code cache sweeper heuristics for JDK 11
Reviewed-by: thartmann, kvn
2021-01-21 21:56:55 -05:00
aefimov
08d859c5e1 8251189: com/sun/jndi/ldap/LdapDnsProviderTest.java failed due to timeout
Reviewed-by: dfuchs, vtewari
2021-01-21 21:56:54 -05:00
xyin
96f470b00d 8242614: cleanup duplicated test ldap server in some com/sun/jndi/ldap/ tests
Reviewed-by: aefimov, vtewari, dfuchs
2021-01-21 21:56:54 -05:00
xyin
98fd06a58d 8210339: Add 10 JNDI tests to com/sun/jndi/dns/FedTests/
Reviewed-by: vtewari, rriggs
2021-01-21 21:56:53 -05:00
xyin
2d7662cef9 8208542: Add 4 JNDI tests to com/sun/jndi/dns/ListTests/
Reviewed-by: vtewari, rriggs
2021-01-21 21:56:53 -05:00
xyin
bb5b8a47d2 8200151: Add 8 JNDI tests to com/sun/jndi/dns/ConfigTests/
Reviewed-by: vtewari, rriggs
2021-01-21 21:56:52 -05:00
xyin
ba0b40f364 8208483: Add 5 JNDI tests to com/sun/jndi/dns/FactoryTests/
Reviewed-by: vtewari, rriggs
2021-01-21 21:56:51 -05:00
xyin
d71e96da19 8208279: Add 8 JNDI tests to com/sun/jndi/dns/EnvTests/
Reviewed-by: vtewari, rriggs
2021-01-21 21:56:51 -05:00
rhalade
91cff3e686 8239105: Add exception for expiring Digicert root certificates to VerifyCACerts test
Summary: "8239105: added verisigntsaca and thawtepremiumserverca to EXPIRY_EXC_ENTRIES list"
Reviewed-by: mullan
2021-01-21 21:56:50 -05:00
shade
da5cfa80d9 8253284: Zero OrderAccess barrier mappings are incorrect
Reviewed-by: dholmes, aph, andrew
2021-01-21 21:56:49 -05:00
shade
739a0d94ed 8253778: ShenandoahSafepoint::is_at_shenandoah_safepoint should not access VMThread state from other threads
Reviewed-by: jiefu, rehn, rkennke
2021-01-21 21:56:49 -05:00
dtitov
e4a59bd712 8216324: GetClassMethods is confused by the presence of default methods in super interfaces
Reviewed-by: sspitsyn, amenkov
2021-01-21 21:56:48 -05:00
simonis
6ebab37627 8213698: Improve devkit creation and add support for linux/ppc64/ppc64le/s390x
Reviewed-by: erikj, ihse
2021-01-21 21:56:47 -05:00
roland
2437c2b79e 8252696: Loop unswitching may cause out of bound array load to be executed
Reviewed-by: neliasso, chagedorn
2021-01-21 21:56:47 -05:00
serb
9c64f005d4 8152332: [macosx] JFileChooser cannot be serialized on Mac OS X
Reviewed-by: pbansal, jdv
2021-01-21 21:56:46 -05:00
serb
13ff94ac5d 8240690: Race condition between EDT and BasicDirectoryModel.FilesLoader.run0()
Reviewed-by: psadhukhan
2021-01-21 21:56:45 -05:00
serb
9e3413ee97 8240633: Memory leaks in the implementations of FileChooserUI
Reviewed-by: pbansal, psadhukhan
2021-01-21 21:56:45 -05:00
sviswanathan
efd9998e42 8236944: The legVecZ operand should be limited to zmm0-zmm15 registers
Summary: Associate legVecZ operand with vectorz_reg_legacy register class
Reviewed-by: vlivanov, thartmann
2021-01-21 21:56:44 -05:00
lmesnik
6dce86ebc4 8161684: [testconf] Add VerifyOops' testing into compiler tiers
Reviewed-by: kvn
2021-01-21 21:56:44 -05:00
ngasson
6a5e116ae0 8248845: AArch64: stack corruption after spilling vector register
Reviewed-by: kvn
2021-01-21 21:56:42 -05:00
sgehwolf
1aba60c958 8251397: NPE on ClassValue.ClassValueMap.cacheArray
Summary: Add release fence to ClassValueMap constructor.
Reviewed-by: shade, psandoz
Contributed-by: Galder Zamarreno <galder@redhat.com>
2021-01-21 21:56:41 -05:00
jcm
ccc74a719c 8246381: VM crashes with "Current BasicObjectLock* below than low_mark"
Summary: save and restores "donotunlock" flag in check_and_handle_async_exceptions
Reviewed-by: coleenp, dholmes
2021-01-21 21:56:41 -05:00
mdoerr
1d46c49052 8225329: -XX:+PrintBiasedLockingStatistics causes crash during initialization on Windows platforms
Reviewed-by: stuefe, dholmes
2021-01-21 21:56:40 -05:00
dmarkov
7fe093cf22 8252470: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails on Windows
Reviewed-by: serb, prr
2021-01-21 21:56:38 -05:00
dmarkov
02d123c56a 8232114: JVM crashed at imjpapi.dll in native code
Reviewed-by: serb, alitvinov
2021-01-21 21:56:38 -05:00
thartmann
fc9d253d07 8239477: jdk/jfr/jcmd/TestJcmdStartStopDefault.java fails -XX:+VerifyOops with "verify_oop: rsi: broken oop"
Summary: Use T_ADDRESS instead of T_OBJECT to load metadata.
Reviewed-by: kvn
2021-01-21 21:56:37 -05:00
ssahoo
a57acf85d5 8242335: Additional Tests for RSASSA-PSS
Summary: New Tests for RSASSA-PSS
Reviewed-by: valeriep
2021-01-21 21:56:36 -05:00
chagedorn
e1ef260c8d 8248791: sun/util/resources/cldr/TimeZoneNamesTest.java fails with -XX:-ReduceInitialCardMarks -XX:-ReduceBulkZeroing
Summary: Fix wrong replacement of loads by zero for non-completed InitializationNodes belonging to a clone when ReduceBulkZeroing is disabled.
Reviewed-by: kvn, thartmann
2021-01-21 21:56:36 -05:00
chagedorn
5cb8539ef7 8249605: C2: assert(no_dead_loop) failed: dead loop detected
Summary: Fixed dead loop detection in PhiNode::Ideal() to additionally account for dead MergeMemNodes
Reviewed-by: kvn, thartmann
2021-01-21 21:56:34 -05:00
mbaesken
c2832bdca3 8246648: issue with OperatingSystemImpl getFreeSwapSpaceSize in docker after 8242480
Reviewed-by: bobv, sgehwolf
2021-01-21 21:56:34 -05:00
jiefu
341d176e43 8242480: Negative value may be returned by getFreeSwapSpaceSize() in the docker
Reviewed-by: sgehwolf, dholmes
2021-01-21 21:56:33 -05:00
bobv
094ac647d8 8227006: [linux] Runtime.availableProcessors execution time increased by factor of 100
Reviewed-by: dholmes, sgehwolf, redestad
2021-01-21 21:56:33 -05:00
bobv
f2ac092d37 8224506: [TESTBUG] TestDockerMemoryMetrics.java fails with exitValue = 137
Reviewed-by: sgehwolf, mseledtsov
2021-01-21 21:56:32 -05:00
bobv
fae5f81fdd 8222533: jtreg test jdk/internal/platform/cgroup/TestCgroupMetrics.java fails on SLES12.3 linux ppc64le machine
Reviewed-by: mseledtsov, dholmes
2021-01-21 21:56:31 -05:00
naoto
0c621e96a6 8241311: Move some charset mapping tests from closed to open
Reviewed-by: iris, joehw, itakiguchi, amlu
2021-01-21 21:56:31 -05:00
shade
b845d916f0 8253226: Shenandoah: remove unimplemented ShenandoahStrDedupQueue::verify
Reviewed-by: rkennke, zgu
2021-01-21 21:56:30 -05:00
shade
521c6e6b50 8253224: Shenandoah: ShenandoahStrDedupQueue destructor calls virtual num_queues()
Reviewed-by: rkennke, zgu
2021-01-21 21:56:29 -05:00
valeriep
c783454707 8216012: Infinite loop in RSA KeyPairGenerator
Summary: Check and error out on even RSA public exponents
Reviewed-by: valeriep
Contributed-by: Masanori Yano <yano-masanori@fujitsu.com>
2021-01-21 21:56:29 -05:00
shade
cc127b2513 8208665: Amend cross-compilation docs with qemu-debootstrap recipe
Reviewed-by: martin, glaubitz, erikj
2021-01-21 21:56:28 -05:00
sundar
fdc81b4580 8242846: Bring back test/jdk/tools/jlink/plugins/OrderResourcesPluginTest.java
Reviewed-by: alanb, sundar
Contributed-by: Ao Qi <aoqi@loongson.cn>
2021-01-21 21:56:28 -05:00
iignatyev
8fe37f1355 8243619: compiler/codecache/CheckSegmentedCodeCache.java test misses -version
Reviewed-by: thartmann
2021-01-21 21:56:27 -05:00
chagedorn
7c7689c284 8249602: C2: assert(cnt == _outcnt) failed: no insertions allowed
Summary: Use DUIterator instead of DUIterator_Fast due to legit insertions.
Reviewed-by: kvn, thartmann
2021-01-21 21:56:26 -05:00
stefank
7149dc2118 8246434: Threads::print_on_error assumes that the heap has been set up
Reviewed-by: dholmes
2021-01-21 21:56:25 -05:00
ngasson
aba4cf9326 8242029: AArch64: skip G1 array copy pre-barrier if marking not active
Reviewed-by: aph
2021-01-21 21:56:24 -05:00
stefank
28110a97bd 8247201: Print potential pointer value of readable stack memory in hs_err file
Reviewed-by: eosterlund, dholmes, tschatzl
2021-01-21 21:56:23 -05:00
chagedorn
42d0b2714f 8248596: [TESTBUG] compiler/loopopts/PartialPeelingUnswitch.java times out with Graal enabled
Summary: Change C2 specific test to be executed only with server compiler.
Reviewed-by: roland, kvn, thartmann
2021-01-21 21:56:22 -05:00
sspitsyn
659a86e3a4 8224555: vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/TestDescription.java failed
Summary: Improve synchronization in the test
Reviewed-by: dcubed, amenkov
2021-01-21 21:56:22 -05:00
jbachorik
cbb3a98a03 8252754: Hash code calculation of JfrStackTrace is inconsistent
Reviewed-by: egahlin
2021-01-21 21:56:21 -05:00
egahlin
0534cff8c3 8250928: JFR: Improve hash algorithm for stack traces
Reviewed-by: egahlin
Contributed-by: Gabriel Reid <gabriel.reid@datadoghq.com>
2021-01-21 21:56:21 -05:00
coleenp
1e6d3bd27a 8210088: ProblemList gc/epsilon/TestMemoryMXBeans.java
Reviewed-by: kbarrett, jiangli
2021-01-21 21:56:20 -05:00
shade
ea8bf3a792 8252660: Shenandoah: support manageable SoftMaxHeapSize option
Reviewed-by: zgu
2021-01-21 21:56:20 -05:00
andrew
4a4ca84e39 8222286: Fix for JDK-8213419 is broken on s390
Summary: Cast sizeof argument to log2_intptr to uintptr_t to remove ambiguity
Reviewed-by: aph, clanger
2021-01-21 21:56:19 -05:00
chagedorn
29c749a870 8248552: C2 crashes with SIGFPE due to division by zero
Summary: Bail out in PhaseIdealLoop:split_thru_phi when trying to split a Div or ModNode iv phi whose zero check was removed but could potentially still be zero based on type information.
Reviewed-by: kvn, thartmann
2021-01-21 21:56:19 -05:00
iignatyev
65c673e873 8243617: compiler/onSpinWait/TestOnSpinWaitC1.java test uses wrong class
Reviewed-by: thartmann
2021-01-21 21:56:18 -05:00
ljiang
39a5127d8f 8250665: Wrong translation for the month name of May in ar_JO,LB,SY
Reviewed-by: naoto
2021-01-21 21:56:18 -05:00
yan
14bf91f59b 8252497: Incorrect numeric currency code for ROL
Reviewed-by: naoto
2021-01-21 21:56:17 -05:00
valeriep
ece7a22aed 8236512: PKCS11 Connection closed after Cipher.doFinal and NoPadding
Summary: Removed killSession() calls in certain impl classes when cancelling operations
Reviewed-by: xuelei
2021-01-21 21:56:17 -05:00
sviswanathan
5edf0a5a18 8249672: Include microcode revision in features_string on x86
Reviewed-by: kvn, stuefe
Contributed-by: vladimir.a.ivanov@intel.com
2021-01-21 21:56:16 -05:00
chagedorn
1c12fa294a 8248226: TestCloneAccessStressGCM fails with -XX:-ReduceBulkZeroing
Summary: Taking GC barriers into account in LoadNode::find_previous_arraycopy() when ReduceInitialCardMarks is disabled.
Reviewed-by: kvn, roland
2021-01-21 21:56:16 -05:00
mdoerr
03c19f4da7 8241234: Unify monitor enter/exit runtime entries.
Reviewed-by: dcubed, coleenp
Contributed-by: Yudi Zheng <yudi.zheng@oracle.com>
2021-01-21 21:56:14 -05:00
ngasson
a2dd176afa 8237512: AArch64: aarch64TestHook leaks a BufferBlob
Reviewed-by: adinn, aph
2021-01-21 21:56:14 -05:00
bpb
d6f2d66235 8237186: Fix typo in copyright header of java/io/Reader/TransferTo.java
Reviewed-by: mchung, lancea, prappo
2021-01-21 21:56:13 -05:00
thartmann
7c718843a3 8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"
Summary: Limit the counter value to max_jint.
Reviewed-by: kvn, vlivanov, chagedorn
2021-01-21 21:56:13 -05:00
thartmann
73b7915762 8251456: [TESTBUG] compiler/vectorization/TestVectorsNotSavedAtSafepoint.java failed OutOfMemoryError
Summary: Removed allocation of large arrays to avoid OOME.
Reviewed-by: kvn, chagedorn
2021-01-21 21:56:12 -05:00
thartmann
e29237b197 8249608: Vector register used by C2 compiled method corrupted at safepoint
Summary: Always update 'max_vlen_in_bytes'.
Reviewed-by: kvn, vlivanov, chagedorn
2021-01-21 21:56:12 -05:00
chagedorn
60fb3522a9 8249603: C1: assert(has_error == false) failed: register allocation invalid
Summary: Added bailout in combine_spilled_intervals() to avoid an overlap between two intervals
Reviewed-by: kvn, thartmann
2021-01-21 21:56:11 -05:00
redestad
24a1d8e195 8220420: Cleanup c1_LinearScan
Reviewed-by: thartmann, neliasso
2021-01-21 21:56:11 -05:00
shade
d71b35062c 8251949: ZGC: Set explicit heap size for compiler/gcbarriers tests
Reviewed-by: pliden
2021-01-21 21:56:10 -05:00
serb
78895cf47f 8213535: Windows HiDPI html lightweight tooltips are truncated
Reviewed-by: kizune
2021-01-21 21:56:10 -05:00
prr
8c44afebf9 8245400: Upgrade to LittleCMS 2.11
Reviewed-by: serb, jdv
2021-01-21 21:56:09 -05:00
pchilanomate
e228d72cfb 8251118: BiasedLocking::preserve_marks should not have a HandleMark
Summary: Removed HandleMark from BiasedLocking::preserve_marks() method
Reviewed-by: hseigel, coleenp, dcubed, tschatzl, dholmes
2021-01-21 21:56:09 -05:00
tschatzl
51719b3e8c 8249192: MonitorInfo stores raw oops across safepoints
Summary: Change raw oops in MonitorInfo to Handles and update Resource/HandleMarks.
Reviewed-by: sspitsyn, dholmes, coleenp, dcubed
2021-01-21 21:56:08 -05:00
prr
24960a2c2a 8247867: Upgrade to freetype 2.10.2
Reviewed-by: serb
2021-01-21 21:56:08 -05:00
kvn
88e7487067 8248347: windows build broken by JDK-8243114
Reviewed-by: dcubed, dholmes
2021-01-21 21:56:07 -05:00
stooke
a8922e6e16 8243114: Implement montgomery{Multiply,Square}intrinsics on Windows
Reviewed-by: dholmes, andrew
Contributed-by: Andrew Haley <aph@redhat.com>
2021-01-21 21:56:07 -05:00
ysuenaga
a7083a3b57 8244819: hsdis does not compile with binutils 2.34+
Reviewed-by: kvn, thartmann
2021-01-21 21:56:06 -05:00
dbuck
05b6cf6205 8191006: hsdis disassembler plugin does not compile with binutils 2.29+
Summary: update call to disassembler() function to match new signature used by Binutils
Reviewed-by: gromero, kvn
2021-01-21 21:56:06 -05:00
kizune
57ee4e4733 8212226: SurfaceManager throws "Invalid Image variant" for MultiResolutionImage (Windows)
Reviewed-by: serb
2021-01-21 21:56:05 -05:00
roland
a5d280c81f 8247763: assert(outer->outcnt() == 2) failed: 'only phis' failure in LoopNode::verify_strip_mined()
Reviewed-by: kvn, thartmann
2021-01-21 21:56:05 -05:00
thartmann
9165fafc08 8237950: C2 compilation fails with "Live Node limit exceeded limit" during ConvI2L::Ideal optimization
Summary: Postpone ConvI2L::Ideal optimization to IGVN.
Reviewed-by: kvn, neliasso
2021-01-21 21:56:04 -05:00
poonam
30c9dc3799 8243290: Improve diagnostic messages for class verification and redefinition failures
Reviewed-by: coleenp, hseigel, sspitsyn
2021-01-21 21:56:04 -05:00
kvn
3a97a8e4ab 8227647: [Graal] Test8009761.java fails due to "RuntimeException: static java.lang.Object compiler.uncommontrap.Test8009761.m3(boolean,boolean) not compiled"
Summary: Wait Graal compilation to finish if request came from testing environment.
Reviewed-by: thartmann, iignatyev
2021-01-21 21:56:03 -05:00
serb
ba8b830efb 7185258: [macosx] Deadlock in SunToolKit.realSync()
Reviewed-by: prr
2021-01-21 21:56:03 -05:00
serb
4ec99bd75c 8241797: Add some tests to the problem list
Reviewed-by: jdv, prr, pbansal
2021-01-21 21:56:02 -05:00
coleenp
12ff105a3d 8218851: JVM crash in custom classloader stress test, JDK 12 & 13
Summary: Handle NULL and unloaded constraint class in loader constraint table, also cope with unloaded but not cleaned out klass in loader constraint entries.
Reviewed-by: hseigel, huntch, stuefe
2021-01-21 21:56:02 -05:00
weijun
428e88994d 8213400: Support choosing group name in keytool keypair generation
Reviewed-by: apetcher, xuelei
2021-01-21 21:56:01 -05:00
Alexey Ushakov
76351ec45e JBR-3023 Gray idea frame after project open with ide.mac.transparentTitleBarAppearance.
Reused apple.awt.fullWindowContent and apple.awt.transparentTitleBar client properties. Introduced the new one: apple.awt.windowTitleVisible
2021-01-21 23:27:57 +03:00
Elena Sayapina
50b24a147b JBR-1388 [TESTBUG] Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java fails on macOS Mojave 2021-01-21 17:32:30 +07:00
Vitaly Provodin
e00b5ee977 updated JTreg exclude list 2021-01-21 11:24:53 +07:00
Dmitry Batrak
ddda860f42 JBR-3038 Unexpected windows z-order change on workspace switch 2021-01-20 16:31:58 +03:00
Elena Sayapina
18580ed527 updated JTreg exclude list 2021-01-20 19:10:30 +07:00
Vitaly Provodin
1c2bf33db2 JBR-3040 press the button END at the beggining in order to avoid text selection 2021-01-20 16:03:12 +07:00
Vitaly Provodin
45cf0422f9 JBR-410 add golden emoji for macOS 10.15&11 x64 2021-01-20 16:03:12 +07:00
Elena Sayapina
515e38030d updated JTreg exclude lis 2021-01-20 14:39:16 +07:00
Dmitry Batrak
470c3bd1b5 JBR-3035 The Confirm Exit pop-up window remains hidden behind a window of another application 2021-01-19 13:53:03 +03:00
Dmitry Batrak
ee298f5287 JBR-3024 Popups are shown with 1x1 size sometimes 2021-01-15 17:49:24 +03:00
Dmitry Batrak
a7fd723e43 log LWCToolkit invokeAndWait requests
as part of JBR-3017, to make investigation of similar issues simpler in the future
2021-01-15 15:21:05 +03:00
Dmitry Batrak
7e6db54f77 fix occasional freezes of JBR-3017 reproducer after the fix 2021-01-15 15:21:04 +03:00
Dmitry Batrak
88ead5d9e3 JBR-3017 Focus issue in presence of third-party accessibility tool 2021-01-15 15:21:04 +03:00
Dmitry Batrak
eeef67a335 refactor nativeCreateNSWindow call wrapping
as part of JBR-3017
2021-01-15 15:21:02 +03:00
Dmitry Batrak
f1dd523ba8 remove excessive wrapping with AccessController (AWTThreading does it internally now)
as part of JBR-3017
2021-01-15 15:21:01 +03:00
Vitaly Provodin
84ff4eab21 JBR-1718 add a regression test 2021-01-14 05:34:23 +07:00
Vitaly Provodin
0e7f9ce4ca JBR-2957 notarize JBR and JBRSDK as APPL 2021-01-02 07:01:23 +07:00
Elena Sayapina
1714d7b627 JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform 2020-12-29 20:37:14 +07:00
Dmitry Batrak
95be4351d4 JBR-2934 Serious usability issue with GoLand 2020.3 caused by JBR 2020-12-28 20:37:55 +03:00
Artem Bochkarev
8e6710213e JBR-2526: disable national layouts in osx-aarch64 2020-12-27 23:28:07 +03:00
Artem Bochkarev
1fe160783a Revert "JBR-2526: make CPlatformResponder logic the same as in openjdk"
This reverts commit d2ee9bd6
2020-12-27 23:11:36 +03:00
Alexander Lobas
a84736ebcc 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 2020-12-25 20:40:32 +03:00
Alexander Lobas
f02e31a440 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 2020-12-25 20:40:32 +03:00
Alexey Ushakov
809ae5fedc Merge pull request #38 from trespasserw/patch-1
README: correcting proper nouns
2020-12-25 18:40:19 +03:00
Alexey Ushakov
8a58a000e3 Merge pull request #44 from bell-sw/update_188
jdk-11.0.9.1-ga update
2020-12-25 18:35:50 +03:00
Alexey Ushakov
bfc6ed7f6e Merge pull request #34 from JetBrains/mono/2.002
JetBrains Mono release 2.002
2020-12-25 18:33:11 +03:00
Alexey Ushakov
3dbd4af7ae JBR-1370 White square when running on dwm or bspwm
Added support of dwm via GDMSESSION env property
2020-12-24 10:29:54 -08:00
Dmitry Batrak
2d9fb9e7b8 JBR-2977 Opening a recent project in a new window doesn't bring this window to the front 2020-12-24 17:39:18 +03:00
Nikita Gubarkov
f37901ffb0 JBR-2910 Fixed fractional metrics for outline glyphs in freetypeScaler 2020-12-23 20:16:59 +03:00
Vitaly Provodin
e15dad041c JBR-667 add shenandoahgc feature 2020-12-23 08:35:17 +07:00
Vitaly Provodin
580a370d19 JBR-2956 add JNF into jbrsdk binaries & fix signing JBRSDK 2020-12-23 04:37:54 +07:00
Vitaly Provodin
7642ffdd5a JBR-2957 do not stop tar from including hidden ._ files in archives 2020-12-23 04:34:56 +07:00
Vitaly Provodin
d8443a1cbe JBR-2938 force codesign on macOS 2020-12-23 04:14:57 +07:00
Vitaly Provodin
0718402ff5 JBR-2526 specify default value for the architecture parameter 2020-12-23 04:14:56 +07:00
Artem Bochkarev
4281b031e6 JBR-2526: support aarch64 in build script 2020-12-23 04:14:55 +07:00
Artem Bochkarev
d2ee9bd66e JBR-2526: make CPlatformResponder logic the same as in openjdk
this fixes problems with keyboard input on BigSur-AARCH64
2020-12-23 04:14:54 +07:00
Artem Bochkarev
bf7d47e3bf JBR-2526: remove obsolete code
minor fixes for azul patches
2020-12-23 04:14:53 +07:00
Artem Bochkarev
4b519165aa ZULU-18344: Fix gtests to do W^X on VM code calls 2020-12-23 04:14:52 +07:00
Artem Bochkarev
ca1ab64827 8253791: Issue with useAppleColor check in CSystemColors.m
Reviewed-by: phh, lucy, serb
2020-12-23 04:14:52 +07:00
Artem Bochkarev
c18cb04d88 8253375: OSX build fails with Xcode 12.0 (12A7209)
Summary: Replace double array with short array in AdapterHandlerLibrary::create_native_wrapper, add parens around ?: in CSystemColors:getColor
Reviewed-by: prr, kbarrett, lucy
2020-12-23 04:14:51 +07:00
Artem Bochkarev
3b7443c997 ZULU-18865: Disable CDS on macarm 2020-12-23 04:14:50 +07:00
Artem Bochkarev
5fead08584 ZULU-18973: Support macarm builds on apple silicon host 2020-12-23 04:14:49 +07:00
Artem Bochkarev
598cf7049c ZULU-17241: MacARM: CPU feature detection 2020-12-23 04:14:48 +07:00
Artem Bochkarev
8a8349defe 8253015: Aarch64: Move linux code out from generic CPU feature detection
Reviewed-by: aph
2020-12-23 04:14:47 +07:00
Artem Bochkarev
bc4b8e593c Backed out changeset 43ca3f690588: ZULU-17255: Disable CPU feature detection 2020-12-23 04:14:46 +07:00
Artem Bochkarev
b67de1a1e3 Backed out changeset b5afa94104cb: ZULU-18140: Remove unexpected JVM output 2020-12-23 04:14:45 +07:00
Artem Bochkarev
370727ad41 ZULU-18362: Failure in runtime/NMT/CheckForProperDetailStackTrace.java - 'AllocateHeap' found in stdout 2020-12-23 04:14:44 +07:00
Artem Bochkarev
48cc9e5374 ZULU-18759: Implement SA for macarm 2020-12-23 04:14:42 +07:00
Artem Bochkarev
510fab2c07 ZULU-18361: [TESTBUG] Failure in runtime/CompressedOops/CompressedClassPointers.java - 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr 2020-12-23 04:14:41 +07:00
Artem Bochkarev
aea9725329 ZULU-18130: Refactor ZULU-17389 for inclusion into openjdk 2020-12-23 04:14:41 +07:00
Artem Bochkarev
1bc60057f4 ZULU-18388: Fix X->W transition in JVMTI 2020-12-23 04:14:40 +07:00
Artem Bochkarev
81649c99de ZULU-18417: Implement JVMTI call declaration for mac_aarch64 2020-12-23 04:14:39 +07:00
Artem Bochkarev
d2cadcef11 ZULU-18387: zulu_macarm crashes in C1 when working with above 32-bit memory regions 2020-12-23 04:14:38 +07:00
Artem Bochkarev
ac4e1f5be0 ZULU-18290: [TESTBUG]Fix missing separator in ArgumentHandler.java 2020-12-23 04:14:37 +07:00
Artem Bochkarev
5d545329ad ZULU-18251: Update dt_shmem block list for many jdi tests 2020-12-23 04:14:36 +07:00
Artem Bochkarev
9e8db31e71 ZULU-18231: Make codesign to rewrite signature when signing 2020-12-23 04:14:35 +07:00
Artem Bochkarev
f8d7b9e0b9 ZULU-18202: Solaris builds are broken after ZULU-17910 on 13 and 11 part2 2020-12-23 04:14:34 +07:00
Artem Bochkarev
9c6f6f2a12 ZULU-18200: Solaris builds are broken after ZULU-17910 on 13 and 11 2020-12-23 04:14:33 +07:00
Artem Bochkarev
3e8f36e723 ZULU-18198: Solaris builds are broken after ZULU-17141 on 13 and 11 2020-12-23 04:14:32 +07:00
Artem Bochkarev
db476a1787 ZULU-18174: Make tier1 is broken with xcode12 2020-12-23 04:14:31 +07:00
Artem Bochkarev
740e6c6534 ZULU-17141: Lock JIT memory when executing 2020-12-23 04:14:29 +07:00
Artem Bochkarev
f317336a65 ZULU-17910: Import JDK-8234930: Use MAP_JIT when allocating pages for code cache on macOS
http://cr.openjdk.java.net/~akozlov/8234930/webrev.00/
2020-12-23 04:14:28 +07:00
Artem Bochkarev
49c7d75922 ZULU-17387: Port X18 exclusion patch from win_aarch64 jep 2020-12-23 04:14:27 +07:00
Artem Bochkarev
06e1ffdccb ZULU-17389: Support macos aarch64 packed abi 2020-12-23 04:13:56 +07:00
Artem Bochkarev
9398632bdb ZULU-18140: Remove unexpected JVM output 2020-12-23 04:13:23 +07:00
Artem Bochkarev
c762636c1a ZULU-17243: Implement aarch64_get_thread_helper 2020-12-23 04:13:22 +07:00
Artem Bochkarev
8e9b28f521 ZULU-17253: Disable SA for macos/aarch64 2020-12-23 04:12:56 +07:00
Artem Bochkarev
00c3e8774a ZULU-17145: Do not use objc_msgSend_stret 2020-12-23 04:12:29 +07:00
Artem Bochkarev
cfd633b9fe ZULU-17255: Disable CPU feature detection 2020-12-23 04:12:28 +07:00
Artem Bochkarev
79371ddf34 ZULU-17139: Add os_cpu/bsd_aarch64 based on linux_aarch64
ZULU-17386: Remove sigtrap leftovers from bsd_aarch64
2020-12-23 04:11:59 +07:00
Artem Bochkarev
73ac0cc856 8251930: Native types mismatch in hotspot 2020-12-23 04:11:57 +07:00
Artem Bochkarev
9718b44236 8250824: AArch64: follow up for JDK-8248414
Summary: The original change missed to update an assert.
Reviewed-by: dholmes
Contributed-by: monica.beckwith@microsoft.com, luhenry@microsoft.com, beurba@microsoft.com
2020-12-23 04:11:56 +07:00
Artem Bochkarev
3d9a4eef55 8248414: AArch64: Remove uses of long and unsigned long ints 2020-12-23 04:11:55 +07:00
Artem Bochkarev
6ef822dd72 ZULU-17909: Initial load 2020-12-23 04:11:46 +07:00
Artem Bochkarev
20750eaf89 ZULU-17256: Remove obsolete code in AWTView.m 2020-12-23 04:10:41 +07:00
Artem Bochkarev
072d69f050 8250876: Fix issues with cross-compile on macos
Reviewed-by: erikj, ihse
2020-12-23 04:10:40 +07:00
Artem Bochkarev
4754d939e5 8233787: Break cycle in vm_version* includes 2020-12-23 04:10:39 +07:00
Artem Bochkarev
9c5d643170 8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Summary: Removed deprecation warning suppression, fixed uses of deprecated functions.
Reviewed-by: dholmes, mikael
2020-12-23 04:10:39 +07:00
Denis Konoplev
c811c295c2 JBR-2891: Post PhaseEvents in the begin and end of Magnify and Rotate 2020-12-22 14:25:31 +03:00
Dmitry Batrak
20fe78b650 JBR-2973 Copy/Move dialog not in the focus on drag-n-drop to Project Tool window from external application 2020-12-21 18:31:49 +03:00
Dmitry Batrak
9d86b4d235 JBR-2971 Log more information about window creation and property changes 2020-12-21 13:05:38 +03:00
Dmitry Batrak
0a9f16dc90 JBR-2907 [JCK] Font.equals(Font) returns false after serialization/deserialization. 2020-12-16 17:05:59 +03:00
Dmitry Batrak
53489fab27 IDEA-257525 Unable to show Chinese when using IDEA mac ARM version
fix typo
2020-12-16 09:32:11 +03:00
Dmitry Batrak
92b00d50b5 IDEA-257525 Unable to show Chinese when using IDEA mac ARM version
update following JR-CR-714
2020-12-15 19:35:57 +03:00
Artem Semenov
2e0b486c59 JR-CR-712 JBR-2928 In trees in which the root is not displayed, nodes of the first level are not pronounced 2020-12-15 13:48:16 +03:00
Dmitry Batrak
9b7113a6cf 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.
2020-12-14 20:12:43 +03:00
Conor Cleary
8dc3fcd392 JBR-2932 backport fix for NetworkInterface/UniqueMacAddressesTest
8246741: NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed

Reviewed-by: chegar, dfuchs
2020-12-11 18:37:05 +07:00
Elena Sayapina
4deb3bbe61 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
2020-12-09 18:43:24 +07:00
Elena Sayapina
eda8e4d50e 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
2020-12-09 18:38:45 +07:00
Sergey Bylokhov
84d4918aa2 IDEA-157583 Backport fix for Wrong popup menu position on dual screen
8223045: GraphicsEnvironment does not detect resolution changes in multiscreen systems

Reviewed-by: prr
2020-12-09 17:03:01 +07:00
Artem Semenov
c8d46c2c23 JR-CR-702 JBR-2785 Implement accessibility for JTRee 2020-12-08 16:43:11 +03:00
Artem Bochkarev
f8c0077b2f JBR-2562: log suppressed exception into jbr_err 2020-12-04 12:21:08 +03:00
Egor Ushakov
1437ff8717 fixed navigation to issues from vcs log 2020-12-02 19:18:25 +03:00
Artem Bochkarev
93cbab2f2d JBR-2562: fixed invokation of parent method 2020-12-02 12:56:59 +03:00
Artem Bochkarev
dd055b5970 JBR-2562: suppress exceptions from [NSWindow _changeJustMain]
temporary workaround to prevent crashes
2020-11-30 18:46:29 +03:00
Alexey Ushakov
2c8cdb221b 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
2020-11-25 20:12:54 +03:00
Mikhail Grishchenko
d34d6528fe JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms 2020-11-25 21:06:09 +07:00
Dmitry Batrak
1d525a2d2f 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
2020-11-25 16:33:47 +03:00
Artem Semenov
3038fc95c6 JR-CR-698: JBR-2877 Fix accessibility Label for lists 2020-11-24 11:04:53 +03:00
Artem Semenov
10a30e2135 JR-CR-673: JBR-2649 A11y Make accessibility for JTable 2020-11-24 11:04:52 +03:00
Artem Semenov
b46c4429b4 [a11y] Renderer lists are not spoken: JBR-2457 2020-11-24 11:04:52 +03:00
Anton Tarasov
e51648f368 [a11y] Rename JavaAxObjectProvider and PlatformAxObject
Renamed:
  JavaAxObjectProvider -> JavaBaseProvider
  PlatformAxObject -> PlatformAxElement
  PlatformAxObjectProvider -> PlatformAxElementProvider

Reasoning:
  JavaBaseProvider provides JavaBaseAccessibility and subclasses
  PlatformAxElement inherits from NSAccessibilityElement
2020-11-24 11:04:52 +03:00
Anton Tarasov
235dbdc3f0 [a11y] Add getAccessibilityWindow to PlatformAxObject 2020-11-24 11:04:52 +03:00
Anton Tarasov
c8f68f23d9 [a11y] Add JavaElementAccessibility for all NSAccessibilityElement subclasses
- JavaElementAccessibility (and respective PlatformAxObject) is the base class for elements conforming to the new a11y protocol
2020-11-24 11:04:52 +03:00
Anton Tarasov
5cc0870756 [a11y] Split NSElementAccessibilty and NSObject hierarchies
- Mixing the two hierarchies does not work, so split it
- Implement binding b/w associated objects of the two hierarchies via new protocols: JavaAxObjectProvider, PlatformAxObjectProvider
2020-11-24 11:04:52 +03:00
Anton Tarasov
a50a5f1bea [a11y] Separate base part from JavaComponentAccessibility
- Create JavaBaseAccessibility and JavaListAccessibility for the new a11y
- Adopt NSAccessibilityList protocol (based on investigations by Artem Semenov)
- Use JavaComponentAccessibility for the legacy a11y
2020-11-24 11:04:52 +03:00
Alexey Ushakov
95a47810d5 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
2020-11-23 21:04:02 +03:00
Alexey Ushakov
8cb0377a31 JBR-2879 Big Sur: Opening project in new window results in opening project in another tab
Disabled Tabbing mode for all NSWindows
2020-11-20 16:52:53 +03:00
Mikhail Grishchenko
66ad6472ae JBR-2412 [windows] mouse listener does not work for jcef
fixed test name in @run tag
2020-11-20 18:26:52 +07:00
Vitaly Provodin
0a37bf022c updated JTreg exclude list 2020-11-20 05:42:17 +07:00
Mikhail Grishchenko
bed977e88e JBR-2865 Disable jcef tests on 32-bit platforms 2020-11-19 18:24:03 +07:00
Mikhail Grishchenko
04246aac57 JBR-2412 [windows] mouse listener does not work for jcef
Rename test.
2020-11-19 17:53:12 +07:00
Artem Semenov
cd5682f5b9 JR-CR-693 JBR-2786 Create a manual test to test Accessibility in JTree 2020-11-19 12:09:09 +03:00
Anton Tarasov
bad748e3d0 JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame 2020-11-18 19:35:01 +03:00
Thejasvi Voniadka
176016c7db 8158880: test/java/time/tck/java/time/format/TCKDateTimeFormatterBuilder.java fail with zh_CN locale
Reviewed-by: naoto
2020-11-17 18:11:10 +07:00
Dmitry Batrak
98a9219c23 improve TitleBarClickTest stability on Linux 2020-11-17 13:47:56 +03:00
Anton Tarasov
697259b968 JBR-2866 JCEF: Markdown editor steals focus from a different frame 2020-11-16 19:39:10 +03:00
Dmitry Batrak
010f6fc951 fix WindowWithoutParentTest failures on Windows 2020-11-16 18:28:15 +03:00
Dmitry Batrak
e8bbd8ffdd add comments explaining delays used in focus tests 2020-11-16 18:06:23 +03:00
Dmitry Batrak
cd6dd5c3cf improve stability of focus tests on Linux
* use 'WINDOW_GAINED_FOCUS' event instead of 'WINDOW_OPENED' to track window creation - on Linux the latter can be dispatched before the window is actually mapped
* add additional delay before mouse click emulation - under GNOME, even if window is known to be mapped and focused, click at its location can be dispatched to another (underlying) window (probably because GNOME might not have updated its internal state right after new window appearing)
2020-11-16 18:03:27 +03:00
goetz
f9a5f5e009 Added tag jdk-11.0.9.1-ga for changeset 31affc22b3b5 2020-11-15 05:58:16 +07:00
thartmann
8b8d0ccb9a 8250861: Crash in MinINode::Ideal(PhaseGVN*, bool)
Summary: Added missing NULL checks.
Reviewed-by: kvn, chagedorn
2020-11-15 05:58:12 +07:00
goetz
c21fec4119 8255781: Bump patch update version for OpenJDK: jdk-11.0.9.1
Reviewed-by: clanger
2020-11-15 05:58:08 +07:00
Alexander Zuev
0fa5500adf JBR-2859 backport fix for JFrame memory leak
4907798: MEMORY LEAK: javax.swing.plaf.basic.BasicPopupMenuUI$MenuKeyboardHelper

Reviewed-by: psadhukhan, serb
2020-11-13 16:57:34 +07:00
goetz
9f835d753e Added tag jdk-11.0.9.1-ga for changeset 31affc22b3b5 2020-11-12 11:37:15 -05:00
thartmann
387470fc07 8250861: Crash in MinINode::Ideal(PhaseGVN*, bool)
Summary: Added missing NULL checks.
Reviewed-by: kvn, chagedorn
2020-11-12 11:28:35 -05:00
goetz
72a9541a6c 8255781: Bump patch update version for OpenJDK: jdk-11.0.9.1
Reviewed-by: clanger
2020-11-12 11:28:34 -05:00
Mikhail Grishchenko
b7cde4fd05 JBR-2639, JBR-2412 [jcef] Tests that checks mouse events 2020-11-12 17:49:21 +07:00
Vitaly Provodin
e89ed58cfa JBR-2853 fix issues with remote debugging 2020-11-12 06:18:23 +07:00
Dmitry Batrak
cd863bac0d JBR-2854 [macOS] Undecorated window without parent steals focus on showing 2020-11-10 19:12:08 +03:00
Dmitry Batrak
e94f6057a4 JBR-2847 Always dispatch KEY_TYPED event to the same component as KEY_PRESSED event
also fixes JBR-2834, IDEA-254466, IDEA-254466
2020-11-09 12:17:50 +03:00
Dmitry Batrak
e30ef51d71 revert fix for JBR-2834 (Typing happens in the editor when comparing editor to clipboard)
the problem will be fixed with JBR-2847
2020-11-08 17:03:05 +03:00
Dmitry Batrak
acd7e3b2da JBR-2843 No caret in merge window 2020-11-05 13:07:52 +03:00
Vitaly Provodin
83f1177a90 JBR-2846 fix misprint causing the jbrsdk-fastdebug build miss 2020-11-05 08:11:57 +07:00
Vitaly Provodin
5e7e8fcc97 updated JTreg exclude list 2020-11-04 05:01:09 +07:00
Dmitry Batrak
504c17b3b0 JBR-2834 Typing happens in the editor when comparing editor to clipboard 2020-10-30 12:07:15 +03:00
Vitaly Provodin
ca9d268797 merge DCEVM patches with update from bell-sw/update_11.0.9 2020-10-30 06:24:07 +07:00
Vitaly Provodin
967e760aa0 updated JTreg exclude list 2020-10-30 04:47:14 +07:00
Vitaly Provodin
8bed43092c Merge pull request #43 from bell-sw/update_11.0.9 2020-10-30 04:40:58 +07:00
Dmitry Batrak
89e519a4ef JBR-2819 Create API to determine typographic family/subfamily for available fonts 2020-10-28 10:41:55 +03:00
Vitaly Provodin
44bafba5fe JBR-2813 add patches containing a fix for metadataOnStack bug 2020-10-26 08:15:35 +07:00
Denis Konoplev
5acc7680a1 JBR-2490 Add option to work with Surface Pen 2020-10-23 11:42:02 +03:00
andrew
7408fa9ed9 Added tag jdk-11.0.9-ga for changeset 4397fa4529b2 2020-10-22 18:46:22 -04:00
prr
fb12c14831 8253019: Enhanced JPEG decoding
Reviewed-by: rhalade, mschoene, serb, psadhukhan
2020-10-22 18:45:39 -04:00
prr
7bf8eb1eb9 8248574: Improve jpeg processing
Reviewed-by: serb, jdv, mschoene, rhalade
2020-10-22 18:45:39 -04:00
jnimeh
1c1f5fd22f 8245417: Improve certificate chain handling
Reviewed-by: mullan, jnimeh, mbalao, andrew
Contributed-by: hai-may.chao@oracle.com
2020-10-22 18:45:38 -04:00
iklam
a5543e7396 8245412: Better class definitions
Reviewed-by: coleenp, rhalade, jwilhelm, skoivu, mbalao, andrew
2020-10-22 18:45:38 -04:00
naoto
d22040a4cd 8245407: Enhance zoning of times
Reviewed-by: rriggs, rhalade, skoivu
2020-10-22 18:45:37 -04:00
mullan
5b66b914fd 8244479: Further constrain certificates
Reviewed-by: ascarpino, ahgross, rhalade
2020-10-22 18:45:37 -04:00
bpb
bb41825c5b 8244136: Improved Buffer supports
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-10-22 18:45:37 -04:00
hseigel
7802653d57 8243302: Advanced class supports
Reviewed-by: coleenp, lfoltan, mschoene, rhalade
Contributed-by: harold.seigel@oracle.com
2020-10-22 18:45:36 -04:00
bpb
f1289c29b9 8242685: Better Path Validation
Reviewed-by: alanb, rhalade
2020-10-22 18:45:36 -04:00
bpb
e540ba996f 8242680: Improved URI Support
Reviewed-by: alanb, rhalade
2020-10-22 18:45:35 -04:00
thartmann
f0f38dfde8 8241114: Better range handling
Reviewed-by: kvn, vlivanov, rhalade, ahgross, mbalao, andrew
2020-10-22 18:45:35 -04:00
vkempik
3ff5734088 8244955: Additional Fix for JDK-8240124
Reviewed-by: mbalao, andrew
2020-10-22 18:45:34 -04:00
vkempik
098d97bd64 8240124: Better VM Interning
Reviewed-by: mbalao, andrew
2020-10-22 18:45:34 -04:00
mullan
f40d642800 8237995: Enhance certificate processing
Reviewed-by: weijun, rhalade, ahgross, erikj, mbalao, andrew
2020-10-22 18:45:33 -04:00
aefimov
9891148867 8237990: Enhanced LDAP contexts
Reviewed-by: dfuchs, robm, weijun, xyin, rhalade, ahgross
2020-10-22 18:45:33 -04:00
kravikumar
ed95bcd45a 8236862: Enhance support of Proxy class
8249927: Specify limits of jdk.serialProxyInterfaceLimit
Reviewed-by: rriggs, coffeys, andrew
2020-10-22 18:45:32 -04:00
egahlin
899a28c552 8236196: Improve string pooling
Reviewed-by: mgronlun, rehn, ahgross, jwilhelm, rhalade
2020-10-22 18:45:32 -04:00
vkempik
e101be357c 8233624: Enhance JNI linkage
Reviewed-by: dholmes, jrose, rhalade, mschoene, mbalao, andrew
2020-10-22 18:45:32 -04:00
goetz
da443a34b4 8253813: Backout JDK-8244287 from 11u: it causes several crashes
Reviewed-by: mdoerr, goetz
Contributed-by: jaroslav.bachorik@datadoghq.com, martin.doerr@sap.com
2020-10-22 18:45:31 -04:00
alvdavi
89da1e8daf 8250787: Provider.put no longer registering aliases in FIPS env
Summary: Allows parseLegacyPut to search algorithms added to the non-legacy map
Reviewed-by: mbalao
2020-10-22 18:45:31 -04:00
jbachorik
0f1f77659c 8244287: JFR: Methods samples have line number 0
Reviewed-by: goetz
2020-10-22 18:45:30 -04:00
clanger
905ff191da 8253283: [11u] Test build/translations/VerifyTranslations.java failing after JDK-8252258
Reviewed-by: goetz
2020-10-22 18:45:30 -04:00
phh
c9e0ac1f9f 8253134: JMM_VERSION should remain at 0x20020000 (JDK 10) in JDK 11
Summary: Change JMM_VERSION to 0x2002000, use @since 11.0.9 for c.s.m.ThreadMXBean.currentThreadAllocatedBytes
Reviewed-by: simonis
2020-10-22 18:45:29 -04:00
andrew
a26ac2cad8 8252258: [11u] JDK-8242154 changes the default vendor
Summary: Change the default vendor back to "Oracle Corporation"
Reviewed-by: clanger
2020-10-22 18:45:29 -04:00
simonis
26d260a938 8252804: [test] Fix 'ReleaseDeflater.java' test after downport of 8234011
Reviewed-by: phh
2020-10-22 18:45:28 -04:00
aefimov
51b08ef9b3 8062947: Fix exception message to correctly represent LDAP connection failure
Reviewed-by: dfuchs, xyin, vtewari
2020-10-22 18:45:28 -04:00
serb
45e863a853 8022535: [TEST BUG] javax/swing/text/html/parser/Test8017492.java fails
Reviewed-by: prr, pbansal
2020-10-22 18:45:27 -04:00
prappo
d252c95851 8151678: com/sun/jndi/ldap/LdapTimeoutTest.java failed due to timeout on DeadServerNoTimeoutTest is incorrect
Reviewed-by: dfuchs, martin, robm
2020-10-22 18:45:27 -04:00
prappo
8b7722cd74 8245981: Upgrade to jQuery 3.5.1
Reviewed-by: hannesw
2020-10-22 18:45:27 -04:00
tnakamura
ef6c86a47e 8233829: javac cannot find non-ASCII module name under non-UTF8 environment
Reviewed-by: jjg
2020-10-22 18:45:26 -04:00
alanb
46082dba1a 8243453: java --describe-module failed with non-ASCII module name under non-UTF8 environment
Reviewed-by: alanb
Contributed-by: Toshio Nakamura <toshiona@jp.ibm.com>
2020-10-22 18:45:26 -04:00
cgo
308588eec5 8234535: Cross compilation fails due to missing CFLAGS for the BUILD_CC
Reviewed-by: erikj
2020-10-22 18:45:25 -04:00
mbalao
7701382ce3 8250582: Revert Principal Name type to NT-UNKNOWN when requesting TGS Kerberos tickets
Reviewed-by: weijun
2020-10-22 18:45:25 -04:00
clanger
7a4385aefa 8160768: Add capability to custom resolve host/domain names within the default JNDI LDAP provider
Reviewed-by: alanb, dfuchs, chegar, mchung, vtewari, goetz
Contributed-by: rob.mckenna@oracle.com, christoph.langer@sap.com
2020-10-22 18:45:24 -04:00
xyin
697645c757 8241130: com.sun.jndi.ldap.EventSupport.removeDeadNotifier: java.lang.NullPointerException
Reviewed-by: dfuchs
2020-10-22 18:45:24 -04:00
jcbeyler
79ac49a4cc 8247615: Initialize the bytes left for the heap sampler
Summary: Initialize the heap sampler correctly before usage
Reviewed-by: sspitsyn, martin, manc
2020-10-22 18:45:23 -04:00
kbarrett
ef7399d356 8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code
Summary: Expanded permitted threads to include all NamedThreads.
Reviewed-by: dcubed, sspitsyn
2020-10-22 18:45:23 -04:00
phh
17f5bc5b98 8252157: JDK-8231209 11u backport breaks jmm binary compatibility
Summary: Move jmm_GetOneThreadAllocatedMemory to reserved_2 jmm_interface slot
Reviewed-by: simonis, clanger
2020-10-22 18:45:22 -04:00
ysuenaga
8c49afc8f0 8249215: JFrame::setVisible crashed with -Dfile.encoding=UTF-8 on Japanese Windows.
Reviewed-by: prr, serb
2020-10-22 18:45:22 -04:00
zgu
1ef499823d 8251487: Shenandoah: missing detail timing tracking for final mark cleaning phase
Reviewed-by: rkennke
2020-10-22 18:45:21 -04:00
valeriep
5094b9b5ee 8244151: Update MUSCLE PC/SC-Lite headers to the latest release 1.8.26
Summary: Updated from 1.8.24 to 1.8.26
Reviewed-by: xuelei
2020-10-22 18:45:21 -04:00
darcy
37896f558c 8226809: Circular reference in printed stack trace is not correctly indented & ambiguous
Reviewed-by: bpb
2020-10-22 18:45:20 -04:00
roland
07281583bd 8247824: CTW: C2 (Shenandoah) compilation fails with SEGV in SBC2Support::pin_and_expand
Reviewed-by: rkennke, thartmann
2020-10-22 18:45:20 -04:00
amenkov
a7108cbfc5 8212665: com/sun/jdi/DeferredStepTest.java: jj1 (line 57) - unexpected. lastLine=52, minLine=52, maxLine=55
Reviewed-by: jcbeyler, gadams, sspitsyn
2020-10-22 18:45:20 -04:00
amenkov
256eb1a6aa 8212629: [TEST] wrong breakpoint in test/jdk/com/sun/jdi/DeferredStepTest
Reviewed-by: cjplummer, jcbeyler
2020-10-22 18:45:19 -04:00
amenkov
6e1d1b3a9b 8211292: [TEST] convert com/sun/jdi/DeferredStepTest.sh test
Reviewed-by: sspitsyn, jcbeyler
2020-10-22 18:45:18 -04:00
amenkov
f523654c21 8209332: [TEST] test/jdk/com/sun/jdi/CatchPatternTest.sh is incorrect
Reviewed-by: jcbeyler, dtitov, cjplummer
2020-10-22 18:45:18 -04:00
amenkov
a0b9796b9f 8203928: [Test] Convert non-JDB scaffolding serviceability shell script tests to java
Reviewed-by: jcbeyler, cjplummer
2020-10-22 18:45:18 -04:00
amenkov
2d2730faf8 8210760: [TEST] rewrite com/sun/jdi shell tests to java version - step4
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2020-10-22 18:45:17 -04:00
amenkov
83a7c4beda 8210725: com/sun/jdi/RedefineClearBreakpoint.java fails with waitForPrompt timed out after 60 seconds
8210748: [TESTBUG] lib.jdb.Jdb.waitForPrompt() should clarify which output is the pending reply after a timeout
Reviewed-by: jcbeyler, gadams, sspitsyn
2020-10-22 18:45:17 -04:00
amenkov
09cb3da751 8210560: [TEST] convert com/sun/jdi redefineClass-related tests
Reviewed-by: jcbeyler, sspitsyn
2020-10-22 18:45:16 -04:00
amenkov
a1507f6e90 8210243: [TEST] rewrite com/sun/jdi shell tests to java version - step3
Reviewed-by: jcbeyler, cjplummer, sspitsyn
2020-10-22 18:45:16 -04:00
amenkov
ae7606fe6c 8067354: com/sun/jdi/GetLocalVariables4Test.sh failed
Reviewed-by: jcbeyler, sspitsyn
2020-10-22 18:45:15 -04:00
amenkov
05b36c091c 8209604: [TEST] rewrite com/sun/jdi shell tests to java version - step2
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2020-10-22 18:45:15 -04:00
amenkov
90dc74e1b9 8203393: com/sun/jdi/JdbMethodExitTest.sh and JdbExprTest.sh fail due to timeout
Reviewed-by: sspitsyn, cjplummer
2020-10-22 18:45:14 -04:00
amenkov
3e3444472e 8209605: com/sun/jdi/BreakpointWithFullGC.java fails with ZGC
Reviewed-by: sspitsyn, dholmes
2020-10-22 18:45:14 -04:00
amenkov
503586a51c 8209608: Problem list com/sun/jdi/BreakpointWithFullGC.java
Reviewed-by: mikael, dtitov, dcubed
2020-10-22 18:45:13 -04:00
amenkov
a327489b0f 8209517: com/sun/jdi/BreakpointWithFullGC.java fails with timeout
Reviewed-by: dcubed, mikael
2020-10-22 18:45:13 -04:00
amenkov
f99295be02 8209109: [TEST] rewrite com/sun/jdi shell tests to java version - step1
Reviewed-by: sspitsyn, jcbeyler
2020-10-22 18:45:12 -04:00
serb
564c903844 8251469: Better cleanup for test/jdk/javax/imageio/SetOutput.java
Reviewed-by: prr, pbansal
2020-10-22 18:45:12 -04:00
shade
1ea536d294 8252120: compiler/oracle/TestCompileCommand.java misspells "occured"
Reviewed-by: iignatyev
2020-10-22 18:45:11 -04:00
jpai
e5d9e1a4f8 8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
Reviewed-by: dfuchs, chegar
2020-10-22 18:45:11 -04:00
shade
70723e80ce 8244729: Shenandoah: remove resolve paths from SBSA::generate_shenandoah_lrb
Reviewed-by: rkennke
2020-10-22 18:45:10 -04:00
shade
55ba81e3d4 8250844: Make sure {type,obj}ArrayOopDesc accessors check the bounds
Reviewed-by: rrich, coleenp
2020-10-22 18:45:10 -04:00
zgu
62057eadd5 8245880: Shenandoah: check class unloading flag early in concurrent code root scan
Reviewed-by: shade
2020-10-22 18:45:09 -04:00
rkennke
b14e837e87 8251451: Shenandoah: Remark ObjectSynchronizer roots with I-U
Reviewed-by: shade
2020-10-22 18:45:09 -04:00
rkennke
868a4b8348 8241065: Shenandoah: remove leftover code after JDK-8231086
Reviewed-by: rkennke
Contributed-by: Charlie Gracie <charlie.gracie@microsoft.com>
2020-10-22 18:45:08 -04:00
rkennke
e3a31d2bbd 8222079: Don't use memset to initialize fields decode_env constructor in disassembler.cpp
Reviewed-by: dlong, stuefe, mdoerr
2020-10-22 18:45:08 -04:00
simonis
0a50aad915 8234011: (zipfs) Memory leak in ZipFileSystem.releaseDeflater()
Reviewed-by: clanger, lancea
2020-10-22 18:45:08 -04:00
dfuchs
43c4798b50 8230000: some httpclients testng tests run zero test
Summary: two tests needed to declared their test methods public, the last one was a simple abstract framework for subclasses and needed its @test keyword removed.
Reviewed-by: chegar, aefimov, dfuchs
Contributed-by: Julia Boes <julia.boes@oracle.com>
2020-10-22 18:45:07 -04:00
rkennke
d956cd691a 8249560: Shenandoah: Fix racy GC request handling
Reviewed-by: shade
2020-10-22 18:45:06 -04:00
jdv
51f5bc0aae 6532025: GIF reader throws misleading exception with truncated images
Reviewed-by: prr, bpb
2020-10-22 18:45:06 -04:00
amenkov
03c98cd7b0 8238710: LingeredApp doesn't log stdout/stderr if exits with non-zero code
Reviewed-by: cjplummer, sspitsyn
2020-10-22 18:45:06 -04:00
shade
175fceb89e 8241007: Shenandoah: remove ShenandoahCriticalControlThreadPriority support
Reviewed-by: adityam, shade
Contributed-by: Nikola Grcevski <nikola.grcevski@microsoft.com>
2020-10-22 18:45:05 -04:00
shade
80c4abef7b 8241574: Shenandoah: remove ShenandoahAssertToSpaceClosure
Reviewed-by: zgu, bmathiske, shade
Contributed-by: Charlie Gracie <charlie.gracie@microsoft.com>
2020-10-22 18:45:05 -04:00
rkennke
88f949d66f 8251354: Shenandoah: Fix jdk/jfr/tool/TestPrintJSON.java test failure
Reviewed-by: clanger, stuefe
2020-10-22 18:45:04 -04:00
erikj
19da89a193 8246094: [macos] Sound Recording and playback is not working
Reviewed-by: prr, serb
2020-10-22 18:45:04 -04:00
ysuenaga
8cab555838 8250826: jhsdb does not work with coredump which comes from Substrate VM
Reviewed-by: cjplummer, sspitsyn
2020-10-22 18:45:03 -04:00
mbalao
72a8d326e3 8251117: Cannot check P11Key size in P11Cipher and P11AEADCipher
Reviewed-by: valeriep
Contributed-by: zzambers@redhat.com
2020-10-22 18:45:03 -04:00
lmesnik
710c814a3d 8241478: vmTestbase/gc/gctests/Steal/steal001/steal001.java fails with OOME
Reviewed-by: tschatzl, kbarrett
2020-10-22 18:45:02 -04:00
coleenp
f12a95f6cd 8231953: Wrong assumption in assertion in oop::register_oop
Summary: On ARM32 thumb mode, the pc of the current frame is always zero
Reviewed-by: coleenp, dcubed
Contributed-by: christoph.goettschkes@microdoc.com
2020-10-22 18:45:02 -04:00
joehw
980226f337 8230094: CCE in createXMLEventWriter(Result) over an arbitrary XMLStreamWriter
Reviewed-by: lancea
2020-10-22 18:45:01 -04:00
rhalade
8a22af8929 8243320: Add SSL root certificates to Oracle Root CA program
Reviewed-by: mullan
2020-10-22 18:45:01 -04:00
kvn
a9507bbe7a 8248987: AOT's Linker.java seems to eagerly fail-fast on Windows
Summary: Treat all problems in getVC141AndNewerLinker() as non-fatal. Print error messages with --verbose flag.
Reviewed-by: iignatyev, iveresov
2020-10-22 18:45:00 -04:00
shade
7b06c4f724 8249953: Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
Reviewed-by: rkennke
2020-10-22 18:45:00 -04:00
rkennke
dcf11b2f29 8249801: Shenandoah: Clear soft-refs on requested GC cycle
Reviewed-by: shade
2020-10-22 18:44:59 -04:00
lancea
8089f329af 8212807: tools/jar/multiRelease/Basic.java times out
Reviewed-by: bchristi
2020-10-22 18:44:59 -04:00
rfield
20ec00a07e 8223688: JShell: crash on the instantiation of raw anonymous class
Reviewed-by: jlahoda
2020-10-22 18:44:58 -04:00
rfield
e7ff20c013 8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
8232855: jshell missing word in /help help
Reviewed-by: jlahoda
2020-10-22 18:44:58 -04:00
rfield
44e6abfbc3 8211694: JShell: Redeclared variable should be reset
Reviewed-by: sundar
2020-10-22 18:44:58 -04:00
jjg
9d174c2b84 8234687: change javap reporting on unknown attributes
Reviewed-by: mchung
2020-10-22 18:44:57 -04:00
chegar
f85669d99e 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Reviewed-by: coffeys, vtewari
2020-10-22 18:44:56 -04:00
lmesnik
7bf0cd4cf8 8241319: WB_GetCodeBlob doesn't have ResourceMark
Reviewed-by: iignatyev, thartmann
2020-10-22 18:44:56 -04:00
phh
024b17cd07 8234541: C1 emits an empty message when it inlines successfully
Summary: Use "inline" as the message when successfull
Reviewed-by: thartmann, mdoerr
Contributed-by: navy.xliu@gmail.com
2020-10-22 18:44:56 -04:00
mli
dccbd0645a 8134599: TEST_BUG: java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use
Reviewed-by: weijun, darcy, rriggs, coffeys
2020-10-22 18:44:55 -04:00
xyin
cbd80b1dff 8202117: com/sun/jndi/ldap/RemoveNamingListenerTest.java fails intermittently: Connection reset
Reviewed-by: dfuchs, vtewari
2020-10-22 18:44:55 -04:00
itakiguchi
e97f001647 8232161: Align some one-way conversion in MS950 charset with Windows
Summary: MS950 charset encoder's conversion table is changed
Reviewed-by: naoto
2020-10-22 18:44:54 -04:00
fyang
288cb01d1e 8221658: aarch64: add necessary predicate for ubfx patterns
Reviewed-by: aph
2020-10-22 18:44:54 -04:00
fyang
58e50eade3 8250609: C2 crash in IfNode::fold_compares
Reviewed-by: kvn, chagedorn
Contributed-by: wanghuang3@huawei.com
2020-10-22 18:44:53 -04:00
zgu
b5bfaf2468 8250827: Shenandoah: needs to reset/finish StringTable's dead count before/after parallel walk
Reviewed-by: rkennke
2020-10-22 18:44:53 -04:00
serb
60b928fe4c 8250755: Better cleanup for jdk/test/javax/imageio/plugins/shared/CanWriteSequence.java
Reviewed-by: jdv
2020-10-22 18:44:52 -04:00
sgehwolf
c2f5f25ee6 8250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics
Reviewed-by: aph, dholmes, bobv, shade
2020-10-22 18:44:52 -04:00
fyuan
e16a88ee6c 8230010: Remove jdk8037819/BasicTest1.java
8230002: javax/xml/jaxp/unittest/transform/SecureProcessingTest.java runs zero test
Reviewed-by: joehw, vtewari
2020-10-22 18:44:51 -04:00
dfuchs
7f90bbf2fc 8208281: java/nio/channels/AsynchronousSocketChannel/Basic.java timed out
Summary: modify the test to accept the peer socket before closing the client socket
Reviewed-by: alanb
2020-10-22 18:44:51 -04:00
joehw
6e6d2b85d4 8233686: XML transformer uses excessive amount of memory
Summary: remove unnecessary object creation and also update xalan.md file
Reviewed-by: lancea
2020-10-22 18:44:50 -04:00
coleenp
fd99818ccd 8233386: Initialize NULL fields for unused decorations
Reviewed-by: shade, hseigel, dcubed
2020-10-22 18:44:50 -04:00
lancea
8c43f76d41 8230870: (zipfs) Add a ZIP FS test that is similar to test/jdk/java/util/zip/EntryCount64k.java
Reviewed-by: clanger, martin
2020-10-22 18:44:50 -04:00
jlahoda
77b9fb7dae 8221759: Crash when completing \"java.io.File.path\"
Summary: Do not provide documentation for inaccessible elements.
Reviewed-by: rfield
2020-10-22 18:44:49 -04:00
vlivanov
e390eafb22 8247502: PhaseStringOpts crashes while optimising effectively dead code
Reviewed-by: kvn, thartmann
2020-10-22 18:44:49 -04:00
neliasso
f65a021bf0 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2020-10-22 18:44:48 -04:00
rhalade
0d12b95241 8243321: Add Entrust root CA - G4 to Oracle Root CA program
Reviewed-by: mullan
2020-10-22 18:44:48 -04:00
rkennke
fbf2030820 8250784: Shenandoah: A Low-Pause-Time Garbage Collector
Reviewed-by: aph, kdnilsen, adityam
2020-10-22 18:44:47 -04:00
mikael
d131ad342c 8237182: Update copyright header for shenandoah and epsilon files
Reviewed-by: iignatyev, zgu
2020-10-22 18:44:46 -04:00
sviswanathan
793e0ddfa6 8224234: compiler/codegen/TestCharVect2.java fails in test_mulc
Reviewed-by: vlivanov, thartmann
2020-10-22 18:44:46 -04:00
sviswanathan
bee394f465 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2020-10-22 18:44:45 -04:00
erikj
bf58975c4e 8249255: Build fails if source code in cygwin home dir
Reviewed-by: tbell
2020-10-22 18:44:45 -04:00
jjiang
3616dee7a0 8243029: Rewrite javax/net/ssl/compatibility/Compatibility.java with a flexible interop test framework
Reviewed-by: xuelei
2020-10-22 18:44:44 -04:00
stuefe
76af57e5d9 8223777: In posix_spawn mode, failing to exec() jspawnhelper does not result in an error
Reviewed-by: rriggs, martin, fweimer
2020-10-22 18:44:44 -04:00
bsrbnd
f93f4ab75e 8193367: Annotated type variable bounds crash javac
Reviewed-by: mcimadamore, vromero
2020-10-22 18:44:43 -04:00
valeriep
ad19522db0 8242556: Cannot load RSASSA-PSS public key with non-null params from byte array
Summary: Update AlgorithmId to use alg name before oid str when parsing DER bytes
Reviewed-by: mullan
2020-10-22 18:44:43 -04:00
vkempik
b26694a0f9 8238284: [macos] Zero VM build fails due to an obvious typo
Reviewed-by: goetz
2020-10-22 18:44:42 -04:00
amenkov
36ab405269 8204994: SA might fail to attach to process with "Windbg Error: WaitForEvent failed"
Reviewed-by: sspitsyn, cjplummer
2020-10-22 18:44:42 -04:00
vkempik
4620397dbe 8248495: [macos] zerovm is broken due to libffi headers location
Reviewed-by: ihse, erikj
2020-10-22 18:44:42 -04:00
fyang
a42c526b18 8248851: CMS: Missing memory fences between free chunk check and klass read
Reviewed-by: aph, kbarrett, dholmes
Contributed-by: wangshuai94@huawei.com
2020-10-22 18:44:41 -04:00
fyang
14c7fe0b61 8247979: aarch64: missing side effect of killing flags for clearArray_reg_reg
Reviewed-by: adinn
Contributed-by: wangyadong4@huawei.com
2020-10-22 18:44:41 -04:00
ysuenaga
e6cfd63ecd 8238388: libj2gss/NativeFunc.o "multiple definition" link errors with GCC10
Summary: Fixed libj2gss link errors caused by GCC10 default -fno-common
Reviewed-by: weijun
2020-10-22 18:44:40 -04:00
ysuenaga
b625ec36f2 8238386: (sctp) jdk.sctp/unix/native/libsctp/SctpNet.c "multiple definition" link errors with GCC10
Summary: Fixed libsctp link errors caused by GCC10 default -fno-common
Reviewed-by: chegar
2020-10-22 18:44:40 -04:00
ysuenaga
9f8b577206 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10
Reviewed-by: stuefe, clanger, rriggs
Contributed-by: patrick@os.amperecomputing.com
2020-10-22 18:44:39 -04:00
arapte
00e9dff047 8249278: Revert JDK-8226253 which breaks the spec of AccessibleState.SHOWING for JList
Reviewed-by: prr, serb
2020-10-22 18:44:39 -04:00
mbaesken
4defecb1ea 8236617: jtreg test containers/docker/TestMemoryAwareness.java fails after 8226575
Reviewed-by: bobv, clanger, mdoerr, adinn
2020-10-22 18:44:38 -04:00
sgehwolf
ea22d2debd 8226575: OperatingSystemMXBean should be made container aware
Reviewed-by: adinn
2020-10-22 18:44:38 -04:00
pbansal
4d9f67b93b 8249251: [dark_mode ubuntu 20.04] The selected menu is not highlighted in GTKLookAndFeel
Reviewed-by: serb, prr
2020-10-22 18:44:37 -04:00
joehw
aae6ac4f69 8248348: Regression caused by the update to BCEL 6.0
Reviewed-by: smarks, plevart
2020-10-22 18:44:37 -04:00
jlahoda
f3765eca39 8244763: Update --release 8 symbol information after JSR 337 MR3
Reviewed-by: jjg, wetmore
2020-10-22 18:44:36 -04:00
hchao
9350c687e0 8245151: jarsigner should not raise duplicate warnings on verification
Reviewed-by: weijun
2020-10-22 18:44:36 -04:00
naoto
af7e73eb27 8234347: "Turkey" meta time zone does not generate composed localized names
8236548: Localized time zone name inconsistency between English and other locales
Reviewed-by: joehw, rriggs
2020-10-22 18:44:35 -04:00
vromero
48341a9b4f 8213703: LambdaConversionException: Invalid receiver type not a subtype of implementation type interface
Reviewed-by: mcimadamore
2020-10-22 18:44:35 -04:00
shade
7781717e37 8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)
Reviewed-by: dholmes, iklam
2020-10-22 18:44:34 -04:00
goetz
6f7c21121a 8249277: TestVerifyIterativeGVN.java is failing with timeout in OpenJDK 11
Summary: See also 8248521: TestVerifyIterativeGVN.java is failing with timeout
Reviewed-by: mbaesken, chagedorn
2020-10-22 18:44:34 -04:00
sshivang
ac7bb087e4 8246330: Add TLS Tests for Legacy ECDSA curves
Reviewed-by: rhalade
2020-10-22 18:44:33 -04:00
jjiang
ce59727cb2 8249159: Downport test rework for SSLSocketTemplate from 8224650
Reviewed-by: mbaesken
2020-10-22 18:44:33 -04:00
xuelei
f2da7b5e8c 8236464: SO_LINGER option is ignored by SSLSocket in JDK 11
Reviewed-by: ascarpino
2020-10-22 18:44:32 -04:00
erikj
d8dc0ea467 8213214: Set -Djava.io.tmpdir= when running tests
Reviewed-by: alanb, mikael
2020-10-22 18:44:32 -04:00
hannesw
1f39a87a62 8240169: javadoc fails to link to non-modular api docs
Reviewed-by: jjg
2020-10-22 18:44:31 -04:00
weijun
b11f050cfd 8227595: keytool/fakegen/DefaultSignatureAlgorithm.java fails due to "exitValue = 6"
Reviewed-by: mullan
2020-10-22 18:44:31 -04:00
phh
ff039d5fe4 8231968: getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes
Summary: Pass Thread.currentThread().getId() to getThreadAllocatedBytes, remove its implSpec
Reviewed-by: dholmes, mchung, sspitsyn
2020-10-22 18:44:30 -04:00
phh
9f836984f1 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Summary: Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])
Reviewed-by: mchung, dholmes, sspitsyn
2020-10-22 18:44:30 -04:00
shade
56fd51cd53 8221918: runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
Reviewed-by: jiangli, dholmes
2020-10-22 18:44:29 -04:00
iklam
282c7b3195 8213275: ReplaceCriticalClasses.java fails with jdk.internal.vm.PostVMInitHook not found
Reviewed-by: lfoltan, sspitsyn, shade
2020-10-22 18:44:29 -04:00
iklam
0eeb0f5772 8212200: assert when shared java.lang.Object is redefined by JVMTI agent
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2020-10-22 18:44:29 -04:00
vkempik
d9cc1dae70 8243470: [macos] bring back O2 opt level for unsafe.cpp
Summary: Remove special case for unsafe.cpp on clang macos
Reviewed-by: erikj, ihse
2020-10-22 18:44:28 -04:00
never
ece8fcc91b 8247246: Add explicit ResolvedJavaType.link and expose presence of default methods
Reviewed-by: kvn, sgehwolf, adinn
Contributed-by: Foivos Zakkak <fzakkak@redhat.com>
2020-10-22 18:44:27 -04:00
mseledtsov
4d01f061fb 8222769: [TESTBUG] TestJFRNetworkEvents should not rely on hostname command
Summary: Using InetAddress.getLocalHost()
Reviewed-by: egahlin, lmesnik
Contributed-by: Severin Gehwolf <sgehwolf@redhat.com>
2020-10-22 18:44:27 -04:00
psadhukhan
8318f44a43 8203281: [Windows] JComboBox change in ui when editor.setBorder() is called
Reviewed-by: psadhukhan
Contributed-by: mraz.martin.dev@gmail.com
2020-10-22 18:44:27 -04:00
chagedorn
75f5e42208 8246203: Segmentation fault in verification due to stack overflow with -XX:+VerifyIterativeGVN
Summary: Replace the recursive verification algorithm with an iterative one to avoid a stack overflow for large graphs.
Reviewed-by: kvn, thartmann
2020-10-22 18:44:26 -04:00
chagedorn
85da04fb94 8244719: CTW: C2 compilation fails with "assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it"
Summary: Fix Parse::Block::init_graph() to also count predecessors for exception blocks because they can have a direct bytecode jump to them resulting in this assertion failure.
Reviewed-by: kvn, thartmann
2020-10-22 18:44:26 -04:00
weijun
5c79be3ac4 8242184: CRL generation error with RSASSA-PSS
Reviewed-by: xuelei
2020-10-22 18:44:25 -04:00
kevinw
92e0697af3 8240295: hs_err elapsed time in seconds is not accurate enough
Reviewed-by: dholmes, sspitsyn
2020-10-22 18:44:25 -04:00
valeriep
ac1091da41 8238448: RSASSA-PSS signature verification fail when using certain odd key sizes
Summary: Calculate and set offset for correct verification for such key sizes
Reviewed-by: xuelei
2020-10-22 18:44:24 -04:00
amenkov
a78c0a9dbb 8235846: Improve WindbgDebuggerLocal implementation
Reviewed-by: sspitsyn, cjplummer
2020-10-22 18:44:24 -04:00
weijun
728f1ee8b2 8227059: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timed out
Reviewed-by: xuelei
2020-10-22 18:44:23 -04:00
fyang
792e69edc6 8248219: aarch64: missing memory barrier in fast_storefield and fast_accessfield
Reviewed-by: aph
Contributed-by: songyaofei2@huawei.com
2020-10-22 18:44:23 -04:00
naoto
27c4c1ae43 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Reviewed-by: lancea, rgoel
2020-10-22 18:44:22 -04:00
roland
6a410fc890 8240676: Meet not symmetric failure when running lucene on jdk8
Reviewed-by: kvn, thartmann
2020-10-22 18:44:22 -04:00
qpzhang
155efb6dce 8248214: Add paddings for TaskQueueSuper to reduce false-sharing cache contention
Summary: This is a downport of a part of JDK-8243326
Reviewed-by: goetz, clanger
2020-10-22 18:44:21 -04:00
iklam
fa1e491340 8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
Reviewed-by: jiangli
2020-10-22 18:44:21 -04:00
dtitov
35ecf979a3 8246196: javax/management/MBeanServer/OldMBeanServerTest fails with AssertionError
Reviewed-by: amenkov, dholmes, sspitsyn
2020-10-22 18:44:21 -04:00
kvn
f32fefb57a 8247350: [aarch64] assert(false) failed: wrong size of mach node
Summary: use movptr() to load address of string
Reviewed-by: adinn, azeemj
2020-10-22 18:44:20 -04:00
goetz
ea9a7e808c 8248385: [testbug][11u] Adapt TestInitiExceptions to jtreg 5.1
Summary: Downport fix for TestInitException from 8246387
Reviewed-by: clanger
2020-10-22 18:44:20 -04:00
weijun
42b2ce754a 8244087: 2020-04-24 public suffix list update
Reviewed-by: mullan
2020-10-22 18:44:19 -04:00
thartmann
ece3569549 8246153: TestEliminateArrayCopy fails with -XX:+StressReflectiveCode
Summary: Use the memory input instead of the control input to find the membar.
Reviewed-by: kvn, neliasso
2020-10-22 18:44:19 -04:00
bobv
73d45929ea 8245832: JDK build make-static-libs should build all JDK libraries
Reviewed-by: erikj, aph
2020-10-22 18:44:18 -04:00
thartmann
a2fc77de24 8246453: TestClone crashes with "all collected exceptions must come from the same place"
Summary: Set deoptimize_on_exception for slow paths.
Reviewed-by: neliasso
2020-10-22 18:44:18 -04:00
chagedorn
310f6de15a 8239083: C1 assert(known_holder == NULL || (known_holder->is_instance_klass() && (!known_holder->is_interface() || ((ciInstanceKlass*)known_holder)->has_nonstatic_concrete_methods())), "should be non-static concrete method");
Summary: Remove unnecessary preparation to profile the holder of a static method called by a method handle in C1.
Reviewed-by: thartmann, kvn
2020-10-22 18:44:17 -04:00
weijun
22d21b77a7 8246193: Possible NPE in ENC-PA-REP search in AS-REQ
Reviewed-by: xuelei
2020-10-22 18:44:17 -04:00
aoqi
1039a2a78c 8246027: Minimal fastdebug build broken after JDK-8245801
Summary: Added COMPILER2_PRESENT macro
Reviewed-by: shade, thartmann
2020-10-22 18:44:16 -04:00
thartmann
c5525de5f0 8245801: StressRecompilation triggers assert "redundunt OSR recompilation detected. memory leak in CodeCache!"
Summary: Assert is too strong.
Reviewed-by: roland
2020-10-22 18:44:16 -04:00
xyin
d5b5777bed 8243138: Enhance BaseLdapServer to support starttls extended request
Reviewed-by: aefimov, dfuchs
2020-10-22 18:44:15 -04:00
prr
c5be925d70 8220150: macos10.14 Mojave returns anti-aliased glyphs instead of aliased B&W glyphs
Reviewed-by: serb, kcr
2020-10-22 18:44:15 -04:00
rraghavan
3336e5a993 8228448: Jconsole can't connect to itself
Summary: Additions done to allow jconsole to connect to itself
Reviewed-by: erikj
Contributed-by: ramkumar.sunderbabu@oracle.com
2020-10-22 18:44:14 -04:00
gadams
f1b9ac5b74 8203026: java.rmi.NoSuchObjectException: no such object in table
Reviewed-by: rriggs, sspitsyn
2020-10-22 18:44:14 -04:00
weijun
71417ea192 8172404: Tools should warn if weak algorithms are used before restricting them
Reviewed-by: mullan, weijun
Contributed-by: Hai-May Chao <hai-may.chao@oracle.com>
2020-10-22 18:44:14 -04:00
sgehwolf
72a603ebfb 8247874: Replacement in VersionProps.java.template not working when --with-vendor-bug-url contains '&'
Summary: Backports parts of 8223319: Add copyright footer to specs and man pages
Reviewed-by: andrew, phh
2020-10-22 18:44:13 -04:00
psadhukhan
b02e5c6dbb 8209343: Test javax/swing/border/TestTitledBorderLeak.java should be marked as headful
Reviewed-by: jdv
2020-10-22 18:44:13 -04:00
psadhukhan
292903d050 8234385: [TESTBUG] java/awt/EventQueue/6980209/bug6980209.java fails in linux nightly
Reviewed-by: serb
2020-10-22 18:44:12 -04:00
jjiang
14f80f197a 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei, mbaesken
2020-10-22 18:44:12 -04:00
egahlin
301391b751 8230767: FlightRecorderListener returns null recording
Reviewed-by: mseledtsov, mgronlun
2020-10-22 18:44:11 -04:00
michaelm
9366c54ad3 8233958: Memory retention due to HttpsURLConnection finalizer that serves no purpose
Reviewed-by: dfuchs, rriggs
2020-10-22 18:44:11 -04:00
afarley
36272958ae 8229378: jdwp library loader in linker_md.c quietly truncates on buffer overflow
Summary: Check buffer overflow when the jdwp agent full dll name is built
Reviewed-by: cjplummer, sspitsyn, andrew
2020-10-22 18:44:10 -04:00
mbaesken
51aaccc7b6 8244196: adjust output in os_linux
Reviewed-by: dholmes, mdoerr
2020-10-22 18:44:10 -04:00
mbaesken
5aecb93b5e 8243389: enhance os::pd_print_cpu_info on linux
Reviewed-by: dholmes, mdoerr
2020-10-22 18:44:09 -04:00
ddong
110ad3d6dc 8240360: NativeLibraryEvent has wrong library name on Linux
Reviewed-by: ysuenaga, clanger
2020-10-22 18:44:09 -04:00
amenkov
eb335668c7 8244703: "platform encoding not initialized" exceptions with debugger, JNI
Reviewed-by: alanb, sspitsyn
2020-10-22 18:44:08 -04:00
goetz
5edbfcd631 8244225: stringop-overflow warning on strncpy call from compile_the_world_in
Reviewed-by: aph
2020-10-22 18:44:08 -04:00
psadhukhan
34f48c3c25 8234149: Several regression tests do not dispose Frame at end
Reviewed-by: serb
2020-10-22 18:44:08 -04:00
xuelei
1a908f2143 8223940: Private key not supported by chosen signature algorithm
Reviewed-by: valeriep
2020-10-22 18:44:07 -04:00
rehn
d5b78cd8c4 8213574: Deadlock in string table expansion when dumping lots of CDS classes
Reviewed-by: jiangli, iklam, dholmes
2020-10-22 18:44:07 -04:00
roland
d00809040a 8245714: "Bad graph detected in build_loop_late" when loads are pinned on loop limit check uncommon branch
Reviewed-by: thartmann
2020-10-22 18:44:06 -04:00
mullan
83e3a4f792 8237888: security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java fails when checking validity interval
Reviewed-by: xuelei
2020-10-22 18:44:06 -04:00
erikj
872a3be669 8216021: RunTest.gmk might set concurrency level to 1 on Windows
Reviewed-by: ctornqvi, tbell
2020-10-22 18:44:05 -04:00
ascarpino
6d53cf16f8 8233228: Disable weak named curves by default in TLS, CertPath, and Signed JAR
Reviewed-by: mullan, xuelei, weijun
2020-10-22 18:44:05 -04:00
prr
c9d3a45626 6949753: [TEST BUG]: java/awt/print/PageFormat/PDialogTest.java needs update by removing a infinite loop
Reviewed-by: jdv
2020-10-22 18:44:04 -04:00
chagedorn
939d481396 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Summary: Remove assert that is only hit with hand written edge case tests.
Reviewed-by: kvn, thartmann
2020-10-22 18:44:04 -04:00
cjplummer
569ede41a0 8214797: TestJmapCoreMetaspace.java timed out
Reviewed-by: dcubed
2020-10-22 18:44:03 -04:00
jjiang
2b4e4637e6 8237977: Further update javax/net/ssl/compatibility/Compatibility.java
Reviewed-by: rhalade
2020-10-22 18:44:03 -04:00
darcy
511f78097c 8233452: java.math.BigDecimal.sqrt() with RoundingMode.FLOOR results in incorrect result
Reviewed-by: bpb, dfuchs
2020-10-22 18:44:02 -04:00
kvn
db08174fd1 8233741: AES Countermode (AES-CTR) optimization using AVX512 + VAES instructions
Reviewed-by: kvn
Contributed-by: smita.kamath@intel.com, regev.shemy@intel.com, shay.gueron@intel.com
2020-10-22 18:44:02 -04:00
srukmannagar
01dd0e2432 8225625: AES Electronic Codebook (ECB) encryption and decryption optimization using AVX512 + VAES instructions
Summary: AES-ECB encryption and decryption optimization for x86_64 architectures supporting AVX3+VAES
Reviewed-by: kvn, valeriep
Contributed-by: shravya.rukmannagari@intel.com, smita.kamath@intel.com
2020-10-22 18:44:01 -04:00
prr
4ed81251c5 8226697: Several tests which need the @key headful keyword are missing it.
Reviewed-by: serb
2020-10-22 18:44:01 -04:00
mbalao
0cb7085706 8239385: KerberosTicket client name refers wrongly to sAMAccountName in AD
Reviewed-by: weijun
2020-10-22 18:44:00 -04:00
jbachorik
5cb460ee1d 8243489: Thread CPU Load event may contain wrong data for CPU time under certain conditions
Reviewed-by: jbachorik
Contributed-by: Nikolay Martynov <nikolay.martynov@datadoghq.com>
2020-10-22 18:44:00 -04:00
hseigel
dcabdc3f8c 8234058: runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Summary: Don't run test on Windows because ASLR can cause unexpected memory addresses
Reviewed-by: coleenp
2020-10-22 18:43:59 -04:00
jlahoda
9c82b4a1fa 8229815: Upgrade Jline to 3.12.1
Reviewed-by: rfield
2020-10-22 18:43:59 -04:00
never
6c1953558c 8233027: OopMapSet::all_do does oms.next() twice during iteration
Reviewed-by: shade, kvn
2020-10-22 18:43:58 -04:00
never
b3819957e5 8232083: Minimal VM is broken after JDK-8231586
Reviewed-by: dlong
2020-10-22 18:43:57 -04:00
never
74a916cc26 8231586: enlarge encoding space for OopMapValue offsets
Reviewed-by: dlong
2020-10-22 18:43:57 -04:00
tnakamura
e9e9a2b097 8224184: jshell got IOException at exiting with AIX
Reviewed-by: rfield, jlahoda
2020-10-22 18:43:57 -04:00
jlahoda
c1a84aca31 8215244: jdk/jshell/ToolBasicTest.java testHistoryReference failed
Summary: Mark history entries from previous sessions with timestamp that is definitelly in the past.
Reviewed-by: rfield
2020-10-22 18:43:56 -04:00
rschmelter
622fbd4f12 8219712: code_size2 (defined in stub_routines_x86.hpp) is too small on new Skylake CPUs
Reviewed-by: mbaesken, dholmes, kvn
2020-10-22 18:43:56 -04:00
shade
82d723bfe2 8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions)
Reviewed-by: thartmann
2020-10-22 18:43:55 -04:00
ascarpino
4efed15025 8214074: Ghash optimization using AVX instructions
Reviewed-by: kvn, ascarpino
Contributed-by: smita.kamath@intel.com
2020-10-22 18:43:55 -04:00
egahlin
457295440e 8210977: jdk/jfr/event/oldobject/TestThreadLocalLeak.java fails to find ThreadLocalObject
Reviewed-by: mgronlun, mseledtsov
2020-10-22 18:43:54 -04:00
jlahoda
81330e61e0 8215438: jshell tool: Ctrl-D causes EOF
Summary: Properly handling EndOfFileException so that jshell can be closed with Ctrl-D.
Reviewed-by: rfield
2020-10-22 18:43:54 -04:00
jlahoda
0c8610cf4d 8215243: JShell tests failing intermitently with \"Problem cleaning up the following threads:\"
Summary: Do not reset closed state in the StopDetectingInputStream.write
Reviewed-by: rfield
2020-10-22 18:43:53 -04:00
jlahoda
586dfe6b76 8214491: Upgrade to JLine 3.9.0
Summary: Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.
Reviewed-by: rfield, sundar
2020-10-22 18:43:53 -04:00
sballal
35af20e342 8209342: Problemlist SA tests on Solaris due to Error attaching to process: Can't create thread_db agent!
Reviewed-by: dcubed, iklam, jgeorge
2020-10-22 18:43:52 -04:00
coleenp
d56e6f97a7 8206309: Tier1 SA tests fail
Summary: remove tests that should have been removed with JDK-8205534
Reviewed-by: hseigel
2020-10-22 18:43:52 -04:00
coleenp
7e571bb76b 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2020-10-22 18:43:51 -04:00
ngasson
de1643f260 8244164: AArch64: jaotc generates incorrect code for compressed OOPs with non-zero heap base
Reviewed-by: aph
2020-10-22 18:43:51 -04:00
goetz
36e4dd081b 8245616: Bump update version for OpenJDK: jdk-11.0.9
Reviewed-by: clanger
2020-10-22 18:43:50 -04:00
bpb
e2c56236da 8242695: Enhanced buffer support
Reviewed-by: alanb, rhalade, mbalao, andrew
2020-10-22 18:43:34 -04:00
dfuchs
32394a0091 8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response
Summary: The HTTP/2 Stream is updated to register a trivial data subscriber in case of 204 so that the END_STREAM is correctly processed.
Reviewed-by: chegar
2020-10-22 18:43:33 -04:00
dfuchs
3a2177dcd5 8216974: HttpConnection not returned to the pool after 204 response
Summary: MultiExchange now call nullBody() on Exchange after receiving 204
Reviewed-by: chegar
2020-10-22 18:43:32 -04:00
serb
b66a21a9d1 8243925: Toolkit#getScreenInsets() returns wrong value on HiDPI screens (Windows)
Reviewed-by: prr, psadhukhan
2020-10-22 18:43:32 -04:00
Dmitry Batrak
f5b6222835 JBR-2712 Typeahead mechanism doesn't work on Windows
fix issue with newly opened popup not being recognized by screen reader
2020-10-22 11:26:58 +03:00
Vitaly Provodin
557b87f774 JBR-2810 refactor dcevm patches 2020-10-21 05:12:40 +07:00
Denis Konoplev
bf3e1c0c31 JBR-2795: Add explicit conversion 2020-10-19 20:08:36 +03:00
Dmitry Batrak
b20c56ff3e JBR-2759, JBR-2798 Typeahead issue on Linux
remove test that fails after the fix
there doesn't seem to be a sense in fixing an applet-related behaviour (captured in a synthetic test), when testing with a real applet isn't possible
2020-10-19 17:38:48 +03:00
Dmitry Batrak
a507cab6d3 JBR-2696 Log focus API invocations with stack traces
add com.apple.eawt.Application.requestForeground to the set of logged requests
2020-10-19 15:56:08 +03:00
Phil Race
35fc070473 JBR-2790 backport the fix from OpenJDK
8244818: Java2D Queue Flusher crash while moving application window to external monitor

Reviewed-by: serb, jdv, kcr
2020-10-16 17:09:46 +07:00
Vitaly Provodin
1813c24330 JBR-2762 add patch fixing DCEVM JVM Crashes on sun.instrument.InstrumentationImpl.retransformClasses method 2020-10-16 17:09:14 +07:00
Dmitry Batrak
76bdaf1131 JBR-2759 Typeahead issue on Linux 2020-10-15 13:32:30 +03:00
Vitaly Provodin
fcc56cc8a2 JBR-2787 fix copying jcef files into jbr/jbrsdk binaries 2020-10-15 08:56:23 +07:00
Dmitry Batrak
1a9838082e JBR-2712 Typeahead mechanism doesn't work on Windows 2020-10-13 13:12:03 +03:00
Dmitry Batrak
d60027e12b JBR-2778 Revert fix for JBR-1973 (IDEA-215004)
This reverts commit c8b3c854
2020-10-12 12:40:03 +03:00
Rajan Halade
bd27263ec7 JBR-2774 Backport: Updated GetPolicyQualifiers.java test
8254081: java/security/cert/PolicyNode/GetPolicyQualifiers.java fails due to an expired certificate

Perform backdated validation of test certificate.

Reviewed-by: mullan, xuelei
2020-10-09 16:25:53 +07:00
Vitaly Provodin
27eafd8a53 Remove jogl and gluegen modules from module-info and modules list
These modules will be added via patch during building corresponding JBR binaries
2020-10-06 07:18:50 +07:00
Anton Tarasov
96da1139c0 Add jogl and gluegen modules to support jcef osr mode
OSR - off-screen rendering
2020-10-05 20:52:49 +03:00
Vitaly Provodin
668570bc61 JBR-2758 refactor building scripts to apply patches adding required modules instead of excluding them 2020-10-05 17:03:54 +07:00
Vitaly Provodin
d3ec3d899d JBR-2736 provide writeObjects implementation for copying files/folders (fix review notes) 2020-10-02 13:52:15 +07:00
Mikhail Grishchenko
d1479872f2 JBR-2412 [windows] mouse listener does not work for jcef
added regression test
2020-09-30 19:43:42 +07:00
Mikhail Grishchenko
e8e4741bb0 JBR-2639 [win] jcef does not recognize vertical mouse wheel events
added regression test
2020-09-30 12:53:32 +07:00
Andrey Starovoyt
33db034d49 JBR-2736 provide writeObjects implementation for copying files/folders from Project Explorer to the Finder 2020-09-30 06:50:13 +07:00
Roman Shevchenko
6a85e88e94 README: correcting proper nouns 2020-09-29 21:45:34 +02:00
Vitaly Provodin
8b7ad2e58f updated JTreg exclude list 2020-09-29 06:20:36 +07:00
Artem Semenov
696a9a4128 JR-CR-667 JBR-2738 Create a test for JTable Accessibility 2020-09-28 13:01:39 +03:00
Artem Semenov
54bb49caeb Review JR-CR-645 JBR-2504 A11y Create a test to test the accessibility of lists on MAc
(cherry picked from commit 92e40bf92c00fb5ce46dff41fc23ad39e460fcc1)
2020-09-25 12:55:34 +03:00
Vitaly Provodin
9c0afe3a7d updated JTreg exclude list 2020-09-24 05:04:33 +07:00
Dmitry Batrak
6dd334f9f0 JBR-2648 Cannot input Japanese and Chinese text in Search Everywhere
code being removed (added to fix JRE-665) is not needed after JBR-2533 fix, as 'simple' windows are natively focused now
2020-09-23 17:27:37 +03:00
Dmitry Batrak
96dd8fcf48 JBR-2735 PopupIncomingFocusTest is failing on KDE when launched via jtreg 2020-09-23 12:47:19 +03:00
Egor Ushakov
9b960dd02a navigation to issues from vcs log 2020-09-16 15:38:20 +03:00
Mikhail Grishchenko
6b7d5fd58c updated JTreg exclude list 2020-09-16 16:25:07 +07:00
Dmitry Batrak
ebcdeb7d80 JBR-2698 setAutoRequestFocus(false) breaks focus logic under i3 window manager on Linux 2020-09-11 11:11:17 +03:00
Vitaly Provodin
67870df19e updated JTreg exclude list 2020-09-11 10:36:59 +07:00
Nikita Gubarkov
afd19dbefd JBR-2614 Fixed LCD glyph width to include both left & right padding, so that rowBytes = width * 3 2020-09-10 15:45:25 +03:00
Nikita Gubarkov
a55097289b Revert "JBR-2614 Passed real glyph type from native code instead of guessing on rowBytes & width"
This reverts commit 8de39b80
2020-09-10 15:39:00 +03:00
Nikita Gubarkov
8de39b80cd JBR-2614 Passed real glyph type from native code instead of guessing on rowBytes & width 2020-09-10 01:50:34 +03:00
Dmitry Batrak
0f038754e5 JBR-2696 Log focus API invocations with stack traces 2020-09-07 14:19:43 +03:00
Vitaly Provodin
4aa278e4a0 Revert "JBR-2577 implemented precise CompilationMXBean#getTotalCompilationTime"
This reverts commit 89163e73
2020-09-07 16:44:40 +07:00
Vitaly Provodin
e3562ecc99 Revert "thread.cpp:4574:43: error: ‘nullptr’ quick fix"
This reverts commit 82a36017
2020-09-07 16:44:20 +07:00
Vitaly Provodin
b62d47da9c updated JTreg exclude list 2020-09-06 06:27:20 +07:00
MonoBot
715e8d345a Fonts release 2.002 2020-08-27 14:05:47 +03:00
Vitaly Provodin
e748f39e20 updated JTreg exclude list 2020-08-26 11:41:35 +07:00
Brian Burkhalter
428ade4fd8 8221852: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE should be selected at runtime, not build time
Reviewed-by: alanb, shade
2020-08-24 11:36:15 +07:00
Alexey Ushakov
e28ff71e97 JBR-2617 Text with opacity renders black
Some more adjustments in font thickness for dark text. Added JVM properties for fine tuning
2020-08-21 23:52:21 +03:00
Elena Sayapina
f826eb992e IDEA-242347: [TESTUPDATE] Added a comment 2020-08-20 18:10:47 +07:00
Denis Konoplev
ba3f14c83a JBR-2669: set unicode for both keyCode and extendedKeyCode 2020-08-19 21:56:51 +03:00
Alexey Titov
82a3601748 thread.cpp:4574:43: error: ‘nullptr’ quick fix 2020-08-19 14:58:35 +03:00
Kirill Kirichenko
eeab5252e6 JBR-2667 Post review: rename win.darkTheme.on to win.lightTheme.on and reversed the logic 2020-08-19 11:32:58 +03:00
Alexey Ushakov
838bbedd1a Merge pull request #33 from JetBrains/alexey.titov/precise-compilation-time
JBR-2577 implemented precise CompilationMXBean#getTotalCompilationTime
2020-08-18 17:40:47 +03:00
Kirill Kirichenko
0e4ad056dd JBR-2667 Add new AWT desktop property for light/dark theme detection on Windows 10 2020-08-18 14:12:37 +03:00
Alexey Titov
89163e73d0 JBR-2577 implemented precise CompilationMXBean#getTotalCompilationTime 2020-08-13 15:37:22 +03:00
Dmitry Batrak
665ebc5d47 JBR-2652 Window is not focused in some cases on Linux 2020-08-11 13:44:58 +03:00
denis.konoplev
32b1c35305 IDEA-242347: Remove sun.awt.event.KeyEvent import 2020-08-10 12:25:10 +03:00
Alexey Ushakov
55c7be5fe9 JBR-2617 Text with opacity renders black
Minor adjustments of dark text according to UX-1320
2020-08-07 19:52:02 +03:00
denis.konoplev
5017e2e385 IDEA-242347: Remove redundant conversion for Latin unicode 2020-08-07 15:00:02 +03:00
Anton Tarasov
492c217125 JBR-2645 enable CefBrowser.close(true) in jcef reg tests 2020-08-06 16:19:03 +03:00
Alexey Ushakov
269c9580fb JBR-2617 Text with opacity renders black
Corrected bright text thickness (smooth on), bright and dark text thickness (smooth off)
2020-08-06 13:47:28 +03:00
Elena Sayapina
5f691bb788 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.
2020-08-06 12:29:37 +07:00
Vitaly Provodin
bcdd2242ef JBR-2634 add facilities generating windows fastdebug builds 2020-08-06 09:53:42 +07:00
Rahul Yadav
faee138574 8240666: Websocket client’s OpeningHandshake discards the HTTP response body
The fix updates jdk.internal.net.http.websocket. OpeningHandshake.send() method to process the response body from server

Reviewed-by: chegar, dfuchs, prappo
(cherry picked from commit ed24927500)
2020-08-05 15:32:40 +07:00
Daniel Fuchs
fb69e212ba 8236859: WebSocket over authenticating proxy fails with NPE
This change fixes several issues with WebSocket and proxy authentication. The AuthenticationFilter is changed to support an authenticating server accessed through an authenticating proxy. MultiExchange is fixed to close the previous connection if a new connection is necessary to establish the websocket (websocket connections are not cached and must be closed in that case). WebSocket OpeningHandshake is fixed to close the connection (without creating the RawChannel) if the opening handshake doesn't result in 101 upgrade protocol.

Reviewed-by: prappo, chegar
(cherry picked from commit c6da6681d4)
2020-08-05 15:32:40 +07:00
Daniel Fuchs
d8cc648a18 8216478: Cleanup HttpResponseImpl back reference to HttpConnection
Retain a reference to Exchange and HttpConnection only when necessary, i.e. for WebSocket initial connection.

Reviewed-by: chegar
(cherry picked from commit ad67fe1baf)
2020-08-05 15:32:40 +07:00
Julia Boes
15d2b6217d 8232853: AuthenticationFilter.Cache::remove may throw ConcurrentModificationException
Change implementation to use iterator instead of plain LinkedList

Reviewed-by: dfuchs, vtewari
(cherry picked from commit d948bfd584)
2020-08-05 15:32:40 +07:00
Michael McMahon
b92f4a73b4 8199849: Add support for UTF-8 encoded credentials in HTTP Basic Authentication
Reviewed-by: chegar, dfuchs
(cherry picked from commit e3b6b7f842)
2020-08-05 15:32:40 +07:00
Michael McMahon
5f0e3bcd37 8217237: HttpClient does not deal well with multi-valued WWW-Authenticate challenge headers
Reviewed-by: chegar, dfuchs
(cherry picked from commit d089a4ae51)
2020-08-05 15:32:40 +07:00
Chris Hegarty
e6f336ae8b 8217429: WebSocket over authenticating proxy fails to send Upgrade headers
Reviewed-by: dfuchs, prappo
(cherry picked from commit 46f4ab603b)
2020-08-05 15:32:40 +07:00
Brian Burkhalter
7c0f78edf1 8227080: (fs) Files.newInputStream(...).skip(n) is slow
Reviewed-by: sbordet, rriggs, fweimer
(cherry picked from commit c6c82dd736)
2020-08-05 15:22:14 +07:00
Brian Burkhalter
a2ba1bd211 8215467: Files.isHidden should return true for hidden directories on Windows
Reviewed-by: alanb, bchristi, darcy
(cherry picked from commit 5c5d27962a)
2020-08-05 15:22:14 +07:00
Alexey Ushakov
c95adeb8f2 JBR-2617 Text with opacity renders black
Fix compilation on windows
2020-08-04 20:58:47 +03:00
Alexey Ushakov
c30306f779 JBR-2617 Text with opacity renders black
Implemented alpha blending in grayscale text rendering
2020-08-04 19:09:37 +03:00
Konstantin Bulenkov
ad8ac1f3bc Merge pull request #28 from JetBrains/mono/2.001
JetBrains Mono release 2.001
2020-07-31 09:05:46 +02:00
Aleksey Shipilev
63719b57ed 8221824: Build failure with MSVS 2013 after JDK-8218418
Reviewed-by: stuefe, alanb
2020-07-31 13:47:51 +07:00
bpb
0f775c6d66 8218418: (fs) Files.createSymbolicLink should use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (win)
Reviewed-by: alanb
2020-07-31 13:46:11 +07:00
Sergey Malenkov
523d80cafd EA-235126 - CME: HighlightableComponent.getPreferredSize 2020-07-29 22:05:39 +03:00
Mikhail Grishchenko
ca48245ee3 updated JTreg exclude list 2020-07-29 16:26:39 +07:00
Zhengyu Gu
fd6991529e JBR-2616 Backport: disable test for 32bit platforms
8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows

Reviewed-by: stuefe
2020-07-29 16:25:07 +07:00
Alexey Ushakov
1e04518d5c CMake: defined MACOSX macro for project sources 2020-07-24 19:34:38 +03:00
Alexey Ushakov
5953202a7e JBR-2521 Ugly font in all 2020.2 EAPs on macOS
Provide gamma correction for both light and dark text
2020-07-24 19:33:52 +03:00
Vitaly Provodin
e333be38f4 updated JTreg exclude list 2020-07-24 11:55:12 +07:00
Mikhail Grishchenko
c1bca14fd3 JBR-2586 Render benchmark hangs on Linux and Windows
Fixed incorrect color of jpanel.
2020-07-23 18:07:12 +07:00
Anton Tarasov
57bbddf071 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI 2020-07-23 10:08:36 +03:00
Vitaly Provodin
9f930e3748 resolving conflict DCEVM vs 11.0.8 update 2020-07-23 10:22:07 +07:00
Alexey Ushakov
64f610b58e CMake: Added compile targets for linux 2020-07-22 20:34:09 +03:00
Alexey Ushakov
ed52fde57d JBR-2591 Repainting is broken (was: Icons in tree list widgets became dark)
Fix compilation on linux
2020-07-22 20:32:13 +03:00
Alexey Ushakov
f517bb3380 Merge pull request #29 from bell-sw/update_11.0.8
jdk-11.0.8-ga update
2020-07-22 14:05:35 +03:00
Alexey Ushakov
7beb75ccec JBR-2591 Repainting is broken (was: Icons in tree list widgets became dark)
Save current blend mode before cached grayscale rendering
2020-07-22 13:21:42 +03:00
andrew
f8ff966477 Added tag jdk-11.0.8-ga for changeset 0b0d55cb09b2 2020-07-22 02:14:38 +03:00
andrew
c9a79afe07 Added tag jdk-11.0.8+10 for changeset 0b0d55cb09b2 2020-07-22 02:02:27 +03:00
valeriep
2834f4adb0 8248505: Unexpected NoSuchAlgorithmException when using secure random impl from BCFIPS provider
Summary: Use getService(...) call for Provider.getDefaultSecureRandomService()
Reviewed-by: weijun, coffeys, mullan
2020-07-22 02:02:26 +03:00
andrew
6d10730d00 Added tag jdk-11.0.8+9 for changeset 59f8565ee5e2 2020-07-22 02:02:26 +03:00
joehw
abf2d7d74c 8242136: Better XML namespace handling
Reviewed-by: lancea, dfuchs, skoivu, rhalade, kravikumar
2020-07-22 02:02:25 +03:00
amenkov
be2bbc2f48 8241522: Manifest improved jar headers redux
Reviewed-by: sspitsyn, jwilhelm, mschoene, rhalade
2020-07-22 02:02:25 +03:00
weijun
dbf75d0e56 8241379: Update JCEKS support
Reviewed-by: ahgross, mullan, rhalade
2020-07-22 02:02:24 +03:00
serb
60118a409e 8240482: Improved WAV file playback
Reviewed-by: amenkov, rhalade, mschoene, prr
2020-07-22 02:02:24 +03:00
prr
a08aa25531 8240119: Less Affine Transformations
Reviewed-by: serb, bpb, mschoene, rhalade
2020-07-22 02:02:23 +03:00
serb
ce61762e04 8238925: Enhance WAV file playback
Reviewed-by: prr, amenkov, rhalade, mschoene
2020-07-22 02:02:22 +03:00
bpb
1c244b7bc0 8238920: Better Buffer support
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-07-22 02:02:22 +03:00
prr
b8b35ffb01 8238843: Enhanced font handing
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2020-07-22 02:02:21 +03:00
weijun
24418db7cd 8238804: Enhance key handling process
Reviewed-by: rriggs, mullan, ahgross, rhalade
2020-07-22 02:02:21 +03:00
bpb
93c5a7b606 8238013: Enhance String writing
Reviewed-by: alanb, ahgross, rhalade, rriggs
2020-07-22 02:02:20 +03:00
prr
c61033caba 8238002: Better matrix operations
Reviewed-by: serb, erikj, mschoene, rhalade
2020-07-22 02:02:19 +03:00
weijun
b04998a70a 8237592: Enhance certificate verification
Reviewed-by: xuelei, mullan, rhalade, ahgross
2020-07-22 02:02:19 +03:00
chegar
5e281062c3 8237117: Better ForkJoinPool behavior
Reviewed-by: dfuchs, alanb, rhalade, mullan
2020-07-22 02:02:18 +03:00
phh
784be32b7e 8236867: Enhance Graal interface handling
Summary: Includes "[GR-14791] Fix NPE in InliningData.getInlineInfo" (Graal 4c69db20e2b614c29af27ed95d20e3b80bd21848)
Reviewed-by: andrew
Contributed-by: benty@amazon.com
2020-07-22 02:02:17 +03:00
xuelei
783a80c6c6 8236191: Enhance OID processing
Reviewed-by: jnimeh, weijun, ahgross, rhalade
2020-07-22 02:02:16 +03:00
rriggs
9796449910 8234836: Improve serialization handling
Reviewed-by: skoivu, rhalade, chegar
2020-07-22 02:02:15 +03:00
mullan
381d62cc37 8234418: Better parsing with CertificateFactory
Reviewed-by: weijun, mschoene, rhalade
2020-07-22 02:02:15 +03:00
mullan
11ad64ffa3 8234042: Better factory production of certificates
Reviewed-by: weijun, rhalade, mschoene
2020-07-22 02:02:14 +03:00
mullan
1d0182f137 8234032: Improve basic calendar services
Reviewed-by: weijun, rhalade, mschoene
2020-07-22 02:02:13 +03:00
serb
d1d9055e51 8233255: Better Swing Buttons
Reviewed-by: alitvinov, prr, ahgross, rhalade
2020-07-22 02:02:13 +03:00
jdv
3767fcae50 8233239: Enhance TIFF support
Reviewed-by: prr, bpb, mschoene, rhalade
2020-07-22 02:02:12 +03:00
phh
1aa7603700 8233234: Better Zip Naming
Reviewed-by: andrew, mbalao
Contributed-by: James Guo <junguoj@amazon.com>
2020-07-22 02:02:11 +03:00
joehw
628e62978b 8232014: Expand DTD support
Reviewed-by: lancea, dfuchs, mschoene, rhalade, aefimov
2020-07-22 02:02:10 +03:00
smarks
8949ef0d15 8231800: Better listing of arrays
Reviewed-by: alanb, rhalade, ahgross, igerasim
2020-07-22 02:02:10 +03:00
aefimov
75d8c71dd8 8230613: Better ASCII conversions
Reviewed-by: dfuchs, naoto, mschoene, rhalade
2020-07-22 02:02:09 +03:00
goetz
d931e3ceb9 Added tag jdk-11.0.8+8 for changeset 40b646e9d8fb 2020-07-22 01:19:18 +03:00
goetz
01d727e6a3 Added tag jdk-11.0.8+7 for changeset 46d4984bb3c6 2020-07-22 01:18:00 +03:00
goetz
e7ac29729c Added tag jdk-11.0.8+6 for changeset e42c6d1a1993 2020-07-22 01:17:23 +03:00
goetz
bb6e1641db Added tag jdk-11.0.8+5 for changeset 8df1a601187c 2020-07-22 01:16:34 +03:00
goetz
703ed01dd0 Added tag jdk-11.0.8+4 for changeset aa6c93b4f1ac 2020-07-22 01:16:06 +03:00
goetz
77eaa99d36 Added tag jdk-11.0.8+3 for changeset 2c0c9cfe2a4e 2020-07-22 01:15:19 +03:00
goetz
b6fbcf5b0c Added tag jdk-11.0.8+2 for changeset 88eaa453331e 2020-07-22 01:14:38 +03:00
goetz
aaa8cec640 Added tag jdk-11.0.8+1 for changeset 2eb415c82056 2020-07-22 01:14:01 +03:00
Alexey Ushakov
ad409b4370 JBR-2593 Wide ligatures not rendered in Grayscale mode
Added missing flush of cached vertices
2020-07-21 19:55:45 +03:00
bell-sw
eab96a58e3 reverted functional part of ccfe65b (JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware) due to upstream update 8176359 (Frame#setMaximizedbounds not working properly in multi screen environments) 2020-07-21 11:50:40 +03:00
Vitaly Provodin
345329a74c updated JTreg exclude list 2020-07-17 12:21:26 +07:00
Vitaly Provodin
60ce8b7256 updated JTreg exclude list 2020-07-17 10:10:23 +07:00
Vitaly Provodin
db4eb3fbc2 JBR-2566 parametrize paths to modules JCEF, JFX - fix for linux_fastdebug 2020-07-16 18:00:01 +07:00
Vitaly Provodin
109422a2de JBR-2566: parametrize paths to modules JCEF, JFX 2020-07-16 16:32:02 +07:00
Alexey Ushakov
a6f33217c4 JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Implemented gamma correction (gamma=2.2) for grayscale rendering in shader (for font size <= 64). It is controlled by Mac rendering setting "Use font smoothing when available"
2020-07-14 23:02:05 +03:00
valeriep
7cd6ae51b8 8246613: Choose the default SecureRandom algo based on registration ordering
Summary: Fixed java.security.Provider and SecureRandom to use the 1st registered SecureRandom service
Reviewed-by: weijun, mullan
2020-07-14 18:25:43 +03:00
pkoppula
504dcf5a5e 8246031: SSLSocket.getSession() doesn't close connection for timeout/ interrupts
Reviewed-by: xuelei, coffeys
2020-07-14 18:25:42 +03:00
rhalade
54219be493 8225069: Remove Comodo root certificate that is expiring in May 2020
Reviewed-by: mullan
2020-07-14 18:25:41 +03:00
robm
d252dbfe54 8214440: ldap over a TLS connection negotiate failed with "javax.net.ssl.SSLPeerUnverifiedException: hostname of the server '' does not match the hostname in the server's certificate"
Reviewed-by: vtewari, xuelei
2020-07-14 18:25:40 +03:00
xuelei
130f7b7ae8 8242141: New System Properties to configure the TLS signature schemes
Reviewed-by: ascarpino, jnimeh, mullan
2020-07-14 18:25:39 +03:00
itakiguchi
c21000efc0 8242541: Small charset issues (ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C)
Summary: Modify ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C charset related files
Reviewed-by: naoto
2020-07-14 18:25:38 +03:00
xliu
d8e5df1778 8022574: remove HaltNode code after uncommon trap calls
Reviewed-by: thartmann, mdoerr, simonis
2020-07-14 18:25:36 +03:00
chagedorn
1995bf0bf3 8231720: Some perf regressions after 8225653
Summary: Fixed emitting of unused assembly code in 8225653​ which had a negative impact on performance in tight loops.
Reviewed-by: kvn, thartmann
2020-07-14 18:25:35 +03:00
chagedorn
e6126eeab5 8225653: Provide more information when hitting SIGILL from HaltNode
Summary: Add information string for each HaltNode which is printed if hit at runtime.
Reviewed-by: vlivanov, thartmann
2020-07-14 18:25:34 +03:00
erikj
3cf320fe7b 8244951: Missing entitlements for hardened runtime
Reviewed-by: ihse
2020-07-14 18:25:33 +03:00
mdoerr
2d6da4f86b 8245047: [PPC64] C2: ReverseBytes + Load always match to unordered Load (acquire semantics missing)
Summary: Introduce separate nodes with acquire semantics which match ReverseBytes + Load.acquire.
Reviewed-by: shade, lucy
2020-07-14 18:25:32 +03:00
eosterlund
089ca96153 8216541: CompiledICHolders of VM locked unloaded nmethods are released too late
Reviewed-by: kvn, thartmann
2020-07-14 18:25:31 +03:00
epavlova
3f3902cb8e 8225622: [AOT] runtime/SharedArchiveFile/TestInterpreterMethodEntries.java crashed with AOTed java.base
Reviewed-by: kvn
2020-07-14 18:25:30 +03:00
rhalade
a16dc710c3 8225068: Remove DocuSign root certificate that is expiring in May 2020
Reviewed-by: mullan
2020-07-14 18:25:29 +03:00
dtitov
dec592bc63 8206179: com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value
Reviewed-by: sspitsyn, cjplummer
2020-07-14 18:25:28 +03:00
never
e88af15954 8191930: [Graal] emits unparseable XML into compile log
Reviewed-by: kvn
2020-07-14 18:25:27 +03:00
joehw
3923f17212 8242470: Update Xerces to Version 2.12.1
Reviewed-by: lancea, naoto
2020-07-14 18:25:26 +03:00
mbaesken
6508bfc82b 8210147: adjust some WSAGetLastError usages in windows network coding
Reviewed-by: clanger, stuefe
2020-07-14 18:25:25 +03:00
kvn
983b6a9135 8216151: [Graal] Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.debug
Summary: update default.policy based on latest changes in jdk.internal.vm.compiler.management
Reviewed-by: thartmann, alanb, mchung
2020-07-14 18:25:24 +03:00
phh
9f4d3c61d1 8245649: Revert 8245397 backport of 8230591
Summary: Revert 8245397 backport of 8230591
Reviewed-by: clanger
2020-07-14 18:25:23 +03:00
never
308aa701d3 8241458: [JVMCI] add mark value to expose CodeOffsets::Frame_Complete
Reviewed-by: kvn
2020-07-14 18:25:22 +03:00
ihse
6c147f3202 8217404: --with-jvm-features doesn't work when multiple features are explicitly disabled
Reviewed-by: vlivanov, kbarrett
2020-07-14 18:25:21 +03:00
pli
0eb6d3d068 8230591: AArch64: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: aph
2020-07-14 18:25:20 +03:00
mneugschwand
8f175ec887 8235908: omit ThreadPriorityPolicy warning when value is set from image
Reviewed-by: dholmes, clanger, kvn
2020-07-14 18:25:19 +03:00
kbarrett
850fb572dc 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Summary: Add java_shift_xxx helpers and use them.
Reviewed-by: aph, kvn
2020-07-14 18:25:18 +03:00
erikj
7df7269780 8232134: Change to Visual Studio 2017 15.9.16 for building on Windows at Oracle
Reviewed-by: ihse
2020-07-14 18:25:17 +03:00
dlong
96adcfc0e6 8224931: disable JAOTC invokedynamic support until 8223533 is fixed
Reviewed-by: kvn, never
2020-07-14 18:25:16 +03:00
serb
1415d66d15 8239819: XToolkit: Misread of screen information memory
Reviewed-by: prr
2020-07-14 18:25:15 +03:00
pkoppula
4dd1c56feb 8237474: Default SSLEngine should create in server role
Reviewed-by: xuelei, coffeys
2020-07-14 18:25:14 +03:00
coleenp
2ee02a5ed7 8224847: gc/stress/TestReclaimStringsLeaksMemory.java fails with reserved greater than expected
Summary: Rehash threshold was too low for StringTable, and rehashed size table was too large.
Reviewed-by: rehn, gziemski
2020-07-14 18:25:13 +03:00
lmesnik
329ff5ce0b 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled
Reviewed-by: kvn, mseledtsov
2020-07-14 18:25:12 +03:00
thartmann
759f8d8557 8217447: Develop flag TraceICs is broken
Summary: Added NULL check and fixed output.
Reviewed-by: kvn
2020-07-14 18:25:10 +03:00
igerasim
a56d0c87a9 8210788: Javadoc for Thread.join(long, int) should specify that it waits forever when both arguments are zero
Reviewed-by: martin, rriggs
2020-07-14 18:25:09 +03:00
rehn
13be5a2e39 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2020-07-14 18:25:08 +03:00
lucy
73035bd402 8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
2020-07-14 18:25:07 +03:00
bobv
1bd454ad99 8244853: The static build of libextnet is missing the JNI_OnLoad_extnet function
Reviewed-by: alanb
2020-07-14 18:25:06 +03:00
stuefe
928ed232a4 8244777: ClassLoaderStats VM Op uses constant hash value
Reviewed-by: coleenp, jbachorik
2020-07-14 18:25:05 +03:00
thartmann
ab62dfba6a 8156207: Resource allocated BitMaps are often cleared unnecessarily
Summary: Removed unnecessary clearing of BitMap.
Reviewed-by: kbarrett, kvn, thartmann
Contributed-by: Christian Hagedorn <christian.hagedorn@oracle.com>
2020-07-14 18:25:04 +03:00
kravikumar
37e74b13fc 8243541: (tz) Upgrade time-zone data to tzdata2020a
Reviewed-by: naoto, martin, andrew
2020-07-14 18:25:03 +03:00
kbarrett
27ffdd6fe9 8234779: Provide idiom for declaring classes noncopyable
Summary: Add NONCOPYABLE macro and uses.
Reviewed-by: dholmes, pliden, coleenp
2020-07-14 18:25:01 +03:00
bulasevich
da80c80707 8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
Summary: Fixing the message to print actual comp_level
Reviewed-by: dlong, kvn
2020-07-14 18:25:00 +03:00
rraghavan
3e853f2f4c 8226198: use of & instead of && in LibraryCallKit::arraycopy_restore_alloc_state
Summary: Used logical operator correctly
Reviewed-by: kvn, thartmann
2020-07-14 18:24:59 +03:00
thartmann
b28939a548 8226879: Memory leak in Type::hashcons
Summary: Call delete on xdual type.
Reviewed-by: kvn
2020-07-14 18:24:58 +03:00
dlong
820fbcbdf6 8211743: [AOT] crash in ScopeDesc::decode_body() when JVMTI walks AOT frames
Reviewed-by: kvn
2020-07-14 18:24:57 +03:00
kbarrett
fef8cb45fe 8204834: Fix confusing "allocate" naming in OopStorage
Summary: allocate_list => allocation_list and so on.
Reviewed-by: dholmes, tschatzl, coleenp
2020-07-14 18:24:56 +03:00
rehn
1c6eb891ef 8210303: VM_HandshakeAllThreads fails assert with "failed: blocked and not walkable"
Reviewed-by: dcubed, dholmes
2020-07-14 18:24:55 +03:00
fyang
ebef5bf7ec 8244407: JVM crashes after transformation in C2 IdealLoopTree::split_fall_in
Reviewed-by: thartmann, kvn
Contributed-by: zhouyong44@huawei.com
2020-07-14 18:24:54 +03:00
lucy
db9fc47477 8219214: Infinite Loop in CodeSection::dump()
Reviewed-by: kvn, thartmann
2020-07-14 18:24:53 +03:00
thartmann
52cbb297dc 8225783: Incorrect use of binary operators on booleans in type.cpp
Summary: Use logical operators instead.
Reviewed-by: roland
2020-07-14 18:24:52 +03:00
redestad
6c2bd656f1 8215555: TieredCompilation C2 threads can excessively block handshakes
Reviewed-by: kvn, neliasso, rehn
2020-07-14 18:24:51 +03:00
ysuenaga
31a0a57dee 8216154: C4819 warnings at HotSpot sources on Windows
Reviewed-by: kbarrett, tschatzl
2020-07-14 18:24:50 +03:00
serb
88c971be72 8221823: Requested JDialog width is ignored
Reviewed-by: aivanov
2020-07-14 18:24:49 +03:00
fweimer
085bed455d 8233880: Support compilers with multi-digit major version numbers
Reviewed-by: tbell
2020-07-14 18:24:48 +03:00
thartmann
9349638970 8242108: Performance regression after fix for JDK-8229496
Summary: Backed out the fix for 8229496.
Reviewed-by: kvn, roland
2020-07-14 18:24:47 +03:00
lmesnik
49aec1efde 8215369: Jcstress pollute /var/tmp with temporary files.
Reviewed-by: iignatyev, mseledtsov
2020-07-14 18:24:46 +03:00
kvn
6409588457 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI
Summary: use default compile threshold for these tests
Reviewed-by: thartmann
2020-07-14 18:24:45 +03:00
mbaesken
41e1a5d6c1 8244520: problemlist java/awt/font/Rotate/RotatedFontTest.java on linux
Reviewed-by: clanger
2020-07-14 18:24:44 +03:00
serb
3862142d01 8242174: [macos] The NestedModelessDialogTest test make the macOS unstable
Reviewed-by: prr
2020-07-14 18:24:43 +03:00
dbuck
07be678e25 8234691: Potential double-free in ParallelSPCleanupTask constructor
Summary: Prevent extraneous constructor call
Reviewed-by: dholmes, stefank
2020-07-14 18:24:42 +03:00
serb
c72af0cee5 8196181: sun/java2d/GdiRendering/InsetClipping.java fails
Reviewed-by: jdv
2020-07-14 18:24:41 +03:00
alitvinov
5df643d04e 8242498: Invalid "sun.awt.TimedWindowEvent" object leads to JVM crash
Reviewed-by: prr, serb
2020-07-14 18:24:39 +03:00
weijun
0bc8232032 8243539: Copyright info (Year) should be updated for fix of 8241638
Reviewed-by: weijun
Contributed-by: Bin Liao <buddyliao@tencent.com>
2020-07-14 18:24:38 +03:00
henryjen
cde7b3f860 8241638: launcher time metrics always report 1 on Linux when _JAVA_LAUNCHER_DEBUG set
Reviewed-by: alanb, dholmes
Contributed-by: linzang@tencent.com
2020-07-14 18:24:37 +03:00
tnakamura
ea60706eff 8240518: Incorrect JNU_ReleaseStringPlatformChars in Windows Print
Reviewed-by: serb, pbansal, psadhukhan
2020-07-14 18:24:36 +03:00
afarley
a15ef6ed59 8239365: ProcessBuilder test modifications for AIX execution
Reviewed-by: rriggs, stuefe
2020-07-14 18:24:35 +03:00
tnakamura
224a2c43f7 8232846: ProcessHandle.Info command with non-English shows question marks
Reviewed-by: stuefe, ysuenaga, rriggs
2020-07-14 18:24:34 +03:00
bulasevich
6dc5e764b0 8213947: ARM32: failed check_simd should set UsePopCountInstruction to false
Reviewed-by: kvn
2020-07-14 18:24:33 +03:00
dtitov
a9dbc61644 8242239: [Graal] javax/management/generified/GenericTest.java fails: FAILED: queryMBeans sets same
Reviewed-by: cjplummer, sspitsyn
2020-07-14 18:24:32 +03:00
serb
5229cca547 8241808: [TESTBUG] The JDK-8039467 bug appeared on macOS
Reviewed-by: kizune, pbansal
2020-07-14 18:24:31 +03:00
serb
7ea0f008de 8240786: [TESTBUG] The test java/awt/Window/GetScreenLocation/GetScreenLocationTest.java fails on HiDPI screen
Reviewed-by: jdv, pbansal
2020-07-14 18:24:30 +03:00
serb
4cf5e2f0b0 8196019: java/awt/Window/Grab/GrabTest.java fails on Windows
Reviewed-by: prr, jdv
2020-07-14 18:24:29 +03:00
jiefu
80e71249e3 8242379: [TESTBUG] compiler/loopopts/TestLoopUnswitchingLostCastDependency.java fails with release VMs
Reviewed-by: roland, kvn
2020-07-14 18:24:28 +03:00
roland
d7b4371ce4 8241900: Loop unswitching may cause dependence on null check to be lost
Reviewed-by: thartmann, kvn
2020-07-14 18:24:27 +03:00
prr
a49cdc263a 8232634: Problem List ICMColorDataTest.java
Reviewed-by: serb, psadhukhan
2020-07-14 18:24:26 +03:00
sgehwolf
c1e0caa438 8243059: Build fails when --with-vendor-name contains a comma
Summary: Use $$(VERSION_CFLAGS) so as to avoid the variable getting evaluated early
Reviewed-by: ihse, erikj
2020-07-14 18:24:25 +03:00
mbaesken
d7224e65e9 8242626: enhance posix print_rlimit_info
Reviewed-by: mdoerr, gziemski
2020-07-14 18:24:24 +03:00
mbaesken
4288e6c1d2 8241948: enhance list of environment variables printed in hs_err file
Reviewed-by: dholmes, hseigel
2020-07-14 18:24:23 +03:00
mbaesken
1745ce9ad6 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
2020-07-14 18:24:22 +03:00
serb
7855f376bd 8040630: Popup menus and tooltips flicker with previous popup contents when first shown
Reviewed-by: kizune, pbansal
2020-07-14 18:24:21 +03:00
serb
e6bbc1dabb 8238738: AudioSystem.getMixerInfo() takes about 30 sec to report a gone audio device
Reviewed-by: prr
2020-07-14 18:24:20 +03:00
serb
66a2ce65ca 8225126: Test SetBoundsPaintTest.html faild on Windows when desktop is scaled
Reviewed-by: jdv
2020-07-14 18:24:19 +03:00
lucy
96da61ce76 8215551: Missing case label in nmethod::reloc_string_for()
Reviewed-by: kvn, mbaesken
2020-07-14 18:24:18 +03:00
thartmann
ae119ccb19 8208277: Code cache heap (-XX:ReservedCodeCacheSize) doesn't work with 1GB LargePages
Summary: Use huge pages for code cache if ReservedCodeCacheSize == InitialCodeCacheSize
Reviewed-by: kvn
2020-07-14 18:24:17 +03:00
dchuyko
19b7a1709e 8214444: Wrong strncat limits in dfa.cpp
Reviewed-by: kvn
2020-07-14 18:24:16 +03:00
thartmann
0c7166bc86 8211332: Space for stub routines (code_size2) is too small on new Skylake CPUs
Summary: Increase code_size2 for new Skylake CPUs.
Reviewed-by: kvn, stuefe, thartmann
Contributed-by: ralf.schmelter@sap.com
2020-07-14 18:24:15 +03:00
phedlin
a82e688e2e 8210284: "assert((av & 0x00000001) == 0) failed: unsupported V8" on Solaris 11.4
Summary: Sanity checks on V8 legacy properties removed.
Reviewed-by: neliasso, eosterlund, kvn
2020-07-14 18:24:14 +03:00
dpochepk
68f1581b9d 8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
2020-07-14 18:24:12 +03:00
epavlova
415291c6f8 8236211: [Graal] compiler/graalunit/GraphTest.java is skipped in all testing
Reviewed-by: iignatyev
2020-07-14 18:24:11 +03:00
ccheung
85190f9fe4 8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
Summary: added a null check on wb.getBooleanVMFlag("EnableJVMCI").
Reviewed-by: hseigel, jiangli
2020-07-14 18:24:10 +03:00
jiangli
818e27b601 8210515: [TESTBUG]CheckArchivedModuleApp.java needs to check if EnableJVMCI is set.
Summary: System module objects are not archived when EnableJVMCI is set to true.
Reviewed-by: iklam, ccheung
2020-07-14 18:24:09 +03:00
jiangli
7703e1a727 8209534: [TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI.
Summary: Use TestCommon.execOff().
Reviewed-by: ccheung
2020-07-14 18:24:08 +03:00
mbaesken
2bad2cacb1 8241996: on linux set full relro in the linker flags
Reviewed-by: erikj, redestad
2020-07-14 18:24:07 +03:00
mbaesken
174dd44035 8234968: check calloc rv in libinstrument InvocationAdapter
Reviewed-by: clanger, stuefe, sspitsyn
2020-07-14 18:24:06 +03:00
serb
7ac4d6f69d 8235620: Broken merge between JDK-8006406 and JDK-8003559
Reviewed-by: prr
2020-07-14 18:24:05 +03:00
serb
c6efef034d 7124307: JSpinner and changing value by mouse
Reviewed-by: prr, pbansal
2020-07-14 18:24:04 +03:00
xuelei
46f0f52488 8233621: Mismatch in jsse.enableMFLNExtension property name
Reviewed-by: mullan
2020-07-14 18:24:03 +03:00
dfuchs
1ff85bf395 8229421: The logic of java/net/ipv6tests/TcpTest.java is flawed
Summary: The test is fixed to ignore rogue client connection. However it remains succeptible to intermittent failures due to the use of the wildcad address.
Reviewed-by: dfuchs
Contributed-by: Patrick Concannon <patrick.concannon@oracle.com>
2020-07-14 18:24:02 +03:00
jnimeh
bcfce6efc6 8242294: JSSE Client does not throw SSLException when an alert occurs during handshaking
Reviewed-by: xuelei
2020-07-14 18:24:01 +03:00
mbalao
646bafff37 8241888: Mirror jdk.security.allowNonCaAnchor system property with a security one
Reviewed-by: mullan
2020-07-14 18:24:00 +03:00
clanger
3ebc9196f5 8241568: (fs) UserPrincipalLookupService.lookupXXX failure with IOE "Operation not permitted"
Reviewed-by: alanb
2020-07-14 18:23:59 +03:00
prr
bcd9451b67 8238721: Add failing client jtreg tests to the Problem List
Reviewed-by: serb
2020-07-14 18:23:58 +03:00
rrich
4677d5e443 8234146: compiler/jsr292/ContinuousCallSiteTargetChange.java times out on SPARC
Reviewed-by: vlivanov, thartmann
2020-07-14 18:23:57 +03:00
ihse
66489f122b 8231572: Use -lobjc instead of -fobjc-link-runtime in libosxsecurity
Reviewed-by: erikj
2020-07-14 18:23:56 +03:00
gadams
7f485ee001 8051349: nsk/jvmti/scenarios/sampling/SP06/sp06t003 fails in nightly
Reviewed-by: dholmes, sspitsyn, cjplummer, jcbeyler
2020-07-14 18:23:55 +03:00
ihse
df7acd9d39 8212986: Make Visual Studio compiler check less strict
Reviewed-by: erikj
2020-07-14 18:23:54 +03:00
xuelei
9d01f76bfb 8215711: Missing key_share extension for (EC)DHE key exchange should alert missing_extension
Reviewed-by: ascarpino
2020-07-14 18:23:53 +03:00
chagedorn
d9a329ec3c 8237859: C2: Crash when loads float above range check
Summary: Fix control edges of predicates to data nodes when creating pre/main/post loops.
Reviewed-by: neliasso, thartmann, roland
2020-07-14 18:23:52 +03:00
thartmann
50f9a84298 8240905: assert(mem == (Node*)1 || mem == mem2) failed: multiple Memories being matched at once?
Summary: Stop recursion if there are multiple loads with different memory inputs in the tree.
Reviewed-by: kvn, vlivanov
2020-07-14 18:23:51 +03:00
alanb
d297222ef2 8044365: (dc) MulticastSendReceiveTests.java failing with ENOMEM when joining group (OS X 10.9)
Reviewed-by: alanb, vtewari, dfuchs
2020-07-14 18:23:50 +03:00
chagedorn
ee10f53b5f 8240227: Loop predicates should be copied to unswitched loops
Summary: Copy loop range check predicates to unswitched loops and update their control edges.
Reviewed-by: kvn, neliasso, thartmann, roland
2020-07-14 18:23:49 +03:00
kvn
7821feec6e 8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
Summary: limit JVMCICounterSize flag's value range to 1M
Reviewed-by: thartmann, redestad
2020-07-14 18:23:48 +03:00
fmatte
5eb2fbf2b8 8239557: [TESTBUG] VeryEarlyAssertTest.java validating "END." marker at lastline is not always true
Reviewed-by: dholmes, mseledtsov
2020-07-14 18:23:47 +03:00
weijun
7978a32526 8236470: Deal with ECDSA using ecdsa-with-SHA2 plus hash algorithm as AlgorithmId
Reviewed-by: xuelei
2020-07-14 18:23:46 +03:00
cito
372e5ca453 8219904: ClassCastException when calling FlightRecorderMXBean#getRecordings()
Reviewed-by: egahlin, mseledtsov
2020-07-14 18:23:45 +03:00
hannesw
e90174abd2 8214571: -Xdoclint of array serialField gives "error: array type not allowed here"
Reviewed-by: jjg, sundar
2020-07-14 18:23:43 +03:00
ccheung
ca2aee9530 8228407: JVM crashes with shared archive file mismatch
Summary: Stop processing other header fields if initial header check has failed.
Reviewed-by: dholmes, jiangli
2020-07-14 18:23:42 +03:00
stefank
ce5a3f39a5 8240223: Use consistent predicate order in and with PhaseIdealLoop::find_predicate
Reviewed-by: thartmann, neliasso, chagedorn
2020-07-14 18:23:41 +03:00
chagedorn
af0ae4cc4f 8238765: PhaseCFG::schedule_pinned_nodes cannot handle precedence edges from unmatched CFG nodes correctly
Summary: Fix PhaseCFG::schedule_pinned_nodes to correctly handle precedence edges from unmatched CFG nodes.
Reviewed-by: roland, neliasso, kvn
2020-07-14 18:23:40 +03:00
prr
a9e8caa182 8238842: AIOOBE in GIFImageReader.initializeStringTable
Reviewed-by: serb, bpb
2020-07-14 18:23:39 +03:00
mdoerr
c74cf2f0c2 8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
Reviewed-by: kvn, thartmann
2020-07-14 18:23:38 +03:00
prr
db7fe94ad2 8239091: Reversed arguments in call to strstr in freetype "debug" code.
Reviewed-by: bpb
2020-07-14 18:23:37 +03:00
manc
b39b452039 8241556: Memory leak if -XX:CompileCommand is set
Reviewed-by: rasbold, thartmann, neliasso
2020-07-14 18:23:36 +03:00
ssahoo
5527b818e4 8235874: The ordering of Cipher Suites is not maintained provided through jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites system property.
Summary: Corrected Cipher Suites ordering through system properties
Reviewed-by: xuelei
2020-07-14 18:23:35 +03:00
ssahoo
abc6293c34 8234728: Some security tests should support TLSv1.3
Summary: Tests were updated to support TLSv1.3 and cipher suite order
Reviewed-by: xuelei
2020-07-14 18:23:34 +03:00
roland
b5ca899872 8237086: assert(is_MachReturn()) running CTW with fix for JDK-8231291
Reviewed-by: kvn, vlivanov
2020-07-14 18:23:33 +03:00
thartmann
8e086d5477 8217230: assert(t == t_no_spec) failure in NodeHash::check_no_speculative_types()
Summary: Remove dead node from C2 IR.
Reviewed-by: roland, neliasso
2020-07-14 18:23:32 +03:00
ascarpino
667fc27658 8211339: NPE during SSL handshake caused by HostnameChecker
Reviewed-by: xuelei
2020-07-14 18:23:31 +03:00
prappo
7c9b7e03a6 8236700: Upgrading JSZip from v3.1.5 to v3.2.2
Reviewed-by: hannesw, jjg
2020-07-14 18:23:30 +03:00
mbaesken
b3e9e81328 8241660: Add virtualization information output to hs_err file on macOS
Reviewed-by: clanger, mdoerr
2020-07-14 18:23:29 +03:00
mbaesken
337fbe0dae 8240824: enhance print_full_memory_info on Linux by THP related information
Reviewed-by: dholmes, stuefe
2020-07-14 18:23:28 +03:00
mbaesken
fd746c33e9 8241586: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java fails on aarch64
Reviewed-by: clanger
2020-07-14 18:23:27 +03:00
poonam
243d3e0f1c 8231779: crash HeapWord*ParallelScavengeHeap::failed_mem_allocate
Reviewed-by: dlong, tschatzl, pliden
2020-07-14 18:23:25 +03:00
dfuchs
825ff00812 8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
Summary: sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly
Reviewed-by: chegar, vtewari
2020-07-14 18:23:24 +03:00
yzhou
46d0403e15 8231213: Migrate SimpleDateFormatConstTest to JDK Repo
Reviewed-by: naoto
2020-07-14 18:23:23 +03:00
fyang
47d297b9a3 8235762: JVM crash in SWPointer during C2 compilation
Reviewed-by: thartmann, chagedorn, neliasso
2020-07-14 18:23:22 +03:00
arapte
099270a5c9 8226253: JAWS reports wrong number of radio buttons when buttons are hidden.
Reviewed-by: kizune, pbansal
2020-07-14 18:23:21 +03:00
bae
1aa0a01c91 8239798: SSLSocket closes socket both socket endpoints on a SocketTimeoutException
Reviewed-by: xuelei
Contributed-by: alexey@azul.com
2020-07-14 18:23:20 +03:00
valeriep
2bc1d98b06 8238898: Missing hash characters for header on license file
Summary: Fixed the typos and corrected the formatting
Reviewed-by: weijun
2020-07-14 18:23:19 +03:00
prr
d614975eff 8175984: ICC_Profile has un-needed, not-empty finalize method
Reviewed-by: jdv, serb
2020-07-14 18:23:18 +03:00
prr
6528621eb0 8223935: PIT: java/awt/font/WindowsIndicFonts.java fails on windows10
Reviewed-by: serb, jdv
2020-07-14 18:23:17 +03:00
lfoltan
f005c8ea62 8225325: Add tests for redefining a class' private method during resolution of the bootstrap specifier
Summary: Add new tests
Reviewed-by: dholmes, sspitsyn
2020-07-14 18:23:16 +03:00
dcubed
d82123f824 8224793: os::die() does not honor CreateCoredumpOnCrash option
Reviewed-by: kbarrett, dholmes, stuefe
2020-07-14 18:23:15 +03:00
zgu
571d28dbe5 8183369: RFC unconformity of HttpURLConnection with proxy
Summary: HttpURLConnection retried with proxy if the connection fails on first attempt as per RFC
Reviewed-by: chegar, dfuchs, vtewari
Contributed-by: ravi.k.reddy@oracle.com
2020-07-14 18:23:14 +03:00
rriggs
7f53812d25 8239893: Windows handle Leak when starting processes using ProcessBuilder
Reviewed-by: bpb, naoto
2020-07-14 18:23:13 +03:00
erikj
db88072d37 8240972: macOS codesign fail on macOS 10.13.5 or older
Reviewed-by: erikj, ihse
Contributed-by: junyuan.zheng@microsoft.com
2020-07-14 18:23:12 +03:00
henryjen
cf7e7e90c2 8231863: Crash if classpath is read from @argument file and the main gets option argument
Reviewed-by: alanb, mchung
Contributed-by: Mat Carter <matthew.carter@microsoft.com>
2020-07-14 18:23:11 +03:00
clanger
b8d31fd8c2 8237192: Generate stripped/public pdbs on Windows for jdk images
Reviewed-by: erikj, ihse
Contributed-by: christoph.langer@sap.com, matthias.baesken@sap.com
2020-07-14 18:23:10 +03:00
mdoerr
31f6a8aa3d 8241464: [11u] Backport: make rehashing be a needed guaranteed safepoint cleanup action
Summary: Backport part of JDK-8221967.
Reviewed-by: coleenp, lucy, clanger
2020-07-14 18:23:09 +03:00
shade
4445de16a5 8241445: Fix copyright in test/jdk/tools/launcher/ArgFileSyntax.java
Reviewed-by: psandoz
2020-07-14 18:23:08 +03:00
dfuchs
09b0950a9b 8191169: java/net/Authenticator/B4769350.java failed intermittently
Summary: fixed a race condition in AuthenticationInfo when serializeAuth=true
Reviewed-by: chegar, michaelm
2020-07-14 18:23:07 +03:00
itakiguchi
8cfa3cc5f0 8239965: XMLEncoder/Test4625418.java fails due to "Error: Cp943 - can't read properly"
Summary: Cp943 and x-IBM943 should skip on XMLEncoder/Test4625418.java
Reviewed-by: naoto
2020-07-14 18:23:05 +03:00
naoto
24b0efc7fd 8239976: Put JDK-8239965 on the ProblemList.txt
Reviewed-by: dcubed
2020-07-14 18:23:04 +03:00
itakiguchi
71558692bd 8235834: IBM-943 charset encoder needs updating
Summary: Apply 34B003AF.RPMAP130 definition into encoder
Reviewed-by: naoto
2020-07-14 18:23:03 +03:00
henryjen
dcd4e16ba0 8240629: argfiles parsing broken for argfiles with comment cross 4096 bytes chunk
Reviewed-by: alanb, mchung
2020-07-14 18:23:02 +03:00
mgronlun
b226b22d45 8221121: applications/microbenchmarks are encountering crashes in tier5
Reviewed-by: egahlin, dholmes
2020-07-14 18:23:01 +03:00
rehn
3c2c83194d 8207334: VM times out in VM_HandshakeAllThreads::doit() with RunThese30M
Summary: Handshakes did not consider external suspended threads safe for safepoint.
Reviewed-by: dcubed, dholmes
2020-07-14 18:23:00 +03:00
coffeys
680cf862d6 8233801: GCMEmptyIv.java test fails on Solaris 11.4
Reviewed-by: valeriep
2020-07-14 18:22:59 +03:00
aoqi
791ac89003 8233608: Minimal build broken after JDK-8233494
Reviewed-by: shade
2020-07-14 18:22:58 +03:00
iklam
4d70ec1f6d 8213250: CDS archive creation aborts due to metaspace object allocation failure
Reviewed-by: jiangli, ccheung
2020-07-14 18:22:57 +03:00
dtitov
e2321b4c98 8240711: TestJstatdPort.java failed due to "ExportException: Port already in use:"
Reviewed-by: amenkov
2020-07-14 18:22:56 +03:00
roland
d8722777b3 8236759: ShouldNotReachHere in PhaseIdealLoop::verify_strip_mined_scheduling
Reviewed-by: thartmann, neliasso
2020-07-14 18:22:55 +03:00
valeriep
860983aad9 8236897: Fix the copyright header for pkcs11gcm2.h
Summary: Add the "Classpath" exception to existing header
Reviewed-by: weijun
2020-07-14 18:22:54 +03:00
hseigel
969116c611 8225789: Empty method parameter type should generate ClassFormatError
Summary: Check for an empty name when verifying unqualified names
Reviewed-by: lfoltan, coleenp
2020-07-14 18:22:53 +03:00
rfield
e0751412e2 8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Summary: Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2020-07-14 18:22:52 +03:00
rfield
3f2396a35e 8080353: JShell: Better error message on attempting to add default method
Summary: Special handling for errors with "default" modifier
Reviewed-by: jlahoda
2020-07-14 18:22:51 +03:00
dnsimon
28719e7e95 8238190: [JVMCI] Fix single implementor speculation for diamond shapes.
Reviewed-by: kvn
Contributed-by: david.leopoldseder@oracle.com
2020-07-14 18:22:49 +03:00
chagedorn
639ce8fc97 8235332: TestInstanceCloneAsLoadsStores.java fails with -XX:+StressGCM
Summary: Account for GC barriers when skipping a cloned ArrayCopyNode in ConnectionGraph::find_inst_mem()
Reviewed-by: roland, neliasso
2020-07-14 18:22:48 +03:00
serb
78012defd0 8236953: [macos] JavaFX SwingNode is not rendered on macOS
Reviewed-by: kcr, prr
2020-07-14 18:22:47 +03:00
chagedorn
afa4131515 8235984: C2: assert(out->in(PhiNode::Region) == head || out->in(PhiNode::Region) == slow_head) failed: phi must be either part of the slow or the fast loop
Summary: Bailout from loop unswitching if loop predicates have a control dependency to partially peeled statements.
Reviewed-by: neliasso, thartmann
2020-07-14 18:22:46 +03:00
serb
b3cc2766f5 8236545: Compilation error in mach5 java/awt/FileDialog/MacOSGoToFolderCrash.java
Reviewed-by: dmarkov
2020-07-14 18:22:45 +03:00
jjiang
f0b35bada3 8234727: sun/security/ssl/X509TrustManagerImpl tests support TLSv1.3
Reviewed-by: xuelei
2020-07-14 18:22:44 +03:00
serb
3a38d8b0e8 8223108: Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
Reviewed-by: prr
2020-07-14 18:22:43 +03:00
serb
9efb5e21cb 8235739: Rare NPE at WComponentPeer.getGraphics()
Reviewed-by: dmarkov, aivanov
2020-07-14 18:22:42 +03:00
redestad
640f5c214c 8233494: Avoid calling MallocTracker::record_malloc and record_free when NMT is off
Reviewed-by: mdoerr, zgu
2020-07-14 18:22:41 +03:00
mgronlun
76d4e3642d 8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing
Reviewed-by: sspitsyn, egahlin
2020-07-14 18:22:40 +03:00
roland
c1996d3095 8235584: UseProfiledLoopPredicate fails with assert(_phase->get_loop(c) == loop) failed: have to be in the same loop
Reviewed-by: thartmann, neliasso
2020-07-14 18:22:39 +03:00
thartmann
5795534d86 8235452: Strip mined loop verification fails with assert(is_OuterStripMinedLoop()) failed: invalid node class
Summary: Do not try to verify strip mining if the strip mined loop is malformed.
Reviewed-by: roland, vlivanov
2020-07-14 18:22:38 +03:00
roland
d5b5fef68c 8231550: C2: ShouldNotReachHere() in verify_strip_mined_scheduling
Reviewed-by: vlivanov, thartmann
2020-07-14 18:22:37 +03:00
vtewari
cd230124b9 8203672: JNI exception pending in PlainSocketImpl.c
8203264: JNI exception pending in PlainDatagramSocketImpl.c:740
8203673: JNI exception pending in DualStackPlainDatagramSocketImpl.c:398
Reviewed-by: chegar, igerasim
2020-07-14 18:22:36 +03:00
coffeys
1aaadd93da 8238452: Keytool generates wrong expiration date if validity is set to 2050/01/01
Reviewed-by: pkoppula, weijun, coffeys
Contributed-by: ravi.k.reddy@oracle.com
2020-07-14 18:22:35 +03:00
jvernee
8173be0201 8233920: MethodHandles::tryFinally generates illegal bytecode for long/double return type
Reviewed-by: redestad, vlivanov, jrose
2020-07-14 18:22:34 +03:00
mbaesken
4e27f3d26a 8237962: give better error output for invalid OCSP response intervals in CertPathValidator checks
Reviewed-by: clanger, mullan
2020-07-14 18:22:33 +03:00
xuelei
cd7889a0f4 8214418: half-closed SSLEngine status may cause application dead loop
Reviewed-by: jnimeh, dfuchs, chegar
2020-07-14 18:22:31 +03:00
mbaesken
5c27fbd8ed 8239462: jdk.hotspot.agent misses some ReleaseStringUTFChars calls in case of early returns
Reviewed-by: clanger, amenkov, sspitsyn
2020-07-14 18:22:30 +03:00
mbaesken
287c328461 8239000: handle ContendedPaddingWidth in vm_version_ppc
Reviewed-by: clanger, lucy
2020-07-14 18:22:29 +03:00
serb
1a29c437f0 8235638: NPE in LWWindowPeer.getOnscreenGraphics()
Reviewed-by: dmarkov, aivanov
2020-07-14 18:22:28 +03:00
xuelei
d6810fe3e3 8235311: Tag mismatch may alert bad_record_mac
Reviewed-by: mullan
2020-07-14 18:22:27 +03:00
aivanov
00f9d0541a 8234398: Replace ID2D1Factory::GetDesktopDpi with GetDeviceCaps
Reviewed-by: serb, prr
2020-07-14 18:22:26 +03:00
xuelei
e0ecc0cfdd 8235263: Revert TLS 1.3 change that wrapped IOExceptions
Reviewed-by: mullan
2020-07-14 18:22:25 +03:00
xuelei
08f26a7609 8235183: Remove the "HACK CODE" in comment
Reviewed-by: jnimeh
2020-07-14 18:22:24 +03:00
bae
cf1912ea68 8239787: AArch64: String.indexOf may incorrectly handle empty strings
Reviewed-by: aph, lmesnik, yan
Contributed-by: alexey@azul.com
2020-07-14 18:22:23 +03:00
sgehwolf
ec79841749 8236921: Add build target to produce a JDK image suitable for a Graal/SVM build
Summary: make graal-builder-image will produce a suitable build JDK
Reviewed-by: neugens, adinn, andrew
2020-07-14 18:22:22 +03:00
simonis
af050b51b6 8240073: Fix 'test-make' build target in 11u
Reviewed-by: phh, clanger
2020-07-14 18:22:21 +03:00
mbaesken
417326f95a 8239224: libproc_impl.c previous_thr may be used uninitialized warning
Reviewed-by: clanger, dholmes
2020-07-14 18:22:20 +03:00
stefank
aa50bd3e06 8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
2020-07-14 18:22:19 +03:00
pbansal
a01809a2cc 8238985: [TESTBUG] The arrow image is blue instead of green
Reviewed-by: serb, psadhukhan
2020-07-14 18:22:18 +03:00
stefank
2afbe66adb 8240220: IdealLoopTree::dump_head predicate printing is broken
Reviewed-by: thartmann, neliasso, chagedorn
2020-07-14 18:22:17 +03:00
xuelei
5ab4e8db10 8219991: New fix of the deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: alanb, dfuchs
2020-07-14 18:22:16 +03:00
goetz
90ffebae8f 8240827: Downport SSLSocketImpl.java from "8221882: Use fiber-friendly java.util.concurrent.locks in JSSE"
Summary: This fosters downport of "8219991: New fix of the deadlock in sun.security.ssl.SSLSocketImpl"
Reviewed-by: clanger, mdoerr
2020-07-14 18:22:15 +03:00
xuelei
624adb11d7 8209333: Socket reset issue for TLS 1.3 socket close
Reviewed-by: jnimeh
2020-07-14 18:22:14 +03:00
serb
4a23523d3c 8232226: [macos 10.15] test/jdk/java/awt/color/EqualityTest/EqualityTest.java may fail
Reviewed-by: prr, pbansal
2020-07-14 18:22:12 +03:00
serb
4f325f13c3 8234137: The "AutoTestOnTop.java" test may run external applications
Reviewed-by: prr
2020-07-14 18:22:11 +03:00
erikj
adf17e859b 8235686: Add more custom hooks in Bundles.gmk
Reviewed-by: tbell
2020-07-14 18:22:10 +03:00
andrew
a8ed449621 8232748: Build static versions of certain JDK libraries
Reviewed-by: sgehwolf
2020-07-14 18:22:09 +03:00
jdv
2f85950163 8233696: [TESTBUG]Some jtreg tests fail when CAPS_LOCK is ON
Reviewed-by: serb, prr
2020-07-14 18:22:08 +03:00
erikj
62797397b9 8232572: Add hooks for custom output dir in Bundles.gmk
Reviewed-by: tbell
2020-07-14 18:22:07 +03:00
fyang
c9ec72480b 8240576: JVM crashes after transformation in C2 IdealLoopTree::merge_many_backedges
Reviewed-by: kvn
Contributed-by: hedongbo@huawei.com
2020-07-14 18:22:06 +03:00
serb
7d1af5ee29 8226653: [accessibility] Can edit text cell correctly, but Accessibility Tool reads nothing about editor
Reviewed-by: prr
2020-07-14 18:22:05 +03:00
jdv
38b5a08a5f 8234184: [TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Reviewed-by: psadhukhan
2020-07-14 18:22:04 +03:00
serb
ea49ade0eb 8240202: A few client tests leave mouse buttons pressed
Reviewed-by: prr
2020-07-14 18:22:03 +03:00
roland
4b7f2de1e7 8214862: assert(proj != __null) at compile.cpp:3251
Reviewed-by: kvn, thartmann
2020-07-14 18:22:02 +03:00
mbaesken
af7a0ffc10 8239351: Give more meaningful InternalError messages in Deflater.c
Reviewed-by: stuefe, vtewari, lancea, martin
2020-07-14 18:22:01 +03:00
mbaesken
a16e91349f 8239457: call ReleaseStringUTFChars before early returns in Java_sun_security_pkcs11_wrapper_PKCS11_connect
Reviewed-by: alanb, clanger
2020-07-14 18:22:00 +03:00
bulasevich
d5309df76b 8231118: ARM32: Math tests failures
Reviewed-by: roland
2020-07-14 18:21:59 +03:00
njian
3d7b891e62 8240286: [TESTBUG] Test command error in hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Float.java
Reviewed-by: kvn, thartmann
Contributed-by: qi.feng@arm.com
2020-07-14 18:21:58 +03:00
rsunderbabu
41fa83f047 8153430: jdk regression test MletParserLocaleTest, ParserInfiniteLoopTest reduce default timeout
Summary: Removed timeout=5 from the tests so that default timeout is used
Reviewed-by: cjplummer
Contributed-by: ramkumar.sunderbabu@oracle.com
2020-07-14 18:21:57 +03:00
weijun
68fd5cc6fe 8232357: Compare version info of Santuario to legal notice
Reviewed-by: mullan
2020-07-14 18:21:56 +03:00
lucy
ee82fd98e0 8239931: [win][x86] vtable stub generation: assert failure (code size estimate) follow-up
Reviewed-by: mdoerr
2020-07-14 18:21:55 +03:00
lucy
558933de80 8239456: vtable stub generation: assert failure (code size estimate)
Reviewed-by: thartmann
2020-07-14 18:21:54 +03:00
clanger
6a0d07d930 8221741: ClassCastException can happen when fontconfig.properties is used
Reviewed-by: mbaesken, itakiguchi
2020-07-14 18:21:53 +03:00
chagedorn
4b9738b5bb 8233033: C2 produces wrong result while unswitching a loop due to lost control dependencies
Summary: Adding missing control dependencies when cloning loop predicates at loop unswitching.
Reviewed-by: roland, vlivanov, thartmann
2020-07-14 18:21:51 +03:00
psadhukhan
cbf10d28a8 8234332: [TESTBUG] java/awt/Focus/DisposedWindow/DisposeDialogNotActivateOwnerTest/DisposeDialogNotActivateOwnerTest.java fails on linux-x64 nightly
Reviewed-by: serb
2020-07-14 18:21:50 +03:00
prr
5408d888a3 8231243: [TESTBUG] CustomFont.java cannot find font file
Reviewed-by: serb
2020-07-14 18:21:49 +03:00
serb
0fa3f55081 8213516: jck test api/javax_accessibility/AccessibleState/fields.html fails intermittent
Reviewed-by: prr
2020-07-14 18:21:48 +03:00
vlivanov
50afb69bf3 8146090: java/lang/ref/ReachabilityFenceTest.java fails with -XX:+DeoptimizeALot
Reviewed-by: dholmes, iignatyev
2020-07-14 18:21:47 +03:00
bchristi
6d14e4b5e8 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2020-07-14 18:21:46 +03:00
ysuenaga
09c5c519d8 8233707: systemScale.cpp could not compile with VS2019
Reviewed-by: serb, aivanov
2020-07-14 18:21:45 +03:00
lkorinth
3afadfa003 8231671: Fix copyright headers in hotspot (missing comma after year)
Reviewed-by: tschatzl, dholmes
2020-07-14 18:21:44 +03:00
prr
78d8e40ca3 8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
2020-07-14 18:21:43 +03:00
chagedorn
52bf44e728 8238756: C2: assert(((n) == __null || !VerifyIterativeGVN || !((n)->is_dead()))) failed: can not use dead node
Summary: Fix -XX:+VerifyIterativeGVN due to a dead node and add some basic flag testing.
Reviewed-by: roland, neliasso
2020-07-14 18:21:42 +03:00
chagedorn
7c59939116 8239852: java/util/concurrent tests fail with -XX:+VerifyGraphEdges: assert(!VerifyGraphEdges) failed: verification should have failed
Summary: Remove an assertion which was too strong for some valid IRs when running with -XX:+VerifyGraphEdges
Reviewed-by: neliasso, thartmann
2020-07-14 18:21:41 +03:00
jiefu
0a8e30c717 8237055: [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
Reviewed-by: thartmann
2020-07-14 18:21:40 +03:00
thartmann
36cf6f0975 8229855: C2 fails with assert(false) failed: bad AD file
Summary: Strengthen the check to ensure that both control and data paths die consistently.
Reviewed-by: vlivanov, roland
2020-07-14 18:21:39 +03:00
zgu
a0d4441b62 8237396: JvmtiTagMap::weak_oops_do() should not trigger barriers
Reviewed-by: stefank, rkennke
2020-07-14 18:21:38 +03:00
mbalao
ca1df1b168 8238555: Allow Initialization of SunPKCS11 with NSS when there are external FIPS modules in the NSSDB
Reviewed-by: mullan, valeriep
2020-07-14 18:21:37 +03:00
chagedorn
fa8f258c90 8229158: make UseSwitchProfiling non-experimental or false by-default
Summary: Changed UseSwitchProfiling from experimental to diagnostic.
Reviewed-by: dholmes, shade, thartmann
2020-07-14 18:21:36 +03:00
xuelei
c9db1cc0f1 8228757: Fail fast if the handshake type is unknown
Reviewed-by: jnimeh
2020-07-14 18:21:34 +03:00
prappo
627d7976ac 8217606: LdapContext#reconnect always opens a new connection
Reviewed-by: lancea, vtewari, rriggs
Contributed-by: Chris Yin <xu.y.yin@oracle.com>
2020-07-14 18:21:33 +03:00
pmuthuswamy
52a169c393 8214856: Errors with JSZip in web console after upgrade to 3.1.5
Reviewed-by: hannesw
2020-07-14 18:21:32 +03:00
serb
d9785fb625 8198339: Test javax/swing/border/Test6981576.java is unstable
Reviewed-by: kaddepalli, psadhukhan
2020-07-14 18:21:31 +03:00
thartmann
7854cd4495 8239142: C2's UseUniqueSubclasses optimization is broken for array accesses
Summary: Avoid resetting the elemtype for array accesses.
Reviewed-by: vlivanov, eosterlund
2020-07-14 18:21:30 +03:00
fyang
ddd9ac0ee9 8239915: Zero VM crashes when handling dynamic constant
Reviewed-by: dholmes
Contributed-by: wangkun49@huawei.com
2020-07-14 18:21:29 +03:00
roland
d1b4b2438f 8237951: CTW: C2 compilation fails with "malformed control flow"
Reviewed-by: vlivanov, kvn
2020-07-14 18:21:28 +03:00
rraghavan
68790e7c79 8238356: CodeHeap::blob_count() overestimates the number of blobs
Summary: Decremented _blob_count on addition to the free list
Reviewed-by: lucy, shade, thartmann
2020-07-14 18:21:27 +03:00
dholmes
70fdf7b6e6 8048215: [TESTBUG] java/lang/management/ManagementFactory/ThreadMXBeanProxy.java Expected non-null LockInfo
Summary: ensure the target thread has reached wait() before inspecting it
Reviewed-by: mchung, dfuchs, jcbeyler
2020-07-14 18:21:26 +03:00
serb
3673a71f12 8039082: [TEST_BUG] Test java/awt/dnd/BadSerializationTest/BadSerializationTest.java fails
Reviewed-by: prr
2020-07-14 18:21:25 +03:00
ssahoo
53ada30aa3 8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
Summary: Test failure due to unsupported DSA keys
Reviewed-by: dfuchs, xuelei
2020-07-14 18:21:24 +03:00
zgu
4dfc03e500 8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, minqi
2020-07-14 18:21:23 +03:00
dlong
0596d0ab64 8187078: -XX:+VerifyOops finds numerous problems when running JPRT
Reviewed-by: kvn
2020-07-14 18:21:22 +03:00
jnimeh
2265a2a470 8224997: ChaCha20-Poly1305 TLS cipher suite decryption throws ShortBufferException
Reviewed-by: xuelei
2020-07-14 18:21:20 +03:00
serb
4035179d26 8221445: FastSysexMessage constructor crashes MIDI receiption thread
Reviewed-by: prr
2020-07-14 18:21:19 +03:00
arapte
d975743a91 8198001: java/awt/Menu/WrongParentAfterRemoveMenu/WrongParentAfterRemoveMenu.java debug assert on Windows
Reviewed-by: prr, serb
2020-07-14 18:21:18 +03:00
arapte
fea4cc4922 8198000: java/awt/List/EmptyListEventTest/EmptyListEventTest.java debug assert on Windows
Reviewed-by: prr, serb
2020-07-14 18:21:17 +03:00
serb
712acec624 6933331: (d3d/ogl) java.lang.IllegalStateException: Buffers have not been created
Reviewed-by: prr
2020-07-14 18:21:16 +03:00
rwestberg
2752a7ef6f 8218807: Compilation database (compile_commands.json) may contain obsolete items
Reviewed-by: ihse, erikj
2020-07-14 18:21:14 +03:00
goetz
013381892c 8239792: Bump update version for OpenJDK: jdk-11.0.8
Reviewed-by: shade
2020-07-14 18:21:13 +03:00
serb
9841bda9ff 8238575: DragSourceEvent.getLocation() returns wrong value on HiDPI screens (Windows)
Reviewed-by: prr
2020-07-14 18:20:57 +03:00
dbatrak
2a892925b9 8236996: Incorrect Roboto font rendering on Windows with subpixel antialiasing
Reviewed-by: prr, serb
2020-07-14 18:20:56 +03:00
prr
adff077c30 8214481: freetype path does not disable TrueType hinting with AA+FM hints
Reviewed-by: serb, psadhukhan
2020-07-14 18:20:56 +03:00
serb
ba9def2d45 8233573: Toolkit.getScreenInsets(GraphicsConfiguration) may throw ClassCastException
Reviewed-by: prr, jdv
2020-07-14 18:20:54 +03:00
serb
09c6c67640 8176359: Frame#setMaximizedbounds not working properly in multi screen environments
8231564: setMaximizedBounds is broken with large display scale and multiple monitors
Reviewed-by: aivanov
2020-07-14 18:20:53 +03:00
serb
776e4e44a1 8231438: [macOS] Dark mode for the desktop is not supported
Reviewed-by: prr, psadhukhan
2020-07-14 18:20:52 +03:00
alans
af72873ce3 8211301: [macos] support full window content options
Reviewed-by: serb
2020-07-14 18:20:51 +03:00
azeller
4bc44c7ab8 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out
Reviewed-by: mchung, clanger
2020-07-14 18:20:50 +03:00
jiefu
31e065dee2 8233291: [TESTBUG] tools/jlink/plugins/VendorInfoPluginsTest.java fails with debug or non-server VMs
Reviewed-by: mchung
2020-07-14 18:20:49 +03:00
mr
80606e79de 8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080
Reviewed-by: stuefe, iignatyev, mchung
2020-07-14 18:20:48 +03:00
mr
d62f8663e4 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2020-07-14 18:20:47 +03:00
clanger
5dd532c468 8242154: Backport parts of JDK-4947890 to OpenJDK 11u
Reviewed-by: sgehwolf
2020-07-14 18:20:45 +03:00
prr
88767d1951 8224109: Text spaced incorrectly by drawString under rotation with fractional metric
Reviewed-by: serb, kizune
2020-07-14 18:20:44 +03:00
mbaesken
cdfa6a995a 8240603: Windows 32bit compile error after 8238676
Reviewed-by: clanger, dholmes
2020-07-14 18:20:44 +03:00
prr
6c76c6b994 8209113: Use WeakReference for lastFontStrike for created Fonts
Reviewed-by: serb, jdv
2020-07-14 18:20:44 +03:00
dtitov
3b52f2b30e 8193879: Java debugger hangs on method invocation
Reviewed-by: sspitsyn, amenkov, gadams
2020-07-14 18:20:42 +03:00
Alexey Titov
8de16a2732 JBR-2479: moved new JIT API to com.jetbrains.management 2020-07-14 18:16:11 +07:00
Alexey Titov
34cd1b08f2 JBR-2479: removed public functions due to license restrictions 2020-07-14 18:16:11 +07:00
Alexey Titov
9357e9872c JBR-2479: API for getting JIT compiler state 2020-07-14 18:16:11 +07:00
Vitaly Provodin
a57ed60b88 updated JTreg exclude list 2020-07-14 10:03:29 +07:00
MonoBot
3f5ee10c34 Fonts release 2.001 2020-07-13 15:14:30 +03:00
Vitaly Provodin
4f17e1b965 dcevm: G1 Heap parallel iterate method "object_par_iterate" + dcevm timers 2020-07-10 12:19:35 +07:00
Vitaly Provodin
ab97d74692 updated JTreg exclude list 2020-07-09 18:10:36 +07:00
Anton Tarasov
e30a309f92 JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests 2020-07-07 12:06:12 +03:00
Denis Konoplev
703d77a927 JBR-2554: Proper unicode values in KeyEvent.keyCode 2020-07-03 15:58:33 +03:00
Dmitry Batrak
2f1d317d87 JBR-2533 Popup is not focused on click when switching from another application on macOS
more reliable jtreg test
2020-07-03 10:55:31 +03:00
Vitaly Provodin
f7b4c42e1d JBR-2545 Clean up the list of ignored Render tests 2020-07-03 07:36:07 +07:00
Dmitry Batrak
21af1eba85 JBR-2533 Popup is not focused on click when switching from another application on macOS
makes sure jtreg test cleans up properly
2020-07-02 16:15:39 +03:00
Dmitry Batrak
72b0add80c JBR-2533 Popup is not focused on click when switching from another application on macOS
fix NPE
2020-07-02 15:43:52 +03:00
Dmitry Batrak
67b174dc8c JBR-2533 Popup is not focused on click when switching from another application on macOS
fix main menu activation logic
2020-07-01 19:33:41 +03:00
Anton Tarasov
a41a59a57b [followup] 8238676: jni crashes on accessing it from process exit hook 2020-06-30 20:29:13 +03:00
Anton Tarasov
9c8cffee50 8238676: jni crashes on accessing it from process exit hook 2020-06-30 18:54:09 +03:00
Dmitry Batrak
d9ff151211 JBR-2533 Popup is not focused on click when switching from another application on macOS 2020-06-30 12:37:22 +03:00
Anton Tarasov
0917d89523 JBR-2377 Native crash IU-202.3855 macOS 2020-06-29 17:41:17 +03:00
Konstantin Bulenkov
71e2a8d8ad Update FiraCode to 5.2 2020-06-28 22:20:58 +02:00
Denis Fokin
7d5ac56b6c IDEA-215477 Cursor disappears when PhpStorm loses focus (probably related to Synergy)
Revert of JDK-7150349. The fix was intended to fight popup/applet activation issues.
2020-06-26 18:12:45 +03:00
Dmitry Batrak
2ca834c18e Revert fix for JBR-2533
it causes failure of 6406264 regression test and wrong behaviour in IDEA ('Open Class' popup isn't closed on Esc)
2020-06-26 17:49:56 +03:00
Anton Tarasov
78bd1bbeae JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27 2020-06-26 15:54:48 +03:00
Denis Fokin
82e6ed7c0b IDEA-215477 Cursor disappears when PhpStorm loses focus (probably related to Synergy)
A flag to workaround Synergy issue. It is only part of the fix. The second part of the fix conflicts with a fix for "JBR-2533 Popup is not focused on click when switching from another application on macOS".
2020-06-26 15:54:11 +03:00
Vitaly Provodin
4c6aa2945a JBR-2531 return release debug level for dcevm bilds 2020-06-26 08:24:42 +07:00
Dmitry Batrak
dc85bb1eab JBR-2533 Popup is not focused on click when switching from another application on macOS
added jtreg test case
2020-06-25 19:16:52 +03:00
Dmitry Batrak
89c80c157c JBR-2533 Popup is not focused on click when switching from another application on macOS 2020-06-25 13:47:02 +03:00
Vitaly Provodin
b8e86892f2 dcevm: add support for G1 gc 2020-06-25 11:02:15 +07:00
Vitaly Provodin
5d97e2253c JBR-2531 add fastdebug level for dcevm bilds 2020-06-24 06:16:18 +07:00
Elena Sayapina
9c3912fe1f JBR-2475 Latency when accepting auto-completion
Revert "8223158: Docked MacBook cannot start any Java Swing applications Reviewed-by: prr, serb"

This reverts commit 7c870c0c from 11.0.7 merge
2020-06-23 12:38:23 +07:00
Alexey Ushakov
c1d644a004 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
2020-06-19 17:43:09 +03:00
Dmitry Batrak
87ad6ac3a0 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
2020-06-18 18:34:46 +03:00
Vitaly Provodin
f016970f5a JBR-2501 create jbr edition excluding any additional modules JFX and JCEF (fix misprint in module.info) 2020-06-18 08:47:25 +07:00
Vitaly Provodin
71dbebd5f5 JBR-2501 create jbr edition excluding any additional modules JFX and JCEF (fix misprint) 2020-06-18 06:45:33 +07:00
Anton Tarasov
ff2936c6fb [followup] JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27 2020-06-17 14:31:56 +03:00
Dmitry Batrak
8a789e04e9 JBR-2503 Prevent JVM stealing focus during startup on Linux 2020-06-17 12:43:19 +03:00
Vitaly Provodin
eaed7de6bb JBR-2501 create jbr edition excluding any additional modules JFX and JCEF 2020-06-17 09:30:51 +07:00
Jayathirth D V
803ee2f2b5 8241490: Add large text performance tests in RenderPerfTest 2020-06-17 09:30:02 +07:00
Alexey Ushakov
356121b18f 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
2020-06-17 09:30:02 +07:00
Alexey Ushakov
8bd8d2d132 8230657: Create fine grained render perf test for metal pipeline
To run the tests:
cd src/demo/share/java2d/RenderPerfTest

sh gradlew test -i
or
sh gradlew test --tests *testWiredBoxBubbles* -i
2020-06-17 09:30:02 +07:00
Denis Konoplev
9adf77a512 JBR-215: Remove SystemInfo 2020-06-16 15:45:29 +03:00
Dmitry Batrak
73b45fb899 JBR-2498 Fix unexpected window raising under Mutter WM 2020-06-16 13:18:15 +03:00
Dmitry Batrak
66381f0dec JBR-2499 Don't use CurrentTime in SetInputFocus requests to X server 2020-06-16 13:16:48 +03:00
Dmitry Batrak
87525d1d2a JBR-2497 Support _NET_WM_USER_TIME window property on Linux 2020-06-16 13:13:04 +03:00
Anton Tarasov
81d2156fb1 JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27 2020-06-15 19:29:06 +03:00
Alexey Ushakov
916e68b5b4 Added make target 2020-06-11 17:31:07 +03:00
Alexey Ushakov
5016db518a JBR-1929 Improve rendering of San Francisco font of macOS Catalina
Added gamma correction to match grayscale rendering with subpixel one
2020-06-11 17:28:26 +03:00
Erik Joelsson
9154a8faef JBR-2316 backport the fix for the AbsPathsInImage test from OpenJDK 15
8245401: AbsPathsInImage.java fails on Windows on jdwp.dll

Reviewed-by: mikael, ihse
2020-06-11 16:56:46 +07:00
Erik Joelsson
764ac0decb JBR-2316 backport the fix for the AbsPathsInImage test from OpenJDK 15
8244051: AbsPathsInImage.java still fails on Windows

Reviewed-by: ihse
2020-06-11 16:56:35 +07:00
Erik Joelsson
fe293f0126 JBR-2316 backport the fix for the AbsPathsInImage test from OpenJDK 15
8243510: AbsPathsInImage.java fails on Windows

Reviewed-by: ihse, tbell
2020-06-11 16:56:16 +07:00
Vitaly Provodin
2620c62848 JBR-2473 modify building scripts to add dcevm clauses, add git config to docker image 2020-06-11 14:15:44 +07:00
Vitaly Provodin
c0c0a96cf4 JBR-2473 add initial set of DCEVM patches 2020-06-11 14:14:00 +07:00
Alexey Ushakov
1af5dd4aae JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs
2020-06-09 19:55:51 +03:00
Denis Konoplev
15c4ce1d3e JBR-2444: Turn on IM workaround by default 2020-06-09 16:41:05 +03:00
Nikita Gubarkov
be6895a20b JBR-410 New golden image for emoji test on Fedora 2020-06-02 20:11:28 +03:00
Mikhail Grishchenko
a367f18492 JBR-2259 [jcef] Fixed regression test
Changed EDT awaiting method
2020-06-02 21:13:18 +07:00
Mikhail Grishchenko
dc24658b31 JBR-2430 [jcef] Fixed regression test
Refactoring + changed EDT awaiting method
2020-06-02 16:52:52 +07:00
Vitaly Provodin
a80d45eb31 updated JTreg exclude list 2020-06-02 08:16:02 +07:00
Mikhail Grishchenko
404ff84565 JBR-2430 [jcef] Added Regression test
Checks that JS Query is handled in 2nd opened browser
2020-05-28 22:14:53 +07:00
Vyacheslav Moklev
2dea81a904 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov
2020-05-28 11:55:21 +07:00
Denis Konoplev
6974131eec IDEA-237231: Correct signarute mask 2020-05-27 19:20:43 +03:00
Denis Konoplev
33a8c95d39 IDEA-237231: Possible fix for pen interraction 2020-05-27 19:15:03 +03:00
Vitaly Provodin
5ef4cceb33 updated JTreg exclude list 2020-05-27 12:40:16 +07:00
Nikita Gubarkov
c64faba66e JBR-410 Skip emoji test if font is not available 2020-05-25 16:23:46 +03:00
Alexey Ushakov
c0fd2daf5c JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Fixed handling of null bounding box
2020-05-22 20:58:57 +03:00
Alexey Ushakov
2d164c9914 JBR-2417 Fonts with names started with dot does not work in IDEA launched from run configuration
Reverting our approach (commit 12a9361f) and replacing it with backport of OpenJDK fix JDK-8244621
2020-05-22 20:44:05 +03:00
Alexey Ushakov
9f91fe91f5 JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Do not pass the result via java object. Use more straight api.
2020-05-22 20:04:22 +03:00
Denis Konoplev
caf366f6f3 JBR-215: Separate LatinNonAlphaNumKeycodes option 2020-05-22 03:15:38 +03:00
Alexey Ushakov
12a9361f7c JBR-2417 Fonts with names started with dot does not work in IDEA launched from run configuration
Used cocoa api to create some .SFNS fonts
2020-05-21 20:22:40 +03:00
Alexey Ushakov
8904e07b7d Added build targets to CMake 2020-05-21 20:20:24 +03:00
Nikita Gubarkov
bf1b017af4 JBR-410 Linux compilation fix: get rid of loop initial declarations 2020-05-21 01:13:27 +03:00
Nikita Gubarkov
e67b5fb257 JBR-410 Linux x86 compilation fix: don't use FT_LONG_MIN 2020-05-20 20:25:01 +03:00
Nikita Gubarkov
7e7b5ccd13 JBR-410 Refactor 2020-05-20 18:32:03 +03:00
Nikita Gubarkov
28b0dbf18c JBR-410 Added emoji support for Linux 2020-05-20 18:32:03 +03:00
Phil Race
9de2d941ef JBR-410 Backport: fixed usage of uninitialized memory
8238942: Rendering artifacts with LCD text and fractional metrics

Reviewed-by: serb, jdv
2020-05-20 18:32:03 +03:00
Elena Sayapina
e9fa7a0882 JBR-2328 [followup] [TESTBUG] Regression test java/awt/keyboard/AllKeyCode/AllKeyCode.java is not correct
Try to increase the test stability during regular runs.
2020-05-20 12:51:24 +07:00
Denis Konoplev
4f60efebe2 JBR-215: Windows non-alphanumeric shortcuts 2020-05-19 17:02:38 +03:00
Vitaly Provodin
cfc3e87f2a updated JTreg exclude list 2020-05-13 16:41:35 +07:00
Alexey Ushakov
4c42f75021 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
2020-05-12 19:22:45 +03:00
Vitaly Provodin
79260bc482 JBR-2291 remove dubbled lines in release file 2020-05-10 18:31:00 +07:00
Vitaly Provodin
e03fb4aac0 JBR-2291 add vendor info into bundles 2020-05-08 16:39:27 +07:00
Vitaly Provodin
c5ec83e083 updated JTreg exclude list 2020-05-07 14:12:51 +07:00
Elena Sayapina
264802cf4b 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
2020-05-07 01:04:36 +07:00
Denis Konoplev
16ca839ed3 JBR-2347: Free memory on other exceptions, rethrow ThreadDead & log it 2020-05-06 20:34:28 +03:00
Denis Konoplev
afb3303db5 JBR-2347: Don't free memory when thread is dead 2020-05-06 15:17:45 +03:00
Denis Konoplev
9f77b65a52 Remove duplicate option from README 2020-04-30 15:42:01 +03:00
Elena Sayapina
08f9ba66f9 JBR-2340 Frequent IDEA 2020.2 crashes on macOS
Revert "8214578: [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings"
This reverts commit ecc31f2ca7.

Revert "8234786: Fix for JDK-8214578 breaks OS X 10.12 compatibility"
This reverts commit 41b4a291.
2020-04-30 14:51:43 +07:00
Vitaly Provodin
39c879f9ad JBR-2324 address new layout in mac jcef
remove Contents/Helpers from signing
2020-04-30 06:14:04 +07:00
Vitaly Provodin
aef29fa705 JBR-2320 update the patch excluding jfx module 2020-04-29 21:46:51 +07:00
Vitaly Provodin
ab073976c4 updated JTreg exclude list 2020-04-29 21:03:00 +07:00
Vitaly Provodin
2491078e1f JBR-2320 update the patch excluding jcef module 2020-04-29 21:02:27 +07:00
Vitaly Provodin
59bcae0bff updated JTreg exclude list 2020-04-29 21:02:27 +07:00
Artem Bochkarev
fc8d9c87d4 JBR-2253: fix compilation (under windows) 2020-04-29 14:48:18 +03:00
Artem Bochkarev
127a2deddf JBR-2253: unset LD_PRELOAD just after VM loaded
workaround for JBR-2253 Preload libjsig.so to fix JNA crashes
2020-04-28 22:42:23 +03:00
Vitaly Provodin
efc504f504 updated JTreg exclude list 2020-04-28 10:16:58 +07:00
Vitaly Provodin
25d3c699eb JBR-2324 address new layout in mac jcef 80.0.4+g74f7b0c+chromium-80.0.3987.122 2020-04-28 10:16:38 +07:00
Elena Sayapina
f4227faf12 JBR-2335 [forward port from jbr8 to jbr11] JBR-206 Mac OS X: Impossible to assign cmd+ß shortcuts
Forward port ddcb719a from jdk8u.
2020-04-25 12:40:49 +07:00
Anton Tarasov
a5adc725df JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122 2020-04-24 14:49:19 +03:00
Elena Sayapina
bfab6a9364 JBR-2328 [followup] [TESTBUG] Regression test java/awt/keyboard/AllKeyCode/AllKeyCode.java is not correct
Updated test comment.
2020-04-24 15:08:57 +07:00
Vitaly Provodin
38f396900c updated JTreg exclude list 2020-04-24 11:11:51 +07:00
Elena Sayapina
861f73c393 JBR-2328 [TESTBUG] Regression test java/awt/keyboard/AllKeyCode/AllKeyCode.java is not correct 2020-04-23 21:41:25 +07:00
Konstantin Aleev
561a7b8def fix memory leaks in AccessibleJTree 2020-04-23 16:38:17 +03:00
Vitaly Provodin
cf3a605a0e JBR-2320 add jdk.attach module into JBR 2020-04-23 06:28:58 +07:00
Prasanta Sadhukhan
7b9a7df27a 8236635: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb, pbansal
2020-04-22 21:29:07 +07:00
Prasanta Sadhukhan
eb40ba199b JBR-2207 TitledBorder leaks PropertyChangeListener
Backported:
8204963: javax.swing.border.TitledBorder has a memory leak
Reviewed-by: serb, kaddepalli
2020-04-21 15:18:46 +03:00
Anton Tarasov
f0385f01ec JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError 2020-04-18 16:01:56 +03:00
Anton Tarasov
ff7d7bd43c JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0 2020-04-18 14:32:41 +03:00
Alexey Ushakov
82f7e549ff Merge pull request #17 from bell-sw/update_11.0.7
jdk-11.0.7-ga update
2020-04-18 13:39:51 +03:00
andrew
f8cb5e054b Added tag jdk-11.0.7-ga for changeset 44ce940b344b 2020-04-17 14:49:28 +03:00
ihse
6ef9435c21 8237879: make 4.3 breaks build
Reviewed-by: erikj, tbell
2020-04-17 14:38:52 +03:00
mbalao
375a012a26 8226346: Build better binary builders
Reviewed-by: andrew
2020-04-17 14:38:51 +03:00
andrew
6511ecfac4 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build
Reviewed-by: mbalao
2020-04-17 14:38:50 +03:00
andrew
723af168a0 8233383: Various minor fixes
Reviewed-by: mbalao
2020-04-17 14:38:48 +03:00
simonis
54565c619d 8223678: Add Visual Studio Code workspace generation support (for native code)
Reviewed-by: andrew, sgehwolf, clanger
2020-04-17 14:38:47 +03:00
clanger
8c42f06815 8189861: Refactor CacheFind
Reviewed-by: sgehwolf
2020-04-17 14:38:46 +03:00
rschmelter
7569fd0bcd 8222264: Windows incremental build is broken with JDK-8217728
Reviewed-by: erikj, clanger
2020-04-17 14:38:45 +03:00
erikj
e10b2a467e 8217728: Speed up incremental rerun of "make hotspot"
Reviewed-by: tbell
2020-04-17 14:38:44 +03:00
simonis
6f5abe0185 8210459: Add support for generating compile_commands.json
Reviewed-by: andrew
2020-04-17 14:38:43 +03:00
erikj
80333614e2 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
Reviewed-by: tbell, ysuenaga, andrew
2020-04-17 14:38:42 +03:00
simonis
a8dd501fb2 8214534: Setting of THIS_FILE in the build is broken
Reviewed-by: erikj, ihse
2020-04-17 14:38:41 +03:00
ysuenaga
68231ced3f 8204551: Event descriptions are truncated in logs
Reviewed-by: coleenp, andrew
2020-04-17 14:38:40 +03:00
erikj
a1729c30d9 8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle cross-compilation
Reviewed-by: ihse, andrew
2020-04-17 14:38:39 +03:00
erikj
dde28c2dad 8238960: linux-i586 builds are inconsistent as the newly build jdk is not able to reserve enough space for object heap
Reviewed-by: ihse, tbell, ahgross, jwilhelm
2020-04-17 14:38:38 +03:00
igerasim
0dd7e6f7a8 8236201: Better Scanner conversions
Reviewed-by: ahgross, rhalade, rriggs, skoivu, smarks, andrew
2020-04-17 14:38:37 +03:00
xuelei
0ee4046adb 8235691: Enhance TLS connectivity
Reviewed-by: jnimeh, rhalade, ahgross
2020-04-17 14:38:36 +03:00
avoitylov
efb4f9926a 8235274: Enhance typing of methods
Reviewed-by: andrew
2020-04-17 14:38:35 +03:00
robm
89bac530b9 8234841: Enhance buffering of byte buffers
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-04-17 14:38:34 +03:00
bpb
3b2d324d98 8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
Reviewed-by: alanb, rriggs
2020-04-17 14:38:33 +03:00
michaelm
0f41a5b833 8234825: Better Headings for HTTP Servers
Reviewed-by: chegar, dfuchs, igerasim
2020-04-17 14:38:32 +03:00
xuelei
c2835d836c 8234408: Improve TLS session handling
Reviewed-by: ascarpino, jjiang, ahgross, ssahoo, mullan, andrew
2020-04-17 14:38:31 +03:00
weijun
caf1c6347a 8234027: Better JCEKS key support
Reviewed-by: ahgross, mullan, rriggs, rhalade
2020-04-17 14:38:30 +03:00
erikj
b0443eb9c0 8233410: Better Build Scripting
Reviewed-by: tbell, jwilhelm, andrew
2020-04-17 14:38:29 +03:00
alitvinov
058208e16d 8233250: Better X11 rendering
Reviewed-by: prr, rhalade, mschoene, serb
2020-04-17 14:38:28 +03:00
jnimeh
b6f3bd8c8c 8232581: Improve TLS verification
Reviewed-by: xuelei, rhalade, mschoene
2020-04-17 14:38:27 +03:00
xuelei
acf804d20a 8232424: More constrained algorithms
Reviewed-by: jnimeh, rhalade, ahgross
2020-04-17 14:38:26 +03:00
igerasim
718e099e9d 8231785: Improved socket permissions
Reviewed-by: ahgross, chegar, mullan, rhalade
2020-04-17 14:38:25 +03:00
mullan
4af7092f83 8231415: Better signatures in XML
Reviewed-by: weijun, mschoene, rhalade
2020-04-17 14:38:24 +03:00
bae
2ff44a1671 8229733: TLS message handling improvements
Summary: Includes changes to TransportContext from JDK-8211018
Reviewed-by: andrew
2020-04-17 14:38:22 +03:00
amenkov
2990aa1964 8227542: Manifest improved jar headers
Reviewed-by: sspitsyn, mschoene
2020-04-17 14:38:21 +03:00
robm
add8cde7e9 8227467: Better class method invocations
Reviewed-by: thartmann, dholmes, ahgross, andrew
2020-04-17 14:38:20 +03:00
bpb
b59e5fc306 8225603: Enhancement for big integers
Reviewed-by: darcy, ahgross, rhalade
2020-04-17 14:38:19 +03:00
smarks
59c0a7b335 8224549: Less Blocking Array Queues
Reviewed-by: bchristi, rhalade, rriggs, mschoene, robm
2020-04-17 14:38:18 +03:00
bchristi
a2cfc31f4a 8224541: Better mapping of serial ENUMs
Reviewed-by: mschoene, rhalade, robm, rriggs, smarks, andrew
2020-04-17 14:38:17 +03:00
hannesw
0061c1a8b5 8223904: Improve Nashorn matching
Reviewed-by: jlaskey, sundar, mschoene, rhalade
2020-04-17 14:38:16 +03:00
hannesw
33addafe05 8223898: Forward references to Nashorn
Reviewed-by: sundar, mschoene, rhalade
2020-04-17 14:38:15 +03:00
aph
b696b0ffca 8241296: Segfault in JNIHandleBlock::oops_do()
Reviewed-by: stefank, shade
2020-04-17 14:38:14 +03:00
robm
2d9d8009c4 8223727: com/sun/jndi/ldap/privconn/RunTest.java failed due to hang in LdapRequest.getReplyBer
Reviewed-by: prappo
2020-04-17 14:38:13 +03:00
ccheung
11f4f1f151 8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
Summary: Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.
Reviewed-by: iklam
2020-04-17 14:38:12 +03:00
jjiang
e943bb77d0 8231810: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF"
Reviewed-by: xuelei
2020-04-17 14:38:11 +03:00
ssahoo
fb9bc7adfb 8234723: javax/net/ssl/TLS tests support TLSv1.3
Summary: Missing TLSv1.3 test cases
Reviewed-by: xuelei
2020-04-17 14:38:10 +03:00
jjiang
560520877f 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3
Reviewed-by: xuelei
2020-04-17 14:38:09 +03:00
dmarkov
d805574217 8232880: Update test documentation with additional settings for client UI tooltip tests
Reviewed-by: aivanov, serb, ihse
2020-04-17 14:38:08 +03:00
mbaesken
62490c7387 8240724: [test] jdk11 downport of 8224475 misses binary file test/jdk/javax/swing/JTextPane/arrow.png
Reviewed-by: sgehwolf
2020-04-17 14:38:07 +03:00
mdoerr
2008716692 8239856: [ntintel] asserts about copying unaligned array element
Reviewed-by: stuefe, sspitsyn
2020-04-17 14:38:06 +03:00
prr
ffb415143a 8233649: Update ProblemList.txt to exclude failing headful tests on macos
Reviewed-by: serb
2020-04-17 14:38:05 +03:00
chagedorn
4606544b93 8238438: SuperWord::co_locate_pack picks memory state of first instead of last load
Summary: Fix selection of first and last memory state in SuperWord::co_locate_pack
Reviewed-by: thartmann, kvn
2020-04-17 14:38:04 +03:00
lancea
2f9060fff7 8229888: (zipfs) Updating an existing zip file does not preserve original permissions
Reviewed-by: clanger, alanb, bpb
2020-04-17 14:38:03 +03:00
coffeys
47a59d4cf7 8223260: NamingManager should cache InitialContextFactory
Reviewed-by: alanb, plevart, dfuchs
2020-04-17 14:38:02 +03:00
serb
d620f89726 8230597: Update GIFlib library to the 5.2.1
Reviewed-by: prr, psadhukhan, jdv
2020-04-17 14:38:01 +03:00
arapte
0d5f4a45b6 4949105: Access Bridge lacks html tags parsing
Reviewed-by: serb, prr, pbansal
2020-04-17 14:38:00 +03:00
pbansal
33e207b792 8224475: JTextPane does not show images in HTML rendering
Reviewed-by: serb, psadhukhan
2020-04-17 14:37:59 +03:00
alitvinov
de3d9de26f 8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout
Reviewed-by: serb, dmarkov
2020-04-17 14:37:58 +03:00
rhalade
cea6bd5d0b 8225130: Add exception for expiring Comodo roots to VerifyCACerts test
Reviewed-by: weijun
2020-04-17 14:37:57 +03:00
michaelm
5cebbb80d6 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
Reviewed-by: alanb
2020-04-17 14:37:56 +03:00
prr
a5c225b3d4 8234769: Duplicate attribution in freetype.md
Reviewed-by: psadhukhan
2020-04-17 14:37:55 +03:00
prr
9075bfc468 8227324: Upgrade to freetype 2.10.1
Reviewed-by: serb, jdv
2020-04-17 14:37:54 +03:00
joehw
5aa2bdef67 8233548: Update CUP to v0.11b
Reviewed-by: lancea
2020-04-17 14:37:52 +03:00
serb
a0cfda673b 8232200: [macos 10.15] Windows in fullscreen tests jumps around the screen
Reviewed-by: prr
2020-04-17 14:37:51 +03:00
chagedorn
5a37107d90 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Summary: Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.
Reviewed-by: vlivanov, thartmann
2020-04-17 14:37:50 +03:00
stuefe
e86c694176 8220786: Create new switch to redirect error reporting output to stdout or stderr
Reviewed-by: dholmes, goetz
2020-04-17 14:37:49 +03:00
mbaesken
5eb55ccb7d 8201349: build broken when configured with --with-zlib=bundled on gcc 7.3
Reviewed-by: clanger, simonis
2020-04-17 14:37:48 +03:00
dfuchs
3be33c24eb 8193596: java/net/DatagramPacket/ReuseBuf.java failed due to timeout
Summary: The test is changed to bind to InetAddress.getLocalHost() instead of binding to the wildcard.
Reviewed-by: alanb, dfuchs, msheppar
Contributed-by: Patrick Concannon <catrick.concannon@oracle.com>
2020-04-17 14:37:47 +03:00
pconcannon
5e6ea5b7d3 8233018: Add a new test to verify that DatagramSocket is not interruptible
Summary: Test added to check the interruptability of DatagramSocket, MulticastSocket and DatagramSocketAdaptor.
Reviewed-by: chegar, dfuchs
2020-04-17 14:37:46 +03:00
rschuenemann
b170657293 8238534: Deep sign macOS bundles before bundle archive is being created
Reviewed-by: erikj, clanger
2020-04-17 14:37:45 +03:00
clanger
46c2608228 8239466: Loss of precision in counter decay calculation in 11u backport of JDK-8237375
Reviewed-by: mdoerr, simonis
2020-04-17 14:37:44 +03:00
chagedorn
62b96e3966 8238811: C2: assert(i >= req() || i == 0 || is_Region() || is_Phi()) with -XX:+VerifyGraphEdges
Summary: Fix -XX:+VerifyGraphEdges by additionally handling ArrayCopyNodes and UnlockNodes and add some basic flag testing.
Reviewed-by: roland, neliasso
2020-04-17 14:37:43 +03:00
rhalade
b2680a62ad 8225128: Add exception for expiring DocuSign root to VerifyCACerts test
Reviewed-by: clanger
2020-04-17 14:37:42 +03:00
xuelei
bae72e3a96 8221270: Duplicated synchronized keywords in SSLSocketImpl
Reviewed-by: mullan
2020-04-17 14:37:41 +03:00
chagedorn
bf43810d56 8237945: CTW: C2 compilation fails with assert(just_allocated_object(alloc_ctl) == ptr) failed: most recent allo
Summary: Removing too strong assertion about array allocation in LibraryCallKit::tightly_coupled_allocation().
Reviewed-by: thartmann, neliasso
2020-04-17 14:37:40 +03:00
rrich
25a8702317 8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
Reviewed-by: dholmes, clanger
2020-04-17 14:37:39 +03:00
igerasim
5fe3b55ef8 8163251: Hard coded loop limit prevents reading of smart card data greater than 8k
Reviewed-by: valeriep, rriggs
2020-04-17 14:37:38 +03:00
thartmann
2447ee6729 8230390: Problemlist SA tests with AOT
Summary: Putting tests on the problem list.
Reviewed-by: roland
2020-04-17 14:37:37 +03:00
arapte
97901fa909 8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys
Reviewed-by: serb, psadhukhan
2020-04-17 14:37:36 +03:00
gadams
245ea71185 8203364: Some serviceability/sa/ tests intermittently fail with java.io.IOException: LingeredApp terminated with non-zero exit code 3
Reviewed-by: cjplummer, jcbeyler
2020-04-17 14:37:35 +03:00
phh
c80dff1f12 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
Summary: Synchronize access to legacyMap in Provider.getService.
Reviewed-by: valeriep
Contributed-by: Tianmin Shi <tianshi@amazon.com>
2020-04-17 14:37:34 +03:00
valeriep
48fc7bfe4c 8228613: java.security.Provider#getServices order is no longer deterministic
Summary: Changed to use SunEntries.DEF_SECURE_RANDOM_ALGO instead of relying on ordering of SecureRandom services
Reviewed-by: weijun
2020-04-17 14:37:33 +03:00
xuelei
5569f3aeb6 4919790: Errors in alert ssl message does not reflect the actual certificate status
Reviewed-by: mullan
2020-04-17 14:37:32 +03:00
rraghavan
cc4ac7ee85 8225567: Wrong file headers with 8202414 fix changeset
Summary: Corrected source file headers
Reviewed-by: thartmann
2020-04-17 14:37:31 +03:00
mbaesken
0909fce097 8234525: enable link-time section-gc for linux s390x to remove unused code
Reviewed-by: erikj, mdoerr
2020-04-17 14:37:30 +03:00
dtitov
c38ea39bbe 8163083: SocketListeningConnector does not allow invocations with port 0
Reviewed-by: sspitsyn, amenkov, gadams, jcbeyler
2020-04-17 14:37:29 +03:00
mdoerr
81883294d8 8237375: SimpleThresholdPolicy misses CounterDecay timestamp initialization
Reviewed-by: simonis, dholmes
2020-04-17 14:37:27 +03:00
thartmann
fa8d9029fe 8226381: ProblemList java/lang/reflect/PublicMethods/PublicMethodsTest.java
Summary: Put test on AOT ProblemList.
Reviewed-by: iignatyev
2020-04-17 14:37:26 +03:00
mikael
a4bb2f47aa 8225305: ProblemList java/lang/invoke/VarHandles tests
Reviewed-by: kvn, iignatyev, mchung, alanb
2020-04-17 14:37:25 +03:00
xuelei
a9b9328252 8218889: Improperly use of the Optional API
Reviewed-by: jnimeh, wetmore
2020-04-17 14:37:24 +03:00
gadams
8d3941cbcb 8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false
Reviewed-by: cjplummer, amenkov
2020-04-17 14:37:23 +03:00
mhalder
96ac35d699 8207938: At step6,Click Add button,case failed automatically.
Reviewed-by: kaddepalli, psadhukhan
2020-04-17 14:37:22 +03:00
naoto
698ab6fe15 8225182: JNI exception pending in DestroyXIMCallback of awt_InputMethod.c:1327
Reviewed-by: serb
2020-04-17 14:37:21 +03:00
chegar
60fbf81d2b 8218662: Allow 204 responses with Content-Length:0
Reviewed-by: michaelm
2020-04-17 14:37:20 +03:00
shade
17346b61bb 8238591: CTW: Split applications/ctw/modules/jdk_localedata.java
Reviewed-by: iignatyev
2020-04-17 14:37:19 +03:00
shade
72434a30ed 8238247: CTW runner should sweep nmethods more aggressively
Reviewed-by: adinn, simonis, iignatyev
2020-04-17 14:37:17 +03:00
shade
98c20f5872 8238366: CTW runner closes standard output on exit
Reviewed-by: adinn, iignatyev
2020-04-17 14:37:16 +03:00
dbuck
f79d1b57f0 8238596: AVX enabled by default for Skylake even when unsupported
Summary: Only default to UseAVX=2 when support is detected
Reviewed-by: shade, vlivanov
2020-04-17 14:37:15 +03:00
erikj
9159f89dfa 8213906: Update arm devkits with libXrandr headers
Reviewed-by: tbell, prr
2020-04-17 14:37:14 +03:00
mgronlun
97de942a66 8230400: Missing constant pool entry for a method in stacktrace
Reviewed-by: egahlin
2020-04-17 14:37:13 +03:00
mbaesken
213614590f 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2020-04-17 14:37:12 +03:00
bpb
40d00cb735 8218882: NET_Writev is declared, NET_WriteV is defined
Reviewed-by: alanb, chegar
2020-04-17 14:37:11 +03:00
mbaesken
fd3a23d87d 8235671: enhance print_rlimit_info in os_posix
Reviewed-by: clanger, mdoerr
2020-04-17 14:37:10 +03:00
erikj
3585476b88 8238225: Issues reported after replacing symlink at Contents/MacOS/libjli.dylib with binary
Reviewed-by: clanger, alanb, ihse
2020-04-17 14:37:09 +03:00
clanger
bb0883fc21 8236488: Support for configure option --with-native-debug-symbols=internal is impossible on Windows
Reviewed-by: erikj
2020-04-17 14:37:08 +03:00
zgu
92362fa6b9 8216472: (se) Stack overflow during selection operation leads to crash (win)
Reviewed-by: alanb
Contributed-by: akashche@redhat.com
2020-04-17 14:37:07 +03:00
ceisserer
74e3269b24 8235904: Infinite loop when rendering huge lines
Reviewed-by: prr, kizune
2020-04-17 14:37:06 +03:00
redestad
91050d029e 8237508: Simplify JarFile.isInitializing
Reviewed-by: dfuchs, coffeys, lancea
2020-04-17 14:37:05 +03:00
coffeys
3635eebb17 8234466: Class loading deadlock involving X509Factory#commitEvent()
Reviewed-by: alanb, chegar, dfuchs
2020-04-17 14:37:04 +03:00
stuefe
1ea18f7c0f 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2020-04-17 14:37:03 +03:00
aefimov
2a0a212f9a 8232713: Update BCEL version to 6.3.1 in license file
Reviewed-by: joehw
2020-04-17 14:37:02 +03:00
mbalao
3904664dce 8237600: Test SunJSSEFIPSInit fails on Ubuntu
Reviewed-by: shade
2020-04-17 14:37:00 +03:00
iklam
3d730556e2 8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
Reviewed-by: jiangli, ccheung
2020-04-17 14:36:59 +03:00
mbaesken
009810646c 8237819: s390x - remove unused pd_zero_to_words_large
Reviewed-by: clanger, mdoerr
2020-04-17 14:36:58 +03:00
mbaesken
dc255c55b4 8236709: struct SwitchRange in HS violates C++ One Definition Rule
Reviewed-by: dholmes, kbarrett
2020-04-17 14:36:57 +03:00
roland
dd6f224327 8209686: cleanup arguments to PhaseIdealLoop() constructor
Reviewed-by: thartmann, kvn, pliden
2020-04-17 14:36:56 +03:00
weijun
3722df0853 8238502: sunmscapi.dll causing EXCEPTION_ACCESS_VIOLATION
Reviewed-by: wetmore, coffeys, mullan
2020-04-17 14:36:55 +03:00
mbaesken
6a6b32f053 8237869: exclude jtreg test security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java because of instabilities
Reviewed-by: clanger, mullan
2020-04-17 14:36:54 +03:00
gadams
86ca482b0b 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
Reviewed-by: cjplummer, jcbeyler
2020-04-17 14:36:53 +03:00
ngasson
42be50924e 8220451: jdi/EventQueue/remove/remove004 failed due to "ERROR: thread2 is not alive"
8220456: jdi/EventQueue/remove_l/remove_l004 failed due to "TIMEOUT while waiting for event"
Reviewed-by: sspitsyn, dcubed, gadams
2020-04-17 14:36:52 +03:00
tnakamura
e04fef9581 8234386: [macos] NPE was thrown at expanding Choice from maximized frame
Reviewed-by: serb
2020-04-17 14:36:51 +03:00
sviswanathan
f60adac49c 8234610: MaxVectorSize set wrongly when UseAVX=3 is specified after JDK-8221092
Reviewed-by: kvn, vlivanov
2020-04-17 14:36:50 +03:00
roland
04f5ec40c3 8214344: C2: assert(con.basic_type() != T_ILLEGAL) failed: elembt=byte; loadbt=void; unsigned=0
Reviewed-by: kvn, thartmann
2020-04-17 14:36:49 +03:00
hannesw
edf377c204 8200432: javadoc fails with ClassCastException on {@link byte[]}
Reviewed-by: jjg, sundar
2020-04-17 14:36:48 +03:00
pchilanomate
22d64101b6 8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
Summary: Biased locking was disable for this test.
Reviewed-by: dcubed, mdoerr, dholmes
2020-04-17 14:36:47 +03:00
weijun
7fe46f7666 8228969: 2019-09-28 public suffix list update
Reviewed-by: mullan
2020-04-17 14:36:46 +03:00
ccheung
353624f1c2 8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
Summary: Remove the FileChannel.force() calls.
Reviewed-by: dcubed, iklam
2020-04-17 14:36:45 +03:00
ccheung
2a5f45c567 8226406: JVM fails to detect mismatched or corrupt CDS archive
Summary: Check important archive header fields such as _jvm_ident before processing other fields.
Reviewed-by: iklam, jiangli
2020-04-17 14:36:44 +03:00
andrew
1cb3bc25c6 8224851: AArch64: fix warnings and errors with Clang and GCC 8.3
Reviewed-by: shade, aph, sgehwolf
2020-04-17 14:36:43 +03:00
valeriep
5d20ec30d7 7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck
Summary: Changed Provider class to use ConcurrentHashMap and default providers to use putService()
Reviewed-by: weijun, mullan
2020-04-17 14:36:42 +03:00
iklam
9773c4b786 8210289: ArchivedKlassSubGraphInfoRecord is incomplete
Reviewed-by: jiangli, ccheung
2020-04-17 14:36:40 +03:00
iklam
a25a446f84 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Summary: Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2020-04-17 14:36:39 +03:00
hseigel
94ff4c8db5 8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
Summary: Remove unneeded validate_class() check from  checked_jni_GetModule().
Reviewed-by: dholmes, coleenp
2020-04-17 14:36:38 +03:00
rriggs
60dcdc3edb 8237368: Problem with NullPointerException in RMI TCPEndpoint.read
Reviewed-by: mchung, alanb
2020-04-17 14:36:37 +03:00
mgronlun
fabb0ef729 8231081: TestMetadataRetention fails due to missing symbol id
Reviewed-by: egahlin
2020-04-17 14:36:36 +03:00
mgronlun
1afb13bb99 8231025: Incorrect method tag offset for big endian platform
Reviewed-by: egahlin
2020-04-17 14:36:35 +03:00
mgronlun
a27e1b1ee6 8225797: OldObjectSample event creates unexpected amount of checkpoint data
Reviewed-by: egahlin
2020-04-17 14:36:34 +03:00
lancea
338c006e28 7143743: Potential memory leak with zip provider
Reviewed-by: lancea, clanger, alanb
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2020-04-17 14:36:33 +03:00
sviswanathan
4f15cc2fa6 8235288: AVX 512 instructions inadvertently used on Xeon for small vector width operations
Reviewed-by: kvn, vlivanov
2020-04-17 14:36:32 +03:00
valeriep
405eec558f 8232950: SUNPKCS11 Provider incorrectly check key length for PSS Signatures.
Summary: Fixed to treat the queried key size values as bits instead of bytes
Reviewed-by: ascarpino, xuelei
2020-04-17 14:36:31 +03:00
mbaesken
e73b9b0174 8235489: handle return values of sscanf calls in hotspot
Reviewed-by: clanger, kbarrett
2020-04-17 14:36:30 +03:00
thartmann
14a6a74c55 8223769: Assert triggers with -XX:+StressReflectiveCode
Summary: Fixed too strong assert.
Reviewed-by: kvn, thartmann
Contributed-by: Christian Hagedorn <christian.hagedorn@oracle.com>
2020-04-17 14:36:29 +03:00
sviswanathan
622562faa3 8235510: java.util.zip.CRC32 performance drop after 8200067
Summary: backout 8200067 optimization
Reviewed-by: kvn
2020-04-17 14:36:28 +03:00
chagedorn
a27bb38f53 8236140: assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it
Summary: Add missing rehashing for modified node in InitializeNode::complete_stores().
Reviewed-by: neliasso, thartmann
2020-04-17 14:36:27 +03:00
kbarrett
c94c48de71 8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef
Summary: Added validity check on the handle before deleting it.
Reviewed-by: dholmes, dcubed
2020-04-17 14:36:26 +03:00
pbansal
1ddd82e7ae 8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64
Reviewed-by: psadhukhan, prr
2020-04-17 14:36:25 +03:00
pbansal
13eb920830 8230235: Rendering HTML with empty img attribute and documentBaseKey cause Exception
Reviewed-by: serb, aivanov
2020-04-17 14:36:24 +03:00
mli
55d001ae88 8209824: Improve the code coverage for ThreadLocal
Reviewed-by: dholmes, alanb
2020-04-17 14:36:23 +03:00
rriggs
c6a2df3514 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed
Reviewed-by: lancea, bpb, naoto
2020-04-17 14:36:22 +03:00
mchung
c690686d1d 8222448: java/lang/reflect/PublicMethods/PublicMethodsTest.java times out
Summary: Set empty class path for compilation to avoid unnecessary opening/scanning of JAR files
Reviewed-by: alanb, dholmes
2020-04-17 14:36:21 +03:00
sundar
7c9a9f0c42 8216535: tools/jimage/JImageExtractTest.java timed out
Reviewed-by: jlaskey
2020-04-17 14:36:20 +03:00
amlu
e8ec00f9b4 8230004: jdk/internal/jimage/JImageOpenTest.java runs no test
Reviewed-by: alanb
2020-04-17 14:36:19 +03:00
prr
226b019ca3 8232154: Update Mesa 3-D Headers to version 19.2.1
Reviewed-by: serb, kcr
2020-04-17 14:36:18 +03:00
smonteith
5697bbd861 8224187: Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy
Reviewed-by: eosterlund
2020-04-17 14:36:17 +03:00
dtitov
d78caa00d9 8236873: Worker has a deadlock bug
Reviewed-by: dfuchs, dholmes, sspitsyn
2020-04-17 14:36:16 +03:00
clanger
0fa3015ff5 8236500: Windows ucrt.dll should be looked up in versioned WINSDK subdirectory
Reviewed-by: mdoerr
2020-04-17 14:36:15 +03:00
clanger
0b6789c231 8232370: Refactor some com.sun.jdi tests to enable IDE integration
Reviewed-by: amenkov, cjplummer, sspitsyn
2020-04-17 14:36:14 +03:00
jvernee
6d44395f78 8232167: Visual Studio install found through --with-tools-dir value is discarded
Reviewed-by: erikj, ihse
2020-04-17 14:36:13 +03:00
vagarwal
4f2b1cc1b0 8237540: Missing files in backport of JDK-8210910
Summary: Add missing graphic files
Reviewed-by: clanger
2020-04-17 14:36:11 +03:00
akolarkunnu
a7fd30518f 8237541: Missing files in backport of JDK-8236528
Summary: Add missing graphic files
Reviewed-by: clanger
2020-04-17 14:36:10 +03:00
chagedorn
32b14163ec 8233032: assert(in_bb(n)) failed: must be
Summary: Find first and last memory state of a load pack without relying on bb indices.
Reviewed-by: roland, kvn, thartmann
Contributed-by: Roland Westrelin <rwestrel@redhat.com>, Christian Hagedorn <christian.hagedorn@oracle.com>
2020-04-17 14:36:09 +03:00
thartmann
f25c10dcc6 8233656: assert(d->is_CFG() && n->is_CFG()) failed: must have CFG nodes
Summary: Explicitly handle ProjNodes with TOP input.
Reviewed-by: kvn, vlivanov
2020-04-17 14:36:08 +03:00
igerasim
2156f7d402 8234423: Modifying ArrayList.subList().subList() resets modCount of subList
Reviewed-by: rriggs
2020-04-17 14:36:07 +03:00
serb
957aea8d3e 8233657: Intermittent NPE in Component.validate()
Reviewed-by: prr
2020-04-17 14:36:06 +03:00
coleenp
bd6ce25302 8220688: [TESTBUG] runtime/NMT/MallocStressTest.java timed out
Summary: reduce number of threads and iterate rather than sleep.
Reviewed-by: zgu, dholmes
2020-04-17 14:36:05 +03:00
hseigel
f2cf0fd440 8214840: runtime/NMT/MallocStressTest.java timed out
Summary: Add volatile to declaration of static field shared by multiple threads
Reviewed-by: dcubed, dholmes, coleenp
2020-04-17 14:36:04 +03:00
zgu
a08b065749 8214124: [TESTBUG] Bugs in runtime/NMT/MallocStressTest.java
Summary: Fix possible negative size and index that can cause the test to fail
Reviewed-by: stuefe, shade
2020-04-17 14:36:03 +03:00
mdoerr
a297314933 8230459: Test failed to resume JVMCI CompilerThread
Reviewed-by: dholmes, kvn
2020-04-17 14:36:02 +03:00
mbalao
dcbbe655f5 8005819: Support cross-realm MSSFU
Reviewed-by: weijun
2020-04-17 14:36:01 +03:00
jnimeh
ab2fd95872 8236039: JSSE Client does not accept status_request extension in CertificateRequest messages for TLS 1.3
Reviewed-by: xuelei, clanger
2020-04-17 14:36:00 +03:00
prr
5f8f31cf0c 8227662: freetype seeks to index at the end of the font data
Reviewed-by: serb, psadhukhan
2020-04-17 14:35:59 +03:00
mdoerr
cf1112a1cb 8236179: C1 register allocation error with T_ADDRESS
Reviewed-by: rkennke, vlivanov, roland, mdoerr
Contributed-by: Aditya Mandaleeka <adityam@microsoft.com>
2020-04-17 14:35:58 +03:00
shade
b40236cf49 8237217: Incorrect G1StringDedupEntry type used in StringDedupTable destructor
Reviewed-by: kbarrett, zgu
2020-04-17 14:35:57 +03:00
egahlin
3db26f1f66 8219205: JFR file without license header
Reviewed-by: mgronlun
2020-04-17 14:35:56 +03:00
dbuck
728400c64e 8230611: infinite loop in LogOutputList::wait_until_no_readers()
Summary: Add copy constructor and copy assignment operator to ensure reader count remains accurate
Reviewed-by: kbarrett, dholmes
2020-04-17 14:35:55 +03:00
thartmann
20d7648a39 8233491: Crash in AdapterHandlerLibrary::get_adapter with CDS due to code cache exhaustion
Summary: Added null check.
Reviewed-by: kvn, iklam
2020-04-17 14:35:54 +03:00
thartmann
ef40e4826d 8233529: loopTransform.cpp:2984: Error: assert(p_f->Opcode() == Op_IfFalse) failed
Summary: Strengthened asserts in locate_pre_from_main() and added a check for is_main_no_pre_loop().
Reviewed-by: kvn, vlivanov
2020-04-17 14:35:53 +03:00
roland
c335c741c4 8234350: assert(mode == ControlAroundStripMined && (use == sfpt || !use->is_reachable_from_root())) failed: missed a node
Reviewed-by: thartmann, mdoerr
2020-04-17 14:35:52 +03:00
xliu
8e3868bb4d 8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose
Summary: Added check for printable bci.
Reviewed-by: thartmann
2020-04-17 14:35:51 +03:00
thartmann
45ed9508af 8234617: C1: Incorrect result of field load due to missing narrowing conversion
Summary: Emit an explicit conversion to get the correct field value after the write.
Reviewed-by: vlivanov, mdoerr
2020-04-17 14:35:50 +03:00
vlivanov
932e46f1bd 8231430: C2: Memory stomp in max_array_length() for T_ILLEGAL type
Reviewed-by: kvn, thartmann
2020-04-17 14:35:49 +03:00
mbaesken
96ce5882f4 8231753: use more Posix functionality in aix os::print_os_info
Reviewed-by: clanger, dholmes
2020-04-17 14:35:48 +03:00
mbaesken
999e4853c4 8232060: add some initializations using sigemptyset in os_aix.cpp
Reviewed-by: clanger, stuefe
2020-04-17 14:35:47 +03:00
dtitov
fc1c7db7bd 8185005: Improve performance of ThreadMXBean.getThreadInfo(long ids[], int maxDepth)
Reviewed-by: sspitsyn, dholmes, dcubed, rehn
2020-04-17 14:35:46 +03:00
redestad
0157853f41 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
Reviewed-by: bobv, sgehwolf
2020-04-17 14:35:45 +03:00
goetz
ef3e5297c6 8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'.
Reviewed-by: dholmes, kvn
2020-04-17 14:35:43 +03:00
pliden
96c4302c11 8217717: ZGC: Broken oop map in C1 load barrier stub
Reviewed-by: eosterlund, neliasso
Contributed-by: erik.osterlund@oracle.com, per.liden@oracle.com
2020-04-17 14:35:42 +03:00
aefimov
5c5c5b56dd 8225430: Replace wildcard address with loopback or local host in tests - part 14
Reviewed-by: dfuchs, chegar, vtewari
2020-04-17 14:35:41 +03:00
sgehwolf
07fb6c6451 8236848: [JDK 11u] make run-test-tier1 fails after backport of JDK-8232834
Summary: Remove extraneous closing brackets
Reviewed-by: neugens, goetz
2020-04-17 14:35:40 +03:00
vjovanovic
a488ed3a63 8232806: Introduce a system property to disable eager lambda initialization
Reviewed-by: briangoetz, mr, psandoz, forax
2020-04-17 14:35:39 +03:00
vagarwal
0815e38add 8216353: Use utility APIs introduced in org/netbeans/jemmy/util/LookAndFeel class in client sanity test cases
Reviewed-by: serb
2020-04-17 14:35:38 +03:00
akolarkunnu
93e146a9e2 8211322: Reduce the timeout of tooltip in SwingSet2DemoTest
Reviewed-by: serb, shurailine
Contributed-by: gauri.patil@oracle.com
2020-04-17 14:35:37 +03:00
mseledtsov
523d7bc43d 8232224: [TESTBUG] problemlist JFR TestLargeRootSet.java
Summary: Problem listed the test
Reviewed-by: egahlin, dcubed
2020-04-17 14:35:36 +03:00
mseledtsov
1991df3d93 8230624: [TESTBUG] Problemlist JFR compiler/TestCodeSweeper.java
Summary: Added the test to the problem list
Reviewed-by: egahlin
2020-04-17 14:35:35 +03:00
erikj
a6080be8fb 8232834: RunTest sometimes fails to produce valid exitcode.txt
Reviewed-by: ihse
2020-04-17 14:35:34 +03:00
dholmes
3b0b45c877 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
Contributed-by: Benoit Daloze <benoit.daloze@oracle.com>
2020-04-17 14:35:33 +03:00
cjplummer
e2635baada 8227645: Some tests in serviceability/sa run with fixed -Xmx values and risk running out of memory
Summary: move tests to seprate directory
Reviewed-by: dtitov, jcbeyler, ctornqvi, sspitsyn
2020-04-17 14:35:32 +03:00
sgehwolf
afbee165de 8217338: [Containers] Improve systemd slice memory limit support
Summary: Use hierachical memory limit in addition to memory_limits_in_bytes
Reviewed-by: bobv, dholmes
2020-04-17 14:35:31 +03:00
pliden
b7d07956af 8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
Reviewed-by: dholmes, rrich
2020-04-17 14:35:30 +03:00
rrich
99639a817f 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
Reviewed-by: sspitsyn, dholmes, kvn
2020-04-17 14:35:29 +03:00
aefimov
9ac6ebb845 8223638: Replace wildcard address with loopback or local host in tests - part 6
Reviewed-by: dfuchs
2020-04-17 14:35:28 +03:00
weijun
cba51c4f2e 8223003: SunMSCAPI keys are not cleaned up
Reviewed-by: igerasim
2020-04-17 14:35:27 +03:00
akolarkunnu
208cc1efeb 8213168: Enable different look and feel tests in SwingSet3 demo test FileChooserDemoTest
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:35:26 +03:00
akolarkunnu
2f159022be 8211160: Handle different look and feels in JInternalFrameOperator
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:35:25 +03:00
jjg
f63195b311 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs
Reviewed-by: mchung, bchristi
2020-04-17 14:35:24 +03:00
jjg
fcf76b8dd5 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
Reviewed-by: jjg
Contributed-by: jai.forums2013@gmail.com
2020-04-17 14:35:23 +03:00
sjohanss
db73257689 8209802: Garbage collectors should register JFR types themselves to avoid build errors.
Reviewed-by: kbarrett, tschatzl
2020-04-17 14:35:22 +03:00
phh
98d37bf202 8234288: Turkey Time Zone returns incorrect time zone name
Summary: Add and use "Turkey Time" time zone.
Reviewed-by: naoto, martin, phh
Contributed-by: letuyang@amazon.com
2020-04-17 14:35:21 +03:00
fmatte
b11198ba11 8235637: jhsdb jmap from OpenJDK 11.0.5 doesn't work if prelink is enabled
Summary: error handling for "lib_base_diff == 0"
Reviewed-by: ysuenaga, cjplummer, kevinw
Contributed-by: suenaga@oss.nttdata.com
2020-04-17 14:35:20 +03:00
mbaesken
f2d5ae698a 8233328: fix minimal VM build on Linux s390x
Reviewed-by: lucy, mdoerr
2020-04-17 14:35:19 +03:00
mbaesken
38c89a5c53 8234809: set relro in linker flags when building with gcc
Reviewed-by: erikj, fweimer
2020-04-17 14:35:18 +03:00
martin
8056459611 8209817: stack is executable when building with Clang on Linux
Reviewed-by: dholmes, martin, mikael, ihse
Contributed-by: Arthur Eubanks <aeubanks@google.com>
2020-04-17 14:35:16 +03:00
tschatzl
41c4cca03f 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2020-04-17 14:35:15 +03:00
erikj
72821c3537 8223627: jdk-13+20 bundle name contains null instead of ea
Reviewed-by: dholmes, tbell
2020-04-17 14:35:14 +03:00
erikj
645795502d 8223464: Improve version string for Oracle CI builds
Reviewed-by: tbell
2020-04-17 14:35:13 +03:00
akolarkunnu
fc04378e18 8228479: Correct the format of ColorChooserDemoTest
Reviewed-by: serb, psadhukhan
2020-04-17 14:35:12 +03:00
xuelei
d0b371bf3d 8225766: Curve in certificate should not affect signature scheme when using TLSv1.3
Reviewed-by: ascarpino
2020-04-17 14:35:11 +03:00
ihse
d30ad7f4d5 8217634: RunTest documentation and usability update
Reviewed-by: erikj
2020-04-17 14:35:10 +03:00
jjiang
d2222b8e44 8210632: Add key exchange algorithm to javax/net/ssl/TLSCommon/CipherSuite.java
Summary: javax/net/ssl/TLSCommon/CipherSuite.java supports key exchange algorithms
Reviewed-by: xuelei
2020-04-17 14:35:09 +03:00
iignatyev
8260840c79 8227112: exclude compiler/intrinsics/sha/sanity tests from AOT runs
Reviewed-by: kvn
2020-04-17 14:35:08 +03:00
epavlova
6380c6732a 8225684: [AOT] vmTestbase/vm/oom/production/AlwaysOOMProduction tests fail with AOTed java.base
Reviewed-by: kvn
2020-04-17 14:35:07 +03:00
mgronlun
71c55d22f9 8210024: JFR calls virtual is_Java_thread from ~Thread()
Reviewed-by: kbarrett, dholmes, dcubed, egahlin
2020-04-17 14:35:06 +03:00
jiefu
4196fb6da5 8232692: [TESTBUG] compiler/aot/fingerprint/SelfChangedCDS.java fails when cds is disabled
Reviewed-by: kvn
2020-04-17 14:35:05 +03:00
weijun
fc0984d4a5 8225180: SignedObject with invalid Key not throwing the InvalidKeyException in Windows
Reviewed-by: mullan
2020-04-17 14:35:04 +03:00
prr
9f4f55fb95 8225487: giflib legal file is missing attribution for openbsd-reallocarray.c
Reviewed-by: serb, kcr
2020-04-17 14:35:03 +03:00
epavlova
2aa05bc998 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2020-04-17 14:35:02 +03:00
prr
5807c3e00d 8224778: test/jdk/demo/jfc/J2Ddemo/J2DdemoTest.java cannot find J2Ddemo.jar
Reviewed-by: erikj, psadhukhan
2020-04-17 14:35:01 +03:00
prr
e7199d3e90 8224705: Tests that need to be problem-listed or have printer resources
Reviewed-by: serb, psadhukhan
2020-04-17 14:35:00 +03:00
psadhukhan
f3eb61391b 8211703: JInternalFrame : java.lang.AssertionError: cannot find the internal frame
Reviewed-by: prr, serb
2020-04-17 14:34:59 +03:00
weijun
4a3ba95063 8223063: Support CNG RSA keys
Reviewed-by: mullan
2020-04-17 14:34:58 +03:00
vagarwal
e311789396 8222519: ButtonDemoScreenshotTest fails randomly with "still state to be reached"
Reviewed-by: serb
2020-04-17 14:34:57 +03:00
jjiang
f57bc13d47 8222391: javax/net/ssl/compatibility/Compatibility.java should be more flexible
Reviewed-by: xuelei
2020-04-17 14:34:56 +03:00
serb
4d0b9d556d 8221885: Add intermittent test in the JavaSound to the ProblemList
Reviewed-by: prr
2020-04-17 14:34:55 +03:00
jjiang
a883c43f16 8219723: javax/net/ssl/compatibility/Compatibility.java failed on some SNI cases
Summary: Re-generates RSA and ECDSA certificates and set longer validity period
Reviewed-by: xuelei
2020-04-17 14:34:54 +03:00
iignatyev
abce4f395c 8178798: Two compiler/aot/verification/vmflags tests fail by timeout with UseAVX=3
Reviewed-by: kvn
2020-04-17 14:34:52 +03:00
akolarkunnu
5bd967a0b2 8217297: Add support for multiple look and feel for SwingSet SliderDemoTest
Reviewed-by: serb
Contributed-by: vikrant.v.agarwal@oracle.com
2020-04-17 14:34:51 +03:00
akolarkunnu
bcb6da2141 8214471: Enable different look and feel tests in SwingSet3 demo test ToolTipDemoTest
Reviewed-by: serb, shurailine
2020-04-17 14:34:50 +03:00
iignatyev
8462373f69 8215322: add @file support to jaotc
Reviewed-by: kvn
2020-04-17 14:34:49 +03:00
hseigel
2d8d999aae 8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out of java heap
Summary: Handle OutOfMemoryError exception to prevent test aborting
Reviewed-by: zgu, dholmes
2020-04-17 14:34:48 +03:00
sveerabhadra
0200bb9844 8210057: Enable different look and feels in SwingSet3 demo test InternalFrameDemoTest
Reviewed-by: serb
Contributed-by: gauri.patil@oracle.com
2020-04-17 14:34:47 +03:00
sveerabhadra
bb3a29fd7a 8211443: Enable different look and feels in SwingSet3 demo test SplitPaneDemoTest
Reviewed-by: serb
Contributed-by: gauri.patil@oracle.com
2020-04-17 14:34:46 +03:00
kbarrett
7c3815fff5 8209976: Improve iteration over non-JavaThreads
Summary: Add NonJavaThread and move NamedThread iteration to new class.
Reviewed-by: eosterlund, coleenp, rkennke
2020-04-17 14:34:45 +03:00
akolarkunnu
03b7dc9398 8212897: Some improvements in the EditorPaneDemotest
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:44 +03:00
akolarkunnu
b84647c145 8209499: Create test for SwingSet EditorPaneDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:43 +03:00
akolarkunnu
899fe1c183 8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:42 +03:00
psadhukhan
030088a20f 8223158: Docked MacBook cannot start any Java Swing applications
Reviewed-by: prr, serb
2020-04-17 14:34:41 +03:00
eosterlund
cf2ffdb4ac 8229345: Memory leak due to vtable stubs not being shared on SPARC
Reviewed-by: mdoerr, dholmes, kvn
2020-04-17 14:34:40 +03:00
iignatyev
808948cdb5 8209807: improve handling exception in requires.VMProps
Reviewed-by: vlivanov, mseledtsov
2020-04-17 14:34:39 +03:00
weijun
d4f542f35a 8213010: Supporting keys created with certmgr.exe
Reviewed-by: valeriep
2020-04-17 14:34:38 +03:00
weijun
9a87eb6a46 8213009: Refactoring existing SunMSCAPI classes
Reviewed-by: valeriep
2020-04-17 14:34:37 +03:00
akolarkunnu
44068174b7 8210055: Enable different look and feel tests in SwingSet3 demo tests
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:36 +03:00
vagarwal
3f7790cec7 8210910: Create test for FileChooserDemo
Reviewed-by: serb
Contributed-by: vikrant.v.agarwal@oracle.com
2020-04-17 14:34:35 +03:00
akolarkunnu
a23921e59e 8210994: Create test for SwingSet3 FrameDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:34 +03:00
vagarwal
7ff24343bc 8210052: Enable testing for all the available look and feels in SwingSet3 demo tests
Reviewed-by: shurailine, serb
2020-04-17 14:34:33 +03:00
akolarkunnu
890d41ea0d 8209993: Create a test for SwingSet3 ToolTipDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:32 +03:00
akolarkunnu
cbfc1b3323 8209494: Create a test for SwingSet InternalFrameDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:31 +03:00
akolarkunnu
428026ceed 8209789: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2020-04-17 14:34:30 +03:00
akolarkunnu
aa63381f2c 8209418: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com, alexandre.iline@oracle.com
2020-04-17 14:34:29 +03:00
stooke
1c2ee43220 8216354: Syntax error in toolchain_windows.m4
Reviewed-by: erikj, dholmes, clanger
2020-04-17 14:34:28 +03:00
kbarrett
fd68e7b85b 8209850: Allow NamedThreads to use GlobalCounter critical sections
Summary: Add NamedThreads iterator and make GlobalCounter use it.
Reviewed-by: eosterlund, rehn
2020-04-17 14:34:27 +03:00
mbaesken
a8de4a9d70 8234397: add OS uptime information to os::print_os_info output
Reviewed-by: clanger, dholmes, lucy
2020-04-17 14:34:26 +03:00
mbaesken
366377f740 8231445: check ZALLOC return values in awt coding
Reviewed-by: clanger, prr
2020-04-17 14:34:25 +03:00
weijun
cca96f8bfd 8210476: sun/security/mscapi/PrngSlow.java fails with Still too slow
Reviewed-by: xuelei, igerasim, rriggs
2020-04-17 14:34:24 +03:00
jjiang
897c6aa15e 8203687: javax/net/ssl/compatibility/Compatibility.java supports TLS 1.3
Reviewed-by: xuelei
2020-04-17 14:34:22 +03:00
igerasim
5db557a43e 8201355: Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed
Reviewed-by: weijun
2020-04-17 14:34:21 +03:00
shurailine
332bfe57e9 8208157: requires.VMProps throws NPE for missing properties in "release" file
Reviewed-by: iignatyev, lancea
2020-04-17 14:34:20 +03:00
dlong
92cd17a819 8213348: jdk.internal.vm.compiler.management service providers missing in module descriptor
8211781: re-building fails after changing Graal sources
Reviewed-by: erikj, mchung
2020-04-17 14:34:19 +03:00
rriggs
01ca066b12 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
Reviewed-by: martin
2020-04-17 14:34:18 +03:00
psadhukhan
433d15d740 8215396: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb
2020-04-17 14:34:17 +03:00
rschmelter
64b5b301ac 8226608: Hide the onjcmd option from the help output
Reviewed-by: sspitsyn, clanger
2020-04-17 14:34:16 +03:00
rschmelter
278ed4e5c6 8224673: Adjust permission for delayed starting of debugging
Summary: Changed permission from monitor to control
Reviewed-by: sspitsyn, clanger
2020-04-17 14:34:15 +03:00
iklam
12a46a64f2 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Summary: Handle %p in /proc/sys/kernel/core_pattern
Reviewed-by: dholmes, hseigel
2020-04-17 14:34:14 +03:00
weijun
be42f1e20d 8231507: Update Apache Santuario (XML Signature) to version 2.1.4
Reviewed-by: weijun
Contributed-by: fedor.burdun@azulsystems.com, weijun.wang@oracle.com
2020-04-17 14:34:13 +03:00
mbaesken
eebeef97c8 8235243: handle VS2017 15.9 and VS2019 in abstract_vm_version
8235325: build failure on Linux after 8235243
Reviewed-by: dholmes, mdoerr
2020-04-17 14:34:12 +03:00
mbaesken
f22f82c584 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2020-04-17 14:34:11 +03:00
mbaesken
7c694806dd 8234323: NULL-check return value of SurfaceData_InitOps on macosx
Reviewed-by: clanger
2020-04-17 14:34:10 +03:00
mbaesken
d3c297850e 8233078: fix minimal VM build on Linux ppc64(le)
Reviewed-by: mdoerr, lucy
2020-04-17 14:34:09 +03:00
mbaesken
1a7d83d7ba 8234741: enhance os::get_core_path on macOS
Reviewed-by: clanger, gziemski
2020-04-17 14:34:08 +03:00
psadhukhan
350dfc1510 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64
Reviewed-by: jdv
2020-04-17 14:34:07 +03:00
psadhukhan
f3e2dc643b 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64
Reviewed-by: jdv
2020-04-17 14:34:06 +03:00
prr
070697d518 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
Reviewed-by: serb, jdv
2020-04-17 14:34:05 +03:00
jdv
355740f62e 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
2020-04-17 14:34:04 +03:00
bpb
748b0a69a8 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException
Reviewed-by: darcy
2020-04-17 14:34:03 +03:00
serb
b7ff38e669 8225144: [macos] In Aqua L&F backspace key does not delete when Shift is pressed
Reviewed-by: psadhukhan
2020-04-17 14:34:02 +03:00
naoto
085c9feeca 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14
Reviewed-by: rriggs
2020-04-17 14:34:01 +03:00
kvn
5fca02ea0c 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out
Reviewed-by: iignatyev
2020-04-17 14:34:00 +03:00
akolarkunnu
d8725e27d4 8221312: test/jdk/sanity/client/SwingSet/src/ColorChooserDemoTest.java failed
Reviewed-by: serb, psadhukhan
2020-04-17 14:33:59 +03:00
dholmes
4b9df72b42 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2020-04-17 14:33:57 +03:00
erikj
1aa4f75e8a 8217613: [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac
Reviewed-by: tbell, kvn, iignatyev
2020-04-17 14:33:56 +03:00
epavlova
2315f46feb 8214557: Filter out VM flags which don't affect AOT code generation
Reviewed-by: kvn, erikj
2020-04-17 14:33:55 +03:00
epavlova
b641992810 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
Reviewed-by: kvn, erikj, ihse
2020-04-17 14:33:54 +03:00
iignatyev
f583b1716c 8210699: Problem list tests which times out in Xcomp mode
Reviewed-by: kvn
2020-04-17 14:33:53 +03:00
mdoerr
9b9a4287ff 8220348: [ntintel] asserts about copying unaligned array
Reviewed-by: clanger, stuefe
2020-04-17 14:33:52 +03:00
bpb
5dc0f41370 8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels()
Reviewed-by: bpb
Contributed-by: alan.bateman@oracle.com
2020-04-17 14:33:51 +03:00
tschatzl
1558ec7ee9 8211211: vmTestbase/metaspace/stressDictionary/StressDictionary.java timeout
Summary: Disable CMS precleaning to avoid accumulating too many classloaders to unload.
Reviewed-by: kbarrett, sangheki
2020-04-17 14:33:50 +03:00
fyang
4e4eae71f5 8233466: aarch64: remove unnecessary load of mdo when profiling return and parameters type
Reviewed-by: adinn
2020-04-17 14:33:49 +03:00
bsrbnd
892277da5f 8214345: infinite recursion while checking super class
Reviewed-by: vromero
2020-04-17 14:33:48 +03:00
iklam
852c29fd21 8209826: Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup)
Summary: include os_inline.hpp instead
Reviewed-by: jiangli
2020-04-17 14:33:47 +03:00
jiangli
d59ff38178 8235509: Backport for JDK-8209657 Refactor filemap.hpp to simplify integration with Serviceability Agent.
Summary: Backport for JDK-8209657 Refactor filemap.hpp to simplify integration with Serviceability Agent.
Reviewed-by: clanger
2020-04-17 14:33:46 +03:00
ccheung
52c1608601 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Summary: skip checking the path entries which are not being referenced during CDS dump time
Reviewed-by: jiangli, iklam
2020-04-17 14:33:45 +03:00
jiangli
5c708d5291 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work.
Summary: Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.
Reviewed-by: iklam, coleenp
2020-04-17 14:33:44 +03:00
sgehwolf
a2a1c58ba5 8232003: (fs) Files.write can leak file descriptor in the exception case
Summary: Be sure to close the leaked OutputStream in all cases
Reviewed-by: alanb, bpb, clanger
2020-04-17 14:33:43 +03:00
dholmes
0db347ed3b 8210512: [Testbug] vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails with unexpected size of ClassLoaderReference.referringObjects
Summary: Account for the self-reference that every class has in the constant pool
Reviewed-by: sspitsyn, jcbeyler
2020-04-17 14:33:42 +03:00
cushon
d7e378c704 8213908: AssertionError in DeferredAttr at setOverloadKind
Reviewed-by: mcimadamore
2020-04-17 14:33:41 +03:00
akolarkunnu
179fcd7bba 8217235: Create automated test for SwingSet ColorChooserDemoTest
Reviewed-by: serb, shurailine
Contributed-by: vikrant.v.agarwal@oracle.com
2020-04-17 14:33:40 +03:00
iignatyev
7357529794 8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled
Reviewed-by: kvn
2020-04-17 14:33:38 +03:00
iignatyev
d15790b1a2 8214904: Test8004741.java failed due to "Too few ThreadDeath hits; expected at least 6 but saw only 5"
Reviewed-by: kvn, epavlova
2020-04-17 14:33:37 +03:00
psadhukhan
41b4a291da 8234786: Fix for JDK-8214578 breaks OS X 10.12 compatibility
Reviewed-by: jdv
2020-04-17 14:33:36 +03:00
psadhukhan
ecc31f2ca7 8214578: [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings
Reviewed-by: serb, prr
2020-04-17 14:33:35 +03:00
pbansal
6d237ac653 8212903: [TestBug] Tests test/jdk/javax/swing/LookAndFeel/8145547/DemandGTK2.sh and DemandGTK3.sh fail on Ubuntu 18.04 LTS
Reviewed-by: prr, psadhukhan
2020-04-17 14:33:34 +03:00
akozlov
5b549c8bbb 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
Reviewed-by: mchung
2020-04-17 14:33:33 +03:00
dnsimon
e87ef42ad5 8210793: [JVMCI] AllocateCompileIdTest.java failed to find DiagnosticCommand.class
Reviewed-by: thartmann, kvn
2020-04-17 14:33:32 +03:00
kvn
3da9c3e04d 8210220: [AOT] jdwp test cases are failing with error # ERROR: TEST FAILED: Cought IOException while receiving event packet
Summary: don't register AOT method if corresponding java method has breakpoints.
Reviewed-by: dlong
2020-04-17 14:33:31 +03:00
kvn
191513bdd5 8209574: [AOT] breakpoint events are generated in different threads does not meet expected count
Summary: Disable AOT when debugger is attached.
Reviewed-by: dlong
2020-04-17 14:33:30 +03:00
dlong
15cf6fc02a 8209361: [AOT] Unexpected number of references for JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected at least 1)
Reviewed-by: coleenp, dholmes
2020-04-17 14:33:29 +03:00
kvn
0eecd137b1 8208379: compiler/jvmci/events/JvmciNotifyInstallEventTest.java failed with "Got unexpected event count after 2nd install attempt: expected 9 to equal 2"
Reviewed-by: iignatyev
2020-04-17 14:33:28 +03:00
amenkov
0c64716eb5 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
Reviewed-by: sspitsyn, cjplummer
2020-04-17 14:33:27 +03:00
valeriep
d314e22a0f 8183107: PKCS11 regression regarding checkKeySize
Summary: Changed key size check in PKCS11 provider to only enforce positive return values
Reviewed-by: jnimeh
2020-04-17 14:33:26 +03:00
dtitov
3a4d69f5f3 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg
Reviewed-by: sspitsyn, cjplummer
2020-04-17 14:33:25 +03:00
kvn
b7f392bebf 8206963: [AOT] bug with multiple class loaders
Summary: AOT should not support custom class loaders.
Reviewed-by: dlong, iveresov
2020-04-17 14:33:24 +03:00
dcubed
cdfbf233ee 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
Summary: Increase default timeout to 360 seconds.
Reviewed-by: erikj, dholmes
2020-04-17 14:33:23 +03:00
psadhukhan
ba7a4a4703 8203904: javax/swing/JSplitPane/4816114/bug4816114.java: The divider location is wrong
Reviewed-by: serb, kaddepalli
2020-04-17 14:33:21 +03:00
mbaesken
3b67eefd91 8230480: check malloc/calloc results in java.desktop
Reviewed-by: rriggs
2020-04-17 14:33:19 +03:00
serb
9ed054c277 8199072: Test javax/swing/GroupLayout/6613904/bug6613904.java is unstable
Reviewed-by: prr, psadhukhan
2020-04-17 14:33:18 +03:00
serb
93500e1787 8198398: Test javax/swing/JColorChooser/Test6199676.java fails in mach5
Reviewed-by: kaddepalli, prr
2020-04-17 14:33:17 +03:00
serb
467c36ad0a 8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails
Reviewed-by: psadhukhan
2020-04-17 14:33:16 +03:00
pkbalakr
5f805555b8 8196467: javax/swing/JInternalFrame/Test6325652.java fails
Reviewed-by: jdv, psadhukhan
Contributed-by: tejpal.rebari@oracle.com
2020-04-17 14:33:15 +03:00
trebari
b3cd894715 8194944: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java' fails
Reviewed-by: jdv, arapte
2020-04-17 14:33:14 +03:00
jdv
a37852ce5b 8176556: java/awt/dnd/ImageTransferTest/ImageTransferTest.java fails for JFIF
Reviewed-by: serb
2020-04-17 14:33:13 +03:00
iignatyev
4ef91e7719 8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations
Reviewed-by: kvn
2020-04-17 14:33:12 +03:00
iignatyev
56a2bd226c 8145845: [AOT] NullPointerException in compiler/whitebox/GetCodeHeapEntriesTest.java
Reviewed-by: kvn, thartmann
2020-04-17 14:33:11 +03:00
pkbalakr
5c84c58d2e 8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work
Reviewed-by: jdv, psadhukhan
Contributed-by: tejpal.rebari@oracle.com
2020-04-17 14:33:10 +03:00
sgehwolf
d88c26b3b6 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Summary: Account for serialized null scopes in NMethod
Reviewed-by: aph, never
2020-04-17 14:33:09 +03:00
mdoerr
84a3c800c9 8229236: CriticalJNINatives: dll handling should be done in native thread state
Summary: Temporarily switch thread state from _thread_in_vm to _thread_in_native to execute I/O.
Reviewed-by: dlong, dholmes
2020-04-17 14:33:06 +03:00
thartmann
e26685d09a 8193042: NativeLookup::lookup_critical_entry() should only load shared library once
Summary: Avoids repeated loads/unloads of the same shared library.
Reviewed-by: dholmes, dlong, thartmann
Contributed-by: Christian Hagedorn <christian.hagedorn@oracle.com>
2020-04-17 14:33:05 +03:00
alitvinov
cf8960ff4d 8068184: Fix for JDK-8032832 caused a deadlock
Reviewed-by: dfuchs, chegar
2020-04-17 14:33:04 +03:00
goetz
1f716d6c8d 8234340: Bump update version for OpenJDK: jdk-11.0.7
Reviewed-by: clanger
2020-04-17 14:32:48 +03:00
dbatrak
b4a552301a 8210058: Algorithmic Italic font leans opposite angle in Printing
Reviewed-by: prr, jdv, psadhukhan

Funtional fix already applied by JBR-1761: Printing a comment block in landscape mode results in oddly rotated italic letters.
Applying test only:
  http://github.com/JetBrains/JetBrainsRuntime/commit/5d35e720
  http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/5242fe7dcf86
2020-04-17 14:32:47 +03:00
aivanov
33c882ecb9 8223558: Java does not render Myanmar script correctly
Reviewed-by: prr, serb

Already backported by 9b80ea79: JBR-1945 Backport JDK-8223558 from OpenJDK:
  http://github.com/JetBrains/JetBrainsRuntime/commit/9b80ea79
  http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/df554438702e
2020-04-17 14:32:46 +03:00
Anton Tarasov
dd1334a352 JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access 2020-04-17 11:29:59 +03:00
Vitaly Provodin
bab3f47f70 updated JTreg exclude list 2020-04-17 07:03:30 +07:00
Anton Tarasov
d0c367b31f JBR-2222 Crash during closing IDE 2020-04-16 23:43:43 +03:00
Mikhail Grishchenko
e875bf72c9 JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
Added reproducer
2020-04-16 14:14:06 +07:00
Nikita Gubarkov
3c55329056 JBR-2288 Fixed build failing with "multiple exports" errors when building with JFX
Related to 44cf597dc9
See https://bugs.openjdk.java.net/browse/JDK-8167314?focusedCommentId=14025789
and https://bugs.openjdk.java.net/browse/JDK-8195798
2020-04-15 19:57:16 +03:00
Denis Konoplev
a3e3c23cb1 JBR-2280: Fix regression. Mode compatible with old option. 2020-04-15 17:26:06 +03:00
Anton Tarasov
fa961d1769 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests 2020-04-15 16:00:04 +03:00
Mandy Chung
44cf597dc9 8202941: GenModuleInfoSource build tool does not detect missing semicolons
Reviewed-by: erikj
2020-04-15 14:44:12 +03:00
Nikita Gubarkov
2e3d5300bd Added --disable-warnings-as-errors to ./configure and fixed typo in java-common.cmake 2020-04-15 14:43:49 +03:00
Sergey Bylokhov
cb80ce396b JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message
Backported fix for JDK-8226806 from jdk15-b16:
8226806: [macOS 10.14] Methods of Java Robot should be called from appropriate thread

Reviewed-by: psadhukhan, prr
2020-04-14 16:24:41 +07:00
Alexey Ushakov
900ae19a31 JBR-2213 Clicking on pipette crashes IDE
Provide pixel buffer with right size for screen grabbing operation
2020-04-13 20:56:18 +03:00
Alexey Ushakov
72f742d99b JBR-2213 Clicking on pipette crashes IDE
Move CGWindowListCreateImage call to AppKit thread
2020-04-13 13:19:58 +03:00
Pengfei Li
d7dbec973c 8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails in AUFS file system
Limit the maximal file name length to 242 for AUFS file system

Reviewed-by: dholmes, redestad
2020-04-12 07:06:13 +07:00
Elena Sayapina
266309ea51 JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name
Changed CP_THREAD_ACP to CP_ACP to fix JDK-8242283: Can't start JVM when java home path includes non-ASCII character.

Complete fix for JBR-2235 includes the following commits:
- cherry-pick 3490262a: JDK-8240197: Cannot start JVM when $JAVA_HOME includes CJK characters
- cherry-pick 04e885b4: JDK-8232168: Fix non wide char canonicalization on Windows
- cherry-pick 77ae10cd: JDK-8218547: Simplify JLI_Open on Windows in native code (libjli)
- cherry-pick 99b28daf: JDK-8240725: Some functions might not work with CJK character
2020-04-11 13:34:31 +07:00
Yasumasa Suenaga
9dfc4da688 8240725: Some functions might not work with CJK character
Reviewed-by: naoto

Backported the fix to jbr11.
Resolved conflicts in src/java.base/windows/native/libjava/canonicalize_md.c.
2020-04-11 13:34:22 +07:00
Matthias Baesken
7f134e331a 8218547: Simplify JLI_Open on Windows in native code (libjli)
Reviewed-by: alanb, clanger
2020-04-11 13:34:16 +07:00
Ralf Schmelter
87f9c8a005 8232168: Fix non wide char canonicalization on Windows
Reviewed-by: clanger, alanb, ccheung
2020-04-11 13:34:10 +07:00
Denis Konoplev
d4faba8e34 JBR-216: National keyboards shortcuts 2020-04-09 04:00:35 +03:00
Denis Konoplev
727cb87c4d JBR-1108: Fix numpad keycodes 2020-04-07 06:40:01 +03:00
Vitaly Provodin
9d568c7811 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches
modify checkout targets, repair TC remote runs
2020-04-07 06:33:47 +07:00
Mikhail Grishchenko
529a188b8b JBR-2256 JEditorPane with test/html type and zero margins is not shown
Updated reproducer
2020-04-06 16:33:07 +07:00
Denis Konoplev
02fad83ca3 Remove public constants from KeyEvent 2020-04-03 18:14:32 +03:00
Mikhail Grishchenko
41578a40b5 JBR-2256 JEditorPane with test/html type and zero margins is not shown
Added reproducer
2020-04-03 21:27:15 +07:00
Denis Konoplev
231315cd11 JBR-1559: Fix NumPad keycodes 2020-04-02 20:43:51 +03:00
Mikhail Grishchenko
4e1f5a43b3 JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Added regression test
2020-04-02 17:51:13 +07:00
Vitaly Provodin
45aae6f25c JBR-1611 Slow class loading when running JVM in debug mode
8241750: x86_32 build failure after JDK-8227269
2020-04-01 16:43:11 +07:00
Vitaly Provodin
9d0b715ddf JBR-1611 Slow class loading when running JVM in debug mode
backport of 8227269: Slow class loading when running with JDWP
2020-04-01 16:43:06 +07:00
Dmitry Batrak
ff2e915371 JBR-2248 Support text wrapping in a <pre> tag in JEditorPane 2020-04-01 11:54:06 +03:00
Elena Sayapina
f2ee9a2e2a JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name
Apply JDK-8240823 fix from 11.0.8 (which is a backport of JDK-8240197 to jdk11)
8240197: Cannot start JVM when $JAVA_HOME includes CJK characters
2020-03-31 18:54:54 +03:00
Alexey Ushakov
b51254a975 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.
2020-03-31 18:53:42 +03:00
Dmitry Batrak
6003abc15f JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
simplify the code
2020-03-31 16:55:51 +03:00
Dmitry Batrak
b6583d0a71 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane 2020-03-31 15:36:16 +03:00
Vitaly Provodin
d75142e9dc updated JTreg exclude list 2020-03-27 16:32:49 +07:00
Vitaly Provodin
ec88122f13 JBR-2212 fix misprint in linux_x86, linux_aarch64, osx_fastdebug scripts 2020-03-23 11:44:15 +07:00
Vitaly Provodin
59be7ec370 JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches 2020-03-19 20:39:01 +07:00
Vitaly Provodin
57ff1dba25 JBR-2212 add scripts for linux_x86, linux_aarch64, linux_x64_fastdebug, osx_fastdebug, windows_x86 2020-03-17 19:59:25 +07:00
Vitaly Provodin
f5fb718c86 updated JTreg exclude list 2020-03-16 16:00:22 +07:00
Vitaly Provodin
d1b5e75f13 updated JTreg exclude list 2020-03-16 15:22:22 +07:00
Ivan Gerasimov
b9d3ad70d7 JBR-2214 backport fix for CLion crashes on attempt to load Swift project
8213383: Wrap up pthread_cond_wait into a loop to workaround potential spurious wakeups
2020-03-16 11:28:39 +07:00
Vitaly Provodin
cb653e6a5d JBR-2212 add windows_x86 scripts 2020-03-13 15:44:47 +07:00
Vitaly Provodin
1c6c53eb2c JBR-1643 remove extra bash invocations 2020-03-12 21:36:17 +07:00
Vitaly Provodin
6d8d933e97 JBR-2181 fix windows test bundle 2020-03-12 16:04:04 +07:00
Vitaly Provodin
0dc2c5ca69 JBR-1643 set JOBS according to configure recommendations and add LOG info 2020-03-12 09:26:18 +07:00
Vitaly Provodin
586e2845dd reduce JOBS for make on Windows to 1 2020-03-11 16:53:48 +07:00
Vitaly Provodin
fdca477148 reduce JOBS for make on Windows to 4 2020-03-11 15:44:58 +07:00
Vitaly Provodin
49895b3e2f JBR-2209 backport fix for java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java
8232433: [macos 10.15] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java may fail
2020-03-11 15:43:37 +07:00
Vitaly Provodin
5301d56ae2 JBR-2208 backport the fix for the test from OpenJDK 15
8235153: [TESTBUG] [macos 10.15] java/awt/Graphics/DrawImageBG/SystemBgColorTest.java fails
2020-03-11 15:09:02 +07:00
Vitaly Provodin
1eff1948a5 JBR-2181: create two separate JBR bundles with JFX and JFX+JCEF 2020-03-11 14:27:56 +07:00
Egor Ushakov
547aa5d178 8239055: Wrong implementation of VMState.hasListener
Correct the VMState.hasListener implementation to return WeakReference<VMListener> type

Reviewed-by: sspitsyn, poonam
2020-03-04 11:26:59 +03:00
Vitaly Provodin
0babe0f639 updated JTreg exclude list 2020-03-03 09:23:17 +07:00
Artem Bochkarev
8b027c4fbf JBR-2143: enable X11_DISABLE_OVERRIDE_FLAG by default only in KDE-desktop env
fixed "XFCE: No context menu or main menu popups from Full screen mode"
2020-03-02 13:39:00 +03:00
Mikhail Grishchenko
b46e74fe6f JBR-1414 [Test] downscale frames to run on low-dpi screens 2020-02-27 13:41:13 +03:00
Anton Tarasov
a855f3b835 JBR-2169 AWTThreading: remove tracked invocation event from completion listener 2020-02-25 10:20:24 +03:00
Anton Tarasov
10d38be7e7 [followup] JBR-2148 JCEF: JBR bundle has invalid app structure
Rename to ALT_CEF_BROWSER_SUBPROCESS in test.
2020-02-22 20:04:46 +03:00
Vitaly Provodin
08d1926f8b updated JTreg exclude list 2020-02-22 07:52:28 +07:00
Sergey Malenkov
bbdc159762 FractionalMetricsSupport 2020-02-21 19:00:52 +03:00
Anton Tarasov
bba297b4a4 JBR-2159 Native crash in thread AWT-EventQueue-0 when trying to push commit 2020-02-21 10:16:19 +03:00
Vitaly Provodin
671af4a48c JBR-2148: sign Frameworks & Helpers 2020-02-21 11:18:43 +07:00
Vitaly Provodin
27e287978d JBR-2148: modify signapp&build scripts to match to the new layout 2020-02-20 20:30:39 +07:00
Vitaly Provodin
7d79c451ab JBR-2162 move building scripts from TC to JBR repo
JBR-2150 add LW JBR executables
2020-02-20 20:27:53 +07:00
Anton Tarasov
f45f84d7ed JBR-2148 JCEF: JBR bundle has invalid app structure 2020-02-19 18:23:27 +03:00
Anton Tarasov
06b0d02208 JBR-2146 improve InvokeOnToolkitHelper to cover more generic case 2020-02-18 11:14:46 +03:00
Elena Sayapina
bc09aadadb JBR-1905 java/awt/TextArea/DisposeTest/TestDispose.java: frame is not disposed
- java/awt/TextArea/DisposeTest/TestDispose.java, java/awt/TextField/DisposeTest/TestDispose.java: decreased sub-process timeout
2020-02-17 12:50:54 +07:00
Elena Sayapina
dda7f3d871 JBR-1905 java/awt/TextArea/DisposeTest/TestDispose.java: frame is not disposed
- eliminate erroneously added JetBrains copyrights
2020-02-17 12:41:10 +07:00
Elena Sayapina
7f025f4e16 JBR-1905 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.html: decreased test timeout from 2h to 10 min, added minor diagnostic logging
2020-02-17 12:33:44 +07:00
Denis Konoplev
1e904db3b0 JBR-2041: Project view tap fix, recovery? constants & logging 2020-02-14 14:42:36 +03:00
Alexey Ushakov
c013b03300 JBR-2142 Use newer compilers to get better performance and stability of JBR
New docker config is created (jetbrains/runtime:jbr11dev8env) with gcc8.3.1 on board
2020-02-12 16:36:48 +03:00
Elena Sayapina
08aa0852b7 JBR-2041 Update regression test on Linux so it does not need relogin to initialize the test environment 2020-02-12 19:29:19 +07:00
Alexey Ushakov
23f2c1c42d JBR-2135 Use CoreText api to select the font with the most recent version
Corrected java security, parsing issues and native allocations
2020-02-12 03:02:33 +03:00
Dmitry Batrak
53744bf65f JBR-2140 Backport JDK-8236996 from OpenJDK
apply corresponding change from OpenJDK
2020-02-11 13:03:30 +03:00
Dmitry Batrak
430fdb17a8 JBR-2140 Backport JDK-8236996 from OpenJDK
revert original JBR-1879 fix
2020-02-11 13:03:29 +03:00
Anton Tarasov
b37fdd89bf Merge remote-tracking branch 'origin/master' 2020-02-11 12:33:29 +03:00
Anton Tarasov
e57bae4f66 JBR-2139 Idea freeze on dynamic plugin unloading 2020-02-11 12:33:15 +03:00
Alexey Ushakov
0587074d61 Updated CMake projects 2020-02-10 17:49:06 +03:00
Alexey Ushakov
a6e441828a JBR-2137 JetBrainsMono fonts update to v1.0.3 2020-02-10 17:46:20 +03:00
Alexey Ushakov
cbb148dff4 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
2020-02-10 17:36:57 +03:00
Mikhail Grishchenko
1f4ab12fbb JBR-1414: Added regression test for dnd with HiDPI scaling 2020-02-06 17:27:41 +07:00
Elena Sayapina
0f895bf1b2 JBR-2041 Update regression test so it continues to run after one test case fail 2020-02-06 08:35:51 +07:00
Elena Sayapina
05af375909 JBR-2041 Fix regression test compilation on Windows 2020-02-06 07:26:02 +07:00
Elena Sayapina
92606f2c7f JBR-2014 Fix regression test compilation on Linux
error: 'for' loop initial declarations are only allowed in C99 mode
2020-02-06 12:59:52 +07:00
Elena Sayapina
2d587b3728 JBR-2041 Added new regression test (Touchscreen devices support) 2020-02-05 18:37:20 +07:00
Vitaly Provodin
48468b08d0 updated JTreg exclude list 2020-02-05 14:44:07 +07:00
Artem Bochkarev
31b590c16c JBR-2111: enable X11_DISABLE_OVERRIDE_FLAG by default 2020-02-03 12:05:00 +03:00
Vitaly Provodin
78bdb2e198 updated JTreg exclude list 2020-02-03 14:40:59 +07:00
Vitaly Provodin
c64c10cbf0 updated JTreg exclude list 2020-02-01 07:05:37 +07:00
Dmitry Batrak
ae91e1d7f1 JBR-2050 Issue with keycap emojis 2020-01-30 17:33:57 +03:00
Denis Konoplev
ca2209dd48 README: Toolchain configuration on Windows 2020-01-30 10:04:31 +03:00
Vitaly Provodin
354855edc2 updated JTreg exclude list 2020-01-29 09:51:38 +07:00
Vitaly Provodin
98087b0773 updated JTreg exclude list 2020-01-29 09:49:02 +07:00
Anton Tarasov
3dfb0aa16a JBR-2099 jb/java/jcef/JCEFStartupTest.java fails on Windows, Linux 2020-01-28 19:31:30 +03:00
Vitaly Provodin
18b9bf5b0b updated JTreg exclude list 2020-01-28 15:31:09 +07:00
Konstantin Bulenkov
6f4a13e46f Update JetBrains Mono to 1.0.2 2020-01-27 11:47:28 +01:00
Vitaly Provodin
eacfb7f301 updated JTreg exclude list 2020-01-27 15:46:55 +07:00
Vitaly Provodin
42a8da52d1 updated JTreg exclude list 2020-01-25 07:14:07 +07:00
Anton Tarasov
e8c2761f5b JBR-2093 create reg test for JCEF startup 2020-01-24 19:01:04 +03:00
Ivan Migalev
0c911b6ffe Fix a possible resource leak in ColorizationColorAffectsBorders 2020-01-24 14:14:51 +07:00
Ivan Migalev
06086f4a7e Refresh desktop properties on WM_DWMCOLORIZATIONCOLORCHANGED (JBR-2070) 2020-01-24 14:14:49 +07:00
Ivan Migalev
0330cab60b Extract the DWM colorization parameters from registry (JBR-2070) 2020-01-24 14:14:47 +07:00
Elena Sayapina
a4b373e631 JBR-2086 JetBrainsMono fonts update to v1.0.1 2020-01-22 18:16:29 +07:00
Vitaly Provodin
1f6b342856 JBR-2084 modify scripts to sign Contents/MacOS/libjli.dylib as a a normal file 2020-01-22 12:00:49 +07:00
Anton Tarasov
175a0b3a13 Merge remote-tracking branch 'origin/master' 2020-01-21 22:02:36 +03:00
Anton Tarasov
b31a41fb2f JBR-2082 Revealing taskbar does not work when "Automatically hide the taskbar" 2020-01-21 22:02:14 +03:00
Dmitry Batrak
5e77712607 fix merge issues after merge from OpenJDK 11.0.6 2020-01-21 12:54:35 +03:00
Dmitry Batrak
95131842f1 JBR-2078 Backport JDK-8224109 fix from OpenJDK
apply fix from OpenJDK
2020-01-20 18:52:33 +03:00
Dmitry Batrak
1d8cd6505e JBR-2078 Backport JDK-8224109 fix from OpenJDK
revert part of JBR-363, equivalent to JDK-8224109 fix
2020-01-20 18:51:20 +03:00
Vitaly Provodin
dde8100af9 updated JTreg exclude list 2020-01-19 07:57:52 +07:00
Vitaly Provodin
1a8361f8d1 updated JTreg exclude list 2020-01-17 17:39:50 +07:00
Alexey Ushakov
4b21be5814 Merge pull request #15 from bell-sw/update_11.0.6
jdk-11.0.6-ga update
2020-01-16 23:38:40 +03:00
andrew
cde27e425b Added tag jdk-11.0.6-ga for changeset 837b7afec083 2020-01-16 11:38:11 +03:00
xuelei
71e46c4318 8234037: Improve Object Identifier Processing
Reviewed-by: weijun, mschoene, ssahoo
2020-01-16 11:11:00 +03:00
bae
ef559ffd56 8232419: Improve Registry registration
Reviewed-by: andrew
2020-01-16 11:10:59 +03:00
igerasim
71336b75f0 8231790: Provide better FileSystemProviders
Reviewed-by: alanb, skoivu, rhalade
2020-01-16 11:10:57 +03:00
jnimeh
2aa28b4ed4 8231780: Better TLS messaging support
Reviewed-by: ascarpino, rhalade, mschoene
2020-01-16 11:10:56 +03:00
phh
c5a210aaaf 8230318: Better trust store usage
Reviewed-by: andrew
Contributed-by: Clive Verghese <verghese@amazon.com>
2020-01-16 11:10:55 +03:00
weijun
43013180d6 8231139: Improved keystore support
Reviewed-by: mullan, ahgross
2020-01-16 11:10:54 +03:00
chegar
fbc4b4c665 8220598: Malformed copyright year range in a few files in java.base
Reviewed-by: dfuchs, lancea, rriggs, weijun
2020-01-16 11:10:53 +03:00
robm
b5bba8ea40 8231422: Better serial filter handling
Reviewed-by: rriggs
2020-01-16 11:10:52 +03:00
igerasim
f8aab69542 8230279: Improve Pack200 file reading
Reviewed-by: henryjen, jlaskey
2020-01-16 11:10:51 +03:00
weijun
bd0b23b658 8229951: Better Ticket Granting Services
Reviewed-by: ahgross, valeriep
2020-01-16 11:10:50 +03:00
rriggs
879773164f 8230967: Improve Registry support of clients
Reviewed-by: skoivu, smarks, rhalade
2020-01-16 11:10:48 +03:00
xuelei
0e71f74d71 8229728: Implement negotiation parameters
Reviewed-by: jnimeh, ahgross, rhalade
2020-01-16 11:10:47 +03:00
igerasim
d4ec5a832c 8228548: Normalize normalization for all
Reviewed-by: chegar, rhalade, igerasim
2020-01-16 11:10:46 +03:00
prr
27b2606b4d 8227816: More Colorful ICC profiles
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2020-01-16 11:10:45 +03:00
mbalao
e650919a59 8227758: More valid PKIX processing
Reviewed-by: andrew
2020-01-16 11:10:44 +03:00
weijun
12191c9bce 8226352: Improve Kerberos interop capabilities
Reviewed-by: ahgross, mullan, valeriep
2020-01-16 11:10:43 +03:00
alitvinov
9084b24162 8225279: Better XRender interpolation
Reviewed-by: serb, prr, rhalade, ahgross
2020-01-16 11:10:42 +03:00
serb
7411ddf127 8224909: Unlink Set of LinkedHashSets
Reviewed-by: prr, mschoene, rhalade, psadhukhan
2020-01-16 11:10:41 +03:00
lfoltan
102d54732b 8225261: Better method resolutions
Reviewed-by: ahgross, dholmes, hseigel, jwilhelm, rhalade
Contributed-by: lois.foltan@oracle.com
2020-01-16 11:10:40 +03:00
erikj
276971e4fa 8235687: Contents/MacOS/libjli.dylib cannot be a symlink
Reviewed-by: tbell
2020-01-16 11:10:39 +03:00
clanger
7f6d996caf 8235585: Enable macOS codesigning for all libraries and executables
Reviewed-by: erikj, clanger
Contributed-by: rene.schuenemann@gmail.com
2020-01-16 11:10:38 +03:00
xuelei
d5ee71294d 8233954: UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll
Reviewed-by: ascarpino
2020-01-16 11:10:37 +03:00
clanger
9901421af3 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2020-01-16 11:10:36 +03:00
mbaesken
8cc97c6045 8234625: hs test serviceability/sa/ClhsdbCDSCore.java fails on macOS 10.15
Reviewed-by: clanger, iignatyev
2020-01-16 11:10:35 +03:00
rhalade
3f47742f62 8233223: Add Amazon Root CA certificates
Reviewed-by: mullan
2020-01-16 11:10:34 +03:00
cgo
ed4ae15cf8 8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
2020-01-16 11:10:33 +03:00
sgehwolf
0ab0134dd5 8235142: JDK-8193255 backport broke bootstrap with JDK 10
Summary: Use Paths.get() over Path.of()
Reviewed-by: goetz, martin, clanger
2020-01-16 11:10:31 +03:00
mdoerr
14f0820ea4 8234645: ARM32: C1: PatchingStub for field access: not enough bytes
Reviewed-by: cgo, goetz
2020-01-16 11:10:30 +03:00
apetcher
1158496e83 8221172: SunEC specific test is not limited to SunEC
Summary: Fixing a minor test bug in the SignatureDigestTruncate regression test
Reviewed-by: mullan
2020-01-16 11:10:29 +03:00
itakiguchi
24e6cfae03 8230873: [AIX] GUI app does not work with UTF-8 locale on minimum software requirements
Summary: Fix fontconfig.properties file for AIX UTF-8 locales
Reviewed-by: clanger
2020-01-16 11:10:27 +03:00
rpatil
61d09e90db 8231098: (tz) Upgrade time-zone data to tzdata2019c
Reviewed-by: martin, naoto
2020-01-16 11:10:26 +03:00
dmarkov
19ef68d422 8230782: Robot.createScreenCapture() fails if “awt.robot.gtk” is set to false
Reviewed-by: prr, serb
2020-01-16 11:10:25 +03:00
prr
c000469738 8233097: Fontmetrics for large Fonts has zero width
Reviewed-by: jdv, serb
2020-01-16 11:10:23 +03:00
mbalao
58c295fe50 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2020-01-16 11:10:22 +03:00
coffeys
c9b31e318f 8231124: Missing closedir call with JDK-8223490
Reviewed-by: naoto
2020-01-16 11:10:21 +03:00
valeriep
bae167a609 8225745: NoSuchAlgorithmException exception for SHA256withECDSA with RSASSA-PSS support
Summary: Fixed SignatureUtil and ECDSA signature impl to handle EC parameters
Reviewed-by: weijun
2020-01-16 11:10:20 +03:00
prr
1f3187a64e 8210776: Upgrade X Window System 6.8.2 to the latest XWD 1.0.7
Reviewed-by: serb
2020-01-16 11:10:19 +03:00
jiefu
a84c3e58fd 8234245: sun/security/lib/cacerts/VerifyCACerts.java fails due to wrong checksum
Reviewed-by: mullan
2020-01-16 11:10:18 +03:00
lancea
451349a83a 8234080: jdk/nio/zipfs/CRCWriteTest.java fails
Reviewed-by: clanger, amlu
2020-01-16 11:10:17 +03:00
rhalade
1191071c97 8232019: Add LuxTrust certificate updates to the existing root program
Reviewed-by: mullan
2020-01-16 11:10:16 +03:00
weijun
845abd8827 8225392: Comparison builds are failing due to cacerts file
Reviewed-by: erikj, martin, mullan
2020-01-16 11:10:14 +03:00
weijun
5c10bb898c 8193255: Root Certificates should be stored in text format and assembled at build time
Reviewed-by: clanger, erikj, mullan
2020-01-16 11:10:13 +03:00
roland
fc58e2f9f5 8232539: SIGSEGV in C2 Node::unique_ctrl_out
Reviewed-by: thartmann, kvn
2020-01-16 11:10:12 +03:00
mdoerr
a05e19384d 8234591: [11u] Build with old C compiler broken by 8223490
Reviewed-by: phh
2020-01-16 11:10:11 +03:00
xgong
96071d26df 8234321: Call cache flush after generating trampoline.
Reviewed-by: adinn, iklam
2020-01-16 11:10:10 +03:00
coffeys
30fc90d18b 8232984: Upgrading Joni License version to 2.1.16
Reviewed-by: coffeys
Contributed-by: kiran.sidhartha.ravikumar@oracle.com
2020-01-16 11:10:09 +03:00
neugens
8066115162 8234107: Several AWT modal dialog tests failing on Linux after JDK-8231991
Summary: Fix off by one in wheel detection logic
Reviewed-by: prr
2020-01-16 11:10:08 +03:00
neugens
84efcadaef 8231991: Mouse wheel change focus on awt/swing windows
Summary: Avoid focus logic when only mouse wheel is moved up/down.
Reviewed-by: serb, dmarkov
2020-01-16 11:10:07 +03:00
mdoerr
f549b9e6e1 8233820: Test crashed with assert(phi->operand_count() != 1 || phi->subst() != phi) failed: missed trivial simplification
Summary: Verification code needs to skip illegal phi functions.
Reviewed-by: thartmann, vlivanov
2020-01-16 11:10:05 +03:00
mdoerr
a639457de2 8233081: C1: PatchingStub for field access copies too much
Reviewed-by: thartmann, dlong
2020-01-16 11:10:04 +03:00
mdoerr
ee06dfa001 8231949: [PPC64, s390]: Make async profiling more reliable
Summary: Better checks if method from interpreter frame is valid.
Reviewed-by: rrich, ghaug, goetz
2020-01-16 11:10:03 +03:00
mdoerr
50a2759494 8230669: [s390] C1: assert(is_bound() || is_unused()) failed: Label was never bound to a location, but it was used as a jmp target
Reviewed-by: phh, xliu
2020-01-16 11:10:02 +03:00
serb
fa52b57aaf 8229810: [macos] NullPointerException getting bounds of GraphicsConfiguration
Reviewed-by: jdv
2020-01-16 11:10:01 +03:00
serb
6e93c2ff06 8229515: [macos] access to window property of NSView on wrong thread
Reviewed-by: prr, dmarkov
2020-01-16 11:10:00 +03:00
coffeys
934b08f5cd 8228645: Don't run sun/security/pkcs11/Cipher/TestKATForGCM.java on buggy NSS solaris versions
Reviewed-by: valeriep
2020-01-16 11:09:59 +03:00
valeriep
cf808f7f30 8226651: Setting the mgfHash in CK_RSA_PKCS_PSS_PARAMS has no effect
Summary: Fixed to get the MGF digest algorithm from MGF1ParameterSpec
Reviewed-by: xuelei
2020-01-16 11:09:58 +03:00
naoto
073273e07b 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2020-01-16 11:09:56 +03:00
coffeys
8830a96a5b 8223490: Optimize search algorithm for determining default time zone
Reviewed-by: naoto, rriggs
2020-01-16 11:09:55 +03:00
hannesw
3a638115eb 8227391: Update double-conversion to version 3.1.5
Reviewed-by: attila
2020-01-16 11:09:53 +03:00
mbalao
e30e3208ea 8227437: S4U2proxy cannot continue because server's TGT cannot be found
Reviewed-by: weijun, clanger
2020-01-16 11:09:52 +03:00
serb
5d41473916 8224152: [macOS] ProblemList tests that leave rubbish on the screen
Reviewed-by: prr
2020-01-16 11:09:51 +03:00
joehw
41f9b781b3 8224157: BCEL: update to version 6.3.1
Reviewed-by: dfuchs, lancea
2020-01-16 11:09:50 +03:00
xuelei
0b4e78a254 8217610: TLSv1.3 fail with ClassException when EC keys are stored in PKCS11
Reviewed-by: valeriep
2020-01-16 11:09:49 +03:00
xyin
d36b532d81 8198882: Add 10 JNDI tests to com/sun/jndi/dns/AttributeTests/
Reviewed-by: vtewari, rriggs
2020-01-16 11:09:48 +03:00
stuefe
84d66f3db3 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2020-01-16 11:09:47 +03:00
jjiang
4c3a88527b 8215524: Finished message validation failure should be decrypt_error alert
Reviewed-by: xuelei
2020-01-16 11:09:46 +03:00
serb
1613d1c3d6 8215200: IllegalArgumentException in sun.lwawt.macosx.CPlatformWindow
Reviewed-by: dmarkov, kaddepalli
2020-01-16 11:09:45 +03:00
xuelei
d88f30eb3d 8214321: Misleading code in SSLCipher
Reviewed-by: ascarpino
2020-01-16 11:09:43 +03:00
serb
d1a6f6e0cb 8214046: [macosx] Undecorated Frame does not Iconify when set to
Reviewed-by: dmarkov
2020-01-16 11:09:42 +03:00
valeriep
5a67563b9c 8213008: Cipher with UNWRAP_MODE should support the generation of an AES key type
Summary: Replaced CKK_GENERIC_SECRET with alorithm-specific key type in P11RSACipher unwrap impl
Reviewed-by: ascarpino
2020-01-16 11:09:41 +03:00
rraghavan
632ecffb12 8227439: Turn off AOT by default
Summary: Made UseAOT, AOTLibrary experimental and UseAOT false by default
Reviewed-by: iignatyev, kvn
2020-01-16 11:09:40 +03:00
clanger
2d8557b92e 8226869: Test java/util/Locale/LocaleProvidersRun.java should enable assertions
Reviewed-by: naoto
2020-01-16 11:09:39 +03:00
mli
a2d358d896 8210403: Refactor java.util.Locale:i18n shell tests to plain java tests
Reviewed-by: naoto
Contributed-by: ying.z.zhou@oracle.com
2020-01-16 11:09:38 +03:00
mbaesken
06f2989b91 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
Reviewed-by: clanger
2020-01-16 11:09:37 +03:00
bpb
b3a8ec4cd6 8232178: MacVolumesTest failed after upgrade to MacOS Catalina
Reviewed-by: lancea
2020-01-16 11:09:35 +03:00
mbaesken
a01f2b150a 8232052: use string literal for format string when handling PauseAtStartupFile
Reviewed-by: clanger, stuefe
2020-01-16 11:09:34 +03:00
bpb
e7de300e73 8231254: (fs) Add test for macOS Catalina changes to protect system software
Reviewed-by: alanb
2020-01-16 11:09:33 +03:00
valeriep
8ed35599f3 8229243: SunPKCS11-Solaris provider tests failing on Solaris 11.4
Summary: For CK_GCM_PARAMS, try the spec definition first before falling back to the header file definition
Reviewed-by: xuelei
2020-01-16 11:09:32 +03:00
mbaesken
32fdadd613 8231222: fix pkcs11 P11_DEBUG guarded native traces
Reviewed-by: clanger
2020-01-16 11:09:31 +03:00
valeriep
abd2afe1f5 8228835: Memory leak in PKCS11 provider when using AES GCM
Summary: updated freeCKMechanismPtr to free mechanism-specific memories
Reviewed-by: jnimeh
2020-01-16 11:09:30 +03:00
shade
789cde0a48 8225695: 32-bit build failures after JDK-8080462 (Update SunPKCS11 provider with PKCS11 v2.40 support)
Reviewed-by: alanb
2020-01-16 11:09:29 +03:00
valeriep
4a716e2bd5 8176837: SunPKCS11 provider needs to check more details on PKCS11 Mechanism
Summary: Disable mechanisms with partial support, e.g. can decrypt but cannot encrypt
Reviewed-by: xuelei
2020-01-16 11:09:28 +03:00
valeriep
3426afe277 8080462: Update SunPKCS11 provider with PKCS11 v2.40 support
Summary: Added support for GCM, PSS, and other mechanisms
Reviewed-by: jnimeh
2020-01-16 11:09:27 +03:00
jboes
2c2a107579 8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
Summary: Preserve BODY in poster output stream before sending CONNECT request
Reviewed-by: bae
2020-01-16 11:09:26 +03:00
coffeys
0e5f9c8398 8212752: Typo in SSL log message related to inactive/disabled signature scheme
Reviewed-by: coffeys
Contributed-by: jai.forums2013@gmail.com
2020-01-16 11:09:24 +03:00
xuelei
e01762e302 8212738: Incorrectly named signature scheme ecdsa_secp512r1_sha512
Reviewed-by: ascarpino
2020-01-16 11:09:22 +03:00
iignatyev
7e6d43f2e0 8208236: [TESTBUG] vmTestbase/nsk/stress/stack tests fail by timeout
Reviewed-by: dholmes
2020-01-16 11:09:21 +03:00
bobv
4feb1771cd 8211740: [AOT] -XX:AOTLibrary doesn't accept windows path
Reviewed-by: kvn, iignatyev
2020-01-16 11:09:20 +03:00
vdeshpande
ad589e3b4c 8221092: UseAVX=3 has performance degredation on Skylake (X7) processors
Summary: Fix for UseAVX=3 has performance degredation on Skylake (X7) processors
Reviewed-by: kvn
2020-01-16 11:09:19 +03:00
weijun
b19e4e7e32 8227381: GSS login fails with PREAUTH_FAILED
Reviewed-by: xuelei
2020-01-16 11:09:18 +03:00
weijun
31b44bf445 8227061: KDC.java test behaves incorrectly when AS-REQ contains a PAData not PA-ENC-TS-ENC
Reviewed-by: mullan
2020-01-16 11:09:17 +03:00
weijun
faa4d7370d 8226719: Kerberos login to Windows 2000 failed with "Inappropriate type of checksum in message"
Reviewed-by: xuelei
2020-01-16 11:09:16 +03:00
mseledtsov
8104d8dd82 8230115: Problemlist JFR TestNetworkUtilization test
Summary: Added test to the problem list
Reviewed-by: dcubed
2020-01-16 11:09:15 +03:00
azeller
5b11fae577 8231457: Asserts on AIX because os::elapsed_counter() is not monotonic
Summary: replace gettimeofday with javaTimeNanos
Reviewed-by: dholmes, stuefe
2020-01-16 11:09:14 +03:00
mbalao
1b1ee81b21 8233944: Make KerberosPrincipal.KRB_NT_ENTERPRISE field package private
Reviewed-by: clanger
2020-01-16 11:09:13 +03:00
fyang
87efc9126a 8233839: aarch64: missing memory barrier in NewObjectArrayStub and NewTypeArrayStub
Reviewed-by: adinn
2020-01-16 11:09:12 +03:00
lmesnik
d7c34d2bcc 8230881: serviceability/sa/TestJmapCore tests fail with java.lang.RuntimeException: Could not find dump file
Reviewed-by: dholmes, cjplummer
2020-01-16 11:09:10 +03:00
cjplummer
a7cf6a8277 8228625: [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Summary: Give jshell process time to fully startup and stablize before requesting heap dump
Reviewed-by: sspitsyn, amenkov
2020-01-16 11:09:09 +03:00
thartmann
8e94d9247e 8230388: Problemlist additional compiler/rtm tests
Summary: Putting tests on the problem list.
Reviewed-by: roland
2020-01-16 11:09:08 +03:00
dcubed
e76ae699d3 8226899: Problemlist compiler/rtm tests
Reviewed-by: kvn
2020-01-16 11:09:07 +03:00
igerasim
5a324e6eae 8233886: TEST_BUG jdk/java/net/CookieHandler/B6791927.java hit hardcoded expiration date
Reviewed-by: chegar, vtewari
2020-01-16 11:09:06 +03:00
rriggs
10e4cc830d 8224505: TestQuotedLogOutput failure after ProcessBuilder changes
Reviewed-by: alanb
2020-01-16 11:09:05 +03:00
dfuchs
59ae671635 8216363: NullPointerException in java.util.logging.Handler#isLoggable
Summary: The implementation is changed to match the spec: isLoggable(null) returns false.
Reviewed-by: mchung, lancea
2020-01-16 11:09:04 +03:00
jnimeh
980886ace9 8211866: TLS 1.3 CertificateRequest message sometimes offers disallowed signature algorithms
Reviewed-by: xuelei
2020-01-16 11:09:03 +03:00
serb
74e6b1d499 8211147: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Reviewed-by: prr
2020-01-16 11:09:02 +03:00
weijun
171853966e 8209771: jdk.test.lib.Utils::runAndCheckException error
Reviewed-by: dholmes
2020-01-16 11:09:01 +03:00
kvn
9082655773 8202359: [GRAAL] compiler/uncommontrap/TestDeoptOOM.java failed with OutOfMemoryError
Summary: exclude this test from running with Java Graal
Reviewed-by: iveresov
2020-01-16 11:09:00 +03:00
igerasim
b46b385c97 8200381: Typos in javadoc - missing verb "be" and alike
Reviewed-by: lancea, darcy, wetmore
2020-01-16 11:08:59 +03:00
michaelm
c415d45310 8185898: setRequestProperty(key, null) results in HTTP header without colon in request
Reviewed-by: chegar, dfuchs
2020-01-16 11:08:58 +03:00
serb
5c26690e26 8144125: [macOS] java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically
Reviewed-by: dmarkov
2020-01-16 11:08:57 +03:00
jpai
9f4825e253 8232879: Writing out data with the Zip File System leads to a CRC failure
Reviewed-by: lancea, clanger
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2020-01-16 11:08:55 +03:00
mbaesken
32ac71c499 8233203: fix non-product build on AIX when compiling with xlc16/legacy-xlc
Reviewed-by: clanger, mdoerr
2020-01-16 11:08:54 +03:00
dmarkov
101cd5996c 8225505: ctrl-F1 does not show the tooltip of a menu item (JMenuItems)
Reviewed-by: psadhukhan, serb
2020-01-16 11:08:53 +03:00
serb
0359fc6005 8221246: NullPointerException within Win32ShellFolder2
Reviewed-by: prr
2020-01-16 11:08:52 +03:00
lucy
1064cda1bd 8231403: [ppc]: Align ReservedCodeCacheSize default value with other platforms
Reviewed-by: goetz
2020-01-16 11:08:51 +03:00
mbaesken
33465f55e9 8232381: add result NULL-checking to freetypeScaler.c
Reviewed-by: clanger, prr
2020-01-16 11:08:50 +03:00
ecaspole
0e0762b050 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2020-01-16 11:08:49 +03:00
roland
262666e870 8231620: assert(bol->is_Bool()) crash during split if due to FastLockNode
Reviewed-by: vlivanov, thartmann
2020-01-16 11:08:47 +03:00
mbalao
88be2910ce 8215032: Support Kerberos cross-realm referrals (RFC 6806)
Reviewed-by: weijun
2020-01-16 11:08:46 +03:00
neliasso
c75fb10878 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2020-01-16 11:08:45 +03:00
mdoerr
20ed2bda8e 8216426: Usage of array placement new may lead to memory corruption
Reviewed-by: rehn, kbarrett, rkennke, eosterlund
2020-01-16 11:08:43 +03:00
bobv
0300ab165a 8220476: Incorrect GPL header in src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/PerfDataFile.java
Reviewed-by: lancea
2020-01-16 11:08:42 +03:00
gadams
8fe3161d7e 8220474: Incorrect GPL header in src/java.instrument/share/classes/java/lang/instrument/package-info.java
Reviewed-by: dholmes
2020-01-16 11:08:41 +03:00
dtitov
610d83566b 8221532: Incorrect copyright header in FileSystemSupport_md.c
Reviewed-by: cjplummer, gadams
2020-01-16 11:08:40 +03:00
prr
620deb17d4 8212071: Need to set the FreeType LCD Filter to reduce fringing.
Reviewed-by: prr, lbourges
Contributed-by: John Neffenger <john@status6.com>
2020-01-16 11:08:39 +03:00
gromero
c781a9f263 8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
2020-01-16 11:08:38 +03:00
ihse
ff3df98fdf 8214311: dtrace gensrc has missing dependencies
Reviewed-by: tbell, erikj, clanger
2020-01-16 11:08:37 +03:00
cito
976cf67f3f 8223697: jfr tool can't format duration values greater than 1 minute
Reviewed-by: egahlin
2020-01-16 11:08:36 +03:00
egahlin
cd2cea1e6f 8215771: The jfr tool should pretty print reference chains
Reviewed-by: mgronlun
2020-01-16 11:08:35 +03:00
mdoerr
49820156ad 8232005: [s390, PPC64] More exception checks missing in interpreter
Reviewed-by: rrich, goetz
2020-01-16 11:08:34 +03:00
xuelei
cafadfe2fc 8218580: endpoint identification algorithm should be case-insensitive
Reviewed-by: jnimeh
2020-01-16 11:08:33 +03:00
rkennke
0bd132ffb4 8231085: C2/GC: Better GC-interface for expanding clone
Reviewed-by: eosterlund
2020-01-16 11:08:32 +03:00
jiefu
09c387dd3a 8229169: False failure of GenericTaskQueue::pop_local on architectures with weak memory model
Reviewed-by: mdoerr, kbarrett, tschatzl
2020-01-16 11:08:30 +03:00
iignatyev
b6284527df 8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations"
Reviewed-by: roland, thartmann
2020-01-16 11:08:29 +03:00
fyang
1fa5608196 8231988: Unexpected test result caused by C2 IdealLoopTree::do_remove_empty_loop
Summary: Duplicate cmp node in empty loop if it has other users
Reviewed-by: neliasso, thartmann
Contributed-by: wanghuang3@huawei.com, xietuo@huawei.com
2020-01-16 11:08:28 +03:00
jwilhelm
f83757e077 8214052: [testbug] vmTestbase/vm/compiler/CodeCacheInfoOnCompilation - wrong shell used
Reviewed-by: jwilhelm
Contributed-by: merkel05@gmail.com
2020-01-16 11:08:27 +03:00
shade
7ba305cd72 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2020-01-16 11:08:26 +03:00
chagedorn
fd33162fc5 8232874: Add missing test for 8230062
Summary: Adds a missing test which verifies the bug fix of 8230062.
Reviewed-by: roland, thartmann
2020-01-16 11:08:25 +03:00
dfuchs
7194705ba6 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
Summary: When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.
Reviewed-by: chegar, michaelm
2020-01-16 11:08:24 +03:00
mbaesken
1bef94548a 8215411: some GetByteArrayElements calls miss corresponding Release
Reviewed-by: dholmes, jcbeyler
2020-01-16 11:08:23 +03:00
kbarrett
e6ceb0fe6a 8229156: ProblemList gc/stress/gclocker/TestExcessGCLockerCollections.java
Reviewed-by: shade
2020-01-16 11:08:21 +03:00
mbaesken
2f52b1143b 8231751: on aix handle Power 9 in os::get_summary_cpu_info
Reviewed-by: clanger, mdoerr
2020-01-16 11:08:20 +03:00
ysuenaga
d4798270c1 8232592: <Unknown compiled code> is shown in jstack mixed mode
Reviewed-by: cjplummer, phh
2020-01-16 11:08:19 +03:00
rschmelter
e6ecc6977e 8191521: handle long relative path specified in -Xbootclasspath/a on windows
8231885: Fix/remove malformed assert in os_windows.cpp
8231930: Windows build fails after JDK-8191521
Reviewed-by: ccheung, clanger
2020-01-16 11:08:18 +03:00
cito
54594a3a5a 8225694: Destination option missing in FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2020-01-16 11:08:17 +03:00
serb
c9ae2287e7 8134672: [TEST_BUG] Some tests should check isDisplayChangeSupported
Reviewed-by: prr
2020-01-16 11:08:16 +03:00
serb
6a0075a0d9 8215105: java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java: Wrong Pixel Color
Reviewed-by: prr
2020-01-16 11:08:15 +03:00
serb
131c15e84a 8225101: Crash at sun.awt.X11.XlibWrapper.XkbGetUpdatedMap when change keybord map
Reviewed-by: prr, pbansal
2020-01-16 11:08:14 +03:00
poonam
139cef3f71 8229420: [Redo] jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2020-01-16 11:08:12 +03:00
vkempik
29dcde44a9 8229872: (fs) Increase buffer size used with getmntent
Summary: Dynamically allocate memory for getmntent
Reviewed-by: alanb
2020-01-16 11:08:10 +03:00
rhalade
0be3a3d510 8231887: ComodoCA.java fails because certificate was revoked
Reviewed-by: mullan, clanger
2020-01-16 11:08:09 +03:00
dfuchs
41f7f7ec92 8216561: HttpClient: The logic of retry on connect exception is inverted
Summary: Allows retry on connect exception by default, ensuring that the second attempt takes into account the time spent in the first attempt in order to honor the connect timeout value (if present).
Reviewed-by: chegar
2020-01-16 11:08:07 +03:00
erikj
194ff2a76c 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
Reviewed-by: ctornqvi
2020-01-16 11:08:06 +03:00
erikj
6c6ebdfe5c 8212028: Use run-test makefile framework for testing in Oracle's Mach5
Reviewed-by: ihse
2020-01-16 11:08:05 +03:00
erikj
6153b10950 8211037: Load jib jars dynamically from JibArtifactManager
Reviewed-by: ihse
2020-01-16 11:08:04 +03:00
ccheung
530914ca89 8190737: use unicode version of the canonicalize() function to handle long path on windows
Summary: also calling CreateFileW in zip_util.c to handle long path
Reviewed-by: sherman, iklam
2020-01-16 11:08:02 +03:00
igerasim
e5113d0e43 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2020-01-16 11:08:01 +03:00
chagedorn
0d8c2743b8 8230062: assert(i == p->size()-1) failed: must be last element of the pack
Summary: Avoids vectorization of reduction chain in which an intermediate result is used.
Reviewed-by: roland, thartmann
2020-01-16 11:08:00 +03:00
shade
be9046a53e 8231503: [TESTBUG] compiler/{jvmci,aot} tests should not run with GCs that do not support JVMCI/AOT
Reviewed-by: kvn, dlong, stefank
2020-01-16 11:07:59 +03:00
stefank
e65e644a0f 8221913: Add GC.selected() jtreg-ext function
Reviewed-by: kbarrett, pliden
2020-01-16 11:07:58 +03:00
joehw
f8d10b4428 8016914: CoreDocumentImpl.setXmlVersion NPE
Reviewed-by: lancea
2020-01-16 11:07:57 +03:00
coffeys
c775ddc60a 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
Contributed-by: kiran.sidhartha.ravikumar@oracle.com
2020-01-16 11:07:56 +03:00
jiefu
4aef972c9f 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2020-01-16 11:07:55 +03:00
serb
0c2b9693a2 8213568: Typo in java/awt/GraphicsEnvironment/LoadLock/GE_init5.java
Reviewed-by: prr
2020-01-16 11:07:53 +03:00
dtitov
e1391531d8 8220175: serviceability/dcmd/framework/VMVersionTest.java fails with a timeout
Reviewed-by: sspitsyn, cjplummer
2020-01-16 11:07:52 +03:00
serb
d6b010d653 8219504: Test for JDK-8211435 can be run on all platforms
Reviewed-by: kaddepalli, dmarkov, sveerabhadra
2020-01-16 11:07:51 +03:00
kbarrett
eaf5d37349 8048556: Unnecessary GCLocker-initiated young GCs
Summary: Fixed recognition of unnecessary GCLocker collections.
Reviewed-by: pliden, tschatzl
2020-01-16 11:07:50 +03:00
egahlin
5c230b3b50 8224217: RecordingInfo should use textual representation of path
Reviewed-by: mgronlun
2020-01-16 11:07:49 +03:00
shade
2adb57d11e 8231201: hs_err should print coalesced safepoint operations in Events section
Reviewed-by: phh, dholmes
2020-01-16 11:07:48 +03:00
pliden
47f5eccb68 8221456: nmethod::make_unloaded() clears _method member too early
Reviewed-by: eosterlund, thartmann
2020-01-16 11:07:47 +03:00
prr
e80dcbc58d 8229800: WindowsServerCore 1809 does not provide d2d1.dll library required by awt.dll
Reviewed-by: jdv, serb, aaivanov
2020-01-16 11:07:46 +03:00
mbaesken
7864dbf77b 8228368: avoid incompatible pointer to integer conversion initializing gint in gtk2_interface
Reviewed-by: prr
2020-01-16 11:07:45 +03:00
dzhou
57add311ce 8215913: [Test_bug]java/util/Locale/LocaleProvidersRun.java failed on de_DE and ja_JP locale.
Reviewed-by: naoto, rgoel, rriggs
2020-01-16 11:07:43 +03:00
pliden
ccdec15cf8 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails
Reviewed-by: shade, dholmes
2020-01-16 11:07:42 +03:00
pliden
78a3117309 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2020-01-16 11:07:41 +03:00
bpb
934b31bb1f 8229022: BufferedReader performance can be improved by using StringBuilder
Reviewed-by: igerasim, vtewari, dfuchs
2020-01-16 11:07:40 +03:00
aeubanks
7dfb4e1422 8229899: Make java.io.File.isInvalid() less racy
Reviewed-by: alanb, martin, shade
2020-01-16 11:07:39 +03:00
thartmann
849ccb0f71 8231223: C2's conditional move optimization fails with assert(bol->Opcode() == Op_Bool) failed
Summary: Bail out if the range check If has an Opaque4Node input instead of a BoolNode.
Reviewed-by: roland, kvn
2020-01-16 11:07:38 +03:00
roland
23635b2c44 8230061: # assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: thartmann, neliasso
2020-01-16 11:07:37 +03:00
shade
0da8b2e292 8230671: x86_32 build failures after JDK-8229496
Reviewed-by: thartmann
2020-01-16 11:07:36 +03:00
thartmann
fd962940f0 8229496: SIGFPE (division by zero) in C2 OSR compiled method
Summary: Adding a CastNode to keep the dependency between the div/mod operation and the zero check.
Reviewed-by: roland, mdoerr
2020-01-16 11:07:34 +03:00
rrich
d44fd1fc25 8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
2020-01-16 11:07:32 +03:00
roland
c6e27a2803 8231665: 8231055 broke escapeAnalysis/TestSelfArrayCopy.java
Reviewed-by: thartmann
2020-01-16 11:07:31 +03:00
roland
f8d3ac276a 8231055: C2: arraycopy with same non escaping src and dest but different positions causes wrong execution
Reviewed-by: thartmann, vlivanov
2020-01-16 11:07:30 +03:00
clanger
2963e93679 8223869: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java on more platforms
Reviewed-by: goetz
2020-01-16 11:07:29 +03:00
roland
e8f49f1c08 8229483: Sinking load out of loop may trigger: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: thartmann, neliasso
2020-01-16 11:07:28 +03:00
mbaesken
27ebcae325 8229284: jdk/internal/platform/cgroup/TestCgroupMetrics.java fails for - memory:getMemoryUsage
Reviewed-by: mseledtsov, sgehwolf
2020-01-16 11:07:27 +03:00
clanger
eff0d1b71b 8231318: Several compiler/aot tests fail for JDK11 on Windows when only MSVC 2017 is installed
Reviewed-by: kvn
2020-01-16 11:07:26 +03:00
sgehwolf
56c966e762 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Summary: Move container constant to separate test lib class
Reviewed-by: alanb
2020-01-16 11:07:24 +03:00
sgehwolf
63e4311f2e 8227642: [TESTBUG] Make docker tests podman compatible
Reviewed-by: mseledtsov, iignatyev
2020-01-16 11:07:23 +03:00
bobv
ae26ba75f9 8224502: [TESTBUG] JDK docker test TestSystemMetrics.java fails with access issues and OOM
Reviewed-by: sgehwolf, mseledtsov
2020-01-16 11:07:22 +03:00
simonis
8b929de8d4 8220528: [AIX] Fix basic Xinerama and Xrender functionality
Reviewed-by: clanger, stuefe, serb
2020-01-16 11:07:21 +03:00
mgronlun
5839e78f3e 8227605: Kitchensink fails "assert((((klass)->trace_id() & (JfrTraceIdEpoch::leakp_in_use_this_epoch_bit())) != 0)) failed: invariant"
Reviewed-by: dholmes, dcubed, egahlin
2020-01-16 11:07:20 +03:00
mgronlun
549fdb70a7 8227411: TestTimeMultiple.java failed "assert(!lease()) failed: invariant"
Reviewed-by: egahlin
2020-01-16 11:07:19 +03:00
mgronlun
07d0133874 8217362: Emergency dump does not work when disk=false is set
Reviewed-by: egahlin, ysuenaga
Contributed-by: yasuenag@gmail.com
2020-01-16 11:07:18 +03:00
alanb
61a4546299 8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
Reviewed-by: redestad, mchung, jjg, adinn, clanger
2020-01-16 11:07:17 +03:00
mseledtsov
f90998904e 8228687: [TESTBUG] exclude Container tests from hotspot_misc group
Summary: Excluded hotspot_containers from hotspot_misc
Reviewed-by: dcubed, adinn
2020-01-16 11:07:16 +03:00
vromero
72b5b8fe0b 8210789: langtools/tools/javac/T8152616.java missing @modules
Reviewed-by: jjg
2020-01-16 11:07:14 +03:00
shurailine
1e549d3f92 8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration
Reviewed-by: mchung
2020-01-16 11:07:13 +03:00
mbaesken
b1a2d8708a 8228902: add os::dll_load to the unified logging os category
Reviewed-by: coleenp, mdoerr
2020-01-16 11:07:12 +03:00
mbaesken
f1c036af5f 8230861: missing ReleaseStringUTFChars in Java_sun_security_pkcs11_wrapper_PKCS11_connect
Reviewed-by: alanb, stuefe
2020-01-16 11:07:11 +03:00
mbaesken
ac5e1d600c 8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
Reviewed-by: dfuchs, stuefe, vtewari
2020-01-16 11:07:10 +03:00
mbaesken
a6d9a208f2 8230900: missing ReleaseStringUTFChars in java.desktop native code
Reviewed-by: clanger, prr
2020-01-16 11:07:09 +03:00
mbaesken
4e995ce9d1 8230901: missing ReleaseStringUTFChars in serviceability native code
Reviewed-by: stuefe, sspitsyn
2020-01-16 11:07:08 +03:00
jiefu
9dee330c79 8230943: False deadlock detection with -XX:+CIPrintCompileQueue after JDK-8163511
Reviewed-by: dholmes, thartmann
2020-01-16 11:07:07 +03:00
azeller
fdc03195eb 8230110: TestLinkageErrorInGenerateOopMap times out
Reviewed-by: stuefe, clanger, thartmann
2020-01-16 11:07:06 +03:00
mgronlun
67ed8faeec 8224172: assert(jfr_is_event_enabled(id)) failed: invariant
Reviewed-by: dcubed, dholmes
2020-01-16 11:07:05 +03:00
egahlin
536200abd3 8216064: -XX:StartFlightRecording:settings= doesn't work properly
Reviewed-by: mgronlun
2020-01-16 11:07:03 +03:00
stuefe
37fa50ad95 8227035: JVM::printFlags fails in native OOM situations
Reviewed-by: goetz, gziemski
2020-01-16 11:07:02 +03:00
stuefe
9c5d154d85 8227032: MetaspaceUtils::print_report crashes when called before initialization
Reviewed-by: tschatzl, goetz
2020-01-16 11:07:01 +03:00
stuefe
1dbb83d6ec 8227031: Print NMT statistics on fatal errors
Reviewed-by: mbaesken, mdoerr
2020-01-16 11:07:00 +03:00
mbalao
896fe14e07 8230923: SunJSSE is not properly initialized in FIPS mode from a configuration file
Reviewed-by: andrew
2020-01-16 11:06:58 +03:00
clanger
3574794cea 8231247: (zipfs) Test failure in jdk/nio/zipfs/InvalidZipHeaderTests.java after backport of JDK-8222807
Reviewed-by: goetz
2020-01-16 11:06:57 +03:00
mseledtsov
ba91288a28 8226779: [TESTBUG] Test JFR API from Java agent
Summary: Created new tests for JFR plus Java Agent
Reviewed-by: egahlin
2020-01-16 11:06:56 +03:00
egahlin
ed44eb9758 8214750: Unnecessary <p> tags in jfr classes
Reviewed-by: mgronlun
2020-01-16 11:06:55 +03:00
rschmelter
5f32cecaf1 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by: sspitsyn, clanger, dholmes
2020-01-16 11:06:54 +03:00
dcubed
cca764cceb 8227338: templateInterpreter.cpp: copy_table() needs to be safer
Reviewed-by: dholmes, eosterlund, sspitsyn, kbarrett
2020-01-16 11:06:53 +03:00
mbaesken
fd530693a7 8223438: add VirtualizationInformation JFR event
Reviewed-by: clanger, egahlin
2020-01-16 11:06:51 +03:00
lancea
ed6fba57ee 8222807: Address iteration with invalid ZIP header entries
Reviewed-by: redestad, clanger
2020-01-16 11:06:50 +03:00
rschmelter
d0b47d84dd 8222529: sun.jdwp.listenerAddress agent property uses wrong encoding
Reviewed-by: sspitsyn, amenkov, clanger, erikj
2020-01-16 11:06:49 +03:00
clanger
23bcfb1622 8222440: (zipfs) JarFileSystem does not correctly handle versioned entries if no root entry is present
Reviewed-by: lancea
2020-01-16 11:06:48 +03:00
lancea
b8fca4849f 8211919: ZipDirectoryStream should provide a stream of paths that are relative to the directory
Reviewed-by: alanb, clanger
2020-01-16 11:06:47 +03:00
sherman
f3610a5923 8211385: (zipfs) ZipDirectoryStream yields a stream of absolute paths when directory is relative
Reviewed-by: alanb, lancea
2020-01-16 11:06:46 +03:00
stuefe
aa0e1862af 8214975: No hs-err file if fatal error is raised during dynamic initialization
Reviewed-by: dholmes, dcubed, clanger
2020-01-16 11:06:44 +03:00
sgehwolf
cae492bf2c 8227397: Add --with-extra-asflags configure option
Reviewed-by: phh
2020-01-16 11:06:43 +03:00
roland
9ce169d3f0 8229701: aarch64: C2 OSR compilation fails with "shouldn't process one node several times" in final graph reshaping
Reviewed-by: thartmann, kvn
2020-01-16 11:06:42 +03:00
jiefu
958579aa25 8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
Reviewed-by: dholmes
2020-01-16 11:06:41 +03:00
coleenp
1d9f47e5b1 8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
Summary: Return NULL source file and negative line number for hidden frames.
Reviewed-by: dholmes, hseigel
2020-01-16 11:06:40 +03:00
roland
c3d8700c8c 8209835: Aarch64: elide barriers on all volatile operations
Reviewed-by: aph, adinn
2020-01-16 11:06:39 +03:00
mbaesken
f5d33c65a9 8229182: runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Reviewed-by: clanger, mseledtsov
2020-01-16 11:06:37 +03:00
mbaesken
8b940e1571 8230769: BufImg_SetupICM add ReleasePrimitiveArrayCritical call in early return
Reviewed-by: prr, stuefe
2020-01-16 11:06:36 +03:00
mbaesken
b39decf7e5 8230711: ConnectionGraph::unique_java_object(Node* N) return NULL if n is not in the CG
Reviewed-by: mdoerr
2020-01-16 11:06:35 +03:00
mbaesken
8064329207 8230466: check malloc/calloc results in jdk.hotspot.agent
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2020-01-16 11:06:34 +03:00
coleenp
9af589e612 8210559: ClassLoaderData Symbols can leak
Summary: unrefcount the symbol names when the CLD is destroyed
Reviewed-by: lfoltan, jiangli, iklam
2020-01-16 11:06:33 +03:00
shade
2edd846525 8230813: Add JDK-8010500 to compiler/loopopts/superword/TestFuzzPreLoop.java bug list
Reviewed-by: zgu
2020-01-16 11:06:32 +03:00
shade
4f861ec281 8230238: Add another regression test for JDK-8134739
Reviewed-by: kvn
2020-01-16 11:06:30 +03:00
thartmann
b698664672 8213014: Crash in CompileBroker::make_thread due to OOM
Summary: Added missing null checks and checks for pending exception.
Reviewed-by: kvn, dholmes, mdoerr
2020-01-16 11:06:29 +03:00
smarks
9acfc97d0a 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: plevart, clanger
2020-01-16 11:06:28 +03:00
mdoerr
9ee5c461a3 8213604: Fix missing includes after JDK-8212673
Reviewed-by: tschatzl, roland
2020-01-16 11:06:27 +03:00
egahlin
afc75a9be5 8216283: Allow shorter method sampling interval than 10 ms
Reviewed-by: mgronlun
2020-01-16 11:06:26 +03:00
cito
4c3cd262eb 8221569: JFR tool produces incorrect output when both --categories and --events are specified
Reviewed-by: mgronlun
Contributed-by: chihiro.ito@oracle.com, erik.gahlin@oracle.com
2020-01-16 11:06:24 +03:00
mseledtsov
d58f2786e0 8222888: [TESTBUG] docker/TestJFREvents.java fails due to "RuntimeException: JAVA_MAIN_CLASS_ is not defined"
Summary: Introduced unique environment variable
Reviewed-by: egahlin, lmesnik, sgehwolf
2020-01-16 11:06:22 +03:00
mseledtsov
07f40b07fe 8221711: [TESTBUG] create more tests for JFR in container environment
Summary: Added test cases for environment and network events
Reviewed-by: egahlin
2020-01-16 11:06:21 +03:00
ysuenaga
05fa67b8aa 8220555: JFR tool shows potentially misleading message when it cannot access a file
Reviewed-by: egahlin, mseledtsov
2020-01-16 11:06:20 +03:00
thartmann
bb0a118507 8229016: C2 scalarization crashes with assert(node->Opcode() == Op_CastP2X) failed: ConvP2XNode required
Summary: Detect array copy to self to avoid emitting another load to the to-be-removed allocation.
Reviewed-by: kvn
2020-01-16 11:06:19 +03:00
rkennke
b440240952 8212673: jtreg/applications/runthese/RunThese30M.java fails in C2 with "assert(!had_error) failed: bad dominance"
Reviewed-by: thartmann, kvn, shade
2020-01-16 11:06:17 +03:00
neliasso
f593eedf20 8218468: Load barrier slow path node should be MachTypeNode
Reviewed-by: shade, pliden, kvn
2020-01-16 11:06:16 +03:00
cjplummer
38ca7f71fa 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle
Summary: Don't delete globalrefs that might still be referenced
Reviewed-by: gadams, jcbeyler, sspitsyn
2020-01-16 11:06:15 +03:00
hseigel
00b69ecc81 8215699: -Xlog::file cannot be used with named pipe
Summary: If the log file is a named pipe then change the default file_count to zero so no log file rotation is attempted.
Reviewed-by: lfoltan, coleenp
2020-01-16 11:06:14 +03:00
shade
d7590fb32f 8230646: Epsilon does not extend TLABs to max size
Reviewed-by: tschatzl, zgu
2020-01-16 11:06:13 +03:00
mikael
c61023ee9d 8218935: Make jfr strncpy uses GCC 8.x friendly
Reviewed-by: clanger
2020-01-16 11:06:12 +03:00
mgronlun
f47afca78a 8229437: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: egahlin
2020-01-16 11:06:10 +03:00
mgronlun
d9ddb3e20b 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin
2020-01-16 11:06:09 +03:00
mgronlun
6f692c140d 8214542: JFR: Old Object Sample event slow on a deep heap in debug builds
Reviewed-by: egahlin, rwestberg
2020-01-16 11:06:08 +03:00
xliu
905d073f20 8229450: C2 compilation fails with assert(found_sfpt) failed
Reviewed-by: roland, thartmann
2020-01-16 11:06:07 +03:00
eosterlund
64a8947f2c 8210158: Accessorize JFR getEventWriter() intrinsics
Reviewed-by: kvn, neliasso, roland, rbackman
2020-01-16 11:06:05 +03:00
eosterlund
9257edcd56 8208601: Introduce native oop barriers in C2 for OopHandle
Reviewed-by: neliasso, kvn
2020-01-16 11:06:04 +03:00
naoto
a04e50c329 8227127: Era designator not displayed correctly using the COMPAT provider
Reviewed-by: rriggs
2020-01-16 11:06:03 +03:00
eosterlund
84bfbbb5c9 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2020-01-16 11:06:02 +03:00
ctornqvi
c16692d216 8212627: [TESTBUG] runtime/CreateMirror/ArraysNewInstanceBug.java timed out
Reviewed-by: coleenp, dcubed, hseigel
2020-01-16 11:06:01 +03:00
thartmann
63803b0322 8210387: C2 compilation fails with "assert(node->_last_del == _last) failed: must have deleted the edge just produced"
Summary: Refresh iterator and start from the beginning while there is progress when removing dead regions.
Reviewed-by: kvn
2020-01-16 11:06:00 +03:00
ascarpino
58d18a3f0e 8214098: sun.security.ssl.HandshakeHash.T12HandshakeHash constructor check backwards.
Reviewed-by: xuelei
2020-01-16 11:05:58 +03:00
neliasso
d988aa4291 8224538: LoadBarrierNode::common_barrier must check address
Reviewed-by: thartmann, kvn
2020-01-16 11:05:57 +03:00
thartmann
cf1d91b771 8228772: C2 compilation fails due to unschedulable graph if DominatorSearchLimit is reached
Summary: Ignore membar if the load is already control dependent on it.
Reviewed-by: neliasso, kvn
2020-01-16 11:05:56 +03:00
neliasso
ed6dd0063c 8215755: ZGC: split_barrier_thru_phi: check number of inputs of phi
Reviewed-by: pliden, thartmann
2020-01-16 11:05:55 +03:00
pliden
2485fd3607 8215708: ZGC: Add missing LoadBarrierNode::size_of()
Reviewed-by: eosterlund, neliasso
2020-01-16 11:05:54 +03:00
roland
4e678448cc 8209691: Allow MemBar on single memory slice
Reviewed-by: kvn, vlivanov
2020-01-16 11:05:52 +03:00
stuefe
e47b5a7cce 8225225: stringStream internal buffer should always be zero terminated
Reviewed-by: coleenp, dholmes
2020-01-16 11:05:51 +03:00
stuefe
11525a9f35 8220394: bufferedStream does not honor size limit
Reviewed-by: dholmes, clanger
2020-01-16 11:05:49 +03:00
mseledtsov
cb6a1b8ab4 8213448: [TESTBUG] enhance jfr/jvm/TestDumpOnCrash
Summary: added 2 more crash scenarios, removed dumponexit, and more
Reviewed-by: egahlin
2020-01-16 11:05:48 +03:00
iklam
6b97023215 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Summary: Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2020-01-16 11:05:47 +03:00
iklam
d5af21716b 8209545: Simplify HeapShared::archive_module_graph_objects
Summary: Added archivable_static_fields array in heapShared.cpp
Reviewed-by: jiangli
2020-01-16 11:05:45 +03:00
iklam
069a255c6b 8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
Summary: Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp
Reviewed-by: jiangli, redestad, coleenp
2020-01-16 11:05:44 +03:00
redestad
8d20f0cbcf 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2020-01-16 11:05:43 +03:00
jiangli
cb086a6016 8207263: Store the Configuration for system modules into CDS archive.
Summary: Archive boot layer Configuration.
Reviewed-by: redestad, iklam, ccheung
2020-01-16 11:05:42 +03:00
redestad
3c65b74093 8209003: Consolidate use of empty collections in java.lang.module
Reviewed-by: alanb, mchung
2020-01-16 11:05:40 +03:00
rkennke
7892c95c0b 8213381: Hook to allow GC to inject Node::Ideal() calls
Reviewed-by: kvn, eosterlund, roland
2020-01-16 11:05:39 +03:00
thartmann
8865a01155 8228888: C2 compilation fails with assert "m has strange control"
Summary: Weakened too strong assert.
Reviewed-by: kvn, roland
2020-01-16 11:05:37 +03:00
thartmann
2b7bea7f17 8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
Summary: Deoptimize if exception is thrown in _clone intrinsic.
Reviewed-by: kvn
2020-01-16 11:05:36 +03:00
roland
481b87fbfa 8216135: C2 assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, kvn
2020-01-16 11:05:35 +03:00
stefank
292eb6d30b 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper
Reviewed-by: kbarrett, sspitsyn
2020-01-16 11:05:34 +03:00
mchung
0183200122 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Reviewed-by: coleenp, fparain, shade, plevart
2020-01-16 11:05:33 +03:00
stuefe
25c9571a16 8221406: Windows 32bit build error in NetworkInterface_winXP.c
Reviewed-by: clanger
2020-01-16 11:05:31 +03:00
egahlin
f2cef3852a 8214925: JFR tool fails to execute
Reviewed-by: mgronlun, mseledtsov
2020-01-16 11:05:30 +03:00
egahlin
2699b817ca 8214896: JFR Tool left files behind
Reviewed-by: mgronlun
2020-01-16 11:05:29 +03:00
egahlin
ba1180e7a8 8205516: JFR tool
Reviewed-by: mgronlun
2020-01-16 11:05:28 +03:00
ysuenaga
eefbab5cbd 8209790: SA tools not providing option to connect to debug server
Reviewed-by: sspitsyn, cjplummer
2020-01-16 11:05:26 +03:00
mbaesken
be146bff04 8224958: add os::dll_load calls to event log
Reviewed-by: dholmes, mdoerr, stuefe
2020-01-16 11:05:25 +03:00
stuefe
820f0b9976 8224193: stringStream should not use Resouce Area
Reviewed-by: goetz, coleenp, dholmes
2020-01-16 11:05:24 +03:00
stuefe
12d30d9e28 8222015: Small VM.metaspace improvements
Reviewed-by: jiangli, coleenp
2020-01-16 11:05:23 +03:00
kbarrett
bd821c49f8 8214315: G1: fatal error: acquiring lock SATB_Q_FL_lock/1 out of order with lock tty_lock/0
Summary: Add new 'tty' lock rank.
Reviewed-by: eosterlund, tschatzl
2020-01-16 11:05:22 +03:00
goetz
882499cc66 8229408: Bump update version for OpenJDK: jdk-11.0.6
Reviewed-by: shade
2020-01-16 11:05:21 +03:00
bell-sw
9bfe5d8b56 Merge SunLayoutEngine.java: upstream version:
https://github.com/bell-sw/jdk11u-openjdk/commit/27522184
    https://github.com/JetBrains/JetBrainsRuntime/commit/1e1b932a
    https://github.com/JetBrains/JetBrainsRuntime/commit/bac12d45
2020-01-16 11:05:04 +03:00
prr
a0ac78c60f 8210384: SunLayoutEngine.isAAT() font is expensive on MacOS
Reviewed-by: dmarkov, kaddepalli

Conflicts:
    src/java.desktop/share/classes/sun/font/SunLayoutEngine.java
2020-01-16 11:05:03 +03:00
lbourges
5d6fcc8939 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Summary: use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value
Reviewed-by: prr, jdv
2020-01-16 11:05:02 +03:00
lbourges
4b9128c444 8231693: Backout "8230728: Thin stroked shapes are not rendered if affine transform has flip bit" from jdk11u
Summary: revert push to jdk11u
Reviewed-by: sgehwolf
2020-01-16 11:05:00 +03:00
lbourges
d448321ce9 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Summary: use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value
Reviewed-by: prr, jdv
2020-01-16 11:04:59 +03:00
prr
680dadbbe8 8217731: Font rendering and glyph spacing changed from jdk-8 to jdk-11
Summary: Prefer the older v35 freetype byte code interpreter.
Reviewed-by: serb, neugens
Contributed-by: alvdavi@amazon.com

Empty commit! The change is already in place:
    https://github.com/bell-sw/jdk11u-openjdk/commit/a6b7d778
    https://github.com/JetBrains/JetBrainsRuntime/commit/fa160d2d
2020-01-16 11:04:58 +03:00
dbatrak
6c0d706cd9 8220231: Cache HarfBuzz face object for same font's text layout calls
Reviewed-by: prr, avu, serb
Empty commit! The change is already in place:
    https://github.com/bell-sw/jdk11u-openjdk/commit/0300d574
    https://github.com/JetBrains/JetBrainsRuntime/commit/1e1b932a
2020-01-16 11:04:57 +03:00
bell-sw
fe75742083 Simple merge: windows.fontconfig.properties:
https://github.com/bell-sw/jdk11u-openjdk/commit/40094fc9
    https://github.com/JetBrains/JetBrainsRuntime/commit/85065319
    https://github.com/JetBrains/JetBrainsRuntime/commit/9b80ea79
2020-01-16 11:04:57 +03:00
prr
ba595302f4 8208179: Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK
Reviewed-by: jdv, naoto

Conflicts:
    make/data/fontconfig/windows.fontconfig.properties
2020-01-16 11:04:55 +03:00
serb
7de747cf61 8213119: [macos] java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: prr, jdv
2020-01-16 11:04:54 +03:00
bell-sw
539b211b99 Manual merge: the change from upstream: https://github.com/bell-sw/jdk11u-openjdk/commit/e410e72f vs
CGraphicsEnvironment.java: JRE-359 CGraphicsEnvironment.getDefaultScreenDevice() returns null: https://github.com/JetBrains/JetBrainsRuntime/commit/6d73b251
  CGLGraphicsConfig.java: JRE-238 [736] java.awt.AWTError: access denied: https://github.com/JetBrains/JetBrainsRuntime/commit/5d98c94e
  CGraphicsDevice.m: JRE-907 macOS: add ability to check for scaled display mode: https://github.com/JetBrains/JetBrainsRuntime/commit/e496262a
2020-01-16 11:04:53 +03:00
serb
e776046f66 8211992: GraphicsConfiguration.getDevice().getDisplayMode() causes JVM crash on Mac
Reviewed-by: prr

Conflicts:
    src/java.desktop/macosx/classes/sun/awt/CGraphicsEnvironment.java
    src/java.desktop/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java
    src/java.desktop/macosx/native/libawt_lwawt/awt/CGraphicsDevice.m
2020-01-16 11:04:51 +03:00
serb
837953074c 8146238: [macosx] Java2D Queue Flusher crash on OSX after switching between user accounts
Reviewed-by: prr, avu
2020-01-16 11:04:50 +03:00
bell-sw
45cb20c9e8 Revert "IDEA-148133 [IU-143.382] [MacOS] IDEA crashes regularly"
Reverting JB fix: 7262736e7e
    New fix: 5e55c482b4
    Bug ID: https://bugs.openjdk.java.net/browse/JDK-8146238
    (the new fix comes in the next commit)
2020-01-16 11:04:48 +03:00
psadhukhan
426d5f0163 8231084: Large performance regression in SwingMark TextArea in 14-b13
8231336: Corrupted option dialog in JTHarness with JDK14b13
Reviewed-by: serb, prr
2020-01-16 11:04:47 +03:00
psadhukhan
e8927ecf51 8226513: JEditorPane is shown with incorrect size
Reviewed-by: prr, psadhukhan
Contributed-by: semyon.sadetsky@oracle.com

(the change is already in place. empty commit)
2020-01-16 11:04:45 +03:00
bell-sw
14d9cd0813 Revert "JBR-1875 Modal dialogs text partly lost"
Reverting this change: https://github.com/JetBrains/JetBrainsRuntime/commit/598452f0
- going to get fresh one from the upstream (next two commits)
2020-01-16 11:04:45 +03:00
Vitaly Provodin
63841c1861 updated JTreg exclude list 2020-01-15 16:32:51 +07:00
Konstantin Bulenkov
d514f7a982 JetBrains Mono 1.0 2020-01-10 14:30:12 +01:00
Vitaly Provodin
1e9497ddc3 updated JTreg exclude list 2020-01-09 14:22:23 +07:00
Konstantin Bulenkov
dcea5e874d Fix download badges 2020-01-07 11:16:46 +01:00
Anton Tarasov
7354925566 JBR-2051 heavyweight components wrong bounds on per-monitor dpi 2019-12-27 15:33:55 +03:00
Alexey Ushakov
3368768244 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
2019-12-26 22:13:59 +03:00
Vitaly Provodin
bd56abc4c3 updated JTreg exclude list 2019-12-26 10:25:34 +07:00
Vitaly Provodin
7be5045cbb updated JTreg exclude list 2019-12-25 17:56:11 +07:00
Artem Bochkarev
5e0a9f5993 JBR-1089: allow to create FileDialog without parent
was broken in 8fd21b3746
fixed test FileDialogModalFocusTest.java
2019-12-22 13:12:05 +03:00
Denis Fokin
915d369d98 JBR-1928 NullPointerException from Swing on IDE startup 2019-12-20 14:09:14 +03:00
Denis Fokin
7d65accaf6 JBR-2037 EA-219827 - NPE: DialogWrapperPeerImpl$MyDialog.addNotify 2019-12-20 12:18:53 +03:00
Artem Bochkarev
78363232b3 JBR-1680: allow to disable 'override-redirect' logic of XWindowPeer
with fixed fail of: javax/swing/JOptionPane/8081019/bug8081019.java

(cherry picked from commit 9094054cdc)
2019-12-20 11:55:45 +03:00
Vitaly.Provodin
8fb2341ea8 add dockerfile for x86 2019-12-19 06:30:59 +03:00
Vitaly.Provodin
3a79870da8 add 32-sizes for native data types 2019-12-19 06:29:08 +03:00
Artem Bochkarev
2adf5275f1 JBR-2005: don't set appearance of file chooser if OSX version < 10.14 2019-12-18 23:45:34 +03:00
Anton Tarasov
bfa2d814f8 Merge remote-tracking branch 'origin/master' 2019-12-18 15:33:05 +03:00
Anton Tarasov
4f44b37f08 JBR-2031 [mac] jcef deadlocks with a11y on start 2019-12-18 15:32:49 +03:00
Alexey Ushakov
36e8544049 JBR-2023 PhpStorm/Webstorm 2019.3 crashes on start on MacOS 10.14.6 on libfreetype.6.dylib
Corrected compile time check to disable fontconfig on Mac
2019-12-17 18:44:14 +03:00
Alexey Ushakov
bc0d725f0e JDK CMake project update 2019-12-17 16:54:33 +03:00
Vitaly.Provodin
4858f29ec5 updated JTreg exclude list 2019-12-17 15:11:29 +03:00
Vitaly Provodin
31d8ae741b Revert "JBR-1680: allow to disable 'override-redirect' logic of XWindowPeer"
This reverts commit 9094054c
2019-12-14 06:23:06 +07:00
Denis Konoplev
7ce0f79561 IDEA-229135: Fling animation stop on tap 2019-12-13 17:24:57 +03:00
Denis Fokin
18d2a918c0 JBR-2021 Focus is nowhere after a modal progress and a popup 2019-12-13 16:43:23 +03:00
Anton Tarasov
7ae706b629 JBR-2019 provide getWindowHandle method for jcef 2019-12-13 15:14:17 +03:00
Anton Tarasov
cf997f71c6 JBR-2016 [followup] add jcef module and export packages to it 2019-12-13 15:13:12 +03:00
Anton Tarasov
308f7ecb12 JBR-2016 add jcef module and export some sun.* packages to it 2019-12-13 10:30:54 +03:00
Vitaly Provodin
418d5fd97e JBR-2014 Add jdk.hotspot.agent module to jbr 2019-12-13 10:17:18 +07:00
Alexey Ushakov
788e078f64 JBR-2000 RM 2019.3.1 font rendering regression, normal text is heavier
Added -Djava2d.font.loadFontConfig=bundled to force loading bundled font.conf
2019-12-12 16:35:08 +03:00
Artem Bochkarev
9094054cdc JBR-1680: allow to disable 'override-redirect' logic of XWindowPeer 2019-12-11 17:04:55 +03:00
Artem Bochkarev
09eabbd567 JBR-1794: backport 8234522: [macos] Crash with use of native file dialog
cherry-picked from hg changeset (Node ID e07a60855a7631b5eac32da1f1e71d72986a2c06, Parent  221a47a6f6d335560d9dd532a1ac593e316b5954)
2019-12-11 13:59:31 +03:00
Anton Tarasov
a00074a86c Comment assertion (originally JRE-965)
The assert line crashes debug hotspot.
2019-12-11 11:45:40 +03:00
Vitaly Provodin
7852ae4321 updated JTreg exclude list 2019-12-11 10:47:04 +07:00
Vitaly Provodin
7546a15bf6 updated JTreg exclude list 2019-12-11 09:12:10 +07:00
Vitaly Provodin
c00e904304 JBR-1996 exclude JCEF binaries from notarization 2019-12-07 06:04:07 +07:00
Denis Fokin
c8ad353f45 JBR-1991 Focus problems in Windows with X-Mouse style focus 2019-12-06 12:37:53 +03:00
Vitaly Provodin
57162c91c3 updated JTreg exclude list 2019-12-06 10:04:05 +07:00
Denis Konoplev
cab3f28907 Windows touch screen support 2019-12-04 13:48:56 +03:00
Alexey Ushakov
5d7fd2e1e5 JBR-1997 JetBrainsMono fonts update to v0.22 2019-12-04 12:03:44 +03:00
Vitaly Provodin
623a029e3b updated JTreg exclude list 2019-12-04 10:51:00 +07:00
Alexey Ushakov
dbd24232e4 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
2019-11-28 16:07:56 +03:00
Dmitry Batrak
850653192b 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.
2019-11-28 11:44:38 +03:00
Vitaly Provodin
7108e075db updated JTreg exclude list 2019-11-28 11:25:22 +07:00
Denis Konoplev
f67d51a140 README build for windows 2019-11-27 12:49:59 +03:00
Vitaly Provodin
4a6c286035 updated JTreg exclude list 2019-11-26 09:36:23 +07:00
Anton Tarasov
b60fac96b4 JBR-1976 [jcef] need mouse-transparent window on Windows 2019-11-25 12:25:19 +03:00
Vitaly Provodin
9f25f84f11 updated JTreg exclude list 2019-11-25 10:42:32 +07:00
Alexey Ushakov
f5302a02f4 JBR-1974 JetBrainsMono fonts update to v0.21 2019-11-22 16:49:46 +03:00
Denis Fokin
c8b3c854d3 IDEA-215004 Focus is lost by editor on project opening 2019-11-21 19:14:43 +03:00
Elena Sayapina
588cfef576 JBR-1694: java.lang.IllegalArgumentException: Null charset name
Move GB18030.class from sun/nio/cs/ext (jdk.charsets) to sun/nio/cs (java.base),
so the charset is available during VM initialization on Windows.
2019-11-21 16:20:20 +07:00
Vitaly Provodin
bcf1255189 updated JTreg exclude list 2019-11-21 11:33:27 +07:00
Alexey Ushakov
faa8d3d258 JBR-1962 Allow to change font config
Replaced several privileged blocks with just one
2019-11-20 23:08:28 +03:00
Vitaly Provodin
23287956de updated JTreg exclude list 2019-11-20 10:42:11 +07:00
Alexey Ushakov
165ca35138 JBR-1962 Allow to change font config
-Djava2d.font.loadFontConf=true option loads .fonts.conf from user.home (if available)
2019-11-19 21:26:13 +03:00
Vitaly Provodin
18d077a5d0 updated JTreg exclude list 2019-11-19 15:52:48 +07:00
Vitaly Provodin
0dfdfde600 updated JTreg exclude list 2019-11-16 10:12:19 +07:00
Denis Konoplev
a2576ffa9a Turn off multitouch 2019-11-15 16:49:32 +03:00
Denis Konoplev
cca7fb97f4 Check XInput extension && touch inertia 2019-11-15 16:49:32 +03:00
Denis Konoplev
6dcec3dc31 Touch scroll handling 2019-11-15 16:49:32 +03:00
Denis Konoplev
588cd6ee73 XI2 Constants 2019-11-15 16:49:32 +03:00
Denis Konoplev
d6bd1bfa2b XLibWrapper XI2 functions 2019-11-15 16:49:32 +03:00
Denis Konoplev
f101bc1108 X11 native get put double 2019-11-15 16:49:32 +03:00
Denis Konoplev
9504574dbb Native data types 2019-11-15 16:49:32 +03:00
Denis Konoplev
ef108067a1 XI2 headers in xlib wrapper generator 2019-11-15 16:49:32 +03:00
Vitaly Provodin
6cc380ffb5 JBR-572: Regression test on the crash caused by the fix (clean reundant lines) 2019-11-15 12:03:50 +07:00
Vitaly Provodin
958e25ed21 JBR-572: Regression test on the crash caused by the fix (clean reundant lines) 2019-11-15 12:03:01 +07:00
Vitaly Provodin
a7de601d5f JBR-572: Regression test on the crash caused by the fix 2019-11-15 11:54:55 +07:00
Vitaly Provodin
1855de4afb updated JTreg exclude list 2019-11-15 07:06:45 +07:00
Vitaly Provodin
7ff48f638b Revert "JBR-572 In macOS 10.13 and JIS layout yen key outputs yen (¥) whatever the setting of "¥ key generates" of Keyboard Settings"
This reverts commit e1a500ba
2019-11-13 18:09:02 +07:00
Alexey Ushakov
c430a66615 JBR-1954 .AppleSystemUIFont font rendering issues still exist for non-HiDPI displays on macOS Catalina
Removed workaround for fixed JBR-226 to have correct device transform. Additional transform for font size calculation is not necessary any more.
2019-11-13 00:46:40 +03:00
Denis Fokin
6c1c66e3e7 JBR-1883 Button states are changed on Toolbar after significant delay 2019-11-12 19:43:08 +03:00
Dmitry Batrak
e1a500ba8b JBR-572 In macOS 10.13 and JIS layout yen key outputs yen (¥) whatever the setting of "¥ key generates" of Keyboard Settings
backport JDK-8214578 from OpenJDK
2019-11-08 12:44:01 +03:00
Elena Sayapina
f5fad072a7 updated JTreg exclude list 2019-11-06 18:08:48 +07:00
Dmitry Batrak
9b80ea7908 JBR-1945 Backport JDK-8223558 from OpenJDK
apply fix from OpenJDK
2019-11-05 10:52:48 +03:00
Dmitry Batrak
58bad34faf JBR-1945 Backport JDK-8223558 from OpenJDK
revert fix for JBR-586
2019-11-05 10:43:08 +03:00
Denis Fokin
7fe266a4a3 JBR-1932 Dialogs leak via CPlatformWindow 2019-10-31 12:35:50 +03:00
Elena Sayapina
911b6b128d updated JTreg exclude list 2019-10-30 18:21:36 +07:00
Alexey Ushakov
0ff4014388 JBR-1915 .AppleSystemUIFont font rendering issues on macOS Catalina
Restored CoreText rendering (JBR-1756, JBR-1863, JBR-1868)
Use actual font size for calculating advances
2019-10-29 00:50:36 +03:00
Denis Fokin
8ebd3f3e33 JBR-1931 Provide separate means to get in fullscreen and get out of fullscreen
Refactoring
2019-10-25 18:22:11 +03:00
Denis Fokin
a19f3595ba JBR-1931 Provide separate means to get in fullscreen and get out of fullscreen 2019-10-25 16:51:26 +03:00
Vitaly Provodin
38ec7525d8 JBR-1821 Restore link to libjli 2019-10-24 07:00:30 +07:00
Vitaly Provodin
568c1f643e JBR-1821 Notarize JBR bundles enabling JBRSDK notarization (link to libjli were excluded) 2019-10-23 16:51:13 +07:00
Alexey Ushakov
ba583f0dd7 Merge pull request #12 from bell-sw/update_11.0.5
jdk-11.0.5-ga update
2019-10-23 11:23:46 +03:00
andrew
8e9e71b1d0 Added tag jdk-11.0.5-ga for changeset 6385eb06af94 2019-10-22 17:11:07 +03:00
kaddepalli
6bcb474510 8219914: Change the environment variable for Java Access Bridge logging to have a directory.
Reviewed-by: prr
2019-10-22 15:32:51 +03:00
alvdavi
7dde1e1cdd 8228825: Enhance ECDSA operations
Reviewed-by: andrew
2019-10-22 15:32:50 +03:00
rriggs
dfdf2ae848 8227601: Better collection of references
Reviewed-by: smarks, ahgross, skoivu, rhalade
2019-10-22 15:32:49 +03:00
igerasim
771c6593e6 8226765: Commentary on Javadoc comments
Reviewed-by: jjg, rhalade, skoivu, andrew
2019-10-22 15:32:48 +03:00
prr
6d6612cf15 8225597: Enhance font glyph mapping
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-10-22 15:32:47 +03:00
igerasim
4288dacfcd 8225298: Improve TLS connection support
Reviewed-by: dfuchs, igerasim, michaelm, rhalade, skoivu
2019-10-22 15:32:46 +03:00
prr
e3b2a73f72 8225292: Better Graphics2D drawing
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-10-22 15:32:45 +03:00
prr
b1848cba1d 8224915: Better serial attributes
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-10-22 15:32:44 +03:00
joehw
1fb28e6ecd 8224532: Better Path supports
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-10-22 15:32:43 +03:00
thartmann
2618ccd654 8224062: Improve String index handling
Reviewed-by: kvn, rhalade, mschoene
2019-10-22 15:32:42 +03:00
aefimov
6775dcfdc9 8223892: Improved handling of jar files
Reviewed-by: dfuchs, chegar, michaelm, rhalade, ahgross
2019-10-22 15:32:41 +03:00
hannesw
2d755ce57d 8223518: Unexpected exception in jjs
Reviewed-by: sundar, mschoene, rhalade, jlaskey
2019-10-22 15:32:40 +03:00
joehw
26645c0f73 8223505: Better pattern compilation
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-10-22 15:32:39 +03:00
igerasim
31e15fbd85 8222684: Better support for patterns
8223163: Better pattern recognition
Reviewed-by: ahgross, bchristi, jeff, rhalade, rriggs, smarks
2019-10-22 15:32:37 +03:00
rriggs
bd4469e4d0 8221858: Build Better Processes
Reviewed-by: alanb, rhalade, ahgross, darcy
2019-10-22 15:32:36 +03:00
serb
82f438e64b 8221497: Optional Panes in Swing
Reviewed-by: prr, alitvinov, mschoene, rhalade
2019-10-22 15:32:35 +03:00
weijun
a88bbb984e 8209901: Canonical file handling
Reviewed-by: mullan, alanb, ahgross
2019-10-22 15:32:34 +03:00
weijun
2919cdd90e 8224025: Fix for JDK-8220302 is not complete
Reviewed-by: ahgross, mullan, valeriep
2019-10-22 15:32:33 +03:00
weijun
2731444c3b 8220302: Better Kerberos ccache handling
Reviewed-by: valeriep
2019-10-22 15:32:32 +03:00
alitvinov
f0bca8b6cb 8218877: Help transform transformers
Reviewed-by: serb, prr, mschoene, bpb, ssahoo
2019-10-22 15:32:31 +03:00
michaelm
ce80c5fb4d 8218573: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-10-22 15:32:30 +03:00
aefimov
8c89168546 8213429: Windows file handling redux
Reviewed-by: alanb, dfuchs, weijun, bpb, rhalade, ahgross
2019-10-22 15:32:29 +03:00
bpb
8b3542a9ea 8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
2019-10-22 15:32:28 +03:00
clanger
734918b2d8 8230850: Test sun/tools/jcmd/TestProcessHelper.java fails intermittently
Reviewed-by: stuefe, cjplummer, sgehwolf
2019-10-22 15:32:27 +03:00
redestad
80fdc81c17 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-10-22 15:32:26 +03:00
rpatil
b80e5f8aa1 8228469: (tz) Upgrade time-zone data to tzdata2019b
Reviewed-by: naoto, martin
2019-10-22 15:32:25 +03:00
naoto
d2bcd54cb0 8212970: TZ database in "vanguard" format support
Reviewed-by: rriggs, joehw, erikj, scolebourne
2019-10-22 15:32:24 +03:00
rhalade
532f8233a7 8228337: problemList failing/ignored manual tests in security-libs
Reviewed-by: ascarpino
2019-10-22 15:32:23 +03:00
iignatyev
400a386344 8222154: upgrade gtest to 1.8.1
Reviewed-by: jwilhelm, rwestberg
2019-10-22 15:32:22 +03:00
lancea
f898dfac6b 8229887: (zipfs) zip file corruption when replacing an existing STORED entry
Reviewed-by: alanb, redestad, dfuchs
2019-10-22 15:32:21 +03:00
jjiang
79e2a13062 8225390: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8161536
Reviewed-by: xuelei
2019-10-22 15:32:20 +03:00
jjiang
481e2ec7a6 8204203: Many pkcs11 tests failed in Provider initialization, after compiler on Windows changed
Summary: Build NSS 3.41 with VS2017 and also upgrade to this NSS for macosx
Reviewed-by: valeriep
2019-10-22 15:32:19 +03:00
weijun
adb67de9a5 8219013: Update Apache Santuario (XML Signature) to version 2.1.3
Reviewed-by: mullan
2019-10-22 15:32:18 +03:00
chegar
e33e591967 8225425: java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
Reviewed-by: dfuchs, alanb, erikj
2019-10-22 15:32:17 +03:00
stuefe
056a13f4c7 8221407: Windows 32bit build error in libsunmscapi/security.cpp
Reviewed-by: clanger
2019-10-22 15:32:16 +03:00
martin
f4d6129ef9 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2019-10-22 15:32:15 +03:00
redestad
ad1ac4b69d 8224589: Improve startup behavior of SecurityProperties
Reviewed-by: alanb
2019-10-22 15:32:14 +03:00
aph
cf2acaa79e 8215879: AArch64: ReservedStackAccess may leave stack guard in inconsistent state
Reviewed-by: aph, dholmes
Contributed-by: Andrey Petushkov <andrey.petushkov@gmail.com>
2019-10-22 15:32:13 +03:00
ngasson
53bb077b93 8229118: [TESTBUG] serviceability/sa/ClhsdbFindPC fails on AArch64
Reviewed-by: cjplummer, adinn
2019-10-22 15:32:12 +03:00
joehw
30cf1055aa 8225005: Xerces 2.12.0: License file
Reviewed-by: lancea
2019-10-22 15:32:11 +03:00
joehw
1716bbbb82 8222991: Xerces 2.12.0: Validation
Reviewed-by: lancea
2019-10-22 15:32:10 +03:00
joehw
e22321c354 8222743: Xerces 2.12.0: DOM Implementation
Reviewed-by: lancea
2019-10-22 15:32:08 +03:00
joehw
bf04f579b5 8222415: Xerces 2.12.0: Parsing Configuration
Reviewed-by: lancea
2019-10-22 15:32:07 +03:00
aph
c9d21e8c00 8219993: AArch64: Compiled CI stubs are unsafely modified
Reviewed-by: adinn
2019-10-22 15:32:06 +03:00
dpochepk
e999d72b3d 8216989: CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does not check for zero length on AARCH64
Reviewed-by: adinn
2019-10-22 15:32:05 +03:00
shade
13bdd5b210 8219583: Windows build failure after JDK-8214777 (Avoid some GCC 8.X strncpy() errors in HotSpot)
Reviewed-by: kbarrett, mikael
2019-10-22 15:32:04 +03:00
mikael
d322ba96a9 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-10-22 15:32:03 +03:00
dchuyko
2067e0d918 8215130: Fix errors in LittleCMS 2.9 reported by GCC 8
Reviewed-by: prr
2019-10-22 15:32:02 +03:00
dchuyko
aa430633de 8220072: GCC 8.3 reports errors in java.base
Reviewed-by: rriggs
2019-10-22 15:32:01 +03:00
michaelm
401d1f5a13 8222968: ByteArrayPublisher is not thread-safe resulting in broken re-use of HttpRequests
Reviewed-by: chegar, dfuchs
2019-10-22 15:32:00 +03:00
kvn
bf07186a0d 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
Contributed-by: xxinliu@amazon.com
2019-10-22 15:31:59 +03:00
vromero
8f19871b80 8225386: test for JDK-8216261 fails in Windows
Reviewed-by: jjg
2019-10-22 15:31:58 +03:00
vromero
620bae0e4f 8216261: Javap ignores default modifier on interfaces
Reviewed-by: jjg, darcy
2019-10-22 15:31:57 +03:00
weijun
f8634bfaff 8229767: Typo in java.security: Sasl.createClient and Sasl.createServer
Reviewed-by: xuelei
2019-10-22 15:31:56 +03:00
coffeys
fbfed49b77 8218553: Enhance keystore load debug output
Reviewed-by: weijun
2019-10-22 15:31:55 +03:00
weijun
accfbaa54d 8200400: Restrict Sasl mechanisms
Reviewed-by: mullan
2019-10-22 15:31:54 +03:00
aivanov
9cb1c44764 8222108: Reduce minRefreshTime for updating remote printer list on Windows
Reviewed-by: prr, serb
2019-10-22 15:31:53 +03:00
bpb
c57feb65aa 8218280: LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer.
Reviewed-by: dfuchs, prappo
2019-10-22 15:31:52 +03:00
erikj
915caf9bb9 8214003: Limit default test jobs based on memory size
Reviewed-by: shade, tbell
2019-10-22 15:31:51 +03:00
erikj
448eb2b216 8211727: Adjust default concurrency settings for running tests on Sparc
Reviewed-by: ctornqvi, tbell, mikael
2019-10-22 15:31:50 +03:00
mdoerr
6a37b6c4fa 8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
2019-10-22 15:31:49 +03:00
redestad
b420572a65 8224202: Speed up Properties.load
Reviewed-by: rriggs, igerasim
2019-10-22 15:31:48 +03:00
mbaesken
aaa476e877 8224221: add memprotect calls to event log
Reviewed-by: dholmes, mdoerr
2019-10-22 15:31:47 +03:00
dpochepk
d7f2d61ca6 8218966: AArch64: String.compareTo() can read memory after string
Reviewed-by: adinn, dsamersoff
2019-10-22 15:31:46 +03:00
mbaesken
d25223a4ab 8227630: adjust format specifiers in loadlib_aix.cpp
Reviewed-by: mdoerr, shade
2019-10-22 15:31:45 +03:00
mbaesken
a3607828c6 8227869: fix wrong format specifiers in os_aix.cpp
Reviewed-by: dholmes, mdoerr, clanger
2019-10-22 15:31:44 +03:00
mbaesken
6853349132 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-10-22 15:31:43 +03:00
rriggs
3251f9de07 8216528: test/jdk/java/rmi/transport/runtimeThreadInheritanceLeak/RuntimeThreadInheritanceLeak.java failing with Xcomp
Reviewed-by: dholmes, alanb
Contributed-by: fujie@loongson.cn
2019-10-22 15:31:42 +03:00
alanb
9af6f02eaa 8216046: test/jdk/java/beans/PropertyEditor/Test6397609.java failing
Reviewed-by: alanb, serb
Contributed-by: fujie@loongson.cn
2019-10-22 15:31:41 +03:00
ysuenaga
ad9cdada72 8223814: SA: jhsdb common help needs to be more detailed
Reviewed-by: dholmes, sspitsyn, ysuenaga
Contributed-by: Osamu Sakamoto <sakamoto.osamu@nttcom.co.jp>
2019-10-22 15:31:40 +03:00
ysuenaga
55b68527f6 8227594: sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"
Reviewed-by: cjplummer, sspitsyn
2019-10-22 15:31:39 +03:00
roland
fa6e287287 8210389: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Reviewed-by: kvn, thartmann
2019-10-22 15:31:38 +03:00
xuelei
7390f55e8d 8224991: Problemlist javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java
Reviewed-by: mullan
2019-10-22 15:31:37 +03:00
dsamersoff
804de29474 8229352: Use of an uninitialized register in 32-bit ARM template interpreter
Reviewed-by: dlong, shade
Contributed-by: christoph.goettschkes@microdoc.com
2019-10-22 15:31:36 +03:00
ngasson
4d519f00b7 8217368: AArch64: C2 recursive stack locking optimisation not triggered
Reviewed-by: aph, drwhite
2019-10-22 15:31:35 +03:00
adinn
f7787de2b7 8230099: Prepare for backport of JDK-8217368
Reviewed-by: aph
2019-10-22 15:31:34 +03:00
ngasson
d6797fbda1 8209413: AArch64: NPE in clhsdb jstack command
Reviewed-by: aph
2019-10-22 15:31:33 +03:00
lmesnik
95829e87af 8225388: Running jcmd Compiler.CodeHeap_Analytics all 0 cause crash.
Reviewed-by: thartmann, sspitsyn
2019-10-22 15:31:32 +03:00
thartmann
5fc50e39d4 8224658: Unsafe access C2 compile fails with assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr: adr_type = NULL
Summary: Handle unsafe off-heap access with constant zero address.
Reviewed-by: vlivanov, roland
2019-10-22 15:31:30 +03:00
vlivanov
c468e4af1e 8218879: Keep track of memory accesses originated from Unsafe
Reviewed-by: thartmann
2019-10-22 15:31:29 +03:00
dpochepk
a988e9925a 8215792: AArch64: String.indexOf generates incorrect result
Reviewed-by: dsamersoff
2019-10-22 15:31:28 +03:00
lancea
0cbe6db420 8225189: Multiple JNI calls within critical region in ZIP Library
Reviewed-by: alanb
2019-10-22 15:31:27 +03:00
roland
4a65991fa7 8214857: "bad trailing membar" assert failure at memnode.cpp:3220
Reviewed-by: adinn, thartmann
2019-10-22 15:31:26 +03:00
roland
cca5ae575b 8211233: MemBarNode::trailing_membar() and MemBarNode::leading_membar() need to handle dying subgraphs better
Reviewed-by: kvn, thartmann
2019-10-22 15:31:25 +03:00
roland
d8309d000a 8209420: Track membars for volatile accesses so they can be properly optimized
Reviewed-by: adinn, aph, thartmann
2019-10-22 15:31:24 +03:00
vlivanov
160532d96d 8202952: C2: Unexpected dead nodes after matching
Reviewed-by: kvn
2019-10-22 15:31:23 +03:00
pliden
3aeb487305 8229406: ZGC: Fix incorrect statistics
Reviewed-by: pliden, eosterlund
Contributed-by: albert.th@alibaba-inc.com
2019-10-22 15:31:22 +03:00
fmatte
6b099320c1 8225715: jhsdb jmap fails to write binary heap dump of a jshell process
Summary: Add a Null check for getSourceFileName() before writing into thread dump.
Reviewed-by: cjplummer, kevinw
2019-10-22 15:31:21 +03:00
mseledtsov
0e681106ea 8222299: [TESTBUG] move hotspot container tests to hotspot/containers
Summary: Moved the tests, updated relevant files
Reviewed-by: dholmes, iignatyev, shade
2019-10-22 15:31:20 +03:00
jiefu
4930da6257 8221894: Add comments for docker tests in the test doc
Reviewed-by: erikj, dholmes, shade
2019-10-22 15:31:19 +03:00
mseledtsov
f67a5f5122 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Summary: Start docker with limits on CPU/Mem, verify JFR reports correct data
Reviewed-by: egahlin
2019-10-22 15:31:18 +03:00
mseledtsov
82e143e7e8 8220672: [TESTBUG] TestCPUSets should check that cpuset does not exceed available cores
Summary: making sure cpuset size does not exceed available cores
Reviewed-by: dholmes, lmesnik, shade
2019-10-22 15:31:17 +03:00
stuefe
8348b03de8 8210314: [aix] NMT does not show "Safepoint" memory type
Reviewed-by: goetz, mbaesken
2019-10-22 15:31:16 +03:00
mdoerr
400fa9bab3 8228649: [PPC64] SA reads wrong slots from interpreter frames
Summary: Make frame layout consistent between dbg and product build and implement offsets accordingly.
Reviewed-by: goetz, gromero
2019-10-22 15:31:15 +03:00
mikael
9474090296 8218581: Incorrect exception message generation
Reviewed-by: hseigel
2019-10-22 15:31:14 +03:00
shade
19615f4ea9 8228725: AArch64: Purge method call format support
Reviewed-by: adinn
2019-10-22 15:31:13 +03:00
roland
3cd0bace3f 8210390: C2 still crashes with "assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node"
Reviewed-by: thartmann, kvn
2019-10-22 15:31:12 +03:00
bsrbnd
702928bcf9 8225644: C1 dumps incorrect class name in ClassCastException message
Reviewed-by: vlivanov, bsrbnd
Contributed-by: fujie@loongson.cn, bsrbnd@gmail.com
2019-10-22 15:31:11 +03:00
vlivanov
68d7cd558d 8226409: Enable argument profiling for sun.misc.Unsafe.put*/get*
Reviewed-by: kvn
2019-10-22 15:31:10 +03:00
zgu
cdb5dcc4a1 8219370: NMT: Move synchronization primitives from mtInternal to mtSynchronizer
Reviewed-by: dholmes, rehn
2019-10-22 15:31:09 +03:00
neliasso
7df67f16ad 8219517: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Reviewed-by: kvn, thartmann
2019-10-22 15:31:08 +03:00
roland
b79962665b 8211232: GraphKit::make_runtime_call() sometimes attaches wrong memory state to call
Reviewed-by: kvn
2019-10-22 15:31:07 +03:00
pbansal
588785579c 8226964: [Yaru] GTK L&F: There is no difference between menu selected and de-selected
Reviewed-by: prr, kcr
2019-10-22 15:31:06 +03:00
pli
0fef878809 8228601: AArch64: Fix interpreter code at JVMCI deoptimization entry
Reviewed-by: adinn, aph
2019-10-22 15:31:05 +03:00
lbourges
5d15bd1b7b 8228711: Path rendered incorrectly when it goes outside the clipping region
Summary: fixed closePath() to preserve last position and its outcode in Stroker and TransformingPathConsumer2D.PathClipFilter
Reviewed-by: prr, kcr
2019-10-22 15:31:04 +03:00
egahlin
d6044a4b5a 8220657: JFR.dump does not work when filename is set
Reviewed-by: ysuenaga
2019-10-22 15:31:03 +03:00
bchristi
fd845ace64 8216401: Allow "file:" URLs in Class-Path of local JARs
Reviewed-by: alanb, mchung
2019-10-22 15:31:02 +03:00
yzhang
6d89604806 8213134: AArch64: vector shift failed with MaxVectorSize=8
Summary: add vshiftcnt instructions for vector64 and add vsra/vsrl instructions to AArch64 backend. To detect shift failures, MaxVectorSize options are added to jtreg test cases.
Reviewed-by: aph, kvn
2019-10-22 15:31:01 +03:00
lancea
044c8a8728 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-10-22 15:31:00 +03:00
tnakamura
29a9362fa4 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Summary: Adjusting to detect translated Unknown messages
Reviewed-by: naoto
2019-10-22 15:30:59 +03:00
mbaesken
38bc2c8330 8227834: build.log output from failing commands : include the hs_error file path in case of crashes in build
Reviewed-by: tbell
2019-10-22 15:30:58 +03:00
mbaesken
f044b2b70d 8228501: java_props_macosx.c - provide missing CFRelease for CFLocaleCopyCurrent
Reviewed-by: naoto
2019-10-22 15:30:57 +03:00
mbaesken
9af1e0337d 8228578: fix CFData object leak in macosx KeystoreImpl.m
Reviewed-by: weijun
2019-10-22 15:30:56 +03:00
ihse
87ae5885f3 8217896: Make better use of LCPUs when building on AIX
Reviewed-by: ihse
Contributed-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
2019-10-22 15:30:55 +03:00
shade
c843752a5a 8228400: Remove built-in AArch64 simulator
Reviewed-by: adinn, aph, dsamersoff
2019-10-22 15:30:54 +03:00
mbaesken
bb53ba59c8 8228764: New library dependencies due to JDK-8222720
Reviewed-by: goetz, dholmes
2019-10-22 15:30:53 +03:00
goetz
6f91df9840 8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on.
Reviewed-by: mdoerr, ghaug
2019-10-22 15:30:52 +03:00
itakiguchi
b8f333506c 8227919: 8213232 causes crashes on solaris sparc64
Reviewed-by: prr, vkempik
2019-10-22 15:30:50 +03:00
jiangli
36179d8a53 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module.
Summary: Support system module archiving with unnamed initial module at dump time.
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
Contributed-by: alan.bateman@oracle.com, jiangli.zhou@oracle.com
2019-10-22 15:30:49 +03:00
mseledtsov
d0cdd91ba2 8224165: [TESTBUG] Docker tests produce excessive output
Summary: Trimmed child process output, saving child stdout to file
Reviewed-by: dholmes, lmesnik
2019-10-22 15:30:48 +03:00
mseledtsov
2bb1b883a6 8221710: [TESTBUG] more configurable parameters for docker testing
Summary: Introduced docker test config properties
Reviewed-by: lmesnik, iignatyev, egahlin
2019-10-22 15:30:47 +03:00
dpochepk
3f1bb4a09d 8205421: AARCH64: StubCodeMark should be placed after alignment
Reviewed-by: aph
2019-10-22 15:30:46 +03:00
mbaesken
af056d4aae 8228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
Reviewed-by: dholmes, sgehwolf
2019-10-22 15:30:45 +03:00
zgu
eb19d0523e 8208499: NMT: Missing memory tag for Safepoint polling page
Summary: Added missing memory tag and cleanup memory type enum
Reviewed-by: shade, coleenp
2019-10-22 15:30:44 +03:00
zgu
5cc414ed4b 8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread
Reviewed-by: coleenp, minqi
2019-10-22 15:30:43 +03:00
ccheung
89b2807fd2 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Summary: added the missing call MemTracker::record_virtual_memory_reserve_and_commit()
Reviewed-by: jiangli, zgu
2019-10-22 15:30:42 +03:00
serb
c86051a385 8217676: Upgrade libpng to 1.6.37
Reviewed-by: prr, jdv, kcr
2019-10-22 15:30:41 +03:00
bobv
22d62a8f3e 8221340: [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562
Reviewed-by: mseledtsov, rriggs
2019-10-22 15:30:40 +03:00
bobv
ae297236c0 8219562: Line of code in osContainer_linux.cpp L102 appears unreachable
Reviewed-by: rriggs, sgehwolf
2019-10-22 15:30:39 +03:00
mseledtsov
5ef9bd4d2f 8221527: [TESTBUG] DockerBasicTest.java contains hard-coded reference to JDK 10
Summary: Using Docker test library to get the image name
Reviewed-by: dholmes
2019-10-22 15:30:38 +03:00
bobv
42a943865a 8212528: Wrong cgroup subsystem being used for some CPU Container Metrics
Reviewed-by: rriggs, sgehwolf
2019-10-22 15:30:37 +03:00
ngasson
f3ae2cdf2d 8221529: [TESTBUG] Docker tests use old/deprecated image on AArch64
Reviewed-by: aph, sgehwolf, mseledtsov
2019-10-22 15:30:36 +03:00
mseledtsov
57beb60b99 8221342: [TESTBUG] Generate Dockerfile for docker testing
Summary: Dockerfile is generated; introduced properties to specify custom base image
Reviewed-by: sgehwolf, dholmes, jiefu
2019-10-22 15:30:35 +03:00
mseledtsov
c218b6570e 8220313: [TESTBUG] Update base image for Docker testing to OL 7.6
Summary: Updated the OL version in Dockerfile in FROM field
Reviewed-by: dcubed
2019-10-22 15:30:34 +03:00
bobv
331c1c9bc3 8220674: [TESTBUG] MetricsMemoryTester failcount test in docker container only works with debug JVMs
Reviewed-by: sspitsyn, sgehwolf
2019-10-22 15:30:32 +03:00
bobv
b94d6fd830 8217766: Container Support doesn't work for some Join Controllers combinations
Reviewed-by: rriggs, sgehwolf
2019-10-22 15:30:32 +03:00
sgehwolf
5256f9608c 8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp
Reviewed-by: bobv, adinn
2019-10-22 15:30:30 +03:00
psadhukhan
5ef5ea6d32 8225423: GTK L&F: JSplitPane: There is no divider shown
Reviewed-by: prr, serb
2019-10-22 15:30:30 +03:00
alitvinov
5ef7dd34fb 8227392: Colors with alpha are painted incorrectly on Linux, after JDK-8214579
8224825: java/awt/Color/AlphaColorTest.java fails in linux-x64 system
Reviewed-by: prr
2019-10-22 15:30:28 +03:00
hseigel
5414a76b04 8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
Summary: When calculating vtable size at class load time, do not look for miranda method if matching package private method is found in a super class.
Reviewed-by: acorn, lfoltan
2019-10-22 15:30:27 +03:00
vlivanov
5ab6a59bbe 8225141: Better handling of classes in error state in fast class initialization checks
Reviewed-by: dlong, dholmes
2019-10-22 15:30:26 +03:00
dcubed
6d3df592cc 8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
Reviewed-by: dholmes
2019-10-22 15:30:25 +03:00
iignatyev
9289279266 8208701: Fix for JDK-8208655 causes test failures in CI tier1
Reviewed-by: dholmes, dcubed
2019-10-22 15:30:24 +03:00
iignatyev
16f3d2606f 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2019-10-22 15:30:23 +03:00
stuefe
0529c55caf 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-10-22 15:30:22 +03:00
shade
d1bdf2f9fa 8221725: AArch64 build failures after JDK-8221408 (Windows 32bit build build errors/warnings in hotspot)
Reviewed-by: dholmes, stuefe
2019-10-22 15:30:21 +03:00
coleenp
9a46dce45a 8222914: Partial backport of JDK-8218266
8215505: Cleanup jvm.cpp obsolete code after JDK-8210094: Better loading of classloader classes
Summary: remove dead code, protection_domains can be unloaded in the dictionary pd_set.
Reviewed-by: lfoltan, dholmes, zgu, hseigel
2019-10-22 15:30:20 +03:00
dfuchs
2397ab4cb5 8216562: UnknownBodyLength sometimes fails due to "Connection reset by peer"
Summary: uses a longer linger time and avoids closing socket too early.
Reviewed-by: chegar
2019-10-22 15:30:19 +03:00
dfuchs
c9b8021426 8210130: java/net/httpclient/UnknownBodyLengthTest.java failed
Summary: The fix improves the test robustness by making it retry once in case of IO/Connect exception.
Reviewed-by: chegar
2019-10-22 15:30:18 +03:00
dtitov
cf6ef8bdea 8225543: Jcmd fails to attach to the Java process on Linux using the main class name if whitespace options were used to launch the process
Reviewed-by: sspitsyn, dholmes
2019-10-22 15:30:17 +03:00
dtitov
e486f9570f 8221730: jcmd process name matching broken
Reviewed-by: jcbeyler, dholmes, cjplummer
2019-10-22 15:30:16 +03:00
dtitov
c903b2724c 8205654: serviceability/dcmd/framework/HelpTest.java timed out
8218705: Test sun/tools/jcmd/TestJcmdDefaults.java fails on Linux
Reviewed-by: sspitsyn, dholmes
2019-10-22 15:30:15 +03:00
sviswanathan
ba8290a994 8217371: Incorrect LP64 guard in x86.ad after JDK-8210764 (Update avx512 implementation)
Reviewed-by: kvn, neliasso, thartmann
2019-10-22 15:30:14 +03:00
hseigel
d720cfc538 8228596: Class redefinition fails when condy instructions are removed
Summary: Make sure has_dynamic_constant flag value gets copied to merged constant pool, when it is set to TRUE
Reviewed-by: coleenp, dcubed, sspitsyn
2019-10-22 15:30:13 +03:00
zgu
cc6c60090f 8217785: Padding ParallelTaskTerminator::_offered_termination variable
Reviewed-by: shade, tschatzl
2019-10-22 15:30:12 +03:00
dholmes
eee56571a6 8222387: Out-of-bounds access to CPU _family_id_xxx array
Reviewed-by: dholmes, kvn
Contributed-by: Jinke Fan <fanjinke51@yeah.net>
2019-10-22 15:30:11 +03:00
thartmann
61d64cbb0e 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack
Summary: Skip unloaded methods in compile queue during marking.
Reviewed-by: kvn, neliasso, eosterlund, coleenp
2019-10-22 15:30:10 +03:00
thartmann
32c7ef90a2 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Summary: Use weak handles for compile tasks to allow unloading of referenced methods.
Reviewed-by: kvn, coleenp, eosterlund
2019-10-22 15:30:09 +03:00
roland
87c1f97e84 8215044: C2 crash in loopTransform.cpp with assert(cl->trip_count() > 0) failed: peeling a fully unrolled loop
Reviewed-by: thartmann, kvn
2019-10-22 15:30:08 +03:00
vdeshpande
dc836a721a 8224558: Fix replicateB encoding
Reviewed-by: thartmann, vlivanov
2019-10-22 15:30:07 +03:00
qpzhang
61def54dce 8163363: AArch64: Stack size in tools/launcher/Settings.java needs to be adjusted
Summary: Specify a proper min stack size input to -Xss for aarch64
Reviewed-by: aph
2019-10-22 15:30:06 +03:00
ecaspole
26c0ee5bf9 8216375: Revert JDK-8145579 after JDK-8076988 is resolved
Summary: Remove obsolete code
Reviewed-by: thartmann, dlong
2019-10-22 15:30:05 +03:00
ecaspole
144fd69fd5 8076988: reevaluate trivial method policy
Summary: Removed some checks to qualify as trivial
Reviewed-by: shade, thartmann, dlong
2019-10-22 15:30:04 +03:00
redestad
0e90612fee 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2019-10-22 15:30:03 +03:00
rrich
37c98a8794 8228618: s390: c1/c2 fail to add a metadata relocation in the static call stub.
Reviewed-by: mdoerr, goetz
2019-10-22 15:30:02 +03:00
joehw
d37a42fe3f 8213734: SAXParser.parse(File, ..) does not close resources when Exception occurs.
Reviewed-by: lancea
2019-10-22 15:30:01 +03:00
coffeys
6627e7f267 8213561: ZipFile/MultiThreadedReadTest.java timed out in tier1
Reviewed-by: lancea
2019-10-22 15:30:00 +03:00
kbarrett
fab1a8c008 8220690: ATTRIBUTE_ALIGNED requires GNU extensions enabled
Summary: Use __typeof__(x) instead of typeof(x).
Reviewed-by: shade, sgehwolf
2019-10-22 15:29:59 +03:00
valeriep
4b6b8f3efa 8226607: Inconsistent info between pcsclite.md and MUSCLE headers
Summary: Updated the info based on MUSCLE v1.8.24
Reviewed-by: ascarpino
2019-10-22 15:29:58 +03:00
valeriep
3b35eca6ea 8218780: Update MUSCLE PCSC-Lite header files
Summary: update the PCSC-lite header files to 1.8.24 release
Reviewed-by: coffeys
2019-10-22 15:29:57 +03:00
ogatak
79a610254a 8224090: [PPC64] Fix SLP patterns for filling an array with double float literals
Reviewed-by: mdoerr, simonis
2019-10-22 15:29:56 +03:00
stuefe
9483be55c1 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-10-22 15:29:55 +03:00
sgroeger
dc5732ca0d 8226468: [aix] loadquery failed error message displayed
Reviewed-by: stuefe, mbaesken
2019-10-22 15:29:54 +03:00
mbaesken
f008ed385d 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-10-22 15:29:53 +03:00
kevinw
76a09a2245 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
Contributed-by: fairoz.matte@oracle.com
2019-10-22 15:29:52 +03:00
hseigel
ee7090f358 8215901: [TESTBUG] TestCheckedEnsureLocalCapacity.java fails intermittently
Summary: Change pattern match to not require that the matching string start at the beginning of a line.
Reviewed-by: dcubed, dholmes
2019-10-22 15:29:51 +03:00
joehw
414e562625 8213325: (props) Properties.loadFromXML does not fully comply with the spec
Reviewed-by: alanb, rriggs, dfuchs, naoto
2019-10-22 15:29:50 +03:00
dzhou
935ded701c 8210408: Refactor java.util.ResourceBundle:i18n shell tests to plain java tests
Reviewed-by: naoto
2019-10-22 15:29:48 +03:00
dtitov
247e024e9e 8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
2019-10-22 15:29:47 +03:00
pliden
e8fb1cf517 8215451: JNI IsSameObject should not keep objects alive
Reviewed-by: eosterlund, kbarrett
2019-10-22 15:29:46 +03:00
tvaleev
e155d1bd19 8214687: Optimize Collections.nCopies().hashCode() and equals()
Reviewed-by: igerasim, smarks
2019-10-22 15:29:45 +03:00
jiefu
60bc52e5f7 8219919: RuntimeStub name lost with PrintFrameConverterAssembly
Reviewed-by: kvn
2019-10-22 15:29:44 +03:00
manc
a40119f169 8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase
Reviewed-by: dholmes, jcbeyler
2019-10-22 15:29:43 +03:00
manc
dfebf0c888 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking
Summary: Add memory fences on accesses to JvmtiEnvBase::_tag_map
Reviewed-by: dholmes, jcbeyler, sspitsyn
2019-10-22 15:29:42 +03:00
bpb
09958272c4 8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
Summary: Clear handler instance variable after use
Reviewed-by: rriggs, alanb
2019-10-22 15:29:41 +03:00
eosterlund
15a2fcbbd6 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-10-22 15:29:40 +03:00
eosterlund
009298a00c 8212992: Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
Reviewed-by: coleenp, pliden
2019-10-22 15:29:39 +03:00
eosterlund
c523bd2c1e 8210063: ZGC: Enable load barriers for IN_NATIVE runtime barriers
Reviewed-by: pliden
2019-10-22 15:29:38 +03:00
eosterlund
704fe4a54a 8227277: HeapInspection::find_instances_at_safepoint walks dead objects
Reviewed-by: dholmes, kbarrett, tschatzl, coleenp
2019-10-22 15:29:37 +03:00
redestad
30a6f1ea55 8220682: Heap dumping and inspection fails with JDK-8214712
Reviewed-by: jcbeyler, jiangli, sspitsyn
2019-10-22 15:29:36 +03:00
mgronlun
5282d16d8f 8227011: Starting a JFR recording in response to JVMTI VMInit and / or Java agent premain corrupts memory
Reviewed-by: egahlin, rwestberg
2019-10-22 15:29:35 +03:00
dcubed
f422bc23b8 8227117: normal interpreter table is not restored after single stepping with TLH
Reviewed-by: sspitsyn, eosterlund, dholmes, coleenp
2019-10-22 15:29:34 +03:00
coleenp
ef8a79ac90 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Summary: Add case for JVM_CONSTANT_Dynamic in error_message function.
Reviewed-by: dholmes, shade
2019-10-22 15:29:33 +03:00
igerasim
ce24c4113d 8226543: Reduce GC pressure during message digest calculations in password-based encryption
Reviewed-by: mullan
2019-10-22 15:29:32 +03:00
jlahoda
1093742197 8208269: Javadoc does not support module-info in a multi-release jar
Summary: Ensuring correct version is set when reading multi-release jars.
Reviewed-by: jjg
2019-10-22 15:29:31 +03:00
roland
610f4cc31d 8209684: Intrinsics that assume some input non null should use GraphKit::must_be_not_null()
Reviewed-by: kvn, thartmann
2019-10-22 15:29:30 +03:00
zgu
63786be0f5 8218566: NMT: missing memory tag for assert poison page
Reviewed-by: shade, stuefe
2019-10-22 15:29:29 +03:00
zgu
7fbee70cb3 8218558: NMT stack traces in output should show mt component for virtual memory allocations
Reviewed-by: shade, stuefe, coleenp
2019-10-22 15:29:28 +03:00
mbalao
c879c69097 8223482: Unsupported ciphersuites may be offered by a TLS client
Reviewed-by: xuelei, andrew
2019-10-22 15:29:27 +03:00
dl
8433f3ae3b 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-10-22 15:29:26 +03:00
weijun
13965adcdb 8225257: sun/security/tools/keytool/PSS.java timed out
Reviewed-by: valeriep
2019-10-22 15:29:25 +03:00
rpatil
1067570dcb 8224560: (tz) Upgrade time-zone data to tzdata2019a
8225580: tzdata2018i integration causes test failures on jdk-13
8215982: (tz) Upgrade time-zone data to tzdata2018i
Reviewed-by: andrew, naoto
2019-10-22 15:29:23 +03:00
weijun
988a8b7be8 8222987: sun/security/tools/keytool/PSS.java times out on Solaris-SPARC
Reviewed-by: mullan, xuelei
2019-10-22 15:29:22 +03:00
naoto
1ba820ba0b 8222980: Upgrade IANA Language Subtag Registry to Version 2019-04-03
Reviewed-by: bpb, lancea
2019-10-22 15:29:21 +03:00
coffeys
280171a494 8133489: Better messaging for PKIX path validation matching
Reviewed-by: xuelei
2019-10-22 15:29:20 +03:00
kbarrett
741651da8f 8217576: C1 atomic access handlers use incorrect decorators
Summary: Fix decorator defaulting.
Reviewed-by: tschatzl, eosterlund
2019-10-22 15:29:19 +03:00
rehn
f60c9e4cdb 8220173: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Reviewed-by: dcubed, redestad
2019-10-22 15:29:18 +03:00
rkennke
33dc204d65 8223244: Fix usage of ARRAYCOPY_DISJOINT decorator
Reviewed-by: eosterlund, shade
2019-10-22 15:29:17 +03:00
mdoerr
bef76997b4 8225347: [s390] Unexpected exit from stack overflow test
Reviewed-by: simonis
2019-10-22 15:29:16 +03:00
rrich
63d1ea28af 8223572: ~ThreadInVMForHandshake() should call handle_special_runtime_exit_condition()
Reviewed-by: dcubed, rehn, dholmes
2019-10-22 15:29:15 +03:00
naoto
0e1ef9a66c 8220037: Inconsistencies of generated timezone files between Windows and Linux
Reviewed-by: rriggs
2019-10-22 15:29:14 +03:00
naoto
0a47f7f8c9 8217366: ZoneStrings are not populated for all the Locales
Reviewed-by: rriggs
2019-10-22 15:29:13 +03:00
psadhukhan
2134b10a73 8214702: Wrong text position for whitespaced string in printing Swing text
Reviewed-by: prr, serb
2019-10-22 15:29:12 +03:00
alanb
4403bf259d 8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure
Reviewed-by: bpb
2019-10-22 15:29:11 +03:00
mbaesken
2c9caf2d02 8215961: jdk/jfr/event/os/TestCPUInformation.java fails on AArch64
Reviewed-by: aph, goetz, lucy
2019-10-22 15:29:10 +03:00
roland
f1d8285224 8215265: C2: range check elimination may allow illegal out of bound access
Reviewed-by: thartmann, kvn
2019-10-22 15:29:09 +03:00
joehw
e5af5b6eaa 8180901: Transformer.reset() resets the state only once
Reviewed-by: rriggs, lancea
2019-10-22 15:29:08 +03:00
neliasso
6f4b8cb6fc 8087128: C2: Disallow definition split on MachCopySpill nodes
Reviewed-by: kvn
2019-10-22 15:29:07 +03:00
eosterlund
a567834b7c 8216987: ciMethodData::load_data() unpacks MDOs with non-atomic copy
Reviewed-by: kvn, mdoerr, thartmann
2019-10-22 15:29:06 +03:00
eosterlund
1db115e22b 8216427: ciMethodData::load_extra_data() does not always unpack the last entry
Reviewed-by: thartmann, kvn
2019-10-22 15:29:05 +03:00
dholmes
7e95125554 8193234: When using -Xcheck:jni an internally allocated buffer can leak
Reviewed-by: shade, hseigel
2019-10-22 15:29:04 +03:00
roland
5cb28eb496 8224580: Matcher can cause oop field/array element to be reloaded
Reviewed-by: neliasso, rkennke, dlong
2019-10-22 15:29:03 +03:00
vlivanov
ae26bb6d35 8218163: C2: Continuous deoptimization w/ Reason_speculate_class_check and Action_none
Reviewed-by: kvn, neliasso
2019-10-22 15:29:02 +03:00
thartmann
eaf2f684fa 8218721: C1's CEE optimization produces safepoint poll with invalid debug information
Summary: Bail out of CEE if one of the gotos is a safepoint but the if is not.
Reviewed-by: vlivanov, mdoerr
2019-10-22 15:29:01 +03:00
prr
c4f2fed661 8222362: Upgrade to Freetype 2.10.0
Reviewed-by: serb, erikj
2019-10-22 15:29:00 +03:00
coffeys
e8adb9c41a 8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
Reviewed-by: redestad
2019-10-22 15:28:58 +03:00
xuelei
c3496b310d 8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
2019-10-22 15:28:57 +03:00
rriggs
8054d25ae2 8216205: Java API documentation formatting error in System.getEnv
Reviewed-by: lancea, bchristi, alanb
2019-10-22 15:28:56 +03:00
ysuenaga
81d25f0a39 8216155: C4819 warning at libfreetype sources on Windows
Reviewed-by: erikj
2019-10-22 15:28:55 +03:00
roland
513acbde0c 8215483: Off heap memory accesses should be vectorized
Reviewed-by: neliasso, kvn
2019-10-22 15:28:54 +03:00
dmarkov
b3ec39bad2 8214579: JFrame does not paint content in XVFB / X11vnc environment
Reviewed-by: prr
2019-10-22 15:28:53 +03:00
mgronlun
d6f55586bc 8214287: SpecJbb2005StressModule got uncaught exception
Reviewed-by: egahlin, jwilhelm
2019-10-22 15:28:52 +03:00
joehw
42e0c9ebdb 8213117: adoptNode corrupts attribute values
Reviewed-by: lancea
2019-10-22 15:28:51 +03:00
mdoerr
98c6b8535d 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-10-22 15:28:50 +03:00
weijun
755310cc00 8221801: Update src/java.base/share/legal/public_suffix.md
Reviewed-by: xuelei
2019-10-22 15:28:49 +03:00
psadhukhan
5dd3637138 8221411: NullPointerException in RasterPrinterJob without PrinterResolution
Reviewed-by: prr
2019-10-22 15:28:48 +03:00
jnimeh
d9f564a923 8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
Reviewed-by: apetcher
2019-10-22 15:28:47 +03:00
stuefe
4639002afb 8224487: outputStream should not be copyable
Reviewed-by: kbarrett, coleenp
2019-10-22 15:28:46 +03:00
stuefe
3616c92963 8221480: jcmd VM.metaspace shall print limits in basic mode
Reviewed-by: adinn, rehn
2019-10-22 15:28:45 +03:00
shade
7f6be173e2 8224033: os::snprintf should be used in virtualizationSupport.cpp
Reviewed-by: mbaesken, stuefe
2019-10-22 15:28:44 +03:00
mbaesken
b9a03ef415 8222720: Provide extended VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, rehn
2019-10-22 15:28:43 +03:00
mdoerr
01bb03d19e 8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function
Reviewed-by: mbaesken, gromero, kvn
2019-10-22 15:28:42 +03:00
gromero
b3827ad81d 8223660: jtreg: Decouple Unsafe from RTM tests
Reviewed-by: mdoerr, shade
2019-10-22 15:28:41 +03:00
rschmelter
3f1e8c0323 8220570: Additonal trace when native thread creation fails
Summary: Added additonal trace when native thread creation fails
Reviewed-by: dholmes, goetz
2019-10-22 15:28:40 +03:00
rschmelter
75fb57499b 8221325: Add information about swap space to print_memory_info() on MacOS
Reviewed-by: stuefe, dholmes
2019-10-22 15:28:39 +03:00
shade
7d34d4357c 8218715: [TESTBUG] TestUseOptoBiasInliningWithoutEliminateLocks needs to unlock WhiteBoxAPI
Reviewed-by: kvn
2019-10-22 15:28:38 +03:00
roland
e4830c9419 8217990: C2 UseOptoBiasInlining: load of markword optimized to 0 if running with -XX:-EliminateLocks
Reviewed-by: thartmann, mdoerr, rrich, kvn
2019-10-22 15:28:37 +03:00
roland
613f965a7e 8216549: Mismatched unsafe access to non escaping object fails
Reviewed-by: vlivanov, kvn, thartmann
2019-10-22 15:28:36 +03:00
fyang
0dd545eb3c 8217359: C2 compiler triggers SIGSEGV after transformation in ConvI2LNode::Ideal
Reviewed-by: thartmann
Contributed-by: jitao8@huawei.com
2019-10-22 15:28:35 +03:00
vlivanov
b910d7b91a 8217760: C2: Missing symbolic info on a call from intrinsics when invoked through MethodHandle
Reviewed-by: thartmann, roland
2019-10-22 15:28:34 +03:00
thartmann
b4ff0acae6 8218201: Failures when vmIntrinsics::_getClass is not inlined
Summary: Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.
Reviewed-by: kvn, dlong, redestad, neliasso
2019-10-22 15:28:33 +03:00
zgu
825f260551 8216199: Local variable arg defined but never used in BCEscapeAnalyzer::compute_escape_for_intrinsic()
Summary: Removed unused local variable
Reviewed-by: thartmann
2019-10-22 15:28:32 +03:00
dl
2b5ede6f72 8221120: CopyOnWriteArrayList.set should always have volatile write semantics
Reviewed-by: martin
2019-10-22 15:28:31 +03:00
qpzhang
0e1dd6f380 8221220: AArch64: Add StoreStore membar explicitly for Volatile Writes in TemplateTable
Reviewed-by: aph
2019-10-22 15:28:30 +03:00
fyang
291eb9ad31 8219635: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield
Reviewed-by: aph
Contributed-by: patrick@os.amperecomputing.com
2019-10-22 15:28:29 +03:00
fyang
90f8211782 8218185: aarch64: missing LoadStore barrier in TemplateTable::putfield_or_static
Reviewed-by: aph
Contributed-by: lunliu93@gmail.com
2019-10-22 15:28:28 +03:00
dkejriwal
aca40554cf 8206879: Currency decimal marker incorrect for Peru
Reviewed-by: naoto, rpatil
2019-10-22 15:28:27 +03:00
igerasim
7436de5bb4 6996807: FieldReflectorKey hash code computation can be improved
Reviewed-by: rriggs
2019-10-22 15:28:26 +03:00
gromero
12dad1cffd 8221434: Fix typo in lib-x11 autoconf error message about missing headers
Reviewed-by: dholmes
2019-10-22 15:28:24 +03:00
xliu
68fce40c80 8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently
Summary: Always purge_stale_tasks() in CompileQueue::get().
Reviewed-by: thartmann, kvn
2019-10-22 15:28:23 +03:00
stuefe
d8b782b849 8224034: [TESTBUG] runtime/ErrorHandlerTest/ErrorHandler fails intermittently for case 13 on Windows
Reviewed-by: dholmes
2019-10-22 15:28:22 +03:00
stuefe
05138d8729 8224181: On child process spawn, child may write to random file descriptor instead of the fail pipe
Reviewed-by: rriggs, martin
2019-10-22 15:28:21 +03:00
stuefe
2354716c3b 8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Reviewed-by: dcubed, dholmes
2019-10-22 15:28:20 +03:00
jiangli
57325940f4 8210926: vmTestbase/nsk/jvmti/scenarios/allocation/AP11/ap11t001/TestDescription.java failed with JVMTI_ERROR_INVALID_CLASS in CDS mode
Summary: Reset InstanceKlass _init_state to 'allocated' before writing out shared classes at dump time.
Reviewed-by: dholmes, coleenp
2019-10-22 15:28:19 +03:00
tschatzl
263859133f 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
Summary: For initial TLAB sizing, increase the number of expected refills to 2.
Reviewed-by: phh, sangheki
2019-10-22 15:28:18 +03:00
aivanov
6ae6ce8af8 8218682: [TEST_BUG] DashOffset fails in mach5
8198411: [TEST_BUG] Two java2d tests are unstable in mach5
Summary: Skip testing VolatileImage if IndexColorModel is detected
Reviewed-by: prr, serb
2019-10-22 15:28:17 +03:00
dlong
47e17c6594 8204521: compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java fails trying to delete temp file
Reviewed-by: kvn
2019-10-22 15:28:16 +03:00
kaddepalli
5b1816649e 8196681: Java Access Bridge logging and debug flags dynamically controlled
Reviewed-by: serb, sveerabhadra
2019-10-22 15:28:15 +03:00
goetz
55cbf58ef8 8215534: [testbug] some jfr test don't check @requires vm.hasJFR
Reviewed-by: sundar, egahlin
2019-10-22 15:28:14 +03:00
coffeys
2b23c2fe42 8148188: Enhance the security libraries to record events of interest
Reviewed-by: egahlin, mullan, weijun, xuelei
2019-10-22 15:28:13 +03:00
ysuenaga
3109246553 8225636: SA can't handle prelinked libraries
Reviewed-by: sspitsyn, cjplummer
2019-10-22 15:28:12 +03:00
naoto
1fbfb491e7 8214770: java/time/test/java/time/format/TestNonIsoFormatter.java failed in non-english locales.
Reviewed-by: lancea, bpb
2019-10-22 15:28:11 +03:00
mbaesken
9bcd90dec5 8220355: Improve assertion texts and exception messages in eventHandlerVMInit
Reviewed-by: alanb, sspitsyn, jcbeyler
2019-10-22 15:28:10 +03:00
mbaesken
d202fcd483 8223574: add more thread-related system settings info to hs_error file on AIX
Reviewed-by: goetz, mdoerr
2019-10-22 15:28:09 +03:00
mbaesken
9cd7b8b640 8222280: Provide virtualization related info in the hs_error file on AIX
Reviewed-by: clanger, mdoerr
2019-10-22 15:28:08 +03:00
azeller
28d28cd878 8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
Summary: Changed test to no longer use hardcoded ports.
Reviewed-by: chegar, clanger
2019-10-22 15:28:07 +03:00
thartmann
0897952f7e 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Summary: Guard against regions degraded to copies.
Reviewed-by: kvn
2019-10-22 15:28:06 +03:00
mbaesken
41bc7ba85e 8217093: Support extended-length paths in parse_manifest.c on windows
Reviewed-by: chegar, clanger
2019-10-22 15:28:05 +03:00
mdoerr
a80e272e8f 8211097: aix: fix build after JDK-8210919
Reviewed-by: shade, mbaesken, erikj
2019-10-22 15:28:04 +03:00
ihse
0b1204d9c2 8210919: Remove statically linked libjli on Windows
Reviewed-by: erikj
2019-10-22 15:28:03 +03:00
ihse
99387696c0 8210729: Clean up macosx static library handling
Reviewed-by: erikj
2019-10-22 15:28:02 +03:00
mgronlun
3a3185a1b2 8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr) because module java.base does not read module jdk.jfr
Reviewed-by: egahlin, dholmes
2019-10-22 15:28:01 +03:00
mgronlun
8d6d44828a 8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
Reviewed-by: egahlin, dholmes
2019-10-22 15:28:00 +03:00
egahlin
1961b56edf 8203629: Produce events in the JDK without a dependency on jdk.jfr
Reviewed-by: mgronlun
2019-10-22 15:27:59 +03:00
igerasim
b59a708021 8217344: Make comparison overflow-aware in ECDHKeyAgreement.engineGenerateSecret()
Reviewed-by: apetcher
2019-10-22 15:27:58 +03:00
xliu
32d251f334 8222670: pathological case of JIT recompilation and code cache bloat
Summary: Prevent downgraded compilation tasks from recompiling.
Reviewed-by: sgehwolf, thartmann
2019-10-22 15:27:57 +03:00
xuelei
627c030fb7 8221253: TLSv1.3 may generate TLSInnerPlainText longer than 2^14+1 bytes
Reviewed-by: jnimeh
2019-10-22 15:27:56 +03:00
thartmann
4490928c36 8177899: Tests fail due to code cache exhaustion on machines with many cores
Summary: Implemented upper limit on CICompilerCount based on code cache size.
Reviewed-by: kvn, mdoerr
2019-10-22 15:27:55 +03:00
mbaesken
62c61f32ac 8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, mdoerr
2019-10-22 15:27:54 +03:00
robm
c15b1b6e04 8139965: Hang seen when using com.sun.jndi.ldap.search.replyQueueSize
Reviewed-by: dfuchs
2019-10-22 15:27:53 +03:00
aoqi
19c785dbb0 8170639: [Linux] jsig is limited to a maximum of 64 signals
Reviewed-by: dholmes, iklam
2019-10-22 15:27:52 +03:00
ysuenaga
d6a16a0e8c 8224252: [TESTBUG] hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java is timing out again after fix for JDK-8163805
Reviewed-by: cjplummer, sspitsyn
2019-10-22 15:27:51 +03:00
clanger
d033293af8 8223553: Fix code constructs that do not compile with the Eclipse Java Compiler
Reviewed-by: smarks, dfuchs
2019-10-22 15:27:50 +03:00
stuefe
991ece2170 8213017: jspawnhelper: need to handle pipe write failure when sending return code
Reviewed-by: alanb
2019-10-22 15:27:49 +03:00
dl
e2723ec370 8224698: ConcurrentSkipListMap.java does not compile with the Eclipse Java Compiler
Reviewed-by: martin, clanger, smarks, dfuchs
2019-10-22 15:27:48 +03:00
goetz
9b54bcc2ee 8224838: Bump update version for OpenJDK: jdk-11.0.5
Reviewed-by: clanger
2019-10-22 15:27:47 +03:00
xuelei
4b662bb8a7 8210985: Update the default SSL session cache size to 20480
Summary: Change SSLSessionContext.getSessionCacheSize to return 20480 by default instead of 0.
Reviewed-by: jnimeh, mullan
2019-10-22 15:27:46 +03:00
bell-sw
1049473ac7 Merge conflict fix. Conflict against:
https://github.com/JetBrains/JetBrainsRuntime/commit/0456745
2019-10-22 15:27:31 +03:00
prr
421d82eed5 8225286: Better rendering of native glyphs
Reviewed-by: serb, psadhukhan, mschoene, rhalade

Conflicts:
	src/java.desktop/share/native/libfontmanager/freetypeScaler.c
2019-10-22 15:27:17 +03:00
prr
ddc2e8d032 8223886: Add in font table referene
Reviewed-by: serb, psadhukhan, mschoene, rhalade

Conflicts:
	src/java.desktop/share/native/libfontmanager/hb-jdk-font.cc
Cherrypick merge failed. The change applied manually:
	https://github.com/bell-sw/jdk11u-openjdk/commit/0634e836
2019-10-22 15:27:12 +03:00
bell-sw
be21eec3a1 Merge conflict fix. Conflict against:
https://github.com/JetBrains/JetBrainsRuntime/commit/690696bb
2019-10-22 15:27:08 +03:00
prr
e641d80e2b 8222690: Better Glyph Images
Reviewed-by: serb, psadhukhan, mschoene, rhalade

Conflicts:
	src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
2019-10-22 15:27:07 +03:00
bell-sw
568f998799 Merge conflict fix. Minor clash with the change:
https://github.com/JetBrains/JetBrainsRuntime/commit/1e1b932a
2019-10-22 15:27:06 +03:00
prr
455c4859e3 8220186: Improve use of font temporary files
Reviewed-by: serb, psadhukhan, mschoene, rhalade

Conflicts:
	src/java.desktop/share/classes/sun/font/FreetypeFontScaler.java
2019-10-22 15:27:05 +03:00
bell-sw
62c53cc9f9 Merge conflict fix. Minor clash with the change:
https://github.com/JetBrains/JetBrainsRuntime/commit/e3ba0bd6
2019-10-22 15:27:04 +03:00
serb
9e601f3e38 8215756: Memory leaks in the AWT on macOS
Reviewed-by: dmarkov

Conflicts:
	src/java.desktop/macosx/native/libawt_lwawt/awt/AWTView.m
2019-10-22 15:27:03 +03:00
valeriep
076fecb1a1 8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
Summary: Add internal Signature init methods to select provider based on both key and parameter
Reviewed-by: xuelei
2019-10-22 15:27:02 +03:00
valeriep
6585ca5491 8214096: sun.security.util.SignatureUtil passes null parameter, so JCE validation fails
Summary: Changed SignatureUtil.specialSetParameter to ignore null signature parameters
Reviewed-by: mullan, weijun
2019-10-22 15:27:01 +03:00
weijun
91685f5210 8215694: keytool cannot generate RSASSA-PSS certificates
Reviewed-by: xuelei
2019-10-22 15:27:00 +03:00
redestad
2ce8807d94 8215380: Backout accidental change to String::length
Reviewed-by: darcy, smarks
2019-10-22 15:26:59 +03:00
bell-sw
9bb3bcf08c Merge conflict fix.
Automatic merge failed due to cherrypicking commit from outdated mercurial branch without the change:
	https://github.com/bell-sw/jdk11u-openjdk/commit/aa8dc084
2019-10-22 15:26:57 +03:00
redestad
62932071ed 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb

Conflicts:
	src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java
	src/java.base/share/classes/sun/security/ssl/X509TrustManagerImpl.java
2019-10-22 15:26:55 +03:00
bell-sw
c49cf53f7d Merge conflict fix.
Automatic cherrypick merge failed due to commit on outdated mercurial branch without the change:
	https://github.com/bell-sw/jdk11u-openjdk/commit/d5bd6969
2019-10-22 15:26:53 +03:00
apetcher
724aac33fa 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
Summary: Truncate the digest according to the group order, not the field size
Reviewed-by: jnimeh

Conflicts:
	src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSASignature.java
2019-10-22 15:26:52 +03:00
Vitaly Provodin
5c05e55d9b JBR-1821 Notarize JBR bundles enabling JBRSDK notarization (jmods was excluded) 2019-10-21 20:03:26 +07:00
Vitaly Provodin
1d7ba016b0 JBR-1821: Notarize JBR bundles - preparing tarball 2019-10-19 08:23:26 +07:00
Alexey Ushakov
41f4fddd34 JBR-1925 JetBrainsMono fonts update to v0.20
Updated the fonts to v0.20
2019-10-18 20:22:13 +03:00
Vitaly Provodin
90a36251b6 JBR-1821: Notarize JBR bundles as a standalone app (follow up) 2019-10-18 20:23:59 +07:00
Kirill Kirichenko
5a29d4ade9 JBR-1874 Cursor not changing from 'default' to 'text'. Additional fix after reopening. 2019-10-18 10:43:30 +03:00
Alexey Ushakov
a0b235eb24 Revert "JBR-1756 use CoreText for all font rendering on Catalina"
This reverts commit acdc0ea3
2019-10-17 20:16:16 +03:00
Alexey Ushakov
20546081aa Revert "JBR-1863, JBR-1868 correct advances on Catalina"
This reverts commit d5868e8f
2019-10-17 20:16:16 +03:00
Elena Sayapina
b99c1e7b5c JBR-1417 Regression test update, fixed focus issue on a certain TC agents by adding frame.toFront() 2019-10-16 19:42:25 +07:00
Vitaly Provodin
aebc0cdb79 JBR-1821: Notarize JBR bundles as a standalone app 2019-10-16 17:05:06 +07:00
Elena Sayapina
d757108517 JBR-1417 Regression test update, additional focus check was added 2019-10-16 13:20:11 +07:00
Elena Sayapina
6ea9530d9f JBR-1417 Regression test update, fixed test compilation, added missed import 2019-10-16 12:22:27 +07:00
Elena Sayapina
9fe5c778d9 JBR-1417 Regression test update, made fail check more straightforward 2019-10-15 19:09:57 +07:00
Konstantin Bulenkov
529d5c8bcc Remove JetBrains Mono Italic until UX-973 is fixed 2019-10-12 14:57:33 +03:00
Vitaly Provodin
9331ecada6 updated JTreg exclude list 2019-10-11 18:17:55 +07:00
Vitaly Provodin
8781991e67 updated JTreg exclude list 2019-10-11 18:17:00 +07:00
Eugene Petrenko
7a24f5a493 project setup improvements
git ignore .idea and cmake build folders folder under /jb
make configure script unix executable to support ./configure runs
add section for building on macOS
2019-10-10 12:24:41 +02:00
Eugene Petrenko
82dcb03358 cds - add more logging to -Xshare:dump errors
log exception along with "Preload Warning: Verification failed" warning messages
advanced debug logging to diagnose listed class was not defined error from -Xshare:dump
more detailed error logging from the Xshare:dump phase
2019-10-10 12:24:41 +02:00
Eugene Petrenko
691e7d46ed Support AppCDS on Windows via a variation of the older JDK fix 8185145
8185145: AppCDS custom loader support on Mac OS X
2019-10-10 12:24:41 +02:00
Calvin Cheung
51ec616d23 8185145: AppCDS custom loader support on Mac OS X
Reviewed-by: dholmes, gziemski
2019-10-10 12:24:41 +02:00
Vitaly Provodin
b3a41ba6d9 updated JTreg exclude list 2019-10-10 09:09:50 +07:00
Vitaly Provodin
2fb4c904ab Revert "cds - log exception along with "Preload Warning: Verification failed" warning messages"
This reverts commit c3839647
2019-10-05 10:43:18 +07:00
Vitaly Provodin
ab1e8dc136 Revert "add section for building on macOS"
This reverts commit 6b7ccbdc
2019-10-05 10:43:09 +07:00
Vitaly Provodin
e480592b39 Revert "cds - advanced debug logging to diagnose listed class was not defined error from -Xshare:dump"
This reverts commit 48478ca6
2019-10-05 10:43:00 +07:00
Vitaly Provodin
99dae8d59e Revert "cds - more detailed error logging from the Xshare:dump phase"
This reverts commit b74750d8
2019-10-05 10:42:51 +07:00
Vitaly Provodin
2e672f6c2f updated JTreg exclude list 2019-10-05 06:35:26 +07:00
Vitaly Provodin
a31ba4ca30 Merge remote-tracking branch 'origin/master' 2019-10-05 06:35:19 +07:00
Alexey Ushakov
1e900726f9 JBR-1721 Cant open project on macOS 10.15
Removed workaround for early Catalina betas
2019-10-04 13:58:57 +03:00
Dmitry Batrak
6f60cad1a9 JBR-1879 Wrong symbols in evaluate expression dialog
add clarifying comment to code
2019-10-03 11:57:33 +03:00
Eugene Petrenko
b74750d845 cds - more detailed error logging from the Xshare:dump phase 2019-10-03 11:35:49 +07:00
Eugene Petrenko
48478ca6e2 cds - advanced debug logging to diagnose listed class was not defined error from -Xshare:dump 2019-10-03 11:35:48 +07:00
Eugene Petrenko
6b7ccbdccc add section for building on macOS 2019-10-03 11:35:48 +07:00
Eugene Petrenko
c3839647c6 cds - log exception along with "Preload Warning: Verification failed" warning messages 2019-10-03 11:35:47 +07:00
Alexey Ushakov
a7b4c9449a JBR-1885 JetBrainsMono fonts update to v0.19
Updated the fonts to v0.19. Bundled italic fonts
2019-10-01 22:52:11 +03:00
Vitaly Provodin
380c17456c moving test/jdk/jb/java/awt/font/TextLayout to test/jdk/jb/java/awt/Font/TextLayout 2019-10-01 10:06:39 +07:00
Dmitry Batrak
ba7496606d JBR-1879 Wrong symbols in evaluate expression dialog
a better check that font used by GDI matches the font used by JRE
2019-09-30 14:47:16 +03:00
Dmitry Batrak
1ee493a1f9 JBR-1879 Wrong symbols in evaluate expression dialog
rollback fix for JBR-1777
2019-09-30 14:46:51 +03:00
Dmitry Batrak
fc25d3598c test case for JBR-1875 2019-09-27 15:11:32 +03:00
Dmitry Batrak
598452f079 JBR-1875 Modal dialogs text partly lost
This reverts JBR-1838 (Backport fix for JDK-8226513 from OpenJDK)
2019-09-27 15:11:00 +03:00
Vitaly Provodin
c49e042535 updated JTreg exclude list 2019-09-27 08:34:44 +07:00
Alexey Ushakov
94a4eb7002 JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor
2019-09-26 12:58:52 +03:00
Alexey Ushakov
fa160d2d7d JBR-1872 Backport JDK-8217731 Font rendering and glyph spacing has changed from jdk-8 to jdk-11
The fix backported with some minor modifications
2019-09-25 17:42:50 +03:00
Vitaly Provodin
c0397fbade updated JTreg exclude list 2019-09-25 16:51:32 +07:00
Dennis Ushakov
d5868e8fe1 JBR-1863, JBR-1868 correct advances on Catalina 2019-09-24 19:56:24 +03:00
Dennis Ushakov
e40bb508e3 JBR-1850: on macOS fonts should be sorted by weight to ensure proper population of the families 2019-09-24 18:48:51 +03:00
Denis Konoplev
c92af06680 Fix package name 2019-09-24 18:01:45 +03:00
Vitaly Provodin
178708f1cb updated JTreg exclude list 2019-09-23 16:49:54 +07:00
Vitaly Provodin
2e2cae243c updated JTreg exclude list 2019-09-20 17:09:23 +07:00
Vitaly Provodin
7a2a7986be updated JTreg exclude list 2019-09-20 14:09:41 +07:00
Artem Bochkarev
5839539379 JBR-1851: check NSArray length
and make more exception-safe
and minor optimization for logging (cache jobjects)
2019-09-17 18:28:32 +03:00
Vitaly Provodin
1b04112158 updated JTreg exclude list 2019-09-17 10:35:38 +07:00
Denis Fokin
a5dcce7541 JBR-1844 Settings window header color is not changed when switching and applying a theme 2019-09-16 12:54:00 +03:00
Vitaly Provodin
976c97f409 updated JTreg exclude list 2019-09-16 15:50:50 +07:00
Vitaly Provodin
4ef573bfb7 updated JTreg exclude list 2019-09-14 06:19:23 +07:00
Artem Bochkarev
0efbe5d9b9 JBR-1762: fixed review comments 2019-09-13 18:54:55 +03:00
Artem Bochkarev
7a2ccfc521 JBR-1762: request focus of immediate parent when dispose popup
because requesting focus for frame-parent causes to close whole popup chain
2019-09-13 18:54:49 +03:00
Artem Bochkarev
969255904b JBR-1841: allow deferred disabling of InputMethods-support 2019-09-13 16:05:01 +03:00
Vitaly Provodin
27d2f21f65 updated JTreg exclude list 2019-09-12 14:41:54 +07:00
Alexey Ushakov
7f032e3fe7 JBR-1840 Update new fonts up to v0.18
Updated new fonts
2019-09-12 00:48:40 +03:00
Dmitry Batrak
6b50fc8871 IDEA-222435 Backport fix for JDK-8226513 from OpenJDK
apply fix from OpenJDK
2019-09-11 11:36:27 +03:00
Dmitry Batrak
81d989b511 IDEA-222435 Backport fix for JDK-8226513 from OpenJDK
revert fixes for JBR-934 and JBR-1604
2019-09-11 11:34:39 +03:00
Dennis Ushakov
acdc0ea38e JBR-1756 use CoreText for all font rendering on Catalina 2019-09-10 10:46:32 +03:00
Artem Bochkarev
4cd8e27964 JBR-1788: use old codepath of CFileDialog (with completionHandler) when running under mojave (or previous)
fixed JBR-1788: File Chooser on Mac is in the center of the screen
2019-09-09 19:51:01 +03:00
Artem Bochkarev
8445f53d85 JBR-1668: add hardcoded default values for preferences node NSServicesStatus 2019-09-09 19:09:49 +03:00
Anton Tarasov
eaa04303a7 JBR-1834 [linux] runtime hidpi switch is broken 2019-09-09 17:29:44 +03:00
Vitaly Provodin
29c8d3fecf updated JTreg exclude list 2019-09-06 14:48:30 +07:00
Elena Sayapina
41e89505be JBR-1417 Added new regression test (JBR 11 does not support chain of popups) 2019-09-05 17:56:56 +07:00
Artem Bochkarev
30d479fbd4 JBR-1515: obtain shortcut from OS to check inside AWTView.performKeyEquivalent 2019-09-05 13:06:30 +03:00
Anton Tarasov
4399dc382c JBR-1824 export NSWindow::setIgnoresMouseEvents to java internal API 2019-09-05 12:56:32 +03:00
Alexey Ushakov
e21bc70e8f JBR-1756 San Francisco rendering is broken on Catalina
Added performance test with random glyphs
2019-09-04 15:59:32 +03:00
Vitaly Provodin
08ea095216 updated JTreg exclude list 2019-09-04 16:34:27 +07:00
Dmitry Batrak
7884d54f48 JBR-1777 Wrong glyphs are rendered for Roboto font
refactoring following JR-CR-483
2019-09-04 09:43:35 +03:00
Konstantin Bulenkov
483234fe7d Revert "Update JetBrains Mono to 0.17"
This reverts commit 0fb5c9ed
2019-09-02 16:27:35 +02:00
Dmitry Batrak
6790353282 JBR-1805 Hard to read font rendering for Courier New
updating fix for JBR-1777
2019-09-02 12:15:55 +03:00
Konstantin Bulenkov
0fb5c9ed61 Update JetBrains Mono to 0.17 2019-08-30 15:52:11 +03:00
Vitaly Provodin
5a63351d2a updated JTreg exclude list 2019-08-30 16:44:58 +07:00
Anton Tarasov
eae772aca9 JBR-1802 com/sun/java/accessibility/util/8051626/Bug8051626.java: access denied ("java.lang.RuntimePermission" "getClassLoader") 2019-08-30 12:13:54 +03:00
Vitaly Provodin
b3c4cc9e52 updated JTreg exclude list 2019-08-30 10:10:28 +07:00
Sergey Malenkov
57e46e5dcd Rollback to d4b529ad49 2019-08-29 23:02:04 +03:00
Sergey Malenkov
ba69b0d47d Revert all attempts to fix JBR-1076 2019-08-29 20:59:47 +03:00
Dmitry Batrak
e1c6172e9a JBR-1777 Wrong glyphs are rendered for Roboto font 2019-08-28 17:06:25 +03:00
Anton Tarasov
322526458a JBR-1795 Project opened from Welcome screen goes to backgound after loading 2019-08-27 22:41:19 +03:00
Anton Tarasov
8ae0be8eb6 JBR-1609 Jupyter Notebook eventually causes IDEA to become unresponsive on Mac OSX 2019-08-26 17:24:33 +03:00
Anton Tarasov
4b09614a0e JBR-1786 Weird white border for IDE window 2019-08-26 16:52:15 +03:00
Alexey Ushakov
08ae9ff034 JBR-1778 Font in editor incorrect (always italics)
More unique patterns for 'Anka/Coder'
2019-08-26 16:40:47 +03:00
Alexey Ushakov
251068294e JBR-1778 Font in editor incorrect (always italics)
'Anka/Coder' font support
2019-08-26 15:56:25 +03:00
Denis Fokin
cce5c34181 Exports break windows build because lack of packages 2019-08-26 13:53:51 +03:00
Alexey Ushakov
ec241e4a0a JBR-1778 Font in editor incorrect (always italics)
Added some more patterns to bold and italic detection code
2019-08-23 15:12:07 +03:00
Denis Fokin
f42e6bb30b JBR-1784 File dialogs aren't themed on macOS 2019-08-23 14:39:57 +03:00
Denis Fokin
b3dacc9146 JBR-1779 Can't assign and use Force Touch in 2019.1 2019-08-23 12:55:18 +03:00
Denis Fokin
a2059db21b Export eawt packages 2019-08-23 12:55:18 +03:00
Alexey Ushakov
5119eeee12 JBR-1778 Font in editor incorrect (always italics)
Added -it pattern into italic detection code
2019-08-22 18:59:59 +03:00
Anton Tarasov
d9dfc3c6c5 JBR-1770 [windows] frame does not open as maximized 2019-08-21 14:42:38 +03:00
Artem Bochkarev
1acada7cac JBR-1771: fixed compilation errors (macosx-x86_64-normal-server-fastdebug) 2019-08-21 09:50:38 +03:00
Artem Bochkarev
ec9bd95bfe JBR-1721: don't use completion handler to obtain results from NSOpenPanel
it doesn't invoked in catalina, move handler's logic just after runModal
2019-08-20 17:19:21 +03:00
Dmitry Batrak
5d35e72065 JBR-1761 Printing a comment block in landscape mode results in oddly rotated italic letters 2019-08-20 11:49:58 +03:00
Artem Bochkarev
cf7d535b03 Merge branch 'system_hotkeys' 2019-08-19 18:41:57 +03:00
Egor Ushakov
c959b23697 JBR-1655 Disable "WARNING: An illegal reflective access operation has occurred" - use property jdk.module.illegalAccess.silent 2019-08-16 14:46:55 +03:00
Vitaly Provodin
bdd644eaac updated JTreg exclude list 2019-08-16 09:45:52 +07:00
Dennis Ushakov
d45a8d2113 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.
2019-08-15 15:22:19 +03:00
Artem Bochkarev
15f7368309 JBR-1668: add hardcoded descriptions of system actions
and minor fixes

fix memory management
2019-08-14 20:39:34 +03:00
Alexey Ushakov
aa13c8b4ea JBR-1690 Bundle new fonts
Test correction
2019-08-13 15:56:12 +03:00
Alexey Ushakov
83843f9124 JBR-1690 Bundle new fonts
Removed excessive fonts
2019-08-13 14:51:44 +03:00
Alexey Ushakov
ed806bf652 Revert "8194873: right ALT key hotkeys no longer work in Swing components Reviewed-by: serb, psadhukhan"
This reverts commit 05e1a1b2
2019-08-11 13:43:52 +03:00
Alexey Ushakov
56b69b2813 Reverted fix of JDK-8041928: MouseEvent.getModifiersEx gives wrong result because it breaks AltGr shortcuts 2019-08-11 13:43:52 +03:00
Denis Fokin
da03ef94f8 JBR-448 Keyboard shortcuts do not work the same way on different layouts (mac) 2019-08-09 13:49:44 +03:00
Alexey Ushakov
76abb69262 JBR-1690 Bundle new fonts
Update family name for JetBrainsMono-Thin
2019-08-08 17:37:38 +03:00
Alexey Ushakov
2a2e1cfb36 JBR-1690 Bundle new fonts
Updated bundled fonts
2019-08-07 12:35:59 +03:00
Anton Tarasov
12de3e287e JBR-1693 difficult to input Japanese text with "Fast" Key Repeat 2019-08-02 20:17:58 +03:00
Dmitry Batrak
9cc5cbc99b JBR-1714 Italic text is displayed using incorrect glyphs on Windows
improved fix - it keeps generating synthetic italic for system fonts which exist in plain variant only
2019-08-02 17:15:11 +03:00
Dmitry Batrak
46e4cdfcbd JBR-1714 Italic text is displayed using incorrect glyphs on Windows 2019-08-02 15:30:23 +03:00
Vitaly Provodin
897a8fc34e updated JTreg exclude list 2019-08-02 11:30:51 +07:00
Denis Fokin
52405e5dfa JBR-1712 java/awt/Frame/NormalToIconified/NormalToIconifiedTest.java: Frame is not in ICONIFIED state 2019-08-01 12:24:48 +03:00
Alexey Ushakov
bcae402dc8 JBR-1699 Use platform font rendering for bundled fonts on MacOS
Removed unnecessary method
2019-07-31 17:09:36 +02:00
Alexey Ushakov
c423003bd4 JBR-1699 Use platform font rendering for bundled fonts on MacOS
Use different family for specific font faces. Refactoring
2019-07-31 13:18:47 +02:00
Artem Bochkarev
9dbcf194c9 JBR-1668: minor fixes
fixed review comments
2019-07-31 13:54:03 +03:00
Vitaly Provodin
7b27b1b042 updated JTreg exclude list 2019-07-31 14:43:33 +07:00
Vitaly Provodin
7911ed796c updated JTreg exclude list 2019-07-30 17:59:52 +07:00
Alexey Ushakov
df8927dbb7 JBR-1702 Update to 11.0.4 openjdk sourcebase
Added info about docker image name
2019-07-30 11:33:59 +02:00
Alexey Ushakov
a86bde7a19 JBR-1702 Update to 11.0.4 openjdk sourcebase
Updated docker image build script
2019-07-30 11:26:10 +02:00
Anton Tarasov
2ea40c8d84 JBR-1429 [followup] Scale is huge due to GDK_SCALE 2019-07-29 21:46:16 +03:00
Alexey Ushakov
a159468873 Updated gradle script to run unit tests with updated JBR 2019-07-29 18:05:40 +02:00
Alexey Ushakov
8c86ad3e96 JBR-1699 Use platform font rendering for bundled fonts on MacOS
Used CFont instead of TrueTypeFont for bundled fonts on mac
2019-07-29 18:05:40 +02:00
Anton Tarasov
1c3477df2e JBR-1429 Scale is huge due to GDK_SCALE 2019-07-29 19:01:05 +03:00
Denis Fokin
25ca06766f JBR-1696 Focus lost after "Add File to Git" dialog is shown 2019-07-29 12:10:20 +03:00
Alexey Ushakov
42d83e8388 Merge pull request #8 from bell-sw/update_11.0.4
Update 11.0.4
2019-07-29 10:53:05 +02:00
Vitaly Provodin
e4a3889cf0 JBR-1618: fixed misprint, added saving screenshots in case of failure 2019-07-29 14:28:06 +07:00
Vitaly Provodin
2b0ad27393 updated JTreg exclude list 2019-07-29 14:14:53 +07:00
Alexey Ushakov
0d2326ff34 JBR-1690 Bundle new fonts 2019-07-28 23:47:07 +02:00
Alexey Ushakov
114b8af38f JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Corrected lookup for bold fonts
2019-07-28 23:47:07 +02:00
Alexey Ushakov
62f9d1f46a JBR-1645 javax/swing/JTextArea/TestTabSize.java: Tab width calculation wrong
Corrected idea font filter
2019-07-28 23:09:31 +02:00
Dmitry Batrak
0429e74e9d JBR-1689 Incorrect painting of long strings on linux
correct operator precedence
2019-07-26 14:36:46 +03:00
Dmitry Batrak
e12c1d6f0d JBR-1689 Incorrect painting of long strings on linux 2019-07-25 15:50:46 +03:00
andrew
984ee6de6d Added tag jdk-11.0.4-ga for changeset 6a4d57474e1c 2019-07-24 18:24:03 +03:00
jnimeh
baa0bcc47b 8222678: Improve TLS negotiation
Reviewed-by: mullan, rhalade, mschoene
2019-07-24 18:21:10 +03:00
igerasim
a974a4bbf8 8221518: Normalize normalization
Reviewed-by: chegar, igerasim, ahgross, rhalade
2019-07-24 18:21:09 +03:00
jnimeh
f4ad93af52 8221345: Better Poly1305 support
Reviewed-by: apetcher, mschoene, rhalade
2019-07-24 18:21:08 +03:00
serb
1d5b16fd63 8220517: Enhanced GIF support
Reviewed-by: aivanov, ssahoo, mschoene, prr
2019-07-24 18:21:07 +03:00
jnimeh
40cfdce94b 8219775: Certificate validation improvements
Reviewed-by: ascarpino, ssahoo, skoivu
2019-07-24 18:21:06 +03:00
serb
1cccea91e9 8218876: Improve PNG support options
Reviewed-by: prr, rhalade, mschoene
2019-07-24 18:21:05 +03:00
xuelei
21a7269ceb 8218873: Improve JSSE endpoint checking
Reviewed-by: mullan, ahgross, rhalade
2019-07-24 18:21:04 +03:00
coffeys
58b8ccc854 8218863: Better endpoint checks
Reviewed-by: xuelei, ahgross, jnimeh, mullan, rhalade
2019-07-24 18:21:03 +03:00
igerasim
64566ca44c 8217563: Improve realm maintenance
Reviewed-by: mullan, mschoene, valeriep
2019-07-24 18:21:02 +03:00
mullan
de2d07fe1f 8216381: More limited privilege usage
Reviewed-by: ahgross, coffeys, rhalade
2019-07-24 18:21:00 +03:00
smarks
c65f663dcb 8213432: Better copies of CopiesList
Reviewed-by: rriggs, skoivu, ahgross, robm, rhalade, jeff
2019-07-24 18:20:59 +03:00
igerasim
da3730d6ce 8213431: Improve file protocol handling
Reviewed-by: chegar, dfuchs, igerasim, rhalade, weijun
2019-07-24 18:20:58 +03:00
igerasim
262d1ddf1f 8212328: Exceptional throw cases
Reviewed-by: smarks, rriggs, igerasim, ahgross, skoivu
2019-07-24 18:20:57 +03:00
naoto
1de7835d1d 8226876: Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
Reviewed-by: clanger
2019-07-24 18:20:56 +03:00
clanger
677d4d3eb1 8226880: Backport of JDK-8208698 (Improved ECC Implementation) should not bring parts of JDK-8205476 (KeyAgreement#generateSecret is not reset for ECDH based algorithm)
Reviewed-by: andrew
2019-07-24 18:20:55 +03:00
mbaesken
a0d84192bb 8225402: events logging in deoptimization.cpp should go to deopt-log
Reviewed-by: mdoerr, stuefe, coleenp
2019-07-24 18:20:54 +03:00
mbaesken
8af0800269 8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
2019-07-24 18:20:53 +03:00
aph
869aabd8b2 8225716: G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: kbarrett, tschatzl
2019-07-24 18:20:52 +03:00
erikj
eaba1a6346 8222913: Add Jib support for VERSION_EXTRA*
Reviewed-by: tbell, mikael
2019-07-24 18:20:51 +03:00
fyang
7c16f77492 8224828: aarch64: rflags is not correct after safepoint poll
Reviewed-by: aph, adinn
Contributed-by: Xiang Yuan <yuanxiang4@huawei.com>
2019-07-24 18:20:50 +03:00
apetcher
5d9faf7c80 8208698: Improved ECC Implementation
Summary: New implementation of ECDH and ECDSA forsome prime-order curves
Reviewed-by: ascarpino
2019-07-24 18:20:49 +03:00
mgronlun
f2d4934d48 8220293: Deadlock in JFR string pool
Reviewed-by: rehn, egahlin
2019-07-24 18:20:48 +03:00
rraghavan
8b14351736 8202414: Unsafe write after primitive array creation may result in array length change
Summary: Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same
Reviewed-by: dlong, kvn, vlivanov
2019-07-24 18:20:47 +03:00
erikj
1c86964a86 8210837: Add libXrandr-devel to the Linux devkits
Reviewed-by: prr, mikael
2019-07-24 18:20:46 +03:00
jjiang
a959da2d69 8212562: To remove lib/security from test/jdk/TEST.groups
Summary: Remove lib/security from test group jdk_security3
Reviewed-by: coffeys
2019-07-24 18:20:45 +03:00
clanger
618061de22 8224727: Problem list test security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java
Reviewed-by: rhalade
2019-07-24 18:20:44 +03:00
rhalade
f904e0178e 8202651: Test ComodoCA.java fails
Reviewed-by: mullan
2019-07-24 18:20:43 +03:00
aph
e1cda1822f 8224880: AArch64: java/javac error with AllocatePrefetchDistance
Reviewed-by: adinn
2019-07-24 18:20:42 +03:00
aph
7c19f7a134 8224671: AArch64: mauve System.arraycopy test failure
Reviewed-by: adinn
2019-07-24 18:20:41 +03:00
ysuenaga
8ef4fe8295 8163805: hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java failed with timed out
Reviewed-by: cjplummer, jcbeyler
2019-07-24 18:20:40 +03:00
ysuenaga
2f2d0406ac 8223665: SA: debugd options should follow jhsdb style
Reviewed-by: dholmes, sspitsyn, ysuenaga, jcbeyler
Contributed-by: Osamu Sakamoto <sakamoto.osamu@nttcom.co.jp>
2019-07-24 18:20:39 +03:00
aivanov
558f0efc8c 8217707: JNICALL declaration breaks Splash screen functions
Reviewed-by: prr, stuefe
2019-07-24 18:20:38 +03:00
ljiang
19ae35dd6f 8218781: Localized names for Japanese era Reiwa in COMPAT provider
Reviewed-by: naoto
2019-07-24 18:20:37 +03:00
goetz
692d03cede 8221470: Print methods in exception messages in java-like Syntax.
Reviewed-by: dholmes, mdoerr, coleenp
2019-07-24 18:20:36 +03:00
itakiguchi
219844961a 8211841: [testbug] sun/nio/cs/OLD/TestIBMDB.java does not compile (aix)
Reviewed-by: alanb, goetz
2019-07-24 18:20:35 +03:00
itakiguchi
87023a078c 8213614: DnD operation change feature does not work with 64bit big endian CPU
Reviewed-by: serb
2019-07-24 18:20:34 +03:00
serb
49d3fc810e 8208996: X11 icon window color handing bug
Reviewed-by: serb
Contributed-by: takiguc@linux.vnet.ibm.com
2019-07-24 18:20:33 +03:00
mbaesken
915a162c8a 8221915: cleanup ticks related coding in os_perf_aix.cpp [aix]
Reviewed-by: mdoerr
2019-07-24 18:20:32 +03:00
mbalao
8954790601 8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
Summary: Do not close the session holding the Wrapper Key while in use. Delete the Wrapper Key when no longer needed.
Reviewed-by: valeriep
2019-07-24 18:20:31 +03:00
valeriep
bb857b8557 8216597: SIGBUS in Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo after JDK-6913047
Summary: changed variable declaration type to byte* from long* to fix SIGBUS error
Reviewed-by: ascarpino
2019-07-24 18:20:30 +03:00
mbalao
8edb0464c1 8217088: Disable JDK-6913047 fix (SunPKCS11 memory leak) after JDK-8216597 (SIGBUS error in getNativeKeyInfo)
Summary: Disable JDK-6913047 fix (SunPKCS11 memory leak) temporarily until JDK-8216597 (SIGBUS error in getNativeKeyInfo) is fixed.
Reviewed-by: mullan
2019-07-24 18:20:29 +03:00
mbalao
28a73b545d 6913047: Long term memory leak when using PKCS11 and JCE exceeds 32 bit process address space
Summary: Extract cryptographic keys within NSS PKCS11 software tokens for memory management purposes.
Reviewed-by: valeriep
2019-07-24 18:20:28 +03:00
ysuenaga
e812af9f42 8213015: Inconsistent settings between JFR.configure and -XX:FlightRecorderOptions
Reviewed-by: mgronlun, egahlin
2019-07-24 18:20:27 +03:00
egahlin
a9e8af6270 8213617: JFR should record the PID of the recorded process
Reviewed-by: mgronlun
2019-07-24 18:20:26 +03:00
mgronlun
2c3a64f901 8215284: Reduce noise induced by periodic task getFileSize()
Reviewed-by: redestad, egahlin
2019-07-24 18:20:24 +03:00
sgehwolf
ea3ed16d6d 8224474: harfbuzz 2.3.1 code fails to compile with gcc 4.4.7
Summary: Move GCC pragmas outside functions
Reviewed-by: clanger, aph
2019-07-24 18:20:23 +03:00
mbaesken
529d816862 8221535: add steal tick related information to hs_error file [linux]
Reviewed-by: dholmes, goetz
2019-07-24 18:20:22 +03:00
mbaesken
d79c9e4957 8220781: linux-s390 : os::get_summary_cpu_info gives bad output
Reviewed-by: dholmes, lucy
2019-07-24 18:20:21 +03:00
rhalade
7d45943917 8223499: Remove two DocuSign root certificates that are expiring
Reviewed-by: mullan
2019-07-24 18:20:20 +03:00
itakiguchi
3ba9e9e4d1 8211826: StringIndexOutOfBoundsException happens via GetStringUTFRegion()
Reviewed-by: serb
2019-07-24 18:20:19 +03:00
itakiguchi
7ef6ea624e 8212676: AWT SystemColor setting on CDE
Reviewed-by: serb
2019-07-24 18:20:18 +03:00
rhalade
f737bc3621 8222136: Remove two Comodo root CA certificates that are expiring
Reviewed-by: mullan
2019-07-24 18:20:17 +03:00
weijun
25a31564d8 8217690: Update public suffix version
Reviewed-by: mullan
2019-07-24 18:20:16 +03:00
aivanov
83c4ae980d 8221263: [TEST_BUG] RemotePrinterStatusRefresh test is hard to use
Reviewed-by: serb, prr
2019-07-24 18:20:15 +03:00
naoto
824c573811 8218960: CONFIG level logging statements printed in CLDRCalendarDataProviderImpl.java even when default log Level is INFO
Reviewed-by: nishjain, rriggs
2019-07-24 18:20:14 +03:00
nishjain
fe6d5b2a52 8214935: Upgrade IANA LSR data
Reviewed-by: rriggs, naoto
2019-07-24 18:20:13 +03:00
pbansal
6e4fabb087 8214765: All TrayIcon MessageType icons does not show up with gtk3 option set
Reviewed-by: serb, psadhukhan
2019-07-24 18:20:12 +03:00
pmuthuswamy
9301dc410d 8214468: jQuery UI upgrade from 1.11.4 to 1.12.1
Reviewed-by: hannesw
2019-07-24 18:20:11 +03:00
prr
b05477ba7c 8213213: Remove src/java.desktop/unix/classes/sun/awt/X11/keysym2ucs.h
Reviewed-by: serb
2019-07-24 18:20:10 +03:00
clanger
47af566600 8223597: jdk/nio/zipfs/ZipFSTester.java RuntimeException: CHECK_FAILED! (getAttribute.crc <entries20> failed 6af4413c vs 0 ...)
Reviewed-by: redestad, lancea
2019-07-24 18:20:09 +03:00
shade
47ccf390c3 8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
2019-07-24 18:20:08 +03:00
Alexey Ushakov
b4f5bf8bd3 JBR-1399 Improve font discovery and loading by introducing font cache
Added unit test
2019-07-24 17:20:07 +02:00
ysuenaga
d7551500de 8219414: SA: jhsdb jsnap throws UnmappedAddressException with core generated by gcore
Reviewed-by: cjplummer, jgeorge
2019-07-24 18:20:07 +03:00
sgehwolf
05b725a6da 8215342: [Zero] Build fails after JDK-8200613
Reviewed-by: shade, jgeorge
Contributed-by: Christophe Phillips <chphilli@redhat.com>
2019-07-24 18:20:06 +03:00
jgeorge
7deb1789d3 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
Summary: Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.
Reviewed-by: iklam, cjplummer, kevinw, coleenp
2019-07-24 18:20:05 +03:00
jgeorge
ffc8f45780 8215026: Incorrect amount of memory unmapped with ImageFileReader::close()
Summary: Use map_size() instead of _index_size as the amount of memory to be unmapped while closing an image file
Reviewed-by: alanb, jlaskey
2019-07-24 18:20:04 +03:00
shade
9bc95fb2f0 8215374: 32-bit build failures after JDK-8181143 (Introduce diagnostic flag to abort VM on too long VM operations)
Reviewed-by: roland
2019-07-24 18:20:03 +03:00
shade
6547132b8a 8181143: Introduce diagnostic flag to abort VM on too long VM operations
Reviewed-by: rkennke, zgu, dholmes, stuefe, rehn
2019-07-24 18:20:02 +03:00
gromero
46c6cf5f35 8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code
Reviewed-by: mbaesken, shade, mdoerr
2019-07-24 18:20:01 +03:00
rriggs
d889bab9fb 8220166: Performance regression in deserialization (4-6% in SPECjbb)
Reviewed-by: shade, dholmes, alanb
2019-07-24 18:20:00 +03:00
itakiguchi
61d8496cfd 8212677: X11 default visual support for IM status window on VNC
Reviewed-by: serb, naoto
2019-07-24 18:19:59 +03:00
dcherepanov
b20bd86a21 8221244: Unexpected behavior of PropertyDescription.getReadMethod for boolean properties
Reviewed-by: serb
2019-07-24 18:19:58 +03:00
prr
6479da50e2 8210886: Remove references in xwindows.md to non-existent files.
Reviewed-by: serb, dmarkov
2019-07-24 18:19:57 +03:00
serb
b66591c77e 8220495: Update GIFlib library to the 5.1.8
Reviewed-by: prr
2019-07-24 18:19:56 +03:00
aivanov
724e964295 8221412: lookupPrintServices() does not always update the list of Windows remote printers
Reviewed-by: prr, serb
2019-07-24 18:19:55 +03:00
sveerabhadra
39039c2416 8212202: [Windows] Exception if no printers are installed.
Reviewed-by: prr
2019-07-24 18:19:54 +03:00
prr
a1f9c32ddf 8210782: Upgrade HarfBuzz to the latest 2.3.1
Reviewed-by: serb, ihse, erikj
2019-07-24 18:19:53 +03:00
clanger
ca0d576263 8223555: Cleanups in cacerts tests
Reviewed-by: xuelei
2019-07-24 18:19:52 +03:00
redestad
3d7557d7e2 8222532: (zipfs) Performance regression when writing ZipFileSystem entries in parallel
Reviewed-by: lancea, clanger, alanb
2019-07-24 18:19:51 +03:00
kaddepalli
3e0db035b2 8218674: HTML Tooltip with "img=src" on component doesn't show
Summary: Make sure image is scaled appropriately if synchronous loading flag is set.
Reviewed-by: serb, psadhukhan
2019-07-24 18:19:50 +03:00
jlahoda
9243823fbd 8218152: [javac] fails and exits with no error if a bad annotation processor provided
Summary: Handle exceptions thrown while loading annotation processors.
Reviewed-by: jlahoda
Contributed-by: groeges@uk.ibm.com
2019-07-24 18:19:49 +03:00
ysuenaga
6dbdd87a32 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
Reviewed-by: egahlin, mgronlun
2019-07-24 18:19:47 +03:00
rhalade
b0a1a1a634 8222137: Remove T-Systems root CA certificate
Reviewed-by: mullan
2019-07-24 18:19:46 +03:00
bae
2a1e510c1f 8139178: Wrong fontMetrics when printing in Landscape (OpenJDK)
Reviewed-by: prr
2019-07-24 18:19:45 +03:00
dl
3f7c8dd3e7 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Reviewed-by: martin, smarks
Contributed-by: Adam Farley8 <adam.farley@uk.ibm.com>, Martin Buchholz <martinrb@google.com>
2019-07-24 18:19:44 +03:00
neliasso
c1d1494573 8219448: split-if update_uses accesses stale idom data
Reviewed-by: thartmann, kvn
2019-07-24 18:19:43 +03:00
vlivanov
e871dc0abf 8215757: C2: PhaseIdealLoop::create_new_if_for_predicate() computes wrong IDOM
Reviewed-by: kvn, roland
2019-07-24 18:19:42 +03:00
prr
9ae04eada2 8210880: Remove HPKeysym.h from JDK sources
Reviewed-by: serb, dmarkov
2019-07-24 18:19:41 +03:00
lmesnik
1e11f3a6d8 8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
Reviewed-by: coleenp, sspitsyn
2019-07-24 18:19:40 +03:00
jgeorge
e0ad91db68 8204308: SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode
Summary: Use longs instead of ints while computing the identity hash of klass symbols
Reviewed-by: coleenp, lfoltan, jiangli, shade
2019-07-24 18:19:39 +03:00
sgehwolf
4a032cf6c5 8221639: [i386] expand_exec_shield_cs_limit workaround is undefined code after JDK-8199717
Summary: Only perform this optimization for x86_64
Reviewed-by: dholmes, andrew
2019-07-24 18:19:38 +03:00
rhalade
246655a960 8216577: Add GlobalSign's R6 Root certificate
Reviewed-by: mullan, robm
2019-07-24 18:19:37 +03:00
gromero
2020112807 8223395: PPC64: Improve comments in the JVM signal handler to match ISA text
Reviewed-by: mdoerr
2019-07-24 18:19:36 +03:00
gromero
5c53f38ec6 8221175: Fix bad function case for controlled JVM crash on PPC64 big-endian
Reviewed-by: chrisphi, stuefe, goetz
2019-07-24 18:19:35 +03:00
mdoerr
e5e0f0ae3b 8216556: Unnecessary liveness computation with JVMTI
Reviewed-by: redestad, dlong, kvn
2019-07-24 18:19:34 +03:00
gromero
58162a4803 8223266: PPC64: Check for branch to illegal address before checking for mem serialization
Reviewed-by: goetz, mdoerr
2019-07-24 18:19:33 +03:00
lfoltan
6333b9f008 8205611: Improve the wording of LinkageErrors to include module and class loader information
Summary: Clean up the wording of loader constraint violations to include the module and class loader information.
Reviewed-by: coleenp, goetz, hseigel
2019-07-24 18:19:32 +03:00
itakiguchi
1c67381903 8212678: Windows IME related patch
Reviewed-by: serb, naoto
2019-07-24 18:19:31 +03:00
sgroeger
bf3d9b9891 8222027: java/util/logging/LogManager/TestLoggerNames.java generates intermittent ClassCastException
Summary: Make a strong reference to TestLogger and dont fetch it from LogManager
Reviewed-by: dfuchs
2019-07-24 18:19:30 +03:00
itakiguchi
5042274cad 8220281: IBM-858 alias name is missing on IBM00858 charset
Summary: Add aliases into IBM charsets
Reviewed-by: naoto
2019-07-24 18:19:29 +03:00
mullan
ae613356ea 8218618: Program fails when using JDK addressed by UNC path and using Security Manager
Reviewed-by: weijun
2019-07-24 18:19:28 +03:00
smarks
5fbb52191d 8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
Reviewed-by: redestad, lancea
2019-07-24 18:19:27 +03:00
lzhai
7d8c539268 8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
Summary: Cache default method handles.
Reviewed-by: mchung, plevart
2019-07-24 18:19:26 +03:00
prr
6a25123067 8221304: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java
Reviewed-by: serb
2019-07-24 18:19:25 +03:00
mbalao
2f022325b0 8218854: FontMetrics.getMaxAdvance may be less than the maximum FontMetrics.charWidth
Summary: Consider algorithmic bold in FontMetrics.getMaxAdvance value and update obliqueness.
Reviewed-by: prr, serb
2019-07-24 18:19:24 +03:00
clanger
134e8c4798 8222522: Add configure options for Mac Bundle creation
Reviewed-by: erikj
2019-07-24 18:19:23 +03:00
clanger
e3771f75b0 8221880: Better customization for Windows RC properties FileDescription and ProductName
Reviewed-by: erikj
2019-07-24 18:19:22 +03:00
mullan
523988e12d 8222133: Add temporary exceptions for root certs that are due to expire soon
Reviewed-by: xuelei
2019-07-24 18:19:21 +03:00
mullan
03bf56e8ff 8222089: [TESTBUG] sun/security/lib/cacerts/VerifyCACerts.java fails due to cert within 90-day expiry window
Reviewed-by: xuelei
2019-07-24 18:19:20 +03:00
igerasim
c562fdce46 8170494: JNI exception pending in PlainDatagramSocketImpl.c
Reviewed-by: clanger, vtewari
2019-07-24 18:19:19 +03:00
shade
cea2506581 8217879: hs_err should print more instructions in hex dump
Reviewed-by: stuefe, coleenp, dholmes, lucy, stefank
2019-07-24 18:19:18 +03:00
shade
fc656b75b4 8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
Reviewed-by: alanb
2019-07-24 18:19:17 +03:00
shade
ba24a55e7a 8222397: x86_32 tests with UseSHA1Intrinsics SEGV due to garbled registers
Reviewed-by: kvn, dsamersoff
2019-07-24 18:19:16 +03:00
hannesw
562b7623e5 8209914: javadoc search sometimes generates bad URIs
Reviewed-by: jjg
2019-07-24 18:19:15 +03:00
prr
bee63f6b8f 8218020: Fix version number in mesa.md 3rd party legal file
Reviewed-by: serb, psadhukhan
2019-07-24 18:19:14 +03:00
vlivanov
4331f72e0a 8188133: C2: Static field accesses in clinit can trigger deoptimizations
Reviewed-by: kvn
2019-07-24 18:19:13 +03:00
clanger
b680502d78 8215472: (zipfs) Cleanups in implementation classes of jdk.zipfs and tests
Reviewed-by: redestad, lancea
2019-07-24 18:19:12 +03:00
amlu
29c3b8035a 8211266: [TESTBUG] ZipFSTester.java failed intermittently in ZipFSTester.checkRead(): bound must be positive
Reviewed-by: lancea
2019-07-24 18:19:11 +03:00
sherman
487a0cb89f 8210899: (zipfs) ZipFileSystem.EntryOutputStreamCRC32 mistakenly set the crc32 value into size field
Reviewed-by: bpb
2019-07-24 18:19:10 +03:00
bulasevich
1fcdac97ed 8217647: JFR: recordings on 32-bit systems unreadable
Reviewed-by: egahlin
Contributed-by: boris.ulasevich@bell-sw.com, markus.gronlund@oracle.com
2019-07-24 18:19:09 +03:00
lfoltan
d8796fc895 8216970: condy causes JVM crash
Summary: Fix issue with ConstantPool::constant_tag_at to correctly handle a condy whose return type is an array.
Reviewed-by: acorn, hseigel, jrose
2019-07-24 18:19:08 +03:00
shade
6606ee93d5 8222032: x86_32 fails with "wrong size of mach node" on AVX-512 machine
Reviewed-by: kvn, vlivanov
2019-07-24 18:19:07 +03:00
shade
0081bdd6bc 8221917: serviceability/sa/TestPrintMdo.java fails on 32-bit platforms
Reviewed-by: cjplummer, dholmes
2019-07-24 18:19:06 +03:00
pbansal
ed99711837 8220349: The fix done for JDK-8214253 have caused issues in JTree behaviour
Reviewed-by: serb, prr
2019-07-24 18:19:05 +03:00
mdoerr
580ea2b861 8221833: Readability check in Symbol::is_valid not performed for some addresses
Reviewed-by: zgu, coleenp
2019-07-24 18:19:04 +03:00
mdoerr
f8bf5b94da 8220441: [PPC64] Clobber memory effect missing for memory barriers in atomics
Reviewed-by: simonis, goetz
2019-07-24 18:19:03 +03:00
mdoerr
e5f579f928 8218991: s390: Add intrinsic for GHASH algorithm
Reviewed-by: lucy, simonis
2019-07-24 18:19:02 +03:00
mdoerr
50cdd824b8 8220625: tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"
Reviewed-by: clanger
2019-07-24 18:19:01 +03:00
clanger
2dcc5f045b 8221610: Resurrect (legacy) JRE bundle target
Reviewed-by: erikj, azeller
2019-07-24 18:19:00 +03:00
erikj
90de3b119f 8210519: build/releaseFile/CheckSource.java failed additional sources found
Reviewed-by: mikael, dholmes, ihse
2019-07-24 18:18:59 +03:00
goetz
9ae5bc1fce 8219918: ProblemList hotspot tests failing in SAP testing.
Reviewed-by: dholmes
2019-07-24 18:18:58 +03:00
clanger
d32a958776 8217311: Improve Exception thrown when MulticastSocket.setInterface fails on AIX(Unix)
Reviewed-by: sgroeger, alanb, mbaesken, chegar
2019-07-24 18:18:57 +03:00
shade
f2126682e8 8221870: use driver to run CtwRunner in applications/ctw tests
Reviewed-by: shade, epavlova
2019-07-24 18:18:56 +03:00
clanger
a56c9bd36d 8219915: [TESTBUG] Fix test langtools/tools/javac/processing/model/completionfailure/SymbolsDontCumulate.java in Standalone mode
Reviewed-by: jlahoda
2019-07-24 18:18:55 +03:00
alanb
47f63ddec9 8207340: (fs) UnixNativeDispatcher close and readdir usages should be fixed
Summary: Replace readdir_r with readdir, use RESTARTABLE for close only on aix.
Reviewed-by: bpb
2019-07-24 18:18:54 +03:00
bpb
d4f23f6cab 8202794: Native Unix code should use readdir rather than readdir_r
8207748: Fix for 8202794 breaks tier1 builds
Summary: Replace uses of readdir_r with readdir.
Reviewed-by: alanb, bsrbnd, kbarrett, darcy
2019-07-24 18:18:53 +03:00
ngasson
043686d649 8220707: [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
Reviewed-by: clanger, sballal, jcbeyler
2019-07-24 18:18:52 +03:00
ghaug
29985b6c0d 8221479: Fix JFR profiling on s390
Reviewed-by: mdoerr, clanger
2019-07-24 18:18:51 +03:00
kbarrett
9c77effb3b 8202353: os::readdir should use readdir instead of readdir_r
Summary: Summary: os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.
Reviewed-by: coleenp, tschatzl, bsrbnd
2019-07-24 18:18:50 +03:00
simonis
734bb46798 8221483: TestOopCmp.java fails due to "Multiple garbage collectors selected"
Reviewed-by: kvn, mdoerr
2019-07-24 18:18:48 +03:00
simonis
36bf031da8 8221083: [ppc64] Wrong oop compare in C1-generated code
Reviewed-by: mdoerr, goetz
2019-07-24 18:18:47 +03:00
gromero
af31a2f634 8220794: PPC64: Fix signal handler for SIGSEGV on branch to illegal address
Reviewed-by: stuefe, goetz
2019-07-24 18:18:46 +03:00
shade
d4d2409947 8221400: java/lang/String/StringRepeat.java test requests too much heap
Reviewed-by: stuefe, alanb
2019-07-24 18:18:45 +03:00
shade
1bf1546703 8221401: java/math/BigInteger/LargeValueExceptions.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, bpb
2019-07-24 18:18:44 +03:00
shade
8c7c75195f 8220198: Lots of com/sun/crypto/provider/Cipher tests fail on x86_32 due to missing SHA512 stubs
Reviewed-by: kvn, thartmann
2019-07-24 18:18:43 +03:00
rkennke
4b5e87f162 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe
Reviewed-by: vlivanov, roland
2019-07-24 18:18:42 +03:00
mbaesken
a30a8852f4 8215296: do not disable c99 on Solaris
Reviewed-by: dholmes, ihse, goetz, clanger
2019-07-24 18:18:41 +03:00
roland
7a42b99514 8220374: C2: LoopStripMining doesn't strip as expected
Reviewed-by: rkennke, thartmann, mdoerr
2019-07-24 18:18:40 +03:00
aph
735bb0b81c 8219006: AArch64: Register corruption in slow subtype check
Reviewed-by: adinn
2019-07-24 18:18:39 +03:00
clanger
10f57c2915 8200286: (testbug) MOptionTest test fails with java.lang.AssertionError: Classfiles too old!
Reviewed-by: stuefe, jjg
2019-07-24 18:18:38 +03:00
adinn
328b2c647c 8209414: AArch64: method handle invocation does not respect JVMTI interp_only mode
Reviewed-by: adinn
Contributed-by: nick.gasson@arm.com
2019-07-24 18:18:37 +03:00
mbalao
0748a9b63f 8219011: Implement MacroAssembler::warn method on AArch64
Reviewed-by: adinn
2019-07-24 18:18:36 +03:00
dbuck
8a789d61a9 8217564: idempotent protection missing in crc32c.h
Summary: added include guard to crc32c.h
Reviewed-by: dcubed
2019-07-24 18:18:35 +03:00
mbaesken
94bfa56922 8215707: [macosx] fix pthread_getschedparam and pthread_setschedparam calls
Reviewed-by: clanger, dholmes
2019-07-24 18:18:34 +03:00
roland
eabc7977a7 8219335: "failed: unexpected type" assert failure in ConnectionGraph::split_unique_types() with unsafe accesses
Reviewed-by: thartmann, kvn
2019-07-24 18:18:33 +03:00
mbaesken
0aa1c20cf1 8219746: Provide virtualization related info in the hs_error file on linux ppc64 / ppc64le
Reviewed-by: dholmes, lucy, mdoerr
2019-07-24 18:18:32 +03:00
stuefe
cac4760d87 8212828: (process) Provide a way for Runtime.exec to use posix_spawn on linux
Reviewed-by: alanb, rriggs
Contributed-by: david.lloyd@redhat.com
2019-07-24 18:18:31 +03:00
iklam
a82a3ffbf1 8212205: VM asserts after CDS archive has been unmapped
Reviewed-by: dholmes, jiangli, hseigel, stuefe
2019-07-24 18:18:30 +03:00
aivanov
f68b3043dc 8217263: Automate DashOffset test
Reviewed-by: prr, serb
2019-07-24 18:18:29 +03:00
coleenp
0134ec0a23 8210457: JVM crash in ResolvedMethodTable::add_method(Handle)
Summary: Add a function to call NSME in ResolvedMethodTable to replace deleted methods.
Reviewed-by: sspitsyn
2019-07-24 18:18:28 +03:00
aph
44a2d03996 8209415: Fix JVMTI test failure HS202
Summary: Fix test for static method in exception throw handler
Reviewed-by: adinn
2019-07-24 18:18:26 +03:00
tschatzl
10ce765c20 8218063: JDK-8218060 breaks build for S390
Summary: Reinstated function removed by JDK-8218060 and properly ifdef'ed it.
Reviewed-by: shade, eosterlund
2019-07-24 18:18:25 +03:00
tschatzl
af40b4e1d0 8218060: JDK-8217786 breaks build due to remaining unused function
Summary: Remove unused function.
Reviewed-by: eosterlund
2019-07-24 18:18:24 +03:00
mbaesken
4ea6839dee 8217786: Provide virtualization related info in the hs_error file on linux s390x
Reviewed-by: dholmes, stuefe
2019-07-24 18:18:23 +03:00
mbaesken
aa80960737 8216355: missing NULL checks in libnet in interface iteration and potential resource leak in getMacAddress
Reviewed-by: clanger, rwestberg
2019-07-24 18:18:22 +03:00
mbaesken
907ee46e59 8219112: name_and_sig_as_C_string usages in frame_s390 miss ResourceMark
Reviewed-by: shade, lucy
2019-07-24 18:18:21 +03:00
mbaesken
410c7daa75 8219460: ppc: adjust NativeGeneralJump::insert_unconditional to stack allocated MacroAssembler
Reviewed-by: mdoerr
2019-07-24 18:18:20 +03:00
pbansal
1373e65863 8214112: The whole text in target JPasswordField image are not selected
Reviewed-by: serb, psadhukhan
2019-07-24 18:18:19 +03:00
kevinw
8780ac4183 8209951: Problematic sparc intrinsic: com.sun.crypto.provider.CipherBlockChaining
Reviewed-by: kvn, thartmann
Contributed-by: fairoz.matte@oracle.com
2019-07-24 18:18:18 +03:00
pbansal
8086cff234 8214111: There is no icon in all JOptionPane target image
Reviewed-by: serb, psadhukhan
2019-07-24 18:18:17 +03:00
apetcher
a8b0f565e4 8208648: ECC Field Arithmetic Enhancements
Summary: interal library enhancements to support ECC implementatation
Reviewed-by: jnimeh
2019-07-24 18:18:16 +03:00
nishjain
bca035a384 8213294: Upgrade IANA LSR data
Reviewed-by: naoto
2019-07-24 18:18:15 +03:00
dmarkov
0d3048339f 8214109: XToolkit is not correctly displayed color on 16-bit high color setting
Reviewed-by: serb, prr
2019-07-24 18:18:14 +03:00
pbansal
fc674452a2 8214252: Expanded & Collapsed nodes of a JTree look the same on GTK3
Reviewed-by: serb, psadhukhan
2019-07-24 18:18:13 +03:00
pbansal
533913d0b4 8214253: Tooltip is transparent rather than having a black background
Reviewed-by: serb, psadhukhan
2019-07-24 18:18:12 +03:00
ssadetsky
d86ba25b1d 8218473: JOptionPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-07-24 18:18:11 +03:00
ssadetsky
372397a76c 8218479: JTextPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-07-24 18:18:10 +03:00
shade
b8f0618681 8220718: Missing ResourceMark in nmethod::metadata_do
Reviewed-by: mdoerr, zgu
2019-07-24 18:18:09 +03:00
sgehwolf
4c85b20f95 8220353: [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
Reviewed-by: thartmann, shade
2019-07-24 18:18:08 +03:00
mdoerr
ba474bcfdd 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-07-24 18:18:07 +03:00
mullan
660fd8a3c8 8217878: ENVELOPING XML signature no longer works in JDK 11
8218629: XML Digital Signature throws NAMESPACE_ERR exception on OpenJDK 11, works 8/9/10
Summary: Backout and restore previous XML signature marshalling implementation
Reviewed-by: weijun
2019-07-24 18:18:06 +03:00
xuelei
c38615fdca 8216045: The size of key_exchange may be wrong on FFDHE
Reviewed-by: jnimeh
2019-07-24 18:18:05 +03:00
dfuchs
366bd6c3c4 8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
Summary: The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed
Reviewed-by: chegar
2019-07-24 18:18:04 +03:00
serb
ab67248c83 8210739: Calling JSpinner's setFont with null throws NullPointerException
Reviewed-by: psadhukhan
2019-07-24 18:18:03 +03:00
apetcher
396bcd7653 8201317: X25519/X448 code improvements
Summary: Minor code/comment improvements
Reviewed-by: xuelei
2019-07-24 18:18:01 +03:00
vromero
179c440804 8210197: javac can't tell during speculative attribution if a diamond expression is creating an anonymous inner class or not
Reviewed-by: mcimadamore
2019-07-24 18:18:00 +03:00
xuelei
1021dce957 8219389: Delegated task created by SSLEngine throws BufferUnderflowException
Reviewed-by: ascarpino
2019-07-24 18:17:59 +03:00
ascarpino
9d9687bace 8215790: Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
Reviewed-by: jnimeh
2019-07-24 18:17:58 +03:00
xuelei
d832e2dcde 8215443: The use of TransportContext.fatal() leads to bad coding style
Reviewed-by: ascarpino
2019-07-24 18:17:57 +03:00
stefank
266d389c19 8218733: SA: CollectedHeap provides broken implementation for used() and capacity()
Reviewed-by: shade, jgeorge, eosterlund
2019-07-24 18:17:56 +03:00
fyang
5000cf32d2 8219698: aarch64: SIGILL triggered when specifying unsupported hardware features
Reviewed-by: aph
2019-07-24 18:17:55 +03:00
ascarpino
af3ebd40ab 8220165: Encryption using GCM results in RuntimeException- input length out of bound
Reviewed-by: valeriep
2019-07-24 18:17:54 +03:00
dholmes
b57830deaf 8217765: Internal Error (javaCalls.cpp:61) guarantee(thread->can_call_java()) failed
Reviewed-by: rehn, redestad, coleenp
2019-07-24 18:17:53 +03:00
jcm
df40e259ea 8213825: assert(false) failed: Non-balanced monitor enter/exit! Likely JNI locking
Summary: skip sfpt optimization for Load is removed for Java Object's Markword Load.
Reviewed-by: kvn, dlong
2019-07-24 18:17:52 +03:00
aivanov
96c225a86e 8215123: Crash in runtime image built with jlink --compress=2
Reviewed-by: ihse, alanb
2019-07-24 18:17:51 +03:00
jgeorge
12515379ef 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
Summary: While doing a ptrace attach, do not attach to threads which are in the process of exiting or are zombies -- skip these threads.
Reviewed-by: jcbeyler, ysuenaga
2019-07-24 18:17:50 +03:00
mullan
6d3266e7f8 8195793: Remove GTE CyberTrust Global Root
Reviewed-by: rhalade
2019-07-24 18:17:49 +03:00
mdoerr
3f8ff03d63 8219582: PPC: Crash after C1 checkcast patched and GC
Reviewed-by: akozlov, goetz
2019-07-24 18:17:47 +03:00
jjiang
44b995832b 8211971: Move security/cacerts/VerifyCACerts.java and security/CheckBlacklistedCerts.java
Summary: Move lib/security tests to sun/security/lib
Reviewed-by: weijun
2019-07-24 18:17:46 +03:00
weijun
f0f7032ffc 8211969: test/jdk/lib/security/CheckBlacklistedCerts.java searching for wrong paths
Reviewed-by: mullan
2019-07-24 18:17:45 +03:00
mikael
26b4b71251 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2019-07-24 18:17:44 +03:00
simonis
8a4f73dec9 8213515: Improve freetype detection on linux/ppc64/ppc64le/s390x
Reviewed-by: shade, ihse, stuefe
2019-07-24 18:17:43 +03:00
rraghavan
2ef26c346d 8210803: Compilation failure in codeBlob.cpp for Windows 32-bit
Summary: Added ordinary operator delete declaration within class
Reviewed-by: kvn, rlichten, thartmann
2019-07-24 18:17:42 +03:00
itakiguchi
f1bfb4b93a 8217880: AIX build issue after JDK-8214533
Reviewed-by: goetz, ihse, mbaesken
2019-07-24 18:17:41 +03:00
itakiguchi
9e461b9cfb 8214533: IBM-29626C is required for AIX default charset
Reviewed-by: alanb, rriggs
2019-07-24 18:17:40 +03:00
itakiguchi
9645d6d6ce 8212794: IBM-964 is required for AIX default charset
Reviewed-by: rriggs, ihse, alanb
2019-07-24 18:17:39 +03:00
itakiguchi
9fec4ab8bc 8213618: IBM970 charset has missing entry and remove unexpected entries
Reviewed-by: srl, martin
2019-07-24 18:17:38 +03:00
sherman
bb3abaeddc 8208634: Add x-IBM-1129 charset
Reviewed-by: alanb, sherman
Contributed-by: enasser@in.ibm.com
2019-07-24 18:17:36 +03:00
itakiguchi
7618bc21e4 8211393: Memory leak issue on awt_InputMethod.c
Reviewed-by: naoto, clanger
2019-07-24 18:17:35 +03:00
sveerabhadra
e89edc17b0 8190361: Incorrect version info in jaccessinspector.exe and jaccesswalker.exe
Reviewed-by: prr, mhalder
2019-07-24 18:17:34 +03:00
serb
6f9ee713ac 8211435: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: null source
Reviewed-by: dmarkov, lbourges, kaddepalli, prr
2019-07-24 18:17:33 +03:00
ascarpino
b27c65bd65 8201633: Problems with AES-GCM native acceleration
Reviewed-by: valeriep
2019-07-24 18:17:32 +03:00
valeriep
e497ff5f18 8179098: Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)
Summary: Do bounds check per encryption/decryption call instead of per block
Reviewed-by: ascarpino, redestad
2019-07-24 18:17:31 +03:00
hseigel
e1127f6887 8215398: -Xlog option usage => Invalid decorator '\temp\app_cds.log'.
Summary: On Windows, do not treat ':' as a delimeter when it's in a string such as "C:..."
Reviewed-by: dholmes, sspitsyn
2019-07-24 18:17:30 +03:00
iignatyev
6e1a192696 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2019-07-24 18:17:29 +03:00
cushon
6c38912958 8210483: AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
Reviewed-by: mcimadamore, vromero
2019-07-24 18:17:27 +03:00
jlahoda
08265c8a8a 8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
Summary: Do not keep speculative Symbols in DeferredCompletionFailureHandler.
Reviewed-by: jjg, vromero
2019-07-24 18:17:25 +03:00
shade
c5dd604ef8 8209573: [TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure
Reviewed-by: kvn, pliden
2019-07-24 18:17:24 +03:00
roland
d781571d7e 8205574: Loop predication "assert(f <= 1 && f >= 0) failed Incorrect frequency"
Reviewed-by: kvn
2019-07-24 18:17:23 +03:00
clanger
be04489104 8219710: Bump update version for OpenJDK: jdk11.0.4
Reviewed-by: goetz
2019-07-24 18:17:22 +03:00
bell-sw
80855b3dd9 resolving a simple merge conflict. two different methods was put in one place, letting them to coexist 2019-07-24 18:17:07 +03:00
itakiguchi
8f571a5887 8213232: Unix/X11 setCompositionEnableNative issue
Reviewed-by: serb

 Conflicts:
	src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
2019-07-24 18:17:06 +03:00
bell-sw
176aed1c33 minor merge conflict around Xrandr #include again 2019-07-24 18:17:05 +03:00
simonis
dbf59696bb 8213944: Fix AIX build after the removal of Xrandr.h and add a configure check for it
Reviewed-by: shade, erikj, stuefe, ihse, goetz

 Conflicts:
	src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
2019-07-24 18:17:04 +03:00
bell-sw
83b360a88a minor merge conflict. deleting Xrandr #include as the header was deleted 2019-07-24 18:17:03 +03:00
prr
624aa68718 8210863: Remove Xrandr include files from JDK sources
Reviewed-by: serb

 Conflicts:
	src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
2019-07-24 18:17:02 +03:00
avu
6b799847b0 8213292: Input freezes after MacOS key-selector (press&hold) usage on macOS Mojave
Reviewed-by: serb

 (Commiting empty update to make merge robot happy)
 The change is already in place (with additional IS_OSX_GT10_13 treatment):
        https://github.com/JetBrains/JetBrainsRuntime/commit/c358cff1
        https://github.com/bell-sw/jdk11u-openjdk/commit/e83307ae
2019-07-24 18:17:01 +03:00
bell-sw
6d47616124 Merge resolution. Reverting the change in freetypeScaler.c as it has no sence for JetBrainsRuntime:
the affected variable 'renderFlags' was moved to 'FTScalerContext.loadFlags': https://github.com/JetBrains/JetBrainsRuntime/commit/0456745a
  and deleted as not used soon: https://github.com/JetBrains/JetBrainsRuntime/commit/431e1442
The of JDK-8214002 fix (if algorithmic styling is required then we do not request bitmap) is already in place.
2019-07-24 18:17:01 +03:00
itakiguchi
d233632c35 8214002: Cannot use italic font style if the font has embedded bitmap
Reviewed-by: prr

 Conflicts:
	src/java.desktop/share/native/libfontmanager/freetypeScaler.c
2019-07-24 18:17:00 +03:00
bell-sw
c676a05f0a trivial merge conflict resolution 2019-07-24 18:16:59 +03:00
erikj
43ce2bb92a 8210283: Support git as an SCM alternative in the build
Reviewed-by: ihse, ehelin

Conflicts:
	.gitignore
2019-07-24 18:16:58 +03:00
twisti
37ba62c6c3 8210008: custom extension for make/SourceRevision.gmk
Reviewed-by: erikj
2019-07-24 18:16:57 +03:00
bell-sw
805e7dbc44 trivial merge conflict resolution 2019-07-24 18:16:56 +03:00
serb
6d4928a1e6 8208702: javax/swing/reliability/HangDuringStaticInitialization.java may hang on macos
Reviewed-by: prr, denis

Conflicts:
	src/java.desktop/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
	src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.m
2019-07-24 18:16:54 +03:00
Denis Fokin
1a5ba408a1 JBR-1670 Force restore focus on tempLost 2019-07-18 21:13:29 +03:00
Anton Tarasov
461b0b5cd4 JBR-1669 IDE-managed HiDPI mode is broken 2019-07-18 17:01:45 +03:00
Artem Bochkarev
6bbe7102e2 JBR-1668: read system keyboard shortcuts
initial support for OS X
2019-07-18 15:13:53 +03:00
Elena Sayapina
0900a705bc IDEA-165950 Added new regression test (National keyboard layouts support) 2019-07-18 15:57:15 +07:00
Anton Tarasov
fe97147ea2 JBR-1650 [followup] propagate custom decoration title bar height to native 2019-07-15 12:42:11 +03:00
Dmitry Batrak
bdd52c4c89 add couple of files to .gitignore to be able to use my own project setup 2019-07-09 10:37:45 +03:00
Anton Tarasov
5511e8eae8 JBR-1650 [followup] propagate custom decoration title bar height to native 2019-07-08 22:19:47 +03:00
Anton Tarasov
f6fc65d014 JBR-1650 propagate custom decoration title bar height to native 2019-07-08 18:52:01 +03:00
Vitaly Provodin
eb493ef1bf updated JTreg exclude list 2019-07-08 14:34:52 +07:00
Alexey Ushakov
da86fbacae JBR-1647 [fwp to 11] JBR-1639 Unexpected crash when I update my MacBook Pro to MacOS Version 10.15 Beta (19A501i)
Removed usage of coretext in HarfBuzz
2019-07-05 16:50:28 +03:00
Denis Fokin
4e7c0b5e50 JBR-1515 Regression test jb/sun/awt/macos/MoveFocusShortcutTest.java fails on macOS
All system CMD shortcuts were forbidden.
2019-07-05 12:44:02 +03:00
Vitaly Provodin
b210facd6b updated JTreg exclude list 2019-07-04 11:40:58 +07:00
Denis Fokin
3801db7e12 JBR-1515 Regression test jb/sun/awt/macos/MoveFocusShortcutTest.java fails on macOS
Now we prevent Mac OS from handling the shortcut. We can enumerate windows on IDE level.
2019-07-03 19:58:56 +03:00
Alexey Ushakov
22efc1419c JBR-1634 Some swing gtk regression tests fail with "java.lang.InternalError: Unable to load native GTK libraries"
Added check on gtk3 version
2019-07-03 17:47:01 +03:00
Artem Bochkarev
b7acd7f6f6 JBR-1573: restore current input context after cleanup 2019-07-03 13:02:03 +03:00
Denis Fokin
2646c8bb5b Wrong selector 2019-07-02 21:24:32 +03:00
Denis Fokin
c276444bee JBR-1635 Native file dialog does not work as an oppositeWindow properly 2019-07-01 18:26:46 +03:00
Vitaly Provodin
4c7870a3b4 updated JTreg exclude list 2019-06-29 05:37:45 +07:00
Denis Fokin
4e1330dfb2 JBR-1515 Regression test jb/sun/awt/macos/MoveFocusShortcutTest.java fails on macOS
In my environment the test stopped sending double WINDOW_GAINED_FOCUS events.
The test still fails because of the Cmd-` shortcut effect.
2019-06-28 21:02:10 +03:00
Vitaly Provodin
2ca8f09c02 updated JTreg exclude list 2019-06-28 21:09:15 +07:00
Vitaly Provodin
a71b0a3e0d updated JTreg exclude list 2019-06-27 10:52:50 +07:00
Alexey Ushakov
cef29e8100 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
2019-06-26 16:19:45 +03:00
Anton Tarasov
9e768377db JBR-1629 Maximized window cut at the right and bottom 2019-06-26 14:39:46 +03:00
Denis Fokin
68c2fd0e3b JBR-1515 Regression test jb/sun/awt/macos/MoveFocusShortcutTest.java fails on macOS
The problem is still reproducible, but the fix is the part of the solution
2019-06-26 14:00:52 +03:00
Vitaly Provodin
7967532f3f updated JTreg exclude list 2019-06-26 16:43:39 +07:00
Vitaly Provodin
73f993d10c updated JTreg exclude list 2019-06-25 10:15:04 +07:00
Alexey Ushakov
e838103a24 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)
2019-06-24 23:30:57 +03:00
Anton Tarasov
e7ca6db66b JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions 2019-06-24 14:29:50 +03:00
Vitaly Provodin
d9656a178b updated JTreg exclude list 2019-06-23 07:54:43 +07:00
Vitaly Provodin
5f6351b0c4 updated JTreg exclude list 2019-06-23 07:40:54 +07:00
Vitaly Provodin
c3a0ec902d updated JTreg exclude list 2019-06-22 06:01:31 +07:00
Anton Tarasov
567d96c428 Merge remote-tracking branch 'origin/master' 2019-06-20 21:02:12 +03:00
Anton Tarasov
1666f05b23 JBR-1617 revert fixes for app icon 2019-06-20 21:01:34 +03:00
Egor Ushakov
ae823a660b JBR-1615 Slow ClassLoaderReferenceImpl.findType 2019-06-20 17:52:15 +03:00
Denis Fokin
f6a31f444c Revert: JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message 2019-06-20 14:15:19 +03:00
Dmitry Batrak
a1b4cd964a JBR-1604 Tooltip with package's info is cut 2019-06-19 17:15:15 +03:00
Elena Sayapina
5845719fe5 updated JTreg exclude list 2019-06-17 16:49:18 +07:00
alexsch
dae56a9e8b JBR-1066: fixed ScreenMenuMemoryLeakTest
re-apply fix that was reverted in 2a92eec5:
8158325: [macosx] Memory leak in com.apple.laf.ScreenMenu
Reviewed-by: azvegint, alexsch
Contributed-by: Robin Stevens <robin.stevens@scz.be>

NOTE: fix 8158325 caused 'JBR-922 Actions from system menu does not work on jdk9 runtime', 'IDEA-183063 MacOS: popups are closing, main menu actions will not open when running under Oracle 1.8.152 JDK'. This fix was reapplied because it is correct and bugs aren't reproduced now.

(cherry picked from commit 0a4920f61d)
2019-06-14 16:36:53 +07:00
Anton Tarasov
9cc97b0c00 [followup] JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display 2019-06-13 20:15:41 +03:00
Denis Fokin
936dc2c40b JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message
Crash is fixed
2019-06-11 12:59:53 +03:00
Anton Tarasov
db6c43b6f4 JBR-1414 DnD on linux (XToolkit) does not honor HIDPI scale 2019-06-10 19:11:43 +03:00
Artem Bochkarev
bd9a95d6fb JRE-220: fixed 'terminal Ctrl+C is not working'
cherry-picked from a8c7db34
2019-06-08 14:28:34 +07:00
Denis Fokin
8d9bac395e JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message 2019-06-07 16:27:58 +03:00
Anton Tarasov
f652c790f4 Merge remote-tracking branch 'origin/master' 2019-06-07 15:21:58 +03:00
Anton Tarasov
8e59bb2f09 JBR-1582 IDEA EAP icon has low resolution on Mac 2019-06-07 15:21:28 +03:00
Artem Bochkarev
c8533a1219 JBR-1573: fix resources cleanup
JBR-1573: fix resources cleanup
2019-06-07 10:48:13 +07:00
Denis Fokin
f35489e8ca JBR-1574 java/awt/Window/setLocRelativeTo/SetLocationRelativeToTest.java: Test failed 2019-06-06 23:58:13 +03:00
Artem Bochkarev
3ad94911af JBR-1573: workaround for 'Sudden keyboard death on Ubuntu 18'
recreate instance of system InputMethod when starts filter all events
2019-06-06 17:53:25 +07:00
Denis Fokin
31629b719d Yet another forgotten file. 2019-06-05 13:02:45 +03:00
Denis Fokin
0e3ce4aa6a These files are generated by gradle. They prevent users from rebase. 2019-06-05 12:53:24 +03:00
Denis Fokin
4cef4a36c7 JBR-1569 Transparent title bars not working in JRE 11 2019-06-04 18:25:53 +03:00
Denis Fokin
7a05ec59e0 Revert: JBR-1414 DnD on linux  (XToolkit) does not honor HIDPI scale
Regression: JBR-1558 Drag'n'drop in trees doesn't work properly in master builds on HiDPI displays
2019-06-04 14:30:32 +03:00
Vitaly Provodin
26807f5975 updated JTreg exclude list 2019-06-04 10:36:07 +07:00
Vitaly Provodin
85dad30333 updated JTreg exclude list 2019-06-04 06:24:55 +07:00
Anton Tarasov
9f7289d5ef Merge remote-tracking branch 'origin/master' 2019-06-03 12:49:07 +03:00
Anton Tarasov
14d51243c6 JBR-1544 Robot cannot capture screen with scale other than 1:1 2019-06-03 12:48:45 +03:00
Alexey Ushakov
350a3fdef3 JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance
2019-05-31 20:24:27 +03:00
Denis Fokin
ae087bad40 JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS 2019-05-31 12:30:22 +03:00
Vitaly Provodin
74b2cb3607 updated JTreg exclude list 2019-05-31 15:09:00 +07:00
Denis Fokin
63f98e40a6 JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS
Forgotten change
2019-05-30 16:49:27 +03:00
Vyacheslav Moklev
5547701e2c JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state
2019-05-30 11:02:00 +03:00
Denis Fokin
1ca0a3f140 JBR-1522 JDK11 does not reset reused heavy-weight popup window min-size 2019-05-29 12:47:19 +03:00
Alexey Ushakov
194b2d939f Updated RenderPerfTest to use correct location of the frame marker 2019-05-28 15:14:20 +03:00
Alexey Ushakov
943b1472c7 Updated RenderUtil to get correct screenshots on linux 2019-05-28 14:50:29 +03:00
Alexey Ushakov
83c22de72e Added golden images for MixedTextTest and TextMetricsTest from Linux 2019-05-28 14:50:29 +03:00
Artem Bochkarev
62d057516d JBR-1400: don't clear application NSMenu when defined vm-property 'mac.system.menu.singleton'
cherry-pick from commit bc8eca286b42306c66890dbeef2bfd2f4aa48a5d (from jdk8u)
2019-05-28 11:38:02 +07:00
Artem Bochkarev
e57384c1d6 JBR-1541: activate menu in completion handler of modal dialog 2019-05-28 11:28:30 +07:00
Vitaly Provodin
3655b01149 updated JTreg exclude list 2019-05-28 10:13:54 +07:00
Alexey Ushakov
5f9b3a6dda JBR-1521 Update quality tests to Java 11
Added golden images for TextMetricsTest from Mojave
2019-05-27 13:38:48 +03:00
Alexey Ushakov
cab6dd5087 JBR-1521 Update quality tests to Java 11
Added golden images for MixedTextTest from Mojave
2019-05-27 13:21:51 +03:00
Vitaly Provodin
e4b063cb1f updated JTreg exclude list 2019-05-27 14:24:08 +07:00
Alexey Ushakov
bbd90315c9 JBR-1521 Update quality tests to Java 11
Updated golden images for DroidFontTest on Windows
2019-05-26 18:51:25 +03:00
Alexey Ushakov
c93b853a2b Updated gradle project:
- provided correct path to test jdk
 - used modern syntax instead of <<
2019-05-26 14:56:31 +03:00
Vitaly Provodin
d65279cdc1 updated JTreg exclude list 2019-05-24 10:49:09 +07:00
Alexey Ushakov
6c71f3a853 JBR-1521 Update quality tests to Java 11
Updated golden images for DroidFontTest on linux
2019-05-22 22:56:57 +03:00
Alexey Ushakov
95a5c1661b JBR-1521 Update quality tests to Java 11
Added golden images for DroidFontTest from Mojave
2019-05-22 16:59:01 +03:00
Alexey Ushakov
153020320d JBR-1415 CLion with jdk11, frame around Exit button
In addition fallback to normal painting for sub-components of non-opaque
dialogs and frames
2019-05-21 19:27:59 +03:00
Alexey Ushakov
23e2ac4c4e JBR-1528 backport rendering performance microbenchmarks from openjdk-metal branch
Backport test/jdk/jbu/quality/metal/MetalRenderTest.java
2019-05-21 12:51:57 +03:00
Denis Fokin
29ec6c2bce JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout 2019-05-20 19:58:03 +03:00
Alexey Ushakov
7997c7a5ee JBR-1521 Update quality tests to Java 11
Updated RenderUtil to Java 11
2019-05-17 23:17:47 +03:00
Alexey Ushakov
14659f0d30 JBR-1520 [fwp to JBR11] JRE-722 LCD text rendering performance on OSX 25X slower than grayscale
Fixed LCD text performance by using bulk rendering via vertex arrays and
reducing glTextureBarrierNV usages
Added native logging of accelerated text rendering
Replaced glClientActiveTextureARB with glClientActiveTexture
(it is now part of OpenGL 1.3 standard)
2019-05-17 23:17:46 +03:00
Alexey Ushakov
a868128d2e Updated .gitignore 2019-05-17 23:17:46 +03:00
Dmitry Batrak
1e1b932a4c JBR-1517 Update font layout speedup code to match the variant submitted to OpenJDK (JDK-8220231)
apply corresponding change from OpenJDK 13
2019-05-17 15:08:47 +03:00
Dmitry Batrak
bac12d4598 JBR-1517 Update font layout speedup code to match the variant submitted to OpenJDK (JDK-8220231)
revert original implementation of font layout speedup
2019-05-17 13:19:43 +03:00
Dmitry Batrak
2bbfe3bf2f JBR-1435 Various problems with emojis
add piece of code that was missed during migration from JBR 8
2019-05-17 11:23:03 +03:00
Vitaly Provodin
38abcae3e9 updated JTreg exclude list 2019-05-17 14:09:59 +07:00
Anton Tarasov
1746b04686 JBR-1427 pycharm jupyter preview stuck and no response when click on preview. 2019-05-16 18:28:02 +03:00
Vyacheslav Moklev
00d32e58dc JBR-1509 Client area size is wrong in Borderless mode
Fix client area size
2019-05-16 11:51:42 +03:00
Denis Fokin
d0acd2b182 JBR-1255 [JDK 11] java.lang.IllegalArgumentException: Wrong parent window 2019-05-15 19:26:44 +03:00
Denis Fokin
fbb8ed8326 JBR-1434 "New file dialog" popup remains above all windows on switching application 2019-05-15 19:22:00 +03:00
Denis Fokin
54bb2dd097 JBR-1417 JBR 11 does not support chain of popups
Adopted version of "JRE-864  Multiple child windows opened and closed in sequence"
2019-05-14 17:11:51 +03:00
Vitaly Provodin
fe6bc5f94d updated JTreg exclude list 2019-05-14 16:29:15 +07:00
Denis Fokin
2a8bced104 Revert: JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout
JBR-1421 resolves the issue
2019-05-13 20:51:59 +03:00
Denis Fokin
b0366b1c0d JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS 2019-05-13 20:45:19 +03:00
Vitaly Provodin
33001a74d0 updated JTreg exclude list 2019-05-13 16:29:38 +07:00
Denis Fokin
85dfaefecb JBR-1414 DnD on linux (XToolkit) does not honor HIDPI scale 2019-05-08 09:46:26 +03:00
itakiguchi
7d1cd2b825 8211810: X11 Time stamp data should be unsigned
Reviewed-by: serb
2019-05-08 09:46:25 +03:00
Artem Bochkarev
7aa5324011 fixed JBR-1135
don't skip KeyEvents with character A (with keycode == 0) in AWTView::performKeyEquivalent

this condition was added in fix "JBR-184 Mac OS: Delete action deletes twice if Edit menu has be opened before",
it seems that this condition is unnecessary and JBR-184 doesn't reproduce without it.
2019-05-08 11:27:55 +07:00
Alexey Ushakov
434166fe63 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix
2019-05-07 14:35:11 +03:00
Vitaly Provodin
148b7ed39c updated JTreg exclude list 2019-05-01 18:03:39 +07:00
Vitaly Provodin
4ae5115c38 updated JTreg exclude list 2019-04-30 11:47:20 +07:00
Elena Sayapina
3c08825f26 updated JTreg exclude list 2019-04-26 19:29:50 +07:00
Alexey Ushakov
207c6b92ff JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations
2019-04-24 14:34:05 +03:00
Alexey Ushakov
165597441b Merge pull request #4 from bell-sw/update_8u212
jdk-11.0.3 update
2019-04-24 13:52:21 +03:00
andrew
69fea5acae Added tag jdk-11.0.3-ga for changeset 175eb80c253a 2019-04-23 14:37:38 +03:00
Vitaly Provodin
2edc09cf1a updated JTreg exclude list 2019-04-23 11:12:15 +07:00
Denis Fokin
d3de2e6f03 Modal dialogs (Messages) shouldn't popup IDEA when another application is active
Investigation is closed
2019-04-22 16:43:05 +03:00
Elena Sayapina
b105cb9dd5 updated JTreg exclude list 2019-04-22 16:00:09 +07:00
naoto
67e827a88f 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-20 16:54:54 +03:00
naoto
98c6738d08 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-04-20 16:54:52 +03:00
naoto
335812c56c 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2019-04-20 16:54:51 +03:00
xiaofeya
df8c9852f0 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2019-04-20 16:54:50 +03:00
igerasim
8eea0ad423 8218453: More dynamic RMI interactions
Reviewed-by: aph
2019-04-20 16:54:49 +03:00
ccheung
bab1257ca0 8214809: CDS storage improvements
Reviewed-by: aph
2019-04-20 16:54:48 +03:00
igerasim
ef4fa2cbe5 8211936: Better String parsing
Reviewed-by: aph
2019-04-20 16:54:47 +03:00
phh
ee46cf4a7f 8221769: Revert JDK-8221767 mistakenly pushed to jdk11u 11.0.3
Reviewed-by: clanger
2019-04-20 16:54:46 +03:00
joehw
a1cccc09e9 8207760: SAXException: Invalid UTF-16 surrogate detected: d83c ?
Summary: Properly handle unicode16 characters split across buffer chunks.
Reviewed-by: lancea, dfuchs
2019-04-20 16:54:45 +03:00
dcherepanov
1bae86d422 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-04-20 16:54:43 +03:00
clanger
9b30a18ab0 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-04-20 16:54:42 +03:00
rraghavan
bfdc57751e 8211698: Crash in C2 compiled code during execution of double array heavy processing code
Summary: Correctly registered new Opaque4Node in add_range_check_predicate
Reviewed-by: roland, thartmann
2019-04-20 16:54:41 +03:00
aph
874324a521 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls
Reviewed-by: aph
Contributed-by: andrey.petushkov@gmail.com
2019-04-20 16:54:40 +03:00
fyang
d721ca49f1 8215951: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:39 +03:00
ngasson
1775d38e43 8216350: AArch64: monitor unlock fast path not called
Reviewed-by: aph, drwhite, fyang
2019-04-20 16:54:38 +03:00
roland
9c878aabdc 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Reviewed-by: adinn, aph
2019-04-20 16:54:37 +03:00
sgehwolf
9908ad8a42 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue
Summary: Specify explicit type in the constructor
Reviewed-by: shade, pliden
2019-04-20 16:54:36 +03:00
sgehwolf
448be98742 8220283: ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
Reviewed-by: shade, kbarrett
2019-04-20 16:54:35 +03:00
stuefe
2763564edb 8219650: [Testbug] Fix potential crashes in new test hotspot gtest "test_print_hex_dump"
Reviewed-by: clanger, shade
2019-04-20 16:54:33 +03:00
goetz
0589670380 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-04-20 16:54:32 +03:00
gziemski
45898700f2 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Summary: Excluded test of mac range for VMThreadStackSize
Reviewed-by: coleenp, mseledtsov
2019-04-20 16:54:31 +03:00
goetz
a3d96bb10f 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess
Reviewed-by: dholmes, dcubed
2019-04-20 16:54:30 +03:00
naoto
20ade329ea 8217609: New era placeholder not recognized by java.text.SimpleDateFormat
Reviewed-by: nishjain, rriggs
2019-04-20 16:54:29 +03:00
jcbeyler
303bbcbd49 8210192: Hsperf counter ParNew::CMS should be ParNew:CMS
Summary: Rename the counter back to ParNew:CMS and added a test
Reviewed-by: sjohanss, tschatzl
Contributed-by: manc@google.com
2019-04-20 16:54:28 +03:00
aivanov
3c118f9869 8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
2019-04-20 16:54:27 +03:00
rpatil
65895d26d8 8206120: Add test cases for lenient Japanese era parsing
8211398: Square character support for the Japanese new era
8218915: Change isJavaIdentifierStart and isJavaIdentifierPart to handle new code points
Reviewed-by: coffeys, naoto
Contributed-by: deepak.kejriwal@oracle.com
2019-04-20 16:54:26 +03:00
jnimeh
3f11249c43 8210989: RSASSA-PSS certificate cannot be selected for client auth on TLSv1.2
Reviewed-by: xuelei
2019-04-20 16:54:25 +03:00
sjohanss
826568cc79 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2019-04-20 16:54:23 +03:00
roland
da69b70295 8214189: test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
Reviewed-by: kvn
2019-04-20 16:54:21 +03:00
goetz
97cacd17cd 8219461: Bump update version for OpenJDK jdk11.0.3
Reviewed-by: clanger
2019-04-20 16:54:19 +03:00
manc
3db162c6e0 8218192: Remove copy constructor for MemRegion
Summary: Remove copy constructor in memRegion.hpp
Reviewed-by: tschatzl, kbarrett
2019-04-20 16:54:17 +03:00
egahlin
b2ea6b8614 8215362: JFR GTest JfrTestNetworkUtilization fails
Reviewed-by: mgronlun
2019-04-20 16:54:16 +03:00
egahlin
1e93ed46bf 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2019-04-20 16:54:14 +03:00
egahlin
d2da323bba 8213966: The ZGC JFR events should be marked as experimental
Reviewed-by: pliden
2019-04-20 16:54:13 +03:00
egahlin
ae9e8f53ab 8165675: Trace event for thread park has incorrect unit for timeout
Reviewed-by: mgronlun
2019-04-20 16:54:12 +03:00
aph
5c880cee6a 8215100: AArch64: fix compareTo intrinsic with four-character Latin/Unicode
Reviewed-by: aph, dpochepk
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:11 +03:00
aph
e6dfbc06c8 8215202: AArch64: jtreg test test/jdk/sun/nio/cs/FindEncoderBugs.java fails
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:10 +03:00
shade
9ff295b635 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-04-20 16:54:09 +03:00
itakiguchi
84c797155d 8211267: StackOverflowError happened by TextField.setFont(...)
Reviewed-by: serb, prr
2019-04-20 16:54:08 +03:00
tnakamura
d402451e8d 8213183: InputMethod cannot be used after its restarting
Summary: Retains masks at XSelectInput and deletes all IM data at DestroyXIMCallback
Reviewed-by: naoto
2019-04-20 16:54:07 +03:00
jjg
8829dbc435 8212233: javadoc fails on jdk12 with "The code being documented uses modules but the packages defined in $URL are in the unnamed module."
Reviewed-by: hannesw, pmuthuswamy
2019-04-20 16:54:06 +03:00
alitvinov
468bd0610f 8201818: [macosx] Printing attributes break page size set via "java.awt.print.Book" object
Reviewed-by: prr, psadhukhan
2019-04-20 16:54:05 +03:00
dmarkov
28055ca921 8213983: [macosx] Keyboard shortcut ?cmd +`? stops working properly if popup window is displayed
Reviewed-by: kaddepalli, serb
2019-04-20 16:54:03 +03:00
sherman
bb95afade0 8210394: (zipfs) jdk/nio/zipfs/ZFSTests.java rootdir.zip: The process cannot access the file because it is being used by another process
Reviewed-by: alanb, jlaskey
2019-04-20 16:54:02 +03:00
mullan
f87b95cebc 8216280: Allow later Symantec Policy distrust date for two Apple SubCAs
Reviewed-by: coffeys
2019-04-20 16:54:01 +03:00
mullan
72d2103586 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2019-04-20 16:54:00 +03:00
shade
8b1b703d7a 8219260: Default number of test jobs needs to be consistently calculated
Reviewed-by: aph, clanger, erikj
2019-04-20 16:53:59 +03:00
weijun
c65daf33b9 8214513: A PKCS12 keystore from Java 8 using custom PBE parameters cannot be read in Java 11
Reviewed-by: mullan
2019-04-20 16:53:58 +03:00
weijun
b511cec345 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2019-04-20 16:53:57 +03:00
sherman
e88cbc2f1d 8197398: (zipfs) Files.walkFileTree walk indefinitelly while processing JAR file with "/" as a directory inside.
Reviewed-by: alanb
2019-04-20 16:53:56 +03:00
xuelei
68aaf0eacd 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2019-04-20 16:53:55 +03:00
jiangli
ca1c5693ad 8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
Summary: Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-04-20 16:53:54 +03:00
stooke
ab5b2f66eb 8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
2019-04-20 16:53:53 +03:00
xuelei
588a2e65a4 8213782: NullPointerException in sun.security.ssl.OutputRecord.changeWriteCiphers
Reviewed-by: ascarpino
2019-04-20 16:53:52 +03:00
dmarkov
8eb594bc07 8213583: Error while opening the JFileChooser when desktop contains shortcuts pointing to deleted files
Reviewed-by: kaddepalli, aivanov, serb
2019-04-20 16:53:51 +03:00
ssahoo
6268945a2d 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out
Summary: java.net.SocketTimeoutException: Read timed out
Reviewed-by: xuelei
2019-04-20 16:53:50 +03:00
shade
2509740631 8219251: Langtools tests default memory size needs to be 768m
Reviewed-by: aph, clanger
2019-04-20 16:53:49 +03:00
aoqi
f93e7b0fb9 8217597: [TESTBUG] old version docker does not support --cpus
Summary: "--cpus" is only available in Docker 1.13 and higher, and is the equivalent of setting both --cpu-period and --cpu-quota.
Reviewed-by: bobv, dholmes
Contributed-by: aoqi@loongson.cn
2019-04-20 16:53:48 +03:00
itakiguchi
4d26eb7e23 8211382: ISO2022JP and GB18030 NIO converter issues
Reviewed-by: sherman, rriggs
2019-04-20 16:53:46 +03:00
aph
6b876c8318 8211163: UNIX version of Java_java_io_Console_echo does not return a clean boolean
Reviewed-by: shade, alanb
2019-04-20 16:53:45 +03:00
lancea
25021522cf 8211295: DriverManager.getConnection fails when called from com.sun.rowset.JdbcRowSetImpl
Reviewed-by: mchung, alanb
2019-04-20 16:53:44 +03:00
mgronlun
b6228e99ba 8215727: Restore JFR thread sampler loop to old / previous behavior
Reviewed-by: egahlin, mgronlun
Contributed-by: milan.mimica@gmail.com
2019-04-20 16:53:42 +03:00
shade
3714265873 8217315: Proper units should print more significant digits
Reviewed-by: stuefe, tschatzl
2019-04-20 16:53:41 +03:00
shade
216125d9c9 8217994: os::print_hex_dump should be more resilient against unreadable memory
Reviewed-by: zgu, stuefe, lucy
2019-04-20 16:53:39 +03:00
egahlin
1030c22316 8212232: Wrong metadata for the configuration of the cutoff for old object sample events
Reviewed-by: mgronlun
2019-04-20 16:53:37 +03:00
coffeys
8cf44f203a 8213952: Relax DNSName restriction as per RFC 1123
Reviewed-by: weijun, mullan, chegar
2019-04-20 16:53:35 +03:00
lancea
83397588a8 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2019-04-20 16:53:34 +03:00
egahlin
a0d8b1e251 8209960: -Xlog:jfr* doesn't work with the JFR
Reviewed-by: mgronlun
2019-04-20 16:53:31 +03:00
egahlin
69c3e4846b 8207829: FlightRecorderMXBeanImpl is leaking the first classloader which calls it
Reviewed-by: mgronlun
2019-04-20 16:53:30 +03:00
valeriep
81e3a0d870 8211049: Second parameter of "initialize" method is not used
Summary: Use the specified random object instead of system default
Reviewed-by: weijun
2019-04-20 16:53:29 +03:00
joehw
4712c0918e 8215330: javax.xml.catalog.CatalogResolverImpl: GroupEntry.matchURI fails to match
Reviewed-by: lancea
2019-04-20 16:53:28 +03:00
ccheung
b713ec1985 8215947: JVM crash with -XX:+DumpSharedSpaces
Summary: disable JIT compilation if -XX:+DumpSharedSpaces is specified by the user
Reviewed-by: lfoltan, jiangli
2019-04-20 16:53:27 +03:00
mchinnathamb
567b48cab3 8215397: jsig.c missing classpath exception
Reviewed-by: dholmes
2019-04-20 16:53:26 +03:00
egahlin
c0420921ce 8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
2019-04-20 16:53:25 +03:00
hseigel
716254c447 8211821: PrintStringTableStatistics crashes JVM
Summary: During JVM exit, print the Symbol and String tables before current thread gets deleted.
Reviewed-by: iklam, dholmes
2019-04-20 16:53:24 +03:00
joehw
63b80b2b4d 8210874: Test for JDK-8209615
Reviewed-by: lancea
2019-04-20 16:53:23 +03:00
joehw
392f9a2901 8209615: ParseError in XMLEventReader on a valid input
Reviewed-by: lancea
2019-04-20 16:53:22 +03:00
lmesnik
6cb29aac35 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2019-04-20 16:53:21 +03:00
thartmann
db5d580447 8208275: C2 crash in Node::add_req(Node*)
Summary: Split-if optimization should not process (dead) counted loops.
Reviewed-by: roland
2019-04-20 16:53:20 +03:00
zgu
20dcc833f6 8217342: Build failed with excluding JFR
Reviewed-by: shade, pliden
2019-04-20 16:53:19 +03:00
jnimeh
6dcd516fa3 8214129: SSL session resumption/SNI with TLS1.2 causes StackOverflowError
Reviewed-by: xuelei, jjiang
2019-04-20 16:53:18 +03:00
manc
577364a426 8213829: Remove circular dependency between g1CollectedHeap and g1ConcurrentMark
Summary: Improve include statements related to g1CollectedHeap.inline.hpp
Reviewed-by: kbarrett, tschatzl
2019-04-20 16:53:17 +03:00
zgu
1d81c1f463 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-04-20 16:53:16 +03:00
shade
6b594eaab5 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace
Reviewed-by: dholmes, tschatzl
2019-04-20 16:53:15 +03:00
shade
a3b55b44f0 8217014: Epsilon should not ignore Metadata GC causes
Reviewed-by: stuefe, zgu
2019-04-20 16:53:14 +03:00
shade
dcede2ffa5 8216308: StackTraceElement::fill_in can use injected Class source-file
Reviewed-by: coleenp, dholmes
2019-04-20 16:53:13 +03:00
shade
cde258e50f 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-04-20 16:53:12 +03:00
shade
327368ecc9 8217378: UseCriticalCMSThreadPriority is broken
Reviewed-by: rkennke, dcubed
2019-04-20 16:53:11 +03:00
mbalao
60db74211d 8204142: AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts
Summary: Improvements on the synchronization of SequencedEvent events from different AppContexts
Reviewed-by: serb
2019-04-20 16:53:10 +03:00
shade
f4128def6b 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
Reviewed-by: tschatzl, coleenp
2019-04-20 16:53:09 +03:00
stuefe
a99aa18578 8218156: "jcmd VM.metaspace basic" misreports free chunk space
Reviewed-by: zgu
2019-04-20 16:53:07 +03:00
roland
e7c90d3aa8 8214206: Fix for JDK-8213419 is broken on 32-bit
Reviewed-by: mdoerr, shade
2019-04-20 16:53:06 +03:00
roland
8f27913925 8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
Reviewed-by: kvn, dlong, aph
2019-04-20 16:53:05 +03:00
bell-sw
c311d0165b Merge conflict in WWindowPeer.displayChanged()
JRE-660 fix vs JDK-8207070 (commits 8649992 and https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/09456a6d05fb)
fix: combine two changes to start both updateGC and adjustBoundsOnDPIChange on EventHanderThread.
DisplayChangesException.java test passed
2019-04-20 16:52:51 +03:00
serb
19f1edea6e 8207070: Webstart app popup on wrong screen in a one-screen setup changing to multi-monitor
Reviewed-by: prr
2019-04-20 16:52:50 +03:00
alitvinov
756c492c6c 8187364: Unable to enter zero width non-joiner (ZWNJ) symbol in Swing text component
Reviewed-by: serb, dmarkov
(empty commmit for backport robot; the fix is actually backported already)
2019-04-20 16:52:49 +03:00
bell-sw
05079b182b Merge conflict in Java_sun_font_FreetypeFontScaler_getGlyphImageNative
IDEA-57233 fix vs JDK-8216965 (commits 0456745 vs https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a363f160b05a)
fix: combine two changes to include both error check and renderFlag.
FontSize1Test test passed
2019-04-20 16:52:49 +03:00
prr
5bd162986f 8216965: crash in freetypeScaler.c CopyBW2Grey8
Reviewed-by: serb, mbaesken
2019-04-20 16:52:47 +03:00
Vitaly Provodin
86823b171d updated JTreg exclude list 2019-04-19 16:11:18 +07:00
Elena Sayapina
95df9908f4 JBR-1380: Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java works incorrectly 2019-04-19 15:56:25 +07:00
Denis Fokin
4476063ebf JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout 2019-04-18 17:46:33 +03:00
Vitaly Provodin
7eb4cef588 updated JTreg exclude list 2019-04-18 11:33:26 +07:00
Alexey Ushakov
2b99dfed40 JBR-1314 Font difference in pycharm 2019.1 on Ubuntu
Removed disabling hints on MAX_FCSIZE_LTL_DISABLED font size
2019-04-17 22:31:42 +03:00
Elena Sayapina
a5948894bf JBR-1372: JDialog1054.java, MoveFocusShortcutTest.java regression tests need update 2019-04-15 17:16:10 +07:00
Vitaly Provodin
01e2a516cf updated JTreg exclude list 2019-04-15 11:14:17 +07:00
Alexey Ushakov
013d3dfcf2 [JDK 11] Font Rendering on MacOS
Fixed regression caused by JBR-1076 by limiting fallback painting
only to undecorated non-opaque frames and dialogs
2019-04-11 23:47:17 +03:00
Anton Tarasov
2dd4163bc4 IDEA-210154 Borderless UI: Top frame of IDEA window is blue 2019-04-11 13:26:13 +03:00
Vitaly Provodin
e2a2f99cef updated JTreg exclude list 2019-04-11 16:42:15 +07:00
Anton Tarasov
84286e9c67 [followup] JBR-1365 force IDE-managed HiDPI on Linux for fractional scales 2019-04-10 15:10:26 +03:00
Anton Tarasov
f092ff3962 JBR-1365 force IDE-managed HiDPI on Linux for fractional scales 2019-04-10 13:45:09 +03:00
Vitaly Provodin
e5324ac253 Revert "JRE-1199: added the list of files required for stripped JBR bundle"
This reverts commit a1fcf9fc
2019-04-10 17:01:42 +07:00
Vitaly Provodin
7c202c52ba Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit 9820ecb7
2019-04-10 17:01:23 +07:00
Vitaly Provodin
e0e1205ab0 Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit e5dd1ec9
2019-04-10 17:00:58 +07:00
Vitaly Provodin
b203fe6e17 Revert "JRE-1199: corrected the list of files required for stripped JBR bundle on Windows"
This reverts commit 6f4be20e
2019-04-10 17:00:43 +07:00
Vitaly Provodin
f3f37db654 Revert "JRE-1199: added the list of files required for stripped JBR bundle - removed leading ./"
This reverts commit 13fbc2be
2019-04-10 17:00:28 +07:00
Vitaly Provodin
c88a550a3b Revert "JRE-1199: added JFX files"
This reverts commit ec0d6d6b
2019-04-10 17:00:07 +07:00
Vitaly Provodin
809d66a387 Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit a4e7fdb6
2019-04-10 16:59:50 +07:00
Vitaly Provodin
e07cf33b28 Revert "JRE-1238: NoClassDefFoundError: Could not initialize class sun.tools.attach.VirtualMachineImpl"
This reverts commit 366ceeb8
2019-04-10 16:59:34 +07:00
Vitaly Provodin
bceea77552 updated JTreg exclude list 2019-04-10 16:30:04 +07:00
Denis Fokin
3c9c599a2d JBR-1362 Multiple child windows opened and closed in sequence result in a focus loss 2019-04-09 16:24:05 +03:00
Anton Tarasov
06d35de069 JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display 2019-04-09 12:16:30 +03:00
Egor Ushakov
3a09f6c1db JBR-1354 com/sun/tools/attach/PermissionTest.java: access denied ("java.util.PropertyPermission" "sun.tools.attach.tmp.only" "read") 2019-04-09 11:35:16 +03:00
Egor Ushakov
4bd3f7835e JBR-1061 .attach_pid files in the working dir - flag to put .attach file in tmp dir only 2019-04-05 11:56:35 +03:00
Vitaly Provodin
c0b795d04e updated JTreg exclude list 2019-04-03 14:45:56 +03:00
Vitaly Provodin
0617bf25b8 updated JTreg exclude list 2019-04-02 17:10:02 +03:00
Vitaly Provodin
501aeec5e5 updated JTreg exclude list 2019-03-30 09:09:01 +07:00
Alexey Ushakov
ee05f360c5 JBR-1324 [fwp to JBR11] JBR-1174 Font Difference on macOS
Enable LCD shader by "Use font smoothing when available" setting
2019-03-29 20:15:11 +03:00
Egor Ushakov
2db9a870e7 8146986: JDI: Signature lookups for unprepared classes can take a long time - fixed tests 2019-03-29 13:20:38 +03:00
Vitaly Provodin
260319ec74 updated JTreg exclude list 2019-03-29 10:58:38 +07:00
Anton Tarasov
9179718cb6 JBR-1313 wrong insets for non-resizable custom-decorated frame 2019-03-28 19:17:17 +03:00
Vitaly Provodin
90276e6c00 updated JTreg exclude list 2019-03-28 14:34:03 +07:00
Anton Tarasov
cb188edaab JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated 2019-03-26 10:20:35 +03:00
Vitaly Provodin
589b93be04 updated JTreg exclude list 2019-03-26 10:54:49 +07:00
Egor Ushakov
63572dcc76 8146986: JDI: Signature lookups for unprepared classes can take a long time - pt.2 2019-03-25 12:37:50 +03:00
Vitaly Provodin
480a2f5a34 updated JTreg exclude list 2019-03-25 15:42:35 +07:00
pbansal
763414f5f0 8218469: JSlider display issue with slider for GTKLookAndFeel
8218470: JScrollBar display issue with GTKLookAndFeel
8218472: JProgressBar display issue with GTKLookAndFeel
8203627: Swing applications with JRadioButton and JCheckbox fail to render correctly when using GTK3 and the GTK L&F
Reviewed-by: serb, prr
2019-03-22 22:29:38 +03:00
Alexey Ushakov
e3ba0bd651 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled both Delete and ForwardDelete keys
2019-03-22 14:40:05 +03:00
Egor Ushakov
7db46ce2b2 8146986: JDI: Signature lookups for unprepared classes can take a long time 2019-03-22 12:38:29 +03:00
Alexey Ushakov
81916a92af JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled backspace separately
2019-03-21 23:10:40 +03:00
Vitaly Provodin
b85a2171c3 updated JTreg exclude list 2019-03-20 15:48:54 +07:00
Mikhail Filippov
05dc889841 Adopt fix to match patch submitted into Oracle 2019-03-19 10:31:45 +03:00
Vitaly Provodin
4a754a0fa2 JBR-1286: jdk.compiler was added into JBR 2019-03-19 11:18:23 +07:00
pbansal
be9b80a30a 8215364: JavaFX crashes on Ubuntu 18.04 with Wayland while using Swing-FX interop
Reviewed-by: prr, kcr
2019-03-18 23:02:00 +03:00
Vitaly Provodin
f691fe2f03 updated JTreg exclude list 2019-03-18 16:51:16 +07:00
Anton Tarasov
a879ad5739 JBR-1278 allow native border and shadow for custom decoration mode 2019-03-18 11:48:56 +03:00
Vyacheslav Moklev
94c75b0537 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice
2019-03-18 11:12:54 +03:00
Vyacheslav Moklev
bff7dfddfb JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly
2019-03-18 11:12:41 +03:00
Vyacheslav Moklev
6ecbc2736b JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window
2019-03-18 11:12:26 +03:00
Vyacheslav Moklev
8cde9502f1 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
2019-03-18 11:12:11 +03:00
Sergey Malenkov
af0360f3ea Merge remote-tracking branch 'origin/master' 2019-03-14 13:50:23 +03:00
Sergey Malenkov
02e0f6f078 do not replace the right Alt key with AltGr on Mac by default 2019-03-14 13:50:09 +03:00
Vitaly Provodin
094f03f5b3 updated JTreg exclude list 2019-03-13 11:35:07 +07:00
Vitaly Provodin
71ee90cd7b updated JTreg exclude list 2019-03-13 11:16:30 +07:00
Vitaly Provodin
426055c320 updated JTreg exclude list 2019-03-12 11:37:06 +07:00
Vitaly Provodin
30ce36030d updated JTreg exclude list 2019-03-11 10:06:30 +07:00
Vitaly Provodin
6012cd1180 updated JTreg exclude list 2019-03-10 09:39:32 +07:00
Elena Sayapina
1d31d1f8ff JBR-1260: Wrong calling convention for EnableNonClientDpiScaling in windows/native/sun/windows/awt.h 2019-03-07 13:27:10 +03:00
Vyacheslav Moklev
04112e6f90 JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path
2019-03-06 12:01:25 +03:00
Vyacheslav Moklev
e0c79eb54f JBR-1257 CommonItemDialog modal window has no owner
Fix modality for Common Item Dialog
2019-03-06 12:00:56 +03:00
Vitaly Provodin
6ad54fb1ea JBR-1199: added JBR modules list for jlink 2019-03-06 09:37:47 +07:00
Elena Sayapina
dc7abebe17 JBR-1102: [JDK11] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called 2019-03-05 08:36:37 +03:00
Vitaly Provodin
6d35b8fe59 updated JTreg exclude list 2019-03-03 08:20:13 +07:00
Vitaly Provodin
9552363525 updated JTreg exclude list 2019-03-03 07:45:56 +07:00
Vitaly Provodin
6a9a917161 Merge remote-tracking branch 'origin/master' 2019-03-03 07:44:33 +07:00
Sergey Malenkov
916fec8145 Fix key modifiers processing including AltGr 2019-03-02 17:38:24 +03:00
Alexey Ushakov
a53989e85a Added cmake projects for hotspot and jdk 2019-02-28 18:13:20 +03:00
Dmitry Batrak
4efa7eab3e JBR-1248 Exception caused by broken font 2019-02-28 15:49:24 +03:00
Elena Sayapina
07bf36928d updated JTreg exclude list 2019-02-28 11:26:48 +03:00
Dmitry Batrak
c2e756ec4f apply (partial) fix for JBR-363 from OpenJDK 12 (JDK-8139178) 2019-02-28 10:09:41 +03:00
Dmitry Batrak
3d7ac30072 partially rollback JBR-363 fix, to apply corresponding change from OpenJDK 12 2019-02-28 10:09:41 +03:00
Dmitry Batrak
3d0ec88046 apply part of JBR-363 fix missed in backporting from JBRE 8 2019-02-28 10:09:40 +03:00
Vitaly Provodin
2b8f6f70a0 updated JTreg exclude list 2019-02-28 11:55:42 +07:00
Elena Sayapina
c8d631a142 JBR-1102: [JDK11] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called 2019-02-28 07:50:43 +03:00
12140 changed files with 1562580 additions and 488429 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* -text

1513
.github/workflows/submit.yml vendored Normal file

File diff suppressed because it is too large Load Diff

22
.gitignore vendored
View File

@@ -2,4 +2,26 @@ JTwork
JTreport
*.class
.idea/workspace.xml
.idea/misc.xml
.idea/modules.xml
.idea/shelf/
JetBrainsRuntime.iml
build/
# Project exclude paths
/jb/project/java-gradle/.gradle/
/build/
/dist/
/.idea/
nbproject/private/
/webrev
/.src-rev
/.jib/
.DS_Store
.metadata/
.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
**/JTreport/**
**/JTwork/**
/jb/project/java-gradle/.idea/workspace.xml

108
.hgtags
View File

@@ -533,3 +533,111 @@ fe85e2f43a1c893cb410308106b0f31b814aebb8 jdk-11.0.2+8
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
0000000000000000000000000000000000000000 jdk-11.0.2-ga
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2-ga
98e7354165d3a2443a8b845a5a526cc55d1b0dd7 jdk-11.0.3+0
cd1c042181e934a1a91f9ee59a0066f64c8bad7a jdk-11.0.3+1
9de3f198995c6c384fd6431c97089c311ec6a7ff jdk-11.0.3+2
d17a1764a0f318ab72beadb589c998d40951493a jdk-11.0.3+3
43d6759c3b2e36c1118e9753a080372294e1f17a jdk-11.0.3+4
c9865fee1a6d39a7bd2a5313f54c812d9a0852f5 jdk-11.0.3+5
8e139b8b4f62c0a1c4b13fa216f6fd975df81c1c jdk-11.0.3+6
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3+7
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3-ga
b3f7a4c524f2e37a8068ca797859df86d9865aad jdk-11.0.4+1
3b9194001c2eebea3109777c2b308cd784a5dcc7 jdk-11.0.4+2
3b6fc7cd594608b7125eb0b75bdc05132e7b5f39 jdk-11.0.4+3
e442b78d7687744475676724bd27b1d52f096d38 jdk-11.0.4+4
371ce104ac19a12012dfe3749240b0309bfc86ee jdk-11.0.4+5
9ab8738bf30663e01924f40e04d6d04751271b77 jdk-11.0.4+6
640251cdca0577fd8aa4a51ddb7c71c3b874033c jdk-11.0.4+7
ce601e800f56af59edfda40e19a92a8d3121a1cd jdk-11.0.4+8
26958299a5f8012736b99782c835ec685e18dd43 jdk-11.0.4+9
3f5829d9d7629ba3893456e20731949a570cc277 jdk-11.0.4+10
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4+11
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4-ga
3ba9c532128b1feccf59ab8ce812b1fce2b6f681 jdk-11.0.5+1
b249a2a2034e3392c647c61d401a41ac7237d635 jdk-11.0.5+2
d84dae4fba034adc749e3f28fc444b3d95b8f670 jdk-11.0.5+3
315e873712092d48fbfa23885bdf2c6fd654c1ab jdk-11.0.5+4
d43c5ab1a337b94fffee1cab871543da06f8113c jdk-11.0.5+5
deaef57bf366fdab908b97a9760d0fa6e273abcd jdk-11.0.5+6
046604d257d7bc698ee213d70af09793f5008ff1 jdk-11.0.5+7
2c29e9b3a2856350d55a188635c36c5b23c1c9e3 jdk-11.0.5+8
ee7128cf507a670ae84841b202a7a06711608359 jdk-11.0.5+9
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5+10
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5-ga
6eb89e59a06a2f83f7fe0399da4bf4ca638d46f3 jdk-11.0.6+1
8d3e0c2c009815cae59ad3c9bf9e4b1f090efc8b jdk-11.0.6+2
f8b2e95a1d41585a757729ed28ce35d43aba1b3f jdk-11.0.6+3
577a1fc440666e3c0724e07f6a8d736b2c7905cf jdk-11.0.6+4
bfce7426e091127450a70b7d07941c0f9e02d347 jdk-11.0.6+5
aa260c24480a2bd7d21ad1c863e6fe9a3973011e jdk-11.0.6+6
42500af9232ed5b2990ff618a1e92ef6ccc0b9af jdk-11.0.6+7
0c54fb645a7388cb7e3d587b4df75a2edd7826e2 jdk-11.0.6+8
1859de77ee6cd7e10ac0b9e71027d9f974a6e481 jdk-11.0.6+9
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6+10
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6-ga
8cdfd6139b1efc9064b10f24a82848b1bb4a0550 jdk-11.0.7+1
15cc1c8a63718c394e9cd1f35d735bb74a850084 jdk-11.0.7+2
f2d8162261ae3c1e50eb0667b3c9669caa67c652 jdk-11.0.7+3
d3d1f7f67de13fd5c227424b9ddc514c0ca32aff jdk-11.0.7+4
f03574cfc0d728ca7b5146ca22c707717f9f899f jdk-11.0.7+5
17d2e0c27889a00a3df7de9bcea0e8caf0d1771a jdk-11.0.7+6
f56b853d452bd339e3f4360cf4be42cc90f9284c jdk-11.0.7+7
3c570d183ab2afc0b204a8e980be69e7fbe761ef jdk-11.0.7+8
7201cd0c64776aa574d252b03a4c92b25d0a7d7f jdk-11.0.7+9
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7+10
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7-ga
2eb415c82056bdc308d23ee6761f422de46dc5e5 jdk-11.0.8+1
88eaa453331e9aeca979d58509538ebb74831ce4 jdk-11.0.8+2
2c0c9cfe2a4e1340f7db106e2220dbd0d5b86092 jdk-11.0.8+3
aa6c93b4f1acf4166d74d0252b35c53ad71d8540 jdk-11.0.8+4
8df1a601187c0b4cb9e525075bd7b85ee3d72595 jdk-11.0.8+5
e42c6d1a1993c720a4643140190bb1ba6f1bbf9f jdk-11.0.8+6
46d4984bb3c6dd1b0f5135505b77921d23c69841 jdk-11.0.8+7
40b646e9d8fbb2d70992b61e4f4b08ca5652c907 jdk-11.0.8+8
59f8565ee5e224697a9e09ee2c557836733bc579 jdk-11.0.8+9
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8+10
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8-ga
5cc275af8419178813299cc0ed81a2a85dadfdcd jdk-11.0.9+1
3112657edde9491fb83f098f1a8b7e9275bcb2f7 jdk-11.0.9+2
d8a0513b92ee262d4e64c1e13d43e1b3f3e5c5d5 jdk-11.0.9+3
cb299db4a5698b814f6b3ba1f3d73d01f6a0e1f6 jdk-11.0.9+4
55237fa85afb404bc0dc0f4948a6459d8d3e5dac jdk-11.0.9+5
c07e785e36f587b95e151de382844cea3d1a5868 jdk-11.0.9+6
1ba4c16a8afa3f5aaa7830fc1f14a0137cc2553b jdk-11.0.9+7
8711e8554e15ae2fa38718d5c7dc858da10e8a4a jdk-11.0.9+8
e872676174c7f171a9864becba83cb783cfec9d0 jdk-11.0.9+9
6ac1b68e7c0034e08a96d7d37e93e5075a6e8d61 jdk-11.0.9+10
4397fa4529b2794ddcdf3445c0611fe383243fb4 jdk-11.0.9+11
4397fa4529b2794ddcdf3445c0611fe383243fb4 jdk-11.0.9-ga
4fd46d208f0a4b55924af8e0c2fb6bcf46e18ec6 jdk-11.0.9.1+0
27723943c0dd65a191cbefe031cec001521e4b13 jdk-11.0.9.1+1
31affc22b3b5f5d43783ffadf57f22848bad9db8 jdk-11.0.9.1-ga
f3168de4eb0dd74bf8e81537f62742bde5e412c3 jdk-11.0.10+1
a35aa07b57bab3690224e3af939ee085d50eb476 jdk-11.0.10+2
bca12c00a776f8cee7a0eeaf788499b9eab9cf9d jdk-11.0.10+3
9504fa6f98f5aad0aa1ac36d5bff3260a32020c8 jdk-11.0.10+4
5f5c3544ccb4d0bbc638e665524b292860dd9515 jdk-11.0.10+5
4b9bc2a1dde0631958393125997855382325964d jdk-11.0.10+6
c45f74d45787a857d35b5a66c9b0304c91a9c5d0 jdk-11.0.10+7
43428f69099f6f87f6e1922deacbf13e1adb751f jdk-11.0.10+8
8b3498547395ee80a6e731078056b2aeb3e3c5e8 jdk-11.0.10+9
8b3498547395ee80a6e731078056b2aeb3e3c5e8 jdk-11.0.10-ga
4ed322bf6b0098353ceaecf35662fadf457cd81d jdk-11.0.11+1
b68647c6ecc1e73111d8047448d75966f255460f jdk-11.0.11+2
14cc036b17a5f4be5b0643e6b24ed32563684ab9 jdk-11.0.11+3
c4405735470a92e2c45490b89a8099252f3481d2 jdk-11.0.11+4
38430a8a4488582612c6a87ab58d109cc5217e8b jdk-11.0.11+5
e41ae00add1d76a8f25adb558933382947ea840d jdk-11.0.11+6
14f9928caac31368d27f13e4e21ca25c1e0be950 jdk-11.0.11+7
9f0347b029d3a0349f23befcfb68ee02d85d9034 jdk-11.0.11+8
15862747ee15445292b4b9949b4f0f4badba4812 jdk-11.0.11+9
15862747ee15445292b4b9949b4f0f4badba4812 jdk-11.0.11-ga
5720ffa08f8514b9f0ea8b3a49e05a872c9c0efe jdk-11.0.12+1
70a4031a8bef3e693f34864fdd482429c73dc76a jdk-11.0.12+2
873a691b1ae4fa8b55ca5d08fa21aca3a4904fb8 jdk-11.0.12+3
40d1e784e1937aaea696a9654cc2d944d3d78996 jdk-11.0.12+4
6aa6f6860508fca3a97aea1de7a36574498d22bf jdk-11.0.12+5
91e81ac088545abdc3eaaa707853d31a6cf99af3 jdk-11.0.12+6
f412f2537f1502a9697a9684c77bea8d848db1ab jdk-11.0.12+7
f412f2537f1502a9697a9684c77bea8d848db1ab jdk-11.0.12-ga

View File

@@ -1,9 +1,7 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="allowReplaceRegexp" value="JetBrains" />
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.&#10; &#10;This code is free software; you can redistribute it and/or modify it&#10;under the terms of the GNU General Public License version 2 only, as&#10;published by the Free Software Foundation.&#10;&#10;This code is distributed in the hope that it will be useful, but WITHOUT&#10;ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or&#10;FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License&#10;version 2 for more details (a copy is included in the LICENSE file that&#10;accompanied this code).&#10;&#10;You should have received a copy of the GNU General Public License version&#10;2 along with this work; if not, write to the Free Software Foundation,&#10;Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.&#10;&#10;Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA&#10;or visit www.oracle.com if you need additional information or have any&#10;questions." />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

14
.idea/vcs.xml generated
View File

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

View File

@@ -1,2 +1,31 @@
project=jdk10
bugids=dup
[general]
project=jdk-updates
jbs=JDK
version=11.0.14
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace
[repository]
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)
branches=
[census]
version=0
domain=openjdk.org
[checks "whitespace"]
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java
[checks "merge"]
message=Merge
[checks "reviewers"]
reviewers=1
ignore=duke
[checks "committer"]
role=committer
[checks "issues"]
pattern=^([124-8][0-9]{6}): (\S.*)$

161
README.md
View File

@@ -1,60 +1,173 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Downloads
# Welcome to JetBrains Runtime!
<a name="jetbrains-runtime"></a>
|Windows-x64 |macOS |Linux-x64 |
|-------------|-------------|-------------|
|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-windows-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-windows-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-osx-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-osx-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-linux-x64/_latestVersion"><img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-linux-x64/images/download.svg"/></a>|
JetBrains Runtime is a fork of [OpenJDK](https://github.com/openjdk/jdk) available for Windows, Mac OS X, and Linux.
It includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes.
## Releases
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).
# How JetBrains Runtime is organised
## Workspaces
| IDE Version | Latest JBR | Date Released |
|-------------|---------------------------------------------------------------------------------------------------|---------------|
| 2022.1 | [11_0_13-b1890.3](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_13b1890.3 ) | 18-Jan-2022 |
| 2021.3 | [11_0_13-b1751.25](https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_13b1751.25) | 17-Jan-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://confluence.jetbrains.com/pages/viewpage.action?pageId=218857477) | 15-Jun-2021 |
| 2020.3 | [11_0_11-b1145.115](https://confluence.jetbrains.com/pages/viewpage.action?pageId=219349001) | 21-Jun-2021 |
[github.com/JetBrains/JetBrainsRuntime](https://github.com/JetBrains/JetBrainsRuntime)
## Contents
- [Welcome to JetBrains Runtime](#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)
## Getting sources
__OSX, Linux:__
## 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.
* [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:__
### Windows
<a name="sources-windows"></a>
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
# Configure Local Build Environment
## Linux (docker)
## 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](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/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 a 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
```
## Linux (Ubuntu 18.10 desktop)
### 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 \
openjdk-11-jdk
```
Then run the following:
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev install libcups2-dev libfontconfig1-dev libasound2-dev
$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
$ make images
```
## Windows
#### TBD
### 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 2015 is supported by default.
* [Java 11](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html).
If you have problems while configuring, read [Java tips on Cygwin](http://horstmann.com/articles/cygwin-tips.html).
## OSX
#### TBD
From the command line:
```
"c:\Program Files (x86)\Microsoft Visual Studio 15.0\VC\vcvarsall.bat" amd64
c:\cygwin64\bin\mintty.exe /usr/bin/bash -l
```
The first command sets up environment variables, the second starts a Cygwin shell with the proper environment.
## Contribution
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/
In the Cygwin shell:
```
$ cd JetBrainsRuntime
$ bash configure --enable-option-checking=fatal --with-toolchain-version=2015 \
--with-boot-jdk="/cygdrive/c/Program Files/Java/jdk-11.0.5" --disable-warnings-as-errors
$ make images
```
### macOS
Install the following:
* Xcode command line developer tools and `autoconf` via [Homebrew](getDpiInfo).
* [Java 11](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html).
From the command line:
```
$ cd JetBrainsRuntime
$ sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors
$ make images
```
## 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). 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](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html).
* [OpenJDK test instructions](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html#running-tests).
* [How to develop OpenJDK with CLion](https://blog.jetbrains.com/clion/2020/03/openjdk-with-clion/).

0
configure vendored Normal file → Executable file
View File

View File

@@ -68,10 +68,12 @@
</ul></li>
<li><a href="#running-tests">Running Tests</a></li>
<li><a href="#cross-compiling">Cross-compiling</a><ul>
<li><a href="#cross-compiling-the-easy-way-with-openjdk-devkits">Cross compiling the easy way with OpenJDK devkits</a></li>
<li><a href="#boot-jdk-and-build-jdk">Boot JDK and Build JDK</a></li>
<li><a href="#specifying-the-target-platform">Specifying the Target Platform</a></li>
<li><a href="#toolchain-considerations">Toolchain Considerations</a></li>
<li><a href="#native-libraries">Native Libraries</a></li>
<li><a href="#creating-and-using-sysroots-with-qemu-deboostrap">Creating And Using Sysroots With qemu-deboostrap</a></li>
<li><a href="#building-for-armaarch64">Building for ARM/aarch64</a></li>
<li><a href="#verifying-the-build">Verifying the Build</a></li>
</ul></li>
@@ -91,12 +93,10 @@
<li><a href="#getting-help">Getting Help</a></li>
</ul></li>
<li><a href="#hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</a><ul>
<li><a href="#setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</a></li>
<li><a href="#bash-completion">Bash Completion</a></li>
<li><a href="#using-multiple-configurations">Using Multiple Configurations</a></li>
<li><a href="#handling-reconfigurations">Handling Reconfigurations</a></li>
<li><a href="#using-fine-grained-make-targets">Using Fine-Grained Make Targets</a></li>
<li><a href="#learn-about-mercurial">Learn About Mercurial</a></li>
</ul></li>
<li><a href="#understanding-the-build-system">Understanding the Build System</a><ul>
<li><a href="#configurations">Configurations</a></li>
@@ -110,10 +110,10 @@
</ul>
</nav>
<h2 id="tldr-instructions-for-the-impatient">TL;DR (Instructions for the Impatient)</h2>
<p>If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Mercurial (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.</p>
<p>If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Git (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.</p>
<ol type="1">
<li><p><a href="#getting-the-source-code">Get the complete source code</a>:<br />
<code>hg clone http://hg.openjdk.java.net/jdk/jdk</code></p></li>
<code>git clone https://git.openjdk.java.net/jdk/</code></p></li>
<li><p><a href="#running-configure">Run configure</a>:<br />
<code>bash configure</code></p>
<p>If <code>configure</code> fails due to missing dependencies (to either the <a href="#native-compiler-toolchain-requirements">toolchain</a>, <a href="#build-tools-requirements">build tools</a>, <a href="#external-library-requirements">external libraries</a> or the <a href="#boot-jdk-requirements">boot JDK</a>), most of the time it prints a suggestion on how to resolve the situation on your platform. Follow the instructions, and try running <code>bash configure</code> again.</p></li>
@@ -129,8 +129,8 @@
<p>The JDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.</p>
<p>If you just want to use the JDK and not build it yourself, this document is not for you. See for instance <a href="http://openjdk.java.net/install">OpenJDK installation</a> for some methods of installing a prebuilt JDK.</p>
<h2 id="getting-the-source-code">Getting the Source Code</h2>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="http://hg.openjdk.java.net/">OpenJDK Mercurial server</a> you can see a list of all available forests. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>If you are new to Mercurial, a good place to start is the <a href="http://www.mercurial-scm.org/guide">Mercurial Beginner's Guide</a>. The rest of this document assumes a working knowledge of Mercurial.</p>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="https://git.openjdk.java.net/">OpenJDK Git site</a> you can see a list of all available repositories. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>If you are new to Git, a good place to start is the book <a href="https://git-scm.com/book/en/v2">Pro Git</a>. The rest of this document assumes a working knowledge of Git.</p>
<h3 id="special-considerations">Special Considerations</h3>
<p>For a smooth building experience, it is recommended that you follow these rules on where and how to check out the source code.</p>
<ul>
@@ -141,7 +141,11 @@
<ul>
<li><p>Create the directory that is going to contain the top directory of the JDK clone by using the <code>mkdir</code> command in the Cygwin bash shell. That is, do <em>not</em> create it using Windows Explorer. This will ensure that it will have proper Cygwin attributes, and that it's children will inherit those attributes.</p></li>
<li><p>Do not put the JDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.</p></li>
<li><p>Clone the JDK repository using the Cygwin command line <code>hg</code> client as instructed in this document. That is, do <em>not</em> use another Mercurial client such as TortoiseHg.</p></li>
<li><p>You need to install a git client. You have two choices, Cygwin git or Git for Windows. Unfortunately there are pros and cons with each choice.</p>
<ul>
<li><p>The Cygwin <code>git</code> client has no line ending issues and understands Cygwin paths (which are used throughout the JDK build system). However, it does not currently work well with the Skara CLI tooling. Please see the <a href="https://wiki.openjdk.java.net/display/SKARA/Skara#Skara-Git">Skara wiki on Git clients</a> for up-to-date information about the Skara git client support.</p></li>
<li><p>The <a href="https://gitforwindows.org">Git for Windows</a> client has issues with line endings, and do not understand Cygwin paths. It does work well with the Skara CLI tooling, however. To alleviate the line ending problems, make sure you set <code>core.autocrlf</code> to <code>false</code> (this is asked during installation).</p></li>
</ul></li>
</ul>
<p>Failure to follow this procedure might result in hard-to-debug build problems.</p></li>
</ul>
@@ -191,7 +195,7 @@
<p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require effort to implement.)</p>
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input 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>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/git/jdk/Makefile</code> rather than <code>C:\git\jdk\Makefile</code>. This rule also applies to input 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>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
<p><strong>Note:</strong> Cygwin has a model of continuously updating all packages without any easy way to install or revert to a specific version of a package. This means that whenever you add or update a package in Cygwin, you might (inadvertently) update tools that are used by the JDK build process, and that can cause unexpected build problems.</p>
@@ -277,7 +281,7 @@
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.5.5</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.16</td>
</tr>
</tbody>
</table>
@@ -353,7 +357,7 @@ cc: Sun C 5.13 SunOS_i386 2014/10/20
$ CC -V
CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2017. Versions older than 2017 are unlikely to continue working for long.</p>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2019. Versions older than 2017 are unlikely to continue working for long.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2015</code>.</p>
<p>If you get <code>LINK: fatal error LNK1123: failure during conversion to COFF: file invalid</code> when building using Visual Studio 2010, you have encountered <a href="http://support.microsoft.com/kb/2757355">KB2757355</a>, a bug triggered by a specific installation order. However, the solution suggested by the KB article does not always resolve the problem. See <a href="https://stackoverflow.com/questions/10888391">this stackoverflow discussion</a> for other suggestions.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
@@ -369,10 +373,10 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>On Linux you can also get a JDK from the Linux distribution. On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-&lt;VERSION&gt;-jdk</code> is typically enough to install a JDK &lt;VERSION&gt;. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-&lt;VERSION&gt;-openjdk-devel</code>.</p>
<h2 id="external-library-requirements">External Library Requirements</h2>
<p>Different platforms require different external libraries. In general, libraries are not optional - that is, they are either required or not used.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files an library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files and library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
<h3 id="freetype">FreeType</h3>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDKs own copy.</p>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDK's own copy.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
@@ -433,7 +437,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>To build the JDK, you need a &quot;configuration&quot;, which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
<pre><code>bash configure [options]</code></pre>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem.</p>
<p>Some command line examples:</p>
<ul>
@@ -565,6 +569,47 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>This requires a more complex setup and build procedure. This section assumes you are familiar with cross-compiling in general, and will only deal with the particularities of cross-compiling the JDK. If you are new to cross-compiling, please see the <a href="https://en.wikipedia.org/wiki/Cross_compiler#External_links">external links at Wikipedia</a> for a good start on reading materials.</p>
<p>Cross-compiling the JDK requires you to be able to build both for the build platform and for the target platform. The reason for the former is that we need to build and execute tools during the build process, both native tools and Java tools.</p>
<p>If all you want to do is to compile a 32-bit version, for the same OS, on a 64-bit machine, consider using <code>--with-target-bits=32</code> instead of doing a full-blown cross-compilation. (While this surely is possible, it's a lot more work and will take much longer to build.)</p>
<h3 id="cross-compiling-the-easy-way-with-openjdk-devkits">Cross compiling the easy way with OpenJDK devkits</h3>
<p>The OpenJDK build system provides out-of-the box support for creating and using so called devkits. A <code>devkit</code> is basically a collection of a cross-compiling toolchain and a sysroot environment which can easily be used together with the <code>--with-devkit</code> configure option to cross compile the OpenJDK. On Linux/x86_64, the following command:</p>
<pre><code>bash configure --with-devkit=&lt;devkit-path&gt; --openjdk-target=ppc64-linux-gnu &amp;&amp; make</code></pre>
<p>will configure and build OpenJDK for Linux/ppc64 assuming that <code>&lt;devkit-path&gt;</code> points to a Linux/x86_64 to Linux/ppc64 devkit.</p>
<p>Devkits can be created from the <code>make/devkit</code> directory by executing:</p>
<pre><code>make [ TARGETS=&quot;&lt;TARGET_TRIPLET&gt;+&quot; ] [ BASE_OS=&lt;OS&gt; ] [ BASE_OS_VERSION=&lt;VER&gt; ]</code></pre>
<p>where <code>TARGETS</code> contains one or more <code>TARGET_TRIPLET</code>s of the form described in <a href="https://sourceware.org/autobook/autobook/autobook_17.html">section 3.4 of the GNU Autobook</a>. If no targets are given, a native toolchain for the current platform will be created. Currently, at least the following targets are known to work:</p>
<table>
<thead>
<tr class="header">
<th>Supported devkit targets</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>x86_64-linux-gnu</td>
</tr>
<tr class="even">
<td>aarch64-linux-gnu</td>
</tr>
<tr class="odd">
<td>arm-linux-gnueabihf</td>
</tr>
<tr class="even">
<td>ppc64-linux-gnu</td>
</tr>
<tr class="odd">
<td>ppc64le-linux-gnu</td>
</tr>
<tr class="even">
<td>s390x-linux-gnu</td>
</tr>
</tbody>
</table>
<p><code>BASE_OS</code> must be one of &quot;OEL6&quot; for Oracle Enterprise Linux 6 or &quot;Fedora&quot; (if not specified &quot;OEL6&quot; will be the default). If the base OS is &quot;Fedora&quot; the corresponding Fedora release can be specified with the help of the <code>BASE_OS_VERSION</code> option (with &quot;27&quot; as default version). If the build is successful, the new devkits can be found in the <code>build/devkit/result</code> subdirectory:</p>
<pre><code>cd make/devkit
make TARGETS=&quot;ppc64le-linux-gnu aarch64-linux-gnu&quot; BASE_OS=Fedora BASE_OS_VERSION=21
ls -1 ../../build/devkit/result/
x86_64-linux-gnu-to-aarch64-linux-gnu
x86_64-linux-gnu-to-ppc64le-linux-gnu</code></pre>
<p>Notice that devkits are not only useful for targeting different build platforms. Because they contain the full build dependencies for a system (i.e. compiler and root file system), they can easily be used to build well-known, reliable and reproducible build environments. You can for example create and use a devkit with GCC 7.3 and a Fedora 12 sysroot environment (with glibc 2.11) on Ubuntu 14.04 (which doesn't have GCC 7.3 by default) to produce OpenJDK binaries which will run on all Linux systems with runtime libraries newer than the ones from Fedora 12 (e.g. Ubuntu 16.04, SLES 11 or RHEL 6).</p>
<h3 id="boot-jdk-and-build-jdk">Boot JDK and Build JDK</h3>
<p>When cross-compiling, make sure you use a boot JDK that runs on the <em>build</em> system, and not on the <em>target</em> system.</p>
<p>To be able to build, we need a &quot;Build JDK&quot;, which is a JDK built from the current sources (that is, the same as the end result of the entire build process), but able to run on the <em>build</em> system, and not the <em>target</em> system. (In contrast, the Boot JDK should be from an older release, e.g. JDK 8 when building JDK 9.)</p>
@@ -634,6 +679,85 @@ 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>
</ul>
<h3 id="creating-and-using-sysroots-with-qemu-deboostrap">Creating And Using Sysroots With qemu-deboostrap</h3>
<p>Fortunately, you can create sysroots for foreign architectures with tools provided by your OS. On Debian/Ubuntu systems, one could use <code>qemu-deboostrap</code> to create the <em>target</em> system chroot, which would have the native libraries and headers specific to that <em>target</em> system. After that, we can use the cross-compiler on the <em>build</em> system, pointing into chroot to get the build dependencies right. This allows building for foreign architectures with native compilation speed.</p>
<p>For example, cross-compiling to AArch64 from x86_64 could be done like this:</p>
<ul>
<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:</p>
<pre><code>sudo qemu-debootstrap \
--arch=arm64 \
--verbose \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev \
--resolve-deps \
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/</code></pre></li>
<li><p>Make sure the symlinks inside the newly created chroot point to 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:</p>
<pre><code>CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure \
--openjdk-target=aarch64-linux-gnu \
--with-sysroot=~/sysroot-arm64 \
--with-toolchain-path=~/sysroot-arm64 \
--with-freetype-lib=~/sysroot-arm64/usr/lib/aarch64-linux-gnu/ \
--with-freetype-include=~/sysroot-arm64/usr/include/freetype2/ \
--x-libraries=~/sysroot-arm64/usr/lib/aarch64-linux-gnu/
make images
ls build/linux-aarch64-normal-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>
<p>Architectures that are known to successfully cross-compile like this are:</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Target</th>
<th style="text-align: left;"><code>CC</code></th>
<th style="text-align: left;"><code>CXX</code></th>
<th><code>--arch=...</code></th>
<th><code>--openjdk-target=...</code></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86</td>
<td style="text-align: left;">default</td>
<td style="text-align: left;">default</td>
<td>i386</td>
<td>i386-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">armhf</td>
<td style="text-align: left;">gcc-arm-linux-gnueabihf</td>
<td style="text-align: left;">g++-arm-linux-gnueabihf</td>
<td>armhf</td>
<td>arm-linux-gnueabihf</td>
</tr>
<tr class="odd">
<td style="text-align: left;">aarch64</td>
<td style="text-align: left;">gcc-aarch64-linux-gnu</td>
<td style="text-align: left;">g++-aarch64-linux-gnu</td>
<td>arm64</td>
<td>aarch64-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64el</td>
<td style="text-align: left;">gcc-powerpc64le-linux-gnu</td>
<td style="text-align: left;">g++-powerpc64le-linux-gnu</td>
<td>ppc64el</td>
<td>powerpc64le-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">gcc-s390x-linux-gnu</td>
<td style="text-align: left;">g++-s390x-linux-gnu</td>
<td>s390x</td>
<td>s390x-linux-gnu</td>
</tr>
</tbody>
</table>
<p>Additional architectures might be supported by Debian/Ubuntu Ports.</p>
<h3 id="building-for-armaarch64">Building for ARM/aarch64</h3>
<p>A common cross-compilation target is the ARM CPU. When building for ARM, it is useful to set the ABI profile. A number of pre-defined ABI profiles are available using <code>--with-abi-profile</code>: arm-vfp-sflt, arm-vfp-hflt, arm-sflt, armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer properly supported by the JDK.</p>
<p>The JDK contains two different ports for the aarch64 platform, one is the original aarch64 port from the <a href="http://openjdk.java.net/projects/aarch64-port">AArch64 Port Project</a> and one is a 64-bit version of the Oracle contributed ARM port. When targeting aarch64, by the default the original aarch64 port is used. To select the Oracle ARM 64 port, use <code>--with-cpu-port=arm64</code>. Also set the corresponding value (<code>aarch64</code> or <code>arm64</code>) to --with-abi-profile, to ensure a consistent build.</p>
@@ -680,14 +804,14 @@ cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</c
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_psMemoryPool.o:
/localhome/hg/jdk9-sandbox/hotspot/src/share/vm/services/psMemoryPool.cpp:1:1: error: &#39;failhere&#39; does not name a type
/localhome/git/jdk-sandbox/hotspot/src/share/vm/services/psMemoryPool.cpp:1:1: error: &#39;failhere&#39; does not name a type
... (rest of output omitted)
* All command lines available in /localhome/hg/jdk9-sandbox/build/linux-x64/make-support/failure-logs.
* All command lines available in /localhome/git/jdk-sandbox/build/linux-x64/make-support/failure-logs.
=== End of repeated output ===
=== Make failed targets repeated here ===
lib/CompileJvm.gmk:207: recipe for target &#39;/localhome/hg/jdk9-sandbox/build/linux-x64/hotspot/variant-server/libjvm/objs/psMemoryPool.o&#39; failed
lib/CompileJvm.gmk:207: recipe for target &#39;/localhome/git/jdk-sandbox/build/linux-x64/hotspot/variant-server/libjvm/objs/psMemoryPool.o&#39; failed
make/Main.gmk:263: recipe for target &#39;hotspot-server-libs&#39; failed
=== End of repeated output ===
@@ -710,11 +834,11 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
<p>Verify that the summary at the end looks correct. Are you indeed using the Boot JDK and native toolchain that you expect?</p>
<p>By default, the JDK has a strict approach where warnings from the compiler is considered errors which fail the build. For very new or very old compiler versions, this can trigger new classes of warnings, which thus fails the build. Run <code>configure</code> with <code>--disable-warnings-as-errors</code> to turn of this behavior. (The warnings will still show, but not make the build fail.)</p>
<h4 id="problems-with-incremental-rebuilds">Problems with Incremental Rebuilds</h4>
<p>Incremental rebuilds mean that when you modify part of the product, only the affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most common cause for unexpected build problems, together with inconsistencies between the different Mercurial repositories in the forest.</p>
<p>Incremental rebuilds mean that when you modify part of the product, only the affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most common cause for unexpected build problems.</p>
<p>Here are a suggested list of things to try if you are having unexpected build problems. Each step requires more time than the one before, so try them in order. Most issues will be solved at step 1 or 2.</p>
<ol type="1">
<li><p>Make sure your forest is up-to-date</p>
<p>Run <code>bash get_source.sh</code> to make sure you have the latest version of all repositories.</p></li>
<li><p>Make sure your repository is up-to-date</p>
<p>Run <code>git pull origin master</code> to make sure you have the latest changes.</p></li>
<li><p>Clean build results</p>
<p>The simplest way to fix incremental rebuild issues is to run <code>make clean</code>. This will remove all build results, but not the configuration or any build system support artifacts. In most cases, this will solve build errors resulting from incremental build mismatches.</p></li>
<li><p>Completely clean the build directory.</p>
@@ -723,8 +847,8 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
make dist-clean
bash configure $(cat current-configuration)
make</code></pre></li>
<li><p>Re-clone the Mercurial forest</p>
<p>Sometimes the Mercurial repositories themselves gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the &quot;sledgehammer approach&quot;: delete the entire forest, and re-clone it. If you have local changes, save them first to a different location using <code>hg export</code>.</p></li>
<li><p>Re-clone the Git repository</p>
<p>Sometimes the Git repository gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the &quot;sledgehammer approach&quot;: delete the entire repository, and re-clone it. If you have local changes, save them first to a different location using <code>git format-patch</code>.</p></li>
</ol>
<h3 id="specific-build-issues">Specific Build Issues</h3>
<h4 id="clock-skew">Clock Skew</h4>
@@ -746,20 +870,6 @@ spawn failed</code></pre>
<p>If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to <a href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>. Please include the relevant parts of the configure and/or build log.</p>
<p>If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<h2 id="hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</h2>
<h3 id="setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</h3>
<p>To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as <a href="http://openjdk.java.net/projects/code-tools/defpath">defpath</a>. It will help you setup a proper push path for pushing changes to the JDK.</p>
<p>Install the extension by cloning <code>http://hg.openjdk.java.net/code-tools/defpath</code> and updating your <code>.hgrc</code> file. Here's one way to do this:</p>
<pre><code>cd ~
mkdir hg-ext
cd hg-ext
hg clone http://hg.openjdk.java.net/code-tools/defpath
cat &lt;&lt; EOT &gt;&gt; ~/.hgrc
[extensions]
defpath=~/hg-ext/defpath/defpath.py
EOT</code></pre>
<p>You can now setup a proper push path using:</p>
<pre><code>hg defpath -d -u &lt;your OpenJDK username&gt;</code></pre>
<p>If you also have the <code>trees</code> extension installed in Mercurial, you will automatically get a <code>tdefpath</code> command, which is even more useful. By running <code>hg tdefpath -du &lt;username&gt;</code> in the top repository of your forest, all repos will get setup automatically. This is the recommended usage.</p>
<h3 id="bash-completion">Bash Completion</h3>
<p>The <code>configure</code> and <code>make</code> commands tries to play nice with bash command-line completion (using <code>&lt;tab&gt;</code> or <code>&lt;tab&gt;&lt;tab&gt;</code>). To use this functionality, make sure you enable completion in your <code>~/.bashrc</code> (see instructions for bash in your operating system).</p>
<p>Make completion will work out of the box, and will complete valid make targets. For instance, typing <code>make jdk-i&lt;tab&gt;</code> will complete to <code>make jdk-image</code>.</p>
@@ -813,14 +923,6 @@ sudo mv /tmp/configure /usr/local/bin</code></pre>
<h4 id="rebuilding-part-of-java.base-jdk_filter">Rebuilding Part of java.base (JDK_FILTER)</h4>
<p>If you are modifying files in <code>java.base</code>, which is the by far largest module in the JDK, then you need to rebuild all those files whenever a single file has changed. (This inefficiency will hopefully be addressed in JDK 10.)</p>
<p>As a hack, you can use the make control variable <code>JDK_FILTER</code> to specify a pattern that will be used to limit the set of files being recompiled. For instance, <code>make java.base JDK_FILTER=javax/crypto</code> (or, to combine methods, <code>make java.base-java-only JDK_FILTER=javax/crypto</code>) will limit the compilation to files in the <code>javax.crypto</code> package.</p>
<h3 id="learn-about-mercurial">Learn About Mercurial</h3>
<p>To become an efficient JDK developer, it is recommended that you invest in learning Mercurial properly. Here are some links that can get you started:</p>
<ul>
<li><a href="http://www.mercurial-scm.org/wiki/GitConcepts">Mercurial for git users</a></li>
<li><a href="http://www.mercurial-scm.org/wiki/Tutorial">The official Mercurial tutorial</a></li>
<li><a href="http://hginit.com/">hg init</a></li>
<li><a href="http://hgbook.red-bean.com/read/">Mercurial: The Definitive Guide</a></li>
</ul>
<h2 id="understanding-the-build-system">Understanding the Build System</h2>
<p>This section will give you a more technical description on the details of the build system.</p>
<h3 id="configurations">Configurations</h3>

View File

@@ -3,11 +3,11 @@
## TL;DR (Instructions for the Impatient)
If you are eager to try out building the JDK, these simple steps works most of
the time. They assume that you have installed Mercurial (and Cygwin if running
the time. They assume that you have installed Git (and Cygwin if running
on Windows) and cloned the top-level JDK repository that you want to build.
1. [Get the complete source code](#getting-the-source-code): \
`hg clone http://hg.openjdk.java.net/jdk/jdk`
`git clone https://git.openjdk.java.net/jdk/`
2. [Run configure](#running-configure): \
`bash configure`
@@ -47,14 +47,14 @@ JDK.
Make sure you are getting the correct version. As of JDK 10, the source is no
longer split into separate repositories so you only need to clone one single
repository. At the [OpenJDK Mercurial server](http://hg.openjdk.java.net/) you
can see a list of all available forests. If you want to build an older version,
repository. At the [OpenJDK Git site](https://git.openjdk.java.net/) you
can see a list of all available repositories. If you want to build an older version,
e.g. JDK 8, it is recommended that you get the `jdk8u` forest, which contains
incremental updates, instead of the `jdk8` forest, which was frozen at JDK 8 GA.
If you are new to Mercurial, a good place to start is the [Mercurial Beginner's
Guide](http://www.mercurial-scm.org/guide). The rest of this document assumes a
working knowledge of Mercurial.
If you are new to Git, a good place to start is the book [Pro
Git](https://git-scm.com/book/en/v2). The rest of this document
assumes a working knowledge of Git.
### Special Considerations
@@ -89,9 +89,21 @@ on where and how to check out the source code.
directory. This is especially important if your user name contains
spaces and/or mixed upper and lower case letters.
* Clone the JDK repository using the Cygwin command line `hg` client
as instructed in this document. That is, do *not* use another Mercurial
client such as TortoiseHg.
* You need to install a git client. You have two choices, Cygwin git or
Git for Windows. Unfortunately there are pros and cons with each choice.
* The Cygwin `git` client has no line ending issues and understands
Cygwin paths (which are used throughout the JDK build system).
However, it does not currently work well with the Skara CLI tooling.
Please see the [Skara wiki on Git clients](
https://wiki.openjdk.java.net/display/SKARA/Skara#Skara-Git) for
up-to-date information about the Skara git client support.
* The [Git for Windows](https://gitforwindows.org) client has issues
with line endings, and do not understand Cygwin paths. It does work
well with the Skara CLI tooling, however. To alleviate the line ending
problems, make sure you set `core.autocrlf` to `false` (this is asked
during installation).
Failure to follow this procedure might result in hard-to-debug build
problems.
@@ -171,7 +183,7 @@ supported due to a too old bash; msys2 and the new Windows Subsystem for Linux
require effort to implement.)
Internally in the build system, all paths are represented as Unix-style paths,
e.g. `/cygdrive/c/hg/jdk9/Makefile` rather than `C:\hg\jdk9\Makefile`. This
e.g. `/cygdrive/c/git/jdk/Makefile` rather than `C:\git\jdk\Makefile`. This
rule also applies to input to the build system, e.g. in arguments to
`configure`. So, use `--with-msvcr-dll=/cygdrive/c/msvcr100.dll` rather than
`--with-msvcr-dll=c:\msvcr100.dll`. For details on this conversion, see the section
@@ -293,7 +305,7 @@ issues.
Linux gcc 7.3.0
macOS Apple Xcode 9.4 (using clang 9.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2017 update 15.5.5
Windows Microsoft Visual Studio 2017 update 15.9.16
### gcc
@@ -371,7 +383,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30
The minimum accepted version of Visual Studio is 2010. Older versions will not
be accepted by `configure`. The maximum accepted version of Visual Studio is
2017. Versions older than 2017 are unlikely to continue working for long.
2019. Versions older than 2017 are unlikely to continue working for long.
If you have multiple versions of Visual Studio installed, `configure` will by
default pick the latest. You can request a specific version to be used by
@@ -436,8 +448,8 @@ If a required library is not detected by `configure`, you need to provide the
path to it. There are two forms of the `configure` arguments to point to an
external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise,
but require the include files an library files to reside in a default hierarchy
under this directory. In most cases, it works fine.
but require the include files and library files to reside in a default
hierarchy under this directory. In most cases, it works fine.
As a fallback, the second version allows you to point to the include directory
and the lib directory separately.
@@ -447,7 +459,7 @@ and the lib directory separately.
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library,
rather than bundling the JDKs own copy.
rather than bundling the JDK's own copy.
* To install on an apt-based Linux, try running `sudo apt-get install
libfreetype6-dev`.
@@ -586,8 +598,8 @@ bash configure [options]
This will create an output directory containing the configuration and setup an
area for the build result. This directory typically looks like
`build/linux-x64-normal-server-release`, but the actual name depends on your
specific configuration. (It can also be set directly, see [Using Multiple
`build/linux-x64-server-release`, but the actual name depends on your specific
configuration. (It can also be set directly, see [Using Multiple
Configurations](#using-multiple-configurations)). This directory is referred to
as `$BUILD` in this documentation.
@@ -875,6 +887,64 @@ If all you want to do is to compile a 32-bit version, for the same OS, on a
full-blown cross-compilation. (While this surely is possible, it's a lot more
work and will take much longer to build.)
### Cross compiling the easy way with OpenJDK devkits
The OpenJDK build system provides out-of-the box support for creating and using
so called devkits. A `devkit` is basically a collection of a cross-compiling
toolchain and a sysroot environment which can easily be used together with the
`--with-devkit` configure option to cross compile the OpenJDK. On Linux/x86_64,
the following command:
```
bash configure --with-devkit=<devkit-path> --openjdk-target=ppc64-linux-gnu && make
```
will configure and build OpenJDK for Linux/ppc64 assuming that `<devkit-path>`
points to a Linux/x86_64 to Linux/ppc64 devkit.
Devkits can be created from the `make/devkit` directory by executing:
```
make [ TARGETS="<TARGET_TRIPLET>+" ] [ BASE_OS=<OS> ] [ BASE_OS_VERSION=<VER> ]
```
where `TARGETS` contains one or more `TARGET_TRIPLET`s of the form
described in [section 3.4 of the GNU Autobook](
https://sourceware.org/autobook/autobook/autobook_17.html). If no
targets are given, a native toolchain for the current platform will be
created. Currently, at least the following targets are known to work:
Supported devkit targets
------------------------
x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
ppc64-linux-gnu
ppc64le-linux-gnu
s390x-linux-gnu
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or
"Fedora" (if not specified "OEL6" will be the default). If the base OS
is "Fedora" the corresponding Fedora release can be specified with the
help of the `BASE_OS_VERSION` option (with "27" as default version).
If the build is successful, the new devkits can be found in the
`build/devkit/result` subdirectory:
```
cd make/devkit
make TARGETS="ppc64le-linux-gnu aarch64-linux-gnu" BASE_OS=Fedora BASE_OS_VERSION=21
ls -1 ../../build/devkit/result/
x86_64-linux-gnu-to-aarch64-linux-gnu
x86_64-linux-gnu-to-ppc64le-linux-gnu
```
Notice that devkits are not only useful for targeting different build
platforms. Because they contain the full build dependencies for a
system (i.e. compiler and root file system), they can easily be used
to build well-known, reliable and reproducible build environments. You
can for example create and use a devkit with GCC 7.3 and a Fedora 12
sysroot environment (with glibc 2.11) on Ubuntu 14.04 (which doesn't
have GCC 7.3 by default) to produce OpenJDK binaries which will run on
all Linux systems with runtime libraries newer than the ones from
Fedora 12 (e.g. Ubuntu 16.04, SLES 11 or RHEL 6).
### Boot JDK and Build JDK
When cross-compiling, make sure you use a boot JDK that runs on the *build*
@@ -1018,6 +1088,67 @@ Note that X11 is needed even if you only want to build a headless JDK.
* If the X11 libraries are not properly detected by `configure`, you can
point them out by `--with-x`.
### Creating And Using Sysroots With qemu-deboostrap
Fortunately, you can create sysroots for foreign architectures with tools
provided by your OS. On Debian/Ubuntu systems, one could use `qemu-deboostrap` to
create the *target* system chroot, which would have the native libraries and headers
specific to that *target* system. After that, we can use the cross-compiler on the *build*
system, pointing into chroot to get the build dependencies right. This allows building
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 qemu-debootstrap \
--arch=arm64 \
--verbose \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev \
--resolve-deps \
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/
```
* 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:
```
CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure \
--openjdk-target=aarch64-linux-gnu \
--with-sysroot=~/sysroot-arm64 \
--with-toolchain-path=~/sysroot-arm64 \
--with-freetype-lib=~/sysroot-arm64/usr/lib/aarch64-linux-gnu/ \
--with-freetype-include=~/sysroot-arm64/usr/include/freetype2/ \
--x-libraries=~/sysroot-arm64/usr/lib/aarch64-linux-gnu/
make images
ls build/linux-aarch64-normal-server-release/
```
The build does not create new files in that chroot, so it can be reused for multiple builds
without additional cleanup.
Architectures that are known to successfully cross-compile like this are:
Target `CC` `CXX` `--arch=...` `--openjdk-target=...`
------------ ------------------------- --------------------------- ------------ ----------------------
x86 default default i386 i386-linux-gnu
armhf gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf armhf arm-linux-gnueabihf
aarch64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu arm64 aarch64-linux-gnu
ppc64el gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu ppc64el powerpc64le-linux-gnu
s390x gcc-s390x-linux-gnu g++-s390x-linux-gnu s390x s390x-linux-gnu
Additional architectures might be supported by Debian/Ubuntu Ports.
### Building for ARM/aarch64
A common cross-compilation target is the ARM CPU. When building for ARM, it is
@@ -1158,14 +1289,14 @@ ERROR: Build failed for target 'hotspot' in configuration 'linux-x64' (exit code
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_psMemoryPool.o:
/localhome/hg/jdk9-sandbox/hotspot/src/share/vm/services/psMemoryPool.cpp:1:1: error: 'failhere' does not name a type
/localhome/git/jdk-sandbox/hotspot/src/share/vm/services/psMemoryPool.cpp:1:1: error: 'failhere' does not name a type
... (rest of output omitted)
* All command lines available in /localhome/hg/jdk9-sandbox/build/linux-x64/make-support/failure-logs.
* All command lines available in /localhome/git/jdk-sandbox/build/linux-x64/make-support/failure-logs.
=== End of repeated output ===
=== Make failed targets repeated here ===
lib/CompileJvm.gmk:207: recipe for target '/localhome/hg/jdk9-sandbox/build/linux-x64/hotspot/variant-server/libjvm/objs/psMemoryPool.o' failed
lib/CompileJvm.gmk:207: recipe for target '/localhome/git/jdk-sandbox/build/linux-x64/hotspot/variant-server/libjvm/objs/psMemoryPool.o' failed
make/Main.gmk:263: recipe for target 'hotspot-server-libs' failed
=== End of repeated output ===
@@ -1255,17 +1386,15 @@ Incremental rebuilds mean that when you modify part of the product, only the
affected parts get rebuilt. While this works great in most cases, and
significantly speed up the development process, from time to time complex
interdependencies will result in an incorrect build result. This is the most
common cause for unexpected build problems, together with inconsistencies
between the different Mercurial repositories in the forest.
common cause for unexpected build problems.
Here are a suggested list of things to try if you are having unexpected build
problems. Each step requires more time than the one before, so try them in
order. Most issues will be solved at step 1 or 2.
1. Make sure your forest is up-to-date
1. Make sure your repository is up-to-date
Run `bash get_source.sh` to make sure you have the latest version of all
repositories.
Run `git pull origin master` to make sure you have the latest changes.
2. Clean build results
@@ -1290,13 +1419,13 @@ order. Most issues will be solved at step 1 or 2.
make
```
4. Re-clone the Mercurial forest
4. Re-clone the Git repository
Sometimes the Mercurial repositories themselves gets in a state that causes
the product to be un-buildable. In such a case, the simplest solution is
often the "sledgehammer approach": delete the entire forest, and re-clone
it. If you have local changes, save them first to a different location
using `hg export`.
Sometimes the Git repository gets in a state that causes the product
to be un-buildable. In such a case, the simplest solution is often the
"sledgehammer approach": delete the entire repository, and re-clone it.
If you have local changes, save them first to a different location using
`git format-patch`.
### Specific Build Issues
@@ -1347,38 +1476,6 @@ contact the Adoption Group. See the section on [Contributing to OpenJDK](
## Hints and Suggestions for Advanced Users
### Setting Up a Forest for Pushing Changes (defpath)
To help you prepare a proper push path for a Mercurial repository, there exists
a useful tool known as [defpath](
http://openjdk.java.net/projects/code-tools/defpath). It will help you setup a
proper push path for pushing changes to the JDK.
Install the extension by cloning
`http://hg.openjdk.java.net/code-tools/defpath` and updating your `.hgrc` file.
Here's one way to do this:
```
cd ~
mkdir hg-ext
cd hg-ext
hg clone http://hg.openjdk.java.net/code-tools/defpath
cat << EOT >> ~/.hgrc
[extensions]
defpath=~/hg-ext/defpath/defpath.py
EOT
```
You can now setup a proper push path using:
```
hg defpath -d -u <your OpenJDK username>
```
If you also have the `trees` extension installed in Mercurial, you will
automatically get a `tdefpath` command, which is even more useful. By running
`hg tdefpath -du <username>` in the top repository of your forest, all repos
will get setup automatically. This is the recommended usage.
### Bash Completion
The `configure` and `make` commands tries to play nice with bash command-line
@@ -1521,16 +1618,6 @@ instance, `make java.base JDK_FILTER=javax/crypto` (or, to combine methods,
`make java.base-java-only JDK_FILTER=javax/crypto`) will limit the compilation
to files in the `javax.crypto` package.
### Learn About Mercurial
To become an efficient JDK developer, it is recommended that you invest in
learning Mercurial properly. Here are some links that can get you started:
* [Mercurial for git users](http://www.mercurial-scm.org/wiki/GitConcepts)
* [The official Mercurial tutorial](http://www.mercurial-scm.org/wiki/Tutorial)
* [hg init](http://hginit.com/)
* [Mercurial: The Definitive Guide](http://hgbook.red-bean.com/read/)
## Understanding the Build System
This section will give you a more technical description on the details of the

54
doc/ide.html Normal file
View File

@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>IDE support in the JDK</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">IDE support in the JDK</h1>
</header>
<nav id="TOC">
<ul>
<li><a href="#introduction">Introduction</a><ul>
<li><a href="#ide-support-for-native-code">IDE support for native code</a></li>
<li><a href="#ide-support-for-java-code">IDE support for Java code</a></li>
</ul></li>
</ul>
</nav>
<h2 id="introduction">Introduction</h2>
<p>When you are familiar with building and testing the JDK, you may want to configure an IDE to work with the source code. The instructions differ a bit depending on whether you are interested in working with the native (C/C++) or the Java code.</p>
<h3 id="ide-support-for-native-code">IDE support for native code</h3>
<p>There are a few ways to generate IDE configuration for the native sources, depending on which IDE to use.</p>
<h4 id="visual-studio-code">Visual Studio Code</h4>
<p>The make system can generate a <a href="https://code.visualstudio.com">Visual Studio Code</a> workspace that has C/C++ source indexing configured correctly, as well as launcher targets for tests and the Java launcher. After configuring, a workspace for the configuration can be generated using:</p>
<pre class="shell"><code>make vscode-project</code></pre>
<p>This creates a file called <code>jdk.code-workspace</code> in the build output folder. The full location will be printed after the workspace has been generated. To use it, choose <code>File -&gt; Open Workspace...</code> in Visual Studio Code.</p>
<h5 id="alternative-indexers">Alternative indexers</h5>
<p>The main <code>vscode-project</code> target configures the default C++ support in Visual Studio Code. There are also other source indexers that can be installed, that may provide additional features. It's currently possible to generate configuration for two such indexers, <a href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can be configured by appending the name of the indexer to the make target, such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
<h4 id="visual-studio">Visual Studio</h4>
<p>This section is a work in progress.</p>
<pre class="shell"><code>make ide-project</code></pre>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
<pre class="shell"><code>make compile-commands</code></pre>
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
<p>This section is a work in progress.</p>
</body>
</html>

73
doc/ide.md Normal file
View File

@@ -0,0 +1,73 @@
% IDE support in the JDK
## Introduction
When you are familiar with building and testing the JDK, you may want to
configure an IDE to work with the source code. The instructions differ a bit
depending on whether you are interested in working with the native (C/C++) or
the Java code.
### IDE support for native code
There are a few ways to generate IDE configuration for the native sources,
depending on which IDE to use.
#### Visual Studio Code
The make system can generate a [Visual Studio Code](https://code.visualstudio.com)
workspace that has C/C++ source indexing configured correctly, as well as
launcher targets for tests and the Java launcher. After configuring, a workspace
for the configuration can be generated using:
```shell
make vscode-project
```
This creates a file called `jdk.code-workspace` in the build output folder. The
full location will be printed after the workspace has been generated. To use it,
choose `File -> Open Workspace...` in Visual Studio Code.
##### Alternative indexers
The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as:
```shell
make vscode-project-clangd
```
Additional instructions for configuring the given indexer will be displayed
after the workspace has been generated.
#### Visual Studio
This section is a work in progress.
```shell
make ide-project
```
#### Compilation Database
The make system can generate generic native code indexing support in the form of
a [Compilation Database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
that can be used by many different IDEs and source code indexers.
```shell
make compile-commands
```
It's also possible to generate the Compilation Database for the HotSpot source
code only, which is a bit faster as it includes less information.
```shell
make compile-commands-hotspot
```
### IDE support for Java code
This section is a work in progress.

View File

@@ -11,14 +11,14 @@
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css">
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<header>
<header id="title-block-header">
<h1 class="title">Testing the JDK</h1>
</header>
<nav id="TOC">
@@ -27,14 +27,20 @@
<li><a href="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#common-test-groups">Common Test Groups</a></li>
<li><a href="#jtreg">JTReg</a></li>
<li><a href="#gtest">Gtest</a></li>
</ul></li>
<li><a href="#test-results-and-summary">Test results and summary</a></li>
<li><a href="#test-suite-control">Test suite control</a><ul>
<li><a href="#general-keywords-test_opts">General keywords (TEST_OPTS)</a></li>
<li><a href="#jtreg-keywords">JTReg keywords</a></li>
<li><a href="#gtest-keywords">Gtest keywords</a></li>
</ul></li>
<li><a href="#notes-for-specific-tests">Notes for Specific Tests</a><ul>
<li><a href="#docker-tests">Docker Tests</a></li>
<li><a href="#client-ui-tests">Client UI Tests</a></li>
</ul></li>
</ul>
</nav>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
@@ -54,6 +60,19 @@ $ make exploded-run-test TEST=tier2</code></pre>
<p>All functionality is available using the run-test make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, run-test-only can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make run-test-tier1</code> is equivalent to <code>make run-test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>run-test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. 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>
<p>Ideally, all tests are run for every change but this may not be practical due to the limited testing resources, the scope of the change, etc.</p>
<p>The source tree currently defines a few common test groups in the relevant <code>TEST.groups</code> files. There are test groups that cover a specific component, for example <code>hotspot_gc</code>. It is a good idea to look into <code>TEST.groups</code> files to get a sense what tests are relevant to a particular JDK component.</p>
<p>Component-specific tests may miss some unintended consequences of a change, so other tests should also be run. Again, it might be impractical to run all tests, and therefore <em>tiered</em> test groups exist. Tiered test groups are not component-specific, but rather cover the significant parts of the entire JDK.</p>
<p>Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain progressively more thorough, slower, and sometimes less stable tests, or the tests that require special configuration.</p>
<p>Contributors are expected to run the tests for the areas that are changed, and the first N tiers they can afford to run, but at least tier1.</p>
<p>A brief description of the tiered test groups:</p>
<ul>
<li><p><code>tier1</code>: This is the lowest test tier. Multiple developers run these tests every day. Because of the widespread use, the tests in <code>tier1</code> are carefully selected and optimized to run fast, and to run in the most stable manner. The test failures in <code>tier1</code> are usually followed up on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows, if enabled, run <code>tier1</code> tests.</p></li>
<li><p><code>tier2</code>: This test group covers even more ground. These contain, among other things, tests that either run for too long to be at <code>tier1</code>, or may require special configuration, or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components (for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful tests, the tests for corner cases not covered by previous tiers, plus the tests that require GUIs. As such, this suite should either be run with low concurrency (<code>TEST_JOBS=1</code>), or without headful tests (<code>JTREG_KEYWORDS=\!headful</code>), or both.</p></li>
<li><p><code>tier4</code>: This test group includes every other test not covered by previous tiers. It includes, for example, <code>vmTestbase</code> suites for Hotspot, which run for many hours even on large machines. It also runs GUI tests, so the same <code>TEST_JOBS</code> and <code>JTREG_KEYWORDS</code> caveats apply.</p></li>
</ul>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot:tier1</code>, <code>test/jdk:jdk_util</code> or <code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can be specified either as an absolute path, or a path relative to the JDK top directory, or the <code>test</code> directory. For simplicity, the hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can be abbreviated as just <code>hotspot</code>.</p>
@@ -86,11 +105,24 @@ TEST FAILURE</code></pre>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h3 id="general-keywords-test_opts">General keywords (TEST_OPTS)</h3>
<p>Some keywords are valid across different test suites. If you want to run tests from multiple test suites, or just dont want to care which test suite specific control variable to use, then you can use the general TEST_OPTS control variable.</p>
<p>There are also some keywords that applies globally to the test runner system, not to any specific test suites. These are also available as TEST_OPTS keywords.</p>
<h4 id="jobs">JOBS</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="timeout_factor">TIMEOUT_FACTOR</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="java_options">JAVA_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="aot_modules">AOT_MODULES</h4>
<p>Applies to JTReg and GTest.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h4 id="jobs-1">JOBS</h4>
<p>The test concurrency (<code>-concurrency</code>).</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than 12.</p>
<h4 id="timeout">TIMEOUT</h4>
<h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
<h4 id="test_mode">TEST_MODE</h4>
@@ -109,13 +141,23 @@ TEST FAILURE</code></pre>
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
<p>Limit memory consumption for JTReg test framework and VM under test. Set to 0 to disable the limits.</p>
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
<h4 id="keywords">KEYWORDS</h4>
<p>JTReg kewords sent to JTReg using <code>-k</code>. Please be careful in making sure that spaces and special characters (like <code>!</code>) are properly quoted. To avoid some issues, the special value <code>%20</code> can be used instead of space.</p>
<h4 id="extra_problem_lists">EXTRA_PROBLEM_LISTS</h4>
<p>Use additional problem lists file or files, in addition to the default ProblemList.txt located at the JTReg test roots.</p>
<p>If multiple file names are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<p>The file names should be either absolute, or relative to the JTReg test root of the tests to be run.</p>
<h4 id="options">OPTIONS</h4>
<p>Additional options to the JTReg test framework.</p>
<p>Use <code>JTREG=&quot;OPTIONS=--help all&quot;</code> to see all available JTReg options.</p>
<h4 id="java_options">JAVA_OPTIONS</h4>
<h4 id="java_options-1">JAVA_OPTIONS</h4>
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<h4 id="vm_options-1">VM_OPTIONS</h4>
<p>Additional VM options to JTReg (<code>-vmoption</code>).</p>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
@@ -123,5 +165,23 @@ TEST FAILURE</code></pre>
<h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST=&quot;OPTIONS=--help&quot;</code> to see all available Gtest options.</p>
<h4 id="aot_modules-2">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
<h3 id="docker-tests">Docker Tests</h3>
<p>Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:</p>
<pre><code>$ make run-test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot;</code></pre>
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
<pre><code>$ make run-test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="client-ui-tests">Client UI Tests</h3>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect “Turn keyboard access on or off” option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for “Turn off Windows key hotkeys” and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
</body>
</html>

View File

@@ -52,6 +52,52 @@ 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
Ideally, all tests are run for every change but this may not be practical due to the limited
testing resources, the scope of the change, etc.
The source tree currently defines a few common test groups in the relevant `TEST.groups`
files. There are test groups that cover a specific component, for example `hotspot_gc`.
It is a good idea to look into `TEST.groups` files to get a sense what tests are relevant
to a particular JDK component.
Component-specific tests may miss some unintended consequences of a change, so other
tests should also be run. Again, it might be impractical to run all tests, and therefore
_tiered_ test groups exist. Tiered test groups are not component-specific, but rather cover
the significant parts of the entire JDK.
Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to
contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain
progressively more thorough, slower, and sometimes less stable tests, or the tests that require
special configuration.
Contributors are expected to run the tests for the areas that are changed, and the first N tiers
they can afford to run, but at least tier1.
A brief description of the tiered test groups:
- `tier1`: This is the lowest test tier. Multiple developers run these tests every day.
Because of the widespread use, the tests in `tier1` are carefully selected and optimized to run
fast, and to run in the most stable manner. The test failures in `tier1` are usually followed up
on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows,
if enabled, run `tier1` tests.
- `tier2`: This test group covers even more ground. These contain, among other things,
tests that either run for too long to be at `tier1`, or may require special configuration,
or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components
(for example, XML).
- `tier3`: This test group includes more stressful tests, the tests for corner cases
not covered by previous tiers, plus the tests that require GUIs. As such, this suite
should either be run with low concurrency (`TEST_JOBS=1`), or without headful tests
(`JTREG_KEYWORDS=\!headful`), or both.
- `tier4`: This test group includes every other test not covered by previous tiers. It includes,
for example, `vmTestbase` suites for Hotspot, which run for many hours even on large
machines. It also runs GUI tests, so the same `TEST_JOBS` and `JTREG_KEYWORDS` caveats
apply.
### JTReg
JTReg tests can be selected either by picking a JTReg test group, or a selection
@@ -162,6 +208,35 @@ proper quoting of command line arguments through.)
As far as possible, the names of the keywords have been standardized between
test suites.
### General keywords (TEST_OPTS)
Some keywords are valid across different test suites. If you want to run
tests from multiple test suites, or just don't want to care which test suite specific
control variable to use, then you can use the general TEST_OPTS control variable.
There are also some keywords that applies globally to the test runner system,
not to any specific test suites. These are also available as TEST_OPTS keywords.
#### JOBS
Currently only applies to JTReg.
#### TIMEOUT_FACTOR
Currently only applies to JTReg.
#### VM_OPTIONS
Applies to JTReg, GTest and Micro.
#### JAVA_OPTIONS
Applies to JTReg, GTest and Micro.
#### AOT_MODULES
Applies to JTReg and GTest.
### JTReg keywords
#### JOBS
@@ -171,7 +246,7 @@ Defaults to TEST_JOBS (if set by `--with-test-jobs=`), otherwise it defaults to
JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
never more than 12.
#### TIMEOUT
#### TIMEOUT_FACTOR
The timeout factor (`-timeoutFactor`).
Defaults to 4.
@@ -205,6 +280,24 @@ to disable the limits.
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).
#### KEYWORDS
JTReg kewords sent to JTReg using `-k`. Please be careful in making sure that
spaces and special characters (like `!`) are properly quoted. To avoid some
issues, the special value `%20` can be used instead of space.
#### EXTRA_PROBLEM_LISTS
Use additional problem lists file or files, in addition to the default
ProblemList.txt located at the JTReg test roots.
If multiple file names are specified, they should be separated by space (or, to
help avoid quoting issues, the special value `%20`).
The file names should be either absolute, or relative to the JTReg test root of
the tests to be run.
#### OPTIONS
Additional options to the JTReg test framework.
@@ -216,6 +309,16 @@ Additional Java options to JTReg (`-javaoption`).
#### VM_OPTIONS
Additional VM options to JTReg (`-vmoption`).
#### AOT_MODULES
Generate AOT modules before testing for the specified module, or set of
modules. If multiple modules are specified, they should be separated by space
(or, to help avoid quoting issues, the special value `%20`).
#### RETRY_COUNT
Retry failed tests up to a set number of times. Defaults to 0.
### Gtest keywords
#### REPEAT
@@ -230,6 +333,56 @@ Additional options to the Gtest test framework.
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
#### AOT_MODULES
Generate AOT modules before testing for the specified module, or set of
modules. If multiple modules are specified, they should be separated by space
(or, to help avoid quoting issues, the special value `%20`).
## Notes for Specific Tests
### Docker Tests
Docker tests with default parameters may fail on systems with glibc versions not
compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86).
For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker"
To run these tests correctly, additional parameters for the correct docker image are
required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
### Client UI Tests
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to disable
system key shortcuts prior testing. The steps to access and disable system key shortcuts
for various platforms are provided below.
#### MacOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails
on MacOS because it uses `CTRL + F1` key sequence to show or hide tooltip message
but the key combination is reserved by the operating system. To run the test correctly
the default global key shortcut should be disabled using the steps described above, and then deselect
"Turn keyboard access on or off" option which is responsible for `CTRL + F1` combination.
#### Linux
Open the Activities overview and start typing Settings; Choose Settings, click Devices,
then click Keyboard; set or override desired shortcut.
#### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to
User Configuration -> Administrative Templates -> Windows Components -> File Explorer;
in the right-side pane look for "Turn off Windows key hotkeys" and double click on it;
enable or disable hotkeys.
Note: restart is required to make the settings take effect.
---
# Override some definitions in the global css file that are not optimal for
# this document.

View File

@@ -1,9 +1,12 @@
# jetbrains/runtime:jbr11dev8env
FROM centos:7
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel
RUN yum -y install centos-release-scl
RUN yum -y install devtoolset-8
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel libXrandr-devel libXi-devel git
# Install Java 11
RUN wget --no-check-certificate -q --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1_linux-x64_bin.tar.gz" \
RUN wget https://cdn.azul.com/zulu/bin/zulu11.45.27-ca-jdk11.0.10-linux_x64.tar.gz \
-O - | tar xz -C /
ENV JAVA_HOME /jdk-11.0.1
ENV PATH $JAVA_HOME/bin:$PATH
ENV JAVA_HOME /zulu11.45.27-ca-jdk11.0.10-linux_x64
ENV PATH $JAVA_HOME/bin:/opt/rh/devtoolset-8/root/usr/bin:$PATH
RUN git config --global user.email "teamcity@buildserver.intellij.net"
RUN git config --global user.name "builduser"

View File

@@ -0,0 +1,7 @@
FROM i386/ubuntu:xenial
RUN linux32 apt-get update && apt-get install -y --no-install-recommends apt-utils
COPY jbrsdk-11.0.5-b1 /jbrsdk-11.0.5-b1
RUN linux32 apt-get -y install file build-essential zip unzip curl libx11-dev libxext-dev \
libxrender-dev libxrandr-dev libxtst-dev libxt-dev libcups2-dev libasound2-data \
libpng12-0 libasound2 libfreetype6 libfontconfig1-dev libasound2-dev autoconf

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
# common for all OS
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D_REENTRANT -DVM_LITTLE_ENDIAN -D_LP64 -DTARGET_ARCH_x86 ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DINCLUDE_SUFFIX_CPU=_x86 -DAMD64 -DHOTSPOT_LIB_ARCH='amd64' -DCOMPILER1 -DCOMPILER2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFT2_BUILD_LIBRARY")
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_gcc")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLINUX -DTARGET_OS_FAMILY_linux -DTARGET_COMPILER_gcc -D_GNU_SOURCE")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLINUX -DTARGET_OS_FAMILY_linux -DTARGET_COMPILER_gcc -D_GNU_SOURCE")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_ALLBSD_SOURCE -DTARGET_OS_FAMILY_bsd")
endif ()
if ("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN") #not sure about TARGET_COMPILER
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_visCPP -DWIN64 -D_WINDOWS -DTARGET_OS_FAMILY_windows")
endif ()
add_custom_target(configure
COMMAND bash configure --disable-warnings-as-errors
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../)
add_custom_target(configure_debug
COMMAND bash configure --disable-warnings-as-errors --enable-debug
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(JDK_RELEASE_TARGET "linux-x86_64-normal-server-release")
set(JDK_DEBUG_TARGET "linux-x86_64-normal-server-fastdebug")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(JDK_RELEASE_TARGET "macosx-x86_64-normal-server-release")
set(JDK_DEBUG_TARGET "macosx-x86_64-normal-server-fastdebug")
add_compile_definitions(MACOSX)
endif ()
add_custom_target(build
COMMAND make CONF=${JDK_RELEASE_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_images
COMMAND make images CONF=${JDK_RELEASE_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_debug
COMMAND make CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_images_debug
COMMAND make images CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(make_clean
COMMAND make clean CONF=${JDK_RELEASE_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(make_clean_debug
COMMAND make clean CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel>
<module name="java-gradle.main" target="11" />
<module name="java-gradle.test" target="11" />
</bytecodeTargetLevel>
</component>
</project>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="/usr/share/gradle" />
<option name="gradleJvm" value="11" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
<option name="useAutoImport" value="true" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>
</project>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-image:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/9c975152864050c6dbb7226ca1100694f0aa099d/common-image-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/e6fb35a9825421ec5a634af328e22546992d536d/common-image-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-io:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/e00b1c744993864d3c8dc698ba7d356122019398/common-io-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/dbb242585fdfd353dc4c2c0e8b3d8b0383dffbb2/common-io-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/ffbc5e05208c5c9cb43052438294c3ec5546aecf/common-lang-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/b695db345614a2b9344fd43a44d9ce722df4b39/common-lang-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/8def41c756831dde3c23f2d525e5667cfbfa1847/imageio-core-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/abcb2beaf21364467afe0e33824dce5730bef0c3/imageio-core-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/b8a31725bde0dc6f4e6b01711784f5ca0a2275f3/imageio-metadata-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/6fc3b223c81afbd4b829e2c924c096aab3ed0e9e/imageio-metadata-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/9bea1214eae7d287dc0c685fb6be75102318d080/imageio-tiff-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/cae5b3540dc01889dc9560db86f5f61bdc253107/imageio-tiff-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: junit:junit:4.12">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: net.java.dev.jna:jna:4.4.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/cb208278274bf12ebdb56c61bd7407e6f774d65a/jna-4.4.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/9d45d3dc35711eef7267d8b4fc2c0dc482ef9fd2/jna-4.4.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.apache.commons:commons-lang3:3.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/8873bd0bb5cb9ee37f1b04578eb7e26fcdd44cb0/commons-lang3-3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/d48f964b56a931ec2712ce5d411a40d114a69753/commons-lang3-3.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.hamcrest:hamcrest-library:1.3">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/4785a3c21320980282f9f33d0d1264a69040538f/hamcrest-library-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/47a7ee46628ab7133129cd7cef1e92657bc275e/hamcrest-library-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
</project>

View File

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

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="java-gradle:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
<output url="file://$MODULE_DIR$/../../out/production/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$/../../src/main" />
<content url="file://$MODULE_DIR$/../../../../../src">
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.instrument/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.logging/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management.rmi/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.naming/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.rmi/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.scripting/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.se/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.jgss/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.sasl/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.smartcardio/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql.rowset/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.xml.crypto/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/macosx/classes" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="java-gradle:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
<output-test url="file://$MODULE_DIR$/../../out/test/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$/../../src/test" />
<content url="file://$MODULE_DIR$/../../../../../test">
<sourceFolder url="file://$MODULE_DIR$/../../../../../test/jdk/jbu" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="java-gradle.main" />
<orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" name="Gradle: net.java.dev.jna:jna:4.4.0" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: org.apache.commons:commons-lang3:3.0" level="project" />
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-image:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-io:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2" level="project" />
</component>
<component name="TestModuleProperties" production-module="java-gradle.main" />
</module>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

View File

@@ -10,11 +10,11 @@ def test_jvm = {
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
} else {
if (OperatingSystem.current().isMacOsX()) {
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.jdk/Contents/Home/bin/java').absolutePath
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.4.jdk/Contents/Home/bin/java').absolutePath
} else if (OperatingSystem.current().isLinux()) {
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
} else {
file('../../../build/windows-x86_64-normal-server-release/images/j2sdk-image/bin/java.exe').absolutePath
file('../../../build/windows-x86_64-normal-server-release/images/jdk/bin/java.exe').absolutePath
}
}
}
@@ -75,15 +75,21 @@ test.dependsOn tasks.compileTestJava
test {
systemProperty "jb.java2d.metal", "true"
systemProperty "testdata", file('../../../jb/tests/testdata').absolutePath
systemProperty "testdata", file('../../../test/jdk/jbu/testdata').absolutePath
// Generate golden images for DroidFontTest and MixedTextTest
// systemProperty "gentestdata", ""
// Enable Java2D logging (https://confluence.jetbrains.com/display/JRE/Java2D+Rendering+Logging)
// systemProperty "sun.java2d.trace", "log"
// systemProperty "sun.java2d.trace", "log,pimpl"
outputs.upToDateWhen { false }
executable = test_jvm()
// Enable J2D logging (only in debug build)
// Enable async/dtrace profiler
jvmArgs "-XX:+PreserveFramePointer"
// Enable native J2D logging (only in debug build)
// Can be turned on for J2D by adding "#define DEBUG 1" into jdk/src/share/native/sun/java2d/Trace.h
// environment 'J2D_TRACE_LEVEL', '4'
@@ -96,24 +102,34 @@ if (OperatingSystem.current().isWindows()) {
def cyg_make_cmd = new File("c:/cygwin64/bin/make.exe")
if (cyg_make_cmd.exists()) make_cmd = cyg_make_cmd.absolutePath
}
task make_images << {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine {println it}
assert proc.waitFor() == 0
def test_run = false
task make_images {
doLast {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
}
task make_clean << {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine {println it}
assert proc.waitFor() == 0
task make_clean {
doLast {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
task run_test {
doLast {
test_run = true
}
}
tasks.compileJava.enabled = false
tasks.compileTestJava.dependsOn.clear()
tasks.cleanTest.dependsOn tasks.run_test
classes.dependsOn.clear()
classes.dependsOn tasks.make_images
tasks.cleanClasses.dependsOn tasks.make_clean

2
jb/project/jdk-cmake/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.idea
cmake-build-*

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
VENDOR_NAME="JetBrains s.r.o."
VENDOR_VERSION_STRING="JBR-${JBSDK_VERSION_WITH_DOTS}.${JDK_BUILD_NUMBER}-${build_number}"
[ -z ${bundle_type} ] || VENDOR_VERSION_STRING="${VENDOR_VERSION_STRING}-${bundle_type}"
do_reset_changes=0
do_reset_dcevm=0
HEAD_REVISION=0
function do_exit() {
exit_code=$1
[ $do_reset_changes -eq 1 ] && git checkout HEAD modules.list src/java.desktop/share/classes/module-info.java
if [ $do_reset_dcevm -eq 1 ]; then
[ ! -z $HEAD_REVISION ] && git reset --hard $HEAD_REVISION
fi
exit $exit_code
}

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# $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

@@ -0,0 +1,102 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
function do_configure {
sh configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=./modular-sdk \
--with-boot-jdk=amazon-corretto-11.0.5.10.1-linux-aarch64 \
--enable-cds=yes || exit $?
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=linux-aarch64-normal-server-release || exit $?
fi
make images CONF=linux-aarch64-normal-server-release test-image || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-aarch64-b${build_number}
BASE_DIR=build/linux-aarch64-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar \
--exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
-C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-aarch64-b$build_number
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.aarch64
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.aarch64 | sed s/" "//g | sed s/,$//g) \
--output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -pcf $JBR.tar -C $BASE_DIR ${JBR_BUNDLE} || exit $?
gzip $JBR.tar || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-aarch64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?

View File

@@ -0,0 +1,170 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies major version of OpenJDK e.g. 11_0_6 (instead of dots '.' underbars "_" are used)
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built; possible values:
# jcef - the release bundles with jcef
# dcevm - the release bundles with dcevm patches
# nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./jcef_linux_x64/modular-sdk
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_linux_x64
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${JCEF_PATH}/modular-sdk}"
source jb/project/tools/common.sh
function do_configure {
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--enable-cds=yes || do_exit $?
}
function create_jbr {
JBR_BUNDLE=jbr_${bundle_type}
case "${bundle_type}" in
"jcef" | "dcevm" | "nomod" | "fd")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
cat modules.list > modules_tmp.list
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
JBR=${JBR_BASE_NAME}-linux-x64-b${build_number}
echo Running jlink....
$JSDK/bin/jlink \
--module-path $JSDK/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output $BASE_DIR/$JBR_BUNDLE || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]; then
cp -R $BASE_DIR/$JBR_BUNDLE $BASE_DIR/jbr
rsync -av ${JCEF_PATH}/ $BASE_DIR/$JBR_BUNDLE/lib --exclude="modular-sdk" || do_exit $?
fi
grep -v "^JAVA_VERSION" $JSDK/release | grep -v "^MODULES" >> $BASE_DIR/$JBR_BUNDLE/release
echo Creating ${JBR}.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
tar -pcf ${JBR}.tar -C ${BASE_DIR} jbr || do_exit $?
gzip -f ${JBR}.tar || do_exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86_64-normal-server-release
JBSDK=${JBRSDK_BASE_NAME}-linux-x64-b${build_number}
case "$bundle_type" in
"jcef")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=1
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"nomod")
WITH_IMPORT_MODULES=""
;;
"fd")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=linux-x86_64-normal-server-fastdebug
JBSDK=${JBRSDK_BASE_NAME}-linux-x64-fastdebug-b${build_number}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$RELEASE_NAME || do_exit $?
JSDK=build/${RELEASE_NAME}/images/jdk
echo Fixing permissions
chmod -R a+r $JSDK
BASE_DIR=build/${RELEASE_NAME}/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE}
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]; then
rsync -av ${JCEF_PATH}/ $BASE_DIR/$JBRSDK_BUNDLE/lib --exclude="modular-sdk" || do_exit $?
fi
if [ "${bundle_type}" == "jcef" ] || [ "${bundle_type}" == "fd" ]; then
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf ${JBSDK}.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
-C ${BASE_DIR} ${JBRSDK_BUNDLE} || do_exit $?
gzip -f ${JBSDK}.tar || do_exit $?
fi
create_jbr || do_exit $?
if [ "$bundle_type" == "jcef" ]; then
make test-image CONF=$RELEASE_NAME || do_exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x64-b$build_number
echo Creating $JBSDK_TEST.tar.gz ...
tar -pcf ${JBRSDK_TEST}.tar -C ${BASE_DIR} --exclude='test/jdk/demos' test || do_exit $?
gzip -f ${JBRSDK_TEST}.tar || do_exit $?
fi
do_exit 0

View File

@@ -0,0 +1,82 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
linux32 bash configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-boot-jdk=/jbrsdk-11.0.5-b1 \
--enable-cds=yes || exit $?
make clean CONF=linux-x86-normal-server-release || exit $?
make images CONF=linux-x86-normal-server-release test-image || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-x86-b${build_number}
BASE_DIR=build/linux-x86-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man -C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-x86-b$build_number
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g | sed s/,$//g) --output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -pcf $JBR.tar -C $BASE_DIR $JBR_BUNDLE || exit $?
gzip $JBR.tar || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x86-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' --exclude='test/hotspot/gtest' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?

View File

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

View File

@@ -0,0 +1,221 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies major version of OpenJDK e.g. 11_0_6 (instead of dots '.' underbars "_" are used)
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built; possible values:
# jcef - the release bundles with jcef
# dcevm - the release bundles with dcevm patches
# nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./jcef_mac/modular-sdk
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_mac
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
architecture=$5 # aarch64 or x64
enable_aot=$6 # temporary param for building test jre with aot under aarch64
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${JCEF_PATH}/modular-sdk}"
architecture=${architecture:=x64}
source jb/project/tools/common.sh
function do_configure {
if [[ "${architecture}" == *aarch64* ]]; then
# NOTE: aot, cds aren't supported yet
WITH_JVM_FEATURES="--with-jvm-features=-aot"
if [[ "${enable_aot}" == *enable_aot* ]]; then
echo "Enable unstable jvm feature: AOT"
WITH_JVM_FEATURES=""
fi
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
--disable-hotspot-gtest --disable-javac-server --disable-full-docs --disable-manpages \
--enable-cds=no \
$WITH_JVM_FEATURES \
--with-extra-cflags="-F$(pwd)/Frameworks" \
--with-extra-cxxflags="-F$(pwd)/Frameworks" \
--with-extra-ldflags="-F$(pwd)/Frameworks" || do_exit $?
else
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
--enable-cds=yes || do_exit $?
fi
}
function create_jbr {
JBR_BUNDLE=jbr_${bundle_type}
case "${bundle_type}" in
"jcef" | "dcevm" | "nomod" | "fd")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
if [[ "${architecture}" == *aarch64* ]] && [[ "${enable_aot}" != *enable_aot* ]]; then
# aot isn't supported yet, so remove dependent modules
echo "Exclude jdk.internal.vm.compiler and jdk.aot (because aot not supported yet)"
cat modules.list | \
grep -v "jdk.internal.vm.compiler\|jdk.aot" \
> modules_tmp.list
else
cat modules.list > modules_tmp.list
fi
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
JRE_CONTENTS=${BASE_DIR}/${JBR_BUNDLE}/Contents
JRE_HOME=${JRE_CONTENTS}/Home
if [ -d "${JRE_CONTENTS}" ]; then
rm -rf ${JRE_CONTENTS}
fi
mkdir -p ${JRE_CONTENTS}
JBR=${JBR_BASE_NAME}-osx-${architecture}-b${build_number}
echo Running jlink....
${BASE_DIR}/$JBRSDK_BUNDLE/Contents/Home/bin/jlink \
--module-path ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JRE_HOME} || do_exit $?
grep -v "^JAVA_VERSION" ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release | grep -v "^MODULES" >> ${JRE_HOME}/release
cp -R ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/MacOS ${JRE_CONTENTS}
cp ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Info.plist ${JRE_CONTENTS}
rm -rf ${JRE_CONTENTS}/Frameworks || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]; then
cp -a ${JCEF_PATH}/Frameworks ${JRE_CONTENTS} || do_exit $?
fi
echo Creating ${JBR}.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
COPYFILE_DISABLE=1 tar -pczf ${JBR}.tar.gz --exclude='*.dSYM' --exclude='man' -C ${BASE_DIR} jbr || do_exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
CONF_ARCHITECTURE=x86_64
if [[ "${architecture}" == *aarch64* ]]; then
CONF_ARCHITECTURE=aarch64
fi
CONF_NAME=macosx-${CONF_ARCHITECTURE}-normal-server-release
JBSDK=${JBRSDK_BASE_NAME}-osx-${architecture}-b${build_number}
case "$bundle_type" in
"jcef")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=1
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"nomod")
WITH_IMPORT_MODULES=""
;;
"fd")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
CONF_NAME=macosx-${CONF_ARCHITECTURE}-normal-server-fastdebug
JBSDK=${JBRSDK_BASE_NAME}-osx-${architecture}-fastdebug-b${build_number}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
make clean CONF=$RELEASE_NAME || do_exit $?
fi
make images CONF=$CONF_NAME || do_exit $?
JSDK=build/${CONF_NAME}/images/jdk-bundle
BASE_DIR=jre
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR
mkdir $BASE_DIR || do_exit $?
cp -a $JSDK/jdk-$JBSDK_VERSION_WITH_DOTS.jdk $BASE_DIR/$JBRSDK_BUNDLE || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]; then
cp -a ${JCEF_PATH}/Frameworks $BASE_DIR/$JBRSDK_BUNDLE/Contents/
fi
if [ "${bundle_type}" == "jcef" ] || [ "${bundle_type}" == "fd" ]; then
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release
[ -f "${JBSDK}.tar.gz" ] && rm "${JBSDK}.tar.gz"
COPYFILE_DISABLE=1 tar -pczf ${JBSDK}.tar.gz -C ${BASE_DIR} \
--exclude='.DS_Store' --exclude='*~' \
--exclude='Home/demo' --exclude='Home/man' --exclude='Home/sample' \
${JBRSDK_BUNDLE} || do_exit $?
fi
create_jbr || do_exit $?
if [ "$bundle_type" == "jcef" ]; then
make test-image CONF=$CONF_NAME || do_exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-osx-test-${architecture}-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
[ -f "${JBRSDK_TEST}.tar.gz" ] && rm "${JBRSDK_TEST}.tar.gz"
COPYFILE_DISABLE=1 tar -pczf ${JBRSDK_TEST}.tar.gz -C build/${CONF_NAME}/images \
--exclude='test/jdk/demos' test || do_exit $?
fi
do_exit 0

View File

@@ -0,0 +1,120 @@
#!/bin/bash
APP_DIRECTORY=$1
APPL_USER=$2
APPL_PASSWORD=$3
APP_NAME=$4
BUNDLE_ID=$5
FAKE_ROOT="${6:-fake-root}"
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
echo "Usage: $0 AppDirectory Username Password"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
function publish-log() {
id=$1
file=$2
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
}
function altool-upload() {
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
OLD_HOME="$HOME"
export HOME="$FAKE_ROOT/home"
export TMPDIR="$FAKE_ROOT/tmp"
mkdir -p "$HOME"
mkdir -p "$TMPDIR"
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
# Reduce amount of downloads, cache transporter libraries
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
if [[ -f "$shared_itmstransporter" ]]; then
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
fi
# For some reason altool prints everything to stderr, not stdout
set +e
xcrun altool --notarize-app \
--username "$APPL_USER" --password "$APPL_PASSWORD" \
--primary-bundle-id "$BUNDLE_ID" \
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
unset TMPDIR
export HOME="$OLD_HOME"
set -e
}
#immediately exit script with an error if a command fails
set -euo pipefail
file="$APP_NAME.zip"
log "Zipping $file..."
rm -rf "$file"
ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY" "$file"
log "Notarizing $file..."
rm -rf "altool.init.out" "altool.check.out"
altool-upload "$file"
rm -rf "$file"
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
if [ -z "$notarization_info" ]; then
log "Faile to read RequestUUID from altool.init.out"
exit 10
fi
PATH="$PATH:/usr/local/bin/"
log "Notarization request sent, awaiting response"
spent=0
while true; do
# For some reason altool prints everything to stderr, not stdout
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
log "Current status: $status"
if [ "$status" = "invalid" ]; then
log "Notarization failed"
ec=1
elif [ "$status" = "success" ]; then
log "Notarization succeeded"
ec=0
else
if [ "$status" != "in progress" ]; then
log "Unknown notarization status, waiting more, altool output:"
cat "altool.check.out"
fi
if [[ $spent -gt 60 ]]; then
log "Waiting time out (apx 60 minutes)"
ec=2
break
fi
sleep 60
((spent += 1))
continue
fi
developer_log="developer_log.json"
log "Fetching $developer_log"
# TODO: Replace cut with trim or something better
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
wget "$url" -O "$developer_log" && cat "$developer_log" || true
if [ $ec != 0 ]; then
log "Publishing $developer_log"
publish-log "$notarization_info" "$developer_log"
fi
break
done
cat "altool.check.out"
rm -rf "altool.init.out" "altool.check.out"
exit $ec

View File

@@ -0,0 +1,107 @@
#!/bin/bash
APP_DIRECTORY=$1
JB_CERT=$2
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$JB_CERT" ]]; then
echo "Usage: $0 AppDirectory CertificateID"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
#immediately exit script with an error if a command fails
set -euo pipefail
# Cleanup files left from previous sign attempt (if any)
find "$APP_DIRECTORY" -name '*.cstemp' -exec rm '{}' \;
log "Signing libraries and executables..."
# -perm +111 searches for executables
for f in \
"Contents/Home/bin" \
"Contents/Home/lib"; do
if [ -d "$APP_DIRECTORY/$f" ]; then
find "$APP_DIRECTORY/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
-exec codesign --timestamp --force \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
fi
done
if [ -d "$APP_DIRECTORY/Contents/Frameworks" ]; then
log "Signing frameworks..."
for f in $APP_DIRECTORY/Contents/Frameworks/*; do
find "$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" \) \
-exec codesign --timestamp --force \
-v -s "$JB_CERT" \
--entitlements entitlements.xml {} \;
codesign --timestamp --force \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml "$f"
done
fi
log "Signing libraries in jars in $PWD"
# todo: add set -euo pipefail; into the inner sh -c
# `-e` prevents `grep -q && printf` loginc
# with `-o pipefail` there's no input for 'while' loop
find "$APP_DIRECTORY" -name '*.jar' \
-exec sh -c "set -u; unzip -l \"\$0\" | grep -q -e '\.dylib\$' -e '\.jnilib\$' -e '\.so\$' -e '^jattach\$' && printf \"\$0\0\" " {} \; |
while IFS= read -r -d $'\0' file; do
log "Processing libraries in $file"
rm -rf jarfolder jar.jar
mkdir jarfolder
filename="${file##*/}"
log "Filename: $filename"
cp "$file" jarfolder && (cd jarfolder && jar xf "$filename" && rm "$filename")
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "jattach" \) \
-exec codesign --timestamp --force \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
(cd jarfolder; zip -q -r -o ../jar.jar .)
mv jar.jar "$file"
done
rm -rf jarfolder jar.jar
log "Signing other files..."
for f in \
"Contents/MacOS"; do
if [ -d "$APP_DIRECTORY/$f" ]; then
find "$APP_DIRECTORY/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
-exec codesign --timestamp --force \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
fi
done
#log "Signing executable..."
#codesign --timestamp \
# -v -s "$JB_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml "$APP_DIRECTORY/Contents/MacOS/idea"
log "Signing whole app..."
codesign --timestamp \
-v -s "$JB_CERT" --options=runtime \
--force \
--entitlements entitlements.xml "$APP_DIRECTORY"
log "Verifying java is not broken"
find "$APP_DIRECTORY" \
-type f -name 'java' -perm +111 -exec {} -version \;

View File

@@ -0,0 +1,134 @@
#!/bin/bash -x
#immediately exit script with an error if a command fails
set -euo pipefail
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
INPUT_FILE=$1
EXPLODED=$2.exploded
BACKUP_JMODS=$2.backup
USERNAME=$3
PASSWORD=$4
CODESIGN_STRING=$5
NOTARIZE=$6
BUNDLE_ID=$7
cd "$(dirname "$0")"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
log "Deleting $EXPLODED ..."
if test -d "$EXPLODED"; then
find "$EXPLODED" -mindepth 1 -maxdepth 1 -exec chmod -R u+wx '{}' \;
fi
rm -rf "$EXPLODED"
mkdir "$EXPLODED"
rm -rf "$BACKUP_JMODS"
mkdir "$BACKUP_JMODS"
log "Unzipping $INPUT_FILE to $EXPLODED ..."
tar -xzvf "$INPUT_FILE" --directory $EXPLODED
BUILD_NAME="$(ls "$EXPLODED")"
sed -i '' s/BNDL/APPL/ $EXPLODED/$BUILD_NAME/Contents/Info.plist
rm -f $EXPLODED/$BUILD_NAME/Contents/CodeResources
rm "$INPUT_FILE"
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
fi
log "$INPUT_FILE extracted and removed"
APPLICATION_PATH="$EXPLODED/$BUILD_NAME"
find "$APPLICATION_PATH/Contents/Home/bin" \
-maxdepth 1 -type f -name '*.jnilib' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Linking $file"
b="$(basename "$file" .jnilib)"
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
fi
done
find "$APPLICATION_PATH/Contents/" \
-maxdepth 1 -type f -name '*.txt' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Moving $file"
mv "$file" "$APPLICATION_PATH/Contents/Resources"
fi
done
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
if [[ $non_plist -gt 0 ]]; then
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
exit 1
fi
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
./sign.sh "$APPLICATION_PATH" "$CODESIGN_STRING"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
if [ $attempt -eq $limit ]; then
set -e
fi
log "Signing failed, wait for 30 sec and try to sign again"
sleep 30
else
log "Signing done"
codesign -v "$APPLICATION_PATH" -vvvvv
log "Check sign done"
((attempt += limit))
fi
done
set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
# shellcheck disable=SC1090
source "$HOME/.notarize_token"
APP_NAME=$(echo ${INPUT_FILE} | awk -F"." '{ print $1 }')
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
FAKE_ROOT="$(pwd)/fake-root"
mkdir -p "$FAKE_ROOT"
echo "Notarization will use fake root: $FAKE_ROOT"
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME" "$BUNDLE_ID" "$FAKE_ROOT"
rm -rf "$FAKE_ROOT"
set +e
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH"
else
log "Notarization disabled"
log "Stapling disabled"
fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
#cd "$EXPLODED"
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $EXPLODED/$BUILD_NAME/Contents/Home
fi
tar -pczvf $INPUT_FILE --exclude='*.dSYM' --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

@@ -0,0 +1,30 @@
diff --git modules.list modules.list
index 33375b527c4..76539cbc0e0 100644
--- modules.list
+++ modules.list
@@ -55,4 +55,7 @@ jdk.unsupported,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef,
+gluegen.rt,
+jogl.all
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index b663b382f52..3e9acdc0c27 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -109,7 +109,11 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef,
+ jogl.all;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

View File

@@ -0,0 +1,27 @@
diff --git modules.list modules.list
index 33375b527c4..76539cbc0e0 100644
--- modules.list
+++ modules.list
@@ -55,4 +55,5 @@ jdk.unsupported,
jdk.xml.dom,
jdk.zipfs,
jdk.hotspot.agent,
-jdk.jcmd
+jdk.jcmd,
+jcef
diff --git src/java.desktop/share/classes/module-info.java src/java.desktop/share/classes/module-info.java
index b663b382f52..3e9acdc0c27 100644
--- src/java.desktop/share/classes/module-info.java
+++ src/java.desktop/share/classes/module-info.java
@@ -109,7 +109,10 @@ module java.desktop {
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop;
+ jdk.unsupported.desktop,
+ jcef;
+
+ exports java.awt.peer to jcef;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,488 @@
From 049d83cfb1db63a0c20cd53696686a7ae11be824 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 12 Dec 2018 19:38:28 +0100
Subject: [PATCH 03/44] Support for Concurrent Mark Sweep (CMS) collector
---
.../share/gc/cms/compactibleFreeListSpace.cpp | 139 ++++++++++++------
.../share/gc/cms/compactibleFreeListSpace.hpp | 5 +-
.../gc/cms/concurrentMarkSweepThread.cpp | 10 +-
src/hotspot/share/gc/serial/markSweep.cpp | 2 +-
src/hotspot/share/gc/shared/gcConfig.cpp | 2 +-
src/hotspot/share/gc/shared/space.cpp | 16 +-
src/hotspot/share/gc/shared/space.hpp | 6 +-
src/hotspot/share/gc/shared/space.inline.hpp | 16 +-
.../prims/jvmtiEnhancedRedefineClasses.cpp | 12 +-
src/hotspot/share/runtime/arguments.cpp | 6 +-
10 files changed, 135 insertions(+), 79 deletions(-)
diff --git a/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp b/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
index 4c9918627a2..f335173576f 100644
--- a/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
+++ b/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
@@ -376,55 +376,58 @@ CompactibleFreeListSpace::CompactibleFreeListSpace(BlockOffsetSharedArray* bs, M
_used_stable = 0;
}
+#define forward_compact_top_DEFN() \
+ assert(this == cp->space, "'this' should be current compaction space."); \
+ size_t compaction_max_size = pointer_delta(end(), compact_top); \
+ assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size), \
+ "virtual adjustObjectSize_v() method is not correct"); \
+ size_t adjusted_size = adjustObjectSize(size); \
+ assert(compaction_max_size >= MinChunkSize || compaction_max_size == 0, \
+ "no small fragments allowed"); \
+ assert(minimum_free_block_size() == MinChunkSize, \
+ "for de-virtualized reference below"); \
+ /* Can't leave a nonzero size, residual fragment smaller than MinChunkSize */ \
+ if (adjusted_size + MinChunkSize > compaction_max_size && \
+ adjusted_size != compaction_max_size) { \
+ do { \
+ /* switch to next compaction space*/ \
+ cp->space->set_compaction_top(compact_top); \
+ cp->space = cp->space->next_compaction_space(); \
+ if (cp->space == NULL) { \
+ cp->gen = CMSHeap::heap()->young_gen(); \
+ assert(cp->gen != NULL, "compaction must succeed"); \
+ cp->space = cp->gen->first_compaction_space(); \
+ assert(cp->space != NULL, "generation must have a first compaction space"); \
+ } \
+ compact_top = cp->space->bottom(); \
+ cp->space->set_compaction_top(compact_top); \
+ /* The correct adjusted_size may not be the same as that for this method */ \
+ /* (i.e., cp->space may no longer be "this" so adjust the size again. */ \
+ /* Use the virtual method which is not used above to save the virtual */ \
+ /* dispatch. */ \
+ adjusted_size = cp->space->adjust_object_size_v(size); \
+ compaction_max_size = pointer_delta(cp->space->end(), compact_top); \
+ assert(cp->space->minimum_free_block_size() == 0, "just checking"); \
+ } while (adjusted_size > compaction_max_size); \
+ }
+
+
HeapWord* CompactibleFreeListSpace::forward_compact_top(size_t size,
CompactPoint* cp, HeapWord* compact_top) {
- ShouldNotReachHere();
- return NULL;
+ forward_compact_top_DEFN()
+ return compact_top;
}
// Like CompactibleSpace forward() but always calls cross_threshold() to
// update the block offset table. Removed initialize_threshold call because
// CFLS does not use a block offset array for contiguous spaces.
HeapWord* CompactibleFreeListSpace::forward(oop q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
- // q is alive
- // First check if we should switch compaction space
- assert(this == cp->space, "'this' should be current compaction space.");
- size_t compaction_max_size = pointer_delta(end(), compact_top);
- assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size),
- "virtual adjustObjectSize_v() method is not correct");
- size_t adjusted_size = adjustObjectSize(size);
- assert(compaction_max_size >= MinChunkSize || compaction_max_size == 0,
- "no small fragments allowed");
- assert(minimum_free_block_size() == MinChunkSize,
- "for de-virtualized reference below");
- // Can't leave a nonzero size, residual fragment smaller than MinChunkSize
- if (adjusted_size + MinChunkSize > compaction_max_size &&
- adjusted_size != compaction_max_size) {
- do {
- // switch to next compaction space
- cp->space->set_compaction_top(compact_top);
- cp->space = cp->space->next_compaction_space();
- if (cp->space == NULL) {
- cp->gen = CMSHeap::heap()->young_gen();
- assert(cp->gen != NULL, "compaction must succeed");
- cp->space = cp->gen->first_compaction_space();
- assert(cp->space != NULL, "generation must have a first compaction space");
- }
- compact_top = cp->space->bottom();
- cp->space->set_compaction_top(compact_top);
- // The correct adjusted_size may not be the same as that for this method
- // (i.e., cp->space may no longer be "this" so adjust the size again.
- // Use the virtual method which is not used above to save the virtual
- // dispatch.
- adjusted_size = cp->space->adjust_object_size_v(size);
- compaction_max_size = pointer_delta(cp->space->end(), compact_top);
- assert(cp->space->minimum_free_block_size() == 0, "just checking");
- } while (adjusted_size > compaction_max_size);
- }
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
+ forward_compact_top_DEFN()
// store the forwarding pointer into the mark word
- if ((HeapWord*)q != compact_top) {
+ // the size of object changed for: new_version() != NULL
+ if (force_forward || (HeapWord*)q != compact_top || q->klass()->new_version() != NULL) {
q->forward_to(oop(compact_top));
assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
} else {
@@ -2209,13 +2212,60 @@ CompactibleFreeListSpace::refillLinearAllocBlock(LinearAllocBlock* blk) {
// Support for compaction
void CompactibleFreeListSpace::prepare_for_compaction(CompactPoint* cp) {
- scan_and_forward(this, cp, false);
- // of the free lists doesn't work after.
+ if (!Universe::is_redefining_gc_run()) {
+ scan_and_forward(this, cp, false);
+ } else {
+ // Redefinition run
+ scan_and_forward(this, cp, true);
+ }
// Prepare_for_compaction() uses the space between live objects
// so that later phase can skip dead space quickly. So verification
// of the free lists doesn't work after.
}
+bool CompactibleFreeListSpace::must_rescue(oop old_obj, oop new_obj) {
+ // Only redefined objects can have the need to be rescued.
+ if (oop(old_obj)->klass()->new_version() == NULL) return false;
+
+ int new_size = adjustObjectSize(old_obj->size_given_klass(oop(old_obj)->klass()->new_version()));
+ int original_size = adjustObjectSize(old_obj->size());
+
+ Generation* tenured_gen = CMSHeap::heap()->old_gen();
+ bool old_in_tenured = tenured_gen->is_in_reserved(old_obj);
+ bool new_in_tenured = tenured_gen->is_in_reserved(new_obj);
+ if (old_in_tenured == new_in_tenured) {
+ // Rescue if object may overlap with a higher memory address.
+ bool overlap = ((HeapWord*)old_obj + original_size < (HeapWord*)new_obj + new_size);
+ if (old_in_tenured) {
+ // Old and new address are in same space, so just compare the address.
+ // Must rescue if object moves towards the top of the space.
+ assert(space_index(old_obj) == space_index(new_obj), "old_obj and new_obj must be in same space");
+ } else {
+ // In the new generation, eden is located before the from space, so a
+ // simple pointer comparison is sufficient.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(new_obj), "new_obj must be in DefNewGeneration");
+ assert(overlap == (space_index(old_obj) < space_index(new_obj)), "slow and fast computation must yield same result");
+ }
+ return overlap;
+
+ } else {
+ assert(space_index(old_obj) != space_index(new_obj), "old_obj and new_obj must be in different spaces");
+ if (new_in_tenured) {
+ // Must never rescue when moving from the new into the old generation.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
+ assert(space_index(old_obj) > space_index(new_obj), "must be");
+ return false;
+
+ } else /* if (tenured_gen->is_in_reserved(old_obj)) */ {
+ // Must always rescue when moving from the old into the new generation.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(new_obj), "new_obj must be in DefNewGeneration");
+ assert(space_index(old_obj) < space_index(new_obj), "must be");
+ return true;
+ }
+ }
+}
+
void CompactibleFreeListSpace::adjust_pointers() {
// In other versions of adjust_pointers(), a bail out
// based on the amount of live data in the generation
@@ -2228,7 +2278,12 @@ void CompactibleFreeListSpace::adjust_pointers() {
}
void CompactibleFreeListSpace::compact() {
- scan_and_compact(this, false);
+ if(!Universe::is_redefining_gc_run()) {
+ scan_and_compact(this, false);
+ } else {
+ // Redefinition run
+ scan_and_compact(this, true);
+ }
}
// Fragmentation metric = 1 - [sum of (fbs**2) / (sum of fbs)**2]
diff --git a/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp b/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
index 9fd2ea58320..d29b81f6fca 100644
--- a/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
+++ b/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
@@ -201,7 +201,7 @@ class CompactibleFreeListSpace: public CompactibleSpace {
// Support for compacting cms
HeapWord* cross_threshold(HeapWord* start, HeapWord* end);
HeapWord* forward_compact_top(size_t size, CompactPoint* cp, HeapWord* compact_top);
- HeapWord* forward(oop q, size_t size, CompactPoint* cp, HeapWord* compact_top);
+ HeapWord* forward(oop q, size_t size, CompactPoint* cp, HeapWord* compact_top, bool force_forward);
// Initialization helpers.
void initializeIndexedFreeListArray();
@@ -576,6 +576,9 @@ class CompactibleFreeListSpace: public CompactibleSpace {
// Support for compaction.
void prepare_for_compaction(CompactPoint* cp);
+
+ bool must_rescue(oop old_obj, oop new_obj);
+
void adjust_pointers();
void compact();
// Reset the space to reflect the fact that a compaction of the
diff --git a/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp b/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
index 3ada5755875..b6e930922d7 100644
--- a/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
+++ b/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
@@ -78,10 +78,12 @@ void ConcurrentMarkSweepThread::run_service() {
while (!should_terminate()) {
sleepBeforeNextCycle();
if (should_terminate()) break;
- GCIdMark gc_id_mark;
- GCCause::Cause cause = _collector->_full_gc_requested ?
- _collector->_full_gc_cause : GCCause::_cms_concurrent_mark;
- _collector->collect_in_background(cause);
+ if (!Universe::is_redefining_gc_run()) {
+ GCIdMark gc_id_mark;
+ GCCause::Cause cause = _collector->_full_gc_requested ?
+ _collector->_full_gc_cause : GCCause::_cms_concurrent_mark;
+ _collector->collect_in_background(cause);
+ }
}
// Check that the state of any protocol for synchronization
diff --git a/src/hotspot/share/gc/serial/markSweep.cpp b/src/hotspot/share/gc/serial/markSweep.cpp
index d0ff86c8215..b4ed59f020c 100644
--- a/src/hotspot/share/gc/serial/markSweep.cpp
+++ b/src/hotspot/share/gc/serial/markSweep.cpp
@@ -247,7 +247,7 @@ void MarkSweep::copy_rescued_objects_back() {
FREE_RESOURCE_ARRAY(HeapWord, rescued_ptr, size);
- new_obj->init_mark();
+ new_obj->init_mark_raw();
assert(oopDesc::is_oop(new_obj), "must be a valid oop");
}
_rescued_oops->clear();
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index 9779df92447..adb0f5dd25c 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -106,7 +106,7 @@ void GCConfig::fail_if_unsupported_gc_is_selected() {
}
void GCConfig::select_gc_ergonomically() {
- if (AllowEnhancedClassRedefinition) {
+ if (AllowEnhancedClassRedefinition && !UseConcMarkSweepGC) {
// Enhanced class redefinition only supports serial GC at the moment
FLAG_SET_ERGO(bool, UseSerialGC, true);
} else if (os::is_server_class_machine()) {
diff --git a/src/hotspot/share/gc/shared/space.cpp b/src/hotspot/share/gc/shared/space.cpp
index bc0dd1980db..56b144b46f1 100644
--- a/src/hotspot/share/gc/shared/space.cpp
+++ b/src/hotspot/share/gc/shared/space.cpp
@@ -388,11 +388,11 @@ HeapWord* CompactibleSpace::forward_compact_top(size_t size, CompactPoint* cp, H
}
HeapWord* CompactibleSpace::forward(oop q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
compact_top = forward_compact_top(size, cp, compact_top);
// store the forwarding pointer into the mark word
- if ((HeapWord*)q != compact_top || (size_t)q->size() != size) {
+ if (force_forward || (HeapWord*)q != compact_top || (size_t)q->size() != size) {
q->forward_to(oop(compact_top));
assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
} else {
@@ -514,7 +514,7 @@ bool CompactibleSpace::must_rescue(oop old_obj, oop new_obj) {
} else {
assert(space_index(old_obj) != space_index(new_obj), "old_obj and new_obj must be in different spaces");
- if (tenured_gen->is_in_reserved(new_obj)) {
+ if (new_in_tenured) {
// Must never rescue when moving from the new into the old generation.
assert(GenCollectedHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
assert(space_index(old_obj) > space_index(new_obj), "must be");
@@ -858,14 +858,14 @@ void OffsetTableContigSpace::verify() const {
// Compute the forward sizes and leave out objects whose position could
// possibly overlap other objects.
HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
size_t forward_size = size;
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
forward_size = new_size;
}
@@ -879,7 +879,7 @@ HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
return compact_top;
}
- return forward(oop(q), forward_size, cp, compact_top);
+ return forward(oop(q), forward_size, cp, compact_top, force_forward);
}
// Compute the forwarding addresses for the objects that need to be rescued.
@@ -895,11 +895,11 @@ HeapWord* CompactibleSpace::forward_rescued(CompactPoint* cp, HeapWord* compact_
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
size = new_size;
}
- compact_top = cp->space->forward(oop(q), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(q), size, cp, compact_top, true);
assert(compact_top <= end(), "must not write over end of space!");
}
MarkSweep::_rescued_oops->clear();
diff --git a/src/hotspot/share/gc/shared/space.hpp b/src/hotspot/share/gc/shared/space.hpp
index 8eb5669fb79..901c89d8a30 100644
--- a/src/hotspot/share/gc/shared/space.hpp
+++ b/src/hotspot/share/gc/shared/space.hpp
@@ -421,7 +421,7 @@ public:
virtual void prepare_for_compaction(CompactPoint* cp) = 0;
// MarkSweep support phase3
DEBUG_ONLY(int space_index(oop obj));
- bool must_rescue(oop old_obj, oop new_obj);
+ virtual bool must_rescue(oop old_obj, oop new_obj);
HeapWord* rescue(HeapWord* old_obj);
virtual void adjust_pointers();
// MarkSweep support phase4
@@ -452,11 +452,11 @@ public:
// function of the then-current compaction space, and updates "cp->threshold
// accordingly".
virtual HeapWord* forward(oop q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
// (DCEVM) same as forwad, but can rescue objects. Invoked only during
// redefinition runs
HeapWord* forward_with_rescue(HeapWord* q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
HeapWord* forward_rescued(CompactPoint* cp, HeapWord* compact_top);
diff --git a/src/hotspot/share/gc/shared/space.inline.hpp b/src/hotspot/share/gc/shared/space.inline.hpp
index 6b109fcd2e5..8c255d6d428 100644
--- a/src/hotspot/share/gc/shared/space.inline.hpp
+++ b/src/hotspot/share/gc/shared/space.inline.hpp
@@ -163,6 +163,8 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
HeapWord* cur_obj = space->bottom();
HeapWord* scan_limit = space->scan_limit();
+ bool force_forward = false;
+
while (cur_obj < scan_limit) {
assert(!space->scanned_block_is_obj(cur_obj) ||
oop(cur_obj)->mark_raw()->is_marked() || oop(cur_obj)->mark_raw()->is_unlocked() ||
@@ -174,14 +176,15 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
size_t size = space->scanned_block_size(cur_obj);
if (redefinition_run) {
- compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top);
+ compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top, force_forward);
if (first_dead == NULL && oop(cur_obj)->is_gc_marked()) {
/* Was moved (otherwise, forward would reset mark),
set first_dead to here */
first_dead = cur_obj;
+ force_forward = true;
}
} else {
- compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top, false);
}
cur_obj += size;
@@ -197,9 +200,9 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
// see if we might want to pretend this object is alive so that
// we don't have to compact quite as often.
- if (cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
+ if (!redefinition_run && cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
oop obj = oop(cur_obj);
- compact_top = cp->space->forward(obj, obj->size(), cp, compact_top);
+ compact_top = cp->space->forward(obj, obj->size(), cp, compact_top, force_forward);
end_of_live = end;
} else {
// otherwise, it really is a free region.
@@ -352,7 +355,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
HeapWord* compaction_top = (HeapWord*)oop(cur_obj)->forwardee();
if (redefinition_run && space->must_rescue(oop(cur_obj), oop(cur_obj)->forwardee())) {
- space->rescue(cur_obj);
+ space->rescue(cur_obj);
debug_only(Copy::fill_to_words(cur_obj, size, 0));
cur_obj += size;
continue;
@@ -362,8 +365,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
Prefetch::write(compaction_top, copy_interval);
// copy object and reinit its mark
- assert(cur_obj != compaction_top || oop(cur_obj)->klass()->new_version() != NULL,
- "everything in this pass should be moving");
+ assert(redefinition_run || cur_obj != compaction_top, "everything in this pass should be moving");
if (redefinition_run && oop(cur_obj)->klass()->new_version() != NULL) {
Klass* new_version = oop(cur_obj)->klass()->new_version();
if (new_version->update_information() == NULL) {
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 92ce6c27b8a..41e82ae7a69 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -54,6 +54,7 @@
#include "prims/jvmtiThreadState.inline.hpp"
#include "utilities/events.hpp"
#include "oops/constantPool.inline.hpp"
+#include "gc/cms/cmsHeap.hpp"
Array<Method*>* VM_EnhancedRedefineClasses::_old_methods = NULL;
Array<Method*>* VM_EnhancedRedefineClasses::_new_methods = NULL;
@@ -416,13 +417,11 @@ public:
Klass* new_klass = obj->klass()->new_version();
if (new_klass->update_information() != NULL) {
- int size_diff = obj->size() - obj->size_given_klass(new_klass);
-
- // Either new size is bigger or gap is to small to be filled
- if (size_diff < 0 || (size_diff > 0 && (size_t) size_diff < CollectedHeap::min_fill_size())) {
+ if (obj->size() - obj->size_given_klass(new_klass) != 0) {
// We need an instance update => set back to old klass
_needs_instance_update = true;
} else {
+ // Either new size is bigger or gap is to small to be filled
oop src = obj;
if (new_klass->is_copying_backwards()) {
copy_to_tmp(obj);
@@ -432,11 +431,6 @@ public:
// FIXME: instance updates...
//guarantee(false, "instance updates!");
MarkSweep::update_fields(obj, src, new_klass->update_information());
-
- if (size_diff > 0) {
- HeapWord* dead_space = ((HeapWord *)obj) + obj->size();
- CollectedHeap::fill_with_object(dead_space, size_diff);
- }
}
} else {
obj->set_klass(obj->klass()->new_version());
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 4e2a3ff1083..e3cb44d8690 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -2045,14 +2045,14 @@ bool Arguments::check_gc_consistency() {
if (AllowEnhancedClassRedefinition) {
// Must use serial GC. This limitation applies because the instance size changing GC modifications
// are only built into the mark and compact algorithm.
- if (!UseSerialGC && i >= 1) {
+ if ((!UseSerialGC && !UseConcMarkSweepGC) && i >= 1) {
jio_fprintf(defaultStream::error_stream(),
- "Must use the serial GC with enhanced class redefinition\n");
+ "Must use the serial or concurrent mark sweep GC with enhanced class redefinition.\n");
return false;
}
}
- if (i > 1) {
+ if (i > 2) {
jio_fprintf(defaultStream::error_stream(),
"Conflicting collector combinations in option list; "
"please refer to the release notes for the combinations "
--
2.23.0

View File

@@ -0,0 +1,29 @@
From 199dbcfcc71ea6992970c9cf9cfeee6f13d2a600 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@mailprofiler.com>
Date: Wed, 11 Mar 2020 14:19:34 +0100
Subject: [PATCH 04/44] Fix class cast exception on redefinition of class A,
that is superclass of B that has anonymous class C
---
src/hotspot/share/oops/instanceKlass.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index e3724984aa5..b10e566b7c3 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -788,7 +788,10 @@ bool InstanceKlass::link_class_impl(bool throw_verifyerror, TRAPS) {
if (!is_linked()) {
if (!is_rewritten()) {
- {
+ // (DCEVM): If class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
+ // then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
+ // on redefinition.
+ if (!AllowEnhancedClassRedefinition || !newest_version()->is_redefining()) {
bool verify_ok = verify_code(throw_verifyerror, THREAD);
if (!verify_ok) {
return false;
--
2.23.0

View File

@@ -0,0 +1,659 @@
From 238ef84478962cdba49b479803163b6e71f46914 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 14 Nov 2018 21:20:08 +0100
Subject: [PATCH 05/44] HotswapAgent integration
It include:
- option to compile DCEVM only version with -DDCEVM_ONLY added
to CFLAGS (bash configure --with-extra-cflags="-DDCEVM_ONLY"), by
default compilation goes with HotswapAgent
Allow ha class initializer calls
Add --add-opens for necessary modules/packages
- java.base/java.lang - for reflection access to Proxy.proxyCache
- java.base/jdk.internal.loader - for access proxyCache class
- java.desktop/java.beans - for reflection access to Introspector
- java.desktop/com.sun.beans
- java.base/java.io
- com.sun.beans.util
Open jdk module to access ClassInfo.CACHE
- be quiet if HotswapAgent is not found in lib/, it is compatible with
old DCEVM
- disable HotswapAgent for -Xshare:dump
- disable HotswapAgent in jvm tools
- disable HotswapAgent in keytool
---
make/launcher/Launcher-java.base.gmk | 1 +
make/launcher/Launcher-java.rmi.gmk | 2 +
make/launcher/Launcher-java.scripting.gmk | 3 +-
make/launcher/Launcher-java.security.jgss.gmk | 3 +
make/launcher/Launcher-jdk.aot.gmk | 2 +
make/launcher/Launcher-jdk.compiler.gmk | 5 +-
make/launcher/Launcher-jdk.hotspot.agent.gmk | 1 +
make/launcher/Launcher-jdk.jartool.gmk | 2 +
make/launcher/Launcher-jdk.javadoc.gmk | 3 +-
make/launcher/Launcher-jdk.jcmd.gmk | 13 +++-
make/launcher/Launcher-jdk.jconsole.gmk | 5 +-
make/launcher/Launcher-jdk.jdeps.gmk | 3 +
make/launcher/Launcher-jdk.jdi.gmk | 1 +
make/launcher/Launcher-jdk.jlink.gmk | 5 +-
make/launcher/Launcher-jdk.jshell.gmk | 1 +
make/launcher/Launcher-jdk.jstatd.gmk | 1 +
make/launcher/Launcher-jdk.pack.gmk | 1 +
make/launcher/Launcher-jdk.rmic.gmk | 1 +
.../Launcher-jdk.scripting.nashorn.shell.gmk | 3 +-
src/hotspot/share/classfile/vmSymbols.hpp | 1 +
.../share/interpreter/linkResolver.cpp | 2 +-
src/hotspot/share/runtime/arguments.cpp | 67 +++++++++++++++++++
src/hotspot/share/runtime/arguments.hpp | 3 +
src/hotspot/share/runtime/globals.hpp | 12 +++-
.../sun/beans/introspect/package-info.java | 26 +++++++
.../classes/com/sun/beans/package-info.java | 26 +++++++
.../com/sun/beans/util/package-info.java | 26 +++++++
.../share/classes/module-info.java | 3 +
28 files changed, 210 insertions(+), 12 deletions(-)
create mode 100644 src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
create mode 100644 src/java.desktop/share/classes/com/sun/beans/package-info.java
create mode 100644 src/java.desktop/share/classes/com/sun/beans/util/package-info.java
diff --git a/make/launcher/Launcher-java.base.gmk b/make/launcher/Launcher-java.base.gmk
index f6d4aa28fe6..38ba29530d8 100644
--- a/make/launcher/Launcher-java.base.gmk
+++ b/make/launcher/Launcher-java.base.gmk
@@ -52,6 +52,7 @@ endif
$(eval $(call SetupBuildLauncher, keytool, \
MAIN_CLASS := sun.security.tools.keytool.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
diff --git a/make/launcher/Launcher-java.rmi.gmk b/make/launcher/Launcher-java.rmi.gmk
index a69a90bcc81..07046232275 100644
--- a/make/launcher/Launcher-java.rmi.gmk
+++ b/make/launcher/Launcher-java.rmi.gmk
@@ -27,8 +27,10 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmid, \
MAIN_CLASS := sun.rmi.server.Activation, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, rmiregistry, \
MAIN_CLASS := sun.rmi.registry.RegistryImpl, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-java.scripting.gmk b/make/launcher/Launcher-java.scripting.gmk
index 057d2bf3aca..cf100e20789 100644
--- a/make/launcher/Launcher-java.scripting.gmk
+++ b/make/launcher/Launcher-java.scripting.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jrunscript, \
MAIN_CLASS := com.sun.tools.script.shell.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-java.security.jgss.gmk b/make/launcher/Launcher-java.security.jgss.gmk
index 7411e1a21c4..2b856bfccb4 100644
--- a/make/launcher/Launcher-java.security.jgss.gmk
+++ b/make/launcher/Launcher-java.security.jgss.gmk
@@ -28,13 +28,16 @@ include LauncherCommon.gmk
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupBuildLauncher, kinit, \
MAIN_CLASS := sun.security.krb5.internal.tools.Kinit, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, klist, \
MAIN_CLASS := sun.security.krb5.internal.tools.Klist, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, ktab, \
MAIN_CLASS := sun.security.krb5.internal.tools.Ktab, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
endif
diff --git a/make/launcher/Launcher-jdk.aot.gmk b/make/launcher/Launcher-jdk.aot.gmk
index 10717a5e1c5..2c52c31a555 100644
--- a/make/launcher/Launcher-jdk.aot.gmk
+++ b/make/launcher/Launcher-jdk.aot.gmk
@@ -31,6 +31,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jaotc, \
MAIN_CLASS := jdk.tools.jaotc.Main, \
EXTRA_JAVA_ARGS := -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
+ -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
@@ -40,6 +41,7 @@ $(eval $(call SetupBuildLauncher, jaotc, \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
, \
JAVA_ARGS := --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
+ -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
diff --git a/make/launcher/Launcher-jdk.compiler.gmk b/make/launcher/Launcher-jdk.compiler.gmk
index f71c37adf74..744969546de 100644
--- a/make/launcher/Launcher-jdk.compiler.gmk
+++ b/make/launcher/Launcher-jdk.compiler.gmk
@@ -27,12 +27,14 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javac, \
MAIN_CLASS := com.sun.tools.javac.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, serialver, \
MAIN_CLASS := sun.tools.serialver.SerialVer, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
@@ -41,6 +43,7 @@ ifeq ($(ENABLE_SJAVAC), yes)
# into any real images
$(eval $(call SetupBuildLauncher, sjavac, \
MAIN_CLASS := com.sun.tools.sjavac.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
OUTPUT_DIR := $(JDK_OUTPUTDIR)/bin, \
))
diff --git a/make/launcher/Launcher-jdk.hotspot.agent.gmk b/make/launcher/Launcher-jdk.hotspot.agent.gmk
index 76da3600368..9f12b05b172 100644
--- a/make/launcher/Launcher-jdk.hotspot.agent.gmk
+++ b/make/launcher/Launcher-jdk.hotspot.agent.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jhsdb, \
MAIN_CLASS := sun.jvm.hotspot.SALauncher, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
diff --git a/make/launcher/Launcher-jdk.jartool.gmk b/make/launcher/Launcher-jdk.jartool.gmk
index f74e82bfdae..647d82b65b1 100644
--- a/make/launcher/Launcher-jdk.jartool.gmk
+++ b/make/launcher/Launcher-jdk.jartool.gmk
@@ -27,8 +27,10 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jar, \
MAIN_CLASS := sun.tools.jar.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jarsigner, \
MAIN_CLASS := sun.security.tools.jarsigner.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.javadoc.gmk b/make/launcher/Launcher-jdk.javadoc.gmk
index 889028a2b17..c3d2093be04 100644
--- a/make/launcher/Launcher-jdk.javadoc.gmk
+++ b/make/launcher/Launcher-jdk.javadoc.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javadoc, \
MAIN_CLASS := jdk.javadoc.internal.tool.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jcmd.gmk b/make/launcher/Launcher-jdk.jcmd.gmk
index 7117fa78059..761a52d8466 100644
--- a/make/launcher/Launcher-jdk.jcmd.gmk
+++ b/make/launcher/Launcher-jdk.jcmd.gmk
@@ -30,6 +30,7 @@ $(eval $(call SetupBuildLauncher, jinfo, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
-Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
@@ -37,28 +38,36 @@ $(eval $(call SetupBuildLauncher, jmap, \
MAIN_CLASS := sun.tools.jmap.JMap, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jps, \
MAIN_CLASS := sun.tools.jps.Jps, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jstack, \
MAIN_CLASS := sun.tools.jstack.JStack, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jstat, \
MAIN_CLASS := sun.tools.jstat.Jstat, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jcmd, \
MAIN_CLASS := sun.tools.jcmd.JCmd, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.jconsole.gmk b/make/launcher/Launcher-jdk.jconsole.gmk
index 575b9e0595b..2ec087d710f 100644
--- a/make/launcher/Launcher-jdk.jconsole.gmk
+++ b/make/launcher/Launcher-jdk.jconsole.gmk
@@ -28,8 +28,9 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jconsole, \
MAIN_CLASS := sun.tools.jconsole.JConsole, \
JAVA_ARGS := --add-opens java.base/java.io=jdk.jconsole \
- -Djconsole.showOutputViewer \
- -Djdk.attach.allowAttachSelf=true, \
+ -Djconsole.showOutputViewer \
+ -Djdk.attach.allowAttachSelf=true \
+ -XX:+DisableHotswapAgent, \
CFLAGS_windows := -DJAVAW, \
LIBS_windows := user32.lib, \
))
diff --git a/make/launcher/Launcher-jdk.jdeps.gmk b/make/launcher/Launcher-jdk.jdeps.gmk
index 217523c48cc..5448278dae7 100644
--- a/make/launcher/Launcher-jdk.jdeps.gmk
+++ b/make/launcher/Launcher-jdk.jdeps.gmk
@@ -27,15 +27,18 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javap, \
MAIN_CLASS := com.sun.tools.javap.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeps, \
MAIN_CLASS := com.sun.tools.jdeps.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeprscan, \
MAIN_CLASS := com.sun.tools.jdeprscan.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jdi.gmk b/make/launcher/Launcher-jdk.jdi.gmk
index fcce98cf430..27bd448e3ae 100644
--- a/make/launcher/Launcher-jdk.jdi.gmk
+++ b/make/launcher/Launcher-jdk.jdi.gmk
@@ -27,4 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jdb, \
MAIN_CLASS := com.sun.tools.example.debug.tty.TTY, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.jlink.gmk b/make/launcher/Launcher-jdk.jlink.gmk
index df2173996d7..9e61edeb2c8 100644
--- a/make/launcher/Launcher-jdk.jlink.gmk
+++ b/make/launcher/Launcher-jdk.jlink.gmk
@@ -27,18 +27,21 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jimage,\
MAIN_CLASS := jdk.tools.jimage.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES, \
))
$(eval $(call SetupBuildLauncher, jlink,\
MAIN_CLASS := jdk.tools.jlink.internal.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jmod,\
MAIN_CLASS := jdk.tools.jmod.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jshell.gmk b/make/launcher/Launcher-jdk.jshell.gmk
index 349eb88e9eb..7287f8f998a 100644
--- a/make/launcher/Launcher-jdk.jshell.gmk
+++ b/make/launcher/Launcher-jdk.jshell.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jshell, \
MAIN_CLASS := jdk.internal.jshell.tool.JShellToolProvider, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jstatd.gmk b/make/launcher/Launcher-jdk.jstatd.gmk
index e9286d63094..e1657910c67 100644
--- a/make/launcher/Launcher-jdk.jstatd.gmk
+++ b/make/launcher/Launcher-jdk.jstatd.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jstatd, \
MAIN_CLASS := sun.tools.jstatd.Jstatd, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.pack.gmk b/make/launcher/Launcher-jdk.pack.gmk
index a93fd2a9017..64bbbb7c949 100644
--- a/make/launcher/Launcher-jdk.pack.gmk
+++ b/make/launcher/Launcher-jdk.pack.gmk
@@ -28,6 +28,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, pack200, \
MAIN_MODULE := java.base, \
MAIN_CLASS := com.sun.java.util.jar.pack.Driver, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
diff --git a/make/launcher/Launcher-jdk.rmic.gmk b/make/launcher/Launcher-jdk.rmic.gmk
index d60c3d9b60b..b8a55900b0e 100644
--- a/make/launcher/Launcher-jdk.rmic.gmk
+++ b/make/launcher/Launcher-jdk.rmic.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmic, \
MAIN_CLASS := sun.rmi.rmic.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
index 82311e69fd6..bd39f8595b2 100644
--- a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
+++ b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jjs, \
MAIN_CLASS := jdk.nashorn.tools.jjs.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES, \
))
diff --git a/src/hotspot/share/classfile/vmSymbols.hpp b/src/hotspot/share/classfile/vmSymbols.hpp
index 17f7e720c95..0d0badeabd0 100644
--- a/src/hotspot/share/classfile/vmSymbols.hpp
+++ b/src/hotspot/share/classfile/vmSymbols.hpp
@@ -343,6 +343,7 @@
/* common method and field names */ \
template(object_initializer_name, "<init>") \
template(class_initializer_name, "<clinit>") \
+ template(ha_class_initializer_name, "$$ha$clinit") \
template(println_name, "println") \
template(printStackTrace_name, "printStackTrace") \
template(main_name, "main") \
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index 0c24146ff00..9dc184d02f5 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -1009,7 +1009,7 @@ void LinkResolver::resolve_field(fieldDescriptor& fd,
assert(!m.is_null(), "information about the current method must be available for 'put' bytecodes");
bool is_initialized_static_final_update = (byte == Bytecodes::_putstatic &&
fd.is_static() &&
- !m()->is_static_initializer());
+ !(m()->is_static_initializer() || m()->name() == vmSymbols::ha_class_initializer_name()));
bool is_initialized_instance_final_update = ((byte == Bytecodes::_putfield || byte == Bytecodes::_nofast_putfield) &&
!fd.is_static() &&
!m->is_object_initializer());
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index e3cb44d8690..36276741b5c 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -3967,6 +3967,8 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
// Set object alignment values.
set_object_alignment();
+ setup_hotswap_agent();
+
#if !INCLUDE_CDS
if (DumpSharedSpaces || RequireSharedSpaces) {
jio_fprintf(defaultStream::error_stream(),
@@ -4300,3 +4302,68 @@ bool Arguments::copy_expand_pid(const char* src, size_t srclen,
*b = '\0';
return (p == src_end); // return false if not all of the source was copied
}
+
+void Arguments::setup_hotswap_agent() {
+
+ if (DumpSharedSpaces)
+ return;
+
+ if (!AllowEnhancedClassRedefinition)
+ return;
+
+ // Set HotswapAgent
+ if (!DisableHotswapAgent) {
+
+ char ext_path_str[JVM_MAXPATHLEN];
+
+ os::jvm_path(ext_path_str, sizeof(ext_path_str));
+ for (int i = 0; i < 3; i++) {
+ char *end = strrchr(ext_path_str, *os::file_separator());
+ if (end != NULL) *end = '\0';
+ }
+ size_t ext_path_length = strlen(ext_path_str);
+ if (ext_path_length >= 3) {
+ if (strcmp(ext_path_str + ext_path_length - 3, "lib") != 0) {
+ if (ext_path_length < JVM_MAXPATHLEN - 4) {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length, "%slib", os::file_separator());
+ ext_path_length += 4;
+ }
+ }
+ }
+ if (ext_path_length < JVM_MAXPATHLEN - 10) {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length,
+ "%shotswap%shotswap-agent.jar", os::file_separator(), os::file_separator());
+ }
+
+ int fd = ::open(ext_path_str, O_RDONLY);
+ if (fd >= 0) {
+ os::close(fd);
+ size_t length = strlen(ext_path_str) + 1;
+ char *options = NEW_C_HEAP_ARRAY(char, length, mtArguments);
+ jio_snprintf(options, length, "%s", ext_path_str);
+ add_init_agent("instrument", ext_path_str, false);
+ jio_fprintf(defaultStream::output_stream(), "Starting HotswapAgent '%s'\n", ext_path_str);
+ }
+// else
+// {
+// jio_fprintf(defaultStream::error_stream(), "HotswapAgent not found on path:'%s'\n", ext_path_str);
+// }
+ }
+
+ // TODO: open it only for org.hotswap.agent module
+ // Use to access java.lang.reflect.Proxy/proxyCache
+ create_numbered_property("jdk.module.addopens", "java.base/java.lang=ALL-UNNAMED", addopens_count++);
+ // Class of field java.lang.reflect.Proxy/proxyCache
+ create_numbered_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
+ // Use to access java.io.Reader, java.io.InputStream, java.io.FileInputStream
+ create_numbered_property("jdk.module.addopens", "java.base/java.io=ALL-UNNAMED", addopens_count++);
+ // java.beans.Introspector access
+ create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
+ // java.beans.Introspector access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
+ // com.sun.beans.introspect.ClassInfo access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.introspect=ALL-UNNAMED", addopens_count++);
+ // com.sun.beans.introspect.util.Cache access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.util=ALL-UNNAMED", addopens_count++);
+
+}
diff --git a/src/hotspot/share/runtime/arguments.hpp b/src/hotspot/share/runtime/arguments.hpp
index 5cb7f5c4bd8..d7fd03d079e 100644
--- a/src/hotspot/share/runtime/arguments.hpp
+++ b/src/hotspot/share/runtime/arguments.hpp
@@ -507,6 +507,9 @@ class Arguments : AllStatic {
static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
+ // Initialize HotswapAgent
+ static void setup_hotswap_agent();
+
// Return the maximum size a heap with compressed oops can take
static size_t max_heap_for_compressed_oops();
diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
index 35b8205f7c7..4d6fe0034a3 100644
--- a/src/hotspot/share/runtime/globals.hpp
+++ b/src/hotspot/share/runtime/globals.hpp
@@ -32,6 +32,12 @@
#include <float.h> // for DBL_MAX
+#ifdef DCEVM_ONLY
+#define DISABLED_HOTSWAP_AGENT true
+#else
+#define DISABLED_HOTSWAP_AGENT false
+#endif
+
// The larger HeapWordSize for 64bit requires larger heaps
// for the same application running in 64bit. See bug 4967770.
// The minimum alignment to a heap word size is done. Other
@@ -2687,8 +2693,10 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
\
product(bool, AllowEnhancedClassRedefinition, true, \
"Allow enhanced class redefinition beyond swapping method " \
- "bodies")
-
+ "bodies") \
+ \
+ product(bool, DisableHotswapAgent, DISABLED_HOTSWAP_AGENT, \
+ "Disable integrated Hotswap Agent (HotswapVM only)")
#define VM_FLAGS(develop, \
develop_pd, \
product, \
diff --git a/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java b/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
new file mode 100644
index 00000000000..6636e4dd62a
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package com.sun.beans.introspect;
diff --git a/src/java.desktop/share/classes/com/sun/beans/package-info.java b/src/java.desktop/share/classes/com/sun/beans/package-info.java
new file mode 100644
index 00000000000..5c097eeaa53
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package com.sun.beans;
diff --git a/src/java.desktop/share/classes/com/sun/beans/util/package-info.java b/src/java.desktop/share/classes/com/sun/beans/util/package-info.java
new file mode 100644
index 00000000000..2d5d735ffa8
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/util/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package com.sun.beans.util;
diff --git a/src/java.desktop/share/classes/module-info.java b/src/java.desktop/share/classes/module-info.java
index b663b382f52..2a8f0a67d52 100644
--- a/src/java.desktop/share/classes/module-info.java
+++ b/src/java.desktop/share/classes/module-info.java
@@ -104,6 +104,9 @@ module java.desktop {
exports javax.swing.text.rtf;
exports javax.swing.tree;
exports javax.swing.undo;
+ exports com.sun.beans;
+ exports com.sun.beans.introspect;
+ exports com.sun.beans.util;
// qualified exports may be inserted at build time
// see make/GensrcModuleInfo.gmk
--
2.23.0

View File

@@ -0,0 +1,258 @@
From 2b6afed7b4bd890326b2cc7a3eaf3020e3f0fe44 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 4 Oct 2020 21:12:12 +0200
Subject: [PATCH 06/44] Support for Lambda class redefinition
---
.../share/classfile/classLoaderData.cpp | 9 +++
.../share/classfile/classLoaderData.hpp | 1 +
.../share/classfile/systemDictionary.cpp | 12 +++-
.../share/classfile/systemDictionary.hpp | 2 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 65 +++++++++++++++++--
.../prims/jvmtiEnhancedRedefineClasses.hpp | 1 +
.../share/prims/resolvedMethodTable.cpp | 4 +-
src/hotspot/share/prims/unsafe.cpp | 1 +
8 files changed, 85 insertions(+), 10 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 3f75bffce8a..a901b4309b9 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -663,6 +663,15 @@ Dictionary* ClassLoaderData::create_dictionary() {
return new Dictionary(this, size, resizable);
}
+void ClassLoaderData::exchange_holders(ClassLoaderData* cld) {
+ oop holder_oop = _holder.peek();
+ _holder.replace(cld->_holder.peek());
+ cld->_holder.replace(holder_oop);
+ WeakHandle<vm_class_loader_data> exchange = _holder;
+ _holder = cld->_holder;
+ cld->_holder = exchange;
+}
+
// Tell the GC to keep this klass alive while iterating ClassLoaderDataGraph
oop ClassLoaderData::holder_phantom() const {
// A klass that was previously considered dead can be looked up in the
diff --git a/src/hotspot/share/classfile/classLoaderData.hpp b/src/hotspot/share/classfile/classLoaderData.hpp
index b5a7cf21c85..c4f617ab800 100644
--- a/src/hotspot/share/classfile/classLoaderData.hpp
+++ b/src/hotspot/share/classfile/classLoaderData.hpp
@@ -292,6 +292,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
void accumulate_modified_oops() { if (has_modified_oops()) _accumulated_modified_oops = true; }
void clear_accumulated_modified_oops() { _accumulated_modified_oops = false; }
bool has_accumulated_modified_oops() { return _accumulated_modified_oops; }
+ void exchange_holders(ClassLoaderData* cld);
private:
void unload();
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index 0059af83584..89375cd59fa 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -970,12 +970,16 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
Handle protection_domain,
ClassFileStream* st,
const InstanceKlass* host_klass,
+ InstanceKlass* old_klass,
GrowableArray<Handle>* cp_patches,
TRAPS) {
EventClassLoad class_load_start_event;
ClassLoaderData* loader_data;
+
+ bool is_redefining = (old_klass != NULL);
+
if (host_klass != NULL) {
// Create a new CLD for anonymous class, that uses the same class loader
// as the host_klass
@@ -999,8 +1003,12 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
protection_domain,
host_klass,
cp_patches,
- false, // pick_newest
+ is_redefining, // pick_newest
CHECK_NULL);
+ if (is_redefining && k != NULL) {
+ k->set_redefining(true);
+ k->set_old_version(old_klass);
+ }
if (host_klass != NULL && k != NULL) {
// Anonymous classes must update ClassLoaderData holder (was host_klass loader)
@@ -1841,7 +1849,7 @@ void SystemDictionary::remove_from_hierarchy(InstanceKlass* k) {
k->remove_from_sibling_list();
}
-// (DCEVM)
+// (DCEVM)
void SystemDictionary::update_constraints_after_redefinition() {
constraints()->update_after_redefinition();
}
diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp
index 8b5ba8546dd..0002abe6122 100644
--- a/src/hotspot/share/classfile/systemDictionary.hpp
+++ b/src/hotspot/share/classfile/systemDictionary.hpp
@@ -307,6 +307,7 @@ public:
protection_domain,
st,
NULL, // host klass
+ NULL, // old class
NULL, // cp_patches
THREAD);
}
@@ -315,6 +316,7 @@ public:
Handle protection_domain,
ClassFileStream* st,
const InstanceKlass* host_klass,
+ InstanceKlass* old_klass,
GrowableArray<Handle>* cp_patches,
TRAPS);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 41e82ae7a69..b94caa39562 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -488,6 +488,8 @@ void VM_EnhancedRedefineClasses::doit() {
ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+ // SystemDictionary::methods_do(fix_invoke_method);
+
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -750,12 +752,34 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
// load hook event.
state->set_class_being_redefined(the_class, _class_load_kind);
- InstanceKlass* k = SystemDictionary::resolve_from_stream(the_class_sym,
- the_class_loader,
- protection_domain,
- &st,
- the_class,
- THREAD);
+ InstanceKlass* k;
+
+ if (InstanceKlass::cast(the_class)->is_anonymous()) {
+ const InstanceKlass* host_class = the_class->host_klass();
+
+ // Make sure it's the real host class, not another anonymous class.
+ while (host_class != NULL && host_class->is_anonymous()) {
+ host_class = host_class->host_klass();
+ }
+
+ k = SystemDictionary::parse_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ host_class,
+ the_class,
+ NULL,
+ THREAD);
+ k->class_loader_data()->exchange_holders(the_class->class_loader_data());
+ the_class->class_loader_data()->inc_keep_alive();
+ } else {
+ k = SystemDictionary::resolve_from_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ the_class,
+ THREAD);
+ }
// Clear class_being_redefined just to be sure.
state->clear_class_being_redefined();
@@ -1436,6 +1460,30 @@ void VM_EnhancedRedefineClasses::MethodDataCleaner::do_klass(Klass* k) {
}
}
+void VM_EnhancedRedefineClasses::fix_invoke_method(Method* method) {
+
+ constantPoolHandle other_cp = constantPoolHandle(method->constants());
+
+ for (int i = 0; i < other_cp->length(); i++) {
+ if (other_cp->tag_at(i).is_klass()) {
+ Klass* klass = other_cp->resolved_klass_at(i);
+ if (klass->new_version() != NULL) {
+ // Constant pool entry points to redefined class -- update to the new version
+ other_cp->klass_at_put(i, klass->newest_version());
+ }
+ assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
+ }
+ }
+
+ ConstantPoolCache* cp_cache = other_cp->cache();
+ if (cp_cache != NULL) {
+ cp_cache->clear_entries();
+ }
+
+}
+
+
+
void VM_EnhancedRedefineClasses::update_jmethod_ids() {
for (int j = 0; j < _matching_methods_length; ++j) {
Method* old_method = _matching_old_methods[j];
@@ -1973,7 +2021,10 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
// Find classes not directly redefined, but affected by a redefinition (because one of its supertypes is redefined)
AffectedKlassClosure closure(_affected_klasses);
// Updated in j10, from original SystemDictionary::classes_do
- ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
+ ClassLoaderDataGraph::classes_do(&closure);
+ //ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
// Sort the affected klasses such that a supertype is always on a smaller array index than its subtype.
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 60b62c3170a..d8a11b51fe9 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -116,6 +116,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void rollback();
static void mark_as_scavengable(nmethod* nm);
static void unpatch_bytecode(Method* method);
+ static void fix_invoke_method(Method* method);
// Figure out which new methods match old methods in name and signature,
// which methods have been added, and which are no longer present
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index 8098b80baa6..5a5d5e98623 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -203,7 +203,7 @@ void ResolvedMethodTable::print() {
void ResolvedMethodTable::adjust_method_entries(bool * trace_name_printed) {
assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
- // For each entry in RMT, change to new method
+ // For each entry in RMT, change to new methodadjust_method_entries_dcevm
for (int i = 0; i < _the_table->table_size(); ++i) {
for (ResolvedMethodEntry* entry = _the_table->bucket(i);
entry != NULL;
@@ -274,6 +274,8 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+
assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
assert(newer_method != NULL, "method_with_idnum() should not be NULL");
assert(old_method != newer_method, "sanity check");
diff --git a/src/hotspot/share/prims/unsafe.cpp b/src/hotspot/share/prims/unsafe.cpp
index 5f9f93c6b4c..c35ef044e65 100644
--- a/src/hotspot/share/prims/unsafe.cpp
+++ b/src/hotspot/share/prims/unsafe.cpp
@@ -820,6 +820,7 @@ Unsafe_DefineAnonymousClass_impl(JNIEnv *env,
host_domain,
&st,
InstanceKlass::cast(host_klass),
+ NULL,
cp_patches,
CHECK_NULL);
if (anonk == NULL) {
--
2.23.0

View File

@@ -0,0 +1,135 @@
From d78e34a89b273508d3502d7456bf40b568edb3fd Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 23 May 2020 10:02:15 +0200
Subject: [PATCH 07/44] Fix "no original bytecode found" error if method with
bkp is missing
Sometimes IDE can deploy class with erroneous method, such method has
n bytecode, but breakpoint position can still exist.
---
src/hotspot/share/interpreter/bytecodes.cpp | 2 +-
.../share/interpreter/interpreterRuntime.cpp | 2 +-
src/hotspot/share/oops/method.cpp | 8 ++++----
src/hotspot/share/oops/method.hpp | 4 ++--
.../prims/jvmtiEnhancedRedefineClasses.cpp | 18 ++++++++++--------
5 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/hotspot/share/interpreter/bytecodes.cpp b/src/hotspot/share/interpreter/bytecodes.cpp
index e377e36b88c..262ecc021b2 100644
--- a/src/hotspot/share/interpreter/bytecodes.cpp
+++ b/src/hotspot/share/interpreter/bytecodes.cpp
@@ -84,7 +84,7 @@ Bytecodes::Code Bytecodes::code_at(Method* method, int bci) {
Bytecodes::Code Bytecodes::non_breakpoint_code_at(const Method* method, address bcp) {
assert(method != NULL, "must have the method for breakpoint conversion");
assert(method->contains(bcp), "must be valid bcp in method");
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
}
int Bytecodes::special_length_at(Bytecodes::Code code, address bcp, address end) {
diff --git a/src/hotspot/share/interpreter/interpreterRuntime.cpp b/src/hotspot/share/interpreter/interpreterRuntime.cpp
index aeafba285f0..026fe9234fb 100644
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp
@@ -819,7 +819,7 @@ IRT_END
// Invokes
IRT_ENTRY(Bytecodes::Code, InterpreterRuntime::get_original_bytecode_at(JavaThread* thread, Method* method, address bcp))
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
IRT_END
IRT_ENTRY(void, InterpreterRuntime::set_original_bytecode_at(JavaThread* thread, Method* method, address bcp, Bytecodes::Code new_code))
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 0a12f01536a..037ceef2c44 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -1789,14 +1789,14 @@ bool CompressedLineNumberReadStream::read_pair() {
#if INCLUDE_JVMTI
-Bytecodes::Code Method::orig_bytecode_at(int bci) const {
+Bytecodes::Code Method::orig_bytecode_at(int bci, bool no_fatal) const {
BreakpointInfo* bp = method_holder()->breakpoints();
for (; bp != NULL; bp = bp->next()) {
if (bp->match(this, bci)) {
return bp->orig_bytecode();
}
}
- {
+ if (!no_fatal) {
ResourceMark rm;
fatal("no original bytecode found in %s at bci %d", name_and_sig_as_C_string(), bci);
}
@@ -1942,7 +1942,7 @@ BreakpointInfo::BreakpointInfo(Method* m, int bci) {
_signature_index = m->signature_index();
_orig_bytecode = (Bytecodes::Code) *m->bcp_from(_bci);
if (_orig_bytecode == Bytecodes::_breakpoint)
- _orig_bytecode = m->orig_bytecode_at(_bci);
+ _orig_bytecode = m->orig_bytecode_at(_bci, false);
_next = NULL;
}
@@ -1951,7 +1951,7 @@ void BreakpointInfo::set(Method* method) {
{
Bytecodes::Code code = (Bytecodes::Code) *method->bcp_from(_bci);
if (code == Bytecodes::_breakpoint)
- code = method->orig_bytecode_at(_bci);
+ code = method->orig_bytecode_at(_bci, false);
assert(orig_bytecode() == code, "original bytecode must be the same");
}
#endif
diff --git a/src/hotspot/share/oops/method.hpp b/src/hotspot/share/oops/method.hpp
index 4ac3e6e80de..9ff4f0e8036 100644
--- a/src/hotspot/share/oops/method.hpp
+++ b/src/hotspot/share/oops/method.hpp
@@ -230,7 +230,7 @@ class Method : public Metadata {
// JVMTI breakpoints
#if !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const {
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const {
ShouldNotReachHere();
return Bytecodes::_shouldnotreachhere;
}
@@ -239,7 +239,7 @@ class Method : public Metadata {
};
u2 number_of_breakpoints() const {return 0;}
#else // !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const;
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const;
void set_orig_bytecode_at(int bci, Bytecodes::Code code);
void set_breakpoint(int bci);
void clear_breakpoint(int bci);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index b94caa39562..1fbba406087 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1356,14 +1356,16 @@ void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
if (code == Bytecodes::_breakpoint) {
int bci = method->bci_from(bcp);
- code = method->orig_bytecode_at(bci);
- java_code = Bytecodes::java_code(code);
- if (code != java_code &&
- (java_code == Bytecodes::_getfield ||
- java_code == Bytecodes::_putfield ||
- java_code == Bytecodes::_aload_0)) {
- // Let breakpoint table handling unpatch bytecode
- method->set_orig_bytecode_at(bci, java_code);
+ code = method->orig_bytecode_at(bci, true);
+ if (code != Bytecodes::_shouldnotreachhere) {
+ java_code = Bytecodes::java_code(code);
+ if (code != java_code &&
+ (java_code == Bytecodes::_getfield ||
+ java_code == Bytecodes::_putfield ||
+ java_code == Bytecodes::_aload_0)) {
+ // Let breakpoint table handling unpatch bytecode
+ method->set_orig_bytecode_at(bci, java_code);
+ }
}
} else {
java_code = Bytecodes::java_code(code);
--
2.23.0

View File

@@ -0,0 +1,57 @@
From 7035df8436fdda697753f1af48c26701328f684a Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 24 May 2020 12:07:42 +0200
Subject: [PATCH 08/44] Replace deleted method with
Universe::throw_no_such_method_error
---
.../share/prims/resolvedMethodTable.cpp | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index 5a5d5e98623..c7996df51bc 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -264,25 +264,25 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
if (old_method->is_old()) {
+ InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
+ Method* newer_method;
+
// Method* new_method;
if (old_method->is_deleted()) {
- // FIXME:(DCEVM) - check if exception can be thrown
- // new_method = Universe::throw_no_such_method_error();
- continue;
- }
-
- InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
- Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ newer_method = Universe::throw_no_such_method_error();
+ } else {
+ newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
- log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
- assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
- assert(newer_method != NULL, "method_with_idnum() should not be NULL");
- assert(old_method != newer_method, "sanity check");
+ assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
+ assert(newer_method != NULL, "method_with_idnum() should not be NULL");
+ assert(old_method != newer_method, "sanity check");
- if (_the_table->lookup(newer_method) != NULL) {
- // old method was already adjusted if new method exists in _the_table
- continue;
+ if (_the_table->lookup(newer_method) != NULL) {
+ // old method was already adjusted if new method exists in _the_table
+ continue;
+ }
}
java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, newer_method);
--
2.23.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,50 @@
From 840e28ad947e63d97d40a5e05fdacc0bfd371962 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 13 Jun 2020 18:50:59 +0200
Subject: [PATCH 10/44] Change log level in advanced redefinition
- Change log level for "Comparing different class ver.." to debug
- Fix adjust_method_entries_dcevm logging levels and severity
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
src/hotspot/share/prims/resolvedMethodTable.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index e67fc2dd58f..5be9bb74305 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -915,7 +915,7 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
// Calculated the difference between new and old class (field change, method change, supertype change, ...).
int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_class) {
int result = Klass::NoRedefinition;
- log_info(redefine, class, load)("Comparing different class versions of class %s",new_class->name()->as_C_string());
+ log_debug(redefine, class, load)("Comparing different class versions of class %s",new_class->name()->as_C_string());
assert(new_class->old_version() != NULL, "must have old version");
InstanceKlass* the_class = InstanceKlass::cast(new_class->old_version());
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index c7996df51bc..082d3d26c34 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -273,7 +273,7 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
} else {
newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
- log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+ log_debug(redefine, class, update)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
assert(newer_method != NULL, "method_with_idnum() should not be NULL");
@@ -293,7 +293,7 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
ResourceMark rm;
if (!(*trace_name_printed)) {
- log_info(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
+ log_debug(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
*trace_name_printed = true;
}
log_debug(redefine, class, update, constantpool)
--
2.23.0

View File

@@ -0,0 +1,26 @@
From 68c65981000d71555a529443831a18c9738c9566 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 6 Oct 2020 22:15:31 +0200
Subject: [PATCH 11/44] AllowEnhancedClassRedefinition is false (disabled) by
default
---
src/hotspot/share/runtime/globals.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
index 4d6fe0034a3..1984b8c28f9 100644
--- a/src/hotspot/share/runtime/globals.hpp
+++ b/src/hotspot/share/runtime/globals.hpp
@@ -2691,7 +2691,7 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
experimental(bool, UseFastUnorderedTimeStamps, false, \
"Use platform unstable time where supported for timestamps only") \
\
- product(bool, AllowEnhancedClassRedefinition, true, \
+ product(bool, AllowEnhancedClassRedefinition, false, \
"Allow enhanced class redefinition beyond swapping method " \
"bodies") \
\
--
2.23.0

View File

@@ -0,0 +1,32 @@
From b7e705f79f0a6fcc486511a5b8d7007dde4feec0 Mon Sep 17 00:00:00 2001
From: Artem Khvastunov <artem.khvastunov@jetbrains.com>
Date: Tue, 14 Apr 2020 19:11:35 +0200
Subject: [PATCH 12/44] add jvmtiEnhancedRedefineClasses.* to CMakeLists.txt
---
jb/project/hotspot-cmake/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jb/project/hotspot-cmake/CMakeLists.txt b/jb/project/hotspot-cmake/CMakeLists.txt
index 8b552c27206..6516e39058f 100644
--- a/jb/project/hotspot-cmake/CMakeLists.txt
+++ b/jb/project/hotspot-cmake/CMakeLists.txt
@@ -1663,6 +1663,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/prims/jvmtiGetLoadedClasses.hpp
../../../src/hotspot/share/prims/jvmtiAgentThread.hpp
../../../src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp
+../../../src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
../../../src/hotspot/share/prims/stackwalk.cpp
../../../src/hotspot/share/prims/privilegedStack.hpp
../../../src/hotspot/share/prims/jvmtiUtil.hpp
@@ -1684,6 +1685,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/prims/stackwalk.hpp
../../../src/hotspot/share/prims/privilegedStack.cpp
../../../src/hotspot/share/prims/jvmtiCodeBlobEvents.hpp
+../../../src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
../../../src/hotspot/share/prims/jvmtiUtil.cpp
../../../src/hotspot/share/prims/jvmtiEnvBase.cpp
../../../src/hotspot/share/prims/methodHandles.cpp
--
2.23.0

View File

@@ -0,0 +1,25 @@
From 7f887b3b4819fbbe79a8caaae0e4f175c1368f77 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Mon, 19 Oct 2020 20:00:04 +0200
Subject: [PATCH 13/44] Set HOTSPOT_VM_DISTRO=Dynamic Code Evolution
---
make/autoconf/version-numbers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/make/autoconf/version-numbers b/make/autoconf/version-numbers
index f8945e435aa..30f6b825493 100644
--- a/make/autoconf/version-numbers
+++ b/make/autoconf/version-numbers
@@ -44,7 +44,7 @@ PRODUCT_NAME=OpenJDK
PRODUCT_SUFFIX="Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A
-HOTSPOT_VM_DISTRO="OpenJDK"
+HOTSPOT_VM_DISTRO="Dynamic Code Evolution"
VENDOR_URL=https://openjdk.java.net/
VENDOR_URL_BUG=https://bugreport.java.com/bugreport/
VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp
--
2.23.0

View File

@@ -0,0 +1,71 @@
From 01acfab08f6fb1c1a0db80915cacf8987021272c Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 11 Oct 2020 10:43:28 +0200
Subject: [PATCH 14/44] Fix G1 nmethod registration
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 19 ++++++++++++++++---
.../prims/jvmtiEnhancedRedefineClasses.hpp | 3 ++-
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 5be9bb74305..f4bde7504c8 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -217,7 +217,14 @@ void VM_EnhancedRedefineClasses::mark_as_scavengable(nmethod* nm) {
}
}
-void VM_EnhancedRedefineClasses::mark_as_scavengable_g1(nmethod* nm) {
+void VM_EnhancedRedefineClasses::unregister_nmethod_g1(nmethod* nm) {
+ // It should work not only for G1 but also for another GCs, but this way is safer now
+ if (!nm->is_zombie() && !nm->is_unloaded()) {
+ Universe::heap()->unregister_nmethod(nm);
+ }
+}
+
+void VM_EnhancedRedefineClasses::register_nmethod_g1(nmethod* nm) {
// It should work not only for G1 but also for another GCs, but this way is safer now
if (!nm->is_zombie() && !nm->is_unloaded()) {
Universe::heap()->register_nmethod(nm);
@@ -520,8 +527,9 @@ void VM_EnhancedRedefineClasses::doit() {
// For now, mark all nmethod's as scavengable that are not scavengable already
if (ScavengeRootsInCode) {
if (UseG1GC) {
- // this should work also for other GCs
- CodeCache::nmethods_do(mark_as_scavengable_g1);
+ // G1 holds references to nmethods in regions based on oops values. Since oops in nmethod can be changed in ChangePointers* closures
+ // we unregister nmethods from G1 heap, then closures are processed (oops are changed) and finally we register nmethod to G1 again
+ CodeCache::nmethods_do(unregister_nmethod_g1);
} else {
CodeCache::nmethods_do(mark_as_scavengable);
}
@@ -544,6 +552,11 @@ void VM_EnhancedRedefineClasses::doit() {
Universe::root_oops_do(&oopClosureNoBarrier);
+ if (UseG1GC) {
+ // this should work also for other GCs
+ CodeCache::nmethods_do(register_nmethod_g1);
+ }
+
}
log_trace(redefine, class, obsolete, metadata)("After updating instances");
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 9755944d70b..4c0412d343d 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -116,7 +116,8 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void rollback();
static void mark_as_scavengable(nmethod* nm);
- static void mark_as_scavengable_g1(nmethod* nm);
+ static void unregister_nmethod_g1(nmethod* nm);
+ static void register_nmethod_g1(nmethod* nm);
static void unpatch_bytecode(Method* method);
static void fix_invoke_method(Method* method);
--
2.23.0

View File

@@ -0,0 +1,26 @@
From ca37cdca38fa1dd08844767510fce418a8c49b9e Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Thu, 22 Oct 2020 20:15:20 +0200
Subject: [PATCH 15/44] Initialize method's _new_version/_old_version to NULL
---
src/hotspot/share/oops/method.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 037ceef2c44..6b8e2198e55 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -83,7 +83,8 @@ Method* Method::allocate(ClassLoaderData* loader_data,
return new (loader_data, size, MetaspaceObj::MethodType, THREAD) Method(cm, access_flags);
}
-Method::Method(ConstMethod* xconst, AccessFlags access_flags) {
+Method::Method(ConstMethod* xconst, AccessFlags access_flags) : _new_version(NULL),
+ _old_version(NULL) {
NoSafepointVerifier no_safepoint;
set_constMethod(xconst);
set_access_flags(access_flags);
--
2.23.0

View File

@@ -0,0 +1,191 @@
From 400fa82043b7b9589e1f77c43f6696b133fc1188 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 23 Oct 2020 10:20:26 +0200
Subject: [PATCH 16/44] Clear dcevm code separation
---
src/hotspot/share/classfile/systemDictionary.cpp | 4 ++--
src/hotspot/share/gc/serial/genMarkSweep.cpp | 8 +++++---
src/hotspot/share/interpreter/linkResolver.cpp | 14 ++++++++++----
.../instrumentation/jfrEventClassTransformer.cpp | 2 +-
src/hotspot/share/oops/instanceKlass.cpp | 10 ++++++----
src/hotspot/share/oops/method.cpp | 2 +-
src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp | 2 +-
src/hotspot/share/runtime/reflection.cpp | 2 +-
8 files changed, 27 insertions(+), 17 deletions(-)
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index 89375cd59fa..a61c342f5bd 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -1147,7 +1147,7 @@ InstanceKlass* SystemDictionary::resolve_from_stream(Symbol* class_name,
MutexLocker mu(SystemDictionary_lock, THREAD);
Klass* check = find_class(h_name, k->class_loader_data());
- assert((check == k && !k->is_redefining()) || (k->is_redefining() && check == k->old_version()), "should be present in the dictionary");
+ assert(check == k && !k->is_redefining() || k->is_redefining() && check == k->old_version(), "should be present in the dictionary");
} );
return k;
@@ -2149,7 +2149,7 @@ void SystemDictionary::check_constraints(unsigned int d_hash,
// also hold array classes.
assert(check->is_instance_klass(), "noninstance in systemdictionary");
- if ((defining == true) || ((k != check) && k->old_version() != check)) {
+ if ((defining == true) || (k != check && (!AllowEnhancedClassRedefinition || k->old_version() != check))) {
throwException = true;
ss.print("loader %s", loader_data->loader_name_and_id());
ss.print(" attempted duplicate %s definition for %s. (%s)",
diff --git a/src/hotspot/share/gc/serial/genMarkSweep.cpp b/src/hotspot/share/gc/serial/genMarkSweep.cpp
index b18682f9a12..590b5389b4d 100644
--- a/src/hotspot/share/gc/serial/genMarkSweep.cpp
+++ b/src/hotspot/share/gc/serial/genMarkSweep.cpp
@@ -343,7 +343,9 @@ void GenMarkSweep::mark_sweep_phase4() {
GenCompactClosure blk;
gch->generation_iterate(&blk, true);
- DcevmSharedGC::copy_rescued_objects_back(MarkSweep::_rescued_oops, true);
- DcevmSharedGC::clear_rescued_objects_resource(MarkSweep::_rescued_oops);
- MarkSweep::_rescued_oops = NULL;
+ if (AllowEnhancedClassRedefinition) {
+ DcevmSharedGC::copy_rescued_objects_back(MarkSweep::_rescued_oops, true);
+ DcevmSharedGC::clear_rescued_objects_resource(MarkSweep::_rescued_oops);
+ MarkSweep::_rescued_oops = NULL;
+ }
}
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index 9dc184d02f5..bff1c3627b0 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -295,8 +295,13 @@ void LinkResolver::check_klass_accessability(Klass* ref_klass, Klass* sel_klass,
return; // no relevant check to do
}
}
- Reflection::VerifyClassAccessResults vca_result =
- Reflection::verify_class_access(ref_klass->newest_version(), InstanceKlass::cast(base_klass->newest_version()), true);
+ Klass* refKlassNewest = ref_klass;
+ Klass* baseKlassNewest = base_klass;
+ if (AllowEnhancedClassRedefinition) {
+ refKlassNewest = ref_klass->newest_version();
+ baseKlassNewest = base_klass->newest_version();
+ }
+ Reflection::VerifyClassAccessResults vca_result = Reflection::verify_class_access(refKlassNewest, InstanceKlass::cast(baseKlassNewest), true);
if (vca_result != Reflection::ACCESS_OK) {
ResourceMark rm(THREAD);
char* msg = Reflection::verify_class_access_msg(ref_klass,
@@ -572,7 +577,8 @@ void LinkResolver::check_method_accessability(Klass* ref_klass,
// We'll check for the method name first, as that's most likely
// to be false (so we'll short-circuit out of these tests).
if (sel_method->name() == vmSymbols::clone_name() &&
- sel_klass->newest_version() == SystemDictionary::Object_klass()->newest_version() &&
+ ( !AllowEnhancedClassRedefinition && sel_klass == SystemDictionary::Object_klass() ||
+ AllowEnhancedClassRedefinition && sel_klass->newest_version() == SystemDictionary::Object_klass()->newest_version()) &&
resolved_klass->is_array_klass()) {
// We need to change "protected" to "public".
assert(flags.is_protected(), "clone not protected?");
@@ -997,7 +1003,7 @@ void LinkResolver::resolve_field(fieldDescriptor& fd,
ResourceMark rm(THREAD);
stringStream ss;
- if (sel_klass != current_klass && sel_klass != current_klass->active_version()) {
+ if (sel_klass != current_klass && (!AllowEnhancedClassRedefinition || sel_klass != current_klass->active_version())) {
ss.print("Update to %s final field %s.%s attempted from a different class (%s) than the field's declaring class",
is_static ? "static" : "non-static", resolved_klass->external_name(), fd.name()->as_C_string(),
current_klass->external_name());
diff --git a/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp b/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
index 61a406377ee..da9df7a21a2 100644
--- a/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
+++ b/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
@@ -1471,7 +1471,7 @@ static InstanceKlass* create_new_instance_klass(InstanceKlass* ik, ClassFileStre
NULL, // host klass
NULL, // cp_patches
ClassFileParser::INTERNAL, // internal visibility
- false,
+ false,
THREAD);
if (HAS_PENDING_EXCEPTION) {
log_pending_exception(PENDING_EXCEPTION);
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index b10e566b7c3..7557a84fbf3 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -178,7 +178,9 @@ bool InstanceKlass::has_nest_member(InstanceKlass* k, TRAPS) const {
}
Klass* k2 = _constants->klass_at(cp_index, CHECK_false);
- k2 = k2->newest_version();
+ if (AllowEnhancedClassRedefinition) {
+ k2 = k2->newest_version();
+ }
if (k2 == k) {
log_trace(class, nestmates)("- class is listed as a nest member");
return true;
@@ -837,7 +839,7 @@ bool InstanceKlass::link_class_impl(bool throw_verifyerror, TRAPS) {
#endif
set_init_state(linked);
// (DCEVM) Must check for old version in order to prevent infinite loops.
- if (JvmtiExport::should_post_class_prepare() && old_version() == NULL /* JVMTI deadlock otherwise */) {
+ if (JvmtiExport::should_post_class_prepare() && (!AllowEnhancedClassRedefinition || old_version() == NULL) /* JVMTI deadlock otherwise */) {
Thread *thread = THREAD;
assert(thread->is_Java_thread(), "thread->is_Java_thread()");
JvmtiExport::post_class_prepare((JavaThread *) thread, this);
@@ -919,7 +921,7 @@ void InstanceKlass::initialize_impl(TRAPS) {
// that aren't expected to throw. This would wreak havoc. See 6320309.
// (DCEVM) Wait also for the old class version to be fully initialized.
while((is_being_initialized() && !is_reentrant_initialization(self))
- || (old_version() != NULL && InstanceKlass::cast(old_version())->is_being_initialized())) {
+ || (AllowEnhancedClassRedefinition && old_version() != NULL && InstanceKlass::cast(old_version())->is_being_initialized())) {
wait = true;
ol.waitUninterruptibly(CHECK);
}
@@ -3632,7 +3634,7 @@ void InstanceKlass::verify_on(outputStream* st) {
guarantee(sib->is_klass(), "should be klass");
// TODO: (DCEVM) explain
- guarantee(sib->super() == super || super->newest_version() == SystemDictionary::Object_klass(), "siblings should have same superklass");
+ guarantee(sib->super() == super || AllowEnhancedClassRedefinition && super->newest_version() == SystemDictionary::Object_klass(), "siblings should have same superklass");
}
// Verify implementor fields requires the Compile_lock, but this is sometimes
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 6b8e2198e55..2af3e71635e 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -2144,7 +2144,7 @@ void Method::ensure_jmethod_ids(ClassLoaderData* loader_data, int capacity) {
// Add a method id to the jmethod_ids
jmethodID Method::make_jmethod_id(ClassLoaderData* loader_data, Method* m) {
// FIXME: (DCEVM) ???
- if (m != m->newest_version()) {
+ if (AllowEnhancedClassRedefinition && m != m->newest_version()) {
m = m->newest_version();
}
ClassLoaderData* cld = loader_data;
diff --git a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
index 60604c645ff..325bffb7ad0 100644
--- a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
@@ -51,7 +51,7 @@ public:
// the new version (SystemDictionary stores only new versions). But the LoadedClassesClosure's functionality was
// changed in java8 where jvmtiLoadedClasses collects all classes from all classloaders, therefore we
// must use new versions only.
- if (k->new_version()==NULL) {
+ if (AllowEnhancedClassRedefinition && k->new_version()==NULL) {
_classStack.push((jclass) _env->jni_reference(Handle(_cur_thread, k->java_mirror())));
}
}
diff --git a/src/hotspot/share/runtime/reflection.cpp b/src/hotspot/share/runtime/reflection.cpp
index ac233f3b373..ae0cb65969a 100644
--- a/src/hotspot/share/runtime/reflection.cpp
+++ b/src/hotspot/share/runtime/reflection.cpp
@@ -660,7 +660,7 @@ bool Reflection::verify_member_access(const Klass* current_class,
TRAPS) {
// (DCEVM) Decide accessibility based on active version
- if (current_class != NULL) {
+ if (AllowEnhancedClassRedefinition && current_class != NULL) {
current_class = current_class->active_version();
}
--
2.23.0

View File

@@ -0,0 +1,160 @@
From 22608d7381bc606fa488389c3d4e56987abd166b Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 23 Oct 2020 11:07:40 +0200
Subject: [PATCH 17/44] Fix metadataOnStack bug
---
.../share/classfile/classLoaderData.cpp | 7 +-
.../share/classfile/metadataOnStackMark.cpp | 67 ++++++++++---------
.../share/classfile/metadataOnStackMark.hpp | 3 +-
.../share/prims/jvmtiRedefineClasses.cpp | 2 +-
4 files changed, 41 insertions(+), 38 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index a901b4309b9..7b88f6b44d9 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1401,13 +1401,10 @@ bool ClassLoaderDataGraph::do_unloading(bool clean_previous_versions) {
// Klassesoto delete.
// FIXME: dcevm - block asserts in MetadataOnStackMark
- bool walk_all_metadata = false;
- if (!AllowEnhancedClassRedefinition) {
- walk_all_metadata = clean_previous_versions &&
+ bool walk_all_metadata = clean_previous_versions &&
JvmtiExport::has_redefined_a_class() &&
InstanceKlass::has_previous_versions_and_reset();
- MetadataOnStackMark md_on_stack(walk_all_metadata);
- }
+ MetadataOnStackMark md_on_stack(walk_all_metadata, AllowEnhancedClassRedefinition);
// Save previous _unloading pointer for CMS which may add to unloading list before
// purging and we don't want to rewalk the previously unloaded class loader data.
diff --git a/src/hotspot/share/classfile/metadataOnStackMark.cpp b/src/hotspot/share/classfile/metadataOnStackMark.cpp
index 3a62c789702..9d7bdbde74b 100644
--- a/src/hotspot/share/classfile/metadataOnStackMark.cpp
+++ b/src/hotspot/share/classfile/metadataOnStackMark.cpp
@@ -46,23 +46,25 @@ NOT_PRODUCT(bool MetadataOnStackMark::_is_active = false;)
// it. Class unloading only deletes in-error class files, methods created by
// the relocator and dummy constant pools. None of these appear anywhere except
// in metadata Handles.
-MetadataOnStackMark::MetadataOnStackMark(bool redefinition_walk) {
+MetadataOnStackMark::MetadataOnStackMark(bool redefinition_walk, bool ignore) : _ignore(ignore) {
assert(SafepointSynchronize::is_at_safepoint(), "sanity check");
assert(_used_buffers == NULL, "sanity check");
assert(!_is_active, "MetadataOnStackMarks do not nest");
NOT_PRODUCT(_is_active = true;)
- Threads::metadata_handles_do(Metadata::mark_on_stack);
+ if (!ignore) {
+ Threads::metadata_handles_do(Metadata::mark_on_stack);
- if (redefinition_walk) {
- Threads::metadata_do(Metadata::mark_on_stack);
- CodeCache::metadata_do(Metadata::mark_on_stack);
- CompileBroker::mark_on_stack();
- JvmtiCurrentBreakpoints::metadata_do(Metadata::mark_on_stack);
- ThreadService::metadata_do(Metadata::mark_on_stack);
+ if (redefinition_walk) {
+ Threads::metadata_do(Metadata::mark_on_stack);
+ CodeCache::metadata_do(Metadata::mark_on_stack);
+ CompileBroker::mark_on_stack();
+ JvmtiCurrentBreakpoints::metadata_do(Metadata::mark_on_stack);
+ ThreadService::metadata_do(Metadata::mark_on_stack);
#if INCLUDE_JVMCI
- JVMCIRuntime::metadata_do(Metadata::mark_on_stack);
+ JVMCIRuntime::metadata_do(Metadata::mark_on_stack);
#endif
+ }
}
}
@@ -71,32 +73,35 @@ MetadataOnStackMark::~MetadataOnStackMark() {
// Unmark everything that was marked. Can't do the same walk because
// redefine classes messes up the code cache so the set of methods
// might not be the same.
- retire_current_buffer();
-
- MetadataOnStackBuffer* buffer = _used_buffers;
- while (buffer != NULL) {
- // Clear on stack state for all metadata.
- size_t size = buffer->size();
- for (size_t i = 0; i < size; i++) {
- Metadata* md = buffer->at(i);
- md->set_on_stack(false);
+ if (!_ignore)
+ {
+ retire_current_buffer();
+
+ MetadataOnStackBuffer* buffer = _used_buffers;
+ while (buffer != NULL) {
+ // Clear on stack state for all metadata.
+ size_t size = buffer->size();
+ for (size_t i = 0; i < size; i++) {
+ Metadata* md = buffer->at(i);
+ md->set_on_stack(false);
+ }
+
+ MetadataOnStackBuffer* next = buffer->next_used();
+
+ // Move the buffer to the free list.
+ buffer->clear();
+ buffer->set_next_used(NULL);
+ buffer->set_next_free(_free_buffers);
+ _free_buffers = buffer;
+
+ // Step to next used buffer.
+ buffer = next;
}
- MetadataOnStackBuffer* next = buffer->next_used();
-
- // Move the buffer to the free list.
- buffer->clear();
- buffer->set_next_used(NULL);
- buffer->set_next_free(_free_buffers);
- _free_buffers = buffer;
+ _used_buffers = NULL;
- // Step to next used buffer.
- buffer = next;
+ NOT_PRODUCT(_is_active = false;)
}
-
- _used_buffers = NULL;
-
- NOT_PRODUCT(_is_active = false;)
}
void MetadataOnStackMark::retire_buffer(MetadataOnStackBuffer* buffer) {
diff --git a/src/hotspot/share/classfile/metadataOnStackMark.hpp b/src/hotspot/share/classfile/metadataOnStackMark.hpp
index 8da4ac6f92b..6d327ab98f2 100644
--- a/src/hotspot/share/classfile/metadataOnStackMark.hpp
+++ b/src/hotspot/share/classfile/metadataOnStackMark.hpp
@@ -47,8 +47,9 @@ class MetadataOnStackMark : public StackObj {
static MetadataOnStackBuffer* allocate_buffer();
static void retire_buffer(MetadataOnStackBuffer* buffer);
+ bool _ignore;
public:
- MetadataOnStackMark(bool redefinition_walk);
+ MetadataOnStackMark(bool redefinition_walk, bool ignore);
~MetadataOnStackMark();
static void record(Metadata* m);
diff --git a/src/hotspot/share/prims/jvmtiRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
index aee84b1d7c5..3dd86d63a1f 100644
--- a/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiRedefineClasses.cpp
@@ -199,7 +199,7 @@ void VM_RedefineClasses::doit() {
// Mark methods seen on stack and everywhere else so old methods are not
// cleaned up if they're on the stack.
- MetadataOnStackMark md_on_stack(true);
+ MetadataOnStackMark md_on_stack(true, false);
HandleMark hm(thread); // make sure any handles created are deleted
// before the stack walk again.
--
2.23.0

View File

@@ -0,0 +1,25 @@
From 371093160151f400b149a5e5e4cd1acc89b1ab52 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 1 Nov 2020 21:19:00 +0100
Subject: [PATCH 18/44] Ignore MetadataOnStackMark if redefining_gc_run
---
src/hotspot/share/classfile/classLoaderData.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 7b88f6b44d9..2f6329f3e4d 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1404,7 +1404,7 @@ bool ClassLoaderDataGraph::do_unloading(bool clean_previous_versions) {
bool walk_all_metadata = clean_previous_versions &&
JvmtiExport::has_redefined_a_class() &&
InstanceKlass::has_previous_versions_and_reset();
- MetadataOnStackMark md_on_stack(walk_all_metadata, AllowEnhancedClassRedefinition);
+ MetadataOnStackMark md_on_stack(walk_all_metadata, Universe::is_redefining_gc_run());
// Save previous _unloading pointer for CMS which may add to unloading list before
// purging and we don't want to rewalk the previously unloaded class loader data.
--
2.23.0

View File

@@ -0,0 +1,26 @@
From 3151c71be433365e2d8ce5fb6e061b12fbca009a Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Wed, 11 Nov 2020 18:45:15 +0100
Subject: [PATCH 19/44] Fix LoadedClassesClosure - fixes problems with remote
debugging
---
src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
index 325bffb7ad0..30752e37f1c 100644
--- a/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
@@ -51,7 +51,7 @@ public:
// the new version (SystemDictionary stores only new versions). But the LoadedClassesClosure's functionality was
// changed in java8 where jvmtiLoadedClasses collects all classes from all classloaders, therefore we
// must use new versions only.
- if (AllowEnhancedClassRedefinition && k->new_version()==NULL) {
+ if (!AllowEnhancedClassRedefinition || k->new_version()==NULL) {
_classStack.push((jclass) _env->jni_reference(Handle(_cur_thread, k->java_mirror())));
}
}
--
2.23.0

View File

@@ -0,0 +1,31 @@
From 9a869a57205c3e0f75ea0c23f6c5dc4334e6ddd8 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 5 Feb 2021 23:30:49 +0100
Subject: [PATCH 20/44] Disable AllowEnhancedClassRedefinition in flight
recorder
---
src/hotspot/share/runtime/arguments.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 0db55d00bd3..65839b842e2 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -3967,6 +3967,13 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
// Set object alignment values.
set_object_alignment();
+ if (FlightRecorder) {
+ if (AllowEnhancedClassRedefinition) {
+ warning("EnhancedClassRedefinition was disabled, it is not allowed in FlightRecorder.");
+ AllowEnhancedClassRedefinition = false;
+ }
+ }
+
setup_hotswap_agent();
#if !INCLUDE_CDS
--
2.23.0

View File

@@ -0,0 +1,41 @@
From a6b2a48880db25c3c8ce5bc3bae9040eda6f18f2 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 12 Feb 2021 12:33:11 +0100
Subject: [PATCH 21/44] JBR-3106 Check InstanceKlass::has_nestmate_access_to
with active classes
Dcevm can leave old host in nested class if nested class is not
redefined together with host class
---
src/hotspot/share/oops/instanceKlass.cpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 7557a84fbf3..ed26b33466a 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -327,11 +327,21 @@ bool InstanceKlass::has_nestmate_access_to(InstanceKlass* k, TRAPS) {
return false;
}
+ // (DCEVM) cur_host can be old, decide accessibility based on active version
+ if (AllowEnhancedClassRedefinition) {
+ cur_host = InstanceKlass::cast(cur_host->active_version());
+ }
+
Klass* k_nest_host = k->nest_host(icce, CHECK_false);
if (k_nest_host == NULL) {
return false;
}
+ // (DCEVM) k_nest_host can be old, decide accessibility based on active version
+ if (AllowEnhancedClassRedefinition) {
+ k_nest_host = InstanceKlass::cast(k_nest_host->active_version());
+ }
+
bool access = (cur_host == k_nest_host);
if (log_is_enabled(Trace, class, nestmates)) {
--
2.23.0

View File

@@ -0,0 +1,31 @@
From 01b00e2df98dbcfc2e37c42017a545de5f29e852 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 7 Feb 2021 12:08:58 +0100
Subject: [PATCH 22/44] JBR-3110 Fix assert in MetadataOnStackMark
Fixed fastdebug tests crashes in redefine gc run
---
src/hotspot/share/classfile/metadataOnStackMark.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/classfile/metadataOnStackMark.cpp b/src/hotspot/share/classfile/metadataOnStackMark.cpp
index 9d7bdbde74b..66049f11629 100644
--- a/src/hotspot/share/classfile/metadataOnStackMark.cpp
+++ b/src/hotspot/share/classfile/metadataOnStackMark.cpp
@@ -49,10 +49,11 @@ NOT_PRODUCT(bool MetadataOnStackMark::_is_active = false;)
MetadataOnStackMark::MetadataOnStackMark(bool redefinition_walk, bool ignore) : _ignore(ignore) {
assert(SafepointSynchronize::is_at_safepoint(), "sanity check");
assert(_used_buffers == NULL, "sanity check");
- assert(!_is_active, "MetadataOnStackMarks do not nest");
- NOT_PRODUCT(_is_active = true;)
if (!ignore) {
+ assert(!_is_active, "MetadataOnStackMarks do not nest");
+ NOT_PRODUCT(_is_active = true;)
+
Threads::metadata_handles_do(Metadata::mark_on_stack);
if (redefinition_walk) {
--
2.23.0

View File

@@ -0,0 +1,78 @@
From 214a02487be521857a088595f8568df7846acd62 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 12 Feb 2021 11:27:39 +0100
Subject: [PATCH 23/44] Code cleanup
- Rename confusing method name old_if_redefined to old_if_redefining
- Remove unused is_redefining_gc_run
---
src/hotspot/share/classfile/dictionary.cpp | 6 +++---
src/hotspot/share/classfile/dictionary.hpp | 2 +-
src/hotspot/share/memory/universe.hpp | 5 -----
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/hotspot/share/classfile/dictionary.cpp b/src/hotspot/share/classfile/dictionary.cpp
index 86dc1f26933..d347f572350 100644
--- a/src/hotspot/share/classfile/dictionary.cpp
+++ b/src/hotspot/share/classfile/dictionary.cpp
@@ -381,7 +381,7 @@ InstanceKlass* Dictionary::find(unsigned int hash, Symbol* name,
int index = hash_to_index(hash);
DictionaryEntry* entry = get_entry(index, hash, name);
if (entry != NULL && entry->is_valid_protection_domain(protection_domain)) {
- return old_if_redefined(entry->instance_klass());
+ return old_if_redefining(entry->instance_klass());
} else {
return NULL;
}
@@ -394,7 +394,7 @@ InstanceKlass* Dictionary::find_class(int index, unsigned int hash,
assert (index == index_for(name), "incorrect index?");
DictionaryEntry* entry = get_entry(index, hash, name);
- return old_if_redefined((entry != NULL) ? entry->instance_klass() : NULL);
+ return old_if_redefining((entry != NULL) ? entry->instance_klass() : NULL);
}
@@ -406,7 +406,7 @@ InstanceKlass* Dictionary::find_shared_class(int index, unsigned int hash,
assert (index == index_for(name), "incorrect index?");
DictionaryEntry* entry = get_entry(index, hash, name);
- return old_if_redefined((entry != NULL) ? entry->instance_klass() : NULL);
+ return old_if_redefining((entry != NULL) ? entry->instance_klass() : NULL);
}
diff --git a/src/hotspot/share/classfile/dictionary.hpp b/src/hotspot/share/classfile/dictionary.hpp
index 5eaa741d500..f6e08e7bfd5 100644
--- a/src/hotspot/share/classfile/dictionary.hpp
+++ b/src/hotspot/share/classfile/dictionary.hpp
@@ -120,7 +120,7 @@ public:
void rollback_redefinition();
// (DCEVM) return old class if redefining in AllowEnhancedClassRedefinition, otherwise return "k"
- static InstanceKlass* old_if_redefined(InstanceKlass* k) {
+ static InstanceKlass* old_if_redefining(InstanceKlass* k) {
return (k != NULL && k->is_redefining()) ? ((InstanceKlass* )k->old_version()) : k;
}
};
diff --git a/src/hotspot/share/memory/universe.hpp b/src/hotspot/share/memory/universe.hpp
index b32db16b9cf..742dada0e8f 100644
--- a/src/hotspot/share/memory/universe.hpp
+++ b/src/hotspot/share/memory/universe.hpp
@@ -52,13 +52,8 @@ class LatestMethodCache : public CHeapObj<mtClass> {
Klass* _klass;
int _method_idnum;
- static bool _is_redefining_gc_run;
-
public:
- static bool is_redefining_gc_run() { return _is_redefining_gc_run; }
- static void set_redefining_gc_run(bool b) { _is_redefining_gc_run = b; }
-
LatestMethodCache() { _klass = NULL; _method_idnum = -1; }
~LatestMethodCache() { _klass = NULL; _method_idnum = -1; }
--
2.23.0

View File

@@ -0,0 +1,95 @@
From 88d359a84fb3a7dd7556c91ed0e17dca5b8d7d25 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 13 Feb 2021 20:47:52 +0100
Subject: [PATCH 24/44] JBR-3111 Update class in all dictionaries where it was
already defined
This patch keeps compatibility with std redefinition, that does not
create a new Klass, but modifies it, then it is modified in all
dictionaries containing this class.
---
src/hotspot/share/classfile/classLoaderData.cpp | 9 +++++++++
src/hotspot/share/classfile/classLoaderData.hpp | 3 +++
src/hotspot/share/classfile/dictionary.cpp | 2 +-
src/hotspot/share/classfile/dictionary.hpp | 2 +-
src/hotspot/share/classfile/systemDictionary.cpp | 4 +++-
5 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 2f6329f3e4d..68df33b6c40 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1277,6 +1277,15 @@ void ClassLoaderDataGraph::rollback_redefinition() {
}
}
+// (DCEVM) - iterate over all classes in all dictionaries
+bool ClassLoaderDataGraph::dictionary_classes_do_update_klass(Symbol* name, InstanceKlass* k, InstanceKlass* old_klass) {
+ bool ok = false;
+ FOR_ALL_DICTIONARY(cld) {
+ ok = cld->dictionary()->update_klass(name, k, old_klass) || ok;
+ }
+ return ok;
+}
+
// Walks all entries in the dictionary including entries initiated by this class loader.
void ClassLoaderDataGraph::dictionary_all_entries_do(void f(InstanceKlass*, ClassLoaderData*)) {
Thread* thread = Thread::current();
diff --git a/src/hotspot/share/classfile/classLoaderData.hpp b/src/hotspot/share/classfile/classLoaderData.hpp
index c4f617ab800..92f57dac23e 100644
--- a/src/hotspot/share/classfile/classLoaderData.hpp
+++ b/src/hotspot/share/classfile/classLoaderData.hpp
@@ -130,6 +130,9 @@ class ClassLoaderDataGraph : public AllStatic {
// Enhanced class redefinition
static void rollback_redefinition();
+ // Enhanced class redefinition
+ static bool dictionary_classes_do_update_klass(Symbol* name, InstanceKlass* k, InstanceKlass* old_klass);
+
// Iterate all classes and their class loaders, including initiating class loaders.
static void dictionary_all_entries_do(void f(InstanceKlass*, ClassLoaderData*));
diff --git a/src/hotspot/share/classfile/dictionary.cpp b/src/hotspot/share/classfile/dictionary.cpp
index d347f572350..fd9ef491ba1 100644
--- a/src/hotspot/share/classfile/dictionary.cpp
+++ b/src/hotspot/share/classfile/dictionary.cpp
@@ -345,7 +345,7 @@ DictionaryEntry* Dictionary::get_entry(int index, unsigned int hash,
}
// (DCEVM) replace old_class by new class in dictionary
-bool Dictionary::update_klass(unsigned int hash, Symbol* name, ClassLoaderData* loader_data, InstanceKlass* k, InstanceKlass* old_klass) {
+bool Dictionary::update_klass(Symbol* name, InstanceKlass* k, InstanceKlass* old_klass) {
// There are several entries for the same class in the dictionary: One extra entry for each parent classloader of the classloader of the class.
bool found = false;
for (int index = 0; index < table_size(); index++) {
diff --git a/src/hotspot/share/classfile/dictionary.hpp b/src/hotspot/share/classfile/dictionary.hpp
index f6e08e7bfd5..2932cc9c320 100644
--- a/src/hotspot/share/classfile/dictionary.hpp
+++ b/src/hotspot/share/classfile/dictionary.hpp
@@ -115,7 +115,7 @@ public:
void free_entry(DictionaryEntry* entry);
// Enhanced class redefinition
- bool update_klass(unsigned int hash, Symbol* name, ClassLoaderData* loader_data, InstanceKlass* k, InstanceKlass* old_klass);
+ bool update_klass(Symbol* name, InstanceKlass* k, InstanceKlass* old_klass);
void rollback_redefinition();
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index a61c342f5bd..cf0a05176c8 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -1603,7 +1603,9 @@ void SystemDictionary::define_instance_class(InstanceKlass* k, InstanceKlass* ol
Dictionary* dictionary = loader_data->dictionary();
unsigned int d_hash = dictionary->compute_hash(name_h);
if (is_redefining) {
- bool ok = dictionary->update_klass(d_hash, name_h, loader_data, k, old_klass);
+ // Update all dictionaries containing old_class to new_class
+ // outcome must be same as result of standard redefinition, that does not create a new Klass
+ bool ok = ClassLoaderDataGraph::dictionary_classes_do_update_klass(name_h, k, old_klass);
assert (ok, "must have found old class and updated!");
}
check_constraints(d_hash, k, class_loader_h, !is_redefining, CHECK);
--
2.23.0

View File

@@ -0,0 +1,527 @@
From cfdbad725c55a4ce45d407393a4591d8b8f333c9 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Thu, 18 Jun 2020 18:40:11 +0200
Subject: [PATCH 25/44] JBR-3140 - support for modularized HotswapAgent
Add -XX:HotswapAgent=[disabled,fatjar.core]
---
make/launcher/Launcher-java.base.gmk | 1 -
make/launcher/Launcher-java.rmi.gmk | 2 -
make/launcher/Launcher-java.scripting.gmk | 3 +-
make/launcher/Launcher-java.security.jgss.gmk | 3 --
make/launcher/Launcher-jdk.aot.gmk | 2 -
make/launcher/Launcher-jdk.compiler.gmk | 5 +-
make/launcher/Launcher-jdk.hotspot.agent.gmk | 1 -
make/launcher/Launcher-jdk.jartool.gmk | 2 -
make/launcher/Launcher-jdk.javadoc.gmk | 3 +-
make/launcher/Launcher-jdk.jcmd.gmk | 13 +----
make/launcher/Launcher-jdk.jdeps.gmk | 3 --
make/launcher/Launcher-jdk.jdi.gmk | 1 -
make/launcher/Launcher-jdk.jlink.gmk | 5 +-
make/launcher/Launcher-jdk.jshell.gmk | 1 -
make/launcher/Launcher-jdk.jstatd.gmk | 1 -
make/launcher/Launcher-jdk.pack.gmk | 1 -
make/launcher/Launcher-jdk.rmic.gmk | 1 -
.../Launcher-jdk.scripting.nashorn.shell.gmk | 3 +-
src/hotspot/share/runtime/arguments.cpp | 48 +++++++++++--------
.../runtime/flags/jvmFlagConstraintList.cpp | 23 +++++++++
.../runtime/flags/jvmFlagConstraintList.hpp | 1 +
.../flags/jvmFlagConstraintsRuntime.cpp | 10 ++++
.../flags/jvmFlagConstraintsRuntime.hpp | 1 +
src/hotspot/share/runtime/globals.hpp | 12 ++++-
24 files changed, 81 insertions(+), 65 deletions(-)
diff --git a/make/launcher/Launcher-java.base.gmk b/make/launcher/Launcher-java.base.gmk
index 38ba29530d8..f6d4aa28fe6 100644
--- a/make/launcher/Launcher-java.base.gmk
+++ b/make/launcher/Launcher-java.base.gmk
@@ -52,7 +52,6 @@ endif
$(eval $(call SetupBuildLauncher, keytool, \
MAIN_CLASS := sun.security.tools.keytool.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
diff --git a/make/launcher/Launcher-java.rmi.gmk b/make/launcher/Launcher-java.rmi.gmk
index 07046232275..a69a90bcc81 100644
--- a/make/launcher/Launcher-java.rmi.gmk
+++ b/make/launcher/Launcher-java.rmi.gmk
@@ -27,10 +27,8 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmid, \
MAIN_CLASS := sun.rmi.server.Activation, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, rmiregistry, \
MAIN_CLASS := sun.rmi.registry.RegistryImpl, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-java.scripting.gmk b/make/launcher/Launcher-java.scripting.gmk
index cf100e20789..057d2bf3aca 100644
--- a/make/launcher/Launcher-java.scripting.gmk
+++ b/make/launcher/Launcher-java.scripting.gmk
@@ -27,6 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jrunscript, \
MAIN_CLASS := com.sun.tools.script.shell.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT \
- -XX:+DisableHotswapAgent, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT, \
))
diff --git a/make/launcher/Launcher-java.security.jgss.gmk b/make/launcher/Launcher-java.security.jgss.gmk
index 2b856bfccb4..7411e1a21c4 100644
--- a/make/launcher/Launcher-java.security.jgss.gmk
+++ b/make/launcher/Launcher-java.security.jgss.gmk
@@ -28,16 +28,13 @@ include LauncherCommon.gmk
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupBuildLauncher, kinit, \
MAIN_CLASS := sun.security.krb5.internal.tools.Kinit, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, klist, \
MAIN_CLASS := sun.security.krb5.internal.tools.Klist, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, ktab, \
MAIN_CLASS := sun.security.krb5.internal.tools.Ktab, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
endif
diff --git a/make/launcher/Launcher-jdk.aot.gmk b/make/launcher/Launcher-jdk.aot.gmk
index 2c52c31a555..10717a5e1c5 100644
--- a/make/launcher/Launcher-jdk.aot.gmk
+++ b/make/launcher/Launcher-jdk.aot.gmk
@@ -31,7 +31,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jaotc, \
MAIN_CLASS := jdk.tools.jaotc.Main, \
EXTRA_JAVA_ARGS := -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
- -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
@@ -41,7 +40,6 @@ $(eval $(call SetupBuildLauncher, jaotc, \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
, \
JAVA_ARGS := --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
- -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
diff --git a/make/launcher/Launcher-jdk.compiler.gmk b/make/launcher/Launcher-jdk.compiler.gmk
index 744969546de..f71c37adf74 100644
--- a/make/launcher/Launcher-jdk.compiler.gmk
+++ b/make/launcher/Launcher-jdk.compiler.gmk
@@ -27,14 +27,12 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javac, \
MAIN_CLASS := com.sun.tools.javac.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT \
- -XX:+DisableHotswapAgent, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, serialver, \
MAIN_CLASS := sun.tools.serialver.SerialVer, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
@@ -43,7 +41,6 @@ ifeq ($(ENABLE_SJAVAC), yes)
# into any real images
$(eval $(call SetupBuildLauncher, sjavac, \
MAIN_CLASS := com.sun.tools.sjavac.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
OUTPUT_DIR := $(JDK_OUTPUTDIR)/bin, \
))
diff --git a/make/launcher/Launcher-jdk.hotspot.agent.gmk b/make/launcher/Launcher-jdk.hotspot.agent.gmk
index 9f12b05b172..76da3600368 100644
--- a/make/launcher/Launcher-jdk.hotspot.agent.gmk
+++ b/make/launcher/Launcher-jdk.hotspot.agent.gmk
@@ -27,6 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jhsdb, \
MAIN_CLASS := sun.jvm.hotspot.SALauncher, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
diff --git a/make/launcher/Launcher-jdk.jartool.gmk b/make/launcher/Launcher-jdk.jartool.gmk
index 647d82b65b1..f74e82bfdae 100644
--- a/make/launcher/Launcher-jdk.jartool.gmk
+++ b/make/launcher/Launcher-jdk.jartool.gmk
@@ -27,10 +27,8 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jar, \
MAIN_CLASS := sun.tools.jar.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jarsigner, \
MAIN_CLASS := sun.security.tools.jarsigner.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.javadoc.gmk b/make/launcher/Launcher-jdk.javadoc.gmk
index c3d2093be04..889028a2b17 100644
--- a/make/launcher/Launcher-jdk.javadoc.gmk
+++ b/make/launcher/Launcher-jdk.javadoc.gmk
@@ -27,7 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javadoc, \
MAIN_CLASS := jdk.javadoc.internal.tool.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT \
- -XX:+DisableHotswapAgent, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jcmd.gmk b/make/launcher/Launcher-jdk.jcmd.gmk
index 761a52d8466..7117fa78059 100644
--- a/make/launcher/Launcher-jdk.jcmd.gmk
+++ b/make/launcher/Launcher-jdk.jcmd.gmk
@@ -30,7 +30,6 @@ $(eval $(call SetupBuildLauncher, jinfo, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
-Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
- -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
@@ -38,36 +37,28 @@ $(eval $(call SetupBuildLauncher, jmap, \
MAIN_CLASS := sun.tools.jmap.JMap, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
- -XX:+DisableHotswapAgent, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jps, \
MAIN_CLASS := sun.tools.jps.Jps, \
- JAVA_ARGS := \
- -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jstack, \
MAIN_CLASS := sun.tools.jstack.JStack, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
- -XX:+DisableHotswapAgent, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jstat, \
MAIN_CLASS := sun.tools.jstat.Jstat, \
- JAVA_ARGS := \
- -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jcmd, \
MAIN_CLASS := sun.tools.jcmd.JCmd, \
- JAVA_ARGS := \
- -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.jdeps.gmk b/make/launcher/Launcher-jdk.jdeps.gmk
index 5448278dae7..217523c48cc 100644
--- a/make/launcher/Launcher-jdk.jdeps.gmk
+++ b/make/launcher/Launcher-jdk.jdeps.gmk
@@ -27,18 +27,15 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javap, \
MAIN_CLASS := com.sun.tools.javap.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeps, \
MAIN_CLASS := com.sun.tools.jdeps.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeprscan, \
MAIN_CLASS := com.sun.tools.jdeprscan.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jdi.gmk b/make/launcher/Launcher-jdk.jdi.gmk
index 27bd448e3ae..fcce98cf430 100644
--- a/make/launcher/Launcher-jdk.jdi.gmk
+++ b/make/launcher/Launcher-jdk.jdi.gmk
@@ -27,5 +27,4 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jdb, \
MAIN_CLASS := com.sun.tools.example.debug.tty.TTY, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.jlink.gmk b/make/launcher/Launcher-jdk.jlink.gmk
index 9e61edeb2c8..df2173996d7 100644
--- a/make/launcher/Launcher-jdk.jlink.gmk
+++ b/make/launcher/Launcher-jdk.jlink.gmk
@@ -27,21 +27,18 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jimage,\
MAIN_CLASS := jdk.tools.jimage.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES, \
))
$(eval $(call SetupBuildLauncher, jlink,\
MAIN_CLASS := jdk.tools.jlink.internal.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT \
- -XX:+DisableHotswapAgent, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jmod,\
MAIN_CLASS := jdk.tools.jmod.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jshell.gmk b/make/launcher/Launcher-jdk.jshell.gmk
index 7287f8f998a..349eb88e9eb 100644
--- a/make/launcher/Launcher-jdk.jshell.gmk
+++ b/make/launcher/Launcher-jdk.jshell.gmk
@@ -27,6 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jshell, \
MAIN_CLASS := jdk.internal.jshell.tool.JShellToolProvider, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jstatd.gmk b/make/launcher/Launcher-jdk.jstatd.gmk
index e1657910c67..e9286d63094 100644
--- a/make/launcher/Launcher-jdk.jstatd.gmk
+++ b/make/launcher/Launcher-jdk.jstatd.gmk
@@ -27,7 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jstatd, \
MAIN_CLASS := sun.tools.jstatd.Jstatd, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.pack.gmk b/make/launcher/Launcher-jdk.pack.gmk
index 64bbbb7c949..a93fd2a9017 100644
--- a/make/launcher/Launcher-jdk.pack.gmk
+++ b/make/launcher/Launcher-jdk.pack.gmk
@@ -28,7 +28,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, pack200, \
MAIN_MODULE := java.base, \
MAIN_CLASS := com.sun.java.util.jar.pack.Driver, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
diff --git a/make/launcher/Launcher-jdk.rmic.gmk b/make/launcher/Launcher-jdk.rmic.gmk
index b8a55900b0e..d60c3d9b60b 100644
--- a/make/launcher/Launcher-jdk.rmic.gmk
+++ b/make/launcher/Launcher-jdk.rmic.gmk
@@ -27,6 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmic, \
MAIN_CLASS := sun.rmi.rmic.Main, \
- JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
index bd39f8595b2..82311e69fd6 100644
--- a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
+++ b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
@@ -27,7 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jjs, \
MAIN_CLASS := jdk.nashorn.tools.jjs.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT \
- -XX:+DisableHotswapAgent, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT, \
CFLAGS := -DENABLE_ARG_FILES, \
))
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 65839b842e2..dce89a044e9 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -4315,11 +4315,17 @@ void Arguments::setup_hotswap_agent() {
if (DumpSharedSpaces)
return;
- if (!AllowEnhancedClassRedefinition)
+ if (HotswapAgent == NULL || strcmp(HotswapAgent, "disabled") == 0)
return;
+ // Force AllowEnhancedClassRedefinition if HA is enabled
+ AllowEnhancedClassRedefinition = true;
+
+ bool ha_fatjar = strcmp(HotswapAgent, "fatjar") == 0;
+ bool ha_core = strcmp(HotswapAgent, "core") == 0;
+
// Set HotswapAgent
- if (!DisableHotswapAgent) {
+ if (ha_fatjar || ha_core) {
char ext_path_str[JVM_MAXPATHLEN];
@@ -4338,23 +4344,27 @@ void Arguments::setup_hotswap_agent() {
}
}
if (ext_path_length < JVM_MAXPATHLEN - 10) {
- jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length,
- "%shotswap%shotswap-agent.jar", os::file_separator(), os::file_separator());
- }
-
- int fd = ::open(ext_path_str, O_RDONLY);
- if (fd >= 0) {
- os::close(fd);
- size_t length = strlen(ext_path_str) + 1;
- char *options = NEW_C_HEAP_ARRAY(char, length, mtArguments);
- jio_snprintf(options, length, "%s", ext_path_str);
- add_init_agent("instrument", ext_path_str, false);
- jio_fprintf(defaultStream::output_stream(), "Starting HotswapAgent '%s'\n", ext_path_str);
- }
-// else
-// {
-// jio_fprintf(defaultStream::error_stream(), "HotswapAgent not found on path:'%s'\n", ext_path_str);
-// }
+ if (ha_fatjar) {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length,
+ "%shotswap%shotswap-agent.jar", os::file_separator(), os::file_separator());
+ } else {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length,
+ "%shotswap%shotswap-agent-core.jar", os::file_separator(), os::file_separator());
+ }
+ int fd = ::open(ext_path_str, O_RDONLY);
+ if (fd >= 0) {
+ os::close(fd);
+ size_t length = strlen(ext_path_str) + 1;
+ char *options = NEW_C_HEAP_ARRAY(char, length, mtArguments);
+ jio_snprintf(options, length, "%s", ext_path_str);
+ add_init_agent("instrument", ext_path_str, false);
+ jio_fprintf(defaultStream::output_stream(), "Starting HotswapAgent '%s'\n", ext_path_str);
+ }
+ else
+ {
+ jio_fprintf(defaultStream::error_stream(), "HotswapAgent not found on path:'%s'!\n", ext_path_str);
+ }
+ }
}
// TODO: open it only for org.hotswap.agent module
diff --git a/src/hotspot/share/runtime/flags/jvmFlagConstraintList.cpp b/src/hotspot/share/runtime/flags/jvmFlagConstraintList.cpp
index 16d8030fd1c..94044c4831c 100644
--- a/src/hotspot/share/runtime/flags/jvmFlagConstraintList.cpp
+++ b/src/hotspot/share/runtime/flags/jvmFlagConstraintList.cpp
@@ -199,6 +199,26 @@ public:
}
};
+class JVMFlagConstraint_ccstr : public JVMFlagConstraint {
+ JVMFlagConstraintFunc_ccstr _constraint;
+ const ccstr* _ptr;
+
+public:
+ // the "name" argument must be a string literal
+ JVMFlagConstraint_ccstr(const char* name, const ccstr* ptr,
+ JVMFlagConstraintFunc_ccstr func,
+ ConstraintType type) : JVMFlagConstraint(name, type), _constraint(func), _ptr(ptr) {}
+
+ JVMFlag::Error apply(bool verbose) {
+ ccstr value = *_ptr;
+ return _constraint(value, verbose);
+ }
+
+ JVMFlag::Error apply_ccstr(ccstr value, bool verbose) {
+ return _constraint(value, verbose);
+ }
+};
+
// No constraint emitting
void emit_constraint_no(...) { /* NOP */ }
@@ -239,6 +259,9 @@ void emit_constraint_size_t(const char* name, const size_t* ptr, JVMFlagConstrai
void emit_constraint_double(const char* name, const double* ptr, JVMFlagConstraintFunc_double func, JVMFlagConstraint::ConstraintType type) {
JVMFlagConstraintList::add(new JVMFlagConstraint_double(name, ptr, func, type));
}
+void emit_constraint_ccstr(const char* name, ccstr* ptr, JVMFlagConstraintFunc_ccstr func, JVMFlagConstraint::ConstraintType type) {
+ JVMFlagConstraintList::add(new JVMFlagConstraint_ccstr(name, ptr, func, type));
+}
// Generate code to call emit_constraint_xxx function
#define EMIT_CONSTRAINT_PRODUCT_FLAG(type, name, value, doc) ); emit_constraint_##type(#name,&name
diff --git a/src/hotspot/share/runtime/flags/jvmFlagConstraintList.hpp b/src/hotspot/share/runtime/flags/jvmFlagConstraintList.hpp
index 9c27f1db955..b644f7b817a 100644
--- a/src/hotspot/share/runtime/flags/jvmFlagConstraintList.hpp
+++ b/src/hotspot/share/runtime/flags/jvmFlagConstraintList.hpp
@@ -47,6 +47,7 @@ typedef JVMFlag::Error (*JVMFlagConstraintFunc_uintx)(uintx value, bool verbose)
typedef JVMFlag::Error (*JVMFlagConstraintFunc_uint64_t)(uint64_t value, bool verbose);
typedef JVMFlag::Error (*JVMFlagConstraintFunc_size_t)(size_t value, bool verbose);
typedef JVMFlag::Error (*JVMFlagConstraintFunc_double)(double value, bool verbose);
+typedef JVMFlag::Error (*JVMFlagConstraintFunc_ccstr)(ccstr value, bool verbose);
class JVMFlagConstraint : public CHeapObj<mtArguments> {
public:
diff --git a/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp b/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp
index 6559d4252f0..21afac72a2e 100644
--- a/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp
+++ b/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp
@@ -140,3 +140,13 @@ JVMFlag::Error ThreadLocalHandshakesConstraintFunc(bool value, bool verbose) {
}
return JVMFlag::SUCCESS;
}
+
+JVMFlag::Error HotswapAgentConstraintFunc(char const* value, bool verbose) {
+ if (value != NULL) {
+ if (strcmp("disabled", value) != 0 && strcmp("fatjar", value) != 0 && strcmp("core", value) != 0 && strcmp("external", value) != 0) {
+ JVMFlag::printError(verbose, "HotswapAgent(%s) must be one of disabled,fatjar,core or external.\n", value);
+ return JVMFlag::VIOLATES_CONSTRAINT;
+ }
+ }
+ return JVMFlag::SUCCESS;
+}
diff --git a/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp b/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp
index 8763b83fd37..c9ed15a89e1 100644
--- a/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp
+++ b/src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp
@@ -46,5 +46,6 @@ JVMFlag::Error PerfDataSamplingIntervalFunc(intx value, bool verbose);
JVMFlag::Error ThreadLocalHandshakesConstraintFunc(bool value, bool verbose);
+JVMFlag::Error HotswapAgentConstraintFunc(char const* value, bool verbose);
#endif /* SHARE_VM_RUNTIME_JVMFLAGCONSTRAINTSRUNTIME_HPP */
diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
index 1984b8c28f9..c015b89b176 100644
--- a/src/hotspot/share/runtime/globals.hpp
+++ b/src/hotspot/share/runtime/globals.hpp
@@ -2695,8 +2695,16 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
"Allow enhanced class redefinition beyond swapping method " \
"bodies") \
\
- product(bool, DisableHotswapAgent, DISABLED_HOTSWAP_AGENT, \
- "Disable integrated Hotswap Agent (HotswapVM only)")
+ product(ccstr, HotswapAgent, "disabled", \
+ "Specify HotswapAgent image to be used." \
+ "disabled: hotswap agent is disabled (default)" \
+ "fatjar: full HA. Use integrated hotswap-agent.jar" \
+ "core: core HA. Use integrated hotswap-agent-core.jar" \
+ "external: external HA. use external HA, open required JDK " \
+ "modules.") \
+ constraint(HotswapAgentConstraintFunc, AfterErgo)
+
+
#define VM_FLAGS(develop, \
develop_pd, \
product, \
--
2.23.0

View File

@@ -0,0 +1,333 @@
From a9468fd22397d85bc238b6ec763f4643245999ab Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 7 Mar 2021 20:22:54 +0100
Subject: [PATCH 26/44] Support for redefinition of Well Known classses
(java.*,jdk.*, sun.*)
---
src/hotspot/share/ci/ciKlass.hpp | 1 +
src/hotspot/share/ci/ciObjectFactory.cpp | 34 +++++++++++
src/hotspot/share/ci/ciObjectFactory.hpp | 6 ++
.../share/classfile/systemDictionary.cpp | 10 +++
.../share/classfile/systemDictionary.hpp | 2 +
src/hotspot/share/classfile/vmSymbols.hpp | 2 +
src/hotspot/share/compiler/compileBroker.cpp | 11 ++++
src/hotspot/share/memory/universe.cpp | 8 +++
src/hotspot/share/memory/universe.hpp | 3 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 61 ++++++++++++++++++-
.../prims/jvmtiEnhancedRedefineClasses.hpp | 2 +
11 files changed, 139 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/ci/ciKlass.hpp b/src/hotspot/share/ci/ciKlass.hpp
index 896f489453a..c610c365aba 100644
--- a/src/hotspot/share/ci/ciKlass.hpp
+++ b/src/hotspot/share/ci/ciKlass.hpp
@@ -129,6 +129,7 @@ public:
void print_name_on(outputStream* st);
const char* external_name() const;
+ Klass* new_version() { return get_Klass()->new_version(); }
};
#endif // SHARE_VM_CI_CIKLASS_HPP
diff --git a/src/hotspot/share/ci/ciObjectFactory.cpp b/src/hotspot/share/ci/ciObjectFactory.cpp
index b2ab15c4b65..d997a90a055 100644
--- a/src/hotspot/share/ci/ciObjectFactory.cpp
+++ b/src/hotspot/share/ci/ciObjectFactory.cpp
@@ -70,7 +70,10 @@ GrowableArray<ciMetadata*>* ciObjectFactory::_shared_ci_metadata = NULL;
ciSymbol* ciObjectFactory::_shared_ci_symbols[vmSymbols::SID_LIMIT];
int ciObjectFactory::_shared_ident_limit = 0;
volatile bool ciObjectFactory::_initialized = false;
+volatile bool ciObjectFactory::_reinitialize_wk_klasses = false;
+// TODO: review...
+Arena* ciObjectFactory::_initial_arena = NULL;
// ------------------------------------------------------------------
// ciObjectFactory::ciObjectFactory
@@ -112,6 +115,7 @@ void ciObjectFactory::initialize() {
// compiler thread that initializes the initial ciObjectFactory which
// creates the shared ciObjects that all later ciObjectFactories use.
Arena* arena = new (mtCompiler) Arena(mtCompiler);
+ ciObjectFactory::_initial_arena = arena;
ciEnv initial(arena);
ciEnv* env = ciEnv::current();
env->_factory->init_shared_objects();
@@ -120,6 +124,36 @@ void ciObjectFactory::initialize() {
}
+// (DCEVM) wk classes could be modified
+void ciObjectFactory::reinitialize_wk_classes() {
+ ASSERT_IN_VM;
+ JavaThread* thread = JavaThread::current();
+ HandleMark handle_mark(thread);
+
+ // This Arena is long lived and exists in the resource mark of the
+ // compiler thread that initializes the initial ciObjectFactory which
+ // creates the shared ciObjects that all later ciObjectFactories use.
+ // Arena* arena = new (mtCompiler) Arena(mtCompiler);
+ ciEnv initial(ciObjectFactory::_initial_arena);
+ ciEnv* env = ciEnv::current();
+ env->_factory->do_reinitialize_wk_classes();
+ _reinitialize_wk_klasses = false;
+}
+
+// (DCEVM) wk classes could be modified
+void ciObjectFactory::do_reinitialize_wk_classes() {
+#define WK_KLASS_DEFN(name, ignore_s, opt) \
+ if (ciEnv::_##name != NULL && ciEnv::_##name->new_version() != NULL) { \
+ int old_ident = ciEnv::_##name->ident(); \
+ ciEnv::_##name = get_metadata(SystemDictionary::name())->as_instance_klass(); \
+ ciEnv::_##name->compute_nonstatic_fields(); \
+ ciEnv::_##name->set_ident(old_ident); \
+ }
+
+ WK_KLASSES_DO(WK_KLASS_DEFN)
+#undef WK_KLASS_DEFN
+}
+
void ciObjectFactory::init_shared_objects() {
_next_ident = 1; // start numbering CI objects at 1
diff --git a/src/hotspot/share/ci/ciObjectFactory.hpp b/src/hotspot/share/ci/ciObjectFactory.hpp
index 5d573350aa2..2978261328c 100644
--- a/src/hotspot/share/ci/ciObjectFactory.hpp
+++ b/src/hotspot/share/ci/ciObjectFactory.hpp
@@ -41,9 +41,11 @@ class ciObjectFactory : public ResourceObj {
private:
static volatile bool _initialized;
+ static volatile bool _reinitialize_wk_klasses;
static GrowableArray<ciMetadata*>* _shared_ci_metadata;
static ciSymbol* _shared_ci_symbols[];
static int _shared_ident_limit;
+ static Arena* _initial_arena;
Arena* _arena;
GrowableArray<ciMetadata*>* _ci_metadata;
@@ -89,10 +91,14 @@ private:
ciInstance* get_unloaded_instance(ciInstanceKlass* klass);
static int compare_cimetadata(ciMetadata** a, ciMetadata** b);
+ void do_reinitialize_wk_classes();
public:
static bool is_initialized() { return _initialized; }
+ static bool is_reinitialize_wk_klasses() { return _reinitialize_wk_klasses; }
+ static void set_reinitialize_wk_klasses() { _reinitialize_wk_klasses = true; }
static void initialize();
+ static void reinitialize_wk_classes();
void init_shared_objects();
void remove_symbols();
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index cf0a05176c8..be7fcbf2b47 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -1979,6 +1979,16 @@ bool SystemDictionary::is_well_known_klass(Symbol* class_name) {
}
#endif
+bool SystemDictionary::update_well_known_klass(InstanceKlass* old_klass, InstanceKlass* new_klass) {
+ for (int id = FIRST_WKID; id < WKID_LIMIT; id++) {
+ if (well_known_klass((WKID) id) == old_klass) {
+ *well_known_klass_addr((WKID)id) = new_klass;
+ return true;
+ }
+ }
+ return false;
+}
+
bool SystemDictionary::resolve_wk_klass(WKID id, int init_opt, TRAPS) {
assert(id >= (int)FIRST_WKID && id < (int)WKID_LIMIT, "oob");
int info = wk_init_info[id - FIRST_WKID];
diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp
index 0002abe6122..707ff871e19 100644
--- a/src/hotspot/share/classfile/systemDictionary.hpp
+++ b/src/hotspot/share/classfile/systemDictionary.hpp
@@ -463,6 +463,8 @@ public:
static bool is_well_known_klass(Symbol* class_name);
#endif
+ static bool update_well_known_klass(InstanceKlass* new_klass, InstanceKlass* old_klass);
+
// Enhanced class redefinition
static void remove_from_hierarchy(InstanceKlass* k);
static void update_constraints_after_redefinition();
diff --git a/src/hotspot/share/classfile/vmSymbols.hpp b/src/hotspot/share/classfile/vmSymbols.hpp
index 0d0badeabd0..3477a408cb6 100644
--- a/src/hotspot/share/classfile/vmSymbols.hpp
+++ b/src/hotspot/share/classfile/vmSymbols.hpp
@@ -356,6 +356,8 @@
template(exit_method_name, "exit") \
template(add_method_name, "add") \
template(remove_method_name, "remove") \
+ template(registerNatives_method_name, "registerNatives") \
+ template(initIDs_method_name, "initIDs") \
template(parent_name, "parent") \
template(threads_name, "threads") \
template(groups_name, "groups") \
diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp
index 1ff09ebf3ec..bd662b5ebef 100644
--- a/src/hotspot/share/compiler/compileBroker.cpp
+++ b/src/hotspot/share/compiler/compileBroker.cpp
@@ -1871,6 +1871,17 @@ void CompileBroker::compiler_thread_loop() {
if (method()->number_of_breakpoints() == 0) {
// Compile the method.
if ((UseCompiler || AlwaysCompileLoopMethods) && CompileBroker::should_compile_new_jobs()) {
+
+ // TODO: review usage of CompileThread_lock (DCEVM)
+ if (ciObjectFactory::is_reinitialize_wk_klasses())
+ {
+ ASSERT_IN_VM;
+ MutexLocker only_one (CompileThread_lock, thread);
+ if (ciObjectFactory::is_reinitialize_wk_klasses()) {
+ ciObjectFactory::reinitialize_wk_classes();
+ }
+ }
+
invoke_compiler_on_method(task);
thread->start_idle_timer();
} else {
diff --git a/src/hotspot/share/memory/universe.cpp b/src/hotspot/share/memory/universe.cpp
index 2e4f597cf1f..4b2c3e62941 100644
--- a/src/hotspot/share/memory/universe.cpp
+++ b/src/hotspot/share/memory/universe.cpp
@@ -1030,6 +1030,14 @@ void Universe::initialize_known_methods(TRAPS) {
vmSymbols::doStackWalk_signature(), false, CHECK);
}
+void Universe::reinitialize_loader_addClass_method(TRAPS) {
+ // Set up method for registering loaded classes in class loader vector
+ initialize_known_method(_loader_addClass_cache,
+ SystemDictionary::ClassLoader_klass(),
+ "addClass",
+ vmSymbols::class_void_signature(), false, CHECK);
+}
+
void universe2_init() {
EXCEPTION_MARK;
Universe::genesis(CATCH);
diff --git a/src/hotspot/share/memory/universe.hpp b/src/hotspot/share/memory/universe.hpp
index 742dada0e8f..d1af82b5fa7 100644
--- a/src/hotspot/share/memory/universe.hpp
+++ b/src/hotspot/share/memory/universe.hpp
@@ -349,6 +349,9 @@ class Universe: AllStatic {
// Function to initialize these
static void initialize_known_methods(TRAPS);
+ // Enhanced class redefinition
+ static void reinitialize_loader_addClass_method(TRAPS);
+
static oop null_ptr_exception_instance() { return _null_ptr_exception_instance; }
static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; }
static oop virtual_machine_error_instance() { return _virtual_machine_error_instance; }
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index f4bde7504c8..80d4e68ccae 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -497,6 +497,16 @@ void VM_EnhancedRedefineClasses::doit() {
redefine_single_class(_new_classes->at(i), thread);
}
+ // Update possible redefinition of well-known classes (like ClassLoader)
+ for (int i = 0; i < _new_classes->length(); i++) {
+ InstanceKlass* cur = _new_classes->at(i);
+ if (cur->old_version() != NULL && SystemDictionary::update_well_known_klass(InstanceKlass::cast(cur->old_version()), cur))
+ {
+ log_trace(redefine, class, obsolete, metadata)("Well known class updated %s", cur->external_name());
+ ciObjectFactory::set_reinitialize_wk_klasses();
+ }
+ }
+
// Deoptimize all compiled code that depends on this class (do only once, because it clears whole cache)
// if (_max_redefinition_flags > Klass::ModifyClass) {
flush_dependent_code(NULL, thread);
@@ -672,12 +682,56 @@ void VM_EnhancedRedefineClasses::doit() {
_timer_vm_op_doit.stop();
}
+void VM_EnhancedRedefineClasses::reinitializeJDKClasses() {
+ if (!_new_classes->is_empty()) {
+ ResourceMark rm(Thread::current());
+
+ for (int i = 0; i < _new_classes->length(); i++) {
+ InstanceKlass* cur = _new_classes->at(i);
+
+ if (cur->name()->starts_with("java/") || cur->name()->starts_with("jdk/") || cur->name()->starts_with("sun/")) {
+
+ if (cur == SystemDictionary::ClassLoader_klass()) {
+ // ClassLoader.addClass method is cached in Universe, we must redefine
+ Universe::reinitialize_loader_addClass_method(Thread::current());
+ log_trace(redefine, class, obsolete, metadata)("Reinitialize ClassLoade addClass method cache.");
+ }
+
+ // naive assumptions that only JDK classes has native static "registerNative" and "initIDs" methods
+ int end;
+ Symbol* signature = vmSymbols::registerNatives_method_name();
+ int midx = cur->find_method_by_name(signature, &end);
+ if (midx == -1) {
+ signature = vmSymbols::initIDs_method_name();
+ midx = cur->find_method_by_name(signature, &end);
+ }
+ Method* m = NULL;
+ if (midx != -1) {
+ m = cur->methods()->at(midx);
+ }
+ if (m != NULL && m->is_static() && m->is_native()) {
+ // call static registerNative if present
+ JavaValue result(T_VOID);
+ JavaCalls::call_static(&result,
+ cur,
+ signature,
+ vmSymbols::void_method_signature(),
+ Thread::current());
+ log_trace(redefine, class, obsolete, metadata)("Reregister natives of JDK class %s", cur->external_name());
+ }
+ }
+ }
+ }
+}
+
// Cleanup - runs in JVM thread
// - free used memory
// - end GC
void VM_EnhancedRedefineClasses::doit_epilogue() {
VM_GC_Operation::doit_epilogue();
+ reinitializeJDKClasses();
+
if (_new_classes != NULL) {
delete _new_classes;
}
@@ -1589,7 +1643,12 @@ void VM_EnhancedRedefineClasses::check_methods_and_mark_as_obsolete() {
// obsolete methods need a unique idnum so they become new entries in
// the jmethodID cache in InstanceKlass
- assert(old_method->method_idnum() == new_method->method_idnum(), "must match");
+ if (old_method->method_idnum() != new_method->method_idnum()) {
+ log_error(redefine, class, normalize)
+ ("Method not matched: %d != %d old: %s = new: %s", old_method->method_idnum(), new_method->method_idnum(),
+ old_method->name_and_sig_as_C_string(), new_method->name_and_sig_as_C_string());
+ // assert(old_method->method_idnum() == new_method->method_idnum(), "must match");
+ }
// u2 num = InstanceKlass::cast(_the_class_oop)->next_method_idnum();
// if (num != ConstMethod::UNSET_IDNUM) {
// old_method->set_method_idnum(num);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 4c0412d343d..79ea17b0d47 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -141,6 +141,8 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void flush_dependent_code(InstanceKlass* k_h, TRAPS);
+ void reinitializeJDKClasses();
+
static void check_class(InstanceKlass* k_oop, TRAPS);
static void dump_methods();
--
2.23.0

View File

@@ -0,0 +1,27 @@
From acafc3515aa1083d2214336af596cb579a488c8d Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 19 Mar 2021 19:13:38 +0100
Subject: [PATCH 27/44] JBR-3458: Skip dynamic proxy classes based on
com.sun.proxy
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 80d4e68ccae..10c375d601c 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -689,7 +689,8 @@ void VM_EnhancedRedefineClasses::reinitializeJDKClasses() {
for (int i = 0; i < _new_classes->length(); i++) {
InstanceKlass* cur = _new_classes->at(i);
- if (cur->name()->starts_with("java/") || cur->name()->starts_with("jdk/") || cur->name()->starts_with("sun/")) {
+ if ((cur->name()->starts_with("java/") || cur->name()->starts_with("jdk/") || cur->name()->starts_with("sun/"))
+ && cur->name()->index_of_at(0, "$$") == -1) { // skip dynamic proxies
if (cur == SystemDictionary::ClassLoader_klass()) {
// ClassLoader.addClass method is cached in Universe, we must redefine
--
2.23.0

View File

@@ -0,0 +1,79 @@
From 4ba18f232db0dd92369d110cbb4f38f5a35eb5c7 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 20 Mar 2021 20:51:08 +0100
Subject: [PATCH 28/44] JBR-3459: Fix race condition in
ClassLoaderDataGraph::classes_do
InstanceKlass in ClassLoaderData can be uninitialized when
ClassLoaderDataGraph::classes_do is called. Using
ClassLoaderDataGraph::dictionary_classes_do is safe but problem is still
persisting with anonymous classes.
---
src/hotspot/share/classfile/classLoaderData.cpp | 10 ++++++++++
src/hotspot/share/classfile/classLoaderData.hpp | 4 ++++
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 13 +++++++++++--
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 68df33b6c40..b12784954af 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1169,6 +1169,16 @@ void ClassLoaderDataGraph::classes_do(KlassClosure* klass_closure) {
}
}
+void ClassLoaderDataGraph::anonymous_classes_do(KlassClosure* klass_closure) {
+ Thread* thread = Thread::current();
+ for (ClassLoaderData* cld = _head; cld != NULL; cld = cld->next()) {
+ if (cld->is_anonymous()) {
+ Handle holder(thread, cld->holder_phantom());
+ cld->classes_do(klass_closure);
+ }
+ }
+}
+
void ClassLoaderDataGraph::classes_do(void f(Klass* const)) {
Thread* thread = Thread::current();
for (ClassLoaderData* cld = _head; cld != NULL; cld = cld->next()) {
diff --git a/src/hotspot/share/classfile/classLoaderData.hpp b/src/hotspot/share/classfile/classLoaderData.hpp
index 92f57dac23e..c4c17112a2d 100644
--- a/src/hotspot/share/classfile/classLoaderData.hpp
+++ b/src/hotspot/share/classfile/classLoaderData.hpp
@@ -108,6 +108,10 @@ class ClassLoaderDataGraph : public AllStatic {
// for redefinition. These classes are removed during the next class unloading.
// Walking the ClassLoaderDataGraph also includes anonymous classes.
static void classes_do(KlassClosure* klass_closure);
+
+ // Enhanced class redefinition
+ static void anonymous_classes_do(KlassClosure* klass_closure);
+
static void classes_do(void f(Klass* const));
static void methods_do(void f(Method*));
static void modules_do(void f(ModuleEntry*));
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 10c375d601c..5de5f78aea0 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -2130,8 +2130,17 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
AffectedKlassClosure closure(_affected_klasses);
// Updated in j10, from original SystemDictionary::classes_do
- ClassLoaderDataGraph::classes_do(&closure);
- //ClassLoaderDataGraph::dictionary_classes_do(&closure);
+ // 0. we can't use ClassLoaderDataGraph::classes_do since classes can be uninitialized in cld,
+ // fully initialized class is in system dictionary
+ // ClassLoaderDataGraph::classes_do(&closure);
+
+ // 1. Scan over dictionaries
+ ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
+ // 2. Anonymous class is not in dictionary, we have to iterate anonymous cld directly, but there is race cond...
+ // TODO: review ... anonymous class is added to cld before InstanceKlass initialization,
+ // find out how to check if the InstanceKlass is initialized
+ ClassLoaderDataGraph::anonymous_classes_do(&closure);
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
--
2.23.0

View File

@@ -0,0 +1,222 @@
From f0c417c9f5eaf721a7c022e7c901af59a0993885 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 10 Oct 2021 20:25:30 +0200
Subject: [PATCH 29/44] JBR-3867 - update keys of jvmti TAG map after
redefinition
jdwp keeps relation class_ptr->class_ref in jvmti tag. class_ptr is used
as a tag key, tag value is refnode. There are new class_ptrs after
redefinition, therefore jdwp redefinition method update all affected
keys in the tag map.
---
src/hotspot/share/prims/jvmtiExtensions.cpp | 24 ++++++++++++++
.../share/native/libjdwp/VirtualMachineImpl.c | 20 +++++++++++
.../share/native/libjdwp/commonRef.c | 29 ++++++++++++++++
.../share/native/libjdwp/commonRef.h | 2 ++
.../share/native/libjdwp/util.c | 33 +++++++++++++++++++
.../share/native/libjdwp/util.h | 3 ++
6 files changed, 111 insertions(+)
diff --git a/src/hotspot/share/prims/jvmtiExtensions.cpp b/src/hotspot/share/prims/jvmtiExtensions.cpp
index 36bc47ad0b5..8a6058fd884 100644
--- a/src/hotspot/share/prims/jvmtiExtensions.cpp
+++ b/src/hotspot/share/prims/jvmtiExtensions.cpp
@@ -49,6 +49,15 @@ static jvmtiError JNICALL IsClassUnloadingEnabled(const jvmtiEnv* env, ...) {
return JVMTI_ERROR_NONE;
}
+// extension function
+static jvmtiError JNICALL IsEnhancedClassRedefinitionEnabled(const jvmtiEnv* env, jboolean* enabled, ...) {
+ if (enabled == NULL) {
+ return JVMTI_ERROR_NULL_POINTER;
+ }
+ *enabled = (jboolean)AllowEnhancedClassRedefinition;
+ return JVMTI_ERROR_NONE;
+}
+
// register extension functions and events. In this implementation we
// have a single extension function (to prove the API) that tests if class
// unloading is enabled or disabled. We also have a single extension event
@@ -88,6 +97,21 @@ void JvmtiExtensions::register_extensions() {
event_params
};
_ext_events->append(&ext_event);
+
+ static jvmtiParamInfo func_params_enh_redef[] = {
+ { (char*)"IsEnhancedClassRedefinitionEnabled", JVMTI_KIND_OUT, JVMTI_TYPE_JBOOLEAN, JNI_FALSE }
+
+ };
+ static jvmtiExtensionFunctionInfo ext_func_enh_redef = {
+ (jvmtiExtensionFunction)IsEnhancedClassRedefinitionEnabled,
+ (char*)"com.sun.hotspot.functions.IsEnhancedClassRedefinitionEnabled",
+ (char*)"Tell if enhanced class redefinition is enabled (-noclassgc)",
+ sizeof(func_params_enh_redef)/sizeof(func_params_enh_redef[0]),
+ func_params_enh_redef,
+ 0, // no non-universal errors
+ NULL
+ };
+ _ext_functions->append(&ext_func_enh_redef);
}
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c b/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
index d7ca956dc57..faa8f55f91f 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
@@ -475,6 +475,14 @@ redefineClasses(PacketInputStream *in, PacketOutputStream *out)
if (ok == JNI_TRUE) {
jvmtiError error;
+ jlong classIds[classCount];
+
+ if (gdata->isEnhancedClassRedefinitionEnabled) {
+ for (i = 0; i < classCount; ++i) {
+ classIds[i] = commonRef_refToID(env, classDefs[i].klass);
+ }
+ }
+
error = JVMTI_FUNC_PTR(gdata->jvmti,RedefineClasses)
(gdata->jvmti, classCount, classDefs);
if (error != JVMTI_ERROR_NONE) {
@@ -484,6 +492,18 @@ redefineClasses(PacketInputStream *in, PacketOutputStream *out)
for ( i = 0 ; i < classCount; i++ ) {
eventHandler_freeClassBreakpoints(classDefs[i].klass);
}
+
+ if (gdata->isEnhancedClassRedefinitionEnabled) {
+ /* Update tags in jvmti to use new classes */
+ for ( i = 0 ; i < classCount; i++ ) {
+ /* pointer in classIds[i] is updated by advanced redefinition to a new class */
+ error = commonRef_updateTags(env, classIds[i]);
+ if (error != JVMTI_ERROR_NONE) {
+ break;
+ }
+ }
+ }
+
}
}
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.c b/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.c
index 2a8f55014d9..3f33b423209 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.c
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.c
@@ -618,3 +618,32 @@ commonRef_unlock(void)
{
debugMonitorExit(gdata->refLock);
}
+
+/*
+ * Update JVMTI tags, used from enhanced redefinition
+ */
+jvmtiError
+commonRef_updateTags(JNIEnv *env, jlong id)
+{
+ jvmtiError error;
+
+ error = JVMTI_ERROR_NONE;
+
+ if (id == NULL_OBJECT_ID) {
+ return error;
+ }
+
+ debugMonitorEnter(gdata->refLock); {
+ RefNode *node;
+
+ node = findNodeByID(env, id);
+ if (node != NULL) {
+ error = JVMTI_FUNC_PTR(gdata->jvmti, SetTag)
+ (gdata->jvmti, node->ref, ptr_to_jlong(node));
+ } else {
+ printf("Node not found\n");
+ }
+ } debugMonitorExit(gdata->refLock);
+
+ return error;
+}
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.h b/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.h
index 7c76667eb19..d7b01e62a47 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.h
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/commonRef.h
@@ -41,4 +41,6 @@ void commonRef_compact(void);
void commonRef_lock(void);
void commonRef_unlock(void);
+jvmtiError commonRef_updateTags(JNIEnv *env, jlong id);
+
#endif
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/util.c b/src/jdk.jdwp.agent/share/native/libjdwp/util.c
index f4a1d19589d..0642c4a3d7f 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/util.c
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/util.c
@@ -41,6 +41,7 @@ BackendGlobalData *gdata = NULL;
static jboolean isInterface(jclass clazz);
static jboolean isArrayClass(jclass clazz);
static char * getPropertyUTF8(JNIEnv *env, char *propertyName);
+static jboolean isEnhancedClassRedefinitionEnabled(JNIEnv *env);
/* Save an object reference for use later (create a NewGlobalRef) */
void
@@ -281,6 +282,8 @@ util_initialize(JNIEnv *env)
}
}
+ gdata->isEnhancedClassRedefinitionEnabled = isEnhancedClassRedefinitionEnabled(env);
+
} END_WITH_LOCAL_REFS(env);
}
@@ -1739,6 +1742,36 @@ getPropertyUTF8(JNIEnv *env, char *propertyName)
return value;
}
+static jboolean
+isEnhancedClassRedefinitionEnabled(JNIEnv *env)
+{
+ jvmtiError error;
+ jint count, i;
+ jvmtiExtensionFunctionInfo* ext_funcs;
+
+ error = JVMTI_FUNC_PTR(gdata->jvmti,GetExtensionFunctions)
+ (gdata->jvmti, &count, &ext_funcs);
+ if (error != JVMTI_ERROR_NONE) {
+ return JNI_FALSE;
+ }
+
+ for (i=0; i<count; i++) {
+ if (strcmp(ext_funcs[i].id, (char*)"com.sun.hotspot.functions.IsEnhancedClassRedefinitionEnabled") == 0) {
+ jboolean enabled;
+ error = (*ext_funcs[i].func)(gdata->jvmti, &enabled);
+
+ if (error != JVMTI_ERROR_NONE) {
+ return JNI_FALSE;
+ } else {
+ return enabled;
+ }
+ }
+ }
+
+ return JNI_FALSE;
+}
+
+
jboolean
isMethodObsolete(jmethodID method)
{
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/util.h b/src/jdk.jdwp.agent/share/native/libjdwp/util.h
index bcb59457120..72a365ad3c3 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/util.h
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/util.h
@@ -126,6 +126,9 @@ typedef struct {
int objectsByIDsize;
int objectsByIDcount;
+ /* true if enhanced class redefinition is enabled */
+ jboolean isEnhancedClassRedefinitionEnabled;
+
/* Indication that the agent has been loaded */
jboolean isLoaded;
--
2.23.0

View File

@@ -0,0 +1,54 @@
From 43ad1316176425552ac8aa34e26ab8554ec3a9f1 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 11 Oct 2021 20:22:26 +0200
Subject: [PATCH 30/44] JBR-3867 - fix msvc compilation issue with non const
array on stack
---
.../share/native/libjdwp/VirtualMachineImpl.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c b/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
index faa8f55f91f..53f7e44f579 100644
--- a/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/VirtualMachineImpl.c
@@ -475,11 +475,16 @@ redefineClasses(PacketInputStream *in, PacketOutputStream *out)
if (ok == JNI_TRUE) {
jvmtiError error;
- jlong classIds[classCount];
+ jlong* classIds = NULL;
if (gdata->isEnhancedClassRedefinitionEnabled) {
- for (i = 0; i < classCount; ++i) {
- classIds[i] = commonRef_refToID(env, classDefs[i].klass);
+ classIds = jvmtiAllocate(classCount*(int)sizeof(jlong));
+ if (classIds == NULL) {
+ outStream_setError(out, JDWP_ERROR(OUT_OF_MEMORY));
+ return JNI_TRUE;
+ }
+ for (i = 0; i < classCount; i++) {
+ classIds[i] = commonRef_refToID(env, classDefs[i].klass);
}
}
@@ -493,7 +498,7 @@ redefineClasses(PacketInputStream *in, PacketOutputStream *out)
eventHandler_freeClassBreakpoints(classDefs[i].klass);
}
- if (gdata->isEnhancedClassRedefinitionEnabled) {
+ if (gdata->isEnhancedClassRedefinitionEnabled && classIds != NULL) {
/* Update tags in jvmti to use new classes */
for ( i = 0 ; i < classCount; i++ ) {
/* pointer in classIds[i] is updated by advanced redefinition to a new class */
@@ -502,6 +507,7 @@ redefineClasses(PacketInputStream *in, PacketOutputStream *out)
break;
}
}
+ jvmtiDeallocate((void*) classIds);
}
}
--
2.23.0

View File

@@ -0,0 +1,31 @@
From 39d5a7e6ffd06362a40984c43a439b5778b65d53 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Tue, 19 Oct 2021 17:02:35 +0200
Subject: [PATCH 31/44] Attempt to fix JBR-3887
---
src/hotspot/share/prims/jvmtiExtensions.cpp | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiExtensions.cpp b/src/hotspot/share/prims/jvmtiExtensions.cpp
index 8a6058fd884..9c8c98cb70e 100644
--- a/src/hotspot/share/prims/jvmtiExtensions.cpp
+++ b/src/hotspot/share/prims/jvmtiExtensions.cpp
@@ -50,7 +50,13 @@ static jvmtiError JNICALL IsClassUnloadingEnabled(const jvmtiEnv* env, ...) {
}
// extension function
-static jvmtiError JNICALL IsEnhancedClassRedefinitionEnabled(const jvmtiEnv* env, jboolean* enabled, ...) {
+static jvmtiError JNICALL IsEnhancedClassRedefinitionEnabled(const jvmtiEnv* env, ...) {
+ jboolean* enabled = NULL;
+ va_list ap;
+
+ va_start(ap, env);
+ enabled = va_arg(ap, jboolean *);
+ va_end(ap);
if (enabled == NULL) {
return JVMTI_ERROR_NULL_POINTER;
}
--
2.23.0

View File

@@ -0,0 +1,141 @@
From 56b381db23651cc1cec0a4b649dd2796b85e8b09 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 1 Nov 2021 19:00:41 +0100
Subject: [PATCH 32/44] JBR-3937 Fix crashes in C1/C2 compilers
There is a race condition in enhanced redefinition with C1/C2. Therefore
the patch stops C1/C2 compilation before redefinition and release after
redefinition finishing. There is no performance impact since dcevm
flushes all code cache.
---
src/hotspot/share/compiler/compileBroker.cpp | 39 +++++++++++++++++++-
src/hotspot/share/compiler/compileBroker.hpp | 6 +++
src/hotspot/share/prims/jvmtiEnv.cpp | 7 ++++
3 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp
index bd662b5ebef..bd0f9f0efab 100644
--- a/src/hotspot/share/compiler/compileBroker.cpp
+++ b/src/hotspot/share/compiler/compileBroker.cpp
@@ -133,6 +133,8 @@ CompileLog** CompileBroker::_compiler2_logs = NULL;
// These counters are used to assign an unique ID to each compilation.
volatile jint CompileBroker::_compilation_id = 0;
volatile jint CompileBroker::_osr_compilation_id = 0;
+volatile bool CompileBroker::_compilation_stopped = false;
+volatile int CompileBroker::_active_compilations = 0;
// Debugging information
int CompileBroker::_last_compile_type = no_compile;
@@ -2191,7 +2193,22 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
locker.wait(Mutex::_no_safepoint_check_flag);
}
}
- comp->compile_method(&ci_env, target, osr_bci, directive);
+
+ if (AllowEnhancedClassRedefinition) {
+ {
+ MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ while (_compilation_stopped) {
+ locker.wait(Mutex::_no_safepoint_check_flag);
+ }
+ Atomic::add(1, &_active_compilations);
+ }
+
+ comp->compile_method(&ci_env, target, osr_bci, directive);
+ Atomic::sub(1, &_active_compilations);
+
+ } else {
+ comp->compile_method(&ci_env, target, osr_bci, directive);
+ }
}
if (!ci_env.failing() && task->code() == NULL) {
@@ -2853,3 +2870,23 @@ void CompileBroker::print_heapinfo(outputStream* out, const char* function, size
}
out->print_cr("\n__ CodeHeapStateAnalytics total duration %10.3f seconds _________\n", ts_total.seconds());
}
+
+void CompileBroker::stopCompilationBeforeEnhancedRedefinition() {
+ if (AllowEnhancedClassRedefinition) {
+ MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ _compilation_stopped = true;
+ while (_active_compilations > 0) {
+ VM_ThreadsSuspendJVMTI tsj;
+ VMThread::execute(&tsj);
+ locker.wait(Mutex::_no_safepoint_check_flag);
+ }
+ }
+}
+
+void CompileBroker::releaseCompilationAfterEnhancedRedefinition() {
+ if (AllowEnhancedClassRedefinition) {
+ MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ _compilation_stopped = false;
+ locker.notify_all();
+ }
+}
diff --git a/src/hotspot/share/compiler/compileBroker.hpp b/src/hotspot/share/compiler/compileBroker.hpp
index 53e496cd306..fa50e778d9e 100644
--- a/src/hotspot/share/compiler/compileBroker.hpp
+++ b/src/hotspot/share/compiler/compileBroker.hpp
@@ -173,6 +173,9 @@ class CompileBroker: AllStatic {
static volatile jint _compilation_id;
static volatile jint _osr_compilation_id;
+ static volatile bool _compilation_stopped;
+ static volatile int _active_compilations;
+
static int _last_compile_type;
static int _last_compile_level;
static char _last_method_compiled[name_buffer_length];
@@ -421,6 +424,9 @@ public:
// CodeHeap State Analytics.
static void print_info(outputStream *out);
static void print_heapinfo(outputStream *out, const char* function, size_t granularity);
+
+ static void stopCompilationBeforeEnhancedRedefinition();
+ static void releaseCompilationAfterEnhancedRedefinition();
};
#endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP
diff --git a/src/hotspot/share/prims/jvmtiEnv.cpp b/src/hotspot/share/prims/jvmtiEnv.cpp
index 54617f05b5a..0ca9ec020a9 100644
--- a/src/hotspot/share/prims/jvmtiEnv.cpp
+++ b/src/hotspot/share/prims/jvmtiEnv.cpp
@@ -29,6 +29,7 @@
#include "classfile/modules.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/vmSymbols.hpp"
+#include "compiler/compileBroker.hpp"
#include "interpreter/bytecodeStream.hpp"
#include "interpreter/interpreter.hpp"
#include "jvmtifiles/jvmtiEnv.hpp"
@@ -453,9 +454,12 @@ JvmtiEnv::RetransformClasses(jint class_count, const jclass* classes) {
class_definitions[index].klass = jcls;
}
if (AllowEnhancedClassRedefinition) {
+ // Stop compilation to avoid compilator race condition (crashes) with advanced redefinition
+ CompileBroker::stopCompilationBeforeEnhancedRedefinition();
MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_retransform);
VMThread::execute(&op);
+ CompileBroker::releaseCompilationAfterEnhancedRedefinition();
return (op.check_error());
}
VM_RedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_retransform);
@@ -469,9 +473,12 @@ JvmtiEnv::RetransformClasses(jint class_count, const jclass* classes) {
jvmtiError
JvmtiEnv::RedefineClasses(jint class_count, const jvmtiClassDefinition* class_definitions) {
if (AllowEnhancedClassRedefinition) {
+ // Stop compilation to avoid compilator race condition (crashes) with advanced redefinition
+ CompileBroker::stopCompilationBeforeEnhancedRedefinition();
MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
VMThread::execute(&op);
+ CompileBroker::releaseCompilationAfterEnhancedRedefinition();
return (op.check_error());
}
VM_RedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
--
2.23.0

View File

@@ -0,0 +1,121 @@
From 962796e56be75ef70c1d6dcaa9eaf19e755c61d8 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 1 Nov 2021 19:20:13 +0100
Subject: [PATCH 33/44] JBR-3938 - fix race condition in anonymous class
loading
Anonymous class must be checked if it is fully initialized if it is used
in ClassLoaderDataGraph closure.
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 44 ++++++-------------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 1 -
2 files changed, 14 insertions(+), 31 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 5de5f78aea0..a8546a5fbe2 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -517,8 +517,6 @@ void VM_EnhancedRedefineClasses::doit() {
ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
- // SystemDictionary::methods_do(fix_invoke_method);
-
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -647,10 +645,6 @@ void VM_EnhancedRedefineClasses::doit() {
// TODO: explain...
ciObjectFactory::resort_shared_ci_metadata();
- // FIXME - check if it was in JDK8. Copied from standard JDK9 hotswap.
- //MethodDataCleaner clean_weak_method_links;
- //ClassLoaderDataGraph::classes_do(&clean_weak_method_links);
-
// Disable any dependent concurrent compilations
SystemDictionary::notice_modification();
@@ -1568,29 +1562,6 @@ void VM_EnhancedRedefineClasses::MethodDataCleaner::do_klass(Klass* k) {
}
}
-void VM_EnhancedRedefineClasses::fix_invoke_method(Method* method) {
-
- constantPoolHandle other_cp = constantPoolHandle(method->constants());
-
- for (int i = 0; i < other_cp->length(); i++) {
- if (other_cp->tag_at(i).is_klass()) {
- Klass* klass = other_cp->resolved_klass_at(i);
- if (klass->new_version() != NULL) {
- // Constant pool entry points to redefined class -- update to the new version
- other_cp->klass_at_put(i, klass->newest_version());
- }
- assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
- }
- }
-
- ConstantPoolCache* cp_cache = other_cp->cache();
- if (cp_cache != NULL) {
- cp_cache->clear_entries();
- }
-
-}
-
-
void VM_EnhancedRedefineClasses::update_jmethod_ids() {
for (int j = 0; j < _matching_methods_length; ++j) {
@@ -2071,12 +2042,23 @@ void VM_EnhancedRedefineClasses::dump_methods() {
class AffectedKlassClosure : public KlassClosure {
private:
GrowableArray<Klass*>* _affected_klasses;
+ bool _is_anonymous;
public:
- AffectedKlassClosure(GrowableArray<Klass*>* affected_klasses) : _affected_klasses(affected_klasses) {}
+ AffectedKlassClosure(GrowableArray<Klass*>* affected_klasses) : _affected_klasses(affected_klasses), _is_anonymous(false) {}
+
+ bool is_anonymous() { return _is_anonymous; }
+ void set_anonymous(bool value) { _is_anonymous = value; }
void do_klass(Klass* klass) {
assert(!_affected_klasses->contains(klass), "must not occur more than once!");
+ if (_is_anonymous && klass->is_instance_klass()) {
+ InstanceKlass *ik = InstanceKlass::cast(klass);
+ if (ik->is_not_initialized()) {
+ return; // anonymous class does not need to be initialized
+ }
+ }
+
if (klass->new_version() != NULL) {
return;
}
@@ -2135,11 +2117,13 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
// ClassLoaderDataGraph::classes_do(&closure);
// 1. Scan over dictionaries
+ closure.set_anonymous(false);
ClassLoaderDataGraph::dictionary_classes_do(&closure);
// 2. Anonymous class is not in dictionary, we have to iterate anonymous cld directly, but there is race cond...
// TODO: review ... anonymous class is added to cld before InstanceKlass initialization,
// find out how to check if the InstanceKlass is initialized
+ closure.set_anonymous(true);
ClassLoaderDataGraph::anonymous_classes_do(&closure);
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 79ea17b0d47..fc0d8e82643 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -119,7 +119,6 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
static void unregister_nmethod_g1(nmethod* nm);
static void register_nmethod_g1(nmethod* nm);
static void unpatch_bytecode(Method* method);
- static void fix_invoke_method(Method* method);
// Figure out which new methods match old methods in name and signature,
// which methods have been added, and which are no longer present
--
2.23.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
From 15d06f325a892e2fa665698b4b76988cff236075 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 5 Nov 2021 18:16:01 +0100
Subject: [PATCH 35/44] JBR-3963 - fix memory leaks in G1 in redefinition
ChangePointersObjectClosure allocates handles and resources, that must
be properly released in worker thread
---
src/hotspot/share/gc/g1/g1CollectedHeap.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
index d33a5ff3a54..7c68dbf4bf1 100644
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
@@ -2125,6 +2125,8 @@ class G1IterateObjectClosureTask : public AbstractGangTask {
_cl(cl), _g1h(g1h), _hrclaimer(g1h->workers()->active_workers()) { }
virtual void work(uint worker_id) {
+ ResourceMark rm;
+ HandleMark hm;
IterateObjectClosureRegionClosure blk(_cl);
_g1h->heap_region_par_iterate_from_worker_offset(&blk, &_hrclaimer, worker_id);
}
--
2.23.0

View File

@@ -0,0 +1,114 @@
From eb5af1af95c0f1dcd7298be6114d9af74f72b5f8 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 5 Nov 2021 18:53:11 +0100
Subject: [PATCH 36/44] JBR-3937 - use specialized DcevmCompilation_lock to
pause C1/C2
Sources are synchronized now with dcevm17 code base. Compilation_lock is
used exclusively for WhiteBox, so we use a new lock for dcevm
---
src/hotspot/share/compiler/compileBroker.cpp | 10 +++++-----
src/hotspot/share/prims/jvmtiEnv.cpp | 4 ++--
src/hotspot/share/runtime/mutexLocker.cpp | 3 +++
src/hotspot/share/runtime/mutexLocker.hpp | 1 +
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp
index bd0f9f0efab..448e9b1002b 100644
--- a/src/hotspot/share/compiler/compileBroker.cpp
+++ b/src/hotspot/share/compiler/compileBroker.cpp
@@ -2196,7 +2196,7 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
if (AllowEnhancedClassRedefinition) {
{
- MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ MonitorLockerEx locker(DcevmCompilation_lock, Mutex::_no_safepoint_check_flag);
while (_compilation_stopped) {
locker.wait(Mutex::_no_safepoint_check_flag);
}
@@ -2873,19 +2873,19 @@ void CompileBroker::print_heapinfo(outputStream* out, const char* function, size
void CompileBroker::stopCompilationBeforeEnhancedRedefinition() {
if (AllowEnhancedClassRedefinition) {
- MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ MonitorLockerEx locker(DcevmCompilation_lock, Mutex::_no_safepoint_check_flag);
_compilation_stopped = true;
while (_active_compilations > 0) {
- VM_ThreadsSuspendJVMTI tsj;
+ VM_ThreadsSuspendJVMTI tsj; // force safepoint to run C1/C2 VM op
VMThread::execute(&tsj);
- locker.wait(Mutex::_no_safepoint_check_flag);
+ locker.wait(Mutex::_no_safepoint_check_flag, 10);
}
}
}
void CompileBroker::releaseCompilationAfterEnhancedRedefinition() {
if (AllowEnhancedClassRedefinition) {
- MonitorLockerEx locker(Compilation_lock, Mutex::_no_safepoint_check_flag);
+ MonitorLockerEx locker(DcevmCompilation_lock, Mutex::_no_safepoint_check_flag);
_compilation_stopped = false;
locker.notify_all();
}
diff --git a/src/hotspot/share/prims/jvmtiEnv.cpp b/src/hotspot/share/prims/jvmtiEnv.cpp
index 0ca9ec020a9..221e8a20c76 100644
--- a/src/hotspot/share/prims/jvmtiEnv.cpp
+++ b/src/hotspot/share/prims/jvmtiEnv.cpp
@@ -454,9 +454,9 @@ JvmtiEnv::RetransformClasses(jint class_count, const jclass* classes) {
class_definitions[index].klass = jcls;
}
if (AllowEnhancedClassRedefinition) {
+ MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
// Stop compilation to avoid compilator race condition (crashes) with advanced redefinition
CompileBroker::stopCompilationBeforeEnhancedRedefinition();
- MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_retransform);
VMThread::execute(&op);
CompileBroker::releaseCompilationAfterEnhancedRedefinition();
@@ -473,9 +473,9 @@ JvmtiEnv::RetransformClasses(jint class_count, const jclass* classes) {
jvmtiError
JvmtiEnv::RedefineClasses(jint class_count, const jvmtiClassDefinition* class_definitions) {
if (AllowEnhancedClassRedefinition) {
+ MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
// Stop compilation to avoid compilator race condition (crashes) with advanced redefinition
CompileBroker::stopCompilationBeforeEnhancedRedefinition();
- MutexLocker sd_mutex(EnhancedRedefineClasses_lock);
VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
VMThread::execute(&op);
CompileBroker::releaseCompilationAfterEnhancedRedefinition();
diff --git a/src/hotspot/share/runtime/mutexLocker.cpp b/src/hotspot/share/runtime/mutexLocker.cpp
index 16e91c85fd1..ae68611e992 100644
--- a/src/hotspot/share/runtime/mutexLocker.cpp
+++ b/src/hotspot/share/runtime/mutexLocker.cpp
@@ -95,6 +95,7 @@ Mutex* Compile_lock = NULL;
Monitor* MethodCompileQueue_lock = NULL;
Monitor* CompileThread_lock = NULL;
Monitor* Compilation_lock = NULL;
+Monitor* DcevmCompilation_lock = NULL;
Mutex* CompileTaskAlloc_lock = NULL;
Mutex* CompileStatistics_lock = NULL;
Mutex* DirectivesStack_lock = NULL;
@@ -327,6 +328,8 @@ void mutex_init() {
def(Compilation_lock , PaddedMonitor, leaf, false, Monitor::_safepoint_check_never);
}
+ def(DcevmCompilation_lock , PaddedMonitor, nonleaf+1, false, Monitor::_safepoint_check_never);
+
#if INCLUDE_JFR
def(JfrMsg_lock , PaddedMonitor, leaf, true, Monitor::_safepoint_check_always);
def(JfrBuffer_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_never);
diff --git a/src/hotspot/share/runtime/mutexLocker.hpp b/src/hotspot/share/runtime/mutexLocker.hpp
index b41abcb82ae..a9530a3a0e9 100644
--- a/src/hotspot/share/runtime/mutexLocker.hpp
+++ b/src/hotspot/share/runtime/mutexLocker.hpp
@@ -99,6 +99,7 @@ extern Mutex* Compile_lock; // a lock held when Compilation
extern Monitor* MethodCompileQueue_lock; // a lock held when method compilations are enqueued, dequeued
extern Monitor* CompileThread_lock; // a lock held by compile threads during compilation system initialization
extern Monitor* Compilation_lock; // a lock used to pause compilation
+extern Monitor* DcevmCompilation_lock; // a lock used to pause compilation from dcevm
extern Mutex* CompileTaskAlloc_lock; // a lock held when CompileTasks are allocated
extern Mutex* CompileStatistics_lock; // a lock held when updating compilation statistics
extern Mutex* DirectivesStack_lock; // a lock held when mutating the dirstack and ref counting directives
--
2.23.0

View File

@@ -0,0 +1,29 @@
From eda304d04f9d7ca3d8c488d0375c77eae989a268 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 5 Nov 2021 19:36:08 +0100
Subject: [PATCH 37/44] JBR-3964 - now G1 is the default GC in
AllowEnhancedClassRedefinition
---
src/hotspot/share/gc/shared/gcConfig.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index 20e0ef9ee8a..aea0ae3759f 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -106,9 +106,9 @@ void GCConfig::fail_if_unsupported_gc_is_selected() {
}
void GCConfig::select_gc_ergonomically() {
- if (AllowEnhancedClassRedefinition && !UseConcMarkSweepGC && !UseG1GC) {
+ if (AllowEnhancedClassRedefinition && !UseConcMarkSweepGC && !UseSerialGC) {
// Enhanced class redefinition only supports serial GC at the moment
- FLAG_SET_ERGO(bool, UseSerialGC, true);
+ FLAG_SET_ERGO(bool, UseG1GC, true);
} else if (os::is_server_class_machine()) {
#if INCLUDE_G1GC
FLAG_SET_ERGO_IF_DEFAULT(bool, UseG1GC, true);
--
2.23.0

View File

@@ -0,0 +1,76 @@
From 983a17c530f48d95cc5c48d548d991749d1d49e2 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sat, 6 Nov 2021 19:43:35 +0100
Subject: [PATCH 38/44] Code cleanup
---
src/hotspot/share/compiler/compileBroker.cpp | 2 ++
src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp | 5 ++---
src/hotspot/share/gc/shared/gcConfig.cpp | 2 +-
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 1 +
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp
index 448e9b1002b..23f3a16c589 100644
--- a/src/hotspot/share/compiler/compileBroker.cpp
+++ b/src/hotspot/share/compiler/compileBroker.cpp
@@ -2872,6 +2872,8 @@ void CompileBroker::print_heapinfo(outputStream* out, const char* function, size
}
void CompileBroker::stopCompilationBeforeEnhancedRedefinition() {
+ // There are hard to fix C1/C2 race conditions with dcevm. The easiest solution
+ // is to stop compilation.
if (AllowEnhancedClassRedefinition) {
MonitorLockerEx locker(DcevmCompilation_lock, Mutex::_no_safepoint_check_flag);
_compilation_stopped = true;
diff --git a/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp b/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
index e7d830979f6..58d9a6015e7 100644
--- a/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
+++ b/src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp
@@ -114,7 +114,7 @@ void G1FullGCCompactTask::work(uint worker_id) {
}
}
- // TODO: (DCEV) check it
+ // TODO: (DCEVM) check it
G1ResetHumongousClosure hc(collector()->mark_bitmap());
G1CollectedHeap::heap()->heap_region_par_iterate_from_worker_offset(&hc, &_claimer, worker_id);
log_task("Compaction task", worker_id, start);
@@ -146,8 +146,7 @@ void G1FullGCCompactTask::compact_region_dcevm(HeapRegion* hr, GrowableArray<Hea
void G1FullGCCompactTask::serial_compaction_dcevm() {
GCTraceTime(Debug, gc, phases) tm("Phase 4: Serial Compaction", collector()->scope()->timer());
- // compact remaining, not parallel compacted rescued oops using serial compact point
-
+ // Clear allocated resources at compact points now, since all rescued oops are copied to destination.
for (uint i = 0; i < collector()->workers(); i++) {
G1FullGCCompactionPoint* cp = collector()->compaction_point(i);
DcevmSharedGC::clear_rescued_objects_heap(cp->rescued_oops_values());
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index aea0ae3759f..c056e564fa3 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -107,7 +107,7 @@ void GCConfig::fail_if_unsupported_gc_is_selected() {
void GCConfig::select_gc_ergonomically() {
if (AllowEnhancedClassRedefinition && !UseConcMarkSweepGC && !UseSerialGC) {
- // Enhanced class redefinition only supports serial GC at the moment
+ // (DCEVM) use G1 as default GC in Enhanced class redefinition
FLAG_SET_ERGO(bool, UseG1GC, true);
} else if (os::is_server_class_machine()) {
#if INCLUDE_G1GC
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 1e63561064a..ee6e6f1d8d5 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -548,6 +548,7 @@ void VM_EnhancedRedefineClasses::doit() {
if (log_is_enabled(Info, redefine, class, timer)) {
_timer_heap_iterate.start();
}
+ // returns after the iteration is finished
G1CollectedHeap::heap()->object_par_iterate(&objectClosure);
_timer_heap_iterate.stop();
} else {
--
2.23.0

View File

@@ -0,0 +1,93 @@
From 8eb32c4c4dd67aeaebae168e17201559ac0fb50f Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 21 Nov 2021 16:57:57 +0100
Subject: [PATCH 39/44] JBR-4018 - fix zero variant compilation issues
---
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 12 ++++++++++++
src/hotspot/share/runtime/arguments.cpp | 2 ++
2 files changed, 14 insertions(+)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index ee6e6f1d8d5..c2721b2aab1 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -54,7 +54,9 @@
#include "utilities/events.hpp"
#include "oops/constantPool.inline.hpp"
#include "gc/cms/cmsHeap.hpp"
+#if INCLUDE_G1GC
#include "gc/g1/g1CollectedHeap.hpp"
+#endif
#include "gc/shared/dcevmSharedGC.hpp"
Array<Method*>* VM_EnhancedRedefineClasses::_old_methods = NULL;
@@ -534,16 +536,21 @@ void VM_EnhancedRedefineClasses::doit() {
// mark such nmethod's as "scavengable".
// For now, mark all nmethod's as scavengable that are not scavengable already
if (ScavengeRootsInCode) {
+#if INCLUDE_G1GC
if (UseG1GC) {
// G1 holds references to nmethods in regions based on oops values. Since oops in nmethod can be changed in ChangePointers* closures
// we unregister nmethods from G1 heap, then closures are processed (oops are changed) and finally we register nmethod to G1 again
CodeCache::nmethods_do(unregister_nmethod_g1);
} else {
+#endif
CodeCache::nmethods_do(mark_as_scavengable);
+#if INCLUDE_G1GC
}
+#endif
}
Universe::heap()->ensure_parsability(false);
+#if INCLUDE_G1GC
if (UseG1GC) {
if (log_is_enabled(Info, redefine, class, timer)) {
_timer_heap_iterate.start();
@@ -552,19 +559,24 @@ void VM_EnhancedRedefineClasses::doit() {
G1CollectedHeap::heap()->object_par_iterate(&objectClosure);
_timer_heap_iterate.stop();
} else {
+#endif
if (log_is_enabled(Info, redefine, class, timer)) {
_timer_heap_iterate.start();
}
Universe::heap()->object_iterate(&objectClosure);
_timer_heap_iterate.stop();
+#if INCLUDE_G1GC
}
+#endif
Universe::root_oops_do(&oopClosureNoBarrier);
+#if INCLUDE_G1GC
if (UseG1GC) {
// this should work also for other GCs
CodeCache::nmethods_do(register_nmethod_g1);
}
+#endif
}
log_trace(redefine, class, obsolete, metadata)("After updating instances");
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index dce89a044e9..77238a4608d 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -3967,12 +3967,14 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
// Set object alignment values.
set_object_alignment();
+#ifndef ZERO
if (FlightRecorder) {
if (AllowEnhancedClassRedefinition) {
warning("EnhancedClassRedefinition was disabled, it is not allowed in FlightRecorder.");
AllowEnhancedClassRedefinition = false;
}
}
+#endif
setup_hotswap_agent();
--
2.23.0

View File

@@ -0,0 +1,111 @@
From 96862f74063229132611259eb35f523badd0c9e1 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 28 Nov 2021 11:10:58 +0100
Subject: [PATCH 40/44] JBR-3997 - fix _invokehandle and _invokedynamic race
conditions
Old clear mechanism of CpCacheEntry has cleared partially _flags and the
entire _f1, but both values could be later used in interpreter for
invocation. It ended up with various types of crashes. To prevent dcevm
crashes, we keep the old _f1 and _flags values until they are resolved
again. We need a new flag 'is_f1_null_dcevm_shift' indicating that _f1
is NULL (while f1 keeps old value).
---
src/hotspot/share/oops/cpCache.cpp | 14 ++++----------
src/hotspot/share/oops/cpCache.hpp | 8 ++++----
src/hotspot/share/oops/cpCache.inline.hpp | 7 ++++++-
3 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/src/hotspot/share/oops/cpCache.cpp b/src/hotspot/share/oops/cpCache.cpp
index 4318df227d1..52cf5fe5bdf 100644
--- a/src/hotspot/share/oops/cpCache.cpp
+++ b/src/hotspot/share/oops/cpCache.cpp
@@ -450,6 +450,8 @@ void ConstantPoolCacheEntry::set_method_handle_common(const constantPoolHandle&
release_set_f1(adapter()); // This must be the last one to set (see NOTE above)!
+ OrderAccess::release_store(&_flags, _flags & ~(1u << is_f1_null_dcevm_shift));
+
// The interpreter assembly code does not check byte_2,
// but it is used by is_resolved, method_if_resolved, etc.
set_bytecode_1(invoke_code);
@@ -654,16 +656,8 @@ void ConstantPoolCacheEntry::clear_entry() {
_indices = constant_pool_index();
if (clearData) {
- if (!is_resolved_reference()) {
- _f2 = 0;
- }
- // FIXME: (DCEVM) we want to clear flags, but parameter size is actually used
- // after we return from the method, before entry is re-initialized. So let's
- // keep parameter size the same.
- // For example, it's used in TemplateInterpreterGenerator::generate_return_entry_for
- // Also, we need to keep flag marking entry as one containing resolved_reference
- _flags &= parameter_size_mask | (1 << is_resolved_ref_shift);
- _f1 = NULL;
+ // DCEVM: do not clear f1 now, since it can be used before cache entry is re-resolved
+ _flags |= (1 << is_f1_null_dcevm_shift);
}
}
diff --git a/src/hotspot/share/oops/cpCache.hpp b/src/hotspot/share/oops/cpCache.hpp
index 2a9eb978b43..bb4e40373b2 100644
--- a/src/hotspot/share/oops/cpCache.hpp
+++ b/src/hotspot/share/oops/cpCache.hpp
@@ -178,8 +178,9 @@ class ConstantPoolCacheEntry {
tos_state_bits = 4,
tos_state_mask = right_n_bits(tos_state_bits),
tos_state_shift = BitsPerInt - tos_state_bits, // see verify_tos_state_shift below
- // (DCEVM) We need to remember entries which has resolved reference indices as we don't want to clean them
- is_resolved_ref_shift = 27,
+ // (DCEVM) dcevm additional indicator, that f1 is NULL. DCEVM need to keep the old value of the f1 until the
+ // cache entry is reresolved to avoid race condition
+ is_f1_null_dcevm_shift = 27,
// misc. option bits; can be any bit position in [16..27]
is_field_entry_shift = 26, // (F) is it a field or a method?
has_method_type_shift = 25, // (M) does the call site have a MethodType?
@@ -213,7 +214,6 @@ class ConstantPoolCacheEntry {
void initialize_resolved_reference_index(int ref_index) {
assert(_f2 == 0, "set once"); // note: ref_index might be zero also
_f2 = ref_index;
- _flags = 1 << is_resolved_ref_shift;
}
void set_field( // sets entry to resolved field state
@@ -363,7 +363,6 @@ class ConstantPoolCacheEntry {
bool is_method_entry() const { return (_flags & (1 << is_field_entry_shift)) == 0; }
bool is_field_entry() const { return (_flags & (1 << is_field_entry_shift)) != 0; }
bool is_long() const { return flag_state() == ltos; }
- bool is_resolved_reference() const { return (_flags & (1 << is_resolved_ref_shift)) != 0; }
bool is_double() const { return flag_state() == dtos; }
TosState flag_state() const { assert((uint)number_of_states <= (uint)tos_state_mask+1, "");
return (TosState)((_flags >> tos_state_shift) & tos_state_mask); }
@@ -407,6 +406,7 @@ class ConstantPoolCacheEntry {
void verify_just_initialized(bool f2_used);
void reinitialize(bool f2_used);
+
};
diff --git a/src/hotspot/share/oops/cpCache.inline.hpp b/src/hotspot/share/oops/cpCache.inline.hpp
index c876e669de3..2cf48c67a9f 100644
--- a/src/hotspot/share/oops/cpCache.inline.hpp
+++ b/src/hotspot/share/oops/cpCache.inline.hpp
@@ -65,7 +65,12 @@ inline Klass* ConstantPoolCacheEntry::f1_as_klass() const {
return (Klass*)f1;
}
-inline bool ConstantPoolCacheEntry::is_f1_null() const { Metadata* f1 = f1_ord(); return f1 == NULL; }
+inline bool ConstantPoolCacheEntry::is_f1_null() const {
+ Metadata* f1 = f1_ord();
+ intx flags = flags_ord();
+ return f1 == NULL || (flags & (1 << is_f1_null_dcevm_shift)) != 0;
+}
+
inline bool ConstantPoolCacheEntry::has_appendix() const {
return (!is_f1_null()) && (_flags & (1 << has_appendix_shift)) != 0;
--
2.23.0

View File

@@ -0,0 +1,30 @@
From be92eb0b4440f27298330581ec34b17fdac14da9 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Mon, 29 Nov 2021 17:28:36 +0100
Subject: [PATCH 41/44] JBR-3997 - change order of clear is_f1_null_dcevm_shift
and set _f1
---
src/hotspot/share/oops/cpCache.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/oops/cpCache.cpp b/src/hotspot/share/oops/cpCache.cpp
index 52cf5fe5bdf..a223fc17cae 100644
--- a/src/hotspot/share/oops/cpCache.cpp
+++ b/src/hotspot/share/oops/cpCache.cpp
@@ -448,10 +448,10 @@ void ConstantPoolCacheEntry::set_method_handle_common(const constantPoolHandle&
resolved_references->obj_at_put(method_type_index, method_type());
}
- release_set_f1(adapter()); // This must be the last one to set (see NOTE above)!
-
OrderAccess::release_store(&_flags, _flags & ~(1u << is_f1_null_dcevm_shift));
+ release_set_f1(adapter()); // This must be the last one to set (see NOTE above)!
+
// The interpreter assembly code does not check byte_2,
// but it is used by is_resolved, method_if_resolved, etc.
set_bytecode_1(invoke_code);
--
2.23.0

View File

@@ -0,0 +1,26 @@
From 73b3c3daf4f521c103f8474708add0717adcda70 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Sun, 19 Dec 2021 10:14:48 +0100
Subject: [PATCH 42/44] JBR-4125 - fix wrong addition of java.lang.Object as
superclass
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index c2721b2aab1..66600206aab 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1018,7 +1018,7 @@ int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_
cur_klass = new_class->super();
while (cur_klass != NULL) {
- if (!the_class->is_subclass_of(cur_klass->old_version())) {
+ if (!the_class->is_subclass_of(cur_klass->is_redefining() ? cur_klass->old_version() : cur_klass)) {
log_info(redefine, class, load)("added super class %s", cur_klass->name()->as_C_string());
result = result | Klass::ModifyClass | Klass::ModifyInstances;
}
--
2.23.0

View File

@@ -0,0 +1,26 @@
From d211ae68e72eac8b868c9b198929f73f385c18d7 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Wed, 29 Dec 2021 17:44:02 +0100
Subject: [PATCH 43/44] JBR-4148 - removed meaningless copying of data to
itself
---
src/hotspot/share/oops/method.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index 2af3e71635e..55eb4e8c294 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -1448,8 +1448,6 @@ methodHandle Method::clone_with_new_data(const methodHandle& m, u_char* new_code
// Reset correct method/const method, method size, and parameter info
newm->set_constMethod(newcm);
- newm->set_new_version(newm->new_version());
- newm->set_old_version(newm->old_version());
newm->constMethod()->set_code_size(new_code_length);
newm->constMethod()->set_constMethod_size(new_const_method_size);
assert(newm->code_size() == new_code_length, "check");
--
2.23.0

View File

@@ -0,0 +1,29 @@
From 71dea432524297595b3193943981e18bcf35e822 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@jetbrains.com>
Date: Fri, 28 Jan 2022 18:52:58 +0100
Subject: [PATCH 44/44] Fix compilation problem - remove notice_modification
SystemDictionary::notice_modification was removed in jdk11.0.4, it contained
number of redefinition counter for informational purposes
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 66600206aab..ece6e71b209 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -658,8 +658,8 @@ void VM_EnhancedRedefineClasses::doit() {
// TODO: explain...
ciObjectFactory::resort_shared_ci_metadata();
- // Disable any dependent concurrent compilations
- SystemDictionary::notice_modification();
+ // notice_modification() was removed in 11.0.14
+ // SystemDictionary::notice_modification();
// Set flag indicating that some invariants are no longer true.
// See jvmtiExport.hpp for detailed explanation.
--
2.23.0

View File

@@ -0,0 +1,163 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies major version of OpenJDK e.g. 11_0_6 (instead of dots '.' underbars "_" are used)
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built; possible values:
# jcef - the release bundles with jcef
# dcevm - the release bundles with dcevm patches
# nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
# jbrsdk-${JBSDK_VERSION}-windows-aarch64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-windows-aarch64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./jcef_win_aarch64/modular-sdk
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_aarch64
# BOOT_JDK - specifies the path to the directory with a ready build of OpenJDK 11 with
# the same architecture as the build system. It will be used as the boot jdk.
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WORK_DIR=$(pwd)
JCEF_PATH=${JCEF_PATH:=${WORK_DIR}/jcef_win_aarch64}
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${JCEF_PATH}/modular-sdk}"
TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION:=2019}
source jb/project/tools/common.sh
function do_configure {
sh ./configure \
--openjdk-target=aarch64-unknown-cygwin \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-toolchain-version=${TOOLCHAIN_VERSION} \
--with-boot-jdk=${BOOT_JDK} \
--with-build-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || do_exit $?
}
function create_jbr {
JBR_BUNDLE=jbr_${bundle_type}
case "${bundle_type}" in
"jcef" | "dcevm" | "nomod" | "fd")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
echo "Exclude jdk.internal.vm.compiler and jdk.aot (because aot is not supported yet)"
cat modules.list | \
grep -v "jdk.internal.vm.compiler\|jdk.aot" \
> modules_tmp.list
rm -rf ${JBR_BUNDLE}
echo Running jlink....
${BOOT_JDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed 's/ //g' | sed 's/,\?$//g') --output ${JBR_BUNDLE} || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]
then
rsync -av ${JCEF_PATH}/ ${JBR_BUNDLE}/bin --exclude="modular-sdk" || do_exit $?
fi
echo Modifying release info ...
cat ${JSDK}/release | tr -d '\r' | grep -v 'JAVA_VERSION' | grep -v 'MODULES' >> ${JBR_BUNDLE}/release
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-aarch64-normal-server-release
JBSDK=${JBRSDK_BASE_NAME}-windows-aarch64-b${build_number}
case "$bundle_type" in
"jcef")
git apply -p0 < jb/project/tools/patches/add_jcef_module_winaarch64.patch || do_exit $?
do_reset_changes=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=1
git apply -p0 < jb/project/tools/patches/add_jcef_module_winaarch64.patch || do_exit $?
do_reset_changes=1
;;
"nomod")
WITH_IMPORT_MODULES=""
;;
"fd")
git apply -p0 < jb/project/tools/patches/add_jcef_module_winaarch64.patch || do_exit $?
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-aarch64-normal-server-fastdebug
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}-fastdebug
JBSDK=${JBRSDK_BASE_NAME}-windows-aarch64-fastdebug-b${build_number}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
if [ "${bundle_type}" == "jcef" ]; then
make LOG=info clean images test-image CONF=$RELEASE_NAME || do_exit $?
else
make LOG=info clean images CONF=$RELEASE_NAME || do_exit $?
fi
else
if [ "${bundle_type}" == "jcef" ]; then
make LOG=info images test-image CONF=$RELEASE_NAME || do_exit $?
else
make LOG=info images CONF=$RELEASE_NAME || do_exit $?
fi
fi
JSDK=build/$RELEASE_NAME/images/jdk
BASE_DIR=build/$RELEASE_NAME/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]
then
rsync -av ${JCEF_PATH}/ ${JBRSDK_BUNDLE}/bin --exclude='modular-sdk' || do_exit $?
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
fi
create_jbr || do_exit $?
do_exit 0

View File

@@ -0,0 +1,154 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies major version of OpenJDK e.g. 11_0_6 (instead of dots '.' underbars "_" are used)
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built; possible values:
# jcef - the release bundles with jcef
# dcevm - the release bundles with dcevm patches
# nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./jcef_win_x64/modular-sdk
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_x64
while getopts ":i?" o; do
case "${o}" in
i)
i="incremental build"
INC_BUILD=1
;;
esac
done
shift $((OPTIND-1))
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WORK_DIR=$(pwd)
JCEF_PATH=${JCEF_PATH:=${WORK_DIR}/jcef_win_x64}
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${JCEF_PATH}/modular-sdk}"
TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION:=2017}
source jb/project/tools/common.sh
function do_configure {
sh ./configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-toolchain-version=${TOOLCHAIN_VERSION} \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || do_exit $?
}
function create_jbr {
JBR_BUNDLE=jbr_${bundle_type}
case "${bundle_type}" in
"jcef" | "dcevm" | "nomod" | "fd")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
cat modules.list > modules_tmp.list
rm -rf ${JBR_BUNDLE}
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JBR_BUNDLE} || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]
then
rsync -av ${JCEF_PATH}/ ${JBR_BUNDLE}/bin --exclude="modular-sdk" || do_exit $?
fi
echo Modifying release info ...
cat ${JSDK}/release | tr -d '\r' | grep -v 'JAVA_VERSION' | grep -v 'MODULES' >> ${JBR_BUNDLE}/release
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-x86_64-normal-server-release
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-b${build_number}
case "$bundle_type" in
"jcef")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"dcevm")
HEAD_REVISION=$(git rev-parse HEAD)
git am jb/project/tools/patches/dcevm/*.patch || do_exit $?
do_reset_dcevm=1
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
;;
"nomod")
WITH_IMPORT_MODULES=""
;;
"fd")
git apply -p0 < jb/project/tools/patches/add_jcef_module.patch || do_exit $?
do_reset_changes=1
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-x86_64-normal-server-fastdebug
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}-fastdebug
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-fastdebug-b${build_number}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
if [ -z "$INC_BUILD" ]; then
do_configure || do_exit $?
if [ "${bundle_type}" == "jcef" ]; then
make LOG=info CONF=$RELEASE_NAME clean images test-image || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME clean images || do_exit $?
fi
else
if [ "${bundle_type}" == "jcef" ]; then
make LOG=info CONF=$RELEASE_NAME images test-image || do_exit $?
else
make LOG=info CONF=$RELEASE_NAME images || do_exit $?
fi
fi
JSDK=build/$RELEASE_NAME/images/jdk
BASE_DIR=build/$RELEASE_NAME/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || do_exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]] || [[ "${bundle_type}" == fd ]]
then
rsync -av ${JCEF_PATH}/ ${JBRSDK_BUNDLE}/bin --exclude='modular-sdk' || do_exit $?
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
fi
create_jbr || do_exit $?
do_exit 0

View File

@@ -0,0 +1,66 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION:=2017}
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WORK_DIR=$(pwd)
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--disable-warnings-as-errors \
--disable-debug-symbols \
--with-target-bits=32 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-jvm-features=shenandoahgc \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-toolchain-version=${TOOLCHAIN_VERSION} \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
make clean CONF=windows-x86-normal-server-release || exit 1
make LOG=info images CONF=windows-x86-normal-server-release test-image || exit 1
JBSDK=${JBRSDK_BASE_NAME}-windows-x86-b${build_number}
BASE_DIR=build/windows-x86-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr
rm -rf ${JBR_BUNDLE}
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
echo Modifying release info ...
#grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${JBR_BUNDLE}/release

View File

@@ -0,0 +1,83 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies major version of OpenJDK e.g. 11_0_6 (instead of dots '.' underbars "_" are used)
# JDK_BUILD_NUMBER - specifies update release of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to be built; possible values:
# jcef - the release bundles with jcef
# dcevm - the release bundles with dcevm patches
# nomod - the release bundles without any additional modules (jcef)
# fd - the fastdebug bundles which also include the jcef module
#
# jbrsdk-${JBSDK_VERSION}-windows-aarch64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-windows-aarch64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./jcef_win_aarch64/modular-sdk
# JCEF_PATH - specifies the path to the directory with JCEF binaries.
# By default JCEF binaries should be located in ./jcef_win_aarch64
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
source jb/project/tools/common.sh
function pack_jbr {
JBR_BUNDLE=jbr_${bundle_type}
case "${bundle_type}" in
"jcef" | "dcevm" | "nomod" | "fd")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && do_exit 1
;;
esac
JBR=$JBR_BASE_NAME-windows-aarch64-b$build_number
echo Creating $JBR.tar.gz ...
chmod -R ug+rwx,o+rx ${BASE_DIR}/${JBR_BUNDLE}
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR jbr || do_exit $?
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-aarch64-normal-server-release
JBSDK=${JBRSDK_BASE_NAME}-windows-aarch64-b${build_number}
case "$bundle_type" in
"fd")
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-aarch64-normal-server-fastdebug
JBSDK=${JBRSDK_BASE_NAME}-windows-aarch64-fastdebug-b${build_number}
;;
esac
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
BASE_DIR=.
if [ "${bundle_type}" == "jcef" ] || [ "${bundle_type}" == "fd" ]; then
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
[ -f "$JBSDK.tar.gz" ] && rm "$JBSDK.tar.gz"
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || do_exit $?
fi
pack_jbr $bundle_type
if [ "$bundle_type" == "jcef" ]; then
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-aarch64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || do_exit $?
fi

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