Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-3307

[classlib][compatibility] String initialized with unicode simbol is prrinted differently on drlvm and RI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Advanced

    Description

      If one initializes String with value containing unicode simbol (\uxxxx) then it is printed differently on drlvm and RI.
      Code:
      String ss = "dir\u3400";
      System.out.println(ss);

      Output.
      sun: dir?
      drlvm: dir->

      Attachments

        1. Test.java
          0.6 kB
          Aleksey Ignatenko

        Issue Links

          Activity

            People

              zakha Alexei Zakharov
              aleksey.ignatenko@gmail.com Aleksey Ignatenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: