Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6250871

REGRESSION: zip file processing is corrupt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • core-libs

      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

            Unassigned Unassigned
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: