diff options
author | aclement <aclement> | 2004-04-07 12:59:48 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-04-07 12:59:48 +0000 |
commit | f3916048a7d49f4a2e6ff44c154d04a7045a817d (patch) | |
tree | 80f95dc88f4d3f810229cdfa4579297977b4df4c /org.aspectj.ajdt.core | |
parent | c2b5871a6d0f6c7620421482a8438bcafc9f9ee8 (diff) | |
download | aspectj-f3916048a7d49f4a2e6ff44c154d04a7045a817d.tar.gz aspectj-f3916048a7d49f4a2e6ff44c154d04a7045a817d.zip |
Some of the fix for Bugzilla Bug 57432
NPE when creating declare messages
[Use the correct value for initializing 'maxProblemsPerUnit']
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java index d8eb8fbdb..906a82574 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java @@ -194,7 +194,7 @@ public class AjCompilerAdapter implements ICompilerAdapter { String sourceFileName = (String) binIter.next(); List unwovenClassFiles = (List) binarySourceEntries.get(sourceFileName); - CompilationResult result = new CompilationResult(sourceFileName.toCharArray(),0,0,20); + CompilationResult result = new CompilationResult(sourceFileName.toCharArray(),0,0,compiler.options.maxProblemsPerUnit); result.noSourceAvailable(); InterimCompilationResult binarySource = new InterimCompilationResult(result,unwovenClassFiles); |