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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | for (Iterator iterator1 = definition.getAspectIncludePatterns().iterator(); iterator1.hasNext();) {
String include = (String) iterator1.next();
TypePattern includePattern = new PatternParser(include).parseTypePattern();
m_aspectIncludeTypePattern.add(includePattern);
... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | Definition definition = (Definition) iterator.next();
for (Iterator aspects = definition.getAspectClassNames().iterator(); aspects.hasNext();) {
String aspectClassName = (String) aspects.next();
if (acceptAspect(aspectClassName)) {
info("register aspect " + a... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | this.generatedClassHandler.acceptClass(
concreteAspect.name,
gen.getBytes()
);
weaver.addLibraryAspect(concreteAspect.name);
if(namespace==null){
namespace=new St... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | m_includeTypePattern.add(includePattern);
fastMatchInfo = looksLikeStartsWith(include);
if (fastMatchInfo != null) {
m_includeStartsWith.add(fastMatchInfo);
}
}
for (Iterator iterator1 = definition.getExcludePatterns().iterator(... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | || typePattern.charAt(typePattern.length()-1) != '*') {
return null;
}
int length = typePattern.length();
if (typePattern.endsWith("..*") && length > 3) {
if (typePattern.indexOf("..") == length-3
&& typePattern.indexOf('*') == ... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
if (definition.shouldDumpBefore()) {
m_dumpBefore = true;
}
}
}
protected boolean accept(String className, byte[] bytes) {
if (m_excludeTypePattern.isEmpty() && m_includeTypePattern.isEmpty()) {
return true;
}
S... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
}
}
BcelObjectType bct = ((BcelWorld)weaver.getWorld()).addSourceObjectType(Utility.makeJavaClass(null, bytes));
ResolvedType classInfo = bct.getResolvedTypeX();
for (Iterator iterator = m_excl... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
return accept;
}
private boolean acceptAspect(String aspectClassName) {
if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) {
return true;
}
String fastClassName = aspectClassName.replace('/', '.').r... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | return false;
}
}
boolean accept = true;
for (Iterator iterator = m_aspectIncludeTypePattern.iterator(); iterator.hasNext();) {
TypePattern typePattern = (TypePattern) iterator.next();
accept = typePattern.matchesStatically(classInfo);
if ... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | TypePattern typePattern = (TypePattern) iterator.next();
if (typePattern.matchesStatically(classInfo)) {
return true;
}
}
return false;
}
/*
* shared classes methods
*/
/**
* @return Returns the key.
*/
public String ge... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | * Flush the generated classes cache
*/
public void flushGeneratedClasses(){
generatedClasses = new HashMap();
}
private void defineClass(ClassLoader loader, String name, byte[] bytes) {
info("generating class '" + name + "'");
try {
Method defineClass = ClassLoader.class.getDeclaredMeth... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* 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
* http://w... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testNoUnnecessaryDeclarationOfThrownExcp_pr129282_1() {runTest("no unnecessary declaration of thrown exception warning - 1");}
public void testNoUnnecessaryDeclarationOfThrownExcp_pr129282_2() {runTest("no unnecessary declaration of thrown exception warning - 2");}
public void testNoUnnecessaryDeclarati... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testItdOnInnerTypeOfGenericType_pr132349_3() { runTest("ITD on inner type of generic type - 3");}
public void testLTWGeneratedAspectAbstractMethod_pr125480() { runTest("aop.xml aspect inheriting abstract method ");}
public void testLTWGeneratedAspectAbstractMethod_pr125480_2() { runTest("aop.xml aspect... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testIncorrectOverridesEvaluation15() { runTest("incorrect overrides evaluation - 1.5"); }
public void testAtWithinCodeBug_pr138798() { runTest("atWithinCodeBug"); }
public void testReferencePCutInDeclareWarning_pr138215() { runTest("Reference pointcut fails inside @DeclareWarning");}
public void testR... |
120,739 | Bug 120739 LTW Optimization: Disable World if it has No Aspects | This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions. | resolved fixed | 4513e92 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-01T16:30:21Z | 2005-12-13T21:40:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | matches = AsmManager.getDefault().getRelationshipMap().get(method);
assertNotNull("'debit(java.lang.String,long)' should have some relationships but does not",matches);
assertTrue("'debit(java.lang.String,long)' should have one relationships but has " + matches.size(),matches.size()==1);
matchesTargets ... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/NullIdeProperties.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/NullIdeProperties.java | private String testProjectPath = "";
private List buildConfigFiles = new ArrayList();
private Set inJars;
private Set inpath;
private Set sourceRoots;
private Set aspectPath;
private String outJar;
private String outputPath = "bin";
public NullIdeProperties(String testProjectPath) {
this.testProjectPath = tes... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/NullIdeProperties.java | public String getProjectName() {
return "test";
}
public String getRootProjectDir() {
return testProjectPath;
}
public List getProjectSourceFiles() {
return null;
}
public String getProjectSourcePath() {
return testProjectPath + "/src";
}
public String getClasspath... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/NullIdeProperties.java | return testProjectPath + "/ajworkingdir";
}
public String getBootClasspath() {
return null;
}
public String getClassToExecute() {
return "figures.Main";
}
public String getExecutionArgs() {
return null;
}
public String getVmArgs() {
return null;
}
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/NullIdeProperties.java | File srcBase = new File(getProjectSourcePath());
File[] fromResources = FileUtil.listFiles(srcBase, new FileFilter() {
public boolean accept(File pathname) {
String name = pathname.getName().toLowerCase();
return !name.endsWith(".class") && !name.endsWith(".java") && !name.endsWith(".aj");
}
});
Map... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/OutxmlTest.java | /* *******************************************************************
* Copyright (c) 2003 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... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/OutxmlTest.java | public static final String PROJECT_DIR = "OutxmlTest";
public static final String BIN_DIR = "bin";
public static final String OUTJAR_NAME = "/bin/test.jar";
public static final String DEFAULT_AOPXML_NAME = "META-INF/aop.xml";
public static final String CUSTOM_AOPXML_NAME = "custom/aop.xml";
/*
* Ensure the ou... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/OutxmlTest.java | assertTrue("Build warnings",ideManager.getCompilationSourceLineTasks().isEmpty());
File aopxml = openFile(BIN_DIR + "/" + DEFAULT_AOPXML_NAME);
assertTrue(DEFAULT_AOPXML_NAME + " missing",aopxml.exists());
}
/**
* Aim: Test "-outxmlfile filename" option produces the correct
* xml file
*
*/
public vo... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | ajde/testsrc/org/aspectj/ajde/OutxmlTest.java | assertJarContainsEntry(outjar,DEFAULT_AOPXML_NAME);
}
/**
* Aim: Test "-outxmlfile filename" option produces the correct
* xml entry in outjar file
*
*/
public void testOutxmlfileToOutjar () {
File outjar = openFile(OUTJAR_NAME);
ideManager.getProjectProperties().setOutJar(outjar.getAbsolutePath());
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | import java.util.Map;
import java.util.jar.Attributes;
import java.util.jar.JarFile;
import java.util.jar.JarInputStream;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
import org.aspectj.ajdt.internal.compiler.AjCompilerAdapter;
import org.aspectj.ajdt.internal.comp... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | import org.aspectj.bridge.SourceLocation;
import org.aspectj.bridge.Version;
import org.aspectj.bridge.context.CompilationAndWeavingContext;
import org.aspectj.bridge.context.ContextFormatter;
import org.aspectj.bridge.context.ContextToken;
import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation;
import org.aspe... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | private static final String CROSSREFS_FILE_NAME = "build.lst";
private static final String CANT_WRITE_RESULT = "unable to write compilation result";
private static final String MANIFEST_NAME = "META-INF/MANIFEST.MF";
static final boolean COPY_INPATH_DIR_RESOURCES = false;
static final boolean FAIL_IF_RUNTIME_NOT... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | private boolean environmentSupportsIncrementalCompilation = false;
private int compiledCount;
private int sourceFileCount;
private JarOutputStream zos;
private boolean batchCompile = true;
private INameEnvironment environment;
private Map binarySourcesForTheNextCompile = new HashMap();
private IHierarchy ... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public boolean doGenerateModel() {
return buildConfig.isGenerateModelMode();
}
public boolean batchBuild(
AjBuildConfig buildConfig,
IMessageHandler baseHandler)
throws IOException, AbortException {
return doBuild(buildConfig, baseHandler, true);
}
public boolean i... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | try {
if (batch) {
this.state = new AjState(this);
}
this.state.setCouldBeSubsequentIncrementalBuild(this.environmentSupportsIncrementalCompilation);
boolean canIncremental = state.prepareForNextBuild(buildConfig);
if (!canIncremental && !... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | setupModel(buildConfig);
}
if (batch) {
initBcelWorld(handler);
}
if (handler.hasErrors()) {
CompilationAndWeavingContext.leavingPhase(ct);
return false;
}
if (buildConfig.getOutputJar() ... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
if (AsmManager.isReporting())
AsmManager.getDefault().reportModelInfo("After a batch build");
} else {
binarySourcesForTheNextCompile = state.getBinaryFilesToCompile(true);
List files = state.getFilesToCompile(true);
if (buildConfig.is... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | binarySourcesForTheNextCompile = state.getBinaryFilesToCompile(false);
files = state.getFilesToCompile(false);
hereWeGoAgain = !(files.isEmpty() && binarySourcesForTheNextCompile.isEmpty());
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | + File.separator
+ CROSSREFS_FILE_NAME;
AsmManager.getDefault().writeStructureModel(configFileProxy);
}
state.successfulCompile(buildConfig,batch);
copyResourcesToDestination();
if (buildConfig.getOutxmlN... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (getBcelWorld()!=null) getBcelWorld().tidyUp();
getWeaver().tidyUp();
}
return ret;
}
private String stringifyList(List l) {
if (l==null) return "";
StringBuffer sb = new StringBuffer();
sb.append("{");
for (Iterator iter =... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | new SourceLocation(outJar,0),
true);
handler.handleMessage(message);
return false;
}
return true;
}
private void closeOutputStream(File outJar) {
try {
if (zos != null) zos.close();
zos = null;
if (handler.hasErrors()) {
outJar.delete();
}
} catch (IOException ex) {
IM... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | for (Iterator i = buildConfig.getInJars().iterator(); i.hasNext(); ) {
File inJar = (File)i.next();
copyResourcesFromJarFile(inJar);
}
for (Iterator i = buildConfig.getInpath().iterator(); i.hasNext(); ) {
File inPathElement = (File)i.next();
if (inPathElement.isDirectory()) {
copyResourcesFr... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | ZipEntry entry = inStream.getNextEntry();
if (entry == null) break;
String filename = entry.getName();
if (!entry.isDirectory() && acceptResource(filename)) {
byte[] bytes = FileUtil.readAsByteArray(inStream);
writeResource(filename,bytes,jarFile);
}
inStream.closeEntry();
}
}... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | String filename = files[i].getAbsolutePath().substring(
dir.getAbsolutePath().length()+1);
copyResourcesFromFile(files[i],filename,dir);
}
}
private void copyResourcesFromFile(File f,String filename,File src) throws IOException {
if (!acceptResource(filename)) return;
FileInputStre... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (zos != null) {
ZipEntry newEntry = new ZipEntry(filename);
zos.putNextEntry(newEntry);
zos.write(content);
zos.closeEntry();
} else {
File destDir = buildConfig.getOutputDir();
if (buildConfig.getCompilationResultDestinationManager() != null) {
destDir = buildConfig.getCompilationResul... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | */
private void writeManifest () throws IOException {
Manifest manifest = getWeaver().getManifest(false);
if (manifest != null && zos == null) {
OutputStream fos =
FileUtil.makeOutputStream(new File(buildConfig.getOutputDir(),MANIFEST_NAME));
manifest.write(fos);
fos.close();
}
}
private boo... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | ByteArrayOutputStream baos = new ByteArrayOutputStream();
PrintStream ps = new PrintStream(baos);
ps.println("<aspectj>");
ps.println("<aspects>");
if (state.getAspectNames() != null) {
for (Iterator i = state.getAspectNames().iterator(); i.hasNext();) {
String name = (String)i.next();
ps.println("<a... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
/**
* Responsible for managing the ASM model between builds. Contains the policy for
* maintaining the persistance of elements in the model.
*
* This code is driven before each 'fresh' (batch) build to create
* a new model.
*/
private void setupModel(AjBuildConfig config) ... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | state.setRelationshipMap(AsmManager.getDefault().getRelationshipMap());
}
private void initBcelWorld(IMessageHandler handler) throws IOException {
List cp = buildConfig.getBootclasspath();
cp.addAll(buildConfig.getClasspath());
BcelWorld bcelWorld = new BcelWorld(cp, handler, null);
bce... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | } else {
bcelWeaver.addLibraryJarFile(f);
}
}
if (buildConfig.getLintMode().equals(AjBuildConfig.AJLINT_DEFAULT)) {
bcelWorld.getLint().loadDefaultProperties();
} else {
bcelWorld.getLint().setAll(buildConfig.getLintMode());
}
if (buildConfig.getLintSpecFile() != null) {
bcelWorld.get... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | } else {
File[] binSrcs = FileUtil.listFiles(inPathElement, binarySourceFilter);
for (int j = 0; j < binSrcs.length; j++) {
UnwovenClassFile ucf =
bcelWeaver.addClassFile(binSrcs[j], inPathElement, buildConfig.getOutputDir());
List ucfl = new ArrayList();
ucfl.add(ucf);
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | void addAspectClassFilesToWeaver(List addedClassFiles) throws IOException {
for (Iterator i = addedClassFiles.iterator(); i.hasNext(); ) {
UnwovenClassFile classFile = (UnwovenClassFile) i.next();
getWeaver().addClassFile(classFile);
}
}
}
}
public FileSystem getLibraryAccess(String[] classpaths, Strin... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public CompilationUnit[] getCompilationUnits(String[] filenames, String[] encodings) {
int fileCount = filenames.length;
CompilationUnit[] units = new CompilationUnit[fileCount];
String defaultEncoding = buildConfig.getOptions().defaultEncoding;
if ("".equals(defaultEncoding))
defaultEncoding = null;
for... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (progressListener != null) {
compiledCount=0;
sourceFileCount = files.size();
progressListener.setText("compiling source files");
}
String[] filenames = new String[files.size()];
String[] encodings = new String[files.size()];
for (int i=0; i < files.size(); i++) {
filenames[i] = ((File)file... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | DefaultErrorHandlingPolicies.proceedWithAllProblems(),
buildConfig.getOptions().getMap(),
getBatchRequestor(),
getProblemFactory());
CompilerOptions options = compiler.options;
options.produceReferenceInfo = true;
try {
compiler.compile(getCompilationUnits(filenames, encodings));
} ... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | state.noteResult(result);
if (progressListener!=null && progressListener.isCancelledRequested()) {
throw new AbortCompilation(true,
new OperationCanceledException("Compilation cancelled as requested"));
}
}
};
}
public ICompilerRequestor getBatchRequestor() {
return new ICompilerReq... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (shouldAddAspectName) addAspectName(classname);
} catch (IOException ex) {
IMessage message = EclipseAdapterUtils.makeErrorMessage(
new String(unitResult.fileName),
CANT_WRITE_RESULT,
ex);
handler.handleMessage(message);
}
}
}
if (unitResult.hasP... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
String outFile;
if (destinationPath == null) {
outFile = new File(filename).getName();
outFile = new File(extractDestinationPathFromSourceFile(unitResult), outFile).getPath();
} else {
outFile = new File(destinationPath, filename).getPath();
}
BufferedOutputStream os =
FileUtil... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
if (!state.getAspectNames().contains(name)) {
state.getAspectNames().add(name);
}
}
}
};
}
protected boolean proceedOnError() {
return buildConfig.getProceedOnError();
}
}
}
private void setBuildConfig(AjBuildConfig buildConfig) {
this.buildConfig = buildConfig;
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | for (Iterator it = buildConfig.getFullClasspath().iterator(); it.hasNext(); ) {
if (first) { first = false; }
else { buf.append(File.pathSeparator); }
buf.append(it.next().toString());
}
return buf.toString();
}
/**
* This will return null if aspectjrt.jar is present and has the correct version.
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (manifest == null) {
ret = "no manifest found in " + p.getAbsolutePath() +
", expected " + Version.text;
continue;
}
Attributes attr = manifest.getAttributes("org/aspectj/lang/");
if (null != attr) {
... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (ret != null) return ret;
return "couldn't find aspectjrt.jar on classpath, checked: " + makeClasspathString(buildConfig);
}
public String toString() {
StringBuffer buf = new StringBuffer();
buf.append("AjBuildManager(");
buf.append(")");
return buf.toString();
}
public void setStructureModel(IHi... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | * @see org.aspectj.ajdt.internal.compiler.AjCompiler.IOutputClassFileNameProvider#getOutputClassFileName(char[])
*/
public String getOutputClassFileName(char[] eclipseClassFileName, CompilationResult result) {
String filename = new String(eclipseClassFileName);
filename = filename.replace('/', File.separatorChar... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | le.factory = factory;
pr.factory = factory;
forCompiler.lookupEnvironment = le;
forCompiler.parser =
new Parser(
pr,
forCompiler.options.parseLiteralExpressionsAsConstants);
return new AjCompilerAdapter(forCompiler,batchCompile,getBcelWorld(),getWeaver(),
factory,
getInterimResu... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | IMessage.Kind swallowedExceptionKind = world.getLint().swallowedExceptionInCatchBlock.getKind();
Map optionsMap = new HashMap();
optionsMap.put(CompilerOptions.OPTION_ReportSwallowedExceptionInCatchBlock,
swallowedExceptionKind == null ? "ignore" : swallowedExceptionKind.toString());
forCompiler.optio... |
132,591 | Bug 132591 Duplicate exception with aop.xml file on aspectpath | null | resolved fixed | 319a0d1 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-02T12:47:08Z | 2006-03-20T21:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public String formatEntry(int phaseId, Object data) {
StringBuffer sb = new StringBuffer();
if (phaseId == CompilationAndWeavingContext.BATCH_BUILD) {
sb.append("batch building ");
} else {
sb.append("incrementally building ");
}
AjBuildConfig config = (AjBuildConfig) data;
List classpath = co... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | private static boolean useCache = true;
int modifiers = -1;
String name;
String declaringTypeName;
Class declaringType;
Cache stringCache;
SignatureImpl(int modifiers, String name, Class declaringType) {
this.modifiers = modifiers;
this.name = name;
this.declaringT... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | useCache = false;
}
} else {
result = stringCache.get(sm.cacheOffset);
}
}
if (result == null) {
result = createToString(sm);
}
if (useCache) {
stringCache.set(sm.cacheOffset, result);
}
return result;
}
public final String toString() { return toString(StringMaker.middleStringM... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | public String getDeclaringTypeName() {
if (declaringTypeName == null) {
declaringTypeName = getDeclaringType().getName();
}
return declaringTypeName;
}
String fullTypeName(Class type) {
if (type == null) return "ANONYMOUS";
if (type.isArray()) return fullTypeName(type.g... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | }
void addShortTypeNames(StringBuffer buf, Class[] types) {
for (int i = 0; i < types.length; i++) {
if (i > 0) buf.append(", ");
buf.append(shortTypeName(types[i]));
}
}
void addTypeArray(StringBuffer buf, Class[] types) {
addFullTypeNames(buf, types... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | String extractString(int n) {
int startIndex = 0;
int endIndex = stringRep.indexOf(SEP);
while (n-- > 0) {
startIndex = endIndex+1;
endIndex = stringRep.indexOf(SEP, startIndex);
}
if (endIndex == -1) endIndex = stringRep.length()... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | static Class[] EMPTY_CLASS_ARRAY = new Class[0];
static final String INNER_SEP = ":";
String[] extractStrings(int n) {
String s = extractString(n);
StringTokenizer st = new StringTokenizer(s, INNER_SEP);
final int N = st.countTokens();
String[] ret = new String[N];
... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java | String get(int cacheOffset);
void set(int cacheOffset, String result);
}
private static final class CacheImpl implements Cache {
private java.lang.ref.SoftReference toStringCacheRef;
public CacheImpl() {
toStringCacheRef = new java.lang.ref.SoftReference(new String[3]);
}
public String get(... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/testsrc/org/aspectj/runtime/reflect/JoinPointImplTest.java | /*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is ... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/testsrc/org/aspectj/runtime/reflect/JoinPointImplTest.java | public void testGetArgs() {
String arg1 = "abc";
StringBuffer arg2 = new StringBuffer("def");
Object arg3 = new Object();
Object[] args = new Object[] { arg1, arg2, arg3 };
JoinPointImpl jpi = new JoinPointImpl(null,null,null,args);
Object[] retrievedArgs = jpi.getArgs();
assertEquals("First a... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/testsrc/org/aspectj/runtime/reflect/SignatureTest.java | /*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is ... |
145,086 | Bug 145086 NPE when weak reference set in signature | Simon ran into the same problem in setting the values. I will attach a patch to fix this, with test cases to properly verify it works in both cases. java.lang.NullPointerException at org.aspectj.runtime.reflect.SignatureImpl$CacheImpl.set(SignatureImpl.java:224) at org.aspectj.runtime.reflect.SignatureImpl.toString(Sig... | resolved fixed | f821ca3 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-03T08:27:06Z | 2006-06-02T14:53:20Z | runtime/testsrc/org/aspectj/runtime/reflect/SignatureTest.java | public void testGetDeclaringTypeName() {
FieldSignatureImpl fsi = new FieldSignatureImpl(0,"x",SignatureTest.class,String.class);
assertEquals(SignatureTest.class.getName(),fsi.getDeclaringTypeName());
assertSame(fsi.getDeclaringTypeName(),fsi.getDeclaringTypeName());
}
public void testToShortMiddleLongStrin... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.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... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | protected ReflectionWorld world;
private ResolvedType objectType;
private ResolvedType classType;
public void testIsAspect() {
assertFalse(objectType.isAspect());
}
public void testIsAnnotationStyleAspect() {
assertFalse(objectType.isAnnotationStyleAspect());
}
public void testIsInterface() {
assertF... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | public void testIsAnnotation() {
assertFalse(objectType.isAnnotation());
}
public void testIsAnnotationWithRuntimeRetention() {
assertFalse(objectType.isAnnotationWithRuntimeRetention());
}
public void testIsClass() {
assertTrue(objectType.isClass());
assertFalse(world.resolve("java.io.Serializable").is... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | public void testGetAnnotationTypes() {
assertEquals("no entries",0,objectType.getAnnotationTypes().length);
}
public void testGetTypeVariables() {
assertEquals("no entries",0,objectType.getTypeVariables().length);
}
public void testGetPerClause() {
assertNull(objectType.getPerClause());
}
public void ... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | }
protected int findMethod(String name, int numArgs, ResolvedMember[] methods) {
for (int i=0; i<methods.length; i++) {
if (name.equals(methods[i].getName()) && (methods[i].getParameterTypes().length == numArgs)) {
return i;
}
}
return -1;
}
public void testGetDeclaredMethods() {
ResolvedMember... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | assertTrue(baridx != initidx && baridx != idx && idx <= 2 && initidx <= 2 && baridx <= 2);
ResolvedType d = world.resolve("reflect.tests.D");
methods = d.getDeclaredMethods();
assertEquals(2,methods.length);
classType = world.resolve("java.lang.Class");
methods = classType.getDeclaredMethods();
assertEqu... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | }
public void testGetDeclaredPointcuts() {
ResolvedMember[] pointcuts = objectType.getDeclaredPointcuts();
assertEquals(0,pointcuts.length);
}
public void testSerializableSuperclass() {
ResolvedType serializableType = world.resolve("java.io.Serializable");
ResolvedType superType = serializableType.ge... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | ResolvedType voidType = world.resolve(Void.TYPE);
ResolvedType superType = voidType.getSuperclass();
assertNull(superType);
BcelWorld bcelworld = new BcelWorld();
bcelworld.setBehaveInJava5Way(true);
ResolvedType bcelSupertype = bcelworld.resolve("void").getSuperclass();
assert... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | ResolvedType rt = rawType.getSuperclass();
assertTrue("Superclass for Map raw type should be Object but was "+rt,rt.equals(UnresolvedType.OBJECT));
ResolvedType rt2 = genericType.getSuperclass();
assertTrue("Superclass for Map generic type should be Object but was "+rt2,rt2.equ... |
145,322 | Bug 145322 Failure of testCompareSubclassDelegates() on J9 1.5.0 SR1 | null | resolved fixed | 3e0650d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-06T08:40:16Z | 2006-06-05T12:20:00Z | weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java | }
for (int i = 0;i<rms2.length;i++) {
if (!one.contains(rms2[i].toString())) {
errors.append("Couldn't find "+rms2[i].toString()+" in the bcel set\n");
}
}
for (int i = 0;i<rms1.length;i++) {
if (!two.contains(rms1[i].toString())) {
if (!barfIfClini... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.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
... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | private IWeavingContext weavingContext;
public Aj(){
this(null);
}
public Aj(IWeavingContext context){
weavingContext = context;
}
/**
* Initialization
*/
public void initialize() {
;
}
/**
* Weave |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | *
* @param className
* @param bytes
* @param loader
* @return weaved bytes
*/
public byte[] preProcess(String className, byte[] bytes, ClassLoader loader) {
if (loader == null || className == null) {
return bytes;
}
try {
... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | private static Map weavingAdaptors = new WeakHashMap();
static WeavingAdaptor getWeaver(ClassLoader loader, IWeavingContext weavingContext) {
ExplicitlyInitializedClassLoaderWeavingAdaptor adaptor = null;
synchronized(weavingAdaptors) {
adaptor = (ExplicitlyInitializedCla... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | private final ClassLoaderWeavingAdaptor weavingAdaptor;
private boolean isInitialized;
public ExplicitlyInitializedClassLoaderWeavingAdaptor(ClassLoaderWeavingAdaptor weavingAdaptor) {
this.weavingAdaptor = weavingAdaptor;
this.isInitialized = false;
}
private voi... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | }
}
public ClassLoaderWeavingAdaptor getWeavingAdaptor(ClassLoader loader, IWeavingContext weavingContext) {
initialize(loader, weavingContext);
return weavingAdaptor;
}
}
/**
* Returns a namespace based on the contest of the aspects available
*/
pub... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/JRockitAgent.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 ... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/JRockitAgent.java | /**
* Concrete preprocessor
*/
private final static ClassPreProcessor s_preProcessor;
private static boolean START_RMP_SERVER = false;
static {
START_RMP_SERVER = System.getProperties().containsKey("management");
try {
s_preProcessor = new Aj();
s_preProcess... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/src/org/aspectj/weaver/loadtime/JRockitAgent.java | } catch (Exception e) {
throw new ExceptionInInitializerError("could not initialize JRockitAgent preprocessor due to: " + e.toString());
}
}
/**
* The JMAPI ClassPreProcessor must be self registrating
*/
public JRockitAgent() {
if (START_RMP_SERVER) {
... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/testsrc/LoadtimeModuleTests.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
... |
122,580 | Bug 122580 Fix & Bug: Circularity Failure for Verbose Loading on JRockit 1.4.2_08 Agent | Here is a stack trace I am getting when I try to use AspectJ 1.5.0 final release's load-time weaving with JRockIt 1.4.2_08 using -Xmanagement:class=org.aspectj.weaver.loadtime.JRockitAgent to load Weblogic Server 8.1 SP2. I debugged the code in Eclipse and discovered that the weaver was being initialized while loading ... | resolved fixed | 75afb31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-09T10:56:50Z | 2006-01-04T02:00:00Z | loadtime/testsrc/LoadtimeModuleTests.java | public static Test suite() {
TestSuite suite = new TestSuite(LoadtimeModuleTests.class.getName());
suite.addTestSuite(DocumentParserTest.class);
suite.addTestSuite(WeavingURLClassLoaderTest.class);
return suite;
}
public static void main(String args[]) throws Throwable {
... |
146,546 | Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods | null | resolved fixed | 38cc0dd | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-12T14:00:02Z | 2006-06-12T11:00:00Z | asm/src/org/aspectj/asm/AsmManager.java | /* *******************************************************************
* Copyright (c) 2003 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... |
146,546 | Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods | null | resolved fixed | 38cc0dd | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-12T14:00:02Z | 2006-06-12T11:00:00Z | asm/src/org/aspectj/asm/AsmManager.java | /**
* @deprecated use getDefault() method instead
*/
private static AsmManager INSTANCE = new AsmManager();
private IElementHandleProvider handleProvider;
private List structureListeners = new ArrayList();
public void setRelationshipMap(IRelationshipMap irm) { mapper = irm;}
public void setHierarch... |
146,546 | Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods | null | resolved fixed | 38cc0dd | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-12T14:00:02Z | 2006-06-12T11:00:00Z | asm/src/org/aspectj/asm/AsmManager.java | private static boolean dumpModel = false;
private static boolean dumpRelationships = false;
private static boolean dumpDeltaProcessing = false;
private static String dumpFilename = "";
private static boolean reporting = false;
private static boolean completingTypeBindings = false;
protected AsmManager() {... |
146,546 | Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods | null | resolved fixed | 38cc0dd | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-12T14:00:02Z | 2006-06-12T11:00:00Z | asm/src/org/aspectj/asm/AsmManager.java | return mapper;
}
public void fireModelUpdated() {
notifyListeners();
if (dumpModelPostBuild && hierarchy.getConfigFile() != null) {
writeStructureModel(hierarchy.getConfigFile());
}
}
/**
* Constructs map each time it's called.
*/
public HashMap getInlineAnnotations(
String sourceFil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.