openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13018
[Bug 1775785] [NEW] bfg-repo-cleaner jar file is not compatible with OpenJDK's `jexec`
Public bug reported:
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
** Affects: openjdk-8 (Ubuntu)
Importance: Undecided
Status: New
** Tags: xenial
** Tags added: xenial
--
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:
New
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
Follow ups