United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6474890 javap does not open .zip files in -classpath
JDK-6474890 : javap does not open .zip files in -classpath

Details
Type:
Bug
Submit Date:
2006-09-25
Status:
Closed
Updated Date:
2011-05-17
Project Name:
JDK
Resolved Date:
2011-05-17
Component:
tools
OS:
windows_xp
Sub-Component:
javap
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.6.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-beta-b59g)
Java HotSpot(TM) Client VM (build 1.6.0-beta-b59g, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
I'm using a signed jar file named xxx.zip
When calling

  javap -classpath xxx.zip MyClass

I get a message

ERROR: could not find MyClass

However after renaming the file to xxx.jar and calling

  javap -classpath xxx.jar MyClass

It works fine.
It is reproducible with large signed jar files (>2MB) but seems to work fine with small, unsigned files

REGRESSION.  Last worked in version mustang


REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

This bug was introduced in jdk 1.4.2.
                                     
2006-09-28
EVALUATION

Will be fixed by new javap, reusing javac file manager.
                                     
2007-11-01



Hardware and Software, Engineered to Work Together