db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-575) Signature test fails on Java 6
Date Fri, 08 Feb 2008 21:08:07 GMT
Signature test fails on Java 6
------------------------------

                 Key: JDO-575
                 URL: https://issues.apache.org/jira/browse/JDO-575
             Project: JDO
          Issue Type: Bug
          Components: tck2
    Affects Versions: JDO 2 maintenance release 1
            Reporter: Michelle Caisse
             Fix For: JDO 2 maintenance release 1




>"$JAVA_HOME"/bin/java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06)

   [java] Time: 006
   [java] There was 1 failure:
   [java] 1) testSignatures(org.apache.jdo.tck.api.SignatureTest)junit.framework.AssertionFailedError:
API Signature Test failed:
   [java] Found problems or signature descrepancies.
   [java] Test Output:
   [java]
   [java] parsing descriptor file: c:\jdo\trunk\tck2/src/conf/jdo-2_1-signatures.txt
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.ObjectState[] values()
   [java]     found:    public static javax.jdo.ObjectState[] values()
   [java]     class:    public final class javax.jdo.ObjectState extends java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.DiscriminatorStrategy[]
values()
   [java]     found:    public static javax.jdo.annotations.DiscriminatorStrategy[] values()
   [java]     class:    public final class javax.jdo.annotations.DiscriminatorStrategy extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.ForeignKeyAction[] values()
   [java]     found:    public static javax.jdo.annotations.ForeignKeyAction[] values()
   [java]     class:    public final class javax.jdo.annotations.ForeignKeyAction extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.IdGeneratorStrategy[] values()
   [java]     found:    public static javax.jdo.annotations.IdGeneratorStrategy[] values()
   [java]     class:    public final class javax.jdo.annotations.IdGeneratorStrategy extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.IdentityType[] values()
   [java]     found:    public static javax.jdo.annotations.IdentityType[] values()
   [java]     class:    public final class javax.jdo.annotations.IdentityType extends java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.InheritanceStrategy[] values()
   [java]     found:    public static javax.jdo.annotations.InheritanceStrategy[] values()
   [java]     class:    public final class javax.jdo.annotations.InheritanceStrategy extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.NullValue[] values()
   [java]     found:    public static javax.jdo.annotations.NullValue[] values()
   [java]     class:    public final class javax.jdo.annotations.NullValue extends java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.PersistenceModifier[] values()
   [java]     found:    public static javax.jdo.annotations.PersistenceModifier[] values()
   [java]     class:    public final class javax.jdo.annotations.PersistenceModifier extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.SequenceStrategy[] values()
   [java]     found:    public static javax.jdo.annotations.SequenceStrategy[] values()
   [java]     class:    public final class javax.jdo.annotations.SequenceStrategy extends
java.lang.Enum
   [java] --- method declaration: non-matching modifiers;
   [java]     expected: public static final javax.jdo.annotations.VersionStrategy[] values()
   [java]     found:    public static javax.jdo.annotations.VersionStrategy[] values()
   [java]     class:    public final class javax.jdo.annotations.VersionStrategy extends java.lang.Enum
   [java]
   [java] Signature Test Results
   [java] ======================
   [java]
   [java]     tested features:          1132
   [java]
   [java] Successes:
   [java]     matching features:        1132
   [java]     loadable classes:         141
   [java]
   [java] Failures:
   [java]     missing features:         0
   [java]     non-matching features:    10
   [java]     non-standard features:    0
   [java]     unloadable classes:       0
   [java]     other problems:           0
   [java]
   [java]
   [java]      at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
   [java]      at org.apache.jdo.tck.api.SignatureTest.testSignatures(SignatureTest.java:99)
   [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
   [java]      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
   [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
   [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
   [java] FAILURES!!!
   [java] derby-app-runonce-junit.txt:
   [java]     ** Tests run: 007, Time: 006 seconds. Failures: 1, Errors: 0
   [java] Excluded tests: [org.apache.jdo.tck.query.result.VariableInResultNavigation, org.apache.jdo.tck.enhancement.FieldAccessModified,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
   [java] [ERROR] Java Result: 1
   [echo] Finished configuration="runonce.conf" with database="derby" identitytype="applicationidentity"
mapping="". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message