org.eclipse.draw2d.IFigure decares an inner class NoInsets, then later on instantiates that class and assigns it to member NO_INSETS.
In code compiled by j2s, corresponding IFigure.js should declare inner class NoInsets before it instantiates it and assigns it to member NO_INSETS.
The declaration and assignment happens in the wrong order.
Perhaps the correct behaviour is to always perform inner class declarations before setting up class members. What could go wrong with that?
Log in to post a comment.