81 Commits

Author SHA1 Message Date
Jonathan Gibbons
d2b3d30d6a 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:48:54 -07: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
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
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
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
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
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
Claes Redestad
e17bdd6c77 8174831: Reduce number of Charset classes loaded on bootstrap
Reviewed-by: alanb
2017-02-13 20:32:06 +01:00
Brian Burkhalter
ce3243b0a6 8056205: (fs) Potential for NPE in Files.walkFileTree if closing directory fails
Change incorrect ioe != null to ioe == null

Reviewed-by: rriggs
2016-12-21 11:54:42 -08:00
Ivan Gerasimov
4541ef3ed7 8168923: Use unsigned random long in a temp directory name
Reviewed-by: bpb, alanb
2016-11-02 18:45:14 +03:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -04:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Ivan Gerasimov
4809e92cec 8163180: Typos around @code javadoc tag usage
Reviewed-by: dfuchs
2016-08-04 16:05:37 +03:00
Paul Sandoz
8dc58ab506 8162458: Buffer view implementations use incorrect offset for Unsafe access
Reviewed-by: alanb
2016-07-29 10:18:47 +02:00
Alejandro Murillo
f9685d533c Merge 2016-07-21 20:09:20 -07:00
Brian Burkhalter
9d9145a699 8161455: Missing word in API documentation
Change "file has created" to "file has been created" in two places.

Reviewed-by: rriggs, alanb
2016-07-15 13:23:02 -07:00
Paul Sandoz
2446e48a5f 8151163: All Buffer implementations should leverage Unsafe unaligned accessors
Reviewed-by: shade, aph
2016-07-15 12:36:15 +02:00
Chris Hegarty
34f5b60b4a 8157166: Update spec to account for platforms that do not support multicast
Reviewed-by: alanb
2016-06-22 09:21:06 +01:00
Pavel Rappo
baf59c0bd8 8150785: (bf) Hoist slice and duplicate methods up to java.nio.Buffer
Reviewed-by: alanb, rriggs, chegar
2016-05-16 15:10:04 +01:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Claes Redestad
e8cd76568d 8155775: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
2016-05-03 15:50:54 +02:00
Claes Redestad
2b5207e74d 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs, chegar, weijun
2016-04-21 13:39:53 +02:00
Alan Bateman
33a3b1cdf0 8154077: (fs) Reduce number of file system classes loaded during startup
Reviewed-by: bpb, chegar
2016-04-13 14:29:25 +01:00
Zoltan Majo
c8858ca3b6 Merge 2016-03-24 16:21:19 +01:00
Paul Sandoz
4485394e3d 8149469: ByteBuffer API and implementation enhancements for VarHandles
Reviewed-by: chegar, alanb
2016-03-24 11:21:18 +01:00
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