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

Four classes export the ZipConstants constants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic


      The classes ZipEntry, ZipFile, ZipInputStream and ZipOutputStream all
      implement ZipConstants, which is a non-public interface.

      This means that these internal constants, which exist only for implementation
      reasons, are exposed in the public API. The constants have no documentation,
      and are not useful to the Java programmer.

      Strictly speaking, fixing this bug is an API change. However, it should not
      break any real programs. It is likely to break the Conformance test suite
      though...

      Generally speaking, we should weed out all cases where public classes implement non-public interfaces.

      ###@###.### 2001-10-08

            darcy Joe Darcy
            dbowensunw David Bowen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: