You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/10/17 13:25:00 UTC

[jira] [Commented] (OPENJPA-2917) Subclass enhancement might fail on long fields

    [ https://issues.apache.org/jira/browse/OPENJPA-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776214#comment-17776214 ] 

ASF subversion and git services commented on OPENJPA-2917:
----------------------------------------------------------

Commit 815ef2349f5857f1ad017020d6d84f60261839cd in openjpa's branch refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=815ef2349 ]

OPENJPA-2917 fix off-by-1 issue on java stack

long parameters take up 2 byte on the call stack


> Subclass enhancement might fail on long fields
> ----------------------------------------------
>
>                 Key: OPENJPA-2917
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2917
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: Enhance
>    Affects Versions: 4.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 4.0.0
>
>
> When using subclass enhancement we fail on certain long field scenarios as we had a fixed offset stack calculation instead of taking into account that long uses 2 bytes on the stack. This just affects the new ASM based enhancement.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)