How to actually ship JSR-250?

David M. Lloyd david.lloyd at redhat.com
Thu Apr 20 12:57:46 UTC 2017


Let's say I want to create a module distribution with my own JSR 250 
classes.  Let's also assume that I or the spec team want the module to 
be named java.annotations.common.

How do I properly upgrade the JDK's java.xml.ws.annotation module such 
that java.xml.ws can see it, *and* I have my proper 
java.annotations.common module name?  Am I forced to ship my annotations 
module as java.xml.ws.annotation?  Or manually replace java.xml.ws with 
one that looks for my annotations (and where does that leave the 
original java.xml.ws.annotation module)?

-- 
- DML


More information about the jigsaw-dev mailing list