← Back to team overview

openjdk team mailing list archive

[Bug 1775785] Re: bfg-repo-cleaner jar file is not compatible with OpenJDK's `jexec`

 

** Changed in: openjdk-8 (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1775785

Title:
  bfg-repo-cleaner jar file is not compatible with OpenJDK's `jexec`

Status in openjdk-8 package in Ubuntu:
  Fix Released

Bug description:
  In Debian systems that install OpenJDK, they seem to be setting up
  jexec as the binfmt interpreter of launching JAR files
  (/usr/share/binfmts/jar). However when attempting to run BFG's jar
  file using jexec it fails with "invalid file (bad magic number): Exec
  format error" error message.

  Refer to the discussion at bfg-repo-cleaner upstream, it seems to be that the `jexec` check is too strict or something:
  https://github.com/rtyley/bfg-repo-cleaner/issues/279

  Also according to the OpenJDK upstream's JDK6 bug report, `jexec` seems to be never be directly executed by external programs:
  https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6401361

  ## Additional Information ##
  OS: KDE neon based on Ubuntu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1775785/+subscriptions



References