[jira] Created: (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] Created: (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] Created: (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-19-06 10:46 PM

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/persist
encemanagerfactory/AfterCloseSetMethodsThrowException.java:177: warning: non
-varargs call of varargs method with inexact argument type for last paramete
r;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this wa
rning
method = PersistenceManagerFactory.class.getMethod(methodName, null);
^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persist
encemanagerfactory/AfterCloseSetMethodsThrowException.java:184: warning: non
-varargs call of varargs method with inexact argument type for last paramete
r;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this w
arning
method.invoke(pmf, null);
^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persist
encemanagerfactory/ AfterGetPersistenceManagerNoSetMethodsSu
cceed.java:210: w
arning: non-varargs call of varargs method with inexact argument type for la
st parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this wa
rning
method = PersistenceManagerFactory.class.getMethod(methodName, null);
^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/api/persist
encemanagerfactory/ AfterGetPersistenceManagerNoSetMethodsSu
cceed.java:218: w
arning: non-varargs call of varargs method with inexact argument type for la
st parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this w
arning
method.invoke(pmf, null);
^
/Users/clr/testtck/jdo2-tck-SNAPSHOT/src/java/org/apache/jdo/tck/models/fiel
dtypes/TestArrayCollections.java:180: compareTo(java.math.BigDecimal) in jav
a.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/fiel
dtypes/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/fiel
dtypes/TestCollectionCollections.java:165: compareTo(java.math.BigDecimal) i
n 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:04 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