Feature complete?

Alan Bateman Alan.Bateman at oracle.com
Tue Dec 1 13:24:00 UTC 2015


On 01/12/2015 11:50, Stephen Colebourne wrote:
> :
>
> I personally am far from convinced that the compatibility of JDK 9
> with 8 is going to be good enough. Especially as it seems to me that
> all libraries that use reflection are likely to be broken with 9,
> something that will significantly hamper adoption.
>
This seems a bit pessimistic. One thing that would be helpful is to get 
more help testing of these libraries with the EA builds. If there are 
libraries and applications on the class path today that are using core 
reflection then they should continue to work as they do in JDK 8. The 
only issue starting out should be where core reflection is being used to 
get at JDK internal types, in which case a command-line option might be 
needed to keep those deployments working.

If your comment is more about the challenge that some frameworks will 
have with strong encapsulation then it's a fair concern. As things 
currently stand then there isn't a mechanism (aside from the command 
line) to give specific frameworks the power to break encapsulation and 
get at the internals of other modules. So definitely some TBD here, 
maybe on the framework side too because modules might provide an 
opportunity to revisit a few things.

-Alan


More information about the jigsaw-dev mailing list