So, what I found out (separately) is that even if you set the build class to 
1.7 (say), and use the 1.8 compiler, but DON'T set the 1.7 bootstrap classpath, 
then the compiler will not flag stuff that is not compliant with the earlier 
version, so we need to either build with 1.6, or set the bootstrap classpath so 
that the 1.8 compiler will still check the 1.6 classes, and etc.  Remember 
there was a bug I fixed a week ago or so, because I had used a 1.8 method, but 
compiling with 1.8 even with the "compiler.source" and "compiler.target" set to 
1.7 didn't catch the error, UNTIL I also set the bootstrap classpath to 1.7.... 
 So, that's why I'm a bit concerned.  If we still want 2.0.x to run with 1.6, 
then we really need to really compile with 1.6 (somehow)...

~Roger

-----Original Message-----
From: Sandro Martini [mailto:sandro.mart...@gmail.com] 
Sent: Wednesday, May 17, 2017 8:16 AM
To: Developers - Apache Pivot <dev@pivot.apache.org>
Subject: Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Hi Roger,
I dropped the build on Java 7 only because on 2.0.x the minimum required Java 
version is 6, and the current one is Java 8, and Java 7 is after End-of-Life so 
I think is no more relevant (even because if some code compiles with Java 6 and 
with Java 8 usually if works even with Java 7) ...

Anyway if needed we can restore is (or better, define it from scratch in 
Jenkins).

Bye,
Sandro


2017-05-17 16:59 GMT+02:00 Roger and Beth Whitcomb
<rogerandb...@rbwhitcomb.com>:
> So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so 
> why are we only building with Java 8?  I would think we should be 
> building with Java 1.6, so we know that it works at the lowest common 
> denominator still.....  Is that possible?  Does the Jenkins machine 
> have access to Java
> 1.6 JDK?  If not, then I think we should be building/testing "maintenance"
> with 1.7, since that is the most likely "lowest common denominator" 
> actively being used at this point....
>
> Actually, I would think we should be doing "maintenance" builds with 
> all
> three:  1.6, 1.7 and 1.8, just to check to make sure it works with any 
> Java version that Pivot 2.0.x will accept....  For "trunk" we could 
> just have 1.8 builds, since that is what we are targeting at this point.
>
> Thoughts?  Is this possible?
>
> Thanks,
> ~Roger
>
>
> On 5/16/17 4:09 PM, Sandro Martini wrote:
>>
>> Hi Roger,
>> I changed the maintenance build from using Java 7 to Java 8 mainly 
>> because JRE 7 should not occurs any more now (instead of creating by 
>> scratch a new Jenkins job) ... if needed I can take a look.
>>
>> On trunk I agree that a build on Java 7 is no more needed, at least I 
>> could disable it.
>>
>> Bye
>>
>> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb"
>> <rogerandb...@rbwhitcomb.com>
>> ha scritto:
>>
>> Why do we no longer have a "Pivot-maintenance on Java 7" build? And 
>> why are we building "trunk" on Java 7 anymore?  Maybe we got the two 
>> confused?
>>
>>
>> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>>
>>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>>> %208/1120/display/redirect>
>>>
>>>
>>>
>>>
>

Reply via email to