Compare commits

...

2486 Commits

Author SHA1 Message Date
Leonid Mesnik
85a5893183 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2018-08-21 13:17:29 -07:00
Christian Thalinger
d9bb30837a 8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property
Reviewed-by: kvn
2018-08-21 14:14:28 +02:00
Tom Rodriguez
9c4f2b7294 8209624: [JVMCI] Invalidate nmethods instead of directly unloading them when the InstalledCode is dropped
Reviewed-by: kvn
2018-08-21 08:38:02 -07:00
Patricio Chilano Mateo
4ef5590fa7 8206423: Use locking for cleaning ResolvedMethodTable
ServiceThread is now in charge of cleaning ResolvedMethodTable entries

Reviewed-by: gziemski, dholmes, coleenp
2018-08-21 10:37:02 -04:00
Coleen Phillimore
eca24bfb55 8209792: Remove ClassLoaderDataGraph::keep_alive_cld_do
Unnecessary

Reviewed-by: zgu, tschatzl
2018-08-21 10:03:22 -04:00
Coleen Phillimore
dc556f4086 8209738: Remove ClassLoaderDataGraph::*oops_do functions
Make walking CLDG more consistent.

Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04:00
Roman Kennke
f6bcc38500 8209668: Explicit barriers for C1/assembler
Reviewed-by: roland, eosterlund
2018-08-21 13:12:15 +02:00
Priya Lakshmi Muthuswamy
f1173ad06c 8203792: Remove "compatibility" features from Head.java
Reviewed-by: jjg, sundar
2018-08-21 11:41:54 +05:30
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Tim Bell
846e25f099 8209760: merge error: restore ea in make/conf/jib-profiles.js
Reviewed-by: mikael
2018-08-20 16:18:56 -07:00
Jamil Nimeh
8eb45613db 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
Mikael Vidstedt
95db6924f2 Merge 2018-08-20 14:19:30 -07:00
Igor Ignatyev
89a9456801 8209740: typo in test/lib/jtreg/SkippedException.java
Reviewed-by: kvn
2018-08-20 11:37:57 -07:00
Joe Wang
0afc1b41c3 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
Lutz Schmidt
0f4805ef4c 8209588: SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
Reviewed-by: kvn, goetz
2018-08-20 17:25:45 +02:00
Claes Redestad
55cf3de09b 8209633: Avoid creating WeakEntry wrappers when looking up cached MethodType
Reviewed-by: plevart, mchung
2018-08-20 14:25:02 +02:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Aleksey Shipilev
6ccb60937c 8209573: [TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure
Reviewed-by: kvn, pliden
2018-08-20 10:04:00 +02:00
Igor Ignatyev
65f4c7dee4 8209456: [error-prone] ShortCircuitBoolean in java.logging
Reviewed-by: rriggs
2018-08-19 22:41:49 -07:00
Kim Barrett
0d9777a9cb 8154343: Make SATB related code available to other GCs
Move ptrQueue and satbMarkQueue files from g1 to shared.

Reviewed-by: rkennke, sangheki
2018-08-18 13:59:25 -04:00
Jamil Nimeh
d9456186e8 8203614: Java API SSLEngine example code needs correction
Reviewed-by: wetmore, ascarpino
2018-08-17 21:36:02 -07:00
Calvin Cheung
660c7e50f7 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Skip checking the path entries which are not being referenced during CDS dump time

Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
Sean Coffey
15cef25bb0 8208675: Remove legacy sun.security.key.serial.interop property
Reviewed-by: mullan
2018-08-17 22:20:47 +01:00
Joe Darcy
07ed14c5cf 8209304: Deprecate serialVersionUID fields in interfaces
Reviewed-by: lancea, mullan, rriggs, smarks
2018-08-17 13:37:01 -07:00
Igor Veresov
4dfa58d553 8206992: Update Graal
Reviewed-by: kvn
2018-08-17 13:20:53 -07:00
Stuart Monteith
2788ddc4eb 8209586: AARCH64: SymbolTable changes throw assert on aarch64
Cast the comparison value to match the signdeness

Reviewed-by: gziemski, coleenp
2018-08-17 11:56:59 -05:00
Mikael Vidstedt
20f3793312 Added tag jdk-12+7 for changeset ef57958c7c51 2018-08-17 09:53:52 -07:00
Mikael Vidstedt
1da79cddad Added tag jdk-11+27 for changeset 9d7d74c6f2cb 2018-08-17 09:51:28 -07:00
Sharath Ballal
b1b99f1d4c 8209342: Problemlist SA tests on Solaris due to Error attaching to process: Can't create thread_db agent!
Reviewed-by: dcubed, iklam, jgeorge
2018-08-17 21:50:55 +05:30
Robbin Ehn
3bb71a9b51 8207334: VM times out in VM_HandshakeAllThreads::doit() with RunThese30M
Handshakes did not consider external suspended threads safe for safepoint.

Reviewed-by: dcubed, dholmes
2018-08-17 13:38:19 +02:00
Ekaterina Pavlova
3c0f0f0175 8209587: Update test/hotspot/jtreg/ProblemList-graal.txt
Reviewed-by: kvn
2018-08-17 03:59:20 -07:00
Tobias Hartmann
73bcb0507e 8208275: C2 crash in Node::add_req(Node*)
Split-if optimization should not process (dead) counted loops.

Reviewed-by: roland
2018-08-17 08:21:20 +02:00
Michael McMahon
42de356cbd 8207966: HttpClient response without content-length does not return body
Reviewed-by: chegar
2018-08-16 10:22:48 +01:00
Ioi Lam
2e941724e4 8209545: Simplify HeapShared::archive_module_graph_objects
Added archivable_static_fields array in heapShared.cpp

Reviewed-by: jiangli
2018-08-15 11:19:57 -07:00
Kim Barrett
6355dec98c 8209607: Remove stale comment for JNI mutexes
Remove comment.

Reviewed-by: dholmes
2018-08-16 19:49:25 -04:00
Alex Menkov
1260099653 8209608: Problem list com/sun/jdi/BreakpointWithFullGC.java
Reviewed-by: mikael, dtitov, dcubed
2018-08-16 16:44:51 -07:00
Igor Ignatyev
610dfb22d3 8209549: remove VMPropsExt from TEST.ROOT
Reviewed-by: dholmes
2018-08-16 16:28:03 -07:00
Jiangli Zhou
da4684e2e1 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.

Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Alex Menkov
d2a9e11aeb 8209517: com/sun/jdi/BreakpointWithFullGC.java fails with timeout
Reviewed-by: dcubed, mikael
2018-08-16 10:20:00 -07:00
Jan Lahoda
19a7a3b69e 8208269: Javadoc does not support module-info in a multi-release jar
Ensuring correct version is set when reading multi-release jars.

Reviewed-by: jjg
2018-08-16 15:00:23 +02:00
John Jiang
eae535f70e 8209537: Two security tests failed after JDK-8164639 due to dependency was missed
Skip sun/security/tools/keytool/autotest.sh on macosx and add /test/lib to sun/security/ec/TestEC.java

Reviewed-by: rhalade
2018-08-16 02:00:31 +08:00
Roger Riggs
63b1edb7b7 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
Reviewed-by: martin
2018-08-15 10:38:27 -04:00
Rachna Goel
8cf153fbd5 8209047: "Illegal pattern character 'B'" IllegalArgumentException with Burmese locales
Replaced time patterns for Burmese locale from CLDR 29's patterns.

Reviewed-by: naoto
2018-08-16 16:06:54 +05:30
Doug Simon
e39c7c3c93 8209535: [JVMCI] Do not swallow NoClassDefFoundError when converting JVMCI methods and fields to reflection objects
Reviewed-by: kvn, iveresov
2018-08-16 09:46:09 +02:00
Tobias Hartmann
5b0774ea01 8209511: C2 asserts with UseSSE < 4 and AVX enabled: "Label was never bound to a location, but it was used as a jmp target'
Make sure label is bound even if SSE is disabled.

Reviewed-by: kvn
2018-08-16 09:09:18 +02:00
Ioi Lam
bd57506f87 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Handle %p in /proc/sys/kernel/core_pattern

Reviewed-by: dholmes, hseigel
2018-08-15 19:22:46 -07:00
John Jiang
c70c37db8a 8164639: Configure PKCS11 tests to use user-supplied NSS libraries
Provide system property "test.nss.lib.paths" for specifying a set of absolute paths to the custom NSS lib directories

Reviewed-by: weijun, rhalade
2018-08-15 18:41:18 +08:00
Vivek Deshpande
4248ac828c 8207746: C2: Lucene crashes on AVX512 instruction
Replace add/sub instructions which affect flags with lea instruction.

Reviewed-by: kvn, thartmann
2018-08-15 00:48:12 -07:00
Ioi Lam
e12ee81ff0 8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp

Reviewed-by: jiangli, redestad, coleenp
2018-08-14 20:46:46 -07:00
Vicente Romero
efa05e1c62 8207320: Wrong type order for intersection lambdas with multiple abstract methods
Reviewed-by: mcimadamore
2018-08-15 13:39:32 -07:00
Coleen Phillimore
ef15adee70 8209541: Fix merge problem in SymbolTable::do_check_concurrent_work
Remerged with previous change to do_unloading.

Reviewed-by: hseigel
2018-08-15 16:01:48 -04:00
Coleen Phillimore
68e65d8ece 8209447: vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/TestDescription.java timed out
Was walking code cache for every safepoint because redefined methods take a long time to clear out of the code cache

Reviewed-by: eosterlund, rehn
2018-08-15 15:50:23 -04:00
Joe Darcy
07f3f674c2 5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading
Reviewed-by: lancea, rriggs, smarks
2018-08-15 10:44:56 -07:00
Joe Darcy
b0954bc7ab 8176425: Add radix indication in NumberFormatException message for Integer.decode
Reviewed-by: lancea
2018-08-15 10:16:15 -07:00
Mikhailo Seledtsov
b71faed5df 8209164: [TESTBUG] Apply jtreg skipped status to cds tests
Added the SkippedException where applicable

Reviewed-by: iklam, jiangli
2018-08-15 10:00:16 -07:00
Joshua Zhu
f87ec5faf7 8209459: TestSHA512MultiBlockIntrinsics failed on AArch64
Prevent classloading to avoid generation of SHA stubs.

Reviewed-by: kvn, thartmann
2018-08-15 14:35:33 +02:00
Dmitrij Pochepko
4377d3abe2 8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
2018-08-15 14:48:12 +03:00
Erik Österlund
b9052e9647 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
Xue-Lei Andrew Fan
611c53c860 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 18:16:47 -07:00
Rajan Halade
02a3769cfa 8206176: Remove the temporary tls13VN field
Reviewed-by: xuelei, wetmore
2018-08-14 17:21:44 -07:00
Coleen Phillimore
d8ce7f36e2 8209518: symbol table gtest fails with semaphore error
Loop count was wrong.

Reviewed-by: mikael, kbarrett
2018-08-14 19:52:34 -04:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Jerry Zhou
2896ec27e1 8209451: Please change jdk 11 milestone to FCS
Reviewed-by: prr, tbell
2018-08-14 16:36:17 -07:00
Xue-Lei Andrew Fan
66e8f27bd8 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 16:47:56 -07:00
Rajan Halade
a83af4505e 8209506: Add Google Trust Services GlobalSign root certificates
Reviewed-by: mullan
2018-08-14 14:46:13 -07:00
Vladimir Kozlov
9cea96184f 8208463: jdk.internal.vm.compiler's module-info.java.extra contains duplicated provides of the same service interface
Reviewed-by: mchung
2018-08-14 14:08:04 -07:00
Krishna Addepalli
791c31358f 8208640: [a11y] [macos] Unable to navigate between Radiobuttons in Radio group using keyboard
Reviewed-by: prr, serb, psadhukhan, ssadetsky
2018-08-14 12:50:39 -07:00
Kim Barrett
773906998a 8209347: SATBMarkQueue.cpp should not need jvm.h
Use os::snprintf instead of jio_snprintf.

Reviewed-by: shade, tschatzl
2018-08-14 14:58:14 -04:00
Alex Menkov
5b6a90e007 8209109: [TEST] rewrite com/sun/jdi shell tests to java version - step1
Reviewed-by: sspitsyn, jcbeyler
2018-08-14 11:56:32 -07:00
Kim Barrett
8f31a55f91 8209346: Refactor SATBMarkQueue filter configuration
Moved reference to G1-specific option to G1CollectedHeap.

Reviewed-by: shade, rkennke
2018-08-14 13:16:26 -04:00
Rajan Halade
bfb0a2ea3f 8209452: VerifyCACerts.java failed with "At least one cacert test failed"
Allow test to pass even if cert in EXPIRY_EXC_ENTRIES expires

Reviewed-by: mullan
2018-08-14 10:08:21 -07:00
Rajan Halade
732e3f5416 8209452: VerifyCACerts.java failed with "At least one cacert test failed"
Allow test to pass even if cert in EXPIRY_EXC_ENTRIES expires

Reviewed-by: mullan
2018-08-14 09:38:29 -07:00
Rachna Goel
afa5d318d3 8206965: java/util/TimeZone/Bug8149452.java failed on de_DE and ja_JP locale
Generated display names for missing timezones at run time.

Reviewed-by: naoto
2018-08-14 11:55:21 +05:30
Abdul Kolarkunnu
c283eb190e 8209418: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: serb
2018-08-13 21:57:17 -07:00
Weijun Wang
33a96c6df9 8209416: Refactoring GetPropertyAction calls in security libs
Reviewed-by: xuelei, rriggs
2018-08-14 22:39:34 +08:00
Lutz Schmidt
815cdefb43 8209433: [s390] Fix build, broken by 8208672 (Enable -Wreorder)
Reviewed-by: tschatzl, shade
2018-08-14 14:28:23 +02:00
Igor Ignatyev
d5142e7240 8205687: TimeoutHandler generates huge core files
Use kill instead of gcore to generate core file

Reviewed-by: dholmes
2018-08-13 13:44:45 -07:00
Jean Christophe Beyler
5fc4ca5c45 8061467: Add UseLargePages to TestNUMAPageSize
Add flag to test for all architectures to be tested

Reviewed-by: phh, pliden, tschatzl
2018-08-13 09:19:21 -07:00
Per Lidén
a51aeedca0 8209376: ZGC: Move ZMarkStackAllocator into a separate file
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:43 +02:00
Per Lidén
f50c8dddfa 8209375: ZGC: Use dynamic base address for mark stack space
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:42 +02:00
Kim Barrett
924bba584d 8209345: Merge SATBMarkQueueFilter into SATBMarkQueueSet
Move filter extension protocol to SATBMarkQueueSet.

Reviewed-by: shade, tschatzl, rkennke
2018-08-14 00:15:56 -04:00
Felix Yang
b5f939c5db 8194230: jdk/internal/jrtfs/remote/RemoteRuntimeImageTest.java fails with java.lang.NullPointerException
Reviewed-by: mchung
2018-08-14 10:42:00 +08:00
Igor Ignatyev
4bcd4f04a2 8209382: [error-prone] HashtableContains in sun/rmi/server/ActivationGroupImpl.java
Reviewed-by: rriggs
2018-08-13 17:39:27 -07:00
Kim Barrett
a007690fa0 8209396: Make PtrQueueSets not statically allocated
Change the G1BarrierSet PtrQueueSet static members to ordinary members.

Reviewed-by: shade, tschatzl, rkennke
2018-08-13 18:21:26 -04:00
Vladimir Kozlov
4729c903c6 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
Claes Redestad
5c3008fbc4 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Matthias Baesken
8044814e30 8209115: adjust libsplashscreen linux ppc64le builds for easier libpng update
Reviewed-by: prr, dholmes
2018-08-10 09:16:10 +02:00
Ekaterina Pavlova
582c0dafb8 8199486: [Graal] gc/g1/ihop/TestIHOPStatic.java fails by timeout with -Xcomp
Reviewed-by: kvn
2018-08-13 04:02:51 -07:00
Thomas Schatzl
7aabcdee63 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
For initial TLAB sizing, increase the number of expected refills to 2.

Reviewed-by: phh, sangheki
2018-08-13 12:24:25 +02:00
Thomas Schatzl
044b502383 8205633: TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently
Exclude maximum range value from testing.

Reviewed-by: sangheki, kbarrett
2018-08-13 12:24:25 +02:00
Thomas Schatzl
a9508324e2 8209193: Fix aarch64-linux compilation after -Wreorder changes
Reviewed-by: shade, drwhite
2018-08-13 12:24:25 +02:00
Gunter Haug
93c176ef2e 8209357: [PPC64] Fix build which was broken by 8208672 (Enable -Wreorder)
Reviewed-by: mbaesken, tschatzl
2018-08-13 12:24:25 +02:00
Aleksei Voitylov
1712e272cd 8209380: ARM: cleanup maybe-uninitialized and reorder compiler warnings
Reviewed-by: dholmes, drwhite, tschatzl
2018-08-13 12:24:25 +02:00
Aleksei Voitylov
abb7f64829 8209378: Fix Minimal VM after JDK-8208677
Reviewed-by: coleenp, shade
2018-08-13 10:28:01 +02:00
Coleen Phillimore
d1aea148fe 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
InstanceKlass::implementors() needs the Compile_lock

Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Coleen Phillimore
5a80204c23 8209384: ProblemList stressHierarchy metaspace tests
These try to trigger GC by filling metaspace which seems to be not working.

Reviewed-by: jiangli
2018-08-10 22:38:18 -04:00
Brent Christian
51d0a9e122 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Harold Seigel
83b2fb5b0d 8207778: Add locking to ModuleEntry and PackageEntry tables
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()

Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04:00
Boris Ulasevich
092e9e4f81 8206895: aarch64: rework error-prone cmp instuction
Reviewed-by: aph
2018-08-10 14:22:49 +03:00
Weijun Wang
ea95e1ef2e 8201290: keytool importcert fails with CertificateParsingException if unknown certificate algorithms should be imported
Reviewed-by: mullan, xuelei
2018-08-10 17:07:44 +08:00
Chris Yin
4e2b462116 8208483: Add 5 JNDI tests to com/sun/jndi/dns/FactoryTests/
Reviewed-by: vtewari, rriggs
2018-08-10 13:07:21 +08:00
Jiangli Zhou
a5d14313f5 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Calvin Cheung
5858a507f4 8208705: [TESTBUG] The -Xlog:cds,cds+hashtables vm option is not always required for appcds tests
Only include the CDS logging option in the tests which require it

Reviewed-by: mseledtsov, jiangli, iklam
2018-08-09 15:52:23 -07:00
Claes Redestad
2c5b52f061 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2018-08-10 00:20:15 +02:00
Roman Kennke
59ca28bf1c 8209118: Abstract SATBMarkQueueSet's ThreadLocalData access
Reviewed-by: kbarrett, shade
2018-08-09 22:51:48 +02:00
Ekaterina Pavlova
b037ff24a8 8205078: [Graal] org.graalvm.compiler.core.test.VerifyDebugUsageTest fails with "Expected exception: VerificationError"
Reviewed-by: kvn, dnsimon
2018-08-09 11:39:18 -07:00
Ekaterina Pavlova
ca477652c2 8194949: [Graal] gc/TestNUMAPageSize.java fail with OOM in -Xcomp
Reviewed-by: kvn, tschatzl
2018-08-09 11:33:47 -07:00
Manajit Halder
7a9b62f2d4 8208125: Cannot input text into JOptionPane Text Input Dialog
Reviewed-by: prr, psadhukhan
2018-08-09 22:47:18 +05:30
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00
Mikael Vidstedt
e146d6cdce Added tag jdk-11+26 for changeset 945ba9278a27 2018-08-09 07:58:25 -07:00
Chris Hegarty
166030817f 8208391: Differentiate response and connect timeouts in HTTP Client API
Reviewed-by: michaelm
2018-08-09 11:23:12 +01:00
Sergey Bylokhov
e850549b71 8189667: Desktop#moveToTrash expects incorrect "<<ALL FILES>>" FilePermission
Reviewed-by: prr, sveerabhadra
2018-08-08 15:51:08 -07:00
Daniel D. Daugherty
1543db08da 8209149: [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
Reviewed-by: coleenp
2018-08-08 15:11:11 -04:00
Yang Zhang
286115581e 8209011: [TESTBUG] AArch64: sun/security/pkcs11/Secmod/TestNssDbSqlite.java fails in aarch64 platforms
Add the path of libnss3.so for aarch64 platform.

Reviewed-by: weijun
2018-08-08 13:45:41 +08:00
Robin Westberg
961156b1d5 8208676: Missing NULL check and resource leak in NetworkPerformanceInterface::NetworkPerformance::network_utilization
Reviewed-by: mgronlun, rehn
2018-08-06 14:56:56 +02:00
Leo Jiang
2f1aae720b 8208663: JDK 11 L10n resource file update msg drop 20
Reviewed-by: naoto
2018-08-07 00:06:52 -07:00
Iris Clark
4ebf1cdc53 8201394: Update java.se module summary to reflect removal of java.se.ee module
Reviewed-by: alanb, lancea, mchung
2018-08-07 17:40:11 -07:00
Staffan Larsen
b806cb371e 8031761: [TESTBUG] Add a regression test for JDK-8026328
Reviewed-by: kvn, iignatyev
2018-08-07 13:51:30 -07:00
Sean Mullan
ac3d4a6722 8208691: Tighten up jdk.includeInExceptions security property
Add stronger warning on usage and add test to check that property is not set

Reviewed-by: alanb, rriggs
2018-08-07 10:29:01 -04:00
David Buck
0919d6d626 8204966: [TESTBUG] hotspot/test/compiler/whitebox/IsMethodCompilableTest.java test fails with -XX:CompileThreshold=1
Enforce lower bound on number of loop iterations used to trigger OSR

Reviewed-by: kvn, iignatyev
2018-08-06 22:30:37 -04:00
Daniel D. Daugherty
03c595997c 8209029: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!' in jdk-11+25 testing
Reviewed-by: dholmes, sspitsyn
2018-08-06 20:44:14 -04:00
Sibabrata Sahoo
e64ad29e8a 8208496: New Test to verify concurrent behavior of TLS
Verify TLS behavior with multiple threads accessing concurrently.

Reviewed-by: xuelei
2018-08-06 00:46:40 -07:00
Tobias Hartmann
6dac70d919 8207355: C1 compilation hangs in ComputeLinearScanOrder::compute_dominator
Bail out from recursive computation if the block was already processed.

Reviewed-by: kvn, iveresov
2018-08-06 09:09:57 +02:00
Igor Ignatyev
b863c0efab 8199081: [Testbug] compiler/linkage/LinkageErrors.java fails if run twice
Reviewed-by: kvn, vlivanov
2018-08-03 15:39:28 -07:00
Phil Race
4635b34d7e Added tag jdk-11+25 for changeset 331888ea4a78 2018-08-02 09:26:40 -07:00
Markus Grönlund
e8dd517464 8207139: NMT is not enabled on Windows 2016/10
Reviewed-by: dcubed, zgu, dholmes
2018-08-02 09:49:04 +02:00
Phil Race
b6532bdf48 8204931: Colors with alpha are painted incorrectly on Linux
Reviewed-by: jdv, psadhukhan
2018-07-31 14:04:29 -07:00
Phil Race
542197c8ab 8208353: Upgrade JDK 11 to libpng 1.6.35
Reviewed-by: jdv, kaddepalli
2018-07-31 14:03:39 -07:00
Phil Race
06932ae37c 8208466: Fix potential memory leak in harfbuzz shaping
Reviewed-by: jdv, kaddepalli
2018-07-31 12:23:55 -07:00
Dmitry Samersoff
c57cfe6d14 8207046: arm32 vm crash: C1 arm32 platform functions parameters type mismatch
Fixed unexpected parameter location in arm32 LIR_Assembler

Reviewed-by: dsamersoff, kvn
2018-07-31 21:23:56 +03:00
Ekaterina Pavlova
e4521331a8 8208347: ProblemList compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java
Reviewed-by: kvn
2018-07-31 09:48:25 -07:00
Daniel D. Daugherty
30d46ba27b 8208521: ProblemList more tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-30 14:22:36 -04:00
Igor Ignatyev
cb25641e4c 8208370: fix typo in ReservedStack tests' @requires
Reviewed-by: kvn
2018-07-27 00:00:28 -07:00
Igor Ignatyev
5c2439b0f6 8208358: update bug ids mentioned in tests
Reviewed-by: kvn
2018-07-26 23:59:46 -07:00
Harold Seigel
5a3decc9f1 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Add code to skip over unknown attributes when class file version >= 11.

Reviewed-by: lfoltan
2018-07-26 15:56:37 -04:00
Jean Christophe Beyler
5b9175eae8 8208251: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java fails intermittently on Linux-X64
Lower the interval rate and check GC objects too

Reviewed-by: dcubed, sspitsyn
2018-07-26 11:53:59 -07:00
Ekaterina Pavlova
5bafe6f9a0 8195156: [Graal] serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java fails with Graal in Xcomp mode
Reviewed-by: kvn, sspitsyn
2018-07-26 10:23:33 -07:00
Daniel D. Daugherty
6958cd7967 8208305: ProblemList compiler/jvmci/compilerToVM/GetFlagValueTest.java
Reviewed-by: hseigel, kvn
2018-07-26 13:08:42 -04:00
Phil Race
ffe9b0ffb7 Added tag jdk-11+24 for changeset ea900a7dc7d7 2018-07-26 09:27:30 -07:00
Jim Laskey
af89766e1e 8208164: (str) improve specification of String::lines
Reviewed-by: smarks
2018-07-26 10:25:33 -03:00
Volker Simonis
3b002460a1 8205608: Fix 'frames()' in ThreadReferenceImpl.c to prevent quadratic runtime behavior
Reviewed-by: sspitsyn, cjplummer
2018-07-23 15:17:14 +02:00
Rachna Goel
50a3c19ffc 8206965: java/util/TimeZone/Bug8149452.java failed on de_DE and ja_JP locale
Generated display names for missing timezones at run time.

Reviewed-by: naoto
2018-07-26 14:15:24 +05:30
Leo Jiang
6c703b8589 8207948: JDK 11 L10n resource file update msg drop 10
Reviewed-by: naoto
2018-07-25 22:48:53 -07:00
John Jiang
126394f271 8206258: [Test Error] sun/security/pkcs11 tests fail if NSS libs not found
Improve the logics on skipping test

Reviewed-by: valeriep
2018-07-26 08:46:27 +08:00
Xue-Lei Andrew Fan
d2b2780859 8208166: Still unable to use custom SSLEngine with default TrustManagerFactory after JDK-8207029
Reviewed-by: ascarpino
2018-07-25 17:21:04 -07:00
Daniel D. Daugherty
398db3a0c7 8208226: ProblemList com/sun/jdi/BasicJDWPConnectionTest.java
Reviewed-by: sspitsyn
2018-07-25 17:22:25 -04:00
Chris Plummer
3ec12f2dc1 8151259: [TESTBUG] nsk/jvmti/RedefineClasses/redefclass030 fails with "unexpected values of outer fields of the class" when running with -Xcomp
Do a better job of handling compilations before execution

Reviewed-by: sspitsyn, amenkov
2018-07-25 13:15:36 -07:00
Daniel D. Daugherty
8c4ac06e1c 8208205: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-25 15:38:37 -04:00
Jean Christophe Beyler
37bbbcff6d 8207765: HeapMonitorTest.java intermittent failure
Lower the interval rate and check GC objects too

Reviewed-by: dcubed, sspitsyn
2018-07-25 10:51:16 -07:00
Jamil Nimeh
8158cca17d 8207237: SSLSocket#setEnabledCipherSuites is accepting empty string
Reviewed-by: xuelei
2018-07-25 09:48:31 -07:00
Daniel D. Daugherty
021a771791 8208189: ProblemList compiler/graalunit/JttThreadsTest.java
Reviewed-by: darcy
2018-07-25 12:32:06 -04:00
Erik Joelsson
d4beeed2db 8208096: Update build documentation to reflect compiler upgrades at Oracle
Reviewed-by: tbell
2018-07-25 08:36:46 -07:00
Chris Hegarty
1b1355c222 8207846: Generalize the jdk.net.includeInExceptions security property
Reviewed-by: alanb, michaelm, rriggs, mullan
2018-07-25 10:08:39 +01:00
Rajan Halade
eec8b3b9a8 8203230: update VerifyCACerts test
Reviewed-by: mullan
2018-07-24 12:12:16 -07:00
Chris Plummer
23a2b24b0b 8208075: Quarantine vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java
Add test to ProblemsList.txt

Reviewed-by: sspitsyn
2018-07-24 10:35:25 -07:00
Gunter Haug
0ec91d3125 8207392: [PPC64] Implement JFR profiling
Reviewed-by: simonis, goetz
2018-07-24 12:57:40 +02:00
Chris Hegarty
577cdf1f49 8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
Reviewed-by: michaelm
2018-07-24 10:07:26 +01:00
Chris Hegarty
e605cae39f 8207959: The initial value of SETTINGS_MAX_CONCURRENT_STREAMS should have no limit
Reviewed-by: michaelm
2018-07-23 11:47:03 +01:00
Hamlin Li
23084b76fa 8208111: Problem list java/nio/channels/Selector/RacyDeregister.java
Reviewed-by: alanb
2018-07-24 13:55:57 +08:00
Valerie Peng
df08003471 8206171: Signature#getParameters for RSASSA-PSS throws ProviderException when not initialized
Changed SunRsaSign and SunMSCAPI provider to return null and updated javadoc

Reviewed-by: weijun, mullan
2018-07-23 23:18:19 +00:00
Dean Long
7723d3a1e9 8207383: [Graal] SelfChangedCDS.java fails with "guarantee(disp == (intptr_t)(jint)disp) failed: must be 32-bit offset"
Reviewed-by: kvn
2018-07-23 12:01:43 -07:00
Daniel D. Daugherty
c1ec12c2ff 8208092: ProblemList serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: sspitsyn
2018-07-23 14:41:06 -04:00
Srinivas Dama
eac16b2705 8206445: JImageListTest.java failed in Windows
Added System.gc() call to address unmapped jimage files

Reviewed-by: alanb
2018-07-23 19:58:43 +05:30
Swati Sharma
0440d172a0 8189922: UseNUMA memory interleaving vs membind
Reviewed-by: gromero, drwhite, dholmes, tschatzl
2018-07-19 16:56:05 -04:00
Jean Christophe Beyler
39cd4bdd52 8207252: C1 still does eden allocations when TLAB is enabled
Only do eden allocations when TLAB is disabled

Reviewed-by: kbarrett, jrose, tschatzl, iveresov
2018-07-22 20:00:39 -07:00
Felix Yang
16dcca2c40 8207952: Problem-list 3 sctp tests
Reviewed-by: chegar
2018-07-23 10:02:10 +08:00
Weijun Wang
32a2f54b64 8207223: SSL Handshake failures are reported with more generic SSLException
Reviewed-by: xuelei
2018-07-21 21:46:42 +08:00
Coleen Phillimore
a95225aabc 8203820: [TESTBUG] vmTestbase/metaspace/staticReferences/StaticReferences.java timed out
Moved InMemoryJavaCompiler out of loops or reduced loops with InMemoryJavaCompiler

Reviewed-by: vromero, jiangli
2018-07-20 18:03:23 -04:00
Stuart Marks
61ea10862e 8206865: RMI activation tests fail with InvalidClassException
Reviewed-by: darcy, alanb, mchung
2018-07-20 14:34:51 -07:00
Ekaterina Pavlova
daa3f2ce32 8206241: compiler/graalunit/PhasesCommonTest.java fails with java.lang.Error: TESTBUG: no tests found for prefix org.graalvm.compiler.phases.common.test
Reviewed-by: kvn
2018-07-20 11:39:52 -07:00
Igor Ignatyev
d38a0c13fd 8207915: [AOT] jaotc w/ '--ignore-errors' should ignore illegal class files
Reviewed-by: kvn
2018-07-20 11:39:37 -07:00
Naoto Sato
1aa5ef025d 8206886: Java does not set the default format locale correctly on mac10.13
Reviewed-by: rriggs
2018-07-20 10:12:34 -07:00
Anthony Scarpino
4e46cc1392 8204196: integer cleanup
Reviewed-by: xuelei
2018-07-20 09:55:15 -07:00
Erik Joelsson
f53e04ead9 8207365: Make man pages optional
Reviewed-by: tbell
2018-07-20 09:07:37 -07:00
Goetz Lindenmaier
c798b68ee1 8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Goetz Lindenmaier
9dcc8b4a96 8207766: [testbug] Adapt tests for Aix
Reviewed-by: clanger, mbaesken
2018-07-20 09:33:49 +02:00
Rahul Raghavan
75437a84db 8203504: [Graal] org.graalvm.compiler.debug.test.DebugContextTest fails with java.util.ServiceConfigurationError
Added required uses statement

Reviewed-by: dnsimon, kvn
2018-07-20 01:23:38 -07:00
Hamlin Li
17f7056d82 8207833: java/nio/channels/Selector/SelectWithConsumer.java testCancel() fails intermittently
Reviewed-by: alanb
2018-07-20 15:24:42 +08:00
Jean Christophe Beyler
4823354a6a 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
Hamlin Li
cf4bbcecb0 8207244: java/nio/channels/Selector/SelectWithConsumer.java testInterruptDuringSelect() fails intermittently
Reviewed-by: alanb
2018-07-20 08:40:14 +08:00
Zhengyu Gu
7f98a31e8d 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
Erik Joelsson
9d7fc64c38 8207243: Fix translation filtering to also support zh_HK and zh_TW
Reviewed-by: tbell
2018-07-19 14:25:42 -07:00
Vladimir Kozlov
67d90233b1 8207069: [AOT] we should check that VM uses the same GC as one used for AOT library generation
Reviewed-by: twisti, dnsimon, never
2018-07-19 13:41:56 -07:00
Boris Ulasevich
11ff09b63b 8207584: ARM32: ShouldNotReachHere assertion on Test8168712 jtreg test
Reviewed-by: shade
2018-07-19 21:46:52 +03: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
329374e53b Added tag jdk-11+23 for changeset 1edcf36fe15f 2018-07-19 09:42:15 -07:00
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
Stuart Marks
b228ede451 8205491: adjust reflective access checks
Reviewed-by: alanb, mchung, igerasim, rhalade, ahgross
2018-06-22 17:08:00 -07:00
Roman Kennke
cbcc690048 8205523: Explicit barriers for interpreter
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
Roman Kennke
f62fa67625 8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()
Reviewed-by: tschatzl, eosterlund
2018-08-09 17:11:11 +02:00
Mikael Vidstedt
437a15817f Added tag jdk-12+6 for changeset 7939b3c4e408 2018-08-09 08:02:20 -07:00
Jean Christophe Beyler
dc45757347 8208242: Add @requires to vmTestbase/gc/g1 tests
Added classunloading must not be disabled and G1 is required to g1/unloading tests

Reviewed-by: kbarrett, tschatzl
2018-08-08 11:11:19 -07:00
Per Lidén
f8590345b7 8209127: ZGC: Improve error message when failing to map memory for mark stacks
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
abb1e458eb 8209126: ZGC: ZMarkStackAllocator::is_initialized() never called
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
6c7f0f0218 8209125: ZGC: Clean up ZServiceabilityCounters
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
e05a66c789 8207756: ZGC: jstat should show CGC STW phases
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, ysuenaga, eosterlund
2018-08-09 11:24:30 +02:00
Felix Yang
30fad2ce7d 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2018-08-09 15:42:48 +08:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Jean Christophe Beyler
626a614146 8208303: Track JNI failures and fail tests
Fail in native code via  FatalException to signal test failure

Reviewed-by: amenkov, sspitsyn
2018-08-08 15:34:32 -07:00
Mandy Chung
90a76fe7d2 8202941: GenModuleInfoSource build tool does not detect missing semicolons
Reviewed-by: erikj
2018-08-08 14:40:02 -07:00
Coleen Phillimore
a7b66f6f5e 8208677: Move inner metaspace cleaning out of class unloading
Move to safepoint cleanup actions to do if needed.

Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
Daniel D. Daugherty
149026aa65 8209149: [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
Reviewed-by: coleenp
2018-08-08 15:11:11 -04:00
Brian Burkhalter
52f2eca5d9 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
Reviewed-by: alanb, psandoz
2018-08-08 09:25:10 -07:00
Thomas Schatzl
bdfda4e19b 8208672: Enable -Wreorder in make files for gcc, clang
Reviewed-by: dholmes, ihse
2018-08-08 15:31:07 +02:00
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Thomas Schatzl
e98c176026 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Thomas Schatzl
d702d5f8d2 8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
2018-08-08 15:31:06 +02:00
Chris Yin
a00eff193f 8208279: Add 8 JNDI tests to com/sun/jndi/dns/EnvTests/
Reviewed-by: vtewari, rriggs
2018-08-08 10:21:23 +08:00
Coleen Phillimore
a6a078ee4f 8208575: Remove Atomic::add/sub for short
Removed code to atomic::add for short because it's no longer used for Symbol.

Reviewed-by: iklam
2018-08-07 19:35:50 -04:00
Ioi Lam
1b2e7cbaef 8208999: Some use of Klass* should be replaced by InstanceKlass*
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*

Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Nasser Ebrahim
01cc27f875 8208634: Add x-IBM-1129 charset
Reviewed-by: alanb, sherman
2018-08-07 16:07:47 -07:00
Claes Redestad
db4913ba5a 8209003: Consolidate use of empty collections in java.lang.module
Reviewed-by: alanb, mchung
2018-08-07 23:08:52 +02:00
Staffan Larsen
3be8d256e9 8031761: [TESTBUG] Add a regression test for JDK-8026328
Reviewed-by: kvn, iignatyev
2018-08-07 13:51:30 -07:00
Calvin Cheung
6f046a9f27 8208704: runtime/appcds/MultiReleaseJars.java timed out often in hs-tier7 testing
Increase timout to 2400 and reduce the amount of output

Reviewed-by: mseledtsov, jiangli
2018-08-07 09:44:39 -07:00
Matthias Baesken
4ce757492c 8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds
Reviewed-by: ihse, martin, alanb, dholmes
2018-08-03 07:59:01 +02:00
Vladimir Kozlov
77204ca163 8209023: fix 2 compiler tests to avoid JDK-8208690
Reviewed-by: dholmes, dcubed
2018-08-06 18:49:51 -07:00
Daniel D. Daugherty
a9fd33bf2f 8209029: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!' in jdk-11+25 testing
Reviewed-by: dholmes, sspitsyn
2018-08-06 20:52:41 -04:00
Jean Christophe Beyler
b2042fe0ca 8079682: [mlvm] remove SAM code in MHTransformationGen
Remove SAM code from the test and remove related dead code

Reviewed-by: iignatyev
2018-08-06 14:23:02 -07:00
Alexandre Iline
013e6fd595 8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration
Reviewed-by: mchung
2018-08-06 15:35:44 -07:00
Paul Sandoz
70b706c224 8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
Reviewed-by: mchung, plevart
2018-08-06 15:18:57 -07:00
Florian Weimer
cc248634a1 8208362: (bf) Long chains created by direct Buffer::slice
Reviewed-by: mr, psandoz, alanb
2018-08-06 14:55:04 -07:00
Joe Darcy
4bac00436d 8209024: Use SuppressWarnings on serialVersionUID fields in interfaces
Reviewed-by: bpb, rriggs, mullan
2018-08-06 14:29:22 -07:00
Ekaterina Pavlova
080d3bb21a 8194958: [Graal] disable compiler/c2/cr7200264 tests
Reviewed-by: kvn, tschatzl
2018-08-06 13:53:49 -07:00
Daniel D. Daugherty
963bb6c8be 8209020: ProblemList tests affected by JDK-8208778
Reviewed-by: hseigel
2018-08-06 16:15:09 -04:00
Harold Seigel
82186ce311 8208604: Metadata::print_value_string() compares 'this' to NULL
Remove the comparison and add asserts to check for NULL

Reviewed-by: coleenp, gziemski
2018-08-06 14:20:58 -04:00
Daniel D. Daugherty
831fdfe311 8209018: ProblemList tests affected by JDK-8208690
Reviewed-by: kvn
2018-08-06 13:57:26 -04:00
Pengfei Li
03d6ab3b09 8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails in AUFS file system
Limit the maximal file name length to 242 for AUFS file system

Reviewed-by: dholmes, redestad
2018-08-06 04:31:50 -04:00
Christoph Dreis
c1c4085139 8208998: Typo in ModueInfo.java, field for ModuleHashes should be moduleHashes
Reviewed-by: alanb
2018-08-05 19:16:31 +01:00
Joe Darcy
fb0b608284 8208782: Remove extra type in throws clause of SerialClob.writeObject
Reviewed-by: lancea
2018-08-03 21:06:15 -07:00
Brian Burkhalter
b924bf7233 8186766: UnixNativeDispatcher::readlink() may truncate overlong paths
Reviewed-by: alanb
2018-08-03 12:45:18 -07:00
Phil Race
32ec91ca9b Merge 2018-08-03 09:42:57 -07:00
Sean Coffey
7a791910c3 8208583: Better management of internal KeyStore buffers
Reviewed-by: weijun
2018-08-03 14:14:59 +01:00
Zhengyu Gu
4555c28590 8205921: Optimizing best-of-2 work stealing queue selection
Bias towards stealing from queues that we recently successfully stole from to decrease the number of unsuccessful steal attempts.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: eosterlund, kbarrett
2018-08-03 11:06:10 +02:00
Sean Coffey
c4faf01f86 8207775: Better management of CipherCore buffers
Reviewed-by: ascarpino
2018-08-03 09:57:10 +01:00
Daniel D. Daugherty
2ce4abbcc8 8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
Reviewed-by: dholmes
2018-08-02 22:14:54 -04:00
Igor Ignatyev
b3e18b4a1b 8208701: Fix for JDK-8208655 causes test failures in CI tier1
Reviewed-by: dholmes, dcubed
2018-08-02 16:16:02 -07:00
Igor Ignatyev
940ac1cddc 8208699: remove unneeded imports from runtime tests
Reviewed-by: iklam
2018-08-02 16:15:48 -07:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Phil Race
43e1256928 Added tag jdk-12+5 for changeset f8696e0ab9b7 2018-08-02 09:27:40 -07:00
Zhengyu Gu
23db5cd8a0 8208635: Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)
Added missing header file

Reviewed-by: shade, gziemski
2018-08-02 11:13:00 -04:00
Jean Christophe Beyler
3d94ce71b5 8208249: TriggerUnloadingByFillingMetaspace generates garbage class names
Put a ThreadLocal around the object to be thread safe

Reviewed-by: tschatzl, iignatyev
2018-07-31 10:16:56 -07:00
Jean Christophe Beyler
fc9941ae72 8169004: Fix redundant @requires tags in tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 12:24:47 -07:00
Jean Christophe Beyler
ec76c2046c 8069343: Improve gc/g1/TestHumongousCodeCacheRoots.java to use jtreg @requires
Remove client test entirely and clean up test

Reviewed-by: tschatzl, iignatyev
2018-08-01 09:23:24 -07:00
Jean Christophe Beyler
b184fceaa0 8208246: flags duplications in vmTestbase_vm_g1classunloading tests
Remove duplicate flags for the classunloading tests

Reviewed-by: tschatzl, iignatyev
2018-07-31 10:20:10 -07:00
Igor Ignatyev
d2dd5c4473 8208647: switch jtreg to 4.2b13
Reviewed-by: kvn, dholmes, ihse
2018-08-01 23:06:33 -07:00
Mikhailo Seledtsov
8a5467b9c2 8185531: [TESTBUG] Improve test configuration for shared strings
Added extra test configurations to the tests

Reviewed-by: iklam, gziemski
2018-08-01 19:07:27 -07:00
Kim Barrett
501fc494c0 8208611: Refactor SATBMarkQueue filtering to allow GC-specific filters
Add SATBMarkQueueFilter.

Reviewed-by: tschatzl, eosterlund, rkennke
2018-08-01 19:14:04 -04:00
Igor Ignatyev
65091f8c6d 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2018-08-01 10:04:08 -07:00
Naoto Sato
4ab515f85c 8208080: Locale extensions via Service provider is not working for region extensions
Reviewed-by: rriggs, nishjain
2018-08-01 09:33:56 -07:00
Nishit Jain
b2a6aa3e80 8208560: ChoiceFormat class has unused constants needs cleanup
Reviewed-by: rriggs, naoto
2018-08-01 18:02:25 +05:30
Priya Lakshmi Muthuswamy
24fe001ecb 8208484: color contrast issues in a couple of spec files
Reviewed-by: jjg, ihse
2018-08-01 12:36:02 +05:30
David Buck
36b45330b8 8191006: hsdis disassembler plugin does not compile with binutils 2.29+
Update call to disassembler() function to match new signature used by Binutils

Reviewed-by: gromero, kvn
2018-08-01 02:21:02 -04:00
Weijun Wang
b9bfd45c73 8208602: Cannot read PEM X.509 cert if there is whitespace after the header or footer
Reviewed-by: xuelei
2018-08-01 13:35:08 +08:00
David Buck
d4381002ac 8208541: non-ASCII characters in hsdis UPL text
Replace Unicode left/right double quote pair with normal ASCII double quotes

Reviewed-by: jrose
2018-08-01 01:40:44 -04:00
Daniel D. Daugherty
e7114f64f3 8208605: Fix for 8199868 breaks tier1 build
Move variable declarations to make studio compiler happy.

Reviewed-by: kbarrett
2018-07-31 17:07:43 -04:00
Coleen Phillimore
16f9e07ba1 8208074: [TESTBUG] vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java failed with NullPointerException
Fixed refactoring caused by JDK-8203820

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-07-31 15:57:52 -04:00
Harold Seigel
38db1d1620 8202171: Some oopDesc functions compare this with NULL
Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.

Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
Zhengyu Gu
b71f3e7104 8199868: Support JNI critical functions in object pinning API
Pin/unpin incoming array arguments of critical native JNI call

Reviewed-by: shade, adinn
2018-07-31 13:12:06 -04:00
Maurizio Cimadamore
9d25c65fda 8208524: IntelliJ support broken since 2018.2
Move build.xml out of .idea folder

Reviewed-by: stuefe
2018-07-31 16:49:51 +01:00
Harold Seigel
7d04a31fc8 8208399: Metadata methods print_(value_)on_maybe_null() compare 'this' to NULL
Add Method* parameter and make method static to avoid 'this' comparison with NULL

Reviewed-by: lfoltan, gziemski, coleenp
2018-07-31 09:55:09 -04:00
Zhengyu Gu
c9d506055c 8208499: NMT: Missing memory tag for Safepoint polling page
Added missing memory tag and cleanup memory type enum

Reviewed-by: shade, coleenp
2018-07-31 07:35:16 -04:00
Harold Seigel
c277f9ed8e 8207779: Method::is_valid_method() compares 'this' with NULL
Add Method* parameter and make method static to avoid 'thi's comparison with NULL

Reviewed-by: lfoltan, coleenp
2018-07-30 16:35:54 -04:00
Michal Vala
d86f3a8cb2 8208084: Windows build failure - "'snprintf': identifier not found"
Reviewed-by: kbarrett, coleenp
2018-07-30 14:08:30 -04:00
Daniel D. Daugherty
10592b0d36 8208521: ProblemList more tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-30 14:22:36 -04:00
Priya Lakshmi Muthuswamy
38f91617c5 8203791: Remove "compatibility" features from Table.java
Reviewed-by: jjg
2018-07-30 11:52:05 +05:30
Chris Yin
73477220be 8208363: test/jdk/java/lang/Package/PackageFromManifest.java missing module dependencies declaration
Reviewed-by: lancea, mchung
2018-07-30 09:06:14 +08:00
Patricio Chilano Mateo
2d1029c256 8171157: Convert ObjectMonitor_test to GTest
Migration of the ObjectMonitor test to GTest. Two GTests were actually created, one for ObjectMonitor and one for ObjectSynchronizer.

Reviewed-by: dcubed, hseigel
2018-07-27 16:29:36 -04:00
Nishit Jain
c1bbdfaa2c 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
Thomas Schatzl
74a31c5c16 8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
2018-07-27 09:49:03 +02:00
Daniil Titov
31cf8b1c65 8207364: nsk/jvmti/ResourceExhausted/resexhausted003 fails to start
Reviewed-by: sspitsyn, cjplummer
2018-07-26 16:22:58 -07:00
Jean Christophe Beyler
a98f40467a 8208251: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java fails intermittently on Linux-X64
Lower the interval rate and check GC objects too

Reviewed-by: dcubed, sspitsyn
2018-07-26 11:53:59 -07:00
Alex Menkov
2a213d1685 8199155: Accessibility issues in jdk.jdi
Reviewed-by: dtitov, sspitsyn
2018-07-26 11:31:15 -07:00
Daniel D. Daugherty
b62d703d9a 8208305: ProblemList compiler/jvmci/compilerToVM/GetFlagValueTest.java
Reviewed-by: hseigel, kvn
2018-07-26 13:08:42 -04:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Phil Race
dea6137c6a Added tag jdk-12+4 for changeset 499b873761d8 2018-07-26 09:30:58 -07:00
Yasumasa Suenaga
f45dc7748e 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2018-07-27 00:54:39 +09:00
David Buck
a3e7f01f33 8208183: update HSDIS plugin license to UPL
Reviewed-by: simonis, adinn, jrose
2018-07-26 10:56:58 -04:00
Jonathan Gibbons
f0e9643542 8208227: tools/jdeps/DotFileTest.java fails on Win-X64
Reviewed-by: darcy
2018-07-25 17:26:35 -07:00
Joe Darcy
2517ca3937 8208200: Add missing periods to sentences in RoundEnvironment specs
Reviewed-by: jjg
2018-07-25 17:22:26 -07:00
Daniel D. Daugherty
691c332a70 8208226: ProblemList com/sun/jdi/BasicJDWPConnectionTest.java
Reviewed-by: sspitsyn
2018-07-25 17:22:25 -04:00
Joe Darcy
a29cd6d430 8208201: Update SourceVersion.RELEASE_11 docs to mention var for lambda param
Reviewed-by: jjg
2018-07-25 12:54:58 -07:00
Roman Kennke
ca473200b7 8204970: Remaing object comparisons need to use oopDesc::equals()
Reviewed-by: eosterlund, zgu
2018-07-25 21:47:40 +02:00
Daniel D. Daugherty
86629a36f0 8208205: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-25 15:38:37 -04:00
Jean Christophe Beyler
12bf1a20d0 8207765: HeapMonitorTest.java intermittent failure
Lower the interval rate and check GC objects too

Reviewed-by: dcubed, sspitsyn
2018-07-25 10:51:16 -07:00
Joe Darcy
ac5685e827 8190886: package-info handling in RoundEnvironment.getElementsAnnotatedWith
Reviewed-by: vromero, jlahoda
2018-07-25 12:32:59 -07:00
Daniel D. Daugherty
6602e30cec 8208189: ProblemList compiler/graalunit/JttThreadsTest.java
Reviewed-by: darcy
2018-07-25 12:32:06 -04:00
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
Phil Race
f8f90df4d7 Added tag jdk-12+3 for changeset 990db216e719 2018-07-19 09:46:29 -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
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
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
Thomas Schatzl
9ed9e26d5c 8202781: Fix typo in DiscoveredListIterator::complete_enqeue
Reviewed-by: kbarrett
2018-05-08 16:49:20 +02:00
Adam Petcher
f5a247a85f 8171277: Elliptic Curves for Security in Crypto
Implementations of X25519 and X448 key agreement in SunEC

Reviewed-by: mullan
2018-05-08 09:47:28 -04:00
Adam Petcher
f15ab37909 8181594: Efficient and constant-time modular arithmetic
Field arithmetic library for crypto algorithms like Poly1305 and X25519

Reviewed-by: xuelei
2018-05-08 09:21:51 -04:00
Jim Laskey
8139cce3e5 8200372: String::trim JavaDoc should clarify meaning of space
Reviewed-by: sundar
2018-05-08 09:27:42 -03: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
Claes Redestad
b329be2b75 8202548: Use reservation Object when creating SpeciesData
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, plevart
2018-05-08 10:49:59 +02:00
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
Thomas Schatzl
035d0190a3 8202017: Merge Reference Enqueuing phase with phase 3 of Reference processing
Do reference enqueuing work directly in phase 3 after every Reference.

Reviewed-by: kbarrett, sangheki
2018-05-08 10:01:29 +02:00
Christoph Dreis
59d4a62f42 8202719: Use Collections.emptyEnumeration where possible
Reviewed-by: martin, psandoz
2018-05-08 09:57:45 +02:00
Claes Redestad
13ce1152a4 8202583: Remove experimental ClassForNamePlugin
Reviewed-by: jlaskey, alanb, mchung
2018-05-08 09:52:18 +02:00
Hannes Wallnöfer
4bbca4651c 8200716: Object propertyIsEnumerable buggy behavior on short integer-string key
Reviewed-by: jlaskey, sundar
2018-05-08 09:41:10 +02:00
Rachna Goel
78bd242097 8191410: Unicode 10
Upgrade to Unicode 10

Reviewed-by: naoto, rriggs, igerasim
2018-05-08 11:49:42 +05:30
Amy Lu
2dd9adbf24 8202581: failure_handler: gather more environment information on macOS
Reviewed-by: psandoz
2018-05-08 12:37:39 +08:00
Chris Yin
7166041796 8202690: jdk/jshell/ToolBasicTest.java failed in testOpenFileOverHttp() and testOpenLocalFileUrl()
Reviewed-by: rfield, jlahoda
2018-05-08 09:51:42 +08:00
David Holmes
b62fee0519 8202744: Expired flag removal for JDK 11
Reviewed-by: coleenp, jiangli
2018-05-07 21:48:28 -04:00
David Holmes
8eb4c9db2a 8202686: Missing test case for 8200167 - final Object methods
Reviewed-by: psandoz
2018-05-07 19:31:39 -04:00
Coleen Phillimore
00223c1ca5 8202606: Deprecate AllowNonVirtualCalls option
Reviewed-by: hseigel, dholmes
2018-05-07 18:48:36 -04: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
Thomas Schatzl
b34a8c43f1 8202780: Remove EnqueueTask related code from ReferenceProcessor after JDK-8202017
Remove code obsoleted by JDK-8202017

Reviewed-by: kbarrett, sangheki
2018-05-09 13:37:05 +02:00
Stefan Johansson
816d8f4257 8202662: JFR tests fails: Could not find leak with class
Reviewed-by: pliden, kbarrett
2018-05-09 11:24:12 +02:00
Boris Ulasevich
2ee56fd1cf 8201602: ARM32 - Minimal Dynamic Constant support
Minimal condy support for ARM

Reviewed-by: dsamersoff, bobv
2018-05-09 12:19:35 +03:00
Claes Redestad
7101b28dc3 8202711: Merge tiered compilation policies
Reviewed-by: neliasso, kvn
2018-05-09 09:39:25 +02:00
Christoph Langer
a322e0f0ff 8202650: Enforce group for attach listener file
Reviewed-by: cjplummer, stuefe
2018-05-09 07:48:31 +01:00
Thomas Stuefe
85544dd1e4 8202634: Metaspace: simplify SpaceManager lists
Reviewed-by: zgu, coleenp
2018-05-09 06:51:41 +02:00
Martin Doerr
3b3d16a6de 8202564: java/lang/management/ThreadMXBean/ThreadCounts.java fails
_exiting_daemon_threads_count needs to be decremented at the right place

Reviewed-by: kvn, dcubed
2018-05-08 15:40:03 +02:00
Weijun Wang
8b1470f8e7 8202816: Update JarSigning.keystore
Reviewed-by: xuelei
2018-05-09 09:50:25 +08:00
Kim Barrett
65abdefedf 8202631: JVM_Clone to throw CloneNotSupportException for Reference object
JVM_Clone throws; delete previous partial support for cloning.

Reviewed-by: eosterlund, mchung, dholmes, coleenp
2018-05-08 20:59:58 -04:00
Joe Darcy
f899fb1841 8202563: BigInteger/BigDecimal not immune to overflow, contrary to spec
Reviewed-by: martin, bpb
2018-05-08 17:58:14 -07:00
Vicente Romero
3b13b81625 8202597: javac is not inducing a notional interface if Object appears in an intersection type
Reviewed-by: mcimadamore
2018-05-08 17:12:54 -07:00
Claes Redestad
f1f8215dd7 8202810: Remove class-for-name test
Reviewed-by: jlaskey, mchung
2018-05-08 23:02:13 +02:00
Stefan Karlsson
fc99089e00 8202722: Move marksweep_init into GC code
Reviewed-by: ehelin, kbarrett
2018-05-07 16:16:17 +02:00
Stefan Karlsson
c590979683 8202649: Move the Parallel GC specific task creation functions out of Threads
Reviewed-by: ehelin, pliden
2018-05-07 16:12:07 +02:00
Stefan Karlsson
99072b90d7 8202647: Add deduplicate_string function to CollectedHeap
Reviewed-by: rehn, sjohanss
2018-05-07 14:57:25 +02:00
Stefan Karlsson
90a2a92fe3 8202709: Move oopDesc::is_archive_object to MetaspaceShared::is_archive_object
Reviewed-by: ehelin, jiangli
2018-05-07 14:57:23 +02:00
Jonathan Gibbons
7574941d5f 8199196: Add javadoc support for preview features
Reviewed-by: ksrini
2018-05-08 12:16:52 -07: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
Phil Race
69c55eb2de Merge 2018-05-04 09:46:08 -07:00
Lois Foltan
2464e2b11e 8189916: Dynamic Constant support for Sparc
Change to the template interpreter to support dynamic constant on Sparc.

Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
Phil Race
d8cfaff123 Merge 2018-05-04 08:50:01 -07:00
Eric Caspole
8da6952259 8197447: LogCompilation throws "couldn't find bytecode"
Handle unstable_fused_if

Reviewed-by: kvn, gtriantafill
2018-05-04 10:45:47 -04:00
Christoph Langer
2ac4c89501 8202181: Correctly specify size of hostname buffer in Unix Inet*AddressImpl_getLocalHostName implementations
Reviewed-by: stuefe, bpb, vtewari, chegar
2018-05-04 14:37:58 +01:00
Leo Korinth
97571a7c4e 8176717: GC log file handle leaked to child processes
Reviewed-by: stuefe, rehn
2018-05-03 15:17:27 +02:00
Rachna Goel
5b3eaaf632 8202582: DateTimeFormatterBuilder.parseOffsetBased unnecessarily calls toString()
Call text.subSequence() before calling toString() on input string

Reviewed-by: igerasim
2018-05-04 15:44:24 +05:30
Stefan Karlsson
1cb95bd3d1 8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Claes Redestad
d1cf230fc1 8187123: (reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue
Reviewed-by: psandoz, dholmes, mchung
2018-05-04 09:29:14 +02:00
Andrey Nazarov
3da4f2c482 8197388: Added not existing bug id in jdk/ProblemList.txt
Reviewed-by: serb
2018-05-02 22:11:35 -07:00
Phil Race
72f700abd0 8196572: Tests ColConvCCMTest.java and MTColConvTest.java fail
Reviewed-by: serb
2018-05-02 14:55:19 -07:00
Phil Race
1f62f34da0 8154463: New failure of closed/java/awt/font/Outline/OutlineInvarianceTest.java
Reviewed-by: serb
2018-05-02 13:23:34 -07:00
Phil Race
de8051e063 Merge 2018-05-02 09:16:10 -07: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
Bernard Blaser
7dc011ccca 8202372: Diagnostic with incorrect line info generated when compiling lambda expression
Add tree position to speculative lambda tree

Reviewed-by: vromero, jlahoda
2018-05-02 15:29:55 +01:00
Stefan Johansson
45aa655cd0 8202140: TLAB logging is not correct for G1
Reviewed-by: tschatzl, sangheki
2018-05-02 13:44:49 +02:00
Stefan Johansson
7f7d103c85 8191471: Elastic TLABs for G1
Reviewed-by: tschatzl, pliden
2018-05-02 13:44:46 +02:00
Krishna Addepalli
c9ffd87865 4842658: DefaultListModel and DefaultComboBoxModel should support addAll (Collection c)
Reviewed-by: darcy, serb, prr
2018-05-02 15:11:54 +05:30
Chris Hegarty
8e69e1b11f 8202423: Small 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, prappo
2018-05-02 02:36:17 -07:00
Martin Doerr
d78303222b 8202425: [s390] C2: Wrong unsigned comparison with 0
Remove wrong node compU_reg_imm0. Other node is already available.

Reviewed-by: shade, lucy
2018-05-02 10:47:16 +02:00
Calvin Cheung
e7ef03dce6 8202130: [TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"
Removed the PrintSystemDictionaryAtExit vm option from the tests

Reviewed-by: zgu
2018-05-01 17:28:03 -07:00
Joe Darcy
e8fff78093 8202334: Update javax.lang.model.util visitors for 11
Reviewed-by: jjg
2018-05-01 17:19:18 -07:00
Brian Burkhalter
285bf7bbb4 8202507: Remove IO and NIO AtomicAppend tests from problem list
Reviewed-by: lancea
2018-05-01 14:40:31 -07:00
Naoto Sato
d071f0e344 8202484: Unused field in TimeZone
Reviewed-by: lancea
2018-05-01 12:37:15 -07:00
Aleksey Shipilev
0e7d8874a9 8202379: ARM32 is broken after JDK-8201543 (Modularize C1 GC barriers)
Reviewed-by: aph, eosterlund
2018-05-01 19:13:31 +02:00
Doug Lea
a4c5934169 8202373: Forcing eager initialization of CHM$ReservationNode avoids deoptimization
Reviewed-by: martin, psandoz, dholmes, redestad
2018-05-01 06:18:48 -07:00
Zhengyu Gu
3c202e01d8 8201542: Remove unused _gc_timer field in GCMemoryManager
Minor cleanup to remove unused field

Reviewed-by: shade, minqi
2018-05-01 07:40:41 -04:00
John Rose
d05ed512ac 8200167: Validate more special case invocations
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00
Vladimir Ivanov
1298458a1d 8202399: [C1] LIRGenerator::do_CheckCast needs to exclude is_invokespecial_receiver_check() when using PatchAlot
Reviewed-by: kvn
2018-04-30 20:29:19 -04:00
Jiangli Zhou
3544f8902a 8202452: Delete test files missed from commit for 8193213&8182731
Deleted outdated tests.

Reviewed-by: dholmes
2018-04-30 17:50:05 -04:00
Jiangli Zhou
20edc74068 8193213: Make the UseAppCDS option obsolete
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile

Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.

Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Brian Burkhalter
cdd3f0ac39 8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Erik Österlund
8038a3507d 8202381: (Solaris) SIGBUS in # V [libjvm.so+0xcee494] jni_GetIntField+0x224
Reviewed-by: kbarrett, dcubed
2018-04-30 21:17:37 +02:00
Archana Nogriya
9c2b1f2f76 8202383: Custom extensions for jvmti doc
Reviewed-by: erikj
2018-04-30 09:49:08 -07:00
Calvin Cheung
b0268d4b00 8154204: [TESTBUG] Update DefaultUseWithClient test to handle client-less builds
Removed the DefaultUseWithClient.java test

Reviewed-by: hseigel, jiangli
2018-04-30 09:37:10 -07:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Claes Redestad
0f478d2cfd 8202419: Avoid creating Permission constants early
Reviewed-by: alanb, mullan
2018-04-30 16:27:23 +02:00
Jan Lahoda
f7afa8ff53 8202105: Console echo is disabled when exiting jshell
Preserving original terminal echo state when Console.readPassword finishes.

Reviewed-by: sherman, martin
2018-04-30 15:03:08 +02:00
Per Lidén
b9490e5760 8202366: Add macro for common loop in GCConfig
Reviewed-by: eosterlund, shade
2018-04-30 12:19:55 +02:00
Per Lidén
8c235a30e7 8202364: Add GCConfig::hs_err_name() to avoid GC-specific code in error reporting
Reviewed-by: eosterlund, shade
2018-04-30 12:19:53 +02:00
Claes Redestad
af4695d7e4 8202417: [TESTBUG] Broken hard-coded dependency in serviceability/sa/ClhsdbJhisto.java
Reviewed-by: alanb
2018-04-30 11:48:03 +02:00
Sergey Bylokhov
a6ea22e736 8198342: Test FileSystemViewListenerLeak.java is unstable
Reviewed-by: jdv, kaddepalli, psadhukhan
2018-04-26 17:03:34 -07:00
Ioi Lam
e48f38966b 8197954: Remove unnecessary intermediary APIs from AppCDS implementation
Reviewed-by: jiangli, ccheung
2018-04-26 13:40:58 -07:00
Thomas Stuefe
1ea9f48936 8185034: Cleanup and consolidate Metaspace coding
Reviewed-by: coleenp, zgu
2018-05-07 20:42:36 +02:00
Vivek Theeyarath
31c128ef22 8195717: test java/lang/invoke/MethodHandlesTest timed out running testAsCollector1
Refactor MethodHandlesTest

Reviewed-by: psandoz
2018-05-03 04:18:22 -07:00
Goetz Lindenmaier
72a2ac8b8b 8199852: Print more information about class loaders in LinkageErrors
Reviewed-by: dholmes, lfoltan, gtriantafill
2018-05-07 11:38:21 +02:00
Stefan Karlsson
5f40eda733 8202642: Replace PAR_OOP_ITERATE with templates
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:10 +02:00
Stefan Karlsson
1dd85fe2f4 8202641: Replace OOP_SINCE_SAVE_MARKS with templates
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:08 +02:00
Stefan Karlsson
2e1bd03bad 8202639: Use concrete Generation classes in SerialHeap and CMSHeap
Reviewed-by: eosterlund, ehelin
2018-05-07 14:42:05 +02:00
Stefan Karlsson
5dfccac11f 8202592: Remove unused EvacuateFollowersClosure
Reviewed-by: kbarrett, tschatzl
2018-05-07 14:42:04 +02:00
Stefan Karlsson
7d380f1708 8202591: Remove usage of CMSEdenChunksRecordAlways in defNewGeneration.cpp
Reviewed-by: eosterlund, kbarrett
2018-05-07 14:42:00 +02:00
Erik Österlund
983911c697 8202083: Remove explicit CMS checks in CardTableBarrierSet
Reviewed-by: kbarrett
2018-05-07 10:36:38 +02:00
Martin Doerr
71a38a4720 8202080: Introduce ordering semantics for Atomic::add and other RMW atomics
Reviewed-by: lucy, rehn, dholmes
2018-05-07 12:28:11 +02:00
Hamlin Li
6869c08e6a 8202291: java/rmi/Naming/LookupIPv6.java failed with Connection refused
Reviewed-by: clanger
2018-05-07 18:23:59 +08:00
Jan Lahoda
81bad1fe6b 8202387: javac --release 11 not supported
Adding historical data for JDK 10; adding ability to produce the historical data incrementally.

Reviewed-by: erikj, forax, jjg
2018-05-07 10:37:46 +02:00
Tobias Hartmann
29b1984560 8202565: C1 compilation crashes with "assert(is_double_stack() && !is_virtual()) failed: type check"
Only eagerly resolving the address into a register if the store is precise.

Reviewed-by: roland, eosterlund
2018-05-07 08:56:35 +02:00
Priya Lakshmi Muthuswamy
20324b99d3 8200094: Turkish locale reports NPE No enum constant com.sun.source.doctree.DocTree.Kind.SİNCE
Reviewed-by: ksrini, jjg
2018-05-07 07:44:49 +05:30
Roman Kennke
97ff2fce38 8202676: AArch64: Missing enter/leave around barrier leads to infinite loop
Reviewed-by: aph, eosterlund
2018-05-06 00:42:59 +02:00
Erik Österlund
e6bccc9d86 8202640: Small C1 cleanups for BarrierSetC1
Reviewed-by: kvn, neliasso
2018-05-05 22:19:19 +02:00
Thomas Stuefe
19f0e3f5d7 8202435: [aix] print program break as part of memory info into hs-err file
Reviewed-by: mdoerr, dholmes
2018-05-03 17:10:39 +02:00
Aleksey Shipilev
aef2df31e6 8202684: Minimal VM build is broken after JDK-8199067, JDK-8202638
Reviewed-by: eosterlund, stuefe
2018-05-05 18:55:31 +02:00
Kim Barrett
a313d5961a 8202672: Build failed in metaspace.cpp with VS2017
Add whitespace between string and identifier.

Reviewed-by: dcubed, erikj
2018-05-05 12:38:15 -04:00
Joe Darcy
42c3c3b5f7 8202599: Mark intermittently failing jshell tests
Reviewed-by: rfield
2018-05-05 09:34:01 -07:00
Igor Ignatyev
e48cfc709d 8199382: [TESTBUG] Open source VM testbase JDI tests
Reviewed-by: erikj, kvn, sspitsyn
2018-05-05 09:24:29 -07:00
Michal Vala
1e0c45b250 8199912: jshell tool: /open from URI
Reviewed-by: rfield
2018-05-04 23:19:10 -07:00
Vladimir Ivanov
3ecce1fe48 8202465: [C1] casts should not be eliminated for interface types
Reviewed-by: jrose, thartmann
2018-05-04 16:49:22 -07:00
Gary Adams
dd34d29a46 8202319: Fix compilation warnings in Solaris debug builds for DevStudio 12.6
Disable warnings.

Reviewed-by: dholmes, kbarrett
2018-05-04 17:52:10 -04:00
Sergey Bylokhov
d5987fe58f 8202301: Add tests related to JDK-8196572 to the ProblemList
Reviewed-by: jdv
2018-04-26 13:33:11 -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
Anton Tarasov
489e5ae334 8189687: Swing: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows
Reviewed-by: serb, psadhukhan
2018-04-25 21:54:42 +05:30
Thomas Stuefe
d9b3c3203e 8201572: Improve Metaspace Statistics
Reviewed-by: adinn, zgu
2018-04-24 18:06:32 +02:00
Erik Joelsson
4fc0229dcb 8196113: Remove the Compact Profile builds
Reviewed-by: tbell, alanb
2018-05-03 17:36:25 -07:00
Lana Steuck
0d2e65f96b Added tag jdk-11+12 for changeset 3ab6ba9f94a9 2018-05-03 22:29:20 +00:00
Kim Barrett
9b734fc849 8200557: OopStorage parallel iteration scales poorly
Change representation of sequence of all blocks for better scaling.

Reviewed-by: coleenp, eosterlund
2018-05-03 17:36:50 -04:00
Erik Joelsson
180f72854f 8200083: Bump bootjdk requirement for JDK 11 to JDK 10
Reviewed-by: tbell, ihse
2018-05-03 14:13:20 -07:00
Jonathan Gibbons
cf20cdd06c 8194968: problem list actions for tools/javac/jvm/VerboseOutTest
Reviewed-by: vromero
2018-05-03 12:56:53 -07:00
Joe Wang
986a178214 8201138: Defect in XMLEventReader.getElementText() may cause data to be skipped, duplicated or otherwise result in a ClassCastException
Reviewed-by: lancea
2018-05-03 12:13:43 -07:00
Mandy Chung
bd18ef4c18 8201793: (ref) Reference object should not support cloning
Reviewed-by: psandoz, kbarrett
2018-05-03 11:18:57 -07:00
Vladimir Kozlov
8ebfc59cfa 8202552: [AOT][JVMCI] Incorrect usage of INCLUDE_JVMCI and INCLUDE_AOT
Reviewed-by: stefank, ihse
2018-05-03 09:07:40 -07:00
Thomas Stuefe
6a12519d84 8202424: Metaspace: on chunk retirement, use correct lower limit on chunksize when adding blocks to free blocks list
Reviewed-by: zgu, coleenp
2018-04-30 15:55:21 +02:00
Vicente Romero
2b05e3ad7e 8202584: de-problem list tools/javac/jvm/VerboseOutTest
Reviewed-by: mcimadamore
2018-05-03 06:20:37 -07:00
Coleen Phillimore
204ba9a580 8202447: Fix unloading_occurred to mean unloading_occurred
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur.

Reviewed-by: sspitsyn, rehn
2018-04-27 15:00:04 -04:00
Zhengyu Gu
9353d59547 8199067: [REDO] NMT: Enhance thread stack tracking
Precise thread stack tracking on Linux and Windows

Reviewed-by: stuefe, coleenp
2018-05-03 08:07:20 -04:00
Thomas Schatzl
deb5bf745f 8202021: Improve variable naming in ReferenceProcesso
Reviewed-by: sangheki, sjohanss
2018-05-03 14:10:08 +02:00
Thomas Schatzl
73771f97e9 8202018: Move card table clear before enqueuing pending references
Move card table clearing in preparation of removal of the Reference enqueue phase.

Reviewed-by: sangheki, sjohanss
2018-05-03 14:09:39 +02:00
Thomas Schatzl
91ba4b5676 8201640: Use _ref_processor_* member variables directly in G1CollectedHeap
Reviewed-by: sjohanss
2018-05-03 14:09:21 +02:00
Thomas Schatzl
945701e945 8201492: Properly implement non-contiguous generations for Reference discovery
Collectors like G1 implementing non-contiguous generations previously used an inexact but conservative area for discovery. Concurrent and STW reference processing could discover the same reference multiple times, potentially missing referents during evacuation. So these collectors had to take extra measures while concurrent marking/reference discovery has been running. This change makes discovery exact for G1 (and any collector using non-contiguous generations) so that concurrent discovery and STW discovery discover on strictly disjoint memory areas. This means that the mentioned situation can not occur any more, and extra work is not required any more too.

Reviewed-by: kbarrett, sjohanss
2018-05-03 14:09:00 +02:00
Axel Siebenborn
38854063d3 8195002: Fix test/hotspot/jtreg/gtest/GTestWrapper.java on Alpine/Musl
Reviewed-by: stuefe, clanger, mikael
2018-04-26 12:54:53 +02:00
Amy Lu
3499a42801 8202575: Remove java/lang/String/nativeEncoding/StringPlatformChars.java from ProblemList
Reviewed-by: alanb
2018-05-03 15:04:01 +08:00
Thomas Stuefe
d2c3ef2f85 8202303: LogStream should autoflush on destruction
Reviewed-by: dholmes, rehn, zgu
2018-05-03 07:35:17 +02:00
Robert Field
36b8ebf5c9 8202520: JShell tests: move intermittently failing tests to tier2
Reviewed-by: darcy
2018-05-02 18:36:49 -07:00
Ningsheng Jian
3d2467c62e 8202186: AArch64: Debug build VM crashes with PrintC1Statistics option
Reviewed-by: aph
2018-04-28 17:33:44 +08:00
Igor Ignatyev
47bc94b60e 8199375: [TESTBUG] Open source vm testbase monitoring tests
Reviewed-by: kvn, ihse, sspitsyn
2018-05-02 16:43:56 -07:00
Michal Vala
c555679d4f 8179887: Build failure with glibc >= 2.24: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated
Use readir rather than readdir_r on Linux.

Reviewed-by: kbarrett, stuefe, andrew
2018-05-02 19:24:52 -04:00
Daniel D. Daugherty
9a94336b7d 8191798: redo nested ThreadsListHandle to drop Threads_lock
Refactor Thread hazard ptrs and nested ThreadsLists into SafeThreadsListPtr.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: dcubed, eosterlund, rehn
2018-05-02 16:47:40 -04:00
Martin Buchholz
405f933513 8202398: Optimize Arrays.deepHashCode
Reviewed-by: psandoz
2018-05-02 11:21:27 -07:00
Martin Buchholz
526a2dbe28 8201634: Random seedUniquifier uses incorrect LCG
Correct typo in constant from L'Ecuyer

Reviewed-by: dl, psandoz
2018-05-02 11:20:20 -07:00
Martin Buchholz
bb34027591 8202397: Typo in X-Buffer javadoc
Reviewed-by: psandoz
2018-05-02 11:19:12 -07:00
Jonathan Gibbons
f7ac53e5e9 8201817: Taglet.init should be called with the "primary" doclet
Reviewed-by: ksrini
2018-05-02 11:11:06 -07:00
Aleksey Shipilev
cfa9de4249 8202418: Remove explicit CMS checks in CardTableBarrierSetAssembler: ARM32 leftovers
Reviewed-by: eosterlund
2018-05-02 19:26:44 +02:00
Aleksey Shipilev
078b80e63c 8201786: Modularize interpreter GC barriers: leftovers for ARM32
Reviewed-by: enevill, eosterlund
2018-05-02 19:26:42 +02:00
Vladimir Kozlov
62d87665eb 8202505: ctw2 tasks are timing out in hs-tier3
Put CTW java_desktop_2.java test on problem list for Windows.

Reviewed-by: iignatyev
2018-05-02 10:48:48 -07:00
Calvin Cheung
aedb6040c6 8200466: Revisit the setting of _transitive_interfaces in InstanceKlass
Delay the setting of _transitive_interfaces until after initialize_supers() in fill_instance_klass().

Reviewed-by: iklam, coleenp
2018-05-02 09:26:10 -07:00
Matthias Baesken
3ff52c18c6 8202200: set INCLUDE_SA to false on s390x by default
Reviewed-by: ihse, erikj, jgeorge
2018-04-24 17:56:25 +02:00
Claes Redestad
55725ec33c 8201650: Move iteration order randomization of unmodifiable Set and Map to iterators
Reviewed-by: smarks, jiangli
2018-04-30 09:15:44 +02:00
Rachna Goel
a01b2f3b73 8179071: Month value is inconsistent between CLDR and Java in some locales
Handled Language aliases from CLDR SupplementalMetaData

Reviewed-by: naoto
2018-04-30 11:59:42 +05:30
Jonathan Gibbons
9037ee0ef1 8201622: Reduce unnecessary Package.complete() calls in javadoc
Reviewed-by: jlahoda
2018-04-27 15:55:29 -07:00
Archana Nogriya
25a8a3ad66 8202382: Filter docs modules
Reviewed-by: erikj
2018-04-27 09:57:16 -07:00
Vladimir Kozlov
1b027ddfe9 8202273: [AOT] Graal does not support the CMS collector
Avoid running AOT and JVMCI tests with CMS

Reviewed-by: dcubed
2018-04-27 08:28:06 -07:00
Martin Balao
a79484396d 8201509: Zero: S390 31bit atomic_copy64 inline assembler is wrong
The inline assembler for the S390 (S390 and not _LP64) has src and dst reversed thereby corrupting data

Reviewed-by: shade
2018-04-25 12:21:29 -04:00
Harold Seigel
f236cf3cf4 8202204: Rename hotspot runtime jtreg constantPool ConstantPool directories
Move the tests in the constantPool directory to a new directory named AccModule.

Reviewed-by: dholmes, gtriantafill
2018-04-27 08:45:11 -04:00
Christoph Langer
d24f8fd099 8202367: AIX build broken after JDK-8201543
Reviewed-by: eosterlund, shade, mdoerr
2018-04-27 13:09:54 +01:00
Thomas Schatzl
0f583c7817 6672778: G1 should trim task queues more aggressively during evacuation pauses
Regularly try to drain task queues. This helps memory usage and performance during garbage collection.

Reviewed-by: sjohanss, sangheki
2018-04-27 12:06:46 +02:00
Erik Österlund
893bd31647 8202082: Remove explicit CMS checks in CardTableBarrierSetAssembler
Reviewed-by: shade, kbarrett
2018-04-27 10:59:46 +02:00
Kim Barrett
0432a1081e 8202230: Provide accessors for JNIHandles storage objects
Add JNIHandles::[weak_]global_handles().

Reviewed-by: coleenp, tschatzl
2018-04-27 03:57:00 -04:00
Tobias Hartmann
1787461d8a 8202179: Compilation fails with assert(n->is_expensive()) failed: expensive nodes with non-null control here only
Only treat the SqrtFNode as expensive if the control input is not NULL.

Reviewed-by: kvn, roland
2018-04-27 07:59:29 +02:00
Thomas Stuefe
6cc62b8689 8202325: [aix] disable warnings-as-errors by default
Reviewed-by: goetz, erikj, ihse
2018-04-26 15:41:48 +02:00
Erik Österlund
f4893f5a9a 8201543: Modularize C1 GC barriers
Reviewed-by: pliden, rbackman, rkennke
2018-04-26 20:42:43 +02:00
Roland Westrelin
0ef11c31c7 8201367: assert(current != first_mem) failed: corrupted memory graph in superword code
Don't rely on the RPO order to find the "first" and "last" loads of the pack

Reviewed-by: kvn
2018-04-26 12:48:35 -07:00
Naoto Sato
fafd844bc6 8181157: CLDR Timezone name fallback implementation
Reviewed-by: sherman, scolebourne
2018-04-26 12:39:15 -07:00
Lana Steuck
3105e04e1b Added tag jdk-11+11 for changeset e1e60f75cd39 2018-04-26 18:55:44 +00:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Mikael Vidstedt
4d841c90fb 8202330: Add Unreferenced{FOS,FIS,RAF}ClosesFd to problem list
Reviewed-by: alanb, bpb
2018-04-26 09:10:04 -07:00
Claes Redestad
dce2872700 8202324: Avoid loading FileInput-/OutputStream$AltFinalizer
Reviewed-by: alanb
2018-04-26 17:14:04 +02:00
Harold Seigel
a7b8407fbc 8197960: [TESTBUG] remove/modify runtime tests which use java ee or corba modules
Replace references to java ee and corba modules with module java.sql.

Reviewed-by: lfoltan, ccheung
2018-04-26 09:04:09 -04:00
Erik Österlund
4e252915c5 8200235: Generalize jniFastGetField jobject/jweak resolve
Reviewed-by: kbarrett, dholmes
2018-04-26 11:56:24 +02:00
Alan Bateman
2df7aa7b9f 8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
Joe Darcy
15ef60b350 8200478: For boxing conversion javac uses Long.valueOf which does not guarantee caching according to its javadoc
Reviewed-by: bpb
2018-04-25 22:12:06 -07:00
Calvin Cheung
1515d70930 8197959: [TESTBUG] Some (App)CDS tests require modification due to the removal of the Java EE and CORBA modules
Reviewed-by: iklam, mseledtsov
2018-04-25 14:08:19 -07:00
Hamlin Li
673e292ffe 8157543: java/nio/channels/Selector/SelectAndCancel.java fails intermittently
Reviewed-by: alanb
2018-04-26 10:29:44 +08:00
Ivan Gerasimov
408c972077 8202154: Remove unused code in java.base/windows/native/libnet
Reviewed-by: vtewari, clanger
2018-04-25 18:30:38 -07:00
Yasumasa Suenaga
c3efc6ec43 8199519: Several GC tests fails with: java.lang.NumberFormatException: Unparseable number: "-"
Reviewed-by: sjohanss, jgeorge
2018-04-26 09:45:47 +09:00
Coleen Phillimore
8a427a07d8 8202164: Remove some unneeded BoolObjectClosure* is_alive parameters
Reviewed-by: kbarrett, stefank
2018-04-25 17:50:32 -04:00
Ekaterina Pavlova
465eea6d80 8202276: Update test/hotspot/jtreg/ProblemList-graal.txt
Reviewed-by: kvn
2018-04-25 11:24:33 -07:00
Vladimir Kozlov
5096bee84e 8202152: test/hotspot/jtreg/runtime/whitebox/WBStackSize.java fails
Set compiler threads stack size the same as for java threads

Reviewed-by: dholmes, mdoerr, dlong
2018-04-25 10:12:45 -07:00
Bernard Blaser
fa434f6934 8202141: Unique symbols for .class
Reviewed-by: vromero, jlahoda
2018-04-25 09:45:45 -07:00
Aleksey Shipilev
d571253203 8202210: jlink uses little-endian for big-endian cross-compilation targets
Reviewed-by: ihse, alanb, stuefe
2018-04-25 14:53:35 +02:00
Claes Redestad
eed00fcf0a 8202184: Reduce time blocking the ClassSpecializer cache creating SpeciesData
Reviewed-by: psandoz, plevart
2018-04-25 13:54:11 +02:00
Bhanu Prakash Gopularam
7904b56345 8200101: sun/security/krb5/auto/Renewal.java fails intermittently
Reviewed-by: weijun
2018-04-25 12:44:50 +05:30
Bhanu Prakash Gopularam
e836d6ec10 8196540: [Testbug] java/security/AccessController/DoPrivAccompliceTest.java doesn't handle unrelated warnings
Reviewed-by: mullan
2018-04-25 12:39:05 +05:30
Bhanu Prakash Gopularam
a3ed7dd7d6 8144806: sun/security/tools/keytool/standard.sh fails intermittently at deleting x.jks
Reviewed-by: weijun
2018-04-25 12:29:48 +05:30
Mikael Vidstedt
2dbc9735ac 8202169: Reduce ctw_2 duration by parallelizing CtwRunner invocations
Reviewed-by: kvn, iignatyev
2018-04-24 21:40:10 -07:00
Brian Burkhalter
780696c2a3 8202062: Put FileChannel and FileOutpuStream variants of AtomicAppend on problem list
Reviewed-by: lancea
2018-04-24 20:25:48 -07:00
Kumar Srinivasan
3dfa260af9 8025091: VisibleMemberMap.java possible performance improvements
8198890: The standard doclet incorrectly produces wrong method signatures in certain cases

Reviewed-by: jjg
2018-04-24 11:54:03 -07:00
Sangheon Kim
3b923d063e 8196325: GarbageCollectionNotificationInfo has same information for before and after
Reviewed-by: mchung, sspitsyn
2018-04-24 16:48:29 -07:00
Roland Westrelin
93691571bc 8200303: C2 should leverage profiling for lookupswitch/tableswitch
Reviewed-by: kvn, thartmann
2018-04-24 15:07:20 -07:00
Vicente Romero
c6ece0ba39 8202157: remove the use of string keys at InapplicableMethodException
Reviewed-by: mcimadamore
2018-04-24 12:20:10 -07:00
Anton Litvinov
670916b5d5 8199748: Touch keyboard is not shown, if text component gets focus from other text component
Reviewed-by: serb, aivanov
2018-04-24 15:42:58 +01:00
Dmitry Markov
e077905ff9 8202143: Parts of 8193435 added in merge change set
Reviewed-by: serb, prr
2018-04-24 11:39:04 +01:00
Sergey Bylokhov
8ca8d45fb5 8200146: Remove the appletviewer launcher
Reviewed-by: prr, ihse
2018-04-23 14:06:46 -07:00
Sergey Bylokhov
728923cbbc 8202050: Add javax/sound/midi/Sequencer/Recording.java to the problemList
Reviewed-by: prr, darcy
2018-04-20 18:28:18 -07:00
Phil Race
e0c6bd5c09 8200313: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java fails
Reviewed-by: serb, kaddepalli
2018-04-20 09:44:45 -07:00
Phil Race
568874f545 Merge 2018-04-20 09:05:05 -07:00
Lutz Schmidt
32ed45bb1d 8202079: [s390]: Build failure w/o precompiled headers
Reviewed-by: stuefe, shade
2018-04-20 14:25:51 +02:00
Sergey Bylokhov
605b430bb8 8187392: Deprecated methods in the peers can be removed
Reviewed-by: prr, kaddepalli
2018-04-18 14:07:41 -07:00
Phil Race
58525d3d0d Merge 2018-04-18 08:48:06 -07:00
Jayathirth D V
9e390e1cb6 6574555: PNGImageWriter incorrectly sets bKGD chunk
Reviewed-by: prr, pnarayanan
2018-04-18 13:22:53 +05:30
Jayathirth D V
f1a389d085 6788458: PNGImageReader ignores tRNS chunk while reading non-indexed RGB/Gray images
Reviewed-by: prr, pnarayanan, kaddepalli
2018-04-18 12:33:21 +05:30
Shashidhara Veerabhadraiah
0406664154 8201598: Fix for 8181910: Support dark title bars on macOS broke the MacOS build
Reviewed-by: prr, serb
2018-04-18 10:43:43 +05:30
Sergey Bylokhov
5ef2113ebc 8199932: Missing copyright header in AWT source code
Reviewed-by: prr, mhalder
2018-04-17 18:18:26 -07:00
Sergey Bylokhov
73509bf4a0 8201626: Typo in MakeWindowAlwaysOnTop test
Reviewed-by: jdv
2018-04-17 18:10:13 -07:00
Volker Simonis
c8d19293f2 8201524: [AIX] Don't link libfontmanager against libawt_headless
Reviewed-by: erikj, clanger, prr
2018-04-16 16:43:26 +02:00
Pankaj Bansal
3459dc11fd 8153532: Add @throws NPE javadoc to UIManager.setLookAndFeel(String) method description
Reviewed-by: prr, serb, kaddepalli
2018-04-16 15:22:56 +05:30
Srividya Shamaiah
698152fb51 8201369: Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only
Reviewed-by: clanger, chegar
2018-04-16 12:50:10 +05:30
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
Doug Simon
1b29264229 8201794: [Graal] fix regressions from JDK-8187490
Reviewed-by: alanb, mchung
2018-04-18 15:57:19 +02:00
Kumar Srinivasan
1065333848 8198793: Add launcher support for preview features
Reviewed-by: mchung, sundar
2018-04-16 16:52:08 -07:00
John Paul Adrian Glaubitz
f491141467 8201616: Hotspot crashes on linux-sparc after 8189941
Reviewed-by: kvn, stuefe
2018-04-18 15:12:28 +02:00
Aleksey Shipilev
4c626b6272 8201799: Build failures after JDK-8195099 (Concurrent safe-memory-reclamation mechanism)
Reviewed-by: dholmes, tschatzl, eosterlund
2018-04-18 15:05:37 +02:00
Thomas Schatzl
6db76f1af6 8201172: Parallelize Remset Tracking Update Before Rebuild phase
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
ebbd7cf90b 8201596: java.lang.ref.Reference processing total time logging broken
Fix "Reference Processing" and add "Weak Processing" time

Reviewed-by: kbarrett, sangheki
2018-04-18 11:36:48 +02:00
Thomas Schatzl
c62a6abe91 8201490: Improve concurrent mark keep alive closure performance
Avoid doing marking work unless absolutely required.

Reviewed-by: sjohanss, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9b31b8f365 8201487: Do not rebalance reference processing queues if not doing parallel reference processing
Reviewed-by: sangheki, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
dc7aa2ca03 8200730: Fix debug=gc+phases time tracking in Remark and Cleanup
Timing in Remark and Cleanup pauses did not use instance variables for the scoped timing objects, so these durations were always zero.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
5b42f3ce0d 8200426: Make G1 code use _g1h members
Consistently use _g1h member names for cached G1CollectedHeap* variables.

Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
e11d1b311d 8200723: Suppress rs_length and predicted_cards sampling during mixed gcs
Due to the impact of these measurements on pause time, their high difference to other collections during mixed collections, and their non-use during mixed collections, do not use rs_length and predicted_cards measurements done during mixed gc for the predictor. This avoids the young gen sizing after the mixed phase to be negatively affected by mixed collections.

Reviewed-by: kbarrett, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9db71579ee 8154528: Reclaim regions emptied by marking in Remark pause
Reviewed-by: shade, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
7c09cf644b 8178105: Switch mark bitmaps during Remark
Reviewed-by: sjohanss, sangheki
2018-04-18 11:36:48 +02:00
Alan Bateman
33b921f25d 8201315: (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
Reviewed-by: bpb
2018-04-18 10:20:09 +01:00
Doug Simon
76590dc009 8187490: HotSpotGraalMBean should be moved to Graal management module
Reviewed-by: alanb, mchung, iveresov
2018-04-18 11:11:38 +02:00
Robbin Ehn
a0a4b1981b 8195099: Concurrent safe-memory-reclamation mechanism
This implement a globalcounter with RCU semantics.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson, kbarrett, dholmes
2018-04-18 09:25:51 +02:00
Felix Yang
2997d6f6f0 8194260: Point-to-point interface should be excluded from java/net/ipv6tests/*
Reviewed-by: chegar, vtewari
2018-04-17 23:27:41 -07:00
Lana Steuck
a063344790 Merge 2018-04-18 03:29:24 +00:00
Henry Jen
1f1f480606 Merge 2018-04-17 16:13:30 -07:00
Calvin Cheung
894e8c6479 8197972: Always verify non-system classes during CDS dump time
Use -Verify:remote even if the user specifies -Xverify:none during CDS dump time

Reviewed-by: iklam, mseledtsov, jiangli
2018-04-17 16:19:48 -07:00
Christian Tornqvist
278672706d 8201609: Split test/jdk/:tier2 to enable better parallel execution
Reviewed-by: alanb, darcy
2018-04-17 16:18:22 -04:00
Chris Hegarty
34c03b5907 Merge 2018-04-17 19:25:50 +01:00
Xueming Shen
1775d925de 8194750: Console.readPassword does not save/restore tty settings
Reviewed-by: martin, alanb
2018-04-17 11:20:50 -07:00
Chris Hegarty
049184f334 Merge 2018-04-17 18:18:53 +01:00
Chris Hegarty
a3b61fd4c7 8197564: HTTP Client implementation
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, prappo
2018-04-17 08:54:17 -07:00
Magnus Ihse Bursie
a9234c0ab6 8201591: JVM features with "-" in name is not correctly handled
Reviewed-by: erikj
2018-04-17 15:39:20 +02:00
Vivek Theeyarath
97979a53a1 8184692: add Pattern.asMatchPredicate
Reviewed-by: psandoz, rriggs
2018-04-16 11:21:32 -07:00
Jesper Wilhelmsson
9da125c2a2 Merge 2018-04-17 15:25:13 +02:00
Severin Gehwolf
6fbe561e11 8201495: [Zero] Reduce limits of max heap size for boot JDK on s390
Reviewed-by: ihse, aph, simonis
2018-04-16 12:20:36 +02:00
Goetz Lindenmaier
a1f6823a02 8201584: Fix configure on SLES 11 after 8201483
Reviewed-by: ihse, simonis
2018-04-16 11:08:07 +02:00
Joel Pelaez Jorge
4f1c8f3d08 8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address
Reviewed-by: clanger, chegar
2018-04-16 11:11:52 +02:00
Aleandr Miloslavskiy
d574c9e091 8194734: Handle to jimage file inherited into child processes (win)
Reviewed-by: alanb
2018-04-16 09:36:01 +01:00
Shashidhara Veerabhadraiah
e91400d46b 8181910: [macos] Support dark title bars on macOS
Reviewed-by: serb, denis
2018-04-16 10:35:22 +05:30
Alan Bateman
45fb75c85a 8201474: (so) Socket adaptor connect(InetAddress, timeout) succeeds when connection fails
Reviewed-by: bpb
2018-04-14 08:41:42 +01:00
Alexey Ivanov
aeadf76406 8201433: Fix potential crash in BufImg_SetupICM
Reviewed-by: prr, serb
2018-04-14 00:25:12 +01:00
Maurizio Cimadamore
85fbf32898 8201554: Disable failing tier1 test for JDK-8201498
Reviewed-by: jjg
2018-04-13 11:14:49 -07:00
Valerie Peng
171373b021 8197441: Signature#initSign/initVerify for an invalid private/public key fails with ClassCastException for SunPKCS11 provider
Rethrow ClassCastException with InvalidKeyException

Reviewed-by: ascarpino
2018-04-13 18:07:58 +00:00
Naoto Sato
1d0e7680e8 8201507: Generate alias entries in j.t.f.ZoneName from tzdb at build time
Reviewed-by: erikj, rriggs
2018-04-13 10:23:01 -07:00
Phil Race
8fbdefbb80 Merge 2018-04-13 09:51:58 -07:00
Rajan Halade
fbf1478b8f 8198240: Allow cacerts test to pass when GTECyberTrust root expires
Implemented expiry policy exception list

Reviewed-by: mullan
2018-04-13 09:37:01 -07:00
Phil Race
344e8f9bf4 Merge 2018-04-13 09:04:18 -07:00
Maurizio Cimadamore
19581edca2 8201498: test/langtools/tools/javac/diags/CheckExamples.java 6 errors occurred
Remove duplicate class names in diagnostic examples.

Reviewed-by: jlahoda
2018-04-13 16:23:56 +01:00
Jesper Wilhelmsson
72b7487789 Merge 2018-04-13 14:06:39 +02:00
Weijun Wang
0b6fbf50d2 8200468: Port the native GSS-API bridge to Windows
Reviewed-by: ihse, valeriep
2018-04-13 15:29:33 +08:00
Jesper Wilhelmsson
468c1c19bb Merge 2018-04-13 03:05:19 +02:00
Hamlin Li
0ee5e92ddd 8078221: java/rmi/Naming/DefaultRegistryPort.java fails intermittently
Reviewed-by: rriggs
2018-04-13 09:06:37 +08:00
Phil Race
e5f945b7cd Merge 2018-04-12 16:25:29 -07:00
Claes Redestad
f5a681373f 8152821: Merge jdk.internal.misc.JavaSecurityAccess and jdk.internal.misc.JavaSecurityProtectionDomainAccess shared secrets
Reviewed-by: mullan
2018-04-13 01:04:33 +02:00
Erik Joelsson
9ec65a4f0f 8201508: Macosx builds fail in GenerateLinkOptData.gmk
Reviewed-by: tbell
2018-04-12 15:26:59 -07:00
Roman Kennke
d006828c41 8201442: objArrayOopDesc::atomic_compare_exchange_oop() must use obj+offset in HeapAccess call
Reviewed-by: shade, eosterlund
2018-04-12 23:10:19 +02:00
Brian Burkhalter
7b9950f8cb 8009632: (fs) FileStore.supportsFileAttributeView does not detect user_xattr enabled on ext4
Reviewed-by: alanb
2018-04-12 14:03:46 -07:00
Xueming Shen
0b24f2acda 8201443: NoSuchMethodException JarFile.open when jar file is used in classpath
Reviewed-by: rriggs, redestad
2018-04-12 13:30:58 -07:00
Kim Barrett
1b060b7406 8201450: Provide access to LogHandle tagset
Added LogHandle::tagset function.

Reviewed-by: stefank
2018-04-12 15:50:03 -04:00
Lana Steuck
b1a0746e11 Merge 2018-04-12 19:12:54 +00:00
Alexander Harlap
60f0502b70 8201330: Add java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java to the ProblemList
Add java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java to the ProblemList until JDK-8081652 is resolved

Reviewed-by: tschatzl
2018-04-12 14:56:27 -04:00
Lana Steuck
4768560982 Added tag jdk-11+9 for changeset 0c3e252cea44 2018-04-12 18:21:55 +00:00
Magnus Ihse Bursie
e0473abbd5 8201483: Make it possible to disable JVM features
Reviewed-by: erikj, stuefe
2018-04-12 20:20:27 +02:00
Claes Redestad
9ab38159e8 8201494: Avoid early initialization of java.nio.Bits
Reviewed-by: rriggs, alanb
2018-04-12 17:23:32 +02:00
Alexey Ivanov
79cee59a62 8199627: Use "Per-Monitor V2" High DPI awareness for Windows 10 v1703
Reviewed-by: serb, prr
2018-04-12 14:11:42 +01:00
Alexey Ivanov
d4040a6d58 8201240: Improve releasing native resources of BufImgSurfaceData.ICMColorData
Reviewed-by: prr, serb
2018-04-12 14:03:54 +01:00
Maurizio Cimadamore
d9440e4e39 8199194: Add javac support for preview features
Add support for preview features and related command line options.

Reviewed-by: jjg
2018-04-12 13:55:20 +01:00
Jan Lahoda
594fb594ce 8189765: Improve error reporting for compiling against package not visible due to modules
When looking in other modules for an undefined Symbol, also look into the unnamed module.

Reviewed-by: mcimadamore
2018-04-12 09:23:34 +02:00
Chris Yin
8483faa4a9 8197418: Move java/util/RandomAccess/ tests into OpenJDK
Reviewed-by: psandoz
2018-04-12 10:19:31 +08:00
Bernard Blaser
9c570aaf85 8201440: javac should create unique DynamicMethodSymbols at LambdaToMethod
Reviewed-by: mcimadamore
2018-04-11 14:52:32 -04:00
Paul Sandoz
d3760023e6 8199875: Require first parameter type of a condy bootstrap to be Lookup
Reviewed-by: jrose
2018-04-11 11:11:13 -07:00
Erik Joelsson
62c94b1751 8201439: Enable linux-arm-vfp-hflt profile to be configured with jib again
Reviewed-by: tbell
2018-04-11 18:45:08 +02:00
Naoto Sato
a9e6a67296 8189784: Parsing with Java 9 AKST timezone returns the SystemV variant of the timezone
Reviewed-by: erikj, sherman
2018-04-11 09:14:47 -07:00
Goetz Lindenmaier
f82560174b 8201430: [TESTBUG] Remove script from runtime/6626217
Reviewed-by: dholmes, mdoerr
2018-04-11 14:49:06 +02:00
Daniel D. Daugherty
d974f0b162 8200374: Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do()
Add verification for the threads_do() part of the Thread-SMR protocol.

Reviewed-by: eosterlund, dholmes, rehn
2018-04-12 09:03:46 -04:00
John Paul Adrian Glaubitz
3e27d7412e 8201480: ISA/CPU feature detection code crashes on linux-sparc
Reviewed-by: dholmes, shade, stuefe
2018-04-12 14:27:23 +02:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Thomas Stuefe
23c1371590 8201475: 8199417 breaks AIX and non-pch on s390 (and presumably aarch64)
Reviewed-by: eosterlund, shade, mdoerr
2018-04-12 11:05:42 +02:00
Per Lidén
6825739d3f 8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Per Lidén
4c60e69b97 8201316: Move G1-related static members from JavaThread to G1BarrierSet
Reviewed-by: stefank, shade
2018-04-12 08:25:30 +02:00
Michael McMahon
3b1fdecd45 8196775: java/net/Socket/asyncClose/Race.java failed intermittently on Windows with ConnectException: Connection refused
Reviewed-by: dfuchs
2018-04-11 10:19:37 +01:00
Felix Yang
64e4120a9d 8201348: ProblemList update for bugid associated with SSLSocketParametersTest.sh
Reviewed-by: lancea
2018-04-10 20:04:32 -07:00
Amanda Jiang
5bc3b0759a 8190333: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases"
Reviewed-by: mullan
2018-04-10 18:16:12 -07:00
Hamlin Li
6b2da27d9a 8188897: java/rmi/registry/reexport/Reexport.java failed with Port already in use
Reviewed-by: rriggs, darcy
2018-04-11 09:08:43 +08:00
Jonathan Gibbons
e371d95422 8201396: fix broken links generated by javadoc doclet
Reviewed-by: ksrini
2018-04-10 15:05:10 -07:00
Magnus Ihse Bursie
6d2a538736 8201320: Allow PrintFailureReports to be turned off
Reviewed-by: erikj
2018-04-10 23:32:54 +02:00
Andrey Nazarov
6b803d7d66 8178867: tools/jlink/multireleasejar/JLinkMultiReleaseJarTest.java failed to clean up files
Reviewed-by: alanb, jjg, psandoz
2018-04-10 14:16:13 -07:00
Erik Joelsson
a20bd3a6ce 8201267: Disable warnings for VS2017 to enable building
Reviewed-by: ihse, tbell
2018-04-10 22:37:01 +02:00
Doug Lea
cdd36df363 8197531: Miscellaneous changes imported from jsr166 CVS 2018-04
Reviewed-by: martin, psandoz
2018-04-10 11:37:18 -07:00
Doug Lea
a4f3a1d9eb 8200258: Improve CopyOnWriteArrayList subList code
Reviewed-by: martin, psandoz, smarks
2018-04-10 11:33:29 -07:00
Doug Lea
f1e4c3cf6b 8200520: forkjoin tasks interrupted after shutdown
Reviewed-by: martin, psandoz, chegar, dholmes
2018-04-10 11:29:37 -07:00
Doug Lea
98ede98f5a 8200728: Docs (Comparison of Stack and Deque methods) for Deque is not correct
Reviewed-by: martin, psandoz
2018-04-10 11:25:46 -07:00
Magnus Ihse Bursie
70e23d4ded 8200298: Unify all unix versions of libjsig/jsig.c
Reviewed-by: dholmes, stuefe
2018-04-10 19:46:02 +02:00
Martin Buchholz
e855c767d2 8201357: ALSA_CFLAGS is needed; was dropped in JDK-8071469
Reviewed-by: ihse, asmundak
2018-04-10 10:18:55 -07:00
Martin Buchholz
60362ebdd0 8201328: SynthParser should use Boolean.parseBoolean
Reviewed-by: serb
2018-04-10 10:18:01 -07:00
Martin Buchholz
7c5c5acb6e 8201327: Make Sensor deeply immutably thread safe
Reviewed-by: alanb, chegar, asmundak
2018-04-10 10:17:35 -07:00
Roland Westrelin
15a89eeee4 8201368: IfNode::fold_compares() may lead to incorrect execution
Reviewed-by: neliasso, kvn
2018-04-10 17:07:21 +02:00
Vladimir Kozlov
ffd8e19eaf 8202075: Crash when running compiler/codecache/OverflowCodeCacheTest.java
Add missing null check in WhiteBox::allocate_code_blob()

Reviewed-by: thartmann
2018-04-24 10:26:54 -07:00
Dean Long
839458fd21 8199755: Update Graal
Reviewed-by: kvn
2018-04-24 09:04:57 -07:00
Vicente Romero
f69402ef44 8201281: Truncated error message with Incompatible : null
Reviewed-by: mcimadamore
2018-04-24 08:13:30 -07:00
Andrew Haley
eb393cd015 8200556: AArch64: assertion failure in slowdebug builds
Reviewed-by: adinn
2018-04-23 19:32:41 +01:00
Roland Westrelin
a67480f33d 8200477: Integer dot product no longer autovectorised
Reviewed-by: kvn
2018-04-24 09:35:08 +02:00
Thomas Stuefe
2ee8ddfb0d 8202074: Metaspace: If humongous chunk is added to SpaceManager, previous current chunk may not get retired correctly
Reviewed-by: coleenp, asiebenborn, goetz
2018-04-20 09:44:24 +02:00
Mikael Vidstedt
ac40126090 8202060: Add javax/net/ssl/DTLS/CipherSuite.java to ProblemList
Reviewed-by: xuelei
2018-04-23 18:04:17 -07:00
Lutz Schmidt
48d51992ee 8202070: Cleanup code after JDK-8200450, JDK-8200366
Reviewed-by: kvn
2018-04-23 16:10:32 -07:00
Chris Plummer
caf3f257fe 8202155: quarantine test com/sun/jdi/JdbExprTest.sh on all platforms
Quarantined test

Reviewed-by: dholmes
2018-04-23 15:19:46 -07:00
Henry Jen
470ffb7c93 Merge 2018-04-23 14:23:18 -07:00
Kim Barrett
a99eca12cc 8201826: G1: Don't invoke WeakProcessor if mark stack has overflowed
Move WeakProcessor invocation after overflow check

Reviewed-by: stefank, tschatzl
2018-04-23 16:00:56 -04:00
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Kumar Srinivasan
d1f838a285 8201259: Fix warning with VS2017 in jdk.pack
Reviewed-by: erikj
2018-04-23 11:37:46 -07:00
Hannes Wallnöfer
54d482220b 8198816: AbstractScriptEngine.getScriptContext creation of SimpleScriptContext is inefficient
Reviewed-by: sundar, jlaskey
2018-04-23 18:14:35 +02:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Robert Field
ac44a19694 8199193: jshell tool: Add support for preview features
Reviewed-by: sundar
2018-04-23 09:01:03 -07:00
Hannes Wallnöfer
70146f48d5 8201466: Nashorn: defineProperty setters/getters on prototype object ignored with numeric property names
Reviewed-by: sundar, jlaskey
2018-04-23 17:45:05 +02:00
Ivan Gerasimov
3649ace8a0 8202091: Rename DualStackPlainSocketImpl to PlainSocketImpl [win]
Reviewed-by: clanger, chegar
2018-04-23 08:36:41 -07:00
Ioi Lam
cac6379cc4 8188105: Make -Xshare:auto the default for server VM
Reviewed-by: dholmes, lfoltan, acorn, mseledtsov, jiangli
2018-04-23 07:51:46 -07:00
Thomas Stuefe
2329ce7e2d 8202073: MetaspaceAllocationTest gtest shall lock during space creation
Reviewed-by: coleenp
2018-04-23 16:25:16 +02:00
Stefan Karlsson
04e986f200 8202081: Introduce CollectedHeap::is_oop()
Reviewed-by: eosterlund, rkennke
2018-04-23 11:25:53 +02:00
Claes Redestad
0bf983846e 6805750: Improve handling of Attributes.Name
Reviewed-by: sherman
2018-04-23 13:32:00 +02:00
Aleksey Shipilev
3e6e4c11ed 8202134: Non-PCH build for arm32 fails
Reviewed-by: stefank
2018-04-23 12:16:09 +02:00
Martin Doerr
5e1a7651cd 8198756: Lazy allocation of compiler threads
Reviewed-by: kvn
2018-04-18 11:19:32 +02:00
Vladimir Kozlov
4a2ed13802 8201850: [AOT] vm crash when run test compiler/aot/fingerprint/SelfChangedCDS.java
Set AOT specific compressed oop shift value before CDS archive load

Reviewed-by: iklam, jiangli
2018-04-20 14:30:57 -07:00
Magnus Ihse Bursie
c76ed565da 8201536: configure fails compiler check due to bad -m32 flag
Reviewed-by: erikj
2018-04-20 21:54:36 +02:00
Andrew Haley
07ded2e52d 8201597: AArch64: Update relocs for CompiledDirectStaticCall
Reviewed-by: adinn
2018-04-16 16:21:58 +01:00
Andrew M Leonard
0eff8e94f0 8201246: Export native function to set platform encoding
Reviewed-by: rriggs
2018-04-10 10:49:17 -04:00
Claes Redestad
c40af49970 8201179: Regression due loading java.nio.charset.StandardCharsets during bootstrap
Reviewed-by: sherman, martin
2018-04-10 16:16:34 +02:00
Matthias Baesken
cfcd657702 8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations
Co-authored-by: Alexey Ivanov <alexey.ivanov@oracle.com>
Reviewed-by: ihse, mdoerr
2018-04-10 08:38:56 +02:00
Christoph Langer
a9b0242eef 8201649: Remove dubious call_jio_print in ostream.cpp
Reviewed-by: stuefe, dholmes
2018-04-17 15:54:14 +02:00
Severin Gehwolf
1c744f99a5 8201788: Number of make jobs wrong for bootcycle-images target
Reviewed-by: erikj, ihse
2018-04-19 17:43:26 +02:00
Hamlin Li
17da4aca08 8161991: java/nio/channels/AsynchronousSocketChannel/Basic.java failed due to RuntimeException: WritePendingException expected
8171404: java/nio/channels/AsynchronousSocketChannel/Basic.java failed with "AsynchronousCloseException expected"
8201520: AsynchronousSocketChannel/Basic.java timeout intermitently

Reviewed-by: alanb
2018-04-20 15:16:36 +08:00
Vladimir Kozlov
97c2167e1c 8178825: unused variable threadObj in jvmci_counters_include
Reviewed-by: ccheung
2018-04-19 18:11:18 -07:00
Mikael Vidstedt
f9baaf99ac 8202052: Disable warnings when building libawt with VS2017
Reviewed-by: erikj, prr
2018-04-19 17:13:19 -07:00
Dean Long
054d2a2984 8200196: [Graal] implement Object.notify/notifyAll intrinsics
Reviewed-by: iveresov
2018-04-19 16:28:55 -07:00
Igor Ignatyev
716ac034c4 8202037: Split slow ctw_1 tests
Reviewed-by: kvn
2018-04-19 15:31:06 -07:00
Lana Steuck
66320afc5a Added tag jdk-11+10 for changeset 69d7398038c5 2018-04-19 18:07:24 +00:00
David M Lloyd
883d41fefc 6341887: java.util.zip: Add ByteBuffer methods to Inflater/Deflater
Reviewed-by: alanb
2018-04-19 10:33:35 -07:00
Ivan Gerasimov
9303a8a180 8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
Reviewed-by: chegar
2018-04-19 09:36:06 -07:00
Bhaktavatsal R Maram
e81b41a371 8201540: [AIX] Extend the set of supported charsets in java.base
Reviewed-by: alanb, sherman, simonis
2018-04-16 14:29:27 +05:30
Christoph Langer
67f6ee6cc7 8202000: AIX build broken after JDK-8195099
Reviewed-by: goetz, stuefe, mbaesken
2018-04-19 12:12:05 +02:00
Aleksey Shipilev
2469449efd 8201785: Make ModRefBarrierSetAssembler abstract on all platforms
Reviewed-by: eosterlund, pliden, mdoerr
2018-04-19 12:02:38 +02:00
Per Lidén
f900ae9914 8201800: Add support for adjusting heap addresses in a TLAB
Reviewed-by: shade, stefank
2018-04-19 07:54:50 +02:00
Per Lidén
0afac6dc79 8201647: Make initial clearing of CHeapBitMap optional
Reviewed-by: stefank, kbarrett, tschatzl, smonteith
2018-04-19 07:54:50 +02:00
Per Lidén
a4f21eeb03 8201646: Introduce ReferenceDiscoverer interface
Reviewed-by: stefank, tschatzl, rkennke
2018-04-19 07:54:50 +02:00
Stefan Johansson
ffd8b1f9bd 8196071: Change G1 Full GC heap and thread sizing ergonomics
Reviewed-by: tschatzl, sangheki
2018-04-19 09:15:17 +02:00
Lutz Schmidt
edbbeae978 8200450: Root cause analysis for JDK-8200366
Add safeguard checks to make sure CodeBlob if fully initialized

Reviewed-by: kvn
2018-04-18 21:10:09 -07:00
Coleen Phillimore
ddfd4c33c6 8201556: Disallow reading oops in ClassLoaderData if unloading
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.

Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Vivek Theeyarath
702ac597ad 8184693: add Pattern.isEmpty
Added method Pattern.isEmpty

Reviewed-by: forax, chegar, smarks, psandoz, rriggs
2018-04-18 10:30:57 -07:00
Vicente Romero
03a10ec7b2 8196433: use the new error diagnostic approach at javac.Main
Reviewed-by: jjg
2018-04-18 16:02:53 -04:00
Coleen Phillimore
c215aa5889 8201537: Remove is_alive closure from Klass::is_loader_alive()
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.

Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Joe Darcy
4ffd5d45c1 8201766: Mark TimSortStackSize2.java as intermittently failing
Reviewed-by: dholmes
2018-04-18 10:03:49 -07:00
Thomas Schatzl
2006105114 8201527: Bump default value of G1RefProcDrainInterval
Due to high startup cost of marking, lower the frequency of draining the mark stack generated by reference processing.

Reviewed-by: sangheki, sjohanss
2018-04-18 19:00:32 +02:00
Coleen Phillimore
36d1d59425 8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang

Remove oop pointers from runtime data structures.

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Weijun Wang
370977cf4f 8200152: KerberosString should use UTF-8 by default
Reviewed-by: xuelei
2018-04-10 11:02:09 +08:00
Adam Petcher
023ee573d3 8200332: Improve GCM counting
Reviewed-by: ascarpino
2018-04-09 14:10:56 -04:00
Vivek Theeyarath
824df1c125 8164781: Pattern.asPredicate specification is incomplete
Updated specification to reflect usage of find()

Reviewed-by: psandoz
2018-04-09 10:39:29 -07:00
Magnus Ihse Bursie
10201f5b2f 8201236: Straighten out dtrace build logic
Reviewed-by: erikj
2018-04-09 19:23:01 +02:00
Mikael Vidstedt
6ff35537f6 8201263: Trailing backslash in VS120COMNTOOLS leads to ugly error message when running tests
Reviewed-by: erikj
2018-04-09 10:19:33 -07:00
Bhavesh Patel
40998ce018 8196200: Implement a navigation builder in javadoc
Reviewed-by: jjg, ksrini
2018-04-09 09:45:51 -07:00
Ramanand Patil
347e295d9d 8200359: (tz) Upgrade time-zone data to tzdata2018d
Reviewed-by: naoto
2018-04-09 04:43:03 -07:00
Claes Redestad
48f96d897a 8201178: Remove sun.nio.cs.FastCharsetProvider
Reviewed-by: alanb
2018-04-09 13:35:19 +02:00
Severin Gehwolf
0a0fd44713 8196516: libfontmanager must be built with LDFLAGS allowing unresolved symbols
Fixes build failures on some sustems with custom LDFLAGS settings.

Reviewed-by: erikj, ihse, serb
2018-04-09 13:28:47 +02:00
Phil Race
bd2fef5689 Merge 2018-04-10 13:58:47 -07:00
Phil Race
d215683b97 Merge 2018-04-09 08:34:30 -07:00
Weijun Wang
d9c5e142c0 8180570: Refactor sun/security/mscapi shell tests to plain java tests
Reviewed-by: asmotrak
2018-04-08 17:01:20 +08:00
Weijun Wang
f965fb8986 8200792: PKCS12Attribute#hashCode is always constant -1
Reviewed-by: xuelei
2018-04-08 11:32:46 +08:00
Ivan Gerasimov
9fe989cc39 8200788: Optimal initial capacity of java.lang.VarHandle.AccessMode.methodNameToAccessMode
Reviewed-by: redestad
2018-04-07 17:07:13 -07:00
Jesper Wilhelmsson
9bfdee7c5a Merge 2018-04-06 19:16:33 +02:00
Liam Miller-Cushon
999296bab2 8201251: The tests for JDK-8187247 should be under test/langtools
Reviewed-by: darcy
2018-04-06 08:58:22 -07:00
Roger Riggs
fa2a23256c 8200706: Better cleanup for open/test/jdk/java/lang/ProcessBuilder/DestroyTest.java
Reviewed-by: psandoz, lancea
2018-04-06 12:49:23 -04:00
Vicente Romero
92ec4c52a8 8199744: Incorrect compiler message for ReceiverParameter in inner class constructor
Reviewed-by: mcimadamore
2018-04-06 09:15:09 -04:00
Amit Sapre
2f100464ea 8071367: JMX: Remove SNMP support
Drop jdk.snmp module.

Reviewed-by: alanb, mchung, dfuchs
2018-04-06 17:27:24 +05:30
Sergey Bylokhov
6ea5c7e541 8200149: The "com.sun.awt.AWTUtilities" class can be dropped
Reviewed-by: prr
2018-04-05 19:08:48 -07:00
Jesper Wilhelmsson
82847e4ec0 Merge 2018-04-06 03:53:28 +02:00
Liam Miller-Cushon
5acbe5ff92 8201194: Handle local variable declarations in lambda deduplication
Reviewed-by: vromero
2018-04-05 14:39:04 -07:00
Erik Joelsson
f9e5a41e1a 8201222: JDK-8199539 broke the OpenJDK build
Reviewed-by: darcy
2018-04-06 02:52:24 +02:00
Erik Joelsson
095c5b7a1f 8201221: JDK-8199608 introduced a build race on macosx
Reviewed-by: darcy
2018-04-05 17:11:25 -07:00
Andrey Nazarov
5cd79594c5 8196750: [Testbug] tools/launcher tests need to tolerate unrelated warnings
Reviewed-by: ksrini, dholmes
2018-04-05 17:04:16 -07:00
Erik Joelsson
98cd47840a 8199539: Provide a standard way for the build to filter un-needed legal .md files
Reviewed-by: tbell, ihse
2018-04-05 23:46:05 +02:00
Lana Steuck
e17e623bd4 Merge 2018-04-05 20:31:57 +00:00
Magnus Ihse Bursie
44bab94d66 8200358: Remove mapfiles for JDK executables
Reviewed-by: erikj
2018-04-05 21:33:38 +02:00
Magnus Ihse Bursie
04ad302532 8199608: Clean up LDFLAGS for libfontmanager
Reviewed-by: erikj
2018-04-05 21:29:02 +02:00
Lana Steuck
67f9fbdf8e Added tag jdk-11+8 for changeset 755e1b55a4df 2018-04-05 18:40:01 +00:00
Gary Adams
0ddec5ae89 8199782: Fix compilation warnings detected by Solaris Developer Studio 12.6
Reviewed-by: sspitsyn, dholmes, ihse
2018-04-05 11:18:39 -07:00
Harold Seigel
b89ae10df2 8200261: Regression with JVM anonymous class
Restore resolved anonymous class when creating a new constantpool because of overpass methods

Reviewed-by: coleenp, lfoltan
2018-04-05 13:19:25 -04:00
Martin Buchholz
5c5918d073 8200134: Improve ModuleHashesBuilder
Reviewed-by: mchung, alanb
2018-04-05 09:38:30 -07:00
Martin Buchholz
2137690f0a 8200131: Improve lazy init of InetAddress.canonicalHostName and NativeObject.pageSize
Reviewed-by: alanb
2018-04-05 09:37:19 -07:00
Martin Buchholz
5c8c67c523 8200128: Fix some "annoations" typos
Reviewed-by: alanb
2018-04-05 09:36:01 -07:00
Martin Buchholz
2fd847eb0e 8200127: Replace collection.stream().forEach() with collection.forEach()
Reviewed-by: alanb
2018-04-05 09:34:46 -07:00
Martin Buchholz
184bbf01dd 8200125: Fix some classloader/module typos
Reviewed-by: alanb
2018-04-05 09:33:27 -07:00
Alan Bateman
97d7cfb14e 8200458: (se) Readiness information previously recorded in the ready set not preserved
Reviewed-by: bpb, chegar
2018-04-05 15:04:09 +01:00
Alan Bateman
d185d65b69 8200583: (se) Selector clean-up, part 4
Reviewed-by: bpb, chegar
2018-04-05 15:01:57 +01:00
Magnus Ihse Bursie
9968548d57 8200727: linux-aarch64 profile should use bundled freetype
Reviewed-by: erikj
2018-04-05 09:55:16 +02:00
Jonathan Gibbons
810af1172d 8200888: typo in name of exception in @throws
Reviewed-by: bpb, darcy
2018-04-04 17:50:53 -07:00
Erik Joelsson
1dd10a8fbf 8196724: Change macosx deployment target to 10.9
Reviewed-by: tbell, gziemski
2018-04-04 16:13:30 -07:00
Kim Barrett
094178fdba 8200630: Globally suppress Visual Studio warning C4351
Globally suppress warning, remove sole instance of local suppression.

Reviewed-by: gtriantafill, tschatzl
2018-04-04 18:19:46 -04:00
Jonathan Gibbons
afec7bd7f2 8200664: fix broken links in java.base docs
Reviewed-by: alanb, joehw
2018-04-04 14:42:53 -07:00
Ivan Gerasimov
277ac7e034 8200696: Optimal initial capacity of java.lang.Class.enumConstantDirectory
Reviewed-by: dholmes, redestad
2018-04-04 14:09:31 -07:00
Boris Ulasevich
9924d7748e 8200628: aarch32 - Broken build after JDK-8199809
Reviewed-by: shade, coleenp
2018-04-04 23:05:13 +03:00
Boris Ulasevich
222d07fba4 8200627: aarch32 - Broken build after JDK-8198949
Reviewed-by: shade, eosterlund
2018-04-04 23:02:58 +03:00
Laurent Bourgès
51be01d646 8200526: Test sun/java2d/marlin/ClipShapeTest.java times out
Increased timeout to 300s per test

Reviewed-by: jdv, prr, serb
2018-04-04 21:36:02 +02:00
Sean Mullan
ceea439679 8193032: Remove terminally deprecated SecurityManager APIs
Remove the checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess, and checkMemberAccess methods.

Reviewed-by: alanb, mchung, kcr
2018-04-04 11:26:10 -04:00
Jayathirth D V
435d90c8e0 Merge 2018-04-04 14:32:05 +05:30
Amy Lu
9644c91625 8200703: Problem list jdk/jshell/ExceptionsTest.java fails on windows
Reviewed-by: jlahoda
2018-04-04 16:57:01 +08:00
Vicente Romero
6a2e0a5a01 8198314: javac hidden options violate standard syntax for options
Reviewed-by: jjg
2018-04-03 23:58:52 -04:00
Magnus Ihse Bursie
3a3fbb391f 8200658: Fix incremental builds of hotspot on solaris
Reviewed-by: erikj
2018-04-03 22:37:43 +02:00
Erik Joelsson
f1c335ba00 8200375: Change to GCC 7.3.0 for building Linux at Oracle
Reviewed-by: ihse, tbell
2018-04-03 22:33:58 +02:00
Robert Field
4ecc488704 8198801: JShell: user exception chained cause not retained
Reviewed-by: jlahoda
2018-04-03 13:27:58 -07:00
Magnus Ihse Bursie
c1efa0a4d6 8200267: a.out created at top dir by Solaris build
Reviewed-by: erikj
2018-04-03 21:50:35 +02:00
Igor Ignatyev
367d25a98e 8200538: cl : Command line warning D9014 : invalid value '2220' for '/wd'
Reviewed-by: ihse
2018-04-03 10:01:04 -07:00
Abhijit Saha
66ca1c3089 8200586: Update JDK11 release date to 2018-09-25
Reviewed-by: dholmes
2018-04-03 04:27:34 +00:00
David Lloyd
ecf063f209 8199947: Rename HTML element id in ClassLoader javadoc to avoid name conflict with private elements
Rename "name" anchor to "binary-name"

Reviewed-by: jjg, alanb, mchung, martin
2018-04-02 17:11:11 -07:00
Martin Buchholz
79fffd05ef 8200364: Remove unnecessary boxing via primitive wrapper valueOf(String) methods
Reviewed-by: dfuchs, alanb
2018-04-02 17:09:29 -07:00
Sergey Tsypanov
826b38052c 8199800: Optimize Boolean.parseBoolean(String)
Reviewed-by: alanb
2018-04-02 17:08:00 -07:00
Joe Wang
dd67e0fa16 8199176: Accessibility issues in java.base docs
Reviewed-by: lancea, alanb, jjg, rriggs
2018-04-02 16:39:17 -07:00
Krishna Addepalli
8f5d9a213f 8200343: Minor JViewport documentation typo
Reviewed-by: serb, pkbalakr
2018-04-02 16:56:58 +05:30
Krishna Addepalli
4b5edce4f3 8200525: test java/awt/event/SequencedEvent/SequencedEventTest.java fails to compile
Reviewed-by: prr, serb
2018-04-02 16:52:11 +05:30
Stuart Marks
87e7768a1c 8195649: reorganize tests for java.util.Optional
Reviewed-by: psandoz
2018-03-30 14:36:18 -07:00
Sergey Bylokhov
97d533e06b 8198335: java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java fails in headless mode
Reviewed-by: prr
2018-03-30 13:57:19 -07:00
Lana Steuck
f147b6cc73 Added tag jdk-11+7 for changeset f7363de371c9 2018-03-30 19:03:16 +00:00
Daniel Stewart
0dbf179502 8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
AArch64 VM_Version::features and flags are correspondingly set in CPUFeature and Flags

Reviewed-by: kvn, fyang
2018-03-30 13:39:43 -04:00
Thomas Schatzl
e5ec636e7d 8200305: Update gc,liveness output with remset state after rebuild remset concurrently changes
Reviewed-by: sjohanss, sangheki
2018-04-04 14:51:26 +02:00
Aleksey Shipilev
d2ad998e7d 8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)
Reviewed-by: dholmes, tschatzl
2018-04-04 12:06:31 +02:00
Per Lidén
e3752f15c9 8200607: Add missing include dependency in bitMap.hpp
Reviewed-by: shade, stefank
2018-04-04 11:59:48 +02:00
Per Lidén
15263a27f8 8200429: Adjust object pinning interface on CollectedHeap
Reviewed-by: dholmes, rkennke
2018-04-04 11:59:47 +02:00
Erik Helin
29bb7c8a05 Merge 2018-04-04 11:25:26 +02:00
Thomas Schatzl
94d2a9db4c 8200074: Remove G1ConcurrentMark::_concurrent_marking_in_progress
Reviewed-by: sjohanss, sangheki
2018-04-04 11:21:14 +02:00
Thomas Schatzl
ee1bd0136b 8200255: Remove G1CMTask::_concurrent
Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Thomas Schatzl
5780affe90 8200234: Cleanup Remark and Cleanup pause code
Remove redundant methods, factor out verification code and simplify code in Remark and Cleanup pause code.

Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Erik Helin
b025fab0d2 8200626: Restore history for g1ConcurrentMarkThread.*
Reviewed-by: shade, sjohanss
2018-04-04 10:12:02 +02:00
Roman Kennke
b938ae51ce 8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Aleksey Shipilev
8b50176bdc 8200438: Non-PCH x86_32 build failure: err_msg is not defined
Reviewed-by: stuefe, zgu, stefank
2018-04-03 10:27:46 +02:00
Kim Barrett
9fee73ec95 8195972: Refactor oops in JNI to use the Access API
Use Access API in JNIHandles

Reviewed-by: coleenp, eosterlund
2018-03-30 21:57:50 -04:00
Poonam Bajaj
25fbd2ff16 8199406: Performance drop with Java JDK 1.8.0_162-b32
Improve the nmethod unloading times by optimizing the search for an itable stub in VtableStubs array

Reviewed-by: kvn, coleenp, tschatzl
2018-03-30 18:46:14 +00:00
Phil Race
239ec10926 Merge 2018-03-30 10:24:51 -07:00
Phil Race
5b933fcb08 Merge 2018-03-30 10:21:47 -07:00
Iris Clark
1d54d0df9c 8200469: Update link to license in Docs.gmk
Reviewed-by: tbell
2018-03-30 09:38:52 -07:00
Phil Race
31a8b6199c Merge 2018-03-30 09:24:04 -07:00
Vladimir Kozlov
6bdeaad21a 8200461: MeetIncompatibleInterfaceArrays test fails with -Xcomp
Add requires to run test only in Xmixed mode.

Reviewed-by: simonis
2018-03-30 07:47:20 -07:00
Alan Bateman
34c94079ed 8200257: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-30 08:28:09 +01:00
Ivan Gerasimov
8a1bee438c 8178370: [TEST_BUG] java/security/Signature/SignatureLength.java fails
Reviewed-by: mullan
2018-03-29 22:12:05 -07:00
Thomas Stuefe
3e603a776e 8191101: Show register content in hs-err file on assert
Reviewed-by: adinn, clanger, simonis
2018-03-30 06:31:16 +02:00
Calvin Cheung
213862d866 8200078: [Graal] runtime/appcds/GraalWithLimitedMetaspace.java crashes in visit_all_interfaces
Stop CDS dumping right away when an OOM due to insufficient metaspace is encountered

Reviewed-by: iklam, mseledtsov
2018-03-29 21:48:38 -07:00
Ioi Lam
526bcdab19 8183238: Obsolete CheckEndorsedAndExtDirs and remove checks for lib/endorsed and lib/ext
Reviewed-by: dholmes, mchung, alanb
2018-03-29 20:15:23 -07:00
Martin Buchholz
1cd649af57 8200123: Replace Thread.init with telescoping constructor
Reviewed-by: dholmes, mchung, plevart
2018-03-29 16:23:35 -07:00
Martin Buchholz
200fb2b35b 8200122: Remove unused field Thread.threadQ
Reviewed-by: dholmes, mchung, plevart
2018-03-29 16:21:54 -07:00
Lutz Schmidt
590eded063 8200366: SIGSEGV in CodeHeapState::print_names()
Temporary removed the failing function in diagnostic command until investigation is complete. Added checks to validate code blobs.

Reviewed-by: kvn, thartmann
2018-03-29 14:53:01 -07:00
Daniel Stewart
0dfb24c2c9 8200251: AArch64::CPUFeature out of sync with VM_Version::Feature_Flag
Added enums to CPUFeature to be in sync with VM_Version::Feature_Flag

Reviewed-by: kvn, aph, shade
2018-03-29 16:07:39 -04:00
Phil Race
465a621660 8200200: test java/awt/image/ColorModel/Non_sRGBCMTest.java fails with open profiles
Reviewed-by: serb
2018-03-29 12:49:26 -07:00
Brian Burkhalter
dee3c23d5b 8200449: ReadAllReadNTransferTo fails occasionally
Don't pass a non-positive parameter to Random.nextInt(int).

Reviewed-by: chegar
2018-03-29 12:38:47 -07:00
Vladimir Kozlov
b81442dbbc 8200391: clean up test/hotspot/jtreg/ProblemList.txt (compiler related)
Reviewed-by: mseledtsov
2018-03-29 09:52:53 -07:00
Thomas Schatzl
9189e982b4 8200362: G1Mux2Closure should disable implicit oop verification
To avoid the implicit oop verification provided by OopClosure and oop_iterate_no_header, let G1 verification closures inherit from ExtendedOopClosures and disable this verification.

Reviewed-by: stefank, sjohanss
2018-03-29 17:15:26 +02:00
Claes Redestad
8143322c0f 8200424: Windows build fails due to implicit jboolean to bool conversion
Reviewed-by: shade, hseigel
2018-03-29 15:05:31 +02:00
Volker Simonis
e8c15436ea 8200360: MeetIncompatibleInterfaceArrays fails with "MeetIncompatibleInterfaceArrays0ASM.run() must be compiled at tier 0 !"
Reviewed-by: kvn, thartmann
2018-03-29 14:50:25 +02:00
Pankaj Bansal
70e6bad08d 8074286: Add getSelectedIndices() to ListSelectionModel
Reviewed-by: serb, psadhukhan
2018-03-29 17:52:32 +05:30
Thomas Schatzl
d594ab7636 8151171: Bring g1ConcurrentMark files up to current coding conventions
Improve method naming, bracketing, use of _g1h member and general cleanup.

Reviewed-by: sangheki, sjohanss
2018-03-29 14:08:10 +02:00
Thomas Schatzl
5524494066 8199742: Clean up state flags in G1CollectorState
Remove, merge and update naming of flags in G1CollectorState

Reviewed-by: sangheki, sjohanss
2018-03-29 14:07:59 +02:00
Aleksey Shipilev
b04f1fe8f6 8200423: Non-PCH build for x86_32 fails
Reviewed-by: rkennke, stuefe
2018-03-29 12:56:06 +02:00
Claes Redestad
243b2364f6 8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Prahalad Kumar Narayanan
0c29ff3488 4954348: JPGWriter.getNumThumbnailsSupported does not return -1 when passing null values
Reviewed-by: prr, serb, jdv
2018-03-29 12:03:40 +05:30
Vladimir Kozlov
dea1bcd6e8 8200383: Can't build on SPARC Hotspot with code which use math functions
Remove old hack which supports Solaris 8 and 9

Reviewed-by: erikj, ihse
2018-03-28 17:20:06 -07:00
Phil Race
d4190aea14 Merge 2018-03-28 15:14:46 -07:00
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02:00
Phil Race
a36963736b Merge 2018-03-28 14:54:22 -07:00
Leonid Mesnik
e3d3493329 8200187: Exclude 3 long-running tests from tier1
Reviewed-by: dholmes, cjplummer
2018-03-28 13:25:15 -07:00
Leonid Mesnik
f5dbb7c374 8200091: [TESTBUG] Update jittester for jdk11
Reviewed-by: iignatyev
2018-03-28 13:38:08 -07:00
Thomas Stuefe
397e628d12 8200384: jcmd help output should be sorted
Reviewed-by: sspitsyn, clanger
2018-03-28 22:03:57 +02:00
Boris Ulasevich
c130c8137f 8189101: AARCH32 - 'minimal' build fails because CMS bits are referred unconditionally
Reviewed-by: shade, dholmes
2018-04-11 20:56:56 +03:00
Erik Österlund
2a0986b882 8199417: Modularize interpreter GC barriers
Reviewed-by: coleenp, rkennke
2018-04-11 16:07:42 +02:00
Harold Seigel
1094fd9927 8201265: Native memory leak in ClassLoader::add_to_exploded_build_list
Allocate from temporary thread local memory instead of C heap memory.

Reviewed-by: coleenp, dholmes, lfoltan
2018-04-11 10:05:02 -04:00
Stefan Karlsson
623c83dad9 8201427: Fix Minimal VM builds on Linux x64
Reviewed-by: shade
2018-04-11 13:52:23 +02:00
Boris Ulasevich
ab5c67bb0c 8201370: GC specific data is referred from common precompiled headers and defNewGeneration.cpp
Reviewed-by: stefank, shade, dholmes
2018-04-11 13:51:33 +02:00
Thomas Schatzl
6e6a9ea8aa 8200233: Simple G1 evacuation path performance enhancements
Implement some minor performance optimizations in the evacuation path including changing some stores to be OOP_NOT_NULL, specializing the compressed/uncompressed oops path and delay some load of the current heapregion until absolutely necessary.

Reviewed-by: kbarrett, sjohanss
2018-04-11 11:41:30 +02:00
Thomas Schatzl
381dceed47 8201365: Remove G1Policy::should_process_references()
Reviewed-by: shade
2018-04-11 11:37:19 +02:00
Christoph Langer
024d4eb8f4 8201247: Various cleanups in the attach framework
Reviewed-by: goetz, cjplummer
2018-04-11 09:47:41 +02:00
Stefan Johansson
9fb40e61cb 8200228: Change default value of HeapSizePerGCThread
Reviewed-by: tschatzl, shade, jwilhelm
2018-04-11 08:18:13 +02:00
Alex Menkov
f8f1f3daba 8200195: serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java crashes with "assert(thread->thread_state() == _thread_in_native) failed: coming from wrong thread state"
Reviewed-by: sspitsyn, cjplummer
2018-04-10 15:33:11 -07:00
Calvin Cheung
4ef7c919a2 8194812: Extend class-data sharing to support the module path
8199360: Rework the support for the 'ignored' module options in CDS

Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07:00
Coleen Phillimore
d187884156 8198313: Wrap holder object for ClassLoaderData in a WeakHandle
Use WeakHandle for ClassLoaderData::_holder so that is_alive closure is not needed

Reviewed-by: rehn, kbarrett
2018-04-10 10:06:42 -04:00
Zhengyu Gu
21f636f3cf 8201321: NMT: Unnecessary re-recording thread stack and size when attaching listener to JavaThread
Replaced recoding thread stack and size with assertion

Reviewed-by: dholmes, coleenp
2018-04-10 08:15:40 -04:00
Christian Tornqvist
0b26707d47 8201334: Move runtime/NMT/MallocStressTest.java to hotspot_tier3_runtime
Reviewed-by: lfoltan, mseledtsov, mikael
2018-04-10 08:13:06 -04:00
Stefan Karlsson
8e0a6a9523 8201217: Split specialized_oop_closures.hpp into GC specific files
Reviewed-by: sjohanss, eosterlund
2018-04-10 12:21:58 +02:00
Stefan Karlsson
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Stefan Karlsson
0d2377db46 8201209: Separate out CMS specific functions into CMSCardTable
Reviewed-by: eosterlund, sjohanss
2018-04-10 12:20:00 +02:00
Stefan Karlsson
e7c2b686a1 8201175: Move FilteringClosure::do_oop to genOopClosures
Reviewed-by: tschatzl, sjohanss
2018-04-10 12:18:42 +02:00
Stefan Karlsson
f0f7a1b70d 8201168: Move GC command line constraint functions to GC specific files
Reviewed-by: gziemski, sjohanss
2018-04-10 12:17:16 +02:00
Stefan Karlsson
906806e067 8200759: Move GC entries in vmStructs.cpp to GC specific files
Reviewed-by: sjohanss, shade
2018-04-10 12:15:07 +02:00
Aleksey Shipilev
de2a00c110 8201359: Incorrect header guards after JDK-8198949 (Modularize arraycopy stub routine GC barriers)
Reviewed-by: stefank, dholmes
2018-04-10 12:12:43 +02:00
Gustavo Romero
334e686c46 8201218: PPC64: Avoid use of yield instruction on spinlock
Reviewed-by: mdoerr, goetz
2018-04-05 20:09:33 -04:00
Thomas Schatzl
4fd82a111e 8200385: Eagerly reclaimed humongous objects leave mark in prev bitmap
Also clear marks on prev bitmap on eager reclaim

Reviewed-by: sangheki, sjohanss
2018-04-10 09:12:23 +02:00
Robin Westberg
2dfa53af63 8199736: Define WIN32_LEAN_AND_MEAN before including windows.h
Reviewed-by: erikj, ihse, kbarrett, dholmes
2018-04-09 10:09:38 +02:00
Kim Barrett
a384a668a5 8200550: Xcode 9.3 produce warning -Wexpansion-to-defined
Removed problem macros.

Reviewed-by: tschatzl, dholmes, coleenp
2018-04-09 20:36:04 -04:00
Dmitrij Pochepko
0fdec9c25e 8187472: AARCH64: array_equals intrinsic doesn't use prefetch for large arrays
Reviewed-by: dsamersoff
2018-04-09 18:43:40 +03:00
Dmitrij Pochepko
bf8a34b7a9 8201185: AARCH64: bfm instruction encoding hits assert on zero register
Reviewed-by: dsamersoff
2018-04-09 18:40:20 +03:00
Roman Kennke
389d720746 8199735: Mark word updates need to use Access API
Reviewed-by: shade, eosterlund
2018-04-05 10:54:53 +02:00
Zhengyu Gu
a47dc291ae 8201242: Include source file/line number when reporting native call stack on supported platforms
Added source file/line number to native call stack reporting on supported platforms

Reviewed-by: adinn, stuefe, dcubed
2018-04-09 08:19:26 -04:00
Erik Österlund
d124c7d779 8201167: Remove MacroAssembler::cmp_heap_oop on x86
Reviewed-by: kvn, tschatzl
2018-04-09 13:38:45 +02:00
Leo Korinth
30079a437a 8201171: Cleanup in g1CollectedHeap, change CamelCase to snake_case
Reviewed-by: sjohanss, tschatzl
2018-04-05 14:25:53 +02:00
Kim Barrett
158a927587 8200697: Add utility for spin wait with fallback to yield/sleep
Added SpinYield utility class.

Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: dcubed, coleenp, dholmes
2018-04-09 01:22:37 -04:00
Jesper Wilhelmsson
173ca7d953 Merge 2018-04-06 19:16:33 +02:00
Harold Seigel
ffc0b90a4e 8198908: Add JVM support for preview features
Add new major and minor version checks

Reviewed-by: dholmes, lfoltan
2018-04-06 09:59:48 -04:00
Stefan Karlsson
14a142ba14 8201136: Move GC flags from globals.hpp to GC specific files
Reviewed-by: sjohanss, shade, rehn
2018-04-06 13:55:25 +02:00
Stefan Karlsson
3910bba58f 8201227: Add ALL_GCS_ONLY
Reviewed-by: sjohanss, shade, rehn
2018-04-06 13:54:54 +02:00
Stefan Johansson
b758cec4ad 8200169: Flatten G1Allocator class hierarchy
Reviewed-by: tschatzl, sangheki
2018-04-06 11:41:21 +02:00
Stefan Karlsson
db903e5748 8201213: Remove INCLUDE_ALL_GCS from memset_with_concurrent_readers
Reviewed-by: kbarrett
2018-04-06 11:37:34 +02:00
Stefan Karlsson
48d527c5bd 8201212: Remove INCLUDE_ALL_GCS from OopStorage files
Reviewed-by: kbarrett
2018-04-06 11:37:33 +02:00
Stefan Karlsson
4387825322 8200737: Move GC code out of Arguments::check_vm_args_consistency into GCArguments
Reviewed-by: sjohanss, pliden
2018-04-06 11:37:31 +02:00
Stefan Karlsson
6a8aa0fdad 8200736: Move CMSGCStats to the cms directory
Reviewed-by: sjohanss, tschatzl
2018-04-06 11:37:28 +02:00
Stefan Karlsson
f05f8de48f 8200735: Move CMS specific code from binaryTreeDictionary and freeList to CMS files
Reviewed-by: shade, adinn
2018-04-06 11:37:26 +02:00
Alex Menkov
a1ef16545e 8198393: Instrumentation.retransformClasses() throws NullPointerException when handling a zero-length array
Reviewed-by: sspitsyn, cjplummer
2018-03-28 12:10:24 -07:00
Magnus Ihse Bursie
2c292c30b2 8200357: Inline SoundLibraries.gmk into Lib-java.desktop.gmk
Reviewed-by: stuefe, erikj
2018-03-28 21:00:09 +02:00
Roger Riggs
e50e03e199 8197595: Serialization javadoc should link to security best practices
Reviewed-by: lancea, mullan, ahgross
2018-03-28 14:15:41 -04:00
Daniel D. Daugherty
d2e9c712ad 8199813: SIGSEGV in ThreadsList::includes()
ThreadsListHandles cannot be used by JavaThreads that are not on the Threads list.

Reviewed-by: eosterlund, gthornbr, dholmes, rehn
2018-03-28 12:04:33 -04:00
Thomas Schatzl
7995d17bca 8199326: Remove G1 gc time stamp logic
G1 gc time stamp logic is unused completely after JDK-8180415, so removing it.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
e18975e1eb 8197932: Better split work in rebuild remembered sets phase
Let threads rebuilding remembered sets yield after every G1RebuildRemSetChunkSize (default: 256kB) sized memory area to improve TTSP.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
e50ba1fca5 8197928: Only enqueue deferred cards with references into regions that have a tracked remembered set during GC
Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
83d7c657c4 8197573: Remove concurrent cleanup and secondary free list handling
Remove secondary free list and all associated functionality, moving the cleanup work into the Cleanup pause instead.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Robin Westberg
46c6ae35c4 8199619: Building HotSpot on Windows should define NOMINMAX
Reviewed-by: erikj, kbarrett, ihse
2018-03-28 15:30:43 +02:00
Mikhailo Seledtsov
fc89e7ac24 8200126: [TESTBUG] Open source VM runtime signal tests
Open sourced the signal tests, updated make files and test groups accordingly

Reviewed-by: dholmes, ctornqvi, ihse
2018-04-03 08:56:46 -07:00
Roman Kennke
ddc83cb0e4 8199780: SetMemory0 and CopyMemory0 in unsafe.cpp need to resolve their operands
Reviewed-by: shade, zgu, eosterlund
2018-04-03 17:36:19 +02:00
Claes Redestad
4d780ef52d 8199717: Avoid calculating primordial thread stack bounds on VM startup
Reviewed-by: dholmes, rehn, stuefe
2018-04-03 12:55:26 +02:00
Leo Korinth
05dd65349b 8200371: In g1, rename ConcurrentMarkThread to G1ConcurrentMarkThread
Reviewed-by: tschatzl, sangheki
2018-04-03 12:05:49 +02:00
Maurizio Cimadamore
484ec0738e 8200355: local variable inference regression test generates classfile in test folder
LVTI harness should generate files in jtreg scratch dir

Reviewed-by: vromero
2018-03-28 14:24:17 +01:00
Maurizio Cimadamore
b7e53c1204 8200199: javac suggests to use var even when var is used
Local var analyzer should use synthetic var type position to decide if analysis is needed

Reviewed-by: jlahoda, vromero
2018-03-28 14:08:26 +01:00
Pankaj Bansal
5e302c9a35 8191957: JFileChooser shows empty name for external drives shown under Desktop
Reviewed-by: jdv, kaddepalli
2018-03-28 17:54:44 +05:30
Laurent Bourgès
385ad9e160 8198885: upgrade Marlin (java2d) to 0.9.1
Clipping implemented in Dasher (curve subdivision at clip edges) + higher quality(curve, subpixels) + new path simplifier

Reviewed-by: prr, serb
2018-03-27 22:09:43 +02:00
Stefan Karlsson
3a5ca51fff 8200292: Move PushAndMarkVerifyClosure::do_oop_work to concurrentMarkSweepGeneration.cpp
Reviewed-by: tschatzl, sjohanss
2018-03-26 17:01:32 +02:00
Per Lidén
940bc841a7 8199927: Make WhiteBox more GC agnostic
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Per Lidén
24273f04a4 8199925: Break out GC selection logic from GCArguments to GCConfig
Reviewed-by: eosterlund, rkennke
2018-03-28 11:38:47 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Volker Simonis
fe3badf59a 8198915: [Graal] 3rd testcase of compiler/types/TestMeetIncompatibleInterfaceArrays.java takes more than 10 mins
Reviewed-by: kvn, thartmann
2018-03-28 11:27:35 +02:00
John Paul Adrian Glaubitz
3bb4de100a 8200245: Zero fails to build on linux-ia64 due to ia64-specific cruft
Reviewed-by: dholmes, stuefe
2018-03-28 10:49:07 +02:00
Per Lidén
00ab5a67e7 8200168: Remove DONT_USE_REGISTER_DEFINES on Sparc
Reviewed-by: kvn, eosterlund
2018-03-28 09:21:05 +02:00
Thomas Stuefe
e8362cdc6e 8200297: Build failures after JDK-8198691 (CodeHeap State Analytics)
Reviewed-by: shade, kvn
2018-03-28 09:16:07 +02:00
Tobias Hartmann
642b68b31b 8200290: Scratch buffer creation fails with "assert(!current_thread_in_native()) failed: must not be in native" on SPARC
The code needs to be changed after JDK-8167372 to transition from native.

Reviewed-by: kvn
2018-03-28 09:12:45 +02:00
Thomas Stuefe
b22a2dd78a 8200302: ppc, s390 (non-pch) build errors
Reviewed-by: coleenp, lfoltan
2018-03-27 18:31:25 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Matthias Baesken
21be18ef95 8200246: AIX build fails after adjustments of src/hotspot/share/trace/traceEventClasses.xsl
Reviewed-by: clanger, stuefe
2018-03-27 17:30:55 +02:00
Aleksey Shipilev
a4b1eac43f 8200299: Non-PCH build for aarch64 fails
Reviewed-by: thartmann, stuefe
2018-03-27 14:40:19 +02:00
Tobias Hartmann
c530e2724d 8200230: [Graal] Compilations should not be enqueued before Graal is initialized
Split compiler initialization into two phases to avoid compilations being enqueued before Graal is initialized.

Reviewed-by: kvn, dnsimon
2018-03-27 11:51:39 +02:00
Tobias Hartmann
32668d954e 8200227: [Graal] Test times out with Graal due to low compile threshold
Removed unnecessary VM options from test to avoid timeouts with Graal.

Reviewed-by: kvn
2018-03-27 11:13:11 +02:00
Thomas Schatzl
945342f1ef 8193067: gc/g1/TestVerifyGCType.java still unstable
Fix number of gc threads and heap waste percentage to trigger mixed gcs reproducibly

Reviewed-by: sjohanss, pliden
2018-03-27 11:05:01 +02:00
Aleksey Shipilev
73409f98af 8200232: Build failures after JDK-8200106 (Move NoSafepointVerifier out from gcLocker.hpp)
Reviewed-by: stefank, tschatzl, dholmes, stuefe, coleenp
2018-03-27 10:03:47 +02:00
Shravya Rukmannagari
3054312d78 8200067: Add support for vpclmulqdq for crc32
Reviewed-by: kvn
2018-03-26 18:16:12 -07:00
Ioi Lam
33c908457b 8199793: [Graal] runtime/CommandLine/PrintTouchedMethods.java crashes with assertion "reference count underflow for symbol"
Remove Symbol::set_permanent to avoid possible race conditions

Reviewed-by: coleenp, dholmes, thartmann
2018-03-26 17:40:54 -07:00
Jiangli Zhou
7804f9b1e2 8200202: Remove unused _boot_modules_array and _platform_modules_array from classLoader.*
Remove unused _boot_modules_array and _platform_modules_array.

Reviewed-by: coleenp
2018-03-26 19:00:47 -04:00
Lutz Schmidt
b7cb1a07e4 8198691: CodeHeap State Analytics
Reviewed-by: kvn, thartmann
2018-03-26 12:59:45 -07:00
Gary Adams
9b9d9308ed 8057732: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java: Invalid PerfMemory size
Reviewed-by: cjplummer
2018-03-26 08:17:56 -04:00
Alex Menkov
4fd65fbdaf 8049695: nsk/jdb/options/connect/connect003 fails with "Launched jdb could not attach to debuggee during 300000 milliseconds"
Reviewed-by: dholmes, sspitsyn, cjplummer
2018-03-26 09:27:24 -07:00
Thomas Schatzl
cd9bd4ecc7 8196485: FromCardCache default card index can cause crashes
The default value of -1 for 32 bit card indices is a regular card value at the border of 2TB heap addresses in the from card cache, so G1 may loose remembered set entries. Extend from card cache entries to 64 bits.

Co-authored-by: Jarkko Miettinen <jarkko.miettinen@relex.fi>
Reviewed-by: shade, sjohanss
2018-03-26 16:51:43 +02:00
Thomas Schatzl
c30aef79df 8180415: Rebuild remembered sets during the concurrent cycle
In general maintain remembered sets of old regions only from the start of the concurrent cycle to the mixed gc they are used, at most until the end of the mixed phase.

Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
28fb5548de 8197850: Calculate liveness in regions during marking
Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
2d8f351636 8197570: Make rules for choosing collection set candidates more explicit
Reviewed-by: sangheki, sjohanss
2018-03-26 16:51:43 +02:00
Thomas Schatzl
af7d8f0d69 8197569: Refactor eager reclaim for concurrent remembered set rebuilding
Expose information about eager reclaim region selection.

Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:41 +02:00
Coleen Phillimore
f8ee0063b1 8199007: ClassLoaderDataGraph::unload_list_contains() is wrong
The function isn't needed any longer.

Reviewed-by: stuefe, stefank
2018-03-26 10:19:31 -04:00
Pallavi Sonal
cab25623b6 8144300: http.nonProxyHosts value having wildcard * both at end and start are not honored
Added validation for wildcard at start and end

Reviewed-by: chegar, dfuchs, clanger
2018-03-26 17:33:58 +05:30
Jan Lahoda
d2e4f879b1 8200135: test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetExceptionTableTest.java is failing after JDK-8194978
Adjusting the expected number of exception table entries to the recent changes in javac.

Reviewed-by: kvn
2018-03-28 10:24:26 +02:00
Jonathan Gibbons
6a8ea38ecc 8199465: {@docRoot} references need to be updated to reflect new module/package structure
Reviewed-by: martin, alanb, chegar
2018-03-27 16:25:40 -07:00
Claes Redestad
3fbef735ea 8200289: Reduce number of exceptions created when calling Lookup::canBeCached
Reviewed-by: sundar, psandoz
2018-03-28 00:45:37 +02:00
Ivan Gerasimov
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Alan Bateman
704b2ccd93 8200256: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2018-03-27 19:29:46 +01:00
Liam Miller-Cushon
debaf13f38 8200301: deduplicate lambda methods
Reviewed-by: vromero, mcimadamore
2018-03-27 13:48:16 -04:00
Bhavesh Patel
86c4fd2db5 8199705: Docs.gmk needs to be updated to remove the -html5 option
Reviewed-by: erikj
2018-03-26 21:30:33 -07:00
Bhavesh Patel
9569a57298 8199278: Javadoc search results does not link to anchors on a page
Reviewed-by: jjg, ksrini
2018-03-26 18:07:24 -07:00
Ivan Gerasimov
0af73c4306 8199843: Optimize Integer/Long.highestOneBit()
Reviewed-by: redestad, plevart
2018-03-26 17:30:14 -07:00
Erik Joelsson
902048c325 8198652: Stop linking with -base:0x8000000 on Windows
Reviewed-by: tbell, ihse, stuefe
2018-03-26 16:24:16 -07:00
Sergey Bylokhov
ac1953d7cc 8200198: javah man pages were not removed by JDK-8191054
Reviewed-by: erikj, alanb
2018-03-26 16:09:22 -07:00
Magnus Ihse Bursie
01e9695dbd 8200229: Simplify building of libjsig
Reviewed-by: erikj
2018-03-26 20:44:32 +02:00
Aleksey Shipilev
ab65d126af 8200241: [TESTBUG] java/lang/String/concat/ tests should not force source/target = 9 anymore
Reviewed-by: redestad, psandoz
2018-03-26 20:20:45 +02:00
Athijegannathan Sundararajan
008199321a 8200215: 17th loop of "let foo = ''"; throws ReferenceError
Reviewed-by: jlaskey, attila, hannesw
2018-03-26 19:27:45 +05:30
Aleksey Shipilev
a048853756 8200118: [TESTBUG] String concat tests should test toString() application order
Reviewed-by: psandoz, redestad
2018-03-26 15:09:20 +02:00
Per Lidén
7b568da79b 8199850: Move parsing of VerifyGCType to G1
Reviewed-by: sjohanss, tschatzl
2018-03-26 12:44:39 +02:00
Coleen Phillimore
c892f948e0 8198760: Move global lock SpaceManager::_expand_lock to MutexLocker.cpp
We should avoid having global locks buried in cpp files

Reviewed-by: tschatzl, lfoltan, gtriantafill, stuefe
2018-03-26 09:35:20 -04:00
Jan Lahoda
5bff39c04f 8196519: Incomplete classpath causes infinite recursion in Resolve.isAccessible
ErrorType.getEnclosingType returns noType rather than self.

Reviewed-by: mcimadamore, cushon
2018-03-26 11:42:17 +02:00
Ao Qi
fe57cd2f3d 8200213: Configure broken on MIPS
Reviewed-by: erikj, stuefe, dholmes, ihse
2018-03-26 00:33:01 -04:00
Alan Bateman
187bf57418 8200179: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-24 08:49:55 +00:00
Shinya Yoshida
4b6cd06e3d 8199762: JShell API: Failed to detect override when snippet to be overridden has been changed before
Reviewed-by: rfield
2018-03-24 14:43:04 +09:00
Jonathan Gibbons
c003e3af3b 8199902: {@docRoot} references need to be updated to reflect new module/package structure
Reviewed-by: ksrini
2018-03-23 17:28:02 -07:00
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01:00
Chris Hegarty
71a0d523dd 8200304: TwoStacksPlainDatagramSocketImpl and socket cleaner
Reviewed-by: alanb, dfuchs, rriggs
2018-03-29 20:12:02 +01:00
Erik Joelsson
5c124571d0 8200409: jdk11 nightly solaris sparc build failure
Reviewed-by: alanb, tbell
2018-03-29 08:52:41 -07:00
Felix Yang
2a4a941922 8196668: revisit test SunPackageAccess and GrantedSunPackageAccess
Reviewed-by: mchung
2018-03-28 21:57:03 -07:00
Martin Buchholz
4546512c19 8200310: Avoid charset lookup machinery in java.nio.charset.StandardCharsets
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:06 -07:00
Martin Buchholz
08adfe31b3 8200124: Various cleanups in jar/zip
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:03 -07:00
Martin Buchholz
6f37b4cbce 8200116: ConstructInflaterOutput, ConstructDeflaterInput still spamming test logs
End() should always expect to be called eventually

Reviewed-by: sherman, ulfzibis
2018-03-28 21:13:55 -07:00
Brian Burkhalter
6670f60a21 8180410: ByteArrayOutputStream should not throw IOExceptions
Add ByteArrayOutputStream.writeBytes()

Reviewed-by: rriggs, smarks
2018-03-23 15:05:43 -07:00
Chris Hegarty
22af725681 8200181: Remove superflous non-IPv4 code from Java_java_net_TwoStacksPlainSocketImpl_socketListen
Reviewed-by: alanb
2018-03-23 21:39:54 +00:00
Phil Race
7efc35390e 8198990: Move SwingSet2 from closed to OpenJDK
Reviewed-by: serb, jeff, kaddepalli
2018-03-23 13:43:39 -07:00
Phil Race
77e24ab76e Merge 2018-03-23 11:14:43 -07:00
Brian Burkhalter
68cf42d465 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
Reviewed-by: bchristi, rriggs, psandoz
2018-03-23 10:09:45 -07:00
Phil Race
cb1ef28563 Merge 2018-03-23 10:02:55 -07:00
Shinya Yoshida
ae2d2c8ff5 8199910: Compiler crashes with -g option and variables of intersection type inferred by var
Javac should skip non-denotable types in the LocalVariableTypeTable attribute

Reviewed-by: jlahoda
2018-03-23 16:53:54 +00:00
Igor Ignatyev
c03846529f 8200180: fix a typo in run-test framework documentation
Reviewed-by: erikj, ihse
2018-03-23 08:58:49 -07:00
Roger Riggs
299b4b7b44 8199756: Simplify language, country, script, and variant property initialization
Reviewed-by: mchung, naoto, alanb
2018-03-23 11:53:11 -04:00
Magnus Ihse Bursie
123ad044ab 8200174: compare.sh improvements
Reviewed-by: erikj
2018-03-23 16:50:02 +01:00
Phil Race
3d9f35c4f5 Merge 2018-03-23 08:49:58 -07:00
Alan Bateman
3bb85f5fc5 8199791: (se) More Selector cleanup
Reviewed-by: redestad, bpb
2018-03-23 14:18:18 +00:00
Magnus Ihse Bursie
de23920e05 8071469: Cleanup include and exclude of sound native libraries
Reviewed-by: amenkov, erikj
2018-03-23 09:51:02 +01:00
Christoph Langer
3e5b58e0d7 8199924: Solaris: Correctly enqueue null arguments of attach operations
Reviewed-by: dcubed, dholmes
2018-03-23 09:26:59 +01:00
Jayathirth D V
948a1e2729 7031957: DIB header of type BITMAPV2INFOHEADER & BITMAPV3INFOHEADER is not supported in BMPImageReader
Reviewed-by: prr, pnarayanan
2018-03-23 11:18:39 +05:30
Roland Westrelin
98db6d11f3 8193130: Bad graph when unrolled loop bounds conflicts with range checks
Reviewed-by: kvn, thartmann
2018-03-22 20:21:19 -07:00
Sergey Bylokhov
8d5fa0fad3 4912693: Behavior of null arguments not specified in Java Sound
Reviewed-by: prr
2018-03-22 17:02:40 -07:00
Lana Steuck
f1f63e1f85 Added tag jdk-11+6 for changeset 3acb379b8672 2018-03-22 23:49:48 +00:00
Vladimir Kozlov
6b886727ca 8199212: [TESTBUG] don't run compiler/aot tests with -Xcomp
8199489: [TESTBUG] don't run CTW tests with -Xcomp

Reviewed-by: iignatyev, iveresov
2018-03-22 16:39:02 -07:00
Jan Lahoda
0345e4f081 8200136: Problem list test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetExceptionTableTest.java
Reviewed-by: darcy, kvn
2018-03-22 22:34:38 +01:00
Phil Race
db4cc3fdf8 8199789: Emit a warning message when t2k is selected via system property
Reviewed-by: serb, pnarayanan
2018-03-22 14:10:30 -07:00
Phil Race
1597645191 8200129: Remove D3D Performance Counter
Reviewed-by: alanb, serb
2018-03-22 14:02:20 -07:00
Brian Burkhalter
9e3d8fd230 8194746: (fs) Add equivalents of Paths.get to Path interface
Copy Paths.get() methods to Path.get() methods and have former call latter

Reviewed-by: alanb, forax, chegar, psandoz
2018-03-22 12:30:47 -07:00
Brian Burkhalter
37f1b2b1e3 8198753: (dc) DatagramChannel throws unspecified exceptions
Reviewed-by: alanb
2018-03-22 12:29:52 -07:00
Phil Race
f004bcc467 Merge 2018-03-22 11:34:38 -07:00
Phil Race
d270a407b5 8200072: Remove un-needed qualified export from java.base to java.desktop
Reviewed-by: alanb, mchung
2018-03-22 11:09:50 -07:00
Vladimir Kozlov
2c7c7e1d31 8199896: [Graal] build Graal on all x86 platforms
Reviewed-by: erikj
2018-03-22 10:45:20 -07:00
Paul Sandoz
a2ea38d2c9 8199773: (bf) XXXBuffer:compareTo method is not working as expected
Reviewed-by: alanb
2018-03-22 09:07:08 -07:00
Brian Burkhalter
917c015610 8198997: Cache normalized/resolved user.dir property
Normalize cached user.dir property value in constructor (windows only)

Reviewed-by: alanb
2018-03-22 08:41:06 -07:00
Jan Lahoda
01509e5b5e 8194978: Javac produces dead code for try-with-resource
For try-with-resources, using simplified distinct close code for try body and catch clause, to avoid creating multiple copies of the full finally code.

Reviewed-by: mcimadamore
2018-03-22 15:28:33 +01:00
Roger Riggs
0db5f435ad 8199467: Compilation Errors in libinstrument Reentrancy.c with VS2017
Reviewed-by: sspitsyn, martin
2018-03-22 09:41:29 -04:00
Jan Lahoda
7b9d38622b 8198552: Multiple javac plugins do not work at the same time
Fixing handling of multiple -Xplugin, -Xdoclint: and -Xdoclint/packages: parameters.

Reviewed-by: jjg, vromero
2018-03-22 12:13:08 +01:00
Nishit Jain
8314e06ebc 8196399: Formatting a decimal using locale-specific grouping separators causes ArithmeticException (division by zero)
8199672: ClassCastException is thrown by java.util.Formatter when an NumberFormatProvider SPI is used

Reviewed-by: naoto
2018-03-22 12:59:58 +05:30
Prahalad Kumar Narayanan
23ba49ac43 6686236: GIF native IIOMetadata assumes characterCellWidth/Height as 2bytes
Reviewed-by: prr, jdv
2018-03-22 11:41:15 +05:30
Weijun Wang
05b129ec25 8186228: sun/security/krb5/auto/KdcPolicy.java fails with "java.lang.Exception: Does not match. Output is c30000c30000c30000"
Reviewed-by: mullan
2018-03-22 08:09:51 +08:00
Hannes Wallnöfer
589e1177ef 8199869: Missing copyright headers in nashorn source code
Reviewed-by: sundar
2018-03-21 16:55:34 +01: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
Erik Österlund
b7aa9d3975 8198949: Modularize arraycopy stub routine GC barriers
Reviewed-by: rkennke, pliden
2018-03-21 14:38:32 +01:00
Tobias Hartmann
55233a42f3 8199777: Deprecate -XX:+AggressiveOpts
Deprecate -XX:+AggressiveOpts and remove it from testing.

Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Roland Westrelin
fd4f430f62 8199784: PhaseIdealLoop::place_near_use() might return wrong control with loop strip mining
Reviewed-by: kvn
2018-03-21 20:15:00 -07:00
Magnus Ihse Bursie
3522b53f7b 8199682: Clean up building the saproc library
Reviewed-by: erikj, dholmes, sundar
2018-03-21 12:54:36 +01:00
Claes Redestad
c71bc3581a 8199862: Examine ProxyBuilder::referencedTypes startup cost
Reviewed-by: mchung
2018-03-21 10:13:49 +01:00
Claes Redestad
74827c6a87 8199865: Avoid initializing ShortCache in ProxyGenerator
Reviewed-by: mchung
2018-03-21 10:13:14 +01:00
Chris Hegarty
2c73c97dd0 8199437: Improve diagnostic system assertion message in com.sun.net.httpserver impl
Reviewed-by: alanb, dfuchs
2018-03-21 09:06:45 +00:00
Manajit Halder
989515036d 7158623: Should an unfocusable maximized Frame be resizable
Reviewed-by: prr, sveerabhadra
2018-03-21 12:08:16 +05:30
Erik Joelsson
dca38708e5 8199884: JDK-8199749 broke build with make 3.81
Reviewed-by: tbell
2018-03-20 17:42:20 -07:00
Joe Wang
ce2fbabb94 8199792: Wrong license header in XMLLimitAnalyzer.java
Reviewed-by: lancea
2018-03-20 11:29:16 -07:00
Phil Race
7a4c2158c8 8199870: colorimaging.md needs to remove mention of KCMS
Reviewed-by: serb
2018-03-20 10:31:05 -07:00
Stuart Monteith
502b9b1da4 8193266: AArch64: TestOptionsWithRanges.java SIGSEGV
Fix hotspot jtreg test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failure on AArch64.

Reviewed-by: aph, coleenp, dsamersoff
2018-03-20 22:54:02 +08:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Coleen Phillimore
b15a3ff611 8197844: JVMTI GetLoadedClasses should use the Access API
Make sure the holder of a class loader is accessed during iteration of CLDG

Reviewed-by: eosterlund, rkennke
2018-03-21 17:09:34 -04:00
Ekaterina Pavlova
c944c3aba7 8200071: Fix test/hotspot/jtreg/ProblemList-graal.txt
Reviewed-by: iignatyev
2018-03-21 13:30:03 -07:00
Mikhailo Seledtsov
aa2b650b70 8199880: runtime/appcds/condy/CondyHelloTest.java missing at requires vm.cds
Added at requires vm.cds

Reviewed-by: dcubed, jiangli
2018-03-21 13:18:06 -07:00
Chris Plummer
fcd067c48d 8195109: ServiceUtil::visible_oop is not needed anymore
Strip out ServiceUtil and all users of it

Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Roland Westrelin
35460b0e85 8196294: LoopStripMiningIterShortLoop is set to zero by default
Reviewed-by: shade, thartmann, kvn
2018-03-21 10:05:36 +01:00
George Triantafillou
957f5e1c7d 8194054: [TESTBUG] Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with -1073740940 (FFFFFFFFC0000374)
Reviewed-by: stsmirno, coleenp
2018-03-21 11:27:29 -04:00
Roman Kennke
d4d5ea316b 8199739: Use HeapAccess when loading oops from static fields in javaClasses.cpp
Reviewed-by: kbarrett, eosterlund
2018-03-21 16:00:41 +01:00
Erik Helin
383a921aac 8199027: Make protected members private in G1Policy
Reviewed-by: sjohanss, tschatzl
2018-03-21 12:47:46 +01:00
Leo Korinth
8c8a9e6121 8196337: Add commit methods that take all event properties as argument
Reviewed-by: ehelin, mgronlun
2018-03-21 10:35:13 +01:00
Roland Westrelin
c450333748 8197931: Null pointer dereference in Unique_Node_List::push of node.hpp:1510
Reviewed-by: dlong, thartmann
2018-03-20 15:38:00 +01:00
Leo Korinth
9ccbbb67b3 8196865: G1 log for active workers is wrong
Reviewed-by: tschatzl, sjohanss
2018-03-23 16:25:47 +01:00
John Paul Adrian Glaubitz
8cdbeb4cfb 8200203: Missing platform definitions for ia64
Reviewed-by: ihse, stuefe
2018-03-26 10:03:31 +02:00
Ed Nevill
1ab18f7d36 8200197: Zero fails to build after 8200105
Reviewed-by: coleenp
2018-03-23 23:57:48 +00:00
Chris Plummer
e1afb3bc99 8198655: test/lib/jdk/test/lib/apps/LingeredApp shouldn't inherit cout/cerr
No longer force stderr to console. Copy app's output to Sytem.err.

Reviewed-by: sspitsyn, dholmes, iignatyev, clanger
2018-03-24 13:39:07 -07:00
Jesper Wilhelmsson
7ffa43700f Merge 2018-03-24 01:08:35 +01:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Matthias Baesken
f02372f4fc 8199858: solaris-x86_64 : unpack200 fails linking with SS12u4
Reviewed-by: erikj, simonis
2018-03-20 12:14:41 +01:00
Paul Sandoz
cfb102ab89 8193033: remove terminally deprecated sun.misc.Unsafe.defineClass
Reviewed-by: chegar, mchung, alanb
2018-03-20 09:21:43 -07:00
Erik Österlund
81919e5cc5 8199696: Remove Runtime1::arraycopy
Reviewed-by: kvn, mdoerr
2018-03-20 11:41:17 +01:00
Tobias Hartmann
eda7916ce8 8199624: [Graal] Blocking jvmci compilations time out
Handle blocking jvmci compilations that time out.

Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01:00
Per Lidén
68345b93ad 8199886: gc/cslocker/TestCSLocker.java crashes
Reviewed-by: rkennke, kbarrett
2018-03-20 22:22:02 +01:00
Dean Long
91649ef44b 8146201: [AOT] Class static initializers that are not pure should not be executed during static compilation
Reviewed-by: kvn
2018-03-20 10:23:14 -07:00
Roman Kennke
0df6b5baee 8199620: Support for JNI object pinning
Reviewed-by: pliden, tschatzl, eosterlund
2018-03-20 15:59:36 +01: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
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Lana Steuck
3bd3094c88 Merge 2018-03-19 21:52:50 +00:00
David Holmes
feea6b06c3 8199768: jdk/test/lib/compiler/CompilerUtils.java needs to provide more control over compilation
Reviewed-by: psandoz, alanb
2018-03-19 17:46:49 -04:00
Lana Steuck
3caefcab66 Added tag jdk-11+5 for changeset d5c43e9f08fb 2018-03-19 21:34:20 +00:00
Sergey Bylokhov
78121145bd 8198895: Compilation errors in java.desktop with VS 2017
Reviewed-by: prr
2018-03-19 14:16:23 -07:00
Phil Race
89776a373c 8198897: Compilation errors in jdk.accessibility with VS 2017
Reviewed-by: serb, kaddepalli
2018-03-19 13:46:42 -07:00
Phil Race
5016a4dd96 8198649: Switch AWT/Swing's default GTK version to 3
Reviewed-by: psadhukhan, kaddepalli
2018-03-19 11:29:50 -07:00
Phil Race
1d92a4dd47 Merge 2018-03-19 10:46:31 -07:00
Erik Joelsson
b45137814b 8199749: Debug symbols are not copied to exploded image on Mac
Reviewed-by: ihse
2018-03-19 10:11:07 -07:00
Patrick Reinhart
4c7f1ac52c 8196298: Add null Reader and Writer
Reviewed-by: bpb, forax, smarks, alanb, rriggs
2018-03-19 09:58:41 -04:00
Krishna Addepalli
00465d6e60 8152974: AWT hang occurrs when sequenced events arrive out of sequence
Reviewed-by: serb, prr, ssadetsky
2018-03-19 12:29:23 +05:30
Erik Joelsson
ec605aa039 8199745: JDK-8199668 introduced a build race on macosx
Reviewed-by: tbell
2018-03-16 21:40:09 +01:00
Roger Riggs
ef24e174a4 8193584: (testbug) TestSocketFactory fails intermittently with ConcurrentModificationException
Reviewed-by: bpb, lancea
2018-03-16 16:17:17 -04:00
Volker Simonis
d52d7a880e 8199698: Change 8199275 breaks template instantiation for xlC (and potentially other compliers)
Reviewed-by: stefank, coleenp
2018-03-16 19:13:13 +01:00
Harsha Wardhana B
7cbffcf023 8196028: JMX: Not enough JDP packets received before timeout
Reviewed-by: dholmes, egahlin
2018-03-20 13:40:03 +05:30
Jini George
9d036d6dd2 8175312: SA: clhsdb: Provide an improved heap summary for 'universe' for G1GC
Provide an improved heap summary for G1GC with parameters like 'capacity', 'used', 'free', etc with the 'universe' command, and introduce a new command 'g1regiondetails' to display the individual region details.

Reviewed-by: sjohanss, minqi
2018-03-20 11:24:32 +05:30
Gerard Ziemski
3cbe6dfd8f 8140359: get_locked_message_ext() should return Flag::MsgType
Changed get_locked_message_ext() to return Flag::MsgType

Reviewed-by: coleenp, rehn
2018-03-19 14:20:28 -05:00
Gerard Ziemski
d0391f46a9 8199356: Fix hotspot to allow stdlib to use libc++ and to allow changing the deployment target to 10.9
Remove conflicting poison min/max define

Reviewed-by: kbarrett, lfoltan
2018-03-19 13:57:08 -05:00
Lutz Schmidt
f5d589fe63 8198608: Improvements to command-line flags printing
Re-implemented Flag::print_on()

Reviewed-by: dholmes, mikael, gziemski
2018-03-19 13:37:57 -05:00
Zhengyu Gu
d574a06345 8199741: NMT: Tag safepoint polling pages
Added NMT tag for Safepoint polling pages

Reviewed-by: coleenp, shade
2018-03-19 13:38:35 -04:00
Alexandre Iline
771a76dd9e Merge 2018-03-16 03:17:12 -07:00
Hannes Wallnöfer
2ca067436f 8199443: Nashorn multithread bottleneck with "use strict"
Reviewed-by: jlaskey, sundar
2018-03-16 14:56:54 +01:00
Chris Hegarty
19ea0009a6 8199464: Remove remaining vestiges of Java_sun_reflect_Reflection_getCallerClass
Reviewed-by: alanb, clanger, mchung
2018-03-16 13:02:42 +00:00
Alexandre Iline
88af1f11ee 8199616: Fix @module declarations in tier1 tests
Reviewed-by: mchung, alanb
2018-03-16 03:15:35 -07:00
Hamlin Li
d76f461144 8199215: Re-examine getFreePort method in test infrastructure library
Reviewed-by: alanb
2018-03-16 18:15:31 +08:00
Abdul Kolarkunnu
e6587461a4 8197554: Create test for SwingSet TableDemo
Reviewed-by: serb
2018-03-16 14:12:12 +05:30
Xueming Shen
087ea6befb 8199547: Exception to Pattern Syntax
Reviewed-by: rriggs
2018-03-15 16:04:30 -07:00
Joe Wang
e5a5c2a832 8183554: Add constructors with Charset parameter for FileReader and FileWriter
Reviewed-by: alanb, rriggs, smarks
2018-03-15 14:54:10 -07:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Erik Österlund
4c21e9bc68 8200113: Make Access load proxys smarter
Reviewed-by: stefank, pliden
2018-03-23 12:55:39 +01:00
Stefan Karlsson
124c5f4f52 8200111: MallocArrayAllocator::free should not take a length parameter
Reviewed-by: gtriantafill, coleenp, tschatzl
2018-03-22 12:34:31 +01:00
Phil Race
a359ed6dcf Merge 2018-03-15 11:36:11 -07:00
Magnus Ihse Bursie
47a8c7c889 8199681: Remove boilerplate code from creating native jtreg tests
Reviewed-by: erikj
2018-03-15 19:33:04 +01:00
Magnus Ihse Bursie
0940f438aa 8199668: make/lib cleanup
Reviewed-by: erikj
2018-03-15 19:30:58 +01:00
Brian Burkhalter
f5578ab220 8189230: JDK method:java.lang.Integer.numberOfLeadingZeros(int) can be optimized
Directly return zero for a negative parameter instead of calculating

Reviewed-by: psandoz
2018-03-15 08:11:01 -07:00
Pankaj Bansal
dc46f48f5f 7108280: JList.getSelectedValuesList fails if JList.setSelectionInterval larger than list
Reviewed-by: serb, kaddepalli
2018-03-15 19:33:51 +05:30
David Lloyd
acb3103b8f 8188240: Reflection Proxy should skip static methods
Reviewed-by: mchung, sundar, shade, plevart
2018-03-15 12:07:59 +01:00
Alan Bateman
fc927f60c3 8199329: Remove code that attempts to read bytes after connection reset reported
Reviewed-by: redestad, clanger, chegar
2018-03-15 11:02:22 +00:00
Alan Bateman
3a7f72200c 8199611: (se) Minor selector implementation clean-up
Reviewed-by: clanger, redestad, bpb
2018-03-15 10:47:58 +00:00
Claes Redestad
8994d5ad0e 8199647: java/util/Locale/SoftKeys.java fails with OutOfMemoryError again
Reviewed-by: psandoz
2018-03-15 10:41:57 +01:00
Magnus Ihse Bursie
7bdcc7ea89 8199640: Split up BUILD_LIBKRB5 into the two, unrelated compilations it consists of
Reviewed-by: erikj
2018-03-15 02:08:29 +01:00
Magnus Ihse Bursie
9f1e654058 8199636: Unify naming for jaas_unix and jaas_nt
Reviewed-by: erikj
2018-03-15 01:32:03 +01:00
Magnus Ihse Bursie
f74d0aef61 8199639: Introduce SetupJdkLibrary and SetupJdkExecutable
Reviewed-by: erikj
2018-03-15 01:20:47 +01:00
Erik Joelsson
8280624a5f 8199423: Create builds-infra Mach5 job
Reviewed-by: tbell, ihse
2018-03-14 21:35:41 +01:00
Paul Sandoz
0628437ecc 8198889: Clarify the throwing of exceptions from ConstantBootstraps.invoke
Reviewed-by: mchung
2018-03-14 12:39:57 -07:00
Magnus Ihse Bursie
64bf300bf6 8199606: Set -lc as global LIBS on solstudio
Reviewed-by: erikj
2018-03-14 19:12:30 +01:00
Claes Redestad
b66ffad152 8199471: Enable generation of callSiteForms at link time
Reviewed-by: psandoz, mchung
2018-03-14 17:14:02 +01:00
Magnus Ihse Bursie
562b3c4393 8199483: Clean up some non-standard LDFLAGS usage
Reviewed-by: erikj
2018-03-14 11:23:16 +01:00
Krishna Addepalli
6875323232 8195095: Images are not scaled correctly in JEditorPane
Reviewed-by: ssadetsky, psadhukhan, mhalder
2018-03-14 15:41:29 +05:30
Ningsheng Jian
13869315f9 8191954: AArch64: disable UseCISCSpill in C2
Reviewed-by: adinn, aph
2018-03-14 17:55:15 +08:00
Ningsheng Jian
34668dfd2a 8173100: AArch64: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation
Fix hotspot jtreg test compiler/interpreter/DisableOSRTest.java failure on AArch64.

Reviewed-by: aph, fyang
2018-03-15 14:05:48 +08:00
Zhengyu Gu
d6bd698077 8199752: NMT: Memory allocated by Unsafe.allocateMemory should be tagged as mtOther
Tag memory allocation from Usafe.allocateMemory as external memory allocation

Reviewed-by: coleenp, stuefe
2018-03-19 08:31:57 -04:00
Erik Österlund
0f92948d6f 8199604: Rename CardTableModRefBS to CardTableBarrierSet
Reviewed-by: stefank, pliden
2018-03-19 07:38:18 +01:00
Erik Österlund
b87298505b 8199685: Access arraycopy build failure with GCC 7.3.1
Reviewed-by: rkennke, pliden
2018-03-16 14:47:53 +01:00
Thomas Stuefe
c8c38f6aae 8199667: Unify metaspace list index handling and reinstantiate ChunkManager listindex gtest
Reviewed-by: zgu, coleenp
2018-03-19 11:38:45 +01:00
Stefan Karlsson
0933677217 8199728: Remove oopDesc::is_scavengable
Reviewed-by: kbarrett, pliden
2018-03-15 21:26:55 +01:00
Igor Veresov
089f83703a 8198969: Update Graal
Reviewed-by: kvn
2018-03-16 22:59:32 -07:00
Ed Nevill
2cfacefbb5 8199243: aarch32: ARM 32 build broken after 8165929
Reviewed-by: coleenp, dholmes
2018-03-16 11:26:05 +00:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Coleen Phillimore
ec14629449 8199716: Unused AdjustKlassClosure in psParallelCompact.hpp
Reviewed-by: stefank
2018-03-16 08:26:53 -04:00
Stefan Johansson
337673528e 8199674: Improve G1 Full GC array marking
Reviewed-by: tschatzl, shade
2018-03-15 11:58:58 +01:00
Ioi Lam
f48c339805 8198796: Create test case for CDS + condy
Reviewed-by: mseledtsov, lfoltan, jiangli
2018-03-13 15:13:20 -07:00
Gustavo Romero
a7581855aa 8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3
Reviewed-by: dholmes, phh
2018-03-15 20:52:29 -04:00
Daniil Titov
7c233f5070 8166642: serviceability/dcmd/framework/* timeout
Reviewed-by: cjplummer, dholmes
2018-03-14 11:09:26 -07:00
Brian Burkhalter
516fa74ca5 8182684: Further clarify InputStream#available()
Reviewed-by: alanb, rriggs
2018-03-13 12:24:39 -07:00
Brian Burkhalter
ae966db198 8199258: BigInteger.bitLength() should explicitly specify behavior when the value is zero
Reviewed-by: lancea, rriggs
2018-03-13 11:49:17 -07:00
Phil Race
f52ea8839e Merge 2018-03-13 09:57:44 -07:00
Roger Riggs
d4941f14af 8199470: Remove unused property file.encoding.pkg
Reviewed-by: bpb, sherman
2018-03-13 12:46:01 -04:00
Anton Litvinov
8c60a48bc2 8198606: Touch keyboard does not hide, when a text component looses focus
Reviewed-by: serb, dmarkov
2018-03-13 12:00:55 +00:00
Xueming Shen
ffac9ae61c 8196748: tools/jar tests need to tolerate unrelated warnings
Reviewed-by: dholmes
2018-03-13 00:22:14 -07:00
Naoto Sato
6744ceac88 8198989: Provide more diagnostic IAE messages
Reviewed-by: lancea
2018-03-12 20:47:21 -07:00
Ben Walsh
de3604ea0c 8199462: Use Reference.reachabilityFence in direct ByteBuffer methods
Reviewed-by: psandoz, vlivanov, plevart
2018-03-12 16:09:18 -07:00
Lana Steuck
f439f2166b Added tag jdk-11+4 for changeset e59941f7247d 2018-03-12 21:30:58 +00:00
Phil Race
58ff4ee8c4 8193017: Import freetype sources into OpenJDK source tree
Reviewed-by: erikj, ihse, serb
2018-03-12 13:53:20 -07:00
Erik Joelsson
5daba498e4 8199473: Support Visual Studio BuildTools with VS2017
Reviewed-by: ihse, tbell
2018-03-12 21:48:58 +01:00
Claes Redestad
539c0ad417 8199469: Disable generate-jli-classes when building interim-image
Reviewed-by: erikj, mchung
2018-03-12 19:36:59 +01:00
Phil Race
10ced3a050 Merge 2018-03-12 10:53:22 -07:00
Claes Redestad
d88408c75b 8199453: Enable link-time generation of constructor forms
Reviewed-by: alanb, psandoz, mchung
2018-03-12 18:31:02 +01:00
Erik Joelsson
10b29b4ca8 8199428: install-file macro fails on filenames with space on Solaris
Reviewed-by: tbell, ihse
2018-03-12 17:49:08 +01:00
Phil Race
0cfa66ddce Merge 2018-03-12 09:37:49 -07:00
Magnus Ihse Bursie
11fc5a4d73 8199451: Create linux-aarch64 cross-compilation devkit, and fix cross-compilation
Reviewed-by: aph, erikj
2018-03-12 17:00:54 +01:00
Roger Riggs
f0cd136c74 8199420: Update javadoc tags in java.lang.System and related
Reviewed-by: lancea, bpb
2018-03-12 10:04:12 -04:00
Daniel Stewart
07ad3d2f91 8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java
Adding required -XX:+UnlockDiagnosticVMOptions flag to StringTableVerifyTest.java

Reviewed-by: coleenp, kvn
2018-03-09 23:03:28 -05:00
Claes Redestad
54b1510aa7 8199009: test/jdk/java/util/Locale/SoftKeys.java fails with OutOfMemoryError
Reviewed-by: psandoz, naoto
2018-03-10 02:58:39 +01:00
Sergey Bylokhov
5c55118223 8198406: Test TestAATMorxFont is unstable
Reviewed-by: prr, pnarayanan
2018-03-09 14:42:46 -08:00
Erik Joelsson
1926d24306 8199352: The Jib artifact resolver in test lib needs to print better error messages
Reviewed-by: iignatyev, ihse
2018-03-09 19:20:19 +01:00
Magnus Ihse Bursie
b86d96a381 8199405: Bump lowest supported gcc to 4.8
Reviewed-by: erikj
2018-03-09 19:12:07 +01:00
Magnus Ihse Bursie
6ec6080397 8199403: Require binutils 2.18 or newer
Reviewed-by: erikj, tbell
2018-03-09 19:10:51 +01:00
Magnus Ihse Bursie
457efdbfca 8199416: Remove debug output left over since JDK-8198844
Reviewed-by: erikj
2018-03-09 19:09:20 +01:00
Krishna Addepalli
65113c9136 8197785: javax.accessibility.AccessibleBundle will reload the ResourceBundle for every call to toDisplayString
Reviewed-by: serb, prr, ssadetsky
2018-03-09 17:26:48 +05:30
Jan Lahoda
b0b8a51be1 8187950: javax.lang.model APIs throws CompletionFailure or a subtype of CompletionFailure
Catching CompletionFailures that would be thrown to API clients, and re-completing the symbols again when javac itself needs it.

Reviewed-by: cushon, jjg
2018-03-09 09:42:10 +01:00
Weijun Wang
798b830ad8 8199154: Accessibility issues in jdk.security.auth
Reviewed-by: valeriep
2018-03-09 11:36:12 +08:00
Sergey Bylokhov
23ede624d8 8199022: New failures should be added to ProblemList
Reviewed-by: prr, psadhukhan
2018-03-08 12:35:10 -08:00
Phil Race
ff223cc1ee Merge 2018-03-08 10:18:28 -08:00
Erik Joelsson
7152a20473 8199339: JDK-8198859 broke solaris x64
Reviewed-by: ihse
2018-03-08 19:13:16 +01:00
Magnus Ihse Bursie
97a42c860f 8199331: Don't limit debug information for fastdebug JDK native libraries
Reviewed-by: erikj
2018-03-08 18:51:31 +01:00
Magnus Ihse Bursie
daea65318e 8199338: Use -g0 on solstudio also for compiling C programs
Reviewed-by: erikj
2018-03-08 18:46:37 +01:00
Brian Burkhalter
4ee1b63881 8198899: Compilation errors in java.prefs with VS 2017
Change Java level representation of HKEY from int to long

Reviewed-by: alanb, rriggs, psandoz
2018-03-08 08:17:26 -08:00
Shashidhara Veerabhadraiah
72628783c5 8195738: scroll poistion in ScrollPane is reset after calling validate()
Reviewed-by: serb, ssadetsky
2018-03-08 14:31:54 +05:30
Lana Steuck
6c31c0b4dc Added tag jdk-10+46 for changeset 6fa770f9f8ab 2018-03-08 04:23:31 +00:00
KUBOTA Yuji
605827c671 8169358: httpserver does not close connections when RejectedExecutionException occurs
Catch unexpected exceptions in Dispatcher::handle

Reviewed-by: chegar, dfuchs, clanger
2018-03-08 11:21:57 +09:00
Vicente Romero
c866d037bc 8199327: nuke var type name after a lambda has been accepted
Reviewed-by: mcimadamore
2018-03-08 10:28:46 -05:00
Weijun Wang
254138139f 8193262: JNI array not released in libsunmscapi convertToLittleEndian
Reviewed-by: ascarpino
2018-03-08 13:39:42 +08:00
Weijun Wang
50484af54b 8191139: Remove deprecated javax.security.auth.Policy API
Reviewed-by: mullan
2018-03-08 12:20:26 +08:00
Weijun Wang
68b1b6c580 8198898: Compilation errors in jdk.crypto.mscapi with VS 2017
Reviewed-by: xuelei
2018-03-08 11:44:43 +08:00
Weijun Wang
3fb8a072a1 8199198: Remove unused functions in jdk.crypto.mscapi native code
Reviewed-by: igerasim, wetmore
2018-03-08 11:44:26 +08:00
Erik Joelsson
2c4466755b 8199197: Set _NT_SYMBOL_PATH when running tests on windows
Reviewed-by: ihse, ctornqvi
2018-03-07 22:30:39 +01:00
Magnus Ihse Bursie
eb36e850a5 8199224: Refactor add_native_source in SetupNativeCompilation
Reviewed-by: erikj
2018-03-07 19:14:36 +01:00
Hannes Wallnöfer
42f6751d6f 8199236: Nashorn uses deprecated HTML tags in Javadoc
Reviewed-by: jlaskey, sundar
2018-03-07 18:36:21 +01:00
Alexey Ivanov
366192f502 8198777: JList.getPreferredScrollableViewportSize(): fix mistake in doc for height calc
Reviewed-by: serb, ssadetsky
2018-03-07 16:08:52 +00:00
Manajit Halder
dd5043a7d6 8190767: if JFrame is maximized on OS X, all new JFrames will be maximized by default
Reviewed-by: serb, kaddepalli
2018-03-07 14:54:46 +05:30
Pankaj Bansal
4a0424f9bf 8190347: [TESTBUG] Test javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentJComboBox.java fails
Reviewed-by: serb, psadhukhan
2018-03-07 18:20:09 +05:30
Prem Balakrishnan
b46b19cb58 8160767: [TEST_BUG] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java
Reviewed-by: prr, ssadetsky
2018-03-07 17:05:28 +05:30
Prem Balakrishnan
8bb3dc6619 8196435: Regression automated Test 'java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java' fails
Reviewed-by: mhalder, ssadetsky, serb
2018-03-07 16:52:19 +05:30
Ed Nevill
cf0e82688b 8199152: Configure broken on arm32
Reviewed-by: ihse
2018-03-06 23:03:50 +00:00
Alan Bateman
c37c87b388 8199120: (so) SocketChannelImpl read/write don't need stateLock when channel is configured non-blocking
Reviewed-by: bpb
2018-03-07 07:20:38 +00:00
Alan Bateman
61aa187aaf 8199015: (se) SocketChannelImpl.translateXXXOps access channel state without synchronization
Reviewed-by: bpb
2018-03-07 07:15:24 +00:00
Alan Bateman
889a041f22 8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Brian Burkhalter
1deb2a7bd5 8198302: VS2017 (C4477) java.base/windows/native/libnet/NetworkInterface_winXP.c incorrect printf format strings
Cast to expected data type

Reviewed-by: chegar, clanger, rriggs
2018-03-06 10:51:26 -08:00
Bhavesh Patel
1780fdeae7 8182765: HTML5 must be the default javadoc codegen mode in the near future
Reviewed-by: jjg
2018-03-06 10:45:47 -08:00
Magnus Ihse Bursie
ff76e20be8 8199103: Can't use COMPARE_BUILD with PATCH from custom root
Reviewed-by: erikj
2018-03-06 17:43:21 +01:00
Erik Joelsson
ebbacc188e 8199125: --disable-warnings-as-errors does not work for native jtreg test code
Reviewed-by: ihse
2018-03-06 17:30:13 +01:00
Magnus Ihse Bursie
b01af2b4bf 8199118: Filtering of filename for microsoft CL broken on newer Cygwin
Reviewed-by: erikj
2018-03-06 17:24:56 +01:00
Roger Riggs
4166d0663c 8197538: Remove mention of hotjava paths in MimeTable.java
Reviewed-by: lancea, bpb, chegar
2018-03-06 10:00:49 -05:00
Sean Coffey
5b02a98b21 8199018: Test crypto provider not registering
Reviewed-by: wetmore
2018-03-06 10:31:14 +00:00
Magnus Ihse Bursie
5f52842c26 8198844: Clean up GensrcX11Wrappers
Reviewed-by: erikj, prr
2018-03-06 00:59:49 +01:00
Magnus Ihse Bursie
f62bc01efe 8199052: Configure broken on aarch64
Reviewed-by: erikj
2018-03-06 00:56:03 +01:00
Phil Race
ea6bd4c0ec Merge 2018-03-05 13:11:21 -08:00
Naoto Sato
3d4edcc571 4993841: (str) java.lang.Character should have a toString(int) method
Reviewed-by: martin, rriggs, sherman, smarks
2018-03-05 08:50:47 -08:00
Brian Burkhalter
a131e1668f 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
Move to using centralized native build and remove obsolete .so files

Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
Randy Crihfield
af7782b1a0 8193660: Check SOURCE line in "release" file for closedjdk
Reviewed-by: alanb
2018-03-05 05:50:24 -08:00
Randy Crihfield
28e38031a2 8193660: Check SOURCE line in "release" file for closedjdk
Reviewed-by: alanb
2018-03-05 05:44:46 -08:00
Andrew Dinn
7a145c6805 8198950: AArch64: org.openjdk.jcstress.tests.varhandles.DekkerTest fails
Fix breakage to AArch64 code generation caused by JDK-8181211

Reviewed-by: thartmann, roland, kvn, vlivanov, jrose
2018-03-05 13:18:55 +00:00
Chris Yin
d3e24d6682 8198931: remove java.xml.bind module dependency for com/sun/jndi tests
Reviewed-by: lancea
2018-03-04 18:46:07 -08:00
Anton Litvinov
dfb4b0979b 8198605: Touch keyboard is shown for a non-focusable text component
Reviewed-by: serb, dmarkov
2018-03-05 01:22:36 +00:00
Lance Andersen
9995861868 8197533: Move javax.transaction.xa to its own module
Reviewed-by: darcy, alanb, psandoz, ihse
2018-03-04 17:05:29 -05:00
Xueming Shen
d4d8c255b2 8198966: To make CoderResult.Cache.cache final and allocate it eagerly
Reviewed-by: redestad
2018-03-04 00:32:53 -08:00
Magnus Ihse Bursie
3e166182e0 8198862: Stop doing funky compilation stuff for dtrace
Reviewed-by: erikj, tbell
2018-03-03 08:39:08 +01:00
Prasanta Sadhukhan
be7644263d 8194767: Regression automated Test 'javax/swing/JEditorPane/6917744/bug6917744.java' fails
Reviewed-by: ssadetsky, prr
2018-03-03 09:55:22 +05:30
Roger Riggs
9f72c07d5a 8198970: jnu_util.c compilation error on Solaris
Reviewed-by: mchung, redestad
2018-03-02 18:08:50 -05:00
Alexandre Iline
68c6ef69de 8198922: Provide instrumentation for sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java
Reviewed-by: prr
2018-03-02 14:25:39 -08:00
Jim Laskey
522a9d15fd 8198955: String#repeat loop optimization
Reviewed-by: rriggs, redestad, igerasim
2018-03-02 18:10:57 -04:00
Roger Riggs
c43cebb5cf 8198697: Simplify initialization of platform encoding
Reviewed-by: redestad, sherman
2018-03-02 14:17:04 -05:00
Robbin Ehn
08ad8da3f7 8198833: TestMemoryAwareness Docker container fails with too small maximum heap
Reviewed-by: bobv, dholmes
2018-03-02 11:43:19 +01:00
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +01:00
Magnus Ihse Bursie
155a105d79 8199347: Always use -Z7 for debug symbols when compiling on Windows
Reviewed-by: erikj
2018-03-09 00:28:50 +01:00
Erik Joelsson
2cf53991cd 8199266: Update boot and build jdk requirements in configure
Reviewed-by: ihse, tbell
2018-03-08 22:17:57 +01:00
Jonathan Gibbons
7a762e0598 8194296: Check copyright of files in make/langtools/tools
Reviewed-by: mcimadamore, jlahoda
2018-03-08 13:09:31 -08:00
Magnus Ihse Bursie
b64d0ef66d 8198724: Refactor FLAGS handling in configure
Reviewed-by: erikj
2018-03-02 10:59:25 +01:00
Prahalad Kumar Narayanan
f3ae7d1bd9 8198613: Test cases result in failure or timeout when run with OpenGL backend
Reviewed-by: serb, jdv
2018-03-02 14:39:29 +05:30
Felix Yang
77d0099725 8198821: fix test methods access for test java/text/Normalizer/NormalizerAPITest.java
Reviewed-by: naoto
2018-03-02 00:33:00 -08:00
Martin Buchholz
5e529f5d62 8198933: Update JDI tests to pass valid URL[]
Reviewed-by: dholmes
2018-03-01 21:23:35 -08:00
Prasanta Sadhukhan
b4beeae554 8194943: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java' fails
Reviewed-by: ssadetsky, sveerabhadra
2018-03-02 09:59:02 +05:30
Martin Buchholz
fa4abe66dd 8198810: URLClassLoader does not specify behavior when URL array contains null
Reviewed-by: alanb, darcy, dholmes
2018-03-01 19:01:34 -08:00
Zhengyu Gu
354249f51e 8191369: NMT: Enhance thread stack tracking
More precise thread stack tracking on Linux and Windows

Reviewed-by: coleenp, adinn, minqi
2018-03-01 16:35:36 -05:00
Kim Barrett
d7765d9002 8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
Moved resolve and friends to new jniHandles.inline.hpp.

Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Phil Race
e8a9982ea6 Merge 2018-03-01 10:37:20 -08:00
Phil Race
60ce64e54a Merge 2018-03-01 10:03:31 -08:00
Magnus Ihse Bursie
28342b55f9 8198859: Use elfedit to silence linker warnings on solaris
Reviewed-by: tbell
2018-03-01 18:12:50 +01:00
Vladimir Kozlov
d0ec59a9fb 8195632: [Graal] Introduce EagerJVMCI flag to force eager JVMCI initialization
Reviewed-by: thartmann
2018-03-01 09:03:30 -08:00
Phil Race
d381c82162 Merge 2018-03-01 08:52:52 -08:00
Claes Redestad
ec495ebede 8198888: Reduce string allocation churn in InvokerBytecodeGenerator
Reviewed-by: psandoz, plevart
2018-03-01 13:08:06 +01:00
Joe Wang
5a7aff9897 8137326: Methods for comparing CharSequence, StringBuilder, and StringBuffer
Reviewed-by: rriggs, smarks, sherman, tvaleev
2018-03-01 15:31:04 -08:00
Lana Steuck
17b8a043c4 Merge 2018-03-01 21:09:54 +00:00
Philipp Kunz
5db337db24 6372077: JarFile.getManifest() should handle manifest attribute name 70 bytes
Reviewed-by: alanb, sherman
2018-03-01 15:50:26 -05:00
Xueming Shen
3a03cd060f 8187653: Lock in CoderResult.Cache becomes performance bottleneck
Reviewed-by: rriggs, alanb
2018-03-01 12:31:24 -08:00
Jim Laskey
b4d4d8f66c 8197594: String#repeat
Reviewed-by: smarks, psandoz, plevart, rriggs, redestad
2018-03-01 15:45:51 -04:00
Lana Steuck
c68e276b0d Merge 2018-03-01 19:45:37 +00:00
Lana Steuck
789e437e6c Added tag jdk-11+3 for changeset 1fd4d6068f54 2018-03-01 19:44:36 +00:00
Alan Bateman
95b1eef0da 8198841: Thread.interrupt should set interrupt status while holding blockerLock
Reviewed-by: bpb
2018-03-01 18:27:39 +00:00
Marcus Larsson
89d8e788f5 8198887: JDK-8168722 broke the build on macosx
Reviewed-by: dholmes, thartmann
2018-03-01 10:56:17 +01:00
Tobias Hartmann
23c15b8f4c 8148871: Possible wrong expression stack depth at deopt point
Add a special case for invoke bytecodes and use the parameter size instead of the oop map in that case.

Reviewed-by: never, dlong, minqi
2018-03-01 08:58:27 +01:00
Mandy Chung
3414903aba 8198253: ThreadInfo.from(CompositeData) incorrectly accepts CompositeData with missing JDK 6 attributes
Reviewed-by: dfuchs, jmanson
2018-02-28 17:11:57 -08:00
Vicente Romero
dc42a2bab5 8198628: further simplifications to lambda classification at JavacParser
Reviewed-by: mcimadamore
2018-02-28 18:36:25 -05:00
Dmitry Markov
794133c11b 8187635: On Windows Swing changes keyboard layout on a window activation
Reviewed-by: serb, ssadetsky
2018-02-28 22:00:33 +00:00
Marcus Larsson
98c77d44de 8168722: Unified Logging configuration output needs simplifying
Reviewed-by: rehn, lfoltan, hseigel
2018-02-28 22:38:53 +01:00
Rahul Raghavan
1392d4b80f 8198252: Null pointer dereference in fold_compares_helper
Added required null check with reported usage of filtered_int_type calls

Reviewed-by: kvn, thartmann
2018-02-28 23:23:35 -08:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Lana Steuck
3e7c7c6cdf Merge 2018-02-28 21:21:11 +00:00
Magnus Ihse Bursie
e23e30e61b 8198751: Refactor SetupNativeCompilation to take NAME and TYPE
Reviewed-by: tbell
2018-02-28 21:16:11 +01:00
Coleen Phillimore
a2818d9625 8191421: Deprecate PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Reviewed-by: dholmes, hseigel
2018-02-28 14:20:24 -05:00
Sean Coffey
14c85c2934 8193892: Impact of noncloneable MessageDigest implementation
Reviewed-by: wetmore, valeriep, xuelei
2018-02-28 18:28:17 +00:00
Jesper Wilhelmsson
cddf0c19ae 8198726: Quarantine SADebugDTest.java again
Reviewed-by: dcubed
2018-02-28 17:34:10 +01:00
Erik Helin
6d207011e0 8197841: Remove unused function Universe::create_heap_ext
Reviewed-by: rkennke, eosterlund, hseigel
2018-02-28 16:00:20 +01:00
Marcus Larsson
03dfb66004 8187066: -Xlog:help "=debug" example is not quite accurate
Reviewed-by: hseigel
2018-02-28 15:10:21 +01:00
Marcus Larsson
56dea21da2 8198825: Resolve missing review feedback for JDK-8170976
Reviewed-by: rehn, lfoltan, hseigel
2018-02-28 12:05:02 +01:00
Marcus Larsson
851718cee4 8153945: Track if log configuration has changed during runtime
Reviewed-by: lfoltan, hseigel
2018-02-28 10:37:02 +01:00
Krishna Addepalli
c5df5c1f0b 8197808: Test java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java fails on Windows
Reviewed-by: ssadetsky, prr, serb
2018-02-28 14:29:37 +05:30
Marcus Larsson
cb275ca384 8190346: improve unified JVM logging help message and warnings
Reviewed-by: lfoltan, rehn, hseigel
2018-02-28 09:30:06 +01:00
Prasanta Sadhukhan
22000aa73b 8186513: [TESTBUG] javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java
Reviewed-by: jdv, sveerabhadra
2018-02-28 12:07:31 +05:30
Ekaterina Pavlova
3b8d9ef239 8197453: Add support of extra problem list
Reviewed-by: iignatyev, jjg
2018-02-27 21:29:19 -08:00
Igor Ignatyev
d078a3f091 8190679: java/util/Arrays/TimSortStackSize2.java fails with "Initial heap size set to a larger value than the maximum heap size"
Reviewed-by: dholmes
2018-02-27 21:29:08 -08:00
Kim Barrett
d2ce0ae7d4 8196882: VS2017 Hotspot Defined vsnprintf Function Causes C2084 Already Defined Compilation Error
Add os::vsnprintf and os::snprintf.

Reviewed-by: lfoltan, stuefe, mlarsson
2018-02-27 18:17:57 -05:00
Alan Snyder
69af907cee 8196322: [macosx] When the screen menu bar is used, clearing the default menu bar should permit AWT shutdown
Reviewed-by: serb
2018-02-27 21:53:06 +00:00
Lana Steuck
843a9abbce Added tag jdk-10+45 for changeset 4f96cf952e71 2018-02-27 20:48:06 +00:00
Prasanta Sadhukhan
47176b1cee 8198693: Update ProblemsList for mac
Reviewed-by: prr, serb
2018-02-27 11:08:53 +05:30
Magnus Ihse Bursie
2a3b12aec8 8198658: Docs still point to JDK 9 docs
Reviewed-by: tbell, darcy
2018-02-26 22:38:13 +01:00
Phil Race
d2e6289c0b Merge 2018-02-26 10:36:34 -08:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Claes Redestad
16a61139e2 8198831: Lazy initialization of ValueConversions MethodHandles
Reviewed-by: shade
2018-02-28 15:28:46 +01:00
Amy Lu
9093953813 8198820: Problem list tools/jimage/JImageExtractTest.java
Reviewed-by: alanb
2018-02-28 19:16:51 +08:00
Alan Bateman
13dd8888d2 8198562: (ch) Separate blocking and non-blocking code paths (part 1)
8198754: (ch) Separate blocking and non-blocking code paths (part 2)

Reviewed-by: bpb
2018-02-28 09:54:38 +00:00
Chris Yin
3918ed17a5 8196759: Move two java/text/Normalizer tests into OpenJDK
Reviewed-by: naoto
2018-02-27 23:11:26 -08:00
Martin Buchholz
6fc221df4d 8198808: jdi tests failing after JDK-8198484
Reviewed-by: darcy, dholmes
2018-02-27 21:32:16 -08:00
Leonid Mesnik
2471caab08 8197901: Crash during GC when logging level is debug
Reviewed-by: dholmes, coleenp
2018-02-23 13:55:49 -08:00
Parvathi Somashekar
03c754baa0 8198533: Remove obsolete JDIScaffold class from repo
Update one remaining test and remove JDIScaffold from repo.

Reviewed-by: sspitsyn, cjplummer
2018-02-23 11:31:22 -08:00
Chris Plummer
22ba8afbe7 8196992: Resolve disabled warnings for libdt_socket
No longer need to disable warnings in makefile

Reviewed-by: sspitsyn, clanger
2018-02-23 13:42:48 -08:00
Chris Plummer
073257906c 8198585: add asserts to verify that ServiceUtil::visible_oop is not needed
Asserts added

Reviewed-by: stefank, sspitsyn, dcubed
2018-02-23 13:42:40 -08:00
Jayathirth D V
83256c19ee 8198004: javax/swing/JFileChooser/6868611/bug6868611.java throws error
Reviewed-by: serb, ssadetsky, kaddepalli
2018-02-23 12:30:03 +05:30
Shashidhara Veerabhadraiah
f0499d1caa 8129569: [TEST_BUG] Test java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java fails
Reviewed-by: serb, ssadetsky
2018-02-23 09:59:16 +05:30
Igor Ignatyev
75d088ecc4 8198568: clean up test/hotspot/jtreg/ProblemList.txt
Reviewed-by: thartmann, gtriantafill
2018-02-22 13:16:06 -08:00
Coleen Phillimore
b9b29cb3d6 8198635: Remove unused safepoint message functions and ShowSafepointMsgs
Reviewed-by: eosterlund, gtriantafill
2018-02-23 14:13:06 -05:00
Vladimir Kozlov
4b482389bf 8198251: [Graal] compiler/intrinsics/bmi/verifycode tests fail with Graal on macos
BMI tests should be excluded from Graal JIT testing for now.

Reviewed-by: thartmann
2018-02-23 10:14:23 -08:00
Bob Vandette
083a22d87c Merge 2018-02-23 12:08:05 -05:00
Bob Vandette
c1359ec107 8197589: Update CPU count algorithm when both cpu shares and quotas are used
Reviewed-by: dholmes, mseledtsov
2018-02-23 10:17:35 -05:00
Coleen Phillimore
809315bdd1 8197780: Null pointer dereference in Klass::is_instance_klass of klass.hpp:532
Make generate_class_cast_message able to deal with NULL klass from the constant pool.

Reviewed-by: hseigel, lfoltan
2018-02-23 07:47:29 -05:00
Roman Kennke
2fb89326ba 8198564: Multiple crashes on SPARC
Reviewed-by: dholmes, simonis, stefank
2018-02-23 12:47:36 +01:00
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Erik Österlund
5b53102c9e 8198560: Remove implicit casts from oop to JavaThread* and jlong*
Reviewed-by: kbarrett, coleenp, tschatzl
2018-02-23 09:15:42 +01:00
Thomas Stuefe
1bb8fd058c 8198553: jcmd: separate Metaspace statistics from NMT
Reviewed-by: zgu, coleenp
2018-02-22 14:16:18 +01:00
Christian Tornqvist
052e9233e2 8198551: Rename hotspot_tier1 test group to tier1
Reviewed-by: lfoltan, iignatyev
2018-02-22 14:58:01 -05:00
Thomas Stuefe
56d737d8c7 8198558: Windows does not build without precompiled headers
Reviewed-by: coleenp, mlarsson, lfoltan
2018-02-22 16:29:10 +01:00
Stefan Karlsson
3ad60c1bd2 8198530: Move _gc_policy_counters from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: kbarrett, sjohanss
2018-02-22 18:37:48 +01:00
Stefan Karlsson
5671589a10 8198528: Move GenerationSpecs from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss, kbarrett
2018-02-22 18:37:23 +01:00
Stefan Karlsson
5f4f3883d8 8198525: Move _size_policy out of GenCollectorPolicy into GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:32 +01:00
Stefan Karlsson
f408526f30 8198515: Extract SoftReferencePolicy code out of CollectorPolicy
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:07 +01:00
Stefan Karlsson
a98b4ecb5c 8198511: Move allocation functions from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:35:40 +01:00
Stefan Karlsson
bd70c72fd2 8198509: Move satisfy_failed_metadata_allocation out from CollectorPolicy
Reviewed-by: sjohanss, pliden
2018-02-22 18:35:04 +01:00
Stefan Karlsson
380a8b15ec 8198507: Remove CollectorPolicy::create_rem_set
Reviewed-by: pliden, tschatzl
2018-02-22 18:34:39 +01:00
Stefan Karlsson
713858f459 8198373: Remove CollectorPolicy::is/as functions
Reviewed-by: sjohanss, pliden
2018-02-22 18:34:18 +01:00
Lois Foltan
d3d2bc3228 8197868: VS2017 (C2065) 'timezone': Undeclared Identifier in share/runtime/os.cpp
Change to use the functional version of _get_timezone for VS2017.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp, hseigel
2018-02-22 12:05:17 -05:00
Erik Österlund
432a71e564 8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Jayathirth D V
13999ec96e 8197926: java/awt/dnd/ImageTransferTest/ImageTransferTest.java doesnt close the windows in HiDPI setting
Reviewed-by: prr, serb, psadhukhan
2018-02-22 13:25:43 +05:30
Prasanta Sadhukhan
74cbe9d441 8198005: javax/swing/JFileChooser/7199708/bug7199708.java throws error
Reviewed-by: serb, jdv
2018-02-22 12:06:15 +05:30
Kim Barrett
b8ab854bdc 8197859: VS2017 Complains about UINTPTR_MAX definition in globalDefinitions_VisCPP.hpp
Use <stdint.h> and <inttypes.h> on Windows instead of emulation.

Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-21 23:30:01 -05:00
Sergey Bylokhov
7cb9e5821e 8198333: ProblemList should be updated for headless mode
Reviewed-by: psadhukhan, prr
2018-02-21 12:49:00 -08:00
Phil Race
31dabd4d7f Merge 2018-02-20 21:49:06 -08:00
Phil Race
2fe174d6b2 8194870: Some regression tests throw NPE exception on a specific Solaris 11.2 sun4v sparc machine
Reviewed-by: ihse, erikj
2018-02-20 14:28:02 -08:00
Phil Race
89cb6a90d2 Merge 2018-02-20 13:30:49 -08:00
Lana Steuck
f7d02bbaf0 Added tag jdk-10+44 for changeset 663f20fc5109 2018-02-20 17:01:18 +00:00
Robert Field
4aa85f9489 8196133: JShell crashes when attempting to use bad source file in class path
Reviewed-by: jlahoda
2018-02-16 16:18:55 -08:00
Phil Race
42dc61aad0 Merge 2018-02-16 13:49:07 -08:00
Sergey Bylokhov
7578044e71 8196196: Headful tests should not be run in headless mode
Reviewed-by: prr
2018-02-16 12:24:38 -08:00
Abdul Kolarkunnu
3715cbe450 8197549: Implement a new method similar to waitState() on Operator which run the check on event queue
Reviewed-by: serb
2018-02-16 18:27:35 +05:30
Abdul Kolarkunnu
b6a2f5517e 8197482: Make Jemmy ComponentChooser lambda friendly
Reviewed-by: serb
2018-02-16 18:17:34 +05:30
Abdul Kolarkunnu
d78e0978af 8196338: [TEST_BUG] sanity/client/SwingSet/src/TextFieldDemoTest.java Failed with timeout
Reviewed-by: ssadetsky
2018-02-16 18:06:23 +05:30
Andrew Haley
f48f7c36d5 8197429: Increased stack guard causes segfaults on x86-32
Reviewed-by: dholmes
2018-02-16 09:43:26 +00:00
Christoph Langer
9523d40461 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans
Reviewed-by: stuefe, dholmes, cjplummer
2018-03-15 15:38:23 +01:00
Thomas Stuefe
ea27ad47f7 8199656: Make slow metaspace verifications switchable in debug builds
Reviewed-by: dholmes, coleenp
2018-03-15 07:43:07 +01:00
Roman Kennke
615f325924 8199559: objArrayKlass::oop_iterate() and friends must use base_raw() instead of base()
Reviewed-by: tschatzl, eosterlund
2018-03-15 12:44:27 +01:00
Coleen Phillimore
29cb168550 8199272: Broken assertion in ClassLoaderData::remove_handle
Added new ClassLoaderData::ChunkList::contains(oop*) function for OopHandle rather than oop.

Reviewed-by: stefank, hseigel
2018-03-15 07:40:00 -04:00
Thomas Stuefe
7621378c0b 8199432: metaspace: fix wrong comment and condition in SpaceManager::verify()
Reviewed-by: coleenp
2018-03-15 07:20:32 +01:00
Thomas Stuefe
c18227978e 8199431: Split up class Metaspace into a static and a non-static part
Reviewed-by: coleenp, adinn, zgu
2018-03-15 07:15:39 +01:00
Goetz Lindenmaier
d29c87204f 8199557: Assert in fromTonga/vm/runtime/defmeth/scenarios/Stress_noredefine/TestDescription.java
Reviewed-by: coleenp
2018-03-14 21:36:41 +01:00
Goetz Lindenmaier
469e350dab 8199532: [TESTBUG] AbstractMethodErrorTest.java test failed with -Xcomp
Reviewed-by: kvn
2018-03-13 21:55:41 +01:00
Jean Christophe Beyler
8fe2f1412c 8199561: Fix two typos in the JVMTI documentation
Fix two typos in the JVMTI documentation

Reviewed-by: sspitsyn, dholmes
2018-03-14 09:58:53 -07:00
Rahul Raghavan
24fd306c51 8071282: remove misc dead code
Cleanup of dead code done

Reviewed-by: kvn, thartmann
2018-03-14 09:09:38 -07:00
Aleksey Shipilev
d1f090f569 8199603: Build failures after JDK-8199421 "Add support for vector popcount"
Reviewed-by: thartmann
2018-03-14 15:28:31 +01:00
Zhengyu Gu
96813b1885 8191924: Adjust DelegatingClassLoader's metadata space sizing algorithm
Reduce memory usage for delegating class loader's metadata by adjusting sizing alogrithm

Reviewed-by: adinn, stuefe, coleenp
2018-03-13 16:21:45 -04:00
Thomas Schatzl
697538d0a9 8199516: Remove dead code overlooked during Full GC work
Reviewed-by: sangheki, sjohanss
2018-03-14 14:09:33 +01:00
Volker Simonis
97cfb7bbb7 8199472: Fix non-PCH build after JDK-8199319
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01:00
Coleen Phillimore
394e34d821 8199282: Remove ValueObj class for allocation subclassing for gc code
Reviewed-by: stefank, kbarrett
2018-03-14 07:27:19 -04:00
David Holmes
6c9998844b Merge 2018-03-14 07:07:18 -04:00
Ed Nevill
828e824a0f 8199220: Zero build broken after 8195103, 8191102 and 8189871
Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
2018-03-13 18:22:53 +00:00
Paul Sandoz
2ab07cc314 8197944: Condy tests fails on Windows
Reviewed-by: dholmes
2018-03-13 15:29:55 -07:00
Thomas Stuefe
3da040b2b8 8199518: test/hotspot/jtreg/runtime/SelectionResolution tests take a lot longer to run with fastdebug after JDK-8198423
Added metaspace verfications in fastdebug were too aggressive for this test and made fastdebug too slow

Reviewed-by: zgu, coleenp
2018-03-13 20:06:34 +01:00
Stefan Johansson
4de5274ff1 8199533: ProblemList tests failing after JDK-8153333
Reviewed-by: jwilhelm, ctornqvi
2018-03-13 18:27:20 +01:00
Razvan Lupusoru
343cf9910d 8199421: Add support for vector popcount
Reviewed-by: kvn
2018-03-13 10:22:15 -07:00
Roman Kennke
147488cbce 8198445: Access API for primitive/native arraycopy
Reviewed-by: pliden, eosterlund, dholmes
2018-03-13 17:13:35 +01:00
Yasumasa Suenaga
8680d7da99 8199323: hsdis could not be loaded which are located on long path
Reviewed-by: dholmes, stuefe
2018-03-14 00:30:56 +09:00
Martin Doerr
e16d660cc2 8198510: Enable UseDynamicNumberOfGCThreads by default
Reviewed-by: tschatzl, sjohanss
2018-03-13 11:29:30 +01:00
Thomas Stuefe
da674f0d0d 8199430: Rename MetaspaceAux to something more meaningful
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Aleksey Shipilev
b5ae436418 8199511: Do not generate g1_{pre|post}_barrier_slow_id without CardTable-enabled barrier set
Reviewed-by: rkennke, kvn, pliden, stefank
2018-03-14 10:38:02 +01:00
Paul Sandoz
4954362d29 8199342: The constant pool forgets it has a Dynamic entry if there are overpass methods
Reviewed-by: lfoltan, acorn
2018-03-08 14:33:57 -08:00
Alex Menkov
07db7c6fd9 8193369: post_field_access does not work for some functions, possibly related to fast_getfield
Reviewed-by: sspitsyn, cjplummer
2018-03-12 14:11:54 -07:00
Ekaterina Pavlova
4b55c80b4d 8198924: [Graal] java/lang/StackWalker/LocalsAndOperands.java timeouts with Graal
Reviewed-by: bchristi, mchung
2018-03-12 13:54:55 -07:00
Yasumasa Suenaga
fcb1520305 8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
Reviewed-by: sjohanss, tschatzl
2018-03-09 23:13:37 +09:00
Martin Doerr
e9837dcbec 8198894: [PPC64] More generic vector CRC implementation
Reviewed-by: goetz, mhorie
2018-03-12 12:02:20 +01:00
Erik Helin
f82bcaba53 8197852: Move G1DefaultPolicy into G1Policy
Reviewed-by: sjohanss, tschatzl
2018-03-12 09:46:12 +01:00
Erik Helin
779fef0b10 8199024: Remove unneccessary protected and virtual modifiers from G1CollectedHeap
Reviewed-by: kbarrett, stuefe
2018-03-12 08:16:48 +01:00
Coleen Phillimore
ee9d695757 8199283: Remove ValueObj class for allocation subclassing for compiler code
Reviewed-by: stefank, tschatzl
2018-03-09 20:01:38 -05:00
Calvin Cheung
214248fe11 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
Print a message and abort CDS dumping when the allocation of metaspace has failed

Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08:00
Vladimir Kozlov
19a8503b3e 8199422: Hotspot build is broken after push of 8197235
Reviewed-by: shade, lfoltan
2018-03-09 12:38:54 -08:00
Vladimir Kozlov
9d29fc2045 8197235: src/hotspot/share/jvmci/jvmciCompilerToVM.cpp takes 4 minutes to compile on windows
Moved most expensive methods to new file jvmciCompilerToVMInit.cpp and switch off C++ compiler optimization for it on Windows and Solaris

Reviewed-by: erikj, ihse, dnsimon
2018-03-09 10:15:22 -08:00
Coleen Phillimore
9b1aa41153 Merge 2018-03-09 13:06:36 -05:00
Vladimir Kozlov
944905f00c 8198591: compiler/aot/fingerprint tests should be moved to open
Reviewed-by: thartmann
2018-03-09 09:46:49 -08:00
Coleen Phillimore
10259cf594 Merge 2018-03-09 12:03:20 -05:00
Coleen Phillimore
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Per Lidén
fb1ec3eb27 8199328: Fix unsafe field accesses in heap dumper
Reviewed-by: tschatzl, shade, eosterlund
2018-03-09 08:01:25 +01:00
David Holmes
032ba00a79 8199012: SEGV in jni_DetachCurrentThread during VM shutdown
Reviewed-by: stuefe, dcubed
2018-03-08 16:44:29 -05:00
Stefan Karlsson
d42acfd37b 8199319: Remove handles.inline.hpp include from reflectionUtils.hpp
Reviewed-by: hseigel, dholmes
2018-03-08 19:10:25 +01:00
Stefan Karlsson
b9f2f3e199 8199275: Fix inclusions of allocation.inline.hpp
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Stefan Karlsson
133faf856d 8199264: Remove universe.inline.hpp to simplify include dependencies
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Gilles Duboscq
597c6ac736 8194490: [JVMCI] Move iterateFrames to C++
Reviewed-by: kvn, never, dnsimon
2018-03-07 19:32:54 -08:00
Erik Joelsson
2c0c55bb7e 8198243: Add build time check for global operator new/delete in object files
Reviewed-by: tbell, kbarrett, dholmes, ihse
2018-03-07 13:26:15 -08:00
Thomas Stuefe
1b402fdb6d 8198423: Improve metaspace chunk allocation
Reviewed-by: goetz, coleenp
2018-03-06 19:24:13 +01:00
Erik Österlund
a06129a432 8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +01:00
Thomas Schatzl
963ee1591a 8198546: [Redo] JDK-8196883 G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Remove code related to collection set checking in that method.

Reviewed-by: eosterlund, ehelin, kbarrett
2018-03-06 13:08:59 +01:00
Tobias Hartmann
fd90a313a7 8198987: [Graal] compiler/intrinsics/sha/sanity tests fail on macos with Graal as JIT
Use the isIntrinsicAvailable WhiteBox API method to check if an intrinsic is available.

Reviewed-by: kvn
2018-03-06 10:30:24 +01:00
Andrew Dinn
b473be9a41 8198950: AArch64: org.openjdk.jcstress.tests.varhandles.DekkerTest fails
Fix breakage to AArch64 code generation caused by JDK-8181211

Reviewed-by: thartmann, roland, kvn, vlivanov, jrose
2018-03-05 13:18:55 +00:00
Thomas Stuefe
e01220f767 8193429: "assert(false) failed: GetModuleFileName failed (126)" in symbolengine.cpp
Reviewed-by: clanger, gtriantafill
2018-03-06 08:16:45 +01:00
Harold Seigel
0b8fa42240 8159850: Remove unneeded parsing of optional-size when parsing array types
Remove skip_optional_size() methods and calls to them.

Reviewed-by: coleenp, iklam
2018-03-07 09:32:46 -05:00
Aleksey Shipilev
ba5ccc8220 8199219: Build failures after JDK-8195148 (Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet)
Reviewed-by: dholmes
2018-03-07 10:58:59 +01:00
Ioi Lam
bc202d97bd 8191585: VM anonymous classes created during CDS dump time cause crash
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Doug Simon
da93b76ec8 8199066: [JVMCI] EagerJVMCI option should also initialize the JVMCI compiler
Reviewed-by: kvn
2018-03-06 16:02:04 -08:00
Coleen Phillimore
31cf80c688 8199137: StringInternSync test crashes in exit verification
Java_lang_String::equals(oop, oop) was buggy.

Reviewed-by: eosterlund, dholmes
2018-03-06 18:12:15 -05:00
Coleen Phillimore
2842bcc5c7 8199133: [BACKOUT] NMT: Enhance thread stack tracking
Reviewed-by: jwilhelm
2018-03-06 17:45:31 -05:00
Coleen Phillimore
4c3e072611 8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
Move dependency creation and cleaned up logging

Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05:00
Dmitry Samersoff
87372c6236 8196590: Enable docker container related tests for linux AARCH64
Add test bits required for aarch64

Reviewed-by: mseledtsov, mbaesken, sspitsyn
2018-03-03 10:15:23 +00:00
Igor Ignatyev
c61f11a3ab 8199050: reenable concurrent execution of compiler tests
Reviewed-by: kvn
2018-03-05 13:10:31 -08:00
Doug Simon
a75784caa6 8198571: [JVMCI] must not install wide vector code unless runtime supports it
Reviewed-by: kvn
2018-02-23 21:38:12 +01:00
Jiangli Zhou
54361e56a8 8198447: Remove ClassLoaderExt::check()
ClassLoaderExt::check() is no longer needed, remove.

Reviewed-by: lfoltan, ccheung
2018-03-05 14:24:45 -05:00
Harold Seigel
c0bc887c36 8191102: Incorrect include file use in classLoader.hpp
Move appropriate methods to <fiile>.inline.hpp files.  Create <file>.inline.hpp files when needed.

Reviewed-by: coleenp, dholmes
2018-03-05 10:29:23 -05:00
Erik Helin
8d5496fd27 8198957: Remove unused function ArgumentsExt::set_gc_specific_flags
Reviewed-by: sjohanss, tschatzl
2018-03-05 13:15:10 +01:00
Erik Helin
7b64b02949 8197845: Remove unnecessary method G1CollectedHeap::create_g1_policy
Reviewed-by: tschatzl, sjohanss
2018-03-05 13:07:04 +01:00
Erik Helin
6fb24f87da 8197847: Remove unused file g1ParScanThreadState_ext.cpp
Reviewed-by: sjohanss, eosterlund
2018-03-05 11:32:17 +01:00
Erik Helin
4bb76c1b78 8197843: Remove unused method G1EvacuationRootClosures::create_root_closures_ext
Reviewed-by: sjohanss, eosterlund
2018-03-05 11:16:23 +01:00
Ioi Lam
4c0a72bf60 8196121: runtime/appcds/ClassLoaderTest.java fails silently
Reviewed-by: mseledtsov, jiangli, ccheung
2018-03-04 22:24:06 -08:00
Zhengyu Gu
cbaf7f2f81 8198845: Missing resource mark results disassembling generated code failure in hs error report
Fixed secondary failure due to missing resource mark while disassembling nmethod

Reviewed-by: coleenp, stuefe, dholmes
2018-03-04 20:57:46 -05:00
Kim Barrett
d1bd39385f 8196876: OopStorage::assert_at_safepoint clashes with assert_at_safepoint macros in g1CollectedHeap.hpp
Add shared safepoint state assertion macros.

Reviewed-by: coleenp, eosterlund
2018-03-03 23:56:08 -05:00
Calvin Cheung
efcc8d2558 8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive

Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Jesper Wilhelmsson
8f1e5bc574 Merge 2018-03-02 21:00:12 +01:00
Vladimir Kozlov
5b3ff5aaab 8198789: [TESTBUG] CTW of java.base and java.desktop takes long time
Move long running tests into separate CTW task

Reviewed-by: iignatyev, dlong
2018-03-02 15:02:26 -08:00
Jiangli Zhou
f987dec395 8194759: Support caching class mirror objects
Support archiving mirror objects for shared classes in 'open' archive java heap region.

Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Daniil Titov
979d5b7986 8170541: serviceability/jdwp/AllModulesCommandTest.java fails intermittently on Windows and Solaris
Reviewed-by: sspitsyn, dholmes
2018-03-02 10:42:32 -08:00
Erik Helin
a25238147d 8198948: Remove unused parameter evacuation_info from G1CollectedHeap::evacuate_collection_set
Reviewed-by: sjohanss, eosterlund
2018-03-02 14:47:52 +01:00
Robbin Ehn
f4bb0fe332 8198833: TestMemoryAwareness Docker container fails with too small maximum heap
Reviewed-by: bobv, dholmes
2018-03-02 11:43:19 +01:00
Erik Österlund
fc389b5284 8198896: Remove dead code: cardTableModRefBSForCTRS.hpp
Reviewed-by: pliden, kbarrett
2018-03-02 10:51:53 +01:00
Tobias Hartmann
f6f71565b7 8198826: -XX:+VerifyStack fails with fatal error: ExceptionMark constructor expects no pending exceptions
Save and restore pending exception while executing stack verification code at deoptimization.

Reviewed-by: kvn, dholmes
2018-03-02 11:06:51 +01:00
Stefan Johansson
bacf4db5bd 8198424: Remove G1AllocationContext
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:08 +01:00
Stefan Johansson
adfa2c958d 8198433: Remove WhiteBox extension point
Reviewed-by: ehelin, dholmes, tschatzl
2018-03-02 10:09:05 +01:00
Stefan Johansson
d31b7367c6 8198432: Remove Thread extension point
Reviewed-by: ehelin, dholmes, tschatzl
2018-03-02 10:09:04 +01:00
Stefan Johansson
dbbba4c4bc 8198431: Remove G1FullCollector extension point
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:02 +01:00
Stefan Johansson
f5891500fd 8198430: Remove G1Allocator extension point
Reviewed-by: ehelin, tschatzl
2018-03-02 10:09:01 +01:00
Erik Helin
26176ec269 8197842: Remove unused macros VM_STRUCTS_EXT and VM_TYPES_EXT
Reviewed-by: sjohanss, lfoltan
2018-03-02 09:20:16 +01:00
Kim Barrett
8d5c77303a 8198906: JDK-8196882 breaks VS2013 Win32 builds
Add cast to eliminate warning.

Reviewed-by: dholmes, stuefe
2018-03-02 03:14:49 -05:00
Alexey Ushakov
10ef2cd87c 8197499: RepaintManager does not increase double buffer after attaching a device with higher resolution
Reviewed-by: serb, prr
2018-02-15 17:20:57 -08:00
Pankaj Bansal
eb9d86fff1 5076761: JList.setSelectedValue(null, ...) doesn't do anything
Reviewed-by: serb, ssadetsky, psadhukhan
2018-02-15 14:20:44 +05:30
Thomas Schatzl
edb1509a0e 8197968: [Backout] JDK-8196883 G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Reviewed-by: kbarrett
2018-02-15 00:20:22 +01:00
Amit Sapre
42855ed2a2 8189985: Improve tabular data portability
Reviewed-by: dfuchs, mchung, skoivu
2018-02-14 15:36:59 +05:30
Robin Westberg
f2c21c058d 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01:00
Robbin Ehn
5287d9a366 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Reviewed-by: bobv, stuefe
2018-02-27 14:15:30 +01:00
Dmitrij Pochepko
8241f85b85 8196868: AARCH64: ld/st instructions hit guarantee assert while using sp
Reviewed-by: aph
2018-02-27 16:05:28 +03:00
Dmitry Chuyko
7e1c60b79b 8198293: AARCH64 - Add CPU detection code for Cavium Thunder X2
Reviewed-by: dsamersoff
2018-02-27 15:56:40 +03:00
Martin Doerr
03af65fa7d 8198750: [s390+x86_32+aarch64] Fix build after jdk-8195142
Reviewed-by: stuefe, shade
2018-02-27 11:45:04 +01:00
Marcus Larsson
899b64249c 8170976: [TESTBUG] LogTestFixture does not restore previous logging state
Reviewed-by: rehn, lfoltan, hseigel
2018-02-26 16:33:48 +01:00
Erik Österlund
36449e6c30 8198703: Missing #include "gc/shared/cardTableModRefBS.hpp" in graphKit.hpp
Reviewed-by: thartmann, goetz, kvn
2018-02-26 18:04:43 +01:00
Harold Seigel
114e61d126 8194085: Obsolete the deprecated SafepointSynchronize flags and remove related code
Obsolete SafepointSpinBeforeYield, DeferThrSuspendLoopCount, and DeferPollingPageLoopCount and remove associated code.

Reviewed-by: dcubed, coleenp, dholmes
2018-02-26 11:28:05 -05:00
Lois Foltan
e447371492 8197864: VS2017 (C4334) Result of 32-bit Shift Implicitly Converted to 64 bits
Correctly perform a 64 bit shift when setting SlowSignatureHandler::_fp_identifiers.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: gtriantafill, hseigel
2018-02-26 10:20:06 -05:00
Lois Foltan
6e70a69893 8198304: VS2017 (C4838, C4312) Various conversion issues with gtest tests
Introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: gtriantafill, hseigel
2018-02-26 10:11:05 -05:00
Lois Foltan
c3893b01c1 8198312: VS2017: Upgrade HOTSPOT_BUILD_COMPILER in vm_version.cpp
Correctly set HOTSPOT_BUILD_COMPILER for VS2015 and VS2017.

Reviewed-by: erikj, gtriantafill
2018-02-26 09:57:01 -05:00
Lois Foltan
4faf9a2199 8198640: VS2017 (LNK4281) Link Warning Against Missed ASLR Optimization
Ignore VS2017 linker option that warns against potentially missed ASLR optimizations.

Reviewed-by: ctornqvi, erikj
2018-02-26 09:51:14 -05:00
Erik Österlund
95d34d138d 8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: stefank, coleenp, kvn, ehelin
2018-02-26 09:34:12 +01:00
Marcus Larsson
b9bc9f0be8 8198554: Add fuzzy matching for log levels and tags when parsing -Xlog
Reviewed-by: hseigel, coleenp
2018-02-26 09:34:20 +01:00
Ioi Lam
d050bedee8 8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08:00
Thomas Stuefe
bc472b0530 8197827: [windows] Small cleanups after JDK-8185712
Reviewed-by: zgu, dholmes
2018-02-13 14:38:09 +01:00
Coleen Phillimore
1a839d0882 8068593: Remove or repurpose unused PerfCounters from objectMonitor
Reviewed-by: redestad, dcubed
2018-02-21 14:08:26 -05:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Roman Kennke
6be7841937 8197999: Accessors in typeArrayOopDesc should use new Access API
Reviewed-by: eosterlund, pliden
2018-02-15 23:45:15 +01:00
Zhengyu Gu
b962c75f25 8198287: Cleanup ElfFile usage in whitebox.cpp
Removed redundant include of elfFile.hpp

Reviewed-by: dholmes, coleenp
2018-02-21 07:49:36 -05:00
Stefan Karlsson
08193e2dfb 8198225: os::attempt_reserve_memory_at records memory as committed
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Karlsson
f1540011d0 8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Jean Christophe Beyler
f3fc38d5f5 8198439: Fix aarch64 code for handling generate_code_for after FastTLABFill obsolete code
Fix aarch64 issue when moving the stp down and to a str

Reviewed-by: adinn, smonteith
2018-02-20 09:46:48 -08:00
Per Lidén
2606b1f985 8198369: Clean up GCId and GCIdMark
Reviewed-by: stefank, eosterlund
2018-02-21 07:50:33 +01:00
Per Lidén
0bf8fa1855 8198267: Allow GCId::current_raw() calls from non-NamedThreads
Reviewed-by: stefank, kbarrett
2018-02-21 07:46:40 +01:00
Gerard Ziemski
28c9fe47bc 8193056: Title from build failure with Xcode 9.1
Included missing header explicitly.

Reviewed-by: coleenp, vlivanov
2018-02-20 16:18:25 -06:00
Sangheon Kim
98a4315c72 8193909: Obsolete(remove) Co-operative Memory Management (CMM)
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Reviewed-by: dholmes, jwilhelm, mchung, tschatzl
2018-02-20 12:54:26 -08:00
Martin Doerr
276e1da447 8195112: x86 (32 bit): implementation for Thread-local handshakes
Reviewed-by: goetz, rehn
2018-02-20 16:10:21 +01:00
Lois Foltan
b085ebe7b7 8196884: VS2017 Multiple Type Cast Conversion Compilation Errors
Change the type of symbolic constant badAddressVal and introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: coleenp, kbarrett
2018-02-20 07:46:40 -05:00
Lois Foltan
17fe1b7ec7 8197956: VS2017 (C4838) Narrowing conversion required from __int64 to julong
Use the correct typed constant when initializing the StubRoutines::x86::_k512_W array.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp
2018-02-20 07:32:17 -05:00
Lois Foltan
91105a9a52 8196997: VS2017 The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be removed
Ignore deprecation warning for non-Standard std::tr1 namespace and TR1-only machinery when compiling gtest.

Reviewed-by: kbarrett, stuefe
2018-02-20 07:20:22 -05:00
Lois Foltan
6842f2f659 8196880: VS2017 Addition of Global Delete Operator with Size Parameter Conflicts with Arena's Chunk Provided One
Add a private ordinary operator delete declaration within class Chunk.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp, stuefe
2018-02-20 07:10:42 -05:00
Lois Foltan
acd1f4797f 8196889: VS2017 Unable to Instantiate OrderAccess::release_store with an Incomplete Class Within an Inlined Method
Fix compilation error by declaring Atomic::IsPointerConvertible public.

Reviewed-by: kbarrett, stuefe
2018-02-20 07:00:49 -05:00
Per Lidén
4e971f5455 8198265: Make CollectorPolicy::satisfy_failed_metadata_allocation() virtual
Reviewed-by: stefank, eosterlund
2018-02-19 15:44:56 +01:00
Per Lidén
13aaf94964 8198268: Add time argument to ConcurrentGCTimer::register_gc_pause_start/_end
Reviewed-by: kbarrett, stefank
2018-02-19 15:44:56 +01:00
Per Lidén
1b12333f8f 8198269: Allow GCCauseSetter to be used outside of safepoints
Reviewed-by: stefank, sjohanss
2018-02-19 15:44:56 +01:00
Aleksey Shipilev
dcabd45c6c 8198341: Build failures after 8194084 (Obsolete FastTLABRefill and remove the related code)
Reviewed-by: mdoerr, dholmes
2018-02-19 15:07:21 +01:00
Jesper Wilhelmsson
0977b752ff Merge 2018-02-19 04:50:50 +01:00
Marcus Larsson
29dd30e010 8196783: Refactor LogTagLevelExpression into separate classes
Reviewed-by: rehn, pliden
2018-02-19 09:46:10 +01:00
Marcus Larsson
8cf755c120 8176298: Log tags in -Xlog:help not sorted
Reviewed-by: ecaspole, gtriantafill, stuefe
2018-02-19 09:16:04 +01:00
Phil Race
30d35b2854 Merge 2018-02-12 10:31:42 -08:00
Phil Race
9ab1b854ca 8197546: Fix for 8171000 breaks Solaris + Linux builds
Reviewed-by: serb, jdv
2018-02-12 08:56:44 -08:00
Adam Petcher
b825e581a9 8197443: ArrayIndexOutOfBoundsException in UcryptoException.getError
Reviewed-by: mullan
2018-02-12 11:38:35 -05:00
Phil Race
55b32f6b41 Merge 2018-02-08 22:34:20 -08:00
Martin Buchholz
0e83ce1738 8198485: Simplify a URLClassPath constructor
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
80e322bbcc 8198484: URLClassPath should use an ArrayDeque instead of a Stack
Reviewed-by: alanb, mchung, plevart, psandoz
2018-02-08 17:25:57 -08:00
Martin Buchholz
541978b4a2 8198482: The URLClassPath field "urls" should be renamed to "unopenedUrls"
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
8f24dc87b1 8198481: Coding style cleanups for src/java.base/share/classes/jdk/internal/loader
Reviewed-by: alanb, mchung, rriggs
2018-02-08 17:25:57 -08:00
Martin Buchholz
749ad1ee03 8198480: Improve ClassLoaders static init block
Reviewed-by: alanb, mchung
2018-02-08 17:25:56 -08:00
Claes Redestad
3c9dfe26ed 8198755: Reduce cost of InvokerBytecodeGenerator::isStaticallyInvocable/-Nameable
Reviewed-by: vlivanov, psandoz, jrose
2018-02-27 21:05:07 +01:00
Aleksei Efimov
efeaca8cda 8038043: Xerces Update: XInclude update
Reviewed-by: joehw
2018-02-27 12:47:58 +00:00
Bhavesh Patel
4932677ba4 8198522: Javadoc search broken after output files organization for modules
Reviewed-by: jjg
2018-02-26 17:18:15 -08:00
Paul Sandoz
4ce3f37ba2 8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException
Reviewed-by: mchung
2018-02-26 16:05:25 -08:00
Jayathirth D V
f187ff88ae 8195131: Dead code removal for changes present in JDK-8176795
Reviewed-by: prr, pnarayanan
2018-02-08 14:58:40 +05:30
Goetz Lindenmaier
507c62fc76 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors
Reviewed-by: coleenp, dholmes, mdoerr, njian
2018-02-08 09:23:49 +01:00
Ivan Gerasimov
3a7104760a 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
Phil Race
a0b36d2293 Merge 2018-02-05 02:07:12 -08:00
Krishna Addepalli
6494aaaee7 8171000: Robot.createScreenCapture() crashes in wayland mode
Reviewed-by: serb, mhalder
2018-02-05 13:44:41 +05:30
Zhongwei Yao
0db8f238af 8196064: AArch64: Merging ld/st into ldp/stp in macro-assembler
Reviewed-by: aph
2018-02-03 10:36:58 +08:00
Stuart Marks
5d5303cb87 8189981: Improve queuing portability
Reviewed-by: skoivu, rhalade, chegar, igerasim
2018-02-02 10:56:12 -08:00
Sergey Bylokhov
d68506157a 8191239: Improve desktop file usage
Reviewed-by: prr, rhalade, aghaisas
2018-01-31 18:13:13 -08:00
Phil Race
ecc6876d79 8196289: Update src/java.desktop/share/legal/lcms.md for LCMS 2.9
Reviewed-by: mchung
2018-01-26 12:01:08 -08:00
Paul Sandoz
1a23a6264e 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Adam Petcher
412087ff64 8193409: Improve AES supporting classes
Reviewed-by: valeriep
2018-01-23 11:18:11 -05:00
Paul Sandoz
9b54e6d766 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Kim Barrett
1ac19a3166 8192025: Less referential references
Reviewed-by: coleenp, eosterlund, mchung, ahgross, rhalade
2018-01-18 22:17:11 -05: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
Joe Wang
9714f829c9 8189993: Improve document portability
Reviewed-by: rriggs, lancea, dfuchs, skoivu
2018-01-17 22:24:46 -08:00
Weijun Wang
ad392f53ee 8195662: Add T6587786.java to problem list before JDK-8195589 is resolved
Reviewed-by: mullan, jjg
2018-01-18 11:03:30 +08:00
Weijun Wang
8fb70c710a 8189997: Enhance keystore mechanisms
8194259: keytool error: java.io.IOException: Invalid secret key format

Reviewed-by: mullan, valeriep, rriggs, ahgross
2018-01-12 08:06:24 +08:00
Sergey Bylokhov
3d7092e9a2 8191696: Better mouse positioning
Reviewed-by: skoivu, rhalade, prr, aghaisas
2018-01-03 09:05:11 -08:00
Adam Petcher
093f473288 8182362: Update CipherOutputStream Usage
Clarify spec of CipherOutputStream in Javadoc comments

Reviewed-by: ascarpino
2018-01-02 09:23:01 -05:00
Paul Sandoz
d051769f79 8193414: Improvements in MethodType lookups
Reviewed-by: ahgross, jrose
2017-12-12 16:37:39 -08:00
Sean Mullan
4ea3d766b6 8186032: Disable XML Signatures signed with EC keys less than 224 bits
Reviewed-by: weijun, rhalade
2017-12-15 10:42:25 -05:00
Weijun Wang
cf8a91378d 8189969: Manifest better manifest entries
Reviewed-by: mullan
2017-12-14 08:21:36 +08:00
Sergey Bylokhov
b1dfe6179e 8192030: Better MTSchema support
Reviewed-by: skoivu, rhalade, prr, aghaisas
2017-12-10 15:29:26 -08:00
Claes Redestad
9aff9cb645 8193128: Reduce number of implementation classes returned by List/Set/Map.of()
8191418: List.of().indexOf(null) doesn't throw NullPointerException

Reviewed-by: smarks, jrose, martin, plevart
2017-12-09 03:33:39 +01:00
Sean Mullan
d32a31283c 8191358: Restore TSA certificate expiration check
Reviewed-by: coffeys, rhalade
2017-12-08 09:37:28 -05:00
Per Lidén
b2deecf8e4 8198271: Make CollectedHeap::create_heap_space_summary() virtual
Reviewed-by: kbarrett, tschatzl
2017-12-08 13:47:08 +01:00
Per Lidén
168e8b2abe 8198270: Remove dangerous assert in HandleArea::oops_do()
Reviewed-by: coleenp
2017-12-08 13:47:08 +01:00
Coleen Phillimore
28f0646ef1 8198311: Avoid uses of global malloc and free
Reviewed-by: kvn, kbarrett, dcubed, zgu
2018-02-18 13:48:01 -05:00
Coleen Phillimore
853ed9b9e3 8182847: Copy class should use assert macros
Reviewed-by: kbarrett, tschatzl
2018-02-18 13:32:24 -05:00
Jean Christophe Beyler
e8fc01629a 8194084: Obsolete FastTLABRefill and remove the related code
Remove all FastTLABRefill code and flag

Reviewed-by: mdoerr, drwhite, coleenp
2018-02-16 14:23:30 -08:00
Parvathi Somashekar
2486e0815b 4916621: Update those still using JDIScaffold to use TestScaffold instead
Update remaining tests using JDIScaffold to using TestScaffold instead.

Reviewed-by: sspitsyn, cjplummer
2018-02-16 11:22:53 -08:00
Ioi Lam
96eb1f1fdd 8191375: Add high-level jtreg VMProps to filter out CDS tests
Added vm.cds.archived.java.heap

Reviewed-by: mseledtsov, jiangli, ccheung, gtriantafill
2018-02-15 11:39:42 -08:00
Per Lidén
75c57161f1 8197994: Move JavaThread::initialize_queues() logic to G1SATBCardTableLoggingModRefBS
Reviewed-by: tschatzl, eosterlund
2018-02-16 12:18:09 +01:00
Per Lidén
b2de114d80 8197993: Remove last use of JavaThread::flush_barrier_queues()
Reviewed-by: tschatzl, eosterlund
2018-02-16 12:18:09 +01:00
Per Lidén
676fd0e040 8197992: Move the OopStorage::ParState type out of inline.hpp
Reviewed-by: tschatzl, kbarrett
2018-02-16 12:18:09 +01:00
Matthias Baesken
3ea843adfe 8198275: AIX build broken after latest whitebox.cpp changes
Reviewed-by: mdoerr
2018-02-16 11:33:13 +01:00
Ivan Gerasimov
72ac0bfc88 8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile
Reviewed-by: mullan, ahgross
2017-12-07 12:25:09 -08:00
Ivan Gerasimov
29534320cd 8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain
Reviewed-by: weijun, mullan, ahgross
2017-12-07 11:21:47 -08:00
Phil Race
232855d24e 8183032: Upgrade to LittleCMS 2.9
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2017-12-06 14:35:58 -08:00
Weijun Wang
0b873290a4 8189977: Improve permission portability
Reviewed-by: rriggs
2017-12-06 21:17:19 +08:00
Harold Seigel
a7c9c021ba 8190478: Improved interface method selection
Reviewed-by: acorn, ahgross, jwilhelm, rhalade
2017-12-05 09:59:36 -05:00
Tobias Hartmann
7c7422301e 8190877: Better handling of abstract classes
Reviewed-by: kvn, vlivanov, rhalade, ahgross, jwilhelm
2017-11-16 12:03:42 -05:00
Sergey Bylokhov
2bb8cb2d4a 8189989: Improve container portability
Reviewed-by: prr, azvegint, rhalade, skoivu
2017-11-15 07:07:16 -08:00
Harold Seigel
f988f60dc8 8189123: More consistent classloading
Reviewed-by: acorn, ahgross, rhalade
2017-11-07 16:07:36 -05:00
Joe Wang
8ea00aed64 8190227: Forward port 8188880 to JDK10CPU
Reviewed-by: dfuchs, lancea, rriggs
2017-10-31 11:35:15 -07:00
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
24372 changed files with 2501678 additions and 434434 deletions

View File

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

36
.hgtags
View File

@@ -471,3 +471,39 @@ e569e83139fdfbecfeb3cd9014d560917787f158 jdk-10+38
107413b070b92c88bde6230ceb4a19b579781068 jdk-10+43
dfa46cfe56346884a61efdc30dc50f7505d66761 jdk-11+1
03ae177c26b016353e5ea1cab6ffd051dfa086ca jdk-11+2
663f20fc51091bd7f95d18448850ba091207b7bd jdk-10+44
4f96cf952e71cb8a127334494faf28880c26181b jdk-10+45
1fd4d6068f54561cfc67d54fc9ca84af7212c4f8 jdk-11+3
e59941f7247d451fa7df9eaef3fce0f492f8420c jdk-11+4
d5c43e9f08fb9a7c74aae0d48daf17f2ad2afaef jdk-11+5
3acb379b86725c47e7f33358cb22efa8752ae532 jdk-11+6
f7363de371c9a1f668bd0a01b7df3d1ddb9cc58b jdk-11+7
755e1b55a4dff510f9639cdb5c5e82549a7e09b3 jdk-11+8
0c3e252cea44f06aef570ef464950ab97c669970 jdk-11+9
6fa770f9f8ab296e1ce255ec17ccf6d4e1051886 jdk-10+46
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
ea900a7dc7d77dee30865c60eabd87fc24b1037c jdk-11+24
331888ea4a788df801b1edf8836646cd25fc758b jdk-11+25
945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26
9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27
69b438908512d3dfef5852c6a843a5778333a309 jdk-12+2
990db216e7199b2ba9989d8fa20b657e0ca7d969 jdk-12+3
499b873761d8e8a1cc4aa649daf04cbe98cbce77 jdk-12+4
f8696e0ab9b795030429fc3374ec03e378fd9ed7 jdk-12+5
7939b3c4e4088bf4f70ec5bbd8030393b653372f jdk-12+6
ef57958c7c511162da8d9a75f0b977f0f7ac464e jdk-12+7

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

@@ -68,9 +68,12 @@ mkdir $IDEA_OUTPUT || exit 1
cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
MAKE_DIR="$SCRIPT_DIR/../make"
SUPPORT_DIR="$SCRIPT_DIR/../build/.idea-support"
IDEA_MAKE="$MAKE_DIR/idea"
IDEA_TEMPLATE="$IDEA_MAKE/template"
mkdir -p $SUPPORT_DIR
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
#init template variables
@@ -124,6 +127,11 @@ if [ "x$SPEC" = "x" ] ; then
echo "FATAL: SPEC is empty" >&2; exit 1
fi
# move build.xml out of .idea, see IDEA-189915
IDEA_BUILD_OLD=$IDEA_BUILD
IDEA_BUILD=$SUPPORT_DIR/build.xml
mv $IDEA_BUILD_OLD $IDEA_BUILD
SOURCE_FOLDER=" <sourceFolder url=\"file://\$MODULE_DIR\$/####\" isTestSource=\"false\" />"
SOURCE_FOLDERS_DONE="false"

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

@@ -4,7 +4,7 @@
<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>
<title>Building the JDK</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css">
<!--[if lt IE 9]>
@@ -14,7 +14,7 @@
</head>
<body>
<header>
<h1 class="title">Building OpenJDK</h1>
<h1 class="title">Building the JDK</h1>
</header>
<nav id="TOC">
<ul>
@@ -44,10 +44,7 @@
<li><a href="#ibm-xl-cc">IBM XL C/C++</a></li>
</ul></li>
<li><a href="#boot-jdk-requirements">Boot JDK Requirements</a><ul>
<li><a href="#jdk-8-on-linux">JDK 8 on Linux</a></li>
<li><a href="#jdk-8-on-windows">JDK 8 on Windows</a></li>
<li><a href="#jdk-8-on-macos">JDK 8 on macOS</a></li>
<li><a href="#jdk-8-on-aix">JDK 8 on AIX</a></li>
<li><a href="#getting-jdk-binaries">Getting JDK binaries</a></li>
</ul></li>
<li><a href="#external-library-requirements">External Library Requirements</a><ul>
<li><a href="#freetype">FreeType</a></li>
@@ -109,11 +106,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>
@@ -129,8 +126,8 @@
</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>
@@ -142,14 +139,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 it's children will inherit those attributes.</p></li>
<li><p>Do not put the JDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.</p></li>
<li><p>Clone the JDK repository using the Cygwin command line <code>hg</code> client as instructed in this document. That is, do <em>not</em> use another Mercurial client such as TortoiseHg.</p></li>
</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>
@@ -159,9 +156,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 &quot;port&quot; 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">
@@ -188,17 +185,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-freetype=/cygdrive/c/freetype</code> rather than <code>--with-freetype=c:\freetype</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>
@@ -213,11 +210,11 @@
<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.13 (High Sierra). At the time of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).</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>
@@ -226,7 +223,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 there's more or less a one-to-one correlation between target operating system and toolchain.</p>
<table>
<thead>
<tr class="header">
@@ -257,7 +254,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">
@@ -268,11 +265,11 @@
<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>
<td style="text-align: left;">Apple Xcode 6.3 (using clang 6.1.0)</td>
<td style="text-align: left;">Apple Xcode 9.4 (using clang 9.1.0)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Solaris</td>
@@ -280,23 +277,23 @@
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2013 update 4</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.5.5</td>
</tr>
</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>The oldest supported version of Xcode is 8.</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/Xcode8.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>
@@ -356,45 +353,32 @@ cc: Sun C 5.13 SunOS_i386 2014/10/20
$ CC -V
CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2013.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2010</code>.</p>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2017. Versions older than 2017 are unlikely to continue working for long.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2015</code>.</p>
<p>If you get <code>LINK: fatal error LNK1123: failure during conversion to COFF: file invalid</code> when building using Visual Studio 2010, you have encountered <a href="http://support.microsoft.com/kb/2757355">KB2757355</a>, a bug triggered by a specific installation order. However, the solution suggested by the KB article does not always resolve the problem. See <a href="https://stackoverflow.com/questions/10888391">this stackoverflow discussion</a> for other suggestions.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
<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 an 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 got the latest update version, since JDK 8 GA might not be able to build JDK 9 on all platforms.</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="jdk-8-on-linux">JDK 8 on Linux</h3>
<p>On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-8-jdk</code> is typically enough to install OpenJDK 8. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-1.8.0-openjdk-devel</code>.</p>
<h3 id="jdk-8-on-windows">JDK 8 on Windows</h3>
<p>No pre-compiled binaries of OpenJDK 8 are readily available for Windows at the time of writing. 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 Windows.</p>
<h3 id="jdk-8-on-macos">JDK 8 on macOS</h3>
<p>No pre-compiled binaries of OpenJDK 8 are readily available for macOS at the time of writing. An alternative is to download the <a href="http://www.oracle.com/technetwork/java/javase/downloads">Oracle JDK</a>, or to install it using <code>brew cask install java</code>. Another option is the <a href="https://adoptopenjdk.net/">Adopt OpenJDK Project</a>, which publishes experimental prebuilt binaries for macOS.</p>
<h3 id="jdk-8-on-aix">JDK 8 on AIX</h3>
<p>No pre-compiled binaries of OpenJDK 8 are readily available for AIX at the time of writing. A starting point for working with OpenJDK on AIX is the <a href="http://openjdk.java.net/projects/ppc-aix-port/">PowerPC/AIX Port Project</a>.</p>
<p>Paradoxically, building the JDK requires a pre-existing JDK. This is called the &quot;boot JDK&quot;. 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 &quot;build itself&quot;, 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 you've 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>
<h3 id="getting-jdk-binaries">Getting JDK binaries</h3>
<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 required on all platforms. At least version 2.3 is required.</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 libcups2-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install cups-devel</code>.</li>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
<li>To install on Solaris, try running <code>pkg install system/library/freetype-2</code>.</li>
<li>To install on macOS, try running <code>brew install freetype</code>.</li>
<li>To install on Windows, see <a href="#building-freetype-on-windows">below</a>.</li>
</ul>
<p>Use <code>--with-freetype=&lt;path&gt;</code> if <code>configure</code> does not properly locate your FreeType files.</p>
<h4 id="building-freetype-on-windows">Building FreeType on Windows</h4>
<p>On Windows, there is no readily available compiled version of FreeType. OpenJDK can help you compile FreeType from source. Download the FreeType sources and unpack them into an arbitrary directory:</p>
<pre><code>wget http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz
tar -xzf freetype-2.5.3.tar.gz</code></pre>
<p>Then run <code>configure</code> with <code>--with-freetype-src=&lt;freetype_src&gt;</code>. This will automatically build the freetype library into <code>&lt;freetype_src&gt;/lib64</code> for 64-bit builds or into <code>&lt;freetype_src&gt;/lib32</code> for 32-bit builds. Afterwards you can always use <code>--with-freetype-include=&lt;freetype_src&gt;/include</code> and <code>--with-freetype-lib=&lt;freetype_src&gt;/lib[32|64]</code> for other builds.</p>
<p>Alternatively you can unpack the sources like this to use the default directory:</p>
<pre><code>tar --one-top-level=$HOME/freetype --strip-components=1 -xzf freetype-2.5.3.tar.gz</code></pre>
<p>Use <code>--with-freetype-include=&lt;path&gt;</code> and <code>--with-freetype-lib=&lt;path&gt;</code> if <code>configure</code> does not automatically locate the platform FreeType files.</p>
<h3 id="cups">CUPS</h3>
<p>CUPS, <a href="http://www.cups.org">Common UNIX Printing System</a> header files are required on all platforms, except Windows. Often these files are provided by your operating system.</p>
<ul>
@@ -427,7 +411,7 @@ tar -xzf freetype-2.5.3.tar.gz</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>
@@ -437,16 +421,16 @@ tar -xzf freetype-2.5.3.tar.gz</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>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 &quot;configuration&quot;, which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
<pre><code>bash configure [options]</code></pre>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
@@ -462,7 +446,7 @@ tar -xzf freetype-2.5.3.tar.gz</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>
@@ -494,7 +478,7 @@ tar -xzf freetype-2.5.3.tar.gz</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>
@@ -513,7 +497,7 @@ tar -xzf freetype-2.5.3.tar.gz</code></pre>
<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 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 &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>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>
@@ -521,7 +505,7 @@ tar -xzf freetype-2.5.3.tar.gz</code></pre>
<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>
@@ -554,7 +538,7 @@ tar -xzf freetype-2.5.3.tar.gz</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>
@@ -570,15 +554,16 @@ tar -xzf freetype-2.5.3.tar.gz</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>This requires a more complex setup and build procedure. This section assumes you are familiar with cross-compiling in general, and will only deal with the particularities of cross-compiling the JDK. If you are new to cross-compiling, please see the <a href="https://en.wikipedia.org/wiki/Cross_compiler#External_links">external links at Wikipedia</a> for a good start on reading materials.</p>
<p>Cross-compiling the JDK requires you to be able to build both for the build platform and for the target platform. The reason for the former is that we need to build and execute tools during the build process, both native tools and Java tools.</p>
<p>If all you want to do is to compile a 32-bit version, for the same OS, on a 64-bit machine, consider using <code>--with-target-bits=32</code> instead of doing a full-blown cross-compilation. (While this surely is possible, it's a lot more work and will take much longer to build.)</p>
<h3 id="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>
@@ -650,14 +635,14 @@ 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>
@@ -671,14 +656,14 @@ cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</c
<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 it's 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>
@@ -719,11 +704,11 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
<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>
@@ -758,16 +743,11 @@ cannot create ... Permission denied
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 <script type="text/javascript">
<!--
h='&#x6f;&#112;&#x65;&#110;&#106;&#100;&#x6b;&#46;&#106;&#x61;&#118;&#x61;&#46;&#110;&#x65;&#116;';a='&#64;';n='&#98;&#x75;&#x69;&#108;&#100;&#x2d;&#100;&#x65;&#118;';e=n+a+h;
document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'" clas'+'s="em' + 'ail">'+e+'<\/'+'a'+'>');
// -->
</script><noscript>&#98;&#x75;&#x69;&#108;&#100;&#x2d;&#100;&#x65;&#118;&#32;&#x61;&#116;&#32;&#x6f;&#112;&#x65;&#110;&#106;&#100;&#x6b;&#32;&#100;&#x6f;&#116;&#32;&#106;&#x61;&#118;&#x61;&#32;&#100;&#x6f;&#116;&#32;&#110;&#x65;&#116;</noscript>. 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 none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to <a href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>. Please include the relevant parts of the configure and/or build log.</p>
<p>If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<h2 id="hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</h2>
<h3 id="setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</h3>
<p>To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as <a href="http://openjdk.java.net/projects/code-tools/defpath">defpath</a>. It will help you setup a proper push path for pushing changes to OpenJDK.</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. Here's one way to do this:</p>
<pre><code>cd ~
mkdir hg-ext
@@ -808,7 +788,7 @@ sudo mv /tmp/configure /usr/local/bin</code></pre>
<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>
@@ -831,10 +811,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>
@@ -869,11 +849,11 @@ test-support/</code></pre>
</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>
@@ -883,12 +863,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, \
@@ -904,9 +884,9 @@ test-support/</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>
<h2 id="contributing-to-the-jdk">Contributing to the JDK</h2>
<p>So, now you've 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/">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>
</body>

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,48 +148,48 @@ 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
rule also applies to input to the build system, e.g. in arguments to
`configure`. So, use `--with-freetype=/cygdrive/c/freetype` rather than
`--with-freetype=c:\freetype`. For details on this conversion, see the section
`configure`. So, use `--with-msvcr-dll=/cygdrive/c/msvcr100.dll` rather than
`--with-msvcr-dll=c:\msvcr100.dll`. For details on this conversion, see the section
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,21 @@ 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
10.12.5 (Sierra), using XCode 8.3.2 and `--disable-warnings-as-errors`.
It is recommended that you use at least Mac OS X 10.13 (High Sierra). At the time
of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).
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 +268,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 +283,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
macOS Apple Xcode 6.3 (using clang 6.1.0)
Linux gcc 7.3.0
macOS Apple Xcode 9.4 (using clang 9.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2013 update 4
Windows Microsoft Visual Studio 2017 update 15.5.5
### 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.
@@ -315,25 +314,25 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
### Apple Xcode
The oldest supported version of Xcode is 5.
The oldest supported version of Xcode is 8.
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
of Xcode, use `xcode-select -s` before running `configure`, or use
`--with-toolchain-path` to point to the version of Xcode to use, e.g.
`configure --with-toolchain-path=/Applications/Xcode5.app/Contents/Developer/usr/bin`
`configure --with-toolchain-path=/Applications/Xcode8.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.
@@ -372,11 +371,11 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30
The minimum accepted version of Visual Studio is 2010. Older versions will not
be accepted by `configure`. The maximum accepted version of Visual Studio is
2013.
2017. Versions older than 2017 are unlikely to continue working for long.
If you have multiple versions of Visual Studio installed, `configure` will by
default pick the latest. You can request a specific version to be used by
setting `--with-toolchain-version`, e.g. `--with-toolchain-version=2010`.
setting `--with-toolchain-version`, e.g. `--with-toolchain-version=2015`.
If you get `LINK: fatal error LNK1123: failure during conversion to COFF: file
invalid` when building using Visual Studio 2010, you have encountered
@@ -395,49 +394,38 @@ 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 an 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
you are following the *N-1* rule, make sure you got the latest update version,
since JDK 8 GA might not be able to build JDK 9 on all platforms.
should be a JDK of major version *N-1*, 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 *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.
If the Boot JDK is not automatically detected, or the wrong JDK is picked, use
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
`--with-boot-jdk` to point to the JDK to use.
### JDK 8 on Linux
### Getting JDK binaries
On apt-based distros (like Debian and Ubuntu), `sudo apt-get install
openjdk-8-jdk` is typically enough to install OpenJDK 8. On rpm-based distros
(like Fedora and Red Hat), try `sudo yum install java-1.8.0-openjdk-devel`.
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.
### JDK 8 on Windows
No pre-compiled binaries of OpenJDK 8 are readily available for Windows at the
time of writing. 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 Windows.
### JDK 8 on macOS
No pre-compiled binaries of OpenJDK 8 are readily available for macOS at the
time of writing. An alternative is to download the [Oracle JDK](
http://www.oracle.com/technetwork/java/javase/downloads), or to install it
using `brew cask install java`. Another option is the [Adopt OpenJDK Project](
https://adoptopenjdk.net/), which publishes experimental prebuilt binaries for
macOS.
### JDK 8 on AIX
No pre-compiled binaries of OpenJDK 8 are readily available for AIX at the
time of writing. A starting point for working with OpenJDK on AIX is
the [PowerPC/AIX Port Project](http://openjdk.java.net/projects/ppc-aix-port/).
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 a JDK \<VERSION\>. On rpm-based distros (like
Fedora and Red Hat), try `sudo yum install java-<VERSION>-openjdk-devel`.
## External Library Requirements
@@ -456,43 +444,19 @@ and the lib directory separately.
### FreeType
FreeType2 from [The FreeType Project](http://www.freetype.org/) is required on
all platforms. At least version 2.3 is required.
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library,
rather than bundling the JDKs own copy.
* To install on an apt-based Linux, try running `sudo apt-get install
libcups2-dev`.
libfreetype6-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
cups-devel`.
freetype-devel`.
* To install on Solaris, try running `pkg install system/library/freetype-2`.
* To install on macOS, try running `brew install freetype`.
* To install on Windows, see [below](#building-freetype-on-windows).
Use `--with-freetype=<path>` if `configure` does not properly locate your
FreeType files.
#### Building FreeType on Windows
On Windows, there is no readily available compiled version of FreeType. OpenJDK
can help you compile FreeType from source. Download the FreeType sources and
unpack them into an arbitrary directory:
```
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz
tar -xzf freetype-2.5.3.tar.gz
```
Then run `configure` with `--with-freetype-src=<freetype_src>`. This will
automatically build the freetype library into `<freetype_src>/lib64` for 64-bit
builds or into `<freetype_src>/lib32` for 32-bit builds. Afterwards you can
always use `--with-freetype-include=<freetype_src>/include` and
`--with-freetype-lib=<freetype_src>/lib[32|64]` for other builds.
Alternatively you can unpack the sources like this to use the default
directory:
```
tar --one-top-level=$HOME/freetype --strip-components=1 -xzf freetype-2.5.3.tar.gz
```
Use `--with-freetype-include=<path>` and `--with-freetype-lib=<path>`
if `configure` does not automatically locate the platform FreeType files.
### CUPS
@@ -558,7 +522,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
@@ -578,7 +542,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
@@ -602,16 +566,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:
@@ -655,7 +619,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
@@ -716,9 +680,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`).
@@ -762,7 +726,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.)
@@ -783,7 +747,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)
@@ -842,7 +806,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`
@@ -862,20 +826,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
@@ -890,12 +860,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.
@@ -1054,9 +1024,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
@@ -1069,15 +1039,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
@@ -1122,12 +1092,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
@@ -1147,7 +1117,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
@@ -1256,9 +1226,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.
@@ -1273,7 +1243,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.
@@ -1371,7 +1341,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.
@@ -1382,7 +1352,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.
@@ -1490,10 +1460,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
@@ -1541,7 +1512,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
@@ -1552,7 +1523,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)
@@ -1628,7 +1599,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.
@@ -1643,7 +1614,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`.
@@ -1668,7 +1639,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
@@ -1680,7 +1651,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
@@ -1689,7 +1660,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
@@ -1734,13 +1705,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_OTIONS=-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_OTIONS=-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_OTIONS=-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>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<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_OTIONS=-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
@@ -140,11 +151,11 @@ pass unnoticed.
To separate multiple keyword=value pairs, use `;` (semicolon). Since the shell
normally eats `;`, the recommended usage is to write the assignment inside
qoutes, e.g. `JTREG="...;..."`. This will also make sure spaces are preserved,
as in `JTREG="VM_OTIONS=-XshowSettings -Xlog:gc+ref=debug"`.
as in `JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"`.
(Other ways are possible, e.g. using backslash: `JTREG=JOBS=1\;TIMEOUT=8`.
Also, as a special technique, the string `%20` will be replaced with space for
certain options, e.g. `JTREG=VM_OTIONS=-XshowSettings%20-Xlog:gc+ref=debug`.
certain options, e.g. `JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug`.
This can be useful if you have layers of scripts and have trouble getting
proper quoting of command line arguments through.)

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,22 +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)
JRE_COMPACT1_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact1
JRE_COMPACT2_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact2
JRE_COMPACT3_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact3
ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif
endif
@@ -207,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), \
@@ -237,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), \
@@ -256,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.
@@ -281,35 +233,6 @@ endif
################################################################################
ifneq ($(filter profiles-bundles, $(MAKECMDGOALS)), )
ifeq ($(OPENJDK_TARGET_OS), macosx)
$(error Creating compact profiles bundles on macosx is unsupported)
endif
define GenerateCompactProfilesBundles
ALL_JRE_COMPACT$1_FILES := $$(call CacheFind, $$(JRE_COMPACT$1_IMAGE_DIR))
JRE_COMPACT$1_BUNDLE_FILES := $$(filter-out \
$$(SYMBOLS_EXCLUDE_PATTERN), \
$$(ALL_JRE_COMPACT$1_FILES))
$$(eval $$(call SetupBundleFile, BUILD_JRE_COMPACT$1_BUNDLE, \
BUNDLE_NAME := $$(JRE_COMPACT$1_BUNDLE_NAME), \
FILES := $$(JRE_COMPACT$1_BUNDLE_FILES), \
BASE_DIRS := $$(JRE_COMPACT$1_IMAGE_DIR), \
SUBDIR := $$(JRE_COMPACT$1_BUNDLE_SUBDIR), \
))
PROFILES_TARGETS += $$(BUILD_JRE_COMPACT$1_BUNDLE)
endef
$(eval $(call GenerateCompactProfilesBundles,1))
$(eval $(call GenerateCompactProfilesBundles,2))
$(eval $(call GenerateCompactProfilesBundles,3))
endif
################################################################################
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
TEST_BUNDLE_FILES := $(call CacheFind, $(TEST_IMAGE_DIR))
@@ -345,8 +268,7 @@ $(eval $(call IncludeCustomExtension, Bundles.gmk))
################################################################################
product-bundles: $(PRODUCT_TARGETS)
profiles-bundles: $(PROFILES_TARGETS)
test-bundles: $(TEST_TARGETS)
docs-bundles: $(DOCS_TARGETS)
.PHONY: all default product-bundles profiles-bundles test-bundles docs-bundles
.PHONY: all default product-bundles test-bundles docs-bundles

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,32 +171,27 @@ $(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, \
))
$(eval $(call SetupBuildDemo, SwingSet2, \
DEMO_SUBDIR := jfc, \
EXTRA_COPY_TO_JAR := .java, \
EXTRA_MANIFEST_ATTR := SplashScreen-Image: resources/images/splash.png, \
DISABLE_SJAVAC := true, \
))
$(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, \
))
@@ -254,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, \
))
@@ -285,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

@@ -51,14 +51,6 @@ java.base_EXCLUDES += java/lang/doc-files
# data files and shouldn't go in the product
java.base_EXCLUDE_FILES += sun/text/resources/BreakIteratorRules.java
ifneq ($(filter solaris macosx linux windows,$(OPENJDK_TARGET_OS)), )
java.base_EXCLUDE_FILES += \
sun/nio/ch/AbstractPollSelectorImpl.java \
sun/nio/ch/PollSelectorImpl.java \
sun/nio/ch/PollSelectorProvider.java \
#
endif
ifneq ($(OPENJDK_TARGET_OS), solaris)
java.base_EXCLUDE_FILES += \
SolarisLoginModule.java \
@@ -252,6 +244,10 @@ java.prefs_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,
################################################################################
java.transaction.xa_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:javax.*'
################################################################################
java.sql_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
java.sql_SETUP := GENERATE_JDKBYTECODE_NOWARNINGS
@@ -329,6 +325,10 @@ jdk.internal.le_COPY += .properties
################################################################################
jdk.internal.opt_COPY += .properties
################################################################################
jdk.jcmd_COPY += _options
################################################################################
@@ -345,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
################################################################################
@@ -443,12 +449,14 @@ jdk.internal.vm.compiler_ADD_JAVAC_FLAGS += -parameters -XDstringConcat=inline \
#
jdk.internal.vm.compiler_EXCLUDES += \
org.graalvm.collections.test \
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 \
@@ -503,6 +511,10 @@ jdk.aot_ADD_JAVAC_FLAGS += -parameters -XDstringConcat=inline \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.sparc=jdk.internal.vm.compiler,jdk.aot \
#
jdk.aot_EXCLUDES += \
jdk.tools.jaotc.test
#
################################################################################
sun.charsets_COPY += .dat
@@ -513,6 +525,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
@@ -603,9 +625,14 @@ $(JDK_OUTPUTDIR)/modules/%_zh_HK.properties: $(JDK_OUTPUTDIR)/modules/%_zh_TW.pr
$(install-file)
CreateHkTargets = \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1))))
$(call FilterExcludedTranslations, \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
) \
), \
.properties \
)
ifeq ($(MODULE), java.sql.rowset)
TARGETS += $(call CreateHkTargets, $(java.sql.rowset_CLEAN_FILES))
@@ -637,6 +664,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)/org.graalvm.word/src \
$(SRC_DIR)/org.graalvm.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)/org.graalvm.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,43 +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)/org.graalvm.word/src \
$(SRC_DIR)/org.graalvm.collections/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, \
@@ -80,10 +80,15 @@ ifneq ($(MAN_DIR), )
DEPS += $(call CacheFind, $(MAN_DIR))
endif
# If a specific modules_legal dir exists for this module, only pick up files
# from there. These files were explicitly filtered or modified in <module>-copy
# targets. For the rest, just pick up everything from the source legal dirs.
LEGAL_NOTICES := \
$(call uniq, $(SUPPORT_OUTPUTDIR)/modules_legal/java.base \
$(call FindModuleLegalDirs, $(MODULE))) \
#
$(SUPPORT_OUTPUTDIR)/modules_legal/common \
$(if $(wildcard $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE)), \
$(wildcard $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE)), \
$(call FindModuleLegalSrcDirs, $(MODULE)) \
)
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
DEPS += $(call CacheFind, $(LEGAL_NOTICES))
@@ -112,6 +117,27 @@ ifeq ($(MODULE), java.base)
--hash-modules '^(?!$(EXCLUDE_PATTERN)$$)'
endif
endif
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 ($(MSVCR_DLL), )
ifneq ($(wildcard $(LIBS_DIR)/$(notdir $(MSVCR_DLL))), )
JMOD_FLAGS += --exclude '$(notdir $(MSVCR_DLL))'
endif
endif
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
# Changes to the jmod tool itself should also trigger a rebuild of all jmods.
@@ -128,18 +154,21 @@ ifeq ($(INTERIM_JMOD), true)
DEPS := $(filter-out $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/classlist, $(DEPS))
endif
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}'
# Create jmods in a temp dir and then move them into place to keep the
# module path in $(IMAGES_OUTPUTDIR)/jmods valid at all times.
$(JMODS_DIR)/$(MODULE).jmod: $(DEPS)
$(call LogWarn, Creating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call MakeDir, $(JMODS_DIR) $(JMODS_TEMPDIR))
$(RM) $@ $(JMODS_TEMPDIR)/$(notdir $@)
$(JMOD) create \
--module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) \
--exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}' \
$(JMOD_FLAGS) $(JMODS_TEMPDIR)/$(notdir $@)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/jmods/$(MODULE).jmod, \
$(JMOD) create \
--module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) \
$(JMOD_FLAGS) $(JMODS_TEMPDIR)/$(notdir $@) \
)
$(MV) $(JMODS_TEMPDIR)/$(notdir $@) $@
TARGETS += $(JMODS_DIR)/$(MODULE).jmod

View File

@@ -61,10 +61,10 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
$(SUPPORT_OUTPUTDIR)/rmic/* $(TOPDIR)/src/*/share/doc/stub)
# URLs
JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase9&amp;id=homepage
JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase10&amp;id=homepage
BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/
COPYRIGHT_URL := {@docroot}/../legal/copyright.html
LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java10speclicense.html
LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java$(VERSION_NUMBER)speclicense.html
REDISTRIBUTION_URL := http://www.oracle.com/technetwork/java/redist-137594.html
# In order to get a specific ordering it's necessary to specify the total
@@ -85,7 +85,6 @@ JAVADOC_TAGS := \
-tag throws \
-taglet build.tools.taglet.ModuleGraph \
-tag since \
-tag version \
-tag serialData \
-tag factory \
-tag see \
@@ -108,7 +107,7 @@ JAVADOC_DISABLED_DOCLINT := accessibility html missing syntax reference
# The initial set of options for javadoc
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-serialwarn -encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -html5 -javafx --expand-requires transitive \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary
# The reference options must stay stable to allow for comparisons across the
@@ -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) \
@@ -429,7 +432,7 @@ ifneq ($(findstring javafx., $(IMPORTED_MODULES)), )
endif
# All modules to have docs generated by docs-jdk-api target
JDK_MODULES := $(sort $(DOCS_MODULES))
JDK_MODULES := $(sort $(filter-out $(MODULES_FILTER), $(DOCS_MODULES)))
$(eval $(call SetupApiDocsGeneration, JDK_API, \
MODULES := $(JDK_MODULES), \
@@ -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)
@@ -561,7 +565,7 @@ $(eval $(call SetupCopyFiles, COPY_JDWP_PROTOCOL, \
JDK_SPECS_TARGETS += $(COPY_JDWP_PROTOCOL)
# Get jvmti.html from the main jvm variant (all variants' jvmti.html are identical).
JVMTI_HTML := $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html
JVMTI_HTML ?= $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html
$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \
FILES := $(JVMTI_HTML), \
DEST := $(DOCS_OUTPUTDIR)/specs, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -61,11 +61,12 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXE_SUFFIX) $(CLASSLIST_JAR)
$(call MakeDir, $(LINK_OPT_DIR))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@ \
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
$(LOG_DEBUG) 2>&1 > $(JLI_TRACE_FILE)
$(GREP) -v HelloClasslist $@.raw > $@
# The jli trace is created by the same recipe as classlist. By declaring these
# dependencies, make will correctly rebuild both jli trace and classlist

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, profiles)
$(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)
@@ -51,7 +51,6 @@ help:
$(info $(_) # result in incorrect build results!)
$(info $(_) make docs # Create all docs)
$(info $(_) make docs-jdk-api # Create just JDK javadocs)
$(info $(_) make profiles # Create complete jre compact profile images)
$(info $(_) make bootcycle-images # Build images twice, second time with newly built JDK)
$(info $(_) make install # Install the generated images locally)
$(info $(_) make reconfigure # Rerun configure with the same arguments as last time)

View File

@@ -47,50 +47,8 @@ JRE_MODULES += $(filter $(ALL_MODULES), $(BOOT_MODULES) \
$(PLATFORM_MODULES) $(JRE_TOOL_MODULES))
JDK_MODULES += $(ALL_MODULES)
# Modules list for compact builds
JRE_COMPACT1_MODULES := \
java.logging \
java.scripting \
jdk.localedata \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.unsupported \
#
JRE_COMPACT2_MODULES := \
$(JRE_COMPACT1_MODULES) \
java.rmi \
java.sql \
java.xml \
jdk.xml.dom \
jdk.httpserver \
#
JRE_COMPACT3_MODULES := \
$(JRE_COMPACT2_MODULES) \
java.smartcardio \
java.compiler \
java.instrument \
java.management \
java.management.rmi \
java.naming \
java.prefs \
java.security.jgss \
java.security.sasl \
java.sql.rowset \
java.xml.crypto \
jdk.management \
jdk.naming.dns \
jdk.naming.rmi \
jdk.sctp \
jdk.security.auth \
#
JRE_MODULES_LIST := $(call CommaList, $(JRE_MODULES))
JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
JRE_COMPACT1_MODULES_LIST := $(call CommaList, $(JRE_COMPACT1_MODULES))
JRE_COMPACT2_MODULES_LIST := $(call CommaList, $(JRE_COMPACT2_MODULES))
JRE_COMPACT3_MODULES_LIST := $(call CommaList, $(JRE_COMPACT3_MODULES))
################################################################################
@@ -117,7 +75,7 @@ JLINK_ORDER_RESOURCES += \
JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(IMAGES_OUTPUTDIR)/jmods \
--endian $(OPENJDK_BUILD_CPU_ENDIAN) \
--endian $(OPENJDK_TARGET_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
--dedup-legal-notices=error-if-not-same-content \
@@ -132,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) \
@@ -143,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) \
@@ -152,45 +110,8 @@ $(JRE_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
)
$(TOUCH) $@
$(JRE_COMPACT1_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JRE_COMPACT1_MODULES_LIST) $(BASE_RELEASE_FILE)
$(ECHO) Creating jre compact1 jimage
$(RM) -r $(JRE_COMPACT1_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jre_compact1, \
$(JLINK_TOOL) --add-modules $(JRE_COMPACT1_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) \
--output $(JRE_COMPACT1_IMAGE_DIR) \
)
$(TOUCH) $@
$(JRE_COMPACT2_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JRE_COMPACT2_MODULES_LIST) $(BASE_RELEASE_FILE)
$(ECHO) Creating jre compact2 jimage
$(RM) -r $(JRE_COMPACT2_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jre_compact2, \
$(JLINK_TOOL) --add-modules $(JRE_COMPACT2_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) \
--output $(JRE_COMPACT2_IMAGE_DIR) \
)
$(TOUCH) $@
$(JRE_COMPACT3_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JRE_COMPACT3_MODULES_LIST) $(BASE_RELEASE_FILE)
$(ECHO) Creating jre compact3 jimage
$(RM) -r $(JRE_COMPACT3_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jre_compact3, \
$(JLINK_TOOL) --add-modules $(JRE_COMPACT3_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) \
--output $(JRE_COMPACT3_IMAGE_DIR) \
)
$(TOUCH) $@
TOOL_JRE_TARGETS := $(JRE_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TOOL_JDK_TARGETS := $(JDK_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TOOL_JRE_COMPACT1_TARGETS := $(JRE_COMPACT1_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TOOL_JRE_COMPACT2_TARGETS := $(JRE_COMPACT2_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TOOL_JRE_COMPACT3_TARGETS := $(JRE_COMPACT3_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
################################################################################
# /man dir
@@ -200,116 +121,117 @@ TOOL_JRE_COMPACT3_TARGETS := $(JRE_COMPACT3_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
#
# Avoid evaluating this whole section on windows for speed and stability
ifneq ($(OPENJDK_TARGET_OS), windows)
JRE_MAN_PAGES += \
java.1 \
jjs.1 \
keytool.1 \
orbd.1 \
pack200.1 \
rmid.1 \
rmiregistry.1 \
servertool.1 \
unpack200.1
ifeq ($(BUILD_MANPAGES), true)
JRE_MAN_PAGES += \
java.1 \
jjs.1 \
keytool.1 \
orbd.1 \
pack200.1 \
rmid.1 \
rmiregistry.1 \
servertool.1 \
unpack200.1
JDK_MAN_PAGES += \
$(JRE_MAN_PAGES) \
appletviewer.1 \
idlj.1 \
jar.1 \
jarsigner.1 \
javac.1 \
javadoc.1 \
javap.1 \
jconsole.1 \
jcmd.1 \
jdb.1 \
jdeps.1 \
jinfo.1 \
jmap.1 \
jps.1 \
jrunscript.1 \
jstack.1 \
jstat.1 \
jstatd.1 \
rmic.1 \
serialver.1
JDK_MAN_PAGES += \
$(JRE_MAN_PAGES) \
idlj.1 \
jar.1 \
jarsigner.1 \
javac.1 \
javadoc.1 \
javap.1 \
jconsole.1 \
jcmd.1 \
jdb.1 \
jdeps.1 \
jinfo.1 \
jmap.1 \
jps.1 \
jrunscript.1 \
jstack.1 \
jstat.1 \
jstatd.1 \
rmic.1 \
serialver.1
# This variable is potentially overridden in the closed makefile.
MAN_SRC_BASEDIR ?= $(TOPDIR)/src
# This variable is potentially overridden in the closed makefile.
MAN_SRC_BASEDIR ?= $(TOPDIR)/src
ifeq ($(OPENJDK_TARGET_OS), linux)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/linux/doc
MAN1_SUBDIR = man
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/solaris/doc
MAN1_SUBDIR = sun/man/man1
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/bsd/doc
MAN1_SUBDIR = man
endif
ifeq ($(OPENJDK_TARGET_OS), linux)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/linux/doc
MAN1_SUBDIR = man
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/solaris/doc
MAN1_SUBDIR = sun/man/man1
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/bsd/doc
MAN1_SUBDIR = man
endif
$(JRE_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(JRE_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JDK_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(JDK_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
ifeq ($(OPENJDK_TARGET_OS), solaris)
$(JRE_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
ifeq ($(OPENJDK_TARGET_OS), solaris)
$(JRE_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Converting $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JDK_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(JDK_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Converting $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
endif
endif
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
$(JRE_IMAGE_DIR)/man/ja:
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
$(JRE_IMAGE_DIR)/man/ja:
$(call LogInfo, Creating $(patsubst $(OUTPUTDIR)/%,%,$@))
$(CD) $(@D) && $(RM) ja && $(LN) -s ja_JP.UTF-8 ja
$(JDK_IMAGE_DIR)/man/ja:
$(JDK_IMAGE_DIR)/man/ja:
$(call LogInfo, Creating $(patsubst $(OUTPUTDIR)/%,%,$@))
$(CD) $(@D) && $(RM) ja && $(LN) -s ja_JP.UTF-8 ja
endif
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JRE_MAN_PAGES))
ifeq ($(OPENJDK_TARGET_OS), solaris)
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JRE_MAN_PAGES))
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JDK_MAN_PAGES))
endif
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JDK_MAN_PAGES))
endif
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(JRE_IMAGE_DIR)/man/ja
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(JRE_IMAGE_DIR)/man/ja
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(JDK_IMAGE_DIR)/man/ja
endif
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(JDK_IMAGE_DIR)/man/ja
endif
JRE_TARGETS += $(JRE_MAN_PAGE_LIST)
JDK_TARGETS += $(JDK_MAN_PAGE_LIST)
JRE_TARGETS += $(JRE_MAN_PAGE_LIST)
JDK_TARGETS += $(JDK_MAN_PAGE_LIST)
endif # BUILD_MANPAGES
endif # Windows
################################################################################
@@ -442,15 +364,4 @@ symbols: $(SYMBOLS_TARGETS)
all: jdk jre symbols
$(JRE_COMPACT1_TARGETS): $(TOOL_JRE_COMPACT1_TARGETS)
$(JRE_COMPACT2_TARGETS): $(TOOL_JRE_COMPACT2_TARGETS)
$(JRE_COMPACT3_TARGETS): $(TOOL_JRE_COMPACT3_TARGETS)
profiles: $(TOOL_JRE_COMPACT1_TARGETS) \
$(TOOL_JRE_COMPACT2_TARGETS) \
$(TOOL_JRE_COMPACT3_TARGETS) \
$(JRE_COMPACT1_TARGETS) \
$(JRE_COMPACT2_TARGETS) \
$(JRE_COMPACT3_TARGETS)
.PHONY: default all jdk jre symbols profiles
.PHONY: default all jdk jre symbols

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -226,6 +226,15 @@ else # HAS_SPEC=true
# Parse COMPARE_BUILD (for makefile development)
$(eval $(call ParseCompareBuild))
# If no LOG= was given on command line, but we have a non-standard default
# value, use that instead and re-parse log level.
ifeq ($(LOG), )
ifneq ($(DEFAULT_LOG), )
override LOG := $(DEFAULT_LOG)
$(eval $(call ParseLogLevel))
endif
endif
ifeq ($(LOG_NOFILE), true)
# Disable build log if LOG=[level,]nofile was given
override BUILD_LOG_PIPE :=
@@ -289,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
@@ -299,11 +307,16 @@ 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
# or if specified via a make argument directly. In those cases
# treat it as NOT using jobs at all.
( cd $(TOPDIR) && \
$(NICE) $(MAKE) $(MAKE_ARGS) $(OUTPUT_SYNC_FLAG) \
-j $(JOBS) -f make/Main.gmk $(USER_MAKE_VARS) \
$(if $(JOBS), -j $(JOBS)) \
-f make/Main.gmk $(USER_MAKE_VARS) \
$(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE) $(BUILD_LOG_PIPE) || \
( exitcode=$$? && \
$(PRINTF) "\nERROR: Build failed for $(TARGET_DESCRIPTION) (exit code $$exitcode) \n" \

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
@@ -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
@@ -131,73 +134,6 @@ ifeq ($(HAS_SPEC),)
endif
endef
# Look for a given option in the LOG variable, and if found, set a variable
# and remove the option from the LOG variable
# $1: The option to look for
# $2: The option to set to "true" if the option is found
define ParseLogOption
ifneq ($$(findstring $1, $$(LOG)),)
$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
# since LOG is set from the command line.
override LOG := $$(strip $$(patsubst $$(COMMA)%, %, $$(LOG_STRIPPED)))
endif
endef
define ParseLogLevel
# Catch old-style VERBOSE= command lines.
ifneq ($$(origin VERBOSE), undefined)
$$(info Error: VERBOSE is deprecated. Use LOG=<warn|info|debug|trace> instead.)
$$(error Cannot continue)
endif
# Setup logging according to LOG
# If the "nofile" argument is given, act on it and strip it away
$$(eval $$(call ParseLogOption, nofile, LOG_NOFILE))
# If the "cmdline" argument is given, act on it and strip it away
$$(eval $$(call ParseLogOption, cmdlines, LOG_CMDLINES))
# If the "profile-to-log" argument is given, write shell times in build log
$$(eval $$(call ParseLogOption, profile-to-log, LOG_PROFILE_TIMES_LOG))
# If the "profile" argument is given, write shell times in separate log file
# IMPORTANT: $(ParseLogOption profile-to-log) should go first. Otherwise
# parsing of 'LOG=debug,profile-to-log,nofile' ends up in the following error:
# Error: LOG contains unknown option or log level: debug-to-log.
$$(eval $$(call ParseLogOption, profile, LOG_PROFILE_TIMES_FILE))
# Treat LOG=profile-to-log as if it were LOG=profile,profile-to-log
LOG_PROFILE_TIMES_FILE := $$(firstword $$(LOG_PROFILE_TIMES_FILE) $$(LOG_PROFILE_TIMES_LOG))
LOG_LEVEL := $$(LOG)
ifeq ($$(LOG_LEVEL),)
# Set LOG to "warn" as default if not set
LOG_LEVEL := warn
endif
ifeq ($$(LOG_LEVEL), warn)
MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), info)
MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), debug)
MAKE_LOG_FLAGS :=
else ifeq ($$(LOG_LEVEL), trace)
MAKE_LOG_FLAGS :=
else
$$(info Error: LOG contains unknown option or log level: $$(LOG).)
$$(info LOG can be <level>[,<opt>[...]] where <opt> is nofile | cmdlines | profile | profile-to-log)
$$(info and <level> is warn | info | debug | trace)
$$(error Cannot continue)
endif
endef
define ParseConfAndSpec
ifneq ($$(origin SPEC), undefined)
# We have been given a SPEC, check that it works out properly
@@ -435,7 +371,7 @@ else # $(HAS_SPEC)=true
define PrepareCompareBuild
$(ECHO) "Preparing for comparison rebuild"
# Apply patch, if any
$(if $(COMPARE_BUILD_PATCH), $(PATCH) -p1 < $(COMPARE_BUILD_PATCH))
$(if $(COMPARE_BUILD_PATCH), cd $(topdir) && $(PATCH) -p1 < $(COMPARE_BUILD_PATCH))
# Move the first build away temporarily
$(RM) -r $(topdir)/build/.compare-build-temp
$(MKDIR) -p $(topdir)/build/.compare-build-temp
@@ -455,7 +391,7 @@ else # $(HAS_SPEC)=true
# Cleanup after a compare build
define CleanupCompareBuild
# If running with a COMPARE_BUILD patch, reverse-apply it
$(if $(COMPARE_BUILD_PATCH), $(PATCH) -R -p1 < $(COMPARE_BUILD_PATCH))
$(if $(COMPARE_BUILD_PATCH), cd $(topdir) && $(PATCH) -R -p1 < $(COMPARE_BUILD_PATCH))
# Move this build away and restore the original build
$(MKDIR) -p $(topdir)/build/compare-build
$(MV) $(OUTPUTDIR) $(COMPARE_BUILD_OUTPUTDIR)
@@ -477,30 +413,38 @@ else # $(HAS_SPEC)=true
endef
define PrintFailureReports
$(if $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log), \
$(PRINTF) "\n=== Output from failing command(s) repeated here ===\n" $(NEWLINE) \
$(foreach logfile, $(sort $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log)), \
$(PRINTF) "* For target $(notdir $(basename $(logfile))):\n" $(NEWLINE) \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 12; then \
$(ECHO) " ... (rest of output omitted)" ; \
fi $(NEWLINE) \
$(if $(filter none, $(LOG_REPORT)), , \
$(if $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log), \
$(PRINTF) "\n=== Output from failing command(s) repeated here ===\n" $(NEWLINE) \
$(foreach logfile, $(sort $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log)), \
$(PRINTF) "* For target $(notdir $(basename $(logfile))):\n" $(NEWLINE) \
$(if $(filter all, $(LOG_REPORT)), \
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
, \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 12; then \
$(ECHO) " ... (rest of output omitted)" ; \
fi $(NEWLINE) \
) \
) \
$(PRINTF) "\n* All command lines available in $(MAKESUPPORT_OUTPUTDIR)/failure-logs.\n" $(NEWLINE) \
$(PRINTF) "=== End of repeated output ===\n" \
) \
$(PRINTF) "\n* All command lines available in $(MAKESUPPORT_OUTPUTDIR)/failure-logs.\n" $(NEWLINE) \
$(PRINTF) "=== End of repeated output ===\n" \
)
endef
define PrintBuildLogFailures
if $(GREP) -q "recipe for target .* failed" $(BUILD_LOG) 2> /dev/null; then \
$(PRINTF) "\n=== Make failed targets repeated here ===\n" ; \
$(GREP) "recipe for target .* failed" $(BUILD_LOG) ; \
$(PRINTF) "=== End of repeated output ===\n" ; \
$(PRINTF) "\nHint: Try searching the build log for the name of the first failed target.\n" ; \
else \
$(PRINTF) "\nNo indication of failed target found.\n" ; \
$(PRINTF) "Hint: Try searching the build log for '] Error'.\n" ; \
fi
$(if $(filter none, $(LOG_REPORT)), , \
if $(GREP) -q "recipe for target .* failed" $(BUILD_LOG) 2> /dev/null; then \
$(PRINTF) "\n=== Make failed targets repeated here ===\n" ; \
$(GREP) "recipe for target .* failed" $(BUILD_LOG) ; \
$(PRINTF) "=== End of repeated output ===\n" ; \
$(PRINTF) "\nHint: Try searching the build log for the name of the first failed target.\n" ; \
else \
$(PRINTF) "\nNo indication of failed target found.\n" ; \
$(PRINTF) "Hint: Try searching the build log for '] Error'.\n" ; \
fi \
)
endef
define RotateLogFiles
@@ -512,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
@@ -583,8 +530,103 @@ else # $(HAS_SPEC)=true
endif # HAS_SPEC
# Look for a given option in the LOG variable, and if found, set a variable
# and remove the option from the LOG variable
# $1: The option to look for
# $2: The variable to set to "true" if the option is found
define ParseLogOption
ifneq ($$(findstring $1, $$(LOG)),)
override $2 := true
# 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
# since LOG is set from the command line.
override LOG := $$(strip $$(patsubst $$(COMMA)%, %, $$(LOG_STRIPPED)))
endif
endef
# Look for a given option with an assignment in the LOG variable, and if found,
# set a variable to that value and remove the option from the LOG variable
# $1: The option to look for
# $2: The variable to set to the value of the option, if found
define ParseLogValue
ifneq ($$(findstring $1=, $$(LOG)),)
# 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)
# First try to remove ",<option>" if it exists, otherwise just remove "<option>"
LOG_STRIPPED := $$(subst $$(strip $1)=$$(value),, \
$$(subst $$(COMMA)$$(strip $1)=$$(value),, $$(LOG)))
# We might have ended up with a leading comma. Remove it. Need override
# since LOG is set from the command line.
override LOG := $$(strip $$(patsubst $$(COMMA)%, %, $$(LOG_STRIPPED)))
endif
endef
define ParseLogLevel
# Catch old-style VERBOSE= command lines.
ifneq ($$(origin VERBOSE), undefined)
$$(info Error: VERBOSE is deprecated. Use LOG=<warn|info|debug|trace> instead.)
$$(error Cannot continue)
endif
# Setup logging according to LOG
# If "nofile" is present, do not log to a file
$$(eval $$(call ParseLogOption, nofile, LOG_NOFILE))
# If "cmdline" is present, print all executes "important" command lines.
$$(eval $$(call ParseLogOption, cmdlines, LOG_CMDLINES))
# If "report" is present, use non-standard reporting options at build failure.
$$(eval $$(call ParseLogValue, report, LOG_REPORT))
ifneq ($$(LOG_REPORT), )
ifeq ($$(filter $$(LOG_REPORT), none all default), )
$$(info Error: LOG=report has invalid value: $$(LOG_REPORT).)
$$(info Valid values: LOG=report=<none>|<all>|<default>)
$$(error Cannot continue)
endif
endif
# If "profile-to-log" is present, write shell times in build log
$$(eval $$(call ParseLogOption, profile-to-log, LOG_PROFILE_TIMES_LOG))
# If "profile" is present, write shell times in separate log file
# IMPORTANT: $(ParseLogOption profile-to-log) should go first. Otherwise
# parsing of 'LOG=debug,profile-to-log,nofile' ends up in the following error:
# Error: LOG contains unknown option or log level: debug-to-log.
$$(eval $$(call ParseLogOption, profile, LOG_PROFILE_TIMES_FILE))
# Treat LOG=profile-to-log as if it were LOG=profile,profile-to-log
LOG_PROFILE_TIMES_FILE := $$(firstword $$(LOG_PROFILE_TIMES_FILE) $$(LOG_PROFILE_TIMES_LOG))
override LOG_LEVEL := $$(LOG)
ifeq ($$(LOG_LEVEL),)
# Set LOG to "warn" as default if not set
override LOG_LEVEL := warn
endif
ifeq ($$(LOG_LEVEL), warn)
override MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), info)
override MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), debug)
override MAKE_LOG_FLAGS :=
else ifeq ($$(LOG_LEVEL), trace)
override MAKE_LOG_FLAGS :=
else
$$(info Error: LOG contains unknown option or log level: $$(LOG).)
$$(info LOG can be <level>[,<opt>[...]] where <opt> is nofile | cmdlines | profile | profile-to-log)
$$(info and <level> is warn | info | debug | trace)
$$(error Cannot continue)
endif
endef
MAKE_LOG_VARS = $(foreach v, \
LOG_LEVEL LOG_NOFILE LOG_CMDLINES LOG_PROFILE_TIMES_LOG LOG_PROFILE_TIMES_FILE, \
LOG_LEVEL LOG_NOFILE LOG_CMDLINES LOG_REPORT LOG_PROFILE_TIMES_LOG \
LOG_PROFILE_TIMES_FILE, \
$v=$($v) \
)

View File

@@ -48,6 +48,7 @@ $(INTERIM_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(RM) -r $(INTERIM_IMAGE_DIR)
$(JLINK_TOOL) \
--output $(INTERIM_IMAGE_DIR) \
--disable-plugin generate-jli-classes \
--add-modules $(INTERIM_MODULES_LIST)
$(TOUCH) $@

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)
@@ -266,14 +256,11 @@ endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
hotspot-jsig:
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f lib/CompileLibjsig.gmk)
hotspot-ide-project:
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f ide/CreateVSProject.gmk)
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-jsig hotspot-ide-project
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project
################################################################################
# Build demos targets
@@ -341,17 +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)
profiles-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk profiles)
mac-jdk-bundle:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jdk-bundle)
mac-bundles-jdk:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
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)
@@ -360,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 profiles-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
################################################################################
@@ -399,10 +386,13 @@ docs-zip:
update-build-docs:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f UpdateBuildDocs.gmk)
update-x11wrappers:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f UpdateX11Wrappers.gmk)
ALL_TARGETS += docs-jdk-api-javadoc docs-jdk-api-modulegraph \
docs-javase-api-javadoc docs-javase-api-modulegraph \
docs-reference-api-javadoc docs-reference-api-modulegraph docs-jdk-specs \
docs-jdk-index docs-zip update-build-docs
docs-jdk-index docs-zip update-build-docs update-x11wrappers
################################################################################
# Cross compilation support
@@ -497,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)")
@@ -533,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
################################################################################
@@ -569,16 +568,13 @@ ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
product-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
profiles-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk profiles-bundles)
test-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
docs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
ALL_TARGETS += product-bundles profiles-bundles test-bundles docs-bundles
ALL_TARGETS += product-bundles test-bundles docs-bundles
################################################################################
# Install targets
@@ -706,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
@@ -724,9 +717,9 @@ else
# If not already set, set the JVM target so that the JVM will be built.
JVM_MAIN_TARGETS ?= hotspot
# Building java.base-jmod requires all of VM (ie hotspot) to be built.
java.base-jmod: $(JVM_MAIN_TARGETS)
java.base-jmod: $(JVM_MAIN_TARGETS)
# Declare dependencies from <module>-jmod to all other module targets
# When creating a BUILDJDK, the java compilation has already been done by the
@@ -795,18 +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)
profiles-image: jmods release-file
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
@@ -830,7 +822,7 @@ else
# If not already set, then set the JVM specific docs targets
JVM_DOCS_TARGETS ?= hotspot-$(JVM_VARIANT_MAIN)-gensrc
# The gensrc steps for hotspot and jdk.jdi create html spec files.
docs-jdk-specs: $(JVM_DOCS_TARGETS) jdk.jdi-gensrc \
docs-jdk-index
@@ -870,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
@@ -886,14 +882,14 @@ else
product-bundles: product-images
profiles-bundles: profiles-images
test-bundles: test-image
docs-bundles: docs-image
generate-summary: jmods buildtools-modules
update-x11wrappers: java.base-copy buildtools-jdk
endif
################################################################################
@@ -904,9 +900,7 @@ JVM_TOOLS_TARGETS ?= buildtools-hotspot
buildtools: buildtools-langtools interim-langtools interim-rmic \
buildtools-jdk $(JVM_TOOLS_TARGETS)
hotspot: $(HOTSPOT_VARIANT_TARGETS) hotspot-jsig
hotspot-libs: hotspot-jsig
hotspot: $(HOTSPOT_VARIANT_TARGETS)
# Create targets hotspot-libs and hotspot-gensrc.
$(foreach v, $(JVM_VARIANTS), \
@@ -979,22 +973,19 @@ 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.
product-images: zip-security
# Declare these for backwards compatiblity and convenience.
profiles profiles-images: profiles-image
# The module summary cannot be run when:
# * Cross compiling and building a partial BUILDJDK for the build host
# * An external buildjdk has been supplied since it may not match the
@@ -1006,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
@@ -1015,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 \
@@ -1034,7 +1029,6 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
exploded-image-base exploded-image \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
docs-javase docs-reference docs-javadoc mac-bundles product-images \
profiles profiles-images \
docs-image test-image all-images \
all-bundles

View File

@@ -60,6 +60,18 @@ define SetTestOpt
endif
endef
# Setup _NT_SYMBOL_PATH on Windows
ifeq ($(OPENJDK_TARGET_OS), windows)
ifndef _NT_SYMBOL_PATH
# Can't use PathList here as it adds quotes around the value.
_NT_SYMBOL_PATH := \
$(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p)))
export _NT_SYMBOL_PATH
$(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH))
endif
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, RunTests.gmk))
@@ -496,6 +508,11 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR
# Some tests needs to find a boot JDK using the JDK8_HOME variable.
$1_JTREG_BASIC_OPTIONS += -e:JDK8_HOME=$$(BOOT_JDK)
# If running on Windows, propagate the _NT_SYMBOL_PATH to enable
# symbol lookup in hserr files
ifeq ($$(OPENJDK_TARGET_OS), windows)
$1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH
endif
$1_JTREG_BASIC_OPTIONS += \
$$(addprefix -javaoption:, $$(JTREG_JAVA_OPTIONS)) \
@@ -518,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

@@ -113,6 +113,7 @@ $(eval $(call SetupVariable,JT_HOME))
# These can have default values based on the ones above
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -245,6 +246,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
TEST_IMAGE_DIR := $(TEST_IMAGE_DIR), \
SYMBOLS_IMAGE_DIR := $(SYMBOLS_IMAGE_DIR), \
MAKE := $(MAKE), \
BASH := $(BASH), \
JIB_JAR := $(JIB_JAR), \

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

101
make/UpdateX11Wrappers.gmk Normal file
View File

@@ -0,0 +1,101 @@
#
# Copyright (c) 2012, 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 NativeCompilation.gmk
include ToolsJdk.gmk
################################################################################
# This file is responsible for extracting the x11 native struct offsets to
# the xawt Java library. The tool needs to be run on the os/arch that
# will host the final jvm, thus the tool cannot be used when cross compiling.
#
# Two versions of the generated offset file, sizes-32.txt and sizes-64.txt are
# committed into the source code repository. These are the ones used in
# GensrcX11Wrappers.gmk to generate the Java code during the build.
################################################################################
ifeq ($(COMPILE_TYPE), cross)
$(error It is not possible to update the x11wrappers when cross-compiling)
endif
X11WRAPPERS_OUTPUT := $(SUPPORT_OUTPUTDIR)/x11wrappers
GENSRC_X11WRAPPERS_DATADIR := $(TOPDIR)/make/data/x11wrappergen
BITS := $(OPENJDK_TARGET_CPU_BITS)
# Generate the C code for the program that will output the offset file.
$(X11WRAPPERS_OUTPUT)/src/data_generator.c: $(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BUILD_TOOLS_JDK)
$(call LogInfo, Generating X11 wrapper data generator source code)
$(call MakeDir, $(@D))
$(call ExecuteWithLog, $@, \
$(TOOL_WRAPPERGENERATOR) gen_c_source $@ $(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BITS))
DATA_GENERATOR_INCLUDES := \
-I$(TOPDIR)/src/hotspot/share/include \
-I$(TOPDIR)/src/hotspot/os/$(HOTSPOT_TARGET_OS_TYPE)/include \
-I$(SUPPORT_OUTPUTDIR)/modules_include/java.base \
-I$(SUPPORT_OUTPUTDIR)/modules_include/java.base/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) \
-I$(TOPDIR)/src/java.base/share/native/libjava \
-I$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libjava \
-I$(TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/native/common/awt \
-I$(TOPDIR)/src/java.desktop/share/native/common/awt/debug \
-I$(TOPDIR)/src/java.desktop/share/native/libawt/awt/image/cvutils \
#
# Compile the generated C code into an executable.
$(eval $(call SetupNativeCompilation, BUILD_DATA_GENERATOR, \
PROGRAM := data_generator, \
OUTPUT_DIR := $(X11WRAPPERS_OUTPUT)/bin, \
EXTRA_FILES := $(X11WRAPPERS_OUTPUT)/src/data_generator.c, \
CFLAGS := $(X_CFLAGS) $(DATA_GENERATOR_INCLUDES) $(CFLAGS_JDKEXE), \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS := $(X_LIBS), \
OBJECT_DIR := $(X11WRAPPERS_OUTPUT)/objs, \
))
# Run the executable to create the data file.
$(GENSRC_X11WRAPPERS_DATADIR)/sizes-$(BITS).txt: $(BUILD_DATA_GENERATOR_TARGET)
$(call LogInfo, Generating X11 wrapper data files)
$(call MakeDir, $(@D))
$(call ExecuteWithLog, $(X11WRAPPERS_OUTPUT)/generation, \
$(BUILD_DATA_GENERATOR_TARGET) | $(SORT) > $@)
$(ECHO) IMPORTANT: If you update the X11 wrapper data files, they most certainly
$(ECHO) need to be updated for both 32 and 64 bit platforms. You have now
$(ECHO) updated them for $(BITS) bit platforms only.
TARGETS += $(GENSRC_X11WRAPPERS_DATADIR)/sizes-$(BITS).txt
################################################################################
all: $(TARGETS)
.PHONY: all default

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

@@ -23,6 +23,7 @@
# questions.
#
###############################################################################
# Create a function/macro that takes a series of named arguments. The call is
# similar to AC_DEFUN, but the setup of the function looks like this:
# BASIC_DEFUN_NAMED([MYFUNC], [FOO *BAR], [$@], [
@@ -91,6 +92,75 @@ AC_DEFUN([BASIC_DEFUN_NAMED],
])
])
###############################################################################
# Check if a list of space-separated words are selected only from a list of
# space-separated legal words. Typical use is to see if a user-specified
# set of words is selected from a set of legal words.
#
# Sets the specified variable to list of non-matching (offending) words, or to
# the empty string if all words are matching the legal set.
#
# $1: result variable name
# $2: list of values to check
# $3: list of legal values
AC_DEFUN([BASIC_GET_NON_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'`
legal_values=`$ECHO $3 | $TR ' ' '\n'`
if test -z "$legal_values"; then
$1="$2"
else
result=`$GREP -Fvx "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
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.
#
# Sets the specified variable to the resulting list.
#
# $1: result variable name
# $2: list of values to sort
AC_DEFUN([BASIC_SORT_LIST],
[
values_to_sort=`$ECHO $2 | $TR ' ' '\n'`
result=`$SORT -u <<< "$values_to_sort" | $GREP -v '^$'`
$1=${result//$'\n'/ }
])
###############################################################################
# Test if $1 is a valid argument to $3 (often is $JAVA passed as $3)
# If so, then append $1 to $2 \
# Also set JVM_ARG_OK to true/false depending on outcome.
@@ -135,6 +205,7 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
fi
])
###############################################################################
# This will make sure the given variable points to a full and proper
# path. This means:
# 1) There will be no spaces in the path. On unix platforms,
@@ -178,6 +249,7 @@ AC_DEFUN([BASIC_FIXUP_PATH],
fi
])
###############################################################################
# This will make sure the given variable points to a executable
# with a full and proper path. This means:
# 1) There will be no spaces in the path. On unix platforms,
@@ -249,6 +321,7 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
fi
])
###############################################################################
AC_DEFUN([BASIC_REMOVE_SYMBOLIC_LINKS],
[
if test "x$OPENJDK_BUILD_OS" != xwindows; then
@@ -295,6 +368,7 @@ AC_DEFUN([BASIC_REMOVE_SYMBOLIC_LINKS],
fi
])
###############################################################################
# Register a --with argument but mark it as deprecated
# $1: The name of the with argument to deprecate, not including --with-
AC_DEFUN([BASIC_DEPRECATED_ARG_WITH],
@@ -304,6 +378,7 @@ AC_DEFUN([BASIC_DEPRECATED_ARG_WITH],
[AC_MSG_WARN([Option --with-$1 is deprecated and will be ignored.])])
])
###############################################################################
# Register a --enable argument but mark it as deprecated
# $1: The name of the with argument to deprecate, not including --enable-
# $2: The name of the argument to deprecate, in shell variable style (i.e. with _ instead of -)
@@ -322,6 +397,7 @@ AC_DEFUN([BASIC_DEPRECATED_ARG_ENABLE],
fi
])
###############################################################################
AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
@@ -334,6 +410,7 @@ AC_DEFUN_ONCE([BASIC_INIT],
AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])
])
###############################################################################
# Test that variable $1 denoting a program is not empty. If empty, exit with an error.
# $1: variable to check
AC_DEFUN([BASIC_CHECK_NONEMPTY],
@@ -343,6 +420,7 @@ AC_DEFUN([BASIC_CHECK_NONEMPTY],
fi
])
###############################################################################
# Check that there are no unprocessed overridden variables left.
# If so, they are an incorrect argument and we will exit with an error.
AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
@@ -354,6 +432,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
fi
])
###############################################################################
# Setup a tool for the given variable. If correctly specified by the user,
# use that value, otherwise search for the tool using the supplied code snippet.
# $1: variable to set
@@ -420,6 +499,7 @@ AC_DEFUN([BASIC_SETUP_TOOL],
fi
])
###############################################################################
# Call BASIC_SETUP_TOOL with AC_PATH_PROGS to locate the tool
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -429,6 +509,7 @@ AC_DEFUN([BASIC_PATH_PROGS],
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
])
###############################################################################
# Call BASIC_SETUP_TOOL with AC_CHECK_TOOLS to locate the tool
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -437,6 +518,7 @@ AC_DEFUN([BASIC_CHECK_TOOLS],
BASIC_SETUP_TOOL($1, [AC_CHECK_TOOLS($1, $2)])
])
###############################################################################
# Like BASIC_PATH_PROGS but fails if no tool was found.
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -447,6 +529,7 @@ AC_DEFUN([BASIC_REQUIRE_PROGS],
BASIC_CHECK_NONEMPTY($1)
])
###############################################################################
# Like BASIC_SETUP_TOOL but fails if no tool was found.
# $1: variable to set
# $2: autoconf macro to call to look for the special tool
@@ -456,6 +539,7 @@ AC_DEFUN([BASIC_REQUIRE_SPECIAL],
BASIC_CHECK_NONEMPTY($1)
])
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
@@ -528,6 +612,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(PANDOC, pandoc)
])
###############################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
@@ -569,6 +654,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_SUBST(USERNAME)
])
###############################################################################
# Evaluates platform specific overrides for devkit variables.
# $1: Name of variable
AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
@@ -578,6 +664,7 @@ AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
fi
])
###############################################################################
AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
@@ -611,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])
@@ -756,6 +845,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_MSG_RESULT([$EXTRA_PATH])
])
###############################################################################
AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
[
@@ -855,6 +945,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
#%%% Simple tools %%%
###############################################################################
# Check if we have found a usable version of make
# $1: the path to a potential make binary (or empty)
# $2: the description on how we found this
@@ -908,6 +999,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
fi
])
###############################################################################
AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
[
# Check if make supports the output sync option and if so, setup using it.
@@ -934,6 +1026,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
AC_SUBST(OUTPUT_SYNC)
])
###############################################################################
# Goes looking for a usable version of GNU make.
AC_DEFUN([BASIC_CHECK_GNU_MAKE],
[
@@ -981,6 +1074,7 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
BASIC_CHECK_MAKE_OUTPUT_SYNC
])
###############################################################################
AC_DEFUN([BASIC_CHECK_FIND_DELETE],
[
# Test if find supports -delete
@@ -1009,6 +1103,7 @@ AC_DEFUN([BASIC_CHECK_FIND_DELETE],
AC_SUBST(FIND_DELETE)
])
###############################################################################
AC_DEFUN([BASIC_CHECK_TAR],
[
# Test which kind of tar was found
@@ -1043,6 +1138,7 @@ AC_DEFUN([BASIC_CHECK_TAR],
AC_SUBST(TAR_SUPPORTS_TRANSFORM)
])
###############################################################################
AC_DEFUN([BASIC_CHECK_GREP],
[
# Test that grep supports -Fx with a list of pattern which includes null pattern.
@@ -1066,6 +1162,7 @@ AC_DEFUN([BASIC_CHECK_GREP],
fi
])
###############################################################################
AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
[
BASIC_CHECK_GNU_MAKE
@@ -1111,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
@@ -1127,9 +1225,12 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
fi
BASIC_REQUIRE_PROGS(SETFILE, SetFile)
elif test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
BASIC_REQUIRE_PROGS(ELFEDIT, elfedit)
fi
])
###############################################################################
# Check if build directory is on local disk. If not possible to determine,
# we prefer to claim it's local.
# Argument 1: directory to test
@@ -1169,6 +1270,7 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
fi
])
###############################################################################
# Check that source files have basic read permissions set. This might
# not be the case in cygwin in certain conditions.
AC_DEFUN_ONCE([BASIC_CHECK_SRC_PERMS],
@@ -1181,6 +1283,7 @@ AC_DEFUN_ONCE([BASIC_CHECK_SRC_PERMS],
fi
])
###############################################################################
AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
[
AC_MSG_CHECKING([if build directory is on local disk])
@@ -1203,6 +1306,7 @@ AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
fi
])
###############################################################################
# Check for support for specific options in bash
AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
[
@@ -1258,6 +1362,26 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEFAULT_MAKE_TARGET],
AC_SUBST(DEFAULT_MAKE_TARGET)
])
###############################################################################
# Setup the default value for LOG=
#
AC_DEFUN_ONCE([BASIC_SETUP_DEFAULT_LOG],
[
AC_ARG_WITH(log, [AS_HELP_STRING([--with-log],
[[default vaue for make LOG argument [warn]]])])
AC_MSG_CHECKING([for default LOG value])
if test "x$with_log" = x; then
DEFAULT_LOG=""
else
# Syntax for valid LOG options is a bit too complex for it to be worth
# implementing a test for correctness in configure. Just accept it.
DEFAULT_LOG=$with_log
fi
AC_MSG_RESULT([$DEFAULT_LOG])
AC_SUBST(DEFAULT_LOG)
])
###############################################################################
# Code to run after AC_OUTPUT
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
[

View File

@@ -77,10 +77,11 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $HEAD -n 1`
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_CORRECT_VERSION=`$ECHO $BOOT_JDK_VERSION | $EGREP '\"10([\.+-].*)?\"|\"9([\.+-].*)?\"'`]
[FOUND_CORRECT_VERSION=`$ECHO $BOOT_JDK_VERSION \
| $EGREP "\"(${DEFAULT_ACCEPTABLE_BOOT_VERSIONS// /|})([\.+-].*)?\""`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK is incorrect JDK version ($BOOT_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Boot JDK must be version 9 or 10)])
AC_MSG_NOTICE([(Your Boot JDK version must be one of: $DEFAULT_ACCEPTABLE_BOOT_VERSIONS)])
BOOT_JDK_FOUND=no
else
# We're done! :-)
@@ -404,7 +405,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
BOOTCYCLE_JVM_ARGS_BIG=-Xms64M
# Maximum amount of heap memory and stack size.
JVM_HEAP_LIMIT_32="1024"
JVM_HEAP_LIMIT_32="768"
# Running a 64 bit JVM allows for and requires a bigger heap
JVM_HEAP_LIMIT_64="1600"
STACK_SIZE_32=768
@@ -510,10 +511,10 @@ AC_DEFUN([BOOTJDK_CHECK_BUILD_JDK],
BUILD_JDK_VERSION=`"$BUILD_JDK/bin/java" -version 2>&1 | $HEAD -n 1`
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP '\"10([\.+-].*)?\"'`]
[FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP "\"$VERSION_FEATURE([\.+-].*)?\""`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Build JDK found at $BUILD_JDK is incorrect JDK version ($BUILD_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Build JDK must be version 10)])
AC_MSG_NOTICE([(Your Build JDK must be version $VERSION_FEATURE)])
BUILD_JDK_FOUND=no
else
# We're done!

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])
@@ -120,6 +120,7 @@ PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
# Misc basic settings
BASIC_SETUP_DEFAULT_MAKE_TARGET
BASIC_SETUP_DEFAULT_LOG
###############################################################################
#
@@ -163,10 +164,9 @@ JDKOPT_SETUP_STATIC_BUILD
# First determine the toolchain type (compiler family)
TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE
# User supplied flags should be used when configure detects compilers
FLAGS_SETUP_USER_SUPPLIED_FLAGS
# The sysroot cflags are needed for configure to be able to run the compilers
FLAGS_SETUP_SYSROOT_FLAGS
# The global flags are needed for configure to be able to run the compilers
# correctly.
FLAGS_PRE_TOOLCHAIN
# Then detect the actual binaries needed
TOOLCHAIN_PRE_DETECTION
@@ -184,17 +184,15 @@ TOOLCHAIN_SETUP_JTREG
# Setup Jib dependency tool
TOOLCHAIN_SETUP_JIB
FLAGS_SETUP_INIT_FLAGS
# After toolchain setup, we need to process some flags to be able to continue.
FLAGS_POST_TOOLCHAIN
# Now we can test some aspects on the target using configure macros.
PLATFORM_SETUP_OPENJDK_TARGET_BITS
PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
# Configure flags for the tools
FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS
FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK
FLAGS_SETUP_COMPILER_FLAGS_MISC
FLAGS_SETUP_FLAGS
# Setup debug symbols (need objcopy from the toolchain for that)
JDKOPT_SETUP_DEBUG_SYMBOLS
@@ -234,6 +232,8 @@ HOTSPOT_SETUP_JVM_FEATURES
JDKOPT_DETECT_INTREE_EC
JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER
JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS
JDKOPT_ENABLE_DISABLE_MANPAGES
###############################################################################
#
@@ -275,7 +275,7 @@ BASIC_TEST_USABILITY_ISSUES
CUSTOM_LATE_HOOK
# This needs to be done after CUSTOM_LATE_HOOK since we can setup custom features.
HOTSPOT_VALIDATE_JVM_FEATURES
HOTSPOT_FINALIZE_JVM_FEATURES
# Did user specify any unknown variables?
BASIC_CHECK_LEFTOVER_OVERRIDDEN

View File

@@ -0,0 +1,857 @@
#
# 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
#
# Setup flags for C/C++ compiler
#
###############################################################################
#
# How to compile shared libraries.
#
AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
[
if test "x$TOOLCHAIN_TYPE" = xgcc; then
C_FLAG_REORDER=''
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
elif test "x$TOOLCHAIN_TYPE" = xclang; then
C_FLAG_REORDER=''
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Linking is different on MacOSX
SHARED_LIBRARY_FLAGS="-dynamiclib -compatibility_version 1.0.0 -current_version 1.0.0"
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,@loader_path$(or [$]1,/.)'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,[$]1'
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
# arm specific settings
if test "x$OPENJDK_TARGET_CPU" = "xarm"; then
# '-Wl,-z,origin' isn't used on arm.
SET_SHARED_LIBRARY_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
else
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
C_FLAG_REORDER='-xF'
SHARED_LIBRARY_FLAGS="-G"
SET_EXECUTABLE_ORIGIN='-R\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-h [$]1'
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
C_FLAG_REORDER=''
SHARED_LIBRARY_FLAGS="-qmkshrobj -bM:SRE -bnoentry"
SET_EXECUTABLE_ORIGIN=""
SET_SHARED_LIBRARY_ORIGIN=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE=''
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
C_FLAG_REORDER=''
SHARED_LIBRARY_FLAGS="-dll"
SET_EXECUTABLE_ORIGIN=''
SET_SHARED_LIBRARY_ORIGIN=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE='-def:[$]1'
fi
AC_SUBST(C_FLAG_REORDER)
AC_SUBST(SET_EXECUTABLE_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_NAME)
AC_SUBST(SET_SHARED_LIBRARY_MAPFILE)
AC_SUBST(SHARED_LIBRARY_FLAGS)
])
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"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
CFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CFLAGS_DEBUG_SYMBOLS="-Z7 -d2Zi+"
fi
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
AC_ARG_ENABLE([warnings-as-errors], [AS_HELP_STRING([--disable-warnings-as-errors],
[do not consider native warnings to be an error @<:@enabled@:>@])])
# Set default value.
if test "x$TOOLCHAIN_TYPE" = xxlc; then
WARNINGS_AS_ERRORS=false
else
WARNINGS_AS_ERRORS=true
fi
AC_MSG_CHECKING([if native warnings are errors])
if test "x$enable_warnings_as_errors" = "xyes"; then
AC_MSG_RESULT([yes (explicitly set)])
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
AC_MSG_RESULT([no (explicitly set)])
WARNINGS_AS_ERRORS=false
elif test "x$enable_warnings_as_errors" = "x"; then
AC_MSG_RESULT([${WARNINGS_AS_ERRORS} (default)])
else
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
fi
AC_SUBST(WARNINGS_AS_ERRORS)
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"
CFLAGS_WARNINGS_ARE_ERRORS="-WX"
;;
solstudio)
DISABLE_WARNING_PREFIX="-erroff="
CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
;;
gcc)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
# Repeate the check for the BUILD_CC and BUILD_CXX. Need to also reset
# CFLAGS since any target specific flags will likely not work with the
# build compiler
CC_OLD="$CC"
CXX_OLD="$CXX"
CC="$BUILD_CC"
CXX="$BUILD_CXX"
CFLAGS_OLD="$CFLAGS"
CFLAGS=""
BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
CC="$CC_OLD"
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
;;
clang)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
;;
xlc)
DISABLE_WARNING_PREFIX="-qsuppress="
CFLAGS_WARNINGS_ARE_ERRORS="-qhalt=w"
;;
esac
AC_SUBST(DISABLE_WARNING_PREFIX)
AC_SUBST(BUILD_CC_DISABLE_WARNING_PREFIX)
AC_SUBST(CFLAGS_WARNINGS_ARE_ERRORS)
])
AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
[
# bounds, memory and behavior checking options
if test "x$TOOLCHAIN_TYPE" = xgcc; then
case $DEBUG_LEVEL in
release )
# no adjustment
;;
fastdebug )
# no adjustment
;;
slowdebug )
# FIXME: By adding this to C(XX)FLAGS_DEBUG_OPTIONS/JVM_CFLAGS_SYMBOLS it
# get's added conditionally on whether we produce debug symbols or not.
# This is most likely not really correct.
# Add runtime stack smashing and undefined behavior checks.
CFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
JVM_CFLAGS_SYMBOLS="$JVM_CFLAGS_SYMBOLS -fstack-protector-all --param ssp-buffer-size=1"
;;
esac
fi
])
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
[
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
CC_HIGHEST="-fns -fsimple -fsingle -xbuiltin=%all -xdepend -xrestrict -xlibmil"
C_O_FLAG_HIGHEST_JVM="-xO4"
C_O_FLAG_DEBUG_JVM=""
C_O_FLAG_SIZE=""
C_O_FLAG_DEBUG=""
C_O_FLAG_NONE=""
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86"; then
C_O_FLAG_HIGHEST="-xO4 -Wu,-O4~yz $CC_HIGHEST"
C_O_FLAG_HI="-xO4 -Wu,-O4~yz"
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 $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
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
C_O_FLAG_NORM="-O2"
C_O_FLAG_SIZE="-Os"
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_NONE="-O0"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On MacOSX we optimize for size, something
# we should do for all platforms?
C_O_FLAG_HIGHEST_JVM="-Os"
C_O_FLAG_HIGHEST="-Os"
C_O_FLAG_HI="-Os"
C_O_FLAG_NORM="-Os"
C_O_FLAG_DEBUG_JVM=""
else
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
C_O_FLAG_NORM="-O2"
C_O_FLAG_DEBUG_JVM="-O0"
fi
C_O_FLAG_SIZE="-Os"
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_NONE="-O0"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
C_O_FLAG_HIGHEST_JVM="-O3 -qhot=level=1 -qinline -qinlglue"
C_O_FLAG_HIGHEST="-O3 -qhot=level=1 -qinline -qinlglue"
C_O_FLAG_HI="-O3 -qinline -qinlglue"
C_O_FLAG_NORM="-O2"
C_O_FLAG_DEBUG="-qnoopt"
# FIXME: Value below not verified.
C_O_FLAG_DEBUG_JVM=""
C_O_FLAG_NONE="-qnoopt"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
C_O_FLAG_HIGHEST="-O2"
C_O_FLAG_HI="-O1"
C_O_FLAG_NORM="-O1"
C_O_FLAG_DEBUG="-Od"
C_O_FLAG_DEBUG_JVM=""
C_O_FLAG_NONE="-Od"
C_O_FLAG_SIZE="-Os"
fi
# Now copy to C++ flags
CXX_O_FLAG_HIGHEST_JVM="$C_O_FLAG_HIGHEST_JVM"
CXX_O_FLAG_HIGHEST="$C_O_FLAG_HIGHEST"
CXX_O_FLAG_HI="$C_O_FLAG_HI"
CXX_O_FLAG_NORM="$C_O_FLAG_NORM"
CXX_O_FLAG_DEBUG="$C_O_FLAG_DEBUG"
CXX_O_FLAG_DEBUG_JVM="$C_O_FLAG_DEBUG_JVM"
CXX_O_FLAG_NONE="$C_O_FLAG_NONE"
CXX_O_FLAG_SIZE="$C_O_FLAG_SIZE"
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# In solstudio, also add this to C (but not C++) flags...
C_O_FLAG_HIGHEST="$C_O_FLAG_HIGHEST -xalias_level=basic"
fi
# Adjust optimization flags according to debug level.
case $DEBUG_LEVEL in
release )
# no adjustment
;;
fastdebug )
# Not quite so much optimization
C_O_FLAG_HI="$C_O_FLAG_NORM"
CXX_O_FLAG_HI="$CXX_O_FLAG_NORM"
;;
slowdebug )
# Disable optimization
C_O_FLAG_HIGHEST_JVM="$C_O_FLAG_DEBUG_JVM"
C_O_FLAG_HIGHEST="$C_O_FLAG_DEBUG"
C_O_FLAG_HI="$C_O_FLAG_DEBUG"
C_O_FLAG_NORM="$C_O_FLAG_DEBUG"
C_O_FLAG_SIZE="$C_O_FLAG_DEBUG"
CXX_O_FLAG_HIGHEST_JVM="$CXX_O_FLAG_DEBUG_JVM"
CXX_O_FLAG_HIGHEST="$CXX_O_FLAG_DEBUG"
CXX_O_FLAG_HI="$CXX_O_FLAG_DEBUG"
CXX_O_FLAG_NORM="$CXX_O_FLAG_DEBUG"
CXX_O_FLAG_SIZE="$CXX_O_FLAG_DEBUG"
;;
esac
AC_SUBST(C_O_FLAG_HIGHEST_JVM)
AC_SUBST(C_O_FLAG_HIGHEST)
AC_SUBST(C_O_FLAG_HI)
AC_SUBST(C_O_FLAG_NORM)
AC_SUBST(C_O_FLAG_NONE)
AC_SUBST(C_O_FLAG_SIZE)
AC_SUBST(CXX_O_FLAG_HIGHEST_JVM)
AC_SUBST(CXX_O_FLAG_HIGHEST)
AC_SUBST(CXX_O_FLAG_HI)
AC_SUBST(CXX_O_FLAG_NORM)
AC_SUBST(CXX_O_FLAG_NONE)
AC_SUBST(CXX_O_FLAG_SIZE)
])
AC_DEFUN([FLAGS_SETUP_CFLAGS],
[
### CFLAGS
FLAGS_SETUP_CFLAGS_HELPER
FLAGS_OS=$OPENJDK_TARGET_OS
FLAGS_OS_TYPE=$OPENJDK_TARGET_OS_TYPE
FLAGS_CPU=$OPENJDK_TARGET_CPU
FLAGS_CPU_ARCH=$OPENJDK_TARGET_CPU_ARCH
FLAGS_CPU_BITS=$OPENJDK_TARGET_CPU_BITS
FLAGS_CPU_ENDIAN=$OPENJDK_TARGET_CPU_ENDIAN
FLAGS_CPU_LEGACY=$OPENJDK_TARGET_CPU_LEGACY
FLAGS_CPU_LEGACY_LIB=$OPENJDK_TARGET_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([TARGET])
FLAGS_OS=$OPENJDK_BUILD_OS
FLAGS_OS_TYPE=$OPENJDK_BUILD_OS_TYPE
FLAGS_CPU=$OPENJDK_BUILD_CPU
FLAGS_CPU_ARCH=$OPENJDK_BUILD_CPU_ARCH
FLAGS_CPU_BITS=$OPENJDK_BUILD_CPU_BITS
FLAGS_CPU_ENDIAN=$OPENJDK_BUILD_CPU_ENDIAN
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
# Tests are only ever compiled for TARGET
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
CXXFLAGS_TESTLIB="$CXXFLAGS_JDKLIB"
CFLAGS_TESTEXE="$CFLAGS_JDKEXE"
CXXFLAGS_TESTEXE="$CXXFLAGS_JDKEXE"
AC_SUBST(CFLAGS_TESTLIB)
AC_SUBST(CFLAGS_TESTEXE)
AC_SUBST(CXXFLAGS_TESTLIB)
AC_SUBST(CXXFLAGS_TESTEXE)
])
################################################################################
# platform independent
AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
CFLAGS_OS_DEF_JVM="-DSOLARIS"
CFLAGS_OS_DEF_JDK="-D__solaris__"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
CFLAGS_OS_DEF_JVM="-DAIX"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
CFLAGS_OS_DEF_JVM="-D_WINDOWS -DWIN32 -D_JNI_IMPLEMENTATION_"
fi
CFLAGS_OS_DEF_JDK="$CFLAGS_OS_DEF_JDK -D$OPENJDK_TARGET_OS_UPPERCASE"
#### GLOBAL DEFINES
# Set some common defines. These works for all compilers, but assume
# -D is universally accepted.
# Always enable optional macros for VM.
ALWAYS_CFLAGS_JVM="-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
# Setup some hard coded includes
ALWAYS_CFLAGS_JDK=" \
-I\$(SUPPORT_OUTPUTDIR)/modules_include/java.base \
-I\$(SUPPORT_OUTPUTDIR)/modules_include/java.base/\$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) \
-I${TOPDIR}/src/java.base/share/native/libjava \
-I${TOPDIR}/src/java.base/$OPENJDK_TARGET_OS_TYPE/native/libjava \
-I${TOPDIR}/src/hotspot/share/include \
-I${TOPDIR}/src/hotspot/os/${HOTSPOT_TARGET_OS_TYPE}/include"
###############################################################################
# Adjust flags according to debug level.
# Setup debug/release defines
if test "x$DEBUG_LEVEL" = xrelease; then
DEBUG_CFLAGS_JDK="-DNDEBUG"
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
DEBUG_CFLAGS_JDK="$DEBUG_CFLAGS_JDK -DTRIMMED"
fi
else
DEBUG_CFLAGS_JDK="-DDEBUG"
if test "x$TOOLCHAIN_TYPE" = xxlc; then
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
# Hotspot now overflows its 64K TOC (currently only for debug),
# so for debug we build with '-qpic=large -bbigtoc'.
DEBUG_CFLAGS_JVM="-qpic=large"
fi
fi
if test "x$DEBUG_LEVEL" != xrelease; then
DEBUG_OPTIONS_FLAGS_JDK="$CFLAGS_DEBUG_OPTIONS"
DEBUG_SYMBOLS_CFLAGS_JDK="$CFLAGS_DEBUG_SYMBOLS"
fi
#### TOOLCHAIN DEFINES
if test "x$TOOLCHAIN_TYPE" = xgcc; then
ALWAYS_DEFINES_JVM="-D_GNU_SOURCE -D_REENTRANT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
ALWAYS_DEFINES_JVM="-D_GNU_SOURCE"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
ALWAYS_DEFINES_JVM="-DSPARC_WORKS -D_Crun_inline_placement"
ALWAYS_DEFINES_JDK="-DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS"
ALWAYS_DEFINES_JDK_CXXONLY="-DCC_NOEX"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
ALWAYS_DEFINES_JVM="-D_REENTRANT"
ALWAYS_DEFINES_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
ALWAYS_DEFINES_JDK="-DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE \
-D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DIAL"
ALWAYS_DEFINES_JVM="-DNOMINMAX -DWIN32_LEAN_AND_MEAN"
fi
###############################################################################
#
#
# CFLAGS BASIC
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# COMMON to gcc and clang
TOOLCHAIN_CFLAGS_JVM="-pipe -fno-rtti -fno-exceptions \
-fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new"
TOOLCHAIN_CFLAGS_JDK="-pipe"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX (but since this gives *worse* performance, use no-strict-aliasing everywhere!)
CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CXXSTD_CXXFLAG -Werror],
IF_FALSE: [CXXSTD_CXXFLAG=""])
TOOLCHAIN_CFLAGS_JDK_CXXONLY="$CXXSTD_CXXFLAG"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM $CXXSTD_CXXFLAG"
ADLC_CXXFLAG="$CXXSTD_CXXFLAG"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# Restrict the debug information created by Clang to avoid
# too big object files and speed the build up a little bit
# (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
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
TOOLCHAIN_CFLAGS_JDK="-mt"
TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
-library=stlport4 -mt -features=no%except"
if test "x$DEBUG_LEVEL" = xslowdebug; then
# Previously -g was used instead of -g0 for slowdebug; this is equivalent
# to setting +d.
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM +d"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt" # add on both CFLAGS
TOOLCHAIN_CFLAGS_JVM="-qtune=balanced \
-qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \
-qlanglvl=noredefmac -qnortti -qnoeh -qignerrno"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:wchar_t-"
fi
# CFLAGS WARNINGS STUFF
# Set JVM_CFLAGS warning handling
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# COMMON to gcc and clang
WARNING_CFLAGS_JVM="-Wpointer-arith -Wsign-compare -Wunused-function"
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
# Non-zero builds have stricter warnings
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wundef -Wformat=2"
fi
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
WARNING_CFLAGS_JDK="-Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2"
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wunused-value -Woverloaded-virtual -Wreorder"
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
# Non-zero builds have stricter warnings
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wreturn-type"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wno-deprecated -Wreorder"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wno-sometimes-uninitialized"
WARNING_CFLAGS_JDK="-Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2"
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
WARNING_CFLAGS_JDK_CONLY="-errshort=tags"
WARNING_CFLAGS_JDK_CXXONLY="+w"
WARNING_CFLAGS_JDK="-errtags=yes -errfmt"
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.
# Additional macosx handling
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OS_CFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=$MACOSX_VERSION_MIN_NODOTS \
-mmacosx-version-min=$MACOSX_VERSION_MIN"
if test -n "$MACOSX_VERSION_MAX"; then
OS_CFLAGS="$OS_CFLAGS \
-DMAC_OS_X_VERSION_MAX_ALLOWED=$MACOSX_VERSION_MAX_NODOTS"
fi
fi
# Where does this really belong??
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
PICFLAG="-fPIC"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
PICFLAG="-KPIC"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
# '-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 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.
#
# 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
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
JDK_PICFLAG=''
if test "x$STATIC_BUILD" = xtrue; then
JVM_PICFLAG=""
fi
fi
# Optional POSIX functionality needed by the JVM
#
# Check if clock_gettime is available and in which library. This indicates
# availability of CLOCK_MONOTONIC for hotspot. But we don't need to link, so
# don't let it update LIBS.
save_LIBS="$LIBS"
AC_SEARCH_LIBS(clock_gettime, rt, [HAS_CLOCK_GETTIME=true], [])
if test "x$LIBS" = "x-lrt "; then
CLOCK_GETTIME_IN_LIBRT=true
fi
LIBS="$save_LIBS"
if test "x$HAS_CLOCK_GETTIME" = "xtrue"; then
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DSUPPORTS_CLOCK_MONOTONIC"
if test "x$CLOCK_GETTIME_IN_LIBRT" = "xtrue"; then
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
fi
fi
# EXPORT
AC_SUBST(ADLC_CXXFLAG)
])
################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against.
# $2 - Optional prefix for each variable defined.
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
[
#### CPU DEFINES, these should (in theory) be independent on toolchain
# Setup target CPU
# Setup endianness
if test "x$FLAGS_CPU_ENDIAN" = xlittle; then
$1_DEFINES_CPU_JVM="-DVM_LITTLE_ENDIAN"
fi
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# The macro _LITTLE_ENDIAN needs to be defined the same to avoid the
# Sun C compiler warning message: warning: macro redefined: _LITTLE_ENDIAN
if test "x$FLAGS_CPU_ENDIAN" = xlittle; then
$1_DEFINES_CPU_JDK="-D_LITTLE_ENDIAN="
else
$1_DEFINES_CPU_JDK="-D_BIG_ENDIAN="
fi
else
if test "x$FLAGS_CPU_ENDIAN" = xlittle; then
$1_DEFINES_CPU_JDK="-D_LITTLE_ENDIAN"
else
$1_DEFINES_CPU_JDK="-D_BIG_ENDIAN"
fi
fi
# setup CPU bit size
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -DARCH='\"$FLAGS_CPU_LEGACY\"' \
-D$FLAGS_CPU_LEGACY"
if test "x$FLAGS_CPU_BITS" = x64; then
# -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
# unpack200.exe.
if test "x$FLAGS_OS" = xlinux || test "x$FLAGS_OS" = xmacosx; then
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -D_LP64=1"
fi
if test "x$FLAGS_OS" != xsolaris && test "x$FLAGS_OS" != xaix; then
# Solaris does not have _LP64=1 in the old build.
# xlc on AIX defines _LP64=1 by default and issues a warning if we redefine it.
$1_DEFINES_CPU_JVM="${$1_DEFINES_CPU_JVM} -D_LP64=1"
fi
fi
# toolchain dependend, per-cpu
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$FLAGS_CPU_ARCH" = xx86; then
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -DcpuIntel -Di586 -D$FLAGS_CPU_LEGACY_LIB"
fi
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
if test "x$FLAGS_CPU" = xx86_64; then
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -D_AMD64_ -Damd64"
else
$1_DEFINES_CPU_JDK="${$1_DEFINES_CPU_JDK} -D_X86_ -Dx86"
fi
fi
# CFLAGS PER CPU
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# COMMON to gcc and clang
if test "x$FLAGS_CPU" = xx86; then
# Force compatibility with i586 on 32 bit intel platforms.
$1_CFLAGS_CPU="-march=i586"
fi
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$FLAGS_CPU" = xarm; then
# -Wno-psabi to get rid of annoying "note: the mangling of 'va_list' has changed in GCC 4.4"
$1_CFLAGS_CPU="-fsigned-char -Wno-psabi $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS -DJDK_ARCH_ABI_PROP_NAME='\"\$(JDK_ARCH_ABI_PROP_NAME)\"'"
$1_CFLAGS_CPU_JVM="-DARM"
elif test "x$FLAGS_CPU" = xaarch64; then
if test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
$1_CFLAGS_CPU_JVM="-fsigned-char -DARM"
fi
elif test "x$FLAGS_CPU_ARCH" = xppc; then
$1_CFLAGS_CPU_JVM="-minsert-sched-nops=regroup_exact -mno-multiple -mno-string"
if test "x$FLAGS_CPU" = xppc64; then
# -mminimal-toc fixes `relocation truncated to fit' error for gcc 4.1.
# Use ppc64 instructions, but schedule for power5
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -mminimal-toc -mcpu=powerpc64 -mtune=power5"
elif test "x$FLAGS_CPU" = xppc64le; then
# Little endian machine uses ELFv2 ABI.
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
fi
elif test "x$FLAGS_CPU" = xs390x; then
$1_CFLAGS_CPU="-mbackchain -march=z10"
fi
if test "x$FLAGS_CPU_ARCH" != xarm && test "x$FLAGS_CPU_ARCH" != xppc; then
# for all archs except arm and ppc, prevent gcc to omit frame pointer
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$FLAGS_OS" = xlinux; then
# ppc test not really needed for clang
if test "x$FLAGS_CPU_ARCH" != xarm && test "x$FLAGS_CPU_ARCH" != xppc; then
# for all archs except arm and ppc, prevent gcc to omit frame pointer
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$FLAGS_CPU" = xx86_64; then
# NOTE: -xregs=no%frameptr is supposed to be default on x64
$1_CFLAGS_CPU_JDK="-xregs=no%frameptr"
elif test "x$FLAGS_CPU" = xsparcv9; then
$1_CFLAGS_CPU_JVM="-xarch=sparc"
$1_CFLAGS_CPU_JDK_LIBONLY="-xregs=no%appl"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
if test "x$FLAGS_CPU" = xppc64; then
$1_CFLAGS_CPU_JVM="-qarch=ppc64"
fi
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
if test "x$FLAGS_CPU" = xx86; then
$1_CFLAGS_CPU_JVM="-arch:IA32"
elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
if test "x$DEBUG_LEVEL" != xrelease; then
# NOTE: This is probably redundant; -homeparams is default on
# non-release builds.
$1_CFLAGS_CPU_JVM="-homeparams"
fi
fi
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CHECK_COMPILER_VERSION(VERSION: 6, PREFIX: $2, IF_AT_LEAST: FLAGS_SETUP_GCC6_COMPILER_FLAGS($1))
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
fi
# EXPORT to API
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM $TOOLCHAIN_CFLAGS_JVM \
$OS_CFLAGS $OS_CFLAGS_JVM $CFLAGS_OS_DEF_JVM $DEBUG_CFLAGS_JVM \
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG"
CFLAGS_JDK_COMMON="$ALWAYS_CFLAGS_JDK $ALWAYS_DEFINES_JDK $TOOLCHAIN_CFLAGS_JDK \
$OS_CFLAGS $CFLAGS_OS_DEF_JDK $DEBUG_CFLAGS_JDK $DEBUG_OPTIONS_FLAGS_JDK \
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK"
# Use ${$2EXTRA_CFLAGS} to block EXTRA_CFLAGS to be added to build flags.
# (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might
# change in the future.)
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}"
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY $TOOLCHAIN_CFLAGS_JDK_CXXONLY \
$WARNING_CFLAGS_JDK_CXXONLY ${$2EXTRA_CXXFLAGS}"
$1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
$1_CFLAGS_JDK="${$1_DEFINES_CPU_JDK} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JDK} ${$1_TOOLCHAIN_CFLAGS}"
$2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}"
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK}"
$2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK}"
$2CFLAGS_JDKLIB="${$2CFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
$2CXXFLAGS_JDKLIB="${$2CXXFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
AC_SUBST($2JVM_CFLAGS)
AC_SUBST($2CFLAGS_JDKLIB)
AC_SUBST($2CFLAGS_JDKEXE)
AC_SUBST($2CXXFLAGS_JDKLIB)
AC_SUBST($2CXXFLAGS_JDKEXE)
])
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
# Arguments:
# $1 - Prefix for each variable defined.
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
# runs afoul of the more aggressive versions of these optimisations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
dnl IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
dnl IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
AC_MSG_NOTICE([GCC >= 6 detected; adding ${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} and ${NO_LIFETIME_DSE_CFLAG}])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
])
# Documentation on common flags used for solstudio in HIGHEST.
#
# WARNING: Use of OPTIMIZATION_LEVEL=HIGHEST in your Makefile needs to be
# done with care, there are some assumptions below that need to
# be understood about the use of pointers, and IEEE behavior.
#
# -fns: Use non-standard floating point mode (not IEEE 754)
# -fsimple: Do some simplification of floating point arithmetic (not IEEE 754)
# -fsingle: Use single precision floating point with 'float'
# -xalias_level=basic: Assume memory references via basic pointer types do not alias
# (Source with excessing pointer casting and data access with mixed
# pointer types are not recommended)
# -xbuiltin=%all: Use intrinsic or inline versions for math/std functions
# (If you expect perfect errno behavior, do not use this)
# -xdepend: Loop data dependency optimizations (need -xO3 or higher)
# -xrestrict: Pointer parameters to functions do not overlap
# (Similar to -xalias_level=basic usage, but less obvious sometimes.
# If you pass in multiple pointers to the same data, do not use this)
# -xlibmil: Inline some library routines
# (If you expect perfect errno behavior, do not use this)
# -xlibmopt: Use optimized math routines (CURRENTLY DISABLED)
# (If you expect perfect errno behavior, do not use this)
# Can cause undefined external on Solaris 8 X86 on __sincos, removing for now

View File

@@ -0,0 +1,213 @@
#
# 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
# 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.
#
################################################################################
#
AC_DEFUN([FLAGS_SETUP_LDFLAGS],
[
FLAGS_SETUP_LDFLAGS_HELPER
# Setup the target toolchain
# On some platforms (mac) the linker warns about non existing -L dirs.
# For any of the variants server, client or minimal, the dir matches the
# variant name. The "main" variant should be used for linking. For the
# rest, the dir is just server.
if HOTSPOT_CHECK_JVM_VARIANT(server) || HOTSPOT_CHECK_JVM_VARIANT(client) \
|| HOTSPOT_CHECK_JVM_VARIANT(minimal); then
TARGET_JVM_VARIANT_PATH=$JVM_VARIANT_MAIN
else
TARGET_JVM_VARIANT_PATH=server
fi
FLAGS_SETUP_LDFLAGS_CPU_DEP([TARGET])
# Setup the build toolchain
# When building a buildjdk, it's always only the server variant
BUILD_JVM_VARIANT_PATH=server
FLAGS_SETUP_LDFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
LDFLAGS_TESTLIB="$LDFLAGS_JDKLIB"
LDFLAGS_TESTEXE="$LDFLAGS_JDKEXE ${TARGET_LDFLAGS_JDK_LIBPATH}"
AC_SUBST(LDFLAGS_TESTLIB)
AC_SUBST(LDFLAGS_TESTEXE)
])
################################################################################
# CPU independent LDFLAGS setup, used for both target and build toolchain.
AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
[
# Setup basic LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# If this is a --hash-style=gnu system, use --hash-style=both, why?
# We have previously set HAS_GNU_HASH if this is the case
if test -n "$HAS_GNU_HASH"; then
BASIC_LDFLAGS="-Wl,--hash-style=both"
LIBJSIG_HASHSTYLE_LDFLAGS="-Wl,--hash-style=both"
fi
# Add -z defs, to forbid undefined symbols in object files.
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro"
BASIC_LDFLAGS_JDK_LIB_ONLY="-Wl,-z,noexecstack"
LIBJSIG_NOEXECSTACK_LDFLAGS="-Wl,-z,noexecstack"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
BASIC_LDFLAGS="-Wl,-z,defs"
BASIC_LDFLAGS_ONLYCXX="-norunpath"
BASIC_LDFLAGS_ONLYCXX_JDK_ONLY="-xnolib"
BASIC_LDFLAGS_JDK_ONLY="-ztext"
BASIC_LDFLAGS_JVM_ONLY="-library=%none -mt -z noversion"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \
-bdatapsize:64K -bstackpsize:64K"
# 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"
BASIC_LDFLAGS_JDK_ONLY="-incremental:no"
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
fi
# Setup OS-dependent LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Assume clang or gcc.
# FIXME: We should really generalize SET_SHARED_LIBRARY_ORIGIN instead.
OS_LDFLAGS_JVM_ONLY="-Wl,-rpath,@loader_path/. -Wl,-rpath,@loader_path/.."
OS_LDFLAGS_JDK_ONLY="-mmacosx-version-min=$MACOSX_VERSION_MIN"
fi
fi
# Setup debug level-dependent LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test x$DEBUG_LEVEL = xrelease; then
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1"
else
# mark relocations read only on (fast/slow) debug builds
DEBUGLEVEL_LDFLAGS_JDK_ONLY="-Wl,-z,relro"
fi
if test x$DEBUG_LEVEL = xslowdebug; then
# do relocations at load
DEBUGLEVEL_LDFLAGS="-Wl,-z,now"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
# Hotspot now overflows its 64K TOC (currently only for debug),
# so we build with '-qpic=large -bbigtoc'.
if test "x$DEBUG_LEVEL" != xrelease; then
DEBUGLEVEL_LDFLAGS_JVM_ONLY="$DEBUGLEVEL_LDFLAGS_JVM_ONLY -bbigtoc"
fi
fi
# Setup LDFLAGS for linking executables
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
fi
# Export some intermediate variables for compatibility
LDFLAGS_CXX_JDK="$BASIC_LDFLAGS_ONLYCXX $BASIC_LDFLAGS_ONLYCXX_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY"
AC_SUBST(LDFLAGS_CXX_JDK)
AC_SUBST(LIBJSIG_HASHSTYLE_LDFLAGS)
AC_SUBST(LIBJSIG_NOEXECSTACK_LDFLAGS)
])
################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against.
# $2 - Optional prefix for each variable defined.
AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
[
# Setup CPU-dependent basic LDFLAGS. These can differ between the target and
# build toolchain.
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x${OPENJDK_$1_CPU}" = xx86; then
$1_CPU_LDFLAGS_JVM_ONLY="-march=i586"
elif test "x$OPENJDK_$1_CPU" = xarm; then
$1_CPU_LDFLAGS_JVM_ONLY="${$1_CPU_LDFLAGS_JVM_ONLY} -fsigned-char"
$1_CPU_LDFLAGS="$ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS"
elif test "x$FLAGS_CPU" = xaarch64; then
if test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
$1_CPU_LDFLAGS_JVM_ONLY="${$1_CPU_LDFLAGS_JVM_ONLY} -fsigned-char"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x${OPENJDK_$1_CPU}" = "xsparcv9"; then
$1_CPU_LDFLAGS_JVM_ONLY="-xarch=sparc"
fi
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
if test "x${OPENJDK_$1_CPU}" = "xx86"; then
$1_CPU_LDFLAGS="-safeseh"
# NOTE: Old build added -machine. Probably not needed.
$1_CPU_LDFLAGS_JVM_ONLY="-machine:I386"
$1_CPU_EXECUTABLE_LDFLAGS="-stack:327680"
else
$1_CPU_LDFLAGS_JVM_ONLY="-machine:AMD64"
$1_CPU_EXECUTABLE_LDFLAGS="-stack:1048576"
fi
fi
# JVM_VARIANT_PATH depends on if this is build or target...
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
$1_LDFLAGS_JDK_LIBPATH="-libpath:${OUTPUTDIR}/support/modules_libs/java.base"
else
$1_LDFLAGS_JDK_LIBPATH="-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base \
-L\$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/${$1_JVM_VARIANT_PATH}"
fi
# Export variables according to old definitions, prefix with $2 if present.
LDFLAGS_JDK_COMMON="$BASIC_LDFLAGS $BASIC_LDFLAGS_JDK_ONLY \
$OS_LDFLAGS_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY ${$2EXTRA_LDFLAGS}"
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON $BASIC_LDFLAGS_JDK_LIB_ONLY \
${$1_LDFLAGS_JDK_LIBPATH} $SHARED_LIBRARY_FLAGS"
$2LDFLAGS_JDKEXE="$LDFLAGS_JDK_COMMON $EXECUTABLE_LDFLAGS \
${$1_CPU_EXECUTABLE_LDFLAGS}"
$2JVM_LDFLAGS="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY $OS_LDFLAGS_JVM_ONLY \
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY $BASIC_LDFLAGS_ONLYCXX \
${$1_CPU_LDFLAGS} ${$1_CPU_LDFLAGS_JVM_ONLY} ${$2EXTRA_LDFLAGS}"
AC_SUBST($2LDFLAGS_JDKLIB)
AC_SUBST($2LDFLAGS_JDKEXE)
AC_SUBST($2JVM_LDFLAGS)
])

View File

@@ -0,0 +1,126 @@
#
# 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
#
# Setup flags for other tools than C/C++ compiler
#
AC_DEFUN([FLAGS_SETUP_ARFLAGS],
[
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ARFLAGS="-r -mmacosx-version-min=$MACOSX_VERSION_MIN"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-X64"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
# lib.exe is used as AR to create static libraries.
ARFLAGS="-nologo -NODEFAULTLIB:MSVCRT"
else
ARFLAGS=""
fi
AC_SUBST(ARFLAGS)
])
AC_DEFUN([FLAGS_SETUP_STRIPFLAGS],
[
## Setup strip.
# FIXME: should this really be per platform, or should it be per toolchain type?
# strip is not provided by clang or solstudio; so guessing platform makes most sense.
# FIXME: we should really only export STRIPFLAGS from here, not POST_STRIP_CMD.
if test "x$OPENJDK_TARGET_OS" = xlinux; then
STRIPFLAGS="-g"
elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
STRIPFLAGS="-x"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
STRIPFLAGS="-S"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
STRIPFLAGS="-X32_64"
fi
AC_SUBST(STRIPFLAGS)
])
AC_DEFUN([FLAGS_SETUP_RCFLAGS],
[
# On Windows, we need to set RC flags.
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
RC_FLAGS="-nologo -l0x409"
JVM_RCFLAGS="-nologo"
if test "x$DEBUG_LEVEL" = xrelease; then
RC_FLAGS="$RC_FLAGS -DNDEBUG"
JVM_RCFLAGS="$JVM_RCFLAGS -DNDEBUG"
fi
# The version variables used to create RC_FLAGS may be overridden
# in a custom configure script, or possibly the command line.
# Let those variables be expanded at make time in spec.gmk.
# The \$ are escaped to the shell, and the $(...) variables
# are evaluated by make.
RC_FLAGS="$RC_FLAGS \
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-D\"JDK_VER=\$(VERSION_NUMBER)\" \
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-D\"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(VERSION_FEATURE)\" \
-D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
JVM_RCFLAGS="$JVM_RCFLAGS \
-D\"HS_BUILD_ID=\$(VERSION_STRING)\" \
-D\"HS_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_DOTVER=\$(VERSION_NUMBER_FOUR_POSITIONS)\" \
-D\"HS_COPYRIGHT=Copyright $COPYRIGHT_YEAR\" \
-D\"HS_NAME=\$(PRODUCT_NAME) \$(VERSION_SHORT)\" \
-D\"JDK_VER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\" \
-D\"HS_FNAME=jvm.dll\" \
-D\"HS_INTERNAL_NAME=jvm\""
fi
AC_SUBST(RC_FLAGS)
AC_SUBST(JVM_RCFLAGS)
])
################################################################################
# platform independent
AC_DEFUN([FLAGS_SETUP_ASFLAGS],
[
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
JVM_BASIC_ASFLAGS="-x assembler-with-cpp -mno-omit-leaf-frame-pointer -mstack-alignment=16"
fi
])
################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against.
# $2 - Optional prefix for each variable defined.
AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
[
# Misuse EXTRA_CFLAGS to mimic old behavior
$2JVM_ASFLAGS="$JVM_BASIC_ASFLAGS ${$2EXTRA_CFLAGS}"
AC_SUBST($2JVM_ASFLAGS)
])

File diff suppressed because it is too large Load Diff

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
@@ -31,7 +31,7 @@ AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
[
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetype, cups, alsa etc
# $1 is the help tag: cups, alsa etc
MISSING_DEPENDENCY=$1
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -76,24 +76,6 @@ cygwin_help() {
PKGHANDLER_COMMAND="( cd <location of cygwin setup.exe> && cmd /c setup -q -P make )"
HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
;;
freetype)
HELP_MSG="
The freetype library can now be build during the configure process.
Download the freetype sources and unpack them into an arbitrary directory:
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz
tar -xzf freetype-2.5.3.tar.gz
Then run configure with '--with-freetype-src=<freetype_src>'. This will
automatically build the freetype library into '<freetype_src>/lib64' for 64-bit
builds or into '<freetype_src>/lib32' for 32-bit builds.
Afterwards you can always use '--with-freetype-include=<freetype_src>/include'
and '--with-freetype-lib=<freetype_src>/lib[32|64]' for other builds.
Alternatively you can unpack the sources like this to use the default directory:
tar --one-top-level=$HOME/freetype --strip-components=1 -xzf freetype-2.5.3.tar.gz"
;;
esac
}
@@ -231,8 +213,16 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "Configuration summary:\n"
printf "* Debug level: $DEBUG_LEVEL\n"
printf "* HS debug level: $HOTSPOT_DEBUG_LEVEL\n"
printf "* JDK variant: $JDK_VARIANT\n"
printf "* JVM variants: $JVM_VARIANTS\n"
printf "* JVM features: "
for variant in $JVM_VARIANTS; do
features_var_name=JVM_FEATURES_$variant
JVM_FEATURES_FOR_VARIANT=${!features_var_name}
printf "$variant: \'$JVM_FEATURES_FOR_VARIANT\' "
done
printf "\n"
printf "* OpenJDK target: OS: $OPENJDK_TARGET_OS, CPU architecture: $OPENJDK_TARGET_CPU_ARCH, address length: $OPENJDK_TARGET_CPU_BITS\n"
printf "* Version string: $VERSION_STRING ($VERSION_SHORT)\n"

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
@@ -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 all-gcs 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"
@@ -93,22 +96,16 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_MSG_RESULT([$JVM_VARIANTS])
# Check that the selected variants are valid
# grep filter function inspired by a comment to http://stackoverflow.com/a/1617326
# Notice that the original variant failes on SLES 10 and 11
NEEDLE=${VALID_JVM_VARIANTS// /$'\n'}
STACK=${JVM_VARIANTS// /$'\n'}
INVALID_VARIANTS=`$GREP -Fvx "${NEEDLE}" <<< "${STACK}"`
BASIC_GET_NON_MATCHING_VALUES(INVALID_VARIANTS, $JVM_VARIANTS, $VALID_JVM_VARIANTS)
if test "x$INVALID_VARIANTS" != x; then
AC_MSG_NOTICE([Unknown variant(s) specified: $INVALID_VARIANTS])
AC_MSG_ERROR([The available JVM variants are: $VALID_JVM_VARIANTS])
AC_MSG_NOTICE([Unknown variant(s) specified: "$INVALID_VARIANTS"])
AC_MSG_NOTICE([The available JVM variants are: "$VALID_JVM_VARIANTS"])
AC_MSG_ERROR([Cannot continue])
fi
# All "special" variants share the same output directory ("server")
VALID_MULTIPLE_JVM_VARIANTS="server client minimal"
NEEDLE=${VALID_MULTIPLE_JVM_VARIANTS// /$'\n'}
STACK=${JVM_VARIANTS// /$'\n'}
INVALID_MULTIPLE_VARIANTS=`$GREP -Fvx "${NEEDLE}" <<< "${STACK}"`
BASIC_GET_NON_MATCHING_VALUES(INVALID_MULTIPLE_VARIANTS, $JVM_VARIANTS, $VALID_MULTIPLE_JVM_VARIANTS)
if test "x$INVALID_MULTIPLE_VARIANTS" != x && test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = xtrue; then
AC_MSG_ERROR([You cannot build multiple variants with anything else than $VALID_MULTIPLE_JVM_VARIANTS.])
fi
@@ -204,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"
@@ -231,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
@@ -244,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"
@@ -255,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)
])
@@ -263,27 +268,48 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_CDS],
#
AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
[
# Prettify the VALID_JVM_FEATURES string
BASIC_SORT_LIST(VALID_JVM_FEATURES, $VALID_JVM_FEATURES)
# The user can in some cases supply additional jvm features. For the custom
# variant, this defines the entire variant.
AC_ARG_WITH([jvm-features], [AS_HELP_STRING([--with-jvm-features],
[additional JVM features to enable (separated by comma), use '--help' to show possible values @<:@none@:>@])])
[JVM features to enable (foo) or disable (-foo), separated by comma. Use '--help' to show possible values @<:@none@:>@])])
if test "x$with_jvm_features" != x; then
AC_MSG_CHECKING([additional JVM features])
JVM_FEATURES=`$ECHO $with_jvm_features | $SED -e 's/,/ /g'`
AC_MSG_RESULT([$JVM_FEATURES])
AC_MSG_CHECKING([user specified JVM feature list])
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, /^-.*/)) 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, /^-.*/)) 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 $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
if test "x$OPENJDK_TARGET_CPU" = xarm; then
HOTSPOT_TARGET_CPU=arm_32
HOTSPOT_TARGET_CPU_DEFINE="ARM32"
JVM_LDFLAGS="$JVM_LDFLAGS -fsigned-char"
JVM_CFLAGS="$JVM_CFLAGS -DARM -fsigned-char"
elif test "x$OPENJDK_TARGET_CPU" = xaarch64 && test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
HOTSPOT_TARGET_CPU=arm_64
HOTSPOT_TARGET_CPU_ARCH=arm
JVM_LDFLAGS="$JVM_LDFLAGS -fsigned-char"
JVM_CFLAGS="$JVM_CFLAGS -DARM -fsigned-char"
fi
# Verify that dependencies are met for explicitly set features.
@@ -299,12 +325,30 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_ERROR([Specified JVM feature 'jvmci' requires feature 'compiler2' or 'compiler1'])
fi
if HOTSPOT_CHECK_JVM_FEATURE(compiler2) && ! HOTSPOT_CHECK_JVM_FEATURE(all-gcs); then
AC_MSG_ERROR([Specified JVM feature 'compiler2' requires feature 'all-gcs'])
if HOTSPOT_CHECK_JVM_FEATURE(cmsgc) && ! HOTSPOT_CHECK_JVM_FEATURE(serialgc); then
AC_MSG_ERROR([Specified JVM feature 'cmsgc' requires feature 'serialgc'])
fi
if HOTSPOT_CHECK_JVM_FEATURE(vm-structs) && ! HOTSPOT_CHECK_JVM_FEATURE(all-gcs); then
AC_MSG_ERROR([Specified JVM feature 'vm-structs' requires feature 'all-gcs'])
# 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" != xaix; then
if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr"
fi
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
@@ -330,58 +374,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 linux-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$OPENJDK_TARGET_OS" = "xlinux" || \
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" || test "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"
@@ -390,16 +482,29 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
# All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jvmti vm-structs jni-check services management all-gcs nmt"
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 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 $JVM_FEATURES $JVM_FEATURES_link_time_opt"
JVM_FEATURES_minimal="compiler1 minimal serialgc $JVM_FEATURES $JVM_FEATURES_link_time_opt"
JVM_FEATURES_zero="zero $NON_MINIMAL_FEATURES $JVM_FEATURES"
JVM_FEATURES_custom="$JVM_FEATURES"
@@ -418,29 +523,35 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
])
###############################################################################
# Validate JVM features once all setup is complete, including custom setup.
# Finalize JVM features once all setup is complete, including custom setup.
#
AC_DEFUN_ONCE([HOTSPOT_VALIDATE_JVM_FEATURES],
AC_DEFUN_ONCE([HOTSPOT_FINALIZE_JVM_FEATURES],
[
# Keep feature lists sorted and free of duplicates
JVM_FEATURES_server="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_server | $SORT -u))"
JVM_FEATURES_client="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_client | $SORT -u))"
JVM_FEATURES_core="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_core | $SORT -u))"
JVM_FEATURES_minimal="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_minimal | $SORT -u))"
JVM_FEATURES_zero="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_zero | $SORT -u))"
JVM_FEATURES_custom="$($ECHO $($PRINTF '%s\n' $JVM_FEATURES_custom | $SORT -u))"
# Validate features
for variant in $JVM_VARIANTS; do
AC_MSG_CHECKING([JVM features for JVM variant '$variant'])
features_var_name=JVM_FEATURES_$variant
JVM_FEATURES_TO_TEST=${!features_var_name}
AC_MSG_RESULT([$JVM_FEATURES_TO_TEST])
NEEDLE=${VALID_JVM_FEATURES// /$'\n'}
STACK=${JVM_FEATURES_TO_TEST// /$'\n'}
INVALID_FEATURES=`$GREP -Fvx "${NEEDLE}" <<< "${STACK}"`
JVM_FEATURES_FOR_VARIANT=${!features_var_name}
# Filter out user-requested disabled features
BASIC_GET_NON_MATCHING_VALUES(JVM_FEATURES_FOR_VARIANT, $JVM_FEATURES_FOR_VARIANT, $DISABLED_JVM_FEATURES)
# Keep feature lists sorted and free of duplicates
BASIC_SORT_LIST(JVM_FEATURES_FOR_VARIANT, $JVM_FEATURES_FOR_VARIANT)
# Update real feature set variable
eval $features_var_name='"'$JVM_FEATURES_FOR_VARIANT'"'
AC_MSG_RESULT(["$JVM_FEATURES_FOR_VARIANT"])
# Verify that we have at least one gc selected
GC_FEATURES=`$ECHO $JVM_FEATURES_FOR_VARIANT | $GREP gc`
if test "x$GC_FEATURES" = x; then
AC_MSG_WARN([Invalid JVM features: No gc selected for variant $variant.])
fi
# Validate features (for configure script errors, not user errors)
BASIC_GET_NON_MATCHING_VALUES(INVALID_FEATURES, $JVM_FEATURES_FOR_VARIANT, $VALID_JVM_FEATURES)
if test "x$INVALID_FEATURES" != x; then
AC_MSG_ERROR([Invalid JVM feature(s): $INVALID_FEATURES])
AC_MSG_ERROR([Internal configure script error. Invalid JVM feature(s): $INVALID_FEATURES])
fi
done
])

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
@@ -238,6 +238,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
if test "x$OPENJDK_TARGET_OS" = xaix ; then
INCLUDE_SA=false
fi
if test "x$OPENJDK_TARGET_CPU" = xs390x ; then
INCLUDE_SA=false
fi
AC_SUBST(INCLUDE_SA)
# Compress jars
@@ -579,3 +582,51 @@ 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)
])
################################################################################
#
# Optionally disable man pages
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES],
[
AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages],
[Set to disable building of man pages @<:@enabled@:>@])])
BUILD_MANPAGES="true"
AC_MSG_CHECKING([if man pages should be built])
if test "x$enable_manpages" = "x"; then
AC_MSG_RESULT([yes])
elif test "x$enable_manpages" = "xyes"; then
AC_MSG_RESULT([yes, forced])
elif test "x$enable_manpages" = "xno"; then
AC_MSG_RESULT([no, forced])
BUILD_MANPAGES="false"
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([--enable-manpages can only yes/no or empty])
fi
AC_SUBST(BUILD_MANPAGES)
])

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

@@ -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
@@ -23,91 +23,6 @@
# questions.
#
################################################################################
# Build the freetype lib from source
################################################################################
AC_DEFUN([LIB_BUILD_FREETYPE],
[
FREETYPE_SRC_PATH="$1"
BUILD_FREETYPE=yes
# Check if the freetype sources are acessible..
if ! test -d $FREETYPE_SRC_PATH; then
AC_MSG_WARN([--with-freetype-src specified, but can not find path "$FREETYPE_SRC_PATH" - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# ..and contain a vc2010 project file
vcxproj_path="$FREETYPE_SRC_PATH/builds/windows/vc2010/freetype.vcxproj"
if test "x$BUILD_FREETYPE" = xyes && ! test -s $vcxproj_path; then
AC_MSG_WARN([Can not find project file $vcxproj_path (you may try a newer freetype version) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Now check if configure found a version of 'msbuild.exe'
if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" == x ; then
AC_MSG_WARN([Can not find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Ready to go..
if test "x$BUILD_FREETYPE" = xyes; then
# msbuild requires trailing slashes for output directories
freetype_lib_path="$FREETYPE_SRC_PATH/lib$OPENJDK_TARGET_CPU_BITS/"
freetype_lib_path_unix="$freetype_lib_path"
freetype_obj_path="$FREETYPE_SRC_PATH/obj$OPENJDK_TARGET_CPU_BITS/"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(vcxproj_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_lib_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_obj_path)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
freetype_platform=x64
else
freetype_platform=win32
fi
# The original freetype project file is for VS 2010 (i.e. 'v100'),
# so we have to adapt the toolset if building with any other toolsed (i.e. SDK).
# Currently 'PLATFORM_TOOLSET' is set in 'TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT'/
# 'TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT' in toolchain_windows.m4
AC_MSG_NOTICE([Trying to compile freetype sources with PlatformToolset=$PLATFORM_TOOLSET to $freetype_lib_path_unix ...])
# First we try to build the freetype.dll
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=DynamicLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" > freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.dll"; then
# If that succeeds we also build freetype.lib
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=StaticLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" >> freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.lib"; then
# Once we build both, lib and dll, set freetype lib and include path appropriately
POTENTIAL_FREETYPE_INCLUDE_PATH="$FREETYPE_SRC_PATH/include"
POTENTIAL_FREETYPE_LIB_PATH="$freetype_lib_path_unix"
AC_MSG_NOTICE([Compiling freetype sources succeeded! (see freetype.log for build results)])
else
BUILD_FREETYPE=no
fi
else
BUILD_FREETYPE=no
fi
fi
])
################################################################################
# Check if a potential freeype library match is correct and usable
################################################################################
@@ -122,7 +37,7 @@ AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
# First look for the canonical freetype main include file ft2build.h.
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Oh no! Let's try in the freetype2 directory. This is needed at least at Mac OS X Yosemite.
# Oh no! Let's try in the freetype2 directory.
POTENTIAL_FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH/freetype2"
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Fail.
@@ -130,33 +45,16 @@ AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
if test "x$FOUND_FREETYPE" = "xyes"; then
# Include file found, let's continue the sanity check.
AC_MSG_NOTICE([Found freetype include files at $POTENTIAL_FREETYPE_INCLUDE_PATH using $METHOD])
# Reset to default value
FREETYPE_BASE_NAME=freetype
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME"; then
if test "x$OPENJDK_TARGET_OS" = xmacosx \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH/${LIBRARY_PREFIX}freetype.6${SHARED_LIBRARY_SUFFIX}"; then
# On Mac OS X Yosemite, the symlink from libfreetype.dylib to libfreetype.6.dylib disappeared. Check
# for the .6 version explicitly.
FREETYPE_BASE_NAME=freetype.6
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
AC_MSG_NOTICE([Compensating for missing symlink by using version 6 explicitly])
else
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
FOUND_FREETYPE=no
fi
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
FOUND_FREETYPE=no
else
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# On Windows, we will need both .lib and .dll file.
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib. Ignoring location.])
FOUND_FREETYPE=no
fi
elif test "x$OPENJDK_TARGET_OS" = xsolaris \
if test "x$OPENJDK_TARGET_OS" = "xsolaris" \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR/$FREETYPE_LIB_NAME"; then
# Found lib in isa dir, use that instead.
POTENTIAL_FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR"
@@ -165,10 +63,7 @@ AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_INCLUDE_PATH)
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_LIB_PATH)
if test "x$FOUND_FREETYPE" = "xyes"; then
FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH"
AC_MSG_CHECKING([for freetype includes])
AC_MSG_RESULT([$FREETYPE_INCLUDE_PATH])
@@ -184,293 +79,147 @@ AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
[
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
[specify prefix directory for the freetype package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
[specify whether to use 'system' or 'bundled' freetype. Other values are errors.
The selected option applies to both build time and run time.
The default behaviour can be platform dependent.
If using 'system' and either the include files or libraries cannot be
located automatically, then additionally specify both using
--with-freetype-include and --with-freetype-lib.])])
AC_ARG_WITH(freetype-include, [AS_HELP_STRING([--with-freetype-include],
[specify directory for the freetype include files])])
AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
[specify directory for the freetype library])])
AC_ARG_WITH(freetype-src, [AS_HELP_STRING([--with-freetype-src],
[specify directory with freetype sources to automatically build the library (experimental, Windows-only)])])
AC_ARG_ENABLE(freetype-bundling, [AS_HELP_STRING([--disable-freetype-bundling],
[disable bundling of the freetype library with the build result @<:@enabled on Windows or when using --with-freetype, disabled otherwise@:>@])])
AC_ARG_WITH(freetype-license, [AS_HELP_STRING([--with-freetype-license],
[if bundling freetype, also bundle this license file])])
# Need to specify explicitly since it needs to be overridden on some versions of macosx
# This setup is to verify access to system installed freetype header and libraries.
# On Windows and MacOS this does not apply and using these options will report an error.
# On other platforms (Linux, Solaris, and perhaps AIX), they will default to using
# the system libraries. If they are found automatically, nothing need be done.
# If they are not found, the configure "--with-freetype-*" options may be used to fix that.
# If the preference is to bundle on these platforms then use --with-freetype=bundled
FREETYPE_BASE_NAME=freetype
FREETYPE_CFLAGS=
FREETYPE_LIBS=
FREETYPE_BUNDLE_LIB_PATH=
if test "x$NEEDS_LIB_FREETYPE" = xfalse; then
if (test "x$with_freetype" != x && test "x$with_freetype" != xno) || \
(test "x$with_freetype_include" != x && test "x$with_freetype_include" != xno) || \
(test "x$with_freetype_lib" != x && test "x$with_freetype_lib" != xno) || \
(test "x$with_freetype_src" != x && test "x$with_freetype_src" != xno); then
AC_MSG_WARN([[freetype not used, so --with-freetype[-*] is ignored]])
fi
if (test "x$enable_freetype_bundling" != x && test "x$enable_freetype_bundling" != xno); then
AC_MSG_WARN([freetype not used, so --enable-freetype-bundling is ignored])
fi
else
# freetype is needed to build; go get it!
if (test "x$with_freetype_include" = "x" && test "x$with_freetype_lib" != "x") || \
(test "x$with_freetype_include" != "x" && test "x$with_freetype_lib" = "x"); then
AC_MSG_ERROR(['must specify both or neither of --with_freetype_include and --with_freetype_lib])
fi
BUNDLE_FREETYPE="$enable_freetype_bundling"
if test "x$with_freetype_src" != x; then
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# Try to build freetype if --with-freetype-src was given on Windows
LIB_BUILD_FREETYPE([$with_freetype_src])
if test "x$BUILD_FREETYPE" = xyes; then
# Okay, we built it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype-src])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not use the built freetype at location given by --with-freetype-src])
fi
else
AC_MSG_NOTICE([User specified --with-freetype-src but building freetype failed. (see freetype.log for build results)])
AC_MSG_ERROR([Consider building freetype manually and using --with-freetype instead.])
fi
else
AC_MSG_WARN([--with-freetype-src is currently only supported on Windows - ignoring])
fi
fi
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
# User has specified settings
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype
BUNDLE_FREETYPE=yes
fi
if test "x$with_freetype" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype/include"
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype/lib"
fi
# Allow --with-freetype-lib and --with-freetype-include to override
if test "x$with_freetype_include" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"
fi
if test "x$with_freetype_lib" != x; then
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
fi
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" != x && test "x$POTENTIAL_FREETYPE_LIB_PATH" != x; then
# Okay, we got it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not find or use freetype at location given by --with-freetype])
fi
else
# User specified only one of lib or include. This is an error.
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" = x ; then
AC_MSG_NOTICE([User specified --with-freetype-lib but not --with-freetype-include])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
else
AC_MSG_NOTICE([User specified --with-freetype-include but not --with-freetype-lib])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
fi
FREETYPE_TO_USE=bundled
if (test "x$OPENJDK_TARGET_OS" != "xwindows" && test "x$OPENJDK_TARGET_OS" != "xmacosx"); then
FREETYPE_TO_USE=system
fi
if (test "x$with_freetype" != "x"); then
if (test "x$with_freetype" = "xsystem"); then
FREETYPE_TO_USE=system
elif (test "x$with_freetype" = "xbundled"); then
FREETYPE_TO_USE=bundled
if (test "x$with_freetype_include" != "x" || test "x$with_freetype_lib" != "x"); then
AC_MSG_ERROR(['bundled' cannot be specified with --with_freetype_include and --with_freetype_lib])
fi
else
# User did not specify settings, but we need freetype. Try to locate it.
AC_MSG_ERROR(['valid values for --with-freetype are 'system' and 'bundled'])
fi
fi
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype only on windows
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BUNDLE_FREETYPE=yes
else
BUNDLE_FREETYPE=no
fi
if (test "x$with_freetype_include" != "x" && test "x$with_freetype_lib" != "x"); then
FREETYPE_TO_USE=system
fi
if (test "x$FREETYPE_TO_USE" = "xsystem") && \
(test "x$OPENJDK_TARGET_OS" = "xwindows" || test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
AC_MSG_ERROR([Only bundled freetype can be specified on Mac and Windows])
fi
if (test "x$with_freetype_include" != "x"); then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"
fi
if (test "x$with_freetype_lib" != "x"); then
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
fi
if (test "x$FREETYPE_TO_USE" = "xsystem"); then
if (test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" != "x" && test "x$POTENTIAL_FREETYPE_LIB_PATH" != "x"); then
# Okay, we got it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype])
if (test "x$FOUND_FREETYPE" != "xyes"); then
AC_MSG_ERROR([Can not find or use freetype at location given by --with-freetype-lib|include])
fi
else
# User did not specify a location, but asked for system freetype. Try to locate it.
# If we have a sysroot, assume that's where we are supposed to look and skip pkg-config.
if test "x$SYSROOT" = x; then
if test "x$FOUND_FREETYPE" != xyes; then
if (test "x$SYSROOT" = "x"); then
if (test "x$FOUND_FREETYPE" != "xyes"); then
# Check modules using pkg-config, but only if we have it (ugly output results otherwise)
if test "x$PKG_CONFIG" != x; then
if (test "x$PKG_CONFIG" != "x"); then
PKG_CHECK_MODULES(FREETYPE, freetype2, [FOUND_FREETYPE=yes], [FOUND_FREETYPE=no])
if test "x$FOUND_FREETYPE" = xyes; then
if (test "x$FOUND_FREETYPE" = "xyes"); then
# On solaris, pkg_check adds -lz to freetype libs, which isn't necessary for us.
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's/-lz//g'`
# 64-bit libs for Solaris x86 are installed in the amd64 subdirectory, change lib to lib/amd64
if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
if (test "x$OPENJDK_TARGET_OS" = "xsolaris" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's?/lib?/lib/amd64?g'`
fi
# PKG_CHECK_MODULES will set FREETYPE_CFLAGS and _LIBS, but we don't get a lib path for bundling.
if test "x$BUNDLE_FREETYPE" = xyes; then
AC_MSG_NOTICE([Found freetype using pkg-config, but ignoring since we can not bundle that])
FOUND_FREETYPE=no
else
AC_MSG_CHECKING([for freetype])
AC_MSG_RESULT([yes (using pkg-config)])
fi
AC_MSG_CHECKING([for freetype])
AC_MSG_RESULT([yes (using pkg-config)])
fi
fi
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
if (test "x$FOUND_FREETYPE" != "xyes"); then
# Check in well-known locations
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_BASE_DIR="$PROGRAMFILES/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
FREETYPE_BASE_DIR="$SYSROOT/usr"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if (test "x$FOUND_FREETYPE" != "xyes"); then
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$ProgramW6432/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$HOME/freetype"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib64], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes && test -d $FREETYPE_BASE_DIR \
&& test -s "$FREETYPE_BASE_DIR/builds/windows/vc2010/freetype.vcxproj" && test "x$MSBUILD" != x; then
# Source is available, as a last resort try to build freetype in default location
LIB_BUILD_FREETYPE($FREETYPE_BASE_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib64], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
fi
fi
else
fi
if (test "x$FOUND_FREETYPE" != "xyes"); then
FREETYPE_BASE_DIR="$SYSROOT/usr/local"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if (test "x$FOUND_FREETYPE" != "xyes"); then
FREETYPE_BASE_DIR="$SYSROOT/usr"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/local"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
if test "x$FOUND_FREETYPE" != xyes; then
# Due to changes in OSX 10.11 XQuartz now installs to /opt/X11
FREETYPE_BASE_DIR="$SYSROOT/opt/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnu], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
if (test "x$OPENJDK_TARGET_CPU_BITS" = "x64"); then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnu], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
if (test "x$FOUND_FREETYPE" != "xyes"); then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
fi
fi
fi # end check in well-known locations
if test "x$FOUND_FREETYPE" != xyes; then
if (test "x$FOUND_FREETYPE" != "xyes"); then
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_ERROR([Could not find freetype! $HELP_MSG ])
fi
fi # end user specified settings
# Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.
if test "x$FREETYPE_CFLAGS" = x; then
BASIC_FIXUP_PATH(FREETYPE_INCLUDE_PATH)
if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype; then
if (test "x$FREETYPE_CFLAGS" = "x"); then
if (test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype); then
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH/freetype2 -I$FREETYPE_INCLUDE_PATH"
else
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH"
fi
fi
if test "x$FREETYPE_LIBS" = x; then
BASIC_FIXUP_PATH(FREETYPE_LIB_PATH)
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_LIBS="$FREETYPE_LIB_PATH/$FREETYPE_BASE_NAME.lib"
else
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
if (test "x$FREETYPE_LIBS" = "x"); then
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
fi
# Try to compile it
AC_MSG_CHECKING([if we can compile and link with freetype])
AC_LANG_PUSH(C++)
PREV_CXXCFLAGS="$CXXFLAGS"
PREV_LIBS="$LIBS"
PREV_CXX="$CXX"
CXXFLAGS="$CXXFLAGS $FREETYPE_CFLAGS"
LIBS="$LIBS $FREETYPE_LIBS"
CXX="$FIXPATH $CXX"
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include<ft2build.h>
#include FT_FREETYPE_H
int main () {
FT_Init_FreeType(NULL);
return 0;
}
]])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
AC_MSG_NOTICE([Could not compile and link with freetype. This might be a 32/64-bit mismatch.])
AC_MSG_NOTICE([Using FREETYPE_CFLAGS=$FREETYPE_CFLAGS and FREETYPE_LIBS=$FREETYPE_LIBS])
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_RESULT([Using freetype: $FREETYPE_TO_USE])
AC_MSG_ERROR([Can not continue without freetype. $HELP_MSG])
]
)
CXXCFLAGS="$PREV_CXXFLAGS"
LIBS="$PREV_LIBS"
CXX="$PREV_CXX"
AC_LANG_POP(C++)
AC_MSG_CHECKING([if we should bundle freetype])
if test "x$BUNDLE_FREETYPE" = xyes; then
FREETYPE_BUNDLE_LIB_PATH="$FREETYPE_LIB_PATH"
fi
AC_MSG_RESULT([$BUNDLE_FREETYPE])
if test "x$BUNDLE_FREETYPE" = xyes; then
FREETYPE_LICENSE=""
AC_MSG_CHECKING([for freetype license])
if test "x$with_freetype_license" = "xyes"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([--with-freetype-license must have a value])
elif test "x$with_freetype_license" != "x"; then
AC_MSG_RESULT([$with_freetype_license])
FREETYPE_LICENSE="$with_freetype_license"
BASIC_FIXUP_PATH(FREETYPE_LICENSE)
if test ! -f "$FREETYPE_LICENSE"; then
AC_MSG_ERROR([$FREETYPE_LICENSE cannot be found])
fi
else
if test "x$with_freetype" != "x" && test -f $with_freetype/freetype.md; then
FREETYPE_LICENSE="$with_freetype/freetype.md"
AC_MSG_RESULT([$FREETYPE_LICENSE])
BASIC_FIXUP_PATH(FREETYPE_LICENSE)
else
AC_MSG_RESULT([no])
fi
fi
fi
fi # end freetype needed
AC_SUBST(FREETYPE_BUNDLE_LIB_PATH)
AC_SUBST(FREETYPE_TO_USE)
AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
AC_SUBST(FREETYPE_LICENSE)
])

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
@@ -81,6 +81,9 @@ AC_DEFUN_ONCE([LIB_SETUP_STD_LIBS],
if test "x$TOOLCHAIN_TYPE" = xsolstudio && test "x$LIBCXX" = x; then
LIBCXX="${SYSROOT}/usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libCrun.so.1"
fi
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LIBCXX_JVM="-lCrun"
fi
AC_SUBST(LIBCXX)

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

@@ -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
@@ -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,58 @@ 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"
else
GLOBAL_LIBS=""
fi
BASIC_JDKLIB_LIBS=""
if test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
BASIC_JDKLIB_LIBS="-ljava -ljvm"
fi
# Math library
BASIC_JVM_LIBS="$LIBM"
# Dynamic loading library
if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBDL"
fi
# Threading library
if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lpthread"
elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
-lrt -lkstat"
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBCXX_JVM"
fi
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
wsock32.lib winmm.lib version.lib psapi.lib"
fi
JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
JDKEXE_LIBS=""
JVM_LIBS="$BASIC_JVM_LIBS"
OPENJDK_BUILD_JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
OPENJDK_BUILD_JVM_LIBS="$BASIC_JVM_LIBS"
AC_SUBST(JDKLIB_LIBS)
AC_SUBST(JDKEXE_LIBS)
AC_SUBST(JVM_LIBS)
AC_SUBST(OPENJDK_BUILD_JDKLIB_LIBS)
AC_SUBST(OPENJDK_BUILD_JVM_LIBS)
AC_SUBST(GLOBAL_LIBS)
])
################################################################################

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
@@ -60,6 +60,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
;;
ia64)
VAR_CPU=ia64
VAR_CPU_ARCH=ia64
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
;;
m68k)
VAR_CPU=m68k
VAR_CPU_ARCH=m68k
@@ -256,9 +262,12 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
OPENJDK_TARGET_OS_UPPERCASE=`$ECHO $OPENJDK_TARGET_OS | $TR 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
AC_SUBST(OPENJDK_TARGET_OS)
AC_SUBST(OPENJDK_TARGET_OS_TYPE)
AC_SUBST(OPENJDK_TARGET_OS_ENV)
AC_SUBST(OPENJDK_TARGET_OS_UPPERCASE)
AC_SUBST(OPENJDK_TARGET_CPU)
AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
AC_SUBST(OPENJDK_TARGET_CPU_BITS)
@@ -403,15 +412,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}"
AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
if test "x$OPENJDK_$1_CPU_BITS" = x64; then
# -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
# unpack200.exe. This variable is used in
# FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER.
if test "x$OPENJDK_$1_OS" = xlinux || test "x$OPENJDK_$1_OS" = xmacosx; then
OPENJDK_$1_ADD_LP64="-D_LP64=1"
fi
fi
if test "x$COMPILE_TYPE" = "xcross"; then
# FIXME: ... or should this include reduced builds..?
DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_$1_CPU_LEGACY"
@@ -563,31 +563,6 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
AC_SUBST(OS_VERSION_MICRO)
])
# Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS.
# Add -mX to various FLAGS variables.
AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS],
[
# When we add flags to the "official" CFLAGS etc, we need to
# keep track of these additions in ADDED_CFLAGS etc. These
# will later be checked to make sure only controlled additions
# have been made to CFLAGS etc.
ADDED_CFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
ADDED_CXXFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
ADDED_LDFLAGS=" ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
JVM_CFLAGS="$JVM_CFLAGS $ADDED_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $ADDED_LDFLAGS"
JVM_ASFLAGS="$JVM_ASFLAGS $ADDED_CFLAGS"
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
[
###############################################################################
@@ -597,22 +572,6 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
# is made at runtime.)
#
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
# Always specify -m flag on Solaris
# And -q on AIX because otherwise the compiler produces 32-bit objects by default
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
elif test "x$COMPILE_TYPE" = xreduced; then
if test "x$OPENJDK_TARGET_OS_TYPE" = xunix; then
# Specify -m if running reduced on unix platforms
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
fi
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
JVM_CFLAGS="$JVM_CFLAGS ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
JVM_LDFLAGS="$JVM_LDFLAGS ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
JVM_ASFLAGS="$JVM_ASFLAGS ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
fi
# Make compilation sanity check
AC_CHECK_HEADERS([stdio.h], , [
AC_MSG_NOTICE([Failed to compile stdio.h. This likely implies missing compile dependencies.])
@@ -635,33 +594,14 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
# This situation may happen on 64-bit platforms where the compiler by default only generates 32-bit objects
# Let's try to implicitely set the compilers target architecture and retry the test
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS).])
AC_MSG_NOTICE([Retrying with platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
# We have to unset 'ac_cv_sizeof_int_p' first, otherwise AC_CHECK_SIZEOF will use the previously cached value!
unset ac_cv_sizeof_int_p
# And we have to undef the definition of SIZEOF_INT_P in confdefs.h by the previous invocation of AC_CHECK_SIZEOF
cat >>confdefs.h <<_ACEOF
#undef SIZEOF_INT_P
_ACEOF
AC_CHECK_SIZEOF([int *], [1111])
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
if test "x$COMPILE_TYPE" = xreduced; then
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
if test "x$COMPILE_TYPE" = xreduced; then
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
fi
fi

View File

@@ -65,6 +65,7 @@ CONF_NAME:=@CONF_NAME@
OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
OPENJDK_TARGET_OS_TYPE:=@OPENJDK_TARGET_OS_TYPE@
OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@
OPENJDK_TARGET_OS_UPPERCASE:=@OPENJDK_TARGET_OS_UPPERCASE@
OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@
@@ -78,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@
@@ -101,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@
@@ -164,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)
@@ -202,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)"' \
@@ -302,6 +309,10 @@ BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
BUILD_MANPAGES := @BUILD_MANPAGES@
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
# it in sync.
BOOT_JDK:=@BOOT_JDK@
@@ -331,11 +342,11 @@ TEST_JOBS?=@TEST_JOBS@
# Default make target
DEFAULT_MAKE_TARGET:=@DEFAULT_MAKE_TARGET@
DEFAULT_LOG:=@DEFAULT_LOG@
FREETYPE_TO_USE:=@FREETYPE_TO_USE@
FREETYPE_LIBS:=@FREETYPE_LIBS@
FREETYPE_CFLAGS:=@FREETYPE_CFLAGS@
FREETYPE_BUNDLE_LIB_PATH=@FREETYPE_BUNDLE_LIB_PATH@
FREETYPE_LICENSE=@FREETYPE_LICENSE@
FONTCONFIG_CFLAGS:=@FONTCONFIG_CFLAGS@
CUPS_CFLAGS:=@CUPS_CFLAGS@
ALSA_LIBS:=@ALSA_LIBS@
@@ -344,6 +355,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@
@@ -395,7 +407,6 @@ COMPILER_COMMAND_FILE_FLAG:=@COMPILER_COMMAND_FILE_FLAG@
COMPILER_BINDCMD_FILE_FLAG:=@COMPILER_BINDCMD_FILE_FLAG@
CC_OUT_OPTION:=@CC_OUT_OPTION@
EXE_OUT_OPTION:=@EXE_OUT_OPTION@
LD_OUT_OPTION:=@LD_OUT_OPTION@
AR_OUT_OPTION:=@AR_OUT_OPTION@
@@ -423,7 +434,7 @@ CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
CXXSTD_CXXFLAG=@CXXSTD_CXXFLAG@
ADLC_CXXFLAG=@ADLC_CXXFLAG@
# Tools that potentially need to be cross compilation aware.
CC:=@FIXPATH@ @CCACHE@ @ICECC@ @CC@
@@ -436,11 +447,10 @@ CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
LDFLAGS_HASH_STYLE := @LDFLAGS_HASH_STYLE@
LDFLAGS_NO_EXEC_STACK := @LDFLAGS_NO_EXEC_STACK@
LIBJSIG_HASHSTYLE_LDFLAGS := @LIBJSIG_HASHSTYLE_LDFLAGS@
LIBJSIG_NOEXECSTACK_LDFLAGS := @LIBJSIG_NOEXECSTACK_LDFLAGS@
JVM_CFLAGS := @JVM_CFLAGS@
JVM_CFLAGS_SYMBOLS := @JVM_CFLAGS_SYMBOLS@
JVM_LDFLAGS := @JVM_LDFLAGS@
JVM_ASFLAGS := @JVM_ASFLAGS@
JVM_LIBS := @JVM_LIBS@
@@ -461,14 +471,10 @@ LD:=@FIXPATH@ @LD@
# Xcode SDK path
SDKROOT:=@SDKROOT@
# The linker on older SuSE distros (e.g. on SLES 10) complains with:
# "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
# if feeded with a version script which contains named tags.
USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
# LDFLAGS used to link the jdk native libraries (C-code)
LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
JDKLIB_LIBS:=@JDKLIB_LIBS@
GLOBAL_LIBS:=@GLOBAL_LIBS@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
@@ -513,6 +519,8 @@ ARFLAGS:=@ARFLAGS@
NM:=@NM@
GNM:=@GNM@
STRIP:=@STRIP@
OBJDUMP:=@OBJDUMP@
CXXFILT:=@CXXFILT@
LIPO:=@LIPO@
INSTALL_NAME_TOOL:=@INSTALL_NAME_TOOL@
@@ -524,7 +532,6 @@ SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
# Options for C/CXX compiler to be used if linking is performed
# using reorder file
C_FLAG_REORDER:=@C_FLAG_REORDER@
CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@
#
# Options for generating debug symbols
@@ -533,7 +540,7 @@ COPY_DEBUG_SYMBOLS := @COPY_DEBUG_SYMBOLS@
ZIP_EXTERNAL_DEBUG_SYMBOLS := @ZIP_EXTERNAL_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
ASFLAGS_DEBUG_SYMBOLS:=@ASFLAGS_DEBUG_SYMBOLS@
#
# Compress (or not) jars
@@ -678,6 +685,7 @@ GZIP:=@GZIP@
HEAD:=@HEAD@
LS:=@LS@
LN:=@LN@
MIG:=@MIG@
MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
@@ -710,6 +718,7 @@ CYGPATH:=@CYGPATH@
LDD:=@LDD@
OTOOL:=@OTOOL@
READELF:=@READELF@
ELFEDIT:=@ELFEDIT@
EXPR:=@EXPR@
FILE:=@FILE@
DOT:=@DOT@
@@ -740,6 +749,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@
####################################################
@@ -813,6 +823,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@
@@ -821,18 +832,11 @@ OS_VERSION_MICRO:=@OS_VERSION_MICRO@
# Images directory definitions
JDK_IMAGE_SUBDIR:=jdk
JRE_IMAGE_SUBDIR:=jre
JRE_COMPACT1_IMAGE_SUBDIR := jre-compact1
JRE_COMPACT2_IMAGE_SUBDIR := jre-compact2
JRE_COMPACT3_IMAGE_SUBDIR := jre-compact3
# Colon left out to be able to override output dir for bootcycle-images
JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
JRE_COMPACT1_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT1_IMAGE_SUBDIR)
JRE_COMPACT2_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT2_IMAGE_SUBDIR)
JRE_COMPACT3_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(JRE_COMPACT3_IMAGE_SUBDIR)
# Test image, as above
TEST_IMAGE_SUBDIR:=test
TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
@@ -868,24 +872,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
JRE_COMPACT1_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact1_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_bin$(DEBUG_PART).tar.gz
JRE_COMPACT2_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact2_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_bin$(DEBUG_PART).tar.gz
JRE_COMPACT3_BUNDLE_NAME := \
jre-$(VERSION_SHORT)+$(VERSION_BUILD)-compact3_$(OPENJDK_TARGET_BUNDLE_PLATFORM)_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

@@ -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
@@ -52,11 +52,14 @@ TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++"
# Minimum supported versions, empty means unspecified
TOOLCHAIN_MINIMUM_VERSION_clang="3.2"
TOOLCHAIN_MINIMUM_VERSION_gcc="4.7"
TOOLCHAIN_MINIMUM_VERSION_gcc="4.8"
TOOLCHAIN_MINIMUM_VERSION_microsoft="16.00.30319.01" # VS2010
TOOLCHAIN_MINIMUM_VERSION_solstudio="5.13"
TOOLCHAIN_MINIMUM_VERSION_xlc=""
# Minimum supported linker versions, empty means unspecified
TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.18"
# Prepare the system so that TOOLCHAIN_CHECK_COMPILER_VERSION can be called.
# Must have CC_VERSION_NUMBER and CXX_VERSION_NUMBER.
# $1 - optional variable prefix for compiler and version variables (BUILD_)
@@ -114,6 +117,57 @@ BASIC_DEFUN_NAMED([TOOLCHAIN_CHECK_COMPILER_VERSION],
fi
])
# Prepare the system so that TOOLCHAIN_CHECK_COMPILER_VERSION can be called.
# Must have LD_VERSION_NUMBER.
# $1 - optional variable prefix for compiler and version variables (BUILD_)
# $2 - optional variable prefix for comparable variable (OPENJDK_BUILD_)
AC_DEFUN([TOOLCHAIN_PREPARE_FOR_LD_VERSION_COMPARISONS],
[
if [ [[ "[$]$1LD_VERSION_NUMBER" =~ (.*\.){4} ]] ]; then
AC_MSG_WARN([Linker version number has more than four parts (W.X.Y.Z): [$]$1LD_VERSION_NUMBER. Comparisons might be wrong.])
fi
if [ [[ "[$]$1LD_VERSION_NUMBER" =~ [0-9]{6} ]] ]; then
AC_MSG_WARN([Linker version number has a part larger than 99999: [$]$1LD_VERSION_NUMBER. Comparisons might be wrong.])
fi
$2COMPARABLE_ACTUAL_LD_VERSION=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "[$]$1LD_VERSION_NUMBER"`
])
# Check if the configured linker is of a specific version or
# newer. TOOLCHAIN_PREPARE_FOR_LD_VERSION_COMPARISONS must have been called before.
#
# Arguments:
# VERSION: The version string to check against the found version
# IF_AT_LEAST: block to run if the compiler is at least this version (>=)
# IF_OLDER_THAN: block to run if the compiler is older than this version (<)
# PREFIX: Optional variable prefix for compiler to compare version for (OPENJDK_BUILD_)
BASIC_DEFUN_NAMED([TOOLCHAIN_CHECK_LINKER_VERSION],
[*VERSION PREFIX IF_AT_LEAST IF_OLDER_THAN], [$@],
[
# Need to assign to a variable since m4 is blocked from modifying parts in [].
REFERENCE_VERSION=ARG_VERSION
if [ [[ "$REFERENCE_VERSION" =~ (.*\.){4} ]] ]; then
AC_MSG_ERROR([Internal error: Cannot compare to ARG_VERSION, only four parts (W.X.Y.Z) is supported])
fi
if [ [[ "$REFERENCE_VERSION" =~ [0-9]{6} ]] ]; then
AC_MSG_ERROR([Internal error: Cannot compare to ARG_VERSION, only parts < 99999 is supported])
fi
# Version comparison method inspired by http://stackoverflow.com/a/24067243
COMPARABLE_REFERENCE_VERSION=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$REFERENCE_VERSION"`
if test [$]ARG_PREFIX[COMPARABLE_ACTUAL_LD_VERSION] -ge $COMPARABLE_REFERENCE_VERSION ; then
:
ARG_IF_AT_LEAST
else
:
ARG_IF_OLDER_THAN
fi
])
# Setup a number of variables describing how native output files are
# named on this platform/toolchain.
AC_DEFUN([TOOLCHAIN_SETUP_FILENAME_PATTERNS],
@@ -241,6 +295,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE],
TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
toolchain_var_name=TOOLCHAIN_MINIMUM_VERSION_$TOOLCHAIN_TYPE
TOOLCHAIN_MINIMUM_VERSION=${!toolchain_var_name}
toolchain_var_name=TOOLCHAIN_MINIMUM_LD_VERSION_$TOOLCHAIN_TYPE
TOOLCHAIN_MINIMUM_LD_VERSION=${!toolchain_var_name}
toolchain_var_name=TOOLCHAIN_CC_BINARY_$TOOLCHAIN_TYPE
TOOLCHAIN_CC_BINARY=${!toolchain_var_name}
toolchain_var_name=TOOLCHAIN_CXX_BINARY_$TOOLCHAIN_TYPE
@@ -524,6 +580,77 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
TOOLCHAIN_EXTRACT_COMPILER_VERSION([$1], [$COMPILER_NAME])
])
# Retrieve the linker version number and store it in LD_VERSION_NUMBER
# (as a dotted number), and
# the full version string in LD_VERSION_STRING.
#
# $1 = linker to test (LD or BUILD_LD)
# $2 = human readable name of linker (Linker or BuildLinker)
AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
[
LINKER=[$]$1
LINKER_NAME=$2
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# cc -Wl,-V output typically looks like
# ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.2329
# solstudio cc requires us to have an existing file to pass as argument,
# but it need not be a syntactically correct C file, so just use
# ourself. :) The intermediate 'cat' is needed to stop ld from leaving
# a lingering a.out (!).
LINKER_VERSION_STRING=`$LD -Wl,-V $TOPDIR/configure 2>&1 | $CAT | $HEAD -n 1 | $SED -e 's/ld: //'`
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\.[0-9][0-9]*\)-\([0-9][0-9]*\.[0-9][0-9]*\)/\1.\2/'` ]
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
LINKER_VERSION_STRING="Unknown"
LINKER_VERSION_NUMBER="0.0"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# There is no specific version flag, but all output starts with a version string.
# First line typically looks something like:
# Microsoft (R) Incremental Linker Version 12.00.31101.0
LINKER_VERSION_STRING=`$LD 2>&1 | $HEAD -n 1 | $TR -d '\r'`
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
# gcc -Wl,-version output typically looks like
# GNU ld (GNU Binutils for Ubuntu) 2.26.1
# Copyright (C) 2015 Free Software Foundation, Inc.
# This program is free software; [...]
LINKER_VERSION_STRING=`$LD -Wl,-version 2>&1 | $HEAD -n 1`
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang -Wl,-v output typically looks like
# @(#)PROGRAM:ld PROJECT:ld64-305
# configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
# Library search paths: [...]
# or
# GNU ld (GNU Binutils for Ubuntu) 2.26.1
LINKER_VERSION_STRING=`$LD -Wl,-v 2>&1 | $HEAD -n 1`
# Check if we're using the GNU ld
$ECHO "$LINKER_VERSION_STRING" | $GREP "GNU" > /dev/null
if test $? -eq 0; then
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
else
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.*-\([0-9][0-9]*\)/\1/'` ]
fi
fi
$1_VERSION_NUMBER="$LINKER_VERSION_NUMBER"
$1_VERSION_STRING="$LINKER_VERSION_STRING"
AC_MSG_NOTICE([Using $TOOLCHAIN_TYPE $LINKER_NAME version $LINKER_VERSION_NUMBER @<:@$LINKER_VERSION_STRING@:>@])
])
# Detect the core components of the toolchain, i.e. the compilers (CC and CXX),
# preprocessor (CPP and CXXCPP), the linker (LD), the assembler (AS) and the
# archiver (AR). Verify that the compilers are correct according to the
@@ -591,6 +718,17 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
# FIXME: it should be CXXLD, according to standard (cf CXXCPP)
AC_SUBST(LDCXX)
TOOLCHAIN_EXTRACT_LD_VERSION([LD], [linker])
TOOLCHAIN_PREPARE_FOR_LD_VERSION_COMPARISONS
if test "x$TOOLCHAIN_MINIMUM_LD_VERSION" != x; then
TOOLCHAIN_CHECK_LINKER_VERSION(VERSION: $TOOLCHAIN_MINIMUM_LD_VERSION,
IF_OLDER_THAN: [
AC_MSG_WARN([You are using a linker older than $TOOLCHAIN_MINIMUM_LD_VERSION. This is not a supported configuration.])
]
)
fi
#
# Setup the assembler (AS)
#
@@ -726,6 +864,14 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
# bails if argument is missing.
BASIC_FIXUP_EXECUTABLE(OBJDUMP)
fi
case $TOOLCHAIN_TYPE in
gcc|clang|solstudio)
BASIC_CHECK_TOOLS(CXXFILT, [c++filt])
BASIC_CHECK_NONEMPTY(CXXFILT)
BASIC_FIXUP_EXECUTABLE(CXXFILT)
;;
esac
])
# Setup the build tools (i.e, the compiler and linker used to build programs
@@ -783,7 +929,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
fi
BUILD_SYSROOT="$BUILD_DEVKIT_SYSROOT"
FLAGS_SETUP_SYSROOT_FLAGS([BUILD_])
# Fallback default of just /bin if DEVKIT_PATH is not defined
if test "x$BUILD_DEVKIT_TOOLCHAIN_PATH" = x; then
@@ -819,6 +964,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
TOOLCHAIN_EXTRACT_COMPILER_VERSION(BUILD_CC, [BuildC])
TOOLCHAIN_EXTRACT_COMPILER_VERSION(BUILD_CXX, [BuildC++])
TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS([BUILD_], [OPENJDK_BUILD_])
TOOLCHAIN_EXTRACT_LD_VERSION(BUILD_LD, [build linker])
TOOLCHAIN_PREPARE_FOR_LD_VERSION_COMPARISONS([BUILD_], [OPENJDK_BUILD_])
else
# If we are not cross compiling, use the normal target compilers for
# building the build platform executables.
@@ -830,11 +977,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
BUILD_AS="$AS"
BUILD_OBJCOPY="$OBJCOPY"
BUILD_STRIP="$STRIP"
BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
BUILD_AR="$AR"
TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS([], [OPENJDK_BUILD_])
TOOLCHAIN_PREPARE_FOR_LD_VERSION_COMPARISONS([BUILD_], [OPENJDK_BUILD_])
fi
AC_SUBST(BUILD_CC)
@@ -843,8 +989,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
AC_SUBST(BUILD_LDCXX)
AC_SUBST(BUILD_NM)
AC_SUBST(BUILD_AS)
AC_SUBST(BUILD_SYSROOT_CFLAGS)
AC_SUBST(BUILD_SYSROOT_LDFLAGS)
AC_SUBST(BUILD_AR)
])
@@ -876,44 +1020,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
# If this is a --hash-style=gnu system, use --hash-style=both, why?
HAS_GNU_HASH=`$CC -dumpspecs 2>/dev/null | $GREP 'hash-style=gnu'`
# This is later checked when setting flags.
# "-Og" suppported for GCC 4.8 and later
CFLAG_OPTIMIZE_DEBUG_FLAG="-Og"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CFLAG_OPTIMIZE_DEBUG_FLAG],
IF_TRUE: [HAS_CFLAG_OPTIMIZE_DEBUG=true],
IF_FALSE: [HAS_CFLAG_OPTIMIZE_DEBUG=false])
# "-z relro" supported in GNU binutils 2.17 and later
LINKER_RELRO_FLAG="-Wl,-z,relro"
FLAGS_LINKER_CHECK_ARGUMENTS(ARGUMENT: [$LINKER_RELRO_FLAG],
IF_TRUE: [HAS_LINKER_RELRO=true],
IF_FALSE: [HAS_LINKER_RELRO=false])
# "-z now" supported in GNU binutils 2.11 and later
LINKER_NOW_FLAG="-Wl,-z,now"
FLAGS_LINKER_CHECK_ARGUMENTS(ARGUMENT: [$LINKER_NOW_FLAG],
IF_TRUE: [HAS_LINKER_NOW=true],
IF_FALSE: [HAS_LINKER_NOW=false])
fi
# Check for broken SuSE 'ld' for which 'Only anonymous version tag is allowed
# in executable.'
USING_BROKEN_SUSE_LD=no
if test "x$OPENJDK_TARGET_OS" = xlinux && test "x$TOOLCHAIN_TYPE" = xgcc; then
AC_MSG_CHECKING([for broken SuSE 'ld' which only understands anonymous version tags in executables])
$ECHO "SUNWprivate_1.1 { local: *; };" > version-script.map
$ECHO "int main() { }" > main.c
if $CXX -Wl,-version-script=version-script.map main.c 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD; then
AC_MSG_RESULT(no)
USING_BROKEN_SUSE_LD=no
else
AC_MSG_RESULT(yes)
USING_BROKEN_SUSE_LD=yes
fi
$RM version-script.map main.c a.out
fi
AC_SUBST(USING_BROKEN_SUSE_LD)
# Setup hotspot lecagy names for toolchains
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
if test "x$TOOLCHAIN_TYPE" = xclang; then

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="Community Professional Enterprise"
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'`
@@ -522,7 +535,6 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL],
if $ECHO "$MSVC_DLL_FILETYPE" | $GREP "$CORRECT_MSVCR_ARCH" 2>&1 > /dev/null; then
AC_MSG_RESULT([ok])
MSVC_DLL="$POSSIBLE_MSVC_DLL"
BASIC_FIXUP_PATH(MSVC_DLL)
AC_MSG_CHECKING([for $DLL_NAME])
AC_MSG_RESULT([$MSVC_DLL])
else
@@ -540,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
@@ -674,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,13 +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-18
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 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

@@ -0,0 +1,192 @@
#
# 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.
#
ifndef _JDK_NATIVE_COMPILATION_GMK
_JDK_NATIVE_COMPILATION_GMK := 1
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including JdkNativeCompilation.gmk)
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.
#
# 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.
#
# Remaining parameters are named arguments. These are all passed on to
# 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), )
$1_OUTPUT_DIR := $$(call FindLibDirForModule, $$(MODULE))
endif
ifeq ($$($1_OBJECT_DIR), )
$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)
$1_VERSIONINFO_RESOURCE :=
endif
ifeq ($$($1_RC_FLAGS), )
$1_RC_FLAGS := $(RC_FLAGS) \
-D "JDK_FNAME=$$($1_NAME).dll" \
-D "JDK_INTERNAL_NAME=$$($1_NAME)" \
-D "JDK_FTYPE=0x2L"
else ifeq ($$($1_RC_FLAGS), DISABLE)
$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.
# We lose in transparency, but gain in brevity in this call...
$$(eval $$(call SetupNativeCompilation, $1, ))
endef
# Setup make rules for creating a native executable with suitable defaults for
# the OpenJDK project.
#
# 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.
#
# Remaining parameters are named arguments. These are all passed on to
# SetupNativeCompilation, except for
# EXTRA_RC_FLAGS -- additional RC_FLAGS to append.
SetupJdkExecutable = $(NamedParamsMacroTemplate)
define SetupJdkExecutableBody
$1_TYPE := EXECUTABLE
ifeq ($$($1_OUTPUT_DIR), )
$1_OUTPUT_DIR := $$(call FindExecutableDirForModule, $$(MODULE))
endif
ifeq ($$($1_OBJECT_DIR), )
$1_OBJECT_DIR := $$(SUPPORT_OUTPUTDIR)/native/$$(MODULE)/$$($1_NAME)
endif
ifeq ($$($1_VERSIONINFO_RESOURCE), )
$1_VERSIONINFO_RESOURCE := $$(GLOBAL_VERSION_INFO_RESOURCE)
else ifeq ($$($1_VERSIONINFO_RESOURCE), DISABLE)
$1_VERSIONINFO_RESOURCE :=
endif
ifeq ($$($1_RC_FLAGS), )
$1_RC_FLAGS := $(RC_FLAGS) \
-D "JDK_FNAME=$$($1_NAME).exe" \
-D "JDK_INTERNAL_NAME=$$($1_NAME)" \
-D "JDK_FTYPE=0x01L"
else ifeq ($$($1_RC_FLAGS), DISABLE)
$1_RC_FLAGS :=
endif
$1_RC_FLAGS += $$($1_EXTRA_RC_FLAGS)
# Since we reuse the rule name ($1), all our arguments will pass through.
# We lose in transparency, but gain in brevity in this call...
$$(eval $$(call SetupNativeCompilation, $1))
endef
endif # _JDK_NATIVE_COMPILATION_GMK

View File

@@ -67,6 +67,7 @@ endef
# In GNU Make 4.0 and higher, there is a file function for writing to files.
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
HAS_FILE_FUNCTION := true
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
endif
##############################
@@ -423,7 +424,7 @@ _sequence-do = \
################################################################################
MAX_PARAMS := 35
MAX_PARAMS := 36
PARAM_SEQUENCE := $(call sequence, 2, $(MAX_PARAMS))
# Template for creating a macro taking named parameters. To use it, assign the
@@ -518,12 +519,14 @@ ifeq ($(OPENJDK_TARGET_OS),solaris)
define install-file
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
if [ '$(call DecodeSpace, $(dir $@))' != \
if [ '$(call DecodeSpace, $(dir $(call EncodeSpace, $@)))' != \
'$(call DecodeSpace, $(dir $(call EncodeSpace, $<)))' ]; then \
$(CP) -f -r -P '$(call DecodeSpace, $<)' '$(call DecodeSpace, $(@D))'; \
if [ '$(call DecodeSpace, $(@F))' != \
$(CP) -f -r -P '$(call DecodeSpace, $<)' \
'$(call DecodeSpace, $(dir $(call EncodeSpace, $@)))'; \
if [ '$(call DecodeSpace, $(notdir $(call EncodeSpace, $@)))' != \
'$(call DecodeSpace, $(notdir $(call EncodeSpace, $(<))))' ]; then \
$(MV) '$(call DecodeSpace, $(@D)/$(<F))' '$(call DecodeSpace, $@)'; \
$(MV) '$(call DecodeSpace, $(dir $(call EncodeSpace, $@))/$(notdir $(call EncodeSpace, $<)))' \
'$(call DecodeSpace, $@)'; \
fi; \
else \
if [ -L '$(call DecodeSpace, $<)' ]; then \
@@ -631,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.
@@ -1012,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 && \
@@ -1024,6 +1027,12 @@ ExecuteWithLog = \
FindLibDirForModule = \
$(SUPPORT_OUTPUTDIR)/modules_libs/$(strip $1)
################################################################################
# Find executable dir for module
# Param 1 - module name
FindExecutableDirForModule = \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$(strip $1)
################################################################################
# Return a string suitable for use after a -classpath or --module-path option. It
# will be correct and safe to use on all platforms. Arguments are given as space
@@ -1065,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,7 +77,9 @@ 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 \
#
@@ -89,11 +93,13 @@ PLATFORM_MODULES += \
#
PLATFORM_MODULES += \
java.net.http \
java.scripting \
java.security.jgss \
java.smartcardio \
java.sql \
java.sql.rowset \
java.transaction.xa \
java.xml.crypto \
jdk.accessibility \
jdk.charsets \
@@ -101,8 +107,6 @@ PLATFORM_MODULES += \
jdk.crypto.ec \
jdk.dynalink \
jdk.httpserver \
jdk.incubator.httpclient \
jdk.internal.vm.compiler.management \
jdk.jsobject \
jdk.localedata \
jdk.naming.dns \
@@ -144,7 +148,6 @@ DOCS_MODULES += \
jdk.editpad \
jdk.hotspot.agent \
jdk.httpserver \
jdk.incubator.httpclient \
jdk.jartool \
jdk.javadoc \
jdk.jcmd \
@@ -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 \
@@ -189,6 +194,7 @@ HOTSPOT_MODULES := \
jdk.hotspot.agent \
jdk.internal.vm.ci \
jdk.internal.vm.compiler \
jdk.internal.vm.compiler.management \
#
################################################################################
@@ -199,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
@@ -393,12 +406,11 @@ ifneq ($(OPENJDK_TARGET_OS), $(OPENJDK_TARGET_OS_TYPE))
endif
LEGAL_SUBDIRS += share/legal
# Find all legal dirs for a particular module
# Find all legal src dirs for a particular module
# $1 - Module to find legal dirs for
FindModuleLegalDirs = \
FindModuleLegalSrcDirs = \
$(strip $(wildcard \
$(addsuffix /$(strip $1), $(SUPPORT_OUTPUTDIR)/modules_legal \
$(IMPORT_MODULES_LEGAL)) \
$(addsuffix /$(strip $1), $(IMPORT_MODULES_LEGAL)) \
$(foreach sub, $(LEGAL_SUBDIRS), $(addsuffix /$(strip $1)/$(sub), $(TOP_SRC_DIRS))) \
))

File diff suppressed because it is too large Load Diff

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, 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
@@ -44,6 +44,7 @@ include NativeCompilation.gmk
# TYPE Must be either PROGRAM or LIBRARY.
# SOURCE_DIRS A list of source directories to search
# OUTPUT_DIR Where to put the resulting files
# EXCLUDE A list of filenames to exclude from compilation
SetupTestFilesCompilation = $(NamedParamsMacroTemplate)
define SetupTestFilesCompilationBody
@@ -59,13 +60,15 @@ define SetupTestFilesCompilationBody
ifeq ($$($1_TYPE), LIBRARY)
$1_PREFIX = lib
$1_OUTPUT_SUBDIR := lib
$1_CFLAGS := $(CFLAGS_TESTLIB) $(CFLAGS_WARNINGS_ARE_ERRORS)
$1_CFLAGS := $(CFLAGS_TESTLIB)
$1_LDFLAGS := $(LDFLAGS_TESTLIB) $(call SET_SHARED_LIBRARY_ORIGIN)
$1_COMPILATION_TYPE := LIBRARY
else ifeq ($$($1_TYPE), PROGRAM)
$1_PREFIX = exe
$1_OUTPUT_SUBDIR := bin
$1_CFLAGS := $(CFLAGS_TESTEXE) $(CFLAGS_WARNINGS_ARE_ERRORS)
$1_CFLAGS := $(CFLAGS_TESTEXE)
$1_LDFLAGS := $(LDFLAGS_TESTEXE)
$1_COMPILATION_TYPE := EXECUTABLE
else
$$(error Unknown type: $$($1_TYPE))
endif
@@ -74,19 +77,23 @@ define SetupTestFilesCompilationBody
$1_FILE_LIST := \
$$(shell $$(FIND) $$($1_SOURCE_DIRS) -type f -name "$$($1_PREFIX)*.c")
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILE_LIST),\
$$(eval name := $$(strip $$(patsubst $$($1_PREFIX)%, %, $$(basename $$(notdir $$(file)))))) \
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
$$(eval unprefixed_name := $$(patsubst $$($1_PREFIX)%, %, $$(name))) \
$$(eval $$(call SetupNativeCompilation, BUILD_TEST_$$(name), \
$$($1_TYPE) := $$(name), \
NAME := $$(unprefixed_name), \
TYPE := $$($1_COMPILATION_TYPE), \
SRC := $$(patsubst %/,%,$$(dir $$(file))), \
INCLUDE_FILES := $$(notdir $$(file)), \
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$($1_PREFIX)$$(name), \
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$(name), \
OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
LANG := C, \
CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$($1_PREFIX)$$(name)), \
LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$($1_PREFIX)$$(name)), \
LIBS := $$($1_LIBS_$$($1_PREFIX)$$(name)), \
CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$(name)), \
LIBS := $$($1_LIBS_$$(name)), \
OPTIMIZATION := LOW, \
COPY_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := false, \

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,15 +233,18 @@ var getJibProfilesCommon = function (input, data) {
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
"solaris-sparcv9", "windows-x64", "windows-x86",
"linux-arm64", "linux-arm-vfp-hflt", "linux-arm-vfp-hflt-dyn"
"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,zh_TW,zh_HK",
"--disable-manpages",
versionArgs(input, common))
};
// Extra settings for debug profiles
common.debug_suffix = "-debug";
@@ -270,28 +274,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: [
@@ -317,15 +312,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"
}
}
};
};
@@ -337,28 +323,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: [
@@ -376,20 +353,11 @@ 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"
}
}
};
};
common.boot_jdk_version = "9";
common.boot_jdk_version = "10";
common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -411,7 +379,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"],
@@ -421,7 +389,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"),
},
@@ -429,15 +397,15 @@ var getJibProfilesProfiles = function (input, common, data) {
"macosx-x64": {
target_os: "macosx",
target_cpu: "x64",
dependencies: ["devkit", "autoconf", "freetype"],
dependencies: ["devkit", "graalunit_lib"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system",
"--with-macosx-version-max=10.7.0"),
"--with-macosx-version-max=10.9.0"),
},
"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"),
},
@@ -445,7 +413,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"),
},
@@ -453,7 +421,7 @@ var getJibProfilesProfiles = function (input, common, data) {
"windows-x64": {
target_os: "windows",
target_cpu: "x64",
dependencies: ["devkit", "autoconf", "freetype"],
dependencies: ["devkit", "graalunit_lib"],
configure_args: concat(common.configure_args_64bit),
},
@@ -461,15 +429,26 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "windows",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "autoconf", "freetype"],
dependencies: ["devkit"],
configure_args: concat(common.configure_args_32bit),
},
"linux-aarch64": {
target_os: "linux",
target_cpu: "aarch64",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--openjdk-target=aarch64-linux-gnu", "--with-freetype=bundled",
"--disable-warnings-as-errors", "--with-cpu-port=aarch64",
],
},
"linux-arm64": {
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",
@@ -478,16 +457,29 @@ 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",
"--with-fontconfig=" + input.get("devkit", "install_path") + "/arm-linux-gnueabihf/libc/usr/X11R6-PI",
"--openjdk-target=arm-linux-gnueabihf",
"--with-abi-profile=arm-vfp-hflt"
"--with-abi-profile=arm-vfp-hflt",
"--with-freetype=bundled"
],
},
@@ -517,6 +509,21 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[debugName] = concatObjects(profiles[name],
common.slowdebug_profile_base);
});
// Generate testmake profiles for the main profile of each build host
// platform. This profile only runs the makefile tests.
// Ant is needed to run the idea project generator test.
var testmakeBase = {
dependencies: [ "ant" ],
environment: {
"ANT_HOME": input.get("ant", "install_path") + "/apache-ant-1.7.1"
}
};
[ "linux-x64", "macosx-x64", "solaris-sparcv9", "solaris-x64", "windows-x64"]
.forEach(function (name) {
var maketestName = name + "-testmake";
profiles[maketestName] = concatObjects(profiles[name], testmakeBase);
profiles[maketestName].default_make_targets = [ "test-make" ];
});
// Profiles for building the zero jvm variant. These are used for verification
// in JPRT.
@@ -553,6 +560,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
//
@@ -568,7 +598,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",
@@ -578,9 +607,17 @@ 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",
@@ -672,6 +709,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": {
@@ -743,11 +804,22 @@ var getJibProfilesProfiles = function (input, common, data) {
dependencies: [ "devkit" ],
environment_path: input.get("devkit", "install_path")
+ "/Xcode.app/Contents/Developer/usr/bin"
}
};
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-jprt"] = concatObjects(profiles["run-test-jprt"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
}
// On windows we want the debug symbols available at test time
if (input.build_os == "windows") {
windowsRunTestPrebuiltExtra = {
dependencies: [ testedProfile + ".jdk_symbols" ],
environment: {
"PRODUCT_SYMBOLS_HOME": input.get(testedProfile + ".jdk_symbols", "home_path"),
}
};
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"],
windowsRunTestPrebuiltExtra);
}
// Generate the missing platform attributes
profiles = generatePlatformAttributes(profiles);
@@ -765,15 +837,21 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc4.9.2-OEL6.4+1.2",
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
linux_x64: "gcc7.3.0-OEL6.4+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",
linux_aarch64: "gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux+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"
@@ -783,12 +861,6 @@ var getJibProfilesDependencies = function (input, common) {
var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
+ "-" + input.build_cpu;
var freetype_version = {
windows_x64: "2.7.1-v120+1.1",
windows_x86: "2.7.1-v120+1.1",
macosx_x64: "2.7.1-Xcode6.3-MacOSX10.9+1.0"
}[input.target_platform];
var makeBinDir = (input.build_os == "windows"
? input.get("gnumake", "install_path") + "/cygwin/bin"
: input.get("gnumake", "install_path") + "/bin");
@@ -799,7 +871,7 @@ var getJibProfilesDependencies = function (input, common) {
server: "jpg",
product: "jdk",
version: common.boot_jdk_version,
build_number: "181",
build_number: "46",
file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
+ boot_jdk_platform + "_bin.tar.gz",
configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
@@ -829,7 +901,7 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "javare",
revision: "4.2",
build_number: "b12",
build_number: "b13",
checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME",
@@ -865,13 +937,6 @@ var getJibProfilesDependencies = function (input, common) {
environment_path: input.get("autoconf", "install_path")
},
freetype: {
organization: common.organization,
ext: "tar.gz",
revision: freetype_version,
module: "freetype-" + input.target_platform
},
graphviz: {
organization: common.organization,
ext: "tar.gz",
@@ -899,7 +964,23 @@ var getJibProfilesDependencies = function (input, common) {
environment_name: "JIB_JAR",
environment_value: input.get("jib", "install_path")
+ "/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar"
}
},
ant: {
organization: common.organization,
ext: "zip",
revision: "1.7.1+1.0",
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

@@ -24,6 +24,7 @@
#
include CopyCommon.gmk
include Modules.gmk
include TextFileProcessing.gmk
$(eval $(call IncludeCustomExtension, copy/Copy-java.base.gmk))
@@ -64,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)
@@ -224,12 +204,27 @@ JDK_ADDITIONAL_LICENSE_INFO ?= $(wildcard $(TOPDIR)/ADDITIONAL_LICENSE_INFO)
$(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \
FILES := $(JDK_LICENSE) $(JDK_NOTICE) $(JDK_ADDITIONAL_LICENSE_INFO), \
DEST := $(LEGAL_DST_DIR), \
DEST := $(COMMON_LEGAL_DST_DIR), \
FLATTEN := true, \
))
TARGETS += $(COPY_JDK_NOTICES)
################################################################################
#
# Copy and filter the legal files depending on what 3rd party components are
# bundled or linked from the OS.
#
ifeq ($(USE_EXTERNAL_LIBZ), true)
LEGAL_EXCLUDES += zlib.md
endif
$(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
EXCLUDES := $(LEGAL_EXCLUDES), \
))
TARGETS += $(COPY_LEGAL)
################################################################################
# Optionally copy libffi.so.? into the the image

View File

@@ -24,57 +24,12 @@
#
include CopyCommon.gmk
include Modules.gmk
$(eval $(call IncludeCustomExtension, copy/Copy-java.desktop.gmk))
################################################################################
ifneq ($(FREETYPE_BUNDLE_LIB_PATH), )
# We need to bundle the freetype library, so it will be available at runtime
# as well as link time.
#
# NB: Default freetype build system uses -h linker option and
# result .so contains hardcoded library name that is later
# used for adding dependencies to other objects
# (e.g. libfontmanager.so).
#
# It is not obvious how to extract that hardcoded name (libfreetype.so.6)
# without overcomplicating logic here.
# To workaround this we hardcode .6 suffix for now.
#
# Note that .so.6 library will not be found by System.loadLibrary()
# but fortunately we need to load FreeType library explicitly
# on windows only
#
#TODO: rework this to avoid hardcoding library name in the makefile
#
ifneq ($(filter $(OPENJDK_TARGET_OS), linux solaris), )
FREETYPE_TARGET_LIB := $(LIB_DST_DIR)/$(call SHARED_LIBRARY,freetype).6
else
FREETYPE_TARGET_LIB := $(LIB_DST_DIR)/$(call SHARED_LIBRARY,freetype)
endif
# We can't use $(install-file) in this rule because it preserves symbolic links and
# libfreetype.so is usually a symbolic link to something like libfreetype.so.6 on Unix.
$(FREETYPE_TARGET_LIB): $(FREETYPE_BUNDLE_LIB_PATH)/$(call SHARED_LIBRARY,freetype)
$(MKDIR) -p $(@D)
$(CP) $< $@
ifeq ($(OPENJDK_BUILD_OS), windows)
$(CHMOD) +rx $@
endif
TARGETS += $(FREETYPE_TARGET_LIB)
$(eval $(call SetupCopyFiles, COPY_FREETYPE_LICENSE, \
FILES := $(FREETYPE_LICENSE), \
DEST := $(LEGAL_DST_DIR), \
))
TARGETS += $(COPY_FREETYPE_LICENSE)
endif
################################################################################
$(CONF_DST_DIR)/sound.properties: $(TOPDIR)/src/java.desktop/share/conf/sound.properties
$(call install-file)
@@ -94,3 +49,34 @@ $(LIB_DST_DIR)/%: $(PSFONTPROPFILE_SRC_DIR)/%
TARGETS += $(PSFONTPROPFILE_TARGET_FILES)
################################################################################
#
# Copy and filter the legal files depending on what 3rd party components are
# bundled or linked from the OS.
#
ifeq ($(USE_EXTERNAL_LIBJPEG), true)
LEGAL_EXCLUDES += jpeg.md
endif
ifeq ($(USE_EXTERNAL_LIBGIF), true)
LEGAL_EXCLUDES += giflib.md
endif
ifeq ($(USE_EXTERNAL_LIBPNG), true)
LEGAL_EXCLUDES += libpng.md
endif
ifeq ($(USE_EXTERNAL_LCMS), true)
LEGAL_EXCLUDES += lcms.md
endif
ifeq ($(FREETYPE_TO_USE), system)
LEGAL_EXCLUDES += freetype.md
endif
$(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
EXCLUDES := $(LEGAL_EXCLUDES), \
))
TARGETS += $(COPY_LEGAL)
################################################################################

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

@@ -26,6 +26,7 @@
LIB_DST_DIR := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)
CONF_DST_DIR := $(SUPPORT_OUTPUTDIR)/modules_conf/$(MODULE)
LEGAL_DST_DIR := $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE)
COMMON_LEGAL_DST_DIR := $(SUPPORT_OUTPUTDIR)/modules_legal/common
################################################################################
#
@@ -60,3 +61,24 @@ ifneq ($(wildcard $(INCLUDE_SOURCE_OS_DIR)/*), )
TARGETS += $(COPY_EXPORTED_INCLUDE_OS)
endif
################################################################################
# Setup make rules for copying legal files. This is only needed if the files
# need to be filtered due to optional components being enabled/disabled.
# Otherwise CreateJmods.gmk will find the legal files in the original src dirs.
#
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments. These include:
# EXCLUDES : List of filenames to exclude from copy
SetupCopyLegalFiles = $(NamedParamsMacroTemplate)
define SetupCopyLegalFilesBody
$$(foreach f, $$(filter-out $$(addprefix %/, $$($1_EXCLUDES)), \
$$(wildcard $$(addsuffix /*, $$(call FindModuleLegalSrcDirs, $$(MODULE))))), \
$$(eval $$(call SetupCopyFiles, $1_$$(notdir $$f), \
DEST := $$(LEGAL_DST_DIR), \
FILES := $$f, \
)) \
$$(eval $1 += $$($1_$$(notdir $$f))) \
)
endef

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 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
@@ -139,6 +139,12 @@ class CharacterData00 extends CharacterData {
case 0x0130: mapChar = 0x0069; break;
case 0x023A: mapChar = 0x2C65; break;
case 0x023E: mapChar = 0x2C66; break;
case 0x0412: mapChar = 0x1C80; break;
case 0x0414: mapChar = 0x1C81; break;
case 0x041E: mapChar = 0x1C82; break;
case 0x0421: mapChar = 0x1C83; break;
case 0x042A: mapChar = 0x1C86; break;
case 0x0462: mapChar = 0x1C87; break;
case 0x10A0: mapChar = 0x2D00; break;
case 0x10A1: mapChar = 0x2D01; break;
case 0x10A2: mapChar = 0x2D02; break;
@@ -299,12 +305,14 @@ class CharacterData00 extends CharacterData {
case 0x2C70: mapChar = 0x0252; break;
case 0x2C7E: mapChar = 0x023F; break;
case 0x2C7F: mapChar = 0x0240; break;
case 0xA64A: mapChar = 0x1C88; break;
case 0xA77D: mapChar = 0x1D79; break;
case 0xA78D: mapChar = 0x0265; break;
case 0xA7AA: mapChar = 0x0266; break;
case 0xA7AB: mapChar = 0x025C; break;
case 0xA7AC: mapChar = 0x0261; break;
case 0xA7AD: mapChar = 0x026C; break;
case 0xA7AE: mapChar = 0x026A; break;
case 0xA7B0: mapChar = 0x029E; break;
case 0xA7B1: mapChar = 0x0287; break;
case 0xA7B2: mapChar = 0x029D; break;
@@ -339,6 +347,7 @@ class CharacterData00 extends CharacterData {
case 0x0261: mapChar = 0xA7AC; break;
case 0x0265: mapChar = 0xA78D; break;
case 0x0266: mapChar = 0xA7AA; break;
case 0x026A: mapChar = 0xA7AE; break;
case 0x026B: mapChar = 0x2C62; break;
case 0x026C: mapChar = 0xA7AD; break;
case 0x0271: mapChar = 0x2C6E; break;
@@ -346,6 +355,15 @@ class CharacterData00 extends CharacterData {
case 0x0287: mapChar = 0xA7B1; break;
case 0x029D: mapChar = 0xA7B2; break;
case 0x029E: mapChar = 0xA7B0; break;
case 0x1C80: mapChar = 0x0412; break;
case 0x1C81: mapChar = 0x0414; break;
case 0x1C82: mapChar = 0x041E; break;
case 0x1C83: mapChar = 0x0421; break;
case 0x1C84: mapChar = 0x0422; break;
case 0x1C85: mapChar = 0x0422; break;
case 0x1C86: mapChar = 0x042A; break;
case 0x1C87: mapChar = 0x0462; break;
case 0x1C88: mapChar = 0xA64A; break;
case 0x1D79: mapChar = 0xA77D; break;
case 0x1D7D: mapChar = 0x2C63; break;
case 0x1F80: mapChar = 0x1F88; break;
@@ -715,6 +733,7 @@ class CharacterData00 extends CharacterData {
case 0x0261: mapChar = 0xA7AC; break;
case 0x0265: mapChar = 0xA78D; break;
case 0x0266: mapChar = 0xA7AA; break;
case 0x026A: mapChar = 0xA7AE; break;
case 0x026B: mapChar = 0x2C62; break;
case 0x026C: mapChar = 0xA7AD; break;
case 0x0271: mapChar = 0x2C6E; break;
@@ -722,6 +741,15 @@ class CharacterData00 extends CharacterData {
case 0x0287: mapChar = 0xA7B1; break;
case 0x029D: mapChar = 0xA7B2; break;
case 0x029E: mapChar = 0xA7B0; break;
case 0x1C80: mapChar = 0x0412; break;
case 0x1C81: mapChar = 0x0414; break;
case 0x1C82: mapChar = 0x041E; break;
case 0x1C83: mapChar = 0x0421; break;
case 0x1C84: mapChar = 0x0422; break;
case 0x1C85: mapChar = 0x0422; break;
case 0x1C86: mapChar = 0x042A; break;
case 0x1C87: mapChar = 0x0462; break;
case 0x1C88: mapChar = 0xA64A; break;
case 0x1D79: mapChar = 0xA77D; break;
case 0x1D7D: mapChar = 0x2C63; break;
case 0x1FBE: mapChar = 0x0399; break;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 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
@@ -372,6 +372,13 @@ class CharacterData01 extends CharacterData {
case 0x11063: retval = 90; break; // BRAHMI NUMBER NINETY
case 0x11064: retval = 100; break; // BRAHMI NUMBER ONE HUNDRED
case 0x11065: retval = 1000; break; // BRAHMI NUMBER ONE THOUSAND
case 0x11C66: retval = 40; break; // BHAIKSUKI NUMBER FORTY
case 0x11C67: retval = 50; break; // BHAIKSUKI NUMBER FIFTY
case 0x11C68: retval = 60; break; // BHAIKSUKI NUMBER SIXTY
case 0x11C69: retval = 70; break; // BHAIKSUKI NUMBER SEVENTY
case 0x11C6A: retval = 80; break; // BHAIKSUKI NUMBER EIGHTY
case 0x11C6B: retval = 90; break; // BHAIKSUKI NUMBER NINETY
case 0x11C6C: retval = 100; break; // BHAIKSUKI HUNDREDS UNIT MARK
case 0x111ED: retval = 40; break; // SINHALA ARCHAIC NUMBER FORTY
case 0x111EE: retval = 50; break; // SINHALA ARCHAIC NUMBER FIFTY
case 0x111EF: retval = 60; break; // SINHALA ARCHAIC NUMBER SIXTY

View File

@@ -0,0 +1,94 @@
0x21 U+ff01
0x22 U+ff02
0x23 U+ff03
0x24 U+ff04
0x25 U+ff05
0x26 U+ff06
0x27 U+ff07
0x28 U+ff08
0x29 U+ff09
0x2a U+ff0a
0x2b U+ff0b
0x2c U+ff0c
0x2d U+ff0d
0x2e U+ff0e
0x2f U+ff0f
0x30 U+ff10
0x31 U+ff11
0x32 U+ff12
0x33 U+ff13
0x34 U+ff14
0x35 U+ff15
0x36 U+ff16
0x37 U+ff17
0x38 U+ff18
0x39 U+ff19
0x3a U+ff1a
0x3b U+ff1b
0x3c U+ff1c
0x3d U+ff1d
0x3e U+ff1e
0x3f U+ff1f
0x40 U+ff20
0x41 U+ff21
0x42 U+ff22
0x43 U+ff23
0x44 U+ff24
0x45 U+ff25
0x46 U+ff26
0x47 U+ff27
0x48 U+ff28
0x49 U+ff29
0x4a U+ff2a
0x4b U+ff2b
0x4c U+ff2c
0x4d U+ff2d
0x4e U+ff2e
0x4f U+ff2f
0x50 U+ff30
0x51 U+ff31
0x52 U+ff32
0x53 U+ff33
0x54 U+ff34
0x55 U+ff35
0x56 U+ff36
0x57 U+ff37
0x58 U+ff38
0x59 U+ff39
0x5a U+ff3a
0x5b U+ff3b
0x5c U+ff3c
0x5d U+ff3d
0x5e U+ff3e
0x5f U+ff3f
0x60 U+ff40
0x61 U+ff41
0x62 U+ff42
0x63 U+ff43
0x64 U+ff44
0x65 U+ff45
0x66 U+ff46
0x67 U+ff47
0x68 U+ff48
0x69 U+ff49
0x6a U+ff4a
0x6b U+ff4b
0x6c U+ff4c
0x6d U+ff4d
0x6e U+ff4e
0x6f U+ff4f
0x70 U+ff50
0x71 U+ff51
0x72 U+ff52
0x73 U+ff53
0x74 U+ff54
0x75 U+ff55
0x76 U+ff56
0x77 U+ff57
0x78 U+ff58
0x79 U+ff59
0x7a U+ff5a
0x7b U+ff5b
0x7c U+ff5c
0x7d U+ff5d
0x7e U+ff5e

View File

@@ -0,0 +1,256 @@
0x00 U+0000
0x01 U+0001
0x02 U+0002
0x03 U+0003
0x04 U+0004
0x05 U+0005
0x06 U+0006
0x07 U+0007
0x08 U+0008
0x09 U+0009
0x0a U+000a
0x0b U+000b
0x0c U+000c
0x0d U+000d
0x0e U+000e
0x0f U+000f
0x10 U+0010
0x11 U+0011
0x12 U+0012
0x13 U+0013
0x14 U+0014
0x15 U+0015
0x16 U+0016
0x17 U+0017
0x18 U+0018
0x19 U+0019
0x1a U+001a
0x1b U+001b
0x1c U+001c
0x1d U+001d
0x1e U+001e
0x1f U+001f
0x20 U+0020
0x21 U+0021
0x22 U+0022
0x23 U+0023
0x24 U+0024
0x25 U+0025
0x26 U+0026
0x27 U+0027
0x28 U+0028
0x29 U+0029
0x2a U+002a
0x2b U+002b
0x2c U+002c
0x2d U+002d
0x2e U+002e
0x2f U+002f
0x30 U+0030
0x31 U+0031
0x32 U+0032
0x33 U+0033
0x34 U+0034
0x35 U+0035
0x36 U+0036
0x37 U+0037
0x38 U+0038
0x39 U+0039
0x3a U+003a
0x3b U+003b
0x3c U+003c
0x3d U+003d
0x3e U+003e
0x3f U+003f
0x40 U+0040
0x41 U+0041
0x42 U+0042
0x43 U+0043
0x44 U+0044
0x45 U+0045
0x46 U+0046
0x47 U+0047
0x48 U+0048
0x49 U+0049
0x4a U+004a
0x4b U+004b
0x4c U+004c
0x4d U+004d
0x4e U+004e
0x4f U+004f
0x50 U+0050
0x51 U+0051
0x52 U+0052
0x53 U+0053
0x54 U+0054
0x55 U+0055
0x56 U+0056
0x57 U+0057
0x58 U+0058
0x59 U+0059
0x5a U+005a
0x5b U+005b
0x5c U+005c
0x5d U+005d
0x5e U+005e
0x5f U+005f
0x60 U+0060
0x61 U+0061
0x62 U+0062
0x63 U+0063
0x64 U+0064
0x65 U+0065
0x66 U+0066
0x67 U+0067
0x68 U+0068
0x69 U+0069
0x6a U+006a
0x6b U+006b
0x6c U+006c
0x6d U+006d
0x6e U+006e
0x6f U+006f
0x70 U+0070
0x71 U+0071
0x72 U+0072
0x73 U+0073
0x74 U+0074
0x75 U+0075
0x76 U+0076
0x77 U+0077
0x78 U+0078
0x79 U+0079
0x7a U+007a
0x7b U+007b
0x7c U+007c
0x7d U+007d
0x7e U+007e
0x7f U+007f
0x80 U+0080
0x81 U+0081
0x82 U+0082
0x83 U+0083
0x84 U+0084
0x85 U+0085
0x86 U+0086
0x87 U+0087
0x88 U+0088
0x89 U+0089
0x8a U+008a
0x8b U+008b
0x8c U+008c
0x8d U+008d
0x8e U+008e
0x8f U+008f
0x90 U+0090
0x91 U+0091
0x92 U+0092
0x93 U+0093
0x94 U+0094
0x95 U+0095
0x96 U+0096
0x97 U+0097
0x98 U+0098
0x99 U+0099
0x9a U+009a
0x9b U+009b
0x9c U+009c
0x9d U+009d
0x9e U+009e
0x9f U+009f
0xa0 U+00a0
0xa1 U+00a1
0xa2 U+00a2
0xa3 U+00a3
0xa4 U+00a4
0xa5 U+00a5
0xa6 U+00a6
0xa7 U+00a7
0xa8 U+0153
0xa9 U+00a9
0xaa U+00aa
0xab U+00ab
0xac U+00ac
0xad U+00ad
0xae U+00ae
0xaf U+00af
0xb0 U+00b0
0xb1 U+00b1
0xb2 U+00b2
0xb3 U+00b3
0xb4 U+0178
0xb5 U+00b5
0xb6 U+00b6
0xb7 U+00b7
0xb8 U+0152
0xb9 U+00b9
0xba U+00ba
0xbb U+00bb
0xbc U+00bc
0xbd U+00bd
0xbe U+00be
0xbf U+00bf
0xc0 U+00c0
0xc1 U+00c1
0xc2 U+00c2
0xc3 U+0102
0xc4 U+00c4
0xc5 U+00c5
0xc6 U+00c6
0xc7 U+00c7
0xc8 U+00c8
0xc9 U+00c9
0xca U+00ca
0xcb U+00cb
0xcc U+0300
0xcd U+00cd
0xce U+00ce
0xcf U+00cf
0xd0 U+0110
0xd1 U+00d1
0xd2 U+0309
0xd3 U+00d3
0xd4 U+00d4
0xd5 U+01a0
0xd6 U+00d6
0xd7 U+00d7
0xd8 U+00d8
0xd9 U+00d9
0xda U+00da
0xdb U+00db
0xdc U+00dc
0xdd U+01af
0xde U+0303
0xdf U+00df
0xe0 U+00e0
0xe1 U+00e1
0xe2 U+00e2
0xe3 U+0103
0xe4 U+00e4
0xe5 U+00e5
0xe6 U+00e6
0xe7 U+00e7
0xe8 U+00e8
0xe9 U+00e9
0xea U+00ea
0xeb U+00eb
0xec U+0301
0xed U+00ed
0xee U+00ee
0xef U+00ef
0xf0 U+0111
0xf1 U+00f1
0xf2 U+0323
0xf3 U+00f3
0xf4 U+00f4
0xf5 U+01a1
0xf6 U+00f6
0xf7 U+00f7
0xf8 U+00f8
0xf9 U+00f9
0xfa U+00fa
0xfb U+00fb
0xfc U+00fc
0xfd U+01b0
0xfe U+20ab
0xff U+00ff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2015, 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
@@ -326,6 +326,8 @@ charset windows-1252 MS1252
ascii true
alias cp1252 # JDK historical
alias cp5348 # Euro IBM CCSID
alias ibm-1252
alias ibm1252
charset windows-1253 MS1253
package sun.nio.cs
@@ -933,11 +935,16 @@ charset x-IBM942 IBM942 # IBM & PC/MSDOS encodings
charset x-IBM942C IBM942C
package sun.nio.cs.ext
type source
type template
alias cp942C # JDK historical
alias ibm942C
alias ibm-942C
alias 942C
alias cp932
alias ibm932
alias ibm-932
alias 932
alias x-ibm932
charset x-IBM943 IBM943
package sun.nio.cs.ext
@@ -952,7 +959,7 @@ charset x-IBM943 IBM943
charset x-IBM943C IBM943C
package sun.nio.cs.ext
type source
type template
alias cp943C # JDK historical
alias ibm943C
alias ibm-943C
@@ -1234,6 +1241,16 @@ charset x-IBM1124 IBM1124
alias ibm-1124
alias 1124
charset x-IBM1129 IBM1129
package sun.nio.cs.ext
type sbcs
hisname Cp1129
ascii false
alias cp1129 # JDK historical
alias ibm1129
alias ibm-1129
alias 1129
charset x-IBM1364 IBM1364
package sun.nio.cs.ext
type ebcdic
@@ -1519,6 +1536,9 @@ charset x-IBM1383 IBM1383
alias ibm1383
alias ibm-1383
alias 1383
alias ibmeuccn
alias ibm-euccn
alias cpeuccn
charset x-IBM970 IBM970
package sun.nio.cs.ext

View File

@@ -1,6 +1,27 @@
#
# generate these charsets into sun.nio.cs
#
Big5
Big5_Solaris
Big5_HKSCS
EUC_CN
EUC_KR
GBK
GB18030
IBM856
IBM921
IBM922
IBM942
IBM942C
IBM943
IBM943C
IBM950
IBM970
IBM1046
IBM1124
IBM1129
IBM1383
ISO_8859_6
ISO_8859_8
MS1252
TIS_620

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

@@ -75,7 +75,7 @@ h4 {
}
a:link {
color: #437291;
color: #4A6782;
}
a:visited {
@@ -117,7 +117,7 @@ caption {
}
tr:nth-child(even), tr:nth-child(even) th[scope=row] {
background: #DDD;
background: #E3E3E3;
}
tr:nth-child(odd), tr:nth-child(odd) th[scope=row] {

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

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.activation
header exports javax/activation requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.datatransfer\u0020;flags\u0020;20 target linux-amd64 flags 8000 runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")

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

@@ -0,0 +1,310 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.base
header exports java/io,java/lang,java/lang/annotation,java/lang/invoke,java/lang/module,java/lang/ref,java/lang/reflect,java/math,java/net,java/net/spi,java/nio,java/nio/channels,java/nio/channels/spi,java/nio/charset,java/nio/charset/spi,java/nio/file,java/nio/file/attribute,java/nio/file/spi,java/security,java/security/acl,java/security/cert,java/security/interfaces,java/security/spec,java/text,java/text/spi,java/time,java/time/chrono,java/time/format,java/time/temporal,java/time/zone,java/util,java/util/concurrent,java/util/concurrent/atomic,java/util/concurrent/locks,java/util/function,java/util/jar,java/util/regex,java/util/spi,java/util/stream,java/util/zip,javax/crypto,javax/crypto/interfaces,javax/crypto/spec,javax/net,javax/net/ssl,javax/security/auth,javax/security/auth/callback,javax/security/auth/login,javax/security/auth/spi,javax/security/auth/x500,javax/security/cert uses java/lang/System$LoggerFinder,java/net/ContentHandlerFactory,java/net/spi/URLStreamHandlerProvider,java/nio/channels/spi/AsynchronousChannelProvider,java/nio/channels/spi/SelectorProvider,java/nio/charset/spi/CharsetProvider,java/nio/file/spi/FileSystemProvider,java/nio/file/spi/FileTypeDetector,java/security/Provider,java/text/spi/BreakIteratorProvider,java/text/spi/CollatorProvider,java/text/spi/DateFormatProvider,java/text/spi/DateFormatSymbolsProvider,java/text/spi/DecimalFormatSymbolsProvider,java/text/spi/NumberFormatProvider,java/time/chrono/AbstractChronology,java/time/chrono/Chronology,java/time/zone/ZoneRulesProvider,java/util/spi/CalendarDataProvider,java/util/spi/CalendarNameProvider,java/util/spi/CurrencyNameProvider,java/util/spi/LocaleNameProvider,java/util/spi/ResourceBundleControlProvider,java/util/spi/ResourceBundleProvider,java/util/spi/TimeZoneNameProvider,java/util/spi/ToolProvider,javax/security/auth/spi/LoginModule,jdk/internal/logger/DefaultLoggerFinder,sun/security/ssl/ClientKeyExchangeService,sun/text/spi/JavaTimeDateTimePatternProvider,sun/util/locale/provider/LocaleDataMetaInfo,sun/util/resources/LocaleData$CommonResourceBundleProvider,sun/util/resources/LocaleData$SupplementaryResourceBundleProvider,sun/util/spi/CalendarProvider provides interface\u0020;java/nio/file/spi/FileSystemProvider\u0020;impls\u0020;jdk/internal/jrtfs/JrtFileSystemProvider target linux-amd64 flags 8000
class name java/io/ByteArrayOutputStream
method name toString descriptor (Ljava/nio/charset/Charset;)Ljava/lang/String; flags 21
class name java/io/FileInputStream
-method name finalize descriptor ()V
method name finalize descriptor ()V thrownTypes java/io/IOException flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/io/FileOutputStream
-method name finalize descriptor ()V
method name finalize descriptor ()V thrownTypes java/io/IOException flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/io/ObjectStreamClass
header extends java/lang/Object implements java/io/Serializable flags 21
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/io/PrintStream
method name <init> descriptor (Ljava/io/OutputStream;ZLjava/nio/charset/Charset;)V flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/File;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
class name java/io/PrintWriter
method name <init> descriptor (Ljava/io/OutputStream;ZLjava/nio/charset/Charset;)V flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/File;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
class name java/io/Reader
method name transferTo descriptor (Ljava/io/Writer;)J thrownTypes java/io/IOException flags 1
class name java/lang/Math
-method name multiplyHigh descriptor (JJ)J
method name multiplyHigh descriptor (JJ)J flags 9 runtimeAnnotations @Ljdk/internal/HotSpotIntrinsicCandidate;
class name java/lang/Module
header extends java/lang/Object implements java/lang/reflect/AnnotatedElement flags 31
innerclass innerClass java/lang/module/ModuleDescriptor$Version outerClass java/lang/module/ModuleDescriptor innerClassName Version flags 19
innerclass innerClass java/lang/module/ModuleDescriptor$Exports outerClass java/lang/module/ModuleDescriptor innerClassName Exports flags 19
innerclass innerClass java/lang/module/ModuleDescriptor$Opens outerClass java/lang/module/ModuleDescriptor innerClassName Opens flags 19
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/lang/Runtime
-method name getLocalizedInputStream descriptor (Ljava/io/InputStream;)Ljava/io/InputStream;
-method name getLocalizedOutputStream descriptor (Ljava/io/OutputStream;)Ljava/io/OutputStream;
class name java/lang/Runtime$Version
-method name major descriptor ()I
-method name minor descriptor ()I
-method name security descriptor ()I
method name feature descriptor ()I flags 1
method name interim descriptor ()I flags 1
method name update descriptor ()I flags 1
method name patch descriptor ()I flags 1
method name major descriptor ()I flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="10")
method name minor descriptor ()I flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="10")
method name security descriptor ()I flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="10")
class name java/lang/SecurityManager
-field name inCheck descriptor Z
-method name getInCheck descriptor ()Z
-method name currentClassLoader descriptor ()Ljava/lang/ClassLoader;
-method name currentLoadedClass descriptor ()Ljava/lang/Class;
-method name classDepth descriptor (Ljava/lang/String;)I
-method name classLoaderDepth descriptor ()I
-method name inClass descriptor (Ljava/lang/String;)Z
-method name inClassLoader descriptor ()Z
-method name checkMemberAccess descriptor (Ljava/lang/Class;I)V
method name checkMemberAccess descriptor (Ljava/lang/Class;I)V flags 1 deprecated true signature (Ljava/lang/Class<*>;I)V runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.8")
class name java/lang/StackWalker$StackFrame
method name getMethodType descriptor ()Ljava/lang/invoke/MethodType; flags 1
method name getDescriptor descriptor ()Ljava/lang/String; flags 1
class name java/lang/invoke/MethodType
method name lastParameterType descriptor ()Ljava/lang/Class; flags 1 signature ()Ljava/lang/Class<*>;
class name java/lang/reflect/MalformedParameterizedTypeException
method name <init> descriptor (Ljava/lang/String;)V flags 1
class name java/net/URLDecoder
method name decode descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; flags 9
class name java/net/URLEncoder
method name encode descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; flags 9
class name java/nio/channels/Channels
method name newReader descriptor (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/charset/Charset;)Ljava/io/Reader; flags 9
method name newWriter descriptor (Ljava/nio/channels/WritableByteChannel;Ljava/nio/charset/Charset;)Ljava/io/Writer; flags 9
class name java/nio/file/FileStore
method name getBlockSize descriptor ()J thrownTypes java/io/IOException flags 1
class name java/security/Certificate
header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.2")
class name java/security/Identity
header extends java/lang/Object implements java/security/Principal,java/io/Serializable flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.2")
class name java/security/IdentityScope
header extends java/security/Identity flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.2")
class name java/security/Signer
header extends java/security/Identity flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.2")
class name java/security/acl/Acl
header extends java/lang/Object implements java/security/acl/Owner flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/AclEntry
header extends java/lang/Object implements java/lang/Cloneable flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/AclNotFoundException
header extends java/lang/Exception flags 21 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/Group
header extends java/lang/Object implements java/security/Principal flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/LastOwnerException
header extends java/lang/Exception flags 21 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/NotOwnerException
header extends java/lang/Exception flags 21 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/Owner
header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/security/acl/Permission
header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/time/chrono/AbstractChronology
header extends java/lang/Object implements java/time/chrono/Chronology flags 421 classAnnotations @Ljdk/Profile+Annotation;(value=I1)
class name java/time/chrono/ChronoLocalDate
header extends java/lang/Object implements java/time/temporal/Temporal,java/time/temporal/TemporalAdjuster,java/lang/Comparable flags 601 signature Ljava/lang/Object;Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalAdjuster;Ljava/lang/Comparable<Ljava/time/chrono/ChronoLocalDate;>;
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/time/chrono/ChronoLocalDateTime
header extends java/lang/Object implements java/time/temporal/Temporal,java/time/temporal/TemporalAdjuster,java/lang/Comparable flags 601 signature <D::Ljava/time/chrono/ChronoLocalDate;>Ljava/lang/Object;Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalAdjuster;Ljava/lang/Comparable<Ljava/time/chrono/ChronoLocalDateTime<*>;>;
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/time/chrono/ChronoZonedDateTime
header extends java/lang/Object implements java/time/temporal/Temporal,java/lang/Comparable flags 601 signature <D::Ljava/time/chrono/ChronoLocalDate;>Ljava/lang/Object;Ljava/time/temporal/Temporal;Ljava/lang/Comparable<Ljava/time/chrono/ChronoZonedDateTime<*>;>;
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/time/chrono/HijrahEra
method name getDisplayName descriptor (Ljava/time/format/TextStyle;Ljava/util/Locale;)Ljava/lang/String; flags 1
class name java/time/chrono/MinguoEra
method name getDisplayName descriptor (Ljava/time/format/TextStyle;Ljava/util/Locale;)Ljava/lang/String; flags 1
class name java/time/chrono/ThaiBuddhistEra
method name getDisplayName descriptor (Ljava/time/format/TextStyle;Ljava/util/Locale;)Ljava/lang/String; flags 1
class name java/time/format/DateTimeFormatter
method name localizedBy descriptor (Ljava/util/Locale;)Ljava/time/format/DateTimeFormatter; flags 1
class name java/util/Calendar
header extends java/lang/Object implements java/io/Serializable,java/lang/Cloneable,java/lang/Comparable flags 421 signature Ljava/lang/Object;Ljava/io/Serializable;Ljava/lang/Cloneable;Ljava/lang/Comparable<Ljava/util/Calendar;>;
innerclass innerClass java/util/Calendar$Builder outerClass java/util/Calendar innerClassName Builder flags 9
innerclass innerClass java/util/Locale$Category outerClass java/util/Locale innerClassName Category flags 4019
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/util/DoubleSummaryStatistics
header extends java/lang/Object implements java/util/function/DoubleConsumer flags 21
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
method name <init> descriptor (JDDD)V thrownTypes java/lang/IllegalArgumentException flags 1
class name java/util/Formatter
method name <init> descriptor (Ljava/lang/String;Ljava/nio/charset/Charset;Ljava/util/Locale;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/File;Ljava/nio/charset/Charset;Ljava/util/Locale;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljava/util/Locale;)V flags 1
class name java/util/HashSet
header extends java/util/AbstractSet implements java/util/Set,java/lang/Cloneable,java/io/Serializable flags 21 signature <E:Ljava/lang/Object;>Ljava/util/AbstractSet<TE;>;Ljava/util/Set<TE;>;Ljava/lang/Cloneable;Ljava/io/Serializable;
innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609
class name java/util/IntSummaryStatistics
method name <init> descriptor (JIIJ)V thrownTypes java/lang/IllegalArgumentException flags 1
class name java/util/List
method name copyOf descriptor (Ljava/util/Collection;)Ljava/util/List; flags 9 signature <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;)Ljava/util/List<TE;>;
class name java/util/Locale
header extends java/lang/Object implements java/lang/Cloneable,java/io/Serializable flags 31
innerclass innerClass java/util/Locale$LanguageRange outerClass java/util/Locale innerClassName LanguageRange flags 19
innerclass innerClass java/util/Locale$FilteringMode outerClass java/util/Locale innerClassName FilteringMode flags 4019
innerclass innerClass java/util/Locale$Builder outerClass java/util/Locale innerClassName Builder flags 19
innerclass innerClass java/util/Locale$Category outerClass java/util/Locale innerClassName Category flags 4019
innerclass innerClass java/util/Locale$IsoCountryCode outerClass java/util/Locale innerClassName IsoCountryCode flags 4409
innerclass innerClass java/io/ObjectOutputStream$PutField outerClass java/io/ObjectOutputStream innerClassName PutField flags 409
innerclass innerClass java/io/ObjectInputStream$GetField outerClass java/io/ObjectInputStream innerClassName GetField flags 409
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name java/util/LongSummaryStatistics
method name <init> descriptor (JJJJ)V thrownTypes java/lang/IllegalArgumentException flags 1
class name java/util/Map
method name copyOf descriptor (Ljava/util/Map;)Ljava/util/Map; flags 9 signature <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/Map<+TK;+TV;>;)Ljava/util/Map<TK;TV;>;
class name java/util/Optional
method name orElseThrow descriptor ()Ljava/lang/Object; flags 1 signature ()TT;
class name java/util/OptionalDouble
method name orElseThrow descriptor ()D flags 1
class name java/util/OptionalInt
method name orElseThrow descriptor ()I flags 1
class name java/util/OptionalLong
method name orElseThrow descriptor ()J flags 1
class name java/util/Properties
method name <init> descriptor (I)V flags 1
method name storeToXML descriptor (Ljava/io/OutputStream;Ljava/lang/String;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
class name java/util/Scanner
method name <init> descriptor (Ljava/io/InputStream;Ljava/nio/charset/Charset;)V flags 1
method name <init> descriptor (Ljava/io/File;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/charset/Charset;)V flags 1
class name java/util/Set
method name copyOf descriptor (Ljava/util/Collection;)Ljava/util/Set; flags 9 signature <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;)Ljava/util/Set<TE;>;
class name java/util/SimpleTimeZone
-method name hashCode descriptor ()I
method name hashCode descriptor ()I flags 1
class name java/util/SplittableRandom
method name nextBytes descriptor ([B)V flags 1
class name java/util/concurrent/ConcurrentSkipListMap
header extends java/util/AbstractMap implements java/util/concurrent/ConcurrentNavigableMap,java/lang/Cloneable,java/io/Serializable flags 21 signature <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/AbstractMap<TK;TV;>;Ljava/util/concurrent/ConcurrentNavigableMap<TK;TV;>;Ljava/lang/Cloneable;Ljava/io/Serializable;
innerclass innerClass java/util/AbstractMap$SimpleImmutableEntry outerClass java/util/AbstractMap innerClassName SimpleImmutableEntry flags 9
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
class name java/util/concurrent/FutureTask
method name toString descriptor ()Ljava/lang/String; flags 1
class name java/util/concurrent/locks/StampedLock
method name isWriteLockStamp descriptor (J)Z flags 9
method name isReadLockStamp descriptor (J)Z flags 9
method name isLockStamp descriptor (J)Z flags 9
method name isOptimisticReadStamp descriptor (J)Z flags 9
class name java/util/jar/JarEntry
method name getRealName descriptor ()Ljava/lang/String; flags 1
class name java/util/jar/JarFile
header extends java/util/zip/ZipFile flags 21
innerclass innerClass java/lang/Runtime$Version outerClass java/lang/Runtime innerClassName Version flags 19
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
method name versionedStream descriptor ()Ljava/util/stream/Stream; flags 1 signature ()Ljava/util/stream/Stream<Ljava/util/jar/JarEntry;>;
class name java/util/spi/LocaleNameProvider
method name getDisplayUnicodeExtensionKey descriptor (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; flags 1
method name getDisplayUnicodeExtensionType descriptor (Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; flags 1
class name java/util/stream/Collectors
method name toUnmodifiableList descriptor ()Ljava/util/stream/Collector; flags 9 signature <T:Ljava/lang/Object;>()Ljava/util/stream/Collector<TT;*Ljava/util/List<TT;>;>;
method name toUnmodifiableSet descriptor ()Ljava/util/stream/Collector; flags 9 signature <T:Ljava/lang/Object;>()Ljava/util/stream/Collector<TT;*Ljava/util/Set<TT;>;>;
method name toUnmodifiableMap descriptor (Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector; flags 9 signature <T:Ljava/lang/Object;K:Ljava/lang/Object;U:Ljava/lang/Object;>(Ljava/util/function/Function<-TT;+TK;>;Ljava/util/function/Function<-TT;+TU;>;)Ljava/util/stream/Collector<TT;*Ljava/util/Map<TK;TU;>;>;
method name toUnmodifiableMap descriptor (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/BinaryOperator;)Ljava/util/stream/Collector; flags 9 signature <T:Ljava/lang/Object;K:Ljava/lang/Object;U:Ljava/lang/Object;>(Ljava/util/function/Function<-TT;+TK;>;Ljava/util/function/Function<-TT;+TU;>;Ljava/util/function/BinaryOperator<TU;>;)Ljava/util/stream/Collector<TT;*Ljava/util/Map<TK;TU;>;>;
class name java/util/zip/Deflater
-method name finalize descriptor ()V
method name finalize descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/util/zip/Inflater
-method name finalize descriptor ()V
method name finalize descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name java/util/zip/ZipFile
header extends java/lang/Object implements java/util/zip/ZipConstants,java/io/Closeable flags 21
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
-method name finalize descriptor ()V
method name finalize descriptor ()V thrownTypes java/io/IOException flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")
class name javax/security/auth/Policy
header extends java/lang/Object flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="1.4")

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

View File

@@ -0,0 +1,115 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.compiler
header exports javax/annotation/processing,javax/lang/model,javax/lang/model/element,javax/lang/model/type,javax/lang/model/util,javax/tools requires name\u0020;java.base\u0020;flags\u0020;8000 uses javax/tools/DocumentationTool,javax/tools/JavaCompiler target linux-amd64 flags 8000
class name javax/lang/model/SourceVersion
field name RELEASE_10 descriptor Ljavax/lang/model/SourceVersion; flags 4019
class name javax/lang/model/util/AbstractAnnotationValueVisitor6
-method name <init> descriptor ()V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/AbstractAnnotationValueVisitor9
header extends javax/lang/model/util/AbstractAnnotationValueVisitor8 flags 421 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/AbstractAnnotationValueVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/AbstractElementVisitor6
-method name <init> descriptor ()V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/AbstractElementVisitor9
header extends javax/lang/model/util/AbstractElementVisitor8 flags 421 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/AbstractElementVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/AbstractTypeVisitor6
-method name <init> descriptor ()V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/AbstractTypeVisitor9
header extends javax/lang/model/util/AbstractTypeVisitor8 flags 421 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/AbstractTypeVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/ElementKindVisitor6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/ElementKindVisitor9
header extends javax/lang/model/util/ElementKindVisitor8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/ElementKindVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/ElementScanner6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/ElementScanner9
header extends javax/lang/model/util/ElementScanner8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/ElementScanner8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/SimpleAnnotationValueVisitor6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/SimpleAnnotationValueVisitor9
header extends javax/lang/model/util/SimpleAnnotationValueVisitor8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/SimpleAnnotationValueVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/SimpleElementVisitor6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/SimpleElementVisitor9
header extends javax/lang/model/util/SimpleElementVisitor8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/SimpleElementVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/SimpleTypeVisitor6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
class name javax/lang/model/util/SimpleTypeVisitor9
header extends javax/lang/model/util/SimpleTypeVisitor8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/SimpleTypeVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
class name javax/lang/model/util/TypeKindVisitor6
-method name <init> descriptor ()V
-method name <init> descriptor (Ljava/lang/Object;)V
method name <init> descriptor ()V flags 4 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name <init> descriptor (Ljava/lang/Object;)V flags 4 deprecated true signature (TR;)V runtimeAnnotations @Ljava/lang/Deprecated;(since="9")
method name visitNoTypeAsModule descriptor (Ljavax/lang/model/type/NoType;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljavax/lang/model/type/NoType;TP;)TR;
class name javax/lang/model/util/TypeKindVisitor9
header extends javax/lang/model/util/TypeKindVisitor8 flags 21 signature <R:Ljava/lang/Object;P:Ljava/lang/Object;>Ljavax/lang/model/util/TypeKindVisitor8<TR;TP;>; runtimeAnnotations @Ljavax/annotation/processing/SupportedSourceVersion;(value=eLjavax/lang/model/SourceVersion;RELEASE_10;)
method name visitNoTypeAsModule descriptor (Ljavax/lang/model/type/NoType;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljavax/lang/model/type/NoType;TP;)TR;
class name javax/tools/ToolProvider
-method name getSystemToolClassLoader descriptor ()Ljava/lang/ClassLoader;
method name getSystemToolClassLoader descriptor ()Ljava/lang/ClassLoader; flags 9 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="9")

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.corba
header exports javax/activity,javax/rmi,javax/rmi/CORBA,org/omg/CORBA,org/omg/CORBA/DynAnyPackage,org/omg/CORBA/ORBPackage,org/omg/CORBA/TypeCodePackage,org/omg/CORBA/portable,org/omg/CORBA_2_3,org/omg/CORBA_2_3/portable,org/omg/CosNaming,org/omg/CosNaming/NamingContextExtPackage,org/omg/CosNaming/NamingContextPackage,org/omg/Dynamic,org/omg/DynamicAny,org/omg/DynamicAny/DynAnyFactoryPackage,org/omg/DynamicAny/DynAnyPackage,org/omg/IOP,org/omg/IOP/CodecFactoryPackage,org/omg/IOP/CodecPackage,org/omg/Messaging,org/omg/PortableInterceptor,org/omg/PortableInterceptor/ORBInitInfoPackage,org/omg/PortableServer,org/omg/PortableServer/CurrentPackage,org/omg/PortableServer/POAManagerPackage,org/omg/PortableServer/POAPackage,org/omg/PortableServer/ServantLocatorPackage,org/omg/PortableServer/portable,org/omg/SendingContext,org/omg/stub/java/rmi requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.naming\u0020;flags\u0020;0,name\u0020;java.transaction\u0020;flags\u0020;0,name\u0020;jdk.unsupported\u0020;flags\u0020;0,name\u0020;java.desktop\u0020;flags\u0020;20,name\u0020;java.rmi\u0020;flags\u0020;20 target linux-amd64 flags 8000 runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="9")

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.datatransfer
header exports java/awt/datatransfer requires name\u0020;java.base\u0020;flags\u0020;8000 uses sun/datatransfer/DesktopDatatransferService target linux-amd64 flags 8000

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,87 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.desktop
header exports java/applet,java/awt,java/awt/color,java/awt/desktop,java/awt/dnd,java/awt/event,java/awt/font,java/awt/geom,java/awt/im,java/awt/im/spi,java/awt/image,java/awt/image/renderable,java/awt/print,java/beans,java/beans/beancontext,javax/accessibility,javax/imageio,javax/imageio/event,javax/imageio/metadata,javax/imageio/plugins/bmp,javax/imageio/plugins/jpeg,javax/imageio/plugins/tiff,javax/imageio/spi,javax/imageio/stream,javax/print,javax/print/attribute,javax/print/attribute/standard,javax/print/event,javax/sound/midi,javax/sound/midi/spi,javax/sound/sampled,javax/sound/sampled/spi,javax/swing,javax/swing/border,javax/swing/colorchooser,javax/swing/event,javax/swing/filechooser,javax/swing/plaf,javax/swing/plaf/basic,javax/swing/plaf/metal,javax/swing/plaf/multi,javax/swing/plaf/nimbus,javax/swing/plaf/synth,javax/swing/table,javax/swing/text,javax/swing/text/html,javax/swing/text/html/parser,javax/swing/text/rtf,javax/swing/tree,javax/swing/undo requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.prefs\u0020;flags\u0020;0,name\u0020;java.datatransfer\u0020;flags\u0020;20,name\u0020;java.xml\u0020;flags\u0020;20 uses java/awt/im/spi/InputMethodDescriptor,javax/accessibility/AccessibilityProvider,javax/imageio/spi/ImageInputStreamSpi,javax/imageio/spi/ImageOutputStreamSpi,javax/imageio/spi/ImageReaderSpi,javax/imageio/spi/ImageTranscoderSpi,javax/imageio/spi/ImageWriterSpi,javax/print/PrintServiceLookup,javax/print/StreamPrintServiceFactory,javax/sound/midi/spi/MidiDeviceProvider,javax/sound/midi/spi/MidiFileReader,javax/sound/midi/spi/MidiFileWriter,javax/sound/midi/spi/SoundbankReader,javax/sound/sampled/spi/AudioFileReader,javax/sound/sampled/spi/AudioFileWriter,javax/sound/sampled/spi/FormatConversionProvider,javax/sound/sampled/spi/MixerProvider provides interface\u0020;sun/datatransfer/DesktopDatatransferService\u0020;impls\u0020;sun/awt/datatransfer/DesktopDatatransferServiceImpl,interface\u0020;java/net/ContentHandlerFactory\u0020;impls\u0020;sun/awt/www/content/MultimediaContentHandlers,interface\u0020;javax/print/PrintServiceLookup\u0020;impls\u0020;sun/print/PrintServiceLookupProvider,interface\u0020;javax/print/StreamPrintServiceFactory\u0020;impls\u0020;sun/print/PSStreamPrinterFactory,interface\u0020;javax/sound/midi/spi/MidiDeviceProvider\u0020;impls\u0020;com/sun/media/sound/MidiInDeviceProvider\u005C;u002C;com/sun/media/sound/MidiOutDeviceProvider\u005C;u002C;com/sun/media/sound/RealTimeSequencerProvider\u005C;u002C;com/sun/media/sound/SoftProvider,interface\u0020;javax/sound/midi/spi/MidiFileReader\u0020;impls\u0020;com/sun/media/sound/StandardMidiFileReader,interface\u0020;javax/sound/midi/spi/MidiFileWriter\u0020;impls\u0020;com/sun/media/sound/StandardMidiFileWriter,interface\u0020;javax/sound/midi/spi/SoundbankReader\u0020;impls\u0020;com/sun/media/sound/AudioFileSoundbankReader\u005C;u002C;com/sun/media/sound/DLSSoundbankReader\u005C;u002C;com/sun/media/sound/JARSoundbankReader\u005C;u002C;com/sun/media/sound/SF2SoundbankReader,interface\u0020;javax/sound/sampled/spi/AudioFileReader\u0020;impls\u0020;com/sun/media/sound/AiffFileReader\u005C;u002C;com/sun/media/sound/AuFileReader\u005C;u002C;com/sun/media/sound/SoftMidiAudioFileReader\u005C;u002C;com/sun/media/sound/WaveFileReader\u005C;u002C;com/sun/media/sound/WaveFloatFileReader\u005C;u002C;com/sun/media/sound/WaveExtensibleFileReader,interface\u0020;javax/sound/sampled/spi/AudioFileWriter\u0020;impls\u0020;com/sun/media/sound/AiffFileWriter\u005C;u002C;com/sun/media/sound/AuFileWriter\u005C;u002C;com/sun/media/sound/WaveFileWriter\u005C;u002C;com/sun/media/sound/WaveFloatFileWriter,interface\u0020;javax/sound/sampled/spi/FormatConversionProvider\u0020;impls\u0020;com/sun/media/sound/AlawCodec\u005C;u002C;com/sun/media/sound/AudioFloatFormatConverter\u005C;u002C;com/sun/media/sound/PCMtoPCMCodec\u005C;u002C;com/sun/media/sound/UlawCodec,interface\u0020;javax/sound/sampled/spi/MixerProvider\u0020;impls\u0020;com/sun/media/sound/DirectAudioDeviceProvider\u005C;u002C;com/sun/media/sound/PortMixerProvider target linux-amd64 flags 8000
class name java/awt/GraphicsEnvironment
-method name getLocalGraphicsEnvironment descriptor ()Ljava/awt/GraphicsEnvironment;
method name getLocalGraphicsEnvironment descriptor ()Ljava/awt/GraphicsEnvironment; flags 9
class name java/awt/Toolkit
-method name getMenuShortcutKeyMask descriptor ()I
method name getMenuShortcutKeyMask descriptor ()I thrownTypes java/awt/HeadlessException flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(since="10")
method name getMenuShortcutKeyMaskEx descriptor ()I thrownTypes java/awt/HeadlessException flags 1
class name java/awt/geom/Path2D
method name trimToSize descriptor ()V flags 401
class name java/awt/geom/Path2D$Double
method name trimToSize descriptor ()V flags 11
class name java/awt/geom/Path2D$Float
method name trimToSize descriptor ()V flags 11
class name java/awt/image/BufferedImage
-method name setRGB descriptor (III)V
method name setRGB descriptor (III)V flags 1
class name java/awt/image/FilteredImageSource
-method name startProduction descriptor (Ljava/awt/image/ImageConsumer;)V
-method name requestTopDownLeftRightResend descriptor (Ljava/awt/image/ImageConsumer;)V
method name startProduction descriptor (Ljava/awt/image/ImageConsumer;)V flags 21
method name requestTopDownLeftRightResend descriptor (Ljava/awt/image/ImageConsumer;)V flags 21
class name javax/swing/ButtonModel
method name getGroup descriptor ()Ljavax/swing/ButtonGroup; flags 1
class name javax/swing/LayoutFocusTraversalPolicy
header extends javax/swing/SortingFocusTraversalPolicy implements java/io/Serializable flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
class name javax/swing/event/EventListenerList
-field name listenerList descriptor [Ljava/lang/Object;
field name listenerList descriptor [Ljava/lang/Object; flags c4
class name javax/swing/filechooser/FileSystemView
header extends java/lang/Object flags 421
innerclass innerClass java/lang/ref/Cleaner$Cleanable outerClass java/lang/ref/Cleaner innerClassName Cleanable flags 609
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
class name javax/swing/plaf/basic/BasicMenuUI
method name getMinimumSize descriptor (Ljavax/swing/JComponent;)Ljava/awt/Dimension; flags 1
class name javax/swing/text/DefaultCaret
header extends java/awt/Rectangle implements javax/swing/text/Caret,java/awt/event/FocusListener,java/awt/event/MouseListener,java/awt/event/MouseMotionListener flags 21
innerclass innerClass javax/swing/text/Position$Bias outerClass javax/swing/text/Position innerClassName Bias flags 19
innerclass innerClass javax/swing/text/NavigationFilter$FilterBypass outerClass javax/swing/text/NavigationFilter innerClassName FilterBypass flags 409
innerclass innerClass javax/swing/text/Highlighter$HighlightPainter outerClass javax/swing/text/Highlighter innerClassName HighlightPainter flags 609
innerclass innerClass java/io/ObjectInputStream$GetField outerClass java/io/ObjectInputStream innerClassName GetField flags 409
innerclass innerClass javax/swing/text/LayeredHighlighter$LayerPainter outerClass javax/swing/text/LayeredHighlighter innerClassName LayerPainter flags 409
innerclass innerClass java/awt/event/FocusEvent$Cause outerClass java/awt/event/FocusEvent innerClassName Cause flags 4019
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.instrument
header exports java/lang/instrument requires name\u0020;java.base\u0020;flags\u0020;8000 target linux-amd64 flags 8000

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

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.logging
header exports java/util/logging requires name\u0020;java.base\u0020;flags\u0020;8000 provides interface\u0020;jdk/internal/logger/DefaultLoggerFinder\u0020;impls\u0020;sun/util/logging/internal/LoggingProviderImpl target linux-amd64 flags 8000

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

@@ -0,0 +1,40 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.management
header exports java/lang/management,javax/management,javax/management/loading,javax/management/modelmbean,javax/management/monitor,javax/management/openmbean,javax/management/relation,javax/management/remote,javax/management/timer requires name\u0020;java.base\u0020;flags\u0020;8000 uses javax/management/remote/JMXConnectorProvider,javax/management/remote/JMXConnectorServerProvider,sun/management/spi/PlatformMBeanProvider provides interface\u0020;javax/security/auth/spi/LoginModule\u0020;impls\u0020;com/sun/jmx/remote/security/FileLoginModule target linux-amd64 flags 8000
class name java/lang/management/RuntimeMXBean
header extends java/lang/Object implements java/lang/management/PlatformManagedObject flags 601
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
method name getPid descriptor ()J flags 1
class name java/lang/management/ThreadMXBean
method name getThreadInfo descriptor ([JZZI)[Ljava/lang/management/ThreadInfo; flags 1
method name dumpAllThreads descriptor (ZZI)[Ljava/lang/management/ThreadInfo; flags 1

View File

@@ -0,0 +1,44 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.management.rmi
header exports javax/management/remote/rmi requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.naming\u0020;flags\u0020;0,name\u0020;java.management\u0020;flags\u0020;20,name\u0020;java.rmi\u0020;flags\u0020;20 provides interface\u0020;javax/management/remote/JMXConnectorProvider\u0020;impls\u0020;com/sun/jmx/remote/protocol/rmi/ClientProvider,interface\u0020;javax/management/remote/JMXConnectorServerProvider\u0020;impls\u0020;com/sun/jmx/remote/protocol/rmi/ServerProvider target linux-amd64 flags 8000
class name javax/management/remote/rmi/RMIConnectorServer
-field name CREDENTIAL_TYPES descriptor Ljava/lang/String;
field name CREDENTIAL_TYPES descriptor Ljava/lang/String; constantValue jmx.remote.rmi.server.credential.types flags 19 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="10")
field name CREDENTIALS_FILTER_PATTERN descriptor Ljava/lang/String; constantValue jmx.remote.rmi.server.credentials.filter.pattern flags 19
field name SERIAL_FILTER_PATTERN descriptor Ljava/lang/String; constantValue jmx.remote.rmi.server.serial.filter.pattern flags 19
class name javax/management/remote/rmi/RMIJRMPServerImpl
header extends javax/management/remote/rmi/RMIServerImpl flags 21
innerclass innerClass java/io/ObjectInputFilter$FilterInfo outerClass java/io/ObjectInputFilter innerClassName FilterInfo flags 609
innerclass innerClass java/io/ObjectInputFilter$Status outerClass java/io/ObjectInputFilter innerClassName Status flags 4019
innerclass innerClass java/io/ObjectInputFilter$Config outerClass java/io/ObjectInputFilter innerClassName Config flags 19
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.naming
header exports javax/naming,javax/naming/directory,javax/naming/event,javax/naming/ldap,javax/naming/spi requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.security.sasl\u0020;flags\u0020;0 uses javax/naming/ldap/StartTlsResponse,javax/naming/spi/InitialContextFactory provides interface\u0020;java/security/Provider\u0020;impls\u0020;sun/security/provider/certpath/ldap/JdkLDAP target linux-amd64 flags 8000

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.prefs
header exports java/util/prefs requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.xml\u0020;flags\u0020;0 uses java/util/prefs/PreferencesFactory target linux-amd64 flags 8000

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

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.rmi
header exports java/rmi,java/rmi/activation,java/rmi/dgc,java/rmi/registry,java/rmi/server,javax/rmi/ssl requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0 uses java/rmi/server/RMIClassLoaderSpi target linux-amd64 flags 8000

View File

@@ -0,0 +1,31 @@
#
# 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.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
module name java.scripting
header exports javax/script requires name\u0020;java.base\u0020;flags\u0020;8000 uses javax/script/ScriptEngineFactory target linux-amd64 flags 8000

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