+1
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com Sent from my iPad > On Jan 29, 2015, at 7:02 PM, joe darcy <joe.da...@oracle.com> wrote: > > Hello, > > Please review the patch below to fix > > JDK-8071959: java.lang.Object uses implicit default constructor > > diff -r 458adf31ad5b src/java.base/share/classes/java/lang/Object.java > --- a/src/java.base/share/classes/java/lang/Object.java Thu Jan 29 > 15:14:44 2015 -0800 > +++ b/src/java.base/share/classes/java/lang/Object.java Thu Jan 29 > 16:00:03 2015 -0800 > @@ -42,6 +42,11 @@ > } > > /** > + * Constructs a new object. > + */ > + public Object() {} > + > + /** > * Returns the runtime class of this {@code Object}. The returned > * {@code Class} object is the object that is locked by {@code > * static synchronized} methods of the represented class. > > At present, java.lang.Object relies on the default constructor generated by > javac; how embarrassing! > > Thanks, > > -Joe