Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8061549 Disallow _ as a one-character identifier
  3. JDK-8065998

Avoid use of _ as a one-character identifier

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b42

      Backports

        Description

        As a preparation for JDK-8061549, use of '_' as a one-character identifier should be avoided in JDK. The list of files in JDK (except for langtools) that use the identifier:
        jaxp/test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969089.java
        jaxp/test/javax/xml/jaxp/unittest/javax/xml/xpath/Bug4991857.java
        jdk/test/java/util/EnumSet/BogusEnumSet.java
        jdk/test/java/lang/Class/TypeCheckMicroBenchmark.java
        jdk/test/java/lang/ProcessBuilder/Zombies.java
        jdk/test/java/lang/invoke/6998541/Test6998541.java
        jdk/test/java/io/readBytes/MemoryLeak.java

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: