Commit b0d7fdb
committed
Update the project with an empty classpath container on initialize
Currently there are some cases where an open JavaEditor is not updated,
even though the build of the project is fine with that. Strange enough
one can make it "work" by simply make some actions slower(!) e.g.
setting breakpoints somewhere in the code that initialize classpath
containers. The reason is that if initialize happens "too fast" it leads
to missing classpath change notification because it looks like the saved
to disk state is up-to-date with the new state and no event happens.
This now set an empty intermediate container state to the JDT model so
that any code arising at this point in time will see something has
changed (from n > empty), and if then at any later time an update is
performed from empty > n.1 parent 95e6822 commit b0d7fdb
1 file changed
Lines changed: 36 additions & 1 deletion
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
46 | 71 | | |
47 | 72 | | |
48 | 73 | | |
| |||
86 | 111 | | |
87 | 112 | | |
88 | 113 | | |
89 | | - | |
| 114 | + | |
90 | 115 | | |
91 | 116 | | |
92 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
93 | 128 | | |
94 | 129 | | |
95 | 130 | | |
| |||
0 commit comments