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

Constant fields introduced by JDK-4759491 fix in b94 are exposed as public fields in public API

    Details

    • Subcomponent:
    • Introduced In Build:
      b94
    • Introduced In Version:
      8
    • Resolved In Build:
      b108
    • Verification:
      Not verified

      Description

      JDK-4759491 fix has introduced in b94 following changes in public API.
      Namely, following public fields have appeared in java.util.zip.ZipConstants interface:

       /*
        * Extra field header ID
        */
      static final int EXTID_ZIP64 = 0x0001; // Zip64
      static final int EXTID_NTFS = 0x000a; // NTFS
      static final int EXTID_UNIX = 0x000d; // UNIX
      static final int EXTID_EXTT = 0x5455; // Info-ZIP Extended Timestamp

      This affects following classes implementing directly or indirectly java.util.zip.ZipConstants interface:
      - class java.util.jar.JarEntry;
      - class java.util.jar.JarFile;
      - class java.util.jar.JarInputStream;
      - class java.util.jar.JarOutputStream;
      - class java.util.zip.ZipEntry;
      - class java.util.zip.ZipFile;
      - class java.util.zip.ZipInputStream;
      - class java.util.zip.ZipOutputStream;

      As a result classes above has obtained public fields shown above.

      JCK assumes that this needs to be CCC approved.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                grakov Georgiy Rakov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: