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

RPM Bundler doesn't perform verification

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: deploy
    • Labels:
      None
    • Environment:

      b132, Ubuntu 12.04

      Description

      To reproduce put BundlerTestApp.jar to the /tmp folder and run the app.

      Expected: ConfigException
      Result: validation passes and exception occurs inside the execute method

      java.io.IOException: Exec failed with code 1 command [[rpmbuild, -bb, /tmp/fxbundler5588550561547249379/images/linux-rpm.image/BundlerTestApp.spec, --define, %_sourcedir /tmp/fxbundler5588550561547249379/images/linux-rpm.image, --define, %_rpmdir /home/zinch/tmp, --define, %_topdir /tmp/fxbundler5588550561547249379/rmpbuildroot] in /tmp/fxbundler5588550561547249379/images/linux-rpm.image
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:165)
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:138)
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:132)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.buildRPM(LinuxRPMBundler.java:366)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.bundle(LinuxRPMBundler.java:171)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.execute(LinuxRPMBundler.java:441)
      at BundlerTestApp.lambda$1(BundlerTestApp.java:45)
      at BundlerTestApp$$Lambda$170/5455460.accept(Unknown Source)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      at BundlerTestApp.main(BundlerTestApp.java:34)

        Attachments

          Activity

            People

            Assignee:
            shemnon Danno Ferrin (Inactive)
            Reporter:
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: