jar tool does,nt gives any exception when we try to extract a tar file. and also it does,nt extracts a tar file. We expect it to throw some kind of non-compatible file type Exception or something of that kind.
Steps to reproduce the problem
-------------------------------
set PATH=jdk1.4
tar -cvf a.tar *.java
jar -xvf a.tar
***does'nt produces any output and the tool exits
Steps to reproduce the problem
-------------------------------
set PATH=jdk1.4
tar -cvf a.tar *.java
jar -xvf a.tar
***does'nt produces any output and the tool exits
- duplicates
-
JDK-4361734 jar should throw exception when working with invalid Jar files
-
- Closed
-