issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | /**
* Create any bridge method required because of covariant returns being used. This method is used in the case
* where an ITD is applied to some type and it may be in an override relationship with a method from the supertype - but
* due to covariance there is a mismatch in return values.
* Example of when re... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
if (!alreadyDone) {
for (Iterator iter = onType.getSuperclass().getMethods();iter.hasNext() && !quitRightNow;) {
ResolvedMember aMethod = (ResolvedMember) iter.next();
if (aMethod.getName().equals(localMethodName) && aMethod.getParameterSignature().equals(localParameterSig)) {
if... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | InstructionList body;
InstructionFactory fact;
int pos = 0;
LazyMethodGen bridgeMethod = makeMethodGen(clazz,theBridgeMethod);
bridgeMethod.setAccessFlags(bridgeMethod.getAccessFlags() | 0x00000040 );
UnresolvedType[] newParams = munger.getSignature().getParameterTypes();
Type returnType = BcelWorld.... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return false;
}
boolean shouldApply = munger.matches(weaver.getLazyClassGen().getType(), aspectType);
if (shouldApply) {
LazyMethodGen mg = new LazyMethodGen(
introduced.getModifiers() - Modifier.ABSTRACT,
BcelWorld.makeBcelType(introduced.getR... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | AnnotationGen ag = new AnnotationGen(a,weaver.getLazyClassGen().getConstantPoolGen(),true);
mg.addAnnotation(new AnnotationX(ag.getAnnotation(),weaver.getWorld()));
}
}
}
InstructionList body = new InstructionList();
Instruc... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private ResolvedMember getRealMemberForITDFromAspect(ResolvedType aspectType,ResolvedMember lookingFor,boolean isCtorRelated) {
World world = aspectType.getWorld();
boolean debug = false;
if (debug) {
System.err.println("Searching for a member on type: "+aspectType);
System.err.println("Member we are lookin... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (pLookingFor.isTypeVariableReference())
pLookingFor = ((TypeVariableReference)pLookingFor).getTypeVariable().getFirstBound().resolve(world);
if (pLookingFor.isParameterizedType() || pLookingFor.isGenericType())
pLookingFor = pLookingFor.getRawType().resolve(world);
if (debug) Syste... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean isSuper = !superMethod.getDeclaringType().equals(gen.getType());
String dispatchName;
if (isSuper)
dispatchName =
NameMangler.superDispatchMethod(onType, superMethod.getName());
else
dispatchName =
NameMangler.protectedDispatchMethod(
onType,
superMethod.getName()... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | final LazyClassGen currentClass = weaver.getLazyClassGen();
final InstructionFactory fact = currentClass.getFactory();
ResolvedMember newConstructorMember = newConstructorTypeMunger.getSyntheticConstructor();
ResolvedType onType = newConstructorMember.getDeclaringType().resolve(weaver.getWorld());
if (onType.... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember realMember = getRealMemberForITDFromAspect(aspectType,interMethodDispatcher,true);
if (realMember==null) throw new BCException("Couldn't find ITD holder member '"+
interMethodDispatcher+"' on aspect "+aspectType);
annotationsOnRealMember = realMember.getAnnotations();
if (annotationsOnRealM... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | UnresolvedType[] declaredParams = newConstructorTypeMunger.getSignature().getParameterTypes();
Type[] paramTypes = mg.getArgumentTypes();
int frameIndex = 1;
for (int i = 0, len = declaredParams.length; i < len; i++) {
body.append(InstructionFactory.createLoad(paramTypes[i], frameIndex));
frameIndex += para... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | fact,
Type.OBJECT,
BcelWorld.makeBcelType(superParamTypes[i])));
}
body.append(Utility.createInvoke(fact, null, explicitConstructor));
body.append(InstructionConstants.ALOAD_0);
Member postMethod =
AjcMemberMaker.postIntroducedConstructor(aspectType, onType, declaredParams);
Unr... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | body.append(InstructionConstants.RETURN);
return true;
}
private static LazyMethodGen makeDispatcher(
LazyClassGen onGen,
String dispatchName,
ResolvedMember superMethod,
BcelWorld world,
boolean isSuper)
{
Type[] paramTypes = BcelWorld.makeBcelTypes(superMethod.getParameterTypes());
Type retur... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | InstructionFactory fact = onGen.getFactory();
int pos = 0;
body.append(InstructionFactory.createThis());
pos++;
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos+=paramType.getSize();
}
if (isS... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (onType.isAnnotation()) {
signalError(WeaverMessages.ITDF_ON_ANNOTATION_NOT_ALLOWED,weaver,onType);
return false;
}
if (onType.isEnum()) {
signalError(WeaverMessages.ITDF_ON_ENUM_NOT_ALLOWED,weaver,onType);
return false;
}
ResolvedMember interMethodBody = munger.getInitMethod(aspectType)... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInterfaceGetter(field, onType, aspectType);
LazyMethodGen mg = makeMethodGen(gen, itdfieldGetter);
gen.addMethodGen(mg);
LazyMethodGen mg1 = makeMethodGen(gen,
AjcMemberMaker.interFieldInterfaceSetter(field, onType, aspectType));
gen.ad... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type fieldType = BcelWorld.makeBcelType(field.getType());
FieldGen fg = makeFieldGen(gen,AjcMemberMaker.interFieldInterfaceField(field, onType, aspectType));
gen.addField(fg.getField(),getSourceLocation());
ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInterfaceGetter... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null,munger.getSignature().getDeclaringType().resolve(getWorld()),false,munger.getTypeVariableAliases());
boolean needsbridging = false;
if (!toBridgeTo.getReturnType().getErasureSignature().equals(munger.getSignature().getReturnType().... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (munger.getDeclaredSignature()!=null) {
ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null,munger.getSignature().getDeclaringType().resolve(getWorld()),false,munger.getTypeVariableAliases());
boolean needsbridging = false;
if (!toBridgeTo.getReturnType().getErasureSignatu... |
114,005 | Bug 114005 annotated ITD fields on interfaces have no annotation | null | resolved fixed | d9757d7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T12:13:05Z | 2005-10-27T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
if (!bridgingSetter.getParameterTypes()[i].getErasureSignature().equals(itdfieldSetter.getParameterTypes()[i].getErasureSignature()) ) {
System.err.print... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17: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 Common Public License v1.0
* which accompanies this distrib... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | import java.util.List;
import java.util.Locale;
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.AjCompil... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17: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... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17: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... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | * the latter will get used.
*/
private static AsmHierarchyBuilder asmHierarchyBuilder = new AsmHierarchyBuilder();
static {
CompilationAndWeavingContext.registerFormatter(
CompilationAndWeavingContext.BATCH_BUILD, new AjBuildContexFormatter());
CompilationAndWeavingContext.registerFormatter(
Compilati... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public BcelWorld getBcelWorld() { return state.getBcelWorld();}
public CountingMessageHandler handler;
public AjBuildManager(IMessageHandler holder) {
super();
this.handler = CountingMessageHandler.makeCountingMessageHandler(holder);
}
public boolean doGenerateModel() {
return buildConfi... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | batchCompile = batch;
int phase = batch ? CompilationAndWeavingContext.BATCH_BUILD : CompilationAndWeavingContext.INCREMENTAL_BUILD;
ContextToken ct = CompilationAndWeavingContext.enteringPhase(phase ,buildConfig);
try {
if (batch) {
this.state = new AjState(this);
}
... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (batch || !AsmManager.attemptIncrementalModelRepairs) {
setupModel(buildConfig);
}
if (batch) {
initBcelWorld(handler);
}
if (handler.hasErrors()) {
CompilationAndWeavingContext.leavingPhase(ct);
return... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17: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... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (buildConfig.isEmacsSymMode() || buildConfig.isGenerateModelMode())
if (AsmManager.attemptIncrementalModelRepairs)
AsmManager.getDefault().processDelta(files,state.addedFiles,state.deletedFiles);
}
if (!files.isEmpty()) {
CompilationAndWeavingConte... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | writeOutxmlFile();
}
if (buildConfig.isGenerateModelMode()) {
AsmManager.getDefault().fireModelUpdated();
}
CompilationAndWeavingContext.leavingPhase(ct);
} finally {
... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | new Message("Unable to open outjar "
+ outJar.getPath()
+ "(" + ex.getMessage()
+ ")",
new SourceLocation(outJar,0),
true);
handler.handleMessage(message);
return false;
}
return true;
}
private void closeOutputStream(File outJar) {
try {
if (zos != null) zos.cl... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
private void copyResourcesToDestination() throws IOException {
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 = (Fil... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | JarInputStream inStream = null;
try {
inStream = new JarInputStream(new FileInputStream(jarFile));
while (true) {
ZipEntry entry = inStream.getNextEntry();
if (entry == null) break;
String filename = entry.getName();
if (!entry.isDirectory() && acceptResource(filename)) {
byte[] bytes... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | for (int i = 0; i < files.length; i++) {
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... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | new SourceLocation(srcLocation,0));
handler.handleMessage(msg);
return;
}
if (zos != null) {
ZipEntry newEntry = new ZipEntry(filename);
zos.putNextEntry(newEntry);
zos.write(content);
zos.closeEntry();
} else {
OutputStream fos =
FileUtil.makeOutputStream(new File(buildConfig.getO... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
}
private boolean acceptResource(String resourceName) {
if (
(resourceName.startsWith("CVS/")) ||
(resourceName.indexOf("/CVS/") != -1) ||
(resourceName.endsWith("/CVS")) ||
(resourceName.endsWith(".class")) ||
(resourceName.toUpperCase().equals(MANIFEST_NAME))
)
{
return false;
... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | ps.println();
ps.close();
if (zos != null) {
ZipEntry newEntry = new ZipEntry(filename);
zos.putNextEntry(newEntry);
zos.write(baos.toByteArray());
zos.closeEntry();
} else {
OutputStream fos =
FileUtil.makeOutputStream(new File(buildConfig.getOutputDir(),filename));
fos.write(baos.toBy... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | AsmManager.getDefault().createNewASM();
IHierarchy model = AsmManager.getDefault().getHierarchy();
String rootLabel = "<root>";
IProgramElement.Kind kind = IProgramElement.Kind.FILE_JAVA;
if (buildConfig.getConfigFile() != null) {
rootLabel = buildConfig.getConfigFi... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | bcelWorld.setXHasMemberSupportEnabled(buildConfig.isXHasMemberEnabled());
bcelWorld.setPinpointMode(buildConfig.isXdevPinpoint());
BcelWeaver bcelWeaver = new BcelWeaver(bcelWorld);
state.setWorld(bcelWorld);
state.setWeaver(bcelWeaver);
state.binarySourceFiles = new HashMap();
for (Iterator i = buildCon... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | for (Iterator i = buildConfig.getInpath().iterator(); i.hasNext(); ) {
File inPathElement = (File)i.next();
if (!inPathElement.isDirectory()) {
List unwovenClasses = bcelWeaver.addJarFile(inPathElement,buildConfig.getOutputDir(),true);
state.binarySourceFiles.put(inPathElement.getPath(),unwovenC... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | handler.handleMessage(message);
}
}
public World getWorld() {
return getBcelWorld();
}
void addAspectClassFilesToWeaver(List addedClassFiles) throws IOException {
for (Iterator i = addedClassFiles.iterator(); i.hasNext(); ) {
UnwovenClassFile classFile = (UnwovenClassFile) i.next();
getWeaver().addC... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public IProblemFactory getProblemFactory() {
return new DefaultProblemFactory(Locale.getDefault());
}
/*
* Build the set of compilation source units
*/
public CompilationUnit[] getCompilationUnits(String[] filenames, String[] encodings) {
int fileCount = filenames.length;
CompilationUnit[] units = ne... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | return new String(CharOperation.subarray(fileName, 0, lastIndex));
}
return System.getProperty("user.dir");
}
public void performCompilation(List files) {
if (progressListener != null) {
compiledCount=0;
sourceFileCount = files.size();
progressListener.setText("compiling source files");
}
... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (!state.classesFromName.isEmpty()) {
environment = new StatefulNameEnvironment(environment, state.classesFromName);
}
org.aspectj.ajdt.internal.compiler.CompilerAdapter.setCompilerAdapterFactory(this);
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler compiler =
new org.aspectj.org.eclipse.jdt.i... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (progressListener != null) {
compiledCount++;
progressListener.setProgress((compiledCount/2.0)/sourceFileCount);
progressListener.setText("compiled: " + result.fileName());
}
state.noteResult(result);
if (progressListener!=null && progressListener.isCancelledRequested()) {
throw... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (buildConfig.getOutputJar() == null) {
writeDirectoryEntry(unitResult, classFile,filename);
} else {
writeZipEntry(classFile,filename);
}
if (shouldAddAspectName) addAspectName(classname);
} catch (IOException ex) {
IMessage message = EclipseAdapterUtils.makeErrorMes... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | throws IOException {
File destinationPath = buildConfig.getOutputDir();
String outFile;
if (destinationPath == null) {
outFile = new File(filename).getName();
outFile = new File(extractDestinationPathFromSourceFile(unitResult), outFile).getPath();
} else {
outFile = new File(destinationPa... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
}
};
}
protected boolean proceedOnError() {
return buildConfig.getProceedOnError();
}
}
}
private void setBuildConfig(AjBuildConfig buildConfig) {
this.buildConfig = buildConfig;
handler.reset();
}
String makeClasspathString(AjBuildConfig buildConfig) {
if (buildConfig == null... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | /**
* This will return null if aspectjrt.jar is present and has the correct version.
* Otherwise it will return a string message indicating the problem.
*/
public String checkRtJar(AjBuildConfig buildConfig) {
if (Version.text.equals(Version.DEVELOPMENT)) {
return null;
}
if (buildConfig... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (Version.DEVELOPMENT.equals(version)) {
return null;
} else if (!Version.text.equals(version)) {
return "bad version number found in " + p.getAbsolutePath() +
" expected " + Version.text + " found " + version;
}
} catch (IOException ioe) {
return "bad jar f... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | * Returns null if there is no structure model
*/
public IHierarchy getStructureModel() {
return structureModel;
}
public IProgressListener getProgressListener() {
return progressListener;
}
public void setProgressListener(IProgressListener progressListener) {
this.progressListener = progressListener;
... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | /* (non-Javadoc)
* @see org.eclipse.jdt.internal.compiler.ICompilerAdapterFactory#getAdapter(org.eclipse.jdt.internal.compiler.Compiler)
*/
public ICompilerAdapter getAdapter(org.aspectj.org.eclipse.jdt.internal.compiler.Compiler forCompiler) {
AjProblemReporter pr =
new AjProblemReporter(DefaultErrorHandl... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | state.binarySourceFiles,
state.resultsFromFile.values(),
buildConfig.isNoWeave(),
buildConfig.getProceedOnError(),
buildConfig.isNoAtAspectJAnnotationProcessing());
}
/* (non-Javadoc)
* @see org.aspectj.ajdt.internal.compiler.IBinarySourceProvider#getBinarySourcesForThisWeave()
*/
public ... |
112,830 | Bug 112830 Warning "couldn't find aspectjrt.jar on classpath" | The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven. | resolved fixed | 1f51499 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-08T16:41:54Z | 2005-10-17T17: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... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33: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... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | import org.aspectj.asm.IRelationship;
import org.aspectj.asm.internal.Relationship;
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(Ajc... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testMatthewsAspect_pr113947_1() { runTest("maws generic aspect - 1");}
public void testMatthewsAspect_pr113947_2() { runTest("maws generic aspect - 2");}
public void testFieldGet_pr114343() { runTest("field-get, generics and around advice");}
public void testFieldGet_pr114343_2() { runTe... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | sigString.equals("Ljava/lang/Object;LIE1<Ljava/lang/String;>;LIE2;"))) {
fail("Signature was "+sigString+" when should have been something like Ljava/lang/Object;LIE1<Ljava/lang/String;>;LIE2;");
}
}
public void test_typeProcessingOrderWhenDeclareParents() {
runTest("Order of types passed to compiler determines... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("Return in try-block disables catch-block if final-block is present");
}
public void testMissingDebugInfoForGeneratedMethods_pr82570() throws ClassNotFoundException {
runTest("Weaved code does not include debug lines");
boolean f = false;
JavaClass jc = getClassFrom(ajc.getSandboxDirectory(),"PR82... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("pertypewithin({interface}) illegal field modifier");
}
public void test051_arrayCloningInJava5() {
runTest("AJC possible bug with static nested classes");
}
public void testBadASMforEnums() throws IOException {
runTest("bad asm for enums");
if (LangUtil.is15VMOrGreater()) {
ByteA... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testSyntaxError() {
runTest("invalid cons syntax");
}
public void testVarargsInConsBug() {
runTest("varargs in constructor sig");
}
public void testAspectpathdirs() {
runTest("dirs on aspectpath");
}
public void testIntroSample() {
runTest("introduction sample");
}
... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testCloneMethod_pr83311() {
runTest("overriding/polymorphism error on interface method introduction");
}
public void testIfEvaluationExplosion_pr94086() {
runTest("Exploding compile time with if() statements in pointcut");
}
public void testReflectNPE_pr94167() {runTest("NPE in ref... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testParseErrorOnAnnotationStarPlusPattern() {
runTest("(@Foo *)+ type pattern parse error");
}
public void test_pr106130_tooManyLocals() {
runTest("test weaving with > 256 locals");
}
public void testMissingNamePattern_pr106461() { runTest("missing name pattern"); }
public vo... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testAjKeywordsAsIdentifiers2() {
runTest("before and after are valid identifiers in classes, part 2");
}
public void testNoBeforeReturningAdvice() {
runTest("before returning advice not allowed!");
}
public void testDetectVoidFieldType() {
runTest("void field type in pointcu... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testGoodErrorMessageOnUnmatchedMemberSyntax() {
runTest("good error message for unmatched member syntax");
}
public void testITDWithNoExceptionAndIntermediary() {
runTest("itd override with no exception clause");
}
public void testAnonymousInnerClasses() {
runTest("anonymous inner cla... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testSignatureMatchingInMultipleOverrideScenario() {
runTest("signature matching in override scenario");
}
public void testWildcardAnnotationMatching_pr108245() {
runTest("wildcard annotation matching - pr108245");
}
public void testInnerTypesAndTypeVariables() {
runTest("inner types an... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testInnerTypeOfGeneric() {
runTest("inner type of generic interface reference from parameterized type");
}
public void testDeclareParentsIntroducingCovariantReturnType() {
runTest("declare parents introducing override with covariance");
}
public void testInnerClassPassedToVarargs(... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testNoUnusedWarningsOnAspectTypes() {
runTest("no unused warnings on aspect types");
}
public void testSyntheticArgumentsOnITDConstructorsNotUsedInMatching() {
runTest("synthetic arguments on itd cons are not used in matching");
}
public void testParsingOfGenericTypeSignature() {
... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("synchronized itd interface methods");
}
public void testNoWarningOnUnusedPointcut() {
runTest("unused private pointcuts");
}
public void testITDOnInterfaceWithExistingMember() {
runTest("itd interface method already existing on interface");
}
public void testFinalITDMOnInterface() {
... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("super call in ITD - part 2");
}
public void testAtAnnotationBadTest_pr103740() {
runTest("Compiler failure on at_annotation");
}
public void testNoUnusedParameterWarningsForSyntheticAdviceArgs() {
runTest("no unused parameter warnings for synthetic advice args");
}
public void testNo... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testUnableToBuildShadows_pr109728() { runTest("Unable to build shadows");}
public void testMessageOnMissingTypeInDecP() {
runTest("declare parents on a missing type");
}
public void testParameterizedGenericMethods() {
runTest("parameterized generic methods");
}
public void testIllegalC... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testArrayCloneCallJoinPoints() {
runTest("array clone call join points in 1.4 vs 1.3");
}
public void testDebugInfoForAroundAdvice() {
runTest("debug info in around advice inlining");
}
public void testCCEWithGenericWildcard_pr112602() {
runTest("ClassCastException with generic... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | assertTrue("Should have one target but has" + targets.size(),
targets.size()==1);
IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));
assertEquals("target of relationship should be 'before(): p..' but is "
+ target.toLabelString(),"before... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("advice in structure model with named inner class");
IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement namedMethodIPE = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.METHOD,"m()");
assertNotNull("Couldn't find 'm()' elemen... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
}
targets = rel.getTargets();
assertTrue("Should have one target but has" + targets.size(),
targets.size()==1);
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));
assertEquals("target of relationship should be 'm()' but is "
+ target.toLa... |
112,756 | Bug 112756 ajdt compiler generate false warnings | I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co... | resolved fixed | 7a1002a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-09T10:37:51Z | 2005-10-17T03:33:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testITDCWithNoExplicitConsCall() {
runTest("ITDC with no explicit cons call");
}
public void testJava5SpecificFeaturesUsedAtJava14OrLower() {
runTest("java 5 pointcuts and declares at pre-java 5 compliance levels");
}
public void testAnonymousTypes() {
runTest("Anonymous types ... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | /* *******************************************************************
* Copyright (c) 2002 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* http:... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
i... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | import org.aspectj.apache.bcel.generic.ObjectType;
import org.aspectj.apache.bcel.generic.PUSH;
import org.aspectj.apache.bcel.generic.RETURN;
import org.aspectj.apache.bcel.generic.Type;
import org.aspectj.apache.bcel.generic.annotation.AnnotationGen;
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.ISour... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | int highestLineNumber = 0;
private SortedMap inlinedFiles = new TreeMap();
private boolean regenerateGenericSignatureAttribute = false;
private BcelObjectType myType;
private ClassGen myGen;
private ConstantPoolGen constantPoolGen;
private World world;
private String packageName = null;
private ... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | int highestLineNumber;
int offset;
InlinedSourceFileInfo(int highestLineNumber) {
this.highestLineNumber = highestLineNumber;
}
} |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | void addInlinedSourceFileInfo(String fullpath, int highestLineNumber) {
Object o = inlinedFiles.get(fullpath);
if (o != null) {
InlinedSourceFileInfo info = (InlinedSourceFileInfo) o;
if (info.highestLineNumber < highestLineNumber) {
info.highestLineNumber = highestLineNumber;
}
} else {
inlinedFi... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | String data = getSourceDebugExtensionString();
byte[] bytes = Utility.stringToUTF(data);
int length = bytes.length;
return new Unknown(nameIndex, length, bytes, constantPoolGen.getConstantPool());
}
private String getSourceDebugExtensionString() {
StringBuffer out = new StringBuffer();
Strin... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | out.append(element); out.append('\n');
} else {
out.append("+ "); out.append(i++); out.append(' ');
out.append(element.substring(ii+1)); out.append('\n');
out.append(element); out.append('\n');
}
}
out.append("*L\n");
out.append("1#1,");
out.append(highestLineNumber);
out.appe... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | throws IOException {
if (null == out) {
return;
}
BcelWorld world = new BcelWorld(path);
LazyClassGen clazz = new LazyClassGen(BcelWorld.getBcelObjectType(world.resolve(name)));
clazz.print(out);
out.println();
}
public int getNewGeneratedName... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | public LazyClassGen(BcelObjectType myType) {
myGen = new ClassGen(myType.getJavaClass());
constantPoolGen = myGen.getConstantPool();
fact = new InstructionFactory(myGen, constantPoolGen);
this.myType = myType;
this.world = myType.getResolvedTypeX().getWorld();
if (implementsSerializable(get... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | return true;
}
}
return false;
}
public String getInternalClassName() {
return getConstantPoolGen().getConstantPool().getConstantString(
myGen.getClassNameIndex(),
Constants.CONSTANT_Class);
}
public String getInternalFileName() {
String str = getInternalCla... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | */
public String getPackageName() {
if (packageName!=null) return packageName;
String str = getInternalClassName();
int index = str.indexOf("<");
if (index!=-1) str = str.substring(0,index);
index= str.lastIndexOf("/");
if (index==-1) return "";
return str.substring(0,index).repl... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | if (isSerializable && !hasSerialVersionUIDField) {
getWorld().getLint().serialVersionUIDBroken.signal(
new String[] {
myType.getResolvedTypeX().getName().toString(),
field.getName()
},
sourceLocation,
null);
}
}
public void warnOnAddedInterface (String name, ISourceLocati... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | }
public World getWorld () {
return world;
}
public List getMethodGens() {
return methodGens;
}
public Field[] getFieldGens() {
return myGen.getFields();
}
public Field getField(String name) {
Field[] allFields = myGen.getFields();
if (allFields==null) ret... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | reportClassTooBigProblem();
return;
}
if (annotations.size()>0) {
for (Iterator iter = annotations.iterator(); iter.hasNext();) {
AnnotationGen element = (AnnotationGen) iter.next();
myGen.addAnnotation(element);
}
}
boolean hasVers... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | int len = methodGens.size();
myGen.setMethods(new Method[0]);
calculateSourceDebugExtensionOffsets();
for (int i = 0; i < len; i++) {
LazyMethodGen gen = (LazyMethodGen) methodGens.get(i);
if (isEmptyClinit(gen)) continue;
myGen.addMethod... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | * 2. If it did, removing the old attribute
* 3. Check if we need an attribute at all, are we generic? are our supertypes parameterized/generic?
* 4. Build the new attribute which includes all typevariable, supertype and superinterface information
*/
private void fixupGenericSignatureAttribute () {... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | if (myType==null) {
boolean stop = true;
}
ResolvedType[] interfaceRTXs = myType.getDeclaredInterfaces();
for (int i = 0; i < interfaceRTXs.length; i++) {
ResolvedType typeX = interfaceRTXs[i];
if (typeX.isGenericType() || typeX.isParameterizedType()) needAttribute = true;
}
ResolvedT... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | for (int i = 0; i < interfaceRTXs.length; i++) {
String s = interfaceRTXs[i].getSignatureForAttribute();
signature.append(s);
}
myGen.addAttribute(createSignatureAttribute(signature.toString()));
}
}
/**
* Helper method to create a signature attribute based on a string signature:
* e... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | myGen.getFileName(), myGen.getAccessFlags(), myGen.getInterfaceNames());
getWorld().showMessage(
IMessage.ERROR,
WeaverMessages.format(WeaverMessages.CLASS_TOO_BIG,
this.getClassName()),
new SourceLocation(new File(myGen.getFileName()),0), null
);
}
private static boole... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | return wsi.replaceKeyWithDiff(wovenClassFileData);
} else{
return wovenClassFileData;
}
}
public void addGeneratedInner(LazyClassGen newClass) {
classGens.add(newClass);
}
public void addInterface(UnresolvedType typeX, ISourceLocation sourceLocation) {
regen... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | }
public String[] getInterfaceNames() {
return myGen.getInterfaceNames();
}
private List getClassGens() {
List ret = new ArrayList();
ret.add(this);
ret.addAll(classGens);
return ret;
}
public List getChildClasses(BcelWorld world) {
if (classGens.isEmpt... |
113,118 | Bug 113118 ClassFormatException with tracing aspect | Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm... | resolved fixed | d7d5947 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-11T15:13:33Z | 2005-10-19T16:40:00Z | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | String s =
org.aspectj.apache.bcel.classfile.Utility.accessToString(myGen.getAccessFlags(), true);
if (s != "")
s += " ";
s += org.aspectj.apache.bcel.classfile.Utility.classOrInterface(myGen.getAccessFlags());
s += " ";
s += myGen.getClassName();
return s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.