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

Incorrect check of package in Line.Info.toString()

    XMLWordPrintable

Details

    • b15
    • generic
    • generic

    Description

      The Line.Info.toString() has this check for the system package:
       328 String fullPackagePath = "javax.sound.sampled.";
       329 String initialString = new String(getLineClass().toString());
       332 int index = initialString.indexOf(fullPackagePath);
       334 if (index != -1) {

      This check accepted packages which are not system packages, like this:
      "bug.javax.sound.sampled"

      Attachments

        Issue Links

          Activity

            People

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: