db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: How to run exist junit tests after build the trunk
Date Fri, 29 Jun 2007 14:48:34 GMT
Sean Qiu wrote:
> Do you mean we can build derby with ${j14lib} points to jdk 1.5 or higher?

Well it works for me with IBM's 1.5 jvm on trunk (& I guess 10.3 branch 
would work as well, I doubt it will work on 10.2 or earlier).


The one difference from the IBM 1.4 setup is that vm.jar is needed in 

Note this doesn't mean that one can use 1.5 features in the code as the 
base is still JDK 1.4/J2ME/CDC/Foundation. The build.xml files use the 
-target 1.4 and -source 1.4 flags for most of the code.

It does have the risk that one can introduce a change that depends on a 
1.5 class or method, such as Integer.valueOf(int), since the libraries 
pointed to are the 1.5 ones (java14compile.classpath).  -target and 
-source do not change the core library level. The -target changes the 
version of the -class file, the -source the level Java language syntax.

However, it does allow anyone to compile using a 1.5 level compiler.

> I wrote:
>     I'm able to build using IBM's 1.5 SDK with no problems.


View raw message