mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8224174: java.lang.Number has a default constructor
Reviewed-by: rriggs, bpb
This commit is contained in:
parent
4b7ada1a92
commit
867d84d731
1 changed files with 5 additions and 0 deletions
|
@ -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}.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue