Withdrawn: 8227493: Return a more useful error message from lookupAllHostAddr if getaddrinfo results in EAI_SYSTEM error

2025-02-19 Thread duke
On Mon, 2 Dec 2024 13:53:00 GMT, Jaikiran Pai wrote: > Can I please get a review of this minor enhancement to the error text that is > reported if the `getaddrinfo()` native call returns the `EAI_SYSTEM` error? > This addresses https://bugs.openjdk.org/browse/JDK-8227493. > > The `java.net.Ine

Re: RFR: 8349705: java.net.URI.scanIPv4Address throws unnecessary URISyntaxException

2025-02-19 Thread Xiaolong Peng
On Mon, 10 Feb 2025 10:53:12 GMT, Daniel Fuchs wrote: >> java.net.URI.scanIPv4Address is a private method, it is only called by >> java.net.URI.takeIPv4Address and java.net.URI.parseIPv4Address, the >> URISyntaxException("Malformed IPv4 address") is not necessary, returning -1 >> should be goo

Re: RFR: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-19 Thread Marcono1234
On Thu, 13 Feb 2025 16:27:03 GMT, Sean Mullan wrote: > This change adds an API note to these methods recommending that the caller > should perform further validation steps on the code signers that signed the > JAR file, such as validating the code signer's certificate chain, and > determining

Re: RFR: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-19 Thread Jaikiran Pai
On Wed, 19 Feb 2025 10:43:06 GMT, Marcono1234 wrote: >> This change adds an API note to these methods recommending that the caller >> should perform further validation steps on the code signers that signed the >> JAR file, such as validating the code signer's certificate chain, and >> determin

Integrated: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-19 Thread Sean Mullan
On Thu, 13 Feb 2025 16:27:03 GMT, Sean Mullan wrote: > This change adds an API note to these methods recommending that the caller > should perform further validation steps on the code signers that signed the > JAR file, such as validating the code signer's certificate chain, and > determining

RFR: 8325766: Review seclibs tests for cert expiry

2025-02-19 Thread Matthew Donovan
This PR updates the CertificateBuilder with a new method that creates a new instance with common fields (subject name, public key, serial number, validity, and key uses) filled-in. One test, IPIdentities.java, is updated to show how the method can be used to create various certificates. I attach