This issue hits most of projects including a plain tomcat so guess j9
should avoid this regression (yes it is).

Le 15 sept. 2016 16:14, "Francesco Chicchiriccò" <ilgro...@apache.org> a
écrit :

> On 15/09/2016 15:49, Mark Struberg wrote:
>
>> Hi folks!
>>
>> I did invest some time to get OpenJPA running on Java9.
>> We did hit some issues, mainly with the stricter behaviour of
>> getResources with Jigsaw.
>>
>> In our enhancement layer we pretty often load just the byte[] of Classes
>> to avoid triggering the actual Classloading. This is mostly done by
>>
>> ClassLoader#getResourceAsStream(className.replace('.', '/') + ".class");
>> But this just returns null in Java9.
>>
>>
>> This currently breaks a LOT of apps, so we are far from being the only
>> one.
>> After talking with Oracle and a few other OSS people, Mark Reinhold
>> agreed to address this issue:
>> http://mail.openjdk.java.net/pipermail/jpms-spec-experts/201
>> 6-September/000392.html
>>
>> A revised Java9-EA should be available at the end of this week.
>> If OpenJPA works with that version, then there is also no urgent need to
>> get rid of Serp.
>>
>> In which case I'd be good to to an openjpa-3.0.0-alpha-1 release. Wdyt?
>>
>
>
> +1!
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
>

Reply via email to