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
Claes Redestad
10cd607753
6823565: Excessive use of HandleList class in de-serialization code causes OutOfMemory
...
Reviewed-by: chegar, shade
2015-10-28 12:35:54 +01:00
Chris Hegarty
9ce7c19d86
8135043: ObjectStreamClass.getField(String) too restrictive
...
Reviewed-by: igerasim
2015-09-08 12:40:57 +01:00
Chris Hegarty
391696a6f8
8130253: ObjectStreamClass.getFields too restrictive
...
Reviewed-by: igerasim, skoivu
2015-07-03 14:40:49 +01:00
Chris Hegarty
6279b4ab74
8103671: More objective stream classes
...
Reviewed-by: rriggs, igerasim
2015-06-29 11:44:53 +01: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
321faa7346
8132468: docs: replace <tt> tags (obsolete in html5) for java.io, java.lang, java.math
...
Reviewed-by: lancea, dfuchs, smarks
2015-08-06 13:20:13 +03:00
Chris Hegarty
6716f24c45
8076405: Improve serial serialization
...
Reviewed-by: alanb, igerasim
2015-04-17 15:36:32 +01:00
Chris Hegarty
4799f0adcd
8076401: Serialize OIS data
...
Reviewed-by: alanb, igerasim
2015-04-17 15:28:44 +01:00
Ivan Gerasimov
0e510a1f61
8077242: (str) Optimize AbstractStringBuilder.append(CharSequence, int, int) for String argument
...
Reviewed-by: martin
2015-07-02 00:26:35 +03:00
Peter Levart
24d0d5af7c
8042377: BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
...
Explcitly handle IOExceptions in FilteredOutputStream.close() instead of using try-with-resources approach.
Reviewed-by: chegar, alanb
2015-06-29 08:39:29 -07:00
Sean Mullan
e37ef5fefc
8056179: Store permissions in concurrent collections in PermissionCollection subclasses
...
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class
Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Alexander Stepanov
2541238e18
8081517: minor cleanup for docs
...
Fix some tidy and javadoc warnings/errors
Reviewed-by: lancea, rriggs
2015-06-08 16:37:53 +04:00
Chris Hegarty
46b53cd5cf
8080835: Add blocking bulk read to java.io.InputStream
...
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Chris Hegarty
e11aec59a2
8071474: Better failure atomicity for default read object
...
Reviewed-by: plevart, coffeys
2015-06-03 15:30:44 +01: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
Pavel Rappo
431c16c78d
8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
...
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01: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
Pavel Rappo
39b55b3d5a
8075959: Change parameter names in some IOException subclasses
...
Reviewed-by: rriggs
2015-03-25 15:42:41 +00:00
Brian Burkhalter
7d1b3d7277
8075222: RandomAccessFile.getChannel changed to non-final in error
...
Reinstate 'final' RandomAccessFile.getChannel() declaration.
Reviewed-by: alanb
2015-03-16 13:49:00 -07:00
Chris Hegarty
dc378de91b
8074022: Serialization should issue a freeze action after reconstituting a graph that contains objects with final fields
...
Reviewed-by: dholmes, plevart, psandoz
2015-02-27 11:45:07 +00:00
Shaun Spiller
9807a1372d
8064562: (doc) errors in java.io.PushbackInputStream API documentation
...
Update the documentation as suggested to reflect reality.
Reviewed-by: lancea, rriggs
2015-02-11 07:40:43 -08:00
Claes Redestad
3a90ffa2ab
8068498: Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
...
Reviewed-by: alanb, sherman
2015-01-06 06:49:52 +01:00
Chris Hegarty
916c818ec2
8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
...
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Pavel Rappo
69df2fa9e5
8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
...
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Pavel Rappo
a21f0f99a9
8066867: Add InputStream transferTo to transfer content to an OutputStream
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Patrick Reinhart <patrick@reini.net>
Reviewed-by: chegar
2014-12-16 12:43:36 +00:00
Brian Burkhalter
871abc48e4
8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
...
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.
Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Ivan Gerasimov
b051027d6f
8023173: FileDescriptor should respect append flag
...
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Ivan Gerasimov
e164c8603b
8054714: Use StringJoiner where it makes the code cleaner
...
Reviewed-by: psandoz, redestad
2014-08-27 22:08:19 +04:00
Martin Buchholz
619ef479f3
8055949: ByteArrayOutputStream capacity should be maximal array size permitted by VM
...
Try to resize to "well-known" hotspot max array size first.
Reviewed-by: alanb, mduigou
2014-08-25 10:40:55 -07:00
Brian Burkhalter
0bbb54fff6
8054720: Modifications of I/O methods for instrumentation purposes
...
Wrap some native methods in Java methods.
Reviewed-by: rriggs
2014-08-20 11:30:13 -07:00
Chris Hegarty
3bc69d393d
8054834: Modular Source Code
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@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>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00