JDK-6250871 : REGRESSION: zip file processing is corrupt
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-04-05
  • Updated: 2010-04-02
  • Resolved: 2005-04-05
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b25)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b25, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft (R) Windwos
Version 5.0 (Build 2195: Service Pack 4)


EXTRA RELEVANT SYSTEM CONFIGURATION :
Eclipse 3.1M5a

A DESCRIPTION OF THE PROBLEM :
If I run eclipse with the java 1.6 then the source attachmet feature doesn't seem to work. That is to say if I try and look at the source for java.lang.String through the IDE it doesn't show up. I suspect this is because java has problems dealing with zip files. It is trying to look up the source for java.lang.String in src.zip that comes with the JDK. This was not happening with build 24 and it doesn't happen if I run with java 1.5.0_01. There is a fix that came in to build 25 which may be responsible:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4770745

REGRESSION.  Last worked in version mustang

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run eclipse with Java 1.6
2. Create a dummy project
3. Press Ctrl+Shift+T
4. open java.lang.String
5.  observe the source code isn't showing

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the source code should show.
ACTUAL -
no error is reported anywhere and the source isn't showing

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Use Java 1.5.0_01

Release Regression From : 5.0
The above release value was the last known release where this 
bug was known to work. Since then there has been a regression.
###@###.### 2005-04-05 18:21:44 GMT