Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure staticName() symbols represent static fields
Caller of Symbol::staticName typically assumes the underlying symbol represents a static field. However, the condition that guards the call currently only checks for a staic symbol, which is insufficient as other types like Constant Dynamic. Method Handle, Method Type all use static symbols. Use the correct check Symbol::isStaticField which precludes the above mentioned non-static field types. Signed-off-by: Yan Luo <[email protected]>
- Loading branch information