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

fp.bugs<1690>code crashes the interpreter

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0beta
    • CPU:
      sparc
    • OS:
      solaris_2.3
    • Verification:
      Not verified

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: