Community
Participate
Working Groups
# EclipseLink: 2.1.0 (20100504) # JAXB-RI: jaxb-ri-20091104 # JDK: SUN: JDK1.6.0_18 # TCK: jaxb_tck-2_2-fcs-bin-b09-24_nov_2009.jar There were 455 failures and 1 error in TCK 2.2 testing on trunk. Almost all failures are showing following "missing method" : see sample failure at \\stottnfs1\ENG\QA\praba\jaxb22_tck_testing\EclipseLink21-JAXB22tck-SunJDK16-Linux-20100505-1718\xml_schema\msData\identityConstraint\jaxb\idL077_idL077.jtr command: javasoft.sqe.javatest.lib.ProcessCommand JAVA_HOME=/scratch/pvijayar/jdk1.6 JAXB_HOME=/scratch/pvijayar/tck22/jaxb-ri-20091104 CLASSPATH=/scratch/pvijayar/tck22/JAXB-TCK-2.2/classes:/scratch/pvijayar/tck22/eclipselink/jlib/eclipselink.jar:/scratch/pvijayar/tck22/eclipselink_services.jar:/scratch/pvijayar/tck22/eclipselink/jlib/moxy/javax.mail_1.4.0.v200804091730.jar:/scratch/pvijayar/tck22/eclipselink/jlib/moxy/javax.xml.bind_2.2.0.v201003241715.jar:/scratch/pvijayar/tck22/eclipselink/jlib/moxy/javax.xml.stream_1.0.1.v201001131653.jar:/scratch/pvijayar/tck22/jaxb-ri-20091104/lib/activation.jar:/scratch/pvijayar/tck22/jaxb-ri-20091104/lib/jaxb-impl.jar:/scratch/pvijayar/tck22/jaxb-ri-20091104/lib/jaxb-xjc.jar:/scratch/pvijayar/tck22/JAXB-TCK-2.2/lib/javatest.jar /scratch/pvijayar/tck22/eclipselink/bin/jaxb-compiler.sh -p javasoft.sqe.tests.identityconstraint.idl077 -d /scratch/pvijayar/tck22/JAXB-TCK-2.2/work/classes/identityconstraint/idl077 /scratch/pvijayar/tck22/JAXB-TCK-2.2/tests/xml_schema/msData/identityConstraint/jaxb/../idL077.xsd ----------out1:(22/1586)---------- Exception in thread "main" java.lang.reflect.UndeclaredThrowableException at $Proxy6.required(Unknown Source) at com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:197) at com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:156) at com.sun.tools.xjc.generator.bean.field.AbstractListField.generate(AbstractListField.java:124) at com.sun.tools.xjc.generator.bean.field.UntypedListField.<init>(UntypedListField.java:107) ........... Caused by: java.lang.NoSuchMethodException: javax.xml.bind.annotation.XmlElementRef.required() at java.lang.Class.getDeclaredMethod(Class.java:1937) at com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.java:107) ... 14 more
NOT A BUG The failures being seen are due to running the JAXB 2.2 TCK with the JAXB 2.1 API binaries on the class path.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink