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] Resolved: (JDO-281) TCK doesn't compile with JDK 1.5
Date Fri, 20 Jan 2006 00:18:42 GMT
     [ http://issues.apache.org/jira/browse/JDO-281?page=all ]
     
Craig Russell resolved JDO-281:
-------------------------------

    Fix Version: JDO 2 beta
     Resolution: Fixed
      Assign To: Craig Russell

Sending        src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterCloseSetMethodsThrowException.java
Sending        src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterGetPersistenceManagerNoSetMethodsSucceed.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestCollectionCollections.java
Transmitting file data .....
Committed revision 370679.


> 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
>     Assignee: Craig Russell
>      Fix For: JDO 2 beta

>
> 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