1019 Commits

Author SHA1 Message Date
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Claes Redestad
8d5f5b9a6b 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:03:33 +01:00
Dan Smith
bf8ad52b22 8174399: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-13 10:47:15 -07:00
Sergei Kovalev
73a2915d57 8174194: Several java/lang tests failing due to undeclared module dependencies
Reviewed-by: dfuchs, mchung
2017-02-10 11:00:41 +03:00
Jesper Wilhelmsson
c96b81a149 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
4db74fef1e Merge 2017-02-10 12:28:52 +00:00
Alan Bateman
a4693ee7d2 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Jesper Wilhelmsson
958e42d82d Merge 2017-02-09 23:15:52 +01:00
Sibabrata Sahoo
f343f201a5 8168423: Test Task: Custom system class loader + security manager + malformed policy file = recursive initialization
If a malformed policy file is encountered when running with a custom system class loader then it leads to a recursive initialization issue

Reviewed-by: mullan
2017-02-09 05:19:48 -08:00
Dan Smith
125d4ea7d0 8173587: LambdaMetafactory needs to validate descriptors and method name
Reviewed-by: psandoz
2017-02-08 12:27:45 -07:00
Daniel Fuchs
fcc0a083e4 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection
StackWalker is fixed to take into account constructor reflection frames. The specification of StackWalker.Option.SHOW_REFLECT_FRAMES is also clarified in this regard.

Reviewed-by: bchristi, lancea, mchung, psandoz
2017-02-08 16:33:52 +00:00
Jesper Wilhelmsson
d59901faa4 Merge 2017-02-04 03:29:39 +01:00
Mandy Chung
b1af5af0c8 8173412: @Test in java/lang/annotation and java/lang/reflect/Proxy tests not run
Reviewed-by: redestad
2017-02-03 18:06:45 -08:00
Jesper Wilhelmsson
cbbc62dced Merge 2017-02-01 00:56:16 +01:00
Jesper Wilhelmsson
e37cc00a49 Merge 2017-01-31 20:54:44 +01:00
Brent Christian
d0a0cdf753 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:51:02 -08:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00
Joe Darcy
6ab9df4607 8173903: Update various tests to pass under JDK 10
Reviewed-by: lancea, psandoz
2017-02-03 12:36:42 -08:00
David Holmes
3c01d5813d 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: mchung
2017-01-31 19:26:10 -05:00
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
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +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
Dmitrij Pochepko
a1d6b9fa8b 8171149: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with "Out of space in CodeCache for adapters"
Reviewed-by: kvn
2017-01-23 16:31:49 +03: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