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
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation * 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 * ht...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
import org.aspectj.util.FileUtil; /** * Root class for all Test suites that are based on an AspectJ XML test suite * file. Extends AjcTestCase allowing a mix of programmatic and spec-file * driven testing. See org.aspectj.systemtest.incremental.IncrementalTests for * an example of this mixed style. * <p>The class ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
*/ public static Test loadSuite(Class testCaseClass) { TestSuite suite = new TestSuite(testCaseClass.getName()); suite.addTestSuite(testCaseClass); TestSetup wrapper = new TestSetup(suite) { /* (non-Javadoc) * @see junit.extensions.TestSetup#setUp() */ protected void setUp() throws Exception { ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
*/ protected Map getSuiteTests() { return testMap; } /** * This helper method runs the test with the given title in the * suite spec file. All tests steps in given ajc-test execute * in the same sandbox. */ protected void runTest(String title) { currentTest = (AjcTest) testMap.get(title); fina...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
*/ protected AjcTest getCurrentTest() { return currentTest; } /** * For use by the Digester. As the XML document is parsed, it creates instances * of AjcTest objects, which are added to this TestCase by the Digester by * calling this method. */ public void addTest(AjcTest test) { testMap.put(test.ge...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
return result; } /* * The rules for parsing a suite spec file. The Digester using bean properties to match attributes * in the XML document to properties in the associated classes, so this simple implementation should * be very easy to maintain and extend should you ever need to. */ protected Digester get...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
digester.addSetProperties("suite/ajc-test/ant/stderr"); digester.addSetNext("suite/ajc-test/ant/stderr","addStdErrSpec","org.aspectj.testing.OutputSpec"); digester.addObjectCreate("suite/ajc-test/ant/stdout",OutputSpec.class); digester.addSetProperties("suite/ajc-test/ant/stdout"); diges...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
} suiteLoaded = true; } } protected long nextIncrement(boolean doWait) { long time = System.currentTimeMillis(); if (doWait) { try { Thread.sleep(1000); } catch (InterruptedException intEx) {} } return time; } protected void copyFile(String from, String to) throws Except...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
assertMessages(result,"Test '" + getCurrentTest().getTitle() + "' did not produce expected messages",expectedResults); } protected void deleteFile(String file) { new File(ajc.getSandboxDirectory(),file).delete(); } protected void deleteFileAndDoIncrementalBuild(String file, MessageSpec expectedR...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.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 ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
runTest("Ensure 1st aspect is rewoven when weaving 2nd aspect"); } public void testOutxmlFile (){ runTest("Ensure valid aop.xml file is generated"); } public void testOutxmlJar (){ runTest("Ensure valid aop.xml is generated for -outjar"); } public void testNoAopxml(){ setSystemProperty(Weaving...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
private Properties savedProperties; protected void setSystemProperty (String key, String value) { Properties systemProperties = System.getProperties(); copyProperty(key,systemProperties,savedProperties); systemProperties.setProperty(key,value); } private static void copyProperty (String key, Properties f...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation * 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 * ht...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
import java.util.StringTokenizer; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.Message; import org.aspectj.bridge.MessageUtil; import org.aspectj.bridge.MessageWriter; import org.aspectj.bridge.IMessage.Kind; import or...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * System property used to turn on verbose weaving messages */ public static final String WEAVING_ADAPTOR_VERBOSE = "aj.weaving.verbose"; public static final String SHOW_WEAVE_INFO_PROPERTY = "org.aspectj.weaver.showWeaveInfo"; protected boolean enabled = true; protected boolean verbose = getVerbose(); p...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* instances to determine the set of aspects to be used ofr weaving. * @param loader instance of <code>ClassLoader</code> */ public WeavingAdaptor (WeavingClassLoader loader) { generatedClassHandler = loader; init(getFullClassPath((ClassLoader)loader),getFullAspectPath((ClassLoader)loader)); } /** * Con...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
warn("cannot determine classpath"); } } list.addAll(0,makeClasspath(System.getProperty("sun.boot.class.path"))); return list; } private List getFullAspectPath (ClassLoader loader) { List list = new LinkedList(); for (; loader != null; loader = loader.getParent()) { if (loader instanceof WeavingClas...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
bcelWorld.getLint().loadDefaultProperties(); if (LangUtil.is15VMOrGreater()) { bcelWorld.setBehaveInJava5Way(true); } weaver = new BcelWeaver(bcelWorld); registerAspectLibraries(aspectPath); } private void createMessageHandler() { messageHandler = new WeavingAdaptorMessageHandler(new PrintWriter(System.e...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* @return the woven bytes * @exception IOException weave failed */ public byte[] weaveClass (String name, byte[] bytes) throws IOException { if (enabled) { if (shouldWeave(name, bytes)) { info("weaving '" + name + "'"); bytes = getWovenBytes(name, bytes); } else if (shouldWeaveAnnotationStyleAsp...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
return false; } private boolean shouldWeaveName (String name) { return !((/*(name.startsWith("org.apache.bcel.")//FIXME AV why ? bcel is wrapped in org.aspectj. ||*/ name.startsWith("org.aspectj.") || name.startsWith("java.") || name.startsWith("javax.")) ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private byte[] getWovenBytes(String name, byte[] bytes) throws IOException { WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes); weaver.weave(wcp); return wcp.getBytes(); } /** * Weave a set of bytes defining a class for only what is needed to turn @AspectJ aspect * in a usef...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* classes in the library in response to a <code>findClass()</code> request. * The library is not required to be on the weavingClasspath given when this * classloader was constructed. * @param aspectLibraryJarFile a jar file representing an aspect library * @throws IOException */ private void addAspectLibrar...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
return ret; } protected boolean info (String message) { return MessageUtil.info(messageHandler,message); } protected boolean warn (String message) { return MessageUtil.warn(messageHandler,message); } protected boolean warn (String message, Throwable th) { return messageHandler.handleMessage(new ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
String className = name.replace('.', '/'); final File dir; if (className.indexOf('/') > 0) { dir = new File(dirName + File.separator + className.substring(0, className.lastIndexOf('/'))); } else { dir = new File(dirName); } dir.mkdirs(); String fileName = dirName + File.s...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
this.failKind = IMessage.ERROR; } public boolean handleMessage(IMessage message) throws AbortException { boolean result = super.handleMessage(message); if (0 <= message.getKind().compareTo(failKind)) { throw new AbortException(message); } return true; } public boolean isIgnoring (Kind kind) { ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private UnwovenClassFile unwovenClass; private List unwovenClasses = new ArrayList(); private UnwovenClassFile wovenClass; private boolean isApplyAtAspectJMungersOnly = false; public WeavingClassFileProvider (String name, byte[] bytes) { this.unwovenClass = new UnwovenClassFile(name,bytes); t...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} public IWeaveRequestor getRequestor() { return new IWeaveRequestor() { public void acceptResult(UnwovenClassFile result) { if (wovenClass == null) { wovenClass = result; String name = result.getClassName(); if (shouldDump(name.replace('/', '.'), false)) { dump(name, resul...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.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...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.WildcardType; import java.util.HashMap; import java.util.Map; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.reflect.AjType; import org.aspectj.lang.reflect.AjTypeSyst...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
ReflectionBasedReferenceTypeDelegate { private AjType<?> myType; private ResolvedType[] annotations; private ResolvedMember[] pointcuts; private ResolvedMember[] methods; private ResolvedMember[] fields; private TypeVariable[] typeVariables; private ResolvedType superclass; private ResolvedType[] superInterfa...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
super.initialize(aType, aClass, classLoader, aWorld); myType = AjTypeSystem.getAjType(aClass); annotationFinder = new Java15AnnotationFinder(); annotationFinder.setClassLoader(classLoader); this.typeConverter = new JavaLangTypeToResolvedTypeConverter(aWorld); } public ReferenceType buildGenericType() { ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
for (int i = 0; i < myAnns.length; i++) { if (myAnns[i] == toLookFor) return true; } return false; } public ResolvedMember[] getDeclaredFields() { if (fields == null) { Field[] reflectFields = this.myType.getDeclaredFields(); this.fields = new ResolvedMember[reflectFields.length]; for (int i = 0...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
return superInterfaces; } public ResolvedType getSuperclass() { if (superclass == null && getBaseClass()!=Object.class) { Type t = this.getBaseClass().getGenericSuperclass(); if (t!=null) superclass = typeConverter.fromType(t); if (t==null) superclass = getWorld().resolve(UnresolvedType.OBJECT); }...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
TypeVariableReferenceType tvrt = ((TypeVariableReferenceType) typeConverter.fromType(tVars[i])); TypeVariable tv = tvrt.getTypeVariable(); typeVariables[i].setUpperBound(tv.getUpperBound()); typeVariables[i].setAdditionalInterfaceBounds(tv.getAdditionalInterfaceBounds()); typeVariables[i].setDeclaringEl...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
/** * Returns the generic type, regardless of the resolvedType we 'know about' */ public ResolvedType getGenericResolvedType() { ResolvedType rt = getResolvedTypeX(); if (rt.isParameterizedType() || rt.isRawType()) return rt.getGenericType(); return rt; } private ResolvedMember createGenericMethodMember(...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
getGenericResolvedType(), "init", typeConverter.fromTypes(forConstructor.getParameterTypes()), typeConverter.fromTypes(forConstructor.getExceptionTypes()), forConstructor ); ret.setAnnotationFinder(this.annotationFinder); ret.setGenericSignatureInformationProvider(new Java15GenericSignatureInformatio...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
for (int i = 0; i < pcs.length; i++) { AjType<?>[] ptypes = pcs[i].getParameterTypes(); String[] pnames = pcs[i].getParameterNames(); if (pnames.length != ptypes.length) { throw new IllegalStateException("Required parameter names not available when parsing pointcut " + pcs[i].getName() + " in type " + ...
118,715
Bug 118715 Load Time Weaving wipes out Xlint files if no Xlint values
In ClassLoaderWeavingAdaptor if weaverOption.lint is null, then a loaded Xlint properties file gets overwritten by the default Xlint properties. See attached patch to fix this problem.
resolved fixed
1e1bbb3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T13:02:38Z
2005-11-30T22:33:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public boolean isAnnotationWithRuntimeRetention() { if (!isAnnotation()) return false; if (getBaseClass().isAnnotationPresent(Retention.class)) { Retention retention = (Retention) getBaseClass().getAnnotation(Retention.class); RetentionPolicy policy = retention.value(); return policy == RetentionPolicy.RUN...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.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...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
* Contributors: * Adrian Colyer Initial implementation * ******************************************************************/ package org.aspectj.internal.lang.reflect; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; im...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
import org.aspectj.lang.annotation.DeclareWarning; import org.aspectj.lang.reflect.Advice; import org.aspectj.lang.reflect.AdviceKind; import org.aspectj.lang.reflect.AjType; import org.aspectj.lang.reflect.AjTypeSystem; import org.aspectj.lang.reflect.DeclareAnnotation; import org.aspectj.lang.reflect.DeclareErrorOrWa...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
private Advice[] advice = null; private InterTypeMethodDeclaration[] declaredITDMethods = null; private InterTypeMethodDeclaration[] itdMethods = null; private InterTypeFieldDeclaration[] declaredITDFields = null; private InterTypeFieldDeclaration[] itdFields = null; private InterTypeConstructorDeclaration[] itdCo...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
/* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getModifiers() */ public int getModifiers() { return clazz.getModifiers(); } public Class<T> getJavaClass() { return clazz; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getSupertype() */ public AjType<? super T> getSupertype() { ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
* @see org.aspectj.lang.reflect.AjType#getEnclosingConstructor() */ public Constructor getEnclosingConstructor() { return clazz.getEnclosingConstructor(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getEnclosingType() */ public AjType<?> getEnclosingType() { Class<?> enc = clazz.getEnclosing...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return new PointcutBasedPerClauseImpl(PerClauseKind.PERTHIS,perClause.substring("perthis(".length(),perClause.length() - 1)); } else if (perClause.startsWith("pertarget(")) { return new PointcutBasedPerClauseImpl(PerClauseKind.PERTARGET,perClause.substring("pertarget(".length(),perClause.length() - 1)); }...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return clazz.getAnnotations(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredAnnotations() */ public Annotation[] getDeclaredAnnotations() { return clazz.getDeclaredAnnotations(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getAspects() */ public AjType<?>[] getAjTyp...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
*/ public Constructor[] getConstructors() { return clazz.getConstructors(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredConstructor(java.lang.Class...) */ public Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException { return clazz.getDeclaredCo...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Field field : fields) if (!field.getName().startsWith(ajcMagic) && !field.isAnnotationPresent(DeclareWarning.class) && !field.isAnnotationPresent(DeclareError.class)) { filteredFields.add(field); } Field[] ret = new Field[filteredFields.size()]; filteredFields.toArray(ret); return ret; }...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
Field[] ret = new Field[filteredFields.size()]; filteredFields.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredMethod(java.lang.String, java.lang.Class...) */ public Method getDeclaredMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
filteredMethods.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getMethods() */ public Method[] getMethods() { Method[] methods = clazz.getMethods(); List<Method> filteredMethods = new ArrayList<Method>(); for (Method method : methods) { if (isReallyAMethod(method))...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
public Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException { Pointcut[] pcs = getDeclaredPointcuts(); for (Pointcut pc : pcs) if (pc.getName().equals(name)) return pc; throw new NoSuchPointcutException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getPointcut(java.la...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getPointcuts() */ public Pointcut[] getPointcuts() { if (pointcuts != null) return pointcuts; List<Pointcut> pcuts = new ArrayList<Pointcut>(); Method[] methods = clazz.getMethods(); for (Method method : methods) { Pointcut pc = asPointcut(metho...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return null; } } public Advice[] getDeclaredAdvice(AdviceKind... ofType) { Set<AdviceKind> types; if (ofType.length == 0) { types = EnumSet.allOf(AdviceKind.class); } else { types = EnumSet.noneOf(AdviceKind.class); types.addAll(Arrays.asList(ofType)); } return getDeclaredAdvice(types); } ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (declaredAdvice == null) initDeclaredAdvice(); List<Advice> adviceList = new ArrayList<Advice>(); for (Advice a : declaredAdvice) { if (ofAdviceTypes.contains(a.getKind())) adviceList.add(a); } Advice[] ret = new Advice[adviceList.size()]; adviceList.toArray(ret); return ret; } private void initDecl...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return ret; } private void initAdvice() { Method[] methods = clazz.getMethods(); List<Advice> adviceList = new ArrayList<Advice>(); for (Method method : methods) { Advice advice = asAdvice(method); if (advice != null) adviceList.add(advice); } advice = new Advice[adviceList.size()]; adviceList.toArr...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
private Advice asAdvice(Method method) { if (method.getAnnotations().length == 0) return null; Before beforeAnn = method.getAnnotation(Before.class); if (beforeAnn != null) return new AdviceImpl(method,beforeAnn.value(),AdviceKind.BEFORE); After afterAnn = method.getAnnotation(After.class); if (afterAnn != nu...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
try { if (!itdm.getName().equals(name)) continue; AjType<?> itdTarget = itdm.getTargetType(); if (itdTarget.equals(target)) { AjType<?>[] ptypes = itdm.getParameterTypes(); if (ptypes.length == parameterTypes.length) { for (int i = 0; i < ptypes.length; i++) { if (!ptypes[i].equals(pa...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
InterTypeMethodDeclaration itdm = new InterTypeMethodDeclarationImpl( this,ann.targetType(),ann.modifiers(), ann.name(),m); itdms.add(itdm); } } addAnnotationStyleITDMethods(itdms,false); this.declaredITDMethods = new InterTypeMethodDeclaration[itdms.size()]; itdms.toArra...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} return itdm; } } } catch (ClassNotFoundException cnf) { } } throw new NoSuchMethodException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDMethods() */ public InterTypeMethodDeclaration[] getITDMethods() { if (this.itdMethods == null) { List<InterTypeM...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
this.itdMethods = new InterTypeMethodDeclaration[itdms.size()]; itdms.toArray(this.itdMethods); } return this.itdMethods; } private void addAnnotationStyleITDMethods(List<InterTypeMethodDeclaration> toList, boolean publicOnly) { if (isAspect()) { for (Field f : clazz.getDeclaredFields()) { ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
*/ public InterTypeConstructorDeclaration getDeclaredITDConstructor( AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException { InterTypeConstructorDeclaration[] itdcs = getDeclaredITDConstructors(); outer: for (InterTypeConstructorDeclaration itdc : itdcs) { try { AjType<?> itdTarget ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Method m : baseMethods) { if (!m.getName().contains("ajc$postInterConstructor")) continue; if (m.isAnnotationPresent(ajcITD.class)) { ajcITD ann = m.getAnnotation(ajcITD.class); InterTypeConstructorDeclaration itdc = new InterTypeConstructorDeclarationImpl(this,ann.targetType(),ann.modifie...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return itdc; } } } catch (ClassNotFoundException cnf) { } } throw new NoSuchMethodException(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDConstructors() */ public InterTypeConstructorDeclaration[] getITDConstructors() { if (this.itdCons == null) { List<InterTypeC...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
/* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredITDField(java.lang.String, java.lang.Class) */ public InterTypeFieldDeclaration getDeclaredITDField(String name, AjType<?> target) throws NoSuchFieldException { InterTypeFieldDeclaration[] itdfs = getDeclaredITDFields(); for (InterTypeFieldD...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
String interFieldGetDispatchMethodName = interFieldInitMethodName.replace("FieldInit","FieldGetDispatch"); try { Method dispatch = clazz.getDeclaredMethod(interFieldGetDispatchMethodName, m.getParameterTypes()); InterTypeFieldDeclaration itdf = new InterTypeFieldDeclarationImpl( this,ann...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (itdTarget.equals(target)) return itdf; } catch (ClassNotFoundException cnfEx) { } } } throw new NoSuchFieldException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDFields() */ public InterTypeFieldDeclaration[] getITDFields() { List<InterTypeFieldDeclaratio...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} catch (NoSuchMethodException nsmEx) { throw new IllegalStateException("Can't find field get dispatch method for " + m.getName()); } } } addAnnotationStyleITDFields(itdfs, true); this.itdFields = new InterTypeFieldDeclaration[itdfs.size()]; itdfs.toArray(this.itdFields); } return this.it...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
deows.add(deow); } } } catch (IllegalArgumentException e) { } catch (IllegalAccessException e) { } } for (Method method : clazz.getDeclaredMethods()) { if (method.isAnnotationPresent(ajcDeclareEoW.class)) { ajcDeclareEoW deowAnn = method.getAnnotation(ajcDeclareEoW.class); ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
decPAnn.parentTypes(), decPAnn.isExtends(), this ); decps.add(decp); } } addAnnotationStyleDeclareParents(decps); if (getSupertype().isAspect()) { decps.addAll(Arrays.asList(getSupertype().getDeclareParents())); } DeclareParents[] ret = new DeclareParents[decps.size()]; decps.toA...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (f.isAnnotationPresent(org.aspectj.lang.annotation.DeclareParents.class) && Modifier.isStatic(f.getModifiers()) && Modifier.isPublic(f.getModifiers())) { if (!f.getType().isInterface()) continue; org.aspectj.lang.annotation.DeclareParents ann = f.getAnn...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} } if (getSupertype().isAspect()) { decs.addAll(Arrays.asList(getSupertype().getDeclareSofts())); } DeclareSoft[] ret = new DeclareSoft[decs.size()]; decs.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclareAnnotations() */ public DeclareAnnotation[] getD...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
decAnn.pattern(), targetAnnotation, decAnn.annotation() ); decAs.add(da); } } if (getSupertype().isAspect()) { decAs.addAll(Arrays.asList(getSupertype().getDeclareAnnotations())); } DeclareAnnotation[] ret = new DeclareAnnotation[decAs.size()]; decAs.toArray(ret); return ret; } ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Method method : clazz.getDeclaredMethods()) { if (method.isAnnotationPresent(ajcDeclarePrecedence.class)) { ajcDeclarePrecedence decPAnn = method.getAnnotation(ajcDeclarePrecedence.class); DeclarePrecedenceImpl decp = new DeclarePrecedenceImpl( decPAnn.value(), this ); decps.add(de...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isEnum() */ public boolean isEnum() { return clazz.isEnum(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isInstance(java.lang.Object) */ public boolean isInstance(Object o) { return clazz.isInstance(o); } /* (non-Javadoc) * @se...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isArray() */ public boolean isArray() { return clazz.isArray(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isPrimitive() */ public boolean isPrimitive() { return clazz.isPrimitive(); } /* (non-Javadoc) * @see org.aspectj.lang....
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
public boolean equals(Object obj) { if (!(obj instanceof AjTypeImpl)) return false; AjTypeImpl other = (AjTypeImpl) obj; return other.clazz.equals(clazz); } @Override public int hashCode() { return clazz.hashCode(); } private AjType<?>[] toAjTypeArray(Class<?>[] classes) { AjType<?>[] ajtypes = new A...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.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...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
private AjType<String> stringType; @Override protected void setUp() throws Exception { super.setUp(); stringType = AjTypeSystem.getAjType(String.class); }
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
public void testCreateAjType() { assertNotNull("should find type",stringType); } public void testGetName() { assertEquals(String.class.getName(),stringType.getName()); } public void testGetPackage() { assertEquals(String.class.getPackage(),stringType.getPackage()); } public void testGetInterfaces() { ...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
Type t = AjTypeSystem.getAjType(Goo.class).getGenericSupertype(); assertEquals(Foo.class,t); } public void testGetEnclosingMethod() { new Goo().foo(); } public void testGetEnclosingConstructor() { new Goo(); } public void testGetEnclosingType() { AjType t = AjTypeSystem.getAjType(Foo.Z.class); assert...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
assertNotNull(foo.getAnnotation(SomeAnn.class)); assertNull(goo.getAnnotation(SomeAnn.class)); } public void testGetAnnotations() { AjType<Foo> foo = AjTypeSystem.getAjType(Foo.class); AjType<Goo> goo = AjTypeSystem.getAjType(Goo.class); assertEquals(1,foo.getAnnotations().length); assertEquals(0,goo.getAnn...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
assertTrue(s.indexOf(" org.aspectj.internal.lang.reflect.Foo$XX") >= 0); } public void testGetConstructor() throws Exception { Constructor c1 = String.class.getConstructor(String.class); Constructor c2 = stringType.getConstructor(stringType); assertEquals(c1,c2); } public void testGetConstructors() { Co...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
public void testGetDeclaredField() throws Exception { Field f1 = String.class.getDeclaredField("value"); Field f2 = stringType.getDeclaredField("value"); assertEquals(f1,f2); } public void testGetDeclaredFields() { Field[] f1 = String.class.getDeclaredFields(); Field[] f2 = stringType.getDeclaredFields();...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
Method m2 = stringType.getDeclaredMethod("toUpperCase"); assertEquals(m1,m2); } public void testGetMethod() throws Exception { Method m1 = String.class.getMethod("toUpperCase"); Method m2 = stringType.getMethod("toUpperCase"); assertEquals(m1,m2); } public void testGetDeclaredMethods() { Method[] m1...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
public void testGetTypeParameters() { AjType<Foo> foo = AjTypeSystem.getAjType(Foo.class); TypeVariable<Class<Foo>>[] tvs = foo.getTypeParameters(); assertEquals(1,tvs.length); assertEquals("T",tvs[0].getName()); } public void testIsEnum() { assertFalse(stringType.isEnum()); } public void testIsInstan...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
public void testIsPrimitive() { assertFalse(stringType.isPrimitive()); assertTrue(AjTypeSystem.getAjType(boolean.class).isPrimitive()); } public void testIsAspect() { assertFalse(stringType.isAspect()); } public void testIsMemberAspect() { assertFalse(stringType.isMemberAspect()); } public void test...
119,352
Bug 119352 AjType.getSupertype breaks for null
I ran into this while using reflection proxies with LTW... See attached patches for these test cases and my fix: public void testObjectSupertype() { AjType<?> objectSuper = AjTypeSystem.getAjType(Object.class).getSupertype(); assertNull(objectSuper); } public void testInterfaceSupertype() { AjType<?> serializableSuper ...
resolved fixed
6e8bf52
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-06T15:39:08Z
2005-12-06T03:33:20Z
aspectj5rt/java5-testsrc/org/aspectj/internal/lang/reflect/AjTypeTests.java
class Foo<T> { public Foo() { class Y { int y; } AjType t = AjTypeSystem.getAjType(Y.class); Constructor c = t.getEnclosingConstructor(); if (!c.getName().equals("org.aspectj.internal.lang.reflect.Foo")) throw new RuntimeException("should have been Foo"); } public void foo() { class X { int x; } AjType...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13: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://ww...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
import org.aspectj.testing.XMLBasedAjcTestCase; import org.aspectj.util.LangUtil; public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc150Tests.class); } protected File getSpecFile() { return new File("../tests/...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPossibleStaticImports_pr113066_2() { runTest("possible static imports bug - 2");} public void testPossibleStaticImports_pr113066_3() { runTest("possible static imports bug - 3");} public void testITDCtor_pr112783() { runTest("Problem with constructor ITDs");} public void testAnnota...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testFieldGetProblemWithGenericField_pr113861() {runTest("field-get problems with generic field");} public void testAccesstoPrivateITDInNested_pr118698() { runTest("access to private ITD from nested type");} public void testDeclareAnnotationOnNonExistentType_pr99191_1() { runTest("declare annotation on n...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void test_ambiguousBindingsDetection() { runTest("Various kinds of ambiguous bindings"); } public void test_ambiguousArgsDetection() { runTest("ambiguous args"); } public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() { runTest("Injecting exception into while loop with break s...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCanOverrideProtectedMethodsViaITDandDecp_pr83303() { runTest("compiler error when mixing inheritance, overriding and polymorphism"); } public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");} public void testPerTypeWithinMissesNamedI...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
String tree = baos.toString(); assertTrue("Expected 'Red [enumvalue]' somewhere in here:"+tree,tree.indexOf("Red [enumvalue]")!=-1); } } public void npeOnTypeNotFound() { runTest("structure model npe on type not found"); } public void testNoRuntimeExceptionSoftening() { runTest("declare soft ...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("introduction sample"); } public void testPTWInterface() { runTest("pertypewithin({interface}) illegal field modifier"); } public void testEnumCalledEnumEtc() { runTest("enum called Enum, annotation called Annotation, etc"); } public void testInternalCompilerError_pr86832() { runTe...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testGenerics_pr95993() {runTest("NPE at ClassScope.java:660 when compiling generic class");} public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");} public void testItdGenerics_pr98320() {runTest("intertype with nested generic type");} public void testItdGenerics_p...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIntermediateAnnotationMatching() { runTest("intermediate annotation matching"); } public void testBadRuntimeTestGeneration() { runTest("target(@Foo *)"); } public void testErrorMessageOnITDWithTypePatterns() { runTest("clear error message on itd with type pattern"); } publi...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("overriding final pointcut from super-aspect"); } public void testAtSuppressWarnings() { runTest("@SuppressWarnings should suppress"); } public void testDEOWWithBindingPointcut() { runTest("declare warning : foo(str) : ...;"); } public void testAroundAdviceAndInterfaceInitializer() { ...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989() { runTest("Compiler error due to a wrong exception check in try blocks"); } public void testAnonymousInnerClassWithMethodReturningTypeParameter_pr107898() { runTest("anonymous inner class with method returning type parameter"); } ...
109,614
Bug 109614 [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList
null
resolved fixed
94159f9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-08T11:43:16Z
2005-09-15T13:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testParameterizedVarArgsMatch() { runTest("varargs with type variable"); } public void testFieldAccessInsideITDM() { runTest("itd field access inside itd method"); } public void testTypeVarWithTypeVarBound() { runTest("type variable with type variable bound"); } public void...