Code review request: 7151348: Build breaks due to warning clean up in sun.rmi.*(7146763)

Stuart Marks stuart.marks at oracle.com
Tue Mar 6 06:52:27 UTC 2012


On 3/5/12 5:33 PM, Stuart Marks wrote:
> Actually I think I see the problem. In the original changeset,
> sun/rmi/rmic/Main.java was changed as follows:
>
> - environmentClass = envClass;
> + environmentClass = BatchEnvironment.class.asSubclass(environmentClass);
>
> This should have been
>
> + environmentClass = BatchEnvironment.class.asSubclass(envClass);

... Which won't even compile. Instead it probably should have been:

+ environmentClass = envClass.asSubclass(BatchEnvironment.class);

Whoops. OK, at least now we know how to run boot cycle builds. :-)

s'marks



More information about the core-libs-dev mailing list