8177136: Caller sensitive method System::getLogger should specify what happens if there is no caller on the stack

IllegalCallerException (instead of undocumented NPE) is thrown if there is no caller on the stack. The specification is clarified in this respect.

Reviewed-by: alanb, mchung, dholmes, bchristi
1 file changed