107 Commits

Author SHA1 Message Date
Aleksey Shipilev
bf33260958 8221824: Build failure with MSVS 2013 after JDK-8218418
Reviewed-by: stuefe, alanb
2019-04-02 17:10:09 +02:00
Brian Burkhalter
07991d3f2d 8218418: (fs) Files.createSymbolicLink should use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (win)
Reviewed-by: alanb
2019-04-01 15:59:45 -07:00
Brian Burkhalter
b5e3a8220b 8221531: Incorrect copyright header in src/java.base/windows/native/libnio/ch/FileChannelImpl.c
Reviewed-by: lancea, bchristi
2019-03-27 13:00:57 -07:00
Thomas Stuefe
800a5cdef5 8221406: Windows 32bit build error in NetworkInterface_winXP.c
Reviewed-by: clanger
2019-03-26 15:46:15 +01:00
Christoph Langer
6ede0b6bb8 8221262: Cleanups in UnixFileSystem/WinNTFileSystem implementation classes
Reviewed-by: alanb, igerasim
2019-03-26 09:16:07 +01:00
Alan Bateman
3a4d5db248 8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Alan Bateman
c306e3f059 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Toshio Nakamura
aa5aa46fb0 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Adjusting to detect translated Unknown messages

Reviewed-by: naoto
2019-03-13 13:05:37 +09:00
Dmitry Chuyko
b818234d2a 8215009: GCC 8 compilation error in libjli
Reviewed-by: dholmes, mikael, rriggs
2019-02-27 13:13:15 +03:00
Matthias Baesken
38463aa959 8217093: Support extended-length paths in parse_manifest.c on windows
Reviewed-by: chegar, clanger
2019-01-28 16:42:23 +01:00
Alan Bateman
779991a9c8 8217500: (sc) Move SocketChannelImpl's remaining native methods to Net
Reviewed-by: bpb
2019-01-23 13:16:16 +00:00
Alan Bateman
755872aa82 8217461: (ch) Add Net.available to return the number of bytes in the socket input buffer
Reviewed-by: clanger, michaelm
2019-01-22 16:39:52 +00:00
Brian Burkhalter
5c5d27962a 8215467: Files.isHidden should return true for hidden directories on Windows
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08:00
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +01:00
Henry Jen
def1ac3acc Merge 2018-12-13 11:51:06 -08:00
Henry Jen
d77f96b0b2 Merge 2018-12-13 11:47:35 -08:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Prasanta Sadhukhan
b3eb4c3ce8 Merge 2018-12-11 10:47:37 +05:30
Phil Race
8895605e66 8212703: Remove sun.java2d.fontpath property from java launcher code
Reviewed-by: alanb, rriggs
2018-12-10 12:33:23 -08:00
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Phil Race
7fe615f9a7 8130264: change the mechanism by which JDK loads the platform-specific PrinterJob implementation
Reviewed-by: serb, rriggs
2018-11-30 10:55:59 -08:00
Roger Riggs
eefbe6709f 8216134: (process) ProcessBuilder startPipeline does not hide piped streams
Reviewed-by: lancea, bchristi, sgroeger
2019-01-07 09:29:31 -05:00
Andrew Luo
a057c3828c 8216067: Unused local vars in windows/native/libjava/io_util_md.c
Reviewed-by: rriggs
2019-01-04 11:03:53 -05:00
Martin Buchholz
7212bf0a77 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -08:00
Roger Riggs
48d68d182a 8214014: Remove vestiges of gopher: protocol proxy support
Reviewed-by: lancea, alanb
2018-11-28 16:04:36 -05:00
Vyom Tewari
19e69dc84f 8203672: JNI exception pending in PlainSocketImpl.c
8203264: JNI exception pending in PlainDatagramSocketImpl.c:740
8203673: JNI exception pending in DualStackPlainDatagramSocketImpl.c:398

Reviewed-by: chegar, igerasim
2018-11-23 13:16:45 +05:30
Vyom Tewari
4444bac1b1 8046500: GetIpAddrTable function failed on Pure Ipv6 environment
Reviewed-by: chegar
2018-11-22 13:25:44 +05:30
Michael McMahon
ef75339a1e 8209094: Improve web server connections
Reviewed-by: chegar, dfuchs, mschoene, igerasim
2018-10-05 08:54:10 +01:00
Chris Hegarty
d0b0c881ac 8199166: Better interface lists
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:35:44 +01:00
Brian Burkhalter
8f189f6214 8206301: Improve NIO stability
Reviewed-by: alanb, mschoene, rhalade
2018-07-19 07:02:42 -07:00
Matthias Baesken
e552242db6 8211106: [windows] Update OS detection code to recognize Windows Server 2019
Reviewed-by: alanb, clanger, bobv
2018-10-02 13:48:08 +02:00
Pavel Rappo
8c361a3e74 8213490: Networking area typos and inconsistencies cleanup
Reviewed-by: alanb, chegar, dfuchs
2018-11-13 12:24:34 +00:00
Roger Riggs
29e742273e 8185496: Improve performance of system properties initialization in initPhase1
8213424: VersionProps duplicate and skipped initialization

Reviewed-by: mchung, redestad, dholmes
2018-11-09 13:28:16 -05:00
Matthias Baesken
968f65c036 8213366: (fs) avoid handle leak in Java_sun_nio_fs_WindowsNativeDispatcher_FindFirstFile0
Reviewed-by: alanb, chegar
2018-11-07 09:13:37 +01:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Ivan Gerasimov
d686431d78 8204667: Resources not freed on exception
Reviewed-by: skoivu, chegar
2018-06-20 18:02:22 -07:00
Pavel Rappo
01a3fec4cb 8212001: Verify exported symbols in java.base (libjava)
Reviewed-by: chegar
2018-10-11 14:10:13 +01:00
Pavel Rappo
a9efcea778 8212000: Verify exported symbols in java.base (libnet, libnio/ch)
Reviewed-by: alanb, chegar
2018-10-10 14:13:32 +01:00
Matthias Baesken
f8d007dbf0 8211149: fix potential memleak in getJavaIDFromLangID after failing SetupI18nProps call [windows]
Reviewed-by: naoto, lucy
2018-09-27 15:37:55 +02:00
Ivan Gerasimov
27e26fbdd7 8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
2018-09-15 22:02:08 -07:00
Calvin Cheung
fcc414655b 8190737: use unicode version of the canonicalize() function to handle long path on windows
Also calling CreateFileW in zip_util.c to handle long path

Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00
Naoto Sato
009cd15a1b 8209167: Use CLDR's time zone mappings for Windows
Reviewed-by: erikj, rriggs, ihse
2018-09-13 13:41:17 -07:00
Matthias Baesken
149be4bad1 8210147: adjust some WSAGetLastError usages in windows network coding
Reviewed-by: clanger, stuefe
2018-08-29 10:11:51 +02:00
Matthias Baesken
3f4b55c4df 8209994: windows: Java_java_net_NetworkInterface_getAll misses releasing interface-list
Reviewed-by: bpb, chegar, simonis
2018-08-28 09:01:54 +02:00
Claes Redestad
5ddac96c10 8209837: Avoid initializing ExpiringCache during bootstrap
Reviewed-by: sundar, forax
2018-08-24 14:04:34 +02:00
Roger Riggs
63b1edb7b7 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
Reviewed-by: martin
2018-08-15 10:38:27 -04:00
Ivan Gerasimov
121c59eb6d 8207753: Handle to process snapshot is leaked if Process32First() fails
Reviewed-by: rriggs
2018-07-19 13:41:26 -07:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Ivan Gerasimov
b30fe07450 8207750: Native handle leak in java.io.WinNTFileSystem.list()
Reviewed-by: bpb
2018-07-17 17:17:16 -07:00
Ivan Gerasimov
bd236c55d0 8207016: Avoid redundant native memory allocation in getFinalPath()
Reviewed-by: alanb
2018-07-16 10:07:22 -07:00