Skip to content

Commit

Permalink
[JDK-8337214] Fixed bug in OptionDescriptor.isServiceLoaded.
Browse files Browse the repository at this point in the history
PullRequest: graal/18431
  • Loading branch information
dougxc committed Jul 26, 2024
2 parents 4e556c1 + 5771d95 commit f58fbc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public boolean isDeprecated() {
*/
public boolean isServiceLoaded() {
OptionGroup group = getDeclaringClass().getAnnotation(OptionGroup.class);
return group == null || !group.registerAsService();
return group == null || group.registerAsService();
}

/**
Expand Down

0 comments on commit f58fbc1

Please sign in to comment.