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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • catalog
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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