You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2006/05/02 21:51:47 UTC

[jira] Updated: (TUSCANY-257) recently added file Interface2JavaGenerator.java is not compatible with JDK 1.4

     [ http://issues.apache.org/jira/browse/TUSCANY-257?page=all ]

Paul Golick updated TUSCANY-257:
--------------------------------

    Attachment: patchInterface2JavaGenerator.txt

The attached patch makes the file compatible with Java 1.4 by removing the code that handled methods with parameterized return types, a new feature of Java 1.5.

> recently added file Interface2JavaGenerator.java is not compatible with JDK 1.4
> -------------------------------------------------------------------------------
>
>          Key: TUSCANY-257
>          URL: http://issues.apache.org/jira/browse/TUSCANY-257
>      Project: Tuscany
>         Type: Bug

>   Components: Java SDO Tools
>  Environment: all
>     Reporter: Paul Golick
>  Attachments: patchInterface2JavaGenerator.txt
>
> Interface2JavaGenerator.java uses java.lang.reflect.ParameterizedType and java.lang.reflect.Type that were added in Java 5 for generics.  It appears that the portion of Interface2JavaGenerator that uses ParameterizedType and Type is not needed for Java 1.4 classes.

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