Commit 4344784
committed
Fix BaseImportTestCase on JDK 21+ by ignoring internal modules not on classpath
JDK 21+ exposes internal modules (e.g., jdk.management.agent) that appear as package fragment roots but throw JavaModelException when accessed because they are not on the project's build path. This change explicitly ignores these exceptions to prevent test failures.1 parent 734020c commit 4344784
File tree
1 file changed
+10
-1
lines changed- ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/imports
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
202 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
203 | 212 | | |
204 | 213 | | |
205 | 214 | | |
| |||
0 commit comments