Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] Operation only supported in JLS8 and later when using AddUnimplementedMethodsOperation on Java 1.4 code

Hi guys,

can you help me with the following problem:
During the Java EE smoke tests, I have stumbled upon a strange behavior, when I try to create XDoclet Enterprise Bean I got the UnsupportedOperationException Operation only supported in JLS8 and later.
Looking at the code for me it looks like that this is happening during AddUnimplementedMethodsOperation, when calling ImportReferencesCollector, which calls annotations() method, which throws the exception (see the exception in the bug). Once again we are working with Java 1.4 level of compliance for these projects. 

Is this a bug, or should we adopt or change something?

thanks,
Dimitar

Back to the top