Proguard fucks up if we use clone(). There's no apparent way to find out why it
magically booches and causes an IncompatibleClassChangeError, so we're just going to work around it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4008 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -377,7 +377,8 @@ public class DSet
|
||||
{
|
||||
try {
|
||||
DSet nset = (DSet)super.clone();
|
||||
nset._entries = (Entry[])_entries.clone();
|
||||
nset._entries = new Entry[_entries.length];
|
||||
System.arraycopy(_entries, 0, nset._entries, 0, _entries.length);
|
||||
nset._modCount = 0;
|
||||
return nset;
|
||||
} catch (CloneNotSupportedException cnse) {
|
||||
|
||||
Reference in New Issue
Block a user