Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] Building Eclipse with only Java 7 (was: Re: Eclipse SDK tests with OpenJDK 7)

Hi,

> I had to bootstrap with OpenJDK 6 due to some target=jsr14 differences
> in OpenJDK 7.

Overcoming this was harder than I thought it would be.  It looks like
target=jsr14 doesn't work with OpenJDK 7.  At least, I couldn't make it
work.  For phase 1 of our bootstrapping process, we build with the
system javac.  For this phase (and this phase only), I've made the
bundles with target=jsr14 use target=1.5.  The build.xml files are then
all re-generated by PDE Build and JDT Core -- which supports jsr14 -- is
used for building the final JARs.

The only consequence of this is that I had to make sat4j build 1.5-level
bytecode.  For all practical Linux distribution purposes, anything < 1.5
isn't important so I don't see a problem with this.  It does, however,
mean that eclipse-build consumers must have a system org.sat4j.pb JAR
that contains 1.5-level bytecode.  Is this a problem for distributions
other than Fedora?

Thanks,

Andrew


Back to the top