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

java.lang.instrument JAR manifest processing does not remove spaces from class names

XMLWordPrintable

    • b26
    • generic
    • generic
    • Verified

      Manifest:

        Manifest-Version: 1.0
        Premain-Class: agent

      Will fail saying that agent can't be found. I pounded my head against my screen for an hour trying to figure out what was wrong. Turns out it was looking for a class named " agent". The white-space processing for other JAR attributes should also be checked.

      ###@###.### 2005-05-23 01:30:24 GMT
      The following new test will fail without the fix for this
      bug in a promoted JDK:

          java/lang/instrument/ManifestTest.sh

            dcubed Daniel Daugherty
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: