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
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} else { result.append(infix); } result.append(path); } return result.toString(); } /** * Normalize path for comparisons by rendering absolute trimming and changing '\\' to '/' * * @return "" if null or normalized path otherwise */ public static String normalizedPath(File file) { return (nul...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
*/ public static File getBestFile(String[] paths) { if (null == paths) { return null; } File result = null; for (int i = 0; (null == result) && (i < paths.length); i++) { String path = paths[i]; if (null == path) { continue; } if (path.startsWith("sp:")) { try { path = System.getPro...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
return result; } /** * Render as best file, canonical or absolute. * * @param file the File to get the best File for (not null) * @return File of the best-available path * @throws IllegalArgumentException if file is null */ public static File getBestFile(File file) { LangUtil.throwIaxIfNull(file, "fil...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
if (file.exists()) { try { return file.getCanonicalPath(); } catch (IOException e) { return file.getAbsolutePath(); } } else { return file.getPath(); } } public static String[] getAbsolutePaths(File[] files) { if ((null == files) || (0 == files.length)) { return new String[0]; } Str...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} /** * Recursively delete some contents of dir, but not the dir itself. This deletes any subdirectory which is empty after its files * are deleted. * * @return the total number of files deleted */ public static int deleteContents(File dir, FileFilter filter) { return deleteContents(dir, filter, true); ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
for (int i = 0; i < fromFiles.length; i++) { String string = fromFiles[i]; File file = new File(dir, string); if ((null == filter) || filter.accept(file)) { if (file.isDirectory()) { result += deleteContents(file, filter, deleteEmptyDirs); if (deleteEmptyDirs && (0 == file.list().length)) { ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* out the original contents of toDir. (subdirectories are not renamed per directory rules) * * @param fromSuffix select files with this suffix - select all if null or empty * @param toSuffix replace fromSuffix with toSuffix in the destination file name - ignored if null or empty, appended to name if * f...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
/** * Recursively copy files in fromDir (with any fromSuffix) to toDir, replacing fromSuffix with toSuffix if any. This silently * ignores dirs and files that are not readable but throw IOException for directories that are not writable. This does not clean * out the original contents of toDir. (subdirectories are...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
final boolean haveSuffix = ((null != fromSuffix) && (0 < fromSuffix.length())); final int slen = (!haveSuffix ? 0 : fromSuffix.length()); if (!toDir.exists()) { toDir.mkdirs(); } final String[] fromFiles; if (!haveSuffix) { fromFiles = fromDir.list(); } else { FilenameFilter filter = new FilenameFi...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} File targetFile = new File(toDir, filename); if ((null == delegate) || delegate.accept(targetFile)) { copyFile(fromFile, targetFile); } result++; } } } return result; } /** * Recursively list files in srcDir. * * @return ArrayList with String paths of File under srcDir (r...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* Recursively list files in srcDir. * * @return ArrayList with String paths of File under srcDir (relative to srcDir) */ public static File[] listFiles(File srcDir, FileFilter fileFilter) { ArrayList<File> result = new ArrayList<File>(); if ((null != srcDir) && srcDir.canRead()) { listFiles(srcDir, resul...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
public static File[] getBaseDirFiles(File basedir, String[] paths) { return getBaseDirFiles(basedir, paths, (String[]) null); } /** * Convert String[] paths to File[] as offset of base directory * * @param basedir the non-null File base directory for File to create with paths * @param paths the String[] of...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
result[i] = newFile(basedir, paths[i]); } } return result; } /** * Create a new File, resolving paths ".." and "." specially. * * @param dir the File for the parent directory of the file * @param path the path in the parent directory (filename only?) * @return File for the new file. */ private st...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* * @param srcDir an existing, readable directory containing relativePaths files * @param relativePaths a set of paths relative to srcDir to readable File to copy * @param destDir an existing, writable directory to copy files to * @throws IllegalArgumentException if input invalid, IOException if operations fai...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* @param fromFile the File path of the file or directory to copy - must be readable * @param toFile the File path of the target file or directory - must be writable (will be created if it does not exist) */ public static void copyFile(File fromFile, File toFile) throws IOException { LangUtil.throwIaxIfNull(fromF...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} else { LangUtil.throwIaxIfFalse(false, "not dir or file: " + fromFile); } } } /** * Ensure that the parent directory to path can be written. If the path has a null parent, DEFAULT_PARENT is tested. If the path * parent does not exist, this tries to create it. * * @param path the File path whose pa...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* @throws IOException */ public static void copyValidFiles(File fromFile, File toFile) throws IOException { FileInputStream in = null; FileOutputStream out = null; try { in = new FileInputStream(fromFile); out = new FileOutputStream(toFile); copyStream(in, out); } finally { if (out != null) { ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
for (int bytesRead = in.read(buf, 0, MAX); bytesRead != -1; bytesRead = in.read(buf, 0, MAX)) { out.write(buf, 0, bytesRead); } } public static void copyStream(Reader in, Writer out) throws IOException { final int MAX = 4096; char[] buf = new char[MAX]; for (int bytesRead = in.read(buf, 0, MAX); bytesRead ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} if (result.exists()) { System.err.println("exhausted files for child dir in " + parent); return null; } return ((result.mkdirs() && result.exists()) ? result : null); } /** * Make a new temporary directory in the same directory that the system uses for temporary files, or if that files, in the * cur...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
tempFile.delete(); } } return result; } public static URL[] getFileURLs(File[] files) { if ((null == files) || (0 == files.length)) { return new URL[0]; } URL[] result = new URL[files.length]; for (int i = 0; i < result.length; i++) { result[i] = getFileURL(files[i]); } return result; } /*...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
result = new URL(url + (file.isDirectory() ? "/" : "")); } catch (MalformedURLException e) { String m = "Util.makeURL(\"" + file.getPath() + "\" MUE " + e.getMessage(); System.err.println(m); } return result; } /** * Write contents to file, returning null on success or error message otherwise. This trie...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} catch (IOException e) { return LangUtil.unqualifiedClassName(e) + " writing " + file + ": " + e.getMessage(); } finally { if (null != out) { try { out.close(); } catch (IOException e) { } } } } /** * Reads a boolean array with our encoding */ public static boolean[] readBooleanAr...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} } /** * Reads an int array with our encoding */ public static int[] readIntArray(DataInputStream s) throws IOException { int len = s.readInt(); int[] ret = new int[len]; for (int i = 0; i < len; i++) { ret[i] = s.readInt(); } return ret; } /** * Writes an int array with our encoding */ publ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
ret[i] = s.readUTF(); } return ret; } /** * Writes an int array with our encoding */ public static void writeStringArray(String[] a, DataOutputStream s) throws IOException { if (a == null) { s.writeInt(0); return; } int len = a.length; s.writeInt(len); for (int i = 0; i < len; i++) { s.wri...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} r.close(); return b.toString(); } /** * Returns the contents of this file as a byte[] */ public static byte[] readAsByteArray(File file) throws IOException { FileInputStream in = new FileInputStream(file); byte[] ret = FileUtil.readAsByteArray(in); in.close(); return...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
* Reads this input stream and returns contents as a byte[] */ public static byte[] readAsByteArray(InputStream inStream) throws IOException { int size = 1024; byte[] ba = new byte[size]; int readSoFar = 0; while (true) { int nRead = inStream.read(ba, readSoFar, size - readSoFar); if (nRead == -1) { ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
int index = (int) (Math.random() * 6d); for (int i = 0; i < LEN; i++) { if (index >= LEN) { index = 0; } result[index++] = FILECHARS.charAt((int) (Math.random() * FILECHARS_length)); } return new String(result); } public static InputStream getStreamFromZip(String zipFile, String name) { try { ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
/** * Do line-based search for literal text in source files, returning file:line where found. * * @param sought the String text to seek in the file * @param sources the List of String paths to the source files * @param listAll if false, only list first match in file * @param errorSink the PrintStream to pr...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
String path = iter.next(); String error = lineSeek(sought, path, listAll, result); if ((null != error) && (null != errorSink)) { errorSink.println(error); } } return result; } /** * Do line-based search for literal text in source file, returning line where found as a String in the form * {sourceP...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
int lineNum = 0; FileReader fin = null; try { fin = new FileReader(file); BufferedReader reader = new BufferedReader(fin); String line; while (null != (line = reader.readLine())) { lineNum++; int loc = line.indexOf(sought); if (-1 != loc) { sink.add(sourcePath + ":" + lineNum + ":" + lo...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
if (parent != null) { parent.mkdirs(); } return new BufferedOutputStream(new FileOutputStream(file)); } /** * Sleep until after the last last-modified stamp from the files. * * @param files the File[] of files to inspect for last modified times (this ignores null or empty files array and null or * ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
File[] files = baseDir.listFiles(); for (int i = 0; i < files.length; i++) { File f = files[i]; if (f.isDirectory()) { listClassFiles(f, result); } else { if (f.getName().endsWith(".class")) { result.add(f); } } } } private static void listFiles(final File baseDir, ArrayList<File> res...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
} } } private static boolean isValidFileName(String input) { return ((null != input) && (-1 == input.indexOf(File.pathSeparator))); } private static void listFiles(final File baseDir, String dir, ArrayList<String> result) { final String dirPrefix = (null == dir ? "" : dir + "/"); final File dirFile = (nul...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
return ret; } /** * A pipe when run reads from an input stream to an output stream, optionally sleeping between reads. * * @see #copyStream(InputStream, OutputStream) */ public static class Pipe implements Runnable { private final InputStream in; private final OutputStream out; private final long slee...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
*/ Pipe(InputStream in, OutputStream out) { this(in, out, 100l, false, false); } /** * @param in the InputStream source to read * @param out the OutputStream sink to write * @param tryClosingStreams if true, then try closing both streams when done * @param sleep milliseconds to delay between reads ...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
try { final int MAX = 4096; byte[] buf = new byte[MAX]; int count = in.read(buf, 0, MAX); ByteArrayOutputStream mySnoop; while ((halt && finishStream && (0 < count)) || (!halt && (-1 != count))) { out.write(buf, 0, count); mySnoop = snoop; if (null != mySnoop) { mySnoop.wri...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
in.close(); } catch (IOException e) { } } if (closeOutput) { try { out.close(); } catch (IOException e) { } } done = true; completing(totalWritten, thrown); } } /** * Tell the pipe to halt the next time it gains control. * * @param wait i...
282,379
Bug 282379 [plan] spaces in file names causes AspectJ weaver to fail
The WeavingAdaptor requires the aspect path to be composed by URLs. The URL of a file is encoded, for example if it contains spaces they will be represented with %20. It then converts these file:// urls to simple string paths, and then tries to access files pointed by those paths. This is done inside the FileUtil.makeC...
resolved fixed
5648105
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-05T21:29:00Z
2009-07-03T14:06:40Z
util/src/org/aspectj/util/FileUtil.java
notifyAll(); } if (!done) { try { Thread.sleep(5l); } catch (InterruptedException e) { break; } } } } return halt; } public long totalWritten() { return totalWritten; } public Throwable getThrown() { return thrown; } /** * This is calle...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
/* ******************************************************************* * Copyright (c) 2005-2010 Contributors. * 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 distribution and is available at ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
private UnresolvedType superclass; private UnresolvedType[] superInterfaces = UnresolvedType.NONE; public static final int UNKNOWN = -1; public static final int METHOD = 1; public static final int TYPE = 2; private int declaringElementKind = UNKNOWN; private TypeVariableDeclaringElement declaringEleme...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
this.superInterfaces = superInterfaces; } /** * @return the first bound, either the superclass or if non is specified the first interface or if non are specified then OBJECT */ public UnresolvedType getFirstBound() { if (firstbound != null) { return firstbound; } if (superclass == null || superclass.get...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
* resolve all the bounds of this type variable */ public TypeVariable resolve(World world) { if (isResolved) { return this; } if (beingResolved) { return this; } beingResolved = true; TypeVariable resolvedTVar = null; if (declaringElement != null) { if (declaringElementKind == TYPE) { ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
} } } if (resolvedTVar == null) { throw new IllegalStateException(); } } else { resolvedTVar = this; } superclass = resolvedTVar.superclass; superInterfaces = resolvedTVar.superInterfaces; if (superclass != null) { ResolvedType rt = superclass.resolve(world); ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
} isResolved = true; beingResolved = false; return this; } /** * answer true if the given type satisfies all of the bound constraints of this type variable. If type variable has not been * resolved then throws IllegalStateException */ public boolean canBeBoundTo(ResolvedType candidate) { if (!isResolve...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
private boolean isASubtypeOf(UnresolvedType candidateSuperType, UnresolvedType candidateSubType) { ResolvedType superType = (ResolvedType) candidateSuperType; ResolvedType subType = (ResolvedType) candidateSubType; return superType.isAssignableFrom(subType); } public void setUpperBound(UnresolvedType supercla...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
if (superInterfaces != null) { for (int i = 0; i < superInterfaces.length; i++) { if (!getFirstBound().equals(superInterfaces[i])) { ret.append(" & "); ret.append(superInterfaces[i].getName()); } } } } return ret.toString(); } @Override public String toString() { return "TypeVa...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
} return sb.toString(); } /** * @return signature for inclusion in an attribute, there must be no 'P' in it signatures */ public String getSignatureForAttribute() { StringBuffer sb = new StringBuffer(); sb.append(name); sb.append(":"); if (superInterfaces.length == 0) { sb.append(((ResolvedType) sup...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
if (element instanceof UnresolvedType) { this.declaringElementKind = TYPE; } else { this.declaringElementKind = METHOD; } } public TypeVariableDeclaringElement getDeclaringElement() { return declaringElement; } public void setDeclaringElementKind(int kind) { this.declaringElementKind = kind; } publi...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
public static TypeVariable read(VersionedDataInputStream s) throws IOException { String name = s.readUTF(); UnresolvedType ubound = UnresolvedType.read(s); int iboundcount = s.readInt(); UnresolvedType[] ibounds = UnresolvedType.NONE; if (iboundcount > 0) { ibounds = new UnresolvedType[iboundcount]; ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
/* ******************************************************************* * Copyright (c) 2005-2010 Contributors. * 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 distribution and is available at ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
} /** * For a TypeVariableReferenceType the delegate is the delegate for the first bound. */ @Override public ReferenceTypeDelegate getDelegate() { if (this.delegate == null) { ResolvedType resolvedFirstBound = typeVariable.getFirstBound().resolve(world); BoundedReferenceTypeDelegate brtd = null; if (...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
} public TypeVariable getTypeVariable() { return typeVariable; } @Override public boolean isTypeVariableReference() { return true; } @Override public String toString() { return typeVariable.getName(); } @Override public boolean isGenericWildcard() { return false; } @Override public boolean isAnn...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
} if (ifBounds[i].equals(annotationType)) { return true; } } return false; } /** * return the signature for a *REFERENCE* to a type variable, which is simply: Tname; there is no bounds info included, that is * in the signature of the type variable itself */ @Override public String getSignature(...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * 2005 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1....
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.WeakHashMap; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessage.Kind; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.ISourceLocation; impo...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
private IMessageHandler messageHandler = IMessageHandler.SYSTEM_ERR; /** * handler for cross-reference information produced during the weaving process */ private ICrossReferenceHandler xrefHandler = null; /** * Currently 'active' scope in which to lookup (resolve) typevariable references */ private TypeVari...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
private final CrosscuttingMembersSet crosscuttingMembersSet = new CrosscuttingMembersSet(this); private IStructureModel model = null; private Lint lint = new Lint(this); private boolean XnoInline; private boolean XlazyTjp; private boolean XhasMember = false; /** * Xpinpoint controls whether we put out...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
private boolean addSerialVerUID = false; private Properties extraConfiguration = null; private boolean checkedAdvancedConfiguration = false; private boolean synchronizationPointcutsInUse = false; private boolean runMinimalMemory = false; private boolean runMinimalMemorySet = false; private boolean shouldPipelin...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
private List<RuntimeException> dumpState_cantFindTypeExceptions = null; /** * Play God. On the first day, God created the primitive types and put them in the type map. */ protected World() { super(); if (trace.isTraceEnabled()) { trace.enter("<init>", this); } typeMap.put("B", ResolvedType.BYTE); ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
visitor.visitObject("Shadow mungers:"); visitor.visitList(crosscuttingMembersSet.getShadowMungers()); visitor.visitObject("Type mungers:"); visitor.visitList(crosscuttingMembersSet.getTypeMungers()); visitor.visitObject("Late Type mungers:"); visitor.visitList(crosscuttingMembersSet.getLateTypeMungers()); i...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
getLint().cantFindType.signal(WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE, ty.getName()), isl); } return ret; } /** * Convenience method for resolving an array of unresolved types in one hit. Useful for e.g. resolving type parameters in * signatures. */ public Resolv...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
public ResolvedType resolve(UnresolvedType ty, boolean allowMissing) { if (ty instanceof ResolvedType) { ResolvedType rty = (ResolvedType) ty; rty = resolve(rty); return rty; } if (ty.isTypeVariableReference()) { return ty.resolve(this); } String signature = ty.getSignature...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
typeMap.put("?", something); return something; } if (ty.isArray()) { ResolvedType componentType = resolve(ty.getComponentType(), allowMissing); ret = new ArrayReferenceType(signature, "[" + componentType.getErasureSignature(), this, componentType); } else { ret = resolveToReferenceType(ty, ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
} private BoundedReferenceType wildcard; private BoundedReferenceType getWildcard() { if (wildcard == null) { wildcard = new BoundedReferenceType(this); } return wildcard; } /** * Called when a type is resolved - enables its type hierarchy to be finished off before we proceed */ protected void compl...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (dumpState_cantFindTypeExceptions == null) { dumpState_cantFindTypeExceptions = new ArrayList<RuntimeException>(); } if (dumpState_cantFindTypeExceptions.size() < 100) { dumpState_cantFindTypeExceptions.add(new RuntimeException("Can't find type " + ty.getName())); } return new MissingResolvedTypeWithK...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
* @return a type suitable for putting into the world */ private ResolvedType ensureRawTypeIfNecessary(ResolvedType type) { if (!isInJava5Mode() || type.isRawType()) { return type; } if (type instanceof ReferenceType && ((ReferenceType) type).getDelegate() != null && type.isGenericType()) { ReferenceTy...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
public ResolvedType resolve(String name, boolean allowMissing) { return resolve(UnresolvedType.forName(name), allowMissing); } /** * Resolve to a ReferenceType - simple, raw, parameterized, or generic. Raw, parameterized, and generic versions of a type share * a delegate. */ private final ResolvedType resolv...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
simpleOrRawType.setNeedsModifiableDelegate(true); } ReferenceTypeDelegate delegate = resolveDelegate(simpleOrRawType); if (delegate == null) { return new MissingResolvedTypeWithKnownSignature(ty.getSignature(), erasedSignature, this); } if (delegate.isGeneric() && behaveInJava5...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
* Attempt to resolve a type that should be a generic type. */ public ResolvedType resolveGenericTypeFor(UnresolvedType anUnresolvedType, boolean allowMissing) { String rawSignature = anUnresolvedType.getRawType().getSignature(); ResolvedType rawType = typeMap.get(rawSignature); if (rawType == null) { raw...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
genericType.world = this; return genericType; } else { ReferenceTypeDelegate delegate = resolveDelegate((ReferenceType) rawType); ReferenceType genericRefType = makeGenericTypeFrom(delegate, ((ReferenceType) rawType)); ((ReferenceType) rawType).setGenericType(genericRefType); genericRefType.setDele...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
ReferenceType upperBound = (ReferenceType) resolve(aType.getUpperBound()); ret = new BoundedReferenceType(upperBound, true, this); } else if (aType.isSuper()) { ReferenceType lowerBound = (ReferenceType) resolve(aType.getLowerBound()); ret = new BoundedReferenceType(lowerBound, false, this); } else { ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
*/ public ReferenceType lookupOrCreateName(UnresolvedType ty) { String signature = ty.getSignature(); ReferenceType ret = lookupBySignature(signature); if (ret == null) { ret = ReferenceType.fromTypeX(ty, this); typeMap.put(signature, ret); } return ret; } /** * Lookup a reference type in the world...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (member.getKind() == Member.FIELD) { ret = declaring.lookupField(member); } else { ret = declaring.lookupMethod(member); } if (ret != null) { return ret; } return declaring.lookupSyntheticMember(member); } private boolean allLintIgnored = false; public void setAllLintIgnored() { allLintIgnore...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return getWeavingSupport().createAdviceMunger(attribute, p, signature, declaringAspect); } /** * Same signature as org.aspectj.util.PartialOrder.PartialComparable.compareTo */ public int compareByPrecedence(ResolvedType aspect1, ResolvedType aspect2) { return precedenceCalculator.compareByPrecedence(aspect1, a...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
} } /** * convenenience method for creating and issuing messages via the message handler - if you supply two locations you will get two * messages. */ public void showMessage(Kind kind, String message, ISourceLocation loc1, ISourceLocation loc2) { if (loc1 != null) { messageHandler.handleMessage(new Messa...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
} public List<DeclareParents> getDeclareParents() { return crosscuttingMembersSet.getDeclareParents(); } public List<DeclareAnnotation> getDeclareAnnotationOnTypes() { return crosscuttingMembersSet.getDeclareAnnotationOnTypes(); } public List<DeclareAnnotation> getDeclareAnnotationOnFields() { return crosscu...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
} public void setLint(Lint lint) { this.lint = lint; } public boolean isXnoInline() { return XnoInline; } public void setXnoInline(boolean xnoInline) { XnoInline = xnoInline; } public boolean isXlazyTjp() { return XlazyTjp; } public void setXlazyTjp(boolean b) { XlazyTjp = b; } public boolean isHas...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return minimalModel; } public boolean isTargettingRuntime1_6_10() { ensureAdvancedConfigurationProcessed(); return targettingRuntime1_6_10; } public void setBehaveInJava5Way(boolean b) { behaveInJava5Way = b; } /** * Set the timing option (whether to collect timing info), this will also need INFO messages...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
public boolean isIgnoringUnusedDeclaredThrownException() { if ((errorThreshold & 0x800000) != 0 || (warningThreshold & 0x800000) != 0) { return false; } return true; } public void performExtraConfiguration(String config) { if (config == null) { return; } extraConfiguration = new Properties(...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
extraConfiguration.setProperty(n, v); } } ensureAdvancedConfigurationProcessed(); } public boolean areInfoMessagesEnabled() { if (infoMessagesEnabled == 0) { infoMessagesEnabled = (messageHandler.isIgnoring(IMessage.INFO) ? 1 : 2); } return infoMessagesEnabled == 2; } /** * may return null */ p...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
public final static String xsetDEBUG_STRUCTURAL_CHANGES_CODE = "debugStructuralChangesCode"; public final static String xsetDEBUG_BRIDGING = "debugBridging"; public final static String xsetBCEL_REPOSITORY_CACHING = "bcelRepositoryCaching"; public final static String xsetPIPELINE_COMPILATION = "pipelineCompilat...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return timing; } public void setTargetAspectjRuntimeLevel(String s) { targetAspectjRuntimeLevel = s; } public void setOptionalJoinpoints(String jps) { if (jps == null) { return; } if (jps.indexOf("arrayconstruction") != -1) { optionalJoinpoint_ArrayConstruction = true; } if (jps.indexOf("synchroni...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
b = true; } else { b = getTargetAspectjRuntimeLevel().equals(org.aspectj.weaver.Constants.RUNTIME_LEVEL_12); } return b; } /* * Map of types in the world, can have 'references' to expendable ones which can be garbage collected to recover memory. An * expendable type is a reference type that is not exp...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
private boolean memoryProfiling = false; private int maxExpendableMapSize = -1; private int collectedTypes = 0; private final ReferenceQueue<ResolvedType> rq = new ReferenceQueue<ResolvedType>(); TypeMap(World w) { demotionSystemActive = w.isDemotionActive() && (w.isLoadtimeWeaving() || w.couldIncreme...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
* * @return number of types demoted */ public int demote(boolean atEndOfCompile) { if (!demotionSystemActive) { return 0; } if (debugDemotion) { System.out.println("Demotion running " + addedSinceLastDemote); } boolean isLtw = w.isLoadtimeWeaving(); int demotionCounter = 0; if (isL...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
ResolvedType type = tMap.get(key); if (type == null) { forRemoval.add(key); continue; } if (!writtenClasses.contains(type.getName())) { continue; } if (type != null && !type.isAspect() && !type.equals(UnresolvedType.OBJECT) && !type.isPrimitiveType()) { List<Conc...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
insertInExpendableMap(key, type); demotionCounter++; } } else { writtenClasses.remove(type.getName()); forRemoval.add(key); } } else { writtenClasses.remove(type.getName()); forRemoval.add(key); } } addedSinceLastDemote.removeAll(forR...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (useExpendableMap) { if (!expendableMap.containsKey(key)) { if (policy == USE_SOFT_REFS) { expendableMap.put(key, new SoftReference<ResolvedType>(type)); } else { expendableMap.put(key, new WeakReference<ResolvedType>(type)); } } } } /** * Add a new type into the map, the...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return type; } if (type.isTypeVariableReference()) { if (debug) { System.err.println("Not putting a type variable reference type into the typemap: key=" + key + " type=" + type); } return type; } if (type instanceof BoundedReferenceType) { if (debug) { System.err.printl...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
/* * if ((type instanceof ReferenceType) && type.getWorld().isInJava5Mode() && (((ReferenceType) type).getDelegate() != * null) && type.isGenericType()) { throw new BCException("Attempt to add generic type to typemap " + type.toString() + * " (should be raw)"); } */ if (w.isExpendable(type)) { if...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (demotionSystemActive) { addedSinceLastDemote.add(key); } return tMap.put(key, type); } } public void report() { if (!memoryProfiling) { return; } checkq(); w.getMessageHandler().handleMessage( MessageUtil.info("MEMORY: world expendable type map reached maximum size of ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
checkq(); ResolvedType ret = tMap.get(key); if (ret == null) { if (policy == USE_WEAK_REFS) { WeakReference<ResolvedType> ref = (WeakReference<ResolvedType>) expendableMap.get(key); if (ref != null) { ret = ref.get(); } } else if (policy == USE_SOFT_REFS) { SoftReference<Resolved...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (wref != null) { ret = wref.get(); } } } return ret; } public void classWriteEvent(String classname) { if (demotionSystemActive) { writtenClasses.add(classname); } if (debugDemotion) { System.out.println("Class write event for " + classname); } }
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
} /** * This class is used to compute and store precedence relationships between aspects. */ private static class AspectPrecedenceCalculator { private final World world; private final Map<PrecedenceCacheKey, Integer> cachedResults; public AspectPrecedenceCalculator(World forSomeWorld) { world = forSomeWo...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
for (Iterator<Declare> i = world.getCrosscuttingMembersSet().getDeclareDominates().iterator(); i.hasNext();) { DeclarePrecedence d = (DeclarePrecedence) i.next(); int thisOrder = d.compare(firstAspect, secondAspect); if (thisOrder != 0) { if (orderer == null) { orderer = d; } if ...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return 0; } int ret = compareByPrecedence(firstAspect, secondAspect); if (ret != 0) { return ret; } if (firstAspect.isAssignableFrom(secondAspect)) { return -1; } else if (secondAspect.isAssignableFrom(firstAspect)) { return +1; } return 0; } private static class PrecedenceCacheK...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return aspect1.hashCode() + aspect2.hashCode(); } } } public void validateType(UnresolvedType type) { } public boolean isDemotionActive() { return false; } private final Map<Class<?>, TypeVariable[]> workInProgress1 = new HashMap<Class<?>, TypeVariable[]>(); public TypeVariable[] getTypeVari...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
return addSerialVerUID; } public void flush() { typeMap.expendableMap.clear(); } public void ensureAdvancedConfigurationProcessed() { if (!checkedAdvancedConfiguration) { Properties p = getExtraConfiguration(); if (p != null) { String s = p.getProperty(xsetBCEL_REPOSITORY_CACHING, xsetBCEL_REPOSI...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
if (s.equalsIgnoreCase("true")) { targettingRuntime1_6_10 = true; } s = p.getProperty(xsetFAST_PACK_METHODS, "true"); fastMethodPacking = s.equalsIgnoreCase("true"); s = p.getProperty(xsetPIPELINE_COMPILATION, xsetPIPELINE_COMPILATION_DEFAULT); shouldPipelineCompilation = s.equalsIgnoreCase("tr...
336,997
Bug 336997 IllegalStateException for generic ITD usage
java.lang.IllegalStateException: Can't answer binding questions prior to resolving at org.aspectj.weaver.TypeVariable.canBeBoundTo(TypeVariable.java:175) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:496) at org.aspectj.weaver.ReferenceType.isAssignableFrom(ReferenceType.java:399) at org.aspec...
resolved fixed
80785bf
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-02-11T19:03:13Z
2011-02-11T18:46:40Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
s = p.getProperty(xsetTYPE_DEMOTION_DEBUG, "false"); if (s.equalsIgnoreCase("true")) { typeMap.debugDemotion = true; } s = p.getProperty(xsetTYPE_REFS, "true"); if (s.equalsIgnoreCase("false")) { typeMap.policy = TypeMap.USE_SOFT_REFS; } runMinimalMemorySet = p.getProperty(xsetRUN_MINI...