Commit Graph

133 Commits

Author SHA1 Message Date
Calvin Cheung
f7bbf4f43c 8209743: [TESTBUG] java/lang/management/MemoryMXBean/LowMemoryTest2.sh fails with OutOfMemoryError running in CDS mode
Increase the MaxMetaspaceSize from 16m to 32m

Reviewed-by: jiangli, iklam, mchung
2018-08-28 16:18:58 -07: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
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
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
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
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02: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
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
Paul Sandoz
14651d9e02 8195650: Method references to VarHandle accessors
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
Roger Riggs
4d93f17fe1 8206495: Redundant System.setProperty(null) tests
Reviewed-by: mchung, lancea
2018-07-06 15:22:07 -04: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dan Zhou
27d6abca83 8202771: Migrate Unicode character tests to JDK Repo
Reviewed-by: naoto
2018-05-23 14:21:14 +08:00
Jim Laskey
60de3c902e 8200380: String::lines
Reviewed-by: sundar, sherman, rriggs, psandoz
2018-05-22 12:04:05 -03: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
Jim Laskey
a455811dca 8200436: String::isBlank
Reviewed-by: sundar
2018-05-18 08:43:49 -03:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03: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
Rachna Goel
78bd242097 8191410: Unicode 10
Upgrade to Unicode 10

Reviewed-by: naoto, rriggs, igerasim
2018-05-08 11:49:42 +05:30
David Holmes
8eb4c9db2a 8202686: Missing test case for 8200167 - final Object methods
Reviewed-by: psandoz
2018-05-07 19:31:39 -04: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
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
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
Mandy Chung
bd18ef4c18 8201793: (ref) Reference object should not support cloning
Reviewed-by: psandoz, kbarrett
2018-05-03 11:18:57 -07: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
Paul Sandoz
1a23a6264e 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Paul Sandoz
9b54e6d766 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08: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
Ivan Gerasimov
9fe989cc39 8200788: Optimal initial capacity of java.lang.VarHandle.AccessMode.methodNameToAccessMode
Reviewed-by: redestad
2018-04-07 17:07:13 -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
Martin Buchholz
5c8c67c523 8200128: Fix some "annoations" typos
Reviewed-by: alanb
2018-04-05 09:36:01 -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
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
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01:00
Felix Yang
2a4a941922 8196668: revisit test SunPackageAccess and GrantedSunPackageAccess
Reviewed-by: mchung
2018-03-28 21:57:03 -07:00