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

Using -Djvmflags option causes NoClassDefFoundError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.3.1, 10.2.1.6
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Suns jvm 1.5

      Description

      When starting tests with the -Djvmflags option, the harness (RunList class) places "" around the argument to -Djvmflags when executing the java launcher to start a new jvm. This is (at least by suns java launcher) interpreted as a Class and not as a command line option, because of the "". Because of this I get a NoClassDefFoundError.

      I believe this is a problem that happens only when using Suns java launcher.

        Attachments

        1. 1444-diff.stat
          0.1 kB
          Vemund Østgaard
        2. 1444-diff
          0.7 kB
          Vemund Østgaard

          Activity

            People

            • Assignee:
              vemund Vemund Østgaard
              Reporter:
              vemund Vemund Østgaard
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: