2 new failures (a fix is in progress) - Re: starting OpenJDK6 B26 promotion process

Lana Steuck lana.steuck at oracle.com
Tue Sep 18 10:57:13 PDT 2012


FYI:

the build candidate had two new test failures (a fix is in progress):
  sun/tools/native2ascii/Permission.java
  tools/jar/UpdateJar.java

More details:
========
Both tests failed on *all* platforms including lin_i586. Both failures 
are Compilation failures.
Last changes that touched the tests:
http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/0e34d4326386
http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/2366192c7fcb

After looking more closely into the failures, here's what seemed to happen:
The following two try blocks were ported from jdk7/8 fixes without
converting 'try-with-resources' statements (introduced in 7).
These new 'try-with-resources' language constructions do not work in jdk6.

http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/0e34d4326386
+                try (FileOutputStream fos = new FileOutputStream(src)) {
+                    fos.write('a'); fos.write('b'); fos.write('c');
+                }

http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/2366192c7fcb
+                try (FileOutputStream fos0 = new FileOutputStream(e0);
+                     FileOutputStream fos1 = new FileOutputStream(e1)) {
+                    fos0.write(0);
+                    fos1.write(0);
+                }

Informed the TL team, the fix is in progress. So when you see a push to 
jdk6,
this is why.

Thanks,
Lana

On 09/17/2012 02:27 PM, Lana Steuck wrote:
> Started the promotion process. Please defer your changes until it's 
> finished and the repos are tagged with jdk6-b26 tags.
>
> Thank you,
> Lana
>
> On 09/14/2012 05:24 AM, Andrew Hughes wrote:
>> ----- Original Message -----
>>> Hello,
>>>
>>> It's time for OpenJDK6 B26 promotion (will be tagged with jdk6-b26).
>>>
>>> Let me know if there are any additional changes to consider for this
>>> OpenJDK6 release.
>>>
>> Well there are plenty of potential changes on our side, but none that
>> wouldn't wait until b27.  Let's get this out ASAP as it has the recent
>> security update in it.  Otherwise, we risk running into JavaOne and the
>> next security update.
>>
>>> Thanks,
>>> -Lana
>>>
>>> P.S.
>>> - Release process is here:
>>> http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/ReleaseProcess.html
>>> - OpenJdk6 Important Links Summary:
>>> https://blogs.oracle.com/openjdk6releases/entry/openjdk6_at_a_glance
>>>     The page contains a table with information about all previous
>>> releases: Release notes, Test Results, etc.
>>>
>>>
>>>
>



More information about the jdk6-dev mailing list