CacioFESTRunner

Mario Torre neugens.limasoftware at gmail.com
Tue May 22 12:01:48 PDT 2012


Hello Dylan,

51.0 is JDK7, which is what Cacio targets (and is being built on), are
you using JDK6 for your project?

Cheers,
Mario

2012/5/22 Dylan Roberts <mr.dylanroberts at gmail.com>:
> Hi there,
>
> I was hoping that someone might be able to help me with a little problem.
> I am trying to use CacioFESTRunner with junit.
> I have added the maven dependency to cacio-tta v1.1.
> I have added the annotation "@RunWith(CacioFESTRunner.class)" to my test class.
> When I run the test I get the following stack trace:
> java.lang.UnsupportedClassVersionError:
> net/java/openjdk/cacio/ctc/junit/CacioFESTRunner : 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:247)
>        at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
>        at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
>        at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
>        at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)
>        at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351)
>        at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:280)
>        at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
>        at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
>        at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
>        at java.lang.Class.initAnnotationsIfNecessary(Class.java:3070)
>        at java.lang.Class.getAnnotations(Class.java:3050)
>        at org.junit.runner.Description.createSuiteDescription(Description.java:72)
>        at org.junit.internal.runners.ErrorReportingRunner.getDescription(ErrorReportingRunner.java:25)
>        at org.junit.runner.Runner.testCount(Runner.java:38)
>        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.countTestCases(JUnit4TestClassReference.java:30)
>        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.countTests(RemoteTestRunner.java:487)
>        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:455)
>        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>
> Does this look familiar at all?
>
>
>
> --
>      Dylan Roberts
>      Home: (416) 913-9153



-- 
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

IcedRobot: www.icedrobot.org
Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/



More information about the caciocavallo-dev mailing list