RFR (S) 8144491 ElfSymbolTable::lookup returns bad value
ioi.lam at oracle.com
Wed Dec 2 14:30:35 UTC 2015
Please review a small fix:
Bug: ElfSymbolTable::lookup returns bad value when the lookup has failed
Summary of fix:
I found this when trying to make disassembler.cpp print out more
information for PrintInterpreter.
The fix is straight-forward -- if the lookup fails,
should return false.
The only caller to ElfSymbolTable::lookup is ElfFile::decode(), so
else would depend on the old (bad) behavior of ElfSymbolTable::lookup.
I also took the chance to refactor lookup is ElfFile::decode() to
two blocks of identical code into a new function,
RBT (hotspot/test/:hotspot_all) <-- what other tests should I run?
More information about the hotspot-dev