190 Commits

Author SHA1 Message Date
Ivan Gerasimov
408c972077 8202154: Remove unused code in java.base/windows/native/libnet
Reviewed-by: vtewari, clanger
2018-04-25 18:30:38 -07:00
Ivan Gerasimov
3a7104760a 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
Vyom Tewari
d5e9b33541 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
Ivan Gerasimov
3649ace8a0 8202091: Rename DualStackPlainSocketImpl to PlainSocketImpl [win]
Reviewed-by: clanger, chegar
2018-04-23 08:36:41 -07:00
Ivan Gerasimov
9303a8a180 8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
Reviewed-by: chegar
2018-04-19 09:36:06 -07:00
Xueming Shen
1775d925de 8194750: Console.readPassword does not save/restore tty settings
Reviewed-by: martin, alanb
2018-04-17 11:20:50 -07:00
Aleandr Miloslavskiy
d574c9e091 8194734: Handle to jimage file inherited into child processes (win)
Reviewed-by: alanb
2018-04-16 09:36:01 +01:00
Alexey Ivanov
79cee59a62 8199627: Use "Per-Monitor V2" High DPI awareness for Windows 10 v1703
Reviewed-by: serb, prr
2018-04-12 14:11:42 +01:00
Alan Bateman
97d7cfb14e 8200458: (se) Readiness information previously recorded in the ready set not preserved
Reviewed-by: bpb, chegar
2018-04-05 15:04:09 +01:00
Alan Bateman
d185d65b69 8200583: (se) Selector clean-up, part 4
Reviewed-by: bpb, chegar
2018-04-05 15:01:57 +01:00
Alan Bateman
34c94079ed 8200257: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-30 08:28:09 +01:00
Chris Hegarty
71a0d523dd 8200304: TwoStacksPlainDatagramSocketImpl and socket cleaner
Reviewed-by: alanb, dfuchs, rriggs
2018-03-29 20:12:02 +01:00
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02:00
Ivan Gerasimov
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Chris Hegarty
22af725681 8200181: Remove superflous non-IPv4 code from Java_java_net_TwoStacksPlainSocketImpl_socketListen
Reviewed-by: alanb
2018-03-23 21:39:54 +00:00
Brian Burkhalter
917c015610 8198997: Cache normalized/resolved user.dir property
Normalize cached user.dir property value in constructor (windows only)

Reviewed-by: alanb
2018-03-22 08:41:06 -07:00
Alan Bateman
fc927f60c3 8199329: Remove code that attempts to read bytes after connection reset reported
Reviewed-by: redestad, clanger, chegar
2018-03-15 11:02:22 +00:00
Alan Bateman
3a7f72200c 8199611: (se) Minor selector implementation clean-up
Reviewed-by: clanger, redestad, bpb
2018-03-15 10:47:58 +00:00
Roger Riggs
d4941f14af 8199470: Remove unused property file.encoding.pkg
Reviewed-by: bpb, sherman
2018-03-13 12:46:01 -04:00
Alan Bateman
889a041f22 8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Brian Burkhalter
1deb2a7bd5 8198302: VS2017 (C4477) java.base/windows/native/libnet/NetworkInterface_winXP.c incorrect printf format strings
Cast to expected data type

Reviewed-by: chegar, clanger, rriggs
2018-03-06 10:51:26 -08:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08:00
Ivan Gerasimov
b5c20a6e1c 8058965: Remove IPv6 support from TwoStacksPlainSocketImpl [win]
Reviewed-by: chegar
2018-02-18 17:06:20 -08:00
Brian Burkhalter
f74677e37e 8144672: (ch) PipeImpl should use localhost instead of loopback address
Reviewed-by: alanb, clanger
2018-02-14 08:15:07 -08:00
Gary Adams
40f004ad8c 8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Reviewed-by: erikj, clanger, chegar
2018-02-08 09:24:44 -05:00
Alan Bateman
8deac7d09b 8196787: (ch) Moving network channels to use j.u.c locks
Reviewed-by: prappo, rriggs
2018-02-06 16:04:46 +00:00
Roger Riggs
0b8689b331 8195059: Update java.net Socket and DatagramSocket implementations to use Cleaner
Reviewed-by: chegar, plevart
2018-02-02 14:17:07 -05:00
Jesper Wilhelmsson
e81038299e Merge 2017-12-08 23:43:25 +01:00
Brian Burkhalter
ec54b10f21 8170495: JNI primitive type mismatch in SocketDispatcher.c:187
Cast DWORD 'written' to a jint before adding to 'count'

Reviewed-by: alanb, rriggs
2017-12-12 15:43:48 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Magnus Ihse Bursie
a06ef68dcf 8190484: Move jvm.h, jmm.h et al to hotspot/*/include
Reviewed-by: dholmes, erikj, mchung
2017-12-04 23:55:52 +01:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Goetz Lindenmaier
f3bad9d19b 8188855: Fix VS10 build after "8187658: Bigger buffer for GetAdaptersAddresses"
Reviewed-by: vtewari, simonis
2017-10-06 08:37:08 +02:00
Ivan Gerasimov
4560687884 8187658: Bigger buffer for GetAdaptersAddresses
Reviewed-by: rriggs, vtewari
2017-10-03 23:42:08 -07:00
Goetz Lindenmaier
a0218352fc 8188135: Fix VS 2010 build after "8187631: Refactor FileDescriptor close implementation"
Reviewed-by: dholmes, alanb
2017-09-29 10:00:58 +02:00
Roger Riggs
5e55e5e2ee 8187631: Refactor FileDescriptor close implementation
Reviewed-by: bpb, alanb
2017-09-21 11:41:12 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00