190 Commits

Author SHA1 Message Date
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
Ivan Gerasimov
051dfe9fb4 8207060: Memory leak when malloc fails within WITH_UNICODE_STRING block
Reviewed-by: vtewari, rriggs
2018-07-12 11:18:01 -07:00
Ivan Gerasimov
78f3c8a7d4 8207145: (fs) Native memory leak in WindowsNativeDispatcher.LookupPrivilegeValue0
Reviewed-by: alanb
2018-07-12 06:04:57 -07:00
Ivan Gerasimov
8774d70044 8204310: Simpler RandomAccessFile.setLength() on Windows
Reviewed-by: alanb
2018-06-29 17:35:04 -07:00
Xueming Shen
4029057547 8200243: System error message is decoded as invalid encoding in Windows
Reviewed-by: alanb
2018-06-27 09:45:18 -07:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Matthias Baesken
7628589694 8205342: windows : potential memleaks in getAdapter(s) in NetworkInterface_winXP.c
Reviewed-by: alanb, igerasim, stuefe
2018-06-26 09:17:53 +02:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Matthias Baesken
b0c5afb037 8205416: windows: fix checking of CloseHandle return code in Java_java_io_FileCleanable_cleanupClose0
Reviewed-by: alanb, stuefe
2018-06-20 14:25:45 +02:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Thomas Stuefe
4d84004591 8204663: clean up remaining native parts after JDK-8187631
Reviewed-by: rriggs, psandoz
2018-06-13 20:11:18 +02:00
Matthias Baesken
48966d03e8 8204539: improve error messages in matchJavaTZ [windows]
Reviewed-by: coffeys, clanger, goetz
2018-06-08 13:06:08 +02:00
Jonathan Gibbons
fe24730ed9 8201274: Launch Single-File Source-Code Programs
Reviewed-by: mcimadamore, jlahoda, ksrini, mchung, ihse, alanb
2018-06-07 16:06:49 -07:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00
Jan Lahoda
f7afa8ff53 8202105: Console echo is disabled when exiting jshell
Preserving original terminal echo state when Console.readPassword finishes.

Reviewed-by: sherman, martin
2018-04-30 15:03:08 +02:00
Alan Bateman
2df7aa7b9f 8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00