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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 7u201, 8u192, 11.0.1, 12
    • core-libs
    • None

      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;
                                  }

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

              Created:
              Updated: