-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[22.3] Fix javax.crypto.JceSecurity
substitutions in JDK >= 17.0.10
#610
Conversation
javax.crypto.JceSecurity
substitutions in JDK >= 17.0.10javax.crypto.JceSecurity
substitutions in JDK >= 17.0.10
@Alias @TargetElement(onlyWith = JDK17_0_10OrLater.class)// | ||
public static ReferenceQueue<Object> queue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as for the 23.0 PR with respect to the update version conditionals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
CI failures:
|
74ca119
to
d5fa158
Compare
*/ | ||
if (JavaVersionUtil.JAVA_SPEC == 17 && GraalServices.getJavaUpdateVersion() >= 10) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new QueueFieldPresent().getAsBoolean()
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
/* Starting with JDK 17 the verification results map key is an identity wrapper object. */ | ||
if (JavaVersionUtil.JAVA_SPEC == 17 && GraalServices.getJavaUpdateVersion() >= 10) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (new WeakIdentityWrapperPresent().getAsBoolean()) {
...
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
d5fa158
to
f8374b8
Compare
f8374b8
to
16a8853
Compare
Closes #608