Community
Participate
Working Groups
200406111814 - setup as of bug 65234 comment 0, Package Explorer flat, all filters disabled - add a new folder proj/parking/ - move folder proj/src/org/ into folder /proj/parking Expected: package fragment org.eclipse.mypack goes away Was: org.eclipse.mypack is still there, opening A.java in it gives newNotPresentException - close proj / open proj => state is OK again - move folder proj/parking/org into proj/src Expected: package fragment org.eclipse.mypack appears Was: proj/src has only folder org as child
I think we're not getting correct deltas here. We only get this: Java Model[*]: {CHILDREN} proj[*]: {CHILDREN | CONTENT} src[*]: {CONTENT} ResourceDelta(/proj/src/org)[-] ResourceDelta(/proj/parking)[*] ... but I would expect to see a REMOVED IJavaElementDelta for the removed package 'org.eclipse.mypack'. Since there was no REMOVED delta for the package, A is also still in the AllTypesCache and appears in the Open Type... dialog (and fails when opened). Moving to core for comments.
Delta indeed looks wrong. Jerome - pls investigate for RC13
Created attachment 12250 [details] Proposed patch
Created attachment 12251 [details] Regression tests
+1 for RC3
Released fix and tests.
Verified for 3.0RC3 I200406180010