Hi,

It was brought to my attention that CodeSource.getLocation()
might return null. The javadoc is not very clear on the subject,
leading me to believe it could not.

Here is a trivial change (with some trivial additional cleanup)
that adds guards against null before calling
getLocation().toString();

http://cr.openjdk.java.net/~dfuchs/webrev_8129956/webrev.00/

best regards,

-- daniel

Reply via email to