Commit Graph

998 Commits

Author SHA1 Message Date
Peter Levart
f2998da973 8173056: Add test that captures current behavior of annotations with invalid annotation types
Reviewed-by: redestad
2017-01-25 15:41:20 +01:00
Peter Levart
1d8cd10db5 8173201: java/lang/reflect/PublicMethods/PublicMethodsTest.java fails because of too many open files
Explicitly close StandardJavaFileManager(s) as soon as they are not needed any more

Reviewed-by: redestad
2017-01-23 23:56:02 +01:00
Anthony Scarpino
698d82f0b0 8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
Reviewed-by: mchung, wetmore
2017-01-23 11:49:01 -08:00
Sean Mullan
472c73df43 8173082: java/bean/* tests fail since change of JDK-8055206
Reviewed-by: mchung, ahgross, alanb
2017-01-23 07:34:11 -05:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Peter Levart
5ada754c71 8172190: Re-apply the fix for bugs 8062389, 8029459, 8061950
Final fix for 8062389: Class.getMethod() is inconsistent with Class.getMethods() results, 8029459: getMethods returns methods that are not members of the class, 8061950: Class.getMethods() exhibits quadratic time complexity

Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy, redestad
2017-01-05 08:51:03 +01:00
Paul Sandoz
94d019e9ba 8172201: Replace assert of return type in VarHandle.AccessMode with test
Reviewed-by: mchung
2017-01-04 17:20:41 -08:00
Joe Darcy
be91309965 8139688: Port fdlibm exp to Java
Reviewed-by: bpb, nadezhin
2016-12-16 21:43:29 -08:00
Alan Bateman
8c79e61d46 Merge 2016-12-16 08:17:45 +00:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Mandy Chung
f083b7e656 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:13 -08:00
Claes Redestad
f39eef3ab6 8170595: Optimize Class.isAnonymousClass, isLocalClass, and isMemberClass
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: mchung, darcy
2016-12-11 12:20:45 +01:00
Brent Christian
96fc05b672 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:35:59 -08:00
Sergei Kovalev
d0feb351b6 8170664: SystemLoggerInPlatformLoader.java failing in case of module limitation
Reviewed-by: dfuchs, mchung
2016-12-08 15:35:56 +03:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Weijun Wang
d036a1e276 8170408: LogGeneratedClassesTest.java fails with recent changes
Reviewed-by: dfuchs
2016-11-30 08:02:39 +08:00
Brent Christian
20c0c1d9d0 8136831: Undefined null behavior in ClassLoader.getResourceXXXX()
Reviewed-by: alanb, mchung, psandoz
2016-11-23 10:41:25 -08:00
Brent Christian
36ffe056e1 8169435: ClassLoader.isParallelCapable is final and conflicting method may get VerifyError
Reviewed-by: acorn, dholmes, mchung
2016-11-23 10:34:10 -08:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Mandy Chung
671d12ce6b 8169909: java agent fails to add to class path when the initial module is a named module
Reviewed-by: alanb
2016-11-20 07:57:57 -08:00
Mandy Chung
5fb366ed4f 8169231: Fix tests to add @compile --add-modules to workaround jtreg bug
Reviewed-by: jjg
2016-11-04 15:49:31 -07:00
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
Ivan Gerasimov
d86b93b397 8168921: Inconsistent Annotation.toString()
Reviewed-by: darcy, redestad
2016-11-02 20:53:56 +03:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Roger Riggs
9e7023e2a9 8168517: java/lang/ProcessBuilder/Basic.java failed
Reviewed-by: dholmes
2016-10-31 13:57:28 -04:00
Daniel Fuchs
53cbda2d85 8163162: The separation between system loggers and application loggers should take the extension loader in consideration
DefaultLoggerFinder.isSystem is changed to return 'true' for classes loaded from the platform loader and its ancestors. This means that classes loaded by the platform loader will get exactly the same kind of loggers than classes loaded by the boot (null) loader.

Reviewed-by: rriggs, mchung
2016-10-28 12:10:12 +01:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Alejandro Murillo
cb0a755549 Merge 2016-10-25 14:55:29 -07:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Alejandro Murillo
ae7aae8464 Merge 2016-10-20 16:54:00 -07:00
Chris Plummer
42c24a144c 8167001: [TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt
Force classpath to be added to subprocesses

Reviewed-by: dholmes, sspitsyn
2016-10-18 12:36:20 -07:00
Alexander Kulyakhtin
302ec8438f 8158797: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails when GC is specified explicitly
Fixed GC options for running the test

Reviewed-by: ddmitriev, sspitsyn
2016-10-17 15:46:28 +03:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Amit Sapre
6e7ec59861 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 15:08:29 +05:30
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Dean Long
fca8d47eff Merge 2016-09-26 14:21:22 -04:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Chris Plummer
7f563f1567 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:07 -07:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Serguei Spitsyn
bdbd71b1ea Merge 2016-09-12 22:04:48 +00:00
Serguei Spitsyn
02944f968d 8160950: Agent JAR added to app class loader rather than system class loader when running with -Djava.system.class.loader
Add agent JAR to the custom system class loader

Reviewed-by: alanb, mchung, dholmes
2016-09-12 15:00:58 -07:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00