oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Kale (JIRA)" <j...@apache.org>
Subject [jira] Created: (OODT-44) OODT doesn't build in JDK5 because of stringPropertyNames() in cas/workflow/structs/TaskJobInput.java
Date Fri, 01 Oct 2010 23:33:32 GMT
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


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