fp.bugs<1690>code crashes the interpreter

XMLWordPrintable

    • 1.0beta
    • sparc
    • solaris_2.3
    • Not verified

      cedar!###@###.###

      Apparently the clone() method isn't good for copying an array , at least not at
      the moment.
      Code frag:
      class Clone {
      > public static void main(String argv[]) {
      > String s[] = new String[10];
      > String t[] = (String[]) s.clone();
      > t[0] = "hello";
      > }
      > }
      crashes the interpreter

            Assignee:
            Frank Yellin (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: