On Wed, 04 Oct 2006, Conor MacNeill wrote:
> The current javahl build available with Subversion 1.4 (at least for
> windows) requires JDK 1.5 to run since the classfile major version is
> 49. Was this intentional?
> It may be a good idea to add a -target setting (and maybe -source) to
> the javac command when building the next version.
Conor, thanks much for noticing this problem. I've got a patch which
works with autoconf (for *nix), and changes gen_win.py to spit out a
Paul Burba mentioned he might be able to test out the Windows patch,
but if you're able to teake it for a test-drive, that'd be great, too.
JavaHL: Compile Java bytecode for the target platform of a Java 1.2
JVM. The default is typically equal to the compiling JDK version, or
the value for the -source flag to javac (if lower). Assume our Java
source code is JDK 1.2-compatible (as mentioned in
(JAVA_OLDEST_WORKING_VER): Set the minimum Java version to 1.2.
(SVN_CHECK_JDK): Pass in new JAVA_OLDEST_WORKING_VER parameter.
(SVN_CHECK_JDK): Accept new JAVA_OLDEST_WORKING_VER parameter. Pass
it on to SVN_FIND_JDK.
(SVN_FIND_JDK): Accept new JAVA_OLDEST_WORKING_VER parameter. In
JAVAC_FLAGS, set -target to this value, and -source to 1.2.
(WinGeneratorBase.get_proj_sources): When compiling Java bytecode,
specify -target and -source as 1.2. This is hard-coded for now,
but -target could later be made a configuration option in the
"[options]" section of build.conf.
Found by: Conor MacNeill <firstname.lastname@example.org>
Received on Wed Oct 4 18:46:37 2006
- text/plain attachment: patch
- application/pgp-signature attachment: stored