db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-281) TCK doesn't compile with JDK 1.5
Date Thu, 19 Jan 2006 23:05:43 GMT
TCK doesn't compile with JDK 1.5
--------------------------------

         Key: JDO-281
         URL: http://issues.apache.org/jira/browse/JDO-281
     Project: JDO
        Type: Bug
  Components: tck20  
    Reporter: Craig Russell


When compiling tck20 under JDK 1.5, several errors and warnings. 

/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterCloseSetMethodsThrowException.java:177:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
                method = PersistenceManagerFactory.class.getMethod(methodName, null);
                                                                               ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterCloseSetMethodsThrowException.java:184:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                method.invoke(pmf, null);
                                   ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterGetPersistenceManagerNoSetMethodsSucceed.java:210:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
                method = PersistenceManagerFactory.class.getMethod(methodName, null);
                                                                               ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterGetPersistenceManagerNoSetMethodsSucceed.java:218:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                method.invoke(pmf, null);
                                   ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java:180:
compareTo(java.math.BigDecimal) in java.math.BigDecimal cannot be applied to (java.lang.Object)
                        if ((expectedBD.compareTo(actualBD) != 0)) {
                                       ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java:175:
compareTo(java.math.BigDecimal) in java.math.BigDecimal cannot be applied to (java.lang.Object)
                        if ((bigDecCompareWith.compareTo(bigDecVal) != 0)) {
                                              ^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/models/fieldtypes/TestCollectionCollections.java:165:
compareTo(java.math.BigDecimal) in java.math.BigDecimal cannot be applied to (java.lang.Object)
                        if ((bigDecCompareWith.compareTo(bigDecVal) != 0)) {
                                              ^


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message