Commit graph

18 commits

Author SHA1 Message Date
Xue-Lei Andrew Fan
c72b547425 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
2023-05-26 16:47:39 +00:00
Viktor Klang
b030c7de32 8225235: Unused field defaultIndex in NetworkInterface
Reviewed-by: chegar, vtewari, dfuchs, jpai
2022-09-30 03:06:36 +00:00
Daniel Jeliński
04c47da118 8289768: Clean up unused code
Reviewed-by: dfuchs, lancea, weijun, naoto, cjplummer, alanb, michaelm, chegar
2022-07-12 11:30:17 +00:00
Jonathan Dowland
ba504fcee8 8187450: JNI local refs exceeds capacity warning in NetworkInterface::getAll
Reviewed-by: chegar, dfuchs, aph
2021-03-22 15:29:47 +00:00
Eric Liu
a804c6a6ef 8254871: Remove unnecessary string copy in NetworkInterface.c
Reviewed-by: michaelm
2020-10-28 02:15:36 +00:00
Koichi Sakata
e3c6574ac0 8250863: Build error with GCC 10 in NetworkInterface.c and k_standard.c
Reviewed-by: aph, ysuenaga
2020-07-31 09:15:57 +09:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Daniel Fuchs
58337b12f8 8059309: network tests fail with "java.net.SocketException: Couldn't obtain phys addr" when run as "root"
The solaris specific code is changed to use the fallback mechanism if the DLPI interface returns an error indicating that the operation is unsupported. In addition, NetworkInterface::getHardwareAddress is changed to always return null for the loopback interface.

Reviewed-by: alanb
2020-03-12 18:31:49 +00: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
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
Matthias Baesken
a573f6a6b5 8227737: avoid implicit-function-declaration on AIX
Reviewed-by: clanger, goetz
2019-07-16 16:01:10 +02:00
Claes Redestad
7f1f9a50ae 8225239: Refactor NetworkInterface lookups
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02: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
Matthias Baesken
4fb0c5f31b 8216355: missing NULL checks in libnet in interface iteration and potential resource leak in getMacAddress
Reviewed-by: clanger, rwestberg
2019-01-09 14:46:40 +01:00
Ivan Gerasimov
d686431d78 8204667: Resources not freed on exception
Reviewed-by: skoivu, chegar
2018-06-20 18:02:22 -07:00
Vyom Tewari
627e310ba5 8199110: Address Internet Addresses
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-03-30 08:37:31 +05:30
Vyom Tewari
d5e9b33541 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Renamed from jdk/src/java.base/unix/native/libnet/NetworkInterface.c (Browse further)