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

com.sun.java.util.jar.pack.Driver has dead/broken code handling empty delimiter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 7u201, 8u192, 11.0.1, 12
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      Handling of empty specarg delimiter appear broken.

      com.sun.java.util.jar.pack.Driver - lines 696-702:

                                  String old = properties.get(opt);
                                  if (old != null) {
                                      // Append new val to old with embedded delim.
                                      String delim = specarg;
                                      if (delim.length() == 0) delim = " ";
                                      strval = old + specarg + strval;
                                  }

        Attachments

          Activity

            People

            • Assignee:
              mtrudeau Michel Trudeau
              Reporter:
              redestad Claes Redestad
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: