< prev index next >
src/java.base/share/classes/java/net/URLPermission.java
Print this page
*** 149,158 ****
--- 149,159 ----
*
* @since 1.8
*/
public final class URLPermission extends Permission {
+ @java.io.Serial
private static final long serialVersionUID = -2702463814894478682L;
private transient String scheme;
private transient String ssp; // scheme specific part
private transient String path;
*** 503,512 ****
--- 504,514 ----
}
/**
* restore the state of this object from stream
*/
+ @java.io.Serial
private void readObject(ObjectInputStream s)
throws IOException, ClassNotFoundException {
ObjectInputStream.GetField fields = s.readFields();
String actions = (String)fields.get("actions", null);
< prev index next >