| Summary: | Wrong generated generic type | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Serano Colameo <serano.colameo> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow, sven.efftinge |
| Version: | 2.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The Java code seems to be valid. could you please provide more information? If there is a compilation error, maybe you should have a compile time error as well? Serano, did you try to compile the sources with a compliance level Java 1.4 or against a Java 1.4 JDK? For now I close this one as works_for_me. Please reopen and provide more information of the problem persists. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Build Identifier: Xtext 2.0.1 xtend2: override String getLoggerName() { getClass().canonicalName } java: public String getLoggerName() { Class<? extends Object> _class = this.getClass(); String _canonicalName = _class.getCanonicalName(); return _canonicalName; } [java] 2188 INFO IcmWorkflowComponent - MCPWorkflowComponent invoked [java] 2235 ERROR Mwe2Launcher - Problems running workflow mdgen.icm.generator.wf.Idl2Icm2JavaGenerator: Guice provision errors: [java] 1) Error injecting constructor, java.lang.Error: Unresolved compilation problem: [java] The type Class is not generic; it cannot be parameterized with arguments <? extends Object> [java] at mdgen.icm.generator.util.IcmGeneratorExtensions.<init>(IcmGeneratorExtensions.java:52) [java] while locating mdgen.icm.generator.util.IcmGeneratorExtensions [java] for field at mdgen.icm.generator.ejb21.xjcb.XjcbCommon.icmGenExt(XjcbCommon.java:25) Reproducible: Always Steps to Reproduce: 1. see details 2. 3.