<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 03/10/2024 10:17, Denis Bredelet wrote:<br>
<blockquote type="cite" cite="mid:CAHxSrfLfRodixUNq+1zYeXatjzqfaR7Y0YGmMECYDyvfXa=P2A@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hello,
With the OpenJDK 11.0.21 release the constructor visibility changed.
That breaks code that relied on
"sun.security.util.ObjectIdentifier(String oid)" such as Apache Kerby
directory's GssTokenV1 class.
The error I receive is:
class org.apache.kerby.kerberos.kerb.gss.impl.GssTokenV1 tried to
access private method 'void
sun.security.util.ObjectIdentifier.<init>(java.lang.String)'
The change that affected the visibility of the constructor is:
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8310005">https://bugs.openjdk.org/browse/JDK-8310005</a>
Shouldn't the signature of the class remain stable between minor
versions? 11.0.20 -> 11.0.21
</pre>
</blockquote>
This is a JDK internal class that can change at any release or
build. I don't know anything about Apache Kerby, is it actively
maintained? Is there is an issue in its issue tracker to remove the
dependency on this JDK internal class?<br>
<br>
-Alan<br>
</body>
</html>