1

Topic: JEP-238+Maven+Preprocessor

JDK 9 it is a thing which starts to cause to the developer a pain as compatibility any more 100 % with JDK 8, well and against plans of Orakla with frequent releases of new versions, possibly soon it is possible the pain which will feel about 15 years ago was it is known to developers of mobile applications under J2ME, what as that to get out community has been developed JEP-238 supported in JDK 9 which allows to do JAR files transparently containing variants for different versions and JVM will select approaching (most likely it is all results us eventually in a hell, but before it is necessary to live still). Whether I here thought it is possible at such to fasten the approach which  15 years ago for mobile phones when I would not like  the code for support as though standard API different  and made example Maven of the project which collects  JAR in  with preprocessing application, I do not call such , it is purely such  and can to whom will look interesting https://github.com/raydac/jep-238-jcp-example

2

Re: JEP-238+Maven+Preprocessor

Hello, raydac, you wrote: R> JDK 9 it is a thing which starts to cause to the developer a pain as compatibility any more 100 % with JDK 8, well and against plans of Orakla with frequent releases of new versions, possibly soon it is possible the pain which will feel about 15 years ago was it is known to developers of mobile applications under J2ME. Now for each application the jre. Yes that jre, even wasps the. Glory to the docker.

3

Re: JEP-238+Maven+Preprocessor

GIV> Now for each application the jre. Yes that jre, even wasps the. Glory to the docker. When the developer begins  with API and application which worked on 8 cannot find which classes is not present in 9 then the docker does not help

4

Re: JEP-238+Maven+Preprocessor

Hello, raydac, you wrote: GIV>> Now for each application the jre. Yes that jre, even wasps the. Glory to the docker. R> when the developer begins  with API and application which worked on 8 cannot find which classes is not present in 9 then the docker does not help Whence at the developer in the docker the container  suddenly java 9? And classes from java* packets in itself not . And if someone  sun that has to realize and plan migrations on new JDK taking into account it.

5

Re: JEP-238+Maven+Preprocessor

JEP-238 Urged to help not at , clearly that at  it is possible to provide a sterile surrounding without problems, this standard  on realtime and gives the chance will type JAR classes which to be used JVM if  what that a specific variant of version Java but if application is delivered in a type the docker of the container that clearly that it not that case, this standard  is good for UI and utilities which will be started up under different JDK and on different platforms immediately user

6

Re: JEP-238+Maven+Preprocessor

Hello, raydac, you wrote: R> JEP-238 urged to help not at , clearly that at  it is possible to provide a sterile surrounding without problems, this standard  on realtime and gives the chance will type JAR classes which to be used JVM if  what that a specific variant of version Java, This  is necessary to use any new functions from new jdk, and in a case with old to use any bypass ways. To closed APi (sun. *) it does not concern in any way,  in any version jdk to use sun.* it is dangerous can exchange or disappear at any moment even in java 8.