On Mon, 8 May 2023 15:02:55 GMT, Ferenc Rakoczi <d...@openjdk.org> wrote:
>> Without that, I get: >> >> /Users/ferakocz/dev/git-repos/jdk/open/src/java.base/share/classes/sun/security/provider/HSS.java:813: >> warning: [deprecation] key in X509Key has been deprecated >> key = new >> DerOutputStream().putOctetString(keyArray).toByteArray(); >> ^ > > Sorry, that one is if I remove another deprecation suppression. But the root > cause is the same here, without the message I get > /Users/ferakocz/dev/git-repos/jdk/open/src/java.base/share/classes/sun/security/provider/HSS.java:705: > warning: [deprecation] key in X509Key has been deprecated > return key.length * 8; // length in bits > ^ > error: warnings found and -Werror specified Grrrrh: " without the message" -> "without suppressing the warning" ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13691#discussion_r1187559580