Christian Hagedorn
f7a65b7fff
8239083: C1 assert(known_holder == NULL || (known_holder->is_instance_klass() && (!known_holder->is_interface() || ((ciInstanceKlass*)known_holder)->has_nonstatic_concrete_methods())), "should be non-static concrete method");
...
Remove unnecessary preparation to profile the holder of a static method called by a method handle in C1.
Reviewed-by: thartmann, kvn
2020-06-02 11:05:34 +02:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Tobias Hartmann
5793b0633a
8246153: TestEliminateArrayCopy fails with -XX:+StressReflectiveCode
...
Use the memory input instead of the control input to find the membar.
Reviewed-by: kvn, neliasso
2020-06-02 09:07:53 +02:00
Jan Lahoda
44ae643b2b
8210649: AssertionError @ jdk.compiler/com.sun.tools.javac.comp.Modules.enter(Modules.java:244)
...
Do not clean trees after last round of annotation processing, if the trees won't be re-entered again.
Reviewed-by: vromero
2020-06-02 08:41:36 +02:00
Jan Lahoda
04ad75e788
8241519: javac crashes with wrong module-info.class in module path
...
If module-info.class is broken, mark the corresponding ModuleSymbol as erroneous.
Reviewed-by: jjg
2020-06-02 08:27:37 +02:00
Xiaohong Gong
1adecc8e3a
8245717: VM option "-XX:EnableJVMCIProduct" could not be repetitively enabled
...
Reviewed-by: dholmes, kvn
2020-06-02 04:32:40 +00:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Mandy Chung
5e5880d4f1
8245061: Lookup::defineHiddenClass should throw ClassFormatError if this_class is not Class_info structure
...
8245432: Lookup::defineHiddenClass should throw UnsupportedClassVersionError if bytes are of an unsupported major or minor version
8245596: Clarify Lookup::defineHiddenClass spec @throws IAE if the bytes has ACC_MODULE flag set
Reviewed-by: alanb, dholmes
2020-06-01 13:19:06 -07:00
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
Phil Race
d0c6eef9a5
8246263: jdk is not yet ready for new Copyright line
...
Reviewed-by: pbansal
2020-06-01 10:04:19 -07:00
Adam Sotona
5a57b9f8ec
8245153: Unicode encoded double-quoted empty string does not compile
...
Fixed parsing of Unicode encoded double-quoted empty strings in c.s.t.j.p.JavaTokenizer::scanString
Reviewed-by: jlaskey
2020-05-29 09:56:05 +02:00
Per Lidén
116aee4950
8242527: ZGC: TestUncommit.java fails due to "Exception: Uncommitted too fast"
...
Reviewed-by: eosterlund
2020-05-31 23:15:05 +02:00
Weijun Wang
6212aea580
8246193: Possible NPE in ENC-PA-REP search in AS-REQ
...
Reviewed-by: xuelei
2020-05-31 10:13:04 +08:00
Adam Sotona
4eeb61299f
8244573: java.lang.ArrayIndexOutOfBoundsException thrown for malformed class file
...
Fixed java.lang.ArrayIndexOutOfBoundsException in com.sun.tools.classfile.Code_attribute.getInstructions() for methods with no instructions
Reviewed-by: vromero
2020-05-30 20:10:18 -04:00
Prasanta Sadhukhan
d616488567
Merge
2020-05-30 10:33:28 +05:30
Brian Burkhalter
c328bca493
8246183: Scanner/ScanTest.java fails due to SIGSEGV in StubRoutines::jshort_disjoint_arraycopy
...
Reviewed-by: mikael, smarks
2020-05-29 19:08:57 -07:00
Brian Burkhalter
cd340d5e70
8245121: (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: alanb, darcy, psandoz
2020-05-29 14:23:51 -07:00
Phil Race
604005d65c
8159597: [TEST_BUG] closed/javax/swing/JPopupMenu/4760494/bug4760494.java leaves key pressed
...
Reviewed-by: serb, psadhukhan
2020-05-29 13:11:36 -07:00
Alexey Semenyuk
1d4bd253e4
8245831: Unify code parsing version strings on Mac and Windows
...
Reviewed-by: herrick, almatvee
2020-05-29 15:57:18 -04:00
Daniel Fuchs
9e43496c42
8245867: Logger/bundleLeak/BundleTest.java fails due to "OutOfMemoryError: Java heap space"
...
The test is fixed to release the memory as soon as it's no longer needed.
Reviewed-by: lancea, dcubed, dholmes
2020-05-29 20:35:46 +01:00
Erik Gahlin
72f1a49746
8246130: JFR: TestInheritedAnnotations has incorrect validation
...
Reviewed-by: mgronlun
2020-05-29 18:59:39 +02:00
Erik Gahlin
984373408e
8246128: JFR: Fix warnings
...
Reviewed-by: mgronlun
2020-05-29 17:02:11 +02:00
Erik Gahlin
6fd44901ec
8216303: JFR: Simplify generated files
...
Reviewed-by: erikj, mgronlun
2020-05-29 15:19:01 +02:00
Aleksei Efimov
02fbf44cc7
8244958: preferIPv4Stack and preferIPv6Addresses do not affect addresses returned by HostsFileNameService
...
Reviewed-by: dfuchs, alanb, vtewari
2020-05-29 13:39:16 +01:00
Hannes Wallnöfer
b43f356288
8177280: @see {@link} syntax should allow generic types
...
8237826: DocTrees should provide getType(DocTreePath) method
Reviewed-by: jjg
2020-05-29 14:28:13 +02:00
Julia Boes
c0a1a4e4fc
8237470: HttpResponse.BodySubscriber::ofFile throws UOE with non-default file systems
...
Rework non-default file system paths of BodySubscriber::ofFile and BodyHandler::ofFile and fix BodyHandler::ofFileDownload to throw consistently for non-default file system paths
Reviewed-by: dfuchs, chegar
2020-05-29 12:59:13 +01:00
Maurizio Cimadamore
55ed0d853f
8246040: java/foreign/TestAddressHandle fails on big endian platforms
...
Make test more robust by not relying on implicit endianness-related assumption
Reviewed-by: chegar
2020-05-29 12:40:50 +01:00
Peter Levart
5967aaf629
8246050: Improve scalability of MemoryScope
...
Reiplement memory scope using StampedLock
Reviewed-by: psandoz
2020-05-29 12:12:09 +01:00
Patrick Concannon
4708c6d343
8243507: DatagramSocket constructors don’t always specify what happens when passed invalid parameters
...
This fix updates the spec for DatagramSocket's constructors to inform the user of the Exceptions thrown when an invalid argument is passed.
Reviewed-by: dfuchs
2020-05-29 11:08:09 +01:00
Prasanta Sadhukhan
53015e6d82
Merge
2020-05-29 09:44:27 +05:30
David Holmes
7228978b19
8242504: Enhance the system clock to nanosecond precision
...
Co-authored-by: Mark Kralj-Taylor <kralj.mark@gmail.com>
Reviewed-by: dfuchs, rriggs, dcubed, vtewari
2020-05-28 22:34:02 -04:00
Daniil Titov
7045a46250
8244993: Revert changes to OutputAnalyzer stderrShouldBeEmptyIgnoreVMWarnings() that allow version strings
...
Reviewed-by: dholmes, cjplummer
2020-05-28 15:58:59 -07:00
Aleksey Shipilev
b189d0b918
8245478: Implementation: JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector (Production)
...
Reviewed-by: rkennke, smonteith, zgu
2020-05-28 18:50:58 +02:00
Tejpal Rebari
7cc3ba5f9b
8239827: The test OpenByUNCPathNameTest.java should be changed to be manual
...
Reviewed-by: psadhukhan
2020-05-28 14:30:39 +05:30
Adam Sotona
456fe234ce
8230827: javac gives inappropriate warning about potentially ambiguous methods
...
Fix of too strict com.sun.tools.javac.comp.Comp:checkPotentiallyAmbiguousOverloads method
Reviewed-by: jlahoda
2020-05-28 10:52:37 +02:00
Jan Lahoda
7671f2716b
8245786: Scope is wrong for ClassTree representing record
...
Listing RECORD as a class-like Tree Kind while computing Scope.
Reviewed-by: jjg
2020-05-28 13:37:39 +02:00
David Holmes
686ca5ae49
8243936: NonWriteable system properties are actually writeable
...
Reviewed-by: iklam, dcubed
2020-05-28 02:58:56 -04:00
Pankaj Bansal
e4a972de1a
8245968: javax/swing/JTable/7124218/SelectEditTableCell.java is added to ProblemList twice
...
Reviewed-by: psadhukhan
2020-05-28 11:23:23 +05:30
Yumin Qi
e6855f20b0
8245264: Test runtime/cds/appcds/SignedJar.java fails
...
Concurrent work of symbol table caused _shared_table not walkable in dumping archive which led symbols not sorted in shared archive. Change to use do_safepoint_scan of _local_table to collect symbols.
Reviewed-by: iklam, ccheung
2020-05-27 16:04:28 -07:00
Claes Redestad
69f7f95b93
8245959: Extend String concat testing to account for folded constants
...
Reviewed-by: psandoz
2020-05-28 00:34:41 +02:00
Xue-Lei Andrew Fan
17a298962c
8206925: Support the certificate_authorities extension
...
Reviewed-by: mullan
2020-05-27 09:46:40 -07:00
Alexander Matveev
6f5e8a2aa3
8237908: [TESTBUG] [macos] Add support to jtreg helpers to unpack pkg packages
...
Reviewed-by: herrick, asemenyuk
2020-05-27 09:30:46 -04:00
Alexander Matveev
93d89d3bf3
8242786: [macos] tools/jpackage/share/IconTest.java fails: ABORT trying to dequeue work
...
Reviewed-by: herrick, asemenyuk
2020-05-27 09:14:20 -04:00
Andy Herrick
4af3a1e078
8245202: Convert existing jpackage tests to newer form
...
Reviewed-by: asemenyuk, almatvee
2020-05-27 08:59:43 -04:00
Adam Sotona
954db3353e
8241312: missing code coverage for records
...
Added tests for better coverage of records
Reviewed-by: vromero
2020-05-27 10:16:19 -04:00
Pankaj Bansal
342e9f88cd
8233647: [TESTBUG] JColorChooser/Test8051548.java is failing on macos
...
Reviewed-by: psadhukhan
2020-05-27 18:02:49 +05:30
Pankaj Bansal
85822a50d5
8233566: [TESTBUG] KeyboardFocusManager tests failing on MacoS
...
Reviewed-by: psadhukhan
2020-05-27 17:55:47 +05:30
Pankaj Bansal
9b3fb5d1d5
8233551: [TESTBUG] SelectEditTableCell.java fails on MacOS
...
Reviewed-by: psadhukhan
2020-05-27 17:35:42 +05:30
Vaibhav Choudhary
c14590378a
8245179: JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
...
Fixed to not to run the testcase with TieredStopAtLevel set
Reviewed-by: thartmann
2020-05-27 17:28:22 +05:30