aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-06-09 22:03:57 -0700
committerCarl Shapiro <cshapiro@google.com>2011-06-09 22:03:57 -0700
commit00feda9a6a12b3a894fbe10876636973d2a03ac2 (patch)
tree9892daa77aaedc54fd54088e60c02b3e46ac5305 /vm/compiler/codegen/CompilerCodegen.h
parentc0ad55114857ec38000afd30b9fe60e7ea8e1398 (diff)
Fix an issue regarding FindClass and threads without native methods.
Chapter 4 of the JNI specification states that when FindClass is called through the Invocation Interface and there is no associated method, the result of ClassLoader.getBaseClassLoader() is used as the class loader. Previously, the case where FindClass is called from a main thread was special cased to ensure this behavior. However, threads which attach to the VM but are not the main thread require similar treatment. With this change those threads are similarly treated as a special case. Change-Id: Idbe33e02a10d248262b9e9f089b033ffe05c4706
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions