Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3045

JVM properties are not correctly used under Linux

    XMLWordPrintableJSON

Details

    Description

      While trying to use x4juli with groovy I recognize that the second JVM property is not used as expected.

      To reproduce the problem you can try the following script with Ubuntu (maybe also applicable with other Linux versions):

      groovy -Djava.foo=test -Djava.bar -e "println System.getProperty('java.foo'); println System.getProperty('java.bar');"

      Script will end with
      Caught: java.io.FileNotFoundException: /export/home/marcel/java.bar (/export/home/marcel/java.bar)

      I tested this also with Windows Vista where it works as expected.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            mszalbach Marcel Szalbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: