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

javapackager is totally broken in "-createbss" mode

XMLWordPrintable

    • 9
    • x86_64
    • linux

      FULL PRODUCT VERSION :
      java version "9.0.1"
      Java(TM) SE Runtime Environment (build 9.0.1+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Ubuntu 16.06 x64

      A DESCRIPTION OF THE PROBLEM :
      javapackager doesn't work in "createbss" mode. It ether falls down with "jfxrt.jar needs to be on classpath ..." message of you call is with "-srcdir" or just do nothing if you don't specify "-srcdir".


      REGRESSION. Last worked in version 8u162

      ADDITIONAL REGRESSION INFORMATION:
      If javapackager's executable is replaced with one from JDK 1.8.152 it work perfectly.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Execute the next command from any folder except of JDK's jmods: folder
      javapackager -createbss -srcdir . -outdir .

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It no CSS file are found in the current directory is should just do nothing.
      ACTUAL -
      Falls with the next message:
      Error: jfxrt.jar needs to be on classpath for -createbss and for -createJar without -nocss2bin

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Error: jfxrt.jar needs to be on classpath for -createbss and for -createJar without -nocss2bin

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Replace with executable from JDK8 (fixes only "createbss" behaviour but brokes a lot of other things).
      No good workaround.

            vdrozdov Victor Drozdov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: