RFR 8064924: Update java.net.URL to work with modules

Alan Bateman Alan.Bateman at oracle.com
Wed Feb 4 15:45:50 UTC 2015


On 04/02/2015 15:10, Weijun Wang wrote:
> It should be checked, otherwise a non-initialized parent object comes 
> into being.
In general then permission checks in constructors are a bad idea but we 
have an established idiom that has the no-arg constructor invoking a 
static method that does the permission check.

-Alan



More information about the core-libs-dev mailing list