[jira] Resolved: (JDO-281) TCK doesn't compile with JDK 1.5
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Resolved: (JDO-281) TCK doesn't compile with JDK 1.5




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Resolved: (JDO-281) TCK doesn't compile with JDK 1.5  
Craig Russell (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-06 01:45 AM

[ 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/Aft
erCloseSetMethodsThrowException.java
Sending        src/java/org/apache/jdo/tck/api/persistencemanagerfactory/Aft
 erGetPersistenceManagerNoSetMethodsSucce
ed.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollec
tions.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCo
llections.java
Sending        src/java/org/apache/jdo/tck/models/fieldtypes/TestCollectionC
ollections.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/persi
stencemanagerfactory/AfterCloseSetMethodsThrowException.java:177: warning: n
on-varargs call of varargs method with inexact argument type for last parame
ter;
> 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(methodN
ame, null);
>                                                                           
     ^
> /Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persi
stencemanagerfactory/AfterCloseSetMethodsThrowException.java:184: warning: n
on-varargs call of varargs method with inexact argument type for last parame
ter;
> 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/persi
stencemanagerfactory/ AfterGetPersistenceManagerNoSetMethodsSu
cceed.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(methodN
ame, null);
>                                                                           
     ^
> /Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persi
stencemanagerfactory/ AfterGetPersistenceManagerNoSetMethodsSu
cceed.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/fi
eldtypes/TestArrayCollections.java:180: compareTo(java.math.BigDecimal) in j
ava.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/fi
eldtypes/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/fi
eldtypes/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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:05 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register