Hi Eric,

Am Montag, den 03.09.2018, 15:50 +0200 schrieb Eric Barboni:
> I try to compile all clusters of NetBeans with jdk 11.
>  
>  Lots of  javaee class disappears due to JEP 302. (java.xml.ws,
> java.xml.bind,..). 
>  Some NetBeans module needs thoose class to compile on jdk11.
>  
>  We need to provide them using library (one lib for each jar) .
> (Recoding seems a bad idea). 
>  We also need to know the best place to put libraries.
> 

I already replied on the issue. From JAX-WS only the Holder class was
used. The class was used in the DB modules out of convenience (they
were just there and conveyed the right meaning).

There is an easy alternative: Use a one element array. It is typesave
(even at runtime), a part of the core language.

This drops the requirement of JAX-WS and the DB module should compile
cleanly. There are valid reasons to use JAX-WS and JAXB, but if we
don't need them, I would make the change.

I checked db and this is the result from the change:

https://github.com/matthiasblaesing/incubator-netbeans/commit/f53592f9e55d5ac53a5f5817e4a0581396ddc37a

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to