Re: I'm annoyed



Lew <lew@xxxxxxxxxxxxx> wrote:
"Mike Schilling" wrote:
Excpet that it didn't happen "as part of a normal method call or as
part of creating a new instance using the new expression"
Except that it did happen as part of a normal method call.

The only method call, that could itself (not the method, but the call)
cause a class to be loaded, (and that furthermore I can currently think
of) would be a static method on a class that wasn't yet loaded before,
but a static method call isn't a "normal method call" in my own
dictionary.

Then there's of course also the trivial possibility of a
method (of an already loaded class) like loadClass()
explicitly throwing that exception ... that should rather
be referred to as "as part of a normal throws-clause",
not "as part of a normal method call".

Just trying to put my finger on what appears to me the root
confusion...

.