mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
natString.cc (intern): If string's data does not point to this String, make a fresh String that does.
* java/lang/natString.cc (intern): If string's data does not point to this String, make a fresh String that does. * java/lang/natString.cc (unintern): Replace by static function. * java/lang/String.java (unintern): Remove method. From-SVN: r40990
This commit is contained in:
@@ -347,6 +347,5 @@ public final class String implements Serializable, Comparable
|
||||
private native void init (byte[] chars, int hibyte, int offset, int count);
|
||||
private native void init (byte[] chars, int offset, int count, String enc)
|
||||
throws UnsupportedEncodingException;
|
||||
private static native void unintern (Object obj);
|
||||
private static native void rehash ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user