Hi JB, I understand it is difficult to specify correct versions for packages provided by jre (for different releases). So in this case I wanted to raise awareness regarding javax.annotation issue and how to work around it. What is the Jira issue you're referring to? I would like to add a watch. Additionally I wonder how to determine the version for javax.annotation.processing as it is not provided by the standalone javax.annotation-api-1.2 ;o)
Best Regards, Michael 2015-07-23 14:21 GMT+02:00 Jean-Baptiste Onofré <[email protected]>: > Hi Michael, > > we had different discussions about javax.annotation and version. > > It could be consider as a bug in etc/jre.properties (for the jre-1.8 > section). > > We have a Jira about that, where we have to double check the package > provided with JRE 1.8 (as it has changed). > > Regards > JB > > > On 07/23/2015 02:17 PM, Michael Täschner wrote: > >> Hi Karaf Users, >> >> on update to Java 8 I found an issue regarding Platform Package Exports: >> For JRE8 the version for javax.annotation is set to 1.2 Unfortunately >> the runtime does not provide the annotation class >> javax.annotation.Priority which it should. With Java 7 >> etc/jre.properties configures javax.annotation;version="1.1" and as a >> result javax.annotation requirement for 1.2 is resolved by cxf provided >> javax.annotation-api-1.2 bundle. As such my workaround is to modify the >> jre-1.8 setting in etc/jre.properties back to >> javax.annotation;version="1.1". >> >> Is this a bug in jre.properties or issue with JRE 8 ?? Strangely enough >> the Platform Package Export also declares >> javax.annotation.procession;version="1.2" which is not contained in >> javax.annotation-api-1.2 at all ?! >> >> Best Regards, >> Michael >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
