-
Bug
-
Resolution: Fixed
-
P4
-
10
-
b01
-
generic
-
generic
jaotc --output "invalid filename" truncates the filename on error message.
Please check the output below
==
-sh-4.2$ /scratch/fairoz/JAVA/jdk10/jdk-10-ea+37/bin/jaotc --output abc.s Ideone.class
Exception in thread "main" java.lang.InternalError: bc.s: file not recognized: File truncated
at jdk.aot/jdk.tools.jaotc.Linker.link(Linker.java:131)
at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:220)
at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:101)
at jdk.aot/jdk.tools.jaotc.Main.main(Main.java:80)
==
Excpected = Exception in thread "main" java.lang.InternalError: abc.s: file not recognized:
Actual = Exception in thread "main" java.lang.InternalError: bc.s: file not recognized:
abc.s is truncated to bc.s
Please check the output below
==
-sh-4.2$ /scratch/fairoz/JAVA/jdk10/jdk-10-ea+37/bin/jaotc --output abc.s Ideone.class
Exception in thread "main" java.lang.InternalError: bc.s: file not recognized: File truncated
at jdk.aot/jdk.tools.jaotc.Linker.link(Linker.java:131)
at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:220)
at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:101)
at jdk.aot/jdk.tools.jaotc.Main.main(Main.java:80)
==
Excpected = Exception in thread "main" java.lang.InternalError: abc.s: file not recognized:
Actual = Exception in thread "main" java.lang.InternalError: bc.s: file not recognized:
abc.s is truncated to bc.s