612 Commits

Author SHA1 Message Date
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Lana Steuck
630db5433c Merge 2017-04-06 04:53:01 +00:00
Roger Riggs
0f88318213 8178154: Typo in Object.finalize deprecation javadoc
Reviewed-by: mchung
2017-04-06 10:41:31 -04:00
Chris Hegarty
04f6757027 8178101: Migrate the thread deprecation technote to javadoc doc-files
Reviewed-by: dholmes
2017-04-06 09:00:47 +01:00
Roger Riggs
0ba8b7a529 8165641: Deprecate Object.finalize
Reviewed-by: mchung, smarks
2017-04-05 09:57:32 -04:00
Joe Darcy
01b13bd9df 8177949: @link tag arguments need correction for ElementType documentation
Reviewed-by: lancea
2017-04-04 11:13:02 -07:00
Claes Redestad
3be6ab78ef 8177631: Outdated performance advice in StringCoding
Reviewed-by: sherman
2017-04-04 10:53:27 +02:00
Daniel Fuchs
4fa7bde21b 8177136: Caller sensitive method System::getLogger should specify what happens if there is no caller on the stack
IllegalCallerException (instead of undocumented NPE) is thrown if there is no caller on the stack. The specification is clarified in this respect.

Reviewed-by: alanb, mchung, dholmes, bchristi
2017-03-29 13:16:12 +01:00
Hamlin Li
31374e10a3 8176865: overridden api has a wrong since value in java.base module
Reviewed-by: alanb
2017-03-27 18:52:47 -07:00
Lana Steuck
4772c1128d Merge 2017-03-25 01:43:49 +00:00
Alan Bateman
9ccff870cb Merge 2017-03-22 18:41:22 +00:00
Alan Bateman
b19eb2766f 8174823: Module system implementation refresh (3/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, mchung, alanb
2017-03-22 16:26:27 +00:00
Claes Redestad
518aac55d1 8177036: Class.checkMemberAccess throws NPE when calling Class methods via JNI
Reviewed-by: mchung, alanb
2017-03-20 21:40:07 +01:00
Pavel Rappo
c4b3290e90 8176882: Incorrect integer comparison in version numbers
Reviewed-by: psandoz
2017-03-16 22:58:13 +00:00
Lana Steuck
e7a144b745 Merge 2017-03-16 20:46:19 +00:00
Roger Riggs
740035f8ed 8176272: (process) ProcessHandle::onExit fails to wait for non-child process
Reviewed-by: chegar, stuefe
2017-03-16 15:40:38 -04:00
Pavel Rappo
9599368607 8160956: Runtime.Version.compareTo/compareToIgnoreOpt problem
Reviewed-by: mr
2017-03-16 15:30:54 +00:00
Hamlin Li
3f0efdf53e 8176563: @since value errors in apis of java.base/java.logging module
Reviewed-by: alanb, chegar, dfuchs, dholmes, martin, naoto, rriggs
2017-03-15 19:24:56 -07:00
Mandy Chung
333fe2286b 8176815: Remove StackFramePermission and use RuntimePermission for stack walking
Reviewed-by: alanb, bchristi
2017-03-15 18:08:46 -07:00
Hamlin Li
2be8407266 8176566: @since value errors in types of java.base module
Reviewed-by: martin, psandoz
2017-03-14 19:23:37 -07:00
Mandy Chung
e808c7a09e 8175797: (ref) Reference::enqueue method should clear referent before enqueuing
Reviewed-by: alanb, kbarrett, mr
2017-03-09 07:41:48 -08:00
Claes Redestad
cf871d92f9 8175079: Lazy initialization of ImageReader breaks rmid
Reviewed-by: alanb
2017-02-16 17:28:50 +01:00
Claes Redestad
e17bdd6c77 8174831: Reduce number of Charset classes loaded on bootstrap
Reviewed-by: alanb
2017-02-13 20:32:06 +01:00
Dan Smith
bf8ad52b22 8174399: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-13 10:47:15 -07: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
Dan Smith
1606e8a7b0 8174226: Test failures after JDK-8033076
Reverting JDK-8033076 for now

Reviewed-by: darcy
2017-02-08 17:28:15 -07:00
Dan Smith
25179076dc 8033076: LambdaMetafactory should use types in implMethod.type()
Reviewed-by: psandoz
2017-02-08 14:23:59 -07: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
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
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +01: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
Paul Sandoz
6b84b1d30a 8160710: Enable Thread to grant VarHandle field access to ThreadLocalRandom/Striped64
Reviewed-by: martin, dl, chegar
2017-01-19 09:27:24 -08:00
Claes Redestad
ced9c19693 8172905: Minor startup cleanup of CallSite and MethodType
Reviewed-by: psandoz, jrose
2017-01-19 13:37:05 +01:00
Claes Redestad
ea8d3e109a 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:27:03 +01:00
Claes Redestad
85b40fde0b 8037325: Class.getConstructor() performance regression
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Reviewed-by: mchung
2017-01-18 10:24:47 +01:00
Jesper Wilhelmsson
4408cd9a08 Merge 2017-01-16 16:18:04 +01:00
Harold Seigel
a3946e30e3 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 10:45:53 -05:00
Joe Darcy
0d958d9da8 8172475: Remove <tt></tt> usage from Class and ClassLoader
Reviewed-by: bpb, mchung
2017-01-09 21:40:10 -08: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
Claes Redestad
f26cc2ffd9 8171400: Move checking of duplicate packages in the boot layer to link time
Reviewed-by: alanb
2016-12-19 21:38:46 +01: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
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