Skip to content

Commit e9bd081

Browse files
authored
Remove incorrect PolyAll. (openjdk#15)
1 parent 4b82cac commit e9bd081

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/java.base/share/classes/java/lang/String.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import org.checkerframework.dataflow.qual.SideEffectFree;
5050
import org.checkerframework.framework.qual.AnnotatedFor;
5151
import org.checkerframework.framework.qual.CFComment;
52-
import org.checkerframework.framework.qual.PolyAll;
5352

5453
import java.io.ObjectStreamField;
5554
import java.io.UnsupportedEncodingException;
@@ -3232,7 +3231,7 @@ public static String valueOf(double d) {
32323231
* @jls 3.10.5 String Literals
32333232
*/
32343233
@Pure
3235-
public native @Interned @PolyAll @SameLen({"this"}) String intern(@PolyAll String this);
3234+
public native @Interned @SameLen({"this"}) String intern(String this);
32363235

32373236
/**
32383237
* Returns a string whose value is the concatenation of this

0 commit comments

Comments
 (0)