Skip to content
Success

Changes

Summary

  1. Bug 580562 - [Papyrus4Manufacturing] Bug with static nested classes in (details)
Commit c6708fd496316af85cdd04127e99336093f9810e by Moritz Marseu
Bug 580562 - [Papyrus4Manufacturing] Bug with static nested classes in
DynamicElementsWorkspace

I've located the piece of code where things go wrong.
The problem lies in the part where the compilation unit is parsed and as
soon as any nested or anonymous type is part of it, the recursive
examineChildren() method goes a little nuts and deletes operations.

I've tried to fix it by switching the two if statements around: No it
examines for IType first, before drilling down into IParent. And the
processing steps as soon as the first IType is found.
I'm sure there are other issues with this fix, so I'm looking forward to
your review.

Signed-off-by: Moritz Marseu <moritz.marseu@festo.com>
Change-Id: Ib81ad1aefcf5cb4e105ed0ea4fa992adc7296826
The file was modified aas/plugins/modeling/org.eclipse.papyrus.designer.languages.java.jdt.texteditor/src/org/eclipse/papyrus/designer/languages/java/jdt/texteditor/sync/SyncJDTtoModel.java