Reviewer and committer request for 7198496 (original) (raw)
Paul Sandoz paul.sandoz at oracle.com
Thu Oct 4 09:53:17 UTC 2012
- Previous message: Reviewer and committer request for 7198496
- Next message: Reviewer and committer request for 7198496
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 4, 2012, at 11:34 AM, David Holmes <david.holmes at oracle.com> 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.
- Previous message: Reviewer and committer request for 7198496
- Next message: Reviewer and committer request for 7198496
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]