Community
Participate
Working Groups
Build Identifier: 201109282102 Cannot instantiate the type EAny, it's a abstract class. Reproducible: Always Steps to Reproduce: 1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs. 2. Add java generator to the project. 3. Clean the whole workspace. 4. The issue exists in: fvt.primitives.clnFlexRecord
We need to discuss this one with Tim. Here's the record. record clnFlexRecord aString string; anInt int; //anAny any; anAny any = ""; aDecimal decimal(9, 2); ts timeStamp; end The problem is in the method we generate to implement the "set record empty" statement. In RBD, when an Any field is set empty, we make it null. But this is EDT and that Any field isn't nullable. What should we do?
changing severity to what it should be
this seems to have been fixed by another defect. Please retest.
I Verified in build 20111020, the problem still exists.
There is no clnFlexRecord testcase that I can find. Please tell me what testcase you are trying to use.
I used build 20111023. In the directory "generatedJava", the problem exists in line 51 of fvt.primitives.clnFlexRecord.java. For the EGL part, it's a record which is located in fvt.primitives.TestDictionaryLib.egl
This issue still exists in: fvt.functioninvocation.TestFuncInvocation09Lib.java fvt.primitives.clnFlexRecord.java Please fix it, thanks.
fixed
Verified in build 20111108, it works fine.