On Oct 4, 2012, at 11:34 AM, David Holmes <[email protected]> wrote: >> >>> These parts of the javadoc for get/setContextClassLoader are simply wrong. >>> >> >> Wrong or not because of such JavaDoc developers have been coding using TCCL >> with certain expectations of "null" different to that of just meaning the >> bootstrap CL. >> >> How would you propose to fix it? > > I don't see anything that actually needs fixing (apart from the javadoc). > Anyone using getCCL has to expect null as a possibility and they are then > free to proceed however they like. The obvious ways to proceed are as I > outlined earlier: > - use current classloader > - use system loader > - use bootstrap loader >
So you are proposing to widen the scope? since i interpret the current JavaDoc to correspond to only the latter two options. Paul.
