Community
Participate
Working Groups
Attached you find two plugin projects, jdo-impl contains the JDO data class JdoTest that needs byte code enhancement. I'm using the JPOX enhacer plugin (from www.jpox.org, latest version) to do that incrementally via an IncrementalProjectBuilder, but we internally have an almost identical JDO enhancer plugin for eclipse. jdo-impl is used by the plugin project jdo-user, the class TestMe contains a reference to the bytecode enhanced class JdoTest. With enabled Automatic build and Automatic JDO bytecode enhancement i do a clean. So far so good: everything compiles. Now i'm adding a newline to class TestMe and save it, so that it's recompiled. Now the compiler complains that it can't resolve the type JdoTest. With 3.2M4 the plugin worked without problems, starting with M5 it was broken. I suspect that the in memory java model reflects the source code and this will conflict with the bytecode enhanced class file, since the bytecode enhancer adds methods to the class and also adds an implements javax.jdo.PersistenceCapable.
Created attachment 39407 [details] Contains plugin projects showing the bug,. The jpox jdo enhancer plugin needs to be installed to show the problem!
Have you tried the latest nightly build? Please reopen if its not a duplicate of bug 135729 *** This bug has been marked as a duplicate of 135729 ***