diff --git a/api/src/main/java/jakarta/activation/MailcapCommandMap.java b/api/src/main/java/jakarta/activation/MailcapCommandMap.java index 53ff3fc..f3a186d 100644 --- a/api/src/main/java/jakarta/activation/MailcapCommandMap.java +++ b/api/src/main/java/jakarta/activation/MailcapCommandMap.java @@ -697,13 +697,13 @@ private MailcapRegistryProvider getImplementation() { return AccessController.doPrivileged(new PrivilegedAction() { public MailcapRegistryProvider run() { return FactoryFinder.find(MailcapRegistryProvider.class, - "com.sun.activation.registries.MailcapRegistryProviderImpl", + null, false); } }); } else { return FactoryFinder.find(MailcapRegistryProvider.class, - "com.sun.activation.registries.MailcapRegistryProviderImpl", + null, false); } } diff --git a/api/src/main/java/jakarta/activation/MimetypesFileTypeMap.java b/api/src/main/java/jakarta/activation/MimetypesFileTypeMap.java index cd642b2..716a865 100644 --- a/api/src/main/java/jakarta/activation/MimetypesFileTypeMap.java +++ b/api/src/main/java/jakarta/activation/MimetypesFileTypeMap.java @@ -389,13 +389,13 @@ private MimeTypeRegistryProvider getImplementation() { return AccessController.doPrivileged(new PrivilegedAction() { public MimeTypeRegistryProvider run() { return FactoryFinder.find(MimeTypeRegistryProvider.class, - "com.sun.activation.registries.MimeTypeRegistryProviderImpl", + null, false); } }); } else { return FactoryFinder.find(MimeTypeRegistryProvider.class, - "com.sun.activation.registries.MimeTypeRegistryProviderImpl", + null, false); } }