8230723: Remove default constructors from java.lang and java.io

Reviewed-by: bpb, rriggs
This commit is contained in:
Joe Darcy 2019-09-09 10:13:42 -07:00
parent c84e19f3ca
commit 10f1f10f2e
10 changed files with 54 additions and 4 deletions

View file

@ -1321,6 +1321,10 @@ public class ObjectInputStream
* Provide access to the persistent fields read from the input stream.
*/
public abstract static class GetField {
/**
* Constructor for subclasses to call.
*/
public GetField() {}
/**
* Get the ObjectStreamClass that describes the fields in the stream.