Bug #4620
Direct Java conversion fails for arrays of objects
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
Related issues
History
#1 Updated by Hynek Cihlar about 4 years ago
The following piece of code fails to convert.
using java.awt.* from java. using java.lang.* from java.def var gEnv as GraphicsEnvironment. def var availableFonts as String extent. gEnv = GraphicsEnvironment:getLocalGraphicsEnvironment(). availableFonts = gEnv:getAvailableFontFamilyNames().
The problematic part is the String array.
#2 Updated by Hynek Cihlar about 4 years ago
- File JavaClassDefinition.java.diff added
The attached diff resolves the conversion error, but the resulting Java code does not compile. The issue will need more investigation.
#3 Updated by Greg Shah about 4 years ago
- Related to Feature #3867: direct java class access from 4GL code added