1256 Commits

Author SHA1 Message Date
Dean Long
73551c45ef 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:37:33 -04:00
Roger Riggs
19215787f8 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:18:22 -04:00
Weijun Wang
54b221f867 8177969: Faster FilePermission::implies by avoiding the use of Path::relativize
Reviewed-by: rriggs, mullan
2017-04-11 10:12:27 +08:00
Stuart Marks
80eb904ede 8173152: Wrong wording in Comparator.compare() method spec
Reviewed-by: bpb
2017-04-07 15:41:07 -07:00
Alan Bateman
edcaebfcce Merge 2017-04-07 10:53:42 +01:00
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
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
Mandy Chung
c7743f7698 8177980: ResourceBundle.getBundle throws NoClassDefFoundError when fails to define a class
Reviewed-by: naoto, lancea
2017-04-05 10:55:31 -07: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
Brian Burkhalter
1fb49ba49f 8177526: BufferedReader readLine() javadoc does not match the implementation regarding EOF
Improve the verbiage of the method and return value descriptions

Reviewed-by: lancea, smarks
2017-04-03 16:40:49 -07:00
Stuart Marks
8e3c3cf9ef 8177653: clarify restrictions on Iterator.forEachRemaining
Reviewed-by: martin
2017-03-31 14:21:21 -07:00
Stuart Marks
c3e64cb01c 8155052: add notes and links to j.u.Observer/Observable deprecation comments
Reviewed-by: chegar
2017-03-30 11:26:31 -07:00
Kumar Srinivasan
a2173b8f39 8174148: Typo in java.util.jar.Pack200.Unpacker.properties() method documentation
8173871: Typos in Jar Packer/Unpacker PROGRESS field documentation

Reviewed-by: bpb, darcy
2017-03-29 10:50:45 -07: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
Joe Darcy
c6c3ed52eb 8177678: Overstatement of universality of Era.getDisplayName() implementation
Reviewed-by: naoto
2017-03-27 18:38:58 -07: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
Martin Buchholz
7ed4cc4eb1 8176886: Remove stray @deprecated in Date#getDate
Reviewed-by: naoto
2017-03-16 13:10:43 -07: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
Stuart Marks
62c773700e 8066640: clarify security checks in ObjectInputStream.enableResolveObject and ObjectOutputStream.enableReplaceObject
Reviewed-by: chegar, darcy
2017-03-15 17:17:16 -07:00
Bradford Wetmore
f3f6591947 8176793: SecureRandom FIPS 140-2, Security Requirements for Cryptographic Modules link 404
Reviewed-by: mullan
2017-03-15 12:58:11 -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
Doug Lea
2accd8450e 8176303: Flow.Subscription.request(0) should be treated as an error
Reviewed-by: martin, chegar
2017-03-10 08:59:14 -08:00
Xueming Shen
f739e1fd5e 8176029: Linebreak matcher is not equivalent to the pattern as stated in javadoc
Reviewed-by: rriggs
2017-03-09 12:39:34 -08: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
Mark Sheppard
30790d8352 8175325: NetworkInterface.getInterfaceAddresses throws NPE when no addresses
Reviewed-by: chegar, martin
2017-03-07 22:35:45 +00:00
Doug Lea
7849c13436 8176155: SubmissionPublisher closeExceptionally() may override close()
Reviewed-by: martin, psandoz
2017-03-07 10:06:39 -08:00
Doug Lea
c6202f9387 8173909: Miscellaneous changes imported from jsr166 CVS 2017-03
Reviewed-by: martin, psandoz
2017-03-03 10:45:38 -08:00
Claes Redestad
91c9c8ef9d 8176041: Optimize handling of comment lines in Properties$LineReader.readLine
Reviewed-by: shade, sherman, psandoz
2017-03-02 16:18:18 +01:00
Claes Redestad
3f32f64ee8 8175385: ServiceLoader$LazyClassPathLookupIterator scans boot and platform modules for services
Reviewed-by: alanb, mchung
2017-02-28 12:24:29 +01:00
Paul Sandoz
ee9cc8cd7e 8175360: Error in Collectors.averagingXXX Java Doc
Reviewed-by: shade
2017-02-23 13:09:54 -08:00
Claes Redestad
cf871d92f9 8175079: Lazy initialization of ImageReader breaks rmid
Reviewed-by: alanb
2017-02-16 17:28:50 +01:00
Weijun Wang
5ff0126d19 8168410: Multiple JCK tests are failing due to SecurityException is not thrown
Reviewed-by: mullan
2017-02-15 21:46:50 +08:00
Volker Simonis
46cd380010 8174950: Gracefully handle null Supplier in Objects.requireNonNull
Reviewed-by: dholmes, psandoz, alanb, chegar
2017-02-15 09:10:24 +01:00
Weijun Wang
cb48e2096d 8174909: Doc error in SecureRandom
Reviewed-by: mullan
2017-02-15 09:08:25 +08:00
Paul Sandoz
50a683ef67 8174151: URLClassLoader no longer uses custom URLStreamHandler for jar URLs
Reviewed-by: alanb, chegar
2017-02-14 14:29:58 -08:00
Abjihit Roy
7eb64c498d 8173094: Error in API documentation for SwingWorker
8173751: Syntax error in ZipFile.getComment() method
8173752: Syntax error in ZipEntry.setCompressedSize(long) method documentation
8173755: FilterOutputStream.write(byte[],int,int) javadoc correction
8173802: Incorrect argument name in java.io.FilterInputStream.read(byte[]) method documentation

Reviewed-by: coffeys, chegar
2017-02-14 10:49:43 +00: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