Community
Participate
Working Groups
Please fix PR 22306 on 2.0.2 stream.
I suspect it is getting late for 2.0.2
The fix is trivial. It is already done in 2.1 stream since the 9th of September 2002.
Unfortunately, 2.0.2 is frozen already (unless a critical defect was found). I don't think this one qualifies as critical.
Olivier - is there a work-around for this one ? Would source positions be 0 for such an implicit constructor call or something like that ?
There is no real workaround. In 2.0.2 stream, an implicit super will have the same starting position than the name of the corresponding constructor declaration. The fix consists in replacing: if (explicitConstructorCall != null)... with: if (explicitConstructorCall != null && explicitConstructorCall.accessMode != ExplicitConstructorCall.ImplicitSuper) .... in the ASTConverter.convert(AbstractMethodDeclaration methodDeclaration).
Is the access mode indicating it is an ImplicitSuper on the DOM AST side ?
No, because an implicit super call should not be a node in the DOM/AST tree.
Closing, source positions are to be checked to tell the difference until the proper fix is made (it is in 2.1 stream). Source positions would correspond to the constructor name. Closing.