Commit graph

324 commits

Author SHA1 Message Date
Patrick Zhang
a59e8a7f6f 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10
Reviewed-by: stuefe, clanger, rriggs
2020-02-04 21:27:10 +08:00
Claes Redestad
c639682887 8236075: Minor bootstrap improvements
Reviewed-by: mchung, alanb
2020-01-21 13:28:15 +01:00
Alan Bateman
d4c3278889 8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
Reviewed-by: dfuchs
2020-01-19 08:02:46 +00:00
Alan Bateman
6ef474a4f4 8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
Reviewed-by: redestad, dfuchs
2020-01-18 19:11:28 +00:00
Gustavo Romero
1691abc747 8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03:00
Alan Bateman
27e0cdf12d 8236184: (dc) IP_MULTICAST_* and IP_TOS socket options not effective
Reviewed-by: dfuchs
2019-12-19 08:36:40 +00:00
Christoph Langer
547e472c42 8234185: Cleanup usage of canonicalize function between libjava, hotspot and libinstrument
Reviewed-by: dholmes, alanb, sspitsyn
2019-12-06 14:13:10 +01:00
Alan Bateman
e7d68cd13b 8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Ivan Gerasimov
cd589d8469 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Alan Bateman
f3e90595aa 8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Matthias Baesken
673c732a33 8234821: remove unused functions from libjli
Reviewed-by: clanger, alanb
2019-11-28 13:02:39 +01:00
Patrick Concannon
55da7d34c9 8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.

Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Matthias Baesken
6eedae02a7 8234629: remove unused functions from libnet
Reviewed-by: alanb, vtewari
2019-11-22 10:29:12 +01:00
Matthias Baesken
70c5d41f28 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2019-11-18 16:49:39 +01:00
Patrick Concannon
e636c69e61 8234103: DatagramSocketImpl::socket is not needed
DatagramSocketImpl has a socket field that links back to the DatagramSocket. This is only used to figure out whether multicasting is supported or not. This fix replaces it with a boolean isMulticast.

Reviewed-by: alanb, chegar, dfuchs
2019-11-20 10:13:10 +00:00
Matthias Baesken
20a03807b8 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Alan Bateman
7e42642939 8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Alan Bateman
090dc51a4e 8233435: (dc) DatagramChannel should allow IPv6 socket join IPv4 multicast groups (macOS, win)
Reviewed-by: dfuchs
2019-11-09 11:48:37 +00:00
Brian Burkhalter
2cea148cdf 8162520: (fs) FileStore should support file stores with > Long.MAX_VALUE capacity
Reviewed-by: alanb, darcy, rriggs
2019-11-01 13:16:50 -07:00
Matthias Baesken
7256d38458 8232045: cleanup AIX 5.3 workarounds from libnio/ch/Net.c
Reviewed-by: alanb, clanger, chegar
2019-10-09 09:57:33 +02:00
Claes Redestad
f8f7cdcbe3 8231355: Remove unused utility methods in libjava
Reviewed-by: dholmes, jrose, alanb
2019-10-08 10:24:22 +02:00
Vladimir Kempik
67ad501e5b 8229872: (fs) Increase buffer size used with getmntent
Dynamically allocate memory for getmntent

Reviewed-by: alanb
2019-09-24 14:54:57 +03:00
Michael McMahon
aa5329e0d3 8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Matthias Baesken
e2ebf7b822 8231171: remove remaining sun.java.launcher.pid references
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Matthias Baesken
b9e177677c 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
2019-07-23 16:52:38 +02:00
Sean Coffey
b59950bc49 8231124: Missing closedir call with JDK-8223490
Reviewed-by: naoto
2019-09-17 16:39:56 +00:00
Sean Coffey
788b2414c1 8223490: Optimize search algorithm for determining default time zone
Reviewed-by: naoto, rriggs
2019-09-17 11:07:07 +00:00
Brian Burkhalter
c57ad7ffc0 8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
2019-09-13 16:03:31 -07:00
Matthias Baesken
af94e6e681 8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
Reviewed-by: dfuchs, stuefe, vtewari
2019-09-11 16:13:05 +02:00
Ivan Gerasimov
5c25e2a6fb 8211360: Change #if DEF to #if defined(DEF)
Reviewed-by: bpb, vtewari
2019-08-21 13:49:16 -07:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Brian Burkhalter
20ee82bf0a 8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Reviewed-by: alanb, lancea
2019-07-29 08:48:52 -07:00
Matthias Baesken
a573f6a6b5 8227737: avoid implicit-function-declaration on AIX
Reviewed-by: clanger, goetz
2019-07-16 16:01:10 +02:00
Claes Redestad
78a1c8ea0a 8227587: Add internal privileged System.loadLibrary
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Claes Redestad
7f1f9a50ae 8225239: Refactor NetworkInterface lookups
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Roger Riggs
339b71d427 8226242: Diagnostic output for posix_spawn failure
Reviewed-by: bpb, stuefe, dholmes, martin
2019-06-18 10:37:28 -04:00
Michael McMahon
247a6a2ce4 8216417: cleanup of IPv6 scope-id handling
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +01:00
Thomas Stuefe
d45aa9c1a9 8223777: In posix_spawn mode, failing to exec() jspawnhelper does not result in an error
Reviewed-by: rriggs, martin, fweimer
2019-06-05 09:12:45 +02:00
Thomas Stuefe
7fa6705cb3 8224181: On child process spawn, child may write to random file descriptor instead of the fail pipe
Reviewed-by: rriggs, martin
2019-06-05 08:59:17 +02:00
Chris Hegarty
bc24d17e80 8224477: java.net socket types new-style socket option methods - spec and impl mismatch
Reviewed-by: alanb
2019-05-29 13:58:05 +01:00
Dmitry Chuyko
7a1ce223b9 8220072: GCC 8.3 reports errors in java.base
Reviewed-by: rriggs
2019-05-22 21:33:58 +03:00
Arthur Eubanks
4e1d7a6caa 8223532: Don't try creating IPv4 sockets in NetworkInterface.c if IPv4 is not supported
Reviewed-by: dfuchs, chegar
2019-05-07 16:18:21 -07:00
Prasanta Sadhukhan
dfe0ca547b Merge 2019-05-14 11:23:08 +05:30
Phil Race
8ca1211aab 8212700: Change the mechanism by which JDK loads the platform-specific AWT Toolkit
Reviewed-by: serb, rriggs
2019-05-10 16:22:35 -07:00
Phil Race
1b03f22dff Merge 2019-05-07 11:52:28 -07:00
Phil Race
5c2948942f 8222819: Remove setting of headless property on MacOS from launcher code
Reviewed-by: serb, rriggs
2019-05-03 17:06:42 -07:00
Phil Race
501a6f3423 Merge 2019-05-02 10:48:56 -07:00
Michael McMahon
70ea5ab6e1 8216978: Drop support for pre JDK 1.4 SocketImpl implementations
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01:00
Phil Race
d43616c60a 8130266: Change the mechanism by which JDK loads the platform-specific GraphicsEnvironment class
Reviewed-by: serb, bchristi
2019-04-29 10:16:58 -07:00
Phil Race
e3e016b54c 8212701: remove sun.desktop property from launcher code
Reviewed-by: serb, alanb, rriggs
2019-04-24 09:21:02 -07:00