[
https://issues.apache.org/jira/browse/OPENJPA-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim McConnell updated OPENJPA-1315:
-----------------------------------
Description: The org.apache.openjpa.persistence.QueryImpl hashcode()
implementation does not ensure that recursive invocations of hashcode() on
object(s) in that method will not result in a NullPointerException. I.e., in
this specific case it does not check whether _query is null, and it should
since there is no guarantee that _query will always be non-null.
Patch Info: [Patch Available]
> org.apache.openjpa.persistence.QueryImpl
> ----------------------------------------
>
> Key: OPENJPA-1315
> URL: https://issues.apache.org/jira/browse/OPENJPA-1315
> Project: OpenJPA
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Tim McConnell
> Assignee: Tim McConnell
> Priority: Minor
> Fix For: 2.0.0
>
>
> The org.apache.openjpa.persistence.QueryImpl hashcode() implementation does
> not ensure that recursive invocations of hashcode() on object(s) in that
> method will not result in a NullPointerException. I.e., in this specific case
> it does not check whether _query is null, and it should since there is no
> guarantee that _query will always be non-null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.