Implicit dependencies

Roger Riggs Roger.Riggs at oracle.com
Tue Jul 5 12:15:07 PDT 2011


Hi,

[Sorry, hit send too soon.]

The jigsaw modularization of the JDK includes a jdk7.depconfig file
that contains implicit dependencies that are cannot be identified
from the visible declarations.  It would be useful to introduce one or more
annotations on the class or method to make the dependencies explicit
and to keep the declarations close to the use in the source.
The "@ClassForName" uses would be very useful to have in the source.

Configuration related dependencies can be identified systematically
and configured separately.  For example, more control may be needed
for the locale specific providers.

The annotations would not just be useful for the JDK but would also be
useful for libraries and applications that have similar implicit 
dependencies.

Thanks, Roger





More information about the jigsaw-dev mailing list