8224174: java.lang.Number has a default constructor

Reviewed-by: rriggs, bpb
This commit is contained in:
Joe Darcy 2019-05-20 10:16:45 -07:00
parent 4b7ada1a92
commit 867d84d731

View File

@ -53,6 +53,11 @@ package java.lang;
* @since 1.0
*/
public abstract class Number implements java.io.Serializable {
/**
* Constructor for subclasses to call.
*/
public Number() {super();}
/**
* Returns the value of the specified number as an {@code int}.
*