Alan Bateman
db4d383614
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Chris Hegarty
bd69ca08d2
8151384: Improve String.CASE_INSENSITIVE_ORDER and remove sun.misc.ASCIICaseInsensitiveComparator
...
Reviewed-by: shade, sherman
2016-03-08 12:11:07 +00:00
Mikael Vidstedt
2255be0267
8149596: Remove java.nio.Bits copy wrapper methods
...
Reviewed-by: bpb, chegar, psandoz
2016-03-02 13:21:20 -08:00
Daniel D. Daugherty
4d0a1d0222
Merge
2016-02-16 12:09:11 -08:00
Mikael Vidstedt
7f395c26ab
8141491: Unaligned memory access in Bits.c
...
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory
Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:41 -08:00
Brian Burkhalter
0d7421752a
8064466: (fs spec) Files.readAttributes(Path, String, LinkOption...) not clear when called with zero attributes
...
Change specification to indicate "one or more" instead of "zero or more" attributes.
Reviewed-by: alanb
2016-02-08 10:46:42 -08:00
Brian Burkhalter
0ee02dbd71
8148821: (fs) Path.getParent() javadoc error
...
Change "If this path has one or more elements" to "If this path has more than one element."
Reviewed-by: rriggs, alanb
2016-02-03 13:34:19 -08:00
Chris Hegarty
5765b5b4f0
8148117: Move sun.misc.Cleaner to jdk.internal.ref
...
Reviewed-by: alanb, rriggs
2016-02-02 08:59:52 +00:00
Brian Burkhalter
7b678f7571
8148121: Typo in API , FileOwnerAttributeView.getOwner() and FileOwnerAttributeView.setOwner()
...
"It it" -> "It is"
Reviewed-by: sherman
2016-01-26 15:30:42 -08:00
Iris Clark
9d07dc02e1
8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
...
Reviewed-by: alanb, chegar, lancea, prr
2016-01-20 11:02:36 -08:00
Chris Hegarty
aa0ef2e9f5
8145544: Move sun.misc.VM to jdk.internal.misc
...
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Claes Redestad
5f1918e76e
8145680: Remove unnecessary explicit initialization of volatile variables in java.base
...
Reviewed-by: alanb, chegar, jfranck, shade
2015-12-21 20:54:00 +01:00
Roger Riggs
e15eefc7d7
8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
...
And some usages of replacing expr != null ? expr : otherexpr
Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Chris Hegarty
bdbc4d15df
8140606: Update library code to use internal Unsafe
...
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 09:19:12 +00:00
Nils Eliasson
aa89658abd
Merge
2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
a18ce1f7d5
Merge
2015-10-30 00:02:35 +01:00
Chris Hegarty
961f5bb19f
8139891: Prepare Unsafe for true encapsulation
...
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:19:55 +00:00
Chris Hegarty
0cc24c29ca
8137056: Move SharedSecrets and interface friends out of sun.misc
...
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Martin Buchholz
a2f0fe3c94
8136583: Core libraries should use blessed modifier order
...
Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Alexander Stepanov
3ff6e41288
8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
...
Minor docs cleanup (jdk part)
Reviewed-by: lancea
2015-08-18 18:04:17 +03:00
Alexander Stepanov
6b4c935035
8133459: replace <tt> tags (obsolete in html5) in java.nio docs
...
Reviewed-by: lancea
2015-08-13 12:40:07 +03:00
Brian Burkhalter
5924c95500
8132539: (fs) Files.lines(path).collect() returns wrong value in JDK 9 with certain files
...
Do not use the Spliterator approach for lines() if the FileChannel size is thought to be zero.
Reviewed-by: chegar
2015-08-12 07:55:24 -07:00
Brian Burkhalter
aabba04bda
8132497: (fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider
...
Handle UOEs in newFileSystem(URI,...) similarly to as done in newFileSystem(Path path, ClassLoader loader).
Reviewed-by: chegar
2015-08-10 10:50:24 -07:00
Brian Burkhalter
40bfc0c51b
8130891: (bf) More direct buffering
...
Improve non-byte direct buffering.
Reviewed-by: alanb, jeff, ahgross, robm, rriggs
2015-08-06 10:13:46 -07:00
Brian Burkhalter
7cd090f230
8065556: (bf) Buffer.position and other methods should include detail in IAE
...
Add messages to IAEs which have none.
Reviewed-by: alanb
2015-07-24 11:52:30 -07:00
Brian Burkhalter
0ee4830a94
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
...
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.
Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
Zoltan Majo
94d36649af
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
...
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.
Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Paul Sandoz
f219ffb2f2
8072773: (fs) Files.lines needs a better splitting implementation for stream source
...
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
Xueming Shen
91868186b0
8038310: Re-examine integration of extended Charsets
...
To use ServiceLoader to load the extended charsets
Reviewed-by: alanb, mchung
2015-05-28 10:00:51 -07:00
Joe Darcy
0de6f9f413
8080901: Replace package.html files with package-info.java in the java.base module
...
Reviewed-by: lancea, alanb, vinnie
2015-05-22 10:45:59 -07:00
Andrew Haley
b7dca6971d
8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
...
NextPutIndex used where nextGetIndex is correct.
Reviewed-by: alanb
2015-05-11 15:09:22 +01:00
Brian Burkhalter
c0d7208b4b
8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
...
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().
Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Alejandro Murillo
c185e9a5bf
Merge
2015-05-01 03:56:04 -07:00
Brian Burkhalter
d44ef60eb0
8024086: (fs) AtomicMoveNotSupportedException allows reason to be null
...
Modify javadoc specification of 'reason' parameter to allow null
Reviewed-by: alanb
2015-04-28 10:12:15 -07:00
Joe Darcy
d112215fc2
8078467: Update core libraries to use diamond with anonymous classes
...
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Andrew Haley
252f04c7fd
8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
...
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.
Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:30:52 -07:00
Ivan Gerasimov
b035ca7348
8073692: (cs) Inconsistent docs for CharsetDecoder.replaceWith and CharsetEncoder.replaceWith
...
Reviewed-by: martin
2015-03-06 13:30:49 +03:00
Stuart Marks
d01c5811df
8073923: Files.lines() documentation needs clarification
...
Reviewed-by: darcy, alanb
2015-03-04 13:22:45 -08:00
Brian Burkhalter
2b1139db7c
8073207: javadoc typos in java.nio.channels.Pipe
...
Correct the verbiage as suggested.
Reviewed-by: alanb
2015-02-17 09:18:27 -08:00
Brian Burkhalter
2a8d5c46e1
6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
...
Throw IllegalArgumentException if the channel parameter is null
Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Amy Lu
1059b1665d
8069262: Doclint regression in java.nio.channels.Channels
...
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Brian Burkhalter
0062f27c96
8030090: (fs) Add default methods to Path for derived methods
...
Use method bodies from sun.nio.fs.AbstractPath as default method implementations in Path.
Reviewed-by: alanb
2014-12-23 10:09:52 -08:00
Pavel Rappo
421fc583be
8066678: java.nio.channels.Channels cleanup
...
Reviewed-by: alanb, chegar
2014-12-05 15:35:15 +00:00
Chris Hegarty
43842f6349
Merge
2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Alan Bateman
14ee089287
8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component
...
Reviewed-by: dfuchs
2014-12-01 13:44:57 +00:00
Alan Bateman
f0b198804a
8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
...
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE
Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Alan Bateman
3469175a63
8065720: (ch) AbstractInterruptibleChannel.end sets interrupted to null
...
Reviewed-by: psandoz, chegar
2014-11-24 18:11:25 +00:00
Alan Bateman
5598ed0cf0
8062632: (fs spec) Package description could be clearer on the cases where NPE is thrown
...
8062553: (fs spec) Files.write and newBufferedWriter methods missing @throws IAE
Reviewed-by: dfuchs
2014-11-03 15:33:11 +00:00
Richard Warburton
a065473cfc
4774077: Use covariant return types in the NIO buffer hierarchy
...
Reviewed-by: psandoz, alanb, mr, darcy
2014-10-29 14:10:34 +01:00