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

StringTokenizer.nextToken("") failing.

    • kestrel
    • sparc
    • solaris_2.6
    • Verified

      Build : fcs 'I' (worked in 'E' failed in 'F')
      applet : ImageMap (jdk1.3/demo/applets/ImageMap/ImageMapArea.java)

      In this applet, this value="SoundArea,1,2,3,4,audio/hi.au") passed from HTML got properly tokenized with StringTokenizer.nextToken("") but in between the builds mentioned above the ("") no longer tokenizes properly and must use ().

      The outcome of this bug is it breaks backward compatibility to v1.1 applet along with ImageMap applet distributed along with 1.3 fcs.

      No sound gets generated/loaded due to mis-tokenized URL.

      Location of the culprit:
      ImageMapArea.java line:97
          handleArg(st.nextToken(""));


            mmcclosksunw Michael Mccloskey (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: