Commit 700e1c6
committed
Print a stack dump if initialize is called outside of Initializing Java
Currently one would expect that all calls to initialize the classpath
originate from the "Initializing Java Tooling" job, but it happens to be
not always the case. If that happens early access to the classpath might
lead to unexpected rebuilds or other issues.
This now enhance the tracing to provide a stacktrace in this case to
make it more clear where the call is coming from to allow analysis and
possible mitigation.1 parent e95532e commit 700e1c6
2 files changed
Lines changed: 20 additions & 1 deletion
File tree
- ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
0 commit comments