32 Commits

Author SHA1 Message Date
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Ivan Gerasimov
af3db6d31a 8067748: (process) Child is terminated when parent's console is closed [win]
Reviewed-by: alanb
2015-01-23 13:57:02 +03:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Joe Darcy
1144804378 8068948: Update java.base module to use new try-with-resources statement
Reviewed-by: alanb, igerasim
2015-01-14 16:44:59 -08:00
Mark Sheppard
d2bbef8dc7 8068597: Add error code to to exception condition message resulting from GetAdaptersAddresses function calls
Added error code to exception message thrown after a GetAdaptersAddresses call.

Reviewed-by: chegar
2015-01-08 20:00:14 +00:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +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
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
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Neil Toda
918fac5a52 8058407: Remove Multiple JRE support in the Java launcher
Reviewed-by: alanb, darcy, ksrini
2014-11-10 08:43:27 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +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
Roger Riggs
53906a2cb4 8064932: java/lang/ProcessBuilder/Basic.java: waitFor didn't take long enough
Reviewed-by: dholmes, martin
2014-11-19 21:22:22 -05:00
Mark Sheppard
e98e33a745 8037909: JNI warnings in jdk/src/windows/native/java/nio/MappedByteBuffer.c
Added CHECK_NULL after JNI GetFieldID native call

Reviewed-by: alanb, chegar
2014-11-11 01:12:56 +00:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Alejandro Murillo
f0c02512ea Merge 2014-10-21 13:56:58 -07:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Frederic Parain
fee63b862f 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:48:12 -07:00
Ivan Gerasimov
5d6a7146ba 8058099: (fc) Cleanup in FileChannel/FileDispatcher native implementation [win]
Reviewed-by: alanb
2014-09-25 00:19:11 +04:00
Michael McMahon
01ea2212b1 8053963: (dc) Use DatagramChannel.receive() instead of read() in connect
Reviewed-by: alanb, chegar
2014-08-21 17:51:29 +01:00
Chris Hegarty
2daf96018c 8058216: NetworkInterface.getHardwareAddress can return zero length byte array when run with preferIPv4Stack
Reviewed-by: michaelm
2014-09-12 15:51:22 +01:00
Ivan Gerasimov
63af0e6c0d 7010989: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets
Reviewed-by: chegar
2014-09-09 19:02:36 +04:00
Alan Bateman
2689839d79 8029516: (fs) WatchKey cancel unreliable on Windows
Reviewed-by: chegar
2014-09-05 12:18:31 +01:00
Ivan Gerasimov
2f0e7c08db 8056310: Cleanup in WinNTFileSystem_md.c
Reviewed-by: alanb
2014-08-29 18:11:04 +04:00
Chris Hegarty
27d481fa82 8055955: (ch) Remove unnecessary initialization of InetAddress from FileChannel
Reviewed-by: alanb
2014-08-26 10:19:56 +01: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
Michael McMahon
be3dc19dae 8039509: Wrap sockets more thoroughly
Reviewed-by: chegar, alanb
2014-05-28 14:51:24 +01:00
Masayoshi Okutsu
b7065f7ee1 8060006: No Russian time zones mapping for Windows
Reviewed-by: peytoia, aefimov
2014-10-14 15:20:41 +09:00