issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
IHierarchy model = structureModel.getHierarchy(); String rootLabel = "<root>"; IProgramElement.Kind kind = IProgramElement.Kind.FILE_JAVA; if (buildConfig.getConfigFile() != null) { rootLabel = buildConfig.getConfigFile().getName(); model.setConfigFile(buildConfig.getConfigFile().getAbsolutePath()); kind...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
} public void setCustomMungerFactory(Object o) { customMungerFactory = (CustomMungerFactory) o; } public Object getCustomMungerFactory() { return customMungerFactory; } private void initBcelWorld(IMessageHandler handler) throws IOException { List cp = buildConfig.getFullClasspath(); BcelWorld ...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
state.setWeaver(bcelWeaver); state.clearBinarySourceFiles(); if (buildConfig.getLintMode().equals(AjBuildConfig.AJLINT_DEFAULT)) { bcelWorld.getLint().loadDefaultProperties(); } else { bcelWorld.getLint().setAll(buildConfig.getLintMode()); } if (buildConfig.getLintSpecFile() != null) { bcelWorld.getL...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
state.recordBinarySource(inJar.getPath(), unwovenClasses); } for (Iterator i = buildConfig.getInpath().iterator(); i.hasNext();) { File inPathElement = (File) i.next(); if (!inPathElement.isDirectory()) { List unwovenClasses = bcelWeaver.addJarFile(inPathElement, outputDir, true); state.reco...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
} } public World getWorld() { return getBcelWorld(); } void addAspectClassFilesToWeaver(List addedClassFiles) throws IOException { for (Iterator i = addedClassFiles.iterator(); i.hasNext();) { UnwovenClassFile classFile = (UnwovenClassFile) i.next(); getWeaver().addClassFile(classFile); } } public Fil...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
public CompilationUnit[] getCompilationUnits(String[] filenames) { int fileCount = filenames.length; CompilationUnit[] units = new CompilationUnit[fileCount]; String defaultEncoding = buildConfig.getOptions().defaultEncoding; if ("".equals(defaultEncoding)) { defaultEncoding = null; } for (int i = 0; ...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
} String[] filenames = new String[files.size()]; int idx = 0; for (Iterator fIterator = files.iterator(); fIterator.hasNext();) { File f = (File) fIterator.next(); filenames[idx++] = f.getPath(); } environment = state.getNameEnvironment(); boolean environmentNeedsRebuilding = false; if (buildC...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
compiler.compile(getCompilationUnits(filenames)); } catch (OperationCanceledException oce) { handler.handleMessage(new Message("build cancelled:" + oce.getMessage(), IMessage.WARNING, null, null)); } org.aspectj.ajdt.internal.compiler.CompilerAdapter.setCompilerAdapterFactory(null); AnonymousClassPublishe...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
} } }; } public ICompilerRequestor getBatchRequestor() { return new ICompilerRequestor() { public void acceptResult(CompilationResult unitResult) { boolean hasErrors = unitResult.hasErrors(); if (!hasErrors || proceedOnError()) { Collection classFiles = unitResult.compiledTypes.values...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
writeZipEntry(classFile, filename); } if (shouldAddAspectName && !classname.endsWith("$ajcMightHaveAspect")) addAspectName(classname, unitResult.getFileName()); } catch (IOException ex) { IMessage message = EclipseAdapterUtils.makeErrorMessage(new String(unitResult.fileName), ...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
outFile = new File(filename).getName(); outFile = new File(extractDestinationPathFromSourceFile(unitResult), outFile).getPath(); } else { outFile = new File(destinationPath, filename).getPath(); } BufferedOutputStream os = FileUtil.makeOutputStream(new File(outFile)); os.write(classFile.getByt...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
state.getAspectNamesToFileNameMap().put(name, fileContainingAspect); } } } }; } protected boolean proceedOnError() { return buildConfig.getProceedOnError(); } }
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
} } } private void setBuildConfig(AjBuildConfig buildConfig) { this.buildConfig = buildConfig; if (!this.environmentSupportsIncrementalCompilation) { this.environmentSupportsIncrementalCompilation = (buildConfig.isIncrementalMode() || buildConfig .isIncrementalFileMode()); ...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
if (first) { first = false; } else { buf.append(File.pathSeparator); } buf.append(it.next().toString()); } return buf.toString(); } /** * This will return null if aspectjrt.jar is present and has the correct version. Otherwise it will return a string message * indicating the problem. */ pr...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
if (manifest == null) { ret = "no manifest found in " + p.getAbsolutePath() + ", expected " + Version.text; continue; } Attributes attr = manifest.getAttributes("org/aspectj/lang/"); if (null != attr) { version = attr.getValue(Attributes.Name.IMPLEMENTATION_VERSION); if (null != v...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
if (ret != null) return ret; return "couldn't find aspectjrt.jar on classpath, checked: " + makeClasspathString(buildConfig); } public String toString() { StringBuffer buf = new StringBuffer(); buf.append("AjBuildManager("); buf.append(")"); return buf.toString(); } } /** * Returns null if t...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
*/ public String getOutputClassFileName(char[] eclipseClassFileName, CompilationResult result) { String filename = new String(eclipseClassFileName); filename = filename.replace('/', File.separatorChar) + ".class"; File destinationPath = buildConfig.getOutputDir(); if (buildConfig.getCompilationResultDestinatio...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
EclipseFactory factory = new EclipseFactory(le, this); le.factory = factory; pr.factory = factory; forCompiler.lookupEnvironment = le; forCompiler.parser = new Parser(pr, forCompiler.options.parseLiteralExpressionsAsConstants); if (getBcelWorld().shouldPipelineCompilation()) { IMessage message = MessageUti...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
IMessage.Kind swallowedExceptionKind = world.getLint().swallowedExceptionInCatchBlock.getKind(); Map optionsMap = new HashMap(); optionsMap.put(CompilerOptions.OPTION_ReportSwallowedExceptionInCatchBlock, swallowedExceptionKind == null ? "ignore" : swallowedExceptionKind.toString()); forCompiler.options.set(o...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
public String formatEntry(int phaseId, Object data) { StringBuffer sb = new StringBuffer(); if (phaseId == CompilationAndWeavingContext.BATCH_BUILD) { sb.append("batch building "); } else { sb.append("incrementally building "); } AjBuildConfig config = (AjBuildConfig) data; List classpath = co...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
/* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
public static String makeLocationContext(ICompilationUnit compilationUnit, IProblem problem) { int startPosition = problem.getSourceStart(); int endPosition = problem.getSourceEnd(); if ((startPosition > endPosition) || ((startPosition <= 0) && (endPosition <= 0)) || compilationUnit == null)
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
return "(no source information available)"; final char SPACE = '\u0020'; final char MARK = '^'; final char TAB = '\t'; char[] source = compilationUnit.getContents(); int begin = startPosition >= source.length ? source.length - 1 : startPosition; if (begin == -1) return "(no source informat...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
} char[] extract = new char[end - begin + 1]; System.arraycopy(source, begin, extract, 0, extract.length); char c; int trimLeftIndex = 0; while ((((c = extract[trimLeftIndex++]) == TAB) || (c == SPACE)) && trimLeftIndex < extract.length) { } if (trimLeftIndex >= extract.length) return new String(...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
} /** * Extract source location file, start and end lines, and context. Column is not extracted correctly. * * @return ISourceLocation with correct file and lines but not column. */ public static ISourceLocation makeSourceLocation(ICompilationUnit unit, IProblem problem) { int line = problem.getSourceLineN...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
for (int i = 0; i < seeAlso.length; i++) { if (seeAlso[i].getSourceLineNumber() >= 0) { seeAlsoLocations[pos++] = new SourceLocation(new File(new String(seeAlso[i].getOriginatingFileName())), seeAlso[i] .getSourceLineNumber()); } } String extraDetails = problem.getSupplementaryMessageInf...
269,912
Bug 269912 wasted time building message context when it is only used for command line builds
The context for a message is created even when AspectJ is used inside AJDT - but the context only ever gets used when printing messages to System.out. Under AJDT we ought to be able to 'switch it off'
resolved fixed
c732808
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-25T16:19:48Z
2009-03-25T00:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
if (problem.isError()) { kind = IMessage.ERROR; } else { kind = IMessage.WARNING; } } IMessage msg = null; if (isLintMessage) { msg = new LintMessage(problem.getMessage(), extraDetails, world.getLint().fromKey(lintkey), kind, sourceLocation, null, seeAlsoLocations, declared, problem.getID(),...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
import java.util.Iterator; import java.util.List; import org.aspectj.asm.AsmManager; import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.IRelationship; import org.aspectj.asm.IRelationshipMap; import org.aspectj.asm.internal.ProgramElement; import org.aspectj.bridge.ISource...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
public static final String ADVISES = "advises"; public static final String ADVISED_BY = "advised by"; public static final String DECLARES_ON = "declares on"; public static final String DECLAREDY_BY = "declared by"; public static final String SOFTENS = "softens"; public static final String SOFTENED_BY = "softened b...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (targetHandle == null) { return; } IProgramElement sourceNode = model.getHierarchy().findElementForSourceLine(deow.getSourceLocation()); String sourceHandle = model.getHandleProvider().createHandleIdentifier(sourceNode); if (sourceHandle == null) { return; } IRelationshipMap relmap = model.getRelat...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (originatingAspect.getSourceLocation() != null) { String sourceHandle = ""; IProgramElement sourceNode = null; if (typeTransformer.getSourceLocation() != null && typeTransformer.getSourceLocation().getOffset() != -1) { sourceNode = model.getHierarchy().findElementForType(originatingAspect.getPackageName...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
return; IProgramElement targetNode = model.getHierarchy().findElementForSourceLine(onType.getSourceLocation()); String targetHandle = model.getHandleProvider().createHandleIdentifier(targetNode); if (targetHandle == null) return; IRelationshipMap mapper = model.getRelationshipMap(); IRelationship for...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
int i = s.lastIndexOf('/'); if (i != -1) { sourceFileName = s.substring(i + 1); } else { sourceFileName = s; } } ISourceLocation sLoc = new SourceLocation(getBinaryFile(aspect), sl.getLine(), sl.getEndLine(), ((sl.getColumn() == 0) ? ISourceLocation.NO_COLUMN : sl.getColumn()), sl.getContext(),...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
* Returns the File with pathname to the class file, for example either C:\temp * \ajcSandbox\workspace\ajcTest16957.tmp\simple.jar!pkg\BinaryAspect.class if the class file is in a jar file, or * C:\temp\ajcSandbox\workspace\ajcTest16957.tmp!pkg\BinaryAspect.class if the class file is in a directory */ private st...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (!filenode.getKind().equals(IProgramElement.Kind.FILE_JAVA)) { return; } IProgramElement classFileNode = new ProgramElement(model, filenode.getName(), IProgramElement.Kind.FILE, getBinarySourceLocation(aspect, aspect.getSourceLocation()), 0, null, null); IProgramElement root = model.getHierarchy()...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
pkgNode.addChild(classFileNode); for (Iterator iter = pkgNode.getChildren().iterator(); iter.hasNext();) { IProgramElement element = (IProgramElement) iter.next(); if (!element.equals(classFileNode) && element.getHandleIdentifier().equals(classFileNode.getHandleIdentifier())) { pkgNode.remov...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement aspectNode = new ProgramElement(model, aspect.getSimpleName(), IProgramElement.Kind.ASPECT, getBinarySourceLocation(aspect, aspect.getSourceLocation()), aspect.getModifiers(), null, null); classFileNode.addChild(aspectNode); addChildNodes(model, aspect, aspectNode, aspect.getDeclaredPointcuts())...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
return; } IRelationshipMap mapper = model.getRelationshipMap(); IRelationship foreward = mapper.get(sourceHandle, IRelationship.Kind.DECLARE_INTER_TYPE, ANNOTATES, false, true); foreward.addTarget(targetHandle); IRelationship back = mapper.get(targetHandle, IRelationship.Kind.DECLARE_INTER_TYPE, ANNOTATED_BY,...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement classFileNode = new ProgramElement(asm, sourceFileNode.getName(), IProgramElement.Kind.FILE, munger .getBinarySourceLocation(aspect.getSourceLocation()), 0, null, null); IProgramElement root = asm.getHierarchy().getRoot(); IProgramElement binaries = asm.getHierarchy().findElementForLabel(root...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } } IProgramElement aspectNode = new ProgramElement(asm, aspect.getSimpleName(), IProgramElement.Kind.ASPECT, munger .getBinarySourceLocation(aspect.getSourceLocation()), aspect.getModifiers(), null, null); classFileNode.addChild(aspect...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
addPointcuts(asm, sourcefilename, aspect, aspectNode, aspect.getDeclaredPointcuts()); addChildNodes(asm, aspect, aspectNode, aspect.getDeclaredAdvice()); addChildNodes(asm, aspect, aspectNode, aspect.getDeclares()); addChildNodes(asm, aspect, aspectNode, aspect.getTypeMungers()); } private static void addPointc...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
ISourceLocation sLoc = (p == null ? null : p.getSourceLocation()); if (sLoc == null) { sLoc = rpcd.getSourceLocation(); } parent.addChild(new ProgramElement(asm, pcd.getName(), IProgramElement.Kind.POINTCUT, getBinarySourceLocation( aspect, sLoc), pcd.getModifiers(), null, Collections.EMPTY_LIST)...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } } private static IProgramElement createDeclareErrorOrWarningChild(AsmManager model, ResolvedType aspect, DeclareErrorOrWarning decl, int count) { IProgramElement deowNode = new ProgramElement(model, decl.getName(), decl.isError() ? IProgramElement.Kind.DECLARE_ERROR : IPro...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement adviceNode = new ProgramElement(model, advice.getKind().getName(), IProgramElement.Kind.ADVICE, advice .getBinarySourceLocation(advice.getSourceLocation()), advice.getSignature().getModifiers(), null, Collections.EMPTY_LIST); adviceNode.setDetails(AsmRelationshipUtils.genPointcutDetails(advice...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} IProgramElement pe = new ProgramElement(model, name, IProgramElement.Kind.INTER_TYPE_METHOD, getBinarySourceLocation( aspect, itd.getSourceLocation()), rtMunger.getSignature().getModifiers(), null, Collections.EMPTY_LIST); setParams(pe, sig); return pe; } else if (rtMunger.getKind() == ResolvedTypeMun...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
paramSigs.add(ts[i].getSignature().toCharArray()); } pe.setParameterSignatures(paramSigs, Collections.EMPTY_LIST); } pe.setCorrespondingType(sig.getReturnType().getName()); } private static IProgramElement createDeclareParentsChild(AsmManager model, DeclareParents decp) { IProgramElement decpElem...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (advice.getKind().isPerEntry() || advice.getKind().isCflow()) { return; } if (World.createInjarHierarchy) { createHierarchyForBinaryAspect(model, advice); } IRelationshipMap mapper = model.getRelationshipMap(); IProgramElement targetNode = getNode(model, matchedShadow); if (targetNode ...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (back != null) { back.addTarget(adviceHandle); } } else { IRelationship foreward = mapper.get(adviceHandle, IRelationship.Kind.ADVICE, ADVISES, runtimeTest, true); if (foreward != null) { foreward.addTarget(targetHandle); } IRelationship back = mapper.get(targetHandle, IRelationship....
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement enclosingNode = null; if (shadow instanceof BcelShadow) { Member actualEnclosingMember = ((BcelShadow) shadow).getRealEnclosingCodeSignature(); if (actualEnclosingMember == null) { enclosingNode = lookupMember(model.getHierarchy(), shadow.getEnclosingType(), enclosingMember); } else { ...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} Member shadowSig = shadow.getSignature(); if (shadow.getKind() == Shadow.MethodCall || shadow.getKind() == Shadow.ConstructorCall || !shadowSig.equals(enclosingMember)) { IProgramElement bodyNode = findOrCreateCodeNode(model, enclosingNode, shadowSig, shadow); return bodyNode; } else { return en...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
int excl = node.getBytecodeName().lastIndexOf('!'); if (((excl != -1 && shadowSig.getName().equals(node.getBytecodeName().substring(0, excl))) || shadowSig.getName() .equals(node.getBytecodeName())) && shadowSig.getSignature().equals(node.getBytecodeSignature()) && sourceLinesMatch(node.getSourceLocat...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
private static IProgramElement lookupMember(IHierarchy model, UnresolvedType declaringType, Member member) { IProgramElement typeElement = model.findElementForType(declaringType.getPackageName(), declaringType.getClassName()); if (typeElement == null) { return null; } for (Iterator it = typeElement.getChildr...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IHierarchy hierarchy = model.getHierarchy(); IProgramElement typeElem = hierarchy.findElementForType(pkg, type); if (typeElem == null) return; StringBuffer parmString = new StringBuffer("("); UnresolvedType[] args = affectedMethod.getParameterTypes(); for (int i = 0; i < args.length; i++) { String s ...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (targetHandle == null) return; IProgramElement sourceNode = hierarchy.findElementForSourceLine(sourceLocation); String sourceHandle = model.getHandleProvider().createHandleIdentifier(sourceNode); if (sourceHandle == null) return; IRelationshipMap mapper = model.getRelationshipMap(); IRelations...
269,902
Bug 269902 NPE in AsmRelationshipProvider.addRelationship
When doing a clean build of my project, seeing dozens, upwards of 100 of NPEs similar to the following: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.addRelationship(AsmRelationshipProvider.java:168) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:124) at org.asp...
resolved fixed
d5e900d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T02:25:32Z
2009-03-24T21:26:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
pkg = affectedTypeName.substring(0, packageSeparator); type = affectedTypeName.substring(packageSeparator + 1); } IHierarchy hierarchy = model.getHierarchy(); IProgramElement typeElem = hierarchy.findElementForType(pkg, type); if (typeElem == null) { return; } IProgramElement fieldElem = hierarchy.fin...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
import java.util.Map; import java.util.Set; import org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager; import org.aspectj.ajdt.internal.compiler.InterimCompilationResult; import org.aspectj.asm.AsmManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.Message; import org.aspectj.brid...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
public static boolean CHECK_STATE_FIRST = true; public static IStateListener stateListener = null; public static boolean FORCE_INCREMENTAL_DURING_TESTING = false; private final AjBuildManager buildManager; private boolean couldBeSubsequentIncrementalBuild = false; private INameEnvironment nameEnvironment; ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* * Added by AMC during state refactoring, 1Q06. */ private final MapfullyQualifiedTypeNamesResultingFromCompilationUnit = new HashMap(); /** * Source files defining aspects * * Populated in noteResult and used in processDeletedFiles * * Added by AMC during state refactoring, 1Q06. */ private fina...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* resulted from the weaving of File. * * Used during getBinaryFilesToCompile when compiling incrementally to determine which files should be recompiled if a given * input file has changed. * */ private MapbinarySourceFiles = new HashMap(); /** * Initially a duplicate of the information held in binarySou...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
private final MapclassesFromName = new HashMap(); /** * Populated by AjBuildManager to record the aspects with the file name in which they're contained. This is later used when * writing the outxml file in AjBuildManager. Need to record the file name because want to write an outxml file for each of the * output ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (stateListener != null) stateListener.buildSuccessful(wasFullBuild); if (wasFullBuild) lastSuccessfulFullBuildTime = currentBuildTime; } /** * Returns false if a batch build is needed. */ public boolean prepareForNextBuild(AjBuildConfig newBuildConfig) { currentBuildTime = System.currentTimeMillis()...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (newBuildConfig.getOutputJar() != null) { structuralChangesSinceLastFullBuild.clear(); if (listenerDefined()) getListener().recordDecision("Preparing for build: not going to be incremental because outjar being used"); return false; } affectedFiles.clear(); if (pathChange(buildConfig, newBuil...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
simpleStrings.clear(); } if (qualifiedStrings.elementSize > 20) { qualifiedStrings = new StringSet(3); } else { qualifiedStrings.clear(); } if ((newBuildConfig.getChanged() & PROJECTSOURCEFILES_CHANGED) == 0) { addedFiles = Collections.EMPTY_SET; deletedFiles = Collections.EMPTY_SET; } else { ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (listenerDefined()) getListener().recordDecision("Preparing for build: planning to be an incremental build"); return true; } /** * Checks if any of the files in the set passed in contains an aspect declaration. If one is found then we start the process of * batch building, i.e. we remove all the results o...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} private Collection getModifiedFiles() { return getModifiedFiles(lastSuccessfulBuildTime); } Collection getModifiedFiles(long lastBuildTime) { Set ret = new HashSet(); ListmodifiedFiles = buildConfig.getModifiedFiles(); if (modifiedFiles == null) { for (Iterator i = buildConfig.getFiles().iter...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} Collection getModifiedBinaryFiles(long lastBuildTime) { List ret = new ArrayList(); for (Iterator i = buildConfig.getBinaryFiles().iterator(); i.hasNext();) { AjBuildConfig.BinarySourceFile bsfile = (AjBuildConfig.BinarySourceFile) i.next(); File file = bsfile.binSrc; if (!file.exists()) continue...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* can't then we have to do a full build. * */ private int classFileChangedInDirSinceLastBuildRequiringFullBuild(File dir) { if (!dir.isDirectory()) { return CLASS_FILE_CHANGED_THAT_NEEDS_FULL_BUILD; } AjState state = IncrementalStateManager.findStateManagingOutputLocation(dir); if (listenerDefined()...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
CompilationResultDestinationManager crdm = buildConfig.getCompilationResultDestinationManager(); if (crdm!=null) { int i = crdm.discoverChangesSince(dir,lastSuccessfulBuildTime); if (i==1) { if (listenerDefined()) { getListener().recordDecision("'"+dir+"' is apparently unchanged so ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} } else { long modTime = classFile.lastModified(); if ((modTime + 1000) >= lastSuccessfulBuildTime) { if (state != null) { if (state.isAspect(classFile)) { return CLASS_FILE_CHANGED_THAT_NEEDS_FULL_BUILD; } if (state.hasStructuralChangedSince...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (isTypeWeReferTo(classFile)) { if (affectedFiles.size() > MAX_AFFECTED_FILES_BEFORE_FULL_BUILD) return CLASS_FILE_CHANGED_THAT_NEEDS_FULL_BUILD; return CLASS_FILE_CHANGED_THAT_NEEDS_INCREMENTAL_BUILD; } else { return CLASS_FILE_NO_CHANGES; } } } } } return CLA...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
private final Object key; SoftReferenceKnownKey(Object k, Object v) { super(v, rq); this.key = k; } } private void processQueue() { SoftReferenceKnownKey sv = null; while ((sv = (SoftReferenceKnownKey) rq.poll()) != null) { map.remove(sv.key); } } public Object get(Object key) { So...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
public Object put(Object k, Object v) { processQueue(); return map.put(k, new SoftReferenceKnownKey(k, v)); } public Set entrySet() { return map.entrySet(); } public void clear() { processQueue(); map.clear(); } public int size() { processQueue(); return map.size(); } public Object ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* interesting change. */ private boolean isTypeWeReferTo(File file) { String fpath = file.getAbsolutePath(); int finalSeparator = fpath.lastIndexOf(File.separator); String baseDir = fpath.substring(0, finalSeparator); String theFile = fpath.substring(finalSeparator + 1); SoftHashMap classNames = (SoftHashM...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
char[][][] qualifiedNames = null; char[][] simpleNames = null; if (CharOperation.indexOf('/', className) != -1) { qualifiedNames = new char[1][][]; qualifiedNames[0] = CharOperation.splitOn('/', className); qualifiedNames = ReferenceCollection.internQualifiedNames(qualifiedNames); } else { simpleNames...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} public String toString() { StringBuffer sb = new StringBuffer(); sb.append("AjState(").append((buildConfig == null ? "NULLCONFIG" : buildConfig.getConfigFile().toString())).append(")"); return sb.toString(); } /** * Determine if a file has changed since a given time, us...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
*/ private boolean hasStructuralChangedSince(File file, long lastSuccessfulBuildTime) { Long l = (Long) structuralChangesSinceLastFullBuild.get(file.getAbsolutePath()); long strucModTime = -1; if (l != null) strucModTime = l.longValue(); else strucModTime = this.lastSuccessfulFullBuildTime; re...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} } } return (this.lastSuccessfulFullBuildTime > lastSuccessfulBuildTime); } /** * Determine if something has changed on the classpath/inpath/aspectpath and a full build is required rather than an incremental * one. * * @param previousConfig the previous configuration used * @param newConfig the new...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (changedAndNeedsFullBuild(oldInPath, newInPath, false, oldOutputLocs, alreadyAnalysedPaths)) return true; List oldInJars = previousConfig.getInJars(); List newInJars = newConfig.getInJars(); if (changedAndNeedsFullBuild(oldInJars, newInJars, false, oldOutputLocs, alreadyAnalysedPaths)) return true; ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* Return a list of the output locations - this includes any 'default' output location and then any known by a registered * CompilationResultDestinationManager. * * @param config the build configuration for which the output locations should be determined * @return a list of file objects */ private List getOu...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
private File getOutputLocationFor(AjBuildConfig config, File aResourceFile) { List outputLocs = new ArrayList(); if (config.getCompilationResultDestinationManager() != null) { File outputLoc = config.getCompilationResultDestinationManager().getOutputLocationForResource(aResourceFile); if (outputLoc != null) ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (oldPath.size() != newPath.size()) { return true; } for (int i = 0; i < oldPath.size(); i++) { if (!oldPath.get(i).equals(newPath.get(i))) { return true; } Object o = oldPath.get(i); File f = null; if (o instanceof String) { f = new File((String) o); } else { f = (File) o; } ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} if (!foundMatch) { if (!alreadyAnalysedPaths.contains(f.getAbsolutePath())) { alreadyAnalysedPaths.add(f.getAbsolutePath()); int classFileChanges = classFileChangedInDirSinceLastBuildRequiringFullBuild(f); if (classFileChanges == CLASS_FILE_CHANGED_THAT_NEEDS_FULL_BUILD) return true...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (oldPath.size() != newPath.size()) { return true; } for (int i = 0; i < oldPath.size(); i++) { if (!oldPath.get(i).equals(newPath.get(i))) { return true; } File f = new File((String) oldPath.get(i)); if (f.exists() && !f.isDirectory() && (f.lastModified() >= lastSuccessfulBuildTime)) { ret...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
return true; } } } } return false; } public Set getFilesToCompile(boolean firstPass) { Set thisTime = new HashSet(); if (firstPass) { compiledSourceFiles = new HashSet(); Collection modifiedFiles = getModifiedFiles(); thisTime.addAll(modifiedFiles); if (addedFil...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
addAffectedSourceFiles(thisTime, thisTime); } else { addAffectedSourceFiles(thisTime, compiledSourceFiles); } compiledSourceFiles = thisTime; return thisTime; } private boolean maybeIncremental() { return (FORCE_INCREMENTAL_DURING_TESTING || this.couldBeSubsequentIncrementalBuild); } public Map getBina...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
recordTypeChanged(ucf.getClassName()); binarySourceFiles.put(bsf.binSrc.getPath(), ucfs); List cfs = new ArrayList(1); cfs.add(getClassFileFor(ucf)); this.inputClassFilesBySource.put(bsf.binSrc.getPath(), cfs); toWeave.put(bsf.binSrc.getPath(), ucfs); } deleteBinaryClassFiles(); } else { ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
for (Iterator iter = resourceEntries.iterator(); iter.hasNext();) { Map.Entry resourcePair = (Map.Entry) iter.next(); File sourcePath = (File) resourcePair.getValue(); File outputLoc = getOutputLocationFor(buildConfig, sourcePath); if (outputLoc != null) { outputLoc = new File(outputLoc, (String) resour...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} } } private void deleteBinaryClassFiles() { for (Iterator iter = deletedBinaryFiles.iterator(); iter.hasNext();) { AjBuildConfig.BinarySourceFile deletedFile = (AjBuildConfig.BinarySourceFile) iter.next(); List cfs = (List) this.inputClassFilesBySource.get(deletedFile.binSrc.getPath()); for (Iterato...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
private void deleteClassFile(ClassFile cf) { classesFromName.remove(cf.fullyQualifiedTypeName); weaver.deleteClassFile(cf.fullyQualifiedTypeName);
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
cf.deleteFromFileSystem(buildConfig); } private UnwovenClassFile createUnwovenClassFile(AjBuildConfig.BinarySourceFile bsf) { UnwovenClassFile ucf = null; try { File outputDir = buildConfig.getOutputDir(); if (buildConfig.getCompilationResultDestinationManager() != null) { outputDir = bui...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
classesFromName.put(unwovenClassFiles[i].getClassName(), new File(unwovenClassFiles[i].getFilename())); } recordWhetherCompilationUnitDefinedAspect(sourceFile, cr); deleteTypesThatWereInThisCompilationUnitLastTimeRoundButHaveBeenDeletedInThisIncrement(sourceFile, unwovenClassFiles); recordFQNsResultingFromCo...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} /** * @param sourceFile * @param unwovenClassFiles */ private void deleteTypesThatWereInThisCompilationUnitLastTimeRoundButHaveBeenDeletedInThisIncrement(File sourceFile, UnwovenClassFile[] unwovenClassFiles) { List classFiles = (List) this.fullyQualifiedTypeNamesResultingFromCompilationUnit.get(sourceFi...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} if (victim != null) { classFiles.remove(victim); } } /** * Record the fully-qualified names of the types that were declared in the given source file. * * @param sourceFile, the compilation unit * @param icr, the CompilationResult from compiling it */ private void recordFQNsResultingFromCompilatio...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
for (Iterator iterator = compiledTypes.keySet().iterator(); iterator.hasNext();) { char[] className = (char[]) iterator.next(); String typeName = new String(className).replace('/', '.'); if (typeName.indexOf(BcelWeaver.SYNTHETIC_CLASS_POSTFIX) == -1) { ResolvedType rt = world.resolve(typeName); ...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
private void recordClassFile(UnwovenClassFile thisTime, File lastTime) { if (simpleStrings == null) { ResolvedType rType = world.resolve(thisTime.getClassName()); if (!rType.isMissing()) { try { ClassFileReader reader = new ClassFileReader(thisTime.getBytes(), null); this.resolvedT...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
} if (lastTime == null) { recordTypeChanged(thisTime.getClassName()); return; } if (newResolvedType.isMissing()) { return; } world.ensureAdvancedConfigurationProcessed(); byte[] newBytes = thisTime.getBytes(); try { ClassFileReader reader = new ClassFileReader(newBytes, lastTime.getAbsolutePat...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
* Some notes from Andy... lot of problems here, which I've eventually resolved by building the compactstructure based on a * classfilereader, rather than on a ResolvedType. There are accessors for inner types and funky fields that the compiler * creates to support the language - for non-static inner types it also m...
270,033
Bug 270033 [incremental] Incremental compilation with aspects on an incoming classpath/aspectpath
null
resolved fixed
b23cc1a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-03-26T03:15:47Z
2009-03-25T22:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java
if (existingType.annotations != null && existingType.annotations.length != 0) { return true; } } else { IBinaryAnnotation[] existingAnnos = existingType.annotations; if (existingAnnos == null || existingAnnos.length != newAnnos.length) { return true; } for (int i = 0; i < newAnnos.lengt...