FULL PRODUCT VERSION :
javac 1.7.0_55
ADDITIONAL OS VERSION INFORMATION :
Linux host1 3.14-1-amd64 #1 SMP Debian 3.14.7-1 (2014-06-16) x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
javac not generate class file if classpath contains a bad signed jar file and not show any message.
javac -d bin -cp lib/A.jar Test1.java
works okay but
javac -d bin -cp lib/BadSigned.jar Test1.java
just end without any message and generates no class file. The Java file seems not to be parsered at all.
the BadSigned.jar is mistaken generated by chance, that is contains .RSA .SF file mistaken copied from other jar file, so the jar is regarded as bad signed and cannot be loaded by ClassLoader.
javac should output some error message instead of exit silently.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) copy some META-INF/xxx.RSA META-INF/xx.SF from some signed jar to a not signed jar. so that make the jar bad signed.
2) include the bad signed jar in the javac -cp list.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
javac outputs some error message
ACTUAL -
javac exit quietly and not compiles anything.
REPRODUCIBILITY :
This bug can be reproduced always.
javac 1.7.0_55
ADDITIONAL OS VERSION INFORMATION :
Linux host1 3.14-1-amd64 #1 SMP Debian 3.14.7-1 (2014-06-16) x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
javac not generate class file if classpath contains a bad signed jar file and not show any message.
javac -d bin -cp lib/A.jar Test1.java
works okay but
javac -d bin -cp lib/BadSigned.jar Test1.java
just end without any message and generates no class file. The Java file seems not to be parsered at all.
the BadSigned.jar is mistaken generated by chance, that is contains .RSA .SF file mistaken copied from other jar file, so the jar is regarded as bad signed and cannot be loaded by ClassLoader.
javac should output some error message instead of exit silently.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) copy some META-INF/xxx.RSA META-INF/xx.SF from some signed jar to a not signed jar. so that make the jar bad signed.
2) include the bad signed jar in the javac -cp list.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
javac outputs some error message
ACTUAL -
javac exit quietly and not compiles anything.
REPRODUCIBILITY :
This bug can be reproduced always.