OpenJDK 11: Merging in java.net.Socket, SocketImpl, SocketOptions, & StandardSocketOptions
Test: m
Change-Id: I175c7f053ee7a306d904ca5f164e244669c51881
diff --git a/lint-baseline.xml b/lint-baseline.xml
index 7153731..e5b4d38 100644
--- a/lint-baseline.xml
+++ b/lint-baseline.xml
@@ -136,6 +136,28 @@
<issue
id="NewApi"
+ message="Field requires API level 33 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/DatagramSocketImpl.java"
+ line="288"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Field requires API level 33 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/DatagramSocketImpl.java"
+ line="333"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
errorLine1="class FieldVarHandle extends VarHandle {"
errorLine2=" ~~~~~~~~~">
@@ -202,6 +224,28 @@
<issue
id="NewApi"
+ message="Field requires API level 33 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/SocketImpl.java"
+ line="400"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Field requires API level 33 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/SocketImpl.java"
+ line="443"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
message="Class requires API level 33 (current min is 31): `java.security.cert.URICertStoreParameters`"
errorLine1=" if (p == null || (!(p instanceof URICertStoreParameters))) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -362,6 +406,28 @@
<issue
id="NewApi"
+ message="Field requires API level 32 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/DatagramSocketImpl.java"
+ line="288"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Field requires API level 32 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/DatagramSocketImpl.java"
+ line="333"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
errorLine1="class FieldVarHandle extends VarHandle {"
errorLine2=" ~~~~~~~~~">
@@ -428,6 +494,28 @@
<issue
id="NewApi"
+ message="Field requires API level 32 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/SocketImpl.java"
+ line="400"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Field requires API level 32 (current min is 31): `java.net.StandardSocketOptions#SO_REUSEPORT`"
+ errorLine1=" } else if (name == StandardSocketOptions.SO_REUSEPORT &&"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="libcore/ojluni/src/main/java/java/net/SocketImpl.java"
+ line="443"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="NewApi"
message="Class requires API level 32 (current min is 31): `java.security.cert.URICertStoreParameters`"
errorLine1=" if (p == null || (!(p instanceof URICertStoreParameters))) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">