[jira] [Created] (XBEAN-294) Proper string equality check

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (XBEAN-294) Proper string equality check

Romain Manni-Bucau (Jira)
Kaloyan Spiridonov created XBEAN-294:
----------------------------------------

             Summary: Proper string equality check
                 Key: XBEAN-294
                 URL: https://issues.apache.org/jira/browse/XBEAN-294
             Project: XBean
          Issue Type: Bug
            Reporter: Kaloyan Spiridonov
            Priority: Trivial


In MethodOptimizer class in visitMethodInsn method there are comparing of strings with "==" (initDesc == "(J)V" || initDesc == "(D)V") instead of .equals()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)