www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Ready for JDK 9 ?
Date Mon, 14 Aug 2017 15:30:43 GMT
Am 14.08.2017 um 10:01 schrieb Lukasz Lenart:
>> Our own problems with jdk9 were 1) problems with reflection (solution: we
>> got rid of the offending code), 2) needing to use "--add-modules" on tests
>> (we changed our pom), 3) problems with JAI (this was fixed by oracle and by
>> a third party).
> Can you show how did you change your pom?

I added this to the parent pom:

         <addmod>--add-modules java.activation --add-modules java.xml.bind</addmod>



for the tests:


Call mvn with -Pjdk9 to enable this. If you have other -P settings, then 
you need to group them with comma, so it would be for us -Pjdk9,pedantic 
. You can't use -P several times like you do with -D (that's a mistake I 

Builds for non-jdk9 would still work because ${addmod} would be empty.

see also
which links to the actual commits.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message