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
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
assertNotNull(dp); manager.getRelationshipMap().get(dp); List rels = AsmManager.getDefault().getRelationshipMap().get(dp); assertTrue(rels.size()>0); } public void testDeclareWarningAndError() { checkDeclareMapping("DeclareCoverage", "Point", "declare warning: \"Illegal call.\"", "me...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
"field-set(int Point.x)", "advises"); } private void checkDeclareMapping(String fromType, String toType, String from, String to, String forwardRelName, String backRelName, IProgramElement.Kind kind) { IProgramElement aspect = AsmManager.getDefault().getHierarchy().findElementForType(null, fromType); assert...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
IProgramElement beforeExecNode = manager.getHierarchy().findElementForLabel(aspect, IProgramElement.Kind.ADVICE, beforeExec); assertNotNull(beforeExecNode); IRelationship rel = manager.getRelationshipMap().get(beforeExecNode, IRelationship.Kind.ADVICE, relName); for (Iterator it = rel.getTargets().iterator(); it....
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
String to, String forwardRelName, String backRelName, IProgramElement.Kind declareKind) { IProgramElement aspect = AsmManager.getDefault().getHierarchy().findElementForType(null, fromType); assertNotNull(aspect); String beforeExec = from; IProgramElement fromNode = manager.getHierarchy().findElementForLabe...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
/* ******************************************************************* * Copyright (c) 2003 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distribution and is available at * http...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
String[] args = { "-private", "-encoding", "EUCJIS", "-docencoding", "EUCJIS", "-charset", "UTF-8", "-classpath", AjdocTests.ASPECTJRT_PATH.getPath(), "-d", getAbsolutePathOutdir(), file0.getAbsolutePath(), }; org.aspectj.tools.ajdoc.Main.main(args); ass...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
" the 'public' flag to ajdoc",htmlFile.exists()); htmlFile = new File(getAbsolutePathOutdir() + "/foo/PlainJava.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath() + " - were there compilation errors?"); } String[] strings = { ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
AjdocOutputChecker.containsString(htmlFile,"Aspect A")); } /** * Test that the ajdoc for a class has the title "Class" */ public void testAJdocHasClassTitle() throws Exception { File[] files = {new File(getAbsoluteProjectDir() + "/pkg/C.java")}; runAjdoc("private","1.4",files); File htmlFile = new...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
} String[] strings = { "Aspect ClassA.InnerAspect", "<PRE>static aspect <B>ClassA.InnerAspect</B><DT>extends java.lang.Object</DL>", "Class ClassA.InnerAspect", "<PRE>static class <B>ClassA.InnerAspect</B><DT>extends java.lang.Object</DL>"}; List missing = AjdocOutputChecker.getMissingStr...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
} /** * Test that all the different types of advice appear * with the named pointcut in it's description */ public void testAdviceNamingCoverage() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutd...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
assertTrue(htmlFile.getName() + " should contain all advice in the Advice Summary section",missing.isEmpty()); } /** * Test that all the advises relationships appear in the * Advice Detail and Advice Summary sections and that * the links are correct */ public void testAdvisesRelationsh...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
"HREF=\"../foo/Point.html#Point()\"", "before(): staticinitializationP..", "HREF=\"../foo/Point.html\"", "before(): handlerP..", "HREF=\"../foo/Point.html#doIt()\"" }; for (int i = 0; i < strings.length - 1; i = i+2) { boolean b = AjdocOutputChecker.detailSectionContainsRel( htmlFile,"ADV...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath() + " - were there compilation errors?"); } String[] strings...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
public void testAdvisedByConstructorExecution() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath()...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
*/ public void testAdvisedByMethodCall() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath() + ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
*/ public void testAdvisedByConstructorCall() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
*/ public void testAdvisedByGet() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath() + " - wer...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
*/ public void testAdvisedBySet() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Point.html"); if (htmlFile == null || !htmlFile.exists()) { fail("couldn't find " + htmlFile.getAbsolutePath() + " - wer...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
b = AjdocOutputChecker.summarySectionContainsRel( htmlFile,"=== CONSTRUCTOR SUMMARY", "Point()", HtmlDecorator.HtmlRelationshipKind.ADVISED_BY, href); assertTrue("the Constructor Summary should have advised by " + href,b); b = AjdocOutputChecker.classDataSectionContainsRel( htmlFile, HtmlDec...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
htmlFile,"=== CONSTRUCTOR DETAIL",strings[0], HtmlDecorator.HtmlRelationshipKind.ADVISED_BY, strings[1]); assertTrue("the Method Detail should have 'setX(int) advised by ... before()'",b); b = AjdocOutputChecker.summarySectionContainsRel( htmlFile,"=== CONSTRUCTOR SUMMARY",strings[0], HtmlDecorator....
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
/** * Test that the advised by relationship appears in the ajdoc when the * advice is associated with a handler pointcut */ public void testAdvisedByHandler() throws Exception { File[] files = {file4}; runAjdoc("private","1.4",files); File htmlFile = new File(getAbsolutePath...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
/** * Test that if have two before advice blocks from the same * aspect affect the same method, then both appear in the ajdoc */ public void testTwoBeforeAdvice() throws Exception { File[] files = {new File(getAbsoluteProjectDir() + "/pkg/A2.aj")}; runAjdoc("private","1.4",files); ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
b = AjdocOutputChecker.detailSectionContainsRel( htmlFile,"=== METHOD DETAIL", strings[0], HtmlDecorator.HtmlRelationshipKind.ADVISED_BY, strings[2]); assertTrue("the Method Detail should have " + strings[0]+" advised by " + strings[2],b); b = AjdocOutputChecker.summarySectionContainsRel( htm...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
boolean b = AjdocOutputChecker.classDataSectionContainsRel( htmlFile, HtmlDecorator.HtmlRelationshipKind.ADVISED_BY, href); assertFalse("The class data section should not have 'advised by " + href + "'",b); } public void testCoverage() { File[] files = {aspect1,file0,file1,file2,file3,file4,fi...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
String[] strings = { "Aspect PkgVisibleClass.NestedAspect", "<PRE>static aspect <B>PkgVisibleClass.NestedAspect</B><DT>extends java.lang.Object</DL>", "Class PkgVisibleClass.NestedAspect", "<PRE>static class <B>PkgVisibleClass.NestedAspect</B><DT>extends java.lang.Object</DL>"}; List missing = AjdocOutput...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
* ClassWithNestedAspect has nested aspect called NestedAspect, * that the titles for the ajdoc are correct. */ public void testNestedAspectWithSimilarName() throws Exception { File[] files = {new File(getAbsoluteProjectDir() + "/pkg/ClassWithNestedAspect.java")}; runAjdoc("private","1.4",files); ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
String[] classStrings = { "Class ClassWithNestedAspect</H2>", "public class <B>ClassWithNestedAspect</B><DT>extends java.lang.Object</DL>", "Aspect ClassWithNestedAspect</H2>", "public aspect <B>ClassWithNestedAspect</B><DT>extends java.lang.Object</DL>"}; List classMissing = AjdocOutputChecker.getMissing...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
"before(): p..", HtmlDecorator.HtmlRelationshipKind.ADVISES, "HREF=\"../pkg/ClassWithNestedAspect.html#amethod()\""); assertTrue("Should have 'before(): p.. advises HREF=\"../pkg/ClassWithNestedAspect.html#amethod()\"" + "' in the Advice Detail section", b); b = AjdocOutputChecker.summarySectionCo...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
b = AjdocOutputChecker.containsString(htmlFile,"ADVICE SUMMARY "); assertFalse(htmlFile.getName() + " should not contain an adivce summary section",b); b = AjdocOutputChecker.containsString(htmlFile,"POINTCUT DETAIL "); assertFalse(htmlFile.getName() + " should not contain a pointcut detail section",b); b = Ajd...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
"' in the Method Summary section", b); b = AjdocOutputChecker.detailSectionContainsRel( htmlFile,"=== METHOD SUMMARY", "amethod()", HtmlDecorator.HtmlRelationshipKind.ADVISED_BY, "pkg.ClassWithNestedAspect.NestedAspect.NestedAspect.before(): p.."); assertFalse("Should not have the label " + "pkg.C...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
/* ******************************************************************* * Copyright (c) 2003 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distribution and is available at * http...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
private static final long serialVersionUID = 171673495267384449L; public static boolean shortITDNames = true; private final static String UNDEFINED = "<undefined>"; private static int AccPublic = 0x0001; private static int AccPrivate = 0x0002; private static int AccProtected = 0x0004; private static int AccPriv...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
private static int AccStatic = 0x0008; private static int AccFinal = 0x0010; private static int AccSynchronized = 0x0020; private static int AccVolatile = 0x0040; private static int AccTransient = 0x0080; private static int AccNative = 0x0100; private static int AccInterface = 0x0200; private static int AccAbstr...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public ProgramElement (String name, IProgramElement.Kind kind, ISourceLocation sourceLocation, int modifiers, String comment, List children) { this(name, kind, children); this.sourceLocation = sourceLocation; setFormalComment(comment); this.modifiers = modifiers; cacheByHandle(); } ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
this.kind = kind; this.modifiers = modifiers; setDeclaringType(declaringType); setFormalComment(comment); if (relations!=null && relations.size()!=0) setRelations(relations); cacheByHandle(); } public List getModifiers() { return genModifiers(modifiers); } public Accessibility getAccessibility() { ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
if (kind == Kind.PACKAGE) return getName(); if (getParent() == null || !(getParent() instanceof IProgramElement)) { return ""; } return ((IProgramElement)getParent()).getPackageName(); } public Kind getKind() { return kind; } public boolean isCode() { return kind.equals(Kind.CODE); } public ISourceLo...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} public boolean isMemberKind() { return kind.isMember(); } public void setRunnable(boolean value) { if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); if (value) kvpairs.put("isRunnable","true"); else kvpairs.remove("isRunnable"); } public boolean isRunnable() { return kvpairs.get("isR...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); if (value) kvpairs.put("isOverrider","true"); else kvpairs.remove("isOverrider"); } public List getRelations() { return (List)kvpairs.get("relations"); } public void setRelations(List relations) { if (relations.size() > 0) { if (kvpairs...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} public static IProgramElement.Accessibility genAccessibility(int modifiers) { if ((modifiers & AccPublic) != 0) return IProgramElement.Accessibility.PUBLIC; if ((modifiers & AccPrivate) != 0) return IProgramElement.Accessibility.PRIVATE; if ((modifiers & AccProtected) != 0) return IProgramElement.Accessibility...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
return (String)kvpairs.get("sourceSignature"); } public void setSourceSignature(String string) { if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("sourceSignature",string); } public void setKind(Kind kind) { this.kind = kind; } public void setCorrespondingType(String s) { if (kvp...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public String getName() { return name; } public List getChildren() { return children; } public void setChildren(List children) { this.children = children; if (children == null) return; for (Iterator it = children.iterator(); it.hasNext(); ) { ((IProgramElement)it.next()).setParent(this); } } publi...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public void setName(String string) { name = string; } public IProgramElement walk(HierarchyWalker walker) { if (children!=null) { for (Iterator it = children.iterator(); it.hasNext(); ) { IProgramElement child = (IProgramElement)it.next(); walker.process(child); } } return this; } public S...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
return buffer.toString(); } public void setModifiers(int i) { this.modifiers = i; } public String toSignatureString() { return toSignatureString(true); } public String toSignatureString(boolean getFullyQualifiedArgTypes) { StringBuffer sb = new StringBuffer(); sb.append(name); List ptypes = getPara...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
sb.append(')'); } return sb.toString(); } /** * TODO: move the "parent != null"==>injar heuristic to more explicit */ public String toLinkLabelString() { return toLinkLabelString(true); } public String toLinkLabelString(boolean getFullyQualifiedArgTypes) { String label; if (kind == Kind.COD...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
label = ""; } else if (kind.equals(Kind.DECLARE_PARENTS)) { label = ""; } else { if (parent != null) { label = parent.getName() + '.'; } else { label = "injar aspect: "; } } label += toLabelString(getFullyQualifiedArgTypes); return label; } public String toLabelString() { return ...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} } return handle; } public List getParameterNames() { List parameterNames = (List)kvpairs.get("parameterNames"); return parameterNames; } public void setParameterNames(List list) { if (list==null || list.size()==0) return; if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpai...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("details",string); } public void setFormalComment(String txt) { if (txt!=null && txt.length()>0) { if (kvpairs==Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("formalComment",txt); } } private void cacheByHandle...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testHasMemberPackageProblem_pr124105() { runTest("hasMember problems with packages");} public void testDifferentNumbersofTVars_pr124803() { runTest("generics and different numbers of type variables");} public void testDifferentNumbersofTVars_pr124803_2() { runTest("generics and different numbers of type...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
} public void testMixingNumbersOfTypeParameters_pr125080_2() { runTest("mixing numbers of type parameters - 2"); GenericsTests.verifyClassSignature(ajc,"AspectInterface","<T:Ljava/lang/Object;S:Ljava/lang/Number;>Ljava/lang/Object;"); GenericsTests.verifyClassSignature(ajc,"AbstractAspect","<T:Ljava/lan...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testSwallowedException() { runTest("swallowed exceptions"); } public void testAtAspectVerifyErrorWithAfterThrowingAndthisJoinPoint_pr122742() { runTest("@AJ VerifyError with @AfterThrowing and thisJoinPoint argument"); } public void testAtAspectVerifyErrorWithAfterReturningAndthisJoinPoi...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IProgramElement bar = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.CLASS,"Bar"); assertNotNull("Couldn't find Bar element in the tree",bar); IProgramElement method = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.INTER_TYPE_METHOD,"Bar.getFirst()"); asser...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+ target.toLabelString(),bar,target); matches = AsmManager.getDefault().getRelationshipMap().get(constructor); assertNotNull("itd Foo.Foo(List<T>) should have some relationships but does not",matches); assertTrue("constructor itd should have one relationship but has " + matches.size(), matches.size...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertTrue("Foo should have one target but has " + matchesTargets.size(),matchesTargets.size() == 1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)matchesTargets.get(0)); assertEquals("target of relationship should be the Foo.Foo(List<T>) itd but is IPE with label " + tar...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertNotNull("warningMethod should have some relationships but does not",matches); assertTrue("warningMethod should have one relationships but has " + matches.size(),matches.size()==1); List matchesTargets = ((Relationship)matches.get(0)).getTargets(); assertTrue("warningMethod should have one targets b...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertTrue("@DeclareError should have one relationship but has " + matchedByE.size(), matchedByE.size() == 1); List matchedByTargetsE = ((Relationship)matchedByE.get(0)).getTargets(); assertTrue("@DeclareError 'matched by' relationship should have one target " + "but has " + matchedByTargetsE.size(), m...
132,130
Bug 132130 Missing relationship for declare @method when annotating a co-located method
For this program (when all entered into *one* file) I don't see a marker from the declare to the annotated method. If the annotated method is in another file, I do... (not sure if fields/ctors/types are also a problem..) public aspect basic { declare @method: * debit(..): @Secured(role="supervisor"); } class BankAccoun...
resolved fixed
9dca72e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-17T16:47:06Z
2006-03-16T11:53:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
} public void testEmptyPointcutInAtAspectJ_pr125475_2() { runTest("define empty pointcut using an annotation - 2"); } public void testEmptyPointcutInAtAspectJWithLTW_pr125475 () { runTest("define empty pointcut using aop.xml"); } public void testLTWGeneratedAspectWithAbstractMethod_pr125480 () {...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testHasMemberPackageProblem_pr124105() { runTest("hasMember problems with packages");} public void testDifferentNumbersofTVars_pr124803() { runTest("generics and different numbers of type variables");} public void testDifferentNumbersofTVars_pr124803_2() { runTest("generics and different numbers of type...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
} public void testMixingNumbersOfTypeParameters_pr125080_2() { runTest("mixing numbers of type parameters - 2"); GenericsTests.verifyClassSignature(ajc,"AspectInterface","<T:Ljava/lang/Object;S:Ljava/lang/Number;>Ljava/lang/Object;"); GenericsTests.verifyClassSignature(ajc,"AbstractAspect","<T:Ljava/lan...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testSwallowedException() { runTest("swallowed exceptions"); } public void testAtAspectVerifyErrorWithAfterThrowingAndthisJoinPoint_pr122742() { runTest("@AJ VerifyError with @AfterThrowing and thisJoinPoint argument"); } public void testAtAspectVerifyErrorWithAfterReturningAndthisJoinPoi...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IProgramElement bar = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.CLASS,"Bar"); assertNotNull("Couldn't find Bar element in the tree",bar); IProgramElement method = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.INTER_TYPE_METHOD,"Bar.getFirst()"); asser...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+ target.toLabelString(),bar,target); matches = AsmManager.getDefault().getRelationshipMap().get(constructor); assertNotNull("itd Foo.Foo(List<T>) should have some relationships but does not",matches); assertTrue("constructor itd should have one relationship but has " + matches.size(), matches.size...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertTrue("Foo should have one target but has " + matchesTargets.size(),matchesTargets.size() == 1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)matchesTargets.get(0)); assertEquals("target of relationship should be the Foo.Foo(List<T>) itd but is IPE with label " + tar...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
List matchesTargets = ((Relationship)matches.get(0)).getTargets(); assertTrue("'declare @method' should have one targets but has" + matchesTargets.size(),matchesTargets.size()==1); IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)matchesTargets.get(0)); assertE...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertTrue("'debit(long, long)' should have one targets but has" + matchesTargets.size(),matchesTargets.size()==1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)matchesTargets.get(0)); assertEquals("target of relationship should be the 'declare @method' ipe but is IPE with labe...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertNotNull("warningMethod should have some relationships but does not",matches); assertTrue("warningMethod should have one relationships but has " + matches.size(),matches.size()==1); List matchesTargets = ((Relationship)matches.get(0)).getTargets(); assertTrue("warningMethod should have one targets b...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertTrue("@DeclareError should have one relationship but has " + matchedByE.size(), matchedByE.size() == 1); List matchedByTargetsE = ((Relationship)matchedByE.get(0)).getTargets(); assertTrue("@DeclareError 'matched by' relationship should have one target " + "but has " + matchedByTargetsE.size(), m...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
} public void testEmptyPointcutInAtAspectJ_pr125475_2() { runTest("define empty pointcut using an annotation - 2"); } public void testEmptyPointcutInAtAspectJWithLTW_pr125475 () { runTest("define empty pointcut using aop.xml"); } public void testLTWGeneratedAspectWithAbstractMethod_pr125480 () {...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
/******************************************************************************* * Copyright (c) 2005 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
public static final AnnotationX[] NONE = new AnnotationX[0]; private Annotation theRealBcelAnnotation; private AnnotationAJ theRealASMAnnotation; private int mode = -1; private final static int MODE_ASM = 1; private final static int MODE_BCEL = 2; private ResolvedType signature = null; privat...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
} public AnnotationX(AnnotationAJ a,World world) { theRealASMAnnotation = a; signature = UnresolvedType.forSignature(theRealASMAnnotation.getTypeSignature()).resolve(world); mode= MODE_ASM; } public Annotation getBcelAnnotation() { return theRealBcelAnnotation; } public UnresolvedType getSi...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
* return true if this annotation can target an annotation type */ public boolean allowedOnAnnotationType() { ensureAtTargetInitialized(); if (atTargetAnnotation == null) return true; return supportedTargets.contains("ANNOTATION_TYPE"); } /** * return true if this annotation is marked with @targ...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
public String getValidTargets() { StringBuffer sb = new StringBuffer(); sb.append("{"); for (Iterator iter = supportedTargets.iterator(); iter.hasNext();) { String evalue = (String) iter.next(); sb.append(evalue); if (iter.hasNext()) sb.append(","); } sb.append("}"); return sb.toString(); } ...
132,926
Bug 132926 Compiler crashes processing annotations
Just upgraded to latest AJDT (Version: 1.3.1, Build id: 20060322082516 AspectJ version: 1.5.1.20060320075953) and the compiler crashed while rebulding the project (which used to work fine using using the March 16th version). Retrying with 'clean' build produced the same crash. java.lang.NullPointerException at org.aspe...
resolved fixed
2fb86fe
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-24T10:10:02Z
2006-03-23T02:13:20Z
weaver/src/org/aspectj/weaver/AnnotationX.java
*/ private void ensureAtTargetInitialized() { if (!lookedForAtTargetAnnotation) { lookedForAtTargetAnnotation = true; atTargetAnnotation = retrieveAnnotationOnAnnotation(UnresolvedType.AT_TARGET); if (atTargetAnnotation != null) { supportedTargets = new HashSet(); List values = atTargetAnnotati...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.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 Common Public License v1.0 * which accompanies this distrib...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
import org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration; import org.aspectj.asm.AsmManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.MessageUtil; import org.aspectj.bridge.WeaveMessage; import org.aspectj.bridge.context.CompilationAndWeavingContext; import org.aspectj.bridge.context.Conte...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TagBits; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter; import org.aspectj.weaver.AnnotationX; import org.aspectj.weaver.AsmRelationshipProvider; import org...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
public EclipseFactory factory = null; private List pendingTypesToWeave = new ArrayList();
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
/** interfaces targetted by ITDs that have to be implemented by accessing the topMostImplementor * of the interface, yet the aspect where the ITD originated is not in the world */ private Map dangerousInterfaces = new HashMap(); public AjLookupEnvironment( ITypeRequestor typeRequestor, CompilerOptions option...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.CONNECTING_TYPE_HIERARCHY, units[i].compilationResult.fileName); units[i].scope.connectTypeHierarchy(); CompilationAndWeavingContext.leavingPhase(tok); ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
SourceTypeBinding[] stbs = cus.topLevelTypes; for (int j=0; j<stbs.length; j++) { SourceTypeBinding stb = stbs[j]; typesToProcess.add(stb); } } factory.getWorld().getCrosscuttingMembersSet().reset(); while (typesToProcess.size()>0) { collectAllITDsAndDeclares((SourceTypeBinding)typesToProcess...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
boolean typeProcessingOrderIsImportant = declareParents.size()>0 || declareAnnotationOnTypes.size()>0; DECAT if (typeProcessingOrderIsImportant) { typesToProcess = new ArrayList(); for (int i=lastCompletedUnitIndex+1; i<=lastUnitIndex; i++) { CompilationUnitScope cus = units[i].scope; SourceTypeBindi...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
SourceTypeBinding[] b = units[i].scope.topLevelTypes; for (int j = 0; j < b.length; j++) { verifyAnyTypeParametersMeetBounds(b[j]); } } for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) { SourceTypeBinding[] b = units[i].scope.topLevelTypes; ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
AsmManager.setCompletingTypeBindings(false); CompilationAndWeavingContext.leavingPhase(completeTypeBindingsToken); } /** * For any given sourcetypebinding, this method checks that if it is a parameterized aspect that * the type parameters specified for any supertypes meet the bounds for the generic type ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
factory.getWorld().getMessageHandler().handleMessage(MessageUtil.error(msg,onType.getSourceLocation())); } } } } } } public void doSupertypesFirst(ReferenceBinding rb,Collection yetToProcess) { if (rb instanceof SourceTypeBinding) { if (yetToProcess.contains(rb)) { collec...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.COLLECTING_ITDS_AND_DECLARES, sourceType.sourceName); doSupertypesFirst(sourceType.superclass(),yetToProcess); ReferenceBinding[] memberTypes = sourceType.memberTypes; for (int i = 0, length = memberTypes....
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
ReferenceBinding superType = typeToWeave.superclass(); if (typesToProcess.contains(superType) && superType instanceof SourceTypeBinding) { weaveIntertypes(typesToProcess,(SourceTypeBinding)superType,typeMungers,declareParents,declareAnnotationOnTypes); } ReferenceBinding[] interfaceTypes ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
if (dec instanceof AspectDeclaration) { ResolvedType typeX = factory.fromEclipse(dec.binding); factory.getWorld().getCrosscuttingMembersSet().addAdviceLikeDeclares(typeX); } SourceTypeBinding sourceType = s.referenceContext.binding; ReferenceBinding[] memberTypes...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
private void resolvePointcutDeclarations(ClassScope s) { TypeDeclaration dec = s.referenceContext; SourceTypeBinding sourceType = s.referenceContext.binding; boolean hasPointcuts = false; AbstractMethodDeclaration[] methods = dec.methods; boolean initializedMethods = false; ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
} /** * Return true if the declaration has @Aspect annotation. Called 'couldBe' rather than * 'is' because someone else may have defined an annotation called Aspect - we can't * verify the full name (including package name) because it may not have been resolved * just yet and rather going ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
factory.showMessage(IMessage.ERROR, "class \'" + new String(sourceType.sourceName) + "\' can not extend aspect \'" + parent.getName() + "\'", factory.fromEclipse(sourceType).getSourceLocation(), null); } } ReferenceBinding[] memberTypes = sourceType.memberTypes; for (int i = 0, length = memberType...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
} } } return false; } private void weaveInterTypeDeclarations(CompilationUnitScope unit, Collection typeMungers, Collection declareParents, Collection declareAnnotationOnTypes) { for (int i = 0, length = unit.topLevelTypes.length; i < length; i++) { weaveInterTy...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
if (info != null && !info.isOldStyle() && !info.isReweavable()) { processTypeMungersFromExistingWeaverState(sourceType,onType); CompilationAndWeavingContext.leavingPhase(tok); return; } for (Iterator i = dangerousInterfaces.entrySet().iterator(); i.hasNext();) { Map.Entry entry = (Map.Entry) i.n...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
List decpToRepeat = new ArrayList(); List decaToRepeat = new ArrayList(); boolean anyNewParents = false; boolean anyNewAnnotations = false; for (Iterator i = declareParents.iterator(); i.hasNext();) { DeclareParents decp = (DeclareParents)i.next(); boolean didSomething = doDeclareParents(decp...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
while ((anyNewAnnotations || anyNewParents) && (!decpToRepeat.isEmpty() || !decaToRepeat.isEmpty())) { anyNewParents = anyNewAnnotations = false; List forRemoval = new ArrayList(); for (Iterator i = decpToRepeat.iterator(); i.hasNext();) { DeclareParents decp = (DeclareParents)i.next(); boolean di...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
if (needOldStyleWarning) { factory.showMessage(IMessage.WARNING, "The class for " + onType + " should be recompiled with ajc-1.1.1 for best results", onType.getSourceLocation(), null); needOldStyleWarning = false; } onType.addInterTypeMunger(munger); } } onType.checkInt...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
return; } ReferenceBinding[] memberTypes = sourceType.memberTypes; for (int i = 0, length = memberTypes.length; i < length; i++) { if (memberTypes[i] instanceof SourceTypeBinding) { weaveInterTypeDeclarations((SourceTypeBinding) memberTypes[i], typeMungers, declareParents,declareAnnotationOnTypes, false); ...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
} } } } private boolean doDeclareParents(DeclareParents declareParents, SourceTypeBinding sourceType) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.PROCESSING_DECLARE_PARENTS, sourceType.sourceName); List newParents = declareParents.findMatchingNewParents(...
133,307
Bug 133307 declare parents implementing generic interface referencing same type
I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.
resolved fixed
c9a60e5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-03-27T13:42:23Z
2006-03-27T03:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
} private String stringifyTargets(long bits) { if ((bits & TagBits.AnnotationTargetMASK)==0) return ""; Set s = new HashSet(); if ((bits&TagBits.AnnotationForAnnotationType)!=0) s.add("ANNOTATION_TYPE"); if ((bits&TagBits.AnnotationForConstructor)!=0) s.add("CONSTRUCTOR"); if ((bits&TagBits.AnnotationForFi...