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
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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;...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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 { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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 ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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);...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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()) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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)) {...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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"...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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)) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
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...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
Commandline command; static boolean isEmpty(String s) { return ((null == s) || (0 == s.trim().length())); }
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
GuardedCommand() { command = new Commandline(); } void addFlag(String flag, boolean doAdd) { if (doAdd && !isEmpty(flag)) { command.createArgument().setValue(flag); } } String addOption(String prefix, String[] validOptions, String input) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
command.addArguments(new String[] {flag, argument}); } } List extractArguments() { ArrayList result = new ArrayList(); String[] cmds = command.getArguments(); if (!LangUtil.isEmpty(cmds)) { result.addAll(Arrays.asList(cmds)); } r...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
for (int i = 0; (i < args.length) && (size < max); i++) { size += 1 + (null == args[i] ? 0 : args[i].length()); } if (size <= max) { return args; } File tmpFile = null; PrintWriter out = null; try { String userDirName = Sys...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
private TaskLogger logger; private final boolean taskLevelVerbose; private final boolean handledMessage; public AntMessageHandler(TaskLogger logger, boolean taskVerbose, boolean handledMessage) { this.logger = logger; this.taskLevelVerbose = taskVerbose; this.handledMessage = handledMessage; ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} else { this.logger.verbose(messageText); } } else if (messageKind == IMessage.WARNING) { this.logger.warning(messageText); } else if (messageKind == IMessage.WEAVEINFO) { this.logger.info(messageText); } else if (messageKind == IMessage.TASKTAG) { } else { throw new BuildException("...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
/* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC) * 2003 Contributors. * 2005 Contributors * All rights reserved. * This program and the accompanying ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
import java.io.FileFilter; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.Arrays; import java.util.jar.JarEntry; import java.util.jar.JarFile; import junit.framework.TestCase; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Location; import or...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
private static final Class NO_EXCEPTION = null; private static final String NOFILE = "NOFILE"; private static final File tempDir; private static final String aspectjtoolsJar; private static final String testdataDir; private static final StringBuffer MESSAGES = new StringBuffer(); private static FileFilter PICK_...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
File dir = new File("../taskdefs/testdata"); if (dir.canRead() && dir.isDirectory()) { testdataDir = dir.getAbsolutePath(); } else { testdataDir = null; } PICK_CLASS_FILES = new FileFilter() { public boolean accept(File file) { return ( (null != file) && file.isFile() && file.canWr...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
* <code>System.getProperty("java.class.path")</code> * @param args a String[], first is expected path, if any */ public static void main(String[] args) { java.io.File toolsjar = AjcTask.findAspectjtoolsJar(); if ((null == args) || (0 == args.length)) { if (null != toolsjar) { System.err.println("FAIL ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
tempDir.delete(); if (null != testdataDir) { File dataDir = new File(testdataDir); if (dataDir.canRead()) { FileUtil.deleteContents(dataDir, PICK_CLASS_FILES, false); } } } } private static final File getTempDir() { return tempDir; } public AjcTaskTest(String name) { super(name); }...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
assertTrue("not " + exceptionString, false); } else if (-1 == m.indexOf(exceptionString)) { assertEquals(exceptionString, e.getMessage()); } } } } private void checkContains(String[] cmd, String option, boolean contains) { for (int ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
Project p = new Project(); task.setProject(p); if (null != destDir) { task.setDestdir(destDir); } if (NOFILE.equals(input)) { } else if (input.endsWith(".lst")) { if (-1 != input.indexOf(",")) { throw new IllegalArgumentExcepti...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
public InfoHolder() { } public boolean handleMessage(IMessage message) { if (0 == IMessage.INFO.compareTo(message.getKind())) { AjcTaskTest.collectMessage(message.getMessage()); } return true; } } public static class Holder extends...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
public Holder() { } public boolean handleMessage(IMessage message) { IMessage.Kind kind = message.getKind(); if (IMessage.ERROR.isSameOrLessThan(kind)) { String m = kind.toString(); AjcTaskTest.collectMessage(m.substring(0, 1)); } ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
} } public void testOutputRequirement() { AjcTask task = getTask("default.lst"); checkRun(task, null); task = getTask("default.lst", null); task.setCopyInjars(true); checkRun(task, null); task = getTask("default.lst", null); task.setSourceRootCopyFilter("**/*.java"); checkRun(task, "sourceRoot...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
assertTrue(file + ".canRead() failed", file.canRead()); file = new File(pack, "includeme").getAbsoluteFile(); assertTrue(file + ".canRead() failed", file.canRead()); file = new File(pack, "something.txt"); assertTrue(file + ".canRead() passed", !file.canRead()); file = new File(destDir, "doNotCopy"); ass...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
File pack = new File(destDir, "pack"); file = new File(pack, "includeme").getAbsoluteFile(); assertTrue(file + ".canRead() failed", file.canRead()); file = new File(pack, "Pack.class").getAbsoluteFile(); assertTrue(file + ".canRead() failed", file.canRead()); file = new File(dest...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
indirs.addExisting(new Path(p, new File(dir, "inpathDirOne").getAbsolutePath())); indirs.addExisting(new Path(p, new File(dir, "inpathDirTwo").getAbsolutePath())); task.setInpath(indirs); task.setInpathDirCopyFilter("doNotCopy,**/*.txt,**/*.class"); checkRun(task, null); ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
checkRun(task, "inpathDirCopyFilter"); } public void testLoggingMode() { AjcTask task = getTask("default.lst"); task.setFailonerror(false); File logFile = new File("testLogFile1.txt"); String s = logFile.getAbsolutePath(); logFile.delete(); long initialLength = logFile.length(); task.setLog(logFi...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
assertEquals(VerboseCommandEditor.VERBOSE, cmd[0]); } public void testLimitTo() { int numArgs = 100; String arg = "123456789"; String[] args = new String[numArgs]; for (int i = 0; i < args.length; i++) { args[i] = arg; } int max = numArgs * (arg.length() + 1); Location location = new Locatio...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
BufferedReader reader = new BufferedReader(fin); String line; int i = 0; while (null != (line = reader.readLine())) { assertEquals(i + ": ", args[i++], line); } assertEquals("num entries", i, args.length); } catch (IOException e) { assertTrue("IOException " + e.getMessage(), false); } finally ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
AjcTask task = getTask("compileError.lst"); task.setFailonerror(false); MESSAGES.setLength(0); runTest( task, null, MessageHolderChecker.ONE_ERROR, Holder.class.getName()); String result = MESSAGES.toString(); MESSAGES.setLength(0); assertEquals("messages", "e", result); } public void ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
} assertTrue(DONE + " is not suffix of \"" + temp + "\"", false); } temp = new String(result); temp = temp.substring(0, temp.length()-DONE.length()); if (temp.endsWith(DONE)) { temp = new String(result); if (temp.length() > 20) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
public void testDefaultListForkedIncremental() { AjcTask task = getTask("default.lst"); task.setFork(true); task.setIncremental(true); runTest(task, BuildException.class, MessageHolderChecker.NONE); } public void testCompileErrorFailOnErrorDefault() { AjcTask task = getTask("compileError.lst"); fi...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
} public void testDefaultList() { AjcTask task = getTask("default.lst"); runTest(task, NO_EXCEPTION, MessageHolderChecker.INFOS); } public void testCompileErrorList() { AjcTask task = getTask("compileError.lst"); task.setFailonerror(false); runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR); } ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
public void testVersions() { String[] inputs = AjcTask.TARGET_INPUTS; for (int i = 0; i < inputs.length; i++) { AjcTask task = getTask(NOFILE); task.setTarget(inputs[i]); String[] cmd = task.makeCommand(); checkContains(cmd, "-target", true); checkContains(cmd, inputs...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
String classpath = null; for (int i = 0; i < cmd.length; i++) { if ("-classpath".equals(cmd[i])) { classpath = cmd[i + 1]; break; } } assertTrue( "expecting aspectj in classpath", (-1 != classpath.indexOf("aspectjrt.jar"))); } public void testNoFile() { AjcTask task...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_WARNING); } public void testNoSuchFile() { AjcTask task = getTask("NoSuchFile.lst"); task.setFailonerror(false); runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR_ONE_ABORT); } public void testDefaultFileComplete() { AjcTask task = getTask("defau...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
"reweavable", "reweavable:compress", "noInline" }; for (int i = 0; i < xopts.length; i++) { AjcTask task = getTask(NOFILE); task.setX(xopts[i]); String[] cmd = task.makeCommand(); checkContains(cmd,"-X" + xopts[i],true); } } public void testOutxml () { File destDir = getTempDir();...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
destDir.canRead() || destDir.mkdirs()); AjcTask task = getTask("showweaveinfo.lst",destDir); task.setOutxmlfile(customName); checkRun(task,null); File outxmlFile = new File(destDir,customName); assertTrue(customName + " missing",outxmlFile.exists()); } protected void runTe...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
protected void runTest( AjcTask task, Class exceptionType, MessageHolderChecker checker, MessageHandler holder) { Throwable thrown = null; boolean rerunForked = ((null != aspectjtoolsJar) && (null == exceptionType) && ((null == checker) || !checker.expectFail())); String label = "same-vm "; ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
label + "expected " + exceptionType.getName() + " got " + render(thrown), false); } if (null != holder) { if (null == checker) { checker = MessageHolderChecker.NONE; } checker.check(holder, label); } if (!rerunForked) { break; } else { label = "other-...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
static int IGNORE = Integer.MIN_VALUE; static MessageHolderChecker NONE = new MessageHolderChecker(0, 0, 0, 0, 0); static MessageHolderChecker INFOS = new MessageHolderChecker(0, 0, 0, 0, IGNORE); static MessageHolderChecker ONE_ERROR = new MessageHolderChecker(0, 0, 1, 0, IGNORE);
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
static MessageHolderChecker ONE_ERROR_ONE_ABORT = new MessageHolderChecker(1, 0, 1, 0, IGNORE); static MessageHolderChecker ONE_WARNING = new MessageHolderChecker(0, 0, 0, 1, IGNORE); int aborts, fails, errors, warnings, infos; int weaveinfos; public MessageHolderChecker( int aborts, int fails...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
check(holder, warnings, IMessage.WARNING); check(holder, infos, IMessage.INFO); check(holder, weaveinfos, IMessage.WEAVEINFO); failed = false; } finally { if (failed) { MessageUtil.print(System.err, holder, label + "failed?"); } } } private void check( IMessageHolder holder, int...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
private static final String[] NONE = new String[0]; String[] lastCommand; public String[] editCommand(String[] command) { lastCommand = (String[]) LangUtil.safeCopy(command, NONE); return command; } public String[] lastCommand() { return (String[]) LangUtil.safeCopy(lastCommand, NONE); } } class VerboseComma...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
private static String[] NONE = new String[0]; public static ICommandEditor VERBOSE = new AppendingCommandEditor(new String[] { "-verbose" }, NONE); public static ICommandEditor INVALID = new AppendingCommandEditor(NONE, new String[] { "-invalidOption" }); final String[] prefix; final String[] suffix; public Ap...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC), * 2003 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1....
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* <li>Spec (specification) is created.</li> * <li>This is created using the Spec.</li> * <li>setupAjcRun(Sandbox, Validator) is invoked, * at which point this populates the shared sandbox * with values derived from the spec and also * sets up internal state based on both the sandbox * and the spec...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
Sandbox sandbox; /** * During run, these String are passed as the source and arg files to compile. * The list is set up in setupAjcRun(..), when arg files are prefixed with "@". */ final List arguments; /** * During run, these String are collapsed and passed as the injar option. ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* This checks that the spec is reasonable and does setup: * <ul> * <li>calculate and set sandbox testBaseSrcDir as {Sandbox.testBaseDir}/ * {Spec.testSrcDirOffset}/<li> * <li>get the list of source File to compile as {Sandbox.testBaseSrcDir} / * {Spec.getPaths..}</li> * <li>get the list of...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
return false; } this.sandbox = sandbox; String rdir = spec.testSrcDirOffset; File testBaseSrcDir; if ((null == rdir) || (0 == rdir.length())) { testBaseSrcDir = sandbox.testBaseDir; } else { testBaseSrcDir = new File(sandbox.testBaseDir, rdir); ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
LangUtil.endsWith(paths, CompilerRun.JAR_SUFFIXES, true); inpathPaths = LangUtil.selectDirectories(paths, testBaseSrcDir); if (!spec.badInput) { int found = inpathPaths.length + injarPaths.length + srcPaths.length; if (paths.length != found) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
|| !validator.canRead( testBaseSrcDir, spec.extdirs, "extdirs")) { return false; } } int numSources = srcPaths.length + injarPaths.length + inpathPaths.length ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
final File[] xlintFiles = (null == spec.xlintfile ? new File[0] : FileUtil.getBaseDirFiles(testBaseSrcDir, new String[] {spec.xlintfile})); for (int i = 0; i < injarFiles.length; i++) { if (!injarFiles[i].exists()) { injarFiles[i] = new File(sandbox.classesDir, i...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
final File[] srcFiles; File[] sourcerootFiles = new File[0]; if (!spec.isStaging()) { srcFiles = FileUtil.getBaseDirFiles( testBaseSrcDir, srcPaths, CompilerRun.SOURCE_SUFFIXES); if ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
if (!LangUtil.isEmpty(spec.sourceroots)) { sourcerootFiles = FileUtil.copyFiles( testBaseSrcDir, spec.sourceroots, sandbox.stagingDir); ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
pickIncFiles, false); } if (0 < sourcerootFiles.length) { FileUtil.sleepPastFinalModifiedTime( sourcerootFiles); } } File[] files = ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
arguments.add(sr); } if (spec.outjar != null) { arguments.add("-outjar"); arguments.add(new File(sandbox.classesDir,spec.outjar).getPath()); } if (!LangUtil.isEmpty(extdirFiles)) { arguments.add("-extdirs"); String sr = FileUtil.flatten(extdirFil...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
arguments.add("@" + ra[j]); } if (!spec.badInput && spec.isStaging) { validator.fail( "warning: files listed in argfiles not staged"); } } final boolean checkReadable = !spec.badInput; int size = spec.includeClasses...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* <li>construct a command line, using as classpath * {@link Sandbox.classpathToString()}<li> * <li>construct a compiler using {@link Spec#compiler} * or any overriding value set in TestSetup.<li> * <li>Just before running, set the compiler in the sandbox using * {@link Sandbox.set...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
if (spec.outjar == null) { argList.add("-d"); String outputDirPath = sandbox.classesDir.getAbsolutePath(); try { outputDirPath = sandbox.classesDir.getCanonicalPath(); } catch (IOException e) { MessageUtil.abort( ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
argList.add( FileUtil.flatten( (String[]) injars.toArray(new String[0]), null)); } if (0 < inpaths.size()) { argList.add("-inpath"); argList.add( FileUtil.flatten( ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
slop); if (!LangUtil.isEmpty(found)) { for (Iterator iter = found.iterator(); iter.hasNext(); ) { MessageUtil.info( status, Spec.SEEK_MESSAGE_PREFIX + iter....
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
"aborted, but compiler valid?: " + compiler); } else { if (!LangUtil.isEmpty(spec.dirChanges)) { LangUtil.throwIaxIfFalse( 1 == spec.dirChanges.size(), "expectin...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
String m = commandResult ? "compile did not fail as expected" : "compile failed unexpectedly"; MessageUtil.fail(status, m); } else if (null != dirChanges) { result = dirChanges.end(sta...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
public static final String XMLNAME = "compile"; public static final String DEFAULT_COMPILER = ReflectionFactory.ECLIPSE; static final String SEEK_PREFIX = "-seek:"; static final String SEEK_MESSAGE_PREFIX = "found: "; private static final CRSOptions CRSOPTIONS = new CRSOption...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* required library is not found. * @param sourceVersion the String (if any) describing the -source option * (expecting one of [null, "1.3", "1.4", "1.5"]. * @param compilerName the String name of the target compiler * @param toAdd the ArrayList to add -bootclasspath to ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
} break; case (4) : if (!LangUtil.supportsJava("1.4")) { if (ReflectionFactory .ECLIPSE .equals(compilerName)) { return "run eclipse under 1.4 to handle -so...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
return CRSOPTIONS.getOptions(); } private static String[] copy(String[] input) { if (null == input) { return null; } String[] result = new String[input.length]; System.arraycopy(input, 0, result, 0, input.length); return result;...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
protected void initClone(Spec spec) throws CloneNotSupportedException { super.initClone(spec); spec.argfiles = copy(argfiles); spec.aspectpath = copy(aspectpath); spec.classpath = copy(classpath); spec.compiler = compiler; spec.includeC...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
public void setPermitAnyCompiler(boolean permitAny) { this.permitAnyCompiler = permitAny; } public void setCompiler(String compilerName) { this.compiler = compilerName; } public void setTestSrcDirOffset(String s) { if (null != s) { test...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
/** * Add to default classpath * (which includes aspectjrt.jar and testing-client.jar). * @param files comma-delimited list of classpath entries - ignored if * null or empty */ public void setClasspath(String files) { if (!LangUtil.isEmpty(files)) { ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* @param files comma-delimited list of directories * - ignored if null or empty */ public void setExtdirs(String dirs) { if (!LangUtil.isEmpty(dirs)) { extdirs = XMLWriter.unflattenList(dirs); } } /** * Set aspectpath, deleting...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
if (LangUtil.isEmpty(argfiles)) { return new String[0]; } return (String[]) LangUtil.copy(argfiles); } /** * This implementation skips if: * <ul> * <li>incremental test, but using ajc (not eclipse)</li> * <li>usejavac, but javac...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
String compilerClassName = compiler; if (null != testSetup) { compilerClassName = testSetup.compilerName; } if (null != compilerClassName) { int loc = compilerClassName.lastIndexOf("."); if (-1 != loc) { compilerClas...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* either list, depending on the flag prefix: * <ul> * <li>-foo: use -foo unless forced off.<li> * <li>^foo: (force off) remove any -foo option from the run flags</li> * <li>!foo: (force on) require the -foo flag </li> * </ul> * If there is a force conflict, then the...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* Finally, compiler limitations are enforced here by skipping * tests which the compiler cannot do: * <ul> * <li>eclipse does not do -lenient, -strict, -usejavac, -preprocess, * -XOcodeSize, -XSerializable, XaddSafePrefix, * -XserializableAspects,-XtargetNearSource</...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
} Option.Family getFamily = CRSOPTIONS.crsIncrementalOption.getFamily(); final boolean haveIncrementalFlag = (null != values.firstInFamily(getFamily)); if (spec.isStaging()) { if (!haveIncrementalF...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
return checkResult(result); } } String compilerName = (null == result.compilerName ? spec.compiler : result.compilerName); if (hasCompilerSpecErrors(compilerName, values, result)) { r...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
result.commandOptions = args; result.result = true; return checkResult(result); } /** * Ensure exit invariant: * <code>result.result == (null == result.failureReason) * == (null != result.commandOptions)</code> * @param result the TestSet...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
return result; } boolean hasInvalidOptions(Values values, TestSetup result) { for (Iterator iter = CRSOPTIONS.invalidOptions.iterator(); iter.hasNext(); ) { Option option = (Option) iter.next(); if (null != values.f...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
&& (!(ReflectionFactory.ECLIPSE.equals(compilerName) || ReflectionFactory.OLD_AJC.equals(compilerName) || CRSOptions.AJDE_COMPILER.equals(compilerName) || CRSOptions.AJCTASK_COMPILER.equals(compilerName) || permitAnyCompiler ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
final Spec spec = this; final Values localValues; final Options options = CRSOPTIONS.getOptions(); try { String[] input = getOptionsArray(); localValues = options.acceptInput(input); ...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
String err = combined.resolve(); if (null != err) { result.failureReason = err; return null; } return handleTestArgs(combined, result); }
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
/** * This interprets and nullifies values for the test. * @param values the Option.Value[] being processed * @param result the TestSetup to modify * @return false if error (caller should return), true otherwise */ Values handleTestArgs(Values values, final TestSetup...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
if (!CRSOPTIONS.compilerIsLoadable(option)) { result.failureReason = "unable to load compiler: " + option; throw Values.Selector.STOP; } result.compilerName = compi...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
protected int indexOf(String global, ArrayList argList) { int max = argList.size(); for (int i = 0; i < max; i++) { if (global .equals(((String) argList.get(i)).substring(1))) { return i; } } return -...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
out.printAttribute("includeClassesDir", "true"); } if (!LangUtil.isEmpty(argfiles)) { out.printAttribute( "argfiles", XMLWriter.flattenFiles(argfiles)); } if (!LangUtil.isEmpty(aspectpath)) { out.prin...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
* Encapsulate the directives that can be set using * global arguments supplied in {@link Spec.getOptions()}. * This supports changing the compiler and ignoring warnings. */ class TestSetup { String compilerName; /** * true if we shoul...
130,300
Bug 130300 Remove, hide or obfuscate -XnoWeave
This option is redundant apart from use in AspectJ development and maintenance. It is confusing to users and is a source new problems for LTW.
verified fixed
b225911
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-05T17:00:04Z
2006-03-03T12:46:40Z
testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
if (null != commandOptions) { testSetup.commandOptions = new ArrayList(); testSetup.commandOptions.addAll(commandOptions); } return testSetup; } public String toString() { return "TestSetup(" ...