tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [VOTE] Release Apache Tomcat 7.0.44
Date Tue, 24 Sep 2013 15:03:23 GMT
Violetta,

On 9/24/13 10:01 AM, Christopher Schultz wrote:
> Building tomcat-dbcp with Java 1.6 and resuming the build with Java 7
> shows everything is okay.
> 
> But, when I run all the tests, I get lots and lots of failures:
> Testsuite: javax.el.TestArrayELResolver
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> 
>         Caused an ERROR
> javax/el/TestArrayELResolver : Unsupported major.minor version 51.0
> java.lang.UnsupportedClassVersionError: javax/el/TestArrayELResolver :
> Unsupported major.minor version 51.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
> 
> I'm fairly sure this is a problem with my environment. I have JAVA_HOME
> set to point to Java 7 but I suspect somewhere that's getting overridden
> when the tests are being run.

Specifying "-Djava.bin.path=$JAVA_HOME/bin/" on the command-line shows
all tests passing (save for Tribes, which are known to fail in my
environment).

Thanks,
-chris


Mime
View raw message