[jbosstools-dev] Java 8 experiement for JBoss Tools 4.3/Developer studio 9

Nick Boldt nboldt at redhat.com
Sat May 23 12:10:53 EDT 2015


Just FYI:

If you DO introduce a Bundle-RequireExecutionEnvironment of JavaSE-1.8 
into a plugin, please make sure you also update your Jenkins job 
accordingly.

---

(Lengthy explanation follows.)

If BREE = JavaeSE-1.8, then you can't compile it & successfully run 
tests with JDK 7.

Since Arquillian depends on Sapphire 9 [0], which requires JDK 8, now 
too Arquillian requires JDK 8 to build. Its jobs have been updated.

[0] 
https://github.com/jbosstools/jbosstools-arquillian/commit/13932fd9b917aad99ef7da98ef1edc2c4eac25f9

Note that anything that needs to INCLUDE these BREE=JavaSE-1.8 bundles 
must ALSO be built with JDK 8 or Tycho can't resolve the bundles at 
build time. I've updated the Arquillian, JBT aggregate, and JBDS jobs to 
use jdk1.8 instead of jdk1.7.

—

This commit [1] broke this build [2] but after updating the job config 
to use jdk1.8, it's back to blue [3].

[1] 
https://github.com/jbosstools/jbosstools-base/commit/700dbf9b166072d394c9c15baad7951a53da8e55
[2] 
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-base_master/715/
[3] 
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-base_master/ 
 >=716


On 05/23/2015 04:01 AM, Max Rydahl Andersen wrote:
>
>
>> Forge is compiled against JDK 7 but it is fully Java 8 compatible.
>
> Yes - not following what your point is here. That's how all parts of JBDS 8 and JBoss tools 4.2.x was. It's also what jbds 9 will be for now - but exploring if we must support java 7 or have to do tricks to have only certain parts of jbds 8 require java 8.
>
> Such as arquillian and batch Java EE tooling.
>
>
>>> On 05/22/2015 03:49 PM, Max Rydahl Andersen wrote:
>>> Hey,
>>>
>>> We are going to make Java 8 required for upcoming Beta1.
>>>
>>> To see what kind of reaction we will get on moving to Java 8.
>>>
>>> This does *not* mean you should add Java 8 features to the codebase.
>>>
>>> We will still compile with Java 7 where we can, as we might be
>>> required to support Java 7 before GA.
>>>
>>> Thus don't get too excited - but at least be happy users
>>> will run with a faster Java with better memory management!
>>>
>>> /max
>>> http://about.me/maxandersen
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>

-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com


More information about the jbosstools-dev mailing list