(original) (raw)

On Sat, Apr 5, 2014 at 12:53 AM, Mandy Chung <mandy.chung@oracle.com> wrote:
On 4/2/14 12:10 AM, Laurent Bourg�s wrote:
For now to use marlin, I use the bootclasspath append option to load the marlin classes. Will it still work on jdk9 ?

This is TBD. �We recognize the dependency on the bootclasspath.


\> With Jigsaw in JDK 9, the access control rules will be extended to support encapsulation and you won't be able to access the JDK internal APIs (which is orthogonal to JDK-8039975.

Mandy, could you explain me the new access control rule? Do you mean that marlin can not access to jdk internal api anymore (forbidden package accesses) ?


Right, the encapsulation will allow you to only access exported types. �For internal APIs (not exported), you can't access them as they are solely implementation-specific and not supported.

Wondering if pre-existing libraries such as JAI and JAI ImageIO would keep on working under those rules.
Will a jar added to lib/ext or the endorsed libraries be subject to the same access control?

Cheers
Andrea

--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime�
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 �Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 �339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions\_it

-------------------------------------------------------