1287 Commits

Author SHA1 Message Date
Brian Burkhalter
0f5b1f5cf8 8180353: FileOutputStream documentation does not indicate properly whether files get truncated or not
Update documentation of FileOutputStream(String)

Reviewed-by: chegar, dfuchs
2017-05-23 11:47:52 -07:00
Daniel Fuchs
b518bb5bcd 8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730
Reviewed-by: dholmes, scolebourne
2017-05-23 11:33:01 +01:00
Brian Burkhalter
374e7bae7a 7086489: File.lastModified should accuracy as well as resolution
Add an @apiNote indicating that the last-modified time might be of coarser than millisecond granularity.

Reviewed-by: smarks
2017-05-17 14:29:26 -07:00
Stuart Marks
44bdf50a3a 8180137: fix broken link in java.lang.Iterable
Reviewed-by: rriggs
2017-05-12 14:52:26 -07:00
Ron Pressler
999aabdd77 8180075: Javadoc of MethodHandles.Lookup::bind should note the difference from MethodHandle::bindTo
Reviewed-by: psandoz
2017-05-12 13:43:06 -07:00
Roger Riggs
48dc9fb500 8180082: Broken javadoc links
Reviewed-by: mchung, bpb, chegar, ihse
2017-05-12 15:15:43 -04:00
Doug Lea
810e80970a 8179515: Class java.util.concurrent.ThreadLocalRandom fails to Initialize when using SecurityManager
Break connection to security framework by using VM.getSavedProperty to read the proeprty.

Reviewed-by: dholmes, martin, redestad, psandoz, mchung
2017-05-11 19:34:59 -04:00
Jonathan Gibbons
b05e3d5acf 8179592: Update tables in java.base to be HTML 5-friendly
Reviewed-by: mchung, darcy, martin
2017-05-11 10:48:00 -07:00
Stuart Marks
56a26d4865 8180128: small errors in String javadoc
Reviewed-by: lancea
2017-05-10 15:59:15 -07:00
Magnus Ihse Bursie
e52af5f5b3 8178278: Move Standard Algorithm Names document to specs directory
Reviewed-by: erikj, wetmore, mullan
2017-05-10 09:02:43 +02:00
Ron Pressler
30c35f5e34 8177153: LambdaMetafactory has default constructor
Reviewed-by: psandoz
2017-05-09 15:04:46 -07:00
Brian Burkhalter
b1572c1a3d 8179662: OutputStreamWriter javadocs states that you can set the buffer size but there is no way to do that
Change specification verbiage to match longstanding behavior

Reviewed-by: briangoetz, chegar, lancea, rriggs
2017-05-09 07:40:20 -07:00
Mandy Chung
429e4ac085 8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz
2017-05-08 21:21:39 -07:00
Alan Bateman
853c626781 Merge 2017-05-04 09:43:09 +01:00
Alan Bateman
4c0e26e374 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: mchung, alanb, sspitsyn
2017-05-04 07:26:55 +00:00
Mark Sheppard
ea8aed80d3 8179512: Typo in HttpURLConnection documentation
Reviewed-by: chegar
2017-05-02 15:50:46 +01:00
Paul Sandoz
0bd3951f5a 8167229: Improve VarHandle documentation
Reviewed-by: martin, abuckley
2017-05-01 11:16:01 -07:00
Ron Pressler
b8116f74c0 8177146: MethodHandles.Lookup::bind allows illegal protected access
Reviewed-by: psandoz, vlivanov, redestad
2017-05-01 10:43:40 -07:00
Stuart Marks
cb05e8ea85 8150488: Scanner.findAll() can return infinite stream if regex matches zero chars
Reviewed-by: sherman
2017-04-28 12:16:30 -07:00
Jonathan Gibbons
7f3d5dc40b 8179413: Fix remaining minor HTML5 issues in java.base module
Reviewed-by: darcy, lancea
2017-04-27 17:43:13 -07:00
Jonathan Gibbons
bd1ab99c87 8179370: Replace use of <tt>, <center> and <font> tags in java.base
Reviewed-by: darcy, alanb, mchung
2017-04-27 09:47:40 -07:00
Jonathan Gibbons
2c7e41e237 8179367: update use of align, valign attributes in java.base to use style attribute
Reviewed-by: martin, mchung
2017-04-26 16:05:55 -07:00
Jonathan Gibbons
1838d55322 8179364: update "<a name=" in java.base module to use id attribute
Reviewed-by: darcy
2017-04-26 13:38:21 -07:00
Pavel Rappo
83ca4d9575 8177738: Runtime.Version must be a value-based class
8148822: (spec) Regex in Runtime.Version and JEP 223 should match
8160954: (spec) Runtime.Version regex and $PRE/$OPT issues
8148877: (spec) Specify when an empty '+' is required in a version string

Co-authored-by: Iris Clark <iris.clark@oracle.com>
Reviewed-by: psandoz, rriggs
2017-04-21 19:13:47 +01:00
Naoto Sato
e4e2e277fc 8178823: Unable to initialize HijrahCalendar: Hijrah-umalqura when running with a security manager
Reviewed-by: lancea, rriggs
2017-04-20 14:09:35 -07:00
Stuart Marks
d87636bed7 8167981: Optional: add notes explaining intended use
Reviewed-by: martin, psandoz
2017-04-20 11:40:57 -07:00
Sean Mullan
2cef018734 8038893: Recertify certificate matching
Reviewed-by: xuelei, jdn, erikj, asmotrak
2017-03-20 07:38:52 -04:00
Roger Riggs
48795d4f02 8172299: Improve class processing
Reviewed-by: coffeys, chegar, ahgross, skoivu, rhalade
2017-02-03 14:10:33 -05:00
Kim Barrett
fb766e49dd 8178832: (ref) jdk.lang.ref.disableClearBeforeEnqueue property is ignored
Delay property access to first use, and fix test.

Reviewed-by: mchung
2017-04-19 00:29:26 -04:00
Stuart Marks
cd15d32a74 8177789: fix collections framework links to point to java.util package doc
Reviewed-by: bchristi, martin
2017-04-17 15:51:05 -07:00
Joe Darcy
d4bc626eb3 8177682: Suppress removal warning for System.runFinalizersOnExit
Reviewed-by: mchung, smarks
2017-04-13 11:08:52 -07:00
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