Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093250

[Bundlers] passing JVM options is broken

XMLWordPrintable

      When I'm setting JVM_OPTIONS or/and JVM_PROPERTIES params, the application silently fails with message "Segmentation fault (core dumped)"

      build.xml: <attached>

      App1.cfg: app.mainjar=testFxAppWithUtil.jar
      app.version=1.0
      app.mainclass=testapp/App1
      app.classpath=$PACKAGEDIR/Util.jar:$PACKAGEDIR/testFxAppWithUtil.jar
      jvmarg.1=-Dsqe.foo.bar=baz
      jvmarg.2=-Dsqe.qux.corge=grault
      jvmarg.3=-Dsqe.aba.caba=dabacaba
      app.preferences.id=testapp
      jvmuserarg.1.name=-Xmx
      jvmuserarg.1.value=1g
      jvmuserarg.2.name=-Xms
      jvmuserarg.2.value=512m

      jars: <attached>

      When I remove all jvm[user]arg* lines, I'm getting working application (of course, with no JVM properties passed).

      This issue shows almost the same behavior as RT-38804, so maybe it's the same bug.

        1. build.xml
          1 kB
          Dmitry Ginzburg
        2. jars.tar.gz
          5 kB
          Dmitry Ginzburg

            cbensen Chris Bensen (Inactive)
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: