[gatein-issues] [JBoss JIRA] (GTNPORTAL-3118) Portal Page Editor fails with IBM JDK

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Jun 13 07:15:55 EDT 2013


    [ https://issues.jboss.org/browse/GTNPORTAL-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781379#comment-12781379 ] 

RH Bugzilla Integration commented on GTNPORTAL-3118:
----------------------------------------------------

Lucas Ponce <lponce at redhat.com> made a comment on [bug 906487|https://bugzilla.redhat.com/show_bug.cgi?id=906487]

The WebUI layer uses hashCode() function for some UI components IDs.
The IBM JDK returns some negative hashCodes() for components where OpenJDK or SunJDK returns positive.
The drag and drop javascript module filters the "-" symbol for these elements, so when you have a negative ID the NPE is thrown.

I've fixed this one, forcing to have positive IDs for UI components.

I've performed several tests both with OpenJDK and IBM JDK and I can't reproduce the error with this patch.

PR sent attached in JIRA.

Lucas
                
> Portal Page Editor fails with IBM JDK
> -------------------------------------
>
>                 Key: GTNPORTAL-3118
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3118
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Lucas Ponce
>            Assignee: Lucas Ponce
>            Priority: Critical
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list