[ 
https://issues.apache.org/jira/browse/BCEL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory resolved BCEL-297.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 6.4

In git master. Please verify and close.

> Possible NPE in override implementation of Object.equals
> --------------------------------------------------------
>
>                 Key: BCEL-297
>                 URL: https://issues.apache.org/jira/browse/BCEL-297
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Mark Roberts
>            Priority: Minor
>             Fix For: 6.4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> classfile/JavaClass.java: 
> classfile/Field.java: 
> classfile/Constant.java:  
> classfile/Method.java:  
> generic/FieldGen.java:   
> generic/MethodGen.java:  
> all define a bcelComparator that overrides Object.equals.  However, they will 
> throw a null pointer exception for myConstant.equals(null) instead of 
> returning false.  This non-standard behavior should either be corrected or 
> documented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to