Skip to content

Commit

Permalink
Do not expose the ServicePermission to users of URL
Browse files Browse the repository at this point in the history
An important doPriv was removed which protected callers
of URL from the SerivcePermissin check to get the handler
service.
  • Loading branch information
tjwatson committed Oct 3, 2024
1 parent 163cb3a commit afe8f3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ synchronized void dispose() {
@Override
public synchronized URLStreamHandlerService get() {
if (service == null && !disposed) {
service = bundleContext.getService(reference);
service = URLStreamHandlerFactoryImpl.secureAction.getService(reference, bundleContext);
}
return service;
}
Expand Down

0 comments on commit afe8f3d

Please sign in to comment.