incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OODT-44) OODT doesn't build in JDK5 because of stringPropertyNames() in cas/workflow/structs/TaskJobInput.java
Date Sat, 02 Oct 2010 02:02:33 GMT

     [ https://issues.apache.org/jira/browse/OODT-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann resolved OODT-44.
-----------------------------------

    Resolution: Fixed

- fixed this by simply using Properties.keySet() and doing a single cast to String for the
String key below. Taken care of in r1003730.

> OODT doesn't build in JDK5 because of stringPropertyNames() in cas/workflow/structs/TaskJobInput.java
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OODT-44
>                 URL: https://issues.apache.org/jira/browse/OODT-44
>             Project: OODT
>          Issue Type: Bug
>          Components: catalog
>         Environment: Building on both Mac OS X 10.6.4 / java version "1.5.0_22" and Ubuntu
9.10 kernel 2.6.31-22-generic / java version "1.5.0_20"
>            Reporter: Dave Kale
>            Assignee: Chris A. Mattmann
>             Fix For: 0.1-incubating
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Chris asked me to file this.  On line 178 of cas/workflow/structs/TaskJobInput.java,
you the following:
> for (String key: fileProps.stringPropertyNames())
> stringPropertyNames() is not a part of the java specs of java.util.Properties until 1.6.
 If compatibility with 1.5 is desirable, we'll probably need to use propertyNames(), but there
may be issues with doing that (as 1.6 propertyNames throws an exception but 1.5 does not,
which makes me wonder if they're not doing the same thing...?).
> Talk amongst yourselves.  :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message