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

use non-identifier character in synthetic names

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • tools
    • tiger
    • generic
    • solaris_8

      When javac generates synthetic names, it should draw them from the set
      of identifiers that users can't use. In 1.5, the VM spec allows the use
      of most unicode characters in identifiers, even though those characters
      aren't accepted in Java programs.

      For example, instead of using names like this$0 and val$xyzzy, we could
      name the synthetics this#0 and val#xyzzy.

            gafter Neal Gafter (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: