Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
franferrax committed Dec 3, 2024
1 parent 3b84ec3 commit bfa9507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/security/Provider.java
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ private SvcOpResult updateSvc(ServiceKey key,
Service newSvc;
MappingInfo oldMi = find(key);
if (oldMi.svc != null) {
// Service exits.
// Service exists.
if (!oldMi.isLegacy) {
// Don't update services added with the Current API.
return SvcOpResult.ERROR;
Expand Down

0 comments on commit bfa9507

Please sign in to comment.