OpenJDK6 B31 Now Available

Andrew Hughes gnu.andrew at redhat.com
Wed Apr 23 20:30:12 UTC 2014


----- Original Message -----
> Hi,
> 
> On 04/22/2014 03:55 PM, Andrew Hughes wrote:
> > ----- Original Message -----
> >> Hello.
> >>
> >> The OpenJDK6-b31 build should succeed without the recent AWT-related
> >> changesets:
> >>
> >>    [...]
> 
> I actually ended up with the similar exclusion list after some
> unsuccessful attempts of backporting.
> 
> I was able to backport more  AWT changes from jdk7 and build "non-debug"
> version on VS2003. But "debug" compilation was still broken (due to
> debug ifdefs) and I gave up after some time.
> 
> >>
> >> It looks like the importing of several changesets from 7u (marked with [*]
> >> above) was unintentional.
> >
> > No. The backports were necessary for applying the security changes and have
> > been established for a long time in both the proprietary JDK 6 (which the 7
> > versions are apparently forward-ports from) and in IcedTea.
> >
> > Not backporting these changes would have meant a complete rewrite of the
> > patches
> > for a version of AWT that only exists in OpenJDK 6, which seems not only a
> > waste
> > of time, but also nigh on impossible, given the limited knowledge we have
> > of the
> > security issues.
> >
> > Thus, our safest option is to get OpenJDK 6 into the same state as 7, while
> > remaining compatible.
> 
> I think this is not possible without toolset update to VS2010, Ivan
> wrote about in February.

Just re-read that e-mail. I wonder if a better solution would be changed it to
work with mingw, allowing the potential for cross-compiles to be done on GNU/Linux.
If that was working, I could do test builds in the same way I do test builds of
alternative configurations such as Zero. The need for a proprietary OS and (by the
sounds of it) proprietary tooling is a big blocker IMHO.

Something I always wonder about when backporting too is why at least the Java code
is not just built on *all* platforms. Excluding perfectly compilable Java code is
just asking for trouble.

However, both are things I'm not sure are worthwhile on 6.

> 
> >
> >> Backporting of D3D pipeline [1] and other
> >> associated changes into OpenJDK 6 requires much more work due to switch to
> >> modern DirectX and/or MS VC compiler. Some time ago there was a discussion
> >> [2]
> >> regarding the upgrade to MS Visual Studio 2010. Now with Windows XP
> >> retired
> >> we
> >> would ultimately switch, and as before we are ready to participate in
> >> that.
> >>
> >> Please let us know if you need any help with pre-integration testing for
> >> Windows to prevent similar unexpected build failures in future.
> 
> I am willing to participate in such compiler update, but two things
> prevents me from doing it:
> 
>   - zero windows programming experience
>   - no ability to run jtreg test-suite on windows
> 
> Some time ago I wanted to set up limited subset of jtreg tests on 6b27.
> I created the subset of ones those run successfully on Linux (in the
> same VM, no shell, takes less then 1 sec each etc.). But I completely
> failed to create the similar "subsubset" for Windows. I tried to run
> jtreg in Windows2000 virtual machine and a lot of
> "successful-and-fast-on-Linux" tests just hang or take minutes to finish.
> 

There's a ProblemList.txt in the test tree if that helps. This was maintained
by Oracle. This also means it's probably very dated on 6 though.


> If you would be able to share the experience of setting up
> pre-integration testing for Windows - it will be really helpful.
> 
> >
> > We'd welcome testing and support on other platforms and, if there are
> > further
> > backports you require, we'd be happy to consider applying them. We only
> > have
> > the resources to support OpenJDK 6 on the GNU/Linux platform. If people
> > want
> > support on other platforms, then they also need to provide the necessary
> > maintenance.
> >
> > Please note, however, that we can't discuss security changes until after
> > the
> > embargo is lifted.
> >
> >>
> >> Thanks,
> >> -Yuri Gaevsky
> >>
> >> [1] https://bugs.openjdk.java.net/browse/JDK-6725214
> >> [2]
> >> http://mail.openjdk.java.net/pipermail/jdk6-dev/2014-February/thread.html
> >>
> >
> > Thanks,
> >
> 
> 
> --
> -Alex
> 
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the jdk6-dev mailing list