Commit d09514d
Avoid NPE in AspectJCompilerTest on AspectJ 1.9.8+
Due to changed Eclipse Compiler (JDT Core) upstream of AJC, we need to
call 'buildArgParser.populateBuildConfig(..)' in order to avoid an NPE
when AjBuildConfig.getCheckedClasspaths() is called later during
compilation.
Only the unit test (which is not really a unit test) is affected by this
problem, because it compiles in-process. The 'aspectj-compiler' IT was
still passing before this change.1 parent 1cc3a76 commit d09514d
File tree
1 file changed
+4
-1
lines changed- plexus-compilers/plexus-compiler-aspectj/src/main/java/org/codehaus/plexus/compiler/ajc
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
346 | 349 | | |
| |||
0 commit comments