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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | COMMAND_EDITOR = editor;
}
private boolean verbose;
private boolean listFileArgs;
private boolean failonerror;
private boolean fork;
private String maxMem;
private TaskLogger logger;
protected GuardedCommand cmd;
private Path srcdir;
private Path injars;
private Pat... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private String[] adapterArguments;
private IMessageHolder messageHolder;
private ICommandEditor commandEditor;
private boolean copyInjars;
private boolean copyInpath;
private String sourceRootCopyFilter;
private String inpathDirCopyFilter;
private File destDir;
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private boolean executingInOtherVM;
private boolean inIncrementalMode;
private boolean inIncrementalFileMode;
private boolean logCommand;
private CommandlineJava javaCmd = new CommandlineJava();
public AjcTask() {
reset();
}
public void reset() {
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | executing = false;
executingInOtherVM = false;
extdirs = null;
failonerror = true;
forkclasspath = null;
inIncrementalMode = false;
inIncrementalFileMode = false;
ignored = new ArrayList();
injars = null;
inpath = null;
listFileArgs = fal... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | protected String validCommaList(String list, List valid, String label) {
return validCommaList(list, valid, label, valid.size());
}
protected String validCommaList(String list, List valid, String label, int max) {
StringBuffer result = new StringBuffer();
StringTokenizer st = new StringToken... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
return (0 == result.length() ? null : result.toString());
}
public void setIncremental(boolean incremental) {
cmd.addFlag("-incremental", incremental);
inIncrementalMode = incremental;
}
public void setLogCommand(boolean logCommand) {
this.logCommand = logCommand;
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
public void setXNoWeave(boolean b) {
if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored");
}
public void setNoWeave(boolean b) {
if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored");
}
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | warnings = validCommaList(warnings, VALID_WARNINGS, "warn");
cmd.addFlag("-warn:" + warnings, (null != warnings));
}
public void setDebug(boolean debug) {
cmd.addFlag("-g", debug);
}
public void setDebugLevel(String level) {
level = validCommaList(level, VALID_DEBUG, "g");
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | xlint = validCommaList(xlint, VALID_XLINT, "Xlint", 1);
cmd.addFlag("-Xlint:" + xlint, (null != xlint));
}
/**
* -Xlintfile {lint.properties} - enable or disable specific forms
* of -Xlint messages based on a lint properties file
* (default is
* <code>org/aspectj/weaver/XLintDefault.properties<... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | cmd.addFlag("-verbose", verbose);
this.verbose = verbose;
}
public void setListFileArgs(boolean listFileArgs) {
this.listFileArgs = listFileArgs;
}
public void setReferenceInfo(boolean referenceInfo) {
cmd.addFlag("-referenceInfo", referenceInfo);
}
public void se... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public void setMaxmem(String maxMem) {
this.maxMem = maxMem;
}
public Commandline.Argument createJvmarg() {
return this.javaCmd.createVmArgument();
}
public void setTagFile(File file) {
inIncrementalMode = true;
cmd.addFlagged(Main.CommandController.TAG_FILE_OPTI... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | cmd.addFlag("-outxml",outxml);
}
public void setOutxmlfile(String name) {
cmd.addFlagged("-outxmlfile", name);
}
public void setDestdir(File dir) {
if (null != outjar) {
String e = "specifying both output jar ("
+ outjar
+ ") and destination d... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * If not set explicitly, eclipse default holds.
* @param input a String in COMPLIANCE_INPUTS
*/
public void setCompliance(String input) {
String ignore = cmd.addOption(null, COMPLIANCE_INPUTS, input);
if (null != ignore) {
ignore(ignore);
}
}
/**
* So... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
/**
* Option to copy all files from
* all source root directories
* except those specified here.
* If this is specified and sourceroots are specified,
* then this will copy all files except
* those specified in the filter pattern.
* Requires sourceroots.
*
* @pa... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * filter for an Ant Zip fileset.
*/
public void setInpathDirCopyFilter(String filter){
if (null != filter) {
if (-1 == filter.indexOf("**/*.class")) {
filter = "**/*.class," + filter;
}
}
this.inpathDirCopyFilter = filter;
}
public ... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | this.messageHolder = holder;
}
/**
* Setup custom message handling.
* @param className the String fully-qualified-name of a class
* reachable from this object's class loader,
* implementing IMessageHolder, and
* having a public no-argument constructor.
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * <code>org.aspectj.tools.ant.taskdefs.AjcTask.COMMAND_EDITOR</code>
* with the <code>className</code> parameter.
* @param className the String fully-qualified-name of a class
* reachable from this object's class loader,
* implementing ICommandEditor, and
* having a ... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | source.append(toAdd);
}
return source;
}
public void setSourcerootsref(Reference ref) {
createSourceRoots().setRefid(ref);
}
public void setSourceRoots(Path roots) {
sourceRoots = incPath(sourceRoots, roots);
}
public Path createSourceRoots() {
if (so... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
public void setInjars(Path path) {
injars = incPath(injars, path);
}
public void setInpath(Path path) {
inpath = incPath(inpath,path);
}
public Path createInjars() {
if (injars == null) {
injars = new Path(project);
}
return injars.createP... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public Path createClasspath() {
if (classpath == null) {
classpath = new Path(project);
}
return classpath.createPath();
}
public void setBootclasspath(Path path) {
bootclasspath = incPath(bootclasspath, path);
}
public void setBootclasspathref(... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (forkclasspath == null) {
forkclasspath = new Path(project);
}
return forkclasspath.createPath();
}
public void setExtdirs(Path path) {
extdirs = incPath(extdirs, path);
}
public void setExtdirsref(Reference ref) {
createExtdirs().setRefid(ref)... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | return aspectpath.createPath();
}
public void setSrcDir(Path path) {
srcdir = incPath(srcdir, path);
}
public Path createSrc() {
return createSrcdir();
}
public Path createSrcdir() {
if (srcdir == null) {
srcdir = new Path(project);
}
r... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public Path createArgfiles() {
if (argfiles == null) {
argfiles = new Path(project);
}
return argfiles.createPath();
}
/**
* Compile using ajc per settings.
* @exception BuildException if the compilation has problems
* or if... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (!fork) {
executeInSameVM(args);
} else {
executeInOtherVM(args);
}
} catch (BuildException e) {
throw e;
} catch (Throwable x) {
this.logger.error(Main.renderExceptionForUser(x));
throw new BuildException("IGNO... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | Main me = main;
if (null != me) {
me.quit();
}
return true;
}
String[] makeCommand() {
ArrayList result = new ArrayList();
if (0 < ignored.size()) {
for (Iterator iter = ignored.iterator(); iter.hasNext();) {
logVerbose("ignored: ... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
result.addAll(cmd.extractArguments());
addListArgs(result);
String[] command = (String[]) result.toArray(new String[0]);
if (null != commandEditor) {
command = commandEditor.editCommand(command);
} else if (null != COMMAND_EDITOR) {
command = COM... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | File injar = zipDirectory(xweaveDir);
setInjars(new Path(getProject(), injar.getAbsolutePath()));
setDestdir(xweaveDir);
}
}
protected File zipDirectory(File dir) {
File tempDir = new File(".");
try {
tempDir = File.createTempFile("AjcTest", ".tmp")... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | delete.setProject(getProject());
delete.setTaskName(getTaskName() + " - delete");
delete.setDir(dir);
delete.execute();
Mkdir mkdir = new Mkdir();
mkdir.setProject(getProject());
mkdir.setTaskName(getTaskName() + " - mkdir");
mkdir.setDir(dir);
mkdir.execu... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | sb.append(REQ);
}
if (0 < sb.length()) {
throw new BuildException(sb.toString());
}
}
/**
* Run the compile in the same VM by
* loading the compiler (Main),
* setting up any message holders,
* doing the compile,
* and converting abort/failure and err... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | } else {
numPreviousErrors = holder.numMessages(IMessage.ERROR, true);
}
{
Main newmain = new Main();
newmain.setHolder(holder);
newmain.setCompletionRunner(new Runnable() {
public void run() {
doCompletionTasks();
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | {
IMessage[] fails = holder.getMessages(IMessage.FAIL, true);
if (!LangUtil.isEmpty(fails)) {
StringBuffer sb = new StringBuffer();
String prefix = "fail due to ";
int numThrown = 0;
for (int i = 0; i < fails.length; i++) {
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | prefix = ", ";
}
if (0 < sb.length()) {
sb.append(" (" + numThrown + " exceptions)");
throw new BuildException(sb.toString());
}
}
}
}
/**
* Execute in a separate VM.
* Differences from nor... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | File aspectjtools = null;
int vmClasspathSize = vmClasspath.size();
if ((null != forkclasspath)
&& (0 != forkclasspath.size())) {
vmClasspath.addExisting(forkclasspath);
} else {
aspectjtools = findAspectjtoolsJar();
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (args.length != numArgs) {
tempFile = new File(args[1]);
}
try {
boolean setMessageHolderOnForking = (this.messageHolder != null);
String[] javaArgs = javaCmd.getCommandline();
String[] both = new String[javaArgs.length + args.length + (setMessageHolderOn... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | doCompletionTasks();
} finally {
if (null != tempFile) {
tempFile.delete();
}
}
}
/**
* Execute in another process using the same JDK
* and the base directory of the project. XXX correct?
* @param args
* @return
*/
protect... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | throw new BuildException(s, location);
}
executingInOtherVM = true;
exe.execute();
} finally {
executingInOtherVM = false;
}
return exe.getExitValue();
} catch (IOException e) {
String m = "Error exec... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | addFlaggedPath("-aspectpath", aspectpath, list);
addFlaggedPath("-injars", injars, list);
addFlaggedPath("-inpath", inpath, list);
addFlaggedPath("-sourceroots", sourceRoots, list);
if (argfiles != null) {
String[] files = argfiles.list();
for (int i = 0;... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
if (0 < adapterFiles.size()) {
for (Iterator iter = adapterFiles.iterator(); iter.hasNext();) {
File file = (File) iter.next();
if (file.canRead() && FileUtil.hasSourceSuffix(file)) {
list.add(file.getAbsolutePath());
} else {
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (isDir ^ file.isDirectory()) {
String e = file + " should" + (isDir ? "" : "n't") +
" be a directory!";
throw new BuildException(e, loc);
}
return true;
}
/**
* Called when compile or incremental compile is completing,
* this completes ... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* Complete the destination directory
* by copying resources from the source root directories
* (if the filter is specified)
* and non-.class files from the input jars
* (if XCopyInjars is enabled).
*/
private void completeDestdir() {
if (!copyInjars && (null == sourceRoot... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | unzip.setProject(project);
unzip.setTaskName(taskName);
unzip.setDest(destDir);
unzip.setSrc(new File(paths[i]));
unzip.addPatternset(patternSet);
unzip.execute();
}
}
}
if ((n... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | copy.setTodir(destDir);
boolean gotDir = false;
for (int i = 0; i < paths.length; i++) {
File inpathDir = new File(paths[i]);
if (inpathDir.isDirectory() && inpathDir.canRead()) {
if (!gotDir) {
g... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | || (!copyInjars && (null == sourceRootCopyFilter)
&& (null == inpathDirCopyFilter))) {
return;
}
Zip zip = new Zip();
Project project = getProject();
zip.setProject(project);
zip.setTaskName(getTaskName() + " - zip");
zip.setDestFil... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (!LangUtil.isEmpty(paths)) {
for (int i = 0; i < paths.length; i++) {
File srcRoot = new File(paths[i]);
FileSet fileset = new FileSet();
fileset.setProject(project);
fileset.setDir(srcRoot);
fileset.s... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* Add specified source files.
*/
void addFiles(File[] paths) {
for (int i = 0; i < paths.length; i++) {
addFile(paths[i]);
}
}
/**
* Add specified source file.
*/
void addFile(File path) {
if (null != path) {
adapterFiles.add(path);... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | final String[] args;
int index = 0;
Args(String[] args) {
this.args = args;
}
boolean hasNext() {
return index < args.length;
}
String next() {
String err = null;
if (!hasNext()) {
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
Args in = new Args(args);
String flag;
while (in.hasNext()) {
flag = in.next();
if ("-1.3".equals(flag)) {
setCompliance(flag);
} else if ("-1.4".equals(flag)) {
setCompliance(flag);
} else if ("-1.5".equals(flag)) {... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setCrossrefs(true);
} else if ("-emacssym".equals(flag)) {
setEmacssym(true);
} else if ("-encoding".equals(flag)) {
setEncoding(in.next());
} else if ("-Xfailonerror".equals(flag)) {
setFailonerror(true);
} else if ("-fork"... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setNoExit(true);
} else if ("-noImportError".equals(flag)) {
setNoImportError(true);
} else if ("-noWarn".equals(flag)) {
setNowarn(true);
} else if ("-noexit".equals(flag)) {
setNoExit(true);
} else if ("-outjar".equals(fla... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setTarget(in.next());
} else if ("-time".equals(flag)) {
setTime(true);
} else if ("-time".equals(flag)) {
setTime(true);
} else if ("-verbose".equals(flag)) {
setVerbose(true);
} else if ("-showWeaveInfo".equals(flag)) {
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setArgfiles(new Path(project, file.getPath()));
} else {
ignore(flag);
}
} else {
File file = new File(flag);
if (file.isFile()
&& file.canRead()
&& FileUtil.hasSourceSuffix(fi... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | Commandline command;
static boolean isEmpty(String s) {
return ((null == s) || (0 == s.trim().length()));
}
GuardedCommand() {
command = new Commandline(); |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
void addFlag(String flag, boolean doAdd) {
if (doAdd && !isEmpty(flag)) {
command.createArgument().setValue(flag);
}
}
String addOption(String prefix, String[] validOptions, String input) {
if (isEmpty(input)) {
return null;
}
... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
}
List extractArguments() {
ArrayList result = new ArrayList();
String[] cmds = command.getArguments();
if (!LangUtil.isEmpty(cmds)) {
result.addAll(Arrays.asList(cmds));
}
return result;
}
/**
* Adjust args for size if necessary by c... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
if (size <= max) {
return args;
}
File tmpFile = null;
PrintWriter out = null;
try {
String userDirName = System.getProperty("user.dir");
File userDir = new File(userDirName);
tmpFile = File.createTempFile("argfile", "", ... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private final boolean handledMessage;
public AntMessageHandler(TaskLogger logger, boolean taskVerbose, boolean handledMessage) {
this.logger = logger;
this.taskLevelVerbose = taskVerbose;
this.handledMessage = handledMessage;
}
/* (non-Javadoc)
* @see org.aspectj.bridge.IMessageHandler#handleMes... |
261,808 | Bug 261808 iajc-Ant-Task fails "type already defined" | null | resolved fixed | 1da1f7c | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-01-31T04:33:22Z | 2009-01-21T12:13:20Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | this.logger.warning(messageText);
} else if (messageKind == IMessage.WEAVEINFO) {
this.logger.info(messageText);
} else if (messageKind == IMessage.TASKTAG) {
} else {
throw new BuildException("Unknown message kind from AspectJ compiler: " + messageKind.toString());
}
return handledMessage;
}
/* (... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.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... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen;
import org.aspectj.apache.bcel.generic.FieldGen;
import org.aspectj.apache.bcel.generic.FieldInstruction;
import org.aspectj.apache.bcel.generic.Instruction;
import org.aspectj.apache.bcel.generic.InstructionBranch;
import org.aspectj.apache.bcel.generi... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | import org.aspectj.util.PartialOrder;
import org.aspectj.weaver.AjAttribute;
import org.aspectj.weaver.AjcMemberMaker;
import org.aspectj.weaver.AnnotationAJ;
import org.aspectj.weaver.BCException;
import org.aspectj.weaver.ConcreteTypeMunger;
import org.aspectj.weaver.IClassWeaver;
import org.aspectj.weaver.IntMap;
im... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private static Trace trace = TraceFactory.getTraceFactory().getTrace(BcelClassWeaver.class);
/**
* This is called from {@link BcelWeaver} to perform the per-class weaving process.
*/
public static boolean weave(BcelWorld world, LazyClassGen clazz, List shadowMungers, List typeMungers, List lateTypeMungers) {
bo... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private final Map mapToAnnotations = new HashMap();
/**
* This holds the initialization and pre-initialization shadows for this class that were actually matched by mungers (if no
* match, then we don't even create the shadows really).
*/
private final List initializationShadows = new ArrayList(1);
private Bc... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | checkedXsetForLowLevelContextCapturing = true;
}
}
private List[] perKindShadowMungers;
private boolean canMatchBodyShadows = false;
private void fastMatchShadowMungers(List shadowMungers) {
perKindShadowMungers = new List[Shadow.MAX_SHADOW_KIND + 1];
for (int i = 0; i < perKindShadowMungers.length; i++)... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | Shadow.Kind kind = Shadow.SHADOW_KINDS[i];
if (!kind.isEnclosingKind() && !perKindShadowMungers[i + 1].isEmpty()) {
canMatchBodyShadows = true;
}
if (perKindShadowMungers[i + 1].isEmpty()) {
perKindShadowMungers[i + 1] = null;
}
}
}
private boolean canMatch(Shadow.Kind kind) {
return perKindSh... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
}
private boolean addSuperInitializer(ResolvedType onType) {
if (onType.isRawType() || onType.isParameterizedType())
onType = onType.getGenericType();
IfaceInitList l = (IfaceInitList) addedSuperInitializers.get(onType);
if (l != null)
return false;
l = new IfaceInitList(onType);
addedSuperIniti... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | final ResolvedType onType;
List list = new ArrayList();
IfaceInitList(ResolvedType onType) {
this.onType = onType;
}
public int compareTo(Object other) {
IfaceInitList o = (IfaceInitList) other;
if (onType.isAssignableFrom(o.onType))
return +1;
else if (o.onType.isAssignableFrom(onType))
ret... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | else
return 0;
}
public int fallbackCompareTo(Object other) {
return 0;
}
}
public boolean addDispatchTarget(ResolvedMember m) {
return addedDispatchTargets.add(m);
}
public void addLazyMethodGen(LazyMethodGen gen) {
addedLazyMethodGens.add(gen);
}
public void addOrReplaceLazyMethodGen(LazyMeth... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | return;
} else {
throw new BCException("conflict between: " + mg + " and " + existing);
}
}
}
addedLazyMethodGens.add(mg);
}
private boolean alreadyDefined(LazyClassGen clazz, LazyMethodGen mg) {
for (Iterator i = clazz.getMethodGens().iterator(); i.hasNext();) {
LazyMethodGen existing = (Laz... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | .makeBcelTypes(member.getParameterTypes()), UnresolvedType.getNames(member.getExceptions()), gen);
return ret;
}
/**
* Create a single bridge method called 'theBridgeMethod' that bridges to 'whatToBridgeTo'
*/
private static void createBridgeMethod(BcelWorld world, LazyMethodGen whatToBridgeToMethodGen, ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | fact = clazz.getFactory();
if (!whatToBridgeToMethodGen.isStatic()) {
body.append(InstructionFactory.createThis());
pos++;
}
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
if (!newParamTypes[i].equ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (clazz.getType().isAspect())
isChanged = true;
for (Iterator i = typeMungers.iterator(); i.hasNext();) {
Object o = i.next();
if (!(o instanceof BcelTypeMunger)) {
continue;
}
BcelTypeMunger munger = (BcelTypeMunger) o;
boolean typeMungerAffectedType = munger.munge(this);
if (typeM... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | LazyMethodGen staticInit = clazz.getStaticInitializer();
staticInit.getBody().insert(genInitInstructions(addedClassInitializers, true));
List methodGens = new ArrayList(clazz.getMethodGens());
for (Iterator i = methodGens.iterator(); i.hasNext();) {
LazyMethodGen mg = (LazyMethodGen) i.next();
if (... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | implement(mg);
}
if (!initializationShadows.isEmpty()) {
while (inlineSelfConstructors(methodGens))
;
positionAndImplement(initializationShadows);
}
if (lateTypeMungers != null) {
for (Iterator i = lateTypeMungers.iterator(); i.hasNext();) {
BcelTypeMunger munger = (BcelTypeMu... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (isChanged) {
clazz.getOrCreateWeaverStateInfo(inReweavableMode);
weaveInAddedMethods();
}
if (inReweavableMode) {
WeaverStateInfo wsi = clazz.getOrCreateWeaverStateInfo(true);
wsi.addAspectsAffectingType(aspectsAffectingType);
wsi.setUnwovenClassFileData(ty.getJavaClass().getBytes());
wsi... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private static ResolvedMember isOverriding(ResolvedType typeToCheck, ResolvedMember methodThatMightBeGettingOverridden,
String mname, String mrettype, int mmods, boolean inSamePackage, UnresolvedType[] methodParamsArray) {
if (methodThatMightBeGettingOverridden.isStatic())
return null;
if (methodThatMight... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (sameParams) {
if (typeToCheck.isParameterizedType()) {
return methodThatMightBeGettingOverridden.getBackingGenericMember();
} else if (!methodThatMightBeGettingOverridden.getReturnType().getErasureSignature().equals(mrettype)) {
ResolvedType superReturn = typeToCheck.getWorld().reso... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | return true;
if (inheritedMethod.isPrivate())
return false;
boolean isPackageVisible = !inheritedMethod.isPrivate() && !inheritedMethod.isProtected() && !inheritedMethod.isPublic();
if (isPackageVisible && !inSamePackage)
return false;
return true;
}
/**
* This method recurses up a specified type look... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | we
to
ResolvedMember isOverriding = isOverriding(typeToCheck, methodThatMightBeGettingOverridden, mname, mrettype, mmods,
inSamePackage, methodParamsArray);
if (isOverriding != null)
return isOverriding;
}
List l = typeToCheck.getInterTypeMungers();
for (Iterator iterator = l.iterat... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | return null;
ResolvedType superclass = typeToCheck.getSuperclass();
ResolvedMember overriddenMethod = checkForOverride(superclass, mname, mparams, mrettype, mmods, mpkg, methodParamsArray);
if (overriddenMethod != null)
return overriddenMethod;
ResolvedType[] interfaces = typeToCheck.getDeclaredInterfaces();... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | List methods = clazz.getMethodGens();
Set methodsSet = new HashSet();
for (int i = 0; i < methods.size(); i++) {
LazyMethodGen aMethod = (LazyMethodGen) methods.get(i);
methodsSet.add(aMethod.getName() + aMethod.getSignature());
}
for (int i = 0; i < methods.size(); i++) {
LazyMeth... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | System.err.println("Bridging: Checking supertype " + theSuperclass);
}
String pkgName = clazz.getPackageName();
UnresolvedType[] bm = BcelWorld.fromBcel(bridgeToCandidate.getArgumentTypes());
ResolvedMember overriddenMethod = checkForOverride(theSuperclass, name, psig, rsig, bridgeToCandidate.getAccessFlags... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | .append(overriddenMethod.getSignatureErased()).toString(); pr
boolean alreadyHaveABridgeMethod = methodsSet.contains(key);
if (!alreadyHaveABridgeMethod) {
createBridgeMethod(world, bridgeToCandidate, clazz, overriddenMethod);
methodsSet.add(key);
didSomething = true;
if (world.... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (!itdMethodsCtors.isEmpty()) {
isChanged = weaveAtMethodOnITDSRepeatedly(allDecams, itdMethodsCtors, reportedProblems);
}
List members = clazz.getMethodGens();
List decaMs = getMatchingSubset(allDecams, clazz.getType());
if (decaMs.isEmpty())
return false;
if (!members.isEmpty()) {
Set... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (annotationsToAdd == null)
annotationsToAdd = new ArrayList();
AnnotationGen a = ((BcelAnnotation) decaM.getAnnotationX()).getBcelAnnotation();
AnnotationGen ag = new AnnotationGen(a, clazz.getConstantPool(), true);
annotationsToAdd.add(ag);
mg.addAnnotation(decaM.getAnnotationX()... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (decaM.matches(mg.getMemberView(), world)) {
if (doesAlreadyHaveAnnotation(mg.getMemberView(), decaM, reportedProblems)) {
unusedDecams.remove(decaM);
continue;
}
if (annotationsToAdd == null)
annotationsToAdd = new ArrayList();
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (annotationsToAdd != null) {
Method oldMethod = mg.getMethod();
MethodGen myGen = new MethodGen(oldMethod, clazz.getClassName(), clazz.getConstantPool(), false);
.
for (Iterator iter = annotationsToAdd.iterator(); iter.has... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)) {
StringBuffer parmString = new StringBuffer("(");
UnresolvedType[] paramTypes = member.getParameterTypes();
for (int i = 0; i < paramTypes.length; i++) {
UnresolvedType type = paramTypes[i];
String s = org.aspectj.apache.bcel.classfil... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
getWorld().getMessageHandler().handleMessage(
WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ANNOTATES, new String[] { sig.toString(),
loc.toString(), decaM.getAnnotationString(),
methodName.startsWith("<init>") ? "constructor" : "method", decaM.getAspect().toString(),
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next();
if (typeMunger.getMunger().getKind() == wantedKind)
subset.add(typeMunger);
}
return subset;
}
public LazyMethodGen locateAnnotationHolderForFieldMunger(LazyClassGen clazz, BcelTypeMunger fieldMunger) {
NewFieldTypeMunger nftm = (NewFieldTypeMunge... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
List meths = clazz.getMethodGens();
String name = lookingFor.getName();
String paramSignature = lookingFor.getParameterSignature();
for (Iterator iter = meths.iterator(); iter.hasNext();) {
LazyMethodGen element = (LazyMethodGen) iter.next();
if (element.getName().equals(name) && element.getParameterSig... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | annotationHolder.addAnnotation(decaF.getAnnotationX());
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(world.getModelAsAsmManager(),
decaF.getSourceLocation(), itdIsActually.getSourceLocation());
isChanged = true;
modificationOccured = true;
} else {
if (!decaF.isSt... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
return isChanged;
}
/**
* Applies some set of declare @method/@ctor constructs (List<DeclareAnnotation>) to some bunch of ITDmembers
* (List<BcelTypeMunger>. It will iterate over the fields repeatedly until everything has been applied.
*/
private boolean weaveAtMethodOnITDSRepeatedly(List decaMCs, List... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else {
if (!decaMC.isStarredAnnotationPattern()) {
worthRetrying.add(decaMC);
}
}
}
while (!worthRetrying.isEmpty() && modificationOccured) {
modificationOccured = false;
List forRemoval = new ArrayList();
for (Iterator iter2 = worthRetrying.iterator(); iter2.hasNext();) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private boolean dontAddTwice(DeclareAnnotation decaF, AnnotationAJ[] dontAddMeTwice) {
for (int i = 0; i < dontAddMeTwice.length; i++) {
AnnotationAJ ann = dontAddMeTwice[i];
if (ann != null && decaF.getAnnotationX().getTypeName().equals(ann.getTypeName())) {
return true;
}
}
return false;
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (allDecafs.isEmpty())
return false;
boolean isChanged = false;
List itdFields = getITDSubset(clazz, ResolvedTypeMunger.Field);
if (itdFields != null) {
isChanged = weaveAtFieldRepeatedly(allDecafs, itdFields, reportedProblems);
}
List decaFs = getMatchingSubset(allDecafs, clazz.getType());
if (dec... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | unusedDecafs.remove(decaF);
continue;
}
if (decaF.getAnnotationX().isRuntimeVisible()) {
(
.
aB... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | aBcelField.addAnnotation(decaF.getAnnotationX());
}
}
AsmRelationshipProvider.getDefault().addDeclareAnnotationFieldRelationship(
world.getModelAsAsmManager(), decaF.getSourceLocation(), clazz.getName(), aBcelField);
reportFieldAnnotationWeavingMessage(clazz, fields, fieldCounter, ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | unusedDecafs.remove(decaF);
continue;
}
aBcelField.addAnnotation(decaF.getAnnotationX());
AsmRelationshipProvider.getDefault().addDeclareAnnotationFieldRelationship(
world.getModelAsAsmManager(), decaF.getSourceLocation(), clazz.getName(), aBcelField);
isChanged = tru... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | */
private void checkUnusedDeclareAtTypes(Set unusedDecaTs, boolean isDeclareAtField) {
for (Iterator iter = unusedDecaTs.iterator(); iter.hasNext();) {
DeclareAnnotation declA = (DeclareAnnotation) iter.next();
if ((declA.isExactPattern() || (declA.getSignaturePattern().getDeclaringType() instanceof Exact... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | .getSourceLocation(), true);
}
world.getMessageHandler().handleMessage(message);
}
}
}
}
private void reportFieldAnnotationWeavingMessage(LazyClassGen clazz, List fields, int fieldCounter, DeclareAnnotation decaF) {
if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)) {
BcelFi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.