diff options
| author | Jesse Wilson <jessewilson@google.com> | 2011-08-14 16:58:51 -0400 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2011-08-14 18:18:30 -0400 |
| commit | 560d3756e9a8e95ed3aba6043118e89f87966522 (patch) | |
| tree | 98795e90c9fdf2fbbf8c1346ede67ddc961fd01e /annotations/generate_annotated_java_files.py | |
| parent | cf216b0bb538b3e555af205f4fad8064331b9265 (diff) | |
Don't use getClassContext() to get the calling classes.
This weird, surprising behavior used the entire call stack as
context to lookup resources. This is the wrong solution to the
problem; context class loader is the right solution. And the
code is already using context class loader.
This change prevents some tests from failing with an NPE when
iterating the null class context.
Change-Id: Ic2419dc22f66a4fa8cceaee4746ef1a6d7d4680c
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
