Why hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters in Open JDK?

Solution Verified - Updated -

Issue

  • SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
  • Can't use the SA if the target application contains a symbol which uses a non-ascii character.
  • The SA tool will fail with an error, the JVM itself and the SA having calculated different hashes for
    such Strings.

Environment

  • Red Hat Enterprise Linux 6
  • java-1.7.0-openjdk

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.