| Summary: | Xcore's Jvm inference does not handle multiplicity above 1 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Hallvard Traetteberg <hal> | ||||
| Component: | Tools | Assignee: | Ed Merks <Ed.Merks> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Hallvard Traetteberg
Created attachment 201274 [details]
Patch for bug
To handle upper bounds above 1 we need a method for creating a type reference for typed elements, not just the type. The implementation wraps the type in an EList reference, if the upper bounds is > 1.
I could not seem to apply this patch. I had a look though. I think it's the same as what I'd planned, i.e., call getType rather than work directly with the EGenericType. That will take into account whether EList is suppressed to List and other funky things. I've committed those changes to git. It's available in Git. |