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

java.io.StreamTokenizer could support tokenizing Java literal constants

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description

      There should be direct ways to decode a string containing a java-style
      integer, floating point, character, and boolean constants (0xff, 10.3f,
      \\n, true, etc.). Currently you can do this for integers by inserting
      the string as the value of a system property and then using
      Integer.getInteger(String) to decode it, but this is quite awkard. I
      haven't found a way to do this for any of the other types.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: