Commit Graph

199 Commits

Author SHA1 Message Date
Mikael Vidstedt
8e53d1b5dc 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Phil Race
f605407e30 Merge 2018-09-24 10:59:26 -07:00
Brent Christian
3910193204 8072130: java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Mac OSX
Reviewed-by: sherman
2018-09-24 10:41:41 -07:00
Phil Race
d92c6042fe Merge 2018-09-17 09:36:33 -07:00
Ivan Gerasimov
a07102bc7f 8210787: Object.wait(long, int) throws inappropriate IllegalArgumentException
Reviewed-by: martin, rriggs
2018-09-15 13:53:43 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Phil Race
0bed87dccd Merge 2018-09-13 10:54:11 -07:00
Alan Bateman
9c70e26c14 8210496: Improve filtering for classes with security sensitive fields
Reviewed-by: plevart, mchung
2018-09-19 08:49:07 +01:00
Mandy Chung
b72ab42e49 8210721: Replace legacy serial exception field with Throwable::cause
Reviewed-by: dfuchs, lancea
2018-09-17 15:22:46 -07:00
Igor Ignatyev
3521fc392e 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Jim Laskey
12dad310bb 8200434: String::align, String::indent
Reviewed-by: abuckley, smarks, sherman, rriggs, jrose, sundar, igerasim, briangoetz, darcy, jjg
2018-09-12 14:19:36 -03:00
Sergey Bylokhov
cd38b8562f 8205537: Drop of sun.applet package
Reviewed-by: prr
2018-09-09 19:07:34 -07:00
Igor Ignatyev
2702b5c299 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
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
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
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
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
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Alexandre Iline
771a76dd9e Merge 2018-03-16 03:17:12 -07:00
Alexandre Iline
88af1f11ee 8199616: Fix @module declarations in tier1 tests
Reviewed-by: mchung, alanb
2018-03-16 03:15:35 -07:00
David Lloyd
acb3103b8f 8188240: Reflection Proxy should skip static methods
Reviewed-by: mchung, sundar, shade, plevart
2018-03-15 12:07:59 +01: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
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
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
Jim Laskey
b4d4d8f66c 8197594: String#repeat
Reviewed-by: smarks, psandoz, plevart, rriggs, redestad
2018-03-01 15:45:51 -04: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
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01: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
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Alan Bateman
8f56ea639d 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Paul Sandoz
2ab07cc314 8197944: Condy tests fails on Windows
Reviewed-by: dholmes
2018-03-13 15:29:55 -07: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
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
Jesper Wilhelmsson
51ab999e0e Merge 2018-02-13 23:38:34 +01:00
Martin Doerr
eb3ec99500 8196786: [PPC64+s390] ConstantDynamic support
Reviewed-by: psandoz, dsamersoff
2018-02-13 17:38:03 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Paul Sandoz
c9757ad448 8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Mandy Chung
9caf4aeb12 8168682: jdk/test/java/lang/ClassLoader/forNameLeak/ClassForNameLeak.java fails with -Xcomp
Reviewed-by: bchristi
2018-02-12 11:40:19 -08:00
Lance Andersen
987c3a2d87 8190378: Removal of CORBA and Java EE modules
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Tobias Hartmann
e5131d5ceb 8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0'
Exclude test from Graal testing.

Reviewed-by: kvn, dholmes, mchung
2018-02-05 07:20:26 +01:00
Amy Lu
2bf1bf3afb 8195981: Move some tests to OpenJDK for jdk_lang test group
Reviewed-by: alanb, mchung
2018-02-05 11:12:09 +08:00
Ivan Gerasimov
831b32b2a9 8196740: Character.digit(int,int) returns wrong value for out of range radix
Reviewed-by: redestad
2018-02-03 21:12:37 -08:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Paul Sandoz
00b3f917ac 8195694: ConstantBootstraps.invoke does not preserve variable arity
Reviewed-by: jrose
2018-02-01 14:19:04 -08:00
Paul Sandoz
2b3d492b43 8196533: Update CondyNestedTest.java to compile jcod file
Reviewed-by: mchung
2018-01-31 17:43:46 -08:00