Compare commits

...

2336 Commits

Author SHA1 Message Date
Goetz Lindenmaier
3f7a3ffee8 Added tag jdk-11.0.9+6 for changeset c07e785e36f5 2020-09-02 07:36:15 +02:00
Sergey Bylokhov
3819204b0e 8022535: [TEST BUG] javax/swing/text/html/parser/Test8017492.java fails
Reviewed-by: prr, pbansal
2020-08-18 00:06:57 +01:00
Pavel Rappo
f415e17958 8151678: com/sun/jndi/ldap/LdapTimeoutTest.java failed due to timeout on DeadServerNoTimeoutTest is incorrect
Reviewed-by: dfuchs, martin, robm
2019-09-13 11:00:07 +01:00
Pavel Rappo
8cf414efe4 8245981: Upgrade to jQuery 3.5.1
Reviewed-by: hannesw
2020-06-05 15:03:09 +01:00
Toshio Nakamura
74e6dfc33d 8233829: javac cannot find non-ASCII module name under non-UTF8 environment
Reviewed-by: jjg
2020-09-01 07:55:08 +02:00
Toshio Nakamura
52073c37d1 8243453: java --describe-module failed with non-ASCII module name under non-UTF8 environment
Reviewed-by: alanb
2020-05-04 19:01:27 +01:00
Christoph Göttschkes
173ce4e6bc 8234535: Cross compilation fails due to missing CFLAGS for the BUILD_CC
Reviewed-by: erikj
2020-07-20 15:08:20 +02:00
Martin Balao
cf9a7779b9 8250582: Revert Principal Name type to NT-UNKNOWN when requesting TGS Kerberos tickets
Reviewed-by: weijun
2020-07-25 01:02:51 -03:00
Christoph Langer
0b97e57519 8160768: Add capability to custom resolve host/domain names within the default JNDI LDAP provider
Co-authored-by: Rob McKenna <rob.mckenna@oracle.com>
Reviewed-by: alanb, dfuchs, chegar, mchung, vtewari, goetz
2018-11-12 08:33:59 -08:00
Chris Yin
e6d53349f8 8241130: com.sun.jndi.ldap.EventSupport.removeDeadNotifier: java.lang.NullPointerException
Reviewed-by: dfuchs
2020-03-20 10:24:46 +08:00
Jean Christophe Beyler
0799b05a61 8247615: Initialize the bytes left for the heap sampler
Initialize the heap sampler correctly before usage

Reviewed-by: sspitsyn, martin, manc
2020-08-07 11:23:24 -07:00
Kim Barrett
4f50ab34c7 8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code
Expanded permitted threads to include all NamedThreads.

Reviewed-by: dcubed, sspitsyn
2018-09-07 14:44:52 -04:00
Paul Hohensee
ca4d282ed2 8252157: JDK-8231209 11u backport breaks jmm binary compatibility
Move jmm_GetOneThreadAllocatedMemory to reserved_2 jmm_interface slot

Reviewed-by: simonis, clanger
2020-08-27 17:09:58 -07:00
Yasumasa Suenaga
cf4b02f086 8249215: JFrame::setVisible crashed with -Dfile.encoding=UTF-8 on Japanese Windows
Reviewed-by: prr, serb
2020-08-03 15:29:48 +09:00
Zhengyu Gu
1cb45e2fc0 8251487: Shenandoah: missing detail timing tracking for final mark cleaning phase
Reviewed-by: rkennke
2020-08-27 08:34:42 -04:00
Valerie Peng
5720214692 8244151: Update MUSCLE PC/SC-Lite headers to the latest release 1.8.26
Updated from 1.8.24 to 1.8.26

Reviewed-by: xuelei
2020-05-11 18:49:01 +00:00
Joe Darcy
e71b317f16 8226809: Circular reference in printed stack trace is not correctly indented & ambiguous
Reviewed-by: bpb
2019-06-28 18:51:01 -07:00
Roland Westrelin
bfd5b4271d 8247824: CTW: C2 (Shenandoah) compilation fails with SEGV in SBC2Support::pin_and_expand
Reviewed-by: rkennke, thartmann
2020-06-18 13:51:40 +02:00
Alex Menkov
40049b8edf 8212665: com/sun/jdi/DeferredStepTest.java: jj1 (line 57) - unexpected. lastLine=52, minLine=52, maxLine=55
Reviewed-by: jcbeyler, gadams, sspitsyn
2018-10-22 14:41:51 -07:00
Alex Menkov
dfe01b2d1f 8212629: [TEST] wrong breakpoint in test/jdk/com/sun/jdi/DeferredStepTest
Reviewed-by: cjplummer, jcbeyler
2018-10-19 09:31:52 -07:00
Alex Menkov
efba64f944 8211292: [TEST] convert com/sun/jdi/DeferredStepTest.sh test
Reviewed-by: sspitsyn, jcbeyler
2018-10-09 12:26:29 -07:00
Alex Menkov
ec2a72871a 8209332: [TEST] test/jdk/com/sun/jdi/CatchPatternTest.sh is incorrect
Reviewed-by: jcbeyler, dtitov, cjplummer
2018-10-02 12:08:51 -07:00
Alex Menkov
d5bae83cc9 8203928: [Test] Convert non-JDB scaffolding serviceability shell script tests to java
Reviewed-by: jcbeyler, cjplummer
2018-10-02 12:06:29 -07:00
Alex Menkov
7615d446fb 8210760: [TEST] rewrite com/sun/jdi shell tests to java version - step4
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2018-09-21 11:28:14 -07:00
Alex Menkov
6f192524a1 8210725: com/sun/jdi/RedefineClearBreakpoint.java fails with waitForPrompt timed out after 60 seconds
8210748: [TESTBUG] lib.jdb.Jdb.waitForPrompt() should clarify which output is the pending reply after a timeout

Reviewed-by: jcbeyler, gadams, sspitsyn
2018-09-21 10:18:12 -07:00
Alex Menkov
cd2decaf5a 8210560: [TEST] convert com/sun/jdi redefineClass-related tests
Reviewed-by: jcbeyler, sspitsyn
2018-09-12 12:29:40 -07:00
Alex Menkov
f5b3c0f28b 8210243: [TEST] rewrite com/sun/jdi shell tests to java version - step3
Reviewed-by: jcbeyler, cjplummer, sspitsyn
2018-09-05 10:39:16 -07:00
Alex Menkov
ada30dc770 8067354: com/sun/jdi/GetLocalVariables4Test.sh failed
Reviewed-by: jcbeyler, sspitsyn
2018-08-31 09:53:37 -07:00
Alex Menkov
f055cb0d86 8209604: [TEST] rewrite com/sun/jdi shell tests to java version - step2
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2018-08-30 11:53:49 -07:00
Alex Menkov
e91b82c547 8203393: com/sun/jdi/JdbMethodExitTest.sh and JdbExprTest.sh fail due to timeout
Reviewed-by: sspitsyn, cjplummer
2018-08-27 16:45:18 -07:00
Alex Menkov
7228856997 8209605: com/sun/jdi/BreakpointWithFullGC.java fails with ZGC
Reviewed-by: sspitsyn, dholmes
2018-08-22 10:28:34 -07:00
Alex Menkov
b6f4630043 8209608: Problem list com/sun/jdi/BreakpointWithFullGC.java
Reviewed-by: mikael, dtitov, dcubed
2018-08-16 16:44:51 -07:00
Alex Menkov
a0c1a57810 8209517: com/sun/jdi/BreakpointWithFullGC.java fails with timeout
Reviewed-by: dcubed, mikael
2018-08-16 10:20:00 -07:00
Alex Menkov
50d529b6a3 8209109: [TEST] rewrite com/sun/jdi shell tests to java version - step1
Reviewed-by: sspitsyn, jcbeyler
2018-08-14 11:56:32 -07:00
Sergey Bylokhov
ae7f7c8f61 8251469: Better cleanup for test/jdk/javax/imageio/SetOutput.java
Reviewed-by: prr, pbansal
2020-08-18 00:08:21 +01:00
Aleksey Shipilev
8aff6e0138 8252120: compiler/oracle/TestCompileCommand.java misspells "occured"
Reviewed-by: iignatyev
2020-08-21 09:38:27 +02:00
Jaikiran Pai
0ea4ef4917 8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
Reviewed-by: dfuchs, chegar
2020-03-24 15:47:51 +05:30
Aleksey Shipilev
a96a8a2874 8244729: Shenandoah: remove resolve paths from SBSA::generate_shenandoah_lrb
Reviewed-by: rkennke
2020-05-25 11:05:23 +02:00
Aleksey Shipilev
74181a489d 8250844: Make sure {type,obj}ArrayOopDesc accessors check the bounds
Reviewed-by: rrich, coleenp
2020-08-02 16:58:14 +02:00
Zhengyu Gu
1bc265d41b 8245880: Shenandoah: check class unloading flag early in concurrent code root scan
Reviewed-by: shade
2020-05-29 13:40:51 -04:00
Roman Kennke
75d5f726a7 8251451: Shenandoah: Remark ObjectSynchronizer roots with I-U
Reviewed-by: shade
2020-08-12 13:19:44 +02:00
Charlie Gracie
65510d712c 8241065: Shenandoah: remove leftover code after JDK-8231086
Reviewed-by: rkennke
2020-08-14 18:23:43 +02:00
Goetz Lindenmaier
ec417ed125 Added tag jdk-11.0.9+5 for changeset 55237fa85afb 2020-08-26 08:10:19 +02:00
Roman Kennke
2702e38784 8222079: Don't use memset to initialize fields decode_env constructor in disassembler.cpp
Reviewed-by: dlong, stuefe, mdoerr
2019-07-04 20:29:56 +02:00
Goetz Lindenmaier
ca03f6bc5d Added tag jdk-11.0.9+4 for changeset cb299db4a569 2020-08-19 09:34:30 +02:00
Volker Simonis
453c86e63c 8234011: (zipfs) Memory leak in ZipFileSystem.releaseDeflater()
Reviewed-by: clanger, lancea
2019-11-15 20:29:11 +01:00
Julia Boes
c4fa7f862f 8230000: some httpclients testng tests run zero test
Two tests needed to declared their test methods public, the last one was a simple abstract framework for subclasses and needed its @test keyword removed.

Reviewed-by: chegar, aefimov, dfuchs
2019-08-26 14:48:12 +01:00
Roman Kennke
d6eee47c32 8249560: Shenandoah: Fix racy GC request handling
Reviewed-by: shade
2020-07-16 11:49:04 +02:00
Jayathirth D V
12a4414349 6532025: GIF reader throws misleading exception with truncated images
Reviewed-by: prr, bpb
2020-03-10 16:07:58 +05:30
Alex Menkov
588a1188d5 8238710: LingeredApp doesn't log stdout/stderr if exits with non-zero code
Reviewed-by: cjplummer, sspitsyn
2020-02-13 13:43:09 -08:00
Nikola Grcevski
4bfddecf84 8241007: Shenandoah: remove ShenandoahCriticalControlThreadPriority support
Reviewed-by: adityam, shade
2020-08-10 08:36:56 +02:00
Charlie Gracie
12c7908162 8241574: Shenandoah: remove ShenandoahAssertToSpaceClosure
Reviewed-by: zgu, bmathiske, shade
2020-08-10 08:37:05 +02:00
Roman Kennke
8458032d34 8251354: Shenandoah: Fix jdk/jfr/tool/TestPrintJSON.java test failure
Reviewed-by: clanger, stuefe
2020-08-14 14:01:47 +02:00
Erik Joelsson
1f0c960d4c 8246094: [macos] Sound Recording and playback is not working
Reviewed-by: prr, serb
2020-07-24 10:52:02 -07:00
Yasumasa Suenaga
54e0d545a9 8250826: jhsdb does not work with coredump which comes from Substrate VM
Reviewed-by: cjplummer, sspitsyn
2020-08-14 13:41:33 +09:00
Christoph Langer
8fb4ba590e Added tag jdk-11.0.9+3 for changeset d8a0513b92ee 2020-08-12 09:01:58 +02:00
Zdenek Zambersky
5d872cf832 8251117: Cannot check P11Key size in P11Cipher and P11AEADCipher
Reviewed-by: valeriep
2020-08-04 17:19:21 -03:00
Leonid Mesnik
55ba74158d 8241478: vmTestbase/gc/gctests/Steal/steal001/steal001.java fails with OOME
Reviewed-by: tschatzl, kbarrett
2020-03-31 13:35:21 -07:00
Christoph Goettschkes
addabe945e 8231953: Wrong assumption in assertion in oop::register_oop
On ARM32 thumb mode, the pc of the current frame is always zero

Reviewed-by: coleenp, dcubed
2019-10-24 08:49:21 -04:00
Joe Wang
60c861f536 8230094: CCE in createXMLEventWriter(Result) over an arbitrary XMLStreamWriter
Reviewed-by: lancea
2019-08-28 19:02:51 +00:00
Rajan Halade
e0018efbb0 8243320: Add SSL root certificates to Oracle Root CA program
Reviewed-by: mullan
2020-08-03 11:35:24 -07:00
Vladimir Kozlov
380fc7b171 8248987: AOT's Linker.java seems to eagerly fail-fast on Windows
Treat all problems in getVC141AndNewerLinker() as non-fatal. Print error messages with --verbose flag.

Reviewed-by: iignatyev, iveresov
2020-07-08 15:46:02 -07:00
Aleksey Shipilev
e0a8371651 8249953: Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
Reviewed-by: rkennke
2020-07-23 12:46:24 +02:00
Roman Kennke
c4ddf46649 8249801: Shenandoah: Clear soft-refs on requested GC cycle
Reviewed-by: shade
2020-07-21 17:27:44 +02:00
Lance Andersen
eacde04a6a 8212807: tools/jar/multiRelease/Basic.java times out
Reviewed-by: bchristi
2019-06-02 17:13:31 -04:00
Robert Field
8cd94939c1 8223688: JShell: crash on the instantiation of raw anonymous class
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
487fbff98a 8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
8232855: jshell missing word in /help help

Reviewed-by: jlahoda
2019-12-11 14:39:04 -08:00
Robert Field
1015d12083 8211694: JShell: Redeclared variable should be reset
Reviewed-by: sundar
2018-10-24 21:17:30 -07:00
Jonathan Gibbons
33de97470d 8234687: change javap reporting on unknown attributes
Reviewed-by: mchung
2019-11-22 16:26:35 -08:00
Chris Hegarty
b6d4ac13d4 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Leonid Mesnik
03f7e23a75 8241319: WB_GetCodeBlob doesn't have ResourceMark
Reviewed-by: iignatyev, thartmann
2020-03-20 17:37:52 -07:00
Liu Xin
bf9b584cd7 8234541: C1 emits an empty message when it inlines successfully
Use "inline" as the message when successfull

Reviewed-by: thartmann, mdoerr
2019-11-30 14:33:05 -08:00
Hamlin Li
933ee3bf93 8134599: TEST_BUG: java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use
Reviewed-by: weijun, darcy, rriggs, coffeys
2019-10-17 13:34:06 +08:00
Chris Yin
3679ce9888 8202117: com/sun/jndi/ldap/RemoveNamingListenerTest.java fails intermittently: Connection reset
Reviewed-by: dfuchs, vtewari
2020-03-19 11:07:36 +08:00
Christoph Langer
637c2805d0 Added tag jdk-11.0.9+2 for changeset 3112657edde9 2020-08-05 07:21:09 +02:00
Ichiroh Takiguchi
e2230dc5e6 8232161: Align some one-way conversion in MS950 charset with Windows
MS950 charset encoder's conversion table is changed

Reviewed-by: naoto
2020-03-18 18:04:51 +09:00
Fei Yang
e2534f948d 8221658: aarch64: add necessary predicate for ubfx patterns
Reviewed-by: aph
2019-04-08 14:40:31 +08:00
Huang Wang
a64f7fdf81 8250609: C2 crash in IfNode::fold_compares
Reviewed-by: kvn, chagedorn
2020-07-28 10:38:04 +08:00
Zhengyu Gu
f42039ab39 8250827: Shenandoah: needs to reset/finish StringTable's dead count before/after parallel walk
Reviewed-by: rkennke
2020-08-04 09:23:49 -04:00
Sergey Bylokhov
19012b1c74 8250755: Better cleanup for jdk/test/javax/imageio/plugins/shared/CanWriteSequence.java
Reviewed-by: jdv
2020-07-31 00:19:42 +01:00
Severin Gehwolf
805a4e7bdf 8250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics
Reviewed-by: aph, dholmes, bobv, shade
2020-07-24 19:57:06 +02:00
Frank Yuan
f94872fa72 8230010: Remove jdk8037819/BasicTest1.java
8230002: javax/xml/jaxp/unittest/transform/SecureProcessingTest.java runs zero test

Reviewed-by: joehw, vtewari
2019-08-28 11:00:55 +08:00
Daniel Fuchs
c1b5844c06 8208281: java/nio/channels/AsynchronousSocketChannel/Basic.java timed out
Modify the test to accept the peer socket before closing the client socket

Reviewed-by: alanb
2020-01-14 11:45:29 +00:00
Joe Wang
e5dc964fdf 8233686: XML transformer uses excessive amount of memory
Remove unnecessary object creation and also update xalan.md file

Reviewed-by: lancea
2019-11-14 18:41:04 +00:00
Coleen Phillimore
a956efad0f 8233386: Initialize NULL fields for unused decorations
Reviewed-by: shade, hseigel, dcubed
2019-11-01 10:04:49 -04:00
Lance Andersen
0b078acdb2 8230870: (zipfs) Add a ZIP FS test that is similar to test/jdk/java/util/zip/EntryCount64k.java
Reviewed-by: clanger, martin
2019-09-17 14:00:36 -04:00
Jan Lahoda
ac0fc599cb 8221759: Crash when completing \"java.io.File.path\"
Do not provide documentation for inaccessible elements.

Reviewed-by: rfield
2019-05-09 11:58:26 +02:00
Vladimir Ivanov
cbf7086f06 8247502: PhaseStringOpts crashes while optimising effectively dead code
Reviewed-by: kvn, thartmann
2020-07-14 16:57:34 +03:00
Nils Eliasson
c65190d880 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2019-07-10 18:48:05 +02:00
Rajan Halade
0c9f3805f6 8243321: Add Entrust root CA - G4 to Oracle Root CA program
Reviewed-by: mullan
2020-07-29 09:31:38 -07:00
Roman Kennke
20a0625da8 8250784: Shenandoah: A Low-Pause-Time Garbage Collector
Reviewed-by: aph, kdnilsen, adityam
2020-07-29 17:15:58 +02:00
Mikael Vidstedt
38ab158c39 8237182: Update copyright header for shenandoah and epsilon files
Reviewed-by: iignatyev, zgu
2020-01-14 19:27:03 -08:00
Christoph Langer
204795a11b Added tag jdk-11.0.9+1 for changeset 5cc275af8419 2020-07-29 10:04:59 +02:00
Sandhya Viswanathan
3977b0b374 8224234: compiler/codegen/TestCharVect2.java fails in test_mulc
Reviewed-by: vlivanov, thartmann
2019-06-07 15:35:32 -07:00
Sandhya Viswanathan
5020dc65b8 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Erik Joelsson
90459b35b7 8249255: Build fails if source code in cygwin home dir
Reviewed-by: tbell
2020-07-14 07:09:11 -07:00
John Jiang
b985460484 8243029: Rewrite javax/net/ssl/compatibility/Compatibility.java with a flexible interop test framework
Reviewed-by: xuelei
2020-04-24 15:28:57 +08:00
Thomas Stuefe
479b64233b 8223777: In posix_spawn mode, failing to exec() jspawnhelper does not result in an error
Reviewed-by: rriggs, martin, fweimer
2019-06-05 09:12:45 +02:00
Bernard Blaser
466386ef3b 8193367: Annotated type variable bounds crash javac
Reviewed-by: mcimadamore, vromero
2019-01-26 15:50:59 +01:00
Valerie Peng
2e871a880e 8242556: Cannot load RSASSA-PSS public key with non-null params from byte array
Update AlgorithmId to use alg name before oid str when parsing DER bytes

Reviewed-by: mullan
2020-04-14 22:12:13 +00:00
Vladimir Kempik
d7038d5bd9 8238284: [macos] Zero VM build fails due to an obvious typo
Reviewed-by: goetz
2020-07-02 13:27:21 +03:00
Alex Menkov
c73bfef563 8204994: SA might fail to attach to process with "Windbg Error: WaitForEvent failed"
Reviewed-by: sspitsyn, cjplummer
2020-06-02 13:22:06 -07:00
Vladimir Kempik
8ee3268a3a 8248495: [macos] zerovm is broken due to libffi headers location
Reviewed-by: ihse, erikj
2020-07-02 20:33:06 +03:00
Shuai Wang
2982116100 8248851: CMS: Missing memory fences between free chunk check and klass read
Reviewed-by: aph, kbarrett, dholmes
2020-07-17 07:41:22 +08:00
Dong Wangya
f01f46a5a5 8247979: aarch64: missing side effect of killing flags for clearArray_reg_reg
Reviewed-by: adinn
2020-06-22 20:26:02 +08:00
Yasumasa Suenaga
378b582eb9 8238388: libj2gss/NativeFunc.o "multiple definition" link errors with GCC10
Fixed libj2gss link errors caused by GCC10 default -fno-common

Reviewed-by: weijun
2020-07-21 21:42:53 +09:00
Yasumasa Suenaga
6a3dfe5dc8 8238386: (sctp) jdk.sctp/unix/native/libsctp/SctpNet.c "multiple definition" link errors with GCC10
Fixed libsctp link errors caused by GCC10 default -fno-common

Reviewed-by: chegar
2020-07-21 21:40:40 +09:00
Patrick Zhang
492857e8fb 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10
Reviewed-by: stuefe, clanger, rriggs
2020-07-21 21:38:13 +09:00
Ambarish Rapte
b18264e42f 8249278: Revert JDK-8226253 which breaks the spec of AccessibleState.SHOWING for JList
Reviewed-by: prr, serb
2020-07-16 06:35:01 +05:30
Matthias Baesken
1da4870693 8236617: jtreg test containers/docker/TestMemoryAwareness.java fails after 8226575
Reviewed-by: bobv, clanger, mdoerr, adinn
2020-01-03 11:10:42 +01:00
Severin Gehwolf
ffc0d7f8c8 8226575: OperatingSystemMXBean should be made container aware
Reviewed-by: adinn
2020-07-03 15:09:27 +02:00
Pankaj Bansal
e488725a86 8249251: [dark_mode ubuntu 20.04] The selected menu is not highlighted in GTKLookAndFeel
Reviewed-by: serb, prr
2020-07-15 23:40:18 +05:30
Joe Wang
07aa79a12f 8248348: Regression caused by the update to BCEL 6.0
Reviewed-by: smarks, plevart
2020-07-03 00:09:45 +00:00
Jan Lahoda
6baa9f394e 8244763: Update --release 8 symbol information after JSR 337 MR3
Reviewed-by: jjg, wetmore
2020-05-18 18:20:53 +02:00
Hai-May Chao
e830e42764 8245151: jarsigner should not raise duplicate warnings on verification
Reviewed-by: weijun
2020-05-19 11:55:44 +08:00
Naoto Sato
fb91078065 8234347: "Turkey" meta time zone does not generate composed localized names
8236548: Localized time zone name inconsistency between English and other locales

Reviewed-by: joehw, rriggs
2020-02-12 08:25:35 -08:00
Vicente Romero
1818fe02d1 8213703: LambdaConversionException: Invalid receiver type not a subtype of implementation type interface
Reviewed-by: mcimadamore
2018-12-05 09:34:01 -05:00
Aleksey Shipilev
f6c5ac7b94 8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)
Reviewed-by: dholmes, iklam
2018-10-31 19:00:59 +01:00
Goetz Lindenmaier
e0345c42d4 8249277: TestVerifyIterativeGVN.java is failing with timeout in OpenJDK 11
See also 8248521: TestVerifyIterativeGVN.java is failing with timeout

Reviewed-by: mbaesken, chagedorn
2020-07-19 09:40:22 +02:00
Shivangi Gupta
955d9fb554 8246330: Add TLS Tests for Legacy ECDSA curves
Reviewed-by: rhalade
2020-06-09 00:04:40 -07:00
John Jiang
7b3ad8bff9 8249159: Downport test rework for SSLSocketTemplate from 8224650
Reviewed-by: mbaesken
2020-07-17 10:48:49 +02:00
Andrew John Hughes
cf31792485 Merge 2020-07-14 20:20:16 +01:00
Andrew John Hughes
75e24010e9 Added tag jdk-11.0.8-ga for changeset 0b0d55cb09b2 2020-07-14 17:43:35 +01:00
Andrew John Hughes
af7683df8d Added tag jdk-11.0.8+10 for changeset 0b0d55cb09b2 2020-07-10 12:33:55 +01:00
Valerie Peng
871fe6e553 8248505: Unexpected NoSuchAlgorithmException when using secure random impl from BCFIPS provider
Use getService(...) call for Provider.getDefaultSecureRandomService()

Reviewed-by: weijun, coffeys, mullan
2020-07-07 16:55:29 +00:00
Andrew John Hughes
8aacbf05d7 Added tag jdk-11.0.8+9 for changeset 59f8565ee5e2 2020-07-08 18:45:42 +01:00
Joe Wang
9c2500cdcf 8242136: Better XML namespace handling
Reviewed-by: lancea, dfuchs, skoivu, rhalade, kravikumar
2020-07-08 17:37:34 +01:00
Xue-Lei Andrew Fan
b2a0eb5956 8236464: SO_LINGER option is ignored by SSLSocket in JDK 11
Reviewed-by: ascarpino
2020-04-24 13:30:47 -07:00
Erik Joelsson
e89475b348 8213214: Set -Djava.io.tmpdir= when running tests
Reviewed-by: alanb, mikael
2020-06-23 06:51:35 -07:00
Alex Menkov
9bb9713d4c 8241522: Manifest improved jar headers redux
Reviewed-by: sspitsyn, jwilhelm, mschoene, rhalade
2020-04-15 13:26:38 -07:00
Hannes Wallnöfer
e86142c522 8240169: javadoc fails to link to non-modular api docs
Reviewed-by: jjg
2020-04-08 22:04:51 +02:00
Weijun Wang
c620e09076 8241379: Update JCEKS support
Reviewed-by: ahgross, mullan, rhalade
2020-04-03 17:24:59 +08:00
Sergey Bylokhov
67be318faa 8240482: Improved WAV file playback
Reviewed-by: amenkov, rhalade, mschoene, prr
2020-03-23 19:57:51 -07:00
Phil Race
2b3b1511e9 8240119: Less Affine Transformations
Reviewed-by: serb, bpb, mschoene, rhalade
2020-03-17 13:46:19 -07:00
Sergey Bylokhov
9f28b199bc 8238925: Enhance WAV file playback
Reviewed-by: prr, amenkov, rhalade, mschoene
2020-03-10 07:07:09 +01:00
Brian Burkhalter
3eb3cc4c4c 8238920: Better Buffer support
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-03-18 16:05:15 -07:00
Phil Race
eeceadc313 8238843: Enhanced font handing
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2020-03-25 16:26:21 -07:00
Weijun Wang
b9dbd19ddc 8238804: Enhance key handling process
Reviewed-by: rriggs, mullan, ahgross, rhalade
2020-03-18 13:35:16 +08:00
Brian Burkhalter
a229455710 8238013: Enhance String writing
Reviewed-by: alanb, ahgross, rhalade, rriggs
2020-04-03 19:54:53 -07:00
Phil Race
e6e6c24c3e 8238002: Better matrix operations
Reviewed-by: serb, erikj, mschoene, rhalade
2020-02-12 12:18:46 -08:00
Weijun Wang
834bbc0fc8 8237592: Enhance certificate verification
Reviewed-by: xuelei, mullan, rhalade, ahgross
2020-04-18 12:16:42 +08:00
Chris Hegarty
0ffadfa106 8237117: Better ForkJoinPool behavior
Reviewed-by: dfuchs, alanb, rhalade, mullan
2020-04-03 17:20:45 +01:00
Ben Taylor
dae9bdd4d0 8236867: Enhance Graal interface handling
Includes "[GR-14791] Fix NPE in InliningData.getInlineInfo" (Graal 4c69db20e2b614c29af27ed95d20e3b80bd21848)

Reviewed-by: andrew
2020-07-07 23:26:14 +01:00
Xue-Lei Andrew Fan
369f436bca 8236191: Enhance OID processing
Reviewed-by: jnimeh, weijun, ahgross, rhalade
2020-04-10 11:46:17 +00:00
Roger Riggs
b2f354b928 8234836: Improve serialization handling
Reviewed-by: skoivu, rhalade, chegar
2020-04-16 10:57:51 -04:00
Sean Mullan
3d77bd034f 8234418: Better parsing with CertificateFactory
Reviewed-by: weijun, mschoene, rhalade
2020-02-11 16:29:00 -08:00
Sean Mullan
0c6b6fd0d5 8234042: Better factory production of certificates
Reviewed-by: weijun, rhalade, mschoene
2020-01-17 08:04:14 -05:00
Sean Mullan
6615d71fd0 8234032: Improve basic calendar services
Reviewed-by: weijun, rhalade, mschoene
2020-02-11 16:28:38 -08:00
Sergey Bylokhov
939f95f62c 8233255: Better Swing Buttons
Reviewed-by: alitvinov, prr, ahgross, rhalade
2020-01-28 10:51:00 -08:00
Jayathirth D V
562ce72814 8233239: Enhance TIFF support
Reviewed-by: prr, bpb, mschoene, rhalade
2020-02-20 12:38:16 +05:30
James Guo
e2eba8daaa 8233234: Better Zip Naming
Reviewed-by: andrew, mbalao
2020-07-06 06:17:53 +01:00
Joe Wang
e8260ebecf 8232014: Expand DTD support
Reviewed-by: lancea, dfuchs, mschoene, rhalade, aefimov
2020-02-12 18:59:58 +00:00
Stuart Marks
8a63f7ba4e 8231800: Better listing of arrays
Reviewed-by: alanb, rhalade, ahgross, igerasim
2020-04-07 18:43:51 -07:00
Aleksei Efimov
9c8dc0d14c 8230613: Better ASCII conversions
Reviewed-by: dfuchs, naoto, mschoene, rhalade
2020-03-02 19:11:29 -08:00
Goetz Lindenmaier
e81745c5c5 Added tag jdk-11.0.8+8 for changeset 40b646e9d8fb 2020-06-23 17:52:32 +02:00
Valerie Peng
9da6593730 8246613: Choose the default SecureRandom algo based on registration ordering
Fixed java.security.Provider and SecureRandom to use the 1st registered SecureRandom service

Reviewed-by: weijun, mullan
2020-06-12 02:34:44 +00:00
Prasadrao Koppula
79e12a2356 8246031: SSLSocket.getSession() doesn't close connection for timeout/ interrupts
Reviewed-by: xuelei, coffeys
2020-06-11 21:54:51 +05:30
Goetz Lindenmaier
88235a8240 Added tag jdk-11.0.8+7 for changeset 46d4984bb3c6 2020-06-10 09:37:53 +02:00
Rajan Halade
6d36251c95 8225069: Remove Comodo root certificate that is expiring in May 2020
Reviewed-by: mullan
2020-05-01 11:09:57 -07:00
Weijun Wang
40df8d1827 8227595: keytool/fakegen/DefaultSignatureAlgorithm.java fails due to "exitValue = 6"
Reviewed-by: mullan
2019-07-24 10:09:22 +08:00
Paul Hohensee
6e8ad99641 8231968: getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes
Pass Thread.currentThread().getId() to getThreadAllocatedBytes, remove its implSpec

Reviewed-by: dholmes, mchung, sspitsyn
2019-10-23 18:43:18 -07:00
Paul Hohensee
99c6bf44cb 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Aleksey Shipilev
331975cff9 8221918: runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
Reviewed-by: jiangli, dholmes
2019-04-05 09:06:19 +02:00
Rob McKenna
03ac6a043d 8214440: ldap over a TLS connection negotiate failed with "javax.net.ssl.SSLPeerUnverifiedException: hostname of the server '' does not match the hostname in the server's certificate"
Reviewed-by: vtewari, xuelei
2019-01-10 07:54:16 -08:00
Xue-Lei Andrew Fan
d4746fac74 8242141: New System Properties to configure the TLS signature schemes
Reviewed-by: ascarpino, jnimeh, mullan
2020-04-22 10:51:16 -07:00
Goetz Lindenmaier
7bd6f58c52 Added tag jdk-11.0.8+6 for changeset e42c6d1a1993 2020-06-03 08:26:43 +02:00
Ichiroh Takiguchi
5ed0a895b1 8242541: Small charset issues (ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C)
Modify ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C charset related files

Reviewed-by: naoto
2020-05-01 21:43:28 +09:00
Goetz Lindenmaier
e7da987e5c Added tag jdk-11.0.8+5 for changeset 8df1a601187c 2020-05-27 09:33:02 +02:00
Xin Liu
34ab95d520 8022574: remove HaltNode code after uncommon trap calls
Reviewed-by: thartmann, mdoerr, simonis
2020-05-12 10:59:12 +02:00
Christian Hagedorn
3a1be266bb 8231720: Some perf regressions after 8225653
Fixed emitting of unused assembly code in 8225653​ which had a negative impact on performance in tight loops.

Reviewed-by: kvn, thartmann
2019-10-10 10:27:12 +02:00
Christian Hagedorn
c09ca0b368 8225653: Provide more information when hitting SIGILL from HaltNode
Add information string for each HaltNode which is printed if hit at runtime.

Reviewed-by: vlivanov, thartmann
2019-09-10 08:43:33 +02:00
Erik Joelsson
f0f85863fc 8244951: Missing entitlements for hardened runtime
Reviewed-by: ihse
2020-05-14 06:58:59 -07:00
Martin Doerr
2db1126ad1 8245047: [PPC64] C2: ReverseBytes + Load always match to unordered Load (acquire semantics missing)
Introduce separate nodes with acquire semantics which match ReverseBytes + Load.acquire.

Reviewed-by: shade, lucy
2020-05-19 15:11:58 +02:00
Erik Österlund
4105c99e43 8216541: CompiledICHolders of VM locked unloaded nmethods are released too late
Reviewed-by: kvn, thartmann
2019-02-05 20:06:10 +01:00
Ekaterina Pavlova
2a2daaae22 8225622: [AOT] runtime/SharedArchiveFile/TestInterpreterMethodEntries.java crashed with AOTed java.base
Reviewed-by: kvn
2019-06-12 12:31:32 -07:00
Rajan Halade
d606f783e1 8225068: Remove DocuSign root certificate that is expiring in May 2020
Reviewed-by: mullan
2020-04-30 15:21:15 -07:00
Daniil Titov
d7f91932de 8206179: com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value
Reviewed-by: sspitsyn, cjplummer
2019-07-17 11:23:51 -07:00
Tom Rodriguez
cf620ba2d8 8191930: [Graal] emits unparseable XML into compile log
Reviewed-by: kvn
2020-04-02 11:20:53 -07:00
Joe Wang
79556ec937 8242470: Update Xerces to Version 2.12.1
Reviewed-by: lancea, naoto
2020-04-10 17:00:40 +00:00
Ioi Lam
fb5ee67369 8213275: ReplaceCriticalClasses.java fails with jdk.internal.vm.PostVMInitHook not found
Reviewed-by: lfoltan, sspitsyn, shade
2018-11-28 07:51:15 -08:00
Ioi Lam
ab799160ac 8212200: assert when shared java.lang.Object is redefined by JVMTI agent
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Vladimir Kempik
e22205dfd4 8243470: [macos] bring back O2 opt level for unsafe.cpp
Remove special case for unsafe.cpp on clang macos

Reviewed-by: erikj, ihse
2020-06-23 13:41:55 +03:00
Foivos Zakkak
56a555adea 8247246: Add explicit ResolvedJavaType.link and expose presence of default methods
Reviewed-by: kvn, sgehwolf, adinn
2020-07-02 17:17:53 +02:00
Severin Gehwolf
ac4c230359 8222769: [TESTBUG] TestJFRNetworkEvents should not rely on hostname command
Using InetAddress.getLocalHost()

Reviewed-by: egahlin, lmesnik
2019-05-01 13:25:54 -07:00
Martin Mraz
ebd076a16b 8203281: [Windows] JComboBox change in ui when editor.setBorder() is called
Reviewed-by: psadhukhan
2018-10-04 14:56:03 +05:30
Zhengyu Gu
bfdd8a0d84 8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
Reviewed-by: stuefe
2020-05-06 16:02:10 -04:00
Christian Hagedorn
31fc07f34f 8246203: Segmentation fault in verification due to stack overflow with -XX:+VerifyIterativeGVN
Replace the recursive verification algorithm with an iterative one to avoid a stack overflow for large graphs.

Reviewed-by: kvn, thartmann
2020-06-15 09:50:11 +02:00
Christian Hagedorn
2379f61388 8244719: CTW: C2 compilation fails with "assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it"
Fix Parse::Block::init_graph() to also count predecessors for exception blocks because they can have a direct bytecode jump to them resulting in this assertion failure.

Reviewed-by: kvn, thartmann
2020-06-10 17:56:23 +02:00
Weijun Wang
912506ccec 8242184: CRL generation error with RSASSA-PSS
Reviewed-by: xuelei
2020-04-08 10:13:12 +08:00
Kevin Walls
7dd7215743 8240295: hs_err elapsed time in seconds is not accurate enough
Reviewed-by: dholmes, sspitsyn
2020-03-09 12:54:53 +00:00
Valerie Peng
870d4cdc67 8238448: RSASSA-PSS signature verification fail when using certain odd key sizes
Calculate and set offset for correct verification for such key sizes

Reviewed-by: xuelei
2020-02-12 02:44:45 +00:00
Alex Menkov
d3db82a09a 8235846: Improve WindbgDebuggerLocal implementation
Reviewed-by: sspitsyn, cjplummer
2020-01-24 11:55:15 -08:00
Weijun Wang
d55e711405 8227059: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timed out
Reviewed-by: xuelei
2019-07-10 09:43:35 +08:00
Yaofei Song
aeddea9227 8248219: aarch64: missing memory barrier in fast_storefield and fast_accessfield
Reviewed-by: aph
2020-06-28 16:47:25 +08:00
Naoto Sato
79bfd58ef1 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Reviewed-by: lancea, rgoel
2019-03-07 12:56:48 -08:00
Roland Westrelin
76e7e92715 8240676: Meet not symmetric failure when running lucene on jdk8
Reviewed-by: kvn, thartmann
2020-06-23 14:40:12 +02:00
Patrick Zhang
780e92cd6c 8248214: Add paddings for TaskQueueSuper to reduce false-sharing cache contention
This is a downport of a part of JDK-8243326

Reviewed-by: goetz, clanger
2020-06-16 23:15:18 +08:00
Matthias Baesken
ead0e68a29 8210147: adjust some WSAGetLastError usages in windows network coding
Reviewed-by: clanger, stuefe
2018-08-29 10:11:51 +02:00
Vladimir Kozlov
c8c57aa865 8216151: [Graal] Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.debug
Update default.policy based on latest changes in jdk.internal.vm.compiler.management

Reviewed-by: thartmann, alanb, mchung
2019-01-14 13:45:19 -08:00
Paul Hohensee
1908b7d51f 8245649: Revert 8245397 backport of 8230591
Revert 8245397 backport of 8230591

Reviewed-by: clanger
2020-05-23 11:50:42 -07:00
Goetz Lindenmaier
f29ce68db8 Merge 2020-05-20 08:49:32 +02:00
Goetz Lindenmaier
6e53609d04 Added tag jdk-11.0.8+4 for changeset aa6c93b4f1ac 2020-05-20 08:36:02 +02:00
Tom Rodriguez
7d3ea97ffd 8241458: [JVMCI] add mark value to expose CodeOffsets::Frame_Complete
Reviewed-by: kvn
2020-03-24 13:12:19 -07:00
Magnus Ihse Bursie
3d576321c5 8217404: --with-jvm-features doesn't work when multiple features are explicitly disabled
Reviewed-by: vlivanov, kbarrett
2020-05-19 13:55:43 -07:00
Matthias Neugschwandtner
dfac805c92 8235908: omit ThreadPriorityPolicy warning when value is set from image
Reviewed-by: dholmes, clanger, kvn
2020-03-18 15:59:07 -07:00
Pengfei Li
9a5f4b4dc5 8230591: AArch64: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: aph
2020-01-15 13:24:51 +08:00
Kim Barrett
56d2c7fbcb 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Add java_shift_xxx helpers and use them.

Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
Erik Joelsson
0f4c61dd96 8232134: Change to Visual Studio 2017 15.9.16 for building on Windows at Oracle
Reviewed-by: ihse
2019-10-11 06:31:52 -07:00
Dean Long
a79dad9969 8224931: disable JAOTC invokedynamic support until 8223533 is fixed
Reviewed-by: kvn, never
2019-05-29 13:31:56 -07:00
Sergey Bylokhov
c14870d688 8239819: XToolkit: Misread of screen information memory
Reviewed-by: prr
2020-04-08 02:53:43 -07:00
Prasadrao Koppula
bd2c0a6c37 8237474: Default SSLEngine should create in server role
Reviewed-by: xuelei, coffeys
2020-04-14 14:16:58 +00:00
Coleen Phillimore
d916585ebe 8224847: gc/stress/TestReclaimStringsLeaksMemory.java fails with reserved greater than expected
Rehash threshold was too low for StringTable, and rehashed size table was too large.

Reviewed-by: rehn, gziemski
2019-06-11 07:31:47 -04:00
Ioi Lam
25a2ccaf7f 8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
Daniil Titov
aa8d257375 8246196: javax/management/MBeanServer/OldMBeanServerTest fails with AssertionError
Reviewed-by: amenkov, dholmes, sspitsyn
2020-06-15 09:03:45 -07:00
Vladimir Kozlov
11a59f9a0b 8247350: [aarch64] assert(false) failed: wrong size of mach node
Use movptr() to load address of string

Reviewed-by: adinn, azeemj
2020-06-12 14:33:20 -07:00
Daniel Fuchs
291a74c572 8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response
The HTTP/2 Stream is updated to register a trivial data subscriber in case of 204 so that the END_STREAM is correctly processed.

Reviewed-by: chegar
2020-04-20 13:15:45 +01:00
Goetz Lindenmaier
8ad5b0fc31 8248385: [testbug][11u] Adapt TestInitiExceptions to jtreg 5.1
Downport fix for TestInitException from 8246387

Reviewed-by: clanger
2020-06-26 12:26:35 +02:00
Weijun Wang
f30310e7b2 8244087: 2020-04-24 public suffix list update
Reviewed-by: mullan
2020-05-01 12:26:34 +08:00
Phil Race
f937d9c619 8244818: Java2D Queue Flusher crash while moving application window to external monitor
Reviewed-by: serb, jdv, kcr
2020-06-22 13:37:41 -07:00
Tobias Hartmann
9eb73ba0d8 8246153: TestEliminateArrayCopy fails with -XX:+StressReflectiveCode
Use the memory input instead of the control input to find the membar.

Reviewed-by: kvn, neliasso
2020-06-02 09:07:53 +02:00
Bob Vandette
f4e8c14099 8245832: JDK build make-static-libs should build all JDK libraries
Reviewed-by: erikj, aph
2020-05-29 19:18:23 +00:00
Tobias Hartmann
111496fb51 8246453: TestClone crashes with "all collected exceptions must come from the same place"
Set deoptimize_on_exception for slow paths.

Reviewed-by: neliasso
2020-06-08 08:30:52 +02:00
Christian Hagedorn
53c76a46ca 8239083: C1 assert(known_holder == NULL || (known_holder->is_instance_klass() && (!known_holder->is_interface() || ((ciInstanceKlass*)known_holder)->has_nonstatic_concrete_methods())), "should be non-static concrete method");
Remove unnecessary preparation to profile the holder of a static method called by a method handle in C1.

Reviewed-by: thartmann, kvn
2020-06-02 11:05:34 +02:00
Weijun Wang
881c607341 8246193: Possible NPE in ENC-PA-REP search in AS-REQ
Reviewed-by: xuelei
2020-05-31 10:13:04 +08:00
Ao Qi
d78ed8d3e3 8246027: Minimal fastdebug build broken after JDK-8245801
Added COMPILER2_PRESENT macro

Reviewed-by: shade, thartmann
2020-05-28 09:15:25 +02:00
Tobias Hartmann
7b4c709036 8245801: StressRecompilation triggers assert "redundunt OSR recompilation detected. memory leak in CodeCache!"
Assert is too strong.

Reviewed-by: roland
2020-05-27 13:26:23 +02:00
Chris Yin
19219b2ba5 8243138: Enhance BaseLdapServer to support starttls extended request
Reviewed-by: aefimov, dfuchs
2020-04-23 16:36:05 +08:00
Phil Race
698305958b 8220150: macos10.14 Mojave returns anti-aliased glyphs instead of aliased B&W glyphs
Reviewed-by: serb, kcr
2020-04-06 12:01:34 -07:00
Ramkumar Sunderbabu
c3707927b2 8228448: Jconsole can't connect to itself
Additions done to allow jconsole to connect to itself

Reviewed-by: erikj
2019-12-06 13:42:57 +05:30
Gary Adams
8933e00884 8203026: java.rmi.NoSuchObjectException: no such object in table
Reviewed-by: rriggs, sspitsyn
2019-03-26 07:09:10 -04:00
Goetz Lindenmaier
fdc4e1b3a1 Merge 2020-06-23 18:05:50 +02:00
Daniel Fuchs
802edba920 8216974: HttpConnection not returned to the pool after 204 response
MultiExchange now call nullBody() on Exchange after receiving 204

Reviewed-by: chegar
2019-01-15 11:34:20 +00:00
Hai-May Chao
3331066079 8172404: Tools should warn if weak algorithms are used before restricting them
Reviewed-by: mullan, weijun
2020-04-17 20:11:39 +08:00
Severin Gehwolf
bdfc29747e 8247874: Replacement in VersionProps.java.template not working when --with-vendor-bug-url contains '&'
Backports parts of 8223319: Add copyright footer to specs and man pages

Reviewed-by: andrew, phh
2020-06-19 11:56:15 +02:00
Prasanta Sadhukhan
0569b9b64c 8209343: Test javax/swing/border/TestTitledBorderLeak.java should be marked as headful
Reviewed-by: jdv
2018-08-10 12:36:21 +05:30
Prasanta Sadhukhan
dccc21cb69 8234385: [TESTBUG] java/awt/EventQueue/6980209/bug6980209.java fails in linux nightly
Reviewed-by: serb
2019-11-21 14:43:47 +05:30
Prasanta Sadhukhan
9656a646b2 8204963: javax.swing.border.TitledBorder has a memory leak
Reviewed-by: serb, kaddepalli
2018-08-09 11:01:59 +05:30
John Jiang
79bb06384a 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei, mbaesken
2019-09-05 14:55:21 +08:00
Erik Gahlin
ecb0194b34 8230767: FlightRecorderListener returns null recording
Reviewed-by: mseledtsov, mgronlun
2019-11-11 14:47:37 +01:00
Michael McMahon
2e3f280b13 8233958: Memory retention due to HttpsURLConnection finalizer that serves no purpose
Reviewed-by: dfuchs, rriggs
2019-11-13 09:09:41 +00:00
Adam Farley
ffe52db266 8229378: jdwp library loader in linker_md.c quietly truncates on buffer overflow
Check buffer overflow when the jdwp agent full dll name is built

Reviewed-by: cjplummer, sspitsyn, andrew
2020-06-17 19:41:46 +01:00
Matthias Baesken
18a3fea222 8244196: adjust output in os_linux
Reviewed-by: dholmes, mdoerr
2020-04-30 17:37:59 +02:00
Matthias Baesken
03347c86f4 8243389: enhance os::pd_print_cpu_info on linux
Reviewed-by: dholmes, mdoerr
2020-04-29 08:57:40 +02:00
Denghui Dong
a6b272b0ba 8240360: NativeLibraryEvent has wrong library name on Linux
Reviewed-by: ysuenaga, clanger
2020-04-07 21:18:24 +09:00
Goetz Lindenmaier
38232fb2e0 Merge 2020-06-10 14:17:52 +02:00
Alex Menkov
5a8b7a8d3a 8244703: "platform encoding not initialized" exceptions with debugger, JNI
Reviewed-by: alanb, sspitsyn
2020-05-28 11:39:51 -07:00
Goetz Lindenmaier
ec92fbf436 8244225: stringop-overflow warning on strncpy call from compile_the_world_in
Reviewed-by: aph
2020-06-10 11:33:17 +02:00
Prasanta Sadhukhan
fc18c630d0 8234149: Several regression tests do not dispose Frame at end
Reviewed-by: serb
2019-12-02 11:58:14 +05:30
Xue-Lei Andrew Fan
072842c998 8223940: Private key not supported by chosen signature algorithm
Reviewed-by: valeriep
2019-11-06 09:45:04 -08:00
Robbin Ehn
94e0912a0f 8213574: Deadlock in string table expansion when dumping lots of CDS classes
Reviewed-by: jiangli, iklam, dholmes
2018-11-14 07:50:37 +01:00
Roland Westrelin
be519bb8b4 8245714: "Bad graph detected in build_loop_late" when loads are pinned on loop limit check uncommon branch
Reviewed-by: thartmann
2020-05-28 13:21:54 +02:00
Sean Mullan
07efe58ae0 8237888: security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java fails when checking validity interval
Reviewed-by: xuelei
2020-05-08 08:12:21 -04:00
Erik Joelsson
f67e9ffcb6 8216021: RunTest.gmk might set concurrency level to 1 on Windows
Reviewed-by: ctornqvi, tbell
2019-01-04 11:00:29 +01:00
Anthony Scarpino
ef83450760 8233228: Disable weak named curves by default in TLS, CertPath, and Signed JAR
Reviewed-by: mullan, xuelei, weijun
2019-12-18 12:10:09 -08:00
Yasumasa Suenaga
3390de9563 8242283: Can't start JVM when java home path includes non-ASCII character
Reviewed-by: naoto, hseigel
2020-06-05 22:17:26 +09:00
Phil Race
0c9ad5e626 6949753: [TEST BUG]: java/awt/print/PageFormat/PDialogTest.java needs update by removing a infinite loop
Reviewed-by: jdv
2020-05-18 17:16:29 -07:00
Sergey Bylokhov
ac6108249b 8243925: Toolkit#getScreenInsets() returns wrong value on HiDPI screens (Windows)
Reviewed-by: prr, psadhukhan
2020-05-18 15:27:54 +01:00
Christian Hagedorn
8ee8796dfd 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Remove assert that is only hit with hand written edge case tests.

Reviewed-by: kvn, thartmann
2020-05-04 10:23:23 +02:00
Chris Plummer
fbe78e482a 8214797: TestJmapCoreMetaspace.java timed out
Reviewed-by: dcubed
2020-04-29 21:03:15 -07:00
John Jiang
4f624e0d8e 8237977: Further update javax/net/ssl/compatibility/Compatibility.java
Reviewed-by: rhalade
2020-03-26 07:09:36 +08:00
Joe Darcy
44f0375551 8233452: java.math.BigDecimal.sqrt() with RoundingMode.FLOOR results in incorrect result
Reviewed-by: bpb, dfuchs
2020-01-14 20:19:51 -08:00
Smita Kamath
68b8506ad8 8233741: AES Countermode (AES-CTR) optimization using AVX512 + VAES instructions
Co-authored-by: Regev Shemy <regev.shemy@intel.com>
Co-authored-by: Shay Gueron <shay.gueron@intel.com>
Reviewed-by: kvn
2019-11-07 17:47:22 -08:00
Shravya Rukmannagari
6cbdf8912e 8225625: AES Electronic Codebook (ECB) encryption and decryption optimization using AVX512 + VAES instructions
AES-ECB encryption and decryption optimization for x86_64 architectures supporting AVX3+VAES

Co-authored-by: Smita Kamath <smita.kamath@intel.com>
Reviewed-by: kvn, valeriep
2019-08-16 14:42:50 -07:00
Phil Race
a92e84f56f 8226697: Several tests which need the @key headful keyword are missing it
Reviewed-by: serb
2019-06-24 17:31:00 -07:00
Goetz Lindenmaier
f706946143 Merge 2020-06-04 09:36:55 +02:00
Goetz Lindenmaier
b6619ca9c2 Merge 2020-06-03 15:59:35 +02:00
Nikolay Martynov
39577d1833 8243489: Thread CPU Load event may contain wrong data for CPU time under certain conditions
Reviewed-by: jbachorik
2020-04-29 13:27:01 +02:00
Martin Balao
fd9e6562cf 8239385: KerberosTicket client name refers wrongly to sAMAccountName in AD
Reviewed-by: weijun
2020-03-28 19:41:10 -03:00
Harold Seigel
dcf8edfe84 8234058: runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Don't run test on Windows because ASLR can cause unexpected memory addresses

Reviewed-by: coleenp
2019-11-21 18:54:21 +00:00
Jan Lahoda
5e42514552 8229815: Upgrade Jline to 3.12.1
Reviewed-by: rfield
2019-11-04 09:40:35 +01:00
Tom Rodriguez
4e82193faf 8233027: OopMapSet::all_do does oms.next() twice during iteration
Reviewed-by: shade, kvn
2019-10-25 13:17:31 -07:00
Tom Rodriguez
15384c65c0 8232083: Minimal VM is broken after JDK-8231586
Reviewed-by: dlong
2019-10-24 22:41:24 -07:00
Tom Rodriguez
efe5901552 8231586: enlarge encoding space for OopMapValue offsets
Reviewed-by: dlong
2019-10-09 16:35:44 -07:00
Toshio Nakamura
c3d5346b46 8224184: jshell got IOException at exiting with AIX
Reviewed-by: rfield, jlahoda
2019-06-13 08:42:47 +02:00
Jan Lahoda
be47149e27 8215244: jdk/jshell/ToolBasicTest.java testHistoryReference failed
Mark history entries from previous sessions with timestamp that is definitelly in the past.

Reviewed-by: rfield
2019-01-11 10:46:29 +01:00
Ralf Schmelter
5ba24db87d 8219712: code_size2 (defined in stub_routines_x86.hpp) is too small on new Skylake CPUs
Reviewed-by: mbaesken, dholmes, kvn
2019-02-26 05:46:02 -08:00
Aleksey Shipilev
5f1b2a5c7c 8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions)
Reviewed-by: thartmann
2018-12-13 16:14:07 +01:00
Smita Kamath
b5c95411b6 8214074: Ghash optimization using AVX instructions
Reviewed-by: kvn, ascarpino
2018-12-12 12:17:33 -08:00
Erik Gahlin
0983f9a286 8210977: jdk/jfr/event/oldobject/TestThreadLocalLeak.java fails to find ThreadLocalObject
Reviewed-by: mgronlun, mseledtsov
2020-02-18 22:25:08 +01:00
Jan Lahoda
9bc3176d26 8215438: jshell tool: Ctrl-D causes EOF
Properly handling EndOfFileException so that jshell can be closed with Ctrl-D.

Reviewed-by: rfield
2019-01-08 16:31:27 +01:00
Jan Lahoda
239ddc4ebe 8215243: JShell tests failing intermitently with \"Problem cleaning up the following threads:\"
Do not reset closed state in the StopDetectingInputStream.write

Reviewed-by: rfield
2018-12-13 08:26:07 +01:00
Jan Lahoda
ebd46e482b 8214491: Upgrade to JLine 3.9.0
Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.

Reviewed-by: rfield, sundar
2018-12-11 11:29:28 +01:00
Sharath Ballal
aa7da1a835 8209342: Problemlist SA tests on Solaris due to Error attaching to process: Can't create thread_db agent!
Reviewed-by: dcubed, iklam, jgeorge
2018-08-17 21:50:55 +05:30
Leonid Mesnik
88046c60dc 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled
Reviewed-by: kvn, mseledtsov
2018-07-12 13:32:45 -07:00
Tobias Hartmann
935165d03b 8217447: Develop flag TraceICs is broken
Added NULL check and fixed output.

Reviewed-by: kvn
2019-01-22 08:47:01 +01:00
Ivan Gerasimov
49b2c90809 8210788: Javadoc for Thread.join(long, int) should specify that it waits forever when both arguments are zero
Reviewed-by: martin, rriggs
2019-01-09 10:59:37 -08:00
Robbin Ehn
f0d7c29f75 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Lutz Schmidt
2d5af7a919 8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
2019-04-03 16:55:41 +02:00
Bob Vandette
1df10d1017 8244853: The static build of libextnet is missing the JNI_OnLoad_extnet function
Reviewed-by: alanb
2020-05-13 11:35:48 -04:00
Thomas Stuefe
a3d5bde65c 8244777: ClassLoaderStats VM Op uses constant hash value
Reviewed-by: coleenp, jbachorik
2020-05-14 08:48:36 +02:00
Christian Hagedorn
a61b0b88fe 8156207: Resource allocated BitMaps are often cleared unnecessarily
Removed unnecessary clearing of BitMap.

Reviewed-by: kbarrett, kvn, thartmann
2019-07-29 09:40:02 +02:00
Kiran Sidhartha Ravikumar
0d4156b5a4 8243541: (tz) Upgrade time-zone data to tzdata2020a
Reviewed-by: naoto, martin, andrew
2020-04-28 17:31:20 +00:00
Kim Barrett
f158ebb23a 8234779: Provide idiom for declaring classes noncopyable
Add NONCOPYABLE macro and uses.

Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Boris Ulasevich
a70fa963e7 8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
Fixing the message to print actual comp_level

Reviewed-by: dlong, kvn
2019-07-16 18:05:42 +03:00
Rahul Raghavan
7b4dc17177 8226198: use of & instead of && in LibraryCallKit::arraycopy_restore_alloc_state
Used logical operator correctly

Reviewed-by: kvn, thartmann
2019-06-18 10:00:35 +05:30
Tobias Hartmann
2f67854f86 8226879: Memory leak in Type::hashcons
Call delete on xdual type.

Reviewed-by: kvn
2019-06-28 09:12:49 +02:00
Dean Long
726b9ac3e2 8211743: [AOT] crash in ScopeDesc::decode_body() when JVMTI walks AOT frames
Reviewed-by: kvn
2018-10-30 15:17:58 -07:00
Kim Barrett
8b32e3a43f 8204834: Fix confusing "allocate" naming in OopStorage
Allocate_list => allocation_list and so on.

Reviewed-by: dholmes, tschatzl, coleenp
2018-07-09 13:35:55 -04:00
Robbin Ehn
8a1fa3a2af 8210303: VM_HandshakeAllThreads fails assert with "failed: blocked and not walkable"
Reviewed-by: dcubed, dholmes
2018-10-04 14:03:13 +02:00
Yong Zhou
fea08bba81 8244407: JVM crashes after transformation in C2 IdealLoopTree::split_fall_in
Reviewed-by: thartmann, kvn
2020-05-14 07:25:24 +08:00
Goetz Lindenmaier
db02e36bc6 Added tag jdk-11.0.8+3 for changeset 2c0c9cfe2a4e 2020-05-13 09:57:00 +02:00
Lutz Schmidt
5fd381700f 8219214: Infinite Loop in CodeSection::dump()
Reviewed-by: kvn, thartmann
2019-03-06 12:14:47 +01:00
Tobias Hartmann
526c1152c7 8225783: Incorrect use of binary operators on booleans in type.cpp
Use logical operators instead.

Reviewed-by: roland
2019-06-14 13:26:52 +02:00
Sergey Bylokhov
bb18bf4d80 8238575: DragSourceEvent.getLocation() returns wrong value on HiDPI screens (Windows)
Reviewed-by: prr
2020-04-26 19:36:04 -07:00
Claes Redestad
4396e5280e 8215555: TieredCompilation C2 threads can excessively block handshakes
Reviewed-by: kvn, neliasso, rehn
2018-12-20 19:44:08 +01:00
Yasumasa Suenaga
b3387ea723 8216154: C4819 warnings at HotSpot sources on Windows
Reviewed-by: kbarrett, tschatzl
2019-01-08 10:35:06 +09:00
Sergey Bylokhov
be9b2b4cc0 8221823: Requested JDialog width is ignored
Reviewed-by: aivanov
2020-02-13 13:19:55 -08:00
Florian Weimer
d74f85ad2f 8233880: Support compilers with multi-digit major version numbers
Reviewed-by: tbell
2019-11-12 21:00:08 +00:00
Tobias Hartmann
1ccd8b5f16 8242108: Performance regression after fix for JDK-8229496
Backed out the fix for 8229496.

Reviewed-by: kvn, roland
2020-04-22 16:22:53 +02:00
Leonid Mesnik
4573846b7e 8215369: Jcstress pollute /var/tmp with temporary files
Reviewed-by: iignatyev, mseledtsov
2018-12-13 14:16:21 -08:00
Vladimir Kozlov
de4723c916 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI
Use default compile threshold for these tests

Reviewed-by: thartmann
2018-10-03 10:38:30 -07:00
Matthias Baesken
a759694d37 8244520: problemlist java/awt/font/Rotate/RotatedFontTest.java on linux
Reviewed-by: clanger
2020-05-07 10:55:15 +02:00
Goetz Lindenmaier
82fa033d62 Merge 2020-05-06 10:34:12 +02:00
Goetz Lindenmaier
4ed77ff2f5 Added tag jdk-11.0.8+2 for changeset 88eaa453331e 2020-05-06 10:03:13 +02:00
Sergey Bylokhov
774afc70ee 8242174: [macos] The NestedModelessDialogTest test make the macOS unstable
Reviewed-by: prr
2020-04-20 09:35:04 -07:00
David Buck
8408f89375 8234691: Potential double-free in ParallelSPCleanupTask constructor
Prevent extraneous constructor call

Reviewed-by: dholmes, stefank
2020-04-21 19:52:18 -04:00
Dmitry Batrak
455ee586bc 8236996: Incorrect Roboto font rendering on Windows with subpixel antialiasing
Reviewed-by: prr, serb
2020-01-27 13:02:54 -08:00
Sergey Bylokhov
af76de2827 8196181: sun/java2d/GdiRendering/InsetClipping.java fails
Reviewed-by: jdv
2020-04-16 10:12:08 -07:00
Anton Litvinov
a29df11e7c 8242498: Invalid "sun.awt.TimedWindowEvent" object leads to JVM crash
Reviewed-by: prr, serb
2020-04-20 19:25:41 +01:00
Bin Liao
e6f3ef0283 8243539: Copyright info (Year) should be updated for fix of 8241638
Reviewed-by: weijun
2020-04-27 12:32:12 +08:00
Lin Zang
72adcb80c1 8241638: launcher time metrics always report 1 on Linux when _JAVA_LAUNCHER_DEBUG set
Reviewed-by: alanb, dholmes
2020-04-07 03:25:11 +00:00
Toshio Nakamura
5165355392 8240518: Incorrect JNU_ReleaseStringPlatformChars in Windows Print
Reviewed-by: serb, pbansal, psadhukhan
2020-03-09 15:07:11 +05:30
Adam Farley
63c0ab670c 8239365: ProcessBuilder test modifications for AIX execution
Reviewed-by: rriggs, stuefe
2020-04-22 15:37:37 -04:00
Toshio Nakamura
21a1732b5a 8232846: ProcessHandle.Info command with non-English shows question marks
Reviewed-by: stuefe, ysuenaga, rriggs
2020-03-28 16:47:21 -04:00
Boris Ulasevich
a0fb3b25f2 8213947: ARM32: failed check_simd should set UsePopCountInstruction to false
Reviewed-by: kvn
2018-11-16 19:30:11 +03:00
Daniil Titov
6003d853e6 8242239: [Graal] javax/management/generified/GenericTest.java fails: FAILED: queryMBeans sets same
Reviewed-by: cjplummer, sspitsyn
2020-04-27 12:48:09 -07:00
Sergey Bylokhov
896085fb82 8241808: [TESTBUG] The JDK-8039467 bug appeared on macOS
Reviewed-by: kizune, pbansal
2020-03-31 19:19:25 -07:00
Sergey Bylokhov
3c6d217399 8240786: [TESTBUG] The test java/awt/Window/GetScreenLocation/GetScreenLocationTest.java fails on HiDPI screen
Reviewed-by: jdv, pbansal
2020-03-19 22:22:39 -07:00
Sergey Bylokhov
691ffabf01 8196019: java/awt/Window/Grab/GrabTest.java fails on Windows
Reviewed-by: prr, jdv
2020-04-06 20:27:40 -07:00
Jie Fu
e9c2e842ca 8242379: [TESTBUG] compiler/loopopts/TestLoopUnswitchingLostCastDependency.java fails with release VMs
Reviewed-by: roland, kvn
2020-04-09 09:20:18 +08:00
Roland Westrelin
e23628e57d 8241900: Loop unswitching may cause dependence on null check to be lost
Reviewed-by: thartmann, kvn
2020-04-02 15:03:27 +02:00
Phil Race
a587a386e0 8232634: Problem List ICMColorDataTest.java
Reviewed-by: serb, psadhukhan
2020-03-20 22:52:40 -07:00
Phil Race
c06d2a294b 8214481: freetype path does not disable TrueType hinting with AA+FM hints
Reviewed-by: serb, psadhukhan
2019-12-04 17:42:18 -08:00
Goetz Lindenmaier
bec63dd4a8 Merge 2020-04-29 10:55:57 +02:00
Goetz Lindenmaier
58d50d43ce Added tag jdk-11.0.8+1 for changeset 2eb415c82056 2020-04-29 10:45:08 +02:00
Severin Gehwolf
fbc9297176 8243059: Build fails when --with-vendor-name contains a comma
Use $$(VERSION_CFLAGS) so as to avoid the variable getting evaluated early

Reviewed-by: ihse, erikj
2020-04-17 11:14:17 +02:00
Matthias Baesken
afd7b286d3 8242626: enhance posix print_rlimit_info
Reviewed-by: mdoerr, gziemski
2020-04-17 08:39:41 +02:00
Matthias Baesken
ff79e4f686 8241948: enhance list of environment variables printed in hs_err file
Reviewed-by: dholmes, hseigel
2020-03-31 17:11:30 +02:00
Matthias Baesken
02350f35e9 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
2019-07-23 16:52:38 +02:00
Sergey Bylokhov
253feb587d 8226806: [macOS 10.14] Methods of Java Robot should be called from appropriate thread
Reviewed-by: psadhukhan, prr
2020-03-16 17:33:52 -07:00
Sergey Bylokhov
0e271a8bca 8040630: Popup menus and tooltips flicker with previous popup contents when first shown
Reviewed-by: kizune, pbansal
2020-03-10 13:58:46 -07:00
Sergey Bylokhov
560efd8b42 8233573: Toolkit.getScreenInsets(GraphicsConfiguration) may throw ClassCastException
Reviewed-by: prr, jdv
2020-03-10 11:30:33 -07:00
Sergey Bylokhov
c4e7d0babf 8235153: [TESTBUG] [macos 10.15] java/awt/Graphics/DrawImageBG/SystemBgColorTest.java fails
Reviewed-by: aivanov
2020-03-02 23:35:50 +00:00
Sergey Bylokhov
f113833a28 8238738: AudioSystem.getMixerInfo() takes about 30 sec to report a gone audio device
Reviewed-by: prr
2020-02-13 13:17:16 -08:00
Sergey Bylokhov
f33057be75 8225126: Test SetBoundsPaintTest.html faild on Windows when desktop is scaled
Reviewed-by: jdv
2020-02-04 12:56:19 -08:00
Lutz Schmidt
e742e7b195 8215551: Missing case label in nmethod::reloc_string_for()
Reviewed-by: kvn, mbaesken
2018-12-20 17:29:59 +01:00
Tobias Hartmann
7acfde892b 8208277: Code cache heap (-XX:ReservedCodeCacheSize) doesn't work with 1GB LargePages
Use huge pages for code cache if ReservedCodeCacheSize == InitialCodeCacheSize

Reviewed-by: kvn
2018-12-06 10:07:54 +01:00
Dmitry Chuyko
4d8f0aa121 8214444: Wrong strncat limits in dfa.cpp
Reviewed-by: kvn
2018-12-03 14:28:19 +03:00
Ralf Schmelter
b226d74a02 8211332: Space for stub routines (code_size2) is too small on new Skylake CPUs
Increase code_size2 for new Skylake CPUs.

Reviewed-by: kvn, stuefe, thartmann
2018-10-10 08:36:31 +02:00
Patric Hedlin
7493beecfd 8210284: "assert((av & 0x00000001) == 0) failed: unsupported V8" on Solaris 11.4
Sanity checks on V8 legacy properties removed.

Reviewed-by: neliasso, eosterlund, kvn
2018-09-12 14:08:15 +02:00
Dmitrij Pochepko
61e0047f8f 8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
2018-08-15 14:48:12 +03:00
Ekaterina Pavlova
83f6885b17 8236211: [Graal] compiler/graalunit/GraphTest.java is skipped in all testing
Reviewed-by: iignatyev
2020-01-29 10:12:59 -08:00
Calvin Cheung
628a4168ea 8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
Added a null check on wb.getBooleanVMFlag("EnableJVMCI").

Reviewed-by: hseigel, jiangli
2018-10-29 13:58:29 -07:00
Jiangli Zhou
334693caa8 8210515: [TESTBUG]CheckArchivedModuleApp.java needs to check if EnableJVMCI is set
System module objects are not archived when EnableJVMCI is set to true.

Reviewed-by: iklam, ccheung
2018-09-10 18:30:24 -04:00
Jiangli Zhou
6d2478cd1b 8209534: [TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI
Use TestCommon.execOff().

Reviewed-by: ccheung
2018-08-28 14:45:34 -04:00
Matthias Baesken
5adf370546 8241996: on linux set full relro in the linker flags
Reviewed-by: erikj, redestad
2020-04-02 09:07:07 +02:00
Matthias Baesken
27f14ef701 8234968: check calloc rv in libinstrument InvocationAdapter
Reviewed-by: clanger, stuefe, sspitsyn
2019-11-29 08:00:36 +01:00
Sergey Bylokhov
d61669652d 8176359: Frame#setMaximizedbounds not working properly in multi screen environments
8231564: setMaximizedBounds is broken with large display scale and multiple monitors

Reviewed-by: aivanov
2020-01-25 22:46:20 -08:00
Sergey Bylokhov
565244ca1f 8235620: Broken merge between JDK-8006406 and JDK-8003559
Reviewed-by: prr
2019-12-09 20:26:19 -08:00
Sergey Bylokhov
8752ade249 7124307: JSpinner and changing value by mouse
Reviewed-by: prr, pbansal
2019-12-05 15:31:23 -08:00
Xue-Lei Andrew Fan
c202080a8d 8233621: Mismatch in jsse.enableMFLNExtension property name
Reviewed-by: mullan
2019-11-08 18:35:33 -08:00
Patrick Concannon
5d3a8b2ea7 8229421: The logic of java/net/ipv6tests/TcpTest.java is flawed
The test is fixed to ignore rogue client connection. However it remains succeptible to intermittent failures due to the use of the wildcad address.

Reviewed-by: dfuchs
2019-08-20 11:15:23 +01:00
Jamil Nimeh
4774dfc1cc 8242294: JSSE Client does not throw SSLException when an alert occurs during handshaking
Reviewed-by: xuelei
2020-04-08 00:03:56 -07:00
Martin Balao
49c61b3468 8241888: Mirror jdk.security.allowNonCaAnchor system property with a security one
Reviewed-by: mullan
2020-04-02 18:18:23 -03:00
Sergey Bylokhov
cf4b3d34ce 8231438: [macOS] Dark mode for the desktop is not supported
Reviewed-by: prr, psadhukhan
2019-12-08 20:25:08 -08:00
Alan Snyder
0758b4b32a 8211301: [macos] support full window content options
Reviewed-by: serb
2018-11-14 20:47:57 -08:00
Christoph Langer
b05b3f8afe 8241568: (fs) UserPrincipalLookupService.lookupXXX failure with IOE "Operation not permitted"
Reviewed-by: alanb
2020-03-31 09:10:16 +02:00
Phil Race
7706090c0c 8238721: Add failing client jtreg tests to the Problem List
Reviewed-by: serb
2020-02-08 12:00:06 -08:00
Richard Reingruber
973c895734 8234146: compiler/jsr292/ContinuousCallSiteTargetChange.java times out on SPARC
Reviewed-by: vlivanov, thartmann
2020-03-12 11:51:00 +01:00
Magnus Ihse Bursie
fc25666c8b 8231572: Use -lobjc instead of -fobjc-link-runtime in libosxsecurity
Reviewed-by: erikj
2020-04-14 14:58:24 +02:00
Gary Adams
6b35852be8 8051349: nsk/jvmti/scenarios/sampling/SP06/sp06t003 fails in nightly
Reviewed-by: dholmes, sspitsyn, cjplummer, jcbeyler
2018-12-18 07:33:07 -05:00
Magnus Ihse Bursie
e2b4ff33d6 8212986: Make Visual Studio compiler check less strict
Reviewed-by: erikj
2020-02-06 13:40:59 +01:00
Xue-Lei Andrew Fan
ce67136b8d 8215711: Missing key_share extension for (EC)DHE key exchange should alert missing_extension
Reviewed-by: ascarpino
2020-04-05 20:17:08 -07:00
Christian Hagedorn
1a90653088 8237859: C2: Crash when loads float above range check
Fix control edges of predicates to data nodes when creating pre/main/post loops.

Reviewed-by: neliasso, thartmann, roland
2020-03-25 14:41:52 +01:00
Tobias Hartmann
74cf6bdcc2 8240905: assert(mem == (Node*)1 || mem == mem2) failed: multiple Memories being matched at once?
Stop recursion if there are multiple loads with different memory inputs in the tree.

Reviewed-by: kvn, vlivanov
2020-03-24 17:39:52 +01:00
Alan Bateman
6b9b773b70 8044365: (dc) MulticastSendReceiveTests.java failing with ENOMEM when joining group (OS X 10.9)
Reviewed-by: alanb, vtewari, dfuchs
2020-03-20 19:41:27 -07:00
Christian Hagedorn
5170ec48ad 8240227: Loop predicates should be copied to unswitched loops
Copy loop range check predicates to unswitched loops and update their control edges.

Reviewed-by: kvn, neliasso, thartmann, roland
2020-03-19 10:15:28 +01:00
Vladimir Kozlov
7e4d7964e5 8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
Limit JVMCICounterSize flag's value range to 1M

Reviewed-by: thartmann, redestad
2020-03-17 12:42:48 -07:00
Fairoz Matte
aac019b621 8239557: [TESTBUG] VeryEarlyAssertTest.java validating "END." marker at lastline is not always true
Reviewed-by: dholmes, mseledtsov
2020-02-24 23:44:29 -05:00
Weijun Wang
a1f2b7ad2a 8236470: Deal with ECDSA using ecdsa-with-SHA2 plus hash algorithm as AlgorithmId
Reviewed-by: xuelei
2019-12-25 07:17:25 +08:00
Arno Zeller
2dc436a013 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out
Reviewed-by: mchung, clanger
2019-12-02 17:10:02 +01:00
Jie Fu
6ca23c7b2a 8233291: [TESTBUG] tools/jlink/plugins/VendorInfoPluginsTest.java fails with debug or non-server VMs
Reviewed-by: mchung
2019-11-04 10:03:32 -08:00
Mark Reinhold
b5591c0601 8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080
Reviewed-by: stuefe, iignatyev, mchung
2019-10-29 13:52:04 -07:00
Mark Reinhold
391df2ef2e 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Christoph Langer
cd0ddcf569 8242154: Backport parts of JDK-4947890 to OpenJDK 11u
Reviewed-by: sgehwolf
2018-11-28 15:53:49 -05:00
Andrew John Hughes
5e9480a8af Merge 2020-04-17 10:26:10 +01:00
Goetz Lindenmaier
f3b9513155 Merge 2020-04-16 17:20:21 +02:00
Goetz Lindenmaier
5750190aa1 Merge 2020-04-16 17:18:31 +02:00
Andrew John Hughes
3428ac2f70 Added tag jdk-11.0.7-ga for changeset 44ce940b344b 2020-04-14 20:23:39 +01:00
Andrew John Hughes
823a6c060b Added tag jdk-11.0.7+10 for changeset 44ce940b344b 2020-03-31 19:26:35 +01:00
Stefan Karlsson
c5345c13d7 8240223: Use consistent predicate order in and with PhaseIdealLoop::find_predicate
Reviewed-by: thartmann, neliasso, chagedorn
2020-03-02 12:30:59 +01:00
Chihiro Ito
3ec6d48ee6 8219904: ClassCastException when calling FlightRecorderMXBean#getRecordings()
Reviewed-by: egahlin, mseledtsov
2020-02-25 03:28:31 +01:00
Christian Hagedorn
a680c3668c 8238765: PhaseCFG::schedule_pinned_nodes cannot handle precedence edges from unmatched CFG nodes correctly
Fix PhaseCFG::schedule_pinned_nodes to correctly handle precedence edges from unmatched CFG nodes.

Reviewed-by: roland, neliasso, kvn
2020-02-17 12:29:03 +01:00
Phil Race
b4b5f89d33 8238842: AIOOBE in GIFImageReader.initializeStringTable
Reviewed-by: serb, bpb
2020-02-12 14:45:10 -08:00
Magnus Ihse Bursie
f5b96177df 8237879: make 4.3 breaks build
Reviewed-by: erikj, tbell
2020-01-30 11:08:30 +01:00
Martin Balao
3e9a9c9c49 8226346: Build better binary builders
Reviewed-by: andrew
2020-03-31 08:15:08 +01:00
Andrew John Hughes
415055b1b2 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build
Reviewed-by: mbalao
2020-03-31 08:08:44 +01:00
Andrew John Hughes
91bc58ecb0 8233383: Various minor fixes
Reviewed-by: mbalao
2020-03-31 07:58:48 +01:00
Martin Doerr
642bb6fd17 8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
Reviewed-by: kvn, thartmann
2019-10-16 11:52:56 +02:00
Phil Race
2bf2a099d2 8239091: Reversed arguments in call to strstr in freetype "debug" code
Reviewed-by: bpb
2020-02-14 10:44:30 -08:00
Phil Race
2048f49645 8238942: Rendering artifacts with LCD text and fractional metrics
Reviewed-by: serb, jdv
2020-02-14 09:10:43 -08:00
Phil Race
482da498b0 8224109: Text spaced incorrectly by drawString under rotation with fractional metric
Reviewed-by: serb, kizune
2020-01-17 12:20:00 -08:00
Man Cao
525b989820 8241556: Memory leak if -XX:CompileCommand is set
Reviewed-by: rasbold, thartmann, neliasso
2020-04-09 14:54:42 -07:00
Sibabrata Sahoo
a85625731d 8235874: The ordering of Cipher Suites is not maintained provided through jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites system property
Corrected Cipher Suites ordering through system properties

Reviewed-by: xuelei
2019-12-16 00:23:50 -08:00
Sibabrata Sahoo
993c6129fd 8234728: Some security tests should support TLSv1.3
Tests were updated to support TLSv1.3 and cipher suite order

Reviewed-by: xuelei
2019-12-13 01:43:14 -08:00
Roland Westrelin
2f5d8c8a6d 8237086: assert(is_MachReturn()) running CTW with fix for JDK-8231291
Reviewed-by: kvn, vlivanov
2020-01-14 14:58:17 +01:00
Tobias Hartmann
d34c21c348 8217230: assert(t == t_no_spec) failure in NodeHash::check_no_speculative_types()
Remove dead node from C2 IR.

Reviewed-by: roland, neliasso
2020-03-25 16:33:55 +01:00
Calvin Cheung
1cdbdb514c 8228407: JVM crashes with shared archive file mismatch
Stop processing other header fields if initial header check has failed.

Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Volker Simonis
661292ac69 8223678: Add Visual Studio Code workspace generation support (for native code)
Reviewed-by: andrew, sgehwolf, clanger
2019-06-03 10:28:03 +02:00
Hannes Wallnöfer
8b8227fff1 8214571: -Xdoclint of array serialField gives "error: array type not allowed here"
Reviewed-by: jjg, sundar
2018-12-06 12:34:28 +01:00
Anthony Scarpino
27351bd8f2 8211339: NPE during SSL handshake caused by HostnameChecker
Reviewed-by: xuelei
2018-11-06 10:10:18 -08:00
Pavel Rappo
5d4cf0c802 8236700: Upgrading JSZip from v3.1.5 to v3.2.2
Reviewed-by: hannesw, jjg
2020-01-17 12:25:37 +00:00
Matthias Baesken
2329478ed6 8241660: Add virtualization information output to hs_err file on macOS
Reviewed-by: clanger, mdoerr
2020-03-26 10:38:17 +01:00
Matthias Baesken
da46c2d563 8240824: enhance print_full_memory_info on Linux by THP related information
Reviewed-by: dholmes, stuefe
2020-03-17 08:53:29 +01:00
Matthias Baesken
43d3e276d0 8241586: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java fails on aarch64
Reviewed-by: clanger
2020-03-25 13:05:42 +01:00
Poonam Bajaj
fe8a966699 8231779: crash HeapWord*ParallelScavengeHeap::failed_mem_allocate
Reviewed-by: dlong, tschatzl, pliden
2020-03-23 17:57:13 +00:00
Fairoz Matte
63228f2018 8239055: Wrong implementation of VMState.hasListener
Correct the VMState.hasListener implementation to return WeakReference<VMListener> type

Reviewed-by: sspitsyn, poonam
2020-02-27 19:33:07 -08:00
Daniel Fuchs
3ff96b53c5 8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
Sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly

Reviewed-by: chegar, vtewari
2019-10-31 19:31:03 +00:00
Daisy Zhou
b33a86be29 8231213: Migrate SimpleDateFormatConstTest to JDK Repo
Reviewed-by: naoto
2019-10-10 14:43:41 +08:00
Fei Yang
9c2836a285 8235762: JVM crash in SWPointer during C2 compilation
Reviewed-by: thartmann, chagedorn, neliasso
2020-03-25 16:19:39 +01:00
Ambarish Rapte
149bc508eb 8226253: JAWS reports wrong number of radio buttons when buttons are hidden
Reviewed-by: kizune, pbansal
2020-03-15 00:43:54 +05:30
Alexey Bakhtin
0852c045d7 8239798: SSLSocket closes socket both socket endpoints on a SocketTimeoutException
Reviewed-by: xuelei
2020-03-11 19:14:08 +03:00
Valerie Peng
a5aae35024 8238898: Missing hash characters for header on license file
Fixed the typos and corrected the formatting

Reviewed-by: weijun
2020-02-12 01:11:59 +00:00
Phil Race
08b5930c29 8175984: ICC_Profile has un-needed, not-empty finalize method
Reviewed-by: jdv, serb
2019-10-25 13:32:01 -07:00
Matthias Baesken
9d20104f41 8240603: Windows 32bit compile error after 8238676
Reviewed-by: clanger, dholmes
2020-03-05 13:12:51 +01:00
Phil Race
206c06acee 8223935: PIT: java/awt/font/WindowsIndicFonts.java fails on windows10
Reviewed-by: serb, jdv
2020-03-17 17:38:27 -07:00
Lois Foltan
4878502308 8225325: Add tests for redefining a class' private method during resolution of the bootstrap specifier
Add new tests

Reviewed-by: dholmes, sspitsyn
2019-06-05 22:19:09 -07:00
Daniel D. Daugherty
748653ad9d 8224793: os::die() does not honor CreateCoredumpOnCrash option
Reviewed-by: kbarrett, dholmes, stuefe
2019-06-05 14:01:01 -04:00
Ravi Reddy
2e8f07e080 8183369: RFC unconformity of HttpURLConnection with proxy
HttpURLConnection retried with proxy if the connection fails on first attempt as per RFC

Reviewed-by: chegar, dfuchs, vtewari
2020-03-26 16:25:37 -04:00
Roger Riggs
0b6306d1da 8239893: Windows handle Leak when starting processes using ProcessBuilder
Reviewed-by: bpb, naoto
2020-03-06 13:52:35 -05:00
Junyuan Zheng
f771367f73 8240972: macOS codesign fail on macOS 10.13.5 or older
Reviewed-by: erikj, ihse
2020-03-12 12:55:19 -07:00
Mat Carter
a4e682a2a4 8231863: Crash if classpath is read from @argument file and the main gets option argument
Reviewed-by: alanb, mchung
2019-11-11 17:43:10 -08:00
Goetz Lindenmaier
4b84adb449 Merge 2020-03-26 10:11:00 +01:00
Goetz Lindenmaier
10a56ac427 Merge 2020-03-25 15:10:18 +01:00
Martin Doerr
fe256ca573 8241464: [11u] Backport: make rehashing be a needed guaranteed safepoint cleanup action
Backport part of JDK-8221967.

Reviewed-by: coleenp, lucy, clanger
2020-03-25 11:04:00 +01:00
Goetz Lindenmaier
7cb2eafe88 Added tag jdk-11.0.7+9 for changeset 7201cd0c6477 2020-03-25 09:37:07 +01:00
Aleksey Shipilev
0d20268e54 8241445: Fix copyright in test/jdk/tools/launcher/ArgFileSyntax.java
Reviewed-by: psandoz
2020-03-24 18:46:48 +01:00
Andrew Haley
e566dca620 8241296: Segfault in JNIHandleBlock::oops_do()
Reviewed-by: stefank, shade
2020-03-19 14:53:57 +00:00
Christoph Langer
907f9ee708 8237192: Generate stripped/public pdbs on Windows for jdk images
Co-authored-by: Matthias Baesken <matthias.baesken@sap.com>
Reviewed-by: erikj, ihse
2020-02-07 08:38:40 +01:00
Daniel Fuchs
ba3b33cfa3 8191169: java/net/Authenticator/B4769350.java failed intermittently
Fixed a race condition in AuthenticationInfo when serializeAuth=true

Reviewed-by: chegar, michaelm
2019-08-19 11:14:50 +01:00
Ichiroh Takiguchi
24e6463176 8239965: XMLEncoder/Test4625418.java fails due to "Error: Cp943 - can't read properly"
Cp943 and x-IBM943 should skip on XMLEncoder/Test4625418.java

Reviewed-by: naoto
2020-03-08 15:15:38 +09:00
Naoto Sato
27f6ae54ec 8239976: Put JDK-8239965 on the ProblemList.txt
Reviewed-by: dcubed
2020-02-25 15:49:24 -08:00
Ichiroh Takiguchi
ad5488458e 8235834: IBM-943 charset encoder needs updating
Apply 34B003AF.RPMAP130 definition into encoder

Reviewed-by: naoto
2020-02-25 22:47:11 +09:00
David Holmes
1162d1b0b6 8238676: jni crashes on accessing it from process exit hook
Reviewed-by: fparain, gziemski
2020-03-02 19:49:42 -05:00
Henry Jen
ce20784e37 8240629: argfiles parsing broken for argfiles with comment cross 4096 bytes chunk
Reviewed-by: alanb, mchung
2020-03-06 13:48:16 -08:00
Phil Race
5ace964635 8209113: Use WeakReference for lastFontStrike for created Fonts
Reviewed-by: serb, jdv
2019-12-05 13:24:52 -08:00
Rob McKenna
bd0c6cc0e5 8223727: com/sun/jndi/ldap/privconn/RunTest.java failed due to hang in LdapRequest.getReplyBer
Reviewed-by: prappo
2019-06-20 20:20:01 +00:00
Goetz Lindenmaier
afc38f832a Added tag jdk-11.0.7+8 for changeset 3c570d183ab2 2020-03-18 10:51:43 +01:00
Calvin Cheung
11f10539f5 8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.

Reviewed-by: iklam
2019-12-17 16:46:37 -08:00
John Jiang
c9367812b0 8231810: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF"
Reviewed-by: xuelei
2019-12-11 11:29:03 +08:00
Sibabrata Sahoo
248364857a 8234723: javax/net/ssl/TLS tests support TLSv1.3
Missing TLSv1.3 test cases

Reviewed-by: xuelei
2019-11-28 22:29:07 -08:00
John Jiang
7aaee7ada4 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3
Reviewed-by: xuelei
2019-11-29 14:07:16 +08:00
Dmitry Markov
208903f56d 8232880: Update test documentation with additional settings for client UI tooltip tests
Reviewed-by: aivanov, serb, ihse
2019-11-05 10:11:18 +00:00
Goetz Lindenmaier
72c5335bb6 Added tag jdk-11.0.7+7 for changeset f56b853d452b 2020-03-11 09:10:18 +01:00
Matthias Baesken
b478b98238 8240724: [test] jdk11 downport of 8224475 misses binary file test/jdk/javax/swing/JTextPane/arrow.png
Reviewed-by: sgehwolf
2020-03-09 08:51:28 +01:00
Martin Doerr
be803f8902 8239856: [ntintel] asserts about copying unaligned array element
Reviewed-by: stuefe, sspitsyn
2020-03-06 11:04:31 +01:00
Phil Race
c365e7c870 8233649: Update ProblemList.txt to exclude failing headful tests on macos
Reviewed-by: serb
2019-11-05 15:55:46 -08:00
Christian Hagedorn
2eaab9ee69 8238438: SuperWord::co_locate_pack picks memory state of first instead of last load
Fix selection of first and last memory state in SuperWord::co_locate_pack

Reviewed-by: thartmann, kvn
2020-03-02 10:23:08 +01:00
Goetz Lindenmaier
846c728523 Merge 2020-03-04 15:26:22 +01:00
Goetz Lindenmaier
b174356e9a Added tag jdk-11.0.7+6 for changeset 17d2e0c27889 2020-03-04 15:20:27 +01:00
Sean Coffey
9906f8b167 8223260: NamingManager should cache InitialContextFactory
Reviewed-by: alanb, plevart, dfuchs
2020-02-09 21:55:56 +00:00
Lance Andersen
69c340e634 8229888: (zipfs) Updating an existing zip file does not preserve original permissions
Reviewed-by: clanger, alanb, bpb
2019-12-18 12:03:56 -05:00
Sergey Bylokhov
8d05f46404 8230597: Update GIFlib library to the 5.2.1
Reviewed-by: prr, psadhukhan, jdv
2019-12-02 16:38:34 -08:00
Ambarish Rapte
c485870678 4949105: Access Bridge lacks html tags parsing
Reviewed-by: serb, prr, pbansal
2019-12-06 16:37:09 +05:30
Pankaj Bansal
18f3157341 8224475: JTextPane does not show images in HTML rendering
Reviewed-by: serb, psadhukhan
2020-01-09 15:11:10 +05:30
Anton Litvinov
f706eb65c8 8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout
Reviewed-by: serb, dmarkov
2020-01-13 18:11:28 +00:00
Rajan Halade
9e14cd0654 8225130: Add exception for expiring Comodo roots to VerifyCACerts test
Reviewed-by: weijun
2020-03-01 23:04:02 -08:00
Michael McMahon
2f4e8b33f8 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:57:10 +00:00
Phil Race
4182288fca 8234769: Duplicate attribution in freetype.md
Reviewed-by: psadhukhan
2019-11-26 09:50:45 -08:00
Phil Race
cb1174446d 8227324: Upgrade to freetype 2.10.1
Reviewed-by: serb, jdv
2019-11-25 12:09:01 -08:00
Joe Wang
714d230633 8233548: Update CUP to v0.11b
Reviewed-by: lancea
2019-11-22 00:29:48 +00:00
Sergey Bylokhov
b761acecdd 8232433: [macos 10.15] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java may fail
Reviewed-by: prr
2019-11-14 15:13:29 -08:00
Sergey Bylokhov
67253541ad 8232200: [macos 10.15] Windows in fullscreen tests jumps around the screen
Reviewed-by: prr
2019-10-24 14:54:31 -07:00
Goetz Lindenmaier
563901c0a3 Added tag jdk-11.0.7+5 for changeset f03574cfc0d7 2020-02-26 09:32:26 +01:00
Christian Hagedorn
ac1ff2bdc9 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.

Reviewed-by: vlivanov, thartmann
2019-12-06 10:00:16 +01:00
Thomas Stuefe
b688f5b7c4 8220786: Create new switch to redirect error reporting output to stdout or stderr
Reviewed-by: dholmes, goetz
2020-02-24 17:24:40 +01:00
Matthias Baesken
8dabf74e28 8201349: build broken when configured with --with-zlib=bundled on gcc 7.3
Reviewed-by: clanger, simonis
2020-02-24 10:12:36 +01:00
Patrick Concannon
cdcc548c6e 8193596: java/net/DatagramPacket/ReuseBuf.java failed due to timeout
The test is changed to bind to InetAddress.getLocalHost() instead of binding to the wildcard.

Reviewed-by: alanb, dfuchs, msheppar
2019-08-30 12:44:52 +01:00
Patrick Concannon
7461845d1c 8233018: Add a new test to verify that DatagramSocket is not interruptible
Test added to check the interruptability of DatagramSocket, MulticastSocket and DatagramSocketAdaptor.

Reviewed-by: chegar, dfuchs
2019-11-27 16:01:34 +00:00
René Schünemann
038ed66459 8238534: Deep sign macOS bundles before bundle archive is being created
Reviewed-by: erikj, clanger
2020-02-13 10:07:38 +01:00
Christoph Langer
e1ae8e3c08 8239466: Loss of precision in counter decay calculation in 11u backport of JDK-8237375
Reviewed-by: mdoerr, simonis
2020-02-20 11:10:19 +01:00
Christian Hagedorn
582f20cb6c 8238811: C2: assert(i >= req() || i == 0 || is_Region() || is_Phi()) with -XX:+VerifyGraphEdges
Fix -XX:+VerifyGraphEdges by additionally handling ArrayCopyNodes and UnlockNodes and add some basic flag testing.

Reviewed-by: roland, neliasso
2020-02-13 15:08:08 +01:00
Rajan Halade
c3ff82148c 8225128: Add exception for expiring DocuSign root to VerifyCACerts test
Reviewed-by: clanger
2020-02-18 16:00:40 -08:00
Markus Grönlund
4ddf4c1eba 8221121: applications/microbenchmarks are encountering crashes in tier5
Reviewed-by: egahlin, dholmes
2019-05-28 13:28:48 +02:00
Xue-Lei Andrew Fan
86112ab881 8221270: Duplicated synchronized keywords in SSLSocketImpl
Reviewed-by: mullan
2019-03-21 13:32:08 -07:00
Christian Hagedorn
1b128ffb15 8237945: CTW: C2 compilation fails with assert(just_allocated_object(alloc_ctl) == ptr) failed: most recent allo
Removing too strong assertion about array allocation in LibraryCallKit::tightly_coupled_allocation().

Reviewed-by: thartmann, neliasso
2020-02-13 15:07:21 +01:00
Richard Reingruber
1a2c229478 8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
Reviewed-by: dholmes, clanger
2020-02-13 16:20:14 +01:00
Ivan Gerasimov
8123ebf35d 8163251: Hard coded loop limit prevents reading of smart card data greater than 8k
Reviewed-by: valeriep, rriggs
2020-02-17 16:32:05 -08:00
Christoph Langer
473086f0ad Added tag jdk-11.0.7+4 for changeset d3d1f7f67de1 2020-02-19 14:21:29 +01:00
Tobias Hartmann
8c3d56cbdd 8230390: Problemlist SA tests with AOT
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 16:17:21 +02:00
Ambarish Rapte
3a2be13442 8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys
Reviewed-by: serb, psadhukhan
2019-10-30 16:59:40 +05:30
Gary Adams
320ef230f2 8203364: Some serviceability/sa/ tests intermittently fail with java.io.IOException: LingeredApp terminated with non-zero exit code 3
Reviewed-by: cjplummer, jcbeyler
2019-04-05 07:10:07 -04:00
Tianmin Shi
eff650fc2e 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
Synchronize access to legacyMap in Provider.getService.

Reviewed-by: valeriep
2019-09-25 08:29:03 -07:00
Valerie Peng
089af0ad22 8228613: java.security.Provider#getServices order is no longer deterministic
Changed to use SunEntries.DEF_SECURE_RANDOM_ALGO instead of relying on ordering of SecureRandom services

Reviewed-by: weijun
2019-08-14 00:57:15 +00:00
Xue-Lei Andrew Fan
793cd9f54d 4919790: Errors in alert ssl message does not reflect the actual certificate status
Reviewed-by: mullan
2019-02-14 14:19:29 -08:00
Rahul Raghavan
b188ad5ea7 8225567: Wrong file headers with 8202414 fix changeset
Corrected source file headers

Reviewed-by: thartmann
2019-06-11 14:33:34 +05:30
Matthias Baesken
546c283e28 8234525: enable link-time section-gc for linux s390x to remove unused code
Reviewed-by: erikj, mdoerr
2019-11-27 10:07:29 +01:00
Daniil Titov
791f91a814 8163083: SocketListeningConnector does not allow invocations with port 0
Reviewed-by: sspitsyn, amenkov, gadams, jcbeyler
2018-09-28 12:04:47 -07:00
Martin Doerr
7dce454f73 8237375: SimpleThresholdPolicy misses CounterDecay timestamp initialization
Reviewed-by: simonis, dholmes
2020-01-23 13:55:10 +01:00
Tobias Hartmann
5c7ed0f865 8226381: ProblemList java/lang/reflect/PublicMethods/PublicMethodsTest.java
Put test on AOT ProblemList.

Reviewed-by: iignatyev
2019-06-19 12:24:26 +02:00
Mikael Vidstedt
4a9b233d77 8225305: ProblemList java/lang/invoke/VarHandles tests
Reviewed-by: kvn, iignatyev, mchung, alanb
2019-06-05 08:43:41 -07:00
Xue-Lei Andrew Fan
169f1ebdd8 8218889: Improperly use of the Optional API
Reviewed-by: jnimeh, wetmore
2019-03-22 13:47:37 -07:00
Gary Adams
b7bc619074 8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false
Reviewed-by: cjplummer, amenkov
2018-10-03 07:41:28 -04:00
Manajit Halder
0a2a1e2bb9 8207938: At step6,Click Add button,case failed automatically
Reviewed-by: kaddepalli, psadhukhan
2019-02-06 17:28:37 +05:30
Naoto Sato
5f9f4ba7a9 8225182: JNI exception pending in DestroyXIMCallback of awt_InputMethod.c:1327
Reviewed-by: serb
2019-06-05 16:10:08 -07:00
Chris Hegarty
21ba3d6ea9 8218662: Allow 204 responses with Content-Length:0
Reviewed-by: michaelm
2019-02-08 12:23:16 +00:00
Aleksey Shipilev
41bb313171 8238591: CTW: Split applications/ctw/modules/jdk_localedata.java
Reviewed-by: iignatyev
2020-02-10 06:18:46 +01:00
Aleksey Shipilev
8d2920b861 8238247: CTW runner should sweep nmethods more aggressively
Reviewed-by: adinn, simonis, iignatyev
2020-02-10 06:18:28 +01:00
Aleksey Shipilev
aeab405547 8238366: CTW runner closes standard output on exit
Reviewed-by: adinn, iignatyev
2020-02-10 06:18:10 +01:00
David Buck
baee474146 8238596: AVX enabled by default for Skylake even when unsupported
Only default to UseAVX=2 when support is detected

Reviewed-by: shade, vlivanov
2020-02-10 03:35:50 -05:00
Christoph Langer
2d3ea612f9 Added tag jdk-11.0.7+3 for changeset f2d8162261ae 2020-02-13 07:06:39 +01:00
Erik Joelsson
45c5153fd3 8213906: Update arm devkits with libXrandr headers
Reviewed-by: tbell, prr
2018-11-16 08:25:46 -08:00
Markus Grönlund
422e0f7f28 8230400: Missing constant pool entry for a method in stacktrace
Reviewed-by: egahlin
2020-02-03 20:27:17 +08:00
Matthias Baesken
9207daec9e 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Brian Burkhalter
96e9968771 8218882: NET_Writev is declared, NET_WriteV is defined
Reviewed-by: alanb, chegar
2019-02-13 07:58:04 -08:00
Matthias Baesken
cba4460878 8235671: enhance print_rlimit_info in os_posix
Reviewed-by: clanger, mdoerr
2019-12-10 16:55:14 +01:00
Erik Joelsson
259869fbe4 8238225: Issues reported after replacing symlink at Contents/MacOS/libjli.dylib with binary
Reviewed-by: clanger, alanb, ihse
2020-02-05 09:33:25 -08:00
Christoph Langer
36a7c1d9f5 8236488: Support for configure option --with-native-debug-symbols=internal is impossible on Windows
Reviewed-by: erikj
2020-01-10 15:38:25 +01:00
Alex Kashchenko
d66587f92f 8216472: (se) Stack overflow during selection operation leads to crash (win)
Reviewed-by: alanb
2020-02-10 10:05:08 -05:00
Clemens Eisserer
63ba322123 8235904: Infinite loop when rendering huge lines
Reviewed-by: prr, kizune
2020-01-14 15:19:49 -08:00
Claes Redestad
a29378ff89 8237508: Simplify JarFile.isInitializing
Reviewed-by: dfuchs, coffeys, lancea
2020-01-20 14:24:21 +01:00
Sean Coffey
a0b9586136 8234466: Class loading deadlock involving X509Factory#commitEvent()
Reviewed-by: alanb, chegar, dfuchs
2020-01-13 21:16:27 +00:00
Thomas Stuefe
b67ca938f3 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Aleksei Efimov
71b6d1aa3d 8232713: Update BCEL version to 6.3.1 in license file
Reviewed-by: joehw
2019-10-24 11:54:33 +01:00
Martin Balao
81ccce900a 8237600: Test SunJSSEFIPSInit fails on Ubuntu
Reviewed-by: shade
2020-02-08 00:12:49 -03:00
Ioi Lam
6a5534a000 8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
Reviewed-by: jiangli, ccheung
2018-09-12 17:45:22 -07:00
Matthias Baesken
ada489b33c 8237819: s390x - remove unused pd_zero_to_words_large
Reviewed-by: clanger, mdoerr
2020-01-24 13:48:35 +01:00
Matthias Baesken
cef3d9ea3b 8236709: struct SwitchRange in HS violates C++ One Definition Rule
Reviewed-by: dholmes, kbarrett
2020-01-08 08:55:26 +01:00
Roland Westrelin
190a1f7233 8209686: cleanup arguments to PhaseIdealLoop() constructor
Reviewed-by: thartmann, kvn, pliden
2018-08-22 10:36:39 +02:00
Weijun Wang
3a0075a6dd 8238502: sunmscapi.dll causing EXCEPTION_ACCESS_VIOLATION
Reviewed-by: wetmore, coffeys, mullan
2020-02-04 13:15:15 -08:00
Matthias Baesken
f7fb6ec7e4 8237869: exclude jtreg test security/infra/java/security/cert/CertPathValidator/certification/LuxTrustCA.java because of instabilities
Reviewed-by: clanger, mullan
2020-01-27 17:03:08 +01:00
Gary Adams
e4c1df3448 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
Reviewed-by: cjplummer, jcbeyler
2019-04-22 07:13:18 -04:00
Nick Gasson
779aeea9f9 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
2019-03-22 03:04:09 +00:00
Toshio Nakamura
d73f75284e 8234386: [macos] NPE was thrown at expanding Choice from maximized frame
Reviewed-by: serb
2019-12-05 15:36:08 -08:00
Sandhya Viswanathan
87eda79cb5 8234610: MaxVectorSize set wrongly when UseAVX=3 is specified after JDK-8221092
Reviewed-by: kvn, vlivanov
2019-11-26 19:19:39 +03:00
Roland Westrelin
7eacb07283 8214344: C2: assert(con.basic_type() != T_ILLEGAL) failed: elembt=byte; loadbt=void; unsigned=0
Reviewed-by: kvn, thartmann
2018-11-27 08:44:19 +01:00
Hannes Wallnöfer
4732020f3e 8200432: javadoc fails with ClassCastException on {@link byte[]}
Reviewed-by: jjg, sundar
2018-11-22 15:38:20 +01:00
Patricio Chilano Mateo
0eca66c605 8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
Biased locking was disable for this test.

Reviewed-by: dcubed, mdoerr, dholmes
2019-07-30 17:31:29 -04:00
Weijun Wang
674372293d 8228969: 2019-09-28 public suffix list update
Reviewed-by: mullan
2019-10-29 09:34:21 +08:00
Calvin Cheung
bc1c67d00b 8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
Remove the FileChannel.force() calls.

Reviewed-by: dcubed, iklam
2019-07-17 08:34:45 -07:00
Calvin Cheung
0abd1d5171 8226406: JVM fails to detect mismatched or corrupt CDS archive
Check important archive header fields such as _jvm_ident before processing other fields.

Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00
Goetz Lindenmaier
8c8974eb5f Added tag jdk-11.0.7+2 for changeset 15cc1c8a6371 2020-02-05 09:07:19 +01:00
Andrew John Hughes
d9347d2498 8224851: AArch64: fix warnings and errors with Clang and GCC 8.3
Reviewed-by: shade, aph, sgehwolf
2020-02-04 04:42:57 +00:00
Valerie Peng
4a9d3e1104 7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck
Changed Provider class to use ConcurrentHashMap and default providers to use putService()

Reviewed-by: weijun, mullan
2018-12-13 01:15:21 +00:00
Ioi Lam
3fcacb43d3 8210289: ArchivedKlassSubGraphInfoRecord is incomplete
Reviewed-by: jiangli, ccheung
2018-09-05 18:14:45 -07:00
Robbin Ehn
a49b5cdfd1 8207334: VM times out in VM_HandshakeAllThreads::doit() with RunThese30M
Handshakes did not consider external suspended threads safe for safepoint.

Reviewed-by: dcubed, dholmes
2018-08-17 13:38:19 +02:00
Sean Coffey
6e323ce307 8233801: GCMEmptyIv.java test fails on Solaris 11.4
Reviewed-by: valeriep
2019-11-21 11:31:58 +00:00
Ao Qi
c15bbd493a 8233608: Minimal build broken after JDK-8233494
Reviewed-by: shade
2019-11-06 01:45:25 +08:00
Ioi Lam
c4bf99e686 8213250: CDS archive creation aborts due to metaspace object allocation failure
Reviewed-by: jiangli, ccheung
2018-11-01 10:59:05 -07:00
Daniil Titov
9d6bf1f84b 8240711: TestJstatdPort.java failed due to "ExportException: Port already in use:"
Reviewed-by: amenkov
2020-03-18 11:05:11 -07:00
Roland Westrelin
ee5ef36b9e 8236759: ShouldNotReachHere in PhaseIdealLoop::verify_strip_mined_scheduling
Reviewed-by: thartmann, neliasso
2020-01-13 10:00:30 +01:00
Valerie Peng
6fcacced93 8236897: Fix the copyright header for pkcs11gcm2.h
Add the "Classpath" exception to existing header

Reviewed-by: weijun
2020-01-10 02:52:25 +00:00
Harold Seigel
6d65cd787e 8225789: Empty method parameter type should generate ClassFormatError
Check for an empty name when verifying unqualified names

Reviewed-by: lfoltan, coleenp
2019-06-19 08:42:15 -04:00
Robert Field
dc8f615e99 8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number

Build corralled (recoverable undeclared definitions) declarations from position translating wraps....

Reviewed-by: jlahoda
2019-06-17 17:14:05 -07:00
Robert Field
a6d7e85afb 8080353: JShell: Better error message on attempting to add default method
Special handling for errors with "default" modifier

Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
David Leopoldseder
d212888ed6 8238190: [JVMCI] Fix single implementor speculation for diamond shapes
Reviewed-by: kvn
2020-02-04 09:33:09 +01:00
Christian Hagedorn
83aa970191 8235332: TestInstanceCloneAsLoadsStores.java fails with -XX:+StressGCM
Account for GC barriers when skipping a cloned ArrayCopyNode in ConnectionGraph::find_inst_mem()

Reviewed-by: roland, neliasso
2020-01-31 09:32:00 +01:00
Sergey Bylokhov
2438945fec 8236953: [macos] JavaFX SwingNode is not rendered on macOS
Reviewed-by: kcr, prr
2020-01-15 13:17:46 -08:00
Christian Hagedorn
178185993f 8235984: C2: assert(out->in(PhiNode::Region) == head || out->in(PhiNode::Region) == slow_head) failed: phi must be either part of the slow or the fast loop
Bailout from loop unswitching if loop predicates have a control dependency to partially peeled statements.

Reviewed-by: neliasso, thartmann
2020-01-07 17:06:10 +01:00
Sergey Bylokhov
0cd4719327 8236545: Compilation error in mach5 java/awt/FileDialog/MacOSGoToFolderCrash.java
Reviewed-by: dmarkov
2020-01-03 13:40:33 -08:00
John Jiang
578317fc4c 8234727: sun/security/ssl/X509TrustManagerImpl tests support TLSv1.3
Reviewed-by: xuelei
2019-12-21 06:28:48 +08:00
Sergey Bylokhov
5eb1e89f23 8223108: Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
Reviewed-by: prr
2019-12-18 10:10:32 +03:00
Sergey Bylokhov
b6f6d0a1ed 8235739: Rare NPE at WComponentPeer.getGraphics()
Reviewed-by: dmarkov, aivanov
2019-12-13 18:39:30 -08:00
Goetz Lindenmaier
6249996d6c Merge 2020-03-19 14:18:26 +01:00
Claes Redestad
bc9ebd1371 8233494: Avoid calling MallocTracker::record_malloc and record_free when NMT is off
Reviewed-by: mdoerr, zgu
2019-11-05 09:57:10 +01:00
Markus Grönlund
47b972e273 8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing
Reviewed-by: sspitsyn, egahlin
2019-11-25 18:38:01 +01:00
Roland Westrelin
ac4795bde9 8235584: UseProfiledLoopPredicate fails with assert(_phase->get_loop(c) == loop) failed: have to be in the same loop
Reviewed-by: thartmann, neliasso
2020-01-10 17:50:51 +01:00
Tobias Hartmann
9bbb125dc0 8235452: Strip mined loop verification fails with assert(is_OuterStripMinedLoop()) failed: invalid node class
Do not try to verify strip mining if the strip mined loop is malformed.

Reviewed-by: roland, vlivanov
2019-12-11 10:42:44 +01:00
Roland Westrelin
ae2601e8a7 8231550: C2: ShouldNotReachHere() in verify_strip_mined_scheduling
Reviewed-by: vlivanov, thartmann
2020-03-04 10:12:44 +01:00
Vyom Tewari
77ad6bc0d2 8203672: JNI exception pending in PlainSocketImpl.c
8203264: JNI exception pending in PlainDatagramSocketImpl.c:740
8203673: JNI exception pending in DualStackPlainDatagramSocketImpl.c:398

Reviewed-by: chegar, igerasim
2018-11-23 13:16:45 +05:30
Ravi Reddy
4ec8334bf0 8238452: Keytool generates wrong expiration date if validity is set to 2050/01/01
Reviewed-by: pkoppula, weijun, coffeys
2020-02-26 18:06:19 +03:00
Jorn Vernee
a9cca5490e 8233920: MethodHandles::tryFinally generates illegal bytecode for long/double return type
Reviewed-by: redestad, vlivanov, jrose
2019-11-14 10:55:46 +01:00
Magnus Ihse Bursie
68e07bd29e 8237879: make 4.3 breaks build
Reviewed-by: erikj, tbell
2020-01-30 11:08:30 +01:00
Matthias Baesken
b4e6a8cbee 8237962: give better error output for invalid OCSP response intervals in CertPathValidator checks
Reviewed-by: clanger, mullan
2020-02-03 09:39:39 +01:00
Xue-Lei Andrew Fan
32b2770a59 8214418: half-closed SSLEngine status may cause application dead loop
Reviewed-by: jnimeh, dfuchs, chegar
2019-01-14 10:00:45 -08:00
Matthias Baesken
21c17bdf4d 8239462: jdk.hotspot.agent misses some ReleaseStringUTFChars calls in case of early returns
Reviewed-by: clanger, amenkov, sspitsyn
2020-02-24 09:59:31 +01:00
Matthias Baesken
4fa97e5fdf 8239000: handle ContendedPaddingWidth in vm_version_ppc
Reviewed-by: clanger, lucy
2020-02-13 11:11:49 +01:00
Sergey Bylokhov
3dc8a4c05f 8235638: NPE in LWWindowPeer.getOnscreenGraphics()
Reviewed-by: dmarkov, aivanov
2019-12-13 18:37:48 -08:00
Sergey Bylokhov
6179f32857 8234522: [macos] Crash with use of native file dialog
Reviewed-by: prr, dmarkov
2019-12-11 14:30:45 -08:00
Xue-Lei Andrew Fan
be881109e1 8235311: Tag mismatch may alert bad_record_mac
Reviewed-by: mullan
2019-12-10 07:07:49 -08:00
Alexey Ivanov
7fcfe498bf 8234398: Replace ID2D1Factory::GetDesktopDpi with GetDeviceCaps
Reviewed-by: serb, prr
2019-12-09 19:43:44 +00:00
Xue-Lei Andrew Fan
e4ee7cfcb2 8235263: Revert TLS 1.3 change that wrapped IOExceptions
Reviewed-by: mullan
2019-12-03 17:15:02 -08:00
Xue-Lei Andrew Fan
aa6f00a236 8235183: Remove the "HACK CODE" in comment
Reviewed-by: jnimeh
2019-12-02 10:42:27 -08:00
Alexey Bakhtin
6a6d8a151b 8239787: AArch64: String.indexOf may incorrectly handle empty strings
Reviewed-by: aph, lmesnik, yan
2020-03-03 13:06:50 +03:00
Severin Gehwolf
cf07e17b8c 8236921: Add build target to produce a JDK image suitable for a Graal/SVM build
Make graal-builder-image will produce a suitable build JDK

Reviewed-by: neugens, adinn, andrew
2019-12-16 11:06:01 +01:00
Volker Simonis
cb37a91509 8240073: Fix 'test-make' build target in 11u
Reviewed-by: phh, clanger
2020-03-16 09:55:07 +01:00
Matthias Baesken
61617f36c9 8239224: libproc_impl.c previous_thr may be used uninitialized warning
Reviewed-by: clanger, dholmes
2020-02-18 16:33:56 +01:00
Stefan Karlsson
f66a841e3b 8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
2020-03-04 15:50:49 +01:00
Pankaj Bansal
7f9074c914 8238985: [TESTBUG] The arrow image is blue instead of green
Reviewed-by: serb, psadhukhan
2020-02-21 17:09:01 +05:30
Stefan Karlsson
f73dfdc6ab 8240220: IdealLoopTree::dump_head predicate printing is broken
Reviewed-by: thartmann, neliasso, chagedorn
2020-03-02 12:30:57 +01:00
Xue-Lei Andrew Fan
f563ab985a 8219991: New fix of the deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: alanb, dfuchs
2019-05-06 08:54:19 -07:00
Goetz Lindenmaier
2430c53412 8240827: Downport SSLSocketImpl.java from "8221882: Use fiber-friendly java.util.concurrent.locks in JSSE"
This fosters downport of "8219991: New fix of the deadlock in sun.security.ssl.SSLSocketImpl"

Reviewed-by: clanger, mdoerr
2020-03-15 22:00:43 +01:00
Xue-Lei Andrew Fan
6dd7aacfb5 8209333: Socket reset issue for TLS 1.3 socket close
Reviewed-by: jnimeh
2018-12-18 15:18:44 -08:00
Sergey Bylokhov
322e90e6e9 8232226: [macos 10.15] test/jdk/java/awt/color/EqualityTest/EqualityTest.java may fail
Reviewed-by: prr, pbansal
2019-12-05 15:33:37 -08:00
Sergey Bylokhov
457c08ad7e 8234137: The "AutoTestOnTop.java" test may run external applications
Reviewed-by: prr
2019-12-05 15:29:13 -08:00
Erik Joelsson
de4c00c3ea 8235686: Add more custom hooks in Bundles.gmk
Reviewed-by: tbell
2019-12-12 19:37:38 +00:00
Andrew John Hughes
a33cb9eab8 8232748: Build static versions of certain JDK libraries
Reviewed-by: sgehwolf
2020-03-13 18:25:10 +00:00
Jayathirth D V
2fb6521494 8233696: [TESTBUG]Some jtreg tests fail when CAPS_LOCK is ON
Reviewed-by: serb, prr
2019-11-22 11:35:26 +05:30
Erik Joelsson
476920d363 8232572: Add hooks for custom output dir in Bundles.gmk
Reviewed-by: tbell
2019-10-21 09:26:14 -07:00
Robin Westberg
e677876f54 8223678: Add Visual Studio Code workspace generation support (for native code)
Reviewed-by: erikj
2019-06-03 10:28:03 +02:00
Goetz Lindenmaier
12a43d7abd Merge 2020-03-12 12:35:24 +01:00
Goetz Lindenmaier
a6d9246a47 Merge 2020-03-11 17:56:46 +01:00
Dongbo He
194b4d6556 8240576: JVM crashes after transformation in C2 IdealLoopTree::merge_many_backedges
Reviewed-by: kvn
2020-03-09 22:31:12 +08:00
Dmitry Markov
1155e6cf9e 8232880: Update test documentation with additional settings for client UI tooltip tests
Reviewed-by: aivanov, serb, ihse
2019-11-05 10:11:18 +00:00
Sergey Bylokhov
166357d659 8226653: [accessibility] Can edit text cell correctly, but Accessibility Tool reads nothing about editor
Reviewed-by: prr
2019-07-15 16:25:23 -07:00
Yasumasa Suenaga
a6fc52122b 8240197: Cannot start JVM when $JAVA_HOME includes CJK characters
Reviewed-by: iklam, stuefe, rschmelter
2020-03-05 19:46:07 +09:00
Jayathirth D V
07c87c62e1 8234184: [TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Reviewed-by: psadhukhan
2019-11-15 16:58:07 +05:30
Sergey Bylokhov
2f1346cfdb 8240202: A few client tests leave mouse buttons pressed
Reviewed-by: prr
2020-02-28 16:49:10 -08:00
Roland Westrelin
3f54d09057 8214862: assert(proj != __null) at compile.cpp:3251
Reviewed-by: kvn, thartmann
2020-03-03 16:28:37 +01:00
Matthias Baesken
bc0db14450 8239351: Give more meaningful InternalError messages in Deflater.c
Reviewed-by: stuefe, vtewari, lancea, martin
2020-02-19 10:27:34 +01:00
Matthias Baesken
72a3f3cbe0 8239457: call ReleaseStringUTFChars before early returns in Java_sun_security_pkcs11_wrapper_PKCS11_connect
Reviewed-by: alanb, clanger
2020-02-19 13:37:07 +01:00
Boris Ulasevich
99cf447dbd 8231118: ARM32: Math tests failures
Reviewed-by: roland
2020-02-14 10:05:10 +03:00
Qi Feng
e023627062 8240286: [TESTBUG] Test command error in hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Float.java
Reviewed-by: kvn, thartmann
2020-03-05 14:51:41 +08:00
Ramkumar Sunderbabu
621498832a 8153430: jdk regression test MletParserLocaleTest, ParserInfiniteLoopTest reduce default timeout
Removed timeout=5 from the tests so that default timeout is used

Reviewed-by: cjplummer
2020-03-06 10:27:24 +05:30
Weijun Wang
0a6440989d 8232357: Compare version info of Santuario to legal notice
Reviewed-by: mullan
2019-10-17 07:31:35 +08:00
Lutz Schmidt
db2f2d4303 8239931: [win][x86] vtable stub generation: assert failure (code size estimate) follow-up
Reviewed-by: mdoerr
2020-02-28 16:36:47 +01:00
Lutz Schmidt
12b8b63ebf 8239456: vtable stub generation: assert failure (code size estimate)
Reviewed-by: thartmann
2020-02-21 15:14:09 +01:00
Christoph Langer
d403612f0b 8221741: ClassCastException can happen when fontconfig.properties is used
Reviewed-by: mbaesken, itakiguchi
2020-02-02 17:41:33 +01:00
Daniil Titov
721bd5b9b5 8193879: Java debugger hangs on method invocation
Reviewed-by: sspitsyn, amenkov, gadams
2018-10-09 19:11:09 -07:00
Christian Hagedorn
918e3d08c2 8233033: C2 produces wrong result while unswitching a loop due to lost control dependencies
Adding missing control dependencies when cloning loop predicates at loop unswitching.

Reviewed-by: roland, vlivanov, thartmann
2019-12-11 14:33:32 +01:00
Prasanta Sadhukhan
4e7608cb7a 8234332: [TESTBUG] java/awt/Focus/DisposedWindow/DisposeDialogNotActivateOwnerTest/DisposeDialogNotActivateOwnerTest.java fails on linux-x64 nightly
Reviewed-by: serb
2019-11-20 11:29:27 +05:30
Phil Race
0e5cd49124 8231243: [TESTBUG] CustomFont.java cannot find font file
Reviewed-by: serb
2019-09-24 09:09:15 -07:00
Sergey Bylokhov
0dc4c9cf48 8213516: jck test api/javax_accessibility/AccessibleState/fields.html fails intermittent
Reviewed-by: prr
2019-05-20 12:17:34 -07:00
Vladimir Ivanov
a4c6c15792 8146090: java/lang/ref/ReachabilityFenceTest.java fails with -XX:+DeoptimizeALot
Reviewed-by: dholmes, iignatyev
2018-12-04 17:18:11 -08:00
Ioi Lam
d5753afd23 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary

Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Goetz Lindenmaier
8d76ca659a Added tag jdk-11.0.7+1 for changeset 8cdfd6139b1e 2020-01-29 20:14:41 +01:00
Brent Christian
3383efaf66 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
Yasumasa Suenaga
aaa0d2aedc 8233707: systemScale.cpp could not compile with VS2019
Reviewed-by: serb, aivanov
2019-11-20 09:28:31 +09:00
Leo Korinth
726c3d3fc9 8231671: Fix copyright headers in hotspot (missing comma after year)
Reviewed-by: tschatzl, dholmes
2019-10-02 16:08:02 +02:00
Phil Race
e216cc97b0 8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
2019-05-24 13:52:33 -07:00
Goetz Lindenmaier
71f216c6de Merge 2020-03-04 15:59:24 +01:00
Christian Hagedorn
e71815f29e 8238756: C2: assert(((n) == __null || !VerifyIterativeGVN || !((n)->is_dead()))) failed: can not use dead node
Fix -XX:+VerifyIterativeGVN due to a dead node and add some basic flag testing.

Reviewed-by: roland, neliasso
2020-02-13 15:07:45 +01:00
Christian Hagedorn
4d2573b506 8239852: java/util/concurrent tests fail with -XX:+VerifyGraphEdges: assert(!VerifyGraphEdges) failed: verification should have failed
Remove an assertion which was too strong for some valid IRs when running with -XX:+VerifyGraphEdges

Reviewed-by: neliasso, thartmann
2020-02-28 15:33:44 +01:00
Jie Fu
c62740fd00 8237055: [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
Reviewed-by: thartmann
2020-01-14 18:07:45 +08:00
Tobias Hartmann
d491e0b0e8 8229855: C2 fails with assert(false) failed: bad AD file
Strengthen the check to ensure that both control and data paths die consistently.

Reviewed-by: vlivanov, roland
2020-01-13 13:37:01 +01:00
Zhengyu Gu
f3dae4781d 8237396: JvmtiTagMap::weak_oops_do() should not trigger barriers
Reviewed-by: stefank, rkennke
2020-01-22 07:40:11 -05:00
Martin Balao
0a734ab437 8238555: Allow Initialization of SunPKCS11 with NSS when there are external FIPS modules in the NSSDB
Reviewed-by: mullan, valeriep
2020-02-05 12:20:36 -03:00
Christian Hagedorn
04006f93a4 8229158: make UseSwitchProfiling non-experimental or false by-default
Changed UseSwitchProfiling from experimental to diagnostic.

Reviewed-by: dholmes, shade, thartmann
2019-08-20 10:46:23 +02:00
Xue-Lei Andrew Fan
eaff1a6060 8228757: Fail fast if the handshake type is unknown
Reviewed-by: jnimeh
2019-08-19 12:56:48 -07:00
Chris Yin
533ba8e455 8217606: LdapContext#reconnect always opens a new connection
Reviewed-by: lancea, vtewari, rriggs
2019-08-14 11:14:54 +01:00
Priya Lakshmi Muthuswamy
2200f32530 8214856: Errors with JSZip in web console after upgrade to 3.1.5
Reviewed-by: hannesw
2018-12-06 11:54:39 +05:30
Sergey Bylokhov
540404a308 8198339: Test javax/swing/border/Test6981576.java is unstable
Reviewed-by: kaddepalli, psadhukhan
2018-11-29 16:22:49 -08:00
Tobias Hartmann
5aecd78b87 8239142: C2's UseUniqueSubclasses optimization is broken for array accesses
Avoid resetting the elemtype for array accesses.

Reviewed-by: vlivanov, eosterlund
2020-02-18 08:28:02 +01:00
Kun Wang
21f6737f61 8239915: Zero VM crashes when handling dynamic constant
Reviewed-by: dholmes
2020-02-26 17:32:04 +08:00
Roland Westrelin
749e3b8faa 8237951: CTW: C2 compilation fails with "malformed control flow"
Reviewed-by: vlivanov, kvn
2020-01-28 13:36:30 +01:00
Rahul Raghavan
d736915942 8238356: CodeHeap::blob_count() overestimates the number of blobs
Decremented _blob_count on addition to the free list

Reviewed-by: lucy, shade, thartmann
2020-02-19 15:01:57 +05:30
David Holmes
84b88b3912 8048215: [TESTBUG] java/lang/management/ManagementFactory/ThreadMXBeanProxy.java Expected non-null LockInfo
Ensure the target thread has reached wait() before inspecting it

Reviewed-by: mchung, dfuchs, jcbeyler
2018-10-15 21:02:17 -04:00
Sergey Bylokhov
7671425df7 8039082: [TEST_BUG] Test java/awt/dnd/BadSerializationTest/BadSerializationTest.java fails
Reviewed-by: prr
2018-08-24 16:29:04 -07:00
Harold Seigel
6f4c9a6f55 8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
Remove unneeded validate_class() check from  checked_jni_GetModule().

Reviewed-by: dholmes, coleenp
2018-07-06 06:26:25 -07:00
Roger Riggs
eb5a7d616b 8237368: Problem with NullPointerException in RMI TCPEndpoint.read
Reviewed-by: mchung, alanb
2020-01-24 13:33:31 -05:00
Dmitry Batrak
35a2dee752 8210058: Algorithmic Italic font leans opposite angle in Printing
Reviewed-by: prr, jdv, psadhukhan
2019-11-27 16:39:52 +05:30
Markus Grönlund
4ab777c21e 8231081: TestMetadataRetention fails due to missing symbol id
Reviewed-by: egahlin
2019-10-24 16:37:22 +02:00
Markus Grönlund
98f01fc38e 8231025: Incorrect method tag offset for big endian platform
Reviewed-by: egahlin
2019-09-14 18:45:24 +02:00
Markus Grönlund
f815247828 8225797: OldObjectSample event creates unexpected amount of checkpoint data
Reviewed-by: egahlin
2019-09-14 14:40:09 +02:00
Jaikiran Pai
a76a806c69 7143743: Potential memory leak with zip provider
Reviewed-by: lancea, clanger, alanb
2020-01-15 15:24:54 -05:00
Sandhya Viswanathan
3237d8340f 8235288: AVX 512 instructions inadvertently used on Xeon for small vector width operations
Reviewed-by: kvn, vlivanov
2019-12-04 14:55:15 -08:00
Valerie Peng
f320232290 8232950: SUNPKCS11 Provider incorrectly check key length for PSS Signatures
Fixed to treat the queried key size values as bits instead of bytes

Reviewed-by: ascarpino, xuelei
2019-10-31 02:22:42 +00:00
Matthias Baesken
430b138d48 8235489: handle return values of sscanf calls in hotspot
Reviewed-by: clanger, kbarrett
2019-12-11 09:42:52 +01:00
Christian Hagedorn
264d4afcb7 8223769: Assert triggers with -XX:+StressReflectiveCode
Fixed too strong assert.

Reviewed-by: kvn, thartmann
2019-07-29 09:34:07 +02:00
Sandhya Viswanathan
faea704e1e 8235510: java.util.zip.CRC32 performance drop after 8200067
Backout 8200067 optimization

Reviewed-by: kvn
2019-12-06 16:03:44 -08:00
Christian Hagedorn
e0ef49f7c6 8236140: assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it
Add missing rehashing for modified node in InitializeNode::complete_stores().

Reviewed-by: neliasso, thartmann
2020-01-09 16:14:14 +01:00
Kim Barrett
a4502386e0 8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef
Added validity check on the handle before deleting it.

Reviewed-by: dholmes, dcubed
2019-08-21 19:21:57 -04:00
Pankaj Bansal
a5eec2ad74 8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64
Reviewed-by: psadhukhan, prr
2019-12-13 12:08:10 +05:30
Pankaj Bansal
364d974988 8230235: Rendering HTML with empty img attribute and documentBaseKey cause Exception
Reviewed-by: serb, aivanov
2019-11-27 11:05:22 +05:30
Hamlin Li
af6c32802f 8209824: Improve the code coverage for ThreadLocal
Reviewed-by: dholmes, alanb
2019-10-17 13:18:01 +08:00
Roger Riggs
8d7c19960a 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed
Reviewed-by: lancea, bpb, naoto
2019-06-06 10:03:22 -04:00
Mandy Chung
63022f2c80 8222448: java/lang/reflect/PublicMethods/PublicMethodsTest.java times out
Set empty class path for compilation to avoid unnecessary opening/scanning of JAR files

Reviewed-by: alanb, dholmes
2019-06-04 12:50:15 -07:00
Athijegannathan Sundararajan
f7439df86c 8216535: tools/jimage/JImageExtractTest.java timed out
Reviewed-by: jlaskey
2019-05-31 08:27:06 +05:30
Amy Lu
3833120dfd 8230004: jdk/internal/jimage/JImageOpenTest.java runs no test
Reviewed-by: alanb
2019-08-30 16:44:20 +08:00
Phil Race
89d1996255 8232154: Update Mesa 3-D Headers to version 19.2.1
Reviewed-by: serb, kcr
2019-10-30 13:47:49 -07:00
Stuart Monteith
a1b1e911f0 8224187: Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy
Reviewed-by: eosterlund
2019-05-22 06:29:08 -04:00
Daniil Titov
6e30b04b58 8236873: Worker has a deadlock bug
Reviewed-by: dfuchs, dholmes, sspitsyn
2020-01-16 09:53:03 -08:00
Christoph Langer
49f6f9b1b6 8236500: Windows ucrt.dll should be looked up in versioned WINSDK subdirectory
Reviewed-by: mdoerr
2020-01-23 13:01:59 +01:00
Christoph Langer
934f3e5733 8232370: Refactor some com.sun.jdi tests to enable IDE integration
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-10-17 22:41:36 +02:00
Jorn Vernee
650b7bd975 8232167: Visual Studio install found through --with-tools-dir value is discarded
Reviewed-by: erikj, ihse
2019-10-11 06:57:33 -07:00
Vikrant Agarwal
d5b496fb45 8237540: Missing files in backport of JDK-8210910
Add missing graphic files

Reviewed-by: clanger
2018-10-04 13:01:23 +05:30
Abdul Kolarkunnu
556f10e150 8237541: Missing files in backport of JDK-8236528
Add missing graphic files

Reviewed-by: clanger
2018-10-03 23:00:32 -07:00
Christian Hagedorn
7658272836 8233032: assert(in_bb(n)) failed: must be
Find first and last memory state of a load pack without relying on bb indices.

Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Reviewed-by: roland, kvn, thartmann
2019-12-10 09:28:38 +01:00
Tobias Hartmann
7fb05e7f5e 8233656: assert(d->is_CFG() && n->is_CFG()) failed: must have CFG nodes
Explicitly handle ProjNodes with TOP input.

Reviewed-by: kvn, vlivanov
2019-11-13 08:43:35 +01:00
Ivan Gerasimov
c4fd2e45f4 8234423: Modifying ArrayList.subList().subList() resets modCount of subList
Reviewed-by: rriggs
2020-01-13 18:00:32 -08:00
Sergey Bylokhov
43b76b23ab 8233657: Intermittent NPE in Component.validate()
Reviewed-by: prr
2019-11-08 05:24:29 +00:00
Coleen Phillimore
9223c97b56 8220688: [TESTBUG] runtime/NMT/MallocStressTest.java timed out
Reduce number of threads and iterate rather than sleep.

Reviewed-by: zgu, dholmes
2019-05-28 06:42:32 -04:00
Harold Seigel
9c311e1616 8214840: runtime/NMT/MallocStressTest.java timed out
Add volatile to declaration of static field shared by multiple threads

Reviewed-by: dcubed, dholmes, coleenp
2018-12-07 08:16:50 -05:00
Zhengyu Gu
b57d845e1f 8214124: [TESTBUG] Bugs in runtime/NMT/MallocStressTest.java
Fix possible negative size and index that can cause the test to fail

Reviewed-by: stuefe, shade
2018-11-20 20:09:11 -05:00
Martin Doerr
ad3738f4de 8230459: Test failed to resume JVMCI CompilerThread
Reviewed-by: dholmes, kvn
2019-10-21 19:58:16 +02:00
Martin Balao
ba809cca38 8005819: Support cross-realm MSSFU
Reviewed-by: weijun
2019-12-11 15:43:42 -03:00
Jamil Nimeh
b1192e41f9 8236039: JSSE Client does not accept status_request extension in CertificateRequest messages for TLS 1.3
Reviewed-by: xuelei, clanger
2020-01-16 18:36:09 +00:00
Phil Race
de98c67916 8227662: freetype seeks to index at the end of the font data
Reviewed-by: serb, psadhukhan
2019-07-18 07:25:17 -07:00
Aditya Mandaleeka
a4d5510f95 8236179: C1 register allocation error with T_ADDRESS
Reviewed-by: rkennke, vlivanov, roland, mdoerr
2019-12-20 19:51:00 +01:00
Aleksey Shipilev
62345ed63d 8237217: Incorrect G1StringDedupEntry type used in StringDedupTable destructor
Reviewed-by: kbarrett, zgu
2020-01-15 20:04:51 +01:00
Erik Gahlin
63206454b2 8219205: JFR file without license header
Reviewed-by: mgronlun
2019-06-06 22:31:13 +02:00
David Buck
73f321b7e9 8230611: infinite loop in LogOutputList::wait_until_no_readers()
Add copy constructor and copy assignment operator to ensure reader count remains accurate

Reviewed-by: kbarrett, dholmes
2019-11-21 23:32:11 -05:00
Tobias Hartmann
17995bcbd9 8233491: Crash in AdapterHandlerLibrary::get_adapter with CDS due to code cache exhaustion
Added null check.

Reviewed-by: kvn, iklam
2019-11-07 07:02:55 +01:00
Tobias Hartmann
f09aca50c9 8233529: loopTransform.cpp:2984: Error: assert(p_f->Opcode() == Op_IfFalse) failed
Strengthened asserts in locate_pre_from_main() and added a check for is_main_no_pre_loop().

Reviewed-by: kvn, vlivanov
2019-11-12 10:16:04 +01:00
Roland Westrelin
b9b5d76664 8234350: assert(mode == ControlAroundStripMined && (use == sfpt || !use->is_reachable_from_root())) failed: missed a node
Reviewed-by: thartmann, mdoerr
2019-12-09 15:37:04 +01:00
Xin Liu
193d25a7b3 8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose
Added check for printable bci.

Reviewed-by: thartmann
2019-12-10 10:34:31 +01:00
Tobias Hartmann
64d64f2d57 8234617: C1: Incorrect result of field load due to missing narrowing conversion
Emit an explicit conversion to get the correct field value after the write.

Reviewed-by: vlivanov, mdoerr
2019-12-03 08:29:04 +01:00
Vladimir Ivanov
f5fe4dce15 8231430: C2: Memory stomp in max_array_length() for T_ILLEGAL type
Reviewed-by: kvn, thartmann
2019-12-03 20:13:16 +03:00
Matthias Baesken
b11a8cd626 8231753: use more Posix functionality in aix os::print_os_info
Reviewed-by: clanger, dholmes
2019-10-08 09:33:57 +02:00
Matthias Baesken
d5f7024d1a 8232060: add some initializations using sigemptyset in os_aix.cpp
Reviewed-by: clanger, stuefe
2019-10-10 08:46:07 +02:00
Daniil Titov
bf9aa10ead 8185005: Improve performance of ThreadMXBean.getThreadInfo(long ids[], int maxDepth)
Reviewed-by: sspitsyn, dholmes, dcubed, rehn
2019-09-25 11:10:05 -07:00
Claes Redestad
ed2372378e 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
Reviewed-by: bobv, sgehwolf
2019-10-17 00:19:02 +02:00
Goetz Lindenmaier
3af67ab95f 8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'
Reviewed-by: dholmes, kvn
2019-12-16 14:10:20 +01:00
Goetz Lindenmaier
69349f8db8 Merge 2020-01-16 08:16:14 +01:00
Goetz Lindenmaier
9ffd839a4d Merge 2020-01-15 17:08:05 +01:00
Andrew John Hughes
04c295e7d1 Added tag jdk-11.0.6-ga for changeset 837b7afec083 2020-01-14 22:15:10 +00:00
Andrew John Hughes
34c1a45942 Added tag jdk-11.0.6+10 for changeset 837b7afec083 2020-01-08 06:10:02 +00:00
Xue-Lei Andrew Fan
f957822b41 8234037: Improve Object Identifier Processing
Reviewed-by: weijun, mschoene, ssahoo
2019-11-25 16:55:54 -08:00
Andrew Brygin
75239bae6f 8232419: Improve Registry registration
Reviewed-by: andrew
2019-11-04 13:33:27 -08:00
Ivan Gerasimov
2d93d82940 8231790: Provide better FileSystemProviders
Reviewed-by: alanb, skoivu, rhalade
2019-10-16 17:03:00 -07:00
Jamil Nimeh
d3f8ebb37f 8231780: Better TLS messaging support
Reviewed-by: ascarpino, rhalade, mschoene
2019-10-28 18:53:51 -07:00
Clive Verghese
fcf64c4d4e 8230318: Better trust store usage
Reviewed-by: andrew
2019-10-23 15:14:24 -07:00
Weijun Wang
048840d966 8231139: Improved keystore support
Reviewed-by: mullan, ahgross
2019-10-09 17:42:38 +08:00
Aleksei Efimov
4b771f1a7f 8225430: Replace wildcard address with loopback or local host in tests - part 14
Reviewed-by: dfuchs, chegar, vtewari
2019-08-08 21:58:11 +01:00
Severin Gehwolf
23c409c7f2 8236848: [JDK 11u] make run-test-tier1 fails after backport of JDK-8232834
Remove extraneous closing brackets

Reviewed-by: neugens, goetz
2020-01-09 10:14:06 +01:00
Vojin Jovanovic
c37b82539e 8232806: Introduce a system property to disable eager lambda initialization
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Chris Hegarty
a00e458948 8220598: Malformed copyright year range in a few files in java.base
Reviewed-by: dfuchs, lancea, rriggs, weijun
2019-03-14 09:10:56 +00:00
Rob McKenna
b7062c4a33 8231422: Better serial filter handling
Reviewed-by: rriggs
2020-01-07 03:41:33 +00:00
Ivan Gerasimov
5041b6be11 8230279: Improve Pack200 file reading
Reviewed-by: henryjen, jlaskey
2019-10-21 16:52:21 -07:00
Weijun Wang
af5321c955 8229951: Better Ticket Granting Services
Reviewed-by: ahgross, valeriep
2019-09-26 18:12:53 +08:00
Roger Riggs
bb48e0aa84 8230967: Improve Registry support of clients
Reviewed-by: skoivu, smarks, rhalade
2019-10-15 15:05:33 -04:00
Xue-Lei Andrew Fan
6dfcbfeb0f 8229728: Implement negotiation parameters
Reviewed-by: jnimeh, ahgross, rhalade
2019-09-11 05:44:54 +00:00
Ivan Gerasimov
8f3446da65 8228548: Normalize normalization for all
Reviewed-by: chegar, rhalade, igerasim
2019-08-14 17:24:43 -07:00
Phil Race
127ac93082 8227816: More Colorful ICC profiles
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-10-01 08:47:32 -07:00
Martin Balao
a604e67847 8227758: More valid PKIX processing
Reviewed-by: andrew
2019-08-26 13:57:51 -04:00
Weijun Wang
3bf6d6e887 8226352: Improve Kerberos interop capabilities
Reviewed-by: ahgross, mullan, valeriep
2019-07-19 14:51:04 +08:00
Anton Litvinov
dd66685e87 8225279: Better XRender interpolation
Reviewed-by: serb, prr, rhalade, ahgross
2019-10-16 19:18:29 +01:00
Sergey Bylokhov
69ebb8dad9 8224909: Unlink Set of LinkedHashSets
Reviewed-by: prr, mschoene, rhalade, psadhukhan
2019-08-21 18:07:29 -07:00
Lois Foltan
867fa92bbc 8225261: Better method resolutions
Reviewed-by: ahgross, dholmes, hseigel, jwilhelm, rhalade
2019-10-08 10:26:17 -04:00
Goetz Lindenmaier
7773ea1ab3 Added tag jdk-11.0.6+9 for changeset 1859de77ee6c 2019-12-25 11:44:11 +01:00
Erik Joelsson
f99ab952b8 8235687: Contents/MacOS/libjli.dylib cannot be a symlink
Reviewed-by: tbell
2019-12-12 19:35:57 +00:00
René Schünemann
dca627ea7c 8235585: Enable macOS codesigning for all libraries and executables
Reviewed-by: erikj, clanger
2019-12-09 16:14:16 +01:00
Goetz Lindenmaier
9c2e4a1352 Added tag jdk-11.0.6+8 for changeset 0c54fb645a73 2019-12-18 08:31:11 +01:00
Xue-Lei Andrew Fan
b0763c13c9 8233954: UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll
Reviewed-by: ascarpino
2019-11-21 18:42:33 -08:00
Christoph Langer
3c2047a917 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2019-12-09 15:01:57 +01:00
Matthias Baesken
cf4eadae5b 8234625: hs test serviceability/sa/ClhsdbCDSCore.java fails on macOS 10.15
Reviewed-by: clanger, iignatyev
2019-11-28 09:23:09 +01:00
Rajan Halade
06bf9b83d2 8233223: Add Amazon Root CA certificates
Reviewed-by: mullan
2019-11-28 10:43:35 -08:00
Goetz Lindenmaier
852c9ec188 Added tag jdk-11.0.6+7 for changeset 42500af9232e 2019-12-10 19:26:07 +01:00
Christoph Göttschkes
9209d84151 8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
2019-12-04 10:38:54 +01:00
Christoph Langer
825e785e81 Added tag jdk-11.0.6+6 for changeset aa260c24480a 2019-12-04 13:52:17 +01:00
Severin Gehwolf
05ec1f9187 8235142: JDK-8193255 backport broke bootstrap with JDK 10
Use Paths.get() over Path.of()

Reviewed-by: goetz, martin, clanger
2019-11-29 16:41:41 +01:00
Martin Doerr
06dc82c106 8234645: ARM32: C1: PatchingStub for field access: not enough bytes
Reviewed-by: cgo, goetz
2019-11-28 12:05:02 +01:00
Goetz Lindenmaier
63d06c7019 Added tag jdk-11.0.6+5 for changeset bfce7426e091 2019-11-27 10:46:21 +01:00
Adam Petcher
ad979fb4c9 8221172: SunEC specific test is not limited to SunEC
Fixing a minor test bug in the SignatureDigestTruncate regression test

Reviewed-by: mullan
2019-03-21 13:10:37 -04:00
Ichiroh Takiguchi
d29c48e6ff 8230873: [AIX] GUI app does not work with UTF-8 locale on minimum software requirements
Fix fontconfig.properties file for AIX UTF-8 locales

Reviewed-by: clanger
2019-11-20 16:37:42 +09:00
Ramanand Patil
1a6273f4b4 8231098: (tz) Upgrade time-zone data to tzdata2019c
Reviewed-by: martin, naoto
2019-09-24 10:16:00 +01:00
Dmitry Markov
e8333d4e09 8230782: Robot.createScreenCapture() fails if “awt.robot.gtk” is set to false
Reviewed-by: prr, serb
2019-09-23 17:18:03 +01:00
Phil Race
8cba3a736e 8233097: Fontmetrics for large Fonts has zero width
Reviewed-by: jdv, serb
2019-11-04 10:01:55 -08:00
Martin Balao
c2475736b4 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2019-11-12 00:30:55 -03:00
Sean Coffey
22c2f82d11 8231124: Missing closedir call with JDK-8223490
Reviewed-by: naoto
2019-09-17 16:39:56 +00:00
Valerie Peng
b6de944b77 8225745: NoSuchAlgorithmException exception for SHA256withECDSA with RSASSA-PSS support
Fixed SignatureUtil and ECDSA signature impl to handle EC parameters

Reviewed-by: weijun
2019-07-11 20:11:47 +00:00
Prasanta Sadhukhan
528f6d5ef2 8231084: Large performance regression in SwingMark TextArea in 14-b13
8231336: Corrupted option dialog in JTHarness with JDK14b13

Reviewed-by: serb, prr
2019-11-06 11:05:28 +05:30
Vikrant Agarwal
c1dc132246 8216353: Use utility APIs introduced in org/netbeans/jemmy/util/LookAndFeel class in client sanity test cases
Reviewed-by: serb
2019-03-13 00:51:28 -07:00
Gauri Patil
2bc3c676fc 8211322: Reduce the timeout of tooltip in SwingSet2DemoTest
Reviewed-by: serb, shurailine
2019-02-26 03:24:34 -08:00
Mikhailo Seledtsov
4171934cc5 8232224: [TESTBUG] problemlist JFR TestLargeRootSet.java
Problem listed the test

Reviewed-by: egahlin, dcubed
2019-10-14 14:40:02 -07:00
Mikhailo Seledtsov
25f1ccd526 8230624: [TESTBUG] Problemlist JFR compiler/TestCodeSweeper.java
Added the test to the problem list

Reviewed-by: egahlin
2019-09-04 13:57:26 -07:00
Erik Joelsson
38d0d64a92 8232834: RunTest sometimes fails to produce valid exitcode.txt
Reviewed-by: ihse
2019-10-23 05:48:17 -07:00
Benoit Daloze
7ee64117e4 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Chris Plummer
516c18e798 8227645: Some tests in serviceability/sa run with fixed -Xmx values and risk running out of memory
Move tests to seprate directory

Reviewed-by: dtitov, jcbeyler, ctornqvi, sspitsyn
2019-08-09 11:27:08 -07:00
Severin Gehwolf
b47382f3f8 8217338: [Containers] Improve systemd slice memory limit support
Use hierachical memory limit in addition to memory_limits_in_bytes

Reviewed-by: bobv, dholmes
2019-03-12 10:43:27 +01:00
Per Lidén
7e587f3849 8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
Reviewed-by: dholmes, rrich
2019-10-09 20:12:46 +02:00
Richard Reingruber
c788a5c2e8 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Aleksei Efimov
32d2112b09 8223638: Replace wildcard address with loopback or local host in tests - part 6
Reviewed-by: dfuchs
2019-05-14 13:34:49 +01:00
Weijun Wang
b12055386a 8223003: SunMSCAPI keys are not cleaned up
Reviewed-by: igerasim
2019-04-27 18:21:57 +08:00
Per Lidén
cec2f92641 8217717: ZGC: Broken oop map in C1 load barrier stub
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: eosterlund, neliasso
2019-01-28 08:58:42 +01:00
Phil Race
84953cb063 8210776: Upgrade X Window System 6.8.2 to the latest XWD 1.0.7
Reviewed-by: serb
2018-11-08 10:34:49 -08:00
Jie Fu
3bcdf13a25 8234245: sun/security/lib/cacerts/VerifyCACerts.java fails due to wrong checksum
Reviewed-by: mullan
2019-11-15 19:38:31 +08:00
Lance Andersen
516b4d7118 8234080: jdk/nio/zipfs/CRCWriteTest.java fails
Reviewed-by: clanger, amlu
2019-11-14 10:54:32 -05:00
Rajan Halade
6d5926249f 8232019: Add LuxTrust certificate updates to the existing root program
Reviewed-by: mullan
2019-11-14 19:49:55 -08:00
Weijun Wang
3956117a70 8225392: Comparison builds are failing due to cacerts file
Reviewed-by: erikj, martin, mullan
2019-06-15 14:39:04 +08:00
Weijun Wang
6ece3e54c7 8193255: Root Certificates should be stored in text format and assembled at build time
Reviewed-by: clanger, erikj, mullan
2019-06-05 09:58:05 +08:00
Roland Westrelin
1394089f5a 8232539: SIGSEGV in C2 Node::unique_ctrl_out
Reviewed-by: thartmann, kvn
2019-10-22 11:55:58 +02:00
Martin Doerr
1cb999c8e6 8234591: [11u] Build with old C compiler broken by 8223490
Reviewed-by: phh
2019-11-22 10:06:55 +01:00
Xiaohong Gong
91feeab56b 8234321: Call cache flush after generating trampoline
Reviewed-by: adinn, iklam
2019-11-20 05:58:19 +00:00
Kiran Ravikumar
d4e2c16223 8232984: Upgrading Joni License version to 2.1.16
Reviewed-by: coffeys
2019-11-04 14:24:36 +00:00
Mario Torre
8c6cf61197 8234107: Several AWT modal dialog tests failing on Linux after JDK-8231991
Fix off by one in wheel detection logic

Reviewed-by: prr
2019-11-15 09:27:50 +01:00
Mario Torre
a9ed0c7251 8231991: Mouse wheel change focus on awt/swing windows
Avoid focus logic when only mouse wheel is moved up/down.

Reviewed-by: serb, dmarkov
2019-11-12 15:54:24 +01:00
Martin Doerr
d54a7abf15 8233820: Test crashed with assert(phi->operand_count() != 1 || phi->subst() != phi) failed: missed trivial simplification
Verification code needs to skip illegal phi functions.

Reviewed-by: thartmann, vlivanov
2019-11-12 16:13:16 +01:00
Martin Doerr
f06b38d3b9 8233081: C1: PatchingStub for field access copies too much
Reviewed-by: thartmann, dlong
2019-11-05 11:53:46 +01:00
Martin Doerr
eb72b2652a 8231949: [PPC64, s390]: Make async profiling more reliable
Better checks if method from interpreter frame is valid.

Reviewed-by: rrich, ghaug, goetz
2019-10-24 16:28:51 +02:00
Martin Doerr
802d3ed172 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
2019-09-09 15:42:16 +02:00
Sergey Bylokhov
8af2e12ab6 8229810: [macos] NullPointerException getting bounds of GraphicsConfiguration
Reviewed-by: jdv
2019-10-09 17:06:06 -07:00
Sergey Bylokhov
982a053af0 8229515: [macos] access to window property of NSView on wrong thread
Reviewed-by: prr, dmarkov
2019-09-07 11:38:36 -07:00
Sean Coffey
11e248a733 8228645: Don't run sun/security/pkcs11/Cipher/TestKATForGCM.java on buggy NSS solaris versions
Reviewed-by: valeriep
2019-07-29 08:17:26 +00:00
Valerie Peng
214f25cd2d 8226651: Setting the mgfHash in CK_RSA_PKCS_PSS_PARAMS has no effect
Fixed to get the MGF digest algorithm from MGF1ParameterSpec

Reviewed-by: xuelei
2019-06-28 19:36:32 +00:00
Naoto Sato
bf6a9ff106 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00
Sean Coffey
6e71b2f017 8223490: Optimize search algorithm for determining default time zone
Reviewed-by: naoto, rriggs
2019-09-17 11:07:07 +00:00
Dmitry Batrak
8c57c98c37 8220231: Cache HarfBuzz face object for same font's text layout calls
Reviewed-by: prr, avu, serb
2019-04-11 10:49:36 -07:00
Hannes Wallnöfer
e0d5e41a88 8227391: Update double-conversion to version 3.1.5
Reviewed-by: attila
2019-07-11 17:11:54 +02:00
Phil Race
14a977e03c 8208179: Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK
Reviewed-by: jdv, naoto
2019-04-26 12:31:37 -07:00
Martin Balao
18fdd3b432 8227437: S4U2proxy cannot continue because server's TGT cannot be found
Reviewed-by: weijun, clanger
2019-07-17 12:26:56 -03:00
Goetz Lindenmaier
a10f843231 Added tag jdk-11.0.6+4 for changeset 577a1fc44066 2019-11-20 08:35:58 +01:00
Sergey Bylokhov
c700badecd 8224152: [macOS] ProblemList tests that leave rubbish on the screen
Reviewed-by: prr
2019-05-17 22:37:27 -07:00
Joe Wang
4c5afc45b0 8224157: BCEL: update to version 6.3.1
Reviewed-by: dfuchs, lancea
2019-06-26 05:49:59 +00:00
Xue-Lei Andrew Fan
1d50da996b 8217610: TLSv1.3 fail with ClassException when EC keys are stored in PKCS11
Reviewed-by: valeriep
2019-04-03 16:23:22 -07:00
Abdul Kolarkunnu
d951ce3815 8213168: Enable different look and feel tests in SwingSet3 demo test FileChooserDemoTest
Reviewed-by: serb
2018-11-05 18:53:51 -08:00
Abdul Kolarkunnu
977d89284b 8211160: Handle different look and feels in JInternalFrameOperator
Reviewed-by: serb
2018-10-01 18:03:19 -07:00
Jonathan Gibbons
b129cf2443 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs
Reviewed-by: mchung, bchristi
2019-12-06 13:03:39 -08:00
Jaikiran Pai
2ba386d59a 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
Reviewed-by: jjg
2019-11-22 10:38:35 -08:00
Stefan Johansson
8bffe190fa 8209802: Garbage collectors should register JFR types themselves to avoid build errors
Reviewed-by: kbarrett, tschatzl
2019-09-04 09:47:55 +02:00
Letu Yang
e94653a341 8234288: Turkey Time Zone returns incorrect time zone name
Add and use "Turkey Time" time zone.

Reviewed-by: naoto, martin, phh
2019-12-04 15:01:22 -08:00
Yasumasa Suenaga
65bab3e7e0 8235637: jhsdb jmap from OpenJDK 11.0.5 doesn't work if prelink is enabled
Error handling for "lib_base_diff == 0"

Reviewed-by: ysuenaga, cjplummer, kevinw
2020-01-06 21:21:34 +09:00
Matthias Baesken
f2b9ed66fe 8233328: fix minimal VM build on Linux s390x
Reviewed-by: lucy, mdoerr
2019-11-06 14:04:07 +01:00
Matthias Baesken
cd2eeb7d03 8234809: set relro in linker flags when building with gcc
Reviewed-by: erikj, fweimer
2019-11-26 13:55:11 +01:00
Arthur Eubanks
ae2efbd127 8209817: stack is executable when building with Clang on Linux
Reviewed-by: dholmes, martin, mikael, ihse
2018-09-19 10:51:06 -07:00
Thomas Schatzl
3d2272ca88 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Erik Joelsson
82d0c8cc98 8223627: jdk-13+20 bundle name contains null instead of ea
Reviewed-by: dholmes, tbell
2019-05-09 07:33:28 -07:00
Erik Joelsson
98c1376fc4 8223464: Improve version string for Oracle CI builds
Reviewed-by: tbell
2019-05-07 14:05:09 -07:00
Abdul Kolarkunnu
7bcf262b4f 8228479: Correct the format of ColorChooserDemoTest
Reviewed-by: serb, psadhukhan
2019-07-23 22:21:16 -07:00
Xue-Lei Andrew Fan
6636848367 8225766: Curve in certificate should not affect signature scheme when using TLSv1.3
Reviewed-by: ascarpino
2019-06-19 21:49:33 -07:00
Magnus Ihse Bursie
459f6a9b3a 8217634: RunTest documentation and usability update
Reviewed-by: erikj
2019-01-24 11:15:31 +01:00
John Jiang
c930d3fca2 8210632: Add key exchange algorithm to javax/net/ssl/TLSCommon/CipherSuite.java
Javax/net/ssl/TLSCommon/CipherSuite.java supports key exchange algorithms

Reviewed-by: xuelei
2018-10-18 07:56:55 +08:00
Igor Ignatyev
3443a8528b 8227112: exclude compiler/intrinsics/sha/sanity tests from AOT runs
Reviewed-by: kvn
2019-07-02 13:55:21 -07:00
Ekaterina Pavlova
9009bcf1ae 8225684: [AOT] vmTestbase/vm/oom/production/AlwaysOOMProduction tests fail with AOTed java.base
Reviewed-by: kvn
2019-06-20 11:42:33 -07:00
Markus Grönlund
6f6a8b2470 8210024: JFR calls virtual is_Java_thread from ~Thread()
Reviewed-by: kbarrett, dholmes, dcubed, egahlin
2018-11-15 11:10:04 +01:00
Jie Fu
29754d7e25 8232692: [TESTBUG] compiler/aot/fingerprint/SelfChangedCDS.java fails when cds is disabled
Reviewed-by: kvn
2019-10-21 17:27:51 +08:00
Weijun Wang
08cb336a38 8225180: SignedObject with invalid Key not throwing the InvalidKeyException in Windows
Reviewed-by: mullan
2019-06-13 23:53:21 +08:00
Phil Race
14d0ffddc0 8225487: giflib legal file is missing attribution for openbsd-reallocarray.c
Reviewed-by: serb, kcr
2019-06-11 17:15:25 -07:00
Ekaterina Pavlova
3df0386987 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2019-06-03 17:14:23 -07:00
Phil Race
2ef05bf718 8224778: test/jdk/demo/jfc/J2Ddemo/J2DdemoTest.java cannot find J2Ddemo.jar
Reviewed-by: erikj, psadhukhan
2019-05-27 12:24:26 -07:00
Phil Race
f6c4e8f61c 8224705: Tests that need to be problem-listed or have printer resources
Reviewed-by: serb, psadhukhan
2019-05-24 09:10:10 -07:00
Prasanta Sadhukhan
2d4b3b7d35 8211703: JInternalFrame : java.lang.AssertionError: cannot find the internal frame
Reviewed-by: prr, serb
2019-05-23 10:50:47 +05:30
Weijun Wang
8ae7626ace 8223063: Support CNG RSA keys
Reviewed-by: mullan
2019-05-14 08:47:13 +08:00
Vikrant Agarwal
0f06a15de3 8222519: ButtonDemoScreenshotTest fails randomly with "still state to be reached"
Reviewed-by: serb
2019-04-30 04:15:31 -07:00
John Jiang
4843c94b8c 8222391: javax/net/ssl/compatibility/Compatibility.java should be more flexible
Reviewed-by: xuelei
2019-04-23 10:08:52 +08:00
Sergey Bylokhov
b2992713f3 8221885: Add intermittent test in the JavaSound to the ProblemList
Reviewed-by: prr
2019-04-08 14:48:35 -07:00
John Jiang
62a51d5ece 8219723: javax/net/ssl/compatibility/Compatibility.java failed on some SNI cases
Re-generates RSA and ECDSA certificates and set longer validity period

Reviewed-by: xuelei
2019-02-28 13:37:03 +08:00
Igor Ignatyev
a813479a76 8178798: Two compiler/aot/verification/vmflags tests fail by timeout with UseAVX=3
Reviewed-by: kvn
2019-01-30 17:35:20 -08:00
Vikrant Agarwal
63dd4c5e44 8217297: Add support for multiple look and feel for SwingSet SliderDemoTest
Reviewed-by: serb
2019-01-22 08:35:14 -08:00
Abdul Kolarkunnu
dae6c8b3c1 8214471: Enable different look and feel tests in SwingSet3 demo test ToolTipDemoTest
Reviewed-by: serb, shurailine
2019-01-15 22:54:08 -08:00
Igor Ignatyev
837e6d860c 8215322: add @file support to jaotc
Reviewed-by: kvn
2018-12-18 13:37:06 -08:00
Harold Seigel
ecf0c99004 8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out of java heap
Handle OutOfMemoryError exception to prevent test aborting

Reviewed-by: zgu, dholmes
2018-11-26 09:46:20 -05:00
Gauri Patil
02fa7a1512 8210057: Enable different look and feels in SwingSet3 demo test InternalFrameDemoTest
Reviewed-by: serb
2018-10-26 14:03:57 +05:30
Gauri Patil
2779737b33 8211443: Enable different look and feels in SwingSet3 demo test SplitPaneDemoTest
Reviewed-by: serb
2018-10-26 13:52:08 +05:30
Kim Barrett
3a77d2fc15 8209976: Improve iteration over non-JavaThreads
Add NonJavaThread and move NamedThread iteration to new class.

Reviewed-by: eosterlund, coleenp, rkennke
2018-08-28 16:04:54 -04:00
Goetz Lindenmaier
370310e85f Merge 2019-12-25 11:48:18 +01:00
Abdul Kolarkunnu
30ceb1edae 8212897: Some improvements in the EditorPaneDemotest
Reviewed-by: serb
2018-10-25 08:59:26 -07:00
Abdul Kolarkunnu
4136ea85ea 8209499: Create test for SwingSet EditorPaneDemo
Reviewed-by: serb
2018-10-03 23:00:32 -07:00
Abdul Kolarkunnu
5023edb68b 8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src
Reviewed-by: serb
2018-10-11 07:22:53 -07:00
Alexey Ivanov
8fe82cb1b5 8223558: Java does not render Myanmar script correctly
Reviewed-by: prr, serb
2019-10-16 22:30:30 +01:00
Prasanta Sadhukhan
3ef82d71eb 8223158: Docked MacBook cannot start any Java Swing applications
Reviewed-by: prr, serb
2019-10-12 08:49:59 +05:30
Erik Österlund
902db204ad 8229345: Memory leak due to vtable stubs not being shared on SPARC
Reviewed-by: mdoerr, dholmes, kvn
2019-08-16 16:50:17 +02:00
Igor Ignatyev
8bfc32095c 8209807: improve handling exception in requires.VMProps
Reviewed-by: vlivanov, mseledtsov
2019-02-22 14:39:57 -08:00
Weijun Wang
9cca989fba 8213010: Supporting keys created with certmgr.exe
Reviewed-by: valeriep
2018-12-13 17:28:30 +08:00
Weijun Wang
eb4b94691e 8213009: Refactoring existing SunMSCAPI classes
Reviewed-by: valeriep
2018-12-13 17:28:19 +08:00
Abdul Kolarkunnu
d4bafc35f7 8210055: Enable different look and feel tests in SwingSet3 demo tests
Reviewed-by: serb
2018-10-05 05:03:15 -07:00
Vikrant Agarwal
f8b48f86b5 8210910: Create test for FileChooserDemo
Reviewed-by: serb
2018-10-04 13:01:23 +05:30
Abdul Kolarkunnu
a36829c0ca 8210994: Create test for SwingSet3 FrameDemo
Reviewed-by: serb
2018-09-24 03:25:19 -07:00
Vikrant Agarwal
daa5c2aafc 8210052: Enable testing for all the available look and feels in SwingSet3 demo tests
Reviewed-by: shurailine, serb
2018-09-12 11:51:39 +05:30
Abdul Kolarkunnu
9474012318 8209993: Create a test for SwingSet3 ToolTipDemo
Reviewed-by: serb
2018-08-30 03:01:49 -07:00
Abdul Kolarkunnu
a6a4a472f7 8209494: Create a test for SwingSet InternalFrameDemo
Reviewed-by: serb
2018-08-27 03:48:41 -07:00
Abdul Kolarkunnu
af254d096e 8209789: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb
2018-08-27 03:46:44 -07:00
Abdul Kolarkunnu
4b475839fa 8209418: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: serb
2018-08-13 21:57:17 -07:00
Simon Tooke
512e61a482 8216354: Syntax error in toolchain_windows.m4
Reviewed-by: erikj, dholmes, clanger
2019-09-15 07:47:13 +02:00
Kim Barrett
31ad05a7c4 8209850: Allow NamedThreads to use GlobalCounter critical sections
Add NamedThreads iterator and make GlobalCounter use it.

Reviewed-by: eosterlund, rehn
2018-08-23 18:14:53 -04:00
Matthias Baesken
26633376aa 8234397: add OS uptime information to os::print_os_info output
Reviewed-by: clanger, dholmes, lucy
2019-12-03 15:17:59 +01:00
Matthias Baesken
e0e49c5c62 8231445: check ZALLOC return values in awt coding
Reviewed-by: clanger, prr
2019-09-25 09:15:43 +02:00
Weijun Wang
5ea5276951 8210476: sun/security/mscapi/PrngSlow.java fails with Still too slow
Reviewed-by: xuelei, igerasim, rriggs
2018-12-03 23:58:15 +08:00
John Jiang
a865a84d63 8203687: javax/net/ssl/compatibility/Compatibility.java supports TLS 1.3
Reviewed-by: xuelei
2019-01-18 14:25:34 +08:00
Ivan Gerasimov
16c3c07a3b 8201355: Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed
Reviewed-by: weijun
2018-10-18 09:46:46 -07:00
Goetz Lindenmaier
c2058ee76a Merge 2019-12-19 13:04:44 +01:00
Goetz Lindenmaier
1237624d57 Merge 2019-12-19 09:27:04 +01:00
Dean Long
52374cee05 8213348: jdk.internal.vm.compiler.management service providers missing in module descriptor
8211781: re-building fails after changing Graal sources

Reviewed-by: erikj, mchung
2018-11-08 15:19:14 -08:00
Roger Riggs
626c2c6c92 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
Reviewed-by: martin
2018-08-15 10:38:27 -04:00
Prasanta Sadhukhan
339eadc06d 8215396: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb
2019-03-08 14:07:10 +05:30
Ralf Schmelter
b0d1a33a4f 8226608: Hide the onjcmd option from the help output
Reviewed-by: sspitsyn, clanger
2019-06-27 00:51:04 -07:00
Ralf Schmelter
7dcbe59fee 8224673: Adjust permission for delayed starting of debugging
Changed permission from monitor to control

Reviewed-by: sspitsyn, clanger
2019-05-24 04:18:18 -07:00
Ioi Lam
88352fd784 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Handle %p in /proc/sys/kernel/core_pattern

Reviewed-by: dholmes, hseigel
2018-08-15 19:22:46 -07:00
Weijun Wang
88d5954a95 8231507: Update Apache Santuario (XML Signature) to version 2.1.4
Co-authored-by: Fedor Burdun <fedor.burdun@azulsystems.com>
Reviewed-by: weijun
2019-10-10 17:36:38 +03:00
Matthias Baesken
7079dd11cf 8235243: handle VS2017 15.9 and VS2019 in abstract_vm_version
8235325: build failure on Linux after 8235243

Reviewed-by: dholmes, mdoerr
2019-12-06 12:42:29 +01:00
Matthias Baesken
c37015df84 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2019-11-18 16:49:39 +01:00
Matthias Baesken
abb2ea7e6e 8234323: NULL-check return value of SurfaceData_InitOps on macosx
Reviewed-by: clanger
2019-11-19 09:56:43 +01:00
Matthias Baesken
d2705b678a 8233078: fix minimal VM build on Linux ppc64(le)
Reviewed-by: mdoerr, lucy
2019-11-04 09:54:00 +01:00
Matthias Baesken
facf7ea9c7 8234741: enhance os::get_core_path on macOS
Reviewed-by: clanger, gziemski
2019-11-29 09:52:50 +01:00
Goetz Lindenmaier
b8687bb058 Merge 2019-12-12 09:08:48 +01:00
Prasanta Sadhukhan
b6708218e5 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64
Reviewed-by: jdv
2019-05-28 16:38:01 +05:30
Prasanta Sadhukhan
ec9f247c70 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64
Reviewed-by: jdv
2019-05-28 16:35:47 +05:30
Phil Race
7616e67497 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
Reviewed-by: serb, jdv
2019-05-30 09:23:14 -07:00
Jayathirth D V
d714f730ce 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
2019-06-03 11:56:48 +05:30
Brian Burkhalter
77ba4b1c50 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException
Reviewed-by: darcy
2019-05-31 11:13:58 -07:00
Sergey Bylokhov
20ff519b3c 8225144: [macos] In Aqua L&F backspace key does not delete when Shift is pressed
Reviewed-by: psadhukhan
2019-06-11 10:15:30 -07:00
Naoto Sato
dffdb3a9bc 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14
Reviewed-by: rriggs
2019-10-11 11:06:46 -07:00
Vladimir Kozlov
2c4d146556 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out
Reviewed-by: iignatyev
2019-06-07 13:57:08 -07:00
Abdul Kolarkunnu
c9c01facaf 8221312: test/jdk/sanity/client/SwingSet/src/ColorChooserDemoTest.java failed
Reviewed-by: serb, psadhukhan
2019-08-06 00:16:38 -07:00
David Holmes
4e18c8ad83 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2019-11-18 23:41:06 -05:00
Erik Joelsson
c8ca75eaac 8217613: [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac
Reviewed-by: tbell, kvn, iignatyev
2019-01-23 14:10:31 -08:00
Ekaterina Pavlova
c4c38cd46f 8214557: Filter out VM flags which don't affect AOT code generation
Reviewed-by: kvn, erikj
2018-11-30 23:46:20 -08:00
Ekaterina Pavlova
0901a7cb6d 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
Reviewed-by: kvn, erikj, ihse
2018-11-02 14:00:29 -07:00
Igor Ignatyev
bd3de8cc40 8210699: Problem list tests which times out in Xcomp mode
Reviewed-by: kvn
2018-09-12 21:56:59 -07:00
Martin Doerr
91b5da68e1 8220348: [ntintel] asserts about copying unaligned array
Reviewed-by: clanger, stuefe
2019-12-06 14:31:05 +01:00
Alan Bateman
1c19249381 8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels()
Reviewed-by: bpb
2019-11-08 08:12:04 -08:00
Thomas Schatzl
31bd8f09f8 8211211: vmTestbase/metaspace/stressDictionary/StressDictionary.java timeout
Disable CMS precleaning to avoid accumulating too many classloaders to unload.

Reviewed-by: kbarrett, sangheki
2018-11-28 10:52:01 +01:00
Fei Yang
1c0f3410e4 8233466: aarch64: remove unnecessary load of mdo when profiling return and parameters type
Reviewed-by: adinn
2019-11-04 16:10:39 +08:00
Bernard Blaser
d63e363fbb 8214345: infinite recursion while checking super class
Reviewed-by: vromero
2019-01-18 13:49:45 -05:00
Ioi Lam
c362d11a46 8209826: Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup)
Include os_inline.hpp instead

Reviewed-by: jiangli
2018-08-21 20:23:34 -07:00
Jiangli Zhou
3e9b63bd3e 8235509: Backport for JDK-8209657 Refactor filemap.hpp to simplify integration with Serviceability Agent
Backport for JDK-8209657 Refactor filemap.hpp to simplify integration with Serviceability Agent.

Reviewed-by: clanger
2019-12-06 12:52:10 -08:00
Calvin Cheung
a154cb2d4f 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Skip checking the path entries which are not being referenced during CDS dump time

Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
Jiangli Zhou
664fe5297c 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.

Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Severin Gehwolf
1b572b859b 8232003: (fs) Files.write can leak file descriptor in the exception case
Be sure to close the leaked OutputStream in all cases

Reviewed-by: alanb, bpb, clanger
2019-10-08 15:30:46 +02:00
David Holmes
75cf5dc2fa 8210512: [Testbug] vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails with unexpected size of ClassLoaderReference.referringObjects
Account for the self-reference that every class has in the constant pool

Reviewed-by: sspitsyn, jcbeyler
2018-09-10 18:57:44 -04:00
Liam Miller-Cushon
09fb9bd4f0 8213908: AssertionError in DeferredAttr at setOverloadKind
Reviewed-by: mcimadamore
2018-11-19 09:57:41 -08:00
Vikrant Agarwal
ae8e4fcd2b 8217235: Create automated test for SwingSet ColorChooserDemoTest
Reviewed-by: serb, shurailine
2019-01-24 07:15:42 -08:00
Igor Ignatyev
7b68333db1 8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled
Reviewed-by: kvn
2019-01-23 16:36:45 -08:00
Igor Ignatyev
029ea8b47c 8214904: Test8004741.java failed due to "Too few ThreadDeath hits; expected at least 6 but saw only 5"
Reviewed-by: kvn, epavlova
2019-11-15 14:22:24 -08:00
Prasanta Sadhukhan
087d57a23a 8234786: Fix for JDK-8214578 breaks OS X 10.12 compatibility
Reviewed-by: jdv
2019-11-27 13:35:27 +05:30
Prasanta Sadhukhan
0bab8dd164 8214578: [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings
Reviewed-by: serb, prr
2019-11-07 11:30:22 +05:30
Pankaj Bansal
97564d21cc 8212903: [TestBug] Tests test/jdk/javax/swing/LookAndFeel/8145547/DemandGTK2.sh and DemandGTK3.sh fail on Ubuntu 18.04 LTS
Reviewed-by: prr, psadhukhan
2018-10-31 14:22:48 +05:30
Goetz Lindenmaier
ac06ffefd5 Merge 2019-12-05 14:31:11 +01:00
Anton Kozlov
0f0b001096 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Doug Simon
c9e8c8fe4b 8210793: [JVMCI] AllocateCompileIdTest.java failed to find DiagnosticCommand.class
Reviewed-by: thartmann, kvn
2018-09-18 22:32:25 +02:00
Vladimir Kozlov
32c1c95996 8210220: [AOT] jdwp test cases are failing with error # ERROR: TEST FAILED: Cought IOException while receiving event packet
Don't register AOT method if corresponding java method has breakpoints.

Reviewed-by: dlong
2018-09-13 15:27:21 -07:00
Vladimir Kozlov
f5c5a65736 8209574: [AOT] breakpoint events are generated in different threads does not meet expected count
Disable AOT when debugger is attached.

Reviewed-by: dlong
2018-09-17 13:43:22 -07:00
Dean Long
80b3aafa8a 8209361: [AOT] Unexpected number of references for JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected at least 1)
Reviewed-by: coleenp, dholmes
2018-09-06 17:45:15 -07:00
Vladimir Kozlov
813129784e 8208379: compiler/jvmci/events/JvmciNotifyInstallEventTest.java failed with "Got unexpected event count after 2nd install attempt: expected 9 to equal 2"
Reviewed-by: iignatyev
2019-06-06 15:12:37 -07:00
Chris Yin
68f3f5e128 8198882: Add 10 JNDI tests to com/sun/jndi/dns/AttributeTests/
Reviewed-by: vtewari, rriggs
2018-07-25 11:03:07 +08:00
Thomas Stuefe
4cb07d3afc 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
John Jiang
8baa3fb2aa 8215524: Finished message validation failure should be decrypt_error alert
Reviewed-by: xuelei
2019-02-26 07:26:29 +08:00
Sergey Bylokhov
33309a116a 8215200: IllegalArgumentException in sun.lwawt.macosx.CPlatformWindow
Reviewed-by: dmarkov, kaddepalli
2018-12-19 14:11:35 -08:00
Xue-Lei Andrew Fan
1149ef05ab 8214321: Misleading code in SSLCipher
Reviewed-by: ascarpino
2018-11-26 20:50:21 -08:00
Sergey Bylokhov
ab97f65242 8214046: [macosx] Undecorated Frame does not Iconify when set to
Reviewed-by: dmarkov
2019-04-25 15:15:53 -07:00
Sergey Bylokhov
6a9a6a5750 8213119: [macos] java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: prr, jdv
2019-10-24 01:02:08 -07:00
Valerie Peng
9bb4e4266f 8213008: Cipher with UNWRAP_MODE should support the generation of an AES key type
Replaced CKK_GENERIC_SECRET with alorithm-specific key type in P11RSACipher unwrap impl

Reviewed-by: ascarpino
2019-03-11 23:48:32 +00:00
Rahul Raghavan
2d223c689c 8227439: Turn off AOT by default
Made UseAOT, AOTLibrary experimental and UseAOT false by default

Reviewed-by: iignatyev, kvn
2019-08-08 14:13:16 +05:30
Christoph Langer
6de49c8cd1 8226869: Test java/util/Locale/LocaleProvidersRun.java should enable assertions
Reviewed-by: naoto
2019-06-28 20:46:25 +01:00
Ying Zhou
e81a952313 8210403: Refactor java.util.Locale:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-17 16:37:41 +08:00
Matthias Baesken
f666af6548 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
Reviewed-by: clanger
2019-10-30 14:52:27 +01:00
Brian Burkhalter
99673bb5e6 8232178: MacVolumesTest failed after upgrade to MacOS Catalina
Reviewed-by: lancea
2019-11-07 13:53:38 -08:00
Matthias Baesken
1dfa6ac683 8232052: use string literal for format string when handling PauseAtStartupFile
Reviewed-by: clanger, stuefe
2019-10-09 14:07:44 +02:00
Brian Burkhalter
d9244acb6f 8231254: (fs) Add test for macOS Catalina changes to protect system software
Reviewed-by: alanb
2019-09-23 13:59:41 -07:00
Valerie Peng
5673b690ce 8229243: SunPKCS11-Solaris provider tests failing on Solaris 11.4
For CK_GCM_PARAMS, try the spec definition first before falling back to the header file definition

Reviewed-by: xuelei
2019-10-08 00:01:20 +00:00
Matthias Baesken
a21d858ec1 8231222: fix pkcs11 P11_DEBUG guarded native traces
Reviewed-by: clanger
2019-09-23 17:02:08 +02:00
Valerie Peng
56366c166e 8228835: Memory leak in PKCS11 provider when using AES GCM
Updated freeCKMechanismPtr to free mechanism-specific memories

Reviewed-by: jnimeh
2019-08-14 01:40:29 +00:00
Aleksey Shipilev
3ea0ac8e85 8225695: 32-bit build failures after JDK-8080462 (Update SunPKCS11 provider with PKCS11 v2.40 support)
Reviewed-by: alanb
2019-06-14 10:02:57 +02:00
Valerie Peng
dd13d1ba8e 8176837: SunPKCS11 provider needs to check more details on PKCS11 Mechanism
Disable mechanisms with partial support, e.g. can decrypt but cannot encrypt

Reviewed-by: xuelei
2019-09-20 21:33:24 +00:00
Valerie Peng
27f2c6ed0e 8080462: Update SunPKCS11 provider with PKCS11 v2.40 support
Added support for GCM, PSS, and other mechanisms

Reviewed-by: jnimeh
2019-06-11 21:30:28 +00:00
Julia Boes
715cf0ab3d 8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
Preserve BODY in poster output stream before sending CONNECT request

Reviewed-by: bae
2019-11-15 11:39:02 +03:00
Jaikiran Pai
e881d91b11 8212752: Typo in SSL log message related to inactive/disabled signature scheme
Reviewed-by: coffeys
2018-10-22 10:47:28 +01:00
Xue-Lei Andrew Fan
30d0962f2b 8212738: Incorrectly named signature scheme ecdsa_secp512r1_sha512
Reviewed-by: ascarpino
2018-10-30 19:47:16 -07:00
Igor Ignatyev
f9dce9736f 8208236: [TESTBUG] vmTestbase/nsk/stress/stack tests fail by timeout
Reviewed-by: dholmes
2019-06-12 21:17:26 -07:00
Bob Vandette
0f42ca806a 8211740: [AOT] -XX:AOTLibrary doesn't accept windows path
Reviewed-by: kvn, iignatyev
2018-10-16 09:54:28 -04:00
Vivek Deshpande
153b3c3ea4 8221092: UseAVX=3 has performance degredation on Skylake (X7) processors
Fix for UseAVX=3 has performance degredation on Skylake (X7) processors

Reviewed-by: kvn
2019-11-04 10:12:23 +01:00
Weijun Wang
3065991253 8227381: GSS login fails with PREAUTH_FAILED
Reviewed-by: xuelei
2019-07-10 09:43:34 +08:00
Weijun Wang
1c6d24791a 8227061: KDC.java test behaves incorrectly when AS-REQ contains a PAData not PA-ENC-TS-ENC
Reviewed-by: mullan
2019-07-04 07:25:11 +08:00
Weijun Wang
b46bd28a80 8226719: Kerberos login to Windows 2000 failed with "Inappropriate type of checksum in message"
Reviewed-by: xuelei
2019-07-03 11:43:01 +08:00
Mikhailo Seledtsov
0104a90a20 8230115: Problemlist JFR TestNetworkUtilization test
Added test to the problem list

Reviewed-by: dcubed
2019-08-28 15:15:38 -07:00
Arno Zeller
a23541bb21 8231457: Asserts on AIX because os::elapsed_counter() is not monotonic
Replace gettimeofday with javaTimeNanos

Reviewed-by: dholmes, stuefe
2019-09-28 17:52:07 -04:00
Goetz Lindenmaier
95a0338f9c Merge 2019-11-13 10:32:27 +01:00
Goetz Lindenmaier
0618a506cf Added tag jdk-11.0.6+3 for changeset f8b2e95a1d41 2019-11-13 07:41:46 +01:00
Martin Balao
824b6e51b5 8233944: Make KerberosPrincipal.KRB_NT_ENTERPRISE field package private
Reviewed-by: clanger
2019-11-11 18:50:25 -03:00
Fei Yang
c4ee94ff22 8233839: aarch64: missing memory barrier in NewObjectArrayStub and NewTypeArrayStub
Reviewed-by: adinn
2019-11-08 16:53:57 +08:00
Jaikiran Pai
be95351ac4 8232879: Writing out data with the Zip File System leads to a CRC failure
Reviewed-by: lancea, clanger
2019-11-04 13:59:03 +05:30
Matthias Baesken
9e6880e6de 8233203: fix non-product build on AIX when compiling with xlc16/legacy-xlc
Reviewed-by: clanger, mdoerr
2019-10-30 15:24:41 +01:00
Leonid Mesnik
1765d1e3c7 8230881: serviceability/sa/TestJmapCore tests fail with java.lang.RuntimeException: Could not find dump file
Reviewed-by: dholmes, cjplummer
2019-09-13 09:34:13 -07:00
Chris Plummer
e0cbf13399 8228625: [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Give jshell process time to fully startup and stablize before requesting heap dump

Reviewed-by: sspitsyn, amenkov
2019-09-26 14:41:09 -07:00
Tobias Hartmann
d9785e7a77 8230388: Problemlist additional compiler/rtm tests
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 11:11:33 +02:00
Dmitry Markov
40009296b9 8225505: ctrl-F1 does not show the tooltip of a menu item (JMenuItems)
Reviewed-by: psadhukhan, serb
2019-08-23 14:25:20 +01:00
Daniel D. Daugherty
35e7edc170 8226899: Problemlist compiler/rtm tests
Reviewed-by: kvn
2019-08-01 15:54:45 -04:00
Ivan Gerasimov
1cd9850858 8233886: TEST_BUG jdk/java/net/CookieHandler/B6791927.java hit hardcoded expiration date
Reviewed-by: chegar, vtewari
2019-11-11 05:09:31 -08:00
Sergey Bylokhov
a506a24c19 8221246: NullPointerException within Win32ShellFolder2
Reviewed-by: prr
2019-06-11 16:23:33 -07:00
Lutz Schmidt
1dd28b3360 8231403: [ppc]: Align ReservedCodeCacheSize default value with other platforms
Reviewed-by: goetz
2019-09-30 17:18:30 +02:00
Matthias Baesken
96e9b4af4c 8232381: add result NULL-checking to freetypeScaler.c
Reviewed-by: clanger, prr
2019-10-18 14:56:01 +02:00
Eric Caspole
b2ea87a5e2 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2019-10-29 13:51:14 -04:00
Goetz Lindenmaier
f48a8b3753 Added tag jdk-11.0.6+2 for changeset 8d3e0c2c0098 2019-11-06 08:02:09 +01:00
Roland Westrelin
7522d270ed 8231620: assert(bol->is_Bool()) crash during split if due to FastLockNode
Reviewed-by: vlivanov, thartmann
2019-10-01 10:28:12 +02:00
Martin Balao
9054a55048 8215032: Support Kerberos cross-realm referrals (RFC 6806)
Reviewed-by: weijun
2019-06-05 01:42:11 -03:00
Roger Riggs
3f29fd3588 8224505: TestQuotedLogOutput failure after ProcessBuilder changes
Reviewed-by: alanb
2019-05-22 13:31:42 -04:00
Daniel Fuchs
38989477d8 8216363: NullPointerException in java.util.logging.Handler#isLoggable
The implementation is changed to match the spec: isLoggable(null) returns false.

Reviewed-by: mchung, lancea
2019-02-21 16:57:47 +00:00
Nils Eliasson
dba46c3f33 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Martin Doerr
89c57f7157 8216426: Usage of array placement new may lead to memory corruption
Reviewed-by: rehn, kbarrett, rkennke, eosterlund
2019-01-15 10:23:23 +01:00
Bob Vandette
98350351ec 8220476: Incorrect GPL header in src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/PerfDataFile.java
Reviewed-by: lancea
2019-03-08 16:21:16 -05:00
Gary Adams
ed2f03ef88 8220474: Incorrect GPL header in src/java.instrument/share/classes/java/lang/instrument/package-info.java
Reviewed-by: dholmes
2019-03-12 11:53:06 -04:00
Daniil Titov
e6b187ad0d 8221532: Incorrect copyright header in FileSystemSupport_md.c
Reviewed-by: cjplummer, gadams
2019-03-28 04:30:52 +00:00
John Neffenger
73b080ba9b 8212071: Need to set the FreeType LCD Filter to reduce fringing
Reviewed-by: prr, lbourges
2019-10-30 15:57:15 +01:00
Sergey Bylokhov
268d1e30b4 8211992: GraphicsConfiguration.getDevice().getDisplayMode() causes JVM crash on Mac
Reviewed-by: prr
2018-11-02 12:15:37 -07:00
Jamil Nimeh
e5510a12d4 8211866: TLS 1.3 CertificateRequest message sometimes offers disallowed signature algorithms
Reviewed-by: xuelei
2018-10-16 11:24:41 -07:00
Sergey Bylokhov
a86df6e1cb 8211147: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Reviewed-by: prr
2018-11-30 15:54:34 -08:00
Gustavo Romero
3a9e3db4eb 8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
2018-09-14 15:32:22 -04:00
Magnus Ihse Bursie
2d18bcba30 8214311: dtrace gensrc has missing dependencies
Reviewed-by: tbell, erikj, clanger
2018-12-03 18:43:24 +01:00
Goetz Lindenmaier
e7a66021c8 Merge 2019-10-30 10:26:46 +01:00
Goetz Lindenmaier
4b804d5034 Added tag jdk-11.0.6+1 for changeset 6eb89e59a06a 2019-10-30 10:22:48 +01:00
Martin Doerr
1434a2dc32 8232005: [s390, PPC64] More exception checks missing in interpreter
Reviewed-by: rrich, goetz
2019-10-24 16:28:49 +02:00
Chihiro Ito
049bf0e7d3 8223697: jfr tool can't format duration values greater than 1 minute
Reviewed-by: egahlin
2019-10-22 23:55:33 +02:00
Xue-Lei Andrew Fan
7a98c96c31 8218580: endpoint identification algorithm should be case-insensitive
Reviewed-by: jnimeh
2019-02-08 10:03:07 -08:00
Roman Kennke
0e037bd7b7 8231085: C2/GC: Better GC-interface for expanding clone
Reviewed-by: eosterlund
2019-09-18 20:56:18 +02:00
Jie Fu
e29a6a7c37 8229169: False failure of GenericTaskQueue::pop_local on architectures with weak memory model
Reviewed-by: mdoerr, kbarrett, tschatzl
2019-08-07 17:00:19 +08:00
Igor Ignatyev
08a0d2e342 8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations"
Reviewed-by: roland, thartmann
2019-01-30 09:30:40 -08:00
Huang Wang
f9d217dab9 8231988: Unexpected test result caused by C2 IdealLoopTree::do_remove_empty_loop
Duplicate cmp node in empty loop if it has other users

Co-authored-by: Tuo Xie <xietuo@huawei.com>
Reviewed-by: neliasso, thartmann
2019-10-11 16:52:18 +08:00
Erik Gahlin
5ba35ec3e3 8215771: The jfr tool should pretty print reference chains
Reviewed-by: mgronlun
2019-01-04 14:05:16 +01:00
Sergey Ustimenko
9632440c46 8214052: [testbug] vmTestbase/vm/compiler/CodeCacheInfoOnCompilation - wrong shell used
Reviewed-by: jwilhelm
2018-12-08 05:04:19 +01:00
Aleksey Shipilev
35cb9c03de 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2019-10-15 19:45:09 +02:00
Christian Hagedorn
db73bdb559 8232874: Add missing test for 8230062
Adds a missing test which verifies the bug fix of 8230062.

Reviewed-by: roland, thartmann
2019-10-23 12:17:14 +02:00
Daniel Fuchs
bfc9ed1089 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
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
2019-03-28 12:16:36 +00:00
Matthias Baesken
05b1ee7f5d 8215411: some GetByteArrayElements calls miss corresponding Release
Reviewed-by: dholmes, jcbeyler
2018-12-19 10:30:43 +01:00
Kim Barrett
c53a6ff438 8229156: ProblemList gc/stress/gclocker/TestExcessGCLockerCollections.java
Reviewed-by: shade
2019-08-06 11:40:23 -04:00
Matthias Baesken
1ea741700f 8231751: on aix handle Power 9 in os::get_summary_cpu_info
Reviewed-by: clanger, mdoerr
2019-10-02 10:01:18 +02:00
Yasumasa Suenaga
7abaa05e65 8232592: <Unknown compiled code> is shown in jstack mixed mode
Reviewed-by: cjplummer, phh
2019-10-23 10:02:26 +09:00
Ralf Schmelter
52df047d4b 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
2019-10-01 14:09:44 +02:00
Chihiro Ito
6972a16169 8225694: Destination option missing in FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2019-10-07 16:44:12 +02:00
Sergey Bylokhov
03284f2f26 8146238: [macosx] Java2D Queue Flusher crash on OSX after switching between user accounts
Reviewed-by: prr, avu
2019-08-27 04:43:01 -07:00
Sergey Bylokhov
e2d83e28ca 8134672: [TEST_BUG] Some tests should check isDisplayChangeSupported
Reviewed-by: prr
2019-06-26 15:34:13 -07:00
Semyon Sadetsky
0071a24b94 8226513: JEditorPane is shown with incorrect size
Reviewed-by: prr, psadhukhan
2019-08-19 12:13:47 +05:30
Sergey Bylokhov
f906e84ee7 8215105: java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java: Wrong Pixel Color
Reviewed-by: prr
2019-03-29 16:09:47 -07:00
Sergey Bylokhov
d0604c201b 8225101: Crash at sun.awt.X11.XlibWrapper.XkbGetUpdatedMap when change keybord map
Reviewed-by: prr, pbansal
2019-09-12 22:20:35 -07:00
Poonam Bajaj
13fb97feef 8229420: [Redo] jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-08-16 18:06:51 +00:00
Vladimir Kempik
beaf62ca9d 8229872: (fs) Increase buffer size used with getmntent
Dynamically allocate memory for getmntent

Reviewed-by: alanb
2019-09-24 14:54:57 +03:00
Rajan Halade
bbfd081063 8231887: ComodoCA.java fails because certificate was revoked
Reviewed-by: mullan, clanger
2019-10-09 12:21:28 -07:00
Daniel Fuchs
39b334ec9d 8216561: HttpClient: The logic of retry on connect exception is inverted
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
2019-01-18 17:06:29 +00:00
Erik Joelsson
17a2532a3c 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
Reviewed-by: ctornqvi
2018-10-25 16:47:14 -07:00
Erik Joelsson
abcacaefe0 8212028: Use run-test makefile framework for testing in Oracle's Mach5
Reviewed-by: ihse
2018-10-15 11:36:20 -07:00
Erik Joelsson
372f7ee178 8211037: Load jib jars dynamically from JibArtifactManager
Reviewed-by: ihse
2018-09-24 13:51:22 -07:00
Calvin Cheung
aae980180d 8190737: use unicode version of the canonicalize() function to handle long path on windows
Also calling CreateFileW in zip_util.c to handle long path

Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00
Andrew John Hughes
bcd0e4217e Merge 2019-10-17 07:17:31 +01:00
Andrew John Hughes
cff7f4d87a Merge 2019-10-15 22:03:00 +01:00
Andrew John Hughes
936b96a8d2 Added tag jdk-11.0.5-ga for changeset 6385eb06af94 2019-10-15 21:31:30 +01:00
Andrew John Hughes
7763bc6a26 Added tag jdk-11.0.5+10 for changeset 6385eb06af94 2019-10-09 07:22:56 +01:00
Laurent Bourgès
0dc0ea56ee 8231693: Backout "8230728: Thin stroked shapes are not rendered if affine transform has flip bit" from jdk11u
Revert push to jdk11u

Reviewed-by: sgehwolf
2019-10-01 14:41:48 +02:00
Laurent Bourgès
97065cf100 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value

Reviewed-by: prr, jdv
2019-09-30 15:30:12 +02:00
Goetz Lindenmaier
45315121da Added tag jdk-11.0.5+9 for changeset ee7128cf507a 2019-09-25 07:52:58 +02:00
Brian Burkhalter
46ca4f5ac7 8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
2019-09-13 16:03:31 -07:00
Christoph Langer
9d116719da 8230850: Test sun/tools/jcmd/TestProcessHelper.java fails intermittently
Reviewed-by: stuefe, cjplummer, sgehwolf
2019-09-16 09:21:42 +02:00
Ivan Gerasimov
9273faa66d 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2019-09-10 09:08:52 -07:00
Christian Hagedorn
08fa6ff1ea 8230062: assert(i == p->size()-1) failed: must be last element of the pack
Avoids vectorization of reduction chain in which an intermediate result is used.

Reviewed-by: roland, thartmann
2019-09-30 09:29:10 +02:00
Aleksey Shipilev
a75b47ea91 8231503: [TESTBUG] compiler/{jvmci,aot} tests should not run with GCs that do not support JVMCI/AOT
Reviewed-by: kvn, dlong, stefank
2019-10-01 15:38:26 +02:00
Claes Redestad
b0170bd63c 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-08-19 06:13:52 +02:00
Ramanand Patil
f89306aaca 8228469: (tz) Upgrade time-zone data to tzdata2019b
Reviewed-by: naoto, martin
2019-08-07 13:00:57 +01:00
Naoto Sato
df3d8aea28 8212970: TZ database in "vanguard" format support
Reviewed-by: rriggs, joehw, erikj, scolebourne
2019-07-26 08:56:28 -07:00
Goetz Lindenmaier
7bebdea0a8 Added tag jdk-11.0.5+8 for changeset 2c29e9b3a285 2019-09-18 08:03:06 +02:00
Rajan Halade
e59dc4fc99 8228337: problemList failing/ignored manual tests in security-libs
Reviewed-by: ascarpino
2019-07-17 16:13:26 -07:00
Igor Ignatyev
3af4964b8e 8222154: upgrade gtest to 1.8.1
Reviewed-by: jwilhelm, rwestberg
2019-05-16 12:16:47 -07:00
Goetz Lindenmaier
4853319d12 Added tag jdk-11.0.5+7 for changeset 046604d257d7 2019-09-11 07:38:23 +02:00
Lance Andersen
61cf67c482 8229887: (zipfs) zip file corruption when replacing an existing STORED entry
Reviewed-by: alanb, redestad, dfuchs
2019-08-22 10:43:25 -04:00
John Jiang
89fb191678 8225390: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8161536
Reviewed-by: xuelei
2019-06-06 10:11:24 +08:00
John Jiang
697a9149dd 8204203: Many pkcs11 tests failed in Provider initialization, after compiler on Windows changed
Build NSS 3.41 with VS2017 and also upgrade to this NSS for macosx

Reviewed-by: valeriep
2019-05-03 15:57:41 +08:00
Weijun Wang
a1efdbf430 8219013: Update Apache Santuario (XML Signature) to version 2.1.3
Reviewed-by: mullan
2019-05-07 10:21:04 +08:00
Chris Hegarty
97910c06d3 8225425: java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
Reviewed-by: dfuchs, alanb, erikj
2019-08-19 14:28:43 +01:00
Goetz Lindenmaier
ba81db784d Merge 2019-09-04 10:08:34 +02:00
Goetz Lindenmaier
120bfc64e2 Added tag jdk-11.0.5+6 for changeset deaef57bf366 2019-09-04 10:02:33 +02:00
Krishna Addepalli
80853189eb 8219914: Change the environment variable for Java Access Bridge logging to have a directory
Reviewed-by: prr
2019-04-25 15:19:09 +05:30
David Alvarez
a1af427a66 8228825: Enhance ECDSA operations
Reviewed-by: andrew
2019-10-09 07:05:18 +01:00
Stefan Karlsson
d83c7ee748 8221913: Add GC.selected() jtreg-ext function
Reviewed-by: kbarrett, pliden
2019-04-10 15:41:03 +02:00
Joe Wang
0da422811b 8016914: CoreDocumentImpl.setXmlVersion NPE
Reviewed-by: lancea
2019-09-30 17:54:11 +00:00
Kiran Ravikumar
32dac05fb0 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Jie Fu
7f80004582 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2019-08-03 09:04:04 +08:00
Thomas Stuefe
ee80924230 8221407: Windows 32bit build error in libsunmscapi/security.cpp
Reviewed-by: clanger
2019-03-26 15:52:08 +01:00
Roger Riggs
388995718b 8227601: Better collection of references
Reviewed-by: smarks, ahgross, skoivu, rhalade
2019-01-17 10:44:17 -05:00
Ivan Gerasimov
742789af80 8226765: Commentary on Javadoc comments
Reviewed-by: jjg, rhalade, skoivu, andrew
2019-10-09 06:58:02 +01:00
Phil Race
86bad8c8de 8225597: Enhance font glyph mapping
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-19 15:23:53 -07:00
Ivan Gerasimov
8f820424d7 8225298: Improve TLS connection support
Reviewed-by: dfuchs, igerasim, michaelm, rhalade, skoivu
2019-06-22 20:46:46 -07:00
Phil Race
6b9ed416e6 8225292: Better Graphics2D drawing
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-16 13:14:32 -07:00
Phil Race
193b4a70e4 8225286: Better rendering of native glyphs
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-19 15:24:42 -07:00
Phil Race
c884812df5 8224915: Better serial attributes
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-14 20:33:17 -07:00
Joe Wang
9071b47a3c 8224532: Better Path supports
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-05-31 10:58:10 -07:00
Tobias Hartmann
5c1a07801b 8224062: Improve String index handling
Reviewed-by: kvn, rhalade, mschoene
2019-05-27 01:36:04 -07:00
Aleksei Efimov
768307e0fb 8223892: Improved handling of jar files
Reviewed-by: dfuchs, chegar, michaelm, rhalade, ahgross
2019-06-25 00:07:47 +01:00
Phil Race
8301840789 8223886: Add in font table referene
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-05-22 08:42:11 -07:00
Hannes Wallnöfer
90bdb6a26a 8223518: Unexpected exception in jjs
Reviewed-by: sundar, mschoene, rhalade, jlaskey
2019-05-24 16:53:44 +02:00
Joe Wang
dab69d4003 8223505: Better pattern compilation
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-05-21 13:02:22 -07:00
Phil Race
84dc597435 8222690: Better Glyph Images
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-05-15 12:44:31 -07:00
Ivan Gerasimov
de53d558d9 8222684: Better support for patterns
8223163: Better pattern recognition

Reviewed-by: ahgross, bchristi, jeff, rhalade, rriggs, smarks
2019-05-22 19:41:59 -07:00
Roger Riggs
bf7e92edbc 8221858: Build Better Processes
Reviewed-by: alanb, rhalade, ahgross, darcy
2019-04-30 16:45:29 -04:00
Sergey Bylokhov
8b4e907f69 8221497: Optional Panes in Swing
Reviewed-by: prr, alitvinov, mschoene, rhalade
2019-05-19 17:20:21 -07:00
Weijun Wang
70d1baeb6b 8209901: Canonical file handling
Reviewed-by: mullan, alanb, ahgross
2019-04-22 13:01:57 +08:00
Weijun Wang
28b5c6ac82 8224025: Fix for JDK-8220302 is not complete
Reviewed-by: ahgross, mullan, valeriep
2019-05-21 08:37:30 +08:00
Weijun Wang
95f1a2648d 8220302: Better Kerberos ccache handling
Reviewed-by: valeriep
2019-04-19 10:22:20 +08:00
Phil Race
612e269e33 8220186: Improve use of font temporary files
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-04-23 11:59:54 -07:00
Anton Litvinov
eb9e301faf 8218877: Help transform transformers
Reviewed-by: serb, prr, mschoene, bpb, ssahoo
2019-05-31 18:16:57 +01:00
Michael McMahon
20ebeef55b 8218573: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-03-25 17:15:27 +00:00
Aleksei Efimov
93029e2584 8213429: Windows file handling redux
Reviewed-by: alanb, dfuchs, weijun, bpb, rhalade, ahgross
2019-05-20 15:57:16 +01:00
Martin Buchholz
27f28beadf 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -08:00
Sergey Bylokhov
e5d2d2d98a 8213568: Typo in java/awt/GraphicsEnvironment/LoadLock/GE_init5.java
Reviewed-by: prr
2018-11-09 22:25:40 -08:00
Daniil Titov
e7fb6f9ac4 8220175: serviceability/dcmd/framework/VMVersionTest.java fails with a timeout
Reviewed-by: sspitsyn, cjplummer
2019-06-20 18:47:44 -07:00
Sergey Bylokhov
335d91c515 8219504: Test for JDK-8211435 can be run on all platforms
Reviewed-by: kaddepalli, dmarkov, sveerabhadra
2019-03-09 14:48:17 -08:00
Kim Barrett
7b0a5e4c84 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Erik Gahlin
ac2d6a4434 8224217: RecordingInfo should use textual representation of path
Reviewed-by: mgronlun
2019-06-06 15:22:12 +02:00
Aleksey Shipilev
0d1400f751 8231201: hs_err should print coalesced safepoint operations in Events section
Reviewed-by: phh, dholmes
2019-09-19 09:50:11 +02:00
Per Lidén
1d24f8f53a 8221456: nmethod::make_unloaded() clears _method member too early
Reviewed-by: eosterlund, thartmann
2019-03-27 18:30:45 +01:00
Phil Race
96e1bc18f3 8229800: WindowsServerCore 1809 does not provide d2d1.dll library required by awt.dll
Reviewed-by: jdv, serb, aaivanov
2019-08-28 09:13:01 -07:00
Matthias Baesken
2d7fcb3832 8228368: avoid incompatible pointer to integer conversion initializing gint in gtk2_interface
Reviewed-by: prr
2019-07-18 14:01:54 +02:00
Dora Zhou
ab40ce2009 8215913: [Test_bug]java/util/Locale/LocaleProvidersRun.java failed on de_DE and ja_JP locale
Reviewed-by: naoto, rgoel, rriggs
2019-01-07 18:48:39 -08:00
Per Lidén
b452145a0b 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails
Reviewed-by: shade, dholmes
2019-09-26 13:56:58 +02:00
Per Lidén
f7daa28c3b 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2019-10-01 12:27:14 +02:00
Brian Burkhalter
6bed55986b 8229022: BufferedReader performance can be improved by using StringBuilder
Reviewed-by: igerasim, vtewari, dfuchs
2019-10-02 07:50:06 -07:00
Arthur Eubanks
ecb14f17a0 8229899: Make java.io.File.isInvalid() less racy
Reviewed-by: alanb, martin, shade
2019-08-19 16:08:28 -07:00
Tobias Hartmann
a37a4cddf3 8231223: C2's conditional move optimization fails with assert(bol->Opcode() == Op_Bool) failed
Bail out if the range check If has an Opaque4Node input instead of a BoolNode.

Reviewed-by: roland, kvn
2019-09-26 09:16:08 +02:00
Roland Westrelin
73b8c60f76 8230061: # assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: thartmann, neliasso
2019-08-28 15:51:03 +02:00
Aleksey Shipilev
aff790110d 8230671: x86_32 build failures after JDK-8229496
Reviewed-by: thartmann
2019-09-06 09:26:23 +02:00
Tobias Hartmann
3f65a46e7c 8229496: SIGFPE (division by zero) in C2 OSR compiled method
Adding a CastNode to keep the dependency between the div/mod operation and the zero check.

Reviewed-by: roland, mdoerr
2019-09-05 13:56:17 +02:00
Richard Reingruber
cd55f40eec 8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
2019-08-30 09:24:54 +02:00
Roland Westrelin
d83fdbd1b0 8231665: 8231055 broke escapeAnalysis/TestSelfArrayCopy.java
Reviewed-by: thartmann
2019-09-30 17:58:05 +02:00
Roland Westrelin
199b95159a 8231055: C2: arraycopy with same non escaping src and dest but different positions causes wrong execution
Reviewed-by: thartmann, vlivanov
2019-09-17 15:58:54 +02:00
Christoph Langer
68570f2c0f 8223869: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java on more platforms
Reviewed-by: goetz
2019-10-01 14:51:04 +02:00
Roland Westrelin
b3bd41a4d0 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
2019-09-23 16:49:09 +02:00
Matthias Baesken
aa6575933c 8229284: jdk/internal/platform/cgroup/TestCgroupMetrics.java fails for - memory:getMemoryUsage
Reviewed-by: mseledtsov, sgehwolf
2019-08-28 14:22:56 +02:00
Christoph Langer
530f9ad291 8231318: Several compiler/aot tests fail for JDK11 on Windows when only MSVC 2017 is installed
Reviewed-by: kvn
2019-10-04 11:23:56 +02:00
Severin Gehwolf
5a3e18bae7 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Move container constant to separate test lib class

Reviewed-by: alanb
2019-07-22 10:48:14 +02:00
Severin Gehwolf
8ab5ecdbba 8227642: [TESTBUG] Make docker tests podman compatible
Reviewed-by: mseledtsov, iignatyev
2019-07-12 19:37:25 +02:00
Bob Vandette
5e3fe3c0eb 8224502: [TESTBUG] JDK docker test TestSystemMetrics.java fails with access issues and OOM
Reviewed-by: sgehwolf, mseledtsov
2019-06-24 11:49:59 -04:00
Volker Simonis
a0e877a837 8220528: [AIX] Fix basic Xinerama and Xrender functionality
Reviewed-by: clanger, stuefe, serb
2019-03-27 19:47:47 +01:00
Laurent Bourgès
a44fef330b 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value

Reviewed-by: prr, jdv
2019-09-30 15:30:12 +02:00
Markus Grönlund
ab736601d1 8227605: Kitchensink fails "assert((((klass)->trace_id() & (JfrTraceIdEpoch::leakp_in_use_this_epoch_bit())) != 0)) failed: invariant"
Reviewed-by: dholmes, dcubed, egahlin
2019-07-31 16:09:17 +02:00
Markus Grönlund
24f69f8890 8227411: TestTimeMultiple.java failed "assert(!lease()) failed: invariant"
Reviewed-by: egahlin
2019-09-02 15:04:43 +02:00
Yasumasa Suenaga
69c6b4d392 8217362: Emergency dump does not work when disk=false is set
Reviewed-by: egahlin, ysuenaga
2019-03-25 15:37:06 +01:00
Alan Bateman
18497dec1b 8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
Reviewed-by: redestad, mchung, jjg, adinn, clanger
2018-12-18 10:26:15 +00:00
Mikhailo Seledtsov
5490d834cf 8228687: [TESTBUG] exclude Container tests from hotspot_misc group
Excluded hotspot_containers from hotspot_misc

Reviewed-by: dcubed, adinn
2019-08-02 13:51:34 -07:00
Vicente Romero
18792f0570 8210789: langtools/tools/javac/T8152616.java missing @modules
Reviewed-by: jjg
2018-10-04 10:19:01 -07:00
Claes Redestad
54486569a8 8224589: Improve startup behavior of SecurityProperties
Reviewed-by: alanb
2018-09-12 11:13:09 +02:00
Goetz Lindenmaier
fa719f44d0 Added tag jdk-11.0.5+5 for changeset d43c5ab1a337 2019-08-28 10:59:07 +02:00
Andrey Petushkov
e0a13da473 8215879: AArch64: ReservedStackAccess may leave stack guard in inconsistent state
Reviewed-by: aph, dholmes
2018-12-21 18:26:55 +00:00
Nick Gasson
ac253931a3 8229118: [TESTBUG] serviceability/sa/ClhsdbFindPC fails on AArch64
Reviewed-by: cjplummer, adinn
2019-08-15 14:00:36 +08:00
Joe Wang
ca3d32f35d 8225005: Xerces 2.12.0: License file
Reviewed-by: lancea
2019-05-29 11:58:30 -07:00
Joe Wang
4dd1429aa6 8222991: Xerces 2.12.0: Validation
Reviewed-by: lancea
2019-05-09 09:23:31 -07:00
Joe Wang
e15f3df1d8 8222743: Xerces 2.12.0: DOM Implementation
Reviewed-by: lancea
2019-04-25 15:54:21 -07:00
Joe Wang
5d85cee70d 8222415: Xerces 2.12.0: Parsing Configuration
Reviewed-by: lancea
2019-04-16 21:29:33 +00:00
Andrew Haley
a00d5f237e 8219993: AArch64: Compiled CI stubs are unsafely modified
Reviewed-by: adinn
2019-04-05 09:53:07 -04:00
Dmitrij Pochepko
c6a1463977 8216989: CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does not check for zero length on AARCH64
Reviewed-by: adinn
2019-08-23 12:57:44 +01:00
Aleksey Shipilev
2ee0f587fa 8219583: Windows build failure after JDK-8214777 (Avoid some GCC 8.X strncpy() errors in HotSpot)
Reviewed-by: kbarrett, mikael
2019-02-23 10:55:45 +01:00
Mikael Vidstedt
ca3fd3a03f 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
Dmitry Chuyko
2dc221e088 8215130: Fix errors in LittleCMS 2.9 reported by GCC 8
Reviewed-by: prr
2019-02-08 16:37:35 +03:00
Dmitry Chuyko
1549d7afc6 8220072: GCC 8.3 reports errors in java.base
Reviewed-by: rriggs
2019-05-22 21:33:58 +03:00
Michael McMahon
7894a13e79 8222968: ByteArrayPublisher is not thread-safe resulting in broken re-use of HttpRequests
Reviewed-by: chegar, dfuchs
2019-06-28 11:26:07 +01:00
Sergey Bylokhov
5d30097700 8215756: Memory leaks in the AWT on macOS
Reviewed-by: dmarkov
2019-01-05 10:13:58 -08:00
Phil Race
51a8e453f4 8210384: SunLayoutEngine.isAAT() font is expensive on MacOS
Reviewed-by: dmarkov, kaddepalli
2018-09-09 11:19:57 -07:00
Weijun Wang
61628526a9 8209771: jdk.test.lib.Utils::runAndCheckException error
Reviewed-by: dholmes
2018-08-22 11:10:45 +08:00
Vladimir Kozlov
0ecad1cf81 8202359: [GRAAL] compiler/uncommontrap/TestDeoptOOM.java failed with OutOfMemoryError
Exclude this test from running with Java Graal

Reviewed-by: iveresov
2018-10-03 14:53:05 -07:00
Ivan Gerasimov
407f3ecadc 8200381: Typos in javadoc - missing verb "be" and alike
Reviewed-by: lancea, darcy, wetmore
2018-10-02 10:19:07 -07:00
Michael McMahon
4b10a038ae 8185898: setRequestProperty(key, null) results in HTTP header without colon in request
Reviewed-by: chegar, dfuchs
2019-08-12 11:24:53 +01:00
Sergey Bylokhov
8399db4d1b 8144125: [macOS] java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically
Reviewed-by: dmarkov
2019-05-08 16:19:22 -07:00
Xin Liu
94e4246bc0 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Vicente Romero
c71326d95c 8225386: test for JDK-8216261 fails in Windows
Reviewed-by: jjg
2019-06-05 21:50:29 -04:00
Vicente Romero
261c5308b2 8216261: Javap ignores default modifier on interfaces
Reviewed-by: jjg, darcy
2019-06-05 16:01:50 -04:00
Weijun Wang
4d06e6897b 8229767: Typo in java.security: Sasl.createClient and Sasl.createServer
Reviewed-by: xuelei
2019-08-15 15:39:43 +08:00
Sean Coffey
78ae9f6957 8218553: Enhance keystore load debug output
Reviewed-by: weijun
2019-02-07 12:09:17 +00:00
Weijun Wang
d6812b270b 8200400: Restrict Sasl mechanisms
Reviewed-by: mullan
2019-05-10 09:39:49 +08:00
Alexey Ivanov
0cfde838e6 8222108: Reduce minRefreshTime for updating remote printer list on Windows
Reviewed-by: prr, serb
2019-08-18 21:36:01 +01:00
Brian Burkhalter
605bb37e29 8218280: LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer
Reviewed-by: dfuchs, prappo
2019-04-29 07:39:16 -07:00
Erik Joelsson
e1774b5538 8214003: Limit default test jobs based on memory size
Reviewed-by: shade, tbell
2018-11-16 09:49:05 -08:00
Erik Joelsson
2c4aa733a3 8211727: Adjust default concurrency settings for running tests on Sparc
Reviewed-by: ctornqvi, tbell, mikael
2018-11-14 09:26:28 -08:00
Martin Doerr
c2916df039 8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
2019-08-22 15:52:03 +02:00
Claes Redestad
2a973cd3ed 8224202: Speed up Properties.load
Reviewed-by: rriggs, igerasim
2019-05-23 18:43:47 +02:00
Matthias Baesken
6a7965e66a 8224221: add memprotect calls to event log
Reviewed-by: dholmes, mdoerr
2019-05-23 15:15:01 +02:00
Dmitrij Pochepko
3819aa22b4 8218966: AArch64: String.compareTo() can read memory after string
Reviewed-by: adinn, dsamersoff
2019-08-26 15:34:27 +03:00
Matthias Baesken
7239348c19 8227630: adjust format specifiers in loadlib_aix.cpp
Reviewed-by: mdoerr, shade
2019-07-12 12:19:58 +02:00
Matthias Baesken
d21ac9de15 8227869: fix wrong format specifiers in os_aix.cpp
Reviewed-by: dholmes, mdoerr, clanger
2019-07-17 15:40:27 +02:00
Matthias Baesken
c4e0c2656c 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-08-01 08:59:31 +02:00
Jie Fu
63511a669c 8216528: test/jdk/java/rmi/transport/runtimeThreadInheritanceLeak/RuntimeThreadInheritanceLeak.java failing with Xcomp
Reviewed-by: dholmes, alanb
2019-01-31 10:05:11 -05:00
Jie Fu
1c00fbb56d 8216046: test/jdk/java/beans/PropertyEditor/Test6397609.java failing
Reviewed-by: alanb, serb
2019-02-03 10:00:14 +01:00
Osamu Sakamoto
57e956f4e3 8223814: SA: jhsdb common help needs to be more detailed
Reviewed-by: dholmes, sspitsyn, ysuenaga
2019-05-29 13:50:33 +09:00
Yasumasa Suenaga
bd23e122ba 8227594: sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"
Reviewed-by: cjplummer, sspitsyn
2019-07-13 20:55:25 +09:00
Roland Westrelin
052e9606e3 8210389: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Reviewed-by: kvn, thartmann
2018-09-18 20:41:17 +02:00
Xue-Lei Andrew Fan
b05fbdfde0 8224991: Problemlist javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java
Reviewed-by: mullan
2019-05-29 13:39:08 -07:00
Christoph Goettschkes
ab9057a500 8229352: Use of an uninitialized register in 32-bit ARM template interpreter
Reviewed-by: dlong, shade
2019-08-25 15:24:18 +00:00
Nick Gasson
3e94481cd3 8217368: AArch64: C2 recursive stack locking optimisation not triggered
Reviewed-by: aph, drwhite
2019-08-23 13:22:36 +01:00
Andrew Dinn
fd5c5d8f16 8230099: Prepare for backport of JDK-8217368
Reviewed-by: aph
2019-08-23 13:20:45 +01:00
Nick Gasson
85d59b3be0 8209413: AArch64: NPE in clhsdb jstack command
Reviewed-by: aph
2019-08-21 11:58:15 +01:00
Leonid Mesnik
02c7801b39 8225388: Running jcmd Compiler.CodeHeap_Analytics all 0 cause crash
Reviewed-by: thartmann, sspitsyn
2019-07-30 17:28:03 +02:00
Tobias Hartmann
ca91988c9b 8224658: Unsafe access C2 compile fails with assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr: adr_type = NULL
Handle unsafe off-heap access with constant zero address.

Reviewed-by: vlivanov, roland
2019-06-12 14:06:16 +02:00
Vladimir Ivanov
577f5021b6 8218879: Keep track of memory accesses originated from Unsafe
Reviewed-by: thartmann
2019-02-14 15:27:12 -08:00
Dmitrij Pochepko
9d0d7b2d93 8215792: AArch64: String.indexOf generates incorrect result
Reviewed-by: dsamersoff
2019-08-21 16:20:20 +03:00
Lance Andersen
a340a2a3ec 8225189: Multiple JNI calls within critical region in ZIP Library
Reviewed-by: alanb
2019-06-11 13:04:36 -04:00
Roland Westrelin
c21e52bf9b 8214857: "bad trailing membar" assert failure at memnode.cpp:3220
Reviewed-by: adinn, thartmann
2018-12-03 10:51:03 +01:00
Roland Westrelin
60e40c37c4 8211233: MemBarNode::trailing_membar() and MemBarNode::leading_membar() need to handle dying subgraphs better
Reviewed-by: kvn, thartmann
2018-09-27 17:46:01 +02:00
Roland Westrelin
098384a05a 8209420: Track membars for volatile accesses so they can be properly optimized
Reviewed-by: adinn, aph, thartmann
2018-08-14 16:54:47 +02:00
Goetz Lindenmaier
b71857c8c4 Merge 2019-08-21 09:14:38 +02:00
Goetz Lindenmaier
db70185df9 Added tag jdk-11.0.5+4 for changeset 315e87371209 2019-08-21 09:11:34 +02:00
Mikhailo Seledtsov
95e5e3bd6a 8220672: [TESTBUG] TestCPUSets should check that cpuset does not exceed available cores
Making sure cpuset size does not exceed available cores

Reviewed-by: dholmes, lmesnik, shade
2019-05-20 15:18:00 -07:00
Vladimir Ivanov
666d7c1fd4 8202952: C2: Unexpected dead nodes after matching
Reviewed-by: kvn
2019-01-22 18:14:14 -08:00
Hao Tang
ba62c66b8b 8229406: ZGC: Fix incorrect statistics
Reviewed-by: pliden, eosterlund
2019-08-12 10:49:40 +02:00
Fairoz Matte
385dd45d6c 8225715: jhsdb jmap fails to write binary heap dump of a jshell process
Add a Null check for getSourceFileName() before writing into thread dump.

Reviewed-by: cjplummer, kevinw
2019-07-02 08:43:44 -07:00
Mikhailo Seledtsov
3e73a19150 8222299: [TESTBUG] move hotspot container tests to hotspot/containers
Moved the tests, updated relevant files

Reviewed-by: dholmes, iignatyev, shade
2019-04-12 12:26:29 -07:00
Jie Fu
a18729ee73 8221894: Add comments for docker tests in the test doc
Reviewed-by: erikj, dholmes, shade
2019-04-09 06:11:54 -07:00
Mikhailo Seledtsov
15fb9b2792 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Start docker with limits on CPU/Mem, verify JFR reports correct data

Reviewed-by: egahlin
2019-03-07 13:20:04 -08:00
Thomas Stuefe
f44bca89ac 8210314: [aix] NMT does not show "Safepoint" memory type
Reviewed-by: goetz, mbaesken
2018-09-03 14:27:03 +02:00
Martin Doerr
a2afb491c9 8228649: [PPC64] SA reads wrong slots from interpreter frames
Make frame layout consistent between dbg and product build and implement offsets accordingly.

Reviewed-by: goetz, gromero
2019-08-02 11:28:58 +02:00
Mikael Vidstedt
7b04967df8 8218581: Incorrect exception message generation
Reviewed-by: hseigel
2019-02-06 18:34:12 -08:00
Aleksey Shipilev
59d5657530 8228725: AArch64: Purge method call format support
Reviewed-by: adinn
2019-07-30 22:16:48 +02:00
Roland Westrelin
31321c06a7 8210390: C2 still crashes with "assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node"
Reviewed-by: thartmann, kvn
2018-09-12 16:38:13 +02:00
Bernard Blaser
8a435dba67 8225644: C1 dumps incorrect class name in ClassCastException message
Co-authored-by: Jie Fu <fujie@loongson.cn>
Reviewed-by: vlivanov, bsrbnd
2019-06-25 21:24:37 +02:00
Vladimir Ivanov
75fdca8d73 8226409: Enable argument profiling for sun.misc.Unsafe.put*/get*
Reviewed-by: kvn
2019-07-05 12:55:54 +03:00
Zhengyu Gu
3ada936588 8219370: NMT: Move synchronization primitives from mtInternal to mtSynchronizer
Reviewed-by: dholmes, rehn
2019-02-20 10:22:46 -05:00
Nils Eliasson
a0dbc00cd8 8219517: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Reviewed-by: kvn, thartmann
2019-03-13 15:22:28 +01:00
Roland Westrelin
7b75a5b9fc 8211232: GraphKit::make_runtime_call() sometimes attaches wrong memory state to call
Reviewed-by: kvn
2018-09-28 14:24:22 +02:00
Pankaj Bansal
7240b2a8d0 8226964: [Yaru] GTK L&F: There is no difference between menu selected and de-selected
Reviewed-by: prr, kcr
2019-08-03 13:53:19 +05:30
Pengfei Li
98360e1740 8228601: AArch64: Fix interpreter code at JVMCI deoptimization entry
Reviewed-by: adinn, aph
2019-07-31 09:52:28 +08:00
Laurent Bourgès
1a20198485 8228711: Path rendered incorrectly when it goes outside the clipping region
Fixed closePath() to preserve last position and its outcode in Stroker and TransformingPathConsumer2D.PathClipFilter

Reviewed-by: prr, kcr
2019-08-07 10:25:50 +02:00
Erik Gahlin
34b4553180 8220657: JFR.dump does not work when filename is set
Reviewed-by: ysuenaga
2019-08-16 16:36:41 +02:00
Brent Christian
b2feed2f8d 8216401: Allow "file:" URLs in Class-Path of local JARs
Reviewed-by: alanb, mchung
2019-01-14 11:22:32 -08:00
Yang Zhang
a2b76b4972 8213134: AArch64: vector shift failed with MaxVectorSize=8
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
2018-11-28 16:22:03 +08:00
Lance Andersen
987b8f11de 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Goetz Lindenmaier
5b78891815 Added tag jdk-11.0.5+3 for changeset d84dae4fba03 2019-08-14 08:33:03 +02:00
Toshio Nakamura
c0456d8982 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Adjusting to detect translated Unknown messages

Reviewed-by: naoto
2019-03-13 13:05:37 +09:00
Matthias Baesken
07daff84d1 8227834: build.log output from failing commands : include the hs_error file path in case of crashes in build
Reviewed-by: tbell
2019-07-17 09:58:42 +02:00
Matthias Baesken
6eac440aac 8228501: java_props_macosx.c - provide missing CFRelease for CFLocaleCopyCurrent
Reviewed-by: naoto
2019-07-24 09:28:48 +02:00
Matthias Baesken
77a497b363 8228578: fix CFData object leak in macosx KeystoreImpl.m
Reviewed-by: weijun
2019-07-24 12:36:12 +02:00
Andrew Leonard
1a811216c3 8217896: Make better use of LCPUs when building on AIX
Reviewed-by: ihse
2019-02-01 12:44:30 +01:00
Aleksey Shipilev
ab9fe43bf4 8228400: Remove built-in AArch64 simulator
Reviewed-by: adinn, aph, dsamersoff
2019-07-29 11:14:06 +02:00
Matthias Baesken
a4052c480f 8228764: New library dependencies due to JDK-8222720
Reviewed-by: goetz, dholmes
2019-08-01 09:37:24 +02:00
Goetz Lindenmaier
bdbdc782d3 8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on
Reviewed-by: mdoerr, ghaug
2018-08-28 17:03:16 +02:00
Ichiroh Takiguchi
b7861e3a7b 8227919: 8213232 causes crashes on solaris sparc64
Reviewed-by: prr, vkempik
2019-08-01 10:47:51 -07:00
Alexandre Iline
e2ab2da9eb 8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration
Reviewed-by: mchung
2018-08-06 15:35:44 -07:00
Matthias Baesken
9c87b3f4c6 8228902: add os::dll_load to the unified logging os category
Reviewed-by: coleenp, mdoerr
2019-08-02 10:10:42 +02:00
Matthias Baesken
12a5d806a6 8230861: missing ReleaseStringUTFChars in Java_sun_security_pkcs11_wrapper_PKCS11_connect
Reviewed-by: alanb, stuefe
2019-09-11 16:54:53 +02:00
Matthias Baesken
d85be4f184 8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
Reviewed-by: dfuchs, stuefe, vtewari
2019-09-11 16:13:05 +02:00
Matthias Baesken
267cf795ef 8230900: missing ReleaseStringUTFChars in java.desktop native code
Reviewed-by: clanger, prr
2019-09-13 07:43:59 +02:00
Matthias Baesken
c798eddc54 8230901: missing ReleaseStringUTFChars in serviceability native code
Reviewed-by: stuefe, sspitsyn
2019-09-13 11:04:46 +02:00
Jie Fu
b94ccfa450 8230943: False deadlock detection with -XX:+CIPrintCompileQueue after JDK-8163511
Reviewed-by: dholmes, thartmann
2019-09-17 20:38:23 +08:00
Arno Zeller
927f6dfbdb 8230110: TestLinkageErrorInGenerateOopMap times out
Reviewed-by: stuefe, clanger, thartmann
2019-09-24 14:46:38 +02:00
Markus Grönlund
26a9932177 8224172: assert(jfr_is_event_enabled(id)) failed: invariant
Reviewed-by: dcubed, dholmes
2019-05-30 11:42:53 +02:00
Erik Gahlin
9f219366b4 8216064: -XX:StartFlightRecording:settings= doesn't work properly
Reviewed-by: mgronlun
2019-06-09 11:28:13 +02:00
Goetz Lindenmaier
e69b6d152a Merge 2019-09-25 17:21:09 +02:00
Thomas Stuefe
ce6a0f3f5d 8227035: JVM::printFlags fails in native OOM situations
Reviewed-by: goetz, gziemski
2019-07-02 10:25:00 +02:00
Thomas Stuefe
2628279f1a 8227032: MetaspaceUtils::print_report crashes when called before initialization
Reviewed-by: tschatzl, goetz
2019-07-01 16:28:17 +02:00
Thomas Stuefe
99c133a082 8227031: Print NMT statistics on fatal errors
Reviewed-by: mbaesken, mdoerr
2019-07-11 06:49:49 +02:00
Martin Balao
7545331a17 8230923: SunJSSE is not properly initialized in FIPS mode from a configuration file
Reviewed-by: andrew
2019-09-12 13:30:40 -03:00
Christoph Langer
207d5e04bb 8231247: (zipfs) Test failure in jdk/nio/zipfs/InvalidZipHeaderTests.java after backport of JDK-8222807
Reviewed-by: goetz
2019-09-20 12:11:18 +02:00
Mikhailo Seledtsov
09ac1c4b43 8226779: [TESTBUG] Test JFR API from Java agent
Created new tests for JFR plus Java Agent

Reviewed-by: egahlin
2019-08-22 10:35:31 -07:00
Erik Gahlin
e7d1166250 8214750: Unnecessary <p> tags in jfr classes
Reviewed-by: mgronlun
2018-12-12 18:43:16 +01:00
Ralf Schmelter
a43b58976a 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by: sspitsyn, clanger, dholmes
2019-07-18 10:25:49 +02:00
Daniel D. Daugherty
6fe9839d40 8227338: templateInterpreter.cpp: copy_table() needs to be safer
Reviewed-by: dholmes, eosterlund, sspitsyn, kbarrett
2019-07-10 10:18:06 -04:00
Matthias Baesken
d1241118e2 8223438: add VirtualizationInformation JFR event
Reviewed-by: clanger, egahlin
2019-05-16 09:21:49 +02:00
Lance Andersen
54da010358 8222807: Address iteration with invalid ZIP header entries
Reviewed-by: redestad, clanger
2019-05-20 12:24:05 -04:00
Ralf Schmelter
f4a2d4ff7d 8222529: sun.jdwp.listenerAddress agent property uses wrong encoding
Reviewed-by: sspitsyn, amenkov, clanger, erikj
2019-04-17 01:21:56 -07:00
Christoph Langer
ca085cfacd 8222440: (zipfs) JarFileSystem does not correctly handle versioned entries if no root entry is present
Reviewed-by: lancea
2019-04-26 08:53:29 +01:00
Lance Andersen
7e37523eed 8211919: ZipDirectoryStream should provide a stream of paths that are relative to the directory
Reviewed-by: alanb, clanger
2019-01-16 17:37:09 -05:00
Xueming Shen
3eaa62b834 8211385: (zipfs) ZipDirectoryStream yields a stream of absolute paths when directory is relative
Reviewed-by: alanb, lancea
2018-10-03 12:54:54 -07:00
Goetz Lindenmaier
89fc10547f Merge 2019-09-19 11:55:48 +02:00
Goetz Lindenmaier
2b366163f9 Merge 2019-09-18 17:43:09 +02:00
Severin Gehwolf
7846324a63 8227397: Add --with-extra-asflags configure option
Reviewed-by: phh
2019-07-08 17:44:34 +02:00
Roland Westrelin
107d2ba489 8229701: aarch64: C2 OSR compilation fails with "shouldn't process one node several times" in final graph reshaping
Reviewed-by: thartmann, kvn
2019-08-23 14:22:29 +02:00
Jie Fu
e9bf21401e 8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
Reviewed-by: dholmes
2019-08-30 01:21:14 -04:00
Coleen Phillimore
3798aa921a 8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
Return NULL source file and negative line number for hidden frames.

Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Krishna Addepalli
7dbd081069 8219914: Change the environment variable for Java Access Bridge logging to have a directory
Reviewed-by: prr
2019-04-25 15:19:09 +05:30
Thomas Stuefe
4886f5b64b 8214975: No hs-err file if fatal error is raised during dynamic initialization
Reviewed-by: dholmes, dcubed, clanger
2018-12-08 12:09:59 +01:00
Roland Westrelin
aca5c148b5 8209835: Aarch64: elide barriers on all volatile operations
Reviewed-by: aph, adinn
2018-11-05 12:53:55 +01:00
Matthias Baesken
30a8e225e5 8229182: runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Reviewed-by: clanger, mseledtsov
2019-09-03 17:52:36 +02:00
Matthias Baesken
327516aa9c 8230769: BufImg_SetupICM add ReleasePrimitiveArrayCritical call in early return
Reviewed-by: prr, stuefe
2019-09-09 16:34:45 +02:00
Matthias Baesken
a7a0700a09 8230711: ConnectionGraph::unique_java_object(Node* N) return NULL if n is not in the CG
Reviewed-by: mdoerr
2019-09-06 16:15:11 +02:00
Matthias Baesken
0a5743df01 8230466: check malloc/calloc results in jdk.hotspot.agent
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2019-09-05 09:59:43 +02:00
Coleen Phillimore
b54b44ae7d 8210559: ClassLoaderData Symbols can leak
Unrefcount the symbol names when the CLD is destroyed

Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
Aleksey Shipilev
3440704a0d 8230813: Add JDK-8010500 to compiler/loopopts/superword/TestFuzzPreLoop.java bug list
Reviewed-by: zgu
2019-09-10 19:58:22 +02:00
Aleksey Shipilev
f404e65730 8230238: Add another regression test for JDK-8134739
Reviewed-by: kvn
2019-09-02 11:31:12 +02:00
Tobias Hartmann
1b268d077a 8213014: Crash in CompileBroker::make_thread due to OOM
Added missing null checks and checks for pending exception.

Reviewed-by: kvn, dholmes, mdoerr
2018-11-01 14:15:35 +01:00
Goetz Lindenmaier
0b2fa385e2 Merge 2019-09-12 09:52:09 +02:00
Stuart Marks
7a1df6f8ca 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: plevart, clanger
2019-09-11 17:15:01 -07:00
Goetz Lindenmaier
74009299e0 Merge 2019-09-11 17:51:56 +02:00
Martin Doerr
9571834bf9 8213604: Fix missing includes after JDK-8212673
Reviewed-by: tschatzl, roland
2018-11-09 15:19:11 +01:00
Erik Gahlin
b9a10da476 8216283: Allow shorter method sampling interval than 10 ms
Reviewed-by: mgronlun
2019-06-06 20:19:03 +02:00
Chihiro Ito
28f8b2a82b 8221569: JFR tool produces incorrect output when both --categories and --events are specified
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Reviewed-by: mgronlun
2019-05-10 20:56:37 +02:00
Mikhailo Seledtsov
a173cc406c 8222888: [TESTBUG] docker/TestJFREvents.java fails due to "RuntimeException: JAVA_MAIN_CLASS_ is not defined"
Introduced unique environment variable

Reviewed-by: egahlin, lmesnik, sgehwolf
2019-04-25 11:45:52 -07:00
Mikhailo Seledtsov
63e22ebc21 8221711: [TESTBUG] create more tests for JFR in container environment
Added test cases for environment and network events

Reviewed-by: egahlin
2019-04-15 11:44:07 -07:00
Yasumasa Suenaga
dc3a10dff6 8220555: JFR tool shows potentially misleading message when it cannot access a file
Reviewed-by: egahlin, mseledtsov
2019-03-16 21:27:15 +09:00
Tobias Hartmann
fc6c59a59c 8229016: C2 scalarization crashes with assert(node->Opcode() == Op_CastP2X) failed: ConvP2XNode required
Detect array copy to self to avoid emitting another load to the to-be-removed allocation.

Reviewed-by: kvn
2019-08-07 12:09:55 +02:00
Roman Kennke
315980526f 8212673: jtreg/applications/runthese/RunThese30M.java fails in C2 with "assert(!had_error) failed: bad dominance"
Reviewed-by: thartmann, kvn, shade
2018-10-18 21:14:49 +02:00
Nils Eliasson
1ce8ba3f1a 8218468: Load barrier slow path node should be MachTypeNode
Reviewed-by: shade, pliden, kvn
2019-04-17 09:54:37 +02:00
Chris Plummer
c4c0398d8e 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle
Don't delete globalrefs that might still be referenced

Reviewed-by: gadams, jcbeyler, sspitsyn
2019-03-13 19:42:23 -07:00
Harold Seigel
60c479ea0a 8215699: -Xlog::file cannot be used with named pipe
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
2019-01-17 08:48:11 -05:00
Aleksey Shipilev
e8f9138074 8230646: Epsilon does not extend TLABs to max size
Reviewed-by: tschatzl, zgu
2019-09-05 19:24:53 +02:00
Mikael Vidstedt
8da18863ae 8218935: Make jfr strncpy uses GCC 8.x friendly
Reviewed-by: clanger
2019-02-14 15:17:03 -08:00
Markus Grönlund
2cd49152a8 8229437: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: egahlin
2019-09-02 13:57:15 +02:00
Markus Grönlund
ddae97296d 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin
2019-08-02 10:43:30 +02:00
Markus Grönlund
1958de5bbb 8214542: JFR: Old Object Sample event slow on a deep heap in debug builds
Reviewed-by: egahlin, rwestberg
2019-07-03 11:34:46 +02:00
Xin Liu
6f4dc59a32 8229450: C2 compilation fails with assert(found_sfpt) failed
Reviewed-by: roland, thartmann
2019-09-04 16:39:12 +02:00
Erik Österlund
275b746456 8210158: Accessorize JFR getEventWriter() intrinsics
Reviewed-by: kvn, neliasso, roland, rbackman
2018-09-05 10:11:42 +02:00
Erik Österlund
d405eb4abd 8208601: Introduce native oop barriers in C2 for OopHandle
Reviewed-by: neliasso, kvn
2018-08-22 13:06:33 +02:00
Naoto Sato
51df0531fc 8227127: Era designator not displayed correctly using the COMPAT provider
Reviewed-by: rriggs
2019-07-09 08:05:38 -07:00
Erik Österlund
d8eeeb4712 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
Christian Tornqvist
2797519637 8212627: [TESTBUG] runtime/CreateMirror/ArraysNewInstanceBug.java timed out
Reviewed-by: coleenp, dcubed, hseigel
2019-04-01 14:34:24 -07:00
Tobias Hartmann
8a64f0f93d 8210387: C2 compilation fails with "assert(node->_last_del == _last) failed: must have deleted the edge just produced"
Refresh iterator and start from the beginning while there is progress when removing dead regions.

Reviewed-by: kvn
2018-09-12 09:23:36 +02:00
Anthony Scarpino
f9427d0565 8214098: sun.security.ssl.HandshakeHash.T12HandshakeHash constructor check backwards
Reviewed-by: xuelei
2018-12-10 09:19:30 -08:00
Nils Eliasson
935af23754 8224538: LoadBarrierNode::common_barrier must check address
Reviewed-by: thartmann, kvn
2019-05-31 10:13:24 +02:00
Tobias Hartmann
4abf02c53c 8228772: C2 compilation fails due to unschedulable graph if DominatorSearchLimit is reached
Ignore membar if the load is already control dependent on it.

Reviewed-by: neliasso, kvn
2019-08-13 09:54:40 +02:00
Nils Eliasson
ca57d7b089 8215755: ZGC: split_barrier_thru_phi: check number of inputs of phi
Reviewed-by: pliden, thartmann
2019-01-09 15:36:20 +01:00
Per Lidén
bbd39237c8 8215708: ZGC: Add missing LoadBarrierNode::size_of()
Reviewed-by: eosterlund, neliasso
2019-01-09 13:31:34 +01:00
Roland Westrelin
c7c689714f 8209691: Allow MemBar on single memory slice
Reviewed-by: kvn, vlivanov
2018-08-22 10:29:17 +02:00
Goetz Lindenmaier
e46dd6dccd Merge 2019-09-04 10:22:22 +02:00
Thomas Stuefe
9932e8369c 8225225: stringStream internal buffer should always be zero terminated
Reviewed-by: coleenp, dholmes
2019-06-05 19:34:43 +02:00
Thomas Stuefe
9caa47681e 8220394: bufferedStream does not honor size limit
Reviewed-by: dholmes, clanger
2019-05-24 09:02:33 +02:00
Mikhailo Seledtsov
18c05386a6 8213448: [TESTBUG] enhance jfr/jvm/TestDumpOnCrash
Added 2 more crash scenarios, removed dumponexit, and more

Reviewed-by: egahlin
2019-03-07 12:15:48 -08:00
Ioi Lam
06c5eb7b92 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Ioi Lam
d4e33cae86 8209545: Simplify HeapShared::archive_module_graph_objects
Added archivable_static_fields array in heapShared.cpp

Reviewed-by: jiangli
2018-08-15 11:19:57 -07:00
Ioi Lam
90eec71240 8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp

Reviewed-by: jiangli, redestad, coleenp
2018-08-14 20:46:46 -07:00
Claes Redestad
7ffb99942e 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Jiangli Zhou
3fef50e7ca 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Claes Redestad
f6b6ede31e 8209003: Consolidate use of empty collections in java.lang.module
Reviewed-by: alanb, mchung
2018-08-07 23:08:52 +02:00
Roman Kennke
47a0611cd8 8213381: Hook to allow GC to inject Node::Ideal() calls
Reviewed-by: kvn, eosterlund, roland
2018-11-06 23:03:05 +01:00
Tobias Hartmann
83e5729504 8228888: C2 compilation fails with assert "m has strange control"
Weakened too strong assert.

Reviewed-by: kvn, roland
2019-08-20 07:47:13 +02:00
Tobias Hartmann
ca85e6871a 8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
Deoptimize if exception is thrown in _clone intrinsic.

Reviewed-by: kvn
2018-08-24 08:17:23 +02:00
Roland Westrelin
258dc205da 8216135: C2 assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, kvn
2019-01-14 15:07:22 +01:00
Stefan Karlsson
18d5a2674f 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper
Reviewed-by: kbarrett, sspitsyn
2019-07-02 12:28:41 +02:00
Mandy Chung
9bfcb73862 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Reviewed-by: coleenp, fparain, shade, plevart
2019-08-15 13:41:30 -07:00
Thomas Stuefe
0148b1d8e1 8221406: Windows 32bit build error in NetworkInterface_winXP.c
Reviewed-by: clanger
2019-03-26 15:46:15 +01:00
Erik Gahlin
17dfb980fa 8214925: JFR tool fails to execute
Reviewed-by: mgronlun, mseledtsov
2018-12-06 23:38:22 +01:00
Erik Gahlin
01a12d5e66 8214896: JFR Tool left files behind
Reviewed-by: mgronlun
2018-12-05 18:08:50 +01:00
Erik Gahlin
86c3201f86 8205516: JFR tool
Reviewed-by: mgronlun
2019-09-02 09:56:29 +02:00
Yasumasa Suenaga
2ad572cc25 8209790: SA tools not providing option to connect to debug server
Reviewed-by: sspitsyn, cjplummer
2019-07-11 08:19:56 +09:00
Matthias Baesken
b906cc003f 8224958: add os::dll_load calls to event log
Reviewed-by: dholmes, mdoerr, stuefe
2019-06-05 16:53:52 +02:00
Thomas Stuefe
7f00c33027 8224193: stringStream should not use Resouce Area
Reviewed-by: goetz, coleenp, dholmes
2019-05-22 09:33:22 +02:00
Thomas Stuefe
d935f6a02e 8222015: Small VM.metaspace improvements
Reviewed-by: jiangli, coleenp
2019-04-05 11:52:32 +02:00
Kim Barrett
674fbb41ba 8214315: G1: fatal error: acquiring lock SATB_Q_FL_lock/1 out of order with lock tty_lock/0
Add new 'tty' lock rank.

Reviewed-by: eosterlund, tschatzl
2018-12-08 18:52:57 -05:00
David Alvarez
004948d69d 8217731: Font rendering and glyph spacing changed from jdk-8 to jdk-11
Prefer the older v35 freetype byte code interpreter.

Reviewed-by: serb, neugens
2019-08-28 09:01:47 -07:00
Goetz Lindenmaier
82213c5822 8229408: Bump update version for OpenJDK: jdk-11.0.6
Reviewed-by: shade
2019-08-12 12:27:58 +02:00
Goetz Lindenmaier
e92214b011 Added tag jdk-11.0.6+0 for changeset 7431ec494a29 2019-08-28 10:59:56 +02:00
Alexandre Iline
49571bb9d0 8208157: requires.VMProps throws NPE for missing properties in "release" file
Reviewed-by: iignatyev, lancea
2018-07-24 08:58:32 -07:00
Alex Menkov
30d9c24ac4 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
Reviewed-by: sspitsyn, cjplummer
2018-07-13 10:10:51 -07:00
Valerie Peng
300283b28a 8183107: PKCS11 regression regarding checkKeySize
Changed key size check in PKCS11 provider to only enforce positive return values

Reviewed-by: jnimeh
2019-02-27 19:37:51 +00:00
Daniil Titov
6bfe1661c1 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg
Reviewed-by: sspitsyn, cjplummer
2019-02-28 13:12:26 -08:00
Vladimir Kozlov
61c2e94baa 8206963: [AOT] bug with multiple class loaders
AOT should not support custom class loaders.

Reviewed-by: dlong, iveresov
2018-10-05 15:46:47 -07:00
Daniel D. Daugherty
1eb3941dfd 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
Increase default timeout to 360 seconds.

Reviewed-by: erikj, dholmes
2018-11-08 20:54:30 -05:00
Prasanta Sadhukhan
b80eac4b29 8203904: javax/swing/JSplitPane/4816114/bug4816114.java: The divider location is wrong
Reviewed-by: serb, kaddepalli
2018-08-01 11:02:19 +05:30
Matthias Baesken
8bdcc78ca7 8230480: check malloc/calloc results in java.desktop
Reviewed-by: rriggs
2019-09-04 10:12:42 +02:00
Sergey Bylokhov
5458206030 8199072: Test javax/swing/GroupLayout/6613904/bug6613904.java is unstable
Reviewed-by: prr, psadhukhan
2018-11-10 09:52:59 -08:00
Sergey Bylokhov
4587e1d6b5 8198398: Test javax/swing/JColorChooser/Test6199676.java fails in mach5
Reviewed-by: kaddepalli, prr
2018-12-04 13:09:20 -08:00
Sergey Bylokhov
d52836d429 8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails
Reviewed-by: psadhukhan
2018-11-10 18:41:43 -08:00
Tejpal Rebari
bdb08aff17 8196467: javax/swing/JInternalFrame/Test6325652.java fails
Reviewed-by: jdv, psadhukhan
2019-06-25 14:13:33 +05:30
Tejpal Rebari
e737a0812a 8194944: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java' fails
Reviewed-by: jdv, arapte
2019-09-04 22:18:48 +05:30
Jayathirth D V
aae808f6f0 8176556: java/awt/dnd/ImageTransferTest/ImageTransferTest.java fails for JFIF
Reviewed-by: serb
2018-11-13 09:39:57 +05:30
Jiangli Zhou
de6a742de6 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
Support system module archiving with unnamed initial module at dump time.

Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Mikhailo Seledtsov
ba8d9926a5 8224165: [TESTBUG] Docker tests produce excessive output
Trimmed child process output, saving child stdout to file

Reviewed-by: dholmes, lmesnik
2019-05-23 11:37:24 -07:00
Mikhailo Seledtsov
b01a85466c 8221710: [TESTBUG] more configurable parameters for docker testing
Introduced docker test config properties

Reviewed-by: lmesnik, iignatyev, egahlin
2019-04-04 12:29:43 -07:00
Dmitrij Pochepko
ebc8a88b6f 8205421: AARCH64: StubCodeMark should be placed after alignment
Reviewed-by: aph
2019-08-07 17:03:49 +01:00
Matthias Baesken
11ec35a391 8228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
Reviewed-by: dholmes, sgehwolf
2019-07-25 12:15:27 +02:00
Zhengyu Gu
5e293a7b4e 8208499: NMT: Missing memory tag for Safepoint polling page
Added missing memory tag and cleanup memory type enum

Reviewed-by: shade, coleenp
2018-07-31 07:35:16 -04:00
Zhengyu Gu
279802157e 8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread
Reviewed-by: coleenp, minqi
2019-02-20 08:31:40 -05:00
Calvin Cheung
b02cf69157 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit()

Reviewed-by: jiangli, zgu
2019-05-31 15:49:12 -07:00
Sergey Bylokhov
6a30c99083 8217676: Upgrade libpng to 1.6.37
Reviewed-by: prr, jdv, kcr
2019-06-12 13:50:37 -07:00
Bob Vandette
e69cf00d26 8221340: [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562
Reviewed-by: mseledtsov, rriggs
2019-05-10 11:15:34 -04:00
Bob Vandette
6534c617a8 8219562: Line of code in osContainer_linux.cpp L102 appears unreachable
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:00:54 -04:00
Mikhailo Seledtsov
f7240b2216 8221527: [TESTBUG] DockerBasicTest.java contains hard-coded reference to JDK 10
Using Docker test library to get the image name

Reviewed-by: dholmes
2019-03-27 08:38:05 -07:00
Bob Vandette
54f12c90ad 8212528: Wrong cgroup subsystem being used for some CPU Container Metrics
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:10:00 -04:00
Nick Gasson
ebd550ea49 8221529: [TESTBUG] Docker tests use old/deprecated image on AArch64
Reviewed-by: aph, sgehwolf, mseledtsov
2019-04-08 09:31:39 +08:00
Mikhailo Seledtsov
537b44caae 8221342: [TESTBUG] Generate Dockerfile for docker testing
Dockerfile is generated; introduced properties to specify custom base image

Reviewed-by: sgehwolf, dholmes, jiefu
2019-03-26 13:25:26 -07:00
Mikhailo Seledtsov
a406184c0a 8220313: [TESTBUG] Update base image for Docker testing to OL 7.6
Updated the OL version in Dockerfile in FROM field

Reviewed-by: dcubed
2019-03-08 11:08:11 -08:00
Bob Vandette
148544eb30 8220674: [TESTBUG] MetricsMemoryTester failcount test in docker container only works with debug JVMs
Reviewed-by: sspitsyn, sgehwolf
2019-03-21 14:40:04 -04:00
Bob Vandette
7d49d41348 8217766: Container Support doesn't work for some Join Controllers combinations
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:29:40 -04:00
Severin Gehwolf
4aee20c3f4 8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp
Reviewed-by: bobv, adinn
2019-03-13 20:07:54 +01:00
Prasanta Sadhukhan
1dc659712b 8225423: GTK L&F: JSplitPane: There is no divider shown
Reviewed-by: prr, serb
2019-07-12 09:27:00 +05:30
Anton Litvinov
01af389aa6 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-07-16 15:15:45 +01:00
Harold Seigel
4f6059033c 8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
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-07-11 09:26:04 -04:00
Vladimir Ivanov
8b2982f0ad 8225141: Better handling of classes in error state in fast class initialization checks
Reviewed-by: dlong, dholmes
2019-06-06 13:46:03 +03:00
Daniel D. Daugherty
acda1a69cf 8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
Reviewed-by: dholmes
2018-08-02 22:14:54 -04:00
Igor Ignatyev
7a7d661bed 8208701: Fix for JDK-8208655 causes test failures in CI tier1
Reviewed-by: dholmes, dcubed
2018-08-02 16:16:02 -07:00
Igor Ignatyev
17b730d7ed 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Thomas Stuefe
fb9547354c 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-03-29 08:36:33 +01:00
Aleksey Shipilev
e32185a8f3 8221725: AArch64 build failures after JDK-8221408 (Windows 32bit build build errors/warnings in hotspot)
Reviewed-by: dholmes, stuefe
2019-04-01 10:02:07 +02:00
Coleen Phillimore
829e3910b2 8222914: Partial backport of JDK-8218266
8215505: Cleanup jvm.cpp obsolete code after JDK-8210094: Better loading of classloader classes

Remove dead code, protection_domains can be unloaded in the dictionary pd_set.

Reviewed-by: lfoltan, dholmes, zgu, hseigel
2019-02-01 06:42:41 -05:00
Daniel Fuchs
a5c903cc86 8216562: UnknownBodyLength sometimes fails due to "Connection reset by peer"
Uses a longer linger time and avoids closing socket too early.

Reviewed-by: chegar
2019-01-30 18:21:06 +00:00
Daniel Fuchs
453d95eaf2 8210130: java/net/httpclient/UnknownBodyLengthTest.java failed
The fix improves the test robustness by making it retry once in case of IO/Connect exception.

Reviewed-by: chegar
2019-01-28 15:24:41 +00:00
Daniil Titov
12cda6f859 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-06-13 11:21:50 -07:00
Daniil Titov
ec7434772e 8221730: jcmd process name matching broken
Reviewed-by: jcbeyler, dholmes, cjplummer
2019-04-08 17:09:02 +00:00
Daniil Titov
fd06253c5a 8205654: serviceability/dcmd/framework/HelpTest.java timed out
8218705: Test sun/tools/jcmd/TestJcmdDefaults.java fails on Linux

Reviewed-by: sspitsyn, dholmes
2019-02-08 09:41:45 -08:00
Sandhya Viswanathan
51f5a85889 8217371: Incorrect LP64 guard in x86.ad after JDK-8210764 (Update avx512 implementation)
Reviewed-by: kvn, neliasso, thartmann
2019-01-30 13:47:25 -08:00
Harold Seigel
1a8c9f80a3 8228596: Class redefinition fails when condy instructions are removed
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-07-29 09:57:37 -04:00
Zhengyu Gu
edda072fa0 8217785: Padding ParallelTaskTerminator::_offered_termination variable
Reviewed-by: shade, tschatzl
2019-01-29 08:28:24 -05:00
Jinke Fan
b703e5dd78 8222387: Out-of-bounds access to CPU _family_id_xxx array
Reviewed-by: dholmes, kvn
2019-04-14 21:40:07 +00:00
Tobias Hartmann
dce6df62e8 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack
Skip unloaded methods in compile queue during marking.

Reviewed-by: kvn, neliasso, eosterlund, coleenp
2019-03-12 10:09:50 +01:00
Tobias Hartmann
d755365584 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods.

Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00
Roland Westrelin
016745c090 8215044: C2 crash in loopTransform.cpp with assert(cl->trip_count() > 0) failed: peeling a fully unrolled loop
Reviewed-by: thartmann, kvn
2018-12-13 17:57:11 +01:00
Vivek Deshpande
f358696767 8224558: Fix replicateB encoding
Reviewed-by: thartmann, vlivanov
2019-05-28 09:56:47 -07:00
Goetz Lindenmaier
c1f3b1633a Added tag jdk-11.0.5+2 for changeset b249a2a2034e 2019-08-07 07:45:38 +02:00
Patrick Zhang
f08fce0ce2 8163363: AArch64: Stack size in tools/launcher/Settings.java needs to be adjusted
Specify a proper min stack size input to -Xss for aarch64

Reviewed-by: aph
2019-04-09 18:46:51 +08:00
Eric Caspole
fb5d6b216f 8216375: Revert JDK-8145579 after JDK-8076988 is resolved
Remove obsolete code

Reviewed-by: thartmann, dlong
2019-01-09 12:02:38 -05:00
Eric Caspole
6689de7e99 8076988: reevaluate trivial method policy
Removed some checks to qualify as trivial

Reviewed-by: shade, thartmann, dlong
2019-01-08 10:28:28 -05:00
Claes Redestad
8f8154f371 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2018-08-10 00:20:15 +02:00
Richard Reingruber
ff1d3ec844 8228618: s390: c1/c2 fail to add a metadata relocation in the static call stub
Reviewed-by: mdoerr, goetz
2019-07-26 16:03:08 +02:00
Joe Wang
2d18e6e508 8213734: SAXParser.parse(File, ..) does not close resources when Exception occurs
Reviewed-by: lancea
2018-11-30 12:41:00 -08:00
Sean Coffey
2ee1ae920e 8213561: ZipFile/MultiThreadedReadTest.java timed out in tier1
Reviewed-by: lancea
2019-06-20 08:02:41 +00:00
Kim Barrett
ece508d8a5 8220690: ATTRIBUTE_ALIGNED requires GNU extensions enabled
Use __typeof__(x) instead of typeof(x).

Reviewed-by: shade, sgehwolf
2019-03-19 14:08:20 -04:00
Valerie Peng
465f4053b8 8226607: Inconsistent info between pcsclite.md and MUSCLE headers
Updated the info based on MUSCLE v1.8.24

Reviewed-by: ascarpino
2019-06-26 01:15:51 +00:00
Valerie Peng
45669a96f5 8218780: Update MUSCLE PCSC-Lite header files
Update the PCSC-lite header files to 1.8.24 release

Reviewed-by: coffeys
2019-02-27 02:49:52 +00:00
Goetz Lindenmaier
76d9f5a540 Merge 2019-08-01 09:45:46 +02:00
Kazunori Ogata
98fa9a2ee4 8224090: [PPC64] Fix SLP patterns for filling an array with double float literals
Reviewed-by: mdoerr, simonis
2019-07-31 23:58:19 -04:00
Goetz Lindenmaier
0cd8b5a43f Added tag jdk-11.0.5+1 for changeset 3ba9c532128b 2019-07-31 07:17:34 +02:00
Thomas Stuefe
f20dfa7d27 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00
Steve Groeger
6b2e057dca 8226468: [aix] loadquery failed error message displayed
Reviewed-by: stuefe, mbaesken
2019-06-20 14:09:22 +01:00
Matthias Baesken
9cf41e4535 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Martin Balao
78e47c6fff 8223482: Unsupported ciphersuites may be offered by a TLS client
Reviewed-by: xuelei, andrew
2019-05-28 19:01:38 -03:00
Doug Lea
c4c43e3d7e 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-05-02 06:33:28 -07:00
Weijun Wang
cfe3e6eb15 8225257: sun/security/tools/keytool/PSS.java timed out
Reviewed-by: valeriep
2019-06-21 23:44:58 +08:00
Ramanand Patil
2860d9a02b 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-07-10 05:12:23 +01:00
Weijun Wang
5c66363623 8222987: sun/security/tools/keytool/PSS.java times out on Solaris-SPARC
Reviewed-by: mullan, xuelei
2019-05-09 08:49:31 +08:00
Naoto Sato
fedaa9ab89 8222980: Upgrade IANA Language Subtag Registry to Version 2019-04-03
Reviewed-by: bpb, lancea
2019-04-26 09:09:39 -07:00
Valerie Peng
8aefcee4c2 8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
Add internal Signature init methods to select provider based on both key and parameter

Reviewed-by: xuelei
2019-04-10 02:35:18 +00:00
Fairoz Matte
41045ec69b 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
2019-03-01 04:34:28 -08:00
Weijun Wang
d1840cbc41 8215694: keytool cannot generate RSASSA-PSS certificates
Reviewed-by: xuelei
2019-01-16 11:25:55 +08:00
Sean Coffey
bbd5e37e98 8133489: Better messaging for PKIX path validation matching
Reviewed-by: xuelei
2019-06-21 08:07:18 +00:00
Goetz Lindenmaier
ada37f8865 Merge 2019-07-18 11:26:24 +02:00
Andrew John Hughes
ee5c8390d6 Added tag jdk-11.0.4-ga for changeset 6a4d57474e1c 2019-07-16 21:19:45 +01:00
Andrew John Hughes
390626e595 Added tag jdk-11.0.4+11 for changeset 6a4d57474e1c 2019-07-04 16:50:18 +01:00
Jamil Nimeh
1350471e73 8222678: Improve TLS negotiation
Reviewed-by: mullan, rhalade, mschoene
2019-05-02 17:43:26 -07:00
Ivan Gerasimov
cfe1c7dcce 8221518: Normalize normalization
Reviewed-by: chegar, igerasim, ahgross, rhalade
2019-04-10 15:32:36 -07:00
Jamil Nimeh
eb711f1fcd 8221345: Better Poly1305 support
Reviewed-by: apetcher, mschoene, rhalade
2019-04-03 13:35:11 -07:00
Sergey Bylokhov
057d1205fb 8220517: Enhanced GIF support
Reviewed-by: aivanov, ssahoo, mschoene, prr
2019-03-27 00:24:13 -07:00
Kim Barrett
df14f4a9ab 8217576: C1 atomic access handlers use incorrect decorators
Fix decorator defaulting.

Reviewed-by: tschatzl, eosterlund
2019-03-12 11:13:39 -04:00
Robbin Ehn
a2b2d45431 8220173: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Reviewed-by: dcubed, redestad
2019-03-08 12:51:36 +01:00
Roman Kennke
b6e6846cac 8223244: Fix usage of ARRAYCOPY_DISJOINT decorator
Reviewed-by: eosterlund, shade
2019-05-08 11:59:14 +02:00
Martin Doerr
3edab32ada 8225347: [s390] Unexpected exit from stack overflow test
Reviewed-by: simonis
2019-06-07 10:13:30 +02:00
Richard Reingruber
d827a1c345 8223572: ~ThreadInVMForHandshake() should call handle_special_runtime_exit_condition()
Reviewed-by: dcubed, rehn, dholmes
2019-05-15 12:30:02 +02:00
Naoto Sato
bac54a4cfe 8220037: Inconsistencies of generated timezone files between Windows and Linux
Reviewed-by: rriggs
2019-05-07 09:37:02 -07:00
Jamil Nimeh
850341c88a 8219775: Certificate validation improvements
Reviewed-by: ascarpino, ssahoo, skoivu
2019-03-07 22:19:12 -08:00
Sergey Bylokhov
25c39d2343 8218876: Improve PNG support options
Reviewed-by: prr, rhalade, mschoene
2019-04-10 14:43:13 -07:00
Xue-Lei Andrew Fan
c429aec72d 8218873: Improve JSSE endpoint checking
Reviewed-by: mullan, ahgross, rhalade
2019-04-11 17:58:18 -07:00
Sean Coffey
60fd488c60 8218863: Better endpoint checks
Reviewed-by: xuelei, ahgross, jnimeh, mullan, rhalade
2019-03-20 10:27:00 +00:00
Ivan Gerasimov
70155458a8 8217563: Improve realm maintenance
Reviewed-by: mullan, mschoene, valeriep
2019-03-19 14:16:20 -07:00
Sean Mullan
698a7e0436 8216381: More limited privilege usage
Reviewed-by: ahgross, coffeys, rhalade
2019-02-07 08:47:10 -05:00
Naoto Sato
956cc99560 8217366: ZoneStrings are not populated for all the Locales
Reviewed-by: rriggs
2019-01-23 15:43:01 -08:00
Prasanta Sadhukhan
ec438eb0ac 8214702: Wrong text position for whitespaced string in printing Swing text
Reviewed-by: prr, serb
2019-05-21 14:41:43 +05:30
Stuart Marks
2edf7c0ac2 8213432: Better copies of CopiesList
Reviewed-by: rriggs, skoivu, ahgross, robm, rhalade, jeff
2019-01-23 14:45:54 -08:00
Ivan Gerasimov
b5e81f25a5 8213431: Improve file protocol handling
Reviewed-by: chegar, dfuchs, igerasim, rhalade, weijun
2019-01-30 19:33:04 -08:00
Ivan Gerasimov
bfc3a5e954 8212328: Exceptional throw cases
Reviewed-by: smarks, rriggs, igerasim, ahgross, skoivu
2019-03-29 01:05:41 -07:00
Goetz Lindenmaier
e1d2cf8089 Added tag jdk-11.0.4+10 for changeset 3f5829d9d762 2019-07-01 11:28:42 +02:00
Naoto Sato
a1a7d699f4 8226876: Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
Reviewed-by: clanger
2019-06-28 08:48:17 -07:00
Christoph Langer
9b2b726b94 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-01 10:13:17 +01:00
Goetz Lindenmaier
33a68193d2 Added tag jdk-11.0.4+9 for changeset 26958299a5f8 2019-06-26 07:30:57 +02:00
Matthias Baesken
30a7af9f21 8225402: events logging in deoptimization.cpp should go to deopt-log
Reviewed-by: mdoerr, stuefe, coleenp
2019-06-06 09:30:00 +02:00
Matthias Baesken
fc2b40683d 8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
2019-02-18 16:17:48 +01:00
Andrew Haley
f818e1470b 8225716: G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: kbarrett, tschatzl
2019-06-18 16:15:15 +01:00
Goetz Lindenmaier
357b1e6bd1 Added tag jdk-11.0.4+8 for changeset ce601e800f56 2019-06-19 07:18:57 +02:00
Erik Joelsson
44e9108a26 8222913: Add Jib support for VERSION_EXTRA*
Reviewed-by: tbell, mikael
2019-04-30 10:24:14 -07:00
Xiang Yuan
3aed4d0693 8224828: aarch64: rflags is not correct after safepoint poll
Reviewed-by: aph, adinn
2019-05-30 10:29:55 +08:00
Goetz Lindenmaier
466e6a83a8 Added tag jdk-11.0.4+7 for changeset 640251cdca05 2019-06-12 12:11:44 +02:00
Harold Seigel
47ec0ae2c2 8215901: [TESTBUG] TestCheckedEnsureLocalCapacity.java fails intermittently
Change pattern match to not require that the matching string start at the beginning of a line.

Reviewed-by: dcubed, dholmes
2019-01-09 08:07:33 -05:00
Adam Petcher
eb894e2223 8208698: Improved ECC Implementation
New implementation of ECDH and ECDSA forsome prime-order curves

Reviewed-by: ascarpino
2018-12-11 09:42:45 -05:00
Goetz Lindenmaier
a01bde0a6f Added tag jdk-11.0.4+6 for changeset 9ab8738bf306 2019-06-05 15:33:29 +02:00
Markus Grönlund
fbf6a72ee2 8220293: Deadlock in JFR string pool
Reviewed-by: rehn, egahlin
2019-05-21 20:53:27 +02:00
Rahul Raghavan
57ad49c4d0 8202414: Unsafe write after primitive array creation may result in array length change
Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same

Reviewed-by: dlong, kvn, vlivanov
2019-05-01 22:02:48 +05:30
Joe Wang
2d85dbcd53 8213325: (props) Properties.loadFromXML does not fully comply with the spec
Reviewed-by: alanb, rriggs, dfuchs, naoto
2018-12-04 14:53:00 -08:00
Dora Zhou
1385e36f8e 8210408: Refactor java.util.ResourceBundle:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-11-15 21:53:30 -08:00
Daniil Titov
8e46ea5003 8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
2019-06-06 18:57:28 -07:00
Per Lidén
ea326c7614 8215451: JNI IsSameObject should not keep objects alive
Reviewed-by: eosterlund, kbarrett
2018-12-17 16:55:17 +01:00
Tagir F. Valeev
bd44fe92ea 8214687: Optimize Collections.nCopies().hashCode() and equals()
Reviewed-by: igerasim, smarks
2018-12-30 08:57:24 +07:00
Jie Fu
67b28b9f3f 8219919: RuntimeStub name lost with PrintFrameConverterAssembly
Reviewed-by: kvn
2019-03-01 10:00:03 -08:00
Man Cao
ec9f5a760c 8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase
Reviewed-by: dholmes, jcbeyler
2019-05-01 20:25:31 -07:00
Man Cao
f7c6a658ff 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking
Add memory fences on accesses to JvmtiEnvBase::_tag_map

Reviewed-by: dholmes, jcbeyler, sspitsyn
2019-04-30 18:44:41 -07:00
Erik Joelsson
631f9bb771 8210837: Add libXrandr-devel to the Linux devkits
Reviewed-by: prr, mikael
2018-10-31 13:14:52 -07:00
John Jiang
f60ba45c96 8212562: To remove lib/security from test/jdk/TEST.groups
Remove lib/security from test group jdk_security3

Reviewed-by: coffeys
2018-10-17 22:06:55 +08:00
Christoph Langer
64d7738f77 8224727: Problem list test security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java
Reviewed-by: rhalade
2019-05-25 10:54:10 +01:00
Rajan Halade
ec7c5e490f 8202651: Test ComodoCA.java fails
Reviewed-by: mullan
2019-05-24 09:47:41 -07:00
Goetz Lindenmaier
17a5192f27 Merge 2019-05-30 10:11:23 +02:00
Goetz Lindenmaier
8248f03e14 Added tag jdk-11.0.4+5 for changeset 371ce104ac19 2019-05-28 18:37:23 +02:00
Yasumasa Suenaga
049699c2bb 8163805: hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java failed with timed out
Reviewed-by: cjplummer, jcbeyler
2019-05-28 22:49:17 +09:00
Andrew Haley
982ba3768b 8224880: AArch64: java/javac error with AllocatePrefetchDistance
Reviewed-by: adinn
2019-05-28 09:13:11 -04:00
Andrew Haley
8d16287e06 8224671: AArch64: mauve System.arraycopy test failure
Reviewed-by: adinn
2019-05-23 07:57:50 -04:00
Goetz Lindenmaier
549ffba973 Added tag jdk-11.0.4+4 for changeset e442b78d7687 2019-05-22 15:02:45 +02:00
Severin Gehwolf
bcd825a03c 8224474: harfbuzz 2.3.1 code fails to compile with gcc 4.4.7
Move GCC pragmas outside functions

Reviewed-by: clanger, aph
2019-05-21 11:17:14 +02:00
Osamu Sakamoto
3f2e25139b 8223665: SA: debugd options should follow jhsdb style
Reviewed-by: dholmes, sspitsyn, ysuenaga, jcbeyler
2019-05-17 14:14:15 +09:00
Matthias Baesken
28e92fcd0b 8221535: add steal tick related information to hs_error file [linux]
Reviewed-by: dholmes, goetz
2019-04-08 14:36:33 +02:00
Alexey Ivanov
7f59d683c2 8217707: JNICALL declaration breaks Splash screen functions
Reviewed-by: prr, stuefe
2019-03-28 18:51:52 +00:00
Leo Jiang
7361ffe668 8218781: Localized names for Japanese era Reiwa in COMPAT provider
Reviewed-by: naoto
2019-05-19 22:14:09 +08:00
Goetz Lindenmaier
26881980fd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Matthias Baesken
d971f3724f 8220781: linux-s390 : os::get_summary_cpu_info gives bad output
Reviewed-by: dholmes, lucy
2019-03-18 16:04:23 +01:00
Rajan Halade
53f7e154e2 8223499: Remove two DocuSign root certificates that are expiring
Reviewed-by: mullan
2019-05-16 12:36:08 -07:00
Ichiroh Takiguchi
0b5959054c 8211826: StringIndexOutOfBoundsException happens via GetStringUTFRegion()
Reviewed-by: serb
2019-05-08 22:59:20 -07:00
Ichiroh Takiguchi
471c550cc1 8213232: Unix/X11 setCompositionEnableNative issue
Reviewed-by: serb
2019-04-30 14:30:17 -07:00
Ichiroh Takiguchi
543628ec07 8212676: AWT SystemColor setting on CDE
Reviewed-by: serb
2019-04-22 18:54:19 -07:00
Rajan Halade
aa52cdf33d 8222136: Remove two Comodo root CA certificates that are expiring
Reviewed-by: mullan
2019-05-15 13:22:29 -07:00
Weijun Wang
d15bd187d7 8217690: Update public suffix version
Reviewed-by: mullan
2019-03-26 21:33:47 +08:00
Alexey Ivanov
6ec6ec1689 8221263: [TEST_BUG] RemotePrinterStatusRefresh test is hard to use
Reviewed-by: serb, prr
2019-04-09 08:50:08 +01:00
Naoto Sato
50fc42ee87 8218960: CONFIG level logging statements printed in CLDRCalendarDataProviderImpl.java even when default log Level is INFO
Reviewed-by: nishjain, rriggs
2019-02-21 10:26:56 -08:00
Nishit Jain
3098692794 8214935: Upgrade IANA LSR data
Reviewed-by: rriggs, naoto
2019-01-31 13:05:24 +05:30
Pankaj Bansal
9f0f08b77a 8214765: All TrayIcon MessageType icons does not show up with gtk3 option set
Reviewed-by: serb, psadhukhan
2019-01-18 13:54:32 +05:30
Ichiroh Takiguchi
22ee1647de 8211841: [testbug] sun/nio/cs/OLD/TestIBMDB.java does not compile (aix)
Reviewed-by: alanb, goetz
2019-01-11 09:37:31 +01:00
Priya Lakshmi Muthuswamy
83f9f132c6 8214468: jQuery UI upgrade from 1.11.4 to 1.12.1
Reviewed-by: hannesw
2018-12-12 13:01:29 +05:30
Ichiroh Takiguchi
11574ae368 8213614: DnD operation change feature does not work with 64bit big endian CPU
Reviewed-by: serb
2018-11-14 18:04:54 -08:00
Phil Race
39cf5a08ef 8213213: Remove src/java.desktop/unix/classes/sun/awt/X11/keysym2ucs.h
Reviewed-by: serb
2018-11-01 13:56:14 -07:00
Christoph Langer
72a788d0c0 8223597: jdk/nio/zipfs/ZipFSTester.java RuntimeException: CHECK_FAILED! (getAttribute.crc <entries20> failed 6af4413c vs 0 ...)
Reviewed-by: redestad, lancea
2019-05-14 09:25:58 +01:00
Aleksey Shipilev
109718ba21 8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
2019-02-22 17:54:13 +01:00
Yasumasa Suenaga
fe9374ee2b 8219414: SA: jhsdb jsnap throws UnmappedAddressException with core generated by gcore
Reviewed-by: cjplummer, jgeorge
2019-02-21 21:02:39 +09:00
Christophe Phillips
2216dc9bf8 8215342: [Zero] Build fails after JDK-8200613
Reviewed-by: shade, jgeorge
2018-12-13 10:25:50 +01:00
Jini George
f83644417f 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
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
2018-12-12 10:13:11 +05:30
Jini George
8b7c8ff5ff 8215026: Incorrect amount of memory unmapped with ImageFileReader::close()
Use map_size() instead of _index_size as the amount of memory to be unmapped while closing an image file

Reviewed-by: alanb, jlaskey
2018-12-10 19:08:24 +05:30
Aleksey Shipilev
625a5486e6 8215374: 32-bit build failures after JDK-8181143 (Introduce diagnostic flag to abort VM on too long VM operations)
Reviewed-by: roland
2018-12-14 12:56:59 +01:00
Aleksey Shipilev
9144b37181 8181143: Introduce diagnostic flag to abort VM on too long VM operations
Reviewed-by: rkennke, zgu, dholmes, stuefe, rehn
2018-12-13 16:45:24 +01:00
Ichiroh Takiguchi
9b92162531 8211810: X11 Time stamp data should be unsigned
Reviewed-by: serb
2018-10-30 15:51:10 -07:00
Alan Bateman
445b63ecd1 8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure
Reviewed-by: bpb
2018-09-14 16:56:09 +01:00
Matthias Baesken
aa3d3e8d3c 8215961: jdk/jfr/event/os/TestCPUInformation.java fails on AArch64
Reviewed-by: aph, goetz, lucy
2019-01-03 16:14:40 +01:00
Roland Westrelin
4d5d843710 8215265: C2: range check elimination may allow illegal out of bound access
Reviewed-by: thartmann, kvn
2018-12-14 11:22:26 +01:00
Joe Wang
b5864240c4 8180901: Transformer.reset() resets the state only once
Reviewed-by: rriggs, lancea
2019-02-05 15:06:08 -08:00
Nils Eliasson
02ed470b48 8087128: C2: Disallow definition split on MachCopySpill nodes
Reviewed-by: kvn
2019-02-14 14:31:32 +01:00
Erik Österlund
8dfd3d4c1f 8216987: ciMethodData::load_data() unpacks MDOs with non-atomic copy
Reviewed-by: kvn, mdoerr, thartmann
2019-01-29 10:13:23 +01:00
Erik Österlund
47516b1603 8216427: ciMethodData::load_extra_data() does not always unpack the last entry
Reviewed-by: thartmann, kvn
2019-01-15 09:44:18 +01:00
David Holmes
07d40aa7a4 8193234: When using -Xcheck:jni an internally allocated buffer can leak
Reviewed-by: shade, hseigel
2019-02-08 20:51:55 -05:00
Roland Westrelin
6c62305d40 8224580: Matcher can cause oop field/array element to be reloaded
Reviewed-by: neliasso, rkennke, dlong
2019-05-21 09:08:01 +02:00
Vladimir Ivanov
00f98305c5 8218163: C2: Continuous deoptimization w/ Reason_speculate_class_check and Action_none
Reviewed-by: kvn, neliasso
2019-02-01 18:51:14 -08:00
Tobias Hartmann
ceef9cae38 8218721: C1's CEE optimization produces safepoint poll with invalid debug information
Bail out of CEE if one of the gotos is a safepoint but the if is not.

Reviewed-by: vlivanov, mdoerr
2019-02-19 08:58:55 +01:00
Phil Race
9d5de827c0 8222362: Upgrade to Freetype 2.10.0
Reviewed-by: serb, erikj
2019-05-09 16:09:39 -07:00
Sean Coffey
03c03164f4 8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Xue-Lei Andrew Fan
77427db89e 8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
2019-04-16 16:59:09 -07:00
Roger Riggs
243a6a83ef 8216205: Java API documentation formatting error in System.getEnv
Reviewed-by: lancea, bchristi, alanb
2019-01-07 14:15:00 -05:00
Yasumasa Suenaga
cf6915f3cf 8216155: C4819 warning at libfreetype sources on Windows
Reviewed-by: erikj
2019-01-05 10:07:55 +09:00
Roland Westrelin
67cbdaa8a6 8215483: Off heap memory accesses should be vectorized
Reviewed-by: neliasso, kvn
2018-12-18 09:29:39 +01:00
Dmitry Markov
76b2a11302 8214579: JFrame does not paint content in XVFB / X11vnc environment
Reviewed-by: prr
2019-05-20 15:42:20 +01:00
Markus Grönlund
389fe463c0 8214287: SpecJbb2005StressModule got uncaught exception
Reviewed-by: egahlin, jwilhelm
2018-11-27 18:14:27 +01:00
Valerie Peng
b4c54f4f99 8214096: sun.security.util.SignatureUtil passes null parameter, so JCE validation fails
Changed SignatureUtil.specialSetParameter to ignore null signature parameters

Reviewed-by: mullan, weijun
2018-12-19 02:27:44 +00:00
Joe Wang
c8e0bb8b22 8213117: adoptNode corrupts attribute values
Reviewed-by: lancea
2018-11-28 10:30:15 -08:00
Martin Doerr
435965a234 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-05-21 11:45:37 +02:00
Goetz Lindenmaier
932bf45167 Merge 2019-07-01 15:59:43 +02:00
Weijun Wang
984d057307 8221801: Update src/java.base/share/legal/public_suffix.md
Reviewed-by: xuelei
2019-04-02 11:05:08 +08:00
Prasanta Sadhukhan
011a511654 8221411: NullPointerException in RasterPrinterJob without PrinterResolution
Reviewed-by: prr
2019-03-28 13:49:27 +05:30
Jamil Nimeh
898445224d 8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
Reviewed-by: apetcher
2019-03-18 15:26:59 -07:00
Thomas Stuefe
81b08de10c 8224487: outputStream should not be copyable
Reviewed-by: kbarrett, coleenp
2019-05-22 07:10:54 +02:00
Thomas Stuefe
af080ad7b5 8221480: jcmd VM.metaspace shall print limits in basic mode
Reviewed-by: adinn, rehn
2019-03-26 16:26:33 +01:00
Aleksey Shipilev
ac330454f5 8224033: os::snprintf should be used in virtualizationSupport.cpp
Reviewed-by: mbaesken, stuefe
2019-05-16 21:32:24 +02:00
Matthias Baesken
38b31b854a 8222720: Provide extended VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, rehn
2019-05-10 10:18:16 +02:00
Goetz Lindenmaier
4a70b29710 Merge 2019-06-26 15:22:00 +02:00
Martin Doerr
2e6316e7bb 8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function
Reviewed-by: mbaesken, gromero, kvn
2019-06-13 11:12:23 +02:00
Gustavo Romero
ef4e5fca32 8223660: jtreg: Decouple Unsafe from RTM tests
Reviewed-by: mdoerr, shade
2019-05-22 12:17:26 -04:00
Ralf Schmelter
9130557b48 8220570: Additonal trace when native thread creation fails
Added additonal trace when native thread creation fails

Reviewed-by: dholmes, goetz
2019-03-22 04:47:02 -07:00
Ralf Schmelter
002fcbc7bc 8221325: Add information about swap space to print_memory_info() on MacOS
Reviewed-by: stuefe, dholmes
2019-03-26 01:46:06 -07:00
Claes Redestad
f12fc3feee 8215380: Backout accidental change to String::length
Reviewed-by: darcy, smarks
2018-12-14 12:02:39 +01:00
Claes Redestad
9f86d458ab 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Aleksey Shipilev
38e353fff3 8218715: [TESTBUG] TestUseOptoBiasInliningWithoutEliminateLocks needs to unlock WhiteBoxAPI
Reviewed-by: kvn
2019-02-09 19:39:28 +01:00
Roland Westrelin
b160f01b98 8217990: C2 UseOptoBiasInlining: load of markword optimized to 0 if running with -XX:-EliminateLocks
Reviewed-by: thartmann, mdoerr, rrich, kvn
2019-02-07 09:55:57 +01:00
Roland Westrelin
bcbc76192e 8216549: Mismatched unsafe access to non escaping object fails
Reviewed-by: vlivanov, kvn, thartmann
2019-01-11 10:03:00 +01:00
Tao Ji
a49f8c3ddc 8217359: C2 compiler triggers SIGSEGV after transformation in ConvI2LNode::Ideal
Reviewed-by: thartmann
2019-01-21 13:31:42 +08:00
Vladimir Ivanov
2b2d47d1b3 8217760: C2: Missing symbolic info on a call from intrinsics when invoked through MethodHandle
Reviewed-by: thartmann, roland
2019-01-25 13:37:08 -08:00
Tobias Hartmann
49f747137b 8218201: Failures when vmIntrinsics::_getClass is not inlined
Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.

Reviewed-by: kvn, dlong, redestad, neliasso
2019-03-11 11:42:57 +01:00
Zhengyu Gu
1ff179efc0 8216199: Local variable arg defined but never used in BCEscapeAnalyzer::compute_escape_for_intrinsic()
Removed unused local variable

Reviewed-by: thartmann
2019-01-07 09:17:08 -05:00
Doug Lea
d47635ead3 8221120: CopyOnWriteArrayList.set should always have volatile write semantics
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Patrick Zhang
fb25b1a150 8221220: AArch64: Add StoreStore membar explicitly for Volatile Writes in TemplateTable
Reviewed-by: aph
2019-03-21 16:45:33 +08:00
Patrick Zhang
ddba161015 8219635: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield
Reviewed-by: aph
2019-02-25 18:50:29 +08:00
Lun Liu
79e2b3ac27 8218185: aarch64: missing LoadStore barrier in TemplateTable::putfield_or_static
Reviewed-by: aph
2019-02-01 15:05:52 +08:00
Deepak Kejriwal
1517f6155e 8206879: Currency decimal marker incorrect for Peru
Reviewed-by: naoto, rpatil
2019-05-16 12:14:37 +05:30
Ivan Gerasimov
4b51209c1f 6996807: FieldReflectorKey hash code computation can be improved
Reviewed-by: rriggs
2019-01-02 15:33:32 -08:00
Gustavo Romero
1627b46308 8221434: Fix typo in lib-x11 autoconf error message about missing headers
Reviewed-by: dholmes
2019-03-25 19:40:25 -04:00
Xin Liu
6c15394a3d 8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently
Always purge_stale_tasks() in CompileQueue::get().

Reviewed-by: thartmann, kvn
2019-06-22 08:48:32 -07:00
Thomas Stuefe
5670afc652 8224034: [TESTBUG] runtime/ErrorHandlerTest/ErrorHandler fails intermittently for case 13 on Windows
Reviewed-by: dholmes
2019-05-21 18:22:54 +02:00
Thomas Stuefe
4f2eb8a326 8224181: On child process spawn, child may write to random file descriptor instead of the fail pipe
Reviewed-by: rriggs, martin
2019-06-05 08:59:17 +02:00
Thomas Stuefe
d540af73b4 8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Reviewed-by: dcubed, dholmes
2019-06-04 07:49:58 +02:00
Jiangli Zhou
1c097b5439 8210926: vmTestbase/nsk/jvmti/scenarios/allocation/AP11/ap11t001/TestDescription.java failed with JVMTI_ERROR_INVALID_CLASS in CDS mode
Reset InstanceKlass _init_state to 'allocated' before writing out shared classes at dump time.

Reviewed-by: dholmes, coleenp
2018-10-01 00:52:37 -04:00
Gustavo Romero
b016dbe56e 8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code
Reviewed-by: mbaesken, shade, mdoerr
2018-09-04 11:46:23 -04:00
Roger Riggs
c2957da1ac 8220166: Performance regression in deserialization (4-6% in SPECjbb)
Reviewed-by: shade, dholmes, alanb
2019-05-17 10:48:02 -04:00
Ichiroh Takiguchi
42f4fc5b47 8212677: X11 default visual support for IM status window on VNC
Reviewed-by: serb, naoto
2019-02-01 15:34:53 -08:00
Goetz Lindenmaier
aa2aea9c8d Added tag jdk-11.0.4+3 for changeset 3b6fc7cd5946 2019-05-15 09:28:40 +02:00
Dmitry Cherepanov
d67c7591d2 8221244: Unexpected behavior of PropertyDescription.getReadMethod for boolean properties
Reviewed-by: serb
2019-03-27 13:14:55 +03:00
Phil Race
cd74cc05f2 8210886: Remove references in xwindows.md to non-existent files
Reviewed-by: serb, dmarkov
2018-10-31 11:45:04 -07:00
Sergey Bylokhov
00d808e715 8220495: Update GIFlib library to the 5.1.8
Reviewed-by: prr
2019-03-31 16:57:21 -07:00
Alexey Ivanov
fd4b141b4c 8221412: lookupPrintServices() does not always update the list of Windows remote printers
Reviewed-by: prr, serb
2019-03-28 14:52:41 +00:00
Shashidhara Veerabhadraiah
018ba15afa 8212202: [Windows] Exception if no printers are installed
Reviewed-by: prr
2019-02-25 11:02:53 +05:30
Volker Simonis
259ae373bb 8213944: Fix AIX build after the removal of Xrandr.h and add a configure check for it
Reviewed-by: shade, erikj, stuefe, ihse, goetz
2018-11-22 09:44:02 +01:00
Phil Race
e4e694439f 8210863: Remove Xrandr include files from JDK sources
Reviewed-by: serb
2018-10-31 16:58:37 -07:00
Phil Race
796d0403a5 8210782: Upgrade HarfBuzz to the latest 2.3.1
Reviewed-by: serb, ihse, erikj
2019-03-01 16:59:19 -08:00
Christoph Langer
ae4c82c5a1 8223555: Cleanups in cacerts tests
Reviewed-by: xuelei
2019-05-10 06:31:09 +01:00
Claes Redestad
2ae308bdd7 8222532: (zipfs) Performance regression when writing ZipFileSystem entries in parallel
Reviewed-by: lancea, clanger, alanb
2019-04-24 15:37:55 +02:00
Krishna Addepalli
520839330c 8218674: HTML Tooltip with "img=src" on component doesn't show
Make sure image is scaled appropriately if synchronous loading flag is set.

Reviewed-by: serb, psadhukhan
2019-05-13 07:44:54 -07:00
Steve Groeger
7a29ab4e08 8218152: [javac] fails and exits with no error if a bad annotation processor provided
Handle exceptions thrown while loading annotation processors.

Reviewed-by: jlahoda
2019-04-30 10:39:22 +02:00
Goetz Lindenmaier
b6b80ff205 Merge 2019-05-08 07:36:49 +02:00
Goetz Lindenmaier
b8073a2f61 Added tag jdk-11.0.4+2 for changeset 3b9194001c2e 2019-05-08 07:33:53 +02:00
Yasumasa Suenaga
01bc631404 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
Reviewed-by: egahlin, mgronlun
2019-04-24 17:09:24 +09:00
Rajan Halade
1aa3495b55 8222137: Remove T-Systems root CA certificate
Reviewed-by: mullan
2019-04-30 12:53:32 -07:00
Nils Eliasson
0d45b5ac48 8219448: split-if update_uses accesses stale idom data
Reviewed-by: thartmann, kvn
2019-03-07 22:16:03 +01:00
Vladimir Ivanov
67064bf757 8215757: C2: PhaseIdealLoop::create_new_if_for_predicate() computes wrong IDOM
Reviewed-by: kvn, roland
2019-01-15 16:41:17 -08:00
Andrew Brygin
314712033f 8139178: Wrong fontMetrics when printing in Landscape (OpenJDK)
Reviewed-by: prr
2018-11-30 23:21:05 +03:00
Adam Farley8
e991980263 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, smarks
2019-05-02 06:33:28 -07:00
Phil Race
b6aa8b2e10 8210880: Remove HPKeysym.h from JDK sources
Reviewed-by: serb, dmarkov
2018-09-25 14:44:36 -07:00
Leonid Mesnik
f6afa06ed9 8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
Reviewed-by: coleenp, sspitsyn
2019-04-02 17:11:04 -07:00
Jini George
1967bf26c1 8204308: SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode
Use longs instead of ints while computing the identity hash of klass symbols

Reviewed-by: coleenp, lfoltan, jiangli, shade
2019-05-03 13:33:41 +02:00
Severin Gehwolf
936bc71f72 8221639: [i386] expand_exec_shield_cs_limit workaround is undefined code after JDK-8199717
Only perform this optimization for x86_64

Reviewed-by: dholmes, andrew
2019-04-18 13:58:31 +02:00
Alexey Ushakov
6ffee6a4f5 8213292: Input freezes after MacOS key-selector (press&hold) usage on macOS Mojave
Reviewed-by: serb
2018-11-14 13:52:33 -08:00
Rajan Halade
2c5101f826 8216577: Add GlobalSign's R6 Root certificate
Reviewed-by: mullan, robm
2019-01-16 22:29:31 -08:00
Gustavo Romero
2c6c4d1db5 8223395: PPC64: Improve comments in the JVM signal handler to match ISA text
Reviewed-by: mdoerr
2019-05-06 09:53:11 -04:00
Gustavo Romero
a40bf41724 8221175: Fix bad function case for controlled JVM crash on PPC64 big-endian
Reviewed-by: chrisphi, stuefe, goetz
2019-03-20 16:43:49 -04:00
Martin Doerr
c9f89393f3 8216556: Unnecessary liveness computation with JVMTI
Reviewed-by: redestad, dlong, kvn
2019-01-16 10:16:08 +01:00
Gustavo Romero
f6a26303ac 8223266: PPC64: Check for branch to illegal address before checking for mem serialization
Reviewed-by: goetz, mdoerr
2019-05-02 18:01:23 -04:00
Thomas Schatzl
96708ee512 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
For initial TLAB sizing, increase the number of expected refills to 2.

Reviewed-by: phh, sangheki
2018-08-13 12:24:25 +02:00
Alexey Ivanov
3fa868ddc9 8218682: [TEST_BUG] DashOffset fails in mach5
8198411: [TEST_BUG] Two java2d tests are unstable in mach5

Skip testing VolatileImage if IndexColorModel is detected

Reviewed-by: prr, serb
2019-02-14 20:20:49 +00:00
Dean Long
cabc6cafc8 8204521: compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java fails trying to delete temp file
Reviewed-by: kvn
2018-11-05 22:22:49 -08:00
Krishna Addepalli
9f80298e56 8196681: Java Access Bridge logging and debug flags dynamically controlled
Reviewed-by: serb, sveerabhadra
2018-12-14 11:00:07 +05:30
Goetz Lindenmaier
f46183b5a9 8215534: [testbug] some jfr test don't check @requires vm.hasJFR
Reviewed-by: sundar, egahlin
2018-12-13 08:36:10 +01:00
Sean Coffey
e5a735c043 8148188: Enhance the security libraries to record events of interest
Reviewed-by: egahlin, mullan, weijun, xuelei
2018-11-20 13:12:48 +00:00
Yasumasa Suenaga
a04a0f2e04 8225636: SA can't handle prelinked libraries
Reviewed-by: sspitsyn, cjplummer
2019-06-18 10:54:00 +09:00
Naoto Sato
f7cf4f05a4 8214770: java/time/test/java/time/format/TestNonIsoFormatter.java failed in non-english locales
Reviewed-by: lancea, bpb
2018-12-04 11:10:14 -08:00
Goetz Lindenmaier
f6f32311a3 Merge 2019-06-19 07:23:43 +02:00
Matthias Baesken
77045031c2 8220355: Improve assertion texts and exception messages in eventHandlerVMInit
Reviewed-by: alanb, sspitsyn, jcbeyler
2019-03-18 15:29:19 +01:00
Matthias Baesken
31cd634282 8223574: add more thread-related system settings info to hs_error file on AIX
Reviewed-by: goetz, mdoerr
2019-05-10 09:58:01 +02:00
Matthias Baesken
8b362f5c46 8222280: Provide virtualization related info in the hs_error file on AIX
Reviewed-by: clanger, mdoerr
2019-04-12 09:13:50 +02:00
Arno Zeller
25f3f676dd 8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
Changed test to no longer use hardcoded ports.

Reviewed-by: chegar, clanger
2019-05-28 20:12:16 +02:00
Tobias Hartmann
3a2a0efcd3 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Guard against regions degraded to copies.

Reviewed-by: kvn
2019-04-30 14:49:19 +02:00
Matthias Baesken
242c97c8a6 8217093: Support extended-length paths in parse_manifest.c on windows
Reviewed-by: chegar, clanger
2019-01-28 16:42:23 +01:00
Martin Doerr
2173cac043 8211097: aix: fix build after JDK-8210919
Reviewed-by: shade, mbaesken, erikj
2018-09-27 09:29:52 +02:00
Magnus Ihse Bursie
6dcc974ef5 8210919: Remove statically linked libjli on Windows
Reviewed-by: erikj
2018-09-19 22:42:34 +02:00
Magnus Ihse Bursie
0d8b5c61bd 8210729: Clean up macosx static library handling
Reviewed-by: erikj
2018-09-18 13:32:40 +02:00
Markus Grönlund
385444fa14 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
2018-11-23 10:51:59 +01:00
Markus Grönlund
f8021fedef 8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
Reviewed-by: egahlin, dholmes
2018-10-31 09:09:23 +01:00
Erik Gahlin
a92e594b47 8203629: Produce events in the JDK without a dependency on jdk.jfr
Reviewed-by: mgronlun
2018-10-31 02:10:21 +01:00
Ivan Gerasimov
bb5c58434d 8217344: Make comparison overflow-aware in ECDHKeyAgreement.engineGenerateSecret()
Reviewed-by: apetcher
2019-01-18 15:44:17 -08:00
Xin Liu
bb87c2edc7 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-06-13 08:46:25 -07:00
Xue-Lei Andrew Fan
2731505a8b 8221253: TLSv1.3 may generate TLSInnerPlainText longer than 2^14+1 bytes
Reviewed-by: jnimeh
2019-06-06 15:56:39 +03:00
Tobias Hartmann
245d30fcff 8177899: Tests fail due to code cache exhaustion on machines with many cores
Implemented upper limit on CICompilerCount based on code cache size.

Reviewed-by: kvn, mdoerr
2018-10-30 09:06:08 +01:00
Goetz Lindenmaier
2df83b38cd Merge 2019-06-13 11:03:36 +02:00
Goetz Lindenmaier
f589eaaeb6 Merge 2019-06-12 16:20:17 +02:00
Goetz Lindenmaier
b8808fe115 Merge 2019-06-05 16:01:00 +02:00
Matthias Baesken
c0a78b419f 8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, mdoerr
2019-04-10 08:51:38 +02:00
Adam Petcher
9ca74c45a8 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
Truncate the digest according to the group order, not the field size

Reviewed-by: jnimeh
2019-03-19 15:18:35 -04:00
Rob McKenna
73ee445621 8139965: Hang seen when using com.sun.jndi.ldap.search.replyQueueSize
Reviewed-by: dfuchs
2019-04-25 05:54:54 -07:00
Ao Qi
c98b3bc34b 8170639: [Linux] jsig is limited to a maximum of 64 signals
Reviewed-by: dholmes, iklam
2019-06-03 07:02:19 +01:00
Yasumasa Suenaga
1c42a83df1 8224252: [TESTBUG] hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java is timing out again after fix for JDK-8163805
Reviewed-by: cjplummer, sspitsyn
2019-05-25 20:55:33 +09:00
Christoph Langer
d94a8515c1 8223553: Fix code constructs that do not compile with the Eclipse Java Compiler
Reviewed-by: smarks, dfuchs
2019-05-24 07:56:29 +01:00
Thomas Stuefe
7f40f1fb48 8213017: jspawnhelper: need to handle pipe write failure when sending return code
Reviewed-by: alanb
2018-10-26 16:49:18 +02:00
Doug Lea
f3b8806337 8224698: ConcurrentSkipListMap.java does not compile with the Eclipse Java Compiler
Reviewed-by: martin, clanger, smarks, dfuchs
2019-05-24 08:39:37 -07:00
Goetz Lindenmaier
a73e8ed106 8224838: Bump update version for OpenJDK: jdk-11.0.5
Reviewed-by: clanger
2019-05-27 14:48:40 +02:00
Goetz Lindenmaier
cd02547214 Merge 2019-05-30 10:28:32 +02:00
Goetz Lindenmaier
9a029d1b7e Added tag jdk-11.0.5+0 for changeset 3594cd8691f2 2019-05-30 10:26:41 +02:00
Xue-Lei Andrew Fan
9418d43d5b 8210985: Update the default SSL session cache size to 20480
Change SSLSessionContext.getSessionCacheSize to return 20480 by default instead of 0.

Reviewed-by: jnimeh, mullan
2019-05-29 11:46:35 -07:00
Ichiroh Takiguchi
46f6908963 8208996: X11 icon window color handing bug
Reviewed-by: serb
2018-08-08 18:31:24 -07:00
Matthias Baesken
641260fb65 8221915: cleanup ticks related coding in os_perf_aix.cpp [aix]
Reviewed-by: mdoerr
2019-04-10 09:33:32 +02:00
Martin Balao
4dbcd82786 8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
Do not close the session holding the Wrapper Key while in use. Delete the Wrapper Key when no longer needed.

Reviewed-by: valeriep
2019-04-15 15:52:38 -03:00
Valerie Peng
f65f8e0b4a 8216597: SIGBUS in Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo after JDK-6913047
Changed variable declaration type to byte* from long* to fix SIGBUS error

Reviewed-by: ascarpino
2019-02-20 19:16:45 +00:00
Martin Balao
564d6b0d5c 8217088: Disable JDK-6913047 fix (SunPKCS11 memory leak) after JDK-8216597 (SIGBUS error in getNativeKeyInfo)
Disable JDK-6913047 fix (SunPKCS11 memory leak) temporarily until JDK-8216597 (SIGBUS error in getNativeKeyInfo) is fixed.

Reviewed-by: mullan
2019-01-15 19:24:07 -03:00
Martin Balao
41d978e77c 6913047: Long term memory leak when using PKCS11 and JCE exceeds 32 bit process address space
Extract cryptographic keys within NSS PKCS11 software tokens for memory management purposes.

Reviewed-by: valeriep
2018-11-29 13:36:23 -03:00
Goetz Lindenmaier
345e6646ca Merge 2019-05-22 15:04:22 +02:00
Yasumasa Suenaga
3bb7124715 8213015: Inconsistent settings between JFR.configure and -XX:FlightRecorderOptions
Reviewed-by: mgronlun, egahlin
2018-11-23 16:36:07 +09:00
Erik Gahlin
a6a87c9d8a 8213617: JFR should record the PID of the recorded process
Reviewed-by: mgronlun
2018-12-08 17:41:17 +01:00
Markus Grönlund
10a18340e2 8215284: Reduce noise induced by periodic task getFileSize()
Reviewed-by: redestad, egahlin
2018-12-13 14:36:54 +01:00
Lois Foltan
f21e1e901a 8205611: Improve the wording of LinkageErrors to include module and class loader information
Clean up the wording of loader constraint violations to include the module and class loader information.

Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
Ichiroh Takiguchi
18e733678d 8212678: Windows IME related patch
Reviewed-by: serb, naoto
2019-02-17 15:15:30 -08:00
Goetz Lindenmaier
079fb005b6 Added tag jdk-11.0.4+1 for changeset b3f7a4c524f2 2019-05-01 07:35:38 +02:00
Steve Groeger
17f235dc46 8222027: java/util/logging/LogManager/TestLoggerNames.java generates intermittent ClassCastException
Make a strong reference to TestLogger and dont fetch it from LogManager

Reviewed-by: dfuchs
2019-04-08 15:01:39 +01:00
Ichiroh Takiguchi
50e223f6fe 8220281: IBM-858 alias name is missing on IBM00858 charset
Add aliases into IBM charsets

Reviewed-by: naoto
2019-03-15 00:49:13 +09:00
Sean Mullan
7051d96397 8218618: Program fails when using JDK addressed by UNC path and using Security Manager
Reviewed-by: weijun
2019-03-07 14:29:43 -05:00
Stuart Marks
bc324f2de4 8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
Reviewed-by: redestad, lancea
2019-04-09 09:49:36 -07:00
Leslie Zhai
49127c3c1d 8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
Cache default method handles.

Reviewed-by: mchung, plevart
2019-04-23 08:29:51 -07:00
Phil Race
20e622ffdb 8221304: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java
Reviewed-by: serb
2019-03-21 21:37:09 -07:00
Martin Balao
1228e4a081 8218854: FontMetrics.getMaxAdvance may be less than the maximum FontMetrics.charWidth
Consider algorithmic bold in FontMetrics.getMaxAdvance value and update obliqueness.

Reviewed-by: prr, serb
2019-03-01 12:21:23 -03:00
Ichiroh Takiguchi
bf61ddd9c6 8214002: Cannot use italic font style if the font has embedded bitmap
Reviewed-by: prr
2018-12-05 12:59:50 -08:00
Christoph Langer
dd7b00b1f0 8222522: Add configure options for Mac Bundle creation
Reviewed-by: erikj
2019-04-16 17:15:57 +01:00
Christoph Langer
0b3eaf793e 8221880: Better customization for Windows RC properties FileDescription and ProductName
Reviewed-by: erikj
2019-04-08 06:56:37 +01:00
Sean Mullan
028e92b50a 8222133: Add temporary exceptions for root certs that are due to expire soon
Reviewed-by: xuelei
2019-04-08 13:33:28 -04:00
Sean Mullan
bbf92f6e8b 8222089: [TESTBUG] sun/security/lib/cacerts/VerifyCACerts.java fails due to cert within 90-day expiry window
Reviewed-by: xuelei
2019-04-08 12:19:51 -04:00
Ivan Gerasimov
91db150f8f 8170494: JNI exception pending in PlainDatagramSocketImpl.c
Reviewed-by: clanger, vtewari
2019-03-21 12:28:58 -07:00
Aleksey Shipilev
ba41216f8d 8217879: hs_err should print more instructions in hex dump
Reviewed-by: stuefe, coleenp, dholmes, lucy, stefank
2019-02-01 16:03:15 +01:00
Aleksey Shipilev
e26aaf62be 8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
Reviewed-by: alanb
2019-04-15 18:22:08 +02:00
Aleksey Shipilev
c4d17e1fba 8222397: x86_32 tests with UseSHA1Intrinsics SEGV due to garbled registers
Reviewed-by: kvn, dsamersoff
2019-04-15 18:22:10 +02:00
Hannes Wallnöfer
dd8dd171e2 8209914: javadoc search sometimes generates bad URIs
Reviewed-by: jjg
2018-09-14 14:45:31 +02:00
Phil Race
122d914fbc 8218020: Fix version number in mesa.md 3rd party legal file
Reviewed-by: serb, psadhukhan
2019-01-30 14:03:08 -08:00
Vladimir Ivanov
4846f5c744 8188133: C2: Static field accesses in clinit can trigger deoptimizations
Reviewed-by: kvn
2019-02-04 17:35:35 -08:00
Christoph Langer
32587d2799 8215472: (zipfs) Cleanups in implementation classes of jdk.zipfs and tests
Reviewed-by: redestad, lancea
2018-12-19 10:36:16 +00:00
Amy Lu
fa154f4de6 8211266: [TESTBUG] ZipFSTester.java failed intermittently in ZipFSTester.checkRead(): bound must be positive
Reviewed-by: lancea
2018-11-22 10:30:47 +08:00
Xueming Shen
1d4bc1bc20 8210899: (zipfs) ZipFileSystem.EntryOutputStreamCRC32 mistakenly set the crc32 value into size field
Reviewed-by: bpb
2018-09-18 19:44:27 -07:00
Boris Ulasevich
71634ee76b 8217647: JFR: recordings on 32-bit systems unreadable
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: egahlin
2019-02-22 17:30:07 +03:00
Lois Foltan
4c69fb98ba 8216970: condy causes JVM crash
Fix issue with ConstantPool::constant_tag_at to correctly handle a condy whose return type is an array.

Reviewed-by: acorn, hseigel, jrose
2019-01-29 11:56:51 -05:00
Aleksey Shipilev
6869ab1cac 8222032: x86_32 fails with "wrong size of mach node" on AVX-512 machine
Reviewed-by: kvn, vlivanov
2019-04-07 13:28:18 +02:00
Aleksey Shipilev
348f9a51ce 8221917: serviceability/sa/TestPrintMdo.java fails on 32-bit platforms
Reviewed-by: cjplummer, dholmes
2019-04-07 13:28:18 +02:00
Pankaj Bansal
8d883a461d 8220349: The fix done for JDK-8214253 have caused issues in JTree behaviour
Reviewed-by: serb, prr
2019-04-04 12:14:51 +05:30
Martin Doerr
5954b5208b 8221833: Readability check in Symbol::is_valid not performed for some addresses
Reviewed-by: zgu, coleenp
2019-04-05 09:18:18 +02:00
Martin Doerr
6b68a63fd7 8220441: [PPC64] Clobber memory effect missing for memory barriers in atomics
Reviewed-by: simonis, goetz
2019-03-12 11:53:43 +01:00
Martin Doerr
7b8c69d8aa 8218991: s390: Add intrinsic for GHASH algorithm
Reviewed-by: lucy, simonis
2019-02-18 12:16:02 +01:00
Martin Doerr
a76f3fa5fe 8220625: tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"
Reviewed-by: clanger
2019-04-23 11:30:43 +02:00
Christoph Langer
33100610c6 Merge 2019-04-18 09:14:37 +02:00
Andrew John Hughes
273d5105ba Added tag jdk-11.0.3-ga for changeset 175eb80c253a 2019-04-16 21:50:58 +01:00
Andrew John Hughes
fe313744f2 Added tag jdk-11.0.3+7 for changeset 175eb80c253a 2019-04-03 02:57:12 +01:00
Naoto Sato
77f86fc3a4 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-03 02:25:37 +01:00
Christoph Langer
7fee024445 8221610: Resurrect (legacy) JRE bundle target
Reviewed-by: erikj, azeller
2019-03-30 21:29:37 +01:00
Naoto Sato
ddbdeddfb5 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Naoto Sato
d4f56125f6 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2018-09-25 13:57:24 -07:00
Erik Joelsson
7246da74f3 8210519: build/releaseFile/CheckSource.java failed additional sources found
Reviewed-by: mikael, dholmes, ihse
2018-09-12 08:46:25 -07:00
Erik Joelsson
f29985c321 8210283: Support git as an SCM alternative in the build
Reviewed-by: ihse, ehelin
2018-09-07 14:54:15 -07:00
Christian Thalinger
b7ea215e50 8210008: custom extension for make/SourceRevision.gmk
Reviewed-by: erikj
2018-08-28 15:17:52 -07:00
Goetz Lindenmaier
eba570224c 8219918: ProblemList hotspot tests failing in SAP testing
Reviewed-by: dholmes
2019-04-05 07:59:13 +02:00
Christoph Langer
9590d79418 8217311: Improve Exception thrown when MulticastSocket.setInterface fails on AIX(Unix)
Reviewed-by: sgroeger, alanb, mbaesken, chegar
2019-01-18 09:04:09 +01:00
Aleksey Shipilev
c7cef22dac 8221870: use driver to run CtwRunner in applications/ctw tests
Reviewed-by: shade, epavlova
2019-04-04 19:58:43 +02:00
Christoph Langer
687cf87bc6 8219915: [TESTBUG] Fix test langtools/tools/javac/processing/model/completionfailure/SymbolsDontCumulate.java in Standalone mode
Reviewed-by: jlahoda
2019-03-01 10:15:04 +00:00
Goetz Lindenmaier
804a79997b Merge 2019-04-04 09:33:34 +02:00
Goetz Lindenmaier
9131ba6835 Merge 2019-04-03 15:05:12 +02:00
Naoto Sato
a0559e8fbb 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar, phh, clanger
2019-04-03 02:25:37 +01:00
Andrew John Hughes
6e9bddded0 Merge 2019-04-03 18:36:44 +01:00
Alan Bateman
f2ae691bf6 8207340: (fs) UnixNativeDispatcher close and readdir usages should be fixed
Replace readdir_r with readdir, use RESTARTABLE for close only on aix.

Reviewed-by: bpb
2019-04-03 09:16:14 -07:00
Brian Burkhalter
960c3e2225 8202794: Native Unix code should use readdir rather than readdir_r
8207748: Fix for 8202794 breaks tier1 builds

Replace uses of readdir_r with readdir.

Reviewed-by: alanb, bsrbnd, kbarrett, darcy
2019-04-03 08:15:52 -07:00
Goetz Lindenmaier
08a5ae16e0 Added tag jdk-11.0.3+6 for changeset 8e139b8b4f62 2019-04-02 14:47:41 +02:00
Paul Hohensee
e621883a9f 8221769: Revert JDK-8221767 mistakenly pushed to jdk11u 11.0.3
Reviewed-by: clanger
2019-04-02 13:07:49 +01:00
Joe Wang
72097b06c1 8207760: SAXException: Invalid UTF-16 surrogate detected: d83c ?
Properly handle unicode16 characters split across buffer chunks.

Reviewed-by: lancea, dfuchs
2019-04-01 09:54:31 -07:00
Nick Gasson
63d11a1b82 8220707: [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
Reviewed-by: clanger, sballal, jcbeyler
2019-03-29 09:31:44 +00:00
Gunter Haug
0fe34765d4 8221479: Fix JFR profiling on s390
Reviewed-by: mdoerr, clanger
2019-03-26 16:00:20 +01:00
Kim Barrett
9e7d7ed5e3 8202353: os::readdir should use readdir instead of readdir_r
Summary: os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.

Reviewed-by: coleenp, tschatzl, bsrbnd
2019-04-02 13:12:23 -07:00
Joe Wang
296da14d35 8207760: SAXException: Invalid UTF-16 surrogate detected: d83c ?
Properly handle unicode16 characters split across buffer chunks.

Reviewed-by: lancea, dfuchs
2019-04-02 07:31:11 -07:00
Volker Simonis
8c52cd3fee 8221483: TestOopCmp.java fails due to "Multiple garbage collectors selected"
Reviewed-by: kvn, mdoerr
2019-03-26 18:42:10 +01:00
Volker Simonis
2a9234df89 8221083: [ppc64] Wrong oop compare in C1-generated code
Reviewed-by: mdoerr, goetz
2019-03-26 11:51:41 +01:00
Gustavo Romero
9f540020c8 8220794: PPC64: Fix signal handler for SIGSEGV on branch to illegal address
Reviewed-by: stuefe, goetz
2019-03-20 16:59:35 -04:00
Aleksey Shipilev
f83f5d7779 8221400: java/lang/String/StringRepeat.java test requests too much heap
Reviewed-by: stuefe, alanb
2019-03-27 11:35:40 +01:00
Aleksey Shipilev
d846107635 8221401: java/math/BigInteger/LargeValueExceptions.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, bpb
2019-03-27 11:35:41 +01:00
Aleksey Shipilev
69491915e6 8220198: Lots of com/sun/crypto/provider/Cipher tests fail on x86_32 due to missing SHA512 stubs
Reviewed-by: kvn, thartmann
2019-03-27 11:35:28 +01:00
Dmitry Cherepanov
afc71cb8b8 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-03-20 11:51:43 +03:00
Goetz Lindenmaier
666e35f205 Added tag jdk-11.0.3+5 for changeset c9865fee1a6d 2019-03-27 11:05:13 +01:00
Christoph Langer
cd90905c52 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-03-21 09:16:58 +01:00
Goetz Lindenmaier
2f23b8998c Added tag jdk-11.0.3+4 for changeset 43d6759c3b2e 2019-03-20 08:50:02 +01:00
Roman Kennke
36c08688f8 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe
Reviewed-by: vlivanov, roland
2019-03-15 09:57:42 +01:00
Matthias Baesken
8518b25018 8215296: do not disable c99 on Solaris
Reviewed-by: dholmes, ihse, goetz, clanger
2019-03-22 09:29:44 +01:00
Roland Westrelin
60a752c103 8220374: C2: LoopStripMining doesn't strip as expected
Reviewed-by: rkennke, thartmann, mdoerr
2019-03-12 15:42:32 +01:00
Goetz Lindenmaier
ec58029908 Merge 2019-03-27 16:01:27 +01:00
Naoto Sato
c265253cf9 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Andrew Haley
89520a7433 8219006: AArch64: Register corruption in slow subtype check
Reviewed-by: adinn
2019-02-15 12:10:12 -05:00
Christoph Langer
35dec00a12 8200286: (testbug) MOptionTest test fails with java.lang.AssertionError: Classfiles too old!
Reviewed-by: stuefe, jjg
2019-03-22 08:56:30 +01:00
Nick Gasson
3211c7869e 8209414: AArch64: method handle invocation does not respect JVMTI interp_only mode
Reviewed-by: adinn
2018-12-19 11:45:54 +00:00
Martin Balao
a55b1500ac 8219011: Implement MacroAssembler::warn method on AArch64
Reviewed-by: adinn
2019-02-15 11:46:15 -03:00
David Buck
4a820480c2 8217564: idempotent protection missing in crc32c.h
Added include guard to crc32c.h

Reviewed-by: dcubed
2019-03-22 09:05:06 -04:00
Matthias Baesken
ac7c6fa6ab 8215707: [macosx] fix pthread_getschedparam and pthread_setschedparam calls
Reviewed-by: clanger, dholmes
2018-12-21 14:42:08 +01:00
Roland Westrelin
bf258a3602 8219335: "failed: unexpected type" assert failure in ConnectionGraph::split_unique_types() with unsafe accesses
Reviewed-by: thartmann, kvn
2019-02-18 17:41:31 +01:00
Matthias Baesken
f0176771db 8219746: Provide virtualization related info in the hs_error file on linux ppc64 / ppc64le
Reviewed-by: dholmes, lucy, mdoerr
2019-02-28 10:28:34 +01:00
Rahul Raghavan
816ea1d566 8211698: Crash in C2 compiled code during execution of double array heavy processing code
Correctly registered new Opaque4Node in add_range_check_predicate

Reviewed-by: roland, thartmann
2018-12-18 19:13:54 +05:30
David M Lloyd
7b87fab419 8212828: (process) Provide a way for Runtime.exec to use posix_spawn on linux
Reviewed-by: alanb, rriggs
2018-10-18 15:56:37 -05:00
Ioi Lam
090628e7a1 8212205: VM asserts after CDS archive has been unmapped
Reviewed-by: dholmes, jiangli, hseigel, stuefe
2018-10-25 11:23:43 -07:00
Alexey Ivanov
c1c92e26a2 8217263: Automate DashOffset test
Reviewed-by: prr, serb
2019-02-07 13:57:12 +00:00
Coleen Phillimore
fa9e4db056 8210457: JVM crash in ResolvedMethodTable::add_method(Handle)
Add a function to call NSME in ResolvedMethodTable to replace deleted methods.

Reviewed-by: sspitsyn
2019-03-21 10:14:41 +01:00
Andrew Haley
e4a5a3c9d0 8209415: Fix JVMTI test failure HS202
Fix test for static method in exception throw handler

Reviewed-by: adinn
2018-11-13 11:21:32 -05:00
Thomas Schatzl
26e191531a 8218063: JDK-8218060 breaks build for S390
Reinstated function removed by JDK-8218060 and properly ifdef'ed it.

Reviewed-by: shade, eosterlund
2019-01-30 17:02:17 +01:00
Thomas Schatzl
65a588e146 8218060: JDK-8217786 breaks build due to remaining unused function
Remove unused function.

Reviewed-by: eosterlund
2019-01-30 16:19:25 +01:00
Matthias Baesken
8d7c24162b 8217786: Provide virtualization related info in the hs_error file on linux s390x
Reviewed-by: dholmes, stuefe
2019-01-30 09:57:59 +01:00
Goetz Lindenmaier
b6dbf403a5 Merge 2019-03-21 08:31:57 +01:00
Goetz Lindenmaier
52d5f8acba Merge 2019-03-20 16:01:48 +01:00
Matthias Baesken
42b85cd4fd 8216355: missing NULL checks in libnet in interface iteration and potential resource leak in getMacAddress
Reviewed-by: clanger, rwestberg
2019-01-09 14:46:40 +01:00
Matthias Baesken
139b107a44 8219112: name_and_sig_as_C_string usages in frame_s390 miss ResourceMark
Reviewed-by: shade, lucy
2019-02-18 09:38:43 +01:00
Matthias Baesken
f8ecb3bcee 8219460: ppc: adjust NativeGeneralJump::insert_unconditional to stack allocated MacroAssembler
Reviewed-by: mdoerr
2019-02-20 17:29:30 +01:00
Pankaj Bansal
970120daeb 8214112: The whole text in target JPasswordField image are not selected
Reviewed-by: serb, psadhukhan
2019-03-05 14:03:21 +05:30
Fairoz Matte
88f143d0bb 8209951: Problematic sparc intrinsic: com.sun.crypto.provider.CipherBlockChaining
Reviewed-by: kvn, thartmann
2019-01-31 04:49:46 -08:00
Pankaj Bansal
0ff3a8cdf9 8214111: There is no icon in all JOptionPane target image
Reviewed-by: serb, psadhukhan
2019-01-18 13:36:16 +05:30
Pankaj Bansal
6ff20ac450 8215364: JavaFX crashes on Ubuntu 18.04 with Wayland while using Swing-FX interop
Reviewed-by: prr, kcr
2018-12-21 11:43:04 +05:30
Adam Petcher
934a82d2cf 8208648: ECC Field Arithmetic Enhancements
Interal library enhancements to support ECC implementatation

Reviewed-by: jnimeh
2018-12-11 09:36:49 -05:00
Nishit Jain
87ad4a7793 8213294: Upgrade IANA LSR data
Reviewed-by: naoto
2018-12-03 12:35:27 +05:30
Dmitry Markov
1dc9f02386 8214109: XToolkit is not correctly displayed color on 16-bit high color setting
Reviewed-by: serb, prr
2019-02-26 18:12:06 +00:00
Pankaj Bansal
777bf1d3b8 8214252: Expanded & Collapsed nodes of a JTree look the same on GTK3
Reviewed-by: serb, psadhukhan
2019-01-10 16:38:02 +05:30
Pankaj Bansal
13980a122d 8214253: Tooltip is transparent rather than having a black background
Reviewed-by: serb, psadhukhan
2019-03-05 13:09:15 +05:30
Pankaj Bansal
c37db36aa8 8218469: JSlider display issue with slider for GTKLookAndFeel
8218470: JScrollBar display issue with GTKLookAndFeel
8218472: JProgressBar display issue with GTKLookAndFeel
8203627: Swing applications with JRadioButton and JCheckbox fail to render correctly when using GTK3 and the GTK L&F

Reviewed-by: serb, prr
2019-02-15 10:58:57 +05:30
Semyon Sadetsky
9296a1d1d1 8218473: JOptionPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:06:25 -08:00
Semyon Sadetsky
b48b1a416e 8218479: JTextPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:01:16 -08:00
Aleksey Shipilev
a2b993caeb 8220718: Missing ResourceMark in nmethod::metadata_do
Reviewed-by: mdoerr, zgu
2019-03-19 17:30:58 +01:00
Severin Gehwolf
59173923c7 8220353: [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
Reviewed-by: thartmann, shade
2019-03-08 13:56:05 +01:00
Martin Doerr
91517bb663 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-03-08 11:23:30 +01:00
Sean Mullan
278e849bf9 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

Backout and restore previous XML signature marshalling implementation

Reviewed-by: weijun
2019-03-05 08:24:58 -05:00
Xue-Lei Andrew Fan
80262c1a21 8216045: The size of key_exchange may be wrong on FFDHE
Reviewed-by: jnimeh
2019-01-16 11:19:43 -08:00
Daniel Fuchs
74f0225e0d 8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed

Reviewed-by: chegar
2019-01-16 19:09:16 +00:00
Sergey Bylokhov
188c8c8662 8210739: Calling JSpinner's setFont with null throws NullPointerException
Reviewed-by: psadhukhan
2018-10-16 15:47:53 -07:00
Naoto Sato
3a4a414252 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2018-09-25 13:57:24 -07:00
Andrey Petushkov
8142a7d9ea 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls
Reviewed-by: aph
2018-09-24 18:19:46 +01:00
Nick Gasson
c68a41538f 8215951: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults
Reviewed-by: aph
2019-01-05 10:48:54 +08:00
Nick Gasson
667f79dc84 8216350: AArch64: monitor unlock fast path not called
Reviewed-by: aph, drwhite, fyang
2019-03-12 10:48:02 +08:00
Roland Westrelin
bd6f2c5a7b 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Reviewed-by: adinn, aph
2018-10-04 09:24:27 +02:00
Severin Gehwolf
d97a2500b7 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue
Specify explicit type in the constructor

Reviewed-by: shade, pliden
2019-03-07 17:34:21 +01:00
Goetz Lindenmaier
b7cb56bc6f Merge 2019-03-14 10:03:24 +01:00
Goetz Lindenmaier
242334219e Added tag jdk-11.0.3+0 for changeset 98e7354165d3 2019-03-14 09:41:30 +01:00
Goetz Lindenmaier
709d063972 Added tag jdk-11.0.3+3 for changeset d17a1764a0f3 2019-03-13 07:47:14 +01:00
Severin Gehwolf
19a1861dc6 8220283: ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
Reviewed-by: shade, kbarrett
2019-03-07 16:15:43 +01:00
Thomas Stuefe
a044cb6765 8219650: [Testbug] Fix potential crashes in new test hotspot gtest "test_print_hex_dump"
Reviewed-by: clanger, shade
2019-02-28 14:22:03 +01:00
Goetz Lindenmaier
90a85a8562 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-03-06 16:01:01 +01:00
Gerard Ziemski
a433cf3043 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Excluded test of mac range for VMThreadStackSize

Reviewed-by: coleenp, mseledtsov
2019-02-28 10:55:07 -06:00
Goetz Lindenmaier
25a64a5c95 Merge 2019-03-06 08:34:36 +01:00
Goetz Lindenmaier
3135657b8c Added tag jdk-11.0.3+2 for changeset 9de3f198995c 2019-03-06 08:31:59 +01:00
Goetz Lindenmaier
5783d96313 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess
Reviewed-by: dholmes, dcubed
2019-02-28 13:53:38 +01:00
Naoto Sato
bc51902963 8217609: New era placeholder not recognized by java.text.SimpleDateFormat
Reviewed-by: nishjain, rriggs
2019-01-29 07:46:50 -08:00
Martin Doerr
7630a17a0e 8211852: inspect stack during error reporting
Reviewed-by: dholmes, goetz
2018-10-15 08:08:02 +02:00
Man Cao
ed67ef92eb 8210192: Hsperf counter ParNew::CMS should be ParNew:CMS
Rename the counter back to ParNew:CMS and added a test

Reviewed-by: sjohanss, tschatzl
2018-09-04 14:17:45 -07:00
Alexey Ivanov
7ba299958a 8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
2018-12-20 12:44:41 +00:00
Deepak Kejriwal
6999da7599 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
2019-02-22 16:15:00 +05:30
Christoph Langer
3de15e37c0 Added tag jdk-11.0.3+1 for changeset cd1c042181e9 2019-02-27 12:43:47 +01:00
Jamil Nimeh
fb7b3bd609 8210989: RSASSA-PSS certificate cannot be selected for client auth on TLSv1.2
Reviewed-by: xuelei
2018-10-16 12:05:57 -07:00
Stefan Johansson
8b920865dc 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2018-11-23 10:57:07 +01:00
Roland Westrelin
f82eacf737 8214189: test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
Reviewed-by: kvn
2018-11-26 17:35:35 +01:00
Goetz Lindenmaier
f079bec7b2 8219461: Bump update version for OpenJDK jdk11.0.3
Reviewed-by: clanger
2019-02-20 17:55:15 +01:00
Man Cao
3165be7550 8218192: Remove copy constructor for MemRegion
Remove copy constructor in memRegion.hpp

Reviewed-by: tschatzl, kbarrett
2019-02-05 08:20:09 -08:00
Erik Gahlin
93090558e7 8215362: JFR GTest JfrTestNetworkUtilization fails
Reviewed-by: mgronlun
2018-12-13 23:25:00 +01:00
Erik Gahlin
b082a90749 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2018-12-13 14:21:04 +01:00
Erik Gahlin
7885cc86b7 8213966: The ZGC JFR events should be marked as experimental
Reviewed-by: pliden
2018-12-08 14:08:04 +01:00
Erik Gahlin
25686b7dcf 8165675: Trace event for thread park has incorrect unit for timeout
Reviewed-by: mgronlun
2018-12-12 18:35:26 +01:00
Nick Gasson
95e4e2444f 8215100: AArch64: fix compareTo intrinsic with four-character Latin/Unicode
Reviewed-by: aph, dpochepk
2018-12-20 17:07:07 +00:00
Nick Gasson
6bf924c12d 8215202: AArch64: jtreg test test/jdk/sun/nio/cs/FindEncoderBugs.java fails
Reviewed-by: aph
2018-12-21 17:14:46 +00:00
Aleksey Shipilev
750967a822 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-02-16 21:15:33 +01:00
Ichiroh Takiguchi
7375cb23b7 8211267: StackOverflowError happened by TextField.setFont(...)
Reviewed-by: serb, prr
2019-01-06 19:28:21 -08:00
Toshio Nakamura
d94536ac2e 8213183: InputMethod cannot be used after its restarting
Retains masks at XSelectInput and deletes all IM data at DestroyXIMCallback

Reviewed-by: naoto
2018-12-13 00:46:39 +09:00
Jonathan Gibbons
c44296d0b6 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-01-15 11:05:25 -08:00
Aleksey Shipilev
7d8031bc89 8210357: Zero builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:38 +02:00
Aleksey Shipilev
c551a093e5 8210355: Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:37 +02:00
Lutz Schmidt
0db1edfa87 8207343: Automate vtable/itable stub size calculation
Reviewed-by: kvn, mdoerr
2018-09-03 09:43:08 +02:00
Sandhya Viswanathan
dfdfc8fce6 8210764: Update avx512 implementation
8211251: Default mask register for avx512 instructions
8211272: x86_32 build failures after JDK-8210764 (Update avx512 implementation)
8211375: Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)

Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: kvn
2018-10-27 10:33:58 -07:00
Sergey Bylokhov
4d7531f5af 8170937: Swing apps are slow if displaying from a remote source to many local displays
Reviewed-by: prr, aivanov
2018-09-18 18:32:03 -07:00
Sergey Bylokhov
b8e0ad5317 8207150: Clip.isRunning() may return true after Clip.stop() was called
Reviewed-by: prr
2018-09-08 12:32:51 -07:00
Mandy Chung
d71125bf58 8212795: ThreadInfoCompositeData.toCompositeData fails to map ThreadInfo to CompositeData
Reviewed-by: dfuchs
2018-10-25 10:57:42 -07:00
Muthusamy Chinnathambi
d7094f2afe 8211714: Need to update vm_version.cpp to recognise VS2017 minor versions
Reviewed-by: dholmes
2018-10-26 18:35:06 +05:30
Kevin Walls
6e7ffef73a 8211124: HotSpot update for vm_version.cpp to recognise updated VS2017
Reviewed-by: dholmes, lfoltan
2018-09-26 06:28:48 -07:00
Muthusamy Chinnathambi
de754a84d3 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-26 16:09:18 +05:30
Michael McMahon
39a134a69c 8212926: HttpClient does not retrieve files with large sizes over HTTP/1.1
Reviewed-by: chegar, dfuchs
2018-10-25 17:23:46 +01:00
Aleksei Efimov
f994c1a279 8210490: TimeZone.getDisplayName given Locale.US doesn't always honor the Locale
Specified locale for formatting..

Reviewed-by: naoto
2018-10-24 16:13:10 +01:00
Lutz Schmidt
50e01c8d13 8210319: [s390]: Use of shift operators not covered by cpp standard
Reviewed-by: mdoerr, goetz
2018-09-10 16:40:59 +02:00
Lutz Schmidt
048287c9c9 8209950: SIGBUS in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2018-08-30 09:34:10 +02:00
Adam Petcher
33c7830fae 8201317: X25519/X448 code improvements
Minor code/comment improvements

Reviewed-by: xuelei
2018-08-29 12:00:47 -04:00
Goetz Lindenmaier
624c2f1398 Merge 2019-03-14 09:01:31 +01:00
Goetz Lindenmaier
5ce75346a8 Merge 2019-03-13 08:02:04 +01:00
Fei Yang
0783958139 8219698: aarch64: SIGILL triggered when specifying unsupported hardware features
Reviewed-by: aph
2019-02-26 10:52:31 +08:00
Anthony Scarpino
77609edb46 8220165: Encryption using GCM results in RuntimeException- input length out of bound
Reviewed-by: valeriep
2019-03-07 19:35:02 -08:00
Vicente Romero
ccb37773a1 8210197: javac can't tell during speculative attribution if a diamond expression is creating an anonymous inner class or not
Reviewed-by: mcimadamore
2018-11-08 10:36:06 -05:00
Xue-Lei Andrew Fan
d5a9f446c1 8219389: Delegated task created by SSLEngine throws BufferUnderflowException
Reviewed-by: ascarpino
2019-02-20 10:20:48 -08:00
Anthony Scarpino
85e6d59bc0 8215790: Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
Reviewed-by: jnimeh
2019-02-12 14:08:07 -08:00
Xue-Lei Andrew Fan
bb80f46971 8215443: The use of TransportContext.fatal() leads to bad coding style
Reviewed-by: ascarpino
2018-12-18 12:08:51 -08:00
Stefan Karlsson
1d4cb00f98 8218733: SA: CollectedHeap provides broken implementation for used() and capacity()
Reviewed-by: shade, jgeorge, eosterlund
2019-02-19 10:02:00 +01:00
Sergey Bylokhov
c5bdf3d24d 8208702: javax/swing/reliability/HangDuringStaticInitialization.java may hang on macos
Reviewed-by: prr, denis
2018-10-31 10:01:23 -07:00
David Holmes
9774041f24 8217765: Internal Error (javaCalls.cpp:61) guarantee(thread->can_call_java()) failed
Reviewed-by: rehn, redestad, coleenp
2019-02-20 19:41:43 -05:00
Jamsheed Mohammed C M
647d35a0d1 8213825: assert(false) failed: Non-balanced monitor enter/exit! Likely JNI locking
Skip sfpt optimization for Load is removed for Java Object's Markword Load.

Reviewed-by: kvn, dlong
2019-01-23 23:24:10 -08:00
Alexey Ivanov
059773a9d5 8215123: Crash in runtime image built with jlink --compress=2
Reviewed-by: ihse, alanb
2018-12-11 14:11:57 +00:00
Jini George
58d111434e 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
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
2018-12-13 13:03:26 +05:30
Sean Mullan
2e04916a8d 8195793: Remove GTE CyberTrust Global Root
Reviewed-by: rhalade
2018-10-19 09:31:57 -04:00
Martin Doerr
cd30755d41 8219582: PPC: Crash after C1 checkcast patched and GC
Reviewed-by: akozlov, goetz
2019-03-01 17:48:53 +01:00
John Jiang
b09950913e 8211971: Move security/cacerts/VerifyCACerts.java and security/CheckBlacklistedCerts.java
Move lib/security tests to sun/security/lib

Reviewed-by: weijun
2018-10-16 10:16:04 +08:00
Weijun Wang
ffd888ae88 8211969: test/jdk/lib/security/CheckBlacklistedCerts.java searching for wrong paths
Reviewed-by: mullan
2018-10-10 22:13:30 +08:00
Mikael Vidstedt
fd360fb42e 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
Volker Simonis
b2dd2d4401 8213515: Improve freetype detection on linux/ppc64/ppc64le/s390x
Reviewed-by: shade, ihse, stuefe
2018-11-08 12:24:08 +01:00
Rahul Raghavan
ad0dd5b9c5 8210803: Compilation failure in codeBlob.cpp for Windows 32-bit
Added ordinary operator delete declaration within class

Reviewed-by: kvn, rlichten, thartmann
2018-11-12 01:15:16 -08:00
Ichiroh Takiguchi
093a4f2060 8217880: AIX build issue after JDK-8214533
Reviewed-by: goetz, ihse, mbaesken
2019-01-29 12:16:52 +01:00
Ichiroh Takiguchi
08690a06f4 8214533: IBM-29626C is required for AIX default charset
Reviewed-by: alanb, rriggs
2019-01-24 12:52:37 -05:00
Ichiroh Takiguchi
90c7aa18c4 8212794: IBM-964 is required for AIX default charset
Reviewed-by: rriggs, ihse, alanb
2018-12-06 10:22:23 -05:00
Ichiroh Takiguchi
b886a646f9 8213618: IBM970 charset has missing entry and remove unexpected entries
Reviewed-by: srl, martin
2018-12-02 11:09:46 -08:00
Anton Litvinov
1c2d657499 8201818: [macosx] Printing attributes break page size set via "java.awt.print.Book" object
Reviewed-by: prr, psadhukhan
2018-08-27 18:29:07 +01:00
Dmitry Markov
7daae94da9 8213983: [macosx] Keyboard shortcut ?cmd +`? stops working properly if popup window is displayed
Reviewed-by: kaddepalli, serb
2018-12-06 13:32:15 +00:00
Xueming Shen
4fbbbf1026 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
2018-09-05 09:12:50 -07:00
Sergey Bylokhov
d37f6426bd 8207070: Webstart app popup on wrong screen in a one-screen setup changing to multi-monitor
Reviewed-by: prr
2018-11-02 15:38:03 -07:00
Anton Litvinov
f97953fb4a 8187364: Unable to enter zero width non-joiner (ZWNJ) symbol in Swing text component
Reviewed-by: serb, dmarkov
2018-11-12 22:28:08 +00:00
Sean Mullan
822d955678 8216280: Allow later Symantec Policy distrust date for two Apple SubCAs
Reviewed-by: coffeys
2019-01-22 09:27:19 -05:00
Sean Mullan
4010b17481 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2018-12-11 13:22:20 -05:00
Aleksey Shipilev
e448c92c24 8219260: Default number of test jobs needs to be consistently calculated
Reviewed-by: aph, clanger, erikj
2019-02-20 16:49:42 +01:00
Weijun Wang
ff3ea0e809 8214513: A PKCS12 keystore from Java 8 using custom PBE parameters cannot be read in Java 11
Reviewed-by: mullan
2018-12-05 08:48:49 +08:00
Weijun Wang
fd5044b237 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2018-11-27 08:51:20 +08:00
Xueming Shen
f3b6c38283 8197398: (zipfs) Files.walkFileTree walk indefinitelly while processing JAR file with "/" as a directory inside
Reviewed-by: alanb
2018-09-04 17:04:10 -07:00
Xue-Lei Andrew Fan
3e9539fe20 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2018-12-14 19:39:39 -08:00
Jiangli Zhou
543acd4ecf 8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().

Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
Simon Tooke
7f05d1a2ec 8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
2019-01-16 13:38:19 -05:00
Xue-Lei Andrew Fan
0e8b9d4f9e 8213782: NullPointerException in sun.security.ssl.OutputRecord.changeWriteCiphers
Reviewed-by: ascarpino
2018-12-14 17:51:02 -08:00
Dmitry Markov
4da550196b 8213583: Error while opening the JFileChooser when desktop contains shortcuts pointing to deleted files
Reviewed-by: kaddepalli, aivanov, serb
2018-11-29 15:17:58 +00:00
Sibabrata Sahoo
8213572b6e 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out
Java.net.SocketTimeoutException: Read timed out

Reviewed-by: xuelei
2018-11-14 23:12:19 -08:00
Aleksey Shipilev
bc7c5064b7 8219251: Langtools tests default memory size needs to be 768m
Reviewed-by: aph, clanger
2019-02-19 13:57:00 +01:00
Ao Qi
3b717e0987 8217597: [TESTBUG] old version docker does not support --cpus
"--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
2019-01-31 23:56:37 +08:00
Ichiroh Takiguchi
112378d32a 8211382: ISO2022JP and GB18030 NIO converter issues
Reviewed-by: sherman, rriggs
2018-11-01 17:48:10 -04:00
Andrew Haley
4044e1e832 8211163: UNIX version of Java_java_io_Console_echo does not return a clean boolean
Reviewed-by: shade, alanb
2018-10-03 17:29:47 +01:00
Lance Andersen
a76b533f20 8211295: DriverManager.getConnection fails when called from com.sun.rowset.JdbcRowSetImpl
Reviewed-by: mchung, alanb
2018-10-01 13:05:51 -04:00
Milan Mimica
a02dd26e8b 8215727: Restore JFR thread sampler loop to old / previous behavior
Reviewed-by: egahlin, mgronlun
2018-12-21 16:56:40 +01:00
Aleksey Shipilev
63b51e922d 8217315: Proper units should print more significant digits
Reviewed-by: stuefe, tschatzl
2019-01-18 17:05:41 +01:00
Aleksey Shipilev
2d067cbb4b 8217994: os::print_hex_dump should be more resilient against unreadable memory
Reviewed-by: zgu, stuefe, lucy
2019-01-30 19:45:10 +01:00
Erik Gahlin
c75bbbde24 8212232: Wrong metadata for the configuration of the cutoff for old object sample events
Reviewed-by: mgronlun
2018-12-07 17:11:17 +01:00
Sean Coffey
79cb34f557 8213952: Relax DNSName restriction as per RFC 1123
Reviewed-by: weijun, mullan, chegar
2018-12-05 17:33:01 +00:00
Jaikiran Pai
2470e02984 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
2018-10-07 14:35:00 -04:00
Erik Gahlin
e38458abd9 8209960: -Xlog:jfr* doesn't work with the JFR
Reviewed-by: mgronlun
2018-11-05 14:40:16 +01:00
Erik Gahlin
71b0dc5f35 8207829: FlightRecorderMXBeanImpl is leaking the first classloader which calls it
Reviewed-by: mgronlun
2018-12-07 14:19:20 +01:00
Valerie Peng
ab93f8c97e 8211049: Second parameter of "initialize" method is not used
Use the specified random object instead of system default

Reviewed-by: weijun
2018-11-07 01:04:26 +00:00
Joe Wang
ef32059f6b 8215330: javax.xml.catalog.CatalogResolverImpl: GroupEntry.matchURI fails to match
Reviewed-by: lancea
2019-01-04 10:42:12 -08:00
Calvin Cheung
24c616202e 8215947: JVM crash with -XX:+DumpSharedSpaces
Disable JIT compilation if -XX:+DumpSharedSpaces is specified by the user

Reviewed-by: lfoltan, jiangli
2019-01-03 14:33:58 -08:00
Phil Race
1d183e8087 8216965: crash in freetypeScaler.c CopyBW2Grey8
Reviewed-by: serb, mbaesken
2019-01-22 17:31:19 -08:00
Muthusamy Chinnathambi
ca2b32d3c9 8215397: jsig.c missing classpath exception
Reviewed-by: dholmes
2018-12-18 12:59:39 +05:30
Erik Gahlin
2112a72aef 8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
2018-12-07 18:00:41 +01:00
Harold Seigel
1af07a7094 8211821: PrintStringTableStatistics crashes JVM
During JVM exit, print the Symbol and String tables before current thread gets deleted.

Reviewed-by: iklam, dholmes
2018-10-11 11:31:37 -04:00
Joe Wang
e3723c9817 8210874: Test for JDK-8209615
Reviewed-by: lancea
2018-09-18 13:31:30 -07:00
Joe Wang
51dc88af65 8209615: ParseError in XMLEventReader on a valid input
Reviewed-by: lancea
2018-08-22 14:28:47 -07:00
Leonid Mesnik
9e05bd661a 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2018-08-21 13:17:29 -07:00
Lutz Schmidt
57bb42886c 8209588: SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
Reviewed-by: kvn, goetz
2018-08-20 17:25:45 +02:00
Aleksey Shipilev
546dea854a 8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
2018-10-23 10:55:59 +02:00
Michael McMahon
b93bb49f4f 8211437: 8211437 java.net.http.HttpClient hangs on 204 reply without Content-length 0
Reviewed-by: dfuchs, chegar
2018-10-24 11:22:03 +01:00
Michael McMahon
8244da2934 8211420: com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code
Reviewed-by: chegar, dfuchs
2018-10-24 10:42:19 +01:00
Jamil Nimeh
f50ceeafa4 8211806: TLS 1.3 handshake server name indication is missing on a session resume
Reviewed-by: xuelei, wetmore
2018-10-22 13:53:23 -07:00
Michael McMahon
0f3122233e 8203850: java.net.http HTTP client should allow specifying Origin and Referer headers
Reviewed-by: chegar, dfuchs
2018-10-22 11:42:43 +01:00
Joe Wang
10f524e416 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
Martin Doerr
cf67bf411d 8210754: print_location is not reliable enough (printing register info)
Reviewed-by: stuefe, coleenp
2018-10-04 16:39:07 +02:00
Roman Kennke
6c6ca6a6b7 8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
Reviewed-by: thartmann, roland
2018-09-25 16:41:25 +02:00
Roland Westrelin
75214cfe8c 8211231: BarrierSetC1::generate_referent_check() confuses register allocator
Reviewed-by: iveresov, kvn
2018-09-27 16:25:25 +02:00
Aleksey Shipilev
a701f0d9f2 8212177: Epsilon alignment adjustments can overflow max TLAB size
Reviewed-by: pliden, tschatzl
2018-10-16 17:43:30 +02:00
Aleksey Shipilev
9d70e7040b 8212005: Epsilon elastic TLAB sizing may cause misalignment
Reviewed-by: rkennke, tschatzl
2018-10-11 10:42:17 +02:00
Aleksey Shipilev
e40f194715 8212178: Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator
Reviewed-by: rkennke, kbarrett, joehw
2018-10-15 22:30:32 +02:00
Mandy Chung
e44029ec98 8212197: OpenDataException thrown when constructing CompositeData for StackTraceElement
Reviewed-by: alanb
2018-10-16 11:47:33 -07:00
David Holmes
ef52d6c224 8211909: JDWP Transport Listener: dt_socket thread crash
Reviewed-by: dcubed, dsamersoff
2018-10-16 19:07:47 -04:00
Severin Gehwolf
e96bdcbcd5 8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization
Compile with -O2 and -ffp-contract=off as for fdlibm.

Reviewed-by: erikj, lucy, aph
2018-09-11 18:18:51 +02:00
Severin Gehwolf
143410c88f 8210416: [linux] Poor StrictMath performance due to non-optimized compilation
Compile fdlibm with -O2 -ffp-contract=off on gcc/clang arches.

Reviewed-by: aph, erikj, dholmes, darcy, ihse
2018-09-17 10:53:56 +02:00
Matthias Baesken
791c453c22 8210964: add more ld preloading related info to hs_error file on Linux
Reviewed-by: clanger, stuefe
2018-09-28 09:20:46 +02:00
Krishna Addepalli
0e8aa012d1 8208638: Instead of circle rendered in appl window, but ellipse is produced JEditor Pane
Reviewed-by: serb, psadhukhan
2018-10-18 12:19:32 +05:30
Jamil Nimeh
b3f4b36847 8210918: Add test to exercise server-side client hello processing
Reviewed-by: xuelei
2018-10-17 06:59:59 -07:00
Jamil Nimeh
bd23905bb9 8210334: TLS 1.3 server fails if ClientHello doesn't have pre_shared_key and psk_key_exchange_modes
Reviewed-by: ascarpino, wetmore
2018-10-17 06:55:04 -07:00
Jiangli Zhou
571de32554 8212100: AppCDS crashes for some uses with JRuby
Make sure FileMapInfo::verify_mapped_heap_regions only verifies 'num' of spaces.

Reviewed-by: iklam
2018-10-16 15:09:03 -04:00
Rob McKenna
9fc3b58483 Merge 2018-10-16 09:42:36 -07:00
Vladimir Kozlov
73f5bd5e28 8212204: [TESTBUG] test/hotspot/jtreg/compiler/intrinsics/base64/TestBase64.java fails
Fix tests to not use jtreg.SkippedException

Reviewed-by: dholmes, goetz
2018-10-16 09:26:55 -07:00
Jerry Zhou
59770f3683 Added tag jdk-11.0.1+13 for changeset 8513ac27b651 2018-10-06 09:00:29 -07:00
Brent Christian
5e06830120 8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
Reviewed-by: alanb, mchung
2018-10-05 15:05:45 -07:00
Jerry Zhou
0819bef6f3 Added tag jdk-11.0.1+12 for changeset c0431cf9c38e 2018-10-04 02:19:13 -07:00
Prasadrao Koppula
35d6a546eb 8211107: LDAPS communication failure with jdk 1.8.0_181
Reviewed-by: chegar, coffeys, vtewari
2018-10-02 21:38:54 +05:30
Jerry Zhou
bc0239c6ec Added tag jdk-11.0.1+11 for changeset 0343f9aacae2 2018-09-27 03:22:35 -07:00
Jamil Nimeh
0864917e44 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
Jamil Nimeh
718875c2a0 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
Jerry Zhou
11f58b066b Added tag jdk-11.0.1+10 for changeset a86e14193fc8 2018-09-11 23:54:15 -07:00
Xueming Shen
1ec7dbab23 8210345: The Japanese message of FileNotFoundException garbled
Reviewed-by: alanb
2018-09-07 10:17:49 -07:00
Rajan Halade
2a08c06eea 8210432: Add additional TeliaSonera root certificate
Reviewed-by: mullan
2018-09-09 08:12:46 +05:30
Jerry Zhou
3e4a033294 Added tag jdk-11.0.1+9 for changeset adb9933aa8c6 2018-09-04 19:39:43 -07:00
Jerry Zhou
4f8dc731e6 Added tag jdk-11.0.1+8 for changeset c2b23a17d3ff 2018-08-28 22:01:46 -07:00
Rob McKenna
5bc98172e3 Merge 2018-08-28 04:44:59 -07:00
Jamil Nimeh
9a0ec1951e 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
Jerry Zhou
c468ecccc5 Added tag jdk-11.0.1+7 for changeset 88a221c0bad0 2018-08-22 00:44:48 -07:00
Rob McKenna
19b176af8b Merge 2018-08-20 07:23:23 -07:00
Roland Westrelin
3f5213e31c 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-08-17 17:13:12 +02:00
Sean Coffey
93e528930a Merge 2018-10-16 12:47:56 +01:00
Sean Coffey
d07af5bcf5 8209862: CipherCore performance improvement
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Reviewed-by: apetcher, ascarpino
2018-10-15 14:42:31 +01:00
Manajit Halder
cf0ad85263 8206392: [macosx] Cycling through windows (JFrames) does not work with keyboard shortcut
Reviewed-by: dmarkov, kaddepalli
2018-09-14 17:53:58 +05:30
Severin Gehwolf
c7c220f16b 8212110: Build of saproc.dll broken on Windows 32 bit after JDK-8210647
Only add RTC1 compile flag for slowdebug builds.

Reviewed-by: mdoerr, erikj
2018-10-12 10:58:06 +02:00
Dmitry Markov
6e56571959 8205479: OS X: requestFocus() does not work properly for embedded frame
Reviewed-by: serb, aivanov
2018-10-16 09:39:30 +01:00
Dmitry Markov
b8881acafa 8130655: OS X: keyboard input in textfield is not possible if the window contained textfield is owned by EmbeddedFrame
Reviewed-by: serb, aivanov
2018-10-16 09:34:13 +01:00
Priya Lakshmi Muthuswamy
248ab60379 8211916: Javadoc -link makes broken links if module name matches package name
Reviewed-by: jjg
2018-10-16 13:04:51 +05:30
Coleen Phillimore
49c524cc67 8209889: RedefineStress tests crash
Reviewed-by: mdoerr
2018-10-15 15:16:32 -04:00
Anton Litvinov
26d8bdcae5 8211165: License header is absent in a few J2Ddemo source code files
Reviewed-by: prr, iris
2018-09-26 18:36:55 +01:00
Sharath Ballal
343b407cc2 8207745: serviceability/sa/TestJmapCore.java times out parsing a 4GB hprof file
Reviewed-by: dholmes, jgeorge
2018-09-28 14:31:58 +05:30
Goetz Lindenmaier
3a857cfdce 8211856: [ppc, s390] ProblemList some failing tests
Reviewed-by: kvn, mdoerr
2018-10-09 16:03:56 +02:00
Laurent Bourgès
b9c85f33f7 8210335: Clipping problems with complex affine transforms: negative scaling factors or small scaling factors
Fixed clipping rectangle to take into account the inverse transform (scale/shear)

Reviewed-by: prr, serb
2018-10-13 14:18:27 +02:00
Phil Race
406265cab6 8208595: [parfait] Better X11 font support
Reviewed-by: serb, psadhukhan
2018-10-12 17:02:21 -07:00
Phil Race
7f00330f34 7017058: Malayalam glyph substitution is failing for Malayalam with Windows Kartika font
8191130: Sinhala text rendering problem with C+VIRAMA+ZWJ+RA/YA+V
8195836: opentype:Bengali: "Khanda Ta" shaping issue with U+09A4 TA, U+09CD virama, U+200D ZWJ

Reviewed-by: serb, psadhukhan
2018-10-12 11:53:56 -07:00
Weijun Wang
c95e23be0a 8210736: jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux
Reviewed-by: alanb
2018-10-12 16:46:08 +01:00
Bo Zhang
244856b1dd 8210810: Escaped character at specific position in argument file is not handled properly
Reviewed-by: alanb
2018-09-28 13:15:01 -07:00
Prasanta Sadhukhan
31a53f4bac 8191178: [macos] Problem with input of yen symbol
Reviewed-by: dmarkov, mhalder
2018-10-12 19:45:47 +05:30
Gunter Haug
acde53eaac 8211768: [s390] Implement JFR profiling
Reviewed-by: simonis, mdoerr
2018-10-09 15:06:27 +02:00
Sean Coffey
84c52dce5a 8209129: Further improvements to cipher buffer management
Reviewed-by: weijun, igerasim
2018-08-23 11:37:14 +01:00
Tobias Hartmann
b6884d1c5d 8208275: C2 crash in Node::add_req(Node*)
Split-if optimization should not process (dead) counted loops.

Reviewed-by: roland
2018-08-17 08:21:20 +02:00
Zhengyu Gu
b77ef24efa 8217342: Build failed with excluding JFR
Reviewed-by: shade, pliden
2019-01-20 12:20:37 -05:00
Jamil Nimeh
3c44f651ac 8214129: SSL session resumption/SNI with TLS1.2 causes StackOverflowError
Reviewed-by: xuelei, jjiang
2018-12-06 22:05:31 -08:00
Man Cao
bde8d15e42 8213829: Remove circular dependency between g1CollectedHeap and g1ConcurrentMark
Improve include statements related to g1CollectedHeap.inline.hpp

Reviewed-by: kbarrett, tschatzl
2018-11-13 22:08:44 -08:00
Zhengyu Gu
908cac06de 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-02-14 10:11:18 -05:00
Aleksey Shipilev
a6b8e83529 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace
Reviewed-by: dholmes, tschatzl
2019-01-25 16:57:50 +01:00
Aleksey Shipilev
f5359010fc 8217014: Epsilon should not ignore Metadata GC causes
Reviewed-by: stuefe, zgu
2019-01-18 16:40:24 +01:00
Aleksey Shipilev
bb97eebdba 8216308: StackTraceElement::fill_in can use injected Class source-file
Reviewed-by: coleenp, dholmes
2019-01-14 17:20:20 +01:00
Aleksey Shipilev
dcd68442f5 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Aleksey Shipilev
2dc5232e2a 8217378: UseCriticalCMSThreadPriority is broken
Reviewed-by: rkennke, dcubed
2019-01-19 11:19:55 +01:00
Martin Balao
4d7ddd9e2a 8204142: AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts
Improvements on the synchronization of SequencedEvent events from different AppContexts

Reviewed-by: serb
2018-11-09 10:34:19 -03:00
Aleksey Shipilev
c89ac41040 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
Reviewed-by: tschatzl, coleenp
2019-01-17 17:28:47 +01:00
Thomas Stuefe
c12e5a76a5 8218156: "jcmd VM.metaspace basic" misreports free chunk space
Reviewed-by: zgu
2019-02-01 10:27:45 +01:00
Roland Westrelin
829f37e68e 8214206: Fix for JDK-8213419 is broken on 32-bit
Reviewed-by: mdoerr, shade
2019-02-01 11:36:05 +01:00
Roland Westrelin
364a78ad8b 8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
Reviewed-by: kvn, dlong, aph
2018-11-14 13:15:54 +01:00
Goetz Lindenmaier
0791c4c0d6 8217628: Verbose ArrayIndexOutOfBoundsException message also in JNI calls
Reviewed-by: mdoerr, dholmes, lfoltan
2019-01-29 08:43:33 +01:00
Yasumasa Suenaga
ce1409f86c 8217432: MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
Reviewed-by: tschatzl, stuefe
2019-02-01 21:43:37 +09:00
Martin Doerr
524f5a9d32 8217459: [PPC64] Cleanup non-vector version of CRC32
Reviewed-by: gromero, goetz
2019-01-25 09:49:17 +01:00
Sean Mullan
75d7c1eb2b 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-29 10:24:38 -05:00
Adam Petcher
c2db0f384f 8214688: TLS 1.3 session resumption with hello retry request failed with "illegal_parameter"
Reviewed-by: jnimeh
2018-12-11 11:01:02 -05:00
Adam Petcher
3ad9cb0290 8213202: Possible race condition in TLS 1.3 session resumption
Reviewed-by: jnimeh
2018-11-21 15:06:13 -05:00
Jamil Nimeh
7fdc845c52 8212885: TLS 1.3 resumed session does not retain peer certificate chain
Reviewed-by: xuelei, wetmore
2018-11-13 18:22:52 -08:00
Thomas Stuefe
dd0f8494e9 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2019-01-30 14:08:21 +01:00
Deepak Kejriwal
118e0312fc 8216546: Support new Japanese era in java.lang.Character for Java SE 11
Reviewed-by: chegar, naoto, rriggs, coffeys
2019-01-29 12:00:35 +00:00
Deepak Kejriwal
81e690b4ef 8212941: Support new Japanese era in java.time.chrono.JapaneseEra
Reviewed-by: chegar, naoto, coffeys
2019-01-29 11:58:34 +00:00
Xueming Shen
b50f8b6023 8034802: (zipfs) newFileSystem throws UOE when the zip file is located in a custom file system
Reviewed-by: xiaofeya, clanger
2018-09-18 10:43:01 -07:00
Nick Gasson
3c5911e714 8217427: (dc) nio/channels/DatagramChannel/UseDGWithIPv6.java fails without IPv6
Reviewed-by: alanb, clanger
2019-01-22 10:25:22 +08:00
Christoph Langer
1b74e078b5 8217657: Move the test for default value of jdk.includeInExceptions into own test
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00:00
Jerry Zhou
e45543c23a Added tag jdk-11.0.1+6 for changeset db768cfe2141 2018-08-14 22:22:03 -07:00
Jerry Zhou
ffd27904be Added tag jdk-11.0.1+5 for changeset d6efeebf554c 2018-08-13 15:51:25 +00:00
Felix Yang
8dceed008b 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2018-08-09 15:42:48 +08:00
Ivan Gerasimov
07a5f4c537 8218453: More dynamic RMI interactions
Reviewed-by: aph
2019-04-03 02:13:17 +01:00
Calvin Cheung
6d7449553c 8214809: CDS storage improvements
Reviewed-by: aph
2019-04-03 02:10:23 +01:00
Ivan Gerasimov
c1dd160bc8 8211936: Better String parsing
Reviewed-by: aph
2019-04-03 02:07:42 +01:00
Felix Yang
acf2cfdb8f 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2018-08-09 15:42:48 +08:00
Ivan Gerasimov
5acf946102 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-07 21:12:02 -07:00
Rob McKenna
5dbc1f256b Merge 2018-08-09 04:39:09 -07:00
Nasser Ebrahim
66d8b6679e 8208634: Add x-IBM-1129 charset
Reviewed-by: alanb, sherman
2018-08-07 16:07:47 -07:00
Ichiroh Takiguchi
565f73bbbc 8211393: Memory leak issue on awt_InputMethod.c
Reviewed-by: naoto, clanger
2018-10-19 15:26:50 +01:00
Goetz Lindenmaier
6296e110ff Merge 2019-03-06 08:44:10 +01:00
Shashidhara Veerabhadraiah
c23d08bb1c 8190361: Incorrect version info in jaccessinspector.exe and jaccesswalker.exe
Reviewed-by: prr, mhalder
2019-02-21 11:10:35 +05:30
Sergey Bylokhov
10cc1e491c 8211435: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: null source
Reviewed-by: dmarkov, lbourges, kaddepalli, prr
2018-11-10 18:48:35 -08:00
Anthony Scarpino
3902ecc1ba 8201633: Problems with AES-GCM native acceleration
Reviewed-by: valeriep
2019-02-11 13:23:20 -08:00
Leo Jiang
9bb8753635 8208661: JDK 11.0.1 l10n resource file update
Reviewed-by: coffeys
2018-08-07 06:54:37 -07:00
Sean Coffey
f898486d29 8207775: Better management of CipherCore buffers
Reviewed-by: ascarpino
2018-08-03 09:57:10 +01:00
Sean Coffey
55aca0f2d7 8208583: Better management of internal KeyStore buffers
Reviewed-by: weijun
2018-08-03 14:14:59 +01:00
Leo Jiang
79cea41ed2 8207948: JDK 11 L10n resource file update msg drop 10
Reviewed-by: naoto
2018-07-25 22:48:53 -07:00
Diancui Zhou
e6d27ec718 8208654: Please change jdk 11.0.1 milestone to FCS
Reviewed-by: tbell
2018-08-01 19:06:02 -07:00
Saravana Kumar Vijayasekaran
feecbd5dbf 8208268: 11.0.1 b03 java.net bundles - Release Date is wrong
Reviewed-by: diazhou
2018-08-02 01:17:46 +00:00
Jerry Zhou
4cf12330c4 Added tag jdk-11.0.1+4 for changeset b5b1dd7e6f9d 2018-07-31 21:59:50 -07:00
Rob McKenna
944408c6e0 Added tag jdk-11.0.1+0 for changeset c01cc45790f8 2018-07-30 15:24:11 -07:00
Rob McKenna
33f575c516 Added tag jdk-11.0.1+2 for changeset fc55f0667af5 2018-07-30 15:18:30 -07:00
Rob McKenna
db32e3bfba Added tag jdk-11.0.1+3 for changeset 781b5d8f2f75 2018-07-30 15:10:52 -07:00
Adam Petcher
0eddb97c97 8208209: Improve TLS connection stability again
Reviewed-by: xuelei
2018-07-30 14:45:22 -04:00
Antonios Printezis
ad1cc33c99 8207849: Allow the addition of more number to the Java version string
Reviewed-by: erikj
2018-07-23 11:38:28 -04:00
Paul Hohensee
c6b425d30d 8217520: Remove vm.opt.MaxGCPauseMillis == "null" from TestOldGenCollectionUsage.java
Remove the corresponding @requires line

Reviewed-by: tschatzl
2019-01-28 07:58:28 -08:00
Adam Farley
0b2bccbf87 8214063: OpenJDK will not build on AIX while using the xlc 13.1 compiler
Reviewed-by: simonis, erikj, ihse, stuefe, mbaesken
2018-12-04 09:08:03 +01:00
Xue-Lei Andrew Fan
9d003c8c68 8210974: No extensions debug log for ClientHello
Reviewed-by: jnimeh, wetmore
2018-09-20 14:19:53 -07:00
Vladimir Kozlov
50d5a7d5ad 8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754
Fix CheckGraalIntrinsics test for new intrinsics.

Reviewed-by: iveresov, never
2019-01-18 11:55:07 -02:00
Michihiro Horie
3d4f11e0d7 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
Reviewed-by: kvn, rriggs, mdoerr, gromero
2019-01-18 08:31:09 -05:00
Martin Doerr
7f12fb1eba 8216060: [PPC64] Vector CRC implementation should be used by interpreter and be faster for short arrays
Reviewed-by: gromero, goetz
2019-01-21 09:44:27 +01:00
Gustavo Romero
1c59c60950 8214451: PPC64/s390: Clean up unused CRC32 prototype and function
Reviewed-by: mdoerr, lucy
2018-11-28 13:16:54 -05:00
Martin Doerr
bc2b7c5456 8214352: C1: Unnecessary "compilation bailout: block join failed" with JVMTI
Invalidate Phi functions for conflicting types and avoid bailout.

Reviewed-by: kvn, iveresov
2018-12-14 09:59:08 +01:00
Matthias Baesken
f147274c1f 8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
Reviewed-by: dcubed, dholmes
2019-01-04 17:46:56 +01:00
Rob McKenna
c294597f8b Merge 2019-01-21 08:36:31 -08:00
Rob McKenna
d4dc93c98b Added tag jdk-11.0.2-ga for changeset 144d476b6efe 2019-01-21 08:18:06 -08:00
Jerry Zhou
f6dfbec0b3 Added tag jdk-11.0.2+9 for changeset 144d476b6efe 2019-01-18 01:52:10 -08:00
Jerry Zhou
6c39ffc5af Added tag jdk-11.0.2+8 for changeset fe85e2f43a1c 2019-01-17 20:23:48 -08:00
Rob McKenna
ea817c1f23 8217247: JAVA_VERSION_DATE="2018-10-16" even though release was 2019-01-15
Reviewed-by: coffeys
2019-01-16 09:59:21 -08:00
Rob McKenna
a1235c3da2 Added tag jdk-11.0.2-ga for changeset a01e0cc01059 2019-01-15 11:17:23 -08:00
Jerry Zhou
79805c79c7 Added tag jdk-11.0.2+7 for changeset a01e0cc01059 2018-12-12 07:07:41 +00:00
Jayathirth D V
c8c4930334 8212116: IIOException "tEXt chunk length is not proper" on opening png file
Reviewed-by: serb
2018-11-14 01:29:34 +05:30
Jerry Zhou
a08daa68f1 Added tag jdk-11.0.2+6 for changeset c6fd7ff3e96f 2018-12-06 08:20:16 +00:00
Thejasvi Voniadka
3e548af5fc 8203688: [testbug] Nashorn test test/nashorn/script/nosecurity/treeapi/diagnostic.js fails
Updating the expected output for diagnostic.js to its correct value

Reviewed-by: jlaskey, sundar
2018-11-27 22:45:28 -08:00
Christoph Langer
bc2648f73f 8211218: remove double semicolon in src/java.desktop/macosx/classes/sun/font/CFont.java
Reviewed-by: serb
2018-09-28 06:39:52 +01:00
Severin Gehwolf
253a875985 8216559: [JFR] Native libraries not correctly parsed from /proc/self/maps
Use %7s for the dev scan format as major:minor may be up to that length

Reviewed-by: mgronlun, jwilhelm
2019-01-11 13:34:57 +01:00
Yasumasa Suenaga
30dbb823b7 8216486: Possibility of integer overflow in JfrThreadSampler::run()
Reviewed-by: rehn, sgehwolf
2019-01-11 23:32:52 +09:00
Martin Doerr
c3547743b0 8216376: [PPC64] Possibly unreliable stack frame resizing in template interpreter
Reviewed-by: goetz, gromero
2019-01-11 11:02:00 +01:00
Aleksey Shipilev
a8d0fb8566 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
Michihiro Horie
0638770a93 8214205: PPC64: Add instructions for counting trailing zeros
Reviewed-by: mdoerr, gromero
2018-11-22 21:43:37 -05:00
Matthias Baesken
d43261885a 8211326: add OS user related information to hs_err file
Reviewed-by: dholmes, stuefe
2018-11-15 17:08:59 +01:00
Thomas Stuefe
b69b169587 8211845: A new switch to control verbosity of hs-err files
Reviewed-by: goetz, mdoerr
2018-11-08 16:23:55 +01:00
Rob McKenna
7bab841630 Merge 2019-01-15 11:22:27 -08:00
Rob McKenna
23a97bfd12 Merge 2019-01-15 11:20:10 -08:00
Rob McKenna
8ad84221e5 Merge 2019-01-15 05:21:24 -08:00
Thomas Stuefe
f0adad8d93 8216982: Assertion poison page established too early
Reviewed-by: mdoerr, dholmes
2019-01-15 08:03:30 +01:00
Simon Tooke
2d44d463c1 8214061: Buffer written into itself
Actually write the msg text into the buffer.

Reviewed-by: dcubed, sgehwolf, sspitsyn
2018-12-04 17:54:13 +01:00
Simon Tooke
d10134f7a9 8214105: [TESTBUG] Bit test is always false in serviceability/jvmti/StartPhase/AllowedFunctions
Reviewed-by: dcubed, dholmes, jcbeyler, gadams, sspitsyn
2018-11-22 10:11:58 +01:00
Simon Tooke
e91313d8a3 8214108: [TESTBUG] Incorrect Function parameter lists in vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001
Reviewed-by: gadams, sspitsyn
2019-01-14 17:22:55 +01:00
Sandhya Viswanathan
f5804d0057 8216290: Register to register spill may use AVX 512 move instruction on unsupported platform
Reviewed-by: vlivanov, thartmann
2019-01-11 12:00:27 -08:00
Gustavo Romero
3c96669c33 8212481: PPC64: Enable POWER9 CPU detection
Reviewed-by: mdoerr, simonis
2018-10-16 16:26:28 -04:00
Goetz Lindenmaier
54abf19254 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms
Use LIBPATH on AIX, no shared memory connector on any Unix.

Reviewed-by: gadams, simonis, sspitsyn
2018-12-31 14:38:16 +01:00
Boris Ulasevich
026ccad425 8206107: [x86_32] jck tests for ldc2_w bytecode fail
Reviewed-by: dsamersoff
2018-12-25 18:35:42 +03:00
Ralf Schmelter
1752c3afb1 8214892: Delayed starting of debugging via jcmd
Reviewed-by: cjplummer, clanger
2018-12-12 11:34:08 +00:00
Boris Ulasevich
f79a268c4c 8215637: client VM variant build error: zgc (enabled) depends on opto (disabled)
Reviewed-by: robm, pliden
2018-12-25 18:20:00 +03:00
Roland Westrelin
21243388e4 8211451: ~2.5% regression on compression benchmark starting with 12-b11
Reviewed-by: kvn, thartmann
2018-11-08 10:20:04 +01:00
Chris Yin
6dff87a9b3 8210695: Create test to cover JDK-8205330 InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: vtewari, dfuchs, chegar
2018-09-17 13:49:55 +08:00
Vyom Tewari
e1ad913936 8205330: InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: chegar, dfuchs
2018-09-11 17:48:24 +05:30
Jerry Zhou
7daec7611a Added tag jdk-11.0.2+5 for changeset ff1f7723c4e8 2018-11-28 05:22:57 +00:00
Sean Coffey
266d3abf72 8214295: Populate handlers while holding streamHandlerLock
Reviewed-by: chegar
2018-11-27 11:09:53 +00:00
Sean Coffey
9bf04626d4 8213942: URLStreamHandler initialization race
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
Roland Westrelin
6bdfa1ffd2 8209544: AES encrypt performance regression in jdk11b11
Reviewed-by: kvn, vlivanov
2018-09-06 16:27:07 +02:00
Martin Balao
02274ae39f 8213154: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: andrew
2018-11-08 18:10:15 -03:00
Mikael Vidstedt
ceaa01b050 8210912: Build error in src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c after JDK-8029661
Reviewed-by: mullan
2018-09-19 09:24:40 -07:00
Martin Balao
a1a6db9ebf 8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider.

Reviewed-by: valeriep
2018-09-12 13:09:51 +02:00
Xue-Lei Andrew Fan
9179c081dd 8209965: The "supported_groups" extension in ServerHellos
Reviewed-by: ascarpino
2018-08-27 09:46:24 -07:00
Rajan Halade
0bd9d37ca8 8207059: Update test certificates in QuoVadisCA.java test
Reviewed-by: mullan, mbaesken
2018-10-31 13:58:15 -07:00
Ramanand Patil
68fb6e95a5 8213085: (tz) Upgrade time-zone data to tzdata2018g
Reviewed-by: martin, naoto
2018-11-01 12:43:21 -04:00
Jerry Zhou
3d036b90db Added tag jdk-11.0.2+4 for changeset 0db90dec8c39 2018-11-14 07:35:57 +00:00
Sean Mullan
eccb56da8f 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
Leo Jiang
1217d69441 8213367: JDK 11.0.2 l10n resource file update
Reviewed-by: coffeys
2018-11-07 18:45:43 -08:00
Jerry Zhou
b55b988e64 8213763: Need change jdk 11.0.2 milestone to fcs
Reviewed-by: erikj, tbell
2018-11-13 02:35:06 +00:00
Jerry Zhou
7904260aa8 Added tag jdk-11.0.2+3 for changeset 8a8606a3bdf2 2018-11-07 09:29:14 +00:00
Jerry Zhou
9e1d019a35 Added tag jdk-11.0.2+2 for changeset b4b16f510f48 2018-10-31 02:13:49 +00:00
Rob McKenna
1d096f0881 Merge 2018-10-29 05:55:32 -07:00
Jerry Zhou
ad57683a0d 8212645: Need change jdk 11.0.2 milestone to ea
Reviewed-by: erikj, tbell
2018-10-23 04:19:01 +00:00
Rob McKenna
a7cbc3d804 Merge 2018-10-22 08:58:03 -07:00
Jerry Zhou
d16d19b922 Added tag jdk-11.0.2+1 for changeset 2be95a1bf508 2018-10-18 05:40:14 +00:00
Rob McKenna
689d90b159 8212613: Bump update version for jdk11.0.2 cpu forest
Reviewed-by: coffeys
2018-10-17 09:30:08 -07:00
Magnus Ihse Bursie
f4a329efb8 8199552: Update to build scripts
Reviewed-by: jwilhelm
2018-09-13 01:49:48 +02:00
Rob McKenna
c9be3ef73a Merge 2018-10-15 08:54:47 -07:00
Rob McKenna
4349e798b9 Merge 2018-10-15 08:47:11 -07:00
Ivan Gerasimov
186735b3cf 8210870: Libsunmscapi improved interactions
Reviewed-by: valeriep, mschoene, rhalade
2018-10-08 23:05:34 -07:00
Phil Race
ad2574f9c3 8210866: Improve JPEG processing
Reviewed-by: serb, psadhukhan, rhalade
2018-10-08 13:11:20 -07:00
Phil Race
49a333bac9 8210606: Improved data set handling
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2018-10-05 11:35:56 -07:00
Ivan Gerasimov
d2ea769228 8209094: Improve web server connections
Reviewed-by: chegar, dfuchs, mschoene, igerasim
2018-10-05 18:25:37 -07:00
Ivan Gerasimov
6e811ae27d 8210610: Improved LSA authentication
Reviewed-by: valeriep, mschoene, rhalade
2018-10-05 18:19:19 -07:00
Brent Christian
41432bbe0e 8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
Reviewed-by: alanb, mchung
2018-10-05 15:05:45 -07:00
Prasadrao Koppula
15882192a9 Merge 2018-10-03 13:58:18 +05:30
Ivan Gerasimov
977f66273e 8200659: Improve BigDecimal support
Reviewed-by: darcy, rhalade, mschoene
2018-10-02 21:43:30 -07:00
Prasadrao Koppula
fccd9937a6 8211107: LDAPS communication failure with jdk 1.8.0_181
Reviewed-by: chegar, coffeys, vtewari
2018-10-02 21:38:54 +05:30
Ivan Gerasimov
f185a12a60 8206290: Better FileChannel transfer performance
Reviewed-by: alanb, rhalade, mschoene
2018-09-28 18:05:47 -07:00
Sergey Bylokhov
583a0c0742 8210598: Strengthen Windows Access Bridge Support
Reviewed-by: prr, psadhukhan, rhalade, mschoene
2018-09-27 12:54:50 -07:00
Jamil Nimeh
ba9a371a32 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
Jamil Nimeh
02b0467a88 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
Rob McKenna
612da0d83c Merge 2018-09-17 23:25:20 -07:00
Coleen Phillimore
332a672e9c 8210094: Better loading of classloader classes
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-11 14:38:37 -04:00
Xueming Shen
ee90345bd6 8210345: The Japanese message of FileNotFoundException garbled
Reviewed-by: alanb
2018-09-07 10:17:49 -07:00
Rajan Halade
6b4ee1dff3 8210432: Add additional TeliaSonera root certificate
Reviewed-by: mullan
2018-09-09 08:12:46 +05:30
Rob McKenna
092540aa3f Merge 2018-09-04 08:57:58 -07:00
Rob McKenna
25a6bef741 Merge 2018-08-28 04:47:13 -07:00
Prasadrao Koppula
341489614d Merge 2018-08-23 13:20:25 +05:30
Jamil Nimeh
e5b72116fa 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
David Holmes
fa9422a5b7 8205714: Initial class initialization
Reviewed-by: acorn, coleenp, kvn, vlivanov
2018-08-20 18:54:40 -04:00
Rob McKenna
9c75de2097 Merge 2018-08-20 08:37:26 -07:00
Rob McKenna
6f005862bb Merge 2018-08-20 07:21:27 -07:00
Prasanta Sadhukhan
d77ee5d07c 8205356: Choose printer defaults
Reviewed-by: prr, mschoene, rhalade
2018-08-20 11:35:48 +05:30
Sergey Bylokhov
78d32e1893 8204895: Better icon support
Reviewed-by: prr, mschoene, aghaisas, rhalade
2018-08-16 10:22:25 -07:00
Sergey Bylokhov
b18948830c 8203955: Improve robot support
Reviewed-by: prr, psadhukhan, rhalade, skoivu
2018-08-21 14:53:18 -07:00
Coleen Phillimore
9648858d1a 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
InstanceKlass::implementors() needs the Compile_lock

Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Igor Ignatyev
d6054069e6 8215128: Test library OSInfo.getSolarisVersion cannot determine Solaris version
Reviewed-by: chegar
2018-12-13 14:07:44 -08:00
Steve Groeger
910ecd2552 8211844: [aix] ProcessBuilder: Piping between created processes does not work
Reviewed-by: cjplummer, simonis, goetz
2018-12-07 14:35:57 +01:00
Paul Hohensee
d147f1198d 8206075: On x86, assert on unbound assembler Labels used as branch targets
8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
8209511: C2 asserts with UseSSE < 4 and AVX enabled: "Label was never bound to a location, but it was used as a jmp target'

Combine unbound Label assertion checking backports

Reviewed-by: robm
2018-12-12 06:17:33 -08:00
Matthias Baesken
cb70913b8b 8211106: [windows] Update OS detection code to recognize Windows Server 2019
Reviewed-by: alanb, clanger, bobv
2018-10-02 13:48:08 +02:00
Simon Tooke
5ac502c713 8214059: Undefined behaviour in ADLC
Reviewed-by: shade, kbarrett
2018-11-26 09:36:30 +01:00
Jayathirth D V
517d2a16b3 8212116: IIOException "tEXt chunk length is not proper" on opening png file
Reviewed-by: serb
2018-11-14 01:29:34 +05:30
Paul Hohensee
4d64b3ead9 8208647: switch jtreg to 4.2b13
Increment build number to b13 and replace '?' with String in GatherDiagnosticInfoObserver:startingTestRun

Reviewed-by: robm
2018-12-07 08:14:09 -08:00
Per Lidén
1fee25028c 8214476: ZGC: Build ZGC by default
Reviewed-by: shade, rkennke, ihse
2018-12-03 14:52:49 +01:00
Aleksey Shipilev
c38009ee92 8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
Reviewed-by: mikael, thartmann
2018-11-19 11:51:27 +01:00
Aleksey Shipilev
f96d0a6d84 8211926: Catastrophic size_t underflow in BitMap::*_large methods
Reviewed-by: kbarrett, stuefe
2018-11-10 20:47:28 +01:00
Aleksey Shipilev
3527d076bb 8211268: Disable unsupported GCs for Zero
Reviewed-by: sgehwolf, erikj
2018-09-28 18:28:49 +02:00
Thomas Stuefe
039b446e05 8213834: JVMTI ResourceExhausted should not be posted in CompilerThread
Reviewed-by: dholmes, dcubed, jcbeyler, sspitsyn
2018-11-27 07:54:06 +01:00
Aleksey Shipilev
7325cb2547 8213992: Rename and make DieOnSafepointTimeout the diagnostic option
Reviewed-by: dholmes, dcubed, coleenp, kvn
2018-11-20 22:59:27 +01:00
Severin Gehwolf
5753717653 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.

Reviewed-by: coleenp, lfoltan
2018-11-07 13:54:22 -05:00
Boris Ulasevich
ad21e3f950 8213410: UseCompressedOops requirement check fails fails on 32-bit system
Reviewed-by: dholmes
2018-11-16 19:29:20 +03:00
Lutz Schmidt
3fc73cb9f4 8209433: [s390] Fix build, broken by 8208672 (Enable -Wreorder)
Reviewed-by: tschatzl, shade
2018-08-14 14:28:23 +02:00
Gunter Haug
cc4d6bfc12 8209357: [PPC64] Fix build which was broken by 8208672 (Enable -Wreorder)
Reviewed-by: mbaesken, tschatzl
2018-08-13 12:24:25 +02:00
Chris Hegarty
9783c9d4e3 8199156: Better route routing
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 15:02:30 +01:00
Chris Hegarty
82effe1790 8199161: Better interface enumeration
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:49:43 +01:00
Chris Hegarty
5a01a6d8e9 8199166: Better interface lists
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:35:44 +01:00
Rob McKenna
8310442f7a Merge 2018-08-13 06:09:53 -07:00
Rob McKenna
df00e8949c Merge 2018-08-09 10:15:49 -07:00
Ivan Gerasimov
fad15310f2 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-07 21:12:02 -07:00
Leo Jiang
a2fcf4966e 8208661: JDK 11.0.1 l10n resource file update
Reviewed-by: coffeys
2018-08-07 06:54:37 -07:00
Rob McKenna
be8cb165b5 Merge 2018-08-03 07:14:25 -07:00
Adam Petcher
79ad9ee3c6 8208209: Improve TLS connection stability again
Reviewed-by: xuelei
2018-07-30 14:45:22 -04:00
Rob McKenna
dd460e909b Merge 2018-07-27 06:54:50 -07:00
Ivan Gerasimov
5963019816 8206301: Improve NIO stability
Reviewed-by: alanb, mschoene, rhalade
2018-07-25 21:10:44 -07:00
Daniil Titov
96ad12949a 8205709: Proper allocation handling
Reviewed-by: sspitsyn
2018-07-25 11:11:11 -07:00
Jamil Nimeh
c811120ee0 8206295: More reliable p11 transactions
Reviewed-by: valeriep, mschoene, rhalade
2018-07-23 11:01:23 -07:00
Matthias Baesken
4af71255c1 8207395: jar has issues with UNC-path arguments for the jar -C parameter [windows]
Reviewed-by: goetz, sherman
2018-07-19 11:04:46 +02:00
Goetz Lindenmaier
07dd61439b 8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit
Reviewed-by: dholmes, mdoerr
2018-11-12 16:40:25 +01:00
Rajan Halade
3a8f81213c 8207059: Update test certificates in QuoVadisCA.java test
Reviewed-by: mullan, mbaesken
2018-10-31 13:58:15 -07:00
Martin Doerr
89005b0464 8213086: Compiler thread creation should be bounded by available space in memory and Code Cache
Reviewed-by: kvn, thartmann
2018-10-31 14:48:36 +01:00
Ioi Lam
0839b3033d 8210040: TestOptionsWithRanges.java is very slow
Added -Xmx1024m -XX:-ZapUnusedHeapArea; split into 10 smaller tests

Reviewed-by: kvn, coleenp
2018-08-28 16:01:12 -07:00
Thomas Schatzl
dcf9f4f63a 8205633: TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently
Exclude maximum range value from testing.

Reviewed-by: sangheki, kbarrett
2018-08-13 12:24:25 +02:00
Ioi Lam
ee13073a87 8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap
Removed the assert

Reviewed-by: ccheung, jiangli
2018-08-28 16:01:01 -07:00
Goetz Lindenmaier
8638befaf1 8211931: [ppc][testbug] runtime/jni/terminatedThread/TestTerminatedThread.java fails as threads don't terminate immediately
Reviewed-by: dholmes, mdoerr
2018-10-12 08:33:18 +02:00
Volker Simonis
c203104e18 8213151: [AIX] Some class library files are missing the Classpath exception
Reviewed-by: stuefe, rriggs, mbaesken
2018-10-31 16:02:43 +01:00
Dean Long
e8433f9c72 8021335: Missing synchronization when reading counters for live threads and peak thread count
Reviewed-by: dholmes, mchung
2018-10-25 18:41:26 -07:00
Weijun Wang
2bd9a8d404 8205507: jdk/javax/xml/crypto/dsig/GenerationTests.java timed out
Reviewed-by: mullan
2018-11-06 14:15:29 +00:00
Ramanand Patil
7fd4049f8f 8213085: (tz) Upgrade time-zone data to tzdata2018g
Reviewed-by: martin, naoto
2018-11-01 12:43:21 -04:00
Sean Mullan
3a081c984f 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
Valerie Peng
b498eb213b 8179098: Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)
Do bounds check per encryption/decryption call instead of per block

Reviewed-by: ascarpino, redestad
2018-07-13 02:36:42 +00:00
Harold Seigel
98fbaadd59 8215398: -Xlog option usage => Invalid decorator '\temp\app_cds.log'
On Windows, do not treat ':' as a delimeter when it's in a string such as "C:..."

Reviewed-by: dholmes, sspitsyn
2019-01-02 10:35:33 -05:00
Igor Ignatyev
f52ecb70ea 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2018-08-01 10:04:08 -07:00
Liam Miller-Cushon
9633a3426d 8210483: AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
Reviewed-by: mcimadamore, vromero
2018-09-10 16:59:41 -07:00
Rahul Raghavan
f23abfddde 8211698: Crash in C2 compiled code during execution of double array heavy processing code
Correctly registered new Opaque4Node in add_range_check_predicate

Reviewed-by: roland, thartmann
2018-12-18 19:13:54 +05:30
Jan Lahoda
925892bf8b 8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
Do not keep speculative Symbols in DeferredCompletionFailureHandler.

Reviewed-by: jjg, vromero
2018-11-12 09:35:23 +00:00
Aleksey Shipilev
a69a3505f3 8209573: [TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure
Reviewed-by: kvn, pliden
2018-08-20 10:04:00 +02:00
Roland Westrelin
aef9a5ba5d 8205574: Loop predication "assert(f <= 1 && f >= 0) failed Incorrect frequency"
Reviewed-by: kvn
2018-11-09 10:52:15 +01:00
Christoph Langer
55cd47f867 8219710: Bump update version for OpenJDK: jdk11.0.4
Reviewed-by: goetz
2019-02-27 12:52:15 +01:00
Christoph Langer
b90b514c2d Added tag jdk-11.0.4+0 for changeset cd1c042181e9 2019-02-27 12:46:29 +01:00
Severin Gehwolf
ac8560494b 8207057: No debug info for assembler files
Generate debug info for assembler files as needed.

Reviewed-by: erikj
2018-07-12 16:28:31 +02:00
Leo Jiang
b99af2bd16 8210153: localized currency symbol of VES
Reviewed-by: naoto
2018-08-29 19:14:08 -07:00
Leo Jiang
f15d08ae3d 8208746: ISO 4217 Amendment #168 update
8209775: ISO 4217 Amendment #169 update

Reviewed-by: naoto
2018-08-28 20:05:41 -07:00
Vladimir Kozlov
3a3f0b8fef 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
David Holmes
07032fe762 8211065: Private method check in linkResolver is incorrect
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
Sean Coffey
fa4f5c07bf Merge 2018-10-11 20:03:07 +01:00
Severin Gehwolf
2d64e99c24 8210703: vmStructs.cpp compiled with -O0
Reviewed-by: erikj, ihse
2018-09-13 11:07:40 +02:00
Andrew Haley
3f0e71c182 8211387: [Zero] atomic_copy64: Use ldrexd for atomic reads on ARMv7
Reviewed-by: dholmes, aph
2018-10-02 17:17:43 +02:00
Severin Gehwolf
5339092223 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Be sure to use the same register index in native and Java code.

Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
Severin Gehwolf
462b0953e9 8210761: libjsig is being compiled without optimization
Reviewed-by: erikj, ihse
2018-09-21 16:58:36 +02:00
Jini George
23eda1a4d9 8210836: Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Read in and process the return value of pread() while dealing with the PT_INTERP segment

Reviewed-by: stuefe, jcbeyler
2018-09-18 23:20:17 +05:30
Severin Gehwolf
f94f4e4b2e 8210647: libsaproc is being compiled without optimization
Compile with high optimization instead of none.

Reviewed-by: erikj, jgeorge, sballal
2018-09-14 14:47:50 +02:00
Matthias Baesken
12fd7c2895 8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2018-09-27 17:13:07 +02:00
Ralf Schmelter
91b704898f 8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning
Reviewed-by: shade, simonis
2018-09-05 12:48:51 +02:00
Gunter Haug
8c4eb29eed 8209996: [PPC64] Fix JFR profiling
Reviewed-by: mdoerr, simonis
2018-08-28 14:55:06 +02:00
Matthias Baesken
257c07321e 8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug]
Reviewed-by: goetz, psadhukhan
2018-07-24 09:27:42 +02:00
Martin Doerr
9c178dac66 8210497: [PPC64] Vector registers not saved across safepoint
Reviewed-by: goetz, lucy
2018-09-12 12:54:16 +02:00
Andrew Leonard
98b5e5f523 8209786: JDK12 fails to build on s390x with gcc 7.3
Reviewed-by: ihse, goetz
2018-09-07 11:24:59 +02:00
Andrew Dinn
37ab55a842 8211105: AArch64: Disable cos/sin and log intrinsics in jdk11u pending fix
AArch64 cos/sin and log intrinsics are currently broken so should be disabled

Reviewed-by: aph, shade
2018-09-26 17:01:49 +01:00
Goetz Lindenmaier
dee2271fd1 8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
Jamil Nimeh
5b12c0e944 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
Jamil Nimeh
e3fd4595bb 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
Chris Hegarty
1cadcd04e0 8196902: Better HTTP Redirection
Reviewed-by: dfuchs
2018-07-10 08:20:13 +01:00
Rob McKenna
3fc4e0d6eb Merge 2018-07-20 08:28:39 -07:00
Rob McKenna
68011884ec Merge 2018-07-17 09:29:21 -07:00
Jerry Zhou
fefb969cdd Added tag jdk-11.0.1+1 for changeset 1353ec839c82 2018-07-10 03:11:53 -07:00
Chris Hegarty
c4601cd75c 8196902: Better HTTP Redirection
Reviewed-by: dfuchs
2018-07-10 08:20:13 +01:00
Rob McKenna
522de631e1 Merge 2018-07-20 08:29:12 -07:00
Rob McKenna
2772c933c6 8207810: Remove jdk-11.0.1+2 tag from source repository
Reviewed-by: aefimov
2018-07-18 15:50:48 -07:00
Jerry Zhou
9d4fce3bf3 Added tag jdk-11.0.1+2 for changeset a285bd7cfedb 2018-07-17 23:15:30 -07:00
Rob McKenna
0444b6a945 Merge 2018-07-17 07:22:30 -07:00
Aleksei Efimov
2eb014b48c Added tag jdk-11.0.2+0 for changeset 7da060835810 2018-07-11 16:21:50 +01:00
Erik Joelsson
0ec4029c81 8206884: Bump update version for jdk11.0.1 cpu forest
Reviewed-by: tbell
2018-07-09 14:37:28 -07:00
Xueming Shen
26d644989a 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
Mandy Chung
491ad0c4f7 8210502: jdeps does not handle properly on analyzing a mixture of MR JARs and non-MR JARs
Reviewed-by: alanb
2018-09-10 12:48:57 -07:00
Iris Clark
29e741113f 8210775: JVM TI Spec missing copyright
Reviewed-by: dholmes, mchung, sspitsyn
2018-10-11 17:54:14 +01:00
Henry Jen
7d10c5bc0a Merge 2018-07-06 11:43:53 -07:00
Henry Jen
bbc1638ce1 8206473: Revert changes of JDK-8202613 in jdk-cpu and jdk11u-cpu
Reviewed-by: xuelei
2018-07-06 09:15:34 -07:00
Sibabrata Sahoo
2981a7161b 8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
Test failure due to unsupported DSA keys

Reviewed-by: dfuchs, xuelei
2018-07-04 03:44:32 -07:00
Zhengyu Gu
9989cf5446 8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, minqi
2019-11-26 09:27:16 -05:00
Dean Long
15fa1e21aa 8187078: -XX:+VerifyOops finds numerous problems when running JPRT
Reviewed-by: kvn
2018-09-05 13:10:40 -07:00
Jamil Nimeh
c654791013 8224997: ChaCha20-Poly1305 TLS cipher suite decryption throws ShortBufferException
Reviewed-by: xuelei
2019-08-17 06:20:49 -07:00
Sergey Bylokhov
a45b73b739 8221445: FastSysexMessage constructor crashes MIDI receiption thread
Reviewed-by: prr
2019-04-09 13:57:58 -07:00
Michael McMahon
a79ed6c2bd 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:57:10 +00:00
Ambarish Rapte
9101bc4a47 8198001: java/awt/Menu/WrongParentAfterRemoveMenu/WrongParentAfterRemoveMenu.java debug assert on Windows
Reviewed-by: prr, serb
2018-11-02 23:05:47 +05:30
Ambarish Rapte
660d40ab5c 8198000: java/awt/List/EmptyListEventTest/EmptyListEventTest.java debug assert on Windows
Reviewed-by: prr, serb
2018-11-09 12:08:05 +05:30
Sergey Bylokhov
beaa7da14d 6933331: (d3d/ogl) java.lang.IllegalStateException: Buffers have not been created
Reviewed-by: prr
2019-05-18 23:35:40 -07:00
Robin Westberg
a8d1d9022b 8218807: Compilation database (compile_commands.json) may contain obsolete items
Reviewed-by: ihse, erikj
2019-02-12 08:40:43 +01:00
Robin Westberg
042c35ca02 8210459: Add support for generating compile_commands.json
Reviewed-by: erikj, ihse
2018-10-05 07:54:28 +02:00
Goetz Lindenmaier
6c6c219cbd 8239792: Bump update version for OpenJDK: jdk-11.0.8
Reviewed-by: shade
2020-02-21 16:29:38 +01:00
Goetz Lindenmaier
618b80b9da Added tag jdk-11.0.8+0 for changeset 571c180c5106 2020-02-26 09:35:50 +01:00
Brian Burkhalter
0976632232 8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
Clear handler instance variable after use

Reviewed-by: rriggs, alanb
2018-07-03 15:02:46 -07:00
Erik Österlund
3f6c74fbc4 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-07-09 16:39:41 +02:00
Erik Österlund
6a1c0b0842 8212992: Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
Reviewed-by: coleenp, pliden
2018-11-20 10:08:19 +01:00
Erik Österlund
6851c8d89b 8210063: ZGC: Enable load barriers for IN_NATIVE runtime barriers
Reviewed-by: pliden
2018-08-30 09:12:07 +02:00
Erik Österlund
df20056091 8227277: HeapInspection::find_instances_at_safepoint walks dead objects
Reviewed-by: dholmes, kbarrett, tschatzl, coleenp
2019-07-09 16:39:37 +02:00
Claes Redestad
91914435ad 8220682: Heap dumping and inspection fails with JDK-8214712
Reviewed-by: jcbeyler, jiangli, sspitsyn
2019-03-26 10:23:11 +01:00
Markus Grönlund
6b02e96eaf 8227011: Starting a JFR recording in response to JVMTI VMInit and / or Java agent premain corrupts memory
Reviewed-by: egahlin, rwestberg
2019-07-02 17:46:38 +02:00
Daniel D. Daugherty
e221522f10 8227117: normal interpreter table is not restored after single stepping with TLH
Reviewed-by: sspitsyn, eosterlund, dholmes, coleenp
2019-07-08 11:38:49 -04:00
Coleen Phillimore
266f9538d5 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Add case for JVM_CONSTANT_Dynamic in error_message function.

Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Ivan Gerasimov
022a8dbe8f 8226543: Reduce GC pressure during message digest calculations in password-based encryption
Reviewed-by: mullan
2019-06-25 17:27:31 -07:00
Jan Lahoda
dfbb454e07 8208269: Javadoc does not support module-info in a multi-release jar
Ensuring correct version is set when reading multi-release jars.

Reviewed-by: jjg
2018-08-16 15:00:23 +02:00
Roland Westrelin
453125603e 8209684: Intrinsics that assume some input non null should use GraphKit::must_be_not_null()
Reviewed-by: kvn, thartmann
2018-08-22 10:09:06 +02:00
Zhengyu Gu
ed98aff23d 8218566: NMT: missing memory tag for assert poison page
Reviewed-by: shade, stuefe
2019-02-06 13:30:27 -05:00
Zhengyu Gu
63586b45d3 8218558: NMT stack traces in output should show mt component for virtual memory allocations
Reviewed-by: shade, stuefe, coleenp
2019-02-07 14:29:17 -05:00
Coleen Phillimore
189b484c4f 8206309: Tier1 SA tests fail
Remove tests that should have been removed with JDK-8205534

Reviewed-by: hseigel
2018-07-03 15:40:08 -04:00
Coleen Phillimore
37adb164a7 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2018-07-03 13:41:18 -04:00
Nick Gasson
d5f3eb10e2 8244164: AArch64: jaotc generates incorrect code for compressed OOPs with non-zero heap base
Reviewed-by: aph
2020-05-11 12:05:55 +08:00
Goetz Lindenmaier
e9a70dd058 Merge 2020-05-27 09:50:24 +02:00
Goetz Lindenmaier
aa3a76efd1 8245616: Bump update version for OpenJDK: jdk-11.0.9
Reviewed-by: clanger
2020-05-22 10:01:00 +02:00
Goetz Lindenmaier
99cb8eca87 Added tag jdk-11.0.9+0 for changeset 90ce1674f838 2020-05-27 09:41:04 +02:00
Aleksey Shipilev
290cbf36b5 8241750: x86_32 build failure after JDK-8227269
Reviewed-by: rkennke, cjplummer
2020-03-27 19:05:07 +01:00
Roman Kennke
0d3c1b4bf3 8227269: Slow class loading when running with JDWP
Reviewed-by: sspitsyn, cjplummer
2020-01-22 15:55:02 +01:00
Krishna Addepalli
b0aa15b85b 8194546: Choosier FileManagers
Reviewed-by: serb, prr, rhalade, skoivu
2018-06-29 10:28:05 +05:30
Henry Jen
8834452005 Merge 2018-06-26 13:50:05 -07:00
Stuart Marks
79312ec17e 8205491: adjust reflective access checks
Reviewed-by: alanb, mchung, igerasim, rhalade, ahgross
2018-06-22 17:08:00 -07:00
Ivan Gerasimov
753d040785 8204667: Resources not freed on exception
Reviewed-by: skoivu, chegar
2018-06-20 18:02:22 -07:00
Henry Jen
d096187121 Merge 2018-06-18 22:08:06 -07:00
Joe Wang
1358a2751f 8204497: Better formatting of decimals
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2018-06-15 14:19:51 -07:00
Valerie Peng
652376d5b3 8203654: Improve cypher state updates
Reviewed-by: ascarpino
2018-06-14 23:47:05 +00:00
Henry Jen
e14a40d164 Merge 2018-06-11 16:30:22 -07:00
Vyom Tewari
cafbdc6174 8199177: Enhance JNDI lookups
Reviewed-by: michaelm, robm, skoivu, rhalade, chegar, rriggs, ahgross
2018-06-08 15:56:23 +05:30
Vyom Tewari
40ea8e5cb4 8200666: Improve LDAP support
Reviewed-by: rpatil, skoivu, rhalade, chegar, rriggs, mullan
2018-06-07 18:21:29 +05:30
Henry Jen
d391f7c63d Merge 2018-06-05 15:57:54 -07:00
Adam Petcher
01487e8643 8202613: Improve TLS connections stability
Reviewed-by: xuelei, wetmore
2018-06-01 13:02:31 -04:00
Stuart Marks
1719aeb5d2 8197925: Better stack walking
Reviewed-by: alanb, skoivu, rriggs, igerasim, rhalade, darcy
2018-05-31 11:31:20 -07:00
Henry Jen
e44f85ab5d Merge 2018-05-29 16:38:31 -07:00
Brent Christian
80c8967c03 8195874: Improve jar specification adherence
Also reviewed by Chris Ries <chris.ries@oracle.com>

Reviewed-by: alanb, mchung, rriggs
2018-05-29 10:27:45 -07:00
Henry Jen
876915c6a1 Merge 2018-05-21 15:59:37 -07:00
Athijegannathan Sundararajan
4d127a6a46 8202936: Improve script engine support
Reviewed-by: jlaskey, ahgross, rhalade
2018-05-18 13:34:42 +05:30
Henry Jen
e67726a839 Merge 2018-05-15 13:28:27 -07:00
Harold Seigel
be9e8a5340 8199226: Improve field accesses
Reviewed-by: acorn, ahgross, rhalade
2018-05-14 09:05:20 -04:00
Henry Jen
06668fe36f Merge 2018-05-08 21:18:38 -07:00
Henry Jen
1a89bb119d Merge 2018-05-08 19:30:57 -07:00
Henry Jen
bd79a86b01 Merge 2018-04-30 21:11:51 -07:00
Henry Jen
b2cdea89f5 Merge 2018-04-23 21:05:55 -07:00
Phil Race
9949620e45 8200648: Make midi code more sound
Reviewed-by: serb, mschoene, rhalade
2018-04-23 16:15:26 -07:00
Adam Petcher
29ab806ba6 8201756: Improve cipher inputs
Clarify spec of CipherInputStream in Javadoc comments

Reviewed-by: ascarpino
2018-04-23 12:01:46 -04:00
Weijun Wang
c1d9c2e3b2 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
Henry Jen
b436cdd69c Merge 2018-04-16 13:31:19 -07:00
Adam Petcher
1de01cb219 8200332: Improve GCM counting
Reviewed-by: ascarpino
2018-04-09 14:10:56 -04:00
Xueming Shen
fd5e84d8e6 8199172: Improve jar attribute checks
Reviewed-by: psandoz, alanb
2018-04-04 13:55:30 -07:00
Henry Jen
5ad959f728 Merge 2018-04-03 23:17:10 -07:00
Vyom Tewari
af0a5af68c 8199110: Address Internet Addresses
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-03-30 08:37:31 +05:30
Xueming Shen
5ed03602e6 8197881: Better StringBuilder support
Reviewed-by: rriggs
2018-03-28 08:42:45 -07:00
Henry Jen
4b39e7d090 Merge 2018-03-26 11:22:25 -07:00
Henry Jen
a39af74e4d Merge 2018-03-19 11:37:57 -07:00
Xueming Shen
53e7770fd1 8199547: Exception to Pattern Syntax
Reviewed-by: rriggs
2018-03-15 16:04:30 -07:00
Henry Jen
7fa51274b9 Merge 2018-03-12 10:31:36 -07:00
Weijun Wang
821b7ac2b5 8196897: Improve PRNG support
Reviewed-by: valeriep, mullan, igerasim
2018-03-08 14:04:39 +08:00
Henry Jen
4e78cdbda6 Merge 2018-02-26 13:07:21 -08:00
Henry Jen
7918702d81 Merge 2018-02-21 19:12:34 -08:00
Amit Sapre
1039ff757d 8189985: Improve tabular data portability
Reviewed-by: dfuchs, mchung, skoivu
2018-02-14 15:36:59 +05:30
Henry Jen
330ed9959b Merge 2018-02-12 14:13:49 -08:00
Adam Petcher
6578fdad34 8197443: ArrayIndexOutOfBoundsException in UcryptoException.getError
Reviewed-by: mullan
2018-02-12 11:38:35 -05:00
Henry Jen
abad9ccee2 Merge 2018-02-05 18:01:15 -08:00
Henry Jen
afdeae0362 Merge 2018-02-05 14:22:33 -08:00
Ivan Gerasimov
8f99a3be7a 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
Stuart Marks
979f5b2e7b 8189981: Improve queuing portability
Reviewed-by: skoivu, rhalade, chegar, igerasim
2018-02-02 10:56:12 -08:00
Sergey Bylokhov
b339e2c59e 8191239: Improve desktop file usage
Reviewed-by: prr, rhalade, aghaisas
2018-01-31 18:13:13 -08:00
Igor Ignatyev
16a40e6f7b 8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations
Reviewed-by: kvn
2018-01-30 16:48:53 -08:00
Igor Ignatyev
28baf4e5b1 8145845: [AOT] NullPointerException in compiler/whitebox/GetCodeHeapEntriesTest.java
Reviewed-by: kvn, thartmann
2019-02-12 11:23:43 -08:00
Tejpal Rebari
255b95acd7 8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work
Reviewed-by: jdv, psadhukhan
2019-07-04 12:28:34 +05:30
Severin Gehwolf
3a3dd40057 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Account for serialized null scopes in NMethod

Reviewed-by: aph, never
2019-09-23 20:26:18 +02:00
Martin Doerr
7ed6864caf 8229236: CriticalJNINatives: dll handling should be done in native thread state
Temporarily switch thread state from _thread_in_vm to _thread_in_native to execute I/O.

Reviewed-by: dlong, dholmes
2019-08-12 10:02:25 +02:00
Christian Hagedorn
fa08f86ee9 8193042: NativeLookup::lookup_critical_entry() should only load shared library once
Avoids repeated loads/unloads of the same shared library.

Reviewed-by: dholmes, dlong, thartmann
2019-07-31 08:05:14 +02:00
Anton Litvinov
0958c504ed 8068184: Fix for JDK-8032832 caused a deadlock
Reviewed-by: dfuchs, chegar
2019-11-21 17:04:27 +00:00
Goetz Lindenmaier
b3677be98f 8234340: Bump update version for OpenJDK: jdk-11.0.7
Reviewed-by: clanger
2019-11-27 11:00:48 +01:00
Goetz Lindenmaier
d1c4b3334c Added tag jdk-11.0.7+0 for changeset b7446ddfa2aa 2019-11-27 10:51:02 +01:00
Henry Jen
a50090c047 Merge 2018-01-30 14:20:53 -08:00
Phil Race
30093a30d3 8196289: Update src/java.desktop/share/legal/lcms.md for LCMS 2.9
Reviewed-by: mchung
2018-01-26 12:01:08 -08:00
Paul Sandoz
92b911a7c0 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Adam Petcher
163e61b805 8193409: Improve AES supporting classes
Reviewed-by: valeriep
2018-01-23 11:18:11 -05:00
Henry Jen
5d366027d5 Merge 2018-01-22 22:34:28 -08:00
Henry Jen
18052b1b57 Merge 2018-01-22 22:32:20 -08:00
Paul Sandoz
c86b339f4f 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
Ivan Gerasimov
8cf5449fd9 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Kim Barrett
8cdeecd144 8192025: Less referential references
Reviewed-by: coleenp, eosterlund, mchung, ahgross, rhalade
2018-01-18 22:17:11 -05:00
Vyom Tewari
3480143685 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
Joe Wang
9f3116100a 8189993: Improve document portability
Reviewed-by: rriggs, lancea, dfuchs, skoivu
2018-01-17 22:24:46 -08:00
Weijun Wang
e6b4cdadc5 8195662: Add T6587786.java to problem list before JDK-8195589 is resolved
Reviewed-by: mullan, jjg
2018-01-18 11:03:30 +08:00
Henry Jen
ae11b1005a Merge 2018-01-17 13:37:04 -08:00
Weijun Wang
7bdb63c235 8189997: Enhance keystore mechanisms
8194259: keytool error: java.io.IOException: Invalid secret key format

Reviewed-by: mullan, valeriep, rriggs, ahgross
2018-01-12 08:06:24 +08:00
Roger Riggs
0ad11db552 8192757: Improve stub classes implementation
Reviewed-by: dfuchs, rhalade, ahgross, skoivu
2018-01-10 16:19:43 -05:00
Henry Jen
be113a79eb Merge 2018-01-08 23:00:45 -08:00
Sergey Bylokhov
703ff0db40 8191696: Better mouse positioning
Reviewed-by: skoivu, rhalade, prr, aghaisas
2018-01-03 09:05:11 -08:00
Adam Petcher
131a9af96d 8182362: Update CipherOutputStream Usage
Clarify spec of CipherOutputStream in Javadoc comments

Reviewed-by: ascarpino
2018-01-02 09:23:01 -05:00
Paul Sandoz
9f32083fd9 8193414: Improvements in MethodType lookups
Reviewed-by: ahgross, jrose
2017-12-12 16:37:39 -08:00
Sean Mullan
f6eb5b3fa4 8186032: Disable XML Signatures signed with EC keys less than 224 bits
Reviewed-by: weijun, rhalade
2017-12-15 10:42:25 -05:00
Weijun Wang
8ce607d540 8189969: Manifest better manifest entries
Reviewed-by: mullan
2017-12-14 08:21:36 +08:00
Sergey Bylokhov
042ea6250a 8192030: Better MTSchema support
Reviewed-by: skoivu, rhalade, prr, aghaisas
2017-12-10 15:29:26 -08:00
Sean Mullan
6a7ab7a4d3 8191358: Restore TSA certificate expiration check
Reviewed-by: coffeys, rhalade
2017-12-08 09:37:28 -05:00
Ivan Gerasimov
6d35589509 8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile
Reviewed-by: mullan, ahgross
2017-12-07 12:25:09 -08:00
Ivan Gerasimov
4a501d5aea 8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain
Reviewed-by: weijun, mullan, ahgross
2017-12-07 11:21:47 -08:00
Phil Race
59af29a2a0 8183032: Upgrade to LittleCMS 2.9
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2017-12-06 14:35:58 -08:00
Weijun Wang
249afa3d2e 8189977: Improve permission portability
Reviewed-by: rriggs
2017-12-06 21:17:19 +08:00
Harold Seigel
d0e2d0d885 8190478: Improved interface method selection
Reviewed-by: acorn, ahgross, jwilhelm, rhalade
2017-12-05 09:59:36 -05:00
Vyom Tewari
35865af26a 8191142: More refactoring for naming deserialization cases
Reviewed-by: chegar, rriggs
2017-11-29 13:56:06 +05:30
Stuart Marks
c9091dafe3 8189284: More refactoring for deserialization cases
Reviewed-by: rriggs, igerasim, rhalade, skoivu
2017-11-27 17:30:49 -08:00
Martin Doerr
b6016a59f3 8191907: PPC64 and s390 parts of JDK-8174962: Better interface invocations
Reviewed-by: goetz
2017-11-28 01:08:26 +03:00
Tobias Hartmann
269168158d 8190877: Better handling of abstract classes
Reviewed-by: kvn, vlivanov, rhalade, ahgross, jwilhelm
2017-11-16 12:03:42 -05:00
Sergey Bylokhov
249af9e46c 8189989: Improve container portability
Reviewed-by: prr, azvegint, rhalade, skoivu
2017-11-15 07:07:16 -08:00
Harold Seigel
b1402be6d5 8189123: More consistent classloading
Reviewed-by: acorn, ahgross, rhalade
2017-11-07 16:07:36 -05:00
Sergey Bylokhov
8da8d21484 8190289: More refactoring for client deserialization cases
Reviewed-by: prr, azvegint, rhalade, skoivu
2017-11-06 10:24:42 -08:00
Weijun Wang
f650e1150e 8190789: sun/security/provider/certpath/LDAPCertStore/TestURICertStoreParameters.java fails after JDK-8186606
Reviewed-by: mullan
2017-11-06 22:09:04 +08:00
Weijun Wang
338baa118e 8186606: Improve LDAP lookup robustness
Reviewed-by: mullan, skoivu, ahgross
2017-11-04 08:56:01 +08:00
Joe Wang
45cc4bb387 8190227: Forward port 8188880 to JDK10CPU
Reviewed-by: dfuchs, lancea, rriggs
2017-10-31 11:35:15 -07:00
Xue-Lei Andrew Fan
5e0c918e7b 8163237: Restrict the use of EXPORT cipher suites
Reviewed-by: mullan, igerasim, rhalade, jnimeh
2017-10-31 00:54:53 +00:00
Adam Petcher
a92a9b0df5 8185292: Stricter key generation
Reviewed-by: mullan
2017-10-24 09:58:27 -04:00
Christoph Langer
0e6af10432 8189861: Refactor CacheFind
Reviewed-by: sgehwolf
2017-10-24 10:41:45 +02:00
Ralf Schmelter
d41818e668 8222264: Windows incremental build is broken with JDK-8217728
Reviewed-by: erikj, clanger
2019-04-10 05:15:50 -07:00
Erik Joelsson
22454c5442 8217728: Speed up incremental rerun of "make hotspot"
Reviewed-by: tbell
2019-04-04 07:43:44 -07:00
Volker Simonis
cb9c27cc90 8210459: Add support for generating compile_commands.json
Reviewed-by: andrew
2018-10-05 07:54:28 +02:00
Erik Joelsson
6e86b96704 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
Reviewed-by: tbell, ysuenaga, andrew
2020-03-31 05:44:36 +01:00
Volker Simonis
3a3d95bf32 8214534: Setting of THIS_FILE in the build is broken
Reviewed-by: erikj, ihse
2018-12-04 09:28:11 +01:00
Yasumasa Suenaga
5e28bf3ed9 8204551: Event descriptions are truncated in logs
Reviewed-by: coleenp, andrew
2019-02-16 11:40:34 +09:00
Erik Joelsson
b2d2b9aba1 8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle cross-compilation
Reviewed-by: ihse, andrew
2019-02-05 09:56:19 -08:00
Erik Joelsson
4524f4de37 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-02-20 14:05:38 -08:00
Ivan Gerasimov
30d08efdd1 8236201: Better Scanner conversions
Reviewed-by: ahgross, rhalade, rriggs, skoivu, smarks, andrew
2020-01-30 01:15:13 -08:00
Xue-Lei Andrew Fan
59e8fa1734 8235691: Enhance TLS connectivity
Reviewed-by: jnimeh, rhalade, ahgross
2019-12-17 12:55:36 -08:00
Aleksei Voitylov
23e4c61295 8235274: Enhance typing of methods
Reviewed-by: andrew
2020-01-29 20:00:14 +03:00
Rob McKenna
e0a9435655 8234841: Enhance buffering of byte buffers
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-03-30 05:13:42 +01:00
Brian Burkhalter
49d8b22a0d 8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
Reviewed-by: alanb, rriggs
2019-03-13 11:12:22 -07:00
Michael McMahon
6db9ebb88b 8234825: Better Headings for HTTP Servers
Reviewed-by: chegar, dfuchs, igerasim
2019-12-16 15:13:19 +00:00
Xue-Lei Andrew Fan
d7d2d478a9 8234408: Improve TLS session handling
Reviewed-by: ascarpino, jjiang, ahgross, ssahoo, mullan, andrew
2019-11-25 09:50:30 -08:00
Weijun Wang
a5481900a0 8234027: Better JCEKS key support
Reviewed-by: ahgross, mullan, rriggs, rhalade
2019-12-11 16:35:43 +08:00
Erik Joelsson
876769dc65 8233410: Better Build Scripting
Reviewed-by: tbell, jwilhelm, andrew
2019-12-12 15:38:36 -08:00
Anton Litvinov
57fd5e1754 8233250: Better X11 rendering
Reviewed-by: prr, rhalade, mschoene, serb
2020-01-16 18:15:59 +00:00
Jamil Nimeh
fe1b38d991 8232581: Improve TLS verification
Reviewed-by: xuelei, rhalade, mschoene
2019-10-30 13:15:21 -07:00
Xue-Lei Andrew Fan
013414a452 8232424: More constrained algorithms
Reviewed-by: jnimeh, rhalade, ahgross
2019-10-28 10:43:58 -07:00
Ivan Gerasimov
4306e1c855 8231785: Improved socket permissions
Reviewed-by: ahgross, chegar, mullan, rhalade
2019-10-23 17:03:07 -07:00
Sean Mullan
c9d0db5d67 8231415: Better signatures in XML
Reviewed-by: weijun, mschoene, rhalade
2019-10-15 08:18:48 -04:00
Andrew Brygin
404b69ec65 8229733: TLS message handling improvements
Includes changes to TransportContext from JDK-8211018

Reviewed-by: andrew
2020-03-30 02:01:16 +01:00
Alex Menkov
07e0ce6f3c 8227542: Manifest improved jar headers
Reviewed-by: sspitsyn, mschoene
2019-11-14 15:06:11 -08:00
Rob McKenna
958682f571 8227467: Better class method invocations
Reviewed-by: thartmann, dholmes, ahgross, andrew
2020-01-22 03:59:33 +00:00
Brian Burkhalter
7296d7b6f8 8225603: Enhancement for big integers
Reviewed-by: darcy, ahgross, rhalade
2019-10-29 14:07:27 -07:00
Stuart Marks
b3ec14e55f 8224549: Less Blocking Array Queues
Reviewed-by: bchristi, rhalade, rriggs, mschoene, robm
2020-01-21 16:53:01 -08:00
Brent Christian
647534389a 8224541: Better mapping of serial ENUMs
Reviewed-by: mschoene, rhalade, robm, rriggs, smarks, andrew
2020-01-21 10:56:30 -08:00
Hannes Wallnöfer
d1348a1f4c 8223904: Improve Nashorn matching
Reviewed-by: jlaskey, sundar, mschoene, rhalade
2019-11-15 19:10:43 +01:00
Hannes Wallnöfer
81afa77c63 8223898: Forward references to Nashorn
Reviewed-by: sundar, mschoene, rhalade
2019-11-06 17:13:21 +01:00
Erik Joelsson
db60ddfbf3 8189861: Refactor CacheFind
Reviewed-by: tbell
2017-10-24 10:41:45 +02:00
Weijun Wang
831ce3cd26 8186600: Improve property negotiations
Reviewed-by: valeriep, ahgross, mullan
2017-10-18 10:43:58 +08:00
Sergey Bylokhov
075c1d5096 8185325: Improve GTK initialization
Reviewed-by: azvegint, rhalade, mschoene
2017-10-02 11:04:01 -07:00
Joe Wang
a650cb0e62 8186080: Transform XML interfaces
Reviewed-by: dfuchs, lancea, rriggs
2017-10-04 10:33:08 -07:00
Ujwal Vangapally
c27e9c11b6 8186998: Improve JMX supportive features
Improve JMX supportive features

Reviewed-by: mchung, dfuchs, rriggs, hb, skoivu, rhalade
2017-09-25 19:44:28 +05:30
Weijun Wang
adf91e8e2b 8178458: Better use of certificates in LDAP
Reviewed-by: vinnie, asmotrak
2017-09-14 07:45:53 +08:00
Vinnie Ryan
f43f7a9777 8181670: Improve implementation of keystores
Reviewed-by: mullan
2017-09-05 15:53:33 +01:00
Vinnie Ryan
5d636b506a 8178449: Improve LDAP logins
Reviewed-by: mullan, asmotrak
2017-09-04 19:33:44 +01:00
Valerie Peng
edb89345ec 8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
2017-08-31 21:44:19 +00:00
Valerie Peng
201ecd476d 8186212: Improve GSS handling
Reviewed-by: weijun, ahgross
2017-08-24 19:18:51 +00:00
Naoto Sato
5e38ddc11e 8182601: Improve usage messages
Reviewed-by: alanb, ahgross, ksrini, mchung
2017-08-08 10:43:07 -07:00
Adam Petcher
2b9ab70dc0 8182387: Improve PKCS usage
Reviewed-by: valeriep
2017-07-28 18:20:43 +00:00
Vyom Tewari
f3f1c8c20e 8182125: Improve reliability of DNS lookups
Reviewed-by: chegar, rriggs, dfuchs
2017-07-23 10:33:13 +05:30
Adam Petcher
ba9e2c55e0 8174756: Extra validation for public keys
Reviewed-by: valeriep
2017-07-04 01:52:53 +00:00
Phil Race
175027bed8 8180877: More deeply colored ICC spaces
Reviewed-by: serb, rhalade, mschoene
2017-06-29 11:53:19 -07:00
James Laskey
30f1e924b5 8180869: Cleaner image file reading handling
Reviewed-by: ahgross, rriggs, rhalade
2017-06-05 12:36:15 -03:00
Sergey Bylokhov
703f347ee8 8180015: Cleaner AWT robot handling
Reviewed-by: prr, mschoene, rhalade
2017-06-01 15:15:26 -07:00
Sergey Bylokhov
7310129200 8179990: Cleaner palette entry handling
Reviewed-by: prr, mschoene, rhalade
2017-05-17 18:22:54 -07:00
Phil Race
2aacf785b4 8180011: Cleaner native graphics device handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:57:10 -07:00
Phil Race
36e583d2b6 8179533: Cleaner print job handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:52:09 -07:00
Adam Petcher
e0cceee495 8172525: Improve key keying case
Reviewed-by: mullan, valeriep, rhalade, ahgross
2017-04-28 10:17:46 -04:00
Prasanta Sadhukhan
8da4947343 8176450: Revise default document styling
Reviewed-by: prr, serb, mschoene
2017-03-23 10:52:00 +05:30
Rachel Protacio
17c42c34ad 8181664: Improve JVM UTF String handling
Reviewed-by: mschoene, coleenp, rhalade, acorn, gtriantafill
2017-06-12 13:58:09 -04:00
Vladimir Ivanov
f258e9a659 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00
Rachel Protacio
1dbfde12af 8180020: Improve SymbolHashMap entry handling
Reviewed-by: mschoene, coleenp, rhalade
2017-05-25 15:39:32 -04:00
Harold Seigel
1ccdc3374a 8175932: Improve host instance supports
Reviewed-by: coleenp, mschoene
2017-03-20 13:05:00 -04:00
Mark Sheppard
da30b2b421 8160104: CORBA communication improvements
Reviewed-by: rriggs, dfuchs
2017-09-03 16:08:13 +01:00
6094 changed files with 371230 additions and 175513 deletions

15
.gitignore vendored Normal file
View File

@@ -0,0 +1,15 @@
/build/
/dist/
/.idea/
nbproject/private/
/webrev
/.src-rev
/.jib/
.DS_Store
.metadata/
.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
**/JTreport/**
**/JTwork/**

108
.hgtags
View File

@@ -502,3 +502,111 @@ ea900a7dc7d77dee30865c60eabd87fc24b1037c jdk-11+24
945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26 945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26
9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27 9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27
76072a077ee1d815152d45d1692c4b36c53c5c49 jdk-11+28 76072a077ee1d815152d45d1692c4b36c53c5c49 jdk-11+28
c01cc45790f871adec30acc90742b521d57a2fff jdk-11.0.1+0
1353ec839c82de926bfacd2c7976b6b652d4afb0 jdk-11.0.1+1
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
0000000000000000000000000000000000000000 jdk-11.0.1+2
fc55f0667af5ea3b21e40a59e2a88b1b82e65e62 jdk-11.0.1+2
781b5d8f2f75ae4dfdafc85630e5dbd31e324ed1 jdk-11.0.1+3
b5b1dd7e6f9d86aedf7141e9279342fae257bd67 jdk-11.0.1+4
d6efeebf554c918bfab50f89939eb11121e18432 jdk-11.0.1+5
db768cfe2141b3eb9ef53d7104002a0532c8c977 jdk-11.0.1+6
88a221c0bad0cee441767106776628550d660a82 jdk-11.0.1+7
c2b23a17d3ff92235aed8e8d04642d7a6eaecf54 jdk-11.0.1+8
adb9933aa8c68e6dec6b441133f3955fe7366206 jdk-11.0.1+9
a86e14193fc8ea98835fd3e2f867447164c7af53 jdk-11.0.1+10
0343f9aacae2d4a9e6df4e61087837166a6a477c jdk-11.0.1+11
c0431cf9c38e5c56eedc680e007a94c4279a8f13 jdk-11.0.1+12
8513ac27b65198d2e6562fb7da6e9c99b9fdcf51 jdk-11.0.1+13
7da060835810b5fbd4a7493ea1c98e9a4338f30d jdk-11.0.2+0
2be95a1bf50877cafba791c2f342953bd4a6412e jdk-11.0.2+1
b4b16f510f48e2dd4bea007b60fddf69af0f6c10 jdk-11.0.2+2
8a8606a3bdf2dbe0698bef375e6a4b47df0efb1a jdk-11.0.2+3
0db90dec8c39bc38058afa11b7fda607ee259d01 jdk-11.0.2+4
ff1f7723c4e88822fd60bcacd55824e1d3da6d36 jdk-11.0.2+5
c6fd7ff3e96f3e6f4913d026a90c6c454a7a35c8 jdk-11.0.2+6
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2+7
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
fe85e2f43a1c893cb410308106b0f31b814aebb8 jdk-11.0.2+8
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2+9
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
0000000000000000000000000000000000000000 jdk-11.0.2-ga
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2-ga
cd1c042181e934a1a91f9ee59a0066f64c8bad7a jdk-11.0.4+0
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
3594cd8691f224cc7f8909c2fb14eaea0e190097 jdk-11.0.5+0
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
7431ec494a2988fa69742812168c3119805a7855 jdk-11.0.6+0
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
b7446ddfa2aae29a7132a576c88fab0c5609c8f2 jdk-11.0.7+0
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
571c180c510648853799883c554f77411129287d jdk-11.0.8+0
17d2e0c27889a00a3df7de9bcea0e8caf0d1771a jdk-11.0.7+6
f56b853d452bd339e3f4360cf4be42cc90f9284c jdk-11.0.7+7
3c570d183ab2afc0b204a8e980be69e7fbe761ef jdk-11.0.7+8
7201cd0c64776aa574d252b03a4c92b25d0a7d7f jdk-11.0.7+9
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7+10
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7-ga
2eb415c82056bdc308d23ee6761f422de46dc5e5 jdk-11.0.8+1
88eaa453331e9aeca979d58509538ebb74831ce4 jdk-11.0.8+2
2c0c9cfe2a4e1340f7db106e2220dbd0d5b86092 jdk-11.0.8+3
aa6c93b4f1acf4166d74d0252b35c53ad71d8540 jdk-11.0.8+4
8df1a601187c0b4cb9e525075bd7b85ee3d72595 jdk-11.0.8+5
90ce1674f8384b0747e5269047a2359cdd9b6bdd jdk-11.0.9+0
e42c6d1a1993c720a4643140190bb1ba6f1bbf9f jdk-11.0.8+6
46d4984bb3c6dd1b0f5135505b77921d23c69841 jdk-11.0.8+7
40b646e9d8fbb2d70992b61e4f4b08ca5652c907 jdk-11.0.8+8
59f8565ee5e224697a9e09ee2c557836733bc579 jdk-11.0.8+9
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8+10
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8-ga
5cc275af8419178813299cc0ed81a2a85dadfdcd jdk-11.0.9+1
3112657edde9491fb83f098f1a8b7e9275bcb2f7 jdk-11.0.9+2
d8a0513b92ee262d4e64c1e13d43e1b3f3e5c5d5 jdk-11.0.9+3
cb299db4a5698b814f6b3ba1f3d73d01f6a0e1f6 jdk-11.0.9+4
55237fa85afb404bc0dc0f4948a6459d8d3e5dac jdk-11.0.9+5
c07e785e36f587b95e151de382844cea3d1a5868 jdk-11.0.9+6

View File

@@ -277,7 +277,7 @@
</tr> </tr>
<tr class="even"> <tr class="even">
<td style="text-align: left;">Windows</td> <td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.5.5</td> <td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.16</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -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> <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> <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>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> <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> <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> <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 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> <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>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> <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> <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><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> <p>Some command line examples:</p>
<ul> <ul>

View File

@@ -293,7 +293,7 @@ issues.
Linux gcc 7.3.0 Linux gcc 7.3.0
macOS Apple Xcode 9.4 (using clang 9.1.0) macOS Apple Xcode 9.4 (using clang 9.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13) Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2017 update 15.5.5 Windows Microsoft Visual Studio 2017 update 15.9.16
### gcc ### gcc
@@ -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 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 external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise, 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 but require the include files and library files to reside in a default
under this directory. In most cases, it works fine. hierarchy under this directory. In most cases, it works fine.
As a fallback, the second version allows you to point to the include directory As a fallback, the second version allows you to point to the include directory
and the lib directory separately. 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 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 on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library, 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 * To install on an apt-based Linux, try running `sudo apt-get install
libfreetype6-dev`. libfreetype6-dev`.
@@ -586,8 +586,8 @@ bash configure [options]
This will create an output directory containing the configuration and setup an This will create an output directory containing the configuration and setup an
area for the build result. This directory typically looks like area for the build result. This directory typically looks like
`build/linux-x64-normal-server-release`, but the actual name depends on your `build/linux-x64-server-release`, but the actual name depends on your specific
specific configuration. (It can also be set directly, see [Using Multiple configuration. (It can also be set directly, see [Using Multiple
Configurations](#using-multiple-configurations)). This directory is referred to Configurations](#using-multiple-configurations)). This directory is referred to
as `$BUILD` in this documentation. 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;} span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;} div.column{display: inline-block; vertical-align: top; width: 50%;}
</style> </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]> <!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]--> <![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style> <style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head> </head>
<body> <body>
<header> <header id="title-block-header">
<h1 class="title">Testing the JDK</h1> <h1 class="title">Testing the JDK</h1>
</header> </header>
<nav id="TOC"> <nav id="TOC">
@@ -32,9 +32,14 @@
</ul></li> </ul></li>
<li><a href="#test-results-and-summary">Test results and summary</a></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="#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="#jtreg-keywords">JTReg keywords</a></li>
<li><a href="#gtest-keywords">Gtest keywords</a></li> <li><a href="#gtest-keywords">Gtest keywords</a></li>
</ul></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> </ul>
</nav> </nav>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2> <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>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>(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> <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> <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>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> <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>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p> <p>Defaults to 4.</p>
<h4 id="test_mode">TEST_MODE</h4> <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 (<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>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> <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> <h4 id="options">OPTIONS</h4>
<p>Additional options to the JTReg test framework.</p> <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> <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> <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> <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> <h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4> <h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p> <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> <h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p> <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> <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> </body>
</html> </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 As far as possible, the names of the keywords have been standardized between
test suites. 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 ### JTReg keywords
#### JOBS #### 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 JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
never more than 12. never more than 12.
#### TIMEOUT #### TIMEOUT_FACTOR
The timeout factor (`-timeoutFactor`). The timeout factor (`-timeoutFactor`).
Defaults to 4. Defaults to 4.
@@ -205,6 +234,24 @@ to disable the limits.
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit). 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 #### OPTIONS
Additional options to the JTReg test framework. Additional options to the JTReg test framework.
@@ -216,6 +263,12 @@ Additional Java options to JTReg (`-javaoption`).
#### VM_OPTIONS #### VM_OPTIONS
Additional VM options to JTReg (`-vmoption`). 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 ### Gtest keywords
#### REPEAT #### REPEAT
@@ -230,6 +283,56 @@ Additional options to the Gtest test framework.
Use `GTEST="OPTIONS=--help"` to see all available Gtest options. 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 # Override some definitions in the global css file that are not optimal for
# this document. # this document.

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk include MakeBase.gmk
PRODUCT_TARGETS := PRODUCT_TARGETS :=
LEGACY_TARGETS :=
TEST_TARGETS := TEST_TARGETS :=
DOCS_TARGETS := DOCS_TARGETS :=
@@ -49,6 +50,7 @@ $(eval $(call IncludeCustomExtension, Bundles-pre.gmk))
# files or directories may contain spaces. # files or directories may contain spaces.
# BASE_DIRS : Base directories for the root dir in the bundle. # BASE_DIRS : Base directories for the root dir in the bundle.
# SUBDIR : Optional name of root dir in bundle. # SUBDIR : Optional name of root dir in bundle.
# OUTPUTDIR : Optionally override output dir
SetupBundleFile = $(NamedParamsMacroTemplate) SetupBundleFile = $(NamedParamsMacroTemplate)
define SetupBundleFileBody define SetupBundleFileBody
@@ -69,8 +71,11 @@ define SetupBundleFileBody
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false) $$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES) $$(call SetIfEmpty, $1_OUTPUTDIR, $$(BUNDLES_OUTPUTDIR))
# If any of the files contain a space in the file name, CacheFind
$$($1_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
$$(call LogWarn, Creating $$($1_BUNDLE_NAME))
# 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 # will have replaced it with ?. Tar does not accept that so need to
# switch it back. # switch it back.
$$(foreach d, $$($1_BASE_DIRS), \ $$(foreach d, $$($1_BASE_DIRS), \
@@ -120,6 +125,13 @@ define SetupBundleFileBody
&& $(TAR) cf - -$(TAR_INCLUDE_PARAM) $$($1_$$d_LIST_FILE) \ && $(TAR) cf - -$(TAR_INCLUDE_PARAM) $$($1_$$d_LIST_FILE) \
$(TAR_IGNORE_EXIT_VALUE) ) \ $(TAR_IGNORE_EXIT_VALUE) ) \
| ( $(CD) $(SUPPORT_OUTPUTDIR)/bundles/$1/$$($1_SUBDIR) && $(TAR) xf - )$$(NEWLINE) ) | ( $(CD) $(SUPPORT_OUTPUTDIR)/bundles/$1/$$($1_SUBDIR) && $(TAR) xf - )$$(NEWLINE) )
# Rename stripped pdb files
ifeq ($(OPENJDK_TARGET_OS)+$(SHIP_DEBUG_SYMBOLS), windows+public)
for f in `$(FIND) $(SUPPORT_OUTPUTDIR)/bundles/$1/$$($1_SUBDIR) -name "*.stripped.pdb"`; do \
$(ECHO) Renaming $$$${f} to $$$${f%stripped.pdb}pdb $(LOG_INFO); \
$(MV) $$$${f} $$$${f%stripped.pdb}pdb; \
done
endif
# Unzip any zipped debuginfo files # Unzip any zipped debuginfo files
ifeq ($$($1_UNZIP_DEBUGINFO), true) ifeq ($$($1_UNZIP_DEBUGINFO), true)
for f in `$(FIND) $(SUPPORT_OUTPUTDIR)/bundles/$1/$$($1_SUBDIR) -name "*.diz"`; do \ for f in `$(FIND) $(SUPPORT_OUTPUTDIR)/bundles/$1/$$($1_SUBDIR) -name "*.diz"`; do \
@@ -136,7 +148,7 @@ define SetupBundleFileBody
endif endif
endif endif
$1 += $(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME) $1 += $$($1_OUTPUTDIR)/$$($1_BUNDLE_NAME)
endef endef
@@ -146,31 +158,76 @@ endef
# correct base directories. # correct base directories.
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release) ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR) JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home
JDK_BUNDLE_SUBDIR := JDK_BUNDLE_SUBDIR :=
JRE_BUNDLE_SUBDIR :=
# In certain situations, the JDK_IMAGE_DIR points to an image without the
# the symbols and demos. If so, the symobls and demos can be found in a
# separate image. These variables allow for overriding from a custom makefile.
JDK_SYMBOLS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_HOMEDIR ?= $(JDK_DEMOS_IMAGE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else else
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR) JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER) JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
ifneq ($(DEBUG_LEVEL), release) ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL) JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif endif
# In certain situations, the JDK_IMAGE_DIR points to an image without the
# the symbols and demos. If so, the symobls and demos can be found in a
# separate image. These variables allow for overriding from a custom makefile.
JDK_SYMBOLS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_HOMEDIR ?= $(JDK_DEMOS_IMAGE_DIR)
endif endif
################################################################################ ################################################################################
ifneq ($(filter product-bundles, $(MAKECMDGOALS)), ) ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
$(eval $(call FillCacheFind, $(IMAGES_OUTPUTDIR)))
SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.pdb %.map SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.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))
ifneq ($(JDK_IMAGE_DIR), $(JDK_SYMBOLS_IMAGE_DIR))
ALL_JDK_SYMBOLS_FILES := $(call ShellFindFiles, $(JDK_SYMBOLS_IMAGE_DIR))
else
ALL_JDK_SYMBOLS_FILES := $(ALL_JDK_FILES)
endif
ifneq ($(JDK_IMAGE_DIR), $(JDK_DEMOS_IMAGE_DIR))
ALL_JDK_DEMOS_FILES := $(call ShellFindFiles, $(JDK_DEMOS_IMAGE_DIR))
else
ALL_JDK_DEMOS_FILES := $(ALL_JDK_FILES)
endif
# Create special filter rules when dealing with unzipped .dSYM directories on # Create special filter rules when dealing with unzipped .dSYM directories on
# macosx # macosx
ifeq ($(OPENJDK_TARGET_OS), macosx) ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false) ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
JDK_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \ JDK_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
$(call containing, .dSYM/, $(patsubst $(JDK_IMAGE_DIR)/%, %, $(ALL_JDK_FILES)))) $(call containing, .dSYM/, $(patsubst $(JDK_IMAGE_DIR)/%, %, \
$(ALL_JDK_SYMBOLS_FILES))))
endif
endif
# Create special filter rules when dealing with debug symbols on windows
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(SHIP_DEBUG_SYMBOLS), )
JDK_SYMBOLS_EXCLUDE_PATTERN := %.pdb
else
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
JDK_SYMBOLS_EXCLUDE_PATTERN := \
$(filter-out \
%.stripped.pdb, \
$(filter %.pdb, $(ALL_JDK_FILES)) \
)
endif
endif endif
endif endif
@@ -183,40 +240,156 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
, \ , \
$(ALL_JDK_FILES) \ $(ALL_JDK_FILES) \
) )
JDK_SYMBOLS_BUNDLE_FILES := \ JDK_SYMBOLS_BUNDLE_FILES := \
$(filter \ $(filter \
$(JDK_SYMBOLS_EXCLUDE_PATTERN) \ $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
$(SYMBOLS_EXCLUDE_PATTERN) \ $(SYMBOLS_EXCLUDE_PATTERN) \
, \ , \
$(filter-out \ $(filter-out \
$(JDK_IMAGE_HOMEDIR)/demo/% \ $(JDK_IMAGE_HOMEDIR)/demo/% %.stripped.pdb \
, \ , \
$(ALL_JDK_FILES) \ $(ALL_JDK_SYMBOLS_FILES) \
) \ ) \
) \ ) \
$(call CacheFind, $(SYMBOLS_IMAGE_DIR)) $(call FindFiles, $(SYMBOLS_IMAGE_DIR))
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES)) TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \ ALL_JRE_FILES := $(call ShellFindFiles, $(JRE_IMAGE_DIR))
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) # 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
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \ # Create special filter rules when dealing with debug symbols on windows
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \ ifeq ($(OPENJDK_TARGET_OS), windows)
FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \ ifeq ($(SHIP_DEBUG_SYMBOLS), )
BASE_DIRS := $(JDK_IMAGE_DIR) $(wildcard $(SYMBOLS_IMAGE_DIR)), \ JRE_SYMBOLS_EXCLUDE_PATTERN := %.pdb
SUBDIR := $(JDK_BUNDLE_SUBDIR), \ else
UNZIP_DEBUGINFO := true, \ ifeq ($(SHIP_DEBUG_SYMBOLS), public)
)) JRE_SYMBOLS_EXCLUDE_PATTERN := \
$(filter-out \
%.stripped.pdb, \
$(filter %.pdb, $(ALL_JRE_FILES)) \
)
endif
endif
endif
PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE) 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
ifeq ($(COPY_DEBUG_SYMBOLS), true)
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \
BASE_DIRS := $(JDK_SYMBOLS_IMAGE_DIR) $(wildcard $(SYMBOLS_IMAGE_DIR)), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
UNZIP_DEBUGINFO := true, \
))
PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE)
endif
# The demo bundle is only created to support client tests. Ideally it should # The demo bundle is only created to support client tests. Ideally it should
# be built with the main test bundle, but since the prerequisites match # be built with the main test bundle, but since the prerequisites match
@@ -224,7 +397,7 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(eval $(call SetupBundleFile, BUILD_TEST_DEMOS_BUNDLE, \ $(eval $(call SetupBundleFile, BUILD_TEST_DEMOS_BUNDLE, \
BUNDLE_NAME := $(TEST_DEMOS_BUNDLE_NAME), \ BUNDLE_NAME := $(TEST_DEMOS_BUNDLE_NAME), \
FILES := $(TEST_DEMOS_BUNDLE_FILES), \ FILES := $(TEST_DEMOS_BUNDLE_FILES), \
BASE_DIRS := $(JDK_IMAGE_DIR), \ BASE_DIRS := $(JDK_DEMOS_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \ SUBDIR := $(JDK_BUNDLE_SUBDIR), \
)) ))
@@ -234,7 +407,7 @@ endif
################################################################################ ################################################################################
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), ) 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, \ $(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \ BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
@@ -248,7 +421,7 @@ endif
################################################################################ ################################################################################
ifneq ($(filter docs-bundles, $(MAKECMDGOALS)), ) 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, \ $(eval $(call SetupBundleFile, BUILD_DOCS_BUNDLE, \
BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \ BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \
@@ -262,13 +435,37 @@ endif
################################################################################ ################################################################################
ifneq ($(filter static-libs-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_IMAGE_DIR))
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)
endif
$(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_BUNDLE, \
BUNDLE_NAME := $(STATIC_LIBS_BUNDLE_NAME), \
FILES := $(STATIC_LIBS_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_LIBS_IMAGE_DIR), \
SUBDIR := $(STATIC_LIBS_BUNDLE_SUBDIR), \
))
STATIC_LIBS_TARGETS += $(BUILD_STATIC_LIBS_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present. # Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk)) $(eval $(call IncludeCustomExtension, Bundles.gmk))
################################################################################ ################################################################################
product-bundles: $(PRODUCT_TARGETS) product-bundles: $(PRODUCT_TARGETS)
legacy-bundles: $(LEGACY_TARGETS)
test-bundles: $(TEST_TARGETS) test-bundles: $(TEST_TARGETS)
docs-bundles: $(DOCS_TARGETS) docs-bundles: $(DOCS_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
.PHONY: all default product-bundles test-bundles docs-bundles .PHONY: all default product-bundles test-bundles docs-bundles \
static-libs-bundles

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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. # Prepare the find cache.
DEMO_SRC_DIRS += $(TOPDIR)/src/demo DEMO_SRC_DIRS += $(TOPDIR)/src/demo
$(eval $(call FillCacheFind, $(wildcard $(DEMO_SRC_DIRS)))) $(call FillFindCache, $(DEMO_SRC_DIRS))
# Append demo goals to this variable. # Append demo goals to this variable.
TARGETS = TARGETS =
@@ -237,11 +237,11 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
ifeq ($(OPENJDK_TARGET_OS), solaris) ifeq ($(OPENJDK_TARGET_OS), solaris)
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \ TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject)) $(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
else else
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \ TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject)) $(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
endif endif
################################################################################ ################################################################################
@@ -250,7 +250,7 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
$(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \ $(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \ SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
DEST := $(TEST_IMAGE_DIR)/jdk/demos, \ 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) IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)

View File

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

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -39,7 +39,7 @@ $(eval $(call IncludeCustomExtension, CompileTools.gmk))
# Use += to be able to add to this from a custom extension # Use += to be able to add to this from a custom extension
BUILD_TOOLS_SRC_DIRS += \ BUILD_TOOLS_SRC_DIRS += \
$(TOPDIR)/make/jdk/src/classes \ $(TOPDIR)/make/jdk/src/classes \
$(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \ $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes \
# #
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \ $(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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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))) CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF))) 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), ) ifneq ($(LIBS_DIR), )
ifeq ($(OPENJDK_TARGET_OS), windows) ifeq ($(OPENJDK_TARGET_OS), windows)
@@ -45,21 +45,21 @@ ifneq ($(LIBS_DIR), )
SRC := $(LIBS_DIR), \ SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \ DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(filter $(TO_BIN_FILTER), \ FILES := $(filter $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \ $(call FindFiles, $(LIBS_DIR))) \
)) ))
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \ $(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \
SRC := $(LIBS_DIR), \ SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \ DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out $(TO_BIN_FILTER), \ FILES := $(filter-out $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \ $(call FindFiles, $(LIBS_DIR))) \
)) ))
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB)
else else
$(eval $(call SetupCopyFiles, COPY_LIBS, \ $(eval $(call SetupCopyFiles, COPY_LIBS, \
SRC := $(LIBS_DIR), \ SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \ 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 # Use relative links if the import dir is inside the OUTPUTDIR, otherwise
@@ -75,7 +75,7 @@ ifneq ($(LIBS_DIR), )
$(eval $(call SetupCopyFiles, LINK_LIBS, \ $(eval $(call SetupCopyFiles, LINK_LIBS, \
SRC := $(LIBS_DIR), \ SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \ 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), \ MACRO := $(LINK_MACRO), \
LOG_ACTION := $(LOG_ACTION), \ LOG_ACTION := $(LOG_ACTION), \
)) ))
@@ -87,7 +87,7 @@ ifneq ($(CMDS_DIR), )
$(eval $(call SetupCopyFiles, COPY_CMDS, \ $(eval $(call SetupCopyFiles, COPY_CMDS, \
SRC := $(CMDS_DIR), \ SRC := $(CMDS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \ DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(call CacheFind, $(CMDS_DIR)), \ FILES := $(call FindFiles, $(CMDS_DIR)), \
)) ))
TARGETS += $(COPY_CMDS) TARGETS += $(COPY_CMDS)
endif endif
@@ -96,7 +96,7 @@ ifneq ($(CONF_DIR), )
$(eval $(call SetupCopyFiles, COPY_CONF, \ $(eval $(call SetupCopyFiles, COPY_CONF, \
SRC := $(CONF_DIR), \ SRC := $(CONF_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \ DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(call CacheFind, $(CONF_DIR)), \ FILES := $(call FindFiles, $(CONF_DIR)), \
)) ))
TARGETS += $(COPY_CONF) TARGETS += $(COPY_CONF)
endif endif

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -30,23 +30,21 @@ include MakeBase.gmk
########################################################################################## ##########################################################################################
### CLDRConverter needs the JRE time zone names from the java.base source. ### TZDB tool needs files from java.time.zone package
define cldrconverter_copytznames define tzdb_copyfiles
$(MKDIR) -p '$(@D)' $(call MakeTargetDir)
$(RM) '$@' $(RM) '$@'
$(SED) -e "s/package sun.util.resources/package build.tools.cldrconverter/" \ $(SED) -e "s/package java.time.zone/package build.tools.tzdb/" \
-e "s/extends TimeZoneNamesBundle//" \
-e "s/protected final/static final/" \
< $(<) > $@ < $(<) > $@
endef endef
$(eval $(call SetupCopyFiles,COPY_INTERIM_CLDRCONVERTER, \ $(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
SRC := $(TOPDIR)/src/java.base/share/classes/sun/util/resources, \ SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes/build/tools/cldrconverter, \ DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
FILES := TimeZoneNames.java, \ FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
MACRO := cldrconverter_copytznames)) MACRO := tzdb_copyfiles))
########################################################################################## ##########################################################################################
all: $(COPY_INTERIM_CLDRCONVERTER) 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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 := $(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)))) $(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
$(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(MODULES_TO_COPY)" $(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(MODULES_TO_COPY)"
$(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules $(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules
@@ -56,7 +56,7 @@ TARGETS += $(COPY_CLASSES_TARGET)
$(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \ $(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \
SRC := $(OUTPUTDIR), \ SRC := $(OUTPUTDIR), \
DEST := $(BUILDJDK_OUTPUTDIR), \ DEST := $(BUILDJDK_OUTPUTDIR), \
FILES := $(call CacheFind, $(wildcard \ FILES := $(call FindFiles, $(wildcard \
$(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \ $(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \
)) ))

View File

@@ -1,4 +1,5 @@
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. #
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -51,33 +52,79 @@ INCLUDE_HEADERS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \ MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN)))) $(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
$(eval $(call FillCacheFind, \ $(call FillFindCache, \
$(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \ $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \
)) )
ifneq ($(LIBS_DIR), ) ifneq ($(LIBS_DIR), )
JMOD_FLAGS += --libs $(LIBS_DIR) DEPS += $(call FindFiles, $(LIBS_DIR))
DEPS += $(call CacheFind, $(LIBS_DIR)) ifeq ($(OPENJDK_TARGET_OS)+$(SHIP_DEBUG_SYMBOLS), windows+public)
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
LIBS_DIR_FILTERED := $(subst modules_libs,modules_libs_filtered, $(LIBS_DIR))
FILES_LIBS := $(filter-out %.pdb, $(call FindFiles, $(LIBS_DIR))) \
$(filter %.stripped.pdb, $(call FindFiles, $(LIBS_DIR)))
$(eval $(call SetupCopyFiles, COPY_FILTERED_LIBS, \
SRC := $(LIBS_DIR), \
DEST := $(LIBS_DIR_FILTERED), \
FILES := $(FILES_LIBS), \
NAME_MACRO := rename_stripped, \
))
DEPS += $(COPY_FILTERED_LIBS)
JMOD_FLAGS += --libs $(LIBS_DIR_FILTERED)
else
JMOD_FLAGS += --libs $(LIBS_DIR)
endif
endif endif
ifneq ($(CMDS_DIR), ) ifneq ($(CMDS_DIR), )
JMOD_FLAGS += --cmds $(CMDS_DIR) DEPS += $(call FindFiles, $(CMDS_DIR))
DEPS += $(call CacheFind, $(CMDS_DIR)) ifeq ($(OPENJDK_TARGET_OS)+$(SHIP_DEBUG_SYMBOLS), windows+public)
# For public debug symbols on Windows, we have to use stripped pdbs, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
FILES_CMDS := $(filter-out %.pdb, $(call FindFiles, $(CMDS_DIR))) \
$(filter-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(FILES_CMDS), \
NAME_MACRO := rename_stripped, \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else ifeq ($(OPENJDK_TARGET_OS)+$(SHIP_DEBUG_SYMBOLS), windows+full)
# For full debug symbols on Windows, we have to filter out a few launcher pdbs
# where there's a lib that goes by the same name
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(filter-out %jimage.pdb %jpackage.pdb %java.pdb, \
$(call FindFiles, $(CMDS_DIR))), \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else
JMOD_FLAGS += --cmds $(CMDS_DIR)
endif
endif endif
ifneq ($(CONF_DIR), ) ifneq ($(CONF_DIR), )
JMOD_FLAGS += --config $(CONF_DIR) JMOD_FLAGS += --config $(CONF_DIR)
DEPS += $(call CacheFind, $(CONF_DIR)) DEPS += $(call FindFiles, $(CONF_DIR))
endif endif
ifneq ($(CLASSES_DIR), ) ifneq ($(CLASSES_DIR), )
JMOD_FLAGS += --class-path $(CLASSES_DIR) JMOD_FLAGS += --class-path $(CLASSES_DIR)
DEPS += $(call CacheFind, $(CLASSES_DIR)) DEPS += $(call FindFiles, $(CLASSES_DIR))
endif endif
ifneq ($(INCLUDE_HEADERS_DIR), ) ifneq ($(INCLUDE_HEADERS_DIR), )
JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR) JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR)
DEPS += $(call CacheFind, $(INCLUDE_HEADERS_DIR)) DEPS += $(call FindFiles, $(INCLUDE_HEADERS_DIR))
endif endif
ifneq ($(MAN_DIR), ) ifneq ($(MAN_DIR), )
JMOD_FLAGS += --man-pages $(MAN_DIR) JMOD_FLAGS += --man-pages $(MAN_DIR)
DEPS += $(call CacheFind, $(MAN_DIR)) DEPS += $(call FindFiles, $(MAN_DIR))
endif endif
# If a specific modules_legal dir exists for this module, only pick up files # If a specific modules_legal dir exists for this module, only pick up files
@@ -91,7 +138,7 @@ LEGAL_NOTICES := \
) )
LEGAL_NOTICES_PATH := $(call PathList, $(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) JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
@@ -145,7 +192,7 @@ endif
# the actual command. Filter that out using wildcard before adding to DEPS. # the actual command. Filter that out using wildcard before adding to DEPS.
DEPS += $(wildcard $(JMOD_CMD)) DEPS += $(wildcard $(JMOD_CMD))
ifeq ($(EXTERNAL_BUILDJDK), false) 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 endif
# If creating interim versions of jmods, certain files need to be filtered out # If creating interim versions of jmods, certain files need to be filtered out
@@ -154,7 +201,15 @@ ifeq ($(INTERIM_JMOD), true)
DEPS := $(filter-out $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/classlist, $(DEPS)) DEPS := $(filter-out $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/classlist, $(DEPS))
endif endif
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}' ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(SHIP_DEBUG_SYMBOLS), )
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.pdb,*.map}'
else
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.map}'
endif
else
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM}'
endif
# Create jmods in a temp dir and then move them into place to keep the # Create jmods in a temp dir and then move them into place to keep the
# module path in $(IMAGES_OUTPUTDIR)/jmods valid at all times. # module path in $(IMAGES_OUTPUTDIR)/jmods valid at all times.

View File

@@ -341,7 +341,7 @@ define SetupApiDocsGenerationBody
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps) $$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
# Get a list of all files in all the source dirs for all included modules # 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))))) $$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
# Javadoc creates a lot of files but use index.html as a marker # 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/ GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \ $(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \ SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
FILES := $(call CacheFind, $(GLOBAL_SPECS_RESOURCES_DIR)), \ FILES := $(call FindFiles, $(GLOBAL_SPECS_RESOURCES_DIR)), \
DEST := $(DOCS_OUTPUTDIR), \ DEST := $(DOCS_OUTPUTDIR), \
)) ))
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES) JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
@@ -521,10 +521,10 @@ COPY_SPEC_FILTER := %.html %.gif %.jpg %.mib %.css
$(foreach m, $(ALL_MODULES), \ $(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$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, \ $(eval $(call SetupCopyFiles, COPY_$m, \
SRC := $d, \ SRC := $d, \
FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \ FILES := $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d)), \
DEST := $(DOCS_OUTPUTDIR)/specs/, \ DEST := $(DOCS_OUTPUTDIR)/specs/, \
)) \ )) \
$(eval JDK_SPECS_TARGETS += $(COPY_$m)) \ $(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
@@ -541,11 +541,11 @@ ifeq ($(ENABLE_FULL_DOCS), true)
$(foreach m, $(ALL_MODULES), \ $(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$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 $m_$d_NAME := CONVERT_MARKDOWN_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \ $(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
SRC := $d, \ SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \ FILES := $(filter %.md, $(call FindFiles, $d)), \
DEST := $(DOCS_OUTPUTDIR)/specs/, \ DEST := $(DOCS_OUTPUTDIR)/specs/, \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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) $(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
$(call LogInfo, Optimizing the exploded image) $(call LogInfo, Optimizing the exploded image)
$(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR) $(call ExecuteWithLog, $@, $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR))
$(TOUCH) $@ $(TOUCH) $@
TARGETS := $(PACKAGES_ATTRIBUTE_TARGET) TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2016, 2018, 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -84,6 +84,17 @@ $(eval $(call SetupCopyFiles, COPY_CLASSLIST, \
TARGETS += $(COPY_CLASSLIST) TARGETS += $(COPY_CLASSLIST)
# In case of shipping public debug symbols on windows, there is another temporary
# location from where jmods are compiled - need to deploy classlist there, too.
ifeq ($(OPENJDK_TARGET_OS)+$(SHIP_DEBUG_SYMBOLS), windows+public)
$(eval $(call SetupCopyFiles, COPY_CLASSLIST_TO_FILTERED, \
FILES := $(CLASSLIST_FILE), \
DEST := $(SUPPORT_OUTPUTDIR)/modules_libs_filtered/java.base, \
))
TARGETS += $(COPY_CLASSLIST_TO_FILTERED)
endif
# Copy the default_jli_trace.txt file into jdk.jlink # Copy the default_jli_trace.txt file into jdk.jlink
$(eval $(call SetupCopyFiles, COPY_JLI_TRACE, \ $(eval $(call SetupCopyFiles, COPY_JLI_TRACE, \
FILES := $(JLI_TRACE_FILE), \ FILES := $(JLI_TRACE_FILE), \

View File

@@ -0,0 +1,57 @@
#
# Copyright (c) 2020, Red Hat Inc.
# 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 makefile creates a jdk image overlayed with statically linked core
# libraries.
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
TARGETS :=
$(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
SRC := $(JDK_IMAGE_DIR)/, \
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/, \
FILES := $(call FindFiles, $(JDK_IMAGE_DIR)/), \
))
TARGETS += $(COPY_JDK_IMG)
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS, \
SRC := $(STATIC_LIBS_IMAGE_DIR)/lib, \
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)/lib)), \
))
TARGETS += $(COPY_STATIC_LIBS)
################################################################################
all: $(TARGETS)
.PHONY: all

View File

@@ -43,7 +43,7 @@ help:
$(info $(_) make images # Create a complete jdk image) $(info $(_) make images # Create a complete jdk image)
$(info $(_) # (alias for product-images)) $(info $(_) # (alias for product-images))
$(info $(_) make <name>-image # Build just the image for any of: ) $(info $(_) make <name>-image # Build just the image for any of: )
$(info $(_) # jdk, test, docs, symbols, legacy-jre) $(info $(_) # jdk, test, docs, symbols, legacy-jre, static-libs)
$(info $(_) make <phase> # Build the specified phase and everything it depends on) $(info $(_) make <phase> # Build the specified phase and everything it depends on)
$(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic)) $(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info $(_) make *-only # Applies to most targets and disables building the) $(info $(_) make *-only # Applies to most targets and disables building the)
@@ -119,7 +119,7 @@ print-configurations:
run-test-prebuilt: run-test-prebuilt:
@( cd $(topdir) && \ @( cd $(topdir) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \ $(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 ALL_GLOBAL_TARGETS := help print-configurations run-test-prebuilt

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -276,21 +276,14 @@ endif
ifeq ($(GCOV_ENABLED), true) ifeq ($(GCOV_ENABLED), true)
GCOV_FIND_EXPR := -type f -name "*.gcno" $(eval $(call SetupCopyFiles,COPY_GCOV_GCNO, \
$(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \ SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \ 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) SYMBOLS_TARGETS += $(COPY_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)
endif endif
@@ -308,6 +301,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
else else
LIBS_TARGET_SUBDIR := lib LIBS_TARGET_SUBDIR := lib
endif endif
CMDS_TARGET_SUBDIR := bin
# Param 1 - dir to find debuginfo files in # Param 1 - dir to find debuginfo files in
FindDebuginfoFiles = \ FindDebuginfoFiles = \
@@ -323,13 +317,16 @@ else
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM # On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs. # dirs.
ifeq ($(OPENJDK_TARGET_OS), macosx) ifeq ($(OPENJDK_TARGET_OS), macosx)
$(eval $(call FillCacheFind, \ $(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs)) $(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
FindDebuginfoFiles = \ FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call CacheFind, $1))) $(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif endif
endif endif
FILTERED_PDBS := %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb \
%jimage.pdb %jpackage.pdb %java.pdb %jimage.map %jpackage.map %java.map
# Param 1 - either JDK or JRE # Param 1 - either JDK or JRE
SetupCopyDebuginfo = \ SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \ $(foreach m, $(ALL_$1_MODULES), \
@@ -340,6 +337,13 @@ SetupCopyDebuginfo = \
$(SUPPORT_OUTPUTDIR)/modules_libs/$m), \ $(SUPPORT_OUTPUTDIR)/modules_libs/$m), \
)) \ )) \
$(eval $1_TARGETS += $$(COPY_$1_LIBS_DEBUGINFO_$m)) \ $(eval $1_TARGETS += $$(COPY_$1_LIBS_DEBUGINFO_$m)) \
$(eval $(call SetupCopyFiles, COPY_$1_CMDS_DEBUGINFO_$m, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds/$m, \
DEST := $($1_IMAGE_DIR)/$(CMDS_TARGET_SUBDIR), \
FILES := $(filter-out $(FILTERED_PDBS), $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m)), \
)) \
$(eval $1_TARGETS += $$(COPY_$1_CMDS_DEBUGINFO_$m)) \
) )
# No space before argument to avoid having to put $(strip ) everywhere in # No space before argument to avoid having to put $(strip ) everywhere in

View File

@@ -421,8 +421,8 @@ else # $(HAS_SPEC)=true
$(if $(filter all, $(LOG_REPORT)), \ $(if $(filter all, $(LOG_REPORT)), \
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \ $(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
, \ , \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \ ($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 15 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 12; then \ if test `$(WC) -l < $(logfile)` -gt 15; then \
$(ECHO) " ... (rest of output omitted)" ; \ $(ECHO) " ... (rest of output omitted)" ; \
fi $(NEWLINE) \ 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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, \ $(eval $(call SetupCopyFiles, COPY_JDK_IMAGE, \
SRC := $(JDK_IMAGE_DIR), \ SRC := $(JDK_IMAGE_DIR), \
DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \ DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \
FILES := $(call CacheFind, $(JDK_IMAGE_DIR)), \ FILES := $(call FindFiles, $(JDK_IMAGE_DIR)), \
)) ))
$(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \ $(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \
SRC := $(JRE_IMAGE_DIR), \ SRC := $(JRE_IMAGE_DIR), \
DEST := $(JRE_MACOSX_CONTENTS_DIR)/Home, \ 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: $(eval $(call SetupCopyFiles, COPY_LIBJLI_JDK, \
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@)) FILES := $(JDK_IMAGE_DIR)/lib/jli/libjli.dylib, \
$(MKDIR) -p $(@D) DEST := $(JDK_MACOSX_CONTENTS_DIR)/MacOS, \
$(RM) $@ ))
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib: $(eval $(call SetupCopyFiles, COPY_LIBJLI_JRE, \
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@)) FILES := $(JRE_IMAGE_DIR)/lib/jli/libjli.dylib, \
$(MKDIR) -p $(@D) DEST := $(JRE_MACOSX_CONTENTS_DIR)/MacOS, \
$(RM) $@ ))
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \ $(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \ SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
@@ -97,13 +95,19 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
@@VENDOR@@ => $(BUNDLE_VENDOR) , \ @@VENDOR@@ => $(BUNDLE_VENDOR) , \
)) ))
jdk-bundle: $(COPY_JDK_IMAGE) $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \ $(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set: $(COPY_JDK_IMAGE)
$(BUILD_JDK_PLIST)
$(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR)) $(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR))
$(TOUCH) $@
jre-bundle: $(COPY_JRE_IMAGE) $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \ $(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set: $(COPY_JRE_IMAGE)
$(BUILD_JRE_PLIST)
$(SETFILE) -a B $(dir $(JRE_MACOSX_CONTENTS_DIR)) $(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 else # Not macosx

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -78,8 +78,8 @@ ifneq ($(CREATING_BUILDJDK), true)
interim-rmic: interim-rmic:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileInterimRmic.gmk) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileInterimRmic.gmk)
interim-cldrconverter: interim-tzdb:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimCLDRConverter.gmk) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimTZDB.gmk)
buildtools-jdk: buildtools-jdk:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk)
@@ -92,7 +92,7 @@ ifneq ($(CREATING_BUILDJDK), true)
endif endif
ALL_TARGETS += buildtools-langtools interim-langtools \ ALL_TARGETS += buildtools-langtools interim-langtools \
interim-rmic interim-cldrconverter buildtools-jdk buildtools-modules \ interim-rmic interim-tzdb buildtools-jdk buildtools-modules \
buildtools-hotspot buildtools-hotspot
################################################################################ ################################################################################
@@ -136,7 +136,7 @@ ifneq ($(CREATING_BUILDJDK), true)
define DeclareModuleInfoRecipe define DeclareModuleInfoRecipe
$1-gensrc-moduleinfo: $1-gensrc-moduleinfo:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \ +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
-f GensrcModuleInfo.gmk MODULE=$1) -f gensrc/GensrcModuleInfo.gmk MODULE=$1)
$1-gensrc: $1-gensrc-moduleinfo $1-gensrc: $1-gensrc-moduleinfo
endef endef
@@ -221,6 +221,21 @@ $(eval $(call DeclareRecipesForPhase, LIBS, \
ALL_TARGETS += $(LIBS_TARGETS) ALL_TARGETS += $(LIBS_TARGETS)
################################################################################
# Targets for compiling static versions of certain native libraries. These do
# not end up in the jmods or the normal JDK image, but are instead bundled into
# a special deliverable.
$(eval $(call DeclareRecipesForPhase, STATIC_LIBS, \
TARGET_SUFFIX := static-libs, \
FILE_PREFIX := Lib, \
MAKE_SUBDIR := lib, \
CHECK_MODULES := $(ALL_MODULES), \
USE_WRAPPER := true, \
EXTRA_ARGS := STATIC_LIBS=true, \
))
ALL_TARGETS += $(STATIC_LIBS_TARGETS)
################################################################################ ################################################################################
# Targets for compiling native executables # Targets for compiling native executables
$(eval $(call DeclareRecipesForPhase, LAUNCHER, \ $(eval $(call DeclareRecipesForPhase, LAUNCHER, \
@@ -262,6 +277,52 @@ hotspot-ide-project:
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \ ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project $(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 # Build demos targets
@@ -334,6 +395,9 @@ legacy-jre-image:
symbols-image: symbols-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk symbols) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk symbols)
static-libs-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f StaticLibsImage.gmk)
mac-jdk-bundle: mac-jdk-bundle:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jdk-bundle) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jdk-bundle)
@@ -346,10 +410,13 @@ release-file:
exploded-image-optimize: exploded-image-optimize:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ExplodedImageOptimize.gmk) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ExplodedImageOptimize.gmk)
graal-builder-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f GraalBuilderImage.gmk)
ALL_TARGETS += store-source-revision create-source-revision-tracker bootcycle-images zip-security \ ALL_TARGETS += store-source-revision create-source-revision-tracker bootcycle-images zip-security \
zip-source jrtfs-jar jdk-image legacy-jre-image \ zip-source jrtfs-jar jdk-image legacy-jre-image \
symbols-image mac-jdk-bundle mac-legacy-jre-bundle \ symbols-image static-libs-image mac-jdk-bundle mac-legacy-jre-bundle \
release-file exploded-image-optimize release-file exploded-image-optimize graal-builder-image
################################################################################ ################################################################################
# Docs targets # Docs targets
@@ -559,8 +626,12 @@ test-jdk-jtreg-native:
test-make: test-make:
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET)) ($(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 \ 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 # Bundles
@@ -568,13 +639,20 @@ ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
product-bundles: product-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk 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: test-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
docs-bundles: docs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles) +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
ALL_TARGETS += product-bundles test-bundles docs-bundles static-libs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk static-libs-bundles)
ALL_TARGETS += product-bundles legacy-bundles test-bundles docs-bundles \
static-libs-bundles
################################################################################ ################################################################################
# Install targets # Install targets
@@ -607,7 +685,7 @@ else
interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS) interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS)
buildtools-jdk: interim-langtools interim-cldrconverter buildtools-jdk: interim-langtools interim-tzdb
buildtools-hotspot: interim-langtools buildtools-hotspot: interim-langtools
@@ -629,7 +707,7 @@ else
# Declare dependencies between hotspot-<variant>* targets # Declare dependencies between hotspot-<variant>* targets
$(foreach v, $(JVM_VARIANTS), \ $(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) \ $(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
) )
@@ -639,10 +717,14 @@ else
# If not already set, set the JVM variant target so that the JVM will be built. # If not already set, set the JVM variant target so that the JVM will be built.
JVM_MAIN_LIB_TARGETS ?= hotspot-$(JVM_VARIANT_MAIN)-libs JVM_MAIN_LIB_TARGETS ?= hotspot-$(JVM_VARIANT_MAIN)-libs
JVM_MAIN_GENSRC_TARGETS ?= hotspot-$(JVM_VARIANT_MAIN)-gensrc
# Building one JVM variant is enough to start building the other libs # Building one JVM variant is enough to start building the other libs
$(LIBS_TARGETS): $(JVM_MAIN_LIB_TARGETS) $(LIBS_TARGETS): $(JVM_MAIN_LIB_TARGETS)
# Static libs depend on hotspot gensrc
$(STATIC_LIBS_TARGETS): $(JVM_MAIN_GENSRC_TARGETS)
$(LAUNCHER_TARGETS): java.base-libs $(LAUNCHER_TARGETS): java.base-libs
ifeq ($(STATIC_BUILD), true) ifeq ($(STATIC_BUILD), true)
@@ -691,16 +773,17 @@ else
# copied and processed. # copied and processed.
java.desktop-gensrc-src: java.base-gensrc java.base-copy java.desktop-gensrc-src: java.base-gensrc java.base-copy
# The annotation processing for jdk.internal.vm.ci and jdk.internal.vm.compiler # The annotation processing for jdk.internal.vm.compiler
# needs classes from the current JDK. # and jdk.internal.vm.compiler.management needs classes from the current JDK.
jdk.internal.vm.ci-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.ci))
jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \ jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler)) $(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. # 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-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 jdk.jdeps-gendata: java rmic
@@ -735,6 +818,31 @@ else
$(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS))) $(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS)))
$(foreach m, $(INTERIM_IMAGE_MODULES), $(eval $m-interim-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_TARGETS_HOTSPOT): clean-compile-commands
$(COMPILE_COMMANDS_TARGETS_JDK): clean-compile-commands
compile-commands-hotspot: $(COMPILE_COMMANDS_TARGETS_HOTSPOT)
compile-commands: $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
# The -static-libs targets depend on -java as well as java.base-copy.
$(foreach m, $(filter $(JAVA_MODULES), $(STATIC_LIBS_MODULES)), \
$(eval $m-static-libs: $m-java java.base-copy))
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 # 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 # 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 # it's run from the buildjdk, which is either created at build time or user
@@ -797,6 +905,10 @@ else
legacy-jre-image: jmods release-file legacy-jre-image: jmods release-file
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS) symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: $(STATIC_LIBS_TARGETS)
graal-builder-image: jdk-image static-libs-image
mac-jdk-bundle: jdk-image mac-jdk-bundle: jdk-image
mac-legacy-jre-bundle: legacy-jre-image mac-legacy-jre-bundle: legacy-jre-image
@@ -849,6 +961,8 @@ else
test-make: clean-test-make test-make: clean-test-make
test-compile-commands: compile-commands
build-test-lib: exploded-image-optimize build-test-lib: exploded-image-optimize
build-test-failure-handler: interim-langtools build-test-failure-handler: interim-langtools
@@ -882,10 +996,14 @@ else
product-bundles: product-images product-bundles: product-images
legacy-bundles: legacy-images
test-bundles: test-image test-bundles: test-image
docs-bundles: docs-image docs-bundles: docs-image
static-libs-bundles: static-libs-image
generate-summary: jmods buildtools-modules generate-summary: jmods buildtools-modules
update-x11wrappers: java.base-copy buildtools-jdk update-x11wrappers: java.base-copy buildtools-jdk
@@ -900,6 +1018,10 @@ JVM_TOOLS_TARGETS ?= buildtools-hotspot
buildtools: buildtools-langtools interim-langtools interim-rmic \ buildtools: buildtools-langtools interim-langtools interim-rmic \
buildtools-jdk $(JVM_TOOLS_TARGETS) 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) hotspot: $(HOTSPOT_VARIANT_TARGETS)
# Create targets hotspot-libs and hotspot-gensrc. # Create targets hotspot-libs and hotspot-gensrc.
@@ -920,6 +1042,8 @@ rmic: $(RMIC_TARGETS)
libs: $(LIBS_TARGETS) libs: $(LIBS_TARGETS)
static-libs: $(STATIC_LIBS_TARGETS)
launchers: $(LAUNCHER_TARGETS) launchers: $(LAUNCHER_TARGETS)
jmods: $(JMOD_TARGETS) jmods: $(JMOD_TARGETS)
@@ -982,6 +1106,9 @@ mac-bundles: mac-jdk-bundle
# (and possibly other, more specific versions) # (and possibly other, more specific versions)
product-images: jdk-image symbols-image exploded-image 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 # zip-security is actually a bundle, but for now it needs to be considered
# an image until this can be cleaned up properly. # an image until this can be cleaned up properly.
product-images: zip-security product-images: zip-security
@@ -998,6 +1125,8 @@ endif
ifeq ($(OPENJDK_TARGET_OS), macosx) ifeq ($(OPENJDK_TARGET_OS), macosx)
product-images: mac-jdk-bundle product-images: mac-jdk-bundle
legacy-images: mac-legacy-jre-bundle
endif endif
# This target builds the documentation image # This target builds the documentation image
@@ -1021,14 +1150,14 @@ test-image: prepare-test-image \
all-images: product-images test-image docs-image all-images: product-images test-image docs-image
# all-bundles packages all our deliverables as tar.gz bundles. # all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
copy java rmic libs launchers jmods \ copy java rmic libs static-libs launchers jmods \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \ jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image \ exploded-image-base exploded-image \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \ 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 \ docs-image test-image all-images \
all-bundles all-bundles
@@ -1071,12 +1200,15 @@ CLEAN_MODULE_PHASE_TARGETS := $(addprefix clean-, $(foreach m, $(ALL_MODULES), \
# Remove everything, except the output from configure. # Remove everything, except the output from configure.
clean: $(CLEAN_DIR_TARGETS) clean: $(CLEAN_DIR_TARGETS)
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log*) ($(CD) $(OUTPUTDIR) && $(RM) -r build*.log* compile_commands.json)
$(ECHO) Cleaned all build artifacts. $(ECHO) Cleaned all build artifacts.
clean-docs: clean-docs:
$(call CleanDocs) $(call CleanDocs)
clean-compile-commands:
$(call CleanMakeSupportDir,compile-commands)
$(CLEAN_DIR_TARGETS): $(CLEAN_DIR_TARGETS):
$(call CleanDir,$(patsubst clean-%, %, $@)) $(call CleanDir,$(patsubst clean-%, %, $@))
@@ -1118,9 +1250,9 @@ dist-clean: clean
) )
$(ECHO) Cleaned everything, you will have to re-run configure. $(ECHO) Cleaned everything, you will have to re-run configure.
ALL_TARGETS += clean clean-docs dist-clean $(CLEAN_DIR_TARGETS) $(CLEAN_SUPPORT_DIR_TARGETS) \ ALL_TARGETS += clean clean-docs clean-compile-commands dist-clean $(CLEAN_DIR_TARGETS) \
$(CLEAN_TEST_TARGETS) $(CLEAN_PHASE_TARGETS) $(CLEAN_MODULE_TARGETS) \ $(CLEAN_SUPPORT_DIR_TARGETS) $(CLEAN_TEST_TARGETS) $(CLEAN_PHASE_TARGETS) \
$(CLEAN_MODULE_PHASE_TARGETS) $(CLEAN_MODULE_TARGETS) $(CLEAN_MODULE_PHASE_TARGETS)
################################################################################ ################################################################################
# Declare *-only targets for each normal target # Declare *-only targets for each normal target
@@ -1130,11 +1262,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 # The following targets are intentionally not added to ALL_TARGETS since they
# are internal only, to support Init.gmk. # are internal only, to support Init.gmk.

View File

@@ -65,6 +65,13 @@ define CleanSupportDir
@$(PRINTF) " done\n" @$(PRINTF) " done\n"
endef endef
define CleanMakeSupportDir
@$(PRINTF) "Cleaning $(strip $1) make support artifacts ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/$(strip $1)
@$(PRINTF) " done\n"
endef
define CleanTest define CleanTest
@$(PRINTF) "Cleaning test $(strip $1) ..." @$(PRINTF) "Cleaning test $(strip $1) ..."
@$(PRINTF) "\n" $(LOG_DEBUG) @$(PRINTF) "\n" $(LOG_DEBUG)
@@ -137,7 +144,7 @@ define DeclareRecipeForModuleMakefile
$$(addprefix -I, $$(PHASE_MAKEDIRS) \ $$(addprefix -I, $$(PHASE_MAKEDIRS) \
$$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \ $$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \
) \ ) \
MODULE=$2 MAKEFILE_PREFIX=$$($1_FILE_PREFIX)) MODULE=$2 MAKEFILE_PREFIX=$$($1_FILE_PREFIX) $$($1_EXTRA_ARGS))
else else
+($(CD) $$(dir $$(firstword $$(wildcard $$(addsuffix \ +($(CD) $$(dir $$(firstword $$(wildcard $$(addsuffix \
/$$($1_MAKE_SUBDIR)/$$($1_FILE_PREFIX)-$2.gmk, $$(PHASE_MAKEDIRS))))) \ /$$($1_MAKE_SUBDIR)/$$($1_FILE_PREFIX)-$2.gmk, $$(PHASE_MAKEDIRS))))) \
@@ -146,7 +153,7 @@ define DeclareRecipeForModuleMakefile
$$(addprefix -I, $$(PHASE_MAKEDIRS) \ $$(addprefix -I, $$(PHASE_MAKEDIRS) \
$$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \ $$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \
) \ ) \
MODULE=$2 \ MODULE=$2 $$($1_EXTRA_ARGS) \
) )
endif endif
@@ -186,12 +193,13 @@ endef
# CHECK_MODULES : List of modules to try # CHECK_MODULES : List of modules to try
# MULTIPLE_MAKEFILES : Set to true to handle makefiles for the same module and # MULTIPLE_MAKEFILES : Set to true to handle makefiles for the same module and
# phase in multiple repos # phase in multiple repos
# EXTRA_ARGS : Add extra make args to each makefile call
# Exported variables: # Exported variables:
# $1_MODULES : All modules that had rules generated # $1_MODULES : All modules that had rules generated
# $1_TARGETS : All targets generated # $1_TARGETS : All targets generated
define DeclareRecipesForPhase define DeclareRecipesForPhase
$(foreach i,2 3 4 5 6 7, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE)) $(foreach i,2 3 4 5 6 7 8, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE))
$(if $(8),$(error Internal makefile error: Too many arguments to \ $(if $(9),$(error Internal makefile error: Too many arguments to \
DeclareRecipesForPhase, please update MakeHelper.gmk)) DeclareRecipesForPhase, please update MakeHelper.gmk))
$$(foreach m, $$($(strip $1)_CHECK_MODULES), \ $$(foreach m, $$($(strip $1)_CHECK_MODULES), \

View File

@@ -100,5 +100,9 @@ $(eval $(call SetupCopyFiles, COPY_CONF, \
$(TARGETS)), \ $(TARGETS)), \
)) ))
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \ ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB) 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 # We will always run multiple tests serially
.NOTPARALLEL: .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 # Parse global control variables
################################################################################ ################################################################################
@@ -45,8 +82,8 @@ ifneq ($(TEST_VM_OPTS), )
endif endif
$(eval $(call ParseKeywordVariable, TEST_OPTS, \ $(eval $(call ParseKeywordVariable, TEST_OPTS, \
KEYWORDS := JOBS TIMEOUT, \ SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR, \
STRING_KEYWORDS := VM_OPTIONS, \ STRING_KEYWORDS := VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
)) ))
# Helper function to propagate TEST_OPTS values. # Helper function to propagate TEST_OPTS values.
@@ -65,10 +102,14 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
ifndef _NT_SYMBOL_PATH ifndef _NT_SYMBOL_PATH
# Can't use PathList here as it adds quotes around the value. # Can't use PathList here as it adds quotes around the value.
_NT_SYMBOL_PATH := \ _NT_SYMBOL_PATH := \
$(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \ $(subst $(SPACE),;,$(strip \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p))) $(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), \
$(call FixPath, $p) \
) \
))
export _NT_SYMBOL_PATH export _NT_SYMBOL_PATH
$(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH)) $(info _NT_SYMBOL_PATH=$(_NT_SYMBOL_PATH))
endif endif
endif endif
@@ -100,8 +141,118 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
-timeoutHandlerTimeout:0 -timeoutHandlerTimeout:0
endif endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, $(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher)) GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTEST_LAUNCHER_DIRS))) $(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 # Parse control variables
@@ -110,17 +261,24 @@ GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTE
ifneq ($(TEST_OPTS), ) ifneq ($(TEST_OPTS), )
# Inform the user # Inform the user
$(info Running tests using TEST_OPTS control variable '$(TEST_OPTS)') $(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 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, \ $(eval $(call ParseKeywordVariable, JTREG, \
KEYWORDS := JOBS TIMEOUT TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM, \ SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR TEST_MODE ASSERT VERBOSE RETAIN \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS, \ MAX_MEM, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS AOT_MODULES, \
)) ))
ifneq ($(JTREG), ) ifneq ($(JTREG), )
@@ -129,8 +287,8 @@ ifneq ($(JTREG), )
endif endif
$(eval $(call ParseKeywordVariable, GTEST, \ $(eval $(call ParseKeywordVariable, GTEST, \
KEYWORDS := REPEAT, \ SINGLE_KEYWORDS := REPEAT, \
STRING_KEYWORDS := OPTIONS VM_OPTIONS, \ STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
)) ))
ifneq ($(GTEST), ) ifneq ($(GTEST), )
@@ -143,17 +301,6 @@ endif
# Component-specific Jtreg settings # 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_MAX_MEM := 0
hotspot_JTREG_ASSERT := false hotspot_JTREG_ASSERT := false
hotspot_JTREG_NATIVEPATH := $(TEST_IMAGE_DIR)/hotspot/jtreg/native 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 nashorn_JTREG_PROBLEM_LIST += $(TOPDIR)/test/nashorn/ProblemList.txt
hotspot_JTREG_PROBLEM_LIST += $(TOPDIR)/test/hotspot/jtreg/ProblemList.txt hotspot_JTREG_PROBLEM_LIST += $(TOPDIR)/test/hotspot/jtreg/ProblemList.txt
langtools_JTREG_MAX_MEM := 768m
################################################################################ ################################################################################
# Parse test selection # Parse test selection
# #
@@ -277,7 +426,7 @@ endef
# Helper function to determine if a test specification is a special test # 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 define ParseSpecialTestSelection
$(if $(filter special:%, $1), \ $(if $(filter special:%, $1), \
$1 \ $1 \
@@ -368,19 +517,27 @@ define SetupRunGtestTestBody
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT) $1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
endif 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)
$$(call LogWarn, Running test '$$($1_TEST)') $$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR)) $$(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 \ $$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \ -jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \ --gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \ $$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
$$(GTEST_JAVA_OPTIONS) $$($1_AOT_OPTIONS) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \ > >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \ && $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \ || $$(ECHO) $$$$? > $$($1_EXITCODE) \
) ))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt $1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
@@ -447,12 +604,11 @@ define SetupRunJtregTestBody
$1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST))) $1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST)))
$1_COMPONENT := \ $1_TEST_ROOT := \
$$(strip $$(foreach root, $$(JTREG_TESTROOTS), \ $$(strip $$(foreach root, $$(JTREG_TESTROOTS), \
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), \ $$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), $$(root)) \
$$(lastword $$(subst /, $$(SPACE), $$(root))) \
) \
)) ))
$1_COMPONENT := $$(lastword $$(subst /, $$(SPACE), $$($1_TEST_ROOT)))
# This will work only as long as just hotspot has the additional "jtreg" directory # This will work only as long as just hotspot has the additional "jtreg" directory
ifeq ($$($1_COMPONENT), jtreg) ifeq ($$($1_COMPONENT), jtreg)
$1_COMPONENT := hotspot $1_COMPONENT := hotspot
@@ -475,11 +631,12 @@ define SetupRunJtregTestBody
$$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS)) $$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS))
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST)) $$(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) ifneq ($(TEST_JOBS), 0)
# User has specified TEST_JOBS, use that as fallback default
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS))) $$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
else else
# Use JOBS as default (except for hotspot)
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(JOBS))) $$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(JOBS)))
endif endif
@@ -487,7 +644,12 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's # we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS)) $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_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error JTREG_RETAIN ?= fail,error
@@ -496,12 +658,16 @@ define SetupRunJtregTestBody
$1_JTREG_LAUNCHER_OPTIONS += -Xmx$$($1_JTREG_MAX_MEM) $1_JTREG_LAUNCHER_OPTIONS += -Xmx$$($1_JTREG_MAX_MEM)
endif endif
# Make sure the tmp dir is normalized as some tests will react badly otherwise
$1_TEST_TMP_DIR := $$(abspath $$($1_TEST_SUPPORT_DIR)/tmp)
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \ $1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \ -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) -vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE) \
-vmoption:-Djava.io.tmpdir="$$($1_TEST_TMP_DIR)"
$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 # Make it possible to specify the JIB_DATA_DIR for tests using the
# JIB Artifact resolver # JIB Artifact resolver
@@ -531,24 +697,56 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST)) $1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
endif endif
ifneq ($$(JIB_JAR), ) ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR) # 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 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), ) ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)" $1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
endif 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: clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR) $$(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)
$$(call LogWarn, Running test '$$($1_TEST)') $$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR)) $$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, \ $$($1_TEST_TMP_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, ( \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \ $$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \ -Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \ $$($1_JTREG_BASIC_OPTIONS) \
@@ -561,7 +759,7 @@ define SetupRunJtregTestBody
$$($1_TEST_NAME) \ $$($1_TEST_NAME) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \ && $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \ || $$(ECHO) $$$$? > $$($1_EXITCODE) \
) ))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt $1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
@@ -631,16 +829,16 @@ define SetupRunSpecialTestBody
$$(error Invalid special test specification: $$($1_TEST_NAME)) $$(error Invalid special test specification: $$($1_TEST_NAME))
endif endif
run-test-$1: run-test-$1: $(TEST_PREREQS)
$$(call LogWarn) $$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)') $$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR)) $$(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) \ $$($1_TEST_COMMAND_LINE) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \ > >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \ && $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \ || $$(ECHO) $$$$? > $$($1_EXITCODE) \
) ))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt $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, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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. # given.
# Note: No spaces are allowed around the arguments. # 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 # $2: The default value, if any, or OPTIONAL (do not provide a default but
# do not exit if it is missing) # do not exit if it is missing)
# $3: If NO_CHECK, disable checking for target file/directory existence # $3: If NO_CHECK, disable checking for target file/directory existence
# If MKDIR, create the default directory
define SetupVariable define SetupVariable
ifeq ($$($1), ) ifeq ($$($1), )
ifeq ($2, ) ifeq ($2, )
@@ -75,10 +76,17 @@ define SetupVariable
endif endif
# If $1 has a value (is not optional), and $3 is not set (to NO_CHECK), # 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. # and if wildcard is empty, then complain that the file is missing.
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1)) $3), ) ifeq ($3, MKDIR)
$$(info Error: Prebuilt variable $1 points to missing file/directory:) ifneq ($$(findstring $$(LOG), info debug trace), )
$$(info '$$($1)') $$(info Creating directory for $1)
$$(error Cannot continue.) 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 endif
endef endef
@@ -87,12 +95,12 @@ endef
# $1: The output file name # $1: The output file name
# $2..$N: The lines to output to the file # $2..$N: The lines to output to the file
define CreateNewSpec define CreateNewSpec
$(if $(strip $(26)), \ $(if $(strip $(31)), \
$(error Internal makefile error: \ $(error Internal makefile error: \
Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \ Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
) \ ) \
$(shell $(RM) $1) \ $(shell $(RM) $1) \
$(foreach i, $(call sequence, 2, 25), \ $(foreach i, $(call sequence, 2, 30), \
$(if $(strip $($i)), \ $(if $(strip $($i)), \
$(call AppendFile, $(strip $($i)), $1) \ $(call AppendFile, $(strip $($i)), $1) \
) \ ) \
@@ -106,14 +114,14 @@ endef
# Verify that user has given correct additional input. # Verify that user has given correct additional input.
# These variables are absolutely necessary # 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,BOOT_JDK))
$(eval $(call SetupVariable,JT_HOME)) $(eval $(call SetupVariable,JT_HOME))
# These can have default values based on the ones above # These can have default values based on the ones above
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk)) $(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test)) $(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 # Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK)) $(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -202,8 +210,8 @@ endif
ifeq ($(OPENJDK_TARGET_OS), windows) ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), ) ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), )
$$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)') $(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
$$(error Cannot continue.) $(error Cannot continue.)
endif endif
FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c
PATH_SEP:=; PATH_SEP:=;
@@ -212,17 +220,59 @@ else
PATH_SEP:=: PATH_SEP:=:
endif endif
# Check number of cores # Check number of cores and memory in MB
ifeq ($(OPENJDK_TARGET_OS), linux) 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) 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) 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) 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) = | $(SED) 's/\\r//g' \
| $(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 else
NUM_CORES := 1 LD := ld
endif endif
################################################################################ ################################################################################
@@ -260,6 +310,10 @@ $(call CreateNewSpec, $(NEW_SPEC), \
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \ OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \ OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
NUM_CORES := $(NUM_CORES), \ 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, \ include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
$(CUSTOM_NEW_SPEC_LINE), \ $(CUSTOM_NEW_SPEC_LINE), \
) )
@@ -276,9 +330,6 @@ run-test-prebuilt:
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error @$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \ @cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)" TEST="$(TEST)"
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
all: run-test-prebuilt all: run-test-prebuilt

View File

@@ -124,7 +124,7 @@ JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD) JMOD := $(FIXPATH) $(JMOD_CMD)
JARSIGNER := $(FIXPATH) $(JARSIGNER_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. # Some common tools. Assume most common name and no path.
AWK := awk AWK := awk
@@ -172,3 +172,21 @@ UNZIP := unzip
EXPR := expr EXPR := expr
FILE := file FILE := file
HG := hg 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,33 +23,43 @@
# questions. # questions.
# #
default: all
include $(SPEC) include $(SPEC)
include MakeBase.gmk 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 # 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 # 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 # We're either building directly from an SCM repository, and if so, use the
# current revision from mercurial. Otherwise, we are building from a source # current revision from that SCM. Otherwise, we are building from a source
# bundle. As a part of creating this source bundle, the current mercurial # bundle. As a part of creating this source bundle, the current SCM revisions of
# revisions of all repos will be stored in a file in the top dir, which is then # all repos will be stored in a file in the top dir, which is then used when
# used when creating the tracker file. # creating the tracker file.
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
# Are we using mercurial? USE_SCM := false
ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), ) 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 # Verify that the entire forest is consistent
$(foreach repo, $(call FindAllReposRel), \ $(foreach repo, $(call FindAllReposRel), \
$(if $(wildcard $(TOPDIR)/$(repo)/.hg),, \ $(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)),, \
$(error Inconsistent revision control: $(repo) is missing .hg directory)) \ $(error Inconsistent revision control: $(repo) is missing $(SCM_DIR) directory)) \
) )
# Replace "." with "_top" and "/" with "-" # 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 # 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. # Argument 1 is the relative path to the repository from the top dir.
# #
SetupGetRevisionForRepo = $(NamedParamsMacroTemplate) SetupGetRevisionForRepo = $(NamedParamsMacroTemplate)
@@ -68,7 +80,7 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC
$$(call MakeDir, $$(@D)) $$(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) REPO_REVISIONS += $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME)
endef endef
@@ -94,40 +106,58 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$(eval $(call CreateSourceRevisionFile, $(STORED_SOURCE_REVISION))) $(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))) $(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 else
# Not using HG # Not using any SCM
ifneq ($(wildcard $(STORED_SOURCE_REVISION)), ) ifneq ($(wildcard $(STORED_SOURCE_REVISION)), )
# We have a stored source revision (.src-rev) # We have a stored source revision (.src-rev)
store-source-revision: src-store-source-revision:
$(call LogInfo, No mercurial configuration present$(COMMA) not updating .src-rev) $(call LogInfo, No SCM configuration present$(COMMA) not updating .src-rev)
$(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION) $(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION)
$(install-file) $(install-file)
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER) src-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
else else
# We don't have a stored source revision. Can't do anything, really. # We don't have a stored source revision. Can't do anything, really.
store-source-revision: src-store-source-revision:
$(call LogWarn, Error: No mercurial configuration present$(COMMA) cannot create .src-rev) $(call LogWarn, Error: No SCM configuration present$(COMMA) cannot create .src-rev)
exit 2 exit 2
create-source-revision-tracker: src-create-source-revision-tracker:
$(call LogWarn, Warning: No mercurial configuration present and no .src-rev) $(call LogWarn, Warning: No SCM configuration present and no .src-rev)
endif 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 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 FRC: # Force target
.PHONY: all store-source-revision create-source-revision-tracker .PHONY: store-source-revision create-source-revision-tracker

56
make/StaticLibsImage.gmk Normal file
View File

@@ -0,0 +1,56 @@
#
# 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.
#
# This makefile creates an image of the optional static versions of certain JDK
# libraries.
default: all
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
ALL_MODULES = $(call FindAllModules)
################################################################################
TARGETS :=
$(foreach m, $(ALL_MODULES), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
FLATTEN := true, \
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
)
################################################################################
all: $(TARGETS)
.PHONY: all

View File

@@ -37,10 +37,22 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
$(call install-file) $(call install-file)
endif 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)) $(call MakeDir, $(TEST_IMAGE_DIR))
$(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image' $(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
################################################################################
all: prepare-test-image all: prepare-test-image
.PHONY: default 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 \ TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makejavasecurity.MakeJavaSecurity 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 # 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. # 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -45,21 +45,21 @@ GLOBAL_SPECS_DEFAULT_CSS_FILE := $(TOPDIR)/make/data/docs-resources/resources/jd
DOCS_DIR := $(TOPDIR)/doc DOCS_DIR := $(TOPDIR)/doc
$(eval $(call SetupProcessMarkdown, building, \ $(eval $(call SetupProcessMarkdown, md_docs, \
FILES := $(DOCS_DIR)/building.md, \ FILES := $(call FindFiles, $(DOCS_DIR), *.md), \
DEST := $(DOCS_DIR), \ DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \ OPTIONS := --toc, \
)) ))
TARGETS += $(building) TARGETS += $(md_docs)
$(eval $(call SetupProcessMarkdown, testing, \ $(eval $(call SetupProcessMarkdown, ide, \
FILES := $(DOCS_DIR)/testing.md, \ FILES := $(DOCS_DIR)/ide.md, \
DEST := $(DOCS_DIR), \ DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \ OPTIONS := --toc, \
)) ))
TARGETS += $(testing) TARGETS += $(ide)
################################################################################ ################################################################################

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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), \ EXCLUDE_FILES := $(SRC_ZIP_EXCLUDE_FILES), \
SUFFIXES := .java, \ SUFFIXES := .java, \
ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \ ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \
FOLLOW_SYMLINKS := true, \
)) ))
do-zip: $(BUILD_SRC_ZIP) do-zip: $(BUILD_SRC_ZIP)

View File

@@ -645,6 +645,14 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
BASIC_FIXUP_PATH(CURDIR) BASIC_FIXUP_PATH(CURDIR)
BASIC_FIXUP_PATH(TOPDIR) BASIC_FIXUP_PATH(TOPDIR)
if test "x$CUSTOM_ROOT" != x; then
BASIC_FIXUP_PATH(CUSTOM_ROOT)
WORKSPACE_ROOT="${CUSTOM_ROOT}"
else
WORKSPACE_ROOT="${TOPDIR}"
fi
AC_SUBST(WORKSPACE_ROOT)
# Locate the directory of this script. # Locate the directory of this script.
AUTOCONF_DIR=$TOPDIR/make/autoconf AUTOCONF_DIR=$TOPDIR/make/autoconf
@@ -867,11 +875,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_MSG_RESULT([in build directory with custom name]) AC_MSG_RESULT([in build directory with custom name])
fi fi
if test "x$CUSTOM_ROOT" != x; then OUTPUTDIR="${WORKSPACE_ROOT}/build/${CONF_NAME}"
OUTPUTDIR="${CUSTOM_ROOT}/build/${CONF_NAME}"
else
OUTPUTDIR="${TOPDIR}/build/${CONF_NAME}"
fi
$MKDIR -p "$OUTPUTDIR" $MKDIR -p "$OUTPUTDIR"
if test ! -d "$OUTPUTDIR"; then if test ! -d "$OUTPUTDIR"; then
AC_MSG_ERROR([Could not create build directory $OUTPUTDIR]) AC_MSG_ERROR([Could not create build directory $OUTPUTDIR])
@@ -1190,6 +1194,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(READELF, [greadelf readelf]) BASIC_PATH_PROGS(READELF, [greadelf readelf])
BASIC_PATH_PROGS(DOT, dot) BASIC_PATH_PROGS(DOT, dot)
BASIC_PATH_PROGS(HG, hg) BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(GIT, git)
BASIC_PATH_PROGS(STAT, stat) BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time) BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(FLOCK, flock) BASIC_PATH_PROGS(FLOCK, flock)
@@ -1211,17 +1216,41 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_REQUIRE_PROGS(MIG, mig) BASIC_REQUIRE_PROGS(MIG, mig)
BASIC_REQUIRE_PROGS(XATTR, xattr) BASIC_REQUIRE_PROGS(XATTR, xattr)
BASIC_PATH_PROGS(CODESIGN, codesign) BASIC_PATH_PROGS(CODESIGN, codesign)
if test "x$CODESIGN" != "x"; then if test "x$CODESIGN" != "x"; then
# Verify that the openjdk_codesign certificate is present # Check for user provided code signing identity.
AC_MSG_CHECKING([if openjdk_codesign certificate is present]) # 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 $RM codesign-testfile
$TOUCH 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 $RM codesign-testfile
if test "x$CODESIGN" = x; then if test "x$CODESIGN" = x; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
else else
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
# Verify that the codesign has --option runtime
AC_MSG_CHECKING([if codesign has --option runtime])
$RM codesign-testfile
$TOUCH codesign-testfile
$CODESIGN --option runtime -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_ERROR([codesign does not have --option runtime. macOS 10.13.6 and above is required.])
else
AC_MSG_RESULT([yes])
fi
fi fi
fi fi
BASIC_REQUIRE_PROGS(SETFILE, SetFile) BASIC_REQUIRE_PROGS(SETFILE, SetFile)

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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` NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
FOUND_CORES=yes FOUND_CORES=yes
elif test "x$OPENJDK_BUILD_OS" = xaix ; then elif test "x$OPENJDK_BUILD_OS" = xaix ; then
NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'` NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
FOUND_CORES=yes if test -n "$NUM_LCPU"; then
NUM_CORES=$NUM_LCPU
FOUND_CORES=yes
fi
elif test -n "$NUMBER_OF_PROCESSORS"; then elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env # On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS NUM_CORES=$NUMBER_OF_PROCESSORS

View File

@@ -75,6 +75,8 @@ JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@ JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@ 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 # The compiler for the build platform is likely not warning compatible with the official
# compiler. # compiler.
WARNINGS_AS_ERRORS := false 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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. # With basic setup done, call the custom early hook.
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. # Check if we have devkits, extra paths or sysroot set.
BASIC_SETUP_DEVKIT 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -106,11 +106,17 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS], AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
[ [
# By default don't set any specific assembler debug
# info flags for toolchains unless we know they work.
# See JDK-8207057.
ASFLAGS_DEBUG_SYMBOLS=""
# Debug symbols # Debug symbols
if test "x$TOOLCHAIN_TYPE" = xgcc; then if test "x$TOOLCHAIN_TYPE" = xgcc; then
CFLAGS_DEBUG_SYMBOLS="-g" CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xclang; then elif test "x$TOOLCHAIN_TYPE" = xclang; then
CFLAGS_DEBUG_SYMBOLS="-g" CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# -g0 enables debug symbols without disabling inlining. # -g0 enables debug symbols without disabling inlining.
CFLAGS_DEBUG_SYMBOLS="-g0 -xs" CFLAGS_DEBUG_SYMBOLS="-g0 -xs"
@@ -121,6 +127,7 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
fi fi
AC_SUBST(CFLAGS_DEBUG_SYMBOLS) AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
]) ])
AC_DEFUN([FLAGS_SETUP_WARNINGS], AC_DEFUN([FLAGS_SETUP_WARNINGS],
@@ -162,19 +169,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
gcc) gcc)
DISABLE_WARNING_PREFIX="-Wno-" DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror" CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
# Repeate the check for the BUILD_CC and BUILD_CXX. Need to also reset
# CFLAGS since any target specific flags will likely not work with the
# build compiler
CC_OLD="$CC"
CXX_OLD="$CXX"
CC="$BUILD_CC"
CXX="$BUILD_CXX"
CFLAGS_OLD="$CFLAGS"
CFLAGS=""
BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-" BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
CC="$CC_OLD"
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
;; ;;
clang) clang)
DISABLE_WARNING_PREFIX="-Wno-" DISABLE_WARNING_PREFIX="-Wno-"
@@ -214,6 +209,20 @@ AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
;; ;;
esac esac
fi fi
# Extra flags needed when building optional static versions of certain
# JDK libraries.
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Disable relax-relocation to enable compatibility with older linkers
RELAX_RELOCATIONS_FLAG="-Xassembler -mrelax-relocations=no"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${RELAX_RELOCATIONS_FLAG}],
IF_TRUE: [STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS ${RELAX_RELOCATIONS_FLAG}"])
fi
AC_SUBST(STATIC_LIBS_CFLAGS)
]) ])
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION], AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
@@ -355,6 +364,17 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_SETUP_CFLAGS_CPU_DEP([TARGET]) FLAGS_SETUP_CFLAGS_CPU_DEP([TARGET])
# Repeat the check for the BUILD_CC and BUILD_CXX. Need to also reset CFLAGS
# since any target specific flags will likely not work with the build compiler.
CC_OLD="$CC"
CXX_OLD="$CXX"
CFLAGS_OLD="$CFLAGS"
CXXFLAGS_OLD="$CXXFLAGS"
CC="$BUILD_CC"
CXX="$BUILD_CXX"
CFLAGS=""
CXXFLAGS=""
FLAGS_OS=$OPENJDK_BUILD_OS FLAGS_OS=$OPENJDK_BUILD_OS
FLAGS_OS_TYPE=$OPENJDK_BUILD_OS_TYPE FLAGS_OS_TYPE=$OPENJDK_BUILD_OS_TYPE
FLAGS_CPU=$OPENJDK_BUILD_CPU FLAGS_CPU=$OPENJDK_BUILD_CPU
@@ -364,7 +384,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_]) FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_], [BUILD_])
CC="$CC_OLD"
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
CXXFLAGS="$CXXFLAGS_OLD"
# Tests are only ever compiled for TARGET # Tests are only ever compiled for TARGET
CFLAGS_TESTLIB="$CFLAGS_JDKLIB" CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
@@ -473,17 +498,16 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new" TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-pipe" 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!) # reduce lib size on s390x in link step, this needs also special compile flags
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
CXXSTD_CXXFLAG="-std=gnu++98" TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CXXSTD_CXXFLAG -Werror], TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
IF_FALSE: [CXXSTD_CXXFLAG=""]) fi
TOOLCHAIN_CFLAGS_JDK_CXXONLY="$CXXSTD_CXXFLAG" # technically NOT for CXX (but since this gives *worse* performance, use
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM $CXXSTD_CXXFLAG" # no-strict-aliasing everywhere!)
ADLC_CXXFLAG="$CXXSTD_CXXFLAG" TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing"
elif test "x$TOOLCHAIN_TYPE" = xclang; then elif test "x$TOOLCHAIN_TYPE" = xclang; then
# Restrict the debug information created by Clang to avoid # Restrict the debug information created by Clang to avoid
@@ -503,7 +527,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
TOOLCHAIN_CFLAGS_JDK="-mt" 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_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \ TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
-library=stlport4 -mt -features=no%except" -library=stlport4 -mt -features=no%except"
@@ -574,6 +598,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Where does this really belong?? # Where does this really belong??
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
PICFLAG="-fPIC" PICFLAG="-fPIC"
PIEFLAG="-fPIE"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
PICFLAG="-KPIC" PICFLAG="-KPIC"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then elif test "x$TOOLCHAIN_TYPE" = xxlc; then
@@ -625,15 +650,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT" OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
fi fi
fi fi
# EXPORT
AC_SUBST(ADLC_CXXFLAG)
]) ])
################################################################################ ################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check # $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against. # conditionals against.
# $2 - Optional prefix for each variable defined. # $2 - Optional prefix for each variable defined.
# $3 - Optional prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP], AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
[ [
#### CPU DEFINES, these should (in theory) be independent on toolchain #### CPU DEFINES, these should (in theory) be independent on toolchain
@@ -727,6 +750,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer" $1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi 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 elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$FLAGS_OS" = xlinux; then if test "x$FLAGS_OS" = xlinux; then
# ppc test not really needed for clang # ppc test not really needed for clang
@@ -763,20 +793,44 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
fi fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then 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_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized" $1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
fi 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 # 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 \ $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 \ 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 \ $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. # 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 # (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might
@@ -784,7 +838,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \ CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}" $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}" $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}" $1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
@@ -792,21 +848,40 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}" $2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}"
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK}" $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}" $2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK} $PIEFLAG"
$2CFLAGS_JDKLIB="${$2CFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}" $2CFLAGS_JDKLIB="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK} \
$2CXXFLAGS_JDKLIB="${$2CXXFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}" $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($2JVM_CFLAGS)
AC_SUBST($2CFLAGS_JDKLIB) AC_SUBST($2CFLAGS_JDKLIB)
AC_SUBST($2CFLAGS_JDKEXE) AC_SUBST($2CFLAGS_JDKEXE)
AC_SUBST($2CXXFLAGS_JDKLIB) AC_SUBST($2CXXFLAGS_JDKLIB)
AC_SUBST($2CXXFLAGS_JDKEXE) 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]) # FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
# Arguments: # Arguments:
# $1 - Prefix for each variable defined. # $1 - Prefix for each variable defined.
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS], AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[ [
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code # These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
@@ -814,14 +889,11 @@ AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
# Notably, value range propagation now assumes that the this pointer of C++ # Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null. # member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks" NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror], PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
dnl IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse" NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror], PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
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}])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}" $1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
]) ])

View File

@@ -72,12 +72,15 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
fi fi
# Add -z defs, to forbid undefined symbols in object files. # Add -z defs, to forbid undefined symbols in object files.
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs" # add -z,relro (mark relocations read only) for all libs
# add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
# 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_JVM_ONLY="-Wl,-O1"
BASIC_LDFLAGS_JDK_LIB_ONLY="-Wl,-z,noexecstack"
LIBJSIG_NOEXECSTACK_LDFLAGS="-Wl,-z,noexecstack"
elif test "x$TOOLCHAIN_TYPE" = xclang; then elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \ BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
@@ -103,6 +106,12 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows" BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
fi 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 # Setup OS-dependent LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then if test "x$OPENJDK_TARGET_OS" = xmacosx; then
@@ -118,13 +127,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$OPENJDK_TARGET_OS" = xlinux; then if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test x$DEBUG_LEVEL = xrelease; then if test x$DEBUG_LEVEL = xrelease; then
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1" 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
DEBUGLEVEL_LDFLAGS="-Wl,-z,now"
fi fi
fi fi
@@ -140,6 +142,17 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Setup LDFLAGS for linking executables # Setup LDFLAGS for linking executables
if test "x$TOOLCHAIN_TYPE" = xgcc; then if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined" 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 fi
# Export some intermediate variables for compatibility # 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -31,9 +31,7 @@
AC_DEFUN([FLAGS_SETUP_ARFLAGS], AC_DEFUN([FLAGS_SETUP_ARFLAGS],
[ [
# FIXME: figure out if we should select AR flags depending on OS or toolchain. # FIXME: figure out if we should select AR flags depending on OS or toolchain.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then if test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-r -mmacosx-version-min=$MACOSX_VERSION_MIN"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-X64" ARFLAGS="-X64"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then elif test "x$OPENJDK_TARGET_OS" = xwindows; then
# lib.exe is used as AR to create static libraries. # lib.exe is used as AR to create static libraries.
@@ -83,10 +81,10 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
RC_FLAGS="$RC_FLAGS \ RC_FLAGS="$RC_FLAGS \
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \ -D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \ -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_VER=\$(VERSION_NUMBER)\" \
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \ -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))\"" -D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
JVM_RCFLAGS="$JVM_RCFLAGS \ 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]) AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi 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], AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])]) [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], AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])]) [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_CFLAGS="$with_extra_cflags"
USER_CXXFLAGS="$with_extra_cxxflags" USER_CXXFLAGS="$with_extra_cxxflags"
USER_LDFLAGS="$with_extra_ldflags" USER_LDFLAGS="$with_extra_ldflags"
USER_ASFLAGS="$with_extra_asflags"
]) ])
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so # 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_CFLAGS="$MACHINE_FLAG $USER_CFLAGS"
EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS" EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS"
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS" EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(EXTRA_CFLAGS) AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS) AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS) AC_SUBST(EXTRA_LDFLAGS)
AC_SUBST(EXTRA_ASFLAGS)
# For autoconf testing to work, the global flags must also be stored in the # For autoconf testing to work, the global flags must also be stored in the
# "unnamed" CFLAGS etc. # "unnamed" CFLAGS etc.
@@ -335,8 +345,12 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
CC_OUT_OPTION='-o$(SPACE)' CC_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the output # When linking, how to specify the output
LD_OUT_OPTION='-o$(SPACE)' LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files. # When archiving, how to specify the destination static archive.
AR_OUT_OPTION='rcs$(SPACE)' if test "x$OPENJDK_TARGET_OS" = xmacosx; then
AR_OUT_OPTION='-r -cs$(SPACE)'
else
AR_OUT_OPTION='-rcs$(SPACE)'
fi
fi fi
AC_SUBST(CC_OUT_OPTION) AC_SUBST(CC_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION) AC_SUBST(LD_OUT_OPTION)
@@ -402,17 +416,20 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
# ------------------------------------------------------------ # ------------------------------------------------------------
# Check that the C compiler supports an argument # Check that the C compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS], 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 supports=yes
saved_cflags="$CFLAGS" saved_cflags="$CFLAGS"
saved_cc="$CC"
CFLAGS="$CFLAGS ARG_ARGUMENT" CFLAGS="$CFLAGS ARG_ARGUMENT"
CC="$ARG_PREFIX[CC]"
AC_LANG_PUSH([C]) AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [], AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no]) [supports=no])
AC_LANG_POP([C]) AC_LANG_POP([C])
CC="$saved_cc"
CFLAGS="$saved_cflags" CFLAGS="$saved_cflags"
AC_MSG_RESULT([$supports]) AC_MSG_RESULT([$supports])
@@ -430,17 +447,20 @@ BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
# ------------------------------------------------------------ # ------------------------------------------------------------
# Check that the C++ compiler supports an argument # Check that the C++ compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS], 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 supports=yes
saved_cxxflags="$CXXFLAGS" saved_cxxflags="$CXXFLAGS"
saved_cxx="$CXX"
CXXFLAGS="$CXXFLAG ARG_ARGUMENT" CXXFLAGS="$CXXFLAG ARG_ARGUMENT"
CXX="$ARG_PREFIX[CXX]"
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [], AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no]) [supports=no])
AC_LANG_POP([C++]) AC_LANG_POP([C++])
CXX="$saved_cxx"
CXXFLAGS="$saved_cxxflags" CXXFLAGS="$saved_cxxflags"
AC_MSG_RESULT([$supports]) 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 # Check that the C and C++ compilers support an argument
BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS], 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], FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [C_COMP_SUPPORTS="yes"], IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"]) IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT], FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [CXX_COMP_SUPPORTS="yes"], IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"]) 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 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]) AC_MSG_RESULT([$supports])
if test "x$supports" = "xyes" ; then if test "x$supports" = "xyes" ; then

View File

@@ -102,7 +102,7 @@ apt_help() {
ffi) ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;; PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11) 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) ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;; PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
dtrace) dtrace)
@@ -125,7 +125,7 @@ yum_help() {
freetype) freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;; PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
x11) 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) ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;; PKGHANDLER_COMMAND="sudo yum install ccache" ;;
esac esac

View File

@@ -25,7 +25,7 @@
# All valid JVM features, regardless of platform # All valid JVM features, regardless of platform
VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \ VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \
graal vm-structs jni-check services management cmsgc epsilongc g1gc parallelgc serialgc zgc nmt cds \ graal vm-structs jni-check services management cmsgc epsilongc g1gc parallelgc serialgc shenandoahgc zgc nmt cds \
static-build link-time-opt aot jfr" static-build link-time-opt aot jfr"
# Deprecated JVM features (these are ignored, but with a warning) # Deprecated JVM features (these are ignored, but with a warning)
@@ -47,8 +47,8 @@ AC_DEFUN([HOTSPOT_CHECK_JVM_VARIANT],
[ [ [[ " $JVM_VARIANTS " =~ " $1 " ]] ] ]) [ [ [[ " $JVM_VARIANTS " =~ " $1 " ]] ] ])
############################################################################### ###############################################################################
# Check if the specified JVM features are explicitly enabled. To be used in # Check if the specified JVM feature is enabled. To be used in shell if
# shell if constructs, like this: # constructs, like this:
# if HOTSPOT_CHECK_JVM_FEATURE(jvmti); then # if HOTSPOT_CHECK_JVM_FEATURE(jvmti); then
# #
# Only valid to use after HOTSPOT_SETUP_JVM_FEATURES has setup features. # Only valid to use after HOTSPOT_SETUP_JVM_FEATURES has setup features.
@@ -58,6 +58,20 @@ AC_DEFUN([HOTSPOT_CHECK_JVM_VARIANT],
AC_DEFUN([HOTSPOT_CHECK_JVM_FEATURE], AC_DEFUN([HOTSPOT_CHECK_JVM_FEATURE],
[ [ [[ " $JVM_FEATURES " =~ " $1 " ]] ] ]) [ [ [[ " $JVM_FEATURES " =~ " $1 " ]] ] ])
###############################################################################
# Check if the specified JVM feature is explicitly disabled. To be used in
# shell if constructs, like this:
# if HOTSPOT_IS_JVM_FEATURE_DISABLED(jvmci); then
#
# This function is internal to hotspot.m4, and is only used when constructing
# the valid set of enabled JVM features. Users outside of hotspot.m4 should just
# use HOTSPOT_CHECK_JVM_FEATURE to check if a feature is enabled or not.
# Definition kept in one line to allow inlining in if statements.
# Additional [] needed to keep m4 from mangling shell constructs.
AC_DEFUN([HOTSPOT_IS_JVM_FEATURE_DISABLED],
[ [ [[ " $DISABLED_JVM_FEATURES " =~ " $1 " ]] ] ])
############################################################################### ###############################################################################
# Check which variants of the JVM that we want to build. Available variants are: # Check which variants of the JVM that we want to build. Available variants are:
# server: normal interpreter, and a tiered C1/C2 compiler # server: normal interpreter, and a tiered C1/C2 compiler
@@ -338,17 +352,31 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi fi
fi fi
# Only enable ZGC on Linux x86_64 # Only enable Shenandoah on supported arches, and only if requested
AC_MSG_CHECKING([if zgc should be built]) AC_MSG_CHECKING([if shenandoah can be built])
if HOTSPOT_CHECK_JVM_FEATURE(zgc); then if HOTSPOT_CHECK_JVM_FEATURE(shenandoahgc); then
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc" DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"
AC_MSG_RESULT([no, platform not supported]) AC_MSG_RESULT([no, platform not supported])
fi fi
else else
AC_MSG_RESULT([no]) DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"
fi
# Only enable ZGC on supported platforms
AC_MSG_CHECKING([if zgc can be built])
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
AC_MSG_RESULT([yes])
else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
AC_MSG_RESULT([no, platform not supported])
fi
# Disable unsupported GCs for Zero
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES epsilongc g1gc shenandoahgc zgc"
fi fi
# Turn on additional features based on other parts of configure # Turn on additional features based on other parts of configure
@@ -376,8 +404,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_CHECKING([if jvmci module jdk.internal.vm.ci should be built]) AC_MSG_CHECKING([if jvmci module jdk.internal.vm.ci should be built])
# Check if jvmci is diabled # Check if jvmci is diabled
DISABLE_JVMCI=`$ECHO $DISABLED_JVM_FEATURES | $GREP jvmci` if HOTSPOT_IS_JVM_FEATURE_DISABLED(jvmci); then
if test "x$DISABLE_JVMCI" = "xjvmci"; then
AC_MSG_RESULT([no, forced]) AC_MSG_RESULT([no, forced])
JVM_FEATURES_jvmci="" JVM_FEATURES_jvmci=""
INCLUDE_JVMCI="false" INCLUDE_JVMCI="false"
@@ -403,8 +430,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_CHECKING([if graal module jdk.internal.vm.compiler should be built]) AC_MSG_CHECKING([if graal module jdk.internal.vm.compiler should be built])
# Check if graal is diabled # Check if graal is diabled
DISABLE_GRAAL=`$ECHO $DISABLED_JVM_FEATURES | $GREP graal` if HOTSPOT_IS_JVM_FEATURE_DISABLED(graal); then
if test "x$DISABLE_GRAAL" = "xgraal"; then
AC_MSG_RESULT([no, forced]) AC_MSG_RESULT([no, forced])
JVM_FEATURES_graal="" JVM_FEATURES_graal=""
INCLUDE_GRAAL="false" INCLUDE_GRAAL="false"
@@ -436,8 +462,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_SUBST(INCLUDE_GRAAL) AC_SUBST(INCLUDE_GRAAL)
# Disable aot with '--with-jvm-features=-aot' # Disable aot with '--with-jvm-features=-aot'
DISABLE_AOT=`$ECHO $DISABLED_JVM_FEATURES | $GREP aot` if HOTSPOT_IS_JVM_FEATURE_DISABLED(aot); then
if test "x$DISABLE_AOT" = "xaot"; then
ENABLE_AOT="false" ENABLE_AOT="false"
fi fi
@@ -461,7 +486,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
JVM_FEATURES_aot="aot" JVM_FEATURES_aot="aot"
fi fi
else else
if test "x$enable_aot" = "xno" || test "x$DISABLE_AOT" = "xaot"; then if test "x$enable_aot" = "xno" || HOTSPOT_IS_JVM_FEATURE_DISABLED(aot); then
AC_MSG_RESULT([no, forced]) AC_MSG_RESULT([no, forced])
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
@@ -482,7 +507,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi fi
# All variants but minimal (and custom) get these features # All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs" NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc shenandoahgc jni-check jvmti management nmt services vm-structs zgc"
AC_MSG_CHECKING([if cds should be enabled]) AC_MSG_CHECKING([if cds should be enabled])
if test "x$ENABLE_CDS" = "xtrue"; then if test "x$ENABLE_CDS" = "xtrue"; then

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -283,7 +283,7 @@ AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS], AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
[ [
# #
# NATIVE_DEBUG_SYMBOLS # Native debug symbols.
# This must be done after the toolchain is setup, since we're looking at objcopy. # This must be done after the toolchain is setup, since we're looking at objcopy.
# #
AC_MSG_CHECKING([what type of native debug symbols to use]) AC_MSG_CHECKING([what type of native debug symbols to use])
@@ -295,24 +295,48 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
if test "x$withval" = xexternal || test "x$withval" = xzipped; then 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]) AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
fi fi
elif 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 if test "x$STATIC_BUILD" = xtrue; then
# AIX doesn't support 'external' so use 'internal' as default with_native_debug_symbols="none"
with_native_debug_symbols="internal"
else else
if test "x$STATIC_BUILD" = xtrue; then if test "x$OPENJDK_TARGET_OS" = xaix; then
with_native_debug_symbols="none" # AIX doesn't support 'external' so use 'internal' as default
with_native_debug_symbols="internal"
else else
with_native_debug_symbols="external" with_native_debug_symbols="external"
fi fi
fi fi
]) ])
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols AC_MSG_RESULT([$with_native_debug_symbols])
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then if test "x$with_native_debug_symbols" = xnone; then
COMPILE_WITH_DEBUG_SYMBOLS=false
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
elif test "x$with_native_debug_symbols" = xinternal; then
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
elif test "x$with_native_debug_symbols" = xexternal; 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=false
elif test "x$with_native_debug_symbols" = xzipped; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then if test "x$OBJCOPY" = x; then
@@ -325,27 +349,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
COMPILE_WITH_DEBUG_SYMBOLS=true COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=true COPY_DEBUG_SYMBOLS=true
ZIP_EXTERNAL_DEBUG_SYMBOLS=true ZIP_EXTERNAL_DEBUG_SYMBOLS=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
COMPILE_WITH_DEBUG_SYMBOLS=false
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
COMPILE_WITH_DEBUG_SYMBOLS=true
COPY_DEBUG_SYMBOLS=false
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; 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=false
else else
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped]) AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
fi fi
@@ -363,6 +366,33 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
AC_SUBST(COMPILE_WITH_DEBUG_SYMBOLS) AC_SUBST(COMPILE_WITH_DEBUG_SYMBOLS)
AC_SUBST(COPY_DEBUG_SYMBOLS) AC_SUBST(COPY_DEBUG_SYMBOLS)
AC_SUBST(ZIP_EXTERNAL_DEBUG_SYMBOLS) AC_SUBST(ZIP_EXTERNAL_DEBUG_SYMBOLS)
# Should we add external native debug symbols to the shipped bundles?
AC_MSG_CHECKING([if we should add external native debug symbols to the shipped bundles])
AC_ARG_WITH([external-symbols-in-bundles],
[AS_HELP_STRING([--with-external-symbols-in-bundles],
[which type of external native debug symbol information shall be shipped in product bundles (none, public, full)
(e.g. ship full/stripped pdbs on Windows) @<:@none@:>@])])
if test "x$with_external_symbols_in_bundles" = x || test "x$with_external_symbols_in_bundles" = xnone ; then
AC_MSG_RESULT([no])
elif test "x$with_external_symbols_in_bundles" = xfull || test "x$with_external_symbols_in_bundles" = xpublic ; then
if test "x$OPENJDK_TARGET_OS" != xwindows ; then
AC_MSG_ERROR([--with-external-symbols-in-bundles currently only works on windows!])
elif test "x$COPY_DEBUG_SYMBOLS" != xtrue ; then
AC_MSG_ERROR([--with-external-symbols-in-bundles only works when --with-native-debug-symbols=external is used!])
elif test "x$with_external_symbols_in_bundles" = xfull ; then
AC_MSG_RESULT([full])
SHIP_DEBUG_SYMBOLS=full
else
AC_MSG_RESULT([public])
SHIP_DEBUG_SYMBOLS=public
fi
else
AC_MSG_ERROR([$with_external_symbols_in_bundles is an unknown value for --with-external-symbols-in-bundles])
fi
AC_SUBST(SHIP_DEBUG_SYMBOLS)
]) ])
################################################################################ ################################################################################
@@ -630,3 +660,35 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES],
AC_SUBST(BUILD_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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME) AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(HOTSPOT_VM_DISTRO) 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) 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) 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 # The vendor name, if any
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name], AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
[Set vendor name. Among others, used to set the 'java.vendor' [Set vendor name. Among others, used to set the 'java.vendor'
@@ -100,7 +143,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-vendor-url must have a value]) AC_MSG_ERROR([--with-vendor-url must have a value])
elif [ ! [[ $with_vendor_url =~ ^[[:print:]]*$ ]] ]; then elif [ ! [[ $with_vendor_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-url contains non-printing characters: $with_vendor_url]) AC_MSG_ERROR([--with-vendor-url contains non-printing characters: $with_vendor_url])
else elif test "x$with_vendor_url" != x; then
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "version-numbers" included above.
VENDOR_URL="$with_vendor_url" VENDOR_URL="$with_vendor_url"
fi fi
AC_SUBST(VENDOR_URL) AC_SUBST(VENDOR_URL)
@@ -112,7 +157,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-vendor-bug-url must have a value]) AC_MSG_ERROR([--with-vendor-bug-url must have a value])
elif [ ! [[ $with_vendor_bug_url =~ ^[[:print:]]*$ ]] ]; then elif [ ! [[ $with_vendor_bug_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-bug-url contains non-printing characters: $with_vendor_bug_url]) AC_MSG_ERROR([--with-vendor-bug-url contains non-printing characters: $with_vendor_bug_url])
else elif test "x$with_vendor_bug_url" != x; then
# Only set VENDOR_URL_BUG if '--with-vendor-bug-url' was used and is not empty.
# Otherwise we will use the value from "version-numbers" included above.
VENDOR_URL_BUG="$with_vendor_bug_url" VENDOR_URL_BUG="$with_vendor_bug_url"
fi fi
AC_SUBST(VENDOR_URL_BUG) AC_SUBST(VENDOR_URL_BUG)
@@ -124,7 +171,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value]) AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url]) AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url])
else elif test "x$with_vendor_vm_bug_url" != x; then
# Only set VENDOR_URL_VM_BUG if '--with-vendor-vm-bug-url' was used and is not empty.
# Otherwise we will use the value from "version-numbers" included above.
VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url" VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url"
fi fi
AC_SUBST(VENDOR_URL_VM_BUG) AC_SUBST(VENDOR_URL_VM_BUG)
@@ -139,15 +188,18 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-version-string must have a value]) AC_MSG_ERROR([--with-version-string must have a value])
elif test "x$with_version_string" != x; then elif test "x$with_version_string" != x; then
# Additional [] needed to keep m4 from mangling shell constructs. # Additional [] needed to keep m4 from mangling shell constructs.
if [ [[ $with_version_string =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z]+))?((\+)([0-9]+)?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then if [ [[ $with_version_string =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z]+))?((\+)([0-9]+)?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then
VERSION_FEATURE=${BASH_REMATCH[[1]]} VERSION_FEATURE=${BASH_REMATCH[[1]]}
VERSION_INTERIM=${BASH_REMATCH[[3]]} VERSION_INTERIM=${BASH_REMATCH[[3]]}
VERSION_UPDATE=${BASH_REMATCH[[5]]} VERSION_UPDATE=${BASH_REMATCH[[5]]}
VERSION_PATCH=${BASH_REMATCH[[7]]} VERSION_PATCH=${BASH_REMATCH[[7]]}
VERSION_PRE=${BASH_REMATCH[[9]]} VERSION_EXTRA1=${BASH_REMATCH[[9]]}
version_plus_separator=${BASH_REMATCH[[11]]} VERSION_EXTRA2=${BASH_REMATCH[[11]]}
VERSION_BUILD=${BASH_REMATCH[[12]]} VERSION_EXTRA3=${BASH_REMATCH[[13]]}
VERSION_OPT=${BASH_REMATCH[[14]]} VERSION_PRE=${BASH_REMATCH[[15]]}
version_plus_separator=${BASH_REMATCH[[17]]}
VERSION_BUILD=${BASH_REMATCH[[18]]}
VERSION_OPT=${BASH_REMATCH[[20]]}
# Unspecified numerical fields are interpreted as 0. # Unspecified numerical fields are interpreted as 0.
if test "x$VERSION_INTERIM" = x; then if test "x$VERSION_INTERIM" = x; then
VERSION_INTERIM=0 VERSION_INTERIM=0
@@ -158,6 +210,15 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
if test "x$VERSION_PATCH" = x; then if test "x$VERSION_PATCH" = x; then
VERSION_PATCH=0 VERSION_PATCH=0
fi fi
if test "x$VERSION_EXTRA1" = x; then
VERSION_EXTRA1=0
fi
if test "x$VERSION_EXTRA2" = x; then
VERSION_EXTRA2=0
fi
if test "x$VERSION_EXTRA3" = x; then
VERSION_EXTRA3=0
fi
if test "x$version_plus_separator" != x \ if test "x$version_plus_separator" != x \
&& test "x$VERSION_BUILD$VERSION_OPT" = x; then && test "x$VERSION_BUILD$VERSION_OPT" = x; then
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing]) AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
@@ -327,6 +388,72 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
fi fi
fi fi
# The 1st version extra number, if any
AC_ARG_WITH(version-extra1, [AS_HELP_STRING([--with-version-extra1],
[Set 1st version extra number @<:@not specified@:>@])],
[with_version_extra1_present=true], [with_version_extra1_present=false])
if test "x$with_version_extra1_present" = xtrue; then
if test "x$with_version_extra1" = xyes; then
AC_MSG_ERROR([--with-version-extra1 must have a value])
elif test "x$with_version_extra1" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA1=0
elif test "x$with_version_extra1" = x; then
VERSION_EXTRA1=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA1, $with_version_extra1)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA1=$DEFAULT_VERSION_EXTRA1
fi
fi
# The 2nd version extra number, if any
AC_ARG_WITH(version-extra2, [AS_HELP_STRING([--with-version-extra2],
[Set 2nd version extra number @<:@not specified@:>@])],
[with_version_extra2_present=true], [with_version_extra2_present=false])
if test "x$with_version_extra2_present" = xtrue; then
if test "x$with_version_extra2" = xyes; then
AC_MSG_ERROR([--with-version-extra2 must have a value])
elif test "x$with_version_extra2" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA2=0
elif test "x$with_version_extra2" = x; then
VERSION_EXTRA2=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA2, $with_version_extra2)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA2=$DEFAULT_VERSION_EXTRA2
fi
fi
# The 3rd version extra number, if any
AC_ARG_WITH(version-extra3, [AS_HELP_STRING([--with-version-extra3],
[Set 3rd version extra number @<:@not specified@:>@])],
[with_version_extra3_present=true], [with_version_extra3_present=false])
if test "x$with_version_extra3_present" = xtrue; then
if test "x$with_version_extra3" = xyes; then
AC_MSG_ERROR([--with-version-extra3 must have a value])
elif test "x$with_version_extra3" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA3=0
elif test "x$with_version_extra3" = x; then
VERSION_EXTRA3=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA3, $with_version_extra3)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA3=$DEFAULT_VERSION_EXTRA3
fi
fi
# Calculate derived version properties # Calculate derived version properties
# Set VERSION_IS_GA based on if VERSION_PRE has a value # Set VERSION_IS_GA based on if VERSION_PRE has a value
@@ -339,9 +466,12 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
# VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions. # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions.
VERSION_NUMBER_FOUR_POSITIONS=$VERSION_FEATURE.$VERSION_INTERIM.$VERSION_UPDATE.$VERSION_PATCH VERSION_NUMBER_FOUR_POSITIONS=$VERSION_FEATURE.$VERSION_INTERIM.$VERSION_UPDATE.$VERSION_PATCH
stripped_version_number=$VERSION_NUMBER_FOUR_POSITIONS # VERSION_NUMBER but always with all positions, with 0 for empty positions.
VERSION_NUMBER_ALL_POSITIONS=$VERSION_NUMBER_FOUR_POSITIONS.$VERSION_EXTRA1.$VERSION_EXTRA2.$VERSION_EXTRA3
stripped_version_number=$VERSION_NUMBER_ALL_POSITIONS
# Strip trailing zeroes from stripped_version_number # Strip trailing zeroes from stripped_version_number
for i in 1 2 3 ; do stripped_version_number=${stripped_version_number%.0} ; done for i in 1 2 3 4 5 6 ; do stripped_version_number=${stripped_version_number%.0} ; done
VERSION_NUMBER=$stripped_version_number VERSION_NUMBER=$stripped_version_number
# The complete version string, with additional build information # The complete version string, with additional build information
@@ -392,6 +522,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(VERSION_INTERIM) AC_SUBST(VERSION_INTERIM)
AC_SUBST(VERSION_UPDATE) AC_SUBST(VERSION_UPDATE)
AC_SUBST(VERSION_PATCH) AC_SUBST(VERSION_PATCH)
AC_SUBST(VERSION_EXTRA1)
AC_SUBST(VERSION_EXTRA2)
AC_SUBST(VERSION_EXTRA3)
AC_SUBST(VERSION_PRE) AC_SUBST(VERSION_PRE)
AC_SUBST(VERSION_BUILD) AC_SUBST(VERSION_BUILD)
AC_SUBST(VERSION_OPT) AC_SUBST(VERSION_OPT)

View File

@@ -85,6 +85,20 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[LIBFFI_FOUND=no] [LIBFFI_FOUND=no]
) )
fi fi
# on macos we need a special case for system's libffi as
# headers are located only in sdk in $SYSROOT and in ffi subfolder
if test "x$LIBFFI_FOUND" = xno; then
if test "x$SYSROOT" != "x"; then
AC_CHECK_HEADER([$SYSROOT/usr/include/ffi/ffi.h],
[
LIBFFI_FOUND=yes
LIBFFI_CFLAGS="-I${SYSROOT}/usr/include/ffi"
LIBFFI_LIBS=-lffi
],
[LIBFFI_FOUND=no]
)
fi
fi
if test "x$LIBFFI_FOUND" = xno; then if test "x$LIBFFI_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([ffi]) HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Could not find libffi! $HELP_MSG]) AC_MSG_ERROR([Could not find libffi! $HELP_MSG])

View File

@@ -186,6 +186,9 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
FREETYPE_BASE_DIR="$SYSROOT/usr" FREETYPE_BASE_DIR="$SYSROOT/usr"
if (test "x$OPENJDK_TARGET_CPU_BITS" = "x64"); then 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]) 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 else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location]) 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 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # 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" OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_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 # 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=yes],
[X11_HEADERS_OK=no; break], [X11_HEADERS_OK=no; break],
[ [
@@ -111,7 +117,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
if test "x$X11_HEADERS_OK" = xno; then if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11]) 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 fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be # 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" BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
fi 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 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \ BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
-lrt -lkstat" -lrt -lkstat"

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -130,8 +130,9 @@ SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
# The top-level directory of the source repository # The top-level directory of the source repository
TOPDIR:=@TOPDIR@ 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_CLASSES:=@IMPORT_MODULES_CLASSES@
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@ IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@ IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
@@ -148,6 +149,7 @@ LAUNCHER_NAME:=@LAUNCHER_NAME@
PRODUCT_NAME:=@PRODUCT_NAME@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@ PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@ JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
COMPANY_NAME:=@COMPANY_NAME@ COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@ HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@ MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -165,6 +167,9 @@ VERSION_FEATURE := @VERSION_FEATURE@
VERSION_INTERIM := @VERSION_INTERIM@ VERSION_INTERIM := @VERSION_INTERIM@
VERSION_UPDATE := @VERSION_UPDATE@ VERSION_UPDATE := @VERSION_UPDATE@
VERSION_PATCH := @VERSION_PATCH@ VERSION_PATCH := @VERSION_PATCH@
VERSION_EXTRA1 := @VERSION_EXTRA1@
VERSION_EXTRA2 := @VERSION_EXTRA2@
VERSION_EXTRA3 := @VERSION_EXTRA3@
# The pre-release identifier (string) # The pre-release identifier (string)
VERSION_PRE := @VERSION_PRE@ VERSION_PRE := @VERSION_PRE@
# The build number (numerical) # The build number (numerical)
@@ -203,6 +208,9 @@ VERSION_CFLAGS := \
-DVERSION_INTERIM=$(VERSION_INTERIM) \ -DVERSION_INTERIM=$(VERSION_INTERIM) \
-DVERSION_UPDATE=$(VERSION_UPDATE) \ -DVERSION_UPDATE=$(VERSION_UPDATE) \
-DVERSION_PATCH=$(VERSION_PATCH) \ -DVERSION_PATCH=$(VERSION_PATCH) \
-DVERSION_EXTRA1=$(VERSION_EXTRA1) \
-DVERSION_EXTRA2=$(VERSION_EXTRA2) \
-DVERSION_EXTRA3=$(VERSION_EXTRA3) \
-DVERSION_PRE='"$(VERSION_PRE)"' \ -DVERSION_PRE='"$(VERSION_PRE)"' \
-DVERSION_BUILD=$(VERSION_BUILD) \ -DVERSION_BUILD=$(VERSION_BUILD) \
-DVERSION_OPT='"$(VERSION_OPT)"' \ -DVERSION_OPT='"$(VERSION_OPT)"' \
@@ -222,7 +230,8 @@ ifneq ($(COMPANY_NAME),)
# Only export "VENDOR" to the build if COMPANY_NAME contains a real value. # Only export "VENDOR" to the build if COMPANY_NAME contains a real value.
# Otherwise the default value for VENDOR, which is used to set the "java.vendor" # Otherwise the default value for VENDOR, which is used to set the "java.vendor"
# and "java.vm.vendor" properties is hard-coded into the source code (i.e. in # and "java.vm.vendor" properties is hard-coded into the source code (i.e. in
# System.c in the jdk for "vm.vendor" and vm_version.cpp in the VM for "java.vm.vendor") # VersionProps.java.template in the jdk for "java.vendor" and
# vm_version.cpp in the VM for "java.vm.vendor")
ifneq ($(COMPANY_NAME), N/A) ifneq ($(COMPANY_NAME), N/A)
VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"' VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"'
endif endif
@@ -278,6 +287,9 @@ USE_PRECOMPILED_HEADER := @USE_PRECOMPILED_HEADER@
# Only build headless support or not # Only build headless support or not
ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@ ENABLE_HEADLESS_ONLY := @ENABLE_HEADLESS_ONLY@
# Ship debug symbols (e.g. pdbs on Windows)
SHIP_DEBUG_SYMBOLS := @SHIP_DEBUG_SYMBOLS@
ENABLE_FULL_DOCS := @ENABLE_FULL_DOCS@ ENABLE_FULL_DOCS := @ENABLE_FULL_DOCS@
# JDK_OUTPUTDIR specifies where a working jvm is built. # JDK_OUTPUTDIR specifies where a working jvm is built.
@@ -307,6 +319,8 @@ EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
BUILD_MANPAGES := @BUILD_MANPAGES@ 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 # The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
# it in sync. # it in sync.
BOOT_JDK:=@BOOT_JDK@ BOOT_JDK:=@BOOT_JDK@
@@ -350,6 +364,9 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@ ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@ LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
GRAALUNIT_LIB := @GRAALUNIT_LIB@ GRAALUNIT_LIB := @GRAALUNIT_LIB@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
PACKAGE_PATH=@PACKAGE_PATH@ PACKAGE_PATH=@PACKAGE_PATH@
@@ -380,6 +397,9 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# The highest allowed version of macosx # The highest allowed version of macosx
MACOSX_VERSION_MAX=@MACOSX_VERSION_MAX@ 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: gcc, clang, solstudio, lxc, microsoft...
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@ TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@ TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@
@@ -444,6 +464,7 @@ CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
LIBJSIG_HASHSTYLE_LDFLAGS := @LIBJSIG_HASHSTYLE_LDFLAGS@ LIBJSIG_HASHSTYLE_LDFLAGS := @LIBJSIG_HASHSTYLE_LDFLAGS@
LIBJSIG_NOEXECSTACK_LDFLAGS := @LIBJSIG_NOEXECSTACK_LDFLAGS@ LIBJSIG_NOEXECSTACK_LDFLAGS := @LIBJSIG_NOEXECSTACK_LDFLAGS@
FDLIBM_CFLAGS := @FDLIBM_CFLAGS@
JVM_CFLAGS := @JVM_CFLAGS@ JVM_CFLAGS := @JVM_CFLAGS@
JVM_LDFLAGS := @JVM_LDFLAGS@ JVM_LDFLAGS := @JVM_LDFLAGS@
JVM_ASFLAGS := @JVM_ASFLAGS@ JVM_ASFLAGS := @JVM_ASFLAGS@
@@ -454,6 +475,7 @@ JVM_RCFLAGS := @JVM_RCFLAGS@
EXTRA_CFLAGS = @EXTRA_CFLAGS@ EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@ EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@ EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
EXTRA_ASFLAGS = @EXTRA_ASFLAGS@
CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@ CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@
@@ -462,6 +484,9 @@ CPP:=@FIXPATH@ @CPP@
# The linker can be gcc or ld on unix systems, or link.exe on windows systems. # The linker can be gcc or ld on unix systems, or link.exe on windows systems.
LD:=@FIXPATH@ @LD@ LD:=@FIXPATH@ @LD@
# Linker used by the jaotc tool for AOT compilation.
LD_JAOTC:=@LD_JAOTC@
# Xcode SDK path # Xcode SDK path
SDKROOT:=@SDKROOT@ SDKROOT:=@SDKROOT@
@@ -534,6 +559,7 @@ COPY_DEBUG_SYMBOLS := @COPY_DEBUG_SYMBOLS@
ZIP_EXTERNAL_DEBUG_SYMBOLS := @ZIP_EXTERNAL_DEBUG_SYMBOLS@ ZIP_EXTERNAL_DEBUG_SYMBOLS := @ZIP_EXTERNAL_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@ CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
ASFLAGS_DEBUG_SYMBOLS:=@ASFLAGS_DEBUG_SYMBOLS@
# #
# Compress (or not) jars # Compress (or not) jars
@@ -716,12 +742,13 @@ EXPR:=@EXPR@
FILE:=@FILE@ FILE:=@FILE@
DOT:=@DOT@ DOT:=@DOT@
HG:=@HG@ HG:=@HG@
GIT:=@GIT@
OBJCOPY:=@OBJCOPY@ OBJCOPY:=@OBJCOPY@
SETFILE:=@SETFILE@ SETFILE:=@SETFILE@
XATTR:=@XATTR@ XATTR:=@XATTR@
JT_HOME:=@JT_HOME@ JT_HOME:=@JT_HOME@
JTREGEXE:=@JTREGEXE@ JTREGEXE:=@JTREGEXE@
JIB_JAR:=@JIB_JAR@ JIB_HOME:=@JIB_HOME@
XCODEBUILD=@XCODEBUILD@ XCODEBUILD=@XCODEBUILD@
DTRACE := @DTRACE@ DTRACE := @DTRACE@
FIXPATH:=@FIXPATH@ FIXPATH:=@FIXPATH@
@@ -848,13 +875,27 @@ DOCS_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
# Output docs directly into image # Output docs directly into image
DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR) DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
# Static libs image
STATIC_LIBS_IMAGE_SUBDIR := static-libs
STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR)
# Graal builder image
GRAAL_BUILDER_IMAGE_SUBDIR := graal-builder-jdk
GRAAL_BUILDER_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(GRAAL_BUILDER_IMAGE_SUBDIR)
# Macosx bundles directory definitions # Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
JRE_MACOSX_BUNDLE_SUBDIR=jre-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) JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR) JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
JDK_MACOSX_CONTENTS_SUBDIR=jdk-$(VERSION_NUMBER).jdk/Contents JDK_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR_SIGNED)
JRE_MACOSX_CONTENTS_SUBDIR=jre-$(VERSION_NUMBER).jre/Contents 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) JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR) JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
@@ -871,12 +912,15 @@ else
JDK_BUNDLE_EXTENSION := tar.gz JDK_BUNDLE_EXTENSION := tar.gz
endif endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION) 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 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_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 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 DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME) JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME) JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME) TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME) TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)

View File

@@ -429,9 +429,10 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# There is no specific version flag, but all output starts with a version string. # There is no specific version flag, but all output starts with a version string.
# First line typically looks something like: # First line typically looks something like:
# Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86 # Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
# but the compiler name may vary depending on locale.
COMPILER_VERSION_OUTPUT=`$COMPILER 2>&1 | $HEAD -n 1 | $TR -d '\r'` COMPILER_VERSION_OUTPUT=`$COMPILER 2>&1 | $HEAD -n 1 | $TR -d '\r'`
# Check that this is likely to be Microsoft CL.EXE. # Check that this is likely to be Microsoft CL.EXE.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Microsoft.*Compiler" > /dev/null $ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Microsoft" > /dev/null
if test $? -ne 0; then if test $? -ne 0; then
AC_MSG_NOTICE([The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler.]) AC_MSG_NOTICE([The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler.])
AC_MSG_NOTICE([The result from running it was: "$COMPILER_VERSION_OUTPUT"]) AC_MSG_NOTICE([The result from running it was: "$COMPILER_VERSION_OUTPUT"])
@@ -460,7 +461,7 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \ COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'` $SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \ COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'` $SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like # clang --version output typically looks like
# Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) # Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
@@ -589,7 +590,7 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION], AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
[ [
LINKER=[$]$1 LINKER=[$]$1
LINKER_NAME=$2 LINKER_NAME="$2"
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# cc -Wl,-V output typically looks like # cc -Wl,-V output typically looks like
@@ -709,12 +710,18 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
fi fi
LDCXX="$LD" LDCXX="$LD"
# jaotc being a windows program expects the linker to be supplied with exe suffix.
LD_JAOTC="$LD$EXE_SUFFIX"
else else
# All other toolchains use the compiler to link. # All other toolchains use the compiler to link.
LD="$CC" LD="$CC"
LDCXX="$CXX" LDCXX="$CXX"
# jaotc expects 'ld' as the linker rather than the compiler.
BASIC_CHECK_TOOLS([LD_JAOTC], ld)
BASIC_FIXUP_EXECUTABLE(LD_JAOTC)
fi fi
AC_SUBST(LD) AC_SUBST(LD)
AC_SUBST(LD_JAOTC)
# FIXME: it should be CXXLD, according to standard (cf CXXCPP) # FIXME: it should be CXXLD, according to standard (cf CXXCPP)
AC_SUBST(LDCXX) AC_SUBST(LDCXX)
@@ -1022,6 +1029,12 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
# This is later checked when setting flags. # This is later checked when setting flags.
fi 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 # Setup hotspot lecagy names for toolchains
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
if test "x$TOOLCHAIN_TYPE" = xclang; then if test "x$TOOLCHAIN_TYPE" = xclang; then
@@ -1144,5 +1157,5 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JIB],
fi fi
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 SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
eval VS_ENV_ARGS="\${VS_ENV_ARGS_${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 # 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. # version of Visual Studio or that --with-toolchain-version was also set.
if test "x$with_tools_dir" != x; then if test "x$with_tools_dir" != x; then
@@ -202,8 +204,6 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
fi fi
fi fi
VS_ENV_CMD=""
if test "x$VS_COMNTOOLS" != x; then if test "x$VS_COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}], TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable]) [$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
@@ -693,7 +693,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$USE_UCRT" = "xtrue"; then if test "x$USE_UCRT" = "xtrue"; then
AC_MSG_CHECKING([for UCRT DLL dir]) AC_MSG_CHECKING([for UCRT DLL dir])
if test "x$with_ucrt_dll_dir" != x; then 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_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir]) AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
else else
@@ -713,8 +713,16 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
fi fi
UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir" UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir"
if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no]) # Try with version subdir
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR]) 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 else
AC_MSG_RESULT($UCRT_DLL_DIR) AC_MSG_RESULT($UCRT_DLL_DIR)
fi fi

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -23,16 +23,21 @@
# questions. # questions.
# #
# Default version numbers to use unless overridden by configure # Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=11 DEFAULT_VERSION_FEATURE=11
DEFAULT_VERSION_INTERIM=0 DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0 DEFAULT_VERSION_UPDATE=9
DEFAULT_VERSION_PATCH=0 DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_DATE=2018-09-25 DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2020-10-20
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`" DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0 DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11" DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
DEFAULT_PROMOTED_VERSION_PRE=ea
LAUNCHER_NAME=openjdk LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK PRODUCT_NAME=OpenJDK
@@ -40,6 +45,9 @@ PRODUCT_SUFFIX="Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A COMPANY_NAME=N/A
HOTSPOT_VM_DISTRO="OpenJDK" HOTSPOT_VM_DISTRO="OpenJDK"
VENDOR_URL=https://openjdk.java.net/
VENDOR_URL_BUG=https://bugreport.java.com/bugreport/
VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp
# Might need better names for these # Might need better names for these
MACOSX_BUNDLE_NAME_BASE="OpenJDK" MACOSX_BUNDLE_NAME_BASE="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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -122,9 +122,9 @@ define SetupJarArchiveBody
ifeq ($$($1_DEPENDENCIES), ) ifeq ($$($1_DEPENDENCIES), )
# Add all source roots to the find cache since we are likely going to run find # 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. # 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)), \ $1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
$$(call CacheFind,$$($1_SRCS))) $$(call FindFiles,$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS)) ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES)) $1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
endif endif
@@ -135,7 +135,7 @@ define SetupJarArchiveBody
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \ $1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES)) $$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
ifeq (,$$($1_SKIP_METAINF)) 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
endif endif
# The dependency list should never be empty # 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -221,13 +221,12 @@ define SetupJavaCompilationBody
) \ ) \
) )
$$(call MakeDir,$$($1_BIN)) $$(call MakeDir,$$($1_BIN))
# Add all source roots to the find cache since we are likely going to run find # Order src files according to the order of the src dirs. Correct ordering is
# on these more than once. The cache will only be updated if necessary. # needed for correct overriding between different source roots.
$$(eval $$(call FillCacheFind, $$($1_SRC))) $1_ALL_SRC_RAW := $$(call FindFiles, $$($1_SRC))
# Find all files in the source trees. Preserve order of source roots so that $1_ALL_SRCS := $$($1_EXTRA_FILES) \
# the first version in case of multiple instances of the same file is selected. $$(foreach d, $$($1_SRC), $$(filter $$d%, $$($1_ALL_SRC_RAW)))
# 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))
# Extract the java files. # Extract the java files.
$1_SRCS := $$(filter %.java, $$($1_ALL_SRCS)) $1_SRCS := $$(filter %.java, $$($1_ALL_SRCS))

View File

@@ -47,6 +47,36 @@ FindSrcDirsForComponent += \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \ $(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2))) $(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
# Find a library. Used for declaring dependencies on libraries in different
# modules.
# 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
# If building static versions of libraries, make these return empty to avoid
# declaring dependencies.
ifeq ($(STATIC_LIBS), true)
FindLib =
FindStaticLib =
endif
GetJavaHeaderDir = \ GetJavaHeaderDir = \
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1)) $(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))

View File

@@ -64,10 +64,12 @@ define NEWLINE
endef endef
# In GNU Make 4.0 and higher, there is a file function for writing to files. # Certain features only work in newer version of GNU Make. The build will still
# function in 3.81, but will be less performant.
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION)))) ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
HAS_FILE_FUNCTION := true HAS_FILE_FUNCTION := true
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
RWILDCARD_WORKS := true
endif endif
############################## ##############################
@@ -347,6 +349,7 @@ SOURCE_REVISION_TRACKER := $(SUPPORT_OUTPUTDIR)/src-rev/source-revision-tracker
FindAllReposAbs = \ FindAllReposAbs = \
$(strip $(sort $(dir $(filter-out $(TOPDIR)/build/%, $(wildcard \ $(strip $(sort $(dir $(filter-out $(TOPDIR)/build/%, $(wildcard \
$(addprefix $(TOPDIR)/, .hg */.hg */*/.hg */*/*/.hg */*/*/*/.hg) \ $(addprefix $(TOPDIR)/, .hg */.hg */*/.hg */*/*/.hg */*/*/*/.hg) \
$(addprefix $(TOPDIR)/, .git */.git */*/.git */*/*/.git */*/*/*/.git) \
))))) )))))
# Locate all hg repositories included in the forest, as relative paths # Locate all hg repositories included in the forest, as relative paths
@@ -465,8 +468,8 @@ endef
################################################################################ ################################################################################
# Replace question marks with space in string. This macro needs to be called on # Replace question marks with space in string. This macro needs to be called on
# files from CacheFind in case any of them contains space in their file name, # files from FindFiles in case any of them contains space in their file name,
# since CacheFind replaces space with ?. # since FindFiles replaces space with ?.
# Param 1 - String to replace in # Param 1 - String to replace in
DecodeSpace = \ DecodeSpace = \
$(subst ?,$(SPACE),$(strip $1)) $(subst ?,$(SPACE),$(strip $1))
@@ -610,7 +613,8 @@ DirToDotDot = \
# $2 - Directory to compute the relative path from # $2 - Directory to compute the relative path from
RelativePath = \ RelativePath = \
$(eval $1_prefix := $(call FindCommonPathPrefix, $1, $2)) \ $(eval $1_prefix := $(call FindCommonPathPrefix, $1, $2)) \
$(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)/%, %, $2))) \ $(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)%, %, $2))) \
$(eval $1_dotdots := $(if $($(strip $1)_dotdots),$($(strip $1)_dotdots),.)) \
$(eval $1_suffix := $(patsubst $($(strip $1)_prefix)/%, %, $1)) \ $(eval $1_suffix := $(patsubst $($(strip $1)_prefix)/%, %, $1)) \
$($(strip $1)_dotdots)/$($(strip $1)_suffix) $($(strip $1)_dotdots)/$($(strip $1)_suffix)
@@ -684,73 +688,116 @@ uppercase = \
################################################################################ ################################################################################
ifneq ($(DISABLE_CACHE_FIND), true) # Recursive wildcard function. Walks down directories recursively and matches
# In Cygwin, finds are very costly, both because of expensive forks and because # files with the search patterns. Patterns use standard file wildcards (* and
# of bad file system caching. Find is used extensively in $(shell) commands to # ?).
# find source files. This makes rerunning make with no or few changes rather #
# expensive. To speed this up, these two macros are used to cache the results # $1 - Directories to start search in
# of simple find commands for reuse. # $2 - Search patterns
# rwildcard = \
# Runs a find and stores both the directories where it was run and the results. $(strip \
# This macro can be called multiple times to add to the cache. Only finds files $(foreach d, \
# with no filters. $(patsubst %/,%,$(sort $(dir $(wildcard $(addsuffix /*/*, $(strip $1)))))), \
# $(call rwildcard,$d,$2) \
# Files containing space will get spaces replaced with ? because GNU Make ) \
# cannot handle lists of files with space in them. By using ?, make will match $(call DoubleDollar, $(wildcard $(foreach p, $2, $(addsuffix /$(strip $p), $(strip $1))))) \
# the wildcard to space in many situations so we don't need to replace back
# to space on every use. While not a complete solution it does allow some uses
# of CacheFind to function with spaces in file names, including for
# SetupCopyFiles.
#
# Needs to be called with $(eval )
#
# Even if the performance benifit is negligible on other platforms, keep the
# functionality active unless explicitly disabled to exercise it more.
#
# Initialize FIND_CACHE_DIRS with := to make it a non recursively-expanded variable
FIND_CACHE_DIRS :=
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define FillCacheFind
# Filter out already cached dirs. The - is needed when FIND_CACHE_DIRS is empty
# since filter out will then return empty.
FIND_CACHE_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS), $1)
ifneq ($$(FIND_CACHE_NEW_DIRS), )
# Remove any trailing slash from dirs in the cache dir list
FIND_CACHE_DIRS += $$(patsubst %/,%, $$(FIND_CACHE_NEW_DIRS))
FIND_CACHE := $$(sort $$(FIND_CACHE) \
$$(shell $(FIND) $$(wildcard $$(FIND_CACHE_NEW_DIRS)) \
\( -type f -o -type l \) $2 | $(TR) ' ' '?'))
endif
endef
# Mimics find by looking in the cache if all of the directories have been cached.
# Otherwise reverts to shell find. This is safe to call on all platforms, even if
# cache is deactivated.
#
# $1 can be either a directory or a file. If it's a directory, make
# sure we have exactly one trailing slash before the wildcard.
# The extra - is needed when FIND_CACHE_DIRS is empty but should be harmless.
#
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define CacheFind
$(if $(filter-out $(addsuffix /%,- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS),$1), \
$(if $(wildcard $1), $(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 \
| $(TR) ' ' '?')), \
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(FIND_CACHE)))
endef
else
# If CacheFind is disabled, just run the find command.
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define CacheFind
$(if $(wildcard $1, \
$(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 | $(TR) ' ' '?') \
) )
endef
# Find non directories using recursive wildcard function. This function may
# be used directly when a small amount of directories is expected to be
# searched and caching is not expected to be of use.
#
# $1 - Directory to start search in
# $2 - Optional search patterns, defaults to '*'.
WildcardFindFiles = \
$(sort $(strip \
$(eval WildcardFindFiles_result := $(call rwildcard,$(patsubst %/,%,$1),$(if $(strip $2),$2,*))) \
$(filter-out $(patsubst %/,%,$(sort $(dir $(WildcardFindFiles_result)))), \
$(WildcardFindFiles_result) \
) \
))
# Find non directories using the find utility in the shell. Safe to call for
# non existing directories, or directories containing wildcards.
#
# Files containing space will get spaces replaced with ? because GNU Make
# cannot handle lists of files with space in them. By using ?, make will match
# the wildcard to space in many situations so we don't need to replace back
# to space on every use. While not a complete solution it does allow some uses
# of FindFiles to function with spaces in file names, including for
# SetupCopyFiles. Unfortunately this does not work for WildcardFindFiles so
# if files with spaces are anticipated, use ShellFindFiles directly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns, empty means find everything. Patterns use
# standard file wildcards (* and ?) and should not be quoted.
# $3 - Optional options to find.
ShellFindFiles = \
$(if $(wildcard $1), \
$(sort \
$(shell $(FIND) $3 $(patsubst %/,%,$(wildcard $1)) \( -type f -o -type l \) \
$(if $(strip $2), -a \( -name "$(firstword $2)" \
$(foreach p, $(filter-out $(firstword $2), $2), -o -name "$(p)") \)) \
| $(TR) ' ' '?' \
) \
) \
)
# Find non directories using the method most likely to work best for the
# current build host
#
# $1 - Directory to start search in
# $2 - Optional search patterns, defaults to '*'.
ifeq ($(OPENJDK_BUILD_OS)-$(RWILDCARD_WORKS), windows-true)
DirectFindFiles = $(WildcardFindFiles)
else
DirectFindFiles = $(ShellFindFiles)
endif
# Finds files using a cache that is populated by FillFindCache below. If any of
# the directories given have not been cached, DirectFindFiles is used for
# everything. Caching is especially useful in Cygwin, where file finds are very
# costly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns. If used, no caching is done.
CacheFindFiles_CACHED_DIRS :=
CacheFindFiles_CACHED_FILES :=
CacheFindFiles = \
$(if $2, \
$(call DirectFindFiles, $1, $2) \
, \
$(if $(filter-out $(addsuffix /%, $(CacheFindFiles_CACHED_DIRS)) \
$(CacheFindFiles_CACHED_DIRS), $1), \
$(call DirectFindFiles, $1) \
, \
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(CacheFindFiles_CACHED_FILES)) \
) \
)
# Explicitly adds files to the find cache used by CacheFindFiles.
#
# $1 - Directories to start search in
FillFindCache = \
$(eval CacheFindFiles_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
$$(CacheFindFiles_CACHED_DIRS)) $$(CacheFindFiles_CACHED_DIRS), $1)) \
$(if $(CacheFindFiles_NEW_DIRS), \
$(eval CacheFindFiles_CACHED_DIRS += $$(patsubst %/,%,$$(CacheFindFiles_NEW_DIRS))) \
$(eval CacheFindFiles_CACHED_FILES := $$(sort $$(CacheFindFiles_CACHED_FILES) \
$$(call DirectFindFiles, $$(CacheFindFiles_NEW_DIRS)))) \
)
# Findfiles is the default macro that should be used to find files in the file
# system. This function does not always support files with spaces in the names.
# If files with spaces are anticipated, use ShellFindFiles directly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns, empty means find everything. Patterns use
# standard file wildcards (* and ?) and should not be quoted.
ifeq ($(DISABLE_CACHE_FIND), true)
FindFiles = $(DirectFindFiles)
else
FindFiles = $(CacheFindFiles)
endif endif
################################################################################ ################################################################################
@@ -841,7 +888,7 @@ endef
# Parameter 1 is the name of the rule, and is also the name of the variable. # Parameter 1 is the name of the rule, and is also the name of the variable.
# #
# Remaining parameters are named arguments. These include: # Remaining parameters are named arguments. These include:
# KEYWORDS A list of valid keywords # SINGLE_KEYWORDS A list of valid keywords with single string values
# STRING_KEYWORDS A list of valid keywords, processed as string. This means # STRING_KEYWORDS A list of valid keywords, processed as string. This means
# that '%20' will be replaced by ' ' to allow for multi-word strings. # that '%20' will be replaced by ' ' to allow for multi-word strings.
# #
@@ -855,7 +902,7 @@ define ParseKeywordVariableBody
$$(eval mangled_part_eval := $$(call DoubleDollar, $$(mangled_part))) \ $$(eval mangled_part_eval := $$(call DoubleDollar, $$(mangled_part))) \
$$(eval part := $$$$(subst ||||,$$$$(SPACE),$$$$(mangled_part_eval))) \ $$(eval part := $$$$(subst ||||,$$$$(SPACE),$$$$(mangled_part_eval))) \
$$(eval $1_NO_MATCH := true) \ $$(eval $1_NO_MATCH := true) \
$$(foreach keyword, $$($1_KEYWORDS), \ $$(foreach keyword, $$($1_SINGLE_KEYWORDS), \
$$(eval keyword_eval := $$(call DoubleDollar, $$(keyword))) \ $$(eval keyword_eval := $$(call DoubleDollar, $$(keyword))) \
$$(if $$(filter $$(keyword)=%, $$(part)), \ $$(if $$(filter $$(keyword)=%, $$(part)), \
$$(eval $(strip $1)_$$$$(keyword_eval) := $$$$(strip $$$$(patsubst $$$$(keyword_eval)=%, %, $$$$(part)))) \ $$(eval $(strip $1)_$$$$(keyword_eval) := $$$$(strip $$$$(patsubst $$$$(keyword_eval)=%, %, $$$$(part)))) \
@@ -870,11 +917,11 @@ define ParseKeywordVariableBody
) \ ) \
) \ ) \
$$(if $$($1_NO_MATCH), \ $$(if $$($1_NO_MATCH), \
$$(if $$(filter $$(part), $$($1_KEYWORDS) $$($1_STRING_KEYWORDS)), \ $$(if $$(filter $$(part), $$($1_SINGLE_KEYWORDS) $$($1_STRING_KEYWORDS)), \
$$(info Keyword $$(part) for $1 needs to be assigned a value.) \ $$(info Keyword $$(part) for $1 needs to be assigned a value.) \
, \ , \
$$(info $$(part) is not a valid keyword for $1.) \ $$(info $$(part) is not a valid keyword for $1.) \
$$(info Valid keywords: $$($1_KEYWORDS) $$($1_STRING_KEYWORDS).) \ $$(info Valid keywords: $$($1_SINGLE_KEYWORDS) $$($1_STRING_KEYWORDS).) \
) \ ) \
$$(error Cannot continue) \ $$(error Cannot continue) \
) \ ) \
@@ -936,6 +983,22 @@ else
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2) $(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2)
endif endif
################################################################################
# FixPathList
#
# On Windows, converts a cygwin/unix style path list (colon-separated) into
# the native format (mixed mode, semicolon-separated). On other platforms,
# return the path list unchanged.
################################################################################
ifeq ($(OPENJDK_TARGET_OS), windows)
FixPathList = \
$(subst @,$(SPACE),$(subst $(SPACE),;,$(foreach entry,$(subst :,$(SPACE),\
$(subst $(SPACE),@,$(strip $1))),$(call FixPath, $(entry)))))
else
FixPathList = \
$1
endif
################################################################################ ################################################################################
# DependOnVariable # DependOnVariable
# #
@@ -973,15 +1036,16 @@ DependOnVariableFileName = \
# Param 2 - (optional) name of file to store value in # Param 2 - (optional) name of file to store value in
DependOnVariableHelper = \ DependOnVariableHelper = \
$(strip \ $(strip \
$(eval -include $(call DependOnVariableFileName, $1, $2)) \ $(eval $1_filename := $(call DependOnVariableFileName, $1, $2)) \
$(if $(wildcard $($1_filename)), $(eval include $($1_filename))) \
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\ $(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\
$(call MakeDir, $(dir $(call DependOnVariableFileName, $1, $2))) \ $(call MakeDir, $(dir $($1_filename))) \
$(if $(findstring $(LOG_LEVEL), trace), \ $(if $(findstring $(LOG_LEVEL), trace), \
$(info NewVariable $1: >$(strip $($1))<) \ $(info NewVariable $1: >$(strip $($1))<) \
$(info OldVariable $1: >$(strip $($1_old))<)) \ $(info OldVariable $1: >$(strip $($1_old))<)) \
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \ $(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
$(call DependOnVariableFileName, $1, $2))) \ $($1_filename))) \
$(call DependOnVariableFileName, $1, $2) \ $($1_filename) \
) )
# Main macro # Main macro

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -63,6 +63,7 @@ BOOT_MODULES += \
jdk.management \ jdk.management \
jdk.management.jfr \ jdk.management.jfr \
jdk.management.agent \ jdk.management.agent \
jdk.naming.ldap \
jdk.net \ jdk.net \
jdk.sctp \ jdk.sctp \
jdk.unsupported \ jdk.unsupported \
@@ -165,6 +166,7 @@ DOCS_MODULES += \
jdk.management.agent \ jdk.management.agent \
jdk.management.jfr \ jdk.management.jfr \
jdk.naming.dns \ jdk.naming.dns \
jdk.naming.ldap \
jdk.naming.rmi \ jdk.naming.rmi \
jdk.net \ jdk.net \
jdk.pack \ jdk.pack \

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,29 @@ define GetSymbols
fi fi
endef endef
################################################################################
# Creates a recipe that creates a compile_commands.json fragment. Remove any
# occurences of FIXPATH programs from the command to show the actual invocation.
#
# Param 1: Name of file to create
# Param 2: Working directory
# Param 3: Source file
# Param 4: Compile command
# Param 5: Object name
################################################################################
define WriteCompileCommandsFragment
$(call LogInfo, Creating compile commands fragment for $(notdir $3))
$(call MakeDir, $(dir $1))
$(call WriteFile,{ \
"directory": "$(strip $2)"$(COMMA) \
"file": "$(strip $3)"$(COMMA) \
"command": "$(strip $(subst $(DQUOTE),\$(DQUOTE),$(subst \,\\,\
$(subst $(FIXPATH),,$4))))"$(COMMA) \
"output": "$(strip $5)" \
}$(COMMA), \
$1)
endef
################################################################################ ################################################################################
# Define a native toolchain configuration that can be used by # Define a native toolchain configuration that can be used by
# SetupNativeCompilation calls # SetupNativeCompilation calls
@@ -183,6 +206,81 @@ DEPENDENCY_TARGET_SED_PATTERN := \
-e 's/$$$$/ :/' \ -e 's/$$$$/ :/' \
# #
################################################################################
# When absolute paths are not allowed in the output, and the compiler does not
# support any options to avoid it, we need to rewrite compile commands to use
# relative paths. By doing this, the __FILE__ macro will resolve to relative
# paths. The relevant input paths on the command line are the -I flags and the
# path to the source file itself.
#
# The macro MakeCommandRelative is used to rewrite the command line like this:
# 'CD $(WORKSPACE_ROOT) && <cmd>'
# and changes all paths in cmd to be relative to the workspace root. This only
# works properly if the build dir is inside the workspace root. If it's not,
# relative paths are still calculated, but depending on the distance between the
# dirs, paths in the build dir may end up as essentially absolute anyway.
#
# The fix-deps-file macro is used to adjust the contents of the generated make
# dependency files to contain paths compatible with make.
#
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
MakeCommandRelative = \
$(CD) $(WORKSPACE_ROOT) && \
$(foreach o, $1, \
$(if $(filter $(WORKSPACE_ROOT)/% $(OUTPUTDIR)/%, $o), \
$(call RelativePath, $o, $(WORKSPACE_ROOT)) \
, \
$(if $(filter -I$(WORKSPACE_ROOT)/%, $o), \
-I$(call RelativePath, $(patsubst -I%, %, $o), $(WORKSPACE_ROOT)) \
, \
$o \
) \
) \
)
# When compiling with relative paths, the deps file comes out with relative
# paths.
ifeq ($(TOOLCHAIN_TYPE), solstudio)
define fix-deps-file
$(SED) -e 's|\./|$(WORKSPACE_ROOT)/|g' $1.tmp > $1
endef
else
define fix-deps-file
$(SED) -e 's|^\([ ]*\)|\1$(WORKSPACE_ROOT)|' $1.tmp > $1
endef
endif
else
# By default the MakeCommandRelative macro does nothing.
MakeCommandRelative = $1
# Even with absolute paths on the command line, the Solaris studio compiler
# doesn't output the full path to the object file in the generated deps files.
# For other toolchains, no adjustment is needed.
ifeq ($(TOOLCHAIN_TYPE), solstudio)
define fix-deps-file
$(SED) 's|^$$(@F):|$$@:|' $1.tmp > $1
endef
else
define fix-deps-file
$(MV) $1.tmp $1
endef
endif
endif
################################################################################
# GetEntitlementsFile
# Find entitlements file for executable when signing on macosx. If no
# specialized file is found, returns the default file.
# $1 Executable to find entitlements file for.
ENTITLEMENTS_DIR := $(TOPDIR)/make/data/macosxsigning
DEFAULT_ENTITLEMENTS_FILE := $(ENTITLEMENTS_DIR)/default.plist
GetEntitlementsFile = \
$(foreach f, $(ENTITLEMENTS_DIR)/$(strip $(notdir $1)).plist, \
$(if $(wildcard $f), $f, $(DEFAULT_ENTITLEMENTS_FILE)) \
)
################################################################################ ################################################################################
# Create the recipe needed to compile a single native source file. # Create the recipe needed to compile a single native source file.
# #
@@ -193,7 +291,6 @@ DEPENDENCY_TARGET_SED_PATTERN := \
# Remaining parameters are named arguments: # Remaining parameters are named arguments:
# FILE - The full path of the source file to compiler # FILE - The full path of the source file to compiler
# BASE - The name of the rule for the entire binary to build ($1) # BASE - The name of the rule for the entire binary to build ($1)
# DISABLE_THIS_FILE_DEFINE - Set to true to disable the THIS_FILE define.
# #
SetupCompileNativeFile = $(NamedParamsMacroTemplate) SetupCompileNativeFile = $(NamedParamsMacroTemplate)
define SetupCompileNativeFileBody define SetupCompileNativeFileBody
@@ -203,17 +300,18 @@ define SetupCompileNativeFileBody
$1_OBJ := $$($$($1_BASE)_OBJECT_DIR)/$$(call replace_with_obj_extension, \ $1_OBJ := $$($$($1_BASE)_OBJECT_DIR)/$$(call replace_with_obj_extension, \
$$($1_FILENAME)) $$($1_FILENAME))
# Generate the corresponding compile_commands.json fragment.
$1_OBJ_JSON = $$(MAKESUPPORT_OUTPUTDIR)/compile-commands/$$(subst /,_,$$(subst \
$$(OUTPUTDIR)/,,$$($1_OBJ))).json
$$($1_BASE)_ALL_OBJS_JSON += $$($1_OBJ_JSON)
# Only continue if this object file hasn't been processed already. This lets # Only continue if this object file hasn't been processed already. This lets
# the first found source file override any other with the same name. # the first found source file override any other with the same name.
ifeq ($$(findstring $$($1_OBJ), $$($$($1_BASE)_OBJS_SO_FAR)), ) ifeq ($$($1_OBJ_PROCESSED), )
$$($1_BASE)_OBJS_SO_FAR += $$($1_OBJ) $1_OBJ_PROCESSED := true
# This is the definite source file to use for $1_FILENAME. # This is the definite source file to use for $1_FILENAME.
$1_SRC_FILE := $$($1_FILE) $1_SRC_FILE := $$($1_FILE)
ifneq ($$($1_DISABLE_THIS_FILE_DEFINE), true)
$1_THIS_FILE = -DTHIS_FILE='"$$(<F)"'
endif
ifeq ($$($1_OPTIMIZATION), ) ifeq ($$($1_OPTIMIZATION), )
$1_OPT_CFLAGS := $$($$($1_BASE)_OPT_CFLAGS) $1_OPT_CFLAGS := $$($$($1_BASE)_OPT_CFLAGS)
$1_OPT_CXXFLAGS := $$($$($1_BASE)_OPT_CXXFLAGS) $1_OPT_CXXFLAGS := $$($$($1_BASE)_OPT_CXXFLAGS)
@@ -251,28 +349,29 @@ define SetupCompileNativeFileBody
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($$($1_BASE)_SYSROOT_CFLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \ $1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS) $$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), ) ifneq ($$(filter %.c, $$($1_FILENAME)), )
# Compile as a C file # Compile as a C file
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CFLAGS) \ $1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CFLAGS) \
$$($1_OPT_CFLAGS) $$($1_CFLAGS) $$($1_THIS_FILE) -c $$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CC) $1_COMPILER := $$($$($1_BASE)_CC)
$1_DEP_FLAG := $(C_FLAG_DEPS) $1_DEP_FLAG := $(C_FLAG_DEPS)
else ifneq ($$(filter %.m, $$($1_FILENAME)), ) else ifneq ($$(filter %.m, $$($1_FILENAME)), )
# Compile as an Objective-C file # Compile as an Objective-C file
$1_FLAGS := -x objective-c $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) \ $1_FLAGS := -x objective-c $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) \
$$($1_BASE_CFLAGS) $$($1_OPT_CFLAGS) $$($1_CFLAGS) $$($1_THIS_FILE) -c $$($1_BASE_CFLAGS) $$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CC) $1_COMPILER := $$($$($1_BASE)_CC)
$1_DEP_FLAG := $(C_FLAG_DEPS) $1_DEP_FLAG := $(C_FLAG_DEPS)
else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), ) else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), )
# Compile as assembler file # Compile as assembler file
$1_FLAGS := $$($$($1_BASE)_ASFLAGS) $1_FLAGS := $$($1_BASE_ASFLAGS)
$1_COMPILER := $(AS) $1_COMPILER := $(AS)
$1_DEP_FLAG := $1_DEP_FLAG :=
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), ) else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
# Compile as a C++ or Objective-C++ file # Compile as a C++ or Objective-C++ file
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \ $1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \
$$($1_OPT_CXXFLAGS) $$($1_CXXFLAGS) $$($1_THIS_FILE) -c $$($1_OPT_CXXFLAGS) $$($1_CXXFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CXX) $1_COMPILER := $$($$($1_BASE)_CXX)
$1_DEP_FLAG := $(CXX_FLAG_DEPS) $1_DEP_FLAG := $(CXX_FLAG_DEPS)
else else
@@ -281,14 +380,18 @@ define SetupCompileNativeFileBody
ifeq ($$(filter %.s %.S, $$($1_FILENAME)), ) ifeq ($$(filter %.s %.S, $$($1_FILENAME)), )
# And this is the dependency file for this obj file. # And this is the dependency file for this obj file.
$1_DEP := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ)) $1_DEPS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ))
# The dependency target file lists all dependencies as empty targets to # The dependency target file lists all dependencies as empty targets to
# avoid make error "No rule to make target" for removed files # avoid make error "No rule to make target" for removed files
$1_DEP_TARGETS := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ)) $1_DEPS_TARGETS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ))
# Include previously generated dependency information. (if it exists) # Only try to load individual dependency information files if the global
-include $$($1_DEP) # file hasn't been loaded (could happen if make was interrupted).
-include $$($1_DEP_TARGETS) ifneq ($$($$($1_BASE)_DEPS_FILE_LOADED), true)
# Include previously generated dependency information. (if it exists)
-include $$($1_DEPS_FILE)
-include $$($1_DEPS_TARGETS_FILE)
endif
endif endif
ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), ) ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), )
@@ -296,28 +399,29 @@ define SetupCompileNativeFileBody
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$($1_OBJ).vardeps) $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$($1_OBJ).vardeps)
endif endif
$$($1_OBJ): $$($1_SRC_FILE) $$($$($1_BASE)_COMPILE_VARDEPS_FILE) \ $1_OBJ_DEPS := $$($1_SRC_FILE) $$($$($1_BASE)_COMPILE_VARDEPS_FILE) \
$$($$($1_BASE)_EXTRA_DEPS) $$($1_VARDEPS_FILE) | $$($$($1_BASE)_BUILD_INFO) $$($$($1_BASE)_EXTRA_DEPS) $$($1_VARDEPS_FILE)
$1_COMPILE_OPTIONS := $$($1_FLAGS) $(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE)
$$($1_OBJ_JSON): $$($1_OBJ_DEPS)
$$(call WriteCompileCommandsFragment, $$@, $$(PWD), $$($1_SRC_FILE), \
$$($1_COMPILER) $$($1_COMPILE_OPTIONS), $$($1_OBJ))
$$($1_OBJ): $$($1_OBJ_DEPS) | $$($$($1_BASE)_BUILD_INFO)
$$(call LogInfo, Compiling $$($1_FILENAME) (for $$($$($1_BASE)_BASENAME))) $$(call LogInfo, Compiling $$($1_FILENAME) (for $$($$($1_BASE)_BASENAME)))
$$(call MakeDir, $$(@D)) $$(call MakeDir, $$(@D))
ifneq ($(TOOLCHAIN_TYPE), microsoft) ifneq ($(TOOLCHAIN_TYPE), microsoft)
ifeq ($(TOOLCHAIN_TYPE)$$(filter %.s, $$($1_FILENAME)), solstudio) $$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
# The Solaris studio compiler doesn't output the full path to the $$($1_COMPILER) $$($1_DEP_FLAG) \
# object file in the generated deps files. Fixing it with sed. If $$(addsuffix .tmp, $$($1_DEPS_FILE)) \
# compiling assembly, don't try this. $$($1_COMPILE_OPTIONS)))
$$(call ExecuteWithLog, $$@, \ ifneq ($$($1_DEPS_FILE), )
$$($1_COMPILER) $$($1_FLAGS) $$($1_DEP_FLAG) $$($1_DEP).tmp \ $$(call fix-deps-file, $$($1_DEPS_FILE))
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE)) # Create a dependency target file from the dependency file.
$(SED) 's|^$$(@F):|$$@:|' $$($1_DEP).tmp > $$($1_DEP) # Solution suggested by:
else # http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
$$(call ExecuteWithLog, $$@, \ $(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) \
$$($1_COMPILER) $$($1_FLAGS) $$($1_DEP_FLAG) $$($1_DEP) \ > $$($1_DEPS_TARGETS_FILE)
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE))
endif
# Create a dependency target file from the dependency file.
# Solution suggested by http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
ifneq ($$($1_DEP), )
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS)
endif endif
else else
# The Visual Studio compiler lacks a feature for generating make # The Visual Studio compiler lacks a feature for generating make
@@ -327,15 +431,15 @@ define SetupCompileNativeFileBody
# Keep as much as possible on one execution line for best performance # Keep as much as possible on one execution line for best performance
# on Windows. No need to save exit code from compilation since # on Windows. No need to save exit code from compilation since
# pipefail is always active on Windows. # pipefail is always active on Windows.
$$(call ExecuteWithLog, $$@, \ $$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
$$($1_COMPILER) $$($1_FLAGS) -showIncludes \ $$($1_COMPILER) -showIncludes $$($1_COMPILE_OPTIONS))) \
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE)) \
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \ | $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
-e "^$$($1_FILENAME)$$$$" || test "$$$$?" = "1" ; \ -e "^$$($1_FILENAME)$$$$" || test "$$$$?" = "1" ; \
$(ECHO) $$@: \\ > $$($1_DEP) ; \ $(ECHO) $$@: \\ > $$($1_DEPS_FILE) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \ $(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \
| $(SORT) -u >> $$($1_DEP) ; \ | $(SORT) -u >> $$($1_DEPS_FILE) ; \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS) $(ECHO) >> $$($1_DEPS_FILE) ; \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) > $$($1_DEPS_TARGETS_FILE)
endif endif
endif endif
endef endef
@@ -414,6 +518,28 @@ define SetupNativeCompilationBody
endif endif
endif endif
$$(call SetIfEmpty, $1_COMPILE_WITH_DEBUG_SYMBOLS, $$(COMPILE_WITH_DEBUG_SYMBOLS))
# STATIC_LIBS is set from Main.gmk when building static versions of certain
# native libraries.
ifeq ($(STATIC_LIBS), true)
$1_TYPE := STATIC_LIBRARY
# The static versions need to be redirected to different output dirs, both
# to not interfere with the main build as well as to not end up inside the
# jmods.
$1_OBJECT_DIR := $$($1_OBJECT_DIR)/static
$1_OUTPUT_DIR := $$($1_OBJECT_DIR)
# For release builds where debug symbols are configured to be moved to
# separate debuginfo files, disable debug symbols for static libs instead.
# We don't currently support this configuration and we don't want symbol
# information in release builds unless explicitly asked to provide it.
ifeq ($(DEBUG_LEVEL), release)
ifeq ($(COPY_DEBUG_SYMBOLS), true)
$1_COMPILE_WITH_DEBUG_SYMBOLS := false
endif
endif
endif
ifeq ($$($1_TYPE), EXECUTABLE) ifeq ($$($1_TYPE), EXECUTABLE)
$1_PREFIX := $1_PREFIX :=
ifeq ($$($1_SUFFIX), ) ifeq ($$($1_SUFFIX), )
@@ -455,6 +581,9 @@ define SetupNativeCompilationBody
$1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME) $1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME)
$1_SAFE_NAME := $$(strip $$(subst /,_, $1)) $1_SAFE_NAME := $$(strip $$(subst /,_, $1))
# Need to make sure TARGET is first on list
$1 := $$($1_TARGET)
# Setup the toolchain to be used # Setup the toolchain to be used
$$(call SetIfEmpty, $1_TOOLCHAIN, TOOLCHAIN_DEFAULT) $$(call SetIfEmpty, $1_TOOLCHAIN, TOOLCHAIN_DEFAULT)
$$(call SetIfEmpty, $1_CC, $$($$($1_TOOLCHAIN)_CC)) $$(call SetIfEmpty, $1_CC, $$($$($1_TOOLCHAIN)_CC))
@@ -475,7 +604,7 @@ define SetupNativeCompilationBody
$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d))) $$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
# Find all files in the source trees. Preserve order. # Find all files in the source trees. Preserve order.
$1_SRCS := $$(foreach s, $$($1_SRC), $$(call CacheFind, $$(s))) $1_SRCS := $$(foreach s, $$($1_SRC), $$(call FindFiles, $$(s)))
$1_SRCS := $$(filter $$(NATIVE_SOURCE_EXTENSIONS), $$($1_SRCS)) $1_SRCS := $$(filter $$(NATIVE_SOURCE_EXTENSIONS), $$($1_SRCS))
# Extract the C/C++ files. # Extract the C/C++ files.
ifneq ($$($1_EXCLUDE_PATTERNS), ) ifneq ($$($1_EXCLUDE_PATTERNS), )
@@ -549,6 +678,9 @@ define SetupNativeCompilationBody
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_release) $1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_release)
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release) $1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release)
endif endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CFLAGS += $$(STATIC_LIBS_CFLAGS)
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS. # Pickup extra OPENJDK_TARGET_OS_TYPE and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS := $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)) $1_EXTRA_CXXFLAGS := $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS))
@@ -562,6 +694,9 @@ define SetupNativeCompilationBody
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)_release) $1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)_release)
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release) $1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
endif endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CXXFLAGS += $$(STATIC_LIB_CFLAGS)
endif
# If no C++ flags are explicitly set, default to using the C flags. # If no C++ flags are explicitly set, default to using the C flags.
# After that, we can set additional C++ flags that should not interfere # After that, we can set additional C++ flags that should not interfere
@@ -573,9 +708,10 @@ define SetupNativeCompilationBody
$1_EXTRA_CXXFLAGS := $$($1_EXTRA_CFLAGS) $1_EXTRA_CXXFLAGS := $$($1_EXTRA_CFLAGS)
endif endif
ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true) ifeq ($$($1_COMPILE_WITH_DEBUG_SYMBOLS), true)
$1_EXTRA_CFLAGS += $$(CFLAGS_DEBUG_SYMBOLS) $1_EXTRA_CFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS += $$(CFLAGS_DEBUG_SYMBOLS) $1_EXTRA_CXXFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_ASFLAGS += $$(ASFLAGS_DEBUG_SYMBOLS)
endif endif
ifneq ($$($1_REORDER), ) ifneq ($$($1_REORDER), )
@@ -658,7 +794,6 @@ define SetupNativeCompilationBody
FILE := $$($1_GENERATED_PCH_SRC), \ FILE := $$($1_GENERATED_PCH_SRC), \
BASE := $1, \ BASE := $1, \
EXTRA_CXXFLAGS := -Fp$$($1_PCH_FILE) -Yc$$(notdir $$($1_PRECOMPILED_HEADER)), \ EXTRA_CXXFLAGS := -Fp$$($1_PCH_FILE) -Yc$$(notdir $$($1_PRECOMPILED_HEADER)), \
DISABLE_THIS_FILE_DEFINE := true, \
)) ))
$1_USE_PCH_FLAGS := \ $1_USE_PCH_FLAGS := \
@@ -681,27 +816,65 @@ define SetupNativeCompilationBody
$1_PCH_FILE := $$($1_OBJECT_DIR)/precompiled/$$(notdir $$($1_PRECOMPILED_HEADER)).pch $1_PCH_FILE := $$($1_OBJECT_DIR)/precompiled/$$(notdir $$($1_PRECOMPILED_HEADER)).pch
$1_USE_PCH_FLAGS := -include-pch $$($1_PCH_FILE) $1_USE_PCH_FLAGS := -include-pch $$($1_PCH_FILE)
endif endif
$1_PCH_DEP := $$($1_PCH_FILE).d $1_PCH_DEPS_FILE := $$($1_PCH_FILE).d
$1_PCH_DEP_TARGETS := $$($1_PCH_FILE).d.targets $1_PCH_DEPS_TARGETS_FILE := $$($1_PCH_FILE).d.targets
-include $$($1_PCH_DEP) -include $$($1_PCH_DEPS_FILE)
-include $$($1_PCH_DEP_TARGETS) -include $$($1_PCH_DEPS_TARGETS_FILE)
$1_PCH_COMMAND := $$($1_CC) $$($1_CFLAGS) $$($1_EXTRA_CFLAGS) $$($1_SYSROOT_CFLAGS) \
$$($1_OPT_CFLAGS) -x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEPS_FILE)
$$($1_PCH_FILE): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE) $$($1_PCH_FILE): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
$$(call LogInfo, Generating precompiled header) $$(call LogInfo, Generating precompiled header)
$$(call MakeDir, $$(@D)) $$(call MakeDir, $$(@D))
$$(call ExecuteWithLog, $$@, \ $$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
$$($1_CC) $$($1_CFLAGS) $$($1_EXTRA_CFLAGS) $$($1_SYSROOT_CFLAGS) \ $$($1_PCH_COMMAND) $$< -o $$@))
$$($1_OPT_CFLAGS) \ $(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEPS_FILE) \
-x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEP) $$< -o $$@) > $$($1_PCH_DEPS_TARGETS_FILE)
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEP) > $$($1_PCH_DEP_TARGETS)
$$($1_ALL_OBJS): $$($1_PCH_FILE) $$($1_ALL_OBJS): $$($1_PCH_FILE)
# Generate the corresponding compile_commands.json fragment.
$1_PCH_FILE_JSON := $$(MAKESUPPORT_OUTPUTDIR)/compile-commands/$$(subst /,_,$$(subst \
$$(OUTPUTDIR)/,,$$($1_PCH_FILE))).json
$1_ALL_OBJS_JSON += $$($1_PCH_FILE_JSON)
$$($1_PCH_FILE_JSON): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
$$(call WriteCompileCommandsFragment, $$@, $$(PWD), $$<, \
$$($1_PCH_COMMAND) $$< -o $$($1_PCH_FILE), $$($1_PCH_FILE))
endif endif
endif endif
endif endif
# Create a rule to collect all the individual make dependency files into a
# single makefile.
$1_DEPS_FILE := $$($1_OBJECT_DIR)/$1.d
$$($1_DEPS_FILE): $$($1_ALL_OBJS)
$(RM) $$@
# CD into dir to reduce risk of hitting command length limits, which
# could otherwise happen if TOPDIR is a very long path.
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d > $$@.tmp
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d.targets | $(SORT) -u >> $$@.tmp
# After generating the file, which happens after all objects have been
# compiled, copy it to .old extension. On the next make invocation, this
# .old file will be included by make.
$(CP) $$@.tmp $$@.old
$(MV) $$@.tmp $$@
$1 += $$($1_DEPS_FILE)
# The include must be on the .old file, which represents the state from the
# previous invocation of make. The file being included must not have a rule
# defined for it as otherwise make will think it has to run the rule before
# being able to include the file, which would be wrong since we specifically
# need the file as it was generated by a previous make invocation.
ifneq ($$(wildcard $$($1_DEPS_FILE).old), )
$1_DEPS_FILE_LOADED := true
-include $$($1_DEPS_FILE).old
endif
# Now call SetupCompileNativeFile for each source file we are going to compile. # Now call SetupCompileNativeFile for each source file we are going to compile.
$$(foreach file, $$($1_SRCS), \ $$(foreach file, $$($1_SRCS), \
$$(eval $$(call SetupCompileNativeFile, $1_$$(notdir $$(file)),\ $$(eval $$(call SetupCompileNativeFile, $1_$$(notdir $$(file)),\
@@ -728,10 +901,10 @@ define SetupNativeCompilationBody
ifeq ($(OPENJDK_TARGET_OS), windows) ifeq ($(OPENJDK_TARGET_OS), windows)
ifneq ($$($1_VERSIONINFO_RESOURCE), ) ifneq ($$($1_VERSIONINFO_RESOURCE), )
$1_RES := $$($1_OBJECT_DIR)/$$($1_BASENAME).res $1_RES := $$($1_OBJECT_DIR)/$$($1_BASENAME).res
$1_RES_DEP := $$($1_RES).d $1_RES_DEPS_FILE := $$($1_RES).d
$1_RES_DEP_TARGETS := $$($1_RES).d.targets $1_RES_DEPS_TARGETS_FILE := $$($1_RES).d.targets
-include $$($1_RES_DEP) -include $$($1_RES_DEPS_FILE)
-include $$($1_RES_DEP_TARGETS) -include $$($1_RES_DEPS_TARGETS_FILE)
$1_RES_VARDEPS := $$($1_RC) $$($1_RC_FLAGS) $1_RES_VARDEPS := $$($1_RC) $$($1_RC_FLAGS)
$1_RES_VARDEPS_FILE := $$(call DependOnVariable, $1_RES_VARDEPS, \ $1_RES_VARDEPS_FILE := $$(call DependOnVariable, $1_RES_VARDEPS, \
@@ -740,24 +913,27 @@ define SetupNativeCompilationBody
$$($1_RES): $$($1_VERSIONINFO_RESOURCE) $$($1_RES_VARDEPS_FILE) $$($1_RES): $$($1_VERSIONINFO_RESOURCE) $$($1_RES_VARDEPS_FILE)
$$(call LogInfo, Compiling resource $$(notdir $$($1_VERSIONINFO_RESOURCE)) (for $$($1_BASENAME))) $$(call LogInfo, Compiling resource $$(notdir $$($1_VERSIONINFO_RESOURCE)) (for $$($1_BASENAME)))
$$(call MakeDir, $$(@D) $$($1_OBJECT_DIR)) $$(call MakeDir, $$(@D) $$($1_OBJECT_DIR))
$$(call ExecuteWithLog, $$@, \ $$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
$$($1_RC) $$($1_RC_FLAGS) $$($1_SYSROOT_CFLAGS) $(CC_OUT_OPTION)$$@ \ $$($1_RC) $$($1_RC_FLAGS) $$($1_SYSROOT_CFLAGS) $(CC_OUT_OPTION)$$@ \
$$($1_VERSIONINFO_RESOURCE) 2>&1 ) $$($1_VERSIONINFO_RESOURCE) 2>&1 ))
# Windows RC compiler does not support -showIncludes, so we mis-use CL # Windows RC compiler does not support -showIncludes, so we mis-use CL
# for this. Filter out RC specific arguments that are unknown to CL. # for this. Filter out RC specific arguments that are unknown to CL.
# For some unknown reason, in this case CL actually outputs the show # For some unknown reason, in this case CL actually outputs the show
# includes to stderr so need to redirect it to hide the output from the # includes to stderr so need to redirect it to hide the output from the
# main log. # main log.
$$(call ExecuteWithLog, $$($1_RES_DEP).obj, \ $$(call ExecuteWithLog, $$($1_RES_DEPS_FILE).obj, \
$$($1_CC) $$(filter-out -l%, $$($1_RC_FLAGS)) \ $$($1_CC) $$(filter-out -l%, $$($1_RC_FLAGS)) \
$$($1_SYSROOT_CFLAGS) -showIncludes -nologo -TC \ $$($1_SYSROOT_CFLAGS) -showIncludes -nologo -TC \
$(CC_OUT_OPTION)$$($1_RES_DEP).obj -P -Fi$$($1_RES_DEP).pp \ $(CC_OUT_OPTION)$$($1_RES_DEPS_FILE).obj -P -Fi$$($1_RES_DEPS_FILE).pp \
$$($1_VERSIONINFO_RESOURCE)) 2>&1 \ $$($1_VERSIONINFO_RESOURCE)) 2>&1 \
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \ | $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
-e "^$$(notdir $$($1_VERSIONINFO_RESOURCE))$$$$" || test "$$$$?" = "1" ; \ -e "^$$(notdir $$($1_VERSIONINFO_RESOURCE))$$$$" || test "$$$$?" = "1" ; \
$(ECHO) $$($1_RES): \\ > $$($1_RES_DEP) ; \ $(ECHO) $$($1_RES): \\ > $$($1_RES_DEPS_FILE) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEP).obj.log >> $$($1_RES_DEP) ; \ $(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEPS_FILE).obj.log \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEP) > $$($1_RES_DEP_TARGETS) >> $$($1_RES_DEPS_FILE) ; \
$(ECHO) >> $$($1_RES_DEPS_FILE) ;\
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEPS_FILE) \
> $$($1_RES_DEPS_TARGETS_FILE)
endif endif
endif endif
@@ -784,9 +960,6 @@ define SetupNativeCompilationBody
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE)) $1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
endif endif
# Need to make sure TARGET is first on list
$1 := $$($1_TARGET)
ifneq ($$($1_COPY_DEBUG_SYMBOLS), false) ifneq ($$($1_COPY_DEBUG_SYMBOLS), false)
$1_COPY_DEBUG_SYMBOLS := $(COPY_DEBUG_SYMBOLS) $1_COPY_DEBUG_SYMBOLS := $(COPY_DEBUG_SYMBOLS)
endif endif
@@ -803,6 +976,9 @@ define SetupNativeCompilationBody
ifeq ($(OPENJDK_TARGET_OS), windows) ifeq ($(OPENJDK_TARGET_OS), windows)
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb" \ $1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map" "-map:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map"
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).stripped.pdb"
endif
$1_DEBUGINFO_FILES := $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb \ $1_DEBUGINFO_FILES := $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map
@@ -934,7 +1110,7 @@ define SetupNativeCompilationBody
$1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \ $1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \
$$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \ $$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \
$$($1_CODESIGN) $$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \ $$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
$$($1_STRIP_CMD) $$($1_STRIP_CMD)
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \ $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps) $$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1013,11 +1189,14 @@ define SetupNativeCompilationBody
# This only works if the openjdk_codesign identity is present on the system. Let # This only works if the openjdk_codesign identity is present on the system. Let
# silently fail otherwise. # silently fail otherwise.
ifneq ($(CODESIGN), ) ifneq ($(CODESIGN), )
ifneq ($$($1_CODESIGN), ) $(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" --timestamp --options runtime \
$(CODESIGN) -s openjdk_codesign $$@ --entitlements $$(call GetEntitlementsFile, $$@) $$@
endif
endif endif
endif endif
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
$1 := $$($1_ALL_OBJS_JSON)
endif
endef endef
endif # _NATIVE_COMPILATION_GMK endif # _NATIVE_COMPILATION_GMK

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2015, 2018, 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -75,7 +75,7 @@ define SetupTestFilesCompilationBody
# Locate all files with the matching prefix # Locate all files with the matching prefix
$1_FILE_LIST := \ $1_FILE_LIST := \
$$(shell $$(FIND) $$($1_SOURCE_DIRS) -type f -name "$$($1_PREFIX)*.c") $$(call FindFiles, $$($1_SOURCE_DIRS), $$($1_PREFIX)*.c)
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE)) $1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST)) $1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
@@ -94,7 +94,7 @@ define SetupTestFilesCompilationBody
CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \ CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$(name)), \ LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$(name)), \
LIBS := $$($1_LIBS_$$(name)), \ LIBS := $$($1_LIBS_$$(name)), \
OPTIMIZATION := LOW, \ OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \ COPY_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := false, \ STRIP_SYMBOLS := false, \
)) \ )) \

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -103,7 +103,7 @@ define SetupTextFileProcessingBody
$$(error SOURCE_DIRS contains directory $$(src) outside \ $$(error SOURCE_DIRS contains directory $$(src) outside \
SOURCE_BASE_DIR $$($1_SOURCE_BASE_DIR) (in $1)))) SOURCE_BASE_DIR $$($1_SOURCE_BASE_DIR) (in $1))))
endif endif
$1_SOURCE_FILES := $$(sort $$(call CacheFind,$$($1_SOURCE_DIRS))) $1_SOURCE_FILES := $$(sort $$(call FindFiles,$$($1_SOURCE_DIRS)))
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_EXCLUDE_FILES))) $1_EXCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_INCLUDE_FILES))) $1_INCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_SOURCE_FILES := $$(filter-out $$($1_EXCLUDE_FILES),$$($1_SOURCE_FILES)) $1_SOURCE_FILES := $$(filter-out $$($1_EXCLUDE_FILES),$$($1_SOURCE_FILES))
@@ -155,9 +155,10 @@ define SetupTextFileProcessingBody
# Convert the REPLACEMENTS syntax ( A => B ; C => D ; ...) to a sed command # Convert the REPLACEMENTS syntax ( A => B ; C => D ; ...) to a sed command
# line (-e "s/A/B/g" -e "s/C/D/g" ...), basically by replacing '=>' with '/' # line (-e "s/A/B/g" -e "s/C/D/g" ...), basically by replacing '=>' with '/'
# and ';' with '/g" -e "s/', and adjusting for edge cases. # and ';' with '/g" -e "s/', and adjusting for edge cases.
# '&' has special meaning in sed so needs to be escaped.
$1_REPLACEMENTS_COMMAND_LINE := $(SED) -e 's$$($1_SEP)$$(subst $$(SPACE);$$(SPACE),$$($1_SEP)g' \ $1_REPLACEMENTS_COMMAND_LINE := $(SED) -e 's$$($1_SEP)$$(subst $$(SPACE);$$(SPACE),$$($1_SEP)g' \
-e 's$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE),$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE);$$(SPACE),$$($1_SEP)$$($1_SEP)g' \ -e 's$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE),$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE);$$(SPACE),$$($1_SEP)$$($1_SEP)g' \
-e 's$$($1_SEP),$$(strip $$($1_REPLACEMENTS)))))$$($1_SEP)g' -e 's$$($1_SEP),$$(subst &,\&,$$(strip $$($1_REPLACEMENTS))))))$$($1_SEP)g'
else else
# We don't have any replacements, just pipe the file through cat. # We don't have any replacements, just pipe the file through cat.
$1_REPLACEMENTS_COMMAND_LINE := $(CAT) $1_REPLACEMENTS_COMMAND_LINE := $(CAT)

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2011, 2014, 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,8 @@ endif
# src dir # src dir
# SUFFIXES # SUFFIXES
# EXTRA_DEPS # EXTRA_DEPS
# FOLLOW_SYMLINKS - Set to explicitly follow symlinks. Affects performance of
# finding files.
# ZIP_OPTIONS extra options to pass to zip # ZIP_OPTIONS extra options to pass to zip
SetupZipArchive = $(NamedParamsMacroTemplate) SetupZipArchive = $(NamedParamsMacroTemplate)
define SetupZipArchiveBody define SetupZipArchiveBody
@@ -63,7 +65,13 @@ define SetupZipArchiveBody
endif endif
# Find all files in the source tree. # Find all files in the source tree.
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call CacheFind,$$($1_FIND_LIST))) # If asked to, follow symlinks in this find since that is what zip does. To do
# this, we need to call ShellFindFiles directly.
ifeq ($$($1_FOLLOW_SYMLINKS), true)
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call ShellFindFiles,$$($1_FIND_LIST), , -L))
else
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call FindFiles,$$($1_FIND_LIST)))
endif
# Filter on suffixes if set # Filter on suffixes if set
ifneq ($$($1_SUFFIXES),) ifneq ($$($1_SUFFIXES),)

View File

@@ -240,7 +240,7 @@ var getJibProfilesCommon = function (input, data) {
// These are the base setttings for all the main build profiles. // These are the base setttings for all the main build profiles.
common.main_profile_base = { common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf"], dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf"],
default_make_targets: ["product-bundles", "test-bundles"], default_make_targets: ["product-bundles", "test-bundles", "static-libs-bundles"],
configure_args: concat(["--enable-jtreg-failure-handler"], configure_args: concat(["--enable-jtreg-failure-handler"],
"--with-exclude-translations=de,es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK", "--with-exclude-translations=de,es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK",
"--disable-manpages", "--disable-manpages",
@@ -312,6 +312,14 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir, subdir: jdk_subdir,
exploded: "images/jdk" exploded: "images/jdk"
}, },
static_libs: {
local: "bundles/\\(jdk.*bin-static-libs.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-static-libs.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
},
} }
}; };
}; };
@@ -353,6 +361,14 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir, subdir: jdk_subdir,
exploded: "images/jdk" exploded: "images/jdk"
}, },
static_libs: {
local: "bundles/\\(jdk.*bin-static-libs-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-static-libs-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
},
} }
}; };
}; };
@@ -522,11 +538,10 @@ var getJibProfilesProfiles = function (input, common, data) {
.forEach(function (name) { .forEach(function (name) {
var maketestName = name + "-testmake"; var maketestName = name + "-testmake";
profiles[maketestName] = concatObjects(profiles[name], testmakeBase); profiles[maketestName] = concatObjects(profiles[name], testmakeBase);
profiles[maketestName].default_make_targets = [ "test-make" ]; profiles[maketestName].default_make_targets = [ "test-make", "test-compile-commands" ];
}); });
// Profiles for building the zero jvm variant. These are used for verification // Profiles for building the zero jvm variant. These are used for verification.
// in JPRT.
var zeroProfiles = { var zeroProfiles = {
"linux-x64-zero": { "linux-x64-zero": {
target_os: "linux", target_os: "linux",
@@ -709,14 +724,6 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[openName].artifacts["jdk"].remote)); profiles[openName].artifacts["jdk"].remote));
}); });
// Enable ZGC in linux-x64-open builds
[ "linux-x64-open" ].forEach(function (name) {
var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
var debugName = name + common.debug_suffix;
profiles[name] = concatObjects(profiles[name], configureArgs);
profiles[debugName] = concatObjects(profiles[debugName], configureArgs);
});
// Generate cmp-baseline profiles for each main profile and their // Generate cmp-baseline profiles for each main profile and their
// corresponding debug profile. This profile does a compare build run with no // corresponding debug profile. This profile does a compare build run with no
// changes to verify that the compare script has a clean baseline // changes to verify that the compare script has a clean baseline
@@ -733,18 +740,8 @@ var getJibProfilesProfiles = function (input, common, data) {
}); });
}); });
// Profiles used to run tests. Used in JPRT and Mach 5. // Profiles used to run tests.
var testOnlyProfiles = { var testOnlyProfiles = {
"run-test-jprt": {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ],
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
},
"run-test": { "run-test": {
target_os: input.build_os, target_os: input.build_os,
target_cpu: input.build_cpu, target_cpu: input.build_cpu,
@@ -766,16 +763,16 @@ var getJibProfilesProfiles = function (input, common, data) {
"run-test-prebuilt": { "run-test-prebuilt": {
target_os: input.build_os, target_os: input.build_os,
target_cpu: input.build_cpu, target_cpu: input.build_cpu,
src: "src.conf", dependencies: [
dependencies: [ "jtreg", "gnumake", "boot_jdk", "jib", testedProfile + ".jdk", "jtreg", "gnumake", "boot_jdk", "devkit", "jib", testedProfile + ".jdk",
testedProfile + ".test", "src.full" testedProfile + ".test"
], ],
work_dir: input.get("src.full", "install_path") + "/test", src: "src.conf",
make_args: [ "run-test-prebuilt", "LOG_CMDLINES=true" ],
environment: { environment: {
"JT_JAVA": common.boot_jdk_home, "BOOT_JDK": common.boot_jdk_home,
"PRODUCT_HOME": input.get(testedProfile + ".jdk", "home_path"), "JDK_IMAGE_DIR": input.get(testedProfile + ".jdk", "home_path"),
"TEST_IMAGE_DIR": input.get(testedProfile + ".test", "home_path"), "TEST_IMAGE_DIR": input.get(testedProfile + ".test", "home_path")
"TEST_OUTPUT_DIR": input.src_top_dir
}, },
labels: "test" labels: "test"
} }
@@ -801,12 +798,10 @@ var getJibProfilesProfiles = function (input, common, data) {
// This gives us a guaranteed working version of lldb for the jtreg failure handler. // This gives us a guaranteed working version of lldb for the jtreg failure handler.
if (input.build_os == "macosx") { if (input.build_os == "macosx") {
macosxRunTestExtra = { macosxRunTestExtra = {
dependencies: [ "devkit" ],
environment_path: input.get("devkit", "install_path") environment_path: input.get("devkit", "install_path")
+ "/Xcode.app/Contents/Developer/usr/bin" + "/Xcode.app/Contents/Developer/usr/bin"
}; };
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra); profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-jprt"] = concatObjects(profiles["run-test-jprt"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra); profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
} }
// On windows we want the debug symbols available at test time // On windows we want the debug symbols available at test time
@@ -814,13 +809,34 @@ var getJibProfilesProfiles = function (input, common, data) {
windowsRunTestPrebuiltExtra = { windowsRunTestPrebuiltExtra = {
dependencies: [ testedProfile + ".jdk_symbols" ], dependencies: [ testedProfile + ".jdk_symbols" ],
environment: { environment: {
"PRODUCT_SYMBOLS_HOME": input.get(testedProfile + ".jdk_symbols", "home_path"), "SYMBOLS_IMAGE_DIR": input.get(testedProfile + ".jdk_symbols", "home_path"),
} }
}; };
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"],
windowsRunTestPrebuiltExtra); windowsRunTestPrebuiltExtra);
} }
// The profile run-test-prebuilt defines src.conf as the src bundle. When
// running in Mach 5, this reduces the time it takes to populate the
// considerably. But with just src.conf, we cannot actually run any tests,
// so if running from a workspace with just src.conf in it, we need to also
// get src.full as a dependency, and define the work_dir (where make gets
// run) to be in the src.full install path. By running in the install path,
// the same cached installation of the full src can be reused for multiple
// test tasks. Care must however be taken not to polute that work dir by
// setting the appropriate make variables to control output directories.
//
// Use the existance of the top level README as indication of if this is
// the full source or just src.conf.
if (!new java.io.File(__DIR__, "../../README").exists()) {
var runTestPrebuiltSrcFullExtra = {
dependencies: "src.full",
work_dir: input.get("src.full", "install_path"),
}
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"],
runTestPrebuiltSrcFullExtra);
}
// Generate the missing platform attributes // Generate the missing platform attributes
profiles = generatePlatformAttributes(profiles); profiles = generatePlatformAttributes(profiles);
profiles = generateDefaultMakeTargetsConfigureArg(common, profiles); profiles = generateDefaultMakeTargetsConfigureArg(common, profiles);
@@ -837,18 +853,18 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) { var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = { var devkit_platform_revisions = {
linux_x64: "gcc7.3.0-OEL6.4+1.0", linux_x64: "gcc7.3.0-OEL6.4+1.1",
macosx_x64: "Xcode9.4-MacOSX10.13+1.0", macosx_x64: "Xcode9.4-MacOSX10.13+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0", solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u4-Solaris11u1+1.1", solaris_sparcv9: "SS12u4-Solaris11u1+1.1",
windows_x64: "VS2017-15.5.5+1.0", windows_x64: "VS2017-15.9.16+1.0",
linux_aarch64: (input.profile != null && input.profile.indexOf("arm64") >= 0 linux_aarch64: (input.profile != null && input.profile.indexOf("arm64") >= 0
? "gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux+1.0" ? "gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux+1.0"
: "gcc7.3.0-Fedora27+1.0"), : "gcc7.3.0-Fedora27+1.1"),
linux_arm: (input.profile != null && input.profile.indexOf("hflt") >= 0 linux_arm: (input.profile != null && input.profile.indexOf("hflt") >= 0
? "gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux+1.0" ? "gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux+1.0"
: (input.profile.indexOf("arm32") >= 0 : (input.profile != null && input.profile.indexOf("arm32") >= 0
? "gcc7.3.0-Fedora27+1.0" ? "gcc7.3.0-Fedora27+1.1"
: "arm-linaro-4.7+1.0" : "arm-linaro-4.7+1.0"
) )
) )
@@ -882,7 +898,10 @@ var getJibProfilesDependencies = function (input, common) {
organization: common.organization, organization: common.organization,
ext: "tar.gz", ext: "tar.gz",
module: "devkit-" + devkit_platform, module: "devkit-" + devkit_platform,
revision: devkit_platform_revisions[devkit_platform] revision: devkit_platform_revisions[devkit_platform],
environment: {
"DEVKIT_HOME": input.get("devkit", "home_path"),
}
}, },
build_devkit: { build_devkit: {
@@ -901,7 +920,7 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: { jtreg: {
server: "javare", server: "javare",
revision: "4.2", revision: "4.2",
build_number: "b12", build_number: "b13",
checksum_file: "MD5_VALUES", checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip", file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME", environment_name: "JT_HOME",
@@ -961,9 +980,9 @@ var getJibProfilesDependencies = function (input, common) {
ext: "zip", ext: "zip",
classifier: "distribution", classifier: "distribution",
revision: "3.0-SNAPSHOT", revision: "3.0-SNAPSHOT",
environment_name: "JIB_JAR", environment_name: "JIB_HOME",
environment_value: input.get("jib", "install_path") environment_value: input.get("jib", "install_path")
+ "/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar" + "/jib-3.0-SNAPSHOT-distribution"
}, },
ant: { ant: {
@@ -983,14 +1002,6 @@ var getJibProfilesDependencies = function (input, common) {
}, },
}; };
// Need to add a value for the Visual Studio tools variable to make
// jaot be able to pick up the Visual Studio linker in testing.
if (input.target_os == "windows") {
dependencies.devkit.environment = {
VS120COMNTOOLS: input.get("devkit", "install_path") + "/Common7/Tools"
};
}
return dependencies; return dependencies;
}; };
@@ -1154,7 +1165,10 @@ var getVersion = function (feature, interim, update, patch) {
var version = (feature != null ? feature : version_numbers.get("DEFAULT_VERSION_FEATURE")) var version = (feature != null ? feature : version_numbers.get("DEFAULT_VERSION_FEATURE"))
+ "." + (interim != null ? interim : version_numbers.get("DEFAULT_VERSION_INTERIM")) + "." + (interim != null ? interim : version_numbers.get("DEFAULT_VERSION_INTERIM"))
+ "." + (update != null ? update : version_numbers.get("DEFAULT_VERSION_UPDATE")) + "." + (update != null ? update : version_numbers.get("DEFAULT_VERSION_UPDATE"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH")); + "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"))
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA1")
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA2")
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA3");
while (version.match(".*\\.0$")) { while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2); version = version.substring(0, version.length - 2);
} }
@@ -1169,10 +1183,16 @@ var versionArgs = function(input, common) {
var args = ["--with-version-build=" + common.build_number]; var args = ["--with-version-build=" + common.build_number];
if (input.build_type == "promoted") { if (input.build_type == "promoted") {
args = concat(args, args = concat(args,
// This needs to be changed when we start building release candidates "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"),
// with-version-pre must be set to ea for 'ea' and empty for fcs build
"--with-version-pre=",
"--without-version-opt"); "--without-version-opt");
} else if (input.build_type == "ci") {
var optString = input.build_id_data.ciBuildNumber;
var preString = input.build_id_data.projectName;
if (preString == "jdk") {
preString = version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE");
}
args = concat(args, "--with-version-pre=" + preString,
"--with-version-opt=" + optString);
} else { } else {
args = concat(args, "--with-version-opt=" + common.build_id); args = concat(args, "--with-version-opt=" + common.build_id);
} }

View File

@@ -1,5 +1,5 @@
# #
# Copyright (c) 2014, 2017, 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -162,17 +162,17 @@ TARGETS += $(DEF_POLICY_DST)
################################################################################ ################################################################################
ifeq ($(CACERTS_FILE), ) # CACERTS_FILE is optionally set in configure to override the default cacerts
CACERTS_FILE := $(TOPDIR)/src/java.base/share/lib/security/cacerts # which is otherwise generated in Gendata-java.base.gmk
endif
CACERTS_DST := $(LIB_DST_DIR)/security/cacerts CACERTS_DST := $(LIB_DST_DIR)/security/cacerts
$(CACERTS_DST): $(CACERTS_FILE) $(CACERTS_DST): $(CACERTS_FILE)
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%, %, $@)) $(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call install-file) $(call install-file)
TARGETS += $(CACERTS_DST) ifneq ($(CACERTS_FILE), )
TARGETS += $(CACERTS_DST)
endif
################################################################################ ################################################################################

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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@ ifneq ($(wildcard $(INCLUDE_SOURCE_DIR)/*), )
$(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE, \ $(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE, \
SRC := $(INCLUDE_SOURCE_DIR), \ SRC := $(INCLUDE_SOURCE_DIR), \
DEST := $(INCLUDE_TARGET_DIR), \ DEST := $(INCLUDE_TARGET_DIR), \
FILES := $(filter %.h, $(call CacheFind, $(INCLUDE_SOURCE_DIR))), \ FILES := $(filter %.h, $(call FindFiles, $(INCLUDE_SOURCE_DIR))), \
)) ))
TARGETS += $(COPY_EXPORTED_INCLUDE) TARGETS += $(COPY_EXPORTED_INCLUDE)
@@ -56,7 +56,7 @@ ifneq ($(wildcard $(INCLUDE_SOURCE_OS_DIR)/*), )
$(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE_OS, \ $(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE_OS, \
SRC := $(INCLUDE_SOURCE_OS_DIR), \ SRC := $(INCLUDE_SOURCE_OS_DIR), \
DEST := $(INCLUDE_TARGET_DIR)/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR), \ DEST := $(INCLUDE_TARGET_DIR)/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR), \
FILES := $(filter %.h, $(call CacheFind, $(INCLUDE_SOURCE_OS_DIR))), \ FILES := $(filter %.h, $(call FindFiles, $(INCLUDE_SOURCE_OS_DIR))), \
)) ))
TARGETS += $(COPY_EXPORTED_INCLUDE_OS) TARGETS += $(COPY_EXPORTED_INCLUDE_OS)

View File

@@ -22,6 +22,8 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>@@VERSION@@</string> <string>@@VERSION@@</string>
<key>NSMicrophoneUsageDescription</key>
<string>The application is requesting access to the microphone.</string>
<key>JavaVM</key> <key>JavaVM</key>
<dict> <dict>
<key>JVMCapabilities</key> <key>JVMCapabilities</key>

View File

@@ -22,6 +22,8 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>@@VERSION@@</string> <string>@@VERSION@@</string>
<key>NSMicrophoneUsageDescription</key>
<string>The application is requesting access to the microphone.</string>
<key>JavaVM</key> <key>JavaVM</key>
<dict> <dict>
<key>JVMMinimumFrameworkVersion</key> <key>JVMMinimumFrameworkVersion</key>

10
make/data/cacerts/README Normal file
View File

@@ -0,0 +1,10 @@
Each file in this directory (except for this README) contains a CA certificate in PEM format. It can be generated with
keytool -J-Duser.timezone=GMT -printcert -file ca.cert | sed -n '1,4p;8,10p'
keytool -printcert -file ca.cert -rfc
Please note the textual part before the "-----BEGIN CERTIFICATE-----" line is just a suggestion and not arbitrary.
After any change in this directory, please remember to update the content of `test/jdk/sun/security/lib/cacerts/VerifyCACerts.java` as well.
All changes to this directory need to be approved by the Security group.

View File

@@ -0,0 +1,40 @@
Owner: CN=Actalis Authentication Root CA, O=Actalis S.p.A./03358520967, L=Milan, C=IT
Issuer: CN=Actalis Authentication Root CA, O=Actalis S.p.A./03358520967, L=Milan, C=IT
Serial number: 570a119742c4e3cc
Valid from: Thu Sep 22 11:22:02 GMT 2011 until: Sun Sep 22 11:22:02 GMT 2030
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UE
BhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8w
MzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290
IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMC
SVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1
ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENB
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNv
UTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX
4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9
KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/
gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1Yprb
rxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ
51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2F
be8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxe
KF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4F
v6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbn
fpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7
jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7Ynz
ezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt
ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQAL
e3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70
jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDz
WochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4V
SM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9j
pwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyX
X04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+Ok
fcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7R
K4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btU
ZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJU
LysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaT
LnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,32 @@
Owner: CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
Issuer: CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
Serial number: 1
Valid from: Tue May 30 10:48:38 GMT 2000 until: Sat May 30 10:48:38 GMT 2020
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,32 @@
Owner: CN=AddTrust Qualified CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Issuer: CN=AddTrust Qualified CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Serial number: 1
Valid from: Tue May 30 10:44:50 GMT 2000 until: Sat May 30 10:44:50 GMT 2020
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
b3JrMSMwIQYDVQQDExpBZGRUcnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1
MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcxCzAJBgNVBAYTAlNFMRQwEgYDVQQK
EwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIzAh
BgNVBAMTGkFkZFRydXN0IFF1YWxpZmllZCBDQSBSb290MIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA5B6a/twJWoekn0e+EV+vhDTbYjx5eLfpMLXsDBwq
xBb/4Oxx64r1EW7tTw2R0hIYLUkVAcKkIhPHEWT/IhKauY5cLwjPcWqzZwFZ8V1G
87B4pfYOQnrjfxvM0PC3KP0q6p6zsLkEqv32x7SxuCqg+1jxGaBvcCV+PmlKfw8i
2O+tCBGaKZnhqkRFmhJePp1tUvznoD1oL/BLcHwTOK28FSXx1s6rosAx1i+f4P8U
WfyEk9mHfExUE+uf0S0R+Bg6Ot4l2ffTQO2kBhLEO+GRwVY18BTcZTYJbqukB8c1
0cIDMzZbdSZtQvESa0NvS3GU+jQd7RNuyoB/mC9suWXY6QIDAQABo4HUMIHRMB0G
A1UdDgQWBBQ5lYtii1zJ1IC6WA+XPxUIQ8yYpzALBgNVHQ8EBAMCAQYwDwYDVR0T
AQH/BAUwAwEB/zCBkQYDVR0jBIGJMIGGgBQ5lYtii1zJ1IC6WA+XPxUIQ8yYp6Fr
pGkwZzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQL
ExRBZGRUcnVzdCBUVFAgTmV0d29yazEjMCEGA1UEAxMaQWRkVHJ1c3QgUXVhbGlm
aWVkIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBABmrder4i2VhlRO6aQTv
hsoToMeqT2QbPxj2qC0sVY8FtzDqQmodwCVRLae/DLPt7wh/bDxGGuoYQ992zPlm
hpwsaPXpF/gxsxjE1kh9I0xowX67ARRvxdlu3rsEQmr49lx95dr6h+sNNVJn0J6X
dgWTP5XHAeZpVTh/EGGZyeNfpso+gmNIquIISD6q8rKFYqa0p9m9N5xotS1WfbC3
P6CxB9bpT9zeRXEwMn8bLgn5v1Kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9Y
iQBCYz95OdBEsIJuQRno3eDBiFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5no
xqE=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=AffirmTrust Commercial, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Commercial, O=AffirmTrust, C=US
Serial number: 7777062726a9b17c
Valid from: Fri Jan 29 14:06:06 GMT 2010 until: Tue Dec 31 14:06:06 GMT 2030
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
dCBDb21tZXJjaWFsMB4XDTEwMDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDEL
MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
cm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6EqdbDuKP
Hx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yr
ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL
MeIrJmqbTFeurCA+ukV6BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1
yHp52UKqK39c/s4mT6NmgTWvRLpUHhwwMmWd5jyTXlBOeuM61G7MGvv50jeuJCqr
VwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNVHQ4EFgQUnZPGU4teyq8/
nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
KoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYG
XUPGhi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNj
vbz4YYCanrHOQnDiqX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivt
Z8SOyUOyXGsViQK8YvxO8rUzqrJv0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9g
N53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0khsUlHRUe072o0EclNmsxZt9YC
nlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=AffirmTrust Networking, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Networking, O=AffirmTrust, C=US
Serial number: 7c4f04391cd4992d
Valid from: Fri Jan 29 14:08:24 GMT 2010 until: Tue Dec 31 14:08:24 GMT 2030
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
dCBOZXR3b3JraW5nMB4XDTEwMDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDEL
MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
cm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SEHi3y
YJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbua
kCNrmreIdIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRL
QESxG9fhwoXA3hA/Pe24/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp
6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gbh+0t+nvujArjqWaJGctB+d1ENmHP4ndG
yH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNVHQ4EFgQUBx/S55zawm6i
QLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
KoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfO
tDIuUFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzu
QY0x2+c06lkh1QF612S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZ
Lgo/bNjR9eUJtGxUAArgFU2HdW23WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4u
olu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9/ZFvgrG+CJPbFEfxojfHRZ48
x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=AffirmTrust Premium, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Premium, O=AffirmTrust, C=US
Serial number: 6d8c1446b1a60aee
Valid from: Fri Jan 29 14:10:36 GMT 2010 until: Mon Dec 31 14:10:36 GMT 2040
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVz
dCBQcmVtaXVtMB4XDTEwMDEyOTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkG
A1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1U
cnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxBLf
qV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtnBKAQ
JG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ
+jjeRFcV5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrS
s8PhaJyJ+HoAVt70VZVs+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5
HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmdGPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d7
70O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5Rp9EixAqnOEhss/n/fauG
V+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NIS+LI+H+S
qHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S
5u046uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4Ia
C1nEWTJ3s7xgaVY5/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TX
OwF0lkLgAOIua+rF7nKsu7/+6qqo+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYE
FJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/
BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByvMiPIs0laUZx2
KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg
Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B
8OWycvpEgjNC6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQ
MKSOyARiqcTtNd56l+0OOF6SL5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc
0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK+4w1IX2COPKpVJEZNZOUbWo6xbLQ
u4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmVBtWVyuEklut89pMF
u+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFgIxpH
YoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8
GKa1qF60g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaO
RtGdFNrHF+QFlozEJLUbzxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6e
KeC2uAloGRwYQw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US
Serial number: 7497258ac73f7a54
Valid from: Fri Jan 29 14:20:24 GMT 2010 until: Mon Dec 31 14:20:24 GMT 2040
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMC
VVMxFDASBgNVBAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQ
cmVtaXVtIEVDQzAeFw0xMDAxMjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJ
BgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwXQWZmaXJt
VHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNMF4bFZ0D
0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQN8O9
ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0G
A1UdDgQWBBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4G
A1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/Vs
aobgxCd05DhT1wV/GzTjxi+zygk8N53X57hG8f2h4nECMEJZh0PUUd+60wkyWs6I
flc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKMeQ==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=Amazon Root CA 1, O=Amazon, C=US
Issuer: CN=Amazon Root CA 1, O=Amazon, C=US
Serial number: 66c9fcf99bf8c0a39e2f0788a43e696365bca
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sun Jan 17 00:00:00 GMT 2038
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj
ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM
9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw
IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6
VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L
93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm
jgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC
AYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3DQEBCwUA
A4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDI
U5PMCCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUs
N+gDS63pYaACbvXy8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vv
o/ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU
5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy
rqXRfboQnoZsG4q5WTP468SQvvG5
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Amazon Root CA 2, O=Amazon, C=US
Issuer: CN=Amazon Root CA 2, O=Amazon, C=US
Serial number: 66c9fd29635869f0a0fe58678f85b26bb8a37
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w0BAQwF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAyMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK2Wny2cSkxK
gXlRmeyKy2tgURO8TW0G/LAIjd0ZEGrHJgw12MBvIITplLGbhQPDW9tK6Mj4kHbZ
W0/jTOgGNk3Mmqw9DJArktQGGWCsN0R5hYGCrVo34A3MnaZMUnbqQ523BNFQ9lXg
1dKmSYXpN+nKfq5clU1Imj+uIFptiJXZNLhSGkOQsL9sBbm2eLfq0OQ6PBJTYv9K
8nu+NQWpEjTj82R0Yiw9AElaKP4yRLuH3WUnAnE72kr3H9rN9yFVkE8P7K6C4Z9r
2UXTu/Bfh+08LDmG2j/e7HJV63mjrdvdfLC6HM783k81ds8P+HgfajZRRidhW+me
z/CiVX18JYpvL7TFz4QuK/0NURBs+18bvBt+xa47mAExkv8LV/SasrlX6avvDXbR
8O70zoan4G7ptGmh32n2M8ZpLpcTnqWHsFcQgTfJU7O7f/aS0ZzQGPSSbtqDT6Zj
mUyl+17vIWR6IF9sZIUVyzfpYgwLKhbcAS4y2j5L9Z469hdAlO+ekQiG+r5jqFoz
7Mt0Q5X5bGlSNscpb/xVA1wf+5+9R+vnSUeVC06JIglJ4PVhHvG/LopyboBZ/1c6
+XUyo05f7O0oYtlNc/LMgRdg7c3r3NunysV+Ar3yVAhU/bQtCSwXVEqY0VThUWcI
0u1ufm8/0i2BWSlmy5A5lREedCf+3euvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSwDPBMMPQFWAJI/TPlUq9LhONm
UjANBgkqhkiG9w0BAQwFAAOCAgEAqqiAjw54o+Ci1M3m9Zh6O+oAA7CXDpO8Wqj2
LIxyh6mx/H9z/WNxeKWHWc8w4Q0QshNabYL1auaAn6AFC2jkR2vHat+2/XcycuUY
+gn0oJMsXdKMdYV2ZZAMA3m3MSNjrXiDCYZohMr/+c8mmpJ5581LxedhpxfL86kS
k5Nrp+gvU5LEYFiwzAJRGFuFjWJZY7attN6a+yb3ACfAXVU3dJnJUH/jWS5E4ywl
7uxMMne0nxrpS10gxdr9HIcWxkPo1LsmmkVwXqkLN1PiRnsn/eBG8om3zEK2yygm
btmlyTrIQRNg91CMFa6ybRoVGld45pIq2WWQgj9sAq+uEjonljYE1x2igGOpm/Hl
urR8FLBOybEfdF849lHqm/osohHUqS0nGkWxr7JOcQ3AWEbWaQbLU8uz/mtBzUF+
fUwPfHJ5elnNXkoOrJupmHN5fLT0zLm4BwyydFy4x2+IoZCn9Kr5v2c69BoVYh63
n749sSmvZ6ES8lgQGVMDMBu4Gon2nL2XA46jCfMdiyHxtN/kHNGfZQIG6lzWE7OE
76KlXIx3KadowGuuQNKotOrN8I1LOJwZmhsoVLiJkO/KdYE+HvJkJMcYr07/R54H
9jVlpNMKVv/1F2Rs76giJUmTtt8AF9pYfl3uxRuw0dFfIRDH+fO6AgonB8Xx1sfT
4PsJYGw=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,19 @@
Owner: CN=Amazon Root CA 3, O=Amazon, C=US
Issuer: CN=Amazon Root CA 3, O=Amazon, C=US
Serial number: 66c9fd5749736663f3b0b9ad9e89e7603f24a
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA256withECDSA
Subject Public Key Algorithm: 256-bit EC key
Version: 3
-----BEGIN CERTIFICATE-----
MIIBtjCCAVugAwIBAgITBmyf1XSXNmY/Owua2eiedgPySjAKBggqhkjOPQQDAjA5
MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g
Um9vdCBDQSAzMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG
A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg
Q0EgMzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCmXp8ZBf8ANm+gBG1bG8lKl
ui2yEujSLtf6ycXYqm0fc4E7O5hrOXwzpcVOho6AF2hiRVd9RFgdszflZwjrZt6j
QjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSr
ttvXBp43rDCGB5Fwx5zEGbF4wDAKBggqhkjOPQQDAgNJADBGAiEA4IWSoxe3jfkr
BqWTrBqYaGFy+uGh0PsceGCmQ5nFuMQCIQCcAu/xlJyzlvnrxir4tiz+OpAUFteM
YyRIHN8wfdVoOw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=Amazon Root CA 4, O=Amazon, C=US
Issuer: CN=Amazon Root CA 4, O=Amazon, C=US
Serial number: 66c9fd7c1bb104c2943e5717b7b2cc81ac10e
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC key
Version: 3
-----BEGIN CERTIFICATE-----
MIIB8jCCAXigAwIBAgITBmyf18G7EEwpQ+Vxe3ssyBrBDjAKBggqhkjOPQQDAzA5
MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g
Um9vdCBDQSA0MB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG
A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg
Q0EgNDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNKrijdPo1MN/sGKe0uoe0ZLY7Bi
9i0b2whxIdIA6GO9mif78DluXeo9pcmBqqNbIJhFXRbb/egQbeOc4OO9X4Ri83Bk
M6DLJC9wuoihKqB1+IGuYgbEgds5bimwHvouXKNCMEAwDwYDVR0TAQH/BAUwAwEB
/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFNPsxzplbszh2naaVvuc84ZtV+WB
MAoGCCqGSM49BAMDA2gAMGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlw
CkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1AE47xDqUEpHJWEadIRNyp4iciuRMStuW
1KyLa2tJElMzrdfkviT8tQp21KW8EA==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,28 @@
Owner: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE
Issuer: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE
Serial number: 20000b9
Valid from: Fri May 12 18:46:00 GMT 2000 until: Mon May 12 23:59:00 GMT 2025
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ
RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD
VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX
DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y
ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy
VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr
mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr
IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK
mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu
XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy
dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye
jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1
BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3
DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92
9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx
jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0
Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz
ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS
R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Buypass Class 2 Root CA, O=Buypass AS-983163327, C=NO
Issuer: CN=Buypass Class 2 Root CA, O=Buypass AS-983163327, C=NO
Serial number: 2
Valid from: Tue Oct 26 08:38:03 GMT 2010 until: Fri Oct 26 08:38:03 GMT 2040
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEd
MBsGA1UECgwUQnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3Mg
Q2xhc3MgMiBSb290IENBMB4XDTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1ow
TjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBhc3MgQVMtOTgzMTYzMzI3MSAw
HgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEB
BQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1g1Lr
6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPV
L4O2fuPn9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC91
1K2GScuVr1QGbNgGE41b/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHx
MlAQTn/0hpPshNOOvEu/XAFOBz3cFIqUCqTqc/sLUegTBxj6DvEr0VQVfTzh97QZ
QmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeffawrbD02TTqigzXsu8lkB
arcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgIzRFo1clr
Us3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLi
FRhnBkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRS
P/TizPJhk9H9Z2vXUq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN
9SG9dKpN6nIDSdvHXx1iY8f93ZHsM+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxP
AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMmAd+BikoL1Rpzz
uvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAU18h
9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s
A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3t
OluwlN5E40EIosHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo
+fsicdl9sz1Gv7SEr5AcD48Saq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7
KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYdDnkM/crqJIByw5c/8nerQyIKx+u2
DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWDLfJ6v9r9jv6ly0Us
H8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0oyLQ
I+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK7
5t98biGCwWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h
3PFaTWwyI0PurKju7koSCTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPz
Y11aWOIv4x3kqdbQCtCev9eBCfHJxyYNrJgWVqA=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Buypass Class 3 Root CA, O=Buypass AS-983163327, C=NO
Issuer: CN=Buypass Class 3 Root CA, O=Buypass AS-983163327, C=NO
Serial number: 2
Valid from: Tue Oct 26 08:28:58 GMT 2010 until: Fri Oct 26 08:28:58 GMT 2040
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEd
MBsGA1UECgwUQnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3Mg
Q2xhc3MgMyBSb290IENBMB4XDTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFow
TjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBhc3MgQVMtOTgzMTYzMzI3MSAw
HgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEB
BQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRHsJ8Y
ZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3E
N3coTRiR5r/VUv1xLXA+58bEiuPwKAv0dpihi4dVsjoT/Lc+JzeOIuOoTyrvYLs9
tznDDgFHmV0ST9tD+leh7fmdvhFHJlsTmKtdFoqwNxxXnUX/iJY2v7vKB3tvh2PX
0DJq1l1sDPGzbjniazEuOQAnFN44wOwZZoYS6J1yFhNkUsepNxz9gjDthBgd9K5c
/3ATAOux9TN6S9ZV+AWNS2mw9bMoNlwUxFFzTWsL8TQH2xc519woe2v1n/MuwU8X
KhDzzMro6/1rqy6any2CbgTUUgGTLT2G/H783+9CHaZr77kgxve9oKeV/afmiSTY
zIw0bOIjL9kSGiG5VZFvC5F5GQytQIgLcOJ60g7YaEi7ghM5EFjp2CoHxhLbWNvS
O1UQRwUVZ2J+GGOmRj8JDlQyXr8NYnon74Do29lLBlo3WiXQCBJ31G8JUJc9yB3D
34xFMFbG02SrZvPAXpacw8Tvw3xrizp5f7NJzz3iiZ+gMEuFuZyUJHmPfWupRWgP
K9Dx2hzLabjKSWJtyNBjYt1gD1iqj6G8BaVmos8bdrKEZLFMOVLAMLrwjEsCsLa3
AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFEe4zf/lb+74suwv
Tg75JbCOPGvDMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAACAj
QTUEkMJAYmDv4jVM1z+s4jSQuKFvdvoWFqRINyzpkMLyPPgKn9iB5btb2iUspKdV
cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXS
IGrs/CIBKM+GuIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2
HJLw5QY33KbmkJs4j1xrG0aGQ0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsa
O5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8ZORK15FTAaggiG6cX0S5y2CBNOxv
033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2KSb12tjE8nVhz36u
dmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz6MkE
kbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg41
3OEMXbugUZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvD
u79leNKGef9JOxqDDPDeeOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq
4/g7u9xN12TyUb7mqqta6THuBrxzvxNiCp/HuZc=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,49 @@
Owner: CN=Chambers of Commerce Root - 2008, O=AC Camerfirma S.A., SERIALNUMBER=A82743287, L=Madrid (see current address at www.camerfirma.com/address), C=EU
Issuer: CN=Chambers of Commerce Root - 2008, O=AC Camerfirma S.A., SERIALNUMBER=A82743287, L=Madrid (see current address at www.camerfirma.com/address), C=EU
Serial number: a3da427ea4b1aeda
Valid from: Fri Aug 01 12:29:50 GMT 2008 until: Sat Jul 31 12:29:50 GMT 2038
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIHTzCCBTegAwIBAgIJAKPaQn6ksa7aMA0GCSqGSIb3DQEBBQUAMIGuMQswCQYD
VQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0
IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3
MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xKTAnBgNVBAMTIENoYW1iZXJz
IG9mIENvbW1lcmNlIFJvb3QgLSAyMDA4MB4XDTA4MDgwMTEyMjk1MFoXDTM4MDcz
MTEyMjk1MFowga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNlZSBj
dXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIw
EAYDVQQFEwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEp
MCcGA1UEAxMgQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDgwggIiMA0G
CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCvAMtwNyuAWko6bHiUfaN/Gh/2NdW9
28sNRHI+JrKQUrpjOyhYb6WzbZSm891kDFX29ufyIiKAXuFixrYp4YFs8r/lfTJq
VKAyGVn+H4vXPWCGhSRv4xGzdz4gljUha7MI2XAuZPeEklPWDrCQiorjh40G072Q
DuKZoRuGDtqaCrsLYVAGUvGef3bsyw/QHg3PmTA9HMRFEFis1tPo1+XqxQEHd9ZR
5gN/ikilTWh1uem8nk4ZcfUyS5xtYBkL+8ydddy/Js2Pk3g5eXNeJQ7KXOt3EgfL
ZEFHcpOrUMPrCXZkNNI5t3YRCQ12RcSprj1qr7V9ZS+UWBDsXHyvfuK2GNnQm05a
Sd+pZgvMPMZ4fKecHePOjlO+Bd5gD2vlGts/4+EhySnB8esHnFIbAURRPHsl18Tl
UlRdJQfKFiC4reRB7noI/plvg6aRArBsNlVq5331lubKgdaX8ZSD6e2wsWsSaR6s
+12pxZjptFtYer49okQ6Y1nUCyXeG0+95QGezdIp1Z8XGQpvvwyQ0wlf2eOKNcx5
Wk0ZN5K3xMGtr/R5JJqyAQuxr1yW84Ay+1w9mPGgP0revq+ULtlVmhduYJ1jbLhj
ya6BXBg14JC7vjxPNyK5fuvPnnchpj04gftI2jE9K+OJ9dC1vX7gUMQSibMjmhAx
hduub+84Mxh2EQIDAQABo4IBbDCCAWgwEgYDVR0TAQH/BAgwBgEB/wIBDDAdBgNV
HQ4EFgQU+SSsD7K1+HnA+mCIG8TZTQKeFxkwgeMGA1UdIwSB2zCB2IAU+SSsD7K1
+HnA+mCIG8TZTQKeFxmhgbSkgbEwga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpN
YWRyaWQgKHNlZSBjdXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29t
L2FkZHJlc3MpMRIwEAYDVQQFEwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVy
ZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdCAt
IDIwMDiCCQCj2kJ+pLGu2jAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRV
HSAAMCowKAYIKwYBBQUHAgEWHGh0dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20w
DQYJKoZIhvcNAQEFBQADggIBAJASryI1wqM58C7e6bXpeHxIvj99RZJe6dqxGfwW
PJ+0W2aeaufDuV2I6A+tzyMP3iU6XsxPpcG1Lawk0lgH3qLPaYRgM+gQDROpI9CF
5Y57pp49chNyM/WqfcZjHwj0/gF/JM8rLFQJ3uIrbZLGOU8W6jx+ekbURWpGqOt1
glanq6B8aBMz9p0w8G8nOSQjKpD9kCk18pPfNKXG9/jvjA9iSnyu0/VU+I22mlaH
FoI6M6taIgj3grrqLuBHmrS1RaMFO9ncLkVAO+rcf+g769HsJtg1pDDFOqxXnrN2
pSB7+R5KBWIBpih1YJeSDW4+TTdDDZIVnBgizVGZoCkaPF+KMjNbMMeJL0eYD6MD
xvbxrN8y8NmBGuScvfaAFPDRLLmF9dijscilIeUcE5fuDr3fKanvNFNb0+RqE4QG
tjICxFKuItLcsiFCGtpA8CnJ7AoMXOLQusxI0zcKzBIKinmwPQN/aUv0NCB9szTq
jktk9T79syNnFQ0EuPAtwQlRPLJsFfClI9eDdOTlLsn+mCdCxqvGnrDQWzilm1De
fhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg
OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAxfDZ
d0jQ
-----END CERTIFICATE-----

View File

@@ -0,0 +1,35 @@
Owner: CN=Chambers of Commerce Root, OU=http://www.chambersign.org, O=AC Camerfirma SA CIF A82743287, C=EU
Issuer: CN=Chambers of Commerce Root, OU=http://www.chambersign.org, O=AC Camerfirma SA CIF A82743287, C=EU
Serial number: 0
Valid from: Tue Sep 30 16:13:43 GMT 2003 until: Wed Sep 30 16:13:44 GMT 2037
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIEvTCCA6WgAwIBAgIBADANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEn
MCUGA1UEChMeQUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQL
ExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMg
b2YgQ29tbWVyY2UgUm9vdDAeFw0wMzA5MzAxNjEzNDNaFw0zNzA5MzAxNjEzNDRa
MH8xCzAJBgNVBAYTAkVVMScwJQYDVQQKEx5BQyBDYW1lcmZpcm1hIFNBIENJRiBB
ODI3NDMyODcxIzAhBgNVBAsTGmh0dHA6Ly93d3cuY2hhbWJlcnNpZ24ub3JnMSIw
IAYDVQQDExlDaGFtYmVycyBvZiBDb21tZXJjZSBSb290MIIBIDANBgkqhkiG9w0B
AQEFAAOCAQ0AMIIBCAKCAQEAtzZV5aVdGDDg2olUkfzIx1L4L1DZ77F1c2VHfRtb
unXF/KGIJPov7coISjlUxFF6tdpg6jg8gbLL8bvZkSM/SAFwdakFKq0fcfPJVD0d
BmpAPrMMhe5cG3nCYsS4No41XQEMIwRHNaqbYE6gZj3LJgqcQKH0XZi/caulAGgq
7YN6D6IUtdQis4CwPAxaUWktWBiP7Zme8a7ileb2R6jWDA+wWFjbw2Y3npuRVDM3
0pQcakjJyfKl2qUMI/cjDpwyVV5xnIQFUZot/eZOKjRa3spAN2cMVCFVd9oKDMyX
roDclDZK9D7ONhMeU+SsTjoF7Nuucpw4i9A5O4kKPnf+dQIBA6OCAUQwggFAMBIG
A1UdEwEB/wQIMAYBAf8CAQwwPAYDVR0fBDUwMzAxoC+gLYYraHR0cDovL2NybC5j
aGFtYmVyc2lnbi5vcmcvY2hhbWJlcnNyb290LmNybDAdBgNVHQ4EFgQU45T1sU3p
26EpW1eLTXYGduHRooowDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIA
BzAnBgNVHREEIDAegRxjaGFtYmVyc3Jvb3RAY2hhbWJlcnNpZ24ub3JnMCcGA1Ud
EgQgMB6BHGNoYW1iZXJzcm9vdEBjaGFtYmVyc2lnbi5vcmcwWAYDVR0gBFEwTzBN
BgsrBgEEAYGHLgoDATA+MDwGCCsGAQUFBwIBFjBodHRwOi8vY3BzLmNoYW1iZXJz
aWduLm9yZy9jcHMvY2hhbWJlcnNyb290Lmh0bWwwDQYJKoZIhvcNAQEFBQADggEB
AAxBl8IahsAifJ/7kPMa0QOx7xP5IV8EnNrJpY0nbJaHkb5BkAFyk+cefV/2icZd
p0AJPaxJRUXcLo0waLIJuvvDL8y6C98/d3tGfToSJI6WjzwFCm/SlCgdbQzALogi
1djPHRPH8EjX1wWnz8dHnjs8NMiAT9QUu/wNUPf6s+xCX6ndbcj0dc97wXImsQEc
XCz9ek60AcUFV7nnPKoF2YjpB0ZBzu9Bga5Y34OirsrXdx/nADydb47kMgkdTXg0
eDQ8lJsm7U9xxhl6vSAiSFr+S30Dt+dYvsYyTnQeaN2oaFuzPu5ifdmA6Ap1erfu
tGWaIZDgqtCYvDi1czyL+Nw=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,48 @@
Owner: CN=Global Chambersign Root - 2008, O=AC Camerfirma S.A., SERIALNUMBER=A82743287, L=Madrid (see current address at www.camerfirma.com/address), C=EU
Issuer: CN=Global Chambersign Root - 2008, O=AC Camerfirma S.A., SERIALNUMBER=A82743287, L=Madrid (see current address at www.camerfirma.com/address), C=EU
Serial number: c9cdd3e9d57d23ce
Valid from: Fri Aug 01 12:31:40 GMT 2008 until: Sat Jul 31 12:31:40 GMT 2038
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIHSTCCBTGgAwIBAgIJAMnN0+nVfSPOMA0GCSqGSIb3DQEBBQUAMIGsMQswCQYD
VQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0
IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3
MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAlBgNVBAMTHkdsb2JhbCBD
aGFtYmVyc2lnbiBSb290IC0gMjAwODAeFw0wODA4MDExMjMxNDBaFw0zODA3MzEx
MjMxNDBaMIGsMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3Vy
cmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAG
A1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAl
BgNVBAMTHkdsb2JhbCBDaGFtYmVyc2lnbiBSb290IC0gMjAwODCCAiIwDQYJKoZI
hvcNAQEBBQADggIPADCCAgoCggIBAMDfVtPkOpt2RbQT2//BthmLN0EYlVJH6xed
KYiONWwGMi5HYvNJBL99RDaxccy9Wglz1dmFRP+RVyXfXjaOcNFccUMd2drvXNL7
G706tcuto8xEpw2uIRU/uXpbknXYpBI4iRmKt4DS4jJvVpyR1ogQC7N0ZJJ0YPP2
zxhPYLIj0Mc7zmFLmY/CDNBAspjcDahOo7kKrmCgrUVSY7pmvWjg+b4aqIG7HkF4
ddPB/gBVsIdU6CeQNR1MM62X/JcumIS/LMmjv9GYERTtY/jKmIhYF5ntRQOXfjyG
HoiMvvKRhI9lNNgATH23MRdaKXoKGCQwoze1eqkBfSbW+Q6OWfH9GzO1KTsXO0G2
Id3UwD2ln58fQ1DJu7xsepeY7s2MH/ucUa6LcL0nn3HAa6x9kGbo1106DbDVwo3V
yJ2dwW3Q0L9R5OP4wzg2rtandeavhENdk5IMagfeOx2YItaswTXbo6Al/3K1dh3e
beksZixShNBFks4c5eUzHdwHU1SjqoI7mjcv3N2gZOnm3b2u/GSFHTynyQbehP9r
6GsaPMWis0L7iwk+XwhSx2LE1AVxv8Rk5Pihg+g+EpuoHtQ2TS9x9o0o9oOpE9Jh
wZG7SMA0j0GMS0zbaRL/UJScIINZc+18ofLx/d33SdNDWKBWY8o9PeU1VlnpDsog
zCtLkykPAgMBAAGjggFqMIIBZjASBgNVHRMBAf8ECDAGAQH/AgEMMB0GA1UdDgQW
BBS5CcqcHtvTbDprru1U8VuTBjUuXjCB4QYDVR0jBIHZMIHWgBS5CcqcHtvTbDpr
ru1U8VuTBjUuXqGBsqSBrzCBrDELMAkGA1UEBhMCRVUxQzBBBgNVBAcTOk1hZHJp
ZCAoc2VlIGN1cnJlbnQgYWRkcmVzcyBhdCB3d3cuY2FtZXJmaXJtYS5jb20vYWRk
cmVzcykxEjAQBgNVBAUTCUE4Mjc0MzI4NzEbMBkGA1UEChMSQUMgQ2FtZXJmaXJt
YSBTLkEuMScwJQYDVQQDEx5HbG9iYWwgQ2hhbWJlcnNpZ24gUm9vdCAtIDIwMDiC
CQDJzdPp1X0jzjAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRVHSAAMCow
KAYIKwYBBQUHAgEWHGh0dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20wDQYJKoZI
hvcNAQEFBQADggIBAICIf3DekijZBZRG/5BXqfEv3xoNa/p8DhxJJHkn2EaqbylZ
UohwEurdPfWbU1Rv4WCiqAm57OtZfMY18dwY6fFn5a+6ReAJ3spED8IXDneRRXoz
X1+WLGiLwUePmJs9wOzL9dWCkoQ10b42OFZyMVtHLaoXpGNR6woBrX/sdZ7LoR/x
fxKxueRkf2fWIyr0uDldmOghp+G9PUIadJpwr2hsUF1Jz//7Dl3mLEfXgTpZALVz
a2Mg9jFFCDkO9HB+QHBaP9BrQql0PSgvAm11cpUJjUhjxsYjV5KTXjXBjfkK9yyd
Yhz2rXzdpjEetrHHfoUm+qRqtdpjMNHvkzeyZi99Bffnt0uYlDXA2TopwZ2yUDMd
SqlapskD7+3056huirRXhOukP9DuqqqHW2Pok+JrqNS4cnhrG+055F3Lm6qH1U9O
AP7Zap88MQ8oAgF9mOinsKJknnn4SPIVqczmyETrP3iZ8ntxPjzxmKfFGBI/5rso
M0LpRQp8bfKGeS/Fghl9CYl8slR2iK7ewfPM4W7bMdaTrpmg7yVqc5iJWzouE4ge
v8CSlDQb4ye3ix5vQv/n6TebUB0tovkC7stYWDpxvGjjqsGvHCgfotwjZT+B6q6Z
09gwzxMNTxXJhLynSC34MCN32EZLeW32jO06f2ARePTpm67VVMB0gNELQp/B
-----END CERTIFICATE-----

View File

@@ -0,0 +1,26 @@
Owner: CN=Certum CA, O=Unizeto Sp. z o.o., C=PL
Issuer: CN=Certum CA, O=Unizeto Sp. z o.o., C=PL
Serial number: 10020
Valid from: Tue Jun 11 10:46:39 GMT 2002 until: Fri Jun 11 10:46:39 GMT 2027
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDDDCCAfSgAwIBAgIDAQAgMA0GCSqGSIb3DQEBBQUAMD4xCzAJBgNVBAYTAlBM
MRswGQYDVQQKExJVbml6ZXRvIFNwLiB6IG8uby4xEjAQBgNVBAMTCUNlcnR1bSBD
QTAeFw0wMjA2MTExMDQ2MzlaFw0yNzA2MTExMDQ2MzlaMD4xCzAJBgNVBAYTAlBM
MRswGQYDVQQKExJVbml6ZXRvIFNwLiB6IG8uby4xEjAQBgNVBAMTCUNlcnR1bSBD
QTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM6xwS7TT3zNJc4YPk/E
jG+AanPIW1H4m9LcuwBcsaD8dQPugfCI7iNS6eYVM42sLQnFdvkrOYCJ5JdLkKWo
ePhzQ3ukYbDYWMzhbGZ+nPMJXlVjhNWo7/OxLjBos8Q82KxujZlakE403Daaj4GI
ULdtlkIJ89eVgw1BS7Bqa/j8D35in2fE7SZfECYPCE/wpFcozo+47UX2bu4lXapu
Ob7kky/ZR6By6/qmW6/KUz/iDsaWVhFu9+lmqSbYf5VT7QqFiLpPKaVCjF62/IUg
AKpoC6EahQGcxEZjgoi2IrHu/qpGWX7PNSzVttpd90gzFFS269lvzs2I1qsb2pY7
HVkCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEA
uI3O7+cUus/usESSbLQ5PqKEbq24IXfS1HeCh+YgQYHu4vgRt2PRFze+GXYkHAQa
TOs9qmdvLdTN/mUxcMUbpgIKumB7bVjCmkn+YzILa+M6wKyrO7Do0wlRjBCDxjTg
xSvgGrZgFCdsMneMvLJymM/NzD+5yCRCFNZX/OYmQ6kd5YCQzgNUKD73P9P4Te1q
CjqTE5s7FCMTY5w/0YcneeVMUeMBrYVdGjux1XMQpNPyvG5k9VpWkKjHDkx0Dy5x
O/fIR/RpbxXyEV6DHpx8Uq79AtoSqFlnGNu8cN2bsWntgM6JQEhqDjXKKWYVIZQs
6GAqm4VKQPNriiTsBhYscw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=Certum Trusted Network CA, OU=Certum Certification Authority, O=Unizeto Technologies S.A., C=PL
Issuer: CN=Certum Trusted Network CA, OU=Certum Certification Authority, O=Unizeto Technologies S.A., C=PL
Serial number: 444c0
Valid from: Wed Oct 22 12:07:37 GMT 2008 until: Mon Dec 31 12:07:37 GMT 2029
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBM
MSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5D
ZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBU
cnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIyMTIwNzM3WhcNMjkxMjMxMTIwNzM3
WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMg
Uy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSIw
IAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rH
UV+rpDKmYYe2bg+G0jACl/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LM
TXPb865Px1bVWqeWifrzq2jUI4ZZJ88JJ7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVU
BBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4fOQtf/WsX+sWn7Et0brM
kUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0cvW0QM8x
AcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNV
HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNV
HQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15y
sHhE49wcrwn9I0j6vSrEuVUEtRCjjSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfL
I9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1mS1FhIrlQgnXdAIv94nYmem8
J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5ajZt3hrvJBW8qY
VoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI
03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,40 @@
Owner: OU=ePKI Root Certification Authority, O="Chunghwa Telecom Co., Ltd.", C=TW
Issuer: OU=ePKI Root Certification Authority, O="Chunghwa Telecom Co., Ltd.", C=TW
Serial number: 15c8bd65475cafb897005ee406d2bc9d
Valid from: Mon Dec 20 02:31:27 GMT 2004 until: Wed Dec 20 02:31:27 GMT 2034
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFsDCCA5igAwIBAgIQFci9ZUdcr7iXAF7kBtK8nTANBgkqhkiG9w0BAQUFADBe
MQswCQYDVQQGEwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0
ZC4xKjAoBgNVBAsMIWVQS0kgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe
Fw0wNDEyMjAwMjMxMjdaFw0zNDEyMjAwMjMxMjdaMF4xCzAJBgNVBAYTAlRXMSMw
IQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEqMCgGA1UECwwhZVBL
SSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0BAQEF
AAOCAg8AMIICCgKCAgEA4SUP7o3biDN1Z82tH306Tm2d0y8U82N0ywEhajfqhFAH
SyZbCUNsIZ5qyNUD9WBpj8zwIuQf5/dqIjG3LBXy4P4AakP/h2XGtRrBp0xtInAh
ijHyl3SJCRImHJ7K2RKilTza6We/CKBk49ZCt0Xvl/T29de1ShUCWH2YWEtgvM3X
DZoTM1PRYfl61dd4s5oz9wCGzh1NlDivqOx4UXCKXBCDUSH3ET00hl7lSM2XgYI1
TBnsZfZrxQWh7kcT1rMhJ5QQCtkkO7q+RBNGMD+XPNjX12ruOzjjK9SXDrkb5wdJ
fzcq+Xd4z1TtW0ado4AOkUPB1ltfFLqfpo0kR0BZv3I4sjZsN/+Z0V0OWQqraffA
sgRFelQArr5T9rXn4fg8ozHSqf4hUmTFpmfwdQcGlBSBVcYn5AGPF8Fqcde+S/uU
WH1+ETOxQvdibBjWzwloPn9s9h6PYq2lY9sJpx8iQkEeb5mKPtf5P0B6ebClAZLS
nT0IFaUQAS2zMnaolQ2zepr7BxB4EW/hj8e6DyUadCrlHJhBmd8hh+iVBmoKs2pH
dmX2Os+PYhcZewoozRrSgx4hxyy/vv9haLdnG7t4TY3OZ+XkwY63I2binZB1NJip
NiuKmpS5nezMirH4JYlcWrYvjB9teSSnUmjDhDXiZo1jDiVN1Rmy5nk3pyKdVDEC
AwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/QkqiMAwGA1UdEwQF
MAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH
ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGB
uvl2ICO1J2B01GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6Yl
PwZpVnPDimZI+ymBV3QGypzqKOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkP
JXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdVxrsStZf0X4OFunHB2WyBEXYKCrC/
gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEPNXubrjlpC2JgQCA2
j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+rGNm6
5ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUB
o2M3IUxExJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS
/jQ6fbjpKdx2qcgw+BRxgMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2z
Gp1iro2C6pSe3VkQw63d4k3jMdXH7OjysP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTE
W9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmODBCEIZ43ygknQW/2xzQ+D
hNQ+IIX3Sj0rnP0qCglN6oH4EZw=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,32 @@
Owner: CN=AAA Certificate Services, O=Comodo CA Limited, L=Salford, ST=Greater Manchester, C=GB
Issuer: CN=AAA Certificate Services, O=Comodo CA Limited, L=Salford, ST=Greater Manchester, C=GB
Serial number: 1
Valid from: Thu Jan 01 00:00:00 GMT 2004 until: Sun Dec 31 23:59:59 GMT 2028
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,23 @@
Owner: CN=COMODO ECC Certification Authority, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
Issuer: CN=COMODO ECC Certification Authority, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
Serial number: 1f47afaa62007050544c019e9b63992a
Valid from: Thu Mar 06 00:00:00 GMT 2008 until: Mon Jan 18 23:59:59 GMT 2038
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTEL
MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMT
IkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDgwMzA2MDAw
MDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy
ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09N
T0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSR
FtSrYpn1PlILBs5BAH+X4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0J
cfRK9ChQtP6IHG4/bC8vCVlbpVsLM5niwz2J+Wos77LTBumjQjBAMB0GA1UdDgQW
BBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/
BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VGFAkK+qDm
fQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdv
GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,41 @@
Owner: CN=COMODO RSA Certification Authority, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
Issuer: CN=COMODO RSA Certification Authority, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
Serial number: 4caaf9cadb636fe01ff74ed85b03869d
Valid from: Tue Jan 19 00:00:00 GMT 2010 until: Mon Jan 18 23:59:59 GMT 2038
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMTE5
MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR
Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNh
dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCR
6FSS0gpWsawNJN3Fz0RndJkrN6N9I3AAcbxT38T6KhKPS38QVr2fcHK3YX/JSw8X
pz3jsARh7v8Rl8f0hj4K+j5c+ZPmNHrZFGvnnLOFoIJ6dq9xkNfs/Q36nGz637CC
9BR++b7Epi9Pf5l/tfxnQ3K9DADWietrLNPtj5gcFKt+5eNu/Nio5JIk2kNrYrhV
/erBvGy2i/MOjZrkm2xpmfh4SDBF1a3hDTxFYPwyllEnvGfDyi62a+pGx8cgoLEf
Zd5ICLqkTqnyg0Y3hOvozIFIQ2dOciqbXL1MGyiKXCJ7tKuY2e7gUYPDCUZObT6Z
+pUX2nwzV0E8jVHtC7ZcryxjGt9XyD+86V3Em69FmeKjWiS0uqlWPc9vqv9JWL7w
qP/0uK3pN/u6uPQLOvnoQ0IeidiEyxPx2bvhiWC4jChWrBQdnArncevPDt09qZah
SL0896+1DSJMwBGB7FY79tOi4lu3sgQiUpWAk2nojkxl8ZEDLXB0AuqLZxUpaVIC
u9ffUGpVRr+goyhhf3DQw6KqLCGqR84onAZFdr+CGCe01a60y1Dma/RMhnEw6abf
Fobg2P9A3fvQQoh/ozM6LlweQRGBY84YcWsr7KaKtzFcOmpH4MN5WdYgGq/yapiq
crxXStJLnbsQ/LBMQeXtHT1eKJ2czL+zUdqnR+WEUwIDAQABo0IwQDAdBgNVHQ4E
FgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB
/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAArx1UaEt65Ru2yyTUEUAJNMnMvl
wFTPoCWOAvn9sKIN9SCYPBMtrFaisNZ+EZLpLrqeLppysb0ZRGxhNaKatBYSaVqM
4dc+pBroLwP0rmEdEBsqpIt6xf4FpuHA1sj+nq6PK7o9mfjYcwlYRm6mnPTXJ9OV
2jeDchzTc+CiR5kDOF3VSXkAKRzH7JsgHAckaVd4sjn8OoSgtZx8jb8uk2Intzna
FxiuvTwJaP+EmzzV1gsD41eeFPfR60/IvYcjt7ZJQ3mFXLrrkguhxuhoqEwWsRqZ
CuhTLJK7oQkYdQxlqHvLI7cawiiFwxv/0Cti76R7CZGYZ4wUAc1oBmpjIXUDgIiK
boHGhfKppC3n9KUkEEeDys30jXlYsQab5xoq2Z0B15R97QNKyvDb6KkBPvVWmcke
jkk9u+UJueBPSZI9FoJAzMxZxuY67RIuaTxslbH9qh17f4a+Hg4yRvv7E491f0yL
S0Zj/gA0QHDBw7mh3aZw4gSzQbzpgJHqZJx64SIDqZxubw5lT2yHh17zbqD5daWb
QOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk527RH89elWsn2/x20Kk4yl
0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7ILaZRfyHB
NVOFBkpdn627G190
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=DigiCert Assured ID Root G2, OU=www.digicert.com, O=DigiCert Inc, C=US
Issuer: CN=DigiCert Assured ID Root G2, OU=www.digicert.com, O=DigiCert Inc, C=US
Serial number: b931c3ad63967ea6723bfc3af9af44b
Valid from: Thu Aug 01 12:00:00 GMT 2013 until: Fri Jan 15 12:00:00 GMT 2038
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDljCCAn6gAwIBAgIQC5McOtY5Z+pnI7/Dr5r0SzANBgkqhkiG9w0BAQsFADBl
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
b3QgRzIwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBlMQswCQYDVQQG
EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIwggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ5ygvUj82ckmIkzTz+GoeMVSA
n61UQbVH35ao1K+ALbkKz3X9iaV9JPrjIgwrvJUXCzO/GU1BBpAAvQxNEP4Htecc
biJVMWWXvdMX0h5i89vqbFCMP4QMls+3ywPgym2hFEwbid3tALBSfK+RbLE4E9Hp
EgjAALAcKxHad3A2m67OeYfcgnDmCXRwVWmvo2ifv922ebPynXApVfSr/5Vh88lA
bx3RvpO704gqu52/clpWcTs/1PPRCv4o76Pu2ZmvA9OPYLfykqGxvYmJHzDNw6Yu
YjOuFgJ3RFrngQo8p0Quebg/BLxcoIfhG69Rjs3sLPr4/m3wOnyqi+RnlTGNAgMB
AAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQW
BBTOw0q5mVXyuNtgv6l+vVa1lzan1jANBgkqhkiG9w0BAQsFAAOCAQEAyqVVjOPI
QW5pJ6d1Ee88hjZv0p3GeDgdaZaikmkuOGybfQTUiaWxMTeKySHMq2zNixya1r9I
0jJmwYrA8y8678Dj1JGG0VDjA9tzd29KOVPt3ibHtX2vK0LRdWLjSisCx1BL4Gni
lmwORGYQRI+tBev4eaymG+g3NJ1TyWGqolKvSnAWhsI6yLETcDbYz+70CjTVW0z9
B5yiutkBclzzTcHdDrEcDcRjvq30FPuJ7KJBDkzMyFdA0G4Dqs0MjomZmWzwPDCv
ON9vvKO+KSAnq3T/EyJ43pdSVR6DtVQgA+6uwE9W3jfMw3+qBCe703e4YtsXfJwo
IhNzbM8m9Yop5w==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,22 @@
Owner: CN=DigiCert Assured ID Root G3, OU=www.digicert.com, O=DigiCert Inc, C=US
Issuer: CN=DigiCert Assured ID Root G3, OU=www.digicert.com, O=DigiCert Inc, C=US
Serial number: ba15afa1ddfa0b54944afcd24a06cec
Valid from: Thu Aug 01 12:00:00 GMT 2013 until: Fri Jan 15 12:00:00 GMT 2038
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICRjCCAc2gAwIBAgIQC6Fa+h3foLVJRK/NJKBs7DAKBggqhkjOPQQDAzBlMQsw
CQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cu
ZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3Qg
RzMwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBlMQswCQYDVQQGEwJV
UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQu
Y29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwdjAQBgcq
hkjOPQIBBgUrgQQAIgNiAAQZ57ysRGXtzbg/WPuNsVepRC0FFfLvC/8QdJ+1YlJf
Zn4f5dwbRXkLzMZTCp2NXQLZqVneAlr2lSoOjThKiknGvMYDOAdfVdp+CW7if17Q
RSAPWXYQ1qAk8C3eNvJsKTmjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/
BAQDAgGGMB0GA1UdDgQWBBTL0L2p4ZgFUaFNN6KDec6NHSrkhDAKBggqhkjOPQQD
AwNnADBkAjAlpIFFAmsSS3V0T8gj43DydXLefInwz5FyYZ5eEJJZVrmDxxDnOOlY
JjZ91eQ0hjkCMHw2U/Aw5WJjOpnitqM7mzT6HtoQknFekROn3aRukswy1vUhZscv
6pZjamVFkpUBtA==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Issuer: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Serial number: ce7e0e517d846fe8fe560fc1bf03039
Valid from: Fri Nov 10 00:00:00 GMT 2006 until: Mon Nov 10 00:00:00 GMT 2031
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP
mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+
wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4
VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/
AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB
AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
BBRF66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYun
pyGd823IDzANBgkqhkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRC
dWKuh+vy1dneVrOfzM4UKLkNl2BcEkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTf
fwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38FnSbNd67IJKusm7Xi+fT8r87cm
NW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i8b5QZ7dsvfPx
H2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe
+o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,29 @@
Owner: CN=DigiCert Global Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Issuer: CN=DigiCert Global Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Serial number: 83be056904246b1a1756ac95991c74a
Valid from: Fri Nov 10 00:00:00 GMT 2006 until: Mon Nov 10 00:00:00 GMT 2031
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB
CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97
nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt
43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P
T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4
gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO
BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR
TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw
DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr
hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg
06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF
PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls
YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk
CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=
-----END CERTIFICATE-----

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