Re: [mdr-users] Re: JDK 1.5 and JMI

Martin Matula <[email protected]> Fri, 04 Nov 2005 16:02:51 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
I meant that simply modifying the code to generate the stuff specific to 
JDK 1.5 uncommented out would most likely not be sufficient. I suspect 
there would need to be some changes made in the byte code generators. We 
do not have time and interest in doing that at this point.
If someone else would be willing to fork the code base and implement 
that, it is possible of course.
Martin

John V. Sichi wrote:
>>I know this would be useful. But it is not possible (and it would break
>>the JMI 1.0 compliance).
>>Martin
> 
> 
> When you say it's not possible, you mean there's a technical barrier?
> If so, what is it?  The difficulty of byte-code generation?
> 
> In other words, if someone brave forked the MDR codebase and didn't care
> about JMI compliance, would there be anything stopping them from
> implementing this feature?
> 
> 
>>John V. Sichi wrote:
>>
>>
>>>I notice in the generated classes that there is support for generics,
>>>but it's commented out:
>>>
>>>public java.util.List/*<net.sf.farrago.cwm.core.CwmFeature>*/
>>>getFeature();
>>>
>>>Is there any way to enable this for type-safe use with JDK 1.5?  I
>>>suppose JMI doesn't cover it, but it would be a very useful extension.
>>>
>>>JVS