Skip to content
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

ARTEMIS-3963 Fix setting security roles via properties on OpenJ9 JDK 11 #4195

Merged
merged 1 commit into from Aug 30, 2022

Conversation

brusdev
Copy link
Member

@brusdev brusdev commented Aug 30, 2022

RoleSet.class.getMethods() returns the same methods on both OpenJDK 11 and
OpenJ9 JDK 11 but the order is different. OpenJDK 11 returns
public void org.apache.activemq.artemis.core.config.impl.RoleSet.add before
public boolean java.util.HashSet.add while OpenJ9 JDK 11 returns
public boolean java.util.HashSet.add before
public void org.apache.activemq.artemis.core.config.impl.RoleSet.add

RoleSet.class.getMethods() returns the same methods on both OpenJDK 11 and
OpenJ9 JDK 11 but the order is different. OpenJDK 11 returns
`public void org.apache.activemq.artemis.core.config.impl.RoleSet.add` before
`public boolean java.util.HashSet.add` while OpenJ9 JDK 11 returns
`public boolean java.util.HashSet.add` before
`public void org.apache.activemq.artemis.core.config.impl.RoleSet.add`
@brusdev brusdev requested a review from gtully August 30, 2022 08:46
@clebertsuconic clebertsuconic merged commit 45a1245 into apache:main Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants