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

Make java.net.JarURLConnection fields final

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • core-libs
    • b16

      The java.net.JarURLConnection fields jarFileURL and entryName are prime candidates for being final, but are not so because of the way the constructor calls out to the parseSpec method.

      The parseSpec method should be inlined into the constructor with field parsing extracted into separate methods.

      There are also several stale code and method comments in this code,.

            eirbjo Eirik Bjørsnøs
            eirbjo Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: