Compare commits

...

1750 Commits
215 ... 765

Author SHA1 Message Date
Vitaly Provodin
f142c762d7 updated JTreg exclude list
(cherry picked from commit a57ed60b88)
2020-07-14 10:08:47 +07:00
Anton Tarasov
85fe29ff2d [followup] 8238676: jni crashes on accessing it from process exit hook
(cherry picked from commit a41a59a57b)
2020-07-13 14:52:37 +03:00
Anton Tarasov
732c517646 8238676: jni crashes on accessing it from process exit hook
(cherry picked from commit 9c8cffee50)
2020-07-13 14:52:20 +03:00
Anton Tarasov
b4654a3c03 JBR-2377 Native crash IU-202.3855 macOS
(cherry picked from commit 0917d89523)
2020-07-13 14:52:03 +03:00
Anton Tarasov
08ee31c2ef JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 78bd1bbeae)
2020-07-13 14:51:39 +03:00
Anton Tarasov
8ca7c9e74b [followup] JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit ff2936c6fb)
2020-07-13 14:51:17 +03:00
Anton Tarasov
05e22d4de1 JBR-2489 Git branch operations (switch to another branch, rebase) sometimes crash WebStorm 202.5428.27
(cherry picked from commit 81d2156fb1)
2020-07-13 14:45:41 +03:00
Elena Sayapina
186f309205 JBR-2524 [backport to 201] 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-22 18:24:27 +07:00
Vitaly Provodin
54fc6d844a JBR-2520 update patch files 2020-06-22 12:42:56 +07:00
Vitaly Provodin
7c2867d8b7 JBR-2520 fix Building scripts to fail after errors in git apply 2020-06-22 12:40:29 +07:00
Vitaly Provodin
8ff658704a JBR-2217 provide JCEF-only (no JavaFX) bundle for master/202 branches
modify checkout targets, repair TC remote runs

(cherry picked from commit 9d568c7811)
2020-06-22 12:23:42 +07:00
Denis Konoplev
38e2e4fb4a JBR-2487 [backport to 201] JBR-2444 Keyboard stops working in IntelliJ on Ubuntu 20.04, Gnome 3.36 with IBus enabled
JBR-2444: Turn on IM workaround by default

(cherry picked from commit 15c4ce1d3e)
2020-06-11 20:38:19 +07:00
Alexey Ushakov
8a63d5dec0 JBR-2463 Font rendering problem on macOS Mojave
Use adjusted advances for glyphs

(cherry picked from commit 1af5dd4aae)
2020-06-11 14:07:57 +07:00
Alexey Ushakov
3839708a2c JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Fixed handling of null bounding box

(cherry picked from commit c0fd2daf5c)
2020-06-10 16:20:39 +07:00
Alexey Ushakov
24905a2e16 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

(cherry picked from commit 2d164c9914)
2020-06-10 16:20:36 +07:00
Alexey Ushakov
c5965a928b JBR-2419 Improve performance of CStrike.getNativeGlyphOutlineBounds
Do not pass the result via java object. Use more straight api.

(cherry picked from commit 9f91fe91f5)
2020-06-10 16:20:33 +07:00
Alexey Ushakov
e09e96dd70 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

(cherry picked from commit 12a9361f7c)
2020-06-10 16:20:31 +07:00
Vyacheslav Moklev
7603bc46a6 JBR-2442 fix memory leak of fileBuffer
fix was suggested by Nikita Gubarkov

(cherry picked from commit 2dea81a904)
2020-06-03 14:56:01 +07:00
Vitaly Provodin
55132e47cd JBR-2291 add vendor info into bundles 2020-05-12 11:50:01 +07:00
Vitaly Provodin
088a6cb70b JBR-2291 add vendor info into bundles 2020-05-12 07:27:33 +07:00
Alexey Ushakov
a335b47f1d JBR-2213 Clicking on pipette crashes IDE
Provide pixel buffer with right size for screen grabbing operation

(cherry picked from commit 900ae19a31)
2020-05-12 07:06:05 +07:00
Alexey Ushakov
fef7472346 JBR-2213 Clicking on pipette crashes IDE
Move CGWindowListCreateImage call to AppKit thread

(cherry picked from commit 72f742d99b)
2020-05-12 07:06:00 +07:00
Vitaly Provodin
62d75154d2 updated JTreg exclude list 2020-05-11 07:30:12 +07:00
Vitaly Provodin
3f56c3dfaf JBR-2291 remove dubbled lines in release file 2020-05-10 18:29:26 +07:00
Vitaly Provodin
64f732a5f9 updated JTreg exclude list 2020-05-09 06:27:37 +07:00
Elena Sayapina
c590f453bc 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.

(cherry picked from commit 08f9ba66f9)
2020-05-08 17:55:50 +07:00
Denis Konoplev
91debdfa98 JBR-2347: Free memory on other exceptions, rethrow ThreadDead & log it
(cherry picked from commit 16ca839ed3)
2020-05-08 17:28:11 +07:00
Denis Konoplev
1ac50c9a16 JBR-2347: Don't free memory when thread is dead
(cherry picked from commit afb3303db5)
2020-05-08 17:28:11 +07:00
andrew
f67ae89798 Added tag jdk-11.0.7-ga for changeset 44ce940b344b 2020-05-08 17:16:39 +07:00
ihse
d7c479581c 8237879: make 4.3 breaks build Reviewed-by: erikj, tbell 2020-05-08 17:16:39 +07:00
mbalao
d7b151e480 8226346: Build better binary builders Reviewed-by: andrew 2020-05-08 17:16:39 +07:00
andrew
dcc6d0920d 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build Reviewed-by: mbalao 2020-05-08 17:16:39 +07:00
andrew
a194930629 8233383: Various minor fixes Reviewed-by: mbalao 2020-05-08 17:16:39 +07:00
simonis
8e2e8000ac 8223678: Add Visual Studio Code workspace generation support (for native code) Reviewed-by: andrew, sgehwolf, clanger 2020-05-08 17:16:39 +07:00
clanger
5a8e62dec1 8189861: Refactor CacheFind Reviewed-by: sgehwolf 2020-05-08 17:16:38 +07:00
rschmelter
3d61de94d0 8222264: Windows incremental build is broken with JDK-8217728 Reviewed-by: erikj, clanger 2020-05-08 17:16:38 +07:00
erikj
9dfa53f30d 8217728: Speed up incremental rerun of "make hotspot" Reviewed-by: tbell 2020-05-08 17:16:38 +07:00
simonis
161418ac6c 8210459: Add support for generating compile_commands.json Reviewed-by: andrew 2020-05-08 17:16:38 +07:00
erikj
9f1a881ceb 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC Reviewed-by: tbell, ysuenaga, andrew 2020-05-08 17:16:38 +07:00
simonis
70f7dbdda5 8214534: Setting of THIS_FILE in the build is broken Reviewed-by: erikj, ihse 2020-05-08 17:16:38 +07:00
ysuenaga
b4d3d47d9a 8204551: Event descriptions are truncated in logs Reviewed-by: coleenp, andrew 2020-05-08 17:16:38 +07:00
erikj
4c9eea839c 8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle cross-compilation Reviewed-by: ihse, andrew 2020-05-08 17:16:37 +07:00
erikj
89deda593d 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-05-08 17:16:37 +07:00
igerasim
86ac4d18b8 8236201: Better Scanner conversions Reviewed-by: ahgross, rhalade, rriggs, skoivu, smarks, andrew 2020-05-08 17:16:37 +07:00
xuelei
c9db0b54e2 8235691: Enhance TLS connectivity Reviewed-by: jnimeh, rhalade, ahgross 2020-05-08 17:16:37 +07:00
avoitylov
a31ead2fd4 8235274: Enhance typing of methods Reviewed-by: andrew 2020-05-08 17:16:37 +07:00
robm
68862567c3 8234841: Enhance buffering of byte buffers Reviewed-by: alanb, ahgross, rhalade, psandoz 2020-05-08 17:16:37 +07:00
bpb
2ce34b365c 8219597: (bf) Heap buffer state changes could provoke unexpected exceptions Reviewed-by: alanb, rriggs 2020-05-08 17:16:37 +07:00
michaelm
be2b906885 8234825: Better Headings for HTTP Servers Reviewed-by: chegar, dfuchs, igerasim 2020-05-08 17:16:36 +07:00
xuelei
94692cb87d 8234408: Improve TLS session handling Reviewed-by: ascarpino, jjiang, ahgross, ssahoo, mullan, andrew 2020-05-08 17:16:36 +07:00
weijun
94e5fc6d2f 8234027: Better JCEKS key support Reviewed-by: ahgross, mullan, rriggs, rhalade 2020-05-08 17:16:36 +07:00
erikj
e22e879d78 8233410: Better Build Scripting Reviewed-by: tbell, jwilhelm, andrew 2020-05-08 17:16:36 +07:00
alitvinov
1c8842eb1b 8233250: Better X11 rendering Reviewed-by: prr, rhalade, mschoene, serb 2020-05-08 17:16:36 +07:00
jnimeh
1ebda35fe8 8232581: Improve TLS verification Reviewed-by: xuelei, rhalade, mschoene 2020-05-08 17:16:36 +07:00
xuelei
070598e5db 8232424: More constrained algorithms Reviewed-by: jnimeh, rhalade, ahgross 2020-05-08 17:16:36 +07:00
igerasim
073cfc85c6 8231785: Improved socket permissions Reviewed-by: ahgross, chegar, mullan, rhalade 2020-05-08 17:16:36 +07:00
mullan
e4cdc92ed3 8231415: Better signatures in XML Reviewed-by: weijun, mschoene, rhalade 2020-05-08 17:16:35 +07:00
bae
6cf55cf7cb 8229733: TLS message handling improvements Summary: Includes changes to TransportContext from JDK-8211018 Reviewed-by: andrew 2020-05-08 17:16:35 +07:00
amenkov
f9bd7f8014 8227542: Manifest improved jar headers Reviewed-by: sspitsyn, mschoene 2020-05-08 17:16:35 +07:00
robm
773cf954b2 8227467: Better class method invocations Reviewed-by: thartmann, dholmes, ahgross, andrew 2020-05-08 17:16:35 +07:00
bpb
85f24d8d5e 8225603: Enhancement for big integers Reviewed-by: darcy, ahgross, rhalade 2020-05-08 17:16:35 +07:00
smarks
d352014d1e 8224549: Less Blocking Array Queues Reviewed-by: bchristi, rhalade, rriggs, mschoene, robm 2020-05-08 17:16:35 +07:00
bchristi
e654f045b7 8224541: Better mapping of serial ENUMs Reviewed-by: mschoene, rhalade, robm, rriggs, smarks, andrew 2020-05-08 17:16:35 +07:00
hannesw
7b95b9e59d 8223904: Improve Nashorn matching Reviewed-by: jlaskey, sundar, mschoene, rhalade 2020-05-08 17:16:34 +07:00
hannesw
7f9a96ef0a 8223898: Forward references to Nashorn Reviewed-by: sundar, mschoene, rhalade 2020-05-08 17:16:33 +07:00
aph
9d908fb2b3 8241296: Segfault in JNIHandleBlock::oops_do() Reviewed-by: stefank, shade 2020-05-08 17:16:33 +07:00
robm
40f8f4d7f7 8223727: com/sun/jndi/ldap/privconn/RunTest.java failed due to hang in LdapRequest.getReplyBer Reviewed-by: prappo 2020-05-08 17:16:33 +07:00
ccheung
f6bf70bcfa 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-05-08 17:16:33 +07:00
jjiang
90c21a5b66 8231810: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF" Reviewed-by: xuelei 2020-05-08 17:16:32 +07:00
ssahoo
8f266097b8 8234723: javax/net/ssl/TLS tests support TLSv1.3 Summary: Missing TLSv1.3 test cases Reviewed-by: xuelei 2020-05-08 17:16:32 +07:00
jjiang
a1996fca72 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3 Reviewed-by: xuelei 2020-05-08 17:16:32 +07:00
dmarkov
d1a9241b3c 8232880: Update test documentation with additional settings for client UI tooltip tests Reviewed-by: aivanov, serb, ihse 2020-05-08 17:16:32 +07:00
mbaesken
fdc2282e75 8240724: [test] jdk11 downport of 8224475 misses binary file test/jdk/javax/swing/JTextPane/arrow.png Reviewed-by: sgehwolf 2020-05-08 17:16:32 +07:00
mdoerr
eca888c264 8239856: [ntintel] asserts about copying unaligned array element Reviewed-by: stuefe, sspitsyn 2020-05-08 17:16:31 +07:00
prr
51fe77d002 8233649: Update ProblemList.txt to exclude failing headful tests on macos Reviewed-by: serb 2020-05-08 17:16:31 +07:00
chagedorn
215f62d238 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-05-08 17:16:31 +07:00
lancea
934de0677f 8229888: (zipfs) Updating an existing zip file does not preserve original permissions Reviewed-by: clanger, alanb, bpb 2020-05-08 17:16:31 +07:00
coffeys
c1521034d2 8223260: NamingManager should cache InitialContextFactory Reviewed-by: alanb, plevart, dfuchs 2020-05-08 17:16:31 +07:00
serb
630f5c44bb 8230597: Update GIFlib library to the 5.2.1 Reviewed-by: prr, psadhukhan, jdv 2020-05-08 17:16:30 +07:00
arapte
7216e99137 4949105: Access Bridge lacks html tags parsing Reviewed-by: serb, prr, pbansal 2020-05-08 17:16:30 +07:00
pbansal
ad82e552c1 8224475: JTextPane does not show images in HTML rendering Reviewed-by: serb, psadhukhan 2020-05-08 17:16:30 +07:00
alitvinov
d9629c70b6 8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout Reviewed-by: serb, dmarkov 2020-05-08 17:16:30 +07:00
rhalade
30115410b5 8225130: Add exception for expiring Comodo roots to VerifyCACerts test Reviewed-by: weijun 2020-05-08 17:16:30 +07:00
michaelm
9d2b67241e 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10 Reviewed-by: alanb 2020-05-08 17:16:30 +07:00
prr
3fe8b82a63 8234769: Duplicate attribution in freetype.md Reviewed-by: psadhukhan 2020-05-08 17:16:30 +07:00
prr
9516e7162f 8227324: Upgrade to freetype 2.10.1 Reviewed-by: serb, jdv 2020-05-08 17:16:29 +07:00
joehw
c1095a0dd6 8233548: Update CUP to v0.11b Reviewed-by: lancea 2020-05-08 17:16:29 +07:00
serb
77f985a792 8232200: [macos 10.15] Windows in fullscreen tests jumps around the screen Reviewed-by: prr 2020-05-08 17:16:29 +07:00
chagedorn
1001527f2b 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-05-08 17:16:29 +07:00
stuefe
62e4d24a28 8220786: Create new switch to redirect error reporting output to stdout or stderr Reviewed-by: dholmes, goetz 2020-05-08 17:16:29 +07:00
mbaesken
6112bf4f40 8201349: build broken when configured with --with-zlib=bundled on gcc 7.3 Reviewed-by: clanger, simonis 2020-05-08 17:16:29 +07:00
dfuchs
29ec05c9df 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-05-08 17:16:29 +07:00
pconcannon
e628fb65ac 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-05-08 17:16:28 +07:00
rschuenemann
0ad012e58f 8238534: Deep sign macOS bundles before bundle archive is being created Reviewed-by: erikj, clanger 2020-05-08 17:16:28 +07:00
clanger
5e9e0e54ab 8239466: Loss of precision in counter decay calculation in 11u backport of JDK-8237375 Reviewed-by: mdoerr, simonis 2020-05-08 17:16:28 +07:00
chagedorn
bc72b71e35 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-05-08 17:16:28 +07:00
rhalade
d9a5b1ddb4 8225128: Add exception for expiring DocuSign root to VerifyCACerts test Reviewed-by: clanger 2020-05-08 17:16:28 +07:00
xuelei
976d34d091 8221270: Duplicated synchronized keywords in SSLSocketImpl Reviewed-by: mullan 2020-05-08 17:16:28 +07:00
chagedorn
865fb8bbe7 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-05-08 17:16:28 +07:00
rrich
0c5e8da01a 8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow() Reviewed-by: dholmes, clanger 2020-05-08 17:16:27 +07:00
igerasim
0edae7fced 8163251: Hard coded loop limit prevents reading of smart card data greater than 8k Reviewed-by: valeriep, rriggs 2020-05-08 17:16:27 +07:00
thartmann
d07b3418c7 8230390: Problemlist SA tests with AOT Summary: Putting tests on the problem list. Reviewed-by: roland 2020-05-08 17:16:27 +07:00
arapte
9e95aa2d96 8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys Reviewed-by: serb, psadhukhan 2020-05-08 17:16:27 +07:00
gadams
61d33d91c2 8203364: Some serviceability/sa/ tests intermittently fail with java.io.IOException: LingeredApp terminated with non-zero exit code 3 Reviewed-by: cjplummer, jcbeyler 2020-05-08 17:16:27 +07:00
phh
aaf5ffb58b 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-05-08 17:16:27 +07:00
valeriep
fbdffe1862 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-05-08 17:16:27 +07:00
xuelei
e37712df56 4919790: Errors in alert ssl message does not reflect the actual certificate status Reviewed-by: mullan 2020-05-08 17:16:27 +07:00
rraghavan
4e553964ff 8225567: Wrong file headers with 8202414 fix changeset Summary: Corrected source file headers Reviewed-by: thartmann 2020-05-08 17:16:26 +07:00
mbaesken
d856fc06de 8234525: enable link-time section-gc for linux s390x to remove unused code Reviewed-by: erikj, mdoerr 2020-05-08 17:16:26 +07:00
dtitov
4db8de85d5 8163083: SocketListeningConnector does not allow invocations with port 0 Reviewed-by: sspitsyn, amenkov, gadams, jcbeyler 2020-05-08 17:16:26 +07:00
mdoerr
20bac57181 8237375: SimpleThresholdPolicy misses CounterDecay timestamp initialization Reviewed-by: simonis, dholmes 2020-05-08 17:16:26 +07:00
thartmann
d47920c9b0 8226381: ProblemList java/lang/reflect/PublicMethods/PublicMethodsTest.java Summary: Put test on AOT ProblemList. Reviewed-by: iignatyev 2020-05-08 17:16:26 +07:00
mikael
d2c96c0d5c 8225305: ProblemList java/lang/invoke/VarHandles tests Reviewed-by: kvn, iignatyev, mchung, alanb 2020-05-08 17:16:26 +07:00
xuelei
0eba0fab90 8218889: Improperly use of the Optional API Reviewed-by: jnimeh, wetmore 2020-05-08 17:16:26 +07:00
gadams
16a2fd2113 8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false Reviewed-by: cjplummer, amenkov 2020-05-08 17:16:25 +07:00
mhalder
60689bbb51 8207938: At step6,Click Add button,case failed automatically. Reviewed-by: kaddepalli, psadhukhan 2020-05-08 17:16:25 +07:00
naoto
b64fdaf5d5 8225182: JNI exception pending in DestroyXIMCallback of awt_InputMethod.c:1327 Reviewed-by: serb 2020-05-08 17:16:25 +07:00
chegar
bb4beb24f1 8218662: Allow 204 responses with Content-Length:0 Reviewed-by: michaelm 2020-05-08 17:16:25 +07:00
shade
438ee96f2f 8238591: CTW: Split applications/ctw/modules/jdk_localedata.java Reviewed-by: iignatyev 2020-05-08 17:16:25 +07:00
shade
f8e1fe18c6 8238247: CTW runner should sweep nmethods more aggressively Reviewed-by: adinn, simonis, iignatyev 2020-05-08 17:16:25 +07:00
shade
d52fa1eabb 8238366: CTW runner closes standard output on exit Reviewed-by: adinn, iignatyev 2020-05-08 17:16:25 +07:00
dbuck
879c8bedae 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-05-08 17:16:25 +07:00
erikj
e05f9e5387 8213906: Update arm devkits with libXrandr headers Reviewed-by: tbell, prr 2020-05-08 17:16:24 +07:00
mgronlun
f61a582ea9 8230400: Missing constant pool entry for a method in stacktrace Reviewed-by: egahlin 2020-05-08 17:16:24 +07:00
mbaesken
4a9888cc09 8234501: remove obsolete NET_ReadV Reviewed-by: alanb, vtewari 2020-05-08 17:16:24 +07:00
bpb
59bc7c620d 8218882: NET_Writev is declared, NET_WriteV is defined Reviewed-by: alanb, chegar 2020-05-08 17:16:24 +07:00
mbaesken
11f37625f5 8235671: enhance print_rlimit_info in os_posix Reviewed-by: clanger, mdoerr 2020-05-08 17:16:24 +07:00
erikj
d6c9c875bd 8238225: Issues reported after replacing symlink at Contents/MacOS/libjli.dylib with binary Reviewed-by: clanger, alanb, ihse 2020-05-08 17:16:24 +07:00
clanger
90c54f4495 8236488: Support for configure option --with-native-debug-symbols=internal is impossible on Windows Reviewed-by: erikj 2020-05-08 17:16:24 +07:00
zgu
11c2dfc4e2 8216472: (se) Stack overflow during selection operation leads to crash (win) Reviewed-by: alanb Contributed-by: akashche@redhat.com 2020-05-08 17:16:24 +07:00
ceisserer
9a606119f2 8235904: Infinite loop when rendering huge lines Reviewed-by: prr, kizune 2020-05-08 17:16:24 +07:00
redestad
a6778de85e 8237508: Simplify JarFile.isInitializing Reviewed-by: dfuchs, coffeys, lancea 2020-05-08 17:16:23 +07:00
coffeys
f9e6fc3d66 8234466: Class loading deadlock involving X509Factory#commitEvent() Reviewed-by: alanb, chegar, dfuchs 2020-05-08 17:16:23 +07:00
stuefe
3efa3f53b2 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit Reviewed-by: mdoerr, dlong, aph 2020-05-08 17:16:23 +07:00
aefimov
17a0c22cb3 8232713: Update BCEL version to 6.3.1 in license file Reviewed-by: joehw 2020-05-08 17:16:22 +07:00
mbalao
05dc650f26 8237600: Test SunJSSEFIPSInit fails on Ubuntu Reviewed-by: shade 2020-05-08 17:16:22 +07:00
iklam
c04557f2aa 8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash Reviewed-by: jiangli, ccheung 2020-05-08 17:16:22 +07:00
mbaesken
308870232d 8237819: s390x - remove unused pd_zero_to_words_large Reviewed-by: clanger, mdoerr 2020-05-08 17:16:22 +07:00
mbaesken
e14eb2836b 8236709: struct SwitchRange in HS violates C++ One Definition Rule Reviewed-by: dholmes, kbarrett 2020-05-08 17:16:22 +07:00
roland
3c4c901b9a 8209686: cleanup arguments to PhaseIdealLoop() constructor Reviewed-by: thartmann, kvn, pliden 2020-05-08 17:16:21 +07:00
weijun
7ee4666784 8238502: sunmscapi.dll causing EXCEPTION_ACCESS_VIOLATION Reviewed-by: wetmore, coffeys, mullan 2020-05-08 17:16:21 +07:00
mbaesken
c0de9686b9 8237869: exclude jtreg test security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java because of instabilities Reviewed-by: clanger, mullan 2020-05-08 17:16:21 +07:00
gadams
1dec31c429 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException Reviewed-by: cjplummer, jcbeyler 2020-05-08 17:16:21 +07:00
ngasson
f0a18ce98b 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-05-08 17:16:21 +07:00
tnakamura
dd8369b612 8234386: [macos] NPE was thrown at expanding Choice from maximized frame Reviewed-by: serb 2020-05-08 17:16:21 +07:00
sviswanathan
6d8c545610 8234610: MaxVectorSize set wrongly when UseAVX=3 is specified after JDK-8221092 Reviewed-by: kvn, vlivanov 2020-05-08 17:16:21 +07:00
roland
5bc5c71eff 8214344: C2: assert(con.basic_type() != T_ILLEGAL) failed: elembt=byte; loadbt=void; unsigned=0 Reviewed-by: kvn, thartmann 2020-05-08 17:16:20 +07:00
hannesw
ddd120fbfb 8200432: javadoc fails with ClassCastException on {@link byte[]} Reviewed-by: jjg, sundar 2020-05-08 17:16:20 +07:00
pchilanomate
d868a0fbc3 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-05-08 17:16:20 +07:00
weijun
97b5df7689 8228969: 2019-09-28 public suffix list update Reviewed-by: mullan 2020-05-08 17:16:20 +07:00
ccheung
7cb37192b8 8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out Summary: Remove the FileChannel.force() calls. Reviewed-by: dcubed, iklam 2020-05-08 17:16:20 +07:00
ccheung
ed67f66c5a 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-05-08 17:16:19 +07:00
andrew
4996f58947 8224851: AArch64: fix warnings and errors with Clang and GCC 8.3 Reviewed-by: shade, aph, sgehwolf 2020-05-08 17:16:19 +07:00
valeriep
02182d1c47 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-05-08 17:16:19 +07:00
iklam
4c8a0ae808 8210289: ArchivedKlassSubGraphInfoRecord is incomplete Reviewed-by: jiangli, ccheung 2020-05-08 17:16:19 +07:00
iklam
7dbd06e4ba 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-05-08 17:16:18 +07:00
hseigel
b5c854ffb9 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-05-08 17:16:18 +07:00
rriggs
b278fe33e7 8237368: Problem with NullPointerException in RMI TCPEndpoint.read Reviewed-by: mchung, alanb 2020-05-08 17:16:18 +07:00
mgronlun
6058923cc8 8231081: TestMetadataRetention fails due to missing symbol id Reviewed-by: egahlin 2020-05-08 17:16:18 +07:00
mgronlun
74ed2e9c9b 8231025: Incorrect method tag offset for big endian platform Reviewed-by: egahlin 2020-05-08 17:16:18 +07:00
mgronlun
9b57c44beb 8225797: OldObjectSample event creates unexpected amount of checkpoint data Reviewed-by: egahlin 2020-05-08 17:16:17 +07:00
lancea
6f27ad751c 7143743: Potential memory leak with zip provider Reviewed-by: lancea, clanger, alanb Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com> 2020-05-08 17:16:17 +07:00
sviswanathan
b2c808db6a 8235288: AVX 512 instructions inadvertently used on Xeon for small vector width operations Reviewed-by: kvn, vlivanov 2020-05-08 17:16:17 +07:00
valeriep
4c07f88fc7 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-05-08 17:16:17 +07:00
mbaesken
b08859f560 8235489: handle return values of sscanf calls in hotspot Reviewed-by: clanger, kbarrett 2020-05-08 17:16:17 +07:00
thartmann
9716056770 8223769: Assert triggers with -XX:+StressReflectiveCode Summary: Fixed too strong assert. Reviewed-by: kvn, thartmann Contributed-by: Christian Hagedorn <christian.hagedorn@oracle.com> 2020-05-08 17:16:16 +07:00
sviswanathan
34358af9c1 8235510: java.util.zip.CRC32 performance drop after 8200067 Summary: backout 8200067 optimization Reviewed-by: kvn 2020-05-08 17:16:16 +07:00
chagedorn
accf8ae9f0 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-05-08 17:16:16 +07:00
kbarrett
3244eab597 8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef Summary: Added validity check on the handle before deleting it. Reviewed-by: dholmes, dcubed 2020-05-08 17:16:16 +07:00
pbansal
dab82b1969 8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64 Reviewed-by: psadhukhan, prr 2020-05-08 17:16:16 +07:00
pbansal
e61b6046b3 8230235: Rendering HTML with empty img attribute and documentBaseKey cause Exception Reviewed-by: serb, aivanov 2020-05-08 17:16:16 +07:00
mli
2e3288b28d 8209824: Improve the code coverage for ThreadLocal Reviewed-by: dholmes, alanb 2020-05-08 17:16:16 +07:00
rriggs
e1fb029109 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed Reviewed-by: lancea, bpb, naoto 2020-05-08 17:16:16 +07:00
mchung
14fcbaf64e 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-05-08 17:16:15 +07:00
sundar
e2496ada55 8216535: tools/jimage/JImageExtractTest.java timed out Reviewed-by: jlaskey 2020-05-08 17:16:15 +07:00
amlu
4b8d7722e3 8230004: jdk/internal/jimage/JImageOpenTest.java runs no test Reviewed-by: alanb 2020-05-08 17:16:15 +07:00
prr
379984d461 8232154: Update Mesa 3-D Headers to version 19.2.1 Reviewed-by: serb, kcr 2020-05-08 17:16:15 +07:00
smonteith
0999409451 8224187: Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy Reviewed-by: eosterlund 2020-05-08 17:16:15 +07:00
dtitov
285755ed90 8236873: Worker has a deadlock bug Reviewed-by: dfuchs, dholmes, sspitsyn 2020-05-08 17:16:15 +07:00
clanger
8e93dab2e5 8236500: Windows ucrt.dll should be looked up in versioned WINSDK subdirectory Reviewed-by: mdoerr 2020-05-08 17:16:15 +07:00
clanger
e155865275 8232370: Refactor some com.sun.jdi tests to enable IDE integration Reviewed-by: amenkov, cjplummer, sspitsyn 2020-05-08 17:16:15 +07:00
jvernee
b74aaef1cd 8232167: Visual Studio install found through --with-tools-dir value is discarded Reviewed-by: erikj, ihse 2020-05-08 17:16:14 +07:00
vagarwal
ccd2bb6419 8237540: Missing files in backport of JDK-8210910 Summary: Add missing graphic files Reviewed-by: clanger 2020-05-08 17:16:14 +07:00
akolarkunnu
1ecf2a8790 8237541: Missing files in backport of JDK-8236528 Summary: Add missing graphic files Reviewed-by: clanger 2020-05-08 17:16:14 +07:00
chagedorn
621cc8aaf7 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-05-08 17:16:14 +07:00
thartmann
9c6574667e 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-05-08 17:16:14 +07:00
igerasim
f42a3cb2c6 8234423: Modifying ArrayList.subList().subList() resets modCount of subList Reviewed-by: rriggs 2020-05-08 17:16:14 +07:00
serb
fe9e6007f8 8233657: Intermittent NPE in Component.validate() Reviewed-by: prr 2020-05-08 17:16:14 +07:00
coleenp
13cce7525e 8220688: [TESTBUG] runtime/NMT/MallocStressTest.java timed out Summary: reduce number of threads and iterate rather than sleep. Reviewed-by: zgu, dholmes 2020-05-08 17:16:14 +07:00
hseigel
476ef359cf 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-05-08 17:16:14 +07:00
zgu
92213e03a2 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-05-08 17:16:13 +07:00
mdoerr
35449b93e1 8230459: Test failed to resume JVMCI CompilerThread Reviewed-by: dholmes, kvn 2020-05-08 17:16:13 +07:00
mbalao
57a24dab75 8005819: Support cross-realm MSSFU Reviewed-by: weijun 2020-05-08 17:16:13 +07:00
jnimeh
db58428f5d 8236039: JSSE Client does not accept status_request extension in CertificateRequest messages for TLS 1.3 Reviewed-by: xuelei, clanger 2020-05-08 17:16:13 +07:00
prr
20e3d61fc4 8227662: freetype seeks to index at the end of the font data Reviewed-by: serb, psadhukhan 2020-05-08 17:16:13 +07:00
mdoerr
5898cdc286 8236179: C1 register allocation error with T_ADDRESS Reviewed-by: rkennke, vlivanov, roland, mdoerr Contributed-by: Aditya Mandaleeka <adityam@microsoft.com> 2020-05-08 17:16:13 +07:00
shade
e599ee9c1d 8237217: Incorrect G1StringDedupEntry type used in StringDedupTable destructor Reviewed-by: kbarrett, zgu 2020-05-08 17:16:13 +07:00
egahlin
95916feed2 8219205: JFR file without license header Reviewed-by: mgronlun 2020-05-08 17:16:13 +07:00
dbuck
cef700b673 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-05-08 17:16:12 +07:00
thartmann
d38b43f339 8233491: Crash in AdapterHandlerLibrary::get_adapter with CDS due to code cache exhaustion Summary: Added null check. Reviewed-by: kvn, iklam 2020-05-08 17:16:12 +07:00
thartmann
ac85b58fc5 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-05-08 17:16:12 +07:00
roland
1e5e807d16 8234350: assert(mode == ControlAroundStripMined && (use == sfpt || !use->is_reachable_from_root())) failed: missed a node Reviewed-by: thartmann, mdoerr 2020-05-08 17:16:12 +07:00
xliu
01e388c85f 8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose Summary: Added check for printable bci. Reviewed-by: thartmann 2020-05-08 17:16:12 +07:00
thartmann
765203557d 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-05-08 17:16:12 +07:00
vlivanov
25f36535fe 8231430: C2: Memory stomp in max_array_length() for T_ILLEGAL type Reviewed-by: kvn, thartmann 2020-05-08 17:16:12 +07:00
mbaesken
53d26a9ee4 8231753: use more Posix functionality in aix os::print_os_info Reviewed-by: clanger, dholmes 2020-05-08 17:16:12 +07:00
mbaesken
35283a3a44 8232060: add some initializations using sigemptyset in os_aix.cpp Reviewed-by: clanger, stuefe 2020-05-08 17:16:12 +07:00
dtitov
d37d087d29 8185005: Improve performance of ThreadMXBean.getThreadInfo(long ids[], int maxDepth) Reviewed-by: sspitsyn, dholmes, dcubed, rehn 2020-05-08 17:16:11 +07:00
redestad
769e9187f0 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation Reviewed-by: bobv, sgehwolf 2020-05-08 17:16:11 +07:00
goetz
1e4bf7e06f 8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'. Reviewed-by: dholmes, kvn 2020-05-08 17:16:11 +07:00
pliden
7fcb2e16dc 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-05-08 17:16:11 +07:00
aefimov
8e914eded4 8225430: Replace wildcard address with loopback or local host in tests - part 14 Reviewed-by: dfuchs, chegar, vtewari 2020-05-08 17:16:11 +07:00
sgehwolf
349d4d5bf2 8236848: [JDK 11u] make run-test-tier1 fails after backport of JDK-8232834 Summary: Remove extraneous closing brackets Reviewed-by: neugens, goetz 2020-05-08 17:16:11 +07:00
vjovanovic
affc893505 8232806: Introduce a system property to disable eager lambda initialization Reviewed-by: briangoetz, mr, psandoz, forax 2020-05-08 17:16:11 +07:00
vagarwal
3237d709d2 8216353: Use utility APIs introduced in org/netbeans/jemmy/util/LookAndFeel class in client sanity test cases Reviewed-by: serb 2020-05-08 17:16:10 +07:00
akolarkunnu
8df5cfd173 8211322: Reduce the timeout of tooltip in SwingSet2DemoTest Reviewed-by: serb, shurailine Contributed-by: gauri.patil@oracle.com 2020-05-08 17:16:10 +07:00
mseledtsov
f4444ed2b2 8232224: [TESTBUG] problemlist JFR TestLargeRootSet.java Summary: Problem listed the test Reviewed-by: egahlin, dcubed 2020-05-08 17:16:10 +07:00
mseledtsov
be09a7bacb 8230624: [TESTBUG] Problemlist JFR compiler/TestCodeSweeper.java Summary: Added the test to the problem list Reviewed-by: egahlin 2020-05-08 17:16:10 +07:00
erikj
bbde1ed159 8232834: RunTest sometimes fails to produce valid exitcode.txt Reviewed-by: ihse 2020-05-08 17:16:10 +07:00
dholmes
a4a0a47594 8232571: Add missing SIGINFO signal Reviewed-by: dholmes, rriggs Contributed-by: Benoit Daloze <benoit.daloze@oracle.com> 2020-05-08 17:16:09 +07:00
cjplummer
66035f0482 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-05-08 17:16:09 +07:00
sgehwolf
14b615baa1 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-05-08 17:16:09 +07:00
pliden
bad808fc07 8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small Reviewed-by: dholmes, rrich 2020-05-08 17:16:09 +07:00
rrich
a8878d9169 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken Reviewed-by: sspitsyn, dholmes, kvn 2020-05-08 17:16:09 +07:00
aefimov
241ff65a8d 8223638: Replace wildcard address with loopback or local host in tests - part 6 Reviewed-by: dfuchs 2020-05-08 17:16:08 +07:00
weijun
85e7b55d44 8223003: SunMSCAPI keys are not cleaned up Reviewed-by: igerasim 2020-05-08 17:16:08 +07:00
akolarkunnu
46e04af4d4 8213168: Enable different look and feel tests in SwingSet3 demo test FileChooserDemoTest Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:16:08 +07:00
akolarkunnu
9ae5b9833e 8211160: Handle different look and feels in JInternalFrameOperator Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:16:08 +07:00
jjg
c917b81590 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs Reviewed-by: mchung, bchristi 2020-05-08 17:16:08 +07:00
jjg
a5492fef7c 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause Reviewed-by: jjg Contributed-by: jai.forums2013@gmail.com 2020-05-08 17:16:07 +07:00
sjohanss
7aba0dd2dc 8209802: Garbage collectors should register JFR types themselves to avoid build errors. Reviewed-by: kbarrett, tschatzl 2020-05-08 17:16:07 +07:00
phh
94db68011b 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-05-08 17:16:07 +07:00
fmatte
0f5d3d65dc 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-05-08 17:16:07 +07:00
mbaesken
ed9cc6a79c 8233328: fix minimal VM build on Linux s390x Reviewed-by: lucy, mdoerr 2020-05-08 17:16:06 +07:00
mbaesken
20431b6bef 8234809: set relro in linker flags when building with gcc Reviewed-by: erikj, fweimer 2020-05-08 17:16:06 +07:00
martin
5dacd612df 8209817: stack is executable when building with Clang on Linux Reviewed-by: dholmes, martin, mikael, ihse Contributed-by: Arthur Eubanks <aeubanks@google.com> 2020-05-08 17:16:06 +07:00
tschatzl
ae523d942c 8214850: Rename vm_operations.?pp files to vmOperations.?pp files Reviewed-by: dholmes, coleenp 2020-05-08 17:16:06 +07:00
erikj
4a6c941a52 8223627: jdk-13+20 bundle name contains null instead of ea Reviewed-by: dholmes, tbell 2020-05-08 17:16:06 +07:00
erikj
ee131223e6 8223464: Improve version string for Oracle CI builds Reviewed-by: tbell 2020-05-08 17:16:05 +07:00
akolarkunnu
ee3c5f2cec 8228479: Correct the format of ColorChooserDemoTest Reviewed-by: serb, psadhukhan 2020-05-08 17:16:05 +07:00
xuelei
faf54601b1 8225766: Curve in certificate should not affect signature scheme when using TLSv1.3 Reviewed-by: ascarpino 2020-05-08 17:16:05 +07:00
ihse
432cd33feb 8217634: RunTest documentation and usability update Reviewed-by: erikj 2020-05-08 17:16:05 +07:00
jjiang
52e9b51d84 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-05-08 17:16:05 +07:00
iignatyev
852a340b24 8227112: exclude compiler/intrinsics/sha/sanity tests from AOT runs Reviewed-by: kvn 2020-05-08 17:16:04 +07:00
epavlova
0805dac8e8 8225684: [AOT] vmTestbase/vm/oom/production/AlwaysOOMProduction tests fail with AOTed java.base Reviewed-by: kvn 2020-05-08 17:16:04 +07:00
mgronlun
9639189f39 8210024: JFR calls virtual is_Java_thread from ~Thread() Reviewed-by: kbarrett, dholmes, dcubed, egahlin 2020-05-08 17:16:04 +07:00
jiefu
ff376593a4 8232692: [TESTBUG] compiler/aot/fingerprint/SelfChangedCDS.java fails when cds is disabled Reviewed-by: kvn 2020-05-08 17:16:04 +07:00
weijun
48ebce0d34 8225180: SignedObject with invalid Key not throwing the InvalidKeyException in Windows Reviewed-by: mullan 2020-05-08 17:16:03 +07:00
prr
e0aff82e9f 8225487: giflib legal file is missing attribution for openbsd-reallocarray.c Reviewed-by: serb, kcr 2020-05-08 17:16:03 +07:00
epavlova
c18580c9f5 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1 Reviewed-by: kvn 2020-05-08 17:16:03 +07:00
prr
d807a328af 8224778: test/jdk/demo/jfc/J2Ddemo/J2DdemoTest.java cannot find J2Ddemo.jar Reviewed-by: erikj, psadhukhan 2020-05-08 17:16:03 +07:00
prr
6ef4176f32 8224705: Tests that need to be problem-listed or have printer resources Reviewed-by: serb, psadhukhan 2020-05-08 17:16:02 +07:00
psadhukhan
3173541b5b 8211703: JInternalFrame : java.lang.AssertionError: cannot find the internal frame Reviewed-by: prr, serb 2020-05-08 17:16:02 +07:00
weijun
92cce6e33a 8223063: Support CNG RSA keys Reviewed-by: mullan 2020-05-08 17:16:02 +07:00
vagarwal
cfe2995202 8222519: ButtonDemoScreenshotTest fails randomly with "still state to be reached" Reviewed-by: serb 2020-05-08 17:16:02 +07:00
jjiang
a7a9657b03 8222391: javax/net/ssl/compatibility/Compatibility.java should be more flexible Reviewed-by: xuelei 2020-05-08 17:16:02 +07:00
serb
ebec05e13d 8221885: Add intermittent test in the JavaSound to the ProblemList Reviewed-by: prr 2020-05-08 17:16:02 +07:00
jjiang
c3d62fec8f 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-05-08 17:16:02 +07:00
iignatyev
bfe13a4f0b 8178798: Two compiler/aot/verification/vmflags tests fail by timeout with UseAVX=3 Reviewed-by: kvn 2020-05-08 17:16:02 +07:00
akolarkunnu
3311da70cd 8217297: Add support for multiple look and feel for SwingSet SliderDemoTest Reviewed-by: serb Contributed-by: vikrant.v.agarwal@oracle.com 2020-05-08 17:16:01 +07:00
akolarkunnu
9b239b2ec6 8214471: Enable different look and feel tests in SwingSet3 demo test ToolTipDemoTest Reviewed-by: serb, shurailine 2020-05-08 17:16:01 +07:00
iignatyev
646a82e81c 8215322: add @file support to jaotc Reviewed-by: kvn 2020-05-08 17:16:01 +07:00
hseigel
7435b2eaed 8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out of java heap Summary: Handle OutOfMemoryError exception to prevent test aborting Reviewed-by: zgu, dholmes 2020-05-08 17:16:01 +07:00
sveerabhadra
337384f6b5 8210057: Enable different look and feels in SwingSet3 demo test InternalFrameDemoTest Reviewed-by: serb Contributed-by: gauri.patil@oracle.com 2020-05-08 17:16:01 +07:00
sveerabhadra
1e0945525e 8211443: Enable different look and feels in SwingSet3 demo test SplitPaneDemoTest Reviewed-by: serb Contributed-by: gauri.patil@oracle.com 2020-05-08 17:16:01 +07:00
kbarrett
bac2d86165 8209976: Improve iteration over non-JavaThreads Summary: Add NonJavaThread and move NamedThread iteration to new class. Reviewed-by: eosterlund, coleenp, rkennke 2020-05-08 17:16:00 +07:00
akolarkunnu
369757db8b 8212897: Some improvements in the EditorPaneDemotest Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:16:00 +07:00
akolarkunnu
007cd7d7ee 8209499: Create test for SwingSet EditorPaneDemo Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:16:00 +07:00
akolarkunnu
47740b0c86 8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:16:00 +07:00
psadhukhan
7c870c0c2d 8223158: Docked MacBook cannot start any Java Swing applications Reviewed-by: prr, serb 2020-05-08 17:16:00 +07:00
eosterlund
f5dd9ade7a 8229345: Memory leak due to vtable stubs not being shared on SPARC Reviewed-by: mdoerr, dholmes, kvn 2020-05-08 17:15:59 +07:00
iignatyev
c97d095033 8209807: improve handling exception in requires.VMProps Reviewed-by: vlivanov, mseledtsov 2020-05-08 17:15:59 +07:00
weijun
b7c9c846ce 8213010: Supporting keys created with certmgr.exe Reviewed-by: valeriep 2020-05-08 17:15:59 +07:00
weijun
0a7b6913a3 8213009: Refactoring existing SunMSCAPI classes Reviewed-by: valeriep 2020-05-08 17:15:59 +07:00
akolarkunnu
cf7ce14cb1 8210055: Enable different look and feel tests in SwingSet3 demo tests Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:15:59 +07:00
vagarwal
b3f4f4ed4d 8210910: Create test for FileChooserDemo Reviewed-by: serb Contributed-by: vikrant.v.agarwal@oracle.com 2020-05-08 17:15:59 +07:00
akolarkunnu
c7f9187cd2 8210994: Create test for SwingSet3 FrameDemo Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:15:58 +07:00
vagarwal
98f578ef47 8210052: Enable testing for all the available look and feels in SwingSet3 demo tests Reviewed-by: shurailine, serb 2020-05-08 17:15:58 +07:00
akolarkunnu
dcdbdc3d27 8209993: Create a test for SwingSet3 ToolTipDemo Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:15:58 +07:00
akolarkunnu
e3551677a2 8209494: Create a test for SwingSet InternalFrameDemo Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:15:58 +07:00
akolarkunnu
61c047cedc 8209789: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2 Reviewed-by: serb Contributed-by: abdul.kolarkunnu@oracle.com 2020-05-08 17:15:58 +07:00
akolarkunnu
950568b627 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-05-08 17:15:57 +07:00
stooke
baf68f1d15 8216354: Syntax error in toolchain_windows.m4 Reviewed-by: erikj, dholmes, clanger 2020-05-08 17:15:57 +07:00
kbarrett
16ce268521 8209850: Allow NamedThreads to use GlobalCounter critical sections Summary: Add NamedThreads iterator and make GlobalCounter use it. Reviewed-by: eosterlund, rehn 2020-05-08 17:15:57 +07:00
mbaesken
388f839362 8234397: add OS uptime information to os::print_os_info output Reviewed-by: clanger, dholmes, lucy 2020-05-08 17:15:57 +07:00
mbaesken
d39ee1ff42 8231445: check ZALLOC return values in awt coding Reviewed-by: clanger, prr 2020-05-08 17:15:56 +07:00
weijun
01455489f6 8210476: sun/security/mscapi/PrngSlow.java fails with Still too slow Reviewed-by: xuelei, igerasim, rriggs 2020-05-08 17:15:56 +07:00
jjiang
2f20182f87 8203687: javax/net/ssl/compatibility/Compatibility.java supports TLS 1.3 Reviewed-by: xuelei 2020-05-08 17:15:56 +07:00
igerasim
92b32af9a7 8201355: Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed Reviewed-by: weijun 2020-05-08 17:15:56 +07:00
shurailine
6a329eb06c 8208157: requires.VMProps throws NPE for missing properties in "release" file Reviewed-by: iignatyev, lancea 2020-05-08 17:15:56 +07:00
dlong
c2fda31f2a 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-05-08 17:15:55 +07:00
rriggs
a8726d7ae8 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug Reviewed-by: martin 2020-05-08 17:15:54 +07:00
psadhukhan
2dde9daa41 8215396: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT Reviewed-by: serb 2020-05-08 17:15:54 +07:00
rschmelter
f5f9c47810 8226608: Hide the onjcmd option from the help output Reviewed-by: sspitsyn, clanger 2020-05-08 17:15:54 +07:00
rschmelter
0677ec8c99 8224673: Adjust permission for delayed starting of debugging Summary: Changed permission from monitor to control Reviewed-by: sspitsyn, clanger 2020-05-08 17:15:53 +07:00
iklam
8b5fb4fb7f 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-05-08 17:15:53 +07:00
weijun
dd9de7ab0a 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-05-08 17:15:53 +07:00
mbaesken
9e491d1277 8235243: handle VS2017 15.9 and VS2019 in abstract_vm_version 8235325: build failure on Linux after 8235243 Reviewed-by: dholmes, mdoerr 2020-05-08 17:15:53 +07:00
mbaesken
44a44e23e7 8234339: replace JLI_StrTok in java_md_solinux.c Reviewed-by: clanger, rriggs 2020-05-08 17:15:52 +07:00
mbaesken
d31015e36a 8234323: NULL-check return value of SurfaceData_InitOps on macosx Reviewed-by: clanger 2020-05-08 17:15:52 +07:00
mbaesken
1949af5a11 8233078: fix minimal VM build on Linux ppc64(le) Reviewed-by: mdoerr, lucy 2020-05-08 17:15:52 +07:00
mbaesken
ccf3a3bc79 8234741: enhance os::get_core_path on macOS Reviewed-by: clanger, gziemski 2020-05-08 17:15:52 +07:00
psadhukhan
17ef123ef7 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64 Reviewed-by: jdv 2020-05-08 17:15:51 +07:00
psadhukhan
dcd78171fc 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64 Reviewed-by: jdv 2020-05-08 17:15:51 +07:00
prr
110475d304 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang Reviewed-by: serb, jdv 2020-05-08 17:15:51 +07:00
jdv
ff4d8bd2b9 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10 Reviewed-by: prr, serb 2020-05-08 17:15:51 +07:00
bpb
f612f9d883 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException Reviewed-by: darcy 2020-05-08 17:15:51 +07:00
serb
d319dad5fd 8225144: [macos] In Aqua L&F backspace key does not delete when Shift is pressed Reviewed-by: psadhukhan 2020-05-08 17:15:50 +07:00
naoto
1a3e2547cb 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14 Reviewed-by: rriggs 2020-05-08 17:15:50 +07:00
kvn
de63bde267 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out Reviewed-by: iignatyev 2020-05-08 17:15:50 +07:00
akolarkunnu
9893217441 8221312: test/jdk/sanity/client/SwingSet/src/ColorChooserDemoTest.java failed Reviewed-by: serb, psadhukhan 2020-05-08 17:15:50 +07:00
dholmes
ac3b7d9cea 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1) Reviewed-by: rehn, stuefe, dcubed, sspitsyn 2020-05-08 17:15:50 +07:00
erikj
553b38afa9 8217613: [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac Reviewed-by: tbell, kvn, iignatyev 2020-05-08 17:15:49 +07:00
epavlova
c7d771b255 8214557: Filter out VM flags which don't affect AOT code generation Reviewed-by: kvn, erikj 2020-05-08 17:15:49 +07:00
epavlova
766b13af8b 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing Reviewed-by: kvn, erikj, ihse 2020-05-08 17:15:49 +07:00
iignatyev
1b466d78c2 8210699: Problem list tests which times out in Xcomp mode Reviewed-by: kvn 2020-05-08 17:15:48 +07:00
mdoerr
636d51dd02 8220348: [ntintel] asserts about copying unaligned array Reviewed-by: clanger, stuefe 2020-05-08 17:15:48 +07:00
bpb
3668e83e6b 8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels() Reviewed-by: bpb Contributed-by: alan.bateman@oracle.com 2020-05-08 17:15:48 +07:00
tschatzl
0127c65a97 8211211: vmTestbase/metaspace/stressDictionary/StressDictionary.java timeout Summary: Disable CMS precleaning to avoid accumulating too many classloaders to unload. Reviewed-by: kbarrett, sangheki 2020-05-08 17:15:47 +07:00
fyang
b7d3ed27f5 8233466: aarch64: remove unnecessary load of mdo when profiling return and parameters type Reviewed-by: adinn 2020-05-08 17:15:47 +07:00
bsrbnd
d632a95b2e 8214345: infinite recursion while checking super class Reviewed-by: vromero 2020-05-08 17:15:47 +07:00
iklam
57b03a3b42 8209826: Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup) Summary: include os_inline.hpp instead Reviewed-by: jiangli 2020-05-08 17:15:47 +07:00
jiangli
9b77749801 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-05-08 17:15:47 +07:00
ccheung
7461a6dcbf 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-05-08 17:15:47 +07:00
jiangli
6734a46463 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-05-08 17:15:46 +07:00
sgehwolf
03961a714f 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-05-08 17:15:46 +07:00
dholmes
9dca1450b9 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-05-08 17:15:46 +07:00
cushon
57bb744ae1 8213908: AssertionError in DeferredAttr at setOverloadKind Reviewed-by: mcimadamore 2020-05-08 17:15:46 +07:00
akolarkunnu
eda0450971 8217235: Create automated test for SwingSet ColorChooserDemoTest Reviewed-by: serb, shurailine Contributed-by: vikrant.v.agarwal@oracle.com 2020-05-08 17:15:46 +07:00
iignatyev
c6203f1025 8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled Reviewed-by: kvn 2020-05-08 17:15:45 +07:00
iignatyev
c6e9df083e 8214904: Test8004741.java failed due to "Too few ThreadDeath hits; expected at least 6 but saw only 5" Reviewed-by: kvn, epavlova 2020-05-08 17:15:45 +07:00
psadhukhan
9556cc94f9 8234786: Fix for JDK-8214578 breaks OS X 10.12 compatibility Reviewed-by: jdv 2020-05-08 17:15:45 +07:00
psadhukhan
42520f02c8 8214578: [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings Reviewed-by: serb, prr 2020-05-08 17:15:45 +07:00
pbansal
63a2307d80 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-05-08 17:15:45 +07:00
akozlov
54ddb6c957 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call Reviewed-by: mchung 2020-05-08 17:15:45 +07:00
dnsimon
eb88931795 8210793: [JVMCI] AllocateCompileIdTest.java failed to find DiagnosticCommand.class Reviewed-by: thartmann, kvn 2020-05-08 17:15:44 +07:00
kvn
3a1df2a7d0 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-05-08 17:15:44 +07:00
kvn
06bffa0087 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-05-08 17:15:44 +07:00
dlong
8a1dd9cff8 8209361: [AOT] Unexpected number of references for JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected at least 1) Reviewed-by: coleenp, dholmes 2020-05-08 17:15:44 +07:00
kvn
0ec6872d40 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-05-08 17:15:44 +07:00
amenkov
7c553ab284 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken Reviewed-by: sspitsyn, cjplummer 2020-05-08 17:15:43 +07:00
valeriep
5bffa68e6f 8183107: PKCS11 regression regarding checkKeySize Summary: Changed key size check in PKCS11 provider to only enforce positive return values Reviewed-by: jnimeh 2020-05-08 17:15:43 +07:00
dtitov
bfa3191caf 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg Reviewed-by: sspitsyn, cjplummer 2020-05-08 17:15:43 +07:00
kvn
42e8c87028 8206963: [AOT] bug with multiple class loaders Summary: AOT should not support custom class loaders. Reviewed-by: dlong, iveresov 2020-05-08 17:15:43 +07:00
dcubed
2bd83b724b 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out Summary: Increase default timeout to 360 seconds. Reviewed-by: erikj, dholmes 2020-05-08 17:15:43 +07:00
psadhukhan
1466674b86 8203904: javax/swing/JSplitPane/4816114/bug4816114.java: The divider location is wrong Reviewed-by: serb, kaddepalli 2020-05-08 17:15:43 +07:00
mbaesken
44c9ad0a56 8230480: check malloc/calloc results in java.desktop Reviewed-by: rriggs 2020-05-08 17:15:42 +07:00
serb
31aa5b08b8 8199072: Test javax/swing/GroupLayout/6613904/bug6613904.java is unstable Reviewed-by: prr, psadhukhan 2020-05-08 17:15:42 +07:00
serb
c1932af648 8198398: Test javax/swing/JColorChooser/Test6199676.java fails in mach5 Reviewed-by: kaddepalli, prr 2020-05-08 17:15:42 +07:00
serb
1a8bbd2f21 8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails Reviewed-by: psadhukhan 2020-05-08 17:15:42 +07:00
pkbalakr
a89b91a873 8196467: javax/swing/JInternalFrame/Test6325652.java fails Reviewed-by: jdv, psadhukhan Contributed-by: tejpal.rebari@oracle.com 2020-05-08 17:15:41 +07:00
trebari
ba20a5881d 8194944: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java' fails Reviewed-by: jdv, arapte 2020-05-08 17:15:41 +07:00
jdv
194d8409ec 8176556: java/awt/dnd/ImageTransferTest/ImageTransferTest.java fails for JFIF Reviewed-by: serb 2020-05-08 17:15:41 +07:00
iignatyev
4b4d9345dc 8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations Reviewed-by: kvn 2020-05-08 17:15:41 +07:00
iignatyev
09f1801f7e 8145845: [AOT] NullPointerException in compiler/whitebox/GetCodeHeapEntriesTest.java Reviewed-by: kvn, thartmann 2020-05-08 17:15:41 +07:00
pkbalakr
982cb1df65 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-05-08 17:15:41 +07:00
sgehwolf
86ab773804 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE Summary: Account for serialized null scopes in NMethod Reviewed-by: aph, never 2020-05-08 17:15:40 +07:00
mdoerr
ac2afdffa0 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-05-08 17:15:40 +07:00
thartmann
02d2c5c71f 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-05-08 17:15:40 +07:00
alitvinov
4449490249 8068184: Fix for JDK-8032832 caused a deadlock Reviewed-by: dfuchs, chegar 2020-05-08 17:15:40 +07:00
goetz
d00d5d3945 8234340: Bump update version for OpenJDK: jdk-11.0.7 Reviewed-by: clanger 2020-05-08 17:15:40 +07:00
dbatrak
ab16da86a8 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-05-08 17:15:39 +07:00
Vitaly Provodin
2a277db8fd JBR-2320 add jdk.attach module into JBR
(cherry picked from commit cf3a605a0e)
2020-04-23 06:32:29 +07:00
Anton Tarasov
ec4560a42e JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
2020-04-22 08:40:01 +07:00
Anton Tarasov
5d6017d1f5 JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
2020-04-22 08:38:38 +07:00
Pengfei Li
cd9ac3643b 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
(cherry picked from commit d7dbec973c)
2020-04-22 08:17:38 +07:00
Alexey Ushakov
9a0d584f8b JBR-2311 [backport to 201] JBR-2210 IDEA fails to start (JVM crashes) when using the -Dfile.encoding=UTF-8in IDEA's vmoptions file
Returning devanagari subset back for ja.UTF-8 to get non-null font name from WFontConfiguration.getTextComponentFontName(). It is a regression from JDK-8208179.

(cherry picked from commit b51254a975)
2020-04-20 18:19:17 +07:00
Elena Sayapina
de8f7cfa9d 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:52:14 +07:00
Yasumasa Suenaga
26ef1eae08 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:51:58 +07:00
Matthias Baesken
fb26307488 8218547: Simplify JLI_Open on Windows in native code (libjli)
Reviewed-by: alanb, clanger
2020-04-11 13:51:54 +07:00
Ralf Schmelter
6617f6589f 8232168: Fix non wide char canonicalization on Windows
Reviewed-by: clanger, alanb, ccheung
2020-04-11 13:51:49 +07:00
Elena Sayapina
c5b0d0b951 Revert "JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name"
This reverts commit 83591ad6
Restore "8240197: Cannot start JVM when $JAVA_HOME includes CJK characters" to eliminate jbr dependency on regional format."
2020-04-11 13:51:12 +07:00
Elena Sayapina
3a3b9e6c11 Revert "JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name"
This reverts commit 14b987be

Restore "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" to eliminate jbr dependency on regional format.
2020-04-11 13:49:33 +07:00
Dmitry Batrak
40bcd31e83 JBR-2248 Support text wrapping in a <pre> tag in JEditorPane
(cherry picked from commit ff2e915371)
2020-04-06 13:21:10 +03:00
Dmitry Batrak
f701bf4886 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
simplify the code

(cherry picked from commit 6003abc15f)
2020-04-06 13:21:08 +03:00
Dmitry Batrak
e9eabeb5a0 JBR-2234 Support CSS setting overflow-wrap:anywhere in JEditorPane
(cherry picked from commit b6583d0a71)
2020-04-06 13:21:06 +03:00
Elena Sayapina
14b987be02 JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name
This reverts commit e6ecc697.
Revert "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" to eliminate jbr dependency on regional format.
2020-04-06 15:46:36 +07:00
Elena Sayapina
83591ad67f JBR-2235 JBR 11.0.6 doesn't start from a directory with a non-ASCII name
This reverts commit 9074c5df.
Revert "8240197: Cannot start JVM when $JAVA_HOME includes CJK characters" to eliminate jbr dependency on regional format.
2020-04-06 15:46:34 +07:00
Elena Sayapina
9074c5df94 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-30 14:59:21 +07:00
Vitaly Provodin
48e18aab34 JBR-2217 provide JCEF-only (no JavaFX) bundle for 201 branch 2020-03-20 17:37:58 +07:00
Vitaly Provodin
72ce7e2d04 updated JTreg exclude list 2020-03-10 11:07:51 +07:00
Vitaly Provodin
5bb6c4f8a7 JBR-2181: fix root dir in Windows jbr bundles (rsync replaced by cp) 2020-03-07 06:08:12 +07:00
Vitaly Provodin
7750101766 JBR-2181: fix root dir in Windows jbr bundles 2020-03-06 18:01:18 +07:00
Vitaly Provodin
929ce44248 JBR-2181: fix root dir in Windows jbr bundles 2020-03-06 17:56:44 +07:00
Vitaly Provodin
a0fa5a0ea4 JBR-2181: create two separate JBR bundles with JFX and JFX+JCEF (follow up) 2020-03-06 15:41:13 +07:00
Vitaly Provodin
c7c7250f5d JBR-2181: create two separate JBR bundles with JFX and JFX+JCEF (windows & linux) 2020-03-03 21:32:30 +07:00
Vitaly Provodin
56fe284f78 JBR-2181: create two separate JBR bundles with JFX and JFX+JCEF 2020-03-03 18:55:28 +07:00
Artem Bochkarev
08da21537a 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"

(cherry picked from commit 8b027c4fbf)
2020-03-03 16:18:22 +07: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
4730 changed files with 243140 additions and 135257 deletions

21
.gitignore vendored
View File

@@ -2,4 +2,25 @@ 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/**

54
.hgtags
View File

@@ -533,3 +533,57 @@ 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

View File

@@ -4,7 +4,7 @@
|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>|
|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-windows-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-windows-x64/_latestVersion)|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-osx-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-osx-x64/_latestVersion)|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-linux-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-linux-x64/_latestVersion)|
# How JetBrains Runtime is organised
@@ -26,6 +26,10 @@ git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
# Configure Local Build Environment
[OpenJDK build docs](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html)
Tip for all platforms: run ./configure and check output.
Usually, it has meaningful advice how to solve your problem.
## Linux (docker)
```
$ cd jb/project/docker
@@ -43,7 +47,7 @@ $ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
## Linux (Ubuntu 18.10 desktop)
```
$ 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
$ 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
$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
@@ -51,10 +55,40 @@ $ make images
```
## Windows
#### TBD
Install:
* [Cygwin x64](http://www.cygwin.com/)
Required packages: autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip.
**Install them while installing cygwin**.
* Visual Studio compiler toolset [Download](https://visualstudio.microsoft.com/downloads/)
Visual Studio 2015 has support by default.
**Install with desktop development kit, it includes Windows SDK and compilers**.
* [Java 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
If you have problems while configuring [read java tips on cygwin](http://horstmann.com/articles/cygwin-tips.html)
From command line
```
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
```
First command will set env vars, the second will run cygwin shell with proper environment.
In cygwin shell
```
cd JetBrainsRuntime
bash configure --enable-option-checking=fatal --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
```
## OSX
#### TBD
install Xcode console tools, autoconf (via homebrew)
run
```
sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors
make images
```
## 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/

0
configure vendored Normal file → Executable file
View File

View File

@@ -369,10 +369,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 +433,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>

View File

@@ -436,8 +436,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 +447,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 +586,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.

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">
@@ -32,9 +32,14 @@
</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>
@@ -86,11 +91,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 +127,21 @@ 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>
<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 +149,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

@@ -162,6 +162,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 +200,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 +234,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 +263,12 @@ 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`).
### Gtest keywords
#### REPEAT
@@ -230,6 +283,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,10 @@
# 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://bintray.com/jetbrains/intellij-jbr/download_file?file_path=jbrsdk-11_0_3-linux-x64-b360.2.tar.gz \
-O - | tar xz -C /
ENV JAVA_HOME /jdk-11.0.1
ENV PATH $JAVA_HOME/bin:$PATH
ENV JAVA_HOME /jbrsdk
ENV PATH $JAVA_HOME/bin:/opt/rh/devtoolset-8/root/usr/bin:$PATH

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

View File

@@ -495,7 +495,6 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp
../../../src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
../../../src/hotspot/cpu/aarch64/vm_version_aarch64.hpp
../../../src/hotspot/cpu/aarch64/cpustate_aarch64.hpp
../../../src/hotspot/cpu/aarch64/immediate_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vmreg_aarch64.cpp
../../../src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp
@@ -520,7 +519,6 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/c1_FrameMap_aarch64.hpp
../../../src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp
../../../src/hotspot/cpu/aarch64/decode_aarch64.hpp
../../../src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp
../../../src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp
../../../src/hotspot/cpu/aarch64/codeBuffer_aarch64.hpp
@@ -529,7 +527,6 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/assembler_aarch64.cpp
../../../src/hotspot/cpu/aarch64/register_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vm_version_ext_aarch64.cpp
../../../src/hotspot/cpu/aarch64/aarch64_call.cpp
../../../src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
../../../src/hotspot/cpu/aarch64/bytecodes_aarch64.hpp
../../../src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.hpp
@@ -1175,13 +1172,11 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointBlob.hpp
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp
@@ -1254,7 +1249,6 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleDescription.hpp
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.hpp
../../../src/hotspot/share/jfr/leakprofiler/leakProfiler.hpp
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp
@@ -1270,7 +1264,6 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/leakprofiler/utilities/rootType.hpp
../../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOop.hpp
../../../src/hotspot/share/jfr/leakprofiler/startOperation.hpp
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/edge.hpp
@@ -1481,7 +1474,6 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/basicLock.hpp
../../../src/hotspot/share/runtime/compilationPolicy.cpp
../../../src/hotspot/share/runtime/java.hpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.cpp
../../../src/hotspot/share/runtime/objectMonitor.inline.hpp
../../../src/hotspot/share/runtime/mutexLocker.cpp
../../../src/hotspot/share/runtime/serviceThread.cpp
@@ -1524,7 +1516,6 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/compilationPolicy.hpp
../../../src/hotspot/share/runtime/basicLock.cpp
../../../src/hotspot/share/runtime/java.cpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.hpp
../../../src/hotspot/share/runtime/perfData.inline.hpp
../../../src/hotspot/share/runtime/statSampler.hpp
../../../src/hotspot/share/runtime/vm_operations.cpp
@@ -1557,7 +1548,6 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/handshake.hpp
../../../src/hotspot/share/runtime/thread.inline.hpp
../../../src/hotspot/share/runtime/perfMemory.hpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.inline.hpp
../../../src/hotspot/share/runtime/javaCalls.cpp
../../../src/hotspot/share/runtime/reflection.cpp
../../../src/hotspot/share/runtime/icache.cpp

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

View File

@@ -192,16 +192,19 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttypes.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftparams.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmm.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftstdlib.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftheader.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftconfig.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftoption.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftmodule.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftcolor.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmodapi.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttrigon.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbbox.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftgzip.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftdriver.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/sfnt.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/internal.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftdrv.h
@@ -216,13 +219,13 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/tttypes.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftvalid.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftobjs.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpic.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fttrace.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftmemory.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fthash.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftgloadr.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpsprop.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftserv.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svprop.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svmm.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svcfftl.h
@@ -272,6 +275,8 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbdf.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftrender.h
../../../src/java.desktop/share/native/libfreetype/include/ft2build.h
../../../src/java.desktop/share/native/libfreetype/src
../../../src/java.desktop/share/native/libfreetype/src/type1
../../../src/java.desktop/share/native/libfreetype/src/type1/t1objs.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1load.h
../../../src/java.desktop/share/native/libfreetype/src/type1/t1afm.h
@@ -286,40 +291,42 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/type1/t1driver.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1parse.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1gload.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmapc.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sferrors.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.h
../../../src/java.desktop/share/native/libfreetype/src/smooth
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.c
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmerrs.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.c
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.c
../../../src/java.desktop/share/native/libfreetype/src/cff
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.c
@@ -327,10 +334,10 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cfferrs.h
../../../src/java.desktop/share/native/libfreetype/src/psaux
../../../src/java.desktop/share/native/libfreetype/src/psaux/psarrst.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/psstack.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.h
@@ -367,6 +374,7 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c
../../../src/java.desktop/share/native/libfreetype/src/psaux/psauxmod.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/psread.h
../../../src/java.desktop/share/native/libfreetype/src/cid
../../../src/java.desktop/share/native/libfreetype/src/cid/cidtoken.h
../../../src/java.desktop/share/native/libfreetype/src/cid/cidriver.c
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.c
@@ -379,11 +387,12 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.h
../../../src/java.desktop/share/native/libfreetype/src/cid/cidobjs.c
../../../src/java.desktop/share/native/libfreetype/src/cid/cidload.h
../../../src/java.desktop/share/native/libfreetype/src/autofit
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.cin
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcover.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwrtsys.h
@@ -396,10 +405,10 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afstyles.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.dat
../../../src/java.desktop/share/native/libfreetype/src/autofit/aferrors.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.c
@@ -409,64 +418,58 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/autofit/aftypes.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.hin
../../../src/java.desktop/share/native/libfreetype/src/autofit/afloader.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/aflatin.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afangles.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afhints.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshnterr.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.c
../../../src/java.desktop/share/native/libfreetype/src/truetype
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/tterrors.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c
../../../src/java.desktop/share/native/libfreetype/src/raster
../../../src/java.desktop/share/native/libfreetype/src/raster/ftmisc.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rasterrs.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.c
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.h
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.h
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.c
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.c
../../../src/java.desktop/share/native/libfreetype/src/psnames
../../../src/java.desktop/share/native/libfreetype/src/psnames/psnamerr.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.c
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/pstables.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.c
../../../src/java.desktop/share/native/libfreetype/src/base
../../../src/java.desktop/share/native/libfreetype/src/base/ftobjs.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftfntfmt.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftinit.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftapi.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftdbgmem.c
../../../src/java.desktop/share/native/libfreetype/src/base/fthash.c
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftpic.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftbitmap.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftpsprop.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftcid.c
../../../src/java.desktop/share/native/libfreetype/src/base/md5.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftglyph.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftgloadr.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftsystem.c
@@ -480,11 +483,9 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/base/ftsnames.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftdebug.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftmm.c
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftbase.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftfstype.c
../../../src/java.desktop/share/native/libfreetype/src/base/fttrigon.c
../../../src/java.desktop/share/native/libfreetype/src/base/md5.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftbbox.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftstroke.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftgasp.c
@@ -742,38 +743,214 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libjavajpeg/jidctred.c
../../../src/java.desktop/share/native/libjavajpeg/jpegint.h
../../../src/java.desktop/share/native/libjavajpeg/jdpostct.c
../../../src/java.desktop/share/native/libfontmanager
../../../src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
../../../src/java.desktop/share/native/libfontmanager/HBShaper.c
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.c
../../../src/java.desktop/share/native/libfontmanager/harfbuzz
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-fdsc-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-type.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-base-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-head-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-win1256.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-list.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-macroman.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-deprecated.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-version.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-stat-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-ltag-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-cs-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-kern.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-default.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-just-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-colr-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-deprecated.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-kerx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-vorg-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-kern-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-serialize.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gpos-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-avar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-fallback-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-string-array.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-lcar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-hvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsubgpos.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-atomic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-static.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.c
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn_db.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-morx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff2-interp-cs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-thai.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hhea-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-mvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-unicode-ranges.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-warning.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hdmx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gdef-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-glyf-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-sbix-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode-emoji-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-feat-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-object.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-gasp-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-json.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-vector.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-fallback.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-debug.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-iter.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-trak-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff1-interp-cs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hmtx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-ankr-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-dict-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cbdt-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cpal-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-utf.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hebrew.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-fvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-jstf-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-mutex.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsub-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cmap-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-bsln-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-maxp-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-text.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-array.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hangul.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-null.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set-digest.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-file.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-machinery.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-svg-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-dsalgs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-impl.hh
../../../src/java.desktop/share/native/libfontmanager/glyphblitting.h
../../../src/java.desktop/share/native/libfontmanager/hb-jdk.h
../../../src/java.desktop/share/native/libfontmanager/fontconfig.h
../../../src/java.desktop/share/native/libfontmanager/hb-jdk-font.cc
../../../src/java.desktop/share/native/libfontmanager/freetypeScaler.c
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.h
../../../src/java.desktop/share/native/libfontmanager/ColorGlyphSurfaceData.c
@@ -911,7 +1088,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CGraphicsConfig.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CDesktopPeer.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/PrintModel.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CTrayIcon.m
@@ -1149,10 +1325,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt/awt/awt_Mlib.c
../../../src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c
../../../src/java.desktop/unix/native/libawt/awt/initIDs.c
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRBackendNative.c
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRSurfaceData.c
../../../src/java.desktop/unix/native/libawt_xawt/awt
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/randr.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_DrawingSurface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c
@@ -1167,8 +1341,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_util.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h
@@ -1176,24 +1348,14 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/HPkeysym.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/canvas.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_AWTEvent.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/sun_awt_X11_GtkFileDialogPeer.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Desktop.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.h
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.h
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XWindow.c
../../../src/java.desktop/unix/native/libfontmanager/X11FontScaler.c
../../../src/java.desktop/unix/native/libfontmanager/X11TextRenderer.c
../../../src/java.desktop/unix/native/libsplashscreen/splashscreen_config.h

View File

@@ -0,0 +1,3 @@
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}"

View File

@@ -0,0 +1,33 @@
Index: modules.list
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules.list (revision 8ff658704ad572469e293cf84de8295a01340673)
+++ modules.list (date 1592803808421)
@@ -61,5 +61,4 @@
jdk.unsupported,
jdk.xml.dom,
jdk.zipfs,
-jdk.hotspot.agent,
-jcef
+jdk.hotspot.agent
Index: src/java.desktop/share/classes/module-info.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/java.desktop/share/classes/module-info.java (revision 8ff658704ad572469e293cf84de8295a01340673)
+++ src/java.desktop/share/classes/module-info.java (date 1592803808412)
@@ -109,10 +109,7 @@
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop,
- jcef;
-
- exports java.awt.peer to jcef;
+ jdk.unsupported.desktop;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;

View File

@@ -0,0 +1,21 @@
Index: modules.list
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules.list (revision 8ff658704ad572469e293cf84de8295a01340673)
+++ modules.list (date 1592804013230)
@@ -20,13 +20,6 @@
java.transaction.xa,
java.xml,
java.xml.crypto,
-javafx.base,
-javafx.controls,
-javafx.fxml,
-javafx.graphics,
-javafx.media,
-javafx.swing,
-javafx.web,
jdk.accessibility,
jdk.aot,
jdk.attach,

View File

@@ -0,0 +1,9 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/linux/scripts
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -0,0 +1,131 @@
#!/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
# jfx - the bundle 1) jbr with javafx only 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
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx_jcef" | "jcef")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
"jfx")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
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
if [[ "$bundle_type" == *jcef* ]]; then
cp -R $BASE_DIR/$JBR_BUNDLE $BASE_DIR/jbr
cp -R jcef_linux_x64/* $BASE_DIR/$JBR_BUNDLE/lib || 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 || exit $?
gzip $JBR.tar || exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
git apply -p0 < jb/project/tools/exclude_jcef_module.patch
;;
"jcef")
git apply -p0 < jb/project/tools/exclude_jfx_module.patch
;;
esac
sh configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=./modular-sdk \
--enable-cds=yes || exit $?
make images CONF=linux-x86_64-normal-server-release || exit $?
JSDK=build/linux-x86_64-normal-server-release/images/jdk
JBSDK=$JBRSDK_BASE_NAME-linux-x64-b$build_number
echo Fixing permissions
chmod -R a+r $JSDK
BASE_DIR=build/linux-x86_64-normal-server-release/images
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
if [[ "$bundle_type" == *jcef* ]]; then
cp -R jcef_linux_x64/* $BASE_DIR/$JBRSDK_BUNDLE/lib || exit $?
fi
if [ "$bundle_type" == "jfx_jcef" ]; 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 || exit $?
gzip $JBSDK.tar || exit $?
fi
JBR_BUNDLE=jbr_${bundle_type}
create_jbr ${bundle_type}
if [ "$bundle_type" == "jfx_jcef" ]; then
make test-image || 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 || exit $?
gzip $JBRSDK_TEST.tar || exit $?
fi

View File

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

View File

@@ -0,0 +1,9 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/mac/scripts
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -0,0 +1,140 @@
#!/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
# jfx - the bundle 1) jbr with javafx only 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
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx_jcef" | "jcef")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
"jfx")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
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-x64-b${build_number}
${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} || 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}
if [[ "${bundle_type}" == *jcef* ]]; then
rm -rf ${JRE_CONTENTS}/Frameworks || exit $?
rm -rf ${JRE_CONTENTS}/Helpers || exit $?
cp -a jcef_mac/Frameworks ${JRE_CONTENTS} || exit $?
cp -a jcef_mac/Helpers ${JRE_CONTENTS} || 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 || exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
git apply -p0 < jb/project/tools/exclude_jcef_module.patch || exit $?
;;
"jcef")
git apply -p0 < jb/project/tools/exclude_jfx_module.patch || exit $?
;;
esac
sh configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=./modular-sdk \
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
--enable-cds=yes || exit $?
make images CONF=macosx-x86_64-normal-server-release || exit $?
JSDK=build/macosx-x86_64-normal-server-release/images/jdk-bundle
JBSDK=${JBRSDK_BASE_NAME}-osx-x64-b${build_number}
BASE_DIR=jre
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR
mkdir $BASE_DIR || exit $?
cp -a $JSDK/jdk-$JBSDK_VERSION_WITH_DOTS.jdk $BASE_DIR/$JBRSDK_BUNDLE || exit $?
if [[ "$bundle_type" == *jcef* ]]; then
cp -a jcef_mac/Frameworks $BASE_DIR/$JBRSDK_BUNDLE/Contents/
cp -a jcef_mac/Helpers $BASE_DIR/$JBRSDK_BUNDLE/Contents/
fi
if [ "$bundle_type" == "jfx_jcef" ]; 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
COPYFILE_DISABLE=1 tar -pczf $JBSDK.tar.gz -C $BASE_DIR \
--exclude='._*' --exclude='.DS_Store' --exclude='*~' \
--exclude='Home/demo' --exclude='Home/man' --exclude='Home/sample' \
$JBRSDK_BUNDLE || exit $?
fi
JBR_BUNDLE=jbr_${bundle_type}
create_jbr "${bundle_type}" || exit $?
if [ "$bundle_type" == "jfx_jcef" ]; then
make test-image || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-osx-test-x64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
COPYFILE_DISABLE=1 tar -pczf $JBRSDK_TEST.tar.gz -C build/macosx-x86_64-normal-server-release/images \
--exclude='test/jdk/demos' test || exit $?
fi

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/Contents" "$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,95 @@
#!/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" \
"Contents/Frameworks" \
"Contents/Helpers"; 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 \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
fi
done
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 \
-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 \
-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,132 @@
#!/bin/bash
#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
rm "$INPUT_FILE"
BUILD_NAME="$(ls "$EXPLODED")"
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
COPYFILE_DISABLE=1 tar -pczf $INPUT_FILE --exclude='*.dSYM' --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

@@ -0,0 +1,9 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/windows/scripts
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -0,0 +1,104 @@
#!/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
# jfx - the bundle 1) jbr with javafx only 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
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx" | "jcef" | "jfx_jcef")
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
rm -rf ${JBR_BUNDLE}
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
if [[ "${bundle_type}" == *jcef* ]]
then
cp -R jcef_win_x64/* ${JBR_BUNDLE}/bin
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}
WORK_DIR=$(pwd)
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
echo "Excluding jcef modules"
git apply -p0 < jb/project/tools/exclude_jcef_module.patch
;;
"jcef")
echo "Excluding jfx modules"
git apply -p0 < jb/project/tools/exclude_jfx_module.patch
;;
esac
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--disable-warnings-as-errors \
--disable-debug-symbols \
--with-target-bits=64 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=${WORK_DIR}/modular-sdk \
--with-toolchain-version=2015 \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
if [ "$bundle_type" == "jfx_jcef" ]; then
make LOG=info images CONF=windows-x86_64-normal-server-release test-image || exit 1
else
make LOG=info images CONF=windows-x86_64-normal-server-release || exit 1
fi
JSDK=build/windows-x86_64-normal-server-release/images/jdk
if [[ "$bundle_type" == *jcef* ]]; then
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-b${build_number}
fi
BASE_DIR=build/windows-x86_64-normal-server-release/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
cp -R jcef_win_x64/* ${JBRSDK_BUNDLE}/bin
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr_${bundle_type}
create_jbr ${bundle_type}

View File

@@ -0,0 +1,71 @@
#!/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
# jfx - the bundle 1) jbr with javafx only 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
bundle_type=$4
function pack_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
;;
"jfx_jcef" | "jcef")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
"jfx")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
JBR=$JBR_BASE_NAME-windows-x64-b$build_number
echo Creating $JBR.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR jbr || exit 1
}
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
JBR_BASE_NAME=jbr-$JBSDK_VERSION
IMAGES_DIR=build/windows-x86_64-normal-server-release/images
JSDK=$IMAGES_DIR/jdk
JBSDK=$JBRSDK_BASE_NAME-windows-x64-b$build_number
BASE_DIR=.
if [ "$bundle_type" == "jfx_jcef" ]; then
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
fi
JBR_BUNDLE=jbr_${bundle_type}
pack_jbr $bundle_type
if [ "$bundle_type" == "jfx_jcef" ]; then
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-x64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || exit 1
fi

View File

@@ -1,168 +0,0 @@
bin/jaotc
bin/java
bin/jjs
bin/jrunscript
bin/keytool
bin/pack200
bin/rmid
bin/rmiregistry
bin/unpack200
conf/logging.properties
conf/management/jmxremote.access
conf/management/jmxremote.password.template
conf/management/management.properties
conf/net.properties
conf/security/java.policy
conf/security/java.security
conf/security/policy/limited/default_local.policy
conf/security/policy/limited/default_US_export.policy
conf/security/policy/limited/exempt_local.policy
conf/security/policy/README.txt
conf/security/policy/unlimited/default_local.policy
conf/security/policy/unlimited/default_US_export.policy
conf/sound.properties
legal/java.base/ADDITIONAL_LICENSE_INFO
legal/java.base/aes.md
legal/java.base/asm.md
legal/java.base/ASSEMBLY_EXCEPTION
legal/java.base/c-libutl.md
legal/java.base/cldr.md
legal/java.base/icu.md
legal/java.base/LICENSE
legal/java.base/public_suffix.md
legal/java.base/unicode.md
legal/java.desktop/colorimaging.md
legal/java.desktop/giflib.md
legal/java.desktop/harfbuzz.md
legal/java.desktop/jpeg.md
legal/java.desktop/lcms.md
legal/java.desktop/libpng.md
legal/java.desktop/mesa3d.md
legal/java.desktop/opengl.md
legal/java.desktop/xwindows.md
legal/java.smartcardio/pcsclite.md
legal/java.xml/bcel.md
legal/java.xml/dom.md
legal/java.xml/jcup.md
legal/java.xml/xalan.md
legal/java.xml/xerces.md
legal/java.xml.crypto/santuario.md
legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
legal/jdk.crypto.cryptoki/pkcs11wrapper.md
legal/jdk.crypto.ec/ecc.md
legal/jdk.dynalink/dynalink.md
legal/jdk.internal.le/jline.md
legal/jdk.localedata/thaidict.md
legal/jdk.scripting.nashorn/double-conversion.md
legal/jdk.scripting.nashorn/joni.md
lib/classlist
lib/jexec
lib/jfr/default.jfc
lib/jfr/profile.jfc
lib/jli/libjli.so
lib/jrt-fs.jar
lib/jvm.cfg
lib/libattach.so
lib/libawt.so
lib/libawt_headless.so
lib/libawt_xawt.so
lib/libdt_socket.so
lib/libextnet.so
lib/libfontmanager.so
lib/libinstrument.so
lib/libj2gss.so
lib/libj2pcsc.so
lib/libj2pkcs11.so
lib/libjaas.so
lib/libjava.so
lib/libjavajpeg.so
lib/libjawt.so
lib/libjdwp.so
lib/libjimage.so
lib/libjsig.so
lib/libjsound.so
lib/liblcms.so
lib/libmanagement.so
lib/libmanagement_agent.so
lib/libmanagement_ext.so
lib/libmlib_image.so
lib/libnet.so
lib/libnio.so
lib/libprefs.so
lib/librmi.so
lib/libsctp.so
lib/libsplashscreen.so
lib/libsunec.so
lib/libunpack.so
lib/libverify.so
lib/libzip.so
lib/modules
lib/psfont.properties.ja
lib/psfontj2d.properties
lib/security/blacklisted.certs
lib/security/cacerts
lib/security/default.policy
lib/security/public_suffix_list.dat
lib/server/libjsig.so
lib/server/libjvm.so
lib/server/Xusage.txt
lib/tzdb.dat
man/ja_JP.UTF-8/man1/java.1
man/ja_JP.UTF-8/man1/jjs.1
man/ja_JP.UTF-8/man1/keytool.1
man/ja_JP.UTF-8/man1/pack200.1
man/ja_JP.UTF-8/man1/rmid.1
man/ja_JP.UTF-8/man1/rmiregistry.1
man/ja_JP.UTF-8/man1/unpack200.1
man/man1/java.1
man/man1/jjs.1
man/man1/keytool.1
man/man1/pack200.1
man/man1/rmid.1
man/man1/rmiregistry.1
man/man1/unpack200.1
release
bin/javapackager
lib/libjavafx_font_pango.so
lib/libavplugin-ffmpeg-56.so
lib/libavplugin-56.so
lib/libglass.so
lib/libavplugin-57.so
lib/libavplugin-ffmpeg-57.so
lib/libprism_sw.so
lib/libavplugin-53.so
lib/libjfxmedia.so
lib/javafx.properties
lib/libfxplugins.so
lib/javafx-swt.jar
lib/ant-javafx.jar
lib/libglassgtk3.so
lib/libjavafx_iio.so
lib/libgstreamer-lite.so
lib/libprism_common.so
lib/libjavafx_font_freetype.so
lib/libglassgtk2.so
lib/libavplugin-54.so
lib/libprism_es2.so
lib/libjfxwebkit.so
lib/libdecora_sse.so
lib/libjavafx_font.so
lib/libavplugin-55.so
legal/javafx.media/glib.md
legal/javafx.media/gstreamer.md
legal/javafx.media/libffi.md
legal/javafx.media/applecoreaudio.md
legal/javafx.web/icu_v51.md
legal/javafx.web/webkit.md
legal/javafx.web/libxslt.md
legal/javafx.web/libxml2.md
legal/javafx.graphics/jpeg_v7.md
jmods/javafx.base.jmod
jmods/javafx.media.jmod
jmods/javafx.swing.jmod
jmods/javafx.controls.jmod
jmods/jdk.packager.services.jmod
jmods/jdk.packager.jmod
jmods/javafx.web.jmod
jmods/javafx.fxml.jmod
jmods/javafx.graphics.jmod

View File

@@ -1,168 +0,0 @@
jdk/Contents/Home/bin/jaotc
jdk/Contents/Home/bin/java
jdk/Contents/Home/bin/jjs
jdk/Contents/Home/bin/jrunscript
jdk/Contents/Home/bin/keytool
jdk/Contents/Home/bin/pack200
jdk/Contents/Home/bin/rmid
jdk/Contents/Home/bin/rmiregistry
jdk/Contents/Home/bin/unpack200
jdk/Contents/Home/conf/logging.properties
jdk/Contents/Home/conf/management/jmxremote.access
jdk/Contents/Home/conf/management/jmxremote.password.template
jdk/Contents/Home/conf/management/management.properties
jdk/Contents/Home/conf/net.properties
jdk/Contents/Home/conf/security/java.policy
jdk/Contents/Home/conf/security/java.security
jdk/Contents/Home/conf/security/policy/limited/default_local.policy
jdk/Contents/Home/conf/security/policy/limited/default_US_export.policy
jdk/Contents/Home/conf/security/policy/limited/exempt_local.policy
jdk/Contents/Home/conf/security/policy/README.txt
jdk/Contents/Home/conf/security/policy/unlimited/default_local.policy
jdk/Contents/Home/conf/security/policy/unlimited/default_US_export.policy
jdk/Contents/Home/conf/sound.properties
jdk/Contents/Home/legal/java.base/ADDITIONAL_LICENSE_INFO
jdk/Contents/Home/legal/java.base/aes.md
jdk/Contents/Home/legal/java.base/asm.md
jdk/Contents/Home/legal/java.base/ASSEMBLY_EXCEPTION
jdk/Contents/Home/legal/java.base/c-libutl.md
jdk/Contents/Home/legal/java.base/cldr.md
jdk/Contents/Home/legal/java.base/icu.md
jdk/Contents/Home/legal/java.base/LICENSE
jdk/Contents/Home/legal/java.base/public_suffix.md
jdk/Contents/Home/legal/java.base/unicode.md
jdk/Contents/Home/legal/java.desktop/colorimaging.md
jdk/Contents/Home/legal/java.desktop/freetype.md
jdk/Contents/Home/legal/java.desktop/giflib.md
jdk/Contents/Home/legal/java.desktop/harfbuzz.md
jdk/Contents/Home/legal/java.desktop/jpeg.md
jdk/Contents/Home/legal/java.desktop/lcms.md
jdk/Contents/Home/legal/java.desktop/libpng.md
jdk/Contents/Home/legal/java.desktop/mesa3d.md
jdk/Contents/Home/legal/java.desktop/opengl.md
jdk/Contents/Home/legal/java.desktop/xwindows.md
jdk/Contents/Home/legal/java.smartcardio/pcsclite.md
jdk/Contents/Home/legal/java.xml/bcel.md
jdk/Contents/Home/legal/java.xml/dom.md
jdk/Contents/Home/legal/java.xml/jcup.md
jdk/Contents/Home/legal/java.xml/xalan.md
jdk/Contents/Home/legal/java.xml/xerces.md
jdk/Contents/Home/legal/java.xml.crypto/santuario.md
jdk/Contents/Home/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
jdk/Contents/Home/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
jdk/Contents/Home/legal/jdk.crypto.ec/ecc.md
jdk/Contents/Home/legal/jdk.dynalink/dynalink.md
jdk/Contents/Home/legal/jdk.internal.le/jline.md
jdk/Contents/Home/legal/jdk.localedata/thaidict.md
jdk/Contents/Home/legal/jdk.scripting.nashorn/double-conversion.md
jdk/Contents/Home/legal/jdk.scripting.nashorn/joni.md
jdk/Contents/Home/lib/classlist
jdk/Contents/Home/lib/fontconfig.bfc
jdk/Contents/Home/lib/fontconfig.properties.src
jdk/Contents/Home/lib/jfr/default.jfc
jdk/Contents/Home/lib/jfr/profile.jfc
jdk/Contents/Home/lib/jli/libjli.dylib
jdk/Contents/Home/lib/jrt-fs.jar
jdk/Contents/Home/lib/jspawnhelper
jdk/Contents/Home/lib/jvm.cfg
jdk/Contents/Home/lib/libattach.dylib
jdk/Contents/Home/lib/libawt.dylib
jdk/Contents/Home/lib/libawt_lwawt.dylib
jdk/Contents/Home/lib/libdt_socket.dylib
jdk/Contents/Home/lib/libextnet.dylib
jdk/Contents/Home/lib/libfontmanager.dylib
jdk/Contents/Home/lib/libfreetype.dylib
jdk/Contents/Home/lib/libinstrument.dylib
jdk/Contents/Home/lib/libj2gss.dylib
jdk/Contents/Home/lib/libj2pcsc.dylib
jdk/Contents/Home/lib/libj2pkcs11.dylib
jdk/Contents/Home/lib/libjaas.dylib
jdk/Contents/Home/lib/libjava.dylib
jdk/Contents/Home/lib/libjavajpeg.dylib
jdk/Contents/Home/lib/libjawt.dylib
jdk/Contents/Home/lib/libjdwp.dylib
jdk/Contents/Home/lib/libjimage.dylib
jdk/Contents/Home/lib/libjsig.dylib
jdk/Contents/Home/lib/libjsound.dylib
jdk/Contents/Home/lib/liblcms.dylib
jdk/Contents/Home/lib/libmanagement.dylib
jdk/Contents/Home/lib/libmanagement_agent.dylib
jdk/Contents/Home/lib/libmanagement_ext.dylib
jdk/Contents/Home/lib/libmlib_image.dylib
jdk/Contents/Home/lib/libnet.dylib
jdk/Contents/Home/lib/libnio.dylib
jdk/Contents/Home/lib/libosx.dylib
jdk/Contents/Home/lib/libosxapp.dylib
jdk/Contents/Home/lib/libosxkrb5.dylib
jdk/Contents/Home/lib/libosxsecurity.dylib
jdk/Contents/Home/lib/libosxui.dylib
jdk/Contents/Home/lib/libprefs.dylib
jdk/Contents/Home/lib/librmi.dylib
jdk/Contents/Home/lib/libsplashscreen.dylib
jdk/Contents/Home/lib/libsunec.dylib
jdk/Contents/Home/lib/libunpack.dylib
jdk/Contents/Home/lib/libverify.dylib
jdk/Contents/Home/lib/libzip.dylib
jdk/Contents/Home/lib/modules
jdk/Contents/Home/lib/psfont.properties.ja
jdk/Contents/Home/lib/psfontj2d.properties
jdk/Contents/Home/lib/security/blacklisted.certs
jdk/Contents/Home/lib/security/cacerts
jdk/Contents/Home/lib/security/default.policy
jdk/Contents/Home/lib/security/public_suffix_list.dat
jdk/Contents/Home/lib/server/libjsig.dylib
jdk/Contents/Home/lib/server/libjvm.dylib
jdk/Contents/Home/lib/server/Xusage.txt
jdk/Contents/Home/lib/tzdb.dat
jdk/Contents/Home/man/ja_JP.UTF-8/man1/java.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/jjs.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/keytool.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/pack200.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/rmid.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/rmiregistry.1
jdk/Contents/Home/man/ja_JP.UTF-8/man1/unpack200.1
jdk/Contents/Home/man/man1/java.1
jdk/Contents/Home/man/man1/jjs.1
jdk/Contents/Home/man/man1/keytool.1
jdk/Contents/Home/man/man1/pack200.1
jdk/Contents/Home/man/man1/rmid.1
jdk/Contents/Home/man/man1/rmiregistry.1
jdk/Contents/Home/man/man1/unpack200.1
jdk/Contents/Home/release
jdk/Contents/Info.plist
jdk/Contents/Home/bin/javapackager
jdk/Contents/Home/lib/libjavafx_iio.dylib
jdk/Contents/Home/lib/libjfxmedia_avf.dylib
jdk/Contents/Home/lib/javafx.properties
jdk/Contents/Home/lib/libglib-lite.dylib
jdk/Contents/Home/lib/javafx-swt.jar
jdk/Contents/Home/lib/libfxplugins.dylib
jdk/Contents/Home/lib/ant-javafx.jar
jdk/Contents/Home/lib/libglass.dylib
jdk/Contents/Home/lib/libjavafx_font.dylib
jdk/Contents/Home/lib/libgstreamer-lite.dylib
jdk/Contents/Home/lib/libjfxwebkit.dylib
jdk/Contents/Home/lib/libprism_common.dylib
jdk/Contents/Home/lib/libprism_es2.dylib
jdk/Contents/Home/lib/libdecora_sse.dylib
jdk/Contents/Home/lib/libjfxmedia.dylib
jdk/Contents/Home/lib/libprism_sw.dylib
jdk/Contents/Home/legal/javafx.media/glib.md
jdk/Contents/Home/legal/javafx.media/gstreamer.md
jdk/Contents/Home/legal/javafx.media/libffi.md
jdk/Contents/Home/legal/javafx.media/applecoreaudio.md
jdk/Contents/Home/legal/javafx.web/icu_v51.md
jdk/Contents/Home/legal/javafx.web/webkit.md
jdk/Contents/Home/legal/javafx.web/libxslt.md
jdk/Contents/Home/legal/javafx.web/libxml2.md
jdk/Contents/Home/legal/javafx.graphics/jpeg_v7.md
jdk/Contents/Home/jmods/javafx.base.jmod
jdk/Contents/Home/jmods/javafx.media.jmod
jdk/Contents/Home/jmods/javafx.swing.jmod
jdk/Contents/Home/jmods/javafx.controls.jmod
jdk/Contents/Home/jmods/jdk.packager.services.jmod
jdk/Contents/Home/jmods/jdk.packager.jmod
jdk/Contents/Home/jmods/javafx.web.jmod
jdk/Contents/Home/jmods/javafx.fxml.jmod
jdk/Contents/Home/jmods/javafx.graphics.jmod
jdk/Contents/MacOS/libjli.dylib

View File

@@ -1,384 +0,0 @@
bin/attach.dll
bin/awt.dll
bin/dt_socket.dll
bin/fontmanager.dll
bin/freetype.dll
bin/instrument.dll
bin/j2gss.dll
bin/j2pcsc.dll
bin/j2pkcs11.dll
bin/jaas.dll
bin/jabswitch.exe
bin/jaccessinspector.exe
bin/jaccesswalker.exe
bin/jaotc.exe
bin/java.dll
bin/java.exe
bin/javaaccessbridge.dll
bin/javajpeg.dll
bin/javaw.exe
bin/jawt.dll
bin/jdwp.dll
bin/jimage.dll
bin/jjs.exe
bin/jli.dll
bin/jrunscript.exe
bin/jsound.dll
bin/keytool.exe
bin/kinit.exe
bin/klist.exe
bin/ktab.exe
bin/lcms.dll
bin/le.dll
bin/management.dll
bin/management_agent.dll
bin/management_ext.dll
bin/mlib_image.dll
bin/msvcp140.dll
bin/net.dll
bin/nio.dll
bin/pack200.exe
bin/prefs.dll
bin/rmi.dll
bin/rmid.exe
bin/rmiregistry.exe
bin/server/jvm.dll
bin/splashscreen.dll
bin/sunec.dll
bin/sunmscapi.dll
bin/unpack.dll
bin/unpack200.exe
bin/verify.dll
bin/w2k_lsa_auth.dll
bin/windowsaccessbridge-64.dll
bin/zip.dll
conf/logging.properties
conf/management/jmxremote.access
conf/management/jmxremote.password.template
conf/management/management.properties
conf/net.properties
conf/security/java.policy
conf/security/java.security
conf/security/policy/limited/default_local.policy
conf/security/policy/limited/default_US_export.policy
conf/security/policy/limited/exempt_local.policy
conf/security/policy/README.txt
conf/security/policy/unlimited/default_local.policy
conf/security/policy/unlimited/default_US_export.policy
conf/sound.properties
legal/java.base/ADDITIONAL_LICENSE_INFO
legal/java.base/aes.md
legal/java.base/asm.md
legal/java.base/ASSEMBLY_EXCEPTION
legal/java.base/c-libutl.md
legal/java.base/cldr.md
legal/java.base/icu.md
legal/java.base/LICENSE
legal/java.base/public_suffix.md
legal/java.base/unicode.md
legal/java.base/zlib.md
legal/java.compiler/ADDITIONAL_LICENSE_INFO
legal/java.compiler/ASSEMBLY_EXCEPTION
legal/java.compiler/LICENSE
legal/java.datatransfer/ADDITIONAL_LICENSE_INFO
legal/java.datatransfer/ASSEMBLY_EXCEPTION
legal/java.datatransfer/LICENSE
legal/java.desktop/ADDITIONAL_LICENSE_INFO
legal/java.desktop/ASSEMBLY_EXCEPTION
legal/java.desktop/colorimaging.md
legal/java.desktop/freetype.md
legal/java.desktop/giflib.md
legal/java.desktop/harfbuzz.md
legal/java.desktop/jpeg.md
legal/java.desktop/lcms.md
legal/java.desktop/libpng.md
legal/java.desktop/LICENSE
legal/java.desktop/mesa3d.md
legal/java.desktop/opengl.md
legal/java.instrument/ADDITIONAL_LICENSE_INFO
legal/java.instrument/ASSEMBLY_EXCEPTION
legal/java.instrument/LICENSE
legal/java.logging/ADDITIONAL_LICENSE_INFO
legal/java.logging/ASSEMBLY_EXCEPTION
legal/java.logging/LICENSE
legal/java.management/ADDITIONAL_LICENSE_INFO
legal/java.management/ASSEMBLY_EXCEPTION
legal/java.management/LICENSE
legal/java.management.rmi/ADDITIONAL_LICENSE_INFO
legal/java.management.rmi/ASSEMBLY_EXCEPTION
legal/java.management.rmi/LICENSE
legal/java.naming/ADDITIONAL_LICENSE_INFO
legal/java.naming/ASSEMBLY_EXCEPTION
legal/java.naming/LICENSE
legal/java.net.http/ADDITIONAL_LICENSE_INFO
legal/java.net.http/ASSEMBLY_EXCEPTION
legal/java.net.http/LICENSE
legal/java.prefs/ADDITIONAL_LICENSE_INFO
legal/java.prefs/ASSEMBLY_EXCEPTION
legal/java.prefs/LICENSE
legal/java.rmi/ADDITIONAL_LICENSE_INFO
legal/java.rmi/ASSEMBLY_EXCEPTION
legal/java.rmi/LICENSE
legal/java.scripting/ADDITIONAL_LICENSE_INFO
legal/java.scripting/ASSEMBLY_EXCEPTION
legal/java.scripting/LICENSE
legal/java.se/ADDITIONAL_LICENSE_INFO
legal/java.se/ASSEMBLY_EXCEPTION
legal/java.se/LICENSE
legal/java.security.jgss/ADDITIONAL_LICENSE_INFO
legal/java.security.jgss/ASSEMBLY_EXCEPTION
legal/java.security.jgss/LICENSE
legal/java.security.sasl/ADDITIONAL_LICENSE_INFO
legal/java.security.sasl/ASSEMBLY_EXCEPTION
legal/java.security.sasl/LICENSE
legal/java.smartcardio/ADDITIONAL_LICENSE_INFO
legal/java.smartcardio/ASSEMBLY_EXCEPTION
legal/java.smartcardio/LICENSE
legal/java.sql/ADDITIONAL_LICENSE_INFO
legal/java.sql/ASSEMBLY_EXCEPTION
legal/java.sql/LICENSE
legal/java.sql.rowset/ADDITIONAL_LICENSE_INFO
legal/java.sql.rowset/ASSEMBLY_EXCEPTION
legal/java.sql.rowset/LICENSE
legal/java.transaction.xa/ADDITIONAL_LICENSE_INFO
legal/java.transaction.xa/ASSEMBLY_EXCEPTION
legal/java.transaction.xa/LICENSE
legal/java.xml/ADDITIONAL_LICENSE_INFO
legal/java.xml/ASSEMBLY_EXCEPTION
legal/java.xml/bcel.md
legal/java.xml/dom.md
legal/java.xml/jcup.md
legal/java.xml/LICENSE
legal/java.xml/xalan.md
legal/java.xml/xerces.md
legal/java.xml.crypto/ADDITIONAL_LICENSE_INFO
legal/java.xml.crypto/ASSEMBLY_EXCEPTION
legal/java.xml.crypto/LICENSE
legal/java.xml.crypto/santuario.md
legal/jdk.accessibility/ADDITIONAL_LICENSE_INFO
legal/jdk.accessibility/ASSEMBLY_EXCEPTION
legal/jdk.accessibility/LICENSE
legal/jdk.aot/ADDITIONAL_LICENSE_INFO
legal/jdk.aot/ASSEMBLY_EXCEPTION
legal/jdk.aot/LICENSE
legal/jdk.charsets/ADDITIONAL_LICENSE_INFO
legal/jdk.charsets/ASSEMBLY_EXCEPTION
legal/jdk.charsets/LICENSE
legal/jdk.crypto.cryptoki/ADDITIONAL_LICENSE_INFO
legal/jdk.crypto.cryptoki/ASSEMBLY_EXCEPTION
legal/jdk.crypto.cryptoki/LICENSE
legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
legal/jdk.crypto.cryptoki/pkcs11wrapper.md
legal/jdk.crypto.ec/ADDITIONAL_LICENSE_INFO
legal/jdk.crypto.ec/ASSEMBLY_EXCEPTION
legal/jdk.crypto.ec/ecc.md
legal/jdk.crypto.ec/LICENSE
legal/jdk.crypto.mscapi/ADDITIONAL_LICENSE_INFO
legal/jdk.crypto.mscapi/ASSEMBLY_EXCEPTION
legal/jdk.crypto.mscapi/LICENSE
legal/jdk.dynalink/ADDITIONAL_LICENSE_INFO
legal/jdk.dynalink/ASSEMBLY_EXCEPTION
legal/jdk.dynalink/dynalink.md
legal/jdk.dynalink/LICENSE
legal/jdk.httpserver/ADDITIONAL_LICENSE_INFO
legal/jdk.httpserver/ASSEMBLY_EXCEPTION
legal/jdk.httpserver/LICENSE
legal/jdk.internal.ed/ADDITIONAL_LICENSE_INFO
legal/jdk.internal.ed/ASSEMBLY_EXCEPTION
legal/jdk.internal.ed/LICENSE
legal/jdk.internal.le/ADDITIONAL_LICENSE_INFO
legal/jdk.internal.le/ASSEMBLY_EXCEPTION
legal/jdk.internal.le/jline.md
legal/jdk.internal.le/LICENSE
legal/jdk.internal.vm.ci/ADDITIONAL_LICENSE_INFO
legal/jdk.internal.vm.ci/ASSEMBLY_EXCEPTION
legal/jdk.internal.vm.ci/LICENSE
legal/jdk.internal.vm.compiler/ADDITIONAL_LICENSE_INFO
legal/jdk.internal.vm.compiler/ASSEMBLY_EXCEPTION
legal/jdk.internal.vm.compiler/LICENSE
legal/jdk.internal.vm.compiler.management/ADDITIONAL_LICENSE_INFO
legal/jdk.internal.vm.compiler.management/ASSEMBLY_EXCEPTION
legal/jdk.internal.vm.compiler.management/LICENSE
legal/jdk.jdwp.agent/ADDITIONAL_LICENSE_INFO
legal/jdk.jdwp.agent/ASSEMBLY_EXCEPTION
legal/jdk.jdwp.agent/LICENSE
legal/jdk.jfr/ADDITIONAL_LICENSE_INFO
legal/jdk.jfr/ASSEMBLY_EXCEPTION
legal/jdk.jfr/LICENSE
legal/jdk.jsobject/ADDITIONAL_LICENSE_INFO
legal/jdk.jsobject/ASSEMBLY_EXCEPTION
legal/jdk.jsobject/LICENSE
legal/jdk.localedata/ADDITIONAL_LICENSE_INFO
legal/jdk.localedata/ASSEMBLY_EXCEPTION
legal/jdk.localedata/cldr.md
legal/jdk.localedata/LICENSE
legal/jdk.localedata/thaidict.md
legal/jdk.management/ADDITIONAL_LICENSE_INFO
legal/jdk.management/ASSEMBLY_EXCEPTION
legal/jdk.management/LICENSE
legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO
legal/jdk.management.agent/ASSEMBLY_EXCEPTION
legal/jdk.management.agent/LICENSE
legal/jdk.management.jfr/ADDITIONAL_LICENSE_INFO
legal/jdk.management.jfr/ASSEMBLY_EXCEPTION
legal/jdk.management.jfr/LICENSE
legal/jdk.naming.dns/ADDITIONAL_LICENSE_INFO
legal/jdk.naming.dns/ASSEMBLY_EXCEPTION
legal/jdk.naming.dns/LICENSE
legal/jdk.naming.rmi/ADDITIONAL_LICENSE_INFO
legal/jdk.naming.rmi/ASSEMBLY_EXCEPTION
legal/jdk.naming.rmi/LICENSE
legal/jdk.net/ADDITIONAL_LICENSE_INFO
legal/jdk.net/ASSEMBLY_EXCEPTION
legal/jdk.net/LICENSE
legal/jdk.pack/ADDITIONAL_LICENSE_INFO
legal/jdk.pack/ASSEMBLY_EXCEPTION
legal/jdk.pack/LICENSE
legal/jdk.scripting.nashorn/ADDITIONAL_LICENSE_INFO
legal/jdk.scripting.nashorn/ASSEMBLY_EXCEPTION
legal/jdk.scripting.nashorn/double-conversion.md
legal/jdk.scripting.nashorn/joni.md
legal/jdk.scripting.nashorn/LICENSE
legal/jdk.scripting.nashorn.shell/ADDITIONAL_LICENSE_INFO
legal/jdk.scripting.nashorn.shell/ASSEMBLY_EXCEPTION
legal/jdk.scripting.nashorn.shell/LICENSE
legal/jdk.sctp/ADDITIONAL_LICENSE_INFO
legal/jdk.sctp/ASSEMBLY_EXCEPTION
legal/jdk.sctp/LICENSE
legal/jdk.security.auth/ADDITIONAL_LICENSE_INFO
legal/jdk.security.auth/ASSEMBLY_EXCEPTION
legal/jdk.security.auth/LICENSE
legal/jdk.security.jgss/ADDITIONAL_LICENSE_INFO
legal/jdk.security.jgss/ASSEMBLY_EXCEPTION
legal/jdk.security.jgss/LICENSE
legal/jdk.unsupported/ADDITIONAL_LICENSE_INFO
legal/jdk.unsupported/ASSEMBLY_EXCEPTION
legal/jdk.unsupported/LICENSE
legal/jdk.xml.dom/ADDITIONAL_LICENSE_INFO
legal/jdk.xml.dom/ASSEMBLY_EXCEPTION
legal/jdk.xml.dom/LICENSE
legal/jdk.zipfs/ADDITIONAL_LICENSE_INFO
legal/jdk.zipfs/ASSEMBLY_EXCEPTION
legal/jdk.zipfs/LICENSE
lib/classlist
lib/fontconfig.bfc
lib/fontconfig.properties.src
lib/jawt.lib
lib/jfr/default.jfc
lib/jfr/profile.jfc
lib/jrt-fs.jar
lib/jvm.cfg
lib/jvm.lib
lib/modules
lib/psfont.properties.ja
lib/psfontj2d.properties
lib/security/blacklisted.certs
lib/security/cacerts
lib/security/default.policy
lib/security/public_suffix_list.dat
lib/server/Xusage.txt
lib/tzdb.dat
lib/tzmappings
release
bin/fxplugins.dll
bin/api-ms-win-crt-time-l1-1-0.dll
bin/api-ms-win-crt-filesystem-l1-1-0.dll
bin/javafx_iio.dll
bin/gstreamer-lite.dll
bin/api-ms-win-crt-utility-l1-1-0.dll
bin/api-ms-win-core-console-l1-1-0.dll
bin/glass.dll
bin/api-ms-win-core-processenvironment-l1-1-0.dll
bin/prism_common.dll
bin/ucrtbase.dll
bin/prism_sw.dll
bin/api-ms-win-core-file-l1-1-0.dll
bin/api-ms-win-core-errorhandling-l1-1-0.dll
bin/api-ms-win-crt-process-l1-1-0.dll
bin/prism_d3d.dll
bin/api-ms-win-core-heap-l1-1-0.dll
bin/glib-lite.dll
bin/api-ms-win-core-processthreads-l1-1-1.dll
bin/api-ms-win-core-processthreads-l1-1-0.dll
bin/javapackager.exe
bin/api-ms-win-crt-convert-l1-1-0.dll
bin/api-ms-win-crt-private-l1-1-0.dll
bin/api-ms-win-core-file-l2-1-0.dll
bin/jfxwebkit.dll
bin/api-ms-win-core-debug-l1-1-0.dll
bin/api-ms-win-crt-stdio-l1-1-0.dll
bin/api-ms-win-core-localization-l1-2-0.dll
bin/api-ms-win-core-datetime-l1-1-0.dll
bin/api-ms-win-crt-math-l1-1-0.dll
bin/api-ms-win-core-file-l1-2-0.dll
bin/api-ms-win-core-timezone-l1-1-0.dll
bin/api-ms-win-core-rtlsupport-l1-1-0.dll
bin/api-ms-win-core-handle-l1-1-0.dll
bin/decora_sse.dll
bin/api-ms-win-core-synch-l1-1-0.dll
bin/api-ms-win-core-string-l1-1-0.dll
bin/api-ms-win-core-interlocked-l1-1-0.dll
bin/api-ms-win-core-memory-l1-1-0.dll
bin/api-ms-win-core-util-l1-1-0.dll
bin/api-ms-win-core-namedpipe-l1-1-0.dll
bin/api-ms-win-crt-conio-l1-1-0.dll
bin/api-ms-win-crt-runtime-l1-1-0.dll
bin/api-ms-win-crt-string-l1-1-0.dll
bin/api-ms-win-crt-multibyte-l1-1-0.dll
bin/api-ms-win-core-synch-l1-2-0.dll
bin/api-ms-win-core-profile-l1-1-0.dll
bin/api-ms-win-crt-locale-l1-1-0.dll
bin/api-ms-win-crt-heap-l1-1-0.dll
bin/api-ms-win-core-sysinfo-l1-1-0.dll
bin/javafx_font.dll
bin/api-ms-win-core-libraryloader-l1-1-0.dll
bin/api-ms-win-crt-environment-l1-1-0.dll
bin/jfxmedia.dll
lib/javafx.properties
lib/javafx-swt.jar
lib/ant-javafx.jar
legal/jdk.packager.services/LICENSE
legal/jdk.packager.services/ADDITIONAL_LICENSE_INFO
legal/jdk.packager.services/ASSEMBLY_EXCEPTION
legal/jdk.packager/LICENSE
legal/jdk.packager/ADDITIONAL_LICENSE_INFO
legal/jdk.packager/ASSEMBLY_EXCEPTION
legal/javafx.media/glib.md
legal/javafx.media/gstreamer.md
legal/javafx.media/libffi.md
legal/javafx.media/LICENSE
legal/javafx.media/applecoreaudio.md
legal/javafx.media/ADDITIONAL_LICENSE_INFO
legal/javafx.media/ASSEMBLY_EXCEPTION
legal/javafx.web/icu_v51.md
legal/javafx.web/LICENSE
legal/javafx.web/webkit.md
legal/javafx.web/libxslt.md
legal/javafx.web/ADDITIONAL_LICENSE_INFO
legal/javafx.web/ASSEMBLY_EXCEPTION
legal/javafx.web/libxml2.md
legal/javafx.swing/LICENSE
legal/javafx.swing/ADDITIONAL_LICENSE_INFO
legal/javafx.swing/ASSEMBLY_EXCEPTION
legal/javafx.graphics/LICENSE
legal/javafx.graphics/ADDITIONAL_LICENSE_INFO
legal/javafx.graphics/ASSEMBLY_EXCEPTION
legal/javafx.graphics/jpeg_v7.md
legal/javafx.base/LICENSE
legal/javafx.base/ADDITIONAL_LICENSE_INFO
legal/javafx.base/ASSEMBLY_EXCEPTION
legal/javafx.controls/LICENSE
legal/javafx.controls/ADDITIONAL_LICENSE_INFO
legal/javafx.controls/ASSEMBLY_EXCEPTION
legal/javafx.fxml/LICENSE
legal/javafx.fxml/ADDITIONAL_LICENSE_INFO
legal/javafx.fxml/ASSEMBLY_EXCEPTION
jmods/javafx.base.jmod
jmods/javafx.media.jmod
jmods/javafx.swing.jmod
jmods/javafx.controls.jmod
jmods/jdk.packager.services.jmod
jmods/jdk.packager.jmod
jmods/javafx.web.jmod
jmods/javafx.fxml.jmod
jmods/javafx.graphics.jmod

View File

@@ -23,28 +23,30 @@
* questions.
*/
#include "LWCToolkit.h"
#include "GeomUtilities.h"
package com.apple.eawt.event;
#include "sun_awt_CGraphicsConfig.h"
#import <JavaNativeFoundation/JavaNativeFoundation.h>
/*
* Class: sun_awt_CGraphicsConfig
* Method: nativeGetBounds
* Signature: (I)Ljava/awt/Rectangle;
/**
* Event indicating a swipe was performed by the user.
*
* @see PressureListener
*
* @since Java for Mac OS X 10.10 Update 3, JDK 8
*/
JNIEXPORT jobject JNICALL Java_sun_awt_CGraphicsConfig_nativeGetBounds
(JNIEnv *env, jclass class, jint displayID)
{
jobject jrect = NULL;
public class PressureEvent extends GestureEvent {
JNF_COCOA_ENTER(env);
public double getPressure() {
return pressure;
}
CGRect rect = CGDisplayBounds((CGDirectDisplayID)displayID);
jrect = CGToJavaRect(env, rect);
public double getStage() {
return stage;
}
JNF_COCOA_EXIT(env);
private double pressure;
private double stage;
return jrect;
PressureEvent(double pressure, double stage) {
this.pressure = pressure;
this.stage = stage;
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -22,18 +22,17 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#ifndef _ROBOT_COMMON_H
#define _ROBOT_COMMON_H
#include "java_awt_event_InputEvent.h"
package com.apple.eawt.event;
#include <X11/Xlib.h>
#include "gdefs.h"
int QueryColorMap(Display *disp,
Colormap src_cmap,
Visual *src_vis,
XColor **src_colors,
int *rShift, int *gShift, int *bShift);
#endif /* _ROBOT_COMMON_H */
/**
* Listener interface for receiving pressure events.
*
* @see PressureEvent
* @see GestureUtilities
*
* @since Java for Mac OS X 10.5 Update 7, Java for Mac OS X 10.6 Update 2
*/
public interface PressureListener extends GestureListener {
public void pressure(final PressureEvent e);
}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
PRODUCT_TARGETS :=
LEGACY_TARGETS :=
TEST_TARGETS :=
DOCS_TARGETS :=
@@ -70,7 +71,7 @@ define SetupBundleFileBody
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
# If any of the files contain a space in the file name, CacheFind
# If any of the files contain a space in the file name, FindFiles
# will have replaced it with ?. Tar does not accept that so need to
# switch it back.
$$(foreach d, $$($1_BASE_DIRS), \
@@ -146,24 +147,31 @@ endef
# correct base directories.
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home
JDK_BUNDLE_SUBDIR :=
JRE_BUNDLE_SUBDIR :=
else
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif
endif
################################################################################
ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(eval $(call FillCacheFind, $(IMAGES_OUTPUTDIR)))
ifneq ($(filter product-bundles legacy-bundles, $(MAKECMDGOALS)), )
SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.pdb %.map
ALL_JDK_FILES := $(call CacheFind, $(JDK_IMAGE_DIR))
# There may be files with spaces in the names, so use ShellFindFiles
# explicitly.
ALL_JDK_FILES := $(call ShellFindFiles, $(JDK_IMAGE_DIR))
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
@@ -194,19 +202,116 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(ALL_JDK_FILES) \
) \
) \
$(call CacheFind, $(SYMBOLS_IMAGE_DIR))
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES))
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
FILES := $(JDK_BUNDLE_FILES), \
SPECIAL_INCLUDES := $(JDK_SPECIAL_INCLUDES), \
BASE_DIRS := $(JDK_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
))
ALL_JRE_FILES := $(call ShellFindFiles, $(JRE_IMAGE_DIR))
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
$(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES))))
endif
endif
JRE_BUNDLE_FILES := $(filter-out \
$(JRE_SYMBOLS_EXCLUDE_PATTERN) \
$(SYMBOLS_EXCLUDE_PATTERN), \
$(ALL_JRE_FILES))
# On Macosx release builds, when there is a code signing certificate available,
# the final bundle layout can be signed.
SIGN_BUNDLE := false
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
ifneq ($(CODESIGN), )
SIGN_BUNDLE := true
endif
endif
ifeq ($(SIGN_BUNDLE), true)
# Macosx release build and code signing available.
################################################################################
# JDK bundle
$(eval $(call SetupCopyFiles, CREATE_JDK_BUNDLE_DIR_SIGNED, \
SRC := $(JDK_IMAGE_DIR), \
FILES := $(JDK_BUNDLE_FILES), \
DEST := $(JDK_MACOSX_BUNDLE_DIR_SIGNED), \
))
JDK_SIGNED_CODE_RESOURCES := \
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_CONTENTS_SUBDIR)/_CodeSignature/CodeResources
$(JDK_SIGNED_CODE_RESOURCES): $(CREATE_JDK_BUNDLE_DIR_SIGNED)
$(call LogWarn, Signing $(JDK_BUNDLE_NAME))
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
--timestamp --options runtime --deep --force \
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
$(TOUCH) $@
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
FILES := \
$(CREATE_JDK_BUNDLE_DIR_SIGNED) \
$(JDK_SIGNED_CODE_RESOURCES), \
BASE_DIRS := $(JDK_MACOSX_BUNDLE_DIR_SIGNED), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
))
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
################################################################################
# JRE bundle
$(eval $(call SetupCopyFiles, CREATE_JRE_BUNDLE_DIR_SIGNED, \
SRC := $(JRE_IMAGE_DIR), \
FILES := $(JRE_BUNDLE_FILES), \
DEST := $(JRE_MACOSX_BUNDLE_DIR_SIGNED), \
))
JRE_SIGNED_CODE_RESOURCES := \
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_CONTENTS_SUBDIR)/_CodeSignature/CodeResources
$(JRE_SIGNED_CODE_RESOURCES): $(CREATE_JRE_BUNDLE_DIR_SIGNED)
$(call LogWarn, Signing $(JRE_BUNDLE_NAME))
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
--timestamp --options runtime --deep --force \
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
$(TOUCH) $@
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
BUNDLE_NAME := $(JRE_BUNDLE_NAME), \
FILES := \
$(CREATE_JRE_BUNDLE_DIR_SIGNED) \
$(JRE_SIGNED_CODE_RESOURCES), \
BASE_DIRS := $(JRE_MACOSX_BUNDLE_DIR_SIGNED), \
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
))
LEGACY_TARGETS += $(BUILD_JRE_BUNDLE)
else
# Not a Macosx release build or code signing not available.
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
FILES := $(JDK_BUNDLE_FILES), \
SPECIAL_INCLUDES := $(JDK_SPECIAL_INCLUDES), \
BASE_DIRS := $(JDK_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
))
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
BUNDLE_NAME := $(JRE_BUNDLE_NAME), \
FILES := $(JRE_BUNDLE_FILES), \
BASE_DIRS := $(JRE_IMAGE_DIR), \
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
))
LEGACY_TARGETS += $(BUILD_JRE_BUNDLE)
endif
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
@@ -234,7 +339,7 @@ endif
################################################################################
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
TEST_BUNDLE_FILES := $(call CacheFind, $(TEST_IMAGE_DIR))
TEST_BUNDLE_FILES := $(call FindFiles, $(TEST_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
@@ -248,7 +353,7 @@ endif
################################################################################
ifneq ($(filter docs-bundles, $(MAKECMDGOALS)), )
DOCS_BUNDLE_FILES := $(call CacheFind, $(DOCS_IMAGE_DIR))
DOCS_BUNDLE_FILES := $(call FindFiles, $(DOCS_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_DOCS_BUNDLE, \
BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \
@@ -268,6 +373,7 @@ $(eval $(call IncludeCustomExtension, Bundles.gmk))
################################################################################
product-bundles: $(PRODUCT_TARGETS)
legacy-bundles: $(LEGACY_TARGETS)
test-bundles: $(TEST_TARGETS)
docs-bundles: $(DOCS_TARGETS)

60
make/CompileCommands.gmk Normal file
View File

@@ -0,0 +1,60 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
# When FIXPATH is set, let it process the file to make sure all paths are usable
# by system native tools. The FIXPATH tool assumes arguments preceeded by an @
# character points to a text file containing further arguments (similar to a
# linker). It replaces any such arguments with a different temporary filename,
# whose contents has been processed to make any paths native. To obtain a
# properly processed compile_commands.json, FIXPATH is then made to invoke an
# AWK script with the unprocessed json file as the only argument, prepended with
# an @ character. The AWK script simply copies the contents of this processed
# file.
#
# The sed command encloses the fragments inside brackets and removes the final
# trailing comma.
$(OUTPUTDIR)/compile_commands.json: $(wildcard $(MAKESUPPORT_OUTPUTDIR)/compile-commands/*.json)
$(call LogWarn, Updating compile_commands.json)
$(RM) $@
$(FIND) $(MAKESUPPORT_OUTPUTDIR)/compile-commands/ -name \*.json | \
$(SORT) | $(XARGS) $(CAT) >> $@.tmp
$(if $(FIXPATH),$(FIXPATH) $(AWK) 'BEGIN { \
tmpfile = substr(ARGV[2],2); \
cmd = "$(CP) " "\047" tmpfile "\047" " $@.tmp"; \
system(cmd); \
}' -- @$@.tmp)
$(SED) -e '1s/^/[\$(NEWLINE)/' -e '$(DOLLAR)s/,\s\{0,\}$(DOLLAR)/\$(NEWLINE)]/' $@.tmp > $@
$(RM) $@.tmp
TARGETS += $(OUTPUTDIR)/compile_commands.json
all: $(TARGETS)
.PHONY: all

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,7 @@ $(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk))
# Prepare the find cache.
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
$(eval $(call FillCacheFind, $(wildcard $(DEMO_SRC_DIRS))))
$(call FillFindCache, $(DEMO_SRC_DIRS))
# Append demo goals to this variable.
TARGETS =
@@ -237,11 +237,11 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
ifeq ($(OPENJDK_TARGET_OS), solaris)
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
else
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
endif
################################################################################
@@ -250,7 +250,7 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
$(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
DEST := $(TEST_IMAGE_DIR)/jdk/demos, \
FILES := $(call CacheFind, $(SUPPORT_OUTPUTDIR)/demos/image), \
FILES := $(call FindFiles, $(SUPPORT_OUTPUTDIR)/demos/image), \
))
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)

View File

@@ -644,7 +644,7 @@ endif
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
$(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
$(call CacheFind, $(IMPORT_MODULES_CLASSES)/$(MODULE))
$(call FindFiles, $(IMPORT_MODULES_CLASSES)/$(MODULE))
$(call MakeDir, $(@D))
# Do not delete marker and build meta data files
$(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))

View File

@@ -40,6 +40,7 @@ $(eval $(call IncludeCustomExtension, CompileTools.gmk))
BUILD_TOOLS_SRC_DIRS += \
$(TOPDIR)/make/jdk/src/classes \
$(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \
$(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes \
#
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, 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
@@ -35,7 +35,7 @@ LIBS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_LIBS)))
CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))
$(eval $(call FillCacheFind, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR)))
$(call FillFindCache, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR))
ifneq ($(LIBS_DIR), )
ifeq ($(OPENJDK_TARGET_OS), windows)
@@ -45,21 +45,21 @@ ifneq ($(LIBS_DIR), )
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(filter $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \
$(call FindFiles, $(LIBS_DIR))) \
))
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \
$(call FindFiles, $(LIBS_DIR))) \
))
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB)
else
$(eval $(call SetupCopyFiles, COPY_LIBS, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
))
# Use relative links if the import dir is inside the OUTPUTDIR, otherwise
@@ -75,7 +75,7 @@ ifneq ($(LIBS_DIR), )
$(eval $(call SetupCopyFiles, LINK_LIBS, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
MACRO := $(LINK_MACRO), \
LOG_ACTION := $(LOG_ACTION), \
))
@@ -87,7 +87,7 @@ ifneq ($(CMDS_DIR), )
$(eval $(call SetupCopyFiles, COPY_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(call CacheFind, $(CMDS_DIR)), \
FILES := $(call FindFiles, $(CMDS_DIR)), \
))
TARGETS += $(COPY_CMDS)
endif
@@ -96,7 +96,7 @@ ifneq ($(CONF_DIR), )
$(eval $(call SetupCopyFiles, COPY_CONF, \
SRC := $(CONF_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(call CacheFind, $(CONF_DIR)), \
FILES := $(call FindFiles, $(CONF_DIR)), \
))
TARGETS += $(COPY_CONF)
endif

50
make/CopyInterimTZDB.gmk Normal file
View File

@@ -0,0 +1,50 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
##########################################################################################
### TZDB tool needs files from java.time.zone package
define tzdb_copyfiles
$(call MakeTargetDir)
$(RM) '$@'
$(SED) -e "s/package java.time.zone/package build.tools.tzdb/" \
< $(<) > $@
endef
$(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
MACRO := tzdb_copyfiles))
##########################################################################################
all: $(COPY_INTERIM_TZDB)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, 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
@@ -39,7 +39,7 @@ MODULES_TO_COPY := $(sort \
COPY_CLASSES_TARGET := $(BUILDJDK_OUTPUTDIR)/jdk/modules/java.base/_the.buildjdk-copy-marker
$(COPY_CLASSES_TARGET): $(call CacheFind, $(wildcard \
$(COPY_CLASSES_TARGET): $(call FindFiles, $(wildcard \
$(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
$(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(MODULES_TO_COPY)"
$(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules
@@ -56,7 +56,7 @@ TARGETS += $(COPY_CLASSES_TARGET)
$(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \
SRC := $(OUTPUTDIR), \
DEST := $(BUILDJDK_OUTPUTDIR), \
FILES := $(call CacheFind, $(wildcard \
FILES := $(call FindFiles, $(wildcard \
$(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \
))

View File

@@ -51,33 +51,33 @@ INCLUDE_HEADERS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
$(eval $(call FillCacheFind, \
$(call FillFindCache, \
$(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \
))
)
ifneq ($(LIBS_DIR), )
JMOD_FLAGS += --libs $(LIBS_DIR)
DEPS += $(call CacheFind, $(LIBS_DIR))
DEPS += $(call FindFiles, $(LIBS_DIR))
endif
ifneq ($(CMDS_DIR), )
JMOD_FLAGS += --cmds $(CMDS_DIR)
DEPS += $(call CacheFind, $(CMDS_DIR))
DEPS += $(call FindFiles, $(CMDS_DIR))
endif
ifneq ($(CONF_DIR), )
JMOD_FLAGS += --config $(CONF_DIR)
DEPS += $(call CacheFind, $(CONF_DIR))
DEPS += $(call FindFiles, $(CONF_DIR))
endif
ifneq ($(CLASSES_DIR), )
JMOD_FLAGS += --class-path $(CLASSES_DIR)
DEPS += $(call CacheFind, $(CLASSES_DIR))
DEPS += $(call FindFiles, $(CLASSES_DIR))
endif
ifneq ($(INCLUDE_HEADERS_DIR), )
JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR)
DEPS += $(call CacheFind, $(INCLUDE_HEADERS_DIR))
DEPS += $(call FindFiles, $(INCLUDE_HEADERS_DIR))
endif
ifneq ($(MAN_DIR), )
JMOD_FLAGS += --man-pages $(MAN_DIR)
DEPS += $(call CacheFind, $(MAN_DIR))
DEPS += $(call FindFiles, $(MAN_DIR))
endif
# If a specific modules_legal dir exists for this module, only pick up files
@@ -91,7 +91,7 @@ LEGAL_NOTICES := \
)
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
DEPS += $(call CacheFind, $(LEGAL_NOTICES))
DEPS += $(call FindFiles, $(LEGAL_NOTICES))
JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
@@ -145,7 +145,7 @@ endif
# the actual command. Filter that out using wildcard before adding to DEPS.
DEPS += $(wildcard $(JMOD_CMD))
ifeq ($(EXTERNAL_BUILDJDK), false)
DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
DEPS += $(call FindFiles, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
endif
# If creating interim versions of jmods, certain files need to be filtered out

View File

@@ -341,7 +341,7 @@ define SetupApiDocsGenerationBody
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
# Get a list of all files in all the source dirs for all included modules
$1_SOURCE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach module, \
$1_SOURCE_DEPS := $$(call FindFiles, $$(wildcard $$(foreach module, \
$$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
# Javadoc creates a lot of files but use index.html as a marker
@@ -496,7 +496,7 @@ JDK_INDEX_TARGETS += $(JDK_INDEX_HTML)
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
FILES := $(call CacheFind, $(GLOBAL_SPECS_RESOURCES_DIR)), \
FILES := $(call FindFiles, $(GLOBAL_SPECS_RESOURCES_DIR)), \
DEST := $(DOCS_OUTPUTDIR), \
))
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
@@ -521,10 +521,10 @@ COPY_SPEC_FILTER := %.html %.gif %.jpg %.mib %.css
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(if $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
$(if $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d)), \
$(eval $(call SetupCopyFiles, COPY_$m, \
SRC := $d, \
FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
FILES := $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d)), \
DEST := $(DOCS_OUTPUTDIR)/specs/, \
)) \
$(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
@@ -541,11 +541,11 @@ ifeq ($(ENABLE_FULL_DOCS), true)
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(if $(filter %.md, $(call CacheFind, $d)), \
$(if $(filter %.md, $(call FindFiles, $d)), \
$(eval $m_$d_NAME := CONVERT_MARKDOWN_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \
FILES := $(filter %.md, $(call FindFiles, $d)), \
DEST := $(DOCS_OUTPUTDIR)/specs/, \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
)) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,7 @@ ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module_info.clas
$(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
$(call LogInfo, Optimizing the exploded image)
$(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR)
$(call ExecuteWithLog, $@, $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR))
$(TOUCH) $@
TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)

View File

@@ -119,7 +119,7 @@ print-configurations:
run-test-prebuilt:
@( cd $(topdir) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
run-test-prebuilt TEST="$(TEST)" )
run-test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
ALL_GLOBAL_TARGETS := help print-configurations run-test-prebuilt

View File

@@ -276,21 +276,14 @@ endif
ifeq ($(GCOV_ENABLED), true)
GCOV_FIND_EXPR := -type f -name "*.gcno"
$(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
$(eval $(call SetupCopyFiles,COPY_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
FILES := $(shell $(FIND) $(HOTSPOT_OUTPUTDIR) $(GCOV_FIND_EXPR))))
FILES := $(call FindFiles, $(HOTSPOT_OUTPUTDIR) \
$(SUPPORT_OUTPUTDIR)/native, *.gcno) \
))
SYMBOLS_TARGETS += $(COPY_HOTSPOT_GCOV_GCNO)
$(eval $(call SetupCopyFiles,COPY_JDK_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
FILES := $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/native $(GCOV_FIND_EXPR))))
SYMBOLS_TARGETS += $(COPY_JDK_GCOV_GCNO)
SYMBOLS_TARGETS += $(COPY_GCOV_GCNO)
endif
@@ -323,10 +316,10 @@ else
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(OPENJDK_TARGET_OS), macosx)
$(eval $(call FillCacheFind, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs))
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call CacheFind, $1)))
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif

View File

@@ -421,8 +421,8 @@ else # $(HAS_SPEC)=true
$(if $(filter all, $(LOG_REPORT)), \
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
, \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 12; then \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 15 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 15; then \
$(ECHO) " ... (rest of output omitted)" ; \
fi $(NEWLINE) \
) \

View File

@@ -1,107 +0,0 @@
#
# Copyright (c) 2012, 2016, 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.
#
# This file contains targets and utilities needed by JPRT.
# Cygpath is only defined when running on Cygwin
ifneq ($(CYGPATH), )
# If we get JPRT_ARCHIVE_*BUNDLE externally, make sure they have /cygdrive
# style paths
ifdef JPRT_ARCHIVE_BUNDLE
override JPRT_ARCHIVE_BUNDLE := $(shell $(CYGPATH) -u $(JPRT_ARCHIVE_BUNDLE))
endif
ifdef JPRT_ARCHIVE_TEST_BUNDLE
override JPRT_ARCHIVE_TEST_BUNDLE := \
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_TEST_BUNDLE))
endif
ifdef JPRT_ARCHIVE_SYMBOLS_BUNDLE
override JPRT_ARCHIVE_SYMBOLS_BUNDLE := \
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_SYMBOLS_BUNDLE))
endif
endif
# When running in JPRT these will be provided. Need defaults so that this makefile
# is valid anyway.
ifndef JPRT_ARCHIVE_BUNDLE
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/jdk-image.zip
endif
ifndef JPRT_ARCHIVE_TEST_BUNDLE
JPRT_ARCHIVE_TEST_BUNDLE=/tmp/jprt_bundles/test-image.zip
endif
ifndef JPRT_ARCHIVE_SYMBOLS_BUNDLE
JPRT_ARCHIVE_SYMBOLS_BUNDLE=/tmp/jprt_bundles/symbols-image.zip
endif
ifeq ($(SKIP_BOOT_CYCLE), false)
jprt_bundle: bootcycle-images
endif
################################################################################
# JPRT specific bundling targets
JPRT_TARGET ?= $(DEFAULT_MAKE_TARGET)
ifeq ($(JPRT_TARGET), $(DEFAULT_MAKE_TARGET))
jprt_bundle: $(DEFAULT_MAKE_TARGET) $(JPRT_ARCHIVE_BUNDLE) \
$(JPRT_ARCHIVE_TEST_BUNDLE)
SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
# This target must be called in the context of a SPEC file
$(JPRT_ARCHIVE_BUNDLE): product-images
$(call MakeDir, $(@D))
$(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
$(JPRT_ARCHIVE_TEST_BUNDLE): test-image
$(call MakeDir, $(@D))
$(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
##############################################################################
# Optional symbols bundle
ifeq ($(GCOV_ENABLED), true)
jprt_bundle: $(JPRT_ARCHIVE_SYMBOLS_BUNDLE)
$(JPRT_ARCHIVE_SYMBOLS_BUNDLE): product-images
$(call MakeDir, $(@D))
$(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
endif
##############################################################################
else
# Just fake the main bundle to satisfy JPRT
jprt_bundle: $(JPRT_TARGET)
@$(call TargetEnter)
$(MKDIR) -p $(OUTPUTDIR)/bundles
$(CD) $(TOPDIR) && $(TAR) cf - README | $(GZIP) > \
$(JPRT_ARCHIVE_BUNDLE)
@$(call TargetExit)
endif
ALL_TARGETS += jprt_bundle
################################################################################
$(eval $(call IncludeCustomExtension, Jprt.gmk))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, 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
@@ -52,26 +52,24 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
$(eval $(call SetupCopyFiles, COPY_JDK_IMAGE, \
SRC := $(JDK_IMAGE_DIR), \
DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \
FILES := $(call CacheFind, $(JDK_IMAGE_DIR)), \
FILES := $(call FindFiles, $(JDK_IMAGE_DIR)), \
))
$(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \
SRC := $(JRE_IMAGE_DIR), \
DEST := $(JRE_MACOSX_CONTENTS_DIR)/Home, \
FILES := $(call CacheFind, $(JRE_IMAGE_DIR)), \
FILES := $(call FindFiles, $(JRE_IMAGE_DIR)), \
))
$(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(MKDIR) -p $(@D)
$(RM) $@
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JDK, \
FILES := $(JDK_IMAGE_DIR)/lib/jli/libjli.dylib, \
DEST := $(JDK_MACOSX_CONTENTS_DIR)/MacOS, \
))
$(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(MKDIR) -p $(@D)
$(RM) $@
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JRE, \
FILES := $(JRE_IMAGE_DIR)/lib/jli/libjli.dylib, \
DEST := $(JRE_MACOSX_CONTENTS_DIR)/MacOS, \
))
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
@@ -97,13 +95,19 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
@@VENDOR@@ => $(BUNDLE_VENDOR) , \
))
jdk-bundle: $(COPY_JDK_IMAGE) $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
$(BUILD_JDK_PLIST)
$(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set: $(COPY_JDK_IMAGE)
$(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR))
$(TOUCH) $@
jre-bundle: $(COPY_JRE_IMAGE) $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
$(BUILD_JRE_PLIST)
$(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set: $(COPY_JRE_IMAGE)
$(SETFILE) -a B $(dir $(JRE_MACOSX_CONTENTS_DIR))
$(TOUCH) $@
jdk-bundle: $(COPY_JDK_IMAGE) $(COPY_LIBJLI_JDK) \
$(BUILD_JDK_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set
jre-bundle: $(COPY_JRE_IMAGE) $(COPY_LIBJLI_JRE) \
$(BUILD_JRE_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set
else # Not macosx

View File

@@ -81,6 +81,10 @@ ifneq ($(CREATING_BUILDJDK), true)
interim-cldrconverter:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimCLDRConverter.gmk)
interim-tzdb:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimTZDB.gmk)
buildtools-jdk:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk)
@@ -92,7 +96,7 @@ ifneq ($(CREATING_BUILDJDK), true)
endif
ALL_TARGETS += buildtools-langtools interim-langtools \
interim-rmic interim-cldrconverter buildtools-jdk buildtools-modules \
interim-rmic interim-cldrconverter interim-tzdb buildtools-jdk buildtools-modules \
buildtools-hotspot
################################################################################
@@ -136,7 +140,7 @@ ifneq ($(CREATING_BUILDJDK), true)
define DeclareModuleInfoRecipe
$1-gensrc-moduleinfo:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
-f GensrcModuleInfo.gmk MODULE=$1)
-f gensrc/GensrcModuleInfo.gmk MODULE=$1)
$1-gensrc: $1-gensrc-moduleinfo
endef
@@ -262,6 +266,52 @@ hotspot-ide-project:
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project
################################################################################
# Generate libs and launcher targets for creating compile_commands.json fragments
define DeclareCompileCommandsRecipe
$1-compile-commands:
$$(call LogInfo, Generating compile_commands.json fragments for $1)
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk $1-only \
GENERATE_COMPILE_COMMANDS_ONLY=true)
COMPILE_COMMANDS_TARGETS_$2 += $1-compile-commands
endef
$(foreach t, $(HOTSPOT_VARIANT_LIBS_TARGETS), \
$(eval $(call DeclareCompileCommandsRecipe,$t,HOTSPOT)) \
)
$(foreach t, $(LIBS_TARGETS) $(LAUNCHER_TARGETS), \
$(eval $(call DeclareCompileCommandsRecipe,$t,JDK)) \
)
compile-commands compile-commands-hotspot:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileCommands.gmk)
ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
ALL_TARGETS += compile-commands compile-commands-hotspot
################################################################################
# VS Code projects
vscode-project:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=cpptools)
vscode-project-clangd:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=clangd)
vscode-project-rtags:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=rtags)
vscode-project-ccls:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=ccls)
ALL_TARGETS += vscode-project vscode-project-clangd vscode-project-rtags \
vscode-project-ccls
################################################################################
# Build demos targets
@@ -559,8 +609,12 @@ test-jdk-jtreg-native:
test-make:
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
test-compile-commands:
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk test-compile-commands)
ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make
test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make \
test-compile-commands
################################################################################
# Bundles
@@ -568,13 +622,16 @@ ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
product-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
legacy-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk legacy-bundles)
test-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
docs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
ALL_TARGETS += product-bundles test-bundles docs-bundles
ALL_TARGETS += product-bundles legacy-bundles test-bundles docs-bundles
################################################################################
# Install targets
@@ -607,7 +664,7 @@ else
interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS)
buildtools-jdk: interim-langtools interim-cldrconverter
buildtools-jdk: interim-langtools interim-cldrconverter interim-tzdb
buildtools-hotspot: interim-langtools
@@ -629,7 +686,7 @@ else
# Declare dependencies between hotspot-<variant>* targets
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
$(eval hotspot-$v-gensrc: java.base-copy) \
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
)
@@ -691,16 +748,17 @@ else
# copied and processed.
java.desktop-gensrc-src: java.base-gensrc java.base-copy
# The annotation processing for jdk.internal.vm.ci and jdk.internal.vm.compiler
# needs classes from the current JDK.
jdk.internal.vm.ci-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.ci))
# The annotation processing for jdk.internal.vm.compiler
# and jdk.internal.vm.compiler.management needs classes from the current JDK.
jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler))
jdk.internal.vm.compiler.management-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler.management))
# For jdk.internal.vm.compiler, the gensrc step is generating a module-info.java.extra
# For these modules, the gensrc step is generating a module-info.java.extra
# file to be processed by the gensrc-moduleinfo target.
jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-src
jdk.internal.vm.compiler.management-gensrc-moduleinfo: jdk.internal.vm.compiler.management-gensrc-src
jdk.jdeps-gendata: java rmic
@@ -735,6 +793,25 @@ else
$(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS)))
$(foreach m, $(INTERIM_IMAGE_MODULES), $(eval $m-interim-jmod: $($(m)_JMOD_DEPS)))
# Setup the minimal set of generated native source dependencies for hotspot
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v-libs-compile-commands: hotspot-$v-gensrc) \
$(foreach m, $(filter java.desktop jdk.hotspot.agent, $(GENSRC_MODULES)), \
$(eval hotspot-$v-libs-compile-commands: $m-gensrc)) \
)
# For the full JDK compile commands, create all possible generated sources
$(foreach m, $(GENSRC_MODULES), $(eval $m-libs-compile-commands: $m-gensrc))
$(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs-compile-commands: $m-java))
compile-commands-hotspot: $(COMPILE_COMMANDS_TARGETS_HOTSPOT)
compile-commands: $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
vscode-project: compile-commands
vscode-project-clangd: compile-commands
vscode-project-rtags: compile-commands
vscode-project-ccls: compile-commands
# Jmods cannot be created until we have the jmod tool ready to run. During
# a normal build we run it from the exploded image, but when cross compiling
# it's run from the buildjdk, which is either created at build time or user
@@ -849,6 +926,8 @@ else
test-make: clean-test-make
test-compile-commands: compile-commands
build-test-lib: exploded-image-optimize
build-test-failure-handler: interim-langtools
@@ -882,6 +961,8 @@ else
product-bundles: product-images
legacy-bundles: legacy-images
test-bundles: test-image
docs-bundles: docs-image
@@ -900,6 +981,10 @@ JVM_TOOLS_TARGETS ?= buildtools-hotspot
buildtools: buildtools-langtools interim-langtools interim-rmic \
buildtools-jdk $(JVM_TOOLS_TARGETS)
# Declare dependencies from hotspot-<variant> targets
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
)
hotspot: $(HOTSPOT_VARIANT_TARGETS)
# Create targets hotspot-libs and hotspot-gensrc.
@@ -982,6 +1067,9 @@ mac-bundles: mac-jdk-bundle
# (and possibly other, more specific versions)
product-images: jdk-image symbols-image exploded-image
# This target builds the legacy images, e.g. the legacy JRE image
legacy-images: legacy-jre-image
# zip-security is actually a bundle, but for now it needs to be considered
# an image until this can be cleaned up properly.
product-images: zip-security
@@ -998,6 +1086,8 @@ endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
product-images: mac-jdk-bundle
legacy-images: mac-legacy-jre-bundle
endif
# This target builds the documentation image
@@ -1028,7 +1118,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
docs-javase docs-reference docs-javadoc mac-bundles product-images \
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
docs-image test-image all-images \
all-bundles
@@ -1071,7 +1161,7 @@ CLEAN_MODULE_PHASE_TARGETS := $(addprefix clean-, $(foreach m, $(ALL_MODULES), \
# Remove everything, except the output from configure.
clean: $(CLEAN_DIR_TARGETS)
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log*)
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log* compile_commands.json)
$(ECHO) Cleaned all build artifacts.
clean-docs:
@@ -1130,11 +1220,6 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
################################################################################
# Include JPRT targets
include $(TOPDIR)/make/Jprt.gmk
################################################################################
# The following targets are intentionally not added to ALL_TARGETS since they
# are internal only, to support Init.gmk.

View File

@@ -100,5 +100,9 @@ $(eval $(call SetupCopyFiles, COPY_CONF, \
$(TARGETS)), \
))
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
all: $(filter $(MAKESUPPORT_OUTPUTDIR)/compile-commands/%, $(TARGETS))
else
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
endif

View File

@@ -32,6 +32,43 @@ include FindTests.gmk
# We will always run multiple tests serially
.NOTPARALLEL:
################################################################################
# Setup global test running parameters
################################################################################
# Each factor variable comes in 3 variants. The first one is reserved for users
# to use on command line. The other two are for predifined configurations in JDL
# and for machine specific configurations respectively.
TEST_JOBS_FACTOR ?= 1
TEST_JOBS_FACTOR_JDL ?= 1
TEST_JOBS_FACTOR_MACHINE ?= 1
ifeq ($(TEST_JOBS), 0)
CORES_DIVIDER := 2
ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
# For smaller SPARC machines we see reasonable scaling of throughput up to
# cpus/4 without affecting test reliability. On the bigger machines, cpus/4
# causes intermittent timeouts.
ifeq ($(shell $(EXPR) $(NUM_CORES) \> 16), 1)
CORES_DIVIDER := 5
else
CORES_DIVIDER := 4
endif
endif
MEMORY_DIVIDER := 2048
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / $(CORES_DIVIDER); \
m = $(MEMORY_SIZE) / $(MEMORY_DIVIDER); \
if (c > m) c = m; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
}')
endif
################################################################################
# Parse global control variables
################################################################################
@@ -45,8 +82,8 @@ ifneq ($(TEST_VM_OPTS), )
endif
$(eval $(call ParseKeywordVariable, TEST_OPTS, \
KEYWORDS := JOBS TIMEOUT, \
STRING_KEYWORDS := VM_OPTIONS, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR, \
STRING_KEYWORDS := VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
))
# Helper function to propagate TEST_OPTS values.
@@ -65,10 +102,14 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
ifndef _NT_SYMBOL_PATH
# Can't use PathList here as it adds quotes around the value.
_NT_SYMBOL_PATH := \
$(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p)))
$(subst $(SPACE),;,$(strip \
$(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), \
$(call FixPath, $p) \
) \
))
export _NT_SYMBOL_PATH
$(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH))
$(info _NT_SYMBOL_PATH=$(_NT_SYMBOL_PATH))
endif
endif
@@ -100,8 +141,118 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
-timeoutHandlerTimeout:0
endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, $(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTEST_LAUNCHER_DIRS)))
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
$(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, \
$(GTEST_LAUNCHER_DIRS)))
################################################################################
# Optionally create AOT libraries for specified modules before running tests.
# Note, this could not be done during JDK build time.
################################################################################
# Note, this could not be done during JDK build time.
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# MODULE The module to generate a library for
# BIN Output directory in which to put the library
# VM_OPTIONS List of JVM arguments to use when creating library
# OPTIONS_VAR Name of variable to put AOT java options in
# PREREQS_VAR Name of variable to put all AOT prerequisite rule targets in
# for test rules to depend on
#
SetupAotModule = $(NamedParamsMacroTemplate)
define SetupAotModuleBody
$1_AOT_LIB := $$($1_BIN)/$$(call SHARED_LIBRARY,$$($1_MODULE))
$1_AOT_CCLIST := $$(wildcard $$(TOPDIR)/test/hotspot/jtreg/compiler/aot/scripts/$$($1_MODULE)-list.txt)
# Create jaotc flags.
# VM flags which don't affect AOT code generation are filtered out:
# -Xcomp, -XX:+-TieredCompilation
$1_JAOTC_OPTS := \
-J-Xmx4g --info \
$$(addprefix -J, $$(filter-out -Xcomp %TieredCompilation, $$($1_VM_OPTIONS))) \
$$(addprefix --compile-commands$(SPACE), $$($1_AOT_CCLIST)) \
--linker-path $$(LD_JAOTC) \
#
ifneq ($$(filter -ea, $$($1_VM_OPTIONS)), )
$1_JAOTC_OPTS += --compile-with-assertions
endif
$$($1_AOT_LIB): $$(JDK_IMAGE_DIR)/release \
$$(call DependOnVariable, $1_JAOTC_OPTS) \
$$(call DependOnVariable, JDK_IMAGE_DIR)
$$(call LogWarn, Generating $$(patsubst $$(OUTPUTDIR)/%, %, $$@))
$$(call MakeTargetDir)
$$(call ExecuteWithLog, $$@, ( \
$$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/jaotc \
$$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \
))
$$(call ExecuteWithLog, $$@.check, ( \
$$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java \
$$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions \
-XX:+PrintAOT -XX:+UseAOTStrictLoading \
-XX:AOTLibrary=$$@ -version \
> $$@.verify-aot \
))
$1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB)
$1_AOT_TARGETS += $$($1_AOT_LIB)
endef
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# MODULES The modules to generate a library for
# VM_OPTIONS List of JVM arguments to use when creating libraries
#
# After calling this, the following variables are defined
# $1_AOT_OPTIONS List of all java options needed to use the AOT libraries
# $1_AOT_TARGETS List of all targets that the test rule will need to depend on
#
SetupAot = $(NamedParamsMacroTemplate)
define SetupAotBody
$$(info Running with AOTd libraries for $$($1_MODULES))
# Put aot libraries in a separate directory so they are not deleted between
# test runs and may be reused between make invocations.
$$(foreach m, $$($1_MODULES), \
$$(eval $$(call SetupAotModule, $1_$$m, \
MODULE := $$m, \
BIN := $$(TEST_SUPPORT_DIR)/aot/$1, \
VM_OPTIONS := $$($1_VM_OPTIONS), \
)) \
$$(eval $1_AOT_OPTIONS += $$($1_$$m_AOT_OPTIONS)) \
$$(eval $1_AOT_TARGETS += $$($1_$$m_AOT_TARGETS)) \
)
endef
################################################################################
# Setup global test running parameters
################################################################################
# Each factor variable comes in 3 variants. The first one is reserved for users
# to use on command line. The other two are for predifined configurations in JDL
# and for machine specific configurations respectively.
TEST_JOBS_FACTOR ?= 1
TEST_JOBS_FACTOR_JDL ?= 1
TEST_JOBS_FACTOR_MACHINE ?= 1
ifeq ($(TEST_JOBS), 0)
# Concurrency based on min(cores / 2, 12) * TEST_JOBS_FACTOR
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / 2; \
if (c > 12) c = 12; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
}')
endif
################################################################################
# Parse control variables
@@ -110,17 +261,24 @@ GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTE
ifneq ($(TEST_OPTS), )
# Inform the user
$(info Running tests using TEST_OPTS control variable '$(TEST_OPTS)')
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT,JTREG))
endif
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
$(eval $(call SetTestOpt,JAVA_OPTIONS,JTREG))
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
$(eval $(call SetTestOpt,JAVA_OPTIONS,GTEST))
$(eval $(call SetTestOpt,AOT_MODULES,JTREG))
$(eval $(call SetTestOpt,AOT_MODULES,GTEST))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
KEYWORDS := JOBS TIMEOUT TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR TEST_MODE ASSERT VERBOSE RETAIN \
MAX_MEM, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS AOT_MODULES, \
))
ifneq ($(JTREG), )
@@ -129,8 +287,8 @@ ifneq ($(JTREG), )
endif
$(eval $(call ParseKeywordVariable, GTEST, \
KEYWORDS := REPEAT, \
STRING_KEYWORDS := OPTIONS VM_OPTIONS, \
SINGLE_KEYWORDS := REPEAT, \
STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
))
ifneq ($(GTEST), )
@@ -143,17 +301,6 @@ endif
# Component-specific Jtreg settings
################################################################################
ifeq ($(TEST_JOBS), 0)
# If TEST_JOBS is not specified, hotspot fallback default is
# min(num_cores / 2, 12).
hotspot_JTREG_JOBS := $(shell $(EXPR) $(NUM_CORES) / 2)
ifeq ($(hotspot_JTREG_JOBS), 0)
hotspot_JTREG_JOBS := 1
else ifeq ($(shell $(EXPR) $(hotspot_JTREG_JOBS) \> 12), 1)
hotspot_JTREG_JOBS := 12
endif
endif
hotspot_JTREG_MAX_MEM := 0
hotspot_JTREG_ASSERT := false
hotspot_JTREG_NATIVEPATH := $(TEST_IMAGE_DIR)/hotspot/jtreg/native
@@ -165,6 +312,8 @@ langtools_JTREG_PROBLEM_LIST += $(TOPDIR)/test/langtools/ProblemList.txt
nashorn_JTREG_PROBLEM_LIST += $(TOPDIR)/test/nashorn/ProblemList.txt
hotspot_JTREG_PROBLEM_LIST += $(TOPDIR)/test/hotspot/jtreg/ProblemList.txt
langtools_JTREG_MAX_MEM := 768m
################################################################################
# Parse test selection
#
@@ -277,7 +426,7 @@ endef
# Helper function to determine if a test specification is a special test
#
# It is a special test if it is "special:" followed by a test name.
# It is a special test if it is "special:" followed by a test name,
define ParseSpecialTestSelection
$(if $(filter special:%, $1), \
$1 \
@@ -368,19 +517,27 @@ define SetupRunGtestTestBody
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
endif
run-test-$1:
ifneq ($$(GTEST_AOT_MODULES), )
$$(eval $$(call SetupAot, $1, \
MODULES := $$(GTEST_AOT_MODULES), \
VM_OPTIONS := $$(GTEST_VM_OPTIONS) $$(GTEST_JAVA_OPTIONS), \
))
endif
run-test-$1: $$($1_AOT_TARGETS)
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, ( \
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
$$(GTEST_JAVA_OPTIONS) $$($1_AOT_OPTIONS) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
@@ -447,12 +604,11 @@ define SetupRunJtregTestBody
$1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST)))
$1_COMPONENT := \
$1_TEST_ROOT := \
$$(strip $$(foreach root, $$(JTREG_TESTROOTS), \
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), \
$$(lastword $$(subst /, $$(SPACE), $$(root))) \
) \
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), $$(root)) \
))
$1_COMPONENT := $$(lastword $$(subst /, $$(SPACE), $$($1_TEST_ROOT)))
# This will work only as long as just hotspot has the additional "jtreg" directory
ifeq ($$($1_COMPONENT), jtreg)
$1_COMPONENT := hotspot
@@ -475,11 +631,12 @@ define SetupRunJtregTestBody
$$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS))
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST))
# Only the problem list for the current test root should be used.
$1_JTREG_PROBLEM_LIST := $$(filter $$($1_TEST_ROOT)%, $$($1_JTREG_PROBLEM_LIST))
ifneq ($(TEST_JOBS), 0)
# User has specified TEST_JOBS, use that as fallback default
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
else
# Use JOBS as default (except for hotspot)
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(JOBS)))
endif
@@ -487,7 +644,12 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
JTREG_TIMEOUT ?= 4
# SPARC is in general slower per core so need to scale up timeouts a bit.
ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
JTREG_TIMEOUT_FACTOR ?= 8
else
JTREG_TIMEOUT_FACTOR ?= 4
endif
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
@@ -498,10 +660,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE)
$1_JTREG_BASIC_OPTIONS += -automatic -keywords:\!ignore -ignore:quiet
$1_JTREG_BASIC_OPTIONS += -automatic -ignore:quiet
# Make it possible to specify the JIB_DATA_DIR for tests using the
# JIB Artifact resolver
@@ -531,24 +693,55 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
endif
ifneq ($$(JIB_JAR), )
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$(wildcard \
$$(JTREG_EXTRA_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
))
endif
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=${TEST_IMAGE_DIR}/hotspot/jtreg/graal
ifneq ($$(JIB_HOME), )
$1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
endif
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=$(TEST_IMAGE_DIR)/hotspot/jtreg/graal
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
endif
ifneq ($$(JTREG_KEYWORDS), )
# The keywords string may contain problematic characters and may be quoted
# already when it arrives here. Remove any existing quotes and replace them
# with one set of single quotes.
$1_JTREG_KEYWORDS := \
$$(strip $$(subst $$(SQUOTE),,$$(subst $$(DQUOTE),,$$(JTREG_KEYWORDS))))
ifneq ($$($1_JTREG_KEYWORDS), )
$1_JTREG_BASIC_OPTIONS += -k:'$$($1_JTREG_KEYWORDS)'
endif
endif
ifneq ($$(JTREG_AOT_MODULES), )
$$(eval $$(call SetupAot, $1, \
MODULES := $$(JTREG_AOT_MODULES), \
VM_OPTIONS := $$(JTREG_VM_OPTIONS) $$(JTREG_JAVA_OPTIONS), \
))
endif
ifneq ($$($1_AOT_OPTIONS), )
$1_JTREG_BASIC_OPTIONS += -vmoptions:"$$($1_AOT_OPTIONS)"
endif
clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
run-test-$1: clean-workdir-$1
run-test-$1: clean-workdir-$1 $$($1_AOT_TARGETS)
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, ( \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
@@ -561,7 +754,7 @@ define SetupRunJtregTestBody
$$($1_TEST_NAME) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
@@ -631,16 +824,16 @@ define SetupRunSpecialTestBody
$$(error Invalid special test specification: $$($1_TEST_NAME))
endif
run-test-$1:
run-test-$1: $(TEST_PREREQS)
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, ( \
$$($1_TEST_COMMAND_LINE) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -49,10 +49,11 @@ TOPDIR := $(strip $(patsubst %/make/, %, $(dir $(makefile_path))))
# given.
# Note: No spaces are allowed around the arguments.
#
# $1: The name of the argument
# $1: The name of the variable
# $2: The default value, if any, or OPTIONAL (do not provide a default but
# do not exit if it is missing)
# $3: If NO_CHECK, disable checking for target file/directory existence
# If MKDIR, create the default directory
define SetupVariable
ifeq ($$($1), )
ifeq ($2, )
@@ -75,10 +76,17 @@ define SetupVariable
endif
# If $1 has a value (is not optional), and $3 is not set (to NO_CHECK),
# and if wildcard is empty, then complain that the file is missing.
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1)) $3), )
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
$$(info '$$($1)')
$$(error Cannot continue.)
ifeq ($3, MKDIR)
ifneq ($$(findstring $$(LOG), info debug trace), )
$$(info Creating directory for $1)
endif
$$(shell mkdir -p $$($1))
else ifneq ($3, NO_CHECK)
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1))), )
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
$$(info '$$($1)')
$$(error Cannot continue.)
endif
endif
endef
@@ -87,12 +95,12 @@ endef
# $1: The output file name
# $2..$N: The lines to output to the file
define CreateNewSpec
$(if $(strip $(26)), \
$(if $(strip $(31)), \
$(error Internal makefile error: \
Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
) \
$(shell $(RM) $1) \
$(foreach i, $(call sequence, 2, 25), \
$(foreach i, $(call sequence, 2, 30), \
$(if $(strip $($i)), \
$(call AppendFile, $(strip $($i)), $1) \
) \
@@ -106,14 +114,14 @@ endef
# Verify that user has given correct additional input.
# These variables are absolutely necessary
$(eval $(call SetupVariable,OUTPUTDIR))
$(eval $(call SetupVariable,OUTPUTDIR,$(TOPDIR)/build/run-test-prebuilt,MKDIR))
$(eval $(call SetupVariable,BOOT_JDK))
$(eval $(call SetupVariable,JT_HOME))
# These can have default values based on the ones above
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -202,8 +210,8 @@ endif
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), )
$$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
$$(error Cannot continue.)
$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
$(error Cannot continue.)
endif
FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c
PATH_SEP:=;
@@ -212,17 +220,58 @@ else
PATH_SEP:=:
endif
# Check number of cores
# Check number of cores and memory in MB
ifeq ($(OPENJDK_TARGET_OS), linux)
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
MEMORY_SIZE := $(shell \
$(EXPR) `$(CAT) /proc/meminfo | $(GREP) MemTotal | $(AWK) '{print $$2}'` / 1024 \
)
else ifeq ($(OPENJDK_TARGET_OS), macosx)
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
MEMORY_SIZE := $(shell $(EXPR) `/usr/sbin/sysctl -n hw.memsize` / 1024 / 1024)
else ifeq ($(OPENJDK_TARGET_OS), solaris)
NUM_CORES := $(shell LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
NUM_CORES := $(shell LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
MEMORY_SIZE := $(shell \
/usr/sbin/prtconf 2> /dev/null | $(GREP) "^Memory [Ss]ize" | $(AWK) '{print $$3}' \
)
else ifeq ($(OPENJDK_TARGET_OS), windows)
NUM_CORES := $(NUMBER_OF_PROCESSORS)
NUM_CORES := $(NUMBER_OF_PROCESSORS)
MEMORY_SIZE := $(shell \
$(EXPR) `wmic computersystem get totalphysicalmemory -value | $(GREP) = \
| $(CUT) -d "=" -f 2-` / 1024 / 1024 \
)
endif
ifeq ($(NUM_CORES), )
$(warn Could not find number of CPUs, assuming 1)
NUM_CORES := 1
endif
ifeq ($(MEMORY_SIZE), )
$(warn Could not find memory size, assuming 1024 MB)
MEMORY_SIZE := 1024
endif
# Setup LD for AOT support
ifneq ($(DEVKIT_HOME), )
ifeq ($(OPENJDK_TARGET_OS), windows)
LD_JAOTC := $(DEVKIT_HOME)/VC/bin/x64/link.exe
LIBRARY_PREFIX :=
SHARED_LIBRARY_SUFFIX := .dll
else ifeq ($(OPENJDK_TARGET_OS), linux)
LD_JAOTC := $(DEVKIT_HOME)/bin/ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .so
else ifeq ($(OPENJDK_TARGET_OS), macosx)
LD_JAOTC := $(DEVKIT_HOME)/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .dylib
else ifeq ($(OPENJDK_TARGET_OS), solaris)
# Prefer system linker for AOT on Solaris.
LD_JAOTC := ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .so
endif
else
NUM_CORES := 1
LD := ld
endif
################################################################################
@@ -260,6 +309,10 @@ $(call CreateNewSpec, $(NEW_SPEC), \
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
NUM_CORES := $(NUM_CORES), \
MEMORY_SIZE := $(MEMORY_SIZE), \
LD_JAOTC := $(LD_JAOTC), \
LIBRARY_PREFIX := $(LIBRARY_PREFIX), \
SHARED_LIBRARY_SUFFIX := $(SHARED_LIBRARY_SUFFIX), \
include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
$(CUSTOM_NEW_SPEC_LINE), \
)
@@ -276,9 +329,6 @@ run-test-prebuilt:
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)"
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
all: run-test-prebuilt

View File

@@ -124,7 +124,7 @@ JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD)
JARSIGNER := $(FIXPATH) $(JARSIGNER_CMD)
BUILD_JAVA := $(JAVA)
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
################################################################################
# Some common tools. Assume most common name and no path.
AWK := awk
@@ -172,3 +172,21 @@ UNZIP := unzip
EXPR := expr
FILE := file
HG := hg
# On Solaris gnu versions of some tools are required.
ifeq ($(OPENJDK_BUILD_OS), solaris)
AWK := gawk
GREP := ggrep
EGREP := ggrep -E
FGREP := grep -F
SED := gsed
TAR := gtar
endif
ifeq ($(OPENJDK_BUILD_OS), windows)
CYGPATH := cygpath
endif
################################################################################
# Simple macros from spec.gmk.in
SHARED_LIBRARY=$(LIBRARY_PREFIX)$1$(SHARED_LIBRARY_SUFFIX)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,33 +23,43 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
$(eval $(call IncludeCustomExtension, SourceRevision.gmk))
$(eval $(call IncludeCustomExtension, SourceRevision-pre.gmk))
################################################################################
# Keep track of what source revision is used to create the build, by creating
# a tracker file in the output directory. This tracker file is included in the
# image, and can be used to recreate the source revision used.
# source image, and can be used to recreate the source revision used.
#
# We're either building directly from a mercurial forest, and if so, use the
# current revision from mercurial. Otherwise, we are building from a source
# bundle. As a part of creating this source bundle, the current mercurial
# revisions of all repos will be stored in a file in the top dir, which is then
# used when creating the tracker file.
# We're either building directly from an SCM repository, and if so, use the
# current revision from that SCM. Otherwise, we are building from a source
# bundle. As a part of creating this source bundle, the current SCM revisions of
# all repos will be stored in a file in the top dir, which is then used when
# creating the tracker file.
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
# Are we using mercurial?
USE_SCM := false
ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
USE_SCM := true
SCM_DIR := .hg
ID_COMMAND := $(PRINTF) "hg:%s" "$$($(HG) id -i)"
else ifneq ($(and $(GIT), $(wildcard $(TOPDIR)/.git)), )
USE_SCM := true
SCM_DIR := .git
ID_COMMAND := $(PRINTF) "git:%s%s\n" \
"$$(git log -n1 --format=%H | cut -c1-12)" \
"$$(if test -n "$$(git status --porcelain)"; then printf '+'; fi)"
endif
ifeq ($(USE_SCM), true)
# Verify that the entire forest is consistent
$(foreach repo, $(call FindAllReposRel), \
$(if $(wildcard $(TOPDIR)/$(repo)/.hg),, \
$(error Inconsistent revision control: $(repo) is missing .hg directory)) \
$(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)),, \
$(error Inconsistent revision control: $(repo) is missing $(SCM_DIR) directory)) \
)
# Replace "." with "_top" and "/" with "-"
@@ -58,7 +68,9 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
################################################################################
# SetupGetRevisionForRepo defines a make rule for creating a file containing
# the name of the repository and the output of "hg id" for that repository.
# the name of the repository and the output of the scm command for that
# repository.
#
# Argument 1 is the relative path to the repository from the top dir.
#
SetupGetRevisionForRepo = $(NamedParamsMacroTemplate)
@@ -68,7 +80,7 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC
$$(call MakeDir, $$(@D))
$$(ECHO) $$(strip $1):`$$(HG) id -i --repository $$($1_REPO_PATH)` > $$@
$$(ECHO) $$(strip $1):`$$(CD) $$($1_REPO_PATH) && $$(ID_COMMAND)` > $$@
REPO_REVISIONS += $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME)
endef
@@ -94,40 +106,58 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$(eval $(call CreateSourceRevisionFile, $(STORED_SOURCE_REVISION)))
store-source-revision: $(STORED_SOURCE_REVISION)
scm-store-source-revision: $(STORED_SOURCE_REVISION)
$(eval $(call CreateSourceRevisionFile, $(SOURCE_REVISION_TRACKER)))
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
scm-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
STORE_SOURCE_REVISION_TARGET := scm-store-source-revision
CREATE_SOURCE_REVISION_TRACKER_TARGET := scm-create-source-revision-tracker
.PHONY: scm-store-source-revision scm-create-source-revision-tracker
else
# Not using HG
# Not using any SCM
ifneq ($(wildcard $(STORED_SOURCE_REVISION)), )
# We have a stored source revision (.src-rev)
store-source-revision:
$(call LogInfo, No mercurial configuration present$(COMMA) not updating .src-rev)
src-store-source-revision:
$(call LogInfo, No SCM configuration present$(COMMA) not updating .src-rev)
$(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION)
$(install-file)
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
src-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
else
# We don't have a stored source revision. Can't do anything, really.
store-source-revision:
$(call LogWarn, Error: No mercurial configuration present$(COMMA) cannot create .src-rev)
src-store-source-revision:
$(call LogWarn, Error: No SCM configuration present$(COMMA) cannot create .src-rev)
exit 2
create-source-revision-tracker:
$(call LogWarn, Warning: No mercurial configuration present and no .src-rev)
src-create-source-revision-tracker:
$(call LogWarn, Warning: No SCM configuration present and no .src-rev)
endif
STORE_SOURCE_REVISION_TARGET := src-store-source-revision
CREATE_SOURCE_REVISION_TRACKER_TARGET := src-create-source-revision-tracker
.PHONY: src-store-source-revision src-create-source-revision-tracker
endif
all: store-source-revision create-source-revision-tracker
################################################################################
$(eval $(call IncludeCustomExtension, SourceRevision-post.gmk))
################################################################################
store-source-revision: $(STORE_SOURCE_REVISION_TARGET)
create-source-revision-tracker: $(CREATE_SOURCE_REVISION_TRACKER_TARGET)
FRC: # Force target
.PHONY: all store-source-revision create-source-revision-tracker
.PHONY: store-source-revision create-source-revision-tracker

View File

@@ -37,10 +37,22 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
$(call install-file)
endif
prepare-test-image: $(FIXPATH_COPY)
BUILD_INFO_PROPERTIES := $(TEST_IMAGE_DIR)/build-info.properties
FIXPATH_ECHO := $(FIXPATH) $(call FixPath, $(ECHO))
$(BUILD_INFO_PROPERTIES):
$(call MakeTargetDir)
$(ECHO) "# Build info properties for JDK tests" > $@
$(FIXPATH_ECHO) "build.workspace.root=$(WORKSPACE_ROOT)" >> $@
$(FIXPATH_ECHO) "build.output.root=$(OUTPUTDIR)" >> $@
prepare-test-image: $(FIXPATH_COPY) $(BUILD_INFO_PROPERTIES)
$(call MakeDir, $(TEST_IMAGE_DIR))
$(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
################################################################################
all: prepare-test-image
.PHONY: default all prepare-test-image

View File

@@ -79,6 +79,9 @@ TOOL_BLACKLISTED_CERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_cla
TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makejavasecurity.MakeJavaSecurity
TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecacerts.GenerateCacerts
# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
# and nbproject/project.properties in the same dir. Needs to be looked at.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -45,21 +45,13 @@ GLOBAL_SPECS_DEFAULT_CSS_FILE := $(TOPDIR)/make/data/docs-resources/resources/jd
DOCS_DIR := $(TOPDIR)/doc
$(eval $(call SetupProcessMarkdown, building, \
FILES := $(DOCS_DIR)/building.md, \
$(eval $(call SetupProcessMarkdown, md_docs, \
FILES := $(call FindFiles, $(DOCS_DIR), *.md), \
DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \
))
TARGETS += $(building)
$(eval $(call SetupProcessMarkdown, testing, \
FILES := $(DOCS_DIR)/testing.md, \
DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \
))
TARGETS += $(testing)
TARGETS += $(md_docs)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -87,6 +87,7 @@ ifeq ($(SRC_GENERATED), true)
EXCLUDE_FILES := $(SRC_ZIP_EXCLUDE_FILES), \
SUFFIXES := .java, \
ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \
FOLLOW_SYMLINKS := true, \
))
do-zip: $(BUILD_SRC_ZIP)

View File

@@ -641,6 +641,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_MSG_RESULT([$TOPDIR])
AC_SUBST(TOPDIR)
if test "x$CUSTOM_ROOT" != x; then
WORKSPACE_ROOT="${CUSTOM_ROOT}"
else
WORKSPACE_ROOT="${TOPDIR}"
fi
AC_SUBST(WORKSPACE_ROOT)
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
BASIC_FIXUP_PATH(CURDIR)
BASIC_FIXUP_PATH(TOPDIR)
@@ -867,11 +874,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_MSG_RESULT([in build directory with custom name])
fi
if test "x$CUSTOM_ROOT" != x; then
OUTPUTDIR="${CUSTOM_ROOT}/build/${CONF_NAME}"
else
OUTPUTDIR="${TOPDIR}/build/${CONF_NAME}"
fi
OUTPUTDIR="${WORKSPACE_ROOT}/build/${CONF_NAME}"
$MKDIR -p "$OUTPUTDIR"
if test ! -d "$OUTPUTDIR"; then
AC_MSG_ERROR([Could not create build directory $OUTPUTDIR])
@@ -1190,6 +1193,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(READELF, [greadelf readelf])
BASIC_PATH_PROGS(DOT, dot)
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(GIT, git)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(FLOCK, flock)
@@ -1211,12 +1215,23 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_REQUIRE_PROGS(MIG, mig)
BASIC_REQUIRE_PROGS(XATTR, xattr)
BASIC_PATH_PROGS(CODESIGN, codesign)
if test "x$CODESIGN" != "x"; then
# Verify that the openjdk_codesign certificate is present
AC_MSG_CHECKING([if openjdk_codesign certificate is present])
# Check for user provided code signing identity.
# If no identity was provided, fall back to "openjdk_codesign".
AC_ARG_WITH([macosx-codesign-identity], [AS_HELP_STRING([--with-macosx-codesign-identity],
[specify the code signing identity])],
[MACOSX_CODESIGN_IDENTITY=$with_macosx_codesign_identity],
[MACOSX_CODESIGN_IDENTITY=openjdk_codesign]
)
AC_SUBST(MACOSX_CODESIGN_IDENTITY)
# Verify that the codesign certificate is present
AC_MSG_CHECKING([if codesign certificate is present])
$RM codesign-testfile
$TOUCH codesign-testfile
$CODESIGN -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
$CODESIGN -s "$MACOSX_CODESIGN_IDENTITY" codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
$RM codesign-testfile
if test "x$CODESIGN" = x; then
AC_MSG_RESULT([no])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -42,8 +42,11 @@ AC_DEFUN([BPERF_CHECK_CORES],
NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
FOUND_CORES=yes
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'`
FOUND_CORES=yes
NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
if test -n "$NUM_LCPU"; then
NUM_CORES=$NUM_LCPU
FOUND_CORES=yes
fi
elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS

View File

@@ -75,6 +75,8 @@ JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
FDLIBM_CFLAGS := @OPENJDK_BUILD_FDLIBM_CFLAGS@
# The compiler for the build platform is likely not warning compatible with the official
# compiler.
WARNINGS_AS_ERRORS := false

View File

@@ -1,5 +1,5 @@
SRC#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -98,6 +98,9 @@ HOTSPOT_SETUP_JVM_VARIANTS
# With basic setup done, call the custom early hook.
CUSTOM_EARLY_HOOK
# This only needs debug level to be setup
JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT
# Check if we have devkits, extra paths or sysroot set.
BASIC_SETUP_DEVKIT

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, 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
@@ -371,21 +371,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
# Check that the compiler supports -ffp-contract=off flag
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
# otherwise.
# These flags are required for GCC-based builds of
# fdlibm with optimization without losing precision.
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_TRUE: [FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_FALSE: [FDLIBM_CFLAGS=""])
fi
AC_SUBST(FDLIBM_CFLAGS)
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_], [BUILD_])
# Tests are only ever compiled for TARGET
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
@@ -496,15 +482,14 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX (but since this gives *worse* performance, use no-strict-aliasing everywhere!)
CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CXXSTD_CXXFLAG -Werror],
IF_FALSE: [CXXSTD_CXXFLAG=""])
TOOLCHAIN_CFLAGS_JDK_CXXONLY="$CXXSTD_CXXFLAG"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM $CXXSTD_CXXFLAG"
ADLC_CXXFLAG="$CXXSTD_CXXFLAG"
# reduce lib size on s390x in link step, this needs also special compile flags
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
fi
# technically NOT for CXX (but since this gives *worse* performance, use
# no-strict-aliasing everywhere!)
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# Restrict the debug information created by Clang to avoid
@@ -524,7 +509,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
TOOLCHAIN_CFLAGS_JDK="-mt"
TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
TOOLCHAIN_CFLAGS_JDK_CONLY="-xCC -Xa -v -W0,-noglobal" # C only
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
-library=stlport4 -mt -features=no%except"
@@ -595,6 +580,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Where does this really belong??
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
PICFLAG="-fPIC"
PIEFLAG="-fPIE"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
PICFLAG="-KPIC"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
@@ -646,15 +632,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
fi
fi
# EXPORT
AC_SUBST(ADLC_CXXFLAG)
])
################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against.
# $2 - Optional prefix for each variable defined.
# $3 - Optional prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
[
#### CPU DEFINES, these should (in theory) be independent on toolchain
@@ -748,6 +732,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
$1_CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${$1_CXXSTD_CXXFLAG} -Werror],
PREFIX: $3, IF_FALSE: [$1_CXXSTD_CXXFLAG=""])
$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY="${$1_CXXSTD_CXXFLAG}"
$1_TOOLCHAIN_CFLAGS_JVM="${$1_TOOLCHAIN_CFLAGS_JVM} ${$1_CXXSTD_CXXFLAG}"
$2ADLC_CXXFLAG="${$1_CXXSTD_CXXFLAG}"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$FLAGS_OS" = xlinux; then
# ppc test not really needed for clang
@@ -784,20 +775,44 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CHECK_COMPILER_VERSION(VERSION: 6, PREFIX: $2, IF_AT_LEAST: FLAGS_SETUP_GCC6_COMPILER_FLAGS($1))
FLAGS_SETUP_GCC6_COMPILER_FLAGS($1, $3)
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
fi
# Prevent the __FILE__ macro from generating absolute paths into the built
# binaries. Depending on toolchain, different mitigations are possible.
# * GCC and Clang of new enough versions have -fmacro-prefix-map.
# * For most other toolchains, supplying all source files and -I flags as
# relative paths fixes the issue.
FILE_MACRO_CFLAGS=
if test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = "xfalse"; then
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# Check if compiler supports -fmacro-prefix-map. If so, use that to make
# the __FILE__ macro resolve to paths relative to the workspace root.
workspace_root_trailing_slash="${WORKSPACE_ROOT%/}/"
FILE_MACRO_CFLAGS="-fmacro-prefix-map=${workspace_root_trailing_slash}="
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${FILE_MACRO_CFLAGS}],
PREFIX: $3,
IF_FALSE: [
FILE_MACRO_CFLAGS=
]
)
fi
fi
AC_SUBST(FILE_MACRO_CFLAGS)
# EXPORT to API
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM $TOOLCHAIN_CFLAGS_JVM \
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM \
$TOOLCHAIN_CFLAGS_JVM ${$1_TOOLCHAIN_CFLAGS_JVM} \
$OS_CFLAGS $OS_CFLAGS_JVM $CFLAGS_OS_DEF_JVM $DEBUG_CFLAGS_JVM \
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG"
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG $FILE_MACRO_CFLAGS"
CFLAGS_JDK_COMMON="$ALWAYS_CFLAGS_JDK $ALWAYS_DEFINES_JDK $TOOLCHAIN_CFLAGS_JDK \
$OS_CFLAGS $CFLAGS_OS_DEF_JDK $DEBUG_CFLAGS_JDK $DEBUG_OPTIONS_FLAGS_JDK \
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK"
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK \
$FILE_MACRO_CFLAGS"
# Use ${$2EXTRA_CFLAGS} to block EXTRA_CFLAGS to be added to build flags.
# (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might
@@ -805,7 +820,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}"
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY $TOOLCHAIN_CFLAGS_JDK_CXXONLY \
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY \
$TOOLCHAIN_CFLAGS_JDK_CXXONLY \
${$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY} \
$WARNING_CFLAGS_JDK_CXXONLY ${$2EXTRA_CXXFLAGS}"
$1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
@@ -813,21 +830,40 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}"
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK}"
$2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK}"
$2CFLAGS_JDKLIB="${$2CFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
$2CXXFLAGS_JDKLIB="${$2CXXFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK} $PIEFLAG"
$2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK} $PIEFLAG"
$2CFLAGS_JDKLIB="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK} \
$JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
$2CXXFLAGS_JDKLIB="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK} \
$JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
AC_SUBST($2JVM_CFLAGS)
AC_SUBST($2CFLAGS_JDKLIB)
AC_SUBST($2CFLAGS_JDKEXE)
AC_SUBST($2CXXFLAGS_JDKLIB)
AC_SUBST($2CXXFLAGS_JDKEXE)
AC_SUBST($2ADLC_CXXFLAG)
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
# Check that the compiler supports -ffp-contract=off flag
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
# otherwise.
# These flags are required for GCC-based builds of
# fdlibm with optimization without losing precision.
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
PREFIX: $3,
IF_TRUE: [$2FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_FALSE: [$2FDLIBM_CFLAGS=""])
fi
AC_SUBST($2FDLIBM_CFLAGS)
])
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
# Arguments:
# $1 - Prefix for each variable defined.
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
@@ -835,14 +871,11 @@ AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
dnl IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
dnl IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
AC_MSG_NOTICE([GCC >= 6 detected; adding ${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} and ${NO_LIFETIME_DSE_CFLAG}])
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
])

View File

@@ -72,12 +72,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
fi
# Add -z defs, to forbid undefined symbols in object files.
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
# add relro (mark relocations read only) for all libs
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs -Wl,-z,relro"
# s390x : remove unused code+data in link step
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,--gc-sections -Wl,--print-gc-sections"
fi
BASIC_LDFLAGS_JVM_ONLY="-Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro"
BASIC_LDFLAGS_JDK_LIB_ONLY="-Wl,-z,noexecstack"
LIBJSIG_NOEXECSTACK_LDFLAGS="-Wl,-z,noexecstack"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
@@ -103,6 +105,12 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
if test -n "$HAS_NOEXECSTACK"; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,noexecstack"
fi
fi
# Setup OS-dependent LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
@@ -118,9 +126,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test x$DEBUG_LEVEL = xrelease; then
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1"
else
# mark relocations read only on (fast/slow) debug builds
DEBUGLEVEL_LDFLAGS_JDK_ONLY="-Wl,-z,relro"
fi
if test x$DEBUG_LEVEL = xslowdebug; then
# do relocations at load
@@ -140,6 +145,17 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Setup LDFLAGS for linking executables
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
# Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
# java heap.
if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
fi
fi
if test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = "xfalse"; then
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -pdbaltpath:%_PDB%"
fi
fi
# Export some intermediate variables for compatibility

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,9 +31,7 @@
AC_DEFUN([FLAGS_SETUP_ARFLAGS],
[
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ARFLAGS="-r -mmacosx-version-min=$MACOSX_VERSION_MIN"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-X64"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
# lib.exe is used as AR to create static libraries.
@@ -83,10 +81,10 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
RC_FLAGS="$RC_FLAGS \
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-D\"JDK_COMPONENT=\$(JDK_RC_NAME) binary\" \
-D\"JDK_VER=\$(VERSION_NUMBER)\" \
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-D\"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(VERSION_FEATURE)\" \
-D\"JDK_NAME=\$(JDK_RC_NAME) \$(VERSION_FEATURE)\" \
-D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
JVM_RCFLAGS="$JVM_RCFLAGS \

View File

@@ -162,6 +162,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
if test "x$ASFLAGS" != "x"; then
AC_MSG_WARN([Ignoring ASFLAGS($ASFLAGS) found in environment. Use --with-extra-asflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
@@ -171,9 +175,13 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
AC_ARG_WITH(extra-asflags, [AS_HELP_STRING([--with-extra-asflags],
[extra flags to be passed to the assembler])])
USER_CFLAGS="$with_extra_cflags"
USER_CXXFLAGS="$with_extra_cxxflags"
USER_LDFLAGS="$with_extra_ldflags"
USER_ASFLAGS="$with_extra_asflags"
])
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
@@ -265,10 +273,12 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
EXTRA_CFLAGS="$MACHINE_FLAG $USER_CFLAGS"
EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS"
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)
AC_SUBST(EXTRA_ASFLAGS)
# For autoconf testing to work, the global flags must also be stored in the
# "unnamed" CFLAGS etc.
@@ -335,8 +345,12 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
CC_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the output
LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files.
AR_OUT_OPTION='rcs$(SPACE)'
# When archiving, how to specify the destination static archive.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
AR_OUT_OPTION='-r -cs$(SPACE)'
else
AR_OUT_OPTION='-rcs$(SPACE)'
fi
fi
AC_SUBST(CC_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION)
@@ -402,17 +416,20 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
# ------------------------------------------------------------
# Check that the C compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
AC_MSG_CHECKING([if the C compiler supports "ARG_ARGUMENT"])
AC_MSG_CHECKING([if ARG_PREFIX[CC] supports "ARG_ARGUMENT"])
supports=yes
saved_cflags="$CFLAGS"
saved_cc="$CC"
CFLAGS="$CFLAGS ARG_ARGUMENT"
CC="$ARG_PREFIX[CC]"
AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C])
CC="$saved_cc"
CFLAGS="$saved_cflags"
AC_MSG_RESULT([$supports])
@@ -430,17 +447,20 @@ BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
# ------------------------------------------------------------
# Check that the C++ compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
AC_MSG_CHECKING([if the C++ compiler supports "ARG_ARGUMENT"])
AC_MSG_CHECKING([if ARG_PREFIX[CXX] supports "ARG_ARGUMENT"])
supports=yes
saved_cxxflags="$CXXFLAGS"
saved_cxx="$CXX"
CXXFLAGS="$CXXFLAG ARG_ARGUMENT"
CXX="$ARG_PREFIX[CXX]"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C++])
CXX="$saved_cxx"
CXXFLAGS="$saved_cxxflags"
AC_MSG_RESULT([$supports])
@@ -458,18 +478,22 @@ BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
# ------------------------------------------------------------
# Check that the C and C++ compilers support an argument
BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"])
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"])
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
AC_MSG_CHECKING([if both compilers support "ARG_ARGUMENT"])
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
supports=no
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then
supports=yes;
fi
AC_MSG_RESULT([$supports])
if test "x$supports" = "xyes" ; then

View File

@@ -102,7 +102,7 @@ apt_help() {
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
dtrace)
@@ -125,7 +125,7 @@ yum_help() {
freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
esac

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2020, 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
@@ -295,15 +295,21 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
if test "x$withval" = xexternal || test "x$withval" = xzipped; then
AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
fi
else
if test "x$OPENJDK_TARGET_OS" = xwindows; then
if test "x$withval" = xinternal; then
AC_MSG_ERROR([Windows does not support the parameter 'internal' for --with-native-debug-symbols])
fi
fi
fi
],
[
if test "x$OPENJDK_TARGET_OS" = xaix; then
# AIX doesn't support 'external' so use 'internal' as default
with_native_debug_symbols="internal"
if test "x$STATIC_BUILD" = xtrue; then
with_native_debug_symbols="none"
else
if test "x$STATIC_BUILD" = xtrue; then
with_native_debug_symbols="none"
if test "x$OPENJDK_TARGET_OS" = xaix; then
# AIX doesn't support 'external' so use 'internal' as default
with_native_debug_symbols="internal"
else
with_native_debug_symbols="external"
fi
@@ -312,20 +318,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
fi
fi
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
if test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
COMPILE_WITH_DEBUG_SYMBOLS=false
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
@@ -346,6 +339,19 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
elif test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
fi
fi
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=true
else
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
fi
@@ -630,3 +636,35 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES],
AC_SUBST(BUILD_MANPAGES)
])
################################################################################
#
# Disallow any output from containing absolute paths from the build system.
# This setting defaults to allowed on debug builds and not allowed on release
# builds.
#
AC_DEFUN([JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT],
[
AC_ARG_ENABLE([absolute-paths-in-output],
[AS_HELP_STRING([--disable-absolute-paths-in-output],
[Set to disable to prevent any absolute paths from the build to end up in
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])
])
AC_MSG_CHECKING([if absolute paths should be allowed in the build output])
if test "x$enable_absolute_paths_in_output" = "xno"; then
AC_MSG_RESULT([no, forced])
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="false"
elif test "x$enable_absolute_paths_in_output" = "xyes"; then
AC_MSG_RESULT([yes, forced])
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="true"
elif test "x$DEBUG_LEVEL" = "xrelease"; then
AC_MSG_RESULT([no, release build])
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="false"
else
AC_MSG_RESULT([yes, debug build])
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="true"
fi
AC_SUBST(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, 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
@@ -75,9 +75,52 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(HOTSPOT_VM_DISTRO)
# Set the MACOSX Bundle Name base
AC_ARG_WITH(macosx-bundle-name-base, [AS_HELP_STRING([--with-macosx-bundle-name-base],
[Set the MacOSX Bundle Name base. This is the base name for calculating MacOSX Bundle Names.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_name_base" = xyes; then
AC_MSG_ERROR([--with-macosx-bundle-name-base must have a value])
elif [ ! [[ $with_macosx_bundle_name_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-name-base contains non-printing characters: $with_macosx_bundle_name_base])
elif test "x$with_macosx_bundle_name_base" != x; then
# Set MACOSX_BUNDLE_NAME_BASE to the configured value.
MACOSX_BUNDLE_NAME_BASE="$with_macosx_bundle_name_base"
fi
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
# Set the MACOSX Bundle ID base
AC_ARG_WITH(macosx-bundle-id-base, [AS_HELP_STRING([--with-macosx-bundle-id-base],
[Set the MacOSX Bundle ID base. This is the base ID for calculating MacOSX Bundle IDs.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_id_base" = xyes; then
AC_MSG_ERROR([--with-macosx-bundle-id-base must have a value])
elif [ ! [[ $with_macosx_bundle_id_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-id-base contains non-printing characters: $with_macosx_bundle_id_base])
elif test "x$with_macosx_bundle_id_base" != x; then
# Set MACOSX_BUNDLE_ID_BASE to the configured value.
MACOSX_BUNDLE_ID_BASE="$with_macosx_bundle_id_base"
fi
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
# Set the JDK RC name
AC_ARG_WITH(jdk-rc-name, [AS_HELP_STRING([--with-jdk-rc-name],
[Set JDK RC name. This is used for FileDescription and ProductName properties
of MS Windows binaries. @<:@not specified@:>@])])
if test "x$with_jdk_rc_name" = xyes; then
AC_MSG_ERROR([--with-jdk-rc-name must have a value])
elif [ ! [[ $with_jdk_rc_name =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-jdk-rc-name contains non-printing characters: $with_jdk_rc_name])
elif test "x$with_jdk_rc_name" != x; then
# Set JDK_RC_NAME to a custom value if '--with-jdk-rc-name' was used and is not empty.
JDK_RC_NAME="$with_jdk_rc_name"
else
# Otherwise calculate from "version-numbers" included above.
JDK_RC_NAME="$PRODUCT_NAME $JDK_RC_PLATFORM_NAME"
fi
AC_SUBST(JDK_RC_NAME)
# The vendor name, if any
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
[Set vendor name. Among others, used to set the 'java.vendor'

View File

@@ -186,6 +186,9 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
FREETYPE_BASE_DIR="$SYSROOT/usr"
if (test "x$OPENJDK_TARGET_CPU_BITS" = "x64"); then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnu], [well-known location])
if (test "x$FOUND_FREETYPE" != "xyes"); then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib64], [well-known location])
fi
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
if (test "x$FOUND_FREETYPE" != "xyes"); then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -99,8 +99,14 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
HEADERS_TO_CHECK="X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h"
# There is no Xrandr extension on AIX
if test "x$OPENJDK_TARGET_OS" != xaix; then
HEADERS_TO_CHECK="$HEADERS_TO_CHECK X11/extensions/Xrandr.h"
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
AC_CHECK_HEADERS([$HEADERS_TO_CHECK],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
@@ -111,7 +117,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be

View File

@@ -130,6 +130,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
fi
# perfstat lib
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat"
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
-lrt -lkstat"

View File

@@ -130,8 +130,9 @@ SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
# The top-level directory of the source repository
TOPDIR:=@TOPDIR@
# Usually the top level directory, but could be something else if a custom
# root is defined.
WORKSPACE_ROOT:=@WORKSPACE_ROOT@
IMPORT_MODULES_CLASSES:=@IMPORT_MODULES_CLASSES@
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
@@ -148,6 +149,7 @@ LAUNCHER_NAME:=@LAUNCHER_NAME@
PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -313,6 +315,8 @@ EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
BUILD_MANPAGES := @BUILD_MANPAGES@
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT := @ALLOW_ABSOLUTE_PATHS_IN_OUTPUT@
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
# it in sync.
BOOT_JDK:=@BOOT_JDK@
@@ -356,6 +360,7 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
GRAALUNIT_LIB := @GRAALUNIT_LIB@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
PACKAGE_PATH=@PACKAGE_PATH@
@@ -386,6 +391,9 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# The highest allowed version of macosx
MACOSX_VERSION_MAX=@MACOSX_VERSION_MAX@
# The macosx code signing identity to use
MACOSX_CODESIGN_IDENTITY=@MACOSX_CODESIGN_IDENTITY@
# Toolchain type: gcc, clang, solstudio, lxc, microsoft...
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@
@@ -461,6 +469,7 @@ JVM_RCFLAGS := @JVM_RCFLAGS@
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
EXTRA_ASFLAGS = @EXTRA_ASFLAGS@
CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@
@@ -469,6 +478,9 @@ CPP:=@FIXPATH@ @CPP@
# The linker can be gcc or ld on unix systems, or link.exe on windows systems.
LD:=@FIXPATH@ @LD@
# Linker used by the jaotc tool for AOT compilation.
LD_JAOTC:=@LD_JAOTC@
# Xcode SDK path
SDKROOT:=@SDKROOT@
@@ -724,12 +736,13 @@ EXPR:=@EXPR@
FILE:=@FILE@
DOT:=@DOT@
HG:=@HG@
GIT:=@GIT@
OBJCOPY:=@OBJCOPY@
SETFILE:=@SETFILE@
XATTR:=@XATTR@
JT_HOME:=@JT_HOME@
JTREGEXE:=@JTREGEXE@
JIB_JAR:=@JIB_JAR@
JIB_HOME:=@JIB_HOME@
XCODEBUILD=@XCODEBUILD@
DTRACE := @DTRACE@
FIXPATH:=@FIXPATH@
@@ -859,10 +872,16 @@ DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
# Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
JDK_MACOSX_BUNDLE_SUBDIR_SIGNED=jdk-bundle-signed
JRE_MACOSX_BUNDLE_SUBDIR_SIGNED=jre-bundle-signed
JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
JDK_MACOSX_CONTENTS_SUBDIR=jdk-$(VERSION_NUMBER).jdk/Contents
JRE_MACOSX_CONTENTS_SUBDIR=jre-$(VERSION_NUMBER).jre/Contents
JDK_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR_SIGNED)
JRE_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR_SIGNED)
JDK_MACOSX_BUNDLE_TOP_DIR=jdk-$(VERSION_NUMBER).jdk
JRE_MACOSX_BUNDLE_TOP_DIR=jre-$(VERSION_NUMBER).jre
JDK_MACOSX_CONTENTS_SUBDIR=$(JDK_MACOSX_BUNDLE_TOP_DIR)/Contents
JRE_MACOSX_CONTENTS_SUBDIR=$(JRE_MACOSX_BUNDLE_TOP_DIR)/Contents
JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
@@ -879,12 +898,14 @@ else
JDK_BUNDLE_EXTENSION := tar.gz
endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)

View File

@@ -589,7 +589,7 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
[
LINKER=[$]$1
LINKER_NAME=$2
LINKER_NAME="$2"
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# cc -Wl,-V output typically looks like
@@ -709,12 +709,18 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
AC_MSG_RESULT([yes])
fi
LDCXX="$LD"
# jaotc being a windows program expects the linker to be supplied with exe suffix.
LD_JAOTC="$LD$EXE_SUFFIX"
else
# All other toolchains use the compiler to link.
LD="$CC"
LDCXX="$CXX"
# jaotc expects 'ld' as the linker rather than the compiler.
BASIC_CHECK_TOOLS([LD_JAOTC], ld)
BASIC_FIXUP_EXECUTABLE(LD_JAOTC)
fi
AC_SUBST(LD)
AC_SUBST(LD_JAOTC)
# FIXME: it should be CXXLD, according to standard (cf CXXCPP)
AC_SUBST(LDCXX)
@@ -1022,6 +1028,12 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
# This is later checked when setting flags.
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# Check if linker has -z noexecstack.
HAS_NOEXECSTACK=`$CC -Wl,--help 2>/dev/null | $GREP 'z noexecstack'`
# This is later checked when setting flags.
fi
# Setup hotspot lecagy names for toolchains
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
if test "x$TOOLCHAIN_TYPE" = xclang; then
@@ -1144,5 +1156,5 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JIB],
fi
fi
AC_SUBST(JIB_JAR)
AC_SUBST(JIB_HOME)
])

View File

@@ -185,6 +185,8 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
eval VS_ENV_ARGS="\${VS_ENV_ARGS_${VS_VERSION}}"
VS_ENV_CMD=""
# When using --with-tools-dir, assume it points to the correct and default
# version of Visual Studio or that --with-toolchain-version was also set.
if test "x$with_tools_dir" != x; then
@@ -202,8 +204,6 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
fi
fi
VS_ENV_CMD=""
if test "x$VS_COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
@@ -693,7 +693,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$USE_UCRT" = "xtrue"; then
AC_MSG_CHECKING([for UCRT DLL dir])
if test "x$with_ucrt_dll_dir" != x; then
if test -z "$(ls -d "$with_ucrt_dll_dir/*.dll" 2> /dev/null)"; then
if test -z "$(ls -d "$with_ucrt_dll_dir/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
else
@@ -713,8 +713,16 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
fi
UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir"
if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR])
# Try with version subdir
UCRT_DLL_DIR="`ls -d $CYGWIN_WINDOWSSDKDIR/Redist/*/ucrt/DLLs/$dll_subdir \
2> /dev/null | $SORT -d | $HEAD -n1`"
if test -z "$UCRT_DLL_DIR" \
|| test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR])
else
AC_MSG_RESULT($UCRT_DLL_DIR)
fi
else
AC_MSG_RESULT($UCRT_DLL_DIR)
fi

View File

@@ -27,15 +27,16 @@
DEFAULT_VERSION_FEATURE=11
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=2
DEFAULT_VERSION_UPDATE=7
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2019-01-15
DEFAULT_VERSION_DATE=2020-04-14
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
DEFAULT_PROMOTED_VERSION_PRE=ea
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, 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
@@ -122,9 +122,9 @@ define SetupJarArchiveBody
ifeq ($$($1_DEPENDENCIES), )
# Add all source roots to the find cache since we are likely going to run find
# on these more than once. The cache will only be updated if necessary.
$$(eval $$(call FillCacheFind, $$($1_FIND_LIST)))
$$(call FillFindCache, $$($1_FIND_LIST))
$1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
$$(call CacheFind,$$($1_SRCS)))
$$(call FindFiles,$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
endif
@@ -135,7 +135,7 @@ define SetupJarArchiveBody
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
ifeq (,$$($1_SKIP_METAINF))
$1_DEPENDENCIES+=$$(call CacheFind,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
$1_DEPENDENCIES+=$$(call FindFiles,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
endif
endif
# The dependency list should never be empty

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, 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
@@ -221,13 +221,12 @@ define SetupJavaCompilationBody
) \
)
$$(call MakeDir,$$($1_BIN))
# Add all source roots to the find cache since we are likely going to run find
# on these more than once. The cache will only be updated if necessary.
$$(eval $$(call FillCacheFind, $$($1_SRC)))
# Find all files in the source trees. Preserve order of source roots so that
# the first version in case of multiple instances of the same file is selected.
# CacheFind does not preserve order so need to call it for each root.
$1_ALL_SRCS += $$($1_EXTRA_FILES) $$(foreach s, $$($1_SRC), $$(call CacheFind, $$s))
# Order src files according to the order of the src dirs. Correct ordering is
# needed for correct overriding between different source roots.
$1_ALL_SRC_RAW := $$(call FindFiles, $$($1_SRC))
$1_ALL_SRCS := $$($1_EXTRA_FILES) \
$$(foreach d, $$($1_SRC), $$(filter $$d%, $$($1_ALL_SRC_RAW)))
# Extract the java files.
$1_SRCS := $$(filter %.java, $$($1_ALL_SRCS))

View File

@@ -47,6 +47,29 @@ FindSrcDirsForComponent += \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
# Find a library
# Param 1 - module name
# Param 2 - library name
# Param 3 - optional subdir for library
FindLib = \
$(call FindLibDirForModule, \
$(strip $1))$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(SHARED_LIBRARY_SUFFIX)
# Find a static library
# Param 1 - module name
# Param 2 - library name
# Param 3 - optional subdir for library
FindStaticLib = \
$(addprefix $(SUPPORT_OUTPUTDIR)/native/, \
$(strip $1)$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(STATIC_LIBRARY_SUFFIX))
# If only generating compile_commands.json, make these return empty to avoid
# declaring dependencies.
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
FindLib =
FindStaticLib =
endif
GetJavaHeaderDir = \
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))

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