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

src.zip should include all sources

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17

      Backports

        Description

        The src.zip file produced in an OpenJDK build contains the code for a subset of the Java class library. Developers who wish to debug their program and step into the source of a class that's part of the Java class library are often disappointed when they find that their IDE can not do that because src.zip does not include the source for the class.

        There are various workarounds for this that involve using a src.zip that's not supplied by OpenJDK:
        - Projects like jdk7src [1] exist to provide a complete src.zip
        - Projects like IcedTea [2] patch OpenJDK to produce a complete src.zip

        However, it seems to me that the simplest fix is to get OpenJDK to produce a more complete src.zip in the first place.

        [1] http://jdk7src.sourceforge.net/
        [2] http://icedtea.classpath.org/hg/icedtea7-forest/jdk/rev/ccf86bbc61fd

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                omajid Omair Majid
                Reporter:
                omajid Omair Majid
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: