[ 
https://issues.apache.org/jira/browse/BCEL-297?focusedWorklogId=196976&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-196976
 ]

ASF GitHub Bot logged work on BCEL-297:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Feb/19 15:26
            Start Date: 11/Feb/19 15:26
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on pull request #20: [BCEL-297] 
Fix NPE in BCELComparator concrete implementations.
URL: https://github.com/apache/commons-bcel/pull/20
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 196976)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>          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