javac cannot find unicode named binary classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0, 1.2.1
    • Component/s: tools
    • None
    • generic, sparc
    • generic, solaris_2.6

      % cat cm1.java
      class cm1 {
      }
      //
      class \u6f22\u5b57 {
      }
      % cat cm2.java
      class cm2{
          public static void main(String args[]){
              new \u6f22\u5b57();
          }
      }
      % javac cm1.java
      % rm cm1.java
      % javac cm2.java
      cm2.java:3: Class ?? not found.
              new \u6f22\u5b57();
                  ^
      1 error
      %

      ----------------------------------

      Problem seems to be in:

          public void loadDefinition(ClassDeclaration c) {
      ...
      Identifier nm = c.getName();
      ...
      ClassFile binfile = pkg.getBinaryFile(nm.getName());


      robert.field@Eng 1999-02-25

            Assignee:
            Iris Clark
            Reporter:
            Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: