Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4694

Build breaks on Mac OS X due to JDK classpath issues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.6.2.1, 10.7.1.1
    • Component/s: Build tools
    • Labels:
      None
    • Environment:
      Mac OS X JDK 1.6

      Description

      The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile classpath for JDK 1.4.

      A quick look indicates that PropertySetter is only using defaults when configuring the classpaths, and this fails when OS X creates symlinks 1.4 -> 1.6 and 1.5 -> 1.6.
      We should investigate whether the current JAR inspection logic works on OS X with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well as for other / unknown JDKs).

      Issue was reported on derby-dev (see http://db.markmail.org/thread/wqe73b27rknuezm7 ).
      See also this thread for a related issue that may affect OS X: http://markmail.org/thread/7w24qwmvgxfctndi

        Attachments

        1. derby-4694-2b-debugging_and_mac_fix.diff
          6 kB
          Kristian Waagan
        2. derby-4694-2a-debugging.diff
          5 kB
          Kristian Waagan
        3. derby-4694-1a.diff
          13 kB
          Kristian Waagan
        4. antwithpatch_diff.txt
          3 kB
          Kathey Marsden
        5. antwithlibset.txt
          13 kB
          Kathey Marsden
        6. antPrintCompilerPropertiesVerbose.txt
          6 kB
          Kathey Marsden
        7. 1.6.0dirStructure.txt
          1 kB
          Kathey Marsden
        8. 1.6.0allfiles.txt
          25 kB
          Kathey Marsden

          Activity

            People

            • Assignee:
              kristwaa Kristian Waagan
              Reporter:
              kristwaa Kristian Waagan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: