Creating new packages in the world of modules
Weijun Wang
Weijun.Wang at Sun.COM
Sun Mar 28 23:00:49 PDT 2010
Hi Alan
I'm planning to add two RFEs to OpenJDK:
1. A SASL mechanism called NTLM, which includes two new packages:
a. com.sun.security.sasl.ntlm: The SASL provider
b. com.sun.security.ntlm: The raw NTLM API
Here I've created an NTLM API which I hope can also be used by sun/net/www/protocol/http/ntlm/NTLMAuthentication.java.
2. Keytool and Jarsigner as JSR 199 Tools, which include interfaces in a new package com.sun.security.tools, implementations in sun.security.tools and new META-INF/services/com.sun.security.tools.* entries.
I know you have spent a lot of time recently to make sure classes to be distributed in different modules and their dependencies carefully maintained. If I want to add the new packages above, what do I need to take care of most? Any configuration files to modify? Is there a latest map showing the content of current existing modules?
BTW, what is the fate of ServiceLoader in modules? Will META-INF/services entries spread into different modules and ServiceLoader tries to get a union of them for each service class?
Thanks
Max
More information about the jigsaw-dev
mailing list