RFR 7191662: JCE providers should be located via ServiceLoader
mandy.chung at oracle.com
Wed May 27 22:42:27 UTC 2015
Did you see my comment yesterday?
Since you have reverted the java.security to keep the classname, to avoid causing merge conflict to jimage refresh, let’s remove the META-INF files in the first push and the build change.
The security providers will be loaded via the fallback mechanism (i.e. ProviderLoader.legacyLoad method). You should keep the ProviderLoader.load method to take the provider name instead of classname.
I’ll file a bug to follow up to change java.security to list the provider name. This will wait after the jimage refresh goes into jdk9/dev.
> On May 27, 2015, at 3:29 PM, Valerie Peng <valerie.peng at oracle.com> wrote:
> Hi, build experts,
> Can you please review the make file related change, i.e. the new file make/gensrc/Gensrc-java.naming.gmk, in the following webrev:
> This is for merging the java.security.Provider file from various providers and use the (merged) result for the final image build.
> The rest of source code changes are reviewed by my team already.
> (Java Security Team)
More information about the build-dev