-
Bug
-
Resolution: Fixed
-
P2
-
9, 10
-
b160
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8176656 | 10 | Matthias Baesken | P2 | Resolved | Fixed | b03 |
JDK-8296054 | 8u371 | Alexey Semenyuk | P2 | Closed | Fixed | b01 |
jdk9 and jdk10 fail to execute a simple hello-world jar with jexec :
jdk9/images/jdk/lib/jexec /java_test/hellojar/helloworld.jar
invalid file (bad magic number): Exec format error
While it works with jdk7 :
jdk7/lib/jexec /java_test/hellojar/helloworld.jar
Hello world from a jar file
It seems change "8156478: 3 Buffer overrun defect groups in jexec.c " which changed jexec.c caused
the issue in jdk9/10.
jdk9/images/jdk/lib/jexec /java_test/hellojar/helloworld.jar
invalid file (bad magic number): Exec format error
While it works with jdk7 :
jdk7/lib/jexec /java_test/hellojar/helloworld.jar
Hello world from a jar file
It seems change "8156478: 3 Buffer overrun defect groups in jexec.c " which changed jexec.c caused
the issue in jdk9/10.
- backported by
-
JDK-8176656 jexec fails to execute simple helloworld.jar
- Resolved
-
JDK-8296054 jexec fails to execute simple helloworld.jar
- Closed