JDK 9 RFR of JDK-8132855: Adjust tier 1 and 2 definitions for security-related intrinsics

2015-08-04 Thread joe darcy
Hello, As a complement to JDK-8132854: Adjust tier 1 and 2 definitions for nio-related intrinsics, with the fix for JDK-8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics the sources for the libraries clearly indicate which m

Should SSLEngine throw SSLHandhakeException?

2015-08-04 Thread Florian Weimer
If the SSLEngine client receives a fatal alert, an exception for Alerts.alert_unexpected_message is generated, which is an SSLException, not for the alert received, which would be an SSLHandhsakeException. Is this intentional? If not, the attached patch fixes that. I see this when the client rec