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
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeMethodDeclarationImpl.java
/* ******************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * htt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeMethodDeclarationImpl.java
private Method baseMethod; private int parameterAdjustmentFactor = 1; private AjType<?>[] parameterTypes; private Type[] genericParameterTypes; private AjType<?> returnType; private Type genericReturnType; private AjType<?>[] exceptionTypes; /** * @param decType * @param target * @param mods */ publi...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeMethodDeclarationImpl.java
return this.name; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.InterTypeMethodDeclaration#getReturnType() */ public AjType<?> getReturnType() { return AjTypeSystem.getAjType(baseMethod.getReturnType()); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.InterTypeMethodDeclaration#getGenericReturnType...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeMethodDeclarationImpl.java
* @see org.aspectj.lang.reflect.InterTypeMethodDeclaration#getGenericParameters() */ public Type[] getGenericParameterTypes() { Type[] baseTypes = baseMethod.getGenericParameterTypes(); Type[] ret = new AjType<?>[baseTypes.length-parameterAdjustmentFactor]; for (int i = parameterAdjustmentFactor; i < baseTypes...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/*******************************************************************************
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
* Copyright (c) 2004 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://www.eclipse.org/legal/cpl-v10.html * * Contributors: * Andy Clement - initial ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc150Tests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml"); } /* public void testBrokenDispatchByITD_pr72834() { runTest("broken dispatch");} public void testMissingAc...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testFieldGet_pr114343() { runTest("field-get, generics and around advice");} public void testFieldGet_pr114343_2() { runTest("field-get, generics and around advice - 2");} public void testFieldGet_pr114343_3() { runTest("field-get, generics and around advice - 3");} public void tes...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
fail("Signature was "+sigString+" when should have been something like Ljava/lang/Object;LIE1<Ljava/lang/String;>;LIE2;"); } } public void test_typeProcessingOrderWhenDeclareParents() { runTest("Order of types passed to compiler determines weaving behavior"); } public void test_aroundMethod() { runTest(...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testMissingDebugInfoForGeneratedMethods_pr82570() throws ClassNotFoundException { runTest("Weaved code does not include debug lines"); boolean f = false; JavaClass jc = getClassFrom(ajc.getSandboxDirectory(),"PR82570_1"); Method[] meths = jc.getMethods(); for (int i = 0; i < meths.leng...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void test051_arrayCloningInJava5() { runTest("AJC possible bug with static nested classes"); } public void testBadASMforEnums() throws IOException { runTest("bad asm for enums"); if (LangUtil.is15VMOrGreater()) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWr...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testSyntaxError() { runTest("invalid cons syntax"); } public void testVarargsInConsBug() { runTest("varargs in constructor sig"); } public void testAspectpathdirs() { runTest("dirs on aspectpath"); } public void testIntroSample() { runTest("introduction sample"); } pu...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("overriding/polymorphism error on interface method introduction"); } public void testIfEvaluationExplosion_pr94086() { runTest("Exploding compile time with if() statements in pointcut"); } public void testReflectNPE_pr94167() {runTest("NPE in reflect implementation");} public void te...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testParseErrorOnAnnotationStarPlusPattern() { runTest("(@Foo *)+ type pattern parse error"); } public void test_pr106130_tooManyLocals() { runTest("test weaving with > 256 locals"); } public void testMissingNamePattern_pr106461() { runTest("missing name pattern"); } public void test...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAjKeywordsAsIdentifiers2() { runTest("before and after are valid identifiers in classes, part 2"); } public void testNoBeforeReturningAdvice() { runTest("before returning advice not allowed!"); } public void testDetectVoidFieldType() { runTest("void field type in pointcut expre...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("good error message for unmatched member syntax"); } public void testITDWithNoExceptionAndIntermediary() { runTest("itd override with no exception clause"); } public void testAnonymousInnerClasses() { runTest("anonymous inner classes"); } public void testMultipleAnonymousInnerClasses() {...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testSignatureMatchingInMultipleOverrideScenario() { runTest("signature matching in override scenario"); } public void testWildcardAnnotationMatching_pr108245() { runTest("wildcard annotation matching - pr108245"); } public void testInnerTypesAndTypeVariables() { runTest("inner types an...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testInnerTypeOfGeneric() { runTest("inner type of generic interface reference from parameterized type"); } public void testDeclareParentsIntroducingCovariantReturnType() { runTest("declare parents introducing override with covariance"); } public void testInnerClassPassedToVarargs() { ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testNoUnusedWarningsOnAspectTypes() { runTest("no unused warnings on aspect types"); } public void testSyntheticArgumentsOnITDConstructorsNotUsedInMatching() { runTest("synthetic arguments on itd cons are not used in matching"); } public void testParsingOfGenericTypeSignature() { runT...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoWarningOnUnusedPointcut() { runTest("unused private pointcuts"); } public void testITDOnInterfaceWithExistingMember() { runTest("itd interface method already existing on interface"); } public void testFinalITDMOnInterface() { runTest("final itd methods on interfaces"); ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testAtAnnotationBadTest_pr103740() { runTest("Compiler failure on at_annotation"); } public void testNoUnusedParameterWarningsForSyntheticAdviceArgs() { runTest("no unused parameter warnings for synthetic advice args"); } public void testNoVerifyErrorWithSetOnInnerType() { runT...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testMessageOnMissingTypeInDecP() { runTest("declare parents on a missing type"); } public void testParameterizedGenericMethods() { runTest("parameterized generic methods"); } public void testIllegalChangeToPointcutDeclaration_pr111915() { runTest("test illegal change to pointcut declara...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testArrayCloneCallJoinPoints() { runTest("array clone call join points in 1.4 vs 1.3"); } public void testDebugInfoForAroundAdvice() { runTest("debug info in around advice inlining"); } public void testCCEWithGenericWildcard_pr112602() { runTest("ClassCastException with generic wildca...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
targets.size()==1); IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'before(): p..' but is " + target.toLabelString(),"before(): p..",target.toLabelString()); IProgramElement adviceIP...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement namedMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"m()"); assertNotNull("Couldn't find 'm()' element in the tree",namedMethodIPE); List l = AsmManager.getDefault(...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} targets = rel.getTargets(); assertTrue("Should have one target but has" + targets.size(), targets.size()==1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'm()' but is " + target.toLabelSt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testJava5SpecificFeaturesUsedAtJava14OrLower() { runTest("java 5 pointcuts and declares at pre-java 5 compliance levels"); } public void testAnonymousTypes() { runTest("Anonymous types and nome matching"); } public void testAdviceExecutionJPToStringForms() { runTest("adviceexecution j...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoVerifyErrorWithAtAnnotationPCDs_pr113447() { runTest("no verify error with at annotation pcds"); } public void testNoVerifyErrorWithTwoArgsPCDs_pr113447() { runTest("no verify error with two args pcds"); } public void testNoStackOverflowWithCircularPCDInGenericAspect() { ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testXlintMessageForImproperAnnotationType_pr115252_AND() {runTest("xlint message for improper annotation type inside AND");} public void testXlintMessageForImproperAnnotationType_pr115252_Return() {runTest("xlint message for improper annotated return type");} public void testXlintMessageForImproperAnn...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.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...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.EmptyStatement; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration; impo...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
import org.aspectj.weaver.ResolvedMemberImpl; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.Shadow; import org.aspectj.weaver.TypeFactory; import org.aspectj.weaver.TypeVariable; import org.aspectj.weaver.TypeVariableDeclaringElement; import org.aspectj.weaver.TypeVariableReference; import org.aspec...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
public static EclipseFactory fromScopeLookupEnvironment(Scope scope) { return fromLookupEnvironment(AstUtil.getCompilationUnitScope(scope).environment); } public EclipseFactory(LookupEnvironment lookupEnvironment,AjBuildManager buildManager) { this.lookupEnvironment = lookupEnvironment; this.buildManager = ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} public ResolvedType fromEclipse(ReferenceBinding binding) { if (binding == null) return ResolvedType.MISSING; ResolvedType ret = getWorld().resolve(fromBinding(binding)); return ret; } public ResolvedType fromTypeBindingToRTX(TypeBinding tb) { if (tb == null) return ResolvedType.MISSING; Reso...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
TypeVariableBinding tvb = (TypeVariableBinding)binding; if (tvb.firstBound!=null) { return getName(tvb.firstBound); } else { return getName(tvb.superclass); } } if (binding instanceof ReferenceBinding) { return new String( CharOperation.concatWith(((ReferenceBinding)binding).compoundName,...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
* remember the type variable. * Adrian 10-July-05 * When we forget it's a type variable we come unstuck when getting the declared members of a parameterized * type - since we don't know it's a type variable we can't replace it with the type parameter. */ public UnresolvedType fromBinding(TypeBinding binding)...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
UnresolvedType theBound = null; if (eWB.bound instanceof TypeVariableBinding) { theBound = fromTypeVariableBinding((TypeVariableBinding)eWB.bound); } else { theBound = fromBinding(eWB.bound); } if (theType.isGenericWildcard() && theType.isSuper()) theType.setLowerBound(theBound); if (theType.isGe...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} } String baseTypeSignature = null; ResolvedType baseType = getWorld().resolve(UnresolvedType.forName(getName(binding)),true); if (baseType != ResolvedType.MISSING) { if (!baseType.isGenericType() && arguments!=null) baseType = baseType.getGenericType(); baseTypeSignature = baseType.ge...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
TypeVariable[] tVars = new TypeVariable[tvbs.length]; for (int i = 0; i < tvbs.length; i++) { TypeVariableBinding eclipseV = tvbs[i]; String name = CharOperation.charToString(eclipseV.sourceName); tVars[i] = new TypeVariable(name,fromBinding(eclipseV.superclass()),fromBindings(eclipseV.superInterfaces()...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
*/ private static Map typeVariableBindingsInProgress = new HashMap(); /** * Convert from the eclipse form of type variable (TypeVariableBinding) to the AspectJ * form (TypeVariable). */ private UnresolvedType fromTypeVariableBinding(TypeVariableBinding aTypeVariableBinding) { if (typeVariableBinding...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
UnresolvedTypeVariableReferenceType ret = new UnresolvedTypeVariableReferenceType(); typeVariableBindingsInProgress.put(aTypeVariableBinding,ret); UnresolvedType superclassType = fromBinding(aTypeVariableBinding.superclass()); UnresolvedType[] superinterfaces = new UnresolvedType[aTypeVariableBinding....
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
UnresolvedType[] ret = new UnresolvedType[len]; for (int i=0; i<len; i++) { ret[i] = fromBinding(bindings[i]); } return ret; } public static ASTNode astForLocation(IHasPosition location) { return new EmptyStatement(location.getStart(), location.getEnd()); } public Collection getDeclareParents() { ret...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} public void finishTypeMungers() { Collection ret = new ArrayList(); Collection baseTypeMungers = getWorld().getCrosscuttingMembersSet().getTypeMungers(); baseTypeMungers.addAll(getWorld().getCrosscuttingMembersSet().getLateTypeMungers()); for (Iterator i = baseTypeMungers.iterator(); i.ha...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
EclipseTypeMunger ret = new EclipseTypeMunger(this, concrete.getMunger(), concrete.getAspectType(), method); if (ret.getSourceLocation() == null) { ret.setSourceLocation(concrete.getSourceLocation()); } return ret; } else { return null; } } public Collection getTypeMungers() { return fin...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
* from the eclipse type 'N extends Number' to the letter 'X'. */ private Map typeVariablesForAliasRecovery; /** * Construct a resolvedmember from a methodbinding. The supplied map tells us about any * typevariablebindings that replaced typevariables whilst the compiler was resolving types - * this only ha...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
typeVariablesForThisMember.put(new String(binding.typeVariables[i].sourceName),ajTypeRefs[i]); } } ResolvedType realDeclaringType = world.resolve(fromBinding(declaringType)); if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType(); ResolvedMemberImpl ret = new Resolve...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
public ResolvedMember makeResolvedMember(FieldBinding binding) { return makeResolvedMember(binding, binding.declaringClass); } public ResolvedMember makeResolvedMember(FieldBinding binding, TypeBinding receiverType) { ResolvedType realDeclaringType = world.resolve(fromBinding(receiverType)); if (realDeclar...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} if (ret == null) { System.out.println("can't find: " + typeX); } return ret; } private ReferenceBinding baseTypeForParameterizedType; private int indexOfTypeParameterBeingConverted; private TypeBinding makeTypeBinding1(UnresolvedType typeX) { if (typeX.isPrimitiveType()) { if (typeX == Reso...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return lookupEnvironment.createArrayType(makeTypeBinding(typeX), dim); } else if (typeX.isParameterizedType()) { UnresolvedType[] typeParameters = typeX.getTypeParameters(); ReferenceBinding baseTypeBinding = lookupBinding(typeX.getBaseName()); TypeBinding[] argumentBindings = new TypeBinding[typeP...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
bound = makeTypeBinding(brt.getUpperBound()); } else if (brt.isSuper()) { boundkind = Wildcard.SUPER; bound = makeTypeBinding(brt.getLowerBound()); } TypeBinding[] otherBounds = null; if (brt.getAdditionalBounds()!=null && brt.getAdditionalBounds().length!=0) otherBounds = makeTypeBindings(brt.getAd...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
private ReferenceBinding[] makeReferenceBindings(UnresolvedType[] types) { int len = types.length; ReferenceBinding[] ret = new ReferenceBinding[len]; for (int i = 0; i < len; i++) { ret[i] = (ReferenceBinding)makeTypeBinding(types[i]); } return ret; } public FieldBinding makeFieldBinding(NewF...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
/** * Take a normal AJ member and convert it into an eclipse fieldBinding. * Taking into account any aliases that it may include due to being * a generic itd. Any aliases are put into the typeVariableToBinding * map so that they will be substituted as appropriate in the returned * fieldbinding. */ public ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return fb; } private ReferenceBinding currentType = null; public MethodBinding makeMethodBinding(NewMethodTypeMunger nmtm) { return internalMakeMethodBinding(nmtm.getSignature(),nmtm.getTypeVariableAliases()); } /** * Convert a resolvedmember into an eclipse method binding. */ public MethodBinding mak...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} public MethodBinding internalMakeMethodBinding(ResolvedMember member,List aliases) { return internalMakeMethodBinding(member,aliases,member.getDeclaringType()); } /** * Take a normal AJ member and convert it into an eclipse methodBinding. * Taking into account any aliases that it may include due to being...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
for (Iterator iter = aliases.iterator(); iter.hasNext();) { String element = (String) iter.next(); typeVariableToTypeBinding.put(element,aliasTarget.typeVariables()[i++]); } } currentType = declaringType; MethodBinding mb = new MethodBinding(member.getModifiers(), member.getName().toCharArray(...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
private Map typeVariableToTypeBinding = new HashMap(); /** * Converts from an TypeVariableReference to a TypeVariableBinding. A TypeVariableReference * in AspectJ world holds a TypeVariable and it is this type variable that is converted * to the TypeVariableBinding. */ private TypeVariableBinding makeTypeV...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
for (int i = 0; i < tbs.length; i++) { rbs[i] = (ReferenceBinding)tbs[i]; } tvBinding.superInterfaces=rbs; } } return tvBinding; } private TypeVariableBinding makeTypeVariableBindingFromAJTypeVariable(TypeVariable tv) { TypeVariableBinding tvBinding = (TypeVariableBinding)typeVariableToTypeBindi...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
tvBinding.superInterfaces=rbs; } } return tvBinding; } public MethodBinding makeMethodBindingForCall(Member member) { return new MethodBinding(member.getCallsiteModifiers(), member.getName().toCharArray(), makeTypeBinding(member.getReturnType()), makeTypeBindings(member.getParameterTypes()), ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
TypeDeclaration decl = binding.scope.referenceContext; UnresolvedType simpleTx = null; if (binding.isGenericType()) { simpleTx = UnresolvedType.forRawTypeName(getName(binding)); } else if (binding.isLocalType()) { LocalTypeBinding ltb = (LocalTypeBinding) binding; if (ltb.constantPoolName() !...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
if (decl instanceof AspectDeclaration) { ((AspectDeclaration)decl).typeX = name; ((AspectDeclaration)decl).concreteName = t; } ReferenceBinding[] memberTypes = binding.memberTypes; for (int i = 0, length = memberTypes.length; i < length; i++) { addSourceTypeBinding((SourceTypeBinding) memberTypes[i], ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.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...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java
EclipseFactory world; ASTNode astNode; ReferenceContext context; public EclipseShadow(EclipseFactory world, Kind kind, Member signature, ASTNode astNode, ReferenceContext context) { super(kind, signature, null); this.world = world; this.astNode = astNode; this.context = context; } public World g...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java
} else if (context instanceof AbstractMethodDeclaration) { return world.fromBinding(((AbstractMethodDeclaration)context).binding.declaringClass); } else { return ResolvedType.MISSING; } } public ISourceLocation getSourceLocation() { return null; } public Member getEnclosingCodeSignature() { if (c...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java
throw new RuntimeException("unimplemented"); } public Var getThisJoinPointVar() { throw new RuntimeException("unimplemented"); } public Var getThisJoinPointStaticPartVar() { throw new RuntimeException("unimplemented"); } public Var getThisEnclosingJoinPointStaticPartVar() { throw new RuntimeException("unimp...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java
public Var getWithinCodeAnnotationVar(UnresolvedType annotationType) { throw new RuntimeException("unimplemented"); } public static EclipseShadow makeShadow(EclipseFactory world, ASTNode astNode, ReferenceContext context) { if (astNode instanceof AllocationExpression) { AllocationExpression e =...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java
return new EclipseShadow(world, Shadow.ConstructorExecution, ((InterTypeDeclaration)e).getSignature(), astNode, context); } else if (e instanceof InterTypeFieldDeclaration) { return null; } else if (e instanceof MethodDeclaration) { kind = Shadow.MethodExecution; } else if (e instanceof Constructo...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 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
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
* http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * Andy Clement - initial API and implementation *******************************************************************************/ package org.aspectj.systemtest.ajc150; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOExcepti...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml"); } /* public void testBrokenDispatchByITD_pr72834() { runTest("broken dispatch");} public void testMissingAccessor_pr73856() { runTest("missing accessor");} public void testCunningDeclareParents_pr92311...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testBadDecp_pr110788_1() { runTest("bad generic decp - 1");} public void testBadDecp_pr110788_2() { runTest("bad generic decp - 2");} public void testBadDecp_pr110788_3() { runTest("bad generic decp - 3");} public void testBadDecp_pr110788_4() { runTest("bad generic decp - 4");} public void testVara...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("Order of types passed to compiler determines weaving behavior"); } public void test_aroundMethod() { runTest("method called around in class"); } public void test_aroundMethodAspect() { runTest("method called around in aspect"); } public void test_ambiguousBindingsDetection() { runT...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
JavaClass jc = getClassFrom(ajc.getSandboxDirectory(),"PR82570_1"); Method[] meths = jc.getMethods(); for (int i = 0; i < meths.length; i++) { Method method = meths[i]; if (f) System.err.println("Line number table for "+method.getName()+method.getSignature()+" = "+method.getLineNumberTable()); assertTrue(...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testBadASMforEnums() throws IOException { runTest("bad asm for enums"); if (LangUtil.is15VMOrGreater()) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter pw = new PrintWriter(baos); AsmManager.dumptree(pw,AsmManager.getDefault().getHierarchy().getRoot(),0); ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testVarargsInConsBug() { runTest("varargs in constructor sig"); } public void testAspectpathdirs() { runTest("dirs on aspectpath"); } public void testIntroSample() { runTest("introduction sample"); } public void testPTWInterface() { runTest("pertypewithin({interface}) illega...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIfEvaluationExplosion_pr94086() { runTest("Exploding compile time with if() statements in pointcut"); } public void testReflectNPE_pr94167() {runTest("NPE in reflect implementation");} public void testStaticImports_pr84260() {runTest("static import failures");} public void testGener...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void test_pr106130_tooManyLocals() { runTest("test weaving with > 256 locals"); } public void testMissingNamePattern_pr106461() { runTest("missing name pattern"); } public void testMissingNamePattern_pr107059() { runTest("parser crashes on call(void (@a *)(..)"); } public void testInterm...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testNoBeforeReturningAdvice() { runTest("before returning advice not allowed!"); } public void testDetectVoidFieldType() { runTest("void field type in pointcut expression"); } public void testPointcutOverriding() { runTest("overriding final pointcut from super-aspect"); } publi...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("itd override with no exception clause"); } public void testAnonymousInnerClasses() { runTest("anonymous inner classes"); } public void testMultipleAnonymousInnerClasses() { runTest("multiple anonymous inner classes"); } public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testWildcardAnnotationMatching_pr108245() { runTest("wildcard annotation matching - pr108245"); } public void testInnerTypesAndTypeVariables() { runTest("inner types and type variables"); } public void testAtAfterThrowingWithNoFormal() { runTest("@AfterThrowing with no formal specifie...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testDeclareParentsIntroducingCovariantReturnType() { runTest("declare parents introducing override with covariance"); } public void testInnerClassPassedToVarargs() { runTest("inner class passed as argument to varargs method"); } public void testInlinedFieldAccessInProceedCall() { runT...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testSyntheticArgumentsOnITDConstructorsNotUsedInMatching() { runTest("synthetic arguments on itd cons are not used in matching"); } public void testParsingOfGenericTypeSignature() { runTest("parse generic type signature with parameterized type in interface"); } public void testOverrideAn...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testITDOnInterfaceWithExistingMember() { runTest("itd interface method already existing on interface"); } public void testFinalITDMOnInterface() { runTest("final itd methods on interfaces"); } public void testPrivatePointcutOverriding() { runTest("can't override private pointcu...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoUnusedParameterWarningsForSyntheticAdviceArgs() { runTest("no unused parameter warnings for synthetic advice args"); } public void testNoVerifyErrorWithSetOnInnerType() { runTest("no verify error with set on inner type"); } public void testCantFindTypeErrorWithGenericReturnT...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testParameterizedGenericMethods() { runTest("parameterized generic methods"); } public void testIllegalChangeToPointcutDeclaration_pr111915() { runTest("test illegal change to pointcut declaration"); } public void testCantProvideDefaultImplViaITD_pr110307_1() {runTest("Cant provide default...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testDebugInfoForAroundAdvice() { runTest("debug info in around advice inlining"); } public void testCCEWithGenericWildcard_pr112602() { runTest("ClassCastException with generic wildcard"); } public void testAdviceInStructureModelWithAnonymousInnerClass_pr77269() { runTest("advice ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IProgramElement adviceIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.ADVICE,"before(): p.."); assertNotNull("Couldn't find 'before(): p..' element in the tree",adviceIPE); l = AsmManager.getDefault().getRelationshipMap().get(adviceIPE); assertNotNull("Should have some relat...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IProgramElement namedMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"m()"); assertNotNull("Couldn't find 'm()' element in the tree",namedMethodIPE); List l = AsmManager.getDefault().getRelationshipMap().get(namedMethodIPE); assertNotNull("Should have some rela...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'm()' but is " + target.toLabelString(),"m()",target.toLabelString()); } public void testDWInStructureModelWithAnonymousInnerClass_pr77269() { r...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAnonymousTypes() { runTest("Anonymous types and nome matching"); } public void testAdviceExecutionJPToStringForms() { runTest("adviceexecution join point toString forms"); } public void testAssertWithinPointcutExpression() { runTest("pointcut expression containing 'assert'"); } ...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoVerifyErrorWithTwoArgsPCDs_pr113447() { runTest("no verify error with two args pcds"); } public void testNoStackOverflowWithCircularPCDInGenericAspect() { runTest("no StackOverflowError with circular pcd in generic aspect"); } public void testNoStackOverflowWithCircularPCDIn...
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
resolved fixed
554e733
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-22T09:28:09Z
2005-07-07T18:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testXlintMessageForImproperAnnotationType_pr115252_AND() {runTest("xlint message for improper annotation type inside AND");} public void testXlintMessageForImproperAnnotationType_pr115252_Return() {runTest("xlint message for improper annotated return type");} public void testXlintMessageForImproperAnn...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at ...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
import org.aspectj.weaver.bcel.Utility; import org.aspectj.weaver.bcel.BcelObjectType; import org.aspectj.weaver.loadtime.definition.Definition; import org.aspectj.weaver.loadtime.definition.DocumentParser; import org.aspectj.weaver.patterns.PatternParser; import org.aspectj.weaver.patterns.TypePattern; import org.aspe...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private List m_aspectExcludeStartsWith = new ArrayList(); private List m_aspectIncludeTypePattern = new ArrayList(); private List m_aspectIncludeStartsWith = new ArrayList(); private StringBuffer namespace; private IWeavingContext weavingContext; public ClassLoaderWeavingAdaptor(final ClassLoader lo...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
}else{ weavingContext = wContext ; } bcelWorld = new BcelWorld( loader, messageHandler, new ICrossReferenceHandler() { public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) { ...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
List definitions = new ArrayList(); if (ClassLoader.getSystemClassLoader().equals(loader)) { String file = System.getProperty("aj5.def", null); if (file != null) { MessageUtil.info(messageHandler, "using (-Daj5.def) " + file); ...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
enabled = false; info("no configuration found. Disabling weaver for class loader " + getClassLoaderName(loader)); } } catch (Exception e) { enabled = false; warn("register definition failed",e); } } private String getClassLoaderName (ClassLoader load...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
world.setMessageHandler(weaverOption.messageHandler); world.setXlazyTjp(weaverOption.lazyTjp); world.setXHasMemberSupportEnabled(weaverOption.hasMember); world.setPinpointMode(weaverOption.pinpoint); weaver.setReweavableMode(weaverOption.notReWeavable); world.setXnoInline(weaverO...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} finally { try { resource.close(); } catch (Throwable t) {;} } } if (weaverOption.lint == null) { bcelWorld.getLint().loadDefaultProperties(); bcelWorld.getLint().adviceDidNotMatch.setKind(IMessage.INFO); } else { if (weaverOption.lint...
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
resolved fixed
a5ac5af
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-23T09:01:53Z
2005-11-19T17:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} private void registerAspectInclude(final BcelWeaver weaver, final ClassLoader loader, final List definitions) { String fastMatchInfo = null; for (Iterator iterator = definitions.iterator(); iterator.hasNext();) { Definition definition = (Definition) iterator.next(); for (It...