natString.cc (intern): Temporarily disable finalizer registration.
* java/lang/natString.cc (intern): Temporarily disable finalizer registration. From-SVN: r33127
This commit is contained in:
parent
045a1f9d31
commit
cc309dd512
@ -1,5 +1,8 @@
|
||||
2000-04-12 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/lang/natString.cc (intern): Temporarily disable finalizer
|
||||
registration.
|
||||
|
||||
* java/lang/natString.cc (unintern): Added `obj' argument.
|
||||
(intern): Register finalizer for string.
|
||||
* java/lang/String.java (unintern): Now static; added obj
|
||||
|
@ -154,7 +154,7 @@ java::lang::String::intern()
|
||||
strhash_count++;
|
||||
*ptr = this;
|
||||
// When string is GC'd, clear the slot in the hash table.
|
||||
_Jv_RegisterFinalizer ((void *) this, unintern);
|
||||
// _Jv_RegisterFinalizer ((void *) this, unintern);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user