5187 Commits

Author SHA1 Message Date
Sergey Bylokhov
e4ddde03d2 8234137: The "AutoTestOnTop.java" test may run external applications
Reviewed-by: prr
2019-12-05 15:29:13 -08:00
Prasanta Sadhukhan
e9e86ffb30 8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java fails on ubuntu18.04
Reviewed-by: serb
2019-12-04 16:28:48 +05:30
Leonid Mesnik
dc0cc5520c 8235530: Removed duplicated threadByName methods in nsk/jdi tests
Reviewed-by: dholmes, sspitsyn
2019-12-09 13:02:07 -08:00
Jonathan Gibbons
589f23568a 8234689: facilitate writing additional custom attributes in a class file
Reviewed-by: jlahoda
2019-12-09 12:27:57 -08:00
Jonathan Gibbons
45b8d09e1b 8234211: allow discoverable javac plugins to be invoked by default
Reviewed-by: jlahoda
2019-12-09 10:44:02 -08:00
Ioi Lam
749bda0e2d 8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Andy Herrick
ade72f4965 Merge 2019-12-09 13:02:05 -05:00
Andy Herrick
72caf85c0f 8235453: tools/jpackage/junit/junit.java failed
Reviewed-by: prr
2019-12-09 13:01:02 -05:00
Patrick Concannon
22e26b2a81 8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
Fix adds multicast socket options to DatagramSocket

Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Aleksei Efimov
3f259d8e3a 8141685: com/sun/jndi/ldap/InvalidLdapFilters.java initializes context failed
Reviewed-by: dfuchs, vtewari
2019-12-09 14:07:26 +00:00
Christoph Langer
3c8ec642ff 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2019-12-09 15:01:57 +01:00
Julia Boes
07fc539a85 8232513: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
Increase the number of bind retries and test repeats, best effort only

Reviewed-by: msheppar, dfuchs, vtewari
2019-12-09 12:46:12 +00:00
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Rahul Raghavan
228c3144d2 8233453: MLVM deoptimize stress test timed out
Increased timeout factor for MLVM deoptimize stress test

Reviewed-by: iignatyev, thartmann
2019-12-09 14:02:03 +05:30
Mandy Chung
e7fa637179 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Joe Darcy
e1921502c5 8235514: Update record serialization tests to not use hard coded source versions
Reviewed-by: lancea
2019-12-06 13:32:46 -08:00
Joe Darcy
0da41b464e 8235499: Change HotSpot jtreg records test to better handle JDK updates
Reviewed-by: hseigel, iignatyev
2019-12-06 12:13:25 -08:00
Gustavo Romero
1691abc747 8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03:00
Lance Andersen
fb1c57789e 8235961: SyncResolverImpl does not throw SQLException as expected
Reviewed-by: joehw, bpb
2019-12-19 15:23:57 -05:00
Alexey Semenyuk
91008df5a8 8236138: Add tests for jmod applications
Reviewed-by: herrick, prr
2019-12-19 13:39:10 -05:00
Vicente Romero
9695ddfffc 8234445: spurious error message for record constructors with receiver parameters
Reviewed-by: mcimadamore
2019-12-19 11:46:35 -05:00
Pavel Rappo
026eac269c 8235435: Remove (obsolete) @author info from javadoc source and tests
Reviewed-by: jjg
2019-12-06 10:12:51 +00:00
Christian Hagedorn
fd8832f726 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.

Reviewed-by: vlivanov, thartmann
2019-12-06 10:00:16 +01:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +01:00
Joe Darcy
81ec9e3087 8235369: Class.toGenericString need to be updated for records
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Coleen Phillimore
565770872a Merge 2019-12-05 16:58:18 -05:00
Coleen Phillimore
8846a8043d 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Add local deferred event list to thread to post events outside CodeCache_lock.

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Alex Menkov
5cbabecd3b 8235433: Problem list JdwpListenTest.java and JdwpAttachTest.java on Windows
Reviewed-by: dcubed
2019-12-05 13:52:38 -08:00
Naoto Sato
730d0ecf19 8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Andy Herrick
264573c9ce 8212780: Packaging Tool Implementation
Co-authored-by: Alexey Semenyuk <alexey.semenyuk@oracle.com>
Co-authored-by: Alexander Matveev <alexander.matveev@oracle.com>
Co-authored-by: Kevin Rushforth <kevin.rushforth@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: asemenyuk, almatvee, herrick, kcr, prr, erikj, ihse, rriggs, mchung, alanb
2019-12-05 11:25:33 -05:00
Jim Laskey
945c8d555b 8232681: ArrayIndexOutOfBoundsException with text blocks in javac when using -Xlint
Reviewed-by: sundar
2019-12-05 09:22:21 -04:00
Leo Korinth
c023983c7f 8235250: Create (test) abstraction for allocating objects that is immune to removal by optimizations
Reviewed-by: eosterlund, tschatzl
2019-12-05 12:52:07 +01:00
Weijun Wang
ab280fcac4 8234267: DelegationPermission implementation doesn't completely follow the updated specification
Reviewed-by: xuelei
2019-12-05 10:36:46 +08:00
Christoph Göttschkes
9c4adc66c7 8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
2019-12-04 10:38:54 +01:00
Letu Yang
06257b3f1d 8234288: Turkey Time Zone returns incorrect time zone name
Add and use "Turkey Time" time zone.

Reviewed-by: naoto, martin, phh
2019-12-04 15:01:22 -08:00
Mikhailo Seledtsov
8b029e21a2 8235356: [TESTBUG] Disable 'producer is alive' check in JFR TestCrossProcessStreaming
Disabled the check

Reviewed-by: dcubed
2019-12-04 14:44:29 -08:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records

Implement records in the compiler and the JVM, including serialization, reflection and APIs support

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Ioi Lam
ce9ff0924f 8235179: [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
Reviewed-by: mseledtsov, ccheung
2019-12-04 11:19:25 -08:00
Mandy Chung
a445b66e58 8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges

Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Alan Bateman
e7d68cd13b 8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Coleen Phillimore
386b387ef2 8234355: Buffer overflow in jcmd GC.class_stats due to too many classes
Remove use of GC.class_stats in testing and failure analysis (plan to deprecate)

Reviewed-by: dcubed
2019-12-04 11:09:15 -05:00
Arno Zeller
f67111067e 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out
Reviewed-by: mchung, clanger
2019-12-02 17:10:02 +01:00
Jan Lahoda
07be23513b 8234922: No compilation error reported not reported for a binding variable when loop broken with label
Any break outside of a loop should confine the binding variables from the loop's condition to the loop

Reviewed-by: mcimadamore
2019-12-04 09:38:32 +01:00
Jan Lahoda
f26bdf8476 8234899: Compiler reports AssertionError for conditional operator ? : and pattern matching for instanceof
Reviewed-by: mcimadamore
2019-12-04 09:38:31 +01:00
Igor Ignatyev
503a960e7d 8129092: compiler/intrinsics/classcast/NullCheckDroppingsTest.java testVarClassCast() can fail
Reviewed-by: kvn
2019-12-03 20:23:53 -08:00
Chris Plummer
b1c42a1d46 8235221: Fix ProblemList.txt for sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java
Reviewed-by: iignatyev
2019-12-03 20:08:37 -08:00
Kim Barrett
e70386f23a 8213415: BitMap::word_index_round_up overflow problems
Limit BitMap sizes so to-word round-up can't overflow.

Reviewed-by: tschatzl, stuefe
2019-12-03 15:12:56 -05:00
Serguei Spitsyn
7204086e7e 8235280: UnProblemList vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java
Remove test from ProblemList.txt.

Reviewed-by: iignatyev
2019-12-03 19:45:38 +00:00
Vladimir Ivanov
a6daef527e 8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00