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

REGRESSION: Unicode escape processing is redone

XMLWordPrintable

    • 04
    • sparc
    • solaris_7, solaris_8



        Name: rmT116609 Date: 05/13/2003


        FULL PRODUCT VERSION :
        java version "1.4.2-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
        Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)


        FULL OS VERSION :
        SunOS pantar 5.7 Generic_106541-17 sun4u sparc SUNW,Ultra-4


        A DESCRIPTION OF THE PROBLEM :
        Contrary to JLS 3.3, processed unicode escapes are used for further unicode escape processing.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Compile source code below

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        No error message
        ACTUAL -
        Uniesc.java:1: illegal unicode escape
        /* \u005cu */
                ^
        1 error


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        /* \u005cu */

        ---------- END SOURCE ----------

        Release Regression From : 1.4.1_02
        The above release value was the last known release where this
        bug was known to work. Since then there has been a regression.

        (Review ID: 185689)
        ======================================================================

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: