Further investigation needed for few error messages for negative unicode tests in langtools regression ws

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b24
    • Verified

        During the creation of golden files for negative unicode tests in langtools regression ws(JDK-8044080), it was seen that javac generates different error messages for similar tests. This difference in error generation needs further investigation.

        Tests:
        tools/javac/unicode/NonasciiDigit2.java
        Error message:
        NonasciiDigit.java:12:26: compiler.err.illegal.char: \uff11
        1 error

        Test:
        tools/javac/unicode/NonasciiDigit.java
        Error message:
        NonasciiDigit2.java:12:18: compiler.err.illegal.nonascii.digit
        1 error

        Based on the review from Jon, the difference is arising from JavaTokenizer.scanFraction(). More information available in the review.

              Assignee:
              Jan Lahoda
              Reporter:
              Sonali Goel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: