Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-44

OODT doesn't build in JDK5 because of stringPropertyNames() in cas/workflow/structs/TaskJobInput.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1-incubating
    • Component/s: catalog
    • Labels:
      None
    • 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"

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              davekale David Kale
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified