Compare commits

...

1121 Commits

Author SHA1 Message Date
Chris Yin
30f22170ef 8198882: Add 10 JNDI tests to com/sun/jndi/dns/AttributeTests/
Reviewed-by: vtewari, rriggs
2018-07-25 11:03:07 +08:00
Alexandre Iline
ffc4cbe5da 8208157: requires.VMProps throws NPE for missing properties in "release" file
Reviewed-by: iignatyev, lancea
2018-07-24 08:58:32 -07:00
Jonathan Gibbons
955ce37d60 8207214: Broken links in JDK API serialized-form page
Reviewed-by: hannesw
2018-07-24 11:37:43 -07:00
Matthias Baesken
1dcf1dda27 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
Matthias Baesken
198715ae97 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
Ivan Gerasimov
ad816a0809 8207314: Unnecessary reallocation when constructing WeakHashMap from a large Map
Reviewed-by: martin
2018-07-23 22:07:55 -07:00
Vladimir Kozlov
2f4efb7871 8207262: enable applications/ctw/modules/java_desktop_2.java test again
Reviewed-by: iignatyev
2018-07-23 18:29:35 -07:00
Daniel D. Daugherty
f52c4365ca 8208092: ProblemList serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: sspitsyn
2018-07-23 14:41:06 -04:00
Antonios Printezis
9ff255dafe 8207849: Allow the addition of more number to the Java version string
Reviewed-by: erikj
2018-07-23 11:38:28 -04:00
Thomas Schatzl
7883ea1c31 8207953: Remove dead code in G1CopyingKeepAliveClosure
Reviewed-by: kbarrett
2018-07-23 17:32:04 +02:00
Vicente Romero
8e61321b6c 8205493: OptionSmokeTest.java uses hard-coded release values
Reviewed-by: darcy
2018-07-20 14:48:41 -07:00
Joe Darcy
07cb147927 8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
2018-07-20 14:46:43 -07:00
Ioi Lam
9959e34180 8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
Coleen Phillimore
39dd04b953 8207359: Make SymbolTable increment_refcount disallow zero
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.

Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Xin Liu
6cbef1de5d 8206075: On x86, assert on unbound assembler Labels used as branch targets
Reviewed-by: kvn, mdoerr, phh
2018-07-20 11:55:05 -07:00
Joe Darcy
fafd1b7536 8193462: Fix Filer handling of package-info initial elements
Reviewed-by: vromero
2018-07-18 00:23:06 -07:00
Joe Darcy
19c364592c 8193214: Incorrect annotations.without.processors warnings with JDK 9
Reviewed-by: vromero
2018-07-18 00:16:37 -07:00
Jean Christophe Beyler
a6ff367b24 8207765: HeapMonitorStatIntervalTest.java fails with ZGC
Add a calculation of array sizes before test to satisfy ZGC support

Reviewed-by: amenkov, sspitsyn
2018-07-19 18:21:24 -07:00
Christian Tornqvist
4805473049 8207855: Make applications/jcstress invoke tests in batches
Reviewed-by: kvn, iignatyev
2018-07-20 09:15:54 -04:00
Daniil Titov
301f3c3bb5 8204695: [Graal] vmTestbase/nsk/jdi/ClassPrepareRequest/addSourceNameFilter/addSourceNameFilter002/addSourceNameFilter002.java fails
Reviewed-by: sspitsyn, cjplummer
2018-07-19 16:53:33 -07:00
Vicente Romero
898e0f8607 8206874: Evaluate LoadClassFromJava6CreatedJarTest.java after dropping -source 6
Reviewed-by: darcy
2018-07-19 15:13:10 -07:00
Ivan Gerasimov
121c59eb6d 8207753: Handle to process snapshot is leaked if Process32First() fails
Reviewed-by: rriggs
2018-07-19 13:41:26 -07:00
Tom Rodriguez
5226a6a2bb 8207202: [Graal] compiler/graalunit/CoreTest.java fails
Reviewed-by: kvn
2018-07-19 12:55:24 -07:00
Naoto Sato
602a497270 8206886: Java does not set the default format locale correctly on mac10.13
Reviewed-by: rriggs
2018-07-19 11:15:38 -07:00
Phil Race
f921743302 Merge 2018-07-19 10:53:38 -07:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Bob Vandette
6fc4db4799 8206456: [TESTBUG] docker jtreg tests fail on systems without cpuset.effective_cpus / cpuset.effective_mem
Reviewed-by: mbaesken, mchung
2018-07-19 12:57:12 -04:00
Phil Race
f8f90df4d7 Added tag jdk-12+3 for changeset 990db216e719 2018-07-19 09:46:29 -07:00
Phil Race
329374e53b Added tag jdk-11+23 for changeset 1edcf36fe15f 2018-07-19 09:42:15 -07:00
Joe Darcy
269286da50 8207816: Align declaration of SerializedLambda.readResolve with serialization conventions
Reviewed-by: briangoetz
2018-07-19 09:20:08 -07:00
Hamlin Li
069fa394d0 8207316: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java failed
Reviewed-by: alanb, simonis
2018-07-19 16:22:19 +08:00
Krishna Addepalli
2d2dd74c80 8206343: There is a typo in the java documentation of javax.swing.JScrollBar
Reviewed-by: prr, mhalder
2018-07-19 13:49:44 +05:30
Serguei Spitsyn
bfa23646ee 8207819: Problem list serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java
Problem list the test

Reviewed-by: cjplummer
2018-07-18 20:54:12 -07:00
Amy Lu
e09b97b5cb 8207818: Problem list several rmi tests
Reviewed-by: darcy
2018-07-19 10:30:24 +08:00
Joe Darcy
a5e27072fe 8203263: Remove unnecessary throws clauses from serialization-related methods
Reviewed-by: prr
2018-07-18 16:13:21 -07:00
Jamil Nimeh
1f273bde76 8207237: SSLSocket#setEnabledCipherSuites is accepting empty string
Reviewed-by: xuelei
2018-07-18 14:32:46 -07:00
Rajan Halade
ba7bab5fc9 8203230: update VerifyCACerts test
Reviewed-by: mullan
2018-07-18 09:50:04 -07:00
Joe Darcy
e85841f34b 8207751: Remove misleading serialVersionUID from JulienFields.Field
Reviewed-by: lancea
2018-07-18 08:27:53 -07:00
Roger Riggs
7d4da87a14 8189717: Too much documentation of ProcessBuilder.start copied to ProcessBuilder.startPipeline
Reviewed-by: bpb, lancea
2018-07-18 09:46:03 -04:00
Alex Buckley
85f79b0dab 8207393: ServiceLoader class description improvements
Reviewed-by: alanb, lancea
2018-07-18 07:39:54 +01:00
Martin Buchholz
796a53f6e5 8206863: A closed JarVerifier.VerifierStream should throw IOException
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: rasbold
2018-07-17 17:36:27 -07:00
Ivan Gerasimov
b30fe07450 8207750: Native handle leak in java.io.WinNTFileSystem.list()
Reviewed-by: bpb
2018-07-17 17:17:16 -07:00
Brian Burkhalter
01fd04b862 8207748: Fix for 8202794 breaks tier1 builds
Reviewed-by: kbarrett, darcy
2018-07-17 16:22:26 -07:00
Roger Riggs
e1ee13c514 8205610: [TESTLIB] Improve listing of open file descriptors
Reviewed-by: lancea
2018-07-17 17:14:03 -04:00
Kim Barrett
9a9c824ece 8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events

Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.

Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
Bernard Blaser
f4723253b6 8202794: Native Unix code should use readdir rather than readdir_r
Reviewed-by: alanb, bsrbnd
2018-07-17 12:03:10 -07:00
Calvin Cheung
0140ddadab 8204591: Expire/remove the UseAppCDS option in JDK 12
Reviewed-by: jiangli, mseledtsov, iklam
2018-07-17 11:58:53 -07:00
Jan Lahoda
66025558bb 8207229: Trees.getScope crashes for broken lambda
8207230: Trees.getScope runs Analyzers

Reviewed-by: vromero
2018-07-17 14:28:56 +02:00
Alan Bateman
df45a1b57e 8207340: (fs) UnixNativeDispatcher close and readdir usages should be fixed
Reviewed-by: bpb
2018-07-17 08:10:48 +01:00
Joe Darcy
a376d5dab4 8207248: Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
Reviewed-by: vromero
2018-07-16 21:53:49 -07:00
Brian Burkhalter
769e802001 8206448: (fs) Extended attributes assumed to be enabled on ext3 (lnx)
Assume extended attributes are only explicitly enable on ext3

Reviewed-by: mbaesken, alanb
2018-07-16 10:58:28 -07:00
Ivan Gerasimov
bd236c55d0 8207016: Avoid redundant native memory allocation in getFinalPath()
Reviewed-by: alanb
2018-07-16 10:07:22 -07:00
Rajan Halade
a4bf30fb50 8207321: Merge error with 8199779
Reviewed-by: mullan
2018-07-16 08:59:39 -07:00
Lois Foltan
cc58241bec 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
Lois Foltan
e8fcd927c3 8178712: ResourceMark may be missing inside initialize_[vi]table
Clean up use of ResourceMark within initialize_[vi]table.

Reviewed-by: ccheung, iklam, jiangli
2018-07-16 09:06:33 -04:00
Phil Race
a6bd52da93 Merge 2018-07-12 11:09:23 -07:00
Severin Gehwolf
3aa10b4fab 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
Jan Lahoda
fe80e55647 8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
Caching the results of Elements.getTypeElement/getPackageElement

Reviewed-by: darcy
2018-07-16 12:35:25 +02:00
Boris Ulasevich
2131cb484e 8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
Limit flag range to don't overflow 12bit instruction operand

Reviewed-by: aph, dsamersoff
2018-07-15 18:16:55 +03:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Jonathan Gibbons
93364e9a43 8207213: The help-doc.html generated by the doclet is incomplete
Reviewed-by: hannesw
2018-07-13 13:00:36 -07:00
Aleksei Voitylov
2d0aee2275 8207065: Cleanup compiler tests for Client VM
Reviewed-by: kvn, iignatyev
2018-07-13 11:13:34 -07:00
Rajan Halade
9335adaf4a 8199779: Add T-Systems, GlobalSign and Starfield services root certificates
Reviewed-by: mullan
2018-07-13 09:48:52 -07:00
Claes Redestad
173732afaa 8207235: ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class) throws NPE
Reviewed-by: alanb
2018-07-13 18:39:11 +02:00
Daniil Titov
8afac1c9da 8191948: db error: InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: sspitsyn, amenkov
2018-07-12 22:53:35 -07:00
Adam Petcher
b2f4d61fb9 8206915: XDH TCK issues
Fixing a couple of conformance issues in XDH

Reviewed-by: mullan
2018-07-13 10:42:30 -04:00
Roland Westrelin
6dc1ccac6b 8200282: Serializing non-zero byte as zero to ByteBuffer
Arraycopy converted as a series of loads/stores uses wrong slice for loads

Reviewed-by: kvn, thartmann
2018-07-13 15:44:54 +02:00
Xue-Lei Andrew Fan
a98ec3e8bd 8207029: Unable to use custom SSLEngine with default TrustManagerFactory after updating to JDK 11 b21
Reviewed-by: wetmore
2018-07-13 07:08:59 -07:00
Boris Ulasevich
5bd94254bb 8207047: Multiple VM variants build fail
Reviewed-by: erikj
2018-07-13 07:01:51 -07:00
Volker Simonis
0b9f5c8862 8206998: [test] runtime/ElfDecoder/TestElfDirectRead.java requires longer timeout on ppc64
Reviewed-by: zgu, dholmes
2018-07-13 11:07:43 +02:00
Mikael Vidstedt
0103ed733d 8207210: Problem list javax/sound/sampled/Clip/AutoCloseTimeCheck.java
Reviewed-by: prr
2018-07-12 15:02:41 -07:00
John Jiang
5074bbb767 8206443: Update security libs manual test to cope with removal of javac -source/-target 6
Change compile -source/-target from 1.6 to 1.7

Reviewed-by: xuelei
2018-07-14 07:31:26 +08:00
Patricio Chilano Mateo
2b397c3c13 8206470: Incorrect use of os::lasterror in ClassListParser
The change is for future-proof the code in case errno gets overwritten inside the allocation logic.

Reviewed-by: dholmes
2018-07-13 13:58:17 -04:00
Ivan Gerasimov
78f3c8a7d4 8207145: (fs) Native memory leak in WindowsNativeDispatcher.LookupPrivilegeValue0
Reviewed-by: alanb
2018-07-12 06:04:57 -07:00
Zhengyu Gu
1c976267be 8207056: Epsilon GC to support object pinning
Epsilon GC to use object pinning to avoid expensive GCLocker

Reviewed-by: shade, rkennke
2018-07-11 13:55:38 -04:00
Jesper Wilhelmsson
90f21d1a34 Added tag jdk-12+2 for changeset 69b438908512 2018-07-12 12:22:54 +02:00
Joe Darcy
e18f343141 8207055: Make javac -help output for -source and -target more informative
Reviewed-by: jjg
2018-07-11 16:12:18 -07:00
Brent Christian
c7a1b6431d 8207005: Disable the file canonicalization cache by default
Reviewed-by: alanb, bpb
2018-07-11 14:32:42 -07:00
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
Boris Ulasevich
b32727d780 8207044: minimal vm build fail: missing #include
Add missing #include

Reviewed-by: kbarrett, shade
2018-07-11 15:08:44 -04:00
Coleen Phillimore
fb3b911fbe 8198720: Obsolete PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Convert PrintSafepointStatistics to UL

Reviewed-by: shade, lfoltan
2018-07-11 14:44:05 -04:00
Andrew Wong
8da558cd3a 8205967: Remove sun/security/krb5/auto/UnboundSSL.java from ProblemList.txt
Reviewed-by: xuelei, rhalade
2018-07-11 11:17:09 -07:00
Zhengyu Gu
0a1e54644b 8206183: Possible construct EMPTY_STACK and allocation stack, etc. on first use
Uses "construct on First Use Idiom" pattern to workaround static initialization order

Reviewed-by: dholmes, minqi
2018-07-11 13:28:07 -04:00
Volker Simonis
24feae77a7 8207067: [test] prevent timeouts in serviceability/tmtools/jstat/{GcTest02,GcCauseTest02}.java
Reviewed-by: dholmes, goetz
2018-07-11 19:23:27 +02:00
Joe Darcy
2363998598 8173606: Deprecate constructors of 7-era visitors
Reviewed-by: vromero, jjg
2018-07-11 08:24:39 -07:00
Zhongwei Yao
45158a4766 8206975: AArch64: Fix CompareAndSwapOp when useLSE is enabled in Graal
Reviewed-by: adinn, aph
2018-07-11 15:00:33 +08:00
Rahul Raghavan
2e36eebdd2 8206873: 2 Null pointer dereference defect groups in LIRGenerator
Added missing assert statements

Reviewed-by: kvn, thartmann
2018-07-13 01:31:23 -07:00
Goetz Lindenmaier
2e682fa3cd 8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
2018-07-12 16:31:28 +02:00
Felix Yang
f508eb1370 8202481: RegisterDuringSelect.java fails with java.util.concurrent.ExecutionException: java.nio.channels.ClosedSelectorException
8207023: Add trace info to java/nio/channels/Selector/RegisterDuringSelect.java

Reviewed-by: alanb
2018-07-13 11:21:55 +08:00
Mikael Vidstedt
47819594ed 8207217: Problem list java/lang/management/ThreadMXBean/AllThreadIds.java
Reviewed-by: dholmes
2018-07-12 17:32:37 -07:00
Mikael Vidstedt
cc004b437e 8207210: Problem list javax/sound/sampled/Clip/AutoCloseTimeCheck.java
Reviewed-by: prr
2018-07-12 15:02:41 -07:00
Jean Christophe Beyler
1292187b28 8206960: HeapMonitor tests fail with Graal
Remove checking lines and disable VMEventsTest when using Graal

Reviewed-by: amenkov, sspitsyn
2018-07-12 12:00:52 -07:00
Vladimir Kozlov
dbb21a2a92 8206953: compiler/profiling/TestTypeProfiling.java fails when JVMCI build disabled
Restore original behavior when C2 is used

Reviewed-by: thartmann, mdoerr, dnsimon, gdub
2018-07-12 11:57:06 -07:00
Naoto Sato
0df02a4cb8 8207152: Placeholder for Japanese new era should be two characters
Reviewed-by: rriggs
2018-07-12 11:24:10 -07:00
Paul Sandoz
d808684592 8207027: Lookup.accessClass fails for an array type in the same package when assertions are enabled
Reviewed-by: redestad, mchung
2018-07-11 15:35:47 -07:00
Goetz Lindenmaier
8a9b0134a8 8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Ralf Schmelter
89f13ef117 8207001: *.obj.log files get truncated causing unreliable incremental builds on Windows
Reviewed-by: erikj, tbell
2018-07-12 16:30:47 +02:00
Aleksei Voitylov
c76ac0d457 8206903: Unable to build Client VM with JVMCI
Reviewed-by: erikj, kvn
2018-07-12 07:14:30 -07:00
Krishna Addepalli
03d9e25265 8206238: Aspect ratio is not maintained when Image is scaled in JEditorPane
Reviewed-by: prr, sveerabhadra
2018-07-12 17:34:36 +05:30
Jesper Wilhelmsson
1f09843a0d Added tag jdk-11+22 for changeset 9937ef7499dc 2018-07-12 13:40:20 +02:00
Manajit Halder
bad72aa13c 8204860: The frame could be resized by dragging a corner of the frame with the mouse
Reviewed-by: prr, psadhukhan
2018-07-12 15:17:18 +05:30
Aleksey Shipilev
39a27d1115 8207006: serviceability/sa/TestUniverse.java#id0 crashes with EpsilonGC and AOT
Reviewed-by: twisti, kvn
2018-07-12 09:13:55 +02:00
Weijun Wang
11e4fac62b 8206189: sun/security/pkcs12/EmptyPassword.java fails with Sequence tag error
Reviewed-by: xuelei
2018-07-12 08:44:39 +08:00
Rajan Halade
3bbfd2f301 8207068: Add Entrust root certificates
Reviewed-by: weijun
2018-07-11 14:54:35 -07:00
Naoto Sato
fa3591db42 8206980: ZonedDateTime could not parse timezone name with zh_CN locale correctly
Reviewed-by: rriggs
2018-07-11 14:47:43 -07:00
Aleksey Shipilev
4f20e7f453 8206931: Misleading "COMPILE SKIPPED: invalid non-klass dependency" compile log
Reviewed-by: vlivanov, never
2018-07-11 08:44:00 +02:00
Calvin Cheung
a10d6e71d8 8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
Exit vm if setting of boot class path fails.

Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07:00
Jean Christophe Beyler
0922828415 8205643: HeapMonitorGCCMSTest fails with Graal
Do not run HeapMonitorGCCMSTest with Graal

Reviewed-by: amenkov, sspitsyn
2018-07-10 15:29:25 -07:00
Doug Lea
bb74071bcf 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
Doug Lea
85daddd4cf 8205620: Miscellaneous changes imported from jsr166 CVS 2018-07
Reviewed-by: martin, psandoz
2018-07-10 10:24:08 -07:00
Doug Lea
08fb8e4d1c 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
Doug Lea
fce671f409 8206123: ArrayDeque created with default constructor can only hold 15 elements
Reviewed-by: martin, psandoz, igerasim
2018-07-10 10:24:08 -07:00
Coleen Phillimore
859ba8ca28 8206471: Race with ConcurrentHashTable deleting items on insert with cleanup thread
Only fetch Node::next once and use that result.

Reviewed-by: hseigel, dholmes
2018-07-10 11:13:33 -04:00
Gunter Haug
bb12ce24ef 8206919: s390: add missing info to vm_version_ext_s390
Reviewed-by: simonis, mdoerr
2018-07-10 11:36:36 +02:00
Sergey Bylokhov
991ca8f9fa 8202264: Race condition in AudioClip.loop()
Reviewed-by: prr
2018-07-11 13:41:25 +03:00
Sergey Bylokhov
b782289aa2 8205973: Client jtreg ProblemList cleanup
Reviewed-by: prr
2018-07-11 13:17:48 +03:00
John Jiang
8452535d49 8199645: javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with Connection reset
Refactor this test with SSLSocketTemplate

Reviewed-by: xuelei
2018-07-11 10:39:58 +08:00
Vladimir Kozlov
05f6e0dd45 8206135: Building jvm with AOT but without JVMCI should fail at configure time
Reviewed-by: erikj
2018-07-10 19:42:48 -07:00
Mikael Vidstedt
dd4a832ab8 8207007: Add missing license header to zHash.inline.hpp
Reviewed-by: tschatzl, pliden
2018-07-10 16:14:48 -07:00
Ekaterina Pavlova
ca6835dc9a 8206951: [Graal] org.graalvm.compiler.hotspot.test.GraalOSRTest to ProblemList-graal.txt
Reviewed-by: kvn
2018-07-10 13:54:17 -07:00
Kim Barrett
ca3b04f912 8204691: HeapRegion.apply_to_marked_objects_other_vm_test fails with assert(!hr->is_free() || hr->is_empty()) failed: Free region 0 is not empty for set Free list #
Run test in safepoint.

Reviewed-by: tschatzl, ehelin
2018-07-10 13:34:32 -04:00
Tobias Hartmann
a16ca4799e 8205472: Deadlock in Kitchensink when trying to print compile queues causing timeout
Do not acquire the MethodCompileQueue_lock in CompileBroker::print_compile_queues().

Reviewed-by: kvn, kbarrett, dholmes
2018-07-10 15:33:55 +02:00
Thomas Schatzl
f57c7d1f4a 8206476: Wrong assert in phase_enum_2_phase_string() in referenceProcessorPhaseTimes.cpp
A less or equal than should be less than.

Reviewed-by: ehelin, kbarrett
2018-07-10 15:09:34 +02:00
David Holmes
7d7116339a 8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
Run the new runtime/jni/terminatedThread/TestTerminatedThread.java test in othervm mode

Reviewed-by: alanb, mikael
2018-07-10 03:14:55 -04:00
David Holmes
e9ad46f26c 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00
Xueming Shen
84234d1abb 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
Kim Barrett
051f4ed627 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
Thomas Schatzl
66e825aa41 8206453: Taskqueue stats should count real steal attempts, not calls to GenericTaskQueueSet::steal
Reviewed-by: ehelin, kbarrett
2018-07-09 14:12:50 +02:00
David Holmes
466ccfe781 8205966: [testbug] New Nestmates JDI test times out with Xcomp on sparc
Reviewed-by: mikael, sspitsyn
2018-07-08 20:00:46 -04:00
Jiangli Zhou
9ba5bab865 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
Roger Riggs
4d93f17fe1 8206495: Redundant System.setProperty(null) tests
Reviewed-by: mchung, lancea
2018-07-06 15:22:07 -04:00
Joe Darcy
03597d010c 8206439: Remove javac -source/-target 6 from langtools regression tests
Reviewed-by: mcimadamore
2018-07-06 10:28:56 -07:00
Joe Darcy
d2de786263 8206440: Remove javac -source/-target 6 from jdk regression tests
Reviewed-by: alanb
2018-07-06 09:37:44 -07:00
Joe Wang
3cf62646ed 8206164: forgot to "throw" TransformerConfigurationException
Reviewed-by: lancea
2018-07-06 09:26:01 -07:00
Coleen Phillimore
61d4faee90 8205417: Obsolete UnlinkSymbolsALot debugging option
Obsolete and remove support for UnlinkSymbolsALot

Reviewed-by: hseigel, dholmes
2018-07-06 09:10:07 -04:00
Harold Seigel
5ff2b5fe98 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
Coleen Phillimore
6d497ee263 8202737: Obsolete AllowNonVirtualCalls option
Obsolete option and remove support.

Reviewed-by: dholmes, jiangli, kbarrett
2018-07-06 09:00:48 -04:00
Jonathan Gibbons
ea084baf94 8206318: Enhance package documentation for internal javadoc packages
Reviewed-by: sundar
2018-07-05 14:35:03 -07:00
Naoto Sato
10fca535db 8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on Mac 10.13 with zh_CN and zh_TW locales
Reviewed-by: rriggs
2018-07-05 14:23:45 -07:00
Roman Kennke
943be51fe7 8206272: Remove stray BarrierSetAssembler call
Reviewed-by: pliden, shade
2018-07-05 19:22:53 +02:00
Roman Kennke
3f0f527c5b 8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method
Reviewed-by: pliden, shade
2018-07-05 19:22:38 +02:00
Calvin Cheung
210e064a8d 8205548: Remove multi-release jar related vm code
Reviewed-by: iklam, jiangli
2018-07-05 09:11:33 -07:00
Brian Burkhalter
8457eb629f 8194899: Remove unused sun.net classes
Reviewed-by: alanb, mchung, dfuchs, chegar, michaelm
2018-07-05 07:22:21 -07:00
Jesper Wilhelmsson
ecc1af23af Added tag jdk-12+1 for changeset 00b16d0457e4 2018-07-05 13:31:04 +02:00
Sibabrata Sahoo
136331b7f0 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
Joe Darcy
da22bf8a17 8206114: Refactor langtools/tools/javac/classfiles/ClassVersionChecker.java
Reviewed-by: jjg
2018-07-03 16:14:46 -07:00
Joe Darcy
28e2dea71d 8206085: Refactor langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg, forax, plevart, mcimadamore
2018-07-03 15:59:09 -07:00
Brian Burkhalter
aef5f86408 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
Naoto Sato
0a99860ff9 8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: rriggs
2018-07-03 14:42:13 -07:00
Coleen Phillimore
3e4eba7668 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
Patricio Chilano Mateo
209071d135 8134538: Duplicate implementations of os::lasterror
Method os::lasterror was moved to os_posix.cpp

Reviewed-by: hseigel, kbarrett, coleenp
2018-07-03 15:08:01 -04:00
Coleen Phillimore
c0ebf80159 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2018-07-03 13:41:18 -04:00
Erik Joelsson
cfd42a97cc 8206087: windows-x64-cmp-baseline fails with The files do not have the same suffix type
Reviewed-by: tbell
2018-07-03 18:46:51 +02:00
Shashidhara Veerabhadraiah
bd0c60ff71 8195991: [TEST_BUG]:Regression manual Test java/awt/TrayIcon/RightClickWhenBalloonDisplayed/RightClickWhenBalloonDisplayed.html fails
Reviewed-by: serb, mhalder
2018-07-03 16:09:25 +05:30
Vivek Theeyarath
ac99e1d447 8177275: IllegalArgumentException when MH would have too many parameters is not specified for several methods
Updated spec and added tests

Reviewed-by: psandoz
2018-07-02 23:33:40 -07:00
Nils Eliasson
6cd1f27fcf 8205999: C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge"
Backout 8204157 to state before 8192992

Reviewed-by: thartmann, mdoerr
2018-07-03 10:47:50 +02:00
Jesper Wilhelmsson
4222f3408c Merge 2018-07-03 02:07:49 +02:00
Joe Wang
977b9cae12 8204329: Java API doc for XMLStreamReader.next() needs to be clarified for the exception thrown when hasNext() method returns false
Reviewed-by: lancea, rriggs
2018-07-02 13:54:01 -07:00
Zhengyu Gu
1a566d4510 8205965: SIGSEGV on write to NativeCallStack::EMPTY_STACK
Made EMPTY_STACK non-const, so it will not be placed in read-only BSS section.

Reviewed-by: stuefe, martin
2018-07-02 16:28:09 -04:00
Zhengyu Gu
9006ccdbbf 8205965: SIGSEGV on write to NativeCallStack::EMPTY_STACK
Made EMPTY_STACK non-const, so it will not be placed in read-only BSS section.

Reviewed-by: stuefe, martin
2018-07-02 16:28:09 -04:00
Krishna Addepalli
c4b2780bea 8197810: Test java/awt/Choice/SelectCurrentItemTest/SelectCurrentItemTest.html fails on Windows
Reviewed-by: serb, pbansal
2018-07-02 14:31:33 +05:30
Roland Westrelin
7d7184e505 8205515: assert(opcode == Op_RangeCheck) failed: no other if variant here
Reviewed-by: thartmann, kvn
2018-07-02 10:44:46 +02:00
Jesper Wilhelmsson
39da5e6c4c Added tag jdk-11+20 for changeset 9816d7cc655e 2018-07-02 13:11:41 +02:00
Martin Doerr
4f2abf069a 8206003: SafepointSynchronize with TLH: StoreStore barriers should be moved out of the loop
Reviewed-by: eosterlund, rehn, dholmes
2018-07-02 11:46:15 +02:00
Rahul Raghavan
29dc54093b 8203504: [Graal] org.graalvm.compiler.debug.test.DebugContextTest fails with java.util.ServiceConfigurationError
Added required uses statement

Reviewed-by: dnsimon, kvn
2018-07-02 00:55:24 -07:00
Thomas Schatzl
e02646e05b 8203848: Missing remembered set entry in j.l.ref.references after JDK-8203028
Collect remembered sets for discovered fields while adding them to the list of discovered references.

Reviewed-by: kbarrett, eosterlund
2018-07-02 09:38:20 +02:00
Tobias Hartmann
cbec44e846 8206093: compiler/graalunit/HotspotTest.java fails in CheckGraalIntrinsics
Ignore encodeBlock intrinsic.

Reviewed-by: kvn
2018-07-02 09:28:23 +02:00
Tobias Hartmann
48942a6aba 8206093: compiler/graalunit/HotspotTest.java fails in CheckGraalIntrinsics
Ignore encodeBlock intrinsic.

Reviewed-by: kvn
2018-07-02 09:21:06 +02:00
Ivan Gerasimov
8774d70044 8204310: Simpler RandomAccessFile.setLength() on Windows
Reviewed-by: alanb
2018-06-29 17:35:04 -07:00
Valerie Peng
ecc5979769 8205720: KeyFactory#getKeySpec and translateKey thorws NullPointerException with Invalid key
Updated SunRsaSign provider to check and throw InvalidKeyException for null key algo/format/encoding

Reviewed-by: xuelei
2018-06-30 00:33:05 +00:00
Sergey Bylokhov
11184615a8 8201552: Ellipsis in "Classical" label in SwingSet2 demo with Windows L&F at Hidpi
Reviewed-by: prr
2018-06-29 13:58:16 -07:00
Igor Ignatyev
8de0f1ba41 8204355: [Graal] org.graalvm.compiler.debug.test.CSVUtilTest fails on Windows due to improper line separator used
Reviewed-by: kvn
2018-06-29 13:44:13 -07:00
Igor Ignatyev
16cb20cfbd 8204517: [Graal] org.graalvm.compiler.debug.test.VersionsTest fails with InvalidPathException on windows
Reviewed-by: kvn
2018-06-29 13:44:09 -07:00
Igor Ignatyev
6c7c6c7190 8206117: failed to get JDK properties for JVM w/o JVMCI
Reviewed-by: kvn
2018-06-29 13:43:35 -07:00
Daniil Titov
bebd49cf84 8206086: [Graal] JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer, amenkov
2018-06-29 12:34:03 -07:00
Joe Wang
bfb397a679 8190835: Subtraction with two javax.xml.datatype.Duration gives incorrect result
Reviewed-by: lancea
2018-06-29 10:13:24 -07:00
Roland Westrelin
8c2d9b5ff0 8202123: C2 Crash in Node::in(unsigned int) const+0x14
Reviewed-by: kvn, thartmann
2018-06-29 17:59:44 +02:00
David Holmes
1980056947 8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
Run the new runtime/jni/terminatedThread/TestTerminatedThread.java test in othervm mode

Reviewed-by: alanb, mikael
2018-07-10 03:14:55 -04:00
Vladimir Kozlov
f675eb67a6 8206952: java/lang/Class/GetPackageBootLoaderChildLayer.java fails with Graal
Don't run test with Graal

Reviewed-by: mchung, epavlova
2018-07-09 22:20:02 -07:00
John Jiang
a2a0138612 8203007: Address missing block coverage for ChaCha20 and Poly1305 algorithms
Add unit tests for ChaCha20Cipher, ChaCha20Poly1305Parameters and Poly1305

Reviewed-by: xuelei, jnimeh
2018-07-10 10:59:57 +08:00
David Holmes
5fcb3ecb4e 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00
Erik Joelsson
155ec2ab81 8206323: Missing some legal notices in docs bundle
Reviewed-by: mchung, tbell
2018-07-09 14:21:33 -07:00
Jonathan Gibbons
2214cd06a8 8185740: The help-doc.html generated by the doclet is outdated
Reviewed-by: sundar
2018-07-09 13:26:59 -07:00
Vivek Deshpande
29cd9fe2ea 8194740: UseSubwordForMaxVector causes performance regression
Reviewed-by: kvn, thartmann
2018-07-09 13:25:08 -07:00
Igor Ignatyev
cb2d33f02c 8206287: fix legal notice in hotspot tests
Reviewed-by: kvn, hseigel
2018-07-09 11:15:55 -07:00
Phil Race
e9c8e369b7 8206106: [solaris sparc] jck tests api/javax_print/PrintService failing
Reviewed-by: simonis, erikj
2018-07-09 10:25:55 -07:00
Phil Race
a62b057397 8205646: Broken link in jdk.jsobject
Reviewed-by: serb
2018-07-09 10:23:17 -07:00
Erik Joelsson
1e3516bc36 8206433: Several jib profiles missing autoconf dependency
Reviewed-by: tbell
2018-07-09 09:09:21 -07:00
Sergey Bylokhov
684a1ff69e 8205588: Deprecate for removal com.sun.awt.SecurityWarning
Reviewed-by: prr, kaddepalli
2018-07-09 19:09:29 +03:00
Gunter Haug
f36f4df68d 8206408: Add missing CPU/system info to vm_version_ext on PPC64
Reviewed-by: mdoerr, simonis
2018-07-09 12:51:58 +02:00
Sergey Bylokhov
51422fc2a9 8201611: Broken links in java.desktop javadoc
Reviewed-by: prr, kaddepalli
2018-07-09 16:36:05 +03:00
Martin Doerr
ea13adc07f 8206459: [s390] Prevent restoring incorrect bcp and locals in interpreter and avoid incorrect size of partialSubtypeCheckNode in C2
Reviewed-by: goetz
2018-07-09 15:26:58 +02:00
Andrew Dinn
d5c20788ae 8206163: AArch64: incorrect code generation for StoreCM
StoreCM may require planting a StoreStore barrier

Reviewed-by: aph, zyao, roland
2018-07-09 09:38:11 +01:00
Thomas Schatzl
cb9a168f8b 8205426: Humongous continues remembered set does not match humongous start region one after Remark
Remembered set states for humongous objects crossing an internal per-thread processing threshold could synchronized if the humongous continues regions were processed first.

Reviewed-by: ehelin, kbarrett
2018-07-09 10:19:51 +02:00
Weijun Wang
7ca2af2492 8198352: java.util.MissingResourceException: sun.security.util.AuthResources when trying to use com.sun.security.auth.module.UnixLoginModule
Reviewed-by: xuelei
2018-07-09 12:20:56 +08:00
David Holmes
d24f9d4c13 8205966: [testbug] New Nestmates JDI test times out with Xcomp on sparc
Reviewed-by: mikael, sspitsyn
2018-07-08 20:00:46 -04:00
Markus Grönlund
cb094826ec 8203943: eventThreadGroup was null in TestJavaBlockedEvent.java
Reviewed-by: egahlin
2018-07-08 11:54:08 +02:00
Liam Miller-Cushon
1fc1f68c3d 8204630: Generating an anonymous class with Filer#createClassFile causes an NPE in JavacProcessingEnvironment
Reviewed-by: jlahoda
2018-07-06 12:10:43 -07:00
Vladimir Kozlov
f1ce5c1456 8193126: Incorrect setting of MetaspaceSize and NewSizeThreadIncrease when using JVMCI compiler
Select maximum default values for JVMCI

Reviewed-by: dnsimon, iveresov
2018-07-06 13:45:41 -07:00
Phil Race
485b10778d 8206375: ProblemList update of bug ID for SwingFontMetricsTest
Reviewed-by: serb
2018-07-06 10:39:38 -07:00
Phil Race
dd12703f56 8206428: Upgrade JDK11 to harfbuzz 1.8.2
Reviewed-by: serb
2018-07-06 10:37:47 -07:00
Srinivas Dama
d9aa299526 8206450: Add JImageListTest.java to ProblemList.txt
Added JImageListTest.java to ProblemList.txt

Reviewed-by: dholmes
2018-07-06 13:38:56 +05:30
Volker Simonis
2e628779e4 8206436: sun/nio/cs/TestIBMBugs.java no longer compiles
Reviewed-by: mikael, stuefe, alanb
2018-07-06 09:22:18 +02:00
Igor Ignatyev
4ab3ee9f6d 8206429: [REDO] 8202561 clean up TEST.groups
Reviewed-by: kvn, dholmes, ctornqvi
2018-07-05 20:00:04 -07:00
Vladimir Kozlov
6096681762 8206324: compiler/whitebox/DeoptimizeFramesTest.java to ProblemList-graal.txt
Reviewed-by: dlong
2018-07-05 12:38:36 -07:00
Matthias Baesken
2db58ca8c3 8206394: missing ResourceMark in AOTCompiledMethod::metadata_do, AOTCompiledMethod::clear_inline_caches , CompiledMethod::clear_ic_stubs , CompiledMethod::cleanup_inline_caches_impl
Reviewed-by: kvn
2018-07-05 09:38:15 +02:00
Srinivas Dama
c216fe0f55 8198405: JImageExtractTest.java & JImageListTest.java failed in Windows
Make a directory readonly using nio file attribute AclEntry

Reviewed-by: jlaskey
2018-07-06 00:40:12 +05:30
Sergey Bylokhov
7485f6b5b9 8205454: &amp; is displayed in some Swing docs
Reviewed-by: prr, psadhukhan
2018-07-05 21:29:11 +03:00
Tobias Hartmann
69438af9ec 8205940: LoadNode::find_previous_arraycopy fails with "broken allocation" assert
Removed assert which is too strong.

Reviewed-by: roland
2018-06-29 11:10:47 +02:00
Tobias Hartmann
5e002c7aa7 8205499: C1 temporary code buffers are not removed with -XX:+UseDynamicNumberOfCompilerThreads
Deallocate C1 code buffers in the compiler thread destructor.

Reviewed-by: neliasso, kvn, mdoerr
2018-06-29 11:08:38 +02:00
Jan Lahoda
eaf0364068 8205418: Assorted improvements to source code model
Improving tree positions, better error recovery, fixing Trees.getScope for possibly erroneous lambdas.

Reviewed-by: jjg, mcimadamore, vromero
2018-06-29 10:41:10 +02:00
Igor Ignatyev
487db1a3bb 8206088: 8205207 broke builds
Reviewed-by: ehelin, epavlova
2018-06-28 21:58:23 -07:00
Ekaterina Pavlova
b4c6d6ae31 8195630: [Graal] vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java fails with Graal
Reviewed-by: kvn
2018-06-28 19:33:00 -07:00
Joe Darcy
69191fc4cc 8206083: Make tools/javac/api/T6265137.java robust to JDK version changes
Reviewed-by: jjg
2018-06-28 17:49:13 -07:00
Mikael Vidstedt
c89978f4fd 8206022: Add test to check that the JVM accepts class files with version 56
Reviewed-by: hseigel, hseigel
2018-06-28 17:45:59 -07:00
Weijun Wang
b57ff34325 8205927: Update src/java.base/share/legal/public_suffix.md to match the actual file version
Reviewed-by: mullan, xuelei
2018-06-29 08:21:15 +08:00
Ekaterina Pavlova
992c9ee022 8205207: Port Graal unit tests under jtreg
Reviewed-by: kvn, erikj, iignatyev
2018-06-28 17:07:34 -07:00
Igor Ignatyev
6385038a37 8149729: [jittester] Replace all 'path1 +"/" + path2' with Paths::get
Reviewed-by: kvn
2018-06-28 16:45:15 -07:00
Robin Westberg
2ddeb31e89 8206006: Build failed on Windows
Reviewed-by: jwilhelm, dcubed
2018-06-29 01:09:29 +02:00
Jonathan Gibbons
3ae58c7fdc 8202959: Rearrange the top and bottom navigation bar in the javadoc generated pages
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Reviewed-by: darcy, jjg
2018-06-28 15:46:27 -07:00
Robin Westberg
736e57146d 8206006: Build failed on Windows
Reviewed-by: jwilhelm, dcubed
2018-06-28 22:28:41 +02:00
Jesper Wilhelmsson
3d8776d76c Added tag jdk-12+0 for changeset 95aad0c785e4 2018-06-28 21:11:50 +02:00
Gary Adams
446bbb0f40 8205508: hotspot/jtreg/vmTestbase/nsk/jdb/exclude/exclude001/exclude001.java fails with Prompt is not received during 300200 milliseconds
Reviewed-by: cjplummer, sspitsyn, dcubed
2018-06-28 10:31:39 -04:00
Daniel D. Daugherty
e42c41be48 Merge 2018-06-28 10:50:10 -04:00
Mark Reinhold
ac46cad49b 8205956: Fix usage of "OpenJDK" in build and test instructions
Reviewed-by: erikj, tbell
2018-06-28 07:30:38 -07:00
Srinivas Dama
a57b47dafc 8204967: Resolve disabled warnings for libunpack
Fixed warnings for libunpack

Reviewed-by: jlaskey
2018-06-28 19:44:58 +05:30
Jan Lahoda
b5f1b1e0a3 8205985: Remove tools/javac/options/release/ReleaseOptionUnsupported.java from problem list
Reviewed-by: vromero
2018-06-28 15:18:17 +02:00
Erik Gahlin
e95ebc725b 8137164: Include PID in the JFR jcmd hint
Reviewed-by: mgronlun, stuefe
2018-06-28 15:17:44 +02:00
Daniel D. Daugherty
dd581def6f 8206004: [BACKOUT] errant changeset for JDK-8137164
Reviewed-by: dcubed, egahlin
2018-06-28 10:46:05 -04:00
Erik Gahlin
7f3a801cae 8197425: Liveset information for Old Object sample event
Reviewed-by: mgronlun, ehelin
2018-06-28 15:17:44 +02:00
Erik Gahlin
3567e9c1d5 8197425: Liveset information for Old Object sample event
Reviewed-by: mgronlun, ehelin
2018-06-28 15:13:39 +02:00
Robin Westberg
b11c7752e8 8003209: JFR events for network utilization
Reviewed-by: mgronlun, egahlin
2018-06-28 15:06:55 +02:00
Athijegannathan Sundararajan
724ba7feb2 8204492: Add deprecation annotation to Nashorn APIs and warning to nashorn, jjs
Reviewed-by: jlaskey, hannesw
2018-06-28 18:04:19 +05:30
Erik Österlund
e4dbe9909f 8205683: Refactor heap allocation to separate concerns
Reviewed-by: pliden, kbarrett
2018-06-28 14:22:28 +02:00
Markus Grönlund
271a76877a 8205996: JDK-8205906 broke the build on Mac
Reviewed-by: thartmann, ehelin
2018-06-28 13:58:30 +02:00
Alex Menkov
1e326d1b84 8205681: [TEST_BUG] vmTestbase/nsk/jvmti/Allocate/alloc001/TestDescription.java fails with exit code 98
Reviewed-by: sspitsyn, cjplummer, dholmes
2018-06-28 03:45:49 -07:00
Per Lidén
6be8921d13 8205993: ZGC: Fix typos and incorrect indentations
Reviewed-by: stefank
2018-06-28 12:14:37 +02:00
Andrew Dinn
c61ba730c1 8205694: AArch64: Add test to validate volatile load, store and CAS code generation
Implement tests to check volatile operations are translated to valid code

Reviewed-by: aph, kvn, dpochepk
2018-06-28 10:09:58 +00:00
Markus Grönlund
5fcc705378 8205906: jdk.jfr.jcmd.TestJcmdDumpLimited fails due to erronous processing of -XX:FlightRecorderOptions
Reviewed-by: egahlin
2018-06-28 11:37:02 +02:00
Thomas Stuefe
13d55b0087 8205925: Print correct and more information about secondary errors
Reviewed-by: coleenp, dholmes
2018-06-28 11:32:32 +02:00
Joe Darcy
e56162b43d 8205615: Start of release updates for JDK 12
8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
2018-06-27 21:01:12 -07:00
Jesper Wilhelmsson
bc45576579 Added tag jdk-12+0 for changeset c9cd3ec6a0eb 2018-06-28 19:55:44 +02:00
Rajan Halade
fb54f8a71f 8195774: Add Entrust root certificates
Reviewed-by: weijun
2018-06-28 11:41:45 -07:00
Stefan Karlsson
18eb98ccbc 8205923: ZGC: Verification applies load barriers before verification
Reviewed-by: pliden, eosterlund
2018-06-27 15:04:27 +02:00
Stefan Karlsson
03d213bcda 8205923: ZGC: Verification applies load barrier before verification
Reviewed-by: pliden, eosterlund
2018-06-27 15:02:53 +02:00
Ivan Gerasimov
45c5c6fda4 8205959: Do not restart close if errno is EINTR
Reviewed-by: alanb, vtewari
2018-06-28 01:10:09 -07:00
Jan Lahoda
152488eeee 8205913: Inconsistent source code model
Ensuring variable declarations have non-null modifiers and names.

Reviewed-by: mcimadamore
2018-06-28 10:05:43 +02:00
Jan Lahoda
2183a72fe3 8195986: Incorrect javac -h output with annotation processing and missing classes
When clearing out symbols for a new annotation processing round, preserve types when possible.

Reviewed-by: vromero
2018-06-28 10:05:39 +02:00
Per Lidén
4d06934426 8205679: Remove unused ThreadLocalAllocBuffer::undo_allocate()
Reviewed-by: shade, stefank
2018-06-28 09:15:53 +02:00
Volker Simonis
19608b393d 8205916: [test] Fix jdk/tools/launcher/RunpathTest to handle both, RPATH and RUNPATH
Reviewed-by: martin, erikj
2018-06-28 09:06:54 +02:00
Per Lidén
258346a5a0 8205702: assert(UseCompressedClassPointers) failed in universe.hpp
Reviewed-by: coleenp, ccheung
2018-06-28 07:22:59 +02:00
Thomas Stuefe
7c8da483fa 8205531: jcmd VM.classloaders should fold similar loaders
Reviewed-by: sspitsyn, coleenp
2018-06-28 07:00:35 +02:00
Kim Barrett
09cf8b07e8 8205577: parallel/TestPrintGCDetailsVerbose.java fails assertion
Remove unsafe printing.

Reviewed-by: dholmes, tschatzl, dcubed, coleenp
2018-06-28 00:34:55 -04:00
Harsha Wardhana B
94faf6972b 8192953: sun/management/jmxremote/bootstrap/*.sh tests fail with error : revokeall.exe: Permission denied
Reviewed-by: cjplummer
2018-06-28 09:40:46 +05:30
Smita Kamath
3feaefd75f 8205528: Base64 encoding algorithm using AVX512 instructions
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Chris Plummer
a937d2876b 8205719: Windows Java_sun_tools_attach_VirtualMachineImpl_enqueue() method should include exitCode in exception message
Include GetExitCodeThread() result in the exception message

Reviewed-by: sspitsyn, dcubed
2018-06-27 19:09:17 -07:00
Tom Rodriguez
6fc0ec871a 8205824: Update Graal
Reviewed-by: iveresov, kvn
2018-06-27 17:02:41 -07:00
Igor Ignatyev
80e93fc752 8160673: Jittester: investigate bytecode generation hangs during bytecode tests generation
Reviewed-by: iveresov
2018-06-27 16:57:21 -07:00
Hannes Wallnöfer
7d73d3cbf1 8190876: javadoc search on "java.se" shows "java.se" the last one among other modules
Reviewed-by: jjg
2018-06-28 01:46:03 +02:00
Igor Ignatyev
b3f5c241c1 8205954: clean up hotspot ProblemList
Reviewed-by: kvn
2018-06-27 16:19:28 -07:00
Erik Joelsson
0ac78340f3 8205942: Build failure on macosx after JDK-8189429
Reviewed-by: tbell, lancea
2018-06-27 16:17:11 -07:00
Igor Ignatyev
69106b4333 8202554: Remove hotspot tests for javafx.* modules
Reviewed-by: kvn
2018-06-27 15:15:11 -07:00
Claes Redestad
b67e22709b 8205926: Support invokeSpecialIFC in GenerateJLIClassesPlugin
Reviewed-by: psandoz, mchung
2018-06-27 22:26:41 +02:00
Calvin Cheung
8d1a97542e 8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording
Disable JFR and output a warning message during CDS dump time if JFR is enabled.

Reviewed-by: jiangli, lfoltan
2018-06-27 14:46:15 -07:00
Jonathan Gibbons
7b117026d2 8205438: Re-enable shebang tests in test/jdk/tools/launchers/SourceMode.java
Reviewed-by: mchung
2018-06-27 14:20:41 -07:00
Igor Ignatyev
19085e7dad 8199265: java/util/Arrays/TimSortStackSize2.java fails with OOM
Reviewed-by: dholmes
2018-06-27 13:43:52 -07:00
Daniel Fuchs
ec7e7d9ffb 8205945: Revert unintended changes to make/gensrc/Gensrc-jdk.hotspot.agent.gmk
Reviewed-by: jjg, erikj
2018-06-27 21:18:33 +01:00
Magnuse Ihse Bursie
63881a7602 8205616: Build fails with system headers after 8204572
Co-authored-by: Fridrich Strba <fridrich.strba@suse.com>
Reviewed-by: erikj
2018-06-27 21:56:11 +02:00
Daniel Fuchs
ed19b48e71 8205397: InetAddress has wrong declaration for readObjectNoData
Reviewed-by: alanb, rriggs
2018-06-27 20:19:59 +01:00
Per Lidén
3a0cd3fcae 8205678: ZGC: Remove unused ZAllocationFlags::java_thread()
Reviewed-by: stefank, eosterlund
2018-06-27 19:45:06 +02:00
Per Lidén
3e296cc180 8205676: ZGC: Remove TLAB allocations in relocation path
Reviewed-by: stefank, eosterlund
2018-06-27 19:45:05 +02:00
Phil Race
bd7d1af092 Merge 2018-06-27 10:06:03 -07:00
Igor Veresov
700a0427a1 8202698: Update Graal for JEP 181 - Nest-based access control
Reviewed-by: kvn
2018-06-27 09:56:06 -07:00
Nils Eliasson
8e9f9e5583 8204157: Compiler.sunflow hangs after JDK-8192992
Treat non-loop phis as stores

Reviewed-by: thartmann
2018-06-27 18:46:30 +02:00
Xueming Shen
4029057547 8200243: System error message is decoded as invalid encoding in Windows
Reviewed-by: alanb
2018-06-27 09:45:18 -07:00
Joe Wang
e5ac84c7b0 8205058: (fs) Files read/writeString should throw CharacterCodingException instead of IOException with an IllegalArgumentException as cause
Reviewed-by: sherman, alanb, lancea
2018-06-27 09:31:51 -07:00
Jiangli Zhou
884f9db3c6 8205699: assert(_owner_offset != 0) failed in javaClasses.cpp
Added java_util_concurrent_locks_AbstractOwnableSynchronizer::serialize.

Reviewed-by: ccheung, dholmes
2018-06-27 11:55:35 -04:00
Jini George
93314be3c2 8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
Avoid the waitpid() and receive, handle and reply to the incoming Mach exception message obtained with PT_ATTACHEXC.

Reviewed-by: sballal, erikj, gziemski, rwestberg, dholmes, dcubed, poonam, dsamersoff
2018-06-27 20:04:31 +05:30
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Goetz Lindenmaier
cad47f4a03 8199940: Print more information about class loaders in IllegalAccessErrors
Reviewed-by: lfoltan, mchung
2018-06-27 09:52:23 +02:00
Robbin Ehn
1e4a26ceda 8205583: Crash in ConcurrentHashTable do_bulk_delete_locked_for
Reviewed-by: coleenp, gziemski
2018-06-27 12:46:15 +02:00
Martin Doerr
bcdf345cc2 8205609: [PPC64] Fix PPC64 part of 8010319 and TLH without UseSIGTRAP on AIX
Reviewed-by: dholmes, goetz
2018-06-27 11:54:15 +02:00
Sibabrata Sahoo
7c0ca4d75f 8205111: Develop new Test to verify different key types for supported TLS protocols
TLS test with different key types for supported.

Reviewed-by: xuelei
2018-06-27 02:20:55 -07:00
Per Lidén
9234826c80 8205663: ZGC: Log metaspace used/capacity/committed/reserved
Reviewed-by: stefank, ehelin
2018-06-27 11:05:07 +02:00
Per Lidén
e702bea327 8205664: Move detailed metaspace logging from debug to trace
Reviewed-by: stuefe, stefank
2018-06-27 11:05:01 +02:00
Priya Lakshmi Muthuswamy
6dca162699 8187288: bad (no) wrapping for modifier and type column
Reviewed-by: jjg
2018-06-27 12:56:21 +05:30
Stuart Marks
aaf546777f 8203670: unmodifiable List iterator() implementations should not be ListIterators
Reviewed-by: redestad, igerasim, plevart
2018-06-26 19:45:59 -07:00
Amy Lu
7d63a78e0a 8205673: Problem list RmiRegistrySslTest.java and RmiSslBootstrapTest.sh
Reviewed-by: xuelei
2018-06-27 09:44:46 +08:00
Erik Joelsson
b2c1375e6d 8205625: linux-aarch64-cmp-baseline fails builds-tier5
Reviewed-by: dholmes
2018-06-26 17:41:42 -07:00
Igor Ignatyev
b4716c95a0 8199580: [TESTBUG] Un-quarantine vm/mlvm/indy/func/jdi/breakpointOtherStratum and breakpoint
Reviewed-by: kvn
2018-06-26 16:01:37 -07:00
Serguei Spitsyn
17f2e93cd9 8205723: Problem list serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java
Add the test to the ProblemList.txt

Reviewed-by: dcubed, cjplummer
2018-06-26 15:46:20 -07:00
Doug Simon
097851e937 8205703: [JVMCI] Expose all GC selection flags
Reviewed-by: kvn, dlong
2018-06-27 00:16:37 +02:00
Kim Barrett
8a2170dad7 8205559: Remove IN_CONCURRENT_ROOT Access decorator
Removed decorator and made all NativeAccess use barriers.

Reviewed-by: pliden, stefank
2018-06-26 16:59:38 -04:00
Serguei Spitsyn
ed24b806f1 8205721: Problem list serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java
Add the test to the ProblemList.txt

Reviewed-by: dcubed
2018-06-26 13:50:59 -07:00
Stefan Karlsson
d4280206fd 8144992: Remove OopIterateClosure::idempotent
Reviewed-by: pliden, kbarrett
2018-06-26 13:55:17 +02:00
Stefan Karlsson
5012044e63 8205607: Use oop_iterate instead of oop_iterate_no_header
Reviewed-by: pliden, kbarrett
2018-06-26 13:54:19 +02:00
Serguei Spitsyn
35a9c52708 8205701: Problem list serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java
Add the test to the ProblemList.txt

Reviewed-by: dcubed
2018-06-26 12:29:20 -07:00
Daniel D. Daugherty
1af4c68d12 8205648: fix for 8205195 breaks secondary error handling
Only grab Threads_lock in VMError::controlled_crash() when we don't already own it.

Reviewed-by: sspitsyn, stuefe
2018-06-26 14:15:49 -04:00
Jim Laskey
b03536888a 8205696: Undo licence.md
Reviewed-by: sundar, hannesw
2018-06-26 14:14:29 -03:00
Roger Riggs
e9d845c870 8205547: FileChannel/CleanerTest.java fails due to expected FD count
Reviewed-by: psandoz
2018-06-26 12:42:36 -04:00
Ichiroh Takiguchi
6831468e79 4475138: getBestCursorSize and XFree86 4.1.0
Reviewed-by: serb
2018-06-25 17:34:55 -07:00
Phil Race
a6731ea341 Merge 2018-06-25 14:56:07 -07:00
Toshio Nakamura
d6c849a824 8187100: Support Unicode Variation Selectors
Support Unicode Variation Selectors

Reviewed-by: prr, srl
2018-06-25 11:40:46 -07:00
Phil Race
b6dba38ce4 Merge 2018-06-25 10:21:50 -07:00
Doug Lea
0a0a8a5791 8203681: Miscellaneous changes imported from jsr166 CVS 2018-06
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Doug Lea
3afeb2cb48 8203864: Execution error in Java's Timsort
Reviewed-by: martin, psandoz, forax
2018-06-25 09:59:16 -07:00
Doug Lea
abffccb329 8202422: value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Lois Foltan
7ca4027957 8169559: Add class loader names to relevant VM messages
Added new method class_in_module_of_loader to provide a standard format for class information within error messages.

Reviewed-by: goetz, hseigel, mchung
2018-06-25 11:33:11 -04:00
Harsha Wardhana B
fc73803071 8204661: Show error 'Port already in use' in HashedPasswordFileTest.java
Reviewed-by: mchung, dholmes, dcubed, dfuchs
2018-06-25 20:36:06 +05:30
Lois Foltan
48500f81a1 8205509: assert(_name_and_id != 0LL) failed: encountered a class loader null name and id
The method loader_name_and_id should return the external name of the class loader if _name_and_id is null.

Reviewed-by: coleenp, stuefe
2018-06-25 10:34:46 -04:00
Dmitrij Pochepko
3d7d35c321 8189113: AARCH64: StringLatin1 inflate intrinsic doesn't use prefetch instruction
Reviewed-by: aph
2018-06-25 16:32:23 +03:00
Dmitrij Pochepko
51d3abfc8c 8189103: AARCH64: optimize String indexOf intrinsic
Reviewed-by: aph
2018-06-25 16:32:02 +03:00
Dmitrij Pochepko
97aa261f24 8202326: AARCH64: optimize string compare intrinsic
Reviewed-by: dsamersoff
2018-06-25 16:31:37 +03:00
Dmitrij Pochepko
703073a564 8204289: AARCH64: enable math intrinsics usage in interpreter and C1
Reviewed-by: aph, dsamersoff
2018-06-25 16:31:18 +03:00
Dmitrij Pochepko
854207f875 8189105: AARCH64: create intrinsic for sin and cos
Reviewed-by: aph, adinn
2018-06-25 16:30:49 +03:00
Dmitrij Pochepko
fe0bbc424b 8196402: AARCH64: create intrinsic for Math.log
Reviewed-by: aph, dsamersoff
2018-06-25 16:30:16 +03:00
Shashidhara Veerabhadraiah
67b1418aa8 8153732: Windows remote printer changes do not reflect in lookupPrintServices()
Reviewed-by: prr, psadhukhan
2018-06-25 14:32:46 +05:30
Pankaj Bansal
91f281c8d7 8194873: right ALT key hotkeys no longer work in Swing components
Reviewed-by: serb, psadhukhan
2018-06-25 12:50:25 +05:30
Dipak Kumar
739c54ae6d 8202696: Remove exclusion range for phonetic chars in windows fontconfig.properties
Reviewed-by: prr, naoto
2018-06-25 16:01:01 +05:30
Sergey Bylokhov
47c7fc7a8a 8205324: Part of java.awt.Desktop.browse(URI) spec is outdated after support of applets was removed
Reviewed-by: prr
2018-06-24 19:45:15 -07:00
Sergey Bylokhov
38131ccda6 8205153: Delete "standard instructions" machinery in the open automated tests
Reviewed-by: prr
2018-06-24 16:35:21 -07:00
Sergey Bylokhov
1c1a099b3c 8205144: JSpinner may change the font after became visible
Reviewed-by: psadhukhan
2018-06-23 11:48:42 -07:00
Sergey Bylokhov
9eeb3ed886 8205456: Unification of iterations over arrays
Reviewed-by: prr
2018-06-22 19:19:43 -07:00
Stuart Marks
b228ede451 8205491: adjust reflective access checks
Reviewed-by: alanb, mchung, igerasim, rhalade, ahgross
2018-06-22 17:08:00 -07:00
Phil Race
075d860ee6 8205494: Convert or remove all AWT applet demos
Reviewed-by: serb, erikj
2018-06-22 13:21:23 -07:00
Phil Race
52d487c316 8205136: Move StylePad demo to the open repository
Reviewed-by: serb, erikj
2018-06-22 12:16:14 -07:00
Shashidhara Veerabhadraiah
dc23979320 8204946: Clean-up problem list for JDK-8202933 and JDK-8202934
Reviewed-by: prr
2018-06-22 10:29:14 +05:30
Phil Race
fafa9f633f 8205498: Typo in fix for 8205119 breaks Solaris demo build
Reviewed-by: serb
2018-06-21 16:58:09 -07:00
Phil Race
60c6812f2d 8205119: SwingApplet demo should be removed
Reviewed-by: serb
2018-06-21 14:32:41 -07:00
Phil Race
1fc2c6f4a8 8205441: Upgrade to harfbuzz 1.8.1
Reviewed-by: serb
2018-06-21 12:54:30 -07:00
Phil Race
a51fe99bfd Merge 2018-06-21 09:53:50 -07:00
Stuart Marks
277b35da28 8203184: List.copyOf() fails to copy sublists
Reviewed-by: psandoz
2018-06-21 08:45:57 -07:00
Stuart Marks
693a6dd27a 8060192: Add default method <A> A[] Collection.toArray(IntFunction<A[]> generator)
Reviewed-by: martin, forax, psandoz, briangoetz
2018-06-21 08:25:03 -07:00
Coleen Phillimore
5be0048099 8205175: Deprecate UnlinkSymbolsALot debugging option
Reviewed-by: zgu, stuefe
2018-06-21 11:10:44 -04:00
Jim Laskey
267fe08ad9 8203637: Fix Sources
Reviewed-by: hannesw, sundar
2018-06-21 08:58:59 -03:00
Robin Westberg
a61ed3b417 8205103: [TESTBUG] Instability in JFR test TestThreadCpuTimeEvent
Reviewed-by: mgronlun
2018-06-21 13:39:20 +02:00
Sergey Bylokhov
dc6225338c 8203003: Several FileDialog Modality Tests fail on Linux due to X errors
Reviewed-by: prr, psadhukhan
2018-06-20 11:12:48 -07:00
Phil Race
93c8d9bffd Merge 2018-06-19 10:12:35 -07:00
Phil Race
316d8c0d42 Merge 2018-06-19 10:12:00 -07:00
Roman Kennke
3ac6f8d3b9 8205336: Modularize allocations in assembler
Reviewed-by: aph, eosterlund
2018-06-19 13:03:12 -04:00
Nishit Jain
9c47d8db3f 8204938: Add a test case to automatically check the updated LSR data
Reviewed-by: naoto, rriggs
2018-06-21 14:09:43 +05:30
Chris Plummer
cda97e3382 8205385: Problem list vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java
Reviewed-by: sspitsyn
2018-06-20 19:46:44 -07:00
Jesper Wilhelmsson
5aba3a52a1 Added tag jdk-11+19 for changeset fb8b3f467277 2018-06-21 03:21:22 +02:00
Igor Veresov
ac42932122 8205105: VM crashes with "assert(Universe::heap()->is_in_reserved(start + words - 1)) failed: not in heap"
Disable fast TLAB refill in Graal.

Reviewed-by: dnsimon, kvn
2018-06-20 17:30:43 -07:00
Leonid Mesnik
4dae1e471b 8204974: Quarantine serviceability/sa/TestInstanceKlassSize* tests for CDS enabled mode
Reviewed-by: ccheung, mseledtsov, jiangli
2018-06-20 12:02:17 -07:00
Gustavo Romero
f02e0d4779 8204135: jtreg: Fix failing RTM test TestUseRTMXendForLockBusy
Reviewed-by: goetz, iignatyev
2018-06-20 22:02:46 +02:00
Igor Ignatyev
55eb2d9b79 8205433: clean up hotspot ProblemList
Reviewed-by: kvn
2018-06-20 12:42:43 -07:00
Gary Adams
dfe4aabde4 6545967: sp05t003 failed ResumeThread() due to THREAD_NOT_SUSPENDED
Reviewed-by: cjplummer, sspitsyn
2018-06-20 13:57:38 -04:00
Bernard Blaser
07012c9753 8203338: Unboxing in return from lambda miscompiled to throw ClassCastException
Reviewed-by: mcimadamore, vromero
2018-06-20 10:01:49 -07:00
Chris Hegarty
99f9c91a02 Merge 2018-06-20 17:54:40 +01:00
Chris Hegarty
8d102fbc49 Merge 2018-06-20 17:48:39 +01:00
Mikhailo Seledtsov
a22821323a 8204701: [TESTBUG] runtime/SharedArchiveFile/BootAppendTests.java should handle mapping failure
Added code to check for mapping failure

Reviewed-by: ccheung, jiangli
2018-06-20 09:42:36 -07:00
Erik Joelsson
640bf6cbd8 8200115: System property java.vm.vendor value includes quotation marks
Reviewed-by: tbell, asaha
2018-06-20 09:38:17 -07:00
Chris Hegarty
659fdd8dc4 8204679: HTTP Client refresh
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm
2018-06-20 09:05:57 -07:00
Thomas Stuefe
8c5dfa21b3 8205407: [windows, vs<2017] C4800 after 8203197
Reviewed-by: tbell, mbaesken
2018-06-20 17:15:16 +02:00
Claes Redestad
edd5002b4e 8199435: Unsafe publication of java.util.Properties.map
Reviewed-by: dholmes, psandoz, plevart, bchristi
2018-06-20 17:06:24 +02:00
Phil Race
8db50f14de Merge 2018-06-19 09:22:38 -07:00
Toshio Nakamura
a8506cb4e1 8042131: DateTimeFormatterBuilder Mapped-values do not work for JapaneseDate
Reviewed-by: rriggs, scolebourne
2018-06-19 08:19:54 -07:00
Dmitry Chuyko
d571ea407c 8198719: MethodHandleHelper.linkToStatic should drop MH arg
Reviewed-by: vlivanov, dlong
2018-06-19 18:18:46 +03:00
Dmitrij Pochepko
0bb3443a98 8204353: AARCH64: optimize FPU load and stores in macroAssembler
Reviewed-by: aph
2018-06-19 18:18:25 +03:00
Dmitrij Pochepko
07e928c8ec 8204473: AARCH64: register post-index addressing mode is not supported directly
Reviewed-by: aph
2018-06-19 18:14:25 +03:00
Erik Joelsson
8f5b71f3bb 8205183: Warning about using VS2017 should be removed
Reviewed-by: prr, tbell
2018-06-19 16:44:41 +02:00
Martin Doerr
ea76c6d316 8205172: 32 bit build broken
Reviewed-by: roland, kvn, dholmes
2018-06-19 16:29:48 +02:00
Robbin Ehn
ca60e251a9 8205006: Assertion failure when rehashing stringtable
Reviewed-by: lfoltan, zgu
2018-06-19 16:14:39 +02:00
Chris Phillips
561ec75b9b 8203030: Zero s390 31 bit size_t type conflicts in shared code
Cast to size_t or change to size_t foe compatibility with other archs.

Reviewed-by: pliden, dholmes
2018-06-19 10:00:39 -04:00
Maurizio Cimadamore
43248585b4 8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
Issue warnings when 'var' used as a type name in type argument positions

Reviewed-by: jlahoda
2018-06-20 11:47:07 +01:00
Per Lidén
d33aa17aec 8205339: ZGC: VerifyBeforeIteration not yet supported
Reviewed-by: stefank, eosterlund
2018-06-20 11:33:43 +02:00
Per Lidén
d8cc020fd6 8205338: ZGC: LeakProfiler not yet supported
Reviewed-by: egahlin, eosterlund
2018-06-20 11:33:42 +02:00
Priya Lakshmi Muthuswamy
aefa5d6fbe 8202624: javadoc generates references to enum constructors, which are not documented
Reviewed-by: sundar
2018-06-20 14:52:32 +05:30
Goetz Lindenmaier
ecbeb2db13 8205108: [testbug] Fix pattern matching in jstatd tests
Reviewed-by: stuefe, azeller
2018-06-20 11:12:58 +02:00
Thomas Stuefe
b7fe5e4f7b 8205141: runtime/exceptionMsgs/ArrayStoreException/ArrayStoreExceptionTest.java failed with "assert(k->is_objArray_klass()) failed: cast to ObjArrayKlass
Reviewed-by: dholmes, goetz
2018-06-20 06:51:39 +02:00
Chris Plummer
14e06400d3 8205149: hs201t002 should be put on the problem list
Reviewed-by: sspitsyn
2018-06-19 17:50:32 -07:00
Valerie Peng
8e127e5c26 8204152: SignedObject throws NullPointerException for null keys with an initialized Signature object
Check for null and throw InvalidKeyException to maintain same behavior

Reviewed-by: xuelei
2018-06-19 23:33:31 +00:00
Vicente Romero
58f944b75e 8205052: No compilation error thrown when no valid parameterization exists for functional interface type
Reviewed-by: mcimadamore
2018-06-19 05:22:07 -07:00
Paul Hohensee
ebe240f3f4 8195115: G1 Old Gen MemoryPool CollectionUsage.used values don't reflect mixed GC results
Memory pools can now be optional collection participants, e.g., G1 Old Gen in an incremental collection.

Reviewed-by: ehelin, mchung
2018-06-19 05:18:49 -07:00
Lois Foltan
425e1a8bb8 8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.

Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Gary Adams
1682e39728 8205055: Fix compilation optimization errors with new Solaris toolchain
Reviewed-by: erikj
2018-06-19 07:15:00 -04:00
Gary Adams
592bda102d 8205110: Fix xchip warnings with new Solaris toolchain
Reviewed-by: ihse, erikj
2018-06-19 07:14:49 -04:00
Dmitry Chuyko
8421cf98b7 8205341: AARCH64: Clean up duplicate uzp1 & uzp2 instruction definition
Reviewed-by: aph
2018-06-19 19:21:30 +03:00
Thomas Stuefe
6f462fbc70 8203680: os::stat() on Posix platform does not need to copy input path
Reviewed-by: hseigel, dholmes
2018-06-19 09:34:41 +02:00
Vikrant Agarwal
eaf0662ffc 8200605: Create test for GridBagLayoutDemo
Reviewed-by: serb, shurailine
2018-06-19 12:04:01 +05:30
Phil Race
e413a29459 Merge 2018-06-15 13:07:46 -07:00
Phil Race
66acbf166a 8204929: Fonts with embedded bitmaps are not always rotated
Reviewed-by: bae
2018-06-15 13:05:34 -07:00
Brian Burkhalter
edbda00716 8205062: (fs) Improve some print diagnostics in java/nio/file/Files/CopyAndMove.java
Reviewed-by: alanb
2018-06-15 12:48:19 -07:00
Prasanta Sadhukhan
ecc70a4e02 8199441: Wrong caret position in multiline text components on Windows with a screen resolution higher than 100%
Reviewed-by: prr, jdv
2018-06-15 23:59:56 +05:30
Prasanta Sadhukhan
e0fbed3a77 8202199: Provide public, unsupported JDK API for JavaFX/Swing interop
Reviewed-by: prr, kcr, alanb, mchung
2018-06-15 23:38:59 +05:30
Andrey Petushkov
79fea6b201 8153107: enabling ObjectSynchronizer::quick_enter() on ARM64 causes hangs
Always set the markword for recursive monitors in MacroAssembler::fast_lock().

Reviewed-by: aph, drwhite, dcubed, bulasevich
2018-06-15 13:57:32 -04:00
Per Lidén
98f42dc0f5 8205344: TraceMemoryManagerStats changes in JDK-8195115 broke ZGC
Reviewed-by: shade, eosterlund
2018-06-19 19:19:43 +02:00
Markus Grönlund
c2c3d285dd 8204571: Add support for launching multiple startup recordings
Reviewed-by: egahlin
2018-06-19 19:16:08 +02:00
Nils Eliasson
76ae46a3a1 8205107: assert(c->Opcode() == Op_SafePoint) failed: broken outer loop
Don't remove safepoint belonging to OuterStripMinedLoopEndNode

Reviewed-by: kvn
2018-06-15 14:46:04 +02:00
Brian Burkhalter
c390783ee2 8205641: Make java/nio/channels/Selector/RacyDeregister.java noisier and flush after prints
Reviewed-by: alanb
2018-06-26 09:33:55 -07:00
Vladimir Kozlov
f4ae3d5325 8205400: [Graal] compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java fails with can't be enqueued for compilation on level 4
Add -XX:-BackgroundCompilation to tests to eager initialize JVMCI

Reviewed-by: thartmann
2018-06-26 09:14:49 -07:00
Adam Petcher
a7e35cb988 8203228: Branch-free output conversion for X25519 and X448
Make some field arithmetic operations for X25519/X448 more resilient against side-channel attacks

Reviewed-by: ascarpino
2018-06-26 11:14:27 -04:00
Goetz Lindenmaier
991f2f8c0b 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
Reviewed-by: jgeorge, cjplummer
2018-06-25 23:04:21 +02:00
Harold Seigel
434c9e90bf 8205422: assert(false) failed: Bad verification_type_info
Instead of asserting, print out the bad value

Reviewed-by: lfoltan, coleenp
2018-06-26 09:52:21 -04:00
Chris Hegarty
0123157b4f 8205671: Remove HTTP Client tests erroneously problem listed by the TLS 1.3 integration
Reviewed-by: dfuchs, michaelm
2018-06-26 13:16:40 +01:00
Weijun Wang
60ff77bd97 8201815: Use Mozilla Public Suffix List
Reviewed-by: michaelm, erikj, ihse
2018-06-26 18:55:48 +08:00
Thomas Schatzl
19f5116cd9 8204082: Make names of Young GCs more uniform in logs
All G1 young gcs now start with "Pause Young" plus a more detailed description

Reviewed-by: sjohanss
2018-06-26 11:09:42 +02:00
Matthias Baesken
7628589694 8205342: windows : potential memleaks in getAdapter(s) in NetworkInterface_winXP.c
Reviewed-by: alanb, igerasim, stuefe
2018-06-26 09:17:53 +02:00
Gunter Haug
27896721a0 8200720: Print additional information in thread dump (times, allocated bytes etc.)
Reviewed-by: dholmes, clanger, cjplummer, sspitsyn
2018-06-25 16:00:56 +02:00
Alan Bateman
807c4ae4a3 8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
Reviewed-by: bpb
2018-06-26 08:13:02 +01:00
Mandy Chung
4e844fe623 8205623: Replace use of Class::getPackage with Class::getPackageName
Reviewed-by: jjg, erikj
2018-06-25 22:28:04 -07:00
Mandy Chung
140e7415ff 8205627: Replace hardcoded spec version value in build.tools.ExtLink taglet
Reviewed-by: jjg, erikj
2018-06-25 22:27:09 -07:00
Martin Buchholz
5ef2f98d35 8205649: Make clang stack flags independent of OS
Reviewed-by: erikj
2018-06-25 20:58:01 -07:00
Dan Zhou
9519826624 8194152: sun/security/tools/jarsigner/AltProvider.java failed on de-DE locale
Reviewed-by: naoto
2018-06-25 20:08:05 -07:00
Dan Zhou
90329292ce 8196213: sun/security/tools/jarsigner/warnings/NoTimestampTest.java test fails on ar_SA locale
Reviewed-by: naoto
2018-06-25 20:03:46 -07:00
Weijun Wang
230268522b 8202299: Java Keystore fails to load PKCS12/PFX certificates created in WindowsServer2016
Reviewed-by: mullan, xuelei
2018-06-26 10:43:50 +08:00
Weijun Wang
3ad65642c8 8202608: CommonSeeder test needs a white-box testing mechanism to replace the default entropy source
Reviewed-by: xuelei
2018-06-26 10:43:43 +08:00
Stuart Marks
3e7196c114 8205455: jdeprscan issues annotation processor warning regarding RELEASE_10
Reviewed-by: jjg
2018-06-25 18:49:30 -07:00
Martin Buchholz
7eeafb719f 8205184: Delegating Iterator implementations that don't delegate forEachRemaining()
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: psandoz
2018-06-25 18:01:42 -07:00
Stuart Marks
5d7e475d01 8201610: Broken link on the page api/java.rmi/java/rmi/server/UnicastRemoteObject.html
Reviewed-by: psandoz, lancea
2018-06-25 17:11:27 -07:00
Martin Balao
b44c24d290 8195607: sun/security/pkcs11/Secmod/TestNssDbSqlite.java failed with "NSS initialization failed" on NSS 3.34.1
Reviewed-by: valeriep, weijun
2018-06-26 08:10:45 +08:00
Stefan Karlsson
c228460bf5 8205632: Include stack.inline.hpp in markSweep.inline.hpp
Reviewed-by: kbarrett
2018-06-25 22:25:29 +02:00
Paul Sandoz
14651d9e02 8195650: Method references to VarHandle accessors
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Patrick Reinhart
f44956330d 8204930: Reader:nullReader() spec does not match the behavior
Reviewed-by: bpb, rriggs
2018-06-25 14:36:16 -07:00
Goetz Lindenmaier
123fee1d38 8205605: [testbug][aix] Various test adaption to aix pecularities
Reviewed-by: lfoltan, coleenp
2018-06-25 13:37:01 +02:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Dmitrij Pochepko
c7c819cd8b 8205475: AARCH64: optimize FPU loads and stores in C1_Runtime1_aarch64.cpp
Reviewed-by: aph, adinn
2018-06-25 21:22:16 +03:00
Harold Seigel
0499c44e3c 8205614: NestMates tests failing in CI jdk11-jdk.931
Fixed the wording to agree with new IAE message text

Reviewed-by: lfoltan, dcubed, mchung
2018-06-25 14:10:44 -04:00
Patricio Chilano Mateo
46f2f92658 8202615: Remove NativeMonitorSpinLimit, NativeMonitorFlags and NativeMonitorTimeout experimental flags
Removed NativeMonitorSpinLimit, NativeMonitorFlags and NativeMonitorTimeout experimental flags from globals.hpp and mutex.cpp and marked them as obsolete.

Reviewed-by: kbarrett, dholmes
2018-06-25 13:47:27 -04:00
Goetz Lindenmaier
731d9b1499 8204268: Improve some IncompatibleClassChangeError messages
Reviewed-by: stuefe, hseigel
2018-06-15 12:31:28 +02:00
Tobias Hartmann
d2f70d7052 8205033: [REDO] Induction variable of over-unrolled loop conflicts with range checks
Update skeleton predicates before main loop during unrolling to remove dead code.

Reviewed-by: kvn, roland
2018-06-19 12:25:42 +02:00
Robin Westberg
5208900fce 8204957: Remove TestBiasedLockRevocationEvents from ProblemList.txt
Reviewed-by: mgronlun
2018-06-19 12:22:02 +02:00
Robin Westberg
e767d60648 8204236: JFR unit test of thread CPU load should be enabled
Reviewed-by: mgronlun, egahlin
2018-06-19 12:20:05 +02:00
Per Lidén
0cb0992377 8205064: Fail immediately if an unavailable GC is selected
Reviewed-by: rkennke, shade
2018-06-19 12:11:37 +02:00
Roman Kennke
37393170c1 8204941: Refactor TemplateTable::_new to use MacroAssembler helpers for tlab and eden
Reviewed-by: kvn, coleenp
2018-06-19 11:27:05 +02:00
Nils Eliasson
ea59779f5b 8204927: ZGC: assert(phase->idom(head) == head->in(LoopNode::EntryControl)) failed
Update idom

Reviewed-by: roland
2018-06-15 13:57:37 +02:00
Robbin Ehn
f434591152 8204166: TLH: Semaphore may not be destroy until signal have returned
Reviewed-by: eosterlund, dholmes
2018-06-19 10:57:13 +02:00
Volker Simonis
79a09bd98b 8204965: Fix '--disable-cds' and disable CDS on AIX by default
Reviewed-by: erikj, jiangli, stuefe, dholmes
2018-06-19 09:43:53 +02:00
Thomas Schatzl
9ae0be2289 8205043: Make parallel reference processing default for G1
Reviewed-by: kbarrett, sjohanss
2018-06-19 09:34:39 +02:00
Roland Westrelin
97dd8bf743 8203197: C2: consider all paths in loop body for loop predication
Reviewed-by: kvn, neliasso
2018-06-19 09:08:39 +02:00
Stefan Karlsson
14373f7ff8 8205163: ZGC: Keeps finalizable marked PhantomReference referents strongly alive
Reviewed-by: pliden, kbarrett
2018-06-19 08:44:31 +02:00
Vivek Theeyarath
df2f01daf1 8202216: Add Buffer mismatch methods
Reviewed-by: plevart, psandoz
2018-06-14 23:09:11 -07:00
Mandy Chung
d0955dc37a 8205112: Remove non-existent modules from test/jdk/jdk/modules/etc/UpgradeableModules.java
Reviewed-by: alanb, lancea, kcr
2018-06-15 11:44:49 -07:00
Mandy Chung
1b36c9f6c5 8200121: Remove unused qualified exports in java.base
Reviewed-by: alanb, lancea
2018-06-15 11:44:20 -07:00
Erik Joelsson
4cd592e095 8203667: Platform specific include files in jdk image in wrong sub directory
Reviewed-by: mchung, tbell
2018-06-15 11:15:32 -07:00
Maurizio Cimadamore
3f825e0a9a 8203838: javac performance regression in 11+11
Share method check exception

Reviewed-by: vromero
2018-06-15 19:24:15 +01:00
Liam Miller-Cushon
b61c993004 7183985: (ann) Class.getAnnotation() throws an ArrayStoreException when the annotation class not present
Reviewed-by: darcy, martin, vromero
2018-06-14 17:32:31 -07:00
Erik Joelsson
8e3570cfc2 8204973: Add build support for filtering translations
Reviewed-by: ihse, naoto, dfuchs
2018-06-15 09:53:28 -07:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Vladimir Kozlov
3ced42361d 8202948: C2: assert(init_offset >= 0) failed: positive offset from object start
Convert the assert into compilation check which will skip superword optimization

Reviewed-by: roland, thartmann
2018-06-15 08:28:08 -07:00
Doug Simon
df164b5b85 8205025: [AOT] make jdk.aot module upgradeable
Reviewed-by: alanb, kvn, mchung
2018-06-15 16:44:41 +02:00
Magnus Ihse Bursie
5c1262520d 8200867: Remove references to "jdk 9" in build system
Reviewed-by: redestad, tbell, erikj
2018-06-15 15:07:45 +02:00
Per Lidén
ec4c0637f8 8205050: ZGC: Incorrect use of RootAccess in ZHeapIterator
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:50 +02:00
Per Lidén
57203871dd 8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate()
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:43 +02:00
Per Lidén
8b9c9258aa 8205024: ZGC: Worker threads boost mode not always enabled when is should be
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:36 +02:00
Per Lidén
2f16dd96db 8205022: ZGC: SoftReferences not always cleared before throwing OOME
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:27 +02:00
Per Lidén
39a24e8590 8205020: ZGC: Apply workaround for buggy sem_post() in glibc < 2.21
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:20 +02:00
Goetz Lindenmaier
cce84d5082 8204654: [testbug] Fix pattern matching in jstat tests
Reviewed-by: clanger, stuefe
2018-06-14 14:32:03 +02:00
Jean Christophe Beyler
89453e7c64 8205096: Add missing files for 8203394
Add files missed in the push for Low-Overhead Heap Profiling

Reviewed-by: dholmes, tschatzl, rehn, simonis, ehelin
2018-06-15 02:31:37 -07:00
Jean Christophe Beyler
6129ed590c 8203394: Implementation of JEP 331: Low-Overhead Heap Profiling
Implement Low-Overhead Heap Profiling

Reviewed-by: eosterlund, gthornbr, rehn, sspitsyn, tschatzl
2018-06-15 00:49:54 -07:00
Dmitry Markov
9752f5f644 8200353: Shift or Capslock not working in Textfield after accented keystrokes
Reviewed-by: serb, prr
2018-06-13 12:54:41 +01:00
Manajit Halder
7610ecd0bf 8204859: [macosx] Remove javax/swing/plaf/nimbus/8057791/bug8057791.java from the ProblemList.txt
Reviewed-by: psadhukhan, serb
2018-06-13 10:59:27 +05:30
Phil Race
aeed1525ab Merge 2018-06-12 15:14:22 -07:00
Sergey Bylokhov
89204c3373 8204454: Remove of sun.applet.AppletAudioClip
Reviewed-by: prr
2018-06-12 14:53:57 -07:00
Brent Christian
ea01772a00 8204565: (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
Reviewed-by: mchung
2018-06-12 14:08:24 -07:00
Stuart Marks
4ad2957dd0 8204243: remove Thread.destroy() and Thread.stop(Throwable)
Reviewed-by: dholmes, alanb, sspitsyn, iris
2018-06-12 13:24:37 -07:00
Phil Race
fe746c5d2a 8191512: T2K font rasterizer code removal
Reviewed-by: serb, erikj
2018-06-12 12:18:57 -07:00
Rajan Halade
16a09483c0 8196141: Add GoDaddy root certificates
Reviewed-by: mullan
2018-06-12 11:34:48 -07:00
Sergey Bylokhov
4800622742 8202768: [macos] Appkit thread slows when any Window Manager active
Reviewed-by: ant
2018-06-12 09:26:49 -07:00
Bhaktavatsal R Maram
dc7d03e19d 8202329: [AIX] Fix codepage mappings for IBM-943 and Big5
Reviewed-by: simonis, stuefe
2018-06-12 13:00:50 +05:30
Sergey Bylokhov
4f38d4ff72 8189604: possible hang in sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition::<clinit>
Reviewed-by: prr, kaddepalli
2018-07-05 19:05:08 +03:00
Jesper Wilhelmsson
f85a6f0677 Added tag jdk-11+21 for changeset 14708e1acdc3 2018-07-05 13:26:50 +02:00
Thomas Stuefe
1adadc7882 8206243: java -XshowSettings fails if memory.limit_in_bytes overflows LONG.max
Reviewed-by: dholmes, bobv
2018-07-05 11:56:19 +02:00
Felix Yang
0fdb83a54c 8206378: Backout JDK-8202561
Reviewed-by: dholmes
2018-07-05 13:22:44 +08:00
Sibabrata Sahoo
99f911cc71 8206355: SSLSessionImpl.getLocalPrincipal() throws NPE
Fixed SSLSessionImpl.getLocalPrincipal() implementation when client side authentication is not enabled.

Reviewed-by: xuelei
2018-07-04 11:49:46 -07:00
Markus Grönlund
7129c3e786 8198346: assert(!_cld->claimed()) failed in TestObjectDescription.java
Reviewed-by: egahlin
2018-07-04 18:39:26 +02:00
Michael McMahon
5cbda815d0 8206001: Enable TLS1.3 by default in Http Client
Reviewed-by: dfuchs
2018-07-04 16:16:24 +01:00
Matthias Baesken
2e9d5e3d8a 8206145: dbgsysSocketClose - do not restart close if errno is EINTR [linux]
Reviewed-by: alanb, stuefe
2018-07-04 16:54:56 +02:00
Matthias Baesken
b913444be0 8206255: fix compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java jtreg test on linux s390x
Reviewed-by: stuefe
2018-07-03 12:40:42 +02:00
Nils Eliasson
9b281d9d05 8205999: C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge"
Backout 8204157 to state before 8192992

Reviewed-by: thartmann, mdoerr
2018-07-03 09:11:00 +02:00
Srinivas Dama
8d46c49dde 8198819: tools/jimage/JImageExtractTest.java, fails intermittently at testExtract (macos)
Modified test to work on only modules extracted using jimage instead of files present in current directory

Reviewed-by: jlaskey
2018-07-04 17:49:21 +05:30
Per Lidén
657e35019d 8206316: ZGC: Preferred tmpfs mount point not found on Debian
Reviewed-by: kbarrett, tschatzl, ehelin
2018-07-04 12:04:02 +02:00
Per Lidén
e0399f6060 8205924: ZGC: Premature OOME due to failure to expand backing file
Reviewed-by: ehelin
2018-07-04 12:04:02 +02:00
Chris Yin
ffb2d0984e 8187069: The case auto failed with the java.lang.ClassNotFoundException: IPv6NameserverPlatformParsingTest exception
Reviewed-by: vtewari, dfuchs
2018-07-04 16:49:34 +08:00
Markus Grönlund
84d23a1596 8206254: Unable to complete emergency dump during safepoint
Reviewed-by: egahlin
2018-07-04 10:24:16 +02:00
Volker Simonis
7cefb320e9 8206173: MallocSiteTable::initialize() doesn't take function descriptors into account
Reviewed-by: stuefe, zgu
2018-07-04 09:21:19 +02:00
Per Lidén
41ecacc6a0 8206322: ZGC: Incorrect license header in gtests
Reviewed-by: kbarrett, tschatzl
2018-07-04 08:33:00 +02:00
Rachna Goel
19fd830161 8204603: Short week days, NaN value and timezone name are inconsistent between CLDR and Java in zh_CN, zh_TW locales
Handled languageALiases for supported locales of CLDR.

Reviewed-by: naoto
2018-07-04 11:55:11 +05:30
Bob Vandette
38fb1c72d8 Merge 2018-07-03 15:08:00 -04:00
Bob Vandette
ce271e6fde 8205928: [TESTBUG] jdk/internal/platform/docker/TestDockerMemoryMetrics
Reviewed-by: stuefe
2018-07-03 10:59:18 -04:00
John Jiang
4dedba9ebe 8205984: javax/net/ssl/compatibility/Compatibility.java failed to access port log file
Release resource after reading port log file

Reviewed-by: xuelei
2018-07-03 09:27:41 +08:00
Jonathan Gibbons
e2064980ff 8205563: modules/AnnotationProcessing.java failed testGenerateSingleModule
Reviewed-by: darcy
2018-07-02 17:54:36 -07:00
Paul Sandoz
a0e9bf4280 8202769: jck test fails with C2: vm/jvmti/FollowReferences/fref001/fref00113/fref00113.html
Reviewed-by: kvn, coleenp
2018-07-02 10:09:01 -07:00
Igor Ignatyev
297b2fda0f 8202561: clean up TEST.groups file
Reviewed-by: kvn, iklam, epavlova
2018-06-28 10:51:02 -07:00
Mandy Chung
1fde649897 8206184: docs-reference build fails due to extlink.spec.version property not set
Reviewed-by: erikj
2018-07-03 11:16:25 -07:00
Andrew Haley
dd0ba10925 8204680: Disassembly does not display code strings in stubs
Reviewed-by: kvn
2018-06-11 15:32:43 +01:00
Roger Riggs
e9499fa513 8197930: JNI exception pending in initializeEncoding of jni_util.c
Reviewed-by: mchung, stuefe
2018-06-12 13:07:47 -04:00
Zhengyu Gu
2979a83cfa 8204557: NMT: Linux os::committed_in_range() does not break out outer loop when contiguous region is found
Fixed bug that did not break out outer loop when region was found

Reviewed-by: stuefe, adinn
2018-06-12 11:21:07 -04:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Vladimir Kozlov
312328b44c 8204113: Upgrade linker used in AOT tests to be same version as build toolchain
Reviewed-by: erikj, iignatyev
2018-06-12 07:52:30 -07:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Srinivas Dama
2c389ccbac 8204861: fix for 8196993 has broken the build on linux
Undo the changes done for 8196993

Reviewed-by: stefank, shade
2018-06-12 18:30:52 +05:30
Aleksey Shipilev
411a0016dd 8204850: BarrierSet::make_* should be static
Reviewed-by: stuefe, tschatzl
2018-06-12 10:01:23 +02:00
Andrew Dinn
8a3b13953f Merge 2018-06-12 11:11:59 +00:00
Andrew Haley
1b45cbb3d5 8204606: [Aarch64] SIGSEGVs caused by C1 because of improper register usage
Use correct registers for pasing arguments

Reviewed-by: adinn, smonteith
2018-06-12 10:27:49 +00:00
Jan Lahoda
62a6e04db0 8204674: Inconsistent lambda parameter span
Correcting parameter spans for lambda parameters.

Reviewed-by: mcimadamore
2018-06-12 12:14:46 +02:00
Roland Westrelin
724e41cbb6 8204240: Extend MDO to allow more reasons to be recorded per bci
Reviewed-by: kvn, neliasso
2018-06-11 15:28:24 +02:00
Rachna Goel
65a85be9c7 8202537: CLDR33
Upgraded CLDR data to V33.

Reviewed-by: naoto
2018-06-15 11:58:34 +05:30
Priya Lakshmi Muthuswamy
0c633885f1 8204666: javadoc should be updated to use jQuery 3.3.1
Reviewed-by: sundar
2018-06-15 10:48:56 +05:30
Zhengyu Gu
f6c168053f 8203641: Refactor String Deduplication into shared
Allows string deduplication to be shared among different collectors

Reviewed-by: tschatzl, rkennke
2018-06-14 09:59:21 -04:00
Ekaterina Pavlova
4455892789 8205074: [Graal] Add rest of compiler/stable tests into ProblemList-graal.txt
Reviewed-by: kvn
2018-06-14 15:27:49 -07:00
Thomas Stuefe
5b7f558b70 8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes
Reviewed-by: coleenp, sspitsyn, dholmes
2018-06-14 21:49:46 +02:00
Leonid Mesnik
c83edf5ae6 8203491: [TESTBUG] Port heapdump tests into java
Reviewed-by: coleenp, jgeorge
2018-06-13 16:32:02 -07:00
Joe Darcy
01faebf8eb 8205003: Replace selected link tags with linkplain in java.lang.Class
Reviewed-by: bpb, mchung, lancea
2018-06-14 09:31:59 -07:00
Harold Seigel
2595bdf177 8204620: ModuleEntry::is_non_jdk_module() determination for what is a jdk module is incorrect
Check module's loader and compare version with java.base's version to improve algorithm

Reviewed-by: lfoltan, mchung
2018-06-14 10:33:54 -04:00
Bernard Blaser
c97262c785 8203813: javac accepts an illegal name as a receiver parameter name
Reviewed-by: vromero
2018-06-14 05:50:21 -07:00
Jim Laskey
02db4b67cc 8204172: Predicate::not should explicitly mention "NullPointerException - if target is null"
Reviewed-by: sundar, psandoz, dfuchs
2018-06-14 09:38:31 -03:00
Jan Lahoda
5bf8a6f44b 8196618: Create API to list supported values for javac --release option
8194308: jdeprscan will need updates to deal with the removal of the Java EE modules

Generalizing tests to run over all supported --release keys; fixing jdeprscan to work with --release 11.

Reviewed-by: smarks, vromero
2018-06-14 13:16:21 +02:00
Thomas Schatzl
83aae3288e 8204169: Humongous continues region remembered set states do not match the one from the corresponding humongous start region
Make sure and verify that the remembered set state of humongous continues regions matches the one from the corresponding humongous start region.

Reviewed-by: kbarrett, sjohanss
2018-06-14 13:07:33 +02:00
Maurizio Cimadamore
da3ff94812 8178150: Regression in logic for handling inference stuck constraints
Fix broken logic for input/output inference variable dependency

Reviewed-by: vromero, bsrbnd
2018-06-14 11:13:39 +01:00
Leo Korinth
86636eba81 8202740: runtime/8176717/TestInheritFD.java fails with java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD
Reviewed-by: rehn, dholmes
2018-06-14 11:13:30 +02:00
Magnus Ihse Bursie
d51f7831cf 8204664: PrepareFailureLogs should be done after sequential make targets
Reviewed-by: erikj
2018-06-14 11:46:53 +02:00
Tobias Hartmann
d01224d43e 8205034: [BACKOUT] Induction variable of over-unrolled loop conflicts with range checks
Backout fix for JDK-8203915 because it causes SIGILL failures.

Reviewed-by: shade
2018-06-14 11:22:04 +02:00
Yasumasa Suenaga
390487c14d 8204531: Remove unused chars following '\0'
Reviewed-by: dholmes, stuefe
2018-06-14 16:56:58 +09:00
Ekaterina Pavlova
467da554a2 8204978: [Graal] Disable Epsilon GC tests from running with Graal
Reviewed-by: kvn
2018-06-14 00:07:10 -07:00
Tobias Hartmann
c9c8cc68de 8203915: Induction variable of over-unrolled loop conflicts with range checks
Update skeleton predicates before main loop during unrolling to remove dead code.

Reviewed-by: kvn, roland
2018-06-14 09:04:55 +02:00
David Holmes
ab90071069 8204668: Cleanup management of the java.vm.info System property
Reviewed-by: rehn, cjplummer
2018-06-14 02:01:31 -04:00
Robbin Ehn
6b62a66298 8204613: StringTable: Calculates wrong number of uncleaned items
Reviewed-by: pliden, coleenp
2018-06-14 07:26:27 +02:00
Amy Lu
0bafbdc983 8204944: Remove java/util/Map/InPlaceOpsCollisions.java from ProblemList
Reviewed-by: psandoz
2018-06-14 09:48:04 +08:00
Jesper Wilhelmsson
f13f48cd89 Added tag jdk-11+18 for changeset e1b3def12624 2018-06-14 02:49:19 +02:00
Brian Burkhalter
06eb010e7e 8204915: (fs) Add some print diagnostics to java/nio/file/Files/CopyAndMove.java
Reviewed-by: bchristi
2018-06-13 13:12:50 -07:00
Joe Wang
ca487166f4 8201276: (fs) Add methods to Files for reading/writing a string from/to a file
Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
2018-06-13 12:50:45 -07:00
Daniil Titov
b5eadc5721 8203809: [Graal] JDI tests fail with: JDITestRuntimeException : ** event IS NOT a breakpoint **
Reviewed-by: sspitsyn, cjplummer
2018-06-13 10:36:13 -07:00
Thomas Stuefe
f5f4f34a5b 8204935: [aix] TOC overflow in libjvm.so (release build)
Reviewed-by: goetz, mbaesken, ihse
2018-06-13 07:53:27 +02:00
Thomas Stuefe
4d84004591 8204663: clean up remaining native parts after JDK-8187631
Reviewed-by: rriggs, psandoz
2018-06-13 20:11:18 +02:00
Bob Vandette
0e39fb9304 Merge 2018-06-13 13:48:39 -04:00
Erik Joelsson
7a0bf174b8 8204922: Create bootcycle jib profiles
Reviewed-by: tbell, ihse
2018-06-13 10:47:14 -07:00
Bob Vandette
5c55ddd3da Merge 2018-06-13 13:44:56 -04:00
Vivek Theeyarath
d7fe353db7 8204342: methods in java.time s TCKZoneRules OpenJDK test miss Test annotation
Added Test annotation to test methods

Reviewed-by: rriggs, naoto
2018-06-12 22:23:35 -07:00
Rajan Halade
545e0ea797 8204923: Restore Symantec root verisignclass2g2ca
Reviewed-by: mullan
2018-06-13 08:44:23 -07:00
Erik Österlund
d6cc86f800 8203344: Make C1 leal patchable on SPARC
Reviewed-by: neliasso, thartmann
2018-06-13 15:08:08 +02:00
Jan Lahoda
78b7362c97 8193302: Javac AssertionError: typeSig ERROR on usage of @Generated
Importing from an invisible package whose name is a prefix of a visible package is not allowed.

Reviewed-by: vromero
2018-06-13 12:52:21 +02:00
John Paul Adrian Glaubitz
c2265fb70b 8203301: Linux-sparc fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: kvn, thartmann
2018-06-13 10:34:51 +02:00
Roman Kennke
cc206eaca5 8204685: Abstraction for TLAB dummy object
Reviewed-by: tschatzl, shade
2018-06-13 10:15:35 +02:00
Roman Kennke
74e093f058 8203157: Object equals abstraction for BarrierSetAssembler
Reviewed-by: eosterlund, aph
2018-06-13 10:01:53 +02:00
Thomas Stuefe
765618a8ab 8202772: NMT thread stack tracking causes crashes on AIX
Reviewed-by: goetz, zgu
2018-06-13 06:35:04 +02:00
Rohit Arul Raj
dcf7b2e477 8201193: Use XMM/YMM for objects initialization
Reviewed-by: jrose, kvn
2018-06-12 21:29:47 -07:00
Bob Vandette
deba30de16 Merge 2018-06-12 18:53:38 -04:00
Bob Vandette
38646663d9 8203357: Container Metrics
Reviewed-by: mchung, dholmes, mseledtsov, rehn
2018-06-12 18:51:45 -04:00
Bob Vandette
2fa6eac464 8203691: Test /runtime/containers/cgroup/PlainRead.java fails
Reviewed-by: dholmes, mseledtsov, rehn
2018-06-12 18:44:01 -04:00
Kim Barrett
df34500027 8204585: Remove IN_ARCHIVE_ROOT from Access API
Replaced Access API with API on heap.

Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: jiangli, coleenp, tschatzl
2018-06-12 18:12:59 -04:00
Liam Miller-Cushon
669c2f3951 8203679: AssertionError in DeferredAttr with parenthesized method reference
Reviewed-by: mcimadamore
2018-06-11 14:06:50 -07:00
Manajit Halder
88367c598d 8029250: [macosx] There is no tray icon shown in the system tray area when case starts
Reviewed-by: serb, sveerabhadra
2018-06-11 14:06:58 +05:30
Phil Race
91e6e8f36f 8204509: Fix compilation error in harfbuzz 1.7.6 for Solaris Developer Studio 12.6
Reviewed-by: serb
2018-06-10 18:04:43 -07:00
Stuart Monteith
dff9265409 8204628: [AArch64] Assertion failure in BarrierSetAssembler::load_at
Reviewed-by: aph, drwhite, eosterlund, adinn
2018-06-10 20:53:10 +01:00
Sergey Bylokhov
dfb3e113cf 6608234: SwingWorker.get throws CancellationException
Reviewed-by: psadhukhan, kaddepalli, prr
2018-06-09 13:33:35 -07:00
Phil Race
bbe63638bb Merge 2018-06-08 13:32:51 -07:00
Phil Race
f50d8b036b Merge 2018-06-08 12:51:46 -07:00
Doug Lea
307f2c4550 8204375: Add TimeUnit#convert(Duration)
Reviewed-by: martin, scolebourne, plevart, rriggs
2018-06-08 11:38:40 -07:00
Calvin Cheung
cc4dcf32d3 8204110: serviceability/sa/ClhsdbSymbol.java and ClhsdbInspect.java failed when running in CDS mode
ClhsdbSymbol - added printing of symbols from shared table. ClhsdbInspect - find type via FileMapInfo if guessTypeForAddress returns null and sharing is enabled.

Reviewed-by: jgeorge, sspitsyn, iklam
2018-06-08 11:04:58 -07:00
Xueming Shen
f56c0b79d8 8204229: Formatter and String.format ignore the width with the percent modifier (%5%)
Reviewed-by: jlaskey
2018-06-08 10:09:40 -07:00
Martin Buchholz
acdef788f0 8204377: Rename Object#wait parameter name from "timeout" to "timeoutMillis"
Reviewed-by: dholmes, scolebourne, alanb, rriggs
2018-06-08 09:37:52 -07:00
Martin Buchholz
170d8a7fae 8204444: java.time cleanup
Reviewed-by: scolebourne, rriggs
2018-06-08 09:36:10 -07:00
Magnus Ihse Bursie
749c4a054b 8204602: Add devkit for linux-arm32
Reviewed-by: erikj
2018-06-08 18:15:58 +02:00
Magnus Ihse Bursie
402777ea0f 8204572: SetupJdkLibrary should setup SRC and -I flags automatically
Reviewed-by: erikj
2018-06-08 18:11:32 +02:00
Erik Österlund
da0babd9b9 8204504: Fix for 8198285 breaks slowdebug builds
Reviewed-by: rkennke, mgronlun
2018-06-08 11:30:10 +02:00
Srinivas Dama
79ac24439f 8196990: Resolve disabled warnings for libjli
Initialized uninitialzed data to avoid maybe-uninitialized warnings from gcc

Reviewed-by: jlaskey
2018-06-08 21:06:54 +05:30
Maurizio Cimadamore
824b2d53ac 8204610: Compiler confused by parenthesized "this" in final fields assignments
Parenthesis are not skipped consistently in DA/DU, forward reference analysis

Reviewed-by: vromero
2018-06-08 16:33:40 +01:00
Mandy Chung
b6fd68564b 8204584: jdeps generates illegal dot file containing ranksep=0,600000
Reviewed-by: jjg
2018-06-08 08:30:18 -07:00
Brian Burkhalter
683eebde09 8204576: (fs) java/nio/file/Files/CopyAndMove.java does not set isUnix = true on macOS
Reviewed-by: alanb
2018-06-08 07:58:19 -07:00
Nils Eliasson
8c75c07f8c 8203425: assert(is_Loop()) failed: invalid node class
Revert 8203215

Reviewed-by: thartmann
2018-06-08 14:50:18 +02:00
Matthias Baesken
48966d03e8 8204539: improve error messages in matchJavaTZ [windows]
Reviewed-by: coffeys, clanger, goetz
2018-06-08 13:06:08 +02:00
Aleksey Shipilev
bb1c912d9e 8204479: Bitwise AND on byte value sometimes produces wrong result
Reviewed-by: kvn, thartmann
2018-06-08 11:41:43 +02:00
Hannes Wallnöfer
e9068bec8c 8204290: Add check to limit number of capture groups
Reviewed-by: sundar, jlaskey
2018-06-08 11:11:06 +02:00
Hannes Wallnöfer
594e5df577 8204288: Matching the end of a string followed by an empty greedy regex and a word boundary fails
Reviewed-by: sundar, jlaskey
2018-06-08 11:08:38 +02:00
Volker Simonis
414f5b66b8 8204335: [ppc] Assembler::add_const_optimized incorrect for some inputs
Reviewed-by: mdoerr, goetz
2018-06-08 10:22:26 +02:00
Prasanta Sadhukhan
f10a76df1e 8202864: [TESTBUG] Need to replace the image used in two Swing tests
Reviewed-by: prr, jdv
2018-06-08 12:52:50 +05:30
Phil Race
d880f16eaf 8204126: MonospacedGlyphWidthTest.java failed again
Reviewed-by: serb
2018-06-07 11:35:42 -07:00
Goetz Lindenmaier
0bc2cae363 8204549: [aix][testbug] signal tests fail because vm can not start in primordial thread
Reviewed-by: stuefe, dholmes
2018-06-07 15:08:16 +02:00
Richard Reingruber
af75effcd2 8204561: JVM_GetClassSigners: wrap signers oop in an objArrayHandle for subsequent safepoint
Reviewed-by: coleenp, stuefe
2018-06-08 06:59:16 +02:00
David Holmes
12815851ce 8204589: ProblemList failing launcher tests
Reviewed-by: darcy
2018-06-07 22:26:02 -04:00
Chris Plummer
660dbcc16f 8203329: JDWP/JDI VM information string is incorrect
Make sure the native java.vm.info property also gets updated when the java version is.

Reviewed-by: sspitsyn, dholmes
2018-06-07 19:01:18 -07:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Igor Ignatyev
658f3a7ee9 8204577: jittester generator doesn't kill processes on timeout
Reviewed-by: kvn, epavlova
2018-06-07 17:10:23 -07:00
Jonathan Gibbons
fe24730ed9 8201274: Launch Single-File Source-Code Programs
Reviewed-by: mcimadamore, jlahoda, ksrini, mchung, ihse, alanb
2018-06-07 16:06:49 -07:00
Magnus Ihse Bursie
628aec8c75 8203822: AIX version of jsig.c was not removed in JDK-8200298
Reviewed-by: erikj
2018-06-07 23:30:05 +02:00
Xueming Shen
a78fe0a073 8203839: API clarification: versioned jar entry verification in multi-release jar file
Reviewed-by: darcy, psandoz, alanb, weijun
2018-06-07 13:24:49 -07:00
Per Lidén
977a3ef019 8204474: Have instanceRefKlass use HeapAccess when loading the referent
Reviewed-by: stefank, eosterlund
2018-06-07 21:57:17 +02:00
Vyom Tewari
80abdde2c0 8200666: Improve LDAP support
Reviewed-by: rpatil, skoivu, rhalade, chegar, rriggs, mullan
2018-06-07 18:21:29 +05:30
Stefan Karlsson
3905df21f5 8204538: Split ScanClosure and ScanClosureWithParBarrier
Reviewed-by: eosterlund, tschatzl, kbarrett
2018-06-07 10:11:36 +02:00
Liam Miller-Cushon
296aa1cbc6 8198669: Refactor annotation array value parsing to reduce duplication
Reviewed-by: psandoz, darcy
2018-06-18 18:49:34 -07:00
Priya Lakshmi Muthuswamy
fab78c8e57 8205148: Turn off logging in jQuery-migrate
Reviewed-by: sundar
2018-06-19 09:45:54 +05:30
Igor Ignatyev
6e38484942 8202559: Tests which start VM using JNI start failing after compile upgrade to VC 2017
Reviewed-by: erikj
2018-06-18 16:58:16 -07:00
Boris Ulasevich
fc6e1757da 8203479: JFR enabled ARM32 build assertion failure
Reviewed-by: dholmes
2018-06-18 22:43:38 -04:00
Boris Ulasevich
44d8adb43f 8204961: JVMTI jtreg tests build warnings on 32-bit platforms
Reviewed-by: sspitsyn, dholmes
2018-06-18 20:50:23 -04:00
Leo Korinth
74bd011f92 8205054: Could not find "lsof" on test machine
Reviewed-by: dholmes, mikael, goetz
2018-06-18 20:43:42 -04:00
Weijun Wang
9adabc35b0 8177334: Update xmldsig implementation to Apache Santuario 2.1.1
Reviewed-by: mullan
2018-06-19 08:06:35 +08:00
Vladimir Kozlov
a0065b1667 8205181: ProblemList applications/ctw/modules/java_desktop_2.java
Reviewed-by: iignatyev
2018-06-18 15:24:48 -07:00
Jonathan Gibbons
4d47f2e0a6 8204330: Javadoc IllegalArgumentException: HTML special chars in constant value
Reviewed-by: ksrini
2018-06-18 13:52:30 -07:00
Jonathan Gibbons
b75d70e381 8149565: -locale option issues
Reviewed-by: hannesw
2018-06-18 13:40:16 -07:00
Paul Sandoz
72a9d65a2c 8170159: Improve the performance of BitSet traversal
Reviewed-by: martin
2018-06-18 10:13:58 -07:00
Dean Long
9d98befb04 8204231: Update Graal
Reviewed-by: kvn
2018-06-18 09:48:22 -07:00
Robbin Ehn
5eb354a014 8204857: ConcurrentHashTable: Fix parallel processing
Reviewed-by: coleenp, gziemski
2018-06-18 16:13:21 +02:00
Matthias Baesken
effacccf36 8205091: AIX: build errors in hotspot after 8203641: Refactor String Deduplication into shared
Reviewed-by: simonis, stuefe, dholmes
2018-06-18 14:36:50 +02:00
Thomas Schatzl
7f9bbfa767 8043575: Dynamically parallelize reference processing work
In G1 automatically set the number of parallel Reference processing threads

Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com>
Reviewed-by: sangheki, kbarrett
2018-06-18 12:11:59 +02:00
Sergey Bylokhov
fc1016ce18 8203224: java.awt.desktop.*Event classes could not be instantiated if Desktop feature is not supported
Reviewed-by: prr, kaddepalli
2018-06-06 15:37:10 -07:00
Vladimir Ivanov
ddc42415c0 8203480: IncompatibleClassChangeError thrown at sites linked to default interface methods
Reviewed-by: kvn
2018-06-06 23:36:08 +03:00
Erik Österlund
ff7db9b11a 8204554: JFR TLAB tracing broken after 8202776
Reviewed-by: rkennke, stefank
2018-06-07 17:40:15 +02:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Erik Österlund
9f39d8c408 8203353: Fixup inferred decorators in the interpreter
Reviewed-by: rkennke, coleenp
2018-06-07 15:10:06 +02:00
Robbin Ehn
66f8951e15 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by: coleenp, gziemski, iklam, jiangli
2018-06-07 14:11:56 +02:00
Lance Andersen
91f473f2ae 8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
Reviewed-by: rriggs, psandoz
2018-06-07 06:27:09 -04:00
Thomas Stuefe
234cd9fca4 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details
Reviewed-by: coleenp, dholmes
2018-06-07 12:23:46 +02:00
Thomas Schatzl
4c0fa36251 8202049: G1: ReferenceProcessor doesn't handle mark stack overflow
Issue a fatal error when mark stack overflows during reference processing in the Remark phase

Reviewed-by: kbarrett
2018-06-07 11:20:55 +02:00
Thomas Schatzl
1c238f0ccc 8204081: Mismatch in rebuild policy and collection set chooser causes remembered sets to be kept errorneously
Due to mismatch in which region's remembered sets should be rebuilt and the ones that are looked at in the collection set chooser superfluous remembered sets might be built and kept alive until the next marking.

Reviewed-by: sjohanss, kbarrett
2018-06-07 11:20:30 +02:00
Thomas Schatzl
7f8874a93b 8204084: Remove the G1RSBarrierRegionFilter develop flag
Reviewed-by: sjohanss, shade
2018-06-07 11:20:18 +02:00
Alan Bateman
2466623e45 6350055: (se) SelectionKey.interestOps variants to atomically update interest ops
Co-authored-by: David M Lloyd <david.lloyd@redhat.com>
Reviewed-by: bpb
2018-06-07 09:18:39 +01:00
Stefan Johansson
dce30cad15 8204287: Phase timings not updated correctly after JDK-6672778
Reviewed-by: tschatzl, kbarrett
2018-06-07 09:02:03 +02:00
Daniil Titov
f801eef7d1 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates
Reviewed-by: sspitsyn, dholmes
2018-06-06 13:58:57 -07:00
Serguei Spitsyn
552a7d7e7e 8200387: [Graal] fromTonga/nsk/jdi tests hang with Graal as JIT
Increase the OVERLOADED_QUEUE value in the JDI client

Reviewed-by: cjplummer, amenkov
2018-06-06 19:47:22 -07:00
Jesper Wilhelmsson
ec4ee0eb73 Added tag jdk-11+17 for changeset 64e4b1686141 2018-06-07 01:33:09 +02:00
Jonathan Gibbons
d59da4a4b7 8204303: Add redirect for overview-summary.html
Reviewed-by: sundar, hannesw
2018-06-06 15:10:12 -07:00
Xueming Shen
bb4b387398 8204494: Fix for 8200530 triggered regression, closed/test/jdk/security/infra/java/security/KeyStore/BouncyCastleInterop.java failed
Reviewed-by: rriggs
2018-06-06 14:36:48 -07:00
David Holmes
c83db6b4d1 8174734: Safepoint sync time did not increase
Reviewed-by: coleenp, hseigel
2018-06-06 17:10:37 -04:00
Erik Joelsson
1791b54bf2 8200132: Remove jre images and bundles
Reviewed-by: alanb, ihse
2018-06-06 13:16:12 -07:00
Phil Race
7845dac7cf 8204187: Remove proprietary JPEG code from javax.imageio
Reviewed-by: bpb, serb, kaddepalli
2018-06-06 13:04:25 -07:00
Phil Race
3d93888690 8203796: Define API to support specifying ownership of print dialogs
Reviewed-by: serb, kcr
2018-06-06 12:51:44 -07:00
Phil Race
f6245c499f 8204496: backout fix for 8203796 which was pushed under another ID
Reviewed-by: serb
2018-06-06 12:35:44 -07:00
Phil Race
24dd5debd4 8203499: Uninitialised memory in WinAccessBridge.cpp
Reviewed-by: serb
2018-06-06 10:44:27 -07:00
Phil Race
39f36c179d Merge 2018-06-06 09:41:16 -07:00
Dean Long
1116541254 8204199: Test fails after 8202670 Graal update
Reviewed-by: thartmann, kvn
2018-06-06 09:37:44 -07:00
Vicente Romero
afe3bef2d8 8204322: "+=" applied to String operands can provoke side effects
Reviewed-by: mcimadamore, jlahoda, shade
2018-06-06 08:32:08 -07:00
Coleen Phillimore
892a2af03f 8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms

Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Jan Lahoda
b766bdef51 8203891: Upgrade JOpt Simple to 5.0.4
Reviewed-by: alanb, chegar, mchung
2018-06-06 15:36:29 +02:00
Andrew Haley
ff93cf18a7 Merge 2018-06-06 13:06:21 +01:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Nishit Jain
ee5ff58a3d 8203872: Upgrading JDK with latest available LSR data from IANA
Reviewed-by: naoto
2018-06-06 14:16:51 +05:30
Martin Doerr
aa3e013cea 8204345: [s390]: no precompiled headers build broken
Reviewed-by: simonis, shade, coleenp
2018-06-06 10:11:23 +02:00
Li Jiang
069e4f8095 8193552: ISO 4217 amendment 165
8202026: ISO 4217 amendment 166
8204269: ISO 4217 amendment 167

Reviewed-by: naoto
2018-06-05 23:06:32 -07:00
Priya Lakshmi Muthuswamy
e62ea558be 8190875: modules not listed in overview/index page
Reviewed-by: jjg, sundar
2018-06-06 09:07:38 +05:30
Priya Lakshmi Muthuswamy
19c13c2026 8199893: the javadoc tool generates pages with a low constrast
Reviewed-by: jjg
2018-06-06 08:37:19 +05:30
David Holmes
ab275c586e 8199882: compiler/uncommontrap/TestDeoptOOM.java failed w/ fatal error: ExceptionMark constructor expects no pending exceptions
Pre-load AbstractOwnableSynchronizer class instead of lazy loading it.

Reviewed-by: sspitsyn, cjplummer, coleenp
2018-06-05 19:58:20 -04:00
Roman Kennke
6aa9e85a5e 8200623: Primitive heap access for interpreter BarrierSetAssembler/x86
Reviewed-by: eosterlund, adinn
2018-06-05 21:38:38 +02:00
Xueming Shen
ae662fdaa8 8197989: java/util/zip/ZipFile/TestCleaner.java failed with "cleaner failed to clean zipfile
Reviewed-by: rriggs
2018-06-05 12:27:07 -07:00
Andrew Haley
7974360b3f 8204348: AArch64: Remove C2 address reshaping code
Reviewed-by: kvn
2018-06-05 17:50:31 +01:00
Andrew Haley
8b4b130011 Merge 2018-06-05 17:14:49 +01:00
Naoto Sato
8220e4135a 8203324: Use out of scope in getMacOSXLocale of java_props_macosx.c:120
Reviewed-by: rriggs
2018-06-05 08:33:40 -07:00
Andrew Haley
74dd5acae0 8204341: AArch64: AOT runtime does not need a workaround for far calls
Reviewed-by: kvn
2018-06-05 16:12:57 +01:00
Coleen Phillimore
1abfb6d4b4 8204237: Clean up incorrectly included .inline.hpp files from jvmciJavaClasses.hpp
Reexpand macro to provide non-inline functions.

Reviewed-by: kvn, dnsimon
2018-06-05 11:11:33 -04:00
Stefan Karlsson
fcfd260c1f 8204173: Lower the minimum number of heap memory pools in MemoryTest.java
Reviewed-by: mchung, sjohanss
2018-06-05 15:56:23 +02:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00
Stefan Karlsson
a0b2b211cb 8204167: Filter out tests requiring compressed oops when CompressedOops is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:17 +02:00
Stefan Karlsson
8c5db24c99 8204165: Filter out tests requiring class unloading when ClassUnloading is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:14 +02:00
Stefan Karlsson
b95d16720f 8204163: Also detect concurrent GCs in MetaspaceBaseGC.java
Reviewed-by: eosterlund, pliden
2018-06-05 15:56:12 +02:00
Stefan Karlsson
a56e3ff761 8204162: TestG1HeapRegion needs @requires vm.gc.G1
Reviewed-by: eosterlund
2018-06-05 15:56:09 +02:00
Stefan Karlsson
7705bbfc69 8204160: BiasedLockingTest needs -XX:+UseBiasedLocking
Reviewed-by: eosterlund, dholmes
2018-06-05 15:56:07 +02:00
Kim Barrett
056f7b3bd8 8203319: JDK-8201487 disabled too much queue balancing
Sometimes ignore ParallelRefProcBalancingEnabled.

Reviewed-by: tschatzl, sjohanss
2018-06-05 09:15:03 -04:00
Jan Lahoda
8afe86a2fe 8200166: Repeating annotations refering to to-be-generated classes don't work
Reviewed-by: jjg
2018-06-05 14:55:13 +02:00
John Paul Adrian Glaubitz
45abb6791e 8203787: Hotspot build broken on linux-sparc after 8202377
Reviewed-by: dholmes, eosterlund
2018-06-05 13:02:01 +02:00
Michihiro Horie
1213297257 8154736: enhancement of cmpxchg and copy_to_survivor for ppc64
Reviewed-by: eosterlund, mdoerr, kbarrett
2018-06-05 09:29:15 +02:00
Martin Doerr
e4fc10b3c0 8204292: PPC64: Fix missing includes after 8204195
Reviewed-by: coleenp
2018-06-05 09:23:30 +02:00
Sangheon Kim
4fb9d6717d 8204094: assert(worker_i < _length) failed: Worker 15 is greater than max: 11 at ReferenceProcessorPhaseTimes
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:20:16 -07:00
Sangheon Kim
4a7d797fda 8204095: [TESTBUG] TestPrintReferences.java fails if multiple concurrent mark happens
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:19:15 -07:00
Athijegannathan Sundararajan
9ef67a3d83 8203780: javadoc should be updated to use jquery 1.12.4, jquery-ui 1.12.1 and jszip v3.1.5
Reviewed-by: jjg
2018-06-05 08:10:08 +05:30
Leonid Mesnik
f8d429f9c1 8204103: Mark test serviceability/dcmd/compiler/CompilerQueueTest.java as intermittent and exclude it from tier1
Reviewed-by: kvn, jwilhelm
2018-06-05 02:15:37 +02:00
Kim Barrett
2a1a55cc26 8203948: Expand JVMTI callback notion of "internal threads"
Allow any NamedThreads in some contexts.

Reviewed-by: coleenp, dholmes
2018-06-04 20:14:13 -04:00
Robin Westberg
33724f098f 8202095: JFR TestBiasedLockRevocationEvents should cope with multiple events during a single safepoint
Reviewed-by: mgronlun, egahlin
2018-06-04 16:21:08 +02:00
Erik Gahlin
4ed3a3f4fa 8202094: jdk/jfr/api/recording/event/TestEventTime.java intermittently times out
Reviewed-by: mgronlun
2018-06-04 23:07:33 +02:00
Roman Kennke
482e40cc8c 8198285: More consistent Access API for arraycopy
Reviewed-by: eosterlund, shade
2018-06-04 23:01:48 +02:00
Erik Gahlin
9017043b57 8203919: Remove "-add-modules" hint from error message
Reviewed-by: mgronlun
2018-06-04 22:03:10 +02:00
Gerard Ziemski
8c00745dbd 8204295: [BACKOUT] - JVMFlag::printError missing ATTRIBUTE_PRINTF
Backed out the original fix.

Reviewed-by: kbarrett, lfoltan
2018-06-04 13:53:51 -05:00
Alex Menkov
7cd6695e02 Merge 2018-06-04 10:27:48 -07:00
Alex Menkov
dbb9eb5b9c 8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
Bernard Blaser
8d24eeb394 8189335: javac exception when referencing private inner class with same name as normal class with dollar_1
Reviewed-by: vromero
2018-06-04 10:12:40 -07:00
Gerard Ziemski
48e6db9ca8 8203939: JVMFlag::printError missing ATTRIBUTE_PRINTF
Added missing ATTRIBUTE_PRINTF

Reviewed-by: kbarrett, hseigel
2018-06-04 12:14:22 -05:00
Calvin Cheung
185724b899 8203445: [TESTBUG] Remove appcds/jigsaw/limitmods/LimitModsTests.java
Reviewed-by: jiangli
2018-06-04 08:56:41 -07:00
Coleen Phillimore
caaf07e291 Merge 2018-06-04 11:49:12 -04:00
Lois Foltan
6379f91c00 8203435: Circular nested dynamic constant test needed to confirm JVMS resolution behavior
Additional of circular nested dynamic constant test.

Reviewed-by: acorn, psandoz
2018-06-04 11:32:00 -04:00
Lois Foltan
d623fc1bba 8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader
Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.

Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel
2018-06-04 11:07:04 -04:00
Coleen Phillimore
03702fb256 8204195: Clean up macroAssembler.inline.hpp and other inline.hpp files included in .hpp files
Moved macroAssembler.inline.hpp out of header file and distributed to .cpp files that included them: ie. c1_MacroAssembler.hpp and interp_masm.hpp. Also freeList.inline.hpp and allocation.inline.hpp.

Reviewed-by: jiangli, kvn
2018-06-04 10:18:43 -04:00
Matthias Baesken
be8554b697 8204211: windows : handle potential C++ exception in GDIRenderer
Reviewed-by: clanger, prr, serb
2018-06-04 16:11:21 +02:00
Phil Race
49445ed295 8203499: Uninitialised memory in WinAccessBridge.cpp
Reviewed-by: serb
2018-06-05 14:42:21 -07:00
Sergey Bylokhov
014033a098 8196030: AWT Robot mouseMove fails on Windows 10 1709 with HiDPI
8190326: Robot.mouseMove uses scaling factor of main display on unscaled second display

Reviewed-by: prr, kcr
2018-06-04 20:32:19 -07:00
Sergey Bylokhov
4ac10c32b9 8204118: [macos] Nonsensical self == [super init] in CFileDialog.m
Reviewed-by: kaddepalli, sveerabhadra
2018-06-04 19:36:28 -07:00
Sergey Bylokhov
580fc39512 8203308: Remove the appletviewer classes
Reviewed-by: prr, erikj
2018-06-04 19:01:16 -07:00
Phil Race
518c6c5dd0 8203367: Upgrade to freetype 2.9.1
Reviewed-by: serb
2018-06-04 10:54:20 -07:00
Severin Gehwolf
fc1be4c573 8203924: Zero: bootcycle-images build fails on x86_64
Use big java settings for jdk.compiler's annotation processing.

Reviewed-by: dholmes, erikj
2018-06-04 11:19:54 +02:00
Goetz Lindenmaier
e208c81a27 8204277: [testbug] fix DisassembleCodeBlobTest
Reviewed-by: thartmann
2018-06-04 12:29:48 +02:00
Erik Österlund
6e9153ef8b 8202547: Move G1 runtime calls used by generated code to G1BarrierSetRuntime
Reviewed-by: rkennke, tschatzl
2018-06-04 12:59:51 +02:00
Jan Lahoda
4dec1a457f 8198378: javac crash when checking imports and a broken class is present
Properly handling bad classfile while processing imports.

Reviewed-by: vromero
2018-06-04 12:54:13 +02:00
Markus Grönlund
dd539c07ca 8203921: JFR thread sampling is missing fixes from JDK-8194552
Reviewed-by: egahlin
2018-06-04 12:51:24 +02:00
Ioi Lam
b5f0945a72 8204267: Generate comments in -XX:+PrintInterpreter to link to source code
Changed __ macro to use Disassembler::hook()

Reviewed-by: coleenp, aph
2018-06-03 23:33:00 -07:00
Alex Menkov
7d8922221d 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
Reviewed-by: sspitsyn, cjplummer
2018-07-13 10:10:51 -07:00
Nishit Jain
0cb3d46cd7 8193444: SimpleDateFormat throws ArrayIndexOutOfBoundsException when format contains long sequences of unicode characters
Reviewed-by: naoto, rriggs
2018-07-13 14:04:59 +05:30
Daniil Titov
a2a00af3c3 8191948: db error: InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: sspitsyn, amenkov
2018-07-12 22:53:35 -07:00
Valerie Peng
b0af57a018 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
Weijun Wang
b8d80042d7 8206189: sun/security/pkcs12/EmptyPassword.java fails with Sequence tag error
Reviewed-by: xuelei
2018-07-12 08:44:39 +08:00
Mikael Vidstedt
6ffd168ad1 8207011: Remove uses of the register storage class specifier
Reviewed-by: kbarrett, kvn
2018-07-12 17:29:48 -07:00
Gary Adams
539a39c5f6 8206007: nsk/jdb/exclude001 test is taking a long time on some builds
Reviewed-by: cjplummer, sspitsyn
2018-07-12 10:41:44 -04:00
Leonid Mesnik
cd45167430 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled
Reviewed-by: kvn, mseledtsov
2018-07-12 13:32:45 -07:00
Joe Darcy
90518f0635 8028563: Remove javac support for 6/1.6 source and target values
Reviewed-by: jjg, erikj, henryjen
2018-07-12 14:13:15 -07:00
Joe Wang
88a2f93966 8194680: StartElement#getAttributes and getNamespaces refer to incorrect package
Reviewed-by: jjg, lancea
2018-07-12 12:06:22 -07:00
Ivan Gerasimov
3496969f66 8206122: Use Queue in place of ArrayList when need to remove first element
Reviewed-by: martin, jjg, vromero
2018-07-12 11:32:14 -07:00
Ivan Gerasimov
051dfe9fb4 8207060: Memory leak when malloc fails within WITH_UNICODE_STRING block
Reviewed-by: vtewari, rriggs
2018-07-12 11:18:01 -07:00
Thomas Stuefe
60c218229e 8204164: OOM-only logging in Metaspace
Reviewed-by: gziemski, coleenp
2018-06-04 07:12:26 +02:00
Gustavo Romero
5fc4466414 8204134: jtreg: Fix RTM abort provoker for various tests after "8149159: Clean up Unsafe"
Reviewed-by: kvn, iignatyev
2018-06-03 14:21:56 -07:00
Priya Lakshmi Muthuswamy
c37f670092 8202627: javadoc generates broken links to deprecated items when -nodeprecated is used
Reviewed-by: ksrini
2018-06-03 19:21:18 +05:30
Gustavo Romero
e465926089 8204136: jtreg: Fix failing RTM test RTMSpinLoopCount
Reviewed-by: iignatyev, goetz
2018-06-03 09:19:48 +02:00
Priya Lakshmi Muthuswamy
9af06cae23 8199268: docs/api/jdk.javadoc/com/sun/javadoc/package-summary.html contain low contrast text
Reviewed-by: jjg
2018-06-03 12:04:52 +05:30
John Jiang
ef6e99081d 8199388: Test development for ChaCha20 and Poly1305 algorithms
Add test for ChaCha20KeyGenerator

Reviewed-by: mullan
2018-06-01 17:45:10 -07:00
Igor Ignatyev
c4ec887262 8202812: [TESTBUG] Open source VM testbase compiler tests
Reviewed-by: kvn, mseledtsov
2018-06-01 15:48:55 -07:00
Rajan Halade
4639892e77 8204250: Problem list pkcs11 tests on windows
Reviewed-by: wetmore
2018-06-01 15:24:41 -07:00
Martin Balao
62c97f695f 8203182: Release session if initialization of SunPKCS11 Signature fails
Ensure session is properly released in P11Signature class

Reviewed-by: valeriep
2018-06-01 19:46:31 +00:00
Phil Race
f03c183e28 Merge 2018-06-01 09:38:08 -07:00
Michal Vala
a30144440e 8190417: javadoc updates to java.util.regex.Matcher
Reviewed-by: lancea, alanb, dholmes
2018-06-01 12:28:19 -04:00
Phil Race
e3fc1db59c Merge 2018-06-01 09:18:22 -07:00
Adam Farley
1a3da59297 8200052: libjavajpeg: Fix compile warning in jchuff.c
Co-authored-by: Thomas Stuefe <thomas.stuefe@sap.com>
Reviewed-by: prr
2018-06-01 09:16:36 -07:00
Stuart Marks
d51ccbc325 8197925: Better stack walking
Reviewed-by: alanb, skoivu, rriggs, igerasim, rhalade, darcy
2018-05-31 11:31:20 -07:00
Matthias Baesken
60eb10cace 8204085: avoid printing uninitialized pointer in java.desktop/windows/native/libawt/java2d/windows/GDIWindowSurfaceData.cpp
Reviewed-by: clanger, prr, serb, stuefe
2018-05-30 15:01:36 +02:00
Phil Race
f3f7c9878c Merge 2018-05-31 13:04:30 -07:00
Kim Barrett
dd3d24341b 8204179: [BACKOUT] OopStorage should use GlobalCounter
Backout JDK-8202945

Reviewed-by: eosterlund, pliden
2018-05-31 15:37:18 -04:00
Calvin Cheung
e8aba519f7 8203960: [TESTBUG] runtime/logging/DefaultMethodsTest.java failed when running in CDS mode
Added an interface with a default method. The InnerClass implements the interface.

Reviewed-by: iklam, dholmes
2018-05-31 11:41:25 -07:00
Dean Long
e9161fc443 8202670: Update Graal
Reviewed-by: kvn, aph
2018-05-31 10:38:05 -07:00
Alex Menkov
4265f02657 8203031: segfaults from jvmti_AddToBootstrapClassLoaderSearch
Reviewed-by: sspitsyn, iklam, jiangli
2018-05-31 10:14:41 -07:00
Sergey Bylokhov
b7dbfb2e28 8199150: Accessibility issues in java.desktop
8150156: Update bugs.sun.com references to bugs.java.com

Reviewed-by: prr
2018-05-31 09:52:32 -07:00
Sergey Bylokhov
414dd381fc 8202051: Address compilation warnings in libawt with VS2017
Reviewed-by: prr
2018-05-31 09:24:27 -07:00
Shashidhara Veerabhadraiah
92c17de5cf 8199723: Test java/awt/TextComponent/DeselectionDuringDoSelectionNonVisibleTest/DeselectionDuringDoSelectionNonVisibleTest.java fails
Reviewed-by: serb
2018-05-31 16:50:10 +05:30
Sergey Bylokhov
bff7725b4d 8195624: Desktop API cannot be used without permission to read "os.version"
Reviewed-by: prr
2018-05-30 22:03:12 -07:00
Sergey Bylokhov
bb315314c8 8203380: Missing platform and bug information for MouseModifiersInKeyEvent test
Reviewed-by: prr
2018-05-30 21:30:05 -07:00
Phil Race
2accb9f792 8204122: Update harfbuzz.md
Reviewed-by: srl
2018-05-30 15:19:55 -07:00
Phil Race
9a1d560f7f 8199530: Upgrade to harfbuzz 1.7.6
Reviewed-by: srl, serb
2018-05-30 12:20:00 -07:00
Sergey Bylokhov
f13ea2ea31 8196373: Introspector does not see overridden generic setter method
Reviewed-by: malenkov
2018-05-30 08:10:41 -07:00
Rene Schuenemann
673a629875 8204477: Count linkage errors and print in Exceptions::print_exception_counts_on_error
Reviewed-by: stuefe, coleenp
2018-05-30 14:46:17 +02:00
Rene Schuenemann
83ece1407f 8204476: Add additional statistics to CodeCache::print_summary
Reviewed-by: kvn, stuefe
2018-05-30 14:46:17 +02:00
Srinivas Dama
e5f04d4a5e 8196993: Resolve disabled warnings for libunpack
Captured return values and labelled as fall through to avoid unused-result and implicit-fallthrough gcc warnings

Reviewed-by: mchung
2018-06-12 14:16:41 +05:30
Kim Barrett
d3e96fdd91 8204097: Simplify OopStorage::AllocateList block entry access
Removed obsolete support for blocks being in multiple lists.

Reviewed-by: coleenp, tschatzl
2018-06-11 22:35:07 -04:00
Chris Yin
d51c1b87d2 8201528: Add new test to check for package versioning information in OpenJDK
Reviewed-by: mchung
2018-06-12 08:51:28 +08:00
Erik Joelsson
b420097cdd 8204127: Change bundle format on Windows to zip
Reviewed-by: ihse
2018-06-12 01:31:49 +02:00
Valerie Peng
c3a97b27e2 8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method
Updated the impl and added reg test to cover all 4 combinations of ByteBuffers

Reviewed-by: ascarpino
2018-06-11 21:56:58 +00:00
Ekaterina Pavlova
f98aad58de 8204694: Add failed compiler/stable tests into ProblemList-graal.txt
Reviewed-by: kvn
2018-06-11 14:29:38 -07:00
Jan Kalina
4e86e3720b 8194073: Invalid SunNativeProvider.INSTANCE initialization
Changed to always construct INSTANCE after MECH_MAP

Reviewed-by: valeriep
2018-06-11 19:39:05 +00:00
Magnus Ihse Bursie
8fe36bed48 8204682: Parsing for LOG=report=none is broken when combined with other keywords
Reviewed-by: erikj
2018-06-11 20:18:38 +02:00
Volker Simonis
77837d06d1 8204684: [AIX] Build of libjli_static broken after change 8204572 (SetupJdkLibrary)
Reviewed-by: stuefe, erikj
2018-06-11 19:09:15 +02:00
Calvin Cheung
999185f769 8204563: UseAppCDS obsolete message confusing
Reviewed-by: jiangli, mseledtsov, dholmes
2018-06-11 09:40:20 -07:00
Matthias Baesken
053b43564c 8204598: add more thread-related system settings info to hs_error file on Linux
Reviewed-by: dholmes, stuefe
2018-06-08 14:14:44 +02:00
Roland Westrelin
ff2c589b63 8202747: C2: assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: neliasso, kvn
2018-06-11 14:16:43 +02:00
Goetz Lindenmaier
0a2bbf0da1 8204652: [aix] fix thread stack allocation, too big stack sizes not recognized
Reviewed-by: stuefe, dholmes
2018-06-10 17:26:13 +02:00
Thomas Schatzl
b06d2b3ac3 8204618: The parallel GC reference processing task executor enqueues a wrong number of tasks into the queue
Reviewed-by: sangheki, kbarrett
2018-06-11 12:09:59 +02:00
Thomas Schatzl
9455a89d47 8204617: ParallelGC parallel reference processing does not set MT degree in reference processor
Reviewed-by: sangheki, kbarrett
2018-06-11 12:09:57 +02:00
Boris Ulasevich
9be1418ddb 8202705: ARM32 build crashes on long JavaThread offsets
Account extra bytes at the beginning of JavaThread

Reviewed-by: shade, roland, dsamersoff
2018-06-10 12:58:38 +03:00
Mandy Chung
37e651198d 8204648: test/jdk/tools/launchers/SourceMode.java fails with long shebang line
Reviewed-by: darcy
2018-06-09 20:57:43 -07:00
Jonathan Gibbons
48d64563d2 8204588: Test failures after "Launch Single-File Source-Code Programs"
Reviewed-by: mchung
2018-06-08 15:24:51 -07:00
Roman Kennke
971ecfb954 8203172: Primitive heap access for interpreter BarrierSetAssembler/aarch64
Reviewed-by: eosterlund, adinn
2018-06-04 15:11:17 +02:00
Christoph Langer
244e03bf5a 8201429: Support AIX Input Method Editor (IME) for AWT Input Method Framework (IMF)
Co-authored-by: Ichiroh Takiguchi <takiguc@linux.vnet.ibm.com>
Reviewed-by: prr
2018-05-30 08:19:59 +02:00
Sergey Bylokhov
5c128bbc7d 8201279: javax.sound tests should not set java.home system property
Reviewed-by: prr, rriggs
2018-05-29 11:22:21 -07:00
Per Lidén
4a8497acdb 8203885: ConcurrentLocksDump::dump_at_safepoint() should not allocate array in resource area
Reviewed-by: dholmes, stuefe, kbarrett
2018-05-29 13:44:44 +02:00
Jan Lahoda
6776b453e0 8193717: Import resolution performance regression in JDK 9
Avoiding iteration through all sub-scopes of single import scope when looking up by name by only using those that may contain the given name.

Reviewed-by: mcimadamore
2018-05-29 13:17:03 +02:00
Thomas Stuefe
113924e979 8203865: Metaspace cleanup: Remove unused MemRegion in VirtualSpaceNode
Reviewed-by: dholmes, zgu
2018-05-29 12:52:08 +02:00
Jan Lahoda
5635d6f937 8202832: cycle detection depends on ordering of requires directives
Ensuring cyclic dependencies among modules produce a compile-time error.

Reviewed-by: vromero
2018-05-29 10:53:55 +02:00
Thomas Schatzl
1a0553e4eb 8202845: Refactor reference processing for improved parallelism
Fold reference processing's nine phases into four to decrease startup and termination time of this phase.

Reviewed-by: kbarrett, sjohanss
2018-05-29 09:26:00 +02:00
Srinivas Dama
643f255fa8 8196988: Resolve disabled warnings for libjimage
Fixed warnings related to implicit-fallthrough gcc option

Reviewed-by: psandoz, mchung
2018-06-18 08:07:15 +05:30
Henry Jen
b026102163 8199871: Deprecate pack200 and unpack200 tools
Reviewed-by: mchung, psandoz, abuckley
2018-06-15 17:34:01 -07:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Goetz Lindenmaier
4a24d95917 8204943: Improve message of ArrayStoreException
Reviewed-by: lfoltan, hseigel
2018-06-15 12:25:53 +02:00
Thomas Stuefe
3a98bd1f53 8204958: Minor cleanups for the diagnostic framework
Reviewed-by: sspitsyn, coleenp, cjplummer
2018-06-16 07:05:09 +02:00
Kim Barrett
05b5a78903 8204939: Change Access nomenclature: root to native
Rename RootAccess => NativeAccess, IN_ROOT => IN_NATIVE, and related cleanups.

Reviewed-by: pliden, stefank, coleenp
2018-06-15 16:53:58 -04:00
Mandy Chung
1a4997b484 8205116: jdeps --system $java.home fails with IAE
Reviewed-by: alanb, lancea
2018-06-15 13:08:32 -07:00
Thomas Schatzl
60c5f60cbe Merge 2018-05-28 12:11:50 +02:00
Thomas Schatzl
f236648263 8203262: Incorrect cmpxchg usage in MetaspaceGC::inc_capacity_until_GC
Reviewed-by: pliden, shade
2018-05-28 12:10:18 +02:00
Ramanand Patil
b2edcc4b37 8203233: (tz) Upgrade time-zone data to tzdata2018e
Reviewed-by: martin, naoto
2018-05-28 03:04:38 -07:00
Thomas Schatzl
fd0d572bb5 8202842: G1 footprint regressions in jdk11+10
Lazily initialize G1FromCardCache to save on startup footprint if AlwaysPretouch is disabled.

Reviewed-by: sjohanss, redestad
2018-05-28 11:13:21 +02:00
Per Lidén
d830d47d91 8203817: Monitor::try_lock() should not call check_prelock_state()
Reviewed-by: dholmes, eosterlund, rehn
2018-05-28 09:59:11 +02:00
Aleksey Shipilev
e1c94920e5 8203628: Optimize (masked) byte memory comparisons on x86
Reviewed-by: adinn, vlivanov, jrose
2018-05-28 09:05:43 +02:00
Srinivas Dama
080269eb20 8202178: type.getKind() for var is None instead of Error
Make sure var kind != None for instance variables without initialization

Reviewed-by: mcimadamore
2018-05-27 12:00:16 +05:30
Kim Barrett
6c20824cda 8203028: Simplify reference processing in light of JDK-8175797
Removed special handling of Reference.next

Reviewed-by: tschatzl, sjohanss, mchung
2018-05-26 03:11:50 -04:00
Vivek Theeyarath
5103e3b4a3 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch
Correct MethodHandles.insertArguments spec

Reviewed-by: psandoz, mchung, ntv
2018-05-25 22:56:00 -07:00
Gerard Ziemski
41259aae4d 8202360: [TESTBUG] runtime/LoadClass/TestResize.java needs to print output when it fails
Print out output from PrintSystemDictionaryAtExit at failure

Reviewed-by: mseledtsov, dholmes
2018-05-31 09:51:31 -05:00
Harold Seigel
d5bb71b01e Merge 2018-05-31 10:39:55 -04:00
Harold Seigel
d892ac8d4c 8202913: loader constraint message for fields specifies incorrect referring class
Improve the message to display the right referring class.

Reviewed-by: acorn, goetz, dholmes
2018-05-31 10:38:06 -04:00
Brian Burkhalter
9269c67670 8203765: java/nio/channels/Selector/SelectAndClose: add some prints and @intermittent tag
Reviewed-by: alanb
2018-05-31 07:37:06 -07:00
Jamil Nimeh
fcb805f9a6 8153029: ChaCha20 Cipher Implementation
Add the ChaCha20 and ChaCha20-Poly1305 Cipher implementations

Reviewed-by: mullan
2018-05-31 07:05:10 -07:00
Coleen Phillimore
89251ae9a3 8204087: C++ Interpreter code left over in MethodData
Remove unused code

Reviewed-by: kvn, lfoltan, thartmann
2018-05-31 09:19:54 -04:00
Markus Grönlund
04482293bf 8203321: assert(current_query_index < process_query_set->size) failed: invariant
Reviewed-by: rehn
2018-05-31 13:25:40 +02:00
Stefan Karlsson
c5d5f71014 8203923: Add @requires feature to check flag values for the running JVM
Reviewed-by: kvn, dholmes
2018-05-31 10:41:36 +02:00
Rachna Goel
f001238086 8203474: Update description of "Cyrillic Supplementary" block name in Character.UnicodeBlock class
Updated description of cyrillic supplementary block.

Reviewed-by: naoto
2018-05-31 15:11:57 +05:30
Jesper Wilhelmsson
a9a54291b4 Added tag jdk-11+16 for changeset 02934b0d661b 2018-05-31 07:08:54 +02:00
Igor Ignatyev
2e0bda002d 8199371: [TESTBUG] Open source vm testbase JDWP tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-30 20:54:45 -07:00
Igor Ignatyev
91cff962f9 8199380: [TESTBUG] Open source VM testbase AOD tests
Reviewed-by: erikj, sspitsyn
2018-05-30 16:18:56 -07:00
Erik Joelsson
657250f3c5 8204109: JDK-8203945 broke nashorn
Reviewed-by: tbell
2018-05-30 14:55:50 -07:00
Daniil Titov
de66432d4a 8203802: Jvmti test fails to build with VS2017
Reviewed-by: sspitsyn, erikj
2018-05-30 08:59:56 -07:00
Erik Joelsson
c8abeeef90 8203945: Cleanup nashorn build
Reviewed-by: tbell
2018-05-30 10:23:45 -07:00
Erik Joelsson
fc3e92c452 8203946: Move UnpackSecurity.gmk to closed
Reviewed-by: tbell
2018-05-30 09:50:14 -07:00
Ao Qi
d8912b51bb 8204091: Configure broken on MIPS when uname returns mipsel or mips64el
Reviewed-by: erikj, ihse
2018-05-30 09:45:24 -07:00
Jim Laskey
e18f24a98e 8050818: Predicate::not - provide an easier way to negate a predicate
Reviewed-by: chegar, dl, psandoz, forax, smarks, redestad
2018-05-30 12:40:04 -03:00
Thomas Stuefe
0084eebd36 8203219: VM.metaspace jcmd should optionally show loaded classes for loaders
Reviewed-by: zgu, coleenp
2018-05-30 17:30:06 +02:00
Rajan Halade
5712e9e18b 8189949: Remove Baltimore Cybertrust Code Signing CA
Reviewed-by: mullan
2018-05-30 07:42:48 -07:00
Weijun Wang
154849b1c5 8072996: Deprecate stream-based GSSContext methods
Reviewed-by: mullan
2018-05-30 22:24:20 +08:00
Patric Hedlin
60b28c75c8 8200288: [SPARC] "assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed"
Reviewed-by: neliasso, kvn
2018-05-30 16:10:21 +02:00
Claes Redestad
b67da0de17 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker
Reviewed-by: mchung
2018-05-30 14:46:28 +02:00
Goetz Lindenmaier
ff2c3d4dbe 8203881: Print erroneous size in NegativeArraySizeException
Reviewed-by: dholmes, stuefe
2018-05-30 11:39:26 +02:00
Vyom Tewari
6a48db9cf6 8194298: Add support for per Socket configuration of TCP keepalive
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Thomas Stuefe
611c72e5bc 8203455: jcmd: VM.metaspace: print loader name for anonymous CLDs
Reviewed-by: lfoltan, goetz
2018-05-30 08:52:59 +02:00
Martin Buchholz
e85e0f5daf 8203327: Small cleanups in java.lang.ref
Reviewed-by: mr
2018-05-29 19:15:49 -07:00
Kim Barrett
d2dd37cf1f 8202945: OopStorage should use GlobalCounter
Use GlobalCounter rather than private mechanism.

Reviewed-by: eosterlund, tschatzl, rehn
2018-05-29 18:10:09 -04:00
David Holmes
1225e17c54 8189766: whitebox failure with -Xcheck:jni
Reviewed-by: lfoltan, kbarrett
2018-05-29 17:21:31 -04:00
Kim Barrett
ce8c6887bb 8203843: BasicParState::default_estimated_thread_count(false) can return 0 in gtest
Ensure minimum estimated thread count is 1.

Reviewed-by: tschatzl, stuefe, rehn
2018-05-29 16:02:23 -04:00
Coleen Phillimore
e3a3941c9a 8202813: Move vm_weak processing from SystemDictionary to WeakProcessor
SystemDictionary has all strong roots.  The weak oop_storage is processed by the WeakProcessor so it can be scanned and cleared concurrently and/or by parallel threads.

Reviewed-by: kbarrett, sjohanss
2018-05-29 15:50:27 -04:00
Dean Long
92b31787a2 8203370: [JVMCI] UseJVMCICompiler should imply EnableJVMCI
Reviewed-by: kvn
2018-05-29 12:06:05 -07:00
Erik Joelsson
354bddb29e 8203932: Windows devkit has wrong dlls in 32 bit tools dir
Reviewed-by: prr, tbell, stuefe
2018-05-29 21:01:13 +02:00
Thomas Stuefe
df16209bc5 8203014: jcmd should output command list if no command is given
Reviewed-by: sspitsyn, simonis
2018-05-29 20:57:42 +02:00
Jonathan Gibbons
8589446792 8196202: Javadoc should not generate frames by default
Reviewed-by: ksrini
2018-05-29 11:20:04 -07:00
Gerard Ziemski
b721c804c5 8203938: Fix build failures from JDK-8133564
Added missing static keyword

Reviewed-by: kbarrett, tschatzl
2018-05-29 12:57:39 -05:00
Vicente Romero
539b18eba0 8203892: Target interface added as marker interface in calls to altMetafactory
Reviewed-by: mcimadamore
2018-05-29 09:12:39 -07:00
Jan Lahoda
64dfbbcce8 8203926: Problem list test/langtools/tools/javac/importscope/T8193717.java
Reviewed-by: mcimadamore
2018-05-29 18:09:43 +02:00
Gerard Ziemski
90cc14cd60 8133564: Runtime - 2nd followup to Validate JVM Command-Line Flag Arguments
Moved print function into JVMFlag, cleaned up include headers.

Reviewed-by: coleenp, hseigel
2018-05-29 11:04:56 -05:00
Stefan Karlsson
11813888b8 8204540: Automatic oop closure devirtualization
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Jan Lahoda
af4bf0927b 8203814: javac --release=8 \"cannot find symbol\" for NashornException.getEcmaError()
Updating ct.sym data for jdk.scripting.nashorn to JDK8u102 version of the API.

Reviewed-by: hannesw
2018-06-25 12:44:52 +02:00
Phil Race
9a9dad8b63 8191522: Remove Bigelow&Holmes Lucida fonts from JDK sources
Reviewed-by: serb, erikj
2018-05-25 16:23:17 -07:00
Ekaterina Pavlova
ace1b8a4c9 8200266: [Graal] Update ProblemList-graal.txt files
Reviewed-by: kvn
2018-05-25 14:10:21 -07:00
Ivan Gerasimov
33b7f68964 8203369: Check for both EAGAIN and EWOULDBLOCK error codes
Reviewed-by: alanb
2018-05-25 12:44:34 -07:00
Phil Race
5ff01c4163 Merge 2018-05-25 12:12:24 -07:00
Rajan Halade
a9d29cf43a 8203793: cacerts/VerifyCACerts.java fails with java.lang.Exception: At least one cacert test failed
Added equifaxsecureca to EXPIRY_EXC_ENTRIES list

Reviewed-by: redestad
2018-05-25 11:59:01 -07:00
Erik Joelsson
73c228a63a 8203795: Change default compiler on Windows to VS2017
Reviewed-by: ihse, prr
2018-05-25 20:47:20 +02:00
Stuart Marks
a2f8f825ff 8201518: add test for randomized iteration order of unmodifiable Set and Map
Reviewed-by: plevart
2018-05-25 11:18:22 -07:00
Roger Riggs
474a1253bb 8203368: ObjectInputStream filterCheck method throws NullPointerException
Reviewed-by: bpb, smarks
2018-05-25 13:29:25 -04:00
Andrew Brygin
db67279f08 8203485: [freetype] text rotated on 180 degrees is too narrow
Reviewed-by: prr, serb
2018-05-25 11:35:31 +03:00
Sergey Bylokhov
b202eb276a 8203498: The specification for java.applet package should be updated
Reviewed-by: prr
2018-05-23 23:02:02 -07:00
Andrew Dinn
5634c779d5 8203699: java/lang/invoke/SpecialInterfaceCall fails with SIGILL on aarch64
Fastdebug build fails with SIGILL

Reviewed-by: shade, drwhite, aph
2018-05-23 15:57:51 +00:00
Brian Burkhalter
5c90486c43 8202290: AtomicAppend tests fail on macOS 10.13 ("High Sierra")
Reinstate actual running of tests for macOS version >= 10.13.

Reviewed-by: alanb
2018-05-25 07:22:37 -07:00
Sharath Ballal
b9a55926f3 8203689: Add failure code to threaddb exception messages`
Reviewed-by: sspitsyn, cjplummer
2018-05-25 15:34:45 +05:30
Magnus Ihse Bursie
eeb94a94e1 8198323: testing.md not updated for repository layout change
Reviewed-by: ehelin, erikj
2018-05-25 11:51:30 +02:00
Magnus Ihse Bursie
0e24d79bf9 8203221: Makefile fixes after Flight Recorder
Reviewed-by: erikj
2018-05-25 10:14:27 +02:00
Magnus Ihse Bursie
2a629c612e 8203366: Tag added wrongly in Docs.gmk
Reviewed-by: jjg, erikj
2018-05-25 09:35:02 +02:00
Serguei Spitsyn
2866f4bb4c 8203815: add tests failed because of 8203809 to the ProblemList-graal
Add tests to the ProblemList-graal.txt

Reviewed-by: dholmes
2018-05-25 00:26:08 -07:00
Serguei Spitsyn
f8fe9babb3 8203816: add tests failed because of 8203174 to the ProblemList-graal
Add tests to the ProblemList-graal.txt

Reviewed-by: dholmes
2018-05-25 00:18:47 -07:00
Tobias Hartmann
2d00538d92 8202949: C2: assert(false) failed: Bad graph detected in build_loop_late
Fixed trip count computation for counted loop with negative stride to prevent over-unrolling.

Reviewed-by: roland
2018-05-25 09:05:42 +02:00
Jamsheed Mohammed C M
313a255558 8184030: TestUseRTMLockingOptionOnUnsupportedVM - RTM locking optimization not supported is missing
Corrected the rtm unsupported error message for emulated client.

Reviewed-by: thartmann, gromero
2018-05-24 22:21:00 -07:00
Igor Ignatyev
59ac4c2629 8199383: [TESTBUG] Open source VM testbase JVMTI tests
Reviewed-by: sspitsyn, erikj
2018-05-24 17:12:15 -07:00
Rajan Halade
207e005711 8191844: Remove SECOM root (secomevrootca1)
Reviewed-by: mullan
2018-05-24 13:26:22 -07:00
Brian Burkhalter
18d880bad8 8203766: Add some instrumentation to jdk/java/nio/channels/Selector/RacyDeregister.java
Reviewed-by: alanb
2018-05-24 12:29:50 -07:00
Coleen Phillimore
ea1e68ff5d 8203225: Fix of redefining a method that removes 1 or more lambda expressions failed to commit test cases
Reviewed-by: zgu, lfoltan
2018-05-24 14:02:37 -04:00
Harold Seigel
500501450f Merge 2018-05-24 13:06:46 -04:00
Harold Seigel
da47d82500 8203183: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java times out
Limit the heap size so the OOM happens sooner.

Reviewed-by: kbarrett, coleenp
2018-05-24 13:04:33 -04:00
Calvin Cheung
55b6a9b02b 8203354: assert in ClassLoader::update_module_path_entry_list() could have incorrect message
Converting the assert in ClassLoader::update_module_path_entry_list() to a meaningful error message before aborting the CDS dump.

Reviewed-by: stuefe, iklam
2018-05-24 09:15:09 -07:00
Priya Lakshmi Muthuswamy
b83864b498 8196913: javadoc does not (over)write stylesheet.css
Reviewed-by: jjg
2018-05-24 20:34:17 +05:30
Chris Hegarty
cfe6c55f1e 8203297: java/net/URL/OpenStream.java fails intermittently
Reviewed-by: alanb, dfuchs
2018-05-24 15:23:28 +01:00
Erik Gahlin
6d48a23efa 8203774: jdk/jfr/api/recorder/TestStartStopRecording.java failed due to compilation failed
Reviewed-by: mgronlun
2018-05-24 15:46:04 +02:00
Maurizio Cimadamore
d10e29af44 8203488: Remove error generation from TransTypes
Bridge clash errors should noty be reported in TransTypes (as they are already reported in the frontend); cleanup polysig call code.

Reviewed-by: vromero, cushon, forax
2018-05-24 11:13:42 +01:00
Priya Lakshmi Muthuswamy
a7ac132ac4 8199307: NPE in jdk.javadoc.internal.doclets.toolkit.util.Utils.getLineNumber
Reviewed-by: ksrini, jjg
2018-05-24 14:35:32 +05:30
Roland Westrelin
76bb390810 8202950: C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: neliasso, kvn
2018-05-24 09:59:57 +02:00
Priya Lakshmi Muthuswamy
dd889cff52 8188248: NullPointerException on generic methods
Reviewed-by: ksrini, jjg
2018-05-24 13:34:31 +05:30
David Holmes
9aa72c4d35 8203769: ProblemList test/jdk/java/util/Map/InPlaceOpsCollisions.java
Reviewed-by: stuefe
2018-05-24 01:04:42 -04:00
John Jiang
5463be7a75 8203686: Add JDK 11 major version to javax/net/ssl/compatibility/JdkRelease.java
Javax/net/ssl/compatibility/JdkRelease.java adds major version JDK 11

Reviewed-by: xuelei
2018-05-23 18:18:33 -07:00
Jan Kalina
9d1ada26aa 8194630: Uninitialized initiator_address in native GSS
Zeroized the initiator/acceptor_address in gss_channel_bindings_t

Reviewed-by: valeriep
2018-05-24 00:37:29 +00:00
Mikhailo Seledtsov
6b45a75b88 8199255: [TESTBUG] Open source VM testbase default methods tests
Open sourced default method tests

Reviewed-by: ccheung, iignatyev, erikj
2018-05-23 17:09:49 -07:00
Joshua Zhu
24d75d940a 8203041: AArch64: fix overflow in immediate cmp/cmn instruction
Fix overflow in immediate cmp/cmn instruction for AArch64

Reviewed-by: aph, dpochepk, drwhite
2018-05-24 07:20:10 +08:00
Jesper Wilhelmsson
6a0c745008 Added tag jdk-11+15 for changeset a11c1cb542bb 2018-05-23 21:08:33 +02:00
Jonathan Gibbons
d27d4d8df4 8202947: Fix minor issues with taglets
Reviewed-by: ksrini
2018-05-23 11:49:57 -07:00
Erik Joelsson
751d742516 8203497: Bump Jib format version to 1.2
Reviewed-by: tbell
2018-05-23 11:29:56 -07:00
Martin Buchholz
42f7e3f69e 8203328: Rename EFS in java.util.zip internals to something meaningful
Reviewed-by: sherman
2018-05-23 10:34:18 -07:00
Xueming Shen
e1bffce5a3 8200172: String.split non-positive term incorrect use
Reviewed-by: darcy, lancea
2018-05-23 08:49:00 -07:00
Matthias Baesken
de1b886368 8202427: Enhance os::print_memory_info on Windows
Reviewed-by: goetz, stuefe
2018-05-23 16:26:29 +02:00
Sergey Bylokhov
606c9e56a3 8203027: Open source tests for "java.awt.geom"
Reviewed-by: prr, jdv
2018-05-22 17:33:31 -07:00
Gustavo Romero
c4b890cac0 8203669: PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
Reviewed-by: mdoerr, goetz
2018-05-21 13:23:55 -04:00
Jan Lahoda
aabea5d599 8203827: Upgrade JLine to 2.14.6
Reviewed-by: alanb, hannesw, rfield
2018-06-01 13:04:30 +02:00
Claes Redestad
f4b24c3473 8204194: Lazily create MethodHandleImpl$AsVarargsCollector.asCollectorCache
Reviewed-by: psandoz
2018-06-01 11:34:13 +02:00
Robin Westberg
c2f454bb57 8203237: JFR TestBiasedLockRevocationEvents should ignore events unrelated to the test
Reviewed-by: egahlin, mgronlun
2018-06-01 10:15:48 +02:00
David Holmes
8062baac83 8204055: SIGSEGV in java -XX:
Reviewed-by: iklam, stuefe, ccheung
2018-05-31 18:47:21 -04:00
Rajan Halade
e042b06185 8191031: Remove several Symantec Root CAs
Reviewed-by: mullan
2018-05-31 14:56:51 -07:00
Daniil Titov
a2a5e85195 8197387: jcmd started by "root" must be allowed to access all VM processes
Reviewed-by: sspitsyn, stuefe
2018-05-31 14:09:04 -07:00
Sergey Bylokhov
4549cb8a69 8201364: [macosx] Component.getLocation() gives inconsistent coordinate for a component at (0,0)
Reviewed-by: dmarkov
2018-05-17 14:41:23 -07:00
Jayathirth D V
cd7a37b018 5109146: PNGMetadata Background color initialization from standard metadata is incomplete
Reviewed-by: prr, kaddepalli
2018-05-17 11:40:55 +05:30
Alan Snyder
d7e59b52c5 8194327: [macos] AWT windows have incorrect main/key window behaviors
Reviewed-by: serb, erikj
2018-05-16 16:46:51 -07:00
Phil Race
f9abf6bee6 Merge 2018-05-16 10:27:25 -07:00
Xueming Shen
bd36be5066 8191533: jar --describe-module prints service provider class names in lower case
Reviewed-by: alanb
2018-05-16 10:12:10 -07:00
Phil Race
7984fb2956 Merge 2018-05-16 09:45:40 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00
Erik Joelsson
22ca6c6a40 8202738: vm_version Abstract_VM_Version::internal_vm_info_string() returns same string for different incremental builds
Reviewed-by: ihse, jiangli
2018-05-16 09:37:00 -07:00
Claes Redestad
cff257a87b 8196340: (coll) Examine overriding inherited methods in ArrayList and ArrayList.SubList
Reviewed-by: martin, forax, igerasim
2018-05-16 18:03:20 +02:00
Phil Race
ca8b59370b Merge 2018-05-15 10:13:52 -07:00
Thomas Stuefe
ce4698fadb 8203032: PrintMetaspaceDcmd fails: Non-Class: missing from stdout/stderr
Reviewed-by: asiebenborn, zgu
2018-05-15 14:35:51 +02:00
Pankaj Bansal
4d00df3200 8196616: ava/awt/GraphicsDevice/DisplayModes/CompareToXrandrTest.java fails
Reviewed-by: prr, mhalder
2018-05-15 18:03:31 +05:30
Roman Kennke
14291ba72a 8202714: Create a MacroAssembler::access_load/store_at wrapper for AArch64
Reviewed-by: adinn, smonteith
2018-05-15 05:33:26 -04:00
Alan Bateman
d64c38aab2 8203059: (so) Closing a socket channel registered with Selector and with SO_LINGER set to 0 does not reset connection
Reviewed-by: chegar
2018-05-15 09:33:02 +01:00
Amy Lu
e155b21fce 8202763: failure_handler: list open files for macOS
Reviewed-by: alanb
2018-05-15 14:39:11 +08:00
Jayathirth D V
9130f2314c 8202824: Cleanup discrepancies in ProblemList for java_awt jtreg tests
Reviewed-by: serb
2018-05-15 11:34:25 +05:30
Jini George
747f934ca7 8195613: [SA] HotSpotTypeDataBase.readVMLongConstants truncates values to int
Avoid truncation to int while reading in long constants from vmStructs. Modify ClhsdbLongConstant.java for truncation testing.

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-05-15 02:47:40 +05:30
Roman Kennke
0fd74037aa 8202016: Use obj+offset in interpreter array access
Reviewed-by: adinn
2018-05-14 21:56:07 +02:00
Felix Yang
e02ef02e11 8202708: Add a check of opening stream for not-existing UNC url
Reviewed-by: rriggs
2018-05-14 11:17:18 -07:00
Phil Race
302000f379 8198991: Move Java2D demo to the open repository
Reviewed-by: serb, jeff
2018-05-14 08:58:32 -07:00
Andrew Haley
0d6885f792 8185505: AArch64: Port AOT to AArch64
Reviewed-by: kvn
2018-05-14 12:03:59 +01:00
Per Lidén
3222e19f2c 8202993: Add support for x86 testptr/testq with register and address
Reviewed-by: kvn, neliasso
2018-05-14 15:43:00 +02:00
Per Lidén
875d55e903 8202976: Add C1 lea patching support for x86
Reviewed-by: kvn, neliasso
2018-05-14 15:42:59 +02:00
Per Lidén
a6b12a847c 8202994: Add support for undoing last TLAB allocation
Reviewed-by: shade, stefank
2018-05-14 15:42:58 +02:00
Nils Eliasson
d822b86df8 8193935: Illegal countedLoops transformation
Truncation can sometimes not be removed

Reviewed-by: kvn
2018-05-14 14:10:52 +02:00
Nils Eliasson
86728689bf 8201532: Update idom to get correct dom depth calculation
Assert due to dom depth calculation on old idom

Reviewed-by: roland
2018-05-14 14:10:50 +02:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03:00
Thomas Schatzl
ec2d9845e0 8201491: G1 support for java.lang.ref.Reference precleaning
Implement single-threaded concurrent reference precleaning for G1.

Reviewed-by: sangheki, kbarrett
2018-05-14 11:47:03 +02:00
Thomas Schatzl
6ff0af73ce 8202829: Implement CollectedHeap::get_safepoint_workers() for G1
Use the parallel STW worker gang to do safepoint work.

Reviewed-by: rkennke, eosterlund, pliden
2018-05-14 11:47:03 +02:00
Phil Race
edae7e15b2 8198412: MonospacedGlyphWidthTest.java may fail on Solaris
Reviewed-by: serb
2018-05-11 20:59:21 -07:00
Sergey Bylokhov
684b4f7551 8202878: com/apple/laf/ScreenMenu/ScreenMenuMemoryLeakTest.java fails
Reviewed-by: prr
2018-05-11 15:27:51 -07:00
Phil Race
fd8df3adf1 8202811: Problem List some tests that leave windows open on the desktop
Reviewed-by: serb
2018-05-11 14:12:55 -07:00
Erik Joelsson
51a8c7e2e0 8202914: Let custom makefile override jmod intput dir locations
Reviewed-by: tbell
2018-05-11 08:39:21 -07:00
Alexey Ivanov
e30d634514 8202544: Hide unused exports in libzip
Reviewed-by: clanger, ihse
2018-05-11 15:07:43 +01:00
Prem Balakrishnan
c82da05b9d 8196360: java/awt/Dialog/SiblingChildOrder/SiblingChildOrderTest.java fails
Reviewed-by: serb, sveerabhadra, jdv
2018-05-11 21:03:07 +05:30
Abdul Kolarkunnu
cbc02cd8d1 8197948: Create test for SwingSet2 main window
Reviewed-by: prr
2018-05-09 16:03:49 +05:30
Phil Race
0b2ecd51c9 Merge 2018-05-08 12:13:57 -07:00
Phil Race
de1b60775b 8202767: java/awt/font/GlyphVector/TestLayoutFlags.java is missing null check
Reviewed-by: serb
2018-05-08 10:55:09 -07:00
Abdul Kolarkunnu
558401a842 8202718: Jemmy JInternalFrameOperator: Dependency with orders of Minimize, Maximize and Close buttons
Reviewed-by: serb
2018-05-08 15:30:08 +05:30
Laurent Bourgès
ef92671424 8202580: Dashed BasicStroke randomly painted incorrectly, may freeze application
Fixed Dasher.init() to use the correct part [0; dashLen[

Reviewed-by: prr, serb
2018-05-08 10:13:21 +02:00
Goetz Lindenmaier
b72846bc20 8202745: Remove hyphens from "out-of-bounds"
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Phil Race
6bd0608f21 8176510: java/awt/font/GlyphVector/TestLayoutFlags.java fails with OpenJDK
Reviewed-by: serb
2018-05-07 13:36:36 -07:00
Abdul Kolarkunnu
059d828240 8202064: Jemmy JInternalFrameOperator: Add wait for close(), activate(), resize() and move() operations
Reviewed-by: serb
2018-05-07 16:51:08 +05:30
Goetz Lindenmaier
ac3043c692 8201593: Print array length in ArrayIndexOutOfBoundsException
Reviewed-by: dholmes, mdoerr, smonteith, shade, rriggs
2018-05-07 09:11:21 +02:00
Jini George
b812ae6e51 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
Make SA aware of the new _nofast* (rewritten during CDS dump time) bytecodes.

Reviewed-by: iklam, cjplummer
2018-05-12 17:22:56 +05:30
Christoph Langer
25b41d79b5 8202915: [JAXP] Performance enhancements and cleanups in com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator
Reviewed-by: joehw
2018-05-12 10:26:42 +02:00
Mandy Chung
0e1bd1f99d 8202113: Reflection API is causing caller classes to leak
Reviewed-by: alanb, plevart
2018-05-11 14:21:46 -07:00
Kevin Rushforth
8af434d695 8202553: Update FXLauncherTest as part of removing JavaFX from JDK
Reviewed-by: ksrini, mchung
2018-05-10 13:34:44 -07:00
Christian Tornqvist
62a2880030 8202997: Split test/jdk/:tier1 to enable better parallel execution
Reviewed-by: erikj
2018-05-11 14:43:08 -04:00
Dmitrij Pochepko
cae7789afc 8202395: AARCH64: wrong encoding for SIMD instructions zip, trn, uzp
Reviewed-by: aph
2018-05-11 21:22:28 +03:00
Boris Ulasevich
078a1f3a17 8201604: ARM64 - Build failure after JDK-8193260
Reviewed-by: aph
2018-05-11 21:19:47 +03:00
Vicente Romero
74b151103e 8194998: broken error message for subclass of interface with private method
Reviewed-by: mcimadamore
2018-05-11 10:39:04 -07:00
Naoto Sato
58f45b7b35 8202764: api/java_text/SimpleDateFormat/index.html#Format testcases started to fail with JDK11 b12
Reviewed-by: sherman
2018-05-11 10:07:10 -07:00
Aleksey Shipilev
e0ac880134 8202974: Backout JDK-8202683
Reviewed-by: stuefe, erikj
2018-05-11 17:37:14 +02:00
Daniel D. Daugherty
5e70392aa8 8132287: obsolete the "InlineNotify" flag option
Reviewed-by: kvn, dlong, dholmes
2018-05-11 11:08:32 -04:00
Hamlin Li
5f48fe5cab 8202756: move FilterUSRTest.java to openJDK
Reviewed-by: rriggs
2018-05-11 17:50:00 +08:00
Lana Steuck
00f6496450 Added tag jdk-11+13 for changeset 758deedaae84 2018-05-11 04:57:43 +00:00
Yasumasa Suenaga
256b6f1a4c 8202889: Remove trailing LF from perf log
Reviewed-by: stuefe, clanger
2018-05-11 09:40:23 +09:00
Calvin Cheung
78ed5e2c4d 8202289: Non-empty directory in module path is not handled properly at CDS/AppCDS dump time
8202519: Crash during large AppCDS dump

Convert the source of a class into canonical form before comparing witha shared path table entry.

Reviewed-by: jiangli, iklam
2018-05-10 16:39:50 -07:00
Erik Joelsson
71938d9e82 8202919: JDK-8202683 broke macosx build
Reviewed-by: shade, tbell
2018-05-10 10:00:49 -07:00
Vladimir Kozlov
b2a68ca34f 8202773: Unhandled oop in JavaThread::collect_counters
Remove MutexLocker

Reviewed-by: dcubed
2018-05-10 09:27:59 -07:00
Leonid Mesnik
f25fbfe1d2 8202748: jtreg :hotspot_misc group shouldn't include vmTestbase tests
Reviewed-by: iignatyev, mseledtsov
2018-05-08 15:28:12 -07:00
Aleksey Shipilev
63528a6600 8202683: Minimal VM should build cleanly on 64-bit platforms
Reviewed-by: erikj, dholmes
2018-05-10 17:19:29 +02:00
Thomas Stuefe
1f776c3da2 8202822: Add .git to .hgignore
Reviewed-by: erikj
2018-05-10 07:26:18 +02:00
Erik Joelsson
f9e285bc18 8202557: OpenJDK fails to start in Windows 7 and 8.1 after upgrading compiler to VC 2017
Reviewed-by: tbell
2018-05-09 19:50:30 +02:00
Jan Lahoda
366aa4d5e0 8202843: langtools ant build fails
Using default -source/-target settings when building langtools using the developer ant build.

Reviewed-by: mcimadamore
2018-05-09 17:14:29 +02:00
Phil Race
37750748e8 8202679: Updates on windows failures in the problem list
Reviewed-by: serb
2018-05-05 12:17:43 -07:00
Alexey Ivanov
30f9ec8623 8202476: ImageLib is broken in 32 bit Windows
Reviewed-by: prr, ihse, mbaesken
2018-05-04 19:23:21 +01:00
Coleen Phillimore
3e3414dbf3 8203837: Split nmethod unloading from inline cache cleaning
Refactor cleaning inline caches to after GC do_unloading.

Reviewed-by: thartmann, eosterlund
2018-05-02 11:28:49 -04:00
Athijegannathan Sundararajan
f2a30dcb3e 8204321: javadoc tests fail after JDK-8203780
Reviewed-by: jjg
2018-06-05 23:10:54 +05:30
Roman Kennke
26b8ea76f5 8202776: Modularize GC allocations in runtime
Reviewed-by: eosterlund, shade
2018-06-05 19:13:53 +02:00
Xueming Shen
fcfd1c85dd 8200530: '\r' is not supported as "newline" in java.util.jar.Manifest
Reviewed-by: jlaskey
2018-06-05 10:03:46 -07:00
Matthias Baesken
e757890eec 8202322: AIX: symbol visibility flags not support on xlc 12.1
Reviewed-by: erikj, clanger
2018-04-26 13:55:16 +02:00
Severin Gehwolf
2bd15814dc 8203223: Signed integer overflow in ImageStrings::hash_code (libjimage.so)
Perform hash operation on local unsigned type.

Reviewed-by: shade, dholmes, alanb
2018-05-15 15:36:46 +02:00
Aleksey Shipilev
5ee4a26ecb 8203285: Minimal VM fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 13:14:58 +02:00
Aleksey Shipilev
6bca38c321 8203274: 32-bit build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:35 +02:00
Aleksey Shipilev
e5a8494286 8203278: AArch64/PPC64 build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:34 +02:00
Stefan Johansson
f21c201f80 8183910: gc/arguments/TestAggressiveHeap.java fails intermittently
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:44:59 +02:00
Per Lidén
e8eb07d805 8203220: Introduce ATTRIBUTE_ALIGNED macro
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:24:54 +02:00
Alexander Harlap
c57afa5fbf 8189271: Metaspace::_capacity_until_GC should be size_t
Change of member and some related local variables.

Reviewed-by: tschatzl, stuefe
2018-05-15 19:26:00 -04:00
Jonathan Gibbons
2612bef51e 8202614: Add ability to validate links in JavadocTester
Reviewed-by: ksrini
2018-05-15 14:41:06 -07:00
Aleksey Shipilev
425cd17400 8203251: Non-PCH build failed after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-15 23:37:37 +02:00
Jonathan Gibbons
5efef1271b 8203176: javadoc handles non-ASCII characters incorrectly
Reviewed-by: ksrini
2018-05-15 14:15:47 -07:00
Igor Ignatyev
5bb7e81832 8203250: runtime/LoadClass/test-classes/Hello.java has wrong legal notice
Reviewed-by: ccheung
2018-05-15 13:58:03 -07:00
Joe Wang
e8586cd4bc 8202426: NPE thrown by Transformer when XMLStreamReader reports no xml attribute type
Reviewed-by: lancea
2018-05-15 13:28:08 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Igor Ignatyev
f575533a17 8202392: [TESTBUG] open source vm testbase heapdump tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-15 11:28:29 -07:00
Adam Petcher
023ee573d3 8200332: Improve GCM counting
Reviewed-by: ascarpino
2018-04-09 14:10:56 -04:00
Nils Eliasson
ac9f93a147 8192992: Test8007294.java failed: attempted to spill a non-spillable item
Fix bugs in schedule_late that forces load to early

Reviewed-by: kvn, thartmann
2018-03-21 16:03:12 +01:00
Markus Grönlund
ae106e353a 8203457: Add back missing full buffer notification
Reviewed-by: redestad, sjohanss
2018-05-23 15:21:54 +02:00
Stefan Karlsson
6c2e9e1981 8203490: StringTable::dump lacks a load barrier
Reviewed-by: coleenp, pliden
2018-05-23 09:43:41 +02:00
Stefan Karlsson
88aa1562f7 8203694: Add a safepoint-aware Semaphore - part 2
Reviewed-by: dholmes, pliden
2018-05-23 09:42:42 +02:00
Matthias Baesken
803f330d86 8203355: MITSHM define guarding missing
Reviewed-by: prr, stuefe
2018-05-17 18:09:19 +02:00
Dan Zhou
27d6abca83 8202771: Migrate Unicode character tests to JDK Repo
Reviewed-by: naoto
2018-05-23 14:21:14 +08:00
Doug Lea
96814f7a28 8201386: Miscellaneous changes imported from jsr166 CVS 2018-05
Reviewed-by: martin, psandoz
2018-05-22 21:50:45 -07:00
Doug Lea
e4046542ba 8202685: Optimize ArrayList subList replaceAll
Reviewed-by: martin, psandoz, igerasim, redestad, dholmes, smarks, jrose, plevart
2018-05-22 21:46:51 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Erik Gahlin
6602c862c1 8195819: Remove recording=x from jcmd JFR.check output
Reviewed-by: mgronlun
2018-05-23 00:21:58 +02:00
Erik Gahlin
6e9b05acb2 8201331: Better test cleanup for jdk/jfr/api/consumer/TestRecordingFile.java
Reviewed-by: tbell, mgronlun
2018-05-22 23:27:54 +02:00
Leonid Mesnik
09be3efb39 8199064: Test applications/jcstress/other/Test.java#id1108 fails on Sparc
Reviewed-by: psandoz, mseledtsov
2018-05-22 10:49:20 -07:00
Mikhailo Seledtsov
6fcf6a9b20 8199257: [TESTBUG] Open source VM testbase metaspace tests
Open sourced VM metaspace tests

Reviewed-by: coleenp, stuefe
2018-05-22 13:05:22 -07:00
Zhengyu Gu
7a898e3e81 8203635: JFR sampler thread does not record stack info
Added call to record_stack_base_and_size() from sampler thread

Reviewed-by: shade, coleenp, stuefe
2018-05-22 14:49:39 -04:00
Xueming Shen
7a9392740c 8196987: Resolve disabled warnings for libzip
Reviewed-by: erikj, alanb
2018-05-22 11:04:36 -07:00
Igor Ignatyev
619bf3a01c 8199379: [TESTBUG] Open source vm testbase JDB tests
Reviewed-by: mseledtsov, sspitsyn
2018-05-22 10:08:04 -07:00
Coleen Phillimore
37e51f4074 8202669: Intermittent crash in ClassLoadingService::compute_class_size()
Don't report classes that failed to load when reporting class unloading. Remove the classes first.

Reviewed-by: dholmes, lfoltan, ccheung
2018-05-22 13:10:56 -04:00
Vicente Romero
3b38d1b418 8196048: thrown type variables should be roots in the minimum inference graph
Reviewed-by: mcimadamore
2018-05-22 09:01:44 -07:00
Ioi Lam
1ae12b4328 8203381: Replace InstanceKlass::allocate_instance_handle with JavaCalls::construct_new_instance
Reviewed-by: lfoltan, dholmes, coleenp, minqi
2018-05-18 09:15:08 -07:00
Severin Gehwolf
f0e6200376 8203410: Zero: Disable jfr feature by default
Reviewed-by: erikj
2018-05-18 15:35:32 +02:00
Jim Laskey
60de3c902e 8200380: String::lines
Reviewed-by: sundar, sherman, rriggs, psandoz
2018-05-22 12:04:05 -03:00
Jan Lahoda
c3cdecd32b 8198315: Incomplete classpath causes NPE in TransTypes
Avoid symbol completion while constructing error message.

Reviewed-by: mcimadamore
2018-05-22 12:26:17 +02:00
Maurizio Cimadamore
47d634e453 8203436: javac should fail early when emitting illegal signature attributes
Check that signature attributes do not contain non-denotable types

Reviewed-by: vromero
2018-05-22 13:37:05 +01:00
Boris Ulasevich
069d6f992b 8203431: TestFloatsOnStackDeopt.java throws java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL
Reviewed-by: redestad
2018-05-22 14:54:55 +02:00
Claes Redestad
55ba3cad8b 8203352: Improve java implementation of Integer/Long.numberOfLeadingZeros
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: martin, igerasim
2018-05-22 14:44:18 +02:00
David Holmes
bff7296db3 8203626: ProblemList compiler/runtime/TestFloatsOnStackDeopt.java
Reviewed-by: thartmann
2018-05-22 05:20:48 -04:00
Kim Barrett
66b0c9fe9c 8202863: Rename OopStorage inner collection classes
Rename BlockArray, BlockList, BlockEntry

Reviewed-by: coleenp
2018-05-22 03:46:52 -04:00
Tobias Hartmann
e30f2aee4f 8202848: -XX:+ExecuteInternalVMTests asserts with "assert(cd.valid() == true) failed: failed on a valid DirectivesParser string"
Use "C" locale for correct parsing of decimals in VM internal compiler directive tests.

Reviewed-by: dholmes, coleenp, stuefe, dcubed
2018-05-22 09:10:16 +02:00
Tobias Hartmann
f9ac81abcd 8203196: C1 emits incorrect code due to integer overflow in _tableswitch keys
Avoid integer overflow in TableSwitch().

Reviewed-by: goetz, mdoerr, vlivanov
2018-05-22 09:04:15 +02:00
Ioi Lam
f9742fc0a6 8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
Reviewed-by: lfoltan, jiangli
2018-05-21 21:27:12 -07:00
Iris Clark
03096d9b75 8203500: Fix broken links to Specification in "specs" directory
Reviewed-by: jjg, lancea, mchung
2018-05-21 18:44:09 -07:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Coleen Phillimore
6216182dd1 8202853: NotifyCount is not initialized
Remove NotifyCount

Reviewed-by: jiangli
2018-05-21 17:17:24 -04:00
Erik Gahlin
112a9fe7f6 8027760: JFC schema condition should not have defaults
Reviewed-by: mgronlun
2018-05-21 22:59:29 +02:00
Ivan Gerasimov
ee601ac627 8203279: Faster rounding up to nearest power of two
Reviewed-by: martin, redestad
2018-05-21 12:49:03 -07:00
Vicente Romero
088dbd5ce8 8203486: skip type inference for non functional interface components of intersection types
Reviewed-by: mcimadamore
2018-05-21 12:27:21 -07:00
Jiangli Zhou
422e112ffd 8199807: AppCDS performs overly restrictive path matching check
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()

Relax CDS/AppCDS path check for modules image.

Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Adam Farley
281e575907 8203487: Typo in ICUBinary.java: s/Magin/Magic/
Reviewed-by: igerasim, naoto
2018-05-21 11:43:57 -07:00
Erik Gahlin
28b07240e6 8195818: JFR.start should increase autogenerated name by one
Reviewed-by: mgronlun
2018-05-21 18:19:11 +02:00
Volker Simonis
48fb34d596 8203292: Print complete set of flags in the hs_err file
Prints non-default flags to hs_err file

Reviewed-by: gziemski, dholmes
2018-05-21 11:09:58 -05:00
Erik Gahlin
cffef5d38c 8195817: JFR.stop should require name of recording
Reviewed-by: mgronlun
2018-05-21 17:38:46 +02:00
Erik Gahlin
e2fb68680e 8198337: -XX:StartFlightRecording=dumponexit=true,disk=false doesn't work
Reviewed-by: mgronlun
2018-05-21 14:46:12 +02:00
Thomas Stuefe
8f71718566 8176808: Split up metaspace.cpp
Reviewed-by: asiebenborn, coleenp
2018-05-21 11:33:59 +02:00
Stefan Karlsson
379a001e5e 8203341: Add a safepoint-aware Semaphore
Reviewed-by: pliden, eosterlund
2018-05-20 22:10:45 +02:00
Stefan Karlsson
7b0d398bc7 8203339: Add oopDesc::field_offset()
Reviewed-by: rkennke, eosterlund
2018-05-20 22:08:25 +02:00
Yasumasa Suenaga
535c2507a0 8202466: Test serviceability/tmtools/jstat/GcTest01.java fails: Number of concurrent GC events is 1, but CGCT is 0
Reviewed-by: cjplummer, sspitsyn
2018-05-20 20:25:51 +09:00
Chris Plummer
09e8095fd9 8203391: Update com/sun/jdi/JdbMethodExitTest.sh to pass valid URL[]
Use a valid URL[]

Reviewed-by: sspitsyn, amenkov, dtitov
2018-05-19 13:13:09 -07:00
Aleksey Shipilev
d71d1e240e 8203454: Minimal, Zero builds fail after JDK-8202377 (Modularize C2 barriers)
Reviewed-by: stuefe, eosterlund
2018-05-19 18:01:04 +02:00
Weijun Wang
48b5731c39 8201627: Kerberos sequence number issues
Reviewed-by: valeriep
2018-05-19 22:06:47 +08:00
Joe Wang
1d4a122367 8198548: Initialization race in com.sun.org.apache.xerces.internal.impl.xpath.regex.Token.getRange() on Token.categories
Reviewed-by: lancea
2018-05-18 18:31:28 -07:00
Chris Plummer
00b1a87625 8185803: JdbExprTest.sh fails in JDK10-hs nightly due to "Name unknown: java.lang.Long.MAX_VALUE "
Initialize java.lang.Long before referencing it

Reviewed-by: dholmes, dcubed
2018-05-18 14:21:59 -07:00
Coleen Phillimore
768632f24b 8202014: Possible to receive signal before signal semaphore created
Initialize jdk.internal.misc.Signal in os_init2 and rename initialization functions.

Reviewed-by: dholmes, stuefe
2018-05-18 15:56:42 -04:00
Igor Ignatyev
bc795f4eb8 8203437: 8199370 broke build on linux-ppc64le (w/ GCC 4.8.5.)
Reviewed-by: shade
2018-05-18 12:45:05 -07:00
Dean Long
602a52482c 8202305: [Graal] org.graalvm.compiler.core.test.GraphResetDebugTest fails with java.util.ServiceConfigurationError
Reviewed-by: iveresov, epavlova
2018-05-18 12:32:32 -07:00
Vicente Romero
ec167413f9 8148354: Errors targeting functional interface intersection types
Reviewed-by: mcimadamore, dlsmith
2018-05-18 09:22:31 -07:00
Erik Österlund
53ec88908c 8202377: Modularize C2 GC barriers
Reviewed-by: neliasso, roland
2018-05-18 14:51:06 +02:00
Per Lidén
2aa9d028c7 8202989: Add missing decorators in calls to to arraycopy_prologue/epilogue
Reviewed-by: stefank, eosterlund
2018-05-18 15:21:23 +02:00
Per Lidén
dface12e6d 8203227: Introduce os::processor_id() for Linux and Solaris
Reviewed-by: dholmes, rehn
2018-05-18 15:21:23 +02:00
Coleen Phillimore
ab469d40fc 8134537: Much nearly duplicated code for sun.misc.Signal support
Merged jvm_<os>.cpp into jvm_posix.cpp

Reviewed-by: dholmes, stuefe
2018-05-18 08:47:42 -04:00
Goetz Lindenmaier
87ca9d07df 8203400: Fix issue with "8199852: Print more information about class loaders in LinkageErrors."
Reviewed-by: dholmes, lfoltan
2018-05-18 10:59:04 +02:00
Jim Laskey
a455811dca 8200436: String::isBlank
Reviewed-by: sundar
2018-05-18 08:43:49 -03:00
Severin Gehwolf
003b10c2bc 8203287: Zero fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade, mdoerr
2018-05-16 15:25:51 +02:00
Bernard Blaser
b416d3915e 8203398: Test test/langtools/tools/javac/options/release/ReleaseOptionCurrent.java writes into the source directory
Reviewed-by: jjg, jlahoda
2018-05-18 12:48:09 +02:00
Boris Ulasevich
2029f17855 8202710: AARCH64: sporadic jtreg test fail
Reviewed-by: aph, dsamersoff
2018-05-18 13:23:28 +03:00
Weijun Wang
b8855ebbc2 8201867: Kerberos keytabs with holes in certain places are parsed incorrectly
Reviewed-by: valeriep
2018-05-18 16:27:15 +08:00
Ekaterina Pavlova
fdaaae3622 8203318: compiler/stable/TestStableShort.java is broken
Reviewed-by: shade
2018-05-17 21:04:53 -07:00
Leonid Mesnik
5dcd1ced4c 8199271: [TESTBUG] open source VM testbase stress tests
Reviewed-by: mseledtsov, sspitsyn, erikj
2018-05-17 16:21:27 -07:00
Igor Ignatyev
072459a055 8199370: [TESTBUG] Open source vm testbase GC tests
Reviewed-by: erikj, ihse, ehelin
2018-05-17 14:52:47 -07:00
Bhavesh Patel
7c66a1d6a2 8196201: Generate pages to list all classes and all packages in javadoc output
Reviewed-by: jjg
2018-05-17 12:59:53 -07:00
Calvin Cheung
e8cf273121 8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java
Reviewed-by: dholmes
2018-05-17 08:41:01 -07:00
Nils Eliasson
fbbbc35d32 8203215: IdealLoopTree::split_outer_loop leaves phi-nodes with only one input
Make sure the phis are transformed

Reviewed-by: roland, kvn, rbackman
2018-05-17 12:08:32 +02:00
Erik Österlund
c2b147225c 8202479: Add missing try_resolve_jobject_in_native calls
Reviewed-by: coleenp, pliden
2018-05-17 11:56:21 +02:00
Markus Grönlund
203359ffe1 8203346: JFR: Inconsistent signature of jfr_add_string_constant
Reviewed-by: shade
2018-05-17 14:31:31 +02:00
Martin Doerr
3db5fa7043 8202713: Create a MacroAssembler::access_load/store_at wrapper for S390 and PPC
Reviewed-by: eosterlund, goetz
2018-05-17 14:19:54 +02:00
Gustavo Romero
85383c76ee 8203305: PPC64: Improve TM detection for enabling RTM on Linux / POWER9
Reviewed-by: mdoerr
2018-05-16 11:11:03 -04:00
Martin Doerr
2dd143b06f 8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade
2018-05-17 14:16:49 +02:00
Abhijit Saha
9a0a01d53b Added tag jdk-11+14 for changeset 3595bd343b65 2018-05-17 11:03:19 +00:00
Robbin Ehn
1dfeaa1980 8195098: Low latency hashtable for read-mostly scenarios
This implement a concurrent hashtable using chaining and the GlobalCounter for ABA problems.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson
2018-05-17 10:32:26 +02:00
Per Lidén
81494ca92d 8202978: Incorrect tmp register passed to MacroAssembler::load_mirror()
Reviewed-by: kvn, coleenp
2018-05-17 09:35:38 +02:00
Igor Ignatyev
01b0f9ea7d 8199384: [TESTBUG] Open source VM testbase MLVM tests
Reviewed-by: erikj, mseledtsov, vlivanov
2018-05-17 00:23:28 -07:00
Mikhailo Seledtsov
12a799b4e1 Merge 2018-05-16 16:43:57 -07:00
Mikhailo Seledtsov
8d586517f4 8199252: [TESTBUG] Open source VM testbase system dictionary tests
Opensourced the tests

Reviewed-by: iignatyev, gziemski
2018-05-16 16:43:11 -07:00
Igor Veresov
9bb5902092 8201447: C1 does backedge profiling incorrectly
Increment backedge counter only for backward arms of conditional branches.

Reviewed-by: never, kvn
2018-05-16 15:19:28 -07:00
Ioi Lam
5f578213c5 8189140: SystemDictionaryShared::initialize() should be renamed to be more meaningful
Removed this function, added JavaCalls::construct_new_instance and moved SharedDictionary_lock

Reviewed-by: jiangli, ccheung, dholmes, coleenp
2018-05-15 14:49:10 -07:00
Prasadrao Koppula
b3e5409c1d 8187218: GSSCredential.getRemainingLifetime() returns negative value for TTL > 24 days
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: mullan
2018-03-20 11:16:10 +05:30
Per Lidén
22c9d34be1 8205405: ZGC: Decouple JFR type registration
Reviewed-by: stefank, mgronlun
2018-06-25 10:54:55 +02:00
Michihiro Horie
4641ea7bed 8204524: Unnecessary memory barriers in G1ParScanThreadState::copy_to_survivor_space
Reviewed-by: kbarrett, mdoerr, drwhite, tschatzl
2018-06-25 10:41:03 +02:00
Rachna Goel
84eec7f854 8205158: Update the .md files for 3rd party software Unicode 10.0, ICU 60.2, and CLDR v33
Updated legal files for CLDR, ICU and Unicode.

Reviewed-by: naoto, mchung
2018-06-25 11:51:04 +05:30
Tom Rodriguez
0173db08e9 8198909: [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
Reviewed-by: eosterlund, iveresov
2018-06-24 21:46:11 -07:00
Erik Gahlin
e6bcdd9eab 8203929: Limit amount of data for JFR.dump
Reviewed-by: mgronlun
2018-06-25 02:07:42 +02:00
Alan Bateman
24b5afda01 8205533: Class.getPackage() fails with InternalError if class is defined to the bootstrap class loader but module is not in the boot layer
Reviewed-by: mchung
2018-06-24 16:25:47 +01:00
Dmitry Samersoff
d705440d39 8203481: Incorrect constraint for unextended_sp in frame:safe_for_sender
Relaxed assert inside safe_for_sender

Reviewed-by: aph, dpochepk
2018-06-24 15:02:08 +03:00
Peter Levart
a9912bb300 8205540: test/hotspot/jtreg/vmTestbase/nsk/jdb/trace/trace001/trace001.java fails with Debuggee did not exit after 15 <cont> commands
Screen usage/initialization of TerminatingThreadLocal with a non-null check on Thread.threadLocals field

Reviewed-by: dholmes, alanb
2018-06-24 10:41:51 +02:00
Jeremy Manson
e9fc42d791 8205570: fix a number of typos in the JVMTI spec
Fix typos in the JVMTI spec

Reviewed-by: dholmes, sspitsyn
2018-06-23 22:49:48 -07:00
Alan Bateman
afd6c107a5 Merge 2018-06-23 09:46:18 +01:00
Alan Bateman
cf9438f418 8198372: API to create a SelectableChannel to a FileDescriptor
Reviewed-by: chegar, bpb
2018-06-23 09:34:09 +01:00
Jeremy Manson
c1cfcdcd25 8205113: Update JVMTI doc references to object allocation tracking
Update the JVMTI VMObjectAlloc spec

Reviewed-by: dholmes, sspitsyn
2018-06-23 01:22:52 -07:00
Alan Bateman
7523687071 8197532: Re-examine policy for the default set of modules when compiling or running code on the class path
Reviewed-by: jlahoda, mchung
2018-06-23 08:03:52 +01:00
Arthur Eubanks
6e0bd36f42 8205199: more Linux clang compile failures
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dholmes, kbarrett, stuefe
2018-06-22 17:49:21 -07:00
Martin Buchholz
161dc40015 8205197: Never default to using libc++ on Linux
Let the toolchain choose the standard library by default

Reviewed-by: tbell, erikj, gziemski
2018-06-22 17:36:03 -07:00
Valerie Peng
b9bea93101 Merge 2018-06-22 23:18:07 +00:00
Igor Ignatyev
6eeaab54a4 8155192: [TESTBUG] SHA tests assumes that x86 does not have SHA intrinsics
Reviewed-by: kvn, gromero
2018-06-22 16:11:36 -07:00
Tobias Wagner
5d58391226 7007966: Add Brainpool ECC support (RFC 5639)
Enhance SunEC provider with the support of brainpool256/320/384/512r1 curves

Reviewed-by: valeriep
2018-06-22 23:10:36 +00:00
Igor Veresov
90c4e07b60 8204209: [Graal] Compilation fails during nmethod printing with "assert(bci == 0 || 0 <= bci && bci < code_size()) failed: illegal bci"
Tolerate JVMCI placeholder bcis

Reviewed-by: kvn, never, dlong
2018-06-22 15:58:32 -07:00
Kim Barrett
b84c23399e 8205459: Rename Access API flag decorators
Rename OOP_NOT_NULL, IN_HEAP_ARRAY, AS_DEST_NOT_INITIALIZED

Reviewed-by: pliden, stefank
2018-06-22 17:46:58 -04:00
Roger Riggs
49396d51e9 8202292: java/io/FileOutputStream/UnreferencedFOSClosesFd.java fails with "raw fd count wrong"
Reviewed-by: bpb, mchung
2018-06-22 16:06:43 -04:00
Vivek Deshpande
a8a82bb0ba 8205194: Improve the Array Comparison when there is mismatch at first element
Perform the first element comparison before the call to vectorizedMismatch method

Reviewed-by: psandoz, rriggs, igerasim
2018-06-22 12:51:49 -07:00
Paul Sandoz
54e53458c6 8202922: Method reference identity is broken by serialization
Reviewed-by: jlaskey, mchung
2018-06-22 12:05:36 -07:00
Jesper Wilhelmsson
c0191347e0 Added tag jdk-11+19 for changeset 36ca515343e0 2018-06-22 19:04:16 +02:00
Dmitrij Pochepko
0d65441316 8189112: AARCH64: optimize StringUTF16 compress intrinsic
Reviewed-by: aph
2018-06-22 20:17:02 +03:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Peter Levart
7d4135b630 Merge 2018-06-22 18:19:26 +02:00
Peter Levart
169fb73c0c Merge 2018-06-22 18:18:05 +02:00
Daniel D. Daugherty
693afecf22 8205195: NestedThreadsListHandleInErrorHandlingTest fails because hs_err doesn't contain _nested_thread_list_max
Grab Threads_lock in VMError::controlled_crash() so ErrorHandling tests are more stable.

Reviewed-by: stuefe, sspitsyn
2018-06-22 12:15:16 -04:00
Peter Levart
6ec2cfcc49 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
Add internal TerminatingThreadLocal and use it to free cached thread-local direct buffers and nio-fs native buffers

Reviewed-by: tonyp, alanb
2018-06-22 17:56:55 +02:00
Dmitrij Pochepko
6d34e5c999 8205474: AARCH64: wrong zr encoding for ccmp instruction
Reviewed-by: aph
2018-06-22 18:49:45 +03:00
Joshua Zhu
e41ac0b971 8205004: AArch64: fix failures in jtreg ArraysEqCmpTest
Reviewed-by: aph
2018-06-22 18:48:36 +03:00
Weijun Wang
578576f523 8205445: Add RSASSA-PSS Signature support to SunMSCAPI
Reviewed-by: xuelei
2018-06-22 21:42:00 +08:00
Markus Grönlund
5f55147841 8203299: StringPoolBuffer access covered by exclusive access invariant, remove (problematic) cas operations
Reviewed-by: egahlin
2018-06-22 13:20:55 +02:00
Andrew Dinn
3ada65c7c2 8204331: AArch64: fix CAS not embedded in normal graph error
JDK fails with assert on AArch64 after changes made by JDK-8202377

Reviewed-by: roland, rkennke
2018-06-22 11:21:34 +01:00
Jan Lahoda
51c3a9d4d1 8195077: [Testbug] tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java - AccessDeniedException
Use a new working directory for each sub-test.

Reviewed-by: vromero
2018-06-22 11:26:55 +02:00
Matthias Baesken
b0c5afb037 8205416: windows: fix checking of CloseHandle return code in Java_java_io_FileCleanable_cleanupClose0
Reviewed-by: alanb, stuefe
2018-06-20 14:25:45 +02:00
Priya Lakshmi Muthuswamy
47b058cfad 8205160: jQuery UI, jQuery-migrate, and jQuery license file to be updated to the revision present
Reviewed-by: jjg
2018-06-22 11:49:31 +05:30
Igor Ignatyev
41120acf74 8172854: [TESTBUG] Exclude runtime/ReservedStack/ReservedStackTest.java from being run with DeoptimizeALot option
Reviewed-by: kvn
2018-06-21 22:17:22 -07:00
Mikael Vidstedt
1f437b30f3 8202331: Obsolete support for commercial features
Reviewed-by: kvn, cjplummer, dholmes
2018-06-21 21:37:28 -07:00
Igor Ignatyev
c1c2c677cf 8205490: update ProblemList-graal
Reviewed-by: kvn, epavlova
2018-06-21 16:45:29 -07:00
Igor Ignatyev
0c8ab995b9 8185927: create regression test for 8062950
Reviewed-by: kvn
2018-06-21 15:14:36 -07:00
Jonathan Gibbons
820a5618c4 8205442: Avoid hard-coding --source value in SourceLauncherTest.java
Reviewed-by: darcy
2018-06-21 14:33:15 -07:00
Jonathan Gibbons
f0b244a4ac 8196425: tools/javac/modules/AnnotationProcessing.java failed
Reviewed-by: jlahoda
2018-06-21 13:29:44 -07:00
Erik Gahlin
76d0843d18 8205053: Decouple type registration from framework lifecycle
Reviewed-by: mgronlun, pliden, stefank
2018-06-21 20:52:52 +02:00
Erik Joelsson
9773083b55 8205424: Change to Xcode 9.4 for building on Macosx at Oracle
Reviewed-by: tbell, prr
2018-06-21 12:03:54 -07:00
Michael Skells
df509b1b16 8199124: (fs) Reduce allocation for file system methods that are invoked with no open options
Reviewed-by: alanb
2018-06-21 11:10:55 -07:00
Alan Bateman
91d9f3fbe0 8194937: Inconsistent behavior of --validate-modules when combined with -m and other options
Reviewed-by: mchung
2018-06-21 18:56:35 +01:00
Regev Shemy
a6ac56a69e 8205398: AES-CBC decryption algorithm using AVX512 instructions
Co-authored-by: Shay Gueron <shay.gueron@intel.com>
Co-authored-by: Smita Kamath <smita.kamath@intel.com>
Co-authored-by: Shravya Rukmannagari <shravya.rukmannagari@intel.com>
Reviewed-by: kvn
2018-06-21 10:54:07 -07:00
Severin Gehwolf
1a1303e1a6 8203188: Add JEP-181 support to the Zero interpreter
Reviewed-by: dholmes, chrisphi
2018-06-05 11:55:39 +02:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Xueming Shen
087ea6befb 8199547: Exception to Pattern Syntax
Reviewed-by: rriggs
2018-03-15 16:04:30 -07:00
Ivan Gerasimov
3a7104760a 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
Sergey Bylokhov
d68506157a 8191239: Improve desktop file usage
Reviewed-by: prr, rhalade, aghaisas
2018-01-31 18:13:13 -08:00
Vyom Tewari
d5e9b33541 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
Ekaterina Pavlova
addc5a823f 8207761: Split compiler/graalunit/JttReflectFTest.java
Reviewed-by: kvn
2018-07-18 14:44:04 -07:00
Gustavo Romero
d3201f3e40 8205578: jtreg: Fix failing TestRTMAbortRatio on PPC64
Reviewed-by: iignatyev, kvn
2018-06-24 17:11:17 -04:00
Gustavo Romero
8d3616ba4e 8205390: jtreg: Fix failing TestRTMSpinLoopCount on PPC64
Reviewed-by: kvn, iignatyev
2018-06-23 18:02:46 -04:00
Gustavo Romero
862bb272ae 8205582: PPC64: RTM: Fix counter for aborts on nested transactions
Reviewed-by: mdoerr, goetz
2018-07-06 16:25:07 -04:00
Gustavo Romero
32ec4d3882 8205581: PPC64: RTM: Fix abort on native calls
Reviewed-by: mdoerr, goetz
2018-06-26 08:33:17 -04:00
Gustavo Romero
f4a279935b 8205580: PPC64: RTM: Don't retry lock on abort if abort was intentional
Reviewed-by: mdoerr, goetz
2018-06-24 21:48:42 -04:00
Ekaterina Pavlova
5df013d4e6 8207380: compiler/graalunit/JttLangMTest.java timeout
Reviewed-by: kvn
2018-07-18 13:24:25 -07:00
Aleksey Shipilev
ea6cea5d51 8206931: Misleading "COMPILE SKIPPED: invalid non-klass dependency" compile log
Reviewed-by: vlivanov, never
2018-07-11 08:44:00 +02:00
Weijun Wang
bde972d645 8202837: PBES2 AlgorithmId encoding error in PKCS12 KeyStore
Reviewed-by: xuelei
2018-07-19 00:14:40 +08:00
Weijun Wang
a825fe0a2d 8207250: setUseClientMode post handshake with the same value as before does not throw IAE
Reviewed-by: xuelei
2018-07-19 00:14:29 +08:00
Jean Christophe Beyler
8818f46285 8207763: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java failed with Error. Parse Exception: Can't find source file: HeapMonitorStatIntervalTest.java
Rename the test.

Reviewed-by: amenkov, sspitsyn
2018-07-18 11:57:51 -04:00
Martin Doerr
d5a05363ef 8207342: error occurred during error reporting (printing register info)
Os::print_location misses a check if the pointer is readable.

Reviewed-by: goetz, coleenp
2018-07-18 11:27:14 +02:00
Jean Christophe Beyler
3380b0d0ef 8205725: Update the JVMTI Spec for Heap Sampling
Update the JVMTI Spec for Heap Sampling

Reviewed-by: amenkov, sspitsyn
2018-07-17 19:59:38 -07:00
Jean Christophe Beyler
4e92c2dfdc 8205652: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java fails
Fix the StatRateTest test from the HeapMonitor package

Reviewed-by: amenkov, sspitsyn
2018-07-17 17:52:03 -07:00
Jean Christophe Beyler
6f9cb3f9ca 8205541: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java fails with Should not have any events stored yet
Fix StatArray and StatObject tests from the HeapMonitor package

Reviewed-by: amenkov, sspitsyn
2018-07-17 15:09:27 -07:00
Daniil Titov
a1dda2a3fa 8207261: [Graal] JDI and JDWP tests that consume all memory should be filtered out to not run with Graal
Reviewed-by: sspitsyn, cjplummer
2018-07-17 11:20:16 -07:00
Adam Petcher
108461949f 8206929: Check session context for TLS 1.3 session resumption
Additional checks to prevent TLS 1.3 sessions from being resumed when they shouldn't

Reviewed-by: xuelei
2018-07-17 13:04:40 -04:00
Aleksei Voitylov
2c82c9e1bd 8207240: AARCH64: C2-only VM does not build
Reviewed-by: shade
2018-07-17 19:25:45 +03:00
Andrew Haley
d326744b13 8207345: AArch64: Trampoline generation code reads from unitialized memory
Reviewed-by: shade
2018-07-17 15:28:17 +01:00
Weijun Wang
da18d08006 8207318: KeyStore#getInstance(File, LoadStoreParameter) does not load the keystore
Reviewed-by: mullan
2018-07-17 22:22:00 +08:00
Coleen Phillimore
6caaf8e2f2 Merge 2018-07-17 09:37:24 -04:00
Chris Hegarty
67149b99fd 8207265: Bad HTML in {@link} in HttpResponse.BodySubscribers.ofPublisher
Reviewed-by: michaelm
2018-07-17 12:22:41 +01:00
Priya Lakshmi Muthuswamy
c1f5adbe18 8207190: JDK 11 javadoc generates bad code example
Reviewed-by: sundar
2018-07-17 16:49:55 +05:30
Dean Long
5f29406d2c 8181855: [Graal] runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
Reviewed-by: kvn
2018-07-16 15:09:19 -07:00
Brian Burkhalter
cbefa6b920 8206448: (fs) Extended attributes assumed to be enabled on ext3 (lnx)
Assume extended attributes are only explicitly enable on ext3

Reviewed-by: mbaesken, alanb
2018-07-16 10:58:28 -07:00
Lutz Schmidt
96cf046edc 8206271: CodeHeap State Analytics must digest new method state
Reviewed-by: kvn, mdoerr, thartmann
2018-07-16 16:57:37 +02:00
Jan Lahoda
5333f197be 8207032: Compilation succeeds without checking readability when --add-exports used
Ensuring --add-exports are only propagated when the target module reads the exporting module.

Reviewed-by: vromero, jjg
2018-07-16 16:31:33 +02:00
Jan Lahoda
d103b59ac3 8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
Caching the results of Elements.getTypeElement/getPackageElement

Reviewed-by: darcy
2018-07-16 12:58:49 +02:00
Boris Ulasevich
8636e943f2 8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
Limit flag range to don't overflow 12bit instruction operand

Reviewed-by: aph, dsamersoff
2018-07-15 20:15:17 +03:00
Goetz Lindenmaier
fc20a5d86b 8207233: Minor improvements of jdk C-coding
Reviewed-by: rriggs, prr
2018-07-13 17:42:24 +02:00
Coleen Phillimore
8b883bd145 8206471: Race with ConcurrentHashTable deleting items on insert with cleanup thread
Only fetch Node::next once and use that result.

Reviewed-by: hseigel, dholmes
2018-07-10 11:13:33 -04:00
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
15565 changed files with 1363866 additions and 288174 deletions

View File

@@ -13,3 +13,4 @@ test/nashorn/lib
NashornProfile.txt
.*/JTreport/.*
.*/JTwork/.*
.*/.git/.*

15
.hgtags
View File

@@ -484,3 +484,18 @@ f7363de371c9a1f668bd0a01b7df3d1ddb9cc58b jdk-11+7
69d7398038c54774d9395b6810e0cca335edc02c jdk-11+10
e1e60f75cd39312a7f59d2a4f91d624e5aecc95e jdk-11+11
3ab6ba9f94a9045a526d645af26c933235371d6f jdk-11+12
758deedaae8406ae60147486107a54e9864aa7b0 jdk-11+13
3595bd343b65f8c37818ebe6a4c343ddeb1a5f88 jdk-11+14
a11c1cb542bbd1671d25b85efe7d09b983c48525 jdk-11+15
02934b0d661b82b7fe1052a04998d2091352e08d jdk-11+16
64e4b1686141e57a681936a8283983341484676e jdk-11+17
e1b3def126240d5433902f3cb0e91a4c27f6db50 jdk-11+18
36ca515343e00b021dcfc902e986d26ec994a2e5 jdk-11+19
95aad0c785e497f1bade3955c4e4a677b629fa9d jdk-12+0
9816d7cc655e53ba081f938b656e31971b8f097a jdk-11+20
14708e1acdc3974f4539027cbbcfa6d69f83cf51 jdk-11+21
00b16d0457e43d23f6ca5ade6b243edce62750a0 jdk-12+1
9937ef7499dcd7673714517fd5e450410c14ba4e jdk-11+22
1edcf36fe15f79d6228d1a63eb680878e2386480 jdk-11+23
69b438908512d3dfef5852c6a843a5778333a309 jdk-12+2
990db216e7199b2ba9989d8fa20b657e0ca7d969 jdk-12+3

10
README
View File

@@ -1,10 +1,12 @@
Welcome to OpenJDK!
Welcome to the JDK!
===================
For information about building OpenJDK, including how to fully retrieve all
source code, please see either of these:
For information about building the JDK, including how to retrieve all
of the source code, please see either of these files:
* doc/building.html (html version)
* doc/building.md (markdown version)
See http://openjdk.java.net/ for more information about OpenJDK.
See http://openjdk.java.net/ for more information about the OpenJDK
Community and the JDK.

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2010, 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
@@ -75,7 +75,6 @@ fi
#
# see above - already in place, copy the flags down here to disable
ENABLE_FLIGHT_RECORDER_FLAGS="\
-XX:+UnlockCommercialFeatures \
-XX:+FlightRecorder \
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$JFR_FILENAME,stackdepth=1024"

View File

@@ -1,11 +1,16 @@
<!DOCTYPE html>
<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>Building OpenJDK</title>
<style type="text/css">code{white-space: pre;}</style>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Building 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>
@@ -14,7 +19,7 @@
</head>
<body>
<header>
<h1 class="title">Building OpenJDK</h1>
<h1 class="title">Building the JDK</h1>
</header>
<nav id="TOC">
<ul>
@@ -106,11 +111,11 @@
<li><a href="#autoconf-details">Autoconf Details</a></li>
<li><a href="#developing-the-build-system-itself">Developing the Build System Itself</a></li>
</ul></li>
<li><a href="#contributing-to-openjdk">Contributing to OpenJDK</a></li>
<li><a href="#contributing-to-the-jdk">Contributing to the JDK</a></li>
</ul>
</nav>
<h2 id="tldr-instructions-for-the-impatient">TL;DR (Instructions for the Impatient)</h2>
<p>If you are eager to try out building OpenJDK, these simple steps works most of the time. They assume that you have installed Mercurial (and Cygwin if running on Windows) and cloned the top-level OpenJDK repository that you want to build.</p>
<p>If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Mercurial (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.</p>
<ol type="1">
<li><p><a href="#getting-the-source-code">Get the complete source code</a>:<br />
<code>hg clone http://hg.openjdk.java.net/jdk/jdk</code></p></li>
@@ -126,11 +131,11 @@
</ol>
<p>If any of these steps failed, or if you want to know more about build requirements or build functionality, please continue reading this document.</p>
<h2 id="introduction">Introduction</h2>
<p>OpenJDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.</p>
<p>If you just want to use OpenJDK and not build it yourself, this document is not for you. See for instance <a href="http://openjdk.java.net/install">OpenJDK installation</a> for some methods of installing a prebuilt OpenJDK.</p>
<p>The JDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.</p>
<p>If you just want to use the JDK and not build it yourself, this document is not for you. See for instance <a href="http://openjdk.java.net/install">OpenJDK installation</a> for some methods of installing a prebuilt JDK.</p>
<h2 id="getting-the-source-code">Getting the Source Code</h2>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="http://hg.openjdk.java.net/">OpenJDK Mercurial server</a> you can see a list of all available forests. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>If you are new to Mercurial, a good place to start is the <a href="http://www.mercurial-scm.org/guide">Mercurial Beginner's Guide</a>. The rest of this document assumes a working knowledge of Mercurial.</p>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="http://hg.openjdk.java.net/">OpenJDK Mercurial server</a> you can see a list of all available forests. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>If you are new to Mercurial, a good place to start is the <a href="http://www.mercurial-scm.org/guide">Mercurial Beginners Guide</a>. The rest of this document assumes a working knowledge of Mercurial.</p>
<h3 id="special-considerations">Special Considerations</h3>
<p>For a smooth building experience, it is recommended that you follow these rules on where and how to check out the source code.</p>
<ul>
@@ -139,14 +144,14 @@
<li><p>Put the source code on a local disk, not a network share. If possible, use an SSD. The build process is very disk intensive, and having slow disk access will significantly increase build times. If you need to use a network share for the source code, see below for suggestions on how to keep the build artifacts on a local disk.</p></li>
<li><p>On Windows, extra care must be taken to make sure the <a href="#cygwin">Cygwin</a> environment is consistent. It is recommended that you follow this procedure:</p>
<ul>
<li><p>Create the directory that is going to contain the top directory of the OpenJDK clone by using the <code>mkdir</code> command in the Cygwin bash shell. That is, do <em>not</em> create it using Windows Explorer. This will ensure that it will have proper Cygwin attributes, and that it's children will inherit those attributes.</p></li>
<li><p>Do not put the OpenJDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.</p></li>
<li><p>Clone the OpenJDK repository using the Cygwin command line <code>hg</code> client as instructed in this document. That is, do <em>not</em> use another Mercurial client such as TortoiseHg.</p></li>
<li><p>Create the directory that is going to contain the top directory of the JDK clone by using the <code>mkdir</code> command in the Cygwin bash shell. That is, do <em>not</em> create it using Windows Explorer. This will ensure that it will have proper Cygwin attributes, and that its children will inherit those attributes.</p></li>
<li><p>Do not put the JDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.</p></li>
<li><p>Clone the JDK repository using the Cygwin command line <code>hg</code> client as instructed in this document. That is, do <em>not</em> use another Mercurial client such as TortoiseHg.</p></li>
</ul>
<p>Failure to follow this procedure might result in hard-to-debug build problems.</p></li>
</ul>
<h2 id="build-hardware-requirements">Build Hardware Requirements</h2>
<p>OpenJDK is a massive project, and require machines ranging from decent to powerful to be able to build in a reasonable amount of time, or to be able to complete a build at all.</p>
<p>The JDK is a massive project, and require machines ranging from decent to powerful to be able to build in a reasonable amount of time, or to be able to complete a build at all.</p>
<p>We <em>strongly</em> recommend usage of an SSD disk for the build, since disk speed is one of the limiting factors for build performance.</p>
<h3 id="building-on-x86">Building on x86</h3>
<p>At a minimum, a machine with 2-4 cores is advisable, as well as 2-4 GB of RAM. (The more cores to use, the more memory you need.) At least 6 GB of free disk space is required (8 GB minimum for building on Solaris).</p>
@@ -156,9 +161,9 @@
<h3 id="building-on-armaarch64">Building on arm/aarch64</h3>
<p>This is not recommended. Instead, see the section on <a href="#cross-compiling">Cross-compiling</a>.</p>
<h2 id="operating-system-requirements">Operating System Requirements</h2>
<p>The mainline OpenJDK project supports Linux, Solaris, macOS, AIX and Windows. Support for other operating system, e.g. BSD, exists in separate &quot;port&quot; projects.</p>
<p>In general, OpenJDK can be built on a wide range of versions of these operating systems, but the further you deviate from what is tested on a daily basis, the more likely you are to run into problems.</p>
<p>This table lists the OS versions used by Oracle when building JDK 9. Such information is always subject to change, but this table is up to date at the time of writing.</p>
<p>The mainline JDK project supports Linux, Solaris, macOS, AIX and Windows. Support for other operating system, e.g. BSD, exists in separate “port” projects.</p>
<p>In general, the JDK can be built on a wide range of versions of these operating systems, but the further you deviate from what is tested on a daily basis, the more likely you are to run into problems.</p>
<p>This table lists the OS versions used by Oracle when building the JDK. Such information is always subject to change, but this table is up to date at the time of writing.</p>
<table>
<thead>
<tr class="header">
@@ -185,17 +190,17 @@
</tr>
</tbody>
</table>
<p>The double version numbers for Linux, Solaris and macOS is due to the hybrid model used at Oracle, where header files and external libraries from an older version is used when building on a more modern version of the OS.</p>
<p>The Build Group has a wiki page with <a href="https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms">Supported Build Platforms</a>. From time to time, this is updated by the community to list successes or failures of building on different platforms.</p>
<p>The double version numbers for Linux, Solaris and macOS is due to the hybrid model used at Oracle, where header files and external libraries from an older version are used when building on a more modern version of the OS.</p>
<p>The Build Group has a wiki page with <a href="https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms">Supported Build Platforms</a>. From time to time, this is updated by contributors to list successes or failures of building on different platforms.</p>
<h3 id="windows">Windows</h3>
<p>Windows XP is not a supported platform, but all newer Windows should be able to build OpenJDK.</p>
<p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
<p>Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. For OpenJDK 9, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require a community effort to implement.)</p>
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require effort to implement.)</p>
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building OpenJDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
<p><strong>Note:</strong> Cygwin has a model of continuously updating all packages without any easy way to install or revert to a specific version of a package. This means that whenever you add or update a package in Cygwin, you might (inadvertently) update tools that are used by the OpenJDK build process, and that can cause unexpected build problems.</p>
<p>OpenJDK requires GNU Make 4.0 or greater on Windows. This is usually not a problem, since Cygwin currently only distributes GNU Make at a version above 4.0.</p>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
<p><strong>Note:</strong> Cygwin has a model of continuously updating all packages without any easy way to install or revert to a specific version of a package. This means that whenever you add or update a package in Cygwin, you might (inadvertently) update tools that are used by the JDK build process, and that can cause unexpected build problems.</p>
<p>The JDK requires GNU Make 4.0 or greater on Windows. This is usually not a problem, since Cygwin currently only distributes GNU Make at a version above 4.0.</p>
<p>Apart from the basic Cygwin installation, the following packages must also be installed:</p>
<ul>
<li><code>autoconf</code></li>
@@ -205,16 +210,16 @@
</ul>
<p>Often, you can install these packages using the following command line:</p>
<pre><code>&lt;path to Cygwin setup&gt;/setup-x86_64 -q -P autoconf -P make -P unzip -P zip</code></pre>
<p>Unfortunately, Cygwin can be unreliable in certain circumstances. If you experience build tool crashes or strange issues when building on Windows, please check the Cygwin FAQ on the <a href="https://cygwin.com/faq/faq.html#faq.using.bloda">&quot;BLODA&quot; list</a> and the section on <a href="https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures">fork() failures</a>.</p>
<p>Unfortunately, Cygwin can be unreliable in certain circumstances. If you experience build tool crashes or strange issues when building on Windows, please check the Cygwin FAQ on the <a href="https://cygwin.com/faq/faq.html#faq.using.bloda">“BLODA” list</a> and the section on <a href="https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures">fork() failures</a>.</p>
<h3 id="solaris">Solaris</h3>
<p>See <code>make/devkit/solaris11.1-package-list.txt</code> for a list of recommended packages to install when building on Solaris. The versions specified in this list is the versions used by the daily builds at Oracle, and is likely to work properly.</p>
<p>Older versions of Solaris shipped a broken version of <code>objcopy</code>. At least version 2.21.1 is needed, which is provided by Solaris 11 Update 1. Objcopy is needed if you want to have external debug symbols. Please make sure you are using at least version 2.21.1 of objcopy, or that you disable external debug symbols.</p>
<h3 id="macos">macOS</h3>
<p>Apple is using a quite aggressive scheme of pushing OS updates, and coupling these updates with required updates of Xcode. Unfortunately, this makes it difficult for a project like OpenJDK to keep pace with a continuously updated machine running macOS. See the section on <a href="#apple-xcode">Apple Xcode</a> on some strategies to deal with this.</p>
<p>It is recommended that you use at least Mac OS X 10.9 (Mavericks). At the time of writing, OpenJDK has been successfully compiled on macOS versions up to 10.12.5 (Sierra), using XCode 8.3.2 and <code>--disable-warnings-as-errors</code>.</p>
<p>The standard macOS environment contains the basic tooling needed to build, but for external libraries a package manager is recommended. OpenJDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but feel free to use whatever manager you want (or none).</p>
<p>Apple is using a quite aggressive scheme of pushing OS updates, and coupling these updates with required updates of Xcode. Unfortunately, this makes it difficult for a project such as the JDK to keep pace with a continuously updated machine running macOS. See the section on <a href="#apple-xcode">Apple Xcode</a> on some strategies to deal with this.</p>
<p>It is recommended that you use at least Mac OS X 10.9 (Mavericks). At the time of writing, the JDK has been successfully compiled on macOS versions up to 10.12.5 (Sierra), using XCode 8.3.2 and <code>--disable-warnings-as-errors</code>.</p>
<p>The standard macOS environment contains the basic tooling needed to build, but for external libraries a package manager is recommended. The JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but feel free to use whatever manager you want (or none).</p>
<h3 id="linux">Linux</h3>
<p>It is often not much problem to build OpenJDK on Linux. The only general advice is to try to use the compilers, external libraries and header files as provided by your distribution.</p>
<p>It is often not much problem to build the JDK on Linux. The only general advice is to try to use the compilers, external libraries and header files as provided by your distribution.</p>
<p>The basic tooling is provided as part of the core operating system, but you will most likely need to install developer packages.</p>
<p>For apt-based distributions (Debian, Ubuntu, etc), try this:</p>
<pre><code>sudo apt-get install build-essential</code></pre>
@@ -223,7 +228,7 @@
<h3 id="aix">AIX</h3>
<p>The regular builds by SAP is using AIX version 7.1, but AIX 5.3 is also supported. See the <a href="http://cr.openjdk.java.net/~simonis/ppc-aix-port">OpenJDK PowerPC Port Status Page</a> for details.</p>
<h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requirements</h2>
<p>Large portions of OpenJDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating system should be independent factors, but in practice there's more or less a one-to-one correlation between target operating system and toolchain.</p>
<p>Large portions of the JDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating system should be independent factors, but in practice theres more or less a one-to-one correlation between target operating system and toolchain.</p>
<table>
<thead>
<tr class="header">
@@ -254,7 +259,7 @@
</tr>
</tbody>
</table>
<p>Please see the individual sections on the toolchains for version recommendations. As a reference, these versions of the toolchains are used, at the time of writing, by Oracle for the daily builds of OpenJDK. It should be possible to compile OpenJDK with both older and newer versions, but the closer you stay to this list, the more likely you are to compile successfully without issues.</p>
<p>Please see the individual sections on the toolchains for version recommendations. As a reference, these versions of the toolchains are used, at the time of writing, by Oracle for the daily builds of the JDK. It should be possible to compile the JDK with both older and newer versions, but the closer you stay to this list, the more likely you are to compile successfully without issues.</p>
<table>
<thead>
<tr class="header">
@@ -265,7 +270,7 @@
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc 4.9.2</td>
<td style="text-align: left;">gcc 7.3.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
@@ -282,18 +287,18 @@
</tbody>
</table>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 4.7. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should be considered experimental.</p>
<p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 7.4 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.2. Older versions will not be accepted by <code>configure</code>.</p>
<p>To use clang instead of gcc on Linux, use <code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 5.</p>
<p>You will need the Xcode command lines developers tools to be able to build OpenJDK. (Actually, <em>only</em> the command lines tools are needed, not the IDE.) The simplest way to install these is to run:</p>
<p>You will need the Xcode command lines developers tools to be able to build the JDK. (Actually, <em>only</em> the command lines tools are needed, not the IDE.) The simplest way to install these is to run:</p>
<pre><code>xcode-select --install</code></pre>
<p>It is advisable to keep an older version of Xcode for building OpenJDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode5.app/Contents/Developer/usr/bin</code></p>
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and OpenJDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
<p>It is advisable to keep an older version of Xcode for building the JDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode5.app/Contents/Developer/usr/bin</code></p>
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and the JDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
<h3 id="oracle-solaris-studio">Oracle Solaris Studio</h3>
<p>The minimum accepted version of the Solaris Studio compilers is 5.13 (corresponding to Solaris Studio 12.4). Older versions will not be accepted by configure.</p>
<p>The Solaris Studio installation should contain at least these packages:</p>
@@ -360,19 +365,19 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>The regular builds by SAP is using version 12.1, described as <code>IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72) Version: 12.01.0000.0017</code>.</p>
<p>See the <a href="http://cr.openjdk.java.net/~simonis/ppc-aix-port">OpenJDK PowerPC Port Status Page</a> for details.</p>
<h2 id="boot-jdk-requirements">Boot JDK Requirements</h2>
<p>Paradoxically, building OpenJDK requires a pre-existing JDK. This is called the &quot;boot JDK&quot;. The boot JDK does not have to be OpenJDK, though. If you are porting OpenJDK to a new platform, chances are that there already exists another JDK for that platform that is usable as boot JDK.</p>
<p>The rule of thumb is that the boot JDK for building JDK major version <em>N</em> should be a JDK of major version <em>N-1</em>, so for building JDK 9 a JDK 8 would be suitable as boot JDK. However, OpenJDK should be able to &quot;build itself&quot;, so an up-to-date build of the current OpenJDK source is an acceptable alternative. If you are following the <em>N-1</em> rule, make sure you've got the latest update version, since JDK 8 GA might not be able to build JDK 9 on all platforms.</p>
<p>Paradoxically, building the JDK requires a pre-existing JDK. This is called the “boot JDK”. The boot JDK does not, however, have to be a JDK built directly from the source code available in the OpenJDK Community. If you are porting the JDK to a new platform, chances are that there already exists another JDK for that platform that is usable as boot JDK.</p>
<p>The rule of thumb is that the boot JDK for building JDK major version <em>N</em> should be a JDK of major version <em>N-1</em>, so for building JDK 9 a JDK 8 would be suitable as boot JDK. However, the JDK should be able to build itself, so an up-to-date build of the current JDK source is an acceptable alternative. If you are following the <em>N-1</em> rule, make sure youve got the latest update version, since JDK 8 GA might not be able to build JDK 9 on all platforms.</p>
<p>Early in the release cycle, version <em>N-1</em> may not yet have been released. In that case, the preferred boot JDK will be version <em>N-2</em> until version <em>N-1</em> is available.</p>
<p>If the Boot JDK is not automatically detected, or the wrong JDK is picked, use <code>--with-boot-jdk</code> to point to the JDK to use.</p>
<p>If the boot JDK is not automatically detected, or the wrong JDK is picked, use <code>--with-boot-jdk</code> to point to the JDK to use.</p>
<h3 id="getting-jdk-binaries">Getting JDK binaries</h3>
<p>OpenJDK binaries for Linux, Windows and macOS can be downloaded from <a href="http://jdk.java.net">jdk.java.net</a>. An alternative is to download the <a href="http://www.oracle.com/technetwork/java/javase/downloads">Oracle JDK</a>. Another is the <a href="https://adoptopenjdk.net/">Adopt OpenJDK Project</a>, which publishes experimental prebuilt binaries for various platforms.</p>
<p>On Linux you can also get OpenJDK 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 OpenJDK &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>JDK binaries for Linux, Windows and macOS can be downloaded from <a href="http://jdk.java.net">jdk.java.net</a>. An alternative is to download the <a href="http://www.oracle.com/technetwork/java/javase/downloads">Oracle JDK</a>. Another is the <a href="https://adoptopenjdk.net/">Adopt OpenJDK Project</a>, which publishes experimental prebuilt binaries for various platforms.</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>
<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>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
<h3 id="freetype">FreeType</h3>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling OpenJDK's 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 JDKs own copy.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
@@ -411,7 +416,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>Use <code>--with-libffi=&lt;path&gt;</code> if <code>configure</code> does not properly locate your libffi files.</p>
<h2 id="build-tools-requirements">Build Tools Requirements</h2>
<h3 id="autoconf">Autoconf</h3>
<p>OpenJDK requires <a href="http://www.gnu.org/software/autoconf">Autoconf</a> on all platforms. At least version 2.69 is required.</p>
<p>The JDK requires <a href="http://www.gnu.org/software/autoconf">Autoconf</a> on all platforms. At least version 2.69 is required.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install autoconf</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install autoconf</code>.</li>
@@ -421,16 +426,16 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>If <code>configure</code> has problems locating your installation of autoconf, you can specify it using the <code>AUTOCONF</code> environment variable, like this:</p>
<pre><code>AUTOCONF=&lt;path to autoconf&gt; configure ...</code></pre>
<h3 id="gnu-make">GNU Make</h3>
<p>OpenJDK requires <a href="http://www.gnu.org/software/make">GNU Make</a>. No other flavors of make are supported.</p>
<p>The JDK requires <a href="http://www.gnu.org/software/make">GNU Make</a>. No other flavors of make are supported.</p>
<p>At least version 3.81 of GNU Make must be used. For distributions supporting GNU Make 4.0 or above, we strongly recommend it. GNU Make 4.0 contains useful functionality to handle parallel building (supported by <code>--with-output-sync</code>) and speed and stability improvements.</p>
<p>Note that <code>configure</code> locates and verifies a properly functioning version of <code>make</code> and stores the path to this <code>make</code> binary in the configuration. If you start a build using <code>make</code> on the command line, you will be using the version of make found first in your <code>PATH</code>, and not necessarily the one stored in the configuration. This initial make will be used as &quot;bootstrap make&quot;, and in a second stage, the make located by <code>configure</code> will be called. Normally, this will present no issues, but if you have a very old <code>make</code>, or a non-GNU Make <code>make</code> in your path, this might cause issues.</p>
<p>Note that <code>configure</code> locates and verifies a properly functioning version of <code>make</code> and stores the path to this <code>make</code> binary in the configuration. If you start a build using <code>make</code> on the command line, you will be using the version of make found first in your <code>PATH</code>, and not necessarily the one stored in the configuration. This initial make will be used as bootstrap make, and in a second stage, the make located by <code>configure</code> will be called. Normally, this will present no issues, but if you have a very old <code>make</code>, or a non-GNU Make <code>make</code> in your path, this might cause issues.</p>
<p>If you want to override the default make found by <code>configure</code>, use the <code>MAKE</code> configure variable, e.g. <code>configure MAKE=/opt/gnu/make</code>.</p>
<p>On Solaris, it is common to call the GNU version of make by using <code>gmake</code>.</p>
<h3 id="gnu-bash">GNU Bash</h3>
<p>OpenJDK requires <a href="http://www.gnu.org/software/bash">GNU Bash</a>. No other shells are supported.</p>
<p>The JDK requires <a href="http://www.gnu.org/software/bash">GNU Bash</a>. No other shells are supported.</p>
<p>At least version 3.2 of GNU Bash must be used.</p>
<h2 id="running-configure">Running Configure</h2>
<p>To build OpenJDK, 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 OpenJDK is built.</p>
<p>To build the JDK, you need a configuration, which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
<pre><code>bash configure [options]</code></pre>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
@@ -446,7 +451,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>Here follows some of the most common and important <code>configure</code> argument.</p>
<p>To get up-to-date information on <em>all</em> available <code>configure</code> argument, please run:</p>
<pre><code>bash configure --help</code></pre>
<p>(Note that this help text also include general autoconf options, like <code>--dvidir</code>, that is not relevant to OpenJDK. To list only OpenJDK specific features, use <code>bash configure --help=short</code> instead.)</p>
<p>(Note that this help text also include general autoconf options, like <code>--dvidir</code>, that is not relevant to the JDK. To list only JDK-specific features, use <code>bash configure --help=short</code> instead.)</p>
<h4 id="configure-arguments-for-tailoring-the-build">Configure Arguments for Tailoring the Build</h4>
<ul>
<li><code>--enable-debug</code> - Set the debug level to <code>fastdebug</code> (this is a shorthand for <code>--with-debug-level=fastdebug</code>)</li>
@@ -478,7 +483,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>--with-libffi=&lt;path&gt;</code> - Set the path to <a href="#libffi">libffi</a></li>
<li><code>--with-jtreg=&lt;path&gt;</code> - Set the path to JTReg. See <a href="#running-tests">Running Tests</a></li>
</ul>
<p>Certain third-party libraries used by OpenJDK (libjpeg, giflib, libpng, lcms and zlib) are included in the OpenJDK repository. The default behavior of the OpenJDK build is to use this version of these libraries, but they might be replaced by an external version. To do so, specify <code>system</code> as the <code>&lt;source&gt;</code> option in these arguments. (The default is <code>bundled</code>).</p>
<p>Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use this version of these libraries, but they might be replaced by an external version. To do so, specify <code>system</code> as the <code>&lt;source&gt;</code> option in these arguments. (The default is <code>bundled</code>).</p>
<ul>
<li><code>--with-libjpeg=&lt;source&gt;</code> - Use the specified source for libjpeg</li>
<li><code>--with-giflib=&lt;source&gt;</code> - Use the specified source for giflib</li>
@@ -492,20 +497,20 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
</ul>
<h3 id="configure-control-variables">Configure Control Variables</h3>
<p>It is possible to control certain aspects of <code>configure</code> by overriding the value of <code>configure</code> variables, either on the command line or in the environment.</p>
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken configuration. Unless you're well versed in the build system, this is hard to use properly. Therefore, <code>configure</code> will print a warning if this is detected.</p>
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken configuration. Unless youre well versed in the build system, this is hard to use properly. Therefore, <code>configure</code> will print a warning if this is detected.</p>
<p>However, there are a few <code>configure</code> variables, known as <em>control variables</em> that are supposed to be overriden on the command line. These are variables that describe the location of tools needed by the build, like <code>MAKE</code> or <code>GREP</code>. If any such variable is specified, <code>configure</code> will use that value instead of trying to autodetect the tool. For instance, <code>bash configure MAKE=/opt/gnumake4.0/bin/make</code>.</p>
<p>If a configure argument exists, use that instead, e.g. use <code>--with-jtreg</code> instead of setting <code>JTREGEXE</code>.</p>
<p>If a configure argument exists, use that instead, e.g. use <code>--with-jtreg</code> instead of setting <code>JTREGEXE</code>.</p>
<p>Also note that, despite what autoconf claims, setting <code>CFLAGS</code> will not accomplish anything. Instead use <code>--with-extra-cflags</code> (and similar for <code>cxxflags</code> and <code>ldflags</code>).</p>
<h2 id="running-make">Running Make</h2>
<p>When you have a proper configuration, all you need to do to build OpenJDK is to run <code>make</code>. (But see the warning at <a href="#gnu-make">GNU Make</a> about running the correct version of make.)</p>
<p>When running <code>make</code> without any arguments, the default target is used, which is the same as running <code>make default</code> or <code>make jdk</code>. This will build a minimal (or roughly minimal) set of compiled output (known as an &quot;exploded image&quot;) needed for a developer to actually execute the newly built JDK. The idea is that in an incremental development fashion, when doing a normal make, you should only spend time recompiling what's changed (making it purely incremental) and only do the work that's needed to actually run and test your code.</p>
<p>When you have a proper configuration, all you need to do to build the JDK is to run <code>make</code>. (But see the warning at <a href="#gnu-make">GNU Make</a> about running the correct version of make.)</p>
<p>When running <code>make</code> without any arguments, the default target is used, which is the same as running <code>make default</code> or <code>make jdk</code>. This will build a minimal (or roughly minimal) set of compiled output (known as an exploded image) needed for a developer to actually execute the newly built JDK. The idea is that in an incremental development fashion, when doing a normal make, you should only spend time recompiling whats changed (making it purely incremental) and only do the work thats needed to actually run and test your code.</p>
<p>The output of the exploded image resides in <code>$BUILD/jdk</code>. You can test the newly built JDK like this: <code>$BUILD/jdk/bin/java -version</code>.</p>
<h3 id="common-make-targets">Common Make Targets</h3>
<p>Apart from the default target, here are some common make targets:</p>
<ul>
<li><code>hotspot</code> - Build all of hotspot (but only hotspot)</li>
<li><code>hotspot-&lt;variant&gt;</code> - Build just the specified jvm variant</li>
<li><code>images</code> or <code>product-images</code> - Build the JRE and JDK images</li>
<li><code>images</code> or <code>product-images</code> - Build the JDK image</li>
<li><code>docs</code> or <code>docs-image</code> - Build the documentation image</li>
<li><code>test-image</code> - Build the test image</li>
<li><code>all</code> or <code>all-images</code> - Build all images (product, docs and test)</li>
@@ -529,8 +534,8 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
</ul>
<h3 id="make-control-variables">Make Control Variables</h3>
<p>It is possible to control <code>make</code> behavior by overriding the value of <code>make</code> variables, either on the command line or in the environment.</p>
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken build. Unless you're well versed in the build system, this is hard to use properly. Therefore, <code>make</code> will print a warning if this is detected.</p>
<p>However, there are a few <code>make</code> variables, known as <em>control variables</em> that are supposed to be overriden on the command line. These make up the &quot;make time&quot; configuration, as opposed to the &quot;configure time&quot; configuration.</p>
<p>Normally, this is <strong>not recommended</strong>. If used improperly, it can lead to a broken build. Unless youre well versed in the build system, this is hard to use properly. Therefore, <code>make</code> will print a warning if this is detected.</p>
<p>However, there are a few <code>make</code> variables, known as <em>control variables</em> that are supposed to be overriden on the command line. These make up the make time configuration, as opposed to the configure time configuration.</p>
<h4 id="general-make-control-variables">General Make Control Variables</h4>
<ul>
<li><code>JOBS</code> - Specify the number of jobs to build with. See <a href="#build-performance">Build Performance</a>.</li>
@@ -538,7 +543,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>CONF</code> and <code>CONF_NAME</code> - Selecting the configuration(s) to use. See <a href="#using-multiple-configurations">Using Multiple Configurations</a></li>
</ul>
<h4 id="test-make-control-variables">Test Make Control Variables</h4>
<p>These make control variables only make sense when running tests. Please see <a href="testing.html">Testing OpenJDK</a> for details.</p>
<p>These make control variables only make sense when running tests. Please see <a href="testing.html">Testing the JDK</a> for details.</p>
<ul>
<li><code>TEST</code></li>
<li><code>TEST_JOBS</code></li>
@@ -554,22 +559,23 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>JDK_FILTER</code></li>
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the OpenJDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>To execute the most basic tests (tier 1), use:</p>
<pre><code>make run-test-tier1</code></pre>
<p>For more details on how to run tests, please see the <a href="testing.html">Testing OpenJDK</a> document.</p>
<p>For more details on how to run tests, please see the <a href="testing.html">Testing the JDK</a> document.</p>
<h2 id="cross-compiling">Cross-compiling</h2>
<p>Cross-compiling means using one platform (the <em>build</em> platform) to generate output that can ran on another platform (the <em>target</em> platform).</p>
<p>The typical reason for cross-compiling is that the build is performed on a more powerful desktop computer, but the resulting binaries will be able to run on a different, typically low-performing system. Most of the complications that arise when building for embedded is due to this separation of <em>build</em> and <em>target</em> systems.</p>
<p>This requires a more complex setup and build procedure. This section assumes you are familiar with cross-compiling in general, and will only deal with the particularities of cross-compiling OpenJDK. If you are new to cross-compiling, please see the <a href="https://en.wikipedia.org/wiki/Cross_compiler#External_links">external links at Wikipedia</a> for a good start on reading materials.</p>
<p>Cross-compiling OpenJDK requires you to be able to build both for the build platform and for the target platform. The reason for the former is that we need to build and execute tools during the build process, both native tools and Java tools.</p>
<p>If all you want to do is to compile a 32-bit version, for the same OS, on a 64-bit machine, consider using <code>--with-target-bits=32</code> instead of doing a full-blown cross-compilation. (While this surely is possible, it's a lot more work and will take much longer to build.)</p>
<p>This requires a more complex setup and build procedure. This section assumes you are familiar with cross-compiling in general, and will only deal with the particularities of cross-compiling the JDK. If you are new to cross-compiling, please see the <a href="https://en.wikipedia.org/wiki/Cross_compiler#External_links">external links at Wikipedia</a> for a good start on reading materials.</p>
<p>Cross-compiling the JDK requires you to be able to build both for the build platform and for the target platform. The reason for the former is that we need to build and execute tools during the build process, both native tools and Java tools.</p>
<p>If all you want to do is to compile a 32-bit version, for the same OS, on a 64-bit machine, consider using <code>--with-target-bits=32</code> instead of doing a full-blown cross-compilation. (While this surely is possible, its a lot more work and will take much longer to build.)</p>
<h3 id="boot-jdk-and-build-jdk">Boot JDK and Build JDK</h3>
<p>When cross-compiling, make sure you use a boot JDK that runs on the <em>build</em> system, and not on the <em>target</em> system.</p>
<p>To be able to build, we need a &quot;Build JDK&quot;, which is a JDK built from the current sources (that is, the same as the end result of the entire build process), but able to run on the <em>build</em> system, and not the <em>target</em> system. (In contrast, the Boot JDK should be from an older release, e.g. JDK 8 when building JDK 9.)</p>
<p>To be able to build, we need a Build JDK, which is a JDK built from the current sources (that is, the same as the end result of the entire build process), but able to run on the <em>build</em> system, and not the <em>target</em> system. (In contrast, the Boot JDK should be from an older release, e.g. JDK 8 when building JDK 9.)</p>
<p>The build process will create a minimal Build JDK for you, as part of building. To speed up the build, you can use <code>--with-build-jdk</code> to <code>configure</code> to point to a pre-built Build JDK. Please note that the build result is unpredictable, and can possibly break in subtle ways, if the Build JDK does not <strong>exactly</strong> match the current sources.</p>
<h3 id="specifying-the-target-platform">Specifying the Target Platform</h3>
<p>You <em>must</em> specify the target platform when cross-compiling. Doing so will also automatically turn the build into a cross-compiling mode. The simplest way to do this is to use the <code>--openjdk-target</code> argument, e.g. <code>--openjdk-target=arm-linux-gnueabihf</code>. or <code>--openjdk-target=aarch64-oe-linux</code>. This will automatically set the <code>--build</code>, <code>--host</code> and <code>--target</code> options for autoconf, which can otherwise be confusing. (In autoconf terminology, the &quot;target&quot; is known as &quot;host&quot;, and &quot;target&quot; is used for building a Canadian cross-compiler.)</p>
<p>You <em>must</em> specify the target platform when cross-compiling. Doing so will also automatically turn the build into a cross-compiling mode. The simplest way to do this is to use the <code>--openjdk-target</code> argument, e.g. <code>--openjdk-target=arm-linux-gnueabihf</code>. or <code>--openjdk-target=aarch64-oe-linux</code>. This will automatically set the <code>--build</code>, <code>--host</code> and <code>--target</code> options for autoconf, which can otherwise be confusing. (In autoconf terminology, the “target” is known as “host”, and “target” is used for building a Canadian cross-compiler.)</p>
<h3 id="toolchain-considerations">Toolchain Considerations</h3>
<p>You will need two copies of your toolchain, one which generates output that can run on the target system (the normal, or <em>target</em>, toolchain), and one that generates output that can run on the build system (the <em>build</em> toolchain). Note that cross-compiling is only supported for gcc at the time being. The gcc standard is to prefix cross-compiling toolchains with the target denominator. If you follow this standard, <code>configure</code> is likely to pick up the toolchain correctly.</p>
<p>The <em>build</em> toolchain will be autodetected just the same way the normal <em>build</em>/<em>target</em> toolchain will be autodetected when not cross-compiling. If this is not what you want, or if the autodetection fails, you can specify a devkit containing the <em>build</em> toolchain using <code>--with-build-devkit</code> to <code>configure</code>, or by giving <code>BUILD_CC</code> and <code>BUILD_CXX</code> arguments.</p>
@@ -581,21 +587,23 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
</ul>
<h3 id="native-libraries">Native Libraries</h3>
<p>You will need copies of external native libraries for the <em>target</em> system, present on the <em>build</em> machine while building.</p>
<p>Take care not to replace the <em>build</em> system's version of these libraries by mistake, since that can render the <em>build</em> machine unusable.</p>
<p>Take care not to replace the <em>build</em> systems version of these libraries by mistake, since that can render the <em>build</em> machine unusable.</p>
<p>Make sure that the libraries you point to (ALSA, X11, etc) are for the <em>target</em>, not the <em>build</em>, platform.</p>
<h4 id="alsa-1">ALSA</h4>
<p>You will need alsa libraries suitable for your <em>target</em> system. For most cases, using Debian's pre-built libraries work fine.</p>
<p>You will need alsa libraries suitable for your <em>target</em> system. For most cases, using Debians pre-built libraries work fine.</p>
<p>Note that alsa is needed even if you only want to build a headless JDK.</p>
<ul>
<li><p>Go to <a href="https://www.debian.org/distrib/packages">Debian Package Search</a> and search for the <code>libasound2</code> and <code>libasound2-dev</code> packages for your <em>target</em> system. Download them to /tmp.</p></li>
<li><p>Install the libraries into the cross-compilation toolchain. For instance:</p>
<li>Install the libraries into the cross-compilation toolchain. For instance:</li>
</ul>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre></li>
<li><p>If alsa is not properly detected by <code>configure</code>, you can point it out by <code>--with-alsa</code>.</p></li>
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre>
<ul>
<li>If alsa is not properly detected by <code>configure</code>, you can point it out by <code>--with-alsa</code>.</li>
</ul>
<h4 id="x11-1">X11</h4>
<p>You will need X11 libraries suitable for your <em>target</em> system. For most cases, using Debian's pre-built libraries work fine.</p>
<p>You will need X11 libraries suitable for your <em>target</em> system. For most cases, using Debians pre-built libraries work fine.</p>
<p>Note that X11 is needed even if you only want to build a headless JDK.</p>
<ul>
<li>Go to <a href="https://www.debian.org/distrib/packages">Debian Package Search</a>, search for the following packages for your <em>target</em> system, and download them to /tmp/target-x11:
@@ -634,35 +642,35 @@ cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</c
<li><p>If the X11 libraries are not properly detected by <code>configure</code>, you can point them out by <code>--with-x</code>.</p></li>
</ul>
<h3 id="building-for-armaarch64">Building for ARM/aarch64</h3>
<p>A common cross-compilation target is the ARM CPU. When building for ARM, it is useful to set the ABI profile. A number of pre-defined ABI profiles are available using <code>--with-abi-profile</code>: arm-vfp-sflt, arm-vfp-hflt, arm-sflt, armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer properly supported on OpenJDK.</p>
<p>OpenJDK contains two different ports for the aarch64 platform, one is the original aarch64 port from the <a href="http://openjdk.java.net/projects/aarch64-port">AArch64 Port Project</a> and one is a 64-bit version of the Oracle contributed ARM port. When targeting aarch64, by the default the original aarch64 port is used. To select the Oracle ARM 64 port, use <code>--with-cpu-port=arm64</code>. Also set the corresponding value (<code>aarch64</code> or <code>arm64</code>) to --with-abi-profile, to ensure a consistent build.</p>
<p>A common cross-compilation target is the ARM CPU. When building for ARM, it is useful to set the ABI profile. A number of pre-defined ABI profiles are available using <code>--with-abi-profile</code>: arm-vfp-sflt, arm-vfp-hflt, arm-sflt, armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer properly supported by the JDK.</p>
<p>The JDK contains two different ports for the aarch64 platform, one is the original aarch64 port from the <a href="http://openjdk.java.net/projects/aarch64-port">AArch64 Port Project</a> and one is a 64-bit version of the Oracle contributed ARM port. When targeting aarch64, by the default the original aarch64 port is used. To select the Oracle ARM 64 port, use <code>--with-cpu-port=arm64</code>. Also set the corresponding value (<code>aarch64</code> or <code>arm64</code>) to with-abi-profile, to ensure a consistent build.</p>
<h3 id="verifying-the-build">Verifying the Build</h3>
<p>The build will end up in a directory named like <code>build/linux-arm-normal-server-release</code>.</p>
<p>Inside this build output directory, the <code>images/jdk</code> and <code>images/jre</code> will contain the newly built JDK and JRE, respectively, for your <em>target</em> system.</p>
<p>Inside this build output directory, the <code>images/jdk</code> will contain the newly built JDK, for your <em>target</em> system.</p>
<p>Copy these folders to your <em>target</em> system. Then you can run e.g. <code>images/jdk/bin/java -version</code>.</p>
<h2 id="build-performance">Build Performance</h2>
<p>Building OpenJDK requires a lot of horsepower. Some of the build tools can be adjusted to utilize more or less of resources such as parallel threads and memory. The <code>configure</code> script analyzes your system and selects reasonable values for such options based on your hardware. If you encounter resource problems, such as out of memory conditions, you can modify the detected values with:</p>
<p>Building the JDK requires a lot of horsepower. Some of the build tools can be adjusted to utilize more or less of resources such as parallel threads and memory. The <code>configure</code> script analyzes your system and selects reasonable values for such options based on your hardware. If you encounter resource problems, such as out of memory conditions, you can modify the detected values with:</p>
<ul>
<li><p><code>--with-num-cores</code> -- number of cores in the build system, e.g. <code>--with-num-cores=8</code>.</p></li>
<li><p><code>--with-memory-size</code> -- memory (in MB) available in the build system, e.g. <code>--with-memory-size=1024</code></p></li>
<li><p><code>--with-num-cores</code> number of cores in the build system, e.g. <code>--with-num-cores=8</code>.</p></li>
<li><p><code>--with-memory-size</code> memory (in MB) available in the build system, e.g. <code>--with-memory-size=1024</code></p></li>
</ul>
<p>You can also specify directly the number of build jobs to use with <code>--with-jobs=N</code> to <code>configure</code>, or <code>JOBS=N</code> to <code>make</code>. Do not use the <code>-j</code> flag to <code>make</code>. In most cases it will be ignored by the makefiles, but it can cause problems for some make targets.</p>
<p>It might also be necessary to specify the JVM arguments passed to the Boot JDK, using e.g. <code>--with-boot-jdk-jvmargs=&quot;-Xmx8G&quot;</code>. Doing so will override the default JVM arguments passed to the Boot JDK.</p>
<p>At the end of a successful execution of <code>configure</code>, you will get a performance summary, indicating how well the build will perform. Here you will also get performance hints. If you want to build fast, pay attention to those!</p>
<p>If you want to tweak build performance, run with <code>make LOG=info</code> to get a build time summary at the end of the build process.</p>
<h3 id="disk-speed">Disk Speed</h3>
<p>If you are using network shares, e.g. via NFS, for your source code, make sure the build directory is situated on local disk (e.g. by <code>ln -s /localdisk/jdk-build $JDK-SHARE/build</code>). The performance penalty is extremely high for building on a network share; close to unusable.</p>
<p>If you are using network shares, e.g. via NFS, for your source code, make sure the build directory is situated on local disk (e.g. by <code>ln -s /localdisk/jdk-build $JDK-SHARE/build</code>). The performance penalty is extremely high for building on a network share; close to unusable.</p>
<p>Also, make sure that your build tools (including Boot JDK and toolchain) is located on a local disk and not a network share.</p>
<p>As has been stressed elsewhere, do use SSD for source code and build directory, as well as (if possible) the build tools.</p>
<h3 id="virus-checking">Virus Checking</h3>
<p>The use of virus checking software, especially on Windows, can <em>significantly</em> slow down building of OpenJDK. If possible, turn off such software, or exclude the directory containing the OpenJDK source code from on-the-fly checking.</p>
<p>The use of virus checking software, especially on Windows, can <em>significantly</em> slow down building of the JDK. If possible, turn off such software, or exclude the directory containing the JDK source code from on-the-fly checking.</p>
<h3 id="ccache">Ccache</h3>
<p>The OpenJDK build supports building with ccache when using gcc or clang. Using ccache can radically speed up compilation of native code if you often rebuild the same sources. Your milage may vary however, so we recommend evaluating it for yourself. To enable it, make sure it's on the path and configure with <code>--enable-ccache</code>.</p>
<p>The JDK build supports building with ccache when using gcc or clang. Using ccache can radically speed up compilation of native code if you often rebuild the same sources. Your milage may vary however, so we recommend evaluating it for yourself. To enable it, make sure its on the path and configure with <code>--enable-ccache</code>.</p>
<h3 id="precompiled-headers">Precompiled Headers</h3>
<p>By default, the Hotspot build uses preccompiled headers (PCH) on the toolchains were it is properly supported (clang, gcc, and Visual Studio). Normally, this speeds up the build process, but in some circumstances, it can actually slow things down.</p>
<p>You can experiment by disabling precompiled headers using <code>--disable-precompiled-headers</code>.</p>
<h3 id="icecc-icecream">Icecc / icecream</h3>
<p><a href="http://github.com/icecc/icecream">icecc/icecream</a> is a simple way to setup a distributed compiler network. If you have multiple machines available for building OpenJDK, you can drastically cut individual build times by utilizing it.</p>
<p><a href="http://github.com/icecc/icecream">icecc/icecream</a> is a simple way to setup a distributed compiler network. If you have multiple machines available for building the JDK, you can drastically cut individual build times by utilizing it.</p>
<p>To use, setup an icecc network, and install icecc on the build machine. Then run <code>configure</code> using <code>--enable-icecc</code>.</p>
<h3 id="using-sjavac">Using sjavac</h3>
<p>To speed up Java compilation, especially incremental compilations, you can try the experimental sjavac compiler by using <code>--enable-sjavac</code>.</p>
@@ -692,22 +700,22 @@ make/Main.gmk:263: recipe for target &#39;hotspot-server-libs&#39; failed
Hint: Try searching the build log for the name of the first failed target.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code></pre>
<p>Let's break it down! First, the selected configuration, and the top-level target you entered on the command line that caused the failure is printed.</p>
<p>Lets break it down! First, the selected configuration, and the top-level target you entered on the command line that caused the failure is printed.</p>
<p>Then, between the <code>Output from failing command(s) repeated here</code> and <code>End of repeated output</code> the first lines of output (stdout and stderr) from the actual failing command is repeated. In most cases, this is the error message that caused the build to fail. If multiple commands were failing (this can happen in a parallel build), output from all failed commands will be printed here.</p>
<p>The path to the <code>failure-logs</code> directory is printed. In this file you will find a <code>&lt;target&gt;.log</code> file that contains the output from this command in its entirety, and also a <code>&lt;target&gt;.cmd</code>, which contain the complete command line used for running this command. You can re-run the failing command by executing <code>. &lt;path to failure-logs&gt;/&lt;target&gt;.cmd</code> in your shell.</p>
<p>Another way to trace the failure is to follow the chain of make targets, from top-level targets to individual file targets. Between <code>Make failed targets repeated here</code> and <code>End of repeated output</code> the output from make showing this chain is repeated. The first failed recipe will typically contain the full path to the file in question that failed to compile. Following lines will show a trace of make targets why we ended up trying to compile that file.</p>
<p>Finally, some hints are given on how to locate the error in the complete log. In this example, we would try searching the log file for &quot;<code>psMemoryPool.o</code>&quot;. Another way to quickly locate make errors in the log is to search for &quot;<code>] Error</code>&quot; or &quot;<code>***</code>&quot;.</p>
<p>Finally, some hints are given on how to locate the error in the complete log. In this example, we would try searching the log file for <code>psMemoryPool.o</code>. Another way to quickly locate make errors in the log is to search for <code>] Error</code>” or “<code>***</code>.</p>
<p>Note that the build failure summary will only help you if the issue was a compilation failure or similar. If the problem is more esoteric, or is due to errors in the build machinery, you will likely get empty output logs, and <code>No indication of failed target found</code> instead of the make target chain.</p>
<h4 id="checking-the-build-log-file">Checking the Build Log File</h4>
<p>The output (stdout and stderr) from the latest build is always stored in <code>$BUILD/build.log</code>. The previous build log is stored as <code>build.log.old</code>. This means that it is not necessary to redirect the build output yourself if you want to process it.</p>
<p>You can increase the verbosity of the log file, by the <code>LOG</code> control variable to <code>make</code>. If you want to see the command lines used in compilations, use <code>LOG=cmdlines</code>. To increase the general verbosity, use <code>LOG=info</code>, <code>LOG=debug</code> or <code>LOG=trace</code>. Both of these can be combined with <code>cmdlines</code>, e.g. <code>LOG=info,cmdlines</code>. The <code>debug</code> log level will show most shell commands executed by make, and <code>trace</code> will show all. Beware that both these log levels will produce a massive build log!</p>
<h3 id="fixing-unexpected-build-failures">Fixing Unexpected Build Failures</h3>
<p>Most of the time, the build will fail due to incorrect changes in the source code.</p>
<p>Sometimes the build can fail with no apparent changes that have caused the failure. If this is the first time you are building OpenJDK on this particular computer, and the build fails, the problem is likely with your build environment. But even if you have previously built OpenJDK with success, and it now fails, your build environment might have changed (perhaps due to OS upgrades or similar). But most likely, such failures are due to problems with the incremental rebuild.</p>
<p>Sometimes the build can fail with no apparent changes that have caused the failure. If this is the first time you are building the JDK on this particular computer, and the build fails, the problem is likely with your build environment. But even if you have previously built the JDK with success, and it now fails, your build environment might have changed (perhaps due to OS upgrades or similar). But most likely, such failures are due to problems with the incremental rebuild.</p>
<h4 id="problems-with-the-build-environment">Problems with the Build Environment</h4>
<p>Make sure your configuration is correct. Re-run <code>configure</code>, and look for any warnings. Warnings that appear in the middle of the <code>configure</code> output is also repeated at the end, after the summary. The entire log is stored in <code>$BUILD/configure.log</code>.</p>
<p>Verify that the summary at the end looks correct. Are you indeed using the Boot JDK and native toolchain that you expect?</p>
<p>By default, OpenJDK has a strict approach where warnings from the compiler is considered errors which fail the build. For very new or very old compiler versions, this can trigger new classes of warnings, which thus fails the build. Run <code>configure</code> with <code>--disable-warnings-as-errors</code> to turn of this behavior. (The warnings will still show, but not make the build fail.)</p>
<p>By default, the JDK has a strict approach where warnings from the compiler is considered errors which fail the build. For very new or very old compiler versions, this can trigger new classes of warnings, which thus fails the build. Run <code>configure</code> with <code>--disable-warnings-as-errors</code> to turn of this behavior. (The warnings will still show, but not make the build fail.)</p>
<h4 id="problems-with-incremental-rebuilds">Problems with Incremental Rebuilds</h4>
<p>Incremental rebuilds mean that when you modify part of the product, only the affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most common cause for unexpected build problems, together with inconsistencies between the different Mercurial repositories in the forest.</p>
<p>Here are a suggested list of things to try if you are having unexpected build problems. Each step requires more time than the one before, so try them in order. Most issues will be solved at step 1 or 2.</p>
@@ -717,13 +725,13 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
<li><p>Clean build results</p>
<p>The simplest way to fix incremental rebuild issues is to run <code>make clean</code>. This will remove all build results, but not the configuration or any build system support artifacts. In most cases, this will solve build errors resulting from incremental build mismatches.</p></li>
<li><p>Completely clean the build directory.</p>
<p>If this does not work, the next step is to run <code>make dist-clean</code>, or removing the build output directory (<code>$BUILD</code>). This will clean all generated output, including your configuration. You will need to re-run <code>configure</code> after this step. A good idea is to run <code>make print-configuration</code> before running <code>make dist-clean</code>, as this will print your current <code>configure</code> command line. Here's a way to do this:</p>
<p>If this does not work, the next step is to run <code>make dist-clean</code>, or removing the build output directory (<code>$BUILD</code>). This will clean all generated output, including your configuration. You will need to re-run <code>configure</code> after this step. A good idea is to run <code>make print-configuration</code> before running <code>make dist-clean</code>, as this will print your current <code>configure</code> command line. Heres a way to do this:</p>
<pre><code>make print-configuration &gt; current-configuration
make dist-clean
bash configure $(cat current-configuration)
make</code></pre></li>
<li><p>Re-clone the Mercurial forest</p>
<p>Sometimes the Mercurial repositories themselves gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the &quot;sledgehammer approach&quot;: delete the entire forest, and re-clone it. If you have local changes, save them first to a different location using <code>hg export</code>.</p></li>
<p>Sometimes the Mercurial repositories themselves gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the sledgehammer approach: delete the entire forest, and re-clone it. If you have local changes, save them first to a different location using <code>hg export</code>.</p></li>
</ol>
<h3 id="specific-build-issues">Specific Build Issues</h3>
<h4 id="clock-skew">Clock Skew</h4>
@@ -743,11 +751,11 @@ spawn failed</code></pre>
<p>This can be a sign of a Cygwin problem. See the information about solving problems in the <a href="#cygwin">Cygwin</a> section. Rebooting the computer might help temporarily.</p>
<h3 id="getting-help">Getting Help</h3>
<p>If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to <a href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>. Please include the relevant parts of the configure and/or build log.</p>
<p>If you need general help or advice about developing for OpenJDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<p>If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<h2 id="hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</h2>
<h3 id="setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</h3>
<p>To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as <a href="http://openjdk.java.net/projects/code-tools/defpath">defpath</a>. It will help you setup a proper push path for pushing changes to OpenJDK.</p>
<p>Install the extension by cloning <code>http://hg.openjdk.java.net/code-tools/defpath</code> and updating your <code>.hgrc</code> file. Here's one way to do this:</p>
<p>To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as <a href="http://openjdk.java.net/projects/code-tools/defpath">defpath</a>. It will help you setup a proper push path for pushing changes to the JDK.</p>
<p>Install the extension by cloning <code>http://hg.openjdk.java.net/code-tools/defpath</code> and updating your <code>.hgrc</code> file. Heres one way to do this:</p>
<pre><code>cd ~
mkdir hg-ext
cd hg-ext
@@ -781,13 +789,13 @@ sudo mv /tmp/configure /usr/local/bin</code></pre>
<h3 id="handling-reconfigurations">Handling Reconfigurations</h3>
<p>If you update the forest and part of the configure script has changed, the build system will force you to re-run <code>configure</code>.</p>
<p>Most of the time, you will be fine by running <code>configure</code> again with the same arguments as the last time, which can easily be performed by <code>make reconfigure</code>. To simplify this, you can use the <code>CONF_CHECK</code> make control variable, either as <code>make CONF_CHECK=auto</code>, or by setting an environment variable. For instance, if you add <code>export CONF_CHECK=auto</code> to your <code>.bashrc</code> file, <code>make</code> will always run <code>reconfigure</code> automatically whenever the configure script has changed.</p>
<p>You can also use <code>CONF_CHECK=ignore</code> to skip the check for a needed configure update. This might speed up the build, but comes at the risk of an incorrect build result. This is only recommended if you know what you're doing.</p>
<p>You can also use <code>CONF_CHECK=ignore</code> to skip the check for a needed configure update. This might speed up the build, but comes at the risk of an incorrect build result. This is only recommended if you know what youre doing.</p>
<p>From time to time, you will also need to modify the command line to <code>configure</code> due to changes. Use <code>make print-configure</code> to show the command line used for your current configuration.</p>
<h3 id="using-fine-grained-make-targets">Using Fine-Grained Make Targets</h3>
<p>The default behavior for make is to create consistent and correct output, at the expense of build speed, if necessary.</p>
<p>If you are prepared to take some risk of an incorrect build, and know enough of the system to understand how things build and interact, you can speed up the build process considerably by instructing make to only build a portion of the product.</p>
<h4 id="building-individual-modules">Building Individual Modules</h4>
<p>The safe way to use fine-grained make targets is to use the module specific make targets. All source code in JDK 9 is organized so it belongs to a module, e.g. <code>java.base</code> or <code>jdk.jdwp.agent</code>. You can build only a specific module, by giving it as make target: <code>make jdk.jdwp.agent</code>. If the specified module depends on other modules (e.g. <code>java.base</code>), those modules will be built first.</p>
<p>The safe way to use fine-grained make targets is to use the module specific make targets. All source code in the JDK is organized so it belongs to a module, e.g. <code>java.base</code> or <code>jdk.jdwp.agent</code>. You can build only a specific module, by giving it as make target: <code>make jdk.jdwp.agent</code>. If the specified module depends on other modules (e.g. <code>java.base</code>), those modules will be built first.</p>
<p>You can also specify a set of modules, just as you can always specify a set of make targets: <code>make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi jdk.crypto.ucrypto</code></p>
<h4 id="building-individual-module-phases">Building Individual Module Phases</h4>
<p>The build process for each module is divided into separate phases. Not all modules need all phases. Which are needed depends on what kind of source code and other artifact the module consists of. The phases are:</p>
@@ -810,10 +818,10 @@ sudo mv /tmp/configure /usr/local/bin</code></pre>
<p>To achieve this, append <code>-only</code> to the build target. For instance, <code>make jdk.jdwp.agent-java-only</code> will <em>only</em> build the <code>java</code> phase of the <code>jdk.jdwp.agent</code> module. If the required dependencies are not present, the build can fail. On the other hand, the execution time measures in milliseconds.</p>
<p>A useful pattern is to build the first time normally (e.g. <code>make jdk.jdwp.agent</code>) and then on subsequent builds, use the <code>-only</code> make target.</p>
<h4 id="rebuilding-part-of-java.base-jdk_filter">Rebuilding Part of java.base (JDK_FILTER)</h4>
<p>If you are modifying files in <code>java.base</code>, which is the by far largest module in OpenJDK, then you need to rebuild all those files whenever a single file has changed. (This inefficiency will hopefully be addressed in JDK 10.)</p>
<p>If you are modifying files in <code>java.base</code>, which is the by far largest module in the JDK, then you need to rebuild all those files whenever a single file has changed. (This inefficiency will hopefully be addressed in JDK 10.)</p>
<p>As a hack, you can use the make control variable <code>JDK_FILTER</code> to specify a pattern that will be used to limit the set of files being recompiled. For instance, <code>make java.base JDK_FILTER=javax/crypto</code> (or, to combine methods, <code>make java.base-java-only JDK_FILTER=javax/crypto</code>) will limit the compilation to files in the <code>javax.crypto</code> package.</p>
<h3 id="learn-about-mercurial">Learn About Mercurial</h3>
<p>To become an efficient OpenJDK developer, it is recommended that you invest in learning Mercurial properly. Here are some links that can get you started:</p>
<p>To become an efficient JDK developer, it is recommended that you invest in learning Mercurial properly. Here are some links that can get you started:</p>
<ul>
<li><a href="http://www.mercurial-scm.org/wiki/GitConcepts">Mercurial for git users</a></li>
<li><a href="http://www.mercurial-scm.org/wiki/Tutorial">The official Mercurial tutorial</a></li>
@@ -839,20 +847,20 @@ test-support/</code></pre>
<p>This is what they are used for:</p>
<ul>
<li><p><code>images</code>: This is the directory were the output of the <code>*-image</code> make targets end up. For instance, <code>make jdk-image</code> ends up in <code>images/jdk</code>.</p></li>
<li><p><code>jdk</code>: This is the &quot;exploded image&quot;. After <code>make jdk</code>, you will be able to launch the newly built JDK by running <code>$BUILD/jdk/bin/java</code>.</p></li>
<li><p><code>jdk</code>: This is the exploded image. After <code>make jdk</code>, you will be able to launch the newly built JDK by running <code>$BUILD/jdk/bin/java</code>.</p></li>
<li><p><code>test-results</code>: This directory contains the results from running tests.</p></li>
<li><p><code>support</code>: This is an area for intermediate files needed during the build, e.g. generated source code, object files and class files. Some noteworthy directories in <code>support</code> is <code>gensrc</code>, which contains the generated source code, and the <code>modules_*</code> directories, which contains the files in a per-module hierarchy that will later be collapsed into the <code>jdk</code> directory of the exploded image.</p></li>
<li><p><code>support</code>: This is an area for intermediate files needed during the build, e.g. generated source code, object files and class files. Some noteworthy directories in <code>support</code> is <code>gensrc</code>, which contains the generated source code, and the <code>modules_*</code> directories, which contains the files in a per-module hierarchy that will later be collapsed into the <code>jdk</code> directory of the exploded image.</p></li>
<li><p><code>buildtools</code>: This is an area for tools compiled for the build platform that are used during the rest of the build.</p></li>
<li><p><code>hotspot</code>: This is an area for intermediate files needed when building hotspot.</p></li>
<li><p><code>configure-support</code>, <code>make-support</code> and <code>test-support</code>: These directories contain files that are needed by the build system for <code>configure</code>, <code>make</code> and for running tests.</p></li>
</ul>
<h3 id="fixpath">Fixpath</h3>
<p>Windows path typically look like <code>C:\User\foo</code>, while Unix paths look like <code>/home/foo</code>. Tools with roots from Unix often experience issues related to this mismatch when running on Windows.</p>
<p>In the OpenJDK build, we always use Unix paths internally, and only just before calling a tool that does not understand Unix paths do we convert them to Windows paths.</p>
<p>In the JDK build, we always use Unix paths internally, and only just before calling a tool that does not understand Unix paths do we convert them to Windows paths.</p>
<p>This conversion is done by the <code>fixpath</code> tool, which is a small wrapper that modifies unix-style paths to Windows-style paths in command lines. Fixpath is compiled automatically by <code>configure</code>.</p>
<h3 id="native-debug-symbols">Native Debug Symbols</h3>
<p>Native libraries and executables can have debug symbol (and other debug information) associated with them. How this works is very much platform dependent, but a common problem is that debug symbol information takes a lot of disk space, but is rarely needed by the end user.</p>
<p>The OpenJDK supports different methods on how to handle debug symbols. The method used is selected by <code>--with-native-debug-symbols</code>, and available methods are <code>none</code>, <code>internal</code>, <code>external</code>, <code>zipped</code>.</p>
<p>The JDK supports different methods on how to handle debug symbols. The method used is selected by <code>--with-native-debug-symbols</code>, and available methods are <code>none</code>, <code>internal</code>, <code>external</code>, <code>zipped</code>.</p>
<ul>
<li><p><code>none</code> means that no debug symbols will be generated during the build.</p></li>
<li><p><code>internal</code> means that debug symbols will be generated during the build, and they will be stored in the generated binary.</p></li>
@@ -862,12 +870,12 @@ test-support/</code></pre>
<p>When building for distribution, <code>zipped</code> is a good solution. Binaries built with <code>internal</code> is suitable for use by developers, since they facilitate debugging, but should be stripped before distributed to end users.</p>
<h3 id="autoconf-details">Autoconf Details</h3>
<p>The <code>configure</code> script is based on the autoconf framework, but in some details deviate from a normal autoconf <code>configure</code> script.</p>
<p>The <code>configure</code> script in the top level directory of OpenJDK is just a thin wrapper that calls <code>make/autoconf/configure</code>. This in turn will run <code>autoconf</code> to create the runnable (generated) configure script, as <code>.build/generated-configure.sh</code>. Apart from being responsible for the generation of the runnable script, the <code>configure</code> script also provides functionality that is not easily expressed in the normal Autoconf framework. As part of this functionality, the generated script is called.</p>
<p>The <code>configure</code> script in the top level directory of the JDK is just a thin wrapper that calls <code>make/autoconf/configure</code>. This in turn will run <code>autoconf</code> to create the runnable (generated) configure script, as <code>.build/generated-configure.sh</code>. Apart from being responsible for the generation of the runnable script, the <code>configure</code> script also provides functionality that is not easily expressed in the normal Autoconf framework. As part of this functionality, the generated script is called.</p>
<p>The build system will detect if the Autoconf source files have changed, and will trigger a regeneration of the generated script if needed. You can also manually request such an update by <code>bash configure autogen</code>.</p>
<p>In previous versions of the OpenJDK, the generated script was checked in at <code>make/autoconf/generated-configure.sh</code>. This is no longer the case.</p>
<p>In previous versions of the JDK, the generated script was checked in at <code>make/autoconf/generated-configure.sh</code>. This is no longer the case.</p>
<h3 id="developing-the-build-system-itself">Developing the Build System Itself</h3>
<p>This section contains a few remarks about how to develop for the build system itself. It is not relevant if you are only making changes in the product source code.</p>
<p>While technically using <code>make</code>, the make source files of the OpenJDK does not resemble most other Makefiles. Instead of listing specific targets and actions (perhaps using patterns), the basic modus operandi is to call a high-level function (or properly, macro) from the API in <code>make/common</code>. For instance, to compile all classes in the <code>jdk.internal.foo</code> package in the <code>jdk.foo</code> module, a call like this would be made:</p>
<p>While technically using <code>make</code>, the make source files of the JDK does not resemble most other Makefiles. Instead of listing specific targets and actions (perhaps using patterns), the basic modus operandi is to call a high-level function (or properly, macro) from the API in <code>make/common</code>. For instance, to compile all classes in the <code>jdk.internal.foo</code> package in the <code>jdk.foo</code> module, a call like this would be made:</p>
<pre><code>$(eval $(call SetupJavaCompilation, BUILD_FOO_CLASSES, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(TOPDIR)/src/jkd.foo/share/classes, \
@@ -876,17 +884,17 @@ test-support/</code></pre>
))</code></pre>
<p>By encapsulating and expressing the high-level knowledge of <em>what</em> should be done, rather than <em>how</em> it should be done (as is normal in Makefiles), we can build a much more powerful and flexible build system.</p>
<p>Correct dependency tracking is paramount. Sloppy dependency tracking will lead to improper parallelization, or worse, race conditions.</p>
<p>To test for/debug race conditions, try running <code>make JOBS=1</code> and <code>make JOBS=100</code> and see if it makes any difference. (It shouldn't).</p>
<p>To test for/debug race conditions, try running <code>make JOBS=1</code> and <code>make JOBS=100</code> and see if it makes any difference. (It shouldnt).</p>
<p>To compare the output of two different builds and see if, and how, they differ, run <code>$BUILD1/compare.sh -o $BUILD2</code>, where <code>$BUILD1</code> and <code>$BUILD2</code> are the two builds you want to compare.</p>
<p>To automatically build two consecutive versions and compare them, use <code>COMPARE_BUILD</code>. The value of <code>COMPARE_BUILD</code> is a set of variable=value assignments, like this:</p>
<pre><code>make COMPARE_BUILD=CONF=--enable-new-hotspot-feature:MAKE=hotspot</code></pre>
<p>See <code>make/InitSupport.gmk</code> for details on how to use <code>COMPARE_BUILD</code>.</p>
<p>To analyze build performance, run with <code>LOG=trace</code> and check <code>$BUILD/build-trace-time.log</code>. Use <code>JOBS=1</code> to avoid parallelism.</p>
<p>Please check that you adhere to the <a href="http://openjdk.java.net/groups/build/doc/code-conventions.html">Code Conventions for the Build System</a> before submitting patches.</p>
<h2 id="contributing-to-openjdk">Contributing to OpenJDK</h2>
<p>So, now you've build your OpenJDK, and made your first patch, and want to contribute it back to the OpenJDK community.</p>
<p>First of all: Thank you! We gladly welcome your contribution to the OpenJDK. However, please bear in mind that OpenJDK is a massive project, and we must ask you to follow our rules and guidelines to be able to accept your contribution.</p>
<p>The official place to start is the <a href="http://openjdk.java.net/contribute/">'How to contribute' page</a>. There is also an official (but somewhat outdated and skimpy on details) <a href="http://openjdk.java.net/guide/">Developer's Guide</a>.</p>
<p>If this seems overwhelming to you, the Adoption Group is there to help you! A good place to start is their <a href="https://wiki.openjdk.java.net/display/Adoption/New+Contributor">'New Contributor' page</a>, or start reading the comprehensive <a href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting Started Kit</a>. The Adoption Group will also happily answer any questions you have about contributing. Contact them by <a href="http://mail.openjdk.java.net/mailman/listinfo/adoption-discuss">mail</a> or <a href="http://openjdk.java.net/irc/">IRC</a>.</p>
<h2 id="contributing-to-the-jdk">Contributing to the JDK</h2>
<p>So, now youve built your JDK, and made your first patch, and want to contribute it back to the OpenJDK Community.</p>
<p>First of all: Thank you! We gladly welcome your contribution. However, please bear in mind that the JDK is a massive project, and we must ask you to follow our rules and guidelines to be able to accept your contribution.</p>
<p>The official place to start is the <a href="http://openjdk.java.net/contribute/">How to contribute page</a>. There is also an official (but somewhat outdated and skimpy on details) <a href="http://openjdk.java.net/guide/">Developers Guide</a>.</p>
<p>If this seems overwhelming to you, the Adoption Group is there to help you! A good place to start is their <a href="https://wiki.openjdk.java.net/display/Adoption/New+Contributor">New Contributor page</a>, or start reading the comprehensive <a href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting Started Kit</a>. The Adoption Group will also happily answer any questions you have about contributing. Contact them by <a href="http://mail.openjdk.java.net/mailman/listinfo/adoption-discuss">mail</a> or <a href="http://openjdk.java.net/irc/">IRC</a>.</p>
</body>
</html>

View File

@@ -1,10 +1,10 @@
% Building OpenJDK
% Building the JDK
## TL;DR (Instructions for the Impatient)
If you are eager to try out building OpenJDK, these simple steps works most of
If you are eager to try out building the JDK, these simple steps works most of
the time. They assume that you have installed Mercurial (and Cygwin if running
on Windows) and cloned the top-level OpenJDK repository that you want to build.
on Windows) and cloned the top-level JDK repository that you want to build.
1. [Get the complete source code](#getting-the-source-code): \
`hg clone http://hg.openjdk.java.net/jdk/jdk`
@@ -34,14 +34,14 @@ requirements or build functionality, please continue reading this document.
## Introduction
OpenJDK is a complex software project. Building it requires a certain amount of
The JDK is a complex software project. Building it requires a certain amount of
technical expertise, a fair number of dependencies on external software, and
reasonably powerful hardware.
If you just want to use OpenJDK and not build it yourself, this document is not
If you just want to use the JDK and not build it yourself, this document is not
for you. See for instance [OpenJDK installation](
http://openjdk.java.net/install) for some methods of installing a prebuilt
OpenJDK.
JDK.
## Getting the Source Code
@@ -80,16 +80,16 @@ on where and how to check out the source code.
procedure:
* Create the directory that is going to contain the top directory of the
OpenJDK clone by using the `mkdir` command in the Cygwin bash shell.
JDK clone by using the `mkdir` command in the Cygwin bash shell.
That is, do *not* create it using Windows Explorer. This will ensure
that it will have proper Cygwin attributes, and that it's children will
inherit those attributes.
* Do not put the OpenJDK clone in a path under your Cygwin home
* Do not put the JDK clone in a path under your Cygwin home
directory. This is especially important if your user name contains
spaces and/or mixed upper and lower case letters.
* Clone the OpenJDK repository using the Cygwin command line `hg` client
* Clone the JDK repository using the Cygwin command line `hg` client
as instructed in this document. That is, do *not* use another Mercurial
client such as TortoiseHg.
@@ -98,7 +98,7 @@ on where and how to check out the source code.
## Build Hardware Requirements
OpenJDK is a massive project, and require machines ranging from decent to
The JDK is a massive project, and require machines ranging from decent to
powerful to be able to build in a reasonable amount of time, or to be able to
complete a build at all.
@@ -127,15 +127,15 @@ This is not recommended. Instead, see the section on [Cross-compiling](
## Operating System Requirements
The mainline OpenJDK project supports Linux, Solaris, macOS, AIX and Windows.
The mainline JDK project supports Linux, Solaris, macOS, AIX and Windows.
Support for other operating system, e.g. BSD, exists in separate "port"
projects.
In general, OpenJDK can be built on a wide range of versions of these operating
In general, the JDK can be built on a wide range of versions of these operating
systems, but the further you deviate from what is tested on a daily basis, the
more likely you are to run into problems.
This table lists the OS versions used by Oracle when building JDK 9. Such
This table lists the OS versions used by Oracle when building the JDK. Such
information is always subject to change, but this table is up to date at the
time of writing.
@@ -148,27 +148,27 @@ time of writing.
The double version numbers for Linux, Solaris and macOS is due to the hybrid
model used at Oracle, where header files and external libraries from an older
version is used when building on a more modern version of the OS.
version are used when building on a more modern version of the OS.
The Build Group has a wiki page with [Supported Build Platforms](
https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms). From
time to time, this is updated by the community to list successes or failures of
time to time, this is updated by contributors to list successes or failures of
building on different platforms.
### Windows
Windows XP is not a supported platform, but all newer Windows should be able to
build OpenJDK.
build the JDK.
On Windows, it is important that you pay attention to the instructions in the
[Special Considerations](#special-considerations).
Windows is the only non-POSIX OS supported by OpenJDK, and as such, requires
some extra care. A POSIX support layer is required to build on Windows. For
OpenJDK 9, the only supported such layer is Cygwin. (Msys is no longer
Windows is the only non-POSIX OS supported by the JDK, and as such, requires
some extra care. A POSIX support layer is required to build on Windows.
Currently, the only supported such layer is Cygwin. (Msys is no longer
supported due to a too old bash; msys2 and the new Windows Subsystem for Linux
(WSL) would likely be possible to support in a future version but that would
require a community effort to implement.)
require effort to implement.)
Internally in the build system, all paths are represented as Unix-style paths,
e.g. `/cygdrive/c/hg/jdk9/Makefile` rather than `C:\hg\jdk9\Makefile`. This
@@ -180,16 +180,16 @@ on [Fixpath](#fixpath).
#### Cygwin
A functioning [Cygwin](http://www.cygwin.com/) environment is thus required for
building OpenJDK on Windows. If you have a 64-bit OS, we strongly recommend
building the JDK on Windows. If you have a 64-bit OS, we strongly recommend
using the 64-bit version of Cygwin.
**Note:** Cygwin has a model of continuously updating all packages without any
easy way to install or revert to a specific version of a package. This means
that whenever you add or update a package in Cygwin, you might (inadvertently)
update tools that are used by the OpenJDK build process, and that can cause
update tools that are used by the JDK build process, and that can cause
unexpected build problems.
OpenJDK requires GNU Make 4.0 or greater on Windows. This is usually not a
The JDK requires GNU Make 4.0 or greater on Windows. This is usually not a
problem, since Cygwin currently only distributes GNU Make at a version above
4.0.
@@ -229,22 +229,22 @@ symbols.
Apple is using a quite aggressive scheme of pushing OS updates, and coupling
these updates with required updates of Xcode. Unfortunately, this makes it
difficult for a project like OpenJDK to keep pace with a continuously updated
difficult for a project such as the JDK to keep pace with a continuously updated
machine running macOS. See the section on [Apple Xcode](#apple-xcode) on some
strategies to deal with this.
It is recommended that you use at least Mac OS X 10.9 (Mavericks). At the time
of writing, OpenJDK has been successfully compiled on macOS versions up to
of writing, the JDK has been successfully compiled on macOS versions up to
10.12.5 (Sierra), using XCode 8.3.2 and `--disable-warnings-as-errors`.
The standard macOS environment contains the basic tooling needed to build, but
for external libraries a package manager is recommended. OpenJDK uses
for external libraries a package manager is recommended. The JDK uses
[homebrew](https://brew.sh/) in the examples, but feel free to use whatever
manager you want (or none).
### Linux
It is often not much problem to build OpenJDK on Linux. The only general advice
It is often not much problem to build the JDK on Linux. The only general advice
is to try to use the compilers, external libraries and header files as provided
by your distribution.
@@ -269,7 +269,7 @@ http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details.
## Native Compiler (Toolchain) Requirements
Large portions of OpenJDK consists of native code, that needs to be compiled to
Large portions of the JDK consists of native code, that needs to be compiled to
be able to run on the target platform. In theory, toolchain and operating
system should be independent factors, but in practice there's more or less a
one-to-one correlation between target operating system and toolchain.
@@ -284,25 +284,25 @@ one-to-one correlation between target operating system and toolchain.
Please see the individual sections on the toolchains for version
recommendations. As a reference, these versions of the toolchains are used, at
the time of writing, by Oracle for the daily builds of OpenJDK. It should be
possible to compile OpenJDK with both older and newer versions, but the closer
the time of writing, by Oracle for the daily builds of the JDK. It should be
possible to compile the JDK with both older and newer versions, but the closer
you stay to this list, the more likely you are to compile successfully without
issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 4.9.2
Linux gcc 7.3.0
macOS Apple Xcode 6.3 (using clang 6.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2013 update 4
### gcc
The minimum accepted version of gcc is 4.7. Older versions will generate a warning
The minimum accepted version of gcc is 4.8. Older versions will generate a warning
by `configure` and are unlikely to work.
OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should
be considered experimental.
The JDK is currently known to be able to compile with at least version 7.4 of
gcc.
In general, any version between these two should be usable.
@@ -318,13 +318,13 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 5.
You will need the Xcode command lines developers tools to be able to build
OpenJDK. (Actually, *only* the command lines tools are needed, not the IDE.)
the JDK. (Actually, *only* the command lines tools are needed, not the IDE.)
The simplest way to install these is to run:
```
xcode-select --install
```
It is advisable to keep an older version of Xcode for building OpenJDK when
It is advisable to keep an older version of Xcode for building the JDK when
updating Xcode. This [blog page](
http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html) has
good suggestions on managing multiple Xcode versions. To use a specific version
@@ -333,7 +333,7 @@ of Xcode, use `xcode-select -s` before running `configure`, or use
`configure --with-toolchain-path=/Applications/Xcode5.app/Contents/Developer/usr/bin`
If you have recently (inadvertently) updated your OS and/or Xcode version, and
OpenJDK can no longer be built, please see the section on [Problems with the
the JDK can no longer be built, please see the section on [Problems with the
Build Environment](#problems-with-the-build-environment), and [Getting
Help](#getting-help) to find out if there are any recent, non-merged patches
available for this update.
@@ -395,15 +395,16 @@ http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details.
## Boot JDK Requirements
Paradoxically, building OpenJDK requires a pre-existing JDK. This is called the
"boot JDK". The boot JDK does not have to be OpenJDK, though. If you are
porting OpenJDK to a new platform, chances are that there already exists
another JDK for that platform that is usable as boot JDK.
Paradoxically, building the JDK requires a pre-existing JDK. This is called the
"boot JDK". The boot JDK does not, however, have to be a JDK built directly from
the source code available in the OpenJDK Community. If you are porting the JDK
to a new platform, chances are that there already exists another JDK for that
platform that is usable as boot JDK.
The rule of thumb is that the boot JDK for building JDK major version *N*
should be a JDK of major version *N-1*, so for building JDK 9 a JDK 8 would be
suitable as boot JDK. However, OpenJDK should be able to "build itself", so an
up-to-date build of the current OpenJDK source is an acceptable alternative. If
suitable as boot JDK. However, the JDK should be able to "build itself", so an
up-to-date build of the current JDK source is an acceptable alternative. If
you are following the *N-1* rule, make sure you've got the latest update
version, since JDK 8 GA might not be able to build JDK 9 on all platforms.
@@ -411,20 +412,20 @@ Early in the release cycle, version *N-1* may not yet have been released. In
that case, the preferred boot JDK will be version *N-2* until version *N-1*
is available.
If the Boot JDK is not automatically detected, or the wrong JDK is picked, use
If the boot JDK is not automatically detected, or the wrong JDK is picked, use
`--with-boot-jdk` to point to the JDK to use.
### Getting JDK binaries
OpenJDK binaries for Linux, Windows and macOS can be downloaded from
JDK binaries for Linux, Windows and macOS can be downloaded from
[jdk.java.net](http://jdk.java.net). An alternative is to download the
[Oracle JDK](http://www.oracle.com/technetwork/java/javase/downloads). Another
is the [Adopt OpenJDK Project](https://adoptopenjdk.net/), which publishes
experimental prebuilt binaries for various platforms.
On Linux you can also get OpenJDK from the Linux distribution. On apt-based
On Linux you can also get a JDK from the Linux distribution. On apt-based
distros (like Debian and Ubuntu), `sudo apt-get install openjdk-<VERSION>-jdk`
is typically enough to install OpenJDK \<VERSION\>. On rpm-based distros (like
is typically enough to install a JDK \<VERSION\>. On rpm-based distros (like
Fedora and Red Hat), try `sudo yum install java-<VERSION>-openjdk-devel`.
## External Library Requirements
@@ -447,7 +448,7 @@ and the lib directory separately.
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library,
rather than bundling OpenJDK's own copy.
rather than bundling the JDKs own copy.
* To install on an apt-based Linux, try running `sudo apt-get install
libfreetype6-dev`.
@@ -522,7 +523,7 @@ files.
### Autoconf
OpenJDK requires [Autoconf](http://www.gnu.org/software/autoconf) on all
The JDK requires [Autoconf](http://www.gnu.org/software/autoconf) on all
platforms. At least version 2.69 is required.
* To install on an apt-based Linux, try running `sudo apt-get install
@@ -542,7 +543,7 @@ AUTOCONF=<path to autoconf> configure ...
### GNU Make
OpenJDK requires [GNU Make](http://www.gnu.org/software/make). No other flavors
The JDK requires [GNU Make](http://www.gnu.org/software/make). No other flavors
of make are supported.
At least version 3.81 of GNU Make must be used. For distributions supporting
@@ -566,16 +567,16 @@ On Solaris, it is common to call the GNU version of make by using `gmake`.
### GNU Bash
OpenJDK requires [GNU Bash](http://www.gnu.org/software/bash). No other shells
The JDK requires [GNU Bash](http://www.gnu.org/software/bash). No other shells
are supported.
At least version 3.2 of GNU Bash must be used.
## Running Configure
To build OpenJDK, you need a "configuration", which consists of a directory
To build the JDK, you need a "configuration", 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 OpenJDK is built.
the specific build machine, and choices that affect how the JDK is built.
The configuration is created by the `configure` script. The basic invocation of
the `configure` script looks like this:
@@ -619,7 +620,7 @@ bash configure --help
```
(Note that this help text also include general autoconf options, like
`--dvidir`, that is not relevant to OpenJDK. To list only OpenJDK specific
`--dvidir`, that is not relevant to the JDK. To list only JDK-specific
features, use `bash configure --help=short` instead.)
#### Configure Arguments for Tailoring the Build
@@ -680,9 +681,9 @@ features, use `bash configure --help=short` instead.)
* `--with-jtreg=<path>` - Set the path to JTReg. See [Running Tests](
#running-tests)
Certain third-party libraries used by OpenJDK (libjpeg, giflib, libpng, lcms
and zlib) are included in the OpenJDK repository. The default behavior of the
OpenJDK build is to use this version of these libraries, but they might be
Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms
and zlib) are included in the JDK repository. The default behavior of the
JDK build is to use this version of these libraries, but they might be
replaced by an external version. To do so, specify `system` as the `<source>`
option in these arguments. (The default is `bundled`).
@@ -726,7 +727,7 @@ accomplish anything. Instead use `--with-extra-cflags` (and similar for
## Running Make
When you have a proper configuration, all you need to do to build OpenJDK is to
When you have a proper configuration, all you need to do to build the JDK is to
run `make`. (But see the warning at [GNU Make](#gnu-make) about running the
correct version of make.)
@@ -747,7 +748,7 @@ Apart from the default target, here are some common make targets:
* `hotspot` - Build all of hotspot (but only hotspot)
* `hotspot-<variant>` - Build just the specified jvm variant
* `images` or `product-images` - Build the JRE and JDK images
* `images` or `product-images` - Build the JDK image
* `docs` or `docs-image` - Build the documentation image
* `test-image` - Build the test image
* `all` or `all-images` - Build all images (product, docs and test)
@@ -806,7 +807,7 @@ configuration, as opposed to the "configure time" configuration.
#### Test Make Control Variables
These make control variables only make sense when running tests. Please see
[Testing OpenJDK](testing.html) for details.
[Testing the JDK](testing.html) for details.
* `TEST`
* `TEST_JOBS`
@@ -826,20 +827,26 @@ Suggestions for Advanced Users](#hints-and-suggestions-for-advanced-users) and
## Running Tests
Most of the OpenJDK tests are using the [JTReg](http://openjdk.java.net/jtreg)
Most of the JDK tests are using the [JTReg](http://openjdk.java.net/jtreg)
test framework. Make sure that your configuration knows where to find your
installation of JTReg. If this is not picked up automatically, use the
`--with-jtreg=<path to jtreg home>` option to point to the JTReg framework.
Note that this option should point to the JTReg home, i.e. the top directory,
containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
recent builds of jtreg [here](
https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.
To execute the most basic tests (tier 1), use:
```
make run-test-tier1
```
For more details on how to run tests, please see the [Testing
OpenJDK](testing.html) document.
the JDK](testing.html) document.
## Cross-compiling
@@ -854,12 +861,12 @@ arise when building for embedded is due to this separation of *build* and
This requires a more complex setup and build procedure. This section assumes
you are familiar with cross-compiling in general, and will only deal with the
particularities of cross-compiling OpenJDK. If you are new to cross-compiling,
particularities of cross-compiling the JDK. If you are new to cross-compiling,
please see the [external links at Wikipedia](
https://en.wikipedia.org/wiki/Cross_compiler#External_links) for a good start
on reading materials.
Cross-compiling OpenJDK requires you to be able to build both for the build
Cross-compiling the JDK requires you to be able to build both for the build
platform and for the target platform. The reason for the former is that we need
to build and execute tools during the build process, both native tools and Java
tools.
@@ -1018,9 +1025,9 @@ A common cross-compilation target is the ARM CPU. When building for ARM, it is
useful to set the ABI profile. A number of pre-defined ABI profiles are
available using `--with-abi-profile`: arm-vfp-sflt, arm-vfp-hflt, arm-sflt,
armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer
properly supported on OpenJDK.
properly supported by the JDK.
OpenJDK contains two different ports for the aarch64 platform, one is the
The JDK contains two different ports for the aarch64 platform, one is the
original aarch64 port from the [AArch64 Port Project](
http://openjdk.java.net/projects/aarch64-port) and one is a 64-bit version of
the Oracle contributed ARM port. When targeting aarch64, by the default the
@@ -1033,15 +1040,15 @@ original aarch64 port is used. To select the Oracle ARM 64 port, use
The build will end up in a directory named like
`build/linux-arm-normal-server-release`.
Inside this build output directory, the `images/jdk` and `images/jre` will
contain the newly built JDK and JRE, respectively, for your *target* system.
Inside this build output directory, the `images/jdk` will contain the newly
built JDK, for your *target* system.
Copy these folders to your *target* system. Then you can run e.g.
`images/jdk/bin/java -version`.
## Build Performance
Building OpenJDK requires a lot of horsepower. Some of the build tools can be
Building the JDK requires a lot of horsepower. Some of the build tools can be
adjusted to utilize more or less of resources such as parallel threads and
memory. The `configure` script analyzes your system and selects reasonable
values for such options based on your hardware. If you encounter resource
@@ -1086,12 +1093,12 @@ as well as (if possible) the build tools.
### Virus Checking
The use of virus checking software, especially on Windows, can *significantly*
slow down building of OpenJDK. If possible, turn off such software, or exclude
the directory containing the OpenJDK source code from on-the-fly checking.
slow down building of the JDK. If possible, turn off such software, or exclude
the directory containing the JDK source code from on-the-fly checking.
### Ccache
The OpenJDK build supports building with ccache when using gcc or clang. Using
The JDK build supports building with ccache when using gcc or clang. Using
ccache can radically speed up compilation of native code if you often rebuild
the same sources. Your milage may vary however, so we recommend evaluating it
for yourself. To enable it, make sure it's on the path and configure with
@@ -1111,7 +1118,7 @@ You can experiment by disabling precompiled headers using
[icecc/icecream](http://github.com/icecc/icecream) is a simple way to setup a
distributed compiler network. If you have multiple machines available for
building OpenJDK, you can drastically cut individual build times by utilizing
building the JDK, you can drastically cut individual build times by utilizing
it.
To use, setup an icecc network, and install icecc on the build machine. Then
@@ -1220,9 +1227,9 @@ Most of the time, the build will fail due to incorrect changes in the source
code.
Sometimes the build can fail with no apparent changes that have caused the
failure. If this is the first time you are building OpenJDK on this particular
failure. If this is the first time you are building the JDK on this particular
computer, and the build fails, the problem is likely with your build
environment. But even if you have previously built OpenJDK with success, and it
environment. But even if you have previously built the JDK with success, and it
now fails, your build environment might have changed (perhaps due to OS
upgrades or similar). But most likely, such failures are due to problems with
the incremental rebuild.
@@ -1237,7 +1244,7 @@ repeated at the end, after the summary. The entire log is stored in
Verify that the summary at the end looks correct. Are you indeed using the Boot
JDK and native toolchain that you expect?
By default, OpenJDK has a strict approach where warnings from the compiler is
By default, the JDK has a strict approach where warnings from the compiler is
considered errors which fail the build. For very new or very old compiler
versions, this can trigger new classes of warnings, which thus fails the build.
Run `configure` with `--disable-warnings-as-errors` to turn of this behavior.
@@ -1335,7 +1342,7 @@ believe is a bug in the build system, please contact the Build Group by sending
a mail to [build-dev@openjdk.java.net](mailto:build-dev@openjdk.java.net).
Please include the relevant parts of the configure and/or build log.
If you need general help or advice about developing for OpenJDK, you can also
If you need general help or advice about developing for the JDK, you can also
contact the Adoption Group. See the section on [Contributing to OpenJDK](
#contributing-to-openjdk) for more information.
@@ -1346,7 +1353,7 @@ contact the Adoption Group. See the section on [Contributing to OpenJDK](
To help you prepare a proper push path for a Mercurial repository, there exists
a useful tool known as [defpath](
http://openjdk.java.net/projects/code-tools/defpath). It will help you setup a
proper push path for pushing changes to OpenJDK.
proper push path for pushing changes to the JDK.
Install the extension by cloning
`http://hg.openjdk.java.net/code-tools/defpath` and updating your `.hgrc` file.
@@ -1454,10 +1461,11 @@ product.
#### Building Individual Modules
The safe way to use fine-grained make targets is to use the module specific
make targets. All source code in JDK 9 is organized so it belongs to a module,
e.g. `java.base` or `jdk.jdwp.agent`. You can build only a specific module, by
giving it as make target: `make jdk.jdwp.agent`. If the specified module
depends on other modules (e.g. `java.base`), those modules will be built first.
make targets. All source code in the JDK is organized so it belongs to a
module, e.g. `java.base` or `jdk.jdwp.agent`. You can build only a specific
module, by giving it as make target: `make jdk.jdwp.agent`. If the specified
module depends on other modules (e.g. `java.base`), those modules will be built
first.
You can also specify a set of modules, just as you can always specify a set of
make targets: `make jdk.crypto.cryptoki jdk.crypto.ec jdk.crypto.mscapi
@@ -1505,7 +1513,7 @@ jdk.jdwp.agent`) and then on subsequent builds, use the `-only` make target.
#### Rebuilding Part of java.base (JDK\_FILTER)
If you are modifying files in `java.base`, which is the by far largest module
in OpenJDK, then you need to rebuild all those files whenever a single file has
in the JDK, then you need to rebuild all those files whenever a single file has
changed. (This inefficiency will hopefully be addressed in JDK 10.)
As a hack, you can use the make control variable `JDK_FILTER` to specify a
@@ -1516,7 +1524,7 @@ to files in the `javax.crypto` package.
### Learn About Mercurial
To become an efficient OpenJDK developer, it is recommended that you invest in
To become an efficient JDK developer, it is recommended that you invest in
learning Mercurial properly. Here are some links that can get you started:
* [Mercurial for git users](http://www.mercurial-scm.org/wiki/GitConcepts)
@@ -1592,7 +1600,7 @@ Windows path typically look like `C:\User\foo`, while Unix paths look like
`/home/foo`. Tools with roots from Unix often experience issues related to this
mismatch when running on Windows.
In the OpenJDK build, we always use Unix paths internally, and only just before
In the JDK build, we always use Unix paths internally, and only just before
calling a tool that does not understand Unix paths do we convert them to
Windows paths.
@@ -1607,7 +1615,7 @@ information) associated with them. How this works is very much platform
dependent, but a common problem is that debug symbol information takes a lot of
disk space, but is rarely needed by the end user.
The OpenJDK supports different methods on how to handle debug symbols. The
The JDK supports different methods on how to handle debug symbols. The
method used is selected by `--with-native-debug-symbols`, and available methods
are `none`, `internal`, `external`, `zipped`.
@@ -1632,7 +1640,7 @@ debugging, but should be stripped before distributed to end users.
The `configure` script is based on the autoconf framework, but in some details
deviate from a normal autoconf `configure` script.
The `configure` script in the top level directory of OpenJDK is just a thin
The `configure` script in the top level directory of the JDK is just a thin
wrapper that calls `make/autoconf/configure`. This in turn will run `autoconf`
to create the runnable (generated) configure script, as
`.build/generated-configure.sh`. Apart from being responsible for the
@@ -1644,7 +1652,7 @@ The build system will detect if the Autoconf source files have changed, and
will trigger a regeneration of the generated script if needed. You can also
manually request such an update by `bash configure autogen`.
In previous versions of the OpenJDK, the generated script was checked in at
In previous versions of the JDK, the generated script was checked in at
`make/autoconf/generated-configure.sh`. This is no longer the case.
### Developing the Build System Itself
@@ -1653,7 +1661,7 @@ This section contains a few remarks about how to develop for the build system
itself. It is not relevant if you are only making changes in the product source
code.
While technically using `make`, the make source files of the OpenJDK does not
While technically using `make`, the make source files of the JDK does not
resemble most other Makefiles. Instead of listing specific targets and actions
(perhaps using patterns), the basic modus operandi is to call a high-level
function (or properly, macro) from the API in `make/common`. For instance, to
@@ -1698,13 +1706,13 @@ Please check that you adhere to the [Code Conventions for the Build System](
http://openjdk.java.net/groups/build/doc/code-conventions.html) before
submitting patches.
## Contributing to OpenJDK
## Contributing to the JDK
So, now you've build your OpenJDK, and made your first patch, and want to
contribute it back to the OpenJDK community.
So, now you've built your JDK, and made your first patch, and want to
contribute it back to the OpenJDK Community.
First of all: Thank you! We gladly welcome your contribution to the OpenJDK.
However, please bear in mind that OpenJDK is a massive project, and we must ask
First of all: Thank you! We gladly welcome your contribution.
However, please bear in mind that the JDK is a massive project, and we must ask
you to follow our rules and guidelines to be able to accept your contribution.
The official place to start is the ['How to contribute' page](

View File

@@ -1,11 +1,16 @@
<!DOCTYPE html>
<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>Testing OpenJDK</title>
<style type="text/css">code{white-space: pre;}</style>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Testing 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>
@@ -14,7 +19,7 @@
</head>
<body>
<header>
<h1 class="title">Testing OpenJDK</h1>
<h1 class="title">Testing the JDK</h1>
</header>
<nav id="TOC">
<ul>
@@ -33,31 +38,32 @@
</ul>
</nav>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target &quot;run-test&quot; uses the jdk-image as the tested product. There is also an alternate target &quot;exploded-run-test&quot; that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>This new way of running tests is developer-centric. It assumes that you have built a JDK locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target “run-test” uses the jdk-image as the tested product. There is also an alternate target exploded-run-test that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>Some example command-lines:</p>
<pre><code>$ make run-test-tier1
$ make run-test-jdk_lang JTREG=&quot;JOBS=8&quot;
$ make run-test TEST=jdk_lang
$ make run-test-only TEST=&quot;gtest:LogTagSet gtest:LogTagSetDescriptions&quot; GTEST=&quot;REPEAT=-1&quot;
$ make run-test TEST=&quot;hotspot/test:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make run-test TEST=&quot;jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java&quot;
$ make exploded-run-test TEST=hotspot_tier1</code></pre>
$ make run-test TEST=&quot;hotspot:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make run-test TEST=&quot;jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java&quot;
$ make exploded-run-test TEST=tier2</code></pre>
<h3 id="configuration">Configuration</h3>
<p>To be able to run JTReg tests, <code>configure</code> needs to know where to find the JTReg test framework. If it is not picked up automatically by configure, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc. (An alternative is to set the <code>JT_HOME</code> environment variable to point to the JTReg home before running <code>configure</code>.)</p>
<p>To be able to run JTReg tests, <code>configure</code> needs to know where to find the JTReg test framework. If it is not picked up automatically by configure, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc. (An alternative is to set the <code>JT_HOME</code> environment variable to point to the JTReg home before running <code>configure</code>.)</p>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the run-test make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, run-test-only can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make run-test-tier1</code> is equivalent to <code>make run-test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>run-test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:jdk/test:tier1 jtreg:langtools/test:tier1 jtreg:nashorn/test:tier1 jtreg:jaxp/test:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="jtreg">JTReg</h3>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot/test:tier1</code>, <code>jdk/test:jdk_util</code>.</p>
<p>When specified without a test root, all matching groups from all tests roots will be added. Otherwise, only the group from the specified test root will be added.</p>
<p>Individual JTReg tests or directories containing JTReg tests can also be specified, like <code>hotspot/test/native_sanity/JniVersion.java</code> or <code>hotspot/test/native_sanity</code>. You can also specify an absolute path, to point to a JTReg test outside the source tree.</p>
<p>As long as the test groups or test paths can be uniquely resolved, you do not need to enter the <code>jtreg:</code> prefix. If this is not possible, or if you want to use a fully qualified test descriptor, add <code>jtreg:</code>, e.g. <code>jtreg:hotspot/test/native_sanity</code>.</p>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot:tier1</code>, <code>test/jdk:jdk_util</code> or <code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can be specified either as an absolute path, or a path relative to the JDK top directory, or the <code>test</code> directory. For simplicity, the hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can be abbreviated as just <code>hotspot</code>.</p>
<p>When specified without a test root, all matching groups from all test roots will be added. Otherwise, only the group from the specified test root will be added.</p>
<p>Individual JTReg tests or directories containing JTReg tests can also be specified, like <code>test/hotspot/jtreg/native_sanity/JniVersion.java</code> or <code>hotspot/jtreg/native_sanity</code>. Just like for test root selection, you can either specify an absolute path (which can even point to JTReg tests outside the source tree), or a path relative to either the JDK top directory or the <code>test</code> directory. <code>hotspot</code> can be used as an alias for <code>hotspot/jtreg</code> here as well.</p>
<p>As long as the test groups or test paths can be uniquely resolved, you do not need to enter the <code>jtreg:</code> prefix. If this is not possible, or if you want to use a fully qualified test descriptor, add <code>jtreg:</code>, e.g. <code>jtreg:test/hotspot/jtreg/native_sanity</code>.</p>
<h3 id="gtest">Gtest</h3>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all tests. This is specified by just <code>gtest</code>, or as a fully qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of tests, for instance <code>gtest:LogDecorations</code> or <code>gtest:LogDecorations.level_test_vm</code>. This can be particularly useful if you want to run a shaky test repeatedly.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
<h2 id="test-results-and-summary">Test results and summary</h2>
<p>At the end of the test run, a summary of all tests run will be presented. This will have a consistent look, regardless of what test suites were used. This is a sample summary:</p>
<pre><code>==============================
@@ -72,13 +78,13 @@ TEST FAILURE</code></pre>
<p>Tests where the number of TOTAL tests does not equal the number of PASSed tests will be considered a test failure. These are marked with the <code>&gt;&gt; ... &lt;&lt;</code> marker for easy identification.</p>
<p>The classification of non-passed tests differs a bit between test suites. In the summary, ERROR is used as a catch-all for tests that neither passed nor are classified as failed by the framework. This might indicate test framework error, timeout or other problems.</p>
<p>In case of test failures, <code>make run-test</code> will exit with a non-zero exit value.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<p>Additional work data is stored in <code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks, this directory might contain information that is useful in determining the cause of a failed test.</p>
<h2 id="test-suite-control">Test suite control</h2>
<p>It is possible to control various aspects of the test suites using make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG=&quot;JOBS=1;TIMEOUT=8&quot;</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG=&quot;TMIEOUT=8&quot;</code> would give an error, while <code>JTREG_TMIEOUT=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <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>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h4 id="jobs">JOBS</h4>

View File

@@ -1,9 +1,9 @@
% Testing OpenJDK
% Testing the JDK
## Using the run-test framework
This new way of running tests is developer-centric. It assumes that you have
built a jdk locally and want to test it. Running common test targets is simple,
built a JDK locally and want to test it. Running common test targets is simple,
and more complex ad-hoc combination of tests is possible. The user interface is
forgiving, and clearly report errors it cannot resolve.
@@ -18,9 +18,9 @@ Some example command-lines:
$ make run-test-jdk_lang JTREG="JOBS=8"
$ make run-test TEST=jdk_lang
$ make run-test-only TEST="gtest:LogTagSet gtest:LogTagSetDescriptions" GTEST="REPEAT=-1"
$ make run-test TEST="hotspot/test:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make run-test TEST="jtreg:hotspot/test:hotspot_gc hotspot/test/native_sanity/JniVersion.java"
$ make exploded-run-test TEST=hotspot_tier1
$ make run-test TEST="hotspot:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make run-test TEST="jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java"
$ make exploded-run-test TEST=tier2
### Configuration
@@ -46,30 +46,41 @@ test runs, the `run-test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to `jtreg:jdk/test:tier1
jtreg:langtools/test:tier1 jtreg:nashorn/test:tier1 jtreg:jaxp/test:tier1`. You
can always submit a list of fully qualified test descriptors in the `TEST`
variable if you want to shortcut the parser.
example, `:tier1` will expand to `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1
jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.
### JTReg
JTReg test groups can be specified either without a test root, e.g. `:tier1`
(or `tier1`, the initial colon is optional), or with, e.g.
`hotspot/test:tier1`, `jdk/test:jdk_util`.
JTReg tests can be selected either by picking a JTReg test group, or a selection
of files or directories containing JTReg tests.
When specified without a test root, all matching groups from all tests roots
JTReg test groups can be specified either without a test root, e.g. `:tier1`
(or `tier1`, the initial colon is optional), or with, e.g. `hotspot:tier1`,
`test/jdk:jdk_util` or `$(TOPDIR)/test/hotspot/jtreg:hotspot_all`. The test
root can be specified either as an absolute path, or a path relative to the
JDK top directory, or the `test` directory. For simplicity, the hotspot
JTReg test root, which really is `hotspot/jtreg` can be abbreviated as
just `hotspot`.
When specified without a test root, all matching groups from all test roots
will be added. Otherwise, only the group from the specified test root will be
added.
Individual JTReg tests or directories containing JTReg tests can also be
specified, like `hotspot/test/native_sanity/JniVersion.java` or
`hotspot/test/native_sanity`. You can also specify an absolute path, to point
to a JTReg test outside the source tree.
specified, like `test/hotspot/jtreg/native_sanity/JniVersion.java` or
`hotspot/jtreg/native_sanity`. Just like for test root selection, you can
either specify an absolute path (which can even point to JTReg tests outside
the source tree), or a path relative to either the JDK top directory or the
`test` directory. `hotspot` can be used as an alias for `hotspot/jtreg` here as
well.
As long as the test groups or test paths can be uniquely resolved, you do not
need to enter the `jtreg:` prefix. If this is not possible, or if you want to
use a fully qualified test descriptor, add `jtreg:`, e.g.
`jtreg:hotspot/test/native_sanity`.
`jtreg:test/hotspot/jtreg/native_sanity`.
### Gtest

View File

@@ -1,115 +0,0 @@
#
# Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JarArchive.gmk
include JavaCompilation.gmk
include SetupJavaCompilers.gmk
include TextFileProcessing.gmk
include Modules.gmk
JDK_CLASSES := $(call PathList, $(strip $(addprefix $(JDK_OUTPUTDIR)/modules/, \
java.base java.logging java.scripting jdk.dynalink)))
# Need to use source and target 8 for nasgen to work.
$(eval $(call SetupJavaCompiler, GENERATE_NEWBYTECODE_DEBUG, \
JVM := $(JAVA_JAVAC), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -g -source 10 -target 10 --upgrade-module-path "$(JDK_OUTPUTDIR)/modules/" \
--system none --module-source-path $(call GetModuleSrcPath), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
# Build nashorn into intermediate directory
# Name the compilation setup the same as the module, as is done in the global
# CompileJavaModules.gmk, to make dependency checking with other modules work
# seamlessly.
$(eval $(call SetupJavaCompilation, jdk.scripting.nashorn, \
SETUP := GENERATE_NEWBYTECODE_DEBUG, \
MODULE := jdk.scripting.nashorn, \
SRC := $(TOPDIR)/src/jdk.scripting.nashorn/share/classes, \
COPY := .properties .js, \
BIN := $(SUPPORT_OUTPUTDIR)/special_classes, \
CREATE_API_DIGEST := true, \
))
# Declare dependencies between java compilations of different modules.
# Since the other modules are declared in different invocations of this file,
# use the macro to find the correct target file to depend on.
# Only the javac compilation actually depends on other modules so limit
# dependency declaration to that by using the *_COMPILE_TARGET variable.
$(jdk.scripting.nashorn_COMPILE_TARGET): $(foreach d, $(call FindDepsForModule, jdk.scripting.nashorn), \
$(call SetupJavaCompilationApiTarget, $d, \
$(if $($d_BIN), $($d_BIN), $(JDK_OUTPUTDIR)/modules/$d)))
NASGEN_SRC := $(TOPDIR)/make/nashorn/buildtools/nasgen/src
ASM_SRC := $(TOPDIR)/src/java.base/share/classes/jdk/internal/org/objectweb/asm
# Build nasgen
$(eval $(call SetupJavaCompilation, BUILD_NASGEN, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(NASGEN_SRC) $(ASM_SRC), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes))
NASHORN_CLASSES_DIR := $(JDK_OUTPUTDIR)/modules/jdk.scripting.nashorn
NASGEN_RUN_FILE := $(NASHORN_CLASSES_DIR)/_the.nasgen.run
NASGEN_OPTIONS := \
-cp $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
--add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
--add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \
#
# Copy classes to final classes dir and run nasgen to modify classes in jdk.nashorn.internal.objects package
$(NASGEN_RUN_FILE): $(BUILD_NASGEN) $(jdk.scripting.nashorn)
$(ECHO) Running nasgen
$(MKDIR) -p $(@D)
$(RM) -rf $(@D)/jdk $(@D)/netscape
$(CP) -R -p $(SUPPORT_OUTPUTDIR)/special_classes/jdk.scripting.nashorn/* $(@D)/
$(JAVA_SMALL) $(NASGEN_OPTIONS) \
jdk.nashorn.internal.tools.nasgen.Main $(@D) jdk.nashorn.internal.objects $(@D)
$(TOUCH) $@
# Version file needs to be processed with version numbers
$(eval $(call SetupTextFileProcessing, BUILD_VERSION_FILE, \
SOURCE_FILES := $(TOPDIR)/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/version.properties.template, \
OUTPUT_FILE := $(JDK_OUTPUTDIR)/modules/jdk.scripting.nashorn/jdk/nashorn/internal/runtime/resources/version.properties, \
REPLACEMENTS := \
@@VERSION_STRING@@ => $(VERSION_STRING) ; \
@@VERSION_SHORT@@ => $(VERSION_SHORT) , \
))
# Version processing needs to happen after nasgen run since nasgen run deletes it
$(BUILD_VERSION_FILE): $(NASGEN_RUN_FILE)
compile: $(NASGEN_RUN_FILE) $(BUILD_VERSION_FILE)
all: compile
.PHONY: compile all

View File

@@ -146,19 +146,13 @@ endef
# correct base directories.
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home
JDK_BUNDLE_SUBDIR :=
JRE_BUNDLE_SUBDIR :=
else
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif
endif
@@ -204,26 +198,6 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES))
ALL_JRE_FILES := $(call CacheFind, $(JRE_IMAGE_DIR))
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
$(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES))))
endif
endif
JRE_BUNDLE_FILES := $(filter-out \
$(JRE_SYMBOLS_EXCLUDE_PATTERN) \
$(SYMBOLS_EXCLUDE_PATTERN), \
$(ALL_JRE_FILES))
JRE_SYMBOLS_BUNDLE_FILES := $(filter \
$(JRE_SYMBOLS_EXCLUDE_PATTERN) \
$(SYMBOLS_EXCLUDE_PATTERN), \
$(ALL_JRE_FILES))
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
FILES := $(JDK_BUNDLE_FILES), \
@@ -234,15 +208,6 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
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), \
))
PRODUCT_TARGETS += $(BUILD_JRE_BUNDLE)
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \
@@ -253,16 +218,6 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE)
$(eval $(call SetupBundleFile, BUILD_JRE_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JRE_SYMBOLS_BUNDLE_NAME), \
FILES := $(JRE_SYMBOLS_BUNDLE_FILES), \
BASE_DIRS := $(JRE_IMAGE_DIR), \
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
UNZIP_DEBUGINFO := true, \
))
PRODUCT_TARGETS += $(BUILD_JRE_SYMBOLS_BUNDLE)
# 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
# better with the product build, it makes more sense to keep it there for now.

View File

@@ -68,55 +68,6 @@ $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
@@COMPANY_NAME@@ => $(COMPANY_NAME) , \
))
################################################################################
# Build applet demos.
# Setup make rules for building a demo applet.
#
# Parameter 1 is the name of the rule. This name is used as variable prefix,
# and the targets generated are listed in a variable by that name. It is also
# used to locate the name of the applet subdir, and to determine the name
# of the output directory.
#
# Remaining parameters are named arguments. These include:
# SRC_DIR Alternative source directory to use for the demos.
# DISABLE_SJAVAC Passed to SetupJavaCompilation
SetupBuildAppletDemo = $(NamedParamsMacroTemplate)
define SetupBuildAppletDemoBody
ifeq ($$($1_SRC_DIR), )
$1_SRC_DIR := $(DEMO_SHARE_SRC)/applets
endif
$$(eval $$(call SetupJavaCompilation, BUILD_DEMO_APPLET_$1, \
SETUP := GENERATE_USINGJDKBYTECODE, \
SRC := $$($1_SRC_DIR)/$1, \
BIN := $(SUPPORT_OUTPUTDIR)/demos/image/applets/$1, \
COPY := .html .java .xyz .obj .au .gif, \
DISABLE_SJAVAC := $$($1_DISABLE_SJAVAC), \
))
$1 := $$(BUILD_DEMO_APPLET_$1)
TARGETS += $$($1)
endef
ifneq ($(OPENJDK_TARGET_OS), solaris)
$(eval $(call SetupBuildAppletDemo, ArcTest))
$(eval $(call SetupBuildAppletDemo, BarChart))
$(eval $(call SetupBuildAppletDemo, Blink))
$(eval $(call SetupBuildAppletDemo, CardTest))
$(eval $(call SetupBuildAppletDemo, Clock))
$(eval $(call SetupBuildAppletDemo, DitherTest))
$(eval $(call SetupBuildAppletDemo, DrawTest))
$(eval $(call SetupBuildAppletDemo, Fractal))
$(eval $(call SetupBuildAppletDemo, GraphicsTest))
$(eval $(call SetupBuildAppletDemo, NervousText))
$(eval $(call SetupBuildAppletDemo, SimpleGraph))
$(eval $(call SetupBuildAppletDemo, SortDemo))
$(eval $(call SetupBuildAppletDemo, SpreadSheet))
endif
################################################################################
# Build normal demos.
@@ -220,24 +171,6 @@ $(CODEPOINT_METAINF_SERVICE_FILE): $(DEMO_SHARE_SRC)/jfc/CodePointIM/$(CODEPOINT
$(BUILD_DEMO_CodePointIM_JAR): $(CODEPOINT_METAINF_SERVICE_FILE)
ifneq ($(OPENJDK_TARGET_OS), solaris)
$(eval $(call SetupBuildDemo, MoleculeViewer, \
DEMO_SUBDIR := applets, \
MAIN_CLASS := XYZChemModel, \
EXTRA_COPY_TO_IMAGE := *.java, \
))
$(eval $(call SetupBuildDemo, WireFrame, \
DEMO_SUBDIR := applets, \
MAIN_CLASS := ThreeD, \
EXTRA_COPY_TO_IMAGE := *.java, \
))
$(eval $(call SetupBuildDemo, SwingApplet, \
DEMO_SUBDIR := jfc, \
))
endif
$(eval $(call SetupBuildDemo, FileChooserDemo, \
DEMO_SUBDIR := jfc, \
))
@@ -253,6 +186,12 @@ $(eval $(call SetupBuildDemo, Font2DTest, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, J2Ddemo, \
DEMO_SUBDIR := jfc, \
MAIN_CLASS := java2d.J2Ddemo, \
JAR_NAME := J2Ddemo, \
))
$(eval $(call SetupBuildDemo, Metalworks, \
DEMO_SUBDIR := jfc, \
))
@@ -261,6 +200,12 @@ $(eval $(call SetupBuildDemo, Notepad, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, Stylepad, \
DEMO_SUBDIR := jfc, \
EXTRA_SRC_DIR := $(DEMO_SHARE_SRC)/jfc/Notepad, \
EXCLUDE_FILES := $(DEMO_SHARE_SRC)/jfc/Notepad/README.txt, \
))
$(eval $(call SetupBuildDemo, SampleTree, \
DEMO_SUBDIR := jfc, \
))
@@ -292,8 +237,7 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
ifeq ($(OPENJDK_TARGET_OS), solaris)
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(filter-out $(DEMO_SHARE_SRC)/nbproject/jfc/SwingApplet%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject)))
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
else
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \

View File

@@ -325,6 +325,10 @@ jdk.internal.le_COPY += .properties
################################################################################
jdk.internal.opt_COPY += .properties
################################################################################
jdk.jcmd_COPY += _options
################################################################################
@@ -341,6 +345,12 @@ jdk.jartool_ADD_JAVAC_FLAGS += -XDstringConcat=inline
################################################################################
jdk.scripting.nashorn_ADD_JAVAC_FLAGS += $(DISABLE_WARNINGS),-overrides
jdk.scripting.nashorn_COPY := .properties .js
################################################################################
jdk.scripting.nashorn.shell_ADD_JAVAC_FLAGS += $(DISABLE_WARNINGS),-overrides
jdk.scripting.nashorn.shell_COPY += .js .properties
################################################################################
@@ -440,11 +450,13 @@ jdk.internal.vm.compiler_ADD_JAVAC_FLAGS += -parameters -XDstringConcat=inline \
jdk.internal.vm.compiler_EXCLUDES += \
jdk.internal.vm.compiler.collections.test \
org.graalvm.compiler.processor \
org.graalvm.compiler.core.match.processor \
org.graalvm.compiler.nodeinfo.processor \
org.graalvm.compiler.options.processor \
org.graalvm.compiler.serviceprovider.processor \
org.graalvm.compiler.replacements.verifier \
org.graalvm.compiler.replacements.processor \
org.graalvm.compiler.replacements.jdk9.test \
org.graalvm.compiler.api.directives.test \
org.graalvm.compiler.api.test \
org.graalvm.compiler.asm.aarch64.test \
@@ -509,6 +521,16 @@ jdk.localedata_COPY += _dict _th
# Exclude BreakIterator classes that are just used in compile process to generate
# data files and shouldn't go in the product
jdk.localedata_EXCLUDE_FILES += sun/text/resources/ext/BreakIteratorRules_th.java
jdk.localedata_KEEP_ALL_TRANSLATIONS := true
################################################################################
# There is an issue in sjavac that triggers a warning in jdk.jfr that isn't
# triggered without sjavac.
ifeq ($(ENABLE_SJAVAC), yes)
jdk.jfr_SETUP := GENERATE_JDKBYTECODE_NOWARNINGS
endif
jdk.jfr_COPY := .xsd .xml .dtd
jdk.jfr_ADD_JAVAC_FLAGS := -XDstringConcat=inline -Xlint:-exports
################################################################################
# If this is an imported module that has prebuilt classes, only compile
@@ -633,6 +655,12 @@ endif
################################################################################
ifeq ($(MODULE), jdk.scripting.nashorn)
include CompileJavaModulesNashorn.gmk
endif
################################################################################
$(eval $(call IncludeCustomExtension, CompileJavaModules-post.gmk))
################################################################################

View File

@@ -0,0 +1,54 @@
#
# Copyright (c) 2010, 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.
#
NASGEN_SRC := $(TOPDIR)/make/nashorn/buildtools/nasgen/src
ASM_SRC := $(TOPDIR)/src/java.base/share/classes/jdk/internal/org/objectweb/asm
# Build nasgen
$(eval $(call SetupJavaCompilation, BUILD_NASGEN, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(NASGEN_SRC) $(ASM_SRC), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes, \
))
NASHORN_CLASSES_DIR := $(JDK_OUTPUTDIR)/modules/$(MODULE)
NASGEN_RUN_FILE := $(NASHORN_CLASSES_DIR)/_the.nasgen.run
NASGEN_OPTIONS := \
-cp $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
--add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
--add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \
#
# Run nasgen to modify classes in jdk.nashorn.internal.objects package
$(NASGEN_RUN_FILE): $(BUILD_NASGEN) $($(MODULE))
$(ECHO) Running nasgen
$(JAVA_SMALL) $(NASGEN_OPTIONS) \
jdk.nashorn.internal.tools.nasgen.Main $(@D) \
jdk.nashorn.internal.objects $(@D)
$(TOUCH) $@
TARGETS += $(NASGEN_RUN_FILE)

View File

@@ -47,34 +47,8 @@ ifeq ($(INCLUDE_GRAAL), true)
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/jdk.internal.vm.compiler.word/src \
$(SRC_DIR)/jdk.internal.vm.compiler.collections/src \
$(SRC_DIR)/org.graalvm.compiler.core/src \
$(SRC_DIR)/org.graalvm.compiler.core.common/src \
$(SRC_DIR)/org.graalvm.compiler.processor/src \
$(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
$(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
$(SRC_DIR)/org.graalvm.compiler.asm/src \
$(SRC_DIR)/org.graalvm.compiler.bytecode/src \
$(SRC_DIR)/org.graalvm.compiler.code/src \
$(SRC_DIR)/org.graalvm.compiler.debug/src \
$(SRC_DIR)/org.graalvm.compiler.graph/src \
$(SRC_DIR)/org.graalvm.compiler.lir/src \
$(SRC_DIR)/org.graalvm.compiler.loop/src \
$(SRC_DIR)/org.graalvm.compiler.loop.phases/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.nodes/src \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.phases/src \
$(SRC_DIR)/org.graalvm.compiler.phases.common/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(SRC_DIR)/org.graalvm.compiler.virtual/src \
$(SRC_DIR)/org.graalvm.graphio/src \
$(SRC_DIR)/org.graalvm.util/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor, \
@@ -88,7 +62,7 @@ ifeq ($(INCLUDE_GRAAL), true)
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_NODEINFO_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.processor/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo.processor/src \
, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor, \
@@ -102,10 +76,8 @@ ifeq ($(INCLUDE_GRAAL), true)
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_OPTIONS_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/jdk.internal.vm.compiler.collections/src \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.processor/src \
$(SRC_DIR)/org.graalvm.compiler.options.processor/src \
$(SRC_DIR)/org.graalvm.util/src \
, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar, \
@@ -115,44 +87,26 @@ ifeq ($(INCLUDE_GRAAL), true)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER, \
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/jdk.internal.vm.compiler.word/src \
$(SRC_DIR)/jdk.internal.vm.compiler.collections/src \
$(SRC_DIR)/org.graalvm.compiler.bytecode/src \
$(SRC_DIR)/org.graalvm.compiler.replacements.verifier/src \
$(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
$(SRC_DIR)/org.graalvm.compiler.code/src \
$(SRC_DIR)/org.graalvm.compiler.core.common/src \
$(SRC_DIR)/org.graalvm.compiler.debug/src \
$(SRC_DIR)/org.graalvm.compiler.graph/src \
$(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
$(SRC_DIR)/org.graalvm.compiler.options/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(SRC_DIR)/org.graalvm.graphio/src \
$(SRC_DIR)/org.graalvm.util/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
$(SRC_DIR)/org.graalvm.compiler.processor/src \
$(SRC_DIR)/org.graalvm.compiler.replacements.processor/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier, \
JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar, \
))
TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER)
TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR)
##############################################################################
$(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
$(SRC_DIR)/org.graalvm.compiler.processor/src \
$(SRC_DIR)/org.graalvm.compiler.serviceprovider.processor/src \
$(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
, \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor, \

View File

@@ -39,16 +39,16 @@ $(eval $(call IncludeCustomExtension, CreateJmods.gmk))
JMODS_DIR := $(IMAGES_OUTPUTDIR)/jmods
JMODS_TEMPDIR := $(SUPPORT_OUTPUTDIR)/jmods
LIBS_DIR := $(firstword $(wildcard $(addsuffix /$(MODULE), \
LIBS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_libs $(IMPORT_MODULES_LIBS))))
CMDS_DIR := $(firstword $(wildcard $(addsuffix /$(MODULE), \
CMDS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(IMPORT_MODULES_CMDS))))
CONF_DIR := $(firstword $(wildcard $(addsuffix /$(MODULE), \
CONF_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_conf $(IMPORT_MODULES_CONF))))
CLASSES_DIR := $(wildcard $(JDK_OUTPUTDIR)/modules/$(MODULE))
INCLUDE_HEADERS_DIR := $(firstword $(wildcard $(addsuffix /$(MODULE), \
CLASSES_DIR ?= $(wildcard $(JDK_OUTPUTDIR)/modules/$(MODULE))
INCLUDE_HEADERS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_include $(IMPORT_MODULES_INCLUDE_HEADERS))))
MAN_DIR := $(firstword $(wildcard $(addsuffix /$(MODULE), \
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
$(eval $(call FillCacheFind, \
@@ -121,11 +121,21 @@ else # not java.base
ifeq ($(OPENJDK_TARGET_OS), windows)
# Only java.base needs to include the MSVC*_DLLs. Make sure no other module
# tries to include them (typically imported ones).
ifneq ($(wildcard $(LIBS_DIR)/$(notdir $(MSVCR_DLL))), )
JMOD_FLAGS += --exclude '$(notdir $(MSVCR_DLL))'
ifneq ($(MSVCR_DLL), )
ifneq ($(wildcard $(LIBS_DIR)/$(notdir $(MSVCR_DLL))), )
JMOD_FLAGS += --exclude '$(notdir $(MSVCR_DLL))'
endif
endif
ifneq ($(wildcard $(LIBS_DIR)/$(notdir $(MSVCP_DLL))), )
JMOD_FLAGS += --exclude '$(notdir $(MSVCP_DLL))'
ifneq ($(MSVCP_DLL), )
ifneq ($(wildcard $(LIBS_DIR)/$(notdir $(MSVCP_DLL))), )
JMOD_FLAGS += --exclude '$(notdir $(MSVCP_DLL))'
endif
endif
ifneq ($(UCRT_DLL_DIR), )
UCRT_DLL_FILES := $(notdir $(wildcard $(UCRT_DLL_DIR)/*.dll))
ifneq ($(wildcard $(LIBS_DIR)/$(firstword $(UCRT_DLL_FILES))), )
JMOD_FLAGS += $(patsubst %, --exclude '%', $(UCRT_DLL_FILES))
endif
endif
endif
endif

View File

@@ -85,7 +85,6 @@ JAVADOC_TAGS := \
-tag throws \
-taglet build.tools.taglet.ModuleGraph \
-tag since \
-tag version \
-tag serialData \
-tag factory \
-tag see \
@@ -275,6 +274,8 @@ define SetupApiDocsGenerationBody
$1_INDIRECT_EXPORTS := $$(call FindTransitiveIndirectDepsForModules, $$($1_MODULES))
$1_ALL_MODULES := $$(sort $$($1_MODULES) $$($1_INDIRECT_EXPORTS))
$1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION)
ifeq ($$(ENABLE_FULL_DOCS), true)
# Tell the ModuleGraph taglet to generate html links to soon-to-be-created
# png files with module graphs.
@@ -330,6 +331,8 @@ define SetupApiDocsGenerationBody
ifeq ($$($1_JAVADOC_CMD), )
$1_JAVADOC_CMD := $$(JAVA) -Djava.awt.headless=true $$($1_JAVA_ARGS) \
$$(NEW_JAVADOC)
else
$1_OPTIONS += $$(addprefix -J, $$($1_JAVA_ARGS))
endif
$1_VARDEPS := $$($1_JAVA_ARGS) $$($1_OPTIONS) $$(MODULES_SOURCE_PATH) \
@@ -463,7 +466,9 @@ $(eval $(call SetupApiDocsGeneration, JAVASE_API, \
# Setup generation of the reference Java SE API documentation (javadoc + modulegraph)
# The reference javadoc is just the same as javase, but using the BootJDK javadoc
# and a stable set of javadoc options.
# and a stable set of javadoc options. Typically it is used for generating
# diffs between the reference javadoc and a javadoc bundle of a specific build
# generated in the same way.
$(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
MODULES := $(JAVASE_MODULES), \
@@ -497,10 +502,9 @@ $(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
# Copy the legal notices distributed with the docs bundle
DOCS_LEGAL_NOTICES := jquery.md jszip.md pako.md
$(eval $(call SetupCopyFiles, COPY_DOCS_LEGAL_NOTICES, \
SRC := $(TOPDIR)/src/jdk.javadoc/share/legal, \
FILES := $(DOCS_LEGAL_NOTICES), \
FILES := $(wildcard $(TOPDIR)/src/jdk.javadoc/share/legal/*), \
DEST := $(DOCS_OUTPUTDIR)/legal, \
))
JDK_INDEX_TARGETS += $(COPY_DOCS_LEGAL_NOTICES)

View File

@@ -40,10 +40,10 @@ help:
$(info $(_) # image (alias for jdk or exploded-image))
$(info $(_) make all # Create all images: product, test, docs)
$(info $(_) # (alias for all-images))
$(info $(_) make images # Create complete jdk and jre images)
$(info $(_) make images # Create a complete jdk image)
$(info $(_) # (alias for product-images))
$(info $(_) make <name>-image # Build just the image for any of: )
$(info $(_) # jdk, jre, test, docs, symbols)
$(info $(_) # jdk, test, docs, symbols, legacy-jre)
$(info $(_) make <phase> # Build the specified phase and everything it depends on)
$(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info $(_) make *-only # Applies to most targets and disables building the)

View File

@@ -90,7 +90,7 @@ endif
$(JDK_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JDK_MODULES_LIST) $(BASE_RELEASE_FILE)
$(ECHO) Creating jdk jimage
$(ECHO) Creating jdk image
$(RM) -r $(JDK_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jdk, \
$(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
@@ -101,7 +101,7 @@ $(JDK_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(JRE_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JRE_MODULES_LIST) $(BASE_RELEASE_FILE)
$(ECHO) Creating jre jimage
$(ECHO) Creating legacy jre image
$(RM) -r $(JRE_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jre, \
$(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \

View File

@@ -298,7 +298,6 @@ else # HAS_SPEC=true
main: $(INIT_TARGETS)
ifneq ($(SEQUENTIAL_TARGETS)$(PARALLEL_TARGETS), )
$(call RotateLogFiles)
$(call PrepareFailureLogs)
$(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE)
ifneq ($(SEQUENTIAL_TARGETS), )
# Don't touch build output dir since we might be cleaning. That
@@ -308,6 +307,7 @@ else # HAS_SPEC=true
$(SEQUENTIAL_TARGETS) )
endif
ifneq ($(PARALLEL_TARGETS), )
$(call PrepareFailureLogs)
$(call StartGlobalTimer)
$(call PrepareSmartJavac)
# JOBS will only be empty for a bootcycle-images recursive call

View File

@@ -34,6 +34,9 @@ _INITSUPPORT_GMK := 1
ifeq ($(HAS_SPEC),)
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
# Include the corresponding closed file, if present.
ifneq ($(CUSTOM_MAKE_DIR), )
-include $(CUSTOM_MAKE_DIR)/InitSupport.gmk
@@ -453,6 +456,9 @@ else # $(HAS_SPEC)=true
)
endef
# Failure logs are only supported for "parallel" main targets, not the
# (trivial) sequential make targets (such as clean and reconfigure),
# since the failure-logs directory creation will conflict with clean.
define PrepareFailureLogs
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \
$(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs
@@ -531,8 +537,6 @@ endif # HAS_SPEC
define ParseLogOption
ifneq ($$(findstring $1, $$(LOG)),)
override $2 := true
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
# First try to remove ",<option>" if it exists, otherwise just remove "<option>"
LOG_STRIPPED := $$(subst $1,, $$(subst $$(COMMA)$$(strip $1),, $$(LOG)))
# We might have ended up with a leading comma. Remove it. Need override
@@ -550,8 +554,6 @@ define ParseLogValue
# Make words of out comma-separated list and find the one with opt=val
value := $$(strip $$(subst $$(strip $1)=,, $$(filter $$(strip $1)=%, $$(subst $$(COMMA), , $$(LOG)))))
override $2 := $$(value)
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
# First try to remove ",<option>" if it exists, otherwise just remove "<option>"
LOG_STRIPPED := $$(subst $$(strip $1)=$$(value),, \
$$(subst $$(COMMA)$$(strip $1)=$$(value),, $$(LOG)))

View File

@@ -98,13 +98,10 @@ ALL_TARGETS += buildtools-langtools interim-langtools \
################################################################################
# Special targets for certain modules
unpack-sec:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f UnpackSecurity.gmk)
generate-exported-symbols:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f BuildStatic.gmk)
ALL_TARGETS += unpack-sec generate-exported-symbols
ALL_TARGETS += generate-exported-symbols
################################################################################
# Gensrc targets, generating source before java compilation can be done
@@ -189,7 +186,7 @@ $(foreach m, $(IMPORT_COPY_MODULES), $(eval $(call DeclareImportCopyRecipe,$m)))
ALL_TARGETS += $(ALL_COPY_TARGETS)
################################################################################
# Targets for compiling all java modules. Nashorn is treated separately.
# Targets for compiling all java modules.
JAVA_MODULES := $(ALL_MODULES)
JAVA_TARGETS := $(addsuffix -java, $(JAVA_MODULES))
@@ -199,14 +196,7 @@ define DeclareCompileJavaRecipe
-f CompileJavaModules.gmk MODULE=$1)
endef
$(foreach m, $(filter-out jdk.scripting.nashorn, $(JAVA_MODULES)), \
$(eval $(call DeclareCompileJavaRecipe,$m)))
# Build nashorn. Needs to be compiled separately from the rest of the modules
# due to nasgen.
jdk.scripting.nashorn-java:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
-f BuildNashorn.gmk compile)
$(foreach m, $(JAVA_MODULES), $(eval $(call DeclareCompileJavaRecipe,$m)))
ALL_TARGETS += $(JAVA_TARGETS)
@@ -338,14 +328,17 @@ jrtfs-jar:
jdk-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jdk)
jre-image:
legacy-jre-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jre)
symbols-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk symbols)
mac-bundles-jdk:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
mac-jdk-bundle:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jdk-bundle)
mac-legacy-jre-bundle:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jre-bundle)
release-file:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ReleaseFile.gmk)
@@ -354,8 +347,8 @@ exploded-image-optimize:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ExplodedImageOptimize.gmk)
ALL_TARGETS += store-source-revision create-source-revision-tracker bootcycle-images zip-security \
zip-source jrtfs-jar jdk-image jre-image \
symbols-image mac-bundles-jdk \
zip-source jrtfs-jar jdk-image legacy-jre-image \
symbols-image mac-jdk-bundle mac-legacy-jre-bundle \
release-file exploded-image-optimize
################################################################################
@@ -494,6 +487,14 @@ test-image-jdk-jtreg-native:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNativeJdk.gmk \
test-image-jdk-jtreg-native)
build-test-hotspot-jtreg-graal:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregGraalUnit.gmk \
build-test-hotspot-jtreg-graal)
test-image-hotspot-jtreg-graal:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregGraalUnit.gmk \
test-image-hotspot-jtreg-graal)
run-test:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test TEST="$(TEST)")
@@ -530,6 +531,7 @@ ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
test-failure-handler test-image-failure-handler test-image-hotspot-gtest \
test-image-hotspot-jtreg-graal build-test-hotspot-jtreg-graal \
run-test exploded-run-test
################################################################################
@@ -700,9 +702,6 @@ else
# file to be processed by the gensrc-moduleinfo target.
jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-src
# Explicitly add dependencies for special targets
java.base-java: unpack-sec
jdk.jdeps-gendata: java rmic
# The ct.sym generation uses all the moduleinfos as input
@@ -789,16 +788,17 @@ else
generate-link-opt-data: buildtools-jdk
# The generated classlist needs to go into java.base-jmod.
java.base-jmod jdk.jlink-jmod jdk-image jre-image: generate-link-opt-data
java.base-jmod jdk.jlink-jmod jdk-image legacy-jre-image: generate-link-opt-data
endif
release-file: create-source-revision-tracker
jdk-image: jmods zip-source demos release-file
jre-image: jmods release-file
legacy-jre-image: jmods release-file
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
mac-bundles-jdk: jdk-image jre-image
mac-jdk-bundle: jdk-image
mac-legacy-jre-bundle: legacy-jre-image
# The optimize target can run as soon as the modules dir has been completely
# populated (java, copy and gendata targets) and the basic libs and launchers
@@ -862,10 +862,14 @@ else
build-test-jdk-jtreg-native: buildtools-jdk java.base-libs
build-test-hotspot-jtreg-graal: exploded-image-optimize
test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
test-image-hotspot-jtreg-graal: build-test-hotspot-jtreg-graal
test-image-hotspot-gtest: hotspot
test-hotspot-internal: exploded-image
@@ -969,14 +973,14 @@ docs-reference: docs-reference-api
# alias for backwards compatibility
docs-javadoc: docs-jdk-api
mac-bundles: mac-bundles-jdk
mac-bundles: mac-jdk-bundle
# The $(OUTPUTDIR)/images directory contain the resulting deliverables,
# and in line with this, our targets for creating these are named *-image[s].
# This target builds the product images, e.g. the JRE and JDK image
# This target builds the product images, e.g. the JDK image
# (and possibly other, more specific versions)
product-images: jdk-image jre-image symbols-image exploded-image
product-images: jdk-image symbols-image exploded-image
# zip-security is actually a bundle, but for now it needs to be considered
# an image until this can be cleaned up properly.
@@ -993,7 +997,7 @@ ifneq ($(CREATE_BUILDJDK), true)
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
product-images: mac-bundles
product-images: mac-jdk-bundle
endif
# This target builds the documentation image
@@ -1002,6 +1006,10 @@ docs-image: docs-jdk
# If not already set, set the JVM specific targets to build the test image
JVM_TEST_IMAGE_TARGETS ?= test-image-hotspot-jtreg-native test-image-hotspot-gtest
ifeq ($(INCLUDE_GRAAL), true)
JVM_TEST_IMAGE_TARGETS += test-image-hotspot-jtreg-graal
endif
# This target builds the test image
test-image: prepare-test-image \
test-image-jdk-jtreg-native test-image-failure-handler \

View File

@@ -535,6 +535,8 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
endif
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=${TEST_IMAGE_DIR}/hotspot/jtreg/graal
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -147,6 +147,7 @@ GZIP := gzip
HEAD := head
LS := ls
LN := ln
MIG := mig
MKDIR := mkdir
MV := mv
NAWK := nawk

View File

@@ -121,6 +121,9 @@ TOOL_GENCLASSLOADERMAP = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
-cp $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes) \
build.tools.module.GenModuleLoaderMap
TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.publicsuffixlist.GeneratePublicSuffixList
##########################################################################################
endif # _TOOLS_GMK

View File

@@ -1,88 +0,0 @@
#
# Copyright (c) 2012, 2014, 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
################################################################################
# Unpack the binary distributions of the crypto classes if they exist.
SEC_FILES_ZIP := $(TOPDIR)/make/tools/crypto/sec-bin.zip
SEC_FILES_WIN_ZIP := $(TOPDIR)/make/tools/crypto/sec-windows-bin.zip
JGSS_WIN32_FILES_ZIP := $(TOPDIR)/make/tools/crypto/jgss-windows-i586-bin.zip
JGSS_WIN64_FILES_ZIP := $(TOPDIR)/make/tools/crypto/jgss-windows-x64-bin.zip
define unzip-sec-file
$(ECHO) Unzipping $(<F)
$(MKDIR) -p $(@D) $(JDK_OUTPUTDIR)
$(RM) $@
($(CD) $(JDK_OUTPUTDIR) && $(UNZIP) -q -o $< > $@.tmp)
$(MV) $@.tmp $@
endef
define unzip-native-sec-file
$(ECHO) Unzipping $(<F)
$(MKDIR) -p $(@D)
$(RM) $@
($(CD) $(SUPPORT_OUTPUTDIR) && $(UNZIP) -q -o $< > $@.tmp)
$(MV) $@.tmp $@
endef
$(SUPPORT_OUTPUTDIR)/_the.sec-bin.unzipped: $(SEC_FILES_ZIP)
$(call unzip-sec-file)
# Trying to unzip both of the sec files at the same time may cause a race
# when creating directories common to both files.
$(SUPPORT_OUTPUTDIR)/_the.sec-windows-bin.unzipped: $(SEC_FILES_WIN_ZIP) \
| $(SUPPORT_OUTPUTDIR)/_the.sec-bin.unzipped
$(call unzip-sec-file)
$(SUPPORT_OUTPUTDIR)/_the.jgss-windows-i586-bin.unzipped: $(JGSS_WIN32_FILES_ZIP)
$(call unzip-native-sec-file)
$(SUPPORT_OUTPUTDIR)/_the.jgss-windows-x64-bin.unzipped: $(JGSS_WIN64_FILES_ZIP)
$(call unzip-native-sec-file)
ifneq ($(wildcard $(SEC_FILES_ZIP)), )
IMPORT_TARGET_FILES += $(SUPPORT_OUTPUTDIR)/_the.sec-bin.unzipped
ifeq ($(OPENJDK_TARGET_OS), windows)
IMPORT_TARGET_FILES += $(SUPPORT_OUTPUTDIR)/_the.sec-windows-bin.unzipped
ifeq ($(OPENJDK_TARGET_CPU), x86)
IMPORT_TARGET_FILES += $(SUPPORT_OUTPUTDIR)/_the.jgss-windows-i586-bin.unzipped
endif
ifeq ($(OPENJDK_TARGET_CPU), x86_64)
IMPORT_TARGET_FILES += $(SUPPORT_OUTPUTDIR)/_the.jgss-windows-x64-bin.unzipped
endif
endif
endif
################################################################################
sec: $(IMPORT_TARGET_FILES)
all: sec
.PHONY: sec all

View File

@@ -68,6 +68,17 @@ TARGETS += $(SRC_ZIP_SRCS)
# Only evaluate the creation of src.zip in a sub make call when the symlinked
# src directory structure has been generated.
ifeq ($(SRC_GENERATED), true)
# Rewrite the EXCLUDE_TRANSLATIONS locales as exclude patters for java files
TRANSLATIONS_PATTERN := $(addprefix %_, $(addsuffix .java, $(EXCLUDE_TRANSLATIONS)))
# Add excludes for translations for all modules except jdk.localedata
$(foreach s, $(SRC_ZIP_SRCS), \
$(if $(filter $(notdir $s), jdk.localedata), , \
$(eval BUILD_SRC_ZIP_EXCLUDE_PATTERNS_$(dir $s) := $$(TRANSLATIONS_PATTERN)) \
) \
)
$(eval $(call SetupZipArchive, BUILD_SRC_ZIP, \
SRC := $(dir $(SRC_ZIP_SRCS)), \
INCLUDES := $(SRC_ZIP_INCLUDES), \

View File

@@ -119,6 +119,33 @@ AC_DEFUN([BASIC_GET_NON_MATCHING_VALUES],
fi
])
###############################################################################
# Check if a list of space-separated words contains any word(s) from a list of
# space-separated illegal words. Typical use is to see if a user-specified
# set of words contains any from a set of illegal words.
#
# Sets the specified variable to list of matching illegal words, or to
# the empty string if no words are matching the illegal set.
#
# $1: result variable name
# $2: list of values to check
# $3: list of illegal values
AC_DEFUN([BASIC_GET_MATCHING_VALUES],
[
# grep filter function inspired by a comment to http://stackoverflow.com/a/1617326
# Notice that the original variant fails on SLES 10 and 11
# Some grep versions (at least bsd) behaves strangely on the base case with
# no legal_values, so make it explicit.
values_to_check=`$ECHO $2 | $TR ' ' '\n'`
illegal_values=`$ECHO $3 | $TR ' ' '\n'`
if test -z "$illegal_values"; then
$1=""
else
result=`$GREP -Fx "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
###############################################################################
# Sort a space-separated list, and remove duplicates.
#
@@ -671,6 +698,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCR_DLL])
# Corresponds to --with-msvcp-dll
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCP_DLL])
# Corresponds to --with-ucrt-dll-dir
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_UCRT_DLL_DIR])
fi
AC_MSG_CHECKING([for devkit])
@@ -1179,6 +1208,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil)
BASIC_REQUIRE_PROGS(MIG, mig)
BASIC_REQUIRE_PROGS(XATTR, xattr)
BASIC_PATH_PROGS(CODESIGN, codesign)
if test "x$CODESIGN" != "x"; then

View File

@@ -86,6 +86,17 @@ if [ "x$OUT" = x ]; then
fi
fi
# Test and fix little endian MIPS.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
fi
fi
fi
# Test and fix cpu on Macosx when C preprocessor is not on the path
echo $OUT | grep i386-apple-darwin > /dev/null 2> /dev/null
if test $? = 0; then

View File

@@ -31,7 +31,7 @@ SRC#
AC_PREREQ([2.69])
AC_INIT(OpenJDK, jdk9, build-dev@openjdk.java.net,,http://openjdk.java.net)
AC_INIT(OpenJDK, openjdk, build-dev@openjdk.java.net,,http://openjdk.java.net)
AC_CONFIG_AUX_DIR([$TOPDIR/make/autoconf/build-aux])
m4_include([build-aux/pkg.m4])
@@ -232,6 +232,7 @@ HOTSPOT_SETUP_JVM_FEATURES
JDKOPT_DETECT_INTREE_EC
JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER
JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS
###############################################################################
#

View File

@@ -106,11 +106,17 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
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
if test "x$TOOLCHAIN_TYPE" = xgcc; then
CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# -g0 enables debug symbols without disabling inlining.
CFLAGS_DEBUG_SYMBOLS="-g0 -xs"
@@ -121,6 +127,7 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
fi
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
@@ -232,7 +239,7 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_NORM="-xO2 -Wu,-O2~yz"
elif test "x$OPENJDK_TARGET_CPU_ARCH" = "xsparc"; then
C_O_FLAG_HIGHEST="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0 \
-xprefetch=auto,explicit -xchip=ultra $CC_HIGHEST"
-xprefetch=auto,explicit $CC_HIGHEST"
C_O_FLAG_HI="-xO4 -Wc,-Qrm-s -Wc,-Qiselect-T0"
C_O_FLAG_NORM="-xO2 -Wc,-Qrm-s -Wc,-Qiselect-T0"
fi
@@ -491,6 +498,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# (see http://llvm.org/bugs/show_bug.cgi?id=7554)
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -flimit-debug-info"
# In principle the stack alignment below is cpu- and ABI-dependent and
# should agree with values of StackAlignmentInBytes in various
# src/hotspot/cpu/*/globalDefinitions_*.hpp files, but this value currently
# works for all platforms.
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -mno-omit-leaf-frame-pointer -mstack-alignment=16"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
TOOLCHAIN_CFLAGS_JDK="-pipe"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
@@ -549,6 +562,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
WARNING_CFLAGS="-W3"
WARNING_CFLAGS_JDK="-wd4800"
WARNING_CFLAGS_JVM="-wd4800"
fi
# Set some additional per-OS defines.
@@ -573,22 +587,24 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# '-qpic' defaults to 'qpic=small'. This means that the compiler generates only
# one instruction for accessing the TOC. If the TOC grows larger than 64K, the linker
# will have to patch this single instruction with a call to some out-of-order code which
# does the load from the TOC. This is of course slow. But in that case we also would have
# does the load from the TOC. This is of course slower, and we also would have
# to use '-bbigtoc' for linking anyway so we could also change the PICFLAG to 'qpic=large'.
# With 'qpic=large' the compiler will by default generate a two-instruction sequence which
# can be patched directly by the linker and does not require a jump to out-of-order code.
# Another alternative instead of using 'qpic=large -bbigtoc' may be to use '-qminimaltoc'
# instead. This creates a distinct TOC for every compilation unit (and thus requires two
# loads for accessing a global variable). But there are rumors that this may be seen as a
# 'performance feature' because of improved code locality of the symbols used in a
# compilation unit.
PICFLAG="-qpic"
#
# Since large TOC causes perf. overhead, only pay it where we must. Currently this is
# for all libjvm variants (both gtest and normal) but no other binaries. So, build
# libjvm with -qpic=large and link with -bbigtoc.
JVM_PICFLAG="-qpic=large"
JDK_PICFLAG="-qpic"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
PICFLAG=""
fi
JVM_PICFLAG="$PICFLAG"
JDK_PICFLAG="$PICFLAG"
if test "x$TOOLCHAIN_TYPE" != xxlc; then
JVM_PICFLAG="$PICFLAG"
JDK_PICFLAG="$PICFLAG"
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Linking is different on MacOSX
@@ -598,10 +614,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -mno-omit-leaf-frame-pointer -mstack-alignment=16"
fi
# Optional POSIX functionality needed by the JVM
#
# Check if clock_gettime is available and in which library. This indicates

View File

@@ -81,7 +81,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-stdlib=libc++ -fPIC"
-fPIC"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
BASIC_LDFLAGS="-Wl,-z,defs"
@@ -94,7 +94,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \
-bdatapsize:64K -bstackpsize:64K"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r"
# libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc
BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
BASIC_LDFLAGS="-nologo -opt:ref"

View File

@@ -25,8 +25,11 @@
# All valid JVM features, regardless of platform
VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \
graal vm-structs jni-check services management cmsgc g1gc parallelgc serialgc nmt cds \
static-build link-time-opt aot"
graal vm-structs jni-check services management cmsgc epsilongc g1gc parallelgc serialgc zgc nmt cds \
static-build link-time-opt aot jfr"
# Deprecated JVM features (these are ignored, but with a warning)
DEPRECATED_JVM_FEATURES="trace"
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero custom"
@@ -198,15 +201,13 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
ENABLE_AOT="true"
elif test "x$enable_aot" = "xno"; then
ENABLE_AOT="false"
AC_MSG_CHECKING([if aot should be enabled])
AC_MSG_RESULT([no, forced])
else
AC_MSG_ERROR([Invalid value for --enable-aot: $enable_aot])
fi
if test "x$ENABLE_AOT" = "xtrue"; then
# Only enable AOT on X64 platforms.
if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
if test -e "${TOPDIR}/src/jdk.aot"; then
if test -e "${TOPDIR}/src/jdk.internal.vm.compiler"; then
ENABLE_AOT="true"
@@ -225,7 +226,7 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
else
ENABLE_AOT="false"
if test "x$enable_aot" = "xyes"; then
AC_MSG_ERROR([AOT is currently only supported on x86_64. Remove --enable-aot.])
AC_MSG_ERROR([AOT is currently only supported on x86_64 and aarch64. Remove --enable-aot.])
fi
fi
fi
@@ -238,10 +239,12 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_AOT],
#
AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_CDS],
[
AC_ARG_ENABLE([cds], [AS_HELP_STRING([--enable-cds@<:@=yes/no@:>@],
[enable class data sharing feature in non-minimal VM. Default is yes.])])
AC_ARG_ENABLE([cds], [AS_HELP_STRING([--enable-cds@<:@=yes/no/auto@:>@],
[enable class data sharing feature in non-minimal VM. Default is auto, where cds is enabled if supported on the platform.])])
if test "x$enable_cds" = "x" || test "x$enable_cds" = "xyes"; then
if test "x$enable_cds" = "x" || test "x$enable_cds" = "xauto"; then
ENABLE_CDS="true"
elif test "x$enable_cds" = "xyes"; then
ENABLE_CDS="true"
elif test "x$enable_cds" = "xno"; then
ENABLE_CDS="false"
@@ -249,6 +252,14 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_CDS],
AC_MSG_ERROR([Invalid value for --enable-cds: $enable_cds])
fi
# Disable CDS on AIX.
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
ENABLE_CDS="false"
if test "x$enable_cds" = "xyes"; then
AC_MSG_ERROR([CDS is currently not supported on AIX. Remove --enable-cds.])
fi
fi
AC_SUBST(ENABLE_CDS)
])
@@ -269,18 +280,27 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
USER_JVM_FEATURE_LIST=`$ECHO $with_jvm_features | $SED -e 's/,/ /g'`
AC_MSG_RESULT([$user_jvm_feature_list])
# These features will be added to all variant defaults
JVM_FEATURES=`$ECHO $USER_JVM_FEATURE_LIST | $AWK '{ for (i=1; i<=NF; i++) if (!match($i, /^-.*/)) print $i }'`
JVM_FEATURES=`$ECHO $USER_JVM_FEATURE_LIST | $AWK '{ for (i=1; i<=NF; i++) if (!match($i, /^-.*/)) printf("%s ", $i) }'`
# These features will be removed from all variant defaults
DISABLED_JVM_FEATURES=`$ECHO $USER_JVM_FEATURE_LIST | $AWK '{ for (i=1; i<=NF; i++) if (match($i, /^-.*/)) print substr($i, 2) }'`
DISABLED_JVM_FEATURES=`$ECHO $USER_JVM_FEATURE_LIST | $AWK '{ for (i=1; i<=NF; i++) if (match($i, /^-.*/)) printf("%s ", substr($i, 2))}'`
# Verify that the user has provided valid features
BASIC_GET_NON_MATCHING_VALUES(INVALID_FEATURES, $JVM_FEATURES $DISABLED_JVM_FEATURES, $VALID_JVM_FEATURES)
BASIC_GET_NON_MATCHING_VALUES(INVALID_FEATURES, $JVM_FEATURES $DISABLED_JVM_FEATURES, $VALID_JVM_FEATURES $DEPRECATED_JVM_FEATURES)
if test "x$INVALID_FEATURES" != x; then
AC_MSG_NOTICE([Unknown JVM features specified: "$INVALID_FEATURES"])
AC_MSG_NOTICE([The available JVM features are: "$VALID_JVM_FEATURES"])
AC_MSG_ERROR([Cannot continue])
fi
# Check if the user has provided deprecated features
BASIC_GET_MATCHING_VALUES(DEPRECATED_FEATURES, $JVM_FEATURES $DISABLED_JVM_FEATURES, $DEPRECATED_JVM_FEATURES)
if test "x$DEPRECATED_FEATURES" != x; then
AC_MSG_WARN([Deprecated JVM features specified (will be ignored): "$DEPRECATED_FEATURES"])
# Filter out deprecated features
BASIC_GET_NON_MATCHING_VALUES(JVM_FEATURES, $JVM_FEATURES, $DEPRECATED_FEATURES)
BASIC_GET_NON_MATCHING_VALUES(DISABLED_JVM_FEATURES, $DISABLED_JVM_FEATURES, $DEPRECATED_FEATURES)
fi
fi
# Override hotspot cpu definitions for ARM platforms
@@ -309,6 +329,26 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_ERROR([Specified JVM feature 'cmsgc' requires feature 'serialgc'])
fi
# Enable JFR by default, except for Zero, linux-sparcv9 and on minimal.
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr"
fi
fi
# Only enable ZGC on Linux x86_64
AC_MSG_CHECKING([if zgc should be built])
if HOTSPOT_CHECK_JVM_FEATURE(zgc); then
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
else
AC_MSG_RESULT([no])
fi
# Turn on additional features based on other parts of configure
if test "x$INCLUDE_DTRACE" = "xtrue"; then
JVM_FEATURES="$JVM_FEATURES dtrace"
@@ -332,57 +372,106 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
fi
# Only enable jvmci on x86_64, sparcv9 and aarch64.
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$OPENJDK_TARGET_CPU" = "xsparcv9" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
JVM_FEATURES_jvmci="jvmci"
else
AC_MSG_CHECKING([if jvmci module jdk.internal.vm.ci should be built])
# Check if jvmci is diabled
DISABLE_JVMCI=`$ECHO $DISABLED_JVM_FEATURES | $GREP jvmci`
if test "x$DISABLE_JVMCI" = "xjvmci"; then
AC_MSG_RESULT([no, forced])
JVM_FEATURES_jvmci=""
INCLUDE_JVMCI="false"
else
# Only enable jvmci on x86_64, sparcv9 and aarch64
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$OPENJDK_TARGET_CPU" = "xsparcv9" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
AC_MSG_RESULT([yes])
JVM_FEATURES_jvmci="jvmci"
INCLUDE_JVMCI="true"
else
AC_MSG_RESULT([no])
JVM_FEATURES_jvmci=""
INCLUDE_JVMCI="false"
if HOTSPOT_CHECK_JVM_FEATURE(jvmci); then
AC_MSG_ERROR([JVMCI is currently not supported on this platform.])
fi
fi
fi
AC_MSG_CHECKING([if jdk.internal.vm.compiler should be built])
if HOTSPOT_CHECK_JVM_FEATURE(graal); then
AC_MSG_RESULT([yes, forced])
if test "x$JVM_FEATURES_jvmci" != "xjvmci" ; then
AC_MSG_ERROR([Specified JVM feature 'graal' requires feature 'jvmci'])
fi
INCLUDE_GRAAL="true"
AC_SUBST(INCLUDE_JVMCI)
AC_MSG_CHECKING([if graal module jdk.internal.vm.compiler should be built])
# Check if graal is diabled
DISABLE_GRAAL=`$ECHO $DISABLED_JVM_FEATURES | $GREP graal`
if test "x$DISABLE_GRAAL" = "xgraal"; then
AC_MSG_RESULT([no, forced])
JVM_FEATURES_graal=""
INCLUDE_GRAAL="false"
else
# By default enable graal build on x64 or where AOT is available.
# graal build requires jvmci.
if test "x$JVM_FEATURES_jvmci" = "xjvmci" && \
(test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$ENABLE_AOT" = "xtrue") ; then
AC_MSG_RESULT([yes])
if HOTSPOT_CHECK_JVM_FEATURE(graal); then
AC_MSG_RESULT([yes, forced])
if test "x$JVM_FEATURES_jvmci" != "xjvmci" ; then
AC_MSG_ERROR([Specified JVM feature 'graal' requires feature 'jvmci'])
fi
JVM_FEATURES_graal="graal"
INCLUDE_GRAAL="true"
else
AC_MSG_RESULT([no])
JVM_FEATURES_graal=""
INCLUDE_GRAAL="false"
# By default enable graal build on x64 or where AOT is available.
# graal build requires jvmci.
if test "x$JVM_FEATURES_jvmci" = "xjvmci" && \
(test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$ENABLE_AOT" = "xtrue") ; then
AC_MSG_RESULT([yes])
JVM_FEATURES_graal="graal"
INCLUDE_GRAAL="true"
else
AC_MSG_RESULT([no])
JVM_FEATURES_graal=""
INCLUDE_GRAAL="false"
fi
fi
fi
AC_SUBST(INCLUDE_GRAAL)
# Disable aot with '--with-jvm-features=-aot'
DISABLE_AOT=`$ECHO $DISABLED_JVM_FEATURES | $GREP aot`
if test "x$DISABLE_AOT" = "xaot"; then
ENABLE_AOT="false"
fi
AC_MSG_CHECKING([if aot should be enabled])
if test "x$ENABLE_AOT" = "xtrue"; then
if test "x$enable_aot" = "xyes"; then
AC_MSG_RESULT([yes, forced])
if test "x$JVM_FEATURES_graal" != "xgraal"; then
if test "x$enable_aot" = "xyes" || HOTSPOT_CHECK_JVM_FEATURE(aot); then
AC_MSG_RESULT([yes, forced])
AC_MSG_ERROR([Specified JVM feature 'aot' requires feature 'graal'])
else
AC_MSG_RESULT([no])
fi
JVM_FEATURES_aot=""
ENABLE_AOT="false"
else
AC_MSG_RESULT([yes])
if test "x$enable_aot" = "xyes" || HOTSPOT_CHECK_JVM_FEATURE(aot); then
AC_MSG_RESULT([yes, forced])
else
AC_MSG_RESULT([yes])
fi
JVM_FEATURES_aot="aot"
fi
JVM_FEATURES_aot="aot"
else
if test "x$enable_aot" = "xno"; then
if test "x$enable_aot" = "xno" || "x$DISABLE_AOT" = "xaot"; then
AC_MSG_RESULT([no, forced])
else
AC_MSG_RESULT([no])
fi
JVM_FEATURES_aot=""
if HOTSPOT_CHECK_JVM_FEATURE(aot); then
AC_MSG_ERROR([To enable aot, you must use --enable-aot])
fi
fi
AC_SUBST(ENABLE_AOT)
if test "x$OPENJDK_TARGET_CPU" = xarm ; then
# Default to use link time optimizations on minimal on arm
JVM_FEATURES_link_time_opt="link-time-opt"
@@ -391,14 +480,27 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
# All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc jni-check jvmti management nmt services vm-structs"
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs"
AC_MSG_CHECKING([if cds should be enabled])
if test "x$ENABLE_CDS" = "xtrue"; then
if test "x$enable_cds" = "xyes"; then
AC_MSG_RESULT([yes, forced])
else
AC_MSG_RESULT([yes])
fi
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cds"
else
if test "x$enable_cds" = "xno"; then
AC_MSG_RESULT([no, forced])
else
AC_MSG_RESULT([no])
fi
fi
# Enable default features depending on variant.
# Enable features depending on variant.
JVM_FEATURES_server="compiler1 compiler2 $NON_MINIMAL_FEATURES $JVM_FEATURES $JVM_FEATURES_jvmci $JVM_FEATURES_aot $JVM_FEATURES_graal"
JVM_FEATURES_client="compiler1 $NON_MINIMAL_FEATURES $JVM_FEATURES $JVM_FEATURES_jvmci"
JVM_FEATURES_client="compiler1 $NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_core="$NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_minimal="compiler1 minimal serialgc $JVM_FEATURES $JVM_FEATURES_link_time_opt"
JVM_FEATURES_zero="zero $NON_MINIMAL_FEATURES $JVM_FEATURES"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -582,3 +582,25 @@ AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST],
AC_SUBST(ENABLE_GENERATE_CLASSLIST)
])
################################################################################
#
# Optionally filter resource translations
#
AC_DEFUN([JDKOPT_EXCLUDE_TRANSLATIONS],
[
AC_ARG_WITH([exclude-translations], [AS_HELP_STRING([--with-exclude-translations],
[a comma separated list of locales to exclude translations for. Default is
to include all translations present in the source.])])
EXCLUDE_TRANSLATIONS=""
AC_MSG_CHECKING([if any translations should be excluded])
if test "x$with_exclude_translations" != "x"; then
EXCLUDE_TRANSLATIONS="${with_exclude_translations//,/ }"
AC_MSG_RESULT([yes: $EXCLUDE_TRANSLATIONS])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(EXCLUDE_TRANSLATIONS)
])

View File

@@ -139,15 +139,18 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-version-string must have a value])
elif test "x$with_version_string" != x; then
# 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_INTERIM=${BASH_REMATCH[[3]]}
VERSION_UPDATE=${BASH_REMATCH[[5]]}
VERSION_PATCH=${BASH_REMATCH[[7]]}
VERSION_PRE=${BASH_REMATCH[[9]]}
version_plus_separator=${BASH_REMATCH[[11]]}
VERSION_BUILD=${BASH_REMATCH[[12]]}
VERSION_OPT=${BASH_REMATCH[[14]]}
VERSION_EXTRA1=${BASH_REMATCH[[9]]}
VERSION_EXTRA2=${BASH_REMATCH[[11]]}
VERSION_EXTRA3=${BASH_REMATCH[[13]]}
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.
if test "x$VERSION_INTERIM" = x; then
VERSION_INTERIM=0
@@ -158,6 +161,15 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
if test "x$VERSION_PATCH" = x; then
VERSION_PATCH=0
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 \
&& test "x$VERSION_BUILD$VERSION_OPT" = x; then
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
@@ -327,6 +339,72 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
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
# Set VERSION_IS_GA based on if VERSION_PRE has a value
@@ -339,9 +417,12 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
# 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
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
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
# The complete version string, with additional build information
@@ -392,6 +473,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(VERSION_INTERIM)
AC_SUBST(VERSION_UPDATE)
AC_SUBST(VERSION_PATCH)
AC_SUBST(VERSION_EXTRA1)
AC_SUBST(VERSION_EXTRA2)
AC_SUBST(VERSION_EXTRA3)
AC_SUBST(VERSION_PRE)
AC_SUBST(VERSION_BUILD)
AC_SUBST(VERSION_OPT)

View File

@@ -0,0 +1,57 @@
#
# 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.
#
###############################################################################
#
# Check for graalunit libs, needed for running graalunit tests.
#
AC_DEFUN_ONCE([LIB_TESTS_SETUP_GRAALUNIT],
[
AC_ARG_WITH(graalunit-lib, [AS_HELP_STRING([--with-graalunit-lib],
[specify location of 3rd party libraries used by Graal unit tests])])
GRAALUNIT_LIB=
if test "x${with_graalunit_lib}" != x; then
AC_MSG_CHECKING([for graalunit libs])
if test "x${with_graalunit_lib}" = xno; then
AC_MSG_RESULT([disabled, graalunit tests can not be run])
elif test "x${with_graalunit_lib}" = xyes; then
AC_MSG_RESULT([not specified])
AC_MSG_ERROR([You must specify the path to 3rd party libraries used by Graal unit tests])
else
GRAALUNIT_LIB="${with_graalunit_lib}"
if test ! -d "${GRAALUNIT_LIB}"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find graalunit 3rd party libraries as specified. (${with_graalunit_lib})])
else
AC_MSG_RESULT([$GRAALUNIT_LIB])
fi
fi
fi
BASIC_FIXUP_PATH([GRAALUNIT_LIB])
AC_SUBST(GRAALUNIT_LIB)
])

View File

@@ -32,6 +32,7 @@ m4_include([lib-freetype.m4])
m4_include([lib-std.m4])
m4_include([lib-x11.m4])
m4_include([lib-fontconfig.m4])
m4_include([lib-tests.m4])
################################################################################
# Determine which libraries are needed for this configuration
@@ -101,6 +102,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_SETUP_BUNDLED_LIBS
LIB_SETUP_MISC_LIBS
LIB_SETUP_SOLARIS_STLPORT
LIB_TESTS_SETUP_GRAALUNIT
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
GLOBAL_LIBS="-lc"
@@ -130,7 +132,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
-lrt"
-lrt -lkstat"
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBCXX_JVM"
fi

View File

@@ -79,7 +79,7 @@ OPENJDK_TARGET_CPU_ISADIR:=@OPENJDK_TARGET_CPU_ISADIR@
OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
OPENJDK_TARGET_OS_INCLUDE_SUBIDR:=@OPENJDK_TARGET_OS_INCLUDE_SUBDIR@
OPENJDK_TARGET_OS_INCLUDE_SUBDIR:=@OPENJDK_TARGET_OS_INCLUDE_SUBDIR@
HOTSPOT_TARGET_OS := @HOTSPOT_TARGET_OS@
HOTSPOT_TARGET_OS_TYPE := @HOTSPOT_TARGET_OS_TYPE@
@@ -102,7 +102,7 @@ OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@
OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@
OPENJDK_BUILD_CPU_ENDIAN:=@OPENJDK_BUILD_CPU_ENDIAN@
OPENJDK_BUILD_OS_INCLUDE_SUBIDR:=@OPENJDK_TARGET_OS_INCLUDE_SUBDIR@
OPENJDK_BUILD_OS_INCLUDE_SUBDIR:=@OPENJDK_TARGET_OS_INCLUDE_SUBDIR@
# Target platform value in ModuleTarget class file attribute.
OPENJDK_MODULE_TARGET_PLATFORM:=@OPENJDK_MODULE_TARGET_PLATFORM@
@@ -165,6 +165,9 @@ VERSION_FEATURE := @VERSION_FEATURE@
VERSION_INTERIM := @VERSION_INTERIM@
VERSION_UPDATE := @VERSION_UPDATE@
VERSION_PATCH := @VERSION_PATCH@
VERSION_EXTRA1 := @VERSION_EXTRA1@
VERSION_EXTRA2 := @VERSION_EXTRA2@
VERSION_EXTRA3 := @VERSION_EXTRA3@
# The pre-release identifier (string)
VERSION_PRE := @VERSION_PRE@
# The build number (numerical)
@@ -203,6 +206,9 @@ VERSION_CFLAGS := \
-DVERSION_INTERIM=$(VERSION_INTERIM) \
-DVERSION_UPDATE=$(VERSION_UPDATE) \
-DVERSION_PATCH=$(VERSION_PATCH) \
-DVERSION_EXTRA1=$(VERSION_EXTRA1) \
-DVERSION_EXTRA2=$(VERSION_EXTRA2) \
-DVERSION_EXTRA3=$(VERSION_EXTRA3) \
-DVERSION_PRE='"$(VERSION_PRE)"' \
-DVERSION_BUILD=$(VERSION_BUILD) \
-DVERSION_OPT='"$(VERSION_OPT)"' \
@@ -303,6 +309,8 @@ BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
# it in sync.
BOOT_JDK:=@BOOT_JDK@
@@ -345,6 +353,7 @@ LIBFFI_LIBS:=@LIBFFI_LIBS@
LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
GRAALUNIT_LIB := @GRAALUNIT_LIB@
PACKAGE_PATH=@PACKAGE_PATH@
@@ -529,6 +538,7 @@ COPY_DEBUG_SYMBOLS := @COPY_DEBUG_SYMBOLS@
ZIP_EXTERNAL_DEBUG_SYMBOLS := @ZIP_EXTERNAL_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
ASFLAGS_DEBUG_SYMBOLS:=@ASFLAGS_DEBUG_SYMBOLS@
#
# Compress (or not) jars
@@ -673,6 +683,7 @@ GZIP:=@GZIP@
HEAD:=@HEAD@
LS:=@LS@
LN:=@LN@
MIG:=@MIG@
MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
@@ -736,6 +747,7 @@ LIBZ_LIBS:=@LIBZ_LIBS@
LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
MSVCR_DLL:=@MSVCR_DLL@
MSVCP_DLL:=@MSVCP_DLL@
UCRT_DLL_DIR:=@UCRT_DLL_DIR@
STLPORT_LIB:=@STLPORT_LIB@
####################################################
@@ -809,6 +821,7 @@ PNG_CFLAGS:=@PNG_CFLAGS@
INCLUDE_SA=@INCLUDE_SA@
INCLUDE_GRAAL=@INCLUDE_GRAAL@
INCLUDE_JVMCI=@INCLUDE_JVMCI@
OS_VERSION_MAJOR:=@OS_VERSION_MAJOR@
OS_VERSION_MINOR:=@OS_VERSION_MINOR@
@@ -857,18 +870,19 @@ ifeq ($(DEBUG_LEVEL), fastdebug)
else ifneq ($(DEBUG_LEVEL), release)
DEBUG_PART := -$(DEBUG_LEVEL)
endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
ifeq ($(OPENJDK_TARGET_OS), windows)
JDK_BUNDLE_EXTENSION := zip
else
JDK_BUNDLE_EXTENSION := tar.gz
endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
JRE_SYMBOLS_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
JRE_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_SYMBOLS_BUNDLE_NAME)
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)
DOCS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_BUNDLE_NAME)

View File

@@ -25,7 +25,7 @@
################################################################################
# The order of these defines the priority by which we try to find them.
VALID_VS_VERSIONS="2013 2012 2010 2015 2017"
VALID_VS_VERSIONS="2017 2013 2015 2012 2010"
VS_DESCRIPTION_2010="Microsoft Visual Studio 2010"
VS_VERSION_INTERNAL_2010=100
@@ -37,6 +37,7 @@ VS_VS_INSTALLDIR_2010="Microsoft Visual Studio 10.0"
VS_SDK_INSTALLDIR_2010="Microsoft SDKs/Windows/v7.1"
VS_VS_PLATFORM_NAME_2010="v100"
VS_SDK_PLATFORM_NAME_2010="Windows7.1SDK"
VS_SUPPORTED_2010=false
VS_DESCRIPTION_2012="Microsoft Visual Studio 2012"
VS_VERSION_INTERNAL_2012=110
@@ -47,6 +48,7 @@ VS_VS_INSTALLDIR_2012="Microsoft Visual Studio 11.0"
VS_SDK_INSTALLDIR_2012=
VS_VS_PLATFORM_NAME_2012="v110"
VS_SDK_PLATFORM_NAME_2012=
VS_SUPPORTED_2012=false
VS_DESCRIPTION_2013="Microsoft Visual Studio 2013"
VS_VERSION_INTERNAL_2013=120
@@ -57,8 +59,9 @@ VS_VS_INSTALLDIR_2013="Microsoft Visual Studio 12.0"
VS_SDK_INSTALLDIR_2013=
VS_VS_PLATFORM_NAME_2013="v120"
VS_SDK_PLATFORM_NAME_2013=
VS_SUPPORTED_2013=false
VS_DESCRIPTION_2015="Microsoft Visual Studio 2015 - CURRENTLY NOT WORKING"
VS_DESCRIPTION_2015="Microsoft Visual Studio 2015"
VS_VERSION_INTERNAL_2015=140
VS_MSVCR_2015=vcruntime140.dll
VS_MSVCP_2015=msvcp140.dll
@@ -70,17 +73,20 @@ VS_SDK_PLATFORM_NAME_2015=
# The vcvars of 2015 breaks if 2017 is also installed. Work around this by
# explicitly specifying Windows Kit 8.1 to be used.
VS_ENV_ARGS_2015="8.1"
VS_SUPPORTED_2015=false
VS_DESCRIPTION_2017="Microsoft Visual Studio 2017 - CURRENTLY NOT WORKING"
VS_DESCRIPTION_2017="Microsoft Visual Studio 2017"
VS_VERSION_INTERNAL_2017=141
VS_MSVCR_2017=vcruntime140.dll
VS_MSVCP_2017=msvcp140.dll
VS_ENVVAR_2017="VS150COMNTOOLS"
VS_USE_UCRT_2017="true"
VS_VS_INSTALLDIR_2017="Microsoft Visual Studio/2017"
VS_EDITIONS_2017="BuildTools Community Professional Enterprise"
VS_SDK_INSTALLDIR_2017=
VS_VS_PLATFORM_NAME_2017="v141"
VS_SDK_PLATFORM_NAME_2017=
VS_SUPPORTED_2017=true
################################################################################
@@ -264,6 +270,8 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
eval USE_UCRT="\${VS_USE_UCRT_${VS_VERSION}}"
eval VS_SUPPORTED="\${VS_SUPPORTED_${VS_VERSION}}"
eval PLATFORM_TOOLSET="\${VS_VS_PLATFORM_NAME_${VS_VERSION}}"
VS_PATH="$TOOLCHAIN_PATH:$PATH"
@@ -309,6 +317,8 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
eval USE_UCRT="\${VS_USE_UCRT_${VS_VERSION}}"
eval VS_SUPPORTED="\${VS_SUPPORTED_${VS_VERSION}}"
# The rest of the variables are already evaled while probing
AC_MSG_NOTICE([Found $VS_DESCRIPTION])
break
@@ -316,7 +326,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
done
TOOLCHAIN_DESCRIPTION="$VS_DESCRIPTION"
if test "$TOOLCHAIN_VERSION" -gt 2013; then
if test "x$VS_SUPPORTED" = "xfalse"; then
UNSUPPORTED_TOOLCHAIN_VERSION=yes
fi
])
@@ -432,8 +442,11 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED -e 's/\\\\*;* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\*;* *$//'`
VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
WindowsSDKDir=`$ECHO "$WindowsSDKDir" | $SED 's/\\\\* *$//'`
WindowsSdkDir=`$ECHO "$WindowsSdkDir" | $SED 's/\\\\* *$//'`
WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
if test -z "$WINDOWSSDKDIR"; then
WINDOWSSDKDIR="$WindowsSdkDir"
fi
# Remove any paths containing # (typically F#) as that messes up make. This
# is needed if visual studio was installed with F# support.
VS_PATH=`$ECHO "$VS_PATH" | $SED 's/[[^:#]]*#[^:]*://g'`
@@ -539,7 +552,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
if test "x$MSVC_DLL" = x; then
if test "x$VCINSTALLDIR" != x; then
CYGWIN_VC_INSTALL_DIR="$VCINSTALLDIR"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_VC_INSTALL_DIR)
BASIC_FIXUP_PATH(CYGWIN_VC_INSTALL_DIR)
if test "$VS_VERSION" -lt 2017; then
# Probe: Using well-known location from Visual Studio 12.0 and older
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
@@ -673,4 +686,41 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
fi
AC_SUBST(MSVCP_DLL)
fi
AC_ARG_WITH(ucrt-dll-dir, [AS_HELP_STRING([--with-ucrt-dll-dir],
[path to Microsoft Windows Kit UCRT DLL dir (Windows only) @<:@probed@:>@])])
if test "x$USE_UCRT" = "xtrue"; then
AC_MSG_CHECKING([for UCRT DLL dir])
if test "x$with_ucrt_dll_dir" != x; then
if test -z "$(ls -d "$with_ucrt_dll_dir/*.dll" 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
else
AC_MSG_RESULT([$with_ucrt_dll_dir])
UCRT_DLL_DIR="$with_ucrt_dll_dir"
BASIC_FIXUP_PATH([UCRT_DLL_DIR])
fi
elif test "x$DEVKIT_UCRT_DLL_DIR" != "x"; then
UCRT_DLL_DIR="$DEVKIT_UCRT_DLL_DIR"
AC_MSG_RESULT($UCRT_DLL_DIR)
else
CYGWIN_WINDOWSSDKDIR="${WINDOWSSDKDIR}"
BASIC_FIXUP_PATH([CYGWIN_WINDOWSSDKDIR])
dll_subdir=$OPENJDK_TARGET_CPU
if test "x$dll_subdir" = "xx86_64"; then
dll_subdir="x64"
fi
UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir"
if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR])
else
AC_MSG_RESULT($UCRT_DLL_DIR)
fi
fi
else
UCRT_DLL_DIR=
fi
AC_SUBST(UCRT_DLL_DIR)
])

View File

@@ -25,14 +25,17 @@
# Default version numbers to use unless overridden by configure
DEFAULT_VERSION_FEATURE=11
DEFAULT_VERSION_FEATURE=12
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_DATE=2018-09-25
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2019-03-19
DEFAULT_VERSION_CLASSFILE_MAJOR=56 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11 12"
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK

View File

@@ -180,6 +180,7 @@ endef
# CREATE_API_DIGEST:=Set to true to use a javac plugin to generate a public API
# hash which can be used for down stream dependencies to only rebuild
# when the API changes. Implicitly used in sjavac.
# KEEP_ALL_TRANSLATIONS:=Set to true to skip translation filtering
SetupJavaCompilation = $(NamedParamsMacroTemplate)
define SetupJavaCompilationBody
@@ -266,6 +267,11 @@ define SetupJavaCompilationBody
$$(eval $1_$$(relative_src) := 1) $$(s))))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_SRCS := $$(call FilterExcludedTranslations, $$($1_SRCS), .java)
endif
ifeq ($$(strip $$($1_SRCS)), )
ifneq ($$($1_FAIL_NO_SRC), false)
$$(error No source files found for $1)
@@ -290,6 +296,10 @@ define SetupJavaCompilationBody
ifneq (,$$($1_EXCLUDE_PATTERN))
$1_ALL_COPIES := $$(filter-out $$($1_EXCLUDE_PATTERN),$$($1_ALL_COPIES))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_ALL_COPIES := $$(call FilterExcludedTranslations, $$($1_ALL_COPIES), .properties)
endif
ifneq (,$$($1_ALL_COPIES))
# Yep, there are files to be copied!
$1_ALL_COPY_TARGETS:=
@@ -310,6 +320,10 @@ define SetupJavaCompilationBody
ifneq (,$$($1_EXCLUDE_PATTERN))
$1_ALL_CLEANS := $$(filter-out $$($1_EXCLUDE_PATTERN),$$($1_ALL_CLEANS))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_ALL_CLEANS := $$(call FilterExcludedTranslations, $$($1_ALL_CLEANS), .properties)
endif
ifneq (,$$($1_ALL_CLEANS))
# Yep, there are files to be copied and cleaned!
$1_ALL_COPY_CLEAN_TARGETS:=

View File

@@ -32,6 +32,36 @@ endif
include NativeCompilation.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, common/JdkNativeCompilation.gmk))
FindSrcDirsForLib += \
$(call uniq, $(wildcard \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS)/native/lib$(strip $2) \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/lib$(strip $2) \
$(TOPDIR)/src/$(strip $1)/share/native/lib$(strip $2)))
FindSrcDirsForComponent += \
$(call uniq, $(wildcard \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS)/native/$(strip $2) \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
GetJavaHeaderDir = \
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))
# Process a dir description such as "java.base:headers" into a set of proper absolute paths.
ProcessDir = \
$(if $(findstring :, $1), \
$(call FindSrcDirsForComponent, $(firstword $(subst :, , $1)), $(lastword $(subst :, , $1))) \
, \
$(if $(filter /%, $1), \
$1 \
, \
$(call FindSrcDirsForComponent, $(MODULE), $1) \
) \
)
# Setup make rules for creating a native shared library with suitable defaults
# for the OpenJDK project.
#
@@ -39,8 +69,16 @@ include NativeCompilation.gmk
# and the targets generated are listed in a variable by that name.
#
# Remaining parameters are named arguments. These are all passed on to
# SetupNativeCompilation, except for
# SetupNativeCompilation, except for
# EXTRA_RC_FLAGS -- additional RC_FLAGS to append.
# EXTRA_HEADER_DIRS -- additional directories to look for headers in
# EXTRA_SRC -- additional directories to look for source in
# EXCLUDE_SRC_PATTERNS -- exclude source dirs matching these patterns from
# appearing in SRC.
# HEADERS_FROM_SRC -- if false, does not add source dirs automatically as
# header include dirs. (Defaults to true.)
# SRC -- this is passed on, but preprocessed to accept source dir designations
# such as "java.base:headers".
SetupJdkLibrary = $(NamedParamsMacroTemplate)
define SetupJdkLibraryBody
ifeq ($$($1_OUTPUT_DIR), )
@@ -51,6 +89,20 @@ define SetupJdkLibraryBody
$1_OBJECT_DIR := $$(SUPPORT_OUTPUTDIR)/native/$$(MODULE)/lib$$($1_NAME)
endif
ifeq ($$($1_SRC), )
$1_SRC := $$(call FindSrcDirsForLib, $$(MODULE), $$($1_NAME))
else
$1_SRC := $$(foreach dir, $$($1_SRC), $$(call ProcessDir, $$(dir)))
endif
ifneq ($$($1_EXTRA_SRC), )
$1_SRC += $$(foreach dir, $$($1_EXTRA_SRC), $$(call ProcessDir, $$(dir)))
endif
ifneq ($$($1_EXCLUDE_SRC_PATTERNS), )
$1_EXCLUDE_SRC := $$(call containing, $$($1_EXCLUDE_SRC_PATTERNS), $$($1_SRC))
$1_SRC := $$(filter-out $$($1_EXCLUDE_SRC), $$($1_SRC))
endif
ifeq ($$($1_VERSIONINFO_RESOURCE), )
$1_VERSIONINFO_RESOURCE := $$(GLOBAL_VERSION_INFO_RESOURCE)
else ifeq ($$($1_VERSIONINFO_RESOURCE), DISABLE)
@@ -66,6 +118,27 @@ define SetupJdkLibraryBody
$1_RC_FLAGS :=
endif
ifneq ($$($1_HEADERS_FROM_SRC), false)
$1_SRC_HEADER_FLAGS := $$(addprefix -I, $$(wildcard $$($1_SRC)))
endif
# Always add the java header dir
$1_SRC_HEADER_FLAGS += $$(addprefix -I, $$(call GetJavaHeaderDir, $$(MODULE)))
ifneq ($$($1_EXTRA_HEADER_DIRS), )
$1_PROCESSED_EXTRA_HEADER_DIRS := $$(foreach dir, $$($1_EXTRA_HEADER_DIRS), \
$$(call ProcessDir, $$(dir)))
$1_EXTRA_HEADER_FLAGS := $$(addprefix -I, $$($1_PROCESSED_EXTRA_HEADER_DIRS))
endif
ifneq ($$($1_CFLAGS), )
$1_CFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_EXTRA_HEADER_FLAGS)
endif
ifneq ($$($1_CXXFLAGS), )
$1_CXXFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_EXTRA_HEADER_FLAGS)
endif
ifeq ($$($1_CFLAGS)$$($1_CXXFLAGS), )
$1_CFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_EXTRA_HEADER_FLAGS)
endif
$1_RC_FLAGS += $$($1_EXTRA_RC_FLAGS)
# Since we reuse the rule name ($1), all our arguments will pass through.
@@ -80,7 +153,7 @@ endef
# and the targets generated are listed in a variable by that name.
#
# Remaining parameters are named arguments. These are all passed on to
# SetupNativeCompilation, except for
# SetupNativeCompilation, except for
# EXTRA_RC_FLAGS -- additional RC_FLAGS to append.
SetupJdkExecutable = $(NamedParamsMacroTemplate)
define SetupJdkExecutableBody

View File

@@ -634,7 +634,7 @@ endef
################################################################################
# Filter out duplicate sub strings while preserving order. Keeps the first occurance.
uniq = \
$(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
$(strip $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))))
# Returns all whitespace-separated words in $2 where at least one of the
# whitespace-separated words in $1 is a substring.
@@ -1015,7 +1015,7 @@ ExecuteWithLog = \
$(call LogCmdlines, Exececuting: [$(strip $2)]) \
$(call MakeDir, $(dir $(strip $1))) \
$(call WriteFile, $2, $(strip $1).cmdline) \
( $(strip $2) > >($(TEE) $(strip $1).log) 2> >($(TEE) $(strip $1).log >&2) || \
( $(RM) $(strip $1).log && $(strip $2) > >($(TEE) -a $(strip $1).log) 2> >($(TEE) -a $(strip $1).log >&2) || \
( exitcode=$(DOLLAR)? && \
$(CP) $(strip $1).log $(MAKESUPPORT_OUTPUTDIR)/failure-logs/$(subst /,_,$(patsubst $(OUTPUTDIR)/%,%,$(strip $1))).log && \
$(CP) $(strip $1).cmdline $(MAKESUPPORT_OUTPUTDIR)/failure-logs/$(subst /,_,$(patsubst $(OUTPUTDIR)/%,%,$(strip $1))).cmdline && \
@@ -1074,6 +1074,22 @@ ColonList = \
$(subst ::,:,$(subst $(SPACE),:,$(strip $1))) \
)
################################################################################
# Given a list of files, filters out locale specific files for translations
# that should be excluded from this build.
# $1 - The list of files to filter
# $2 - The suffix of the files that should be considered (.java or .properties)
FilterExcludedTranslations = \
$(strip $(if $(EXCLUDE_TRANSLATIONS), \
$(filter-out \
$(foreach suffix, $2, \
$(addprefix %_, $(addsuffix $(suffix), $(EXCLUDE_TRANSLATIONS))) \
), \
$1 \
), \
$1 \
))
################################################################################
# Hook to include the corresponding custom file, if present.

View File

@@ -59,7 +59,9 @@ BOOT_MODULES += \
java.security.sasl \
java.xml \
jdk.internal.vm.ci \
jdk.jfr \
jdk.management \
jdk.management.jfr \
jdk.management.agent \
jdk.net \
jdk.sctp \
@@ -75,6 +77,7 @@ BOOT_MODULES += \
# should carefully be considered if it should be upgradeable or not.
UPGRADEABLE_MODULES += \
java.compiler \
jdk.aot \
jdk.internal.vm.compiler \
jdk.internal.vm.compiler.management \
#
@@ -152,6 +155,7 @@ DOCS_MODULES += \
jdk.jdeps \
jdk.jdi \
jdk.jdwp.agent \
jdk.jfr \
jdk.jlink \
jdk.jsobject \
jdk.jshell \
@@ -159,6 +163,7 @@ DOCS_MODULES += \
jdk.localedata \
jdk.management \
jdk.management.agent \
jdk.management.jfr \
jdk.naming.dns \
jdk.naming.rmi \
jdk.net \
@@ -200,7 +205,14 @@ ifeq ($(INCLUDE_SA), false)
endif
################################################################################
# Filter out Graal specific modules if Graal build is disabled
# Filter out jvmci specific modules if jvmci is disabled
ifeq ($(INCLUDE_JVMCI), false)
MODULES_FILTER += jdk.internal.vm.ci
endif
################################################################################
# Filter out Graal specific modules if Graal is disabled
ifeq ($(INCLUDE_GRAAL), false)
MODULES_FILTER += jdk.internal.vm.compiler

View File

@@ -251,6 +251,7 @@ define SetupCompileNativeFileBody
$$($$($1_BASE)_SYSROOT_CFLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), )
# Compile as a C file
@@ -266,7 +267,7 @@ define SetupCompileNativeFileBody
$1_DEP_FLAG := $(C_FLAG_DEPS)
else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), )
# Compile as assembler file
$1_FLAGS := $$($$($1_BASE)_ASFLAGS)
$1_FLAGS := $$($1_BASE_ASFLAGS)
$1_COMPILER := $(AS)
$1_DEP_FLAG :=
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
@@ -391,6 +392,13 @@ endef
# STRIPFLAGS Optionally change the flags given to the strip command
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
# TARGET The library or executable created by the macro
# TARGET_DEPS All prerequisites for the target calculated by the macro
# ALL_OBJS All object files
# IMPORT_LIBRARY The import library created for a shared library on Windows
SetupNativeCompilation = $(NamedParamsMacroTemplate)
define SetupNativeCompilationBody
@@ -569,6 +577,7 @@ define SetupNativeCompilationBody
ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
$1_EXTRA_CFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_ASFLAGS += $$(ASFLAGS_DEBUG_SYMBOLS)
endif
ifneq ($$($1_REORDER), )
@@ -874,7 +883,9 @@ define SetupNativeCompilationBody
endif
endif
$$($1_TARGET): $$($1_ALL_OBJS) $$($1_RES) $$($1_VARDEPS_FILE) $$(STATIC_MAPFILE_DEP)
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_VARDEPS_FILE) $$(STATIC_MAPFILE_DEP)
$$($1_TARGET): $$($1_TARGET_DEPS)
$$(call LogInfo, Building static library $$($1_BASENAME))
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_AR) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_ALL_OBJS) \
@@ -964,8 +975,10 @@ define SetupNativeCompilationBody
endif
endif
$$($1_TARGET): $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$$($1_REAL_MAPFILE) $$($1_VARDEPS_FILE)
$$($1_TARGET): $$($1_TARGET_DEPS)
ifneq ($$($1_OBJ_FILE_LIST), )
ifeq ($$($1_LINK_OBJS_RELATIVE), true)
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS_RELATIVE, $$($1_OBJ_FILE_LIST)))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -72,7 +72,7 @@ $(eval $(call SetupJavaCompiler,GENERATE_OLDBYTECODE, \
$(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
JVM := $(JAVA_JAVAC), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -source 11 -target 11 --doclint-format html5 \
FLAGS := -source 12 -target 12 --doclint-format html5 \
-encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
@@ -82,7 +82,7 @@ $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
$(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
JVM := $(JAVA_JAVAC), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -source 11 -target 11 \
FLAGS := -source 12 -target 12 \
-encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))

View File

@@ -42,6 +42,10 @@ endif
# INCLUDE_FILES
# EXCLUDES
# EXCLUDE_FILES
# EXCLUDE_PATTERNS - Patterns with at most one % wildcard matching filenames
# and not directories.
# EXCLUDE_PATTERNS_$dir - Exclude patterns just like above but specific to one
# src dir
# SUFFIXES
# EXTRA_DEPS
# ZIP_OPTIONS extra options to pass to zip
@@ -88,11 +92,26 @@ define SetupZipArchiveBody
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_SRCS))
endif
ifneq ($$($1_EXCLUDE_FILES),)
# Cannot precompute ZIP_EXCLUDE_FILES as it is dependent on which src root is being
# zipped at the moment.
$1_SRC_EXCLUDE_FILES := $$(addprefix %, $$($1_EXCLUDE_FILES)) $$($1_EXCLUDE_FILES)
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDE_FILES), $$($1_ALL_SRCS))
$$(foreach s, $$($1_SRC), \
$$(eval $1_ZIP_EXCLUDES_$$s += \
$$(addprefix -x$$(SPACE), $$(patsubst $$s/%,%, $$($1_EXCLUDE_FILES))) \
) \
)
endif
ifneq ($$($1_EXCLUDE_PATTERNS), )
$1_ALL_SRCS := $$(filter-out $$($1_EXCLUDE_PATTERNS), $$($1_ALL_SRCS))
$1_ZIP_EXCLUDES += $$(addprefix -x$(SPACE), $$(subst %,\*,$$($1_EXCLUDE_PATTERNS)))
endif
# Rewrite src dir specific exclude patterns to zip excludes
$$(foreach s, $$($1_SRC), \
$$(if $$($1_EXCLUDE_PATTERNS_$$s), \
$$(eval $1_ZIP_EXCLUDES_$$s += \
$$(addprefix -x$$(SPACE), $$(subst %,\*,$$($1_EXCLUDE_PATTERNS_$$s))) \
) \
) \
)
# Use a slightly shorter name for logging, but with enough path to identify this zip.
$1_NAME:=$$(subst $$(OUTPUTDIR)/,,$$($1_ZIP))
@@ -107,9 +126,9 @@ define SetupZipArchiveBody
$$($1_ZIP) : $$($1_ALL_SRCS) $$($1_EXTRA_DEPS)
$(MKDIR) -p $$(@D)
$(ECHO) Updating $$($1_NAME)
$$(foreach i,$$($1_SRC),(cd $$i && $(ZIPEXE) -qru $$($1_ZIP_OPTIONS) $$@ . $$($1_ZIP_INCLUDES) \
$$($1_ZIP_EXCLUDES) -x \*_the.\* \
$$(addprefix -x$(SPACE), $$(patsubst $$i/%,%, $$($1_EXCLUDE_FILES))) \
$$(foreach s,$$($1_SRC),(cd $$s && $(ZIPEXE) -qru $$($1_ZIP_OPTIONS) $$@ . \
$$($1_ZIP_INCLUDES) $$($1_ZIP_EXCLUDES) -x \*_the.\* \
$$($1_ZIP_EXCLUDES_$$s) \
|| test "$$$$?" = "12" )$$(NEWLINE)) true
$(TOUCH) $$@

View File

@@ -184,7 +184,8 @@ var getJibProfiles = function (input) {
// Identifies the version of this format to the tool reading it.
// 1.1 signifies that the publish, publish-src and get-src features are usable.
data.format_version = "1.1";
// 1.2 signifies that artifact uploads should fail on missing artifacts by default.
data.format_version = "1.2";
// Organization, product and version are used when uploading/publishing build results
data.organization = "";
@@ -232,16 +233,17 @@ var getJibProfilesCommon = function (input, data) {
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
"solaris-sparcv9", "windows-x64", "windows-x86",
"linux-aarch64", "linux-arm64", "linux-arm-vfp-hflt",
"linux-aarch64", "linux-arm32", "linux-arm64", "linux-arm-vfp-hflt",
"linux-arm-vfp-hflt-dyn"
];
// These are the base setttings for all the main build profiles.
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg", "jib"],
dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf"],
default_make_targets: ["product-bundles", "test-bundles"],
configure_args: concat(["--enable-jtreg-failure-handler"],
versionArgs(input, common))
"--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",
versionArgs(input, common))
};
// Extra settings for debug profiles
common.debug_suffix = "-debug";
@@ -271,28 +273,19 @@ var getJibProfilesCommon = function (input, data) {
*/
common.main_profile_artifacts = function (o) {
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jre_subdir = (o.jre_subdir != null ? o.jre_subdir : "jre-" + data.version);
var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
var pf = o.platform
return {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin.tar.gz\\)",
local: "bundles/\\(jdk.*bin." + jdk_suffix + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin." + jdk_suffix,
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
local: "bundles/\\(jre.*bin.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
@@ -318,15 +311,6 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
local: "bundles/\\(jre.*bin-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jre_subdir,
exploded: "images/jre"
}
}
};
};
@@ -338,28 +322,19 @@ var getJibProfilesCommon = function (input, data) {
*/
common.debug_profile_artifacts = function (o) {
var jdk_subdir = "jdk-" + data.version + "/fastdebug";
var jre_subdir = "jre-" + data.version + "/fastdebug";
var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
var pf = o.platform
return {
artifacts: {
jdk: {
local: "bundles/\\(jdk.*bin-debug.tar.gz\\)",
local: "bundles/\\(jdk.*bin-debug." + jdk_suffix + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-debug." + jdk_suffix,
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre: {
local: "bundles/\\(jre.*bin-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jre_subdir,
exploded: "images/jre"
},
test: {
local: "bundles/\\(jdk.*bin-tests-debug.tar.gz\\)",
remote: [
@@ -377,15 +352,6 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir,
exploded: "images/jdk"
},
jre_symbols: {
local: "bundles/\\(jre.*bin-debug-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jre-" + data.version + "_" + pf + "_bin-debug-symbols.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jre_subdir,
exploded: "images/jre"
}
}
};
};
@@ -412,7 +378,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"linux-x64": {
target_os: "linux",
target_cpu: "x64",
dependencies: ["devkit", "autoconf", "graphviz", "pandoc"],
dependencies: ["devkit", "graphviz", "pandoc", "graalunit_lib"],
configure_args: concat(common.configure_args_64bit,
"--enable-full-docs", "--with-zlib=system"),
default_make_targets: ["docs-bundles"],
@@ -422,7 +388,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "autoconf"],
dependencies: ["devkit"],
configure_args: concat(common.configure_args_32bit,
"--with-jvm-variants=minimal,server", "--with-zlib=system"),
},
@@ -430,7 +396,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"macosx-x64": {
target_os: "macosx",
target_cpu: "x64",
dependencies: ["devkit", "autoconf"],
dependencies: ["devkit", "graalunit_lib"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system",
"--with-macosx-version-max=10.9.0"),
},
@@ -438,7 +404,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"solaris-x64": {
target_os: "solaris",
target_cpu: "x64",
dependencies: ["devkit", "autoconf", "cups"],
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
@@ -446,7 +412,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"solaris-sparcv9": {
target_os: "solaris",
target_cpu: "sparcv9",
dependencies: ["devkit", "autoconf", "cups"],
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
},
@@ -454,7 +420,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"windows-x64": {
target_os: "windows",
target_cpu: "x64",
dependencies: ["devkit", "autoconf"],
dependencies: ["devkit", "graalunit_lib"],
configure_args: concat(common.configure_args_64bit),
},
@@ -462,7 +428,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "windows",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "autoconf"],
dependencies: ["devkit"],
configure_args: concat(common.configure_args_32bit),
},
@@ -470,9 +436,10 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "aarch64",
build_cpu: "x64",
dependencies: ["devkit", "autoconf", "build_devkit", "cups"],
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--openjdk-target=aarch64-linux-gnu", "--with-freetype=bundled",
"--disable-warnings-as-errors", "--with-cpu-port=aarch64",
],
},
@@ -480,7 +447,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "aarch64",
build_cpu: "x64",
dependencies: ["devkit", "autoconf", "build_devkit", "cups", "headless_stubs"],
dependencies: ["devkit", "build_devkit", "cups", "headless_stubs"],
configure_args: [
"--with-cpu-port=arm64",
"--with-jvm-variants=server",
@@ -489,11 +456,22 @@ var getJibProfilesProfiles = function (input, common, data) {
],
},
"linux-arm32": {
target_os: "linux",
target_cpu: "arm",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--openjdk-target=arm-linux-gnueabihf", "--with-freetype=bundled",
"--with-abi-profile=arm-vfp-hflt", "--disable-warnings-as-errors"
],
},
"linux-arm-vfp-hflt": {
target_os: "linux",
target_cpu: "arm",
build_cpu: "x64",
dependencies: ["devkit", "autoconf", "build_devkit", "cups"],
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--with-jvm-variants=minimal1,client",
"--with-x=" + input.get("devkit", "install_path") + "/arm-linux-gnueabihf/libc/usr/X11R6-PI",
@@ -545,17 +523,6 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[maketestName] = concatObjects(profiles[name], testmakeBase);
profiles[maketestName].default_make_targets = [ "test-make" ];
});
// Generate cmp-baseline profiles for each main profile. This profile does
// a compare build run with no changes to verify that the compare script
// has a clean baseline
common.main_profile_names.forEach(function (name) {
var cmpBaselineName = name + "-cmp-baseline";
profiles[cmpBaselineName] = clone(profiles[name]);
// Only compare the images target. This should pressumably be expanded
// to include more build targets when possible.
profiles[cmpBaselineName].default_make_targets = [ "images" ];
profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
});
// Profiles for building the zero jvm variant. These are used for verification
// in JPRT.
@@ -592,6 +559,29 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[debugName] = concatObjects(profiles[name], common.debug_profile_base);
});
// Bootcycle profiles runs the build with itself as the boot jdk. This can
// be done in two ways. Either using the builtin bootcycle target in the
// build system. Or by supplying the main jdk build as bootjdk to configure.
[ "linux-x64", "macosx-x64", "solaris-sparcv9", "windows-x64"]
.forEach(function (name) {
var bootcycleName = name + "-bootcycle";
var bootcyclePrebuiltName = name + "-bootcycle-prebuilt";
// The base bootcycle profile just changes the default target
// compared to the base profile
profiles[bootcycleName] = clone(profiles[name]);
profiles[bootcycleName].default_make_targets = [ "bootcycle-images" ];
// The prebuilt bootcycle variant modifies the boot jdk argument
var bootcyclePrebuiltBase = {
dependencies: [ name + ".jdk" ],
configure_args: "--with-boot-jdk=" + input.get(name + ".jdk", "home_path"),
}
profiles[bootcyclePrebuiltName] = concatObjects(profiles[name],
bootcyclePrebuiltBase);
var bootJdkIndex = profiles[bootcyclePrebuiltName].dependencies.indexOf("boot_jdk");
delete profiles[bootcyclePrebuiltName].dependencies[bootJdkIndex];
profiles[bootcyclePrebuiltName].default_make_targets = [ "product-images" ];
});
//
// Define artifacts for profiles
//
@@ -607,7 +597,6 @@ var getJibProfilesProfiles = function (input, common, data) {
"macosx-x64": {
platform: "osx-x64",
jdk_subdir: "jdk-" + data.version + ".jdk/Contents/Home",
jre_subdir: "jre-" + data.version + ".jre/Contents/Home"
},
"solaris-x64": {
platform: "solaris-x64",
@@ -617,13 +606,18 @@ var getJibProfilesProfiles = function (input, common, data) {
},
"windows-x64": {
platform: "windows-x64",
jdk_suffix: "zip",
},
"windows-x86": {
platform: "windows-x86",
jdk_suffix: "zip",
},
"linux-aarch64": {
platform: "linux-aarch64",
},
"linux-arm32": {
platform: "linux-arm32",
},
"linux-arm64": {
platform: "linux-arm64-vfp-hflt",
},
@@ -714,6 +708,30 @@ var getJibProfilesProfiles = function (input, common, data) {
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
// corresponding debug profile. This profile does a compare build run with no
// changes to verify that the compare script has a clean baseline
common.main_profile_names.forEach(function (name) {
[ "", common.open_suffix ].forEach(function (suffix) {
var cmpBaselineName = name + suffix + "-cmp-baseline";
profiles[cmpBaselineName] = clone(profiles[name + suffix]);
// Only compare the images target. This should pressumably be expanded
// to include more build targets when possible.
profiles[cmpBaselineName].default_make_targets = [ "images" ];
profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
// Do not inherit artifact definitions from base profile
delete profiles[cmpBaselineName].artifacts;
});
});
// Profiles used to run tests. Used in JPRT and Mach 5.
var testOnlyProfiles = {
"run-test-jprt": {
@@ -819,16 +837,20 @@ var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc7.3.0-OEL6.4+1.0",
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
macosx_x64: "Xcode9.4-MacOSX10.13+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u4-Solaris11u1+1.1",
windows_x64: "VS2013SP4+1.0",
windows_x64: "VS2017-15.5.5+1.0",
linux_aarch64: (input.profile != null && input.profile.indexOf("arm64") >= 0
? "gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux+1.0"
: "gcc7.3.0-Fedora27+1.0"),
linux_arm: (input.profile != null && input.profile.indexOf("hflt") >= 0
? "gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux+1.0"
: "arm-linaro-4.7+1.0")
: (input.profile.indexOf("arm32") >= 0
? "gcc7.3.0-Fedora27+1.0"
: "arm-linaro-4.7+1.0"
)
)
};
var devkit_platform = (input.target_cpu == "x86"
@@ -950,6 +972,14 @@ var getJibProfilesDependencies = function (input, common) {
configure_args: "",
},
graalunit_lib: {
organization: common.organization,
ext: "zip",
revision: "619_Apr_12_2018",
module: "graalunit-lib",
configure_args: "--with-graalunit-lib=" + input.get("graalunit_lib", "install_path"),
environment_name: "GRAALUNIT_LIB"
},
};
// Need to add a value for the Visual Studio tools variable to make

View File

@@ -65,79 +65,58 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
MACRO := copy-and-chmod))
TARGETS += $(COPY_MSVCR) $(COPY_MSVCP)
endif
################################################################################
#
# How to install jvm.cfg.
#
ifeq ($(call check-jvm-variant, zero), true)
JVMCFG_ARCH := zero
else
JVMCFG_ARCH := $(OPENJDK_TARGET_CPU_LEGACY)
endif
ifneq ($(UCRT_DLL_DIR), )
$(eval $(call SetupCopyFiles, COPY_UCRT_DLLS, \
DEST := $(LIB_DST_DIR), \
SRC := $(UCRT_DLL_DIR), \
FILES := $(wildcard $(UCRT_DLL_DIR)/*.dll), \
MACRO := copy-and-chmod, \
))
ifeq ($(OPENJDK_TARGET_OS), macosx)
JVMCFG_SRC := $(TOPDIR)/src/java.base/macosx/conf/$(JVMCFG_ARCH)/jvm.cfg
else
JVMCFG_SRC := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/conf/$(JVMCFG_ARCH)/jvm.cfg
# Allow override by ALT_JVMCFG_SRC if it exists
JVMCFG_SRC := $(if $(wildcard $(ALT_JVMCFG_SRC)),$(ALT_JVMCFG_SRC),$(JVMCFG_SRC))
endif
JVMCFG := $(LIB_DST_DIR)/jvm.cfg
ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
COPY_JVM_CFG_FILE := true
else
# On 32-bit machines we have three potential VMs: client, server and minimal.
# Historically we usually have both client and server and so that is what the
# committed jvm.cfg expects (including platform specific ergonomics switches
# to decide whether to use client or server by default). So when we have anything
# other than client and server we need to define a new jvm.cfg file.
# The main problem is deciding whether to use aliases for the VMs that are not
# present and the current position is that we add aliases for client and server, but
# not for minimal.
CLIENT_AND_SERVER := $(call check-jvm-variant, client)+$(call check-jvm-variant, server)
ifeq ($(CLIENT_AND_SERVER), true+true)
COPY_JVM_CFG_FILE := true
else
# For zero, the default jvm.cfg file is sufficient
ifeq ($(call check-jvm-variant, zero), true)
COPY_JVM_CFG_FILE := true
endif
TARGETS += $(COPY_UCRT_DLLS)
endif
endif
ifeq ($(COPY_JVM_CFG_FILE), true)
$(JVMCFG): $(JVMCFG_SRC)
$(call install-file)
else
$(JVMCFG):
$(MKDIR) -p $(@D)
$(RM) $(@)
# Now check for other permutations
ifeq ($(call check-jvm-variant, server), true)
$(PRINTF) "-server KNOWN\n">>$(@)
$(PRINTF) "-client ALIASED_TO -server\n">>$(@)
ifeq ($(call check-jvm-variant, minimal), true)
$(PRINTF) "-minimal KNOWN\n">>$(@)
endif
else
ifeq ($(call check-jvm-variant, client), true)
$(PRINTF) "-client KNOWN\n">>$(@)
$(PRINTF) "-server ALIASED_TO -client\n">>$(@)
ifeq ($(call check-jvm-variant, minimal), true)
$(PRINTF) "-minimal KNOWN\n">>$(@)
endif
else
ifeq ($(call check-jvm-variant, minimal), true)
$(PRINTF) "-minimal KNOWN\n">>$(@)
$(PRINTF) "-server ALIASED_TO -minimal\n">>$(@)
$(PRINTF) "-client ALIASED_TO -minimal\n">>$(@)
endif
endif
endif
################################################################################
# In jvm.cfg, the first listed KNOWN variant is the default. On most build
# configurations, that is the server variant.
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), windows-x86)
DEFAULT_CFG_VARIANT ?= client
endif
DEFAULT_CFG_VARIANT ?= server
# Any variant other than server, client or minimal is represented as server in
# the cfg file.
VALID_CFG_VARIANTS := server client minimal
CFG_VARIANTS := $(filter $(VALID_CFG_VARIANTS), $(JVM_VARIANTS)) \
$(if $(filter-out $(VALID_CFG_VARIANTS), $(JVM_VARIANTS)), server)
# Change the order to put the default variant first if present.
ORDERED_CFG_VARIANTS := \
$(if $(filter $(DEFAULT_CFG_VARIANT), $(CFG_VARIANTS)), $(DEFAULT_CFG_VARIANT)) \
$(filter-out $(DEFAULT_CFG_VARIANT), $(CFG_VARIANTS))
JVMCFG := $(LIB_DST_DIR)/jvm.cfg
define print-cfg-line
$(call LogInfo, Adding -$1 $2 to jvm.cfg)
$(PRINTF) -- "-$1 $2\n" >> $@ $(NEWLINE)
endef
$(JVMCFG): $(call DependOnVariable, ORDERED_CFG_VARIANTS)
$(call MakeTargetDir)
$(RM) $@
$(foreach v, $(ORDERED_CFG_VARIANTS), \
$(call print-cfg-line,$v,KNOWN) \
)
# If either of server or client aren't present, add IGNORE lines for
# them.
$(foreach v, server client, \
$(if $(filter $v, $(ORDERED_CFG_VARIANTS)), , \
$(call print-cfg-line,$v,IGNORE) \
) \
)
TARGETS += $(JVMCFG)

View File

@@ -0,0 +1,46 @@
#
# Copyright (c) 2014, 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.
#
include CopyCommon.gmk
################################################################################
$(eval $(call SetupCopyFiles, COPY_JFR_METADATA, \
SRC := $(TOPDIR)/src/hotspot/share/jfr/metadata, \
DEST := $(JDK_OUTPUTDIR)/modules/jdk.jfr/jdk/jfr/internal/types, \
FILES := metadata.xml \
))
TARGETS += $(COPY_JFR_METADATA)
JFR_CONF_DIR := $(TOPDIR)/src/jdk.jfr/share/conf/jfr
$(eval $(call SetupCopyFiles, COPY_JFR_CONF, \
DEST := $(LIB_DST_DIR)/jfr, \
FILES := $(wildcard $(JFR_CONF_DIR)/*.jfc), \
FLATTEN := true, \
))
TARGETS += $(COPY_JFR_CONF)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2000, 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
@@ -32,7 +32,7 @@ formatVersion=3
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment.
dataVersion=164
dataVersion=167
# List of all valid ISO 4217 currency codes.
# To ensure compatibility, do not remove codes.
@@ -47,7 +47,7 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036
HRK191-HTG332-HUF348-IDR360-IEP372-ILS376-INR356-IQD368-IRR364-ISK352-\
ITL380-JMD388-JOD400-JPY392-KES404-KGS417-KHR116-KMF174-KPW408-KRW410-\
KWD414-KYD136-KZT398-LAK418-LBP422-LKR144-LRD430-LSL426-LTL440-LUF442-\
LVL428-LYD434-MAD504-MDL498-MGA969-MGF450-MKD807-MMK104-MNT496-MOP446-MRO478-\
LVL428-LYD434-MAD504-MDL498-MGA969-MGF450-MKD807-MMK104-MNT496-MOP446-MRO478-MRU929-\
MTL470-MUR480-MVR462-MWK454-MXN484-MXV979-MYR458-MZM508-MZN943-NAD516-NGN566-\
NIO558-NLG528-NOK578-NPR524-NZD554-OMR512-PAB590-PEN604-PGK598-PHP608-\
PKR586-PLN985-PTE620-PYG600-QAR634-ROL946-RON946-RSD941-RUB643-RUR810-RWF646-SAR682-\
@@ -324,7 +324,7 @@ KG=KGS
# LAO PEOPLE'S DEMOCRATIC REPUBLIC (THE)
LA=LAK
# LATVIA
LV=LVL;2013-12-31-22-00-00;EUR
LV=EUR
# LEBANON
LB=LBP
# LESOTHO
@@ -336,7 +336,7 @@ LY=LYD
# LIECHTENSTEIN
LI=CHF
# LITHUANIA
LT=LTL;2014-12-31-22-00-00;EUR
LT=EUR
# LUXEMBOURG
LU=EUR
# MACAU
@@ -360,7 +360,7 @@ MH=USD
# MARTINIQUE
MQ=EUR
# MAURITANIA
MR=MRO
MR=MRU
# MAURITIUS
MU=MUR
# MAYOTTE

View File

@@ -34,9 +34,7 @@ allfonts.chinese-gb18030=SimSun-18030
allfonts.chinese-hkscs=MingLiU_HKSCS
allfonts.devanagari=Mangal
allfonts.dingbats=Wingdings
allfonts.lucida=Lucida Sans Regular
allfonts.symbol=Symbol
allfonts.thai=Lucida Sans Regular
serif.plain.alphabetic=Times New Roman
serif.plain.chinese-ms950=MingLiU
@@ -202,10 +200,9 @@ sequence.monospaced.x-windows-949=korean,alphabetic,dingbats,symbol
sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol
sequence.allfonts.x-windows-874=alphabetic,dingbats,symbol
sequence.fallback=lucida,\
chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
sequence.fallback=chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
japanese,korean
# Exclusion Ranges
@@ -256,7 +253,6 @@ filename.Gulim=gulim.TTC
filename.Batang=batang.TTC
filename.GulimChe=gulim.TTC
filename.Lucida_Sans_Regular=LucidaSansRegular.ttf
filename.Mangal=MANGAL.TTF
filename.Symbol=SYMBOL.TTF
filename.Wingdings=WINGDING.TTF

View File

@@ -43,7 +43,6 @@ allfonts.dingbats=-microsoft-wingdings-medium-r-normal--*-%d-*-*-p-*-adobe-fonts
allfonts.japanese-x0212=-misc-ipagothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1
allfonts.korean=-hanyang-gothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1
allfonts.korean-johab=-hanyang-gothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
allfonts.symbol=-monotype-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-symbol
allfonts.bengali=-misc-lohit bengali-medium-r-normal--0-0-0-0-p-0-iso10646-1
allfonts.gujarati=-misc-lohit gujarati-medium-r-normal--0-0-0-0-p-0-iso10646-1
@@ -426,7 +425,7 @@ sequence.allfonts.UTF-8.zh.TW=latin-1,chinese-big5,chinese-hkscs,chinese-gb18030
# - japanese-x0212: same files as japanese-x0201
# - korean: same file as korean-johab
sequence.fallback=latin-1,latin-2,latin-7,cyrillic-iso8859-5,greek,latin-5,latin-9,\
arabic,hebrew,thai,lucida,\
arabic,hebrew,thai,\
chinese-gb18030-0,\
japanese-x0201,korean-johab,\
hindi,bengali,telugu,marathi,tamil,gujarati,kannada,malayalam,\
@@ -466,7 +465,6 @@ filename.-hanyang-gothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fon
filename.-arphic-uming-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fonts/TrueType/arphic/uming.ttf
filename.-monotype-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-symbol=/usr/share/fonts/TrueType/core/symbol.ttf
filename.-microsoft-wingdings-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific=/usr/share/fonts/TrueType/core/wingdings.ttf
filename.-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaSansRegular.ttf
filename.-misc-lohit_bengali-medium-r-normal--0-0-0-0-p-0-iso10646-1=/usr/share/fonts/TrueType/lohit/Lohit-Bengali.ttf
filename.-misc-lohit_gujarati-medium-r-normal--0-0-0-0-p-0-iso10646-1=/usr/share/fonts/TrueType/lohit/Lohit-Gujarati.ttf
filename.-misc-lohit_hindi-medium-r-normal--0-0-0-0-p-0-iso10646-1=/usr/share/fonts/TrueType/lohit/Lohit-Hindi.ttf

View File

@@ -39,10 +39,9 @@ allfonts.chinese-ms950-extb=MingLiU-ExtB
allfonts.devanagari=Mangal
allfonts.kannada=Tunga
allfonts.dingbats=Wingdings
allfonts.lucida=Lucida Sans Regular
allfonts.symbol=Symbol
allfonts.symbols=Segoe UI Symbol
allfonts.thai=Lucida Sans Regular
allfonts.thai=DokChampa
allfonts.georgian=Sylfaen
serif.plain.alphabetic=Times New Roman
@@ -238,13 +237,13 @@ sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol
sequence.fallback=lucida,symbols,\
sequence.fallback=symbols,\
chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
japanese,korean,chinese-ms950-extb,chinese-ms936-extb,georgian,kannada
# Exclusion Ranges
exclusion.alphabetic=0700-1e9f,1f00-2017,2020-20ab,20ad-20b8,20bb-20bc,20be-f8ff
exclusion.alphabetic=0700-1cff,1d80-1e9f,1f00-2017,2020-20ab,20ad-20b8,20bb-20bc,20be-f8ff
exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be
exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac
@@ -294,7 +293,7 @@ filename.Gulim=gulim.TTC
filename.Batang=batang.TTC
filename.GulimChe=gulim.TTC
filename.Lucida_Sans_Regular=LucidaSansRegular.ttf
filename.DokChampa=dokchamp.ttf
filename.Mangal=MANGAL.TTF
filename.Tunga=TUNGA.TTF
filename.Symbol=SYMBOL.TTF

View File

@@ -395,8 +395,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"Can the VM add methods when redefining "
"classes?")
(boolean canUnrestrictedlyRedefineClasses
"Can the VM redefine classes"
"in arbitrary ways?")
"Can the VM redefine classes "
"in ways that are normally restricted?")
(boolean canPopFrames
"Can the VM pop stack frames?")
(boolean canUseInstanceFilters
@@ -460,12 +460,23 @@ JDWP "Java(tm) Debug Wire Protocol"
"<a href=\"#JDWP_StackFrame_PopFrames\">PopFrames</a> command can be used "
"to pop frames with obsolete methods."
"<p>"
"Unless the canUnrestrictedlyRedefineClasses capability is present the following "
"redefinitions are restricted: "
"<ul>"
"<li>changing the schema (the fields)</li>"
"<li>changing the hierarchy (superclasses, interfaces)</li>"
"<li>deleting a method</li>"
"<li>changing class modifiers</li>"
"<li>changing method modifiers</li>"
"<li>changing the <code>NestHost</code> or <code>NestMembers</code> class attributes</li>"
"</ul>"
"<p>"
"Requires canRedefineClasses capability - see "
"<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>. "
"In addition to the canRedefineClasses capability, the target VM must "
"have the canAddMethod capability to add methods when redefining classes, "
"or the canUnrestrictedlyRedefineClasses to redefine classes in arbitrary "
"ways."
"or the canUnrestrictedlyRedefineClasses capability to redefine classes in ways "
"that are normally restricted."
(Out
(Repeat classes "Number of reference types that follow."
(Group ClassDef
@@ -496,6 +507,7 @@ JDWP "Java(tm) Debug Wire Protocol"
(Error DELETE_METHOD_NOT_IMPLEMENTED)
(Error CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED)
(Error METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED)
(Error CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED)
(Error VM_DEAD)
)
)
@@ -1997,8 +2009,7 @@ JDWP "Java(tm) Debug Wire Protocol"
)
)
(Command Stop=10
"Stops the thread with an asynchronous exception, as if done by "
"java.lang.Thread.stop "
"Stops the thread with an asynchronous exception. "
(Out
(threadObject thread "The thread object ID. ")
(object throwable "Asynchronous exception. This object must "
@@ -3149,12 +3160,16 @@ JDWP "Java(tm) Debug Wire Protocol"
"different from the name in the old class object.")
(Constant CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED
=70 "The new class version has different modifiers and "
"and canUnrestrictedlyRedefineClasses is false.")
"canUnrestrictedlyRedefineClasses is false.")
(Constant METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED
=71 "A method in the new class version has "
"different modifiers "
"than its counterpart in the old class version and "
"and canUnrestrictedlyRedefineClasses is false.")
"canUnrestrictedlyRedefineClasses is false.")
(Constant CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED
=72 "The new class version has different NestHost or "
"NestMembers class attribute and "
"canUnrestrictedlyRedefineClasses is false.")
(Constant NOT_IMPLEMENTED =99 "The functionality is not implemented in "
"this virtual machine.")
(Constant NULL_POINTER =100 "Invalid pointer.")

View File

@@ -1,4 +1,4 @@
File-Date: 2017-08-15
File-Date: 2018-04-23
%%
Type: language
Subtag: aa
@@ -378,6 +378,7 @@ Subtag: hy
Description: Armenian
Added: 2005-10-16
Suppress-Script: Armn
Comments: see also hyw
%%
Type: language
Subtag: hz
@@ -525,6 +526,7 @@ Suppress-Script: Latn
%%
Type: language
Subtag: km
Description: Khmer
Description: Central Khmer
Added: 2005-10-16
Suppress-Script: Khmr
@@ -957,6 +959,7 @@ Subtag: sr
Description: Serbian
Added: 2005-10-16
Macrolanguage: sh
Comments: see cnr for Montenegrin
%%
Type: language
Subtag: ss
@@ -1531,6 +1534,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: add
Description: Lidzonka
Description: Dzodinka
Added: 2009-07-29
%%
@@ -2114,7 +2118,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: aja
Description: Aja (Sudan)
Description: Aja (South Sudan)
Added: 2009-07-29
%%
Type: language
@@ -3097,6 +3101,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: asf
Description: Auslan
Description: Australian Sign Language
Added: 2009-07-29
%%
@@ -4240,7 +4245,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: bdh
Description: Baka (Sudan)
Description: Baka (South Sudan)
Added: 2009-07-29
%%
Type: language
@@ -4250,6 +4255,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: bdj
Description: Bai (South Sudan)
Description: Bai
Added: 2009-07-29
%%
@@ -5293,7 +5299,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: blm
Description: Beli (Sudan)
Description: Beli (South Sudan)
Added: 2009-07-29
%%
Type: language
@@ -8104,6 +8110,13 @@ Description: Con
Added: 2009-07-29
%%
Type: language
Subtag: cnr
Description: Montenegrin
Added: 2018-01-23
Macrolanguage: sh
Comments: see sr for Serbian
%%
Type: language
Subtag: cns
Description: Central Asmat
Added: 2009-07-29
@@ -8768,6 +8781,11 @@ Description: Tepeuxila Cuicatec
Added: 2009-07-29
%%
Type: language
Subtag: cuy
Description: Cuitlatec
Added: 2018-03-08
%%
Type: language
Subtag: cvg
Description: Chug
Added: 2009-07-29
@@ -11089,7 +11107,7 @@ Added: 2005-10-16
%%
Type: language
Subtag: fap
Description: Palor
Description: Paloor
Added: 2009-07-29
%%
Type: language
@@ -12282,6 +12300,11 @@ Description: Guya
Added: 2009-07-29
%%
Type: language
Subtag: gkd
Description: Magɨ (Madang Province)
Added: 2018-03-08
%%
Type: language
Subtag: gke
Description: Ndai
Added: 2009-07-29
@@ -12494,6 +12517,11 @@ Description: Gooniyandi
Added: 2009-07-29
%%
Type: language
Subtag: gnj
Description: Ngen
Added: 2018-03-08
%%
Type: language
Subtag: gnk
Description: //Gana
Description: ǁGana
@@ -13224,6 +13252,11 @@ Description: Guyanese Creole English
Added: 2009-07-29
%%
Type: language
Subtag: gyo
Description: Gyalsumdo
Added: 2018-03-08
%%
Type: language
Subtag: gyr
Description: Guarayu
Added: 2009-07-29
@@ -13584,6 +13617,11 @@ Description: Hunjara-Kaina Ke
Added: 2009-07-29
%%
Type: language
Subtag: hkn
Description: Mel-Khaonh
Added: 2018-03-08
%%
Type: language
Subtag: hks
Description: Hong Kong Sign Language
Description: Heung Kong Sau Yue
@@ -14238,6 +14276,12 @@ Description: Hya
Added: 2009-07-29
%%
Type: language
Subtag: hyw
Description: Western Armenian
Added: 2018-03-08
Comments: see also hy
%%
Type: language
Subtag: hyx
Description: Armenian (family)
Added: 2009-07-29
@@ -14860,6 +14904,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: iri
Description: Rigwe
Description: Irigwe
Added: 2009-07-29
%%
@@ -20313,7 +20358,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: lno
Description: Lango (Sudan)
Description: Lango (South Sudan)
Added: 2009-07-29
%%
Type: language
@@ -20579,6 +20624,7 @@ Type: language
Subtag: lsg
Description: Lyons Sign Language
Added: 2009-07-29
Deprecated: 2018-03-08
%%
Type: language
Subtag: lsh
@@ -20850,6 +20896,11 @@ Description: Luwo
Added: 2009-07-29
%%
Type: language
Subtag: lws
Description: Malawian Sign Language
Added: 2018-03-08
%%
Type: language
Subtag: lwt
Description: Lewotobi
Added: 2009-07-29
@@ -20904,6 +20955,7 @@ Type: language
Subtag: maa
Description: San Jerónimo Tecóatl Mazatec
Added: 2009-07-29
Comments: see also pbm
%%
Type: language
Subtag: mab
@@ -23799,11 +23851,13 @@ Type: language
Subtag: mwx
Description: Mediak
Added: 2009-07-29
Deprecated: 2018-03-08
%%
Type: language
Subtag: mwy
Description: Mosiro
Added: 2009-07-29
Deprecated: 2018-03-08
%%
Type: language
Subtag: mwz
@@ -24527,6 +24581,8 @@ Type: language
Subtag: ncp
Description: Ndaktup
Added: 2009-07-29
Deprecated: 2018-03-08
Preferred-Value: kdz
%%
Type: language
Subtag: ncq
@@ -25458,6 +25514,11 @@ Description: Nihali
Added: 2009-07-29
%%
Type: language
Subtag: nlm
Description: Mankiyali
Added: 2018-03-08
%%
Type: language
Subtag: nln
Description: Durango Nahuatl
Added: 2009-07-29
@@ -26693,6 +26754,11 @@ Description: Njebi
Added: 2009-07-29
%%
Type: language
Subtag: nzd
Description: Nzadi
Added: 2018-03-08
%%
Type: language
Subtag: nzi
Description: Nzima
Added: 2005-10-16
@@ -27757,6 +27823,12 @@ Description: Mak (Nigeria)
Added: 2009-07-29
%%
Type: language
Subtag: pbm
Description: Puebla Mazatec
Added: 2018-03-08
Comments: see also maa
%%
Type: language
Subtag: pbn
Description: Kpasam
Added: 2009-07-29
@@ -30902,6 +30974,7 @@ Added: 2005-10-16
%%
Type: language
Subtag: scp
Description: Hyolmo
Description: Helambu Sherpa
Added: 2009-07-29
%%
@@ -33049,6 +33122,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: sxg
Description: Shuhi
Description: Shixing
Added: 2009-07-29
%%
@@ -33835,6 +33909,11 @@ Description: Tulishi
Added: 2009-07-29
%%
Type: language
Subtag: tez
Description: Tetserret
Added: 2018-03-08
%%
Type: language
Subtag: tfi
Description: Tofin Gbe
Added: 2009-07-29
@@ -34399,7 +34478,7 @@ Added: 2009-07-29
Type: language
Subtag: tlh
Description: Klingon
Description: tlhIngan-Hol
Description: tlhIngan Hol
Added: 2005-10-16
%%
Type: language
@@ -42199,6 +42278,7 @@ Prefix: sgn
%%
Type: extlang
Subtag: asf
Description: Auslan
Description: Australian Sign Language
Added: 2009-07-29
Preferred-Value: asf
@@ -42927,7 +43007,7 @@ Type: extlang
Subtag: lsg
Description: Lyons Sign Language
Added: 2009-07-29
Preferred-Value: lsg
Deprecated: 2018-03-08
Prefix: sgn
%%
Type: extlang
@@ -42983,6 +43063,13 @@ Prefix: lv
Macrolanguage: lv
%%
Type: extlang
Subtag: lws
Description: Malawian Sign Language
Added: 2018-03-08
Preferred-Value: lws
Prefix: sgn
%%
Type: extlang
Subtag: lzh
Description: Literary Chinese
Added: 2009-07-29
@@ -44493,6 +44580,11 @@ Description: Kaganga
Added: 2006-10-17
%%
Type: script
Subtag: Rohg
Description: Hanifi Rohingya
Added: 2017-12-13
%%
Type: script
Subtag: Roro
Description: Rongorongo
Added: 2005-10-16
@@ -44563,6 +44655,16 @@ Description: Sinhala
Added: 2005-10-16
%%
Type: script
Subtag: Sogd
Description: Sogdian
Added: 2017-12-13
%%
Type: script
Subtag: Sogo
Description: Old Sogdian
Added: 2017-12-13
%%
Type: script
Subtag: Sora
Description: Sora Sompeng
Added: 2011-01-07
@@ -46412,15 +46514,26 @@ Comments: Portuguese orthography conventions established in 1990 but
not brought into effect until 2009
%%
Type: variant
Subtag: aranes
Description: Aranese
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in the Val d'Aran
%%
Type: variant
Subtag: arevela
Description: Eastern Armenian
Added: 2006-09-18
Deprecated: 2018-03-24
Preferred-Value: hy
Prefix: hy
%%
Type: variant
Subtag: arevmda
Description: Western Armenian
Added: 2006-09-18
Deprecated: 2018-03-24
Preferred-Value: hyw
Prefix: hy
%%
Type: variant
@@ -46431,6 +46544,13 @@ Added: 2017-06-05
Prefix: tw
%%
Type: variant
Subtag: auvern
Description: Auvergnat
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Auvergne
%%
Type: variant
Subtag: baku1926
Description: Unified Turkic Latin Alphabet (Historical)
Added: 2007-04-18
@@ -46510,6 +46630,13 @@ Prefix: en
Comments: Jargon embedded in American English
%%
Type: variant
Subtag: cisaup
Description: Cisalpine
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in northwestern Italy
%%
Type: variant
Subtag: colb1945
Description: Portuguese-Brazilian Orthographic Convention of 1945
(Convenção Ortográfica Luso-Brasileira de 1945)
@@ -46528,6 +46655,12 @@ Added: 2015-12-07
Prefix: en
%%
Type: variant
Subtag: creiss
Description: Occitan variants of the Croissant area
Added: 2018-04-22
Prefix: oc
%%
Type: variant
Subtag: dajnko
Description: Slovene in Dajnko alphabet
Added: 2012-06-27
@@ -46556,6 +46689,11 @@ Description: International Phonetic Alphabet
Added: 2006-12-11
%%
Type: variant
Subtag: fonkirsh
Description: Kirshenbaum Phonetic Alphabet
Added: 2018-04-22
%%
Type: variant
Subtag: fonnapa
Description: North American Phonetic Alphabet
Description: Americanist Phonetic Notation
@@ -46573,6 +46711,36 @@ Added: 2010-10-23
Comments: Indicates that the content is transcribed according to X-SAMPA
%%
Type: variant
Subtag: gascon
Description: Gascon
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Gascony
%%
Type: variant
Subtag: grclass
Description: Classical Occitan orthography
Added: 2018-04-22
Prefix: oc
Comments: Classical written standard for Occitan developed in 1935 by
Alibèrt
%%
Type: variant
Subtag: grital
Description: Italian-inspired Occitan orthography
Added: 2018-04-22
Prefix: oc
%%
Type: variant
Subtag: grmistr
Description: Mistralian or Mistralian-inspired Occitan orthography
Added: 2018-04-22
Prefix: oc
Comments: Written standard developed by Romanilha in 1853 and used by
Mistral and the Félibres, including derived standards such as Escolo
dóu Po, Escolo Gaston Febus, and others
%%
Type: variant
Subtag: hepburn
Description: Hepburn romanization
Added: 2009-10-01
@@ -46617,6 +46785,13 @@ Added: 2010-07-28
Prefix: sa
%%
Type: variant
Subtag: ivanchov
Description: Bulgarian in 1899 orthography
Added: 2017-12-13
Prefix: bg
Comments: Bulgarian orthography introduced by Todor Ivanchov in 1899
%%
Type: variant
Subtag: jauer
Description: Jauer dialect of Romansh
Added: 2010-06-29
@@ -46659,6 +46834,20 @@ Added: 2010-07-28
Prefix: sa
%%
Type: variant
Subtag: lemosin
Description: Limousin
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Limousin
%%
Type: variant
Subtag: lengadoc
Description: Languedocien
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Languedoc
%%
Type: variant
Subtag: lipaw
Description: The Lipovaz dialect of Resian
Description: The Lipovec dialect of Resian
@@ -46712,6 +46901,13 @@ Added: 2015-11-25
Prefix: en-CA
%%
Type: variant
Subtag: nicard
Description: Niçard
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Nice
%%
Type: variant
Subtag: njiva
Description: The Gniva dialect of Resian
Description: The Njiva dialect of Resian
@@ -46798,6 +46994,13 @@ Added: 2006-12-11
Prefix: el
%%
Type: variant
Subtag: provenc
Description: Provençal
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in Provence
%%
Type: variant
Subtag: puter
Description: Puter idiom of Romansh
Added: 2010-06-29
@@ -46959,6 +47162,13 @@ Comments: Vallader is one of the five traditional written standards or
"idioms" of the Romansh language.
%%
Type: variant
Subtag: vivaraup
Description: Vivaro-Alpine
Added: 2018-04-22
Prefix: oc
Comments: Occitan variant spoken in northeastern Occitania
%%
Type: variant
Subtag: wadegile
Description: Wade-Giles romanization
Added: 2008-10-03

View File

@@ -0,0 +1,2 @@
Github: https://raw.githubusercontent.com/publicsuffix/list/2225db8d9f4a2a27ec697c883360632fa0c16261/public_suffix_list.dat
Date: 2018-05-24

File diff suppressed because it is too large Load Diff

View File

@@ -1,890 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name java/io/Closeable
header extends java/lang/Object flags 601
class name java/io/File
-method name toPath descriptor ()Ljava/nio/file/Path;
class name java/io/FileOutputStream
-method name write descriptor (I)V
method name write descriptor (I)V thrownTypes java/io/IOException flags 101
class name java/io/ObjectInput
header extends java/lang/Object implements java/io/DataInput flags 601
class name java/io/ObjectOutput
header extends java/lang/Object implements java/io/DataOutput flags 601
class name java/lang/AssertionError
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;)V
-class name java/lang/AutoCloseable
class name java/lang/Boolean
-method name compare descriptor (ZZ)I
-class name java/lang/BootstrapMethodError
class name java/lang/Byte
-method name compare descriptor (BB)I
class name java/lang/Character
header extends java/lang/Object implements java/io/Serializable,java/lang/Comparable flags 31 signature Ljava/lang/Object;Ljava/io/Serializable;Ljava/lang/Comparable<Ljava/lang/Character;>;
innerclass innerClass java/lang/Character$Subset outerClass java/lang/Character innerClassName Subset flags 9
innerclass innerClass java/lang/Character$UnicodeBlock outerClass java/lang/Character innerClassName UnicodeBlock flags 19
-method name isBmpCodePoint descriptor (I)Z
-method name isSurrogate descriptor (C)Z
-method name highSurrogate descriptor (I)C
-method name lowSurrogate descriptor (I)C
-method name isAlphabetic descriptor (I)Z
-method name isIdeographic descriptor (I)Z
-method name compare descriptor (CC)I
-method name getName descriptor (I)Ljava/lang/String;
class name java/lang/Character$UnicodeBlock
-field name ARABIC_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name NKO descriptor Ljava/lang/Character$UnicodeBlock;
-field name SAMARITAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name MANDAIC descriptor Ljava/lang/Character$UnicodeBlock;
-field name ETHIOPIC_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED descriptor Ljava/lang/Character$UnicodeBlock;
-field name NEW_TAI_LUE descriptor Ljava/lang/Character$UnicodeBlock;
-field name BUGINESE descriptor Ljava/lang/Character$UnicodeBlock;
-field name TAI_THAM descriptor Ljava/lang/Character$UnicodeBlock;
-field name BALINESE descriptor Ljava/lang/Character$UnicodeBlock;
-field name SUNDANESE descriptor Ljava/lang/Character$UnicodeBlock;
-field name BATAK descriptor Ljava/lang/Character$UnicodeBlock;
-field name LEPCHA descriptor Ljava/lang/Character$UnicodeBlock;
-field name OL_CHIKI descriptor Ljava/lang/Character$UnicodeBlock;
-field name VEDIC_EXTENSIONS descriptor Ljava/lang/Character$UnicodeBlock;
-field name PHONETIC_EXTENSIONS_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name COMBINING_DIACRITICAL_MARKS_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name GLAGOLITIC descriptor Ljava/lang/Character$UnicodeBlock;
-field name LATIN_EXTENDED_C descriptor Ljava/lang/Character$UnicodeBlock;
-field name COPTIC descriptor Ljava/lang/Character$UnicodeBlock;
-field name GEORGIAN_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name TIFINAGH descriptor Ljava/lang/Character$UnicodeBlock;
-field name ETHIOPIC_EXTENDED descriptor Ljava/lang/Character$UnicodeBlock;
-field name CYRILLIC_EXTENDED_A descriptor Ljava/lang/Character$UnicodeBlock;
-field name SUPPLEMENTAL_PUNCTUATION descriptor Ljava/lang/Character$UnicodeBlock;
-field name CJK_STROKES descriptor Ljava/lang/Character$UnicodeBlock;
-field name LISU descriptor Ljava/lang/Character$UnicodeBlock;
-field name VAI descriptor Ljava/lang/Character$UnicodeBlock;
-field name CYRILLIC_EXTENDED_B descriptor Ljava/lang/Character$UnicodeBlock;
-field name BAMUM descriptor Ljava/lang/Character$UnicodeBlock;
-field name MODIFIER_TONE_LETTERS descriptor Ljava/lang/Character$UnicodeBlock;
-field name LATIN_EXTENDED_D descriptor Ljava/lang/Character$UnicodeBlock;
-field name SYLOTI_NAGRI descriptor Ljava/lang/Character$UnicodeBlock;
-field name COMMON_INDIC_NUMBER_FORMS descriptor Ljava/lang/Character$UnicodeBlock;
-field name PHAGS_PA descriptor Ljava/lang/Character$UnicodeBlock;
-field name SAURASHTRA descriptor Ljava/lang/Character$UnicodeBlock;
-field name DEVANAGARI_EXTENDED descriptor Ljava/lang/Character$UnicodeBlock;
-field name KAYAH_LI descriptor Ljava/lang/Character$UnicodeBlock;
-field name REJANG descriptor Ljava/lang/Character$UnicodeBlock;
-field name HANGUL_JAMO_EXTENDED_A descriptor Ljava/lang/Character$UnicodeBlock;
-field name JAVANESE descriptor Ljava/lang/Character$UnicodeBlock;
-field name CHAM descriptor Ljava/lang/Character$UnicodeBlock;
-field name MYANMAR_EXTENDED_A descriptor Ljava/lang/Character$UnicodeBlock;
-field name TAI_VIET descriptor Ljava/lang/Character$UnicodeBlock;
-field name ETHIOPIC_EXTENDED_A descriptor Ljava/lang/Character$UnicodeBlock;
-field name MEETEI_MAYEK descriptor Ljava/lang/Character$UnicodeBlock;
-field name HANGUL_JAMO_EXTENDED_B descriptor Ljava/lang/Character$UnicodeBlock;
-field name VERTICAL_FORMS descriptor Ljava/lang/Character$UnicodeBlock;
-field name ANCIENT_GREEK_NUMBERS descriptor Ljava/lang/Character$UnicodeBlock;
-field name ANCIENT_SYMBOLS descriptor Ljava/lang/Character$UnicodeBlock;
-field name PHAISTOS_DISC descriptor Ljava/lang/Character$UnicodeBlock;
-field name LYCIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name CARIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name OLD_PERSIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name IMPERIAL_ARAMAIC descriptor Ljava/lang/Character$UnicodeBlock;
-field name PHOENICIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name LYDIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name KHAROSHTHI descriptor Ljava/lang/Character$UnicodeBlock;
-field name OLD_SOUTH_ARABIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name AVESTAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name INSCRIPTIONAL_PARTHIAN descriptor Ljava/lang/Character$UnicodeBlock;
-field name INSCRIPTIONAL_PAHLAVI descriptor Ljava/lang/Character$UnicodeBlock;
-field name OLD_TURKIC descriptor Ljava/lang/Character$UnicodeBlock;
-field name RUMI_NUMERAL_SYMBOLS descriptor Ljava/lang/Character$UnicodeBlock;
-field name BRAHMI descriptor Ljava/lang/Character$UnicodeBlock;
-field name KAITHI descriptor Ljava/lang/Character$UnicodeBlock;
-field name CUNEIFORM descriptor Ljava/lang/Character$UnicodeBlock;
-field name CUNEIFORM_NUMBERS_AND_PUNCTUATION descriptor Ljava/lang/Character$UnicodeBlock;
-field name EGYPTIAN_HIEROGLYPHS descriptor Ljava/lang/Character$UnicodeBlock;
-field name BAMUM_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name KANA_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name ANCIENT_GREEK_MUSICAL_NOTATION descriptor Ljava/lang/Character$UnicodeBlock;
-field name COUNTING_ROD_NUMERALS descriptor Ljava/lang/Character$UnicodeBlock;
-field name MAHJONG_TILES descriptor Ljava/lang/Character$UnicodeBlock;
-field name DOMINO_TILES descriptor Ljava/lang/Character$UnicodeBlock;
-field name PLAYING_CARDS descriptor Ljava/lang/Character$UnicodeBlock;
-field name ENCLOSED_ALPHANUMERIC_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name ENCLOSED_IDEOGRAPHIC_SUPPLEMENT descriptor Ljava/lang/Character$UnicodeBlock;
-field name MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS descriptor Ljava/lang/Character$UnicodeBlock;
-field name EMOTICONS descriptor Ljava/lang/Character$UnicodeBlock;
-field name TRANSPORT_AND_MAP_SYMBOLS descriptor Ljava/lang/Character$UnicodeBlock;
-field name ALCHEMICAL_SYMBOLS descriptor Ljava/lang/Character$UnicodeBlock;
-field name CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C descriptor Ljava/lang/Character$UnicodeBlock;
-field name CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D descriptor Ljava/lang/Character$UnicodeBlock;
-class name java/lang/Character$UnicodeScript
class name java/lang/ClassLoader
-method name loadClass descriptor (Ljava/lang/String;Z)Ljava/lang/Class;
-method name getClassLoadingLock descriptor (Ljava/lang/String;)Ljava/lang/Object;
-method name setDefaultAssertionStatus descriptor (Z)V
-method name setPackageAssertionStatus descriptor (Ljava/lang/String;Z)V
-method name setClassAssertionStatus descriptor (Ljava/lang/String;Z)V
-method name clearAssertionStatus descriptor ()V
-method name registerAsParallelCapable descriptor ()Z
method name loadClass descriptor (Ljava/lang/String;Z)Ljava/lang/Class; thrownTypes java/lang/ClassNotFoundException flags 24 signature (Ljava/lang/String;Z)Ljava/lang/Class<*>;
method name setDefaultAssertionStatus descriptor (Z)V flags 21
method name setPackageAssertionStatus descriptor (Ljava/lang/String;Z)V flags 21
method name setClassAssertionStatus descriptor (Ljava/lang/String;Z)V flags 21
method name clearAssertionStatus descriptor ()V flags 21
class name java/lang/ClassNotFoundException
header extends java/lang/Exception flags 21
-class name java/lang/ClassValue
class name java/lang/Deprecated
header extends java/lang/Object implements java/lang/annotation/Annotation flags 2601 runtimeAnnotations @Ljava/lang/annotation/Documented;@Ljava/lang/annotation/Retention;(value=eLjava/lang/annotation/RetentionPolicy;RUNTIME;)
class name java/lang/Error
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
class name java/lang/Exception
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
class name java/lang/IllegalAccessException
header extends java/lang/Exception flags 21
class name java/lang/InstantiationException
header extends java/lang/Exception flags 21
class name java/lang/Integer
-method name compare descriptor (II)I
class name java/lang/LinkageError
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;)V
class name java/lang/Long
-method name compare descriptor (JJ)I
class name java/lang/NoSuchFieldException
header extends java/lang/Exception flags 21
class name java/lang/NoSuchMethodException
header extends java/lang/Exception flags 21
class name java/lang/ProcessBuilder
header extends java/lang/Object flags 31
-method name redirectInput descriptor (Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;
-method name redirectOutput descriptor (Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;
-method name redirectError descriptor (Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;
-method name redirectInput descriptor (Ljava/io/File;)Ljava/lang/ProcessBuilder;
-method name redirectOutput descriptor (Ljava/io/File;)Ljava/lang/ProcessBuilder;
-method name redirectError descriptor (Ljava/io/File;)Ljava/lang/ProcessBuilder;
-method name redirectInput descriptor ()Ljava/lang/ProcessBuilder$Redirect;
-method name redirectOutput descriptor ()Ljava/lang/ProcessBuilder$Redirect;
-method name redirectError descriptor ()Ljava/lang/ProcessBuilder$Redirect;
-method name inheritIO descriptor ()Ljava/lang/ProcessBuilder;
-class name java/lang/ProcessBuilder$Redirect
-class name java/lang/ProcessBuilder$Redirect$Type
-class name java/lang/ReflectiveOperationException
class name java/lang/RuntimeException
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
-class name java/lang/SafeVarargs
class name java/lang/Short
-method name compare descriptor (SS)I
class name java/lang/StrictMath
-method name ceil descriptor (D)D
-method name floor descriptor (D)D
method name ceil descriptor (D)D flags 109
method name floor descriptor (D)D flags 109
class name java/lang/System
-method name lineSeparator descriptor ()Ljava/lang/String;
class name java/lang/Thread
-method name clone descriptor ()Ljava/lang/Object;
class name java/lang/Throwable
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
-method name getCause descriptor ()Ljava/lang/Throwable;
-method name fillInStackTrace descriptor ()Ljava/lang/Throwable;
-method name addSuppressed descriptor (Ljava/lang/Throwable;)V
-method name getSuppressed descriptor ()[Ljava/lang/Throwable;
method name getCause descriptor ()Ljava/lang/Throwable; flags 1
method name fillInStackTrace descriptor ()Ljava/lang/Throwable; flags 121
-class name java/lang/invoke/CallSite
-class name java/lang/invoke/ConstantCallSite
-class name java/lang/invoke/MethodHandle
-class name java/lang/invoke/MethodHandleProxies
-class name java/lang/invoke/MethodHandles
-class name java/lang/invoke/MethodHandles$Lookup
-class name java/lang/invoke/MethodType
-class name java/lang/invoke/MutableCallSite
-class name java/lang/invoke/SwitchPoint
-class name java/lang/invoke/VolatileCallSite
-class name java/lang/invoke/WrongMethodTypeException
class name java/lang/reflect/InvocationTargetException
header extends java/lang/Exception flags 21
class name java/lang/reflect/Modifier
-method name classModifiers descriptor ()I
-method name interfaceModifiers descriptor ()I
-method name constructorModifiers descriptor ()I
-method name methodModifiers descriptor ()I
-method name fieldModifiers descriptor ()I
class name java/net/DatagramSocket
header extends java/lang/Object flags 21
class name java/net/HttpCookie
-method name isHttpOnly descriptor ()Z
-method name setHttpOnly descriptor (Z)V
class name java/net/HttpURLConnection
-field name fixedContentLengthLong descriptor J
-method name setFixedLengthStreamingMode descriptor (J)V
class name java/net/InetAddress
-method name getLoopbackAddress descriptor ()Ljava/net/InetAddress;
class name java/net/InetSocketAddress
-method name getHostString descriptor ()Ljava/lang/String;
class name java/net/NetworkInterface
-method name getIndex descriptor ()I
-method name getByIndex descriptor (I)Ljava/net/NetworkInterface;
-class name java/net/ProtocolFamily
class name java/net/ServerSocket
header extends java/lang/Object flags 21
class name java/net/Socket
header extends java/lang/Object flags 21
-class name java/net/SocketOption
-class name java/net/StandardProtocolFamily
-class name java/net/StandardSocketOptions
class name java/net/URLClassLoader
header extends java/security/SecureClassLoader flags 21
-method name getResourceAsStream descriptor (Ljava/lang/String;)Ljava/io/InputStream;
-method name close descriptor ()V
class name java/net/URLConnection
-method name getContentLengthLong descriptor ()J
-method name getHeaderFieldLong descriptor (Ljava/lang/String;J)J
class name java/nio/CharBuffer
-method name subSequence descriptor (II)Ljava/nio/CharBuffer;
-method name subSequence descriptor (II)Ljava/lang/CharSequence;
method name subSequence descriptor (II)Ljava/lang/CharSequence; flags 401
-class name java/nio/channels/AcceptPendingException
-class name java/nio/channels/AlreadyBoundException
-class name java/nio/channels/AsynchronousByteChannel
-class name java/nio/channels/AsynchronousChannel
-class name java/nio/channels/AsynchronousChannelGroup
-class name java/nio/channels/AsynchronousFileChannel
-class name java/nio/channels/AsynchronousServerSocketChannel
-class name java/nio/channels/AsynchronousSocketChannel
class name java/nio/channels/Channels
-method name newInputStream descriptor (Ljava/nio/channels/AsynchronousByteChannel;)Ljava/io/InputStream;
-method name newOutputStream descriptor (Ljava/nio/channels/AsynchronousByteChannel;)Ljava/io/OutputStream;
-class name java/nio/channels/CompletionHandler
class name java/nio/channels/DatagramChannel
header extends java/nio/channels/spi/AbstractSelectableChannel implements java/nio/channels/ByteChannel,java/nio/channels/ScatteringByteChannel,java/nio/channels/GatheringByteChannel flags 421
-method name open descriptor (Ljava/net/ProtocolFamily;)Ljava/nio/channels/DatagramChannel;
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/DatagramChannel;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/DatagramChannel;
-method name getRemoteAddress descriptor ()Ljava/net/SocketAddress;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/NetworkChannel;
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/NetworkChannel;
class name java/nio/channels/FileChannel
header extends java/nio/channels/spi/AbstractInterruptibleChannel implements java/nio/channels/ByteChannel,java/nio/channels/GatheringByteChannel,java/nio/channels/ScatteringByteChannel flags 421
innerclass innerClass java/nio/channels/FileChannel$MapMode outerClass java/nio/channels/FileChannel innerClassName MapMode flags 9
-method name open descriptor (Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/FileChannel;
-method name open descriptor (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
-method name truncate descriptor (J)Ljava/nio/channels/SeekableByteChannel;
-method name position descriptor (J)Ljava/nio/channels/SeekableByteChannel;
class name java/nio/channels/FileLock
header extends java/lang/Object flags 421
-method name <init> descriptor (Ljava/nio/channels/AsynchronousFileChannel;JJZ)V
-method name acquiredBy descriptor ()Ljava/nio/channels/Channel;
-method name close descriptor ()V
-class name java/nio/channels/IllegalChannelGroupException
-class name java/nio/channels/InterruptedByTimeoutException
-class name java/nio/channels/MembershipKey
-class name java/nio/channels/MulticastChannel
-class name java/nio/channels/NetworkChannel
-class name java/nio/channels/ReadPendingException
-class name java/nio/channels/SeekableByteChannel
class name java/nio/channels/Selector
header extends java/lang/Object flags 421
class name java/nio/channels/ServerSocketChannel
header extends java/nio/channels/spi/AbstractSelectableChannel flags 421
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/ServerSocketChannel;
-method name bind descriptor (Ljava/net/SocketAddress;I)Ljava/nio/channels/ServerSocketChannel;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/ServerSocketChannel;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/NetworkChannel;
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/NetworkChannel;
-class name java/nio/channels/ShutdownChannelGroupException
class name java/nio/channels/SocketChannel
header extends java/nio/channels/spi/AbstractSelectableChannel implements java/nio/channels/ByteChannel,java/nio/channels/ScatteringByteChannel,java/nio/channels/GatheringByteChannel flags 421
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/SocketChannel;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/SocketChannel;
-method name shutdownInput descriptor ()Ljava/nio/channels/SocketChannel;
-method name shutdownOutput descriptor ()Ljava/nio/channels/SocketChannel;
-method name getRemoteAddress descriptor ()Ljava/net/SocketAddress;
-method name setOption descriptor (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/NetworkChannel;
-method name bind descriptor (Ljava/net/SocketAddress;)Ljava/nio/channels/NetworkChannel;
-class name java/nio/channels/WritePendingException
-class name java/nio/channels/spi/AsynchronousChannelProvider
class name java/nio/channels/spi/SelectorProvider
-method name openDatagramChannel descriptor (Ljava/net/ProtocolFamily;)Ljava/nio/channels/DatagramChannel;
-class name java/nio/charset/StandardCharsets
-class name java/nio/file/AccessDeniedException
-class name java/nio/file/AccessMode
-class name java/nio/file/AtomicMoveNotSupportedException
-class name java/nio/file/ClosedDirectoryStreamException
-class name java/nio/file/ClosedFileSystemException
-class name java/nio/file/ClosedWatchServiceException
-class name java/nio/file/CopyOption
-class name java/nio/file/DirectoryIteratorException
-class name java/nio/file/DirectoryNotEmptyException
-class name java/nio/file/DirectoryStream
-class name java/nio/file/DirectoryStream$Filter
-class name java/nio/file/FileAlreadyExistsException
-class name java/nio/file/FileStore
-class name java/nio/file/FileSystem
-class name java/nio/file/FileSystemAlreadyExistsException
-class name java/nio/file/FileSystemException
-class name java/nio/file/FileSystemLoopException
-class name java/nio/file/FileSystemNotFoundException
-class name java/nio/file/FileSystems
-class name java/nio/file/FileVisitOption
-class name java/nio/file/FileVisitResult
-class name java/nio/file/FileVisitor
-class name java/nio/file/Files
-class name java/nio/file/InvalidPathException
-class name java/nio/file/LinkOption
-class name java/nio/file/LinkPermission
-class name java/nio/file/NoSuchFileException
-class name java/nio/file/NotDirectoryException
-class name java/nio/file/NotLinkException
-class name java/nio/file/OpenOption
-class name java/nio/file/Path
-class name java/nio/file/PathMatcher
-class name java/nio/file/Paths
-class name java/nio/file/ProviderMismatchException
-class name java/nio/file/ProviderNotFoundException
-class name java/nio/file/ReadOnlyFileSystemException
-class name java/nio/file/SecureDirectoryStream
-class name java/nio/file/SimpleFileVisitor
-class name java/nio/file/StandardCopyOption
-class name java/nio/file/StandardOpenOption
-class name java/nio/file/StandardWatchEventKinds
-class name java/nio/file/WatchEvent
-class name java/nio/file/WatchEvent$Kind
-class name java/nio/file/WatchEvent$Modifier
-class name java/nio/file/WatchKey
-class name java/nio/file/WatchService
-class name java/nio/file/Watchable
-class name java/nio/file/attribute/AclEntry
-class name java/nio/file/attribute/AclEntry$Builder
-class name java/nio/file/attribute/AclEntryFlag
-class name java/nio/file/attribute/AclEntryPermission
-class name java/nio/file/attribute/AclEntryType
-class name java/nio/file/attribute/AclFileAttributeView
-class name java/nio/file/attribute/AttributeView
-class name java/nio/file/attribute/BasicFileAttributeView
-class name java/nio/file/attribute/BasicFileAttributes
-class name java/nio/file/attribute/DosFileAttributeView
-class name java/nio/file/attribute/DosFileAttributes
-class name java/nio/file/attribute/FileAttribute
-class name java/nio/file/attribute/FileAttributeView
-class name java/nio/file/attribute/FileOwnerAttributeView
-class name java/nio/file/attribute/FileStoreAttributeView
-class name java/nio/file/attribute/FileTime
-class name java/nio/file/attribute/GroupPrincipal
-class name java/nio/file/attribute/PosixFileAttributeView
-class name java/nio/file/attribute/PosixFileAttributes
-class name java/nio/file/attribute/PosixFilePermission
-class name java/nio/file/attribute/PosixFilePermissions
-class name java/nio/file/attribute/UserDefinedFileAttributeView
-class name java/nio/file/attribute/UserPrincipal
-class name java/nio/file/attribute/UserPrincipalLookupService
-class name java/nio/file/attribute/UserPrincipalNotFoundException
-class name java/nio/file/spi/FileSystemProvider
-class name java/nio/file/spi/FileTypeDetector
-class name java/security/AlgorithmConstraints
-class name java/security/CryptoPrimitive
-class name java/security/cert/CRLReason
class name java/security/cert/CertPathValidatorException
header extends java/security/GeneralSecurityException flags 21
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
-method name getReason descriptor ()Ljava/security/cert/CertPathValidatorException$Reason;
-class name java/security/cert/CertPathValidatorException$BasicReason
-class name java/security/cert/CertPathValidatorException$Reason
-class name java/security/cert/CertificateRevokedException
-class name java/security/cert/Extension
-class name java/security/cert/PKIXReason
class name java/security/cert/X509CRLEntry
-method name getRevocationReason descriptor ()Ljava/security/cert/CRLReason;
class name java/util/ArrayList
-method name removeAll descriptor (Ljava/util/Collection;)Z
-method name retainAll descriptor (Ljava/util/Collection;)Z
-method name listIterator descriptor (I)Ljava/util/ListIterator;
-method name listIterator descriptor ()Ljava/util/ListIterator;
-method name iterator descriptor ()Ljava/util/Iterator;
-method name subList descriptor (II)Ljava/util/List;
class name java/util/Arrays
-method name asList descriptor ([Ljava/lang/Object;)Ljava/util/List;
method name asList descriptor ([Ljava/lang/Object;)Ljava/util/List; flags 89 signature <T:Ljava/lang/Object;>([TT;)Ljava/util/List<TT;>;
class name java/util/BitSet
-method name valueOf descriptor ([J)Ljava/util/BitSet;
-method name valueOf descriptor (Ljava/nio/LongBuffer;)Ljava/util/BitSet;
-method name valueOf descriptor ([B)Ljava/util/BitSet;
-method name valueOf descriptor (Ljava/nio/ByteBuffer;)Ljava/util/BitSet;
-method name toByteArray descriptor ()[B
-method name toLongArray descriptor ()[J
-method name previousSetBit descriptor (I)I
-method name previousClearBit descriptor (I)I
class name java/util/Calendar
-method name isWeekDateSupported descriptor ()Z
-method name getWeekYear descriptor ()I
-method name setWeekDate descriptor (III)V
-method name getWeeksInWeekYear descriptor ()I
class name java/util/Collections
-method name emptyIterator descriptor ()Ljava/util/Iterator;
-method name emptyListIterator descriptor ()Ljava/util/ListIterator;
-method name emptyEnumeration descriptor ()Ljava/util/Enumeration;
-method name addAll descriptor (Ljava/util/Collection;[Ljava/lang/Object;)Z
method name addAll descriptor (Ljava/util/Collection;[Ljava/lang/Object;)Z flags 89 signature <T:Ljava/lang/Object;>(Ljava/util/Collection<-TT;>;[TT;)Z
class name java/util/ConcurrentModificationException
-method name <init> descriptor (Ljava/lang/Throwable;)V
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;)V
class name java/util/Currency
-method name getAvailableCurrencies descriptor ()Ljava/util/Set;
-method name getNumericCode descriptor ()I
-method name getDisplayName descriptor ()Ljava/lang/String;
-method name getDisplayName descriptor (Ljava/util/Locale;)Ljava/lang/String;
class name java/util/EnumMap
-method name hashCode descriptor ()I
class name java/util/EnumSet
-method name of descriptor (Ljava/lang/Enum;[Ljava/lang/Enum;)Ljava/util/EnumSet;
method name of descriptor (Ljava/lang/Enum;[Ljava/lang/Enum;)Ljava/util/EnumSet; flags 89 signature <E:Ljava/lang/Enum<TE;>;>(TE;[TE;)Ljava/util/EnumSet<TE;>;
class name java/util/EventListenerProxy
header extends java/lang/Object implements java/util/EventListener flags 421
-method name <init> descriptor (Ljava/util/EventListener;)V
-method name getListener descriptor ()Ljava/util/EventListener;
method name <init> descriptor (Ljava/util/EventListener;)V flags 1
method name getListener descriptor ()Ljava/util/EventListener; flags 1
class name java/util/GregorianCalendar
-method name isWeekDateSupported descriptor ()Z
-method name getWeekYear descriptor ()I
-method name setWeekDate descriptor (III)V
-method name getWeeksInWeekYear descriptor ()I
-class name java/util/IllformedLocaleException
class name java/util/Locale
header extends java/lang/Object implements java/lang/Cloneable,java/io/Serializable flags 31
-field name PRIVATE_USE_EXTENSION descriptor C
-field name UNICODE_LOCALE_EXTENSION descriptor C
-method name getDefault descriptor (Ljava/util/Locale$Category;)Ljava/util/Locale;
-method name setDefault descriptor (Ljava/util/Locale$Category;Ljava/util/Locale;)V
-method name getScript descriptor ()Ljava/lang/String;
-method name getExtension descriptor (C)Ljava/lang/String;
-method name getExtensionKeys descriptor ()Ljava/util/Set;
-method name getUnicodeLocaleAttributes descriptor ()Ljava/util/Set;
-method name getUnicodeLocaleType descriptor (Ljava/lang/String;)Ljava/lang/String;
-method name getUnicodeLocaleKeys descriptor ()Ljava/util/Set;
-method name toLanguageTag descriptor ()Ljava/lang/String;
-method name forLanguageTag descriptor (Ljava/lang/String;)Ljava/util/Locale;
-method name getDisplayScript descriptor ()Ljava/lang/String;
-method name getDisplayScript descriptor (Ljava/util/Locale;)Ljava/lang/String;
-class name java/util/Locale$Builder
-class name java/util/Locale$Category
-class name java/util/Objects
class name java/util/Properties
-method name save descriptor (Ljava/io/OutputStream;Ljava/lang/String;)V
-method name storeToXML descriptor (Ljava/io/OutputStream;Ljava/lang/String;)V
-method name storeToXML descriptor (Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;)V
method name save descriptor (Ljava/io/OutputStream;Ljava/lang/String;)V flags 21 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name storeToXML descriptor (Ljava/io/OutputStream;Ljava/lang/String;)V thrownTypes java/io/IOException flags 21
method name storeToXML descriptor (Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;)V thrownTypes java/io/IOException flags 21
class name java/util/Scanner
header extends java/lang/Object implements java/util/Iterator flags 31 signature Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/String;>;
-method name <init> descriptor (Ljava/nio/file/Path;)V
-method name <init> descriptor (Ljava/nio/file/Path;Ljava/lang/String;)V
class name java/util/SimpleTimeZone
-method name observesDaylightTime descriptor ()Z
class name java/util/TimeZone
-method name observesDaylightTime descriptor ()Z
class name java/util/Vector
-method name listIterator descriptor (I)Ljava/util/ListIterator;
-method name listIterator descriptor ()Ljava/util/ListIterator;
-method name iterator descriptor ()Ljava/util/Iterator;
-class name java/util/concurrent/ConcurrentLinkedDeque
class name java/util/concurrent/ConcurrentLinkedQueue
-method name addAll descriptor (Ljava/util/Collection;)Z
-class name java/util/concurrent/ForkJoinPool
-class name java/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory
-class name java/util/concurrent/ForkJoinPool$ManagedBlocker
-class name java/util/concurrent/ForkJoinTask
-class name java/util/concurrent/ForkJoinWorkerThread
class name java/util/concurrent/LinkedBlockingQueue
-method name contains descriptor (Ljava/lang/Object;)Z
-class name java/util/concurrent/LinkedTransferQueue
-class name java/util/concurrent/Phaser
-class name java/util/concurrent/RecursiveAction
-class name java/util/concurrent/RecursiveTask
class name java/util/concurrent/ScheduledThreadPoolExecutor
-method name setRemoveOnCancelPolicy descriptor (Z)V
-method name getRemoveOnCancelPolicy descriptor ()Z
method name remove descriptor (Ljava/lang/Runnable;)Z flags 1
-class name java/util/concurrent/ThreadLocalRandom
class name java/util/concurrent/ThreadPoolExecutor
-method name toString descriptor ()Ljava/lang/String;
-class name java/util/concurrent/TransferQueue
class name java/util/concurrent/locks/AbstractQueuedLongSynchronizer
-method name hasQueuedPredecessors descriptor ()Z
class name java/util/concurrent/locks/AbstractQueuedSynchronizer
-method name hasQueuedPredecessors descriptor ()Z
class name java/util/regex/Matcher
-method name group descriptor (Ljava/lang/String;)Ljava/lang/String;
class name java/util/regex/Pattern
-field name UNICODE_CHARACTER_CLASS descriptor I
class name java/util/spi/CurrencyNameProvider
-method name getDisplayName descriptor (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
class name java/util/spi/LocaleNameProvider
-method name getDisplayScript descriptor (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
class name java/util/zip/Deflater
-field name NO_FLUSH descriptor I
-field name SYNC_FLUSH descriptor I
-field name FULL_FLUSH descriptor I
-method name setInput descriptor ([BII)V
-method name setDictionary descriptor ([BII)V
-method name setStrategy descriptor (I)V
-method name setLevel descriptor (I)V
-method name finish descriptor ()V
-method name finished descriptor ()Z
-method name deflate descriptor ([BII)I
-method name deflate descriptor ([BIII)I
-method name getAdler descriptor ()I
-method name getBytesRead descriptor ()J
-method name getBytesWritten descriptor ()J
-method name reset descriptor ()V
-method name end descriptor ()V
method name setInput descriptor ([BII)V flags 21
method name setDictionary descriptor ([BII)V flags 21
method name setStrategy descriptor (I)V flags 21
method name setLevel descriptor (I)V flags 21
method name finish descriptor ()V flags 21
method name finished descriptor ()Z flags 21
method name deflate descriptor ([BII)I flags 21
method name getAdler descriptor ()I flags 21
method name getBytesRead descriptor ()J flags 21
method name getBytesWritten descriptor ()J flags 21
method name reset descriptor ()V flags 21
method name end descriptor ()V flags 21
class name java/util/zip/DeflaterOutputStream
-method name <init> descriptor (Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
-method name <init> descriptor (Ljava/io/OutputStream;Ljava/util/zip/Deflater;Z)V
-method name <init> descriptor (Ljava/io/OutputStream;Z)V
-method name flush descriptor ()V
class name java/util/zip/GZIPOutputStream
-method name <init> descriptor (Ljava/io/OutputStream;IZ)V
-method name <init> descriptor (Ljava/io/OutputStream;Z)V
class name java/util/zip/Inflater
-method name setInput descriptor ([BII)V
-method name setDictionary descriptor ([BII)V
-method name getRemaining descriptor ()I
-method name needsInput descriptor ()Z
-method name needsDictionary descriptor ()Z
-method name finished descriptor ()Z
-method name inflate descriptor ([BII)I
-method name getAdler descriptor ()I
-method name getBytesRead descriptor ()J
-method name getBytesWritten descriptor ()J
-method name reset descriptor ()V
-method name end descriptor ()V
method name setInput descriptor ([BII)V flags 21
method name setDictionary descriptor ([BII)V flags 21
method name getRemaining descriptor ()I flags 21
method name needsInput descriptor ()Z flags 21
method name needsDictionary descriptor ()Z flags 21
method name finished descriptor ()Z flags 21
method name inflate descriptor ([BII)I thrownTypes java/util/zip/DataFormatException flags 21
method name getAdler descriptor ()I flags 21
method name getBytesRead descriptor ()J flags 21
method name getBytesWritten descriptor ()J flags 21
method name reset descriptor ()V flags 21
method name end descriptor ()V flags 21
class name java/util/zip/ZipFile
header extends java/lang/Object implements java/util/zip/ZipConstants flags 21
-method name <init> descriptor (Ljava/io/File;ILjava/nio/charset/Charset;)V
-method name <init> descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;)V
-method name <init> descriptor (Ljava/io/File;Ljava/nio/charset/Charset;)V
-method name getComment descriptor ()Ljava/lang/String;
class name java/util/zip/ZipInputStream
-method name <init> descriptor (Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
class name java/util/zip/ZipOutputStream
-method name <init> descriptor (Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
-class name javax/crypto/AEADBadTagException
class name javax/crypto/Cipher
-method name updateAAD descriptor ([B)V
-method name updateAAD descriptor ([BII)V
-method name updateAAD descriptor (Ljava/nio/ByteBuffer;)V
class name javax/crypto/CipherSpi
-method name engineUpdateAAD descriptor ([BII)V
-method name engineUpdateAAD descriptor (Ljava/nio/ByteBuffer;)V
-class name javax/crypto/spec/GCMParameterSpec
-class name javax/net/ssl/ExtendedSSLSession
class name javax/net/ssl/SSLEngine
-method name getHandshakeSession descriptor ()Ljavax/net/ssl/SSLSession;
class name javax/net/ssl/SSLEngineResult
header extends java/lang/Object flags 21
innerclass innerClass javax/net/ssl/SSLEngineResult$HandshakeStatus outerClass javax/net/ssl/SSLEngineResult innerClassName HandshakeStatus flags 4019
innerclass innerClass javax/net/ssl/SSLEngineResult$Status outerClass javax/net/ssl/SSLEngineResult innerClassName Status flags 4019
class name javax/net/ssl/SSLParameters
-method name getAlgorithmConstraints descriptor ()Ljava/security/AlgorithmConstraints;
-method name setAlgorithmConstraints descriptor (Ljava/security/AlgorithmConstraints;)V
-method name getEndpointIdentificationAlgorithm descriptor ()Ljava/lang/String;
-method name setEndpointIdentificationAlgorithm descriptor (Ljava/lang/String;)V
class name javax/net/ssl/SSLServerSocket
-method name getSSLParameters descriptor ()Ljavax/net/ssl/SSLParameters;
-method name setSSLParameters descriptor (Ljavax/net/ssl/SSLParameters;)V
class name javax/net/ssl/SSLSocket
-method name getHandshakeSession descriptor ()Ljavax/net/ssl/SSLSession;
-class name javax/net/ssl/X509ExtendedTrustManager
class name javax/security/auth/login/Configuration
-method name getConfiguration descriptor ()Ljavax/security/auth/login/Configuration;
method name getConfiguration descriptor ()Ljavax/security/auth/login/Configuration; flags 29

View File

@@ -1,102 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/lang/model/SourceVersion
-field name RELEASE_7 descriptor Ljavax/lang/model/SourceVersion;
-class name javax/lang/model/UnknownEntityException
class name javax/lang/model/element/ElementKind
-field name RESOURCE_VARIABLE descriptor Ljavax/lang/model/element/ElementKind;
class name javax/lang/model/element/ExecutableElement
header extends java/lang/Object implements javax/lang/model/element/Element flags 601
-method name getSimpleName descriptor ()Ljavax/lang/model/element/Name;
class name javax/lang/model/element/PackageElement
header extends java/lang/Object implements javax/lang/model/element/Element flags 601
-method name getSimpleName descriptor ()Ljavax/lang/model/element/Name;
-method name getEnclosingElement descriptor ()Ljavax/lang/model/element/Element;
-class name javax/lang/model/element/Parameterizable
-class name javax/lang/model/element/QualifiedNameable
class name javax/lang/model/element/TypeElement
header extends java/lang/Object implements javax/lang/model/element/Element flags 601
-method name getEnclosedElements descriptor ()Ljava/util/List;
-method name getSimpleName descriptor ()Ljavax/lang/model/element/Name;
-method name getEnclosingElement descriptor ()Ljavax/lang/model/element/Element;
class name javax/lang/model/element/TypeParameterElement
-method name getEnclosingElement descriptor ()Ljavax/lang/model/element/Element;
class name javax/lang/model/element/UnknownAnnotationValueException
header extends java/lang/RuntimeException flags 21
class name javax/lang/model/element/UnknownElementException
header extends java/lang/RuntimeException flags 21
class name javax/lang/model/type/MirroredTypeException
header extends java/lang/RuntimeException flags 21
class name javax/lang/model/type/TypeKind
-field name UNION descriptor Ljavax/lang/model/type/TypeKind;
class name javax/lang/model/type/TypeVisitor
-method name visitUnion descriptor (Ljavax/lang/model/type/UnionType;Ljava/lang/Object;)Ljava/lang/Object;
-class name javax/lang/model/type/UnionType
class name javax/lang/model/type/UnknownTypeException
header extends java/lang/RuntimeException flags 21
-class name javax/lang/model/util/AbstractAnnotationValueVisitor7
-class name javax/lang/model/util/AbstractElementVisitor7
class name javax/lang/model/util/AbstractTypeVisitor6
-method name visitUnion descriptor (Ljavax/lang/model/type/UnionType;Ljava/lang/Object;)Ljava/lang/Object;
-class name javax/lang/model/util/AbstractTypeVisitor7
class name javax/lang/model/util/ElementKindVisitor6
-method name visitVariableAsResourceVariable descriptor (Ljavax/lang/model/element/VariableElement;Ljava/lang/Object;)Ljava/lang/Object;
-class name javax/lang/model/util/ElementKindVisitor7
-class name javax/lang/model/util/ElementScanner7
-class name javax/lang/model/util/SimpleAnnotationValueVisitor7
-class name javax/lang/model/util/SimpleElementVisitor7
-class name javax/lang/model/util/SimpleTypeVisitor7
-class name javax/lang/model/util/TypeKindVisitor7

File diff suppressed because it is too large Load Diff

View File

@@ -1,49 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name java/util/logging/Logger
-method name getGlobal descriptor ()Ljava/util/logging/Logger;
-method name getAnonymousLogger descriptor ()Ljava/util/logging/Logger;
-method name addHandler descriptor (Ljava/util/logging/Handler;)V
-method name removeHandler descriptor (Ljava/util/logging/Handler;)V
-method name getHandlers descriptor ()[Ljava/util/logging/Handler;
-method name setUseParentHandlers descriptor (Z)V
-method name getUseParentHandlers descriptor ()Z
-method name getLogger descriptor (Ljava/lang/String;)Ljava/util/logging/Logger;
-method name getLogger descriptor (Ljava/lang/String;Ljava/lang/String;)Ljava/util/logging/Logger;
-method name getAnonymousLogger descriptor (Ljava/lang/String;)Ljava/util/logging/Logger;
method name getLogger descriptor (Ljava/lang/String;)Ljava/util/logging/Logger; flags 29
method name getLogger descriptor (Ljava/lang/String;Ljava/lang/String;)Ljava/util/logging/Logger; flags 29
method name getAnonymousLogger descriptor ()Ljava/util/logging/Logger; flags 29
method name getAnonymousLogger descriptor (Ljava/lang/String;)Ljava/util/logging/Logger; flags 29
method name addHandler descriptor (Ljava/util/logging/Handler;)V thrownTypes java/lang/SecurityException flags 21
method name removeHandler descriptor (Ljava/util/logging/Handler;)V thrownTypes java/lang/SecurityException flags 21
method name getHandlers descriptor ()[Ljava/util/logging/Handler; flags 21
method name setUseParentHandlers descriptor (Z)V flags 21
method name getUseParentHandlers descriptor ()Z flags 21

View File

@@ -1,122 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name java/lang/management/BufferPoolMXBean
class name java/lang/management/ClassLoadingMXBean
header extends java/lang/Object flags 601
class name java/lang/management/CompilationMXBean
header extends java/lang/Object flags 601
class name java/lang/management/ManagementFactory
-method name getPlatformMXBean descriptor (Ljava/lang/Class;)Ljava/lang/management/PlatformManagedObject;
-method name getPlatformMXBeans descriptor (Ljava/lang/Class;)Ljava/util/List;
-method name getPlatformMXBean descriptor (Ljavax/management/MBeanServerConnection;Ljava/lang/Class;)Ljava/lang/management/PlatformManagedObject;
-method name getPlatformMXBeans descriptor (Ljavax/management/MBeanServerConnection;Ljava/lang/Class;)Ljava/util/List;
-method name getPlatformManagementInterfaces descriptor ()Ljava/util/Set;
class name java/lang/management/MemoryMXBean
header extends java/lang/Object flags 601
class name java/lang/management/MemoryManagerMXBean
header extends java/lang/Object flags 601
class name java/lang/management/MemoryPoolMXBean
header extends java/lang/Object flags 601
class name java/lang/management/OperatingSystemMXBean
header extends java/lang/Object flags 601
-class name java/lang/management/PlatformLoggingMXBean
-class name java/lang/management/PlatformManagedObject
class name java/lang/management/RuntimeMXBean
header extends java/lang/Object flags 601
class name java/lang/management/ThreadMXBean
header extends java/lang/Object flags 601
class name javax/management/AttributeValueExp
-method name setMBeanServer descriptor (Ljavax/management/MBeanServer;)V
method name setMBeanServer descriptor (Ljavax/management/MBeanServer;)V flags 1
class name javax/management/DefaultLoaderRepository
-method name loadClass descriptor (Ljava/lang/String;)Ljava/lang/Class;
-method name loadClassWithout descriptor (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
method name loadClass descriptor (Ljava/lang/String;)Ljava/lang/Class; thrownTypes java/lang/ClassNotFoundException flags 9
method name loadClassWithout descriptor (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; thrownTypes java/lang/ClassNotFoundException flags 9
class name javax/management/MBeanConstructorInfo
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;)V
method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;)V flags 1
class name javax/management/MBeanServerNotification
-method name toString descriptor ()Ljava/lang/String;
class name javax/management/ObjectName
-method name getInstance descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/management/ObjectName;
-method name getInstance descriptor (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/management/ObjectName;
-method name getInstance descriptor (Ljavax/management/ObjectName;)Ljavax/management/ObjectName;
-method name <init> descriptor (Ljava/lang/String;)V
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-method name <init> descriptor (Ljava/lang/String;Ljava/util/Hashtable;)V
-method name isPropertyValuePattern descriptor (Ljava/lang/String;)Z
-method name getKeyProperty descriptor (Ljava/lang/String;)Ljava/lang/String;
-method name quote descriptor (Ljava/lang/String;)Ljava/lang/String;
-method name unquote descriptor (Ljava/lang/String;)Ljava/lang/String;
-method name apply descriptor (Ljavax/management/ObjectName;)Z
method name getInstance descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/management/ObjectName; thrownTypes javax/management/MalformedObjectNameException,java/lang/NullPointerException flags 9
method name getInstance descriptor (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/management/ObjectName; thrownTypes javax/management/MalformedObjectNameException,java/lang/NullPointerException flags 9 signature (Ljava/lang/String;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;)Ljavax/management/ObjectName;
method name getInstance descriptor (Ljavax/management/ObjectName;)Ljavax/management/ObjectName; thrownTypes java/lang/NullPointerException flags 9
method name <init> descriptor (Ljava/lang/String;)V thrownTypes javax/management/MalformedObjectNameException,java/lang/NullPointerException flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V thrownTypes javax/management/MalformedObjectNameException,java/lang/NullPointerException flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/util/Hashtable;)V thrownTypes javax/management/MalformedObjectNameException,java/lang/NullPointerException flags 1 signature (Ljava/lang/String;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;)V
method name isPropertyValuePattern descriptor (Ljava/lang/String;)Z thrownTypes java/lang/NullPointerException,java/lang/IllegalArgumentException flags 1
method name getKeyProperty descriptor (Ljava/lang/String;)Ljava/lang/String; thrownTypes java/lang/NullPointerException flags 1
method name quote descriptor (Ljava/lang/String;)Ljava/lang/String; thrownTypes java/lang/NullPointerException flags 9
method name unquote descriptor (Ljava/lang/String;)Ljava/lang/String; thrownTypes java/lang/IllegalArgumentException,java/lang/NullPointerException flags 9
method name apply descriptor (Ljavax/management/ObjectName;)Z thrownTypes java/lang/NullPointerException flags 1
class name javax/management/StringValueExp
-method name setMBeanServer descriptor (Ljavax/management/MBeanServer;)V
method name setMBeanServer descriptor (Ljavax/management/MBeanServer;)V flags 1
class name javax/management/loading/DefaultLoaderRepository
-method name loadClass descriptor (Ljava/lang/String;)Ljava/lang/Class;
-method name loadClassWithout descriptor (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
method name loadClass descriptor (Ljava/lang/String;)Ljava/lang/Class; thrownTypes java/lang/ClassNotFoundException flags 9
method name loadClassWithout descriptor (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class; thrownTypes java/lang/ClassNotFoundException flags 9
class name javax/management/modelmbean/ModelMBeanConstructorInfo
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;)V
-method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;Ljavax/management/Descriptor;)V
method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;)V flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/lang/reflect/Constructor;Ljavax/management/Descriptor;)V flags 1

View File

@@ -1,31 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/rmi/ssl/SslRMIServerSocketFactory
-method name <init> descriptor (Ljavax/net/ssl/SSLContext;[Ljava/lang/String;[Ljava/lang/String;Z)V

View File

@@ -1,30 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name javax/security/auth/kerberos/KeyTab

View File

@@ -1,65 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name java/sql/CallableStatement
-method name getObject descriptor (ILjava/lang/Class;)Ljava/lang/Object;
-method name getObject descriptor (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
class name java/sql/Connection
header extends java/lang/Object implements java/sql/Wrapper flags 601
-method name setSchema descriptor (Ljava/lang/String;)V
-method name getSchema descriptor ()Ljava/lang/String;
-method name abort descriptor (Ljava/util/concurrent/Executor;)V
-method name setNetworkTimeout descriptor (Ljava/util/concurrent/Executor;I)V
-method name getNetworkTimeout descriptor ()I
class name java/sql/DatabaseMetaData
-method name getPseudoColumns descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;
-method name generatedKeyAlwaysReturned descriptor ()Z
class name java/sql/Driver
-method name getParentLogger descriptor ()Ljava/util/logging/Logger;
-class name java/sql/PseudoColumnUsage
class name java/sql/ResultSet
header extends java/lang/Object implements java/sql/Wrapper flags 601
-method name getObject descriptor (ILjava/lang/Class;)Ljava/lang/Object;
-method name getObject descriptor (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
class name java/sql/Statement
header extends java/lang/Object implements java/sql/Wrapper flags 601
-method name closeOnCompletion descriptor ()V
-method name isCloseOnCompletion descriptor ()Z
class name java/sql/Timestamp
-method name hashCode descriptor ()I
class name javax/sql/CommonDataSource
-method name getParentLogger descriptor ()Ljava/util/logging/Logger;

View File

@@ -1,74 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/sql/rowset/CachedRowSet
-field name COMMIT_ON_ACCEPT_CHANGES descriptor Z
field name COMMIT_ON_ACCEPT_CHANGES descriptor Z constantValue true flags 19
-class name javax/sql/rowset/RowSetFactory
-class name javax/sql/rowset/RowSetProvider
class name javax/sql/rowset/WebRowSet
-field name PUBLIC_XML_SCHEMA descriptor Ljava/lang/String;
field name PUBLIC_XML_SCHEMA descriptor Ljava/lang/String; constantValue --//Sun\u0020;Microsystems,\u0020;Inc.//XSD\u0020;Schema//EN flags 19
class name javax/sql/rowset/spi/SyncFactory
-field name ROWSET_SYNC_PROVIDER descriptor Ljava/lang/String;
-field name ROWSET_SYNC_VENDOR descriptor Ljava/lang/String;
-field name ROWSET_SYNC_PROVIDER_VERSION descriptor Ljava/lang/String;
field name ROWSET_SYNC_PROVIDER descriptor Ljava/lang/String; flags 9
field name ROWSET_SYNC_VENDOR descriptor Ljava/lang/String; flags 9
field name ROWSET_SYNC_PROVIDER_VERSION descriptor Ljava/lang/String; flags 9
-method name setJNDIContext descriptor (Ljavax/naming/Context;)V
method name setJNDIContext descriptor (Ljavax/naming/Context;)V thrownTypes javax/sql/rowset/spi/SyncFactoryException flags 9
class name javax/sql/rowset/spi/SyncProvider
-field name GRADE_NONE descriptor I
-field name GRADE_CHECK_MODIFIED_AT_COMMIT descriptor I
-field name GRADE_CHECK_ALL_AT_COMMIT descriptor I
-field name GRADE_LOCK_WHEN_MODIFIED descriptor I
-field name GRADE_LOCK_WHEN_LOADED descriptor I
-field name DATASOURCE_NO_LOCK descriptor I
-field name DATASOURCE_ROW_LOCK descriptor I
-field name DATASOURCE_TABLE_LOCK descriptor I
-field name DATASOURCE_DB_LOCK descriptor I
-field name UPDATABLE_VIEW_SYNC descriptor I
-field name NONUPDATABLE_VIEW_SYNC descriptor I
field name GRADE_NONE descriptor I flags 9
field name GRADE_CHECK_MODIFIED_AT_COMMIT descriptor I flags 9
field name GRADE_CHECK_ALL_AT_COMMIT descriptor I flags 9
field name GRADE_LOCK_WHEN_MODIFIED descriptor I flags 9
field name GRADE_LOCK_WHEN_LOADED descriptor I flags 9
field name DATASOURCE_NO_LOCK descriptor I flags 9
field name DATASOURCE_ROW_LOCK descriptor I flags 9
field name DATASOURCE_TABLE_LOCK descriptor I flags 9
field name DATASOURCE_DB_LOCK descriptor I flags 9
field name UPDATABLE_VIEW_SYNC descriptor I flags 9
field name NONUPDATABLE_VIEW_SYNC descriptor I flags 9

View File

@@ -1,61 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/xml/parsers/FactoryConfigurationError
-method name getCause descriptor ()Ljava/lang/Throwable;
class name javax/xml/stream/FactoryConfigurationError
-method name getCause descriptor ()Ljava/lang/Throwable;
class name javax/xml/stream/XMLEventFactory
-method name newFactory descriptor ()Ljavax/xml/stream/XMLEventFactory;
-method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLEventFactory;
-method name newFactory descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLEventFactory;
method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLEventFactory; thrownTypes javax/xml/stream/FactoryConfigurationError flags 9
class name javax/xml/stream/XMLInputFactory
-method name newFactory descriptor ()Ljavax/xml/stream/XMLInputFactory;
-method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory;
-method name newFactory descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory;
method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory; thrownTypes javax/xml/stream/FactoryConfigurationError flags 9
class name javax/xml/stream/XMLOutputFactory
-method name newFactory descriptor ()Ljavax/xml/stream/XMLOutputFactory;
-method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory;
-method name newFactory descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
method name newInstance descriptor (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory; thrownTypes javax/xml/stream/FactoryConfigurationError flags 9
class name javax/xml/transform/TransformerFactoryConfigurationError
-method name getCause descriptor ()Ljava/lang/Throwable;
class name org/xml/sax/SAXException
-method name getCause descriptor ()Ljava/lang/Throwable;
class name org/xml/sax/SAXParseException
-method name toString descriptor ()Ljava/lang/String;

View File

@@ -1,37 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name javax/xml/bind/JAXBPermission
class name javax/xml/bind/annotation/XmlElement
header extends java/lang/Object implements java/lang/annotation/Annotation flags 2601 runtimeAnnotations @Ljava/lang/annotation/Retention;(value=eLjava/lang/annotation/RetentionPolicy;RUNTIME;)@Ljava/lang/annotation/Target;(value={eLjava/lang/annotation/ElementType;FIELD;eLjava/lang/annotation/ElementType;METHOD;})
innerclass innerClass javax/xml/bind/annotation/XmlElement$DEFAULT outerClass javax/xml/bind/annotation/XmlElement innerClassName DEFAULT flags 19
class name javax/xml/bind/annotation/XmlElementRef
-method name required descriptor ()Z

View File

@@ -1,103 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/xml/ws/Endpoint
-method name create descriptor (Ljava/lang/Object;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
-method name create descriptor (Ljava/lang/String;Ljava/lang/Object;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
-method name publish descriptor (Ljava/lang/String;Ljava/lang/Object;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
-method name publish descriptor (Ljavax/xml/ws/spi/http/HttpContext;)V
-method name setEndpointContext descriptor (Ljavax/xml/ws/EndpointContext;)V
-class name javax/xml/ws/EndpointContext
class name javax/xml/ws/FaultAction
-method name className descriptor ()Ljava/lang/Class;
method name className descriptor ()Ljava/lang/Class; flags 401
class name javax/xml/ws/Holder
header extends java/lang/Object flags 31 signature <T:Ljava/lang/Object;>Ljava/lang/Object;
class name javax/xml/ws/RequestWrapper
-method name partName descriptor ()Ljava/lang/String;
class name javax/xml/ws/RespectBinding
header extends java/lang/Object implements java/lang/annotation/Annotation flags 2601 runtimeAnnotations @Ljava/lang/annotation/Target;(value={eLjava/lang/annotation/ElementType;TYPE;})@Ljava/lang/annotation/Retention;(value=eLjava/lang/annotation/RetentionPolicy;RUNTIME;)@Ljava/lang/annotation/Documented;@Ljavax/xml/ws/spi/WebServiceFeatureAnnotation;(id="javax.xml.ws.RespectBindingFeature",bean=cLjavax/xml/ws/RespectBindingFeature;)
class name javax/xml/ws/ResponseWrapper
-method name partName descriptor ()Ljava/lang/String;
class name javax/xml/ws/Service
-method name <init> descriptor (Ljava/net/URL;Ljavax/xml/namespace/QName;[Ljavax/xml/ws/WebServiceFeature;)V
-method name create descriptor (Ljava/net/URL;Ljavax/xml/namespace/QName;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Service;
-method name create descriptor (Ljavax/xml/namespace/QName;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Service;
class name javax/xml/ws/WebFault
-method name messageName descriptor ()Ljava/lang/String;
class name javax/xml/ws/WebServiceRef
-method name type descriptor ()Ljava/lang/Class;
-method name value descriptor ()Ljava/lang/Class;
-method name lookup descriptor ()Ljava/lang/String;
method name type descriptor ()Ljava/lang/Class; annotationDefaultValue cLjava/lang/Object; flags 401
method name value descriptor ()Ljava/lang/Class; annotationDefaultValue cLjava/lang/Object; flags 401
class name javax/xml/ws/soap/Addressing
header extends java/lang/Object implements java/lang/annotation/Annotation flags 2601 runtimeAnnotations @Ljava/lang/annotation/Target;(value={eLjava/lang/annotation/ElementType;TYPE;})@Ljava/lang/annotation/Retention;(value=eLjava/lang/annotation/RetentionPolicy;RUNTIME;)@Ljava/lang/annotation/Documented;@Ljavax/xml/ws/spi/WebServiceFeatureAnnotation;(id="http://www.w3.org/2005/08/addressing/module",bean=cLjavax/xml/ws/soap/AddressingFeature;)
-method name responses descriptor ()Ljavax/xml/ws/soap/AddressingFeature$Responses;
class name javax/xml/ws/soap/AddressingFeature
header extends javax/xml/ws/WebServiceFeature flags 31
-method name <init> descriptor (ZZLjavax/xml/ws/soap/AddressingFeature$Responses;)V
-method name getResponses descriptor ()Ljavax/xml/ws/soap/AddressingFeature$Responses;
-class name javax/xml/ws/soap/AddressingFeature$Responses
class name javax/xml/ws/soap/MTOM
header extends java/lang/Object implements java/lang/annotation/Annotation flags 2601 runtimeAnnotations @Ljava/lang/annotation/Target;(value={eLjava/lang/annotation/ElementType;TYPE;})@Ljava/lang/annotation/Retention;(value=eLjava/lang/annotation/RetentionPolicy;RUNTIME;)@Ljava/lang/annotation/Documented;@Ljavax/xml/ws/spi/WebServiceFeatureAnnotation;(id="http://www.w3.org/2004/08/soap/features/http-optimization",bean=cLjavax/xml/ws/soap/MTOMFeature;)
-class name javax/xml/ws/spi/Invoker
class name javax/xml/ws/spi/Provider
-method name createServiceDelegate descriptor (Ljava/net/URL;Ljavax/xml/namespace/QName;Ljava/lang/Class;)Ljavax/xml/ws/spi/ServiceDelegate;
-method name createServiceDelegate descriptor (Ljava/net/URL;Ljavax/xml/namespace/QName;Ljava/lang/Class;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/spi/ServiceDelegate;
-method name createW3CEndpointReference descriptor (Ljava/lang/String;Ljavax/xml/namespace/QName;Ljavax/xml/namespace/QName;Ljavax/xml/namespace/QName;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/Map;)Ljavax/xml/ws/wsaddressing/W3CEndpointReference;
-method name createAndPublishEndpoint descriptor (Ljava/lang/String;Ljava/lang/Object;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
-method name createEndpoint descriptor (Ljava/lang/String;Ljava/lang/Object;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
-method name createEndpoint descriptor (Ljava/lang/String;Ljava/lang/Class;Ljavax/xml/ws/spi/Invoker;[Ljavax/xml/ws/WebServiceFeature;)Ljavax/xml/ws/Endpoint;
method name createServiceDelegate descriptor (Ljava/net/URL;Ljavax/xml/namespace/QName;Ljava/lang/Class;)Ljavax/xml/ws/spi/ServiceDelegate; flags 401
-class name javax/xml/ws/spi/http/HttpContext
-class name javax/xml/ws/spi/http/HttpExchange
-class name javax/xml/ws/spi/http/HttpHandler
-class name javax/xml/ws/wsaddressing/W3CEndpointReference
-class name javax/xml/ws/wsaddressing/W3CEndpointReferenceBuilder

View File

@@ -1,31 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/annotation/Resource
-method name lookup descriptor ()Ljava/lang/String;

View File

@@ -1,39 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name com/sun/management/GarbageCollectionNotificationInfo
class name com/sun/management/HotSpotDiagnosticMXBean
header extends java/lang/Object flags 601
class name com/sun/management/OperatingSystemMXBean
-method name getSystemCpuLoad descriptor ()D
-method name getProcessCpuLoad descriptor ()D
-class name com/sun/management/ThreadMXBean

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,8 @@
#
-class name jdk/nashorn/api/scripting/AbstractJSObject
-class name jdk/nashorn/api/scripting/ClassFilter
-class name jdk/nashorn/api/scripting/JSObject
-class name jdk/nashorn/api/scripting/NashornException

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
# ##########################################################
#
class name jdk/nashorn/api/scripting/AbstractJSObject
header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421
header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor ()V flags 1
method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 81
@@ -47,10 +47,16 @@ method name getClassName descriptor ()Ljava/lang/String; flags 1
method name isFunction descriptor ()Z flags 1
method name isStrictFunction descriptor ()Z flags 1
method name isArray descriptor ()Z flags 1
method name toNumber descriptor ()D flags 1
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 signature (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object;
class name jdk/nashorn/api/scripting/ClassFilter
header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported;
method name exposeToScripts descriptor (Ljava/lang/String;)Z flags 401
class name jdk/nashorn/api/scripting/JSObject
header extends java/lang/Object flags 601
header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported;
method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 481
method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 481
method name eval descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 401
@@ -69,22 +75,28 @@ method name getClassName descriptor ()Ljava/lang/String; flags 401
method name isFunction descriptor ()Z flags 401
method name isStrictFunction descriptor ()Z flags 401
method name isArray descriptor ()Z flags 401
method name toNumber descriptor ()D flags 401
method name toNumber descriptor ()D flags 401 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
class name jdk/nashorn/api/scripting/NashornException
header extends java/lang/RuntimeException flags 421
field name ENGINE_SCRIPT_SOURCE_NAME descriptor Ljava/lang/String; constantValue nashorn:engine/resources/engine.js flags 19
header extends java/lang/RuntimeException flags 421 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;II)V flags 4
method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/String;II)V flags 4
method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;)V flags 4
method name getFileName descriptor ()Ljava/lang/String; flags 11
method name setFileName descriptor (Ljava/lang/String;)V flags 11
method name getLineNumber descriptor ()I flags 11
method name setLineNumber descriptor (I)V flags 11
method name getColumnNumber descriptor ()I flags 11
method name setColumnNumber descriptor (I)V flags 11
method name getScriptFrames descriptor (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement; flags 9
method name getScriptStackString descriptor (Ljava/lang/Throwable;)Ljava/lang/String; flags 9
method name getThrown descriptor ()Ljava/lang/Object; flags 4
method name initEcmaError descriptor (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/api/scripting/NashornException; flags 4
method name getEcmaError descriptor ()Ljava/lang/Object; flags 1
method name setEcmaError descriptor (Ljava/lang/Object;)V flags 1
class name jdk/nashorn/api/scripting/NashornScriptEngine
header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31
header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31 runtimeAnnotations @Ljdk/Exported;
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
field name NASHORN_GLOBAL descriptor Ljava/lang/String; constantValue nashorn.global flags 19
method name eval descriptor (Ljava/io/Reader;Ljavax/script/ScriptContext;)Ljava/lang/Object; thrownTypes javax/script/ScriptException flags 1
@@ -97,10 +109,9 @@ method name invokeFunction descriptor (Ljava/lang/String;[Ljava/lang/Object;)Lja
method name invokeMethod descriptor (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; thrownTypes javax/script/ScriptException,java/lang/NoSuchMethodException flags 81
method name getInterface descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
method name getInterface descriptor (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
method name __noSuchProperty__ descriptor (Ljava/lang/Object;Ljavax/script/ScriptContext;Ljava/lang/String;)Ljava/lang/Object; flags 1
class name jdk/nashorn/api/scripting/NashornScriptEngineFactory
header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31
header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor ()V flags 1
method name getEngineName descriptor ()Ljava/lang/String; flags 1
method name getEngineVersion descriptor ()Ljava/lang/String; flags 1
@@ -115,11 +126,13 @@ method name getParameter descriptor (Ljava/lang/String;)Ljava/lang/Object; flags
method name getProgram descriptor ([Ljava/lang/String;)Ljava/lang/String; flags 81
method name getScriptEngine descriptor ()Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor (Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor (Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine; flags 81
method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
class name jdk/nashorn/api/scripting/ScriptObjectMirror
header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31
header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 runtimeAnnotations @Ljdk/Exported;
innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609
method name equals descriptor (Ljava/lang/Object;)Z flags 1
method name hashCode descriptor ()I flags 1
@@ -135,6 +148,7 @@ method name hasSlot descriptor (I)Z flags 1
method name removeMember descriptor (Ljava/lang/String;)V flags 1
method name setMember descriptor (Ljava/lang/String;Ljava/lang/Object;)V flags 1
method name setSlot descriptor (ILjava/lang/Object;)V flags 1
method name setIndexedPropertiesToExternalArrayData descriptor (Ljava/nio/ByteBuffer;)V flags 1
method name isInstance descriptor (Ljava/lang/Object;)Z flags 1
method name getClassName descriptor ()Ljava/lang/String; flags 1
method name isFunction descriptor ()Z flags 1
@@ -166,25 +180,28 @@ method name isFrozen descriptor ()Z flags 1
method name isUndefined descriptor (Ljava/lang/Object;)Z flags 9
method name to descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
method name wrap descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapAsJSONCompatible descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name unwrap descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapArray descriptor ([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name unwrapArray descriptor ([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name toNumber descriptor ()D flags 1
method name identical descriptor (Ljava/lang/Object;Ljava/lang/Object;)Z flags 9
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
method name put descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 1041
class name jdk/nashorn/api/scripting/ScriptUtils
header extends java/lang/Object flags 31
header extends java/lang/Object flags 31 runtimeAnnotations @Ljdk/Exported;
method name parse descriptor (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; flags 9
method name format descriptor (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; flags 9
method name makeSynchronizedFunction descriptor (Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrap descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name makeSynchronizedFunction descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrap descriptor (Ljava/lang/Object;)Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 9
method name unwrap descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name unwrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name convert descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
class name jdk/nashorn/api/scripting/URLReader
header extends java/io/Reader flags 31
header extends java/io/Reader flags 31 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor (Ljava/net/URL;)V flags 1
method name <init> descriptor (Ljava/net/URL;Ljava/lang/String;)V flags 1
method name <init> descriptor (Ljava/net/URL;Ljava/nio/charset/Charset;)V flags 1

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -30,15 +30,16 @@ module name jdk.scripting.nashorn
header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter flags 8000
class name jdk/nashorn/api/scripting/AbstractJSObject
-method name toNumber descriptor ()D
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421
-method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object;
-method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object;
method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 deprecated true signature (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object; runtimeAnnotations @Ljava/lang/Deprecated;
class name jdk/nashorn/api/scripting/ClassFilter
header extends java/lang/Object flags 601
method name exposeToScripts descriptor (Ljava/lang/String;)Z flags 401
class name jdk/nashorn/api/scripting/JSObject
header extends java/lang/Object flags 601
-method name toNumber descriptor ()D
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; thrownTypes java/lang/UnsupportedOperationException flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
@@ -46,41 +47,26 @@ method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; thr
class name jdk/nashorn/api/scripting/NashornException
header extends java/lang/RuntimeException flags 421
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
-field name ENGINE_SCRIPT_SOURCE_NAME descriptor Ljava/lang/String;
method name setFileName descriptor (Ljava/lang/String;)V flags 11
method name setLineNumber descriptor (I)V flags 11
method name setColumnNumber descriptor (I)V flags 11
method name getThrown descriptor ()Ljava/lang/Object; flags 4
method name getEcmaError descriptor ()Ljava/lang/Object; flags 1
method name setEcmaError descriptor (Ljava/lang/Object;)V flags 1
-method name initEcmaError descriptor (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/api/scripting/NashornException;
class name jdk/nashorn/api/scripting/NashornScriptEngine
-method name __noSuchProperty__ descriptor (Ljava/lang/Object;Ljavax/script/ScriptContext;Ljava/lang/String;)Ljava/lang/Object;
header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name jdk/nashorn/api/scripting/NashornScriptEngineFactory
header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
-method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine;
method name getScriptEngine descriptor (Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine; flags 81
method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
class name jdk/nashorn/api/scripting/ScriptObjectMirror
header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31
innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
-method name toNumber descriptor ()D
method name setIndexedPropertiesToExternalArrayData descriptor (Ljava/nio/ByteBuffer;)V flags 1
method name wrapAsJSONCompatible descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name identical descriptor (Ljava/lang/Object;Ljava/lang/Object;)Z flags 9
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
class name jdk/nashorn/api/scripting/ScriptUtils
-method name makeSynchronizedFunction descriptor (Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object;
-method name wrap descriptor (Ljava/lang/Object;)Ljava/lang/Object;
method name makeSynchronizedFunction descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrap descriptor (Ljava/lang/Object;)Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 9
header extends java/lang/Object flags 31
class name jdk/nashorn/api/scripting/URLReader
header extends java/io/Reader flags 31
class name jdk/nashorn/api/tree/ArrayAccessTree
header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601

View File

@@ -1,70 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name com/sun/nio/sctp/AbstractNotificationHandler
-class name com/sun/nio/sctp/Association
-class name com/sun/nio/sctp/AssociationChangeNotification
-class name com/sun/nio/sctp/AssociationChangeNotification$AssocChangeEvent
-class name com/sun/nio/sctp/HandlerResult
-class name com/sun/nio/sctp/IllegalReceiveException
-class name com/sun/nio/sctp/IllegalUnbindException
-class name com/sun/nio/sctp/InvalidStreamException
-class name com/sun/nio/sctp/MessageInfo
-class name com/sun/nio/sctp/Notification
-class name com/sun/nio/sctp/NotificationHandler
-class name com/sun/nio/sctp/PeerAddressChangeNotification
-class name com/sun/nio/sctp/PeerAddressChangeNotification$AddressChangeEvent
-class name com/sun/nio/sctp/SctpChannel
-class name com/sun/nio/sctp/SctpMultiChannel
-class name com/sun/nio/sctp/SctpServerChannel
-class name com/sun/nio/sctp/SctpSocketOption
-class name com/sun/nio/sctp/SctpStandardSocketOptions
-class name com/sun/nio/sctp/SctpStandardSocketOptions$InitMaxStreams
-class name com/sun/nio/sctp/SendFailedNotification
-class name com/sun/nio/sctp/ShutdownNotification

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
-class name com/sun/security/jgss/AuthorizationDataEntry
-class name com/sun/security/jgss/ExtendedGSSContext
-class name com/sun/security/jgss/InquireSecContextPermission
-class name com/sun/security/jgss/InquireType

View File

@@ -29,9 +29,8 @@
#command used to generate this file:
#build.tools.symbolgenerator.CreateSymbols build-description-incremental symbols include.list
#
generate platforms 6:7:8:9:A
generate platforms 7:8:9:A
platform version 8 files java.activation-8.sym.txt:java.base-8.sym.txt:java.compiler-8.sym.txt:java.corba-8.sym.txt:java.datatransfer-8.sym.txt:java.desktop-8.sym.txt:java.instrument-8.sym.txt:java.logging-8.sym.txt:java.management-8.sym.txt:java.management.rmi-8.sym.txt:java.naming-8.sym.txt:java.prefs-8.sym.txt:java.rmi-8.sym.txt:java.scripting-8.sym.txt:java.security.jgss-8.sym.txt:java.security.sasl-8.sym.txt:java.sql-8.sym.txt:java.sql.rowset-8.sym.txt:java.transaction-8.sym.txt:java.xml-8.sym.txt:java.xml.bind-8.sym.txt:java.xml.crypto-8.sym.txt:java.xml.ws-8.sym.txt:java.xml.ws.annotation-8.sym.txt:jdk.httpserver-8.sym.txt:jdk.management-8.sym.txt:jdk.scripting.nashorn-8.sym.txt:jdk.sctp-8.sym.txt:jdk.security.auth-8.sym.txt:jdk.security.jgss-8.sym.txt
platform version 7 base 8 files java.base-7.sym.txt:java.compiler-7.sym.txt:java.datatransfer-7.sym.txt:java.desktop-7.sym.txt:java.logging-7.sym.txt:java.management-7.sym.txt:java.naming-7.sym.txt:java.prefs-7.sym.txt:java.rmi-7.sym.txt:java.scripting-7.sym.txt:java.security.jgss-7.sym.txt:java.security.sasl-7.sym.txt:java.sql-7.sym.txt:java.sql.rowset-7.sym.txt:java.xml-7.sym.txt:java.xml.bind-7.sym.txt:java.xml.ws.annotation-7.sym.txt:jdk.httpserver-7.sym.txt:jdk.management-7.sym.txt:jdk.scripting.nashorn-7.sym.txt:jdk.sctp-7.sym.txt:jdk.security.auth-7.sym.txt:jdk.security.jgss-7.sym.txt
platform version 6 base 7 files java.base-6.sym.txt:java.compiler-6.sym.txt:java.desktop-6.sym.txt:java.logging-6.sym.txt:java.management-6.sym.txt:java.rmi-6.sym.txt:java.security.jgss-6.sym.txt:java.sql-6.sym.txt:java.sql.rowset-6.sym.txt:java.xml-6.sym.txt:java.xml.bind-6.sym.txt:java.xml.ws-6.sym.txt:java.xml.ws.annotation-6.sym.txt:jdk.management-6.sym.txt:jdk.sctp-6.sym.txt:jdk.security.jgss-6.sym.txt
platform version 9 base 8 files java.activation-9.sym.txt:java.base-9.sym.txt:java.compiler-9.sym.txt:java.corba-9.sym.txt:java.datatransfer-9.sym.txt:java.desktop-9.sym.txt:java.instrument-9.sym.txt:java.logging-9.sym.txt:java.management-9.sym.txt:java.management.rmi-9.sym.txt:java.naming-9.sym.txt:java.prefs-9.sym.txt:java.rmi-9.sym.txt:java.scripting-9.sym.txt:java.se-9.sym.txt:java.se.ee-9.sym.txt:java.security.jgss-9.sym.txt:java.security.sasl-9.sym.txt:java.smartcardio-9.sym.txt:java.sql-9.sym.txt:java.sql.rowset-9.sym.txt:java.transaction-9.sym.txt:java.xml-9.sym.txt:java.xml.bind-9.sym.txt:java.xml.crypto-9.sym.txt:java.xml.ws-9.sym.txt:java.xml.ws.annotation-9.sym.txt:jdk.accessibility-9.sym.txt:jdk.attach-9.sym.txt:jdk.charsets-9.sym.txt:jdk.compiler-9.sym.txt:jdk.crypto.cryptoki-9.sym.txt:jdk.crypto.ec-9.sym.txt:jdk.dynalink-9.sym.txt:jdk.editpad-9.sym.txt:jdk.hotspot.agent-9.sym.txt:jdk.httpserver-9.sym.txt:jdk.incubator.httpclient-9.sym.txt:jdk.jartool-9.sym.txt:jdk.javadoc-9.sym.txt:jdk.jcmd-9.sym.txt:jdk.jconsole-9.sym.txt:jdk.jdeps-9.sym.txt:jdk.jdi-9.sym.txt:jdk.jdwp.agent-9.sym.txt:jdk.jlink-9.sym.txt:jdk.jshell-9.sym.txt:jdk.jsobject-9.sym.txt:jdk.jstatd-9.sym.txt:jdk.localedata-9.sym.txt:jdk.management-9.sym.txt:jdk.management.agent-9.sym.txt:jdk.naming.dns-9.sym.txt:jdk.naming.rmi-9.sym.txt:jdk.net-9.sym.txt:jdk.pack-9.sym.txt:jdk.policytool-9.sym.txt:jdk.rmic-9.sym.txt:jdk.scripting.nashorn-9.sym.txt:jdk.sctp-9.sym.txt:jdk.security.auth-9.sym.txt:jdk.security.jgss-9.sym.txt:jdk.unsupported-9.sym.txt:jdk.xml.dom-9.sym.txt:jdk.zipfs-9.sym.txt
platform version A base 9 files java.activation-A.sym.txt:java.base-A.sym.txt:java.compiler-A.sym.txt:java.corba-A.sym.txt:java.datatransfer-A.sym.txt:java.desktop-A.sym.txt:java.instrument-A.sym.txt:java.logging-A.sym.txt:java.management-A.sym.txt:java.management.rmi-A.sym.txt:java.naming-A.sym.txt:java.prefs-A.sym.txt:java.rmi-A.sym.txt:java.scripting-A.sym.txt:java.se-A.sym.txt:java.se.ee-A.sym.txt:java.security.jgss-A.sym.txt:java.security.sasl-A.sym.txt:java.smartcardio-A.sym.txt:java.sql-A.sym.txt:java.sql.rowset-A.sym.txt:java.transaction-A.sym.txt:java.xml-A.sym.txt:java.xml.bind-A.sym.txt:java.xml.crypto-A.sym.txt:java.xml.ws-A.sym.txt:java.xml.ws.annotation-A.sym.txt:jdk.accessibility-A.sym.txt:jdk.attach-A.sym.txt:jdk.charsets-A.sym.txt:jdk.compiler-A.sym.txt:jdk.crypto.cryptoki-A.sym.txt:jdk.crypto.ec-A.sym.txt:jdk.dynalink-A.sym.txt:jdk.editpad-A.sym.txt:jdk.hotspot.agent-A.sym.txt:jdk.httpserver-A.sym.txt:jdk.incubator.httpclient-A.sym.txt:jdk.jartool-A.sym.txt:jdk.javadoc-A.sym.txt:jdk.jcmd-A.sym.txt:jdk.jconsole-A.sym.txt:jdk.jdeps-A.sym.txt:jdk.jdi-A.sym.txt:jdk.jdwp.agent-A.sym.txt:jdk.jlink-A.sym.txt:jdk.jshell-A.sym.txt:jdk.jsobject-A.sym.txt:jdk.jstatd-A.sym.txt:jdk.localedata-A.sym.txt:jdk.management-A.sym.txt:jdk.management.agent-A.sym.txt:jdk.naming.dns-A.sym.txt:jdk.naming.rmi-A.sym.txt:jdk.net-A.sym.txt:jdk.pack-A.sym.txt:jdk.policytool-A.sym.txt:jdk.rmic-A.sym.txt:jdk.scripting.nashorn-A.sym.txt:jdk.sctp-A.sym.txt:jdk.security.auth-A.sym.txt:jdk.security.jgss-A.sym.txt:jdk.unsupported-A.sym.txt:jdk.xml.dom-A.sym.txt:jdk.zipfs-A.sym.txt

View File

@@ -21,4 +21,4 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
tzdata2018d
tzdata2018e

View File

@@ -29,7 +29,7 @@
# tz@iana.org for general use in the future). For more, please see
# the file CONTRIBUTING in the tz distribution.
# From Paul Eggert (2017-02-20):
# From Paul Eggert (2017-04-09):
#
# Unless otherwise specified, the source for data through 1990 is:
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -75,7 +75,7 @@
# cannot now come up with solid citations.
#
# I invented the following abbreviations; corrections are welcome!
# +02 WAST West Africa Summer Time
# +02 WAST West Africa Summer Time (no longer used)
# +03 CAST Central Africa Summer Time (no longer used)
# +03 SAST South Africa Summer Time (no longer used)
# +03 EAT East Africa Time
@@ -990,6 +990,10 @@ Link Africa/Maputo Africa/Lusaka # Zambia
# commence at OOhOO on Monday 21 March 1994 and shall end at 02h00 on
# Sunday 4 September 1994.
# From Michael Deckers (2017-04-06):
# ... both summer and winter time are called "standard"
# (which differs from the use in Ireland) ...
# From Petronella Sibeene (2007-03-30):
# http://allafrica.com/stories/200703300178.html
# While the entire country changes its time, Katima Mulilo and other
@@ -1015,19 +1019,42 @@ Link Africa/Maputo Africa/Lusaka # Zambia
# the same time they would normally start DST, the first Sunday in September:
# https://www.timeanddate.com/news/time/namibia-new-time-zone.html
# From Paul Eggert (2017-04-09):
# Before the change, summer and winter time were both standard time legally.
# However in common parlance, winter time was considered to be DST. See, e.g.:
# http://www.nbc.na/news/namibias-winter-time-could-be-scrapped.2706
# https://zone.my.na/news/times-are-changing-in-namibia
# https://www.newera.com.na/2017/02/23/namibias-winter-time-might-be-repealed/
# Use plain "WAT" and "CAT" for the time zone abbreviations, to be compatible
# with Namibia's neighbors.
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Namibia 1994 only - Mar 21 0:00 0 -
Rule Namibia 1994 2016 - Sep Sun>=1 2:00 1:00 S
Rule Namibia 1995 2017 - Apr Sun>=1 2:00 0 -
# Vanguard section, for zic and other parsers that support negative DST.
#Rule Namibia 1994 only - Mar 21 0:00 -1:00 WAT
#Rule Namibia 1994 2017 - Sep Sun>=1 2:00 0 CAT
#Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT
# Rearguard section, for parsers that do not support negative DST.
Rule Namibia 1994 only - Mar 21 0:00 0 WAT
Rule Namibia 1994 2017 - Sep Sun>=1 2:00 1:00 CAT
Rule Namibia 1995 2017 - Apr Sun>=1 2:00 0 WAT
# End of rearguard section.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
1:30 - +0130 1903 Mar
2:00 - SAST 1942 Sep 20 2:00
2:00 1:00 SAST 1943 Mar 21 2:00
2:00 - SAST 1990 Mar 21 # independence
# Vanguard section, for zic and other parsers that support negative DST.
# 2:00 Namibia %s
# Rearguard section, for parsers that do not support negative DST.
2:00 - CAT 1994 Mar 21 0:00
1:00 Namibia WA%sT 2017 Sep 3 2:00
# From Paul Eggert (2017-04-07):
# The official date of the 2017 rule change was 2017-10-24. See:
# http://www.lac.org.na/laws/annoSTAT/Namibian%20Time%20Act%209%20of%202017.pdf
1:00 Namibia %s 2017 Oct 24
2:00 - CAT
# End of rearguard section.
# Niger
# See Africa/Lagos.

View File

@@ -2006,6 +2006,19 @@ Rule ROK 1987 1988 - Oct Sun>=8 3:00 0 S
# There is no common English-language abbreviation for this time zone.
# Use KST, as that's what we already use for 1954-1961 in ROK.
# From Kang Seonghoon (2018-04-29):
# North Korea will revert its time zone from UTC+8:30 (PYT; Pyongyang
# Time) back to UTC+9 (KST; Korea Standard Time).
#
# From Seo Sanghyeon (2018-04-30):
# Rodong Sinmun 2018-04-30 announced Pyongyang Time transition plan.
# https://www.nknews.org/kcna/wp-content/uploads/sites/5/2018/04/rodong-2018-04-30.pdf
# ... the transition date is 2018-05-05 ... Citation should be Decree
# No. 2232 of April 30, 2018, of the Presidium of the Supreme People's
# Assembly, as published in Rodong Sinmun.
# From Tim Parenti (2018-04-29):
# It appears to be the front page story at the top in the right-most column.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Seoul 8:27:52 - LMT 1908 Apr 1
8:30 - KST 1912 Jan 1
@@ -2017,7 +2030,8 @@ Zone Asia/Pyongyang 8:23:00 - LMT 1908 Apr 1
8:30 - KST 1912 Jan 1
9:00 - JST 1945 Aug 24
9:00 - KST 2015 Aug 15 00:00
8:30 - KST
8:30 - KST 2018 May 5
9:00 - KST
###############################################################################
@@ -2681,7 +2695,7 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
# From Sharef Mustafa (2018-03-16):
# Palestine summer time will start on Mar 24th 2018 by advancing the
# clock by 60 minutes as per Palestinian cabinet decision published on
# the offical website, though the decree did not specify the exact
# the official website, though the decree did not specify the exact
# time of the time shift.
# http://www.palestinecabinet.gov.ps/Website/AR/NDecrees/ViewFile.ashx?ID=e7a42ab7-ee23-435a-b9c8-a4f7e81f3817
#

View File

@@ -1108,6 +1108,15 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# (1999-09-27) writes that Giles Meteorological Station uses
# South Australian time even though it's located in Western Australia.
# From Paul Eggert (2018-04-01):
# The Guardian Express of Perth, Australia reported today that the
# government decided to advance the clocks permanently on January 1,
# 2019, from UT +08 to UT +09. The article noted that an exemption
# would be made for people aged 61 and over, who "can apply in writing
# to have the extra hour of sunshine removed from their area." See:
# Daylight saving coming to WA in 2019. Guardian Express. 2018-04-01.
# https://www.communitynews.com.au/guardian-express/news/exclusive-daylight-savings-coming-wa-summer-2018/
# Queensland
# From Paul Eggert (2018-02-26):

View File

@@ -551,13 +551,13 @@ Link Europe/London Europe/Isle_of_Man
# summer and negative daylight saving time in winter. It is for when
# negative SAVE values are used.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
#Rule Eire 1971 only - Oct 31 2:00u -1:00 GMT
#Rule Eire 1972 1980 - Mar Sun>=16 2:00u 0 IST
#Rule Eire 1972 1980 - Oct Sun>=23 2:00u -1:00 GMT
#Rule Eire 1981 max - Mar lastSun 1:00u 0 IST
#Rule Eire 1981 1989 - Oct Sun>=23 1:00u -1:00 GMT
#Rule Eire 1990 1995 - Oct Sun>=22 1:00u -1:00 GMT
#Rule Eire 1996 max - Oct lastSun 1:00u -1:00 GMT
#Rule Eire 1971 only - Oct 31 2:00u -1:00 -
#Rule Eire 1972 1980 - Mar Sun>=16 2:00u 0 -
#Rule Eire 1972 1980 - Oct Sun>=23 2:00u -1:00 -
#Rule Eire 1981 max - Mar lastSun 1:00u 0 -
#Rule Eire 1981 1989 - Oct Sun>=23 1:00u -1:00 -
#Rule Eire 1990 1995 - Oct Sun>=22 1:00u -1:00 -
#Rule Eire 1996 max - Oct lastSun 1:00u -1:00 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Europe/Dublin -0:25:00 - LMT 1880 Aug 2
@@ -993,18 +993,30 @@ Zone Europe/Sofia 1:33:16 - LMT 1880
# Please see the 'asia' file for Asia/Nicosia.
# Czech Republic / Czechia
#
# From Paul Eggert (2018-04-15):
# The source for Czech data is: Kdy začíná a končí letní čas. 2018-04-15.
# https://kalendar.beda.cz/kdy-zacina-a-konci-letni-cas
# We know of no English-language name for historical Czech winter time;
# abbreviate it as "GMT", as it happened to be GMT.
#
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Czech 1945 only - Apr 8 2:00s 1:00 S
Rule Czech 1945 only - Nov 18 2:00s 0 -
Rule Czech 1945 only - Apr Mon>=1 2:00s 1:00 S
Rule Czech 1945 only - Oct 1 2:00s 0 -
Rule Czech 1946 only - May 6 2:00s 1:00 S
Rule Czech 1946 1949 - Oct Sun>=1 2:00s 0 -
Rule Czech 1947 only - Apr 20 2:00s 1:00 S
Rule Czech 1948 only - Apr 18 2:00s 1:00 S
Rule Czech 1947 1948 - Apr Sun>=15 2:00s 1:00 S
Rule Czech 1949 only - Apr 9 2:00s 1:00 S
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Europe/Prague 0:57:44 - LMT 1850
0:57:44 - PMT 1891 Oct # Prague Mean Time
1:00 C-Eur CE%sT 1944 Sep 17 2:00s
1:00 C-Eur CE%sT 1945 May 9
1:00 Czech CE%sT 1946 Dec 1 3:00
# Vanguard section, for zic and other parsers that support negative DST.
# 1:00 -1:00 GMT 1947 Feb 23 2:00
# Rearguard section, for parsers that do not support negative DST.
0:00 - GMT 1947 Feb 23 2:00
# End of rearguard section.
1:00 Czech CE%sT 1979
1:00 EU CE%sT
# Use Europe/Prague also for Slovakia.
@@ -2039,7 +2051,7 @@ Rule Neth 1938 1939 - May 15 2:00s 1:00 S
Rule Neth 1945 only - Apr 2 2:00s 1:00 S
Rule Neth 1945 only - Sep 16 2:00s 0 -
#
# Amsterdam Mean Time was +00:19:32.13 exactly, but the .13 is omitted
# Amsterdam Mean Time was +00:19:32.13, but the .13 is omitted
# below because the current format requires GMTOFF to be an integer.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Europe/Amsterdam 0:19:32 - LMT 1835

View File

@@ -42,6 +42,8 @@
# line looking like this:
#
# make cross_compile_target="aarch64-linux-gnu" BASE_OS=Fedora27
# or
# make cross_compile_target="arm-linux-gnueabihf" BASE_OS=Fedora27
#
# This is the makefile which iterates over all host and target platforms.
#

View File

@@ -44,13 +44,23 @@ $(info HOST=$(HOST))
$(info BUILD=$(BUILD))
ARCH := $(word 1,$(subst -, ,$(TARGET)))
ifeq ($(TARGET), arm-linux-gnueabihf)
ARCH=armhfp
endif
$(info ARCH=$(ARCH))
ifeq ($(BASE_OS), OEL6)
OEL_URL := http://yum.oracle.com/repo/OracleLinux/OL6/4/base/$(ARCH)/
LINUX_VERSION := OEL6.4
else ifeq ($(BASE_OS), Fedora27)
OEL_URL := https://dl.fedoraproject.org/pub/fedora-secondary/releases/27/Everything/$(ARCH)/os/Packages/
ifeq ($(ARCH), aarch64)
FEDORA_TYPE=fedora-secondary
else
FEDORA_TYPE=fedora/linux
endif
OEL_URL := https://dl.fedoraproject.org/pub/$(FEDORA_TYPE)/releases/27/Everything/$(ARCH)/os/Packages/
LINUX_VERSION := Fedora 27
else
$(error Unknown base OS $(BASE_OS))
@@ -189,6 +199,8 @@ ifeq ($(ARCH),x86_64)
endif
else ifeq ($(ARCH),i686)
RPM_ARCHS := i386 i686 noarch
else ifeq ($(ARCH), armhfp)
RPM_ARCHS := $(ARCH) armv7hl noarch
else
RPM_ARCHS := $(ARCH) noarch
endif
@@ -410,6 +422,10 @@ ifneq (,$(findstring linux,$(TARGET)))
$(BUILDDIR)/$(gcc_ver)/Makefile : CONFIG += --enable-__cxa_atexit
endif
ifeq ($(ARCH), armhfp)
$(BUILDDIR)/$(gcc_ver)/Makefile : CONFIG += --with-float=hard
endif
# Want:
# c,c++
# shared libs

View File

@@ -108,8 +108,8 @@ if [ ! -d $DEVKIT_ROOT/VC ]; then
# The redist runtime libs are needed to run the compiler but may not be
# installed on the machine where the devkit will be used.
cp $DEVKIT_ROOT/VC/redist/x64/$MSVCR_DLL $DEVKIT_ROOT/VC/bin/x86
cp $DEVKIT_ROOT/VC/redist/x64/$MSVCP_DLL $DEVKIT_ROOT/VC/bin/x86
cp $DEVKIT_ROOT/VC/redist/x86/$MSVCR_DLL $DEVKIT_ROOT/VC/bin/x86
cp $DEVKIT_ROOT/VC/redist/x86/$MSVCP_DLL $DEVKIT_ROOT/VC/bin/x86
cp $DEVKIT_ROOT/VC/redist/x64/$MSVCR_DLL $DEVKIT_ROOT/VC/bin/x64
cp $DEVKIT_ROOT/VC/redist/x64/$MSVCP_DLL $DEVKIT_ROOT/VC/bin/x64
fi
@@ -130,6 +130,8 @@ if [ ! -d $DEVKIT_ROOT/$SDK_VERSION ]; then
cp -r "$SDK_INSTALL_DIR/lib/$SDK_FULL_VERSION/um/x86" $DEVKIT_ROOT/$SDK_VERSION/lib/
cp -r "$SDK_INSTALL_DIR/lib/$SDK_FULL_VERSION/ucrt/x64" $DEVKIT_ROOT/$SDK_VERSION/lib/
cp -r "$SDK_INSTALL_DIR/lib/$SDK_FULL_VERSION/ucrt/x86" $DEVKIT_ROOT/$SDK_VERSION/lib/
mkdir -p $DEVKIT_ROOT/$SDK_VERSION/Redist
cp -r "$SDK_INSTALL_DIR/Redist/ucrt" $DEVKIT_ROOT/$SDK_VERSION/Redist/
mkdir -p $DEVKIT_ROOT/$SDK_VERSION/include
cp -r "$SDK_INSTALL_DIR/include/$SDK_FULL_VERSION/"* $DEVKIT_ROOT/$SDK_VERSION/include/
fi
@@ -152,12 +154,14 @@ echo-info "DEVKIT_VS_INCLUDE_x86=\"\$DEVKIT_ROOT/VC/include;\$DEVKIT_ROOT/VC/atl
echo-info "DEVKIT_VS_LIB_x86=\"\$DEVKIT_ROOT/VC/lib/x86;\$DEVKIT_ROOT/VC/atlmfc/lib/x86;\$DEVKIT_ROOT/$SDK_VERSION/lib/x86\""
echo-info "DEVKIT_MSVCR_DLL_x86=\"\$DEVKIT_ROOT/VC/redist/x86/$MSVCR_DLL\""
echo-info "DEVKIT_MSVCP_DLL_x86=\"\$DEVKIT_ROOT/VC/redist/x86/$MSVCP_DLL\""
echo-info "DEVKIT_UCRT_DLL_DIR_x86=\"\$DEVKIT_ROOT/10/Redist/ucrt/DLLs/x86\""
echo-info ""
echo-info "DEVKIT_TOOLCHAIN_PATH_x86_64=\"\$DEVKIT_ROOT/VC/bin/x64:\$DEVKIT_ROOT/$SDK_VERSION/bin/x64:\$DEVKIT_ROOT/$SDK_VERSION/bin/x86\""
echo-info "DEVKIT_VS_INCLUDE_x86_64=\"\$DEVKIT_ROOT/VC/include;\$DEVKIT_ROOT/VC/atlmfc/include;\$DEVKIT_ROOT/$SDK_VERSION/include/shared;\$DEVKIT_ROOT/$SDK_VERSION/include/ucrt;\$DEVKIT_ROOT/$SDK_VERSION/include/um;\$DEVKIT_ROOT/$SDK_VERSION/include/winrt\""
echo-info "DEVKIT_VS_LIB_x86_64=\"\$DEVKIT_ROOT/VC/lib/x64;\$DEVKIT_ROOT/VC/atlmfc/lib/x64;\$DEVKIT_ROOT/$SDK_VERSION/lib/x64\""
echo-info "DEVKIT_MSVCR_DLL_x86_64=\"\$DEVKIT_ROOT/VC/redist/x64/$MSVCR_DLL\""
echo-info "DEVKIT_MSVCP_DLL_x86_64=\"\$DEVKIT_ROOT/VC/redist/x64/$MSVCP_DLL\""
echo-info "DEVKIT_UCRT_DLL_DIR_x86_64=\"\$DEVKIT_ROOT/10/Redist/ucrt/DLLs/x64\""
################################################################################
# Copy this script

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -36,6 +36,8 @@ include GendataBlacklistedCerts.gmk
include GendataCryptoPolicy.gmk
include GendataPublicSuffixList.gmk
################################################################################
GENDATA_UNINAME := $(JDK_OUTPUTDIR)/modules/java.base/java/lang/uniName.dat

View File

@@ -23,8 +23,6 @@
# questions.
#
$(eval $(call IncludeCustomExtension, gendata/GendataFontConfig.gmk))
GENDATA_FONT_CONFIG_DST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)
GENDATA_FONT_CONFIG_DATA_DIR ?= $(TOPDIR)/make/data/fontconfig

View File

@@ -0,0 +1,38 @@
#
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# 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.
#
include $(SPEC)
GENDATA_PUBLICSUFFIXLIST_SRC += $(TOPDIR)/make/data/publicsuffixlist/public_suffix_list.dat
GENDATA_PUBLICSUFFIXLIST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)/security/public_suffix_list.dat
$(GENDATA_PUBLICSUFFIXLIST): $(GENDATA_PUBLICSUFFIXLIST_SRC) $(BUILD_TOOLS)
$(call LogInfo, Generating public suffix list)
$(call MakeDir, $(@D))
$(RM) $@
$(TOOL_PUBLICSUFFIXLIST) $< $@
$(CHMOD) 444 $@
TARGETS += $(GENDATA_PUBLICSUFFIXLIST)

View File

@@ -78,13 +78,6 @@ $(eval $(call SetupCompileProperties, COMPILE_PROPERTIES, \
GENSRC_JAVA_DESKTOP += $(COMPILE_PROPERTIES)
# Some resources bundles are already present as java files but still need to be
# copied to zh_HK locale.
$(eval $(call SetupCopy-zh_HK,COPY_ZH_HK, \
$(TOPDIR)/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_zh_TW.java))
GENSRC_JAVA_DESKTOP += $(COPY_ZH_HK)
################################################################################
java.desktop: $(GENSRC_JAVA_DESKTOP)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -32,6 +32,7 @@ $(eval $(call SetupCompileProperties,COMPILE_PROPERTIES, \
$(JAVAC_VERSION)))
$(eval $(call SetupParseProperties,PARSE_PROPERTIES, \
com/sun/tools/javac/resources/compiler.properties))
com/sun/tools/javac/resources/compiler.properties \
com/sun/tools/javac/resources/launcher.properties))
all: $(COMPILE_PROPERTIES) $(PARSE_PROPERTIES)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -35,13 +35,30 @@ SA_PROPERTIES := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/sa.properties
SA_BUILD_VERSION_PROP_NAME := "sun.jvm.hotspot.runtime.VM.saBuildVersion"
$(SA_PROPERTIES): $(call DependOnVariable, VERSION_STRING)
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(ECHO) "$(SA_BUILD_VERSION_PROP_NAME)=$(VERSION_STRING)" > $@
TARGETS += $(SA_PROPERTIES)
################################################################################
ifeq ($(OPENJDK_TARGET_OS), macosx)
MIG_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent
MACH_EXC_HEADER := $(MIG_OUTPUT_DIR)/mach_exc.h
MACH_EXC_USER := $(MIG_OUTPUT_DIR)/mach_excUser.c
MACH_EXC_SERVER := $(MIG_OUTPUT_DIR)/mach_excServer.c
$(MACH_EXC_SERVER): $(SDKROOT)/usr/include/mach/mach_exc.defs
$(call MakeTargetDir)
$(MIG) $(if $(SDKROOT), -isysroot $(SDKROOT)) \
-server $@ -user $(MACH_EXC_USER) \
-header $(MACH_EXC_HEADER) $(SDKROOT)/usr/include/mach/mach_exc.defs
TARGETS += $(MACH_EXC_SERVER)
endif
################################################################################
all: $(TARGETS)
.PHONY: all default

View File

@@ -103,7 +103,7 @@ ADD_EXPORTS := \
$(GENSRC_DIR)/_gensrc_proc_done: $(PROC_SRCS) $(PROCESSOR_JARS)
$(call MakeDir, $(@D))
$(eval $(call ListPathsSafely,PROC_SRCS,$(@D)/_gensrc_proc_files))
$(JAVA_SMALL) $(NEW_JAVAC) \
$(JAVA) $(NEW_JAVAC) \
-XDignore.symbol.file \
--upgrade-module-path $(JDK_OUTPUTDIR)/modules --system none \
$(ADD_EXPORTS) \

View File

@@ -38,6 +38,7 @@ include GensrcProperties.gmk
$(eval $(call SetupCompileProperties, COMPILE_PROPERTIES, \
SRC_DIRS := $(TOPDIR)/src/jdk.localedata/share/classes/sun/util/resources, \
CLASS := sun.util.resources.LocaleNamesBundle, \
KEEP_ALL_TRANSLATIONS := true, \
))
# Skip generating zh_HK from zh_TW for this module.

View File

@@ -0,0 +1,51 @@
#
# 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
include TextFileProcessing.gmk
################################################################################
# Version file needs to be processed with version numbers
VERSION_FILE := jdk/nashorn/internal/runtime/resources/version.properties
$(eval $(call SetupTextFileProcessing, BUILD_VERSION_FILE, \
SOURCE_FILES := $(TOPDIR)/src/$(MODULE)/share/classes/$(VERSION_FILE).template, \
OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)/$(VERSION_FILE), \
REPLACEMENTS := \
@@VERSION_STRING@@ => $(VERSION_STRING) ; \
@@VERSION_SHORT@@ => $(VERSION_SHORT) , \
))
TARGETS += $(NASGEN_RUN_FILE) $(BUILD_VERSION_FILE)
################################################################################
all: $(TARGETS)
.PHONY: all default

View File

@@ -23,7 +23,7 @@
# questions.
#
CLDRVERSION := 29.0.0
CLDRVERSION := 33
CLDRSRCDIR := $(TOPDIR)/src/jdk.localedata/share/classes/sun/util/cldr/resources/common
GENSRC_BASEDIR := $(SUPPORT_OUTPUTDIR)/gensrc/java.base

View File

@@ -66,6 +66,9 @@ define SetupCompileProperties
PROPSOURCES := $2 \
$$(shell $(FIND) $(TOPDIR)/src/$(MODULE)/share/classes -name "*.properties")
# Filter out any excluded translations
PROPSOURCES := $$(call FilterExcludedTranslations, $$(PROPSOURCES), .properties)
# Convert .../src/<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
# to .../langtools/gensrc/<module>/com/sun/tools/javac/resources/javac_zh_CN.java
# Strip away prefix and suffix, leaving for example only:
@@ -105,6 +108,7 @@ endef
define SetupParseProperties
# property files to process
PARSEPROPSOURCES := $$(addprefix $(TOPDIR)/src/$(MODULE)/share/classes/, $2)
PARSEPROPSOURCES := $$(call FilterExcludedTranslations, $$(PARSEPROPSOURCES), .properties)
PARSEPROPALLDIRS := $$(patsubst $(TOPDIR)/src/$(MODULE)/share/classes/%, \
$(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)/%, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,7 @@ endef
# EXCLUDE Exclude files matching this pattern.
# CLASS The super class for the generated classes.
# MODULE_PATH_ROOT Module path root, defaults to $(TOPDIR)/src.
# KEEP_ALL_TRANSLATIONS Set to true to skip filtering of excluded translations.
SetupCompileProperties = $(NamedParamsMacroTemplate)
define SetupCompilePropertiesBody
# Set default value unless overridden
@@ -73,10 +74,13 @@ define SetupCompilePropertiesBody
$1_SRC_FILES := $$(filter-out $$($1_EXCLUDE), $$($1_SRC_FILES))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_SRC_FILES := $$(call FilterExcludedTranslations, $$($1_SRC_FILES), .properties)
endif
# Convert .../src/<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
# to .../support/gensrc/<module>/com/sun/tools/javac/resources/javac_zh_CN.java
# Strip away prefix and suffix, leaving for example only:
# "<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN"
$1_JAVAS := $$(patsubst $$($1_MODULE_PATH_ROOT)/%, \
$(SUPPORT_OUTPUTDIR)/gensrc/%, \
$$(patsubst %.properties, %.java, \
@@ -99,7 +103,7 @@ define SetupCompilePropertiesBody
$1_TARGET := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)/_the.$1.marker
$1_CMDLINE_FILE := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)/_the.$1.cmdline
# Now setup the rule for the generation of the resource bundles.
# Now setup the rule for the generation of the resource bundles.
$$($1_TARGET): $$($1_SRC_FILES) $$($1_JAVAS) $(BUILD_TOOLS_JDK)
$(MKDIR) -p $$(@D) $$($1_DIRS)
$(ECHO) Compiling $$(words $$($1_SRC_FILES)) properties into resource bundles for $(MODULE)

View File

@@ -38,6 +38,7 @@ include HotspotCommon.gmk
include gensrc/GensrcAdlc.gmk
include gensrc/GensrcDtrace.gmk
include gensrc/GensrcJvmti.gmk
include gensrc/GensrcJfr.gmk
$(eval $(call IncludeCustomExtension, hotspot/gensrc/GenerateSources.gmk))

View File

@@ -0,0 +1,67 @@
#
# Copyright (c) 2013, 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.
#
################################################################################
# Build tools needed for the JFR source code generation
JFR_TOOLS_SRCDIR := $(TOPDIR)/make/src/classes
JFR_TOOLS_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/buildtools/tools_classes
$(eval $(call SetupJavaCompiler, GENERATE_JFRBYTECODE, \
JAVAC := $(JAVAC), \
FLAGS := $(DISABLE_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA), \
DISABLE_SJAVAC := true, \
))
$(eval $(call SetupJavaCompilation, BUILD_JFR_TOOLS, \
SETUP := GENERATE_JFRBYTECODE, \
SRC := $(JFR_TOOLS_SRCDIR), \
BIN := $(JFR_TOOLS_OUTPUTDIR), \
))
TARGETS += $(BUILD_JFR_TOOLS)
################################################################################
# Setup make rules for JFR gensrc file generation.
#
TOOL_JFR_GEN := $(JAVA_SMALL) -cp $(JFR_TOOLS_OUTPUTDIR) build.tools.jfr.GenerateJfrFiles
JFR_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/gensrc/jfrfiles
JFR_SRCDIR := $(TOPDIR)/src/hotspot/share/jfr/metadata
# Changing these will trigger a rebuild of generated jfr files.
METADATA_XML := $(JFR_SRCDIR)/metadata.xml
METADATA_XSD := $(JFR_SRCDIR)/metadata.xsd
$(JFR_OUTPUTDIR)/jfrEventClasses.hpp: $(METADATA_XML) $(METADATA_XSD) \
$(BUILD_JFR_TOOLS)
$(call LogInfo, Generating $(@F))
$(call MakeDir, $(@D))
$(call ExecuteWithLog, $@, $(TOOL_JFR_GEN) $(METADATA_XML) $(METADATA_XSD) $(JFR_OUTPUTDIR))
test -f $@
TARGETS += $(JFR_OUTPUTDIR)/jfrEventClasses.hpp

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -50,7 +50,7 @@ TOOL_JVMTI_GEN := $(JAVA_SMALL) -cp $(JVMTI_TOOLS_OUTPUTDIR) jvmtiGen
TOOL_JVMTI_ENV_FILL := $(JAVA_SMALL) -cp $(JVMTI_TOOLS_OUTPUTDIR) jvmtiEnvFill
################################################################################
# Setup make rules for an xml transform for jvmti/trace file generation.
# Setup make rules for an xml transform for jvmti file generation.
#
# Parameter 1 is the name of the rule. This name is used as variable prefix,
# and the targets generated are listed in a variable by that name. This name is
@@ -126,48 +126,3 @@ ifeq ($(JVM_VARIANT), $(firstword $(JVM_VARIANTS)))
TARGETS += $(COPY_JVMTI_H)
endif
################################################################################
# Create trace files in gensrc/tracefiles
TRACE_OUTPUTDIR := $(JVM_VARIANT_OUTPUTDIR)/gensrc/tracefiles
TRACE_SRCDIR := $(TOPDIR)/src/hotspot/share/trace
# Append list of XSL files to search (might have been set by custom extensions)
TRACE_XSL_FILES += $(wildcard $(TRACE_SRCDIR)/*.xsl)
TRACE_XML ?= $(TRACE_SRCDIR)/trace.xml
# Changing these will trigger a rebuild of generated trace files.
TRACE_DEPS += \
$(TRACE_XML) \
$(TRACE_SRCDIR)/tracetypes.xml \
$(TRACE_SRCDIR)/tracerelationdecls.xml \
$(TRACE_SRCDIR)/traceevents.xml \
$(TRACE_SRCDIR)/trace.dtd \
$(TRACE_SRCDIR)/xinclude.mod \
#
# Setup rule for generating a trace file
#
# $1 is generated source file name in $(TRACE_OUTPUTDIR)
define SetupTraceGeneration
$$(eval $$(call SetupXslTransform, $1, \
XML_FILE := $$(TRACE_XML), \
XSL_FILE := $$(firstword $$(filter %/$$(basename $1).xsl, $$(TRACE_XSL_FILES))), \
OUTPUT_DIR := $$(TRACE_OUTPUTDIR), \
DEPS := $$(TRACE_DEPS), \
))
endef
# Append files to generated (might have been set by custom extensions)
TRACE_GENSRC_FILES += \
traceEventClasses.hpp \
traceEventIds.hpp \
traceTypes.hpp \
#
# Call SetupTraceGeneration for all trace gensrc files
$(foreach tracefile, $(TRACE_GENSRC_FILES), \
$(eval $(call SetupTraceGeneration, $(tracefile))) \
)

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