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
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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);...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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()) { ...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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)) {...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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"...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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)) { ...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
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...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
Commandline command; static boolean isEmpty(String s) { return ((null == s) || (0 == s.trim().length())); } GuardedCommand() { command = new Commandline();
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} void addFlag(String flag, boolean doAdd) { if (doAdd && !isEmpty(flag)) { command.createArgument().setValue(flag); } } String addOption(String prefix, String[] validOptions, String input) { if (isEmpty(input)) { return null; } ...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} } List extractArguments() { ArrayList result = new ArrayList(); String[] cmds = command.getArguments(); if (!LangUtil.isEmpty(cmds)) { result.addAll(Arrays.asList(cmds)); } return result; } /** * Adjust args for size if necessary by c...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} if (size <= max) { return args; } File tmpFile = null; PrintWriter out = null; try { String userDirName = System.getProperty("user.dir"); File userDir = new File(userDirName); tmpFile = File.createTempFile("argfile", "", ...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
private final boolean handledMessage; public AntMessageHandler(TaskLogger logger, boolean taskVerbose, boolean handledMessage) { this.logger = logger; this.taskLevelVerbose = taskVerbose; this.handledMessage = handledMessage; } /* (non-Javadoc) * @see org.aspectj.bridge.IMessageHandler#handleMes...
224,962
Bug 224962 AjcTask doesn't work with Java6
Although support for Java6 has been added in the last milestone, you can't use it from ant because AjcTask doesn't recognize the "source=1.6" and "target=1.6" parameters. It's easy to fix by modifying AjcTask.java and adding the missing constants: static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3...
resolved fixed
6bdb87d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-01T04:48:31Z
2008-03-31T19:00:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
this.logger.warning(messageText); } else if (messageKind == IMessage.WEAVEINFO) { this.logger.info(messageText); } else if (messageKind == IMessage.TASKTAG) { } else { throw new BuildException("Unknown message kind from AspectJ compiler: " + messageKind.toString()); } return handledMessage; } /* (...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * 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, an...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
* <p> * For backwards compatibility, the matcher ignores tag * elements below doc comments by default. Use * {@link #ASTMatcher(boolean) ASTMatcher(true)} * for a matcher that compares doc tags by default. * </p> */ public AjASTMatcher() { this(false); } /** * Creates a new AST matcher instance. *...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
return false; } } if (level >= AST.JLS3) { if (!safeSubtreeListMatch(node.modifiers(), o.modifiers())) { return false; } } return safeSubtreeMatch(node.getJavadoc(), o.getJavadoc()) && safeSubtreeMatch(node.getName(), o.getName()) && safeSubtreeMatch(node.getDesignator(), o.getDesignator(...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
return false; } NotPointcut o = (NotPointcut) other; return safeSubtreeMatch(node.getBody(), o.getBody()); } public boolean match(PerObject node, Object other) { if (!(other instanceof PerObject)) { return false; } PerObject o = (PerObject) other; return safeSubtreeMatch(node.getBody(), o.getBody()) ...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
return false; } CflowPointcut o = (CflowPointcut) other; return safeSubtreeMatch(node.getBody(), o.getBody()); } public boolean match(AndPointcut node, Object other) { if (!(other instanceof AndPointcut)) { return false; } AndPointcut o = (AndPointcut) other; return safeSubtreeMatch(node.getLeft(), o...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
&& safeSubtreeListMatch(node.thrownExceptions(), o.thrownExceptions()) && safeSubtreeMatch(node.getBody(), o.getBody()); } public boolean match(AfterAdviceDeclaration node, Object other) { if (!(other instanceof AfterAdviceDeclaration)) { return false; } AfterAdviceDeclaration o = (AfterAdviceDec...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
if (!safeSubtreeMatch(node.getReturnType2(), o.getReturnType2())) { return false; } if (!safeSubtreeListMatch(node.typeParameters(), o.typeParameters())) { return false; } } return safeSubtreeMatch(node.getJavadoc(), o.getJavadoc()) && safeSubtreeListMatch(node.parameters(), o.parameters()) ...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
if (node.getModifiers() != o.getModifiers()) { return false; } } if (level >= AST.JLS3) { if (!safeSubtreeListMatch(node.modifiers(), o.modifiers())) { return false; } } return safeSubtreeMatch(node.getJavadoc(), o.getJavadoc()) && safeSubtreeMatch(node.getType(), o.getType()) && safe...
228,633
Bug 228633 AST Support for PointcutDesignators
I would like an enhancement to be able to match two PointcutDesignators (called 'pointcut definitions' in the AJ5 quick reference). Currently, the following test fails: ---------------AjASTMatcherTest.java--------------- public void testMatchDefaultPointcut() { AjAST ast = AjAST.newAjAST(AST.JLS3); DefaultPointcut dp1 ...
resolved fixed
bed3f4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-04-24T16:45:17Z
2008-04-24T09:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
if (!safeSubtreeListMatch(node.modifiers(), o.modifiers())) { return false; } if (!safeSubtreeMatch(node.getReturnType2(), o.getReturnType2())) { return false; } if (!safeSubtreeListMatch(node.typeParameters(), o.typeParameters())) { return false; } } return ((node.isConstructor() == ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import java.util.Properties; import java.util.Set; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.Field; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.annotation.Annotation; import org.aspectj.apache.bcel.generic.ANEWARRAY; import org.aspec...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.apache.bcel.generic.NEW; import org.aspectj.apache.bcel.generic.NEWARRAY; import org.aspectj.apache.bcel.generic.ObjectType; import org.aspectj.apache.bcel.generic.PUTFIELD; import org.aspectj.apache.bcel.generic.PUTSTATIC; import org.aspectj.apache.bcel.generic.RET; import org.aspectj.apache.bcel.ge...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.weaver.NewFieldTypeMunger; import org.aspectj.weaver.NewMethodTypeMunger; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedMemberImpl; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.ResolvedTypeMunger; import org.aspectj.weaver.Shadow; import org.aspectj....
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean b = new BcelClassWeaver(world, clazz, shadowMungers, typeMungers, lateTypeMungers).weave(); return b; } private final LazyClassGen clazz; private final List shadowMungers; private final List typeMungers; private final List lateTypeMungers; private f...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private BcelShadow clinitShadow = null; /** * This holds the initialization and pre-initialization shadows for this class * that were actually matched by mungers (if no match, then we don't even create the * shadows really). */ private final List initializationShadows = n...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
initializeSuperInitializerMap(ty.getResolvedTypeX()); if (!checkedXsetForLowLevelContextCapturing) { Properties p = world.getExtraConfiguration(); if (p!=null) { String s = p.getProperty(World.xsetCAPTURE_ALL_CONTEXT,"false"); captureLowLevelContext = s.equalsIgnoreCase("true"); ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } if (!perKindShadowMungers[Shadow.Initialization.getKey()].isEmpty()) canMatchInitialization = true; for (int i = 0; i < Shadow.SHADOW_KINDS.length; i++) { Shadow.Kind kind = Shadow.SHADOW_KINDS[i]; if (!kind.isEnclosingKind() && !perKindShadowMungers[i+1].isEmpty()) { c...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } } } private boolean addSuperInitializer(ResolvedType onType) { if (onType.isRawType() || onType.isParameterizedType()) onType = onType.getGenericType(); IfaceInitList l = (IfaceInitList) addedSuperInitializers.get(onType); if (l != null) return false; l = new IfaceInitList(onType); addedSuperInitia...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
final ResolvedType onType; List list = new ArrayList(); IfaceInitList(ResolvedType onType) { this.onType = onType; } public int compareTo(Object other) { IfaceInitList o = (IfaceInitList)other; if (onType.isAssignableFrom(o.onType)) return +1; else if (o.onType.isAssignableFrom(onT...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} public void addLazyMethodGen(LazyMethodGen gen) { addedLazyMethodGens.add(gen); } public void addOrReplaceLazyMethodGen(LazyMethodGen mg) { if (alreadyDefined(clazz, mg)) return; for (Iterator i = addedLazyMethodGens.iterator(); i.hasNext(); ) { LazyMethodGen existing = (LazyMethodG...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private boolean alreadyDefined(LazyClassGen clazz, LazyMethodGen mg) { for (Iterator i = clazz.getMethodGens().iterator(); i.hasNext(); ) { LazyMethodGen existing = (LazyMethodGen)i.next(); if (signaturesMatch(mg, existing)) { if (!mg.isAbstract() && existing.isAbstract()) { i.remove(); return fal...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
gen); return ret; } /** * Create a single bridge method called 'theBridgeMethod' that bridges to 'whatToBridgeTo' */ private static void createBridgeMethod(BcelWorld world, LazyMethodGen whatToBridgeToMethodGen, LazyClassGen clazz,ResolvedMember theBridgeMethod) { Instructi...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
body = bridgeMethod.getBody(); fact = clazz.getFactory(); if (!whatToBridgeToMethodGen.isStatic()) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramTy...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Set aspectsAffectingType = null; if (inReweavableMode || clazz.getType().isAspect()) aspectsAffectingType = new HashSet(); boolean isChanged = false; if (clazz.getType().isAspect()) isChanged = true; for (Iterator i = typeMungers.iterator(); i.hasNext(...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
addedSuperInitializersAsList = PartialOrder.sort(addedSuperInitializersAsList); if (addedSuperInitializersAsList == null) { throw new BCException("circularity in inter-types"); } LazyMethodGen staticInit = clazz.getStaticInitializer(); staticInit...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (Iterator i = methodGens.iterator(); i.hasNext();) { LazyMethodGen mg = (LazyMethodGen)i.next(); if (! mg.hasBody()) continue; implement(mg); } if (!initializationShadows.isEmpty()) { while (inlineSelfConstructors(methodGens)); positionAndImplement(initializationShadows...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (isChanged) { clazz.getOrCreateWeaverStateInfo(inReweavableMode); weaveInAddedMethods(); } if (inReweavableMode) { WeaverStateInfo wsi = clazz.getOrCreateWeaverStateInfo(true); wsi.addAspectsAffectingType(aspectsAffectingType); wsi.setUnwovenClassFileD...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (methodThatMightBeGettingOverridden.isStatic()) return null; if (methodThatMightBeGettingOverridden.isPrivate()) return null; if (!methodThatMightBeGettingOverridden.getName().equals(mname)) return null; if (methodThatMightBeGettingOverridden.getParameterTypes().length!=methodParamsArray.length) return n...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (superReturn.isAssignableFrom(subReturn)) return methodThatMightBeGettingOverridden; } } return null; } /** * Looks at the visibility modifiers between two methods, and knows whether they are from classes in * the same package, and decides whether one overrides the ot...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (typeToCheck==null) return null; if (typeToCheck instanceof MissingResolvedTypeWithKnownSignature) return null; if (typeToCheck.getWorld().forDEBUG_bridgingCode) System.err.println(" Bridging:checking for override of "+mname+" in "+typeToCheck); String packageName = typeToCheck.getPackag...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (typeToCheck.equals(UnresolvedType.OBJECT)) return null; ResolvedType superclass = typeToCheck.getSuperclass(); ResolvedMember overriddenMethod = checkForOverride(superclass,mname,mparams,mrettype,mmods,mpkg,methodParamsArray); if (overriddenMethod!=null) return overriddenMethod; ResolvedType[] ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Set methodsSet = new HashSet(); for (int i = 0; i < methods.size(); i++) { LazyMethodGen aMethod = (LazyMethodGen)methods.get(i); methodsSet.add(aMethod.getName()+aMethod.getSignature()); } for (int i = 0; i < methods.size(); i++) { LazyMethodGen bridgeToCandidate = (LazyMethodGen)methods...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean alreadyHaveABridgeMethod = methodsSet.contains(overriddenMethod.getName()+overriddenMethod.getSignature()); if (!alreadyHaveABridgeMethod) { if (world.forDEBUG_bridgingCode) System.err.println("Bridging:bridging to '"+overriddenMethod+"'"); createBridgeMethod(world, bridgeToCandidate, clazz, overr...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* Weave any declare @method/@ctor statements into the members of the supplied class */ private boolean weaveDeclareAtMethodCtor(LazyClassGen clazz) { List reportedProblems = new ArrayList(); List allDecams = world.getDeclareAnnotationOnMethods(); if (allDecams.isEmpty()) return false; boolean is...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean modificationOccured = false; List annotationsToAdd = null; for (Iterator iter = decaMs.iterator(); iter.hasNext();) { DeclareAnnotation decaM = (DeclareAnnotation) iter.next(); if (decaM.matches(mg.getMemberView(),world)) { if ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List forRemoval = new ArrayList(); for (Iterator iter = worthRetrying.iterator(); iter.hasNext();) { DeclareAnnotation decaM = (DeclareAnnotation) iter.next(); ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} if (annotationsToAdd!=null) { Method oldMethod = mg.getMethod(); MethodGen myGen = new MethodGen(oldMethod,clazz.getClassName(),clazz.getConstantPoolGen(),false); for (Iterator iter = annotationsToAdd.iterator(); iter.hasNext();) { AnnotationGen a = (Annotatio...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} parmString.append(")"); String methodName = member.getName(); StringBuffer sig = new StringBuffer(); sig.append(org.aspectj.apache.bcel.classfile.Utility.accessToString(member.getModifiers())); sig.append(" "); sig.append(member.getReturnType().toString()); sig.append(" "); sig.append(member.g...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Utility.beautifyLocation(decaM.getSourceLocation()) })); } } /** * Looks through a list of declare annotation statements and only returns * those that could possibly match on a field/method/ctor in type. */ private List getMatchingSubset(List declareAnnotations, ResolvedType type) { List su...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return subset; } public LazyMethodGen locateAnnotationHolderForFieldMunger(LazyClassGen clazz,BcelTypeMunger fieldMunger) { NewFieldTypeMunger nftm = (NewFieldTypeMunger)fieldMunger.getMunger(); ResolvedMember lookingFor =AjcMemberMaker.interFieldInitializer(nftm.getSignature(),clazz.getType()); List meth...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ResolvedMember lookingFor =AjcMemberMaker.postIntroducedConstructor(methodCtorMunger.getAspectType(),nftm.getSignature().getDeclaringType(),nftm.getSignature().getParameterTypes()); List meths = clazz.getMethodGens(); for (Iterator iter = meths.iterator(); iter.hasNext();) { LazyMethodGen element = (LazyMetho...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
LazyMethodGen annotationHolder = locateAnnotationHolderForFieldMunger(clazz,fieldMunger); if (doesAlreadyHaveAnnotation(annotationHolder,itdIsActually,decaF,reportedErrors)) continue; annotationHolder.addAnnotation(decaF.getAnnotationX()); AsmRelationshipProvider.getDefault().addDeclareAnnotationRelatio...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return isChanged; } /** * Applies some set of declare @method/@ctor constructs (List<DeclareAnnotation>) to some bunch * of ITDmembers (List<BcelTypeMunger>. It will iterate over the fields repeatedly until * everything has been applied. */ private boolean weaveAtMethodOnITDSRepeat...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else { if (!decaMC.isStarredAnnotationPattern()) worthRetrying.add(decaMC); } } while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List forRemoval = new ArrayList(); for (Iterator iter2 = worthRetrying.iterator(); it...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Annotation ann = dontAddMeTwice[i]; if (ann != null && decaF.getAnnotationX().getTypeName().equals(ann.getTypeName())){ return true; } } return false; } /** * Weave any declare @field statements into the fields of the supplied class * * Interesting case relating to public ITDd fields. The...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean isChanged = false; List itdFields = getITDSubset(clazz,ResolvedTypeMunger.Field); if (itdFields!=null) { isChanged = weaveAtFieldRepeatedly(allDecafs,itdFields,reportedProblems); } List decaFs = getMatchingSubset(allDecafs,clazz.getType()); if (decaFs.isEmpty()) return false; Field[] fi...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
unusedDecafs.remove(decaF); continue; } if(decaF.getAnnotationX().isRuntimeVisible()){ Annotation a = decaF.getAnnotationX().getBcelAnnotation(); AnnotationGen ag = new AnnotationGen(a,clazz.getConstantPoolGen(),true); FieldGen myGen = new FieldGen(fi...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else { if (!decaF.isStarredAnnotationPattern()) worthRetrying.add(decaF); } } while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List forRemoval = new ArrayList(); for (Iterato...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
worthRetrying.removeAll(forRemoval); } } } checkUnusedDeclareAtTypes(unusedDecafs,true); } return isChanged; } /** * Report an error if the reason a "declare @method/ctor/field" was not used was because the member * specified does not exist. This method is passed some s...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (element.getMunger() instanceof NewFieldTypeMunger) { NewFieldTypeMunger nftm = (NewFieldTypeMunger)element.getMunger(); itdMatch = declA.getSignaturePattern().matches(nftm.getSignature(),world,false); }else if (element.getMunger() instanceof NewMethodTypeMunger) { NewMethodTypeMunger nmtm ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)){ Field theField = fields[fieldCounter]; world.getMessageHandler().handleMessage( WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ANNOTATES, new String[]{ theField.toString() + "' of type '" + c...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return false; } private boolean doesAlreadyHaveAnnotation(LazyMethodGen rm,ResolvedMember itdfieldsig,DeclareAnnotation deca,List reportedProblems) { if (rm != null && rm.hasAnnotation(deca.getAnnotationTypeX())) { if (world.getLint().elementAlreadyAnnotated.isEnabled()) { Integer uniqueID = new...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if(bAdvice.getConcreteAspect() != null){ aspectsAffectingType.add(bAdvice.getConcreteAspect().getName()); } } else { } } } return aspectsAffectingType; } private boolean inlineSelfConstructors(List methodGens) { boolean inlinedSomething = false; for (Iterator i = methodGens.iterat...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } private void positionInitializationShadow(BcelShadow s) { LazyMethodGen mg = s.getEnclosingMethod(); InstructionHandle call = findSuperOrThisCall(mg); InstructionList body = mg.getBody(); ShadowRange r = new ShadowRange(body); r.associateWithShadow((BcelShadow) s); if (s.getKind() == Shadow.PreIn...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* @param call the instructionHandle in recipient's body holding the call we want to * inline. */ public static void inlineMethod( LazyMethodGen donor, LazyMethodGen recipient, InstructionHandle call) { /* Implementation notes: * * We allocate two slots for every tempvar so we don't screw...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
recipient.getBody().append(call, inlineInstructions); Utility.deleteInstruction(call, recipient); } } /** * Input method is a synchronized method, we remove the bit flag for synchronized and * then insert a try..finally block * * Some jumping through firey hoops required - depending on the inpu...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (synchronizedMethod.isStatic()) { if (synchronizedMethod.getEnclosingClass().isAtLeastJava5()) { int slotForLockObject = synchronizedMethod.allocateLocal(enclosingClassType); prepend.append(fact.createConstant(enclosingClassType)); prepend.append(InstructionFactory...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW); InstructionHandle walker = body.getStart(); List rets = new ArrayList(); while (walker!=null) { if (walker.getInstruction() instanceof ReturnInstruction) { rets.add(walker)...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionTargeter targeter = targeters[i]; if (targeter instanceof LocalVariableTag) { } else if (targeter instanceof LineNumberTag) { } else if (targeter instanceof GOTO || targeter instanceof GOTO_W) { targeter.updateTarget(element, monitorExit...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Type classType = BcelWorld.makeBcelType(synchronizedMethod.getEnclosingClass().getType()); Type clazzType = Type.getType(Class.class); InstructionList parttwo = new InstructionList(); parttwo.append(InstructionFactory.createDup(1)); int slotForThis = synchronizedMethod.allocateLocal(classType); parttw...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionHandle catchInstruction = prepend.getEnd(); prepend.append(InstructionFactory.createDup(1)); prepend.append(fact.createPutStatic(synchronizedMethod.getEnclosingClass().getType().getName(), fieldname, Type.getType(Class.class))); prepend.append(InstructionFactory.createBranchInstruction(Constants...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList finallyBlock = new InstructionList(); finallyBlock.append(InstructionFactory.createLoad(Type.getType(java.lang.Class.class),slotForThis)); finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW); InstructionHandle walker = body....
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionTargeter[] targeters = element.getTargeters(); if (targeters!=null) { for (int i = 0; i < targeters.length; i++) { InstructionTargeter targeter = targeters[i]; if (targeter instanceof LocalVariableTag) { } else if (targeter instanceof LineNumberTag) { ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
body.insert(body.getStart(),prepend); synchronizedMethod.getBody().append(finallyBlock); synchronizedMethod.addExceptionHandler(tryPosition, catchPosition,finallyStart,null,false); synchronizedMethod.addExceptionHandler(tryInstruction, catchInstruction,catchBlockStart,(ObjectType)Type.getType(ClassNotFound...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList finallyBlock = new InstructionList(); finallyBlock.append(InstructionFactory.createLoad(classType,slotForThis)); finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW); InstructionHandle walker = body.getStart(); List rets =...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionTargeter[] targeters = element.getTargeters(); if (targeters!=null) { for (int i = 0; i < targeters.length; i++) { InstructionTargeter targeter = targeters[i]; if (targeter instanceof LocalVariableTag) { } else if (targeter instanceof LineNumberTag) { ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
synchronizedMethod.addExceptionHandler(tryPosition, catchPosition,finallyStart,null,false); synchronizedMethod.addExceptionHandler(finallyStart,finallyStart.getNext(),finallyStart,null,false); } if (trace.isTraceEnabled()) trace.exit("transformSynchronizedMethod"); } /** gene...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
{ InstructionList footer = new InstructionList(); InstructionHandle end = footer.append(InstructionConstants.NOP); InstructionList ret = new InstructionList(); InstructionList sourceList = donor.getBody(); Map srcToDest = new HashMap(); ConstantPoolGen donorCpg = donor.getEnclosingClass().getConstantPoolGe...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (src.getInstruction() == Range.RANGEINSTRUCTION) { dest = ret.append(Range.RANGEINSTRUCTION); } else if (fresh instanceof ReturnInstruction) { if (keepReturns) { dest = ret.append(fresh); } else { dest = ret.append(InstructionFactory.createBranchInstruction(Constants.GOTO, end)); ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Map tagMap = new HashMap(); Map shadowMap = new HashMap(); for (InstructionHandle dest = ret.getStart(), src = sourceList.getStart(); dest != null; dest = dest.getNext(), src = src.getNext()) { Instruction inst = dest.getInstruction(); if (inst instanceof BranchInstruction) { BranchIns...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionTargeter[] srcTargeters = src.getTargeters(); if (srcTargeters != null) { for (int j = srcTargeters.length - 1; j >= 0; j--) { InstructionTargeter old = srcTargeters[j]; if (old instanceof Tag) { Tag oldTag = (Tag) old; ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
BcelShadow oldShadow = oldRange.getShadow(); BcelShadow freshEnclosing = oldShadow.getEnclosingShadow() == null ? null : (BcelShadow) shadowMap.get(oldShadow.getEnclosingShadow()); BcelShadow freshShadow = oldShadow.copyInto(recipient, freshEnclosing); ShadowRange ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList newList = new InstructionList(); Map srcToDest = new HashMap(); for (InstructionHandle src = sourceList.getStart(); src != null; src = src.getNext()) { Instruction fresh = Utility.copyInstruction(src.getInstruction()); InstructionHandle dest; if (src.getInstruction() == Ra...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
dest = newList.append(fresh); } srcToDest.put(src, dest); } Map tagMap = new HashMap(); Map shadowMap = new HashMap(); for (InstructionHandle dest = newList.getStart(), src = sourceList.getStart(); dest != null; dest = dest.getNext(), src = src.getNext()) { Instruction inst...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
(InstructionHandle) srcToDest.get(oldTargets[k])); } } } } InstructionTargeter[] srcTargeters = src.getTargeters(); if (srcTargeters != null) { for (int j = srcTargeters.length - 1; j >= 0; j--) { InstructionTargeter old = srcTarget...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/*else if (old instanceof ShadowRange) { ShadowRange oldRange = (ShadowRange) old; if (oldRange.getStart() == src) { BcelShadow oldShadow = oldRange.getShadow(); BcelShadow freshEnclosing = oldShadow.getEnclosingShadow() == null ? null : (BcelShadow) shadowMap....
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* * @param donor the method we will inline from. Used to get the signature. * @param recipient the method we will inline into. Used to get the frame size * so we can allocate fresh locations. * @param frameEnv an empty environment we populate with a map from donor frame to * recipient frame. * @pa...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return ret; } /** get a called method: Assumes the called method is in this class, * and the reference to it is exact (a la INVOKESPECIAL). * * @param ih The InvokeInstruction instructionHandle pointing to the called method. */ private LazyMethodGen getCalledMethod( InstructionHandle ih) { Invok...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
clazz.addMethodGen((LazyMethodGen)i.next()); } } void addPerSingletonField(Member field) { ObjectType aspectType = (ObjectType) BcelWorld.makeBcelType(field.getReturnType()); String aspectName = field.getReturnType().getName(); LazyMethodGen clinit = clazz.getStaticInitializer(); InstructionList se...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
int depth = 1; InstructionHandle start = mg.getBody().getStart(); while (true) { if (start == null) return null; Instruction inst = start.getInstruction(); if (inst instanceof INVOKESPECIAL && ((INVOKESPECIAL) inst).getName(cpg).equals("<init>")) { depth--; if (depth == 0) return start; ...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
clinitShadow = enclosingShadow = BcelShadow.makeStaticInitialization(world, mg); } else if (mg.isAdviceMethod()) { enclosingShadow = BcelShadow.makeAdviceExecution(world, mg); } else { AjAttribute.EffectiveSignatureAttribute effective = mg.getEffectiveSignature(); if (effective == null) { en...
230,817
Bug 230817 LazyMethodGen.remap() NullPointerException
This has been reported a few times by different users, but has always proved tough to diagnose. The typical stack trace is something like: java.lang.NullPointerException org.aspectj.weaver.bcel.LazyMethodGen.remap(LazyMethodGen.java:1237) org.aspectj.weaver.bcel.LazyMethodGen.addExceptionHandlers(LazyMethodGen.java:113...
resolved fixed
5f97d46
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-05-07T15:31:18Z
2008-05-07T03:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (canMatch(enclosingShadow.getKind()) && !(mg.getName().charAt(0)=='a' && mg.getName().startsWith("ajc$interFieldInit"))) { if (match(enclosingShadow, shadowAccumulator)) { enclosingShadow.init(); } } mg.matchedShadows = shadowAccumulator; return !shadowAccumulator.isEmpty(); } } private boo...