diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TExternalizable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TExternalizable.java new file mode 100644 index 000000000..c79af271c --- /dev/null +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TExternalizable.java @@ -0,0 +1,23 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.teavm.classlib.java.io; + +/** + * + * @author Alexey Andreev + */ +public interface TExternalizable { +} diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java index 3bb4bb95f..f50977e12 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java @@ -504,6 +504,21 @@ public class TString extends TObject implements TSerializable, TComparable