src/share/classes/com/sun/tools/javac/util/UnsharedNameTable.java

changeset 1772
824932ecdbc8
parent 816
7c537f4298fb
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/com/sun/tools/javac/util/UnsharedNameTable.java	Tue May 21 12:00:29 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/javac/util/UnsharedNameTable.java	Tue May 21 11:41:21 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -125,8 +125,6 @@
    1.11          System.arraycopy(cs, start, bytes, 0, len);
    1.12          n = new NameImpl(this, bytes, index++);
    1.13  
    1.14 -        System.arraycopy(cs, start, n.bytes, 0, len);
    1.15 -
    1.16          HashEntry newEntry = new HashEntry(n);
    1.17  
    1.18          if (previousNonNullTableEntry == null) { // We are not the first name with that hashCode.

mercurial