Project

General

Profile

Bug #2277

Wrong conversion of session handler

Added by Evgeny Kiselev about 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/31/2014
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Evgeny Kiselev about 10 years ago

If code spits like this:

def var hHandle as handle no-undo.
hHandle = session.
hHandle = hHandle:first-child.

Then conversion works fine and java code is correct.

#2 Updated by Greg Shah about 10 years ago

  • Description updated (diff)

Next 4gl code produce uncompilable java code:

def var hHandle as handle no-undo.
hHandle = session:first-child.

Java code:

handle hHandle = new handle();

public void body()
{
    hHandle.assign();
}

Also available in: Atom PDF